:root{
  --pro-bg:#07111f;
  --pro-bg-soft:#0b1728;
  --pro-panel:#0f1d31;
  --pro-panel-2:#13243b;
  --pro-border:rgba(148,163,184,.18);
  --pro-border-strong:rgba(96,165,250,.34);
  --pro-text:#f8fafc;
  --pro-muted:#aebbd0;
  --pro-subtle:#7f8ca3;
  --pro-primary:#2f80ed;
  --pro-primary-2:#56a7ff;
  --pro-success:#31c48d;
  --pro-warning:#f6b84b;
  --pro-danger:#f06a6a;
  --pro-white:#fff;
  --pro-shadow:0 24px 70px rgba(0,0,0,.28);
  --pro-shadow-soft:0 12px 36px rgba(0,0,0,.18);
  --pro-radius-sm:10px;
  --pro-radius:16px;
  --pro-radius-lg:24px;
  --pro-shell:1180px;
  --pro-shell-wide:1320px;
  --pro-header-h:76px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--pro-bg)}
body.pro-body,
body[data-pro-shell]{margin:0;min-height:100vh;background:
  radial-gradient(circle at 15% -10%,rgba(47,128,237,.15),transparent 30%),
  radial-gradient(circle at 90% 8%,rgba(49,196,141,.08),transparent 24%),
  var(--pro-bg);color:var(--pro-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body[data-pro-shell] img{max-width:100%;height:auto}
body[data-pro-shell] a{color:inherit}
body[data-pro-shell] button,
body[data-pro-shell] input,
body[data-pro-shell] select,
body[data-pro-shell] textarea{font:inherit}
.pro-skip-link{position:fixed;left:16px;top:-60px;z-index:99999;background:#fff;color:#07111f;padding:10px 14px;border-radius:10px;font-weight:800;transition:.2s}
.pro-skip-link:focus{top:16px}
.pro-shell{width:min(calc(100% - 40px),var(--pro-shell));margin-inline:auto}
.pro-shell-wide{width:min(calc(100% - 40px),var(--pro-shell-wide));margin-inline:auto}
.pro-section{padding:92px 0}
.pro-section.compact{padding:64px 0}
.pro-section.surface{background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,.005));border-block:1px solid rgba(148,163,184,.09)}
.pro-section-head{max-width:760px;margin-bottom:38px}
.pro-section-head.center{text-align:center;margin-inline:auto}
.pro-kicker,.pro-eyebrow{display:inline-flex;align-items:center;gap:9px;margin:0 0 12px;color:#84bfff;font-size:.76rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.pro-kicker::before,.pro-eyebrow::before{content:"";width:24px;height:2px;border-radius:999px;background:linear-gradient(90deg,var(--pro-primary),var(--pro-success))}
.pro-title{margin:0;color:var(--pro-text);font-size:clamp(2rem,4.2vw,4rem);line-height:1.05;letter-spacing:-.045em;font-weight:850}
.pro-section-title{margin:0;color:var(--pro-text);font-size:clamp(1.75rem,3vw,2.75rem);line-height:1.14;letter-spacing:-.035em;font-weight:820}
.pro-lead{margin:18px 0 0;color:var(--pro-muted);font-size:clamp(1rem,1.5vw,1.18rem);max-width:720px}
.pro-muted{color:var(--pro-muted)}
.pro-note{color:var(--pro-muted);font-size:.93rem}
.pro-grid{display:grid;gap:22px}
.pro-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.pro-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.pro-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.pro-card{position:relative;background:linear-gradient(180deg,rgba(19,36,59,.92),rgba(12,26,44,.92));border:1px solid var(--pro-border);border-radius:var(--pro-radius-lg);box-shadow:var(--pro-shadow-soft);padding:28px;overflow:hidden}
.pro-card::after{content:"";position:absolute;inset:auto -20% -55% 35%;height:150px;background:radial-gradient(circle,rgba(47,128,237,.13),transparent 70%);pointer-events:none}
.pro-card h2,.pro-card h3{margin:0 0 10px;color:var(--pro-text);line-height:1.22;letter-spacing:-.025em}
.pro-card p{margin:0;color:var(--pro-muted)}
.pro-card .pro-icon{width:46px;height:46px;display:grid;place-items:center;margin-bottom:20px;border:1px solid var(--pro-border-strong);border-radius:14px;background:rgba(47,128,237,.1);color:#9dcbff;font-weight:900}
.pro-card.soft{background:rgba(255,255,255,.025);box-shadow:none}
.pro-card.highlight{border-color:rgba(86,167,255,.5);box-shadow:0 24px 70px rgba(18,91,177,.18)}
.pro-btn,.pro-link-btn,body[data-pro-shell] .xn-button,body[data-pro-shell] .register-btn,body[data-pro-shell] .payment-btn{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid transparent;border-radius:12px;padding:0 20px;text-decoration:none;font-weight:800;font-size:.95rem;letter-spacing:-.01em;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease}
.pro-btn:hover,.pro-link-btn:hover,body[data-pro-shell] .xn-button:hover,body[data-pro-shell] .register-btn:hover,body[data-pro-shell] .payment-btn:hover{transform:translateY(-1px)}
.pro-btn.primary,.pro-link-btn.primary,body[data-pro-shell] .register-btn,body[data-pro-shell] .payment-btn{background:linear-gradient(135deg,var(--pro-primary),#176ed6);color:#fff;box-shadow:0 12px 28px rgba(47,128,237,.28)}
.pro-btn.secondary{background:#fff;color:#07111f}
.pro-btn.ghost,.pro-link-btn.ghost,body[data-pro-shell] .xn-button.ghost{background:rgba(255,255,255,.035);border-color:var(--pro-border);color:var(--pro-text);box-shadow:none}
.pro-btn.full,.pro-link-btn.full{width:100%}
.pro-btn.sm{min-height:40px;padding:0 15px;border-radius:10px;font-size:.88rem}
.pro-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.pro-badge{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border:1px solid rgba(86,167,255,.26);border-radius:999px;background:rgba(47,128,237,.08);color:#b8dcff;font-size:.78rem;font-weight:750}
.pro-badge.success{border-color:rgba(49,196,141,.28);background:rgba(49,196,141,.08);color:#8ee6c1}
.pro-nav{position:sticky;top:0;z-index:1000;min-height:var(--pro-header-h);background:rgba(7,17,31,.86);backdrop-filter:blur(18px);border-bottom:1px solid rgba(148,163,184,.12)}
.pro-nav-inner{min-height:var(--pro-header-h);display:flex;align-items:center;justify-content:space-between;gap:24px}
.pro-brand{display:flex;align-items:center;gap:12px;text-decoration:none;min-width:max-content}
.pro-brand img{width:42px;height:42px;object-fit:contain}
.pro-brand-copy{display:flex;flex-direction:column;line-height:1.05}
.pro-brand-copy strong{font-size:1rem;letter-spacing:.01em}
.pro-brand-copy span{margin-top:5px;color:var(--pro-subtle);font-size:.69rem;letter-spacing:.09em;text-transform:uppercase}
.pro-nav-links{display:flex;align-items:center;justify-content:flex-end;gap:4px;list-style:none;margin:0;padding:0}
.pro-nav-links a{display:flex;align-items:center;min-height:42px;padding:0 13px;border-radius:10px;text-decoration:none;color:var(--pro-muted);font-size:.9rem;font-weight:700}
.pro-nav-links a:hover,.pro-nav-links a[aria-current="page"]{color:#fff;background:rgba(255,255,255,.055)}
.pro-nav-actions{display:flex;align-items:center;gap:10px}
.pro-nav-toggle{display:none;width:44px;height:44px;border:1px solid var(--pro-border);border-radius:11px;background:rgba(255,255,255,.04);color:#fff;font-size:1.2rem}
.pro-hero{padding:96px 0 72px}
.pro-hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(400px,.95fr);gap:64px;align-items:center}
.pro-hero-copy .pro-title em{font-style:normal;color:#8bc5ff}
.pro-trust-row{display:flex;flex-wrap:wrap;gap:18px;margin-top:30px;color:var(--pro-muted);font-size:.86rem;font-weight:650}
.pro-trust-row span{display:flex;align-items:center;gap:8px}
.pro-trust-row span::before{content:"✓";display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:rgba(49,196,141,.12);color:#65d9a8;font-size:.72rem;font-weight:900}
.pro-hero-visual{position:relative;min-height:500px;border:1px solid var(--pro-border);border-radius:30px;background:linear-gradient(145deg,rgba(20,42,69,.96),rgba(8,21,38,.96));box-shadow:var(--pro-shadow);overflow:hidden;padding:26px}
.pro-hero-visual::before{content:"";position:absolute;inset:-20% 30% 50% -20%;background:radial-gradient(circle,rgba(47,128,237,.33),transparent 65%)}
.pro-hero-visual img{position:relative;width:100%;height:100%;object-fit:cover;border-radius:20px;border:1px solid rgba(255,255,255,.08)}
.pro-product-window{position:relative;z-index:1;border:1px solid rgba(255,255,255,.1);border-radius:22px;background:rgba(5,15,28,.74);overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.3)}
.pro-window-bar{display:flex;align-items:center;gap:7px;height:48px;padding:0 16px;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025)}
.pro-window-bar i{width:8px;height:8px;border-radius:50%;background:#496175}.pro-window-bar i:first-child{background:#f06a6a}.pro-window-bar i:nth-child(2){background:#f6b84b}.pro-window-bar i:nth-child(3){background:#31c48d}
.pro-window-body{padding:22px}
.pro-window-stat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:18px}
.pro-window-stat{padding:18px;border:1px solid rgba(148,163,184,.14);border-radius:15px;background:rgba(255,255,255,.025)}
.pro-window-stat strong{display:block;font-size:1.18rem}.pro-window-stat span{color:var(--pro-subtle);font-size:.82rem}
.pro-process{counter-reset:steps}
.pro-process article{position:relative;padding-left:74px}
.pro-process article::before{counter-increment:steps;content:counter(steps,decimal-leading-zero);position:absolute;left:0;top:0;width:52px;height:52px;display:grid;place-items:center;border-radius:15px;border:1px solid var(--pro-border-strong);background:rgba(47,128,237,.09);color:#a8d3ff;font-weight:850}
.pro-plan-card{display:flex;flex-direction:column;min-height:100%}
.pro-plan-card .pro-price{margin:16px 0 6px;font-size:2.4rem;font-weight:900;letter-spacing:-.05em}
.pro-plan-card .pro-price small{font-size:.85rem;color:var(--pro-muted);font-weight:650;letter-spacing:0}
.pro-list{list-style:none;margin:22px 0 0;padding:0;display:grid;gap:11px}
.pro-list li{position:relative;padding-left:25px;color:var(--pro-muted);font-size:.93rem}
.pro-list li::before{content:"✓";position:absolute;left:0;color:#6ed9ae;font-weight:900}
.pro-plan-card .pro-actions{margin-top:auto;padding-top:26px}
.pro-auth-page{min-height:100vh}
.pro-auth-main{width:min(calc(100% - 40px),1120px);margin:0 auto;padding:54px 0 80px}
.pro-auth-grid{display:grid;grid-template-columns:minmax(320px,.78fr) minmax(460px,1.22fr);gap:30px;align-items:start}
.pro-auth-aside{position:sticky;top:calc(var(--pro-header-h) + 24px);padding:34px}
.pro-auth-aside h1{margin:0;font-size:clamp(2rem,4vw,3.25rem);line-height:1.07;letter-spacing:-.045em}
.pro-auth-aside p{color:var(--pro-muted)}
.pro-auth-card{background:linear-gradient(180deg,rgba(17,34,56,.97),rgba(10,23,40,.97));border:1px solid var(--pro-border);border-radius:26px;box-shadow:var(--pro-shadow);padding:34px}
.pro-auth-card h1{margin:0;font-size:clamp(1.8rem,3vw,2.45rem);letter-spacing:-.04em;line-height:1.15}
.pro-auth-card .pro-subtitle{margin:10px 0 28px;color:var(--pro-muted)}
.pro-form{display:grid;gap:18px}
.pro-field{display:grid;gap:8px}
.pro-field label{font-size:.84rem;color:#d7e2f1;font-weight:750}
.pro-field .hint{font-size:.78rem;color:var(--pro-subtle)}
.pro-input,body[data-pro-shell] input:not([type="checkbox"]):not([type="radio"]),body[data-pro-shell] select,body[data-pro-shell] textarea{width:100%;min-height:50px;border:1px solid rgba(148,163,184,.24);border-radius:12px;background:rgba(5,15,28,.66);color:#fff;padding:12px 14px;outline:none;transition:border-color .18s,box-shadow .18s,background .18s}
body[data-pro-shell] textarea{min-height:128px;resize:vertical}
.pro-input:focus,body[data-pro-shell] input:not([type="checkbox"]):not([type="radio"]):focus,body[data-pro-shell] select:focus,body[data-pro-shell] textarea:focus{border-color:#5ba9ff;box-shadow:0 0 0 4px rgba(47,128,237,.16);background:rgba(7,20,36,.9)}
.pro-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.pro-check{display:flex;align-items:flex-start;gap:10px;color:var(--pro-muted);font-size:.86rem}
.pro-check input{margin-top:4px;accent-color:var(--pro-primary)}
.pro-divider{display:flex;align-items:center;gap:12px;color:var(--pro-subtle);font-size:.78rem;margin:4px 0}.pro-divider::before,.pro-divider::after{content:"";flex:1;height:1px;background:var(--pro-border)}
.pro-auth-links{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:18px;color:var(--pro-muted);font-size:.87rem}
.pro-auth-links a{color:#8fc7ff;text-decoration:none;font-weight:750}
.pro-plan-selector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.pro-plan-option{position:relative;display:block;border:1px solid var(--pro-border);border-radius:16px;background:rgba(255,255,255,.025);padding:20px;cursor:pointer;transition:.2s}
.pro-plan-option:hover,.pro-plan-option:has(input:checked){border-color:#5ba9ff;background:rgba(47,128,237,.08);box-shadow:0 0 0 3px rgba(47,128,237,.1)}
.pro-plan-option input{position:absolute;right:16px;top:16px;accent-color:var(--pro-primary)}
.pro-plan-option strong{display:block;font-size:1.25rem}.pro-plan-option small{color:var(--pro-muted)}
.pro-info-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}
.pro-info-strip div{padding:14px;border:1px solid rgba(148,163,184,.12);border-radius:12px;background:rgba(255,255,255,.02)}
.pro-info-strip strong{display:block;font-size:.84rem}.pro-info-strip span{display:block;margin-top:3px;color:var(--pro-subtle);font-size:.74rem}
.pro-page-hero{padding:58px 0 36px;border-bottom:1px solid rgba(148,163,184,.1)}
.pro-page-hero-grid{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.pro-page-hero .pro-section-title{max-width:790px}
.pro-page-main{padding:44px 0 84px}
.pro-content-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:34px;align-items:start}
.pro-content{display:grid;gap:22px}
.pro-content article,.pro-legal-section{background:rgba(255,255,255,.025);border:1px solid var(--pro-border);border-radius:18px;padding:26px}
.pro-content h2,.pro-content h3,.pro-legal-section h2,.pro-legal-section h3{margin-top:0;color:#f8fafc;letter-spacing:-.025em}
.pro-content p,.pro-content li,.pro-legal-section p,.pro-legal-section li{color:var(--pro-muted)}
.pro-content a,.pro-legal-section a{color:#8fc7ff}
.pro-side-nav{position:sticky;top:calc(var(--pro-header-h) + 24px);display:grid;gap:8px;padding:18px;border:1px solid var(--pro-border);border-radius:16px;background:rgba(11,23,40,.86)}
.pro-side-nav strong{padding:8px 10px;font-size:.82rem;text-transform:uppercase;letter-spacing:.09em;color:var(--pro-subtle)}
.pro-side-nav a{padding:9px 10px;border-radius:9px;text-decoration:none;color:var(--pro-muted);font-size:.87rem;font-weight:650}.pro-side-nav a:hover{background:rgba(255,255,255,.045);color:#fff}
.pro-status-card{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.pro-status-pill{display:inline-flex;padding:6px 10px;border-radius:999px;font-size:.75rem;font-weight:800;background:rgba(49,196,141,.11);color:#83e0bb}
.pro-table-wrap{overflow:auto;border:1px solid var(--pro-border);border-radius:16px}
.pro-table{width:100%;border-collapse:collapse;min-width:720px;background:rgba(8,20,35,.72)}
.pro-table th,.pro-table td{padding:14px 16px;border-bottom:1px solid rgba(148,163,184,.11);text-align:left;font-size:.86rem}.pro-table th{color:#dce8f7;background:rgba(255,255,255,.025)}.pro-table td{color:var(--pro-muted)}
.pro-footer{margin-top:auto;border-top:1px solid rgba(148,163,184,.13);background:#050d18}
.pro-footer-main{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:42px;padding:54px 0 38px}
.pro-footer-brand p{max-width:440px;color:var(--pro-muted);font-size:.9rem}
.pro-footer h3{margin:0 0 14px;font-size:.83rem;text-transform:uppercase;letter-spacing:.1em;color:#d8e5f5}
.pro-footer-links{display:grid;gap:9px}.pro-footer-links a{color:var(--pro-muted);text-decoration:none;font-size:.87rem}.pro-footer-links a:hover{color:#fff}
.pro-footer-bottom{display:flex;justify-content:space-between;gap:20px;padding:20px 0;border-top:1px solid rgba(148,163,184,.1);color:var(--pro-subtle);font-size:.78rem}
.pro-alert{padding:14px 16px;border:1px solid rgba(86,167,255,.25);border-radius:12px;background:rgba(47,128,237,.08);color:#cbe5ff;font-size:.88rem}.pro-alert.warning{border-color:rgba(246,184,75,.28);background:rgba(246,184,75,.07);color:#f8d995}.pro-alert.danger{border-color:rgba(240,106,106,.25);background:rgba(240,106,106,.07);color:#ffb6b6}
.pro-empty{padding:44px 24px;text-align:center;border:1px dashed rgba(148,163,184,.25);border-radius:16px;color:var(--pro-muted)}
.pro-faq{display:grid;gap:12px}.pro-faq details{border:1px solid var(--pro-border);border-radius:14px;background:rgba(255,255,255,.02);padding:0 18px}.pro-faq summary{cursor:pointer;list-style:none;padding:18px 0;font-weight:780;color:#eef5ff}.pro-faq summary::-webkit-details-marker{display:none}.pro-faq details p{padding:0 0 18px;margin:0;color:var(--pro-muted)}
/* Harmonize legacy cards and pages without disturbing application logic */
body[data-pro-shell] .xn-page{width:min(calc(100% - 40px),var(--pro-shell));margin-inline:auto;padding:50px 0 82px}
body[data-pro-shell] .xn-card{background:linear-gradient(180deg,rgba(17,34,56,.96),rgba(10,23,40,.96));border:1px solid var(--pro-border);border-radius:22px;box-shadow:var(--pro-shadow-soft)}
body[data-pro-shell] .xn-form-card{width:min(100%,660px);padding:32px}
body[data-pro-shell] .xn-eyebrow{color:#86c1ff;font-size:.74rem;letter-spacing:.12em;font-weight:800;text-transform:uppercase}
body[data-pro-shell] .xn-subtitle{color:var(--pro-muted)}
body[data-pro-shell] .auth-mini-footer{display:none!important}
body[data-pro-shell] .xn-nav,body[data-pro-shell] .course-topbar{background:rgba(7,17,31,.9);border-bottom:1px solid rgba(148,163,184,.12);backdrop-filter:blur(18px)}
body[data-pro-shell] .dashboard-card,body[data-pro-shell] .training-card,body[data-pro-shell] .module-card,body[data-pro-shell] .panel{border-radius:18px!important;border-color:var(--pro-border)!important;box-shadow:var(--pro-shadow-soft)!important}
body[data-pro-shell] :focus-visible{outline:3px solid rgba(86,167,255,.65);outline-offset:3px}
@media(max-width:980px){
  .pro-grid-4,.pro-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pro-hero-grid,.pro-auth-grid,.pro-content-grid{grid-template-columns:1fr}
  .pro-hero-visual{min-height:400px}
  .pro-auth-aside,.pro-side-nav{position:static}
  .pro-footer-main{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  :root{--pro-header-h:68px}
  .pro-shell,.pro-shell-wide{width:min(calc(100% - 28px),var(--pro-shell))}
  .pro-section{padding:68px 0}.pro-hero{padding:62px 0 48px}
  .pro-nav-toggle{display:grid;place-items:center}
  .pro-nav-inner{position:relative}
  .pro-nav-menu{position:absolute;top:calc(100% + 8px);left:0;right:0;display:none;padding:12px;border:1px solid var(--pro-border);border-radius:16px;background:#0b1728;box-shadow:var(--pro-shadow)}
  .pro-nav-menu.is-open{display:block}
  .pro-nav-links{display:grid;align-items:stretch}.pro-nav-links a{min-height:46px}
  .pro-nav-actions{display:grid;margin-top:10px}
  .pro-grid-4,.pro-grid-3,.pro-grid-2,.pro-form-row,.pro-plan-selector,.pro-info-strip{grid-template-columns:1fr}
  .pro-hero-grid{gap:34px}.pro-hero-visual{min-height:330px;padding:16px}
  .pro-auth-main{width:min(calc(100% - 28px),1120px);padding:32px 0 60px}.pro-auth-card,.pro-auth-aside{padding:24px}
  .pro-page-hero-grid,.pro-status-card,.pro-footer-bottom{align-items:flex-start;flex-direction:column}
  .pro-footer-main{grid-template-columns:1fr;gap:26px;padding:42px 0 30px}
  body[data-pro-shell] .xn-page{width:min(calc(100% - 28px),var(--pro-shell));padding:34px 0 64px}
  body[data-pro-shell] .xn-form-card{padding:24px}
}
@media(max-width:480px){
  .pro-brand-copy span{display:none}.pro-nav-actions .pro-btn.ghost{display:none}
  .pro-title{font-size:2.35rem}.pro-section-title{font-size:1.78rem}
  .pro-card{padding:22px}.pro-auth-card{padding:20px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* v66 final responsive and conversion-quality refinements */
html,body{overflow-x:clip}
body[data-pro-shell] :where(button,a,input,select,textarea):focus-visible{outline:3px solid rgba(86,167,255,.42);outline-offset:2px}
body[data-pro-shell] :where(input,select,textarea){max-width:100%}
.pro-nav-menu{display:flex;align-items:center;justify-content:flex-end;gap:18px}
.pro-auth-card,.pro-auth-aside{min-width:0}
.pro-auth-card h2{line-height:1.2;letter-spacing:-.025em}
.pro-check{display:flex;align-items:flex-start;gap:11px;color:var(--pro-muted);font-size:.9rem;line-height:1.55}
.pro-check input{flex:0 0 auto;margin-top:4px}
.pro-alert{border:1px solid rgba(86,167,255,.22);border-radius:14px;background:rgba(47,128,237,.07);padding:14px 16px;color:#c9ddf5;font-size:.9rem;line-height:1.55}
.pro-alert.warning{border-color:rgba(246,184,75,.25);background:rgba(246,184,75,.07);color:#f4d99e}
.pro-info-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:22px}
.pro-info-strip>div{padding:13px;border:1px solid var(--pro-border);border-radius:12px;background:rgba(255,255,255,.025)}
.pro-info-strip strong,.pro-info-strip span{display:block}.pro-info-strip strong{font-size:.82rem}.pro-info-strip span{margin-top:4px;color:var(--pro-subtle);font-size:.74rem;line-height:1.45}
@media(max-width:980px){
  .pro-auth-card{order:-1}.pro-auth-aside{order:2}
}
@media(max-width:760px){
  .pro-nav-menu{position:absolute;left:14px;right:14px;top:calc(100% + 8px);display:none;align-items:stretch;flex-direction:column;gap:10px;padding:16px;border:1px solid var(--pro-border);border-radius:16px;background:#0b192c;box-shadow:var(--pro-shadow)}
  .pro-nav-menu.is-open{display:flex}.pro-nav-links,.pro-nav-actions{width:100%;align-items:stretch;flex-direction:column}.pro-nav-links a,.pro-nav-actions .pro-btn{width:100%;justify-content:flex-start}
  .pro-info-strip{grid-template-columns:1fr}
  body[data-pro-shell] input:not([type="checkbox"]):not([type="radio"]),body[data-pro-shell] select,body[data-pro-shell] textarea{font-size:16px}
}
@media(max-width:420px){
  .pro-auth-main{width:calc(100% - 20px)}
  .pro-auth-card,.pro-auth-aside{padding:18px;border-radius:20px}
  .pro-actions>.pro-btn,.pro-actions>.pro-link-btn{width:100%}
  .otp-container{gap:5px!important}.otp-container input{width:39px!important;height:48px!important;min-height:48px!important;padding:0!important}
}


/* v74 authenticated shared-page containment */
.xn-session-context-bar{position:relative;z-index:1200;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px clamp(18px,4vw,56px);background:linear-gradient(90deg,#071a2f,#0b2b4b);border-bottom:1px solid rgba(88,179,255,.28);color:#eaf6ff;font-size:13px}.xn-session-context-bar>div{display:flex;align-items:center;gap:12px;min-width:0}.xn-session-context-bar strong{font-size:13px;white-space:nowrap}.xn-session-context-bar span{color:#a9c5dc;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.xn-session-context-bar a{color:#75c7ff;font-weight:800;text-decoration:none;white-space:nowrap}.xn-session-contained-page .pro-nav-actions button{font:inherit}.xn-session-contained-page .pro-footer a[href="login.html"],.xn-session-contained-page .pro-footer a[href="register.html"]{display:none!important}@media(max-width:720px){.xn-session-context-bar{align-items:flex-start;flex-direction:column;gap:6px;padding:10px 16px}.xn-session-context-bar>div{display:block}.xn-session-context-bar span{display:block;margin-top:2px;white-space:normal}.xn-session-context-bar a{font-size:12px}}

/* v120 platform typography system: four deliberate text levels */
:root{
  --xn-type-mini:12px;
  --xn-type-normal:16px;
  --xn-type-mid:22px;
  --xn-type-large:clamp(32px,3.4vw,48px);
}
html body{font-size:var(--xn-type-normal);}
html body :where(p,li,dd,dt,td,label,input,select,textarea,button,a){font-size:var(--xn-type-normal)!important;}
html body :where(small,.micro-label,.xn-eyebrow,.status-pill,.workspace-status,.workspace-access,.clean-card-status,.training-rail-step small,.clean-card-copy small,.score-line,.scorecard-bottom small,.course-rendered-page-label,.course-reader-toolbar small,.course-reader-toolbar>strong,.journal-table-v2 th){font-size:var(--xn-type-mini)!important;}
html body :where(h2,h3,h4,.pro-section-title,.workspace-head h2,.workspace-focus-head h2,.training-path-top h2,.clean-card-head h3,.clean-card-copy strong,.cycle-hero-copy strong,.bootcamp-task-box strong,.rule-limit-pane h3,.limit-card strong,.score-box strong,.category-card-v2 em,.category-card-v2 strong,.daily-diagnosis-card strong,.module-page-tile h2,.prime-score-card .scorecard-bottom strong){font-size:var(--xn-type-mid)!important;}
html body :where(h1,.pro-title,.hero-copy h1,.course-hero h1,.course-day-context h2,.module-page-hero h1){font-size:var(--xn-type-large)!important;}
html body :where(h1,h2,h3,h4,p,li,dd,dt,label,button,a,small,strong,em,span){text-wrap:pretty;}
html body [class] :where(p,li,dd,dt,label,button,a),
html body [class] [class] :where(p,li,dd,dt,label,button,a){font-size:var(--xn-type-normal)!important;}
html body [class] :where(h2,h3,h4),
html body [class] [class] :where(h2,h3,h4){font-size:var(--xn-type-mid)!important;}
html body [class] h1,
html body [class] [class] h1{font-size:var(--xn-type-large)!important;}
html body .micro-label,
html body .xn-eyebrow,
html body .pro-eyebrow,
html body .pro-kicker,
html body .status-pill,
html body .workspace-status,
html body .workspace-access,
html body .clean-card-status,
html body .course-rendered-page-label,
html body .journal-table-v2 th{font-size:var(--xn-type-mini)!important;}
