/* VERSION B of #06 Rhyme Finder (05.11). Linked only from «New Tool Lookup B.dc.html». Classes lub-; A classes (.rf-*) are
   reused as they are. */
.nt-page .lub-bar{gap:10px 14px}
.nt-page .lub-sort{width:auto}
.nt-page .lub-sort .nt-seg{padding:6px 12px}
.nt-page .lub-total{margin-left:auto}
.nt-page .lub-tools{display:flex;gap:8px}
.nt-page .lub-cb{position:relative;display:inline-grid;place-items:center;width:34px;height:34px;padding:0;border:1.5px solid var(--line);border-radius:99px;background:var(--surface);color:#626A64;cursor:pointer}
.nt-page .lub-cb::before{content:"";width:17px;height:17px;background:currentColor;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
.nt-page .lub-cb:hover{border-color:var(--ink);color:var(--ink)}
.nt-page .lub-cb:disabled{opacity:.4;cursor:default}
.nt-page .lub-cb[data-tip]::after{left:auto;right:0;transform:none}
:root[data-theme="dark"] .nt-page .lub-cb{color:#9EA396}
.nt-page .lub-i-copy{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='12' height='12' rx='2.5'/%3E%3Cpath d='M16 8V6.5A2.5 2.5 0 0 0 13.5 4h-7A2.5 2.5 0 0 0 4 6.5v7A2.5 2.5 0 0 0 6.5 16H8'/%3E%3C/svg%3E")}
.nt-page .lub-i-ok{color:var(--green)!important;border-color:var(--green);--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E")}
.nt-page .lub-i-dl{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11m-5-5 5 5 5-5M5 20h14'/%3E%3C/svg%3E")}

/* syllable groups as rows: the label on the left, the words flow on the right; empty groups are not drawn */
.nt-page .lub-groups{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.nt-page .lub-grp{display:grid;grid-template-columns:120px minmax(0,1fr);gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}
.nt-page .lub-grp h3{margin:6px 0 0;font:700 13.5px var(--font-body);color:var(--ink)}
.nt-page .lub-grp h3 i{font-style:normal;font:500 11px var(--font-mono);color:var(--muted);margin-left:4px}
.nt-page .lub-az{padding-top:4px}
.nt-page .lub-syl{margin-left:5px;font:500 10px var(--font-mono);color:var(--muted);vertical-align:super}
.nt-page .lub-alts{display:flex;flex-direction:column;gap:8px;margin:0 0 14px;padding:14px 16px;border-radius:14px;background:color-mix(in srgb,var(--line) 28%,var(--surface2))}
.nt-page .lub-alts b{font:600 15px var(--font-body)}
.nt-page .lub-alts ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.nt-page .lub-alts li{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px;color:var(--muted)}
.nt-page .lub-cmu{margin:14px 0 0;font-size:12.5px;color:var(--muted)}
.nt-page .lub-toast{display:inline-flex;align-items:center;gap:12px;bottom:18px}
.nt-page .lub-toast.show{pointer-events:auto}
.nt-page .lub-toast button{border:0;padding:0;background:none;color:inherit;font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
@media(max-width:600px){
  .nt-page .lub-grp{grid-template-columns:minmax(0,1fr);gap:8px}
  .nt-page .lub-grp h3{margin:0}
  .nt-page .lub-total{margin-left:0;flex:1 1 auto}
  .nt-page .lub-sort{order:3}
}
@media(max-width:600px){.nt-page .lub-bar .ps-check{flex:1 1 100%}.nt-page .lub-sort{flex:1 1 100%}.nt-page .lub-sort .nt-seg{flex:1}}

/* ===== ITER «#06 Rhyme Finder · batch 3 · 10.11» — rollback = delete down to END (+ the batch 3 JS in New Tool Lookup B) =====
   Icon tabs as Resume / #08 (icon 26px over a 15px/600 label, count pill kept next to the label), the Resume Download menu at
   the right of the tab row (phones: in the results bar next to Copy all), engine toast. */
.nt-page .lub-dhead{display:flex;align-items:flex-end;gap:16px;margin:2px 0 16px;box-shadow:inset 0 -1px 0 var(--line)}
.nt-page .lub-dtabs{flex:1 1 auto;min-width:0;gap:28px;margin:0;border-bottom:0;overflow:visible}
.nt-page .lub-dtabs .oc-tab{display:inline-flex;flex-direction:column;align-items:center;gap:5px;margin:0;padding:4px 0 10px;border-bottom:0;font:600 15px var(--font-body);color:var(--muted)}
.nt-page .lub-dtabs .oc-tab::before{content:"";width:26px;height:26px;background:currentColor;opacity:.85;-webkit-mask:var(--tk) center/contain no-repeat;mask:var(--tk) center/contain no-repeat}
.nt-page .lub-dtabs .oc-tab.on{color:var(--ink);box-shadow:inset 0 -2px 0 var(--green)}
.nt-page .lub-dtabs .oc-tab.on::before{background:var(--green-deep);opacity:1}
.nt-page .lub-dtabs .oc-tab:hover:not(.on){color:var(--ink)}
.nt-page .lub-tl{display:inline-flex;align-items:center;white-space:nowrap}
.nt-page .lub-tk-perfect{--tk:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5h12M7.5 17.5h8'/%3E%3Ccircle cx='20' cy='8.5' r='2.3'/%3E%3Ccircle cx='20' cy='17.5' r='2.3'/%3E%3Cpath d='M20 11v4'/%3E%3C/svg%3E")}
.nt-page .lub-tk-near{--tk:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 10c2.6-2.6 5.4-2.6 8.5 0s5.9 2.6 8.5 0'/%3E%3Cpath d='M4.5 16.5c2.6-2.6 5.4-2.6 8.5 0s5.9 2.6 8.5 0'/%3E%3C/svg%3E")}
.nt-page .lub-tk-start{--tk:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='8.5' r='2.3'/%3E%3Ccircle cx='6' cy='17.5' r='2.3'/%3E%3Cpath d='M6 11v4M10.5 8.5h12M10.5 17.5h8'/%3E%3C/svg%3E")}
.nt-page .lub-dhead .rb-dlw{margin:0 0 10px;flex:0 0 auto}
.nt-page .lub-dlw-ph{display:none}
.nt-page .lub-tools{align-items:center}
@media(max-width:600px){
  .nt-page .lub-dhead{gap:0}
  .nt-page .lub-dtabs{gap:4px;justify-content:space-between}
  .nt-page .lub-dtabs .oc-tab{flex:1 1 0;padding-inline:2px;font-size:15px}   /* Cos 12.11: phone tabs at desktop size, family-wide */
  .nt-page .lub-dtabs .oc-tab::before{width:26px;height:26px}   /* Cos 12.11: phone tabs at desktop size, family-wide */
  .nt-page .lub-dlw-top{display:none}
  .nt-page .lub-dlw-ph{display:block}
  .nt-page .lub-dlw-ph .rb-dl{min-height:34px;padding-block:6px}
  .nt-page .lub-sort{order:1}
  .nt-page .lub-total{order:2;flex:1 1 100%}
  .nt-page .lub-tools{order:3;margin-left:auto}
}
/* ===== END ===== */

/* ===== ITER «Download in the tab row = vertical centre of the tab icon + label (not of the tab box, which has more room under the label for the line) · Cos 12.11, one rule for every engine» — rollback = delete this block ===== */
.nt-page .lub-dhead > .lub-dlw-top{margin-bottom:14px}
