/* Readable evidence and recoverable exploration, following the existing atlas. */
:root{--review-muted:#535f50;--review-line:#ced7c8}
.simple-intro>p,.simple-intro .weight-example,.priority-row p,.simple-details p,
.simple-examples-section>p,.simple-example-card p,.single-weight-note,
.simple-overlap,.simple-history-notice,.inspector .explain,.criteria-note,
.method-controls .criteria-note,.compact-section .criteria-note{
  font-size:12px;line-height:1.65;color:var(--review-muted)
}
.priority-title h3{font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.priority-row{padding:13px 0}
.priority-row p{margin-top:6px;margin-bottom:7px}
.priority-foot small,.priority-foot button{font-size:11px;color:var(--review-muted)}
.priority-foot button{min-height:28px;padding:3px 0}
.priority-number-control{min-height:30px;flex-basis:76px;width:76px}
.priority-number-control>span{font-size:10px;color:#53604e}
.priority-number-control input{font-size:12px;width:38px}
.info-button,.priority-title .info-button{
  width:28px;height:28px;min-width:28px;min-height:28px;font-size:12px;
  line-height:26px;color:#315b4c;border-color:#8a9e84;margin-top:0;
  display:inline-flex;align-items:center;justify-content:center
}
.weight-stops button{font-size:11px;color:#53604e;min-height:30px}
.simple-summary,.simple-summary-row+.simple-summary-row,.simple-summary .text-button,
.simple-reset{font-size:11px}
.simple-summary{padding:10px 16px}
.simple-summary-row{flex-wrap:wrap;gap:6px}
.simple-details summary,.simple-actions .quiet-button,.simple-actions .solid-button,
.simple-example-card>strong,.simple-example-card button,.simple-map-view button{
  font-size:12px
}
.simple-example-card h3{font-size:14px}
.simple-details summary{padding-block:7px}
.legend-title{font-size:12px;font-weight:600}
.legend-labels,.legend-foot,.legend-scale-note,.category-legend>div{
  font-size:11px;line-height:1.5;color:var(--review-muted)
}
.legend-scale-note{max-width:none}
.map-heading .map-caption{font-size:11px;color:#4e5a49}
.colour-scale-control{margin-top:9px;padding-top:8px}
.colour-scale-control label{font-size:12px}
.colour-scale-control select{font-size:12px;min-height:34px;max-width:100%}
.colour-scale-control p{font-size:11px;line-height:1.5;color:var(--review-muted)}
.modal-head p,.modal-body p,.modal-body ul{font-size:12px}
.modal-close{min-width:36px;min-height:36px;display:grid;place-items:center}

.skip-link{
  position:fixed;top:8px;left:12px;z-index:1000;transform:translateY(-150%);
  background:var(--teal);color:#fffefa;padding:10px 15px;border-radius:6px;
  font-size:14px;box-shadow:0 3px 12px #173b3626
}
.skip-link:focus{transform:translateY(0);outline:3px solid var(--mustard);outline-offset:2px}
.review-tools{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:9px;pointer-events:auto}
.review-tools button,.review-tools a{
  display:inline-flex;gap:5px;align-items:center;justify-content:center;
  min-height:34px;padding:6px 9px;border:1px solid #a2b49a;border-radius:5px;
  background:#fffefa;color:#215e5a;font-size:11px;font-weight:500;line-height:1.4
}
.review-tools button:hover,.review-tools a:hover{background:#e9f0e6;border-color:#71988b}
.review-tools button:disabled{opacity:.55;cursor:default}
.review-tools .text-button{border-color:transparent;background:transparent}
.review-notice{
  margin-top:9px;padding:9px 11px;border-left:3px solid var(--mustard);
  background:#faf1d9;color:#5d4a20;border-radius:3px;font-size:12px;line-height:1.6
}
.review-notice p{margin:3px 0;font-size:inherit;color:inherit}
.review-notice button{font-size:12px;min-height:30px;text-decoration:underline;color:#215e5a}
.comparison-panel{
  margin-top:12px;padding:13px;border:1px solid var(--review-line);
  border-radius:8px;background:#f8f8f1;color:var(--ink);font-size:12px;line-height:1.6
}
.comparison-panel h3{font-size:14px;margin:0 0 8px;line-height:1.4}
.comparison-panel p{font-size:12px;line-height:1.6;margin:6px 0;color:var(--review-muted)}
.comparison-panel ul{padding-left:17px;margin:7px 0}
.comparison-panel li{margin:5px 0}
.comparison-panel summary{font-size:12px;cursor:pointer;padding-block:5px;color:var(--teal)}
.comparison-panel .review-tools{margin-top:10px}
.comparison-panel button{font-size:12px}
.comparison-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:9px 0}
.comparison-metrics>div{background:#fffefa;border:1px solid #dbe2d6;border-radius:5px;padding:8px}
.comparison-metrics strong{display:block;font:700 20px/1.3 var(--heading);color:var(--teal)}
.comparison-metrics small{font-size:11px;line-height:1.45;color:var(--review-muted)}

.area-summary{margin-top:15px;font-size:12px;line-height:1.6;min-width:0}
.area-summary h3{font:700 15px/1.4 var(--heading);margin:16px 0 8px}
.area-summary p{font-size:12px;line-height:1.65;color:var(--review-muted);margin:8px 0}
.metric-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:13px 0}
.metric-pair>div{padding:10px 9px;background:#edf2e8;border:1px solid #d2ddc9;border-radius:6px;min-width:0}
.metric-pair span{display:block;font-size:11px;font-weight:600;line-height:1.45;color:#38513e}
.metric-pair strong{display:block;font:700 22px/1.25 var(--heading);margin-top:5px;color:var(--teal)}
.metric-pair small{display:block;font-size:11px;line-height:1.45;color:var(--review-muted);margin-top:4px}
.area-contributors{list-style:none;padding:0;margin:9px 0}
.area-contributors li{padding:9px 0;border-bottom:1px solid #e1e4d9}
.area-contributors strong{display:block;font-size:12px;line-height:1.5;font-weight:600}
.area-contributors span{display:block;font-size:14px;font-weight:600;color:#215e5a;margin-top:3px}
.area-contributors small{display:block;font-size:11px;line-height:1.5;color:var(--review-muted);margin-top:3px}
.area-missing-note,.area-population-note{padding:9px 10px;background:#f6efd9;border-radius:5px;margin:10px 0;color:#5d4a20;font-size:12px;line-height:1.6}
.area-summary .area-population-note{background:#f0f2ea;color:#46543f}
.area-evidence-table-wrap,.results-table-wrap{max-width:100%;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.area-evidence-table,.results-table{border-collapse:collapse;width:100%;font-size:12px;line-height:1.5}
.area-evidence-table th,.area-evidence-table td,.results-table th,.results-table td{
  padding:9px 7px;vertical-align:top;text-align:left;border-bottom:1px solid #dce2d5
}
.area-evidence-table th,.results-table th{font-weight:600;color:#3d5544;background:#edf2e8}
.area-evidence-table{table-layout:fixed}
.area-evidence-table th:first-child{width:53%}
.area-evidence-table th:nth-child(2){width:27%}
.area-evidence-table th:last-child{width:20%}
.area-evidence-table td{overflow-wrap:anywhere}
.area-evidence-table small{display:block;font-size:11px;line-height:1.5;color:var(--review-muted);margin-top:4px}
.area-evidence-table caption{text-align:left;font:700 14px/1.5 var(--heading);padding:10px 0 8px;color:var(--ink)}
.area-evidence-table tbody th{font-weight:500;background:#f7f8f0;color:#334b3a}
.area-evidence-table .text-button{display:block;min-height:28px;font-size:11px;line-height:1.5;margin-top:4px;color:var(--teal);text-align:left}
.area-evidence-status{padding:8px 0;border-block:1px solid #dce2d5}
.area-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:13px 0}
.area-metrics>div{min-width:0;padding:10px 9px;border:1px solid #d2ddc9;border-radius:6px;background:#edf2e8}
.area-metrics strong{display:block;font:700 22px/1.25 var(--heading);margin-top:5px;color:var(--teal)}
.area-metrics small,.area-evidence small{display:block;font-size:11px;line-height:1.5;color:var(--review-muted)}
.area-evidence{font-size:12px;line-height:1.6}
.area-original-values{max-width:100%;overflow:auto}
.area-original-values table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.5}
.area-original-values th,.area-original-values td{padding:8px 6px;text-align:left;border-bottom:1px solid #dce2d5}
.legend details{font-size:11px;line-height:1.5;color:var(--review-muted)}
.legend details>summary{font-size:12px;color:var(--teal);cursor:pointer;padding:5px 0}
.results-table{min-width:550px}
.results-table th{position:sticky;top:0;z-index:1}
.results-table button{font-size:12px;line-height:1.5;min-height:32px;text-align:left;color:var(--teal);text-decoration:underline;text-underline-offset:3px}
.results-table td:not(:first-child){font-variant-numeric:tabular-nums}
.results-table tr:focus-within,.results-table tbody tr:hover{background:#f2f5ed}
.empty-map-action{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  background:var(--teal);color:#fffefa;border:1px solid var(--teal);border-radius:6px;
  padding:9px 13px;min-height:40px;font-size:13px;font-weight:600;margin-top:10px;
  pointer-events:auto
}
.empty-map-action:hover{background:#174b48}
.review-tools button:focus-visible,.empty-map-action:focus-visible,
.results-table button:focus-visible,.info-button:focus-visible{
  outline:2px solid #215e5a;outline-offset:3px
}

@media(max-width:960px){
  .info-button,.priority-title .info-button{width:32px;height:32px;min-width:32px;min-height:32px}
  .priority-foot button,.weight-stops button,.review-tools button,.review-tools a{min-height:38px}
  .simple-reset{font-size:12px;min-height:38px}
  .priority-toggle{width:22px;height:22px;flex-basis:22px}
  .legend{max-width:340px}
  .legend-title{font-size:12px}
  .legend-labels,.legend-foot,.legend-scale-note{font-size:11px}
  .map-heading .map-caption{font-size:11px}
  .simple-history-notice{font-size:11px;line-height:1.5}
  .simple-workspace>.inspector.has-selection{width:auto}
}
@media(max-width:400px){
  .priority-list{padding-inline:15px}
  .priority-title{column-gap:4px}
  .priority-title h3{font-size:12px}
  .priority-number-control{flex-basis:70px;width:70px;padding-inline:3px}
  .priority-number-control input{width:34px}
  .priority-number-control>span{font-size:10px}
  .legend{left:10px;right:53px;padding:10px}
  .legend-foot{align-items:flex-start}
  .metric-pair{gap:6px}
}
@media(prefers-reduced-motion:reduce){.skip-link{transition:none}}
/* Placement of the review controls in the existing map workspace. */
.map-hint{display:none}
.legend-options{margin-top:9px;border-top:1px solid #d6dece;padding-top:7px;font-size:11px}
.legend-options summary{cursor:pointer;color:#215e5a;min-height:26px;font-weight:600}
.legend-options label{display:block;margin:6px 0;font-size:12px}
.legend-options select{width:100%;font-size:12px;padding:7px}
.legend-options p{font-size:11px;line-height:1.55;margin-top:7px}
.technical-breakdown{margin-top:18px;font-size:12px}
.technical-breakdown summary{cursor:pointer;font-weight:600;color:#215e5a;padding:10px 0}
.results-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:end}
.results-controls label{font-size:12px;grid-row:1}
.results-controls input,.results-controls select{font-size:13px;min-height:40px;width:100%;grid-row:2}
.results-table td:first-child small{display:block;font-size:11px;color:#56624e}
.undo-button{font-size:11px;min-height:30px;text-align:left}
.mobile-show-map{display:none}
.map-header-label .review-tools{pointer-events:auto}
.review-feedback:empty{display:none}
.simple-summary .review-notice{font-size:11px}
.simple-summary .review-notice summary{cursor:pointer}
.simple-workspace>.inspector.has-selection{top:145px;width:340px}
@media(max-width:960px){.mobile-show-map{display:block;min-height:36px;font-size:12px}.simple-workspace>.inspector.has-selection{top:auto;width:auto}.review-tools{gap:5px;margin-top:6px}.review-tools button{font-size:10px;min-height:32px;padding:5px 7px}.simple-history-notice{top:160px}.results-controls{grid-template-columns:1fr}.results-controls label,.results-controls input,.results-controls select{grid-row:auto}.results-controls label[for=results-sort]{grid-row:3}}

.footer-credits{
  display:flex;align-items:center;flex-wrap:wrap;column-gap:12px;
  font-size:11px;line-height:1.4
}
.footer-credits .text-button{
  font-size:inherit;min-height:24px;text-decoration:underline;text-underline-offset:2px
}
.bottom-bar:has(.footer-credits){height:auto;min-height:32px;padding-block:3px}
.atlas-citation{
  padding:12px 14px;border:1px solid var(--review-line);
  border-radius:6px;background:#edf2e8;overflow-wrap:anywhere
}
.citation-feedback:empty{display:none}
