/* KLOSTER-K10: bewusst lokal, ohne Darstellung der Landkapitel zu ändern. */
.monastery-chapter .monastery-activity{width:min(860px,calc(100vw - 24px));max-height:92dvh;box-sizing:border-box;}
.monastery-identity{display:flex;align-items:center;gap:16px;}
.monastery-identity h3{margin:0!important;}
.monastery-identity .dialogue-portrait{width:76px;height:76px;border-radius:14px;flex-shrink:0;background:#ffffff55;}
.monastery-conversation{background:var(--speaker-background)!important;border:2px solid var(--speaker-border)!important;border-radius:18px;padding:18px;}
.monastery-conversation p{font-size:clamp(17px,1.8vw,21px);line-height:1.55;}
.monastery-conversation .year-dialog-position{font-size:15px;text-align:right;white-space:nowrap;margin-bottom:0;}
.monastery-choices,.monastery-card-bank{display:grid;gap:10px;margin:14px 0;}
.monastery-activity .learning-answer{display:block;width:100%;margin:9px 0;text-align:left;white-space:normal;font-size:17px;line-height:1.45;padding:14px 18px;min-height:48px;box-sizing:border-box;}
.monastery-activity .learning-answer[aria-pressed=true]{background:#e2edf4;border-color:#526d81;box-shadow:inset 4px 0 #526d81;}
.monastery-activity .learning-answer.correct{background:#e3eedb;border-color:#536d41;}
.monastery-zones{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.monastery-zone{border:2px dashed #9a865e;padding:12px;border-radius:14px;background:#f7f1e5;min-height:150px;}
.monastery-zone h4{margin:0 0 10px;font-size:19px;}
.monastery-sort-card{cursor:grab;}
.monastery-activity details{margin:18px 0;padding:12px;background:#f1ebdc;border-radius:12px;}
.monastery-activity summary{cursor:pointer;padding:5px;min-height:30px;}
.monastery-result{padding:20px;border-left:5px solid #66844c;background:#eaf1e2;line-height:1.6;}
.monastery-chapter .village-mini{z-index:9;width:clamp(140px,16vw,220px);}
.monastery-chapter .village-picture{background:#c6c6c0;}
.monastery-chapter .field-direct-action{bottom:75px;max-width:min(520px,50%);}
.monastery-chapter .panorama-target{bottom:auto;top:12px;left:12px;transform:none;max-width:calc(100% - 250px);}
.monastery-chapter :focus-visible{outline:3px solid #22649b;outline-offset:3px;}
@media(max-width:700px){.monastery-zones{grid-template-columns:1fr;}.monastery-chapter .village-mini{width:126px;bottom:auto;top:12px;}.monastery-chapter .field-direct-action{max-width:calc(100% - 40px);bottom:75px;}.monastery-identity .dialogue-portrait{width:60px;height:60px;}.monastery-conversation{padding:12px;}}

@media(max-width:700px){.monastery-chapter .panorama-target{max-width:calc(100% - 155px);font-size:12px;}}

/* Aufgabensymbole: einheitlich, kontextbezogen und mit klarer Zielfarbe. */
.monastery-chapter .stage .activity-icon.panorama-goal{background:#f4d38b!important;border-color:#98651e!important;}
.monastery-chapter .stage .panorama-complete{background:#e3e0d6!important;border-color:#8c8a7b!important;}

.k10-detail-image{display:block;width:100%;max-height:240px;object-fit:contain;border-radius:8px;margin-top:12px}.dialogue:has(.k10-detail-image){max-height:90dvh;overflow:auto}.k10-order{padding:12px 12px 12px 36px;background:#efe5cf;border-radius:8px}.k10-order li{padding:5px}
.k10-explanation{margin:16px 0;background:#f2ede1;padding:12px;border-radius:12px;}
.k10-explanation img{display:block;width:100%;max-height:240px;object-fit:contain;background:#fbf8f0;border-radius:8px;}
.k10-explanation button{display:block;margin:12px auto;white-space:normal;}
.k10-explanation figcaption,.k10-visual-caption,.k10-source-credit{font-size:14px!important;line-height:1.5;}
.k10-source{border-left:5px solid #896e45;background:#f1e8d5;padding:16px;line-height:1.6;}
.dialogue:has(.k10-explanation){max-height:90dvh;overflow:auto;width:min(860px,calc(100vw - 28px));}
.k10-viewer{box-sizing:border-box;width:96vw;max-width:1600px;height:94dvh;max-height:94dvh;overflow:auto;border:2px solid #8b7757;border-radius:16px;background:#f7f2e6;padding:16px;}
.k10-viewer::backdrop{background:#17211de0;}
.k10-viewer header{display:flex;justify-content:space-between;align-items:center;gap:12px;}
.k10-viewer h2{font-size:clamp(18px,2.5vw,27px);margin:0;}
.k10-viewer button{min-height:44px;min-width:44px;}
.k10-viewer-controls{display:flex;justify-content:center;gap:12px;align-items:center;flex-wrap:wrap;margin:12px 0;}
.k10-viewer-controls output{min-width:65px;text-align:center;}
.k10-viewport{height:calc(94dvh - 250px);min-height:180px;position:relative;overflow:hidden;background:#ddd7c9;touch-action:none;cursor:grab;border-radius:10px;}
.k10-viewport img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transform-origin:center;user-select:none;pointer-events:none;}
.k10-viewer p{font-size:14px;margin:8px 0;}
@media(max-width:700px){.k10-viewer{padding:10px;}.k10-viewport{height:calc(94dvh - 300px);}.k10-explanation{padding:8px;}}
/* v0.2: Dokumente bekommen eine ruhige Leseansicht ohne Sprechblasenpfeil. */
dialog.k10-document-dialog{width:min(840px,calc(100vw - 28px));max-width:840px;max-height:90dvh;overflow:auto;}
.k10-document-dialog .dialogue-content{max-height:none;overflow:visible;}
.k10-document{clear:both;padding-top:14px;}
.k10-charter-quote{margin:12px 0;padding:18px 22px;background:#fff7e6;border-left:5px solid #987640;font-family:Georgia,serif;font-size:clamp(18px,2vw,23px);line-height:1.65;}
.k10-document>p{font-size:14px;line-height:1.5;}
.k10-comparison{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}.k10-page{background:#fff8e8;border:1px solid #c5b28d;border-radius:8px;padding:16px;line-height:1.65}.k10-page h3{font-size:19px}.k10-page li{margin-bottom:12px}.k10-gap{display:block;width:100%;border:2px dashed #9a865e;background:#f5efdf;padding:10px;min-height:44px;margin:8px 0;white-space:normal}.k10-gap[aria-pressed=true]{background:#f5d48a;border:2px solid #8d651c}.k10-materials{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.k10-time{font-size:clamp(22px,3vw,34px);font-weight:bold;letter-spacing:.06em;color:#543c20}.k10-perspective{font-weight:bold;font-size:20px}.k10-prelude .k10-explanation img{max-height:320px}.k10-copy-label{font-size:14px;color:#665b47}
@media(max-width:650px){.k10-comparison,.k10-materials{grid-template-columns:1fr}.k10-page{padding:12px}.k10-page ol{padding-left:24px}}
/* v1.1: Zuordnung im Bild und sichtbarer Abschriftenvergleich. */
.k10-numbered-picture{position:relative;margin:16px 0;width:100%;aspect-ratio:16/9}.k10-numbered-picture>img{display:block;width:100%;height:100%;object-fit:contain;border-radius:10px}.k10-object-number{position:absolute;transform:translate(-50%,-50%);border:3px solid #fff;background:#234c68;color:white;border-radius:50%;width:46px;height:46px;min-width:46px;min-height:46px;padding:0;font-size:22px;font-weight:bold;box-shadow:0 1px 6px #0009}.k10-card-bank{display:grid;gap:8px;margin:16px 0}.k10-drag-card{touch-action:none;cursor:grab}.k10-drag-card[aria-pressed=true]{outline:3px solid #b67a1c;outline-offset:2px}.k10-drag-ghost{position:fixed!important;z-index:100000!important;width:min(360px,70vw)!important;pointer-events:none!important;opacity:.9;background:#fff2cc!important;color:#292117!important;padding:14px;border:2px solid #9a742d;border-radius:10px;touch-action:none}.k10-drag-over{outline:4px solid #e2a32c!important}.k10-copy-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.k10-copy-grid>h3{font-size:18px}.k10-copy-source,.k10-copy-target{background:#fff8e8;border:1px solid #b8a680;border-radius:8px;padding:12px;line-height:1.5;text-align:left;white-space:normal;min-height:90px;font-size:17px}.k10-copy-source p{margin:6px 0}.k10-copy-target{border:2px dashed #927e56}.k10-copy-target:disabled{opacity:1;color:#383428;background:#e9efdf}.k10-copy-target.k10-missing{background:#fff0bf;border-color:#ac7416}.k10-assigned-list{line-height:1.5;padding-left:24px}.k10-assigned-list li{padding:5px 0}
@media(max-width:650px){.k10-copy-grid{gap:6px}.k10-copy-source,.k10-copy-target{font-size:15px;padding:8px;min-height:100px}.k10-object-number{width:40px;height:40px;min-width:40px;min-height:40px;font-size:20px}}
