/* Readable hierarchy, with evidence distinctions independent of colour. */
.record-card .record-kind{font-size:11px}.list-heading p,.list-heading button{font-size:12px}.evidence-tooltip{width:max-content}
.workspace{grid-template-columns:368px minmax(0,1fr)}
.subject-name{font-size:14px;line-height:1.35}.subject-meta{font-size:11px;line-height:1.5;color:#526667;margin-top:4px}.subject-row{padding:12px 8px}.only-button{font-size:12px;padding:7px 9px}.subject-group summary{font-size:14px}.section-tools,.explorer-footer{font-size:11px}.tabs button{font-size:13px}.search-box input{font-size:13px}.pending{color:#795d26}.explorer-tip{font-size:12px;line-height:1.6}.eyebrow{font-size:10px}
.record-card{padding:14px 12px}.record-card strong{font-size:15px;line-height:1.4}.record-card small{font-size:12px;line-height:1.6;color:#526667}.record-kind{font-size:11px;line-height:1.4;color:#526667}.record-card.selected-record{border:2px solid #09665c;background:#eff4f2}.source-card>a{font-size:15px;line-height:1.45}.source-card p,.source-card details{font-size:12px;line-height:1.6}.source-card summary{cursor:pointer;font-size:12px;padding:6px 0}.source-stage{font-size:11px}.panel-note,.filter-note,.field{font-size:12px;line-height:1.5}
.map-summary{font-size:12px;line-height:1.45;max-width:calc(100% - 305px);flex-wrap:wrap;gap:4px 7px;padding:10px 12px}.map-summary strong{font-weight:550}.map-summary>span:last-child{color:#526667}.map-settings select{font-size:12px}.map-caption{font-size:10px}.legend{font-size:12px;max-width:255px;padding:11px 13px;max-height:45%;overflow:auto}.legend-toggle{font-size:12px}.legend-item{font-size:12px;margin-top:7px}.legend-note{font-size:11px;line-height:1.5;color:#526667}.legend-scale{font-size:11px}.evidence-key{border-top:1px solid #d8e0df;margin-top:10px;padding-top:8px;font-size:11px;line-height:1.6;color:#30464a}
.point-marker button{width:24px;height:24px;background:transparent!important;border:0;box-shadow:none;display:grid;place-items:center;color:var(--marker);font-size:20px;font-weight:700}.point-marker button:before{content:'';display:block;width:13px;height:13px;background:var(--marker);border:2px solid white;border-radius:50%;box-shadow:0 1px 5px #143c4033}.point-marker.evidence-station button:before{border-radius:3px}.point-marker.evidence-dna button:before{border-radius:2px;transform:rotate(45deg);width:12px;height:12px}.point-marker.evidence-study button:before{width:19px;height:19px;background:#fff;border:2px dashed var(--marker);border-radius:50%}.point-marker.evidence-absence button:before{display:none}.point-marker button:focus-visible{outline:3px solid #b98325;outline-offset:3px}.cluster-marker button{font-size:12px;width:36px;height:36px}.mixed-marker button{background:#526667!important;--marker:#526667}.evidence-tooltip{white-space:normal;max-width:285px;padding:10px 12px;font:12px/1.5 Arial,sans-serif;color:#143c40}.evidence-tooltip strong{font-size:13px;display:block}.evidence-tooltip span{display:block;color:#526667}.place-label{font:600 11px/1.35 Arial,sans-serif;background:#fffffff0;color:#143c40;padding:5px 7px;border:1px solid #d8e0df;border-radius:4px;box-shadow:0 1px 4px #143c4015;pointer-events:none;overflow:hidden}.selected-place-label{font:600 12px/1.35 Arial,sans-serif;width:230px;max-width:230px;white-space:normal;color:#143c40;border:1px solid #09665c;padding:8px 10px;box-shadow:0 2px 10px #143c4022}
.detail-panel{width:400px;z-index:1100;padding:24px;scroll-padding-top:52px}.detail-panel h2{font:normal 26px/1.2 Georgia,serif;margin:12px 0 14px;padding-right:22px}.detail-kind{font-size:11px;line-height:1.5;letter-spacing:.6px;color:#09665c;text-transform:uppercase}.detail-meta{font-size:13px;line-height:1.6;color:#526667}.record-intro,.finding-section>p{font-size:14px;line-height:1.65;margin:15px 0}.precision-callout{font-size:12px;line-height:1.5;color:#675021;background:#faf5e8;border-left:3px solid #d8bd6c;padding:10px 12px;margin:10px 0}.finding-section{border-top:1px solid #d8e0df;padding-top:15px;margin-top:18px}.finding-section h3{font-size:14px;margin:0 0 14px}.readable-metric{padding:12px 0;border-bottom:1px solid #e8eeeb}.readable-metric>span{display:block;font-size:12px;color:#526667}.readable-metric>strong{display:block;font-size:25px;font-weight:550;line-height:1.3;margin:5px 0;color:#143c40}.readable-metric strong small{font-size:12px;font-weight:400;color:#526667}.readable-metric p{font-size:12px;line-height:1.55;color:#526667;margin:5px 0}.detail-panel .secondary-details{font-size:12px;line-height:1.65;border-top:1px solid #d8e0df;margin-top:14px}.secondary-details summary{font-size:13px;padding:12px 0;cursor:pointer}.secondary-details dd{margin:3px 0 12px;overflow-wrap:anywhere}.secondary-details dt{font-weight:600}.secondary-details p{overflow-wrap:anywhere}.source-citation{margin:20px 0;font-size:13px;line-height:1.6}.source-citation>span{display:block;font-size:11px;color:#526667;margin-bottom:4px}.source-citation a{display:block}.taxa-list small{display:block;font-size:10px}.detail-panel>.close-button{position:sticky;float:right;top:0;right:0;background:white;border:1px solid #d8e0df;z-index:2;width:34px;height:34px;padding:3px}.map-summary .summary-dot{flex-shrink:0}
@media(max-width:1080px) and (min-width:721px){.workspace{grid-template-columns:320px minmax(0,1fr)}.detail-panel{width:340px}.map-summary{max-width:calc(100% - 40px);top:62px}.legend{max-width:230px}}
@media(max-width:720px){.workspace{display:flex}.map-summary{top:54px;left:12px;max-width:calc(100% - 24px);font-size:11px;padding:8px 10px}.map-caption{font-size:9px}.map-settings select{font-size:11px;max-width:220px}.map-stage{height:68dvh;min-height:475px}.legend{font-size:11px;max-width:220px;max-height:42%}.legend-note,.evidence-key{font-size:11px}.detail-panel{position:fixed;left:0;right:0;bottom:0;top:auto;width:100%;max-height:48dvh;z-index:1200;border-radius:18px 18px 0 0;box-shadow:0 -8px 30px #143c4033;padding:18px 20px 24px;padding-bottom:max(24px,env(safe-area-inset-bottom));overscroll-behavior:contain;border-top:1px solid #d8e0df}.detail-panel h2{font-size:23px}.detail-panel:before{content:'';display:block;width:36px;height:4px;border-radius:4px;background:#c2cfcb;margin:0 auto 12px}.detail-panel>.close-button{width:38px;height:38px}.subject-meta{font-size:12px}.subject-name{font-size:14px}.header-actions .quiet{font-size:10px}.selected-place-label{width:175px;max-width:175px;font-size:11px}.source-card p{font-size:13px}.explorer-footer{font-size:11px}}
@media print{.place-label{display:none}.map-summary{font-size:10px;max-width:75%}.legend{font-size:10px;max-height:40%;max-width:250px}.legend-note,.evidence-key{font-size:9px}.map-caption{font-size:8px}.detail-panel{display:none!important}}

@media(min-width:721px){.map-canvas:has(.detail-panel:not([hidden])) .leaflet-right{right:400px}.map-canvas:has(.detail-panel:not([hidden])) .map-summary{max-width:calc(100% - 440px)}.map-canvas:has(.detail-panel:not([hidden])) .map-settings{right:418px}.map-canvas:has(.detail-panel:not([hidden])) .map-caption{max-width:calc(100% - 460px)}}
@media(min-width:721px) and (max-width:1080px){.map-canvas:has(.detail-panel:not([hidden])) .leaflet-right{right:340px}.map-canvas:has(.detail-panel:not([hidden])) .map-summary{max-width:calc(100% - 380px)}.map-canvas:has(.detail-panel:not([hidden])) .map-settings{right:auto}.map-canvas:has(.detail-panel:not([hidden])) .map-caption{max-width:calc(100% - 380px)}}

.study-design{margin:14px 0;padding:12px 14px;background:#eff4f2;border-left:3px solid #09665c;font-size:12px;line-height:1.6}.study-design strong{color:#09665c;font-size:13px}.study-design p{margin:6px 0 0}.record-quality{display:block;font-size:11px;line-height:1.5;color:#795d26;margin-top:8px}

.detail-panel .study-design summary,.source-card .study-design summary{font-size:13px;color:#09665c;padding:0;cursor:pointer}.detail-panel .study-design p{font-size:12px;line-height:1.6}.detail-panel .study-design{margin:14px 0}
