
.tool-panel{background:#fff;border:1px solid #ddd5c7;padding:26px;margin:22px 0}.tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.tool-field{display:flex;flex-direction:column;gap:5px;font:600 .93rem Arial,sans-serif}.tool-field input,.tool-field select,.tool-field textarea{padding:11px;border:1px solid #a9b8b4;border-radius:3px;font:1rem Arial,sans-serif;width:100%;background:#fff;color:#243128}.tool-field textarea{min-height:85px}.tool-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.tool-actions button{padding:11px 16px;background:#073f46;color:#fff;border:0;border-radius:3px;font:600 .95rem Arial,sans-serif;cursor:pointer}.tool-actions button.secondary{background:#fff;color:#073f46;border:1px solid #073f46}.tool-actions button:focus-visible,.tool-field input:focus-visible,.tool-field select:focus-visible,.tool-field textarea:focus-visible{outline:3px solid #c39838;outline-offset:2px}.privacy-note{border-left:4px solid #c39838;background:#f7f1e7;padding:16px 20px;margin:22px 0}.evidence-entry{border:1px solid #ddd5c7;padding:18px;margin:14px 0;background:#fffdf8}.result-list{padding-left:22px}.result-list li{margin:10px 0}.tool-tag{display:inline-block;background:#e6f0ed;color:#073f46;padding:4px 10px;margin:4px;border-radius:16px;font:600 .85rem Arial,sans-serif}.tool-muted{color:#59635e}.tool-error{color:#9a3024;font-weight:bold}.tool-results{background:#f7f1e7;border:1px solid #ded2bf;padding:20px;margin-top:20px}.tool-results h2{margin-top:0}.tool-card-link{margin-top:12px;display:inline-block}.tool-note{font-size:.9rem;color:#52615b}.tool-hidden{display:none}@media(max-width:700px){.tool-grid{grid-template-columns:1fr}.tool-panel{padding:17px}}@media print{header,footer,.tool-actions,.privacy-note,.hero,.tool-input-area{display:none!important}.tool-results{border:0;background:#fff}}
/* Curated research recommendations */
.research-recs{margin-top:24px;padding-top:16px;border-top:1px solid #d9cbb6}
.research-rec{padding:14px 16px;margin:12px 0;background:#fff;border:1px solid #ded5c6}
.research-rec h4{margin:0 0 8px;font-size:1.06rem}
.research-rec p{margin:7px 0;line-height:1.55}
.research-rec a{overflow-wrap:anywhere}

/* Surname finder progressive disclosure */
.surname-options{margin-top:16px}.surname-expand{margin-top:18px;padding:16px;border:1px solid #ded2bf;background:#fffdf8}.surname-expand h3{margin:0 0 8px}.surname-expand h4{margin:15px 0 4px}.surname-expand button{padding:9px 13px;background:#fff;color:#073f46;border:1px solid #073f46;border-radius:3px;font:600 .9rem Arial,sans-serif;cursor:pointer}.surname-expand button:focus-visible{outline:3px solid #c39838;outline-offset:2px}

.census-table{width:100%;border-collapse:collapse;margin:1rem 0;font-size:.94rem}.census-table th,.census-table td{border-bottom:1px solid #ccc;padding:.55rem .65rem;text-align:left}.census-table th{font-weight:700}.census-table td:not(:first-child){font-variant-numeric:tabular-nums}
