/* Find Attorneys (10/2): the AttorneyAgent search in the Search Tool's own look (skin.css tokens). */
#findPage { gap: 16px; }
#findPage [hidden] { display: none !important; }
.fa-role { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--card-border); }
#findPage .fa-role select { width: auto; min-width: 260px; max-width: 100%; }
.fa-role .small { flex-basis: 100%; }
.fa-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fa-step { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fa-q { font: 600 15px/1.3 var(--f-body); color: var(--text); display: flex; align-items: center; gap: 8px; margin: 0; }
.fa-n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font: 600 12px var(--f-mono); }
.fa-inline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fa-inline label { margin: 0; }
.fa-inline select { width: auto; }
#findPage input[type=text], #findPage input[type=number], #findPage input[type=search], #findPage select { width: 100%; box-sizing: border-box; }
#findPage .fa-inline select { width: auto; }
.fa-more { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fa-more label { display: block; color: var(--muted); font-weight: 500; font-size: 13.5px; margin-bottom: 4px; }
.fa-checks { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 4px; }
.fa-checks .check { margin: 0; }
#srcMore { border-top: 1px solid var(--card-border); padding-top: 14px; }
.expgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; }
.expgrid label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--muted); margin: 0; }

/* Practice area picker */
.msel { position: relative; display: block; }
.msel > .pickbtn { width: 100%; text-align: left; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mpanel { position: absolute; top: 100%; left: 0; z-index: 30; margin-top: 4px; width: 320px; max-width: calc(100vw - 32px); background: var(--s1); border: 1px solid var(--card-border); border-radius: 8px; padding: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.mpanel input[type=search] { margin-bottom: 6px; }
.mlist { max-height: 280px; overflow: auto; display: flex; flex-direction: column; gap: 2px; }
.mlist label { display: flex; gap: 6px; align-items: center; padding: 3px 4px; border-radius: 4px; cursor: pointer; color: var(--text); font-weight: 400; margin: 0; }
.mlist label:hover { background: var(--sunk); }
.mlist label[hidden] { display: none; }
.mlist .n { margin-left: auto; color: var(--muted); font: 11px var(--f-mono); }
.mfoot { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; }

/* What to do with this list */
.decisions { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.dcard { position: relative; overflow: hidden; background: var(--s1); border: 1px solid var(--card-border); border-radius: 8px; padding: 12px 14px 12px 18px; display: grid; gap: 4px; align-content: start; }
.dcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--card-border); }
.dcard.act::before { background: var(--accent); } .dcard.watch::before { background: var(--warn); }
.dhead { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dlabel { color: var(--muted); font-size: 13px; }
.dverdict { font: 600 10.5px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; background: var(--sunk); color: var(--muted); }
.dverdict.act { background: var(--accent-soft); color: var(--accent); } .dverdict.watch { background: var(--warn-soft); color: var(--warn); }
.dnum { font: 700 24px/1.1 var(--f-display); }
.dtext { font-size: 13.5px; color: var(--text); }
.dlink { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 600; font-size: 13.5px; text-align: left; cursor: pointer; }
.srcnote { font-size: 13px; color: var(--warn); line-height: 1.5; }
.srcnote:empty { display: none; }
.srcnote a { color: var(--accent); }
.sendbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--accent-soft); border: 1px solid var(--accent); border-radius: 8px; padding: 12px 14px; }
.sendbar .what { font-size: 14px; min-width: 0; flex: 1 1 320px; }
.sendbar .what a { color: var(--accent); }
.srcexport { font-size: 13px; color: var(--muted); line-height: 1.5; }
.srcexport:empty { display: none; }
.srcexport.err { color: var(--danger); }
.srcexport button { margin-left: 8px; }

/* The list */
.fa-list { padding: 14px 18px !important; }
.tablewrap.tallscroll { max-height: 72vh; overflow: auto; }
.fa-table { width: 100%; min-width: 860px; }
.fa-table td { vertical-align: top; }
.fa-table thead th { position: sticky; top: 0; z-index: 2; background: var(--s1); }
.fa-table tr.picked td { background: var(--accent-soft); }
.pa { display: inline-block; font-size: 11px; color: var(--muted); background: var(--sunk); border-radius: 5px; padding: 1px 6px; margin: 1px 2px 1px 0; white-space: nowrap; }
.pa.pahit { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.moved { font-size: 11.5px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 1px 7px; border-radius: 99px; margin-left: 6px; white-space: nowrap; }
.rowname { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; text-align: left; color: var(--text); cursor: pointer; }
.rowname:hover { color: var(--accent); }
.firstadm { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.detailrow td { background: var(--sunk); }
.detailgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; font-size: 13.5px; }
.detailgrid b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.fa-table a.li { color: var(--accent); }
.fa-empty { display: grid; gap: 4px; color: var(--muted); }
.fa-empty b { color: var(--text); }

@media (max-width: 900px) {
  .fa-steps, .fa-more { grid-template-columns: minmax(0, 1fr); }
}
/* The Search Tool styles every label small and muted; the question headings stay headings. */
#findPage label.fa-q { font: 600 15px/1.3 var(--f-body); color: var(--text); margin: 0; }
#findPage .msel > .pickbtn { display: flex; justify-content: flex-start; }
#roleGo { width: auto; flex: none; margin-left: auto; padding-inline: 22px; }
/* Checkbox pickers (practice, firm size): the tool sizes inputs to full width; a checkbox must not. */
#findPage .mlist input[type=checkbox] { width: auto; flex: none; margin: 0; }
#findPage .mlist label { justify-content: flex-start; text-align: left; white-space: nowrap; font-size: 14px; }
#srcSizeBox .mpanel { width: 230px; }
.sendbar .btn { white-space: nowrap; }
