/* The ways in (target-id-build-web --ways only): a row of two big tabs above the page, "Molecule → Targets" (the page) and "Target → Molecules" (not built yet). The page's own colours (style.css); no numerals in the tabs.
   Not sticky: the section bar (.stepnav) keeps the top of the window and --nav stays what it was. */
.ways{background:var(--paper); border-bottom:1px solid var(--rule)}
.ways .wi{max-width:1360px; margin:0 auto; padding:0 20px; display:grid; grid-template-columns:repeat(2, minmax(0, 1fr))}
.way{background:none; border:0; border-bottom:4px solid transparent; color:var(--ink2); font:500 clamp(18px, 3.6vw, 32px)/1.1 var(--cond); letter-spacing:.01em; padding:12px 10px 9px; min-height:68px;
  display:flex; align-items:center; justify-content:center; text-align:center; cursor:pointer}
.way:hover{color:var(--ink); background:var(--hover)}
.way[aria-selected="true"]{color:var(--ink); border-bottom-color:var(--plum); font-weight:700}
.way .ar{color:var(--plum); padding:0 .12em}
.way .im{color:var(--plum)}                       /* the first letter of Molecule and of Target keeps one colour in both tabs: the logo's purple and teal (Target-ID) */
.way .it{color:var(--idc)}
.way:focus-visible{outline:2px solid var(--plum); outline-offset:-2px}
/* the logo of each way at the left of its sticky section bar (the page's .stepnav): the tab's letters in the tab's colours */
.stepnav .wbar{display:flex; align-items:center; gap:14px; max-width:1360px; margin:0 auto; padding:0 20px}
.stepnav .wbar ol{flex:1 1 auto; min-width:0; max-width:none; margin:0; padding:0}
.waylogo{flex:none; display:inline-flex; align-items:center; gap:.2em; padding:2px 10px 3px; border:2px solid var(--rule); border-radius:8px; background:var(--panel); font:700 19px/1.1 var(--cond); letter-spacing:.01em; user-select:none}
.waylogo .im{color:var(--plum)}
.waylogo .it{color:var(--idc)}
.waylogo .ar{color:var(--plum); font-weight:500}
button.waylogo{cursor:pointer; color:inherit; margin:0}
.waylogo[aria-pressed="true"]{border-color:var(--plum); background:var(--soft)}
.waylogo[aria-pressed="false"]{opacity:.65}
.waylogo[aria-pressed="false"]:hover, .waylogo:focus-visible{opacity:1; border-color:var(--plum)}
.waylogo:focus-visible{outline:2px solid var(--plum); outline-offset:2px}
.stepnav .waylogo{display:inline-flex; font:700 19px/1.1 var(--cond); letter-spacing:.01em; overflow:visible}       /* (the bar's own rule, .stepnav span, hides and restyles every span: not the logo's) */
.stepnav .waylogo span{display:inline; font:inherit; letter-spacing:inherit; overflow:visible; text-overflow:clip}
.stepnav .waylogo .ar{font-weight:500}
@media (max-width:700px){ .ways .wi{padding:0 6px} .stepnav .wbar{padding:0 6px; gap:8px} .waylogo{padding:1px 6px 2px} .stepnav .waylogo{font-size:16px} }
@media print{ .ways{display:none} }

/* the header has no Report in a --ways page (each way has its own); its one Reset is the kit's, beside the hub chip (0.65.0) */
#reportbtn{display:none !important}

/* the button on a target's row of the first tab that sends it to Target → Molecules: the tab's letters, small, at the right of the target's cell */
#res td.tcell{position:relative; padding-right:74px}
#res button.tgo{position:absolute; right:8px; top:8px; 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}
#res:not(.stack) button.tgo{top:50%; transform:translateY(-50%)}                           /* (0.45.2, xaba) in the table's own layout the button is as high as the middle of the row, where the Tanimoto bars are; stacked (a narrow window) it stays at the top of the cell */
#res button.tgo:hover, #res button.tgo:focus-visible{opacity:1; border-color:var(--plum)}
#res button.tgo:focus-visible{outline:2px solid var(--plum); outline-offset:2px}
#res button.tgo .im{color:var(--plum)}
#res button.tgo .it{color:var(--idc)}
#res button.tgo .ar{color:var(--plum); font-weight:500}
