/* abiturpfad.de · Probeklausur */
.ex-page { max-width: 920px; margin: 0 auto; }
.ex-lead { font-size: 1.05rem; }
.ex-facts { width: 100%; min-width: 0; border-collapse: collapse; margin: 1rem 0 1.4rem; font-size: 0.95rem; }
.ex-facts th, .ex-facts td { text-align: left; padding: 0.5rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.ex-facts th { width: 34%; color: var(--muted); font-weight: 600; background: none; text-transform: none; letter-spacing: 0; font-size: 0.92rem; }
#ex-app { background: var(--paper); border: 1px solid var(--line); border-radius: 0.9rem; padding: 1.2rem 1.25rem; margin: 1.4rem 0 2.2rem; }
.ex-btn { font: inherit; font-weight: 600; border: 1px solid var(--accent); background: var(--accent); color: #fff; border-radius: 0.55rem; padding: 0.62rem 1.05rem; min-height: 44px; cursor: pointer; }
.ex-btn:hover { background: #0b6260; }
.ex-btn.ghost { background: #fff; color: var(--accent); }
.ex-btn:disabled { opacity: 0.5; cursor: default; }
.ex-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 1rem 0 0.4rem; }
.ex-run-bar { position: sticky; top: 0; z-index: 5; background: #0f1c2d; color: #fff; border-radius: 0.6rem; padding: 0.55rem 0.85rem; display: flex; justify-content: space-between; gap: 0.6rem; flex-wrap: wrap; font-size: 0.9rem; margin-bottom: 1rem; }
.ex-clock { font-variant-numeric: tabular-nums; font-weight: 700; }
.ex-clock.ex-late { color: #fca5a5; }
#ex-msg { color: #b42318; font-size: 0.9rem; min-height: 1.2em; margin: 0 0 0.6rem; }
.ex-section { margin: 0 0 1.6rem; }
.ex-section > h2 { margin-top: 0.4rem; }
.ex-note-box { background: var(--pale); border: 1px solid #cce6e2; border-radius: 0.6rem; padding: 0.6rem 0.9rem; margin: 0.6rem 0 1rem; font-size: 0.95rem; }
.ex-group-title { font-size: 1.02rem; margin: 1.2rem 0 0.4rem; }
.ex-hint { font-size: 0.9rem; color: var(--muted); margin: 0 0 0.6rem; }
.ex-task { border: 1px solid var(--line); border-radius: 0.75rem; padding: 0.9rem 1rem; margin: 0.8rem 0; background: #fff; }
.ex-task.ex-unchosen { opacity: 0.55; }
.ex-task-head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.6rem; }
.ex-task-head h3 { margin: 0; font-size: 1.05rem; }
.ex-badge { font-size: 0.82rem; font-weight: 700; color: var(--accent); background: var(--pale); border-radius: 999px; padding: 0.15rem 0.6rem; white-space: nowrap; }
.ex-choose { display: flex; align-items: center; gap: 0.5rem; margin: 0.5rem 0; font-weight: 600; min-height: 40px; }
.ex-choose input, .ex-crit input, .ex-override input, .ex-opt input { width: 20px; height: 20px; accent-color: var(--accent); flex-shrink: 0; }
.ex-material { margin: 0.6rem 0; padding: 0.7rem 0.9rem; background: var(--ground); border-radius: 0.55rem; font-size: 0.97rem; line-height: 1.7; overflow-x: auto; }
.ex-material table { min-width: 0; margin: 0.6rem 0; }
.ex-sol-body table, .ex-note-box table { min-width: 0; }
.ex-material blockquote { margin: 0.5rem 0; padding-left: 0.8rem; border-left: 3px solid var(--line); }
.ex-fig { margin: 0.6rem 0; }
.ex-plot { width: 100%; max-width: 520px; height: auto; background: #fff; border: 1px solid var(--line); border-radius: 0.5rem; }
.ex-grid line { stroke: #e5ecee; stroke-width: 1; }
.ex-axis line { stroke: #17283d; stroke-width: 1.4; }
.ex-ticks text { font-size: 11px; fill: #526176; }
.ex-ticks .ex-axl { font-size: 13px; font-style: italic; fill: #17283d; }
.ex-fn { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.ex-fn0 { stroke: #0f7a78; } .ex-fn1 { stroke: #c2410c; } .ex-fn2 { stroke: #4338ca; } .ex-fn3 { stroke: #a21caf; }
.ex-fnl { font-size: 13px; font-style: italic; fill: #17283d; }
.ex-pt { fill: #17283d; }
.ex-part { margin: 0.9rem 0 0.3rem; }
.ex-prompt p { margin: 0.3rem 0; }
.ex-pts { color: var(--muted); font-size: 0.88rem; white-space: nowrap; }
.ex-note, .ex-essay, .ex-gap { width: 100%; font: inherit; font-size: 0.97rem; border: 1px solid var(--line); border-radius: 0.5rem; padding: 0.55rem 0.65rem; margin-top: 0.35rem; background: #fff; color: var(--ink); }
.ex-gap { max-width: 22rem; min-height: 44px; }
.ex-essay { min-height: 16rem; line-height: 1.6; }
.ex-wc { font-size: 0.82rem; color: var(--muted); text-align: right; }
.ex-mc { display: grid; gap: 0.45rem; margin-top: 0.35rem; }
.ex-opt { display: flex; align-items: center; gap: 0.6rem; border: 1px solid var(--line); border-radius: 0.55rem; padding: 0.55rem 0.7rem; min-height: 46px; cursor: pointer; }
.ex-opt:has(input:checked) { border-color: var(--accent); background: var(--pale); }
.ex-audio-list { display: grid; gap: 0.5rem; margin: 0.6rem 0 1rem; }
.ex-audio { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; border: 1px dashed var(--accent); border-radius: 0.6rem; padding: 0.55rem 0.75rem; background: #fff; }
.ex-audio-title { flex: 1 1 12rem; font-weight: 600; }
.ex-run-foot { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1rem; }
.ex-score { font-size: 1.7rem; font-weight: 700; margin: 0.2rem 0 0.8rem; }
.ex-score span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.ex-bar-row { margin: 0.5rem 0; }
.ex-bar-head { display: flex; justify-content: space-between; gap: 0.6rem; font-size: 0.9rem; }
.ex-track { height: 10px; background: #eef2f4; border-radius: 5px; overflow: hidden; margin-top: 0.25rem; }
.ex-fill { height: 100%; background: var(--accent); border-radius: 5px; transition: width 0.2s; }
.ex-warn { color: #92400e; background: #fffbeb; border: 1px solid #fde68a; border-radius: 0.5rem; padding: 0.5rem 0.7rem; font-size: 0.9rem; }
.ex-small { font-size: 0.84rem; color: var(--muted); }
#ex-board { position: sticky; top: 0; z-index: 4; background: #fff; border-bottom: 1px solid var(--line); padding: 0.4rem 0 0.8rem; margin-bottom: 1rem; }
.ex-auto { font-weight: 600; margin: 0.4rem 0; padding: 0.4rem 0.6rem; border-radius: 0.45rem; }
.ex-auto.ok { background: #ecfdf3; color: #166534; }
.ex-auto.bad { background: #fef2f2; color: #991b1b; }
.ex-override { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.ex-yours, .ex-sol, .ex-transcript { margin: 0.5rem 0; border: 1px solid var(--line); border-radius: 0.55rem; padding: 0.35rem 0.75rem; background: #fff; }
.ex-yours summary, .ex-sol summary, .ex-transcript summary { cursor: pointer; font-weight: 600; padding: 0.3rem 0; min-height: 36px; }
.ex-sol-body, .ex-yours-text { font-size: 0.95rem; line-height: 1.65; }
.ex-self { background: var(--pale); border-radius: 0.55rem; padding: 0.55rem 0.8rem; margin: 0.5rem 0; }
.ex-self-title { font-weight: 700; margin: 0 0 0.3rem; font-size: 0.92rem; }
.ex-crit { display: flex; gap: 0.55rem; align-items: flex-start; margin: 0.35rem 0; font-size: 0.93rem; }
.ex-crit-row { display: flex; justify-content: space-between; align-items: center; gap: 0.7rem; margin: 0.35rem 0; font-size: 0.93rem; }
.ex-crit-row select { font: inherit; padding: 0.35rem 0.4rem; border: 1px solid var(--line); border-radius: 0.4rem; min-height: 40px; background: #fff; }
.vec { display: inline-flex; flex-direction: column; vertical-align: middle; border-left: 2px solid var(--ink); border-right: 2px solid var(--ink); border-radius: 6px; padding: 0 0.4rem; margin: 0 0.15rem; line-height: 1.2; text-align: center; font-size: 0.95em; }
.frac { display: inline-flex; flex-direction: column; vertical-align: middle; text-align: center; font-size: 0.9em; line-height: 1.15; margin: 0 0.1rem; }
.frac > span:first-child { border-bottom: 1px solid currentColor; padding: 0 0.15rem; }
.ex-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.9rem; margin: 1rem 0 1.6rem; }
.ex-card { border: 1px solid var(--line); border-radius: 0.8rem; padding: 0.9rem 1rem; background: #fff; display: flex; flex-direction: column; gap: 0.35rem; }
.ex-card h3 { margin: 0; font-size: 1.05rem; }
.ex-card p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.ex-card a.ex-btn { text-align: center; text-decoration: none; margin-top: auto; }
@media (max-width: 650px) {
  #ex-app { padding: 0.9rem 0.75rem; }
  .ex-task { padding: 0.75rem 0.7rem; }
  .ex-crit-row { flex-direction: column; align-items: stretch; }
  .ex-facts th { width: 40%; }
  .ex-facts th, .ex-facts td { padding: 0.45rem 0.4rem; }
  #ex-board { position: static; border-bottom: 0; }
}
@media print {
  .site-header, .site-footer, .breadcrumb, .ex-actions, .ex-run-bar, .ex-run-foot, .ex-choose, .cc-bar, .ex-after { display: none !important; }
  #ex-app { border: 0; padding: 0; }
  .ex-task { break-inside: avoid-page; border-color: #999; }
  .ex-material { background: none; }
}
/* Texte mit Zeilenzählung: <ol class="ex-lines"><li>…</li>…</ol>; Strophen-/Absatzende: <li class="se"> */
.ex-lines { list-style: none; margin: 0.5rem 0; padding-left: 2.4rem; counter-reset: ln; }
.ex-lines li { counter-increment: ln; position: relative; margin: 0; line-height: 1.65; }
.ex-lines li.se { margin-bottom: 0.85em; }
.ex-lines li:nth-child(5n)::before { content: counter(ln); position: absolute; left: -2.4rem; width: 1.9rem; text-align: right; color: var(--muted); font-size: 0.78em; line-height: 2.1; }
.ex-src { font-size: 0.82rem; color: var(--muted); margin-top: 0.4rem; }
