/* The Target → Molecules way (0.33.0; target-id-build-web --ways only): the second tab's own rows. The page's own colours (style.css). */
.tmhits{display:grid; gap:6px; margin-top:8px}
.tmhit{display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 10px; width:100%; text-align:left; padding:8px 12px; background:var(--panel); border:1px solid var(--rule2); border-radius:8px; color:var(--body); cursor:pointer; font:inherit}
.tmhit:hover, .tmhit:focus-visible{border-color:var(--plum); outline:none}
.tmhit .tmn{font-weight:600; color:var(--ink)}
.tmhit .tmmeta{flex-basis:100%; font-size:12.5px; color:var(--ink2)}
#tm-head{margin:0 0 10px}
#tm-head .tname{font-weight:600; font-size:18px; color:var(--ink)}
#tm-head .tmeta{font-size:12.5px; color:var(--ink2)}
#tm-ex{display:inline-flex; gap:6px; flex-wrap:wrap}
#tm-msg{min-height:1.2em; margin:8px 0 0}
#tm-msg.bad, #tm-count.bad{color:var(--badink)}
.tmgrid{margin:8px 0}
.tmgrid .lig{align-content:start}
.tmc{font-weight:600}
.tmc.m{color:var(--plum)}
.tmc.p{color:var(--idc)}                                    /* the green of the ID in Target-ID and of the T in the tabs (xaba) */
.tmonly{display:inline-flex; align-items:center; gap:5px; margin:0 0 0 6px; font-size:12px; color:var(--ink2); cursor:pointer}
.tmonly input{width:13px; height:13px; margin:0; accent-color:var(--idc)}
.tmfams{display:grid; gap:12px; margin:8px 0}
.tmfam{border:1px solid var(--rule2); border-radius:10px; padding:10px 12px; background:var(--soft)}
.tmfh{display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 12px; margin:0 0 8px}
.tmfh b{font-family:var(--cond); font-size:17px; color:var(--ink)}
.tmfsel{display:inline-flex; align-self:center; margin:0 -4px 0 0; padding:2px; cursor:pointer}
.tmfsel input{margin:0; width:16px; height:16px; accent-color:var(--plum); cursor:pointer}
.tmfam .tmgrid{margin:0}
#tm-famctl[hidden]{display:none}
#tm-famctl{gap:8px; align-items:center}
/* the molecule of the first tab beside the list (0.53.0): drawn, with the order of the list; it stays in view while the list scrolls (the section bar above it is 48 px) */
.tmcols{display:block}
.tmyou{background:var(--soft); border:1px solid var(--rule2); border-radius:10px; padding:10px 12px; margin:0 0 12px}
.tmyl{font-family:var(--cond); font-size:16px; font-weight:600; color:var(--plum); margin:0 0 6px}
.tmyou .dep{min-height:0; padding:2px}
.tmyou .dep img{width:100%; height:auto; max-height:150px}
.tmys{font-family:var(--mono); font-size:11.5px; color:var(--ink2); overflow-wrap:anywhere; margin:6px 0 8px; max-height:4.6em; overflow:hidden}
.tmyo{display:grid; gap:4px}
@media (min-width:1000px){
  .tmcols:has(.tmyou:not([hidden])){display:grid; grid-template-columns:260px minmax(0,1fr); gap:18px; align-items:start}
  .tmyou{position:sticky; top:64px; margin:0}
}
.sby[aria-disabled=true]{opacity:.45; pointer-events:none}
/* the M → T button of a molecule's card: the tab's letters, small (the T → M button of the first tab's rows is its twin, ways.css) */
.lig button.mgo{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:.8}
.lig button.mgo:hover, .lig button.mgo:focus-visible{opacity:1; border-color:var(--plum)}
.lig button.mgo:focus-visible{outline:2px solid var(--plum); outline-offset:2px}
.lig button.mgo .im, .lig button.mgo .ar{color:var(--plum)}
.lig button.mgo .it{color:var(--idc)}
.lig button.mgo .ar{font-weight:500}

/* the target box (0.41.0): a text area that grows with a pasted sequence, as tall as a text box until then */
#tm-q{flex:1 1 260px; width:auto; max-width:480px; min-height:0; height:31px; padding:5px 8px; resize:none; overflow-y:auto; line-height:1.35}
