/* R3.5.104 CANONICAL DESKTOP CSS AUTHORITY: !important is reserved only for display/visibility/opacity state semantics; layout/spacing/typography use normal cascade specificity. */
/* GMC 2026 RC5 — authoritative mobile app density system. */
:root{--navy-950:#06142d;--navy-900:#08234a;--navy-800:#0c356d;--navy-700:#16508f;--blue-600:#2468c9;--blue-100:#edf4ff;--orange-600:#e96317;--orange-500:#f47b24;--orange-100:#fff2e8;--green-600:#12815a;--green-100:#e8f8f1;--red-600:#c43d4a;--surface:#ffffff;--surface-soft:#f7f9fc;--canvas:#f2f5f9;--ink:#0a1e3f;--muted:#62728b;--line:#dce5f0;--shadow:0 22px 70px rgba(6,20,45,.13);--radius:26px;--content:1180px;--visible-height:100dvh;--visible-top:0px;--footer-height:86px;color-scheme:light;--line-strong:#c8d6e7;--shadow-soft:0 10px 30px rgba(6,20,45,.08);--shadow-button:0 12px 24px rgba(233,99,23,.25);}html[data-theme="dark"]{--surface:#0b1f40;--surface-soft:#10294f;--canvas:#06142d;--ink:#f7f9ff;--muted:#aec0d7;--line:#284a75;--blue-100:#14335d;--orange-100:#3c261c;--green-100:#123c32;color-scheme:dark;--line-strong:#37608e;}*{box-sizing:border-box;}html{min-height:100%;scroll-behavior:smooth;background:var(--canvas);}body{margin:0;min-height:100%;background:
    radial-gradient(circle at 8% 0%,rgba(36,104,201,.075),transparent 28rem),
    radial-gradient(circle at 94% 8%,rgba(244,123,36,.07),transparent 24rem),
    var(--canvas);color:var(--ink);font:500 16px/1.58 Manrope,system-ui,-apple-system,"Segoe UI",sans-serif;overflow-x:hidden;}input{font:inherit;color:inherit;}select{font:inherit;color:inherit;}textarea{font:inherit;color:inherit;}a{touch-action:manipulation;}button{font:inherit;color:inherit;touch-action:manipulation;cursor:pointer;}img{display:block;max-width:100%;}.app{min-height:100vh;}.main{min-height:100vh;}.screen{display:none;min-height:100vh;padding:clamp(42px,5vw,74px) max(24px,calc((100vw - var(--content))/2));background:transparent;}.screen.active{display:block;}.card{background:linear-gradient(180deg,color-mix(in srgb,var(--surface) 98%,#fff),var(--surface));border:1px solid color-mix(in srgb,var(--line) 82%,transparent);border-radius:var(--radius);box-shadow:var(--shadow);}.btn{min-height:54px;border:0;border-radius:16px;padding:0 24px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:800;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease;letter-spacing:-.01em;}.btn:hover{transform:translateY(-1px);}.rules-start:hover{transform:translateY(-1px);}.public-start:hover{transform:translateY(-1px);}.public-qualified:hover{transform:translateY(-1px);}.public-header-start:hover{transform:translateY(-1px);}.btn-primary{background:linear-gradient(135deg,var(--orange-500),var(--orange-600));color:#fff;box-shadow:var(--shadow-button);}.btn-secondary{background:color-mix(in srgb,var(--surface) 96%,transparent);color:var(--navy-900);border:1px solid var(--line-strong);box-shadow:0 6px 18px rgba(6,20,45,.045);}.btn:disabled{opacity:.48;cursor:not-allowed;transform:none;box-shadow:none;}.rules-start:disabled{opacity:.48;cursor:not-allowed;transform:none;box-shadow:none;}button[aria-disabled="true"]{opacity:.48;cursor:not-allowed;transform:none;box-shadow:none;}.field{display:grid;gap:8px;}.field label{font-size:12px;font-weight:800;color:var(--navy-800);letter-spacing:.025em;}.profile-edit-field label{font-size:12px;font-weight:800;color:var(--navy-800);letter-spacing:.025em;}html[data-theme="dark"] .field label{color:#bad0ef;}html[data-theme="dark"] .profile-edit-field label{color:#bad0ef;}.field input{width:100%;min-height:56px;border:1px solid var(--line-strong);border-radius:15px;background:var(--surface);padding:0 16px;outline:none;box-shadow:inset 0 1px 0 rgba(6,20,45,.015);transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;}.field select{width:100%;min-height:56px;border:1px solid var(--line-strong);border-radius:15px;background:var(--surface);padding:0 16px;outline:none;box-shadow:inset 0 1px 0 rgba(6,20,45,.015);transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;}.profile-edit-field input{width:100%;min-height:54px;border:1px solid var(--line-strong);border-radius:14px;background:var(--surface);padding:0 15px;outline:none;}.profile-edit-field select{width:100%;min-height:54px;border:1px solid var(--line-strong);border-radius:14px;background:var(--surface);padding:0 15px;outline:none;}.otp-boxes input{width:100%;min-height:58px;border:1px solid var(--line-strong);border-radius:15px;background:var(--surface);padding:0 14px;outline:none;}.field input:focus{border-color:var(--blue-600);box-shadow:0 0 0 4px rgba(36,104,201,.12),0 8px 20px rgba(6,20,45,.06);background:var(--surface);}.field select:focus{border-color:var(--blue-600);box-shadow:0 0 0 4px rgba(36,104,201,.12),0 8px 20px rgba(6,20,45,.06);background:var(--surface);}.profile-edit-field input:focus{border-color:var(--blue-600);box-shadow:0 0 0 4px rgba(36,104,201,.12);background:var(--surface);}.profile-edit-field select:focus{border-color:var(--blue-600);box-shadow:0 0 0 4px rgba(36,104,201,.12);background:var(--surface);}.otp-boxes input:focus{border-color:var(--orange-500);box-shadow:0 0 0 4px rgba(244,123,36,.13);background:var(--surface);}.recall-answer:focus{border-color:var(--orange-500);box-shadow:0 0 0 4px rgba(244,123,36,.13);background:var(--surface);}.public-landing{min-height:100vh;background:
    radial-gradient(circle at 78% 25%,rgba(39,113,214,.13),transparent 28rem),
    radial-gradient(circle at 22% 76%,rgba(244,123,36,.09),transparent 23rem),
    linear-gradient(180deg,#fbfcfe 0%,#f1f5fa 68%,#eef3f8 100%);color:#0a1e3f;}html[data-theme="dark"] .public-landing{background:
    radial-gradient(circle at 80% 20%,rgba(244,123,36,.14),transparent 30rem),
    radial-gradient(circle at 18% 82%,rgba(36,104,201,.18),transparent 25rem),
    linear-gradient(145deg,#06142d,#0a244b);color:#f5f8ff;}.public-header{height:88px;padding:0 clamp(22px,4.2vw,62px);display:grid;grid-template-columns:minmax(190px,auto) 1fr auto;align-items:center;gap:28px;border-bottom:1px solid rgba(141,161,188,.2);background:color-mix(in srgb,var(--surface) 93%,transparent);backdrop-filter:blur(22px) saturate(135%);position:sticky;top:0;z-index:100;box-shadow:0 8px 30px rgba(6,20,45,.055);}.public-header-brand{border:0;background:transparent;padding:0;}.public-header-brand img{width:168px;height:60px;object-fit:contain;object-position:left center;}.public-header-nav{display:flex;justify-content:center;gap:4px;}.public-header-nav button{border:0;background:transparent;border-radius:11px;padding:11px 14px;font-weight:750;color:var(--navy-900);font-size:13px;}.public-header-nav button:hover{background:var(--blue-100);color:var(--blue-600);}.public-header-actions{display:flex;align-items:center;gap:10px;position:relative;}.public-header-start{border:0;border-radius:15px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:800;transition:.18s;background:linear-gradient(135deg,var(--orange-500),var(--orange-600));color:#fff;box-shadow:var(--shadow-button);min-height:48px;padding:0 20px;}.public-theme-toggle{width:48px;height:48px;border-radius:15px;border:1px solid var(--line);background:var(--surface);display:grid;place-items:center;border-color:var(--line-strong);box-shadow:0 8px 20px rgba(6,20,45,.055);}.public-mobile-menu-toggle{width:48px;height:48px;border-radius:15px;border:1px solid var(--line);background:var(--surface);display:grid;place-items:center;border-color:var(--line-strong);box-shadow:0 8px 20px rgba(6,20,45,.055);}#welcomeLanguageButton{width:62px;height:48px;border-radius:15px;border:1px solid var(--line);background:var(--surface);display:flex;place-items:center;border-color:var(--line-strong);gap:6px;font-size:13px;font-weight:800;box-shadow:0 8px 20px rgba(6,20,45,.055);}.public-menu-lines{display:grid;gap:4px;}.public-menu-lines i{width:19px;height:2px;border-radius:99px;background:currentColor;}.welcome-language-control{position:relative;}#welcomeLanguageMenu{position:absolute;right:0;top:56px;min-width:158px;padding:8px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:var(--shadow);z-index:120;border-color:var(--line-strong);}#welcomeLanguageMenu button{width:100%;border:0;background:transparent;text-align:left;border-radius:9px;padding:9px 11px;}#welcomeLanguageMenu button:hover{background:var(--blue-100);}.public-mobile-menu{position:absolute;right:0;top:58px;width:min(270px,calc(100vw - 28px));padding:8px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:var(--shadow);}.public-mobile-menu button{border:0;background:transparent;text-align:left;padding:12px;border-radius:10px;font-weight:800;}.public-mobile-menu button:hover{background:var(--blue-100);}.public-shell{width:min(var(--content),calc(100% - 48px));margin:auto;padding:clamp(54px,6vw,86px) 0 38px;}.public-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(410px,.95fr);align-items:center;gap:clamp(34px,6vw,88px);}.public-copy{display:grid;justify-items:start;}.public-kicker{display:inline-flex;gap:9px;align-items:center;padding:9px 14px;border-radius:999px;background:var(--orange-100);color:var(--orange-600);font-size:11px;font-weight:900;letter-spacing:.1em;border:1px solid rgba(233,99,23,.16);box-shadow:0 8px 18px rgba(233,99,23,.08);}.public-title{margin:20px 0 0;font-family:Montserrat,Manrope,sans-serif;line-height:.9;letter-spacing:-.055em;margin-top:24px;}.public-title span{display:block;}.public-title-small{font-size:clamp(38px,4.6vw,66px);font-weight:800;}.public-title-memory{font-size:clamp(72px,8.8vw,128px);font-weight:900;color:var(--navy-900);text-shadow:0 12px 30px rgba(6,20,45,.08);}html[data-theme="dark"] .public-title-memory{color:#f5f8ff;}.public-title-bottom{font-size:clamp(30px,4.2vw,60px);font-weight:800;}.public-title-bottom em{font-style:normal;color:var(--orange-600);}.public-accent{width:90px;height:5px;border-radius:99px;background:var(--orange-500);margin:24px 0 21px;}.public-tagline{font-size:clamp(16px,1.55vw,21px);color:var(--muted);margin:0;max-width:610px;line-height:1.6;}.public-actions{display:flex;gap:13px;margin-top:30px;}.public-start{border:0;border-radius:17px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:800;transition:.18s;background:linear-gradient(135deg,var(--orange-500),var(--orange-600));color:#fff;box-shadow:var(--shadow-button);min-height:60px;padding:0 26px;}.public-qualified{border-radius:17px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:800;transition:.18s;background:var(--surface);color:var(--navy-800);border:1px solid var(--line);min-height:60px;padding:0 25px;border-color:var(--line-strong);box-shadow:0 10px 26px rgba(6,20,45,.065);}.public-action-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;}.public-visual{display:grid;place-items:center;position:relative;min-height:440px;}.public-brain-glow{position:absolute;width:84%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(36,104,201,.24),rgba(244,123,36,.07) 45%,transparent 70%);filter:blur(25px);}.public-brain-wrap{position:relative;width:min(100%,590px);}.public-brain{width:100%;filter:drop-shadow(0 34px 32px rgba(6,20,45,.22));}.public-partners{margin-top:48px;display:grid;grid-template-columns:repeat(3,1fr);gap:0;border:1px solid var(--line);border-radius:24px;overflow:hidden;background:var(--surface);box-shadow:var(--shadow-soft);}.public-partner{background:var(--surface);border:0;border-radius:0;padding:18px 16px;text-align:center;box-shadow:none;border-right:1px solid var(--line);}.public-partner-heading{font-size:10px;font-weight:900;letter-spacing:.09em;color:var(--navy-700);text-transform:uppercase;}.public-logo-box{height:68px;display:grid;place-items:center;margin-top:7px;}.public-logo-box img{max-height:52px;max-width:220px;object-fit:contain;}.public-mobile-links{display:none;}.public-integrated-page{position:fixed;inset:88px 0 0;background:
    radial-gradient(circle at 95% 0%,rgba(244,123,36,.07),transparent 23rem),
    var(--canvas);overflow:auto;padding:clamp(32px,4.5vw,58px) max(24px,calc((100vw - var(--content))/2));z-index:80;}.public-page-shell{max-width:var(--content);margin:auto;}.public-page-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:28px;}.public-page-heading{display:flex;gap:18px;align-items:center;}.public-page-icon{width:60px;height:60px;border-radius:18px;background:var(--orange-100);color:var(--orange-600);display:grid;place-items:center;font-size:23px;font-weight:900;border:1px solid rgba(233,99,23,.14);box-shadow:0 10px 25px rgba(233,99,23,.1);}.public-page-kicker{font-size:11px;letter-spacing:.1em;color:var(--orange-600);font-weight:900;}.public-page-head h2{font:800 clamp(28px,4vw,48px)/1 Montserrat,Manrope,sans-serif;margin:6px 0 9px;font-size:clamp(34px,4.2vw,54px);letter-spacing:-.04em;}.public-page-head p{margin:0;color:var(--muted);max-width:660px;font-size:16px;}.public-page-actions{display:flex;gap:10px;}.public-page-nav{min-height:50px;border-radius:15px;border:1px solid var(--line);padding:0 18px;background:var(--surface);font-weight:800;border-color:var(--line-strong);box-shadow:0 7px 20px rgba(6,20,45,.05);}.public-page-start{background:var(--orange-600);color:#fff;border-color:transparent;}.public-page-nav-icon svg{width:18px;height:18px;fill:currentColor;}.public-page-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}.information-card{display:grid;grid-template-columns:58px 1fr;gap:16px;background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:24px;min-height:154px;border-color:var(--line-strong);box-shadow:0 14px 36px rgba(6,20,45,.07);align-content:center;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;}.information-card>span{width:52px;height:52px;border-radius:16px;background:var(--blue-100);color:var(--blue-600);display:grid;place-items:center;font-weight:900;font-size:14px;border:1px solid rgba(36,104,201,.13);}.information-card h3{margin:0;font-size:18px;letter-spacing:-.02em;}.information-card p{margin:5px 0 0;color:var(--muted);margin-top:7px;line-height:1.55;}.support-card{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:16px;background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:22px 24px;border-color:var(--line-strong);box-shadow:0 14px 36px rgba(6,20,45,.07);}.support-card p{margin:3px 0 0;color:var(--muted);}.support-card button{min-height:52px;border:0;border-radius:15px;background:#1ea952;color:#fff;padding:0 20px;display:flex;align-items:center;gap:9px;font-weight:900;}.support-card img{width:26px;}.public-qualified-toolbar{display:grid;gap:12px;}.qualified-search-box{display:grid;}.qualified-search-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}.qualified-search-icon svg,.qualified-total-card svg,.verify-student svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}.public-qualified-layout{display:grid;gap:14px;}.public-qualified-table-wrap{background:var(--surface);border:1px solid var(--line-strong);border-radius:18px;overflow:hidden;}.public-qualified-table-wrap table{width:100%;border-collapse:collapse;}.public-qualified-empty{text-align:center;color:var(--muted);padding:20px;}.public-qualified-detail{background:var(--surface);border:1px solid var(--line-strong);border-radius:18px;overflow:hidden;}.qualified-avatar{display:grid;place-items:center;border-radius:50%;background:#edf3ff;color:#194d9c;font-weight:900;}.qualified-category-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:#eaf2ff;color:#2162c9;font-weight:800;}.qualified-category-badge.kids,.qualified-avatar.kids{background:#e7f8ef;color:#12844c;}.qualified-category-badge.adult,.qualified-avatar.adult{background:#fff1e6;color:#c65b0a;}.qualified-category-badge.senior,.qualified-avatar.senior{background:#f2ebff;color:#7147b8;}.verify-student{display:grid;place-items:center;border:1px solid var(--line-strong);background:#fff;color:#0e3975;}.qualified-table-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;}.qualified-pagination{display:flex;align-items:center;gap:6px;}.qualified-pagination button{border:0;background:transparent;}.qualified-pagination button.is-active{background:#0b326d;color:#fff;}.qualified-per-page{display:flex;align-items:center;gap:8px;}.qualified-recent-head,.qualified-detail-head{display:flex;align-items:center;justify-content:space-between;gap:10px;}.qualified-recent-head span,.qualified-live-pill{display:inline-flex;align-items:center;gap:6px;}.qualified-recent-head i,.qualified-live-pill i{width:8px;height:8px;border-radius:50%;background:#2bcf79;}.qualified-recent-list{display:grid;}.qualified-recent-row{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;text-align:left;border:0;background:#fff;}.qualified-recent-copy{display:grid;min-width:0;}.qualified-recent-note{display:flex;align-items:center;gap:10px;}.qualified-detail-grid{display:grid;}.qualified-detail-grid div{background:var(--surface-soft);}.app-header{position:fixed;z-index:1200;left:0;right:0;top:0;height:88px;padding:12px 16px 10px;display:grid;grid-template-columns:42px 46px minmax(0,1fr) 42px auto;align-items:center;gap:10px;background:color-mix(in srgb,var(--surface) 94%,transparent);color:var(--ink);box-shadow:0 10px 32px rgba(6,20,45,.09);border-bottom:1px solid var(--line);backdrop-filter:blur(22px) saturate(140%);}.app-theme{width:40px;height:40px;border-radius:13px;border:1px solid var(--line-strong);background:var(--surface-soft);color:var(--navy-900);}.app-back{width:40px;height:40px;border-radius:13px;border:1px solid var(--line-strong);background:var(--surface-soft);color:var(--navy-900);font-size:25px;}.app-brand img{width:46px;height:42px;object-fit:contain;}.app-heading{min-width:0;display:grid;line-height:1.15;}.app-heading small{font-size:8px;letter-spacing:.12em;color:var(--orange-600);font-weight:900;}.app-heading strong{font-size:16px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:Montserrat,Manrope,sans-serif;letter-spacing:-.025em;color:var(--navy-950);}.app-heading span{font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.app-step{text-align:center;font-size:13px;font-weight:900;min-width:50px;padding:7px 8px;border-radius:12px;background:var(--navy-900);color:#fff;box-shadow:0 8px 20px rgba(6,20,45,.14);}.app-progress{position:absolute;left:0;right:0;bottom:0;height:3px;background:rgba(10,30,63,.08);}.app-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--orange-500),#ff9a52);}.app-footer{position:fixed;z-index:1300;left:0;right:0;bottom:0;min-height:86px;padding:12px max(15px,env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(15px,env(safe-area-inset-left));display:grid;grid-template-columns:minmax(96px,.36fr) minmax(0,1fr);gap:11px;background:color-mix(in srgb,var(--surface) 96%,transparent);border-top:1px solid var(--line);backdrop-filter:blur(22px) saturate(140%);box-shadow:0 -14px 38px rgba(6,20,45,.11);}.app-footer.single-action{grid-template-columns:1fr;}.app-primary{min-height:56px;border-radius:16px;font-weight:900;border:0;background:linear-gradient(135deg,var(--orange-500),var(--orange-600));color:#fff;box-shadow:var(--shadow-button);}.app-secondary{min-height:56px;border-radius:16px;font-weight:850;border:1px solid var(--line-strong);background:var(--surface);color:var(--navy-900);}.app-dots{position:static;z-index:1310;left:50%;bottom:calc(var(--footer-height) + 7px);transform:translateX(-50%);display:flex;gap:6px;padding:6px 8px 0;border-radius:99px;background:transparent;border:0;justify-content:center;box-shadow:none;}.app-dots i{width:6px;height:6px;border-radius:50%;background:#c1cddd;}.app-dots i.active{width:24px;border-radius:99px;background:var(--orange-500);}.profile-shell{width:min(1050px,100%);margin:0 auto;}.device-root{width:min(1120px,100%);margin:0 auto;display:grid;grid-template-columns:minmax(280px,.72fr) minmax(560px,1.28fr);gap:50px;align-items:start;}.rules-root-final{width:min(1120px,100%);margin:0 auto;display:grid;grid-template-columns:minmax(280px,.68fr) minmax(600px,1.32fr);gap:48px;align-items:start;}.email-minimal-shell{width:min(1080px,100%);margin:0 auto;min-height:calc(100vh - 120px);display:grid;place-items:center;grid-template-columns:minmax(280px,.8fr) minmax(440px,1.2fr);gap:58px;align-items:center;}.otp-minimal-shell{width:min(1020px,100%);margin:0 auto;min-height:calc(100vh - 120px);display:grid;place-items:center;grid-template-columns:minmax(260px,.72fr) minmax(440px,1.28fr);gap:58px;align-items:center;}.email-minimal-brand{text-align:left;margin-bottom:16px;margin:0;align-self:center;}.otp-minimal-brand{text-align:left;margin-bottom:16px;margin:0;align-self:center;}.email-minimal-logo{width:190px;height:68px;margin:0 0 22px;object-fit:contain;object-position:left center;}.otp-minimal-logo{width:190px;height:68px;margin:0 0 22px;object-fit:contain;object-position:left center;}.email-minimal-kicker{font-size:11px;letter-spacing:.12em;font-weight:900;color:var(--orange-600);text-transform:uppercase;}.otp-minimal-kicker{font-size:11px;letter-spacing:.12em;font-weight:900;color:var(--orange-600);text-transform:uppercase;}.email-minimal-event{font-weight:800;max-width:390px;margin-top:8px;font:800 clamp(27px,3vw,44px)/1.08 Montserrat,Manrope,sans-serif;letter-spacing:-.045em;color:var(--navy-950);}.otp-minimal-event{font-weight:800;max-width:390px;margin-top:8px;font:800 clamp(27px,3vw,44px)/1.08 Montserrat,Manrope,sans-serif;letter-spacing:-.045em;color:var(--navy-950);}.email-minimal-card{background:var(--surface);border:1px solid var(--line);border-radius:30px;box-shadow:0 26px 80px rgba(6,20,45,.14);width:100%;padding:clamp(28px,4vw,44px);border-color:var(--line-strong);position:relative;overflow:hidden;}.otp-minimal-card{background:var(--surface);border:1px solid var(--line);border-radius:30px;box-shadow:0 26px 80px rgba(6,20,45,.14);width:100%;padding:clamp(28px,4vw,44px);border-color:var(--line-strong);position:relative;overflow:hidden;}.otp-progress{font-size:12px;font-weight:900;color:var(--orange-600);margin-bottom:22px;}.email-minimal-head h2{font:800 clamp(30px,3.5vw,44px)/1.08 Montserrat,Manrope,sans-serif;margin:0;letter-spacing:-.04em;}.otp-minimal-head h2{font:800 clamp(30px,3.5vw,44px)/1.08 Montserrat,Manrope,sans-serif;margin:0;letter-spacing:-.04em;}.selection-id-intro h2{font:800 clamp(34px,4vw,54px)/1.02 Montserrat,Manrope,sans-serif;margin:0;letter-spacing:-.045em;}.device-head h2{font:800 clamp(38px,4.6vw,58px)/.98 Montserrat,Manrope,sans-serif;margin:0;letter-spacing:-.055em;}.rules-head h2{font:800 clamp(38px,4.6vw,58px)/.98 Montserrat,Manrope,sans-serif;margin:0;letter-spacing:-.055em;}.email-minimal-head p{color:var(--muted);margin:8px 0 0;margin-top:10px;font-size:15px;line-height:1.6;}.otp-minimal-head p{color:var(--muted);margin:8px 0 0;margin-top:10px;font-size:15px;line-height:1.6;}.selection-id-intro p{color:var(--muted);margin:8px 0 0;margin-top:10px;font-size:16px;}.device-head p{color:var(--muted);margin:8px 0 0;margin-top:13px;font-size:16px;line-height:1.65;}.rules-head p{color:var(--muted);margin:8px 0 0;margin-top:13px;font-size:16px;line-height:1.65;}.email-minimal-fields{display:grid;gap:16px;margin-top:28px;}.email-minimal-action{margin-top:20px;}.email-minimal-action .btn{width:100%;}.email-minimal-note{text-align:center;color:var(--muted);font-size:12px;margin-top:16px;}.otp-minimal-secure{text-align:center;color:var(--muted);font-size:12px;margin-top:18px;}.resume-student{border:1px solid var(--line);background:linear-gradient(135deg,var(--blue-100),color-mix(in srgb,var(--surface) 82%,var(--blue-100)));border-radius:18px;padding:16px;margin:22px 0 2px;border-color:#c9d9ec;}.resume-student .actions{display:flex;gap:8px;margin-top:10px;}.otp-minimal-code{text-align:center;background:var(--blue-100);border-radius:15px;padding:12px 14px;margin:24px 0 18px;color:var(--blue-600);border:1px solid rgba(36,104,201,.12);}.otp-boxes{position:relative;display:grid;grid-template-columns:repeat(6,1fr);gap:10px;}.otp-mobile-cell{height:62px;border:1px solid var(--line);border-radius:15px;background:var(--surface);display:grid;place-items:center;font-size:25px;font-weight:900;border-color:var(--line-strong);}.otp-mobile-cell.is-filled{border-color:var(--blue-600);background:var(--blue-100);}.otp-mobile-cell.is-current{border-color:var(--orange-500);box-shadow:0 0 0 3px var(--orange-100);}.otp-mobile-native-input{position:absolute;inset:0;opacity:.01;width:100%;height:100%;z-index:2;border:0;background:transparent;color:transparent;}.otp-minimal-note{text-align:center;color:var(--muted);font-size:13px;margin:17px 0;}.otp-minimal-actions{display:flex;gap:9px;justify-content:center;flex-wrap:wrap;}.profile-card{background:var(--surface);border:1px solid var(--line);border-radius:30px;box-shadow:0 28px 85px rgba(6,20,45,.13);padding:0;border-color:var(--line-strong);overflow:hidden;}.profile-head{text-align:left;margin-bottom:26px;max-width:760px;}.profile-step{display:inline-flex;align-items:center;border-radius:99px;background:var(--orange-100);color:var(--orange-600);padding:7px 12px;font-size:11px;font-weight:900;letter-spacing:.08em;margin-bottom:13px;border:1px solid rgba(233,99,23,.13);}.selection-id-badge{display:inline-flex;align-items:center;border-radius:99px;background:var(--orange-100);color:var(--orange-600);padding:7px 11px;font-size:11px;font-weight:900;letter-spacing:.08em;margin-bottom:11px;border:1px solid rgba(18,129,90,.13);box-shadow:0 7px 18px rgba(18,129,90,.08);}.device-step{display:inline-flex;align-items:center;border-radius:99px;background:var(--orange-100);color:var(--orange-600);padding:7px 11px;font-size:11px;font-weight:900;letter-spacing:.08em;margin-bottom:14px;border:1px solid rgba(233,99,23,.13);}.rules-step{display:inline-flex;align-items:center;border-radius:99px;background:var(--orange-100);color:var(--orange-600);padding:7px 11px;font-size:11px;font-weight:900;letter-spacing:.08em;margin-bottom:14px;border:1px solid rgba(233,99,23,.13);}.profile-head h2{font:800 clamp(36px,4.6vw,56px)/1 Montserrat,Manrope,sans-serif;margin:0;letter-spacing:-.055em;}.profile-head p{color:var(--muted);margin:12px 0 0;max-width:690px;font-size:16px;}.profile-body{display:grid;padding:34px;}.profile-section-title{display:flex;align-items:center;gap:13px;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid var(--line);}.profile-icon-badge{width:46px;height:46px;border-radius:14px;background:var(--navy-900);color:#fff;display:grid;place-items:center;box-shadow:0 10px 22px rgba(6,20,45,.15);}.profile-icon-badge svg{width:23px;height:23px;}.profile-section-title h3{margin:0;font-size:20px;letter-spacing:-.025em;}.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;}.profile-photo-drop{display:grid;grid-template-columns:1fr;gap:24px;padding:26px;border:1.5px dashed #b7c9df;border-radius:22px;background:linear-gradient(145deg,#fbfdff,#f3f7fc);text-align:center;}.profile-photo-copy{text-align:center;align-content:center;}.profile-upload-icon{width:54px;height:54px;border-radius:16px;background:var(--navy-900);color:#fff;display:grid;place-items:center;margin:0 auto 14px;}.profile-upload-icon svg{width:27px;height:27px;}.profile-photo-btn{display:inline-flex;min-height:46px;align-items:center;padding:0 18px;border-radius:13px;background:var(--navy-900);color:#fff;font-weight:800;box-shadow:0 10px 22px rgba(6,20,45,.16);margin:0 auto;}.profile-file-input{position:absolute;opacity:0;pointer-events:none;}.profile-photo-preview-panel{display:grid;place-items:center;min-height:190px;border:1px solid var(--line);border-radius:18px;background:var(--surface);padding:10px;}.profile-photo-preview{width:100%;height:100%;border-radius:14px;object-fit:contain;background:#fff;border:1px solid var(--line);max-height:190px;}.profile-photo-placeholder{width:160px;height:190px;border-radius:16px;object-fit:contain;background:#fff;border:1px solid var(--line);display:grid;place-items:center;color:#9db0c8;}.profile-photo-placeholder svg{width:70px;}.profile-consents{display:grid;gap:10px;margin-top:18px;}.profile-consents .consent{display:flex;gap:10px;align-items:flex-start;color:var(--muted);font-size:13px;padding:14px 15px;border:1px solid var(--line);border-radius:15px;background:var(--surface-soft);}.profile-consents input{width:20px;height:20px;accent-color:var(--orange-600);}.profile-footer{margin-top:16px;padding-top:14px;border-top:1px solid var(--line);margin:0;padding:18px 28px;background:linear-gradient(180deg,#fbfcfe,#f4f7fb);}.profile-error{display:none;color:var(--red-600);font-weight:700;}.profile-error.show{display:block;}.save-status{display:none;}.save-status.show{display:block;color:var(--blue-600);}.selection-id-shell{width:min(1080px,100%);margin:0 auto;display:grid;gap:18px;}.selection-id-intro{text-align:left;margin-bottom:24px;}.selection-id-card{background:var(--surface);border:1px solid var(--line);border-radius:30px;box-shadow:0 30px 88px rgba(6,20,45,.16);display:grid;grid-template-columns:320px minmax(0,1fr);gap:0;padding:0;overflow:hidden;position:relative;border-color:var(--line-strong);}.selection-id-card::before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--navy-900) 0 68%,var(--orange-500) 68%);}.selection-id-media{display:grid;gap:18px;padding:36px 34px;background:linear-gradient(150deg,var(--navy-950),var(--navy-800));align-content:center;}.selection-id-photo-wrap{position:relative;}.selection-id-qr-wrap{position:relative;}.selection-id-photo-frame{aspect-ratio:1;border-radius:20px;background:#fff;border:0;padding:10px;display:grid;place-items:center;box-shadow:0 15px 35px rgba(0,0,0,.18);}.selection-id-qr-frame{aspect-ratio:1;border-radius:17px;background:#fff;border:0;padding:10px;display:grid;place-items:center;width:154px;justify-self:center;box-shadow:0 13px 30px rgba(0,0,0,.18);}.selection-id-photo-frame img{width:100%;height:100%;object-fit:contain;border-radius:14px;}.selection-id-qr-frame img{width:100%;height:100%;object-fit:contain;border-radius:10px;}.selection-id-verified{position:absolute;right:-4px;bottom:-4px;width:38px;height:38px;border-radius:50%;background:var(--green-600);color:#fff;border:4px solid var(--navy-800);display:grid;place-items:center;font-weight:900;}.selection-id-qr-label{border:0;background:var(--orange-100);color:#9a511d;border-radius:999px;font-size:10px;font-weight:900;padding:7px 11px;margin-top:8px;}.selection-id-details{display:grid;align-content:start;padding:42px 44px 34px;}.selection-id-kicker{font-weight:900;letter-spacing:.14em;color:var(--orange-600);font-size:10px;}.selection-id-id{font:900 clamp(26px,4vw,46px)/1.1 Montserrat,Manrope,sans-serif;color:var(--navy-800);word-break:break-word;margin:6px 0 24px;font-size:clamp(34px,4vw,54px);letter-spacing:-.035em;}.selection-id-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid var(--line);border-radius:20px;overflow:hidden;}.selection-id-cell{background:linear-gradient(180deg,var(--surface),var(--surface-soft));border:0;border-radius:0;padding:20px;min-height:100px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;align-content:center;}.selection-id-footer-item{background:transparent;border:0;border-radius:0;padding:0;}.selection-id-cell small{display:block;font-size:10px;font-weight:900;letter-spacing:.08em;color:var(--muted);}.selection-id-footer-item small{display:block;font-size:10px;font-weight:900;letter-spacing:.08em;color:var(--muted);}.selection-id-cell strong{display:block;margin-top:4px;word-break:break-word;font-size:16px;}.selection-id-footer-item strong{display:block;margin-top:4px;word-break:break-word;}.selection-id-footer{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:18px;padding-top:17px;border-top:1px solid var(--line);}.selection-id-footer-logo img{height:38px;width:auto;margin-top:5px;}.selection-id-warning{display:flex;gap:8px;border:1px solid #f0c5a6;background:#fff8ec;border-radius:17px;padding:15px 18px;color:#8a481c;border-color:#f0c28e;}.selection-id-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;}.device-head{text-align:left;margin-bottom:22px;margin:32px 0 0;position:sticky;top:42px;}.rules-head{text-align:left;margin-bottom:22px;margin:32px 0 0;position:sticky;top:42px;}.device-panel{background:var(--surface);border:1px solid var(--line-strong);border-radius:30px;box-shadow:0 28px 80px rgba(6,20,45,.12);padding:30px;}.device-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;}.device-check{min-height:104px;border:1px solid var(--line);border-radius:18px;padding:17px;background:linear-gradient(145deg,var(--surface),var(--surface-soft));display:grid;grid-template-columns:46px 1fr;align-content:center;gap:5px 12px;}.device-check-icon{grid-row:1/3;width:46px;height:46px;border-radius:15px;background:var(--green-100);color:var(--green-600);display:grid;place-items:center;}.device-check.warn .device-check-icon{background:var(--orange-100);color:var(--orange-600);}.device-check-icon svg{width:24px;}.device-check span{font-size:12px;color:var(--muted);}.device-warning{margin-top:16px;border-radius:17px;background:#fff8ec;color:#8a481c;padding:14px 16px;border:1px solid #f0c28e;}.device-consents{display:grid;gap:10px;margin-top:14px;}.device-consent{display:flex;gap:10px;padding:14px 16px;border:1px solid var(--line);border-radius:15px;background:var(--surface);border-color:var(--line-strong);font-size:13px;box-shadow:0 5px 14px rgba(6,20,45,.035);}.device-consent input{width:20px;height:20px;accent-color:var(--orange-600);flex:0 0 auto;}.device-actions{display:flex;justify-content:flex-end;margin-top:18px;}.rules-tabs{display:flex;justify-content:flex-start;gap:9px;margin-bottom:14px;grid-column:2;margin:0 0 14px;}.rules-tab{min-height:46px;padding:0 20px;border:1px solid var(--line);border-radius:13px;background:var(--surface);font-weight:800;border-color:var(--line-strong);}.rules-tab.active{background:var(--navy-900);color:#fff;border-color:transparent;box-shadow:0 10px 24px rgba(6,20,45,.16);}.rules-board{background:var(--surface);border:1px solid var(--line-strong);border-radius:30px;box-shadow:0 28px 80px rgba(6,20,45,.12);padding:28px;grid-column:2;}.rules-pane{display:none;}.rules-pane.active{display:block;}.rules-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;}.rules-item{display:grid;grid-template-columns:44px 1fr;gap:14px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(145deg,var(--surface),var(--surface-soft));padding:18px;min-height:126px;border-color:var(--line);align-content:center;}.rules-number{width:42px;height:42px;border-radius:14px;background:var(--blue-100);color:var(--blue-600);display:grid;place-items:center;font-weight:900;font-size:14px;}.rules-copy{display:grid;}.rules-copy small{color:var(--muted);font-size:12px;margin-top:5px;line-height:1.5;}.rules-footer{width:min(1040px,100%);margin:14px 0 0;display:flex;align-items:center;justify-content:space-between;gap:18px;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:17px 18px;box-shadow:0 14px 36px rgba(6,20,45,.08);grid-column:2;border-color:var(--line-strong);}.rules-start{min-height:54px;border:0;border-radius:16px;padding:0 22px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:800;transition:.18s;background:linear-gradient(135deg,var(--orange-500),var(--orange-600));color:#fff;box-shadow:0 12px 24px rgba(237,106,28,.25);min-width:260px;}#screen-memorize{padding:18px;min-height:100vh;background:
    radial-gradient(circle at 84% 6%,rgba(244,123,36,.12),transparent 24rem),
    linear-gradient(145deg,#06142d,#0b2b58);color:#fff;}#screen-recall{padding:18px;min-height:100vh;background:
    radial-gradient(circle at 84% 6%,rgba(244,123,36,.12),transparent 24rem),
    linear-gradient(145deg,#06142d,#0b2b58);color:#fff;}.test-shell{width:min(1360px,100%);height:calc(100vh - 38px);margin:auto;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:11px;}.stage-topbar{display:grid;grid-template-columns:1fr auto;align-items:center;gap:14px;padding:2px 2px 0;}.stage-brand{display:flex;align-items:center;}.stage-logo{width:82px;height:54px;object-fit:contain;}.stage-meta{display:flex;gap:10px;}.stage-clock{background:rgba(255,255,255,.095);border:1px solid rgba(255,255,255,.18);border-radius:16px;padding:9px 14px;text-align:center;min-width:145px;border-color:rgba(255,255,255,.18);box-shadow:0 12px 30px rgba(0,0,0,.13);}.timer-copy{display:flex;align-items:baseline;justify-content:center;gap:6px;}.stage-attempt-box{background:rgba(255,255,255,.095);border:1px solid rgba(255,255,255,.18);border-radius:16px;padding:9px 14px;text-align:center;min-width:105px;border-color:rgba(255,255,255,.18);}.stage-clock strong{font-size:29px;}.block-tabs{display:flex;justify-content:center;gap:10px;}.block-tab{min-width:130px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.085);color:#fff;border-radius:14px;padding:9px 14px;min-height:48px;border-color:rgba(255,255,255,.18);font-weight:800;}.block-tab.active{background:linear-gradient(135deg,var(--orange-500),var(--orange-600));border-color:transparent;box-shadow:0 12px 25px rgba(233,99,23,.25);}.block-tab span{display:block;}.block-tab small{display:block;}.stage-info{display:flex;justify-content:space-between;align-items:center;gap:14px;background:rgba(255,255,255,.085);border:1px solid rgba(255,255,255,.15);border-radius:16px;padding:11px 15px;min-height:56px;border-color:rgba(255,255,255,.15);}.stage-info-main{display:flex;gap:10px;align-items:center;}.stage-info-icon{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--orange-500);box-shadow:0 8px 18px rgba(233,99,23,.22);}.stage-info-line{display:block;}.stage-security{display:flex;gap:10px;color:#c8d8ed;font-size:11px;}.words-card{min-height:0;overflow:auto;padding:16px;background:#fff;color:#10213d;border-radius:22px;box-shadow:0 18px 55px rgba(0,0,0,.19);}.word-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 14px;}.word{display:grid;grid-template-columns:38px 1fr;align-items:center;min-height:42px;border:1px solid #dce5f1;border-radius:11px;padding:5px 10px;font-weight:800;}.idx{color:#70819b;font-weight:900;}.memory-desktop-rows{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}.memory-row{border:1px solid #dce5f1;border-radius:17px;padding:12px;border-color:#dce5f0;background:#fff;}.recall-row{border:1px solid #dce5f1;border-radius:17px;padding:12px;border-color:#dce5f0;background:#fff;}.memory-row header{text-align:center;margin-bottom:9px;}.recall-row header{text-align:center;margin-bottom:8px;}.memory-row-body{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;}.recall-row-body{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;}.memory-word{display:grid;grid-template-columns:28px 1fr;gap:6px;padding:5px;border-bottom:1px solid #edf1f6;min-height:38px;border-bottom-color:#edf1f6;}.recall-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;}.recall-item{display:grid;grid-template-columns:42px 1fr;gap:8px;}.recall-item .idx{display:grid;place-items:center;border-radius:10px;background:#edf3fb;}.recall-answer{width:100%;border:1px solid #d6e1ee;border-radius:12px;background:#f8fafc;outline:none;min-height:46px;resize:none;padding:10px 13px;}.stage-bottom{display:grid;grid-template-columns:repeat(3,1fr) minmax(220px,.8fr);gap:10px;}.stage-submit{background:rgba(255,255,255,.085);border:1px solid rgba(255,255,255,.16);border-radius:15px;padding:10px 12px;min-height:68px;border-color:rgba(255,255,255,.15);}.stage-bottom-item{background:rgba(255,255,255,.085);border:1px solid rgba(255,255,255,.16);border-radius:15px;padding:10px 12px;display:flex;gap:10px;align-items:center;min-height:68px;border-color:rgba(255,255,255,.15);}.stage-bottom-item small{display:block;color:#bcd0e8;}.stage-submit small{display:block;color:#bcd0e8;}.stage-submit .btn{width:100%;}.focus-wrap{position:fixed;inset:0;z-index:5000;background:radial-gradient(circle at 50% 42%,#17417a,#06142d 68%);display:grid;place-items:center;color:#fff;}.focus-content{text-align:center;}.focus-content h2{font:800 clamp(28px,7vw,52px)/1 Montserrat,Manrope,sans-serif;}.focus-wrap .count{width:min(54vw,230px);aspect-ratio:1;margin:auto;border-radius:50%;border:10px solid rgba(255,255,255,.13);font:900 min(28vw,180px)/1 Montserrat,Manrope,sans-serif;color:var(--orange-500);}.result-reference-shell{width:min(1080px,100%);margin:0 auto;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);gap:18px;align-items:start;}.result-card{background:var(--surface);border:1px solid var(--line-strong);border-radius:26px;box-shadow:0 22px 65px rgba(6,20,45,.11);padding:24px;}.result-summary-card{grid-row:span 2;}.result-summary-top{display:grid;grid-template-columns:116px 1fr;gap:20px;align-items:center;}.result-photo img{width:116px;height:116px;border-radius:23px;object-fit:contain;background:var(--surface-soft);border:1px solid var(--line-strong);}.result-copy h2{font:800 34px/1.05 Montserrat,Manrope,sans-serif;margin:0;letter-spacing:-.04em;}.result-copy h3{margin:7px 0;font-size:22px;}.result-status-pill{display:inline-flex;border-radius:99px;padding:8px 12px;background:var(--orange-100);color:var(--orange-600);font-weight:900;font-size:12px;border:1px solid rgba(233,99,23,.13);}.result-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-top:22px;}.result-stat{border:1px solid var(--line);background:linear-gradient(145deg,var(--surface),var(--surface-soft));border-radius:17px;padding:15px;display:flex;align-items:center;gap:9px;min-height:86px;border-color:var(--line);}.result-stat.top{grid-column:span 3;min-height:96px;}.result-stat-icon{font-size:22px;}.result-stat small{display:block;color:var(--muted);}.result-stat strong{font-size:20px;}.result-actions-heading span{font-size:10px;letter-spacing:.1em;color:var(--orange-600);font-weight:900;}.result-actions-heading h3{margin:4px 0 14px;}.result-actions{display:grid;gap:9px;}.result-social-actions{display:grid;gap:9px;}.result-action{min-height:76px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(145deg,var(--surface),var(--surface-soft));padding:12px 14px;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;text-align:left;border-color:var(--line-strong);}.result-social-action{min-height:68px;border:1px solid var(--line);border-radius:16px;background:var(--surface-soft);padding:10px 13px;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;text-align:left;border-color:var(--line-strong);}.result-action.primary{background:linear-gradient(135deg,var(--navy-900),var(--navy-700));color:#fff;box-shadow:0 13px 28px rgba(6,20,45,.18);}.result-action-icon{width:44px;height:44px;border-radius:14px;background:var(--blue-100);color:var(--blue-600);display:grid;place-items:center;}.result-social-icon{width:40px;height:40px;border-radius:12px;background:var(--blue-100);color:var(--blue-600);display:grid;place-items:center;}.result-action strong{display:block;}.result-action small{display:block;color:var(--muted);}.result-social-icon svg{width:22px;height:22px;fill:currentColor;}.result-recorded-head{display:flex;gap:11px;}.result-recorded-check{width:34px;height:34px;border-radius:50%;background:var(--green-100);color:var(--green-600);display:grid;place-items:center;}.result-recorded-meta{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:14px;}.result-recorded-box{background:var(--surface-soft);border:1px solid var(--line);border-radius:14px;padding:11px;border-color:var(--line);}.result-recorded-box label{display:block;color:var(--muted);font-size:11px;}.app-dialog{position:fixed;inset:0;z-index:3000;background:rgba(3,13,32,.68);backdrop-filter:blur(8px);display:none;place-items:center;padding:18px;}.photo-change-modal{position:fixed;inset:0;z-index:3000;background:rgba(3,13,32,.68);backdrop-filter:blur(8px);display:none;place-items:center;padding:18px;}.profile-edit-modal{position:fixed;inset:0;z-index:3000;background:rgba(3,13,32,.68);backdrop-filter:blur(8px);display:none;place-items:center;padding:18px;}.fairplay-overlay{position:fixed;inset:0;display:none;place-items:center;padding:18px;}.fullscreen-gate{position:fixed;inset:0;z-index:3000;background:rgba(3,13,32,.68);backdrop-filter:blur(8px);display:none;place-items:center;padding:18px;}.app-dialog.open{display:grid;}.photo-change-modal.open{display:grid;}.profile-edit-modal.open{display:grid;}.fullscreen-gate.open{display:grid;}.app-dialog-backdrop{position:absolute;inset:0;border:0;background:transparent;}.photo-change-backdrop{position:absolute;inset:0;border:0;background:transparent;}.profile-edit-backdrop{position:absolute;inset:0;border:0;background:transparent;}.app-dialog-card{position:relative;width:min(900px,100%);max-height:calc(100vh - 36px);overflow:auto;background:var(--surface);border:1px solid var(--line-strong);border-radius:28px;box-shadow:0 35px 100px rgba(6,20,45,.25);}.photo-change-card{position:relative;width:min(900px,100%);max-height:calc(100vh - 36px);overflow:auto;background:var(--surface);border:1px solid var(--line-strong);border-radius:28px;box-shadow:0 35px 100px rgba(6,20,45,.25);}.profile-edit-card{position:relative;width:min(900px,100%);max-height:calc(100vh - 36px);overflow:auto;background:var(--surface);border:1px solid var(--line-strong);border-radius:28px;box-shadow:0 35px 100px rgba(6,20,45,.25);}.app-dialog-header{padding:20px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px;}.photo-change-head{padding:20px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px;}.profile-edit-head{padding:20px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px;}.app-dialog-header h2{margin:0;}.photo-change-head h2{margin:0;}.profile-edit-head h2{margin:0;}.app-dialog-header p{margin:4px 0 0;color:var(--muted);}.photo-change-head p{margin:4px 0 0;color:var(--muted);}.profile-edit-head p{margin:4px 0 0;color:var(--muted);}.app-dialog-icon{width:44px;height:44px;border-radius:14px;background:var(--orange-100);color:var(--orange-600);display:grid;place-items:center;font-weight:900;}.app-dialog-close{margin-left:auto;width:40px;height:40px;border-radius:12px;border:1px solid var(--line);background:var(--surface-soft);}.photo-change-close{margin-left:auto;width:40px;height:40px;border-radius:12px;border:1px solid var(--line);background:var(--surface-soft);}.profile-edit-close{margin-left:auto;width:40px;height:40px;border-radius:12px;border:1px solid var(--line);background:var(--surface-soft);}.app-dialog-body{padding:20px;}.profile-edit-body{padding:20px;}.photo-change-body{padding:20px;display:grid;grid-template-columns:220px 1fr;gap:20px;}.photo-change-photo-ring img{width:200px;height:200px;object-fit:contain;border-radius:24px;background:var(--surface-soft);}.photo-change-upload{display:flex;gap:12px;padding:16px;border:1.5px dashed #9cb2cf;border-radius:18px;}.photo-change-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 20px;border-top:1px solid var(--line);}.profile-edit-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 20px;border-top:1px solid var(--line);}.profile-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}.profile-edit-field{display:grid;gap:7px;}.profile-edit-field.full{grid-column:1/-1;}.profile-edit-lock-note{display:flex;gap:9px;background:var(--blue-100);padding:12px;border-radius:14px;margin-bottom:14px;}.fairplay-card{position:relative;width:min(900px,100%);max-height:calc(100vh - 36px);overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:28px;box-shadow:0 35px 100px rgba(0,0,0,.35);padding:26px;text-align:center;}.fullscreen-card{position:relative;width:min(900px,100%);max-height:calc(100vh - 36px);overflow:auto;background:var(--surface);border:1px solid rgba(255,255,255,.15);border-radius:28px;box-shadow:0 35px 100px rgba(0,0,0,.35);padding:26px;text-align:center;}.toast{position:fixed;z-index:6000;left:50%;bottom:24px;transform:translate(-50%,20px);background:var(--navy-950);color:#fff;border-radius:99px;padding:11px 16px;opacity:0;pointer-events:none;transition:.2s;}.toast.show{opacity:1;transform:translate(-50%,0);}.test-watermark{position:fixed;inset:auto 10px 10px auto;z-index:2200;pointer-events:none;color:rgba(255,255,255,.25);font-size:10px;}.dialog-open{overflow:hidden;}body.welcome-gate #emailStage{display:none;}body:not(.welcome-gate) #entryGate{display:none;}[hidden]{display:none;}.stage-logo-dark{display:none;}body.test-mode .stage-logo-light{display:none;}body.test-mode .stage-logo-dark{display:block;}
.public-partner:last-child{border-right:0;}
.information-card:hover{transform:translateY(-3px);border-color:#b8cbe2;box-shadow:0 20px 45px rgba(6,20,45,.1);}
/* How It Works markup keeps the existing mobile card flow; desktop reveals the premium visual layers. */
.how-step-icon,.how-step-chevron,.how-journey-art{display:none;}.how-step-main{display:block;}.how-step-copy{padding:0;}.how-step-copy i{display:none;}
.email-minimal-card::before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--navy-800),var(--orange-500));}
.otp-minimal-card::before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--navy-800),var(--orange-500));}
.selection-id-cell:nth-child(2n){border-right:0;}
.selection-id-cell:nth-last-child(-n/**/+2){border-bottom:0;}
.selection-id-actions .btn{min-height:54px;}
.device-check strong{font-size:15px;letter-spacing:-.02em;}
.rules-copy strong{font-size:16px;letter-spacing:-.02em;}
.rules-consent-card{padding:15px 16px;border-radius:15px;border:1px solid var(--line-strong);background:var(--surface-soft);display:grid;grid-template-columns:22px minmax(0,1fr);gap:11px;align-items:start;width:100%;margin-top:14px;}
.screen[hidden],.screen:not(.active){display:none;}
.app-step strong{display:block;font-size:13px;line-height:1.05;letter-spacing:-.02em;}
.app-step small{display:block;margin-top:2px;font-size:7px;line-height:1;letter-spacing:.11em;opacity:.72;}
.secure-stage-footer{min-height:42px;border:1px solid rgba(255,255,255,.15);border-radius:14px;background:linear-gradient(90deg,rgba(3,21,52,.94),rgba(8,54,107,.94));display:flex;align-items:center;justify-content:center;gap:14px;padding:8px 14px;color:#fff;text-align:center;}
.secure-stage-footer strong{color:#ff7a00;font-size:13px;white-space:nowrap;}
.secure-stage-footer i{width:1px;height:18px;background:rgba(255,255,255,.65);}
.secure-stage-footer span{font-size:11px;white-space:nowrap;}
.result-attempt-summary{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:center;padding:12px;border:1px solid #d7e2ef;border-radius:14px;background:linear-gradient(145deg,#f8fbff,#eef4fb);}
.result-attempt-summary::before{content:"✓";width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#e8f2ff;color:#0a5db8;font-size:19px;font-weight:900;}
.result-attempt-summary strong,.result-attempt-summary small{grid-column:2;display:block;}
.result-attempt-summary strong{align-self:end;font-size:15px;line-height:1.25;}
.result-attempt-summary small{align-self:start;color:var(--muted);line-height:1.5;}
.public-theme-toggle .theme-sun{display:block;}
.public-theme-toggle .theme-moon{display:none;}
html[data-theme="dark"] .public-theme-toggle .theme-sun{display:none;}
html[data-theme="dark"] .public-theme-toggle .theme-moon{display:block;}
.result-social-heading{display:grid;gap:4px;margin-bottom:14px;}
.result-social-heading strong{display:block;}
.result-social-heading small{display:block;color:var(--muted);line-height:1.45;}
.result-recorded-head>div{display:grid;gap:3px;}
.result-recorded-head strong{display:block;}
.result-recorded-head small{display:block;color:var(--muted);line-height:1.45;}
.result-copy-btn{width:34px;height:34px;border-radius:10px;border:1px solid var(--line);background:var(--surface);color:var(--navy-900);}
.result-social-action strong{display:block;}
.result-social-action small{display:block;color:var(--muted);margin-top:2px;}
.rules-consent-card input{width:20px;height:20px;margin:1px 0 0;accent-color:var(--orange-600);}
.rules-consent-card span{display:grid;gap:3px;min-width:0;}
.rules-consent-card strong{display:block;}
.rules-consent-card small{display:block;color:var(--muted);line-height:1.45;}
/* PUBLIC-PREMIUM-ALIGNMENT-V7 — public information pages and stable mobile hero. */
.public-page-icon svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.public-view-footer{min-height:72px;margin:28px 0 0;padding:0 24px;display:flex;align-items:center;justify-content:center;gap:16px;border-radius:20px 20px 0 0;background:linear-gradient(105deg,#062451,#07366f);color:#fff;box-shadow:0 -8px 22px rgba(5,24,55,.08);}
.public-view-footer strong{color:#ff7a00;font-weight:900;white-space:nowrap;}
.public-view-footer i{width:1px;height:24px;background:rgba(255,255,255,.65);}
.public-view-footer span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}



/* SECURE-STAGE-FOOTER-V15 — one-minute resend feedback and balanced consent. */
.app-secondary.otp-cooldown,
#appSecondary.otp-cooldown{color:#65758a;border-color:#d8e0ea;background:#f5f7fa;}



/* SECURE-RESULT-FLOW-V12
   Root corrections for the Selection ID hand-off, secure-stage exit lock,
   Mistake Review header and viewport-fitted Result Actions. */
.fairplay-overlay{
  z-index:2147483000;
  background:#020711;
  backdrop-filter:none;
}
.fairplay-overlay.show{display:grid;}
body.fairplay-locked #screen-memorize .test-shell,
body.fairplay-locked #screen-recall .test-shell,
body.fairplay-locked .focus-wrap{visibility:hidden;}
html body.fairplay-locked{background:#020711;}

.mistake-review-brand{flex:1 1 auto;}
.mistake-review-brand h2{white-space:nowrap;}
.mistake-review-top-actions{margin-left:auto;}




/* IDENTITY-CORRECTION-WORKFLOW-V8 — verified resume density and protected requests. */
.identity-correction-request{margin-top:18px;padding:17px;border:1px solid #bdd2ee;border-radius:17px;background:linear-gradient(145deg,#f7faff,#eef5ff);}
.identity-correction-request h3{margin:5px 0 4px;color:var(--navy-900);}
.identity-correction-request p{margin:0 0 14px;color:var(--muted);}
.identity-correction-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.identity-correction-grid label{display:grid;gap:7px;font-weight:800;}
.identity-correction-grid label.full{grid-column:1/-1;}
.identity-correction-grid input{min-height:48px;border:1px solid var(--line-strong);border-radius:12px;background:var(--surface);padding:0 13px;}
.identity-correction-grid small{font-weight:600;color:var(--muted);}
.identity-correction-request .btn{margin-top:13px;min-height:48px;}


@media (min-width:901px){
  .public-label-mobile{display:none;}.public-mobile-menu-toggle{display:none;}
  .rules-panel-section[hidden]{display:none;}
  .app-header,.app-footer,.app-dots{display:none;}
  
  
  
  .rules-head{grid-column:1;grid-row:1/4;}
}

/* V4 interactive home illustration and post-rules language choice. */

.public-brain-gesture{
  position:relative;display:block;width:100%;height:auto;aspect-ratio:4/3;overflow:hidden;
  touch-action:pan-y;user-select:none;cursor:grab;isolation:isolate;perspective:1100px;
}
.public-brain-gesture.is-dragging{cursor:grabbing;}
.public-brain-slide{
  position:absolute;inset:0;display:grid;place-items:center;
  transform:translate3d(-112%,0,0);
  transition:transform .72s cubic-bezier(.22,.72,.24,1);
  pointer-events:none;will-change:transform;z-index:1;transform-style:preserve-3d;
}
.public-brain-slide.is-active{transform:translate3d(0,0,0);z-index:3;}
.public-brain-slide.is-enter-left{transform:translate3d(-112%,0,0);z-index:4;}
.public-brain-slide.is-enter-right{transform:translate3d(112%,0,0);z-index:4;}
.public-brain-slide.is-exit-right{transform:translate3d(112%,0,0);z-index:2;}
.public-brain-slide.is-exit-left{transform:translate3d(-112%,0,0);z-index:2;}
.public-brain-slide .public-brain{
  --brain-x:0px;--brain-y:0px;--brain-rx:0deg;--brain-ry:0deg;
  display:block;width:100%;height:100%;object-fit:contain;background:transparent;pointer-events:none;
  transform-origin:50% 52%;transform-style:preserve-3d;
  filter:drop-shadow(0 24px 24px rgba(6,20,45,.20));
  will-change:transform;
}
.public-brain-slide.is-active .public-brain{
  animation:gmcBrainCarouselOrbit 7s ease-in-out infinite;
}
@keyframes gmcBrainCarouselOrbit{
  0%,100%{transform:translate3d(calc(var(--brain-x) - 4px),calc(var(--brain-y) + 1px),2px) rotateX(calc(var(--brain-rx) - 2deg)) rotateY(calc(var(--brain-ry) - 5deg)) rotateZ(-.35deg) scale(1.005);}
  25%{transform:translate3d(calc(var(--brain-x) + 3px),calc(var(--brain-y) - 6px),12px) rotateX(calc(var(--brain-rx) + 3deg)) rotateY(calc(var(--brain-ry) + 4deg)) rotateZ(.25deg) scale(1.015);}
  50%{transform:translate3d(calc(var(--brain-x) + 6px),calc(var(--brain-y) + 1px),7px) rotateX(calc(var(--brain-rx) - 1deg)) rotateY(calc(var(--brain-ry) + 7deg)) rotateZ(.45deg) scale(1.01);}
  75%{transform:translate3d(calc(var(--brain-x) - 2px),calc(var(--brain-y) + 6px),10px) rotateX(calc(var(--brain-rx) + 4deg)) rotateY(calc(var(--brain-ry) - 3deg)) rotateZ(-.2deg) scale(1.012);}
}
.public-brain-dots{position:absolute;left:50%;bottom:-13px;z-index:9;display:flex;align-items:center;justify-content:center;gap:7px;transform:translateX(-50%);padding:5px 8px;border:1px solid rgba(13,47,92,.08);border-radius:999px;background:rgba(255,255,255,.72);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);}
.public-brain-dot{width:7px;height:7px;min-width:7px;min-height:7px;padding:0;border:0;border-radius:50%;background:#b8c0cb;cursor:pointer;transition:width .22s ease,background .22s ease;}
.public-brain-dot.is-active{width:20px;border-radius:999px;background:var(--blue-600);}
.public-brain-dot:focus-visible{outline:2px solid var(--blue-600);outline-offset:3px;}
.test-language-intro{padding:15px 16px;border-radius:16px;background:var(--surface-soft);color:var(--muted);}
.test-language-grid{margin-top:16px;}
.test-language-grid button{color:var(--navy-900);}
.test-language-grid button:hover,.test-language-grid button:focus-visible{outline:none;}
.test-language-grid button span{display:grid;gap:3px;}
.test-language-grid button span small{line-height:1.35;}
.test-language-grid button>i{font-style:normal;color:var(--orange-600);font-size:22px;}
.test-language-cancel{display:block;margin:14px auto 0;padding:8px 14px;}



@media (prefers-reduced-motion:reduce){
  .public-brain-slide{transition:none;}
  .public-brain-slide.is-active .public-brain{animation:none;}
}

/* SECURE-RESULT-ALIGNMENT-V6 — canonical mobile composition.
   Home and the three secure competition stages are intentionally excluded. */
.app-brand-footer{position:fixed;z-index:1290;left:0;right:0;bottom:0;min-height:44px;padding:0 18px;display:flex;align-items:center;justify-content:center;gap:12px;background:linear-gradient(105deg,#062451,#07366f);color:#fff;font-size:12px;box-shadow:0 -8px 22px rgba(5,24,55,.08);}
.app-brand-footer[hidden]{display:none;}
.app-brand-footer strong{color:#ff7a00;font-weight:900;white-space:nowrap;}
.app-brand-footer i{width:1px;height:20px;background:rgba(255,255,255,.65);}
.app-brand-footer span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}



/* PREMIUM-RESULT-MEMORY-LAYOUT-V9 — authoritative final mobile cascade. */

/* RESULT-REVIEW-SHARE-V10 — review isolation, compact result actions and public record rows. */
.mistake-review-popup{font-family:Manrope,"Noto Sans Gujarati","Segoe UI",sans-serif;color:#102448;}
.mistake-review-backdrop{position:absolute;inset:0;background:rgba(3,16,40,.74);backdrop-filter:blur(9px);}
.mistake-review-panel{position:absolute;inset:clamp(10px,2vw,24px);z-index:1;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;background:#f5f8fc;border:1px solid rgba(255,255,255,.34);border-radius:24px;box-shadow:0 30px 90px rgba(0,0,0,.35);}
.mistake-review-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;background:linear-gradient(110deg,#031632,#07346b);color:#fff;border-bottom:3px solid #f4770b;}
.mistake-review-brand{display:flex;align-items:center;gap:12px;min-width:0;}
.mistake-review-brand-mark{width:58px;height:42px;display:grid;place-items:center;border-radius:12px;background:#fff;color:#07346b;font-weight:950;letter-spacing:-.04em;}
.mistake-review-brand h2{margin:0;font-size:22px;line-height:1.1;}
.mistake-review-brand p{margin:4px 0 0;color:#dbe8f8;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:52vw;}
.mistake-review-top-actions{display:flex;gap:8px;flex:0 0 auto;}
.mistake-review-top-actions .btn{min-height:42px;padding:0 16px;}
.mistake-review-content{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:12px;padding:14px;overflow:hidden;}
.mistake-review-summary-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;}
.mistake-review-summary-cards>div{display:grid;gap:3px;padding:10px 12px;background:#fff;border:1px solid #dce5f0;border-radius:13px;}
.mistake-review-summary-cards small{color:#6d7c92;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;}
.mistake-review-summary-cards strong{font-size:18px;color:#082d61;}
.mistake-review-table-wrap{min-height:0;overflow:auto;background:#fff;border:1px solid #d9e3ef;border-radius:15px;}
.mistake-review-table{width:100%;border-collapse:separate;border-spacing:0;}
.mistake-review-table th{position:sticky;top:0;z-index:1;padding:11px 12px;background:#eaf1f9;color:#183a68;text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.04em;}
.mistake-review-table td{padding:10px 12px;border-top:1px solid #e6ecf3;font-size:13px;}
.mistake-review-table tr.correct td{background:#f2fbf5;}.mistake-review-table tr.wrong td{background:#fff5f3;}.mistake-review-table tr.blank td{background:#fffbef;}
.mistake-review-table .status{display:inline-flex;padding:4px 8px;border-radius:99px;font-size:9px;font-weight:900;letter-spacing:.04em;}
.mistake-review-table .status.correct{background:#dcf7e5;color:#087a3b;}.mistake-review-table .status.wrong{background:#ffe1dd;color:#b52d2d;}.mistake-review-table .status.blank{background:#fff0c8;color:#8a6100;}
html.mistake-review-open,body.mistake-review-open{overflow:hidden;}


.public-page-heading h2 span{white-space:nowrap;}



/* PROFILE-QUALIFIED-PORTAL-V11 — profile fit, explicit device checks and portal actions. */



/* SECURE-STAGE-FOOTER-V15 final cascade: these rules intentionally follow
   every legacy responsive block so older compact overrides cannot shrink the
   photograph area or redistribute the consent cards. */



/* SECURE-STAGE-FOOTER-V15 — final authoritative root cascade. */
.app-footer .app-secondary,
.app-footer .app-secondary:enabled,
.app-footer .app-secondary[aria-disabled="false"]{
  opacity:1;
  color:#0b2d5c;
  background:#ffffff;
  border:1.5px solid #9eb3cd;
  box-shadow:0 8px 20px rgba(5,31,69,.10);
  filter:none;
  font-weight:850;
}
html[data-theme="dark"] .app-footer .app-secondary,
html[data-theme="dark"] .app-footer .app-secondary:enabled{
  color:#f7fbff;
  background:#12335f;
  border-color:#6f93be;
  box-shadow:0 8px 22px rgba(0,0,0,.28);
}
.app-footer .app-secondary:disabled,
.app-footer .app-secondary[aria-disabled="true"]{opacity:.52;filter:grayscale(.15);}

/* Preserve official marks and fine rules in both themes. */
html[data-theme="dark"] .app-brand img,
html[data-theme="dark"] .public-header-brand img,
html[data-theme="dark"] .profile-brand img,
html[data-theme="dark"] .selection-brand img,
html[data-theme="dark"] .result-card img,
html[data-theme="dark"] .app-dialog img{
  opacity:1;
  visibility:visible;
  filter:none;
}
html[data-theme="dark"] .app-header,
html[data-theme="dark"] .app-footer,
html[data-theme="dark"] .app-brand-footer,
html[data-theme="dark"] .result-card,
html[data-theme="dark"] .app-dialog-card{border-color:#3f6794;}
html[data-theme="dark"] .result-actions-heading span,
html[data-theme="dark"] .result-reference-kicker,
html[data-theme="dark"] .app-kicker{color:#ffad64;}
html[data-theme="dark"] .result-action small,
html[data-theme="dark"] .result-social-action small,
html[data-theme="dark"] .result-recorded-box label{color:#c1d1e6;}

/* Premium test-language dialog. */
.app-dialog:has(.test-language-grid) .app-dialog-card{width:min(620px,calc(100vw - 24px));overflow:hidden;border-radius:28px;}
.app-dialog:has(.test-language-grid) .app-dialog-header{
  padding:22px 22px 18px;
  background:linear-gradient(135deg,#061b3f,#0b4d91);
  border-bottom:2px solid #f47b24;
  color:#fff;
}
.app-dialog:has(.test-language-grid) .app-dialog-header p{color:#d8e8fb;}
.app-dialog:has(.test-language-grid) .app-dialog-icon{background:#fff;color:#0b4d91;border:2px solid rgba(255,255,255,.65);}
.app-dialog:has(.test-language-grid) .app-dialog-close{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.28);color:#fff;}
.test-language-intro{display:grid;gap:5px;text-align:center;margin-bottom:16px;}
.test-language-intro strong{font-size:18px;color:var(--ink);}
.test-language-intro span{font-size:12px;color:var(--muted);}
.test-language-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.test-language-grid button{
  min-height:112px;border:1.5px solid var(--line-strong);border-radius:20px;background:linear-gradient(145deg,var(--surface),var(--surface-soft));
  padding:16px;display:grid;grid-template-columns:48px 1fr auto;gap:12px;align-items:center;text-align:left;box-shadow:0 12px 28px rgba(6,20,45,.08)
;}
.test-language-grid button>b{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:#eaf3ff;color:#0b5db1;font-size:18px;}
.test-language-grid button span strong{display:block;font-size:18px;}.test-language-grid button span small{display:block;margin-top:3px;color:var(--muted);font-size:11px;}
.test-language-grid button i{font-style:normal;font-size:23px;color:#f47b24;}.test-language-grid button:hover,.test-language-grid button:focus-visible{border-color:#f47b24;transform:translateY(-1px);box-shadow:0 16px 34px rgba(244,123,36,.15);}
.test-language-cancel{width:100%;min-height:48px;margin-top:14px;border:0;border-radius:14px;background:transparent;color:var(--muted);font-weight:800;}

/* Result surface reset: remove legacy opacity/overflow interference. */



.result-desktop-next-title,.result-desktop-section-title,.result-follow-section{display:none;}
/* SECURE-STAGE-V16 — authoritative prepare-your-mind desktop experience. */
.focus-wrap{animation:none;transition:none;contain:layout paint;overflow:hidden;}
.focus-wrap .focus-content{display:grid;justify-items:center;gap:16px;position:relative;z-index:2;}
.focus-wrap .focus-content h2{margin:0;line-height:1.05;text-wrap:balance;}
.focus-wrap .count{overflow:hidden;line-height:1;text-align:center;display:grid;place-items:center;position:relative;z-index:2;}
.focus-wrap .count.start-label{
  width:min(70vw,260px);
  aspect-ratio:auto;
  min-height:88px;
  padding:0 24px;
  border-width:0;
  border-radius:18px;
  font-size:clamp(28px,7vw,54px);
  letter-spacing:.035em;
  color:#fff;
  background:linear-gradient(135deg,#ff8b16,#f15f0a);
  box-shadow:0 22px 60px rgba(242,104,12,.34);
}
.focus-wrap.preparing .count{
  width:min(56vw,220px);
  font-size:clamp(18px,5vw,28px);
  color:#fff;
}
.focus-wrap .preparing-label{font-weight:900;letter-spacing:.09em;text-transform:uppercase;color:#ff6b00;text-shadow:0 0 22px rgba(255,107,0,.28);font-size:.42em;}
.focus-ring-shell{position:relative;display:grid;place-items:center;width:min(72vw,420px);aspect-ratio:1;}
.focus-ring-svg{width:100%;height:100%;transform:rotate(-90deg);filter:drop-shadow(0 0 18px rgba(40,124,255,.28));}
.focus-ring-track{fill:none;stroke:rgba(94,143,211,.18);stroke-width:8;}
.focus-ring-progress{fill:none;stroke:#4ea2ff;stroke-width:8;stroke-linecap:round;}
.focus-ring-inner{fill:rgba(4,20,52,.62);stroke:rgba(82,140,223,.15);stroke-width:1.5;}
.focus-start-line{font-weight:500;letter-spacing:.01em;}
.focus-ambient{position:absolute;top:50%;width:40vw;max-width:520px;min-width:260px;height:180px;transform:translateY(-10%);pointer-events:none;opacity:.95;z-index:0;}
.focus-ambient-left{left:-3vw;}
.focus-ambient-right{right:-3vw;transform:translateY(-10%) scaleX(-1);}
.focus-ambient span{position:absolute;left:0;right:0;top:20px;bottom:20px;border-radius:50%;border-top:1px solid rgba(52,128,255,.62);border-bottom:1px solid transparent;filter:drop-shadow(0 0 8px rgba(41,126,255,.25));animation:focusWaveFloat 8s linear infinite;}
.focus-ambient span:nth-child(1){transform:translateY(0) scaleY(.46);opacity:.96;}
.focus-ambient span:nth-child(2){transform:translateY(22px) scaleY(.38);opacity:.62;animation-duration:10s;}
.focus-ambient span:nth-child(3){transform:translateY(44px) scaleY(.30);opacity:.42;animation-duration:12s;}
@keyframes focusWaveFloat{0%{background-position:0 0;opacity:.45;}50%{opacity:.95;}100%{background-position:160px 0;opacity:.45;}}




/* GMC V16 — authoritative secure footer + clipboard protection */
body.test-mode #screen-memorize,
body.test-mode #screen-recall{padding-bottom:44px;box-sizing:border-box;}
body.test-mode .secure-stage-footer{
  position:fixed;left:0;right:0;bottom:0;z-index:2400;
  width:100%;height:42px;min-height:42px;max-height:42px;
  margin:0;border-radius:0;border-left:0;border-right:0;border-bottom:0;
  display:flex;visibility:visible;opacity:1;
  padding:5px max(10px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));
  box-sizing:border-box;
}
body.test-mode #screen-memorize .test-shell,
body.test-mode #screen-recall .test-shell{height:calc(var(--visible-height,100dvh) - 42px);max-height:calc(var(--visible-height,100dvh) - 42px);}
body.test-mode #screen-memorize .words-card,
body.test-mode #screen-memorize .word-grid,
body.test-mode #screen-memorize .word,
body.test-mode #screen-recall .recall-grid{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;}
body.test-mode #screen-recall input,
body.test-mode #screen-recall textarea{user-select:text;-webkit-user-select:text;-webkit-touch-callout:none;}
@media(max-height:720px){body.test-mode .secure-stage-footer{height:36px;min-height:36px;max-height:36px;}body.test-mode #screen-memorize .test-shell,body.test-mode #screen-recall .test-shell{height:calc(var(--visible-height,100dvh) - 36px);max-height:calc(var(--visible-height,100dvh) - 36px);}}

/* LANGUAGE-SECURE-FOOTER-V16 */

/* FAIRPLAY-60S-LOCK-V19 — OTP transport/session recovery authority.
   Visual layout remains inherited from V16; this marker binds cache and audit
   checks to the root-level OTP delivery and verification correction. */


/* OTP-DEVICE-COMPAT-V20 — authoritative mobile compatibility and click safety. */
body:not(.dialog-open) .app-dialog:not(.open),
body:not(.photo-change-open) .photo-change-dialog:not(.open),
body:not(.profile-edit-open) .profile-edit-dialog:not(.open),
[hidden],.fairplay-overlay:not(.show),.fullscreen-overlay:not(.show){pointer-events:none;}
#screen-email button,#screen-otp button,.app-footer button{touch-action:manipulation;position:relative;z-index:5;}
body.gmc-otp-controller-busy #appPrimary,body.gmc-otp-controller-busy #screen-email button[type="submit"],body.gmc-otp-controller-busy #screen-otp .otp-verify-btn{opacity:.72;cursor:wait;}
.gmc-otp-live-status{margin:9px 0 0;padding:10px 12px;border-radius:12px;background:#eef5ff;color:#123a69;font-size:13px;font-weight:700;line-height:1.35;}
.gmc-otp-live-status[data-type="error"]{background:#fff0f0;color:#9a2730;}

/* STUDENT-DELETE-FK-HARD-RESET-V22 — server-confirmed Selection ID and Admin repair workflow. */


/* DESKTOP-PUBLIC-PREMIUM-V23 — desktop-only public landing and information pages.
   LOCK: no selectors in this block apply at 900px or below. */
@media (min-width:901px){
  /* Global desktop shell */
  #screen-home{padding:0;min-height:100vh;}
  .public-landing{min-height:100vh;background:
    radial-gradient(circle at 12% 12%,rgba(39,105,195,.11),transparent 31%),
    radial-gradient(circle at 88% 14%,rgba(244,123,36,.08),transparent 28%),
    linear-gradient(180deg,#f8fbff 0%,#f1f6fc 100%);}
  .public-header{height:82px;padding:0 clamp(28px,4vw,58px);grid-template-columns:190px 1fr auto;gap:24px;background:rgba(255,255,255,.94);border-bottom:1px solid #dce5f0;box-shadow:0 10px 32px rgba(7,28,63,.07);}
  .public-header-brand img{width:176px;height:54px;object-fit:contain;object-position:left center;}
  .public-header-nav{gap:7px;}
  .public-header-nav button{padding:10px 15px;border-radius:12px;font-size:13px;font-weight:800;}
  .public-header-nav button[aria-current="page"]{background:#eaf2ff;color:#1f60b6;}
  .public-header-actions{gap:9px;}
  .public-theme-toggle,#welcomeLanguageButton{height:46px;border-radius:14px;}

  /* R2.7 desktop header is navigation-only. All primary actions live in the Home hero. */
  .public-header-start,.public-registration-open{display:none!important;}
  .public-page-actions{display:none;}

  /* Home composition — V73 single authoritative desktop visual treatment. */
  body.welcome-gate .public-landing{
    position:relative;
    isolation:isolate;
    background:
      radial-gradient(circle at 78% 24%,rgba(255,126,37,.085),transparent 28%),
      radial-gradient(circle at 21% 71%,rgba(30,111,214,.07),transparent 30%),
      linear-gradient(115deg,#ffffff 0%,#fbfdff 55%,#fffaf5 100%);
  }
  body.welcome-gate .public-landing::before,
  body.welcome-gate .public-landing::after{
    content:"";position:absolute;z-index:0;pointer-events:none;width:360px;height:360px;opacity:.6;
    background-image:radial-gradient(circle,rgba(29,102,194,.28) 0 1.2px,transparent 1.5px);
    background-size:11px 11px;
    -webkit-mask-image:radial-gradient(circle at center,#000 0 26%,rgba(0,0,0,.68) 48%,transparent 74%);
    mask-image:radial-gradient(circle at center,#000 0 26%,rgba(0,0,0,.68) 48%,transparent 74%);
  }
  body.welcome-gate .public-landing::before{left:-130px;bottom:-105px;transform:rotate(-10deg);}
  body.welcome-gate .public-landing::after{right:-120px;top:92px;transform:rotate(15deg);background-image:radial-gradient(circle,rgba(239,108,24,.22) 0 1.1px,transparent 1.45px);}
  body.welcome-gate .public-shell{position:relative;z-index:1;width:min(1240px,calc(100% - 72px));padding:clamp(34px,4.2vh,54px) 0 26px;}
  body.welcome-gate .public-hero{grid-template-columns:minmax(0,1.02fr) minmax(430px,.98fr);gap:clamp(38px,5vw,76px);min-height:500px;}
  body.welcome-gate .public-copy{align-content:center;}
  body.welcome-gate .public-kicker{
    padding:10px 16px;border-radius:999px;background:#fff8f1;color:#ef5d0a;border:1px solid #ffd4b8;
    box-shadow:0 8px 22px rgba(235,97,17,.06);font-size:12px;letter-spacing:.055em;
  }
  body.welcome-gate .public-title{margin:24px 0 0;line-height:.92;letter-spacing:-.05em;}
  body.welcome-gate .public-title-small{font-size:clamp(42px,4vw,61px);line-height:1.06;}
  body.welcome-gate .public-title-memory{font-size:clamp(78px,7.5vw,112px);line-height:.9;color:#082b5e;text-shadow:none;}
  body.welcome-gate .public-title-bottom{font-size:clamp(34px,3.75vw,54px);line-height:1.03;color:#082b5e;white-space:nowrap;}
  body.welcome-gate .public-title-bottom em[hidden]{display:inline!important;color:#f15f0a;font-style:normal;}
  body.welcome-gate .public-accent{width:84px;height:5px;margin:26px 0 22px;border-radius:99px;background:#f15f0a;}
  body.welcome-gate .public-tagline{max-width:500px;margin:0;color:#3d4c66;font-size:clamp(18px,1.45vw,22px);line-height:1.55;}
  /* R2.7 desktop Home action hierarchy. Mobile Home is locked in mobile.css. */
  body.welcome-gate .public-registration-open{display:none!important;}
  body.welcome-gate .public-actions{
    width:min(520px,100%);margin-top:28px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
  }
  body.welcome-gate .public-start,
  body.welcome-gate .public-qualified,
  body.welcome-gate .public-registration-home{
    min-height:56px;border-radius:15px;padding:0 20px;font-size:14px;font-weight:800;box-shadow:0 12px 26px rgba(7,35,73,.07);
    display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;
  }
  body.welcome-gate .public-qualified{grid-column:1;grid-row:1;background:rgba(255,255,255,.94);border:1px solid #cfdceb;color:#09285a;}
  body.welcome-gate .public-registration-home{grid-column:2;grid-row:1;background:#fff;color:#0a2b5d;border:1px solid #f0a55e;}
  body.welcome-gate .public-registration-home .public-registration-dot{width:8px;height:8px;border-radius:50%;background:#f26a0a;box-shadow:0 0 0 4px rgba(242,106,10,.12);flex:0 0 auto;}
  body.welcome-gate .public-start{grid-column:1/-1;grid-row:2;background:linear-gradient(135deg,#ff6f0a,#f25300);box-shadow:0 16px 34px rgba(242,83,0,.22);}
  body.welcome-gate .public-label-desktop{display:inline;}
  body.welcome-gate .public-label-mobile{display:none;}
  body.welcome-gate .public-visual{min-height:430px;}
  body.welcome-gate .public-brain-wrap{width:min(100%,590px);}
  body.welcome-gate .public-brain-glow{width:88%;background:radial-gradient(circle,rgba(35,108,217,.14),rgba(244,123,36,.05) 48%,transparent 72%);}
  body.welcome-gate .public-partners{
    margin-top:28px;border-radius:22px;background:rgba(255,255,255,.94);border-color:#dce5ef;
    box-shadow:0 16px 38px rgba(7,35,73,.075);
  }
  body.welcome-gate .public-partner{padding:16px 18px;background:transparent;}
  body.welcome-gate .public-partner-heading{font-size:10px;color:#17356d;}
  body.welcome-gate .public-logo-box{height:64px;}
  body.welcome-gate #appBrandFooter{display:none!important;}

  /* Integrated desktop pages: content begins below sticky header, no overlap. */
  .public-integrated-page{inset:82px 0 0;padding:32px max(32px,calc((100vw - 1160px)/2));background:
    radial-gradient(circle at 12% 0,rgba(36,104,201,.08),transparent 34%),
    radial-gradient(circle at 92% 5%,rgba(244,123,36,.06),transparent 30%),#f3f7fc;}
  .public-page-shell{max-width:1160px;min-height:calc(100vh - 146px);display:flex;flex-direction:column;}
  .public-page-head{align-items:center;margin:0 0 24px;padding:0;}
  .public-page-heading{gap:16px;align-items:center;}
  .public-page-icon{width:56px;height:56px;border-radius:17px;box-shadow:none;}
  .public-page-kicker{font-size:10px;}
  .public-page-head h2{font-size:clamp(38px,4vw,52px);margin:5px 0 7px;line-height:1;}
  .public-page-head p{font-size:15px;}
  .public-page-content{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-content:start;}
  .information-card{min-height:132px;padding:21px 22px;border-radius:20px;box-shadow:0 12px 30px rgba(7,28,63,.055);}
  .information-card:hover{transform:translateY(-2px);border-color:#b9cbe3;box-shadow:0 18px 38px rgba(7,28,63,.09);}
  .information-card h3{font-size:18px;}
  .information-card p{font-size:15px;line-height:1.48;}
  .support-card{padding:18px 22px;border-radius:20px;}
  .public-view-footer{margin-top:auto;min-height:66px;border-radius:20px;padding:0 28px;}

  /* HOW-IT-WORKS-V86 — single authoritative desktop reference implementation.
     The superseded V84 desktop layout is removed in-place; no overlay stylesheet or parallel layout. */
  #informationView[data-page-type="how"]{
    padding:15px 28px 0;
    background:
      radial-gradient(circle at 12% 4%,rgba(58,126,222,.10),transparent 31%),
      radial-gradient(circle at 88% 5%,rgba(247,126,40,.07),transparent 28%),
      linear-gradient(180deg,#f8fbff 0%,#f2f7fd 100%);
  }
  #informationView[data-page-type="how"]::after{
    content:"";position:fixed;right:-72px;top:86px;width:310px;height:310px;pointer-events:none;opacity:.52;
    background-image:radial-gradient(circle,rgba(51,124,224,.28) 0 1.1px,transparent 1.45px);
    background-size:10px 10px;
    -webkit-mask-image:radial-gradient(circle at center,#000 0 24%,rgba(0,0,0,.6) 48%,transparent 73%);
    mask-image:radial-gradient(circle at center,#000 0 24%,rgba(0,0,0,.6) 48%,transparent 73%);
  }
  #informationView[data-page-type="how"] .public-page-shell{
    width:100%;max-width:1440px;height:100%;min-height:0;padding:0;position:relative;
    display:grid;grid-template-rows:auto minmax(0,1fr) 50px;align-content:stretch;
  }
  #informationView[data-page-type="how"] .public-page-head{
    min-height:122px;margin:0 0 18px;padding:0 430px 0 0;align-items:flex-start;position:relative;
  }
  #informationView[data-page-type="how"] .public-page-heading{align-items:flex-start;gap:20px;}
  #informationView[data-page-type="how"] .public-page-icon{
    width:94px;height:94px;flex:0 0 94px;border-radius:28px;background:#fff6ee;color:#f15f0a;
    border:1px solid #ffdcc4;box-shadow:0 14px 32px rgba(241,95,10,.07);
  }
  #informationView[data-page-type="how"] .public-page-icon svg{
    width:50px;height:50px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;
  }
  #informationView[data-page-type="how"] .public-page-kicker{font-size:12px;letter-spacing:.055em;margin-top:1px;}
  #informationView[data-page-type="how"] .public-page-head h2{
    margin:8px 0 8px;font-size:clamp(48px,4.25vw,66px);line-height:.98;letter-spacing:-.048em;color:#082b5e;
  }
  #informationView[data-page-type="how"] .public-page-head p{font-size:16px;line-height:1.45;max-width:650px;color:#52647f;}
  #informationView[data-page-type="how"] .how-process-grid{
    position:relative;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));
    grid-template-rows:minmax(172px,auto) minmax(150px,auto);gap:20px;align-content:start;min-width:0;
  }
  #informationView[data-page-type="how"] .how-journey-art{
    display:block;position:absolute;right:24px;top:-148px;width:420px;height:142px;pointer-events:none;
  }
  #informationView[data-page-type="how"] .how-target{
    position:absolute;left:14px;top:8px;width:116px;height:116px;border-radius:50%;display:grid;place-items:center;
    filter:drop-shadow(0 15px 25px rgba(35,96,183,.15));
  }
  #informationView[data-page-type="how"] .how-target i{position:absolute;border-radius:50%;border:13px solid rgba(66,126,222,.17);}
  #informationView[data-page-type="how"] .how-target i:nth-child(1){inset:0;}
  #informationView[data-page-type="how"] .how-target i:nth-child(2){inset:26px;border-width:10px;border-color:rgba(80,139,230,.31);}
  #informationView[data-page-type="how"] .how-target i:nth-child(3){inset:50px;border-width:7px;border-color:rgba(95,151,236,.58);}
  #informationView[data-page-type="how"] .how-target b{position:absolute;width:92px;height:5px;background:#f15f0a;right:-38px;top:46px;transform:rotate(-35deg);border-radius:99px;}
  #informationView[data-page-type="how"] .how-target b::after{content:"";position:absolute;right:-8px;top:-7px;width:20px;height:20px;background:#f15f0a;clip-path:polygon(0 50%,100% 0,78% 50%,100% 100%);}
  #informationView[data-page-type="how"] .how-path{position:absolute;left:145px;top:90px;width:174px;height:36px;border-top:3px dashed #8eb8ff;border-radius:50%;transform:rotate(4deg);}
  #informationView[data-page-type="how"] .how-path::after{content:"➜";position:absolute;right:-9px;top:-20px;color:#6ea4ff;font-size:28px;transform:rotate(-8deg);}
  #informationView[data-page-type="how"] .how-flag{position:absolute;right:6px;top:3px;width:76px;height:116px;}
  #informationView[data-page-type="how"] .how-flag span{position:absolute;left:18px;top:0;width:5px;height:98px;background:#f15f0a;border-radius:99px;}
  #informationView[data-page-type="how"] .how-flag span::before{content:"";position:absolute;left:4px;top:5px;width:46px;height:31px;background:#f15f0a;clip-path:polygon(0 0,100% 12%,76% 50%,100% 88%,0 100%);}
  #informationView[data-page-type="how"] .how-step-card{
    position:relative;grid-column:span 3;display:block;min-width:0;min-height:172px;padding:22px 20px 20px;
    border-radius:22px;background:rgba(255,255,255,.97);border:1px solid #dce5ef;
    box-shadow:0 15px 38px rgba(7,28,63,.065);overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
  }
  #informationView[data-page-type="how"] .how-step-card:nth-of-type(n/**/+5){grid-column:span 4;min-height:150px;padding:20px 22px 18px;}
  #informationView[data-page-type="how"] .how-step-card:hover{transform:translateY(-2px);border-color:#bfd1e7;box-shadow:0 21px 44px rgba(7,28,63,.095);}
  #informationView[data-page-type="how"] .how-step-main{display:grid;grid-template-columns:84px minmax(0,1fr);gap:16px;align-items:start;min-width:0;}
  #informationView[data-page-type="how"] .how-step-card:nth-of-type(n/**/+5) .how-step-main{grid-template-columns:78px minmax(0,1fr);gap:16px;}
  #informationView[data-page-type="how"] .how-step-icon{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;background:#edf4ff;color:#123d79;}
  #informationView[data-page-type="how"] .how-step-card:nth-of-type(n/**/+5) .how-step-icon{width:70px;height:70px;}
  #informationView[data-page-type="how"] .how-step-icon svg{width:47px;height:47px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
  #informationView[data-page-type="how"] .how-step-icon svg .accent{stroke:#f15f0a;}
  #informationView[data-page-type="how"] .how-tone-2{background:#fff0e6;}#informationView[data-page-type="how"] .how-tone-4{background:#edf8e8;}#informationView[data-page-type="how"] .how-tone-5{background:#f2efff;}#informationView[data-page-type="how"] .how-tone-6{background:#fff6d9;}#informationView[data-page-type="how"] .how-tone-7{background:#e8fbf3;}
  #informationView[data-page-type="how"] .how-step-number{
    position:absolute;left:117px;top:22px;width:44px;height:34px;border-radius:9px;background:#edf4ff;color:#1853a6;
    display:grid;place-items:center;font:900 14px/1 Montserrat,Manrope,sans-serif;border:1px solid #d8e7fb;
  }
  #informationView[data-page-type="how"] .how-step-card:nth-of-type(n/**/+5) .how-step-number{left:112px;top:20px;}
  #informationView[data-page-type="how"] .how-step-copy{min-width:0;padding-top:42px;}
  #informationView[data-page-type="how"] .how-step-card:nth-of-type(n/**/+5) .how-step-copy{padding-top:38px;}
  #informationView[data-page-type="how"] .how-step-copy h3{
    margin:0;color:#082b5e;font:800 19px/1.12 Manrope,Arial,sans-serif;letter-spacing:-.025em;white-space:normal;
  }
  #informationView[data-page-type="how"] .how-step-copy i{display:block;width:38px;height:3px;border-radius:99px;background:#f15f0a;margin:13px 0 11px;}
  #informationView[data-page-type="how"] .how-step-copy p{margin:0;color:#52647f;font-size:13px;line-height:1.48;}
  #informationView[data-page-type="how"] .how-step-chevron{display:block;position:absolute;right:16px;bottom:9px;color:#c4cfdd;font:300 38px/1 Arial,sans-serif;}
  #informationView[data-page-type="how"] .public-view-footer{
    width:100%;height:50px;min-height:50px;margin:0;padding:0 28px;border-radius:18px 18px 0 0;align-self:end;
  }

  @media (min-width:901px) and (max-height:760px){
    #informationView[data-page-type="how"]{padding-top:15px;}
    #informationView[data-page-type="how"] .public-page-shell{height:100%;min-height:0;padding-bottom:0;}
    #informationView[data-page-type="how"] .public-page-head{min-height:102px;margin-bottom:12px;padding-right:400px;}
    #informationView[data-page-type="how"] .public-page-icon{width:64px;height:64px;flex-basis:64px;border-radius:20px;}
    #informationView[data-page-type="how"] .public-page-icon svg{width:36px;height:36px;}
    #informationView[data-page-type="how"] .public-page-kicker{font-size:10px;}
    #informationView[data-page-type="how"] .public-page-head h2{font-size:46px;margin:5px 0 5px;}
    #informationView[data-page-type="how"] .public-page-head p{font-size:13px;}
    #informationView[data-page-type="how"] .how-journey-art{top:-126px;width:370px;height:126px;}
    #informationView[data-page-type="how"] .how-target{width:94px;height:94px;}
    #informationView[data-page-type="how"] .how-target i:nth-child(2){inset:21px;}#informationView[data-page-type="how"] .how-target i:nth-child(3){inset:41px;}
    #informationView[data-page-type="how"] .how-target b{width:78px;right:-31px;top:37px;}
    #informationView[data-page-type="how"] .how-path{left:122px;top:75px;width:154px;}
    #informationView[data-page-type="how"] .how-flag{height:100px;}
    
    #informationView[data-page-type="how"] .how-step-card{min-height:154px;padding:17px 17px 15px;}
    #informationView[data-page-type="how"] .how-step-card:nth-of-type(n/**/+5){min-height:132px;padding:16px 18px 14px;}
    #informationView[data-page-type="how"] .how-step-main{grid-template-columns:70px minmax(0,1fr);gap:13px;}
    #informationView[data-page-type="how"] .how-step-card:nth-of-type(n/**/+5) .how-step-main{grid-template-columns:64px minmax(0,1fr);gap:13px;}
    #informationView[data-page-type="how"] .how-step-icon{width:62px;height:62px;}#informationView[data-page-type="how"] .how-step-card:nth-of-type(n/**/+5) .how-step-icon{width:58px;height:58px;}
    #informationView[data-page-type="how"] .how-step-icon svg{width:38px;height:38px;}
    #informationView[data-page-type="how"] .how-step-number{left:96px;top:17px;width:39px;height:30px;font-size:12px;}
    #informationView[data-page-type="how"] .how-step-card:nth-of-type(n/**/+5) .how-step-number{left:94px;top:16px;}
    #informationView[data-page-type="how"] .how-step-copy{padding-top:35px;}#informationView[data-page-type="how"] .how-step-card:nth-of-type(n/**/+5) .how-step-copy{padding-top:32px;}
    #informationView[data-page-type="how"] .how-step-copy h3{font-size:16px;}
    #informationView[data-page-type="how"] .how-step-copy i{margin:9px 0 8px;width:30px;}
    #informationView[data-page-type="how"] .how-step-copy p{font-size:11px;line-height:1.42;}
    #informationView[data-page-type="how"] .how-step-chevron{font-size:32px;bottom:7px;}
    #informationView[data-page-type="how"] .public-view-footer{height:50px;min-height:50px;margin-top:0;font-size:12px;}
  }

/* DESKTOP-PUBLIC-SPACING-V24 — desktop-only header asset and footer separation.
   LOCK: no selector in this block applies at 900px or below. */
@media (min-width:901px){
  .public-header-brand img{
    
    
    
    
    display:block;
  }
  .public-page-shell{
    padding-bottom:28px;
  }
  .public-page-content + .public-view-footer{
    margin-top:28px;
    flex:0 0 auto;
  }
  .public-view-footer{
    min-height:68px;
  }
}


/* DESKTOP-PUBLIC-CONTROLS-V25 — desktop-only single-scroll and premium header controls.
   LOCK: no selector in this block applies at 900px or below. */
@media (min-width:901px){
  /* The integrated page owns scrolling; lock the background document to remove double scrollbars. */
  html:has(.public-integrated-page:not([hidden])),
  body:has(.public-integrated-page:not([hidden])){
    height:100%;
    overflow:hidden;
    overscroll-behavior:none;
  }
  .public-landing:has(.public-integrated-page:not([hidden])){
    height:100vh;
    min-height:100vh;
    overflow:hidden;
  }
  .public-integrated-page{
    overflow-y:auto;
    overflow-x:hidden;
    scrollbar-gutter:stable;
    overscroll-behavior:contain;
  }

  /* Ship and display one verified official logo asset on desktop. */
  .public-header-brand{
    min-width:190px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
  }
  .public-header-brand img{
    
    
    object-fit:contain;
    object-position:left center;
  }

  /* Premium navigation typography without reducing clarity. */
  .public-header-nav button{
    position:relative;
    letter-spacing:.005em;
    text-shadow:0 1px 0 rgba(255,255,255,.8),0 3px 10px rgba(8,35,74,.10);
    transition:background .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;
  }
  .public-header-nav button:hover,
  .public-header-nav button[aria-current="page"]{
    transform:translateY(-1px);
    box-shadow:0 8px 18px rgba(36,104,201,.10),inset 0 0 0 1px rgba(36,104,201,.08);
  }

  /* Language and theme controls: optically centered, premium and consistent. */
  #welcomeLanguageButton,
  .public-theme-toggle{
    min-width:58px;
    height:48px;
    border-radius:15px;
    border:1px solid #ccd9e9;
    background:linear-gradient(180deg,#fff 0%,#f7faff 100%);
    color:#08234a;
    box-shadow:0 10px 24px rgba(8,35,74,.08),inset 0 1px 0 rgba(255,255,255,.95);
    transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
  }
  #welcomeLanguageButton{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    padding:0 13px;
    line-height:1;
    text-align:center;
  }
  #welcomeLanguageCode{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:22px;
    line-height:1;
    text-align:center;
  }
  #welcomeLanguageCaret{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:12px;
    line-height:1;
    transform:translateY(-1px);
  }
  .public-theme-toggle{
    width:48px;
    min-width:48px;
    display:grid;
    place-items:center;
    font-size:18px;
  }
  #welcomeLanguageButton:hover,
  .public-theme-toggle:hover{
    transform:translateY(-1px);
    border-color:#9fbae0;
    box-shadow:0 14px 30px rgba(8,35,74,.12),0 0 0 4px rgba(36,104,201,.06);
  }
  html[data-theme="dark"] #welcomeLanguageButton,
  html[data-theme="dark"] .public-theme-toggle{
    background:linear-gradient(180deg,#10294f 0%,#0b1f40 100%);
    border-color:#365a84;
    color:#f7f9ff;
    box-shadow:0 10px 24px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.06);
  }
}


/* V26 DESKTOP LOGO INLINE HARD RESET — desktop only */
@media (min-width:901px){
  .public-header-brand img,
  .email-minimal-logo{
    display:block;
    object-fit:contain;
    opacity:1;
    visibility:visible;
    filter:none;
  }
  .public-header-brand{overflow:visible;}
  .public-header-brand img{width:100%;max-width:210px;height:auto;max-height:58px;}
  
}




/* PROFILE-DESKTOP-INTERACTION-V28 — desktop-only profile interaction and inline logo hard reset.
   LOCK: no selector in this block applies at 900px or below. */
@media (min-width:901px){
  /* Pure inline SVG wordmark: no external image request, cache or path dependency. */
  .gmc-inline-wordmark{display:inline-flex;align-items:center;justify-content:flex-start;line-height:0;max-width:100%;color:#08234a;overflow:visible;}
  .gmc-inline-wordmark svg{display:block;width:100%;height:auto;max-height:100%;overflow:visible;pointer-events:none;}
  .public-header-brand .public-header-logo{width:188px;height:56px;}
  .app-brand .app-brand-logo{width:48px;height:42px;}
  
  html[data-theme="dark"] .gmc-inline-wordmark svg text:last-child{fill:#dbe8fb;}

  /* Desktop profile uses one real, interactive form instead of CSS-visible hidden panels. */
  
  
  
  
  

  /* Bound the security note icon; the legacy unbounded SVG created the giant shield overlay. */
  
  
  
  
  
  

  /* Visible desktop actions inside the card. */
  
  
  
  
  
  
  
  
}


/* V29 DESKTOP ONLY — selection ID, correction dialogs and qualified actions */
@media (min-width:901px){
  
  
  
  
  #screen-id .selection-id-photo-frame,#screen-id .selection-id-qr-frame{margin:auto;}
  
  #screen-id .selection-id-media-title{margin-top:18px;color:#fff;text-align:center;opacity:.9;}
  
  
      #screen-id .selection-id-footer{margin-top:18px;}
  
  
  #screen-id .action-continue-device{box-shadow:0 14px 30px rgba(244,117,18,.22);}
  
  .profile-edit-head{display:grid;gap:18px;}
  
  
  .identity-correction-request{margin-top:22px;border:1px solid #dce6f2;background:#f8fbff;}
  .qualified-popup-downloads .popup-action:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(6,29,65,.12);}
  [data-gmc-action][aria-busy="true"]{opacity:.7;pointer-events:none;}
}


/* V30 DESKTOP ONLY — official logo, Selection ID and Device Check hard reset */
.gmc-inline-wordmark{max-width:100%;}
.gmc-inline-wordmark>img{max-width:100%;}
@media (min-width:901px){
  .email-minimal-logo{width:250px;height:88px;margin:0 0 24px;overflow:visible;}
  .email-minimal-logo>img{width:250px;height:88px;object-fit:contain;object-position:left center;}

  
  #screen-id .selection-id-media{overflow:hidden;}
  
  
  #screen-id .selection-id-photo-frame{padding:8px;overflow:hidden;border-radius:22px;}
  #screen-id .selection-id-photo-frame img{display:block;max-width:100%;max-height:100%;}
  #screen-id .selection-id-qr-frame{padding:10px 10px 0;overflow:hidden;border-radius:19px;}
  #screen-id .selection-id-qr-frame img{max-width:100%;max-height:100%;}
  #screen-id .selection-id-qr-label{position:static;transform:none;width:100%;margin:0;display:grid;place-items:center;white-space:nowrap;border-radius:0 0 10px 10px;padding:6px 4px;}
    #screen-id .selection-id-verified{right:-5px;bottom:-5px;}
  
    
  #screen-id .selection-id-actions{position:relative;z-index:10;}
  #screen-id .selection-id-actions button{pointer-events:auto;cursor:pointer;}

  .profile-edit-dialog,.photo-change-dialog{padding:34px;align-items:center;justify-content:center;}
  .profile-edit-card{width:min(1040px,calc(100vw - 96px));max-height:calc(100vh - 68px);border-radius:28px;overflow:auto;box-shadow:0 35px 110px rgba(3,16,38,.35);}
  .profile-edit-head{position:sticky;top:0;z-index:5;grid-template-columns:150px minmax(0,1fr);background:rgba(255,255,255,.97);backdrop-filter:blur(18px);border-bottom:1px solid #e2e8f1;padding:26px 34px;}
  .profile-edit-head h2{font-size:32px;line-height:1.05;margin:0;}
  .profile-edit-head p{grid-column:2;margin:6px 0 0;max-width:680px;}
  .profile-edit-body{padding:26px 34px 32px;}
  .profile-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;}
  .profile-edit-field.full{grid-column:1/-1;}
  .profile-edit-field input,.profile-edit-field select{min-height:56px;border-radius:14px;background:#fbfdff;}
  .identity-correction-request{grid-column:1/-1;padding:24px;border-radius:20px;}


  
  
  
  
  
  
  
  
  
  
  
  
  
}


/* V31 ROUTER-DOWNLOAD-MODAL-HARD-RESET
   Structural routing guard + desktop action repair + mobile logo restoration. */
main.main > section.screen:not(.active),
main.main > section.screen[hidden]{display:none!important;}
main.main > section.screen.active:not([hidden]){visibility:visible;pointer-events:auto;}

/* Official embedded logo must remain visible at every breakpoint. */
.gmc-inline-wordmark{display:inline-flex;align-items:center;justify-content:flex-start;line-height:0;overflow:visible;}
.gmc-inline-wordmark>img{display:block;visibility:visible;opacity:1;width:100%;height:100%;object-fit:contain;object-position:left center;}
.app-brand .app-brand-logo{width:78px;height:42px;min-width:78px;}
.public-header-brand .public-header-logo{width:188px;height:56px;}
.email-minimal-logo{width:250px;height:88px;}


@media (min-width:901px){
  
  
  
  

  .profile-edit-modal.open{display:grid;}
  .profile-edit-card{isolation:isolate;}
  .profile-edit-close{position:absolute;top:16px;right:16px;z-index:20;}
  .profile-edit-actions{position:sticky;bottom:0;z-index:8;background:rgba(255,255,255,.98);backdrop-filter:blur(12px);}
  .profile-edit-lock-note{font-size:15px;line-height:1.55;}
  .profile-edit-step{display:inline-flex;align-items:center;width:max-content;border-radius:999px;padding:7px 11px;background:#fff1e6;color:#e96317;font-size:11px;font-weight:900;letter-spacing:.08em;}
  #photoChangeInput{width:100%;min-height:44px;padding:8px;border:1px solid #d8e3f0;border-radius:12px;background:#fff;}
}

/* V95 ADMIN-VERIFICATION-POPUPS — authoritative root design for the two Admin verification dialogs.
   This replaces the superseded desktop photo-update styling; no external overlay stylesheet is used. */
.photo-change-modal{background:rgba(4,18,43,.76);backdrop-filter:blur(14px);}
.photo-change-modal .photo-change-card{isolation:isolate;overflow:hidden;background:#fff;color:#082653;border:1px solid rgba(220,229,240,.96);box-shadow:0 34px 110px rgba(0,18,48,.38);}
.photo-change-modal .photo-change-close{position:absolute;z-index:20;display:grid;place-items:center;border:1px solid #dce5f0;background:#fff;color:#071f46;font-weight:700;cursor:pointer;box-shadow:0 8px 22px rgba(9,31,67,.08);}
.photo-change-modal .photo-change-head{display:grid;align-items:center;background:#fff;border-bottom:1px solid #e5ebf3;}
.photo-change-modal .photo-change-step{display:inline-flex;align-items:center;gap:7px;width:max-content;border-radius:999px;background:#fff3eb;color:#f26c14;font-weight:900;letter-spacing:.045em;}
.photo-change-modal .photo-change-step svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.photo-change-modal .photo-change-identity-icon{display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#fff4ea,#fff);box-shadow:0 12px 28px rgba(246,109,20,.11);}
.photo-change-modal .photo-change-identity-icon svg{width:100%;height:100%;fill:none;stroke:#f36d15;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
.photo-change-modal .photo-change-identity-icon svg .accent{stroke:#ff7a00;}
.photo-change-modal .photo-change-title-copy h2{margin:0;color:#092653;font-family:Montserrat,Manrope,sans-serif;font-weight:800;letter-spacing:-.035em;}
.photo-change-modal .photo-change-title-copy p{margin:5px 0 0;color:#536b8f;}
.photo-change-modal .photo-change-body{display:grid;background:#fff;}
.photo-change-modal .photo-current-panel{display:grid;align-content:start;text-align:center;min-width:0;}
.photo-change-modal .photo-current-panel h3{margin:0;color:#0a2753;font-weight:800;}
.photo-change-modal .photo-change-photo-ring{overflow:hidden;border:1px solid #dce5f1;background:#fbfdff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.9);}
.photo-change-modal .photo-change-photo-ring img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 20%;background:#f4f8fc;}
.photo-change-modal .photo-current-status{display:flex;align-items:center;justify-content:center;gap:7px;color:#657d9f;}
.photo-change-modal .photo-current-status span{display:grid;place-items:center;border-radius:50%;background:#2565cf;color:#fff;font-weight:900;}
.photo-change-modal .photo-current-note{display:grid;grid-template-columns:auto 1fr;align-items:start;text-align:left;background:linear-gradient(120deg,#fff5ec,#fffaf7);color:#536b8f;}
.photo-change-modal .photo-current-note>span{display:grid;place-items:center;border-radius:50%;background:#ff7a00;color:#fff;font-weight:900;}
.photo-change-modal .photo-current-note p{margin:0;}
.photo-change-modal .photo-change-divider{width:1px;background:#dfe7f1;align-self:stretch;}
.photo-change-modal .photo-change-controls{display:grid;align-content:start;min-width:0;}
.photo-change-modal .photo-change-upload{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;border:1.5px dashed #4c82df;background:linear-gradient(120deg,#fbfdff,#f8faff);cursor:pointer;}
.photo-change-modal .photo-change-upload-icon{display:grid;place-items:center;}
.photo-change-modal .photo-change-upload-icon svg{width:100%;height:100%;fill:none;stroke:#0d3d83;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
.photo-change-modal .photo-change-upload-icon svg .accent{stroke:#ff7a00;}
.photo-change-modal .photo-change-upload strong{display:block;color:#092653;}
.photo-change-modal .photo-change-upload small{display:block;margin-top:3px;color:#647b9a;}
.photo-change-modal #photoChangeInput{width:100%;border:1px solid #dce5f1;background:#fff;color:#617795;}
.photo-change-modal #photoChangeInput::file-selector-button{border:1px solid #ced9e8;background:#fff;color:#17365e;font-weight:700;cursor:pointer;}
.photo-change-modal .photo-change-guidelines{display:grid;}
.photo-change-modal .photo-change-guidelines h3{display:flex;align-items:center;gap:8px;margin:0;color:#15355f;font-weight:800;}
.photo-change-modal .photo-change-guidelines h3 svg{width:18px;height:18px;fill:none;stroke:#15355f;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.photo-change-modal .photo-guideline-grid{display:grid;}
.photo-change-modal .photo-guideline-item{display:grid;grid-template-columns:auto 1fr;align-items:center;background:linear-gradient(120deg,#f5f6ff,#fafaff);color:#435a7e;}
.photo-change-modal .photo-guideline-icon{display:grid;place-items:center;background:linear-gradient(145deg,#071b5a,#1e2f91);color:#fff;}
.photo-change-modal .photo-guideline-icon svg{width:70%;height:70%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.photo-change-modal .photo-guideline-icon svg .accent{stroke:#ff7a00;}
.photo-change-modal .photo-change-error{color:#c53f34;min-height:1em;font-weight:700;}
.photo-change-modal .photo-change-actions{display:flex;justify-content:flex-end;align-items:center;border-top:0;background:#fff;}
.photo-change-modal .photo-change-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:800;}
.photo-change-modal .photo-change-actions .btn-secondary{background:#fff;border:1px solid #cbd7e7;color:#16345e;}
.photo-change-modal .photo-change-actions .btn-primary{background:linear-gradient(135deg,#ff6b00,#ff861c);border-color:#ff7310;color:#fff;box-shadow:0 12px 24px rgba(255,112,12,.2);}
.photo-change-modal .photo-change-actions .btn-primary:disabled{opacity:.55;box-shadow:none;}
.photo-change-modal .photo-change-security-note{display:none;color:#627795;text-align:center;}

.administrative-review-popup-theme.app-dialog{background:rgba(4,18,43,.76);backdrop-filter:blur(14px);}
.administrative-review-popup-theme .app-dialog-card{overflow:hidden;background:#fff;color:#092653;border:1px solid rgba(220,229,240,.96);box-shadow:0 34px 110px rgba(0,18,48,.38);}
.administrative-review-popup-theme .app-dialog-header{position:relative;display:grid;align-items:center;background:#fff;border-bottom:1px solid #e3eaf3;}
.administrative-review-popup-theme .app-dialog-icon{display:grid;place-items:center;background:linear-gradient(145deg,#fff4ea,#fff);color:#ff6c0d;border-radius:50%;box-shadow:0 12px 28px rgba(246,109,20,.12);}
.administrative-review-popup-theme .app-dialog-icon svg{width:80%;height:80%;fill:none;stroke:#ff6c0d;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
.administrative-review-popup-theme .app-dialog-icon svg .accent{stroke:#ff7a00;}
.administrative-review-popup-theme .app-dialog-header h2{margin:0;color:#092653;font-family:Montserrat,Manrope,sans-serif;font-weight:800;letter-spacing:-.035em;}
.administrative-review-popup-theme .app-dialog-header p{margin:5px 0 0;color:#536b8f;}
.administrative-review-popup-theme .app-dialog-close{position:absolute;display:grid;place-items:center;border:1px solid #dce5f0;background:#fff;color:#071f46;font-weight:700;cursor:pointer;box-shadow:0 8px 22px rgba(9,31,67,.08);}
.administrative-review-popup-theme .app-dialog-body{background:#fff;}
.administrative-review-popup{display:grid;}
.administrative-review-saved{display:flex;align-items:center;background:linear-gradient(120deg,#eef6ff,#f5f9ff);color:#183b69;}
.administrative-review-saved>span{color:#1478d4;font-weight:900;}
.administrative-review-contact{display:grid;align-items:start;}
.administrative-review-headset{display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#f3f7ff,#fff);}
.administrative-review-headset svg{width:72%;height:72%;fill:none;stroke:#0a2f6d;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
.administrative-review-headset svg .accent{stroke:#ff7a00;}
.administrative-review-copy h3{margin:0;color:#071f46;font-weight:800;}
.administrative-review-copy>p{margin:8px 0 0;color:#334f77;line-height:1.62;}
.administrative-review-note{display:grid;grid-template-columns:auto 1fr;align-items:start;background:linear-gradient(120deg,#fff5ec,#fffaf7);color:#3e587d;}
.administrative-review-note>span{display:grid;place-items:center;border-radius:50%;background:#ff7a00;color:#fff;font-weight:900;}
.administrative-review-note small{font-size:inherit;line-height:1.5;}
.administrative-review-actions{display:flex;justify-content:flex-end;align-items:center;}
.administrative-review-actions button{display:inline-flex;align-items:center;justify-content:center;font-weight:800;cursor:pointer;}
.administrative-review-actions .attempts-close-btn{border:1px solid #cad6e5;background:#fff;color:#16345e;}
.administrative-review-actions .attempts-support-btn{border:1px solid #083781;background:linear-gradient(135deg,#0b469d,#062d72);color:#fff;box-shadow:0 12px 24px rgba(7,52,124,.18);}
.administrative-review-actions .attempts-support-btn>span{color:#ff7a00;}

@media (min-width:901px){
  .photo-change-modal{padding:24px;}
  .photo-change-modal .photo-change-card{width:min(1040px,calc(100vw - 72px));max-height:calc(100vh - 48px);border-radius:26px;}
  .photo-change-modal .photo-change-close{top:18px;right:20px;width:38px;height:38px;border-radius:50%;font-size:22px;}
  .photo-change-modal .photo-change-head{grid-template-columns:150px 104px minmax(0,1fr);gap:20px;padding:24px 34px 20px;}
  .photo-change-modal .photo-change-step{align-self:start;margin-top:4px;padding:7px 12px;font-size:11px;}
  .photo-change-modal .photo-change-step svg{width:16px;height:16px;}
  .photo-change-modal .photo-change-identity-icon{width:86px;height:86px;}
  .photo-change-modal .photo-change-title-copy h2{font-size:30px;line-height:1.08;}
  .photo-change-modal .photo-change-title-copy p{font-size:13px;}
  .photo-change-modal .photo-change-body{grid-template-columns:280px 1px minmax(0,1fr);gap:24px;padding:26px 36px 16px;}
  .photo-change-modal .photo-current-panel{justify-items:center;}
  .photo-change-modal .photo-current-panel h3{font-size:14px;margin-bottom:13px;}
  .photo-change-modal .photo-change-photo-ring{width:214px;height:214px;border-radius:14px;}
  .photo-change-modal .photo-current-status{margin-top:12px;font-size:11px;}
  .photo-change-modal .photo-current-status span{width:18px;height:18px;font-size:11px;}
  .photo-change-modal .photo-current-note{grid-template-columns:22px 1fr;gap:10px;margin-top:18px;padding:13px 14px;border-radius:11px;font-size:11px;line-height:1.45;width:100%;}
  .photo-change-modal .photo-current-note>span{width:19px;height:19px;font-size:11px;}
  .photo-change-modal .photo-change-controls{gap:13px;}
  .photo-change-modal .photo-change-upload{grid-template-columns:72px minmax(0,1fr);gap:14px;min-height:86px;border-radius:12px;padding:12px 16px;}
  .photo-change-modal .photo-change-upload-icon{width:62px;height:54px;}
  .photo-change-modal .photo-change-upload strong{font-size:14px;}
  .photo-change-modal .photo-change-upload small{font-size:11px;}
  .photo-change-modal #photoChangeInput{min-height:38px;border-radius:8px;padding:3px;font-size:11px;}
  .photo-change-modal #photoChangeInput::file-selector-button{margin-right:10px;border-radius:6px;padding:7px 11px;}
  .photo-change-modal .photo-change-guidelines{gap:9px;}
  .photo-change-modal .photo-change-guidelines h3{font-size:13px;}
  .photo-change-modal .photo-guideline-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .photo-change-modal .photo-guideline-item{grid-template-columns:38px 1fr;gap:9px;min-height:52px;border-radius:9px;padding:5px 9px;font-size:10px;line-height:1.32;}
  .photo-change-modal .photo-guideline-icon{width:32px;height:32px;border-radius:7px;}
  .photo-change-modal .photo-change-error{font-size:11px;}
  .photo-change-modal .photo-change-actions{gap:12px;padding:4px 36px 18px;}
  .photo-change-modal .photo-change-actions .btn{min-height:42px;border-radius:8px;padding:0 20px;font-size:12px;}
  .photo-change-modal .photo-change-actions .btn-primary{min-width:238px;}

  .administrative-review-popup-theme{padding:24px;}
  .administrative-review-popup-theme .app-dialog-card{width:min(940px,calc(100vw - 72px));max-height:calc(100vh - 48px);border-radius:26px;}
  .administrative-review-popup-theme .app-dialog-header{grid-template-columns:128px minmax(0,1fr);gap:24px;padding:28px 38px 26px;}
  .administrative-review-popup-theme .app-dialog-icon{width:94px;height:94px;}
  .administrative-review-popup-theme .app-dialog-header h2{font-size:31px;line-height:1.1;}
  .administrative-review-popup-theme .app-dialog-header p{font-size:14px;}
  .administrative-review-popup-theme .app-dialog-close{top:20px;right:22px;width:42px;height:42px;border-radius:50%;font-size:23px;}
  .administrative-review-popup-theme .app-dialog-body{padding:26px 38px 34px;}
  .administrative-review-popup{gap:26px;}
  .administrative-review-saved{gap:13px;min-height:66px;border-radius:10px;padding:14px 20px;font-size:14px;}
  .administrative-review-saved>span{font-size:20px;}
  .administrative-review-contact{grid-template-columns:124px minmax(0,1fr);gap:24px;}
  .administrative-review-headset{width:104px;height:104px;margin:4px auto 0;}
  .administrative-review-copy h3{font-size:20px;line-height:1.25;}
  .administrative-review-copy>p{font-size:15px;}
  .administrative-review-note{grid-template-columns:23px 1fr;gap:12px;margin-top:22px;padding:16px 18px;border-radius:11px;font-size:13px;}
  .administrative-review-note>span{width:21px;height:21px;font-size:12px;}
  .administrative-review-actions{gap:14px;margin-top:0;}
  .administrative-review-actions button{min-height:50px;border-radius:9px;padding:0 22px;font-size:14px;}
  .administrative-review-actions .attempts-support-btn{min-width:330px;}
}



/* V35 DESKTOP FLOW RESTORE — unified profile and complete 6+6 official rules.
   LOCK: no selector in this block applies at 900px or below. */
@media (min-width:901px){
  /* One cohesive desktop profile form; mobile pagination labels remain untouched below 901px. */
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  /* Desktop rules show all six rules per tab. Mobile keeps two-page pagination. */
  #screen-rules.rules-root-final{width:min(1160px,calc(100vw - 72px));margin:0 auto;padding:54px 0 126px;min-height:auto;height:auto;overflow:visible;}
  
  #screen-rules .rules-head h2{line-height:1.02;}
  #screen-rules .rules-tabs{position:static;border-radius:18px;backdrop-filter:blur(12px);}
  
  #screen-rules .rules-board{max-height:none;}
  
  #screen-rules.rules-desktop-unified .rules-pane:not([hidden]){display:block;height:auto;min-height:0;}
  #screen-rules .rules-pane[data-rules-mode="format"],#screen-rules .rules-pane[data-rules-mode="fair"]{margin:0;}
    
  #screen-rules .rules-pane + .rules-pane:not([hidden]){margin-top:16px;}
  
  
  #screen-rules .rules-copy strong{line-height:1.25;}
  #screen-rules .rules-copy small{margin-top:8px;}
  #screen-rules #rule-fair-panel-2 .rules-consent-card{margin-top:18px;min-height:78px;}
  #screen-rules .rules-desktop-actions{margin-top:20px;border-radius:20px;}
  #screen-rules .rules-desktop-actions button{border-radius:15px;padding:0 22px;font:800 14px/1 Manrope,Arial,sans-serif;cursor:pointer;}
  
  #screen-rules .rules-desktop-next{box-shadow:0 14px 30px rgba(237,106,28,.27);}
  #screen-rules .rules-desktop-next:disabled{opacity:.5;cursor:not-allowed;box-shadow:none;}
  #screen-rules .rules-desktop-progress{align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:12px;text-align:center;}
  #screen-rules .rules-desktop-progress-dot{width:9px;height:9px;border-radius:999px;background:#d7e1ee;}
  #screen-rules .rules-desktop-progress-dot.is-active{width:24px;background:var(--orange-500);}
  #screen-rules .rules-desktop-progress strong{margin-left:5px;color:var(--navy-900);}
}


.secure-stage-footer-desktop{display:none;}
/* V36 DESKTOP MEMORY / RECALL / RESULT / RULES — authoritative desktop-only cascade.
   LOCK: all mobile rules at 900px and below remain unchanged. */
@media (min-width:901px){
  /* Secure test owns exactly one viewport; no document or nested vertical scrollbar. */
  html.test-mode,body.test-mode{height:100%;overflow:hidden;overscroll-behavior:none;}
  body.test-mode .app,body.test-mode .main{height:100dvh;min-height:100dvh;overflow:hidden;}
  body.test-mode #screen-memorize.active,body.test-mode #screen-recall.active{
    position:fixed;inset:0;display:block;height:100dvh;min-height:100dvh;
    padding:0;overflow:hidden;background:linear-gradient(145deg,#06142d,#0b2b58)
  ;}
  body.test-mode #screen-memorize .test-shell,body.test-mode #screen-recall .test-shell{
    width:100%;max-width:none;height:100dvh;max-height:100dvh;margin:0;
    padding:14px 18px 0;box-sizing:border-box;overflow:hidden;
    grid-template-rows:58px 66px minmax(0,1fr) 86px 38px;gap:8px
  ;}
  body.test-mode .stage-topbar{padding:0;min-height:0;}
  
  body.test-mode .stage-clock,body.test-mode .stage-attempt-box{min-height:56px;padding:7px 14px;border-radius:16px;}
  body.test-mode .stage-clock strong{font-size:30px;}
  
  body.test-mode .stage-info{border-radius:18px;}
  body.test-mode .stage-info-line{font-size:15px;line-height:1.35;}
  body.test-mode .stage-security{font-size:10px;gap:12px;white-space:nowrap;}
  body.test-mode .words-card{padding:12px;overflow:hidden;border-radius:20px;}

  /* All 60 memorization words appear simultaneously: three rows × two columns × ten lines. */
  #screen-memorize .memory-desktop-rows{height:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;overflow:hidden;}
  #screen-memorize .memory-row{height:100%;min-height:0;padding:9px 11px;border-radius:15px;display:grid;grid-template-rows:28px minmax(0,1fr);overflow:hidden;box-shadow:none;}
  #screen-memorize .memory-row header{margin:0 0 5px;padding-bottom:5px;border-bottom:1px solid #e7edf5;text-align:left;}
  #screen-memorize .memory-row header strong{font-size:13px;color:#0b2e61;}
  #screen-memorize .memory-row-body{height:100%;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 9px;overflow:hidden;}
  #screen-memorize .memory-row-body>div{min-height:0;display:grid;grid-template-rows:repeat(10,minmax(0,1fr));overflow:hidden;}
  #screen-memorize .memory-word{min-height:0;height:auto;padding:2px 4px;grid-template-columns:24px minmax(0,1fr);gap:4px;border-radius:0;font-size:13px;line-height:1.05;overflow:hidden;}
  #screen-memorize .memory-word .idx{font-size:11px;}
  #screen-memorize .memory-word .word-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

  /* All 60 recall fields appear simultaneously with no row tabs and no nested scroll. */
  #screen-recall .recall-grid{height:100%;min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;overflow:hidden;}
  #screen-recall .recall-row{height:100%;min-height:0;padding:9px 10px;border-radius:15px;display:grid;grid-template-rows:28px minmax(0,1fr);overflow:hidden;}
  #screen-recall .recall-row header{margin:0 0 5px;padding-bottom:5px;border-bottom:1px solid #e7edf5;text-align:left;}
  #screen-recall .recall-row header strong{font-size:13px;color:#0b2e61;}
  #screen-recall .recall-row-body{height:100%;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 7px;overflow:hidden;}
  #screen-recall .recall-row-body>div{min-height:0;display:grid;grid-template-rows:repeat(10,minmax(0,1fr));gap:3px;overflow:hidden;}
  #screen-recall .recall-item{min-height:0;grid-template-columns:34px minmax(0,1fr);gap:5px;}
  #screen-recall .recall-item .idx{min-height:0;border-radius:8px;font-size:11px;}
  #screen-recall .recall-answer{min-height:0;height:100%;padding:5px 8px;border-radius:9px;font-size:12px;line-height:1.1;overflow:hidden;resize:none;}

  body.test-mode .stage-bottom{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(245px,.85fr);gap:8px;overflow:hidden;}
  body.test-mode .stage-bottom-item,body.test-mode .stage-submit{min-height:0;height:86px;padding:9px 12px;border-radius:15px;}
  body.test-mode .stage-bottom-item strong{font-size:14px;}
  body.test-mode .stage-bottom-item small,body.test-mode .stage-submit small{font-size:10px;line-height:1.3;}
  body.test-mode .stage-submit .btn{min-height:51px;border-radius:14px;}
  body.test-mode .secure-stage-footer{position:static;margin:0 -18px;z-index:3;}

  /* Premium result hierarchy and guaranteed interaction targets. */

  /* Rules stay in normal document flow; no sticky pseudo-header or XP-style controls. */
  #screen-rules .rules-head,#screen-rules .rules-tabs,#screen-rules .rules-board,#screen-rules .rules-desktop-actions{position:static;top:auto;}
  #screen-rules .rules-tab{transition:.18s ease;}
  
  #screen-rules .rules-item{transition:.18s ease;}
  #screen-rules .rules-item:hover{transform:translateY(-2px);border-color:#b8cee6;box-shadow:0 16px 34px rgba(8,35,74,.09);}
  #screen-rules .rules-desktop-actions{border-color:#cedceb;}
  #screen-rules .rules-desktop-back,#screen-rules .rules-desktop-next{transition:.18s ease;}
  #screen-rules .rules-desktop-back:hover,#screen-rules .rules-desktop-next:hover{transform:translateY(-2px);}
}

@media (min-width:901px) and (max-height:720px){
  body.test-mode #screen-memorize .test-shell,body.test-mode #screen-recall .test-shell{
    padding-top:8px;grid-template-rows:50px 56px minmax(0,1fr) 72px 34px;gap:5px
  ;}
  body.test-mode .stage-info{min-height:56px;padding:7px 12px;}
  body.test-mode .stage-info-line{font-size:13px;}
  body.test-mode .stage-bottom,body.test-mode .stage-bottom-item,body.test-mode .stage-submit{height:72px;}
  body.test-mode .secure-stage-footer{height:34px;min-height:34px;max-height:34px;}
  #screen-memorize .memory-word{font-size:11px;}
  #screen-recall .recall-answer{font-size:11px;padding:3px 6px;}
}

/* V42 REFERENCE-MATCH DESKTOP SYSTEM
   Desktop only. The accepted mobile application at 900px and below is isolated. */
@media (min-width:901px){
  :root{--desktop-header:82px;--desktop-footer:65px;}
  html:not(.test-mode),body:not(.test-mode){min-height:100%;background:#f5f8fc;}
  body.app-flow:not(.test-mode){height:100svh;overflow:hidden;}
  body.app-flow:not(.test-mode) .app{height:100svh;min-height:620px;overflow:hidden;}
  body.app-flow:not(.test-mode) .app-header{
    
    
    border-top:0;
    
    backdrop-filter:blur(18px) saturate(135%);}
  body.app-flow:not(.test-mode) .app-brand{display:grid;place-items:center start;}
  body.app-flow:not(.test-mode) .app-brand .app-brand-logo{width:138px;height:49px;}
  
  
  
  
    body.app-flow:not(.test-mode) .app-language-desktop{width:72px;height:44px;border-radius:11px;border:1px solid #d4dfec;background:#fff;align-items:center;justify-content:center;gap:8px;font-weight:800;color:#092c60;}
  body.app-flow:not(.test-mode) .app-theme{width:44px;height:44px;border-radius:11px;background:#fff;border:1px solid #d4dfec;}
  body.app-flow:not(.test-mode) .app-step{min-width:72px;padding:6px;place-content:center;}
  
  body.app-flow:not(.test-mode) .app-step small{color:#b8cbe2;}
  
  body.app-flow:not(.test-mode) .main{position:fixed;inset:var(--desktop-header) 0 var(--desktop-footer);height:auto;min-height:0;overflow:hidden;padding:0;}
  body.app-flow:not(.test-mode) main.main>section.screen{
    height:100%;min-height:0;overflow:hidden;padding:20px max(34px,calc((100vw - 1430px)/2)) 16px
  ;}
  body.app-flow:not(.test-mode) main.main>section.screen.active:not([hidden]){display:block;overflow:hidden;}
  body.app-flow:not(.test-mode) .app-footer,body.app-flow:not(.test-mode) .app-dots{display:none!important;}
  body.app-flow:not(.test-mode) .app-brand-footer{
    inset:auto 0 0;
    gap:20px;
    
    box-shadow:0 -10px 30px rgba(7,28,63,.08)
  ;}
  body.app-flow:not(.test-mode) .app-brand-footer strong{color:#ff681c;}
  body.app-flow:not(.test-mode) .app-brand-footer i{height:26px;background:#7594b8;}

  /* Verification and OTP: branded left statement + elevated action card. */
  #screen-email{padding-top:34px;}
    #screen-email .email-minimal-shell{
    width:min(1450px,100%);height:100%;min-height:0;margin:auto;
    align-items:center
  ;}
  #screen-email .email-minimal-brand{padding:25px 20px;}
  #screen-email .email-minimal-logo{display:none;}
  #screen-email .email-minimal-kicker{
    display:inline-flex;padding:8px 13px;border:1px solid #ffc6a7;border-radius:999px;background:#fff6ef
  ;}
  #screen-email .email-minimal-event{
    max-width:520px;margin-top:22px;font-size:clamp(43px,4vw,64px);line-height:1.03;color:#06275a
  ;}
  #screen-email .email-minimal-card{
    width:100%;border-radius:28px;border:1px solid #d7e2ee;
    box-shadow:0 24px 70px rgba(7,35,76,.14);}
  #screen-email .email-minimal-card:before{
    content:"";position:absolute;inset:0 0 auto;height:6px;background:linear-gradient(90deg,#ff671d,#f0510a)
  ;}
  #screen-email .email-minimal-head h2{color:#06275a;}

  /* Unified desktop profile — three mobile panels become one reference-matched form. */
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  /* Selection ID fills the available desktop canvas without document overflow. */
  
  
  
  
  
  
  
  
  

  /* Device: all three mobile panels become the 4x2 readiness dashboard + declaration. */
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  /* Rules: exact 3x2 reference rhythm with bottom consent/action row. */
  
    #screen-rules .rules-head h2{font-size:clamp(38px,3.3vw,54px);}
  
  #screen-rules .rules-tab{border-top:3px solid transparent;}
  #screen-rules .rules-tab.active{box-shadow:0 8px 24px rgba(7,35,76,.08);}
  
  #screen-rules .rules-pane[hidden]{display:none!important;}
  #screen-rules .rules-panel-heading{margin-bottom:14px;}
  #screen-rules .rules-panel-heading small{display:block;color:#f05b15;font-size:10px;font-weight:900;letter-spacing:.09em;}
  #screen-rules .rules-panel-heading h3{margin:4px 0 0;font-size:23px;}
  
  
  #screen-rules .rules-visual{border-color:#ffd0b8;}
  
  
  
  #screen-rules .rules-desktop-actions{grid-column:1;}

  /* Result matches the supplied summary/actions split. */

  /* Home uses the supplied public header/hero/partners composition and fits the real viewport. */
  body.welcome-gate .public-landing{height:100svh;min-height:0;overflow:hidden;}
  
  body.welcome-gate .public-shell{height:calc(100svh - 75px);padding:18px 0 16px;display:grid;grid-template-rows:minmax(0,1fr) auto;align-content:stretch;}
  body.welcome-gate .public-hero{min-height:0;gap:42px;}
  body.welcome-gate .public-visual{min-height:0;height:100%;}
  body.welcome-gate .public-brain-wrap{width:min(100%,620px);}
  body.welcome-gate .public-title-small{font-size:clamp(40px,4vw,60px);}
  body.welcome-gate .public-title-memory{font-size:clamp(72px,7vw,108px);}
  body.welcome-gate .public-title-bottom{font-size:clamp(34px,3.5vw,52px);}
  body.welcome-gate .public-partners{margin-top:18px;border-radius:20px;}
  body.welcome-gate .public-partner{padding:12px;}
  body.welcome-gate .public-logo-box{height:54px;}


}

@media (min-width:901px) and (max-height:760px){
  :root{--desktop-header:70px;--desktop-footer:52px;}
  body.welcome-gate{height:100svh;overflow:hidden;}
  body.welcome-gate #screen-home{height:100svh;min-height:0;padding:0;overflow:hidden;}
  body.welcome-gate .public-landing{height:100svh;min-height:0;}
  body.welcome-gate .public-header{height:60px;padding:0 34px;grid-template-columns:148px 1fr auto;gap:12px;}
  body.welcome-gate .public-header-brand .public-header-logo{width:136px;height:46px;}
  body.welcome-gate .public-header-nav button{padding:8px 10px;font-size:12px;}
  body.welcome-gate .public-header-start{min-height:38px;padding:0 14px;font-size:11px;}
  body.welcome-gate #welcomeLanguageButton,body.welcome-gate .public-theme-toggle{height:38px;}
  body.welcome-gate .public-shell{
    width:min(1180px,calc(100% - 46px));height:calc(100svh - 60px);padding:8px 0 7px;
    grid-template-rows:minmax(0,1fr) 82px;gap:8px
  ;}
  body.welcome-gate .public-hero{grid-template-columns:minmax(0,1fr) minmax(420px,.9fr);gap:26px;min-height:0;height:100%;overflow:hidden;}
  body.welcome-gate .public-copy{align-content:center;min-height:0;}
  body.welcome-gate .public-kicker{padding:6px 11px;font-size:9px;}
  body.welcome-gate .public-title{margin-top:11px;}
  body.welcome-gate .public-title-small{font-size:37px;}
  body.welcome-gate .public-title-memory{font-size:70px;}
  body.welcome-gate .public-title-bottom{font-size:34px;}
  body.welcome-gate .public-accent{width:70px;height:4px;margin:11px 0 9px;}
  body.welcome-gate .public-tagline{max-width:390px;font-size:14px;line-height:1.42;}
  body.welcome-gate .public-actions{width:min(470px,100%);margin-top:9px;gap:8px;}
  body.welcome-gate .public-start,body.welcome-gate .public-qualified,body.welcome-gate .public-registration-home{min-height:39px;padding:0 13px;border-radius:11px;font-size:11.5px;}
  body.welcome-gate .public-visual{height:100%;min-height:0;overflow:hidden;}
  body.welcome-gate .public-brain-wrap{width:min(100%,500px);height:100%;min-height:0;display:grid;place-items:center;}
  body.welcome-gate .public-brain-gesture{height:100%;min-height:0;}
  body.welcome-gate .public-brain{width:100%;height:100%;max-height:340px;object-fit:contain;filter:drop-shadow(0 18px 18px rgba(6,20,45,.2));}
  body.welcome-gate .public-partners{height:82px;margin:0;border-radius:16px;}
  body.welcome-gate .public-partner{padding:6px 10px;}
  body.welcome-gate .public-partner-heading{font-size:8px;}
  body.welcome-gate .public-logo-box{height:49px;margin-top:2px;}
  body.welcome-gate .public-logo-box img{max-height:42px;max-width:190px;}
  body.app-flow:not(.test-mode) .app-header{height:70px;padding-top:6px;padding-bottom:6px;}
  body.app-flow:not(.test-mode) .app-brand{height:48px;}
  body.app-flow:not(.test-mode) .app-brand .app-brand-logo{height:43px;}
  body.app-flow:not(.test-mode) .app-heading small{font-size:9px;}
  body.app-flow:not(.test-mode) .app-heading strong{font-size:18px;}
  body.app-flow:not(.test-mode) .app-heading span{font-size:10px;}
  body.app-flow:not(.test-mode) .app-brand-footer{height:52px;min-height:52px;font-size:11px;}
  #screen-rules .rules-head{display:none;}
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  #screen-id{padding-top:10px;}
  #screen-id .selection-id-shell{grid-template-rows:auto minmax(0,1fr) auto auto;gap:7px;}
  #screen-id .selection-id-intro{margin:0;}
  #screen-id .selection-id-intro .selection-id-step{padding:5px 9px;font-size:9px;}
  #screen-id .selection-id-intro h2{margin:4px 0 0;line-height:1;}
  #screen-id .selection-id-card{grid-template-columns:190px minmax(0,1fr);min-height:0;}
  #screen-id .selection-id-media{grid-template-columns:1fr 1fr;gap:8px;align-items:center;}
  #screen-id .selection-id-photo-frame,#screen-id .selection-id-qr-frame{width:78px;height:78px;aspect-ratio:1;padding:5px;border-radius:11px;}
  #screen-id .selection-id-verified{width:24px;height:24px;border-width:2px;}
  #screen-id .selection-id-qr-label{display:none;}
  
  
  
  #screen-id .selection-id-grid{grid-template-columns:repeat(3,minmax(0,1fr));border-radius:11px;}
  #screen-id .selection-id-cell{min-height:48px;}
  #screen-id .selection-id-cell small,#screen-id .selection-id-footer-item small{font-size:7px;}
  #screen-id .selection-id-cell strong,#screen-id .selection-id-footer-item strong{font-size:11px;margin-top:1px;}
  #screen-id .selection-id-footer{margin-top:6px;gap:8px;}
  #screen-id .selection-id-warning{padding:6px 12px;border-radius:10px;}
  
  #screen-id .selection-id-actions .btn{border-radius:11px;}
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  #screen-rules.rules-root-final.active:not([hidden]){grid-template-rows:auto minmax(0,1fr) auto;gap:7px;padding-top:0;}
  #screen-rules .rules-step{margin-bottom:5px;padding:5px 9px;font-size:9px;}
  #screen-rules .rules-head h2{font-size:34px;line-height:1;}
  #screen-rules .rules-tab{min-height:38px;min-width:185px;}
  #screen-rules .rules-board{padding:10px 14px;}
  #screen-rules .rules-list{gap:8px;}
  #screen-rules .rules-item{min-height:78px;padding:8px;grid-template-columns:46px minmax(0,1fr);}
  #screen-rules .rules-visual{width:46px;min-width:46px;height:54px;}
  #screen-rules .rules-copy strong{font-size:13px;}
  #screen-rules .rules-copy small{font-size:10px;line-height:1.25;margin-top:3px;}
  #screen-rules .rules-pane + .rules-pane:not([hidden]){margin-top:8px;}
  #screen-rules .rules-desktop-actions{padding:7px 10px;}
  #screen-rules .rules-desktop-actions button{min-height:42px;}
  body.test-mode #screen-memorize .test-shell,body.test-mode #screen-recall .test-shell{
    grid-template-rows:68px 64px minmax(0,1fr) 66px 38px;padding-top:10px;gap:7px
  ;}
  body.test-mode .block-tabs{top:14px;}
  body.test-mode .block-tab{height:50px;}
  body.test-mode .stage-logo{width:160px;height:58px;}
}

.profile-photo-brand{display:none;}

/* V45 desktop consolidated application flow */
@media (min-width:901px){
  body.app-flow:not(.test-mode) .app-brand-footer{
    font-size:11px;font-weight:750;letter-spacing:.015em
  ;}
  

  /* Verify Student Entry: compact premium two-column composition, no inner scroll. */
  #screen-email .email-minimal-shell{grid-template-columns:minmax(320px,.82fr) minmax(570px,1.18fr);gap:44px;}
  #screen-email .email-minimal-card{height:auto;max-height:100%;padding:25px 34px;overflow:hidden;}
  #screen-email .email-minimal-head h2{font-size:34px;}
  #screen-email .email-minimal-head p{margin-top:6px;font-size:13px;line-height:1.4;}
  #screen-email .resume-student{min-height:0;height:auto;}
  #screen-email .resume-student>div:first-child{display:flex!important;align-items:baseline;gap:8px;flex-wrap:wrap;}
  #screen-email .resume-student>div:first-child strong{font-size:15px;}
  #screen-email .resume-student>div:first-child small{font-size:10px;}
  #screen-email .resume-student .actions{margin-top:10px;}
  
  
  
    #screen-email .verify-trust-strip{
    
    border-top:1px solid #dce5ef
  ;}
  #screen-email .verify-trust-strip>div{justify-content:center;}
  
  #screen-email .verify-trust-strip b{font-size:17px;}
  #screen-email .verify-trust-strip span{align-items:baseline;}
  
  
  body:not(.gmc-email-remembered-mode) #screen-email .email-minimal-fields{gap:9px;margin-top:12px;}
  body:not(.gmc-email-remembered-mode) #screen-email .field{gap:5px;}
  body:not(.gmc-email-remembered-mode) #screen-email .field input{min-height:44px;height:44px;}
  body:not(.gmc-email-remembered-mode) #screen-email .email-minimal-action{margin-top:9px;}
  body:not(.gmc-email-remembered-mode) #screen-email .email-minimal-action .btn{min-height:42px;}

  /* Profile: desktop has two screens—complete details, then photograph. */
  
  
  
  
  
  
  
  
  
  

  
  
  
  
  
  
  
  
  
  
  
  

  /* Selection ID: title block on the left, compact vertical identity card on the right. */
  
  #screen-id .selection-id-intro{
    grid-column:1;grid-row:1/4;align-self:center;margin:0;padding:20px 5px
  ;}
  #screen-id .selection-id-intro h2{font-size:34px;line-height:1.04;}
  
  #screen-id .selection-id-media{grid-template-columns:1fr;}
  #screen-id .selection-id-media-row{align-items:center;}
  #screen-id .selection-id-photo-frame,#screen-id .selection-id-qr-frame{width:102px;height:102px;padding:6px;}
  #screen-id .selection-id-photo-wrap,#screen-id .selection-id-qr-wrap{display:block!important;width:102px;max-width:102px;}
  #screen-id .selection-id-qr-frame{display:grid!important;background:#fff;}
  #screen-id .selection-id-qr-image{display:block!important;opacity:1!important;visibility:visible!important;}
  #screen-id .selection-id-media-title{display:none;}
  
  
  
  
  

  /* Device Check: one desktop page with all checks and confirmations. */
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
}

@media (min-width:901px) and (max-height:760px){
  #screen-email{padding-top:14px;}
  #screen-email .email-minimal-brand{padding:14px 12px;}
  #screen-email .email-minimal-event{font-size:38px;}
  #screen-email .email-minimal-card{padding:17px 24px;}
  
  
  
  
  #screen-id .selection-id-intro h2{font-size:30px;}
  
}

/* MASTER-FLOW-FINAL-V46
   Authoritative desktop implementation of the approved master mockups.
   Mobile rules stay in the original mobile declarations above. */
.desktop-progress{display:none;}
#screen-email .email-resume-avatar,#screen-email .email-btn-mail{display:none;}
#screen-email .email-head-remembered,#screen-email .verify-notice-remembered{display:none;}
@media (min-width:901px){
  body.gmc-email-remembered-mode #screen-email .email-head-fresh,body.gmc-email-remembered-mode #screen-email .verify-notice-fresh{display:none;}
  body.gmc-email-remembered-mode #screen-email .email-head-remembered,body.gmc-email-remembered-mode #screen-email .verify-notice-remembered{display:block;}
  :root{--v46-header:68px;--v46-footer:38px;--v46-rail:236px;--v46-gap:14px;}
  html,body{height:100%;overflow:hidden;}
  body.app-flow:not(.test-mode){
    min-height:100dvh;
    background:
      radial-gradient(circle at 82% 18%,rgba(38,111,205,.08),transparent 28%),
      linear-gradient(145deg,#f8fbff 0%,#eef5fc 58%,#f9fbfe 100%);
  }
  body.app-flow:not(.test-mode) .app-header{
    position:fixed;inset:0 0 auto 0;z-index:70;height:var(--v46-header);min-height:0;
    display:grid!important;grid-template-columns:164px minmax(280px,1fr) auto 64px 64px 80px;
    align-items:center;gap:10px;padding:7px 18px;
    border:0;border-bottom:2px solid #ff681c;border-radius:0;
    background:rgba(255,255,255,.98);box-shadow:0 7px 24px rgba(12,43,82,.08)
  ;}
  body.app-flow:not(.test-mode) .app-brand{
    width:150px;height:48px;padding-right:14px;border-right:1px solid #d8e2ef
  ;}
  body.app-flow:not(.test-mode) .app-brand .gmc-inline-wordmark,
  body.app-flow:not(.test-mode) .app-brand img{width:100%;height:100%;object-fit:contain;}
  body.app-flow:not(.test-mode) .app-heading{align-self:center;gap:0;}
  body.app-flow:not(.test-mode) .app-heading small{font-size:9px;line-height:1.1;letter-spacing:.12em;color:#ff5c0a;}
  body.app-flow:not(.test-mode) .app-heading strong{font:850 20px/1.05 Montserrat,Manrope,sans-serif;color:#05275c;}
  body.app-flow:not(.test-mode) .app-heading span{font-size:9px;color:#667892;}
  body.app-flow:not(.test-mode) .app-security-badge{display:none;}
  body.app-flow:not(.test-mode) .app-language-desktop,
  body.app-flow:not(.test-mode) .app-theme{width:54px;height:44px;min-width:0;border-radius:12px;}
  body.app-flow:not(.test-mode) .app-language-desktop{display:flex!important;}
  body.app-flow:not(.test-mode) .app-step{
    width:74px;height:48px;display:grid!important;align-content:center;justify-items:center;
    border-radius:12px;background:linear-gradient(145deg,#06275c,#0b4388);color:#fff;
    box-shadow:0 8px 18px rgba(4,40,88,.17)
  ;}
  body.app-flow:not(.test-mode) .app-step strong{font-size:16px;line-height:1;}
  body.app-flow:not(.test-mode) .app-step small{font-size:7px;letter-spacing:.12em;}
  body.app-flow:not(.test-mode) .app-progress{position:absolute;left:0;right:0;bottom:-2px;height:2px;background:transparent;}
  body.app-flow:not(.test-mode) .app-progress span{display:block;height:100%;background:#ff681c;transition:width .3s ease;}

  body.app-flow:not(.test-mode) .desktop-progress{
    position:fixed;z-index:50;left:14px;top:calc(var(--v46-header) + 14px);bottom:calc(var(--v46-footer) + 12px);
    width:var(--v46-rail);display:flex!important;flex-direction:column;padding:14px 10px 11px;
    color:#fff;border:1px solid rgba(70,146,227,.34);border-radius:20px;
    background:
      radial-gradient(circle at 24% 6%,rgba(37,119,214,.36),transparent 29%),
      linear-gradient(165deg,#041c46,#07346c 55%,#041f4c);
    box-shadow:0 16px 35px rgba(7,38,82,.2);overflow:hidden;user-select:none;pointer-events:none
  ;}
  .desktop-progress::after{
    content:"";position:absolute;inset:auto -26px -24px auto;width:150px;height:150px;opacity:.25;
    background:radial-gradient(circle,#3a8ce0 1px,transparent 1.6px);background-size:10px 10px;transform:rotate(-13deg)
  ;}
  .desktop-progress-head{position:relative;z-index:1;padding:0 9px 9px;border-bottom:1px solid rgba(180,211,244,.16);}
  .desktop-progress-head small{display:block;font-size:8.8px;font-weight:900;letter-spacing:.13em;color:#ff7a28;}
  .desktop-progress-head strong{display:block;margin-top:2px;font:800 14.3px/1.1 Montserrat,Manrope,sans-serif;}
  .desktop-progress-head span{display:block;margin-top:3px;font-size:8.8px;color:#a9c1df;}
  .desktop-progress ol{position:relative;z-index:1;list-style:none;display:grid;gap:2px;margin:8px 0;padding:0;}
  .desktop-progress li{
    position:relative;display:grid;grid-template-columns:27px minmax(0,1fr);align-items:center;gap:8px;
    min-height:32px;padding:4px 8px;border-radius:10px;color:#b8c9dd
  ;}
  .desktop-progress li i{
    width:24px;height:24px;display:grid;place-items:center;border:1px solid rgba(184,210,240,.36);border-radius:8px;
    background:rgba(255,255,255,.04);font-style:normal;font-size:17.6px
  ;}
  .desktop-progress li i::before{content:attr(data-step);}
  .desktop-progress li:nth-child(1) i::before{content:"1";}.desktop-progress li:nth-child(2) i::before{content:"2";}
  .desktop-progress li:nth-child(3) i::before{content:"3";}.desktop-progress li:nth-child(4) i::before{content:"4";}
  .desktop-progress li:nth-child(5) i::before{content:"5";}.desktop-progress li:nth-child(6) i::before{content:"6";}
  .desktop-progress li:nth-child(7) i::before{content:"7";}.desktop-progress li:nth-child(8) i::before{content:"8";}
  .desktop-progress li:nth-child(9) i::before{content:"9";}
  .desktop-progress li strong{display:block;line-height:1.1;}
  .desktop-progress li small{display:block;margin-top:2px;font-size:7.7px;line-height:1;color:#87a4c7;}
  .desktop-progress li.is-complete{color:#dff8e8;}
  .desktop-progress li.is-complete i{border-color:#4bd285;background:rgba(37,190,103,.16);color:#68e29b;}
  .desktop-progress li.is-complete i::before{content:"✓";}
  .desktop-progress li.is-current{
    color:#fff;background:linear-gradient(90deg,rgba(255,105,27,.25),rgba(255,255,255,.06));
    box-shadow:inset 3px 0 #ff6a1d
  ;}
  .desktop-progress li.is-current i{border-color:#ff7b2e;background:#ff681c;color:#fff;box-shadow:0 5px 13px rgba(255,99,18,.28);}
  .desktop-progress li.is-locked i::before{content:"·";}
  .desktop-progress-note{
    position:relative;z-index:1;margin-top:auto;display:grid;grid-template-columns:28px 1fr;align-items:center;gap:7px;
    padding:8px;border-radius:11px;background:rgba(38,104,180,.18);border:1px solid rgba(142,190,240,.13)
  ;}
  .desktop-progress-note b{font-size:22px;color:#ff771f;}
  .desktop-progress-note strong{display:block;font-size:9.9px;}.desktop-progress-note small{display:block;font-size:7.7px;color:#aac1dd;}

  body.app-flow:not(.test-mode) main.main{
    position:fixed;z-index:1;left:calc(var(--v46-rail) + 28px);right:0;top:var(--v46-header);bottom:var(--v46-footer);
    width:auto;height:auto;min-height:0;overflow:hidden;padding:0
  ;}
  body.app-flow:not(.test-mode) .screen{
    width:100%;height:100%;max-height:none;min-height:0;padding:14px 18px;overflow:hidden
  ;}
  body.app-flow:not(.test-mode) .app-footer,
  body.app-flow:not(.test-mode) .app-dots{display:none!important;}
  body.app-flow:not(.test-mode) .app-brand-footer{
    position:fixed;z-index:80;left:0;right:0;bottom:0;height:var(--v46-footer);min-height:0;
    display:flex!important;align-items:center;justify-content:center;padding:0 16px;
    background:linear-gradient(90deg,#041b43,#073975 53%,#041d49);border:0;color:#fff
  ;}
  body.app-flow:not(.test-mode) .app-brand-footer span{font-size:10px;font-weight:750;color:#fff;}

  /* Verify Student Entry — authoritative desktop content only.
     IMPORTANT: the shared V46 SELECTION PROGRESS rail, header and footer are not replaced here.
     Remembered students see only the verified identity panel; fresh/new-email entry reveals the name/email form. */
  #screen-email{align-items:stretch;}
  #screen-email .email-stage{height:100%;min-height:0;}
  #screen-email .email-verified-shell{width:100%;height:100%;max-width:none;margin:0;display:block;}
  #screen-email .email-verified-card{position:relative;align-self:stretch;width:100%;height:100%;max-height:none;margin:0;padding:30px clamp(30px,4vw,58px);display:flex;flex-direction:column;justify-content:center;gap:0;border:1px solid #dde6f0;border-radius:22px;background:#fff;overflow:hidden;box-shadow:0 18px 46px rgba(7,35,76,.09);}
  #screen-email .email-verified-card::before{display:none!important;}
  #screen-email .email-verified-head{margin:0 0 22px;text-align:left;}
  #screen-email .email-verified-head h2{margin:0;font:800 clamp(30px,3vw,44px)/1.05 Montserrat,Manrope,sans-serif;letter-spacing:-.04em;color:#08285d;text-align:left;}
  #screen-email .email-verified-head p{margin:9px 0 0;color:#526789;font-size:15px;line-height:1.4;text-align:left;}

  /* Existing state logic is authoritative; CSS must not override hidden fields. */
  #screen-email .email-minimal-resume[hidden],
  #screen-email .email-minimal-fields[hidden],
  #screen-email .email-minimal-action[hidden],
  #screen-email .email-minimal-note[hidden]{display:none!important;}
  body.gmc-email-remembered-mode #screen-email .email-minimal-fields,
  body.gmc-email-remembered-mode #screen-email .email-minimal-action,
  body.gmc-email-remembered-mode #screen-email .email-minimal-note{display:none!important;}

  #screen-email .email-minimal-resume{margin:0;}
  #screen-email .resume-student{position:relative;margin:0;padding:22px 22px 22px 138px;display:grid!important;grid-template-columns:minmax(0,1fr);align-content:center;gap:16px;border:1px solid #cddcee;border-radius:16px;background:linear-gradient(145deg,#fbfdff,#f3f8fe);box-shadow:none;}
  #screen-email .email-resume-avatar{position:absolute;left:24px;top:50%;transform:translateY(-50%);width:90px;height:90px;display:grid;place-items:center;border-radius:50%;background:#fff;border:1px solid #e2e9f1;box-shadow:0 10px 24px rgba(8,44,91,.08);color:#0a3ba1;}
  #screen-email .email-resume-avatar svg{width:67px;height:67px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
  #screen-email .email-resume-avatar .shield{stroke:#ff650f;}#screen-email .email-resume-avatar .check{stroke:#ff650f;stroke-width:2.7;}
  #screen-email .resume-student>div:first-of-type{display:grid!important;gap:6px;min-width:0;}
  #screen-email .resume-student>div:first-of-type strong{font:800 clamp(18px,1.65vw,24px)/1.2 Montserrat,Manrope,sans-serif;color:#08285d;letter-spacing:-.02em;}
  #screen-email .resume-student>div:first-of-type small{margin:0;font-size:14px;line-height:1.4;color:#4d6386;overflow-wrap:anywhere;}
  #screen-email .resume-student .actions{display:flex!important;align-items:center;gap:16px;margin:4px 0 0;}
  #screen-email .resume-student .actions .btn{min-height:56px;border-radius:13px;padding:0 25px;font-size:15px;}
  #screen-email #resumeContinueBtn{min-width:220px;}#screen-email #resumeAnotherEmailBtn{min-width:320px;background:#fff;}
  #screen-email .email-btn-mail{width:27px;height:27px;display:grid;place-items:center;}#screen-email .email-btn-mail svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}

  /* Fresh/new-email entry only. Revealed by the existing setEmailEntryMode('fresh') logic. */
  #screen-email .email-minimal-fields:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0;padding:22px;border:1px solid #cddcee;border-radius:16px;background:linear-gradient(145deg,#fbfdff,#f3f8fe);}
  #screen-email .email-minimal-fields .field{gap:7px;}#screen-email .email-minimal-fields .field input{height:54px;min-height:54px;border-radius:12px;background:#fff;}
  #screen-email .email-minimal-action:not([hidden]){display:block;margin:16px 0 0;}#screen-email .email-minimal-action .btn{width:100%;min-height:56px;border-radius:13px;font-size:15px;}

  #screen-email .verify-email-notice{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:18px;margin:28px 0 0;padding:20px 0;border:0;border-top:1px solid #d8e2ee;border-bottom:1px solid #d8e2ee;border-radius:0;background:transparent;color:#344d72;}
  #screen-email .verify-email-notice-icon{width:42px;height:42px;display:grid;place-items:center;border:0;border-radius:0;background:transparent;color:#082e6b;}
  #screen-email .verify-email-notice-icon svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
  #screen-email .verify-email-notice p{margin:0;font-size:14px;line-height:1.4;}#screen-email .email-minimal-note{display:none;}
  #screen-email .verify-trust-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:24px 0 0;padding:0;border:0;border-radius:0;background:transparent;}
  #screen-email .verify-trust-strip>div{min-width:0;display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:12px;padding:2px 24px;border-right:1px solid #d6e0eb;}
  #screen-email .verify-trust-strip>div:first-child{padding-left:8px;}#screen-email .verify-trust-strip>div:last-child{border-right:0;padding-right:0;}
  #screen-email .verify-trust-strip b{width:50px;height:50px;display:grid;place-items:center;border:0;border-radius:0;background:transparent;color:#082e6b;}
  #screen-email .verify-trust-strip b svg{width:48px;height:48px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
  #screen-email .verify-trust-strip b svg .accent{stroke:#ff650f;}#screen-email .verify-trust-strip b svg .accent-check,#screen-email .verify-trust-strip b svg .accent-lock{stroke:#ff650f;stroke-width:1.9;}
  #screen-email .verify-trust-strip span{display:grid;gap:2px;min-width:0;white-space:normal;}#screen-email .verify-trust-strip strong{font-size:14px;line-height:1.2;color:#08285d;}#screen-email .verify-trust-strip small{font-size:12px;line-height:1.25;color:#08285d;}
  html[data-theme="dark"] #screen-email .email-verified-card{background:#0b1f40;border-color:#2b4f7a;}
  html[data-theme="dark"] #screen-email .email-verified-head h2,html[data-theme="dark"] #screen-email .resume-student>div:first-of-type strong,html[data-theme="dark"] #screen-email .verify-trust-strip strong,html[data-theme="dark"] #screen-email .verify-trust-strip small{color:#f4f8ff;}
  html[data-theme="dark"] #screen-email .email-verified-head p,html[data-theme="dark"] #screen-email .resume-student>div:first-of-type small,html[data-theme="dark"] #screen-email .verify-email-notice{color:#b9cae0;}
  html[data-theme="dark"] #screen-email .resume-student,html[data-theme="dark"] #screen-email .email-minimal-fields{background:linear-gradient(145deg,#10294f,#0b1f40);border-color:#31567f;}
  html[data-theme="dark"] #screen-email .email-resume-avatar{background:#10294f;border-color:#31567f;}

  /* Profile information: one compact desktop master screen. */
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  /* ID Overview */
  #screen-id .selection-id-shell{
    max-width:none;grid-template-columns:minmax(0,1fr);}
    #screen-id .selection-id-card{
    grid-column:1;grid-row:1;}
  
  
  #screen-id .selection-id-photo-frame{width:110px;height:110px;}
  #screen-id .selection-id-qr-frame{width:110px;height:110px;}
  
  #screen-id .selection-id-id{font-size:32px;}
  
  
  #screen-id .selection-id-cell small,#screen-id .selection-id-footer-item small{font-size:7px;}
  #screen-id .selection-id-cell strong,#screen-id .selection-id-footer-item strong{font-size:11px;}
  #screen-id .selection-id-warning{grid-column:1;grid-row:2;}
  #screen-id .selection-id-actions{grid-column:1;grid-row:3;}
  #screen-id .selection-id-actions button{min-height:38px;font-size:9px;}

  /* Device Check */
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  /* Important Rules: six cards in one active tab. */
  
  
  
  #screen-rules .rules-tab{font-size:11px;}
  
  
  
  
  #screen-rules .rules-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;}
  
  
  #screen-rules .rules-copy strong{font-size:11px;}
  #screen-rules .rules-copy small{font-size:8px;line-height:1.25;}
  #screen-rules .rules-consent-card{flex:0 0 auto;margin-top:7px;}
  #screen-rules .rules-consent-card strong{font-size:9px;}#screen-rules .rules-consent-card small{font-size:8px;}
  #screen-rules .rules-desktop-actions{min-height:46px;}
  #screen-rules .rules-desktop-actions button{min-height:36px;font-size:9px;}
  #screen-rules .rules-desktop-progress strong{font-size:8px;}

  /* Result desktop design is defined once in V81 at the end of this stylesheet. */

  /* Secure stages preserve the approved dark examination workspace. */
  body.test-mode .desktop-progress{display:none!important;}
  body.test-mode #screen-memorize .test-shell,
  body.test-mode #screen-recall .test-shell{
    grid-template-rows:54px 44px 46px minmax(0,1fr) 62px 32px;
    gap:6px;padding:8px 18px 0
  ;}
  body.test-mode .stage-topbar{grid-row:1;grid-template-columns:1fr auto;}
  body.test-mode .block-tabs{
    display:flex!important;position:static;grid-row:2;justify-content:center;gap:8px;
    inset:auto;top:auto;right:auto;bottom:auto;left:auto;transform:none
  ;}
  body.test-mode .block-tab{height:40px;min-width:120px;padding:0 18px;}
  body.test-mode .stage-logo{width:130px;height:44px;}
  body.test-mode .stage-info{grid-row:3;min-height:44px;padding:6px 12px;}
  body.test-mode .words-card{grid-row:4;min-height:0;height:auto;}
  body.test-mode .stage-bottom{grid-row:5;min-height:58px;height:62px;}
  body.test-mode .secure-stage-footer{grid-row:6;height:32px;min-height:32px;max-height:32px;}


  /* V72 SECURE STAGE HARD RESET — single desktop authority for Memorization + Recall. */
  body.test-mode[data-screen="memorize"] #screen-memorize .test-shell,
  body.test-mode[data-screen="recall"] #screen-recall .test-shell{
    position:relative;
    width:100%;max-width:none;
    height:calc(100dvh - 38px);max-height:calc(100dvh - 38px);
    padding:8px 18px 8px;
    box-sizing:border-box;
    overflow:hidden;
    display:grid;
    grid-template-rows:62px 74px minmax(0,1fr);
    gap:8px;
  }
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-topbar,
  body.test-mode[data-screen="recall"] #screen-recall .stage-topbar{
    grid-row:1;display:grid;grid-template-columns:minmax(150px,1fr) auto;align-items:center;padding:0;min-height:62px;
  }
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-logo,
  body.test-mode[data-screen="recall"] #screen-recall .stage-logo{width:164px;height:58px;object-fit:contain;}
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-meta,
  body.test-mode[data-screen="recall"] #screen-recall .stage-meta{
    display:flex;align-items:stretch;gap:10px;margin-right:calc(clamp(235px,24vw,315px) + 12px);height:58px;
  }
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-clock,
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-attempt-box,
  body.test-mode[data-screen="recall"] #screen-recall .stage-clock,
  body.test-mode[data-screen="recall"] #screen-recall .stage-attempt-box{
    height:58px;min-height:58px;padding:6px 15px;border-radius:13px;box-sizing:border-box;display:grid;place-items:center;
  }
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-clock,
  body.test-mode[data-screen="recall"] #screen-recall .stage-clock{min-width:150px;}
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-attempt-box,
  body.test-mode[data-screen="recall"] #screen-recall .stage-attempt-box{min-width:112px;grid-template-rows:auto 1fr;align-content:center;gap:2px;}
  body.test-mode[data-screen="memorize"] #screen-memorize .timer-copy,
  body.test-mode[data-screen="recall"] #screen-recall .timer-copy{height:100%;display:grid;grid-template-rows:auto 1fr;place-items:center;gap:1px;}
  body.test-mode[data-screen="memorize"] #screen-memorize .timer-copy small,
  body.test-mode[data-screen="recall"] #screen-recall .timer-copy small,
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-attempt-box small,
  body.test-mode[data-screen="recall"] #screen-recall .stage-attempt-box small{font-size:11px;line-height:1;}
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-clock strong,
  body.test-mode[data-screen="recall"] #screen-recall .stage-clock strong{font-size:27px;line-height:1;}
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-attempt-box strong,
  body.test-mode[data-screen="recall"] #screen-recall .stage-attempt-box strong{font-size:16px;line-height:1.05;}

  /* Row tabs are desktop-only duplicates; all three rows are already visible in the white workspace. */
  body.test-mode[data-screen="memorize"] #screen-memorize .block-tabs,
  body:not(.gmc-touch-primary).test-mode[data-screen="recall"] #screen-recall .block-tabs{display:none!important;}

  body.test-mode[data-screen="memorize"] #screen-memorize .stage-info,
  body.test-mode[data-screen="recall"] #screen-recall .stage-info{
    grid-row:2;height:69px;min-height:69px;padding:9px 18px;border-radius:14px;box-sizing:border-box;
  }
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-info-main,
  body.test-mode[data-screen="recall"] #screen-recall .stage-info-main{
    font-size:18px;line-height:1.2;flex:1;justify-content:flex-start;text-align:left;min-width:0;
  }
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-info-main>span,
  body.test-mode[data-screen="recall"] #screen-recall .stage-info-main>span{white-space:nowrap;}
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-info-line,
  body.test-mode[data-screen="recall"] #screen-recall .stage-info-line{display:inline!important;font-size:17px;line-height:1.2;}
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-info-line+.stage-info-line,
  body.test-mode[data-screen="recall"] #screen-recall .stage-info-line+.stage-info-line{margin-left:.42em;}
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-info-icon,
  body.test-mode[data-screen="recall"] #screen-recall .stage-info-icon{width:34px;height:34px;font-size:16px;flex:0 0 34px;}
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-security,
  body.test-mode[data-screen="recall"] #screen-recall .stage-security{font-size:15px;gap:17px;white-space:nowrap;align-items:center;}
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-security i,
  body.test-mode[data-screen="recall"] #screen-recall .stage-security i{font-size:14px;}

  body.test-mode[data-screen="memorize"] #screen-memorize .words-card,
  body.test-mode[data-screen="recall"] #screen-recall .words-card{
    grid-row:3;min-height:0;height:100%;padding:14px 16px;border-radius:19px;overflow:hidden;
  }
  body.test-mode[data-screen="memorize"] #screen-memorize .memory-desktop-rows,
  body.test-mode[data-screen="recall"] #screen-recall .recall-grid{height:100%;gap:14px;overflow:hidden;}
  body.test-mode[data-screen="memorize"] #screen-memorize .memory-row,
  body.test-mode[data-screen="recall"] #screen-recall .recall-row{
    height:100%;min-height:0;padding:12px 14px;border-radius:12px;display:grid;grid-template-rows:40px minmax(0,1fr);overflow:hidden;
  }
  body.test-mode[data-screen="memorize"] #screen-memorize .memory-row header,
  body.test-mode[data-screen="recall"] #screen-recall .recall-row header{
    margin:0;padding:0;border-bottom:1px solid #e7edf5;text-align:center;
    display:flex;align-items:center;justify-content:center;min-height:0;
  }
  body.test-mode[data-screen="memorize"] #screen-memorize .memory-row header strong,
  body.test-mode[data-screen="recall"] #screen-recall .recall-row header strong{
    font-size:17px;line-height:1.1;font-weight:800;color:#0b2e61;text-align:center;
  }
  body.test-mode[data-screen="memorize"] #screen-memorize .memory-row-body,
  body.test-mode[data-screen="recall"] #screen-recall .recall-row-body{
    min-height:0;height:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
  }
  body.test-mode[data-screen="memorize"] #screen-memorize .memory-row-body>div,
  body.test-mode[data-screen="recall"] #screen-recall .recall-row-body>div{
    min-height:0;height:100%;display:grid;grid-template-rows:repeat(10,minmax(0,1fr));
  }
  body.test-mode[data-screen="memorize"] #screen-memorize .memory-word{
    min-height:0;height:100%;font-size:22px;line-height:1.28;font-weight:800;
    grid-template-columns:34px minmax(0,1fr);gap:8px;padding:2px 6px;align-items:center;
    box-sizing:border-box;overflow:visible;
  }
  body.test-mode[data-screen="memorize"] #screen-memorize .memory-word .idx{
    font-size:17px;font-weight:900;display:grid;place-items:center;text-align:center;align-self:stretch;
  }
  body.test-mode[data-screen="memorize"] #screen-memorize .memory-word .word-text{
    min-width:0;height:100%;display:flex;align-items:center;box-sizing:border-box;
    font-weight:800;align-self:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  }
  body.test-mode[data-screen="memorize"] #screen-memorize .memory-word .word-text.gmc-gujarati-text{
    font-family:"Nirmala UI","Noto Sans Gujarati","Shruti",sans-serif;
    line-height:1.42;padding:2px 0 1px;overflow:visible;text-overflow:clip;
  }
  body.test-mode[data-screen="memorize"] #screen-memorize .memory-row-body>div .memory-word:last-child{border-bottom:0;}
  body.test-mode[data-screen="recall"] #screen-recall .recall-item{
    min-height:0;height:100%;grid-template-columns:40px minmax(0,1fr);gap:7px;align-items:stretch;
  }
  body.test-mode[data-screen="recall"] #screen-recall .recall-item .idx{
    min-height:0;height:100%;font-size:17px;font-weight:900;display:grid;place-items:center;text-align:center;
  }
  body.test-mode[data-screen="recall"] #screen-recall .recall-answer{
    min-height:0;height:100%;font-size:18px;font-weight:700;line-height:normal;padding:0 8px;text-align:center;
    box-sizing:border-box;
  }
  body.test-mode[data-screen="recall"] #screen-recall .recall-answer.gmc-gujarati-answer{
    font-family:"Nirmala UI","Noto Sans Gujarati","Shruti",sans-serif;
    line-height:normal;
  }
  body.test-mode[data-screen="recall"] #screen-recall .recall-answer::placeholder{
    text-align:center;color:#6e7f9b;opacity:.9;font-weight:600;
  }

  /* Keep existing mobile bottom controls in the DOM, but on desktop move only the action to the top-right. */
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-bottom,
  body.test-mode[data-screen="recall"] #screen-recall .stage-bottom{display:contents;}
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-bottom-item,
  body.test-mode[data-screen="recall"] #screen-recall .stage-bottom-item{display:none!important;}
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-submit,
  body.test-mode[data-screen="recall"] #screen-recall .stage-submit{
    position:absolute;top:8px;right:18px;z-index:7;
    width:clamp(235px,24vw,315px);height:58px;min-height:58px;margin:0;padding:0;border:0;background:transparent;
  }
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-submit .btn,
  body.test-mode[data-screen="recall"] #screen-recall .stage-submit .btn{
    width:100%;height:58px;min-height:58px;border-radius:12px;font-size:14px;white-space:nowrap;
    background:linear-gradient(135deg,#ff5b13,#ff9a27);box-shadow:0 0 0 2px #ffd16c,0 10px 24px rgba(255,91,19,.34);
  }
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-submit small,
  body.test-mode[data-screen="recall"] #screen-recall .stage-submit small,
  body.test-mode[data-screen="recall"] #screen-recall #recallSubmitStatus{display:none!important;}

  /* The secure footer is edge-to-edge and uses the same copyright copy as the rest of the application. */
  body.test-mode[data-screen="memorize"] #screen-memorize .secure-stage-footer,
  body.test-mode[data-screen="recall"] #screen-recall .secure-stage-footer{
    position:fixed;left:0;right:0;bottom:0;width:100vw;
    height:38px;min-height:38px;max-height:38px;margin:0;padding:5px 14px;
    border-radius:0;border-left:0;border-right:0;border-bottom:0;z-index:2400;
  }
  body.test-mode[data-screen="memorize"] #screen-memorize .secure-stage-footer-mobile,
  body.test-mode[data-screen="recall"] #screen-recall .secure-stage-footer-mobile{display:none!important;}
  body.test-mode[data-screen="memorize"] #screen-memorize .secure-stage-footer-desktop,
  body.test-mode[data-screen="recall"] #screen-recall .secure-stage-footer-desktop{display:inline!important;font-size:11px;white-space:nowrap;}
  body.test-mode[data-screen="memorize"] #testWatermark,
  body.test-mode[data-screen="recall"] #testWatermark{display:none!important;}

  /* Fair-play hard reset: when fullscreen is lost, the timed workspace is hidden and the popup owns a black screen. */
  body.test-mode.fairplay-locked #screen-memorize .test-shell,
  body.test-mode.fairplay-locked #screen-recall .test-shell{visibility:hidden!important;}
  body.test-mode.fairplay-locked .fairplay-overlay{display:grid!important;background:#000;backdrop-filter:none;}
  body.test-mode .fairplay-card{
    width:min(520px,calc(100vw - 48px));max-height:calc(100vh - 56px);padding:30px 32px;
    border:1px solid rgba(165,193,229,.62);border-radius:20px;
    background:linear-gradient(180deg,#ffffff 0%,#f5f8fc 100%);color:#0a2f66;
    box-shadow:0 28px 80px rgba(0,0,0,.46),0 0 0 1px rgba(255,255,255,.55) inset;text-align:center;
  }
  body.test-mode .fairplay-card .shield{width:58px;height:58px;margin:0 auto 12px;border-radius:16px;display:grid;place-items:center;background:#fff2e8;color:#ff6a12;font-size:28px;border:1px solid #ffd0b2;}
  body.test-mode .fairplay-card h2{margin:0 0 10px;font:800 28px/1.08 Montserrat,Manrope,sans-serif;color:#082d63;letter-spacing:-.025em;}
  body.test-mode .fairplay-card p{margin:7px auto;color:#526b8d;font-size:14px;line-height:1.5;max-width:420px;}
  body.test-mode .fairplay-card #fairPlayReason{font-weight:800;color:#173f76;}
  body.test-mode .fairplay-card .count-warning{display:inline-flex;margin:12px auto 18px;padding:7px 12px;border-radius:9px;background:#fff4e9;color:#df5a0b;border:1px solid #ffd2b7;font-weight:800;font-size:12px;}
  body.test-mode .fairplay-card .btn{min-width:230px;min-height:50px;border-radius:10px;font-size:14px;}
  .focus-wrap{
    position:fixed;inset:0;display:grid;grid-template-rows:96px minmax(0,1fr) 54px;place-items:stretch;
    background:
      radial-gradient(circle at 50% 44%,rgba(23,74,161,.42),transparent 28%),
      radial-gradient(circle at 50% 50%,rgba(7,36,83,.34),transparent 44%),
      linear-gradient(180deg,#011433 0%,#00153f 45%,#00112d 100%);
  }
  .focus-secure-head{display:flex;justify-content:flex-end;align-items:flex-start;padding:22px 34px 0;position:relative;z-index:2;}
  .focus-secure-panel{
    display:grid;grid-template-columns:repeat(3,max-content);align-items:center;gap:0;
    border:1px solid rgba(83,141,221,.34);border-radius:18px;overflow:hidden;
    background:rgba(3,21,57,.54);box-shadow:0 18px 40px rgba(0,0,0,.18)
  ;}
  .focus-secure-panel-item{min-height:82px;padding:16px 28px;display:grid;align-content:center;gap:6px;border-left:1px solid rgba(83,141,221,.24);}
  .focus-secure-panel-item:first-child{border-left:0;}
  .focus-secure-panel-item span{font-size:16px;line-height:1;color:#fff;opacity:.92;letter-spacing:.04em;}
  .focus-secure-panel-item strong{font:700 20px/1.1 Montserrat,Manrope,sans-serif;color:#ff7b28;}
  .focus-secure-panel-item strong i{font-style:normal;color:#ff7b28;}
  .focus-secure-panel-item-env{grid-template-columns:48px 1fr;gap:14px;align-items:center;display:grid;padding-right:24px;}
  .focus-secure-panel-item-env svg{width:42px;height:42px;stroke:#2280ff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 10px rgba(34,128,255,.18));}
  .focus-secure-panel-item-env strong{font-size:18px;line-height:1.2;color:#fff;font-weight:600;}
  .focus-wrap .focus-content{align-self:center;justify-self:center;width:min(1100px,92vw);gap:14px;padding-bottom:10px;text-align:center;}
  .focus-wrap .focus-content h2{font-size:86px;font-weight:800;letter-spacing:-.045em;color:#fff;}
  .focus-wrap .focus-content p{max-width:760px;margin:0 auto;color:#c0d2ea;font-size:28px;line-height:1.25;}
  .focus-ring-shell{width:clamp(340px,30vw,460px);margin:12px auto 0;}
  .focus-ring-shell .focus-ring-svg{grid-area:1/1;}
  .focus-wrap .focus-ring-shell .count{grid-area:1/1;width:100%;height:100%;aspect-ratio:1;margin:0;border:0;box-shadow:none;background:transparent;font-size:clamp(126px,12vw,184px);font-weight:800;color:#ff6b00;display:grid;place-items:center;}
  .focus-wrap .focus-ring-shell .count.start-label{
    width:100%;height:100%;min-height:0;aspect-ratio:1;margin:0;padding:0;box-sizing:border-box;
    border:0;border-radius:50%;background:transparent;box-shadow:none;overflow:visible;white-space:nowrap;
    font-size:clamp(58px,7vw,88px);font-weight:900;line-height:1;letter-spacing:-.025em;color:#ff6b00;
  }
  .focus-start-line{margin-top:4px;font-size:28px;line-height:1.2;color:#fff;}
  .focus-secure-footer{display:flex;align-items:center;justify-content:center;gap:18px;border-top:1px solid rgba(128,177,232,.18);font-size:16px;color:#fff;letter-spacing:.02em;position:relative;z-index:2;}
  .focus-secure-footer span{color:#ff7b28;font-weight:500;}
  .focus-secure-footer b{font-weight:500;color:#fff;}
}


@media (min-width:901px) and (max-width:1400px){
  .focus-wrap .focus-content h2{font-size:72px;}
  .focus-wrap .focus-content p{font-size:22px;}
  .focus-wrap .count{font-size:140px;}
  .focus-secure-panel-item{min-height:72px;padding:14px 22px;}
  .focus-secure-panel-item span{font-size:14px;}
  .focus-secure-panel-item strong{font-size:18px;}
  .focus-secure-footer{font-size:14px;}
}
@media (min-width:901px) and (max-height:760px){
  .focus-wrap{grid-template-rows:86px minmax(0,1fr) 44px;}
  .focus-secure-head{padding:14px 24px 0;}
  .focus-secure-panel-item{min-height:66px;padding:12px 18px;}
  .focus-secure-panel-item span{font-size:12px;}
  .focus-secure-panel-item strong{font-size:16px;}
  .focus-secure-panel-item-env strong{font-size:15px;}
  .focus-wrap .focus-content{gap:10px;padding-bottom:4px;}
  .focus-wrap .focus-content h2{font-size:58px;}
  .focus-wrap .focus-content p{font-size:18px;}
  .focus-ring-shell{width:clamp(300px,44vh,360px);}
  .focus-wrap .focus-ring-shell .count{font-size:clamp(110px,16vh,148px);}
  .focus-wrap .focus-ring-shell .count.start-label{font-size:clamp(54px,10vh,76px);overflow:visible;white-space:nowrap;}
  .focus-start-line{font-size:20px;}
  .focus-secure-footer{font-size:12px;}
  .focus-ambient{height:130px;}
}

/* V69 desktop test-language dialog — GMC navy/orange theme. */
@media (min-width:901px){
  .app-dialog:has(.test-language-grid){background:rgba(1,13,36,.74);backdrop-filter:blur(12px) saturate(120%);}
  .app-dialog:has(.test-language-grid) .app-dialog-card{
    width:min(650px,calc(100vw - 48px));
    border:1px solid rgba(54,113,190,.45);
    border-radius:18px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 34px 90px rgba(0,19,54,.38);
  }
  .app-dialog:has(.test-language-grid) .app-dialog-header{
    min-height:86px;
    padding:18px 22px;
    background:linear-gradient(135deg,#061f49,#0b3d7a);
    border-bottom:3px solid #ff6b00;
    color:#fff;
  }
  .app-dialog:has(.test-language-grid) .app-dialog-icon{
    width:48px;height:48px;border-radius:10px;
    background:#ff6b00;color:#fff;border:0;
    box-shadow:0 10px 24px rgba(255,107,0,.25);
  }
  .app-dialog:has(.test-language-grid) .app-dialog-header h2{font:800 24px/1.05 Montserrat,Manrope,sans-serif;color:#fff;letter-spacing:-.025em;}
  .app-dialog:has(.test-language-grid) .app-dialog-header p{margin-top:5px;color:#c8dcf5;font-size:12px;}
  .app-dialog:has(.test-language-grid) .app-dialog-close{
    width:38px;height:38px;border-radius:8px;
    background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.22);color:#fff;
  }
  .app-dialog:has(.test-language-grid) .app-dialog-body{padding:22px;background:linear-gradient(180deg,#fff,#f6f9fe);}
  .app-dialog:has(.test-language-grid) .test-language-intro{
    margin:0 0 16px;padding:0;background:transparent;border:0;text-align:left;gap:4px;
  }
  .app-dialog:has(.test-language-grid) .test-language-intro strong{font-size:15px;color:#0b2d66;}
  .app-dialog:has(.test-language-grid) .test-language-intro span{font-size:12px;color:#637896;}
  .app-dialog:has(.test-language-grid) .test-language-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0;}
  .app-dialog:has(.test-language-grid) .test-language-grid button{
    min-height:104px;padding:16px;
    border:1px solid #cbd8e9;border-radius:10px;
    background:#fff;color:#0b2d66;
    box-shadow:0 8px 20px rgba(8,42,86,.055);
    transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
  }
  .app-dialog:has(.test-language-grid) .test-language-grid button>b{
    width:48px;height:48px;border-radius:10px;
    background:#edf4ff;color:#0b5db1;border:1px solid #d2e1f4;
  }
  .app-dialog:has(.test-language-grid) .test-language-grid button span strong{font-size:17px;color:#0b2d66;}
  .app-dialog:has(.test-language-grid) .test-language-grid button span small{font-size:11px;color:#6c809d;}
  .app-dialog:has(.test-language-grid) .test-language-grid button>i{color:#ff6b00;}
  .app-dialog:has(.test-language-grid) .test-language-grid button:hover,
  .app-dialog:has(.test-language-grid) .test-language-grid button:focus-visible{
    transform:translateY(-1px);border-color:#ff6b00;box-shadow:0 13px 28px rgba(255,107,0,.14);outline:none;
  }
  .app-dialog:has(.test-language-grid) .test-language-cancel{
    min-height:44px;margin-top:14px;border:1px solid #d6e0ed;border-radius:8px;
    background:#fff;color:#17366c;
  }
}

@media (min-width:901px) and (max-height:720px){
  body.test-mode[data-screen="memorize"] #screen-memorize .test-shell,
  body.test-mode[data-screen="recall"] #screen-recall .test-shell{height:calc(100dvh - 34px);max-height:calc(100dvh - 34px);grid-template-rows:56px 64px minmax(0,1fr);gap:6px;padding-top:6px;}
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-logo,
  body.test-mode[data-screen="recall"] #screen-recall .stage-logo{height:52px;width:150px;}
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-meta,
  body.test-mode[data-screen="recall"] #screen-recall .stage-meta{height:52px;}
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-clock,
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-attempt-box,
  body.test-mode[data-screen="recall"] #screen-recall .stage-clock,
  body.test-mode[data-screen="recall"] #screen-recall .stage-attempt-box,
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-submit,
  body.test-mode[data-screen="recall"] #screen-recall .stage-submit,
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-submit .btn,
  body.test-mode[data-screen="recall"] #screen-recall .stage-submit .btn{height:52px;min-height:52px;}
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-info,
  body.test-mode[data-screen="recall"] #screen-recall .stage-info{height:59px;min-height:59px;padding:6px 14px;}
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-info-line,
  body.test-mode[data-screen="recall"] #screen-recall .stage-info-line{font-size:15px;line-height:1.15;}
  body.test-mode[data-screen="memorize"] #screen-memorize .stage-security,
  body.test-mode[data-screen="recall"] #screen-recall .stage-security{font-size:13px;gap:12px;}
  body.test-mode[data-screen="memorize"] #screen-memorize .memory-row,
  body.test-mode[data-screen="recall"] #screen-recall .recall-row{grid-template-rows:36px minmax(0,1fr);padding:10px 12px;}
  body.test-mode[data-screen="memorize"] #screen-memorize .memory-row header strong,
  body.test-mode[data-screen="recall"] #screen-recall .recall-row header strong{font-size:16px;}
  body.test-mode[data-screen="memorize"] #screen-memorize .memory-word{font-size:19px;padding:2px 4px;grid-template-columns:30px minmax(0,1fr);gap:6px;}
  body.test-mode[data-screen="memorize"] #screen-memorize .memory-word .idx{font-size:15px;}
  body.test-mode[data-screen="recall"] #screen-recall .recall-item{grid-template-columns:36px minmax(0,1fr);gap:6px;}
  body.test-mode[data-screen="recall"] #screen-recall .recall-item .idx{font-size:15px;}
  body.test-mode[data-screen="recall"] #screen-recall .recall-answer{font-size:17px;line-height:normal;padding:0 6px;text-align:center;}
  body.test-mode[data-screen="memorize"] #screen-memorize .secure-stage-footer,
  body.test-mode[data-screen="recall"] #screen-recall .secure-stage-footer{height:34px;min-height:34px;max-height:34px;}
}

@media (min-width:901px) and (max-height:650px){
  :root{--v46-header:62px;--v46-footer:34px;--v46-rail:218px;}
  body.app-flow:not(.test-mode) .app-header{grid-template-columns:150px minmax(240px,1fr) auto 56px 56px 72px;padding:5px 14px;}
  body.app-flow:not(.test-mode) .app-brand{height:43px;width:140px;}
  body.app-flow:not(.test-mode) .desktop-progress{top:70px;bottom:42px;left:10px;padding:9px 8px;}
  .desktop-progress-head{padding-bottom:6px;}.desktop-progress ol{gap:0;margin:5px 0;}
  .desktop-progress li{min-height:28px;padding:2px 6px;grid-template-columns:24px 1fr;}
  .desktop-progress li i{width:21px;height:21px;font-size:9.9px;}.desktop-progress li small{display:none;}
  .desktop-progress-note{padding:5px;}.desktop-progress-note small{display:none;}
  body.app-flow:not(.test-mode) main.main{left:calc(var(--v46-rail) + 20px);}
  body.app-flow:not(.test-mode) .screen{padding:9px 12px;}
  #screen-email .email-verified-card{padding:18px 26px;}
  #screen-email .email-verified-head{margin-bottom:14px;}#screen-email .email-verified-head h2{font-size:30px;}#screen-email .email-verified-head p{margin-top:5px;font-size:12px;}
  #screen-email .resume-student{min-height:145px;padding:16px 18px 16px 118px;gap:10px;}
  #screen-email .email-resume-avatar{left:18px;width:78px;height:78px;}#screen-email .email-resume-avatar svg{width:58px;height:58px;}
  #screen-email .resume-student>div:first-of-type strong{font-size:18px;}#screen-email .resume-student>div:first-of-type small{font-size:12px;}
  #screen-email .resume-student .actions{gap:10px;}#screen-email .resume-student .actions .btn{min-height:46px;font-size:12px;padding:0 18px;}
  #screen-email #resumeContinueBtn{min-width:180px;}#screen-email #resumeAnotherEmailBtn{min-width:250px;}
  #screen-email .verify-email-notice{margin-top:16px;padding:13px 0;grid-template-columns:36px 1fr;gap:12px;}#screen-email .verify-email-notice-icon{width:32px;height:32px;}#screen-email .verify-email-notice-icon svg{width:29px;height:29px;}#screen-email .verify-email-notice p{font-size:12px;}
  #screen-email .verify-trust-strip{margin-top:14px;}#screen-email .verify-trust-strip>div{grid-template-columns:42px 1fr;gap:8px;padding:0 16px;}#screen-email .verify-trust-strip b{width:38px;height:38px;}#screen-email .verify-trust-strip b svg{width:36px;height:36px;}#screen-email .verify-trust-strip strong{font-size:11px;}#screen-email .verify-trust-strip small{font-size:10px;}
  
  
  #screen-rules .rules-item{min-height:61px;}
  #screen-rules .rules-visual{height:42px;}
}

/* V57 DEVICE CHECK — authoritative desktop reference implementation.
   Root/original stylesheet only. This replaces the previous Device Check desktop block in place.
   LOCK: desktop Device Check content only; mobile, header, footer, shared progress rail and other pages are untouched. */
.device-head-icon{display:none;}
@media (min-width:901px){
  #screen-device.device-root.active:not([hidden]){
    position:relative;inset:auto;top:auto;left:auto;right:auto;bottom:auto;
    width:calc(100% - 28px);height:calc(100% - 20px);max-width:none;min-height:0;
    margin:10px 14px;padding:16px 18px 12px;display:grid;
    grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;gap:12px;
    align-items:start;align-content:start;background:#fff;border:1px solid #d5e0ec;border-radius:18px;
    box-shadow:0 12px 34px rgba(7,35,76,.075);overflow:hidden
  ;}
  #screen-device .device-head{
    position:static;top:auto;left:auto;right:auto;bottom:auto;z-index:auto;
    display:grid;grid-template-columns:52px minmax(0,1fr);grid-template-rows:auto auto;
    column-gap:14px;row-gap:2px;align-items:center;width:100%;min-width:0;
    margin:0;padding:0;text-align:left;background:transparent;border:0;box-shadow:none
  ;}
  #screen-device .device-head-icon{
    grid-column:1;grid-row:1/3;width:48px;height:48px;display:grid;place-items:center;
    color:#082d61;background:transparent;border:0;border-radius:0
  ;}
  #screen-device .device-head-icon svg{width:46px;height:46px;display:block;}
  #screen-device .device-step{display:none;}
  #screen-device .device-head h2{
    grid-column:2;grid-row:1;margin:0;padding:0;
    font:800 clamp(24px,2vw,32px)/1.04 Montserrat,Manrope,sans-serif;
    letter-spacing:-.035em;color:#08285d;white-space:normal
  ;}
  #screen-device .device-head p{
    grid-column:2;grid-row:2;margin:3px 0 0;padding:0;
    font-size:clamp(10px,.82vw,13px);line-height:1.25;color:#5f7392
  ;}
  #screen-device .device-panel{
    position:static;inset:auto;width:100%;height:auto;max-height:none;min-height:0;
    margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);
    grid-template-rows:auto auto auto;gap:10px;align-items:start;align-content:start;
    background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible
  ;}
  #screen-device .device-panel-section,
  #screen-device .device-panel-section[hidden]{
    position:static;inset:auto;display:block!important;width:100%;height:auto;min-height:0;
    margin:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible
  ;}
  #screen-device .device-panel-section[data-device-panel="0"] .reference-panel-heading,
  #screen-device .device-panel-section[data-device-panel="1"] .reference-panel-heading{display:none;}
  #screen-device .device-grid{
    display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto;
    width:100%;height:auto;min-height:0;margin:0;padding:0;gap:12px
  ;}
  #screen-device .device-check{
    position:relative;min-width:0;width:auto;height:clamp(76px,12.2vh,120px);min-height:76px;
    margin:0;padding:clamp(10px,1.05vw,16px);display:grid;
    grid-template-columns:clamp(46px,3.8vw,60px) minmax(0,1fr);grid-template-rows:auto auto;
    gap:2px clamp(10px,.9vw,14px);align-content:center;align-items:center;justify-items:stretch;text-align:left;
    background:#fff;border:1px solid #d5dfeb;border-radius:13px;
    box-shadow:0 2px 7px rgba(7,35,76,.018);overflow:hidden
  ;}
  #screen-device .device-check-icon{
    grid-column:1;grid-row:1/3;width:clamp(46px,3.8vw,60px);height:clamp(46px,3.8vw,60px);
    display:grid;place-items:center;margin:0;padding:0;border:1px solid #dce5ef;border-radius:50%;
    background:#f8fbff;color:#0b56a9;box-shadow:none
  ;}
  #screen-device .device-check-icon svg{width:clamp(27px,2.15vw,35px);height:clamp(27px,2.15vw,35px);}
  #screen-device .device-check.warn .device-check-icon{border-color:#ffd9bc;background:#fff8f1;color:#ff681c;}
  #screen-device .device-check strong{
    grid-column:2;grid-row:1;align-self:end;min-width:0;margin:0;padding:0;
    font-size:clamp(10.5px,.82vw,13.5px);line-height:1.16;font-weight:800;
    letter-spacing:-.01em;color:#08285d;white-space:normal
  ;}
  #screen-device .device-check span{
    grid-column:2;grid-row:2;align-self:start;display:flex;align-items:center;gap:7px;
    width:max-content;max-width:100%;margin:4px 0 0;padding:0;background:transparent;border:0;border-radius:0;
    color:#07933f;font-size:clamp(11px,.88vw,14px);line-height:1.15;font-weight:800;white-space:normal
  ;}
  #screen-device .device-check span::before{
    content:"";flex:0 0 9px;width:9px;height:9px;border-radius:50%;background:#0aa34b
  ;}
  #screen-device .device-check.warn span{color:#f05a10;background:transparent;}
  #screen-device .device-check.warn span::before{background:#ff681c;}
  #screen-device .device-panel-section[data-device-panel="2"]{
    width:100%;min-height:0;margin:2px 0 0;padding:10px 16px 8px;
    border:1px solid #86b6ef;border-radius:11px;
    background:linear-gradient(180deg,#fcfdff,#f8fbff);box-shadow:none;overflow:hidden
  ;}
  #screen-device .device-panel-section[data-device-panel="2"] .reference-panel-heading{
    display:flex;align-items:center;gap:10px;width:100%;margin:0 0 3px;padding:0 0 7px;
    border-bottom:1px solid #d4e1ef;background:transparent
  ;}
  #screen-device .device-panel-section[data-device-panel="2"] .reference-panel-heading::before{
    content:"i";width:20px;height:20px;flex:0 0 20px;display:grid;place-items:center;
    border-radius:50%;background:#0a4f9c;color:#fff;font:800 12px/1 Manrope,sans-serif
  ;}
  #screen-device .device-panel-section[data-device-panel="2"] .reference-panel-heading small{display:none;}
  #screen-device .device-panel-section[data-device-panel="2"] .reference-panel-heading h3{
    margin:0;padding:0;font:800 clamp(13px,1vw,16px)/1.15 Montserrat,Manrope,sans-serif;color:#08285d
  ;}
  #screen-device .device-warning{display:none!important;}
  #screen-device .device-consents{
    display:grid;grid-template-columns:minmax(0,1fr);gap:0;width:100%;margin:0;padding:0
  ;}
  #screen-device .device-consent{
    position:relative;width:100%;min-height:clamp(27px,4.1vh,42px);margin:0;padding:5px 7px;
    display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;align-items:center;
    border:0;border-bottom:1px solid #dbe5f0;border-radius:0;background:transparent;box-shadow:none;
    color:#153a68;font-size:clamp(9px,.74vw,12px);line-height:1.22;font-weight:600;cursor:pointer
  ;}
  #screen-device .device-consent:last-child{border-bottom:0;}
  #screen-device .device-consent-icon{
    grid-column:1;display:grid;width:18px;height:18px;place-items:center;margin:0;padding:0;
    border:1px solid #7fa3cd;border-radius:50%;background:#fff;color:transparent;
    font-size:11px;line-height:1;box-shadow:none
  ;}
  #screen-device .device-consent:has(input:checked) .device-consent-icon{
    border-color:#0b4f99;background:#0b4f99;color:#fff
  ;}
  #screen-device .device-consent input{
    position:absolute;width:1px;height:1px;margin:0;
    opacity:0!important;pointer-events:none;appearance:none;}
  #screen-device .device-consent>span:last-child{grid-column:2;min-width:0;}
  #screen-device .device-desktop-actions{
    position:static;inset:auto;z-index:auto;width:100%;display:grid;
    grid-template-columns:clamp(210px,23%,276px) minmax(0,1fr) clamp(285px,31%,355px);
    gap:14px;margin:0;padding:0;align-items:center;background:transparent;border:0;box-shadow:none
  ;}
  #screen-device .device-desktop-actions button{
    position:relative;min-height:clamp(40px,5.5vh,64px);height:clamp(40px,5.5vh,64px);
    margin:0;padding:0 20px;border-radius:9px;font-size:clamp(10px,.9vw,14px);font-weight:800;
    line-height:1.1;cursor:pointer;transform:none
  ;}
  #screen-device .device-desktop-actions .btn-secondary{
    grid-column:1;display:flex;align-items:center;justify-content:center;gap:12px;
    background:#fff;border:1px solid #cbd9e8;color:#08285d;box-shadow:none
  ;}
  #screen-device .device-desktop-actions .btn-secondary::before{
    content:"←";width:24px;height:24px;flex:0 0 24px;display:grid;place-items:center;
    border:1px solid #9eb4cf;border-radius:50%;font-size:14px;font-weight:600
  ;}
  #screen-device .device-desktop-actions .btn-primary{
    grid-column:3;display:flex;align-items:center;justify-content:center;gap:12px;
    background:linear-gradient(100deg,#ff7418,#f4510b);color:#fff;border:0;
    box-shadow:0 8px 18px rgba(240,86,15,.18)
  ;}
}

/* V51 DESKTOP ONLY — Selection ID reference-match redesign.
   Scope lock: #screen-id + min-width:901px only. Header, footer, mobile and other screens remain untouched. */
@media (min-width:901px){
  #screen-id{
    padding-top:10px;
    padding-bottom:10px;
  }
  #screen-id .selection-id-shell{
    --id-media-col:clamp(238px,22.2vw,286px);
    width:min(1290px,100%);
    height:100%;
    max-height:100%;
    min-height:0;
    margin:0 auto;
    display:grid;
    grid-template-rows:minmax(0,1fr) auto;
    gap:0;
    position:relative;
    background:#fff;
    border:1px solid #d8e2ef;
    border-radius:17px;
    box-shadow:0 14px 38px rgba(7,35,76,.09);
    overflow:hidden;
  }
  #screen-id .selection-id-intro{display:none;}
  #screen-id .selection-id-card{
    min-height:0;
    height:100%;
    display:grid;
    grid-template-columns:var(--id-media-col) minmax(0,1fr);
    gap:0;
    padding:0;
    border:0;
    border-radius:0;
    box-shadow:none;
    overflow:hidden;
    background:#fff;
  }
  #screen-id .selection-id-card::before{display:none;}
  #screen-id .selection-id-media{
    min-width:0;
    min-height:0;
    height:100%;
    padding:28px 24px;
    display:grid;
    align-content:stretch;
    justify-items:center;
    background:linear-gradient(180deg,#072f68 0%,#082b5e 55%,#06275a 100%);
  }
  #screen-id .selection-id-media-row{
    width:100%;
    height:100%;
    min-height:0;
    display:grid;
    grid-template-columns:1fr;
    align-content:space-evenly;
    justify-items:center;
    gap:0;
  }
  #screen-id .selection-id-photo-wrap,
  #screen-id .selection-id-qr-wrap{
    width:min(100%,210px);
    display:grid;
    justify-items:center;
  }
  #screen-id .selection-id-photo-frame,
  #screen-id .selection-id-qr-frame{
    width:clamp(156px,18.5vh,205px);
    height:clamp(156px,18.5vh,205px);
    aspect-ratio:1;
    margin:0;
    padding:7px;
    border:1px solid rgba(255,255,255,.82);
    border-radius:13px;
    background:#fff;
    box-shadow:0 12px 28px rgba(1,17,42,.23);
    overflow:hidden;
  }
  #screen-id .selection-id-photo-frame img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center 18%;
    border-radius:9px;
  }
  #screen-id .selection-id-qr-frame{
    
    grid-template-rows:minmax(0,1fr);
    place-items:center;
  }
  #screen-id .selection-id-qr-frame img{
    display:block;
    width:100%;
    height:100%;
    min-width:0;
    min-height:0;
    object-fit:contain;
    border-radius:7px;
  }
  #screen-id .selection-id-verified,
  #screen-id .selection-id-qr-label,
  #screen-id .selection-id-media-title{display:none;}

  #screen-id .selection-id-details{
    min-width:0;
    min-height:0;
    padding:28px 36px 88px;
    display:grid;
    grid-template-rows:auto auto minmax(0,1fr) auto;
    align-content:stretch;
    background:#fff;
  }
  #screen-id .selection-id-kicker{
    display:block;
    margin:0;
    color:#0b2f63;
    font:800 14px/1.2 Montserrat,Manrope,sans-serif;
    letter-spacing:.01em;
  }
  #screen-id .selection-id-id{
    margin:8px 0 18px;
    padding:0 0 18px;
    border-bottom:1px solid #d9e3ef;
    color:#082e62;
    font:800 clamp(35px,3.3vw,46px)/1 Montserrat,Manrope,sans-serif;
    letter-spacing:.015em;
    word-break:break-word;
  }
  #screen-id .selection-id-grid{
    min-height:0;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    grid-template-rows:repeat(2,minmax(72px,1fr));
    gap:0;
    border:0;
    border-radius:0;
    overflow:visible;
  }
  #screen-id .selection-id-cell{
    position:relative;
    min-width:0;
    min-height:0;
    padding:16px 16px 16px 54px;
    display:grid;
    align-content:center;
    gap:3px;
    background:#fff;
    border:0;
    border-right:1px solid #dce5f0;
    border-bottom:1px solid #dce5f0;
    border-radius:0;
  }
  #screen-id .selection-id-cell:nth-child(3n){border-right:0;}
  #screen-id .selection-id-cell:nth-last-child(-n/**/+3){border-bottom:0;}
  #screen-id .selection-id-cell::before,
  #screen-id .selection-id-footer-item::before{
    content:"";
    position:absolute;
    left:15px;
    top:50%;
    width:25px;
    height:25px;
    transform:translateY(-50%);
    background-repeat:no-repeat;
    background-position:center;
    background-size:contain;
  }
  #screen-id .selection-id-cell:nth-child(1)::before{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23082e62' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
  }
  #screen-id .selection-id-cell:nth-child(2)::before{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23082e62' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
  }
  #screen-id .selection-id-cell:nth-child(3)::before{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23082e62' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a15 15 0 0 1 0 18M12 3a15 15 0 0 0 0 18'/%3E%3C/svg%3E");
  }
  #screen-id .selection-id-cell:nth-child(4)::before{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23082e62' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
  }
  #screen-id .selection-id-cell:nth-child(5)::before{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23082e62' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
  }
  #screen-id .selection-id-cell:nth-child(6)::before{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23082e62' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E");
  }
  #screen-id .selection-id-cell small,
  #screen-id .selection-id-footer-item small{
    display:block;
    margin:0;
    color:#173b69;
    font-size:11px;
    line-height:1.15;
    font-weight:500;
    letter-spacing:0;
  }
  #screen-id .selection-id-cell strong{
    display:block;
    min-width:0;
    margin:2px 0 0;
    color:#0b2f63;
    font-size:16px;
    line-height:1.2;
    font-weight:800;
    word-break:break-word;
  }

  #screen-id .selection-id-footer{
    margin:0;
    padding:12px 0 0;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:0;
    border-top:1px solid #dce5f0;
  }
  #screen-id .selection-id-footer-item{
    position:relative;
    min-width:0;
    min-height:62px;
    padding:10px 14px 10px 54px;
    display:grid;
    align-content:center;
    gap:3px;
    background:#fff;
    border:0;
    border-right:1px solid #dce5f0;
    border-radius:0;
  }
  #screen-id .selection-id-footer-item:last-child{border-right:0;}
  #screen-id .selection-id-footer-item:nth-child(1)::before{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23082e62' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E");
  }
  #screen-id .selection-id-footer-item:nth-child(2)::before{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23082e62' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  }
  #screen-id .selection-id-footer-item:nth-child(3)::before{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231aa33d' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 2.5 2.5L16 9'/%3E%3C/svg%3E");
  }
  #screen-id .selection-id-footer-item strong{
    display:block;
    margin:2px 0 0;
    color:#0b2f63;
    font-size:16px;
    line-height:1.2;
    font-weight:800;
    word-break:break-word;
  }
  #screen-id .selection-id-footer-item:last-child strong{color:#149334;}

  #screen-id .selection-id-warning{
    position:absolute;
    z-index:3;
    left:calc(var(--id-media-col) + 22px);
    right:22px;
    bottom:82px;
    min-height:58px;
    margin:0;
    padding:11px 16px 11px 58px;
    display:flex;
    align-items:center;
    gap:8px;
    border:1px solid #9bc2fb;
    border-radius:10px;
    background:#f5f9ff;
    color:#163c70;
    font-size:11px;
    line-height:1.42;
  }
  #screen-id .selection-id-warning::before{
    content:"i";
    position:absolute;
    left:18px;
    top:50%;
    width:24px;
    height:24px;
    transform:translateY(-50%);
    display:grid;
    place-items:center;
    border:2px solid #1458d6;
    border-radius:50%;
    color:#1458d6;
    font:800 14px/1 Montserrat,Manrope,sans-serif;
  }
  #screen-id .selection-id-warning strong{
    color:#0b2f63;
    white-space:nowrap;
  }

  #screen-id .selection-id-actions{
    margin-top:10px;
    padding:12px 20px 16px;
    display:grid;
    grid-template-columns:.8fr 1.06fr .94fr 1.7fr;
    gap:16px;
    border-top:1px solid #dce5f0;
    background:#fff;
  }
  #screen-id .selection-id-actions .btn{
    position:relative;
    min-height:50px;
    border-radius:8px;
    border-width:1px;
    font-size:13px;
    font-weight:800;
    box-shadow:none;
    cursor:pointer;
    pointer-events:auto;
  }
  #screen-id .selection-id-actions .btn-secondary{
    border-color:#7698d7;
    background:#fff;
    color:#164ab8;
  }
  #screen-id .selection-id-actions .btn-secondary:hover{background:#f5f8ff;}
  #screen-id .selection-id-actions .btn-primary{
    border-color:#ff5b0a;
    background:linear-gradient(180deg,#ff6513 0%,#ff5300 100%);
    color:#fff;
  }
  #screen-id .selection-id-actions .action-edit-profile,
  #screen-id .selection-id-actions .action-download-id,
  #screen-id .selection-id-actions .action-change-photo{padding-left:42px;}
  #screen-id .selection-id-actions .action-edit-profile::before,
  #screen-id .selection-id-actions .action-download-id::before,
  #screen-id .selection-id-actions .action-change-photo::before{
    content:"";
    position:absolute;
    left:20px;
    top:50%;
    width:19px;
    height:19px;
    transform:translateY(-50%);
    background-repeat:no-repeat;
    background-position:center;
    background-size:contain;
  }
  #screen-id .selection-id-actions .action-edit-profile::before{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23164ab8' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E");
  }
  #screen-id .selection-id-actions .action-download-id::before{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23164ab8' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E");
  }
  #screen-id .selection-id-actions .action-change-photo::before{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23164ab8' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='m21 15-5-5L5 20'/%3E%3C/svg%3E");
  }
}

/* V51 short-height desktop compaction — still isolated to Selection ID only. */
@media (min-width:901px) and (max-height:760px){
  #screen-id .selection-id-shell{--id-media-col:clamp(218px,21vw,258px);}
  #screen-id .selection-id-media{padding:16px 20px;}
  #screen-id .selection-id-media-row{gap:0;}
  #screen-id .selection-id-photo-frame,
  #screen-id .selection-id-qr-frame{width:clamp(132px,17vh,165px);height:clamp(132px,17vh,165px);}
  #screen-id .selection-id-details{padding:18px 28px 66px;}
  #screen-id .selection-id-kicker{font-size:12px;}
  #screen-id .selection-id-id{margin:6px 0 10px;padding-bottom:11px;font-size:clamp(30px,3vw,39px);}
  #screen-id .selection-id-grid{grid-template-rows:repeat(2,minmax(58px,1fr));}
  #screen-id .selection-id-cell{padding:10px 12px 10px 48px;}
  #screen-id .selection-id-cell::before,
  #screen-id .selection-id-footer-item::before{left:13px;width:22px;height:22px;}
  #screen-id .selection-id-cell small,
  #screen-id .selection-id-footer-item small{font-size:9px;}
  #screen-id .selection-id-cell strong,
  #screen-id .selection-id-footer-item strong{font-size:13px;}
  #screen-id .selection-id-footer{padding-top:7px;}
  #screen-id .selection-id-footer-item{min-height:48px;padding:6px 10px 6px 48px;}
  #screen-id .selection-id-warning{bottom:59px;min-height:46px;padding-top:7px;padding-bottom:7px;font-size:9px;}
  #screen-id .selection-id-actions{margin-top:7px;padding:8px 16px 10px;gap:10px;}
  #screen-id .selection-id-actions .btn{min-height:40px;font-size:11px;}
}

/* V51 narrower desktop safety — keeps the same reference flow without crossing into mobile CSS. */
@media (min-width:901px) and (max-width:1180px){
  #screen-id .selection-id-shell{--id-media-col:clamp(210px,23vw,248px);}
  #screen-id .selection-id-media{padding-left:18px;padding-right:18px;}
  #screen-id .selection-id-details{padding-left:24px;padding-right:24px;}
  #screen-id .selection-id-id{font-size:clamp(31px,3.4vw,40px);}
  #screen-id .selection-id-cell{padding-left:46px;padding-right:10px;}
  #screen-id .selection-id-cell::before,
  #screen-id .selection-id-footer-item::before{left:12px;width:22px;height:22px;}
  #screen-id .selection-id-actions{gap:9px;padding-left:14px;padding-right:14px;}
  #screen-id .selection-id-actions .btn{font-size:11px;}
}

.rules-reference-icon{display:none;}
/* V80 IMPORTANT RULES — single authoritative desktop implementation.
   Root alignment refinement: card breathing room, inset action row, compact consent/action widths.
   Scope: desktop Important Rules only. Mobile <=900px, header, footer, progress rail and other pages remain untouched. */
@media (min-width:901px){
  #screen-rules.rules-root-final.active:not([hidden]){
    width:calc(100% - 28px);max-width:none;height:calc(100% - 20px);min-height:0;
    margin:10px 14px;padding:20px 28px 18px;overflow:hidden;
    display:grid;grid-template-columns:minmax(0,1.45fr) minmax(210px,.72fr) minmax(300px,1fr);
    grid-template-rows:auto auto minmax(0,1fr) auto;gap:12px 16px;align-content:stretch;
    background:#fff;border:1px solid #d7e2ef;border-radius:18px;box-shadow:0 12px 34px rgba(7,35,76,.075)
  ;}
  #screen-rules .rules-head{grid-column:1/-1;grid-row:1;display:block!important;position:static;margin:0;padding:0 8px;text-align:left;}
  #screen-rules .rules-step{display:none!important;}
  #screen-rules .rules-head h2{margin:0;font:800 clamp(30px,2.8vw,44px)/1.04 Montserrat,Manrope,sans-serif;color:#0b2d66;letter-spacing:-.04em;}
  #screen-rules .rules-head p{margin:7px 0 0;font:600 clamp(11px,1vw,15px)/1.35 Manrope,Arial,sans-serif;color:#4e6790;max-width:760px;}
  #screen-rules .rules-tabs{grid-column:1/-1;grid-row:2;display:flex!important;justify-content:flex-start;align-items:center;gap:6px;margin:0;padding:2px 8px 0;border:0;background:transparent;box-shadow:none;}
  #screen-rules .rules-tab{min-width:180px;min-height:48px;padding:0 18px;border:1px solid var(--line-strong);border-radius:10px;background:var(--surface);color:var(--ink);font:800 14px/1 Manrope,Arial,sans-serif;box-shadow:none;}
  #screen-rules #fairTab{min-width:250px;}
  #screen-rules .rules-tab.active{background:linear-gradient(135deg,#ff7813,#f05b0b);color:#fff;border-color:#f05b0b;}
  #screen-rules .rules-board{grid-column:1/-1;grid-row:3;position:static;width:100%;height:100%;min-height:0;margin:0;padding:16px 8px 8px;overflow:hidden;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(94px,1fr));column-gap:14px;row-gap:16px;border:0;border-top:1px solid var(--line-strong);border-radius:0;background:var(--surface);box-shadow:none;}
  #screen-rules.rules-desktop-unified .rules-pane.active{display:contents!important;height:auto;min-height:0;margin:0;padding:0;border:0;}
  #screen-rules.rules-desktop-unified .rules-pane[hidden]{display:none!important;}
  #screen-rules .rules-panel-heading{display:none!important;}
  #screen-rules .rules-list{display:contents!important;}
  #screen-rules .rules-item{min-width:0;min-height:94px;height:100%;display:grid!important;grid-template-columns:94px minmax(0,1fr);gap:14px;align-items:center;align-content:center;margin:0;padding:12px 16px;border:1px solid #dce5f0;border-radius:14px;background:#fff;box-shadow:none;transform:none;}
  #screen-rules .rules-visual{width:78px;min-width:78px;height:78px;display:grid!important;grid-template-rows:1fr;place-items:center;align-self:center;margin:0;padding:0;border:0;border-radius:50%;background:var(--blue-100);color:var(--blue-600);overflow:visible;}
  #screen-rules .rules-visual svg{width:46px;height:46px;margin:0;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
  #screen-rules .rules-visual .rules-legacy-icon{display:none!important;}
  #screen-rules .rules-visual .rules-reference-icon{display:block!important;}
  #screen-rules .rules-number{display:none!important;}
  #screen-rules .rules-copy{display:block;min-width:0;align-self:center;}
  #screen-rules .rules-copy strong{display:block;margin:0 0 6px;font:800 clamp(14px,1.2vw,18px)/1.12 Manrope,Arial,sans-serif;color:#0c2c66;letter-spacing:-.02em;}
  #screen-rules .rules-copy small{display:block;margin:0;font:800 clamp(12px,1.05vw,16px)/1.18 Manrope,Arial,sans-serif;color:#ff5f0a;}
  #screen-rules .rules-item-memorization .rules-copy small{white-space:nowrap;font-size:clamp(11px,.98vw,15px);}
  #screen-rules .rules-copy em{display:block!important;margin:6px 0 0;font-style:normal;font:600 clamp(9px,.86vw,12px)/1.42 Manrope,Arial,sans-serif;color:#4d6890;}
  #screen-rules [data-rules-mode="fair"] .rules-visual{color:var(--blue-600);background:var(--surface-soft);border-radius:12px;border:1px solid var(--line-strong);}
  #screen-rules [data-rules-mode="fair"] .rules-copy small{font-weight:600;color:#4d6890;}
  #screen-rules .rules-consent-card{grid-column:1;grid-row:4;display:flex!important;align-items:center;gap:10px;width:calc(100% - 8px);max-width:360px;min-width:0;height:54px;min-height:54px;margin:0 0 0 8px;padding:8px 12px;border:1px solid #a9c9ff;border-radius:10px;background:#fff;box-shadow:none;}
  #screen-rules .rules-consent-card::before{display:none!important;content:none;}
  #screen-rules .rules-consent-card input{position:static;opacity:1!important;pointer-events:auto;grid-column:auto;grid-row:auto;width:20px;height:20px;margin:1px 0 0;accent-color:#0d55ff;flex:0 0 auto;}
  #screen-rules .rules-consent-card span{grid-column:auto;grid-row:auto;min-width:0;}
  #screen-rules .rules-consent-card strong{display:none!important;}
  #screen-rules .rules-consent-card small{display:block;font:600 clamp(9px,.78vw,11px)/1.45 Manrope,Arial,sans-serif;color:#16315e;}
  #screen-rules .rules-consent-card[hidden]{display:none!important;}
  #screen-rules.rules-mode-format #rulesConsentCard{display:none!important;}
  #screen-rules.rules-mode-fair #rulesConsentCard:not([hidden]){display:flex!important;}
  #screen-rules.rules-mode-format .rules-desktop-actions{grid-column:1/-1;grid-template-columns:210px 300px;justify-content:space-between;margin:0 8px;}
  #screen-rules.rules-mode-fair .rules-desktop-actions{grid-column:2/-1;grid-template-columns:210px 300px;justify-content:end;margin:0 8px 0 0;}
  #screen-rules .rules-desktop-actions{grid-row:4;display:grid!important;grid-template-columns:210px 300px;gap:14px;align-items:center;margin:0 8px 0 0;padding:0;border:0;background:transparent;box-shadow:none;}
  #screen-rules .rules-desktop-progress{display:none!important;}
  #screen-rules .rules-desktop-back,#screen-rules .rules-desktop-next{width:100%;height:54px;min-height:54px;border-radius:10px;padding:0 18px;font:800 clamp(11px,.95vw,14px)/1 Manrope,Arial,sans-serif;box-shadow:none;transform:none;cursor:pointer;}
  #screen-rules .rules-desktop-back{justify-self:stretch;border:1px solid #99b2d7;background:#fff;color:#17326a;}
  #screen-rules .rules-desktop-next{justify-self:stretch;min-width:0;border:1px solid #f05b0b;background:linear-gradient(135deg,#ff7813,#f05b0b);color:#fff;}
  #screen-rules .rules-desktop-next[disabled]{opacity:.55;cursor:not-allowed;}
}


/* V62 OTP — authoritative desktop reference implementation.
   Root/original stylesheet only. This replaces the V61 OTP desktop block in-place.
   LOCK: #screen-otp desktop content only; mobile, header, footer, shared progress rail and other screens are untouched. */
@media (min-width:901px){
  body[data-screen="otp"] #screen-otp.otp-reference-root.active:not([hidden]){
    position:relative;inset:auto;top:auto;left:auto;right:auto;bottom:auto;
    width:100%;height:100%;min-height:0;max-width:none;margin:0;padding:12px 16px;
    display:flex;align-items:stretch;justify-content:stretch;background:transparent;overflow:hidden;
  }
  #screen-otp .otp-minimal-shell{
    width:100%;height:100%;min-height:0;max-width:none;margin:0;
    display:block;place-items:initial;grid-template-columns:none;gap:0;
  }
  #screen-otp .otp-minimal-card{
    position:relative;width:100%;height:100%;min-height:0;max-width:none;margin:0;
    padding:42px 58px 30px;display:flex;flex-direction:column;justify-content:flex-start;
    border:1px solid #e1e8f1;border-radius:18px;background:#fff;
    box-shadow:0 10px 30px rgba(7,35,76,.055);overflow:hidden;
  }
  #screen-otp .otp-minimal-card::before{display:none!important;content:none;}
  #screen-otp .otp-minimal-head{margin:0 0 28px;padding:0;text-align:left;}
  #screen-otp .otp-minimal-head h2{
    margin:0;font:800 clamp(34px,3vw,48px)/1.06 Montserrat,Manrope,sans-serif;
    letter-spacing:-.04em;color:#0a2d66;text-align:left;
  }
  #screen-otp .otp-code-sent-line{
    margin:16px 0 0;font:600 17px/1.4 Manrope,Arial,sans-serif;color:#536b91;text-align:left;
  }
  #screen-otp #otpCodePanel{display:inline!important;margin:0;padding:0;border:0;background:transparent;color:inherit;}
  #screen-otp #otpDisplay:not([hidden]){display:inline;margin-left:10px;padding:3px 8px;border-radius:5px;background:#fff2e7;color:#f05f0b;font-weight:800;}
  #screen-otp .otp-boxes{
    width:min(850px,100%);display:grid;grid-template-columns:repeat(6,minmax(72px,1fr));gap:34px;
    margin:0 0 22px;padding:0;
  }
  #screen-otp .otp-boxes input:not(.otp-mobile-native-input){
    width:100%;height:98px;min-height:98px;padding:0;border:1px solid #d4deeb;border-radius:10px;
    background:#fff;color:#0a2d66;text-align:center;font:800 30px/1 Montserrat,Manrope,sans-serif;
    box-shadow:none;outline:none;
  }
  #screen-otp .otp-boxes input:not(.otp-mobile-native-input):focus{
    border:2px solid #ff650f;box-shadow:none;background:#fff;
  }
  #screen-otp .otp-expiry-line{
    width:min(850px,100%);margin:0 0 28px;font:600 16px/1.4 Manrope,Arial,sans-serif;color:#4c648c;
  }
  #screen-otp .otp-expiry-line span{display:inline-flex;align-items:center;gap:8px;}
  #screen-otp .otp-minimal-actions{
    width:min(660px,100%);display:grid!important;grid-template-columns:minmax(300px,1.2fr) minmax(220px,.85fr);gap:18px;
    margin:0 0 28px;padding:0;
  }
  #screen-otp .otp-minimal-actions button{
    min-height:66px;border-radius:10px;padding:0 24px;font:800 17px/1 Manrope,Arial,sans-serif;
    display:inline-flex;align-items:center;justify-content:center;gap:12px;box-shadow:none;cursor:pointer;
  }
  #screen-otp .otp-verify-btn{
    border:1px solid #f45e08;background:linear-gradient(135deg,#ff7a10,#fa5700);color:#fff;
  }
  #screen-otp .otp-change-email-btn{
    border:1px solid #d2ddea;background:#fff;color:#0c2d66;
  }
  #screen-otp .otp-action-icon{font-size:20px;line-height:1;}
  #screen-otp .otp-resend-zone{
    width:min(850px,100%);padding:24px 0 22px;border-top:1px solid #dbe4ef;display:grid;gap:8px;
  }
  #screen-otp .otp-resend-zone p{margin:0;font:600 16px/1.4 Manrope,Arial,sans-serif;color:#536b91;}
  #screen-otp .otp-resend-btn{
    justify-self:start;margin:0;padding:0;border:0;background:transparent;color:#ff5d0b;
    font:800 16px/1.4 Manrope,Arial,sans-serif;box-shadow:none;min-height:0;border-radius:0;
  }
  #screen-otp .otp-resend-btn.otp-cooldown{color:#ff5d0b;opacity:1;}
  #screen-otp .otp-minimal-note{display:none!important;}
  #screen-otp .otp-minimal-secure{
    width:min(850px,100%);margin:0;padding:16px 20px;border:1px solid #d5dfec;border-radius:10px;
    background:#f8faff;color:#183564;display:flex;align-items:center;gap:14px;
    font:700 15px/1.35 Manrope,Arial,sans-serif;
  }
  #screen-otp .otp-secure-icon{
    width:30px;height:30px;display:grid;place-items:center;flex:0 0 30px;color:#0c3a79;font-size:24px;
  }
  html[data-theme="dark"] #screen-otp .otp-minimal-card{background:#0b1f40;border-color:#294b74;}
  html[data-theme="dark"] #screen-otp .otp-minimal-head h2,html[data-theme="dark"] #screen-otp .otp-change-email-btn,html[data-theme="dark"] #screen-otp .otp-minimal-secure{color:#f5f8ff;}
  html[data-theme="dark"] #screen-otp .otp-code-sent-line,html[data-theme="dark"] #screen-otp .otp-expiry-line,html[data-theme="dark"] #screen-otp .otp-resend-zone p{color:#b9cbe3;}
  html[data-theme="dark"] #screen-otp .otp-boxes input:not(.otp-mobile-native-input),html[data-theme="dark"] #screen-otp .otp-change-email-btn{background:#10294f;border-color:#31577f;color:#f5f8ff;}
  html[data-theme="dark"] #screen-otp .otp-minimal-secure{background:#10294f;border-color:#31577f;}
}

/* Desktop viewport-fit correction for browser-visible heights such as 720–780px.
   It scales only OTP internals; shared header/footer/left progress and mobile CSS are untouched. */
@media (min-width:901px) and (max-height:780px){
  body[data-screen="otp"] #screen-otp.otp-reference-root.active:not([hidden]){padding:10px 12px;}
  #screen-otp .otp-minimal-card{padding:25px 56px 20px;border-radius:16px;}
  #screen-otp .otp-minimal-head{margin-bottom:17px;}
  #screen-otp .otp-minimal-head h2{font-size:36px;line-height:1.03;}
  #screen-otp .otp-code-sent-line{margin-top:10px;font-size:15px;}
  #screen-otp .otp-boxes{width:min(850px,100%);gap:28px;margin-bottom:14px;}
  #screen-otp .otp-boxes input:not(.otp-mobile-native-input){height:72px;min-height:72px;font-size:26px;border-radius:9px;}
  #screen-otp .otp-expiry-line{margin-bottom:16px;font-size:14px;}
  #screen-otp .otp-minimal-actions{width:min(660px,100%);margin-bottom:16px;gap:16px;}
  #screen-otp .otp-minimal-actions button{min-height:54px;font-size:15px;border-radius:9px;}
  #screen-otp .otp-resend-zone{padding:15px 0 13px;gap:4px;}
  #screen-otp .otp-resend-zone p,#screen-otp .otp-resend-btn{font-size:14px;}
  #screen-otp .otp-minimal-secure{padding:10px 16px;border-radius:9px;font-size:13px;gap:10px;}
  #screen-otp .otp-secure-icon{width:26px;height:26px;flex-basis:26px;font-size:20px;}
}

/* V65 PROFILE 3-ROW DESKTOP — SINGLE AUTHORITATIVE ROOT IMPLEMENTATION */
.profile-desktop-only-field{display:none!important;}
.profile-adult-optional{display:none;}
@media (min-width:901px){
  #screen-profile.profile-master-layout{
    padding:clamp(8px,1.2vh,12px) 14px clamp(9px,1.4vh,14px);
    overflow:hidden;
  }
  #screen-profile.profile-master-layout .profile-shell{width:100%;max-width:none;height:100%;margin:0;padding:0;display:block;}
  #screen-profile.profile-master-layout .profile-head{display:none!important;}
  #screen-profile.profile-master-layout .profile-card{
    width:100%;height:100%;min-height:0;margin:0;padding:0;position:relative;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1.08fr) minmax(0,.95fr) minmax(285px,.92fr);
    grid-template-rows:auto repeat(3,minmax(58px,auto)) auto;
    column-gap:14px;row-gap:clamp(12px,2.2vh,20px);
    background:transparent;border:0;box-shadow:none;border-radius:0;overflow:visible;
  }
  #screen-profile.profile-master-layout .profile-card::before{
    content:"";grid-column:1/4;grid-row:1/6;z-index:0;
    border:1px solid #d6e1ed;border-radius:18px;background:#fff;
  }
  #screen-profile.profile-master-layout .profile-body{display:contents!important;}
  #screen-profile.profile-master-layout .profile-panel[hidden]{display:block!important;}
  #screen-profile.profile-master-layout [data-profile-panel="0"],
  #screen-profile.profile-master-layout [data-profile-panel="1"],
  #screen-profile.profile-master-layout [data-profile-panel="0"] .profile-section,
  #screen-profile.profile-master-layout [data-profile-panel="1"] .profile-section,
  #screen-profile.profile-master-layout [data-profile-panel="0"] .profile-grid,
  #screen-profile.profile-master-layout [data-profile-panel="1"] .profile-grid{
    display:contents!important;
  }
  #screen-profile.profile-master-layout [data-profile-panel="0"] .profile-section-title{
    grid-column:1/4;grid-row:1;z-index:1;
    display:grid;grid-template-columns:52px minmax(0,1fr);gap:14px;align-items:center;
    margin:clamp(16px,2.4vh,24px) 26px 0;padding:0;border:0;
  }
  #screen-profile.profile-master-layout [data-profile-panel="0"] .profile-icon-badge{
    width:48px;height:54px;border:0;border-radius:0;background-color:transparent;color:#082e67;box-shadow:none;
    display:grid;place-items:center;background-repeat:no-repeat;background-position:center;background-size:46px 52px;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 56' fill='none'%3E%3Cpath d='M24 3 42 9v14c0 13-7.4 24-18 30C13.4 47 6 36 6 23V9l18-6Z' stroke='%23082e67' stroke-width='3'/%3E%3Ccircle cx='24' cy='20' r='5' fill='%23082e67'/%3E%3Cpath d='M15 37c1.8-7 5.3-10 9-10s7.2 3 9 10' stroke='%23082e67' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  }
  #screen-profile.profile-master-layout [data-profile-panel="0"] .profile-icon-badge svg{display:none!important;}
  #screen-profile.profile-master-layout [data-profile-panel="0"] .profile-mobile-step,
  #screen-profile.profile-master-layout [data-profile-panel="0"] .profile-desktop-section-label{display:none!important;}
  #screen-profile.profile-master-layout [data-profile-panel="0"] .profile-title h3{margin:0;font:800 clamp(20px,2.35vh,24px)/1.12 Manrope,Arial,sans-serif;color:#0b2c65;letter-spacing:-.02em;}
  #screen-profile.profile-master-layout [data-profile-panel="0"] .profile-title p{display:block!important;margin:7px 0 0;font:600 clamp(11px,1.45vh,14px)/1.4 Manrope,Arial,sans-serif;color:#516a91;}
  #screen-profile.profile-master-layout [data-profile-panel="1"] .profile-section-title{display:none!important;}

  #screen-profile.profile-master-layout .profile-desktop-only-field{display:grid!important;}
  #screen-profile.profile-master-layout .field{min-width:0;display:grid;gap:7px;position:relative;z-index:1;align-self:center;}
  #screen-profile.profile-master-layout .field label{margin:0;font:800 clamp(10px,1.28vh,12px)/1.2 Manrope,Arial,sans-serif;color:#142f62;}
  #screen-profile.profile-master-layout .field input,
  #screen-profile.profile-master-layout .field select{
    width:100%;height:clamp(44px,5.5vh,52px);min-height:clamp(44px,5.5vh,52px);padding:0 14px;
    border:1px solid #c8d6e8;border-radius:10px;background:#fff;color:#0d2d62;
    font:600 clamp(11px,1.42vh,13px)/1 Manrope,Arial,sans-serif;box-shadow:none;outline:none;
  }
  #screen-profile.profile-master-layout .field input[readonly]{background:#f7f9fc;color:#17376d;font-weight:800;cursor:default;}
  #screen-profile.profile-master-layout .field input:focus,
  #screen-profile.profile-master-layout .field select:focus{border-color:#6c9de8;box-shadow:0 0 0 3px rgba(47,111,224,.08);}
  #screen-profile.profile-master-layout .profile-required{color:#ff5b13;}
  #screen-profile.profile-master-layout .profile-adult-optional{font-size:9px;font-weight:700;color:#7385a0;}
  #studentProfileForm.profile-adult-category .profile-education-required{display:none!important;}
  #studentProfileForm.profile-adult-category .profile-adult-optional{display:inline!important;}

  /* Three balanced rows: Name/DOB/Category · Class/School/City · Guardian/WhatsApp/State. */
  #screen-profile.profile-master-layout .profile-student-name-field{grid-column:1;grid-row:2;margin-left:26px;}
  #screen-profile.profile-master-layout .field:has(#dob){grid-column:2;grid-row:2;}
  #screen-profile.profile-master-layout .profile-category-field{grid-column:3;grid-row:2;margin-right:26px;}
  #screen-profile.profile-master-layout .field:has(#className){grid-column:1;grid-row:3;margin-left:26px;}
  #screen-profile.profile-master-layout .field:has(#school){grid-column:2;grid-row:3;}
  #screen-profile.profile-master-layout .field:has(#city){grid-column:3;grid-row:3;margin-right:26px;}
  #screen-profile.profile-master-layout .field:has(#parent){grid-column:1;grid-row:4;margin-left:26px;}
  #screen-profile.profile-master-layout .field:has(#phone){grid-column:2;grid-row:4;}
  #screen-profile.profile-master-layout .field:has(#stateName){grid-column:3;grid-row:4;margin-right:26px;}
  #screen-profile.profile-master-layout .field:has(#phone)::before{
    content:"+91  ⌄";position:absolute;left:1px;bottom:1px;height:calc(clamp(44px,5.5vh,52px) - 2px);width:72px;
    display:grid;place-items:center;border-right:1px solid #c8d6e8;border-radius:9px 0 0 9px;
    background:#fff;color:#163565;font:700 clamp(10px,1.28vh,12px)/1 Manrope,Arial,sans-serif;pointer-events:none;z-index:2;
  }
  #screen-profile.profile-master-layout #phone{padding-left:84px;}

  /* Photograph & consent card stays independent on the right. */
  #screen-profile.profile-master-layout [data-profile-panel="2"]{
    grid-column:4;grid-row:1/6;z-index:1;min-width:0;min-height:0;margin:0;
    padding:clamp(16px,2.4vh,24px) 26px clamp(14px,2vh,20px);
    border:1px solid #d6e1ed;border-radius:18px;background:#fff;overflow:hidden;
  }
  #screen-profile.profile-master-layout [data-profile-panel="2"] .profile-photo-brand,
  #screen-profile.profile-master-layout [data-profile-panel="2"] .profile-mobile-step,
  #screen-profile.profile-master-layout [data-profile-panel="2"] .profile-desktop-section-label,
  #screen-profile.profile-master-layout [data-profile-panel="2"] .profile-title p{display:none!important;}
  #screen-profile.profile-master-layout [data-profile-panel="2"] .profile-photo{height:100%;min-height:0;display:flex;flex-direction:column;}
  #screen-profile.profile-master-layout [data-profile-panel="2"] .profile-section-title{
    display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;align-items:center;
    margin:0 0 clamp(10px,1.7vh,16px);padding:0;border:0;flex:0 0 auto;
  }
  #screen-profile.profile-master-layout [data-profile-panel="2"] .profile-icon-badge{
    width:46px;height:52px;border:0;border-radius:0;background-color:transparent;color:#082e67;box-shadow:none;
    background-repeat:no-repeat;background-position:center;background-size:44px 50px;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 56' fill='none'%3E%3Cpath d='M24 3 42 9v14c0 13-7.4 24-18 30C13.4 47 6 36 6 23V9l18-6Z' stroke='%23082e67' stroke-width='3'/%3E%3Ccircle cx='24' cy='20' r='5' fill='%23082e67'/%3E%3Cpath d='M15 37c1.8-7 5.3-10 9-10s7.2 3 9 10' stroke='%23082e67' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  }
  #screen-profile.profile-master-layout [data-profile-panel="2"] .profile-icon-badge svg{display:none!important;}
  #screen-profile.profile-master-layout [data-profile-panel="2"] .profile-title h3{font-size:0;margin:0;color:#0b2c65;}
  #screen-profile.profile-master-layout [data-profile-panel="2"] .profile-title h3::after{content:"Photograph & Consent";font:800 clamp(17px,2.05vh,20px)/1.12 Manrope,Arial,sans-serif;letter-spacing:-.02em;}
  #screen-profile.profile-master-layout .profile-photo-drop{flex:0 0 auto;display:flex;flex-direction:column;gap:10px;align-items:center;min-height:0;height:auto;margin:0;padding:0;border:0;border-radius:0;background:transparent;overflow:visible;}
  #screen-profile.profile-master-layout .profile-photo-drop::before{content:"Student Photograph";align-self:stretch;order:0;margin:0 0 1px;text-align:center;font:800 clamp(10px,1.28vh,12px)/1.2 Manrope,Arial,sans-serif;color:#142f62;}
  #screen-profile.profile-master-layout .profile-photo-preview-panel{order:1;width:min(100%,clamp(182px,25vh,240px));height:clamp(182px,25vh,240px);min-height:clamp(182px,25vh,240px);margin:0 auto;padding:0;border:1px solid #c8d6e8;border-radius:12px;background:#f7f9fc;overflow:hidden;box-shadow:none;}
  #screen-profile.profile-master-layout .profile-photo-preview,
  #screen-profile.profile-master-layout .profile-photo-placeholder{width:100%;height:100%;max-width:none;max-height:none;border-radius:11px;object-fit:cover;position:static;}
  #screen-profile.profile-master-layout .profile-photo-placeholder{display:grid;place-items:center;background:#f4f7fb;color:#8ba1bb;}
  #screen-profile.profile-master-layout .profile-photo-placeholder svg{width:72px;height:72px;}
  #screen-profile.profile-master-layout .profile-photo-copy{order:2;display:flex;justify-content:center;width:100%;text-align:center;}
  #screen-profile.profile-master-layout .profile-upload-icon,
  #screen-profile.profile-master-layout .profile-photo-copy h4,
  #screen-profile.profile-master-layout .profile-photo-copy p{display:none!important;}
  #screen-profile.profile-master-layout .profile-photo-btn{
    position:relative;display:inline-flex;align-items:center;justify-content:center;
    width:auto;min-width:clamp(128px,15vw,148px);height:clamp(38px,4.5vh,42px);min-height:clamp(38px,4.5vh,42px);margin:0 auto;padding:0 17px;
    border:1px solid #2e69dc;border-radius:8px;background:#fff;color:#174fb7;
    font:800 clamp(10px,1.28vh,12px)/1 Manrope,Arial,sans-serif;box-shadow:none;cursor:pointer;
  }
  #screen-profile.profile-master-layout .profile-file-input{position:absolute;inset:0;width:100%;height:100%;opacity:.001;cursor:pointer;}
  #screen-profile.profile-master-layout .profile-consents{flex:1 1 auto;display:grid;align-content:start;grid-template-columns:1fr;gap:clamp(10px,1.6vh,14px);margin:clamp(10px,1.8vh,16px) 0 0;padding:clamp(10px,1.8vh,16px) 0 0;border-top:1px solid #d7e1ed;}
  #screen-profile.profile-master-layout .profile-consents .consent{
    min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;
    display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;align-items:start;
    font:600 clamp(11px,1.6vh,13px)/1.48 Manrope,Arial,sans-serif;color:#173362;
  }
  #screen-profile.profile-master-layout .profile-consents input{width:20px;height:20px;margin:1px 0 0;appearance:auto;opacity:1;visibility:visible;accent-color:#0d55ff;}

  #screen-profile.profile-master-layout .profile-footer{
    grid-column:1/4;grid-row:5;z-index:1;min-height:clamp(64px,8.5vh,80px);margin:0;padding:8px 26px clamp(12px,1.8vh,18px);
    display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:end;
    border:0;background:transparent;box-shadow:none;
  }
  #screen-profile.profile-master-layout .profile-footer-info{display:grid;gap:5px;align-self:center;}
  #screen-profile.profile-master-layout .profile-required-note{display:flex;align-items:center;gap:7px;font:600 clamp(9px,1.18vh,11px)/1.35 Manrope,Arial,sans-serif;color:#324d77;}
  #screen-profile.profile-master-layout .profile-note-icon{display:none;}
  #screen-profile.profile-master-layout .profile-status-wrap{font-size:10px;min-height:0;}
  #screen-profile.profile-master-layout .profile-desktop-actions{display:flex;align-items:center;gap:14px;}
  #screen-profile.profile-master-layout .profile-desktop-actions button{height:clamp(44px,5.7vh,54px);min-height:clamp(44px,5.7vh,54px);padding:0 22px;border-radius:8px;font:800 clamp(10px,1.35vh,13px)/1 Manrope,Arial,sans-serif;box-shadow:none;cursor:pointer;}
  #screen-profile.profile-master-layout .profile-desktop-back{min-width:clamp(166px,15vw,190px);border:1px solid #8fa9cf;background:#fff;color:#163875;}
  #screen-profile.profile-master-layout .profile-desktop-save{min-width:clamp(270px,24vw,310px);border:1px solid #f45e08;background:linear-gradient(135deg,#ff7416,#f45e08);color:#fff;}
  #screen-profile.profile-master-layout .profile-desktop-actions button:hover{transform:none;}

  /* Requested +10% menu-label size in the locked shared Selection Progress rail. */
  .desktop-progress li strong{font-size:12.1px;}
}
@media (min-width:901px) and (max-height:650px){
  .desktop-progress li strong{font-size:10.9px;}
}

/* V101 DESKTOP RESULT PREMIUM — approved desktop-only Result baseline.
   This remains the single authoritative Result layout at 901px and above. */
@media (min-width:901px){
  body[data-screen="result"] #testWatermark,
  body.gmc-result-active #testWatermark{display:none;}

  #screen-result.result-root{
    box-sizing:border-box;
    width:100%;height:100%;min-height:0;margin:0;
    padding:8px 12px 10px;
    overflow:hidden;
    background:#f4f8fc;
  }
  #screen-result.result-root *,
  #screen-result.result-root *::before,
  #screen-result.result-root *::after{box-sizing:border-box;}

  #screen-result .result-reference-shell{
    width:100%;height:100%;min-height:0;max-width:1420px;margin:0 auto;
    display:grid;
    grid-template-columns:minmax(0,1.22fr) minmax(420px,.96fr);
    grid-template-rows:minmax(0,1fr) clamp(66px,10vh,78px);
    gap:10px 16px;
    align-items:stretch;
    opacity:1;visibility:visible;filter:none;
  }

  /* Visibility only: never force a layout mode on a panel. */
  #screen-result [data-result-panel]:not([hidden]){
    visibility:visible;opacity:1;filter:none;
  }
  #screen-result .result-card{
    margin:0;border:1px solid #d5e0ec;border-radius:13px;background:#fff;
    box-shadow:0 4px 16px rgba(8,35,74,.05);opacity:1;filter:none;
  }

  /* Shared desktop chrome is intentionally not restyled here. */

  /* LEFT — official result / identity */
  #screen-result .result-summary-card.result-panel:not([hidden]){
    grid-column:1;grid-row:1;min-width:0;min-height:0;
    padding:12px 22px 14px;
    overflow:hidden;
    display:grid;
    grid-template-columns:clamp(116px,17vh,138px) minmax(0,1fr);
    grid-template-rows:auto clamp(58px,8.5vh,68px) clamp(62px,9vh,72px) clamp(30px,4.5vh,38px) minmax(128px,1fr);
    column-gap:20px;row-gap:8px;
    align-content:stretch;
  }
  #screen-result .result-reference-kicker{
    grid-column:1/-1;grid-row:1;
    margin:0;padding:0 0 7px;border-bottom:1px solid #d9e2ed;
    font:800 10px/1 Manrope,Arial,sans-serif;letter-spacing:.03em;color:#0b2d64;
  }
  #screen-result .result-reference-title{
    grid-column:2;grid-row:2;position:static;
    min-width:0;min-height:0;margin:0;padding:6px 12px;
    display:flex;align-items:center;gap:10px;
    border:1px solid #a9c8f5;border-radius:12px;
    background:linear-gradient(135deg,#f8fbff,#f2f7ff);
    font:800 clamp(16px,2.6vh,21px)/1.05 Montserrat,Manrope,sans-serif;
    color:#123d86;letter-spacing:-.018em;white-space:nowrap;
  }
  #screen-result .result-complete-check{
    width:clamp(31px,5vh,38px);height:clamp(31px,5vh,38px);flex:0 0 clamp(31px,5vh,38px);
    display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#174bb2,#4c7cff);color:#fff;
    font-size:clamp(19px,3.2vh,24px);box-shadow:0 6px 16px rgba(30,86,190,.20);
  }
  #screen-result .result-summary-top{display:contents;}
  #screen-result .result-photo{
    grid-column:1;grid-row:2/5;align-self:stretch;justify-self:start;
    width:100%;height:auto;aspect-ratio:4/5;min-width:0;min-height:0;
    display:grid;place-items:center;overflow:hidden;
    border:1px solid #91b7e6;border-radius:9px;background:#f5f8fc;
  }
  #screen-result .result-photo img{
    display:block;width:100%;height:100%;max-width:100%;max-height:100%;
    margin:0;padding:0;border:0;border-radius:8px;background:#f5f8fc;
    object-fit:contain;object-position:center center;box-shadow:none;
  }
  #screen-result .result-copy{
    grid-column:2;grid-row:3;min-width:0;min-height:0;align-self:center;padding:0;
    display:grid;justify-items:start;align-content:center;gap:7px;
  }
  #screen-result .result-runtime-title{display:none;}
  #screen-result .result-copy h3{
    max-width:100%;margin:0;
    font:800 clamp(21px,3.55vh,29px)/1.05 Montserrat,Manrope,sans-serif;
    color:#0a285a;letter-spacing:-.03em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  }
  #screen-result .result-status-pill{
    display:inline-flex;align-items:center;justify-content:center;
    min-height:clamp(27px,4.3vh,33px);padding:0 12px;
    border:1px solid #8db9fb;border-radius:6px;background:#f6f9ff;color:#145bc9;
    font:800 clamp(9px,1.5vh,11px)/1 Manrope,Arial,sans-serif;white-space:nowrap;
  }
  #screen-result .result-message,#screen-result #resultMessage{display:none;}
  #screen-result #resultAttemptMessage{display:none;}
  #screen-result .result-desktop-attempt-line:not([hidden]){
    grid-column:2;grid-row:4;min-width:0;align-self:center;
    display:flex;align-items:center;gap:7px;color:#173768;white-space:nowrap;
    font:700 clamp(11px,1.85vh,14px)/1.15 Manrope,Arial,sans-serif;
  }
  #screen-result .result-desktop-attempt-line>span{
    width:22px;height:22px;display:grid;place-items:center;
    border:1px solid #b8d0f2;border-radius:6px;background:#f4f8ff;color:#155fc5;font-size:12px;
  }
  #screen-result .result-desktop-attempt-line strong{font:inherit;color:#173768;white-space:nowrap;}
  #screen-result .result-desktop-attempt-line i{font-style:normal;color:#8b9bb1;}
  #screen-result .result-desktop-attempt-line small{font:inherit;color:#173768;white-space:nowrap;}

  #screen-result .result-stats{
    grid-column:1/-1;grid-row:5;align-self:end;
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
    grid-template-rows:repeat(2,minmax(58px,1fr));
    gap:7px;margin:0;min-width:0;min-height:0;
  }
  #screen-result .result-stat,
  #screen-result .result-stat.top{
    grid-column:auto;min-width:0;min-height:0;height:auto;margin:0;padding:6px 10px;
    border:1px solid #dbe5ef;border-radius:11px;background:#fff;box-shadow:none;
    display:grid;grid-template-columns:clamp(34px,5.8vh,44px) minmax(0,1fr);gap:8px;align-items:center;
    text-align:left;color:#102b59;overflow:hidden;
  }
  #screen-result .result-stat-icon{
    width:clamp(34px,5.8vh,44px);height:clamp(34px,5.8vh,44px);
    display:grid;place-items:center;border:1px solid #9fc5ff;border-radius:50%;background:#f7fbff;color:#1261d8;
  }
  #screen-result .result-stat-icon.green{color:#148a49;border-color:#b8e0c5;background:#f3fbf6;}
  #screen-result .result-stat-icon.red{color:#f22d2d;border-color:#ffcaca;background:#fff8f8;}
  #screen-result .result-stat-icon.blank{color:#405579;border-color:#d9e0ea;background:#fbfcfe;}
  #screen-result .result-stat-icon.gold{color:#ff6812;border-color:#ffd3b4;background:#fffaf6;}
  #screen-result .result-stat-icon.violet{color:#1261d8;border-color:#b6d2ff;background:#f6f9ff;}
  #screen-result .result-stat-icon svg{
    width:clamp(20px,3.4vh,26px);height:clamp(20px,3.4vh,26px);
    fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;
  }
  #screen-result .result-stat small{display:block;margin:0 0 2px;font-size:clamp(8px,1.35vh,10px);line-height:1.1;color:#18315d;}
  #screen-result .result-stat strong{display:block;font-size:clamp(17px,3vh,23px);line-height:1;color:#0c57c7;}
  #screen-result .result-stat:nth-child(2) strong{color:#0b8245;}
  #screen-result .result-stat:nth-child(3) strong{color:#ee2020;}
  #screen-result .result-stat:nth-child(4) strong{color:#405579;}
  #screen-result .result-accuracy-stat strong{color:#ff5f00;}
  #screen-result .result-review-stat{
    cursor:pointer;grid-template-columns:clamp(34px,5.8vh,44px) minmax(0,1fr) auto;
    font:inherit;text-align:left;color:inherit;
  }
  #screen-result .result-review-stat strong{font-size:clamp(12px,2vh,15px);line-height:1.15;color:#075de2;white-space:normal;}
  #screen-result .result-review-arrow{font-size:19px;color:#075de2;}
  #screen-result .result-reference-note{display:none;}

  /* LEFT BOTTOM — recorded result */
  #screen-result .result-recorded.result-panel:not([hidden]){
    grid-column:1;grid-row:2;min-width:0;min-height:0;height:100%;margin:0;padding:6px 14px;
    border-color:#a9c8f5;background:linear-gradient(135deg,#f4f8ff,#eef5ff);overflow:hidden;
    display:flex;align-items:center;justify-content:center;gap:18px;
  }
  #screen-result .result-recorded-head{display:flex;align-items:center;gap:10px;min-width:0;}
  #screen-result .result-recorded-check{
    width:clamp(37px,6.3vh,46px);height:clamp(37px,6.3vh,46px);flex:0 0 clamp(37px,6.3vh,46px);
    border-radius:50%;background:linear-gradient(135deg,#174bb2,#4c7cff);color:#fff;display:grid;place-items:center;font-size:clamp(21px,3.6vh,27px);
  }
  #screen-result .result-recorded-head>div{display:block;}
  #screen-result .result-recorded-head strong{
    display:block;font:800 clamp(13px,2.15vh,16px)/1.1 Manrope,Arial,sans-serif;color:#1556b7;white-space:nowrap;
  }
  #screen-result .result-recorded-head small{display:none;}
  #screen-result .result-recorded-meta{display:flex;align-items:center;justify-content:center;margin:0;}
  #screen-result .result-recorded-box{
    min-height:0;margin:0;padding:0;border:0;background:transparent;
    display:flex;align-items:center;gap:7px;
  }
  #screen-result .result-recorded-box label{display:block;font-size:9px;line-height:1;color:#142b51;}
  #screen-result .result-recorded-box strong{font-size:clamp(11px,1.85vh,13px);line-height:1;color:#111b31;white-space:nowrap;}
  #screen-result .result-saved-box{display:none;}
  #screen-result .result-copy-btn{width:26px;height:26px;padding:0;border:0;background:transparent;color:#0d5dc7;font-size:16px;}

  /* RIGHT — one stable actions card */
  #screen-result .result-right-column{
    grid-column:2;grid-row:1/3;min-width:0;min-height:0;margin:0;padding:22px 24px 18px;
    border:1px solid #d5e0ec;border-radius:13px;background:#fff;box-shadow:0 4px 16px rgba(8,35,74,.05);
    overflow:hidden;display:flex;flex-direction:column;gap:0;
  }
  #screen-result .result-actions-card:not([hidden]),
  #screen-result .result-social-card:not([hidden]){display:contents;}
  #screen-result .result-actions,#screen-result .result-final-actions{display:contents;}
  #screen-result .result-actions-heading,#screen-result .result-social-heading{display:none;}
  #screen-result .result-attempt-summary{display:none;}
  #screen-result .result-desktop-next-title{
    display:block;order:1;margin:0 0 16px;
    font:800 clamp(22px,3.6vh,29px)/1.05 Montserrat,Manrope,sans-serif;color:#0a2c65;letter-spacing:-.025em;
  }
  #screen-result .result-desktop-section-title{display:block;font:800 clamp(13px,2vh,16px)/1.2 Manrope,Arial,sans-serif;color:#0b285d;}
  #screen-result .result-download-title{order:3;margin:0 0 8px;padding:0;border:0;}
  #screen-result .result-download-title::before{content:"Download Options";}
  #screen-result .result-download-title{font-size:0;}
  #screen-result .result-download-title::before{font:800 clamp(13px,2vh,16px)/1.2 Manrope,Arial,sans-serif;}
  #screen-result #resultDownloadCardAction{order:4;margin:0 0 10px;}
  #screen-result #resultAchievementAction{order:5;margin:0 0 14px;}
  #screen-result .result-share-title{display:none;}

  #screen-result .result-action{position:relative;z-index:1;border-radius:6px;box-shadow:none;cursor:pointer;}
  #screen-result .result-download-primary{
    min-height:clamp(56px,8vh,66px);padding:7px 14px;
    display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;
    border:1px solid #d6e1ef;background:#fff;color:#0d2d66;text-align:left;
  }
  #screen-result .result-download-primary .result-action-icon,
  #screen-result #resultAchievementAction .result-action-icon{
    width:42px;height:42px;border:0;border-radius:50%;background:#fff2ea;display:grid;place-items:center;
  }
  #screen-result .result-download-primary .result-action-icon{color:#ff5f00;}
  #screen-result .result-download-primary strong{font-size:clamp(12px,2vh,15px);color:#0d2d66;white-space:nowrap;}
  #screen-result .result-download-primary small{display:block;margin-top:2px;font-size:10px;color:#6b7d98;}
  #screen-result .result-download-primary::after{content:"›";font:700 25px/1 Arial;color:#0c3f8f;}
  #screen-result #resultAchievementAction{
    min-height:clamp(56px,8vh,66px);padding:7px 14px;
    display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;
    border:1px solid #d6e1ef;background:#fff;color:#10295d;text-align:left;
  }
  #screen-result #resultAchievementAction .result-action-icon{color:#fff;background:#c7ced8;}
  #screen-result #resultAchievementAction strong{font-size:clamp(12px,2vh,15px);color:#8390a4;white-space:nowrap;}
  #screen-result #resultAchievementAction small{display:block;margin-top:2px;font-size:10px;color:#9ca7b7;}
  #screen-result #resultAchievementAction::after{content:"›";font:700 25px/1 Arial;color:#a8b1bf;}
  #screen-result .result-action-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}

  #screen-result .result-social-actions{display:none;}
  #screen-result .result-social-action{
    min-width:0;min-height:clamp(48px,8vh,60px);padding:2px;
    border:0;background:transparent;box-shadow:none;border-radius:7px;
    display:grid;grid-template-columns:1fr;grid-template-rows:auto auto;gap:2px;place-items:center;text-align:center;
  }
  #screen-result .result-social-icon{
    width:clamp(29px,5.1vh,37px);height:clamp(29px,5.1vh,37px);
    display:grid;place-items:center;border-radius:50%;background:transparent;
  }
  #screen-result .result-social-icon svg{width:74%;height:74%;fill:currentColor;}
  #screen-result .result-social-action.instagram .result-social-icon{color:#e62d78;}
  #screen-result .result-social-action.facebook .result-social-icon{color:#1877f2;}
  #screen-result .result-social-action.community .result-social-icon{color:#16aa56;}
  #screen-result .result-social-action strong{font-size:8px;line-height:1;color:#15305e;white-space:nowrap;}
  #screen-result .result-social-action small{display:none;}
  #screen-result .result-locked{opacity:.38;filter:grayscale(.25);cursor:not-allowed;pointer-events:none;}

  #screen-result .result-follow-section{
    order:6;display:grid;gap:10px;padding:14px 0 0;
    border-top:1px solid #d8e2ee;
  }
  #screen-result .result-follow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
  #screen-result .result-follow-card{
    min-width:0;min-height:clamp(86px,13vh,102px);padding:10px 5px;
    border:1px solid #d5e0ee;border-radius:11px;background:#fff;color:#0b3f91;box-shadow:none;
    display:grid;grid-template-rows:clamp(38px,6vh,46px) auto;gap:7px;place-items:center;
  }
  #screen-result .result-follow-card .result-social-icon{width:clamp(29px,5.1vh,37px);height:clamp(29px,5.1vh,37px);}
  #screen-result .result-follow-card .result-social-icon svg{width:66%;height:66%;fill:currentColor;}
  #screen-result .result-follow-card.instagram .result-social-icon{
    background:radial-gradient(circle at 30% 105%,#ffd600 0 21%,#ff7a00 22% 38%,#ff0169 39% 61%,#d300c5 62% 78%,#7638fa 79% 100%);color:#fff;
    box-shadow:0 2px 7px rgba(211,0,197,.18);
  }
  #screen-result .result-follow-card.facebook .result-social-icon{background:#1877f2;color:#fff;}
  #screen-result .result-follow-card.whatsapp .result-social-icon{background:#20b85a;color:#fff;}
  #screen-result .result-follow-card .result-follow-label{font:800 clamp(9px,1.45vh,11px)/1.1 Manrope,Arial,sans-serif;color:#0b3f91;text-align:center;white-space:nowrap;}
  #screen-result .result-follow-card .result-follow-label{font-size:0;}
  #screen-result .result-follow-card.instagram .result-follow-label::after{content:"Follow Instagram";}
  #screen-result .result-follow-card.facebook .result-follow-label::after{content:"Follow Facebook";}
  #screen-result .result-follow-card.whatsapp .result-follow-label::after{content:"Join WhatsApp";}
  #screen-result .result-follow-card .result-follow-label::after{font:800 clamp(9px,1.45vh,11px)/1.1 Manrope,Arial,sans-serif;}

  #screen-result #tryAgainResultBtn:not([hidden]){
    order:2;width:100%;min-height:clamp(68px,10vh,82px);margin:0 0 18px;padding:8px 18px;
    border:0;border-radius:11px;background:linear-gradient(135deg,#062a63,#0a448f);color:#fff;box-shadow:0 8px 18px rgba(5,43,101,.16);
    display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px;text-align:left;
  }
  #screen-result #tryAgainResultBtn .result-action-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:12px;background:rgba(255,255,255,.08);color:#fff;}
  #screen-result #tryAgainResultBtn .result-action-icon svg{width:29px;height:29px;}
  #screen-result #tryAgainResultBtn>span:nth-child(2){min-width:0;width:100%;display:grid;justify-items:start;align-content:center;gap:4px;}
  #screen-result #tryAgainResultBtn strong{font-size:clamp(16px,2.5vh,19px);line-height:1.05;color:#fff;white-space:nowrap;word-break:normal;overflow-wrap:normal;}
  #screen-result #tryAgainResultBtn small{font-size:clamp(10px,1.6vh,12px);line-height:1;color:#fff;margin:0;white-space:nowrap;word-break:normal;overflow-wrap:normal;}
  #screen-result #tryAgainResultBtn>b{font-size:28px;color:#fff;line-height:1;}
  #screen-result #resultRegistrationAction:not([hidden]){
    order:2;width:100%;min-height:clamp(68px,10vh,82px);margin:0 0 18px;padding:8px 18px;
    border:0;border-radius:11px;background:linear-gradient(135deg,#f47a12,#ff5f00);color:#fff;box-shadow:0 8px 18px rgba(244,122,18,.18);
    display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px;text-align:left;
  }
  #screen-result #resultRegistrationAction .result-action-icon{width:52px;height:52px;border-radius:12px;background:rgba(255,255,255,.12);color:#fff;}
  #screen-result #resultRegistrationAction strong{font-size:clamp(15px,2.4vh,18px);color:#fff;}
  #screen-result #resultRegistrationAction small{font-size:10px;color:#eafff1;}
  #screen-result #resultRegistrationAction>b{font-size:28px;color:#fff;}
}





/* V89 QUALIFIED STUDENTS — authoritative desktop reference redesign. */
@media (min-width:901px){
  .public-qualified-page{
    inset:88px 0 0;
    padding:22px 0 0;
    overflow:hidden;
    background:
      radial-gradient(circle at 91% 4%,rgba(42,108,212,.10),transparent 25rem),
      radial-gradient(circle at 8% 0%,rgba(244,123,36,.055),transparent 24rem),
      linear-gradient(180deg,#fff 0%,#f8fbff 66%,#f3f7fd 100%);
  }
  .public-qualified-page .public-qualified-shell{
    width:min(1480px,calc(100vw - 72px));
    max-width:1480px;
    height:100%;
    display:grid;
    grid-template-rows:auto auto minmax(0,1fr) auto;
    gap:16px;
    margin:0 auto;
  }
  .public-qualified-hero{
    min-height:145px;
    display:grid;
    grid-template-columns:minmax(0,1fr) 390px;
    align-items:center;
    gap:28px;
    position:relative;
  }
  .public-qualified-heading{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:24px;}
  .public-qualified-hero-icon{
    width:88px;height:88px;border-radius:24px;display:grid;place-items:center;
    background:linear-gradient(145deg,#fff4ec,#fffaf6);color:#ff6c0a;border:1px solid #ffd9bd;
    box-shadow:0 16px 34px rgba(238,104,10,.09)
  ;}
  .public-qualified-hero-icon svg{width:54px;height:54px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;}
  .public-qualified-heading .public-page-kicker{font-size:12px;letter-spacing:.14em;margin-bottom:5px;}
  .public-qualified-heading h2{margin:0;font:900 clamp(42px,4vw,64px)/1 Montserrat,Manrope,sans-serif;color:#0b2b64;letter-spacing:-.045em;}
  .public-qualified-heading h2 span{white-space:nowrap;}
  .public-qualified-heading p{margin:12px 0 0;color:#5b7092;font-size:16px;line-height:1.5;max-width:820px;}
  .public-qualified-hero-art{align-self:stretch;display:grid;place-items:center;overflow:hidden;}
  .public-qualified-hero-art svg{width:100%;height:150px;filter:drop-shadow(0 18px 24px rgba(38,84,151,.12));}
  .public-qualified-mobile-actions{display:none;}

  .public-qualified-toolbar{grid-template-columns:minmax(0,1fr) 290px;gap:16px;align-items:stretch;}
  .qualified-search-box{
    min-height:70px;grid-template-columns:48px minmax(0,1fr) 120px;align-items:center;
    padding:9px 10px 9px 14px;border:1px solid #dfe7f2;border-radius:17px;background:#fff;
    box-shadow:0 12px 28px rgba(11,44,92,.055)
  ;}
  .qualified-search-icon{width:38px;height:38px;display:grid;place-items:center;color:#1764d7;}
  .qualified-search-icon svg{width:25px;height:25px;}
  .qualified-search-box input{height:48px;border:0;outline:0;background:transparent;color:#14366c;font-size:15px;padding:0 10px;}
  .qualified-search-box input::placeholder{color:#617595;}
  .qualified-search-button{height:50px;border:0;border-radius:12px;background:linear-gradient(135deg,#0b3472,#09265b);color:#fff;font-weight:900;box-shadow:0 10px 20px rgba(11,52,114,.18);}
  .qualified-total-card{
    display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:11px;padding:9px 18px;
    border:1px solid #f2dccd;border-radius:17px;background:linear-gradient(145deg,#fffaf7,#fff3eb);
    box-shadow:0 12px 28px rgba(233,99,23,.055)
  ;}
  .qualified-total-card>span{width:46px;height:46px;display:grid;place-items:center;color:#f06b0a;}
  .qualified-total-card svg{width:34px;height:34px;stroke-width:1.9;}
  .qualified-total-card .qualified-total-copy{display:grid;line-height:1.05;}
  .qualified-total-card strong{font:900 30px/1 Montserrat,Manrope,sans-serif;color:#f06408;}
  .qualified-total-card small{margin-top:4px;font-size:13px;color:#243b63;font-weight:800;}
  .qualified-live-status{display:inline-flex;align-items:center;gap:7px;margin-top:6px;color:#248455;font-size:10px;font-weight:900;white-space:nowrap;}

  .public-qualified-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:0;min-height:0;}
  .public-qualified-table-wrap{
    min-height:0;display:grid;grid-template-rows:minmax(0,1fr) 54px;border-radius:18px;background:#fff;
    box-shadow:0 16px 38px rgba(9,38,82,.075);border-color:#dfe7f2
  ;}
  .qualified-table-scroll{min-height:0;overflow:auto;padding:0 18px;}
  .public-qualified-table-wrap table{table-layout:auto;}
  .public-qualified-table-wrap thead{position:sticky;top:0;z-index:2;}
  .public-qualified-table-wrap th{
    height:54px;padding:0 14px;text-align:left;white-space:nowrap;text-transform:uppercase;
    font-size:11px;letter-spacing:.055em;color:#526889;background:#f5f8fd;border-bottom:1px solid #e3eaf3
  ;}
  .public-qualified-table-wrap th span{margin-left:4px;color:#8ea2c2;font-size:10px;}
  .public-qualified-table-wrap td{height:58px;padding:0 16px;border-bottom:1px solid #e8edf4;white-space:nowrap;font-size:14px;color:#173460;}
  .public-qualified-table-wrap tbody tr:last-child td{border-bottom:0;}
  .qualified-student-cell{display:flex;align-items:center;gap:12px;}
  .qualified-student-cell strong{font-size:14.5px;color:#0d2d65;}
  .qualified-avatar{width:38px;height:38px;font-size:11.5px;flex:0 0 auto;border:1px solid rgba(32,92,180,.08);}
  .qualified-category-badge{min-width:58px;height:26px;padding:0 10px;font-size:11px;}
  .qualified-language{display:inline-flex;align-items:center;gap:6px;}
  .verify-student{width:44px;height:42px;border-radius:12px;margin:auto;transition:transform .16s ease,box-shadow .16s ease;}
  .verify-student:hover{transform:translateY(-1px);box-shadow:0 8px 16px rgba(14,57,117,.12);}
  .verify-student svg{width:21px;height:21px;}
  .public-qualified-empty{font-size:14px;padding:34px;}
  .qualified-table-footer{height:58px;padding:0 16px;border-top:1px solid #e3eaf3;color:#415878;font-size:12.5px;background:#fff;}
  .qualified-pagination button{min-width:36px;height:36px;border-radius:9px;color:#15376c;font-size:12px;font-weight:900;}
  .qualified-pagination button:disabled{opacity:.35;cursor:not-allowed;}
  .qualified-per-page{font-size:12px;font-weight:700;color:#415878;}
  .qualified-per-page select{height:36px;border:1px solid #dce5f0;border-radius:9px;background:#fff;color:#15376c;padding:0 28px 0 11px;font-size:12px;font-weight:800;}

  .qualified-detail-head{justify-content:flex-start;}
  .qualified-detail-head>div{display:grid;line-height:1.1;}
  .qualified-detail-head small{font-size:8px;letter-spacing:.1em;color:#b9c9e2;font-weight:900;}
  .qualified-detail-head strong{font-size:12px;}
  .qualified-live-pill{margin-left:auto;}
  .qualified-detail-student{display:flex;align-items:center;gap:14px;padding:20px 18px 10px;}
  .qualified-detail-student .qualified-avatar{width:58px;height:58px;font-size:16px;}
  .qualified-detail-student h3{margin:0;font-size:20px;color:#0d2d65;}
  .qualified-detail-student p{margin:3px 0 0;color:#617595;font-size:12px;}
  .qualified-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:10px 18px 4px;}
  .qualified-detail-grid div{padding:11px;border-radius:11px;background:#f5f8fd;border:1px solid #e4eaf2;}
  .qualified-detail-grid small{display:block;font-size:9px;color:#687c98;text-transform:uppercase;font-weight:900;letter-spacing:.05em;}
  .qualified-detail-grid strong{display:block;margin-top:3px;font-size:12px;color:#173460;}
  .qualified-detail-status{grid-column:1/-1;}

  .public-qualified-page .public-view-footer{margin-top:0;}
}

@media (min-width:901px) and (max-height:760px){
  .public-qualified-page{inset:60px 0 0;padding-top:10px;}
  .public-qualified-page .public-qualified-shell{width:min(1240px,calc(100vw - 38px));gap:10px;}
  .public-qualified-hero{min-height:96px;grid-template-columns:minmax(0,1fr) 270px;}
  .public-qualified-heading{grid-template-columns:64px minmax(0,1fr);gap:16px;}
  .public-qualified-hero-icon{width:60px;height:60px;border-radius:17px;}
  .public-qualified-hero-icon svg{width:38px;height:38px;}
  .public-qualified-heading .public-page-kicker{font-size:9px;}
  .public-qualified-heading h2{font-size:40px;}
  .public-qualified-heading p{font-size:12px;margin-top:6px;}
  .public-qualified-hero-art svg{height:96px;}
  .public-qualified-toolbar{grid-template-columns:minmax(0,1fr) 250px;gap:10px;}
  .qualified-search-box{min-height:58px;grid-template-columns:40px minmax(0,1fr) 104px;padding:6px 7px 6px 11px;}
  .qualified-search-icon{width:32px;height:32px;}.qualified-search-icon svg{width:21px;height:21px;}
  .qualified-search-box input{height:44px;font-size:13px;}
  .qualified-search-button{height:44px;font-size:12px;}
  .qualified-total-card{grid-template-columns:40px minmax(0,1fr);padding:7px 12px;}
  .qualified-total-card>span{width:36px;height:36px;}.qualified-total-card svg{width:28px;height:28px;}
  .qualified-total-card strong{font-size:24px;}.qualified-total-card small{font-size:10.5px;margin-top:2px;}.qualified-live-status{font-size:8px;margin-top:4px;gap:5px;}
  .public-qualified-layout{grid-template-columns:minmax(0,1fr);gap:0;}
  .public-qualified-table-wrap{grid-template-rows:minmax(0,1fr) 46px;border-radius:14px;}
  .qualified-table-scroll{padding:0 10px;}
  .public-qualified-table-wrap th{height:42px;padding:0 10px;font-size:9.5px;}
  .public-qualified-table-wrap td{height:46px;padding:0 10px;font-size:12.5px;}
  .qualified-avatar{width:31px;height:31px;font-size:9px;}
  .qualified-student-cell{gap:8px;}.qualified-student-cell strong{font-size:13px;}
  .qualified-category-badge{min-width:44px;height:21px;font-size:8.5px;padding:0 7px;}
  .verify-student{width:34px;height:32px;border-radius:8px;}.verify-student svg{width:17px;height:17px;}
  .qualified-table-footer{height:46px;padding:0 11px;font-size:10px;}
  .qualified-pagination{gap:4px;}.qualified-pagination button{min-width:28px;height:28px;border-radius:7px;font-size:9.5px;}
  .qualified-per-page{font-size:9.5px;}.qualified-per-page select{height:29px;font-size:9.5px;padding-left:8px;}
  .public-qualified-page .public-view-footer{min-height:46px;height:46px;border-radius:14px 14px 0 0;font-size:11px;}
}
/* HELP-SUPPORT-V90 — single authoritative root-level desktop implementation.
   V88 help blocks were removed. This block is intentionally placed after the
   shared public-page spacing rules so generic shell/footer spacing cannot
   override the approved Help & Support geometry. */
@media (min-width:901px){
  #informationView[data-page-type="help"]{
    padding:15px 28px 0;
    background:
      radial-gradient(circle at 12% 2%,rgba(64,128,221,.09),transparent 32%),
      radial-gradient(circle at 89% 5%,rgba(246,126,43,.055),transparent 29%),
      linear-gradient(180deg,#f9fbff 0%,#f2f7fd 100%);
  }
  #informationView[data-page-type="help"]::after{
    content:"";position:fixed;right:-54px;top:110px;width:390px;height:210px;
    pointer-events:none;opacity:.48;
    background-image:radial-gradient(circle,rgba(58,126,222,.26) 0 1.1px,transparent 1.45px);
    background-size:9px 9px;
    -webkit-mask-image:radial-gradient(ellipse at center,#000 0 28%,rgba(0,0,0,.65) 52%,transparent 78%);
    mask-image:radial-gradient(ellipse at center,#000 0 28%,rgba(0,0,0,.65) 52%,transparent 78%);
  }
  #informationView[data-page-type="help"] .public-page-shell{
    width:100%;max-width:1440px;height:100%;min-height:0;padding:0;position:relative;
    display:grid;grid-template-rows:auto minmax(0,1fr) 50px;align-content:stretch;
  }
  #informationView[data-page-type="help"] .public-page-head{
    min-height:154px;margin:0 0 20px;padding:0 470px 0 0;
    align-items:flex-start;position:relative;
  }
  #informationView[data-page-type="help"] .public-page-heading{align-items:flex-start;gap:22px;}
  #informationView[data-page-type="help"] .public-page-icon{
    width:104px;height:104px;flex:0 0 104px;border-radius:29px;
    background:#fff6ee;color:#f15f0a;border:1px solid #ffdcc4;
    box-shadow:0 14px 32px rgba(241,95,10,.07);
  }
  #informationView[data-page-type="help"] .public-page-icon svg{
    width:57px;height:57px;fill:none;stroke:currentColor;stroke-width:1.9;
    stroke-linecap:round;stroke-linejoin:round;
  }
  #informationView[data-page-type="help"] .public-page-kicker{font-size:12px;letter-spacing:.055em;margin-top:2px;}
  #informationView[data-page-type="help"] .public-page-head h2{
    margin:10px 0 10px;font-size:clamp(50px,4.5vw,70px);line-height:.98;
    letter-spacing:-.05em;color:#082b5e;
  }
  #informationView[data-page-type="help"] .public-page-head p{
    font-size:17px;line-height:1.45;max-width:700px;color:#52647f;
  }
  #informationView[data-page-type="help"] .public-help-grid{
    position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:repeat(2,170px) 130px;gap:22px;align-content:start;min-width:0;
  }
  #informationView[data-page-type="help"] .public-help-hero-art{
    display:block;position:absolute;right:28px;top:-172px;width:390px;height:160px;
    pointer-events:none;z-index:0;
  }
  #informationView[data-page-type="help"] .public-help-wave{
    position:absolute;left:-80px;right:-90px;top:73px;height:78px;opacity:.58;
    background:repeating-radial-gradient(ellipse at center,transparent 0 17px,rgba(93,151,238,.26) 18px 19px,transparent 20px 29px);
    -webkit-mask-image:linear-gradient(90deg,transparent,#000 18%,#000 82%,transparent);
    mask-image:linear-gradient(90deg,transparent,#000 18%,#000 82%,transparent);
  }
  #informationView[data-page-type="help"] .public-help-headset{
    position:absolute;right:22px;top:2px;width:182px;height:150px;
    filter:drop-shadow(0 18px 24px rgba(8,43,94,.16));
  }
  #informationView[data-page-type="help"] .public-help-band{
    position:absolute;left:18px;right:18px;top:0;height:112px;border:18px solid #172654;
    border-bottom-color:transparent;border-radius:96px 96px 0 0;
  }
  #informationView[data-page-type="help"] .public-help-ear{
    position:absolute;top:74px;width:37px;height:66px;border-radius:15px;
    background:linear-gradient(180deg,#ff921f,#f15f0a);
    box-shadow:inset 0 0 0 8px rgba(255,255,255,.12);
  }
  #informationView[data-page-type="help"] .public-help-ear-left{left:3px;}
  #informationView[data-page-type="help"] .public-help-ear-right{right:3px;}
  #informationView[data-page-type="help"] .public-help-mic{
    position:absolute;right:12px;bottom:0;width:78px;height:10px;border-radius:99px;
    background:#172654;transform:rotate(12deg);transform-origin:right center;
  }
  #informationView[data-page-type="help"] .public-help-mic::after{
    content:"";position:absolute;left:-5px;top:-5px;width:17px;height:17px;
    border-radius:50%;background:#172654;
  }
  #informationView[data-page-type="help"] .public-help-chat{
    position:absolute;right:52px;top:50px;width:104px;height:74px;border-radius:48% 48% 44% 44%;
    background:linear-gradient(145deg,#fff,#f0f2f7);box-shadow:0 13px 26px rgba(8,43,94,.12);
    display:flex;align-items:center;justify-content:center;gap:10px;
  }
  #informationView[data-page-type="help"] .public-help-chat span{
    position:absolute;left:18px;bottom:-13px;border:18px solid transparent;
    border-top-color:#f0f2f7;transform:rotate(18deg);
  }
  #informationView[data-page-type="help"] .public-help-chat i{
    width:12px;height:12px;border-radius:50%;background:#f15f0a;position:relative;z-index:1;
  }
  #informationView[data-page-type="help"] .public-help-card{
    position:relative;z-index:1;min-width:0;min-height:170px;padding:26px 54px 25px 28px;
    display:grid;grid-template-columns:104px minmax(0,1fr);gap:24px;align-items:center;
    border-radius:22px;background:rgba(255,255,255,.97);border:1px solid #dce5ef;
    box-shadow:0 15px 36px rgba(7,28,63,.065);overflow:hidden;
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
  }
  #informationView[data-page-type="help"] .public-help-card:hover{
    transform:translateY(-2px);border-color:#bdd0e7;box-shadow:0 21px 42px rgba(7,28,63,.09);
  }
  #informationView[data-page-type="help"] .public-help-card-icon{
    width:92px;height:92px;border-radius:50%;display:grid;place-items:center;
    background:#edf4ff;color:#0d3270;
  }
  #informationView[data-page-type="help"] .public-help-card-icon svg{
    width:58px;height:58px;fill:none;stroke:currentColor;stroke-width:2;
    stroke-linecap:round;stroke-linejoin:round;
  }
  #informationView[data-page-type="help"] .public-help-card-icon svg .accent{stroke:#f15f0a;}
  #informationView[data-page-type="help"] .public-help-card-icon svg .accent-fill{fill:#2f70da;stroke:none;}
  #informationView[data-page-type="help"] .public-help-card-icon svg .accent-light{stroke:#fff;}
  #informationView[data-page-type="help"] .public-help-tone-2{background:#eef9ef;color:#075b2a;}
  #informationView[data-page-type="help"] .public-help-tone-2 svg .accent-fill{fill:#2fb65b;}
  #informationView[data-page-type="help"] .public-help-tone-3{background:#fff2e8;color:#342016;}
  #informationView[data-page-type="help"] .public-help-tone-3 svg .accent-fill{fill:#f15f0a;}
  #informationView[data-page-type="help"] .public-help-tone-4{background:#f4efff;color:#351890;}
  #informationView[data-page-type="help"] .public-help-card-copy{min-width:0;align-self:center;}
  #informationView[data-page-type="help"] .public-help-title-line{display:flex;align-items:center;gap:17px;min-width:0;}
  #informationView[data-page-type="help"] .public-help-title-line span{
    flex:0 0 auto;min-width:46px;height:43px;padding:0 10px;border-radius:10px;
    background:#edf3ff;color:#0a55c3;display:grid;place-items:center;
    font:900 17px/1 Montserrat,Manrope,sans-serif;border:1px solid #d7e4f7;
  }
  #informationView[data-page-type="help"] .public-help-card-2 .public-help-title-line span{background:#effaf0;color:#15933e;border-color:#d8eedc;}
  #informationView[data-page-type="help"] .public-help-card-3 .public-help-title-line span{background:#fff4ea;color:#f15f0a;border-color:#ffddc4;}
  #informationView[data-page-type="help"] .public-help-card-4 .public-help-title-line span{background:#f4efff;color:#5e32bd;border-color:#e1d7f7;}
  #informationView[data-page-type="help"] .public-help-title-line h3{
    margin:0;color:#082b5e;font:800 22px/1.2 Manrope,Arial,sans-serif;letter-spacing:-.02em;
  }
  #informationView[data-page-type="help"] .public-help-card-copy p{
    margin:15px 0 0;color:#536580;font-size:16px;line-height:1.55;max-width:520px;
  }
  #informationView[data-page-type="help"] .public-help-chevron{
    position:absolute;right:28px;top:50%;transform:translateY(-50%);
    color:#7da3e8;font:300 54px/1 Arial,sans-serif;
  }
  #informationView[data-page-type="help"] .public-help-support{
    grid-column:1/-1;min-height:130px;padding:18px 34px;display:grid;
    grid-template-columns:82px minmax(0,1fr) 1px 294px;align-items:center;gap:24px;
    border:1px solid #dce5ef;border-radius:22px;background:rgba(255,255,255,.98);
    box-shadow:0 13px 30px rgba(7,28,63,.055);
  }
  #informationView[data-page-type="help"] .public-help-support-icon{
    width:76px;height:76px;border-radius:50%;display:grid;place-items:center;
    background:#eff9f1;border:1px solid #d8eddd;
  }
  #informationView[data-page-type="help"] .public-help-support-icon img{width:48px;height:48px;object-fit:contain;}
  #informationView[data-page-type="help"] .public-help-support-copy{
    display:grid;align-content:center;gap:4px;min-width:0;color:#082b5e;
  }
  #informationView[data-page-type="help"] .public-help-support-copy strong{font-size:21px;line-height:1.2;}
  #informationView[data-page-type="help"] .public-help-support-copy b{font-size:22px;letter-spacing:.025em;}
  #informationView[data-page-type="help"] .public-help-support-copy p{margin:0;color:#536580;font-size:15px;line-height:1.45;}
  #informationView[data-page-type="help"] .public-help-support-divider{width:1px;height:64px;background:#d7e1ed;}
  #informationView[data-page-type="help"] .public-help-support-button{
    min-height:64px;border:1px solid #44b967;border-radius:16px;background:#fff;color:#15933e;
    padding:0 25px;display:flex;align-items:center;justify-content:center;gap:13px;
    font:800 18px/1 Manrope,Arial,sans-serif;box-shadow:0 8px 18px rgba(34,166,80,.06);
    transition:transform .18s ease,background .18s ease,box-shadow .18s ease;
  }
  #informationView[data-page-type="help"] .public-help-support-button:hover{
    transform:translateY(-1px);background:#f5fff8;box-shadow:0 12px 24px rgba(34,166,80,.11);
  }
  #informationView[data-page-type="help"] .public-help-support-button img{width:31px;height:31px;object-fit:contain;}
  #informationView[data-page-type="help"] .public-page-content + .public-view-footer{
    width:100%;height:50px;min-height:50px;margin-top:0;padding:0 28px;border-radius:18px 18px 0 0;align-self:end;
  }
}

/* HELP-SUPPORT-V90-SHORT-DESKTOP — reference flow fitted to the browser-visible
   720px class viewport without changing the shared header/footer design. */
@media (min-width:901px) and (max-height:760px){
  #informationView[data-page-type="help"]{padding:15px 28px 0;}
  #informationView[data-page-type="help"] .public-page-shell{height:100%;min-height:0;padding-bottom:0;}
  #informationView[data-page-type="help"] .public-page-head{
    min-height:90px;margin-bottom:8px;padding:0 330px 0 0;
  }
  #informationView[data-page-type="help"] .public-page-heading{gap:16px;}
  #informationView[data-page-type="help"] .public-page-icon{
    width:70px;height:70px;flex-basis:70px;border-radius:20px;
  }
  #informationView[data-page-type="help"] .public-page-icon svg{width:40px;height:40px;}
  #informationView[data-page-type="help"] .public-page-kicker{font-size:10px;}
  #informationView[data-page-type="help"] .public-page-head h2{font-size:50px;margin:5px 0 5px;}
  #informationView[data-page-type="help"] .public-page-head p{font-size:13px;}
  
  #informationView[data-page-type="help"] .public-help-hero-art{
    right:10px;top:-98px;width:260px;height:98px;
  }
  #informationView[data-page-type="help"] .public-help-wave{
    left:-54px;right:-54px;top:52px;height:58px;
  }
  #informationView[data-page-type="help"] .public-help-headset{
    right:13px;top:0;width:122px;height:96px;
  }
  #informationView[data-page-type="help"] .public-help-band{
    left:12px;right:12px;height:72px;border-width:12px;border-radius:68px 68px 0 0;
  }
  #informationView[data-page-type="help"] .public-help-ear{
    top:48px;width:26px;height:45px;border-radius:11px;
    box-shadow:inset 0 0 0 5px rgba(255,255,255,.12);
  }
  #informationView[data-page-type="help"] .public-help-ear-left{left:2px;}
  #informationView[data-page-type="help"] .public-help-ear-right{right:2px;}
  #informationView[data-page-type="help"] .public-help-mic{
    right:8px;width:54px;height:7px;
  }
  #informationView[data-page-type="help"] .public-help-mic::after{
    left:-4px;top:-4px;width:14px;height:14px;
  }
  #informationView[data-page-type="help"] .public-help-chat{
    right:35px;top:33px;width:72px;height:52px;gap:7px;
  }
  #informationView[data-page-type="help"] .public-help-chat span{
    left:15px;bottom:-10px;border-width:14px;
  }
  #informationView[data-page-type="help"] .public-help-chat i{width:9px;height:9px;}
  #informationView[data-page-type="help"] .public-help-card{
    min-height:108px;padding:12px 42px 12px 16px;
    grid-template-columns:68px minmax(0,1fr);gap:14px;border-radius:17px;
  }
  #informationView[data-page-type="help"] .public-help-card-icon{width:62px;height:62px;}
  #informationView[data-page-type="help"] .public-help-card-icon svg{width:39px;height:39px;}
  #informationView[data-page-type="help"] .public-help-title-line{gap:10px;}
  #informationView[data-page-type="help"] .public-help-title-line span{
    min-width:36px;height:32px;padding:0 7px;border-radius:8px;font-size:13px;
  }
  #informationView[data-page-type="help"] .public-help-title-line h3{font-size:17px;line-height:1.15;}
  #informationView[data-page-type="help"] .public-help-card-copy p{
    margin-top:7px;font-size:11.5px;line-height:1.4;
  }
  #informationView[data-page-type="help"] .public-help-chevron{right:16px;font-size:38px;}
  #informationView[data-page-type="help"] .public-help-support{
    min-height:70px;padding:8px 16px;
    grid-template-columns:50px minmax(0,1fr) 1px 210px;gap:13px;border-radius:15px;
  }
  #informationView[data-page-type="help"] .public-help-support-icon{width:48px;height:48px;}
  #informationView[data-page-type="help"] .public-help-support-icon img{width:31px;height:31px;}
  #informationView[data-page-type="help"] .public-help-support-copy{gap:0;}
  #informationView[data-page-type="help"] .public-help-support-copy strong{font-size:14px;}
  #informationView[data-page-type="help"] .public-help-support-copy b{font-size:14px;}
  #informationView[data-page-type="help"] .public-help-support-copy p{font-size:10px;}
  #informationView[data-page-type="help"] .public-help-support-divider{height:42px;}
  #informationView[data-page-type="help"] .public-help-support-button{
    min-height:48px;border-radius:12px;padding:0 14px;gap:8px;font-size:12.5px;
  }
  #informationView[data-page-type="help"] .public-help-support-button img{width:23px;height:23px;}
  #informationView[data-page-type="help"] .public-page-content + .public-view-footer{height:50px;min-height:50px;margin-top:0;}
}



/* TEST-RULES-V91 — single authoritative desktop no-scroll implementation.
   Supersedes V87 completely. Scoped to Test Rules only; no wrapper, overlay stylesheet or duplicate layout. */
@media (min-width:901px){
  #informationView[data-page-type="rules"]{
    inset:82px 0 0;
    height:calc(100vh - 82px);
    min-height:0;
    padding:15px 28px 0;
    overflow:hidden;
    background:
      radial-gradient(circle at 12% 4%,rgba(58,126,222,.10),transparent 31%),
      radial-gradient(circle at 88% 5%,rgba(247,126,40,.07),transparent 28%),
      linear-gradient(180deg,#f8fbff 0%,#f2f7fd 100%);
  }
  #informationView[data-page-type="rules"]::after{
    content:"";position:absolute;right:-72px;top:0;width:310px;height:310px;pointer-events:none;opacity:.5;
    background-image:radial-gradient(circle,rgba(51,124,224,.27) 0 1.1px,transparent 1.45px);
    background-size:10px 10px;
    -webkit-mask-image:radial-gradient(circle at center,#000 0 24%,rgba(0,0,0,.6) 48%,transparent 73%);
    mask-image:radial-gradient(circle at center,#000 0 24%,rgba(0,0,0,.6) 48%,transparent 73%);
  }
  #informationView[data-page-type="rules"] .public-page-shell{
    width:min(1440px,100%);
    max-width:1440px;
    height:100%;
    min-height:0;
    padding:0;
    margin:0 auto;
    display:grid;
    grid-template-rows:auto minmax(0,1fr) auto;
    row-gap:14px;
    align-content:stretch;
    position:relative;
  }
  #informationView[data-page-type="rules"] .public-page-head{
    min-height:112px;
    margin:0;
    padding:0 420px 0 0;
    align-items:flex-start;
    position:relative;
  }
  #informationView[data-page-type="rules"] .public-page-heading{align-items:flex-start;gap:20px;min-width:0;}
  #informationView[data-page-type="rules"] .public-page-icon{
    width:86px;height:86px;flex:0 0 86px;border-radius:26px;background:#fff6ee;color:#f15f0a;
    border:1px solid #ffdcc4;box-shadow:0 14px 32px rgba(241,95,10,.07);
  }
  #informationView[data-page-type="rules"] .public-page-icon svg{width:48px;height:48px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
  #informationView[data-page-type="rules"] .public-page-kicker{font-size:11px;letter-spacing:.055em;margin-top:1px;}
  #informationView[data-page-type="rules"] .public-page-head h2{
    margin:6px 0 7px;color:#082b5e;font:800 clamp(42px,4vw,60px)/.98 Montserrat,Manrope,sans-serif;letter-spacing:-.045em;
  }
  #informationView[data-page-type="rules"] .public-page-head p{margin:0;color:#52647f;font-size:16px;line-height:1.4;max-width:650px;}
  #informationView[data-page-type="rules"] .public-rules-grid{
    min-height:0;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    grid-template-rows:repeat(2,minmax(0,1fr)) 60px;
    gap:18px;
    align-content:stretch;
    position:relative;
  }
  #informationView[data-page-type="rules"] .public-rules-hero-art{
    position:absolute;right:10px;top:-132px;width:390px;height:136px;z-index:2;pointer-events:none;
    transform-origin:right bottom;
  }
  #informationView[data-page-type="rules"] .rules-clipboard{position:absolute;left:22px;top:10px;width:126px;height:108px;border-radius:18px;background:linear-gradient(150deg,#fff,#edf4ff);transform:rotate(-3deg);box-shadow:0 16px 30px rgba(19,72,174,.12);}
  #informationView[data-page-type="rules"] .rules-clipboard::before{content:"";position:absolute;left:39px;top:-10px;width:49px;height:18px;border-radius:7px 7px 3px 3px;background:#4337a6;}
  #informationView[data-page-type="rules"] .rules-clipboard span,
  #informationView[data-page-type="rules"] .rules-clipboard i{position:absolute;left:26px;top:33px;width:13px;height:9px;border-radius:4px;background:#76a8ef;box-shadow:20px 0 0 -2px #d8e6fa;}
  #informationView[data-page-type="rules"] .rules-clipboard span{top:33px;background:#f1a65e;}
  #informationView[data-page-type="rules"] .rules-clipboard i:nth-of-type(1){top:59px;}
  #informationView[data-page-type="rules"] .rules-clipboard i:nth-of-type(2){top:84px;}
  #informationView[data-page-type="rules"] .rules-hero-shield{position:absolute;left:168px;top:38px;width:95px;height:108px;background:linear-gradient(145deg,#2a79f1,#1846b8);clip-path:polygon(50% 0,92% 16%,88% 65%,50% 100%,12% 65%,8% 16%);display:grid;place-items:center;color:#fff;filter:drop-shadow(0 14px 18px rgba(19,72,174,.22));}
  #informationView[data-page-type="rules"] .rules-hero-shield b{font:900 52px/1 Arial,sans-serif;transform:translateY(-2px);}
  #informationView[data-page-type="rules"] .rules-hero-cup{position:absolute;right:12px;top:43px;width:84px;height:88px;border-radius:13px 13px 26px 26px;background:linear-gradient(145deg,#ff9b2e,#f15f0a);display:grid;place-items:center;color:#ffd697;box-shadow:0 18px 28px rgba(241,95,10,.19);}
  #informationView[data-page-type="rules"] .rules-hero-cup::before,
  #informationView[data-page-type="rules"] .rules-hero-cup::after{content:"";position:absolute;top:10px;width:25px;height:39px;border:7px solid #f47a12;border-radius:50%;z-index:-1;}
  #informationView[data-page-type="rules"] .rules-hero-cup::before{left:-17px;}
  #informationView[data-page-type="rules"] .rules-hero-cup::after{right:-17px;}
  #informationView[data-page-type="rules"] .rules-hero-cup b{font-size:30px;}
  #informationView[data-page-type="rules"] .rules-hero-orbit{position:absolute;inset:18px 0 0;border-top:2px solid rgba(101,166,255,.28);border-radius:50%;transform:rotate(-7deg);}
  #informationView[data-page-type="rules"] .public-rule-card{
    position:relative;min-width:0;min-height:0;padding:20px 20px 17px;
    display:grid;grid-template-columns:82px minmax(0,1fr);gap:16px;align-items:center;
    border-radius:20px;background:rgba(255,255,255,.98);border:1px solid #dce5ef;
    box-shadow:0 13px 32px rgba(7,28,63,.06);overflow:hidden;
  }
  #informationView[data-page-type="rules"] .public-rule-icon{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;background:#edf4ff;color:#0d3270;}
  #informationView[data-page-type="rules"] .public-rule-icon svg{width:47px;height:47px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
  #informationView[data-page-type="rules"] .public-rule-icon svg .accent{stroke:#f15f0a;}
  #informationView[data-page-type="rules"] .public-rule-tone-2{background:#fff2e8;}
  #informationView[data-page-type="rules"] .public-rule-tone-4{background:#f1f4ff;}
  #informationView[data-page-type="rules"] .public-rule-tone-5{background:#edf4ff;}
  #informationView[data-page-type="rules"] .public-rule-tone-6{background:#eef5ff;}
  #informationView[data-page-type="rules"] .public-rule-copy{min-width:0;align-self:center;}
  #informationView[data-page-type="rules"] .public-rule-title-line{display:flex;align-items:center;gap:12px;min-width:0;}
  #informationView[data-page-type="rules"] .public-rule-title-line span{flex:0 0 auto;min-width:42px;height:34px;padding:0 7px;border-radius:8px;background:#082b5e;color:#fff;display:grid;place-items:center;font:900 14px/1 Montserrat,Manrope,sans-serif;box-shadow:0 7px 16px rgba(8,43,94,.16);}
  #informationView[data-page-type="rules"] .public-rule-title-line h3{margin:0;color:#082b5e;font:800 19px/1.15 Manrope,Arial,sans-serif;letter-spacing:-.02em;}
  #informationView[data-page-type="rules"] .public-rule-copy>i{display:block;width:34px;height:3px;border-radius:99px;background:#f15f0a;margin:11px 0 9px;}
  #informationView[data-page-type="rules"] .public-rule-copy p{margin:0;color:#536580;}
  #informationView[data-page-type="rules"] .public-rule-corner{position:absolute;right:0;bottom:0;width:52px;height:43px;display:grid;place-items:end end;padding:0 10px 7px 0;color:#314f7b;font:800 12px/1 Manrope,Arial,sans-serif;background:linear-gradient(135deg,transparent 0 48%,#fff0e4 49% 100%);}
  #informationView[data-page-type="rules"] .public-rules-fairplay{grid-column:1/-1;min-height:0;padding:0 20px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;border:1px solid #d4e1f4;border-radius:16px;background:linear-gradient(90deg,#f3f7ff,#f9fbff);box-shadow:0 9px 22px rgba(7,28,63,.035);}
  #informationView[data-page-type="rules"] .public-rules-fairplay-info{display:flex;align-items:center;gap:14px;min-width:0;color:#3f5476;}
  #informationView[data-page-type="rules"] .public-rules-fairplay-info>b{width:36px;height:36px;flex:0 0 auto;border-radius:50%;display:grid;place-items:center;background:#367ee7;color:#fff;font:900 19px/1 Arial,sans-serif;}
  #informationView[data-page-type="rules"] .public-rules-fairplay-info strong{color:#0e3471;font-size:15px;white-space:nowrap;}
  #informationView[data-page-type="rules"] .public-rules-fairplay-info span{font-size:12px;line-height:1.35;}
  #informationView[data-page-type="rules"] .public-rules-fairplay-motto{min-height:38px;padding-left:22px;border-left:1px solid #cddbef;display:flex;align-items:center;gap:11px;color:#1d4f9c;white-space:nowrap;}
  #informationView[data-page-type="rules"] .public-rules-fairplay-motto>b{width:30px;height:35px;clip-path:polygon(50% 0,92% 16%,88% 65%,50% 100%,12% 65%,8% 16%);display:grid;place-items:center;background:#eaf2ff;color:#1b55aa;font-size:16px;}
  #informationView[data-page-type="rules"] .public-rules-fairplay-motto strong{font-size:13px;}
  #informationView[data-page-type="rules"] .public-view-footer{
    width:100%;height:50px;min-height:50px;margin:0;padding:0 28px;border-radius:18px 18px 0 0;align-self:end;flex:0 0 auto;
  }
}

@media (min-width:901px) and (max-height:760px){
  #informationView[data-page-type="rules"]{padding:15px 28px 0;}
  #informationView[data-page-type="rules"] .public-page-shell{row-gap:10px;}
  #informationView[data-page-type="rules"] .public-page-head{min-height:82px;padding-right:330px;}
  #informationView[data-page-type="rules"] .public-page-heading{gap:14px;}
  #informationView[data-page-type="rules"] .public-page-icon{width:58px;height:58px;flex-basis:58px;border-radius:18px;}
  #informationView[data-page-type="rules"] .public-page-icon svg{width:34px;height:34px;}
  #informationView[data-page-type="rules"] .public-page-kicker{font-size:9px;}
  #informationView[data-page-type="rules"] .public-page-head h2{font-size:40px;margin:2px 0 4px;}
  #informationView[data-page-type="rules"] .public-page-head p{font-size:12px;}
  #informationView[data-page-type="rules"] .public-rules-grid{grid-template-rows:repeat(2,calc((100% - 70px)/2 - 7px)) 46px;gap:12px;align-content:start;}
  #informationView[data-page-type="rules"] .public-rules-hero-art{right:4px;top:-98px;width:300px;height:102px;transform:scale(.8);transform-origin:right bottom;}
  #informationView[data-page-type="rules"] .public-rule-card{padding:13px 14px 11px;grid-template-columns:64px minmax(0,1fr);gap:11px;border-radius:16px;}
  #informationView[data-page-type="rules"] .public-rule-icon{width:58px;height:58px;}
  #informationView[data-page-type="rules"] .public-rule-icon svg{width:35px;height:35px;}
  #informationView[data-page-type="rules"] .public-rule-title-line{gap:8px;}
  #informationView[data-page-type="rules"] .public-rule-title-line span{min-width:34px;height:27px;font-size:11px;border-radius:6px;}
  #informationView[data-page-type="rules"] .public-rule-title-line h3{font-size:15px;line-height:1.1;}
  #informationView[data-page-type="rules"] .public-rule-copy>i{width:26px;height:2px;margin:7px 0 6px;}
  #informationView[data-page-type="rules"] .public-rule-copy p{font-size:10.5px;line-height:1.34;}
  #informationView[data-page-type="rules"] .public-rule-corner{width:42px;height:35px;padding:0 8px 5px 0;font-size:10px;}
  #informationView[data-page-type="rules"] .public-rules-fairplay{padding:0 14px;gap:12px;border-radius:12px;}
  #informationView[data-page-type="rules"] .public-rules-fairplay-info{gap:9px;}
  #informationView[data-page-type="rules"] .public-rules-fairplay-info>b{width:29px;height:29px;font-size:15px;}
  
  
  #informationView[data-page-type="rules"] .public-rules-fairplay-motto{min-height:30px;padding-left:14px;gap:7px;}
  #informationView[data-page-type="rules"] .public-rules-fairplay-motto>b{width:24px;height:28px;font-size:13px;}
  
  #informationView[data-page-type="rules"] .public-view-footer{height:50px;min-height:50px;font-size:11px;}
}

@media (min-width:901px) and (max-height:650px){
  #informationView[data-page-type="rules"]{padding:15px 28px 0;}
  #informationView[data-page-type="rules"] .public-page-shell{row-gap:8px;}
  #informationView[data-page-type="rules"] .public-page-head{min-height:68px;padding-right:300px;}
  #informationView[data-page-type="rules"] .public-page-icon{width:50px;height:50px;flex-basis:50px;border-radius:16px;}
  #informationView[data-page-type="rules"] .public-page-icon svg{width:29px;height:29px;}
  #informationView[data-page-type="rules"] .public-page-kicker{font-size:8px;}
  #informationView[data-page-type="rules"] .public-page-head h2{font-size:34px;margin:1px 0 3px;}
  #informationView[data-page-type="rules"] .public-page-head p{font-size:10.5px;}
  #informationView[data-page-type="rules"] .public-rules-grid{grid-template-rows:repeat(2,calc((100% - 60px)/2 - 7px)) 42px;gap:9px;align-content:start;}
  #informationView[data-page-type="rules"] .public-rules-hero-art{top:-84px;width:265px;height:88px;transform:scale(.72);}
  #informationView[data-page-type="rules"] .public-rule-card{padding:10px 12px 9px;grid-template-columns:54px minmax(0,1fr);gap:9px;border-radius:14px;}
  #informationView[data-page-type="rules"] .public-rule-icon{width:50px;height:50px;}
  #informationView[data-page-type="rules"] .public-rule-icon svg{width:31px;height:31px;}
  #informationView[data-page-type="rules"] .public-rule-title-line span{min-width:31px;height:24px;font-size:10px;}
  
  #informationView[data-page-type="rules"] .public-rule-copy>i{width:22px;margin:5px 0;}
  
  #informationView[data-page-type="rules"] .public-rule-corner{width:38px;height:31px;font-size:9px;}
  #informationView[data-page-type="rules"] .public-rules-fairplay-info span{font-size:8.7px;}
  #informationView[data-page-type="rules"] .public-rules-fairplay-motto strong{font-size:9px;}
  #informationView[data-page-type="rules"] .public-view-footer{height:50px;min-height:50px;font-size:10px;}
}

/* PUBLIC-INTERNAL-CONTROLLER-V101 — one authoritative desktop controller for
   How It Works, Test Rules and Help. It synchronizes the fixed information
   canvas with the real shared header height, restores functional website
   language/theme controls, and contains no mobile selectors. */
@media (min-width:901px){
  body.welcome-gate .public-landing{--public-header-height:75px;}
  body.welcome-gate .public-header{
    height:var(--public-header-height);
    overflow:visible;
  }
  body.welcome-gate .public-header-actions,
  body.welcome-gate .welcome-language-control{overflow:visible;}

  body.welcome-gate .public-header-nav button{
    font-size:15px;
    line-height:1.15;
  }

  #informationView[data-page-type="how"],
  #informationView[data-page-type="rules"],
  #informationView[data-page-type="help"]{
    inset:var(--public-header-height) 0 0;
    height:calc(100svh - var(--public-header-height));
    padding-top:15px;
    padding-left:28px;
    padding-right:28px;
    margin-top:0;
  }
  #informationView[data-page-type="how"] .public-page-shell,
  #informationView[data-page-type="rules"] .public-page-shell,
  #informationView[data-page-type="help"] .public-page-shell,
  #informationView[data-page-type="how"] .public-page-head,
  #informationView[data-page-type="rules"] .public-page-head,
  #informationView[data-page-type="help"] .public-page-head{
    margin-top:0;
  }

  /* V94 shared desktop footer lock: identical width/height on all three
     information pages and permanently anchored to the bottom of the canvas. */
  #informationView[data-page-type="how"] .public-page-shell,
  #informationView[data-page-type="rules"] .public-page-shell,
  #informationView[data-page-type="help"] .public-page-shell{
    width:100%;max-width:1440px;height:100%;min-height:0;padding-bottom:0;margin:0 auto;
    grid-template-rows:auto minmax(0,1fr) 50px;row-gap:10px;
  }
  #informationView[data-page-type="how"] .public-view-footer,
  #informationView[data-page-type="rules"] .public-view-footer,
  #informationView[data-page-type="help"] .public-view-footer{
    width:100%;height:50px;min-height:50px;margin:0;padding:0 28px;
    border-radius:18px 18px 0 0;align-self:end;flex:0 0 auto;
    justify-content:center;font-size:14px;line-height:1.2;
  }
  #informationView[data-page-type="how"] .public-view-footer :is(strong,i),
  #informationView[data-page-type="rules"] .public-view-footer :is(strong,i),
  #informationView[data-page-type="help"] .public-view-footer :is(strong,i){display:none;}
  #informationView[data-page-type="how"] .public-view-footer span,
  #informationView[data-page-type="rules"] .public-view-footer span,
  #informationView[data-page-type="help"] .public-view-footer span{font-size:14px;font-weight:750;white-space:nowrap;text-align:center;}

  #informationView[data-page-type="how"] .public-page-head h2,
  #informationView[data-page-type="rules"] .public-page-head h2,
  #informationView[data-page-type="help"] .public-page-head h2{font-size:clamp(48px,4.15vw,62px);line-height:.98;letter-spacing:-.045em;}
  #informationView[data-page-type="how"] .how-step-copy h3,
  #informationView[data-page-type="rules"] .public-rule-title-line h3,
  #informationView[data-page-type="help"] .public-help-title-line h3{font-size:20px;line-height:1.18;}
  #informationView[data-page-type="how"] .how-step-copy p,
  #informationView[data-page-type="rules"] .public-rule-copy p,
  #informationView[data-page-type="help"] .public-help-card-copy p{font-size:14px;line-height:1.44;}

  #welcomeLanguageMenu{
    top:calc(100% + 8px);
    right:0;
    z-index:1000;
    min-width:176px;
    display:grid;
    gap:4px;
  }
  #welcomeLanguageMenu[hidden]{display:none;}
  #welcomeLanguageMenu:not([hidden]){display:grid;}
  #welcomeLanguageMenu button{font-size:15px;color:var(--ink);}

  /* Rules typography now matches the readable scale used by the other
     two public information pages while retaining the no-scroll grid. */
  #informationView[data-page-type="rules"] .public-rule-title-line h3{
    font-size:20px;
    line-height:1.16;
  }
  #informationView[data-page-type="rules"] .public-rule-copy p{
    font-size:14px;
    line-height:1.46;
  }

  /* The public theme switch now changes the full information canvas rather
     than only changing the icon/state. */
  html[data-theme="dark"] body.welcome-gate .public-header{
    background:rgba(6,20,45,.97);
    border-bottom-color:#294b75;
    box-shadow:0 10px 32px rgba(0,0,0,.28);
  }
  html[data-theme="dark"] body.welcome-gate .public-header-nav button{color:#eef5ff;}
  html[data-theme="dark"] body.welcome-gate .public-header-nav button:hover,
  html[data-theme="dark"] body.welcome-gate .public-header-nav button[aria-current="page"]{
    background:#14335d;color:#fff;
  }
  html[data-theme="dark"] body.welcome-gate #welcomeLanguageButton,
  html[data-theme="dark"] body.welcome-gate .public-theme-toggle{
    background:#0e294f;color:#f5f8ff;border-color:#365b87;
  }
  html[data-theme="dark"] body.welcome-gate #welcomeLanguageMenu{
    background:#0e294f;border-color:#365b87;box-shadow:0 22px 50px rgba(0,0,0,.36);
  }
  html[data-theme="dark"] body.welcome-gate #welcomeLanguageMenu button{color:#f5f8ff;}
  html[data-theme="dark"] body.welcome-gate #welcomeLanguageMenu button:hover{background:#173c6c;}

  html[data-theme="dark"] #informationView[data-page-type="how"],
  html[data-theme="dark"] #informationView[data-page-type="rules"],
  html[data-theme="dark"] #informationView[data-page-type="help"]{
    color:#f5f8ff;
    background:
      radial-gradient(circle at 12% 4%,rgba(54,126,225,.18),transparent 31%),
      radial-gradient(circle at 88% 5%,rgba(247,126,40,.11),transparent 28%),
      linear-gradient(180deg,#07172f 0%,#091f40 100%);
  }
  html[data-theme="dark"] #informationView[data-page-type="how"] .public-page-head h2,
  html[data-theme="dark"] #informationView[data-page-type="rules"] .public-page-head h2,
  html[data-theme="dark"] #informationView[data-page-type="help"] .public-page-head h2,
  html[data-theme="dark"] #informationView[data-page-type="how"] h3,
  html[data-theme="dark"] #informationView[data-page-type="rules"] h3,
  html[data-theme="dark"] #informationView[data-page-type="help"] h3{
    color:#f7faff;
  }
  html[data-theme="dark"] #informationView[data-page-type="how"] .public-page-head p,
  html[data-theme="dark"] #informationView[data-page-type="rules"] .public-page-head p,
  html[data-theme="dark"] #informationView[data-page-type="help"] .public-page-head p,
  html[data-theme="dark"] #informationView[data-page-type="how"] .how-step-copy p,
  html[data-theme="dark"] #informationView[data-page-type="rules"] .public-rule-copy p,
  html[data-theme="dark"] #informationView[data-page-type="help"] .public-help-card-copy p,
  html[data-theme="dark"] #informationView[data-page-type="help"] .public-help-support-copy p{
    color:#b8c9df;
  }
  html[data-theme="dark"] #informationView[data-page-type="how"] .how-step-card,
  html[data-theme="dark"] #informationView[data-page-type="rules"] .public-rule-card,
  html[data-theme="dark"] #informationView[data-page-type="help"] .public-help-card,
  html[data-theme="dark"] #informationView[data-page-type="help"] .public-help-support{
    background:rgba(13,38,74,.97);
    border-color:#2b507d;
    box-shadow:0 15px 38px rgba(0,0,0,.22);
  }
  html[data-theme="dark"] #informationView[data-page-type="rules"] .public-rules-fairplay{
    background:linear-gradient(90deg,#102d56,#0d2649);
    border-color:#315b8d;
  }
  html[data-theme="dark"] #informationView[data-page-type="rules"] .public-rules-fairplay-info,
  html[data-theme="dark"] #informationView[data-page-type="rules"] .public-rules-fairplay-info strong,
  html[data-theme="dark"] #informationView[data-page-type="rules"] .public-rules-fairplay-motto,
  html[data-theme="dark"] #informationView[data-page-type="rules"] .public-rules-fairplay-motto strong,
  html[data-theme="dark"] #informationView[data-page-type="help"] .public-help-support-copy{
    color:#e9f2ff;
  }
  html[data-theme="dark"] #informationView[data-page-type="help"] .public-help-support-button{
    background:#102f50;color:#62dc89;border-color:#45bd6d;
  }
}

@media (min-width:901px) and (max-height:760px){
  body.welcome-gate .public-landing{--public-header-height:60px;}
  #informationView[data-page-type="how"] .public-page-head,
  #informationView[data-page-type="rules"] .public-page-head,
  #informationView[data-page-type="help"] .public-page-head{min-height:90px;margin-bottom:0;}
  #informationView[data-page-type="how"] .public-page-head h2,
  #informationView[data-page-type="rules"] .public-page-head h2,
  #informationView[data-page-type="help"] .public-page-head h2{font-size:44px;margin:4px 0;}
  #informationView[data-page-type="how"] .how-step-copy h3,
  #informationView[data-page-type="rules"] .public-rule-title-line h3,
  #informationView[data-page-type="help"] .public-help-title-line h3{font-size:17px;line-height:1.2;}
  #informationView[data-page-type="how"] .how-step-copy p,
  #informationView[data-page-type="rules"] .public-rule-copy p,
  #informationView[data-page-type="help"] .public-help-card-copy p{font-size:12px;line-height:1.4;}
  #informationView[data-page-type="how"] .how-process-grid{height:100%;grid-template-rows:minmax(144px,1fr) minmax(124px,1fr);gap:12px;}
  #informationView[data-page-type="how"] .how-step-card{padding-top:12px;padding-bottom:10px;}
  #informationView[data-page-type="how"] .how-step-card:nth-of-type(n/**/+5){padding-top:11px;padding-bottom:9px;}
  #informationView[data-page-type="help"] .public-help-grid{height:100%;grid-template-rows:repeat(2,minmax(105px,1fr)) 70px;gap:9px;align-content:stretch;}
  #informationView[data-page-type="help"] .public-help-card{padding-top:11px;padding-bottom:11px;}
  #informationView[data-page-type="rules"] .public-rule-card{padding-top:11px;padding-bottom:10px;}
  #informationView[data-page-type="rules"] .public-rules-fairplay-info strong{font-size:13px;}
  #informationView[data-page-type="rules"] .public-rules-fairplay-info span{font-size:11.5px;line-height:1.35;}
  #informationView[data-page-type="rules"] .public-rules-fairplay-motto strong{font-size:11px;line-height:1.25;}
  #informationView[data-page-type="how"] .public-view-footer span,
  #informationView[data-page-type="rules"] .public-view-footer span,
  #informationView[data-page-type="help"] .public-view-footer span{font-size:13px;}
}

@media (min-width:901px) and (max-height:650px){
  #informationView[data-page-type="rules"] .public-rule-title-line h3{font-size:18px;}
  #informationView[data-page-type="rules"] .public-rule-copy p{font-size:12.5px;line-height:1.36;}
}

/* V101 same-page registration eligibility notice beside the EN control. */
.public-registration-open{min-height:46px;padding:0 15px;border:1px solid #b9dfc5;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#f2fff6;color:#087b38;font:800 12px/1 Manrope,sans-serif;white-space:nowrap;box-shadow:0 7px 18px rgba(8,123,56,.08);}
.public-registration-open:hover{background:#e8faee;border-color:#83c99a;}
.public-registration-dot{width:8px;height:8px;border-radius:50%;background:#18a957;box-shadow:0 0 0 4px rgba(24,169,87,.12);}
.registration-info-dialog .app-dialog-card{width:min(680px,calc(100vw - 28px));overflow:hidden;border-radius:26px;}
.registration-info-dialog .app-dialog-header{background:linear-gradient(135deg,#07356d,#0c549a);color:#fff;}
.registration-info-dialog .app-dialog-header p{color:#d5e7fb;}
.registration-info-dialog .app-dialog-icon{background:#eafff0;color:#098540;}
.registration-info-dialog .app-dialog-close{color:#fff;border-color:rgba(255,255,255,.25);background:rgba(255,255,255,.1);}
.registration-info-dialog .app-dialog-body{display:grid;gap:16px;padding:22px;background:linear-gradient(180deg,#fff,#f5f9ff);}
.registration-info-summary{display:grid;gap:8px;text-align:center;}.registration-info-status{justify-self:center;padding:6px 12px;border-radius:99px;background:#e9fff0;color:#07823c;font-size:10px;font-weight:900;letter-spacing:.1em;}
.registration-info-summary h3{margin:0;color:#092f64;font:800 23px/1.15 Montserrat,Manrope,sans-serif;}.registration-info-summary p{max-width:560px;margin:0 auto;color:#536983;font-size:13px;line-height:1.55;}
.registration-info-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}.registration-info-steps>div{min-width:0;padding:13px;border:1px solid #dae5f1;border-radius:15px;background:#fff;display:flex;align-items:center;gap:10px;}
.registration-info-steps b{width:30px;height:30px;flex:0 0 30px;border-radius:9px;display:grid;place-items:center;background:#eaf3ff;color:#0b58aa;}.registration-info-steps strong,.registration-info-steps small{display:block;}.registration-info-steps strong{color:#0b315f;font-size:13px;}.registration-info-steps small{margin-top:3px;color:#6b7f97;font-size:10px;line-height:1.3;}
.registration-info-actions{display:flex;justify-content:center;gap:10px;}.registration-info-primary,.registration-info-secondary{min-height:46px;border-radius:13px;padding:0 18px;font-weight:850;}.registration-info-primary{border:0;background:linear-gradient(135deg,#f47a24,#f15d0b);color:#fff;box-shadow:0 10px 22px rgba(241,93,11,.2);}.registration-info-secondary{border:1px solid #d7e1ec;background:#fff;color:#17375f;}

/* R2.10.11 UNIFIED THEME + HEADER CONTROLS — one palette authority for the complete application.
   The saved html[data-theme] state controls Home, public pages and the full selection flow;
   approved layout geometry and test logic remain untouched. */
.app-language-menu{display:none;position:absolute;right:132px;top:58px;z-index:1605;min-width:176px;padding:7px;border:1px solid var(--line-strong);border-radius:14px;background:var(--surface);box-shadow:0 18px 44px rgba(6,20,45,.18);}
.app-language-menu:not([hidden]){display:grid;gap:4px;}
.app-language-menu button{width:100%;border:0;border-radius:9px;background:transparent;padding:9px 11px;text-align:left;font-size:13px;font-weight:800;color:var(--ink);}
.app-language-menu button:hover,.app-language-menu button.active{background:var(--blue-100);color:var(--blue-600);}

/* Header controls remain interactive above every non-secure application screen. */
.app-language-desktop,.app-theme{position:relative;z-index:2;pointer-events:auto;}
.app-language-menu{pointer-events:auto;}
.app-theme .theme-sun{display:block;}
.app-theme .theme-moon{display:none;}
html[data-theme="dark"] .app-theme .theme-sun{display:none;}
html[data-theme="dark"] .app-theme .theme-moon{display:block;}
body.app-flow:not(.test-mode) .app-language-menu{right:164px;top:56px;}

/* Complete public Home/header dark palette. Later desktop Home geometry uses
   deliberate light literals, so these theme selectors are the final palette authority. */
html[data-theme="dark"] body.welcome-gate .public-landing{
  background:
    radial-gradient(circle at 78% 24%,rgba(244,123,36,.13),transparent 29%),
    radial-gradient(circle at 21% 71%,rgba(51,126,225,.16),transparent 32%),
    linear-gradient(135deg,#06142d 0%,#08234a 58%,#0a2b58 100%);
  color:#f5f8ff;
}
html[data-theme="dark"] body.welcome-gate .public-landing::before{
  background-image:radial-gradient(circle,rgba(94,157,236,.32) 0 1.2px,transparent 1.5px);
}
html[data-theme="dark"] body.welcome-gate .public-landing::after{
  background-image:radial-gradient(circle,rgba(255,143,64,.30) 0 1.1px,transparent 1.45px);
}
html[data-theme="dark"] body.welcome-gate .public-header{
  background:rgba(6,20,45,.96);border-bottom-color:#274a74;color:#f5f8ff;
  box-shadow:0 10px 32px rgba(0,0,0,.28);
}
html[data-theme="dark"] body.welcome-gate .public-header-brand .gmc-inline-wordmark,
html[data-theme="dark"] body.app-flow:not(.test-mode) .app-brand .gmc-inline-wordmark{
  display:flex;align-items:center;justify-content:flex-start;background:rgba(255,255,255,.97);
  border:1px solid rgba(255,255,255,.8);border-radius:12px;padding:4px 8px;box-sizing:border-box;
  box-shadow:0 8px 20px rgba(0,0,0,.16);
}
html[data-theme="dark"] body.welcome-gate .public-header-nav button{color:#dce9fa;}
html[data-theme="dark"] body.welcome-gate .public-header-nav button:hover,
html[data-theme="dark"] body.welcome-gate .public-header-nav button[aria-current="page"]{
  background:#143866;color:#fff;
}
html[data-theme="dark"] body.welcome-gate :is(#welcomeLanguageButton,.public-theme-toggle,.public-mobile-menu-toggle){
  background:#10294f;border-color:#365a84;color:#f7f9ff;box-shadow:0 8px 20px rgba(0,0,0,.22);
}
html[data-theme="dark"] body.welcome-gate :is(#welcomeLanguageMenu,.public-mobile-menu){
  background:#10294f;border-color:#365a84;color:#f7f9ff;box-shadow:0 20px 46px rgba(0,0,0,.38);
}
html[data-theme="dark"] body.welcome-gate :is(#welcomeLanguageMenu,.public-mobile-menu) button{color:#f5f8ff;}
html[data-theme="dark"] body.welcome-gate :is(#welcomeLanguageMenu,.public-mobile-menu) button:hover,
html[data-theme="dark"] body.welcome-gate :is(#welcomeLanguageMenu,.public-mobile-menu) button.active{background:#173c6c;color:#fff;}
html[data-theme="dark"] body.welcome-gate :is(.public-title-small,.public-title-bottom,.public-title-bottom em){color:#f5f8ff;}
html[data-theme="dark"] body.welcome-gate .public-title-memory{color:#8fc1ff;text-shadow:0 14px 30px rgba(0,0,0,.24);}
html[data-theme="dark"] body.welcome-gate .public-kicker{background:#332719;border-color:#745133;color:#ffb77b;}
html[data-theme="dark"] body.welcome-gate .public-tagline{color:#c0d0e4;}
html[data-theme="dark"] body.welcome-gate :is(.public-qualified,.public-registration-home){
  background:#10294f;border-color:#3b6593;color:#f4f8ff;box-shadow:0 12px 28px rgba(0,0,0,.2);
}
html[data-theme="dark"] body.welcome-gate .public-partners{
  background:#0d274b;border-color:#31577f;box-shadow:0 16px 38px rgba(0,0,0,.24);
}
html[data-theme="dark"] body.welcome-gate .public-partner{background:transparent;border-color:#31577f;}
html[data-theme="dark"] body.welcome-gate .public-partner-heading{color:#b9d1ee;}
html[data-theme="dark"] body.welcome-gate .public-logo-box{
  background:rgba(255,255,255,.97);border:1px solid rgba(255,255,255,.72);border-radius:12px;padding:5px 10px;
}
html[data-theme="dark"] body.welcome-gate .public-brain-glow{
  background:radial-gradient(circle,rgba(64,135,229,.26),rgba(244,123,36,.10) 46%,transparent 72%);
}

/* Remaining non-secure surfaces that previously retained a light strip. */
html[data-theme="dark"] body.app-flow:not(.test-mode) :is(.profile-footer,.profile-edit-actions,.photo-change-actions,.registration-info-dialog .app-dialog-body){
  background:#0b2345;border-color:#31577f;color:#f5f8ff;
}
html[data-theme="dark"] body.app-flow:not(.test-mode) :is(.profile-photo-drop,.profile-photo-preview-panel,.profile-photo-placeholder){
  background:#10294f;border-color:#365a84;color:#b8c9df;
}



html[data-theme="dark"] body:not(.test-mode){background:#06142d;color:#f5f8ff;}
html[data-theme="dark"] body.app-flow:not(.test-mode),html[data-theme="dark"] body.app-flow:not(.test-mode) .app,
html[data-theme="dark"] body.app-flow:not(.test-mode) .main,html[data-theme="dark"] body.app-flow:not(.test-mode) main.main>section.screen{
  background:linear-gradient(145deg,#06142d,#081d3b 58%,#0a2448);color:#f5f8ff;
}
html[data-theme="dark"] body.app-flow:not(.test-mode) .app-header{background:rgba(7,24,49,.98);border-bottom-color:#ff681c;box-shadow:0 8px 28px rgba(0,0,0,.28);color:#f5f8ff;}
html[data-theme="dark"] body.app-flow:not(.test-mode) .app-brand{border-right-color:#315274;}
html[data-theme="dark"] body.app-flow:not(.test-mode) .app-heading strong{color:#f7faff;}
html[data-theme="dark"] body.app-flow:not(.test-mode) .app-heading span{color:#aebfd5;}
html[data-theme="dark"] body.app-flow:not(.test-mode) .app-language-desktop,html[data-theme="dark"] body.app-flow:not(.test-mode) .app-theme{background:#10294f;border-color:#365a84;color:#f7f9ff;}
html[data-theme="dark"] .app-language-menu{background:#10294f;border-color:#365a84;box-shadow:0 20px 46px rgba(0,0,0,.38);}
html[data-theme="dark"] .app-language-menu button{color:#f5f8ff;}
html[data-theme="dark"] .app-language-menu button:hover,html[data-theme="dark"] .app-language-menu button.active{background:#173c6c;color:#fff;}

html[data-theme="dark"] body.app-flow:not(.test-mode) :is(.email-minimal-card,.otp-minimal-card,.profile-card,.profile-section,.selection-id-card,.selection-id-details,.selection-id-photo-frame,.selection-id-qr-frame,.device-panel,.device-panel-section,.device-consent,.rules-board,.rules-item,.rules-consent-card,.result-card,.result-stat,.result-follow-card,.result-final-action,.result-social-action,.app-dialog-card,.photo-change-card,.photo-current-panel,.photo-change-controls,.photo-guideline-item,.profile-edit-card,.profile-edit-lock-note,.identity-correction-request){background:#0d274b;border-color:#31577f;color:#f5f8ff;box-shadow:0 14px 34px rgba(0,0,0,.18);}
html[data-theme="dark"] body.app-flow:not(.test-mode) :is(.profile-head h2,.profile-section-title h3,.selection-id-kicker,.selection-id-id,.device-head h2,.reference-panel-heading h3,.rules-head h2,.rules-copy h3,.result-reference-title,.result-runtime-title,.result-actions-heading h3,.result-desktop-section-title,.app-dialog-header h2,.photo-change-title-copy h2,.photo-change-guidelines h3,.profile-edit-head h2,.identity-correction-request h3){color:#f7faff;}
html[data-theme="dark"] body.app-flow:not(.test-mode) :is(.profile-head p,.profile-section-title p,.selection-id-cell label,.selection-id-cell small,.device-head p,.reference-panel-heading p,.rules-copy p,.result-stat label,.result-action small,.result-social-heading small,.result-recorded-box label,.app-dialog-header p,.photo-change-title-copy p,.photo-current-status,.photo-current-note,.profile-edit-head p,.profile-edit-lock-note,.identity-correction-request p){color:#b8c9df;}
html[data-theme="dark"] body.app-flow:not(.test-mode) :is(.field input,.field select,.otp-boxes input,.profile-edit-field input,.profile-edit-field select,.identity-correction-grid input,.photo-change-card input[type="file"]){background:#10294f;border-color:#365a84;color:#f7faff;box-shadow:none;}
html[data-theme="dark"] body.app-flow:not(.test-mode) :is(input,textarea)::placeholder{color:#91a6c1;opacity:1;}
html[data-theme="dark"] body.app-flow:not(.test-mode) select option{background:#10294f;color:#f7faff;}
html[data-theme="dark"] body.app-flow:not(.test-mode) .selection-id-media{background:linear-gradient(180deg,#09295a,#071f45);}
html[data-theme="dark"] body.app-flow:not(.test-mode) .selection-id-warning{background:#102f50;border-color:#315b8d;color:#dbe9fb;}
html[data-theme="dark"] body.app-flow:not(.test-mode) .device-warning{background:#332719;border-color:#745133;color:#ffd8b5;}
html[data-theme="dark"] body.app-flow:not(.test-mode) .rules-tab{background:#10294f;border-color:#365a84;color:#e8f1ff;}
html[data-theme="dark"] body.app-flow:not(.test-mode) .rules-tab.active{background:linear-gradient(135deg,#f47b24,#e96317);color:#fff;border-color:#f47b24;}
html[data-theme="dark"] body.app-flow:not(.test-mode) .result-recorded{background:#123c32;border-color:#2d7a61;}
html[data-theme="dark"] body.app-flow:not(.test-mode) .result-recorded :is(strong,small,label){color:#ddfff1;}
html[data-theme="dark"] body.app-flow:not(.test-mode) .result-recorded-box{background:#0f302b;border-color:#2d6b5a;}
html[data-theme="dark"] body.app-flow:not(.test-mode) .result-follow-section{border-color:#31577f;}

html[data-theme="dark"] :is(.app-dialog,.photo-change-modal,.profile-edit-modal) :is(.app-dialog-backdrop,.photo-change-backdrop,.profile-edit-backdrop){background:rgba(1,8,20,.78);}

html[data-theme="dark"] #qualifiedView{background:linear-gradient(180deg,#07172f,#091f40);color:#f5f8ff;}
html[data-theme="dark"] #qualifiedView :is(.qualified-search-box,.qualified-total-card,.public-qualified-table-wrap,.public-qualified-detail,.qualified-recent-row,.qualified-recent-note){background:#0d274b;border-color:#31577f;color:#f5f8ff;}
html[data-theme="dark"] #qualifiedView :is(input,select){background:#10294f;border-color:#365a84;color:#f5f8ff;}
html[data-theme="dark"] #qualifiedView :is(th,td,.qualified-student-cell strong,.qualified-recent-copy strong,.qualified-detail-student h3,.qualified-detail-grid strong){color:#eef5ff;}
html[data-theme="dark"] #qualifiedView :is(.qualified-recent-copy small,.qualified-detail-student p,.qualified-detail-grid small,.qualified-table-footer){color:#b8c9df;}
html[data-theme="dark"] #qualifiedView .qualified-detail-grid div{background:#10294f;border-color:#365a84;}



/* Exact dark-theme coverage for the authoritative desktop application screens.
   These selectors only change palette; no approved geometry, spacing or flow is changed. */
@media (min-width:901px){
  /* Profile */
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-profile.profile-master-layout .profile-card::before,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-profile.profile-master-layout [data-profile-panel="2"]{
    background:#0d274b;border-color:#31577f;
  }
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-profile.profile-master-layout [data-profile-panel="0"] .profile-title h3,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-profile.profile-master-layout [data-profile-panel="2"] .profile-title h3,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-profile.profile-master-layout .field label,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-profile.profile-master-layout .profile-photo-drop::before{color:#eef5ff;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-profile.profile-master-layout [data-profile-panel="0"] .profile-title p,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-profile.profile-master-layout .profile-adult-optional,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-profile.profile-master-layout .profile-consents .consent,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-profile.profile-master-layout .profile-required-note{color:#b8c9df;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-profile.profile-master-layout .field input,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-profile.profile-master-layout .field select,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-profile.profile-master-layout .field:has(#phone)::before{
    background:#10294f;color:#eef5ff;border-color:#365a84;
  }
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-profile.profile-master-layout .field input,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-profile.profile-master-layout .field select{border-color:#365a84;color:#f7faff;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-profile.profile-master-layout .field input[readonly],
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-profile.profile-master-layout .profile-photo-preview-panel,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-profile.profile-master-layout .profile-photo-placeholder{background:#10294f;color:#a9bdd5;border-color:#365a84;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-profile.profile-master-layout .profile-photo-btn,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-profile.profile-master-layout .profile-desktop-back{background:#10294f;color:#dfeaff;border-color:#4c73a7;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-profile.profile-master-layout .profile-consents{border-color:#31577f;}

  /* Selection ID — keep the QR/photo paper frame white for readable media, theme the surrounding application card. */
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-id .selection-id-shell,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-id .selection-id-card,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-id .selection-id-details,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-id .selection-id-cell,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-id .selection-id-footer-item,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-id .selection-id-actions{background:#0d274b;border-color:#31577f;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-id .selection-id-kicker,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-id .selection-id-id,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-id .selection-id-cell strong,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-id .selection-id-footer-item strong,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-id .selection-id-warning strong{color:#eef5ff;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-id .selection-id-cell small,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-id .selection-id-footer-item small{color:#b8c9df;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-id .selection-id-id,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-id .selection-id-footer{border-color:#31577f;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-id .selection-id-cell,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-id .selection-id-footer-item{border-color:#31577f;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-id .selection-id-warning{background:#102f50;border-color:#3d6796;color:#dceafb;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-id .selection-id-actions .btn-secondary{background:#10294f;color:#9fc2ff;border-color:#4b72a6;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-id .selection-id-actions .btn-secondary:hover{background:#17365e;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-id .selection-id-photo-frame,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-id .selection-id-qr-frame{background:#fff;border-color:rgba(255,255,255,.82);}

  /* Device Check */
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-device.device-root.active:not([hidden]){background:#0d274b;border-color:#31577f;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-device .device-head h2,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-device .device-check strong,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-device .device-panel-section[data-device-panel="2"] .reference-panel-heading h3{color:#eef5ff;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-device .device-head p{color:#b8c9df;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-device .device-check{background:#10294f;border-color:#365a84;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-device .device-check-icon{background:#0c3561;border-color:#365a84;color:#73b2ff;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-device .device-check.warn .device-check-icon{background:#3a2a1e;border-color:#765035;color:#ff9d5f;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-device .device-panel-section[data-device-panel="2"]{background:linear-gradient(180deg,#10294f,#0d274b);border-color:#4778ae;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-device .device-panel-section[data-device-panel="2"] .reference-panel-heading,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-device .device-consent{border-color:#31577f;color:#d7e5f7;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-device .device-desktop-actions .btn-secondary{background:#10294f;border-color:#4b72a6;color:#dfeaff;}

  /* Official Rules */
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-rules .rules-board,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-rules .rules-item,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-rules .rules-consent-card{background:#0d274b;border-color:#31577f;color:#eef5ff;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-rules .rules-copy strong,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-rules .rules-copy h3{color:#eef5ff;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-rules .rules-copy small,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-rules .rules-copy p{color:#b8c9df;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-rules .rules-desktop-back{background:#10294f;color:#dfeaff;border-color:#4b72a6;}

  /* Result */
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result.result-root{background:#06142d;color:#f5f8ff;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result .result-card,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result .result-summary-card.result-panel:not([hidden]),
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result .result-right-column,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result .result-stat,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result .result-stat.top,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result #resultAchievementAction,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result .result-follow-card{background:#0d274b;border-color:#31577f;color:#eef5ff;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result .result-reference-kicker,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result .result-copy h3,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result .result-desktop-next-title,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result .result-desktop-section-title,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result #resultAchievementAction strong,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result .result-follow-card .result-follow-label,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result .result-social-action strong{color:#eef5ff;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result .result-reference-kicker,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result .result-stat small,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result .result-recorded-box label{color:#b8c9df;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result .result-reference-kicker,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result .result-download-title,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result .result-share-title,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result .result-social-actions{border-color:#31577f;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result .result-reference-title{background:linear-gradient(180deg,#123c32,#10372e);border-color:#347d63;color:#7ce7a7;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result .result-photo{background:#10294f;border-color:#4b72a6;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result .result-photo img{background:#10294f;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result .result-status-pill{background:#10294f;border-color:#4777bd;color:#9fc6ff;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result .result-stat-icon{background:#102f50;border-color:#4778ae;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result .result-recorded.result-panel:not([hidden]){background:#123c32;border-color:#347d63;}
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result .result-recorded-head strong,
  html[data-theme="dark"] body.app-flow:not(.test-mode) #screen-result .result-recorded-box strong{color:#ddfff1;}

  /* Profile edit and correction dialogs use the same theme palette without changing layout. */
  html[data-theme="dark"] .profile-edit-modal .profile-edit-card,
  html[data-theme="dark"] .identity-correction-request{background:#0d274b;border-color:#31577f;color:#eef5ff;}
}

/* V95 Admin-verification popups: palette-only dark mode. */
html[data-theme="dark"] .photo-change-modal .photo-change-card,
html[data-theme="dark"] .photo-change-modal .photo-change-head,
html[data-theme="dark"] .photo-change-modal .photo-change-body,
html[data-theme="dark"] .photo-change-modal .photo-change-actions,
html[data-theme="dark"] .administrative-review-popup-theme .app-dialog-card,
html[data-theme="dark"] .administrative-review-popup-theme .app-dialog-header,
html[data-theme="dark"] .administrative-review-popup-theme .app-dialog-body{background:#0d274b;color:#eef5ff;border-color:#31577f;}
html[data-theme="dark"] .photo-change-modal .photo-change-close,
html[data-theme="dark"] .administrative-review-popup-theme .app-dialog-close,
html[data-theme="dark"] .administrative-review-actions .attempts-close-btn{background:#10294f;color:#eef5ff;border-color:#4b72a6;}
html[data-theme="dark"] .photo-change-modal .photo-change-title-copy h2,
html[data-theme="dark"] .photo-change-modal .photo-current-panel h3,
html[data-theme="dark"] .photo-change-modal .photo-change-upload strong,
html[data-theme="dark"] .photo-change-modal .photo-change-guidelines h3,
html[data-theme="dark"] .administrative-review-popup-theme .app-dialog-header h2,
html[data-theme="dark"] .administrative-review-copy h3{color:#eef5ff;}
html[data-theme="dark"] .photo-change-modal .photo-change-title-copy p,
html[data-theme="dark"] .photo-change-modal .photo-current-status,
html[data-theme="dark"] .photo-change-modal .photo-change-upload small,
html[data-theme="dark"] .administrative-review-popup-theme .app-dialog-header p,
html[data-theme="dark"] .administrative-review-copy>p{color:#b8c9df;}
html[data-theme="dark"] .photo-change-modal .photo-change-photo-ring,
html[data-theme="dark"] .photo-change-modal #photoChangeInput,
html[data-theme="dark"] .photo-change-modal #photoChangeInput::file-selector-button{background:#10294f;color:#dceafb;border-color:#365a84;}
html[data-theme="dark"] .photo-change-modal .photo-change-upload{background:linear-gradient(120deg,#10294f,#0d274b);border-color:#5a8fe4;}
html[data-theme="dark"] .photo-change-modal .photo-guideline-item{background:linear-gradient(120deg,#122d55,#10294f);color:#d8e6f8;}
html[data-theme="dark"] .photo-change-modal .photo-current-note,
html[data-theme="dark"] .administrative-review-note{background:linear-gradient(120deg,#3a291e,#32251c);color:#ffd8bb;}
html[data-theme="dark"] .photo-change-modal .photo-change-divider{background:#31577f;}
html[data-theme="dark"] .administrative-review-saved{background:linear-gradient(120deg,#102f50,#10294f);color:#d9eaff;}
html[data-theme="dark"] .administrative-review-headset{background:linear-gradient(145deg,#10294f,#0d274b);}



/* Theme continuity through the secure timed stages. Geometry and fair-play black lock remain unchanged. */
html[data-theme="light"] body.test-mode #screen-memorize,
html[data-theme="light"] body.test-mode #screen-recall{
  background:radial-gradient(circle at 84% 6%,rgba(244,123,36,.08),transparent 24rem),linear-gradient(145deg,#f5f8fc,#eaf1f9);color:#0a1e3f;
}
html[data-theme="light"] body.test-mode .stage-logo-light{display:block;}
html[data-theme="light"] body.test-mode .stage-logo-dark{display:none;}
html[data-theme="dark"] body.test-mode .stage-logo-light{display:none;}
html[data-theme="dark"] body.test-mode .stage-logo-dark{display:block;}
html[data-theme="light"] body.test-mode :is(.stage-clock,.stage-attempt-box,.stage-info,.stage-bottom-item){background:#fff;border-color:#d3dfed;color:#0a2858;box-shadow:0 8px 22px rgba(7,35,76,.06);}
html[data-theme="light"] body.test-mode .stage-security,
html[data-theme="light"] body.test-mode :is(.stage-bottom-item small,.stage-submit small){color:#5d7190;}
html[data-theme="light"] body.test-mode :is(.words-card,.memory-row,.recall-row){background:#fff;color:#10213d;border-color:#dce5f0;}
html[data-theme="light"] body.test-mode :is(.memory-row header,.recall-row header){border-color:#e3eaf3;}
html[data-theme="light"] body.test-mode .recall-item .idx{background:#edf3fb;color:#566d8e;}
html[data-theme="light"] body.test-mode .recall-answer{background:#f8fafc;border-color:#d6e1ee;color:#10213d;}
html[data-theme="light"] .focus-wrap{
  background:radial-gradient(circle at 50% 42%,#eef5ff,#f8fbff 68%);color:#0a2858;
}
html[data-theme="light"] .focus-wrap .focus-content h2{color:#0a2858;}
html[data-theme="light"] .focus-wrap .focus-content p,
html[data-theme="light"] .focus-start-line{color:#5d7190;}
html[data-theme="light"] .focus-ring-inner{fill:rgba(236,244,255,.92);stroke:rgba(66,117,186,.17);}
html[data-theme="light"] .focus-ring-track{stroke:rgba(64,118,190,.17);}
html[data-theme="light"] .focus-secure-panel{background:rgba(255,255,255,.88);border-color:#d5e2f1;box-shadow:0 16px 36px rgba(8,35,74,.08);}
html[data-theme="light"] .focus-secure-panel-item{border-color:#dce6f2;}
html[data-theme="light"] .focus-secure-panel-item span,
html[data-theme="light"] .focus-secure-panel-item-env strong{color:#0a2858;}
html[data-theme="light"] .focus-secure-footer{color:#0a2858;border-color:#d7e2ee;}
html[data-theme="light"] .focus-secure-footer b{color:#0a2858;}


/* QUALIFICATION-POPUP-V97 — sole authoritative qualification-confirmed popup.
   Root rebuild: no wrapper page, no overlay stylesheet and no legacy popup geometry. */
.qualified-popup-theme{background:rgba(3,14,35,.72);backdrop-filter:blur(12px) saturate(120%);}
.qualified-popup-theme .app-dialog-card{
  width:min(920px,calc(100vw - 56px));max-height:calc(100vh - 44px);overflow:hidden;
  border:1px solid rgba(208,220,236,.96);border-radius:24px;background:#f8fbff;
  box-shadow:0 34px 100px rgba(0,20,55,.34)
;}
.qualified-popup-theme .app-dialog-header{background:linear-gradient(115deg,#061d45 0%,#07386f 100%);
  min-height:104px;padding:20px 24px;display:grid;grid-template-columns:54px minmax(0,1fr) 42px;
  align-items:center;gap:16px;
  border-bottom:3px solid #ff6a00;color:#fff
;}
.qualified-popup-theme .app-dialog-icon{
  width:52px;height:52px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(145deg,#ff8a17,#f16300);
  color:#fff;font:900 24px/1 Montserrat,Manrope,sans-serif;box-shadow:0 11px 26px rgba(241,99,0,.32)
;}
.qualified-popup-theme .app-dialog-header>div{min-width:0;}
.qualified-popup-theme .app-dialog-header h2{margin:0;color:#fff;font:800 24px/1.08 Montserrat,Manrope,sans-serif;letter-spacing:-.025em;}
.qualified-popup-theme .app-dialog-header p{margin:7px 0 0;color:#d8e6f7;font:500 13px/1.35 Manrope,Arial,sans-serif;}
.qualified-popup-theme .app-dialog-close{
  position:static;width:40px;height:40px;border-radius:12px;border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.10);color:#fff;font-size:20px
;}
.qualified-popup-theme .app-dialog-body{padding:18px;background:linear-gradient(180deg,#fbfdff,#f4f8fd);}
.qualified-success-popup{display:grid;grid-template-rows:auto auto auto auto;gap:12px;}
.qualified-reference-main{
  display:grid;grid-template-columns:156px minmax(0,1fr);gap:22px;align-items:center;min-height:150px;padding:15px 18px;
  border:1px solid #dce6f2;border-radius:18px;background:#fff;box-shadow:0 7px 18px rgba(8,38,80,.035)
;}
.qualified-photo-wrap{position:relative;width:140px;justify-self:center;}
.qualified-photo{width:140px;height:112px;border-radius:16px;overflow:hidden;border:3px solid #ff7817;background:#eef4fb;box-shadow:0 10px 24px rgba(8,38,80,.14);}
.qualified-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 24%;}
.qualified-photo-badge{position:absolute;right:-7px;bottom:-7px;width:30px;height:30px;border:4px solid #fff;border-radius:50%;display:grid;place-items:center;background:#17b75d;color:#fff;font-weight:900;box-shadow:0 7px 16px rgba(23,183,93,.25);}
.qualified-message-copy{min-width:0;}
.qualified-congrats-kicker{margin-bottom:7px;color:#f16a00;font-size:9px;font-weight:900;letter-spacing:.105em;text-transform:uppercase;}
.qualified-message-copy h3{margin:0;color:#092b63;font:800 27px/1.08 Montserrat,Manrope,sans-serif;letter-spacing:-.03em;}
.qualified-student-name{color:#f06400;}
.qualified-attempt-line{display:flex;align-items:center;gap:9px;margin-top:12px;color:#173d70;font-size:14px;line-height:1.3;}
.qualified-attempt-line .ok{width:28px;height:28px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;background:#e5f8ec;color:#109147;font-weight:900;}
.qualified-note{margin:9px 0 0;color:#6c7e98;font-size:13px;line-height:1.4;}
.qualified-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.qualified-info-card{
  min-width:0;min-height:64px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px 11px;
  border:1px solid #dce6f2;border-radius:14px;background:#fff
;}
.qualified-info-icon{width:36px;height:36px;border-radius:10px;background:#eaf3ff;color:#1269c4;display:grid;place-items:center;}
.qualified-info-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.qualified-info-copy{display:grid;min-width:0;gap:2px;}
.qualified-info-copy span{font-size:8px;color:#71839e;text-transform:uppercase;font-weight:900;letter-spacing:.04em;}
.qualified-info-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#0b3269;}
.qualified-copy-btn{width:32px;height:32px;border:0;border-radius:9px;background:#edf4ff;color:#1267bd;display:grid;place-items:center;}
.qualified-copy-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.qualified-info-card.attempt,.qualified-info-card.status{grid-template-columns:38px minmax(0,1fr);}
.qualified-info-card.status .qualified-info-icon{background:#ebf9f0;color:#11934b;}
.qualified-info-card.status .qualified-info-copy strong{color:#0b8440;}
.qualified-actions-wrap{min-width:0;}
.qualified-popup-downloads{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
.qualified-popup-downloads .popup-action{
  min-width:0;min-height:52px;display:grid;grid-template-columns:34px minmax(0,1fr) 18px;align-items:center;gap:9px;padding:7px 11px;
  border:1px solid #d8e3ef;border-radius:13px;background:#fff;color:#10366a;text-align:left;font:800 13px/1.15 Manrope,Arial,sans-serif;
  box-shadow:0 5px 14px rgba(8,38,80,.025);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease
;}
.qualified-popup-downloads .popup-action:hover{transform:translateY(-1px);box-shadow:0 9px 22px rgba(8,38,80,.08);border-color:#b7cce5;}
.qualified-popup-downloads .popup-action>b{justify-self:end;color:#91a5c0;font-size:15px;}
.popup-action-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#eaf3ff;color:#126bc4;flex:0 0 auto;}
.popup-action-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.qualified-popup-downloads .popup-action.result-card{background:#eef9f2;color:#0a8542;border-color:#d6ecdf;}
.qualified-popup-downloads .popup-action.result-card .popup-action-icon{background:#daf4e4;color:#0b8b44;}
.qualified-popup-downloads .popup-action.edit-profile{background:#fff7ed;color:#a84c00;border-color:#f2dfca;}
.qualified-popup-downloads .popup-action.edit-profile .popup-action-icon{background:#ffead6;color:#d65f00;}
.qualified-secure-note{min-height:28px;display:flex;align-items:center;justify-content:center;gap:7px;color:#6a7d96;font-size:10px;text-align:center;}
.qualified-secure-note svg{width:17px;height:17px;fill:none;stroke:#14914b;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}

@media (min-width:901px) and (max-height:720px){
  .qualified-popup-theme .app-dialog-card{width:min(860px,calc(100vw - 48px));max-height:calc(100vh - 30px);}
  .qualified-popup-theme .app-dialog-header{min-height:88px;padding:15px 20px;grid-template-columns:46px minmax(0,1fr) 38px;gap:13px;}
  .qualified-popup-theme .app-dialog-icon{width:44px;height:44px;border-radius:13px;font-size:21px;}
  .qualified-popup-theme .app-dialog-header h2{font-size:22px;}.qualified-popup-theme .app-dialog-header p{font-size:11px;margin-top:5px;}
  .qualified-popup-theme .app-dialog-close{width:36px;height:36px;}
  .qualified-popup-theme .app-dialog-body{padding:14px;}
  .qualified-success-popup{gap:9px;}
  .qualified-reference-main{grid-template-columns:132px minmax(0,1fr);gap:18px;min-height:124px;padding:11px 14px;}
  .qualified-photo-wrap{width:116px;}.qualified-photo{width:116px;height:92px;border-radius:13px;}
  .qualified-photo-badge{width:26px;height:26px;border-width:3px;}
  .qualified-congrats-kicker{font-size:7px;margin-bottom:5px;}.qualified-message-copy h3{font-size:23px;}
  .qualified-attempt-line{margin-top:8px;font-size:12px;}.qualified-attempt-line .ok{width:24px;height:24px;}
  .qualified-note{margin-top:6px;font-size:11px;}
  .qualified-info-card{min-height:54px;padding:7px 9px;}.qualified-info-icon{width:30px;height:30px;}.qualified-info-copy span{font-size:7px;}.qualified-info-copy strong{font-size:10px;}
  .qualified-copy-btn{width:28px;height:28px;}
  .qualified-popup-downloads .popup-action{min-height:44px;padding:6px 9px;font-size:11px;}.popup-action-icon{width:28px;height:28px;}
  .qualified-secure-note{font-size:8px;min-height:22px;}
}



html[data-theme="dark"] .qualified-popup-theme .app-dialog-card{background:#0c2344;border-color:#355980;}
html[data-theme="dark"] .qualified-popup-theme .app-dialog-body{background:linear-gradient(180deg,#0b1f3d,#0b2447);}
html[data-theme="dark"] .qualified-reference-main,html[data-theme="dark"] .qualified-info-card,html[data-theme="dark"] .qualified-popup-downloads .popup-action{background:#102b51;border-color:#365c87;color:#eef6ff;}
html[data-theme="dark"] .qualified-message-copy h3,html[data-theme="dark"] .qualified-info-copy strong{color:#f4f8ff;}
html[data-theme="dark"] .qualified-attempt-line,html[data-theme="dark"] .qualified-note,html[data-theme="dark"] .qualified-info-copy span,html[data-theme="dark"] .qualified-secure-note{color:#b8cce4;}
html[data-theme="dark"] .qualified-popup-downloads .popup-action.result-card{background:#12372f;border-color:#2e6b56;color:#98efbd;}
html[data-theme="dark"] .qualified-popup-downloads .popup-action.edit-profile{background:#3a2a1e;border-color:#6c4a2e;color:#ffc997;}
/* GMC R2.7 authoritative Student Portal — single-screen dashboard + routed app views */
.portal-body{margin:0;min-height:100vh;background:#f5f5f7;color:#1d1d1f;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",Arial,sans-serif;}.portal-body *{box-sizing:border-box;}
.portal-header{position:sticky;top:0;z-index:90;min-height:68px;padding:0 max(24px,calc((100vw - 1320px)/2));display:grid;grid-template-columns:210px 1fr auto;align-items:center;gap:22px;background:rgba(245,245,247,.92);color:#1d1d1f;box-shadow:none;border-bottom:1px solid rgba(0,0,0,.06);}
.portal-brand{display:flex;align-items:center;color:#1d1d1f;text-decoration:none;min-width:0;}.portal-brand-text span{display:flex;flex-direction:column;}.portal-brand b{font:800 17px/1.05 Montserrat,Poppins,sans-serif;letter-spacing:-.01em;}.portal-brand small{opacity:.72;font-size:9px;letter-spacing:.15em;text-transform:uppercase;margin-top:4px;}.portal-main-nav{justify-self:center;display:flex;align-items:center;gap:6px;padding:5px;border-radius:13px;background:transparent;border:0;backdrop-filter:none;}.portal-main-nav a{color:#3a3a3c;text-decoration:none;font-size:10.5px;font-weight:750;padding:8px 12px;border-radius:9px;white-space:nowrap;transition:.18s ease;}.portal-main-nav a:hover,.portal-main-nav a[aria-current="page"]{background:#1d1d1f;color:#fff;}.portal-account{display:flex;align-items:center;gap:12px;justify-self:end;}.portal-user{font-size:11px;font-weight:650;color:#3a3a3c;white-space:nowrap;}.portal-account form{margin:0;}.portal-header button{border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08);color:#fff;border-radius:9px;padding:8px 12px;cursor:pointer;font:650 11px Poppins,sans-serif;}.portal-mobile-menu{display:none;}
.portal-shell{width:min(1320px,calc(100% - 40px));margin:18px auto 30px;}.portal-app-shell{min-height:calc(100vh - 132px);}
.portal-hero{position:relative;display:flex;justify-content:space-between;align-items:center;gap:26px;padding:28px 32px;border-radius:22px;color:#fff;background:radial-gradient(circle at 84% 10%,#397fdb 0,#0f4a97 31%,#071d47 74%);box-shadow:0 20px 52px rgba(7,38,83,.18);overflow:hidden;}.portal-hero:after{content:"";position:absolute;width:300px;height:300px;border-radius:50%;right:-110px;top:-170px;border:1px solid rgba(255,255,255,.11);box-shadow:0 0 0 38px rgba(255,255,255,.035),0 0 0 76px rgba(255,255,255,.025);}.portal-hero>div{position:relative;z-index:2;}.portal-hero-compact{min-height:150px;}.portal-hero h1{font:800 clamp(26px,2.7vw,39px)/1.08 Montserrat,Poppins,sans-serif;margin:7px 0;letter-spacing:-.025em;}.portal-hero p{margin:0;max-width:700px;color:#d7e6ff;font-size:12px;line-height:1.6;}.portal-eyebrow{font-size:9px;letter-spacing:.17em;font-weight:850;color:#ffad42;}.portal-status-card{min-width:250px;padding:18px 20px;background:rgba(255,255,255,.98);border-radius:16px;color:#0a2c61;box-shadow:0 16px 36px rgba(0,21,55,.22);display:flex;flex-direction:column;border:1px solid rgba(255,255,255,.72);}.portal-status-card small{font-size:8px;letter-spacing:.14em;color:#77869d;font-weight:850;}.portal-status-card strong{font-size:17px;margin:5px 0 3px;}.portal-status-card span{font-size:10px;color:#ed7615;font-weight:800;}.portal-hero.is-confirmed .portal-status-card strong{color:#087143;}
.portal-latest-strip{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:14px;margin:12px 0;padding:13px 16px;border-radius:16px;background:#fff;border:1px solid #dce6f2;box-shadow:0 8px 24px rgba(8,42,90,.055);}.portal-latest-strip.has-update{border-left:4px solid #f47b13;}.portal-latest-icon{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:#fff3e7;color:#ea6f0b;font:850 18px Montserrat,sans-serif;}.portal-latest-copy{min-width:0;display:flex;flex-direction:column;}.portal-latest-copy span{font-size:8px;letter-spacing:.13em;font-weight:850;color:#e56f10;}.portal-latest-copy strong{font-size:13px;color:#123563;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.portal-latest-copy p{margin:2px 0 0;font-size:9.5px;color:#718097;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.portal-latest-strip>a{color:#0d59aa;text-decoration:none;font-size:10px;font-weight:800;padding:8px 10px;border-radius:9px;background:#eef5ff;}
.portal-app-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin:12px 0;}.portal-app-actions>a{display:grid;grid-template-columns:36px minmax(0,1fr) 20px;align-items:center;gap:10px;min-height:76px;padding:13px 14px;background:#fff;border:1px solid #dce6f2;border-radius:16px;text-decoration:none;box-shadow:0 8px 22px rgba(8,42,90,.05);transition:.18s ease;}.portal-app-actions>a:hover{transform:translateY(-2px);border-color:#bfd1e6;box-shadow:0 13px 28px rgba(8,42,90,.10);}.portal-action-index{width:34px;height:34px;border-radius:10px;background:#eaf3ff;color:#0f5eae;display:grid;place-items:center;font-size:9px;font-weight:900;}.portal-app-actions .is-success .portal-action-index{background:#e9f8f1;color:#087143;}.portal-app-actions div{display:flex;min-width:0;flex-direction:column;}.portal-app-actions small{font-size:7.5px;letter-spacing:.11em;color:#768399;font-weight:850;}.portal-app-actions strong{font-size:12.5px;color:#0b3470;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.portal-app-actions i{font-style:normal;font-size:25px;color:#a2afc0;}.portal-app-actions .is-success strong{color:#087143;}
.portal-dashboard-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:12px;}.portal-dashboard-card{background:#fff;border:1px solid #dce6f2;border-radius:17px;padding:16px 18px;box-shadow:0 8px 24px rgba(8,42,90,.05);min-height:132px;}.portal-dashboard-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px;}.portal-dashboard-head span{font-size:8px;letter-spacing:.13em;color:#0071e3;font-weight:850;}.portal-dashboard-head h2{font:800 17px/1.15 Montserrat,Poppins,sans-serif;color:#102f5c;margin:3px 0 0;}.portal-dashboard-head a{font-size:9px;color:#0d59aa;font-weight:800;text-decoration:none;}.portal-next-session-row{display:grid;grid-template-columns:48px 1fr;align-items:center;gap:12px;}.portal-next-session-row>div:last-child{display:flex;flex-direction:column;min-width:0;}.portal-next-session-row small{font-size:7px;color:#0071e3;font-weight:850;letter-spacing:.1em;}.portal-next-session-row strong{font-size:12px;color:#17365f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.portal-next-session-row span{font-size:9px;color:#748197;}.portal-soft-copy{font-size:10px;line-height:1.55;color:#718097;margin:5px 0 12px;}.portal-mini-cta{display:inline-block;text-decoration:none;padding:9px 12px;font-size:10px;}.portal-dashboard-status{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px;}.portal-dashboard-status article{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 14px;border-radius:13px;background:#f8fafd;border:1px solid #dfe7f2;}.portal-dashboard-status span{font-size:8px;letter-spacing:.09em;text-transform:uppercase;color:#7a8799;font-weight:850;}.portal-dashboard-status strong{font-size:11px;color:#123563;}.portal-dashboard-status article:nth-child(-n/**/+2) strong{color:#087143;}
.portal-page-head{display:flex;align-items:center;gap:14px;margin:2px 0 14px;padding:18px 22px;background:#fff;border:1px solid #dce6f2;border-radius:18px;box-shadow:0 8px 24px rgba(8,42,90,.05);}.portal-page-head>a{display:grid;place-items:center;}.portal-page-head>div{display:flex;flex-direction:column;}.portal-page-head span{font-size:8px;letter-spacing:.14em;color:#0071e3;font-weight:850;}.portal-page-head h1{font:800 23px/1.15 Montserrat,Poppins,sans-serif;color:#102f5c;margin:3px 0;}.portal-page-head p{margin:0;font-size:10px;color:#748197;}.portal-view-frame{max-width:1160px;margin:0 auto;}.portal-profile-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:14px;align-items:start;}.portal-profile-access{position:sticky;top:86px;}
.portal-panel{background:#fff;border:1px solid #dce5f2;border-radius:18px;padding:20px;box-shadow:0 10px 28px rgba(9,40,91,.055);margin-bottom:14px;}.portal-panel-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;border-bottom:1px solid #e8edf5;padding-bottom:13px;margin-bottom:15px;}.portal-panel-head span{font-weight:850;letter-spacing:.14em;}.portal-panel-head h2{margin:3px 0 0;}.portal-panel-head>b{font-size:9px;color:#0d7a50;background:#e9f8f1;border:1px solid #c1e9d8;padding:6px 9px;white-space:nowrap;}.portal-identity{display:flex;gap:12px;align-items:center;padding:12px;background:#f5f8fd;border-radius:14px;margin-bottom:14px;}.portal-identity-premium{background:linear-gradient(135deg,#f8fbff,#f1f6fc);border:1px solid #e1eaf4;}.portal-identity img{object-fit:cover;}.portal-identity div{display:flex;flex-direction:column;min-width:0;}.portal-identity strong{font-size:14px;}.portal-identity span{color:#1d5eb4;font-size:10px;font-weight:780;}.portal-identity small{color:#79869a;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.portal-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;}.portal-summary-grid>div{display:flex;flex-direction:column;gap:4px;}.portal-summary-grid>div.wide{grid-column:1/-1;}.portal-summary-grid span{font-size:8px;letter-spacing:.08em;text-transform:uppercase;color:#7b8798;font-weight:800;}.portal-summary-grid b{font-size:11px;color:#17365f;line-height:1.45;}.portal-lock-note{display:flex;flex-direction:column;gap:3px;margin-top:12px;padding:11px 13px;border-radius:12px;background:#edf6ff;border:1px solid #d0e3f7;}.portal-lock-note strong{font-size:10px;color:#185594;}.portal-lock-note span{font-size:9px;line-height:1.5;color:#647691;}
.portal-receipt-card{position:static;}.portal-paid-mark{display:flex;flex-direction:column;align-items:center;text-align:center;padding:20px 14px;margin-bottom:14px;border-radius:16px;background:linear-gradient(150deg,#eafaf2,#f7fcfa);border:1px solid #cbead9;}.portal-paid-mark span{font-size:8px;font-weight:900;letter-spacing:.14em;color:#10834e;}.portal-paid-mark strong{font:850 31px/1.1 Montserrat,Poppins,sans-serif;color:#087143;margin:6px 0 3px;}.portal-paid-mark small{font-size:9px;color:#728478;}.portal-payment-summary{display:grid;gap:7px;}.portal-payment-summary div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #e8edf4;}.portal-payment-summary span{font-size:9px;color:#7b8798;}.portal-payment-summary b{font-size:10px;color:#17365f;text-align:right;overflow-wrap:anywhere;}.portal-receipt-download{display:block;text-decoration:none;text-align:center;margin-top:14px;}.portal-receipt-help{text-align:center;font-size:8.5px;line-height:1.5;color:#8994a4;margin:9px 6px 0;}
.portal-session-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;}.portal-session-list article{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:11px;padding:12px;border:1px solid #dfe7f2;border-radius:14px;background:#fff;}.portal-session-list article.is-live{border-color:#f0b06b;background:#fff8ee;}.portal-session-date{width:48px;height:50px;border-radius:11px;background:#0071e3;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;}.portal-session-date strong{font:800 17px/1 Montserrat,sans-serif;}.portal-session-date span{font-size:7px;letter-spacing:.1em;text-transform:uppercase;margin-top:3px;}.portal-session-copy{min-width:0;}.portal-session-copy>span{font-size:6.5px;letter-spacing:.12em;color:#0071e3;font-weight:850;}.portal-session-copy h3{font-size:10px;color:#163760;margin:2px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.portal-session-copy p,.portal-session-copy small{display:block;margin:0;color:#708097;font-size:7.5px;}.portal-session-copy small{color:#147050;font-weight:750;margin-top:3px;}.portal-zoom-join{width:auto;text-decoration:none;padding:8px 10px;white-space:nowrap;}.portal-session-status{font-size:8px;font-weight:800;color:#6f7d91;background:#e9eef5;border-radius:999px;padding:6px 8px;white-space:nowrap;}.portal-zoom-rule{display:flex;flex-direction:column;gap:2px;margin-top:10px;padding:10px 12px;border-radius:11px;background:#eef5ff;border:1px solid #cfe0f7;}.portal-zoom-rule strong{font-size:9px;color:#174f94;}.portal-zoom-rule span{font-size:8.5px;line-height:1.45;color:#5e718d;}
.portal-updates{display:grid;grid-template-columns:1fr 1fr;gap:10px;}.portal-updates article{padding:14px;border-radius:13px;background:#fff;border:1px solid #dfe6f0;box-shadow:0 6px 16px rgba(8,42,90,.035);}.portal-updates article.urgent{background:#fff1ee;border-color:#f2c6bd;}.portal-updates article.important{background:#fff8e9;border-color:#f1dab1;}.portal-updates article>span{font-size:7px;letter-spacing:.11em;color:#0071e3;font-weight:850;}.portal-updates h3{font-size:12px;margin:4px 0;color:#17365f;}.portal-updates p{font-size:9px;line-height:1.55;color:#53627a;}.portal-updates time{font-size:7.5px;color:#8792a3;}
.portal-active{display:flex;flex-direction:column;gap:13px;background:linear-gradient(150deg,#101114,#28292d);color:#fff;border-color:transparent;}.portal-active h2{margin:4px 0;font:800 19px Montserrat,sans-serif;}.portal-active p{margin:0;color:#d6e6fb;font-size:9px;}.portal-pin-form{display:grid;grid-template-columns:1fr 1fr;gap:9px;min-width:0;}.portal-pin-form label{font-size:8px;color:#d6e6fb;}.portal-pin-form button{grid-column:1/-1;}.portal-pin-ready{display:flex;flex-direction:column;padding:10px 12px;border:1px solid rgba(255,255,255,.20);border-radius:10px;background:rgba(255,255,255,.08);}.portal-pin-ready strong{font-size:10px;color:#8ff0c2;}.portal-pin-ready span{font-size:8px;color:#d6e6fb;}
.portal-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(330px,.75fr);gap:16px;align-items:start;}.portal-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0;}.portal-kpis article{padding:16px 18px;border:1px solid #dce5f2;border-radius:15px;background:#fff;box-shadow:0 8px 22px rgba(11,43,93,.05);display:flex;flex-direction:column;}.portal-kpis span{font-size:9px;text-transform:uppercase;letter-spacing:.1em;color:#738199;font-weight:800;}.portal-kpis strong{font-size:16px;color:#0b3470;margin:4px 0;}.portal-kpis small{font-size:9px;color:#8b97aa;}.portal-form{display:flex;flex-direction:column;gap:12px;}.portal-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;}.portal-form label{display:flex;flex-direction:column;gap:5px;color:#34445c;font-size:10px;font-weight:700;}.portal-form label.full{grid-column:1/-1;}.portal-form input,.portal-form select,.portal-form textarea,.portal-pin-form input{width:100%;border:1px solid #cfd9e8;background:#fbfcff;border-radius:10px;padding:10px 11px;color:#15243d;font:500 11px Poppins,Arial,sans-serif;outline:none;}.portal-primary{border:0;border-radius:10px;background:#0071e3;color:#fff;font:750 10.5px Poppins,sans-serif;padding:10px 13px;cursor:pointer;box-shadow:0 7px 15px rgba(237,113,23,.16);}.portal-primary:disabled{opacity:.45;}.portal-terms{padding:11px;border:1px solid #f1d6b7;background:#fffaf3;border-radius:11px;}.portal-terms label{display:flex;flex-direction:row;align-items:flex-start;margin:6px 0;}.portal-terms label input[type=checkbox]{width:15px;margin:1px 6px 0 0;}.portal-terms p{font-size:8px;line-height:1.5;}.portal-terms label:last-child{flex-direction:column;}.portal-upi-qr{display:block;width:min(100%,300px);margin:0 auto 12px;border-radius:13px;border:1px solid #dce4f1;}.portal-bank{display:grid;gap:7px;padding:11px;border-radius:11px;background:#f4f7fc;margin-bottom:12px;}.portal-bank div{display:flex;justify-content:space-between;gap:8px;font-size:9px;}.portal-bank span{color:#748198;}.portal-bank b{color:#173866;}.portal-bank small{padding-top:7px;border-top:1px solid #dce4ef;color:#e16e12;font-size:8px;font-weight:800;}.portal-payment-state{display:flex;flex-direction:column;gap:2px;padding:10px;border-radius:10px;background:#eef7ff;border:1px solid #cadff4;margin-bottom:11px;font-size:9px;}.portal-empty{text-align:center;padding:24px 16px;}.portal-empty h2{font-size:17px;}.portal-empty p{font-size:9px;line-height:1.55;}
.portal-alert{width:100%;margin:0 auto 10px;padding:10px 11px;border-radius:10px;font-size:9px;font-weight:650;}.portal-alert.error{background:#fff0ee;border:1px solid #f2c5bd;color:#9b3327;}.portal-alert.success{background:#eaf9f2;border:1px solid #bde8d4;color:#176a49;}.portal-footer{padding:12px 20px;background:#f5f5f7;color:#929299;display:flex;justify-content:center;gap:18px;text-align:center;font-size:8px;}
/* R3.3.11: obsolete pre-Apple Student Portal login theme removed from root source. */


/* R2.7 desktop Portal final single-screen composition. */
@media (min-width:901px){
  body.portal-view-dashboard .portal-hero{min-height:0;height:100%;padding:18px 26px;border-radius:18px;background:radial-gradient(circle at 96% -20%,rgba(255,124,35,.26),transparent 32%),linear-gradient(118deg,#061936 0,#082f68 62%,#0a468d 100%);box-shadow:0 14px 34px rgba(7,38,83,.16);border-bottom:3px solid #f47b13;}
  body.portal-view-dashboard .portal-hero-compact{min-height:0;}
  body.portal-view-dashboard .portal-hero h1{font-size:clamp(24px,2.25vw,34px);margin:5px 0;}
  body.portal-view-dashboard .portal-hero p{font-size:10.5px;line-height:1.42;max-width:690px;}
  body.portal-view-dashboard .portal-status-card{min-width:232px;padding:13px 16px;border-radius:14px;}.portal-status-card strong{font-size:15px;}
  body.portal-view-dashboard .portal-latest-strip{height:60px;min-height:60px;margin:0;padding:8px 13px;border-radius:14px;border-left:4px solid #f47b13;box-shadow:0 6px 18px rgba(8,42,90,.045);}
  body.portal-view-dashboard .portal-latest-icon{width:32px;height:32px;border-radius:9px;font-size:15px;}
  body.portal-view-dashboard .portal-latest-copy strong{font-size:11.5px;}.portal-latest-copy p{font-size:8.5px;}
  body.portal-view-dashboard .portal-app-actions{height:72px;margin:0;gap:8px;}
  body.portal-view-dashboard .portal-app-actions>a{min-height:72px;height:72px;padding:9px 11px;border-radius:14px;border-top:2px solid #f0f3f8;}
  body.portal-view-dashboard .portal-app-actions>a:hover{border-top-color:#f47b13;}
  body.portal-view-dashboard .portal-action-index{width:31px;height:31px;border-radius:9px;background:#edf4ff;color:#0b4b94;}
  body.portal-view-dashboard .portal-app-actions .is-success .portal-action-index{background:#edf4ff;color:#0b4b94;}
  body.portal-view-dashboard .portal-app-actions .is-success strong{color:#0b3470;}
  body.portal-view-dashboard .portal-dashboard-bottom{min-height:0;height:100%;display:grid;grid-template-columns:1.18fr .82fr;gap:8px;margin:0;}
  .portal-result-summary,.portal-next-summary{min-width:0;height:100%;padding:13px 16px;border-radius:15px;background:#fff;border:1px solid #dce6f2;box-shadow:0 6px 18px rgba(8,42,90,.045);display:grid;align-items:center;}
  .portal-result-summary{grid-template-columns:38px minmax(0,1fr) auto;gap:11px;border-left:4px solid #0b3978;}.portal-result-mark{width:35px;height:35px;border-radius:11px;background:#0071e3;color:#fff;display:grid;place-items:center;font-size:20px;font-weight:900;}
  .portal-result-summary small,.portal-next-summary>small{font-size:7px;letter-spacing:.12em;color:#f06b08;font-weight:900;}.portal-result-summary h2,.portal-next-summary h2{margin:2px 0;color:#092f65;font:800 16px/1.1 Montserrat,Poppins,sans-serif;}.portal-result-summary p,.portal-next-summary p{margin:0;color:#64758b;font-size:9px;line-height:1.35;}
  .portal-result-summary>a,.portal-next-summary>a{justify-self:end;text-decoration:none;padding:8px 11px;border-radius:9px;background:#0071e3;color:#fff;font-size:9px;font-weight:800;white-space:nowrap;}.portal-next-summary{border-left:4px solid #f47b13;align-content:center;}.portal-next-summary.is-confirmed{border-left-color:#0b3978;}.portal-next-summary>a{margin-top:6px;justify-self:start;background:#f47b13;}
  body.portal-view-dashboard .portal-qualification-toolkit{height:74px;min-height:74px;margin:0;padding:8px 10px;display:grid;grid-template-columns:205px minmax(0,1fr);align-items:center;gap:10px;border-radius:14px;box-shadow:0 6px 18px rgba(8,42,90,.045);}
  body.portal-view-dashboard .portal-toolkit-head{margin:0;display:block;}.portal-toolkit-head h2{font-size:13px;}.portal-toolkit-head>small{font-size:8px;margin-top:2px;display:block;}
  body.portal-view-dashboard .portal-toolkit-grid{gap:7px;}.portal-toolkit-grid>a{min-height:50px;height:50px;padding:6px 8px;grid-template-columns:23px minmax(0,1fr) 12px;border-radius:11px;}.portal-toolkit-grid>a>span{width:22px;height:22px;border-radius:7px;font-size:7px;}.portal-toolkit-grid a strong{font-size:10px;}.portal-toolkit-grid a small{font-size:8px;}.portal-toolkit-grid a i{font-size:14px;}
  body.portal-view-dashboard .portal-alert{position:fixed;z-index:120;top:72px;left:50%;transform:translateX(-50%);width:min(760px,calc(100% - 40px));box-shadow:0 12px 30px rgba(10,33,70,.15);}

  /* Detailed portal screens are app views, not dashboard continuations. */
  body.portal-body:not(.portal-view-dashboard){min-height:100dvh;background:linear-gradient(180deg,#f7f9fd 0,#eef3f9 100%);}
  body.portal-body:not(.portal-view-dashboard) .portal-shell{width:min(1180px,calc(100% - 40px));margin:16px auto 24px;}
  .portal-page-head{border-left:4px solid #f47b13;}
  .portal-view-frame,.portal-profile-grid{margin-top:10px;}
  .portal-locked-screen{min-height:360px;display:grid;place-items:center;align-content:center;text-align:center;gap:10px;border-top:3px solid #f47b13;}.portal-lock-icon{font-size:32px;}.portal-locked-screen h2{margin:0;color:#082f67;}.portal-locked-screen p{margin:0;max-width:620px;color:#64758b;}.portal-locked-screen>strong{color:#8d4b11;background:#fff7eb;border:1px solid #ffe0bd;border-radius:11px;padding:10px 14px;}
}

/* R2.7 Unified Candidate Identity + viewport-safe PIN setup */
@media (min-width:901px){
  .candidate-auth-switch-wrap{display:flex;justify-content:center;margin:8px 0 0;}
  .candidate-auth-switch{border:0;background:transparent;color:#0b4ca3;font:700 12px/1.3 inherit;cursor:pointer;text-decoration:underline;text-underline-offset:3px;padding:5px;}
  .candidate-auth-switch:hover{color:#f36a05;}
  #candidatePinField input{letter-spacing:.22em;font-weight:800;}
  .registration-login-eligibility{margin:10px 0 0;padding:10px 12px;border:1px solid #ffd4ae;border-radius:13px;background:#fff8f1;display:grid;grid-template-columns:30px 1fr auto;gap:10px;align-items:center;color:#5d3a1f;}
  .registration-login-eligibility[hidden]{display:none!important;}
  .registration-login-eligibility-icon{width:30px;height:30px;border-radius:9px;background:#ff6f0a;color:#fff;display:grid;place-items:center;font-weight:900;}
  .registration-login-eligibility strong{display:block;color:#7f3907;font-size:11px;}.registration-login-eligibility p{margin:2px 0 0;font-size:10px;line-height:1.35;color:#6d5a4b;}
  .registration-login-eligibility button{height:34px;padding:0 11px;border:1px solid #dce6f3;border-radius:9px;background:#fff;color:#0a3977;font-size:10px;font-weight:800;white-space:nowrap;}
  

  /* R2.10.2 — PIN setup desktop height and readability fix.
     The card now uses the full usable stage height, matching the shared
     Selection Progress rail while keeping the existing header/footer untouched. */
  #screen-pin{padding:14px 18px 12px;overflow:hidden;}
  .pin-setup-shell{height:100%;min-height:0;display:grid;place-items:center;padding:0 18px;}
  .pin-setup-card{
    width:min(630px,90vw);height:100%;min-height:0;max-height:none;
    padding:34px 38px;border-radius:24px;background:#fff;
    box-shadow:0 18px 54px rgba(14,49,94,.12);border:1px solid #dde8f5;
    overflow:auto;display:flex;flex-direction:column;justify-content:space-between
  ;}
  .pin-setup-badge{align-self:flex-start;display:inline-flex;padding:7px 11px;border-radius:999px;background:#eaf8f0;color:#11854e;font-weight:850;font-size:11px;letter-spacing:.1em;}
  .pin-setup-card h2{margin:0;color:#082b61;font-size:34px;line-height:1.08;letter-spacing:-.025em;}
  .pin-setup-card>p{margin:0;color:#5a6f8d;font-size:14px;line-height:1.48;}
  .pin-setup-identity{min-height:58px;padding:12px 15px;border-radius:14px;background:#f5f9ff;border:1px solid #dce8f8;margin:0;display:flex;justify-content:space-between;gap:16px;align-items:center;}
  .pin-setup-identity span{font-weight:800;color:#0a3a78;font-size:14px;}.pin-setup-identity small{color:#73839a;font-size:11px;}
  .pin-setup-card label{display:grid;gap:7px;color:#14365f;font-size:13px;font-weight:800;margin:0;}
  .pin-setup-card label input{width:100%;height:56px;border:1px solid #cad8eb;border-radius:14px;padding:0 16px;font:800 19px/1 inherit;letter-spacing:.25em;color:#062d64;background:#fbfdff;outline:none;}
  .pin-setup-card label input:focus{border-color:#2b6bc4;box-shadow:0 0 0 4px rgba(43,107,196,.09);}
  .pin-setup-note{min-height:64px;margin:0;padding:12px 15px;border-radius:14px;background:#fff8ee;border:1px solid #ffe0b3;display:grid;align-content:center;gap:3px;}
  .pin-setup-note strong{color:#984900;font-size:12px;}.pin-setup-note span{color:#6d6f79;font-size:11px;line-height:1.4;}
  .pin-setup-primary{width:100%;height:56px;border:0;border-radius:14px;background:linear-gradient(135deg,#ff8c18,#f35e05);color:#fff;font-weight:800;font-size:15px;box-shadow:0 11px 24px rgba(243,94,5,.2);}
}
@media (min-width:901px) and (max-height:760px){
  #screen-pin{padding:9px 16px;}
  .pin-setup-shell{padding:0 12px;}
  .pin-setup-card{width:min(610px,89vw);height:100%;padding:20px 30px;border-radius:21px;}
  .pin-setup-badge{padding:5px 9px;font-size:9px;}
  .pin-setup-card h2{font-size:29px;}
  .pin-setup-card>p{font-size:12px;line-height:1.36;}
  .pin-setup-identity{min-height:49px;padding:9px 12px;}.pin-setup-identity span{font-size:12px;}.pin-setup-identity small{font-size:9px;}
  .pin-setup-card label{gap:4px;font-size:11px;}.pin-setup-card label input{height:47px;font-size:17px;}
  .pin-setup-note{min-height:52px;padding:8px 12px;}.pin-setup-note strong{font-size:10.5px;}.pin-setup-note span{font-size:9.5px;}
  .pin-setup-primary{height:48px;font-size:13px;}
}



/* ==========================================================
   GMC2026 R2.7.8 — qualified result share-state refinement
   ========================================================== */
@media (min-width:901px){
  /* Achievement Post must read as an active qualified action, not a locked/grey option. */
  #screen-result.result-qualified #resultAchievementAction{
    border-color:#cfe0f3;
    background:#ffffff;
    color:#0d2d66;
    opacity:1;
    filter:none;
    cursor:pointer;
    pointer-events:auto;
  }
  #screen-result.result-qualified #resultAchievementAction .result-action-icon{
    background:#fff1e8;
    color:#ff6500;
  }
  #screen-result.result-qualified #resultAchievementAction strong{color:#0d2d66;}
  #screen-result.result-qualified #resultAchievementAction small{color:#6b7d98;}
  #screen-result.result-qualified #resultAchievementAction::after{color:#0c3f8f;}

  /* Before qualification the cards remain Follow/Join. After qualification,
     only Instagram/Facebook switch to sharing; WhatsApp remains community. */
  #screen-result.result-qualified .result-follow-card.instagram .result-follow-label::after{content:"Share Instagram";}
  #screen-result.result-qualified .result-follow-card.facebook .result-follow-label::after{content:"Share Facebook";}
  #screen-result.result-qualified .result-follow-card.whatsapp .result-follow-label::after{content:"Join Community";}
}

/* R2.7.11 Portal navigation: Dashboard is a first-class destination. */
@media (min-width:901px){.portal-main-nav{gap:2px;}.portal-main-nav a{padding-left:14px;padding-right:14px;white-space:nowrap;}}


/* R2.7.14 — Qualified dashboard toolkit. Portal-only selectors; public Home untouched. */
.portal-qualification-toolkit{margin:12px 0 0;padding:14px 16px;border:1px solid rgba(10,38,78,.10);border-radius:18px;background:linear-gradient(135deg,#fff 0%,#f7faff 100%);box-shadow:0 10px 28px rgba(7,28,63,.07);}
.portal-toolkit-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:10px;}.portal-toolkit-head span{display:block;font-size:10px;font-weight:900;letter-spacing:.16em;color:#e66f16;}.portal-toolkit-head h2{margin:2px 0 0;font-size:17px;line-height:1.15;color:#082654;}.portal-toolkit-head>small{font-size:11px;color:#69788d;}
.portal-toolkit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;}.portal-toolkit-grid>a{min-height:68px;display:grid;grid-template-columns:28px 1fr 18px;align-items:center;gap:9px;padding:10px 11px;border:1px solid #e2e9f3;border-radius:14px;background:#fff;color:#082654;text-decoration:none;transition:.18s ease;}.portal-toolkit-grid>a:hover{transform:translateY(-1px);border-color:#f0a36b;box-shadow:0 8px 20px rgba(7,28,63,.08);}.portal-toolkit-grid>a>span{width:26px;height:26px;border-radius:9px;background:#082654;color:#fff;display:grid;place-items:center;font-size:9px;font-weight:900;}.portal-toolkit-grid a strong{display:block;font-size:12px;}.portal-toolkit-grid a small{display:block;margin-top:2px;font-size:10px;color:#6c7b90;}.portal-toolkit-grid a i{font-style:normal;color:#e66f16;font-size:18px;font-weight:900;}


/* GMC2026 R2.8.10 — PREMIUM MOTION LAYER (desktop pointer devices only)
   Performance rules: compositor-only spotlight, transform/opacity transitions,
   no decorative motion during secure/full-screen test stages. */
@media (min-width:901px) and (hover:hover) and (pointer:fine){
  html.gmc-motion-capable .gmc-motion-spotlight{
    position:fixed;left:0;top:0;width:300px;height:300px;border-radius:50%;
    pointer-events:none;z-index:65;opacity:0;
    background:radial-gradient(circle,rgba(52,126,240,.14) 0%,rgba(244,123,36,.065) 34%,rgba(52,126,240,.025) 52%,transparent 72%);
    transform:translate3d(-420px,-420px,0);will-change:transform,opacity;
    contain:layout paint style;transition:opacity .18s ease;
  }
  html[data-theme="dark"].gmc-motion-capable .gmc-motion-spotlight{
    background:radial-gradient(circle,rgba(87,161,255,.16) 0%,rgba(255,132,47,.075) 34%,rgba(87,161,255,.03) 52%,transparent 72%);
  }
  html.gmc-motion-capable .gmc-motion-spotlight.is-visible{opacity:.92;}
  html.gmc-motion-capable body.test-mode .gmc-motion-spotlight,
  html.gmc-motion-capable body[data-gmc-motion-suspended="1"] .gmc-motion-spotlight{opacity:0!important;}

  html.gmc-motion-capable .gmc-motion-card{position:relative;isolation:isolate;}
  html.gmc-motion-capable .gmc-motion-card::after{
    content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;pointer-events:none;z-index:8;opacity:0;
    background:radial-gradient(190px circle at var(--gmc-card-x,50%) var(--gmc-card-y,50%),rgba(49,126,238,.62),rgba(244,123,36,.22) 34%,transparent 72%);
    -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
    -webkit-mask-composite:xor;mask-composite:exclude;
    transition:opacity .20s ease;will-change:opacity;
  }
  html[data-theme="dark"].gmc-motion-capable .gmc-motion-card::after{
    background:radial-gradient(190px circle at var(--gmc-card-x,50%) var(--gmc-card-y,50%),rgba(103,174,255,.76),rgba(255,139,61,.30) 36%,transparent 72%);
  }
  html.gmc-motion-capable .gmc-motion-card.gmc-motion-hover::after{opacity:.58;}

  html.gmc-motion-capable .gmc-motion-action{position:relative;overflow:hidden;isolation:isolate;}
  html.gmc-motion-capable .gmc-motion-action::after{
    content:"";position:absolute;inset:-35% auto -35% -38%;width:24%;pointer-events:none;z-index:7;
    background:linear-gradient(100deg,transparent,rgba(255,255,255,.34),transparent);
    transform:skewX(-18deg) translate3d(-260%,0,0);opacity:0;will-change:transform,opacity;
  }
  html.gmc-motion-capable .gmc-motion-action:hover::after{
    opacity:.70;transform:skewX(-18deg) translate3d(760%,0,0);transition:transform .52s cubic-bezier(.2,.75,.2,1),opacity .16s ease;
  }
  html.gmc-motion-capable .gmc-motion-action svg{transition:transform .18s ease;}
  html.gmc-motion-capable .gmc-motion-action:hover svg{transform:translate3d(1px,-1px,0) scale(1.035);}

  html.gmc-motion-capable .gmc-motion-enter{animation:gmcPremiumEnter .30s cubic-bezier(.2,.78,.25,1) both;}
  @keyframes gmcPremiumEnter{from{opacity:.76;transform:translate3d(0,7px,0);}to{opacity:1;transform:translate3d(0,0,0);}}

  html.gmc-motion-capable .public-kicker-mark{animation:gmcPremiumKicker 3.8s ease-in-out infinite;}
  @keyframes gmcPremiumKicker{0%,100%{transform:scale(1);opacity:.82;}50%{transform:scale(1.08);opacity:1;}}

  @media (prefers-reduced-motion:reduce){
    html.gmc-motion-capable .gmc-motion-spotlight{display:none!important;}
    html.gmc-motion-capable .gmc-motion-card::after,html.gmc-motion-capable .gmc-motion-action::after{display:none!important;}
    html.gmc-motion-capable .gmc-motion-enter,html.gmc-motion-capable .public-kicker-mark{animation:none;}
  }
}



body.portal-body:not(.portal-auth-page) .portal-terms .portal-digital-confirmation{display:grid!important;grid-template-columns:20px minmax(0,1fr);gap:10px;align-items:start;margin:10px 0 2px;padding:11px 12px;border:1px solid #bcd6fa;border-radius:8px;background:#f5f9ff;color:#18365e;}
body.portal-body:not(.portal-auth-page) .portal-terms .portal-digital-confirmation>input{width:18px;height:18px;margin:1px 0 0;accent-color:#0868e8;}
body.portal-body:not(.portal-auth-page) .portal-terms .portal-digital-confirmation>span{display:grid!important;gap:3px;}
body.portal-body:not(.portal-auth-page) .portal-terms .portal-digital-confirmation strong{font-size:11px;color:#102f59;}
body.portal-body:not(.portal-auth-page) .portal-terms .portal-digital-confirmation small{font-size:9.5px;line-height:1.45;color:#65748c;font-weight:600;}



/* R2.10.1: permanently close the desktop authority opened at line 353. */
}


/* R2.10.3 — authoritative profile-edit save and DOB-proof gate.
   Normal contact/education edits remain independent from the protected DOB flow. */
.identity-correction-fields[hidden]{display:none!important;}
.identity-correction-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;}
.identity-correction-summary>div{min-width:0;}
.identity-correction-summary h3{display:flex;flex-wrap:wrap;align-items:baseline;gap:7px;}
.identity-correction-summary h3 strong{color:var(--blue-700);font-weight:900;}
.identity-correction-summary p{margin-bottom:0;}
.identity-correction-toggle{min-width:190px;margin-top:0;white-space:nowrap;}
.identity-correction-fields{margin-top:18px;padding-top:18px;border-top:1px solid #d7e3f0;}
.profile-edit-error:not(:empty){padding:11px 13px;border:1px solid #f3c6b0;border-radius:12px;background:#fff4ee;color:#a63f0c;font-weight:750;}
html[data-theme="dark"] .identity-correction-summary h3 strong{color:#8fc1ff;}
html[data-theme="dark"] .identity-correction-fields{border-color:#31577f;}
html[data-theme="dark"] .profile-edit-error:not(:empty){background:#462113;border-color:#8e492a;color:#ffd7c2;}

@media (min-width:901px){
  .profile-edit-modal .identity-correction-request:not(.is-expanded){padding-block:19px;}
}

/* R2.10.5 Legacy Profile Completion — authoritative Student Portal flow */
body.portal-view-complete-profile .portal-shell{width:min(1180px,calc(100% - 44px));margin-top:22px;}
.portal-completion-head{border-left:5px solid #f47b13;padding-left:24px;}
.portal-completion-head>div{padding-left:0;}
.portal-completion-layout{display:grid;grid-template-columns:minmax(340px,.78fr) minmax(520px,1.22fr);gap:16px;align-items:start;}
.portal-completion-summary,.portal-completion-form-card{margin-bottom:22px;}
.portal-completion-summary{position:sticky;top:88px;}
.portal-completion-avatar{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid #f1d0aa;border-radius:15px;background:linear-gradient(135deg,#fffaf4,#fff5e9);margin-bottom:14px;}
.portal-completion-avatar img{width:76px;height:76px;object-fit:cover;border-radius:15px;border:3px solid #fff;box-shadow:0 8px 22px rgba(22,49,88,.13);}
.portal-completion-avatar div{display:flex;flex-direction:column;gap:4px;}
.portal-completion-avatar strong{font:800 14px/1.2 Montserrat,Poppins,sans-serif;color:#963c13;}
.portal-completion-avatar span{font-size:9.5px;line-height:1.55;color:#6e4c3d;}
.portal-completion-checklist{display:grid;gap:7px;}
.portal-completion-checklist>div{display:grid;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px 11px;border-radius:11px;border:1px solid #e2e9f2;background:#f8fafd;}
.portal-completion-checklist i{width:23px;height:23px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:10px;font-weight:900;}
.portal-completion-checklist span{font-size:9.5px;font-weight:750;color:#314965;}
.portal-completion-checklist b{font-size:8px;text-transform:uppercase;letter-spacing:.08em;}
.portal-completion-checklist .is-complete i{background:#e6f8ef;color:#08754c;}.portal-completion-checklist .is-complete b{color:#08754c;}
.portal-completion-checklist .is-missing{border-color:#f1d2af;background:#fff9f2;}.portal-completion-checklist .is-missing i{background:#fff0df;color:#d75b08;}.portal-completion-checklist .is-missing b{color:#d75b08;}
.portal-completion-note{display:flex;flex-direction:column;gap:3px;margin-top:13px;padding:12px 13px;border-radius:12px;background:#edf5ff;border:1px solid #cfe1f5;}
.portal-completion-note strong{font-size:10px;color:#174f8d;}.portal-completion-note span{font-size:9px;line-height:1.5;color:#60758f;}
.portal-completion-form{gap:14px;}
.portal-completion-form label>small{font-size:8px;line-height:1.45;color:#77859a;font-weight:500;}
.portal-completion-photo-field{display:grid;gap:8px;}
.portal-completion-photo-field>span{font-size:10px;font-weight:750;color:#34445c;}
.portal-completion-photo-drop{display:grid!important;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:15px;padding:13px;border:1.5px dashed #9db5d3;border-radius:15px;background:linear-gradient(135deg,#f8fbff,#f1f6fc);cursor:pointer;}
.portal-completion-photo-drop img{width:92px;height:104px;object-fit:cover;border-radius:12px;border:3px solid #fff;box-shadow:0 7px 18px rgba(13,48,91,.13);}
.portal-completion-photo-drop div{display:flex;flex-direction:column;align-items:flex-start;gap:5px;}
.portal-completion-photo-drop strong{font-size:12px;color:#153a6d;}.portal-completion-photo-drop small{font-size:8.5px;line-height:1.45;color:#6d7f96;}.portal-completion-photo-drop em{font-style:normal;font-size:9px;font-weight:800;color:#ef7213;border:1px solid #f2c99f;background:#fff8ef;padding:7px 10px;border-radius:9px;margin-top:3px;}
.portal-completion-photo-field>input[type=file]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;}
.portal-completion-consent{display:flex!important;flex-direction:row;align-items:flex-start;gap:8px;padding:10px 12px;border-radius:11px;background:#fffaf3;border:1px solid #f0d6b8;}
.portal-completion-consent input{width:16px;height:16px;margin:1px 0 0;flex:0 0 auto;}.portal-completion-consent span{font-size:9px;line-height:1.5;color:#5b4a3a;}
.portal-completion-submit{min-height:46px;font-size:11px;}
.portal-completion-security{display:block;text-align:center;font-size:8.5px;line-height:1.55;color:#75849a;}
.portal-completion-verify{display:flex;align-items:center;justify-content:center;text-decoration:none;min-height:44px;}


/* R2.10.6 authoritative Selection-ID QR loading/error state. */
#screen-id .selection-id-qr-frame{position:relative;}
#screen-id .selection-id-qr-image.is-loading{opacity:.28;}
#screen-id .selection-id-qr-error{position:absolute;inset:10px 10px 42px;z-index:3;display:grid;place-content:center;justify-items:center;gap:7px;padding:12px;text-align:center;border:1px solid #f1c99f;border-radius:12px;background:#fff8ef;color:#8a4618;}
#screen-id .selection-id-qr-error[hidden]{display:none!important;}
#screen-id .selection-id-qr-error strong{font-size:12px;line-height:1.25;}
#screen-id .selection-id-qr-error small{font-size:9px;line-height:1.35;color:#7a5a43;}
#screen-id .selection-id-qr-error button{min-height:32px;padding:0 12px;border:0;border-radius:9px;background:#f47714;color:#fff;font:800 10px Poppins,Arial,sans-serif;cursor:pointer;}
#screen-id .selection-id-qr-frame.has-error .selection-id-qr-label{opacity:.45;}


/* R2.10.7 — QR eligibility/status alignment */
#screen-id #idQrStatus.is-active{color:#149334;}
#screen-id #idQrStatus.is-blocked{color:#c55316;}
.profile-edit-field.is-optional label::after{content:" · Optional for Adult";font-size:.72em;font-weight:650;color:#7d8da4;}


/* R2.10.9 — authoritative unified desktop copyright footer. */
.gmc-footer-copy-mobile{display:none!important;}
.gmc-footer-copy-desktop{display:inline!important;}
.gmc-unified-footer{align-items:center;justify-content:center;text-align:center;}
.gmc-unified-footer .gmc-footer-copy{margin:0;color:inherit;font-weight:700;letter-spacing:.005em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;}
.public-view-footer.gmc-unified-footer,.secure-stage-footer.gmc-unified-footer,.focus-secure-footer.gmc-unified-footer{gap:0;}
body.test-mode #screen-memorize .secure-stage-footer.gmc-unified-footer .gmc-footer-copy-desktop,body.test-mode #screen-recall .secure-stage-footer.gmc-unified-footer .gmc-footer-copy-desktop{display:inline!important;color:#fff;font-size:11px;line-height:1.15;white-space:nowrap;}


/* R2.10.10 — public-page viewport footer lock and premium interaction states.
   Root-level authoritative desktop rules only; no mobile layout or test logic changes. */
@media (min-width:901px){
  /* Keep the Qualified Students canvas aligned to the real shared header and
     remove the legacy generic shell bottom padding that lifted its footer. */
  body.welcome-gate .public-qualified-page{
    inset:var(--public-header-height,75px) 0 0;
    padding-bottom:0;
  }
  .public-qualified-page .public-qualified-shell{
    height:100%;
    min-height:0;
    padding-bottom:0;
    margin-bottom:0;
  }
  .public-qualified-page .public-view-footer{
    align-self:end;
    margin:0;
  }

  /* Reinforce the same bottom-edge contract on all integrated information pages. */
  #informationView[data-page-type="how"],
  #informationView[data-page-type="rules"],
  #informationView[data-page-type="help"]{
    padding-bottom:0;
  }
  #informationView[data-page-type="how"] .public-page-shell,
  #informationView[data-page-type="rules"] .public-page-shell,
  #informationView[data-page-type="help"] .public-page-shell{
    padding-bottom:0;
    margin-bottom:0;
  }

  /* Qualified Students: interactive, restrained motion matching approved cards. */
  .qualified-search-box,
  .qualified-total-card,
  .public-qualified-hero-icon,
  .public-qualified-hero-art svg,
  .qualified-search-icon,
  .qualified-total-icon,
  .qualified-search-button{
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,
               background .2s ease,color .2s ease,filter .2s ease;
    will-change:transform;
  }
  .qualified-search-box:hover,
  .qualified-search-box:focus-within{
    transform:translateY(-2px);
    border-color:#b9cdea;
    box-shadow:0 18px 38px rgba(11,52,114,.105);
  }
  .qualified-search-box:hover .qualified-search-icon,
  .qualified-search-box:focus-within .qualified-search-icon{
    transform:scale(1.08) rotate(-5deg);
    color:#0f58c7;
  }
  .qualified-search-button:hover,
  .qualified-search-button:focus-visible{
    transform:translateY(-2px);
    box-shadow:0 15px 28px rgba(11,52,114,.27);
    background:linear-gradient(135deg,#104184,#071f4d);
  }
  .qualified-search-button:active{transform:translateY(0) scale(.99);}

  .qualified-total-card:hover,
  .qualified-total-card:focus-within{
    transform:translateY(-2px);
    border-color:#efc9ad;
    box-shadow:0 18px 38px rgba(233,99,23,.12);
  }
  .qualified-total-card:hover .qualified-total-icon{
    transform:translateY(-2px) scale(1.08);
  }
  .public-qualified-hero-icon:hover{
    transform:translateY(-3px) rotate(-2deg) scale(1.025);
    border-color:#ffc9a3;
    box-shadow:0 21px 42px rgba(238,104,10,.14);
  }
  .public-qualified-hero-art:hover svg{
    transform:translateY(-3px) scale(1.025);
    filter:drop-shadow(0 22px 28px rgba(38,84,151,.17));
  }
  .public-qualified-table-wrap tbody tr{
    transition:background .18s ease,box-shadow .18s ease;
  }
  .public-qualified-table-wrap tbody tr:hover{
    background:#f6f9fe;
    box-shadow:inset 3px 0 0 #2b6fd0;
  }

  /* Test Rules cards now use the same controlled lift language as How It Works. */
  #informationView[data-page-type="rules"] .public-rule-card{
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,background .2s ease;
    will-change:transform;
  }
  #informationView[data-page-type="rules"] .public-rule-card:hover{
    transform:translateY(-3px);
    border-color:#b9cde6;
    box-shadow:0 21px 44px rgba(7,28,63,.105);
    background:var(--surface);
    z-index:3;
  }
  #informationView[data-page-type="rules"] .public-rule-card:hover .public-rule-icon{
    transform:scale(1.045);
  }
  #informationView[data-page-type="rules"] .public-rule-icon{
    transition:transform .2s ease,box-shadow .2s ease;
  }
  #informationView[data-page-type="rules"] .public-rules-fairplay{
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
  }
  #informationView[data-page-type="rules"] .public-rules-fairplay:hover{
    transform:translateY(-2px);
    border-color:#bfd2ed;
    box-shadow:0 16px 32px rgba(7,28,63,.08);
  }
}

@media (min-width:901px){
  html[data-theme="dark"] .qualified-search-box:hover,
  html[data-theme="dark"] .qualified-search-box:focus-within{border-color:#4b78aa;box-shadow:0 18px 38px rgba(0,0,0,.24);}
  html[data-theme="dark"] .qualified-total-card:hover,
  html[data-theme="dark"] .qualified-total-card:focus-within{border-color:#8b5a39;box-shadow:0 18px 38px rgba(0,0,0,.22);}
  html[data-theme="dark"] .public-qualified-table-wrap tbody tr:hover{background:#12305a;box-shadow:inset 3px 0 0 #5d9cf3;}
  html[data-theme="dark"] #informationView[data-page-type="rules"] .public-rule-card:hover{border-color:#4b7098;background:var(--surface-soft);box-shadow:0 21px 44px rgba(0,0,0,.24);}
  html[data-theme="dark"] #informationView[data-page-type="rules"] .public-rules-fairplay:hover{border-color:#4d719a;box-shadow:0 16px 32px rgba(0,0,0,.2);}
}

@media (min-width:901px) and (prefers-reduced-motion:reduce){
  .qualified-search-box,
  .qualified-total-card,
  .public-qualified-hero-icon,
  .public-qualified-hero-art svg,
  .qualified-search-icon,
  .qualified-total-icon,
  .qualified-search-button,
  #informationView[data-page-type="rules"] .public-rule-card,
  #informationView[data-page-type="rules"] .public-rule-icon,
  #informationView[data-page-type="rules"] .public-rules-fairplay{
    transition:none;
    transform:none;
  }
}


/* R2.14.0 Email-first smart student login */
@media (min-width:901px){
  #screen-email .email-verified-card{max-width:100%;}
  #screen-email .candidate-email-guidance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0 2px;}
  #screen-email .candidate-guidance-item{display:grid;grid-template-columns:34px minmax(0,1fr);gap:11px;align-items:start;padding:14px 15px;border:1px solid var(--line);border-radius:15px;background:linear-gradient(145deg,var(--surface),var(--surface-soft));}
  #screen-email .candidate-guidance-item>span{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:var(--blue-100);color:var(--blue-600);font-weight:900;}
  #screen-email .candidate-guidance-item:nth-child(1)>span{background:var(--orange-100);color:var(--orange-600);}
  #screen-email .candidate-guidance-item strong{display:block;font-size:13px;color:var(--navy-950);}
  #screen-email .candidate-guidance-item p{margin:4px 0 0;color:var(--muted);font-size:11.5px;line-height:1.5;}
  #screen-email .candidate-route-message{margin:11px 0 0;padding:11px 13px;border-radius:13px;background:var(--blue-100);border:1px solid rgba(36,104,201,.18);color:var(--navy-800);font-size:12px;font-weight:750;}
  #screen-email .candidate-route-message[hidden],#screen-email .candidate-email-guidance[hidden],#screen-email #candidateAuthSwitchWrap[hidden],#screen-email #candidateNameField[hidden],#screen-email #candidatePinField[hidden]{display:none!important;}
  #screen-email .candidate-auth-switch-wrap{display:flex;justify-content:center;margin:10px 0 0;}
  #screen-email .candidate-auth-switch{min-height:40px;padding:0 14px;border-radius:12px;border:1px solid var(--line-strong);background:var(--surface-soft);color:var(--blue-700);font-weight:800;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;}
  body[data-gmc-candidate-auth-mode="email"] #screen-email .email-minimal-fields{grid-template-columns:1fr;}
  body[data-gmc-candidate-auth-mode="pin"] #screen-email .email-minimal-fields,body[data-gmc-candidate-auth-mode="otp"] #screen-email .email-minimal-fields{grid-template-columns:repeat(2,minmax(0,1fr));}
  body[data-gmc-candidate-auth-mode="otp"] #screen-email #candidateNameField[hidden]+.verify-field{grid-column:1/-1;}
}


/* R2.14.3 returning-student login — approved compact premium layout.
   The main application already reserves header/footer space; this screen must
   fit inside that viewport instead of being vertically clipped behind it. */
@media (min-width:901px){
  #screen-login-pin{width:100%;height:100%;min-height:0;overflow:auto;padding:0;}
  #screen-login-pin .email-stage{width:100%;height:100%;min-height:0;display:grid;place-items:center;padding:10px 16px;overflow:auto;}
  #screen-login-pin .candidate-pin-login-shell{width:min(760px,100%);min-height:0;display:block;margin:auto;}
  #screen-login-pin .candidate-pin-login-card{position:relative;overflow:auto;width:100%;max-width:none;max-height:calc(100% - 2px);padding:25px 30px 22px;border-radius:25px;border:1px solid var(--line-strong);box-shadow:0 22px 60px rgba(6,20,45,.12);}
  #screen-login-pin .candidate-pin-login-card::before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--navy-800) 0 55%,var(--orange-600) 100%);}
  #screen-login-pin .candidate-pin-login-kicker{display:block;margin-bottom:5px;color:var(--orange-600);font-size:10px;font-weight:900;letter-spacing:.12em;}
  #screen-login-pin .candidate-pin-login-card .email-minimal-head{margin:0 0 16px;}
  #screen-login-pin .candidate-pin-login-card .email-minimal-head h2{margin:0 0 6px;font-size:clamp(32px,3vw,42px);line-height:1.04;letter-spacing:-.04em;}
  #screen-login-pin .candidate-pin-login-card .email-minimal-head p{margin:0;color:var(--muted);font-size:13px;line-height:1.45;}
  #screen-login-pin .candidate-pin-login-identity{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;margin:0 0 16px;padding:12px 14px;border:1px solid var(--line-strong);border-radius:15px;background:var(--surface-soft);}
  #screen-login-pin .candidate-pin-login-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:var(--blue-100);color:var(--blue-600);}
  #screen-login-pin .candidate-pin-login-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
  #screen-login-pin .candidate-pin-login-email-copy{display:grid;gap:1px;min-width:0;}
  #screen-login-pin .candidate-pin-login-identity small{font-size:8.5px;letter-spacing:.1em;font-weight:900;color:var(--muted);}
  #screen-login-pin .candidate-pin-login-identity strong{font-size:14px;color:var(--navy-900);overflow-wrap:anywhere;}
  #screen-login-pin .candidate-pin-change-email{border:0;background:transparent;color:var(--blue-700);font:800 11px/1.3 Manrope,sans-serif;text-decoration:underline;text-underline-offset:3px;white-space:nowrap;padding:5px 0;}
  #screen-login-pin .candidate-pin-change-email:hover{color:var(--orange-600);}
  #screen-login-pin .candidate-pin-change-email-mobile{display:none;}
  #screen-login-pin .candidate-pin-login-fields{display:grid!important;grid-template-columns:1fr;gap:7px;margin:0;padding:0;border:0;background:transparent;box-shadow:none;}
  #screen-login-pin .candidate-pin-login-fields .field{display:grid!important;gap:6px;}
  #screen-login-pin .candidate-pin-login-fields .field label{font-size:12.5px;}
  #screen-login-pin .candidate-pin-login-fields input{height:54px;min-height:54px;font-size:17px;letter-spacing:.16em;font-weight:800;border-radius:14px;}
  #screen-login-pin .email-minimal-action{margin-top:14px;}
  #screen-login-pin .candidate-pin-login-primary{width:100%;min-height:54px;border-radius:14px;font-size:15px;}
  #screen-login-pin .candidate-pin-login-links{display:flex;align-items:center;justify-content:center;margin:9px 0 0;}
  #screen-login-pin .candidate-pin-login-links button{border:0;background:transparent;padding:4px 0;color:var(--blue-700);font:800 11.5px/1.35 Manrope,sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer;}
  #screen-login-pin .candidate-pin-login-links button:hover{color:var(--orange-600);}
  #screen-login-pin .candidate-pin-login-notice{margin-top:11px;padding:9px 12px;border-radius:12px;}
  
  #screen-login-pin .candidate-pin-login-notice p{font-size:10.5px;line-height:1.4;}
  html[data-theme="dark"] #screen-login-pin .candidate-pin-login-identity{background:#0d2749;border-color:#31577f;}
  html[data-theme="dark"] #screen-login-pin .candidate-pin-login-identity strong{color:#f5f8ff;}
}

@media (min-width:901px) and (max-height:720px){
  #screen-login-pin .email-stage{padding:6px 12px;}
  #screen-login-pin .candidate-pin-login-card{padding:20px 26px 17px;border-radius:22px;}
  #screen-login-pin .candidate-pin-login-card .email-minimal-head{margin-bottom:11px;}
  #screen-login-pin .candidate-pin-login-card .email-minimal-head h2{font-size:31px;}
  #screen-login-pin .candidate-pin-login-card .email-minimal-head p{font-size:11.5px;}
  #screen-login-pin .candidate-pin-login-identity{margin-bottom:11px;padding:9px 12px;}
  #screen-login-pin .candidate-pin-login-fields input{height:49px;min-height:49px;}
  #screen-login-pin .candidate-pin-login-primary{min-height:49px;}
  #screen-login-pin .email-minimal-action{margin-top:10px;}
  #screen-login-pin .candidate-pin-login-links{margin-top:6px;}
  #screen-login-pin .candidate-pin-login-notice{margin-top:7px;padding:7px 10px;}
}

/* R2.14.5 — Returning Student security-note icon containment.
   This screen lives outside #screen-email, so it must own the complete SVG
   geometry instead of inheriting the browser's 300x150 default SVG size. */
@media (min-width:901px){
  #screen-login-pin .candidate-pin-login-notice{
    display:grid!important;
    grid-template-columns:32px minmax(0,1fr);
    align-items:center;
    gap:10px;
    overflow:hidden;
    min-width:0;
  }
  #screen-login-pin .candidate-pin-login-notice .verify-email-notice-icon{
    width:32px;
    height:32px;
    min-width:32px;
    min-height:32px;
    display:grid!important;
    place-items:center;
    overflow:hidden;
    border-radius:10px;
    background:var(--blue-100);
    color:var(--blue-700);
  }
  #screen-login-pin .candidate-pin-login-notice .verify-email-notice-icon svg{
    display:block!important;
    width:20px;
    height:20px;
    min-width:20px;
    min-height:20px;
    max-width:20px;
    max-height:20px;
    overflow:visible;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
  }
  #screen-login-pin .candidate-pin-login-notice p{
    min-width:0;
    margin:0;
    overflow-wrap:anywhere;
  }
}

/* R3.1.2 staging payment desktop application shell */
@media(min-width:901px){
  body.staging-payment-body{height:100dvh;min-height:100dvh;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto;}
  body.staging-payment-body .staging-payment-header{position:relative;top:auto;min-height:66px;}
  body.staging-payment-body .staging-payment-shell{width:min(1260px,calc(100% - 40px));max-width:1260px;height:100%;min-height:0;margin:0 auto;padding:12px 0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:11px;overflow:hidden;}
  body.staging-payment-body .portal-footer{height:30px;min-height:30px;padding:0 18px;display:flex;align-items:center;justify-content:center;font-size:7px;overflow:hidden;}
  .staging-payment-overview{align-content:start;}
  .staging-payment-workspace-scroll{padding:14px 18px 18px;}
  .staging-registration-card,.staging-payment-card,.staging-action-card{max-width:980px;width:100%;margin-inline:auto;}
}
@media(min-width:901px) and (max-height:780px){
  body.staging-payment-body .staging-payment-shell{padding:8px 0;gap:8px;}
  .staging-payment-overview{gap:7px;}
  .staging-safety-banner{padding:9px 13px;}.staging-safety-banner span{font-size:11px;line-height:1.35;}
  .staging-payment-hero{padding:14px 22px;border-radius:17px;}.staging-payment-hero h1{font-size:24px;}.staging-payment-hero>div:last-child strong{font-size:23px;}
  .staging-flow-steps article{padding:9px 11px;}.staging-flow-steps i{width:29px;height:29px;flex-basis:29px;}.staging-flow-steps span{font-size:9px;}.staging-flow-steps b{font-size:11px;}
  .staging-payment-workspace-scroll{padding:10px 15px 15px;}.staging-action-card,.staging-registration-card,.staging-payment-card{padding:18px;}
}


/* R3.2.27 Student Portal Apple Minimal Redesign V4 — authenticated portal only */
@media (min-width:901px){
body.portal-body:not(.portal-auth-page){
  --sp-bg:#f6f8fb;--sp-panel:#fff;--sp-text:#0d2242;--sp-muted:#66758b;--sp-line:#e3e9f1;--sp-blue:#0868e8;--sp-orange:#f28a2b;--sp-green:#18995f;--sp-shadow:0 18px 46px rgba(26,58,102,.075);
  margin:0;height:100vh;min-height:100vh;overflow:hidden;background:var(--sp-bg);color:var(--sp-text);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",Arial,sans-serif;
  display:grid;grid-template-columns:218px minmax(0,1fr);grid-template-rows:82px minmax(0,1fr) auto;
}
body.portal-body:not(.portal-auth-page) *{box-sizing:border-box;}
body.portal-body:not(.portal-auth-page) .portal-header{grid-column:1;grid-row:1/4;position:sticky;top:0;z-index:50;width:218px;height:100vh;min-height:0;padding:22px 15px;background:rgba(250,251,253,.92);backdrop-filter:saturate(180%) blur(30px);border:0;border-right:1px solid rgba(15,40,75,.07);box-shadow:10px 0 34px rgba(28,58,99,.035);color:var(--sp-text);display:flex;flex-direction:column;align-items:stretch;gap:0;}
body.portal-body:not(.portal-auth-page) .portal-brand{display:flex;align-items:center;min-height:74px;padding:6px 8px 22px;color:var(--sp-text);text-decoration:none;}
body.portal-body:not(.portal-auth-page) .portal-brand-logo{display:block;width:174px;max-width:100%;height:auto;object-fit:contain;}.portal-brand-mobile-copy{display:none;}
body.portal-body:not(.portal-auth-page) .portal-brand b{font:800 23px/1 -apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",Arial,sans-serif;letter-spacing:-.04em;color:var(--sp-text);}
body.portal-body:not(.portal-auth-page) .portal-brand small{margin-top:5px;color:var(--sp-muted);opacity:1;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;}
body.portal-body:not(.portal-auth-page) .portal-main-nav{justify-self:auto;display:flex;flex-direction:column;align-items:stretch;gap:7px;padding:0;border-radius:0;background:transparent;border:0;backdrop-filter:none;width:100%;}
body.portal-body:not(.portal-auth-page) .portal-main-nav a{display:flex;align-items:center;gap:11px;width:100%;padding:12px 13px;border-radius:12px;color:#34445d;text-decoration:none;font-size:13px;font-weight:680;white-space:nowrap;transition:.18s ease;}
body.portal-body:not(.portal-auth-page) .portal-main-nav a:hover{background:#eef4fc;color:#0e4f9b;}
body.portal-body:not(.portal-auth-page) .portal-main-nav a[aria-current="page"]{background:#e9f2ff;color:#075cc8;box-shadow:inset 0 0 0 1px rgba(8,104,232,.06);}
body.portal-body:not(.portal-auth-page) .portal-nav-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;flex:0 0 30px;background:#f0f4f9;color:#52657f;font-size:14px;font-weight:800;}
body.portal-body:not(.portal-auth-page) .portal-main-nav a[aria-current="page"] .portal-nav-icon{background:#fff;color:#0868e8;box-shadow:0 5px 12px rgba(8,104,232,.10);}
body.portal-body:not(.portal-auth-page) .portal-account{margin-top:auto;display:block;justify-self:auto;color:var(--sp-text);}
body.portal-body:not(.portal-auth-page) .portal-user-mini{padding:13px 14px;border:1px solid var(--sp-line);border-radius:14px;background:rgba(255,255,255,.84);box-shadow:0 8px 24px rgba(24,53,92,.04);}
body.portal-body:not(.portal-auth-page) .portal-user-mini strong{display:block;font-size:13px;color:var(--sp-text);}
body.portal-body:not(.portal-auth-page) .portal-user-mini span{display:block;margin-top:4px;color:var(--sp-muted);font-size:11px;}
body.portal-body:not(.portal-auth-page) .portal-account form{margin:10px 0 0;}
body.portal-body:not(.portal-auth-page) .portal-header button{width:100%;border:1px solid var(--sp-line);border-radius:11px;padding:10px;background:#fff;color:#34445d;font:700 12px -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;}
body.portal-body:not(.portal-auth-page) .portal-mobile-menu{display:none!important;}
body.portal-body:not(.portal-auth-page) .portal-topbar{grid-column:2;grid-row:1;height:82px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:sticky;top:0;z-index:20;background:rgba(246,248,251,.84);backdrop-filter:saturate(180%) blur(28px);border-bottom:1px solid rgba(15,40,75,.05);}
body.portal-body:not(.portal-auth-page) .portal-topbar-title{display:flex;flex-direction:column;gap:3px;}.portal-topbar-title b{font-size:25px;line-height:1;letter-spacing:-.035em;color:var(--sp-text);font-weight:800;}.portal-topbar-title span{font-size:12px;color:var(--sp-muted);font-weight:650;}
body.portal-body:not(.portal-auth-page) .portal-topbar-status{display:flex;align-items:center;gap:8px;padding:9px 13px;border-radius:999px;background:#fff;border:1px solid var(--sp-line);box-shadow:0 8px 22px rgba(20,52,95,.045);font-size:11px;font-weight:750;color:#40516a;}
body.portal-body:not(.portal-auth-page) .portal-topbar-status span{width:8px;height:8px;border-radius:50%;background:#30d158;}
body.portal-body:not(.portal-auth-page) .portal-shell{grid-column:2;grid-row:2;width:100%;max-width:1360px;min-height:0;height:100%;display:block;grid-template-rows:none;gap:0;overflow:auto;margin:0 auto;padding:20px 30px 34px;scrollbar-gutter:stable;}
body.portal-body:not(.portal-auth-page) .portal-app-shell{min-height:0;}
body.portal-body:not(.portal-auth-page) .portal-footer{grid-column:2;grid-row:3;height:auto;min-height:0;display:block;overflow:visible;padding:12px 42px 16px;color:#929299;background:var(--sp-bg);font-size:11px;text-align:center;border:0;}
body.portal-body:not(.portal-auth-page) .portal-alert{border-radius:5px;}

body.portal-body:not(.portal-auth-page) .portal-dashboard-intro{display:none;margin:0;}
body.portal-body:not(.portal-auth-page) .portal-dashboard-kicker,body.portal-body:not(.portal-auth-page) .portal-eyebrow{color:var(--sp-blue);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;}
body.portal-body:not(.portal-auth-page) .portal-dashboard-intro h1{margin:8px 0 0;font-size:52px;line-height:1.02;letter-spacing:-.055em;font-weight:760;color:var(--sp-text);}
body.portal-body:not(.portal-auth-page) .portal-dashboard-intro p{margin:13px 0 0;max-width:740px;color:var(--sp-muted);font-size:18px;line-height:1.5;}
body.portal-body:not(.portal-auth-page) .portal-apple-hero{display:none;margin:0;padding:0;border:0;box-shadow:none;}
body.portal-body:not(.portal-auth-page) .portal-apple-hero-row{display:grid;grid-template-columns:1fr 280px;gap:28px;align-items:center;}
body.portal-body:not(.portal-auth-page) .portal-apple-hero h2{font-size:34px;letter-spacing:-.04em;margin:0 0 8px;color:var(--sp-text);font-weight:750;}
body.portal-body:not(.portal-auth-page) .portal-apple-hero p{margin:0;color:var(--sp-muted);font-size:16px;line-height:1.5;}
body.portal-body:not(.portal-auth-page) .portal-apple-status{justify-self:end;width:100%;padding:22px;border-radius:5px;background:#f2f2f7;display:block;color:var(--sp-text);}
body.portal-body:not(.portal-auth-page) .portal-apple-status small{display:block;color:var(--sp-muted);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;}
body.portal-body:not(.portal-auth-page) .portal-apple-status strong{display:block;margin-top:7px;font-size:24px;letter-spacing:-.03em;color:var(--sp-text);}
body.portal-body:not(.portal-auth-page) .portal-apple-status span{display:block;margin-top:6px;color:var(--sp-orange);font-weight:750;font-size:13px;}
body.portal-body:not(.portal-auth-page) .portal-apple-hero.is-confirmed .portal-apple-status strong{color:var(--sp-green);}
body.portal-body:not(.portal-auth-page) .portal-apple-bento{display:grid;grid-template-columns:repeat(12,1fr);gap:12px;margin-top:0;}
body.portal-body:not(.portal-auth-page) .portal-apple-card{background:#fff;border:1px solid var(--sp-line);border-radius:18px;padding:18px 20px;box-shadow:0 12px 32px rgba(27,57,98,.055);color:var(--sp-text);text-decoration:none;min-width:0;}
body.portal-body:not(.portal-auth-page) .portal-apple-card h3{margin:0;font-size:18px;letter-spacing:-.025em;color:inherit;}
body.portal-body:not(.portal-auth-page) .portal-apple-card p{color:var(--sp-muted);font-size:13px;line-height:1.55;margin:7px 0 0;}
body.portal-body:not(.portal-auth-page) .portal-apple-label{font-size:10px;font-weight:800;color:#8e8e93;text-transform:uppercase;letter-spacing:.08em;margin-bottom:9px;}
body.portal-body:not(.portal-auth-page) .portal-span-4{grid-column:span 4;}.portal-span-8{grid-column:span 8;}.portal-span-12{grid-column:span 12;}
body.portal-body:not(.portal-auth-page) .portal-apple-next{background:linear-gradient(135deg,#102746,#173a66 62%,#0e2e55);color:#fff;min-height:136px;}
body.portal-body:not(.portal-auth-page) .portal-apple-next .portal-apple-label{color:#a9a9ad;}
body.portal-body:not(.portal-auth-page) .portal-apple-next p{color:#b9b9bd;}
body.portal-body:not(.portal-auth-page) .portal-apple-action{display:inline-flex;align-items:center;margin-top:15px;border:1px solid rgba(255,255,255,.65);background:#fff;color:#0f3159;padding:10px 14px;border-radius:11px;font-weight:800;text-decoration:none;font-size:12px;box-shadow:0 7px 18px rgba(0,0,0,.08);}
body.portal-body:not(.portal-auth-page) .portal-apple-result{display:flex;align-items:center;gap:16px;}
body.portal-body:not(.portal-auth-page) .portal-apple-check{width:54px;height:54px;border-radius:15px;display:grid;place-items:center;flex:0 0 54px;background:#e9f8f1;color:var(--sp-green);font-size:24px;font-weight:900;}
body.portal-body:not(.portal-auth-page) .portal-apple-result>div{min-width:0;}.portal-apple-result strong{display:block;font-size:22px;}.portal-apple-result div span{display:block;margin-top:4px;color:var(--sp-muted);font-size:13px;}
body.portal-body:not(.portal-auth-page) .portal-apple-softlink{display:inline-flex;margin-top:13px;background:#edf4fd;color:#0b57b4;padding:9px 12px;border-radius:10px;font-weight:800;text-decoration:none;font-size:11px;}
body.portal-body:not(.portal-auth-page) .portal-apple-tools{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px;}
body.portal-body:not(.portal-auth-page) .portal-apple-tools>a{border:1px solid var(--sp-line);border-radius:14px;padding:15px;background:linear-gradient(180deg,#fff,#fbfcfe);color:var(--sp-text);text-decoration:none;min-width:0;box-shadow:0 6px 18px rgba(31,63,105,.025);}
body.portal-body:not(.portal-auth-page) .portal-apple-tools>a>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#edf4ff;color:var(--sp-blue);font-size:9px;font-weight:900;}
body.portal-body:not(.portal-auth-page) .portal-apple-tools strong{display:block;margin-top:16px;font-size:15px;}.portal-apple-tools small{display:block;margin-top:4px;color:var(--sp-muted);font-size:12px;}
body.portal-body:not(.portal-auth-page) .portal-apple-stat{display:flex;min-height:88px;flex-direction:column;justify-content:center;}.portal-apple-stat>strong{display:block;font-size:20px;line-height:1.2;letter-spacing:-.025em;font-weight:800;color:var(--sp-text);overflow-wrap:anywhere;}.portal-apple-stat.is-success>strong{color:var(--sp-green);}

body.portal-body:not(.portal-auth-page) .portal-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 24px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;}
body.portal-body:not(.portal-auth-page) .portal-page-head>div{order:1;display:block;}.portal-page-head>a{order:2;margin-left:auto;width:auto;height:auto;border:1px solid var(--sp-line);border-radius:5px;padding:10px 14px;background:#fff;color:#333;font-size:13px;font-weight:700;text-decoration:none;}
body.portal-body:not(.portal-auth-page) .portal-page-head span{color:var(--sp-blue);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;}
body.portal-body:not(.portal-auth-page) .portal-page-head h1{margin:8px 0 0;font:760 44px/1.02 -apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",Arial,sans-serif;letter-spacing:-.055em;color:var(--sp-text);}
body.portal-body:not(.portal-auth-page) .portal-page-head p{margin:13px 0 0;max-width:740px;color:var(--sp-muted);font-size:17px;line-height:1.5;}
body.portal-body:not(.portal-auth-page) .portal-view-frame{max-width:none;margin:0;}.portal-payment-page{max-width:820px;margin:0;}
body.portal-body:not(.portal-auth-page) .portal-panel{background:#fff;border:1px solid var(--sp-line);border-radius:18px;padding:20px;box-shadow:0 14px 36px rgba(27,57,98,.06);margin-bottom:14px;color:var(--sp-text);}
body.portal-body:not(.portal-auth-page) .portal-panel-head{border-bottom:1px solid var(--sp-line);padding-bottom:11px;margin-bottom:14px;}.portal-panel-head span{color:#74859d;font-size:9px;}.portal-panel-head h2{font:760 20px/1.2 -apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",Arial,sans-serif;color:var(--sp-text);letter-spacing:-.025em;}.portal-panel-head>b{border-radius:999px;padding:6px 10px;}
body.portal-body:not(.portal-auth-page) .portal-locked-screen{min-height:470px;display:grid;place-items:center;text-align:center;padding:50px;box-shadow:var(--sp-shadow);}
body.portal-body:not(.portal-auth-page) .portal-lock-icon{width:74px;height:74px;border-radius:5px;display:grid;place-items:center;margin:0 auto 22px;background:#f2f2f7;font-size:30px;}
body.portal-body:not(.portal-auth-page) .portal-locked-screen h2{font-size:34px;letter-spacing:-.04em;margin:0;color:var(--sp-text);}
body.portal-body:not(.portal-auth-page) .portal-locked-screen p{max-width:760px;margin:13px auto 0;color:var(--sp-muted);font-size:17px;line-height:1.55;}
body.portal-body:not(.portal-auth-page) .portal-locked-screen>strong{display:block;margin:20px auto 0;max-width:920px;padding:14px 18px;border-radius:5px;background:#fff7ec;color:#9a4a00;border:1px solid #ffd8ad;font-weight:700;font-size:13px;}
body.portal-body:not(.portal-auth-page) .portal-primary{min-height:44px;border-radius:11px;background:linear-gradient(180deg,#0b73ef,#0762d8);box-shadow:0 10px 22px rgba(8,104,232,.18);font-weight:800;}
body.portal-body:not(.portal-auth-page) .portal-locked-screen .portal-primary{margin-top:22px;display:inline-flex;width:auto;}
body.portal-body:not(.portal-auth-page) .portal-updates-page{max-width:820px;}.portal-updates-page article{border-radius:5px;box-shadow:var(--sp-shadow);border:1px solid var(--sp-line);background:#fff;}
body.portal-body:not(.portal-auth-page) .portal-profile-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,.8fr);gap:18px;align-items:start;}
body.portal-body:not(.portal-auth-page) .portal-profile-access{position:static;top:auto;align-self:start;background:linear-gradient(150deg,#101114,#28292d);color:#fff;}
body.portal-body:not(.portal-auth-page) .portal-profile-access h2{color:#fff;font-size:29px;letter-spacing:-.04em;}.portal-profile-access p{color:#c9c9ce;}.portal-profile-access .portal-eyebrow{color:#6fb4ff;}.portal-profile-access .portal-pin-ready{border-radius:5px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);}.portal-profile-access .portal-pin-ready strong{color:#7ef0ad;}
body.portal-body:not(.portal-auth-page) .portal-identity{border-radius:5px;background:#f5f5f7;border:0;padding:18px;}.portal-identity img{width:70px;height:70px;border-radius:5px;border:0;box-shadow:none;}.portal-summary-grid>div{border-radius:5px;background:#fafafa;border:1px solid var(--sp-line);padding:17px;}.portal-summary-grid>div span{color:#8e8e93;}.portal-summary-grid>div b{color:var(--sp-text);}
body.portal-body:not(.portal-auth-page) .portal-form input,body.portal-body:not(.portal-auth-page) .portal-form textarea,body.portal-body:not(.portal-auth-page) .portal-form select,body.portal-body:not(.portal-auth-page) .portal-pin-form input{border-radius:5px;}
body.portal-body:not(.portal-auth-page) .portal-kpis article,body.portal-body:not(.portal-auth-page) .portal-bank,body.portal-body:not(.portal-auth-page) .portal-payment-state,body.portal-body:not(.portal-auth-page) .portal-terms,body.portal-body:not(.portal-auth-page) .portal-session-list article,body.portal-body:not(.portal-auth-page) .portal-zoom-rule,body.portal-body:not(.portal-auth-page) .portal-completion-avatar,body.portal-body:not(.portal-auth-page) .portal-completion-note,body.portal-body:not(.portal-auth-page) .portal-completion-checklist>div,body.portal-body:not(.portal-auth-page) .portal-completion-photo-drop{border-radius:5px;}
}

@media (min-width:901px) and (max-width:1100px){
 body.portal-body:not(.portal-auth-page){grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) auto;}
 body.portal-body:not(.portal-auth-page) .portal-header{grid-column:1;grid-row:1;position:sticky;top:0;width:100%;height:auto;min-height:0;padding:10px 14px;display:flex;flex-direction:row;align-items:center;gap:14px;border-right:0;border-bottom:1px solid rgba(0,0,0,.06);}
 body.portal-body:not(.portal-auth-page) .portal-brand{padding:0 8px;}.portal-brand small{display:none!important;}
 body.portal-body:not(.portal-auth-page) .portal-main-nav{flex:1;flex-direction:row;overflow:auto;gap:7px;scrollbar-width:none;}.portal-main-nav::-webkit-scrollbar{display:none;}
 body.portal-body:not(.portal-auth-page) .portal-main-nav a{width:auto;white-space:nowrap;padding:10px 12px;}.portal-nav-icon{display:none!important;}
 body.portal-body:not(.portal-auth-page) .portal-account{margin:0;display:block;}.portal-user-mini{display:none!important;}.portal-account form{margin:0;}.portal-header button{width:auto;}
 body.portal-body:not(.portal-auth-page) .portal-topbar{display:none;}
 body.portal-body:not(.portal-auth-page) .portal-shell{grid-column:1;grid-row:2;padding:26px 22px 38px;}
 body.portal-body:not(.portal-auth-page) .portal-footer{grid-column:1;grid-row:3;}
 body.portal-body:not(.portal-auth-page) .portal-dashboard-intro h1{font-size:44px;}
}

/* R3.3.6 — Registration choice, championship package and live registration counter */
.public-registration-counter{margin-top:22px;min-height:66px;border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow-soft);border-radius:16px;padding:13px 18px;display:flex;align-items:center;justify-content:space-between;gap:18px;}.public-registration-counter-main{display:flex;align-items:baseline;gap:9px;color:var(--navy-900);}.public-registration-counter-main strong{font-size:25px;line-height:1;font-weight:900;}.public-registration-counter-main>span:last-child{font-size:13px;font-weight:800;}.public-registration-counter-dot{width:9px;height:9px;border-radius:50%;background:var(--orange-500);box-shadow:0 0 0 5px var(--orange-100);}.public-registration-counter-meta{display:flex;align-items:center;gap:11px;color:var(--muted);font-size:11px;font-weight:750;}.public-registration-counter-meta i{width:4px;height:4px;border-radius:50%;background:var(--orange-500);}
.portal-choice-panel,.portal-package-card,.portal-choice-reminder{margin:18px 0;border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow-soft);border-radius:12px;padding:22px;}.portal-choice-head>span,.portal-package-title>span,.portal-choice-kicker{font-size:10px;letter-spacing:.1em;font-weight:900;color:var(--orange-600);}.portal-choice-head h2,.portal-package-title h2{margin:7px 0 8px;color:var(--navy-900);font-size:24px;}.portal-choice-head p,.portal-package-title p{margin:0;color:var(--muted);line-height:1.55;}.portal-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px;}.portal-choice-card{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:18px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;}.portal-choice-card-primary{border-color:rgba(233,99,23,.35);background:linear-gradient(145deg,var(--surface),var(--orange-100));}.portal-choice-card h3{margin:8px 0 7px;color:var(--navy-900);font-size:18px;}.portal-choice-card p{margin:0 0 16px;color:var(--muted);line-height:1.5;flex:1;}.portal-secondary{min-height:44px;padding:0 16px;border-radius:8px;border:1px solid var(--line-strong);background:var(--surface);color:var(--navy-900);font-weight:850;}.portal-choice-reminder{display:flex;justify-content:space-between;align-items:center;gap:18px;}.portal-choice-reminder div{display:grid;gap:4px;}.portal-choice-reminder strong{color:var(--navy-900);}.portal-choice-reminder span{color:var(--muted);font-size:12px;}.portal-package-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:16px;}.portal-package-grid span{position:relative;padding:10px 12px 10px 34px;border:1px solid var(--line);border-radius:8px;color:var(--navy-800);font-size:12px;font-weight:750;}.portal-package-grid span:before{content:"✓";position:absolute;left:12px;color:#1d7a4a;font-weight:900;}.portal-package-note{display:block;margin-top:14px;padding:12px;border-radius:8px;background:var(--blue-100);color:var(--navy-900);font-size:12px;}.portal-razorpay-card{border:1px solid var(--line);border-radius:10px;padding:16px;background:var(--surface);}.portal-razorpay-brand,.portal-razorpay-amount{display:flex;justify-content:space-between;align-items:center;gap:10px;}.portal-razorpay-brand span{font-size:10px;font-weight:900;letter-spacing:.08em;color:var(--muted);}.portal-razorpay-brand strong{color:var(--navy-900);}.portal-razorpay-amount{margin:14px 0;align-items:flex-end;}.portal-razorpay-amount span{font-size:12px;color:var(--muted);}.portal-razorpay-amount strong{font-size:27px;color:var(--navy-900);}.portal-razorpay-amount small{font-size:10px;color:var(--muted);}.portal-razorpay-button{width:100%;}.portal-payment-help{font-size:11px;line-height:1.5;color:var(--muted);margin:10px 0 0;}.portal-manual-payment{margin-top:14px;border-top:1px solid var(--line);padding-top:12px;}.portal-manual-payment summary{cursor:pointer;font-weight:800;color:var(--navy-800);}.portal-manual-payment-body{padding-top:14px;}.portal-policy-version{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;}.portal-policy-details{margin:10px 0;padding:10px 12px;border:1px solid var(--line);border-radius:8px;}.portal-policy-details summary{font-weight:800;cursor:pointer;}.portal-policy-details p{line-height:1.55;}


/* R3.3.6B LIVE — Home brain transition + counter strip regression fix. */
@media (min-width:901px){
  body.welcome-gate .public-brain-glow{display:none!important;}
  body.welcome-gate .public-brain-gesture{background:transparent;overflow:hidden;}
  body.welcome-gate .public-brain-slide{transform:none;opacity:0!important;visibility:hidden!important;transition:opacity .18s ease;z-index:1;}
  body.welcome-gate .public-brain-slide.is-active{opacity:1!important;visibility:visible!important;transform:none;z-index:3;transition:opacity .28s ease;}
  body.welcome-gate .public-brain-slide.is-enter-left,body.welcome-gate .public-brain-slide.is-enter-right{opacity:0!important;visibility:hidden!important;transform:none;}
  body.welcome-gate .public-brain-slide.is-exit-left,body.welcome-gate .public-brain-slide.is-exit-right{opacity:0!important;visibility:visible!important;transform:none;z-index:2;}
  body.welcome-gate .public-brain-slide .public-brain{background:transparent;}
  body.welcome-gate .public-partners{grid-template-columns:.82fr repeat(3,1fr);}
  body.welcome-gate .public-registration-counter{margin:0;min-height:0;padding:6px 10px;border:0;border-right:1px solid var(--line);border-radius:0;box-shadow:none;background:transparent;display:grid!important;place-items:center;align-content:center;gap:5px;}
  body.welcome-gate .public-registration-counter-main{display:flex!important;align-items:baseline;justify-content:center;gap:6px;color:var(--navy-900);white-space:nowrap;}
  body.welcome-gate .public-registration-counter-main strong{font-size:23px;line-height:1;font-weight:900;}
  body.welcome-gate .public-registration-counter-main>span:last-child{font-size:9px;line-height:1.1;font-weight:850;}
  body.welcome-gate .public-registration-counter-dot{width:7px;height:7px;border-radius:50%;background:var(--orange-500);box-shadow:0 0 0 4px var(--orange-100);}
  body.welcome-gate .public-registration-counter-meta{font-size:7px;line-height:1.2;color:var(--muted);font-weight:800;white-space:nowrap;}
}

/* R3.4.0 — Qualified journey, certificate and locked Training Batch. */
.portal-discount-chip{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;margin:0 0 10px;border:1px solid rgba(233,99,23,.28);border-radius:999px;background:var(--orange-100);color:var(--orange-700,#a8420c);font-size:11px;font-weight:900;letter-spacing:.02em;}
.portal-intro-slot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px;}.portal-slot-card{display:flex;flex-direction:column;align-items:flex-start;min-height:196px;padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:var(--shadow-soft);}.portal-slot-card>span{font-size:10px;font-weight:900;letter-spacing:.09em;color:var(--orange-600);}.portal-slot-card h3{margin:8px 0 7px;color:var(--navy-900);font-size:19px;}.portal-slot-card p{flex:1;margin:0 0 16px;color:var(--muted);font-size:12px;line-height:1.55;}.portal-intro-selection .portal-choice-reminder{margin-bottom:0;}.portal-intro-confirmed{border-color:rgba(31,143,88,.28);background:linear-gradient(145deg,var(--surface),rgba(31,143,88,.055));}.portal-intro-confirmed small{color:#1d7a4a;font-weight:850;}.portal-choice-reminder-actions{display:flex;align-items:center;gap:10px;}.portal-choice-reminder-actions form{margin:0;}
.portal-journey-grid{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:12px;margin:12px 0 4px;}.portal-journey-grid>.portal-panel{margin:0;min-width:0;align-self:stretch;}.portal-certificate-card.is-unlocked{border-color:rgba(31,143,88,.3);box-shadow:0 14px 34px rgba(23,112,70,.08);}.portal-certificate-card.is-locked{border-color:rgba(16,47,91,.14);}.portal-certificate-card>p,.portal-training-card>p{color:var(--muted);font-size:12px;line-height:1.55;}.portal-certificate-number{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:14px 0;padding:12px 14px;border:1px solid var(--line);border-radius:9px;background:var(--surface-soft,#f7f9fc);}.portal-certificate-number span{color:var(--muted);font-size:10px;font-weight:800;}.portal-certificate-number strong{color:var(--navy-900);font-size:14px;letter-spacing:.04em;}.portal-certificate-preview{position:relative;overflow:hidden;display:grid;place-items:center;align-content:center;gap:2px;min-height:112px;margin:10px 0 12px;border:1px solid #e9cf9a;border-radius:12px;background:linear-gradient(145deg,#fffefa,#fff);box-shadow:inset 0 0 0 5px #fff,inset 0 0 0 6px rgba(199,143,45,.34);}.portal-certificate-preview:before,.portal-certificate-preview:after{content:"";position:absolute;width:28px;height:28px;border-color:#cf922a;}.portal-certificate-preview:before{left:12px;top:12px;border-left:2px solid #cf922a;border-top:2px solid #cf922a;}.portal-certificate-preview:after{right:12px;bottom:12px;border-right:2px solid #cf922a;border-bottom:2px solid #cf922a;}.portal-certificate-preview-kicker{font:700 7px/1.2 Georgia,serif;color:#81501f;letter-spacing:.02em;}.portal-certificate-preview strong{font:800 24px/1 Georgia,serif;letter-spacing:.08em;color:#0b2f63;}.portal-certificate-preview small{font:700 8px/1.2 Georgia,serif;color:#b4771a;letter-spacing:.12em;}.portal-certificate-preview i{width:54%;height:1px;margin-top:8px;background:#d6aa58;}.portal-certificate-download-form{margin:0;}.portal-certificate-download-form .portal-primary{width:100%;}.portal-unlock-rules{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;margin-top:14px;}.portal-unlock-rules strong{min-height:74px;display:flex;align-items:center;padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--surface-soft,#f7f9fc);color:var(--navy-900);font-size:11px;line-height:1.45;}.portal-unlock-rules>span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--navy-900);color:#fff;font-size:9px;font-weight:900;}
.portal-training-confirmed{display:grid;grid-template-columns:1fr auto;gap:5px 12px;margin:13px 0;padding:14px;border:1px solid rgba(31,143,88,.28);border-radius:10px;background:rgba(31,143,88,.055);}.portal-training-confirmed strong{color:var(--navy-900);font-size:15px;}.portal-training-confirmed span{grid-row:2;color:var(--muted);font-size:11px;}.portal-training-confirmed b{grid-column:2;grid-row:1/3;align-self:center;color:#1d7a4a;font-size:11px;}.portal-training-form{display:grid;gap:11px;margin-top:11px;}.portal-training-options{display:grid;grid-template-columns:1fr;gap:8px;}.portal-training-options label{cursor:pointer;}.portal-training-options input{position:absolute;opacity:0;pointer-events:none;}.portal-training-options label>span{display:grid;gap:5px;padding:13px;border:1px solid var(--line);border-radius:9px;background:var(--surface);transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;}.portal-training-options b{color:var(--navy-900);font-size:13px;}.portal-training-options small{color:var(--muted);font-size:11px;}.portal-training-options input:checked+span{border-color:var(--orange-500);background:var(--orange-100);box-shadow:0 0 0 2px rgba(233,99,23,.08);}.portal-training-options input:focus-visible+span{outline:3px solid rgba(22,93,180,.18);outline-offset:2px;}.portal-batch-warning{display:grid;gap:6px;padding:12px 13px;border:1px solid rgba(198,132,20,.3);border-radius:9px;background:#fff8e8;}.portal-batch-warning strong{color:#6d4807;font-size:11px;line-height:1.45;}.portal-batch-warning span{color:#725b31;font-size:11px;line-height:1.5;}.portal-lock-ack{display:flex;align-items:flex-start;gap:9px;color:var(--navy-800);font-size:11px;line-height:1.45;}.portal-lock-ack input{margin-top:2px;}
.portal-fee-breakdown{display:grid;gap:8px;margin:14px 0;}.portal-fee-breakdown>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft,#f7f9fc);}.portal-fee-breakdown span{color:var(--muted);font-size:11px;font-weight:750;}.portal-fee-breakdown strong{color:var(--navy-900);font-size:14px;}.portal-fee-breakdown .is-discount{border-color:rgba(31,143,88,.24);background:rgba(31,143,88,.055);}.portal-fee-breakdown .is-discount strong{color:#1d7a4a;}.portal-fee-breakdown .is-final{border-color:rgba(233,99,23,.28);background:var(--orange-100);}.portal-fee-breakdown .is-final span,.portal-fee-breakdown .is-final strong{color:var(--navy-900);font-weight:900;}.portal-fee-breakdown .is-final strong{font-size:20px;}.portal-fee-final-confirm{display:flex;align-items:flex-start;gap:9px;margin:12px 0;padding:11px;border:1px solid var(--line);border-radius:8px;color:var(--navy-800);font-size:11px;line-height:1.45;}.portal-fee-final-confirm input{margin-top:2px;}.portal-intro-confirmed-card{display:grid;gap:7px;margin-top:14px;padding:16px;border:1px solid rgba(31,143,88,.25);border-radius:10px;background:rgba(31,143,88,.05);}.portal-intro-confirmed-card>span{color:#1d7a4a;font-size:10px;font-weight:900;letter-spacing:.08em;}.portal-intro-confirmed-card h3{margin:0;color:var(--navy-900);font-size:18px;}.portal-intro-confirmed-card p{margin:0 0 8px;color:var(--muted);font-size:12px;line-height:1.5;}

/* Public certificate verification page. */
.certificate-verify-body{min-height:100vh;margin:0;background:linear-gradient(145deg,#f5f8fd,#fff 52%,#f7f4ed);color:#102f5b;font-family:Inter,Arial,sans-serif;}.certificate-verify-shell{width:min(760px,calc(100% - 48px));margin:0 auto;padding:62px 0;}.certificate-verify-brand{display:flex;align-items:center;gap:18px;margin-bottom:18px;}.certificate-verify-brand img{width:118px;height:auto;object-fit:contain;}.certificate-verify-brand div{display:grid;gap:4px;}.certificate-verify-brand span{font-size:11px;font-weight:850;letter-spacing:.08em;color:#6c7d96;text-transform:uppercase;}.certificate-verify-brand strong{font-size:25px;color:#0b2d63;}.certificate-verify-card{overflow:hidden;border:1px solid #dce5ef;border-radius:18px;background:#fff;box-shadow:0 28px 80px rgba(7,35,75,.11);}.certificate-verify-card.is-valid{border-top:4px solid #1d9a60;}.certificate-verify-card.is-invalid{border-top:4px solid #b94a48;}.certificate-verify-status{display:flex;align-items:center;gap:16px;padding:24px 26px;border-bottom:1px solid #e8eef5;}.certificate-verify-status>span{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border-radius:50%;background:#e9f8f0;color:#16824e;font-size:23px;font-weight:900;}.certificate-verify-card.is-invalid .certificate-verify-status>span{background:#fff0ef;color:#a53d39;}.certificate-verify-status small{font-size:9px;font-weight:900;letter-spacing:.1em;color:#718199;}.certificate-verify-status h1{margin:4px 0 5px;font-size:25px;color:#0b2d63;}.certificate-verify-status p{margin:0;color:#687b96;font-size:12px;line-height:1.5;}.certificate-verify-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0;padding:8px 26px 18px;}.certificate-verify-card dl>div{padding:15px 0;border-bottom:1px solid #edf1f6;}.certificate-verify-card dl>div:nth-child(odd){padding-right:18px;}.certificate-verify-card dl>div:nth-child(even){padding-left:18px;border-left:1px solid #edf1f6;}.certificate-verify-card dt{font-size:9px;font-weight:900;letter-spacing:.08em;color:#7a8aa0;text-transform:uppercase;}.certificate-verify-card dd{margin:5px 0 0;color:#102f5b;font-size:14px;font-weight:850;}.certificate-verify-privacy{display:flex;align-items:center;gap:12px;margin:0 26px 24px;padding:13px 14px;border-radius:10px;background:#f3f7fc;}.certificate-verify-privacy strong{white-space:nowrap;color:#0b2d63;font-size:11px;}.certificate-verify-privacy span{color:#6b7e98;font-size:10px;line-height:1.45;}.certificate-verify-foot{margin:14px 4px 0;color:#708198;font-size:10px;line-height:1.45;}
/* R3.4.5 locked HD JPG certificate preview */
.portal-certificate-preview-r345{display:block;min-height:0;aspect-ratio:3508/2480;padding:0;background:#fff;box-shadow:0 8px 24px rgba(14,37,73,.09);border-color:#e4c47f;}
.portal-certificate-preview-r345:before,.portal-certificate-preview-r345:after{display:none;}
.portal-certificate-preview-r345 img{display:block;width:100%;height:100%;object-fit:cover;}

/* R3.4.6 — direct HD JPG certificate download status */
.portal-certificate-download-status{}.portal-certificate-download-status.is-error{}.portal-certificate-download-form .portal-primary:disabled{opacity:.62;cursor:wait;}
/* R3.4.7 direct HD JPG user-gesture download */
.portal-certificate-download-form .portal-primary{display:flex;align-items:center;justify-content:center;text-decoration:none;}.portal-certificate-download-form .portal-primary[aria-disabled="true"]{opacity:.62;cursor:wait;pointer-events:none;}.portal-certificate-download-status{display:block;min-height:16px;margin-top:7px;color:var(--muted);font-size:10px;font-weight:750;line-height:1.4;}.portal-certificate-download-status.is-error{color:#a53d39;}





@media (min-width:901px){
  body.portal-auth-page,
  body.gmc-recovery-entry{
    --auth-page-bg:linear-gradient(180deg,#f9fbfe 0%,#f4f8fc 100%);
    --auth-head:#fffffff2;--auth-card:#fff;--auth-soft:#f6f9fd;
    --auth-text:#0d2245;--auth-muted:#65748c;--auth-line:#dce5f1;
    --auth-blue:#0868e8;--auth-blue-dark:#0849a9;--auth-orange:#ff8618;
    --auth-shadow:0 14px 34px rgba(18,49,91,.09);
    margin:0;width:100%;height:100dvh;min-height:100dvh;
    overflow:hidden;color:var(--auth-text);background:var(--auth-page-bg);
    font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",Arial,sans-serif;
  }
  html[data-theme="dark"] body.portal-auth-page,
  html[data-theme="dark"] body.gmc-recovery-entry{
    --auth-page-bg:linear-gradient(180deg,#07152a 0%,#0a1930 100%);
    --auth-head:#0b1a31f2;--auth-card:#0e203a;--auth-soft:#102742;
    --auth-text:#f3f7ff;--auth-muted:#a9b8cc;--auth-line:#28405f;
    --auth-blue:#68aaff;--auth-blue-dark:#2c78d4;--auth-shadow:0 18px 42px rgba(0,0,0,.25);
  }
  body.portal-auth-page *,body.gmc-recovery-entry *{box-sizing:border-box;}

  /* One header implementation for both signed-out pages. */
  body.portal-auth-page,
  body.gmc-recovery-entry .app{
    display:grid!important;grid-template-columns:1fr;grid-template-rows:72px minmax(0,1fr) 38px;
    width:100%;height:100dvh;min-height:100dvh;background:transparent;overflow:hidden;
  }
  body.portal-auth-page .portal-auth-header,
  body.gmc-recovery-entry .app-header.auth-premium-header{
    grid-row:1;grid-column:1;display:flex!important;position:relative;inset:auto;
    width:100%;height:72px;min-height:72px;margin:0;padding:0;
    background:var(--auth-head);border:0;border-bottom:1px solid var(--auth-line);
    box-shadow:none;backdrop-filter:saturate(160%) blur(18px);z-index:120;
  }
  .auth-premium-header__inner{width:min(1240px,calc(100% - 48px));height:100%;margin:0 auto;display:flex!important;align-items:center;justify-content:space-between;gap:22px;}
  .auth-premium-brand{display:flex!important;align-items:center;gap:15px;min-width:0;text-decoration:none;color:var(--auth-text);}
  .auth-premium-brand img{display:block!important;width:132px;max-width:132px;height:40px;object-fit:contain;object-position:left center;}
  html[data-theme="dark"] .auth-premium-brand img{content:url("mindwhiz_footer_logo_white.png");filter:none;opacity:1!important;}
  .auth-premium-brand>div{display:grid!important;gap:1px;line-height:1.05;}
  .auth-premium-brand strong{font:800 16px/1.05 -apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",Arial,sans-serif;letter-spacing:-.015em;color:var(--auth-text);}
  .auth-premium-brand span{font:650 10.5px/1.15 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;color:var(--auth-muted);}
  .auth-premium-controls{display:flex!important;align-items:center;gap:9px;margin-left:auto;position:relative;}
  .auth-premium-language{position:relative;}
  .auth-premium-language>button,
  body.gmc-recovery-entry .auth-premium-language .app-language-desktop{
    display:flex!important;position:relative;inset:auto;align-items:center;justify-content:center;gap:8px;
    width:82px;height:40px;min-height:40px;margin:0;padding:0 12px;
    border:1px solid var(--auth-line);border-radius:10px;background:var(--auth-card);color:var(--auth-text);
    font:800 12px/1 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;box-shadow:none;
    transition:transform .17s ease,border-color .17s ease,box-shadow .17s ease;
  }
  .auth-premium-language>button:hover{transform:translateY(-1px);border-color:#9dbde6;box-shadow:0 7px 18px rgba(19,63,119,.08);}
  .auth-premium-language-menu,
  body.gmc-recovery-entry .app-language-menu.auth-premium-language-menu{
    position:absolute;top:46px;right:0;left:auto;min-width:142px;margin:0;padding:6px;z-index:220;
    border:1px solid var(--auth-line);border-radius:11px;background:var(--auth-card);box-shadow:0 16px 36px rgba(15,45,85,.16);
  }
  .auth-premium-language-menu[hidden]{display:none!important;}
  .auth-premium-language-menu button{width:100%;min-height:36px;border:0;border-radius:8px;background:transparent;color:var(--auth-text);text-align:left;padding:0 10px;font:700 12px/1 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;}
  .auth-premium-language-menu button:hover,.auth-premium-language-menu button.active{background:var(--auth-soft);color:var(--auth-blue);}
  .auth-premium-theme,body.gmc-recovery-entry .app-theme.auth-premium-theme{
    display:grid!important;position:relative;inset:auto;place-items:center;width:40px;height:40px;min-width:40px;min-height:40px;margin:0;padding:0;
    border:1px solid var(--auth-line);border-radius:10px;background:var(--auth-card);color:var(--auth-text);box-shadow:none;transition:transform .17s ease,border-color .17s ease,box-shadow .17s ease;
  }
  .auth-premium-theme:hover{transform:translateY(-1px) rotate(4deg);border-color:#9dbde6;box-shadow:0 7px 18px rgba(19,63,119,.08);}
  .auth-premium-theme .theme-sun{display:block!important;font-size:18px;line-height:1;}.auth-premium-theme .theme-moon{display:none!important;font-size:18px;line-height:1;}html[data-theme="dark"] .auth-premium-theme .theme-sun{display:none!important;}html[data-theme="dark"] .auth-premium-theme .theme-moon{display:block!important;}

  /* One footer implementation; no extra footer row/wrapper. */
  body.portal-auth-page .portal-auth-footer,
  body.gmc-recovery-entry .app-brand-footer.auth-premium-footer{
    grid-row:3;grid-column:1;display:flex!important;align-items:center;justify-content:center;
    width:100%;height:38px;min-height:38px;margin:0;padding:0 18px;position:relative;inset:auto;
    background:var(--auth-head);border:0;border-top:1px solid var(--auth-line);color:var(--auth-muted);box-shadow:none;
    font:650 10px/1 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;z-index:100;
  }

  /* Main canvas: the BODY owns the page background. Every intermediate recovery wrapper is transparent. */
  body.portal-auth-page .portal-auth-main,
  body.gmc-recovery-entry main.main{
    grid-row:2;grid-column:1;grid-area:auto;position:relative;inset:auto;
    width:100%;max-width:none;height:100%;min-height:0;margin:0;padding:24px;
    display:grid!important;place-items:center;overflow:auto;background:transparent;background-image:none;border:0;box-shadow:none;outline:0;filter:none;
  }
  body.portal-auth-page .portal-auth-topbar{display:none!important;}
  body.gmc-recovery-entry .desktop-progress,body.gmc-recovery-entry #mobileModuleSteps,body.gmc-recovery-entry .app-dots,body.gmc-recovery-entry .app-footer,body.gmc-recovery-entry .app-progress{display:none!important;}
  body.gmc-recovery-entry #screen-email,
  body.gmc-recovery-entry #screen-email.screen,
  body.gmc-recovery-entry #screen-email.active,
  body.gmc-recovery-entry #screen-email.screen.active,
  body.gmc-recovery-entry #screen-email .email-stage,
  body.gmc-recovery-entry #screen-email .email-minimal-shell,
  body.gmc-recovery-entry #screen-email .email-verified-shell{
    position:relative;inset:auto;width:100%;max-width:none;height:100%;min-height:0;margin:0;padding:0;
    display:grid!important;grid-template-columns:1fr;place-items:center;overflow:visible;
    background:transparent;background-image:none;border:0;border-radius:0;box-shadow:none;outline:0;filter:none;
  }
  body.gmc-recovery-entry #screen-email:before,body.gmc-recovery-entry #screen-email:after,
  body.gmc-recovery-entry #screen-email .email-stage:before,body.gmc-recovery-entry #screen-email .email-stage:after,
  body.gmc-recovery-entry #screen-email .email-minimal-shell:before,body.gmc-recovery-entry #screen-email .email-minimal-shell:after{display:none!important;content:none;}

  /* Student Portal login card. */
  body.portal-auth-page .portal-auth-card{
    width:min(760px,calc(100vw - 56px));max-width:760px;margin:auto;position:relative;overflow:hidden;
    background:var(--auth-card);border:1px solid var(--auth-line);border-radius:15px;box-shadow:var(--auth-shadow);
    will-change:transform,box-shadow;transition:transform .22s cubic-bezier(.2,.75,.2,1),box-shadow .22s ease,border-color .22s ease;
  }
  body.portal-auth-page .portal-auth-card:before{content:"";display:block!important;position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(180deg,#0d78ff,#0849a9);}
  body.portal-auth-page .portal-auth-card__grid{display:block!important;padding:30px 36px 28px;}
  body.portal-auth-page .portal-auth-login-panel{padding:0;background:transparent;border:0;box-shadow:none;}
  body.portal-auth-page .portal-eyebrow{display:block!important;margin:0 0 12px;color:var(--auth-blue);font:800 10.5px/1 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;letter-spacing:.115em;text-transform:uppercase;}
  body.portal-auth-page .portal-auth-primary h1{margin:0 0 12px;color:var(--auth-text);font:780 38px/1.06 -apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",Arial,sans-serif;letter-spacing:-.042em;}
  body.portal-auth-page .portal-auth-login-panel>p{margin:0 0 18px;color:var(--auth-muted);font-size:13px;line-height:1.48;}
  body.portal-auth-page .portal-login-form{display:grid!important;gap:12px;}
  body.portal-auth-page .portal-login-form label{display:grid!important;gap:6px;color:var(--auth-text);}
  body.portal-auth-page .portal-login-form label>span{font-size:12px;line-height:1.2;font-weight:760;color:var(--auth-text);}
  body.portal-auth-page .portal-field-wrap{display:grid!important;grid-template-columns:46px minmax(0,1fr);align-items:center;height:50px;min-height:50px;border:1px solid var(--auth-line);border-radius:10px;background:var(--auth-card);overflow:hidden;transition:border-color .16s ease,box-shadow .16s ease;}
  body.portal-auth-page .portal-field-wrap:focus-within{border-color:var(--auth-blue);box-shadow:0 0 0 4px rgba(8,104,232,.10);}
  body.portal-auth-page .portal-field-wrap i{display:grid!important;place-items:center;height:100%;color:var(--auth-muted);border-right:1px solid var(--auth-line);background:var(--auth-soft);font-style:normal;}
  body.portal-auth-page .portal-field-wrap i svg,body.portal-auth-page .portal-button-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
  body.portal-auth-page .portal-field-wrap input{width:100%;min-width:0;height:48px;min-height:48px;border:0;outline:0;background:transparent;padding:0 14px;color:var(--auth-text);font:500 14px/1 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;}
  body.portal-auth-page .portal-field-wrap input::placeholder{color:#8793a5;opacity:1!important;}
  body.portal-auth-page .portal-primary{width:100%;height:50px;min-height:50px;border:0;border-radius:10px;background:linear-gradient(100deg,#096ff1 0%,#0748a8 100%);color:#fff;display:flex!important;align-items:center;justify-content:center;gap:10px;padding:0 18px;box-shadow:0 9px 18px rgba(8,73,169,.17);font:780 14px/1 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;transition:transform .18s cubic-bezier(.2,.8,.2,1),box-shadow .18s ease,filter .18s ease;}
  body.portal-auth-page .portal-primary:hover{transform:translateY(-2px);filter:brightness(1.04);box-shadow:0 14px 28px rgba(8,73,169,.25);}
  body.portal-auth-page .portal-primary:active{transform:translateY(0) scale(.992);}
  body.portal-auth-page .portal-primary .portal-button-icon{transition:transform .18s cubic-bezier(.2,.8,.2,1);}body.portal-auth-page .portal-primary:hover .portal-button-icon{transform:translateX(2px);}
  body.portal-auth-page .portal-first-access{margin-top:14px;border:1px solid var(--auth-line);border-radius:10px;background:var(--auth-card);display:grid!important;grid-template-columns:34px minmax(0,1fr) 172px;gap:10px 12px;padding:11px 12px;align-items:center;box-shadow:none;}
  body.portal-auth-page .portal-first-access__icon{width:34px;height:34px;border-radius:9px;display:grid!important;place-items:center;background:var(--auth-soft);color:var(--auth-blue);font:850 18px/1 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;}
  body.portal-auth-page .portal-first-access__copy{display:grid!important;gap:4px;min-width:0;}body.portal-auth-page .portal-first-access strong{font-size:12px;line-height:1.2;color:var(--auth-text);}body.portal-auth-page .portal-first-access span{font-size:10.5px;line-height:1.42;color:var(--auth-muted);}
  body.portal-auth-page .portal-recover-button{grid-column:3;grid-row:1;height:40px;min-height:40px;border:1.5px solid var(--auth-blue);border-radius:9px;background:var(--auth-card);color:var(--auth-blue);display:flex!important;align-items:center;justify-content:center;text-decoration:none;font:780 11.5px/1 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;white-space:nowrap;padding:0 12px;transition:transform .16s ease,background .16s ease,box-shadow .16s ease;}
  body.portal-auth-page .portal-recover-button:hover{transform:translateY(-1px);box-shadow:0 7px 16px rgba(8,73,169,.08);}body.portal-auth-page .portal-auth-secondary{display:none!important;}

  /* Recover GMC PIN card. */
  body.gmc-recovery-entry #screen-email .email-minimal-card,
  body.gmc-recovery-entry #screen-email .gmc-recovery-card{
    box-sizing:border-box;width:min(760px,calc(100vw - 56px));max-width:760px;min-height:0;height:auto;margin:auto;padding:36px 40px 34px;position:relative;
    display:grid!important;grid-template-columns:1fr;grid-auto-rows:auto;align-content:start;row-gap:14px;
    background:var(--auth-card);border:1px solid var(--auth-line);border-radius:16px;box-shadow:var(--auth-shadow);overflow:visible;
    will-change:transform,box-shadow;transition:transform .22s cubic-bezier(.2,.75,.2,1),box-shadow .22s ease,border-color .22s ease;
  }
  body.gmc-recovery-entry #screen-email .email-minimal-card:before,body.gmc-recovery-entry #screen-email .gmc-recovery-card:before{display:none!important;content:none;}
  body.gmc-recovery-entry #screen-email .email-minimal-head{display:grid!important;gap:12px;margin:0;padding:0 0 5px;border:0;text-align:left;}
  body.gmc-recovery-entry #screen-email .email-minimal-head:before{content:"SECURE RECOVERY";font:800 13px/1 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;letter-spacing:.12em;color:var(--auth-blue);text-transform:uppercase;}
  body.gmc-recovery-entry #screen-email .email-minimal-head h2{font-size:0;margin:0;line-height:1;text-align:left;}body.gmc-recovery-entry #screen-email .email-minimal-head h2:after{content:"Recover GMC PIN";display:block!important;font:780 42px/1.04 -apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",Arial,sans-serif;color:var(--auth-text);letter-spacing:-.045em;text-align:left;}
  body.gmc-recovery-entry #screen-email .email-head-fresh{margin:0;max-width:660px;font-size:14.5px;line-height:1.5;color:var(--auth-muted);text-align:left;}
  body.gmc-recovery-entry #screen-email .email-head-remembered,body.gmc-recovery-entry #screen-email .email-minimal-resume,body.gmc-recovery-entry #screen-email .verify-email-notice,body.gmc-recovery-entry #screen-email .email-minimal-note,body.gmc-recovery-entry #screen-email .verify-trust-strip{display:none!important;}
  body.gmc-recovery-entry #screen-email .email-minimal-fields:not([hidden]){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:2px 0 0;padding:0;border:0;background:transparent;}
  body.gmc-recovery-entry #screen-email .email-minimal-fields .candidate-pin-only{display:none!important;}body.gmc-recovery-entry #screen-email .email-minimal-fields .field{display:grid!important;gap:9px;min-width:0;margin:0;}body.gmc-recovery-entry #screen-email .email-minimal-fields .field label{font-size:15px;line-height:1.2;font-weight:760;color:var(--auth-text);display:flex!important;align-items:center;gap:9px;margin:0;}body.gmc-recovery-entry #screen-email .email-minimal-fields .verify-field-icon{display:inline-grid!important;width:20px;height:20px;place-items:center;color:var(--auth-muted);}body.gmc-recovery-entry #screen-email .email-minimal-fields .verify-field-icon svg{width:19px;height:19px;}
  body.gmc-recovery-entry #screen-email .email-minimal-fields input{box-sizing:border-box;width:100%;min-width:0;height:52px;min-height:52px;border:1px solid var(--auth-line);background:var(--auth-card);border-radius:12px;padding:0 19px;color:var(--auth-text);font:500 15px/1 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;outline:none;}body.gmc-recovery-entry #screen-email .email-minimal-fields input:focus{border-color:var(--auth-blue);box-shadow:0 0 0 4px rgba(8,104,232,.10);}
  body.gmc-recovery-entry #screen-email .email-minimal-action{display:block!important;margin:2px 0 0;padding:0;}body.gmc-recovery-entry #screen-email .email-minimal-action .btn{width:100%;height:54px;min-height:54px;border:0;border-radius:11px;background:linear-gradient(100deg,#096ff1 0%,#0748a8 100%);color:#fff;display:flex!important;align-items:center;justify-content:center;gap:12px;box-shadow:0 9px 18px rgba(8,73,169,.17);padding:0 20px;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;}body.gmc-recovery-entry #screen-email .email-minimal-action .btn strong{font:780 16px/1 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;}
  body.gmc-recovery-entry #screen-email .candidate-auth-switch-wrap{display:flex!important;justify-content:flex-start;margin:0;padding:0;min-height:30px;align-items:center;}body.gmc-recovery-entry #screen-email .candidate-auth-switch{border:0;background:transparent;color:var(--auth-blue);font:760 14px/1.3 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;padding:3px 0;text-decoration:none;}body.gmc-recovery-entry #screen-email .candidate-auth-switch:before{content:"←";margin-right:10px;font-size:18px;vertical-align:-1px;}body.gmc-recovery-entry #screen-email .candidate-auth-switch:hover{text-decoration:underline;text-underline-offset:4px;}
  body.gmc-recovery-entry #screen-email .registration-login-eligibility{box-sizing:border-box;display:grid!important;grid-template-columns:42px minmax(0,1fr) 164px;gap:12px;align-items:center;margin:0;padding:12px;border:1px solid #ffc987;border-radius:12px;background:#fff8ee;overflow:hidden;box-shadow:none;}body.gmc-recovery-entry #screen-email .registration-login-eligibility-icon{width:40px;height:40px;border-radius:10px;background:var(--auth-orange);color:#fff;display:grid!important;place-items:center;font-size:20px;font-weight:900;}body.gmc-recovery-entry #screen-email .registration-login-eligibility strong{font-size:13px;line-height:1.3;color:#a04b00;}body.gmc-recovery-entry #screen-email .registration-login-eligibility p{display:none!important;}body.gmc-recovery-entry #screen-email .registration-login-eligibility :is(button,.registration-start-link){grid-column:3;width:164px;height:44px;min-height:44px;padding:0 12px;border:1px solid #cbd7e7;border-radius:10px;background:#fff;color:#172640;font:760 12px/1 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;display:flex!important;align-items:center;justify-content:center;text-decoration:none;white-space:nowrap;}

  @media (hover:hover) and (pointer:fine){
    body.portal-auth-page .portal-auth-card:hover,body.gmc-recovery-entry #screen-email .email-minimal-card:hover,body.gmc-recovery-entry #screen-email .gmc-recovery-card:hover{transform:translate3d(0,-4px,0);box-shadow:0 22px 48px rgba(17,53,99,.14);border-color:#c5d7ec;}
    html[data-theme="dark"] body.portal-auth-page .portal-auth-card:hover,html[data-theme="dark"] body.gmc-recovery-entry #screen-email .email-minimal-card:hover,html[data-theme="dark"] body.gmc-recovery-entry #screen-email .gmc-recovery-card:hover{box-shadow:0 24px 54px rgba(0,0,0,.34);border-color:#3e5e85;}
    body.gmc-recovery-entry #screen-email .email-minimal-action .btn:hover{transform:translateY(-2px);filter:brightness(1.04);box-shadow:0 14px 28px rgba(8,73,169,.25);}
    body.gmc-recovery-entry #screen-email .registration-login-eligibility :is(button,.registration-start-link){transition:transform .17s ease,box-shadow .17s ease,border-color .17s ease;}body.gmc-recovery-entry #screen-email .registration-login-eligibility :is(button,.registration-start-link):hover{transform:translateY(-1px);border-color:#91b9eb;box-shadow:0 8px 18px rgba(16,61,117,.08);}
  }
  @media (prefers-reduced-motion:reduce){body.portal-auth-page .portal-auth-card,body.gmc-recovery-entry #screen-email .email-minimal-card,body.gmc-recovery-entry #screen-email .gmc-recovery-card,.auth-premium-theme,.auth-premium-language>button{transition:none;transform:none;}}
  @media (max-height:720px){body.portal-auth-page,body.gmc-recovery-entry .app{grid-template-rows:62px minmax(0,1fr) 32px;}body.portal-auth-page .portal-auth-header,body.gmc-recovery-entry .app-header.auth-premium-header{height:62px;min-height:62px;}.auth-premium-brand img{width:118px;height:34px;}body.portal-auth-page .portal-auth-footer,body.gmc-recovery-entry .app-brand-footer.auth-premium-footer{height:32px;min-height:32px;}body.portal-auth-page .portal-auth-main,body.gmc-recovery-entry main.main{padding:15px 22px;}body.portal-auth-page .portal-auth-card__grid{padding:24px 30px 22px;}body.portal-auth-page .portal-auth-primary h1{font-size:32px;}body.gmc-recovery-entry #screen-email .email-minimal-card,body.gmc-recovery-entry #screen-email .gmc-recovery-card{padding:26px 32px;row-gap:10px;}body.gmc-recovery-entry #screen-email .email-minimal-head h2:after{font-size:36px;}body.gmc-recovery-entry #screen-email .email-minimal-fields input{height:48px;min-height:48px;}body.gmc-recovery-entry #screen-email .email-minimal-action .btn{height:49px;min-height:49px;}}
}



/* R3.5.158 — legacy coarse-pointer secure-stage tablet rules removed.
   Tablet Memorization + Recall are now owned only by tablet-secure-hard-reset.css. */

/* R3.5.131 — Student Portal live seat availability, aligned to Public Booking authority. */
.portal-slot-card{min-height:0;padding:16px;border-color:#d9e3ef;border-radius:11px;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:0 10px 26px rgba(12,40,80,.055);}
.portal-slot-heading{display:grid;gap:3px;width:100%;margin-bottom:11px;}
.portal-slot-heading>span{color:#0b5d9c;font-size:11px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;}
.portal-slot-heading>small{color:#64758d;font-size:11px;font-weight:750;}
.portal-slot-heading h3{margin:3px 0 0;color:var(--navy-900);font-size:20px;line-height:1.14;letter-spacing:-.015em;}
.portal-slot-live-seat{display:grid;gap:9px;width:100%;margin:0 0 10px;padding:12px 13px;border:1px solid rgba(67,126,181,.28);border-radius:9px;background:linear-gradient(135deg,#0b315d,#0f477e);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.07);}
.portal-slot-live-kicker{display:flex;align-items:center;gap:6px;color:#ffd36d;font-size:9px;font-weight:900;letter-spacing:.07em;}
.portal-slot-live-kicker i{width:7px;height:7px;border-radius:50%;background:#ff7f32;box-shadow:0 0 0 4px rgba(255,127,50,.12);}
.portal-slot-live-numbers{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;}
.portal-slot-live-numbers>div{display:grid;gap:2px;}
.portal-slot-live-numbers>div:last-child{text-align:right;}
.portal-slot-live-numbers small{color:#c9daed;font-size:9px;font-weight:850;letter-spacing:.04em;}
.portal-slot-live-numbers strong{color:#fff;font-size:29px;line-height:1;font-weight:950;letter-spacing:-.04em;}
.portal-slot-live-numbers strong em{color:#d9e7f6;font-size:14px;font-style:normal;font-weight:850;letter-spacing:0;}
.portal-slot-live-numbers>div:last-child strong{font-size:23px;}
.portal-slot-live-progress{display:block;width:100%;height:6px;border:0;border-radius:999px;background:rgba(255,255,255,.18);appearance:none;-webkit-appearance:none;overflow:hidden;}.portal-slot-live-progress::-webkit-progress-bar{background:rgba(255,255,255,.18);border-radius:999px;}.portal-slot-live-progress::-webkit-progress-value{background:linear-gradient(90deg,#ffd15c,#ff7f32);border-radius:999px;}.portal-slot-live-progress::-moz-progress-bar{background:linear-gradient(90deg,#ffd15c,#ff7f32);border-radius:999px;}
.portal-slot-live-foot{color:#dbe9f7;font-size:9px;font-weight:800;}
.portal-slot-live-seat.is-unavailable{align-content:start;min-height:112px;background:linear-gradient(135deg,#34465e,#42546d);}
.portal-slot-live-seat.is-unavailable>strong{font-size:15px;}.portal-slot-live-seat.is-unavailable>small{color:#dce5ef;font-size:10px;line-height:1.45;}
.portal-slot-note{flex:none!important;width:100%;margin:0 0 11px!important;color:#6b7d94!important;font-size:10px!important;line-height:1.45!important;}
.portal-slot-card .portal-primary,.portal-slot-card .portal-secondary{width:100%;margin-top:auto;text-align:center;justify-content:center;}
.portal-slot-card button:disabled{cursor:not-allowed;opacity:.58;box-shadow:none;}
.portal-slot-card.is-full{border-color:#e4c7c7;background:#fffafa;}.portal-slot-card.is-full .portal-slot-live-seat{background:linear-gradient(135deg,#4e2630,#713846);border-color:rgba(255,255,255,.12);}
.portal-choice-card-slots .portal-intro-slot-grid{align-items:stretch;}

/* R3.5.148 — DESKTOP HOME ACTION CARDS + SINGLE AUTO-ROTATING LIVE STATUS ROOT FIX.
   DESKTOP ONLY (min-width:901px). Mobile CSS is intentionally untouched.
   Uses the existing R3.5.146/147 live-status markup and JS state; no roster,
   registration, Selection Test, live-count endpoint or business-logic changes. */
@media (min-width:901px){
  body.welcome-gate .public-actions{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
    width:min(100%,570px);margin-top:24px;
  }
  body.welcome-gate .public-start,
  body.welcome-gate .public-registration-home{
    grid-column:auto;grid-row:auto;min-width:0;min-height:52px;border-radius:14px;
    padding:0 18px;display:inline-flex;align-items:center;justify-content:center;gap:9px;
    background:#fff;color:#0a2b5d;border:1px solid #e6ba83;
    box-shadow:0 10px 24px rgba(7,25,57,.07);font-size:13px;font-weight:850;
    transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
  }
  body.welcome-gate .public-start .public-action-icon{color:#ed6f08;}
  body.welcome-gate .public-start:hover,
  body.welcome-gate .public-start:focus-visible,
  body.welcome-gate .public-registration-home:hover,
  body.welcome-gate .public-registration-home:focus-visible{
    transform:translateY(-1px);border-color:#dc9449;background:#fffdfa;
    box-shadow:0 12px 28px rgba(7,25,57,.09);outline:none;
  }

  /* One desktop card at a time, matching the mobile carousel interaction model. */
  body.welcome-gate .public-live-status{
    width:min(100%,570px);margin-top:13px;padding:0 0 11px;
    border:0;border-radius:0;background:transparent;box-shadow:none;
    color:#fff;overflow:visible;
  }
  body.welcome-gate .public-live-status-track{
    position:relative;width:100%;height:68px;min-height:68px;display:block;
    perspective:900px;transform:none;
  }
  body.welcome-gate .public-live-status-card{
    position:absolute;inset:0;display:grid;grid-template-columns:96px 66px minmax(0,1fr);
    align-items:center;gap:14px;width:100%;height:68px;min-height:68px;margin:0;padding:9px 16px;
    border:1px solid rgba(255,255,255,.34);border-radius:14px;
    background:linear-gradient(135deg,#ff6f0a 0%,#f25300 100%);color:#fff;text-align:left;
    box-shadow:none;overflow:hidden;
    opacity:0;visibility:hidden;pointer-events:none;
    transform:translateX(24px) rotateY(-4deg) scale(.985);
    transition:opacity .36s ease,transform .42s cubic-bezier(.2,.75,.2,1),visibility .36s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease;
    backface-visibility:hidden;
  }
  body.welcome-gate .public-live-status-card.is-active{
    opacity:1;visibility:visible;pointer-events:auto;transform:translateX(0) rotateY(0) scale(1);
  }
  body.welcome-gate .public-live-status-card.is-active:hover,
  body.welcome-gate .public-live-status-card.is-active:focus-visible{
    background:linear-gradient(135deg,#ff7714 0%,#f65a03 100%);border-color:rgba(255,255,255,.52);
    box-shadow:none;outline:none;
  }
  body.welcome-gate .public-live-status-pill{
    width:96px;height:42px;border-radius:11px;background:#fff;color:#c95a00;
    display:flex;align-items:center;justify-content:center;white-space:nowrap;
    box-shadow:inset 0 0 0 1px rgba(121,55,0,.08),0 2px 7px rgba(111,47,0,.09);
  }
  body.welcome-gate .public-live-status-pill b{
    display:block;font:900 10px/1 Montserrat,Manrope,sans-serif;letter-spacing:.04em;
    white-space:nowrap;color:#c85700;
  }
  body.welcome-gate .public-live-status-count{
    min-width:0;font:900 34px/1 Montserrat,Manrope,sans-serif;color:#fff7dc;
    letter-spacing:-.045em;text-align:center;text-shadow:0 1px 0 rgba(112,44,0,.14);
  }
  body.welcome-gate .public-live-status-label{
    min-width:0;display:grid;align-content:center;gap:4px;line-height:1.08;padding:0;
  }
  body.welcome-gate .public-live-status-label small{
    display:block;color:#fff;font-size:14px;font-weight:900;line-height:1.08;white-space:nowrap;
    overflow:visible;text-overflow:clip;
  }
  body.welcome-gate .public-live-status-label em{
    display:block;color:rgba(255,255,255,.92);font-style:normal;font-size:10.5px;font-weight:760;
    line-height:1.08;white-space:nowrap;overflow:visible;text-overflow:clip;
  }
  body.welcome-gate .public-live-status-dots{
    position:absolute;left:50%;bottom:0;transform:translateX(-50%);
    display:flex;align-items:center;justify-content:center;gap:6px;height:7px;
  }
  body.welcome-gate .public-live-status-dots i{
    width:6px;height:6px;border-radius:999px;background:rgba(242,83,0,.24);transition:.2s ease;
  }
  body.welcome-gate .public-live-status-dots i.is-active{width:22px;background:#f25300;}

  /* Desktop brain carousel remains automatic/swipe-capable; hide only the visual control pill. */
  body.welcome-gate .public-brain-dots{display:none;}

  body.welcome-gate .public-partners{grid-template-columns:repeat(3,minmax(0,1fr));}
  body.welcome-gate .public-partner:last-child{border-right:0;}
  .public-registered-hero-icon{color:#f47b24!important;background:#fff4e9!important;border-color:#f0c08e!important;}
  .public-registered-hero-art svg{filter:drop-shadow(0 18px 24px rgba(244,123,36,.12));}
  .registered-total-card{border-color:#f0d2b4!important;background:linear-gradient(145deg,#fffaf4,#fff6eb)!important;}
  .registered-status-badge{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:27px;padding:0 9px;border-radius:999px;background:#e8f8f1;border:1px solid #b9e5d1;color:#08764e;font-size:10px;font-weight:850;white-space:nowrap;}
}
html[data-theme="dark"] body.welcome-gate .public-live-status{
  background:transparent;border-color:transparent;box-shadow:none;
}
html[data-theme="dark"] body.welcome-gate .public-live-status-card,
html[data-theme="dark"] body.welcome-gate .public-live-status-card.is-active{
  background:linear-gradient(135deg,#ff6f0a 0%,#f25300 100%);border-color:rgba(255,255,255,.34);box-shadow:none;
}
html[data-theme="dark"] body.welcome-gate .public-start,
html[data-theme="dark"] body.welcome-gate .public-registration-home{
  background:#102c50;color:#f4f8ff;border-color:#725b3c;
}
html[data-theme="dark"] body.welcome-gate .public-start .public-action-icon{color:#ff9a45;}
html[data-theme="dark"] .registered-total-card{background:#102a4d!important;border-color:#684c31!important;}

