:root{--navy:#06365a;--navy2:#042a46;--blue:#0a5d91;--yellow:#ffd200;--green:#23965f;--red:#d84949;--bg:#f4f8fb;--text:#153b57;--muted:#62798a;--line:#dbe5ec;--white:#fff;--shadow:0 18px 48px rgba(3,42,70,.10);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg)}*{box-sizing:border-box}html,body{margin:0;min-width:320px;background:var(--bg);color:var(--text)}body{font-size:16px}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit}.site-header{height:78px;background:rgba(255,255,255,.98);border-bottom:1px solid var(--line);box-shadow:0 4px 22px rgba(3,42,70,.07);display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:22px;padding:0 clamp(20px,3vw,42px);position:sticky;top:0;z-index:80}.brand img{display:block;width:184px;height:auto}.desktop-nav{justify-self:center;display:flex;gap:3px;padding:4px;border:1px solid #e2eaef;border-radius:13px;background:#f3f7f9}.desktop-nav button{height:37px;border:0;border-radius:9px;background:transparent;color:#35566e;font-size:12px;font-weight:800;padding:0 13px}.desktop-nav button.active,.desktop-nav button:hover{background:white;color:var(--navy);box-shadow:0 3px 10px rgba(3,42,70,.08)}.header-actions{display:flex;align-items:center;gap:8px}.header-actions button,.free-status{height:40px;border-radius:10px;display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:11px;font-weight:850}.free-status{height:auto;padding:8px 10px;border:1px solid #f1dc73;background:#fff7c9;color:#6e5c00}.header-actions button{border:1px solid #d8e4eb;background:#fff;color:var(--navy);padding:0 11px}.header-actions .login-btn{background:var(--navy);border-color:var(--navy);color:#fff}.header-actions .login-btn:hover{background:var(--blue)}.login-icon{width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:white;color:#4285f4;font-weight:950}.mobile-actions{display:none}.app-content{max-width:1480px;margin:0 auto;padding:34px clamp(18px,3.4vw,52px) 82px}.sales-hero{display:grid;grid-template-columns:minmax(430px,.9fr) minmax(600px,1.1fr);gap:clamp(28px,4vw,64px);align-items:center;min-height:610px}.sales-copy{padding:24px 0}.eyebrow-pill{width:max-content;max-width:100%;padding:8px 11px;border-radius:999px;border:1px solid #cfe4f0;background:#eaf5fb;color:#1b5f89;font-size:11px;font-weight:850}.sales-copy h1{max-width:700px;margin:18px 0 16px;color:var(--navy);font-size:clamp(42px,5vw,72px);line-height:.98;letter-spacing:-.052em;font-weight:950}.sales-copy h1 span{position:relative;z-index:1}.sales-copy h1 span:after{content:"";position:absolute;left:0;right:0;bottom:2px;height:10px;background:var(--yellow);border-radius:7px;z-index:-1}.lead{max-width:660px;margin:0;color:#49677b;font-size:17px;line-height:1.62}.proof{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.proof span{padding:7px 9px;border:1px solid #dce6ec;border-radius:8px;background:#fff;color:#36566d;font-size:11px;font-weight:760}.mega-test{width:min(100%,620px);min-height:74px;margin-top:22px;border:0;border-radius:15px;background:linear-gradient(180deg,#ffdc3d,var(--yellow));color:var(--navy);box-shadow:0 17px 36px rgba(228,183,0,.27);padding:10px 17px;display:grid;grid-template-columns:42px 1fr 22px;align-items:center;gap:12px;text-align:left;transition:.18s}.mega-test:hover{transform:translateY(-2px);box-shadow:0 22px 42px rgba(228,183,0,.34)}.mega-test .play{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--navy);color:#fff;font-size:14px}.mega-test>span:nth-child(2){display:flex;flex-direction:column}.mega-test strong{font-size:17px;font-weight:950;letter-spacing:.01em}.mega-test small{margin-top:3px;color:#5b5109;font-size:11px;font-weight:700}.mega-test>b{font-size:26px}.secondary-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:11px}.secondary-actions button{min-height:44px;border:1px solid #d6e2e9;border-radius:10px;background:#fff;color:var(--navy);padding:0 14px;font-size:11px;font-weight:830}.google-hero{display:flex;align-items:center;gap:8px}.google-hero span{width:24px;height:24px;border:1px solid #dce3e8;border-radius:50%;display:grid;place-items:center;color:#4285f4;font-weight:950}.permit-picker{margin-top:24px}.permit-picker>small{display:block;margin-bottom:8px;color:#657c8d;font-size:10px;font-weight:850;letter-spacing:.09em;text-transform:uppercase}.permit-picker>div{display:flex;gap:7px;flex-wrap:wrap}.permit-picker button{min-width:76px;padding:8px 10px;border:1px solid #dbe5eb;border-radius:10px;background:#fff;color:var(--navy);display:flex;flex-direction:column;align-items:flex-start}.permit-picker button.active{background:var(--navy);border-color:var(--navy);color:#fff}.permit-picker b{font-size:12px}.permit-picker span{margin-top:2px;font-size:9px;opacity:.72}.disclaimer{max-width:610px;color:#748592;font-size:10px;line-height:1.5;margin:17px 0 0}.sales-preview{position:relative;padding:24px;border-radius:24px;background:linear-gradient(145deg,var(--navy),#0b507c);box-shadow:0 30px 70px rgba(3,42,70,.23);overflow:hidden}.sales-preview:before{content:"";position:absolute;width:290px;height:290px;border-radius:50%;right:-100px;top:-110px;border:58px solid rgba(255,210,0,.08)}.preview-label{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:center;margin:0 4px 14px;color:#c3d7e4;font-size:9px;font-weight:850;letter-spacing:.1em}.preview-label b{display:flex;align-items:center;gap:6px;color:#fff;letter-spacing:0}.preview-label i{width:8px;height:8px;border-radius:50%;background:#35d07f;box-shadow:0 0 0 4px rgba(53,208,127,.13)}.exam-preview-card{position:relative;z-index:2;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 18px 50px rgba(1,23,39,.25)}.exam-preview-card>header{height:62px;padding:0 16px;border-bottom:1px solid #e1e8ed;display:flex;justify-content:space-between;align-items:center}.exam-preview-card>header>div{display:flex;align-items:center;gap:9px}.mini-logo{width:34px;height:34px;border-radius:10px;background:var(--navy);color:var(--yellow);display:grid;place-items:center;font-size:10px;font-weight:950}.exam-preview-card header p{display:flex;flex-direction:column;margin:0}.exam-preview-card header strong{font-size:10px;color:var(--navy)}.exam-preview-card header small{font-size:8px;color:#708392}.preview-body{padding:16px}.preview-question{display:grid;grid-template-columns:54px 1fr;gap:9px}.preview-question>span{font-size:31px;color:var(--blue);font-weight:900}.preview-question h2{margin:0;color:var(--navy);font-size:15px;line-height:1.35}.preview-answers{display:grid;gap:6px;margin:14px 0}.preview-answers>div{min-height:42px;border:1px solid #dce5eb;border-radius:9px;display:grid;grid-template-columns:32px 1fr;align-items:center;padding:5px 8px;gap:8px}.preview-answers>div.selected{background:#fff8d3;border-color:#e8ca2e}.preview-answers b{width:28px;height:28px;border-radius:50%;background:#eef4f8;color:var(--navy);display:grid;place-items:center;font-size:9px}.preview-answers .selected b{background:var(--yellow)}.preview-answers span{font-size:9px;color:#405f74}.preview-body img{width:100%;height:180px;object-fit:cover;border-radius:10px}.exam-preview-card>footer{min-height:56px;padding:10px 14px;border-top:1px solid #e1e8ed;display:flex;align-items:center;justify-content:space-between;gap:10px}.exam-preview-card footer span{font-size:8px;color:#758794;word-spacing:5px}.exam-preview-card footer span b{color:var(--navy);background:var(--yellow);border-radius:5px;padding:3px}.exam-preview-card footer button{height:34px;border:0;border-radius:8px;background:var(--yellow);color:var(--navy);font-size:9px;font-weight:900;padding:0 12px}.benefit-ribbon{margin-top:38px;display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(3,42,70,.06);overflow:hidden}.benefit-ribbon article{min-height:112px;padding:20px;display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:center;border-right:1px solid var(--line)}.benefit-ribbon article:last-child{border-right:0}.benefit-ribbon i{width:44px;height:44px;border-radius:13px;background:#edf6fb;color:var(--blue);font-style:normal;display:grid;place-items:center;font-size:19px}.benefit-ribbon article>div{display:flex;flex-direction:column}.benefit-ribbon strong{font-size:16px;color:var(--navy)}.benefit-ribbon small{margin-top:3px;color:#667d8e;font-size:10px}.training-section{margin-top:54px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}.section-heading small,.seo-section>small,.page-title small{color:#5f7a8d;font-size:10px;font-weight:850;letter-spacing:.13em}.section-heading h2,.seo-section h2{max-width:780px;margin:4px 0 0;color:var(--navy);font-size:clamp(28px,3.2vw,44px);line-height:1.08;letter-spacing:-.035em}.section-heading>button{border:0;background:transparent;color:var(--blue);font-size:11px;font-weight:850}.training-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.training-grid>button{min-height:225px;border:1px solid var(--line);border-radius:18px;background:#fff;color:var(--navy);padding:20px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;box-shadow:0 7px 24px rgba(3,42,70,.045);transition:.18s}.training-grid>button:hover{transform:translateY(-3px);border-color:#9fc0d4;box-shadow:0 15px 32px rgba(3,42,70,.09)}.training-grid i{width:48px;height:48px;border-radius:14px;background:#edf6fb;color:var(--blue);font-style:normal;display:grid;place-items:center;font-size:20px}.training-grid i.yellow{background:var(--yellow);color:var(--navy)}.training-grid strong{margin-top:26px;font-size:17px}.training-grid small{margin-top:6px;color:#657c8d;font-size:11px}.training-grid b{margin-top:auto;padding-top:20px;color:var(--blue);font-size:10px}.seo-section{margin-top:48px;padding:30px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(3,42,70,.05)}.seo-section h2{font-size:clamp(26px,3vw,40px)}.seo-section p{max-width:1000px;color:#49677b;font-size:14px;line-height:1.75}.seo-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.seo-links a{min-height:36px;display:inline-flex;align-items:center;padding:0 12px;border:1px solid #dce5eb;border-radius:999px;background:#f7fafc;color:var(--blue);font-size:11px;font-weight:830;text-decoration:none}.seo-section em{display:block;margin-top:16px;color:#778a98;font-size:10px;font-style:normal}.mobile-test-cta{display:none}.mobile-menu,.mobile-menu-backdrop{display:none}
/* inner pages */.inner-page{max-width:1240px;margin:0 auto;padding:20px 0 40px}.page-title{margin-bottom:22px}.page-title h1{margin:5px 0 8px;color:var(--navy);font-size:clamp(34px,4vw,52px);letter-spacing:-.04em}.page-title p{max-width:780px;margin:0;color:#5b7487;font-size:14px;line-height:1.65}.permit-bar{display:flex;align-items:center;gap:7px;overflow:auto;padding:9px;border:1px solid var(--line);border-radius:14px;background:#fff}.permit-bar span{padding:0 6px;color:#6a8293;font-size:10px;font-weight:850;text-transform:uppercase}.permit-bar button{height:36px;min-width:42px;border:1px solid #d9e4eb;border-radius:9px;background:#f8fbfd;color:var(--navy);font-size:10px;font-weight:850}.permit-bar button.active{background:var(--yellow);border-color:var(--yellow)}.mode-grid,.topic-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:18px}.mode-card,.topic-card,.panel{border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 7px 24px rgba(3,42,70,.045)}.mode-card,.topic-card{padding:22px}.mode-card i,.topic-card i{width:48px;height:48px;border-radius:14px;background:#edf6fb;color:var(--blue);display:grid;place-items:center;font-style:normal;font-size:19px}.mode-card h3,.topic-card h3{margin:24px 0 7px;color:var(--navy);font-size:17px}.mode-card p,.topic-card p{min-height:54px;margin:0;color:#62798a;font-size:12px;line-height:1.55}.mode-card small,.topic-card small{display:block;margin-top:9px;color:#6b8191;font-size:9px}.mode-card button,.topic-card button{width:100%;height:42px;margin-top:16px;border:1px solid #d6e3ea;border-radius:9px;background:#fff;color:var(--blue);font-size:10px;font-weight:900}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.metric{padding:20px}.metric strong{display:block;color:var(--navy);font-size:30px}.metric span{display:block;margin-top:4px;font-size:11px;font-weight:850}.metric small{display:block;margin-top:5px;color:#708493;font-size:9px}.progress-panel{margin-top:15px;padding:22px}.progress-panel h3{margin:0 0 8px;color:var(--navy)}.progress-bar{height:12px;border-radius:999px;background:#e6edf1;overflow:hidden}.progress-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--blue),#3ba8ca);border-radius:999px}.premium-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:820px}.price-card{padding:28px;position:relative}.price-card.featured{border:2px solid var(--yellow)}.price-card .tag{position:absolute;right:18px;top:18px;background:var(--yellow);border-radius:999px;padding:6px 9px;color:var(--navy);font-size:9px;font-weight:900}.price-card h3{margin:0;color:var(--navy)}.price{margin:20px 0}.price strong{font-size:48px;letter-spacing:-.05em;color:var(--navy)}.price span{color:#718594}.price-card ul{padding-left:18px;color:#506b7e;font-size:12px;line-height:1.9}.price-card button{width:100%;height:46px;border:0;border-radius:10px;background:var(--navy);color:#fff;font-weight:900}.price-card.featured button{background:var(--yellow);color:var(--navy)}
/* Admin */.admin-warning{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid #efd996;border-radius:14px;background:#fff5d8;color:#775d00;margin-bottom:14px}.admin-warning b{display:block;font-size:12px}.admin-warning span{display:block;font-size:10px;margin-top:2px}.free-panel{padding:20px;display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:14px}.free-panel>i{width:52px;height:52px;border-radius:14px;background:#fff4b6;color:var(--navy);font-style:normal;display:grid;place-items:center;font-size:22px}.free-panel h3{margin:2px 0 4px;color:var(--navy)}.free-panel p{margin:0;color:#60788a;font-size:11px}.toggle{width:56px;height:31px;border:0;border-radius:999px;background:#cfdbe2;padding:3px;transition:.2s}.toggle i{display:block;width:25px;height:25px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.2);transition:.2s}.toggle.on{background:var(--green)}.toggle.on i{transform:translateX(25px)}.import-panel{margin-top:14px;padding:24px}.import-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.import-heading h2{margin:2px 0 7px;color:var(--navy);font-size:27px}.import-heading p{max-width:760px;margin:0;color:#5e7587;font-size:12px;line-height:1.6}.import-count{min-width:116px;padding:12px;border:1px solid #dce6ec;border-radius:13px;background:#f7fbfd;text-align:center}.import-count strong{display:block;color:var(--navy);font-size:22px}.import-count small{font-size:9px;color:#708493}.dropzone{margin-top:18px;min-height:126px;border:2px dashed #b7d0df;border-radius:16px;background:#f7fbfd;padding:18px;display:grid;grid-template-columns:56px 1fr auto;align-items:center;gap:14px}.dropzone>i{width:56px;height:56px;border-radius:14px;background:#e6f2f8;color:var(--blue);display:grid;place-items:center;font-style:normal;font-size:25px}.dropzone b{display:block;color:var(--navy);font-size:15px}.dropzone span{display:block;margin-top:4px;color:#6c8191;font-size:10px}.file-label{height:44px;border-radius:10px;background:var(--yellow);color:var(--navy);display:flex;align-items:center;padding:0 16px;font-size:10px;font-weight:900}.file-label input{display:none}.import-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.import-actions button{height:38px;border:1px solid #d8e4eb;border-radius:9px;background:#fff;color:var(--navy);font-size:9px;font-weight:850;padding:0 11px}.import-actions .danger{color:#ad3e3e;margin-left:auto}.schema-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}.schema-grid article{padding:13px;border:1px solid #e0e8ed;border-radius:12px;background:#fff}.schema-grid b{display:block;color:var(--navy);font-size:10px}.schema-grid span{display:block;margin-top:4px;color:#6d8292;font-size:9px;line-height:1.55}.schema-grid code{background:#edf4f8;border-radius:4px;padding:1px 4px;color:#285f83}.admin-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:14px;margin-top:14px}.google-panel,.status-panel{padding:22px}.google-panel h3,.status-panel h3{margin:3px 0 7px;color:var(--navy)}.google-panel p,.status-panel p{color:#5e7587;font-size:10px;line-height:1.55}.google-panel label{display:block;margin-top:14px;color:#536e82;font-size:9px;font-weight:850}.google-panel input{width:100%;height:43px;margin-top:6px;border:1px solid #d5e2e9;border-radius:10px;padding:0 11px;color:var(--navy)}.google-panel button{height:42px;margin-top:10px;border:0;border-radius:9px;background:var(--navy);color:white;font-size:10px;font-weight:900;padding:0 14px}.status-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.status-list div{padding:12px;border:1px solid #e0e8ed;border-radius:10px;background:#f8fbfd}.status-list small{display:block;color:#718493;font-size:8px}.status-list strong{display:block;margin-top:3px;color:var(--navy);font-size:14px}
/* Exam focus */.exam-screen{min-height:100dvh;background:#f3f7fa}.exam-top{height:78px;background:var(--navy);color:#fff;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 22px;box-shadow:0 6px 24px rgba(3,42,70,.18);position:sticky;top:0;z-index:40}.exam-brand{display:flex;align-items:center;gap:10px}.exam-brand>a{background:#fff;border-radius:10px;padding:3px 6px}.exam-brand img{width:150px;display:block}.exit-btn{height:38px;border:1px solid rgba(255,255,255,.18);border-radius:9px;background:rgba(255,255,255,.08);color:#fff;font-size:10px;font-weight:850;padding:0 10px}.exam-mode{text-align:center}.exam-mode small{display:block;color:var(--yellow);font-size:9px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.exam-mode strong{display:block;margin-top:3px;font-size:14px}.exam-tools{justify-self:end;display:flex;align-items:center;gap:8px}.timer{padding:7px 11px;border-radius:10px;background:#fff;color:var(--navy);display:flex;flex-direction:column}.timer small{font-size:7px;color:#6a8191}.timer strong{font-size:15px;font-variant-numeric:tabular-nums}.pause-btn{width:40px;height:40px;border:0;border-radius:10px;background:var(--yellow);color:var(--navy);font-weight:950}.exam-progress-line{height:5px;background:#d8e3e9}.exam-progress-line i{display:block;height:100%;background:var(--yellow)}.exam-main{max-width:1100px;margin:0 auto;padding:28px 18px 52px}.exam-meta{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px;color:#647b8c;font-size:10px}.question-card{padding:0 24px 24px;border:1px solid #dce6ec;border-radius:16px;background:#fff;box-shadow:0 16px 44px rgba(3,42,70,.08);overflow:hidden}.concept{margin:0 -24px;padding:13px 24px;border-bottom:1px solid #dce6ec;background:#f1f7fa;display:flex;justify-content:space-between;align-items:center}.concept b{color:var(--navy);font-size:11px}.concept button{border:0;background:transparent;color:var(--blue);font-size:10px;font-weight:850}.question-title{display:grid;grid-template-columns:66px 1fr;gap:12px;margin:26px 0 20px}.question-title>span{color:var(--blue);font-size:40px;font-weight:900}.question-title h1{margin:0;color:var(--navy);font-size:clamp(22px,2.3vw,31px);line-height:1.3}.answer-list{display:grid;gap:10px}.answer{min-height:68px;border:1px solid #d8e4eb;border-radius:12px;background:#fff;color:#254a64;padding:10px 12px;display:grid;grid-template-columns:40px 1fr 24px;align-items:center;gap:10px;text-align:left}.answer:hover{border-color:#90b9d0;background:#fafdff}.answer.selected{background:#fff9d7;border-color:#e9ce3e;box-shadow:0 0 0 2px rgba(255,210,0,.18)}.answer>b{width:38px;height:38px;border:1px solid #cfdfe8;border-radius:50%;background:#edf4f8;color:var(--navy);display:grid;place-items:center}.answer.selected>b{background:var(--yellow);border-color:var(--yellow)}.answer span{font-size:14px;line-height:1.45}.answer em{font-style:normal;color:var(--green);font-weight:950}.question-image{margin:18px 0 0;border:1px solid #dae5eb;border-radius:13px;overflow:hidden;background:#f4f8fa}.question-image img{display:block;width:100%;max-height:470px;aspect-ratio:16/9;object-fit:cover}.question-image figcaption{padding:7px 10px;color:#758794;font-size:8px;background:#fff}.question-source{margin-top:10px;color:#6a8192;font-size:9px}.exam-actions{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;margin-top:14px}.exam-actions button{min-height:44px;border:1px solid #d6e3ea;border-radius:10px;background:#fff;color:var(--navy);padding:0 15px;font-size:10px;font-weight:900}.exam-actions .next,.exam-actions .finish{background:var(--yellow);border-color:var(--yellow)}.exam-actions .flag{justify-self:center;border:0;background:transparent;color:var(--blue)}.palette{margin-top:15px;padding:15px;border:1px solid #dce6ec;border-radius:14px;background:#fff}.palette-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px}.palette-head b{font-size:11px;color:var(--navy)}.palette-head span{font-size:9px;color:#6c8292}.palette-grid{display:grid;grid-template-columns:repeat(15,1fr);gap:5px}.palette-grid button{height:34px;border:1px solid #d9e3e9;border-radius:7px;background:#f8fbfd;color:#5f7789;font-size:9px;font-weight:850}.palette-grid button.answered{background:#eaf7f0;border-color:#b9dfca;color:#1d764a}.palette-grid button.flagged{box-shadow:inset 0 -3px 0 #e9b52b}.palette-grid button.current{background:var(--yellow);border-color:var(--yellow);color:var(--navy)}.pause-overlay{position:fixed;inset:0;z-index:100;background:rgba(3,32,53,.82);backdrop-filter:blur(8px);display:grid;place-items:center}.pause-card{width:min(430px,calc(100% - 28px));padding:28px;border-radius:18px;background:#fff;text-align:center}.pause-card h2{color:var(--navy)}.pause-card p{color:#607789;font-size:12px}.pause-card button{height:44px;border:0;border-radius:10px;background:var(--yellow);color:var(--navy);padding:0 18px;font-weight:900}.result-screen{min-height:100dvh;background:#f3f7fa}.result-top{height:70px;background:var(--navy);display:flex;align-items:center;justify-content:space-between;padding:0 22px;color:#fff}.result-top img{width:150px;background:#fff;border-radius:10px;padding:3px}.result-hero{max-width:850px;margin:40px auto 0;padding:42px;border-radius:22px;background:#fff;border:1px solid var(--line);text-align:center;box-shadow:var(--shadow)}.result-seal{width:76px;height:76px;margin:0 auto 10px;border-radius:50%;display:grid;place-items:center;font-size:36px}.result-hero.passed .result-seal{background:#e7f7ee;color:var(--green)}.result-hero.failed .result-seal{background:#fdecec;color:var(--red)}.result-hero h1{margin:4px 0;color:var(--navy);font-size:62px;letter-spacing:-.06em}.result-hero p{color:#607789}.result-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:28px}.result-stats div{padding:14px;border:1px solid var(--line);border-radius:12px}.result-stats strong{display:block;color:var(--navy);font-size:23px}.result-stats small{display:block;margin-top:3px;color:#728694;font-size:8px}.result-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:20px}.result-actions button{height:44px;border:1px solid #d5e2e9;border-radius:10px;background:#fff;color:var(--navy);padding:0 14px;font-size:10px;font-weight:900}.result-actions button.primary{background:var(--yellow);border-color:var(--yellow)}
/* Modal & toast */.modal-root:empty{display:none}.modal-root:not(:empty){position:fixed;inset:0;z-index:150;background:rgba(3,32,53,.68);backdrop-filter:blur(5px);display:grid;place-items:center;padding:16px}.modal{width:min(520px,100%);max-height:calc(100dvh - 32px);overflow:auto;border-radius:20px;background:#fff;padding:26px;box-shadow:0 30px 90px rgba(0,0,0,.3)}.modal-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.modal-head small{color:#5e788b;font-size:9px;font-weight:850;letter-spacing:.1em}.modal h2{margin:5px 0 7px;color:var(--navy);font-size:25px}.modal p{color:#607789;font-size:11px;line-height:1.55}.modal-close{width:36px;height:36px;border:1px solid #dce5eb;border-radius:9px;background:#f8fbfd;color:var(--navy);font-size:20px}.google-slot{min-height:50px;margin-top:16px;display:flex;justify-content:center;align-items:center}.google-fallback{width:100%;height:48px;border:1px solid #d8e2e8;border-radius:10px;background:#fff;color:var(--navy);display:flex;align-items:center;gap:10px;justify-content:center;font-size:11px;font-weight:850}.google-fallback b{color:#4285f4;font-size:18px}.or{display:flex;align-items:center;gap:8px;margin:13px 0;color:#8a999f;font-size:9px}.or:before,.or:after{content:"";height:1px;background:#e2e7ea;flex:1}.local-form{display:grid;gap:9px}.local-form label{display:flex;flex-direction:column;gap:5px;color:#516d82;font-size:9px;font-weight:850}.local-form input{height:42px;border:1px solid #d7e3e9;border-radius:9px;padding:0 10px;color:var(--navy)}.local-form button,.modal-primary{height:44px;border:0;border-radius:10px;background:var(--navy);color:#fff;font-size:10px;font-weight:900}.user-card{display:grid;grid-template-columns:54px 1fr;gap:12px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:14px;background:#f7fbfd;margin-top:15px}.user-card img,.user-avatar{width:54px;height:54px;border-radius:50%;object-fit:cover}.user-avatar{display:grid;place-items:center;background:#e5f2f9;color:var(--blue);font-weight:950}.user-card strong{display:block;color:var(--navy);font-size:13px}.user-card small{display:block;margin-top:3px;color:#6b8192;font-size:9px}.modal-secondary{width:100%;height:42px;margin-top:10px;border:1px solid #d7e3e9;border-radius:9px;background:#fff;color:var(--navy);font-size:10px;font-weight:850}.install-steps{display:grid;gap:10px;margin:15px 0}.install-steps div{padding:12px;border:1px solid var(--line);border-radius:11px;background:#f8fbfd;color:#4f6a7d;font-size:11px}.toast-root{position:fixed;top:90px;right:16px;z-index:220;display:grid;gap:8px}.toast{max-width:360px;padding:12px 14px;border-radius:11px;background:var(--navy);color:#fff;box-shadow:0 12px 30px rgba(3,42,70,.22);font-size:11px;animation:toastin .18s ease}.toast.success{background:#176a45}.toast.error{background:#a93636}@keyframes toastin{from{transform:translateY(-6px);opacity:0}to{transform:none;opacity:1}}
@media(max-width:1200px){.sales-hero{grid-template-columns:minmax(380px,.85fr) minmax(520px,1.15fr);gap:28px}.sales-copy h1{font-size:52px}.free-status{display:none}.header-actions .install-btn b{display:none}.training-grid{grid-template-columns:repeat(2,1fr)}.mode-grid,.topic-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.site-header{height:68px;padding:0 14px;grid-template-columns:1fr auto}.brand img{width:148px}.desktop-nav,.header-actions{display:none}.mobile-actions{display:flex;gap:7px}.icon-btn{width:38px;height:38px;border:1px solid #d5e2e9;border-radius:10px;background:#f5fafc;color:var(--navy);font-weight:900}.mobile-actions #mobile-login-btn{background:var(--navy);color:#fff}.mobile-menu{display:block;position:fixed;top:0;right:0;bottom:0;width:min(360px,88vw);background:#fff;z-index:130;padding:16px;transform:translateX(105%);transition:.2s;box-shadow:-20px 0 50px rgba(3,42,70,.2)}.mobile-menu.open{transform:none}.mobile-menu-backdrop{display:block;position:fixed;inset:0;background:rgba(3,32,53,.5);z-index:120;opacity:0;pointer-events:none;transition:.2s}.mobile-menu-backdrop.open{opacity:1;pointer-events:auto}.mobile-menu-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:13px;border-bottom:1px solid var(--line)}.mobile-menu-head img{width:168px}.mobile-menu-head button{width:38px;height:38px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--navy);font-size:24px}.mobile-menu nav{display:grid;gap:5px;margin-top:10px}.mobile-menu nav button{height:48px;border:0;border-radius:9px;background:#f7fafc;color:var(--navy);text-align:left;padding:0 14px;font-size:12px;font-weight:850}.menu-install{width:100%;height:46px;margin-top:12px;border:0;border-radius:10px;background:var(--yellow);color:var(--navy);font-size:11px;font-weight:900}.app-content{padding:22px 14px 86px}.sales-hero{grid-template-columns:1fr;min-height:0;gap:22px}.sales-copy{padding:6px 0}.sales-copy h1{font-size:clamp(40px,8.5vw,58px);max-width:760px}.lead{font-size:15px}.sales-preview{padding:17px;max-width:760px;width:100%;margin:0 auto}.benefit-ribbon{grid-template-columns:1fr 1fr}.benefit-ribbon article:nth-child(2){border-right:0}.benefit-ribbon article:nth-child(-n+2){border-bottom:1px solid var(--line)}.premium-grid,.admin-grid{grid-template-columns:1fr}.exam-top{height:70px;grid-template-columns:1fr auto;padding:0 11px}.exam-mode{display:none}.exam-brand img{width:118px}.exit-btn{width:36px;padding:0;font-size:0}.exit-btn:before{content:"×";font-size:20px}.exam-main{padding:18px 10px 36px}.question-card{padding:0 16px 18px}.concept{margin:0 -16px;padding:12px 16px}.palette-grid{grid-template-columns:repeat(10,1fr)}}
@media(max-width:600px){body{font-size:16px}.brand img{width:136px}.app-content{padding-left:12px;padding-right:12px}.eyebrow-pill{font-size:9px}.sales-copy h1{font-size:39px;line-height:1.02;margin-top:14px}.sales-copy h1 span:after{height:7px}.lead{font-size:14px;line-height:1.55}.proof{gap:6px}.proof span{font-size:10px}.mega-test{min-height:78px;grid-template-columns:38px 1fr 18px;border-radius:14px;padding:10px 12px}.mega-test strong{font-size:15px}.mega-test small{font-size:10px}.secondary-actions{display:grid;grid-template-columns:1fr 1fr}.secondary-actions button{padding:0 8px;font-size:10px}.permit-picker>div{display:grid;grid-template-columns:repeat(5,1fr);gap:5px}.permit-picker button{min-width:0;padding:7px 4px;align-items:center}.permit-picker b{font-size:10px}.permit-picker span{font-size:8px}.sales-preview{padding:11px;border-radius:17px}.preview-label{font-size:8px;margin-bottom:8px}.exam-preview-card>header{height:58px;padding:0 11px}.preview-body{padding:12px 10px}.preview-question{grid-template-columns:38px 1fr}.preview-question>span{font-size:25px}.preview-question h2{font-size:12px}.preview-answers>div{grid-template-columns:28px 1fr;padding:4px}.preview-answers span{font-size:8px}.preview-body img{height:150px}.exam-preview-card>footer{padding:8px 10px}.exam-preview-card footer span{display:none}.exam-preview-card footer button{width:100%}.benefit-ribbon{margin-top:24px}.benefit-ribbon article{min-height:94px;padding:13px;grid-template-columns:38px 1fr}.benefit-ribbon i{width:38px;height:38px}.benefit-ribbon strong{font-size:13px}.benefit-ribbon small{font-size:9px}.training-section{margin-top:38px}.section-heading{display:block}.section-heading h2{font-size:29px}.section-heading>button{margin-top:10px;padding:0}.training-grid{grid-template-columns:1fr 1fr;gap:8px}.training-grid>button{min-height:178px;padding:14px}.training-grid i{width:42px;height:42px}.training-grid strong{margin-top:18px;font-size:14px}.training-grid small{font-size:9px;line-height:1.35}.training-grid b{font-size:9px}.seo-section{padding:20px 15px}.seo-section p{font-size:13px}.seo-links{display:grid;grid-template-columns:1fr 1fr}.seo-links a{justify-content:center;text-align:center;font-size:9px;padding:6px}.mobile-test-cta{position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:75;min-height:56px;border:0;border-radius:14px;background:var(--yellow);color:var(--navy);box-shadow:0 14px 36px rgba(3,42,70,.25);display:flex;align-items:center;justify-content:center;gap:9px;font-size:13px;font-weight:950}.inner-page{padding-top:6px}.page-title h1{font-size:36px}.mode-grid,.topic-grid,.metric-grid{grid-template-columns:1fr}.mode-card,.topic-card{padding:17px}.premium-grid{grid-template-columns:1fr}.import-panel{padding:17px}.import-heading{display:block}.import-count{margin-top:12px;width:116px}.dropzone{grid-template-columns:44px 1fr}.dropzone>i{width:44px;height:44px}.file-label{grid-column:1/-1;justify-content:center}.schema-grid{grid-template-columns:1fr}.free-panel{grid-template-columns:44px 1fr}.free-panel>i{width:44px;height:44px}.free-panel .toggle{grid-column:1/-1}.import-actions .danger{margin-left:0}.exam-top{height:66px}.exam-brand img{width:104px}.timer small{display:none}.timer strong{font-size:14px}.pause-btn{width:36px;height:36px}.question-title{grid-template-columns:46px 1fr;gap:8px}.question-title>span{font-size:30px}.question-title h1{font-size:20px}.answer{grid-template-columns:36px 1fr 18px;min-height:62px;padding:8px}.answer>b{width:34px;height:34px}.answer span{font-size:13px}.question-image figcaption{font-size:7px}.exam-actions{grid-template-columns:1fr 1fr}.exam-actions .flag{display:none}.exam-actions button{width:100%;padding:0 9px}.palette-grid{grid-template-columns:repeat(6,1fr)}.result-hero{margin:20px 12px 0;padding:25px 15px}.result-hero h1{font-size:52px}.result-stats{grid-template-columns:1fr 1fr}.modal{padding:20px}.toast-root{left:12px;right:12px;top:78px}.toast{max-width:none}}

/* V4 exam experience: cleaner, brighter, closer to an official-test feeling while remaining independent */
.exam-screen{background:#eceef1 !important;min-height:100dvh}
.exam-top{background:#fff !important;color:#122432 !important;box-shadow:none !important;border-bottom:1px solid #d9dde2;height:auto !important;min-height:74px;padding:10px 18px !important;grid-template-columns:auto 1fr auto !important;gap:14px}
.exam-brand>a{background:#fff7d4 !important;border:1px solid #e7d26d !important;border-radius:6px !important;padding:4px 8px !important}
.exam-brand img{width:142px !important}
.exit-btn{background:#f4f6f8 !important;color:#263746 !important;border:1px solid #d2d9df !important}
.exam-mode{text-align:left !important}
.exam-mode small{color:#5f6772 !important;font-size:10px !important;letter-spacing:.02em !important}
.exam-mode strong{font-size:15px !important;color:#1f2c38 !important}
.timer{background:#f6f8fa !important;border:1px solid #d6dde3 !important;border-radius:8px !important;padding:7px 10px !important;color:#1b2a35 !important}
.timer strong{font-size:14px !important}
.pause-btn{background:#ffd942 !important;color:#243543 !important;border-radius:8px !important}
.exam-progress-line{height:4px !important;background:#dadfe5 !important}.exam-progress-line i{background:#d6a500 !important}
.exam-main{max-width:1180px !important;padding:18px 16px 34px !important}
.exam-meta{background:#fff;border:1px solid #dce1e6;border-bottom:0;border-radius:8px 8px 0 0;padding:8px 12px;margin:0 auto;max-width:1100px;color:#6d7883 !important;font-size:11px !important}
.question-card{max-width:1100px;margin:0 auto;border:1px solid #dce1e6 !important;border-radius:0 0 8px 8px !important;box-shadow:none !important;padding:0 18px 18px !important;background:#fff !important}
.concept{margin:0 -18px !important;background:#fff !important;border-bottom:1px solid #e3e6ea !important;padding:10px 18px !important}
.concept b{font-size:12px !important;color:#233444 !important}
.concept button{font-size:11px !important}
.question-title{grid-template-columns:78px 1fr !important;gap:14px !important;margin:20px 0 18px !important}
.question-title>span{font-size:52px !important;line-height:1;color:#0e3b63 !important}
.question-title h1{font-size:clamp(26px,2.7vw,38px) !important;line-height:1.24 !important;color:#1c2025 !important;font-weight:900 !important}
.answer-list{gap:12px !important}
.answer{min-height:66px !important;background:#fff !important;border-radius:10px !important;border:1px solid #dee4e8 !important;padding:10px 12px !important;grid-template-columns:38px 1fr 20px !important}
.answer:hover{background:#f9fbfc !important;border-color:#c4d0da !important}
.answer.selected{background:#fff8d6 !important;border-color:#e0c343 !important;box-shadow:none !important}
.answer>b{width:34px !important;height:34px !important;background:#f1f4f7 !important;border:1px solid #d5dde3 !important;color:#2b3947 !important}
.answer.selected>b{background:#ffe266 !important;border-color:#e0c343 !important}
.answer span{font-size:15px !important;line-height:1.38 !important;color:#273849 !important}
.question-image{margin:18px auto 0 !important;border:1px solid #d8dde2 !important;border-radius:8px !important;max-width:420px;background:#fafbfc !important}
.question-image img{aspect-ratio:4/3 !important;max-height:none !important;object-fit:cover !important}
.question-image figcaption,.question-source{display:none !important}
.exam-actions{max-width:1100px;margin:14px auto 0 !important;grid-template-columns:90px 1fr auto !important;gap:10px !important}
.exam-actions button{min-height:48px !important;border-radius:8px !important;font-size:12px !important}
.exam-actions .next,.exam-actions .finish{background:#fff !important;border:1px solid #d7dce2 !important;color:#213445 !important}
.exam-actions .flag{border:1px solid #d7dce2 !important;background:#fff !important;padding:0 16px !important;border-radius:8px !important;justify-self:auto !important}
.palette{max-width:1100px;margin:12px auto 0 !important;border:1px solid #dce1e6 !important;border-radius:8px !important;box-shadow:none !important;background:#fff !important;padding:12px !important}
.palette-head{margin-bottom:8px !important}
.palette-grid{grid-template-columns:repeat(15,1fr) !important;gap:7px !important}
.palette-grid button{height:40px !important;border-radius:6px !important;font-size:12px !important;background:#fff !important;border:1px solid #dde3e8 !important;color:#64717d !important}
.palette-grid button.answered{background:#eef6ed !important;border-color:#bcd6b9 !important;color:#2b6a35 !important}
.palette-grid button.current{background:#fff4a6 !important;border-color:#e2c84a !important;color:#223242 !important}
.palette-grid button.flagged{box-shadow:inset 0 -3px 0 #d4a50f !important}
@media (max-width:900px){
  .exam-top{grid-template-columns:1fr auto !important;padding:8px 10px !important;gap:10px !important}
  .exam-mode{display:block !important;grid-column:1/-1;order:3;border-top:1px solid #e7eaee;padding-top:8px}
  .exam-brand{gap:8px !important}
  .exam-brand img{width:122px !important}
  .exit-btn{width:auto !important;font-size:11px !important;padding:0 10px !important}
  .exam-main{padding:12px 10px 28px !important}
  .exam-meta{font-size:10px !important;padding:7px 10px !important}
  .question-card{padding:0 12px 14px !important}
  .concept{margin:0 -12px !important;padding:10px 12px !important}
  .question-title{grid-template-columns:52px 1fr !important;gap:10px !important}
  .question-title>span{font-size:34px !important}
  .question-title h1{font-size:21px !important}
  .answer span{font-size:14px !important}
  .question-image{max-width:280px !important}
  .exam-actions{grid-template-columns:64px 1fr auto !important}
  .exam-actions button{min-height:44px !important;font-size:11px !important}
  .palette-grid{grid-template-columns:repeat(10,1fr) !important}
}
@media (max-width:600px){
  .exam-screen{padding-bottom:16px !important}
  .exam-top{position:sticky !important;top:0;z-index:40}
  .exam-brand>a{padding:3px 6px !important}
  .exam-brand img{width:108px !important}
  .timer small{display:block !important;font-size:8px !important}
  .timer strong{font-size:13px !important}
  .pause-btn{width:34px !important;height:34px !important}
  .exam-mode strong{font-size:13px !important}
  .question-title{grid-template-columns:44px 1fr !important;gap:8px !important;margin:16px 0 14px !important}
  .question-title>span{font-size:26px !important}
  .question-title h1{font-size:18px !important;line-height:1.28 !important}
  .answer{min-height:58px !important;padding:8px 10px !important;grid-template-columns:32px 1fr 16px !important}
  .answer>b{width:30px !important;height:30px !important;font-size:12px !important}
  .answer span{font-size:13px !important}
  .question-image{max-width:240px !important;margin-top:14px !important}
  .exam-actions{grid-template-columns:56px 1fr 78px !important}
  .exam-actions .flag{display:none !important}
  .exam-actions button{padding:0 8px !important;font-size:10px !important}
  .palette{padding:10px 8px !important}
  .palette-head b{font-size:10px !important}
  .palette-grid{grid-template-columns:repeat(5,1fr) !important;gap:6px !important}
  .palette-grid button{height:36px !important;font-size:11px !important}
}

/* V4.1 - botón visible de instalación */
.install-btn{background:#ffd200 !important;border-color:#e3bd00 !important;color:#06365a !important;box-shadow:0 8px 18px rgba(211,174,0,.18)}
.install-btn:hover{transform:translateY(-1px)}
.install-btn.installed,.menu-install.installed,.mobile-install-btn.installed{background:#e8f7ef !important;border-color:#b9dec9 !important;color:#176a45 !important;box-shadow:none !important}
.mobile-install-btn{display:none;height:38px;border:0;border-radius:10px;background:#ffd200;color:#06365a;padding:0 9px;font-size:9px;font-weight:950;white-space:nowrap;box-shadow:0 5px 14px rgba(211,174,0,.18)}
.install-modal .install-steps{display:grid;gap:9px}.install-modal .install-steps>div{padding:12px 14px;border:1px solid #dbe5ec;border-radius:11px;background:#f8fbfd;color:#35566e;font-size:12px;line-height:1.45}.install-modal .install-steps b{color:#06365a}
@media(max-width:900px){.mobile-install-btn{display:flex;align-items:center;justify-content:center}.mobile-actions{align-items:center}.site-header{gap:8px}.brand img{width:132px}}
@media(max-width:600px){.site-header{padding:0 8px}.brand img{width:112px}.mobile-actions{gap:5px}.mobile-install-btn{height:36px;padding:0 7px;font-size:8px}.icon-btn{width:34px;height:36px}.mobile-actions #mobile-login-btn{display:none}}

/* V4.2 — instalación multiplataforma */
.install-modal-v42{width:min(720px,calc(100% - 24px));max-width:720px}
.install-platforms{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}
.install-platform-card{min-height:88px;border:1px solid #d8e3e9;border-radius:14px;background:#f8fbfd;color:#17384f;padding:12px;display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;text-align:left;cursor:pointer}
.install-platform-card:hover,.install-platform-card.detected{border-color:#d7b824;background:#fff9d8;box-shadow:0 0 0 2px rgba(255,216,47,.14)}
.install-platform-icon{width:38px;height:38px;border-radius:11px;background:#06365a;color:#fff;display:grid;place-items:center;font-size:18px;font-weight:900}
.install-platform-card b{display:block;font-size:12px;color:#0c3451}
.install-platform-card small{display:block;margin-top:3px;font-size:9px;line-height:1.35;color:#698092}
.install-platform-card em{font-style:normal;font-size:8px;font-weight:900;color:#7b6a12;white-space:nowrap}
.install-platform-detail{border:1px solid #dbe5eb;border-radius:16px;background:#fff;padding:18px}
.install-auto-badge{display:inline-flex;align-items:center;min-height:25px;padding:0 9px;border-radius:999px;background:#eaf7ef;color:#1d7549;font-size:8px;font-weight:950;letter-spacing:.06em}
.install-platform-detail h3{margin:12px 0 5px;color:#073857;font-size:22px}
.install-platform-detail>p{margin:0 0 14px;color:#627a8c;font-size:11px;line-height:1.55}
.install-steps.compact{display:grid;gap:7px;margin:0 0 14px}
.install-steps.compact>div{padding:10px 12px;border:1px solid #e0e7ec;border-radius:10px;background:#f8fafc;color:#3d586d;font-size:11px;line-height:1.45}
.install-detail-actions{display:flex;gap:8px;flex-wrap:wrap}
.install-primary-action,.install-copy-action{min-height:44px;border:0;border-radius:10px;padding:0 16px;font-size:10px;font-weight:950;cursor:pointer}
.install-primary-action{background:#ffd92f;color:#06365a;box-shadow:0 8px 18px rgba(3,54,90,.10)}
.install-copy-action{background:#eef4f7;color:#17415c;border:1px solid #d6e2e9}
.install-note{display:block;margin-top:10px;color:#768997;font-size:9px;line-height:1.45}
@media(max-width:600px){
  .install-modal-v42{width:calc(100% - 22px);padding:20px 16px}
  .install-platforms{grid-template-columns:1fr;gap:7px}
  .install-platform-card{min-height:68px;grid-template-columns:34px 1fr auto;padding:9px 10px}
  .install-platform-icon{width:34px;height:34px;border-radius:9px;font-size:15px}
  .install-platform-card b{font-size:11px}.install-platform-card small{font-size:8px}.install-platform-card em{font-size:7px}
  .install-platform-detail{padding:14px}.install-platform-detail h3{font-size:20px}.install-platform-detail>p{font-size:10px}
  .install-primary-action,.install-copy-action{width:100%}
}

/* V4.3 — interfaz de examen inspirada en la disposición del examen teórico oficial.
   Se conserva marca Haciendo Test para evitar confusión con un servicio público oficial. */
:root{--exam-blue:#1a78a8;--exam-blue-dark:#24506c;--exam-yellow:#f2cf16;--exam-border:#d8d8d8;--exam-gray:#eeeeec;--exam-text:#20272d;--exam-muted:#59656d}
body{color:#17364d}
.sales-copy h1,.section-heading h2,.seo-section h2,.page-title h1{color:#052e4d}
.lead,.seo-section p,.page-title p{color:#3e5566}
.mode-card.featured-mode{border:2px solid #d8bd19;background:linear-gradient(180deg,#fffdf1,#fff)}
.mode-card.featured-mode>i{background:#f4d21d;color:#193b55}
.exam-screen{background:#f0f0ee!important;color:var(--exam-text)!important;min-height:100dvh;padding:0!important;max-width:none!important}
.official-like-top{height:58px!important;min-height:58px!important;padding:0 10px!important;display:grid!important;grid-template-columns:270px 1fr auto!important;gap:0!important;border:1px solid #d7d9da!important;border-top:0!important;background:#fff!important;box-shadow:none!important;color:var(--exam-text)!important}
.official-like-top .exam-brand{height:100%;display:flex;align-items:center;border-right:1px solid #e0e2e3;padding-right:12px}
.official-like-top .exam-brand>a{padding:0!important;border:0!important;background:transparent!important;border-radius:0!important}
.official-like-top .exam-brand img{width:172px!important;max-height:45px;object-fit:contain}
.official-exam-heading{height:100%;display:grid;grid-template-columns:auto auto 1fr;align-content:center;column-gap:10px;padding:6px 14px;color:#3f5f73;border-right:1px solid #eceeef}
.official-exam-heading strong{grid-column:1/3;font-size:12px;line-height:1.1;color:#39779c;font-weight:850}
.official-exam-heading span{font-size:10px;color:#39779c;font-weight:800}
.official-exam-heading small{font-size:9px;color:#49687b;font-weight:700;align-self:center}
.exam-tools{height:100%;display:flex!important;align-items:center!important;gap:6px!important;padding-left:10px}
.timer{text-align:right!important;min-width:88px}.timer small{font-size:8px!important;color:#47718b!important;text-transform:none!important}.timer strong{font-size:13px!important;color:#234b63!important}
.pause-btn,.exit-btn{height:32px!important;min-height:32px!important;border:1px solid #d5dade!important;background:#fafafa!important;color:#415664!important;border-radius:3px!important;font-size:10px!important;padding:0 8px!important}
.pause-btn{width:34px!important}
.exam-progress-line{height:2px!important;background:#d7dadd!important}.exam-progress-line i{background:#2f8fbd!important}
.official-exam-main{padding:0 0 18px!important;max-width:1180px!important;margin:0 auto!important}
.official-question-card{margin:0!important;max-width:none!important;padding:0!important;border:1px solid #d7d9db!important;border-top:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;min-height:535px}
.official-question-layout{display:grid;grid-template-columns:36.5% 63.5%;min-height:535px}
.official-question-image{grid-column:1;margin:0!important;padding:14px!important;border:0!important;border-right:1px solid #e1e1df!important;border-radius:0!important;max-width:none!important;background:#f1f1ef!important;display:flex;align-items:flex-start;justify-content:center}
.official-question-image img{width:100%!important;height:auto!important;max-height:390px!important;aspect-ratio:auto!important;object-fit:contain!important;border:5px solid #fff;outline:1px solid #d1d2d1;box-shadow:0 0 0 4px #e8e8e6}
.official-question-image figcaption{display:none!important}
.official-question-content{grid-column:2;padding:22px 32px 28px;min-width:0;background:#fff}
.question-title{display:grid!important;grid-template-columns:64px 1fr!important;gap:14px!important;align-items:start!important;margin:0 0 24px!important}
.question-title>span{font-size:44px!important;line-height:1!important;color:#1d70a0!important;font-weight:900!important;letter-spacing:-.04em}
.question-title h1{margin:0!important;font-family:Arial,Helvetica,sans-serif!important;font-size:22px!important;line-height:1.24!important;color:#202326!important;font-weight:800!important;letter-spacing:0!important;max-width:760px}
.answer-list{display:grid!important;gap:8px!important;margin-left:65px!important}
.answer{min-height:55px!important;padding:7px 10px!important;border:0!important;background:#fff!important;border-radius:0!important;box-shadow:none!important;display:grid!important;grid-template-columns:42px 1fr 28px!important;align-items:center!important;text-align:left!important;color:#262b2e!important}
.answer:hover{background:#f8fafb!important}
.answer>b{width:34px!important;height:34px!important;display:grid!important;place-items:center!important;border-radius:50%!important;border:2px solid #eceeed!important;background:#f4f5f4!important;color:#aeb4b7!important;font-size:16px!important;font-weight:800!important}
.answer span{font-family:Arial,Helvetica,sans-serif!important;font-size:16px!important;line-height:1.28!important;color:#33393d!important;font-weight:500!important}
.answer em{font-style:normal!important;color:#fff!important;font-size:20px!important;text-align:center!important}
.answer.selected{background:#fff!important;border:0!important}
.answer.selected>b{background:#fff!important;border:4px solid #f0cd17!important;color:#f0cd17!important;position:relative;font-size:0!important}
.answer.selected>b:after{content:'✓';font-size:21px!important;line-height:1;color:#d6b500;font-weight:950}
.answer.selected span{color:#252a2d!important;font-weight:600!important}
.answer.selected em{display:none!important}
.question-source{margin:20px 0 0 65px!important;padding-top:10px;border-top:1px solid #edf0f1;color:#737d82!important;font-size:9px!important;line-height:1.4}
.official-actions{height:62px!important;max-width:none!important;margin:0!important;padding:8px 14px!important;border:1px solid #d7d9db!important;border-top:0!important;background:#f3f3f1!important;display:grid!important;grid-template-columns:72px minmax(160px,1fr) 220px!important;gap:10px!important}
.official-actions button{height:46px!important;min-height:46px!important;border-radius:4px!important;border:1px solid #d1d1cf!important;background:linear-gradient(#fff,#f1f1ef)!important;color:#4b5154!important;box-shadow:inset 0 0 0 3px #fff,0 1px 2px rgba(0,0,0,.08)!important;font-family:Arial,Helvetica,sans-serif!important;font-size:12px!important;font-weight:800!important}
.official-actions #prev-q{font-size:30px!important;color:#e0b800!important}
.official-actions .flag{justify-self:start!important;width:130px!important;color:#6e7477!important}
.official-actions .next,.official-actions .finish{justify-self:stretch!important;font-size:15px!important;color:#555a5c!important}
.official-actions .next span{color:#e0b800;font-size:18px;margin-left:8px}
.official-actions .finish{color:#485a65!important}
.official-palette{max-width:none!important;margin:0!important;padding:9px 8px 6px!important;border:1px solid #d7d9db!important;border-top:0!important;border-radius:0!important;background:#ededeb!important;box-shadow:none!important}
.palette-head{display:flex!important;justify-content:space-between!important;align-items:center!important;margin:0 0 7px!important}.palette-head b{font-size:9px!important;color:#5e686e!important;text-transform:uppercase}.palette-head span{font-size:9px!important;color:#6f797f!important}
.palette-grid{display:grid!important;grid-template-columns:repeat(15,1fr)!important;gap:7px!important}
.palette-grid button{height:44px!important;min-width:0!important;border-radius:3px!important;border:1px solid #cdd0d1!important;background:linear-gradient(#fafafa,#e8e9e8)!important;color:#2f78a1!important;font-family:Arial,Helvetica,sans-serif!important;font-size:15px!important;font-weight:700!important;box-shadow:inset 0 0 0 2px #f6f6f5!important}
.palette-grid button.answered{background:linear-gradient(#e3e3e1,#d8d9d7)!important;color:#4a6d81!important}
.palette-grid button.current{border:2px solid #168cc4!important;background:#fff!important;color:#146f9f!important;box-shadow:inset 0 0 0 2px #e8f6fc!important}
.palette-grid button.flagged{box-shadow:inset 0 -4px 0 #e2bd0c!important}
.palette-legend{display:flex;gap:18px;margin-top:7px;font-size:8px;color:#737b80}.palette-legend span{display:flex;align-items:center;gap:5px}.palette-legend i{display:inline-block;width:28px;height:6px;background:#fff;border:1px solid #d0d2d2}.palette-legend i.answered{background:#d9dad8}
@media(max-width:900px){
 .official-like-top{grid-template-columns:180px 1fr auto!important;min-height:62px!important;height:62px!important}.official-like-top .exam-brand img{width:145px!important}.official-exam-heading{padding:5px 8px}.official-exam-heading strong{font-size:10px}.official-exam-heading span,.official-exam-heading small{font-size:8px}.timer{min-width:70px}.exit-btn{display:none!important}
 .official-question-card{min-height:auto}.official-question-layout{grid-template-columns:34% 66%;min-height:470px}.official-question-content{padding:18px 18px 22px}.question-title{grid-template-columns:52px 1fr!important}.question-title>span{font-size:36px!important}.question-title h1{font-size:19px!important}.answer-list{margin-left:52px!important}.answer span{font-size:14px!important}.question-source{margin-left:52px!important}.official-actions{grid-template-columns:62px 1fr 180px!important}.palette-grid{grid-template-columns:repeat(10,1fr)!important}
}
@media(max-width:600px){
 .exam-screen{background:#efefed!important}.official-like-top{position:sticky!important;top:0;z-index:45;grid-template-columns:120px 1fr auto!important;height:56px!important;min-height:56px!important;padding:0 6px!important}.official-like-top .exam-brand{padding-right:6px}.official-like-top .exam-brand img{width:108px!important}.official-exam-heading{display:flex;flex-direction:column;justify-content:center;gap:1px;border-right:0}.official-exam-heading strong{font-size:9px}.official-exam-heading span{font-size:8px}.official-exam-heading small{display:none}.exam-tools{padding-left:3px;gap:3px!important}.timer{min-width:62px}.timer small{font-size:7px!important}.timer strong{font-size:11px!important}.pause-btn{width:29px!important;padding:0!important}
 .official-exam-main{padding:0 6px 12px!important}.official-question-layout{display:flex;flex-direction:column;min-height:auto}.official-question-content{order:1;padding:15px 12px 12px}.official-question-image{order:2;border-right:0!important;border-top:1px solid #e2e2e0!important;padding:12px!important;min-height:165px}.official-question-image img{max-height:230px!important;width:auto!important;max-width:100%!important}.question-title{grid-template-columns:43px 1fr!important;gap:7px!important;margin-bottom:12px!important}.question-title>span{font-size:29px!important}.question-title h1{font-size:17px!important;line-height:1.27!important}.answer-list{margin-left:0!important;gap:5px!important}.answer{min-height:50px!important;grid-template-columns:36px 1fr 10px!important;padding:5px 4px!important}.answer>b{width:30px!important;height:30px!important;font-size:13px!important}.answer span{font-size:13px!important;line-height:1.28!important}.answer.selected>b:after{font-size:18px!important}.question-source{margin:10px 0 0!important;font-size:8px!important}
 .official-actions{height:55px!important;padding:6px!important;grid-template-columns:50px 1fr 128px!important;gap:5px!important}.official-actions button{height:41px!important;min-height:41px!important;font-size:10px!important}.official-actions #prev-q{font-size:25px!important}.official-actions .flag{width:auto!important;padding:0 5px!important}.official-actions .next,.official-actions .finish{font-size:11px!important}.official-actions .next span{font-size:14px;margin-left:2px}
 .official-palette{padding:7px 6px 5px!important}.palette-head{margin-bottom:5px!important}.palette-grid{grid-template-columns:repeat(6,1fr)!important;gap:4px!important}.palette-grid button{height:35px!important;font-size:12px!important}.palette-legend{font-size:7px;gap:10px;flex-wrap:wrap}.palette-legend i{width:20px}
}

.seo-faq{margin-top:22px;padding-top:18px;border-top:1px solid #d8e2e8}.seo-faq h3{font-size:20px;color:#073453;margin:0 0 8px}.seo-faq details{border-top:1px solid #e0e7eb;padding:12px 0}.seo-faq details:last-child{border-bottom:1px solid #e0e7eb}.seo-faq summary{cursor:pointer;color:#183e59;font-size:12px;font-weight:850}.seo-faq p{font-size:12px!important;line-height:1.65!important;margin:8px 0 0!important}

/* ===== Haciendo Test V4.4: examen pantalla completa, móvil, ayuda, pagos ===== */
body{color:#102c43}
.admin-btn,[data-section="admin"]{display:none!important}
.test-config-row{display:grid;grid-template-columns:1fr 260px;gap:14px;align-items:start;margin-bottom:16px}.language-picker{display:grid;gap:6px;padding:10px 12px;background:#fff;border:1px solid #dbe6ec;border-radius:12px}.language-picker>span{font-size:10px;font-weight:900;color:#49677a;text-transform:uppercase;letter-spacing:.08em}.language-picker select{height:38px;border:1px solid #c9d7df;border-radius:9px;padding:0 10px;color:#102c43;background:#fff;font-weight:800}.language-picker small{font-size:9px;color:#748a98;line-height:1.35}
.exam-screen.exam-v44{height:100dvh;min-height:100dvh;overflow:hidden;background:#eef1f2}.exam-v44 .exam-top{height:50px;min-height:50px;padding:0 8px;gap:8px}.exam-v44 .exam-brand{width:170px;padding:3px 8px}.exam-v44 .exam-brand img{max-width:130px;max-height:36px}.exam-v44 .official-exam-heading{padding:4px 10px}.exam-v44 .official-exam-heading strong{font-size:11px}.exam-v44 .official-exam-heading span,.exam-v44 .official-exam-heading small{font-size:9px}.exam-v44 .exam-tools{gap:5px}.exam-v44 .timer{height:40px;min-width:90px;padding:4px 9px}.exam-v44 .timer small{font-size:7px}.exam-v44 .timer strong{font-size:13px}.exam-v44 .pause-btn,.exam-v44 .exit-btn,.exam-v44 .help-toggle{height:36px;border:1px solid #cbd7de;border-radius:7px;background:#fff;color:#17374a;font-weight:900;padding:0 10px}.exam-v44 .help-toggle.on{background:#fff5b8;border-color:#f0cf24;color:#665000}.exam-v44 .exam-progress-line{height:3px}.exam-v44 .exam-ad{max-height:62px;overflow:hidden;text-align:center;background:transparent}.exam-v44 .official-exam-main{height:calc(100dvh - 53px);display:grid;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 54px 96px auto;gap:0;overflow:hidden;padding:0}.exam-v44 .official-question-card{height:auto;min-height:0;margin:0;border-radius:0;border-left:0;border-right:0;overflow:hidden}.exam-v44 .official-question-layout{height:100%;display:grid;grid-template-columns:minmax(250px,31%) 1fr}.exam-v44 .official-question-image{height:100%;min-height:0;margin:0;padding:12px;background:#f5f5f4;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;border-right:1px solid #d8dfe3;overflow:hidden}.exam-v44 .official-question-image>img{width:100%;height:min(52vh,430px);max-height:100%;object-fit:contain;background:#fff;border:5px solid #fff;box-shadow:0 0 0 1px #d8dde0}.exam-v44 .official-question-image figcaption{font-size:8px;color:#87949c;margin-top:6px;max-height:20px;overflow:hidden}.exam-v44 .official-question-content{height:100%;min-height:0;overflow:auto;padding:22px 34px 14px}.exam-v44 .question-title{display:grid;grid-template-columns:68px 1fr;gap:10px;align-items:start}.exam-v44 .question-title>span{font-size:36px;line-height:1;color:#1879ad;font-weight:950}.exam-v44 .question-title h1{font-size:clamp(18px,1.7vw,27px);line-height:1.18;color:#12191f;font-weight:900;margin:0}.exam-v44 .answer-list{margin:20px 0 8px;display:grid;gap:10px}.exam-v44 .answer{min-height:52px;padding:8px 10px;border:0;background:transparent;display:grid;grid-template-columns:42px 1fr 30px;align-items:center;text-align:left;color:#172832}.exam-v44 .answer:hover{background:#f5f8f9;border-radius:9px}.exam-v44 .answer b{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#f1f2f2;color:#a9b1b5;border:1px solid #e0e4e5;font-size:16px}.exam-v44 .answer span{font-size:clamp(14px,1.15vw,18px);line-height:1.32}.exam-v44 .answer.selected b{background:#ffd400;color:#fff;border-color:#ffd400}.exam-v44 .answer.help-correct{background:#eaf8ef;border-radius:9px}.exam-v44 .answer.help-correct b{background:#2b9b63;color:#fff;border-color:#2b9b63}.exam-v44 .answer.help-wrong{background:#fff0ef;border-radius:9px}.exam-v44 .answer.help-wrong b{background:#d94d4d;color:#fff;border-color:#d94d4d}.help-explanation{margin:10px 0;padding:12px 14px;border-left:4px solid #2b9b63;background:#eefaf3;border-radius:8px;color:#173f2d}.help-explanation strong{font-size:12px}.help-explanation p{margin:5px 0;font-size:12px;line-height:1.45}.help-explanation small{font-size:10px;color:#4c695b}.question-source{font-size:8px;color:#89969d;margin-top:7px}.exam-v44 .official-actions{height:54px;display:grid;grid-template-columns:80px 150px 1fr;gap:8px;padding:6px 14px;background:#f7f7f6;border-top:1px solid #d7dfe3}.exam-v44 .official-actions button{height:42px}.exam-v44 .official-actions .next,.exam-v44 .official-actions .finish{justify-self:end;min-width:240px}.exam-v44 .official-palette{height:96px;padding:7px 14px;background:#f1f2f2;border-top:1px solid #d7dfe3;overflow:hidden}.exam-v44 .palette-head{display:none}.exam-v44 .palette-grid{display:grid;grid-template-columns:repeat(15,1fr);gap:5px;max-width:none}.exam-v44 .palette-grid button{height:34px;min-width:0;font-size:13px;border-radius:5px}.exam-v44 .palette-legend{margin-top:4px;font-size:8px}.exam-ad-bottom{display:none}
.attempt-list{display:grid;gap:8px;margin:12px 0 18px}.attempt-row{display:grid;grid-template-columns:1fr 90px 110px 90px;gap:8px;align-items:center;padding:10px;border-bottom:1px solid #e8eef1;font-size:12px}.attempt-row em{font-style:normal;font-weight:900}.attempt-row em.ok{color:#168152}.attempt-row em.bad{color:#bb3e36}.payment-note{margin-top:16px;background:#eef6fa;border:1px solid #d4e5ed;border-radius:12px;padding:14px;display:flex;gap:10px;color:#315466;font-size:12px}.review-grid{margin-top:24px;text-align:left;display:grid;gap:10px}.review-card{padding:14px;border:1px solid #dce5eb;border-left:4px solid #d84949;border-radius:10px}.review-card.ok{border-left-color:#23965f}.review-card h3{font-size:13px;color:#06365a;margin:5px 0}.review-card p{font-size:11px;margin:4px 0}.review-explanation{margin-top:8px;padding:9px;background:#f4f7f9;border-radius:8px;display:grid;gap:4px;font-size:10px}.green-stat{color:#198552}.auth-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;background:#eef3f6;padding:4px;border-radius:10px;margin:12px 0}.auth-tabs button{border:0;background:transparent;padding:9px 6px;border-radius:8px;font-size:10px;font-weight:900;color:#60788a}.auth-tabs button.active{background:#fff;color:#123a55;box-shadow:0 2px 7px rgba(10,40,60,.08)}.real-auth-form{display:grid;gap:11px}.real-auth-form label{display:grid;gap:5px;font-size:10px;font-weight:850;color:#466376}.real-auth-form input{height:44px;border:1px solid #ccd9e0;border-radius:10px;padding:0 11px;color:#102c43;font-size:14px}.real-auth-form .check{grid-template-columns:20px 1fr;align-items:start;line-height:1.4}.real-auth-form .check input{height:16px;width:16px}.privacy-note{display:block;font-size:9px;color:#7c909d;line-height:1.45;margin-top:9px}.auth-success{padding:14px;background:#eaf9f0;color:#176940;border-radius:10px;font-weight:800}.auth-error{padding:12px;background:#fff0ee;color:#a0332a;border-radius:10px}.account-plan{padding:14px;background:#f3f7f9;border-radius:12px;display:flex;justify-content:space-between;gap:10px}.account-plan span{font-size:10px;color:#6d8290}.auth-actions{display:grid;gap:8px;margin-top:12px}.payment-options{display:grid;gap:9px;margin-top:14px}.payment-options>button{border:1px solid #d3e0e6;background:#fff;border-radius:12px;padding:14px;display:flex;justify-content:space-between;gap:12px;text-align:left;color:#14364c;cursor:pointer}.payment-options>button:hover{border-color:#4d9abe;background:#f6fbfd}.payment-options b{font-size:13px}.payment-options span{font-size:10px;color:#6b8191}.payment-status{padding:15px;text-align:center;color:#507083}.bizum-box{margin-top:14px;padding:14px;background:#f6f9fa;border-radius:12px;display:grid;gap:10px}.bizum-number{font-size:26px;font-weight:950;color:#071f33;letter-spacing:.04em}.bizum-box form{display:grid;gap:10px}.bizum-box label{display:grid;gap:5px;font-size:10px;font-weight:850}.bizum-box input{height:42px;border:1px solid #ccd9e0;border-radius:9px;padding:0 10px}.bizum-box input[type=file]{height:auto;padding:9px}
@media(max-width:900px){.test-config-row{grid-template-columns:1fr}.exam-v44 .official-question-layout{grid-template-columns:36% 1fr}.exam-v44 .official-question-content{padding:16px 20px}.exam-v44 .question-title{grid-template-columns:52px 1fr}.exam-v44 .question-title>span{font-size:30px}.exam-v44 .palette-grid{grid-template-columns:repeat(10,1fr)}}
@media(max-width:640px){body:has(.exam-v44){overflow:hidden}.exam-screen.exam-v44{height:100dvh}.exam-v44 .exam-top{height:46px;min-height:46px}.exam-v44 .exam-brand{width:72px;padding:3px}.exam-v44 .exam-brand img{width:66px}.exam-v44 .official-exam-heading{padding:2px 4px;min-width:0}.exam-v44 .official-exam-heading strong{font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.exam-v44 .official-exam-heading span{font-size:7px}.exam-v44 .official-exam-heading small{display:none}.exam-v44 .timer{min-width:58px;height:34px;padding:2px 5px}.exam-v44 .timer small{font-size:6px}.exam-v44 .timer strong{font-size:11px}.exam-v44 .pause-btn,.exam-v44 .exit-btn,.exam-v44 .help-toggle{height:32px;padding:0 7px;font-size:9px}.exam-v44 .official-exam-main{height:calc(100dvh - 49px);grid-template-rows:minmax(0,1fr) 52px 82px}.exam-v44 .official-question-layout{display:flex;flex-direction:column}.exam-v44 .official-question-image{height:27%;min-height:120px;padding:6px;border-right:0;border-bottom:1px solid #d8dfe3;flex-direction:row;gap:6px}.exam-v44 .official-question-image>img{width:100%;height:100%;border-width:3px}.exam-v44 .official-question-image figcaption{display:none}.exam-v44 .official-question-image .exam-ad{display:none}.exam-v44 .official-question-content{height:73%;padding:10px 12px 8px;overflow:auto}.exam-v44 .question-title{grid-template-columns:42px 1fr;gap:4px}.exam-v44 .question-title>span{font-size:25px}.exam-v44 .question-title h1{font-size:clamp(15px,4.1vw,19px);line-height:1.16}.exam-v44 .answer-list{margin:9px 0 4px;gap:4px}.exam-v44 .answer{min-height:42px;grid-template-columns:34px 1fr 20px;padding:4px}.exam-v44 .answer b{width:28px;height:28px;font-size:13px}.exam-v44 .answer span{font-size:12px;line-height:1.25}.help-explanation{padding:8px;margin:5px 0}.help-explanation p{font-size:10px;margin:3px 0}.question-source{display:none}.exam-v44 .official-actions{height:52px;padding:5px 7px;grid-template-columns:52px 86px 1fr}.exam-v44 .official-actions button{height:40px;font-size:10px;padding:0 7px}.exam-v44 .official-actions .next,.exam-v44 .official-actions .finish{min-width:130px}.exam-v44 .official-palette{height:82px;padding:5px 7px}.exam-v44 .palette-grid{grid-template-columns:repeat(10,1fr);gap:3px}.exam-v44 .palette-grid button{height:28px;font-size:10px}.exam-v44 .palette-legend{display:none}.attempt-row{grid-template-columns:1fr 70px 90px}.attempt-row small{display:none}.auth-tabs{grid-template-columns:1fr}.payment-options>button{display:grid}.payment-note{display:grid}}
@media(max-height:700px) and (min-width:641px){.exam-v44 .official-exam-main{grid-template-rows:minmax(0,1fr) 48px 74px}.exam-v44 .official-palette{height:74px}.exam-v44 .palette-grid button{height:27px}.exam-v44 .official-question-content{padding-top:12px}.exam-v44 .answer-list{margin-top:10px;gap:4px}.exam-v44 .answer{min-height:40px}}
.site-ad-slot{width:min(1180px,calc(100% - 24px));margin:8px auto;text-align:center;overflow:hidden}.site-ad-slot:empty{display:none}

/* V4.5 - pantalla completa + scrollbars ocultas */
html,body{scrollbar-width:none;-ms-overflow-style:none}
html::-webkit-scrollbar,body::-webkit-scrollbar,.inner-page::-webkit-scrollbar,.official-question-content::-webkit-scrollbar{width:0;height:0;display:none}
.inner-page,.official-question-content{scrollbar-width:none;-ms-overflow-style:none}
.inner-page{min-height:calc(100dvh - 78px);overflow-y:auto;overscroll-behavior:contain}
body:has(.exam-v44){overflow:hidden!important}
.exam-v44 .official-question-content{overflow-y:auto;overscroll-behavior:contain}
.exam-v44 .palette-grid{grid-template-columns:repeat(15,minmax(0,1fr))!important;grid-auto-rows:30px!important;gap:4px!important}
.exam-v44 .palette-grid button{height:30px!important;min-height:30px!important;font-size:12px!important;padding:0!important}
.exam-v44 .official-palette{height:72px!important;padding:5px 10px!important}
.exam-v44 .official-actions{height:48px!important;padding:4px 10px!important}
.exam-v44 .official-actions button{height:40px!important}
.exam-v44 .official-exam-main{height:calc(100dvh - 53px)!important;grid-template-rows:minmax(0,1fr) 48px 72px!important}
.exam-v44:has(.exam-ad-top:not(:empty)) .official-exam-main{height:calc(100dvh - 95px)!important}
.exam-v44 .exam-ad-top:not(:empty){height:42px;max-height:42px;overflow:hidden}
@media(max-width:640px){
 .inner-page{min-height:calc(100dvh - 62px)}
 .exam-v44 .official-exam-main{height:calc(100dvh - 49px)!important;grid-template-rows:minmax(0,1fr) 48px 106px!important}
 .exam-v44:has(.exam-ad-top:not(:empty)) .official-exam-main{height:calc(100dvh - 85px)!important}
 .exam-v44 .exam-ad-top:not(:empty){height:36px;max-height:36px}
 .exam-v44 .official-palette{height:106px!important;padding:4px 6px!important}
 .exam-v44 .palette-grid{grid-template-columns:repeat(10,minmax(0,1fr))!important;grid-auto-rows:29px!important;gap:3px!important}
 .exam-v44 .palette-grid button{height:29px!important;min-height:29px!important;font-size:10px!important}
 .exam-v44 .official-actions{height:48px!important;padding:4px 6px!important}
 .exam-v44 .official-actions button{height:40px!important}
}

/* V4.5 - registro ampliado */
.real-auth-form.register-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px}
.real-auth-form.register-grid label{min-width:0}
.real-auth-form.register-grid .register-full{grid-column:1/-1}
.real-auth-form.register-grid select{width:100%;height:43px;border:1px solid #cbd8df;border-radius:9px;padding:0 10px;background:#fff;color:#17374a;font-weight:700}
@media(max-width:640px){.real-auth-form.register-grid{grid-template-columns:1fr}}


/* V4.6 PUBLIC ADMIN HARD-HIDE */
body:not(.ht-admin-page) [data-section="admin"],
body:not(.ht-admin-page) a[href="/admin"],
body:not(.ht-admin-page) a[href="/admin/"],
body:not(.ht-admin-page) a[href="/admin.html"],
body:not(.ht-admin-page) button[onclick*="admin" i],
body:not(.ht-admin-page) .admin-btn,
body:not(.ht-admin-page) .admin-link { display:none !important; visibility:hidden !important; pointer-events:none !important; }

.google-config-note{display:flex;gap:12px;align-items:center;border:1px solid #eadba5;background:#fff9df;border-radius:12px;padding:12px 14px;margin-top:12px;color:#23384a}.google-config-note>b{width:34px;height:34px;border-radius:50%;background:#fff;display:grid;place-items:center;border:1px solid #ddd;font-size:18px}.google-config-note span{display:flex;flex-direction:column;font-weight:800}.google-config-note small{font-weight:500;color:#6c7280;margin-top:3px}

/* ===== V4.7: 30 preguntas + controles siempre visibles ===== */
.exam-screen.exam-v44{height:100dvh!important;max-height:100dvh!important;overflow:hidden!important}
.exam-v44 .exam-top{height:48px!important;min-height:48px!important}
.exam-v44 .official-exam-main{height:calc(100dvh - 51px)!important;grid-template-rows:minmax(0,1fr) 46px 68px!important;overflow:hidden!important}
.exam-v44 .official-question-card,.exam-v44 .official-question-layout,.exam-v44 .official-question-content{min-height:0!important}
.exam-v44 .official-question-content{overflow:auto!important;scrollbar-width:none!important}
.exam-v44 .official-question-content::-webkit-scrollbar{display:none!important}
.exam-v44 .official-question-image>img{height:min(46vh,390px)!important;max-height:calc(100% - 18px)!important}
.exam-v44 .official-actions{height:46px!important;display:grid!important;grid-template-columns:60px 120px minmax(150px,1fr) minmax(155px,190px)!important;gap:6px!important;padding:3px 8px!important;overflow:hidden!important}
.exam-v44 .official-actions button{height:38px!important;min-height:38px!important;min-width:0!important;margin:0!important;padding:0 8px!important;white-space:nowrap!important}
.exam-v44 .official-actions .flag{width:auto!important;justify-self:stretch!important}
.exam-v44 .official-actions .next,.exam-v44 .official-actions .finish{width:100%!important;min-width:0!important;justify-self:stretch!important}
.exam-v44 .official-actions .finish{background:linear-gradient(#fffdf0,#fff5b9)!important;border-color:#e1c528!important;color:#344d5d!important}
.exam-v44 .official-actions button:disabled{opacity:.45!important;cursor:not-allowed!important}
.exam-v44 .official-palette{height:68px!important;min-height:68px!important;padding:4px 8px!important;overflow:hidden!important}
.exam-v44 .palette-head,.exam-v44 .palette-legend{display:none!important}
.exam-v44 .palette-grid{height:60px!important;display:grid!important;grid-template-columns:repeat(15,minmax(0,1fr))!important;grid-template-rows:repeat(2,28px)!important;grid-auto-rows:28px!important;gap:4px!important;align-content:start!important}
.exam-v44 .palette-grid button{height:28px!important;min-height:28px!important;font-size:11px!important;padding:0!important}
.exam-v44:has(.exam-ad-top:not(:empty)) .official-exam-main{height:calc(100dvh - 87px)!important}
.exam-v44 .exam-ad-top:not(:empty){height:36px!important;max-height:36px!important}
@media(max-height:760px) and (min-width:641px){
 .exam-v44 .question-title{margin:10px 0 8px!important}.exam-v44 .answer-list{margin:6px 0!important;gap:3px!important}.exam-v44 .answer{min-height:38px!important}.exam-v44 .official-question-content{padding-top:10px!important;padding-bottom:6px!important}.exam-v44 .official-question-image>img{height:min(42vh,320px)!important}
}
@media(max-width:640px){
 .exam-v44 .exam-top{height:44px!important;min-height:44px!important}
 .exam-v44 .official-exam-main{height:calc(100dvh - 47px)!important;grid-template-rows:minmax(0,1fr) 44px 84px!important}
 .exam-v44:has(.exam-ad-top:not(:empty)) .official-exam-main{height:calc(100dvh - 79px)!important}
 .exam-v44 .exam-ad-top:not(:empty){height:32px!important;max-height:32px!important}
 .exam-v44 .official-actions{height:44px!important;grid-template-columns:38px 66px minmax(80px,1fr) minmax(90px,1.08fr)!important;gap:3px!important;padding:2px 4px!important}
 .exam-v44 .official-actions button{height:38px!important;min-height:38px!important;font-size:8px!important;padding:0 3px!important}
 .exam-v44 .official-actions #prev-q{font-size:20px!important}.exam-v44 .official-actions .next span{display:none!important}
 .exam-v44 .official-palette{height:84px!important;min-height:84px!important;padding:3px 4px!important}
 .exam-v44 .palette-grid{height:78px!important;grid-template-columns:repeat(10,minmax(0,1fr))!important;grid-template-rows:repeat(3,24px)!important;grid-auto-rows:24px!important;gap:3px!important}
 .exam-v44 .palette-grid button{height:24px!important;min-height:24px!important;font-size:9px!important}
 .exam-v44 .official-question-image{min-height:95px!important;height:23%!important;padding:4px!important}.exam-v44 .official-question-content{height:77%!important;padding:7px 9px 5px!important}.exam-v44 .question-title{margin:0 0 5px!important}.exam-v44 .question-title h1{font-size:clamp(13px,3.7vw,17px)!important}.exam-v44 .answer-list{margin:5px 0!important;gap:2px!important}.exam-v44 .answer{min-height:36px!important}.exam-v44 .answer span{font-size:11px!important}.exam-v44 .official-question-image>img{height:100%!important;max-height:100%!important}
}


/* ===== V4.8 HOTFIX — rutas + examen responsive móvil/PC ===== */
/* El atributo hidden debe ganar a los display declarados por la app. Sin esto,
   el header público y el CTA móvil seguían apareciendo encima del examen. */
[hidden]{display:none!important}
.site-header[hidden],.mobile-test-cta[hidden]{display:none!important}
body:has(.exam-v44) #site-header,
body:has(.exam-v44) #mobile-test-cta,
body:has(.exam-v44) .mobile-menu,
body:has(.exam-v44) .mobile-menu-backdrop{display:none!important}

/* El examen ocupa exactamente el viewport disponible y reserva siempre espacio
   para navegación + las 30 preguntas. */
.exam-screen.exam-v44{width:100%!important;height:100dvh!important;min-height:100dvh!important;max-height:100dvh!important;overflow:hidden!important}
.exam-v44 .official-exam-main{min-height:0!important;overflow:hidden!important}
.exam-v44 .official-question-card{height:100%!important;min-height:0!important;overflow:hidden!important}
.exam-v44 .official-question-layout{height:100%!important;min-height:0!important;overflow:hidden!important}
.exam-v44 .official-question-content{min-height:0!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important}

/* PC/tablet: imagen y pregunta lado a lado, sin empujar los controles fuera. */
@media(min-width:641px){
 .exam-v44 .official-question-layout{display:grid!important;grid-template-columns:minmax(250px,34%) minmax(0,66%)!important}
 .exam-v44 .official-question-image{order:initial!important;height:100%!important;min-height:0!important;padding:10px!important;overflow:hidden!important}
 .exam-v44 .official-question-image>img{width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important}
 .exam-v44 .official-question-content{height:100%!important;padding:16px 24px 10px!important}
 .exam-v44 .question-title{margin:0 0 12px!important}
 .exam-v44 .answer-list{margin-top:10px!important;margin-bottom:5px!important;gap:5px!important}
}

/* Móvil: imagen ARRIBA, compacta y visible; pregunta/respuestas debajo con scroll
   interno únicamente si el texto es excepcionalmente largo. Controles y 01–30
   permanecen siempre visibles. */
@media(max-width:640px){
 body:has(.exam-v44){overflow:hidden!important}
 .exam-screen.exam-v44{height:100dvh!important;min-height:100dvh!important}
 .exam-v44 .exam-top{height:44px!important;min-height:44px!important}
 .exam-v44 .official-like-top{grid-template-columns:76px minmax(0,1fr) auto!important;padding:0 4px!important}
 .exam-v44 .exam-brand{width:76px!important;padding:2px 4px!important;border-right:1px solid #e0e2e3!important}
 .exam-v44 .exam-brand img{width:68px!important;max-width:68px!important;max-height:34px!important}
 .exam-v44 .official-exam-heading{min-width:0!important;padding:2px 5px!important}
 .exam-v44 .official-exam-heading strong{font-size:8px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 .exam-v44 .official-exam-heading span{font-size:7px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 .exam-v44 .exam-tools{min-width:max-content!important;padding-left:2px!important;gap:2px!important}
 .exam-v44 .timer{min-width:56px!important;height:32px!important;padding:2px 4px!important}
 .exam-v44 .timer small{display:block!important;font-size:5.5px!important}
 .exam-v44 .timer strong{font-size:10px!important}
 .exam-v44 .pause-btn{width:28px!important;height:30px!important;min-height:30px!important;padding:0!important}
 .exam-v44 .exit-btn{display:none!important}

 .exam-v44 .official-exam-main{height:calc(100dvh - 47px)!important;grid-template-rows:minmax(0,1fr) 46px 86px!important;padding:0!important}
 .exam-v44:has(.exam-ad-top:not(:empty)) .official-exam-main{height:calc(100dvh - 79px)!important}
 .exam-v44 .official-question-layout{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:minmax(105px,28%) minmax(0,72%)!important;min-height:0!important;height:100%!important}
 .exam-v44 .official-question-image{order:1!important;grid-column:1!important;grid-row:1!important;width:100%!important;height:100%!important;min-height:0!important;padding:5px!important;border:0!important;border-bottom:1px solid #d8dfe3!important;background:#f1f1ef!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important}
 .exam-v44 .official-question-image>img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;border:3px solid #fff!important;box-shadow:0 0 0 1px #d6d9da!important}
 .exam-v44 .official-question-image figcaption,.exam-v44 .official-question-image .exam-ad{display:none!important}
 .exam-v44 .official-question-content{order:2!important;grid-column:1!important;grid-row:2!important;width:100%!important;height:100%!important;min-height:0!important;padding:6px 9px 4px!important;overflow:auto!important}
 .exam-v44 .question-title{grid-template-columns:38px minmax(0,1fr)!important;gap:4px!important;margin:0 0 4px!important}
 .exam-v44 .question-title>span{font-size:23px!important}
 .exam-v44 .question-title h1{font-size:clamp(13px,3.55vw,16px)!important;line-height:1.14!important}
 .exam-v44 .answer-list{margin:3px 0!important;gap:1px!important}
 .exam-v44 .answer{min-height:34px!important;grid-template-columns:31px 1fr 16px!important;padding:2px 3px!important}
 .exam-v44 .answer>b{width:26px!important;height:26px!important;font-size:12px!important}
 .exam-v44 .answer span{font-size:10.5px!important;line-height:1.18!important}
 .exam-v44 .question-source{display:none!important}

 .exam-v44 .official-actions{height:46px!important;grid-template-columns:36px 58px minmax(72px,1fr) minmax(90px,1.12fr)!important;gap:3px!important;padding:3px 4px!important}
 .exam-v44 .official-actions button{height:38px!important;min-height:38px!important;min-width:0!important;padding:0 2px!important;font-size:7.5px!important;overflow:hidden!important;text-overflow:ellipsis!important}
 .exam-v44 .official-actions #prev-q{font-size:19px!important}
 .exam-v44 .official-actions .flag{width:auto!important}
 .exam-v44 .official-actions .next span{display:none!important}
 .exam-v44 .official-actions .finish{font-size:7.5px!important}

 .exam-v44 .official-palette{height:86px!important;min-height:86px!important;padding:4px!important;overflow:hidden!important}
 .exam-v44 .palette-grid{height:78px!important;display:grid!important;grid-template-columns:repeat(10,minmax(0,1fr))!important;grid-template-rows:repeat(3,24px)!important;grid-auto-rows:24px!important;gap:3px!important}
 .exam-v44 .palette-grid button{height:24px!important;min-height:24px!important;font-size:9px!important;padding:0!important}
}

/* Móviles bajos (Safari/Chrome con barras grandes): cede más espacio a texto sin
   perder nunca controles ni 01–30. */
@media(max-width:640px) and (max-height:700px){
 .exam-v44 .official-question-layout{grid-template-rows:minmax(88px,24%) minmax(0,76%)!important}
 .exam-v44 .question-title h1{font-size:12.5px!important}
 .exam-v44 .answer span{font-size:10px!important}
}

/* ===== V6.1 — catálogo numerado, progreso por permiso e imagen verificada ===== */
.catalog-callout{margin-top:16px;padding:22px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;border-left:5px solid var(--yellow);background:linear-gradient(120deg,#fff 0%,#f7fbfd 100%)}
.catalog-callout small{color:#648094;font-size:9px;font-weight:900;letter-spacing:.1em}
.catalog-callout h2{margin:5px 0;color:var(--navy);font-size:25px}
.catalog-callout p{max-width:760px;margin:0;color:#5c7485;font-size:12px;line-height:1.55}
.catalog-callout-actions{min-width:220px;display:grid;gap:8px}
.catalog-callout-actions button{min-height:43px;border:1px solid #cfdde5;border-radius:9px;background:#fff;color:var(--navy);font-size:9px;font-weight:900;padding:0 14px}
.catalog-callout-actions .modal-primary{background:var(--yellow);border-color:var(--yellow)}
.catalog-callout-actions button:disabled{opacity:.55;cursor:not-allowed}
.progress-permits{margin:14px 0 16px}
.catalog-progress-panel{padding:0;overflow:hidden}
.catalog-list-heading{padding:18px 20px;border-bottom:1px solid #e0e8ed;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fbfdfe}
.catalog-list-heading h3{margin:0;color:var(--navy)}
.catalog-list-heading p{margin:4px 0 0;color:#6d8392;font-size:10px}
.catalog-list-heading .modal-primary{min-height:42px;padding:0 16px;border:0;border-radius:9px;background:var(--yellow);color:var(--navy);font-size:9px;font-weight:950}
.catalog-test-list{max-height:720px;overflow:auto;scrollbar-color:#b9cbd6 #eef3f6}
.catalog-test-row{display:grid;grid-template-columns:145px minmax(0,1fr) 220px;gap:15px;align-items:center;padding:13px 20px;border-bottom:1px solid #e6edf1;background:#fff}
.catalog-test-row:last-child{border-bottom:0}
.catalog-test-row:hover{background:#fbfdfe}
.catalog-test-row.is-pending{background:#fafbfc;color:#728590}
.catalog-test-number{display:grid;gap:1px}
.catalog-test-number small{color:#758b99;font-size:8px;font-weight:850;text-transform:uppercase}
.catalog-test-number strong{color:var(--navy);font-size:15px}
.catalog-test-number span{color:#718694;font-size:9px}
.catalog-test-report{display:grid;gap:3px}
.catalog-test-report b{color:#264b63;font-size:11px}
.catalog-test-report span{color:#6a8190;font-size:9px}
.catalog-test-state{display:grid;grid-template-columns:86px 1fr;align-items:center;gap:9px}
.catalog-test-state em{font-style:normal;font-size:8px;font-weight:950;text-align:center;padding:7px 6px;border-radius:999px;background:#edf3f6;color:#526d7e}
.catalog-test-state em.ok{background:#e5f7ed;color:#177547}
.catalog-test-state em.bad{background:#ffefed;color:#a43d35}
.catalog-test-state em.pending{background:#f1f1ef;color:#7c7d79}
.catalog-test-state em.new{background:#e8f4fb;color:#1a6892}
.catalog-test-state button{min-height:36px;border:1px solid #cfdee6;border-radius:8px;background:#fff;color:var(--blue);font-size:8px;font-weight:950;padding:0 9px}
.catalog-test-state button:not(:disabled):hover{border-color:var(--yellow);background:#fffbea}
.catalog-test-state button:disabled{color:#8a969d;background:#f2f4f5;cursor:not-allowed}
.catalog-empty{padding:28px;color:#647c8c;text-align:center;font-size:12px}
.review-source{display:inline-flex;margin-top:10px;color:#146d9a;font-size:9px;font-weight:850;text-decoration:none}

/* Cuando no existe una escena con conexión/licencia verificadas, no se muestra
   ningún sustituto genérico: la pregunta ocupa todo el ancho. */
@media(min-width:641px){
 .exam-v44 .official-question-layout.without-question-image{grid-template-columns:1fr!important}
 .exam-v44 .official-question-layout.without-question-image .official-question-content{width:min(920px,100%)!important;margin:0 auto!important;padding-left:clamp(24px,5vw,70px)!important;padding-right:clamp(24px,5vw,70px)!important}
}
@media(max-width:640px){
 .catalog-callout{grid-template-columns:1fr;padding:16px;gap:15px}
 .catalog-callout-actions{min-width:0}
 .catalog-list-heading{display:grid;padding:14px}
 .catalog-test-list{max-height:none}
 .catalog-test-row{grid-template-columns:84px minmax(0,1fr);gap:8px;padding:11px 12px}
 .catalog-test-state{grid-column:1/-1;grid-template-columns:86px 1fr}
 .catalog-test-state button{min-height:38px}
 .exam-v44 .official-question-layout.without-question-image{display:block!important;grid-template-rows:1fr!important;height:100%!important}
 .exam-v44 .official-question-layout.without-question-image .official-question-content{height:100%!important;min-height:100%!important;padding:12px 14px 8px!important}
}
.nav-admin-link{font-size:11px;font-weight:850;color:#60798a;text-decoration:none;padding:8px 10px;border-radius:8px}.nav-admin-link:hover{background:#eef4f7;color:#0d2b40}


/* ===== Haciendo Test V7.0 · interfaz de test tipo aplicación ===== */
body:has(.exam-app){background:#f4f6f8;overflow-x:hidden}
.exam-app{--exam-blue:#064d84;--exam-blue2:#0b6da8;--exam-yellow:#f4c900;--exam-ink:#15191d;--exam-line:#dfe4e8;min-height:100dvh;background:#f5f6f7;color:var(--exam-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.exam-app .official-like-top{position:sticky;top:0;z-index:30;width:100%;height:82px;display:grid!important;grid-template-columns:minmax(230px,29%) 1fr auto;align-items:stretch;padding:0!important;background:#fff;border:0!important;border-bottom:1px solid #d7dde2!important;box-shadow:0 2px 8px rgba(20,48,67,.04)}
.exam-app .exam-brand{display:flex;align-items:center;padding:8px 20px;border-right:1px solid #dce2e7}
.exam-app .exam-brand a{display:flex;align-items:center;height:100%}
.exam-app .exam-brand img{width:190px!important;max-width:100%!important;height:58px!important;object-fit:contain;object-position:left center}
.exam-app .official-exam-heading{display:flex!important;flex-direction:column;justify-content:center;gap:4px;padding:9px 20px;min-width:0}
.exam-app .official-exam-heading strong{color:var(--exam-blue)!important;font-size:14px!important;line-height:1.15!important;font-weight:900!important;letter-spacing:.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.exam-app .official-exam-heading span{display:block!important;color:#202428!important;font-size:14px!important;font-weight:750!important}
.exam-app .official-exam-heading small{display:none!important}
.exam-app .exam-tools{display:flex!important;align-items:center!important;gap:9px!important;padding:8px 14px!important}
.exam-app .timer{height:62px!important;min-width:132px!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;background:#fff!important;border:1px solid #cfd7dd!important;border-radius:11px!important;padding:5px 12px!important;box-shadow:none!important}
.exam-app .timer small{color:#587083!important;font-size:10px!important;font-weight:650!important;line-height:1.1!important}
.exam-app .timer strong{color:var(--exam-blue)!important;font-size:25px!important;line-height:1.15!important;letter-spacing:.01em}
.exam-app .pause-btn,.exam-app .exit-btn,.exam-app .help-toggle{height:62px!important;border:1px solid #cfd7dd!important;border-radius:11px!important;background:#fff!important;color:var(--exam-blue)!important;box-shadow:none!important;font-weight:900!important}
.exam-app .pause-btn{width:62px!important;font-size:24px!important}
.exam-app .exit-btn{padding:0 14px!important;font-size:11px!important}
.exam-app .exam-progress-line{position:sticky;top:82px;z-index:29;height:4px!important;background:#e8edf0!important}
.exam-app .exam-progress-line i{display:block;height:100%;background:var(--exam-blue2)!important;border-radius:0 4px 4px 0}
.exam-app .official-exam-main{width:min(1120px,100%);margin:0 auto!important;padding:14px 14px 18px!important;display:grid!important;grid-template-columns:1fr!important;gap:10px!important;min-height:calc(100dvh - 86px)!important}
.exam-app .official-question-card{background:#fff!important;border:1px solid #d9dfe4!important;border-radius:14px!important;box-shadow:0 1px 3px rgba(17,35,49,.04)!important;overflow:hidden!important;padding:0!important;margin:0!important;display:flex!important;flex-direction:column!important}
.exam-app .official-question-image{order:0;margin:0!important;padding:12px!important;min-height:0!important;height:auto!important;background:#fff!important;border:0!important;border-bottom:1px solid #e2e7eb!important;display:grid!important;place-items:center!important;position:relative}
.exam-app .official-question-image img{display:block!important;width:auto!important;max-width:min(640px,100%)!important;height:auto!important;max-height:350px!important;object-fit:contain!important;border-radius:2px!important;background:#f4f6f7!important;box-shadow:none!important}
.exam-app .official-question-image figcaption{display:none!important}
.exam-app .official-question-content{order:1;padding:18px 18px 8px!important;min-width:0!important}
.exam-app .question-title{display:grid!important;grid-template-columns:auto 1fr!important;align-items:start!important;gap:16px!important;margin:0 0 13px!important}
.exam-app .question-title>span{color:#0472ad!important;font-size:36px!important;font-weight:950!important;line-height:1!important;letter-spacing:-.04em!important;padding-top:2px!important}
.exam-app .question-title h1{margin:0!important;color:#14181c!important;font-size:25px!important;line-height:1.26!important;letter-spacing:-.02em!important;font-weight:900!important;max-width:none!important}
.exam-app .answer-list{display:grid!important;gap:2px!important;margin:0!important}
.exam-app .answer{min-height:65px!important;width:100%!important;border:0!important;border-top:1px solid #edf0f2!important;border-radius:0!important;background:#fff!important;display:grid!important;grid-template-columns:48px 1fr 26px!important;align-items:center!important;gap:13px!important;padding:9px 7px!important;text-align:left!important;color:#252a2f!important;box-shadow:none!important;transform:none!important}
.exam-app .answer:first-child{border-top:0!important}
.exam-app .answer:hover{background:#f8fafb!important}
.exam-app .answer>b{width:44px!important;height:44px!important;border-radius:50%!important;border:1.5px solid #d3d9de!important;background:#fafbfc!important;display:grid!important;place-items:center!important;color:#444b51!important;font-size:18px!important;font-weight:500!important}
.exam-app .answer>span{font-size:19px!important;line-height:1.35!important;font-weight:450!important}
.exam-app .answer>em{font-style:normal!important;color:#fff!important;font-size:15px!important;text-align:center!important}
.exam-app .answer.selected{background:#f2f8fc!important}
.exam-app .answer.selected>b{border-color:var(--exam-blue2)!important;background:var(--exam-blue2)!important;color:#fff!important}
.exam-app .answer.selected>em{width:22px;height:22px;border-radius:50%;background:var(--exam-blue2);display:grid;place-items:center}
.exam-app .help-explanation{margin:12px 0!important;border-radius:12px!important}
.exam-app .question-source{display:none!important}
.exam-app .official-actions{display:grid!important;grid-template-columns:100px minmax(230px,1fr) minmax(260px,1.25fr)!important;gap:16px!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;position:relative!important;inset:auto!important}
.exam-app .official-actions button{height:62px!important;border-radius:12px!important;font-size:14px!important;font-weight:900!important;box-shadow:none!important;letter-spacing:.02em!important}
.exam-app #prev-q{background:#fff!important;border:1px solid #d1d8dd!important;color:#1d6394!important;font-size:29px!important}
.exam-app #next-q{background:#fff!important;border:1px solid #d1d8dd!important;color:#17364c!important}
.exam-app #next-q span{font-size:25px;margin-left:13px;color:#0b6da8}
.exam-app #finish-exam{background:linear-gradient(#fffdf5,#fff9df)!important;border:2px solid #f0c52c!important;color:#17364c!important}
.exam-app .official-palette{margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;position:relative!important;inset:auto!important;width:100%!important}
.exam-app .palette-head,.exam-app .palette-legend{display:none!important}
.exam-app .palette-grid{display:grid!important;grid-template-columns:repeat(15,minmax(0,1fr))!important;gap:8px!important}
.exam-app .palette-grid button{height:48px!important;min-width:0!important;border-radius:9px!important;border:1px solid #d4dce2!important;background:#fff!important;color:#17466a!important;font-size:14px!important;font-weight:800!important;box-shadow:none!important}
.exam-app .palette-grid button.current{border:3px solid #0767a2!important;background:#fff!important;color:#064d84!important}
.exam-app .palette-grid button.answered:not(.current){background:#e9f4fa!important;border-color:#9dc8df!important;color:#064d84!important}
.exam-app .exam-ad:empty{display:none!important}
.exam-app .pause-overlay{z-index:80!important}
.menu-admin-link{display:flex;align-items:center;justify-content:center;text-decoration:none;color:#173b58;font-weight:850;padding:12px;border-radius:10px;background:#eef4f7;margin-top:6px}

@media(max-width:760px){
  body:has(.exam-app){background:#f4f5f6}
  .exam-app{min-height:100dvh;padding-bottom:max(6px,env(safe-area-inset-bottom))}
  .exam-app .official-like-top{height:70px!important;grid-template-columns:34% 1fr auto!important}
  .exam-app .exam-brand{padding:5px 9px!important}
  .exam-app .exam-brand img{width:132px!important;height:50px!important}
  .exam-app .official-exam-heading{padding:6px 8px!important;gap:3px!important}
  .exam-app .official-exam-heading strong{font-size:10.5px!important;line-height:1.15!important;white-space:normal!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .exam-app .official-exam-heading span{font-size:10px!important;white-space:nowrap!important}
  .exam-app .exam-tools{gap:6px!important;padding:5px 7px 5px 3px!important}
  .exam-app .timer{height:54px!important;min-width:82px!important;padding:4px 7px!important;border-radius:9px!important}
  .exam-app .timer small{font-size:8px!important;white-space:nowrap!important}
  .exam-app .timer strong{font-size:18px!important}
  .exam-app .pause-btn{height:54px!important;width:44px!important;border-radius:9px!important;font-size:19px!important;padding:0!important}
  .exam-app .exit-btn,.exam-app .help-toggle{display:none!important}
  .exam-app .exam-progress-line{top:70px!important;height:3px!important}
  .exam-app .official-exam-main{padding:8px 6px 7px!important;gap:7px!important;min-height:calc(100dvh - 73px)!important}
  .exam-app .official-question-card{border-radius:12px!important;min-height:0!important}
  .exam-app .official-question-image{padding:6px!important;min-height:154px!important;max-height:252px!important}
  .exam-app .official-question-image img{max-width:100%!important;max-height:238px!important;width:auto!important;height:auto!important}
  .exam-app .official-question-content{padding:12px 12px 4px!important}
  .exam-app .question-title{gap:11px!important;margin-bottom:8px!important}
  .exam-app .question-title>span{font-size:31px!important}
  .exam-app .question-title h1{font-size:19px!important;line-height:1.24!important}
  .exam-app .answer{min-height:55px!important;grid-template-columns:39px 1fr 20px!important;gap:9px!important;padding:6px 3px!important}
  .exam-app .answer>b{width:36px!important;height:36px!important;font-size:15px!important}
  .exam-app .answer>span{font-size:15px!important;line-height:1.28!important}
  .exam-app .official-actions{grid-template-columns:58px minmax(120px,1fr) minmax(150px,1.35fr)!important;gap:7px!important}
  .exam-app .official-actions button{height:51px!important;border-radius:9px!important;font-size:10.5px!important;padding:0 6px!important}
  .exam-app #prev-q{font-size:25px!important}
  .exam-app #next-q span{font-size:19px!important;margin-left:4px!important}
  .exam-app .palette-grid{grid-template-columns:repeat(10,minmax(0,1fr))!important;gap:5px!important}
  .exam-app .palette-grid button{height:37px!important;border-radius:7px!important;font-size:11px!important;padding:0!important}
  .exam-app .palette-grid button.current{border-width:2px!important}
}
@media(max-width:390px){
  .exam-app .exam-brand img{width:116px!important}
  .exam-app .official-exam-heading strong{font-size:9.8px!important}
  .exam-app .official-exam-heading span{font-size:9.5px!important}
  .exam-app .timer{min-width:74px!important}.exam-app .timer strong{font-size:17px!important}
  .exam-app .pause-btn{width:40px!important}
  .exam-app .question-title h1{font-size:18px!important}.exam-app .answer>span{font-size:14.5px!important}
}


/* ===== Haciendo Test V7.1 · imagen grande, centrada y responsive ===== */
.exam-app .official-question-card{overflow:visible!important}
.exam-app .official-question-image{
  width:100%!important;
  padding:16px 18px 14px!important;
  background:linear-gradient(180deg,#fbfcfd 0%,#f2f5f7 100%)!important;
  border-bottom:1px solid #dfe5e9!important;
  min-height:0!important;
  max-height:none!important;
  display:block!important;
}
.exam-app .question-image-stage{
  width:min(860px,100%)!important;
  height:clamp(330px,44vh,520px)!important;
  margin:0 auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  border:1px solid #d8e0e5!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 6px 22px rgba(23,59,83,.08)!important;
}
.exam-app .official-question-image .question-image-stage>img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  margin:0 auto!important;
  object-fit:contain!important;
  object-position:center center!important;
  border:0!important;
  border-radius:8px!important;
  background:#fff!important;
  box-shadow:none!important;
  image-rendering:auto!important;
}
.exam-app .exam-ad-below-image{width:100%!important;max-width:1120px!important;margin:0 auto!important;text-align:center!important}
.exam-app .official-question-content{padding-top:20px!important}

@media(min-width:1100px){
  .exam-app .official-exam-main{width:min(1240px,100%)!important;padding-left:20px!important;padding-right:20px!important}
  .exam-app .question-image-stage{width:min(920px,82vw)!important;height:clamp(360px,46vh,560px)!important}
}

@media(max-width:760px){
  body:has(.exam-app){overflow-x:hidden!important}
  .exam-app .official-exam-main{width:100%!important;padding:7px 7px max(10px,env(safe-area-inset-bottom))!important;gap:7px!important}
  .exam-app .official-question-card{width:100%!important;border-radius:13px!important;overflow:hidden!important}
  .exam-app .official-question-image{padding:7px!important;background:#f3f5f6!important}
  .exam-app .question-image-stage{
    width:100%!important;
    height:clamp(235px,34vh,320px)!important;
    min-height:235px!important;
    border-radius:9px!important;
    box-shadow:none!important;
  }
  .exam-app .official-question-image .question-image-stage>img{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center!important;
    border-radius:6px!important;
  }
  .exam-app .official-question-content{padding:13px 12px 5px!important}
  .exam-app .question-title{gap:10px!important;margin-bottom:9px!important}
  .exam-app .question-title>span{font-size:30px!important}
  .exam-app .question-title h1{font-size:19px!important;line-height:1.23!important}
  .exam-app .answer{min-height:56px!important;padding:7px 4px!important}
  .exam-app .answer>span{font-size:15.2px!important}
  .exam-app .official-actions{position:sticky!important;bottom:0!important;z-index:18!important;background:rgba(245,246,247,.97)!important;padding:5px 0 calc(5px + env(safe-area-inset-bottom))!important;backdrop-filter:blur(8px)!important}
}

@media(max-width:430px){
  .exam-app .question-image-stage{height:clamp(230px,32vh,290px)!important;min-height:230px!important}
  .exam-app .official-question-image{padding:6px!important}
  .exam-app .question-title>span{font-size:28px!important}
  .exam-app .question-title h1{font-size:18.2px!important}
}

@media(max-width:360px){
  .exam-app .question-image-stage{height:220px!important;min-height:220px!important}
  .exam-app .official-question-content{padding-left:10px!important;padding-right:10px!important}
  .exam-app .answer>span{font-size:14.4px!important}
}

/* Legacy compatibility styles (overridden by V9.1) */
.study-source-note{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;margin:10px 0 14px;border:1px solid #d6e4eb;border-radius:12px;background:#f7fafc;color:#3f5d70}.study-source-note b{white-space:nowrap;color:#123c59}.study-source-note span{font-size:12px;line-height:1.55}.study-reveal{width:100%;min-height:52px;margin-top:10px}.study-explanation{margin-top:14px}.study-self-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.study-self-actions button{min-height:50px;border:1px solid #c8d8e2;border-radius:12px;background:#fff;font-weight:900;color:#123c59;cursor:pointer}.study-self-actions button.selected{background:#0c3d5d;color:#fff;border-color:#0c3d5d}@media(max-width:620px){.study-source-note{display:grid}.study-self-actions{grid-template-columns:1fr}}


/* V9.1 — banco real 4.385 + tests A/B/C obligatorios + revisión */
.official-test-callout,.bank-entry-callout{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:18px 0;padding:24px;border:1px solid #dbe7ef;border-radius:20px;background:#fff;box-shadow:0 8px 28px rgba(6,43,85,.06)}
.official-test-callout{background:linear-gradient(135deg,#062b55,#0e4f7b);color:#fff;border:0}.official-test-callout h2,.official-test-callout p{color:#fff}.official-badge{display:inline-flex;align-items:center;background:#ffd400;color:#062b55;border-radius:999px;padding:8px 12px;font-size:11px;font-weight:950;letter-spacing:.06em;white-space:nowrap}.real-bank-stats{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.real-bank-stats span{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);padding:7px 10px;border-radius:999px;font-size:12px}.official-test-callout .modal-primary{min-width:230px;background:#ffd400;color:#062b55}.bank-entry-callout button{border:0;background:#062b55;color:#fff;padding:14px 18px;border-radius:12px;font-weight:900;cursor:pointer}
.bank-browser code{background:#edf4f8;padding:2px 6px;border-radius:6px}.bank-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 210px auto;gap:12px;background:#fff;border:1px solid #dbe7ef;border-radius:18px;padding:16px;margin:20px 0}.bank-toolbar label{display:grid;gap:6px}.bank-toolbar label span{font-size:11px;font-weight:900;color:#587186;text-transform:uppercase;letter-spacing:.06em}.bank-toolbar input,.bank-toolbar select{height:46px;border:1px solid #cbdbe5;border-radius:11px;padding:0 12px;font:inherit;background:#fff;color:#163a58}.bank-toolbar button{align-self:end;height:46px;border:0;border-radius:11px;background:#062b55;color:#fff;font-weight:900;padding:0 18px}.bank-results-summary{font-size:13px;color:#5f778a;margin:8px 2px 14px}.bank-question-list{display:grid;gap:14px}.bank-question-card{background:#fff;border:1px solid #dbe7ef;border-radius:18px;padding:18px;box-shadow:0 5px 20px rgba(6,43,85,.045)}.bank-question-card>img{width:100%;max-height:320px;object-fit:contain;background:#f4f7f9;border-radius:12px;margin:12px 0}.bank-question-meta{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-bottom:9px}.bank-question-meta span,.bank-question-meta b,.bank-question-meta em{font-size:10px;padding:5px 8px;border-radius:999px;background:#eef4f7;color:#526c80;font-style:normal}.bank-question-meta b{background:#ffd400;color:#062b55}.bank-question-card h2{font-size:18px;line-height:1.35;color:#123a5b;margin:8px 0 14px}.bank-question-card details{border-top:1px solid #e5edf2;padding-top:12px}.bank-question-card summary{cursor:pointer;font-weight:900;color:#0a568d}.bank-answer{margin-top:12px;background:#f5f9fb;padding:14px;border-radius:12px}.bank-answer strong{color:#147a4b}.bank-answer p{white-space:pre-wrap;line-height:1.55}.bank-pagination{display:flex;justify-content:center;align-items:center;gap:12px;margin:20px 0}.bank-pagination button{border:0;background:#062b55;color:#fff;border-radius:10px;padding:11px 15px;font-weight:900}.bank-pagination button:disabled{opacity:.35}.bank-pagination span{font-size:12px;color:#587186;font-weight:800}
@media(max-width:820px){.official-test-callout,.bank-entry-callout{align-items:stretch;flex-direction:column}.official-test-callout .modal-primary,.bank-entry-callout button{width:100%}.bank-toolbar{grid-template-columns:1fr}.bank-toolbar button{width:100%}.bank-question-card{padding:15px}.bank-question-card h2{font-size:17px}.real-bank-stats{gap:6px}.desktop-nav button[data-section="banco"]{display:none}}


/* V9.1 — test A/B/C completo, preparación verificada y revisión final */
.test-preparing-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f4f8fb}
.test-preparing-card{width:min(92vw,560px);background:#fff;border:1px solid #dbe7ef;border-radius:22px;padding:30px;text-align:center;box-shadow:0 20px 60px rgba(6,43,85,.12)}
.test-preparing-card img{width:180px;max-width:70%;margin-bottom:18px}.test-preparing-card small{display:block;color:#638096;font-weight:900;letter-spacing:.1em}.test-preparing-card h1{color:#06365a;margin:8px 0 10px;font-size:28px}.test-preparing-card p{color:#587186;line-height:1.55}.test-preparing-card>strong{display:block;color:#06365a;font-size:22px;margin-top:12px}.test-preparing-card>span{display:block;color:#708596;font-size:12px;margin-top:4px}
.prepare-progress{height:12px;border-radius:999px;background:#e8eff4;overflow:hidden;margin-top:18px}.prepare-progress i{display:block;height:100%;border-radius:999px;background:#ffd200;transition:width .25s ease}
.question-explain-actions{display:flex;align-items:center;gap:10px;margin:12px 0 4px}.question-explain-actions button{min-height:44px;border:1px solid #0a5d91;border-radius:10px;background:#fff;color:#0a4d78;padding:0 16px;font-size:11px;font-weight:900}.question-explain-actions button:disabled{opacity:.45;cursor:not-allowed}.question-explain-actions small{color:#6a8090;font-size:10px;line-height:1.35}
.review-filter{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 12px}.review-filter button{border:1px solid #cbdbe5;background:#fff;color:#17435f;border-radius:999px;padding:9px 13px;font-size:10px;font-weight:900}.review-filter button.active{background:#06365a;color:#fff;border-color:#06365a}
.review-options{display:grid;gap:7px;margin:12px 0}.review-options>div{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:9px;border:1px solid #dbe5ec;border-radius:10px;padding:8px 10px;background:#fff}.review-options b{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#edf4f8;color:#06365a}.review-options span{font-size:11px;line-height:1.45}.review-options em{font-style:normal;font-size:9px;font-weight:900;color:#587186}.review-options>div.is-correct{border-color:#48a77a;background:#eefaf4}.review-options>div.is-correct b{background:#23965f;color:#fff}.review-options>div.is-wrong-chosen{border-color:#dc7373;background:#fff2f2}.review-options>div.is-wrong-chosen b{background:#d84949;color:#fff}.review-verdict{font-size:11px!important;margin-top:10px!important}
@media(max-width:620px){.question-explain-actions{display:grid}.question-explain-actions button{width:100%}.test-preparing-card{padding:22px 18px}.test-preparing-card h1{font-size:23px}.review-options>div{grid-template-columns:30px minmax(0,1fr)}.review-options em{grid-column:2}}


/* ===== Haciendo Test V9.1 · examen profesional responsive inspirado en interfaz DGT ===== */
/* Este bloque es autoritativo y corrige reglas heredadas de versiones anteriores. */
body:has(.exam-app){background:#eef2f4!important;overflow-x:hidden!important}
.exam-app{background:#eef2f4!important}
.exam-app .official-like-top{height:76px!important;grid-template-columns:minmax(170px,24%) minmax(0,1fr) auto!important;background:#fff!important;border-bottom:1px solid #ccd6dc!important;box-shadow:0 2px 10px rgba(15,46,67,.05)!important}
.exam-app .exam-brand{padding:8px 16px!important;border-right:1px solid #dce3e7!important}
.exam-app .exam-brand img{width:164px!important;height:52px!important;object-fit:contain!important;object-position:left center!important}
.exam-app .official-exam-heading{padding:8px 16px!important}
.exam-app .official-exam-heading strong{font-size:14px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.exam-app .official-exam-heading span{font-size:12px!important;color:#384b59!important}
.exam-app .exam-tools{gap:8px!important;padding:7px 12px!important}
.exam-app .timer{height:58px!important;min-width:124px!important;border-radius:10px!important}
.exam-app .timer strong{font-size:23px!important}
.exam-app .pause-btn,.exam-app .exit-btn{height:58px!important;border-radius:10px!important}
.exam-app .pause-btn{width:58px!important}
.exam-app .exam-progress-line{top:76px!important;height:4px!important}
.exam-app .official-exam-main{width:min(1180px,100%)!important;min-height:0!important;margin:0 auto!important;padding:12px 14px 22px!important;display:block!important}
.exam-app .official-question-card{width:100%!important;min-height:0!important;margin:0!important;padding:0!important;border:1px solid #d1dbe1!important;border-radius:12px!important;background:#fff!important;box-shadow:0 4px 16px rgba(11,42,63,.05)!important;overflow:hidden!important}
.exam-app .official-question-layout{display:grid!important;grid-template-columns:minmax(320px,42%) minmax(0,58%)!important;align-items:stretch!important;min-height:430px!important;height:auto!important;overflow:visible!important}
.exam-app .official-question-layout.without-question-image{grid-template-columns:1fr!important;min-height:0!important}
.exam-app .official-question-image{order:1!important;grid-column:1!important;grid-row:1!important;width:100%!important;height:auto!important;min-height:430px!important;max-height:none!important;margin:0!important;padding:14px!important;border:0!important;border-right:1px solid #dce3e7!important;border-bottom:0!important;background:#f3f5f6!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important}
.exam-app .question-image-stage{width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important}
.exam-app .official-question-image .question-image-stage>img{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:470px!important;margin:auto!important;object-fit:contain!important;object-position:center!important;border:0!important;border-radius:6px!important;background:#fff!important;box-shadow:0 0 0 1px #d7dde1!important;image-rendering:auto!important}
.exam-app .official-question-image figcaption{display:none!important}
.exam-app .official-question-content{order:2!important;grid-column:2!important;grid-row:1!important;width:100%!important;height:auto!important;min-height:0!important;padding:28px 28px 24px!important;overflow:visible!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important}
.exam-app .without-question-image .official-question-content{grid-column:1!important;width:min(940px,100%)!important;margin:0 auto!important;padding:32px clamp(28px,5vw,70px)!important}
.exam-app .question-title{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;align-items:start!important;gap:14px!important;margin:0 0 24px!important}
.exam-app .question-title>span{font-size:42px!important;line-height:1!important;color:#0873ad!important;font-weight:900!important;padding-top:0!important}
.exam-app .question-title h1{margin:0!important;font-size:clamp(21px,2vw,28px)!important;line-height:1.28!important;color:#15191d!important;font-weight:850!important;letter-spacing:-.015em!important}
.exam-app .answer-list{display:grid!important;gap:10px!important;margin:0!important}
.exam-app .answer{width:100%!important;min-height:64px!important;padding:8px 10px!important;display:grid!important;grid-template-columns:46px minmax(0,1fr) 26px!important;align-items:center!important;gap:13px!important;border:1px solid transparent!important;border-radius:10px!important;background:#fff!important;color:#20272c!important;text-align:left!important;box-shadow:none!important}
.exam-app .answer:hover{background:#f7fafc!important;border-color:#d9e4ea!important}
.exam-app .answer>b{width:42px!important;height:42px!important;border:2px solid #d5dce1!important;border-radius:50%!important;background:#f8f9fa!important;color:#57636c!important;font-size:17px!important;font-weight:750!important}
.exam-app .answer>span{font-size:18px!important;line-height:1.38!important;font-weight:450!important}
.exam-app .answer>em{width:22px!important;height:22px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:transparent!important;color:transparent!important;font-style:normal!important;font-size:14px!important}
.exam-app .answer.selected{background:#fffbea!important;border-color:#f0cf32!important}
.exam-app .answer.selected>b{background:#ffd31a!important;border-color:#ffd31a!important;color:#163a55!important;box-shadow:0 0 0 3px rgba(255,211,26,.18)!important}
.exam-app .answer.selected>em{background:#ffd31a!important;color:#163a55!important}
.exam-app .question-explain-actions,.exam-app .help-explanation{display:none!important}
.exam-app .exam-controls-block{width:100%!important;margin-top:10px!important;padding:0!important}
.exam-app .official-actions{display:grid!important;grid-template-columns:92px minmax(210px,1fr) minmax(230px,1fr)!important;gap:10px!important;margin:0!important;padding:0!important;position:static!important;background:transparent!important;backdrop-filter:none!important}
.exam-app .official-actions button{height:54px!important;border-radius:9px!important;font-size:13px!important;font-weight:900!important}
.exam-app #prev-q{background:#fff!important;border:1px solid #cbd6dc!important;color:#17648f!important;font-size:27px!important}
.exam-app #next-q{background:#fff!important;border:1px solid #cbd6dc!important;color:#153d58!important}
.exam-app #next-q:not(:disabled):hover{background:#f8fbfc!important}
.exam-app #finish-exam{background:#fffdf3!important;border:2px solid #edc626!important;color:#173b55!important}
.exam-app .official-actions button:disabled{opacity:.38!important;cursor:not-allowed!important}
.exam-app .official-palette{width:100%!important;margin:8px 0 0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;position:static!important;height:auto!important}
.exam-app .palette-grid{display:grid!important;grid-template-columns:repeat(15,minmax(0,1fr))!important;gap:6px!important}
.exam-app .palette-grid button{height:44px!important;min-width:0!important;padding:0!important;border:1px solid #cad6dd!important;border-radius:7px!important;background:#fff!important;color:#31556d!important;font-size:13px!important;font-weight:800!important;box-shadow:none!important}
.exam-app .palette-grid button.current{border:2px solid #0873ad!important;background:#f5fbff!important;color:#075c8b!important}
.exam-app .palette-grid button.answered:not(.current){background:#e9f4fa!important;border-color:#9ac7de!important;color:#075c8b!important}
.exam-app .exam-ad-top:empty,.exam-app .exam-ad-bottom:empty,.exam-app .exam-ad-start:empty{display:none!important}

/* Corrección final: imagen completa y explicaciones únicamente aquí. */
.review-question-image{width:100%;margin:12px 0 14px;padding:10px;border:1px solid #dce5ea;border-radius:12px;background:#f3f5f6;display:flex;justify-content:center;align-items:center;overflow:visible}
.review-question-image img{display:block;width:auto;height:auto;max-width:100%;max-height:460px;object-fit:contain;object-position:center;border-radius:7px;background:#fff}
.review-explanation{white-space:normal}

@media(max-width:900px){
  .exam-app .official-question-layout{grid-template-columns:1fr!important;min-height:0!important}
  .exam-app .official-question-content{order:1!important;grid-column:1!important;grid-row:1!important;padding:22px 20px 18px!important}
  .exam-app .official-question-image{order:2!important;grid-column:1!important;grid-row:2!important;min-height:0!important;height:auto!important;padding:10px 14px 14px!important;border-right:0!important;border-top:1px solid #e0e6ea!important;background:#f4f6f7!important}
  .exam-app .official-question-image .question-image-stage>img{width:auto!important;height:auto!important;max-width:100%!important;max-height:52vh!important;object-fit:contain!important}
  .exam-app .without-question-image .official-question-content{grid-row:1!important}
  .exam-app .palette-grid{grid-template-columns:repeat(10,minmax(0,1fr))!important}
}

@media(max-width:620px){
  .exam-app .official-like-top{height:64px!important;grid-template-columns:96px minmax(0,1fr) auto!important}
  .exam-app .exam-brand{padding:4px 7px!important}
  .exam-app .exam-brand img{width:88px!important;height:46px!important}
  .exam-app .official-exam-heading{padding:5px 7px!important;gap:2px!important}
  .exam-app .official-exam-heading strong{font-size:10px!important;line-height:1.15!important}
  .exam-app .official-exam-heading span{font-size:9px!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .exam-app .exam-tools{padding:4px 6px 4px 2px!important;gap:4px!important}
  .exam-app .timer{height:50px!important;min-width:72px!important;padding:3px 5px!important}
  .exam-app .timer small{font-size:7px!important}
  .exam-app .timer strong{font-size:16px!important}
  .exam-app .pause-btn{width:40px!important;height:50px!important;font-size:18px!important}
  .exam-app .exit-btn{display:none!important}
  .exam-app .exam-progress-line{top:64px!important;height:3px!important}
  .exam-app .official-exam-main{padding:7px 7px calc(10px + env(safe-area-inset-bottom))!important}
  .exam-app .official-question-card{border-radius:10px!important}
  .exam-app .official-question-content{padding:16px 13px 13px!important}
  .exam-app .question-title{grid-template-columns:48px minmax(0,1fr)!important;gap:8px!important;margin-bottom:14px!important}
  .exam-app .question-title>span{font-size:30px!important}
  .exam-app .question-title h1{font-size:18px!important;line-height:1.25!important;font-weight:850!important}
  .exam-app .answer-list{gap:7px!important}
  .exam-app .answer{min-height:56px!important;grid-template-columns:38px minmax(0,1fr) 22px!important;gap:8px!important;padding:7px 6px!important;border-color:#e5ebef!important}
  .exam-app .answer>b{width:35px!important;height:35px!important;font-size:14px!important}
  .exam-app .answer>span{font-size:14.5px!important;line-height:1.3!important}
  .exam-app .official-question-image{padding:8px!important}
  .exam-app .question-image-stage{width:100%!important;height:auto!important;min-height:0!important;overflow:visible!important}
  .exam-app .official-question-image .question-image-stage>img{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:min(300px,38vh)!important;object-fit:contain!important;object-position:center!important;border-radius:5px!important}
  .exam-app .exam-controls-block{margin-top:7px!important}
  .exam-app .official-actions{grid-template-columns:54px minmax(120px,1fr) minmax(135px,1.1fr)!important;gap:6px!important;position:static!important;padding:0!important;background:transparent!important}
  .exam-app .official-actions button{height:48px!important;border-radius:8px!important;font-size:10px!important;padding:0 5px!important}
  .exam-app #prev-q{font-size:23px!important}
  .exam-app #next-q span{font-size:17px!important;margin-left:3px!important}
  .exam-app .official-palette{margin-top:6px!important}
  .exam-app .palette-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:5px!important}
  .exam-app .palette-grid button{height:42px!important;border-radius:7px!important;font-size:12px!important}
  .review-question-image{padding:6px}
  .review-question-image img{max-height:48vh}
}

@media(max-width:370px){
  .exam-app .official-like-top{grid-template-columns:82px minmax(0,1fr) auto!important}
  .exam-app .exam-brand img{width:76px!important}
  .exam-app .official-exam-heading strong{font-size:9px!important}
  .exam-app .official-exam-heading span{font-size:8px!important}
  .exam-app .timer{min-width:64px!important}.exam-app .timer strong{font-size:15px!important}
  .exam-app .question-title h1{font-size:17px!important}
  .exam-app .answer>span{font-size:14px!important}
  .exam-app .official-actions{grid-template-columns:48px 1fr 1fr!important}
  .exam-app .official-actions button{font-size:9px!important}
  .exam-app .palette-grid button{height:39px!important}
}


/* ===== V9.2 FINAL — EXAMEN RESPONSIVE SIN RECORTES =====
   Regla definitiva: móvil fluye verticalmente; PC conserva composición tipo examen.
   Estas reglas están al final para neutralizar hotfixes históricos incompatibles. */
body:has(.exam-app){overflow-x:hidden!important}
.exam-app{width:100%!important;min-height:100dvh!important;height:auto!important;max-height:none!important;overflow:visible!important;background:#eef3f6!important}
.exam-app .official-like-top{position:sticky!important;top:0!important;z-index:60!important;width:100%!important;background:#fff!important;border-bottom:1px solid #d7e0e5!important}
.exam-app .exam-progress-line{position:sticky!important;top:64px!important;z-index:59!important;width:100%!important;background:#dfe7eb!important}
.exam-app .official-exam-main{width:min(1240px,100%)!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0 auto!important;padding:14px 16px 24px!important;display:block!important;overflow:visible!important}
.exam-app .official-question-card{width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;border:1px solid #d4dee4!important;border-radius:14px!important;background:#fff!important;overflow:visible!important;box-shadow:0 6px 22px rgba(7,49,78,.06)!important}
.exam-app .official-question-layout{width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
.exam-app .official-question-content{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;background:#fff!important}
.exam-app .question-title{align-items:start!important}
.exam-app .answer-list{overflow:visible!important}
.exam-app .answer{height:auto!important;max-height:none!important;overflow:visible!important}
.exam-app .answer>span{overflow:visible!important;white-space:normal!important;text-overflow:clip!important}
.exam-app .official-question-image{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;background:#f5f7f8!important}
.exam-app .question-image-stage{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#f5f7f8!important;border:0!important;box-shadow:none!important}
.exam-app .official-question-image .question-image-stage>img{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:520px!important;object-fit:contain!important;object-position:center center!important;margin:0 auto!important;border:1px solid #d1dbe1!important;border-radius:9px!important;background:#fff!important;box-shadow:0 4px 14px rgba(6,43,72,.07)!important}
.exam-app .exam-controls-block{width:100%!important;height:auto!important;min-height:0!important;margin:10px 0 0!important;padding:0!important;overflow:visible!important}
.exam-app .official-actions{height:auto!important;min-height:0!important;overflow:visible!important}
.exam-app .official-palette{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
.exam-app .palette-grid{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}

/* Escritorio / tablet grande: foto a la izquierda; pregunta + A/B/C a la derecha. */
@media(min-width:901px){
  .exam-app .official-like-top{height:72px!important;min-height:72px!important;grid-template-columns:190px minmax(0,1fr) auto!important;padding:0 14px!important}
  .exam-app .exam-progress-line{top:72px!important;height:4px!important}
  .exam-app .official-exam-main{padding-top:18px!important}
  .exam-app .official-question-layout.with-question-image{display:grid!important;grid-template-columns:minmax(320px,38%) minmax(0,62%)!important;align-items:stretch!important}
  .exam-app .official-question-layout.with-question-image .official-question-image{grid-column:1!important;grid-row:1!important;order:1!important;padding:18px!important;border-right:1px solid #dce4e9!important;border-top:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
  .exam-app .official-question-layout.with-question-image .official-question-content{grid-column:2!important;grid-row:1!important;order:2!important;padding:24px 30px!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important}
  .exam-app .without-question-image .official-question-content{padding:28px 34px!important}
  .exam-app .question-title{grid-template-columns:66px minmax(0,1fr)!important;gap:13px!important;margin:0 0 22px!important}
  .exam-app .question-title>span{font-size:42px!important;line-height:1!important}
  .exam-app .question-title h1{font-size:clamp(22px,2vw,30px)!important;line-height:1.25!important}
  .exam-app .answer-list{gap:12px!important;margin:0!important}
  .exam-app .answer{min-height:64px!important;padding:10px 12px!important;grid-template-columns:46px minmax(0,1fr) 24px!important;gap:12px!important;border:1px solid #e0e7eb!important;border-radius:10px!important}
  .exam-app .answer>span{font-size:17px!important;line-height:1.35!important}
  .exam-app .official-question-image .question-image-stage>img{max-height:470px!important}
  .exam-app .official-actions{display:grid!important;grid-template-columns:88px minmax(180px,1fr) minmax(200px,260px)!important;gap:10px!important;margin:0!important;padding:0!important;background:transparent!important}
  .exam-app .official-actions button{height:52px!important;min-height:52px!important}
  .exam-app .official-palette{margin:8px 0 0!important;padding:0!important;background:transparent!important;border:0!important}
  .exam-app .palette-grid{display:grid!important;grid-template-columns:repeat(15,minmax(0,1fr))!important;grid-auto-rows:42px!important;gap:6px!important}
  .exam-app .palette-grid button{height:42px!important;min-height:42px!important;font-size:13px!important}
}

/* Tablet y móvil: nada se recorta; orden natural pregunta -> A/B/C -> foto -> controles -> 01–30. */
@media(max-width:900px){
  html,body{min-height:100%!important;height:auto!important;overflow-y:auto!important;overscroll-behavior-y:auto!important}
  body:has(.exam-app){overflow-y:auto!important;position:static!important}
  .exam-app{min-height:100dvh!important;height:auto!important;overflow:visible!important;padding-bottom:max(12px,env(safe-area-inset-bottom))!important}
  .exam-app .official-like-top{height:68px!important;min-height:68px!important;grid-template-columns:104px minmax(0,1fr) auto!important;padding:0 7px!important;gap:5px!important}
  .exam-app .exam-brand{width:auto!important;padding:4px 5px!important;border-right:1px solid #e0e6ea!important}
  .exam-app .exam-brand img{display:block!important;width:88px!important;height:auto!important;max-width:88px!important;max-height:46px!important}
  .exam-app .official-exam-heading{min-width:0!important;padding:4px 6px!important}
  .exam-app .official-exam-heading strong{display:block!important;font-size:11px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .exam-app .official-exam-heading span{display:block!important;font-size:9px!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin-top:3px!important}
  .exam-app .exam-tools{padding:4px 2px!important;gap:4px!important}
  .exam-app .timer{height:52px!important;min-width:78px!important;padding:4px 6px!important}
  .exam-app .timer small{display:block!important;font-size:7px!important}
  .exam-app .timer strong{font-size:17px!important;line-height:1!important}
  .exam-app .pause-btn{width:42px!important;height:52px!important;min-height:52px!important;padding:0!important;font-size:18px!important}
  .exam-app .exit-btn{display:none!important}
  .exam-app .exam-progress-line{top:68px!important;height:3px!important}
  .exam-app .official-exam-main{width:100%!important;padding:10px 8px 18px!important;display:block!important;overflow:visible!important}
  .exam-app .official-question-card{border-radius:12px!important;overflow:visible!important}
  .exam-app .official-question-layout,.exam-app .official-question-layout.with-question-image{display:flex!important;flex-direction:column!important;width:100%!important;height:auto!important;overflow:visible!important}
  .exam-app .official-question-content{order:1!important;width:100%!important;height:auto!important;padding:18px 14px 14px!important;overflow:visible!important}
  .exam-app .question-title{display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;gap:8px!important;margin:0 0 14px!important}
  .exam-app .question-title>span{font-size:31px!important;line-height:1!important}
  .exam-app .question-title h1{font-size:19px!important;line-height:1.28!important;margin:0!important}
  .exam-app .answer-list{display:grid!important;gap:8px!important;margin:0!important}
  .exam-app .answer{width:100%!important;min-height:58px!important;padding:8px 8px!important;display:grid!important;grid-template-columns:39px minmax(0,1fr) 22px!important;gap:9px!important;align-items:center!important;border:1px solid #dfe7ec!important;border-radius:10px!important;background:#fff!important}
  .exam-app .answer>b{width:35px!important;height:35px!important;font-size:14px!important}
  .exam-app .answer>span{font-size:15px!important;line-height:1.32!important}
  .exam-app .official-question-image{order:2!important;width:100%!important;height:auto!important;padding:10px 12px 14px!important;border-top:1px solid #e0e7eb!important;border-right:0!important;display:block!important;background:#f4f6f7!important}
  .exam-app .question-image-stage{width:100%!important;height:auto!important;min-height:0!important;padding:0!important;overflow:visible!important}
  .exam-app .official-question-image .question-image-stage>img{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:360px!important;object-fit:contain!important;object-position:center center!important;margin:0 auto!important}
  .exam-app .official-question-image figcaption{display:none!important}
  .exam-app .exam-controls-block{margin-top:8px!important}
  .exam-app .official-actions{display:grid!important;grid-template-columns:56px minmax(120px,1fr) minmax(132px,1.05fr)!important;gap:6px!important;position:static!important;margin:0!important;padding:0!important;background:transparent!important;backdrop-filter:none!important}
  .exam-app .official-actions button{height:48px!important;min-height:48px!important;padding:0 6px!important;border-radius:9px!important;font-size:10px!important}
  .exam-app #prev-q{font-size:24px!important}
  .exam-app #next-q span{font-size:16px!important;margin-left:3px!important}
  .exam-app .official-palette{margin:7px 0 0!important;padding:0!important;background:transparent!important;border:0!important}
  .exam-app .palette-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-auto-rows:40px!important;gap:5px!important}
  .exam-app .palette-grid button{height:40px!important;min-height:40px!important;border-radius:7px!important;font-size:12px!important}
}

@media(max-width:430px){
  .exam-app .official-like-top{grid-template-columns:86px minmax(0,1fr) auto!important;height:64px!important;min-height:64px!important}
  .exam-app .exam-brand img{width:75px!important;max-width:75px!important}
  .exam-app .official-exam-heading strong{font-size:10px!important}
  .exam-app .official-exam-heading span{font-size:8px!important}
  .exam-app .timer{height:48px!important;min-width:70px!important;padding:3px 5px!important}
  .exam-app .timer strong{font-size:15px!important}
  .exam-app .pause-btn{width:38px!important;height:48px!important;min-height:48px!important}
  .exam-app .exam-progress-line{top:64px!important}
  .exam-app .official-exam-main{padding:8px 6px 16px!important}
  .exam-app .official-question-content{padding:15px 11px 12px!important}
  .exam-app .question-title{grid-template-columns:43px minmax(0,1fr)!important;gap:7px!important;margin-bottom:12px!important}
  .exam-app .question-title>span{font-size:28px!important}
  .exam-app .question-title h1{font-size:17.5px!important;line-height:1.27!important}
  .exam-app .answer{min-height:54px!important;grid-template-columns:36px minmax(0,1fr) 20px!important;gap:7px!important;padding:7px 6px!important}
  .exam-app .answer>b{width:32px!important;height:32px!important;font-size:13px!important}
  .exam-app .answer>span{font-size:14.2px!important;line-height:1.3!important}
  .exam-app .official-question-image{padding:8px!important}
  .exam-app .official-question-image .question-image-stage>img{max-height:330px!important}
  .exam-app .official-actions{grid-template-columns:50px minmax(100px,1fr) minmax(116px,1.06fr)!important;gap:5px!important}
  .exam-app .official-actions button{height:46px!important;min-height:46px!important;font-size:9.2px!important;padding:0 3px!important}
  .exam-app .palette-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-auto-rows:38px!important;gap:4px!important}
  .exam-app .palette-grid button{height:38px!important;min-height:38px!important;font-size:11px!important}
}

@media(max-width:360px){
  .exam-app .official-like-top{grid-template-columns:74px minmax(0,1fr) auto!important}
  .exam-app .exam-brand img{width:66px!important;max-width:66px!important}
  .exam-app .timer{min-width:64px!important}
  .exam-app .question-title h1{font-size:16.5px!important}
  .exam-app .answer>span{font-size:13.6px!important}
  .exam-app .official-actions{grid-template-columns:46px 1fr 1fr!important}
  .exam-app .official-actions button{font-size:8.4px!important}
  .exam-app .palette-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}

/* La preparación de opciones es silenciosa en V9.2. */
.test-preparing-screen,.test-preparing-card{display:none!important}

/* V9.2 — progreso silencioso de preparación: sin pantalla ni contador de preguntas. */
#silent-test-progress{position:fixed;left:0;right:0;top:0;height:3px;z-index:9999;background:rgba(8,74,113,.10);pointer-events:none;overflow:hidden}
#silent-test-progress>i{display:block;height:100%;width:3%;background:#ffd200;transition:width .18s ease}
html.ht-preparing-test [data-start-mode],html.ht-preparing-test [data-start-test-number],html.ht-preparing-test #home-start-test,html.ht-preparing-test #preview-start{pointer-events:none}

/* V9.2.1 — prioridad final sobre la antigua regla .exam-screen.exam-v44 de 100dvh. */
@media(max-width:900px){
  .exam-screen.exam-v44.exam-app{height:auto!important;min-height:100dvh!important;max-height:none!important;overflow:visible!important}
  body:has(.exam-screen.exam-v44.exam-app){height:auto!important;min-height:100dvh!important;overflow-x:hidden!important;overflow-y:auto!important}
}

/* V9.2.2 — navegación 01–30 más arriba en móviles normales: 10 × 3. */
@media (min-width:371px) and (max-width:900px){
  .exam-app .palette-grid{grid-template-columns:repeat(10,minmax(0,1fr))!important;grid-auto-rows:36px!important;gap:4px!important}
  .exam-app .palette-grid button{height:36px!important;min-height:36px!important;font-size:10.5px!important;border-radius:6px!important}
}

/* V9.9: estado editorial explícito por pregunta */
.ht-verification-status{display:block;padding:10px 12px;margin:8px 0 12px;border-radius:9px;background:#fff6dc;color:#704c00;font-size:12px;font-weight:800;line-height:1.45}

/* V10.2 · Indicar visualmente que las fotografías necesitan revisión semántica. */
.photo-audit-note{display:block;font-size:11px;line-height:1.35;color:#445f70;background:#edf4f8;padding:6px 8px;border-radius:6px;margin:4px 0 10px}
