/* SC content inside the inherited screens. */
[hidden] { display: none !important; }
#scYearEntries, #scCategoryEntries { display: contents; }
#scArchivePanel summary { cursor: pointer; }
.sc-archive-period { padding: 9px 0; border-top: 1px solid #9bb4c855; }
.sc-archive-period p { margin: 5px 0 0; font-size: .83rem; line-height: 1.6; }
.sc-archive-period a { color: inherit; }
#combinedWritten { margin: 9px 0 0; font-size: 13px; }
#scQuestionSource { padding: 0 14px 12px; font-size: 12px; overflow-wrap: anywhere; }
#scQuestionSource summary { cursor: pointer; width: fit-content; }
.sc-provenance { font-size: .84em; line-height: 1.6; margin: 10px 0; overflow-wrap: anywhere; }
.sc-quiz-question { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.sc-inline-option { min-width: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.sc-case-figure { max-width: 100%; margin: 10px 0; }
.sc-case-figure table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.sc-case-figure th, .sc-case-figure td { padding: 5px; border: 1px solid #a9bccc; text-align: left; vertical-align: top; font-size: .8rem; overflow-wrap: anywhere; }
.sc-case-figure th { font-weight: 800; }
.sc-case-part { margin-top: 14px; font-size: .95rem; line-height: 1.7; }
.sc-case-part h2 { font-size: 1rem; margin: 0; }
.sc-case-part p { margin: 5px 0; white-space: pre-wrap; }
.sc-case-part textarea { display: block; color: inherit; background: transparent; width: 100%; padding: 8px; font: inherit; min-height: 84px; resize: vertical; border: 1px solid #a9bccc; border-radius: 6px; }
.sc-case-part label { font-size: .83rem; }
.dockList.choiceCount4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.dockList.sc-case-dock { grid-template-columns: repeat(2,minmax(0,1fr)); }
.dockList.sc-case-dock > .action-btn { margin: 0; font-size: .85rem; padding: 6px 8px; width: 100%; }
.dockList.sc-case-dock > .sc-dock-wide { grid-column: 1 / -1; }
#scTopicOptions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; width: 100%; margin: 5px 0; }
.sc-list-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 0; border-bottom: 1px solid #9bb4c855; }
.sc-list-row > div:first-child { flex: 1 1 150px; min-width: 0; overflow-wrap: anywhere; }
.sc-list-row .action-btn { margin: 0; width: auto; min-width: 66px; font-size: .82rem; padding: 6px 9px; }
.sc-list-row small { display: block; font-size: .76rem; }
.sc-b-chart { list-style: none; padding: 0; }
.sc-b-chart strong { font-variant-numeric: tabular-nums; }
.sc-b-chart progress { width: 100%; accent-color: #277f74; }
#scExamCriteria { margin-top: 10px; }
#scExamCriteria a, #scQuestionSource a { color: inherit; }
#scExamCriteria p { margin: 6px 0; }
#scResultItems { margin-top: 12px; }
.sc-quiz-time { color: inherit; font-weight: 800; }
.choice[aria-pressed="true"].sc-chosen { outline: 2px solid #276f9b; outline-offset: -3px; }
.sc-feedback { max-width: 100%; }
#scApp .sheet { max-height: min(80vh,800px); overflow-y: auto; }
#scApp .sheetTop { position: sticky; top: 0; z-index: 1; background: inherit; }
#modalBody .choice-explain-list { list-style: none; padding: 0; }
#modalBody .choice-explain-item .choice-marker { color: inherit; }
#modalBody .calculation-guide .formula-label { overflow-wrap: anywhere; }
#modalBody .sc-case-checks { margin-top: 10px; }
#modalBody .blockTitle { color: var(--night-muted, #465962); }
#modalBody .sc-provenance a { color: var(--night-blue, #15598f); }
#scApp .quiz-body { padding-bottom: 120px; }
#scApp .quiz-body + .answerDock { position: fixed; }
#scApp .answerDock { padding-bottom: max(8px, env(safe-area-inset-bottom,0px)); }
#scApp .quiz-header { padding-bottom: 8px; }
#scApp .quiz-header .quiz-sub { overflow-wrap: anywhere; }
#scApp .nav-btn[disabled] { opacity: .6; }
@media (max-width: 430px) {
  #scApp .nav-btn { padding-inline: 6px; }
  #scApp #understandingRating { max-width: 100%; }
  #scApp .qText .sc-case-part { line-height: 1.66; }
}
