@font-face{font-family:"DM Sans";src:url("recursos/DMSans-opsz-wght.ttf") format("truetype");font-weight:100 1000;font-display:swap}
:root{color-scheme:dark;--sky:#a5eff8;--ink:#091723;--panel:#0d2230;--soft:#afc9d8;--edge:#274354}
body{--bg:#091723;--card:#0c202e;--muted:#afc9d8;--text:#edf7fd;--accent:#60ccf0;background:var(--bg);font-family:"DM Sans","Segoe UI",sans-serif}
button,a,select,input{touch-action:manipulation}
button,select{font-size:.875rem;line-height:1.4}button:disabled{opacity:.55;cursor:default}
#btnFinish,#btnFinish2{font-weight:800}
:is(button,a,select,input,summary,textarea):focus-visible{outline:2px solid #87eafa;outline-offset:3px}
:is(button,a){text-underline-offset:.2em}
.container{max-width:none;padding:8px 24px 24px}
.title{margin:0;font-weight:950;letter-spacing:-.035em;line-height:1.22}
.headerTop{margin-bottom:14px}.subtitle{font-size:.85rem;margin-top:3px}
.topLink{flex-shrink:0;font-size:25px}
#examView .galaxy-choice-navigation,#examView .galaxy-review-view-actions{gap:12px}
#examView .galaxy-choice-view-actions{gap:10px}
select{appearance:none;background-color:#0b1220;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='9' viewBox='0 0 12 9'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%23b1cad9' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:34px}
.pill{font-size:.8rem}.pill b{color:#f0f6fc}
.card{box-shadow:0 8px 24px #0002;padding:14px}
.bar{margin:12px 0}.restoreNote,.provenance{font-size:.8rem}
.searchPanel label[for="searchInput"]{font-size:1rem}
.searchPanel input{font-size:1rem}
.galaxy-reset-controls,.galaxy-class-filter{display:inline-flex;align-items:center;gap:9px;max-width:100%;flex-wrap:wrap}
.galaxy-class-filter{position:relative;font-size:.875rem;cursor:pointer}
.galaxy-class-filter input{position:absolute;opacity:0;left:0}
.galaxy-class-switch-track{display:inline-flex;width:38px;height:22px;flex-shrink:0;align-items:center;border-radius:99px;border:1px solid #7398ac;padding:2px;background:#0a1627}
.galaxy-class-switch-track i{height:14px;width:14px;background:#eef7fd;border-radius:100%;transition:transform .16s}
.galaxy-class-filter input:checked+.galaxy-class-switch-track{background:#116782}.galaxy-class-filter input:checked+.galaxy-class-switch-track i{transform:translateX(16px)}
.galaxy-class-filter input:focus-visible+.galaxy-class-switch-track{outline:2px solid #8feaff;outline-offset:2px}
.sourceMenu,.siteFooter{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;font-size:.875rem}
.sourceMenu{margin:16px 0 20px}.sourceMenu button,.linkButton{background:transparent;color:#8fdce8;border:0;border-radius:3px;padding:0;font:inherit;text-decoration:underline;text-underline-offset:.2em}
.sourceMenu a,.siteFooter a{color:#8fdce8}.siteFooter{color:var(--muted)}.siteFooter strong{color:var(--text)}.siteFooter span{margin-right:auto}
.questionSheet{margin-top:6px}.grid{align-items:start;gap:16px}.grid>.card{margin:0;padding:18px}
.question{scroll-margin:18px}.q{font-size:1.04rem;line-height:1.45;margin:10px 0}.q-number{margin-right:4px}
.meta{align-items:center}.badge{font-size:.75rem}.badge.origin{color:#9ee5ec;border-color:#276074}.badge.adapted{color:#d9cef7;border-color:#66548c}
.opt{align-items:baseline;cursor:pointer}.opt input{accent-color:#5ad8ea}.opt .option-letter{flex:0 0 auto;font-style:normal;font-weight:700;color:#a5bcce}
.opt:has(input:checked){border-color:#4590a4;background-color:#10303f}.opt.correct{border-color:#398557;background:#123626}.opt.wrong{border-color:#ac5961;background:#34212b}
.card-actions,.sourceActions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}.card-actions button,.sourceActions button,.sourceActions a{font-size:.85rem}
.explain{font-size:.95rem}.explain .verdict{margin-bottom:.3rem}.correctTitle{color:#a2e9b6}.wrongTitle{color:#ffafb7}
.optionStatus{font-size:.8rem;font-weight:700}.opt.correct .optionStatus{color:#a2e9b6}.opt.wrong .optionStatus{color:#ffafb7}
.questionPending{border-color:#b48a58!important}.pendingLabel{font-size:.875rem;font-weight:750;color:#ffd396;margin:8px 0}
.choiceScale{margin:16px 0}.choiceScale summary{font-weight:750;cursor:pointer}.choiceScale p{font-size:.95rem;line-height:1.5}.choiceScale table{border-collapse:collapse;width:100%;max-width:440px;margin-top:12px;font-size:.95rem}.choiceScale th,.choiceScale td{text-align:left;border-bottom:1px solid var(--edge);padding:7px 12px}.choiceScale th{color:var(--sky)}
.sourceActions a,.sourceActions button,.tileLink{display:inline-flex;align-items:center;min-height:36px;padding:6px 10px;border:1px solid #3b5b6d;border-radius:8px;background:#102a39;color:#b2ecf3;text-decoration:none}
.sourceActions :is(a,button):hover,.tileLink:hover{border-color:#78c9db}
.byline,.sourceNote{font-size:.85rem;line-height:1.55;color:#a9c5d5}.sourceNote{padding-left:12px;border-left:2px solid #796b9a}
.question details{font-size:.9rem}.question details summary{width:fit-content}
.sourceImage{display:block;max-width:min(100%,680px);height:auto;border-radius:8px;margin:10px 0}
.refLine{margin-top:12px;font-size:.875rem;color:var(--soft)}.overview button{background:#102d3f;border-color:#345b70}
.hideSigns .question .meta{display:none}
.pending{border-color:#806447}.pending>p:first-child{font-weight:800}.pending .controls button{min-width:38px}
.studyShell{max-width:1220px;margin:auto;padding:24px}.studyShell h1{font-size:clamp(1.8rem,4vw,3rem);letter-spacing:-.04em;margin:18px 0 10px}
.studyHead,.tabs,.studyActions,.dialogHead,.slideNav{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.studyHead{justify-content:space-between;color:var(--soft)}.studyHead span{font-weight:750}.tabs{padding:6px 0 16px;border-bottom:1px solid var(--edge);margin-bottom:18px}
.tabs a{border:1px solid var(--edge);padding:9px 14px;color:var(--soft);border-radius:9px;text-decoration:none}.tabs a[aria-current="page"]{background:#133746;color:#bcf5fc;border-color:#3a96aa}
.studyGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:14px}
.studyTile{background:var(--panel);border:1px solid var(--edge);border-radius:12px;padding:17px;min-width:0}.studyTile h3,.studyTile h2{margin:0 0 8px;line-height:1.3;font-size:1.12rem}
.studyTile p,.studyTile li,.fileRow p{font-size:.95rem;line-height:1.55}.studyTile .byline{font-size:.85rem;color:#adcad7}.studyTile img.cover{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;border-radius:7px;margin-bottom:12px;background:#e4e9eb}
.tabs+div h2{margin-top:22px;font-size:1.3rem}
.scheduleGrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.day{padding:12px;background:var(--panel);border:1px solid var(--edge);border-radius:10px}.day h3{font-size:.9rem;color:#92dce8;margin:0}.day p{margin:.7rem 0 .25rem}.day small{color:var(--soft)}
.fileRow{padding:10px 0;border-bottom:1px solid var(--edge)}.fileRow:last-child{border-bottom:0}.fileRow a,.studyTile a{overflow-wrap:anywhere}
.studySearch{width:100%;max-width:650px;padding:10px 12px;margin:0 0 14px;border:1px solid var(--edge);background:#0a1324;color:var(--text);border-radius:9px;font:inherit}
.skiplink{position:absolute;left:10px;top:-80px;background:#113547;padding:10px;color:white;z-index:4}.skiplink:focus{top:8px}
dialog{color:var(--text);background:#0e2231;border:1px solid #47718a;border-radius:15px;width:min(96vw,890px);max-height:92dvh;padding:20px;box-shadow:0 20px 80px #0009}
dialog::backdrop{background:#030b14cc}body:has(dialog[open]){overflow:hidden}
.dialogHead{justify-content:space-between;gap:12px;margin-bottom:16px}.dialogHead h2{font-size:1.25rem;margin:0}
#slideDialog{width:min(97vw,1230px)}.slideNav{margin-bottom:9px}.slideNav select{max-width:100%}.slideNav a{margin-left:auto}
.slideFrame{display:block;width:100%;max-height:64dvh;object-fit:contain;background:#091421;border:1px solid var(--edge);border-radius:9px}
.slideText{white-space:pre-line;font-size:.96rem;line-height:1.5}
#slideDialog summary{color:#155f69;font-size:.95rem;font-weight:650}
#up{position:fixed;right:16px;bottom:16px;z-index:3;border-color:#406478;background:#0c3147;font-size:1.15rem}
.paperMode{color-scheme:light}.paperMode .byline,.paperMode .sourceNote,.paperMode .opt .option-letter{color:#3f4850}.paperMode .sourceMenu :is(a,button){color:#155866}
.paperMode .pendingLabel{color:#795016}.paperMode .opt.correct .optionStatus{color:#176537}.paperMode .opt.wrong .optionStatus{color:#9c263a}
@media(max-width:760px){
 .container{padding:12px}.headerTop{flex-wrap:nowrap;align-items:flex-start;gap:6px}.headerTop>div:first-child{flex:1 1 auto}.title{font-size:1.35rem;line-height:1.2}.topLinks{gap:4px;flex-wrap:nowrap}.topLink{width:34px;height:34px;font-size:21px}
 #examView .controls>.galaxy-choice-navigation{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px 44px;gap:5px}
 .galaxy-reset-controls{display:contents}.grid{grid-template-columns:minmax(0,1fr)}.summary .controls{gap:6px}.card{margin:10px 0}.studyShell{padding:14px}
 .scheduleGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.slideNav a{margin-left:0}.sourceMenu{gap:8px 14px}
}
@media(max-width:430px){.headerTop{flex-wrap:wrap}.headerTop>div:first-child{flex-basis:100%}.topLinks{margin-top:2px}.sourceMenu{font-size:.82rem}.grid>.card{padding:13px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@page{size:A4;margin:14mm}
@media print{
 body,#examView{background:white!important;color:black!important}body :is(.header,.summary,.searchPanel,.sourceMenu,.sourcePolicy,.choiceScale,.siteFooter,.pending,.pendingLabel,.optionStatus,.card-actions,.meta,.explain,.byline,.sourceNote,.question details,.skiplink,.tabs,.studyHead,#up,dialog){display:none!important}
 #examView .container,.questionSheet{padding:0!important;width:100%;max-width:none;margin:0;box-shadow:none;border:0}.paperHeading{display:block;color:black;border-bottom:1px solid #555;margin-bottom:16px}
 #quiz{display:block}#quiz .question{background:white;color:black;break-inside:avoid;padding:0 0 12px;margin:0 0 10px;border:0;border-bottom:1px solid #ddd;border-radius:0;box-shadow:none}
 #quiz .q,#quiz .q-number{font:600 11pt/1.3 Arial;color:black}#quiz .opts{gap:2px}#quiz .opt{padding:2px;border:0;background:white;color:black;font:10.5pt/1.3 Arial}#quiz .opt input{display:none}#quiz .opt .option-letter{color:black}#quiz .sourceImage{max-height:44mm;width:auto}
 body #quiz .multiHint{display:block!important;color:#111;font:italic 10pt Arial}
}
.brandBlock{display:flex;align-items:center;gap:14px;min-width:0}
.brandIcon{width:54px;height:54px;flex:none;border-radius:16px}
.title span{color:#87e4d3}
@media screen{
  .container{max-width:1480px;margin:auto;padding:22px clamp(14px,3vw,46px) 40px}
  .headerTop{padding:8px 0 18px;border-bottom:1px solid #274354}
  .audioLaunch{display:inline-flex;align-items:center;justify-content:center;min-height:40px;background:#163e42;border:1px solid #52978c;border-radius:10px;padding:8px 14px;color:#c4fff0;text-decoration:none;font-weight:750}
  .audioLaunch:hover{background:#20504f}
  .grid>.card{border:1px solid #294452}
  #examView .galaxy-review-view-actions{flex-wrap:wrap}
  .question .explain{font-size:.94rem}
  .question .explain details{margin:.85rem 0}
  .sourceNote a,.studyTile a,.sourcePolicy a{color:#97e2e4}
  .byline,.sourceNote{overflow-wrap:anywhere}
  .question .badge{font-size:.79rem}
  .header .restoreNote{margin:5px 0}
  #quiz .question{content-visibility:visible}
  .planList{padding:0;list-style:none}
  #publico{margin-right:0}
  .sourceMenu a,.sourceMenu button{padding:6px 0}
}
.answerStrip{break-inside:avoid;margin-top:14px}
.answerStrip table{width:100%;border-collapse:collapse;margin:10px 0}
.answerStrip :is(th,td){width:10%;border:1px solid currentColor;padding:5px;font-size:.9rem;text-align:center}
@media(max-width:600px){
  .container{padding:12px}
  .headerTop{flex-wrap:nowrap}
  .headerTop>div:first-child{flex-basis:auto}
  .brandIcon{width:44px;height:44px}
  .brandBlock{gap:9px}
  .galaxy-review-view-actions{width:100%}
  #examView .galaxy-review-view-actions{gap:6px}
  #examView .galaxy-choice-filters,#examView .galaxy-choice-field{min-width:0;max-width:100%}
  #examView .galaxy-choice-field select{min-width:0;max-width:100%;width:100%}
}
@media(max-width:760px){
  #examView .controls>.galaxy-choice-navigation{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  #examView .galaxy-choice-navigation .audioLaunch,#examView .galaxy-choice-navigation #btnRepaso{height:44px;font-size:.9rem;line-height:1.2}
  #examView .galaxy-choice-navigation .galaxy-choice-view-actions{display:flex;justify-content:flex-start;gap:7px}
}
/* The cover and lecture interiors share the palette of Insulina, glucagón y diabetes mellitus. */
@media screen{
 body{color-scheme:light;--bg:#f4f1ed;--card:#fff;--text:#252225;--muted:#595256;--panel:#fff;--soft:#63595c;--edge:#d9d2cb;--line:#d8d0c8;--sky:#126571;--ink:#211c1f;--accent:#086876;background:#f5f3f0;color:var(--text)}
 .container{max-width:1390px;padding-top:16px}
 .header .hero{position:relative;isolation:isolate;background:#322726 url("/recursos/portada-clase-1.jpeg") center 60%/cover no-repeat;border:0;overflow:hidden;border-radius:14px;padding:clamp(25px,4vw,64px);min-height:185px;margin-bottom:16px}
 .hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#291e22f7 1%,#302023ee 22%,#34252891 48%,transparent 80%)}
 .hero .title{color:white;font-size:clamp(2.4rem,4.4vw,4.5rem);letter-spacing:-.055em;line-height:1.08}
 .hero .title span{color:#f3d79b}
 .hero .subtitle{color:#92e2e4;font-weight:750;letter-spacing:.08em;text-transform:uppercase;font-size:.85rem;margin:0 0 8px}
 .hero p{color:#f9eee5;font-weight:550;margin:12px 0 0}
 .card,.studyTile{background:white;color:#282328;border:1px solid #d8d0c9;box-shadow:0 2px 9px #2d1b1309}
 #quiz .question{border:1px solid #d8d0c9;padding:20px}
 .card .q,.q-number,.studyShell,.studyShell h1,.studyTile h2,.studyTile h3,.studyTile small{color:#282328}
 .q-number{color:#86502e;font-weight:900}
 .question .badge,.question .badge.origin{color:#205c64;border:1px solid #b8d5d2;background:#eaf4f1}
 .question .badge.origin{color:#85512e;background:#fbf2e4;border-color:#ead2af}
 #examView :is(button,select,input[type=search]),.studyShell :is(button,input,select),#slideDialog button,#resetDialog button,#slideDialog select{font-family:inherit;border:1px solid #bcb5ad;border-radius:8px;color:#332c2d;background-color:#fff;font-size:.9rem}
 #examView :is(button,select):hover,.studyShell button:hover{border-color:#29777a}
 #examView :is(#btnFinish,#btnFinish2,#confirmReset){background:#175c65;border-color:#175c65;color:#fff}
 #examView :is(.pill,.pill b),#examView .provenance,#examView .restoreNote{background:transparent;color:#5b5453}
 #examView .pill{border:0;padding:0}
 #examView .pill b{color:#302b29}
 #examView .header>.controls{gap:8px;align-items:center}
 #examView .galaxy-choice-filters{display:flex;flex:0 1 auto;margin:0}
 #examView .galaxy-choice-field:not([hidden]){display:flex;gap:8px;align-items:center;flex-wrap:wrap}
 #examView .galaxy-choice-field[hidden]{display:none}
 #examView .galaxy-choice-field label{font-size:.86rem;color:#514946}
 #examView select,.studyShell select,#slideDialog select{background-color:white;background-repeat:no-repeat;background-position:right 12px center;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='9' viewBox='0 0 12 9'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%235d504b' stroke-width='1.5'/%3E%3C/svg%3E")}
 #examView .galaxy-view-icon{border:1px solid #c0b7ad;background:white;color:#635955}
 #examView .galaxy-view-icon[aria-pressed=true]{border-color:#1b7079;background:#e2f0ed;color:#145d68;box-shadow:none}
 .bar{background:#e4ddd5}.bar>div{background:#217a7e}
 #examView .actionsBar{background:#fffdfa;border-color:#d7cbbd;padding:10px 14px}
 #examView .filterActive{background:#deeeea!important;color:#174e56!important;border-color:#488886!important}
 #examView .searchPanel summary,.choiceScale summary,.sourcePolicy summary{color:#28575c;font-weight:750;cursor:pointer}
 .searchBody{padding-top:10px}
 .sourceMenu :is(a,button),.studyShell a,.sourcePolicy a,.siteFooter a,.sourceNote a,.slideNav a{color:#146271}
 .sourceMenu{border-bottom:1px solid #dcd3c9;padding-bottom:10px}
 .opt{color:#292325;background:#fbfaf8;border-color:#e1dcd6}.opt:hover{background:#f0f5f3;border-color:#94b6b2}.opt .option-letter{color:#275c63}
 #examView #quiz .opt:has(input:checked):not(.correct,.wrong){background:#e5f2ef;border-color:#30797b;color:#213b3b}
 #examView #quiz .opt.correct{background:#e1f3e6;border-color:#5b9470;color:#213a2b}
 #examView #quiz .opt.wrong{background:#fbece9;border:1px solid #bd8175;color:#482b29}
 #examView #quiz .opt.wrong .option-letter{color:#842f22}
 #examView #quiz .opt:focus-within{outline-color:#357b80}
 #examView .actionsBar button{min-height:44px}
 #examView #emptyMessage{color:#514947}
 #examView.paperMode #quiz .question{padding:0;border:0}
 #examView.paperMode #quiz .opts{width:auto}
 #examView.paperMode .answerStrip{margin:0;padding-bottom:0;border:0;overflow-wrap:anywhere}
 .opt input{accent-color:#246f73}
 .questionFeedback .explain{color:#403736;border-top-color:#d8d0c9}#examView .correctTitle{color:#195b39}#examView :is(.wrongTitle,.pendingLabel){color:#8b3326}
 .studyTile .byline,.byline,.sourceNote,.searchPanel label,.choiceScale p,.choiceScale td,.choiceScale th,.siteFooter,.siteFooter strong{color:#514947}
 .tabs a{background:#fff;border-color:#d4cdc6;color:#34565a}.tabs a[aria-current=page]{color:#fff;background:#215d65}
 .studyShell .studySearch,#examView .searchPanel input{background:#fff;color:#292527;border-color:#bcb4ab}
 #examView .question .opt.correct .optionStatus{color:#185533}#examView .question .opt.wrong .optionStatus{color:#842f22}
 dialog{background:white;color:#272226;border-color:#d3c9bf}
 .choiceScale table,.choiceScale :is(th,td){border-color:#d9d1c9}
 .paperMode .card{box-shadow:none}
 @media(max-width:760px){
   .header .hero{min-height:145px;background-position:58% center;border-radius:10px;padding:24px 18px}
   #examView .galaxy-choice-filters{flex:1 1 240px}
   #examView .galaxy-choice-field:not([hidden]){gap:5px;width:100%}
   #examView .galaxy-choice-field select{min-width:0;max-width:100%;width:100%}
   #quiz .question{padding:15px}
 }
}
@media screen{
 .hero .brandBlock{display:block;max-width:66%;align-self:center}
 #examView .header>.controls>.galaxy-choice-filters{flex:0 1 auto;width:auto;min-width:220px}
 #examView .header>.examToolbar .galaxy-choice-field{flex-direction:row;align-items:center;flex-wrap:nowrap;gap:9px}
 #examView .header>.examToolbar .galaxy-choice-field>label{align-self:center;font-weight:700}
 #examView .examToolbar :is(button,select){min-height:44px}
 #examView .examToolbar .galaxy-class-filter{min-height:44px;padding-inline:4px}
 #examView .header>.controls>.galaxy-choice-filters label{white-space:nowrap}
 #examView .header>.controls>.galaxy-choice-filters select{width:clamp(180px,20vw,310px);margin:0}
 .question .meta:empty{display:none}
 @media(max-width:760px){
  .hero .brandBlock{max-width:95%}
  .hero .title{font-size:clamp(2rem,9vw,3rem)}
  .hero .subtitle{font-size:.76rem}
  .hero p{font-size:.9rem}
  #examView .header>.examToolbar>.galaxy-choice-filters{flex:1 1 100%;min-width:0;order:-1}
  #examView .header>.examToolbar .galaxy-choice-field select{width:auto;flex:1}
  #examView .actionsBar .controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  #examView .actionsBar :is(#btnFinish,#btnFinish2){grid-column:1/-1}
 }
}
@media screen{
 #studyTitle.studyCover{color:white;padding:clamp(24px,3vw,45px);border-radius:12px;letter-spacing:-.045em;font-size:clamp(2rem,3.6vw,3.7rem);background:linear-gradient(90deg,#2b2224fb,#342629cb 42%,#3025221a 90%),url("/recursos/portada-clase-1.jpeg") center 58% / cover;margin:12px 0 18px}
 #studyTabs[hidden]{display:none}
 #studyBody .studyTile summary{color:#155f69;cursor:pointer;font-weight:650}
 #studyBody .studyTile .tileLink{color:#125f69}
 #studyBody .planList .studyTile time{font-size:.87rem;font-weight:700;color:#805037}
 #studyBody .planList .studyTile h3{margin-top:.45rem}
}

/* The interactive partial uses a dark palette. Paper mode and print use the light palette above. */
@media screen {
  body:has(#examView:not([hidden],.paperMode)) {
    color-scheme: dark;
    --bg: #132431;
    --card: #1a303d;
    --text: #eef5fa;
    --muted: #bfd0da;
    --line: #3e5969;
    --edge: #3e5969;
    --sky: #a1dbe0;
    background: var(--bg);
    color: var(--text);
  }

  #examView:not(.paperMode) .card,
  #examView:not(.paperMode) #quiz .question {
    background: var(--card);
    color: var(--text);
    border-color: var(--line);
  }
  #examView:not(.paperMode) :is(.q,.pill b,.siteFooter strong) {color: var(--text)}
  #examView:not(.paperMode) .q-number {color: #e8c28e}
  #examView:not(.paperMode) :is(.provenance,.restoreNote,.pill,.searchPanel label,.byline,.sourceNote,.choiceScale p,.choiceScale td,#emptyMessage),
  #examView:not(.paperMode) .galaxy-choice-field label {color: var(--muted)}
  #examView:not(.paperMode) :is(a,.sourceMenu button,.searchPanel summary,.choiceScale summary,.sourcePolicy summary,.choiceScale th) {color: var(--sky)}
  #examView:not(.paperMode) :is(.sourceMenu,.choiceScale :is(th,td)) {border-color: var(--line)}
  #examView:not(.paperMode) .bar {background: #324e60}
  #examView:not(.paperMode) .bar>div {background: #72c7c5}
  #examView:not(.paperMode) .question .badge {color: #bdedf0;background: #23444e;border-color: #527a83}
  #examView:not(.paperMode) .question .badge.origin {color: #f4d4a6;background: #463629;border-color: #8b6e4b}

  #examView:not(.paperMode) :is(button,select,input[type=search]),
  body:has(#examView:not([hidden],.paperMode)) #resetDialog button {
    background-color: #213b4a;
    border-color: #567487;
    color: var(--text);
  }
  #examView:not(.paperMode) select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='9' viewBox='0 0 12 9'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%23bdd8e3' stroke-width='1.5'/%3E%3C/svg%3E");
  }
  #examView:not(.paperMode) .searchPanel input::placeholder {color: #a9c1ce}
  #examView:not(.paperMode) :is(button,select):hover {border-color: #9dc6d2}
  #examView:not(.paperMode) :is(#btnFinish,#btnFinish2) {
    background: #78ceca;
    border-color: #78ceca;
    color: #142e36;
  }
  #examView:not(.paperMode) :is(#btnFinish,#btnFinish2):hover {background: #9cddda}
  #examView:not(.paperMode) .galaxy-view-icon[aria-pressed=true] {
    background: #30575f;
    color: #c0f3ef;
    border-color: #83c4c5;
  }
  #examView:not(.paperMode) .filterActive {
    background: #30575f !important;
    color: #e0f7f5 !important;
    border-color: #83c4c5 !important;
    outline-color: #83c4c5;
  }

  #examView:not(.paperMode) #quiz .opt {background: #203746;color: var(--text);border-color: #415e70}
  #examView:not(.paperMode) #quiz .opt:hover {background: #294553;border-color: #6c9aa9}
  #examView:not(.paperMode) #quiz .opt:has(input:checked):not(.correct,.wrong) {background: #2c535b;color: var(--text);border-color: #8bcbd0}
  #examView:not(.paperMode) #quiz .opt.correct {background: #234c3d;color: #e0f7e9;border-color: #6eb491}
  #examView:not(.paperMode) #quiz .opt.wrong {background: #533641;color: #ffebec;border-color: #ca8991}
  #examView:not(.paperMode) #quiz .opt:focus-within {outline-color: #97d5db}
  #examView:not(.paperMode) #quiz .opt input {accent-color: #92dadd}
  #examView:not(.paperMode) #quiz .opt .option-letter {color: #bedfe8}
  #examView:not(.paperMode) #quiz .opt.wrong .option-letter {color: #ffc2c8}
  #examView:not(.paperMode) .questionFeedback .explain {color: var(--text);border-top-color: var(--line)}
  #examView:not(.paperMode) :is(.correctTitle,.opt.correct .optionStatus) {color: #adf0c8}
  #examView:not(.paperMode) :is(.wrongTitle,.opt.wrong .optionStatus) {color: #ffc2c8}
  #examView:not(.paperMode) .pendingLabel {color: #f3cd99}
  body:has(#examView:not([hidden],.paperMode)) #resetDialog {
    background: var(--card);
    color: var(--text);
    border-color: var(--line);
  }
}

@media screen {
  .titleRow {display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px}
  .releaseBadge {
    display:inline-flex;align-items:center;flex:none;padding:4px 9px;
    border:1px solid #e8c28e91;border-radius:7px;background:#28232a;
    color:#f3d79b;font:700 .875rem/1.2 "DM Sans",sans-serif;
    font-variant-numeric:tabular-nums;
  }
  #examView .header .hero .brandBlock {max-width:100%}
  #examView .examToolbar {display:grid;gap:10px}
  #examView .examToolbar .galaxy-choice-filters {
    display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:8px 14px;
  }
  #examView .examToolbar .galaxy-choice-field:not([hidden]) {
    display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;min-width:0;
  }
  #examView .examToolbar .galaxy-choice-field select {width:100%;min-width:0;text-overflow:ellipsis;margin:0}
  #examView :is(.examToolbarActions,.actionsBar .controls,.searchBody .controls) {
    display:flex;align-items:stretch;flex-wrap:wrap;gap:8px;
  }
  #examView .examToolbarActions .galaxy-choice-view-actions {gap:8px}
  #examView .examToolbarActions .galaxy-view-icon {width:44px;height:44px}
  #examView .examToolbarActions .galaxy-class-filter {
    display:inline-flex;align-items:center;justify-content:center;flex-wrap:nowrap;
    min-height:44px;padding:7px 10px;border:1px solid currentColor;border-radius:8px;
  }
  #examView .examToolbarActions #openAuthoring {justify-content:center}
  #examView :is(.actionsBar,.examToolbarActions,.searchBody) button,
  #examView .searchBody select,
  .slideNav :is(button,select,a), .dialogHead button, #resetDialog .controls button,
  .studyActions > :is(button,a), #studyTabs a {
    min-height:44px;max-width:100%;line-height:1.3;
  }
  .slideNav :is(select,a),.studyActions a,#studyTabs a {display:inline-flex;align-items:center}
  .slideNav a {margin-inline-start:0}
  #examView .searchBody .controls label {align-self:center}
  #examView .searchBody .jumpSelect {max-width:min(100%,28rem)}
  .actionsBar .pill {line-height:1.5}
  #examView .answerStrip th,#examView .answerStrip td {width:auto}
  #up {z-index:2}
  @media (max-width:600px) {
    #examView :is(.examToolbarActions,.actionsBar .controls) > :is(button,.galaxy-class-filter) {flex:1 1 auto}
    #examView .actionsBar .controls > button {font-size:.85rem;padding-inline:8px}
    #examView .searchBody .jumpSelect {flex:1 1 140px;min-width:0}
    #up {display:none}
  }
}
