/* R35 QA01 · Daily 15–20 minute tasks + content studio */
.r35-task-shell,.r35-task-runner,.r35-task-result{max-width:980px;margin:0 auto}.r35-task-top,.r35-runner-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}.r35-task-top h1,.r35-runner-head h1{margin:.3rem 0}.r35-task-theory,.r35-active-recall,.r35-task-start{margin:20px 0;padding:clamp(18px,3vw,28px);border:1px solid #dbe6f4;border-radius:20px;background:#fff;box-shadow:0 16px 45px rgba(17,48,91,.06)}.r35-section-head>span,.r35-task-start>span{font-weight:900;color:var(--course-accent,#315cde);font-size:.78rem;letter-spacing:.08em;text-transform:uppercase}.r35-section-head h2,.r35-task-start h2{margin:6px 0 8px}.r35-section-head p,.r35-task-start p{margin:0;color:#60728f}.r35-recall-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:12px;margin-top:16px}.r35-recall-card{padding:16px;border:1px solid #dbe6f4;border-radius:16px;background:#f8fbff}.r35-recall-card>span{font-size:.72rem;font-weight:900;text-transform:uppercase;color:#315cde}.r35-recall-card h3{margin:8px 0}.r35-recall-prompt{font-weight:750;color:#16365f;line-height:1.55}.r35-recall-answer{margin-top:12px;padding:12px;border-radius:12px;background:#eef4ff;color:#334e75;line-height:1.55}.r35-reveal{margin-top:8px}.r35-task-start{text-align:center}.r35-task-start .r23-btn{margin-top:12px}.r35-runner-head{position:sticky;top:0;z-index:2;padding:12px 0;background:rgba(247,250,255,.96);backdrop-filter:blur(8px)}.r35-runner-progress{height:7px;border-radius:999px;background:#e4ebf5;overflow:hidden;margin:0 0 18px}.r35-runner-progress i{display:block;height:100%;background:linear-gradient(90deg,#315cde,#0b98a8);transition:width .25s ease}.r35-one-question{margin:0;padding:clamp(18px,3vw,30px);border:1px solid #d9e5f3;border-radius:22px;background:#fff;box-shadow:0 18px 50px rgba(18,53,93,.08)}.r35-review-label{display:inline-flex;margin:0 0 10px;padding:5px 9px;border-radius:999px;background:#f2f6fb;color:#59708e;font-size:.72rem;font-weight:850}.r35-one-question legend{font-size:clamp(1.08rem,2.2vw,1.45rem);line-height:1.45}.r35-question-nav{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;margin-top:16px}.r35-question-nav>span{text-align:center;color:#657894;font-size:.82rem}.r35-task-result{text-align:center;padding:clamp(24px,5vw,50px);border:1px solid #dbe6f4;border-radius:24px;background:#fff}.r35-task-result>strong{display:block;font-size:clamp(3rem,8vw,5.5rem);line-height:1;color:#173d78;margin:16px 0}.r35-task-result section{text-align:left;margin:24px 0}.r35-task-result section article{padding:14px;border:1px solid #e0e8f3;border-radius:14px;margin-top:10px}.r35-task-result section p{margin:.45rem 0 0;color:#61738e}.r35-task-result.pass{box-shadow:inset 0 5px 0 #2b9b67}.r35-task-result.fail{box-shadow:inset 0 5px 0 #d48a2e}
/* staff preview: one scroll owner only */
.r35-preview-overlay{position:fixed;inset:0;z-index:10080;display:flex;align-items:center;justify-content:center;padding:12px;background:rgba(4,18,40,.76);backdrop-filter:blur(7px);overflow:hidden}.r35-preview-dialog{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(980px,100%);height:min(880px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 30px 90px rgba(0,0,0,.32)}.r35-preview-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;background:#0d2d5d;color:#fff}.r35-preview-head small{display:block;color:#c9d8eb;margin-top:3px}.r35-preview-close{display:grid;place-items:center;width:44px;height:44px;border:1px solid rgba(255,255,255,.45);border-radius:13px;background:#fff;color:#0d2d5d;font-size:1.45rem;font-weight:900;cursor:pointer}.r35-preview-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:clamp(16px,3vw,28px)}.r35-preview-step{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px;color:#657894;font-size:.82rem}.r35-preview-card{padding:clamp(16px,3vw,24px);border:1px solid #dce6f2;border-radius:18px;background:#fff}.r35-preview-options{display:grid;gap:10px;margin-top:18px}.r35-preview-option{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:center;min-height:52px;padding:11px 13px;border:1px solid #d8e2ef;border-radius:13px;background:#fff;text-align:left;color:#17365f;cursor:pointer}.r35-preview-option.selected{border-color:#3562e8;background:#eef3ff}.r35-preview-option.correct{border-color:#3b9a6a;background:#effaf4}.r35-preview-option.wrong{border-color:#d46d61;background:#fff3f1}.r35-preview-letter{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#edf3ff;color:#315ee6;font-weight:900}.r35-preview-feedback{margin-top:14px;padding:14px;border-radius:13px}.r35-preview-feedback.ok{background:#effaf4;color:#176846}.r35-preview-feedback.bad{background:#fff3f1;color:#8d3d34}.r35-preview-actions{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:18px}.r35-preview-score{font-size:clamp(3rem,9vw,5.5rem);font-weight:950;color:#12366a;line-height:1}.r35-preview-review{display:grid;gap:10px;text-align:left;margin-top:20px}.r35-preview-review article{padding:13px;border:1px solid #dbe5f1;border-radius:13px}
/* Content Studio */
.r35-view-switch{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}.r35-view-switch button{border:1px solid #d7e2ef;background:#fff;color:#49617f;border-radius:12px;padding:10px 14px;font-weight:850;cursor:pointer}.r35-view-switch button.active{background:#183f80;color:#fff;border-color:#183f80}.r35-content-toolbar{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;align-items:end}.r35-content-toolbar .wide{grid-column:span 2}.r35-content-toolbar label{display:grid;gap:6px;font-weight:800;color:#18375f}.r35-content-toolbar select,.r35-content-toolbar input{width:100%;min-height:46px;border:1px solid #cfdceb;border-radius:12px;padding:0 12px;background:#fff;color:#17365f}.r35-content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}.r35-task-admin-card,.r35-question-admin-card{display:flex;flex-direction:column;gap:10px;padding:18px;border:1px solid #dbe5f1;border-radius:18px;background:#fff}.r35-task-admin-card h3,.r35-question-admin-card h3{margin:0;line-height:1.4}.r35-admin-meta{display:flex;gap:7px;flex-wrap:wrap}.r35-chip{display:inline-flex;align-items:center;min-height:28px;padding:4px 9px;border-radius:999px;background:#eef3fb;color:#446181;font-size:.72rem;font-weight:850}.r35-chip.ok{background:#eaf8f1;color:#16724b}.r35-chip.warn{background:#fff4dc;color:#8a5a00}.r35-chip.off{background:#f1f3f6;color:#687386}.r35-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:6px}.r35-card-actions .btn{min-height:40px}.r35-task-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.r35-task-stats div{padding:9px;border-radius:11px;background:#f7faff}.r35-task-stats strong{display:block;font-size:1.15rem}.r35-pager{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;margin-top:18px;padding-top:14px;border-top:1px solid #e3eaf4}.r35-pager .r35-pager-label{text-align:center;color:#60728e;font-size:.82rem}.r35-pager label{display:flex;align-items:center;gap:6px}.r35-pager select{min-height:40px;border:1px solid #d3deeb;border-radius:10px;padding:0 10px}.r35-studio-note{padding:12px 14px;border-radius:12px;background:#f4f8ff;color:#526b8d;font-size:.84rem;line-height:1.5}
@media(max-width:980px){.r35-content-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.r35-content-grid{grid-template-columns:1fr}.r35-content-toolbar .wide{grid-column:span 2}}
@media(max-width:680px){.r35-task-top,.r35-runner-head{flex-direction:column}.r35-task-top .r23-btn,.r35-runner-head .r23-btn{width:100%}.r35-question-nav{grid-template-columns:1fr 1fr}.r35-question-nav>span{grid-column:1/-1;grid-row:1}.r35-preview-overlay{padding:0}.r35-preview-dialog{width:100%;height:100dvh;max-height:100dvh;border-radius:0}.r35-preview-actions{flex-direction:column}.r35-preview-actions>*{width:100%}.r35-content-toolbar{grid-template-columns:1fr}.r35-content-toolbar .wide{grid-column:auto}.r35-pager{grid-template-columns:1fr 1fr}.r35-pager .r35-pager-label{grid-column:1/-1;grid-row:1}.r35-pager label{justify-content:center}.r35-pager button{width:100%}}

/* R35 closeout · public Access / Contact / Program modals: exactly one scroll owner. */
body.qa09-public.qa08-modal-open{overflow:hidden!important;overscroll-behavior:none!important}
.qa09-public .qa08-modal{
  position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-height:none!important;
  margin:0!important;padding:clamp(8px,2vw,20px)!important;overflow:hidden!important;overscroll-behavior:none!important;
  align-items:center!important;justify-content:center!important;
}
.qa09-public .qa08-modal-dialog,
.qa09-public .qa08-modal-dialog.compact,
.qa09-public .qa08-modal-dialog.program{
  display:grid!important;grid-template-rows:minmax(0,1fr)!important;
  width:min(780px,100%)!important;height:auto!important;max-height:calc(100dvh - 2*clamp(8px,2vw,20px))!important;
  overflow:hidden!important;overscroll-behavior:none!important;border-radius:22px!important;
}
.qa09-public .qa08-modal-dialog.program{width:min(1120px,100%)!important;grid-template-rows:auto minmax(0,1fr)!important}
.qa09-public .qa08-modal-dialog.compact{width:min(700px,100%)!important}
.qa09-public .qa08-modal-dialog>.qa08-modal-body{
  min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;
  overscroll-behavior:contain!important;scrollbar-gutter:stable;padding-top:clamp(24px,4vw,34px)!important;
}
.qa09-public .qa08-modal-dialog.program>.qa08-modal-body{min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important}
.qa09-public .qa08-modal-dialog.program>.qa08-program-hero{min-height:0!important;flex:none!important}
.qa09-public .qa08-modal-close,
.qa09-public .qa08-modal-dialog.compact .qa08-modal-close{
  position:absolute!important;float:none!important;top:12px!important;right:12px!important;margin:0!important;
  width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;
  border:2px solid #fff!important;border-radius:14px!important;background:#0a2c5b!important;color:#fff!important;
  box-shadow:0 8px 24px rgba(2,18,41,.28)!important;z-index:60!important;opacity:1!important;
}
.qa09-public #accessModal .qa08-modal-body,.qa09-public #contactModal .qa08-modal-body{padding-right:clamp(18px,4vw,34px)!important}
.qa09-public #accessModal .qa08-access-grid{min-width:0}
.qa09-public #contactModal .qa08-contact-form,.qa09-public #contactModal .qa08-contact-form>*{min-width:0}
@media(max-width:640px){
  .qa09-public .qa08-modal{padding:0!important;align-items:stretch!important}
  .qa09-public .qa08-modal-dialog,.qa09-public .qa08-modal-dialog.compact,.qa09-public .qa08-modal-dialog.program{
    width:100%!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;
  }
  .qa09-public .qa08-modal-dialog.program{grid-template-rows:auto minmax(0,1fr)!important}
  .qa09-public .qa08-modal-dialog.program>.qa08-program-hero{max-height:34dvh!important}
  .qa09-public .qa08-modal-dialog>.qa08-modal-body{padding:22px 16px max(24px,env(safe-area-inset-bottom))!important}
  .qa09-public .qa08-modal-close,.qa09-public .qa08-modal-dialog.compact .qa08-modal-close{top:max(10px,env(safe-area-inset-top))!important;right:10px!important}
}
@media(orientation:landscape) and (max-height:560px){
  .qa09-public .qa08-modal{padding:0!important}
  .qa09-public .qa08-modal-dialog,.qa09-public .qa08-modal-dialog.compact,.qa09-public .qa08-modal-dialog.program{height:100dvh!important;max-height:100dvh!important;border-radius:0!important}
  .qa09-public .qa08-modal-dialog.program>.qa08-program-hero{max-height:42dvh!important}
}
