.be-screen { color:#20372f; overflow-wrap:anywhere }
.be-screen [hidden],.be-time-controls [hidden] { display:none !important }
.be-screen h2,.be-screen h3 { color:#183d34; line-height:1.4 }
.be-screen h2 { font-size:clamp(1.12rem,2.1vw,1.4rem); margin:0 0 .75rem }
.be-screen h3 { font-size:1.05rem; margin:1.45rem 0 .5rem }
.be-heading { margin:0 0 1.3rem }
.be-heading h1 { color:#183d34; letter-spacing:-.025em; margin-bottom:.35rem }
.be-screen .be-sub,.be-time span,.be-metrics dt,.be-score-facts dt { color:#566b62 }
.be-screen .be-sub { font-size:.92rem; margin:.35rem 0 .85rem }
.be-card,.be-exam-bar { box-sizing:border-box; border:1px solid #d6e0d8; background:#fff; border-radius:15px }
.be-screen .be-card { min-width:0; margin:1rem 0; padding:clamp(16px,2.5vw,28px) }
.be-screen button,.be-sheet-jump,.be-time-controls button {
  align-items:center; background:#fff; border:1px solid #bfcfc6; border-radius:8px; box-sizing:border-box;
  color:#285044; cursor:pointer; font:inherit; line-height:1.4; min-height:40px; padding:7px 14px; touch-action:manipulation
}
.be-screen button:hover:not(:disabled),.be-sheet-jump:hover,.be-time-controls button:hover { background:#edf4ef; border-color:#84a596 }
.be-screen button.be-primary,.be-screen .be-input button[aria-pressed=true],.be-screen button.be-submit:hover {
  background:#1f624f; border-color:#1f624f; color:#fff
}
.be-screen button.be-primary:hover:not(:disabled),.be-screen .be-input button[aria-pressed=true]:hover { background:#184b3c; color:#fff }
.be-screen button:disabled { background:#f3f5f2; color:#6a7972; border-color:#d7dfd9; cursor:default; opacity:.7 }
.be-screen :is(button,a,select,input,textarea,summary):focus-visible,.be-time-controls :focus-visible {
  outline:3px solid #b86a10; outline-offset:2px
}
.be-screen label,.be-time-controls label { display:grid; gap:5px; min-width:0 }
.be-screen input,.be-screen select,.be-screen textarea,.be-time-controls select,.be-time-controls input {
  background:#fff; border:1px solid #b9c9bf; border-radius:8px; box-sizing:border-box; color:#20372f;
  font:inherit; min-height:42px; max-width:100%; padding:8px 11px
}
.be-screen .be-actions,.be-presets,.be-time-controls .be-actions { display:flex; align-items:end; flex-wrap:wrap; gap:8px; margin:.75rem 0 }
.be-metrics,.be-score-facts { display:flex; flex-wrap:wrap; gap:14px 36px; margin:0 }
.be-metrics { padding:5px 0 19px; margin:0 0 18px; border-bottom:1px solid #dee6e0 }
.be-metrics dt,.be-score-facts dt { font-size:.82rem }
.be-metrics dd,.be-score-facts dd { margin:.3rem 0 0; font-size:1.33rem; font-weight:680; line-height:1.3; font-variant-numeric:tabular-nums }
.be-metrics small { font-size:.8rem; font-weight:500; color:#54665d }
.be-time-controls .be-actions label { min-width:min(9rem,100%) }
.be-time-controls [data-be-minutes] { width:9rem }
.be-time-controls .be-presets button { min-height:36px; padding:.3rem .75rem }
.be-setup-footer,.be-pager { display:flex; justify-content:flex-end; gap:8px; margin-top:1.3rem; padding-top:1rem; border-top:1px solid #dde5df }
.be-notes { color:#5f5c40; padding:.8rem 1rem .8rem 2rem; background:#faf6e8; border-radius:8px }
.be-exam-bar { display:flex; align-items:center; gap:.6rem; padding:.65rem 1rem; margin:1rem 0; background:#edf4ef; border-color:#d0ded4 }
.be-time { display:flex; flex-wrap:wrap; align-items:baseline; column-gap:.65rem; margin-right:auto }
.be-time span { font-size:.86rem }
.be-time strong { font-size:1.42rem; line-height:1.3; color:#183d34; font-variant-numeric:tabular-nums }
.be-sheet-jump { display:none; text-decoration:none; text-align:center }
.be-screen .be-submit { background:#fff; color:#174c3d; border-color:#65907d; font-weight:650; padding-inline:1.3rem }
.be-columns { display:grid; grid-template-columns:minmax(0,1fr) clamp(210px,27%,300px); gap:16px; align-items:start }
.be-screen .be-columns>.be-card { margin:0 }
.be-question-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:.6rem; flex-wrap:wrap; padding-bottom:.95rem; border-bottom:1px solid #e1e7e2; margin-bottom:1rem }
.be-question-heading h2,.be-question-heading .be-sub { margin:0 }
.be-question-heading .be-sub { margin-top:.28rem }
.be-screen .be-flag-control { min-height:36px; margin:0; padding:.35rem .7rem; font-size:.87rem }
.be-screen .be-flag-control[aria-pressed=true] { color:#6a4510; border-color:#be9856; background:#fbf1d7 }
.be-screen .be-input { border:0; min-width:0; max-width:none; margin:1.4rem 0 0; padding:0; font-weight:650 }
.be-input legend { padding:0; margin-bottom:.3rem }
.be-screen .be-input button { margin:.3rem .35rem .15rem 0; min-width:46px; min-height:44px; font-variant-numeric:tabular-nums }
.be-screen .be-input textarea { width:100%; resize:vertical; font-weight:400; line-height:1.7 }
.be-screen .be-text { white-space:pre-wrap; line-height:1.85; overflow-wrap:anywhere }
.be-screen .be-figure { display:block; max-width:100%; height:auto; margin:8px 0 14px; background:#fff }
.be-player { margin:.9rem 0; font-size:.88rem; font-weight:600; color:#365446 }
.be-player audio { display:block; width:min(100%,460px); margin:.35rem 0 0 }
.be-pager { justify-content:space-between }
.be-sheet { scroll-margin-top:5.5rem }
.be-screen .be-sheet h3 { margin:0 0 .55rem; font-size:1.05rem }
.be-sheet-legend { display:flex; flex-wrap:wrap; gap:.32rem .7rem; color:#53655b; font-size:.76rem; margin:0 0 .85rem }
.be-sheet-legend span { display:inline-flex; align-items:center; gap:.35em }
.be-sheet-legend span::before { content:""; display:inline-block; width:.65em; height:.65em; border-radius:2px; box-sizing:border-box }
.be-legend-current::before { border:2px solid #1f624f; }
.be-legend-answered::before { background:#cbdfcf; border:1px solid #83a792 }
.be-legend-flag::before { background:#ac6a13; transform:rotate(45deg); }
.be-questions { display:grid; grid-template-columns:repeat(auto-fill,minmax(38px,1fr)); gap:6px; margin:.75rem 0 0 }
.be-screen .be-questions button { position:relative; min-width:0; min-height:40px; padding:5px 2px; font-size:.92rem; font-variant-numeric:tabular-nums }
.be-screen .be-questions [aria-current=step] { box-shadow:inset 0 0 0 2px #285d49; color:#173c30; font-weight:750; border-color:#285d49 }
.be-screen .be-correct,.be-screen .be-answered { background:#e1efe5; color:#214f3b; border-color:#b7cfc0 }
.be-screen .be-partial,.be-screen .be-pending { background:#fbf1d7; color:#6a470f; border-color:#dec58d }
.be-screen .be-incorrect { background:#fae9e4; color:#823f2c; border-color:#ddb6a9 }
.be-screen .be-unanswered { background:#eff2ef; color:#526057; border-color:#d1d9d2 }
.be-screen .be-questions .be-flag::after { content:""; position:absolute; right:4px; top:4px; width:6px; height:6px; transform:rotate(45deg); background:#a76610 }
.be-score-band { display:flex; align-items:center; justify-content:space-between; gap:1rem 2.5rem; flex-wrap:wrap; margin:0 0 .85rem; padding-bottom:.85rem; border-bottom:1px solid #d5e3d9 }
.be-screen .be-summary { background:#edf5ef; border-color:#cadbd0 }
.be-score-band h2 { font-size:1rem; color:#36574a }
.be-screen .be-score { font-size:clamp(2.45rem,5.5vw,3.5rem); font-weight:720; line-height:1.12; color:#183d34; margin:.3rem 0 0; font-variant-numeric:tabular-nums }
.be-score small { font-size:1rem; font-weight:500; color:#4f665a }
.be-distribution { list-style:none; display:flex; flex-wrap:wrap; gap:6px; margin:.9rem 0 0; padding:0 }
.be-distribution li,.be-status { display:inline-block; font-size:.84rem; font-weight:600; padding:.23rem .63rem; border-radius:6px }
.be-analysis details { border-top:1px solid #dce5dd; margin-top:1.15rem; padding-top:.8rem }
.be-screen details summary { color:#245e49; font-weight:650; cursor:pointer }
.be-screen .be-review .be-questions { margin:1rem 0 1.5rem }
.be-screen .be-review-question { border-top:1px solid #d9e2db; margin-top:1rem; padding-top:1rem; scroll-margin-top:1rem }
.be-screen .be-manual { margin:1.3rem 0 0; padding:.95rem 1.1rem; border-radius:8px; border-inline-start:4px solid #b78a38; background:#fbf6e9 }
.be-manual h3 { margin-top:0 }
.be-table-scroll { width:100%; overflow:auto }
.be-trend { width:100%; border-collapse:collapse; font-variant-numeric:tabular-nums }
.be-trend th,.be-trend td { padding:8px 10px; text-align:left; border-bottom:1px solid #d9e2de; white-space:nowrap }
@media(max-width:850px){
  .be-columns { grid-template-columns:1fr; gap:12px }
  .be-sheet-jump { display:inline-flex; align-items:center; justify-content:center }
  .be-exam-bar { position:sticky; top:0; z-index:2; box-shadow:0 2px 5px #183d3410 }
}
@media(max-width:520px){
  .be-exam-bar { gap:.4rem; padding:.5rem .6rem }
  .be-screen .be-submit,.be-sheet-jump { min-height:42px; padding:.5rem .8rem }
  .be-time { display:grid; gap:0 }.be-time span { font-size:.75rem }.be-time strong {font-size:1.22rem}
  .be-metrics,.be-score-facts { gap:.6rem 1.6rem }
  .be-pager button,.be-screen .be-questions button { min-height:44px }
  .be-questions { grid-template-columns:repeat(auto-fill,minmax(42px,1fr)) }
  .be-heading h1 { font-size:clamp(1.45rem,6vw,1.85rem) }
}
.work button.fill-cloze,button.fill-cloze {
  display:inline; vertical-align:baseline; margin:0 .16em; min-height:0; min-width:0;
  padding:.12em .48em; border:1px dashed #527c66; border-radius:.28em; background:#eaf3e9;
  color:#244e39; font-weight:600; font-family:inherit; font-size:.92em;
  line-height:1.7; cursor:pointer; white-space:normal; overflow-wrap:anywhere; text-align:start;
  box-shadow:none; box-decoration-break:clone; -webkit-box-decoration-break:clone;
}
.work button.fill-cloze:hover,button.fill-cloze:hover {background:#daeade;color:#143f2e}
.work button.fill-cloze[aria-expanded=true],button.fill-cloze[aria-expanded=true] {
  background:#fff8db; border-style:solid; border-color:#aa853b; color:#564012;
}
button.fill-cloze:focus-visible {outline:3px solid #936a25;outline-offset:2px}
.fill-cloze [hidden] {display:none!important}
