.mobile-study-bar,.mobile-question-controls,.mobile-primary-nav,.mobile-exam-exit,.mobile-exam-map-btn{display:none}
.mobile-exam-facts,.mobile-exam-history-summary,.mobile-exam-status,.mobile-exam-progress-track,.mobile-exam-review-filters,.mobile-exam-result-note{display:none}
.exam-review-card>summary{list-style:none;cursor:pointer}
.exam-review-card>summary::-webkit-details-marker{display:none}
.mobile-dialog{width:min(420px,calc(100% - 24px));max-height:calc(100dvh - 32px);margin:auto;padding:20px;border:1px solid var(--border);border-radius:20px;background:var(--card);color:var(--text);overflow:auto;box-shadow:var(--shadow-soft)}
.mobile-dialog::backdrop{background:rgba(15,23,42,.45)}
.mobile-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.mobile-dialog-head h2{font-size:18px;line-height:1.4}
.mobile-dialog button{font:inherit;min-height:44px;padding:10px 14px;border:1px solid var(--border);border-radius:12px;background:var(--card);color:var(--text);cursor:pointer}
.mobile-dialog button{max-width:100%;overflow-wrap:anywhere}
.mobile-dialog-close{min-width:44px;font-size:24px!important;padding:4px!important}
.mobile-dialog-options{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 20px}
.mobile-dialog button[aria-pressed=true]{background:var(--primary);color:#fff;border-color:var(--primary)}
.mobile-dialog p{line-height:1.6;margin:12px 0}
.mobile-exam-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.mobile-exam-grid button{min-width:0;padding:10px 0}
.mobile-exam-grid button.answered:not([aria-pressed=true]){background:rgba(53,95,211,.1);border-color:var(--primary)}
.mobile-dialog button:focus-visible{outline:3px solid var(--primary);outline-offset:3px}
.question-update-notice-details summary{cursor:pointer;min-height:44px;line-height:1.5}
.question-update-notice-details summary .question-update-notice-title{display:inline}
.question-update-notice-details .question-update-notice-copy{margin-top:10px}

@media(max-width:720px),(max-width:899px) and (max-height:540px){
  body.mobile-focus{--mobile-nav-height:calc(64px + env(safe-area-inset-bottom,0px));--mobile-actions-height:70px;padding-bottom:calc(var(--mobile-nav-height) + 24px)}
  body.mobile-question-controls-visible{padding-bottom:calc(var(--mobile-nav-height) + var(--mobile-actions-height) + 24px)}
  body.mobile-focus .header,body.mobile-focus .header.compact{position:sticky;top:0;padding:0;overflow:visible;transition:none}
  body.mobile-focus .header-inner{padding:0 12px}
  body.mobile-focus .header-top,body.mobile-focus .header.compact .header-top{display:flex;flex-wrap:nowrap;gap:4px;min-height:60px;max-height:none;padding:4px 0;opacity:1;transform:none;pointer-events:auto}
  body.mobile-focus .header-lead{gap:6px;flex:1;min-width:0}
  body.mobile-focus .brand-block{min-width:0}
  body.mobile-focus .brand-name{display:none}
  body.mobile-focus .brand-subtitle{font-size:15px;font-weight:700;color:var(--text);margin:0;white-space:nowrap}
  body.mobile-focus .header-actions{gap:2px;margin:0;flex:none}
  body.mobile-focus .header-icon-btn,body.mobile-focus .header.compact .header-icon-btn,body.mobile-focus .header-actions .header-icon-btn{width:44px;height:44px;min-width:44px;border:0;box-shadow:none;background:transparent}
  body.mobile-focus .header-actions .language-toggle{width:auto;min-width:54px;padding:6px;gap:4px;font-size:12px}
  body.mobile-focus .language-flag,body.mobile-focus .language-chevron{display:none}
  body.mobile-focus #themeToggleBtn,body.mobile-focus #headerResetProgressBtn,body.mobile-focus #headerCollapseBtn,body.mobile-focus #headerExpandBtn,body.mobile-focus .header-stats,body.mobile-focus .header-progress-wrap{display:none!important}
  body.mobile-focus .search-wrap.open{margin:0 0 12px;max-height:none}
  body.mobile-focus .search-box{font-size:16px;min-height:44px}
  body.mobile-focus .container{padding:12px 16px 0;max-width:640px;margin:auto}
  body.mobile-focus #questionViewBar,body.mobile-focus #catFilterRow,body.mobile-focus #catFilterNote,body.mobile-focus .top-row,body.mobile-focus #gotoFab{display:none!important}
  body.mobile-focus .question-update-notice{padding:4px 10px;margin:0 0 8px;gap:8px;grid-template-columns:minmax(0,1fr) auto;border-radius:12px;box-shadow:none}
  body.mobile-focus .question-update-notice-icon{display:none}
  body.mobile-focus .question-update-notice-details summary{font-size:13px;padding:10px 0}
  body.mobile-focus .question-update-notice-title{font-size:13px;padding:0;line-height:1.5}
  body.mobile-focus .question-update-notice-close{position:static;width:44px;height:44px;align-self:start}
  body.mobile-focus .mobile-study-bar:not([hidden]){display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}
  body.mobile-focus .mobile-study-bar button{font:inherit;font-size:13px;min-height:44px;border:0;border-radius:10px;background:transparent;color:var(--text-light);padding:8px 4px;text-align:start;cursor:pointer}
  body.mobile-focus #mobileQuestionPicker{flex:1;color:var(--text)}
  body.mobile-focus #mobileProgressBtn{font-size:12px;flex:none}
  body.mobile-focus .learning-bar{margin:0 0 12px;padding:0;border:0;border-radius:0;background:transparent}
  body.mobile-focus .learning-bar:not(.review-active){display:none}
  body.mobile-focus .learning-bar:not(.review-active)>strong,body.mobile-focus .learning-bar>small,body.mobile-focus .learning-bar:not(.review-active)>p{display:none}
  body.mobile-focus .learning-bar.review-active{padding:12px 14px;margin:0 0 16px;border:1px solid var(--primary);border-inline-start-width:4px;border-radius:14px;background:var(--card)}
  body.mobile-focus .learning-bar.review-active h2{font-size:19px;margin-top:4px}
  body.mobile-focus .learning-bar.review-active .learning-session-hint{font-size:12px;margin:4px 0 10px}
  body.mobile-focus .learning-session-status{font-size:12px;gap:4px 8px}
  body.mobile-focus .learning-bar.review-active .learning-exit{min-height:44px;font-size:13px}
  body.mobile-focus .learning-bar .learning-actions button{min-height:44px;background:var(--card)}
  body.mobile-focus #qList>.q-card:not(.q-scene-immersive){display:flex;flex-direction:column;gap:0;border:0;border-radius:0;background:transparent;box-shadow:none;padding:0;margin:0;transform:none;opacity:1;min-width:0}
  body.mobile-focus #qList>.q-card:not(.q-scene-immersive) .q-header{order:0;margin:0 0 8px;min-height:44px;flex-wrap:nowrap}
  body.mobile-focus #qList>.q-card:not(.q-scene-immersive) .q-num{display:none}
  body.mobile-focus #qList>.q-card:not(.q-scene-immersive) .q-group-badge{font-size:12px;padding:5px 9px}
  body.mobile-focus #qList>.q-card:not(.q-scene-immersive) .q-text{order:1;font-size:17px;line-height:1.5;font-weight:650;margin:0 0 16px;overflow-wrap:anywhere}
  body.mobile-focus #qList>.q-card:not(.q-scene-immersive)>.q-visual,body.mobile-focus #qList>.q-card:not(.q-scene-immersive)>.q-media{order:2;margin:0 0 16px}
  body.mobile-focus #qList>.q-card:not(.q-scene-immersive) .q-img{width:100%;height:auto;max-height:240px;object-fit:contain}
  body.mobile-focus #qList>.q-card:not(.q-scene-immersive) .q-options{order:3;gap:10px;margin:0}
  body.mobile-focus #qList>.q-card:not(.q-scene-immersive) .q-opt{font-size:16px;line-height:1.5;min-height:56px;padding:12px;gap:10px;border-radius:14px;box-shadow:none;text-align:start}
  body.mobile-focus #qList>.q-card:not(.q-scene-immersive) .q-opt-num{width:28px;height:28px;min-width:28px;font-size:13px;border:0;border-radius:8px}
  body.mobile-focus :is(#qList>.mobile-numeric-question,.exam-question-card.mobile-numeric-question):not(.q-scene-immersive) .q-options{display:grid;grid-template-columns:repeat(var(--mobile-option-count),minmax(0,1fr));gap:8px}
  body.mobile-focus :is(#qList>.mobile-numeric-question,.exam-question-card.mobile-numeric-question):not(.q-scene-immersive) .q-opt{min-width:44px;min-height:50px;padding:8px 0;justify-content:center;font-size:18px;font-weight:650;position:relative}
  body.mobile-focus :is(#qList>.mobile-numeric-question,.exam-question-card.mobile-numeric-question):not(.q-scene-immersive) .q-opt-num{display:none}
  body.mobile-focus :is(#qList>.mobile-numeric-question,.exam-question-card.mobile-numeric-question):not(.q-scene-immersive) .q-opt-text{text-align:center}
  body.mobile-focus #qList>.mobile-numeric-question:not(.q-scene-immersive) .q-opt-check,body.mobile-focus #qList>.mobile-numeric-question:not(.q-scene-immersive) .q-opt-wrong-icon{position:absolute;inset-inline-end:2px;bottom:2px;width:14px;height:14px}
  body.mobile-focus #qList>.q-card:not(.q-scene-immersive) .q-signs{order:5;margin:16px 0 0}
  body.mobile-focus #qList>.q-card:not(.q-scene-immersive) .q-learning{order:4;margin:12px 0 0}
  body.mobile-focus #qList .learning-review-link,body.mobile-focus #qList .learning-next,body.mobile-focus #qList>.q-card:not(.q-scene-immersive) .three-card-navigation,body.mobile-focus #loadMoreBtn{display:none!important}
  body.mobile-focus #qList>.q-card:not(.q-scene-immersive) .q-fine-details{order:4;min-height:44px}
  body.mobile-focus .learning-feedback{border:0;background:var(--card);padding:14px;margin:12px 0 0}
  body.mobile-focus .learning-feedback summary{min-height:44px;font-size:14px}
  body.mobile-focus .q-signs-heading{font-size:12px}
  body.mobile-focus .q-signs-toggle{min-height:44px;font-size:12px}
  body.mobile-focus .q-sign-card{min-height:64px}
  body.mobile-focus .mobile-question-actions{position:relative;margin-inline-start:auto;flex:none}
  body.mobile-focus .mobile-question-actions>summary{display:flex;align-items:center;justify-content:center;list-style:none;width:44px;height:44px;font-size:26px;color:var(--text);cursor:pointer;border-radius:10px}
  body.mobile-focus .mobile-question-actions>summary::-webkit-details-marker{display:none}
  body.mobile-focus .mobile-question-actions-panel{position:absolute;inset-inline-end:0;top:48px;width:min(280px,calc(100vw - 32px));z-index:30;padding:8px;border:1px solid var(--border);border-radius:14px;background:var(--card);box-shadow:var(--shadow-soft)}
  body.mobile-focus .mobile-question-actions .q-actions{display:flex;flex-direction:column;gap:4px;margin:0}
  body.mobile-focus .mobile-question-actions button{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;height:auto;min-width:0;min-height:44px;font:inherit;font-size:14px;color:var(--text);padding:10px;background:transparent;border:0;border-radius:8px;text-align:start;white-space:normal}
  body.mobile-focus .mobile-question-actions svg{width:20px;height:20px;flex:none}
  body.mobile-focus .mobile-question-actions .q-report-btn{margin:4px 0 0}
  body.mobile-focus .mobile-primary-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;inset-inline:0;bottom:0;z-index:80;height:var(--mobile-nav-height);padding:5px max(8px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left));border-top:1px solid var(--border);background:var(--card)}
  body.mobile-focus .mobile-primary-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:44px;border:0;border-radius:10px;background:transparent;color:var(--text-light);font:inherit;font-size:11px;padding:4px 2px;cursor:pointer}
  body.mobile-focus .mobile-primary-nav button.active{background:rgba(53,95,211,.08);color:var(--primary)}
  body.mobile-focus .mobile-primary-nav svg{width:22px;height:22px;stroke:currentColor}
  body.mobile-focus .mobile-question-controls:not([hidden]){display:flex;align-items:center;gap:10px;position:fixed;inset-inline:0;bottom:var(--mobile-nav-height);z-index:79;height:var(--mobile-actions-height);padding:10px max(16px,env(safe-area-inset-right)) 10px max(16px,env(safe-area-inset-left));background:var(--card);border-top:1px solid var(--border)}
  body.mobile-focus .mobile-question-controls button{font:inherit;font-size:15px;font-weight:600;min-height:50px;border:1px solid var(--border);border-radius:12px;cursor:pointer;padding:10px 14px}
  body.mobile-focus #mobilePrevQuestion{width:50px;flex:none;background:var(--card);color:var(--text)}
  body.mobile-focus #mobileNextQuestion{flex:1;background:var(--primary);border-color:var(--primary);color:#fff;min-width:0}
  body.mobile-focus .mobile-question-controls button:disabled{opacity:.45;cursor:default}
  body.mobile-focus .app-drawer-item{min-height:44px}
  body.mobile-focus .toast{bottom:calc(var(--mobile-nav-height) + var(--mobile-actions-height) + 12px);z-index:1000040}
  body.mobile-focus.mobile-keyboard-open .mobile-primary-nav,body.mobile-focus.mobile-keyboard-open .mobile-question-controls{display:none}
  body.mobile-focus.mobile-keyboard-open{padding-bottom:24px}
  body.mobile-focus.mobile-exam-start,body.mobile-focus.mobile-exam-result{padding-bottom:calc(var(--mobile-nav-height) + 90px)}
  body.mobile-focus.mobile-exam-start #questionUpdateNotice,body.mobile-focus.mobile-exam-result #questionUpdateNotice{display:none}
  body.mobile-focus.mobile-exam-start #searchToggleBtn,body.mobile-focus.mobile-exam-result #searchToggleBtn{display:none}
  body.mobile-focus #examTab{padding-bottom:0!important}
  body.mobile-focus .exam-start{max-width:none;padding:20px 0;text-align:start}
  body.mobile-focus .exam-title{font-size:26px;line-height:1.2;margin:0 0 20px;text-align:start;letter-spacing:-.02em}
  body.mobile-focus .exam-desc{display:none}
  body.mobile-focus .mobile-exam-facts:not([hidden]){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 20px}
  body.mobile-focus .mobile-exam-facts>div{padding:16px 8px;border:1px solid var(--border);border-radius:14px;background:var(--card);text-align:center;min-width:0}
  body.mobile-focus .mobile-exam-facts strong{display:block;font-size:25px;line-height:1.25;font-weight:750;font-variant-numeric:tabular-nums;color:var(--text)}
  body.mobile-focus .mobile-exam-facts span{display:block;margin-top:6px;font-size:12px;line-height:1.4;color:var(--text-light);overflow-wrap:anywhere}
  body.mobile-focus .exam-random-note{padding:0;border:0;background:transparent!important;box-shadow:none;font-size:13px;line-height:1.5;font-weight:400;color:var(--text-light)!important;text-align:start;justify-content:flex-start;margin:0 0 20px}
  body.mobile-focus .exam-random-note svg{width:18px;height:18px;flex:none}
  body.mobile-focus #examVersionNote{font-size:13px;line-height:1.5;text-align:start;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--card);margin:0 0 20px;color:var(--text-light)}
  body.mobile-focus #examSetLabel:not([hidden]){display:block;font-size:14px;margin:0 0 8px;font-weight:600}
  body.mobile-focus #examSetSelect:not([hidden]){display:block;width:100%;min-height:52px;font-size:16px;text-align:start;margin:0 0 20px;padding:12px;border-radius:12px;background:var(--card);color:var(--text);box-shadow:none}
  body.mobile-focus .exam-history-disclosure{margin:0 0 20px;border:1px solid var(--border);border-radius:12px;background:var(--card)}
  body.mobile-focus .exam-history-disclosure[hidden]{display:none}
  body.mobile-focus .mobile-exam-history-summary{display:list-item;padding:14px;font-size:14px;line-height:1.4;min-height:48px;cursor:pointer}
  body.mobile-focus .exam-history-disclosure .exam-history{border:0;background:transparent;box-shadow:none;margin:0;padding:0 12px 12px}
  body.mobile-focus .exam-history-title{display:none}
  body.mobile-focus .exam-history-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.mobile-focus .exam-history-attempt{flex-wrap:wrap;text-align:start}
  body.mobile-focus .exam-start-btn,body.mobile-focus .exam-retry-btn{position:fixed;inset-inline:16px;bottom:calc(var(--mobile-nav-height) + 10px);z-index:79;width:auto;min-height:52px;border-radius:14px;font-size:16px;box-shadow:none;background:var(--primary);padding:12px}
  body.mobile-focus.mobile-exam-active{padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))}
  body.mobile-focus.mobile-exam-active>.header{display:none}
  body.mobile-focus.mobile-exam-active .mobile-primary-nav,body.mobile-focus.mobile-exam-active #questionUpdateNotice{display:none}
  body.mobile-focus.mobile-exam-active .container{padding-top:0}
  body.mobile-focus.mobile-exam-active .exam-meta{position:sticky;top:0;z-index:50;display:flex;flex-wrap:wrap;align-items:center;gap:0 8px;background:var(--card);min-height:76px;margin:0 -16px 20px;padding:6px 12px 10px;border:0;border-bottom:1px solid var(--border);border-radius:0}
  body.mobile-focus .mobile-exam-exit{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:0;background:transparent;font-size:26px;color:var(--text);cursor:pointer;order:0}
  body.mobile-focus.mobile-exam-active .exam-progress{display:none}
  body.mobile-focus.mobile-exam-active .exam-timer{font-size:17px;order:2;font-variant-numeric:tabular-nums;color:var(--text)}
  body.mobile-focus.mobile-exam-active .exam-timer.time-low{color:var(--danger)}
  body.mobile-focus .mobile-exam-map-btn{display:block;order:1;font:inherit;font-weight:650;min-height:44px;border:0;border-radius:10px;background:transparent;color:var(--text);padding:8px;margin:0 auto 0 0;cursor:pointer;font-variant-numeric:tabular-nums}
  body.mobile-focus[dir=rtl] .mobile-exam-map-btn{margin:0 0 0 auto}
  body.mobile-focus .mobile-exam-status{display:block;order:3;flex-basis:100%;font-size:12px;line-height:1.5;color:var(--text-light);padding-inline-start:52px}
  body.mobile-focus .mobile-exam-progress-track{display:block;order:4;position:absolute;bottom:0;inset-inline:0;height:3px;background:var(--border)}
  body.mobile-focus .mobile-exam-progress-track>div{height:100%;background:var(--primary);transition:width .15s ease}
  body.mobile-focus.mobile-exam-active .exam-nav{position:fixed;inset-inline:0;bottom:0;z-index:80;display:flex;flex-wrap:nowrap;gap:10px;background:var(--card);padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));margin:0;border-top:1px solid var(--border)}
  body.mobile-focus.mobile-exam-active .exam-nav-actions{flex:1;margin:0}
  body.mobile-focus.mobile-exam-active .exam-nav button{min-height:48px;min-width:0;width:100%;font-size:15px;padding:10px 14px}
  body.mobile-focus.mobile-exam-active #examPrevBtn{width:48px;flex:none;visibility:visible!important;background:var(--card);padding:8px;box-shadow:none}
  body.mobile-focus.mobile-exam-active #examPrevBtn:disabled{opacity:.35;cursor:default}
  body.mobile-focus.mobile-exam-active #examNextBtn{box-shadow:none;background:var(--primary);border-color:var(--primary);border-radius:12px}
  body.mobile-focus .exam-question-card{box-shadow:none;border:0;background:transparent;padding:0}
  body.mobile-focus .exam-question-card .q-text{font-size:17px;line-height:1.5}
  body.mobile-focus .exam-question-card .q-opt{font-size:16px;line-height:1.5;min-height:56px;padding:12px}
  body.mobile-focus .exam-question-card .q-opt-num{width:28px;height:28px;min-width:28px;font-size:13px}
  body.mobile-focus .exam-question-card .q-header{margin-bottom:10px}
  body.mobile-focus .exam-question-card .q-text{font-weight:650;margin-bottom:16px}
  body.mobile-focus .exam-question-card .q-img{max-height:240px;object-fit:contain}
  body.mobile-focus .exam-question-card .q-opt{box-shadow:none;transform:none}
  body.mobile-focus .exam-question-card .q-opt.selected{border:2px solid var(--primary);padding:11px;background:rgba(53,95,211,.09)}
  body.mobile-focus .exam-question-card .q-opt.selected .q-opt-num{box-shadow:none}
  body.mobile-focus .exam-result{padding:20px 0;text-align:start}
  body.mobile-focus .exam-result-title{font-size:26px;line-height:1.2;margin:0 0 20px;text-align:start}
  body.mobile-focus .exam-result.exam-passed .exam-result-title{color:var(--success)!important}
  body.mobile-focus .exam-result:not(.exam-passed) .exam-result-title{color:var(--danger)!important}
  body.mobile-focus .exam-result-message{display:none}
  body.mobile-focus .mobile-exam-result-note{display:block;font-size:13px;line-height:1.5;color:var(--text-light);margin:0 0 20px}
  body.mobile-focus .mobile-exam-review-filters:not([hidden]){display:flex;gap:8px;margin:0 0 12px}
  body.mobile-focus .mobile-exam-review-filters button{font:inherit;font-size:13px;font-weight:600;min-height:44px;border:1px solid var(--border);border-radius:10px;padding:10px 12px;background:var(--card);color:var(--text);cursor:pointer;flex:1;min-width:0}
  body.mobile-focus .mobile-exam-review-filters button[aria-pressed=true]{background:var(--primary);border-color:var(--primary);color:#fff}
  body.mobile-focus .exam-review-title{display:none}
  body.mobile-focus .exam-review-card{box-shadow:none}
  body.mobile-focus .exam-review-card[hidden]{display:none}
  body.mobile-focus .exam-review-head{flex-direction:column;gap:8px;padding:14px;min-height:60px;position:relative;padding-inline-end:38px}
  body.mobile-focus .exam-review-head::after{content:'⌄';position:absolute;inset-inline-end:14px;top:14px;font-size:20px;color:var(--text-light)}
  body.mobile-focus .exam-review-card[open] .exam-review-head::after{content:'⌃'}
  body.mobile-focus .exam-review-card:not([open]) .exam-review-head{border-bottom:0}
  body.mobile-focus .exam-review-question{font-size:15px;line-height:1.5;font-weight:600}
  body.mobile-focus .exam-review-status{font-size:11px;padding:4px 8px}
  body.mobile-focus .exam-review-body{padding:12px}
  body.mobile-focus .exam-review-option{flex-wrap:wrap;gap:8px;padding:10px;font-size:14px}
  body.mobile-focus .exam-review-option-note{flex-basis:100%;padding-inline-start:42px;white-space:normal;font-size:12px}
  body.mobile-focus #mobileExamReviewEmpty{font-size:14px;line-height:1.5;padding:16px;border-radius:12px;background:var(--card);color:var(--text-light)}
  body.mobile-focus .mobile-exam-map-actions{display:flex;flex-direction:column;gap:8px;margin-top:16px}
  body.mobile-focus .mobile-exam-map-actions button{width:100%}
  body.mobile-focus #mobileExamFinishConfirm{background:var(--primary);border-color:var(--primary);color:#fff}
  body.mobile-focus #mobileExamFinishText{font-size:16px}
  body.mobile-focus .mobile-dialog{position:fixed;inset:auto 0 0;width:100%;max-width:480px;margin:0 auto;max-height:calc(100dvh - 80px);padding:20px 16px calc(20px + env(safe-area-inset-bottom,0px));border-radius:20px 20px 0 0}
  body.mobile-focus.scene-immersive .mobile-primary-nav,body.mobile-focus.scene-immersive .mobile-question-controls{display:none}
  body.mobile-focus button:focus-visible,body.mobile-focus summary:focus-visible{outline:3px solid var(--primary);outline-offset:3px}
  /* Keep answer focus inside the rounded border so cards cannot clip it. */
  body.mobile-focus .q-opt:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}
  body.mobile-focus[dir=rtl] #mobilePrevQuestion{transform:scaleX(-1)}
}
@media(max-width:360px){body.mobile-focus .container{padding-inline:12px}body.mobile-focus .header-inner{padding-inline:8px}body.mobile-focus .brand-subtitle{font-size:14px}body.mobile-focus #qList>.mobile-numeric-question .q-options{gap:6px}}
