.german-course { display: grid; gap: 14px; }
.german-course h3, .german-course h4 { margin: 0 0 8px; color: var(--veli-ink); }
.german-course h3 { font-size: 1.15rem; }
.german-course p { overflow-wrap: anywhere; }
.german-settings, .german-actions, .chat-voice { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.german-settings { margin-block: 10px 16px; }
.german-settings label { font-size: .875rem; font-weight: 750; }
.german-settings select { display: block; margin-top: 5px; width: 100%; }
.german-dashboard, .german-scenes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-block: 12px 20px; }
.german-plan-heading { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.german-plan-heading h3 { margin: 0; }
.german-plan-action { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.german-plan-action p { margin: 0; color: var(--veli-muted); }
#germanPlanLevel { color: var(--veli-purple); font-weight: 750; }
.german-dashboard { margin-bottom: 12px; }
.german-dashboard .german-card { display: flex; flex-direction: column; align-items: start; }
.german-dashboard button { margin-top: auto; }
.german-placement, .german-pronunciation { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between; margin-block: 14px; }
.german-placement div, .german-pronunciation div { flex: 1 1 240px; }
.german-placement p, .german-pronunciation p { margin-bottom: 0; }
.german-speech-target { color: var(--veli-purple); }
.german-speech-recording { margin-top:10px; }
.german-speech-feedback { margin-block:10px; }
.german-placement-feedback { display: grid; gap: 10px; margin-block: 12px; padding-inline-start: 24px; }
.german-placement-feedback p { margin: 2px 0; }
#germanGoalText, #germanNextText { color: var(--veli-ink); font-weight: 680; }
.german-card, .german-scene { min-width: 0; border: 1px solid var(--ws-line); border-radius: var(--veli-control); background: var(--ws-card); }
.german-card { padding: clamp(12px,3vw,20px); }
.german-card p { margin: 6px 0 12px; }
.german-card ul { padding-inline-start: 20px; margin: 8px 0 0; }
.german-card li:has(button) { list-style: none; margin: 7px 0; }
#germanWeaknesses:has(button) { padding-inline-start: 0; }
.german-card li small { display: inline-block; margin-inline-start: 8px; color: var(--veli-muted); }
.german-card progress { width: 100%; display: block; margin-block: 8px 12px; accent-color: var(--veli-purple); }
.german-card progress[hidden] { display: none; }
.german-week-days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.german-week-days li { display: grid; gap: 3px; justify-items: center; color: var(--veli-muted); font-size: .84rem; }
.german-week-days li:last-child { color: var(--veli-purple); font-weight: 750; }
.german-week-days progress { height: 6px; margin: 4px 0; }
.german-options { margin: 15px 0; }
.german-options summary { cursor: pointer; color: var(--veli-purple); font-size: .9rem; font-weight: 700; }
.german-focus { margin-bottom: 20px; }
#germanFocusProgress { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--ws-line); }
.german-card #germanFocusProgressList { list-style: none; padding: 0; }
#germanFocusProgressList li + li { margin-top: 7px; }
.german-scene { overflow: hidden; padding: 0 0 12px; }
.german-scene h4, .german-scene .german-actions { margin-inline: 12px; }
.german-scene h4 { margin-block: 10px 5px; }
.german-scene-progress { margin: 0 12px 8px; color: var(--veli-muted); font-size: .85rem; }
.german-skill-check { margin-inline-start: 5px; }
.german-image { aspect-ratio: 3 / 2; background: url("../../brand/images/deutsch-wien-szenen.webp") no-repeat; background-size: 200% 200%; }
.german-image-cafe { background-position: left top; }
.german-image-tram { background-position: right top; }
.german-image-office { background-position: left bottom; }
.german-image-store { background-position: right bottom; }
.german-image-flat { background: url("../../brand/images/deutsch-wien-wohnung.webp") center / cover no-repeat; }
.german-image-work { background: url("../../brand/images/deutsch-wien-arbeit.webp") center / cover no-repeat; }
.german-activity .german-image { max-width: 540px; border-radius: 10px; margin: 8px 0 14px; }
.german-picture { max-width: 540px; margin-block: 8px 14px; }
.german-picture-frame { position: relative; }
.german-picture-instruction { color: var(--veli-muted); font-size: .9rem; }
.german-picture-marker { position: absolute; transform: translate(-50%,-50%); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 2px solid white; border-radius: 50%; background: #382355; color: white; font: inherit; font-weight: 800; box-shadow: 0 2px 7px #18122566; cursor: pointer; }
.german-picture-marker[aria-pressed="true"] { background: #f3ddff; color: #382355; border-color: #382355; }
.german-picture-marker[data-answer="correct"] { background: #14583d; color: white; border-color: white; }
.german-picture-marker[data-answer="incorrect"] { background: #842940; color: white; border-color: white; }
.german-picture-marker[data-answer]::after { position: absolute; inset-inline-end: -5px; inset-block-start: -9px; font-size: .8rem; border-radius: 100%; width: 18px; background: inherit; color: inherit; }
.german-picture-marker[data-answer="correct"]::after { content: '✓'; }
.german-picture-marker[data-answer="incorrect"]::after { content: '×'; }
.german-picture-quiz { padding: 12px; margin-block: 8px; background: var(--ws-card); border: 1px solid var(--ws-line); border-radius: var(--veli-control); }
.german-picture-quiz button + button { margin-inline-start: 5px; }
.german-picture-quiz p { margin: 0 0 8px; }
.german-picture-quiz p:empty { display: none; }
.german-picture-quiz .german-actions { margin-bottom: 8px; }
.german-picture-misses { margin-block: 0 8px; padding-inline-start: 20px; }
.german-picture-misses strong { color: var(--veli-ink); }
.german-picture-marker:focus-visible { outline: 3px solid white; outline-offset: 2px; box-shadow: 0 0 0 7px #382355; }
.german-picture-detail:not(:empty) { padding: 10px 12px; margin-bottom: 14px; background: #f7f1fc; border-radius: 10px; }
.german-picture-detail .german-hint { margin-bottom: 0; }
.german-picture-vocabulary strong { color: var(--veli-ink); }
.german-activity > .secondary-button { margin-bottom: 14px; }
.german-exercise-title { color: var(--veli-muted); font-size: .9rem; }
.german-question, .german-word { color: var(--veli-ink); font-size: clamp(1.15rem,2.8vw,1.6rem); line-height: 1.35; font-weight: 730; }
.german-reading { max-width: 64ch; margin-block: 6px 16px; padding: 14px 16px; border-inline-start: 3px solid var(--veli-purple); border-radius: 0 10px 10px 0; background: var(--ws-card); }
.german-reading h5 { margin: 0 0 5px; color: var(--veli-ink); font-size: 1rem; }
.german-reading p { margin: 0; line-height: 1.6; }
.german-audio { margin-bottom: 8px; }
.german-course audio { width: min(100%,360px); }
.german-status, .german-audio-status, .german-feedback-issues, #germanPrivacy { font-size: .87rem; color: var(--veli-muted); }
.german-status:empty, .german-audio-status:empty, #germanExamSummary:empty, #chatVoiceStatus:empty { display: none; }
.german-answer { display: grid; gap: 7px; margin: 15px 0 0; }
.german-answer label { font-weight: 700; }
.german-answer :is(textarea,input) { width: 100%; }
.german-answer textarea { resize: vertical; }
.german-hint { margin-block: 10px; }
.german-hint summary { cursor: pointer; }
.german-feedback { padding: 12px 15px; border: 1px solid var(--ws-line); border-radius: var(--veli-control); background: #f9f4fc; margin-block: 10px; }
.german-feedback blockquote { margin: 8px 0; color: var(--veli-ink); font-weight: 700; }
.german-result { font-weight: 750; }
.german-dialogue-line { margin: 10px 0; padding: 14px 16px; border-inline-start: 3px solid var(--veli-purple); border-radius: 0 10px 10px 0; background: #f7f1fc; color: #33224b; font-size: clamp(1.1rem,2.6vw,1.4rem); line-height: 1.45; overflow-wrap: anywhere; }
.german-dialogue-objective { color: var(--veli-ink); font-weight: 680; }
.german-dialogue-history { margin-block: 16px; }
.german-dialogue-history summary { color: var(--veli-purple); cursor: pointer; font-weight: 700; }
.german-dialogue-history .german-dialogue-history-line { margin: 14px 0 0; color: var(--veli-muted); }
.chat-voice { gap: 7px; align-items: center; }
.chat-voice audio { max-width: 250px; height: 34px; }
.chat-voice p { margin: 0; color: var(--veli-muted); font-size: .83rem; }
.chat-read { margin-block: 6px 0; padding: 3px 8px; font-size: .83rem; }
:is(#chatMic,.german-answer button)[aria-pressed="true"] { background: #f6cce0; color: #541839; }
@media (max-width: 620px) {
  .german-dashboard { grid-template-columns: 1fr; }
  .german-scenes { gap: 9px; }
  .german-scene h4, .german-scene-progress, .german-scene .german-actions { margin-inline: 8px; }
  .german-scene .german-actions button { font-size: .85rem; padding-inline: 8px; }
  .german-settings { align-items: end; }
}
