/* Variant C (Cos 16.11) for the Lookup engine: loaded after after-family-newtools-b-lookup.css, only by «New Tool Lookup C.dc.html».
   Every rule is scoped to one tool, so the other tools on this engine look exactly as in B. */

/* ===== #06 Rhyme Finder · C · 16.11 ===== */
/* 1. one plate: field + × + ink Search on one line, the 6 sample words in a tinted bar under a hairline (#29 .lx-tabox / .lx-tabar) */
.nt-page .rf-search.luc-plate{display:flex;flex-direction:column;gap:0;border:1px solid var(--line);border-radius:14px;background:var(--surface);overflow:hidden;transition:border-color .15s,box-shadow .15s}
.nt-page .luc-plate:focus-within{border-color:var(--green);box-shadow:0 0 0 3px color-mix(in srgb,var(--green) 18%,transparent)}
.nt-page .luc-row{display:flex;align-items:center;gap:8px;padding:7px 7px 7px 4px}
.nt-page .luc-plate .luc-in{flex:1 1 auto;min-width:0;width:auto;min-height:46px;margin:0;padding:10px 12px;border:0;border-radius:0;background:transparent;box-shadow:none;outline:none;font:500 19px var(--font-body);color:var(--ink)}
.nt-page .luc-plate .luc-in:focus{border:0;box-shadow:none;outline:none}
.nt-page .luc-plate .luc-in::placeholder{color:var(--muted);font-weight:400}
/* × = the #29 clear circle */
.nt-page .luc-clr{position:relative;flex:none;width:28px;height:28px;padding:0;border:0;border-radius:99px;background:var(--surface2);color:var(--muted);cursor:pointer;transition:color .15s,background .15s}
.nt-page .luc-clr::before{content:"";position:absolute;inset:0;margin:auto;width:11px;height:11px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M1.5 1.5l9 9M10.5 1.5l-9 9'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M1.5 1.5l9 9M10.5 1.5l-9 9'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-page .luc-clr:hover{color:var(--ink);background:color-mix(in srgb,var(--line) 60%,var(--surface2))}
.nt-page .luc-clr:focus-visible{outline:2px solid var(--green);outline-offset:2px;color:var(--ink)}
.nt-page .luc-clr[data-tip]::after{display:none}
/* Search = ink (the one filled green on the screen is Download, C-PRINCIPLES 0.3 + lead lesson 1) */
.nt-page .luc-plate .luc-go.btn-primary{flex:none;min-height:46px;padding:0 22px;background:var(--ink);border-color:var(--ink);color:var(--surface);box-shadow:none}
.nt-page .luc-plate .luc-go.btn-primary:hover:not(:disabled){background:color-mix(in srgb,var(--ink) 86%,var(--surface));border-color:transparent}
.nt-page .luc-plate .luc-go.btn-primary:not([disabled]):active{background:var(--ink);transform:translateY(1px)}
.nt-page .luc-samples{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;padding:8px 10px 8px 14px;background:var(--surface2);border-top:1px solid var(--line)}
:root[data-theme="dark"] .nt-page .luc-samples{background:color-mix(in srgb,var(--line) 40%,var(--surface))}
.nt-page .luc-samples .nt-chip{padding:5px 12px;font-size:13.5px;background:var(--surface)}
.nt-page .luc-samples .nt-chip.on{border-color:var(--green);background:var(--green-tint);color:var(--green-deep)}
:root[data-theme="dark"] .nt-page .luc-samples .nt-chip.on{color:var(--green)}

/* 2. bar over the list: Common words only · hint · Copy all (no A-Z, no second word count) */
.nt-page .luc-bar{gap:10px 14px}
.nt-page .luc-hint{margin-left:auto;font:500 11.5px var(--font-mono);letter-spacing:.04em;color:var(--muted)}
.nt-page .luc-bar .lub-tools{margin-left:0}

/* 3. note + «swap the word» = one plate */
.nt-page .luc-note{display:flex;flex-direction:column;gap:12px;margin:0 0 14px;padding:12px 16px 14px;border-radius:14px;background:rgba(230,170,20,.16);font-size:14.5px}
.nt-page .luc-note > p{margin:0;color:var(--ink)}
.nt-page .luc-alts{display:flex;flex-direction:column;gap:8px;padding-top:12px;border-top:1px solid color-mix(in srgb,#B98A10 30%,transparent)}
.nt-page .luc-note > .luc-alts:first-child{padding-top:0;border-top:0}
.nt-page .luc-alts b{font:600 14.5px var(--font-body);color:var(--ink)}
.nt-page .luc-alts ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.nt-page .luc-alts li{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px;color:var(--muted)}

/* 4. one Download at every width: tab row ≥601, under the list on phones (full width) */
.nt-page .luc-dlend{display:none}
@media(max-width:600px){
  .nt-page .luc-row{padding:6px 6px 6px 2px;gap:6px}
  .nt-page .luc-plate .luc-in{font-size:17px;padding-inline:10px}
  .nt-page .luc-plate .luc-go.btn-primary{padding:0 16px}
  .nt-page .luc-samples{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding-right:14px}
  .nt-page .luc-samples::-webkit-scrollbar{display:none}
  .nt-page .luc-samples > *{flex:none}
  .nt-page .luc-bar .ps-check{flex:1 1 auto}
  .nt-page .luc-hint{order:3;flex:1 1 100%;margin-left:0}
  .nt-page .luc-bar .lub-tools{order:2;margin-left:auto}
  .nt-page .luc-dlend{display:block;margin:16px 0 0}
  .nt-page .luc-dlend .rb-dlw{display:block;position:relative}
  .nt-page .luc-dlend .rb-dl{width:100%;justify-content:center;min-height:46px}
  .nt-page .luc-dlend .rb-dlmenu{left:0;right:0;width:auto;min-width:0}
}
/* ===== END #06 C ===== */
/* phones: chip and its «rhymes with …» stay on one line, the text wraps under itself */
@media(max-width:600px){
  .nt-page .luc-alts ul{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 10px;align-items:center}
  .nt-page .luc-alts li{display:contents}
  .nt-page .luc-alts li .rf-chip{justify-self:stretch}
}
/* phones: icon tabs at their own width, not stretched (C-PRINCIPLES 2, as Math B / MLA) */
@media(max-width:600px){
  .nt-page .lub-dtabs{justify-content:flex-start;gap:22px}
  .nt-page .lub-dtabs .oc-tab{flex:none;padding-inline:0}
}
@media(max-width:360px){ .nt-page .lub-dtabs{gap:14px} }
/* ≤400: Search becomes a 46 px ink square with a magnifier, so the typed word is not cut (lead lesson 4: 75 → 126 px at 320) */
@media(max-width:400px){
  .nt-page .luc-plate .luc-go.btn-primary{box-sizing:border-box;width:46px;min-width:46px;height:46px;min-height:46px;padding:0;font-size:0;display:inline-grid;place-items:center}
  .nt-page .luc-plate .luc-go.btn-primary::before{content:"";width:20px;height:20px;background:currentColor;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E") center/contain no-repeat;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E") center/contain no-repeat}
}

/* ===== ITER Cos 18.11 batch 3 · #06 Rhyme Finder C — rollback = delete down to END (+ the «C · 18.11» markup / JS in New Tool Lookup C) =====
   9s8v7h1syyn1lmf0p92y / ygkxt9ydrv74w4lu9h30: the Download menu went UNDER the Copy all circle (the tab row had no stacking
   order; the shared «head:has(.rb-dlmenu){z-index:30}» rule did not list it) → the result head is lifted while its menu is open.
   6b0wcbe73hr4j4qrysyn: no Search button (live search, Enter still works), a drawn magnifier at the left of the field.
   ptcgyz0d3zrwmcopywh2 + nu9z9irjo0k5qq8owdu5: the three rhyme types are a filter of ONE list, not page tabs → no abstract icons,
   a Resume-B-contrast segmented switch (spans the block, T5) with the counts; Download moved up into the result head (word left,
   Download right, hairline under), one Download at every width (the phone copy under the list is gone). */
.nt-page .luc-mag{flex:none;width:20px;height:20px;margin-left:12px;background:var(--muted);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-page .luc-plate:focus-within .luc-mag{background:var(--green-deep)}
:root[data-theme="dark"] .nt-page .luc-plate:focus-within .luc-mag{background:var(--green)}
.nt-page .luc-plate .luc-row{padding:7px 10px 7px 4px;min-height:60px}
.nt-page .luc-plate .luc-in{padding-left:8px;-webkit-appearance:none;appearance:none}
.nt-page .luc-plate .luc-in::-webkit-search-cancel-button,.nt-page .luc-plate .luc-in::-webkit-search-decoration{-webkit-appearance:none;display:none}
.nt-page .luc-clr{width:32px;height:32px}
/* result head */
.nt-page .luc-head{display:flex;align-items:center;justify-content:space-between;gap:12px 16px;margin:0 0 16px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.nt-page .luc-head:has(.rb-dlmenu){position:relative;z-index:30}
.nt-page .luc-head .rf-word{flex:1 1 auto;min-width:0;margin:0;align-items:center}
.nt-page .luc-head .rb-dlw,.nt-page .luc-head .lub-dlw-top{display:block;flex:none;margin:0;translate:none}
.nt-page .luc-head .rb-dlmenu{z-index:31}
/* segmented switch (Resume B contrast, as .nt-level in Printable B) spanning the block */
.nt-page .luc-seg{display:flex;width:100%;box-sizing:border-box;margin:0 0 14px;padding:3px;border:1.5px solid color-mix(in srgb,var(--line) 70%,var(--muted));border-radius:12px;background:color-mix(in srgb,var(--line) 55%,var(--surface2))}
.nt-page .luc-seg .luc-sg{flex:1 1 0;min-width:0;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:6px 10px;border-radius:9px;font:600 15px var(--font-body);color:color-mix(in srgb,var(--ink) 70%,var(--muted));white-space:nowrap;transition:background .15s,color .15s}
.nt-page .luc-seg .luc-sg:hover:not(.on){color:var(--ink);background:color-mix(in srgb,var(--surface) 45%,transparent)}
.nt-page .luc-seg .luc-sg.on{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px rgba(25,30,26,.16),0 0 0 1px rgba(25,30,26,.06)}
.nt-page .luc-seg .luc-sg:focus-visible{outline:2px solid var(--green);outline-offset:1px}
.nt-page .luc-seg .luc-sg .oc-ts{display:none}
.nt-page .luc-seg .rf-n{font:500 12px var(--font-mono);font-style:normal;padding:2px 7px;border-radius:99px;background:color-mix(in srgb,var(--line) 70%,var(--surface));color:var(--muted)}
.nt-page .luc-seg .luc-sg.on .rf-n{background:var(--green-tint);color:var(--green-deep)}
:root[data-theme="dark"] .nt-page .luc-seg{background:color-mix(in srgb,var(--line) 70%,var(--surface));border-color:color-mix(in srgb,var(--line) 80%,var(--muted))}
:root[data-theme="dark"] .nt-page .luc-seg .luc-sg.on{background:color-mix(in srgb,var(--ink) 20%,var(--surface));box-shadow:0 1px 3px rgba(0,0,0,.4)}
:root[data-theme="dark"] .nt-page .luc-seg .luc-sg.on .rf-n{color:var(--green)}
/* bar under the switch: checkbox · hint · Copy all on one centred line */
.nt-page .luc-bar{align-items:center;min-height:36px;margin-bottom:6px}
.nt-page .rf-res .lub-dlw-ph,.nt-page .luc-dlend{display:none}
.nt-page .luc-head .rb-dl:disabled{opacity:.45;cursor:default;box-shadow:none}
@media(max-width:600px){
  .nt-page .luc-plate .luc-row{padding:6px 8px 6px 2px;min-height:56px}
  .nt-page .luc-mag{margin-left:10px;width:18px;height:18px}
  .nt-page .luc-head{align-items:flex-start}
  .nt-page .luc-head .rb-dlw{display:block}
  .nt-page .luc-head .rb-dl{min-height:40px;padding:0 14px}
  .nt-page .luc-head .rf-word{gap:6px 10px}
  .nt-page .luc-seg .luc-sg{gap:6px;padding:6px 4px;font-size:14px}
  .nt-page .luc-seg .luc-sg .oc-tl{display:none}
  .nt-page .luc-seg .luc-sg .oc-ts{display:inline}
  .nt-page .luc-head .rb-dlmenu{left:auto;right:0}
}
@media(max-width:360px){
  .nt-page .luc-seg .rf-n{padding:1px 5px;font-size:11px}
  .nt-page .luc-head .rb-dl{padding:0 12px}
}
/* ===== END #06 C 18.11 ===== */
/* phones (T6): the 6 sample words wrap inside the bar (no «one and a half pill» cut at the edge); word + tag + IPA wrap as whole pieces */
@media(max-width:600px){
  .nt-page .luc-samples{flex-wrap:wrap;overflow:visible;padding-right:10px}
  .nt-page .luc-head .rf-tag,.nt-page .luc-head .rf-ipa{white-space:nowrap}
  .nt-page .luc-head .rf-w{flex:1 1 100%}
}
/* phones: each segment = short label over its count, so three fit at 320 */
@media(max-width:600px){
  .nt-page .luc-seg .luc-sg{flex-direction:column;gap:3px;min-height:52px;padding:6px 2px;font-size:14px;line-height:1.15;white-space:normal;text-align:center}
  .nt-page .luc-seg .rf-n{padding:1px 7px;font-size:11.5px}
}
/* T5: the small «Said two ways» switch gets the same Resume B contrast as the rhyme-type switch (stays small: it is a view switch) */
.nt-page .luc-head .rf-pron .nt-level{background:color-mix(in srgb,var(--line) 55%,var(--surface2));border-color:color-mix(in srgb,var(--line) 70%,var(--muted))}
.nt-page .luc-head .rf-pron .nt-seg{color:color-mix(in srgb,var(--ink) 70%,var(--muted))}
.nt-page .luc-head .rf-pron .nt-seg:hover:not(.on){color:var(--ink)}
.nt-page .luc-head .rf-pron .nt-seg.on{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px rgba(25,30,26,.16),0 0 0 1px rgba(25,30,26,.06)}
:root[data-theme="dark"] .nt-page .luc-head .rf-pron .nt-level{background:color-mix(in srgb,var(--line) 70%,var(--surface));border-color:color-mix(in srgb,var(--line) 80%,var(--muted))}
:root[data-theme="dark"] .nt-page .luc-head .rf-pron .nt-seg.on{background:color-mix(in srgb,var(--ink) 20%,var(--surface));box-shadow:0 1px 3px rgba(0,0,0,.4)}

/* ===== ITER Cos 18.11 b3 round 2 · #06 Rhyme Finder C — rollback = delete down to END (copy before: scratchpad c-b3r2/lookup/pre/) =====
   haot94wws8pjw7agpdc6 «сильно жёсткое, тянет на себя больше внимания»: the Perfect / Near / Same sound start switch no longer spans the
   block with a heavy darker track. It takes the look of the small «Said two ways» switch right above it (the calm .nt-level of the GO
   Letter | A4 switches): content width, 1.5 px line border, light surface2 track, 600 14 px labels, picked = white with a soft shadow,
   counts = plain small mono numbers (no pills, no green). Phones: full width (three must fit), one line each, short labels. */
.nt-page .luc-seg{display:inline-flex;width:auto;max-width:100%;margin:0 0 14px;padding:3px;border:1.5px solid var(--line);border-radius:12px;background:var(--surface2)}
.nt-page .luc-seg .luc-sg{flex:0 0 auto;min-height:36px;padding:7px 14px;gap:0;border-radius:9px;font:600 14px var(--font-body);color:var(--muted)}
.nt-page .luc-seg .luc-sg:hover:not(.on){color:var(--ink);background:none}
.nt-page .luc-seg .luc-sg.on{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px rgba(25,30,26,.12)}
.nt-page .luc-seg .rf-n,.nt-page .luc-seg .luc-sg.on .rf-n{margin-left:6px;padding:0;border-radius:0;background:none;font:500 11.5px var(--font-mono);color:var(--muted)}
:root[data-theme="dark"] .nt-page .luc-seg{background:var(--surface2);border-color:var(--line)}
:root[data-theme="dark"] .nt-page .luc-seg .luc-sg.on{background:color-mix(in srgb,var(--ink) 12%,var(--surface));box-shadow:0 1px 3px rgba(0,0,0,.35)}
:root[data-theme="dark"] .nt-page .luc-seg .luc-sg.on .rf-n{color:var(--muted)}
/* the «Said two ways» switch goes back to the same calm look, so the two switches of the block match */
.nt-page .luc-head .rf-pron .nt-level{background:var(--surface2);border-color:var(--line)}
.nt-page .luc-head .rf-pron .nt-seg{color:var(--muted)}
.nt-page .luc-head .rf-pron .nt-seg.on{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px rgba(25,30,26,.12)}
:root[data-theme="dark"] .nt-page .luc-head .rf-pron .nt-level{background:var(--surface2);border-color:var(--line)}
:root[data-theme="dark"] .nt-page .luc-head .rf-pron .nt-seg.on{background:color-mix(in srgb,var(--ink) 12%,var(--surface));box-shadow:0 1px 3px rgba(0,0,0,.35)}
@media(max-width:600px){
  .nt-page .luc-seg{display:flex;width:100%}
  .nt-page .luc-seg .luc-sg{flex:1 1 0;flex-direction:row;min-height:36px;padding:7px 4px;font-size:13.5px;line-height:1.2;white-space:nowrap}
  .nt-page .luc-seg .rf-n,.nt-page .luc-seg .luc-sg.on .rf-n{margin-left:5px;font-size:11px}
}
@media(max-width:360px){
  .nt-page .luc-seg .luc-sg{flex:1 1 auto;padding:7px 3px;font-size:13px}
  .nt-page .luc-seg .rf-n,.nt-page .luc-seg .luc-sg.on .rf-n{margin-left:4px}
}
/* ===== END #06 C 18.11 round 2 ===== */
