/* Stage 5.1: photo-specific presentation only. Approved type and palette retained. */
.lash-map-visual .map-eye{filter:none;object-fit:contain}
.lash-map-visual::after{display:none}
.map-key{padding:12px 13px;display:flex;flex-wrap:wrap;gap:6px;background:#fffaf4;border-top:1px solid #d9bdab45;min-height:70px;align-content:center}
.map-label{font-size:10px;line-height:1.4;padding:5px 8px;border:1px solid #d9bdab70;border-radius:5px;color:#755c4d;background:#f9f1e8}
.map-length-key{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;padding:10px 12px;min-height:63px}
.map-length-key>span{text-align:center;border-right:1px solid #d9bdab60}
.map-length-key>span:last-child{border:0}
.map-length-key small{display:block;font-size:8px;letter-spacing:.12em;color:#967967}
.map-length-key b{display:block;font:600 15px/1.5 var(--sans);color:#614b3e}
.map-length-key b::before{content:"";display:inline-block;width:4px;height:4px;margin-right:4px;background:var(--zone);border-radius:50%;vertical-align:middle}
.map-length-key i{font:400 9px var(--sans);color:#a08674}
.map-topline{height:auto;min-height:34px;line-height:1.5;padding-top:7px;padding-bottom:7px}
.map-topline span:first-child{white-space:nowrap;flex-shrink:0}
.map-topline span:last-child{text-align:right}
.map-profile-row{background:#fffaf4;border-top:1px solid #d9bdab45;padding:5px 18px}
.map-profile-row svg{display:block;width:100%;height:65px}
.modal .map-key{padding:14px 20px;min-height:72px}
.modal .map-label{font-size:12px;padding:7px 12px}
.modal .map-length-key b{font-size:22px}
.modal .map-length-key small{font-size:10px}
.modal .map-length-key i{font-size:11px}
.modal .map-profile-row svg{height:100px}
.paper.document-preview.real-document{padding:0;overflow:hidden;background:#f3e7da;height:auto;aspect-ratio:3/2}
.paper.document-preview.real-document>img{width:100%;height:100%;object-fit:contain;transform:none;box-shadow:none;max-height:none;border:0;border-radius:0}
.paper.document-preview.real-document .paper-label{display:none}
.lesson-map-photo{max-width:790px;margin:0 auto 12px}
.lesson-map-photo img.map-eye{height:100%;max-height:none;object-fit:contain}
.lesson-map-photo .map-key span{font-family:var(--sans)}
.lesson-source{margin:0;padding:12px 15px}
.lesson-source>img{display:block;width:100%;height:auto;max-height:none;margin-top:12px}
.lesson-source summary{font-size:12px}
.lesson-figure .map-length-key b{font-family:var(--sans)}
.lesson h1{overflow-wrap:anywhere}
@media(max-width:640px){
 .library-grid{grid-template-columns:minmax(0,1fr)}
 .map-label{font-size:10px;padding:5px 8px}
 .map-length-key b{font-size:15px}
 .modal .map-key{padding:10px;min-height:64px}
 .modal .map-label{font-size:10px;padding:5px 8px}
 .modal .map-length-key b{font-size:16px}
 .modal .map-length-key small{font-size:9px}
 .modal .map-length-key i{font-size:9px}
 .map-topline span:last-child{font-size:6px}
 .map-bottomline span:first-child{font-size:6px}
 .map-key{min-height:65px}
 .modal .map-profile-row svg{height:70px}
 .lesson-map-photo .map-topline{padding:7px 10px}
}
