:root {
  --navy-950:#07101f;
  --navy-900:#0b1326;
  --navy-850:#101a31;
  --navy-800:#16223c;
  --blue-700:#285ea8;
  --blue-600:#3576c8;
  --blue-100:#e9f2ff;
  --orange-600:#f47b20;
  --orange-500:#ff8a00;
  --orange-100:#fff2e7;
  --gold-500:#f4b021;
  --green-600:#168b68;
  --green-100:#e9f8f2;
  --red-600:#c64a55;
  --red-100:#fff0f1;
  --amber-700:#9a6615;
  --amber-100:#fff7df;
  --ink:#172033;
  --muted:#6d768a;
  --line:#dfe5ee;
  --surface:#ffffff;
  --surface-2:#f5f7fb;
  --surface-3:#eef2f7;
  --shadow-sm:0 2px 8px rgba(7,16,31,.07);
  --shadow-md:0 12px 32px rgba(7,16,31,.12);
  --shadow-lg:0 24px 64px rgba(7,16,31,.2);
  --radius-sm:10px;
  --radius-md:16px;
  --radius-lg:24px;
  --topbar-h:76px;
  --parent-rail-w:82px;
  --context-rail-w:252px;
  --content-max:1440px;
}
*{box-sizing:border-box}
html{height:100%;scroll-behavior:smooth}
body{margin:0;min-height:100%;font-family:"Segoe UI Variable Text","Segoe UI",Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;font-size:15px;font-weight:400;background:var(--surface-2);color:var(--ink);overflow-x:hidden;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
button,input{font:inherit}
button{color:inherit}
button:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid rgba(53,118,200,.28);outline-offset:2px}
svg{display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.skip-link{position:fixed;z-index:1000;left:16px;top:-60px;background:#fff;color:#000;padding:12px 16px;border-radius:10px;box-shadow:var(--shadow-md)}
.skip-link:focus{top:16px}
.app-shell{min-height:100vh;display:grid;grid-template-columns:var(--parent-rail-w) var(--context-rail-w) minmax(0,1fr);grid-template-rows:var(--topbar-h) 1fr;grid-template-areas:"top top top" "parent context main"}
.topbar{grid-area:top;position:sticky;top:0;z-index:80;display:grid;grid-template-columns:315px minmax(280px,760px) 1fr;align-items:center;gap:22px;padding:0 24px;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);border-bottom:1px solid rgba(223,229,238,.9)}
.brand{border:0;background:transparent;display:flex;align-items:center;text-align:left;cursor:pointer;padding:8px 10px;border-radius:14px;width:max-content}
.brand:hover{background:var(--surface-3)}
.brand-copy{display:flex;flex-direction:column;line-height:1.05;letter-spacing:-.02em}
.brand-copy strong{font-size:21px;color:var(--navy-900)}
.brand-copy small{font-size:12px;color:var(--orange-600);font-weight:800;letter-spacing:.18em;text-transform:uppercase;margin-top:4px}
.global-search{height:50px;display:grid;grid-template-columns:24px 1fr auto 38px;align-items:center;gap:9px;padding:0 8px 0 16px;border:1px solid #d8e0eb;border-radius:16px;background:#edf2f8;color:var(--muted);transition:.2s}
.global-search:focus-within{background:#fff;border-color:#9ebbe2;box-shadow:0 0 0 4px rgba(53,118,200,.1)}
.global-search>svg{width:21px;height:21px}
.global-search input{border:0;outline:0;background:transparent;min-width:0;color:var(--ink);font-size:15px}
.global-search input::placeholder{color:#7a8497}
kbd{font-size:11px;color:#7a8497;background:#fff;border:1px solid #d6dde7;border-bottom-width:2px;border-radius:6px;padding:2px 7px}
.icon-button{width:38px;height:38px;border:0;border-radius:11px;background:transparent;display:grid;place-items:center;cursor:pointer;position:relative}
.icon-button:hover{background:var(--surface-3)}
.icon-button svg{width:21px;height:21px}
.top-actions{display:flex;justify-content:flex-end;align-items:center;gap:9px}
.continue-pill{border:1px solid #dce5ef;background:#fff;border-radius:999px;height:42px;padding:0 16px;display:flex;align-items:center;gap:9px;font-weight:750;color:var(--navy-800);cursor:pointer;box-shadow:var(--shadow-sm)}
.continue-pill:hover{border-color:#b9cce4;background:#f9fbfe}
.pulse-dot{width:8px;height:8px;border-radius:50%;background:var(--green-600);box-shadow:0 0 0 4px rgba(22,139,104,.12)}
.notification-dot{position:absolute;top:8px;right:8px;width:7px;height:7px;border-radius:50%;background:var(--orange-500);border:2px solid #fff}
.avatar{width:42px;height:42px;border:0;border-radius:50%;background:linear-gradient(145deg,var(--navy-900),var(--blue-700));color:#fff;font-weight:800;cursor:pointer;box-shadow:var(--shadow-sm)}
.parent-rail{grid-area:parent;position:sticky;top:var(--topbar-h);height:calc(100vh - var(--topbar-h));z-index:50;background:var(--navy-900);display:flex;flex-direction:column;justify-content:space-between;padding:14px 10px;color:#d7deeb}
.parent-rail nav{display:flex;flex-direction:column;gap:5px}
.rail-link{width:100%;min-height:58px;border:0;background:transparent;border-radius:15px;color:#aeb8cc;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer;padding:7px 4px;font-size:10px;font-weight:700;position:relative}
.rail-link:hover{background:rgba(255,255,255,.08);color:#fff}
.rail-link.active{background:linear-gradient(145deg,rgba(53,118,200,.75),rgba(40,94,168,.9));color:#fff;box-shadow:0 8px 22px rgba(0,0,0,.18)}
.rail-link.active:before{content:"";position:absolute;left:-10px;top:14px;bottom:14px;width:3px;border-radius:0 4px 4px 0;background:var(--orange-500)}
.nav-icon{font-size:21px;line-height:1}
.nav-label{white-space:nowrap}
.rail-link.compact{min-height:48px}
.context-rail{grid-area:context;position:sticky;top:var(--topbar-h);height:calc(100vh - var(--topbar-h));z-index:45;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:20px 14px 16px;overflow:auto;transition:width .2s,transform .2s}
.context-header{display:flex;align-items:center;justify-content:space-between;padding:0 8px 13px}
.eyebrow{display:block;color:var(--orange-600);font-size:10px;letter-spacing:.14em;text-transform:uppercase;font-weight:850}
.context-header h2{font-size:22px;margin:3px 0 0;color:var(--navy-900);letter-spacing:-.02em}
.context-rail nav{display:flex;flex-direction:column;gap:3px}
.context-link{width:100%;border:0;background:transparent;border-radius:11px;padding:10px 12px;display:flex;align-items:center;gap:11px;text-align:left;color:#4c566b;cursor:pointer;font-size:14px;font-weight:650}
.context-link:hover{background:var(--surface-2);color:var(--ink)}
.context-link.active{background:var(--blue-100);color:var(--blue-700);font-weight:800}
.context-link .count{margin-left:auto;background:#fff;border:1px solid #dbe4ef;border-radius:999px;padding:2px 7px;font-size:11px;color:var(--muted)}
.context-link.active .count{border-color:#c7dbf4;color:var(--blue-700)}
.context-icon{width:22px;text-align:center;font-size:17px}
.plan-summary{margin-top:auto;border:1px solid #dce5ef;background:linear-gradient(180deg,#fff,#f7f9fc);border-radius:14px;padding:12px;display:flex;align-items:center;gap:10px;box-shadow:var(--shadow-sm)}
.status-dot{width:10px;height:10px;border-radius:50%;background:var(--green-600);box-shadow:0 0 0 4px rgba(22,139,104,.1);flex:none}
.plan-summary div{display:flex;flex-direction:column;gap:2px;min-width:0}
.plan-summary strong{font-size:12px;color:var(--navy-900)}
.plan-summary small{font-size:10px;color:var(--muted)}
#main-content{grid-area:main;min-width:0;padding:24px 28px 90px;overflow-x:hidden}
.page-shell{width:min(100%,var(--content-max));margin:0 auto}
.mobile-context-strip,.mobile-dock{display:none}
.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}
.page-heading h1{margin:0;color:var(--navy-900);font-size:clamp(28px,3vw,42px);letter-spacing:-.035em;line-height:1.06}
.page-heading p{margin:8px 0 0;color:var(--muted);font-size:15px;max-width:700px;line-height:1.55}
.page-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.primary-button,.secondary-button,.ghost-button{border-radius:12px;min-height:42px;padding:0 15px;border:1px solid transparent;font-weight:750;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.primary-button{background:var(--navy-900);color:#fff;box-shadow:0 8px 20px rgba(11,19,38,.16)}
.primary-button:hover{background:var(--navy-800)}
.secondary-button{background:#fff;border-color:#d9e2ec;color:var(--navy-900)}
.secondary-button:hover{background:#f8fafc;border-color:#bfcee0}
.ghost-button{background:transparent;color:var(--blue-700)}
.ghost-button:hover{background:var(--blue-100)}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.8fr);gap:18px;margin-bottom:24px}
.continue-card{position:relative;overflow:hidden;border-radius:22px;background:linear-gradient(135deg,#0b1326 0%,#162c53 60%,#234c7c 100%);color:#fff;padding:26px;min-height:255px;box-shadow:var(--shadow-md);display:grid;grid-template-columns:1fr 230px;gap:16px}
.continue-card:before{content:"";position:absolute;width:280px;height:280px;border-radius:50%;right:-90px;top:-120px;background:radial-gradient(circle,rgba(255,176,32,.45),rgba(255,176,32,0) 68%)}
.continue-card:after{content:"";position:absolute;inset:auto 0 0 0;height:4px;background:linear-gradient(90deg,var(--orange-500),var(--gold-500))}
.continue-copy{position:relative;z-index:1}
.continue-copy .eyebrow{color:#ffc56c}
.continue-copy h2{margin:12px 0 8px;font-size:30px;letter-spacing:-.03em;line-height:1.1}
.continue-copy p{margin:0;color:#cfd7e6;line-height:1.5;max-width:530px}
.progress-line{margin:23px 0 15px;height:8px;border-radius:999px;background:rgba(255,255,255,.14);overflow:hidden}
.progress-line span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--orange-500),var(--gold-500))}
.continue-meta{display:flex;gap:16px;flex-wrap:wrap;color:#dfe5ef;font-size:12px;margin-bottom:19px}
.continue-actions{display:flex;gap:10px;flex-wrap:wrap}
.continue-actions .primary-button{background:#fff;color:var(--navy-900)}
.continue-actions .secondary-button{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.18);color:#fff}
.book-visual{position:relative;z-index:1;align-self:center;justify-self:center;width:190px;height:160px;perspective:800px}
.book-cover{position:absolute;inset:10px 12px 10px 24px;border-radius:8px 14px 14px 8px;background:linear-gradient(145deg,#fff7e9,#f0dcc0);transform:rotateY(-18deg) rotateZ(-2deg);box-shadow:-12px 16px 30px rgba(0,0,0,.24);border-left:10px solid #e0a85e;padding:22px 16px;color:var(--navy-900)}
.book-cover:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(255,255,255,.8),transparent 35%);border-radius:inherit;pointer-events:none}
.book-cover small{display:block;color:var(--orange-600);font-weight:900;text-transform:uppercase;letter-spacing:.12em;font-size:9px}
.book-cover strong{display:block;font-size:20px;line-height:1.08;margin-top:10px}
.book-cover span{display:block;margin-top:26px;font-size:10px;color:#6d6255}
.info-stack{display:grid;gap:18px}
.info-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;box-shadow:var(--shadow-sm)}
.info-card h3{margin:0;color:var(--navy-900);font-size:17px}
.info-card p{margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.45}
.info-card .metric{font-size:32px;font-weight:850;letter-spacing:-.04em;color:var(--blue-700);margin-top:14px}
.info-card .metric small{font-size:12px;font-weight:700;color:var(--muted);letter-spacing:0}
.upcoming-list{display:grid;gap:10px;margin-top:14px}
.upcoming-item{display:grid;grid-template-columns:44px 1fr;gap:10px;align-items:center}
.date-badge{width:44px;height:44px;border-radius:12px;background:var(--orange-100);color:var(--orange-600);display:grid;place-items:center;font-weight:850;line-height:1}
.upcoming-item strong{font-size:12px;display:block;color:var(--ink)}
.upcoming-item small{font-size:11px;color:var(--muted)}
.section{margin-top:28px}
.section-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.section-header h2{margin:0;font-size:21px;color:var(--navy-900);letter-spacing:-.02em}
.section-header p{margin:4px 0 0;color:var(--muted);font-size:12px}
.text-button{border:0;background:transparent;color:var(--blue-700);font-weight:800;cursor:pointer;padding:8px;border-radius:9px}
.text-button:hover{background:var(--blue-100)}
.subject-grid{display:grid;grid-template-columns:repeat(5,minmax(155px,1fr));gap:12px}
.subject-card{border:1px solid var(--line);background:#fff;border-radius:18px;padding:17px;text-align:left;cursor:pointer;box-shadow:var(--shadow-sm);transition:transform .18s,box-shadow .18s,border-color .18s;min-height:142px;position:relative;overflow:hidden}
.subject-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);border-color:#cad8e8}
.subject-card:after{content:"";position:absolute;right:-25px;bottom:-30px;width:85px;height:85px;border-radius:50%;background:var(--subject-tint,#eaf2ff)}
.subject-icon{width:46px;height:46px;border-radius:14px;background:var(--subject-tint,#eaf2ff);display:grid;place-items:center;font-size:22px;position:relative;z-index:1}
.subject-card strong{display:block;margin-top:18px;font-size:14px;color:var(--navy-900);position:relative;z-index:1}
.subject-card small{display:block;margin-top:4px;color:var(--muted);font-size:11px;position:relative;z-index:1}
.subject-card .mini-progress{position:absolute;left:17px;right:17px;bottom:13px;height:4px;background:#edf1f6;border-radius:999px;overflow:hidden;z-index:2}
.subject-card .mini-progress span{display:block;height:100%;background:var(--subject-accent,var(--blue-600))}
.library-toolbar{position:sticky;top:calc(var(--topbar-h) + 8px);z-index:30;background:rgba(245,247,251,.94);backdrop-filter:blur(14px);padding:10px 0 14px;margin-bottom:8px}
.toolbar-top{display:flex;align-items:center;justify-content:space-between;gap:14px}
.chip-row{display:flex;align-items:center;gap:8px;overflow:auto;padding:3px 2px 5px;scrollbar-width:none}
.chip-row::-webkit-scrollbar{display:none}
.filter-chip{flex:none;border:1px solid #d7e0ea;background:#fff;border-radius:999px;padding:8px 12px;color:#5c6679;font-size:12px;font-weight:750;cursor:pointer}
.filter-chip:hover{border-color:#b9cbe0;background:#f9fbfe}
.filter-chip.active{background:var(--navy-900);border-color:var(--navy-900);color:#fff}
.view-toggle{display:flex;border:1px solid #d7e0ea;border-radius:12px;background:#fff;padding:3px;flex:none}
.view-toggle button{width:37px;height:34px;border:0;background:transparent;border-radius:9px;cursor:pointer;color:#6a7487}
.view-toggle button.active{background:var(--blue-100);color:var(--blue-700)}
.resource-grid{display:grid;grid-template-columns:repeat(4,minmax(220px,1fr));gap:14px}
.resource-card{background:#fff;border:1px solid var(--line);border-radius:18px;min-width:0;overflow:hidden;box-shadow:var(--shadow-sm);transition:transform .18s,box-shadow .18s,border-color .18s;position:relative}
.resource-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md);border-color:#cbd9e8}
.resource-thumb{height:125px;background:linear-gradient(145deg,var(--thumb-start,#ddeaff),var(--thumb-end,#f5f8fc));display:flex;align-items:flex-end;justify-content:space-between;padding:15px;position:relative;overflow:hidden}
.resource-thumb:after{content:"";position:absolute;right:-25px;top:-35px;width:120px;height:120px;border-radius:50%;background:rgba(255,255,255,.4)}
.resource-type-icon{width:48px;height:48px;border-radius:15px;background:rgba(255,255,255,.82);backdrop-filter:blur(6px);display:grid;place-items:center;font-size:24px;box-shadow:0 8px 20px rgba(7,16,31,.08);z-index:1}
.state-badge,.plan-badge{position:relative;z-index:1;display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:850;white-space:nowrap;background:#fff;color:var(--navy-900);box-shadow:0 4px 12px rgba(7,16,31,.08)}
.state-badge.open{color:var(--green-600);background:var(--green-100)}
.state-badge.partial{color:var(--amber-700);background:var(--amber-100)}
.state-badge.locked{color:var(--red-600);background:var(--red-100)}
.state-badge.expired{color:#7a5361;background:#f5eaf0}
.resource-body{padding:15px}
.resource-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}
.resource-meta small{color:var(--muted);font-size:11px;font-weight:650}
.resource-title{font-size:15px;line-height:1.32;color:var(--navy-900);font-weight:800;margin:0;min-height:38px}
.resource-title-button{display:block;width:100%;margin:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;line-height:inherit;letter-spacing:inherit;text-align:left;cursor:pointer}
.resource-title-button:hover{color:var(--blue-700)}
.resource-title-button:focus-visible{outline:2px solid rgba(53,118,200,.35);outline-offset:3px;border-radius:4px}
.resource-subtitle{font-size:12px;color:var(--muted);margin:6px 0 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.resource-progress{height:5px;background:#edf1f6;border-radius:999px;overflow:hidden}
.resource-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--blue-600),var(--orange-500))}
.resource-footer{padding:0 10px 10px 15px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.resource-footer small{color:var(--muted);font-size:10px}
.card-actions{display:flex;align-items:center;gap:3px}
.card-icon-button{width:34px;height:34px;border:0;background:transparent;border-radius:10px;cursor:pointer;color:#606b7f;display:grid;place-items:center}
.card-icon-button:hover{background:var(--surface-3);color:var(--navy-900)}
.card-icon-button.saved{color:var(--orange-600);background:var(--orange-100)}
.card-menu{position:absolute;right:10px;bottom:48px;z-index:15;width:185px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:6px;box-shadow:var(--shadow-lg)}
.card-menu button{width:100%;border:0;background:transparent;border-radius:9px;padding:9px 10px;text-align:left;font-size:12px;cursor:pointer;display:flex;align-items:center;gap:9px}
.card-menu button:hover{background:var(--surface-2)}
.app-shell[data-view="list"] .resource-grid{display:block}
.app-shell[data-view="list"] .resource-card{display:grid;grid-template-columns:90px minmax(0,1fr) auto;margin-bottom:8px;border-radius:14px}
.app-shell[data-view="list"] .resource-thumb{height:auto;min-height:92px;padding:13px;align-items:center;justify-content:center}
.app-shell[data-view="list"] .resource-thumb .state-badge{display:none}
.app-shell[data-view="list"] .resource-type-icon{width:44px;height:44px}
.app-shell[data-view="list"] .resource-body{padding:14px 16px}
.app-shell[data-view="list"] .resource-title{min-height:0}
.app-shell[data-view="list"] .resource-footer{min-width:170px;padding:10px 12px;justify-content:flex-end}
.empty-state{padding:60px 20px;text-align:center;background:#fff;border:1px dashed #cad4e0;border-radius:20px;color:var(--muted)}
.empty-state .empty-icon{font-size:42px;margin-bottom:12px}
.empty-state h3{margin:0;color:var(--navy-900)}
.empty-state p{margin:8px auto 18px;max-width:480px;line-height:1.5}
.access-groups{display:grid;gap:22px}
.access-group{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;box-shadow:var(--shadow-sm)}
.access-group-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.access-group-header h2{margin:0;font-size:18px;color:var(--navy-900)}
.access-group-header span{font-size:11px;color:var(--muted)}
.access-strip{display:grid;grid-template-columns:repeat(3,minmax(200px,1fr));gap:12px}
.access-card{border:1px solid #dce4ed;border-radius:15px;padding:15px;background:linear-gradient(180deg,#fff,#f9fbfd);display:flex;gap:12px;align-items:flex-start}
.access-card-icon{width:42px;height:42px;border-radius:13px;background:var(--blue-100);display:grid;place-items:center;font-size:20px;flex:none}
.access-card strong{display:block;font-size:13px;color:var(--navy-900)}
.access-card p{margin:5px 0 8px;color:var(--muted);font-size:11px;line-height:1.4}
.access-card small{color:var(--green-600);font-size:10px;font-weight:800}
.workspace-hero{border-radius:22px;background:linear-gradient(135deg,#fff,#edf4ff);border:1px solid #d8e4f3;padding:24px;display:grid;grid-template-columns:1fr 280px;gap:18px;box-shadow:var(--shadow-sm)}
.workspace-hero h1{margin:6px 0 9px;color:var(--navy-900);font-size:34px;letter-spacing:-.03em}
.workspace-hero p{margin:0;color:var(--muted);line-height:1.55}
.workspace-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.stat-tile{background:#fff;border:1px solid #dce5ef;border-radius:14px;padding:14px}
.stat-tile strong{font-size:24px;color:var(--blue-700);display:block;letter-spacing:-.03em}
.stat-tile small{font-size:10px;color:var(--muted)}
.tab-bar{display:flex;gap:5px;overflow:auto;margin:20px 0 18px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:5px;scrollbar-width:none}
.tab-bar button{flex:none;border:0;background:transparent;border-radius:10px;padding:10px 14px;color:#5f6a7d;font-size:12px;font-weight:800;cursor:pointer}
.tab-bar button.active{background:var(--navy-900);color:#fff}
.timeline{display:grid;gap:10px}
.timeline-item{display:grid;grid-template-columns:38px 1fr auto;gap:12px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:15px;padding:13px}
.timeline-number{width:38px;height:38px;border-radius:50%;background:var(--blue-100);color:var(--blue-700);display:grid;place-items:center;font-weight:850;font-size:12px}
.timeline-item strong{font-size:13px;color:var(--navy-900)}
.timeline-item small{display:block;margin-top:3px;color:var(--muted);font-size:11px}
.timeline-state{font-size:10px;font-weight:850;border-radius:999px;padding:6px 9px;background:var(--green-100);color:var(--green-600)}
.dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(250px,1fr));gap:14px}
.dashboard-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:var(--shadow-sm)}
.dashboard-card h3{margin:0 0 12px;font-size:16px;color:var(--navy-900)}
.dashboard-card p{color:var(--muted);font-size:12px;line-height:1.5}
.dashboard-list{display:grid;gap:9px}
.dashboard-list-item{border:1px solid #e3e8ef;border-radius:12px;padding:11px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.dashboard-list-item strong{font-size:12px;color:var(--ink)}
.dashboard-list-item small{font-size:10px;color:var(--muted)}
.detail-drawer{position:fixed;z-index:120;right:0;top:0;bottom:0;width:min(560px,100vw);background:#fff;box-shadow:var(--shadow-lg);transform:translateX(105%);transition:transform .24s ease;overflow:auto}
.detail-drawer.open{transform:translateX(0)}
.drawer-header{position:sticky;top:0;z-index:2;background:rgba(255,255,255,.95);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);padding:14px 18px;display:flex;align-items:center;justify-content:space-between}
.drawer-header strong{font-size:14px;color:var(--navy-900)}
.drawer-content{padding:20px}
.drawer-hero{border-radius:18px;background:linear-gradient(145deg,#e8f1ff,#fff5e6);padding:24px;min-height:180px;display:flex;flex-direction:column;justify-content:flex-end}
.drawer-hero h2{margin:10px 0 5px;font-size:26px;color:var(--navy-900);letter-spacing:-.03em}
.drawer-hero p{margin:0;color:var(--muted);line-height:1.5}
.drawer-meta-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}
.drawer-meta{background:var(--surface-2);border-radius:12px;padding:11px;text-align:center}
.drawer-meta strong{display:block;font-size:13px;color:var(--navy-900)}
.drawer-meta small{font-size:9px;color:var(--muted)}
.reader-shell{display:grid;grid-template-columns:170px 1fr;gap:18px;margin-top:18px}
.reader-toc{position:sticky;top:82px;align-self:start;border:1px solid var(--line);border-radius:14px;padding:12px;background:#fff}
.reader-toc strong{font-size:11px;color:var(--navy-900)}
.reader-toc button{width:100%;border:0;background:transparent;text-align:left;border-radius:8px;padding:8px;color:#5e687b;font-size:10px;cursor:pointer}
.reader-toc button.active{background:var(--blue-100);color:var(--blue-700);font-weight:800}
.reader-content{font-family:Georgia,"Times New Roman",serif;line-height:1.72;font-size:16px;color:#202838;max-width:720px}
.reader-content h2,.reader-content h3{font-family:Inter,ui-sans-serif,sans-serif;color:var(--navy-900);letter-spacing:-.02em}
.reader-callout{font-family:Inter,ui-sans-serif,sans-serif;border-left:4px solid var(--orange-500);background:var(--orange-100);border-radius:0 12px 12px 0;padding:14px;margin:18px 0;font-size:13px}
.reader-toolbar{display:flex;gap:6px;flex-wrap:wrap;margin:16px 0;padding:8px;background:#fff;border:1px solid var(--line);border-radius:12px;position:sticky;top:70px;z-index:1;box-shadow:var(--shadow-sm)}
.reader-toolbar button{border:1px solid #d9e1eb;background:#fff;border-radius:9px;padding:7px 9px;font-size:10px;font-weight:750;cursor:pointer}
.reader-toolbar button:hover{background:var(--surface-2)}
.reader-progress{height:6px;background:#e9edf3;border-radius:999px;overflow:hidden;margin:12px 0 0}
.reader-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--orange-500),var(--gold-500))}
.overlay{position:fixed;z-index:110;inset:0;background:rgba(7,16,31,.46);backdrop-filter:blur(2px)}
.bottom-sheet{position:fixed;z-index:130;left:50%;bottom:20px;transform:translate(-50%,130%);width:min(620px,calc(100vw - 28px));background:#fff;border-radius:22px;padding:22px;box-shadow:var(--shadow-lg);transition:transform .24s ease,opacity .18s ease;visibility:hidden;opacity:0;pointer-events:none}
.bottom-sheet.open{transform:translate(-50%,0);visibility:visible;opacity:1;pointer-events:auto}
.bottom-sheet h2{margin:0;color:var(--navy-900);font-size:23px}
.bottom-sheet p{color:var(--muted);line-height:1.55}
.sheet-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:18px;flex-wrap:wrap}
.toast-region{position:fixed;z-index:200;right:20px;bottom:20px;display:grid;gap:8px}
.toast{min-width:260px;max-width:360px;background:var(--navy-900);color:#fff;border-radius:13px;padding:13px 15px;box-shadow:var(--shadow-lg);animation:toast-in .2s ease;display:flex;align-items:center;gap:9px;font-size:12px}
.toast .toast-icon{color:#ffc56c}
@keyframes toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.search-filter-popover,.account-menu,.notification-panel{position:fixed;z-index:100;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-lg);border-radius:16px;padding:10px;width:280px}
.search-filter-popover{top:66px;left:50%;transform:translateX(-10%)}
.account-menu{top:66px;right:22px}
.notification-panel{top:66px;right:70px;width:330px}
.popover-heading{padding:8px 10px;font-size:11px;color:var(--muted);font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.popover-item{border:0;background:transparent;width:100%;border-radius:10px;padding:10px;text-align:left;cursor:pointer;font-size:12px;display:flex;gap:10px;align-items:center}
.popover-item:hover{background:var(--surface-2)}
.account-profile{display:flex;gap:11px;align-items:center;padding:10px;border-bottom:1px solid var(--line);margin-bottom:6px}
.account-profile .avatar{flex:none}
.account-profile strong{font-size:13px;display:block}
.account-profile small{font-size:10px;color:var(--muted)}
.notice{padding:12px;border-radius:12px;background:var(--surface-2);margin-bottom:8px}
.notice strong{font-size:11px;display:block;color:var(--navy-900)}
.notice small{display:block;color:var(--muted);font-size:10px;line-height:1.4;margin-top:4px}
.search-highlight{background:#fff0a8;color:inherit;border-radius:3px;padding:0 2px}
.context-collapsed{--context-rail-w:0px}
.context-collapsed .context-rail{overflow:hidden;padding:0;width:0;border:0}
.context-collapsed #collapseContext{position:fixed;left:calc(var(--parent-rail-w) + 8px);top:88px;z-index:60;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-sm);transform:rotate(180deg)}
@media (max-width:1250px){
  :root{--context-rail-w:220px}
  .topbar{grid-template-columns:275px minmax(260px,1fr) auto}
  .resource-grid{grid-template-columns:repeat(3,minmax(215px,1fr))}
  .subject-grid{grid-template-columns:repeat(4,minmax(155px,1fr))}
  .hero-grid{grid-template-columns:1fr}
  .info-stack{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:960px){
  :root{--topbar-h:68px;--parent-rail-w:72px;--context-rail-w:0px}
  .app-shell{grid-template-columns:var(--parent-rail-w) minmax(0,1fr);grid-template-areas:"top top" "parent main"}
  .topbar{grid-template-columns:220px 1fr auto;padding:0 16px;gap:12px}
  .brand-copy small{display:none}
  .context-rail{position:fixed;left:var(--parent-rail-w);top:var(--topbar-h);width:260px;transform:translateX(-110%);box-shadow:var(--shadow-lg)}
  .context-rail.mobile-open{transform:translateX(0)}
  #main-content{padding:20px 20px 86px}
  .resource-grid{grid-template-columns:repeat(2,minmax(215px,1fr))}
  .subject-grid{grid-template-columns:repeat(3,minmax(145px,1fr))}
  .continue-card{grid-template-columns:1fr 180px}
  .workspace-hero{grid-template-columns:1fr}
  .dashboard-grid{grid-template-columns:repeat(2,minmax(230px,1fr))}
  .access-strip{grid-template-columns:repeat(2,minmax(200px,1fr))}
  .mobile-context-strip{display:flex;align-items:center;gap:7px;overflow:auto;margin:-4px -2px 16px;padding:4px 2px 5px;scrollbar-width:none}
  .mobile-context-strip button{flex:none;border:1px solid #d7e0ea;background:#fff;border-radius:999px;padding:8px 12px;font-size:11px;font-weight:750;color:#5f6a7d}
  .mobile-context-strip button.active{background:var(--navy-900);border-color:var(--navy-900);color:#fff}
}
@media (max-width:720px){
  :root{--topbar-h:64px;--parent-rail-w:0px}
  .app-shell{display:block;padding-top:var(--topbar-h)}
  .topbar{position:fixed;inset:0 0 auto 0;height:var(--topbar-h);display:grid;grid-template-columns:1fr auto;padding:0 12px;gap:9px}
  .brand{display:none}
  .global-search{height:42px;border-radius:13px;grid-template-columns:20px 1fr 34px;padding-left:12px}
  .global-search kbd{display:none}
  .global-search input{font-size:13px}
  .top-actions{gap:4px}.continue-pill,.top-actions .icon-button{display:none}.avatar{width:38px;height:38px;font-size:12px}
  .parent-rail{display:none}
  .context-rail{left:0;top:var(--topbar-h);height:calc(100vh - var(--topbar-h));width:280px}
  #main-content{padding:16px 14px calc(92px + env(safe-area-inset-bottom))}
  .mobile-dock{display:grid;position:fixed;z-index:90;left:10px;right:10px;bottom:calc(8px + env(safe-area-inset-bottom));height:66px;border-radius:20px;background:rgba(11,19,38,.96);backdrop-filter:blur(18px);box-shadow:0 16px 42px rgba(7,16,31,.28);grid-template-columns:repeat(6,1fr);padding:6px}
  .mobile-dock button{border:0;background:transparent;color:#aeb8cc;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:9px;font-weight:750;padding:4px 1px}
  .mobile-dock button.active{background:rgba(53,118,200,.7);color:#fff}
  .mobile-dock .nav-icon{font-size:18px}
  .page-heading{align-items:flex-start;flex-direction:column;margin-bottom:18px}
  .page-heading h1{font-size:30px}
  .page-heading p{font-size:13px}
  .page-actions{width:100%}.page-actions>*{flex:1}
  .hero-grid{display:block}.info-stack{grid-template-columns:1fr;margin-top:14px}
  .continue-card{grid-template-columns:1fr;min-height:300px;padding:21px}
  .continue-copy h2{font-size:25px}.book-visual{display:none}
  .subject-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .subject-card{min-height:128px;padding:14px}.subject-card strong{font-size:12px}.subject-card small{font-size:10px}.subject-card .mini-progress{left:14px;right:14px}
  .section{margin-top:23px}.section-header h2{font-size:18px}
  .library-toolbar{top:var(--topbar-h);padding-top:8px}
  .toolbar-top{align-items:flex-start;flex-direction:column}.view-toggle{align-self:flex-end;margin-top:-43px}
  .resource-grid{grid-template-columns:1fr;gap:10px}
  .resource-card{display:grid;grid-template-columns:92px 1fr auto;border-radius:14px}
  .resource-thumb{height:auto;min-height:112px;padding:10px;align-items:center;justify-content:center}
  .resource-thumb .state-badge{display:none}
  .resource-body{padding:12px 10px}.resource-title{font-size:12px;min-height:0}.resource-subtitle{font-size:10px;margin-bottom:9px}.resource-meta{margin-bottom:6px}.resource-progress{height:4px}
  .resource-footer{min-width:44px;padding:8px 7px;justify-content:center}.resource-footer>small,.resource-footer .card-actions .card-icon-button:first-child{display:none}
  .app-shell[data-view="grid"] .resource-grid{display:grid}
  .app-shell[data-view="grid"] .resource-card{display:grid;grid-template-columns:92px 1fr auto}
  .app-shell[data-view="list"] .resource-card{grid-template-columns:92px 1fr auto}
  .access-strip,.dashboard-grid{grid-template-columns:1fr}
  .access-group{padding:14px}.access-group-header h2{font-size:16px}
  .workspace-hero{padding:18px}.workspace-hero h1{font-size:27px}.workspace-stats{grid-template-columns:repeat(2,1fr)}
  .timeline-item{grid-template-columns:34px 1fr}.timeline-state{grid-column:2;justify-self:start}.timeline-number{width:34px;height:34px}
  .detail-drawer{width:100vw}.drawer-content{padding:14px}.drawer-meta-grid{grid-template-columns:repeat(3,1fr)}
  .reader-shell{display:block}.reader-toc{display:none}.reader-content{font-size:15px}.reader-toolbar{top:64px}
  .toast-region{left:12px;right:12px;bottom:88px}.toast{min-width:0;max-width:none;width:100%}
  .search-filter-popover{top:58px;left:12px;right:12px;transform:none;width:auto}.account-menu{top:58px;right:10px;width:280px}.notification-panel{top:58px;right:10px;width:calc(100vw - 20px)}
}
@media (max-width:390px){
  .subject-grid{grid-template-columns:1fr 1fr}.subject-card{min-height:120px}.subject-icon{width:42px;height:42px}
  .resource-card,.app-shell[data-view="list"] .resource-card,.app-shell[data-view="grid"] .resource-card{grid-template-columns:80px 1fr auto}.resource-thumb{min-height:108px}.resource-type-icon{width:40px;height:40px;font-size:20px}
  .mobile-dock{left:6px;right:6px;grid-template-columns:repeat(6,1fr)}
}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}
@media print{.topbar,.parent-rail,.context-rail,.mobile-dock,.mobile-context-strip,.page-actions,.library-toolbar,.card-actions{display:none!important}.app-shell{display:block}.app-shell #main-content{padding:0}.resource-grid{grid-template-columns:repeat(2,1fr)}}

/* =========================================================
   AspireNest Exact Resource E2E v2 additions
   Public preview → login → access → same updated workspace
   ========================================================= */
.role-pill{border:1px solid #d8e1ec;background:#fff;color:var(--navy-900);border-radius:999px;padding:9px 13px;font-size:11px;font-weight:850;cursor:pointer;box-shadow:var(--shadow-sm)}
.orange-button{border:0;background:linear-gradient(135deg,#ff930f,#ff7600);color:#fff;border-radius:12px;padding:11px 17px;font-weight:850;cursor:pointer;box-shadow:0 8px 20px rgba(244,123,32,.24)}
.public-hero{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,.75fr);gap:24px;background:linear-gradient(135deg,#182248,#3f357d);color:#fff;border-radius:24px;padding:32px;border-bottom:5px solid var(--orange-500);box-shadow:var(--shadow-lg);overflow:hidden;position:relative}
.public-hero:before{content:"";position:absolute;width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,rgba(255,175,43,.24),transparent 68%);right:-80px;top:-120px}
.public-hero>div,.public-hero>aside{position:relative;z-index:1}
.public-hero h2{font-size:34px;line-height:1.05;margin:10px 0 12px;max-width:760px}.public-hero p{color:#d9e0ef;line-height:1.6;max-width:760px}.public-hero aside{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);backdrop-filter:blur(14px);padding:22px;border-radius:18px;display:flex;flex-direction:column;justify-content:center}.public-hero aside strong{font-size:20px}.public-hero aside small{color:#dce3f1;margin-top:7px;line-height:1.4}
.hero-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.hero-tags span,.v8-card-meta span{border-radius:999px;background:#edf2fa;color:#33415d;padding:6px 9px;font-size:10px;font-weight:800}.public-hero .hero-tags span{background:rgba(255,255,255,.13);color:#fff}
.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 0}.kpi-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:19px;box-shadow:var(--shadow-sm)}.kpi-card span{display:block;color:#667188;text-transform:uppercase;font-size:10px;font-weight:850;letter-spacing:.05em}.kpi-card strong{display:block;font-size:29px;color:var(--navy-900);margin:12px 0 5px}.kpi-card small{color:#1f8b65;font-size:10px}
.feature-card{min-height:240px}.feature-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#eaf2ff;color:#2d63a8;font-size:21px;font-weight:900}.feature-card h3{font-size:19px;margin:18px 0 8px}.feature-card .v8-card-meta{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0}
.journey-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.journey-step{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-sm);border-radius:18px;padding:20px}.journey-step>span{width:38px;height:38px;border-radius:12px;background:var(--navy-900);color:#fff;display:grid;place-items:center;font-weight:900}.journey-step strong{display:block;font-size:16px;margin:17px 0 8px}.journey-step small{color:var(--muted);line-height:1.5}
.collection-toolbar{display:flex;justify-content:space-between;align-items:center;background:#fff;border:1px solid var(--line);border-radius:16px;padding:11px 13px;margin-bottom:16px;box-shadow:var(--shadow-sm)}.collection-toolbar>span{font-size:11px;font-weight:800;color:#68748b}
.plan-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.plan-card{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-sm);border-radius:20px;padding:22px;display:flex;flex-direction:column}.plan-card.featured{border:2px solid var(--navy-900);box-shadow:var(--shadow-lg)}.plan-card h3{font-size:22px}.plan-price{font-size:30px;color:var(--navy-900);margin:4px 0 8px}.plan-card p,.plan-card li{color:var(--muted);line-height:1.5;font-size:11px}.plan-card ul{padding-left:18px;min-height:115px}.plan-card button{margin-top:auto}
.preview-resource-card{border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:var(--shadow-sm)}.preview-resource-card h3{font-size:17px;margin:15px 0 9px}.preview-resource-card p{color:var(--muted);font-size:12px;line-height:1.65}.preview-resource-card .v8-card-meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:15px}
.continuity-note{margin-top:14px;border:1px solid #dce4ef;background:#f6f9fd;border-radius:14px;padding:14px}.continuity-note strong{color:var(--navy-900);font-size:12px}.continuity-note p{margin:5px 0 0;color:var(--muted);font-size:11px;line-height:1.5}.continuity-note code{display:block;margin-top:8px;white-space:normal;overflow-wrap:anywhere;font-size:10px;color:#294b79}
.modal-backdrop{position:fixed;z-index:180;inset:0;background:rgba(7,16,31,.52);backdrop-filter:blur(5px);display:grid;place-items:center;padding:20px}.app-modal{width:min(760px,100%);max-height:calc(100vh - 34px);overflow:auto;background:#fff;border-radius:23px;box-shadow:0 28px 80px rgba(5,13,30,.36)}.app-modal>header{display:flex;justify-content:space-between;gap:16px;padding:22px 24px;border-bottom:1px solid var(--line)}.app-modal>header h2{margin:0;color:var(--navy-900);font-size:24px}.app-modal>header p{margin:6px 0 0;color:var(--muted);font-size:11px}.app-modal-body{padding:24px}.app-modal>footer{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;border-top:1px solid var(--line);padding:16px 24px}.login-panel>h3{font-size:19px;margin:16px 0 8px}.login-panel>p{font-size:11px;color:var(--muted)}.login-panel>code{display:block;background:#f1f5fa;border-radius:10px;padding:11px;font-size:10px;overflow-wrap:anywhere}.login-panel label{display:grid;gap:6px;font-size:11px;font-weight:800;margin-top:16px}.login-panel input,.mentor-question input,.mentor-question select,.mentor-question textarea{width:100%;border:1px solid #d5deea;border-radius:11px;padding:11px;font:inherit}.mentor-question{display:grid;gap:14px;max-width:760px}.mentor-question label{display:grid;gap:7px;font-size:11px;font-weight:800}.mentor-question textarea{min-height:140px;resize:vertical}
.exact-workspace{max-width:1280px;margin:0 auto}.exact-back-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.exact-resource-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 20px}.exact-resource-meta span{background:#fff;border:1px solid var(--line);border-radius:13px;padding:12px;box-shadow:var(--shadow-sm)}.exact-resource-meta small{display:block;color:var(--muted);font-size:9px;text-transform:uppercase;font-weight:850}.exact-resource-meta strong{display:block;margin-top:5px;font-size:12px;color:var(--navy-900)}
.exact-reader-toolbar{position:sticky;top:74px;z-index:4}.exact-reader-shell{min-height:600px}.exact-footer-actions{justify-content:flex-end;margin-top:18px}
.video-player-shell{background:#091329;border-radius:22px;padding:14px;box-shadow:var(--shadow-lg)}.video-stage{aspect-ratio:16/8.6;border-radius:16px;background:radial-gradient(circle at 70% 20%,rgba(255,150,29,.27),transparent 25%),linear-gradient(135deg,#0c1731,#1f4075);display:grid;place-items:center;position:relative;overflow:hidden}.video-play-button{width:80px;height:80px;border-radius:50%;border:1px solid rgba(255,255,255,.5);background:rgba(255,255,255,.13);color:#fff;font-size:28px;cursor:pointer;backdrop-filter:blur(8px)}.video-stage-copy{position:absolute;left:24px;bottom:22px;color:#fff;display:grid;gap:4px}.video-stage-copy span{font-size:22px}.video-stage-copy strong{font-size:18px}.video-stage-copy small{color:#d8e2f1}.video-controls{display:grid;grid-template-columns:auto 1fr auto auto;gap:12px;align-items:center;padding:14px 5px 3px;color:#fff}.video-controls button{border:0;background:rgba(255,255,255,.12);color:#fff;border-radius:9px;padding:8px 10px;cursor:pointer}.video-progress{height:6px;border-radius:999px;background:rgba(255,255,255,.16);overflow:hidden}.video-progress span{height:100%;display:block;background:linear-gradient(90deg,var(--orange-500),#ffbd46)}.workspace-two-col{display:grid;grid-template-columns:1.4fr .8fr;gap:14px;margin-top:17px}.workspace-two-col ul{color:var(--muted);font-size:11px;line-height:1.7}
.test-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.test-summary>div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:17px;box-shadow:var(--shadow-sm)}.test-summary span{display:block;color:var(--muted);font-size:10px}.test-summary strong{display:block;font-size:22px;margin-top:8px}.test-instructions{margin-top:17px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px;box-shadow:var(--shadow-sm)}.test-instructions h2{font-size:25px}.test-instructions p,.test-instructions li{color:var(--muted);font-size:12px;line-height:1.7}.test-instructions button{margin-top:14px}
.attempt-topbar{display:grid;grid-template-columns:1fr auto auto;gap:18px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px 18px;box-shadow:var(--shadow-sm);margin-bottom:15px}.attempt-topbar h2{margin:3px 0 0;font-size:19px}.attempt-timer{font-size:20px;font-weight:900;color:#c95d15;border:1px solid #ffd8b9;background:#fff5ec;border-radius:11px;padding:10px 15px}.attempt-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:15px}.question-panel,.question-palette{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow-sm)}.question-panel{padding:24px}.question-panel h3{font-size:19px;line-height:1.5}.question-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:10px}.option-list{display:grid;gap:10px;margin:20px 0}.option-card{display:grid;grid-template-columns:22px 34px 1fr;gap:9px;align-items:center;border:1px solid #dbe3ed;border-radius:13px;padding:13px;cursor:pointer}.option-card.selected{border-color:#3977c9;background:#f1f6ff}.option-card input{width:16px;height:16px}.option-card>span{width:29px;height:29px;border-radius:8px;background:#edf2f8;display:grid;place-items:center}.option-card strong{font-size:12px}.attempt-actions{display:flex;justify-content:space-between;gap:9px;flex-wrap:wrap}.question-palette{padding:18px;height:max-content}.question-palette>div{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:15px 0}.question-palette button{border:1px solid #d7e0eb;background:#fff;border-radius:9px;padding:9px 0;font-weight:800;cursor:pointer}.question-palette button.active{background:var(--navy-900);color:#fff}.question-palette button.answered{border-color:#199068;background:#eaf8f3}.question-palette button.flagged{box-shadow:inset 0 -4px 0 #f29935}.question-palette p{font-size:9px;color:var(--muted)}.legend{display:inline-block;width:8px;height:8px;border-radius:50%;margin:0 4px 0 9px}.legend.answered{background:#199068}.legend.flagged{background:#f29935}
.result-hero{background:linear-gradient(135deg,#102247,#2c5c93);color:#fff;border-radius:22px;padding:32px;text-align:center;box-shadow:var(--shadow-lg)}.result-hero>strong{font-size:70px;display:block;margin:10px 0 2px}.result-hero h2{font-size:28px;margin:0}.result-hero p{color:#d8e2f1}.result-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:20px}.review-list{display:grid;gap:14px}.review-card{background:#fff;border:1px solid var(--line);border-left:5px solid #c3ccd8;border-radius:17px;padding:20px;box-shadow:var(--shadow-sm)}.review-card.correct{border-left-color:#1c9b70}.review-card.incorrect{border-left-color:#e06d57}.review-card header{display:flex;justify-content:space-between}.review-card header span{color:var(--muted);font-size:10px}.review-card header strong{font-size:10px}.review-card h3{font-size:15px;line-height:1.5}.review-card p{font-size:11px;color:var(--muted)}
.document-workspace{display:grid;grid-template-columns:220px minmax(0,1fr);gap:15px}.document-toc,.document-page{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow-sm)}.document-toc{padding:17px;height:max-content;position:sticky;top:84px}.document-toc strong{display:block;margin-bottom:13px}.document-toc button{display:block;width:100%;border:0;background:transparent;text-align:left;border-radius:9px;padding:10px;font-size:11px;cursor:pointer}.document-toc button.active{background:#eaf2ff;color:#245a9a;font-weight:850}.document-page{padding:32px;min-height:680px}.document-page h2{font-size:29px}.document-page section{border-top:1px solid var(--line);padding:18px 0}.document-page h3{font-size:17px}.document-page p{color:#455169;line-height:1.75;font-size:13px}
.roadmap-hero{display:grid;grid-template-columns:1fr 150px;gap:18px;align-items:center;background:linear-gradient(135deg,#152446,#49377d);color:#fff;border-radius:22px;padding:27px;box-shadow:var(--shadow-lg)}.roadmap-hero h2{font-size:29px;margin:6px 0}.roadmap-hero p{color:#dbe2ef}.roadmap-ring{width:130px;height:130px;border-radius:50%;border:12px solid rgba(255,255,255,.22);display:grid;place-items:center;align-content:center;justify-self:end}.roadmap-ring strong{font-size:26px}.roadmap-ring small{color:#dbe2ef}.roadmap-timeline{display:grid;gap:10px;margin-top:17px}.roadmap-timeline article{display:grid;grid-template-columns:42px 1fr auto auto;gap:12px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:15px;padding:13px;box-shadow:var(--shadow-sm)}.roadmap-timeline article>span{width:38px;height:38px;border-radius:11px;background:#eaf2ff;display:grid;place-items:center;font-weight:900;color:#2a5e9f}.roadmap-timeline strong{display:block;font-size:12px}.roadmap-timeline small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.roadmap-timeline i{font-style:normal;font-size:9px;border-radius:999px;background:#edf3f8;padding:6px 8px}.roadmap-day-hero{background:#fff;border:1px solid var(--line);border-radius:18px;padding:23px;box-shadow:var(--shadow-sm);margin-bottom:15px}.roadmap-day-hero h2{font-size:24px}.roadmap-day-hero p{color:var(--muted)}
.live-session-card{display:grid;grid-template-columns:18px 1fr auto;gap:18px;align-items:center;background:linear-gradient(135deg,#0d1f42,#294f87);color:#fff;border-radius:22px;padding:28px;box-shadow:var(--shadow-lg)}.live-dot{width:14px;height:14px;border-radius:50%;background:#ff633e;box-shadow:0 0 0 8px rgba(255,99,62,.15)}.live-session-card h2{font-size:27px;margin:5px 0}.live-session-card p{color:#d8e2f1}.live-session-card .v8-card-meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:15px}.live-session-card aside{text-align:center}.live-session-card aside>strong{font-size:24px;display:block}.live-session-card aside>small{display:block;color:#d8e2f1;margin-bottom:13px}
.workspace-menu{position:fixed;z-index:100;top:66px;right:115px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-lg);border-radius:16px;padding:10px;width:285px}.workspace-menu .popover-item{display:block}.workspace-menu .popover-item strong,.workspace-menu .popover-item small{display:block}.workspace-menu .popover-item small{font-size:9px;color:var(--muted);margin-top:3px}

@media (max-width:1100px){.kpi-grid,.plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.public-hero{grid-template-columns:1fr}.journey-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.attempt-layout{grid-template-columns:1fr}.question-palette{order:-1}.question-palette>div{grid-template-columns:repeat(10,1fr)}.workspace-two-col{grid-template-columns:1fr}}
@media (max-width:720px){.role-pill{display:none}.public-hero{padding:22px}.public-hero h2{font-size:27px}.kpi-grid,.plan-grid,.journey-grid{grid-template-columns:1fr}.exact-resource-meta,.test-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.video-stage{aspect-ratio:16/10}.video-play-button{width:62px;height:62px}.video-controls{grid-template-columns:auto 1fr auto}.video-controls button:last-child{grid-column:1/-1}.attempt-topbar{grid-template-columns:1fr auto}.attempt-topbar button{grid-column:1/-1}.question-panel{padding:16px}.question-palette>div{grid-template-columns:repeat(5,1fr)}.document-workspace{grid-template-columns:1fr}.document-toc{position:static;display:flex;overflow:auto;gap:5px}.document-toc strong{display:none}.document-toc button{width:auto;white-space:nowrap}.document-page{padding:20px;min-height:0}.roadmap-hero{grid-template-columns:1fr}.roadmap-ring{justify-self:center}.roadmap-timeline article{grid-template-columns:40px 1fr}.roadmap-timeline article i,.roadmap-timeline article button{grid-column:2;justify-self:start}.live-session-card{grid-template-columns:18px 1fr}.live-session-card aside{grid-column:2;text-align:left}.workspace-menu{top:58px;right:10px;width:calc(100vw - 20px)}.app-modal>header,.app-modal-body,.app-modal>footer{padding-left:17px;padding-right:17px}.app-modal>footer>*{flex:1}.result-hero>strong{font-size:54px}}


/* Complete A-to-Z role workspaces — preserves the locked Drive shell. */
.app-shell[data-workspace-role="mentor"] .parent-rail{background:#0b1730}
.app-shell[data-workspace-role="admin"] .parent-rail{background:#08111f}
.mentor-hero{background:linear-gradient(135deg,#16254b,#315a75)}
.admin-hero{background:linear-gradient(135deg,#111d3b,#342c69)}
.admin-table-wrap{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:auto;box-shadow:var(--shadow-sm)}
.admin-table{width:100%;border-collapse:collapse;min-width:760px}
.admin-table th,.admin-table td{padding:13px 14px;text-align:left;border-bottom:1px solid #e7ebf1;font-size:12px;vertical-align:middle}
.admin-table th{background:#f7f9fc;color:#5f6b80;text-transform:uppercase;font-size:9px;letter-spacing:.08em;position:sticky;top:0}
.admin-table td strong{display:block;color:var(--navy-900);font-size:12px}.admin-table td small{display:block;color:var(--muted);font-size:10px;margin-top:3px}
.feature-card .feature-icon{width:46px;height:46px;border-radius:14px;background:var(--blue-100);display:grid;place-items:center;color:var(--blue-700);font-size:20px;font-weight:900;margin-bottom:14px}
@media(max-width:760px){.admin-table-wrap{border-radius:14px}.admin-table th,.admin-table td{padding:11px 12px}.public-hero{padding:22px}.public-hero h2{font-size:28px}}


/* v2 visual merge lock: approved existing library typography + new exact workspaces */
.library-toolbar .toolbar-top>.chip-row{min-width:0;flex:1}
.library-toolbar .filter-chip{font-family:inherit;line-height:1.15}
.exact-workspace,.exact-workspace button,.exact-workspace input,.exact-workspace textarea,.exact-workspace select{font-family:inherit}


/* ==========================================================================\n   V3 — Focused Live Mock Test Engine\n   Locked Drive discovery remains unchanged. Attempt mode becomes a full exam\n   workspace inside the same app, matching the approved production interaction.\n   ========================================================================== */
body.focused-exam-mode{background:#0a1020;overflow:auto}
body.focused-exam-mode .skip-link,
.app-shell.focused-exam-mode>.topbar,
.app-shell.focused-exam-mode>.parent-rail,
.app-shell.focused-exam-mode>.context-rail,
.app-shell.focused-exam-mode>.mobile-dock{display:none!important}
.app-shell.focused-exam-mode{display:block;min-height:100vh;background:#0a1020}
.app-shell.focused-exam-mode>main{display:block;min-height:100vh;padding:12px;background:linear-gradient(180deg,#eef1f5 0,#dfe3e9 100%)}
.app-shell.focused-exam-mode .mobile-context-strip{display:none!important}
.app-shell.focused-exam-mode #pageContent{max-width:none;margin:0;padding:0}
.live-exam-shell{min-height:calc(100vh - 24px);font-size:calc(15px * var(--exam-text-scale,1));color:#101a30}
.live-exam-header{display:grid;grid-template-columns:minmax(420px,1fr) minmax(650px,auto);gap:20px;align-items:center;background:#fff;border:1px solid #dce2ea;border-radius:26px;padding:11px 12px 11px 22px;box-shadow:0 10px 34px rgba(9,17,34,.12);margin-bottom:12px}
.exam-brand-block{display:grid;grid-template-columns:88px 1fr;gap:18px;align-items:center;min-width:0}
.exam-brand-mark{width:88px;height:58px;border-right:1px solid #e4e8ef;display:grid;place-items:center;color:#ff7a18;font-size:30px;font-weight:950;font-style:italic}
.exam-brand-block strong{display:block;font-size:22px;line-height:1.15;color:#152039;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.exam-brand-block small{display:block;margin-top:5px;color:#627089;font-weight:700;font-size:13px}
.exam-header-metrics{display:grid;grid-template-columns:minmax(250px,1.5fr) 120px 110px 105px 168px;gap:9px;align-items:stretch}
.exam-metric{border:1px solid #d9e0e9;border-radius:16px;background:#fff;padding:9px 11px;min-width:0;display:flex;flex-direction:column;justify-content:center}
.exam-metric span{font-size:11px;letter-spacing:.08em;color:#65728a;font-weight:900}
.exam-metric strong{font-size:16px;color:#111b31;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.exam-metric.candidate strong{font-size:14px}
.exam-submit-button{border:0;border-radius:17px;background:#0c162c;color:#fff;font-weight:900;font-size:16px;cursor:pointer;padding:0 18px;box-shadow:0 8px 20px rgba(8,19,41,.16)}
.live-exam-layout{display:grid;grid-template-columns:minmax(0,1fr) 430px;gap:14px;min-height:calc(100vh - 125px)}
.live-question-workspace,.live-exam-palette{background:#fff;border:1px solid #dce2ea;border-radius:26px;box-shadow:0 10px 32px rgba(9,17,34,.1)}
.live-question-workspace{padding:14px 22px 18px;display:flex;flex-direction:column;min-width:0}
.exam-question-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:0 0 12px;border-bottom:1px solid #e1e6ed}
.exam-status-chips{display:flex;gap:10px;flex-wrap:wrap}
.exam-chip{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 20px;border:1px solid #d9e1eb;border-radius:16px;background:#fff;color:#526079;font-size:12px;font-weight:900;white-space:nowrap}
.exam-chip.dark{background:#0d172d;border-color:#0d172d;color:#fff}
.exam-chip.warning{background:#fff8f1;border-color:#ffceb0;color:#ba4f12}
.exam-text-controls{display:flex;align-items:center;gap:8px;white-space:nowrap}
.exam-text-controls strong{font-size:13px;margin-right:5px}
.exam-text-controls button{width:43px;height:43px;border:0;border-radius:50%;background:#0d172d;color:#fff;font-weight:900;cursor:pointer}
.live-question-card{display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;align-items:center;border:1px solid #dce3ec;border-radius:22px;padding:18px 20px;margin:12px 0 10px}
.live-question-card>span{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#0d172d;color:#fff;font-weight:900}
.live-question-card h2{font-size:calc(18px * var(--exam-text-scale,1));line-height:1.42;margin:0;color:#121c31}
.live-option-list{display:grid;gap:9px}
.live-option-card{display:grid;grid-template-columns:38px minmax(0,1fr);gap:14px;align-items:center;border:2px solid #e0e6ee;border-radius:16px;padding:10px 16px;cursor:pointer;min-height:56px;background:#fff;transition:.15s}
.live-option-card:hover{border-color:#b9c8db;background:#fafcff}
.live-option-card.selected{border-color:#ff9a55;background:#fffdf9;box-shadow:0 0 0 1px rgba(255,122,24,.18)}
.live-option-card input{position:absolute;opacity:0;pointer-events:none}
.live-option-card>span{width:36px;height:36px;border-radius:50%;background:#f0f4f8;display:grid;place-items:center;font-weight:900;color:#172039}
.live-option-card strong{font-size:calc(13px * var(--exam-text-scale,1));line-height:1.35}
.live-exam-actions{margin-top:auto;padding-top:14px;border-top:1px solid #e2e7ee;display:grid;grid-template-columns:215px 1fr 1.35fr 1fr;gap:12px}
.exam-action{min-height:54px;border-radius:16px;border:1px solid #dce3ec;background:#fff;font-weight:900;cursor:pointer;font-size:14px}
.exam-action:disabled{opacity:.45;cursor:not-allowed}
.exam-action.review{border:2px solid #7a3cff;color:#7132ee}
.exam-action.next{border:0;background:#ff7417;color:#fff;font-size:16px}
.live-exam-palette{padding:18px;background:linear-gradient(180deg,#eef6ff,#e9f3ff);display:flex;flex-direction:column;min-width:0}
.live-exam-palette header h2{margin:0;font-size:19px}
.live-exam-palette header p{margin:4px 0 0;color:#62708a;font-weight:800}
.exam-range-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:10px 0 11px;max-height:78px;overflow:auto;padding-right:4px}
.exam-range-tab{border:0;border-radius:999px;background:#fff;padding:9px 5px;font-size:12px;font-weight:900;cursor:pointer}
.exam-range-tab.active{background:#ff7417;color:#fff}
.exam-palette-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;padding:1px 0 13px;border-bottom:1px solid #d8e2ee}
.exam-palette-number{height:43px;border:1px solid #d7e0ea;border-radius:11px;background:#edf3fa;color:#111a2d;font-weight:900;cursor:pointer;position:relative}
.exam-palette-number.current{outline:3px solid #ff7a18;outline-offset:2px;background:#fff8f1}
.exam-palette-number.answered{background:#e8f8ef;border-color:#8fd6b1;color:#087d4b}
.exam-palette-number.review,.exam-palette-number.review-answered{background:#f2eaff;border-color:#b998ff;color:#6c2ee8}
.exam-palette-number.not-answered{background:#fff4e8;border-color:#ffc692;color:#b54d0f}
.exam-palette-number.review-answered:after{content:'✓';position:absolute;right:3px;top:1px;font-size:9px;color:#0b8a50}
.exam-palette-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.exam-palette-stats article{min-height:62px;border-radius:16px;background:#fff;border:1px solid #dce3ec;display:grid;grid-template-columns:16px 38px 1fr;align-items:center;padding:9px 11px}
.exam-palette-stats span{font-size:18px}.exam-palette-stats strong{font-size:22px}.exam-palette-stats small{font-weight:900;font-size:11px}
.exam-palette-stats .answered{color:#079353;background:#effcf5}.exam-palette-stats .review{color:#7531ed;background:#f8f2ff}.exam-palette-stats .not-answered{color:#d45a11;background:#fff7ef}.exam-palette-stats .not-visited{color:#66748a;background:#f8fafc}
.submit-test-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.submit-test-summary>div{border:1px solid #dce3ec;border-radius:14px;padding:14px;background:#f8fafc}.submit-test-summary span{display:block;color:#6d768a;font-size:10px}.submit-test-summary strong{display:block;font-size:24px;margin-top:5px}.submit-test-warning{color:#6d768a;font-size:12px;line-height:1.6;margin:18px 0 0}
@media(max-width:1250px){.live-exam-header{grid-template-columns:1fr}.exam-header-metrics{grid-template-columns:1.5fr repeat(3,110px) 150px}.live-exam-layout{grid-template-columns:minmax(0,1fr) 355px}.live-exam-actions{grid-template-columns:1fr 1fr}.exam-action.review,.exam-action.next{grid-column:auto}}
@media(max-width:900px){.app-shell.focused-exam-mode>main{padding:6px}.live-exam-layout{grid-template-columns:1fr}.live-exam-palette{order:-1}.exam-palette-grid{grid-template-columns:repeat(10,1fr)}.exam-header-metrics{grid-template-columns:repeat(2,1fr)}.exam-submit-button{min-height:52px}.exam-question-toolbar{align-items:flex-start;flex-direction:column}.live-exam-actions{grid-template-columns:1fr 1fr}.live-exam-header{border-radius:18px}.live-question-workspace,.live-exam-palette{border-radius:18px}}
@media(max-width:600px){.exam-brand-block{grid-template-columns:55px 1fr}.exam-brand-mark{width:55px}.exam-brand-block strong{font-size:16px}.exam-header-metrics{grid-template-columns:1fr 1fr}.exam-metric.candidate{grid-column:1/-1}.live-question-workspace{padding:12px}.exam-status-chips{display:grid;grid-template-columns:1fr 1fr;width:100%}.exam-chip{padding:0 8px}.exam-palette-grid{grid-template-columns:repeat(5,1fr)}.live-exam-actions{grid-template-columns:1fr}.live-question-card{grid-template-columns:38px 1fr;padding:13px}.live-option-card{padding:9px 11px}.submit-test-summary{grid-template-columns:1fr 1fr}}


/* V4 — approved live My Access structure */
.access-groups{display:grid;gap:22px}
.access-section{background:#fff;border:1px solid #dce4ed;border-radius:22px;padding:18px;box-shadow:0 8px 24px rgba(15,30,55,.06)}
.access-section-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}
.access-section-header h2{margin:0;color:#0e1930;font-size:20px;line-height:1.2}
.access-section-header p{margin:6px 0 0;color:#738096;font-size:12px}
.access-section-header>span{color:#728097;font-size:11px;white-space:nowrap;margin-top:5px}
.access-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.access-resource-card{appearance:none;width:100%;min-height:124px;border:1px solid #d7e1ec;border-radius:16px;background:linear-gradient(180deg,#fff,#fbfdff);padding:16px;display:grid;grid-template-columns:48px 1fr;gap:14px;align-items:start;text-align:left;cursor:pointer;box-shadow:none;color:inherit;font:inherit}
.access-resource-card:hover{border-color:#b8cce3;box-shadow:0 8px 20px rgba(17,40,74,.07);transform:translateY(-1px)}
.access-resource-icon{width:44px;height:44px;border-radius:13px;background:#eaf2ff;color:#0c1830;display:grid;place-items:center;font-size:22px;font-weight:800}
.access-resource-copy{display:flex;flex-direction:column;min-width:0}
.access-resource-copy strong{color:#101a30;font-size:14px;line-height:1.35;font-weight:850}
.access-resource-copy small{margin-top:7px;color:#748095;font-size:11px}
.access-resource-copy em{margin-top:14px;color:#078a4f;font-size:11px;font-style:normal;font-weight:850}
.access-empty-state{min-height:74px;border:1px dashed #d5dfeb;border-radius:16px;display:grid;place-items:center;color:#8a96a8;background:#fbfdff;font-size:12px}
@media(max-width:1120px){.access-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.access-section{padding:14px}.access-resource-grid{grid-template-columns:1fr}.access-section-header{align-items:flex-start}.access-resource-card{min-height:0}}


/* =========================================================
   V5 — Experience Engine + Responsive Admin Studio
   Desktop • tablet • mobile • orientation • zoom-safe UI
   ========================================================= */
.experience-section{margin-top:26px}
.experience-ribbon{margin-top:20px;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:18px;align-items:center;border:1px solid #d6dfeb;background:linear-gradient(135deg,#0e1831,#25376d 65%,#51427f);color:#fff;border-radius:20px;padding:16px 18px;box-shadow:var(--shadow-md)}
.experience-ribbon-status{display:flex;flex-direction:column;gap:3px;min-width:116px}.experience-ribbon-status strong{font-size:11px;color:#ffb45a;letter-spacing:.08em}.experience-ribbon-status small{font-size:10px;color:#d7deec}.experience-live-dot{width:10px;height:10px;border-radius:50%;background:#18b978;box-shadow:0 0 0 6px rgba(24,185,120,.14);margin-bottom:5px}.experience-ribbon-copy h2{margin:4px 0;font-size:20px}.experience-ribbon-copy p{margin:0;color:#d7deec;font-size:11px}.experience-countdown{min-width:108px;text-align:center;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);border-radius:14px;padding:10px}.experience-countdown small{display:block;color:#d7deec;font-size:9px;text-transform:uppercase}.experience-countdown strong{display:block;margin-top:3px;font-size:19px}
.experience-tv-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.experience-tv-card{min-height:190px;border:1px solid var(--line);border-radius:18px;background:#fff;padding:17px;display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;box-shadow:var(--shadow-sm)}.experience-tv-card.featured{background:linear-gradient(145deg,#101a34,#283865);color:#fff;border-color:#2f416f}.experience-tv-card.featured p,.experience-tv-card.featured small{color:#d4dced}.experience-tv-icon{width:42px;height:42px;border-radius:13px;background:#eaf2ff;color:#245eaa;display:grid;place-items:center;font-weight:900}.experience-tv-card.featured .experience-tv-icon{background:rgba(255,255,255,.12);color:#ffac48}.experience-tv-card small{font-size:9px;color:#f47b20;font-weight:900;letter-spacing:.08em}.experience-tv-card h3{font-size:16px;margin:7px 0}.experience-tv-card p{font-size:11px;color:var(--muted);line-height:1.45;min-height:48px}
.experience-schedule{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.experience-schedule article{display:grid;grid-template-columns:54px 1fr auto;gap:12px;align-items:center;border:1px solid var(--line);background:#fff;border-radius:16px;padding:14px;box-shadow:var(--shadow-sm)}.experience-date{width:52px;height:52px;border-radius:13px;background:var(--orange-100);display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--orange-600)}.experience-date small{font-size:8px;font-weight:900}.experience-date strong{font-size:19px}.experience-schedule h3{font-size:13px;margin:0}.experience-schedule p{font-size:10px;color:var(--muted);margin:5px 0 0}.experience-state{font-size:9px;font-weight:850;color:#2a5f9f;background:var(--blue-100);border-radius:999px;padding:6px 8px}
.whats-new-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.whats-new-grid article{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:center;border:1px solid var(--line);background:#fff;border-radius:15px;padding:14px}.whats-new-grid article>span{width:40px;height:40px;border-radius:12px;background:#eef4fd;display:grid;place-items:center;color:#2c66ac;font-weight:900}.whats-new-grid h3{font-size:12px;margin:0}.whats-new-grid p{font-size:10px;color:var(--muted);margin:4px 0 0;line-height:1.4}
.momentum-grid{display:grid;grid-template-columns:minmax(300px,2fr) repeat(3,minmax(150px,1fr));gap:12px}.mission-card,.momentum-stat{border:1px solid var(--line);border-radius:18px;background:#fff;padding:17px;box-shadow:var(--shadow-sm)}.mission-card{display:grid;grid-template-columns:1fr 150px;gap:15px;align-items:center;background:linear-gradient(135deg,#fff,#f0f5ff)}.mission-card h3{font-size:18px;margin:12px 0 6px}.mission-card p{font-size:11px;color:var(--muted);line-height:1.45;margin:0}.mission-progress{text-align:center}.mission-progress>strong{font-size:28px}.mission-progress>div,.xp-track,.challenge-progress{height:7px;background:#e9eef5;border-radius:999px;overflow:hidden;margin:9px 0}.mission-progress span,.xp-track span,.challenge-progress span{display:block;height:100%;background:linear-gradient(90deg,#3676c8,#ff8211)}.mission-progress small,.momentum-stat small{font-size:9px;color:var(--muted)}.momentum-stat>span{font-size:9px;color:var(--muted);font-weight:900;letter-spacing:.08em}.momentum-stat>strong{display:block;font-size:23px;margin:12px 0 7px}.badge-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}.experience-badge{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:15px;padding:13px}.experience-badge>span{width:40px;height:40px;border-radius:12px;background:#fff3e7;color:#f47b20;display:grid;place-items:center;font-size:20px}.experience-badge strong{display:block;font-size:12px}.experience-badge small{display:block;margin-top:4px;color:var(--muted);font-size:9px}.experience-badge.locked{opacity:.55}.experience-badge.progress{border-color:#cbb7ff;background:#faf7ff}
.experience-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.experience-panel{border:1px solid var(--line);border-radius:18px;background:#fff;padding:18px;box-shadow:var(--shadow-sm)}.experience-panel header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.experience-panel h2{font-size:18px;margin:5px 0}.experience-panel>p{font-size:11px;color:var(--muted);line-height:1.5}.challenge-meta{display:flex;justify-content:space-between;gap:12px;align-items:center}.challenge-meta strong{font-size:12px}.challenge-meta small{font-size:9px;color:var(--muted);text-align:right}.weekly-report-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.weekly-report-grid span{border:1px solid #e0e6ee;border-radius:12px;padding:11px;background:#f9fbfd}.weekly-report-grid strong{display:block;font-size:20px}.weekly-report-grid small{display:block;font-size:8px;color:var(--muted);margin-top:4px}.experience-recommendation{border-radius:12px;background:#f1f6fd;padding:11px!important;margin-top:12px!important}
.mentor-message-band{margin:18px 0;display:grid;grid-template-columns:60px 1fr;gap:16px;align-items:center;background:linear-gradient(135deg,#fff8ed,#fff);border:1px solid #f1dcc2;border-radius:18px;padding:17px}.mentor-avatar{width:58px;height:58px;border-radius:50%;background:linear-gradient(135deg,#1b2b50,#f47b20);color:#fff;display:grid;place-items:center;font-weight:900}.mentor-message-band h2{font-size:18px;margin:5px 0}.mentor-message-band p{margin:0;color:var(--muted);font-size:11px;line-height:1.5}
.leaderboard-layout{display:grid;grid-template-columns:260px 1fr;gap:14px}.leaderboard-own{border-radius:20px;background:linear-gradient(145deg,#0d172d,#2b3f72);color:#fff;padding:25px;display:flex;flex-direction:column;justify-content:center}.leaderboard-own span{font-size:10px;color:#cdd7ea}.leaderboard-own strong{font-size:55px;margin:8px 0}.leaderboard-own small{font-size:10px;color:#d7deec}.leaderboard-list{display:grid;gap:9px}.leaderboard-list article{display:grid;grid-template-columns:46px 1fr auto;align-items:center;border:1px solid var(--line);background:#fff;border-radius:14px;padding:13px}.leaderboard-list article.own{border-color:#ffb677;background:#fff8f1}.leaderboard-list span{width:38px;height:38px;border-radius:11px;background:#edf3fb;display:grid;place-items:center;font-weight:900}.leaderboard-list strong{font-size:13px}.leaderboard-list small{font-size:10px;color:var(--muted)}
.achievement-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.achievement-card{border:1px solid var(--line);background:#fff;border-radius:18px;padding:20px;text-align:center}.achievement-card>span{width:58px;height:58px;border-radius:18px;background:#fff1e4;color:#f47b20;display:grid;place-items:center;font-size:27px;margin:auto}.achievement-card h3{font-size:15px}.achievement-card p{font-size:10px;color:var(--muted);line-height:1.45}.achievement-card small{font-size:9px;color:#168b68;font-weight:850}.achievement-card.locked{opacity:.55}.achievement-card.progress{border-color:#c9b5ff;background:#faf7ff}
.activity-feed{display:grid;gap:10px}.activity-feed article{display:grid;grid-template-columns:42px 1fr;gap:12px;border:1px solid var(--line);background:#fff;border-radius:15px;padding:14px}.activity-feed>article>span{width:40px;height:40px;border-radius:12px;background:#eaf2ff;display:grid;place-items:center;color:#2d66ac}.activity-feed h3{font-size:13px;margin:0}.activity-feed p{font-size:10px;color:var(--muted);margin:4px 0}.activity-feed small{font-size:9px;color:#8a95a7}
.success-wall-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.success-story{display:grid;grid-template-columns:58px 1fr;gap:15px;align-items:center;border:1px solid var(--line);background:#fff;border-radius:18px;padding:18px}.success-story.featured{border-color:#ffbb7d;background:linear-gradient(135deg,#fff7ee,#fff)}.success-avatar{width:56px;height:56px;border-radius:50%;background:#eaf2ff;color:#244f89;display:grid;place-items:center;font-weight:900;font-size:20px}.success-story h3{font-size:16px;margin:0}.success-story p{font-size:10px;color:var(--muted);line-height:1.5}
.experience-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.experience-admin-card{border:1px solid var(--line);background:#fff;border-radius:18px;padding:18px;box-shadow:var(--shadow-sm)}.experience-admin-card header{display:flex;justify-content:space-between;gap:8px}.experience-admin-card header>span{font-size:9px;font-weight:900;color:#168b68}.experience-admin-card header>strong{font-size:9px;color:#f47b20}.experience-admin-card h3{font-size:15px;margin:15px 0 8px}.experience-admin-card p{font-size:10px;color:var(--muted);line-height:1.5}.experience-admin-card footer{display:flex;gap:8px;margin-top:14px}.experience-admin-card footer button{border:1px solid #d8e1ec;background:#fff;border-radius:10px;padding:8px 11px;font-size:10px;font-weight:800;cursor:pointer}
.admin-studio-form{display:grid;gap:16px}.admin-form-section{border:1px solid var(--line);border-radius:17px;background:#fbfcfe;overflow:hidden}.admin-form-section>header{padding:15px 17px;border-bottom:1px solid var(--line);background:#fff}.admin-form-section>header h3{font-size:15px;margin:0}.admin-form-section>header p{font-size:10px;color:var(--muted);margin:5px 0 0}.admin-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:16px}.admin-form-field{display:grid;gap:7px;align-content:start;min-width:0}.admin-form-field>span{font-size:10px;font-weight:850;color:#35415a}.admin-form-field>small{font-size:9px;color:var(--muted);line-height:1.35}.admin-form-field input,.admin-form-field select,.admin-form-field textarea{width:100%;min-height:44px;border:1px solid #d3dce8;border-radius:11px;background:#fff;padding:10px 11px;color:var(--ink);font:inherit;font-size:12px}.admin-form-field textarea{min-height:100px;resize:vertical}.admin-form-field input[type=file]{padding:8px}.admin-form-field:has(textarea),.admin-form-field:has(.admin-device-checks){grid-column:1/-1}.admin-device-checks{display:flex;flex-wrap:wrap;gap:9px;border:1px solid #d3dce8;background:#fff;border-radius:11px;padding:10px}.admin-device-checks label{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:750}.admin-device-checks input{width:auto;min-height:0}.admin-form-safety{border:1px solid #cbd8e8;background:#f0f6fd;border-radius:14px;padding:14px}.admin-form-safety strong{font-size:11px}.admin-form-safety p{font-size:10px;color:var(--muted);line-height:1.5;margin:5px 0 0}.admin-preview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.admin-preview-grid article{border:1px solid var(--line);border-radius:15px;padding:15px;background:#fbfcfe}.admin-preview-grid span{font-size:9px;color:#f47b20;font-weight:900}.admin-preview-grid strong{display:block;font-size:14px;margin:10px 0 6px}.admin-preview-grid small{font-size:9px;color:var(--muted);line-height:1.45}
.exam-brand-lock{width:116px;height:58px;border-right:1px solid #e4e8ef;display:flex;align-items:center;padding-right:16px}.exam-brand-lock .brand-copy strong{font-size:17px}.exam-brand-lock .brand-copy small{font-size:8px}.exam-brand-block{grid-template-columns:116px 1fr}
@media(max-width:1280px){.experience-tv-grid,.experience-schedule,.whats-new-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.momentum-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mission-card{grid-column:1/-1}.experience-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1024px){.experience-ribbon{grid-template-columns:auto 1fr auto}.experience-ribbon .primary-button{grid-column:1/-1;width:100%}.experience-countdown{justify-self:end}.weekly-report-grid{grid-template-columns:repeat(2,1fr)}.leaderboard-layout{grid-template-columns:1fr}.leaderboard-own{min-height:180px}.achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-form-grid{grid-template-columns:1fr 1fr}.app-modal{width:min(900px,calc(100vw - 24px))}}
@media(max-width:760px){.experience-ribbon{grid-template-columns:1fr;gap:12px}.experience-ribbon-status{flex-direction:row;align-items:center;min-width:0}.experience-live-dot{margin:0}.experience-countdown{justify-self:stretch;text-align:left}.experience-tv-grid,.experience-schedule,.whats-new-grid,.momentum-grid,.badge-row,.experience-two-col,.achievement-grid,.success-wall-grid,.experience-admin-grid{grid-template-columns:1fr}.mission-card{grid-template-columns:1fr}.experience-schedule article{grid-template-columns:54px 1fr}.experience-state{grid-column:2;justify-self:start}.challenge-meta{align-items:flex-start;flex-direction:column}.weekly-report-grid{grid-template-columns:repeat(2,1fr)}.leaderboard-list article{grid-template-columns:42px 1fr}.leaderboard-list small{grid-column:2}.admin-form-grid{grid-template-columns:1fr}.admin-form-field:has(textarea),.admin-form-field:has(.admin-device-checks){grid-column:auto}.admin-preview-grid{grid-template-columns:1fr}.modal-backdrop{place-items:end center;padding:0}.app-modal{width:100%;max-height:94dvh;border-radius:22px 22px 0 0}.app-modal>header{position:sticky;top:0;z-index:2;background:#fff}.app-modal>footer{position:sticky;bottom:0;background:#fff;z-index:2}.app-modal>footer>*{min-height:46px}.admin-form-field input,.admin-form-field select,.admin-form-field textarea{font-size:16px}.exam-brand-lock{width:94px}.exam-brand-block{grid-template-columns:94px 1fr}.exam-brand-lock .brand-copy strong{font-size:14px}}
@media(max-width:480px){.experience-tv-card{grid-template-columns:36px 1fr;padding:14px}.experience-tv-icon{width:36px;height:36px}.weekly-report-grid{grid-template-columns:1fr 1fr}.experience-schedule article{padding:11px}.admin-device-checks{display:grid;grid-template-columns:1fr 1fr}.exam-brand-lock{width:78px;padding-right:8px}.exam-brand-block{grid-template-columns:78px 1fr}.exam-brand-lock .brand-copy strong{font-size:12px}.exam-brand-lock .brand-copy small{font-size:7px;letter-spacing:.08em}}
@media(orientation:landscape) and (max-height:520px){.mobile-dock{position:sticky}.app-modal{max-height:98dvh}.experience-ribbon{padding:12px}.experience-section{margin-top:18px}}
@media(min-width:721px) and (max-width:1100px){.admin-table-wrap{overflow:auto}.admin-table{min-width:760px}.resource-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}}


/* V6 — fully loaded IntelliBook / IntelliText reader */
.note-workspace{--reader-paper:#fffdf8}.exact-reader-toolbar{z-index:15}.reader-toolbar button:active{transform:translateY(1px)}
.intellibook-reader,.intellitext-study{margin-top:14px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow-sm);overflow:hidden}
.reader-command-bar{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:12;flex-wrap:wrap}
.reader-command-group{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.reader-command-group button,.reader-page-controls button{border:1px solid #d8e1ec;background:#fff;color:var(--navy-900);border-radius:10px;min-height:38px;padding:0 11px;font-weight:760;cursor:pointer}.reader-command-group button.active{background:var(--navy-900);border-color:var(--navy-900);color:#fff}.reader-command-group button:disabled,.reader-page-controls button:disabled{opacity:.4;cursor:not-allowed}
.reader-search{height:38px;min-width:210px;border:1px solid #d8e1ec;border-radius:10px;background:#f7f9fc;display:flex;align-items:center;padding:0 9px}.reader-search input{border:0;outline:0;background:transparent;min-width:0;width:100%;font-size:13px}.reader-search span{color:var(--muted)}
.intellibook-stage{display:grid;grid-template-columns:190px minmax(0,1fr) 280px;min-height:640px;background:linear-gradient(180deg,#edf1f6,#dfe5ec);position:relative}
.reader-book-toc{background:#fff;border-right:1px solid var(--line);padding:14px;overflow:auto}.reader-book-toc>strong{display:block;font-size:12px;margin-bottom:9px}.reader-book-toc button{width:100%;border:0;background:transparent;border-radius:9px;padding:9px 8px;display:grid;grid-template-columns:26px 1fr;gap:7px;text-align:left;font-size:10px;color:#5e687b;cursor:pointer}.reader-book-toc button span{width:24px;height:24px;border-radius:7px;background:#eef3f9;display:grid;place-items:center;font-weight:850}.reader-book-toc button.active{background:var(--blue-100);color:var(--blue-700);font-weight:800}
.intellibook-document{min-width:0;padding:24px;overflow:auto;display:flex;align-items:flex-start;justify-content:center}.book-spread{width:min(100%,1040px);display:grid;grid-template-columns:1fr 1fr;filter:drop-shadow(0 18px 30px rgba(20,30,48,.18))}.book-single{width:min(100%,620px);filter:drop-shadow(0 18px 30px rgba(20,30,48,.18))}.book-continuous{width:min(100%,720px);display:grid;gap:18px}.book-page{position:relative;min-height:610px;background:var(--reader-paper);padding:46px 42px 38px;font-family:Georgia,"Times New Roman",serif;color:#252a33;font-size:calc(15px * var(--reader-zoom,1));line-height:1.7;border:1px solid #ded8cc}.book-page.left{border-radius:8px 0 0 8px;border-right-color:#c9c1b4;box-shadow:inset -18px 0 24px -24px rgba(30,28,24,.45)}.book-page.right{border-radius:0 8px 8px 0;border-left-color:#f6f1e8;box-shadow:inset 18px 0 24px -24px rgba(30,28,24,.45)}.book-single .book-page,.book-continuous .book-page{border-radius:8px}.book-page.blank{background:#f7f3eb}.book-page h2{font-family:"Segoe UI Variable Text","Segoe UI",sans-serif;color:var(--navy-900);font-size:calc(25px * var(--reader-zoom,1));line-height:1.2;margin:8px 0 20px}.book-page p{margin:0 0 16px}.book-page li{margin:8px 0}.book-page-number{position:absolute;bottom:15px;left:0;right:0;text-align:center;color:#8d8578;font-size:11px}.reader-comparison{border:1px solid #dfe5ee;border-radius:12px;overflow:hidden;font-family:"Segoe UI",sans-serif;font-size:12px}.reader-comparison>div{display:grid;grid-template-columns:1fr 1fr}.reader-comparison span{padding:10px;border-right:1px solid #e4e8ef;border-bottom:1px solid #e4e8ef}.reader-comparison .head{background:var(--navy-900);color:#fff;font-weight:800}.reader-mcq{font-family:"Segoe UI",sans-serif;background:#f7f9fc;border:1px solid #dfe5ee;border-radius:14px;padding:14px}.reader-mcq>strong{display:block;margin-bottom:10px}.reader-mcq label{display:flex;gap:8px;align-items:center;padding:8px;background:#fff;border:1px solid #e1e6ed;border-radius:9px;margin-top:7px;font-size:12px}.reader-mcq label span{font-weight:850}.reader-mcq small{display:block;margin-top:10px;color:var(--green-600);font-weight:800}
.reader-side-panel{background:#fff;border-left:1px solid var(--line);padding:14px;overflow:auto;display:none}.reader-side-panel.open{display:block}.reader-side-panel>header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:10px}.reader-side-panel>header strong{display:block}.reader-side-panel>header small{display:block;color:var(--muted);font-size:9px}.reader-side-panel>header button{border:0;background:#eef3f8;width:30px;height:30px;border-radius:8px;cursor:pointer}.reader-side-panel section{margin-top:14px}.reader-side-panel h3{font-size:12px;display:flex;justify-content:space-between}.reader-side-panel h3 span{background:#eef3f8;border-radius:999px;padding:1px 7px}.reader-side-panel article{border:1px solid var(--line);border-radius:10px;padding:9px;margin-top:7px}.reader-side-panel article strong{font-size:9px;color:var(--blue-700)}.reader-side-panel article p{font-size:10px;line-height:1.4;margin:4px 0 0}.reader-side-panel section>small{font-size:9px;color:var(--muted)}
.reader-page-controls{height:58px;display:flex;justify-content:center;align-items:center;gap:18px;border-top:1px solid var(--line);background:#fff}.reader-page-controls strong{font-size:12px}
.intellitext-layout{display:grid;grid-template-columns:190px minmax(0,1fr) 280px;min-height:620px}.study-toc{position:sticky;top:0;border:0;border-radius:0;height:calc(100vh - 180px);overflow:auto}.intellitext-document{max-width:850px;width:100%;padding:30px 44px 80px;font-family:Georgia,"Times New Roman",serif;line-height:1.75;font-size:17px;color:#202838}.intellitext-document>section{scroll-margin-top:86px;padding:8px 0 34px;border-bottom:1px solid #e4e8ef}.intellitext-document h2{font-family:"Segoe UI Variable Text","Segoe UI",sans-serif;color:var(--navy-900);font-size:30px;line-height:1.2;margin:8px 0 20px}.intellitext-document p{margin:0 0 15px}.intellitext-document li{margin:8px 0}.reader-highlight{background:#fff29a;border-radius:3px;padding:0 2px}.reader-underline{text-decoration:underline 3px #ff8a00;text-underline-offset:3px}.reader-search-hit{background:#ffe09b;color:inherit;border-radius:3px;padding:0 2px}
.intellibook-reader:fullscreen,.intellitext-study:fullscreen{background:#eef2f7;width:100vw;height:100vh;overflow:auto;border-radius:0}.intellibook-reader:fullscreen .intellibook-stage,.intellitext-study:fullscreen .intellitext-layout{min-height:calc(100vh - 116px)}

/* V6 — fixed focused Mock Test viewport */
.app-shell.focused-exam-mode>main{height:100vh;overflow:hidden}.live-exam-shell{height:calc(100vh - 24px);min-height:0;display:flex;flex-direction:column}.live-exam-header{position:sticky;top:0;z-index:30;flex:none}.live-exam-layout{flex:1;min-height:0}.live-question-workspace,.live-exam-palette{height:100%;min-height:0;overflow:auto}.live-exam-actions{position:sticky;bottom:-1px;background:#fff;z-index:9;padding-bottom:2px}.exam-brand-lock .brand-copy{align-items:flex-start}.exam-brand-lock .brand-copy strong{color:var(--navy-900)}.exam-brand-lock .brand-copy small{color:var(--orange-600)}

@media(max-width:1280px){.intellibook-stage,.intellitext-layout{grid-template-columns:160px minmax(0,1fr) 240px}.book-page{padding:38px 30px}.intellitext-document{padding:28px 30px}}
@media(max-width:1024px){.intellibook-stage,.intellitext-layout{grid-template-columns:150px minmax(0,1fr)}.reader-side-panel{position:absolute;right:0;top:0;bottom:0;width:min(320px,88vw);z-index:15;box-shadow:-15px 0 35px rgba(7,16,31,.16)}.book-spread{grid-template-columns:1fr}.book-page.right{display:none}.book-page.left{border-radius:8px}.intellitext-document{max-width:none}.app-shell.focused-exam-mode>main{height:auto;min-height:100vh;overflow:visible}.live-exam-shell{height:auto;min-height:calc(100vh - 12px)}.live-question-workspace,.live-exam-palette{height:auto;overflow:visible}.live-exam-header{top:0}}
@media(max-width:760px){.reader-command-bar{align-items:stretch}.reader-command-group,.reader-command-group.layout{width:100%;overflow:auto;flex-wrap:nowrap}.reader-command-group.layout button{flex:1;white-space:nowrap}.reader-search{width:100%;min-width:0}.intellibook-stage,.intellitext-layout{display:block}.reader-book-toc,.study-toc{display:flex;gap:7px;overflow:auto;width:100%;height:auto;padding:9px;border-right:0;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:7}.reader-book-toc>strong,.study-toc>strong{display:none}.reader-book-toc button,.study-toc button{width:auto;min-width:140px;flex:none}.intellibook-document{padding:12px}.book-page{min-height:520px;padding:34px 22px;font-size:calc(14px * var(--reader-zoom,1))}.book-page h2{font-size:calc(22px * var(--reader-zoom,1))}.intellitext-document{padding:22px 18px 90px;font-size:16px}.intellitext-document h2{font-size:25px}.reader-page-controls{position:sticky;bottom:0;z-index:10}.reader-page-controls strong{font-size:10px}.reader-page-controls button{padding:0 8px}.reader-side-panel{position:fixed;top:var(--topbar-h);height:calc(100dvh - var(--topbar-h));bottom:auto}.live-exam-actions{position:static}}


/* V7 fully loaded Help, Live and catalog count surfaces */
.help-hero,.live-ready-hero{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:22px;padding:24px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(135deg,#fff,#f3f7fd);box-shadow:var(--shadow);margin-bottom:24px}.help-hero h2,.live-ready-hero h2{font-size:26px;margin:7px 0}.help-hero p,.live-ready-hero p{color:var(--muted);line-height:1.6}.help-hero>div>div,.live-ready-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.help-hero aside,.live-ready-hero aside{border-radius:18px;padding:18px;background:#0b1830;color:#fff;display:flex;flex-direction:column;gap:10px;justify-content:center}.help-hero aside small,.live-ready-hero aside span{color:#d7deec;line-height:1.5}.live-ready-hero aside strong{font-size:28px}.faq-list{display:grid;gap:12px}.faq-list details{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px 18px;box-shadow:var(--shadow)}.faq-list summary{cursor:pointer;font-weight:800}.faq-list p{margin:12px 0 0;color:var(--muted);line-height:1.65}.access-help-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.access-help-grid article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:var(--shadow)}.access-help-grid h3{margin:12px 0 7px}.access-help-grid p{color:var(--muted);line-height:1.55}.help-process{margin-top:24px}.help-contact-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr);gap:20px}.help-contact-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;box-shadow:var(--shadow)}.help-contact-form label{display:grid;gap:7px;font-size:12px;font-weight:800}.help-contact-form input,.help-contact-form select,.help-contact-form textarea{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px;background:#fff;font:inherit}.help-contact-form textarea{min-height:140px;resize:vertical}.help-contact-form .full{grid-column:1/-1}.help-channel-card{background:#0b1830;color:#fff;border-radius:20px;padding:22px}.help-channel-card p,.help-channel-card li{color:#d7deec;line-height:1.6}.account-help-panel,.attendance-panel,.live-calendar-panel{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;box-shadow:var(--shadow)}.account-help-identity{display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--line);padding-bottom:18px}.account-help-identity>div{flex:1}.account-help-identity strong,.account-help-identity small{display:block}.account-help-identity small{color:var(--muted);margin-top:3px}.account-help-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:18px}.account-help-steps article{display:flex;gap:12px;padding:16px;background:var(--surface-2);border-radius:15px}.account-help-steps article>span{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#0b1830;color:#fff;font-weight:900;flex:none}.account-help-steps h3{margin:0 0 5px}.account-help-steps p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.live-calendar-panel>header,.attendance-panel>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.live-calendar-list{display:grid;gap:12px}.live-calendar-list article{display:grid;grid-template-columns:70px 1fr auto;gap:15px;align-items:center;border:1px solid var(--line);border-radius:16px;padding:14px}.live-calendar-list time{display:grid;place-items:center;background:var(--blue-100);border-radius:13px;padding:8px}.live-calendar-list time strong{font-size:22px}.live-calendar-list time small{font-size:9px;color:var(--muted)}.live-calendar-list h3{margin:5px 0}.live-calendar-list p{margin:0;color:var(--muted);font-size:12px}.live-calendar-list button,.attendance-table button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px 12px;font-weight:800;cursor:pointer}.attendance-table-wrap{overflow:auto}.attendance-table{width:100%;border-collapse:collapse;min-width:760px}.attendance-table th,.attendance-table td{text-align:left;padding:13px;border-bottom:1px solid var(--line);font-size:12px}.attendance-table th{color:var(--muted);text-transform:uppercase;font-size:10px}.context-link .count{min-width:27px;text-align:center}
@media(max-width:1100px){.access-help-grid,.account-help-steps{grid-template-columns:repeat(2,1fr)}.help-hero,.live-ready-hero,.help-contact-layout{grid-template-columns:1fr}}
@media(max-width:760px){.access-help-grid,.account-help-steps,.help-contact-form{grid-template-columns:1fr}.help-contact-form .full{grid-column:auto}.live-calendar-list article{grid-template-columns:58px 1fr}.live-calendar-list article>button{grid-column:2;justify-self:start}.help-hero,.live-ready-hero{padding:18px}.help-hero h2,.live-ready-hero h2{font-size:22px}}


/* V8 — premium role analytics */
.analytics-hero{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.75fr);gap:22px;padding:28px;border:1px solid var(--border);border-radius:28px;background:linear-gradient(135deg,#0b1832,#17396c 68%,#5b4c7b);color:#fff;box-shadow:var(--shadow);margin-bottom:22px}
.analytics-hero h2{font-size:clamp(28px,3vw,44px);line-height:1.06;margin:8px 0 12px;max-width:780px}
.analytics-hero p{color:#dbe7fa;line-height:1.65}
.analytics-hero aside{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:18px;border:1px solid rgba(255,255,255,.18);border-radius:22px;background:rgba(255,255,255,.08);backdrop-filter:blur(14px)}
.analytics-hero aside p{font-size:13px;margin:14px 0 0}
.analytics-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.analytics-ring{--value:64;width:148px;height:148px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#ff7918 calc(var(--value)*1%),rgba(255,255,255,.16) 0);position:relative}
.analytics-ring:before{content:"";position:absolute;inset:13px;border-radius:50%;background:#102447}
.analytics-ring strong,.analytics-ring small{position:relative;z-index:1;display:block;text-align:center}
.analytics-ring strong{font-size:32px}.analytics-ring small{font-size:11px;color:#cbd9ee;max-width:78px}
.analytics-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-bottom:20px}
.analytics-kpi-grid .kpi-card{min-height:126px}
.analytics-layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.analytics-card{background:#fff;border:1px solid var(--border);border-radius:22px;padding:20px;box-shadow:var(--shadow-sm);min-width:0}
.analytics-card.span-2{grid-column:span 2}
.analytics-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}
.analytics-card h2{font-size:20px;margin:4px 0 0}.analytics-card p{color:var(--muted);line-height:1.55}
.analytics-card footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:14px;margin-top:14px;border-top:1px solid var(--border);font-size:12px;color:var(--muted)}
.analytics-trend{height:220px;display:grid;grid-template-columns:repeat(7,1fr);align-items:end;gap:14px;padding:20px 10px 0;border-bottom:1px solid var(--border);background:linear-gradient(180deg,#f8fbff,transparent);border-radius:16px}
.analytics-trend>div{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:8px}
.analytics-trend span{display:block;width:min(42px,72%);border-radius:12px 12px 4px 4px;background:linear-gradient(180deg,#2f6db4,#0c1b37);box-shadow:0 8px 20px rgba(34,91,157,.18)}
.analytics-trend>div:nth-child(4n+2) span{background:linear-gradient(180deg,#ff963c,#ff6f0f)}
.analytics-trend small{font-size:11px;color:var(--muted)}
.analytics-bar-row{display:grid;grid-template-columns:minmax(140px,1.3fr) minmax(110px,2fr) 44px;align-items:center;gap:12px;margin:15px 0}
.analytics-bar-row>div:first-child{display:flex;flex-direction:column}.analytics-bar-row small{color:var(--muted);font-size:11px;margin-top:2px}
.analytics-track{height:10px;background:#edf2f8;border-radius:999px;overflow:hidden}.analytics-track span{display:block;height:100%;border-radius:inherit;background:#2f6db4}.analytics-track span.orange{background:#ff7918}.analytics-track span.green{background:#14a06f}.analytics-track span.purple{background:#7c4dff}.analytics-track span.grey{background:#a4afbf}
.analytics-bar-row b{font-size:13px;text-align:right}
.analytics-donut-row{display:flex;align-items:center;gap:22px;padding:15px 0}
.analytics-donut{width:132px;height:132px;border-radius:50%;background:conic-gradient(#11213f 0 42%,#ff7918 42% 78%,#19a478 78%);position:relative}.analytics-donut:after{content:"6.4h";position:absolute;inset:24px;border-radius:50%;display:grid;place-items:center;background:#fff;font-weight:900;font-size:22px}
.analytics-donut-row ul{list-style:none;padding:0;margin:0;display:grid;gap:10px}.analytics-donut-row li{display:flex;align-items:center;gap:8px;font-weight:700;font-size:13px}.analytics-donut-row i{width:10px;height:10px;border-radius:50%;background:#11213f}.analytics-donut-row i.orange{background:#ff7918}.analytics-donut-row i.green{background:#19a478}
.priority-score{display:flex;align-items:end;gap:8px;margin-bottom:14px}.priority-score strong{font-size:44px}.priority-score small{color:var(--muted);padding-bottom:8px}
.analytics-plan{display:grid;gap:12px;margin:0;padding:0;counter-reset:plan}.analytics-plan li{list-style:none;counter-increment:plan;display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:center;padding:12px;background:#f7f9fc;border:1px solid var(--border);border-radius:14px;font-weight:700}.analytics-plan li:before{content:counter(plan);width:34px;height:34px;border-radius:10px;background:#e9f1ff;color:#1f5ca8;display:grid;place-items:center}
.analytics-note{padding:12px;background:#f7f9fc;border-radius:12px}
.analytics-table{display:grid;gap:10px}.analytics-table article{display:grid;grid-template-columns:44px minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:12px;border:1px solid var(--border);border-radius:15px}.analytics-table article>div{display:flex;flex-direction:column}.analytics-table small{color:var(--muted)}.analytics-table button{border:1px solid var(--border);background:#fff;border-radius:10px;padding:9px 12px;font-weight:800}
.learner-dot,.alert-dot{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#e9f1ff;color:#1d5fa8;font-weight:900}.alert-dot{width:12px;height:12px;border-radius:50%;background:#ff7918}.alert-dot.purple{background:#7c4dff}.alert-dot.green{background:#19a478}

/* V8 — premium subject command center */
.subject-view.is-list{display:block}.subject-list-row{width:100%;display:grid;grid-template-columns:56px minmax(0,1fr) 120px 90px 80px;align-items:center;gap:14px;text-align:left;padding:14px 16px;margin-bottom:10px;background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow-sm)}.subject-list-row>div{display:flex;flex-direction:column}.subject-list-row small{color:var(--muted);margin-top:3px}.subject-list-row>span:not(.subject-icon){font-size:12px;color:var(--muted)}.subject-list-row b{color:#175aa6}
.subject-card.premium{min-height:178px;display:flex;flex-direction:column;align-items:flex-start}.subject-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 8px}.subject-card-meta i{font-style:normal;font-size:10px;padding:5px 7px;border:1px solid rgba(12,30,58,.1);border-radius:999px;background:rgba(255,255,255,.68)}
.subject-command-center{min-width:0}.premium-subject-hero{margin-bottom:18px}.subject-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.premium-tabs{overflow-x:auto;scrollbar-width:thin;display:flex;white-space:nowrap}.premium-tabs button{flex:0 0 auto}
.subject-empty-premium{display:flex;gap:20px;align-items:center;padding:30px;border:1px dashed #b9c9dc;border-radius:22px;background:linear-gradient(135deg,#fff,#f1f6fd)}.subject-empty-premium>span{width:72px;height:72px;border-radius:20px;background:#e9f1ff;display:grid;place-items:center;font-size:34px}.subject-empty-premium h2{margin:0 0 7px}.subject-empty-premium p{color:var(--muted);max-width:700px}.subject-empty-premium>div>div{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.subject-dashboard-grid,.subject-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.subject-overview-card{background:#fff;border:1px solid var(--border);border-radius:20px;padding:18px;box-shadow:var(--shadow-sm);min-width:0}.subject-overview-card.continue{grid-row:span 2}.subject-overview-card header{margin-bottom:12px}.subject-overview-card h2{font-size:18px;margin:4px 0}.subject-overview-card p{color:var(--muted);line-height:1.5}.subject-overview-card .resource-card{box-shadow:none;margin-top:10px}
.subject-analytics{margin-top:4px}

/* V8 — AspireNest IntelliPlayer */
.intelliplayer-workspace{min-width:0}.intelliplayer-shell{background:#07142c;border-radius:24px;padding:14px;color:#fff;box-shadow:0 22px 48px rgba(6,20,46,.28);overflow:hidden}
.intelliplayer-topline{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:4px 4px 12px}.intelliplayer-topline>div:first-child{display:flex;align-items:center;gap:10px;min-width:0}.intelliplayer-topline strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.intelliplayer-top-actions{display:flex;gap:7px}.intelliplayer-top-actions button,.intelliplayer-controls button{border:1px solid rgba(255,255,255,.17);background:#12274a;color:#fff;border-radius:10px;padding:8px 10px;font-weight:800}.intelliplayer-top-actions button.active{background:#ff7918}
.intelliplayer-stage{aspect-ratio:16/8.2;min-height:390px;border-radius:18px;position:relative;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at 70% 28%,rgba(255,122,24,.25),transparent 23%),radial-gradient(circle at 25% 82%,rgba(66,125,211,.34),transparent 26%),linear-gradient(135deg,#0d2041,#214b82)}
.intelliplayer-stage:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,rgba(2,10,25,.75))}
.intelliplayer-main-play{position:relative;z-index:2;width:88px;height:88px;border-radius:50%;border:1px solid rgba(255,255,255,.55);background:rgba(255,255,255,.13);color:#fff;font-size:34px;backdrop-filter:blur(10px)}
.intelliplayer-stage-copy{position:absolute;left:24px;bottom:22px;z-index:2}.intelliplayer-stage-copy h2{font-size:25px;margin:6px 0}.intelliplayer-stage-copy p{margin:0;color:#d6e3f6}.intelliplayer-corner{position:absolute;right:18px;top:18px;z-index:2;display:flex;gap:6px}.intelliplayer-corner span{font-size:10px;padding:6px 8px;border-radius:999px;background:rgba(4,16,36,.6);border:1px solid rgba(255,255,255,.2)}
.intelliplayer-controls{display:flex;align-items:center;gap:9px;padding:13px 3px 0}.intelliplayer-controls>span,.intelliplayer-controls>strong{font-size:12px;white-space:nowrap}.intelliplayer-progress{position:relative;flex:1;height:8px;cursor:pointer}.intelliplayer-progress i{position:absolute;top:-3px;width:2px;height:14px;background:rgba(255,255,255,.45)}
.intelliplayer-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.72fr);gap:16px;margin-top:16px}.intelliplayer-main-panel,.intelliplayer-side-panel>section{background:#fff;border:1px solid var(--border);border-radius:20px;padding:17px;box-shadow:var(--shadow-sm)}
.intelliplayer-tabs{display:flex;gap:7px;flex-wrap:wrap;padding-bottom:14px;border-bottom:1px solid var(--border)}.intelliplayer-tabs button{border:1px solid var(--border);background:#fff;border-radius:999px;padding:8px 11px;font-weight:800}.intelliplayer-tabs button.active{background:#0b1933;color:#fff}.intelliplayer-tabs span{display:inline-grid;place-items:center;min-width:19px;height:19px;border-radius:50%;background:#eef3f9;color:#173b69;font-size:10px;margin-left:4px}
.intelliplayer-transcript{display:grid;gap:4px;margin-top:12px}.intelliplayer-transcript button{display:grid;grid-template-columns:58px minmax(0,1fr);gap:12px;text-align:left;border:0;background:transparent;border-radius:13px;padding:12px}.intelliplayer-transcript button:hover,.intelliplayer-transcript button.active{background:#eef5ff}.intelliplayer-transcript time{color:#1c62ad;font-weight:900}.intelliplayer-transcript strong{display:block}.intelliplayer-transcript p{color:var(--muted);font-size:12px;line-height:1.45;margin:4px 0 0}
.intelliplayer-side-panel{display:grid;gap:14px;align-content:start}.intelliplayer-side-panel h2{font-size:20px;margin:5px 0 14px}.intelliplayer-side-panel h3{margin:0 0 12px}.player-intelligence-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.player-intelligence-grid span{display:flex;flex-direction:column;padding:10px;border-radius:12px;background:#f4f7fb}.player-intelligence-grid strong{font-size:21px}.player-intelligence-grid small{color:var(--muted)}
.intelliplayer-side-panel section>button{width:100%;display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:center;text-align:left;border:1px solid var(--border);background:#fff;border-radius:13px;padding:10px;margin-top:8px}.intelliplayer-side-panel section>button>span{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#eaf2ff}.intelliplayer-side-panel section>button>div{display:flex;flex-direction:column}.intelliplayer-side-panel small{color:var(--muted)}.player-notes-empty{text-align:center;padding:50px 20px;color:var(--muted)}
.intelliplayer-focus-mode .topbar,.intelliplayer-focus-mode .parent-rail,.intelliplayer-focus-mode .context-rail,.intelliplayer-focus-mode .mobile-context-strip,.intelliplayer-focus-mode .mobile-dock{display:none!important}.intelliplayer-focus-mode #app{grid-template-columns:1fr!important}.intelliplayer-focus-mode .main-shell{grid-column:1!important}.intelliplayer-focus-mode .page-content{padding:18px!important}.intelliplayer-focus-mode .exact-back-row,.intelliplayer-focus-mode .page-heading,.intelliplayer-focus-mode .exact-resource-meta{display:none}.intelliplayer-focus-mode .intelliplayer-stage{min-height:calc(100vh - 245px)}
.intelliplayer-shell:fullscreen{border-radius:0;width:100vw;height:100vh;padding:22px;display:flex;flex-direction:column}.intelliplayer-shell:fullscreen .intelliplayer-stage{flex:1;min-height:0}

/* V8 responsive */
@media(max-width:1280px){.analytics-kpi-grid{grid-template-columns:repeat(3,1fr)}.analytics-layout{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-card.span-2{grid-column:span 2}.intelliplayer-layout{grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr)}}
@media(max-width:1024px){.analytics-hero{grid-template-columns:1fr}.analytics-hero aside{flex-direction:row;gap:20px;text-align:left}.analytics-layout{grid-template-columns:1fr}.analytics-card.span-2{grid-column:auto}.subject-dashboard-grid,.subject-overview-grid{grid-template-columns:repeat(2,1fr)}.intelliplayer-layout{grid-template-columns:1fr}.intelliplayer-stage{min-height:330px}.subject-list-row{grid-template-columns:52px minmax(0,1fr) 90px 70px}.subject-list-row>b{display:none}}
@media(max-width:760px){.analytics-kpi-grid{grid-template-columns:repeat(2,1fr)}.analytics-hero{padding:20px;border-radius:20px}.analytics-hero aside{flex-direction:column;text-align:center}.analytics-ring{width:120px;height:120px}.analytics-trend{height:170px;gap:7px}.analytics-bar-row{grid-template-columns:1fr 46px}.analytics-bar-row>div:first-child{grid-column:1/-1}.analytics-track{grid-column:1}.analytics-table article{grid-template-columns:38px minmax(0,1fr) auto}.analytics-table article button{grid-column:2/-1}.subject-dashboard-grid,.subject-overview-grid{grid-template-columns:1fr}.subject-overview-card.continue{grid-row:auto}.subject-list-row{grid-template-columns:48px minmax(0,1fr);}.subject-list-row>span:not(.subject-icon){display:none}.intelliplayer-shell{border-radius:18px;padding:9px}.intelliplayer-topline{align-items:flex-start}.intelliplayer-topline>div:first-child strong{display:none}.intelliplayer-top-actions{overflow-x:auto}.intelliplayer-stage{min-height:245px;aspect-ratio:16/10}.intelliplayer-main-play{width:66px;height:66px}.intelliplayer-stage-copy{left:15px;bottom:14px}.intelliplayer-stage-copy h2{font-size:18px}.intelliplayer-controls{overflow-x:auto}.intelliplayer-controls .intelliplayer-progress{min-width:150px}.intelliplayer-layout{gap:10px}.intelliplayer-transcript button{grid-template-columns:48px 1fr}.intelliplayer-focus-mode .page-content{padding:5px!important}.intelliplayer-focus-mode .intelliplayer-stage{min-height:58vh}}
@media(max-width:480px){.analytics-kpi-grid{grid-template-columns:1fr 1fr;gap:8px}.analytics-kpi-grid .kpi-card{min-height:106px}.analytics-card{padding:15px}.analytics-donut-row{flex-direction:column}.subject-empty-premium{align-items:flex-start;flex-direction:column}.intelliplayer-stage{min-height:220px}.intelliplayer-corner{display:none}.intelliplayer-tabs{flex-wrap:nowrap;overflow-x:auto}.player-intelligence-grid{grid-template-columns:1fr 1fr}}

@media(max-width:760px){
  .mobile-dock{display:flex!important;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;justify-content:flex-start}
  .mobile-dock::-webkit-scrollbar{display:none}
  .mobile-dock button{flex:0 0 64px;min-width:64px}
}

/* V9 — fully loaded Mentor OS */
.rail-count{position:absolute;right:5px;top:5px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#fff;color:#17315e;display:grid;place-items:center;font-size:9px;font-weight:900;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.rail-link.active .rail-count{background:#eaf3ff;color:#154b8b}
.mentor-home-layout{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}
.mentor-panel{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow-sm);overflow:hidden}
.mentor-panel>header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:18px 18px 14px;border-bottom:1px solid var(--line)}
.mentor-panel h2{margin:4px 0 0;font-size:19px;color:var(--navy-900)}
.mentor-home-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px 18px;border-bottom:1px solid #edf1f6}
.mentor-home-row:last-child{border-bottom:0}.mentor-home-row>div{display:flex;flex-direction:column;gap:3px}.mentor-home-row small{color:var(--muted);font-size:10px}.mentor-home-row button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:8px 10px;font-weight:800;color:var(--navy-900)}
.mentor-avatar-small,.mentor-op-icon{width:42px;height:42px;border-radius:13px;background:#edf4ff;color:#17315e;display:grid;place-items:center;font-weight:900;flex:none}
.mentor-learner-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.mentor-learner-card,.mentor-operation-card{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow-sm);padding:18px;display:flex;flex-direction:column;gap:14px;min-width:0}
.mentor-learner-card>header,.mentor-operation-card>header{display:flex;align-items:center;gap:12px}.mentor-learner-card>header>div,.mentor-operation-card>header>div{min-width:0;flex:1}.mentor-learner-card h3,.mentor-operation-card h3{margin:0;color:var(--navy-900);font-size:17px;line-height:1.25}.mentor-learner-card header p,.mentor-operation-card header p{margin:4px 0 0;color:var(--muted);font-size:10px;overflow-wrap:anywhere}
.mentor-card-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mentor-card-meta span{background:#f7f9fc;border:1px solid #e5ebf3;border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:3px}.mentor-card-meta strong{color:var(--navy-900);font-size:14px}.mentor-card-meta small{color:var(--muted);font-size:9px}
.mentor-progress{height:7px;background:#e9eef5;border-radius:999px;overflow:hidden}.mentor-progress i{display:block;height:100%;background:linear-gradient(90deg,#2c69bc,#f47b20);border-radius:inherit}.mentor-progress.large{height:10px;margin-top:14px}
.mentor-signal{margin:0;color:var(--muted);font-size:11px;line-height:1.6}.mentor-learner-card>footer,.mentor-operation-card>footer{display:flex;gap:9px;flex-wrap:wrap;margin-top:auto}.mentor-learner-card>footer>*,.mentor-operation-card>footer>*{flex:1}
.mentor-operation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mentor-operation-card>p{margin:0;color:var(--muted);font-size:11px;line-height:1.55}.mentor-op-meta{display:flex;flex-wrap:wrap;gap:7px}.mentor-op-meta span{background:#f2f6fb;border:1px solid #e3eaf3;border-radius:999px;padding:6px 9px;color:#59677d;font-size:9px;font-weight:800}.mentor-operation-card.question{border-top:4px solid #7254dd}.mentor-operation-card.access{border-top:4px solid #2b6dbb}.mentor-operation-card.live{border-top:4px solid #f47b20}
.mentor-modal-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}.mentor-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mentor-detail-panel{border:1px solid var(--line);background:#f8fafc;border-radius:16px;padding:16px;min-width:0}.mentor-detail-panel.full{grid-column:1/-1}.mentor-detail-panel h3{margin:7px 0;color:var(--navy-900)}.mentor-detail-panel p{margin:5px 0;color:var(--muted);font-size:11px;line-height:1.55}.mentor-detail-panel article{display:flex;flex-direction:column;padding:9px 0;border-bottom:1px solid #e6ebf2}.mentor-detail-panel article:last-child{border:0}.mentor-detail-panel article small{color:var(--muted);font-size:10px;margin-top:3px}
.mentor-access-check{background:#edf6ff;border:1px solid #cbdff5;border-radius:15px;padding:14px}.mentor-access-check strong{color:#17315e}.mentor-access-check p{margin:5px 0 0;color:#5d6c81;font-size:11px;line-height:1.5}.admin-form-field.full{grid-column:1/-1}
.mentor-question-context{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:14px}.mentor-question-context span{background:#f7f9fc;border:1px solid var(--line);border-radius:13px;padding:11px;display:flex;flex-direction:column;gap:5px;font-size:10px;color:var(--muted)}.mentor-question-context strong{color:var(--navy-900);font-size:9px;text-transform:uppercase;letter-spacing:.08em}.mentor-question-copy,.mentor-answer-copy{border:1px solid var(--line);border-radius:15px;padding:15px;margin-top:10px}.mentor-answer-copy{background:#effaf4;border-color:#cfe9d8}.mentor-question-copy p,.mentor-answer-copy p{margin:7px 0 0;color:#4c596e;line-height:1.6}.mentor-question-copy+form textarea{width:100%;min-height:150px;margin-top:12px;border:1px solid #d5deea;border-radius:13px;padding:13px;font:inherit;resize:vertical}
.mentor-attention-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.mentor-attention-grid article{background:#fff;border:1px solid var(--line);border-radius:19px;padding:18px;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;gap:11px}.mentor-attention-grid h3{margin:0;color:var(--navy-900);font-size:17px}.mentor-attention-grid p{margin:0;color:var(--muted);font-size:11px;line-height:1.55}.mentor-attention-grid button{margin-top:auto}.mentor-priority{align-self:flex-start;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:900;letter-spacing:.06em;background:#eef3fa;color:#465975}.mentor-priority.high{background:#fff1e7;color:#b9530e}.mentor-priority.normal{background:#eee9ff;color:#5d3fc3}
.mentor-activity-timeline{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow-sm);overflow:hidden}.mentor-activity-timeline article{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px 18px;border-bottom:1px solid #edf1f6}.mentor-activity-timeline article:last-child{border:0}.mentor-activity-timeline article>span{width:40px;height:40px;border-radius:13px;background:#edf4ff;color:#17315e;display:grid;place-items:center;font-weight:900}.mentor-activity-timeline h3{margin:0;color:var(--navy-900);font-size:14px}.mentor-activity-timeline p{margin:4px 0 0;color:var(--muted);font-size:10px}.mentor-activity-timeline time{color:#6f7c90;font-size:10px;font-weight:800}
.mentor-boundary-card{margin-top:18px;padding:22px;border-radius:20px;background:linear-gradient(135deg,#132449,#315d75);color:#fff;border-bottom:4px solid var(--orange-500)}.mentor-boundary-card h2{margin:7px 0;font-size:23px}.mentor-boundary-card p{margin:0;color:#dce7f6;line-height:1.55}.mentor-resource-card footer{display:flex;gap:8px;align-items:center}.mentor-resource-card footer .icon-button{flex:0 0 42px}.mentor-resource-card footer .icon-button.active{background:#fff1e7;color:#f47b20;border-color:#ffd2b3}

@media(max-width:1100px){.mentor-home-layout,.mentor-learner-grid,.mentor-operation-grid{grid-template-columns:1fr}.mentor-attention-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mentor-modal-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.rail-count{right:3px;top:3px}.mentor-attention-grid{grid-template-columns:1fr}.mentor-detail-grid,.mentor-question-context{grid-template-columns:1fr}.mentor-detail-panel.full{grid-column:auto}.mentor-card-meta{grid-template-columns:repeat(3,1fr)}.mentor-home-row{grid-template-columns:40px minmax(0,1fr)}.mentor-home-row button{grid-column:2;justify-self:start}.mentor-activity-timeline article{grid-template-columns:40px minmax(0,1fr)}.mentor-activity-timeline time{grid-column:2}.mentor-learner-card>footer>*,.mentor-operation-card>footer>*{flex:1 1 100%}.mentor-modal-kpis{grid-template-columns:1fr 1fr}.mentor-question-copy+form textarea{font-size:16px}}
@media(max-width:480px){.mentor-card-meta,.mentor-modal-kpis{grid-template-columns:1fr}.mentor-learner-card,.mentor-operation-card{padding:15px}.mentor-panel>header{flex-direction:column}.mentor-attention-grid article{padding:15px}}


/* V10 — Fully loaded Admin Operating System */
.admin-command-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr);gap:16px;margin-top:18px}
.admin-command-main,.admin-command-side{display:grid;gap:16px;align-content:start}
.admin-command-side article,.admin-queue-panel,.admin-operation-banner,.admin-release-gate,.admin-access-hero,.admin-empty-premium,.admin-settings-grid article,.admin-resource-preview,.admin-preview-summary{background:#fff;border:1px solid #dbe4f0;border-radius:18px;box-shadow:0 10px 28px rgba(10,28,58,.07)}
.admin-command-side article{padding:20px}
.admin-command-side h3{margin:6px 0 14px;font-size:18px}
.admin-command-side p{color:var(--muted);line-height:1.55}
.admin-queue-panel{padding:18px}
.admin-queue-panel>header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:10px}
.admin-queue-panel>header h2{margin:4px 0 0;font-size:22px}
.admin-queue-panel>button{display:grid;grid-template-columns:42px 1fr auto;gap:12px;width:100%;align-items:center;text-align:left;border:0;border-top:1px solid #edf1f7;background:transparent;padding:14px 4px;color:var(--navy);cursor:pointer}
.admin-queue-panel>button:first-of-type{border-top:0}
.admin-queue-panel>button>span{width:38px;height:38px;border-radius:12px;background:#edf4ff;display:grid;place-items:center;font-weight:900}
.admin-queue-panel>button strong{display:block;font-size:15px}
.admin-queue-panel>button small{display:block;color:var(--muted);margin-top:4px;line-height:1.35}
.admin-queue-panel>button b{color:#1f5aa6;font-size:13px}
.admin-audit-feed{display:grid;gap:10px}
.admin-audit-feed>div{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:start;padding:10px 0;border-top:1px solid #edf1f7}
.admin-audit-feed>div:first-child{border-top:0}
.admin-audit-feed>div>span{width:30px;height:30px;border-radius:10px;background:#eaf9f1;color:#078850;display:grid;place-items:center;font-weight:900}
.admin-audit-feed strong,.admin-audit-feed small{display:block}
.admin-audit-feed small{color:var(--muted);margin-top:3px}
.admin-safety-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}
.admin-safety-card{display:grid;grid-template-columns:44px 1fr auto;gap:14px;align-items:center;padding:18px;border:1px solid #dbe4f0;border-radius:18px;background:#fff}
.admin-safety-card>span{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;font-size:20px;font-weight:900}
.admin-safety-card.green>span{background:#eaf9f1;color:#078850}.admin-safety-card.amber>span{background:#fff3e6;color:#c95c00}
.admin-safety-card h3{margin:0 0 4px}.admin-safety-card p{margin:0;color:var(--muted);line-height:1.45}
.admin-release-gate{padding:20px;margin-top:18px}
.admin-release-gate h2{margin:6px 0 0}
.admin-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin-top:18px}
.admin-checklist label{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid #e1e8f2;border-radius:12px;background:#f9fbff;font-weight:700;line-height:1.35}
.admin-checklist input{width:18px;height:18px;margin-top:1px}
.admin-operation-banner,.admin-access-hero{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:20px;margin:18px 0}
.admin-operation-banner h2,.admin-access-hero h2{margin:5px 0 7px;font-size:22px}.admin-operation-banner p,.admin-access-hero p{margin:0;color:var(--muted);line-height:1.55}
.admin-access-hero{background:linear-gradient(135deg,#102247,#2e5785);color:#fff;border-color:transparent}
.admin-access-hero p,.admin-access-hero small{color:#dfe9f6}.admin-access-hero aside{min-width:210px;display:grid;gap:10px}
.admin-row-actions{display:flex;flex-wrap:wrap;gap:7px;min-width:250px}
.admin-row-actions button,.admin-mentor-card footer button{min-height:36px;padding:8px 11px;border-radius:10px}
.admin-resource-preview{padding:20px}
.admin-resource-preview h2{font-size:28px;margin:7px 0 16px}
.admin-preview-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.admin-preview-facts>div{padding:14px;border:1px solid #e0e7f1;border-radius:13px;background:#f8fbff}
.admin-preview-facts small,.admin-preview-facts strong{display:block}.admin-preview-facts small{color:var(--muted);margin-bottom:5px}.admin-preview-facts strong{word-break:break-word}
.admin-preview-summary{padding:18px;margin-top:14px}.admin-preview-summary h3{margin:0 0 12px}
.admin-preview-summary ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.admin-preview-summary li{display:flex;justify-content:space-between;gap:14px;border-top:1px solid #edf1f7;padding-top:9px}
.admin-preview-summary li:first-child{border-top:0;padding-top:0}.admin-preview-summary li span{color:var(--muted);text-align:right}
.admin-empty-premium{display:flex;gap:16px;align-items:center;padding:22px;margin-top:16px}.admin-empty-premium>span{width:52px;height:52px;border-radius:16px;background:#edf4ff;display:grid;place-items:center;font-size:23px}.admin-empty-premium h2{margin:0 0 5px}.admin-empty-premium p{margin:0;color:var(--muted)}
.admin-mentor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.admin-mentor-card{background:#fff;border:1px solid #dbe4f0;border-radius:18px;padding:18px;box-shadow:0 10px 26px rgba(10,28,58,.06)}
.admin-mentor-card header{display:grid;grid-template-columns:50px 1fr auto;gap:12px;align-items:center}.admin-mentor-card h3,.admin-mentor-card p{margin:0}.admin-mentor-card header p{color:var(--muted);font-size:13px}.admin-mentor-card>p{margin:16px 0;color:var(--muted)}
.admin-mentor-card footer{display:flex;gap:8px;margin-top:14px}.mentor-avatar{width:48px;height:48px;border-radius:15px;background:linear-gradient(135deg,#ff8a00,#6e3b8e);color:white;display:grid;place-items:center;font-weight:900}
.admin-progress-cell{height:7px;min-width:120px;border-radius:99px;background:#e8edf5;overflow:hidden}.admin-progress-cell span{display:block;height:100%;background:linear-gradient(90deg,#2f6bb5,#ff8a00)}
.admin-crm-board{display:grid;grid-template-columns:repeat(4,minmax(230px,1fr));gap:14px;overflow-x:auto;padding-bottom:8px}
.admin-crm-board>section{background:#f6f9fd;border:1px solid #dce5f0;border-radius:16px;padding:12px;min-height:240px}
.admin-crm-board>section>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.admin-crm-board h3{font-size:15px;margin:0}.admin-crm-board header span{min-width:26px;height:26px;border-radius:9px;background:#fff;border:1px solid #d8e1ed;display:grid;place-items:center;font-weight:800}
.admin-crm-board article{background:#fff;border:1px solid #dfe6f0;border-radius:13px;padding:12px;margin-top:9px;box-shadow:0 5px 14px rgba(10,28,58,.04)}
.admin-crm-board article strong,.admin-crm-board article small{display:block}.admin-crm-board article small{color:var(--muted);margin-top:3px}.admin-crm-board article p{font-size:12px;color:var(--muted);line-height:1.4}.admin-crm-board article footer{display:flex;justify-content:space-between;align-items:center;gap:8px}.admin-crm-board article footer span{font-size:11px;color:#a64d00}.admin-crm-empty{color:var(--muted);font-size:13px}
.admin-control-list{display:grid;gap:10px;margin:14px 0 0;padding-left:18px}.admin-control-list li{line-height:1.45}
.admin-role-matrix{background:#fff;border:1px solid #dbe4f0;border-radius:18px;overflow:auto;box-shadow:0 10px 26px rgba(10,28,58,.06)}
.admin-role-matrix>div{display:grid;grid-template-columns:minmax(230px,1.5fr) repeat(4,minmax(110px,.7fr));min-width:760px}
.admin-role-matrix>div>*{padding:14px;border-right:1px solid #e7edf5;border-top:1px solid #e7edf5}.admin-role-matrix>div:first-child>*{border-top:0;background:#f3f7fc;font-weight:900}.admin-role-matrix .allow{color:#078850;font-weight:900}.admin-role-matrix .deny{color:#7c8797}
.admin-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.admin-health-grid article{display:grid;grid-template-columns:46px 1fr auto;gap:14px;align-items:center;background:#fff;border:1px solid #dbe4f0;border-radius:18px;padding:18px}.admin-health-grid article>span{width:44px;height:44px;border-radius:14px;background:#edf4ff;display:grid;place-items:center;font-size:20px;font-weight:900}.admin-health-grid h3,.admin-health-grid p{margin:0}.admin-health-grid p{color:var(--muted);margin-top:4px}
.admin-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.admin-settings-grid article{padding:18px}.admin-settings-grid h3{font-size:20px;margin:7px 0}.admin-settings-grid p{color:var(--muted);line-height:1.5;margin:0}
.admin-table td code{font-size:11px;background:#f1f5fa;border-radius:7px;padding:4px 6px}
.admin-table td small{display:block;color:var(--muted);margin-top:4px}

@media(max-width:1280px){
  .admin-command-layout{grid-template-columns:1fr}
  .admin-command-side{grid-template-columns:repeat(3,minmax(0,1fr))}
  .admin-crm-board{grid-template-columns:repeat(4,minmax(220px,1fr))}
}
@media(max-width:1024px){
  .admin-safety-grid,.admin-health-grid,.admin-mentor-grid{grid-template-columns:1fr}
  .admin-command-side,.admin-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-checklist{grid-template-columns:1fr}
  .admin-operation-banner,.admin-access-hero{align-items:flex-start;flex-direction:column}
}
@media(max-width:760px){
  .admin-command-side,.admin-settings-grid{grid-template-columns:1fr}
  .admin-queue-panel>button{grid-template-columns:38px 1fr}.admin-queue-panel>button b{display:none}
  .admin-safety-card,.admin-health-grid article{grid-template-columns:42px 1fr}.admin-safety-card>.state-badge,.admin-health-grid article>.state-badge{grid-column:2}
  .admin-preview-facts{grid-template-columns:1fr}
  .admin-preview-summary li{display:grid}
  .admin-preview-summary li span{text-align:left}
  .admin-row-actions{min-width:190px}
  .admin-crm-board{grid-template-columns:repeat(7,minmax(210px,82vw))}
}
@media(max-width:480px){
  .admin-queue-panel,.admin-release-gate,.admin-resource-preview{padding:14px}
  .admin-command-side article{padding:16px}
  .admin-role-matrix>div{min-width:700px}
}


/* V11 — fully loaded Student Profile and Student OS */
.student-profile-hero{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:22px;align-items:center;padding:24px;border-radius:24px;background:linear-gradient(135deg,#0b1d3c,#264e7e);color:#fff;border-bottom:4px solid #ff7a16;box-shadow:0 18px 38px rgba(7,25,55,.18)}
.student-profile-identity{display:flex;align-items:center;gap:18px;min-width:0}.student-profile-avatar{width:84px;height:84px;border-radius:24px;display:grid;place-items:center;background:linear-gradient(135deg,#ff8b28,#71479b);color:#fff;font-size:28px;font-weight:950;border:2px solid rgba(255,255,255,.35)}
.student-profile-identity h2{font-size:32px;margin:4px 0}.student-profile-identity p{color:#dbe7f6;margin:0}.student-profile-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.student-profile-badges span{font-size:11px;font-weight:900;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18)}.student-profile-badges .verified{background:#e7fbf2;color:#087a4f;border-color:#bfead7}
.student-profile-hero aside{background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.2);border-radius:18px;padding:18px}.student-profile-hero aside>strong{display:block;font-size:42px}.student-profile-hero aside>small{color:#dbe7f6}.profile-completion-track{height:8px;background:rgba(255,255,255,.17);border-radius:999px;margin:12px 0;overflow:hidden}.profile-completion-track span{display:block;height:100%;background:#ff8a1f}.student-profile-hero .text-button{color:#fff;padding:0}
.student-profile-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.student-profile-layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.student-profile-panel{background:#fff;border:1px solid var(--border);border-radius:20px;padding:19px;box-shadow:var(--shadow-sm);min-width:0}.student-profile-panel.span-2{grid-column:span 2}.student-profile-panel header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:15px}.student-profile-panel h2{margin:4px 0 0;font-size:20px}.student-profile-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.student-profile-field-grid article{padding:13px;border:1px solid #e1e8f2;border-radius:14px;background:#f9fbfe}.student-profile-field-grid small,.student-profile-field-grid strong,.student-profile-field-grid span{display:block}.student-profile-field-grid small{color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.07em}.student-profile-field-grid strong{margin-top:5px}.student-profile-field-grid span{font-size:11px;color:#1b619f;margin-top:4px}
.student-account-list{list-style:none;margin:0 0 15px;padding:0;display:grid;gap:9px}.student-account-list li{display:grid;grid-template-columns:36px 1fr;gap:10px;align-items:center;padding:10px;border:1px solid #e1e8f2;border-radius:13px}.student-account-list li>span{width:34px;height:34px;border-radius:10px;background:#e9f4ff;color:#1d5fa8;display:grid;place-items:center;font-weight:900}.student-account-list strong,.student-account-list small{display:block}.student-account-list small{color:var(--muted);margin-top:2px}.preference-list{display:grid;gap:0}.preference-list p{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-top:1px solid #edf1f6;margin:0}.preference-list p:first-child{border-top:0}.preference-list span{color:var(--muted);text-align:right}.membership-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.membership-summary article{padding:15px;border:1px solid #e0e7f0;border-radius:15px;background:#f8fbff}.membership-summary small,.membership-summary strong,.membership-summary span{display:block}.membership-summary small{color:var(--muted)}.membership-summary strong{font-size:23px;margin:6px 0}.membership-summary span{font-size:12px;color:var(--muted);line-height:1.45}
.student-payment-table{display:grid;overflow:auto}.student-payment-table>div{display:grid;grid-template-columns:120px minmax(230px,1fr) 100px 100px;align-items:center;gap:12px;min-width:620px;padding:12px;border-top:1px solid #e5ebf3}.student-payment-table>div:first-child{border-top:0;background:#f4f7fb;border-radius:12px}.student-payment-table span strong,.student-payment-table span small{display:block}.student-payment-table span small{color:var(--muted);margin-top:3px}.student-payment-table.modal-table{max-height:55vh}.student-activity-list{display:grid;gap:8px}.student-activity-list article{display:grid;grid-template-columns:36px 1fr;gap:10px;padding:10px 0;border-top:1px solid #edf1f6}.student-activity-list article:first-child{border-top:0}.student-activity-list article>span{width:34px;height:34px;border-radius:10px;background:#edf4ff;color:#1f5fa8;display:grid;place-items:center;font-weight:900}.student-activity-list strong,.student-activity-list small{display:block}.student-activity-list small{color:var(--muted);margin-top:3px}.profile-support-copy{color:var(--muted);line-height:1.6}.profile-support-actions{display:flex;gap:8px;flex-wrap:wrap}.student-security-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.student-security-grid article{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:center;padding:15px;border:1px solid var(--border);border-radius:15px}.student-security-grid article>span{width:40px;height:40px;border-radius:12px;background:#eaf3ff;color:#1f5fa8;display:grid;place-items:center;font-weight:900}.student-security-grid strong,.student-security-grid small{display:block}.student-security-grid small{color:var(--muted);margin-top:3px}.preference-check{display:flex!important;align-items:center;gap:9px;min-height:46px;padding:12px;border:1px solid var(--border);border-radius:12px;background:#f8fbff;font-weight:750}.preference-check input{width:18px;height:18px}
.current-reader-current-affairs .reader-progress span{background:linear-gradient(90deg,#1b6fbc,#10a879,#ff8a1f)}.current-reader-current-affairs .book-page{background:linear-gradient(180deg,#fffdf7,#fff)}.current-reader-current-affairs .book-page .eyebrow{color:#0d7b65}.current-reader-current-affairs .reader-callout{background:#eaf9f4;border-left-color:#12a478}
@media(max-width:1100px){.student-profile-layout{grid-template-columns:repeat(2,minmax(0,1fr))}.student-profile-panel.span-2{grid-column:span 2}.student-profile-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.student-profile-hero{grid-template-columns:1fr}.student-profile-identity{align-items:flex-start}.student-profile-avatar{width:68px;height:68px;border-radius:20px}.student-profile-identity h2{font-size:26px}.student-profile-layout,.student-profile-kpis{grid-template-columns:1fr}.student-profile-panel.span-2{grid-column:auto}.student-profile-field-grid,.membership-summary,.student-security-grid{grid-template-columns:1fr}.student-payment-table{margin:0 -4px}.student-profile-panel{padding:15px}}
@media(max-width:480px){.student-profile-identity{display:grid}.student-profile-badges{gap:5px}.student-profile-hero{padding:18px}.student-profile-panel header{display:grid}.student-profile-kpis{gap:10px}}


/* V12 — role-aware account menus, living mentor profile and loaded Public OS */
.role-aware-account-menu{width:330px;max-height:min(76vh,680px);overflow:auto;padding:10px}.account-menu-section{display:grid;gap:3px;padding:8px 0;border-bottom:1px solid var(--line)}.account-menu-section:last-of-type{border-bottom:0}.account-menu-section>small{font-size:9px;letter-spacing:.12em;font-weight:950;color:#f36f16;padding:5px 11px}.popover-item.strong{background:#08162f;color:#fff;border-radius:11px;font-weight:900}.account-profile.role-mentor .avatar{background:linear-gradient(135deg,#ff811d,#7950a7)}.account-profile.role-admin .avatar{background:linear-gradient(135deg,#111f4d,#315d91)}.account-profile.role-public .avatar{background:linear-gradient(135deg,#ff861d,#172857)}
.public-mentor-spotlight{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.65fr);gap:24px;padding:26px;border:1px solid #d8e2ef;background:linear-gradient(135deg,#fff,#eef5ff);border-radius:24px;box-shadow:var(--shadow-sm);align-items:center}.public-mentor-spotlight h2{font-size:30px;margin:8px 0}.public-mentor-spotlight p{color:var(--muted);line-height:1.6}.public-mentor-spotlight aside{display:grid;grid-template-columns:92px 1fr;gap:15px;align-items:center;background:#0c1b38;color:#fff;padding:14px;border-radius:18px}.public-mentor-spotlight aside img{width:92px;height:110px;object-fit:cover;object-position:center 20%;border-radius:14px}.public-mentor-spotlight aside strong,.public-mentor-spotlight aside small,.public-mentor-spotlight aside span{display:block}.public-mentor-spotlight aside small{color:#f7a24a;margin:4px 0}.public-mentor-spotlight aside span{font-size:11px;color:#d7e2f0}
.mentor-directory-intro{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.65fr);gap:20px;padding:26px;border-radius:24px;background:linear-gradient(135deg,#0b1833,#294f70);color:#fff;border-bottom:4px solid #ff7816}.mentor-directory-intro h2{font-size:34px;margin:8px 0}.mentor-directory-intro p{color:#dce5f2;line-height:1.6}.mentor-directory-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.mentor-directory-kpis article{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);padding:14px;border-radius:15px}.mentor-directory-kpis strong,.mentor-directory-kpis small{display:block}.mentor-directory-kpis strong{font-size:25px}.mentor-directory-kpis small{color:#dae5f2;margin-top:4px}
.mentor-work-groups{display:grid;gap:18px}.mentor-work-group{background:#fff;border:1px solid var(--border);border-radius:22px;padding:20px;box-shadow:var(--shadow-sm)}.mentor-work-group>header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:13px}.mentor-work-group>header h2{margin:4px 0}.mentor-work-group>header>span{background:#eef4fc;border:1px solid #dbe5f1;border-radius:999px;padding:7px 10px;font-weight:900}.mentor-work-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mentor-work-grid article{display:grid;grid-template-columns:44px 1fr;gap:12px;padding:15px;border:1px solid #e0e8f2;border-radius:16px;background:#fbfdff}.mentor-entry-icon{width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,#eaf2ff,#fff0e5);display:grid;place-items:center;font-size:20px}.mentor-work-grid small,.mentor-work-grid strong,.mentor-work-grid h3{display:block}.mentor-work-grid small{color:#ef721a;font-weight:900}.mentor-work-grid h3{margin:4px 0}.mentor-work-grid strong{font-size:11px;color:#36577d}.mentor-work-grid p{color:var(--muted);line-height:1.5}.mentor-work-grid a{font-weight:900;color:#145a9f}.mentor-social-panel{background:#fff;border:1px solid var(--border);border-radius:22px;padding:20px;box-shadow:var(--shadow-sm);margin-top:18px}.mentor-social-panel>header{display:flex;justify-content:space-between;gap:12px}.mentor-social-links{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.mentor-social-link{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid #dbe4f0;border-radius:12px;background:#f7faff;font-weight:850}.mentor-contact-note{border-top:1px solid #e8edf4;padding-top:14px}.mentor-contact-note p{color:var(--muted)}
.mentor-profile-management{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.mentor-profile-management article{padding:20px;border-radius:18px;background:#fff;border:1px solid var(--border);box-shadow:var(--shadow-sm)}.mentor-profile-management article>strong{font-size:28px;color:#1e5fa5}.mentor-profile-management h3{margin:7px 0}.mentor-profile-management p{color:var(--muted)}.mentor-visibility-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mentor-visibility-grid article{display:grid;grid-template-columns:38px 1fr;gap:10px;align-items:center;background:#fff;border:1px solid var(--border);padding:15px;border-radius:15px}.mentor-visibility-grid article>span{width:36px;height:36px;border-radius:11px;background:#e9f8f1;color:#078557;display:grid;place-items:center;font-weight:950}.mentor-visibility-grid strong,.mentor-visibility-grid small{display:block}.mentor-visibility-grid small{color:var(--muted);margin-top:3px}.admin-account-summary{display:grid;grid-template-columns:80px 1fr;gap:16px;align-items:center}.admin-account-summary .student-profile-avatar{width:76px;height:76px}
@media(max-width:1100px){.public-mentor-spotlight,.mentor-directory-intro{grid-template-columns:1fr}.mentor-profile-management,.mentor-visibility-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.role-aware-account-menu{width:calc(100vw - 20px);right:10px}.mentor-work-grid,.mentor-profile-management,.mentor-visibility-grid{grid-template-columns:1fr}.mentor-directory-kpis{grid-template-columns:1fr}.public-mentor-spotlight aside{grid-template-columns:72px 1fr}}
.mentor-entry-actions{display:flex;gap:7px;margin-top:10px}.mentor-entry-actions button{border:1px solid #d9e3ef;background:#fff;border-radius:9px;padding:7px 10px;font-weight:850}.mentor-entry-actions button:last-child{color:#b53b32;background:#fff7f6}.role-notice{width:100%;text-align:left;border:0;background:#fff;padding:11px;border-radius:11px;display:block}.role-notice:hover{background:#f2f6fc}.role-notice strong,.role-notice small{display:block}.role-notice small{color:var(--muted);margin-top:4px}


/* V13 — Drive-native mentor profile; no legacy page transplant and no mandatory portrait */
.mentor-drive-profile{margin:18px 0;border:1px solid var(--border);border-radius:24px;background:#fff;box-shadow:var(--shadow-sm);overflow:hidden;color:var(--ink)}
.mentor-profile-banner{min-height:92px;padding:20px 24px 46px;display:flex;justify-content:space-between;align-items:flex-start;gap:16px;background:linear-gradient(135deg,#eaf2ff 0%,#f8fbff 54%,#fff1e6 100%);border-bottom:1px solid #dce5f0}.mentor-profile-banner strong{display:block;margin-top:6px;font-size:18px;color:#17395f}.mentor-profile-core{display:grid;grid-template-columns:180px minmax(0,1fr);gap:22px;padding:0 24px 24px;margin-top:-34px;align-items:start}.mentor-profile-avatar-shell{width:164px;height:164px;border-radius:28px;background:linear-gradient(135deg,#173d69,#2f6da4);border:7px solid #fff;box-shadow:0 14px 30px rgba(20,55,91,.18);display:grid;place-items:center;position:relative;overflow:hidden;color:#fff}.mentor-profile-avatar-shell>span{font-size:46px;font-weight:950;letter-spacing:-.04em}.mentor-profile-avatar-shell img{width:100%;height:100%;object-fit:cover;display:block}.mentor-profile-avatar-shell>small{position:absolute;left:12px;bottom:10px;padding:6px 9px;border-radius:999px;background:rgba(7,25,55,.82);color:#fff;font-size:9px;font-weight:900}.mentor-profile-summary{padding-top:48px;min-width:0}.mentor-profile-summary h2{font-size:36px;line-height:1.08;margin:0}.mentor-profile-headline{font-size:16px;font-weight:900;color:#e86f18;margin:7px 0 0}.mentor-profile-bio{color:var(--muted);font-size:15px;line-height:1.65;max-width:900px}.mentor-profile-meta{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.mentor-profile-meta span,.mentor-strength-grid span{padding:8px 10px;border-radius:999px;background:#f2f6fb;border:1px solid #dce5f0;color:#2d4e73;font-size:10px;font-weight:900}.mentor-profile-facts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 24px 24px}.mentor-profile-facts-grid article{display:grid;grid-template-columns:38px 1fr;gap:10px;align-content:start;padding:15px;border-radius:16px;background:#f9fbfe;border:1px solid #dfe7f1}.mentor-profile-facts-grid article>span{grid-row:span 2;width:36px;height:36px;border-radius:12px;background:linear-gradient(135deg,#e8f1ff,#fff1e5);display:grid;place-items:center}.mentor-profile-facts-grid small,.mentor-profile-facts-grid strong{display:block}.mentor-profile-facts-grid small{color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.07em}.mentor-profile-facts-grid strong{font-size:12px;line-height:1.45;margin-top:4px}.mentor-drive-profile.student .mentor-profile-banner{background:linear-gradient(135deg,#e8f3ff,#f9fcff 62%,#eef8f4)}.mentor-drive-profile.mentor .mentor-profile-banner{background:linear-gradient(135deg,#edf5ff,#f8fbff 62%,#f4efff)}
.mentor-photo-control{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:16px;align-items:center;padding:17px;border:1px solid #dce5f0;border-radius:18px;background:#f8fbff}.mentor-photo-control h3{margin:5px 0}.mentor-photo-control p{color:var(--muted);line-height:1.5;margin:0}.mentor-photo-control-preview{display:flex;justify-content:center}.mentor-photo-control-preview .mentor-profile-avatar-shell{width:128px;height:128px;border-width:5px;border-radius:23px}.mentor-photo-control-preview .mentor-profile-avatar-shell>span{font-size:36px}
.public-mentor-spotlight aside .mentor-profile-avatar-shell{width:84px;height:96px;border:3px solid rgba(255,255,255,.9);border-radius:16px;box-shadow:none}.public-mentor-spotlight aside .mentor-profile-avatar-shell>span{font-size:27px}.public-mentor-spotlight aside .mentor-profile-avatar-shell>small{display:none}
@media(max-width:1100px){.mentor-profile-core{grid-template-columns:150px minmax(0,1fr)}.mentor-profile-avatar-shell{width:145px;height:145px}.mentor-profile-facts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.mentor-profile-banner{padding:17px 17px 50px}.mentor-profile-core{grid-template-columns:1fr;padding:0 17px 18px}.mentor-profile-avatar-shell{width:112px;height:112px;border-radius:22px}.mentor-profile-avatar-shell>span{font-size:34px}.mentor-profile-summary{padding-top:0}.mentor-profile-summary h2{font-size:28px}.mentor-profile-facts-grid{grid-template-columns:1fr;padding:0 17px 18px}.mentor-photo-control{grid-template-columns:1fr}.mentor-photo-control-preview{justify-content:flex-start}}

.public-mentor-spotlight aside .mentor-profile-avatar-shell img{width:100%;height:100%;border-radius:0;object-fit:cover;object-position:center}

/* V14 — Access Request Engine + Dormant Commerce/Email */
.access-request-explainer,.commerce-lock-banner{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:22px;align-items:center;background:linear-gradient(135deg,#0b1730,#243f68);color:#fff;border-radius:24px;padding:28px 30px;margin-bottom:22px;border-bottom:4px solid #ff7a00;box-shadow:0 16px 36px rgba(15,32,58,.15)}
.access-request-explainer.admin{background:linear-gradient(135deg,#11254a,#2f5076)}
.access-request-explainer h2,.commerce-lock-banner h2{font-size:26px;line-height:1.15;margin:6px 0 10px}.access-request-explainer p,.commerce-lock-banner p{color:#dbe7f7;line-height:1.6}.access-request-explainer aside,.commerce-lock-banner aside{display:grid;gap:10px;justify-items:start;padding:18px;border:1px solid rgba(255,255,255,.18);border-radius:18px;background:rgba(255,255,255,.08)}
.commerce-lock-banner.compact{grid-template-columns:1fr auto;padding:20px 24px}.commerce-lock-banner.compact h2{font-size:21px}
.access-request-list{display:grid;gap:16px}.access-request-list.admin-list{grid-template-columns:repeat(2,minmax(0,1fr))}.access-request-list.compact{grid-template-columns:repeat(2,minmax(0,1fr))}
.access-request-card{background:#fff;border:1px solid #dbe4f0;border-radius:20px;padding:20px;box-shadow:0 8px 22px rgba(20,40,70,.06)}.access-request-card header{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.access-request-card h3{font-size:19px;margin:4px 0 0}.access-request-card>p{margin:14px 0;color:#5a6a82;line-height:1.55}.access-request-card footer{display:flex;justify-content:flex-end;align-items:center;min-height:36px}.access-request-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}.access-request-facts span{padding:10px 12px;background:#f7f9fd;border-radius:12px}.access-request-facts small{display:block;color:#6e7d93;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.access-request-facts strong{display:block;font-size:12px;margin-top:3px;word-break:break-word}.request-grant-link{font-size:12px;color:#14815d;font-weight:700}.access-request-inline{margin-top:24px;background:#fff;border:1px solid #dce4ef;border-radius:22px;padding:22px}.access-request-inline>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.access-review-preview .continuity-note.warning{border-color:#f2b468;background:#fff8ed}
.commerce-readiness{background:#fff;border:1px solid #dbe4ef;border-radius:22px;padding:24px;margin:22px 0}.commerce-readiness>header,.commerce-readiness>footer{display:flex;justify-content:space-between;gap:16px;align-items:center}.commerce-readiness>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.commerce-readiness article{display:grid;grid-template-columns:32px 1fr;gap:4px 10px;align-items:center;padding:14px;background:#f7f9fc;border-radius:14px}.commerce-readiness article span{grid-row:1/3;width:32px;height:32px;display:grid;place-items:center;border-radius:10px;font-weight:800}.commerce-readiness article.ready span{background:#e9f8f0;color:#09885f}.commerce-readiness article.blocked span{background:#fff1e6;color:#d75d00}.commerce-readiness article small{color:#6e7a8f}.dormant-payment-methods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.dormant-payment-methods article{display:grid;grid-template-columns:50px 1fr;gap:14px;background:#fff;border:1px solid #dce5f0;border-radius:18px;padding:20px}.dormant-payment-methods article>span:first-child{width:50px;height:50px;border-radius:15px;background:#edf3ff;display:grid;place-items:center;font-size:22px}.dormant-payment-methods .state-badge{grid-column:1/-1;justify-self:start}
.dormant-qr-preview{display:grid;grid-template-columns:210px 1fr;gap:28px;align-items:center}.fake-qr{width:200px;height:200px;background:#fff;border:12px solid #fff;box-shadow:inset 0 0 0 2px #0a1730;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:10px}.fake-qr i{background:#0a1730}.fake-qr i:nth-child(2),.fake-qr i:nth-child(4),.fake-qr i:nth-child(8){background:#fff;border:6px solid #0a1730}.order-flow-preview{display:grid;gap:10px}.order-flow-preview article{display:grid;grid-template-columns:38px 1fr;gap:12px;align-items:center;background:#f6f8fc;padding:12px 14px;border-radius:12px}.order-flow-preview span{width:38px;height:38px;border-radius:12px;background:#0a1730;color:#fff;display:grid;place-items:center;font-weight:800}
@media(max-width:1100px){.access-request-list.admin-list,.access-request-list.compact{grid-template-columns:1fr}.commerce-readiness>div{grid-template-columns:repeat(2,minmax(0,1fr))}.dormant-payment-methods{grid-template-columns:1fr}.access-request-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.access-request-explainer,.commerce-lock-banner,.commerce-lock-banner.compact{grid-template-columns:1fr;padding:22px}.access-request-explainer h2,.commerce-lock-banner h2{font-size:22px}.access-request-inline>header,.commerce-readiness>header,.commerce-readiness>footer{align-items:flex-start;flex-direction:column}.commerce-readiness>div{grid-template-columns:1fr}.access-request-facts{grid-template-columns:1fr}.dormant-qr-preview{grid-template-columns:1fr}.fake-qr{width:170px;height:170px}}


/* V15 — Fully loaded Unified Access & Entitlement Engine */
.access-engine-complete{margin-bottom:18px}
.access-scope-map{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}
.access-scope-map article{display:grid;grid-template-columns:48px 1fr;gap:12px;padding:18px;background:#fff;border:1px solid #dbe4ef;border-radius:18px;box-shadow:0 8px 22px rgba(20,40,70,.06)}
.access-scope-map article>span,.access-scope-icon{width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,#eaf3ff,#fff2e8);display:grid;place-items:center;color:#0b2448;font-size:21px;font-weight:950;flex:none}
.access-scope-map h3{margin:4px 0 5px;font-size:15px}.access-scope-map p{margin:0;color:var(--muted);font-size:10px;line-height:1.5}.access-scope-map strong{font-size:10px;letter-spacing:.1em;color:#f06e12}
.access-resolution-card,.access-policy-matrix,.access-test-personas,.access-grant-results,.access-bulk-preview,.access-batch-history{background:#fff;border:1px solid #dbe4ef;border-radius:22px;box-shadow:var(--shadow-sm);padding:22px;margin:18px 0}
.access-resolution-card>header,.access-policy-matrix>header,.access-test-personas>header,.access-grant-results>header,.access-bulk-preview>header,.access-batch-history>header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}
.access-resolution-card h2,.access-policy-matrix h2,.access-test-personas h2,.access-grant-results h2,.access-bulk-preview h2,.access-batch-history h2{margin:4px 0;font-size:20px}
.access-resolution-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.access-resolution-flow article{display:grid;grid-template-columns:34px 1fr;gap:10px;padding:13px;border-radius:14px;background:#f7f9fd;border:1px solid #e5ebf4}
.access-resolution-flow article>span{width:34px;height:34px;border-radius:11px;background:#0b1730;color:#fff;display:grid;place-items:center;font-weight:900}.access-resolution-flow small{display:block;color:var(--muted);font-size:9px;line-height:1.45;margin-top:3px}
.access-request-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:13px 15px;border:1px solid #dde6f1;background:#fff;border-radius:15px;margin:15px 0}.access-request-toolbar span{color:#f06e12;font-weight:900;font-size:10px;letter-spacing:.08em}.access-request-toolbar b{font-size:10px}.access-request-toolbar i{color:#9aa7ba}
.access-grant-toolbar{background:#fff;border:1px solid #dbe4ef;border-radius:20px;padding:18px;margin-bottom:18px}.access-grant-toolbar form{display:grid;grid-template-columns:2fr repeat(3,minmax(140px,1fr)) auto;gap:12px;align-items:end}.access-grant-toolbar label{display:grid;gap:6px}.access-grant-toolbar label span,.access-bulk-form label span,.student-redeem-card label span{font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#66758c}.access-grant-toolbar input,.access-grant-toolbar select,.access-bulk-form input,.access-bulk-form select,.access-bulk-form textarea,.student-redeem-card input{width:100%;border:1px solid #d4dfec;border-radius:12px;padding:12px;background:#fbfcfe}.access-grant-toolbar form>div{display:flex;gap:8px}
.access-grant-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.access-grant-card{border:1px solid #dbe4ef;border-radius:20px;padding:18px;background:#fff;box-shadow:0 8px 22px rgba(20,40,70,.05)}.access-grant-card.status-expiring{border-top:4px solid #f3a12a}.access-grant-card.status-expired,.access-grant-card.status-revoked{border-top:4px solid #d65b55}.access-grant-card.status-active{border-top:4px solid #19a06c}.access-grant-card header{display:grid;grid-template-columns:50px minmax(0,1fr) auto;gap:12px;align-items:start}.access-grant-card h3{margin:4px 0 0;font-size:17px}.access-grant-card header p{margin:5px 0 0;color:var(--muted);font-size:10px}.access-grant-card footer{margin-top:14px}.access-grant-reason{font-size:10px;color:#5e6c82;line-height:1.55;margin:12px 0}
.access-grant-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0}.access-grant-facts span{background:#f7f9fd;border-radius:11px;padding:10px}.access-grant-facts small{display:block;font-size:8px;color:#76849a;text-transform:uppercase;letter-spacing:.07em}.access-grant-facts strong{display:block;font-size:10px;margin-top:4px;overflow-wrap:anywhere}
.grant-detail-modal>header{display:grid;grid-template-columns:50px 1fr auto;gap:12px;align-items:start}.grant-detail-modal h2{margin:5px 0}.grant-detail-modal header p{margin:0;color:var(--muted)}
.grant-audit-mini{margin-top:15px}.grant-audit-mini article{display:grid;grid-template-columns:150px 1fr auto;gap:10px;padding:10px;border-bottom:1px solid #e7edf5}.grant-audit-mini span,.grant-audit-mini small{font-size:10px;color:#637189}
.access-bulk-command{display:grid;grid-template-columns:minmax(0,.8fr) minmax(560px,1.4fr);gap:24px;padding:24px;background:linear-gradient(135deg,#10264b,#31587d);color:#fff;border-radius:24px;border-bottom:4px solid #ff7a00}.access-bulk-command h2{font-size:25px;margin:6px 0 10px}.access-bulk-command p{color:#dce8f8;line-height:1.6}.access-bulk-form{display:grid;grid-template-columns:1.4fr .7fr 1fr .7fr;gap:10px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.16);border-radius:18px;padding:16px}.access-bulk-form label{display:grid;gap:6px}.access-bulk-form label:first-child{grid-row:span 2}.access-bulk-form textarea{min-height:126px;resize:vertical}.access-bulk-form .wide{grid-column:2/-1}.access-bulk-actions{display:flex;gap:8px;align-items:center}
.access-batch-history>div{display:grid;gap:10px}.access-batch-history article{display:grid;grid-template-columns:50px minmax(0,1fr) auto 120px auto;gap:12px;align-items:center;padding:14px;border:1px solid #e1e8f2;border-radius:15px}.access-batch-history article p{margin:4px 0 0;color:var(--muted);font-size:10px}.access-batch-history article small{color:var(--muted)}.batch-counts{display:grid;grid-template-columns:auto auto;gap:2px 6px}.batch-counts b{font-size:16px}.batch-counts small{font-size:8px;text-transform:uppercase}
.access-bundle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.access-bundle-card{background:#fff;border:1px solid #dbe4ef;border-radius:20px;padding:18px;box-shadow:var(--shadow-sm)}.access-bundle-card header{display:grid;grid-template-columns:50px 1fr auto;gap:12px}.access-bundle-card h3{margin:4px 0}.access-bundle-card header p{margin:0;color:var(--muted)}.bundle-resource-list{display:grid;gap:8px;margin:16px 0}.bundle-resource-list button{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;border:1px solid #e3eaf3;border-radius:12px;background:#f8fafc;padding:10px;text-align:left}.bundle-resource-list button>span{width:34px;height:34px;border-radius:10px;background:#eaf2ff;display:grid;place-items:center}.bundle-resource-list button small{font-size:8px;color:var(--muted)}.access-bundle-card footer{display:flex;gap:8px}.bundle-picker{max-height:230px;overflow:auto;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px;border:1px solid #dce5f0;border-radius:12px;background:#f8fafc}.bundle-picker label{font-size:10px;display:flex;gap:7px;align-items:flex-start}
.access-key-guide{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:16px 0}.access-key-guide article{padding:16px;border-radius:16px;background:#fff;border:1px solid #dce4ef}.access-key-guide p{color:var(--muted);font-size:10px;line-height:1.5}
.access-test-personas>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.access-test-personas article{padding:14px;border:1px solid #e2e9f2;border-radius:14px;background:#f8fafc}.access-test-personas article span,.access-test-personas article small{display:block;margin-top:5px}.access-test-personas article small{color:var(--muted);font-size:9px}
.student-redeem-layout{display:grid;grid-template-columns:minmax(360px,.8fr) 1.2fr;gap:18px}.student-redeem-card,.student-redeem-guide{background:#fff;border:1px solid #dbe4ef;border-radius:22px;padding:24px;box-shadow:var(--shadow-sm)}.student-redeem-card{display:grid;gap:14px}.student-redeem-card h2{margin:0}.student-redeem-card p{margin:0;color:var(--muted)}.student-redeem-card label{display:grid;gap:6px}.student-redeem-guide h2{margin-top:0}.student-redeem-guide article{display:grid;grid-template-columns:38px 1fr;gap:10px;padding:12px;border-bottom:1px solid #e8edf4}.student-redeem-guide article>span{width:38px;height:38px;border-radius:12px;background:#0b1730;color:#fff;display:grid;place-items:center;font-weight:900}.student-redeem-guide small{display:block;color:var(--muted);margin-top:3px}
.admin-empty-premium.compact{min-height:auto}
@media(max-width:1200px){.access-scope-map{grid-template-columns:repeat(2,1fr)}.access-resolution-flow{grid-template-columns:repeat(2,1fr)}.access-grant-toolbar form{grid-template-columns:1fr 1fr}.access-grant-toolbar form>div{grid-column:1/-1}.access-bulk-command{grid-template-columns:1fr}.access-bulk-form{grid-template-columns:1fr 1fr}.access-bulk-form label:first-child{grid-row:auto;grid-column:1/-1}.access-bulk-form .wide{grid-column:1/-1}}
@media(max-width:900px){.access-grant-grid,.access-bundle-grid{grid-template-columns:1fr}.access-batch-history article{grid-template-columns:50px 1fr auto}.batch-counts,.access-batch-history article>button{grid-column:2/-1}.access-test-personas>div,.access-key-guide{grid-template-columns:1fr 1fr}.student-redeem-layout{grid-template-columns:1fr}}
@media(max-width:760px){.access-scope-map,.access-resolution-flow,.access-test-personas>div,.access-key-guide{grid-template-columns:1fr}.access-grant-toolbar form,.access-bulk-form{grid-template-columns:1fr}.access-grant-facts{grid-template-columns:1fr 1fr}.access-grant-card header,.grant-detail-modal>header,.access-bundle-card header{grid-template-columns:44px 1fr}.access-grant-card header>.state-badge,.grant-detail-modal header>.state-badge,.access-bundle-card header>.state-badge{grid-column:2}.access-bulk-form label:first-child,.access-bulk-form .wide{grid-column:auto}.access-batch-history article{grid-template-columns:44px 1fr}.access-batch-history article>.state-badge,.batch-counts,.access-batch-history article>button{grid-column:2}.bundle-picker{grid-template-columns:1fr}.grant-audit-mini article{grid-template-columns:1fr}.student-redeem-card,.student-redeem-guide{padding:18px}}


/* V16 — Final Admin Operations completion */
.admin-v16-stage-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0}.admin-v16-stage-strip article,.admin-v16-experience-health article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;box-shadow:var(--shadow)}.admin-v16-stage-strip span{display:block;color:var(--muted);font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:.06em}.admin-v16-stage-strip strong{display:block;font-size:28px;margin:5px 0}.admin-v16-stage-strip small{color:var(--muted)}
.admin-v16-module-readiness,.admin-v16-content-queue,.admin-v16-people-command,.admin-v16-report-controls,.admin-v16-settings-gate,.admin-v16-ops-queue,.admin-v16-ops-footer{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;margin:18px 0;box-shadow:var(--shadow)}.admin-v16-module-readiness header,.admin-v16-content-queue header,.admin-v16-report-controls header,.admin-v16-settings-gate header,.admin-v16-ops-queue header,.admin-v16-ops-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.admin-v16-module-readiness>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px}.admin-v16-module-readiness article{display:flex;gap:12px;align-items:center;background:var(--surface-alt);border:1px solid var(--line);border-radius:16px;padding:14px}.admin-v16-module-readiness article>span{width:34px;height:34px;border-radius:12px;background:#eaf2ff;color:var(--blue);display:grid;place-items:center;font-weight:900}.admin-v16-module-readiness article strong,.admin-v16-module-readiness article small{display:block}.admin-v16-module-readiness article small{color:var(--muted);margin-top:3px}
.admin-v16-filter-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;margin:18px 0}.admin-v16-filter-card form,.admin-v16-report-controls form{display:grid;grid-template-columns:2fr repeat(3,1fr) auto auto;gap:10px;align-items:end}.admin-v16-filter-card label,.admin-v16-report-controls label{font-size:12px;font-weight:800;color:var(--muted)}.admin-v16-filter-card input,.admin-v16-filter-card select,.admin-v16-report-controls select{width:100%;height:44px;margin-top:6px;border:1px solid var(--line);border-radius:12px;padding:0 12px;background:#fff;color:var(--ink)}
.admin-v16-content-queue header>div:last-child{display:flex;gap:8px;flex-wrap:wrap}.admin-v16-readiness{height:7px;background:#edf1f7;border-radius:999px;overflow:hidden;min-width:90px}.admin-v16-readiness span{display:block;height:100%;background:linear-gradient(90deg,#2f6db5,#ff8614)}.admin-v16-action-grid{display:flex;gap:6px;flex-wrap:wrap}.admin-v16-action-grid button{min-height:34px;padding:7px 10px;font-size:12px;border-radius:10px}.admin-v16-preview header,.admin-v16-person-detail header{display:flex;align-items:center;gap:16px;justify-content:space-between}.admin-v16-person-detail header>span{width:56px;height:56px;border-radius:18px;background:#eaf2ff;color:#174e90;display:grid;place-items:center;font-size:20px;font-weight:900}.admin-v16-person-detail header>div{flex:1}.admin-v16-preview-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.admin-v16-preview-facts span{background:var(--surface-alt);border:1px solid var(--line);border-radius:14px;padding:13px}.admin-v16-preview-facts small,.admin-v16-preview-facts strong{display:block}.admin-v16-preview-facts small{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:800}.admin-v16-preview-facts strong{margin-top:4px}.admin-v16-people-command{display:flex;justify-content:space-between;align-items:center;gap:20px}.admin-v16-people-command>div:last-child{display:flex;gap:10px}
.admin-v16-experience-health{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:18px}.admin-v16-experience-health strong,.admin-v16-experience-health small{display:block}.admin-v16-experience-health strong{font-size:26px}.admin-v16-experience-health small{color:var(--muted)}.admin-v16-ops-footer{display:flex;justify-content:space-between;align-items:center}.admin-v16-ops-footer>div:last-child{display:flex;gap:10px}.admin-v16-report-controls form{grid-template-columns:repeat(3,1fr) auto auto;margin-top:16px}.admin-v16-report-controls footer{display:flex;gap:20px;flex-wrap:wrap;color:var(--muted);font-size:12px;margin-top:14px}.admin-v16-flag-grid,.admin-v16-readiness-matrix{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.admin-v16-flag-grid article,.admin-v16-readiness-matrix article{display:flex;justify-content:space-between;gap:12px;align-items:center;background:var(--surface-alt);border:1px solid var(--line);border-radius:14px;padding:14px}.admin-v16-flag-grid strong,.admin-v16-flag-grid small{display:block}.admin-v16-flag-grid small{color:var(--muted)}.admin-v16-readiness-matrix article>span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center}.admin-v16-readiness-matrix .ready>span{background:#e7f7ef;color:#087b4f}.admin-v16-readiness-matrix .blocked>span{background:#fff2e8;color:#c45d00}.admin-v16-settings-gate footer{display:flex;gap:10px}.admin-v16-domain-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.admin-v16-domain-grid button,.admin-v16-ops-queue button{border:1px solid var(--line);background:#fff;border-radius:18px;padding:16px;text-align:left;display:flex;align-items:center;gap:12px;cursor:pointer;box-shadow:var(--shadow)}.admin-v16-domain-grid button>span,.admin-v16-ops-queue button>span{width:42px;height:42px;border-radius:14px;background:#eaf2ff;color:#174e90;display:grid;place-items:center;font-weight:900}.admin-v16-domain-grid button div,.admin-v16-ops-queue button div{flex:1}.admin-v16-domain-grid strong,.admin-v16-domain-grid small,.admin-v16-ops-queue strong,.admin-v16-ops-queue small{display:block}.admin-v16-domain-grid small,.admin-v16-ops-queue small{color:var(--muted);margin-top:4px}.admin-v16-domain-grid b,.admin-v16-ops-queue b{color:var(--blue)}.admin-v16-ops-queue>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
@media(max-width:1180px){.admin-v16-stage-strip,.admin-v16-experience-health{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-v16-domain-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-v16-filter-card form{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-v16-report-controls form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.admin-v16-stage-strip,.admin-v16-module-readiness>div,.admin-v16-experience-health,.admin-v16-domain-grid,.admin-v16-ops-queue>div,.admin-v16-preview-facts,.admin-v16-flag-grid,.admin-v16-readiness-matrix{grid-template-columns:1fr}.admin-v16-filter-card form,.admin-v16-report-controls form{grid-template-columns:1fr}.admin-v16-module-readiness header,.admin-v16-content-queue header,.admin-v16-report-controls header,.admin-v16-settings-gate header,.admin-v16-ops-queue header,.admin-v16-ops-footer,.admin-v16-people-command{flex-direction:column}.admin-v16-action-grid{min-width:240px}.admin-v16-people-command>div:last-child,.admin-v16-ops-footer>div:last-child{width:100%;flex-wrap:wrap}.admin-v16-people-command button,.admin-v16-ops-footer button{flex:1}.admin-table-wrap{overflow:auto}}

/* ============================================================
   V17 — FINAL STUDENT OS COMPLETION
   ============================================================ */
.student-v17-command-hero,.student-v17-course-hero,.student-v17-progress-hero,.student-v17-day-summary,.student-v17-mistake-summary,.student-v17-security-hero,.student-v17-commerce-off{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center;padding:30px;border:1px solid var(--border);border-radius:26px;background:linear-gradient(135deg,#0b1730 0%,#19345f 70%,#35506f 100%);color:#fff;box-shadow:var(--shadow);margin-bottom:24px}.student-v17-command-hero h2,.student-v17-course-hero h2,.student-v17-progress-hero h2,.student-v17-day-summary h2,.student-v17-mistake-summary h2,.student-v17-security-hero h2,.student-v17-commerce-off h2{font-size:32px;line-height:1.08;margin:8px 0 10px}.student-v17-command-hero p,.student-v17-course-hero p,.student-v17-progress-hero p,.student-v17-day-summary p,.student-v17-mistake-summary p,.student-v17-security-hero p,.student-v17-commerce-off p{max-width:820px;color:#d8e3f5;line-height:1.55}.student-v17-command-hero>div>div,.student-v17-course-hero>div>div,.student-v17-progress-hero>div>div,.student-v17-commerce-off>div>div{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.student-v17-command-hero .secondary-button,.student-v17-course-hero .secondary-button,.student-v17-progress-hero .secondary-button,.student-v17-commerce-off .secondary-button{color:#fff;border-color:#7990b5;background:#ffffff12}.student-v17-command-hero aside{display:flex;align-items:center;gap:18px;max-width:330px}.student-v17-command-hero aside p{margin:0}.student-v17-command-hero aside strong,.student-v17-command-hero aside span{display:block}.student-v17-ring{--student-value:0;position:relative;width:118px;height:118px;min-width:118px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#ff8a00 calc(var(--student-value)*1%),#ffffff24 0);box-shadow:inset 0 0 0 1px #ffffff22}.student-v17-ring:before{content:"";position:absolute;inset:12px;border-radius:50%;background:#112448}.student-v17-ring strong,.student-v17-ring small{position:relative;z-index:1;display:block;text-align:center}.student-v17-ring strong{font-size:24px}.student-v17-ring small{font-size:11px;color:#dbe7f9}.student-v17-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin:0 0 24px}.student-v17-kpis .kpi-card{min-width:0}.student-v17-section{margin:26px 0}.student-v17-section>header,.student-v17-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.student-v17-section>header h2,.student-v17-panel>header h2{margin:4px 0 3px;font-size:24px}.student-v17-section>header p{margin:0;color:var(--muted)}.student-v17-task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.student-v17-task{background:#fff;border:1px solid var(--border);border-radius:20px;padding:20px;box-shadow:var(--shadow);display:flex;flex-direction:column;min-height:235px}.student-v17-task header{display:flex;justify-content:space-between;gap:12px}.student-v17-task header span{font-size:11px;font-weight:800;letter-spacing:.08em;color:#245dab;text-transform:uppercase}.student-v17-task header b{font-size:11px;color:#b65c00}.student-v17-task h3{font-size:19px;margin:18px 0 8px}.student-v17-task p{color:var(--muted);line-height:1.5;margin:0}.student-v17-task footer{margin-top:auto;padding-top:18px;border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;gap:12px}.student-v17-task footer>div{display:flex;gap:8px;align-items:center}.student-v17-task.completed{background:#f4fbf7}.student-v17-task.completed h3{text-decoration:line-through;color:#5f6f68}.student-v17-two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0}.student-v17-panel{background:#fff;border:1px solid var(--border);border-radius:22px;padding:22px;box-shadow:var(--shadow)}.student-v17-panel.span-2{grid-column:span 2}.student-v17-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px 0;border-top:1px solid var(--border)}.student-v17-row:first-of-type{border-top:0}.student-v17-row>span{width:38px;height:38px;border-radius:12px;background:#edf4ff;display:grid;place-items:center}.student-v17-row strong,.student-v17-row small{display:block}.student-v17-row small{margin-top:4px;color:var(--muted)}.student-v17-row button,.student-v17-notification button,.student-v17-result-list button,.student-v17-assignment button,.student-v17-course-grid button,.student-v17-mistake-list button{border:1px solid var(--border);background:#fff;border-radius:12px;padding:9px 12px;font-weight:700;color:#0c1a34}.student-v17-day-summary,.student-v17-mistake-summary{background:linear-gradient(135deg,#f8fbff,#eef5ff);color:#0c1a34}.student-v17-day-summary p,.student-v17-mistake-summary p{color:var(--muted)}.student-v17-day-summary .student-v17-ring:before,.student-v17-mistake-summary .student-v17-ring:before{background:#fff}.student-v17-day-summary .student-v17-ring small,.student-v17-mistake-summary .student-v17-ring small{color:#5d6c82}.student-v17-timeline{display:grid;grid-template-columns:90px 1fr;gap:12px;padding:14px 0;border-top:1px solid var(--border)}.student-v17-timeline:first-of-type{border-top:0}.student-v17-timeline time{font-weight:800;color:#245dab}.student-v17-timeline strong,.student-v17-timeline small{display:block}.student-v17-timeline small{color:var(--muted);margin-top:3px}.student-v17-wellbeing{display:grid;gap:12px}.student-v17-wellbeing .info-card{box-shadow:none}.student-v17-notification-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(290px,.7fr);gap:20px}.student-v17-notification-list{display:grid;gap:12px}.student-v17-notification{background:#fff;border:1px solid var(--border);border-radius:18px;padding:18px;display:grid;grid-template-columns:26px minmax(0,1fr);gap:12px;box-shadow:var(--shadow)}.student-v17-notification.unread{border-left:4px solid #ff7a00}.student-v17-notification>span{color:#ff7a00}.student-v17-notification small{color:var(--muted)}.student-v17-notification h3{margin:6px 0}.student-v17-notification p{margin:0;color:var(--muted)}.student-v17-notification div>div{display:flex;gap:8px;margin-top:12px}.student-v17-status-list{list-style:none;padding:0;margin:14px 0;display:grid;gap:12px}.student-v17-status-list li,.student-v17-status-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--border)}.student-v17-security-hero{background:linear-gradient(135deg,#f8fbff,#eef6ff);color:#0c1a34}.student-v17-security-hero p{color:var(--muted)}.student-v17-device{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px 0 18px}.student-v17-device>span:first-child{width:42px;height:42px;border-radius:13px;background:#edf4ff;display:grid;place-items:center}.student-v17-device strong,.student-v17-device small{display:block}.student-v17-device small{color:var(--muted);margin-top:3px}.student-v17-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.student-v17-commerce-off{background:linear-gradient(135deg,#131b30,#303b55)}.student-v17-commerce-off>span{font-size:54px;width:90px;height:90px;border-radius:24px;background:#ffffff12;display:grid;place-items:center}.student-v17-steps{padding-left:20px;margin:14px 0 0}.student-v17-steps li{padding:8px 0;color:var(--muted)}.student-v17-course-hero{background:linear-gradient(135deg,#13234c,#274d82)}.student-v17-course-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.student-v17-course-grid article{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:14px;align-items:center;border:1px solid var(--border);border-radius:18px;padding:16px;background:#fff}.student-v17-course-grid article>span{width:46px;height:46px;border-radius:14px;background:#edf4ff;display:grid;place-items:center;font-size:22px}.student-v17-course-grid h3{margin:0 0 4px}.student-v17-course-grid p{margin:0;color:var(--muted);font-size:13px}.student-v17-course-grid small{display:block;color:#5d6c82;margin-top:5px}.student-v17-mini-progress{height:5px;background:#e7edf6;border-radius:99px;margin-top:10px;overflow:hidden}.student-v17-mini-progress i{display:block;height:100%;background:linear-gradient(90deg,#2868b9,#ff8500)}.student-v17-assignment-list,.student-v17-result-list,.student-v17-mistake-list{display:grid;gap:14px;margin:22px 0}.student-v17-assignment,.student-v17-result-list article,.student-v17-mistake-list article{background:#fff;border:1px solid var(--border);border-radius:20px;padding:18px;box-shadow:var(--shadow);display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:14px;align-items:center}.student-v17-assignment>span,.student-v17-mistake-list article>span{width:46px;height:46px;border-radius:14px;background:#edf4ff;display:grid;place-items:center;font-weight:900}.student-v17-assignment small,.student-v17-result-list small,.student-v17-mistake-list small{color:var(--muted)}.student-v17-assignment h3,.student-v17-result-list h3,.student-v17-mistake-list h3{margin:5px 0}.student-v17-assignment p,.student-v17-result-list p,.student-v17-mistake-list p{margin:0;color:var(--muted)}.student-v17-assignment div>div,.student-v17-result-list article>div:last-child{display:flex;gap:8px;align-items:center;margin-top:10px}.student-v17-assignment.completed{background:#f4fbf7}.student-v17-revision-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:18px}.student-v17-metric-row{display:flex;align-items:center;justify-content:space-between;padding:11px 0;border-bottom:1px solid var(--border)}.student-v17-metric-row span{font-weight:900;color:#245dab}.student-v17-empty-state{background:#fff;border:1px dashed #bed0e6;border-radius:22px;padding:36px;display:flex;gap:18px;align-items:center}.student-v17-empty-state>span{font-size:36px;width:68px;height:68px;border-radius:20px;background:#edf4ff;display:grid;place-items:center}.student-v17-empty-copy{padding:20px;border:1px dashed #c8d6e8;border-radius:16px;color:var(--muted)}.student-v17-score{width:64px;height:64px;border-radius:20px;background:#edf4ff;color:#245dab;display:grid;place-items:center;font-weight:900;font-size:18px}.student-v17-result-list article>div:last-child{margin:0;justify-self:end}.student-v17-mistake-summary{margin-bottom:20px}.student-v17-progress-hero{background:linear-gradient(135deg,#0c1935,#203f72)}
@media(max-width:1280px){.student-v17-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.student-v17-task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.student-v17-course-grid{grid-template-columns:1fr}.student-v17-notification-layout{grid-template-columns:1fr}.student-v17-revision-grid{grid-template-columns:1fr}.student-v17-panel.span-2{grid-column:auto}}
@media(max-width:900px){.student-v17-command-hero,.student-v17-course-hero,.student-v17-progress-hero,.student-v17-day-summary,.student-v17-mistake-summary,.student-v17-security-hero,.student-v17-commerce-off{grid-template-columns:1fr}.student-v17-command-hero aside{max-width:none}.student-v17-two-col{grid-template-columns:1fr}.student-v17-task-grid{grid-template-columns:1fr}.student-v17-course-grid article,.student-v17-assignment,.student-v17-result-list article,.student-v17-mistake-list article{grid-template-columns:44px minmax(0,1fr)}.student-v17-course-grid article>button,.student-v17-assignment>div:last-child,.student-v17-result-list article>div:last-child,.student-v17-mistake-list article>button{grid-column:2;justify-self:start}.student-v17-result-list article>div:last-child{margin-top:8px}.student-v17-commerce-off>span{width:68px;height:68px}}
@media(max-width:600px){.student-v17-command-hero,.student-v17-course-hero,.student-v17-progress-hero,.student-v17-day-summary,.student-v17-mistake-summary,.student-v17-security-hero,.student-v17-commerce-off{padding:20px;border-radius:20px}.student-v17-command-hero h2,.student-v17-course-hero h2,.student-v17-progress-hero h2,.student-v17-day-summary h2,.student-v17-mistake-summary h2,.student-v17-security-hero h2,.student-v17-commerce-off h2{font-size:25px}.student-v17-kpis{grid-template-columns:1fr 1fr}.student-v17-task footer{align-items:flex-start;flex-direction:column}.student-v17-row{grid-template-columns:38px minmax(0,1fr)}.student-v17-row button{grid-column:2;justify-self:start}.student-v17-panel{padding:17px}.student-v17-notification{padding:15px}.student-v17-device{grid-template-columns:40px minmax(0,1fr)}.student-v17-device>.state-badge{grid-column:2;justify-self:start}.student-v17-empty-state{padding:22px;align-items:flex-start}.student-v17-course-grid article,.student-v17-assignment,.student-v17-result-list article,.student-v17-mistake-list article{padding:15px}.student-v17-ring{width:100px;height:100px;min-width:100px}}

.student-v17-command-hero{min-width:0}.student-v17-task-grid{min-width:0}.student-v17-notification-layout{min-width:0}.student-v17-course-grid{min-width:0}.student-v17-revision-grid{min-width:0}

/* ========================================================================== */
/* V18 — FINAL MENTOR OS COMPLETION                                           */
/* ========================================================================== */
.mentor-v18-command-hero{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(240px,.65fr);gap:28px;padding:30px;border-radius:24px;background:linear-gradient(135deg,#10224a 0%,#1e4b70 72%,#4a6b78 100%);color:#fff;border-bottom:4px solid var(--orange-500);box-shadow:var(--shadow-md);margin-bottom:24px}
.mentor-v18-command-hero.compact{grid-template-columns:minmax(0,1fr) 220px}
.mentor-v18-command-hero h2{font-size:34px;line-height:1.08;letter-spacing:-.035em;margin:8px 0 12px;max-width:820px}
.mentor-v18-command-hero p{color:#dce8f5;line-height:1.65;max-width:760px}
.mentor-v18-command-hero>div>div{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.mentor-v18-command-hero aside{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:20px;padding:22px;display:grid;place-items:center;text-align:center;align-content:center;gap:14px}
.mentor-v18-command-hero aside p{margin:0;display:grid;gap:5px}
.mentor-v18-command-hero aside span{font-size:12px;color:#dce8f5}
.mentor-v18-ring{--mentor-value:50;width:124px;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;position:relative;background:conic-gradient(var(--orange-500) calc(var(--mentor-value)*1%),rgba(255,255,255,.16) 0)}
.mentor-v18-ring:before{content:"";position:absolute;inset:12px;border-radius:50%;background:#183356}
.mentor-v18-ring strong,.mentor-v18-ring small{position:relative;z-index:1;grid-column:1;grid-row:1}
.mentor-v18-ring strong{font-size:25px;transform:translateY(-8px)}
.mentor-v18-ring small{font-size:11px;color:#dce8f5;transform:translateY(16px)}
.mentor-v18-kpis{display:grid;grid-template-columns:repeat(6,minmax(150px,1fr));gap:14px;margin-bottom:24px}
.mentor-v18-section{margin:26px 0}
.mentor-v18-section>header,.mentor-v18-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.mentor-v18-section h2,.mentor-v18-panel h2{margin:3px 0 0;font-size:22px;color:var(--navy-900)}
.mentor-v18-section header p{margin:6px 0 0;color:var(--muted)}
.mentor-v18-task-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.mentor-v18-task{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;min-height:220px}
.mentor-v18-task>header{display:flex;justify-content:space-between;gap:12px;color:var(--blue-700);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.mentor-v18-task>header b{color:var(--orange-600)}
.mentor-v18-task h3{font-size:18px;margin:18px 0 8px}
.mentor-v18-task p{color:var(--muted);line-height:1.55;margin:0 0 18px}
.mentor-v18-task footer{margin-top:auto;display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.mentor-v18-task footer div{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.mentor-v18-task button,.mentor-v18-row button,.mentor-v18-notification button,.mentor-v18-attention-grid button,.mentor-v18-group-grid button,.mentor-v18-collection-grid button,.mentor-v18-calendar button,.mentor-v18-group-detail button{border:1px solid #d9e2ed;background:#fff;border-radius:10px;padding:8px 11px;cursor:pointer;font-weight:700}
.mentor-v18-task.completed{opacity:.72;background:#f7fbf9}
.mentor-v18-two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0}
.mentor-v18-panel{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;box-shadow:var(--shadow-sm)}
.mentor-v18-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 0;border-top:1px solid #edf1f6}
.mentor-v18-row:first-of-type{border-top:0}
.mentor-v18-row time{font-weight:750;color:var(--blue-700);min-width:118px}
.mentor-v18-row div{display:grid;gap:4px}
.mentor-v18-row small{color:var(--muted)}
.mentor-v18-status-list{list-style:none;padding:0;margin:15px 0 0;display:grid;gap:0}
.mentor-v18-status-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-top:1px solid #edf1f6}
.mentor-v18-status-list li:first-child{border-top:0}
.mentor-v18-notification-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.65fr);gap:18px}
.mentor-v18-notification-list{display:grid;gap:12px}
.mentor-v18-notification{display:grid;grid-template-columns:26px minmax(0,1fr);gap:12px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:var(--shadow-sm)}
.mentor-v18-notification.unread{border-left:4px solid var(--orange-500)}
.mentor-v18-notification.read{opacity:.76}
.mentor-v18-notification h3{margin:5px 0 6px;font-size:18px}
.mentor-v18-notification p{color:var(--muted);margin:0 0 12px;line-height:1.55}
.mentor-v18-notification div>div{display:flex;gap:8px}
.mentor-v18-attention-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.mentor-v18-attention-grid>article{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;box-shadow:var(--shadow-sm)}
.mentor-v18-attention-grid article>header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px}
.mentor-v18-attention-grid h3{margin:0;font-size:19px}
.mentor-v18-attention-grid header p{margin:4px 0 0;color:var(--muted)}
.mentor-v18-attention-grid>article>p{color:var(--muted);line-height:1.55}
.mentor-v18-attention-grid footer{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.mentor-v18-signal-grid,.mentor-v18-snapshot-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}
.mentor-v18-signal-grid span,.mentor-v18-snapshot-grid span{border:1px solid #e1e7f0;background:#f8fafc;border-radius:13px;padding:12px;display:grid;gap:5px}
.mentor-v18-signal-grid small,.mentor-v18-snapshot-grid small{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:800}
.mentor-v18-group-grid,.mentor-v18-collection-grid,.mentor-v18-outcome-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.mentor-v18-group-grid>article,.mentor-v18-collection-grid>article,.mentor-v18-outcome-grid>article{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;box-shadow:var(--shadow-sm)}
.mentor-v18-group-grid header,.mentor-v18-collection-grid header,.mentor-v18-outcome-grid header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px}
.mentor-v18-group-grid h3,.mentor-v18-collection-grid h3,.mentor-v18-outcome-grid h3{margin:0;font-size:19px}
.mentor-v18-group-grid p,.mentor-v18-collection-grid p,.mentor-v18-outcome-grid p{color:var(--muted);line-height:1.55}
.mentor-v18-group-grid footer,.mentor-v18-collection-grid footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:15px}
.mentor-v18-chip-row{display:flex;flex-wrap:wrap;gap:7px}
.mentor-v18-chip-row span{border:1px solid #dce5ef;background:#f8fafc;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:700}
.mentor-v18-learner-360{display:grid;gap:18px}
.mentor-v18-learner-360>header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:15px;align-items:center}
.mentor-v18-large-avatar{width:66px;height:66px;border-radius:20px;background:linear-gradient(145deg,var(--navy-900),var(--blue-700));color:#fff;display:grid;place-items:center;font-size:21px;font-weight:850}
.mentor-v18-learner-360 h2{margin:3px 0;font-size:28px}
.mentor-v18-learner-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.mentor-v18-learner-tabs>section{border:1px solid var(--line);border-radius:17px;padding:16px;background:#fff}
.mentor-v18-learner-tabs h3{margin:5px 0 14px}
.mentor-v18-note{border-left:3px solid var(--blue-600);background:#f6f9fd;border-radius:0 12px 12px 0;padding:11px 12px;margin:10px 0}
.mentor-v18-note p{margin:6px 0;color:var(--ink);line-height:1.5}
.mentor-v18-note small{color:var(--muted)}
.mentor-v18-assignment-review,.mentor-v18-question-detail{display:grid;gap:16px}
.mentor-v18-assignment-review>header,.mentor-v18-question-detail>header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center}
.mentor-v18-assignment-review h2,.mentor-v18-question-detail h2{margin:4px 0}
.mentor-v18-evidence{background:#f8fafc;border:1px solid var(--line);border-radius:14px;padding:14px;margin-top:12px}
.mentor-v18-evidence p{margin:5px 0 12px;color:var(--muted)}
.mentor-v18-question-detail blockquote{margin:0;border-left:4px solid var(--orange-500);background:var(--orange-100);border-radius:0 14px 14px 0;padding:18px;font-size:17px;line-height:1.6}
.mentor-v18-collection-resources{display:grid;gap:8px;margin-top:15px}
.mentor-v18-collection-resources button{display:grid;text-align:left;gap:4px}
.mentor-v18-collection-resources small{color:var(--muted)}
.mentor-v18-calendar{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px;box-shadow:var(--shadow-sm)}
.mentor-v18-calendar>header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:10px}
.mentor-v18-calendar h2{margin:4px 0 0}
.mentor-v18-calendar>article{display:grid;grid-template-columns:180px 130px minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px 0;border-top:1px solid #edf1f6}
.mentor-v18-calendar>article time{font-weight:800;color:var(--blue-700)}
.mentor-v18-calendar>article>span{font-size:12px;font-weight:800;color:var(--orange-600);text-transform:uppercase}
.mentor-v18-calendar article div{display:grid;gap:4px}
.mentor-v18-calendar small{color:var(--muted)}
.mentor-v18-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px;box-shadow:var(--shadow-sm)}
.mentor-v18-settings-grid label{display:grid;gap:7px}
.mentor-v18-settings-grid label span{font-size:12px;font-weight:800;color:var(--navy-800)}
.mentor-v18-settings-grid input,.mentor-v18-settings-grid select{height:46px;border:1px solid #d7e0eb;border-radius:12px;padding:0 12px;background:#fff}
.mentor-v18-device{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px 0;border-top:1px solid #edf1f6}
.mentor-v18-device:first-of-type{border-top:0}
.mentor-v18-device div{display:grid;gap:4px}
.mentor-v18-device small{color:var(--muted)}
.mentor-v18-account-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.mentor-v18-outcome-values{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;text-align:center;gap:10px;margin:18px 0}
.mentor-v18-outcome-values span:not(:nth-child(2)){border:1px solid var(--line);border-radius:14px;padding:12px;display:grid;gap:4px}
.mentor-v18-outcome-values strong{font-size:24px;color:var(--blue-700)}
.mentor-v18-group-detail{display:grid;gap:10px}
.mentor-v18-group-detail>button{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;text-align:left;gap:12px}
.mentor-v18-group-detail>button>span{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:var(--blue-100);font-weight:800}
.mentor-v18-group-detail>button>small{color:var(--muted)}

@media(max-width:1280px){
  .mentor-v18-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mentor-v18-task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mentor-v18-learner-tabs{grid-template-columns:1fr}
}
@media(max-width:1024px){
  .mentor-v18-command-hero,.mentor-v18-command-hero.compact,.mentor-v18-notification-layout{grid-template-columns:1fr}
  .mentor-v18-attention-grid,.mentor-v18-group-grid,.mentor-v18-collection-grid,.mentor-v18-outcome-grid{grid-template-columns:1fr}
  .mentor-v18-calendar>article{grid-template-columns:140px 110px minmax(0,1fr)}
  .mentor-v18-calendar>article button{grid-column:3}
}
@media(max-width:760px){
  .mentor-v18-command-hero{padding:22px;border-radius:20px}
  .mentor-v18-command-hero h2{font-size:27px}
  .mentor-v18-kpis,.mentor-v18-task-grid,.mentor-v18-two-col,.mentor-v18-settings-grid{grid-template-columns:1fr}
  .mentor-v18-signal-grid,.mentor-v18-snapshot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mentor-v18-task footer{align-items:flex-start;flex-direction:column}
  .mentor-v18-calendar>header{flex-direction:column}
  .mentor-v18-calendar>article{grid-template-columns:1fr;gap:6px}
  .mentor-v18-calendar>article button{grid-column:auto;justify-self:start}
  .mentor-v18-learner-360>header,.mentor-v18-assignment-review>header,.mentor-v18-question-detail>header{grid-template-columns:auto minmax(0,1fr)}
  .mentor-v18-learner-360>header>.state-badge,.mentor-v18-assignment-review>header>.state-badge{grid-column:1/-1;justify-self:start}
}
@media(max-width:480px){
  .mentor-v18-signal-grid,.mentor-v18-snapshot-grid{grid-template-columns:1fr}
  .mentor-v18-row{grid-template-columns:1fr}
  .mentor-v18-row time{min-width:0}
}

/* --------------------------------------------------------------------------
   V19 — Mentor action visibility correction + Final Public OS
   -------------------------------------------------------------------------- */
/* Mentor V18 generic button skin must never erase semantic button states. */
.mentor-v18-task .primary-button,.mentor-v18-row .primary-button,.mentor-v18-notification .primary-button,.mentor-v18-attention-grid .primary-button,.mentor-v18-group-grid .primary-button,.mentor-v18-collection-grid .primary-button,.mentor-v18-calendar .primary-button,.mentor-v18-group-detail .primary-button{background:var(--navy-900);border-color:var(--navy-900);color:#fff;box-shadow:0 8px 20px rgba(11,19,38,.16)}
.mentor-v18-task .primary-button:hover,.mentor-v18-row .primary-button:hover,.mentor-v18-notification .primary-button:hover,.mentor-v18-attention-grid .primary-button:hover,.mentor-v18-group-grid .primary-button:hover,.mentor-v18-collection-grid .primary-button:hover,.mentor-v18-calendar .primary-button:hover,.mentor-v18-group-detail .primary-button:hover{background:var(--navy-800);color:#fff}
.mentor-v18-task .orange-button,.mentor-v18-row .orange-button,.mentor-v18-notification .orange-button,.mentor-v18-attention-grid .orange-button,.mentor-v18-group-grid .orange-button,.mentor-v18-collection-grid .orange-button,.mentor-v18-calendar .orange-button,.mentor-v18-group-detail .orange-button{background:var(--orange-500);border-color:var(--orange-500);color:#fff}
.mentor-v18-attention-grid .secondary-button{background:#fff;color:var(--navy-900);border-color:#d9e2ed}

.public-v19-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr);gap:30px;align-items:center;padding:46px;border-radius:30px;background:radial-gradient(circle at 80% 15%,rgba(255,154,36,.23),transparent 28%),linear-gradient(135deg,#050b19 0%,#101c37 50%,#182c53 100%);color:#fff;border:1px solid rgba(255,255,255,.08);border-bottom:5px solid var(--orange-500);box-shadow:0 24px 60px rgba(8,20,43,.24);margin-bottom:22px}
.public-v19-hero:after{content:"";position:absolute;width:440px;height:440px;border-radius:50%;right:-190px;bottom:-280px;background:radial-gradient(circle,rgba(59,125,219,.32),transparent 70%)}
.public-v19-hero-copy,.public-v19-os-panel{position:relative;z-index:1}.public-v19-hero h1{font-size:clamp(42px,5vw,72px);line-height:.98;letter-spacing:-.045em;margin:12px 0 18px;max-width:920px}.public-v19-hero-copy>p{max-width:780px;font-size:17px;line-height:1.7;color:#d7e3f7}.public-v19-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}.public-v19-actions .secondary-button{color:#fff;background:#ffffff10;border-color:#ffffff36}.public-v19-trust-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}.public-v19-trust-chips span{padding:7px 10px;border-radius:999px;border:1px solid #ffffff22;background:#ffffff0d;color:#dbe7f7;font-size:11px;font-weight:800}
.public-v19-os-panel{padding:22px;border-radius:24px;background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.045));border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(18px);box-shadow:inset 0 1px 0 #ffffff13}.public-v19-os-panel header{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:15px}.public-v19-os-panel header span{font-size:11px;font-weight:900;letter-spacing:.09em}.public-v19-os-panel header b{font-size:11px;color:#ffc47c}.public-v19-os-panel article{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:center;padding:15px;border:1px solid #ffffff1c;background:#07142a7d;border-radius:16px;margin-top:10px}.public-v19-os-panel article>span{width:42px;height:42px;border-radius:13px;background:#ffffff13;display:grid;place-items:center;font-weight:900}.public-v19-os-panel strong,.public-v19-os-panel small{display:block}.public-v19-os-panel small{color:#bdcce3;line-height:1.45;margin-top:3px}.public-v19-os-panel footer{display:flex;gap:7px;flex-wrap:wrap;margin-top:15px}.public-v19-os-panel footer span{background:#ffffff13;border:1px solid #ffffff18;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:800}
.public-v19-proof-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:18px 0 26px}.public-v19-proof-strip article{padding:17px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-sm)}.public-v19-proof-strip strong,.public-v19-proof-strip small{display:block}.public-v19-proof-strip strong{font-size:28px;color:#0d2449}.public-v19-proof-strip small{color:var(--muted);margin-top:3px}
.public-v19-section{margin:34px 0}.public-v19-section>header{max-width:800px;margin-bottom:18px}.public-v19-section h2{font-size:32px;margin:7px 0}.public-v19-section header p{color:var(--muted);line-height:1.6}.public-v19-engine-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.public-v19-engine-grid article{padding:21px;border-radius:20px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-sm);min-height:230px;display:flex;flex-direction:column}.public-v19-engine-grid article>span{width:44px;height:44px;border-radius:14px;background:#edf4ff;color:#163f75;display:grid;place-items:center;font-size:20px;font-weight:900}.public-v19-engine-grid h3{font-size:19px;margin:17px 0 8px}.public-v19-engine-grid p{color:var(--muted);line-height:1.55;margin:0}.public-v19-engine-grid button{margin-top:auto;align-self:flex-start;border:0;background:transparent;color:#1856a5;font-weight:900;padding:15px 0 0;cursor:pointer}
.public-v19-final-cta{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:25px;align-items:center;padding:30px;border-radius:24px;background:linear-gradient(135deg,#eef5ff,#fff7ef);border:1px solid #d5e3f4;margin:34px 0}.public-v19-final-cta h2{font-size:31px;margin:7px 0}.public-v19-final-cta p{color:var(--muted);line-height:1.55}.public-v19-final-cta>div:last-child{display:flex;gap:10px;flex-wrap:wrap}
.public-v19-footer{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;margin:36px 0 4px;padding:25px;border-radius:22px;background:#0b1730;color:#fff}.public-v19-footer strong{font-size:19px}.public-v19-footer p{margin:5px 0 0;color:#bdcce3}.public-v19-footer nav{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.public-v19-footer button{border:0;background:transparent;color:#dbe7f7;padding:8px;font-weight:800;cursor:pointer}.public-v19-footer small{grid-column:1/-1;border-top:1px solid #ffffff18;padding-top:14px;color:#9fb1cc}
.public-v19-principle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.public-v19-principle-grid article{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;box-shadow:var(--shadow-sm)}.public-v19-principle-grid article>span{color:#ff7400;font-size:12px;font-weight:900}.public-v19-principle-grid h3{font-size:20px;margin:13px 0 8px}.public-v19-principle-grid p{color:var(--muted);line-height:1.55;margin:0}
.public-v19-safety{display:grid;grid-template-columns:1fr 1fr;gap:25px;padding:28px;margin:26px 0;border-radius:24px;background:linear-gradient(135deg,#0c1936,#244e75);color:#fff;border-bottom:4px solid #ff7a00}.public-v19-safety h2{font-size:29px;margin:7px 0}.public-v19-safety p,.public-v19-safety li{color:#dbe6f5;line-height:1.6}.public-v19-safety ul{margin:0;padding-left:20px}
.public-v19-journey{display:grid;grid-template-columns:1fr 1fr;gap:14px}.public-v19-journey article{display:grid;grid-template-columns:54px 1fr;gap:14px;background:#fff;border:1px solid var(--line);border-radius:19px;padding:20px;box-shadow:var(--shadow-sm)}.public-v19-journey article>span{width:50px;height:50px;border-radius:15px;background:#0c1a37;color:#fff;display:grid;place-items:center;font-weight:900}.public-v19-journey h3{margin:2px 0 6px}.public-v19-journey p{margin:0;color:var(--muted);line-height:1.5}.public-v19-role-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:26px 0}.public-v19-role-grid article{padding:20px;border-radius:19px;border:1px solid var(--line);background:#fff}.public-v19-role-grid span{color:#ff7200;font-size:11px;font-weight:900;letter-spacing:.08em}.public-v19-role-grid h3{margin:13px 0 7px}.public-v19-role-grid p{color:var(--muted);line-height:1.5;margin:0}
.public-v19-catalog-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;padding:24px;border-radius:22px;background:linear-gradient(135deg,#0c1936,#244d76);color:#fff;margin-bottom:18px}.public-v19-catalog-summary h2{margin:7px 0;font-size:27px}.public-v19-catalog-summary p{color:#d7e4f5;margin:0}.public-v19-catalog-summary>div:last-child{display:flex;gap:9px}.public-v19-catalog-summary article{min-width:105px;padding:13px;border-radius:15px;background:#ffffff12;border:1px solid #ffffff1b}.public-v19-catalog-summary strong,.public-v19-catalog-summary small{display:block}.public-v19-catalog-summary strong{font-size:24px}.public-v19-catalog-summary small{color:#dce8f7}
.public-v19-commerce-off{display:grid;grid-template-columns:56px 1fr auto;gap:16px;align-items:center;padding:20px;border-radius:19px;border:1px solid #d9e2ee;background:#f8fbff;margin:0 0 20px}.public-v19-commerce-off>span{width:54px;height:54px;border-radius:16px;background:#eef4ff;display:grid;place-items:center;font-size:24px;color:#173d72}.public-v19-commerce-off strong{display:block;font-size:17px}.public-v19-commerce-off p{margin:4px 0 0;color:var(--muted);line-height:1.5}.public-v19-commerce-off b{color:#a84d00;background:#fff1e4;border-radius:999px;padding:8px 11px;font-size:10px}.public-v19-scope-matrix{margin:28px 0}.public-v19-scope-matrix h2{font-size:28px;margin:7px 0}.public-v19-scope-matrix>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.public-v19-scope-matrix article{padding:20px;background:#fff;border:1px solid var(--line);border-radius:18px}.public-v19-scope-matrix strong{font-size:19px;color:#153f77}.public-v19-scope-matrix p{color:var(--muted);line-height:1.5}
.public-v19-free-intro{display:grid;grid-template-columns:70px 1fr;gap:18px;align-items:center;padding:24px;border-radius:22px;background:linear-gradient(135deg,#f4fbf7,#fff);border:1px solid #cde7d8;margin-bottom:20px}.public-v19-free-intro>span{width:66px;height:66px;border-radius:20px;background:#e4f7ec;color:#08794b;display:grid;place-items:center;font-size:30px}.public-v19-free-intro h2{margin:0 0 6px}.public-v19-free-intro p{margin:0;color:var(--muted)}
.public-v19-mission{display:grid;grid-template-columns:1.2fr .8fr;gap:25px;padding:32px;border-radius:25px;background:linear-gradient(135deg,#0b1730,#294f70);color:#fff;margin-bottom:24px}.public-v19-mission h2{font-size:34px;margin:8px 0}.public-v19-mission p{color:#dbe7f4;line-height:1.6}.public-v19-mission aside{display:grid;gap:10px}.public-v19-mission article{padding:15px;border:1px solid #ffffff1c;background:#ffffff0d;border-radius:15px}.public-v19-mission strong,.public-v19-mission small{display:block}.public-v19-mission small{color:#cbd9ec;margin-top:4px}.public-v19-system-map{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.public-v19-system-map article{padding:22px;border:1px solid var(--line);background:#fff;border-radius:20px;box-shadow:var(--shadow-sm)}.public-v19-system-map span{color:#f27200;font-weight:900}.public-v19-system-map h3{font-size:20px;margin:14px 0 7px}.public-v19-system-map p{color:var(--muted);line-height:1.5}
.public-v19-faq{display:grid;gap:10px}.public-v19-faq details{background:#fff;border:1px solid var(--line);border-radius:17px;padding:0 18px;box-shadow:var(--shadow-sm)}.public-v19-faq summary{cursor:pointer;font-weight:850;padding:18px 0}.public-v19-faq p{color:var(--muted);line-height:1.6;border-top:1px solid var(--line);padding:15px 0;margin:0}.public-v19-policy{display:grid;grid-template-columns:1fr 1fr;gap:15px}.public-v19-policy article{padding:22px;background:#fff;border:1px solid var(--line);border-radius:20px}.public-v19-policy h2{font-size:19px}.public-v19-policy p{color:var(--muted);line-height:1.6}.public-v19-support-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.public-v19-support-grid article{padding:21px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow-sm);display:flex;flex-direction:column}.public-v19-support-grid article>span{width:44px;height:44px;border-radius:14px;background:#edf4ff;display:grid;place-items:center;font-weight:900}.public-v19-support-grid h3{margin:16px 0 7px}.public-v19-support-grid p{color:var(--muted);line-height:1.5}.public-v19-support-grid button{margin-top:auto;border:0;background:transparent;text-align:left;color:#1759a7;padding:12px 0 0;font-weight:900;cursor:pointer}.public-v19-request-status{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:25px 0}.public-v19-request-status div{padding:18px;border-radius:17px;background:#fff;border:1px solid var(--line)}.public-v19-request-status strong,.public-v19-request-status small{display:block}.public-v19-request-status strong{font-size:21px}.public-v19-request-status small{color:var(--muted);margin-top:3px}

@media(max-width:1200px){.public-v19-hero{grid-template-columns:1fr}.public-v19-proof-strip{grid-template-columns:repeat(3,1fr)}.public-v19-engine-grid,.public-v19-principle-grid,.public-v19-system-map{grid-template-columns:repeat(2,minmax(0,1fr))}.public-v19-support-grid,.public-v19-role-grid,.public-v19-scope-matrix>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.public-v19-hero{padding:24px;border-radius:22px}.public-v19-hero h1{font-size:40px}.public-v19-proof-strip,.public-v19-engine-grid,.public-v19-principle-grid,.public-v19-system-map,.public-v19-journey,.public-v19-role-grid,.public-v19-support-grid,.public-v19-scope-matrix>div,.public-v19-policy,.public-v19-request-status{grid-template-columns:1fr}.public-v19-final-cta,.public-v19-safety,.public-v19-mission,.public-v19-catalog-summary,.public-v19-commerce-off,.public-v19-footer{grid-template-columns:1fr}.public-v19-catalog-summary>div:last-child{display:grid;grid-template-columns:repeat(3,1fr)}.public-v19-catalog-summary article{min-width:0}.public-v19-footer nav{justify-content:flex-start}.public-v19-mission{padding:23px}.public-v19-mission h2{font-size:28px}}
@media(max-width:480px){.public-v19-hero h1{font-size:34px}.public-v19-actions>*{width:100%}.public-v19-proof-strip{grid-template-columns:1fr 1fr}.public-v19-catalog-summary>div:last-child{grid-template-columns:1fr}.public-v19-final-cta>div:last-child>*{width:100%}.public-v19-free-intro{grid-template-columns:1fr}.public-v19-commerce-off>b{justify-self:start}}


/* V20 — compact Public hero + Drive-native authentication */
.public-v20-hero{grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);gap:24px;padding:30px 34px;border-radius:24px;margin-bottom:18px;min-height:390px;max-height:470px}
.public-v20-hero .public-v19-hero-copy{align-self:center}.public-v20-hero h1{font-size:clamp(38px,4.25vw,58px);line-height:.99;margin:8px 0 13px;max-width:720px}.public-v20-hero .public-v19-hero-copy>p{font-size:15px;line-height:1.55;max-width:680px}.public-v20-hero .public-v19-actions{margin-top:18px;gap:9px}.public-v20-hero .public-v19-trust-chips{margin-top:14px}.public-v20-hero .public-v19-trust-chips span{padding:5px 9px;font-size:10px}
.public-v20-os-panel{padding:17px;border-radius:20px}.public-v20-os-panel header{margin-bottom:8px}.public-v20-os-grid{display:grid;grid-template-columns:1fr;gap:8px}.public-v20-os-panel .public-v20-os-grid article{margin:0;padding:11px 12px;border-radius:14px;grid-template-columns:36px 1fr;gap:10px}.public-v20-os-panel .public-v20-os-grid article>span{width:34px;height:34px;border-radius:10px}.public-v20-os-panel .public-v20-os-grid strong{font-size:14px}.public-v20-os-panel .public-v20-os-grid small{font-size:10px;margin-top:1px}.public-v20-os-panel footer{margin-top:10px}.public-v20-os-panel footer span{padding:5px 8px;font-size:9px}
.app-shell.auth-route{grid-template-columns:1fr;grid-template-areas:"top" "main"}.app-shell.auth-route .topbar{grid-template-columns:1fr;padding-inline:32px}.app-shell.auth-route .global-search,.app-shell.auth-route .top-actions,.app-shell.auth-route .parent-rail,.app-shell.auth-route .context-rail,.app-shell.auth-route .mobile-dock,.app-shell.auth-route .mobile-context-strip{display:none!important}.app-shell.auth-route #main-content{padding:26px 28px 50px;background:radial-gradient(circle at 12% 15%,#eaf3ff,transparent 34%),radial-gradient(circle at 88% 88%,#fff0df,transparent 30%),#f5f7fb}.app-shell.auth-route #pageContent{width:min(1160px,100%);margin:0 auto}
.auth-v20-layout{min-height:calc(100vh - var(--topbar-h) - 76px);display:grid;grid-template-columns:minmax(0,1.04fr) minmax(390px,.96fr);border:1px solid #d9e2ee;border-radius:26px;overflow:hidden;background:#fff;box-shadow:0 26px 70px rgba(8,20,43,.15)}
.auth-v20-trust{position:relative;overflow:hidden;padding:42px;background:radial-gradient(circle at 84% 12%,rgba(255,151,36,.24),transparent 25%),linear-gradient(145deg,#071126,#10264b 65%,#1e4771);color:#fff;display:flex;flex-direction:column}.auth-v20-trust:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-240px;bottom:-260px;background:#3f7bc733}.auth-v20-trust>*{position:relative;z-index:1}.auth-v20-brand{display:flex;align-items:center;gap:12px;margin-bottom:38px}.auth-v20-mark{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,#ff9a18,#f26d00);font-size:25px;font-weight:900}.auth-v20-brand div{display:flex;flex-direction:column;line-height:1}.auth-v20-brand strong{font-size:20px}.auth-v20-brand small{color:#ffab4c;text-transform:uppercase;letter-spacing:.17em;font-weight:850;font-size:9px;margin-top:5px}.auth-v20-trust .eyebrow{color:#ffb760}.auth-v20-trust h1{font-size:clamp(32px,3.2vw,48px);line-height:1.03;letter-spacing:-.04em;margin:11px 0 14px;max-width:590px}.auth-v20-trust>p{color:#cfdbed;line-height:1.65;max-width:600px;margin:0}.auth-return-card{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:center;padding:14px;margin:24px 0 20px;border:1px solid #ffffff20;background:#ffffff0d;border-radius:16px}.auth-return-card>span{width:42px;height:42px;border-radius:13px;background:#ffffff13;display:grid;place-items:center;font-size:20px}.auth-return-card div{min-width:0}.auth-return-card small,.auth-return-card strong,.auth-return-card code{display:block}.auth-return-card small{font-size:9px;letter-spacing:.12em;color:#ffbd6e;font-weight:900}.auth-return-card strong{font-size:15px;margin:4px 0}.auth-return-card code{font-size:9px;color:#adc1df;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.auth-v20-points{display:grid;gap:9px}.auth-v20-points article{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:start;padding:10px 0}.auth-v20-points article>span{width:32px;height:32px;border-radius:10px;background:#ffffff12;display:grid;place-items:center}.auth-v20-points strong,.auth-v20-points small{display:block}.auth-v20-points strong{font-size:13px}.auth-v20-points small{color:#aebed7;line-height:1.4;margin-top:2px}.auth-v20-trust footer{margin-top:auto;padding-top:28px;display:flex;align-items:center;justify-content:space-between;gap:12px}.auth-v20-trust footer button{border:0;background:transparent;color:#fff;padding:8px 0;font-weight:800;cursor:pointer}.auth-v20-trust footer small{color:#8fa3c2;font-size:9px;text-align:right}
.auth-v20-card{padding:42px 46px;align-self:center;width:100%;max-height:calc(100vh - 155px);overflow:auto}.auth-v20-card.compact{max-width:560px;justify-self:center}.auth-v20-card header{text-align:left;margin-bottom:22px}.auth-v20-step{color:#f17100;font-size:10px;font-weight:900;letter-spacing:.14em}.auth-v20-card h2{font-size:34px;letter-spacing:-.035em;margin:8px 0 7px;color:var(--navy-900)}.auth-v20-card header p{margin:0;color:var(--muted);line-height:1.5}.auth-google-button{width:100%;height:48px;border:1px solid #d6dfeb;border-radius:13px;background:#fff;color:var(--navy-900);font-weight:800;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px}.auth-google-button:hover{background:#f8fafc;border-color:#b9cbe1}.auth-google-button span{width:27px;height:27px;border-radius:50%;background:#fff;border:1px solid #dbe3ee;color:#4285f4;display:grid;place-items:center;font-weight:900}.auth-divider{display:flex;align-items:center;gap:12px;margin:18px 0;color:#8993a5;font-size:10px;font-weight:800}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:#e1e7ef;flex:1}.auth-v20-form{display:grid;gap:15px}.auth-v20-grid{grid-template-columns:1fr 1fr;gap:13px 14px}.auth-v20-grid .span-2{grid-column:1/-1}.auth-field{display:grid;gap:7px;font-size:11px;font-weight:800;color:#354158}.auth-field input,.auth-field select{width:100%;height:46px;border:1px solid #d4deea;border-radius:12px;background:#fff;padding:0 13px;color:var(--ink);font:inherit;font-size:14px}.auth-field input:focus,.auth-field select:focus{outline:0;border-color:#6d9bd4;box-shadow:0 0 0 4px #3576c818}.auth-password-wrap{display:grid;grid-template-columns:1fr auto;border:1px solid #d4deea;border-radius:12px;overflow:hidden}.auth-password-wrap:focus-within{border-color:#6d9bd4;box-shadow:0 0 0 4px #3576c818}.auth-password-wrap input{border:0;border-radius:0;box-shadow:none!important}.auth-password-wrap button{border:0;background:#f4f7fb;color:#34557f;padding:0 13px;font-size:11px;font-weight:850;cursor:pointer}.auth-inline-row{display:flex;align-items:center;justify-content:space-between;gap:15px}.auth-check{display:flex;align-items:flex-start;gap:8px;font-size:11px;color:#596478;line-height:1.45}.auth-check input{margin-top:2px;accent-color:#245fa8}.auth-text-action,.auth-account-switch button,.auth-inline-actions button{border:0;background:transparent;color:#175aa8;font-weight:850;cursor:pointer;padding:4px}.auth-primary,.auth-secondary{width:100%;min-height:48px;border-radius:13px;font-weight:850;cursor:pointer;padding:0 18px}.auth-primary{border:0;background:linear-gradient(135deg,#0b1730,#163e70);color:#fff;box-shadow:0 10px 24px #0b17302a}.auth-primary:hover{background:linear-gradient(135deg,#132447,#1f568d)}.auth-secondary{border:1px solid #d4deea;background:#fff;color:var(--navy-900);margin-top:10px}.auth-account-switch{display:flex;align-items:center;justify-content:center;gap:5px;margin-top:20px;padding-top:17px;border-top:1px solid #e3e8ef;color:#687387;font-size:12px}.auth-security-note{display:grid;grid-template-columns:34px 1fr;gap:10px;padding:13px;margin-top:17px;border-radius:13px;background:#f3f7fc;border:1px solid #e0e8f2}.auth-security-note>span{width:32px;height:32px;border-radius:10px;background:#e6f0ff;display:grid;place-items:center;color:#1d5b9f}.auth-security-note strong,.auth-security-note small{display:block}.auth-security-note strong{font-size:11px}.auth-security-note small{font-size:10px;color:#748095;line-height:1.4;margin-top:2px}.auth-password-rules{display:flex;gap:6px;flex-wrap:wrap;margin-top:13px}.auth-password-rules strong{width:100%;font-size:10px;color:#5c687b}.auth-password-rules span{font-size:9px;background:#eef4fb;color:#48617f;border-radius:999px;padding:5px 8px}.auth-verification-icon{width:66px;height:66px;border-radius:20px;background:#eaf4ff;color:#1a5ea8;display:grid;place-items:center;font-size:30px;margin-bottom:20px}.auth-verification-steps{list-style:none;margin:22px 0;padding:0;display:grid;gap:11px}.auth-verification-steps li{display:grid;grid-template-columns:37px 1fr;gap:11px;align-items:start;padding:12px;border:1px solid #e1e7ef;border-radius:13px}.auth-verification-steps li>span{width:35px;height:35px;border-radius:11px;background:#0e1e3a;color:#fff;display:grid;place-items:center;font-weight:900}.auth-verification-steps strong,.auth-verification-steps small{display:block}.auth-verification-steps strong{font-size:12px}.auth-verification-steps small{font-size:10px;color:#778296;line-height:1.45;margin-top:3px}.auth-inline-actions{display:flex;justify-content:center;gap:14px;margin-top:15px}.auth-preview-boundary{display:block;text-align:center;color:#8791a2;line-height:1.45;margin-top:15px;font-size:9px}
@media(max-width:1200px){.public-v20-hero{grid-template-columns:minmax(0,1fr) minmax(320px,.7fr);min-height:370px}.auth-v20-layout{grid-template-columns:1fr 1fr}.auth-v20-trust,.auth-v20-card{padding:34px}}
@media(max-width:900px){.public-v20-hero{grid-template-columns:1fr;max-height:none}.public-v20-os-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.public-v20-os-panel .public-v20-os-grid article{grid-template-columns:32px 1fr}.auth-v20-layout{grid-template-columns:1fr}.auth-v20-trust{padding:28px}.auth-v20-trust h1{font-size:36px}.auth-v20-points{grid-template-columns:repeat(3,1fr)}.auth-v20-points article{grid-template-columns:1fr;padding:8px}.auth-v20-points article>span{display:none}.auth-v20-trust footer{margin-top:22px}.auth-v20-card{max-height:none;padding:32px}}
@media(max-width:600px){.app-shell.auth-route .topbar{padding-inline:14px}.app-shell.auth-route #main-content{padding:12px 10px 30px}.auth-v20-layout{border-radius:19px}.auth-v20-trust{padding:23px}.auth-v20-brand{margin-bottom:23px}.auth-v20-trust h1{font-size:30px}.auth-v20-trust>p{font-size:13px}.auth-v20-points{display:none}.auth-v20-trust footer small{display:none}.auth-v20-card{padding:25px 20px}.auth-v20-card h2{font-size:29px}.auth-v20-grid{grid-template-columns:1fr}.auth-v20-grid .span-2{grid-column:auto}.auth-v20-form input,.auth-v20-form select{font-size:16px}.auth-inline-row{align-items:flex-start}.public-v20-hero{padding:23px;min-height:0}.public-v20-hero h1{font-size:36px}.public-v20-os-grid{grid-template-columns:1fr}.public-v20-hero .public-v19-actions>*{width:100%}}

/* =========================================================
   V21 — no-scroll desktop authentication + whole-app
   responsive safety hardening
   ========================================================= */
html,body{max-width:100%}
img,video,canvas,svg{max-width:100%}
.page-shell,.page-shell>* ,#pageContent,#pageContent>*{min-width:0}
.admin-table-wrap,.table-wrap,.data-table-wrap,.report-table-wrap{max-width:100%;overflow:auto;overscroll-behavior-inline:contain}
.admin-table,.data-table{width:100%}
.page-heading,.section-header,.access-section-header,.experience-section-header{min-width:0}
.page-heading>div,.section-header>div,.access-section-header>div,.experience-section-header>div{min-width:0}
.page-heading h1,.section-header h2,.resource-title,.resource-subtitle,.workspace-hero h1,.mentor-drive-profile h1{overflow-wrap:anywhere}
button,[role="button"],a,input,select,textarea{min-width:0}

/* Auth desktop/laptop: one stable viewport, no nested scrollbars. */
.app-shell.auth-route{height:100dvh;min-height:0;overflow:hidden;grid-template-rows:64px minmax(0,1fr)}
.app-shell.auth-route .topbar{height:64px;min-height:64px;padding-inline:24px}
.app-shell.auth-route #main-content{height:calc(100dvh - 64px);min-height:0;padding:14px 22px;overflow:hidden}
.app-shell.auth-route #pageContent{height:100%;min-height:0;width:min(1120px,100%)}
.auth-v20-layout,.auth-v21-layout{height:100%;min-height:0;max-height:100%;grid-template-columns:minmax(0,.92fr) minmax(430px,1.08fr);border-radius:22px}
.auth-v20-trust{min-height:0;padding:25px 30px}
.auth-v20-brand{margin-bottom:18px}
.auth-v20-trust h1{font-size:clamp(29px,2.65vw,40px);line-height:1.04;margin:8px 0 10px}
.auth-v20-trust>p{font-size:13px;line-height:1.5}
.auth-return-card{margin:16px 0 10px;padding:10px 12px;grid-template-columns:38px 1fr}
.auth-return-card>span{width:36px;height:36px}
.auth-v20-points{gap:2px}
.auth-v20-points article{padding:6px 0;grid-template-columns:30px 1fr;gap:8px}
.auth-v20-points article>span{width:28px;height:28px}
.auth-v20-points strong{font-size:12px}.auth-v20-points small{font-size:10px}
.auth-v20-trust footer{padding-top:10px}
.auth-v20-card,.auth-v21-card{height:100%;max-height:none;overflow:visible;padding:24px 34px;display:flex;flex-direction:column;justify-content:center}
.auth-v20-card header{margin-bottom:15px}
.auth-v20-card h2{font-size:30px;margin:5px 0 5px}
.auth-v20-card header p{font-size:12px;line-height:1.4}
.auth-google-button{height:42px}
.auth-divider{margin:11px 0}
.auth-v20-form{gap:10px}
.auth-v20-grid{gap:9px 12px}
.auth-field{gap:5px;font-size:10px}
.auth-field input,.auth-field select{height:41px;border-radius:11px;font-size:13px}
.auth-password-wrap{border-radius:11px}.auth-password-wrap button{padding-inline:11px}
.auth-inline-row{font-size:10px}
.auth-primary,.auth-secondary{min-height:43px;border-radius:11px}
.auth-account-switch{margin-top:12px;padding-top:10px}
.auth-security-note{padding:9px 11px;margin-top:10px}
.auth-security-note>span{width:28px;height:28px}.auth-security-note strong{font-size:10px}.auth-security-note small{font-size:9px}
.auth-password-rules{margin-top:8px;gap:4px}.auth-password-rules span{padding:4px 7px}
.auth-v21-progress{display:grid;grid-template-columns:auto minmax(30px,1fr) auto;align-items:center;gap:9px;margin:0 0 12px;color:#7b8799;font-size:10px;font-weight:800}
.auth-v21-progress span{display:flex;align-items:center;gap:7px;white-space:nowrap}
.auth-v21-progress b{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#e8eef7;color:#53647c}
.auth-v21-progress span.active{color:#164f92}.auth-v21-progress span.active b{background:#0e1e3a;color:#fff}.auth-v21-progress span.complete{color:#168b68}.auth-v21-progress span.complete b{background:#e7f7f1;color:#168b68}
.auth-v21-progress i{height:2px;background:#e2e8f0;border-radius:999px}
.auth-v21-step-actions{display:grid;grid-template-columns:minmax(105px,.38fr) minmax(190px,1fr);gap:10px}
.auth-v21-step-actions .auth-secondary{margin:0}
.auth-v21-step-form .terms{font-size:10px}

/* Laptop-height compression: still no scroll at typical 1366×768 viewports. */
@media (min-width:901px) and (max-height:720px){
  .app-shell.auth-route{grid-template-rows:58px minmax(0,1fr)}
  .app-shell.auth-route .topbar{height:58px;min-height:58px}
  .app-shell.auth-route #main-content{height:calc(100dvh - 58px);padding:9px 18px}
  .auth-v20-layout,.auth-v21-layout{border-radius:19px}
  .auth-v20-trust{padding:18px 25px}.auth-v20-brand{margin-bottom:10px}.auth-v20-mark{width:38px;height:38px;font-size:21px}.auth-v20-brand strong{font-size:18px}
  .auth-v20-trust h1{font-size:30px;margin:5px 0 7px}.auth-v20-trust>p{font-size:11px;line-height:1.4}
  .auth-return-card{margin:10px 0 4px;padding:7px 9px}.auth-return-card>span{width:31px;height:31px}.auth-return-card strong{font-size:12px}.auth-return-card code{font-size:8px}
  .auth-v20-points article{padding:3px 0}.auth-v20-points article>span{width:24px;height:24px}.auth-v20-points small{display:none}
  .auth-v20-trust footer{padding-top:5px}.auth-v20-trust footer small{display:none}
  .auth-v20-card,.auth-v21-card{padding:16px 30px}.auth-v20-card header{margin-bottom:9px}.auth-v20-card h2{font-size:27px}
  .auth-google-button{height:38px}.auth-divider{margin:7px 0}.auth-v20-form{gap:7px}.auth-v20-grid{gap:7px 10px}
  .auth-field input,.auth-field select{height:37px}.auth-primary,.auth-secondary{min-height:39px}.auth-account-switch{margin-top:7px;padding-top:7px}
  .auth-security-note{display:none}.auth-v21-progress{margin-bottom:8px}.auth-password-rules{margin-top:5px}.auth-password-rules strong{display:none}
}

/* Tablet: use normal page flow, no card-within-card scrollbar. */
@media (max-width:900px){
  .app-shell.auth-route{height:auto;min-height:100dvh;overflow:visible;display:grid;grid-template-rows:64px auto}
  .app-shell.auth-route #main-content{height:auto;min-height:calc(100dvh - 64px);overflow:visible;padding:16px}
  .app-shell.auth-route #pageContent{height:auto}
  .auth-v20-layout,.auth-v21-layout{height:auto;max-height:none;grid-template-columns:1fr}
  .auth-v20-trust{min-height:auto;padding:23px 28px}
  .auth-v20-trust .auth-return-card{margin-bottom:5px}
  .auth-v20-card,.auth-v21-card{height:auto;padding:28px 32px;overflow:visible}
}

@media (max-width:600px){
  .app-shell.auth-route{display:block;padding-top:58px}
  .app-shell.auth-route .topbar{height:58px;min-height:58px}
  .app-shell.auth-route #main-content{padding:9px 8px 24px;min-height:calc(100dvh - 58px)}
  .auth-v20-layout,.auth-v21-layout{border-radius:16px}
  .auth-v20-trust{padding:19px 20px}.auth-v20-brand{margin-bottom:13px}.auth-v20-trust h1{font-size:26px}.auth-return-card{margin:11px 0 0}
  .auth-v20-card,.auth-v21-card{padding:22px 17px}.auth-v20-card h2{font-size:26px}
  .auth-v21-progress{grid-template-columns:auto 18px auto;gap:6px;font-size:9px}.auth-v21-progress b{width:21px;height:21px}
  .auth-v21-step-actions{grid-template-columns:1fr}.auth-v21-step-actions .auth-secondary{order:2}
  .auth-inline-row{align-items:center}.auth-account-switch{flex-wrap:wrap;text-align:center}
}

/* Whole-app responsive safety layer. */
@media (min-width:961px) and (max-width:1280px){
  #main-content{padding-left:20px;padding-right:20px}
  .page-heading h1{font-size:clamp(28px,3.3vw,38px)}
  .page-actions{justify-content:flex-end}
  .resource-grid{gap:13px}
  .kpi-grid,.experience-admin-grid{gap:13px}
}
@media (max-width:960px){
  .page-actions>*{max-width:100%}
  .admin-table-wrap,.table-wrap{scrollbar-gutter:stable}
  .workspace-two-col,.profile-layout,.mentor-profile-layout{grid-template-columns:1fr!important}
}
@media (max-width:720px){
  body{font-size:14px}
  .page-heading h1{font-size:clamp(25px,8vw,30px)}
  .page-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.page-actions>*{width:100%}
  .page-actions>:only-child{grid-column:1/-1}
  .primary-button,.secondary-button,.ghost-button,.orange-button{min-height:44px;padding-inline:12px}
  .kpi-grid,.plan-grid,.dashboard-grid,.experience-admin-grid,.admin-preview-grid{grid-template-columns:1fr!important}
  .admin-form-grid{grid-template-columns:1fr!important}
  .admin-table{min-width:680px}
  .app-modal-body{overflow-x:hidden}
  .account-menu,.notification-panel,.workspace-menu{max-height:calc(100dvh - 74px);overflow:auto}
  .mentor-card-actions,.card-actions,.sheet-actions{gap:7px}.mentor-card-actions>*{min-height:42px}
  .live-exam-shell button,.reader-shell button{touch-action:manipulation}
}
@media (max-width:420px){
  #main-content{padding-left:10px;padding-right:10px}
  .page-actions{grid-template-columns:1fr}
  .resource-card,.app-shell[data-view="list"] .resource-card,.app-shell[data-view="grid"] .resource-card{grid-template-columns:72px minmax(0,1fr) 40px}
  .resource-thumb{min-height:104px}.resource-body{padding-inline:9px}.resource-footer{padding-inline:4px}
  .mobile-dock{height:64px}.mobile-dock button{font-size:8px}.mobile-dock .nav-icon{font-size:17px}
  .toast-region{left:8px;right:8px}
}
@media (orientation:landscape) and (max-height:520px) and (max-width:960px){
  .topbar{height:54px}.app-shell{padding-top:54px}.context-rail{top:54px;height:calc(100dvh - 54px)}
  #main-content{padding-top:10px}.mobile-dock{height:58px}.mobile-dock button{flex-direction:row;gap:5px}
  .page-heading{margin-bottom:12px}.page-heading p{display:none}
}

/* Public has seven primary destinations; keep every item visible on phones. */
@media (max-width:720px){
  .app-shell[data-workspace-role="public"] .mobile-dock{grid-template-columns:repeat(7,minmax(0,1fr));padding-inline:4px}
  .app-shell[data-workspace-role="public"] .mobile-dock button{font-size:7.5px;letter-spacing:-.01em}
  .app-shell[data-workspace-role="public"] .mobile-dock .nav-icon{font-size:16px}
  .app-shell[data-workspace-role="mentor"] .mobile-dock,
  .app-shell[data-workspace-role="admin"] .mobile-dock{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(66px,1fr);grid-template-columns:none;overflow-x:auto;scrollbar-width:none;overscroll-behavior-inline:contain}
  .app-shell[data-workspace-role="mentor"] .mobile-dock::-webkit-scrollbar,
  .app-shell[data-workspace-role="admin"] .mobile-dock::-webkit-scrollbar{display:none}
}

/* V22 — complete Drive-native Mock Test operations */
.mock-v22-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 20px;padding:6px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow-soft)}
.mock-v22-tabs button{border:0;background:transparent;color:var(--muted);font-weight:800;padding:11px 16px;border-radius:11px;cursor:pointer}
.mock-v22-tabs button.active{background:var(--navy);color:#fff;box-shadow:0 8px 18px rgba(11,19,38,.15)}
.mock-v22-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:18px}.mock-v22-kpis>.kpi-card{min-height:118px}
.mock-v22-filters{display:grid;grid-template-columns:minmax(220px,1.8fr) repeat(5,minmax(120px,1fr)) auto auto;gap:10px;padding:14px;background:#fff;border:1px solid var(--line);border-radius:16px;margin-bottom:18px;box-shadow:var(--shadow-soft)}
.mock-v22-filters input,.mock-v22-filters select{width:100%;min-width:0;border:1px solid var(--line);border-radius:11px;padding:11px 12px;background:#fff;color:var(--text);font:inherit}
.mock-v22-workflow{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border:1px solid #d9e4f3;border-left:4px solid var(--orange);border-radius:16px;background:linear-gradient(135deg,#fff,#f6f9fd);margin-bottom:18px}.mock-v22-workflow strong{font-size:17px}.mock-v22-workflow small{color:var(--muted);text-align:right}
.mock-v22-test-list{display:grid;gap:18px}.mock-v22-test-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;box-shadow:var(--shadow-soft)}
.mock-v22-test-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.mock-v22-test-card h2{font-size:22px;margin:5px 0 6px}.mock-v22-test-card p{margin:0;color:var(--muted)}.mock-v22-test-card>header>div:last-child{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.mock-v22-stat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:18px 0}.mock-v22-stat-grid>span{display:flex;flex-direction:column;gap:4px;padding:13px;border:1px solid var(--line);border-radius:13px;background:#f8fafe}.mock-v22-stat-grid small{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:800}.mock-v22-stat-grid strong{font-size:19px}
.mock-v22-config-row{display:flex;gap:8px;flex-wrap:wrap}.mock-v22-config-row span{padding:7px 10px;border-radius:999px;background:#eef3fa;color:#31415d;font-size:12px;font-weight:800}
.mock-v22-readiness{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;gap:12px;margin:16px 0}.mock-v22-readiness>div{height:8px;border-radius:999px;background:#e9eef5;overflow:hidden}.mock-v22-readiness>div>span{display:block;height:100%;background:linear-gradient(90deg,#2d6cba,#ff8a00)}.mock-v22-readiness small{color:var(--muted)}
.mock-v22-ops{display:flex;gap:7px;flex-wrap:wrap;padding-top:14px;border-top:1px solid var(--line)}.mock-v22-ops button,.mock-v22-table-actions button,.mock-v22-import-actions button,.mock-v22-import-actions a,.mock-v22-release-actions button,.mock-v22-result-policy button,.mock-v22-attempt-list button,.mock-v22-question-quality button{border:1px solid var(--line);background:#fff;color:var(--navy);border-radius:10px;padding:8px 11px;font-weight:800;cursor:pointer;text-decoration:none;font-size:12px}.mock-v22-ops button:hover,.mock-v22-table-actions button:hover{border-color:#9eb5d4;background:#f4f8fd}
.mock-v22-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:180px;border:1px dashed #b9c8da;border-radius:18px;background:#fff;text-align:center;gap:6px}.mock-v22-empty strong{font-size:20px}.mock-v22-empty small{color:var(--muted)}
.mock-v22-stepper{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:18px 0}.mock-v22-stepper button{display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:#fff;border-radius:13px;padding:11px;text-align:left;cursor:pointer}.mock-v22-stepper span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#eef3fa;font-weight:900;color:#3c506d;flex:0 0 auto}.mock-v22-stepper small{font-weight:800;color:var(--muted)}.mock-v22-stepper button.active{border-color:#244f89;background:#eff6ff}.mock-v22-stepper button.active span{background:var(--navy);color:#fff}.mock-v22-stepper button.done span{background:#daf5e7;color:#08784b}
.mock-v22-builder-panel{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;box-shadow:var(--shadow-soft);min-height:430px}.mock-v22-builder-panel>header{padding-bottom:17px;border-bottom:1px solid var(--line);margin-bottom:18px}.mock-v22-builder-panel h2{margin:5px 0 6px;font-size:25px}.mock-v22-builder-panel p{margin:0;color:var(--muted)}
.mock-v22-builder-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.mock-v22-builder-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr));max-width:800px}.mock-v22-field{display:flex;flex-direction:column;gap:7px;font-weight:800;color:#17243b}.mock-v22-field>span{font-size:12px}.mock-v22-field input,.mock-v22-field select,.mock-v22-field textarea{width:100%;min-width:0;border:1px solid #ccd8e8;border-radius:12px;padding:12px 13px;font:inherit;background:#fff;color:#101a2e}.mock-v22-field textarea{min-height:110px;resize:vertical}.mock-v22-field small{font-size:11px;color:var(--muted);font-weight:500}.mock-v22-check-row{grid-column:1/-1;display:flex;gap:12px;flex-wrap:wrap}.mock-v22-check{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:11px;padding:11px 13px;background:#f9fbfe;font-weight:800}.mock-v22-check input{width:17px;height:17px}.mock-v22-security-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.mock-v22-builder-footer{position:sticky;bottom:12px;z-index:4;display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:16px;padding:12px 16px;border:1px solid var(--line);border-radius:15px;background:rgba(255,255,255,.95);box-shadow:0 14px 34px rgba(15,27,49,.14);backdrop-filter:blur(12px)}.mock-v22-builder-footer span{color:var(--muted);font-size:12px;font-weight:800}
.mock-v22-question-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.mock-v22-question-summary span{padding:16px;border:1px solid var(--line);border-radius:14px;background:#f8fafe;display:flex;flex-direction:column;gap:5px}.mock-v22-question-summary strong{font-size:24px}.mock-v22-question-summary small{color:var(--muted)}
.mock-v22-import-actions{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:16px}.mock-v22-mini-question-list{display:grid;gap:8px}.mock-v22-mini-question-list article{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px;border:1px solid var(--line);border-radius:12px}.mock-v22-mini-question-list article>span{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#edf3fb;font-weight:900}.mock-v22-mini-question-list small{display:block;color:var(--muted);margin-top:4px}.mock-v22-mini-question-list button{border:0;background:transparent;color:#9b3542;font-weight:800;cursor:pointer}
.mock-v22-release-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.mock-v22-release-grid article{padding:17px;border:1px solid var(--line);border-radius:15px;background:#f8fafe;display:flex;flex-direction:column;gap:6px}.mock-v22-release-grid article>span{font-size:10px;font-weight:900;color:var(--muted);letter-spacing:.08em}.mock-v22-release-grid article>strong{font-size:25px}.mock-v22-release-grid article>div{height:7px;border-radius:99px;background:#e4ebf4;overflow:hidden}.mock-v22-release-grid i{display:block;height:100%;background:linear-gradient(90deg,#2b6db8,#ff8a00)}.mock-v22-release-grid small{color:var(--muted)}
.mock-v22-validation-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.mock-v22-validation-columns section{padding:16px;border:1px solid var(--line);border-radius:14px;max-height:260px;overflow:auto}.mock-v22-validation-columns h3{margin:0 0 10px}.mock-v22-validation-columns ul{margin:0;padding-left:20px}.mock-v22-validation-columns li{margin:7px 0;color:#53647e}.mock-v22-success{color:#0a8154!important;font-weight:800}.mock-v22-release-actions{display:flex;gap:9px;flex-wrap:wrap}.mock-v22-release-actions button.primary{background:var(--orange);color:#fff;border-color:var(--orange)}.mock-v22-release-actions button:disabled{opacity:.45;cursor:not-allowed}
.mock-v22-question-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:17px;background:#fff}.mock-v22-question-table{width:100%;border-collapse:collapse;min-width:1050px}.mock-v22-question-table th,.mock-v22-question-table td{padding:13px;border-bottom:1px solid var(--line);vertical-align:top;text-align:left}.mock-v22-question-table th{position:sticky;top:0;background:#f6f9fd;z-index:1;font-size:11px;text-transform:uppercase;letter-spacing:.06em}.mock-v22-question-table td>small{display:block;color:var(--muted);margin-top:5px;max-width:560px}.mock-v22-table-actions{display:flex;gap:6px;flex-wrap:wrap}.mock-v22-result-note{color:var(--muted);font-size:12px}
.mock-v22-import-history{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.mock-v22-import-history article{padding:18px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow-soft)}.mock-v22-import-history header{display:flex;justify-content:space-between;gap:15px}.mock-v22-import-history h3{margin:4px 0}.mock-v22-import-history p{color:var(--muted);margin:0}.mock-v22-import-history details{margin:10px 0}.mock-v22-import-history footer{border-top:1px solid var(--line);padding-top:12px}
.mock-v22-results-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:16px}.mock-v22-results-layout>section{padding:18px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow-soft)}.mock-v22-results-layout h2{margin:0 0 14px}.mock-v22-result-policy{display:grid;grid-template-columns:minmax(220px,1fr) auto auto auto auto;gap:9px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:13px;margin-bottom:9px}.mock-v22-result-policy small{display:block;color:var(--muted);margin-top:4px}.mock-v22-result-policy .mock-v22-check{padding:8px}.mock-v22-attempt-list{display:grid;gap:9px}.mock-v22-attempt-list article{padding:13px;border:1px solid var(--line);border-radius:13px}.mock-v22-attempt-list header{display:flex;justify-content:space-between;gap:12px}.mock-v22-attempt-list small{display:block;color:var(--muted);margin-top:4px}.mock-v22-attempt-list article>div{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.mock-v22-attempt-list article>div span{padding:6px 9px;border-radius:999px;background:#eef3fa;font-size:11px;font-weight:800}.mock-v22-attempt-list footer{display:flex;gap:8px}.mock-v22-question-quality{margin-top:16px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:18px}.mock-v22-question-quality article{display:grid;grid-template-columns:1fr 120px 1fr auto;align-items:center;gap:12px;padding:12px;border-top:1px solid var(--line)}
.mock-v22-picker{display:grid;gap:8px;max-height:56vh;overflow:auto}.mock-v22-picker label{display:flex;gap:10px;align-items:flex-start;padding:10px;border:1px solid var(--line);border-radius:11px}.mock-v22-picker input{margin-top:3px}.mock-v22-picker small{display:block;color:var(--muted);margin-top:4px}.mock-v22-report-list{max-height:50vh;overflow:auto}.mock-v22-report-list li{margin:7px 0}.mock-v22-builder-panel .continuity-note{margin-top:18px}
@media(max-width:1300px){.mock-v22-kpis{grid-template-columns:repeat(3,1fr)}.mock-v22-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.mock-v22-filters input{grid-column:span 2}.mock-v22-stepper{grid-template-columns:repeat(3,1fr)}.mock-v22-builder-grid{grid-template-columns:repeat(2,1fr)}.mock-v22-security-grid{grid-template-columns:repeat(2,1fr)}.mock-v22-stat-grid{grid-template-columns:repeat(3,1fr)}.mock-v22-results-layout{grid-template-columns:1fr}.mock-v22-result-policy{grid-template-columns:1fr auto auto}.mock-v22-result-policy button{grid-column:1/-1}}
@media(max-width:820px){.mock-v22-tabs{overflow-x:auto;flex-wrap:nowrap}.mock-v22-tabs button{white-space:nowrap}.mock-v22-kpis{grid-template-columns:repeat(2,1fr)}.mock-v22-filters{grid-template-columns:1fr 1fr}.mock-v22-filters input{grid-column:1/-1}.mock-v22-workflow{align-items:flex-start;flex-direction:column}.mock-v22-workflow small{text-align:left}.mock-v22-test-card>header{flex-direction:column}.mock-v22-test-card>header>div:last-child{justify-content:flex-start}.mock-v22-stat-grid{grid-template-columns:repeat(2,1fr)}.mock-v22-readiness{grid-template-columns:1fr auto}.mock-v22-readiness small{grid-column:1/-1}.mock-v22-stepper{display:flex;overflow-x:auto}.mock-v22-stepper button{min-width:170px}.mock-v22-builder-grid,.mock-v22-builder-grid.compact{grid-template-columns:1fr}.mock-v22-security-grid{grid-template-columns:1fr}.mock-v22-question-summary,.mock-v22-release-grid{grid-template-columns:repeat(2,1fr)}.mock-v22-validation-columns{grid-template-columns:1fr}.mock-v22-import-history{grid-template-columns:1fr}.mock-v22-result-policy{grid-template-columns:1fr}.mock-v22-question-quality article{grid-template-columns:1fr 1fr}.mock-v22-question-quality button{grid-column:1/-1}.mock-v22-builder-footer{bottom:70px}.mock-v22-builder-footer span{display:none}}
@media(max-width:520px){.mock-v22-kpis,.mock-v22-stat-grid,.mock-v22-question-summary,.mock-v22-release-grid{grid-template-columns:1fr}.mock-v22-filters{grid-template-columns:1fr}.mock-v22-filters>*{grid-column:1!important}.mock-v22-test-card,.mock-v22-builder-panel{padding:15px;border-radius:16px}.mock-v22-mini-question-list article{grid-template-columns:34px 1fr}.mock-v22-mini-question-list button{grid-column:2}.mock-v22-builder-footer{gap:7px;padding:9px}.mock-v22-builder-footer button{font-size:12px;padding:10px}.mock-v22-ops button{flex:1 1 44%}}

/* V23 — Resource Action Menu + Student Mock Journey Final */
.resource-action-popover-v23{position:fixed;z-index:240;background:#fff;border:1px solid #d8e2ee;border-radius:18px;box-shadow:0 22px 70px rgba(7,18,38,.28);padding:8px;max-height:min(620px,calc(100vh - 24px));overflow:auto;color:#0c1830}
.resource-action-popover-v23>header{display:grid;grid-template-columns:38px minmax(0,1fr) 32px;gap:10px;align-items:center;padding:9px 8px 11px;border-bottom:1px solid #e6ebf2;margin-bottom:5px}
.resource-action-popover-v23>header>span{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#edf4ff;font-size:18px}.resource-action-popover-v23>header strong{display:block;font-size:12px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resource-action-popover-v23>header small{display:block;margin-top:2px;color:#68758c;font-size:9px}.resource-action-popover-v23>header button{width:32px;height:32px;border:0;background:#f1f5fa;border-radius:9px;font-size:18px;cursor:pointer}
.resource-action-popover-v23>div{display:grid;gap:2px}.resource-action-popover-v23 [role="menuitem"]{width:100%;border:0;background:transparent;border-radius:10px;padding:10px 11px;display:grid;grid-template-columns:24px 1fr;gap:8px;align-items:center;text-align:left;color:#15223a;font:700 12px/1.3 inherit;cursor:pointer}.resource-action-popover-v23 [role="menuitem"] span{color:#36557d}.resource-action-popover-v23 [role="menuitem"]:hover,.resource-action-popover-v23 [role="menuitem"]:focus{background:#edf4ff;outline:none}.resource-more-v23[aria-expanded="true"]{background:#dceaff}
.resource-detail-v23{display:grid;gap:16px}.resource-detail-status-v23{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:14px;align-items:center;border:1px solid #dce5ef;border-radius:17px;padding:16px;background:linear-gradient(180deg,#fff,#fbfdff)}.resource-detail-status-v23 h3{margin:3px 0;font-size:17px}.resource-detail-status-v23 p{margin:0;color:#64718a;font-size:11px}.resource-detail-facts-v23{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.resource-detail-facts-v23>span{border:1px solid #dce5ef;border-radius:13px;padding:12px;background:#fbfdff;min-width:0}.resource-detail-facts-v23 small{display:block;color:#6c7890;font-size:8px;text-transform:uppercase;letter-spacing:.07em}.resource-detail-facts-v23 strong{display:block;margin-top:5px;font-size:12px;overflow-wrap:anywhere}.resource-detail-policy-v23{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.resource-detail-policy-v23 article{border:1px solid #dce5ef;border-radius:14px;padding:14px}.resource-detail-policy-v23 h3{margin:0 0 6px;font-size:13px}.resource-detail-policy-v23 p{margin:0;color:#63708a;font-size:10px;line-height:1.55}
.mock-instruction-hero-v23{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:18px;align-items:center;background:linear-gradient(135deg,#0a1832,#244b78);border-bottom:4px solid #ff8500;color:#fff;border-radius:22px;padding:26px;margin-bottom:16px;box-shadow:0 14px 35px rgba(8,24,52,.18)}.mock-instruction-hero-v23 h2{font-size:28px;margin:5px 0 8px}.mock-instruction-hero-v23 p{color:#d9e5f5;line-height:1.65;margin:0;max-width:850px}.mock-instruction-hero-v23 aside{border:1px solid rgba(255,255,255,.2);border-radius:18px;padding:17px;text-align:center;background:rgba(255,255,255,.08)}.mock-instruction-hero-v23 aside strong{display:block;font-size:34px}.mock-instruction-hero-v23 aside span,.mock-instruction-hero-v23 aside small{display:block;color:#dce6f5}.mock-instruction-actions-v23{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}.mock-policy-grid-v23{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.mock-policy-grid-v23 article{border:1px solid #dce5ef;background:#fff;border-radius:16px;padding:16px;box-shadow:var(--shadow-sm)}.mock-policy-grid-v23 h3{margin:0 0 8px;font-size:14px}.mock-policy-grid-v23 ul{padding-left:17px;margin:0;color:#65728b;font-size:10px;line-height:1.7}
.exam-policy-controls-v23{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.exam-policy-controls-v23 button,.exam-policy-controls-v23 span{border:1px solid #d7e1ed;border-radius:999px;background:#fff;padding:8px 11px;font:800 10px/1 inherit;color:#14213a}.exam-policy-controls-v23 button{cursor:pointer}.exam-policy-controls-v23 b{color:#ef6c00}.exam-paused-v23 .live-question-workspace{position:relative}.exam-paused-v23 .live-question-workspace:after{content:'Attempt paused';position:absolute;inset:0;display:grid;place-items:center;background:rgba(255,255,255,.83);backdrop-filter:blur(3px);font-size:28px;font-weight:900;color:#102143;border-radius:26px;z-index:5}.exam-calculator-v23{display:grid;gap:14px}.exam-calculator-v23 input{width:100%;border:1px solid #d6e0eb;border-radius:12px;padding:14px;font-size:16px}.exam-calculator-v23 output{display:block;border-radius:14px;background:#0d1b35;color:#fff;padding:18px;text-align:right;font-size:26px;font-weight:900}
.review-policy-banner-v23{display:flex;justify-content:space-between;gap:16px;align-items:center;border:1px solid #d8e5f2;border-radius:15px;padding:14px 17px;background:#f4f8fd;margin-bottom:15px}.review-policy-banner-v23 span{color:#60708a;font-size:11px}
.mock-history-summary-v23,.leaderboard-head-v23{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:18px;align-items:center;border-radius:20px;padding:24px;background:linear-gradient(135deg,#0e1d3a,#285583);color:#fff;margin-bottom:16px;border-bottom:4px solid #ff8500}.mock-history-summary-v23 h2,.leaderboard-head-v23 h2{margin:4px 0 7px;font-size:27px}.mock-history-summary-v23 p,.leaderboard-head-v23 p{margin:0;color:#d8e4f5}.mock-history-summary-v23>div:last-child,.leaderboard-head-v23>strong{text-align:center;border:1px solid rgba(255,255,255,.2);border-radius:16px;padding:16px;font-size:32px;background:rgba(255,255,255,.08)}.mock-history-summary-v23 small,.leaderboard-head-v23 small{display:block;font-size:9px;font-weight:700;color:#d8e4f5}.mock-history-list-v23{display:grid;gap:11px}.mock-history-list-v23>article{display:grid;grid-template-columns:minmax(230px,1fr) minmax(320px,1.5fr) auto;gap:14px;align-items:center;background:#fff;border:1px solid #dae4ef;border-radius:17px;padding:15px;box-shadow:var(--shadow-sm)}.mock-history-list-v23>article>div:first-child{display:flex;gap:10px;align-items:center}.mock-attempt-index-v23{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#eaf2ff;color:#194f90;font-weight:900}.mock-history-list-v23 small{display:block;color:#6b7890;font-size:9px;margin-top:3px}.mock-history-metrics-v23{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.mock-history-metrics-v23>span{font-weight:900;font-size:13px}.mock-history-metrics-v23 small{font-weight:600}.mock-history-actions-v23{display:flex;gap:6px;flex-wrap:wrap}.mock-history-actions-v23 button{border:1px solid #d5e0ec;border-radius:10px;background:#fff;padding:9px 11px;font-weight:800;cursor:pointer}
.leaderboard-table-v23{border:1px solid #d9e3ee;background:#fff;border-radius:18px;overflow:hidden}.leaderboard-table-v23>div,.leaderboard-table-v23>article{display:grid;grid-template-columns:70px minmax(170px,1fr) 120px 110px 180px;gap:10px;align-items:center;padding:13px 17px;border-bottom:1px solid #e5ebf2}.leaderboard-table-v23>div{background:#f3f7fc;color:#53627c;font-size:9px;text-transform:uppercase;letter-spacing:.06em}.leaderboard-table-v23>article:last-child{border-bottom:0}.leaderboard-table-v23>article.me{background:#fff7e9;border-left:4px solid #ff8500}.leaderboard-table-v23 small{color:#68758c}
@media(max-width:900px){.resource-detail-facts-v23{grid-template-columns:repeat(2,minmax(0,1fr))}.resource-detail-policy-v23,.mock-policy-grid-v23{grid-template-columns:repeat(2,minmax(0,1fr))}.mock-history-list-v23>article{grid-template-columns:1fr}.leaderboard-table-v23{overflow:auto}.leaderboard-table-v23>div,.leaderboard-table-v23>article{min-width:720px}.exam-policy-controls-v23{width:100%}}
@media(max-width:720px){.resource-action-popover-v23{position:fixed!important;left:10px!important;right:10px!important;bottom:10px!important;top:auto!important;width:auto!important;max-height:min(78vh,620px);border-radius:22px;padding:10px}.resource-action-popover-v23 [role="menuitem"]{min-height:44px;font-size:13px}.resource-detail-status-v23{grid-template-columns:45px minmax(0,1fr)}.resource-detail-status-v23>.state-badge{grid-column:2;justify-self:start}.resource-detail-facts-v23,.resource-detail-policy-v23,.mock-policy-grid-v23{grid-template-columns:1fr}.mock-instruction-hero-v23,.mock-history-summary-v23,.leaderboard-head-v23{grid-template-columns:1fr;padding:20px}.mock-instruction-hero-v23 aside{display:grid;grid-template-columns:auto 1fr 1fr;gap:8px;align-items:center;text-align:left}.mock-instruction-actions-v23>*{flex:1}.mock-history-metrics-v23{grid-template-columns:repeat(2,1fr)}.review-policy-banner-v23{align-items:flex-start;flex-direction:column}.exam-policy-controls-v23 button,.exam-policy-controls-v23 span{flex:1;text-align:center}}

/* V23 focused Mock header: preserve the full exact test title on common laptops. */
.exam-brand-block>div>strong{
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
}
.live-more-v23{min-width:46px;padding-inline:14px;font-size:20px;line-height:1}
@media (min-width:1025px) and (max-width:1450px){
  .live-exam-header{grid-template-columns:minmax(410px,1fr) minmax(620px,1.42fr);gap:10px;padding-left:16px}
  .exam-brand-block{grid-template-columns:105px minmax(0,1fr);gap:12px}
  .exam-brand-mark{width:72px}
  .exam-brand-block>div>strong{font-size:19px;line-height:1.16}
  .exam-brand-block>div>small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .exam-header-metrics{grid-template-columns:minmax(205px,1.35fr) 110px 100px 95px 152px;gap:7px}
  .exam-metric{padding-inline:9px}
  .exam-submit-button{padding-inline:14px}
}

/* ==========================================================================\n   V24 — Safe Mock Exit / Pause Resume / 500+ Question Scale / Notes Operations\n   ========================================================================== */
/* Remove the V23 text-only pause veil; V24 provides an actionable pause panel. */
.exam-paused-v23 .live-question-workspace:after{content:none!important;display:none!important}
.live-question-workspace{position:relative}
.exam-brand-button-v24{appearance:none;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;text-align:left;border-radius:12px;transition:background .16s ease,box-shadow .16s ease;min-width:0}
.exam-brand-button-v24:hover{background:#f5f8fc}.exam-brand-button-v24:focus-visible{outline:3px solid rgba(255,122,24,.35);outline-offset:2px}.exam-brand-button-v24 .brand-copy{pointer-events:none}
.exam-exit-button-v24{min-width:78px;border:1px solid #d8e1ec;border-radius:17px;background:#fff;color:#16233b;font-weight:900;font-size:14px;cursor:pointer;padding:0 15px;box-shadow:0 7px 18px rgba(8,19,41,.07)}
.exam-exit-button-v24:hover{background:#f5f8fc;border-color:#b9c8db}.exam-exit-button-v24:focus-visible{outline:3px solid rgba(255,122,24,.35);outline-offset:2px}
.exam-header-metrics{grid-template-columns:minmax(220px,1.45fr) 116px 105px 100px 78px 158px}
.exam-pause-overlay-v24{position:absolute;inset:0;z-index:20;display:grid;place-items:center;padding:24px;background:rgba(247,250,254,.88);backdrop-filter:blur(6px);border-radius:26px}
.exam-pause-overlay-v24>section{width:min(520px,100%);border:1px solid #d5e1ee;border-radius:24px;background:#fff;padding:28px;box-shadow:0 24px 65px rgba(7,20,43,.18);text-align:center}
.exam-pause-overlay-v24 h2{font-size:30px;margin:8px 0;color:#102143}.exam-pause-overlay-v24 p{max-width:440px;margin:0 auto 15px;color:#65738a;line-height:1.6}.exam-pause-overlay-v24>section>strong{display:block;font-size:35px;color:#ff7417;margin:8px 0 18px}.exam-pause-overlay-v24>section>div{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.exam-pause-overlay-v24 button{min-height:48px;border:1px solid #d6e0eb;border-radius:14px;background:#fff;color:#14213a;font-weight:900;padding:0 19px;cursor:pointer}.exam-pause-overlay-v24 button.primary{background:#0c1932;border-color:#0c1932;color:#fff}
.exam-exit-v24{display:grid;grid-template-columns:150px minmax(0,1fr);gap:16px;align-items:stretch}.exam-exit-v24>div:first-child{display:grid;place-items:center;text-align:center;border:1px solid #dbe5ef;border-radius:18px;background:#f6f9fd;padding:18px}.exam-exit-v24>div:first-child>span{font-size:24px}.exam-exit-v24>div:first-child>strong{font-size:30px;color:#ff7417}.exam-exit-v24>div:first-child>small{color:#6c7890}
.exam-range-jump-v24{display:grid;grid-template-columns:38px minmax(0,1fr) 38px;gap:8px;align-items:center;margin:11px 0 3px}.exam-range-jump-v24>button{height:38px;border:1px solid #d6e1ed;border-radius:11px;background:#fff;color:#13203a;font-weight:900;cursor:pointer}.exam-range-jump-v24>button:disabled{opacity:.4;cursor:not-allowed}.exam-range-jump-v24 label{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:center;border:1px solid #d6e1ed;border-radius:11px;background:#fff;padding:5px 8px}.exam-range-jump-v24 label span{font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:#67758d;font-weight:900}.exam-range-jump-v24 select{min-width:0;border:0;background:transparent;color:#10203b;font-weight:900;outline:0}.exam-range-jump-v24>small{grid-column:1/-1;text-align:center;color:#67758d;font-size:9px;font-weight:800}.exam-range-tabs{display:flex;overflow-x:auto;overflow-y:hidden;max-height:none;scrollbar-width:thin;padding:1px 2px 7px;scroll-snap-type:x proximity}.exam-range-tab{flex:0 0 auto;min-width:74px;scroll-snap-align:center}
.review-pagination-v24{position:sticky;top:0;z-index:8;display:grid;grid-template-columns:auto minmax(180px,1fr) 150px auto;align-items:center;gap:10px;border:1px solid #d8e4ef;border-radius:15px;background:rgba(255,255,255,.96);backdrop-filter:blur(7px);padding:11px 13px;margin-bottom:15px;box-shadow:0 7px 20px rgba(8,22,45,.06)}.review-pagination-v24 button,.review-pagination-v24 select{min-height:40px;border:1px solid #d7e1ec;border-radius:11px;background:#fff;color:#13213b;font-weight:900;padding:0 12px}.review-pagination-v24 button:disabled{opacity:.4}.review-pagination-v24 strong{text-align:center}.review-pagination-v24 select{width:100%}

/* Notes Studio and exact delivery */
.note-v24-command{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border:1px solid #d9e4ef;border-radius:22px;background:linear-gradient(135deg,#0d1a34,#254d79);border-bottom:4px solid #ff7b17;color:#fff;padding:24px;margin-bottom:18px;box-shadow:0 14px 34px rgba(8,24,52,.14)}.note-v24-command h2{font-size:28px;margin:6px 0 8px}.note-v24-command p{color:#dce7f5;max-width:800px;margin:0;line-height:1.6}.note-v24-command>div:last-child{display:flex;gap:9px;flex-wrap:wrap}.note-v24-command button{min-height:44px;border:1px solid rgba(255,255,255,.2);border-radius:13px;background:rgba(255,255,255,.08);color:#fff;font-weight:900;padding:0 16px;cursor:pointer}.note-v24-command button.primary{background:#ff7a18;border-color:#ff7a18}
.note-v24-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:18px}.note-v24-kpis article{border:1px solid #dce5ee;border-radius:18px;background:#fff;padding:16px;box-shadow:var(--shadow-sm)}.note-v24-kpis span{display:block;color:#66748b;font-size:9px;text-transform:uppercase;letter-spacing:.07em;font-weight:900}.note-v24-kpis strong{display:block;font-size:27px;margin-top:7px}.note-v24-kpis small{display:block;color:#148255;margin-top:5px}
.note-v24-filterbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:15px}.note-v24-filterbar>div{display:flex;gap:8px;flex-wrap:wrap}.note-v24-filterbar button{min-height:38px;border:1px solid #d6e1ed;border-radius:999px;background:#fff;color:#5f6d83;font-weight:900;padding:0 14px;cursor:pointer}.note-v24-filterbar button.active,.note-v24-filterbar button.primary{background:#0d1931;border-color:#0d1931;color:#fff}
.note-v24-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.note-v24-admin-card{border:1px solid #d9e4ef;border-radius:21px;background:#fff;box-shadow:var(--shadow-sm);padding:16px;min-width:0}.note-v24-admin-card>header{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:13px;align-items:center}.note-v24-admin-card h3{margin:5px 0 3px;font-size:17px}.note-v24-admin-card p{margin:0;color:#67758d;font-size:10px}.note-v24-cover{display:grid;place-items:center;align-content:center;width:58px;height:68px;border-radius:13px;background:linear-gradient(145deg,#e7f0ff,#fff4e7);border:1px solid #dae4ef;color:#12305c}.note-v24-cover span{font:900 28px/1 Georgia,serif}.note-v24-cover small{font-size:7px;color:#ef6c00;font-weight:900;margin-top:5px}.note-v24-cover.large{width:110px;height:140px;border-radius:18px}.note-v24-cover.large span{font-size:48px}.note-v24-admin-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:15px 0}.note-v24-admin-facts span{border:1px solid #e0e7ef;border-radius:12px;background:#f9fbfd;padding:10px}.note-v24-admin-facts small{display:block;color:#6c7890;font-size:8px}.note-v24-admin-facts strong{display:block;margin-top:4px;font-size:11px;overflow-wrap:anywhere}.note-v24-admin-card>footer{display:flex;gap:7px;flex-wrap:wrap}.note-v24-admin-card>footer button{min-height:36px;border:1px solid #d6e1ec;border-radius:10px;background:#fff;color:#142139;font-weight:850;padding:0 11px;cursor:pointer}.note-v24-admin-card>footer button.primary{background:#0c1932;color:#fff;border-color:#0c1932}.note-v24-admin-card button:disabled{opacity:.45;cursor:not-allowed}
.note-v24-stepper{position:sticky;top:0;z-index:12;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;border:1px solid #dce5ee;border-radius:17px;background:rgba(255,255,255,.96);backdrop-filter:blur(7px);padding:8px;margin-bottom:14px;box-shadow:0 8px 20px rgba(8,22,45,.05)}.note-v24-stepper button{min-height:48px;border:0;border-radius:12px;background:transparent;color:#617088;font-weight:850;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer}.note-v24-stepper button span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#edf3fa;color:#255a94}.note-v24-stepper button.active{background:#0d1931;color:#fff}.note-v24-stepper button.active span{background:#ff7a18;color:#fff}
.note-v24-builder{border:1px solid #d9e4ee;border-radius:22px;background:#fff;padding:20px;box-shadow:var(--shadow-sm);min-height:420px}.note-v24-builder-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.note-v24-builder-grid.compact{grid-template-columns:minmax(260px,420px) minmax(200px,280px)}.note-v24-field{display:grid;gap:7px}.note-v24-field.wide,.note-v24-asset-drop.wide{grid-column:1/-1}.note-v24-field>span{font-size:10px;font-weight:900;color:#1d2a41}.note-v24-field input,.note-v24-field select,.note-v24-field textarea{width:100%;border:1px solid #d5e0eb;border-radius:13px;background:#fff;padding:13px 14px;font:inherit;color:#12203a}.note-v24-field textarea{min-height:104px;resize:vertical}.note-v24-check{display:flex;align-items:center;gap:9px;border:1px solid #d5e0eb;border-radius:13px;padding:13px;font-weight:800}.note-v24-asset-drop{border:1px dashed #aebfd2;border-radius:16px;background:#f7faff;padding:20px}.note-v24-asset-drop p{color:#66748a;line-height:1.55}.note-v24-page-command{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin:18px 0 12px}.note-v24-page-command h2{margin:5px 0}.note-v24-page-command p{margin:0;color:#68768d}.note-v24-page-command>div:last-child{display:flex;gap:8px;flex-wrap:wrap}.note-v24-page-command button,.note-v24-builder-footer button,.note-v24-release-actions button{min-height:42px;border:1px solid #d5e0eb;border-radius:12px;background:#fff;color:#12203a;font-weight:900;padding:0 14px;cursor:pointer}.note-v24-page-command button.primary,.note-v24-builder-footer button.primary,.note-v24-release-actions button.primary{background:#0d1931;border-color:#0d1931;color:#fff}
.note-v24-page-list{display:grid;gap:9px;max-height:320px;overflow:auto;padding-right:4px}.note-v24-page-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid #dce5ee;border-radius:14px;background:#fbfdff;padding:8px}.note-v24-page-list article.active{border-color:#8eb7e5;background:#edf5ff;box-shadow:0 0 0 2px rgba(45,111,182,.08)}.note-v24-page-list article>button:first-child{border:0;background:transparent;display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:center;text-align:left;cursor:pointer;min-width:0}.note-v24-page-list article>button:first-child>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#e9f1fb;color:#235c9a;font-weight:900}.note-v24-page-list article strong,.note-v24-page-list article small{display:block}.note-v24-page-list article strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.note-v24-page-list article small{color:#6c7890;font-size:9px;margin-top:3px}.note-v24-page-list article>div{display:flex;gap:5px;flex-wrap:wrap}.note-v24-page-list article>div button{min-height:31px;border:1px solid #d6e1eb;border-radius:9px;background:#fff;font-weight:800;padding:0 9px;cursor:pointer}.note-v24-page-preview{margin-top:15px;border:1px solid #dce5ee;border-radius:18px;background:#fffdf9;padding:24px;max-height:480px;overflow:auto}.note-v24-page-preview h2{font-family:Georgia,serif}
.note-v24-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.note-v24-settings-grid>label{display:flex;gap:10px;align-items:flex-start;border:1px solid #d9e4ef;border-radius:14px;padding:14px;background:#fbfdff}.note-v24-settings-grid strong,.note-v24-settings-grid small{display:block}.note-v24-settings-grid small{color:#6d7990;font-size:9px;margin-top:4px}.note-v24-release-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.note-v24-release-kpis article{border:1px solid #dbe5ef;border-radius:15px;padding:15px;background:#fbfdff}.note-v24-release-kpis span{font-size:8px;color:#69768c;font-weight:900}.note-v24-release-kpis strong{display:block;font-size:25px;margin:5px 0}.note-v24-release-kpis small{color:#68758c}.note-v24-release-kpis i{display:block;height:5px;background:#e5ebf1;border-radius:999px;overflow:hidden}.note-v24-release-kpis b{display:block;height:100%;background:linear-gradient(90deg,#3479c5,#ff8617)}.note-v24-validation{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.note-v24-validation section{border:1px solid #dce5ee;border-radius:15px;padding:15px}.note-v24-validation h3{margin:0 0 8px}.note-v24-validation ul{padding-left:18px;color:#a33b28}.note-v24-validation .success{color:#07814d}.note-v24-release-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.note-v24-builder-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px}.note-v24-builder-footer span{color:#68758d;font-size:10px;font-weight:800}.note-v24-builder-footer button:disabled,.note-v24-release-actions button:disabled{opacity:.4;cursor:not-allowed}
.note-v24-history{display:grid;gap:10px}.note-v24-history article{display:grid;grid-template-columns:70px minmax(0,1fr);gap:12px;align-items:center;border:1px solid #dbe5ef;border-radius:14px;background:#fff;padding:13px}.note-v24-history article>span{display:grid;place-items:center;min-height:38px;border-radius:10px;background:#edf4ff;color:#245b96;font-weight:900}.note-v24-history strong,.note-v24-history small{display:block}.note-v24-history small{color:#68758c;margin-top:4px}.note-v24-detail{display:grid;gap:15px}.note-v24-detail>header{display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:16px;align-items:center}.note-v24-detail h2{margin:5px 0}.note-v24-detail p{color:#66748b;line-height:1.55}.note-v24-detail-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.note-v24-detail-facts span,.note-v24-reader-status span{border:1px solid #dbe5ef;border-radius:12px;background:#fbfdff;padding:11px}.note-v24-detail-facts small,.note-v24-reader-status small{display:block;color:#6d7990;font-size:8px;text-transform:uppercase}.note-v24-detail-facts strong,.note-v24-reader-status strong{display:block;margin-top:4px;font-size:11px}.note-v24-public-sample{border-left:4px solid #ff7a18;border-radius:0 15px 15px 0;background:#fff6ec;padding:18px}.note-v24-public-sample h3{font-family:Georgia,serif;margin:7px 0}.note-v24-public-sample p{color:#2c3b53}.note-v24-reader-status{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:12px 0}

@media(max-width:1250px){.exam-header-metrics{grid-template-columns:minmax(190px,1.3fr) repeat(3,100px) 72px 145px}.note-v24-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.note-v24-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.exam-exit-button-v24{min-height:52px}.review-pagination-v24{grid-template-columns:1fr 1fr}.review-pagination-v24 strong{grid-column:1/-1;order:-1}.note-v24-command{display:grid}.note-v24-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.note-v24-admin-grid{grid-template-columns:1fr}.note-v24-stepper{display:flex;overflow-x:auto}.note-v24-stepper button{flex:0 0 180px}.note-v24-builder-grid,.note-v24-builder-grid.compact{grid-template-columns:1fr}.note-v24-field.wide,.note-v24-asset-drop.wide{grid-column:auto}.note-v24-detail-facts,.note-v24-reader-status{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.exam-header-metrics{grid-template-columns:1fr 1fr}.exam-exit-button-v24,.exam-submit-button{min-height:50px}.exam-pause-overlay-v24{padding:10px;border-radius:18px}.exam-pause-overlay-v24>section{padding:20px;border-radius:18px}.exam-pause-overlay-v24 h2{font-size:24px}.exam-exit-v24{grid-template-columns:1fr}.exam-range-jump-v24{grid-template-columns:38px minmax(0,1fr) 38px}.review-pagination-v24{grid-template-columns:1fr}.review-pagination-v24>*{width:100%}.note-v24-command{padding:19px}.note-v24-command h2{font-size:23px}.note-v24-kpis{grid-template-columns:1fr 1fr}.note-v24-admin-card>header{grid-template-columns:52px minmax(0,1fr)}.note-v24-admin-card>header>.state-badge{grid-column:2;justify-self:start}.note-v24-admin-facts{grid-template-columns:1fr 1fr}.note-v24-stepper button{flex-basis:155px;font-size:11px}.note-v24-builder{padding:13px}.note-v24-page-command{display:grid}.note-v24-page-list article{grid-template-columns:1fr}.note-v24-page-list article>div{padding-left:44px}.note-v24-settings-grid,.note-v24-release-kpis,.note-v24-validation{grid-template-columns:1fr}.note-v24-builder-footer{display:grid;grid-template-columns:1fr 1fr}.note-v24-builder-footer span{grid-column:1/-1;grid-row:1;text-align:center}.note-v24-detail>header{grid-template-columns:75px minmax(0,1fr)}.note-v24-cover.large{width:75px;height:100px}.note-v24-cover.large span{font-size:36px}.note-v24-detail>header>.state-badge{grid-column:2;justify-self:start}.note-v24-detail-facts,.note-v24-reader-status{grid-template-columns:1fr 1fr}}
.note-v24-field-help{display:block;color:#6c7890;font-size:9px;font-weight:700;margin-top:-2px}
@media(max-width:900px){
  .exam-pause-overlay-v24{position:fixed;inset:0;z-index:340;border-radius:0;padding:16px;background:rgba(238,243,250,.94)}
  .exam-pause-overlay-v24>section{max-height:calc(100dvh - 32px);overflow:auto}
}

/* ========================================================================== */
/* V25 — Video, Live, Current Affairs and Roadmap final operations            */
/* ========================================================================== */
.module-v25-workflow{margin:18px 0;padding:18px 20px;border:1px solid var(--border);border-radius:20px;background:#fff;box-shadow:var(--shadow)}
.module-v25-workflow>div{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:12px}
.module-v25-workflow article{display:flex;align-items:center;gap:9px;padding:12px;border:1px solid #dfe7f3;border-radius:14px;background:#f8faff;min-width:0}
.module-v25-workflow article b{display:grid;place-items:center;width:26px;height:26px;border-radius:9px;background:#0b1730;color:#fff;flex:0 0 auto}
.module-v25-workflow article span{font-size:12px;font-weight:800;line-height:1.25}
.module-v25-admin-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:18px 0}
.module-v25-admin-toolbar>div{display:flex;gap:8px;flex-wrap:wrap}
.module-v25-admin-toolbar button{border:1px solid #d8e2ef;background:#fff;border-radius:999px;padding:9px 14px;font-weight:800;color:#53627a}
.module-v25-admin-toolbar button.active{background:#09152d;color:#fff;border-color:#09152d}
.module-v25-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.module-v25-admin-card{background:#fff;border:1px solid var(--border);border-radius:20px;padding:18px;box-shadow:var(--shadow);min-width:0}
.module-v25-admin-card>header{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:start}
.module-v25-admin-card h3{margin:3px 0 5px;font-size:18px;line-height:1.25}
.module-v25-admin-card p{margin:0;color:var(--muted);font-size:13px;overflow-wrap:anywhere}
.module-v25-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#eaf2ff;color:#0b2d62;font-weight:900;font-size:20px;flex:0 0 auto}
.module-v25-admin-card.type-live .module-v25-icon{background:#fff1ec;color:#d8561e}
.module-v25-admin-card.type-current-affairs .module-v25-icon{background:#fff7dc;color:#a46e00}
.module-v25-admin-card.type-roadmap .module-v25-icon{background:#f2ecff;color:#6744ad}
.module-v25-facts,.module-v25-student-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:15px 0}
.module-v25-facts span,.module-v25-student-facts article{padding:11px 12px;border:1px solid #e0e8f3;border-radius:13px;background:#f8faff;min-width:0}
.module-v25-facts strong,.module-v25-student-facts strong{display:block;font-size:13px;overflow-wrap:anywhere}
.module-v25-facts small,.module-v25-student-facts small{display:block;margin-top:3px;color:var(--muted)}
.module-v25-health{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;margin:12px 0}
.module-v25-health>div{height:6px;background:#e8edf4;border-radius:999px;overflow:hidden}
.module-v25-health>div span{display:block;height:100%;background:linear-gradient(90deg,#2f6fc7,#ff8a00)}
.module-v25-admin-card footer{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.module-v25-audit{margin-top:20px;padding:18px;border:1px solid var(--border);border-radius:20px;background:#fff;box-shadow:var(--shadow)}
.module-v25-builder{display:grid;gap:14px}
.module-v25-form-section{border:1px solid #dce5f1;border-radius:18px;overflow:hidden;background:#fff}
.module-v25-form-section>header{display:flex;gap:12px;padding:16px 18px;background:#f7f9fd;border-bottom:1px solid #e3e9f2}
.module-v25-form-section>header>span{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#0b1730;color:#fff;font-weight:900}
.module-v25-form-section h3{margin:0 0 3px}
.module-v25-form-section p{margin:0;color:var(--muted);font-size:13px}
.module-v25-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px}
.module-v25-field{display:grid;gap:7px;min-width:0}
.module-v25-field.wide{grid-column:1/-1}
.module-v25-field>span{font-weight:800;font-size:13px}
.module-v25-field input,.module-v25-field select,.module-v25-field textarea{width:100%;border:1px solid #cad7e8;border-radius:12px;padding:12px 13px;background:#fff;color:#0b1730;font:inherit;box-sizing:border-box}
.module-v25-field textarea{min-height:104px;resize:vertical}
.module-v25-check{display:flex;align-items:center;gap:9px;padding:11px 12px;border:1px solid #dce5f1;border-radius:12px;font-weight:700;background:#fafcff}
.module-v25-validation>div{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.module-v25-validation ul{margin:8px 0 16px;padding-left:22px}
.module-v25-preview>header{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:start}
.module-v25-preview>header h2{margin:4px 0}
.module-v25-preview>div:not(.continuity-note){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}
.module-v25-preview article{padding:12px;border:1px solid #dfe7f3;border-radius:13px;background:#f8faff}
.module-v25-preview article small,.module-v25-preview article strong{display:block}
.module-v25-more{display:grid;gap:10px}
.module-v25-more button{padding:14px 15px;border:1px solid #d9e2ef;border-radius:13px;background:#fff;text-align:left;font-weight:800}
.module-v25-student-command,.module-v25-ca-command{margin:18px 0;padding:18px;border:1px solid var(--border);border-radius:20px;background:#fff;box-shadow:var(--shadow)}
.module-v25-student-command>header,.module-v25-ca-command>header{display:flex;justify-content:space-between;gap:16px;align-items:start}
.module-v25-student-command h2,.module-v25-ca-command h2{margin:4px 0}
.module-v25-resource-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.module-v25-resource-links button,.module-v25-live-grid section button{display:flex;align-items:center;gap:10px;width:100%;padding:12px;border:1px solid #dce5f1;border-radius:13px;background:#f9fbff;text-align:left}
.module-v25-resource-links button>span,.module-v25-live-grid section button>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#eaf2ff;font-weight:900}
.module-v25-resource-links strong,.module-v25-resource-links small{display:block}
.module-v25-ca-sources{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}
.module-v25-ca-sources span,.module-v25-ca-sources button{border:1px solid #dce5f1;border-radius:999px;padding:7px 10px;background:#f9fbff;font-size:12px;font-weight:800}
.module-v25-roadmap-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:15px}
.module-v25-roadmap-weekbar{display:flex;gap:9px;overflow-x:auto;padding:4px 0 14px;scrollbar-width:thin}
.module-v25-roadmap-weekbar button{display:grid;gap:3px;min-width:135px;padding:12px;border:1px solid #dce5f1;border-radius:14px;background:#fff;text-align:left}
.module-v25-roadmap-weekbar button.active{background:#0b1730;color:#fff;border-color:#0b1730}
.module-v25-roadmap-weekbar button b{font-size:12px;color:#ff7a00}
.module-v25-roadmap-weekbar button span{font-size:12px;font-weight:800}
.module-v25-roadmap .roadmap-timeline article.current{border-color:#ff8a00;box-shadow:0 0 0 2px rgba(255,138,0,.12)}
.module-v25-roadmap-milestones{margin-top:18px;padding:17px;border:1px solid #dce5f1;border-radius:18px;background:#fff}
.module-v25-roadmap-milestones>article{display:flex;gap:12px;align-items:center;padding:10px 0;border-top:1px solid #edf1f6}
.module-v25-roadmap-milestones>article span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#fff1e5;color:#c85a00;font-weight:900}
.module-v25-roadmap-task-list{display:grid;gap:11px;margin:18px 0}
.module-v25-roadmap-task-list article{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:14px;border:1px solid #dce5f1;border-radius:15px;background:#fff}
.module-v25-roadmap-task-list article>span{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#eaf2ff;font-weight:900}
.module-v25-live-hero{display:grid;grid-template-columns:1fr auto;gap:18px;padding:22px;border:1px solid #d7e2ef;border-radius:22px;background:linear-gradient(135deg,#0b1831,#244b76);color:#fff;box-shadow:var(--shadow)}
.module-v25-live-hero>div{display:flex;gap:13px}
.module-v25-live-hero h2{margin:4px 0 8px;font-size:30px}
.module-v25-live-hero p{margin:0;color:#d5e3f6}
.module-v25-live-hero aside{display:flex;flex-direction:column;justify-content:center;gap:8px;min-width:190px;padding:16px;border-radius:17px;background:rgba(255,255,255,.1)}
.module-v25-live-hero aside strong{font-size:24px}
.module-v25-live-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:16px}
.module-v25-live-grid>section{padding:17px;border:1px solid #dce5f1;border-radius:18px;background:#fff;box-shadow:var(--shadow)}
.module-v25-fact-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
.module-v25-fact-list span{padding:9px;border-radius:11px;background:#f4f7fb}
.module-v25-fact-list small,.module-v25-fact-list strong{display:block}
.module-v25-live-list,.module-v25-mentor-live{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.module-v25-live-list>article,.module-v25-mentor-live>article{padding:18px;border:1px solid #dce5f1;border-radius:19px;background:#fff;box-shadow:var(--shadow)}
.module-v25-live-list header,.module-v25-mentor-live header{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:start}
.module-v25-live-list h3,.module-v25-mentor-live h3{margin:3px 0}
.module-v25-live-list footer,.module-v25-mentor-live footer{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}
.module-v25-calendar{display:grid;gap:12px}
.module-v25-calendar article{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;padding:15px;border:1px solid #dce5f1;border-radius:16px;background:#fff;box-shadow:var(--shadow)}
.module-v25-calendar time{display:grid;place-items:center;width:62px;height:62px;border-radius:16px;background:#0b1730;color:#fff}
.module-v25-calendar time strong,.module-v25-calendar time small{display:block}
.module-v25-join-proof{text-align:center;padding:10px 0}
.module-v25-join-proof .module-v25-icon{margin:0 auto 12px}

@media (max-width:1100px){
  .module-v25-workflow>div{grid-template-columns:repeat(3,minmax(0,1fr))}
  .module-v25-live-grid{grid-template-columns:1fr 1fr}
  .module-v25-live-grid>section:first-child{grid-column:1/-1}
}
@media (max-width:820px){
  .module-v25-admin-grid,.module-v25-live-list,.module-v25-mentor-live{grid-template-columns:1fr}
  .module-v25-form-grid{grid-template-columns:1fr}
  .module-v25-field.wide{grid-column:auto}
  .module-v25-live-hero{grid-template-columns:1fr}
  .module-v25-live-hero aside{min-width:0}
  .module-v25-live-grid{grid-template-columns:1fr}
  .module-v25-live-grid>section:first-child{grid-column:auto}
  .module-v25-preview>div:not(.continuity-note){grid-template-columns:1fr 1fr}
}
@media (max-width:560px){
  .module-v25-workflow>div{grid-template-columns:1fr 1fr}
  .module-v25-admin-card>header,.module-v25-live-list header,.module-v25-mentor-live header{grid-template-columns:auto 1fr}
  .module-v25-admin-card>header>.state-badge,.module-v25-live-list header>.state-badge,.module-v25-mentor-live header>.state-badge{grid-column:2}
  .module-v25-facts,.module-v25-student-facts,.module-v25-preview>div:not(.continuity-note),.module-v25-resource-links,.module-v25-fact-list{grid-template-columns:1fr}
  .module-v25-student-command>header,.module-v25-ca-command>header{display:grid}
  .module-v25-roadmap-task-list article,.module-v25-calendar article{grid-template-columns:auto 1fr}
  .module-v25-roadmap-task-list article>button,.module-v25-calendar article>button{grid-column:1/-1;width:100%}
  .module-v25-live-hero h2{font-size:24px}
}

/* V25.1 module completion hardening */
.module-v25-ops-panel,.module-v25-public-detail{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);padding:20px;margin:18px 0}
.module-v25-ops-panel>header,.module-v25-public-detail>header{display:flex;align-items:flex-start;gap:14px;justify-content:space-between}
.module-v25-ops-panel h2,.module-v25-public-detail h2{margin:4px 0 6px;font-size:24px}
.module-v25-public-detail>header>div{flex:1;min-width:0}
.module-v25-ops-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px}
.module-v25-ops-grid .info-card{margin:0;min-height:104px}
.module-v25-provider-matrix{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}
.module-v25-provider-matrix article{border:1px solid var(--line);border-radius:16px;padding:16px;background:linear-gradient(135deg,#f8fbff,#fff)}
.module-v25-provider-matrix article strong{display:block;margin-bottom:8px;font-size:16px}
.module-v25-provider-matrix article p{margin:10px 0 0;color:var(--muted);line-height:1.5}
.module-v25-ca-editor{display:grid;gap:16px}
.module-v25-ca-editor article{border:1px solid var(--line);border-radius:18px;padding:16px;background:#fbfdff}
.module-v25-ca-editor article>header{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.module-v25-ca-editor article>header span{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#e9f1ff;color:#1d5cb7;font-weight:800}
.module-v25-ca-editor label{display:grid;gap:7px;margin-top:10px;font-weight:700}
.module-v25-ca-editor input,.module-v25-ca-editor textarea{width:100%;border:1px solid var(--line);border-radius:12px;padding:11px 12px;font:inherit;background:#fff}
.module-v25-ca-editor textarea{min-height:92px;resize:vertical;font-weight:400}
.module-v25-public-detail .resource-detail-facts-v23{margin-top:16px}
.module-v25-public-detail .continuity-note{margin-top:14px}
@media(max-width:1000px){.module-v25-ops-grid,.module-v25-provider-matrix{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.module-v25-ops-panel,.module-v25-public-detail{padding:15px;border-radius:16px}.module-v25-ops-grid,.module-v25-provider-matrix{grid-template-columns:1fr}.module-v25-ops-panel h2,.module-v25-public-detail h2{font-size:20px}.module-v25-public-detail>header{flex-wrap:wrap}.module-v25-ca-editor article{padding:12px}}

/* ========================================================================== */
/* V26 — Notification Center + Final Application Completion                   */
/* ========================================================================== */
.notification-dot.v26-count{top:3px;right:1px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;display:grid;place-items:center;font-size:10px;font-weight:900;line-height:1;background:#ff6f00;color:#fff;border:2px solid #fff;box-shadow:0 5px 14px rgba(255,111,0,.3)}
.v26-notification-popover{width:min(390px,calc(100vw - 20px));padding:0;overflow:hidden}
.v26-notification-popover .popover-heading{display:flex;justify-content:space-between;align-items:center;padding:15px 16px;border-bottom:1px solid var(--line);background:#fbfdff}
.v26-notification-popover .popover-heading b{font-size:11px;color:#245dab;background:#edf4ff;padding:5px 8px;border-radius:999px}
.v26-notification-popover .notice{width:100%;border:0;border-bottom:1px solid var(--line);border-radius:0;background:#fff;padding:13px 15px;display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;text-align:left;cursor:pointer;color:var(--navy-900)}
.v26-notification-popover .notice.unread{background:#f7fbff;border-left:4px solid var(--orange-500)}
.v26-notification-popover .notice>span{width:32px;height:32px;border-radius:10px;background:#edf4ff;display:grid;place-items:center;font-weight:900;color:#245dab}
.v26-notification-popover .notice strong,.v26-notification-popover .notice small,.v26-notification-popover .notice em{display:block}
.v26-notification-popover .notice small{color:var(--muted);margin-top:3px;line-height:1.35}
.v26-notification-popover .notice em{font-size:10px;font-style:normal;color:#7a8799;margin-top:5px;text-transform:uppercase;letter-spacing:.04em}
.v26-notification-popover .popover-item.strong{margin:10px;width:calc(100% - 20px)}
.v26-notification-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 18px}
.v26-notification-kpis .kpi-card{min-width:0}
.v26-notification-filters{display:grid;grid-template-columns:auto minmax(180px,240px) minmax(240px,1fr);gap:14px;align-items:end;background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;margin-bottom:18px;box-shadow:var(--shadow-sm)}
.v26-notification-filters label{display:grid;gap:6px;font-size:11px;font-weight:800;color:#4f5f76;text-transform:uppercase;letter-spacing:.04em}
.v26-notification-filters select,.v26-notification-filters input{width:100%;height:42px;border:1px solid #d4dfec;border-radius:11px;background:#fff;padding:0 12px;font:inherit;color:var(--navy-900)}
.v26-segment{display:flex;gap:6px;flex-wrap:wrap}
.v26-segment button,.v26-admin-tabs button{border:1px solid #d4dfec;background:#fff;color:#4f5f76;border-radius:999px;padding:10px 13px;font-weight:800;cursor:pointer}
.v26-segment button.active,.v26-admin-tabs button.active{background:var(--navy-900);border-color:var(--navy-900);color:#fff}
.v26-notification-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.65fr);gap:18px;align-items:start}
.v26-notification-list{display:grid;gap:12px;min-width:0}
.v26-notification-card{display:grid;grid-template-columns:52px minmax(0,1fr);gap:14px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;box-shadow:var(--shadow-sm);position:relative;overflow:hidden}
.v26-notification-card.unread{border-left:5px solid #ff7a00;background:linear-gradient(90deg,#fff9f2 0,#fff 22%)}
.v26-notification-card.priority-critical{border-top-color:#e44747}.v26-notification-card.priority-high{border-top-color:#ff8a00}
.v26-notification-card.pinned:after{content:"PINNED";position:absolute;right:-28px;top:14px;transform:rotate(45deg);background:#ff8a00;color:#fff;font-size:9px;font-weight:900;padding:4px 30px;letter-spacing:.06em}
.v26-notification-icon{width:48px;height:48px;border-radius:15px;background:#edf4ff;color:#245dab;display:grid;place-items:center;font-size:20px;font-weight:900}
.v26-notification-copy header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.v26-notification-copy header>div{display:flex;gap:7px;flex-wrap:wrap}
.v26-category,.v26-priority,.v26-pin{display:inline-flex;align-items:center;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.v26-category{background:#edf4ff;color:#245dab}.v26-priority{background:#f3f5f8;color:#536174}.priority-high .v26-priority,.priority-critical .v26-priority{background:#fff0df;color:#b95900}.v26-pin{background:#fff4d9;color:#9b6300}
.v26-notification-copy time{font-size:11px;color:var(--muted);white-space:nowrap}
.v26-notification-copy h3{margin:11px 0 6px;font-size:19px}.v26-notification-copy p{margin:0;color:var(--muted);line-height:1.5}
.v26-notification-copy footer{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.v26-notification-copy footer button{padding:8px 11px;font-size:12px}
.v26-notification-card.read{opacity:.82}.v26-notification-card.read .v26-notification-icon{filter:grayscale(.35)}
.v26-delivery-panel{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px;box-shadow:var(--shadow-sm);position:sticky;top:86px}
.v26-delivery-panel h2{font-size:22px;margin:6px 0 13px}.v26-delivery-panel p{color:var(--muted);line-height:1.55}
.v26-delivery-panel ul{list-style:none;padding:0;margin:14px 0}.v26-delivery-panel li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--line)}
.v26-pref-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.v26-pref-facts span{border:1px solid var(--line);border-radius:13px;padding:11px}.v26-pref-facts small,.v26-pref-facts strong{display:block}.v26-pref-facts small{color:var(--muted);font-size:10px;text-transform:uppercase}.v26-pref-facts strong{margin-top:4px}
.v26-notification-empty{display:flex;align-items:center;gap:16px;background:#fff;border:1px dashed #b8c9de;border-radius:22px;padding:30px}.v26-notification-empty>span{width:58px;height:58px;border-radius:18px;background:#edf8f2;color:#09834b;display:grid;place-items:center;font-size:28px}.v26-notification-empty h2{margin:0 0 6px}.v26-notification-empty p{margin:0;color:var(--muted)}
.v26-public-update-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;background:linear-gradient(135deg,#0b1730,#244878);color:#fff;border-radius:24px;padding:26px;margin-bottom:18px;border-bottom:4px solid var(--orange-500)}
.v26-public-update-hero h2{font-size:30px;margin:7px 0}.v26-public-update-hero p{margin:0;color:#d9e5f5;max-width:820px;line-height:1.55}.v26-public-update-hero aside{width:116px;height:116px;border-radius:30px;background:#ffffff12;border:1px solid #ffffff2b;display:grid;place-items:center;text-align:center}.v26-public-update-hero aside strong{display:block;font-size:38px}.v26-public-update-hero aside small{display:block;color:#dce7f7}
.v26-admin-safety{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;background:linear-gradient(135deg,#101b38,#28255c);color:#fff;border-radius:24px;padding:24px;margin-bottom:16px;border-bottom:4px solid var(--orange-500)}
.v26-admin-safety h2{font-size:28px;margin:6px 0}.v26-admin-safety p{margin:0;color:#dbe4f4}.v26-admin-safety aside{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.v26-admin-safety .state-badge{background:#ffffff12;color:#fff;border:1px solid #ffffff2b}
.v26-admin-tabs{display:flex;gap:8px;overflow:auto;padding:4px 0 14px;scrollbar-width:none}.v26-admin-tabs button{white-space:nowrap;border-radius:12px}
.v26-admin-section{background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px;box-shadow:var(--shadow-sm)}
.v26-admin-section>header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}.v26-admin-section>header h2{margin:5px 0}.v26-admin-section>header p{margin:0;color:var(--muted)}
.v26-outbound-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.v26-outbound-card{border:1px solid var(--line);border-radius:18px;padding:17px;background:#fbfdff}.v26-outbound-card header{display:flex;justify-content:space-between;gap:10px}.v26-outbound-card h3{margin:12px 0 6px}.v26-outbound-card p{color:var(--muted);line-height:1.45}.v26-outbound-card dl{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0}.v26-outbound-card dl>div{border:1px solid var(--line);border-radius:11px;padding:9px}.v26-outbound-card dt{font-size:9px;color:var(--muted);text-transform:uppercase}.v26-outbound-card dd{margin:3px 0 0;font-size:12px;font-weight:800;overflow-wrap:anywhere}.v26-outbound-card footer{display:flex;gap:7px;flex-wrap:wrap}.v26-outbound-card footer button,.v26-rule-grid button,.v26-template-grid button{border:1px solid #d4dfec;background:#fff;border-radius:10px;padding:8px 10px;font-weight:800;cursor:pointer;color:var(--navy-900)}
.v26-rule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.v26-rule-grid article{border:1px solid var(--line);border-radius:18px;padding:16px;background:#fbfdff}.v26-rule-grid article>header{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:11px;align-items:center}.v26-rule-grid article>header>span{width:40px;height:40px;border-radius:12px;background:#edf4ff;display:grid;place-items:center}.v26-rule-grid h3{margin:0 0 4px}.v26-rule-grid code{font-size:10px}.v26-rule-grid p{color:var(--muted)}
.v26-switch{position:relative;width:44px;height:26px}.v26-switch input{position:absolute;opacity:0}.v26-switch i{display:block;width:44px;height:26px;border-radius:99px;background:#c8d2df;position:relative;transition:.2s}.v26-switch i:after{content:"";position:absolute;width:20px;height:20px;border-radius:50%;background:#fff;left:3px;top:3px;box-shadow:0 2px 7px #0002;transition:.2s}.v26-switch input:checked+i{background:#14985c}.v26-switch input:checked+i:after{left:21px}.v26-switch input:disabled+i{opacity:.45}
.v26-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.v26-template-grid article{display:grid;grid-template-columns:48px minmax(0,1fr);gap:13px;border:1px solid var(--line);border-radius:18px;padding:17px}.v26-template-grid article>span{width:46px;height:46px;border-radius:14px;background:#edf4ff;display:grid;place-items:center;font-size:20px}.v26-template-grid small{color:var(--muted)}.v26-template-grid h3{margin:4px 0}.v26-template-grid strong{display:block}.v26-template-grid p{color:var(--muted)}.v26-template-grid code{display:block;overflow-wrap:anywhere}.v26-template-grid footer{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}
.v26-audit-list{display:grid;gap:8px}.v26-audit-list article{display:grid;grid-template-columns:180px minmax(0,1fr) 170px;gap:13px;align-items:center;border:1px solid var(--line);border-radius:13px;padding:12px}.v26-audit-list small{display:block;color:var(--muted);margin-top:3px}.v26-audit-list>article>span{text-align:right;color:var(--muted);font-size:12px;overflow-wrap:anywhere}
.v26-preference-form,.v26-composer-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.v26-preference-form label,.v26-composer-form label{display:grid;gap:6px;font-weight:800;font-size:12px}.v26-preference-form input,.v26-preference-form select,.v26-composer-form input,.v26-composer-form select,.v26-composer-form textarea{width:100%;border:1px solid #d2deec;border-radius:11px;background:#fff;padding:11px;font:inherit;color:var(--navy-900)}.v26-composer-form textarea{min-height:90px;resize:vertical}.v26-composer-form .wide,.v26-composer-form fieldset.wide,.v26-preference-form fieldset{grid-column:1/-1}.v26-composer-form .check{display:flex;align-items:center;grid-template-columns:auto 1fr}.v26-composer-form .check input{width:auto}.v26-composer-form fieldset,.v26-preference-form fieldset{border:1px solid var(--line);border-radius:13px;padding:12px;display:flex;gap:12px;flex-wrap:wrap}.v26-composer-form fieldset label,.v26-preference-form fieldset label{display:flex;align-items:center;gap:6px}.v26-composer-form fieldset input,.v26-preference-form fieldset input{width:auto}.v26-preview-notification{display:grid;grid-template-columns:60px minmax(0,1fr);gap:15px;align-items:start}.v26-preview-notification>span{width:58px;height:58px;border-radius:18px;background:#edf4ff;color:#245dab;display:grid;place-items:center;font-size:25px}.v26-preview-notification h2{margin:6px 0}.v26-preview-notification p{color:var(--muted);line-height:1.55}.v26-preview-notification code{overflow-wrap:anywhere}
@media(max-width:1280px){.v26-notification-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.v26-notification-layout{grid-template-columns:1fr}.v26-delivery-panel{position:static}.v26-notification-filters{grid-template-columns:1fr 1fr}.v26-segment{grid-column:1/-1}.v26-outbound-grid,.v26-rule-grid,.v26-template-grid{grid-template-columns:1fr}}
@media(max-width:760px){.v26-notification-filters{grid-template-columns:1fr}.v26-segment{grid-column:auto;overflow:auto;flex-wrap:nowrap}.v26-segment button{white-space:nowrap}.v26-notification-card{grid-template-columns:42px minmax(0,1fr);padding:15px}.v26-notification-icon{width:40px;height:40px;border-radius:12px}.v26-notification-copy header{display:block}.v26-notification-copy time{display:block;margin-top:7px}.v26-notification-copy footer{display:grid;grid-template-columns:1fr 1fr}.v26-public-update-hero,.v26-admin-safety{grid-template-columns:1fr;padding:20px}.v26-public-update-hero aside{width:auto;height:auto;padding:14px;display:flex;gap:8px;justify-content:center}.v26-admin-safety aside{justify-content:flex-start}.v26-admin-section{padding:15px}.v26-admin-section>header{display:block}.v26-admin-section>header button{margin-top:12px}.v26-outbound-card dl{grid-template-columns:1fr}.v26-audit-list article{grid-template-columns:1fr}.v26-audit-list>article>span{text-align:left}.v26-preference-form,.v26-composer-form{grid-template-columns:1fr}.v26-composer-form .wide,.v26-composer-form fieldset.wide,.v26-preference-form fieldset{grid-column:auto}.v26-notification-kpis{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.v26-notification-kpis{grid-template-columns:1fr}.v26-notification-copy footer{grid-template-columns:1fr}.v26-pref-facts{grid-template-columns:1fr}.v26-notification-popover{right:8px;left:8px;width:auto}.notification-dot.v26-count{right:-3px}}
