/* The family search (family.js): the List tab of card 01 and the card of what the molecules share. */
#s-mol.famon #qcard, #s-mol.famon #examples, #s-mol.famon #loadrow, #s-mol.famon #pdbpick, #s-mol.famon #qmsg, #s-mol.famon #expbox, #s-mol.famon #fam-addrow{display:none !important}
#fam-addrow{margin:8px 0 0}
#famlist{min-height:180px; white-space:pre; overflow:auto}
#fam-note .msg{margin:8px 0 0}
#c-fam .sby label{cursor:pointer}
table.fam td .l2, .fam-mol .l2{font-size:12.5px; color:var(--ink2)}
table.fam td:nth-child(3){min-width:150px}
.fam-sq{display:flex; flex-wrap:wrap; gap:2px; margin:5px 0 0}
.fam-sq i{display:block; width:9px; height:9px; border-radius:2px; background:var(--rule)}
.fam-sq i.on{background:var(--plum)}
.fam-hits{display:grid; grid-template-columns:repeat(auto-fill,minmax(min(520px,100%),1fr)); gap:10px; padding:8px 4px 10px}
.fam-hit{display:grid; grid-template-columns:minmax(110px,150px) 22px minmax(0,1fr); align-items:center; gap:10px}
.fam-mol img{width:92px; height:66px}
.fam-mol{min-width:0; overflow-wrap:anywhere}
.fam-arrow{color:var(--ink2); text-align:center}
.fam-hits .lig{margin:0}
.fam-hits .btn{justify-self:start; grid-column:1/-1}
@media (max-width:640px){ .fam-hit{grid-template-columns:1fr} .fam-arrow{display:none} }
.fam-part{border:1px solid var(--rule); border-radius:8px; margin:0 0 10px; padding:6px 10px}
.fam-part summary{display:flex; align-items:center; gap:12px; cursor:pointer; padding:2px 0}
.fam-part summary > span{display:grid; gap:2px}
.fam-part summary img{width:92px; height:66px}
.fam-part .btn{margin:6px 0 4px}
.fam-lig{display:flex; align-items:center; gap:8px}
.fam-lig img{width:84px; height:60px}
.fam-only{color:var(--plum); font-weight:600}
.fam-also{color:var(--ink2)}
table.fam-each td:nth-child(2){min-width:180px}
.fam-tcell{display:flex; align-items:center; justify-content:space-between; gap:10px}
.fam-lig .l1{font-size:12.5px; color:var(--ink2)}
.fam-lig .l2, .fam-lig .l3{font-size:12.5px; color:var(--ink2)}
/* the T -> M button of the first tab's table (ways.css `#res button.tgo`), here in the cell of the target, not on its right edge */
table.fam button.tgo{flex:none; display:inline-flex; align-items:center; gap:.18em; margin:0; padding:1px 7px 2px; border:1.5px solid var(--rule); border-radius:7px; background:var(--panel); font:700 14px/1.1 var(--cond); letter-spacing:.01em; cursor:pointer; opacity:.7}
table.fam button.tgo:hover, table.fam button.tgo:focus-visible{opacity:1; border-color:var(--plum)}
table.fam button.tgo:focus-visible{outline:2px solid var(--plum); outline-offset:2px}
table.fam button.tgo .im{color:var(--plum)}
table.fam button.tgo .it{color:var(--idc)}
table.fam button.tgo .ar{color:var(--plum); font-weight:500}
.fam-hits button.tgo{justify-self:start; grid-column:1/-1}
.fam-hit .lig{position:relative; padding-right:34px}
.fam-lig .pickbox{position:static}
