.life-picture { position:relative; width:100%; line-height:0; aspect-ratio:800/420; overflow:hidden; background:#eef0e2; }
.life-picture img { display:block; width:100%; height:100%; object-fit:contain; }
.life-picture .life-overlay { position:absolute; inset:0; }
.life-layout { display:grid; grid-template-columns:minmax(0,1.95fr) minmax(245px,1fr); align-items:start; gap:clamp(16px,3vw,36px); }
.life-model { border:1px solid #bdcabc; border-radius:6px; overflow:hidden; }
.life-model figcaption { padding:2px 12px 6px; background:#fbfbf6; }
.life-layer-switch { display:flex; width:fit-content; max-width:100%; align-items:center; gap:8px; min-height:44px; font-weight:680; cursor:pointer; color:#234636; }
.life-layer-switch input { accent-color:#285b44; width:20px; height:20px; margin:0; flex:none; cursor:pointer; }
.life-target {
  --mark:#233f35; position:absolute; transform:translate(-50%,-50%); width:16px;height:16px;
  border:2px solid white; border-radius:50%; box-shadow:0 0 0 2px var(--mark); pointer-events:none;
}
.life-target-label { position:absolute; bottom:calc(100% + 7px); left:calc(50% - 8px); padding:5px 7px;
  background:var(--mark); color:white; border-radius:3px; white-space:nowrap; font-size:clamp(12px,1.2vw,15px); line-height:1.25; font-weight:630; }
.life-target-label::after { content:''; border-left:1.5px solid var(--mark); position:absolute; height:7px; bottom:-7px; left:7px; }
.label-left .life-target-label { left:auto; right:calc(50% - 8px); }
.label-left .life-target-label::after { left:auto;right:7px; }
.label-below .life-target-label { top:calc(100% + 7px); bottom:auto; }
.label-below .life-target-label::after { top:-7px; bottom:auto; }
.life-markers { display:flex; flex-wrap:wrap; align-items:center; gap:2px 6px; }
.life-key { padding:3px 9px; min-height:44px; font-size:.9rem; background:transparent; color:#365144; border:1px solid transparent; }
.life-key[aria-pressed=true] { font-weight:720; text-decoration:underline; text-underline-offset:.3em; background:#e9eee4; }
.life-readings { padding:0 0 12px; }
.life-readings dl { margin:0; }
.life-readings dl > div { padding:0 0 16px; }
.life-readings dt { font-size:1.12rem; font-weight:750; line-height:1.45; }
.life-readings dd { margin:4px 0 0; line-height:1.7; max-width:58ch; }
.life-readings h3 { font-size:1.1rem; padding:4px 0 6px; }
.life-text-layout { max-width:760px; }
.life-evidence summary,.life-location summary,.life-other-forms summary { width:fit-content; min-height:44px; padding-block:10px; color:#365443; font-weight:630; cursor:pointer; }
.life-evidence p.life-condition { font-size:1rem; line-height:1.7; margin-bottom:10px; }
.life-evidence ul { padding-left:19px; margin:0; }
.life-evidence li { margin:0 0 8px; }
.life-evidence p,.life-location p { font-size:.93rem; color:#46594b; line-height:1.6; }
.life-location { padding:10px 0 0; }
.life-footer { display:flex; gap:5px 18px; flex-wrap:wrap; margin:9px 0; border-top:1px solid var(--line); }
.life-footer a { min-height:44px; display:inline-flex; align-items:center; }
.life-list-heading { font-size:1.3rem; padding:0 0 12px; }
.life-gallery, .life-shortlist { display:grid; gap:22px 18px; grid-template-columns:repeat(auto-fill,minmax(min(235px,100%),1fr)); padding:0; margin:0 0 32px; list-style:none; }
.life-gallery a, .life-shortlist a { text-decoration:none; color:var(--ink); display:grid; gap:2px; }
.life-gallery .life-picture { border:1px solid #c4cdbb; border-radius:5px; margin-bottom:5px; }
.life-gallery small,.life-shortlist small { color:#455d4d; font-size:.88rem; }
.life-gallery p,.life-shortlist p { font-size:.94rem; line-height:1.6; }
.life-gallery a:hover strong,.life-shortlist a:hover strong { text-decoration:underline; }
.life-shortlist li { border-top:1px solid #c4d1c2; padding:9px 0; }
.life-other-forms summary { font-size:.86rem; font-weight:550; }
.life-other-forms a { min-height:44px; display:inline-flex; align-items:center; font-size:.9rem; text-decoration:underline; margin-right:8px; }
@media(max-width:750px) {
 .life-layout { grid-template-columns:1fr; }
 .lib-tabs a { padding-inline:clamp(4px,2vw,14px); white-space:nowrap; text-align:center; flex:1; font-size:.94rem; }
 .life-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 10px; }
 .life-model figcaption { padding-inline:8px; }
}
@media print { .life-layer-switch,.life-markers,.life-footer,.life-evidence,.life-model-info { display:none; } .life-model { break-inside:avoid; } }
.life-siting h3 { margin:0 0 8px; font-size:1.24rem; line-height:1.45; color:#234636; }
.life-siting dl { margin:0; }
.life-siting dt { margin-top:10px; font-weight:720; }
.life-siting dd { margin:3px 0 0; max-width:62ch; line-height:1.65; }
.life-facility { border-bottom:1px solid var(--line); margin-bottom:18px; padding-bottom:3px; }
.life-facility .life-evidence { margin-top:4px; }
.life-facility .life-evidence strong { font-size:.92rem; }
.life-notes > .life-markers { margin-bottom:12px; }
@media print { .life-siting .life-evidence { display:none; } }
.life-basis { display:inline-block; color:#4e5d50; font-size:.82rem; font-weight:530; margin-inline-start:8px; }
.life-key .life-text-key { margin-inline-start:5px; font-size:.76rem; color:#4c5f50; }
.life-comparison { margin-bottom:clamp(20px,4vw,38px); }
.life-comparison h2 { margin:0 0 8px; font-size:clamp(1.18rem,2vw,1.55rem); line-height:1.35; }
.life-comparison .life-markers { margin-block:0 9px; }
.life-compare-scale { display:flex; align-items:center; gap:4px; }
.life-compare-scale[hidden] { display:none; }
.life-compare-scale button {
  min-height:44px; padding:5px 12px; border:1px solid #b2c6b6; border-radius:4px;
  color:#204436; background:#f8faf4; font-weight:620;
}
.life-compare-scale button[aria-pressed=true] { background:#244c3c; border-color:#244c3c; color:#fff; }
.life-compare-hint { margin:10px 0; max-width:70ch; color:#264737; line-height:1.6; }
.life-compare-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(12px,2vw,24px); align-items:start; }
.life-compare-card { min-width:0; margin:0; }
.life-compare-title { margin:0 0 5px; color:#193d30; font-weight:730; line-height:1.35; }
.life-compare-picture { position:relative; overflow:hidden; border-radius:5px; background:#d9e3d4; }
.life-compare-picture img { width:100%; height:auto; display:block; }
.life-compare-guide { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.life-guide-halo { stroke:#282316; stroke-width:2.5px; fill:none; vector-effect:non-scaling-stroke; }
.life-guide-point { fill:none; stroke:#ffde82; stroke-width:2.5px; vector-effect:non-scaling-stroke; }
.life-guide-section { stroke:#ffebad; stroke-width:1.5px; stroke-dasharray:5 5; opacity:.92; filter:drop-shadow(0 1px 1px #243628); vector-effect:non-scaling-stroke; }
.life-guide-road { fill:none; stroke:#f1deae; stroke-width:8; }
.life-guide-roofs { fill:#b17852; stroke:#fff3d0; stroke-width:2; }
.life-compare-north { position:absolute; top:6px; right:6px; color:#fff; background:#19362e; padding:1px 5px; border-radius:2px; font-size:.79rem; font-weight:730; }
.life-compare-credit { margin:5px 0 0; font-size:.78rem; line-height:1.5; color:#3d5347; }
.life-compare-credit a { color:inherit; }
.life-compare-profile { max-width:685px; margin:14px 0 0; }
.life-compare-profile figcaption { margin-bottom:5px; font-weight:730; }
.life-compare-profile img { width:100%; height:auto; display:block; }
.life-compare-profile p { margin:4px 0 0; font-size:.94rem; line-height:1.55; color:#405549; }
.life-comparison-layout .life-notes { display:grid; grid-template-columns:1fr 1fr; gap:clamp(16px,4vw,44px); padding-top:14px; border-top:1px solid var(--line); }
.life-comparison-layout .life-facility { border-bottom:0; }
.life-model-info .life-picture { max-width:640px; margin-bottom:8px; }
@media(max-width:620px) {
  .life-comparison-layout .life-notes { grid-template-columns:1fr; }
  .life-comparison-layout .life-notes { gap:8px; }
  .life-comparison-layout .life-facility { border-bottom:1px solid var(--line); }
}
.life-compare-card { display:grid; grid-row:span 4; grid-template-rows:subgrid; row-gap:5px; }
.life-compare-card figcaption { align-self:end; }
.life-compare-enlarge { justify-self:start; min-height:44px; padding:3px 10px; border:1px solid #b2c6b6; background:#f5f7ef; color:#214b39; font-size:.84rem; }
.life-compare-credit { overflow-wrap:anywhere; }
.life-compare-legend { display:flex; flex-wrap:wrap; gap:5px 14px; margin:9px 0 0; padding:0; list-style:none; font-size:.86rem; }
.life-compare-legend[hidden] { display:none; }
.life-compare-legend li { display:flex; align-items:center; gap:5px; }
.life-compare-legend span { display:inline-block; width:14px; height:14px; border:1px solid #527060; border-radius:2px; }
.life-compare-dialog { width:min(850px,calc(100% - 28px)); max-height:calc(100% - 24px); margin:auto; padding:12px; background:#f8faf4; color:#193d30; border:1px solid #a7b9ad; border-radius:6px; }
.life-compare-dialog::backdrop { background:rgb(12 24 20 / .72); }
.life-compare-dialog .life-compare-card { display:block; }
.life-compare-dialog-tools { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; margin-bottom:10px; }
.life-compare-dialog-tools button { min-height:44px; padding-inline:10px; }
.life-compare-timing { margin:6px 0 0; color:#395747; font-size:.875rem; line-height:1.5; }
@media(max-width:620px) {
 .life-compare-pair { grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 9px; }
 .life-compare-title { font-size:.86rem; }
 .life-compare-credit { font-size:.72rem; }
}

.life-guide-gate { stroke-dasharray:4 4; }
