@charset "UTF-8";
/* ===========================================================
   AFTER — FAMILY "newtools" (draft): the shared page template for the
   77 new tools from the 18.10 management spec.
   Loaded only by the 77 mockups (New Tool Template, Hub 77, PDF Hub 77), after
   the layers they reuse. Every rule is scoped to .nt-page (tool template) or
   .nt-hub (hub sections), so nothing can leak into the existing 99 tools.
   New pieces the spec asks for and our pages do not have yet:
     .nt-chips / .nt-seg     filter chips and the level switch
     .nt-grid / .nt-card     click-to-copy result cards
     .nt-actions / .nt-dl    action bar: Copy · Download ▾ · Print · Clear
     .nt-ai                  AI panel with the "review before using" note
     .nt-gal                 examples gallery
     .nt-article / .nt-toc   1,000+ word article with "On this page"
     .nt-related             related tools
   =========================================================== */

.nt-page .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* working block */
.nt-page .nt-body{padding:22px 24px}
.nt-page .nt-find{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.nt-page .nt-search{flex:1 1 260px;display:block}
.nt-page .nt-search .opt-in{width:100%}
.nt-page .nt-level{display:inline-flex;border:1.5px solid var(--line);border-radius:12px;padding:3px;background:var(--surface2)}
.nt-page .nt-seg{border:0;background:none;padding:8px 14px;border-radius:9px;font:600 14px var(--font-body);color:var(--muted);cursor:pointer}
.nt-page .nt-seg.on{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px rgba(25,30,26,.12)}

.nt-page .nt-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.nt-page .nt-chip{border:1.5px solid var(--line);border-radius:99px;padding:6px 13px;font:600 13px var(--font-body);color:var(--muted);background:var(--surface);cursor:pointer}
.nt-page .nt-chip:hover{border-color:var(--green);color:var(--green)}
.nt-page .nt-chip.on{border-color:var(--ink);background:var(--ink);color:var(--surface)}
.nt-page .nt-chip:focus-visible,.nt-page .nt-seg:focus-visible,.nt-page .nt-card:focus-visible{outline:3px solid rgba(14,123,84,.4);outline-offset:2px}

.nt-page .nt-count{margin:16px 0 10px;font:500 12px var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.nt-page .nt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media(max-width:900px){.nt-page .nt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.nt-page .nt-grid{grid-template-columns:1fr}}
.nt-page .nt-card{display:flex;flex-direction:column;gap:6px;text-align:left;border:1.5px solid var(--line);border-radius:14px;padding:14px 16px;background:var(--surface);cursor:pointer;font-family:var(--font-body);color:var(--ink);transition:border-color .15s}
.nt-page .nt-card:hover{border-color:var(--green)}
.nt-page .nt-card.copied{border-color:var(--green);background:var(--green-tint)}
.nt-page .nt-w{font-weight:800;font-size:16.5px;display:flex;align-items:center;gap:8px}
.nt-page .nt-lvl{font:500 10.5px var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-style:normal;border:1px solid var(--line);border-radius:6px;padding:1px 6px}
.nt-page .nt-mean{font-size:13px;color:var(--green-deep);font-weight:600}
.nt-page .nt-ex{font-size:14px;color:var(--muted);line-height:1.55}
.nt-page .nt-copy{margin-top:auto;font:600 12.5px var(--font-body);color:var(--green)}

/* action bar */
.nt-page .nt-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px;padding-top:18px;border-top:1px dashed var(--line)}
.nt-page .nt-actions .nt-clear{margin-left:auto}
.nt-page .nt-dl{position:relative}
.nt-page .nt-dl-btn::after{content:"";display:inline-block;margin-left:8px;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-3px) rotate(45deg)}
.nt-page .nt-dl-menu{display:none;position:absolute;left:0;top:calc(100% + 6px);z-index:5;min-width:170px;background:var(--surface);border:1.5px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:6px}
.nt-page .nt-dl-menu.open{display:block}
.nt-page .nt-dl-menu button{display:block;width:100%;text-align:left;border:0;background:none;padding:9px 12px;border-radius:8px;font:600 14px var(--font-body);color:var(--ink);cursor:pointer}
.nt-page .nt-dl-menu button:hover{background:var(--green-tint);color:var(--green-deep)}
@media(max-width:600px){.nt-page .nt-actions .qa-btn{flex:1 1 calc(50% - 4px)}.nt-page .nt-dl{flex:1 1 calc(50% - 4px)}.nt-page .nt-dl .qa-btn{width:100%}.nt-page .nt-actions .nt-clear{margin-left:0}
  /* the menu opens under its own button, never past the card edge */
  .nt-page .nt-dl-menu{left:0;right:0;min-width:0}}

/* AI panel */
.nt-page .nt-ai{margin-top:24px;padding:20px;border-radius:16px;background:var(--surface2);border:1.5px solid var(--line)}
.nt-page .nt-ai h3{margin:0 0 12px;font:800 16.5px var(--font-body);display:flex;align-items:center;gap:8px}
.nt-page .nt-ai-tag{font:500 10.5px var(--font-mono);letter-spacing:.1em;color:var(--green);border:1px solid var(--green);border-radius:6px;padding:1px 6px}
.nt-page .nt-ai-in{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:700px){.nt-page .nt-ai-in{grid-template-columns:1fr}}
.nt-page .nt-ai-in label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:var(--muted)}
.nt-page .nt-ai-in textarea{width:100%;resize:vertical;min-height:88px}
.nt-page .nt-ai-row{margin-top:12px;justify-content:flex-end}
.nt-page .nt-ai-out{display:none;margin-top:18px;padding-top:18px;border-top:1px dashed var(--line)}
.nt-page .nt-ai-out.show{display:block}
.nt-page .nt-ai-card{padding:12px 0;border-bottom:1px solid var(--line)}
.nt-page .nt-ai-card b{font-size:15.5px}
.nt-page .nt-ai-card p{margin:4px 0 0;font-size:14px}
.nt-page .nt-ai-note{margin:12px 0 0;font-size:12.5px;color:var(--muted)}

/* examples gallery */
.nt-page .nt-chips-gal{margin:18px 0 20px}
.nt-page .nt-gal{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
@media(max-width:900px){.nt-page .nt-gal{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.nt-page .nt-gal{grid-template-columns:1fr}}
.nt-page .nt-gal-card{display:flex;flex-direction:column;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:20px 22px;box-shadow:var(--shadow)}
.nt-page .nt-kind{font:500 10.5px var(--font-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--green)}
.nt-page .nt-gal-card p{margin:0;font-size:16px;line-height:1.55;color:var(--ink)}
.nt-page .nt-gal-act{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}

/* article with "On this page" */
.nt-page .nt-article{display:grid;grid-template-columns:240px minmax(0,1fr);gap:48px;align-items:start}
.nt-page .nt-toc{position:sticky;top:110px}
.nt-page .nt-toc ol{list-style:none;margin:0;padding:0;border-left:2px solid var(--line)}
.nt-page .nt-toc li a{display:block;padding:6px 0 6px 14px;margin-left:-2px;border-left:2px solid transparent;font-size:14px;color:var(--muted);text-decoration:none}
.nt-page .nt-toc li a:hover{color:var(--green-deep);border-left-color:var(--green)}
.nt-page .nt-text{max-width:70ch}
.nt-page .nt-text h2{font-size:clamp(22px,2.4vw,28px);margin:34px 0 12px;scroll-margin-top:110px}
.nt-page .nt-text h2:first-child{margin-top:0}
.nt-page .nt-text p{font-size:16.5px;line-height:1.75;color:var(--ink);margin:0 0 14px}
@media(max-width:900px){.nt-page .nt-article{grid-template-columns:minmax(0,1fr);gap:20px}.nt-page .nt-toc{position:static}}

/* related tools */
.nt-page .nt-related{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:20px}
.nt-page .nt-related .mini-card{text-decoration:none}
@media(max-width:900px){.nt-page .nt-related{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.nt-page .nt-related{grid-template-columns:1fr}}

/* ===========================================================
   HUBS WITH SECTIONS (77 mockups: Student / Teacher / PDF hubs)
   The hub keeps its own card grid (.tool-grid > .mini-card); the cards are
   split into sections with a heading, separated by the catalog's wave. With
   3+ sections a pill row filters them — the /tools pills (tools-index-after.css
   #list .tl-*) copied here under .nt-hub, so the catalog sheet is not loaded.
   =========================================================== */
.hero .wrap > .nt-hub{order:4;margin-top:30px}
.nt-hub .tool-grid{margin-top:0}
.nt-hub .nt-hub-h{font-size:20px;margin:0 0 14px}
.nt-hub .nt-hub-sec:not([hidden]) ~ .nt-hub-sec::before{
  content:"";display:block;height:12px;width:calc(100% - 8px);margin:40px auto;background:var(--line);
  -webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='12'%3E%3Cpath%20d='M0%208%20Q6%203%2012%208%20T24%208'%20fill='none'%20stroke='%23000'%20stroke-width='1.4'%20stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center / 24px 12px;
  mask:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='12'%3E%3Cpath%20d='M0%208%20Q6%203%2012%208%20T24%208'%20fill='none'%20stroke='%23000'%20stroke-width='1.4'%20stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center / 24px 12px;
}
.nt-hub .tl-filter-wrap{position:relative;margin:0 0 32px;display:flow-root}
.nt-hub .tl-filter{display:flex;align-items:center;gap:8px;overflow-x:auto;scrollbar-width:none;scroll-behavior:smooth;
  padding-top:10px;padding-bottom:12px;margin-block:-10px}
.nt-hub .tl-filter::-webkit-scrollbar{display:none}
.nt-hub .tl-cat{flex:0 0 auto;position:relative;border:1.5px solid var(--line);border-radius:99px;background:transparent;padding:7px 15px;
  font-family:inherit;font-size:13.5px;font-weight:600;color:var(--muted);cursor:pointer;white-space:nowrap;transition:.15s}
.nt-hub .tl-cat::after{content:"";position:absolute;left:50%;top:50%;width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%)}
.nt-hub .tl-cat:hover{border-color:var(--green);color:var(--ink)}
.nt-hub .tl-cat:active{background:rgba(25,30,26,.035);transition:none}
.nt-hub .tl-cat[aria-selected="true"]{border-color:var(--green);background:var(--green-tint);color:var(--green-deep)}
.nt-hub .tl-cat:focus-visible{outline:2.5px solid var(--green);outline-offset:2px}
.nt-hub .tl-filter-wrap::before,.nt-hub .tl-filter-wrap::after{content:"";position:absolute;top:0;bottom:0;width:64px;z-index:1;pointer-events:none;opacity:0;transition:opacity .18s}
.nt-hub .tl-filter-wrap::before{left:0;background:linear-gradient(90deg,var(--bg) 30%,rgba(0,0,0,0))}
.nt-hub .tl-filter-wrap::after{right:0;background:linear-gradient(270deg,var(--bg) 30%,rgba(0,0,0,0))}
.nt-hub .tl-filter-wrap.has-left::before,.nt-hub .tl-filter-wrap.has-right::after{opacity:1}
.nt-hub .tl-nudge{position:absolute;top:50%;transform:translateY(-50%);z-index:2;display:none;align-items:center;justify-content:center;
  width:28px;height:28px;padding:0;border:1.5px solid var(--line);border-radius:99px;background:var(--surface);color:var(--muted);cursor:pointer;transition:.15s}
.nt-hub .tl-nudge:hover{border-color:var(--green);color:var(--green-deep)}
.nt-hub .tl-nudge-l{left:0}
.nt-hub .tl-nudge-r{right:0}
.nt-hub .tl-filter-wrap.has-left .tl-nudge-l,.nt-hub .tl-filter-wrap.has-right .tl-nudge-r{display:flex}

/* ===========================================================
   BRICK В — SHEET WITH LIVE PREVIEW (first page: #40 Printable Paper)
   Type tiles on top; settings left, the live sheet right (≥861px).
   Phones/tablets: tiles scroll sideways, then the settings, then the
   sheet (Cos 27.10: input on top, as the spec says).
   The sheet itself is white paper in both themes.
   =========================================================== */
.nt-page .ps-types{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.nt-page .ps-type{display:flex;flex-direction:column;gap:8px;padding:8px 8px 10px;border:1.5px solid var(--line);border-radius:14px;
  background:var(--surface);cursor:pointer;font:600 13.5px var(--font-body);color:var(--ink);text-align:center;transition:border-color .15s,box-shadow .15s}
.nt-page .ps-type:hover{border-color:var(--green)}
.nt-page .ps-type.on{border-color:var(--green);box-shadow:0 0 0 3px var(--green-tint)}
.nt-page .ps-type:focus-visible,.nt-page .ps-sw:focus-visible{outline:3px solid rgba(14,123,84,.4);outline-offset:2px}
.nt-page .ps-thumb{display:block;border-radius:8px;overflow:hidden;border:1px solid var(--line);background:#fff;aspect-ratio:11/8}
.nt-page .ps-thumb svg{display:block;width:100%;height:100%}

.nt-page .ps-main{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:24px;margin-top:22px;align-items:start}
.nt-page .ps-settings{display:flex;flex-direction:column;gap:16px;min-width:0}
.nt-page .ps-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:end}
.nt-page .ps-field{display:flex;flex-direction:column;gap:7px;min-width:0}
.nt-page .ps-cap{font:600 13px var(--font-body);color:var(--muted)}
.nt-page .ps-field select.opt-in{width:100%}
.nt-page .ps-seg{display:flex;width:100%}
.nt-page .ps-seg .nt-seg{flex:1 1 0;padding:8px 6px;white-space:nowrap}
.nt-page .ps-seg .nt-seg i{font-style:normal;font:500 10.5px var(--font-mono);color:var(--muted);margin-left:4px}
.nt-page .ps-swatches{display:flex;gap:10px;flex-wrap:wrap}
.nt-page .ps-sw{width:32px;height:32px;border-radius:50%;border:3px solid var(--surface);box-shadow:0 0 0 1.5px var(--line);cursor:pointer;padding:0}
.nt-page .ps-sw.on{box-shadow:0 0 0 2.5px var(--ink)}
.nt-page .ps-checks{display:flex;flex-direction:column;gap:10px}
.nt-page .ps-check{display:flex;gap:9px;align-items:center;font-size:14px;color:var(--ink);cursor:pointer}
.nt-page .ps-check input{width:18px;height:18px;accent-color:var(--green);flex:none}
.nt-page .ps-check-ruler{align-self:center;font-size:13.5px}

.nt-page .ps-preview{display:flex;flex-direction:column;align-items:center;gap:12px;padding:24px;border-radius:16px;
  background:var(--surface2);border:1.5px solid var(--line);min-width:0}
.nt-page .ps-sheet{width:100%;max-width:440px;background:#fff;border-radius:2px;
  box-shadow:0 12px 30px rgba(25,30,26,.14),0 1px 3px rgba(25,30,26,.10)}
.nt-page .ps-sheet.ps-land{max-width:560px}
.nt-page .ps-sheet svg{display:block;width:100%;height:auto}
.nt-page .ps-meta{margin:0;font:500 11.5px var(--font-mono);letter-spacing:.05em;color:var(--muted);text-align:center}

/* presets = the template's gallery zone */
.nt-page .ps-presets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-top:22px}
.nt-page .ps-preset{display:flex;flex-direction:column;gap:6px;padding:10px 10px 14px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface)}
.nt-page .ps-preset b{font-size:14.5px;margin-top:4px}
.nt-page .ps-preset span:not(.ps-thumb){font-size:13px;color:var(--muted);line-height:1.45}
.nt-page .ps-preset .qa-btn{margin-top:auto;align-self:flex-start}

@media(max-width:1000px){.nt-page .ps-presets{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:860px){
  .nt-page .ps-main{grid-template-columns:1fr}
  .nt-page .ps-preview{padding:18px}
  .nt-page .ps-types{display:flex;overflow-x:auto;scrollbar-width:none;margin:0 -24px;padding:2px 24px 4px;scroll-padding-inline:24px}
  .nt-page .ps-types::-webkit-scrollbar{display:none}
  .nt-page .ps-type{flex:0 0 116px}
}
@media(max-width:600px){
  .nt-page .ps-presets{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nt-page .ps-row{grid-template-columns:1fr}
}

/* ===========================================================
   BRICK Б — ORGANIZER + AI CHECK (first page: #19 Conclusion), with brick А
   in its Examples tab. Tabs on top; Plan = numbered note fields; Review =
   two inputs → the check → result part (dashed rule, Student convention):
   the draft with numbered marks | the notes list; a click pairs them.
   Part colors work in both themes (tints over the surface).
   =========================================================== */
.nt-page .oc-tabs{display:flex;gap:4px;border-bottom:1.5px solid var(--line);margin:-4px 0 20px;overflow-x:auto;scrollbar-width:none}
.nt-page .oc-tabs::-webkit-scrollbar{display:none}
.nt-page .oc-tab{flex:0 0 auto;border:0;background:none;padding:10px 14px 12px;margin-bottom:-1.5px;border-bottom:2.5px solid transparent;
  font:700 14.5px var(--font-body);color:var(--muted);cursor:pointer;white-space:nowrap}
.nt-page .oc-tab:hover{color:var(--ink)}
.nt-page .oc-tab.on{color:var(--ink);border-bottom-color:var(--green)}
.nt-page .oc-tab:focus-visible,.nt-page .oc-issue:focus-visible{outline:3px solid rgba(14,123,84,.4);outline-offset:2px}

/* parts and their colors (examples + legend) */
.nt-page .oc-legend{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:13px;color:var(--muted)}
.nt-page .oc-key::before{content:"";display:inline-block;width:14px;height:10px;border-radius:3px;margin-right:6px;vertical-align:-1px}
.nt-page .p-thesis::before,.nt-page .oc-p.p-thesis{background:rgba(22,160,106,.18)}
.nt-page .p-synth::before,.nt-page .oc-p.p-synth{background:rgba(47,107,176,.16)}
.nt-page .p-final::before,.nt-page .oc-p.p-final{background:rgba(230,170,20,.26)}
.nt-page .oc-p{border-radius:4px;padding:1px 2px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.nt-page .oc-examples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
.nt-page .oc-ex{display:flex;flex-direction:column;gap:6px;padding:14px 16px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface)}
.nt-page .oc-ex b{font-size:15.5px}
.nt-page .oc-ex-text{margin:2px 0 0;font-size:14.5px;line-height:1.75}

/* Plan: numbered notes */
.nt-page .oc-lead{margin:0 0 14px;font-size:14px;color:var(--muted)}
.nt-page .oc-plan{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.nt-page .oc-step{display:flex;gap:12px;align-items:flex-start}
.nt-page .oc-num{flex:none;width:26px;height:26px;border-radius:8px;border:1.5px solid var(--line);background:var(--surface2);
  display:inline-flex;align-items:center;justify-content:center;font:500 12px var(--font-mono);color:var(--green-deep)}
.nt-page .oc-field{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}
.nt-page .oc-cap{font:700 14px var(--font-body);color:var(--ink)}
.nt-page .oc-hint{font-size:13px;color:var(--muted);margin-top:-2px}
.nt-page .oc-field textarea{width:100%;resize:vertical;font-size:15px;line-height:1.6}
.nt-page .oc-count{font:500 11.5px var(--font-mono);color:var(--muted);text-align:right}

/* Review: inputs, run row, checking */
.nt-page .oc-inputs{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:14px}
.nt-page .oc-run{display:flex;align-items:flex-end;justify-content:flex-end;gap:12px;margin-top:14px;flex-wrap:wrap}
.nt-page .oc-type{flex:0 0 220px}
.nt-page .oc-go{display:inline-flex;align-items:center;gap:10px}
.nt-page .oc-go .nt-ai-tag{color:#fff;border-color:rgba(255,255,255,.6)}
.nt-page .oc-checking{display:flex;align-items:center;gap:12px;margin-top:22px;padding-top:22px;border-top:1px dashed var(--line);font-size:14px;color:var(--muted)}
.nt-page .oc-bar{flex:0 0 120px;height:4px;border-radius:99px;background:var(--line);overflow:hidden}
.nt-page .oc-bar i{display:block;width:40%;height:100%;background:var(--green);border-radius:99px;animation:oc-run 1.1s ease-in-out infinite}
@keyframes oc-run{0%{transform:translateX(-100%)}100%{transform:translateX(260%)}}

/* result part */
.nt-page .oc-result{margin-top:24px;padding-top:24px;border-top:1px dashed var(--line)}
.nt-page .oc-res-count{margin:0 0 12px}
.nt-page .oc-res-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:18px;align-items:start}
.nt-page .oc-draft{padding:16px 18px;border-radius:14px;background:var(--surface2);border:1.5px solid var(--line);font-size:15px;line-height:1.85}
.nt-page .oc-draft p{margin:0}
.nt-page .oc-m{background:rgba(206,80,73,.10);color:inherit;border-bottom:2px solid rgba(206,80,73,.45);padding:1px 1px;border-radius:3px;
  -webkit-box-decoration-break:clone;box-decoration-break:clone}
.nt-page .oc-m sup{font:600 10px var(--font-mono);color:#A3443E;margin-right:2px}
.nt-page .oc-m.on{background:rgba(230,170,20,.34);border-bottom-color:#C98A00}
.nt-page .oc-issues{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.nt-page .oc-issue{width:100%;display:flex;gap:12px;align-items:flex-start;text-align:left;padding:12px 14px;border:1.5px solid var(--line);border-radius:14px;
  background:var(--surface);cursor:pointer;font-family:var(--font-body);color:var(--ink)}
.nt-page .oc-issue:hover{border-color:var(--green)}
.nt-page .oc-issue.on{border-color:#C98A00;box-shadow:0 0 0 3px rgba(230,170,20,.18)}
.nt-page .oc-issue.gone{opacity:.5}
.nt-page .oc-ibody{display:flex;flex-direction:column;gap:4px;min-width:0}
.nt-page .oc-cat{font:500 10.5px var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.nt-page .oc-issue q{font-size:14px;font-weight:700;quotes:"\201C" "\201D"}
.nt-page .oc-exp{font-size:14px;color:var(--muted);line-height:1.55}
.nt-page .oc-ask{font-size:14px;color:var(--green-deep);font-weight:600;line-height:1.5}
.nt-page .oc-strengths{margin-top:16px;padding:12px 16px;border-radius:12px;background:var(--green-tint);font-size:14px}
.nt-page .oc-strengths b{display:block;margin-bottom:4px;color:var(--green-deep)}
.nt-page .oc-strengths ul{margin:0;padding-left:18px}
.nt-page .oc-stale{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 14px;padding:10px 14px;border-radius:12px;
  background:rgba(230,170,20,.16);font-size:14px}
.nt-page .oc-result.is-stale .oc-draft,.nt-page .oc-result.is-stale .oc-issues{opacity:.55}
.nt-page .oc-incl{margin-left:6px;font-size:13.5px}

/* gallery zone: weak → strong pairs */
.nt-page .oc-pairs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}
.nt-page .oc-pair{display:flex;flex-direction:column;gap:10px;padding:16px 18px;border:1.5px solid var(--line);border-radius:16px;background:var(--surface)}
.nt-page .oc-pair p{margin:0;font-size:14.5px;line-height:1.6}
.nt-page .oc-pair b{display:block;font:500 10.5px var(--font-mono);letter-spacing:.1em;text-transform:uppercase;margin-bottom:2px}
.nt-page .oc-weak{color:var(--muted)}
.nt-page .oc-weak b{color:#A3443E}
.nt-page .oc-strong b{color:var(--green-deep)}
.nt-page .oc-why{font-size:13.5px!important;color:var(--muted);border-top:1px dashed var(--line);padding-top:10px}

@media(max-width:900px){
  .nt-page .oc-res-grid,.nt-page .oc-inputs{grid-template-columns:1fr}
  .nt-page .oc-pairs{grid-template-columns:1fr}
}
@media(max-width:700px){
  .nt-page .oc-examples,.nt-page .oc-plan{grid-template-columns:1fr}
}
.nt-page .oc-ts{display:none}
@media(max-width:600px){
  /* phones: short tab labels, tabs share the width — the Review tab stays in view */
  .nt-page .oc-tl{display:none}
  .nt-page .oc-ts{display:inline}
  .nt-page .oc-tab{flex:1 1 0;padding-inline:6px}
  .nt-page .oc-run{justify-content:stretch}
  .nt-page .oc-type{flex:1 1 100%}
  .nt-page .oc-go{flex:1 1 100%;justify-content:center}
  .nt-page .oc-incl{flex:1 1 100%;margin-left:0}
}

/* ===========================================================
   BRICK Г — INPUT → RESULT (first page: #06 Rhyme Finder)
   One big field + the primary action, sample chips under it; the result:
   a word card (syllables, pronunciation, picker), tabs with counts (the
   .oc-tab tabs of brick Б), a filter row, then syllable columns of
   click-to-copy chips. Copy feedback is a toast inside the card.
   =========================================================== */
.nt-page .rf-body{position:relative}
.nt-page .rf-search{display:flex;gap:10px}
.nt-page .rf-in{flex:1 1 auto;min-width:0;font-size:18px;padding-block:14px}
.nt-page .rf-go{flex:none}
.nt-page .rf-try{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}
.nt-page .rf-try > span{font:500 11px var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-right:2px}
.nt-page .rf-empty{margin:22px 0 0;padding-top:22px;border-top:1px dashed var(--line);color:var(--muted);font-size:15px}
.nt-page .rf-miss{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-top:22px;padding-top:22px;border-top:1px dashed var(--line);font-size:15px}
.nt-page .rf-miss b{flex:1 1 100%}
.nt-page .rf-mean{color:var(--muted);font-size:14px}

.nt-page .rf-res{margin-top:22px;padding-top:22px;border-top:1px dashed var(--line)}
.nt-page .rf-word{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 14px;margin-bottom:16px}
.nt-page .rf-w{font:600 30px/1.1 var(--font-display);letter-spacing:-.01em}
.nt-page .rf-tag{font:600 12.5px var(--font-body);color:var(--green-deep);background:var(--green-tint);border-radius:99px;padding:3px 10px}
.nt-page .rf-ipa{font:500 14px var(--font-mono);color:var(--muted)}
.nt-page .rf-pron{display:flex;align-items:center;gap:10px;flex:1 1 100%;flex-wrap:wrap;font-size:14px;color:var(--muted)}
.nt-page .rf-pron .ps-seg{width:auto}
.nt-page .rf-pron .nt-seg{flex:0 0 auto;padding:8px 14px}
.nt-page .rf-pron .nt-seg i{font-style:normal;font:500 11.5px var(--font-mono);color:var(--muted);margin-left:6px}
.nt-page .rf-tabs{margin:0 0 14px}
.nt-page .rf-n{font-style:normal;font:500 11px var(--font-mono);color:var(--muted);margin-left:7px;background:var(--surface2);border-radius:99px;padding:1px 7px}
.nt-page .oc-tab.on .rf-n{color:var(--green-deep);background:var(--green-tint)}
.nt-page .rf-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.nt-page .rf-total{font:500 11.5px var(--font-mono);letter-spacing:.04em;color:var(--muted)}
.nt-page .rf-note{margin:0 0 14px;padding:10px 14px;border-radius:12px;background:rgba(230,170,20,.16);font-size:14px}
.nt-page .rf-cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.nt-page .rf-col{padding:12px 12px 14px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface);min-width:0}
.nt-page .rf-col h3{margin:0 0 10px;font:700 13.5px var(--font-body);color:var(--ink)}
.nt-page .rf-col h3 i{font-style:normal;font:500 11px var(--font-mono);color:var(--muted);margin-left:4px}
.nt-page .rf-col.is-empty{opacity:.55}
.nt-page .rf-col.is-empty .rf-list::before{content:"—";color:var(--muted)}
.nt-page .rf-list{display:flex;flex-wrap:wrap;gap:6px}
.nt-page .rf-chip{border:1.5px solid var(--line);border-radius:10px;background:var(--surface);padding:6px 10px;font:600 14.5px var(--font-body);color:var(--ink);cursor:pointer}
.nt-page .rf-chip:hover{border-color:var(--green);color:var(--green-deep)}
.nt-page .rf-chip.rare{color:var(--muted);font-weight:500;border-style:dashed}
.nt-page .rf-chip.copied{border-color:var(--green);background:var(--green-tint);color:var(--green-deep)}
.nt-page .rf-chip:focus-visible{outline:3px solid rgba(14,123,84,.4);outline-offset:2px}
.nt-page .rf-toast{position:absolute;left:50%;bottom:76px;transform:translate(-50%,8px);opacity:0;pointer-events:none;z-index:6;
  background:var(--ink);color:var(--surface);font:600 14px var(--font-body);padding:9px 16px;border-radius:99px;transition:opacity .18s,transform .18s}
.nt-page .rf-toast.show{opacity:1;transform:translate(-50%,0)}

@media(max-width:900px){.nt-page .rf-cols{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
  .nt-page .rf-search{flex-direction:column}
  .nt-page .rf-go{width:100%}
  .nt-page .rf-in{font-size:17px}
  .nt-page .rf-cols{grid-template-columns:1fr}
  .nt-page .rf-col.is-empty{display:none}
  .nt-page .rf-w{font-size:26px}
  .nt-page .rf-tabs .oc-tab{padding-inline:4px}
  .nt-page .rf-n{margin-left:4px;padding:1px 5px}
}

/* ===========================================================
   BRICK Д — AI GENERATOR (first page: #72 Lesson Plan)
   Form (fields in rows, optional extras behind a toggle) → Generate →
   result part: title + meta, a timeline whose segments are the section
   minutes (total checked against the lesson length), info cards, then
   the sections, each with its own minutes and Regenerate; editable
   bullets; «teacher to add» marks for facts the AI may not invent.
   =========================================================== */
.nt-page .lp-form{display:flex;flex-direction:column;gap:14px}
.nt-page .lp-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.nt-page .lp-row-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.nt-page .lp-form .opt-in{width:100%}
.nt-page .lp-form textarea{resize:vertical;font-size:15px;line-height:1.55}
.nt-page .ps-cap i{font-style:normal;font-weight:500;color:var(--placeholder,var(--muted));margin-left:4px}
.nt-page .lp-more{border:1.5px dashed var(--line);border-radius:14px;padding:4px 14px}
.nt-page .lp-more > .lp-row{padding:6px 0 14px}
.nt-page .lp-more-btn{display:flex;align-items:center;gap:8px;width:100%;border:0;background:none;padding:10px 0;font:700 14px var(--font-body);color:var(--ink);cursor:pointer;text-align:left}
.nt-page .lp-more-btn i{font-style:normal;font-weight:500;color:var(--muted)}
.nt-page .lp-more-btn::after{content:"";margin-left:auto;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .15s}
.nt-page .lp-more-btn[aria-expanded="true"]::after{transform:rotate(-135deg)}
.nt-page .lp-run{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.nt-page .lp-run-note{font-size:13px;color:var(--muted)}
.nt-page .lp-todo{background:rgba(230,170,20,.26);color:inherit;border-radius:4px;padding:0 4px;font-weight:600;white-space:nowrap}
.nt-page .lp-todo::before{content:"["}.nt-page .lp-todo::after{content:"]"}

.nt-page .lp-result{margin-top:24px;padding-top:24px;border-top:1px dashed var(--line)}
.nt-page .lp-head h3{margin:0 0 8px;font:600 24px/1.2 var(--font-display);letter-spacing:-.01em}
.nt-page .lp-meta{display:flex;flex-wrap:wrap;gap:6px}
.nt-page .lp-meta span{font:500 11.5px var(--font-mono);letter-spacing:.04em;color:var(--muted);border:1px solid var(--line);border-radius:99px;padding:3px 10px}
.nt-page .lp-time{margin:18px 0}
.nt-page .lp-bar{display:flex;gap:3px;height:40px;border-radius:12px;overflow:hidden}
.nt-page .lp-seg{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:0 8px;color:#fff;flex-basis:0;overflow:hidden}
.nt-page .lp-seg b{font:700 12px var(--font-body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nt-page .lp-seg i{font:500 10.5px var(--font-mono);font-style:normal;opacity:.9;white-space:nowrap}
.nt-page .lp-total{margin:8px 0 0;font:500 12px var(--font-mono);letter-spacing:.03em}
.nt-page .lp-total.ok{color:var(--green-deep)}
.nt-page .lp-total.ok::before{content:"✓ "}
.nt-page .lp-total.warn{color:#A3443E;background:rgba(206,80,73,.10);display:inline-block;padding:4px 10px;border-radius:8px}
.nt-page .lp-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}
.nt-page .lp-card{padding:14px 16px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface);min-width:0}
.nt-page .lp-card h4{margin:0 0 8px;font:700 14.5px var(--font-body);display:flex;align-items:center;gap:8px}
.nt-page .lp-card ul{margin:0;padding-left:18px;font-size:14px;line-height:1.55}
.nt-page .lp-card li + li{margin-top:4px}
.nt-page .lp-card p{margin:0;font-size:14px;line-height:1.55}
.nt-page .lp-empty{color:var(--muted)}
.nt-page .lp-sugg{font:500 10px var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:#8A5A00;background:#FFF1C9;border-radius:6px;padding:2px 6px}
.nt-page .lp-vocab{display:flex;flex-wrap:wrap;gap:6px}
.nt-page .lp-vocab span{font-size:13.5px;border:1px solid var(--line);border-radius:8px;padding:3px 9px;background:var(--surface2)}
.nt-page .lp-secs{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.nt-page .lp-sec{border:1.5px solid var(--line);border-radius:14px;background:var(--surface);overflow:hidden;transition:opacity .2s}
.nt-page .lp-sec.is-regen{opacity:.55}
.nt-page .lp-sec-head{display:flex;align-items:center;gap:10px;padding:10px 14px;background:var(--surface2);border-bottom:1px solid var(--line)}
.nt-page .lp-sec-head b{font-size:15.5px;flex:1;min-width:0}
.nt-page .lp-dot{width:10px;height:10px;border-radius:3px;flex:none}
.nt-page .lp-min{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}
.nt-page .lp-min input.opt-in{width:72px;min-width:0;flex:none;text-align:center;padding-block:6px}
.nt-page .lp-sec-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:12px 16px 14px}
.nt-page .lp-who{display:block;font:500 10.5px var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}
.nt-page .lp-ed ul{margin:0;padding-left:18px;font-size:14.5px;line-height:1.6}
.nt-page .lp-ed li[contenteditable]{outline:none;border-radius:4px}
.nt-page .lp-ed li[contenteditable]:hover{background:var(--surface2)}
.nt-page .lp-ed li[contenteditable]:focus{background:var(--green-tint)}
.nt-page .lp-next{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:6px 0 0;font-size:14px}
.nt-page .lp-next span{font:500 11px var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.nt-page .lp-next a{font-weight:700}
.nt-page .lp-next a::after{content:" →"}

/* gallery zone: samples + blank templates */
.nt-page .lp-samples{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px}
.nt-page .lp-sample{display:flex;flex-direction:column;gap:6px;padding:16px 18px;border:1.5px solid var(--line);border-radius:16px;background:var(--surface)}
.nt-page .lp-sample b{font-size:15.5px}
.nt-page .lp-sample > span:not(.nt-kind){font-size:13px;color:var(--muted)}
.nt-page .lp-sample .qa-btn{margin-top:8px;align-self:flex-start}
.nt-page .lp-blank{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:18px}
.nt-page .lp-blank > span{font:500 11px var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-right:6px}

@media(max-width:900px){
  .nt-page .lp-row-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nt-page .lp-cards{grid-template-columns:1fr}
  .nt-page .lp-samples{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .nt-page .lp-row,.nt-page .lp-row-4{grid-template-columns:1fr}
  .nt-page .lp-run .oc-go{flex:1 1 100%;justify-content:center}
  .nt-page .lp-sec-body{grid-template-columns:1fr}
  .nt-page .lp-sec-head{flex-wrap:wrap}
  .nt-page .lp-regen{flex:1 1 100%}
  .nt-page .lp-samples{grid-template-columns:1fr}
  /* short segments keep only their minutes */
  .nt-page .lp-seg{padding:0 4px;align-items:center}
  .nt-page .lp-seg b{display:none}
}

/* brick В: Download is the primary action — a green button with every format in its menu (Cos 27.10) */
.nt-page .nt-dl-btn.btn-primary{display:inline-flex;align-items:center}
.nt-page .nt-dl-btn.btn-primary::after{border-color:#fff}

/* brick Д: editable lines say so (Cos 27.10: edit in place + a hint) */
.nt-page .lp-edit-hint{margin:12px 0 0;font-size:13px;color:var(--muted)}
.nt-page .lp-edit-hint::before{content:"";display:inline-block;width:13px;height:13px;margin-right:7px;vertical-align:-2px;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='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%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='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-page .lp-ed li[contenteditable]{position:relative;cursor:text;padding-right:22px}
.nt-page .lp-ed li[contenteditable]:hover::after{content:"";position:absolute;right:2px;top:.3em;width:13px;height:13px;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='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%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='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E") center/contain no-repeat}

/* ===========================================================
   COMPLEX APP — #01 MATH SOLVER (own working block on the template frame)
   Mode tabs (.oc-tab) · field + Solve · «We read this as» preview · math
   keys · example chips · result part: answer card (Checked ✓, decimal,
   number line), learning controls, numbered steps (locked ones while in
   Hint mode), similar-problem practice; word problem → editable equations.
   Math is HTML styled to look rendered (.mx): a real build uses KaTeX.
   =========================================================== */
.nt-page .mx{font-family:"STIX Two Text","Cambria Math","Times New Roman",serif;font-size:1.12em;letter-spacing:.01em}
.nt-page .mx i{font-style:italic;padding:0 .04em}
.nt-page .mx sup{font-size:.68em;line-height:0}
.nt-page .mf{display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;margin:0 .12em;font-size:.86em;line-height:1.1}
.nt-page .mf > span:first-child{border-bottom:1.4px solid currentColor;padding:0 .2em}
.nt-page .mf > span:last-child{padding:0 .2em}
.nt-page .ms-ph{font-family:var(--font-body);font-size:13px;color:var(--muted);font-style:normal}

.nt-page .ms-modes{margin-bottom:16px}
.nt-page .ms-field{display:flex;gap:10px}
.nt-page .ms-in{flex:1 1 auto;min-width:0;font:500 18px var(--font-mono);padding-block:14px;letter-spacing:.02em}
.nt-page .ms-go{flex:none}
.nt-page .ms-read{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin:12px 0 0;padding:10px 14px;border-radius:12px;background:var(--surface2);border:1.5px dashed var(--line)}
.nt-page .ms-read > span:first-child{font:500 10.5px var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.nt-page .ms-read .mx{font-size:20px}
.nt-page .ms-keys{display:grid;grid-template-columns:repeat(18,minmax(0,1fr));gap:6px;margin-top:12px}
.nt-page .ms-key{height:38px;border:1.5px solid var(--line);border-radius:10px;background:var(--surface);font:600 15px "STIX Two Text","Cambria Math",serif;color:var(--ink);cursor:pointer;padding:0}
.nt-page .ms-key:hover{border-color:var(--green);color:var(--green-deep)}
.nt-page .ms-key:active{background:var(--green-tint)}
.nt-page .ms-try{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px}
.nt-page .ms-try > span,.nt-page .ms-history > span{font:500 11px var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-right:2px}
.nt-page .ms-word-run{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px}

.nt-page .ms-amb{margin-top:22px;padding-top:22px;border-top:1px dashed var(--line)}
.nt-page .ms-amb b{display:block;margin-bottom:10px;font-size:15px}
.nt-page .ms-amb-opts{display:flex;gap:10px;flex-wrap:wrap}
.nt-page .ms-amb-opt{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:150px;padding:12px 16px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface);cursor:pointer;font:600 13px var(--font-body);color:var(--muted)}
.nt-page .ms-amb-opt .mx{font-size:24px;color:var(--ink)}
.nt-page .ms-amb-opt:hover{border-color:var(--green)}
.nt-page .ms-amb-opt.on{border-color:var(--green);box-shadow:0 0 0 3px var(--green-tint)}
.nt-page .ms-amb-ans{display:flex;align-items:center;gap:12px;margin:14px 0 0;font-size:18px}

.nt-page .ms-wordeq{margin-top:22px;padding-top:22px;border-top:1px dashed var(--line)}
.nt-page .ms-unknowns{margin:0 0 12px;padding-left:18px;font-size:15px;line-height:1.7}
.nt-page .ms-eqs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.nt-page .ms-note{margin:10px 0 0;font-size:13.5px;color:var(--muted)}

.nt-page .ms-result{margin-top:22px;padding-top:22px;border-top:1px dashed var(--line)}
.nt-page .ms-ans{padding:18px 20px;border-radius:16px;background:var(--green-tint);border:1.5px solid var(--diff-line,var(--line))}
.nt-page .ms-ans.is-hidden{background:var(--surface2);border-style:dashed;border-color:var(--line)}
.nt-page .ms-type{display:block;font:500 10.5px var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}
.nt-page .ms-answer{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.nt-page .ms-answer .mx{font-size:30px;color:var(--ink)}
.nt-page .ms-ans.is-hidden .ms-answer .mx{font:600 16px var(--font-body);color:var(--muted)}
.nt-page .ms-decimal{margin:6px 0 0;font:500 13px var(--font-mono);color:var(--green-deep)}
.nt-page .ms-line-wrap{margin-top:10px;max-width:440px}
.nt-page .ms-line{display:block;width:100%;height:auto}
.nt-page .ms-check{margin:10px 0 0;font-size:13.5px;color:var(--muted);display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}
.nt-page .ms-ans.is-hidden .ms-check{display:none}
.nt-page .ms-ok{font:700 12px var(--font-body);color:#fff;background:#16A06A;border-radius:99px;padding:3px 10px;white-space:nowrap}
.nt-page .ms-learn{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 12px}
.nt-page .ms-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.nt-page .ms-li{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface)}
.nt-page .ms-step{display:flex;flex-direction:column;gap:4px;min-width:0}
.nt-page .ms-step b{font-size:15px}
.nt-page .ms-expr{font-size:20px;color:var(--ink);overflow-x:auto}
.nt-page .ms-why{font-size:14px;color:var(--muted);line-height:1.55}
.nt-page .ms-li.is-locked{border-style:dashed;background:var(--surface2)}
.nt-page .ms-li.is-locked b{font-weight:500;color:var(--muted);font-size:14px}
.nt-page .ms-similar{margin-top:16px;padding:16px 18px;border-radius:16px;border:1.5px solid var(--line);background:var(--surface2)}
.nt-page .ms-sim-q{margin:4px 0 12px;font-size:22px}
.nt-page .ms-sim-res{margin:10px 0 0;font-size:14px;font-weight:600}
.nt-page .ms-sim-res.ok{color:var(--green-deep)}
.nt-page .ms-sim-res.no{color:#A3443E}
.nt-page .ms-history{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:18px}
.nt-page .ms-hist{border:0;background:none;padding:4px 8px;border-radius:8px;font:500 13px var(--font-mono);color:var(--muted);cursor:pointer}
.nt-page .ms-hist:hover{background:var(--surface2);color:var(--ink)}

.nt-page .ms-samples{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:22px}
.nt-page .ms-sample{display:flex;flex-direction:column;gap:8px;padding:16px 18px;border:1.5px solid var(--line);border-radius:16px;background:var(--surface)}
.nt-page .ms-sq{font-size:20px}
.nt-page .ms-sa{font-size:13.5px;color:var(--muted)}
.nt-page .ms-sample .qa-btn{margin-top:auto;align-self:flex-start}

@media(max-width:1000px){.nt-page .ms-keys{grid-template-columns:repeat(9,minmax(0,1fr))}.nt-page .ms-samples{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
  .nt-page .ms-field{flex-direction:column}
  .nt-page .ms-go{width:100%}
  .nt-page .ms-in{font-size:17px}
  .nt-page .ms-keys{grid-template-columns:repeat(6,minmax(0,1fr))}
  .nt-page .ms-key{height:44px}
  .nt-page .ms-eqs,.nt-page .ms-samples{grid-template-columns:1fr}
  .nt-page .ms-answer .mx{font-size:26px}
  .nt-page .ms-learn .qa-btn{flex:1 1 calc(50% - 4px)}
  .nt-page .ms-word-run .oc-go{flex:1 1 100%;justify-content:center}
  /* phones: the 8 examples scroll sideways in one row, so the result stays close to Solve */
  .nt-page .ms-try{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:-24px;padding:2px 24px 4px}
  .nt-page .ms-try::-webkit-scrollbar{display:none}
  .nt-page .ms-try .nt-chip{flex:none}
}

/* ===========================================================
   COMPLEX APP — #05 CHAT WITH PDF
   Upload zone (the PDF family look, drawn here) → file bar → split view:
   the document (own scroll box, pages as paper, the cited quote marked) |
   the chat (bubbles, page chips, «Not in this document», starters, ask
   field, questions left). ≤860: a Document / Chat switch shows one pane.
   =========================================================== */
.nt-page .cp-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:220px;padding:28px;border:2px dashed var(--line);
  border-radius:18px;background:var(--surface2);text-align:center;cursor:pointer;transition:border-color .15s,background .15s}
.nt-page .cp-drop:hover{border-color:var(--green);background:var(--green-tint)}
.nt-page .cp-drop:focus-visible{outline:3px solid rgba(14,123,84,.4);outline-offset:2px}
.nt-page .cp-drop b{font-size:17px}
.nt-page .cp-drop > span:not(.cp-drop-ic){font:500 12px var(--font-mono);color:var(--muted)}
.nt-page .cp-drop-ic,.nt-page .cp-file-ic{width:44px;height:52px;border-radius:6px;background:var(--surface);border:1.5px solid var(--line);position:relative;flex:none}
.nt-page .cp-drop-ic::after,.nt-page .cp-file-ic::after{content:"PDF";position:absolute;left:50%;bottom:8px;transform:translateX(-50%);font:700 10px var(--font-mono);color:#CE5049}
.nt-page .cp-sample{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:14px;font-size:14px;color:var(--muted)}

.nt-page .cp-file{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface)}
.nt-page .cp-file-ic{width:30px;height:36px}
.nt-page .cp-file-ic::after{bottom:5px;font-size:8px}
.nt-page .cp-file-name{display:flex;flex-direction:column;min-width:0;flex:1}
.nt-page .cp-file-name b{font-size:14.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nt-page .cp-file-name span{font:500 11.5px var(--font-mono);color:var(--muted);overflow-wrap:anywhere}
.nt-page .cp-switch{display:none;margin-top:12px}
.nt-page .cp-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:16px;margin-top:14px;align-items:stretch}
.nt-page .cp-viewer{max-height:560px;overflow:auto;padding:14px;border-radius:16px;background:#E9E8E2;border:1.5px solid var(--line);display:flex;flex-direction:column;gap:14px;position:relative}
.nt-page .cp-page{position:relative;padding:22px 24px 26px;background:#fff;color:#1d211c;border-radius:3px;box-shadow:0 2px 8px rgba(25,30,26,.12);font-size:13.5px;line-height:1.7;transition:box-shadow .2s}
.nt-page .cp-page.on{box-shadow:0 0 0 2.5px var(--green),0 6px 18px rgba(25,30,26,.16)}
.nt-page .cp-page h4{margin:0 0 8px;font:600 17px var(--font-display);color:#1d211c}
.nt-page .cp-page p{margin:0 0 8px}
.nt-page .cp-pnum{position:absolute;right:12px;bottom:8px;font:500 10.5px var(--font-mono);color:#8a8f86}
.nt-page .cp-q{background:rgba(230,170,20,.45);color:inherit;border-radius:3px;padding:1px 2px;-webkit-box-decoration-break:clone;box-decoration-break:clone}

.nt-page .cp-chat{display:flex;flex-direction:column;gap:10px;min-width:0}
.nt-page .cp-msgs{flex:1;display:flex;flex-direction:column;gap:10px;min-height:260px;max-height:420px;overflow:auto;padding:4px 2px}
.nt-page .cp-empty{margin:auto 0;color:var(--muted);font-size:14.5px;text-align:center}
.nt-page .cp-msg{max-width:88%;padding:10px 14px;border-radius:16px;font-size:14.5px;line-height:1.6}
.nt-page .cp-msg p{margin:0}
.nt-page .cp-msg.me{align-self:flex-end;background:var(--ink);color:var(--surface);border-bottom-right-radius:5px}
.nt-page .cp-msg.ai{align-self:flex-start;background:var(--surface2);border:1.5px solid var(--line);border-bottom-left-radius:5px}
.nt-page .cp-msg.not-found{border-color:rgba(230,170,20,.6);background:rgba(230,170,20,.10)}
.nt-page .cp-nf{display:inline-block;margin-bottom:6px;font:500 10.5px var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:#8A5A00}
.nt-page .cp-cite{display:inline-flex;align-items:center;margin:0 2px;padding:1px 8px;border:1.5px solid var(--green);border-radius:99px;background:var(--surface);
  font:600 11.5px var(--font-mono);color:var(--green-deep);cursor:pointer;vertical-align:1px}
.nt-page .cp-cite:hover,.nt-page .cp-cite.on{background:var(--green);color:#fff}
.nt-page .cp-typing{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:13.5px}
.nt-page .cp-typing i{width:6px;height:6px;border-radius:50%;background:var(--muted);animation:cp-dot 1s infinite ease-in-out}
.nt-page .cp-typing i:nth-child(2){animation-delay:.15s}.nt-page .cp-typing i:nth-child(3){animation-delay:.3s}
.nt-page .cp-typing span{margin-left:6px}
@keyframes cp-dot{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.nt-page .cp-starters{display:flex;flex-wrap:wrap;gap:6px}
.nt-page .cp-ask{display:flex;gap:8px}
.nt-page .cp-ask .opt-in{flex:1;min-width:0}
.nt-page .cp-left{margin:0;font:500 11.5px var(--font-mono);color:var(--muted)}
.nt-page .cp-chat .nt-ai-note{margin:0}

@media(max-width:860px){
  .nt-page .cp-switch{display:flex}
  .nt-page .cp-split{grid-template-columns:1fr}
  .nt-page .cp-split.show-chat .cp-viewer,.nt-page .cp-split.show-doc .cp-chat{display:none}
  .nt-page .cp-viewer{max-height:480px}
}
@media(max-width:600px){
  .nt-page .cp-drop{min-height:180px}
  .nt-page .cp-sample{flex-direction:column}
  .nt-page .cp-msg{max-width:94%}
  .nt-page .cp-starters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:-24px;padding:2px 24px 4px}
  .nt-page .cp-starters::-webkit-scrollbar{display:none}
  .nt-page .cp-starters .nt-chip{flex:none}
  .nt-page .cp-viewer{padding:10px}
  .nt-page .cp-page{padding:16px 16px 22px}
}

/* ===========================================================
   COMPLEX APP — #07 PRESENTATION MAKER
   Notes + options → editor: slide list | stage + theme picker | slide
   editor (layout, title, bullets, speaker notes, «From your notes»,
   Regenerate). Slides are HTML at 16:9; the theme comes in as CSS vars and
   every size is in container units, so one markup serves the thumbnail,
   the stage and Present. ≤1000 the list becomes a sideways strip.
   =========================================================== */
.nt-page .sm-opts{align-items:end}
.nt-page .sm-aud{grid-column:span 2}
.nt-page .sm-checks{flex-direction:row;flex-wrap:wrap;gap:8px 14px;padding-bottom:8px}
.nt-page .sm-notes{display:flex;flex-direction:column;gap:14px}
.nt-page .sm-notesbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border:1.5px dashed var(--line);border-radius:12px;font-size:13.5px;color:var(--muted)}
.nt-page .sm-notesbar b{color:var(--ink)}
.nt-page .sm-editor{display:grid;grid-template-columns:132px minmax(0,1fr) 290px;gap:16px;margin-top:14px;align-items:start}
.nt-page .sm-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;max-height:620px;overflow:auto}
.nt-page .sm-thumb{position:relative;display:block;width:100%;padding:0;border:2px solid transparent;border-radius:8px;background:none;cursor:pointer}
.nt-page .sm-thumb.on{border-color:var(--green)}
.nt-page .sm-tn{position:absolute;left:-2px;top:-2px;z-index:1;font:600 10px var(--font-mono);background:var(--ink);color:var(--surface);border-radius:6px 0 6px 0;padding:1px 5px}
.nt-page .sm-add,.nt-page .sm-add-b{width:100%;border:1.5px dashed var(--line);border-radius:8px;background:none;padding:8px;font:600 12.5px var(--font-body);color:var(--muted);cursor:pointer}
.nt-page .sm-add:hover,.nt-page .sm-add-b:hover{border-color:var(--green);color:var(--green-deep)}
.nt-page .sm-main{display:flex;flex-direction:column;gap:12px;min-width:0}
.nt-page .sm-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.nt-page .sm-pos{font:500 12px var(--font-mono);color:var(--muted);margin-right:auto}
.nt-page .sm-stage{container-type:inline-size;border-radius:10px;box-shadow:0 10px 28px rgba(25,30,26,.14),0 1px 3px rgba(25,30,26,.10);overflow:hidden;transition:opacity .2s}
.nt-page .sm-stage.is-over{box-shadow:0 0 0 2.5px #CE5049,0 10px 28px rgba(25,30,26,.14)}
.nt-page .sm-stage.is-regen{opacity:.5}
.nt-page .sm-warn{margin:0;padding:8px 12px;border-radius:10px;background:rgba(206,80,73,.10);color:#A3443E;font-size:13.5px}
.nt-page .sm-themes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.nt-page .sm-theme{display:flex;align-items:center;gap:6px;justify-content:center;height:38px;border:1.5px solid var(--line);border-radius:10px;font-size:12.5px;font-weight:600;cursor:pointer;padding:0 6px}
.nt-page .sm-theme i{width:10px;height:10px;border-radius:50%;flex:none}
.nt-page .sm-theme.on{box-shadow:0 0 0 2.5px var(--green)}
.nt-page .sm-edit{display:flex;flex-direction:column;gap:12px;padding:14px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface)}
.nt-page .sm-edit .opt-in{width:100%}
.nt-page .sm-bullet{display:flex;gap:6px;margin-bottom:6px}
.nt-page .sm-bullet .opt-in{flex:1;min-width:0;padding-block:8px;font-size:14px}
.nt-page .sm-bullet .opt-in.is-long{border-color:#CE5049}
.nt-page .sm-x{flex:none;width:32px;border:1.5px solid var(--line);border-radius:8px;background:none;font-size:16px;color:var(--muted);cursor:pointer}
.nt-page .sm-source{padding:10px 12px;border-radius:10px;background:var(--green-tint);font-size:13px;line-height:1.5}
.nt-page .sm-source .ps-cap{display:block;margin-bottom:4px}
.nt-page .sm-source p{margin:0 0 4px}
.nt-page .sm-source b{font:600 11px var(--font-mono);color:var(--green-deep);margin-right:4px}
.nt-page .sm-regen{width:100%}
.nt-page .sm-show{padding:18px;border-radius:16px;background:#121512}
.nt-page .sm-show-slide{container-type:inline-size;border-radius:6px;overflow:hidden}
.nt-page .sm-show-bar{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:12px;color:#d9dcd5;font:500 13px var(--font-mono)}
.nt-page .sm-nav{width:40px;height:40px;border-radius:50%;border:1.5px solid rgba(255,255,255,.3);background:none;color:#fff;font-size:22px;cursor:pointer;line-height:1}
.nt-page .sm-show .qa-btn{background:transparent;color:#d9dcd5;border-color:rgba(255,255,255,.3)}
.nt-page .sm-mini{display:block;container-type:inline-size;border-radius:6px;overflow:hidden;box-shadow:0 1px 3px rgba(25,30,26,.15)}
.nt-page .sm-samples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:22px;max-width:760px}
.nt-page .sm-sample{display:flex;flex-direction:column;gap:6px;padding:12px 12px 16px;border:1.5px solid var(--line);border-radius:16px;background:var(--surface)}
.nt-page .sm-sample .sm-mini{margin-bottom:6px}
.nt-page .sm-sm{font-size:13px;color:var(--muted)}
.nt-page .sm-sample .qa-btn{align-self:flex-start;margin-top:6px}

/* the slide itself (sizes in cqw of its container) */
.nt-page .sl{position:relative;aspect-ratio:16/9;background:var(--s-bg);color:var(--s-fg);font-family:var(--s-font);padding:6cqw 7cqw;overflow:hidden;text-align:left}
.nt-page .sl h3{font-family:var(--s-font);color:var(--s-fg);font-weight:600;letter-spacing:-.01em;margin:0}
.nt-page .sl .sl-t{font-size:5.2cqw;line-height:1.15;margin-bottom:3cqw}
.nt-page .sl ul{margin:0;padding-left:4.5cqw;font-size:3.1cqw;line-height:1.45}
.nt-page .sl li{margin-bottom:1.2cqw}
.nt-page .sl li::marker{color:var(--s-ac)}
.nt-page .sl .sl-c{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:2.4cqw}
.nt-page .sl-title h3{font-size:6.6cqw;line-height:1.1;max-width:80%}
.nt-page .sl-title p{margin:0;font-size:3cqw;opacity:.8}
.nt-page .sl-bar{display:block;width:12cqw;height:.9cqw;background:var(--s-ac);border-radius:1cqw}
.nt-page .sl-q{font-size:16cqw;line-height:.6;color:var(--s-ac);font-family:Georgia,serif}
.nt-page .sl-quote{font-size:5cqw;line-height:1.25;max-width:88%}
.nt-page .sl-cols{display:grid;grid-template-columns:1fr 1fr;gap:4cqw}
.nt-page .sl-section{padding-left:16cqw}
.nt-page .sl-band{position:absolute;left:0;top:0;bottom:0;width:9cqw;background:var(--s-ac)}
.nt-page .sl-sec h3{font-size:6cqw;margin-bottom:3cqw}

@media(max-width:1000px){
  .nt-page .sm-editor{grid-template-columns:1fr}
  .nt-page .sm-list{flex-direction:row;max-height:none;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}
  .nt-page .sm-list li{flex:0 0 116px}
  .nt-page .sm-add{height:100%;min-height:62px}
  .nt-page .sm-aud{grid-column:auto}
}
@media(max-width:600px){
  .nt-page .sm-themes{grid-template-columns:repeat(3,minmax(0,1fr))}
  .nt-page .sm-samples{grid-template-columns:1fr}
  .nt-page .sm-present{flex:1 1 100%}
  .nt-page .sm-notesbar{flex-direction:column;align-items:flex-start}
}

/* ===========================================================
   COMPLEX APP — #13 RESUME BUILDER
   Form (accordion sections, entries, bullets with Improve) | live Letter
   page with 4 templates and a measured one-page check. The Improve card
   sits above the form: before, 1–3 suggestions with changed words marked,
   missing-info questions, Accept / Edit / Discard (Skip in Improve all).
   ≤1000 the preview goes under the form.
   =========================================================== */
.nt-page .rs-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.nt-page .rs-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
.nt-page .rs-left{display:flex;flex-direction:column;gap:12px;min-width:0}
.nt-page .rs-sec{border:1.5px solid var(--line);border-radius:14px;background:var(--surface);overflow:hidden}
.nt-page .rs-sec-h{display:flex;align-items:center;gap:10px;width:100%;padding:12px 14px;border:0;background:none;cursor:pointer;font:700 14.5px var(--font-body);color:var(--ink);text-align:left}
.nt-page .rs-sec-h i{font-style:normal;font:500 11px var(--font-mono);color:var(--muted);background:var(--surface2);border-radius:99px;padding:1px 7px}
.nt-page .rs-move{margin-left:auto;font:500 12px var(--font-mono);color:var(--muted)}
.nt-page .rs-sec-h::after{content:"";width:7px;height:7px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);margin:-3px 2px 0 4px}
.nt-page .rs-sec.open .rs-sec-h::after{transform:rotate(-135deg);margin-top:3px}
.nt-page .rs-sec-b{padding:4px 14px 14px;display:flex;flex-direction:column;gap:10px}
.nt-page .rs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.nt-page .rs-entry{display:flex;flex-wrap:wrap;gap:10px;padding:12px;border:1px dashed var(--line);border-radius:12px}
.nt-page .rs-f{display:flex;flex-direction:column;gap:5px;flex:1 1 100%;min-width:0}
.nt-page .rs-f.w2{flex:1 1 130px;min-width:0}
.nt-page .rs-f > span,.nt-page .rs-cap{font:600 12.5px var(--font-body);color:var(--muted)}
.nt-page .rs-f i,.nt-page .rs-cap i{font-style:normal;font-weight:500;opacity:.8}
.nt-page .rs-f .opt-in,.nt-page .rs-b .opt-in{width:100%;padding-block:8px;font-size:14px}
.nt-page .rs-bullets{flex:1 1 100%;display:flex;flex-direction:column;gap:6px}
.nt-page .rs-b{display:flex;gap:6px}
.nt-page .rs-imp-btn{flex:none;display:inline-flex;align-items:center;gap:6px;border:1.5px solid var(--line);border-radius:10px;background:var(--surface);padding:0 10px;font:600 12.5px var(--font-body);color:var(--ink);cursor:pointer}
.nt-page .rs-imp-btn:hover{border-color:var(--green)}
.nt-page .rs-imp-btn .nt-ai-tag{font-size:9.5px;padding:0 4px}
.nt-page .rs-note{margin:0;font-size:12.5px;color:var(--muted)}
.nt-page .rs-chips{display:flex;flex-wrap:wrap;gap:6px}
.nt-page .rs-chips > span{border:1px solid var(--line);border-radius:8px;padding:4px 10px;font-size:13.5px;background:var(--surface2)}
.nt-page .rs-chips .sm-add-b{width:auto;padding:4px 10px}

.nt-page .rs-improve{padding:14px 16px;border-radius:16px;border:1.5px solid var(--green);background:var(--surface);box-shadow:0 0 0 4px var(--green-tint)}
.nt-page .rs-imp-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:8px}
.nt-page .rs-imp-head b{font-size:15px}
.nt-page .rs-imp-head .rs-imp-pos{font:500 11.5px var(--font-mono);color:var(--muted)}
.nt-page .rs-before{margin:0 0 10px}
.nt-page .rs-before p{margin:0;font-size:14px;color:var(--muted);text-decoration:line-through;text-decoration-color:rgba(206,80,73,.6)}
.nt-page .rs-lbl{display:block;font:500 10.5px var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:2px}
.nt-page .rs-missing b{display:block;margin-bottom:2px}
.nt-page .rs-sugs{display:flex;flex-direction:column;gap:8px}
.nt-page .rs-sug{display:flex;flex-direction:column;gap:4px;text-align:left;padding:10px 12px;border:1.5px solid var(--line);border-radius:12px;background:var(--surface2);cursor:pointer;font-family:var(--font-body);color:var(--ink)}
.nt-page .rs-sug.on{border-color:var(--green);background:var(--green-tint)}
.nt-page .rs-after{font-size:14.5px;font-weight:600}
.nt-page .rs-after ins{text-decoration:none;background:rgba(22,160,106,.22);border-radius:3px;padding:0 2px}
.nt-page .rs-why{font-size:13px;color:var(--muted)}
.nt-page .rs-missing{margin-top:10px;padding:10px 12px;border-radius:12px;background:rgba(230,170,20,.14);font-size:13.5px}
.nt-page .rs-missing b{color:#8A5A00;text-transform:none;letter-spacing:0;font:600 13px var(--font-body)}
.nt-page .rs-missing ul{margin:4px 0 0;padding-left:18px}
.nt-page .rs-imp-act{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
/* Improve opens right under its bullet (Cos 29.10); the bullet being improved is marked green */
.nt-page .rs-imp-slot{margin:2px 0 6px}
.nt-page .rs-b:has(+ .rs-imp-slot) .opt-in{border-color:var(--green)}

.nt-page .rs-right{display:flex;flex-direction:column;gap:10px;min-width:0}
/* SHARED «Preview» sheet (Cos 29.10: #13 Resume, #68 card): where the preview stacks under a long form,
   a sticky ink pill at the end of the form opens the preview as a full-screen sheet (head + Close, Esc).
   Each tool only turns it on in its own stacked breakpoint with .nt-pv-btn{display:flex}. */
.nt-page .nt-pv-btn,.nt-page .nt-pv-head{display:none}
.nt-page .tool:has(.nt-pv-btn),.nt-page .hero:has(.nt-pv-btn){overflow:clip}
.nt-page .nt-pv-btn{align-items:center;justify-content:center;gap:10px;position:sticky;bottom:12px;z-index:5;align-self:center;height:44px;padding:0 20px;border:0;border-radius:99px;background:var(--ink);color:#fff;font:600 14.5px var(--font-body);cursor:pointer;box-shadow:0 8px 22px rgba(25,30,26,.22)}
.nt-page .nt-pv-btn span{font:500 11.5px var(--font-mono);opacity:.7}
.nt-page .nt-pv-sheet.pv{position:fixed;inset:0;z-index:60;background:var(--bg);overflow:auto;padding:0 16px 24px;gap:12px}
.nt-page .nt-pv-sheet.pv .nt-pv-head{display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:1;margin:0 -16px;padding:12px 16px;background:var(--bg);border-bottom:1px solid var(--line)}
.nt-page .nt-pv-sheet.pv .nt-pv-head b{font-size:16px}
@media(max-width:1000px){.nt-page .rs-left > .nt-pv-btn{display:flex}}
@media(max-width:900px){
  .nt-page .lb-cform > .nt-pv-btn{display:flex}
  .nt-page .lb-cprev.pv .lb-cprev-cap{display:none}
}
.nt-page .rs-tpls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.nt-page .rs-tpl{display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px;border:1.5px solid var(--line);border-radius:12px;background:var(--surface);font:600 12.5px var(--font-body);color:var(--ink);cursor:pointer}
.nt-page .rs-tpl.on{border-color:var(--green);box-shadow:0 0 0 3px var(--green-tint)}
.nt-page .rs-tthumb{display:flex;flex-direction:column;gap:3px;width:42px;height:54px;padding:6px 5px;background:#fff;border:1px solid var(--line);border-radius:3px}
.nt-page .rs-tthumb i{display:block;height:3px;border-radius:2px;background:#cfd3cb}
.nt-page .rs-tthumb i:first-child{height:5px;width:70%;background:#3c3c3c}
.nt-page .rt-modern i:first-child{background:#16A06A}
.nt-page .rt-compact{gap:2px}.nt-page .rt-compact i{height:2px}
.nt-page .rt-student i:nth-child(2){background:#16A06A}
.nt-page .rs-fit{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:8px 12px;border-radius:10px;font-size:13.5px;font-weight:600}
.nt-page .rs-fit.ok{background:var(--green-tint);color:var(--green-deep)}
.nt-page .rs-fit.ok > span::before{content:"✓ "}
.nt-page .rs-fit.over{background:rgba(206,80,73,.10);color:#A3443E}
.nt-page .rs-fit .ps-check{font-weight:500;color:var(--ink)}
.nt-page .rs-page{position:relative;aspect-ratio:8.5/11;background:#fff;color:#1d211c;border-radius:3px;box-shadow:0 12px 30px rgba(25,30,26,.14),0 1px 3px rgba(25,30,26,.10);overflow:hidden;container-type:inline-size}
.nt-page .rs-page::after{content:"";position:absolute;left:0;right:0;bottom:0;height:0}
.nt-page .rs-doc{padding:6.5cqw 7cqw;font-family:"Hanken Grotesk",Arial,sans-serif;font-size:2.15cqw;line-height:1.42}
.nt-page .rs-doc header{text-align:center;margin-bottom:2cqw}
.nt-page .rs-doc h4{margin:0;font:700 4.4cqw/1.15 "Hanken Grotesk",Arial,sans-serif;color:#1d211c;letter-spacing:.01em}
.nt-page .rs-doc header p{margin:.6cqw 0 0;color:#555}
.nt-page .rs-doc .rv-sum{margin:0 0 1.5cqw}
.nt-page .rs-doc h5{margin:2.4cqw 0 1cqw;font:700 2.3cqw "Hanken Grotesk",Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;border-bottom:.25cqw solid #1d211c;padding-bottom:.5cqw;color:#1d211c}
.nt-page .rs-doc p{margin:0}
.nt-page .rs-doc .rv-e{display:flex;justify-content:space-between;gap:2cqw;margin-top:1cqw}
.nt-page .rs-doc .rv-e span{white-space:nowrap;color:#555}
.nt-page .rs-doc ul{margin:.4cqw 0 0;padding-left:3.2cqw}
.nt-page .rs-doc li{margin:.2cqw 0}
.nt-page .rs-doc.tight{line-height:1.28;padding-block:5cqw}
.nt-page .rs-doc.tight h5{margin-top:1.6cqw}
.nt-page .rv-modern header{text-align:left;border-left:1cqw solid #16A06A;padding-left:2cqw}
.nt-page .rv-modern h4{color:#0E7B54}
.nt-page .rv-modern h5{border-bottom-color:#16A06A;color:#0E7B54}
.nt-page .rv-compact{font-size:1.95cqw;line-height:1.3;padding:5cqw 6cqw}
.nt-page .rv-compact header{text-align:left;display:flex;justify-content:space-between;align-items:baseline;gap:2cqw;flex-wrap:wrap}
.nt-page .rv-compact h5{margin-top:1.6cqw;border-bottom-width:.15cqw}
.nt-page .rv-student h5{border:0;background:#EEF6F1;padding:.6cqw 1cqw;border-radius:.6cqw;color:#0E7B54}
.nt-page .rv-chips{display:flex;flex-wrap:wrap;gap:1cqw}
.nt-page .rv-chips span{border:.2cqw solid #cfd3cb;border-radius:1cqw;padding:.2cqw 1.2cqw}

.nt-page .rs-samples{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:22px}
.nt-page .rs-sample{display:flex;flex-direction:column;gap:6px;padding:12px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface)}
.nt-page .rs-mini{display:flex;flex-direction:column;gap:4px;aspect-ratio:8.5/11;padding:12% 10%;background:#fff;border:1px solid var(--line);border-radius:3px;margin-bottom:4px}
.nt-page .rs-mini i{display:block;height:4px;border-radius:2px;background:#d6d9d2}
.nt-page .rs-mini i:first-child{width:60%;height:6px;margin:0 auto 6px;background:#3c3c3c}
.nt-page .rs-sample b{font-size:14px}
.nt-page .rs-who{font-size:12.5px;color:var(--muted)}
.nt-page .rs-sample .qa-btn{margin-top:auto;font-size:13px}

@media(max-width:1000px){.nt-page .rs-split{grid-template-columns:1fr}.nt-page .rs-samples{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){
  .nt-page .rs-grid{grid-template-columns:1fr}
  .nt-page .rs-f.w2{flex:1 1 100%}
  .nt-page .rs-tpls{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nt-page .rs-samples{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nt-page .rs-top .oc-go{flex:1 1 100%;justify-content:center}
  .nt-page .rs-b{flex-wrap:wrap}
  .nt-page .rs-imp-btn{height:34px}
}
/* the Student layer gives .opt-in a 220px minimum; on the new pages fields sit in narrow grid
   columns (resume entries, the lesson-plan form at laptop width), so the grid sets the width */
.nt-page .opt-in{min-width:0}

/* ===========================================================
   COMPLEX APP — #25 CONCEPT MAP
   Toolbar (template, + Concept, Connect, Auto-layout, undo/redo, zoom) →
   canvas (SVG, own scroll box, dot-grid surface, drag to move) | side
   panel tabs: Concept (label, color, shape, delete) · Links (each link as
   an editable statement) · From notes (AI → preview → Replace / Add).
   ≤1000 the panel goes under the canvas; ≤600 the whole map fits the screen
   width at 100% and «+» enlarges it with sideways scroll (Cos 29.10).
   =========================================================== */
.nt-page .cm-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.nt-page .cm-tpl{flex:0 0 170px}
.nt-page .cm-sep{width:1px;height:26px;background:var(--line);margin:0 2px}
.nt-page .cm-ic{min-width:38px;padding-inline:0;justify-content:center}
.nt-page .cm-zoom{display:inline-flex;align-items:center;gap:6px;margin-left:auto;font:500 12px var(--font-mono);color:var(--muted)}
.nt-page .cm-on{border-color:var(--green);background:var(--green-tint);color:var(--green-deep);border-style:solid}
.nt-page .cm-split{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}
.nt-page .cm-split > *{min-width:0}
.nt-page .cm-canvas{position:relative;overflow:auto;max-height:560px;border:1.5px solid var(--line);border-radius:16px;
  background-color:#FBFBF8;background-image:radial-gradient(#D9DBD3 1px,transparent 1px);background-size:18px 18px;touch-action:none}
.nt-page .cm-canvas.is-connect{cursor:crosshair}
.nt-page .cm-zoomer{min-width:100%}
.nt-page .cm-svg{display:block;width:100%;height:auto;user-select:none}
.nt-page .cm-node{cursor:grab}
.nt-page .cm-canvas.is-connect .cm-node{cursor:pointer}
.nt-page .cm-count{margin:8px 0 0;font:500 11.5px var(--font-mono);color:var(--muted)}
.nt-page .cm-side{display:flex;flex-direction:column;gap:0;border:1.5px solid var(--line);border-radius:14px;background:var(--surface);padding:6px 14px 14px;min-width:0}
.nt-page .cm-tabs{margin:0 -4px 12px}
.nt-page .cm-pane{display:flex;flex-direction:column;gap:12px}
.nt-page .cm-pane .opt-in{width:100%}
.nt-page .cm-tip{margin:0;font-size:13.5px;color:var(--muted);line-height:1.55}
.nt-page .cm-del{align-self:flex-start;color:#A3443E}
.nt-page .cm-props{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;max-height:420px;overflow:auto}
.nt-page .cm-props li{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:6px;font-size:13px;font-weight:600}
.nt-page .cm-props li .opt-in{padding:6px 8px;font-size:13px;font-style:italic}
.nt-page .cm-props li > span{white-space:nowrap;max-width:90px;overflow:hidden;text-overflow:ellipsis}
.nt-page .cm-go{align-self:stretch;justify-content:center}
.nt-page .cm-ai-prev{padding-top:12px;border-top:1px dashed var(--line);display:flex;flex-direction:column;gap:8px}
.nt-page .cm-mini{border:1.5px solid var(--line);border-radius:10px;background:#FBFBF8;overflow:hidden}
.nt-page .cm-mini .cm-svg{pointer-events:none}
.nt-page .cm-ai-act{display:flex;flex-wrap:wrap;gap:8px}
.nt-page .cm-samples{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px}
.nt-page .cm-sample{display:flex;flex-direction:column;gap:6px;padding:12px 12px 16px;border:1.5px solid var(--line);border-radius:16px;background:var(--surface)}
.nt-page .cm-sample b{font-size:15px}
.nt-page .cm-sample .qa-btn{align-self:flex-start;margin-top:4px}

@media(max-width:1000px){.nt-page .cm-split{grid-template-columns:1fr}}
@media(max-width:600px){
  .nt-page .cm-tpl{flex:1 1 100%}
  .nt-page .cm-zoom{margin-left:0}
  .nt-page .cm-sep{display:none}
  .nt-page .cm-samples{grid-template-columns:1fr}
}

/* ===========================================================
   COMPLEX APP — #15 EPUB TO PDF (hub PDF Tools; upload look of #05)
   Upload → file card + options (page size, font, margins, cover, TOC) →
   step progress → result: the first 3 pages (proportions follow the page
   size, text the font size) | card: Download, bookmarks, compatibility
   report, files deleted, next PDF tools. Errors in the .rf-miss look.
   =========================================================== */
.nt-page .ep-ic::after{content:"EPUB";color:#2F6BB0;font-size:9px}
.nt-page .cp-file .ep-ic::after{font-size:7px}
.nt-page .ep-opts{display:flex;flex-direction:column;gap:14px;margin-top:16px}
.nt-page .ep-checks{flex-direction:row;flex-wrap:wrap;gap:10px 18px;align-items:center}
.nt-page .ep-always{font-size:13px;color:var(--muted)}
.nt-page .ep-err{margin-top:0;padding-top:0;border-top:0}
.nt-page .ep-err .qa-btn{margin-top:4px}
.nt-page .ep-prog{margin-top:18px;padding:18px;border-radius:14px;background:var(--surface2);border:1.5px solid var(--line)}
.nt-page .ep-bar{height:8px;border-radius:99px;background:var(--line);overflow:hidden}
.nt-page .ep-bar i{display:block;height:100%;background:var(--green);border-radius:99px;transition:width .5s ease}
.nt-page .ep-steps{list-style:none;margin:12px 0 0;padding:0;display:flex;gap:6px 18px;flex-wrap:wrap;font-size:13.5px;color:var(--muted)}
.nt-page .ep-steps li::before{content:"○ ";color:var(--line)}
.nt-page .ep-steps li.done{color:var(--green-deep)}
.nt-page .ep-steps li.done::before{content:"✓ ";color:var(--green)}
.nt-page .ep-steps li.now{color:var(--ink);font-weight:700}
.nt-page .ep-steps li.now::before{content:"● ";color:var(--green)}
.nt-page .ep-done{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:18px;margin-top:16px;align-items:start}
.nt-page .ep-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:16px;border-radius:16px;background:#E9E8E2;border:1.5px solid var(--line);align-items:start}
.nt-page .ep-pg{position:relative;background:#fff;color:#1d211c;border-radius:2px;box-shadow:0 2px 8px rgba(25,30,26,.14);overflow:hidden;font-family:Fraunces,Georgia,serif;line-height:1.5}
.nt-page .ep-pg > span{position:absolute;bottom:4px;left:0;right:0;text-align:center;font:500 8px var(--font-mono);color:#8a8f86}
.nt-page .ep-pgb{height:100%;overflow:hidden}
.nt-page .ep-pg h6{margin:0 0 .8em;font:600 1.35em/1.2 Fraunces,Georgia,serif;color:#1d211c}
.nt-page .ep-pg p{margin:0 0 .7em;text-align:justify;hyphens:auto}
.nt-page .ep-pg ol{margin:0;padding-left:1.4em}
.nt-page .ep-cover{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:.8em;background:#1F3A4D;color:#F4EFE3;margin:-12%;padding:12%}
.nt-page .ep-cover b{font:600 1.7em/1.15 Fraunces,Georgia,serif}
.nt-page .ep-cover i{width:30%;height:2px;background:#E3B65C}
.nt-page .ep-cover span{font-size:.9em;opacity:.8}
.nt-page .ep-pv-cap{grid-column:1 / -1;margin:2px 0 0;font:500 11.5px var(--font-mono);color:var(--muted);text-align:center}
.nt-page .ep-card{display:flex;flex-direction:column;gap:8px;padding:16px 18px;border:1.5px solid var(--line);border-radius:16px;background:var(--surface)}
.nt-page .ep-ready{margin:0;font-weight:700;color:var(--green-deep)}
.nt-page .ep-fn{font-size:15px;word-break:break-all}
.nt-page .ep-meta{font:500 12px var(--font-mono);color:var(--muted)}
.nt-page .ep-dl{align-self:flex-start;margin:4px 0}
.nt-page .ep-block{padding-top:8px;border-top:1px dashed var(--line)}
.nt-page .ep-bm,.nt-page .ep-rep{margin:6px 0 0;padding-left:18px;font-size:13.5px;line-height:1.6}
.nt-page .ep-rep{list-style:none;padding-left:0}
.nt-page .ep-rep li.ok::before{content:"✓ ";color:var(--green)}
.nt-page .ep-rep li.warn::before{content:"! ";color:#C98A00;font-weight:800}
.nt-page .ep-gone{margin:0;font-size:13px;color:var(--muted)}

@media(max-width:900px){.nt-page .ep-done{grid-template-columns:1fr}}
@media(max-width:600px){
  .nt-page .ep-preview{padding:10px;gap:6px}
  .nt-page .ep-dl{align-self:stretch}
  .nt-page .ep-checks{flex-direction:column;align-items:flex-start}
}

/* ===========================================================
   BRICK А — LIBRARY WITH ANNOTATED EXAMPLES (data-driven; first: #02)
   Search + segment filter, labeled chip rows, count + Clear filters, card
   grid → an open sample: back link + its #anchor, legend of paragraph
   roles, paragraphs with a colored rule and margin notes («Backed by»),
   «Show weak version», a copy note and the Write yours link.
   =========================================================== */
.nt-page .lb-find{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.nt-page .lb-search{flex:1 1 260px}
.nt-page .lb-frow{display:flex;gap:12px;align-items:baseline;margin-top:12px}
.nt-page .lb-flabel{flex:0 0 74px;font:500 10.5px var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);padding-top:9px}
.nt-page .lb-chips{margin-top:0}
.nt-page .lb-countrow{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.nt-page .lb-clear{border:0;background:none;padding:0;font:600 13px var(--font-body);color:var(--green-deep);text-decoration:underline;cursor:pointer}
.nt-page .lb-empty{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 16px;border:1.5px dashed var(--line);border-radius:14px;font-size:14px;margin-bottom:12px}
.nt-page .lb-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.nt-page .lb-card{display:flex;flex-direction:column;gap:6px;text-align:left;padding:14px 16px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface);cursor:pointer;font-family:var(--font-body);color:var(--ink)}
.nt-page .lb-card:hover{border-color:var(--green)}
.nt-page .lb-card:focus-visible{outline:3px solid rgba(14,123,84,.4);outline-offset:2px}
.nt-page .lb-card b{font-size:15.5px}
.nt-page .lb-who{font-size:13px;color:var(--muted)}
.nt-page .lb-ex{font-size:14px;line-height:1.55;color:var(--ink)}
.nt-page .lb-open{margin-top:auto;font:600 12.5px var(--font-body);color:var(--green)}

.nt-page .lb-dhead{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.nt-page .lb-back{border:0;background:none;padding:0;font:600 14px var(--font-body);color:var(--green-deep);cursor:pointer}
.nt-page .lb-anchor{font:500 11.5px var(--font-mono);color:var(--muted);overflow-wrap:anywhere}
.nt-page .lb-dtitle{margin:14px 0 12px}
.nt-page .lb-dtitle h3{margin:4px 0 2px;font:600 24px/1.2 var(--font-display);letter-spacing:-.01em}
.nt-page .lb-dtools{display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap;padding:10px 0;border-top:1px dashed var(--line);border-bottom:1px dashed var(--line);margin-bottom:12px}
.nt-page .lb-legend{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12.5px;color:var(--muted)}
.nt-page .lb-key::before{content:"";display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;vertical-align:-1px;background:var(--lb-c)}
.nt-page .r-hook{--lb-c:#16A06A}.nt-page .r-match{--lb-c:#2F6BB0}.nt-page .r-proof{--lb-c:#C98A00}.nt-page .r-fit{--lb-c:#8A5CC2}.nt-page .r-cta{--lb-c:#CE5049}
.nt-page .lb-paras{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.nt-page .lb-p{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:16px;align-items:start}
.nt-page .lb-text{padding:4px 0 4px 14px;border-left:3px solid var(--lb-c);font-family:Fraunces,Georgia,serif;font-size:16px;line-height:1.7}
.nt-page .lb-text p{margin:0}
.nt-page .lb-weaktext{margin:0 0 8px;padding:8px 10px;border-radius:10px;background:rgba(206,80,73,.08)}
.nt-page .lb-weaktext p{margin:0;color:var(--muted);font-family:var(--font-body);font-size:14.5px;text-decoration:line-through;text-decoration-color:rgba(206,80,73,.5)}
.nt-page .lb-wlbl{display:block;font:500 10.5px var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:#A3443E;margin-bottom:2px}
.nt-page .lb-note{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border-radius:12px;background:var(--surface2);font-size:13.5px;line-height:1.5}
.nt-page .lb-note b{font-size:13.5px;color:var(--lb-c)}
.nt-page .lb-backed{font-size:12.5px;color:var(--green-deep)}
.nt-page .lb-why{font-size:12.5px;color:#A3443E}
.nt-page .lb-copynote{margin:14px 0 0;font-size:13px;color:var(--muted)}
.nt-page .lb-preview{padding:14px 16px;border:1.5px dashed var(--line);border-radius:14px;font-family:Fraunces,Georgia,serif;font-size:16px;line-height:1.7}
.nt-page .lb-preview p{margin:0}
.nt-page .lb-pv-note{margin-top:8px!important;font:500 12.5px var(--font-body)!important;color:var(--muted)}
.nt-page .lb-write{display:inline-flex;margin-top:16px}

.nt-page .lb-guide{list-style:none;margin:22px 0 0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;counter-reset:lbg}
.nt-page .lb-guide li{display:flex;flex-direction:column;gap:6px;padding:14px 16px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface);counter-increment:lbg}
.nt-page .lb-guide li::before{content:counter(lbg);font:500 11px var(--font-mono);color:var(--green-deep)}
.nt-page .lb-guide b{font-size:15px}
.nt-page .lb-guide span{font-size:13.5px;color:var(--muted);line-height:1.5}

@media(max-width:900px){.nt-page .lb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nt-page .lb-guide{grid-template-columns:repeat(2,minmax(0,1fr))}.nt-page .lb-p{grid-template-columns:1fr;gap:6px}}
@media(max-width:600px){
  .nt-page .lb-grid,.nt-page .lb-guide{grid-template-columns:1fr}
  .nt-page .lb-frow{flex-direction:column;gap:4px}
  .nt-page .lb-flabel{flex:none;padding-top:0}
  .nt-page .lb-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:-24px;padding:2px 24px 4px;max-width:calc(100% + 48px)}
  .nt-page .lb-chips::-webkit-scrollbar{display:none}
  .nt-page .lb-chips .nt-chip{flex:none}
  .nt-page .lb-write{display:flex;justify-content:center}
  .nt-page .lb-text{font-size:15.5px}
}

/* ===========================================================
   Brick А, family engine (New Tool Library.dc.html with tabs): the panel kinds beyond
   «letters». Tabs reuse .oc-tabs, fields/run/checking/result reuse the .oc-* parts of brick Б.
   =========================================================== */
.nt-page .lb-guidance{margin:10px 0 0;padding:8px 12px;border-radius:10px;background:var(--surface2);font-size:13.5px;color:var(--ink)}
.nt-page .lb-paras.no-notes .lb-note{display:none}
.nt-page .lb-paras.no-notes .lb-p{grid-template-columns:1fr}
.nt-page .r-detail{--lb-c:#2F6BB0}.nt-page .r-turn{--lb-c:#C98A00}.nt-page .r-reflect{--lb-c:#8A5CC2}.nt-page .r-ending{--lb-c:#CE5049}
.nt-page .r-opening{--lb-c:#16A06A}.nt-page .r-motive{--lb-c:#2F6BB0}.nt-page .r-prep{--lb-c:#C98A00}.nt-page .r-goals{--lb-c:#CE5049}
.nt-page .lb-bcap{display:block;font:500 10.5px var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
.nt-page .lb-overc{color:#A3443E;font-weight:600}

/* items + question of the day */
.nt-page .lb-qotd{margin:0 0 18px;padding:18px 20px;border-radius:16px;background:var(--green-tint);border:1.5px solid rgba(14,123,84,.18)}
.nt-page .lb-qlbl{font:500 10.5px var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--green-deep)}
.nt-page .lb-qtext{margin:6px 0 12px;font:600 21px/1.35 var(--font-display);letter-spacing:-.01em}
.nt-page .lb-qrow{display:flex;gap:8px;flex-wrap:wrap}
.nt-page .lb-items{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.nt-page .lb-item{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface)}
.nt-page .lb-itext{margin:0;font-size:15px;line-height:1.55}
.nt-page .lb-iact{display:flex;gap:16px;margin-top:auto}

/* notes bank */
.nt-page .lb-bank{margin-top:18px;padding-top:16px;border-top:1px dashed var(--line)}
.nt-page .lb-bhint{display:block;margin:-4px 0 8px;font-size:13px;color:var(--muted)}
.nt-page .lb-bank .nt-chip{text-align:left}
.nt-page .lb-ncount,.nt-page .lb-ccount{margin:14px 0 0}
.nt-page .lb-ccount{margin:0 0 12px}

/* feedback */
.nt-page .lb-prog{flex:1 1 220px}
.nt-page .lb-struct{margin-bottom:16px}
.nt-page .lb-struct ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.nt-page .lb-sp{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:99px;font-size:13.5px;font-weight:600;border:1.5px solid var(--line)}
.nt-page .lb-sp.ok{background:var(--green-tint);border-color:rgba(14,123,84,.25)}
.nt-page .lb-sp.miss{background:rgba(206,80,73,.07);border-color:rgba(206,80,73,.3)}
.nt-page .lb-st{font:500 10.5px var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.nt-page .lb-sp.miss .lb-st{color:#A3443E}
.nt-page .lb-q{cursor:default}
.nt-page .lb-q:hover{border-color:var(--line)}
.nt-page .lb-str{margin-top:0}
.nt-page .lb-str q{font-weight:700;quotes:"\201C" "\201D"}
.nt-page .lb-str li{margin-bottom:6px}
.nt-page .lb-len{margin:10px 0 0;padding-top:10px;border-top:1px dashed rgba(14,123,84,.25);font-size:13.5px;color:var(--ink)}

/* sentence types: marked clauses (independent / dependent / joining word) */
.nt-page .lb-clegend{margin-bottom:14px}
.nt-page .lb-ck::before{content:"";display:inline-block;width:14px;height:10px;border-radius:3px;margin-right:6px;vertical-align:-1px}
.nt-page .c-ic::before{background:transparent;border-bottom:2.5px solid #16A06A;border-radius:0}
.nt-page .c-dc::before{background:rgba(47,107,176,.16);border-bottom:2px dashed #2F6BB0;border-radius:0}
.nt-page .c-jw::before{background:rgba(230,170,20,.4)}
.nt-page .lb-marked u.ic{text-decoration:none;border-bottom:2.5px solid #16A06A;padding-bottom:1px}
.nt-page .lb-marked u.dc{text-decoration:none;background:rgba(47,107,176,.12);border-bottom:2px dashed #2F6BB0;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.nt-page .lb-marked b{font-weight:700;background:rgba(230,170,20,.32);border-radius:3px;padding:0 2px}
.nt-page .lb-marked .frag{background:rgba(206,80,73,.10);border-bottom:2px wavy rgba(206,80,73,.6)}
.nt-page .lb-types{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.nt-page .lb-type{padding:14px 16px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface);min-width:0}
.nt-page .lb-thead{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap}
.nt-page .lb-thead b{font-size:16px}
.nt-page .lb-formula{font:500 12px var(--font-mono);color:var(--green-deep);background:var(--surface2);padding:2px 8px;border-radius:6px;white-space:pre-wrap}
.nt-page .lb-def{margin:6px 0 10px;font-size:14px;color:var(--muted);line-height:1.55}
.nt-page .lb-exs{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px;font-size:15px;line-height:1.75}
.nt-page .lb-an{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.nt-page .lb-anrow{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface)}
.nt-page .lb-anrow.flag{border-color:rgba(206,80,73,.4)}
.nt-page .lb-anbody{display:flex;flex-direction:column;gap:4px;min-width:0}
.nt-page .lb-ansent{margin:0;font-size:15.5px;line-height:1.75}
.nt-page .lb-antype{align-self:flex-start;font:500 10.5px var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--green-deep);background:var(--green-tint);padding:2px 8px;border-radius:6px}
.nt-page .lb-anrow.flag .lb-antype{color:#A3443E;background:rgba(206,80,73,.1)}
.nt-page .lb-anwhy{font-size:14px;color:var(--muted);line-height:1.55}
.nt-page .lb-pr{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.nt-page .lb-pitem{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface)}
.nt-page .lb-pbody{display:flex;flex-direction:column;gap:8px;min-width:0}
.nt-page .lb-ps{margin:0;font-size:15.5px;line-height:1.6}
.nt-page .lb-popts{display:flex;flex-wrap:wrap;gap:6px}
.nt-page .nt-chip.lb-right{border-color:var(--green);background:var(--green-tint);color:var(--green-deep)}
.nt-page .nt-chip.lb-wrong{border-color:#CE5049;background:rgba(206,80,73,.08);color:#A3443E}
.nt-page .lb-pfb{margin:0;font-size:14px;line-height:1.5}
.nt-page .lb-pfb.ok{color:var(--green-deep)}
.nt-page .lb-pfb.no{color:#A3443E}
.nt-page .lb-reset{margin-top:14px}

/* figurative language: tiles, one device, find marks, ideas */
.nt-page .lb-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.nt-page .lb-tile{display:flex;flex-direction:column;gap:6px;text-align:left;padding:14px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface);cursor:pointer;font-family:var(--font-body);color:var(--ink);min-width:0}
.nt-page .lb-tile:hover{border-color:var(--green)}
.nt-page .lb-tile:focus-visible{outline:3px solid rgba(14,123,84,.4);outline-offset:2px}
.nt-page .lb-tile b{font-size:15.5px}
.nt-page .lb-tdef{font-size:13px;color:var(--muted);line-height:1.45}
.nt-page .lb-tex{margin-top:auto;font-family:Fraunces,Georgia,serif;font-size:14px;line-height:1.5;font-style:italic}
.nt-page .lb-dev h3{margin:12px 0 2px;font:600 24px/1.2 var(--font-display);letter-spacing:-.01em}
.nt-page .lb-dev .lb-exs{font-family:Fraunces,Georgia,serif;font-size:16px}
.nt-page .lb-devact{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;margin-top:16px}
.nt-page .lb-ftext{font-family:Fraunces,Georgia,serif;font-size:16px}
.nt-page mark.lb-fm{color:inherit;border-radius:3px;padding:1px 2px;-webkit-box-decoration-break:clone;box-decoration-break:clone;background:var(--fm)}
.nt-page mark.lb-fm sup{font:600 10px var(--font-mono);margin-right:2px;color:var(--ink)}
.nt-page .d-personification{--fm:rgba(22,160,106,.2)}.nt-page .d-simile{--fm:rgba(47,107,176,.18)}.nt-page .d-hyperbole{--fm:rgba(230,170,20,.32)}
.nt-page .d-onomatopoeia{--fm:rgba(138,92,194,.2)}.nt-page .d-idiom{--fm:rgba(206,80,73,.16)}.nt-page .d-metaphor{--fm:rgba(14,123,84,.16)}
.nt-page .lb-fd{cursor:default;border-left:5px solid var(--fm)}
.nt-page .lb-fd:hover{border-color:var(--line);border-left-color:var(--fm)}
.nt-page .lb-ideain{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1fr) auto;gap:14px;align-items:end}
.nt-page .lb-ideain .nt-level{align-self:flex-start}
.nt-page .lb-ideas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.nt-page .lb-idea{display:flex;flex-direction:column;gap:6px;padding:14px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface)}
.nt-page .lb-idea p{margin:0;font-family:Fraunces,Georgia,serif;font-size:16px;line-height:1.5}
.nt-page .lb-iwhy{font-size:13px;color:var(--muted)}
.nt-page .lb-idea .lb-clear{align-self:flex-start;margin-top:auto}

/* teacher guide: steps + CTA, checklist */
.nt-page .lb-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.nt-page .lb-step{display:flex;flex-direction:column;gap:6px;padding:14px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface)}
.nt-page .lb-step b{font-size:15px}
.nt-page .lb-step span:last-child{font-size:13.5px;color:var(--muted);line-height:1.5}
.nt-page .lb-cta{display:flex;align-items:center;justify-content:space-between;gap:16px 24px;flex-wrap:wrap;margin-top:16px;padding:16px 18px;border-radius:16px;background:rgba(230,170,20,.12);border:1.5px solid rgba(201,138,0,.28)}
.nt-page .lb-ctatext{flex:1 1 380px;min-width:0}
.nt-page .lb-ctatext b{font-size:15px}
.nt-page .lb-ctatext p{margin:4px 0 8px;font-size:14px}
.nt-page .lb-ctatext ul{margin:0;padding-left:18px;font-size:13.5px;color:var(--muted);line-height:1.6}
.nt-page .lb-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.nt-page .lb-cgroup{display:flex;flex-direction:column;gap:10px;padding:14px 16px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface)}
.nt-page .lb-cgroup .lb-bcap{display:flex;justify-content:space-between;margin-bottom:2px}
.nt-page .lb-citem{align-items:flex-start;line-height:1.45}
.nt-page .lb-citem input{margin-top:1px}

/* morning meeting: my set, present */
.nt-page .lb-set{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.nt-page .lb-srow{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1.5px solid var(--line);border-radius:12px;background:var(--surface)}
.nt-page .lb-srow p{margin:0;flex:1;min-width:0;font-size:15px;line-height:1.5}
.nt-page .lb-x{flex:none;width:30px;height:30px;border:0;border-radius:8px;background:none;font-size:20px;line-height:1;color:var(--muted);cursor:pointer}
.nt-page .lb-x:hover{background:var(--surface2);color:#A3443E}
.nt-page .lb-addrow{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.nt-page .lb-own{flex:1 1 260px;display:block}
.nt-page .lb-own .opt-in{width:100%}
.nt-page .lb-more{display:inline-flex;align-items:center;gap:8px}
.nt-page .lb-prbar{display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap;margin-bottom:14px}
.nt-page .lb-fullbtn{margin-left:auto}
.nt-page .lb-slide{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;min-height:340px;padding:40px 32px 24px;border-radius:20px;text-align:center}
.nt-page .lb-slide.t-sun{background:linear-gradient(135deg,#FFE7B8,#FFC9A8);color:#3A2412}
.nt-page .lb-slide.t-sea{background:linear-gradient(135deg,#BDE6F2,#9CC8F0);color:#0F2C45}
.nt-page .lb-slide.t-ink{background:#1F3B30;color:#F2F5EE}
.nt-page .lb-slbl{font:500 11px var(--font-mono);letter-spacing:.14em;text-transform:uppercase;opacity:.7}
.nt-page .lb-stext{margin:0;max-width:22ch;font:600 clamp(24px,4vw,40px)/1.25 var(--font-display);letter-spacing:-.01em}
.nt-page .lb-snav{display:flex;align-items:center;gap:16px;font:500 13px var(--font-mono)}
.nt-page .lb-snav button{width:42px;height:42px;border-radius:50%;border:1.5px solid currentColor;background:transparent;color:inherit;font-size:18px;cursor:pointer;opacity:.8}
.nt-page .lb-snav button:hover{opacity:1}
.nt-page .lb-exitfull{display:none;position:absolute;top:14px;right:14px;border:1.5px solid currentColor;background:transparent;color:inherit;border-radius:10px;padding:6px 12px;font:600 13px var(--font-body);cursor:pointer}
.nt-page .lb-slide.is-full{position:fixed;inset:0;z-index:300;border-radius:0;min-height:0}
.nt-page .lb-slide.is-full .lb-exitfull{display:block}
.nt-page .lb-slide.is-full .lb-stext{font-size:clamp(30px,6vw,64px)}

/* thank-you card */
.nt-page .lb-cardgrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start}
.nt-page .lb-cform{display:flex;flex-direction:column;gap:14px;min-width:0}
.nt-page .lb-cfields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.nt-page .lb-cfields .opt-in{width:100%}
.nt-page .lb-pers{align-self:flex-start}
.nt-page .lb-cprev{display:flex;flex-direction:column;gap:10px;min-width:0}
.nt-page .lb-tcard{position:relative;aspect-ratio:7/5;max-height:340px;overflow:hidden;padding:28px 30px;border-radius:14px;border:1.5px solid var(--line);box-shadow:0 8px 24px rgba(25,30,26,.08)}
.nt-page .lb-tcard::after{content:"";position:absolute;left:0;right:0;bottom:0;height:40px;background:linear-gradient(transparent,var(--tc-bg))}
.nt-page .lb-tcard.t-apple{--tc-bg:#FFF6EE;background:#FFF6EE;color:#3A2412;border-top:10px solid #CE5049}
.nt-page .lb-tcard.t-stars{--tc-bg:#EEF2FF;background:radial-gradient(circle at 88% 14%,rgba(230,170,20,.35) 0 18px,transparent 19px),#EEF2FF;color:#1C2550}
.nt-page .lb-tcard.t-plain{--tc-bg:#FFFFFF;background:#FFFFFF;color:#191E1A}
.nt-page .lb-ctext{margin:0;font-family:Fraunces,Georgia,serif;font-size:17px;line-height:1.6}
.nt-page .lb-over{margin:0;padding:8px 12px;border-radius:10px;background:rgba(206,80,73,.1);color:#A3443E;font-size:13.5px}

@media(max-width:900px){
  .nt-page .lb-tiles,.nt-page .lb-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nt-page .lb-ideain{grid-template-columns:1fr 1fr}
  .nt-page .lb-ideas{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nt-page .lb-cardgrid{grid-template-columns:1fr}
}
@media(max-width:700px){
  .nt-page .lb-items,.nt-page .lb-types,.nt-page .lb-checks,.nt-page .lb-ideas{grid-template-columns:1fr}
  .nt-page .lb-cfields{grid-template-columns:1fr}
}
@media(max-width:600px){
  .nt-page .lb-ideain{grid-template-columns:1fr}
  .nt-page .lb-tiles,.nt-page .lb-steps{grid-template-columns:1fr}
  .nt-page .lb-qtext{font-size:19px}
  .nt-page .lb-slide{min-height:280px;padding:36px 18px 20px}
  .nt-page .lb-fullbtn{margin-left:0}
  .nt-page .lb-tcard{aspect-ratio:auto;min-height:240px;padding:22px}
  .nt-page .lb-ctext{font-size:16px}
}
@media(max-width:600px){
  /* steps on phones: number on the left, text on the right, so all four fit on about one screen */
  .nt-page .lb-step{display:grid;grid-template-columns:26px minmax(0,1fr);column-gap:12px;row-gap:2px;padding:12px 14px}
  .nt-page .lb-step .oc-num{grid-row:span 2}
}

/* ===========================================================
   Brick Г, family engine (New Tool Kit.dc.html, .kt-*): #11 wheel · #12 fractions · #22 parts of speech ·
   #24 groups · #28 tone · #32 abstract · #41 grader · #75 Punnett. Fields / run / result reuse .oc-*,
   chips / seg reuse .nt-*, cards and labels reuse .lb-* from brick А.
   =========================================================== */
.nt-page .kt-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.nt-page .kt-two .opt-in,.nt-page .kt-side .opt-in{width:100%}
.nt-page .kt-side{display:flex;flex-direction:column;gap:14px;min-width:0}
.nt-page .kt-block{margin-top:18px;padding-top:16px;border-top:1px dashed var(--line)}
.nt-page .kt-err{margin:12px 0 0;padding:10px 14px;border-radius:12px;background:rgba(206,80,73,.09);color:#A3443E;font-size:14px;font-weight:600}
.nt-page .kt-warn{margin:12px 0 0;padding:10px 14px;border-radius:12px;background:rgba(230,170,20,.16);font-size:14px}
.nt-page .kt-bad{border-color:#CE5049!important;box-shadow:0 0 0 3px rgba(206,80,73,.12)}
.nt-page .kt-left{text-align:left}
.nt-page .kt-opt{font:500 10.5px var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-left:6px}
.nt-page .kt-inline{flex:0 0 auto}
.nt-page .kt-mode{margin-bottom:14px}
.nt-page .kt-table{width:100%;border-collapse:collapse;font-size:14px}
.nt-page .kt-table th{font:500 10.5px var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);text-align:left;padding:6px 10px;border-bottom:1.5px solid var(--line)}
.nt-page .kt-table td{padding:6px 10px;border-bottom:1px solid var(--line)}
.nt-page .kt-qs ol{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px;font-size:14.5px;color:var(--green-deep);font-weight:600}
.nt-page .kt-qs{margin-top:16px}
.nt-page .kt-legend{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}
.nt-page .kt-lg{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:99px;border:1.5px solid transparent;background:var(--pc-bg,var(--surface2));color:var(--ink);font:600 13px var(--font-body);cursor:pointer}
.nt-page span.kt-lg{cursor:default}
.nt-page .kt-lg i{font:500 11px var(--font-mono);font-style:normal;color:var(--muted)}
.nt-page .kt-lg.off{background:transparent;border-color:var(--line);color:var(--muted);text-decoration:line-through}
.nt-page .kt-lg:focus-visible{outline:3px solid rgba(14,123,84,.4);outline-offset:2px}

/* #11 wheel */
.nt-page .kt-wgrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:24px;align-items:start}
.nt-page .kt-chiprow{display:flex;gap:10px;align-items:baseline}
.nt-page .kt-chiprow .nt-chips{margin-top:0}
.nt-page .kt-names{font-size:15px;line-height:1.55}
.nt-page .kt-saved{display:flex;gap:8px;align-items:flex-end}
.nt-page .kt-saved .oc-field{flex:1}
.nt-page .kt-opts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}
.nt-page .kt-stage{position:relative;display:flex;flex-direction:column;align-items:center;gap:14px;padding:8px 0}
.nt-page .kt-wheelbox{position:relative;width:min(100%,400px);aspect-ratio:1}
.nt-page .kt-rotor{width:100%;height:100%;will-change:transform}
.nt-page .kt-wsvg,.nt-page .kt-svg{width:100%;height:100%;display:block}
.nt-page .kt-svg{filter:drop-shadow(0 10px 24px rgba(25,30,26,.14))}
.nt-page .kt-pointer{position:absolute;top:-6px;left:50%;z-index:2;width:0;height:0;transform:translateX(-50%);border-left:15px solid transparent;border-right:15px solid transparent;border-top:28px solid var(--ink);filter:drop-shadow(0 2px 2px rgba(0,0,0,.2))}
.nt-page .kt-spin{min-width:200px;letter-spacing:.12em;font-weight:800}
.nt-page .kt-live{margin:0;font-size:13.5px;color:var(--muted);min-height:1.4em;text-align:center}
.nt-page .kt-empty{margin:0;font-weight:700}
.nt-page .kt-modal{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(246,247,243,.72);backdrop-filter:blur(2px);z-index:3;border-radius:16px}
.nt-page .kt-mbox{display:flex;flex-direction:column;align-items:center;gap:8px;padding:24px 28px;border-radius:18px;background:var(--surface);border:1.5px solid var(--line);box-shadow:0 16px 40px rgba(25,30,26,.18);text-align:center;max-width:92%}
.nt-page .kt-mlbl{font:500 11px var(--font-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.nt-page .kt-winner{font:600 clamp(28px,5vw,44px)/1.1 var(--font-display);letter-spacing:-.01em;overflow-wrap:anywhere}
.nt-page .kt-mact{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:8px}
.nt-page .kt-exitfull{display:none;position:absolute;top:14px;right:14px;z-index:4;border:1.5px solid var(--line);background:var(--surface);color:var(--ink);border-radius:10px;padding:6px 12px;font:600 13px var(--font-body);cursor:pointer}
.nt-page .kt-stage.is-full{position:fixed;inset:0;z-index:300;background:var(--bg,#F6F7F3);justify-content:center;padding:24px}
.nt-page .kt-stage.is-full .kt-exitfull{display:block}
.nt-page .kt-stage.is-full .kt-wheelbox{width:min(78vh,90vw)}
.nt-page .kt-wtable{max-width:520px}
.nt-page .kt-wsel{padding:4px 8px;min-height:0}
.nt-page .kt-histlist{margin:0;padding-left:20px;display:flex;flex-wrap:wrap;gap:4px 22px;font-size:14px}

/* #12 fractions */
.nt-page .kt-fx{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.nt-page .kt-opnd{display:flex;align-items:center;gap:8px}
.nt-page .kt-opnd .opt-in{width:64px;text-align:center;font:600 18px var(--font-body);padding:8px 6px}
.nt-page .kt-opnd .kt-w{width:56px}
.nt-page .kt-fr{display:flex;flex-direction:column;align-items:center;gap:4px}
.nt-page .kt-fbar{display:block;width:100%;height:2.5px;border-radius:2px;background:var(--ink)}
.nt-page .kt-opsel .opt-in{font:700 20px var(--font-body);padding:8px 10px}
.nt-page .kt-vs{font:500 12px var(--font-mono);text-transform:uppercase;color:var(--muted)}
.nt-page .kt-calc{margin-left:auto}
.nt-page .kt-exprrow{display:flex;gap:12px;align-items:flex-end}
.nt-page .kt-exprrow .oc-field{flex:1}
.nt-page .kt-exprin{width:100%;font:500 17px var(--font-mono)}
.nt-page .kt-answer{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:18px;align-items:center;padding:18px 20px;border-radius:16px;background:var(--green-tint);border:1.5px solid rgba(14,123,84,.18)}
.nt-page .kt-eqin{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font:600 28px var(--font-display)}
.nt-page .kt-sf{display:inline-flex;flex-direction:column;align-items:center;line-height:1.05;font-size:.82em;vertical-align:middle}
.nt-page .kt-sf i{font-style:normal;padding:0 4px}
.nt-page .kt-sf i:first-child{border-bottom:2.5px solid currentColor}
.nt-page .kt-op{color:var(--muted);font-weight:500}
.nt-page .kt-sign{color:var(--green-deep);font-size:1.3em}
.nt-page .kt-exprtxt{font:500 17px var(--font-mono);color:var(--muted)}
.nt-page .kt-forms{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.nt-page .kt-forms div{padding:8px 12px;border-radius:10px;background:var(--surface)}
.nt-page .kt-forms dt{font:500 10.5px var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.nt-page .kt-forms dd{margin:2px 0 0;font:700 17px var(--font-body);overflow-wrap:anywhere}
.nt-page .kt-rep{text-decoration:overline;text-decoration-thickness:2px}
.nt-page .kt-fcols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;margin-top:18px}
.nt-page .kt-steps{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px;font-size:14.5px;line-height:1.55}
.nt-page .kt-bars{display:flex;flex-direction:column;gap:8px}
.nt-page .kt-barrow{display:flex;align-items:center;gap:10px}
.nt-page .kt-barlbl{flex:0 0 52px;font:600 13px var(--font-mono)}
.nt-page .kt-barset{display:flex;gap:6px;flex-wrap:wrap;flex:1;min-width:0}
.nt-page .kt-barone{display:flex;flex:1 1 90px;max-width:160px;height:18px;border:1.5px solid var(--ink);border-radius:4px;overflow:hidden}
.nt-page .kt-barone i{flex:1;border-right:1px solid rgba(25,30,26,.25)}
.nt-page .kt-barone i:last-child{border-right:0}
.nt-page .kt-barone i.on{background:#16A06A}
.nt-page .kt-cmp .kt-eqin{font-size:34px}
.nt-page .kt-cmpwhy{margin:10px 0 0;font-size:15px}

/* #22 parts of speech (AA text on tints; the underline style is the second signal) */
.nt-page .p-noun{--pc-bg:rgba(47,107,176,.16);--pc:#2F6BB0}.nt-page .p-pron{--pc-bg:rgba(138,92,194,.16);--pc:#8A5CC2}
.nt-page .p-verb{--pc-bg:rgba(206,80,73,.15);--pc:#CE5049}.nt-page .p-adj{--pc-bg:rgba(22,160,106,.17);--pc:#16A06A}
.nt-page .p-adv{--pc-bg:rgba(230,170,20,.28);--pc:#B07D00}.nt-page .p-prep{--pc-bg:rgba(42,161,152,.18);--pc:#1E8A82}
.nt-page .p-conj{--pc-bg:rgba(242,140,56,.2);--pc:#C9661C}.nt-page .p-det{--pc-bg:rgba(120,130,125,.18);--pc:#5E6A64}
.nt-page .p-intj{--pc-bg:rgba(255,126,182,.22);--pc:#C2477A}
.nt-page .kt-posgrid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:18px;align-items:start}
.nt-page .kt-tagged{padding:14px 16px;border-radius:14px;border:1.5px solid var(--line);background:var(--surface)}
.nt-page .kt-tagp{margin:0;font-size:17px;line-height:2.15}
.nt-page .kt-pw{border:0;border-radius:5px;padding:2px 3px;font:inherit;color:var(--ink);background:var(--pc-bg);border-bottom:2px solid var(--pc);cursor:pointer}
.nt-page span.kt-pw{cursor:default}
.nt-page .kt-pw.kt-punct{background:none;border-bottom:0;padding:0}
.nt-page .kt-pw.kt-blank{background:none;border-bottom:2px dotted var(--line)}
.nt-page .kt-pw.off{background:none;border-bottom-color:transparent}
.nt-page .kt-pw.sel{outline:2.5px solid var(--ink);outline-offset:1px}
.nt-page .kt-pw.fixed{position:relative}
.nt-page .kt-pw.fixed::after{content:"";position:absolute;top:-2px;right:-2px;width:7px;height:7px;border-radius:50%;background:var(--ink)}
.nt-page .kt-pw:focus-visible{outline:3px solid rgba(14,123,84,.4)}
.nt-page .kt-wordcard{display:flex;flex-direction:column;gap:6px;padding:14px 16px;border-radius:14px;background:var(--surface2);border:1.5px solid var(--line)}
.nt-page .kt-wc-word{font:600 24px var(--font-display)}
.nt-page .kt-wc-pos{align-self:flex-start;padding:3px 10px;border-radius:99px;background:var(--pc-bg);border-bottom:2px solid var(--pc);font:700 13px var(--font-body)}
.nt-page .kt-wc-sub{font-size:13.5px;font-weight:600}
.nt-page .kt-wc-why{margin:0;font-size:14px;color:var(--muted);line-height:1.5}
.nt-page .kt-wc-raw{font:500 11.5px var(--font-mono);color:var(--muted)}
.nt-page .kt-wc-fixed{font:500 11.5px var(--font-mono);color:var(--green-deep)}
.nt-page .kt-refgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.nt-page .kt-ref{padding:12px 14px;border-radius:14px;border:1.5px solid var(--line);border-top:4px solid var(--pc);background:var(--surface);min-width:0}
.nt-page .kt-ref b{font-size:15px}
.nt-page .kt-ref .lb-exs b{font-size:inherit;background:var(--pc-bg);border-radius:4px;padding:0 3px}
.nt-page .kt-prhead{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.nt-page .kt-prhead .oc-lead{margin:0}
.nt-page .kt-prlist{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}

/* #24 groups */
.nt-page .kt-ggrid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr);gap:24px;align-items:start}
.nt-page .kt-apart ul{list-style:none;margin:0 0 8px;padding:0;display:flex;flex-direction:column;gap:4px}
.nt-page .kt-apart li{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600}
.nt-page .kt-apart li span{font-weight:400;color:var(--muted)}
.nt-page .kt-apart .lb-x{margin-left:auto;width:26px;height:26px;font-size:17px}
.nt-page .kt-apartadd{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:6px}
.nt-page .kt-apartadd .opt-in{width:100%;min-width:0}
.nt-page .kt-make{align-self:stretch;justify-content:center}
.nt-page .kt-placeholder{display:flex;flex-direction:column;gap:4px;padding:36px 22px;border:1.5px dashed var(--line);border-radius:16px;text-align:center;color:var(--muted);font-size:14px}
.nt-page .kt-placeholder b{color:var(--ink);font-size:15.5px}
.nt-page .kt-gline{margin-top:0}
.nt-page .kt-groups{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.nt-page .kt-group{padding:10px 12px;border-radius:14px;border:1.5px solid var(--line);border-top:5px solid var(--gc);background:var(--surface)}
.nt-page .kt-ghead{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:6px}
.nt-page .kt-ghead b{font-size:15px}
.nt-page .kt-ghead span{font:500 11px var(--font-mono);color:var(--muted)}
.nt-page .kt-group ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.nt-page .kt-person{width:100%;display:flex;justify-content:space-between;align-items:center;gap:6px;border:0;background:none;padding:3px 6px;border-radius:7px;font:500 14.5px var(--font-body);color:var(--ink);cursor:pointer;text-align:left}
.nt-page .kt-person:hover{background:var(--surface2)}
.nt-page .kt-person i{font:500 10px var(--font-mono);font-style:normal;letter-spacing:.06em;text-transform:uppercase;color:var(--green-deep)}
.nt-page .kt-person.locked{background:var(--green-tint);font-weight:700}
.nt-page .g0{--gc:#2F6BB0}.nt-page .g1{--gc:#16A06A}.nt-page .g2{--gc:#E6AA14}.nt-page .g3{--gc:#CE5049}.nt-page .g4{--gc:#8A5CC2}.nt-page .g5{--gc:#2AA198}.nt-page .g6{--gc:#F28C38}.nt-page .g7{--gc:#5E6A64}
.nt-page .kt-grow{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.nt-page .kt-proj{position:fixed;inset:0;z-index:300;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;padding:40px 24px;background:#14231C;color:#F2F5EE}
.nt-page .kt-projexit{display:block;background:transparent;color:inherit;border-color:rgba(255,255,255,.4)}
.nt-page .kt-projgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;width:min(1100px,100%)}
.nt-page .kt-pgroup{padding:16px 18px;border-radius:16px;background:rgba(255,255,255,.06);border-top:6px solid var(--gc);opacity:.12;transform:translateY(8px);transition:opacity .4s,transform .4s}
.nt-page .kt-pgroup.shown{opacity:1;transform:none}
.nt-page .kt-pgroup b{font:600 24px var(--font-display)}
.nt-page .kt-pgroup p{margin:6px 0 0;font-size:19px;line-height:1.5}
@media (prefers-reduced-motion:reduce){.nt-page .kt-pgroup{transition:none}}

/* #28 tone */
.nt-page .kt-ctx{display:grid;grid-template-columns:repeat(2,minmax(0,240px));gap:12px;margin:12px 0}
.nt-page .kt-ctx .opt-in{width:100%}
.nt-page .kt-tdraft p{margin:0}
.nt-page mark.kt-ev{color:inherit;padding:1px 2px;border-radius:3px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.nt-page mark.kt-ev.t0,.nt-page .kt-toneres.t0{--tc:#CE5049;--tb:rgba(206,80,73,.14)}
.nt-page mark.kt-ev.t1,.nt-page .kt-toneres.t1{--tc:#C98A00;--tb:rgba(230,170,20,.26)}
.nt-page mark.kt-ev{background:var(--tb);border-bottom:2px solid var(--tc)}
.nt-page mark.kt-ev.t1{border-bottom-style:dashed}
.nt-page .kt-tones{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.nt-page .kt-toneres{padding:12px 14px;border-radius:14px;border:1.5px solid var(--line);border-left:5px solid var(--tc);background:var(--surface)}
.nt-page .kt-thead{display:flex;justify-content:space-between;align-items:center;gap:8px}
.nt-page .kt-thead b{font-size:16px}
.nt-page .kt-toneres p{margin:4px 0 6px;font-size:14px;color:var(--muted);line-height:1.5}
.nt-page .kt-str{display:inline-flex;align-items:center;gap:3px;font:500 10.5px var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.nt-page .kt-str i{width:7px;height:7px;border-radius:50%;background:var(--line)}
.nt-page .kt-str i:last-of-type{margin-right:4px}
.nt-page .s-light i:nth-child(1),.nt-page .s-clear i:nth-child(-n+2),.nt-page .s-strong i{background:var(--tc)}
.nt-page .kt-evid{display:flex;flex-wrap:wrap;gap:6px}
.nt-page .kt-evid q{font-size:13px;font-weight:700;padding:2px 8px;border-radius:99px;background:var(--tb);quotes:"\201C" "\201D"}
.nt-page .kt-mismatch{margin-top:14px;padding:12px 16px;border-radius:12px;background:rgba(230,170,20,.14)}
.nt-page .kt-mismatch p{margin:0;font-size:14.5px}
.nt-page .kt-cta{display:inline-block;margin-top:14px}
.nt-page .kt-tgroups{margin-top:0}
.nt-page .kt-tonelist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.nt-page .kt-tone{padding:12px 14px;border-radius:14px;border:1.5px solid var(--line);background:var(--surface);min-width:0}
.nt-page .kt-tone b{display:block;margin:2px 0;font-size:15.5px}
.nt-page .kt-tone .lb-def{margin:0 0 6px}
.nt-page .kt-tex{margin:0;font-family:Fraunces,Georgia,serif;font-size:14.5px;font-style:italic}

/* #32 abstract */
.nt-page .a-background{--pc-bg:rgba(120,130,125,.18);--pc:#5E6A64}.nt-page .a-aim{--pc-bg:rgba(47,107,176,.16);--pc:#2F6BB0}
.nt-page .a-method{--pc-bg:rgba(138,92,194,.16);--pc:#8A5CC2}.nt-page .a-results{--pc-bg:rgba(22,160,106,.17);--pc:#16A06A}
.nt-page .a-conclusion{--pc-bg:rgba(230,170,20,.28);--pc:#B07D00}
.nt-page .kt-legend-static .kt-lg{cursor:default}
.nt-page .kt-abstext{padding:14px 16px;border-radius:14px;border:1.5px solid var(--line);background:var(--surface);font-family:Fraunces,Georgia,serif;font-size:15.5px;line-height:1.85}
.nt-page .kt-abstext p{margin:0}
.nt-page .kt-abssample{background:var(--surface2);font-size:14.5px}
.nt-page .kt-as{background:var(--pc-bg);border-bottom:2px solid var(--pc);border-radius:3px;padding:1px 2px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.nt-page .kt-as b{font:500 9.5px var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--pc);margin-right:5px;vertical-align:1px}
.nt-page .kt-absset{max-width:520px;margin-bottom:12px}
.nt-page .kt-limit{display:flex;align-items:center;gap:12px;margin-top:8px}
.nt-page .kt-lbar{flex:1;height:6px;border-radius:99px;background:var(--line);overflow:hidden}
.nt-page .kt-lbar i{display:block;height:100%;background:var(--green);border-radius:99px}
.nt-page .kt-lbar.over i{background:#CE5049}
.nt-page .kt-limit .oc-count{white-space:nowrap}
.nt-page .kt-checklist{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px;font-size:14px}
.nt-page .kt-ckrow{display:flex;gap:8px;align-items:flex-start;color:var(--muted)}
.nt-page .kt-ck{flex:none;width:20px;height:20px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;background:var(--surface2);font-weight:700;font-size:12px}
.nt-page .kt-ckrow.ok{color:var(--ink)}.nt-page .kt-ckrow.ok .kt-ck{background:var(--green-tint);color:var(--green-deep)}
.nt-page .kt-ckrow.no{color:#A3443E}.nt-page .kt-ckrow.no .kt-ck{background:rgba(206,80,73,.12)}
.nt-page .kt-astruct{margin:16px 0 0}

/* #41 grader: letter bands */
.nt-page .kt-b-A{--bd:rgba(22,160,106,.14);--bc:#0E7B54}.nt-page .kt-b-B{--bd:rgba(47,107,176,.13);--bc:#2F6BB0}
.nt-page .kt-b-C{--bd:rgba(230,170,20,.2);--bc:#8F6500}.nt-page .kt-b-D{--bd:rgba(242,140,56,.18);--bc:#B4581A}
.nt-page .kt-b-F{--bd:rgba(206,80,73,.13);--bc:#A3443E}
.nt-page .kt-gset{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end}
.nt-page .kt-gset .opt-in{width:100%}
.nt-page .kt-custom{margin-top:14px}
.nt-page .kt-crows{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}
.nt-page .kt-crow{display:flex;align-items:center;gap:4px;padding:4px 6px;border-radius:10px;background:var(--surface2)}
.nt-page .kt-crow .opt-in{padding:6px 8px;min-height:0}
.nt-page .kt-cl{width:48px;text-align:center;font-weight:700}
.nt-page .kt-cm{width:64px}
.nt-page .kt-crow .lb-x{width:24px;height:24px;font-size:16px}
.nt-page .kt-rule{margin:12px 0;font-size:13px;color:var(--muted)}
.nt-page .kt-bands{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.nt-page .kt-band{padding:3px 10px;border-radius:99px;background:var(--bd);color:var(--bc);font:600 12.5px var(--font-body)}
.nt-page .kt-chartwrap{max-height:430px;overflow:auto;border:1.5px solid var(--line);border-radius:14px}
.nt-page .kt-chart{font-variant-numeric:tabular-nums}
.nt-page .kt-chart thead th{position:sticky;top:0;background:var(--surface)}
.nt-page .kt-chart tr td{background:var(--bd)}
.nt-page .kt-chart td b{color:var(--bc)}
.nt-page .kt-quick{display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr);gap:20px;align-items:center}
.nt-page .kt-quickin{font:700 34px var(--font-body);text-align:center;width:100%}
.nt-page .kt-qout{display:flex;align-items:baseline;gap:18px;flex-wrap:wrap;padding:18px 22px;border-radius:16px;background:var(--bd,var(--surface2))}
.nt-page .kt-qout b{font:600 52px/1 var(--font-display);color:var(--bc,var(--muted))}
.nt-page .kt-qletter{font:800 44px/1 var(--font-body);color:var(--bc)}
.nt-page .kt-qof{font-size:14px;color:var(--muted)}

/* #75 Punnett */
.nt-page .kt-prow{display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap;margin-bottom:14px}
.nt-page .kt-prow .nt-chips{margin-top:0}
.nt-page .kt-traits{display:flex;flex-direction:column;gap:10px}
.nt-page .kt-trait{display:grid;grid-template-columns:56px minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:end}
.nt-page .kt-trait .opt-in{width:100%}
.nt-page .kt-tl{font:600 18px var(--font-mono);padding-bottom:10px}
.nt-page .kt-parents{display:flex;align-items:flex-end;gap:12px;margin-top:14px}
.nt-page .kt-parents .oc-field{flex:0 1 200px}
.nt-page .kt-geno{font:600 20px var(--font-mono);letter-spacing:.06em;width:100%}
.nt-page .kt-x{font-size:22px;padding-bottom:10px;color:var(--muted)}
.nt-page .kt-pres{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
.nt-page .kt-pres .lb-copynote{grid-column:1/-1}
.nt-page .kt-gam{margin:0 0 8px;font-size:13px;color:var(--muted)}
.nt-page .kt-sqwrap{overflow-x:auto}
.nt-page .kt-sq{border-collapse:separate;border-spacing:4px;font:600 16px var(--font-mono)}
.nt-page .kt-sq th{font-size:14px;color:var(--muted);padding:4px;text-align:center}
.nt-page .kt-sq td{width:64px;height:52px;text-align:center;border-radius:8px;background:var(--surface2);border:1.5px solid var(--line)}
.nt-page .kt-sq4 td{width:58px;height:44px;font-size:14px}
.nt-page .ph0{--sw:rgba(22,160,106,.22)}.nt-page .ph1{--sw:rgba(47,107,176,.2)}.nt-page .ph2{--sw:rgba(230,170,20,.3)}.nt-page .ph3{--sw:rgba(206,80,73,.18)}
.nt-page .kt-sq td[class^="ph"]{background:var(--sw)}
.nt-page .kt-pratios{display:flex;flex-direction:column;gap:14px}
.nt-page .kt-rlist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;font-size:14px}
.nt-page .kt-rlist li{display:flex;align-items:center;gap:8px}
.nt-page .kt-rlist li span:last-child{margin-left:auto;font:500 12.5px var(--font-mono);color:var(--muted)}
.nt-page .kt-sw{width:14px;height:14px;border-radius:4px;background:var(--sw)}
.nt-page .kt-sheet{display:flex;flex-direction:column;align-items:center;gap:8px}
.nt-page .kt-sheetlbl{font:500 10.5px var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.nt-page .kt-page{width:min(100%,430px);aspect-ratio:8.5/11;padding:22px;background:#fff;border:1.5px solid var(--line);border-radius:6px;box-shadow:0 10px 26px rgba(25,30,26,.1);color:#191E1A}
.nt-page .kt-blanks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-content:start;height:100%}
.nt-page .kt-page.n1 .kt-blanks,.nt-page .kt-page4.n2 .kt-blanks,.nt-page .kt-page4.n1 .kt-blanks{grid-template-columns:1fr;justify-items:center}
.nt-page .kt-blank{display:flex;flex-direction:column;align-items:center;gap:4px}
.nt-page .kt-sqblank{border-spacing:0}
.nt-page .kt-sqblank td{width:30px;height:30px;border-radius:0;background:#fff;border:1.5px solid #191E1A}
.nt-page .kt-page4 .kt-sqblank td{width:24px;height:24px}
.nt-page .kt-sqblank th{width:20px;height:20px;padding:0}
.nt-page .kt-blbl{font:500 8.5px var(--font-mono);color:#4E6158}
.nt-page .kt-ver{font:500 12px var(--font-mono);color:var(--muted)}
.nt-page .kt-keyseg{margin-bottom:12px}
.nt-page .kt-wlist{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:8px;font-size:14.5px;line-height:1.5}
.nt-page .kt-wlist li{padding-left:4px}
.nt-page .kt-wa{display:block;font:600 13px var(--font-mono);color:var(--green-deep)}

@media(max-width:900px){
  .nt-page .kt-wgrid,.nt-page .kt-ggrid,.nt-page .kt-posgrid,.nt-page .kt-pres,.nt-page .kt-answer,.nt-page .kt-fcols{grid-template-columns:1fr}
  .nt-page .kt-refgrid,.nt-page .kt-tonelist{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nt-page .kt-gset{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nt-page .kt-stage{order:-1}
}
@media(max-width:600px){
  .nt-page .kt-refgrid,.nt-page .kt-tonelist,.nt-page .kt-checklist,.nt-page .kt-opts{grid-template-columns:1fr}
  .nt-page .kt-two,.nt-page .kt-ctx{grid-template-columns:1fr}
  .nt-page .kt-fx{gap:8px}
  .nt-page .kt-opnd{gap:5px}
  .nt-page .kt-opnd .opt-in{width:52px;font-size:16px}
  .nt-page .kt-opnd .kt-w{width:44px}
  .nt-page .kt-calc{width:100%;margin-left:0;justify-content:center}
  .nt-page .kt-exprrow{flex-direction:column;align-items:stretch}
  .nt-page .kt-eqin{font-size:22px}
  .nt-page .kt-forms dd{font-size:15px}
  .nt-page .kt-quick{grid-template-columns:1fr}
  .nt-page .kt-trait{grid-template-columns:1fr 1fr}
  .nt-page .kt-tl{grid-column:1/-1;padding-bottom:0}
  .nt-page .kt-parents .oc-field{flex:1 1 0}
  .nt-page .kt-sq td{width:52px;height:44px}
  .nt-page .kt-sq4 td{width:44px;height:38px;font-size:12px}
  .nt-page .kt-sq{border-spacing:3px}
  .nt-page .kt-spin{width:100%}
  .nt-page .kt-tagp{font-size:16px}
  .nt-page .kt-page{padding:14px}
  .nt-page .kt-chiprow{flex-direction:column;gap:4px}
}
.nt-page .kt-opnd .opt-in::placeholder{font:500 10.5px var(--font-mono);letter-spacing:.02em}
/* Punnett: the baseline uppercases th — gametes must keep their case (Ab ≠ AB) */
.nt-page .kt-sq th{text-transform:none;letter-spacing:0}
.nt-page .kt-pres > *,.nt-page .kt-fcols > *,.nt-page .kt-posgrid > *,.nt-page .kt-wgrid > *,.nt-page .kt-ggrid > *{min-width:0}
.nt-page .kt-rlist{font-family:var(--font-body)}
.nt-page .kt-rlist li span:last-child{white-space:nowrap}
@media(max-width:600px){
  .nt-page .kt-opnd .opt-in::placeholder{font-size:9px;letter-spacing:0}
  .nt-page .kt-rlist li{flex-wrap:wrap}
}
.nt-page .kt-sq td{padding:0}
.nt-page .kt-sq thead th{background:none;font-family:var(--font-mono)}
@media(max-width:600px){
  .nt-page .kt-limit{flex-wrap:wrap}
  .nt-page .kt-lbar{flex:1 1 100%}
  .nt-page .kt-limit .oc-count{white-space:normal}
}
.nt-page .kt-sq tbody th{width:30px;padding:0 4px;border:0;background:none}
.nt-page .kt-rlist b{font:600 14px var(--font-body)}

/* ===========================================================
   Brick Д, family engine (New Tool Writer.dc.html, .gw-*): #03 story · #23 topics · #26 recommendation letter ·
   #35 hooks · #38 email · #43 study guide · #48 quiz · #60 report card comments. The form reuses .ps-field / .lp-row /
   .lp-more / .lp-run from #72, results reuse .lp-result, .oc-*, .lb-*, .kt-checklist. Edit in place = contentEditable
   (.gw-ed) with the pencil hint.
   =========================================================== */
.nt-page .gw-stack{display:flex;flex-direction:column;gap:14px;min-width:0}
.nt-page .gw-form .lp-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.nt-page .gw-form .lp-row-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.nt-page .gw-form .lp-row-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.nt-page .gw-form .opt-in{width:100%}
.nt-page .ps-cap i{font-style:normal;font:500 10.5px var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.nt-page .gw-ta{display:flex;flex-direction:column;gap:4px}
.nt-page .gw-ta textarea{width:100%;resize:vertical;font-size:15px;line-height:1.55}
.nt-page .gw-run{margin-top:14px}
.nt-page .gw-checking{flex-wrap:wrap}
.nt-page .gw-result{margin-top:22px;padding-top:22px;border-top:1px dashed var(--line)}
.nt-page .gw-result.is-stale .oc-draft,.nt-page .gw-result.is-stale .oc-issues{opacity:.55}
.nt-page .gw-bank{margin-top:6px}
.nt-page .gw-edit-hint{margin:0 0 14px}
.nt-page .gw-ed{border-radius:6px;outline:0;transition:background .15s}
.nt-page .gw-ed:hover{background:rgba(230,170,20,.1)}
.nt-page .gw-ed:focus{background:var(--surface);box-shadow:0 0 0 2px var(--green)}
.nt-page .gw-ph{color:var(--muted);font-style:italic}
.nt-page .gw-split{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:20px;align-items:start}
.nt-page .gw-split-wide{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}
.nt-page .gw-split > *{min-width:0}
.nt-page .gw-aside{position:sticky;top:12px;display:flex;flex-direction:column;gap:6px;padding:14px 16px;border-radius:14px;background:var(--surface2);border:1.5px solid var(--line)}
.nt-page .gw-gap{margin-top:12px}
.nt-page .gw-small{margin:0;font-size:13px;color:var(--muted);line-height:1.5}
.nt-page .gw-row{display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap;margin-top:12px}
.nt-page .gw-row .lb-flabel{padding-top:0;flex:0 0 74px}
.nt-page .gw-wrap{margin-top:0;margin-bottom:12px}
.nt-page .gw-left{text-align:left}
.nt-page .gw-narrow{max-width:260px}
.nt-page .gw-narrowin{max-width:220px}
.nt-page .gw-info{margin-bottom:14px;padding:12px 16px;border-radius:12px;background:var(--green-tint)}
.nt-page .gw-info p{margin:4px 0 0;font-size:14px}
.nt-page .gw-blocked{padding:16px 18px;border-radius:14px;background:rgba(206,80,73,.08);border:1.5px solid rgba(206,80,73,.25)}
.nt-page .gw-blocked b{color:#A3443E}
.nt-page .gw-blocked p{margin:6px 0 0;font-size:14px}
.nt-page .gw-blockline{margin:0 0 12px;padding:10px 14px;border-radius:12px;background:rgba(206,80,73,.09);color:#A3443E;font-weight:600;font-size:14px}
.nt-page .gw-warnline{margin:6px 0 0;font-size:13.5px;color:#8F6500;font-weight:600}
.nt-page .gw-okline{margin:0;font-size:14px;font-weight:600;color:var(--green-deep)}

/* #03 story */
.nt-page .gw-chars{display:flex;flex-direction:column;gap:8px}
.nt-page .gw-char{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.4fr) 30px;gap:8px;align-items:center}
.nt-page .gw-title{margin:0 0 8px;font:600 26px/1.2 var(--font-display);letter-spacing:-.01em}
.nt-page .gw-titles{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:14px}
.nt-page .gw-titles .nt-chip{cursor:default}
.nt-page .gw-story{display:flex;flex-direction:column;gap:6px}
.nt-page .gw-para{position:relative;padding-right:36px}
.nt-page .gw-para p{margin:0;padding:6px 8px;font-family:Fraunces,Georgia,serif;font-size:16.5px;line-height:1.75}
.nt-page .gw-pmenu{position:absolute;top:6px;right:0;width:30px;height:30px;border:1.5px solid var(--line);border-radius:8px;background:var(--surface);color:var(--muted);font-size:17px;line-height:1;cursor:pointer}
.nt-page .gw-pmenu:hover,.nt-page .gw-para.menu-open .gw-pmenu{border-color:var(--ink);color:var(--ink)}
.nt-page .gw-pop{position:absolute;top:40px;right:0;z-index:5;display:flex;flex-direction:column;min-width:210px;padding:6px;border-radius:12px;background:var(--surface);border:1.5px solid var(--line);box-shadow:0 12px 30px rgba(25,30,26,.14)}
.nt-page .gw-pop button{border:0;background:none;text-align:left;padding:8px 10px;border-radius:8px;font:600 14px var(--font-body);color:var(--ink);cursor:pointer}
.nt-page .gw-pop button:hover{background:var(--surface2)}
.nt-page .gw-map{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;font-size:14px}
.nt-page .gw-map li{display:flex;flex-direction:column}
.nt-page .gw-map span{font-size:13px;color:var(--muted)}
.nt-page .gw-vers{margin:0;padding-left:18px;font-size:13.5px;display:flex;flex-direction:column;gap:4px}
.nt-page .gw-vers li span{margin-right:8px}
.nt-page .gw-vers i{font:500 10.5px var(--font-mono);font-style:normal;text-transform:uppercase;color:var(--green-deep)}
.nt-page .gw-beats{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:8px}
.nt-page .gw-beats b{font-size:14.5px}
.nt-page .gw-beats p{margin:2px 0 0;padding:2px 4px;font-size:15px;line-height:1.55}

/* #23 topics */
.nt-page .gw-topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.nt-page .gw-topic{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface);min-width:0}
.nt-page .gw-topic b{font-size:15.5px;line-height:1.4}
.nt-page .gw-thead{display:flex;justify-content:space-between;align-items:center;gap:8px}
.nt-page .gw-star{border:0;background:none;font-size:20px;line-height:1;color:var(--muted);cursor:pointer;padding:2px}
.nt-page .gw-star.on{color:#C98A00}
.nt-page .gw-gq{margin:0;padding-left:18px;font-size:13.5px;color:var(--muted);line-height:1.5}
.nt-page .gw-angle{font-size:13.5px;color:var(--green-deep);font-weight:600}

/* #26 letter, #38 email: paper */
.nt-page .gw-obs{display:flex;flex-direction:column;gap:8px}
.nt-page .gw-letter{padding:28px 32px;border-radius:6px;background:#fff;color:#191E1A;border:1.5px solid var(--line);box-shadow:0 10px 26px rgba(25,30,26,.08);font-family:Fraunces,Georgia,serif;font-size:15.5px;line-height:1.7}
.nt-page .gw-letter p{margin:0 0 12px;padding:2px 4px}
.nt-page .gw-lhead{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px;padding-bottom:10px;border-bottom:1.5px solid #D7DDD6;font-family:var(--font-body);font-size:13.5px}
.nt-page .gw-sign{margin-top:18px!important}
.nt-page .gw-miss{margin:0;padding-left:18px;font-size:14px;display:flex;flex-direction:column;gap:4px;color:#8F6500}
.nt-page .gw-mail{display:flex;flex-direction:column;gap:8px;padding:14px 16px;border-radius:14px;background:var(--surface);border:1.5px solid var(--line)}
.nt-page .gw-subj{display:flex;align-items:center;gap:10px;padding-bottom:8px;border-bottom:1px solid var(--line)}
.nt-page .gw-part{font:500 10.5px var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.nt-page .gw-subjin{flex:1;min-width:0;border:0;background:none;font:700 15px var(--font-body);color:var(--ink);padding:4px 0}
.nt-page .gw-subjin:focus,.nt-page .gw-bodyin:focus{outline:0;box-shadow:0 0 0 2px var(--green);border-radius:6px}
.nt-page .gw-bodyin{width:100%;border:0;background:none;resize:vertical;font:400 15px/1.65 var(--font-body);color:var(--ink)}
.nt-page .gw-mail-ro p{margin:0;font-size:15px;line-height:1.6}
.nt-page .gw-cl{grid-template-columns:1fr;margin-top:4px}
.nt-page .gw-tips{margin:0;padding-left:18px;font-size:13.5px;line-height:1.55}

/* #35 hooks */
.nt-page .gw-hooks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.nt-page .gw-hook{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface);min-width:0}
.nt-page .gw-hook ul{margin:0;padding-left:18px;font-family:Fraunces,Georgia,serif;font-size:14.5px;line-height:1.5;display:flex;flex-direction:column;gap:4px}
.nt-page .gw-hook .nt-kind{margin-top:auto}
.nt-page .gw-pattern{font-style:italic;color:var(--muted)}
.nt-page .gw-ideas{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.nt-page .gw-idea{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface)}
.nt-page .gw-idea p{margin:0;font-family:Fraunces,Georgia,serif;font-size:16px;line-height:1.5}
.nt-page .gw-idea .lb-clear{align-self:flex-start}
.nt-page .gw-found{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}
.nt-page .gw-fchip{padding:4px 11px;border-radius:99px;font:700 13px var(--font-body);background:var(--mb);border-bottom:2px solid var(--mc)}
.nt-page .gw-fchip.miss{background:rgba(206,80,73,.1);border-bottom-color:#CE5049;color:#A3443E}
.nt-page .m-hook{--mb:rgba(47,107,176,.16);--mc:#2F6BB0}.nt-page .m-context{--mb:rgba(120,130,125,.18);--mc:#5E6A64}.nt-page .m-thesis{--mb:rgba(22,160,106,.18);--mc:#16A06A}
.nt-page mark.gw-m{color:inherit;background:var(--mb);border-bottom:2px solid var(--mc);border-radius:3px;padding:1px 2px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.nt-page .gw-intro{font-family:Fraunces,Georgia,serif}
.nt-page .gw-iss{cursor:default}

/* #43 study guide */
.nt-page .gw-pdf{display:flex;flex-direction:column;gap:8px}
.nt-page .gw-pdf textarea{width:100%}
.nt-page .gw-file{display:flex;flex-direction:column;padding:12px 14px;border-radius:12px;background:var(--surface2);border:1.5px solid var(--line)}
.nt-page .gw-file span{font-size:13px;color:var(--muted)}
.nt-page .gw-incs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px}
.nt-page .gw-guide{display:flex;flex-direction:column;gap:12px}
.nt-page .gw-gsec{padding:12px 14px;border-radius:14px;border:1.5px solid var(--line);background:var(--surface)}
.nt-page .gw-gsec h4{margin:0 0 4px;font-size:16px}
.nt-page .gw-gsec p{margin:0;padding:2px 4px;font-size:14.5px;line-height:1.6}
.nt-page .gw-big{background:var(--green-tint);border-color:rgba(14,123,84,.18)}
.nt-page .gw-item{border-radius:10px;padding:4px 6px;margin:0 -6px;cursor:pointer}
.nt-page .gw-item:hover{background:var(--surface2)}
.nt-page .gw-item.on{background:rgba(230,170,20,.16);box-shadow:inset 3px 0 0 #C98A00}
.nt-page .gw-terms{margin:8px 0 0;display:flex;flex-direction:column;gap:2px}
.nt-page .gw-terms dt{font-weight:700;font-size:14px}
.nt-page .gw-terms dd{margin:0 0 2px;font-size:14px;color:var(--muted)}
.nt-page .gw-qs{margin:8px 0 0;padding-left:0;list-style:none;display:flex;flex-direction:column;gap:4px}
.nt-page .gw-q{list-style:none;display:flex;flex-direction:column;gap:4px;font-size:14.5px}
.nt-page .gw-ch{margin:0;padding-left:4px;list-style:none;display:flex;flex-direction:column;gap:2px;font-size:14px}
.nt-page .gw-right{color:var(--green-deep);font-weight:700}
.nt-page .gw-ans{font-size:14px;font-weight:600;color:var(--green-deep);margin:0}
.nt-page .gw-source{font-size:14px}
.nt-page .gw-srctext{margin:0;font-family:Fraunces,Georgia,serif;font-size:14.5px;line-height:1.7}
.nt-page mark.gw-srcm{background:rgba(230,170,20,.32);color:inherit;border-radius:3px;padding:1px 2px}

/* #48 quiz */
.nt-page .gw-types{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.nt-page .gw-tcount{display:flex;flex-direction:column;gap:6px;font:600 13px var(--font-body);color:var(--muted)}
.nt-page .gw-tcount .opt-in{width:100%}
.nt-page .gw-quiz{margin:12px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px}
.nt-page .gw-qq{padding:12px 14px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface)}
.nt-page .gw-qq.editing{border-color:var(--green)}
.nt-page .gw-qhead{display:flex;align-items:center;gap:8px}
.nt-page .gw-qact{margin-left:auto;display:flex;align-items:center;gap:8px}
.nt-page .gw-badge{font:500 10px var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:#8F6500;background:rgba(230,170,20,.2);padding:2px 7px;border-radius:6px}
.nt-page .gw-qtext{margin:6px 0;font-size:15.5px;font-weight:600;padding:2px 4px}
.nt-page .gw-qtext.editing{background:var(--surface2)}
.nt-page .gw-opts{display:flex;flex-wrap:wrap;gap:6px}
.nt-page .gw-short{max-width:420px;width:100%}
.nt-page .gw-score{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;padding:14px 18px;border-radius:14px;background:var(--green-tint)}
.nt-page .gw-score b{font:600 34px var(--font-display);color:var(--green-deep)}
.nt-page .gw-score span{font-size:14px}
.nt-page .gw-paper{padding:24px 26px;border-radius:6px;background:#fff;color:#191E1A;border:1.5px solid var(--line);box-shadow:0 10px 26px rgba(25,30,26,.08);font-size:14px;line-height:1.6}
.nt-page .gw-phead{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding-bottom:8px;margin-bottom:10px;border-bottom:1.5px solid #D7DDD6}
.nt-page .gw-lines{margin:0 0 10px;font-family:var(--font-mono);font-size:12.5px}
.nt-page .gw-paper ol{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:8px}
.nt-page .gw-pch{display:block;font-size:13px;color:#4E6158;white-space:pre-wrap}
.nt-page .gw-pkey{color:#0E7B54}

/* #60 comments */
.nt-page .gw-src{border-radius:12px;transition:box-shadow .15s,background .15s}
.nt-page .gw-src.on{background:rgba(230,170,20,.14);box-shadow:0 0 0 6px rgba(230,170,20,.14)}
.nt-page .gw-comment{margin:0;padding:14px 16px;border-radius:14px;background:var(--surface);border:1.5px solid var(--line);font-size:16px;line-height:1.75}
.nt-page .gw-sent{border-radius:4px;cursor:default;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.nt-page .gw-sent.on,.nt-page .gw-sent:hover{background:rgba(230,170,20,.26)}
.nt-page .gw-from{font:500 11px var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:#8F6500}
.nt-page .gw-cbank{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.nt-page .gw-cbank li{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface)}
.nt-page .gw-cbank p{margin:0;font-size:15px;line-height:1.55}
.nt-page .gw-cbank .lb-clear{align-self:flex-start;margin-top:auto}
.nt-page .lb-clear:disabled{color:var(--muted);text-decoration:none;cursor:not-allowed}
.nt-page mark.gw-unf{background:rgba(206,80,73,.16);color:#A3443E;border-radius:3px;padding:0 2px;font-weight:700}
.nt-page .gw-ctable td{vertical-align:top}
.nt-page .gw-ctable td:nth-child(2){width:62%}
.nt-page .gw-unrow td{background:rgba(206,80,73,.04)}

@media(max-width:900px){
  .nt-page .gw-split,.nt-page .gw-split-wide{grid-template-columns:1fr}
  .nt-page .gw-aside{position:static}
  .nt-page .gw-form .lp-row-4,.nt-page .gw-types{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nt-page .gw-hooks,.nt-page .gw-topics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .nt-page .gw-form .lp-row,.nt-page .gw-form .lp-row-3,.nt-page .gw-form .lp-row-4{grid-template-columns:1fr}
  .nt-page .gw-hooks,.nt-page .gw-topics,.nt-page .gw-ideas,.nt-page .gw-cbank,.nt-page .gw-incs{grid-template-columns:1fr}
  .nt-page .gw-char{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 30px}
  .nt-page .gw-char input:nth-child(3){grid-column:1/3}
  .nt-page .gw-letter,.nt-page .gw-paper{padding:18px 16px}
  .nt-page .gw-row .lb-flabel{flex:1 1 100%}
  .nt-page .gw-narrow,.nt-page .gw-narrowin{max-width:none}
  .nt-page .gw-ctable thead{display:none}
  .nt-page .gw-ctable tr{display:grid;grid-template-columns:1fr auto;gap:4px 10px;padding:10px 0;border-bottom:1px solid var(--line)}
  .nt-page .gw-ctable td{border:0;padding:0;width:auto!important}
  .nt-page .gw-ctable td:nth-child(2){grid-column:1/-1}
  .nt-page .gw-title{font-size:22px}
}
/* Д: long segment switches (grade bands, pronouns) wrap instead of pushing past the edge on phones */
.nt-page .gw-body .nt-level{max-width:100%;flex-wrap:wrap}
.nt-page .gw-bodyin{field-sizing:content;min-height:14em}

/* ===========================================================
   Brick Б, family engine (New Tool Planner.dc.html, .pl-*): 17 organizers. Shared: annotated examples
   (.pl-parts, role colors .pl-r0–5), weak → strong pairs (reuse .oc-pair), the check layout (reuse #19 .oc-*),
   worksheets. Widgets per tool below. Forms reuse .ps-field / .gw-* from Д.
   =========================================================== */
.nt-page .pl-pane{min-width:0}
.nt-page .pl-r0{--pc-bg:rgba(47,107,176,.15);--pc:#2F6BB0}.nt-page .pl-r1{--pc-bg:rgba(22,160,106,.17);--pc:#16A06A}
.nt-page .pl-r2{--pc-bg:rgba(230,170,20,.26);--pc:#B07D00}.nt-page .pl-r3{--pc-bg:rgba(138,92,194,.16);--pc:#8A5CC2}
.nt-page .pl-r4{--pc-bg:rgba(206,80,73,.14);--pc:#CE5049}.nt-page .pl-r9{--pc-bg:rgba(120,130,125,.16);--pc:#5E6A64}
.nt-page .pl-parts{margin:0;padding:14px 16px;border-radius:14px;border:1.5px solid var(--line);background:var(--surface);font-family:Fraunces,Georgia,serif;font-size:15.5px;line-height:1.9}
.nt-page .pl-part{background:var(--pc-bg);border-bottom:2px solid var(--pc);border-radius:3px;padding:1px 3px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.nt-page .pl-part b{font:500 9.5px var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--pc);margin-right:5px;vertical-align:1px}
.nt-page .pl-pairs{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:6px}
.nt-page .pl-grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.nt-page .pl-grid4 .opt-in,.nt-page .pl-sels .opt-in{width:100%}
.nt-page .pl-wide{grid-column:span 2}
.nt-page .pl-narrow{width:auto}
.nt-page .pl-narrowf{max-width:280px}
.nt-page .pl-sels{display:flex;gap:12px;flex-wrap:wrap}
.nt-page .pl-sels .ps-field{flex:0 1 240px}
.nt-page .pl-crit{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-direction:column;gap:6px}
.nt-page .pl-crow{display:grid;grid-template-columns:96px 140px minmax(0,1fr);gap:10px;align-items:baseline;padding:8px 12px;border-radius:10px;background:var(--surface);border:1.5px solid var(--line);font-size:14px}
.nt-page .pl-cbadge{font:500 10.5px var(--font-mono);letter-spacing:.06em;text-transform:uppercase;padding:2px 8px;border-radius:6px;justify-self:start}
.nt-page .pl-crow.ok .pl-cbadge{background:var(--green-tint);color:var(--green-deep)}
.nt-page .pl-crow.mid .pl-cbadge{background:rgba(230,170,20,.2);color:#8F6500}
.nt-page .pl-crow.no .pl-cbadge{background:rgba(206,80,73,.12);color:#A3443E}
.nt-page .pl-gaps{margin:0 0 12px}
.nt-page .pl-mini{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
.nt-page .pl-mini q{font-weight:700;quotes:"\201C" "\201D"}
.nt-page .pl-refined{margin:6px 0 12px;padding-left:20px;display:flex;flex-direction:column;gap:8px}
.nt-page .pl-refined p{margin:0;font-weight:700}
.nt-page .pl-refined .lb-clear{margin-left:10px}
.nt-page .pl-preview{margin-top:12px;padding:12px 16px;border-radius:12px;background:var(--green-tint)}
.nt-page .pl-preview p{margin:4px 0 0;font:600 16px/1.5 var(--font-display)}
.nt-page .pl-steps .opt-in{width:100%}
.nt-page .pl-one{grid-template-columns:1fr}
.nt-page .pl-block{padding:12px 14px;border-radius:14px;border:1.5px solid var(--line);border-left:5px solid var(--pc);background:var(--surface)}
.nt-page .pl-r0b{--pc:#2F6BB0}.nt-page .pl-r1b{--pc:#16A06A}.nt-page .pl-r2b{--pc:#B07D00}.nt-page .pl-r3b{--pc:#8A5CC2}.nt-page .pl-r4b{--pc:#CE5049}
.nt-page .pl-starters{margin-top:6px}
.nt-page .pl-starters .nt-chip{font-size:12.5px;padding:4px 10px}
.nt-page .pl-evrow{display:flex;gap:10px;align-items:flex-start;margin-top:8px}
.nt-page .pl-evrow .gw-ta{flex:1}
/* #17 bibliography page */
.nt-page .pl-ann{display:flex;flex-direction:column;gap:8px}
.nt-page .pl-bibpage{padding:24px 28px;background:#fff;color:#191E1A;border:1.5px solid var(--line);border-radius:6px;font-family:"Times New Roman",Times,serif;font-size:15px;line-height:2}
.nt-page .pl-bibh{display:block;text-align:center;font-weight:400;margin-bottom:6px}
.nt-page .pl-cite{margin:0;padding-left:.5in;text-indent:-.5in}
.nt-page .pl-annot{margin:0 0 6px;padding-left:.5in}
/* #18 poems */
.nt-page .pl-rule{margin:0;font-size:14.5px}
.nt-page .pl-poems{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.nt-page .pl-poemcard{display:flex;flex-direction:column;gap:6px;padding:14px;border-radius:14px;border:1.5px solid var(--line);background:var(--surface)}
.nt-page .pl-plines p{margin:0;font-family:Fraunces,Georgia,serif;font-size:15px;line-height:1.6}
.nt-page .pl-first{color:var(--green-deep);font-size:1.2em}
.nt-page .pl-lines{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.nt-page .pl-line{display:grid;grid-template-columns:34px minmax(0,1fr) 170px;gap:8px;align-items:center}
.nt-page .pl-line .opt-in{width:100%}
.nt-page .pl-letter{width:34px;height:34px;border-radius:8px;background:var(--green-tint);color:var(--green-deep);display:flex;align-items:center;justify-content:center;font:700 17px var(--font-display)}
.nt-page .pl-lmsg{font:500 11px var(--font-mono);color:var(--green-deep)}
.nt-page .pl-line.bad .pl-lmsg{color:#A3443E}
.nt-page .pl-line.bad .opt-in{border-color:#CE5049}
.nt-page .pl-ideas{display:flex;flex-direction:column;gap:8px}
.nt-page .pl-idea{display:flex;gap:10px;align-items:baseline}
.nt-page .pl-idea b{font:700 18px var(--font-display);width:24px}
.nt-page .pl-card{padding:22px 20px;border-radius:12px;text-align:center;font-family:Fraunces,Georgia,serif;font-size:16px;line-height:1.6;border:1.5px solid var(--line)}
.nt-page .pl-card b{display:block;font-size:22px;letter-spacing:.12em;margin-bottom:8px}
.nt-page .pl-card p{margin:0}
.nt-page .pl-card span{display:block;margin-top:10px;font:500 12px var(--font-mono);opacity:.7}
.nt-page .pl-card.t-leaf{background:#EEF6EA;color:#1F3B30}.nt-page .pl-card.t-sky{background:#E7F0FB;color:#1C2B50}.nt-page .pl-card.t-plain{background:#fff;color:#191E1A}
/* #27 matrix + synthesis */
.nt-page .pl-tablewrap{overflow-x:auto;border:1.5px solid var(--line);border-radius:14px}
.nt-page .pl-tablewrap .kt-table{min-width:720px}
.nt-page .pl-matrix td{font-size:13px;vertical-align:top}
.nt-page .pl-nf{color:var(--muted);font-style:italic}
.nt-page .pl-theme{background:var(--green-tint)}
.nt-page .pl-mark{display:inline-block;font:500 10.5px var(--font-mono);letter-spacing:.06em;text-transform:uppercase;padding:2px 8px;border-radius:6px;background:var(--surface2)}
.nt-page .pl-mark.m-agree{background:var(--green-tint);color:var(--green-deep)}.nt-page .pl-mark.m-disagree{background:rgba(206,80,73,.12);color:#A3443E}.nt-page .pl-mark.m-gap{background:rgba(230,170,20,.22);color:#8F6500}
.nt-page .pl-synth,.nt-page .pl-crits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.nt-page .pl-scol{padding:12px 14px;border-radius:14px;border:1.5px solid var(--line);background:var(--surface);min-width:0}
.nt-page .pl-scol h4{margin:0 0 8px;font-size:15px}
.nt-page .pl-scol ul{margin:4px 0 8px;padding-left:18px;font-size:14px}
.nt-page .pl-sgrp{margin-bottom:6px}
/* #34 hamburger, topic sentence practice */
.nt-page .pl-burger{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.nt-page .pl-layer{padding:10px 14px;border-radius:12px;border:1.5px solid var(--line)}
.nt-page .pl-layer.ltop{background:#F6E2C0;border-radius:40px 40px 12px 12px;padding-top:14px}
.nt-page .pl-layer.lbot{background:#F6E2C0;border-radius:12px 12px 40px 40px;padding-bottom:14px}
.nt-page .pl-layer.la{background:rgba(22,160,106,.12)}.nt-page .pl-layer.lb{background:rgba(206,80,73,.1)}
.nt-page .pl-layer .ps-cap{color:#3A2A14}
.nt-page .pl-ppreview{margin:0;font-family:Fraunces,Georgia,serif;font-size:15px;line-height:1.75}
.nt-page .pl-pick{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border-radius:14px;border:1.5px solid var(--line);background:var(--surface)}
.nt-page .pl-opt{text-align:left;padding:10px 12px;border-radius:10px;border:1.5px solid var(--line);background:var(--surface);font:500 15px var(--font-body);color:var(--ink);cursor:pointer}
.nt-page .pl-opt:hover{border-color:var(--green)}
.nt-page .pl-opt.right{border-color:var(--green);background:var(--green-tint)}
.nt-page .pl-opt.wrong{border-color:#CE5049;background:rgba(206,80,73,.07)}
/* #36 RACE */
.nt-page .pl-racehead{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.nt-page .pl-letterbadge{width:28px;height:28px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;font:800 15px var(--font-body);background:var(--pc-bg);color:var(--pc);border:1.5px solid var(--pc)}
/* #37 notes */
.nt-page .pl-notes td{font-size:14px;vertical-align:top}
.nt-page .pl-notes code,.nt-page .pl-stepslist code,.nt-page .pl-crits code{font:500 12px var(--font-mono);color:var(--green-deep)}
.nt-page .pl-badrow td{background:rgba(206,80,73,.05)}
.nt-page .pl-err{display:block;font:500 11px var(--font-mono);color:#A3443E}
/* #45 case + decision */
.nt-page .pl-fact{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:6px;margin-bottom:6px}
.nt-page .pl-score{width:64px;padding:6px 8px;min-height:0;text-align:center}
.nt-page .pl-dec .pl-best td{background:var(--green-tint)}
.nt-page .pl-dec .pl-best td:first-child b::after{content:" · top";font:500 10.5px var(--font-mono);color:var(--green-deep);text-transform:uppercase}
/* #49 paper */
.nt-page .pl-secs{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.nt-page .pl-sec{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:8px 12px;border-radius:10px;border:1.5px solid var(--line);background:var(--surface);font-family:var(--font-body);color:var(--ink);cursor:pointer}
.nt-page .pl-sec span{font:500 11px var(--font-mono);color:var(--muted)}
.nt-page .pl-sec.on{border-color:var(--ink);box-shadow:0 0 0 2px var(--ink) inset}
.nt-page .pl-even{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.nt-page .pl-sample{padding:14px 16px;border-radius:14px;background:var(--surface2);border:1.5px solid var(--line)}
.nt-page .pl-sample p{margin:6px 0 0;font-family:Fraunces,Georgia,serif;font-size:15px;line-height:1.7}
.nt-page .pl-margin{font:500 13px var(--font-body)!important;color:var(--green-deep)}
.nt-page .pl-ck{display:flex;flex-direction:column;gap:6px}
/* #50 proposal: timeline, budget */
.nt-page .pl-psec{padding-bottom:10px;border-bottom:1px dashed var(--line)}
.nt-page .pl-tl{display:flex;flex-direction:column;gap:8px;padding:14px;border-radius:14px;border:1.5px solid var(--line);background:var(--surface)}
.nt-page .pl-months{display:flex;justify-content:space-between;margin-left:160px;margin-right:200px;font:500 11px var(--font-mono);color:var(--muted)}
.nt-page .pl-tlrow{display:grid;grid-template-columns:150px minmax(0,1fr) 190px;gap:10px;align-items:center;font-size:14px}
.nt-page .pl-tltrack{position:relative;height:16px;border-radius:99px;background:var(--surface2)}
.nt-page .pl-tltrack i{position:absolute;top:0;height:100%;border-radius:99px;background:var(--green)}
.nt-page .pl-tldates{font:500 11.5px var(--font-mono);color:var(--muted)}
.nt-page .pl-tlrow.bad .pl-tltrack{background:rgba(206,80,73,.08)}
.nt-page .pl-num{width:90px;padding:6px 8px;min-height:0}
.nt-page .pl-budget td .opt-in:not(.pl-num){width:100%}
.nt-page .pl-sub td{color:var(--muted);font-size:13px}
.nt-page .pl-total td{border-top:1.5px solid var(--ink)}
/* #51 outline tree */
.nt-page .pl-outline{margin:6px 0 12px;padding-left:4px;list-style:none;display:flex;flex-direction:column;gap:8px}
.nt-page .pl-outline li{display:flex;flex-direction:column}
.nt-page .pl-outline ul{margin:2px 0 0;padding-left:18px;font-size:13.5px;color:var(--muted)}
.nt-page .pl-tree{list-style:none;margin:8px 0;padding:0;display:flex;flex-direction:column;gap:8px}
.nt-page .pl-node{padding:10px 12px;border-radius:12px;border:1.5px solid var(--line);background:var(--surface)}
.nt-page .pl-nhead{display:flex;align-items:center;gap:10px}
.nt-page .pl-nact{margin-left:auto;display:flex;gap:2px}
.nt-page .pl-nact .lb-x{width:26px;height:26px;font-size:15px}
.nt-page .pl-sub{list-style:none;margin:6px 0;padding:0 0 0 18px;display:flex;flex-direction:column;gap:6px}
.nt-page .pl-sub li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:2px 6px;align-items:center}
.nt-page .pl-sub li .opt-in{grid-column:2;width:100%;padding:6px 10px;min-height:0}
.nt-page .pl-subn{font:600 13px var(--font-mono);color:var(--green-deep)}
/* #52 counter */
.nt-page .pl-counters{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.nt-page .pl-counter{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border-radius:14px;border:1.5px solid var(--line);background:var(--surface)}
.nt-page .pl-counter .lb-sp{align-self:flex-start;text-transform:uppercase;font-size:11px}
.nt-page .pl-counter p{margin:0;font-size:14.5px;line-height:1.5}
.nt-page .pl-counter .lb-clear{align-self:flex-start;margin-top:auto}
.nt-page .pl-corg textarea{width:100%;min-width:160px}
.nt-page .pl-starts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}
/* #53 reflection */
.nt-page .pl-cycle{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.nt-page .pl-cnode{padding:4px 11px;border-radius:99px;background:var(--surface2);border:1.5px solid var(--line);font:600 12.5px var(--font-body)}
.nt-page .pl-cnode:not(:last-child)::after{content:" →";color:var(--muted)}
.nt-page .pl-deeper{display:flex;flex-direction:column;gap:6px;margin-top:6px}
.nt-page .pl-dq{display:flex;justify-content:space-between;gap:10px;padding:8px 12px;border-radius:10px;background:var(--surface2);font-size:14px}
.nt-page .pl-dq.pinned{background:rgba(230,170,20,.16)}
/* #63 planner */
.nt-page .pl-class{padding:4px 11px;border-radius:99px;font:600 13px var(--font-body);background:var(--surface);border:1.5px solid var(--gc)}
.nt-page .pl-addbtn{margin-left:auto}
.nt-page .pl-addform{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;align-items:end;padding:12px 14px;border-radius:14px;background:var(--surface2)}
.nt-page .pl-addform .opt-in{width:100%}
.nt-page .pl-asgs{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.nt-page .pl-asg{display:grid;grid-template-columns:28px minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:10px 12px;border-radius:12px;border:1.5px solid var(--line);border-left:5px solid var(--gc);background:var(--surface)}
.nt-page .pl-asgbody{display:flex;flex-direction:column;min-width:0}
.nt-page .pl-asg.done b{text-decoration:line-through;color:var(--muted)}
.nt-page .pl-due{font:500 12px var(--font-mono);color:var(--muted);white-space:nowrap}
.nt-page .pl-asg.over{border-color:rgba(206,80,73,.45)}
.nt-page .pl-asg.over .pl-due{color:#A3443E;font-weight:700}
.nt-page .pl-stepslist{margin:6px 0;padding-left:20px;display:flex;flex-direction:column;gap:6px;font-size:14.5px}
.nt-page .pl-stepslist li span:last-child{margin-left:8px}
.nt-page .pl-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.nt-page .pl-day{display:flex;flex-direction:column;gap:6px;min-height:130px;padding:8px;border-radius:12px;border:1.5px solid var(--line);background:var(--surface);min-width:0}
.nt-page .pl-day b{font:500 11px var(--font-mono);text-transform:uppercase;color:var(--muted)}
.nt-page .pl-day.today{border-color:var(--green);box-shadow:0 0 0 2px rgba(14,123,84,.15)}
.nt-page .pl-chip{padding:4px 7px;border-radius:7px;font-size:12px;font-weight:600;background:var(--surface2);border-left:4px solid var(--gc);overflow-wrap:anywhere}
.nt-page .pl-chip.done{text-decoration:line-through;color:var(--muted)}
.nt-page .pl-session{padding:4px 7px;border-radius:7px;font-size:12px;background:var(--green-tint);color:var(--green-deep)}
/* #65 SMART */
.nt-page .pl-smartgoal{margin:0 0 10px;font:600 17px/1.5 var(--font-display)}
.nt-page .pl-qs ol{color:var(--ink)}
.nt-page .pl-smart{display:flex;flex-direction:column;gap:8px}
.nt-page .pl-sfield{display:grid;grid-template-columns:36px minmax(0,1fr) 210px;gap:10px;align-items:end;padding:10px 12px;border-radius:12px;border:1.5px solid var(--line);background:var(--surface)}
.nt-page .pl-sfield .opt-in{width:100%}
.nt-page .pl-sletter{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;font:800 18px var(--font-body);background:var(--surface2)}
.nt-page .pl-sfield.ok .pl-sletter{background:var(--green-tint);color:var(--green-deep)}
.nt-page .pl-sfield.no .pl-sletter{background:rgba(206,80,73,.1);color:#A3443E}
.nt-page .pl-stick{font:500 11.5px var(--font-mono);padding-bottom:10px}
.nt-page .pl-sfield.ok .pl-stick{color:var(--green-deep)}.nt-page .pl-sfield.no .pl-stick{color:#A3443E}
.nt-page .pl-prog{height:12px;border-radius:99px;background:var(--surface2);overflow:hidden}
.nt-page .pl-prog i{display:block;height:100%;background:var(--green);border-radius:99px}

@media(max-width:900px){
  .nt-page .pl-pairs,.nt-page .pl-poems,.nt-page .pl-synth,.nt-page .pl-crits,.nt-page .pl-counters,.nt-page .pl-starts,.nt-page .pl-even{grid-template-columns:1fr}
  .nt-page .pl-grid4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nt-page .pl-addform{grid-template-columns:repeat(3,minmax(0,1fr))}
  .nt-page .pl-week{grid-template-columns:repeat(4,minmax(0,1fr))}
  .nt-page .pl-months{margin:0}
  .nt-page .pl-tlrow{grid-template-columns:1fr;gap:4px}
}
@media(max-width:600px){
  .nt-page .pl-grid4,.nt-page .pl-addform{grid-template-columns:1fr}
  .nt-page .pl-wide{grid-column:auto}
  .nt-page .pl-crow{grid-template-columns:1fr;gap:4px}
  .nt-page .pl-line{grid-template-columns:34px minmax(0,1fr)}
  .nt-page .pl-lmsg{grid-column:2}
  .nt-page .pl-sfield{grid-template-columns:36px minmax(0,1fr)}
  .nt-page .pl-stick{grid-column:2;padding-bottom:0}
  .nt-page .pl-asg{grid-template-columns:28px minmax(0,1fr)}
  .nt-page .pl-asg .pl-due,.nt-page .pl-asg .lb-clear{grid-column:2}
  .nt-page .pl-week{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nt-page .pl-fact{grid-template-columns:1fr}
  .nt-page .pl-bibpage{padding:16px;font-size:14px}
  .nt-page .pl-cite{padding-left:.35in;text-indent:-.35in}
  .nt-page .pl-annot{padding-left:.35in}
  .nt-page .pl-addbtn{margin-left:0}
}
/* Б: long segment switches wrap on phones, like Д */
.nt-page .pl-body .nt-level{max-width:100%;flex-wrap:wrap}

/* ===========================================================
   Brick В, family engine (New Tool Printable.dc.html, .pr-*): 21 printables. Layout = #40: .ps-main (settings |
   preview), .ps-preview + a white .pr-page at Letter (8.5:11) or A4 (1:1.414), landscape where the kind asks.
   The page is a preview: type is small on purpose, the PDF is the real size.
   =========================================================== */
.nt-page .pr-main{grid-template-columns:minmax(0,360px) minmax(0,1fr)}
.nt-page .pr-main.pr-full{grid-template-columns:1fr}
.nt-page .pr-set{display:flex;flex-direction:column;gap:14px}
.nt-page .pr-set .opt-in{width:100%}
.nt-page .pr-set .ps-seg .nt-seg{white-space:normal}
.nt-page .pr-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.nt-page .pr-ai{align-self:flex-start}
.nt-page .pr-extra{margin-top:12px}
.nt-page .pr-page{position:relative;width:100%;max-width:460px;aspect-ratio:8.5/11;overflow:hidden;padding:7% 8%;background:#fff;color:#191E1A;border-radius:2px;box-shadow:0 1px 2px rgba(0,0,0,.08),0 12px 32px rgba(25,30,26,.12);font:400 10.5px/1.55 "Times New Roman",Times,serif}
.nt-page .pr-page.a4{aspect-ratio:1/1.414}
.nt-page .pr-page.land{aspect-ratio:11/8.5;max-width:600px}
.nt-page .pr-page.a4.land{aspect-ratio:1.414/1}
.nt-page .pr-page p{margin:0 0 4px}
.nt-page .pr-ptitle{display:block;margin-bottom:8px;font:600 15px/1.25 var(--font-display);text-align:center}
.nt-page .pr-line{display:block;height:15px;border-bottom:1px solid #9AA5A0}
.nt-page .pr-nameline{display:block;margin-bottom:8px;font:500 9px var(--font-mono);color:#4E6158;text-align:right}
.nt-page .pr-foot{position:absolute;bottom:3%;right:6%;font:500 8px var(--font-mono);color:#7A8B83}
.nt-page .pr-box{display:inline-block;width:10px;height:10px;border:1.2px solid #191E1A;border-radius:2px}
.nt-page .pr-sugg{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;font-size:14px}
.nt-page .pr-sugg li{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:10px;background:var(--surface)}
.nt-page .pr-sugg .lb-clear{align-self:flex-start}
/* MLA / APA */
.nt-page .pr-mla{line-height:2}
.nt-page .pr-runhead{position:absolute;top:4%;right:8%}
.nt-page .pr-mhead p{margin:0}
.nt-page .pr-mtitle{text-align:center}
.nt-page .pr-indent{text-indent:.5in}
.nt-page .pr-hang{padding-left:.5in;text-indent:-.5in}
.nt-page .pr-bq{margin-left:.5in!important}   /* MLA 9: block quotes are indented 0.5 in (04.11 SEO pass) */
.nt-page .pr-apahead{display:flex;justify-content:space-between;position:absolute;top:4%;left:8%;right:8%}
.nt-page .pr-apatitle{margin-top:22%;text-align:center}
.nt-page .pr-apatitle b{display:block;margin-bottom:18px}
.nt-page .pr-h1{text-align:center}.nt-page .pr-h2{text-align:left}.nt-page .pr-h3 b{font-style:italic}.nt-page .pr-h4,.nt-page .pr-h5{text-indent:.5in}
/* multiplication */
.nt-page .pr-multpage{display:flex;flex-direction:column;align-items:center;padding:5%}
.nt-page .pr-mult{border-collapse:collapse;font:600 9px var(--font-body);width:100%;table-layout:fixed}
.nt-page .pr-mult th,.nt-page .pr-mult td{border:1px solid #C9D2CD;text-align:center;padding:0;height:22px}
.nt-page .pr-mult.n15 th,.nt-page .pr-mult.n15 td{height:17px;font-size:7.5px}.nt-page .pr-mult.n20 th,.nt-page .pr-mult.n20 td{height:13px;font-size:6px}
.nt-page .pr-mult th{background:#EEF2EF;font-weight:800}
.nt-page .pr-mc{cursor:pointer}
.nt-page .pr-mc.rb0{background:#FDEDEC}.nt-page .pr-mc.rb1{background:#FEF4E1}.nt-page .pr-mc.rb2{background:#FBF8DA}.nt-page .pr-mc.rb3{background:#E8F6EC}.nt-page .pr-mc.rb4{background:#E6F0FA}.nt-page .pr-mc.rb5{background:#F1EAF8}
.nt-page .pr-mult.bw .pr-mc{background:#fff}
.nt-page .pr-mc.sq{font-weight:800;box-shadow:inset 0 0 0 1.5px #191E1A}
.nt-page .pr-mc.hl{background:#FFF3C4!important}
.nt-page .pr-mc.pk{background:#16A06A!important;color:#fff}
.nt-page .pr-fact{margin:0;font:600 22px var(--font-display);color:var(--green-deep)}
.nt-page .pr-quiz{display:flex;flex-direction:column;align-items:center;gap:12px;padding:24px;border-radius:16px;background:var(--surface2);text-align:center}
.nt-page .pr-qq{margin:0;font:600 34px var(--font-display)}
.nt-page .pr-topic{font-size:24px}
.nt-page .pr-qin{max-width:160px;text-align:center;font:700 22px var(--font-body)}
.nt-page .pr-prep{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;max-width:560px;text-align:left}
/* Cornell */
.nt-page .pr-chead{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px;margin-bottom:6px;font:500 8.5px var(--font-mono)}
.nt-page .pr-cogrid{display:grid;grid-template-columns:30% 70%;height:72%;border:1px solid #191E1A}
.nt-page .pr-ccues,.nt-page .pr-cnotes{padding:6px;overflow:hidden}
.nt-page .pr-ccues{border-right:1.5px solid #CE5049}
.nt-page .pr-cornell b{display:block;font:700 9px var(--font-body);margin-bottom:4px}
.nt-page .cs-dotted .pr-line{border-bottom-style:dotted}.nt-page .cs-classic .pr-line{border-bottom-color:transparent}
.nt-page .pr-cornell.wide .pr-line{height:20px}
.nt-page .pr-csum{margin-top:6px;padding:6px;border:1px solid #191E1A;height:16%}
.nt-page .pr-recall{color:#7A8B83;font-style:italic}
/* organizers */
.nt-page .pr-ogrid{display:grid;gap:6px;height:84%}
.nt-page .pr-ogrid.n2{grid-template-columns:1fr 1fr}.nt-page .pr-ogrid.n3{grid-template-columns:repeat(3,1fr)}.nt-page .pr-ogrid.n4{grid-template-columns:1fr 1fr}
.nt-page .pr-ogrid.n5,.nt-page .pr-ogrid.n6{grid-template-columns:1fr 1fr}
.nt-page .pr-obox{padding:6px;border:1.2px solid #191E1A;border-radius:6px;overflow:hidden}
.nt-page .pr-obox b{display:block;font:700 9px var(--font-body);margin-bottom:4px}
.nt-page .pr-olist{margin:0;padding-left:14px}
.nt-page .pr-venn{position:relative;height:70%}
.nt-page .pr-circ{position:absolute;top:8%;width:58%;aspect-ratio:1;border:1.5px solid #191E1A;border-radius:50%}
.nt-page .pr-circ.a{left:2%;background:rgba(47,107,176,.06)}.nt-page .pr-circ.b{right:2%;background:rgba(22,160,106,.06)}
.nt-page .pr-vt{position:absolute;top:35%;width:26%;font-size:8.5px}
.nt-page .pr-vt.v0{left:8%}.nt-page .pr-vt.v1{left:37%;text-align:center}.nt-page .pr-vt.v2{right:8%;text-align:right}
/* book report, brag, letters */
.nt-page .pr-bfield{margin-bottom:6px}
.nt-page .pr-bfield b,.nt-page .pr-bsec b{display:block;font:700 9px var(--font-body)}
.nt-page .pr-bsec{margin-top:8px}
.nt-page .pr-draw{margin-top:8px;height:22%;border:1.2px dashed #9AA5A0;border-radius:6px;display:flex;align-items:center;justify-content:center;color:#7A8B83}
.nt-page .pr-bag{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.nt-page .pr-hint{padding:8px 12px;border-radius:10px;background:var(--green-tint);font-size:13.5px}
.nt-page .pr-hint p{margin:4px 0 0}
.nt-page .pr-actrow{display:flex;justify-content:space-between;gap:8px;align-items:center}
.nt-page .pr-letter p{margin-bottom:8px}
.nt-page .pr-sig{margin-top:14px!important}
/* exit tickets */
.nt-page .pr-slips{display:grid;gap:0;padding:4%}
.nt-page .pr-slips.per2{grid-template-rows:1fr 1fr}.nt-page .pr-slips.per4{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}
.nt-page .pr-slip{padding:8px;border:1px dashed #9AA5A0;overflow:hidden}
.nt-page .pr-slhead{display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap;font:600 8.5px var(--font-body)}
.nt-page .pr-slq p{margin:4px 0 0;font-weight:700}
/* lab */
.nt-page .pr-dtable{width:100%;border-collapse:collapse;font-size:9px}
.nt-page .pr-dtable th,.nt-page .pr-dtable td{border:1px solid #C9D2CD;padding:2px 4px;text-align:left}
.nt-page .pr-dtable th{background:#EEF2EF}
.nt-page .pr-dtable td.bad{background:#FDE2E0;color:#A3443E}
.nt-page .pr-chartwrap{margin:8px 0}
.nt-page .pr-chart{width:100%;height:auto;font-family:var(--font-body)}
.nt-page .pr-stats td{padding:4px 8px}
.nt-page .pr-stats{max-width:260px}
/* poster */
.nt-page .pr-poster{display:flex;flex-direction:column;justify-content:center;padding:9%;font-family:var(--font-body)}
.nt-page .pr-poster .pr-ptitle{font-size:22px;margin-bottom:14px}
.nt-page .pr-poster ol{margin:0;padding-left:22px;font:700 14px/1.5 var(--font-body);display:flex;flex-direction:column;gap:6px}
.nt-page .pr-poster ol.nonum{list-style:none;padding-left:0;text-align:center}
.nt-page .pr-poster li.over{color:#CE5049;outline:1.5px dashed #CE5049}
.nt-page .pr-poster.d-chalkboard{background:#1F3B30;color:#F2F5EE}
.nt-page .pr-poster.d-blocks li{padding:4px 8px;border-radius:6px;background:#FEF4E1;list-style-position:inside}
.nt-page .pr-poster.d-bulletin{background:#FFF8EC;border:8px solid #E6AA14}
.nt-page .pr-poster.d-minimal .pr-ptitle{font-family:var(--font-body);letter-spacing:.2em;text-transform:uppercase}
.nt-page .pr-sign{margin-top:16px;display:grid;grid-template-columns:1fr 1fr;gap:6px 14px}
/* choice board */
.nt-page .pr-rule{text-align:center;font:600 9px var(--font-body);color:#4E6158;margin-bottom:8px!important}
.nt-page .pr-cgrid{display:grid;gap:5px}
.nt-page .pr-cgrid.c2{grid-template-columns:1fr 1fr}.nt-page .pr-cgrid.c3{grid-template-columns:repeat(3,1fr)}.nt-page .pr-cgrid.c4{grid-template-columns:repeat(4,1fr)}
.nt-page .pr-cell{position:relative;min-height:62px;padding:6px;border:1.2px solid #191E1A;border-radius:6px;font-size:8.5px;overflow:hidden}
.nt-page .pr-cell b{display:block;font:700 9.5px var(--font-body);margin-bottom:2px;outline:0}
.nt-page .pr-cell p{outline:0}
.nt-page .pr-cell.empty{border-style:dashed;color:#9AA5A0}
.nt-page .pr-cell.free{background:#FFF3C4}
.nt-page .pr-cell .pr-box{position:absolute;right:5px;bottom:5px}
.nt-page .pr-menu{display:flex;flex-direction:column;gap:6px}
.nt-page .pr-menu > div > b{display:block;font:700 10px var(--font-body);margin:4px 0}
.nt-page .pr-unplaced{padding:10px 12px;border-radius:12px;background:rgba(230,170,20,.14)}
.nt-page .pr-unplaced ul{margin:4px 0;padding-left:18px;font-size:14px}
/* worksheets */
.nt-page .pr-probs{display:grid;grid-template-columns:repeat(3,1fr);gap:16px 10px;font:500 11px var(--font-body)}
.nt-page .pr-prob{display:flex;gap:6px;align-items:flex-start;min-height:42px}
.nt-page .pr-pn{color:#7A8B83;font-size:9px}
.nt-page .pr-ld{display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;align-items:end}
.nt-page .pr-q{grid-column:2;min-height:13px;font-weight:700;color:#0E7B54}
.nt-page .pr-dv{padding-right:3px}
.nt-page .pr-dd{border-top:1.4px solid #191E1A;border-left:1.4px solid #191E1A;border-top-left-radius:6px;padding:0 3px}
.nt-page .pr-sbody{display:flex;flex-direction:column;gap:4px;font-size:11px}
.nt-page .pr-sw{display:grid;grid-template-columns:90px 1fr;align-items:end;gap:8px}
.nt-page .pr-sw code{font:600 11px var(--font-mono);letter-spacing:.06em}
/* schedules */
.nt-page .pr-cardrow{display:grid;grid-template-columns:28px minmax(0,1fr) 80px 30px;gap:6px;align-items:center}
.nt-page .pr-ic{font-size:20px;text-align:center}
.nt-page .pr-vcards{display:flex;flex-direction:column;gap:6px}
.nt-page .l-horizontal .pr-vcards{flex-direction:row;flex-wrap:wrap}
.nt-page .l-grid .pr-vcards{display:grid;grid-template-columns:repeat(3,1fr)}
.nt-page .pr-vcard{display:flex;align-items:center;gap:8px;padding:6px 8px;border:1.5px solid #191E1A;border-radius:8px;font:700 10px var(--font-body)}
.nt-page .l-horizontal .pr-vcard,.nt-page .l-grid .pr-vcard{flex-direction:column;justify-content:center;text-align:center;min-width:54px}
.nt-page .pr-vcard span{font-weight:400}
.nt-page .pr-vic{font-size:20px}
.nt-page .sz-L .pr-vic{font-size:28px}.nt-page .sz-S .pr-vic{font-size:14px}
.nt-page .pr-nn{display:flex;align-items:center;justify-content:center;gap:14px}
.nt-page .pr-nncard{display:flex;flex-direction:column;align-items:center;gap:6px;width:40%;padding:16px;border:2px solid #191E1A;border-radius:12px;font:700 14px var(--font-body)}
.nt-page .pr-nncard .pr-vic{font-size:44px}
.nt-page .pr-arrow{font-size:30px}
.nt-page .pr-wgrid{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;height:84%}
.nt-page .pr-wday{display:flex;flex-direction:column;font:700 9px var(--font-body);text-align:center}
.nt-page .pr-wcol{position:relative;flex:1;border:1px solid #C9D2CD;border-radius:4px}
.nt-page .pr-wblock{position:absolute;left:2px;right:2px;padding:2px;border-radius:4px;background:var(--surface2);border-left:3px solid var(--gc);font:600 7.5px var(--font-body);overflow:hidden;text-align:left}
.nt-page .pr-wblock.clash{background:#FDE2E0;outline:1.5px solid #CE5049}
/* meet the teacher */
.nt-page .pr-meet{font-family:var(--font-body)}
.nt-page .pr-photo{width:28%;aspect-ratio:1;margin:0 auto 8px;border-radius:50%;background:#EEF2EF;display:flex;align-items:center;justify-content:center;color:#7A8B83;font:500 9px var(--font-mono)}
.nt-page .d-polaroid .pr-photo{border-radius:4px;border:6px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.nt-page .pr-msub{text-align:center;color:#4E6158}
.nt-page .pr-mfacts{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px}
.nt-page .pr-mfacts div{padding:5px 6px;border-radius:6px;background:#F3F6F1}
.nt-page .pr-mfacts span{display:block;font:500 7.5px var(--font-mono);text-transform:uppercase;color:#7A8B83}
.nt-page .pr-mfacts b{font-size:9.5px}
.nt-page .pr-mabout{margin-top:8px!important;font-style:italic}
.nt-page .pr-meet.d-chalkboard{background:#1F3B30;color:#F2F5EE}.nt-page .pr-meet.d-chalkboard .pr-mfacts div{background:rgba(255,255,255,.08)}
.nt-page .pr-meet.d-brightblocks .pr-mfacts div:nth-child(odd){background:#FEF4E1}.nt-page .pr-meet.d-brightblocks .pr-mfacts div:nth-child(even){background:#E6F0FA}
/* word search */
.nt-page .pr-wsgrid{margin:0 auto 8px;border-collapse:collapse;font:600 10px var(--font-mono)}
.nt-page .pr-wsgrid td{width:16px;height:16px;text-align:center;padding:0}
.nt-page .pr-wsgrid.n20 td,.nt-page .pr-wsgrid.n25 td{width:11px;height:11px;font-size:7.5px}
.nt-page .pr-wsgrid td.on{background:#FFE08A;border-radius:3px}
.nt-page .pr-wslist{display:flex;flex-wrap:wrap;gap:4px 12px;justify-content:center;font:600 9px var(--font-body)}
/* syllabus, speech, plot */
.nt-page .pr-syll{font-family:var(--font-body);font-size:9.5px}
.nt-page .pr-off td{color:#9AA5A0;text-decoration:line-through}
.nt-page .pr-wrow{display:grid;grid-template-columns:minmax(0,1fr) 90px 20px;gap:6px;align-items:center}
.nt-page .pr-srow{display:grid;grid-template-columns:110px minmax(0,1fr) 72px 26px;gap:6px;align-items:center;font-size:13px}
.nt-page .pr-timebar{height:10px;border-radius:99px;background:var(--surface2);overflow:hidden}
.nt-page .pr-timebar i{display:block;height:100%;background:var(--green)}
.nt-page .pr-timebar i.over{background:#CE5049}
.nt-page .pr-speech ol{margin:0;padding-left:16px;font-family:var(--font-body)}
.nt-page .pr-cuegrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.nt-page .pr-cue{display:flex;flex-direction:column;gap:3px;aspect-ratio:5/3;padding:8px;border:1px solid #9AA5A0;border-radius:4px;font:400 9.5px var(--font-body);overflow:hidden}
.nt-page .c-4x6 .pr-cue{aspect-ratio:6/4}
.nt-page .pr-cue span{font:500 7.5px var(--font-mono);color:#7A8B83}
.nt-page .pr-pyrwrap{position:relative;height:62%}
.nt-page .pr-pyrsvg{position:absolute;inset:18% 0 0 0}
.nt-page .pr-pyrsvg svg{width:100%;height:100%}
.nt-page .pr-pbox{position:absolute;width:26%;padding:4px;font:400 8px var(--font-body);background:#fff;border:1px solid #191E1A;border-radius:5px}
.nt-page .pr-pbox b{display:block;font:700 8.5px var(--font-body)}
.nt-page .b-ex{left:0;bottom:0}.nt-page .b-ri{left:16%;top:30%}.nt-page .b-cl{left:37%;top:0}.nt-page .b-fa{right:16%;top:30%}.nt-page .b-re{right:0;bottom:0}
.nt-page .b-co{position:static;width:auto;margin-top:10px}
.nt-page .pr-trow{display:grid;grid-template-columns:110px minmax(0,1fr);gap:6px}
.nt-page .pr-webg{position:relative;height:80%}
.nt-page .pr-webc{position:absolute;left:35%;top:40%;width:30%;padding:10px;border:2px solid #191E1A;border-radius:50%;text-align:center;font:700 12px var(--font-display)}
.nt-page .pr-webt{position:absolute;width:28%;padding:5px;border:1px solid #191E1A;border-radius:8px;font-size:8.5px}
.nt-page .pr-webt b{display:block;font:700 9px var(--font-body)}
.nt-page .pr-webt.t0{left:0;top:0}.nt-page .pr-webt.t1{right:0;top:0}.nt-page .pr-webt.t2{left:0;bottom:0}.nt-page .pr-webt.t3{right:0;bottom:0}.nt-page .pr-webt.t4{left:36%;top:0}.nt-page .pr-webt.t5{left:36%;bottom:0}.nt-page .pr-webt.t6{left:0;top:42%}.nt-page .pr-webt.t7{right:0;top:42%}
/* cover page */
.nt-page .pr-cover{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px}
.nt-page .pr-cover.f-sans{font-family:var(--font-body)}
.nt-page .pr-cover.b-thin{box-shadow:inset 0 0 0 10px #fff,inset 0 0 0 11.5px #191E1A,0 12px 32px rgba(25,30,26,.12)}
.nt-page .pr-cover.b-double{box-shadow:inset 0 0 0 10px #fff,inset 0 0 0 11.5px #191E1A,inset 0 0 0 14px #fff,inset 0 0 0 15px #191E1A,0 12px 32px rgba(25,30,26,.12)}
.nt-page .pr-ctitle{font-size:20px;line-height:1.2}
.nt-page .pr-ctitle.small{font-size:14px}
.nt-page .pr-ctitle.over{color:#CE5049}
.nt-page .pr-csub{font-style:italic}
.nt-page .pr-cmeta{margin-top:18%}
.nt-page .pr-cover.l-modern{align-items:flex-start;text-align:left;justify-content:flex-end}
.nt-page .pr-cover.l-minimal .pr-cmeta{margin-top:auto}
.nt-page .pr-cover.l-schoolreport{background:linear-gradient(#EAF2EC 0 18%,#fff 18%)}
.nt-page .pr-img{width:50%;aspect-ratio:4/3;border-radius:6px}
/* reading log */
.nt-page .pr-logt td{height:16px}
.nt-page .pr-month{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.nt-page .pr-month span{aspect-ratio:1;border:1px solid #C9D2CD;font:500 8px var(--font-mono);padding:2px}
.nt-page .pr-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.nt-page .pr-totals div{display:flex;flex-direction:column;padding:12px 14px;border-radius:14px;background:var(--green-tint)}
.nt-page .pr-totals b{font:600 26px var(--font-display);color:var(--green-deep)}
.nt-page .pr-rn .opt-in{width:100%;min-width:90px;padding:6px 8px;min-height:0}
/* rubric */
.nt-page .pr-rub{width:100%;border-collapse:collapse;font:400 8px/1.4 var(--font-body)}
.nt-page .pr-rub th,.nt-page .pr-rub td{border:1px solid #9AA5A0;padding:4px;vertical-align:top;text-align:left}
.nt-page .pr-rub thead th{background:#EEF2EF;font-weight:700}
.nt-page .pr-rub tbody th{width:16%;font-weight:700}
.nt-page .pr-rub td{outline:0}
.nt-page .pr-rub.sp td{height:44px}
.nt-page .pr-ctable .opt-in{padding:4px 6px;min-height:0}

@media(max-width:900px){
  .nt-page .pr-main{grid-template-columns:1fr}
  .nt-page .pr-page{max-width:520px;margin:0 auto}
}
@media(max-width:600px){
  .nt-page .pr-grid2,.nt-page .pr-prep,.nt-page .pr-totals{grid-template-columns:1fr}
  .nt-page .pr-srow{grid-template-columns:minmax(0,1fr) 72px 26px}
  .nt-page .pr-srow b{grid-column:1/-1}
  .nt-page .pr-cardrow{grid-template-columns:28px minmax(0,1fr) 70px 30px}
  .nt-page .pr-page{font-size:9px}
  .nt-page .pr-probs{grid-template-columns:repeat(2,1fr)}
  .nt-page .pr-body .nt-level{max-width:100%;flex-wrap:wrap}
}
.nt-page .pr-set .pl-tablewrap .kt-table{min-width:0}
.nt-page .pr-ctable th,.nt-page .pr-ctable td{padding:4px 6px}

/* #78 AI Image Detector (Kit engine, kind imgcheck): our layer over Dima's imgverify. The verdict never turns green:
   «No AI signs» is neutral, because no sign is not proof. Colors per level: ai red, likely amber, clear / unsure gray. */
.nt-page .kt-iin{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:16px;align-items:stretch}
.nt-page .kt-idrop{min-height:180px;width:100%;cursor:pointer;font-family:var(--font-body);color:var(--ink)}
.nt-page .kt-idrop b{font-size:16px}
.nt-page .kt-idrop span{font-size:13px;color:var(--muted)}
.nt-page .kt-idrop.bad{border-color:#CE5049}
.nt-page .kt-iopts{display:flex;flex-direction:column;gap:10px;justify-content:center;padding:14px 16px;border-radius:14px;background:var(--surface2)}
.nt-page .kt-ierr p{margin:4px 0 0;font-weight:400;color:var(--ink)}
.nt-page .kt-iverdict{display:grid;grid-template-columns:110px minmax(0,1fr) 120px;gap:18px;align-items:center;padding:18px 20px;border-radius:16px;border:1.5px solid var(--vb);background:var(--vbg)}
.nt-page .v-ai{--vb:rgba(206,80,73,.35);--vbg:rgba(206,80,73,.06);--vc:#A3443E}
.nt-page .v-likely{--vb:rgba(201,138,0,.4);--vbg:rgba(230,170,20,.09);--vc:#8F6500}
.nt-page .v-clear,.nt-page .v-unsure{--vb:var(--line);--vbg:var(--surface2);--vc:var(--muted)}
.nt-page .kt-ithumb{aspect-ratio:1;border-radius:12px;background:linear-gradient(135deg,#C9D9E8,#E9D6C2 55%,#B9D3C0);border:1.5px solid var(--line)}
.nt-page .kt-ilevel{font:500 10.5px var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--vc)}
.nt-page .kt-ivtext h3{margin:4px 0 4px;font:600 22px/1.25 var(--font-display);letter-spacing:-.01em}
.nt-page .kt-ivtext p{margin:0;font-size:14.5px;line-height:1.55}
.nt-page .kt-igen{margin-top:6px!important}
.nt-page .kt-ifile{display:block;margin-top:6px;font:500 11.5px var(--font-mono);color:var(--muted)}
.nt-page .kt-ipct{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}
.nt-page .kt-ipct b{font:600 34px/1 var(--font-display);color:var(--vc)}
.nt-page .kt-ipct span{font:500 10.5px var(--font-mono);text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.nt-page .kt-ibar{display:block;width:100%;height:6px;border-radius:99px;background:var(--line);overflow:hidden}
.nt-page .kt-ibar i{display:block;height:100%;background:var(--vc)}
.nt-page .kt-ilayers{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}
.nt-page .kt-ilayer{display:grid;grid-template-columns:minmax(0,1.1fr) 130px minmax(0,1.3fr);gap:12px;align-items:center;padding:10px 14px;border-radius:12px;border:1.5px solid var(--line);background:var(--surface)}
.nt-page .kt-ilayer > div{display:flex;flex-direction:column}
.nt-page .kt-ilayer p{margin:0;font-size:14px}
.nt-page .kt-ichip{justify-self:start;font:500 10.5px var(--font-mono);letter-spacing:.05em;text-transform:uppercase;padding:3px 8px;border-radius:6px;background:var(--surface2);color:var(--muted)}
.nt-page .kt-ilayer.s-f .kt-ichip{background:rgba(206,80,73,.12);color:#A3443E}
.nt-page .kt-ilayer.s-u .kt-ichip{background:rgba(230,170,20,.18);color:#8F6500}
.nt-page .kt-ilayer.s-i .kt-ichip{background:rgba(47,107,176,.12);color:#2F6BB0}
.nt-page .kt-inotes{margin:10px 0 0;padding-left:18px;font-size:14px;color:#8F6500}
.nt-page .kt-idisc{margin:12px 0 0;font-size:13px;color:var(--muted)}
.nt-page .kt-imore{display:flex;gap:16px;margin-top:10px}
.nt-page .kt-itech{margin-top:10px;max-width:640px}
.nt-page .kt-iaids{margin-top:10px}
.nt-page .kt-iaidg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.nt-page .kt-iaidg figure{margin:0;display:flex;flex-direction:column;gap:4px;font-size:12.5px;color:var(--muted)}
.nt-page .kt-iaid{display:block;aspect-ratio:4/3;border-radius:10px;background:#1B231E}
.nt-page .kt-iaid.a0{background:repeating-linear-gradient(45deg,#26302A 0 6px,#33423A 6px 12px)}
.nt-page .kt-iaid.a1{background:radial-gradient(circle,#55665D 1px,#1B231E 1.5px) 0 0/6px 6px}
.nt-page .kt-iaid.a2{background:radial-gradient(circle at 50% 50%,#9FB3A8 0 4%,#1B231E 30%),linear-gradient(90deg,transparent 49.5%,#55665D 50%,transparent 50.5%)}
@media(max-width:900px){
  .nt-page .kt-iin{grid-template-columns:1fr}
  .nt-page .kt-iverdict{grid-template-columns:80px minmax(0,1fr)}
  .nt-page .kt-ipct{grid-column:1/-1;flex-direction:row;justify-content:flex-start;gap:10px}
  .nt-page .kt-ipct .kt-ibar{max-width:200px}
}
@media(max-width:600px){
  .nt-page .kt-iverdict{grid-template-columns:1fr;padding:16px}
  .nt-page .kt-ithumb{width:72px}
  .nt-page .kt-ilayer{grid-template-columns:1fr;gap:4px}
  .nt-page .kt-iaidg{grid-template-columns:1fr 1fr}
}
/* #78 tidy (Cos 29.10): the drop zone stays and takes the next file; options in one row under it; after a result the
   zone shrinks to a slim strip so the verdict is the first thing you see */
.nt-page .kt-iin{grid-template-columns:1fr;gap:10px}
.nt-page .kt-iopts{flex-direction:row;flex-wrap:wrap;gap:8px 22px;padding:0;background:none;justify-content:flex-start}
/* (29.10, Cos) the zone keeps its full height after a result — only its text changes */
/* #78 layer rows with mood (Cos 29.10): an AI sign gets a dark-red title and a red edge; «Nothing found» a calm green chip
   (this layer is clean — the overall verdict still never turns green) */
.nt-page .kt-ilayer.s-f{border-color:rgba(206,80,73,.35);box-shadow:inset 4px 0 0 #CE5049;background:rgba(206,80,73,.035)}
.nt-page .kt-ilayer.s-f b{color:#A3443E}
.nt-page .kt-ilayer.s-u{box-shadow:inset 4px 0 0 #E6AA14}
.nt-page .kt-ilayer.s-n .kt-ichip{background:var(--green-tint);color:var(--green-deep)}
.nt-page .kt-ilayer.s-n p{color:var(--muted)}
/* #78 layers as a table (Cos 29.10): no row boxes, hairline dividers; color lives only in the pill and the title */
.nt-page .kt-ilayers{gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.nt-page .kt-ilayer,.nt-page .kt-ilayer.s-f,.nt-page .kt-ilayer.s-u{border:0;border-radius:0;background:none;box-shadow:none;padding:12px 4px}
.nt-page .kt-ilayer + .kt-ilayer{border-top:1px solid var(--line)}
.nt-page .kt-ilayer.s-f b{color:var(--ink)}   /* Cos 29.10: titles back to ink, color stays in the pill only */
/* #78 technical details + visual aids as weighted sections (Cos 29.10) */
.nt-page .kt-isec{margin-top:12px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface)}
.nt-page .kt-isech{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border:0;background:none;cursor:pointer;text-align:left;font-family:var(--font-body);color:var(--ink)}
.nt-page .kt-isech > span{display:flex;flex-direction:column;gap:2px}
.nt-page .kt-isech b{font:700 16px var(--font-body)}
.nt-page .kt-isech > span > span{font-size:13.5px;color:var(--muted)}
.nt-page .kt-isech:hover b{color:var(--green-deep)}
.nt-page .kt-isech:focus-visible{outline:3px solid rgba(14,123,84,.4);outline-offset:2px;border-radius:14px}
.nt-page .kt-ichev{flex:none;width:10px;height:10px;border-right:2px solid var(--ink);border-bottom:2px solid var(--ink);transform:rotate(45deg);margin-top:-4px;transition:transform .2s}
.nt-page .kt-isec.open .kt-ichev{transform:rotate(-135deg);margin-top:4px}
.nt-page .kt-isec .kt-itech{margin:0;max-width:none;border-top:1px solid var(--line)}
.nt-page .kt-itech th{width:180px;text-align:left;font:500 10.5px var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:9px 18px;border-bottom:1px solid var(--line)}
.nt-page .kt-itech td{padding:9px 18px 9px 0;font-size:14px}
.nt-page .kt-isec .kt-iaids{margin:0;padding:14px 18px 18px;border-top:1px solid var(--line)}
.nt-page .kt-iaidg figcaption{display:flex;flex-direction:column;gap:2px;font-size:13px;line-height:1.45}
.nt-page .kt-iaidg figcaption b{color:var(--ink);font-size:13.5px}
@media(max-width:600px){.nt-page .kt-itech th{width:auto;padding:8px 10px}.nt-page .kt-itech td{padding:8px 10px 8px 0}}
/* #78 three blocks, PageSpeed-like (Cos 29.10): block titles are bigger than the items inside; the open body sits on the
   drop zone's grey so the content separates from the white card */
.nt-page .kt-isec{overflow:hidden}
.nt-page .kt-isech{padding:16px 20px}
.nt-page .kt-isech b{font:600 19px/1.25 var(--font-display);letter-spacing:-.01em}
.nt-page .kt-isecb{background:var(--surface2);border-top:1px solid var(--line)}
.nt-page .kt-isecb .kt-ilayers{margin:0;border:0}
.nt-page .kt-isecb .kt-ilayer{padding:12px 20px}
.nt-page .kt-ilayer b{font-size:15px}
.nt-page .kt-isec .kt-isecb .kt-itech{border-top:0}
.nt-page .kt-isecb .kt-itech th,.nt-page .kt-isecb .kt-itech td{background:none;border-bottom-color:var(--line)}
.nt-page .kt-isecb.kt-iaids{padding:16px 20px 20px;border-top:1px solid var(--line)}
.nt-page .kt-isec + .kt-idisc{margin-top:14px}
/* GLOBAL FIX (Cos 29.10): the Download menu was cut off by .tool{overflow:hidden} from the 99 baseline (kept as is — 99 files
   are read-only for the 77). The action bar is always at the bottom of the tool card, so its menu opens upward. */
.nt-page .nt-actions .nt-dl-menu{top:auto;bottom:calc(100% + 6px);box-shadow:0 -8px 24px rgba(25,30,26,.12)}
/* #78 verdict card, bigger (Cos 29.10): title 28, score 46, photo = full card height; Copy / PDF / JSON as quiet links under a hairline */
.nt-page .kt-iverdict{grid-template-columns:170px minmax(0,1fr) 150px;gap:24px;padding:20px 24px 20px 20px;align-items:stretch}
.nt-page .kt-ithumb{aspect-ratio:auto;min-height:170px;align-self:stretch}
.nt-page .kt-ivtext,.nt-page .kt-ipct{align-self:center}
.nt-page .kt-ivtext h3{font-size:28px;margin:6px 0}
.nt-page .kt-ipct b{font-size:46px}
.nt-page .kt-iact{display:flex;gap:6px 22px;flex-wrap:wrap;margin-top:14px;padding-top:12px;border-top:1px solid var(--vb)}
.nt-page .kt-ilink{display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:500;color:var(--ink);text-decoration:underline dotted;text-decoration-color:var(--muted);text-underline-offset:4px}
.nt-page .kt-ilink:hover{text-decoration-style:solid;text-decoration-color:var(--ink)}
.nt-page .kt-ilink::before{content:"";width:16px;height:16px;flex:none;background:var(--muted);-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
.nt-page .kt-ilink[data-ic=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-linejoin='round'%3E%3Crect x='9' y='9' width='12' height='12' rx='2'/%3E%3Cpath d='M5 15H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1'/%3E%3C/svg%3E")}
.nt-page .kt-ilink[data-ic=pdf]{--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%3Cpath d='M14 3H6a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V8z'/%3E%3Cpath d='M14 3v5h5M12 11v6m-3-3 3 3 3-3'/%3E%3C/svg%3E")}
.nt-page .kt-ilink[data-ic=json]{--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%3Cpath d='M8 4H7a2 2 0 0 0-2 2v4l-2 2 2 2v4a2 2 0 0 0 2 2h1M16 4h1a2 2 0 0 1 2 2v4l2 2-2 2v4a2 2 0 0 1-2 2h-1'/%3E%3C/svg%3E")}
@media(max-width:900px){.nt-page .kt-iverdict{grid-template-columns:130px minmax(0,1fr)}.nt-page .kt-ithumb{min-height:130px}}
@media(max-width:600px){.nt-page .kt-iverdict{grid-template-columns:1fr}.nt-page .kt-ithumb{width:110px;min-height:0;aspect-ratio:1;align-self:start}.nt-page .kt-ivtext h3{font-size:24px}.nt-page .kt-ipct b{font-size:38px}}
/* #78: links on their own row across text + score; the score centres on the text block, not the whole card */
.nt-page .kt-iverdict{grid-template-rows:1fr auto;row-gap:0}
.nt-page .kt-ithumb{grid-column:1;grid-row:1/3}
.nt-page .kt-ivtext{grid-column:2;grid-row:1}
.nt-page .kt-ipct{grid-column:3;grid-row:1}
.nt-page .kt-iact{grid-column:2/4;grid-row:2}
@media(max-width:900px){.nt-page .kt-iverdict{grid-template-rows:auto}.nt-page .kt-ipct{grid-column:2;grid-row:2;justify-self:start}.nt-page .kt-iact{grid-column:2;grid-row:3}.nt-page .kt-ithumb{grid-row:1/4}}
@media(max-width:600px){.nt-page .kt-ithumb,.nt-page .kt-ivtext,.nt-page .kt-ipct,.nt-page .kt-iact{grid-column:1;grid-row:auto}}
/* #78 score ring (Cos 29.10, trying it out; RING = false in v_imgcheck brings the bar back) */
.nt-page .kt-iring{gap:8px}
.nt-page .kt-idial{position:relative;width:124px;height:124px;flex:none}
.nt-page .kt-idial svg{display:block;width:100%;height:100%}
.nt-page .kt-iring-bg{fill:color-mix(in srgb,var(--vc) 9%,transparent);stroke:none}
.nt-page .kt-iring-fg{fill:none;stroke:var(--vc);stroke-width:5.5;stroke-linecap:round}
.nt-page .kt-idial b{position:absolute;inset:0;display:grid;place-items:center;font:600 36px/1 var(--font-display);color:var(--vc)}
.nt-page .kt-iring.na .kt-iring-bg{fill:none;stroke:var(--line);stroke-width:5.5}
.nt-page .kt-iring.na .kt-idial b{color:var(--muted)}
@media(max-width:900px){.nt-page .kt-idial{width:96px;height:96px}.nt-page .kt-idial b{font-size:28px}.nt-page .kt-iring{gap:12px}}
/* #78 verdict typography (Cos 29.10): one card height for every verdict, text starts at the top, file name as the eyebrow */
.nt-page .kt-iverdict{grid-template-rows:minmax(138px,auto) auto;padding:20px 24px 18px 20px}
.nt-page .kt-ithumb{min-height:0}
.nt-page .kt-ivtext{align-self:start;padding-top:4px}
.nt-page .kt-ivtext .kt-ifile{display:block;margin:0;font:500 11.5px/1.4 var(--font-mono);letter-spacing:.02em;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nt-page .kt-ivtext h3{margin:8px 0 8px;line-height:1.2}
.nt-page .kt-ivtext p{font-size:15px;line-height:1.55;max-width:60ch}
.nt-page .kt-ivtext p b{font-weight:600;color:var(--ink)}
.nt-page .kt-iact{margin-top:16px;padding-top:14px}
@media(max-width:900px){.nt-page .kt-iverdict{grid-template-rows:auto}}
/* #78 quality notes inside «What we checked» (Cos 29.10): own caption, same rows as the checks */
.nt-page .kt-iqual{border-top:1px solid var(--line)}
.nt-page .kt-iqcap{display:block;padding:14px 20px 4px;font:500 11px var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
/* #78: the verdict card gets the same 24px below as above (dashed rule → card); the blocks keep 12px between them (Cos 29.10) */
.nt-page .kt-iverdict + .kt-isec{margin-top:24px}
/* #78 mini verdict (Cos 29.10, trying it out): a zero-height sticky rail at the top of the result; the bar fades in
   while the big card is out of view. Sticky needs overflow:clip on .tool / .hero (hidden makes them scroll boxes). */
.nt-page .tool:has(.kt-imini),.nt-page .hero:has(.kt-imini){overflow:clip}
.nt-page .kt-imini{position:sticky;top:99px;height:0;z-index:6}
.nt-page .kt-iminib{position:absolute;left:0;right:0;top:8px;display:flex;align-items:center;gap:12px;padding:8px 14px 8px 8px;border-radius:12px;border:1.5px solid var(--vb);background:var(--vbg);box-shadow:0 8px 24px rgba(25,30,26,.12);font:inherit;text-align:left;cursor:pointer;opacity:0;transform:translateY(-6px);pointer-events:none;transition:opacity .18s,transform .18s}
.nt-page .kt-imini.on .kt-iminib{opacity:1;transform:none;pointer-events:auto}
.nt-page .kt-iminib .kt-ithumb{width:40px;height:40px;min-height:0;flex:none;border-radius:8px;aspect-ratio:1}
.nt-page .kt-iminit{display:flex;flex-direction:column;min-width:0;flex:1}
.nt-page .kt-iminit b{font:600 17px/1.25 var(--font-display);color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nt-page .kt-iminit span{font:500 11px/1.4 var(--font-mono);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nt-page .kt-iminip{flex:none;font:600 22px/1 var(--font-display);color:var(--vc)}
.nt-page .kt-iminip.na{color:var(--muted)}
.nt-page .kt-iminiu{flex:none;width:14px;height:14px;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='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 15 6-6 6 6'/%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='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 15 6-6 6 6'/%3E%3C/svg%3E") center/contain no-repeat}
@media(max-width:900px){.nt-page .kt-imini{top:57px}}
@media(max-width:720px){.nt-page .kt-imini{top:0}.nt-page .kt-iminib{left:-6px;right:-6px}}
.nt-page .kt-iminib{background:linear-gradient(var(--vbg),var(--vbg)),var(--surface)}   /* opaque: rows must not show through */
@media(max-width:600px){.nt-page .kt-iminib{gap:10px;padding:6px 10px 6px 6px}.nt-page .kt-iminib .kt-ithumb{width:34px;height:34px}.nt-page .kt-iminit b{font-size:15px}.nt-page .kt-iminit span{display:none}.nt-page .kt-iminip{font-size:19px}}
/* #78 mini verdict >720 (Cos 29.10): flush under the header, across the white work area (.tool), contents on the result column */
@media(min-width:721px){
  .nt-page .kt-iminib{top:0;left:calc(-1 * var(--ml,0px));right:auto;width:var(--mw,100vw);padding:10px calc(var(--mw,100vw) - var(--ml,0px) - var(--cw,100%)) 10px var(--ml,0px);border:0;border-bottom:1.5px solid var(--vb);border-radius:0;box-shadow:0 6px 18px rgba(25,30,26,.08)}
}
/* #78 result without a drop zone (Cos 29.10): the verdict card stands in its place and is the drop target;
   order card → dashed rule → blocks; «Check another image» = dark button at the right of the links row */
.nt-page .kt-iverdict{position:relative}
.nt-page .kt-ires > .kt-imini + .kt-isec{margin-top:0}
.nt-page .kt-iact{align-items:center}
.nt-page .kt-ianother{margin-left:auto;border:0;border-radius:10px;padding:10px 18px;background:var(--ink);color:#fff;font:600 14.5px var(--font-body);cursor:pointer}
.nt-page .kt-ianother:hover{background:#000}
.nt-page .kt-iverdict.drop-on{outline:2px dashed var(--vc);outline-offset:-8px}
.nt-page .kt-iverdict.drop-on::after{content:attr(data-drop);position:absolute;inset:0;display:grid;place-items:center;border-radius:inherit;background:color-mix(in srgb,var(--surface) 82%,transparent);font:600 19px var(--font-display);color:var(--ink);pointer-events:none}
@media(max-width:600px){.nt-page .kt-ianother{margin-left:0;width:100%;margin-top:4px}}
.nt-page .kt-ianother{border-radius:99px;padding:10px 20px}   /* round, like the site's pill buttons (Cos 29.10) */
.nt-page .kt-iverdict + .kt-ires{margin-top:10px}   /* + the pane gap 14 = 24, same as under the dashed rule (Cos 29.10) */
/* #78 checking = skeleton of the verdict card (Cos 29.10): neutral colours, shimmering bars, same grid and height */
.nt-page .kt-iskel{--vb:var(--line);--vbg:var(--surface);--vc:var(--muted)}
.nt-page .kt-iskel .kt-ithumb,.nt-page .kt-isk{background:linear-gradient(90deg,var(--surface2) 0%,#ECEAE2 40%,var(--surface2) 80%) 0 0/300% 100%;animation:kt-shim 1.4s linear infinite}
.nt-page .kt-iskel .kt-ithumb{border-color:transparent}
.nt-page .kt-isk{display:block;height:14px;border-radius:7px;margin-top:10px;width:88%}
.nt-page .kt-isk.h{height:26px;width:55%;margin-top:12px;border-radius:8px}
.nt-page .kt-isk.s{width:60%}
.nt-page .kt-isk.c{width:80px;height:10px;margin:0 auto}
.nt-page .kt-iact .kt-isk{margin:0}
.nt-page .kt-isk.l{width:92px;height:12px}
.nt-page .kt-isk.p{width:170px;height:40px;border-radius:99px;margin-left:auto}
.nt-page .kt-iskel .kt-ifile{color:var(--ink);white-space:normal}
@keyframes kt-shim{from{background-position:100% 0}to{background-position:-200% 0}}
@media(prefers-reduced-motion:reduce){.nt-page .kt-iskel .kt-ithumb,.nt-page .kt-isk{animation:none}}
@media(max-width:600px){.nt-page .kt-isk.p{width:100%;margin-top:4px}}
/* #78 empty drop zone = the size of the coming card (Cos 29.10) — skeleton and card get the same minimum, so
   empty → checking → result never jumps (≥601; on phones the stacked card is too tall to copy) */
@media(min-width:901px){.nt-page .kt-idrop,.nt-page .kt-iverdict{min-height:257px}}
@media(min-width:601px) and (max-width:900px){.nt-page .kt-idrop,.nt-page .kt-iverdict{min-height:352px}}
@media(max-width:600px){.nt-page .kt-idrop{min-height:240px}}
/* photo icon above the text: says what goes in */
.nt-page .kt-idrop{gap:6px}
.nt-page .kt-idropic{display:block;width:44px;height:44px;margin-bottom:8px;background:var(--muted);-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat;--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='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='3'/%3E%3Ccircle cx='9' cy='10' r='1.8'/%3E%3Cpath d='m21 16-4.6-4.6a1.5 1.5 0 0 0-2.1 0L5 20.5'/%3E%3C/svg%3E")}
.nt-page .kt-idrop:hover .kt-idropic{background:var(--green-deep)}
/* #78 drop icon redrawn (the mountain ran past the frame), bigger and quieter; skeleton on the drop-zone grey (Cos 29.10) */
.nt-page .kt-idropic{width:54px;height:54px;opacity:.45;--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='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.1-3.1a2 2 0 0 0-2.8 0L6 21'/%3E%3C/svg%3E")}
.nt-page .kt-idrop:hover .kt-idropic{opacity:.8}
.nt-page .kt-iskel{--vbg:var(--surface2)}
.nt-page .kt-iskel .kt-ithumb,.nt-page .kt-isk{background-image:linear-gradient(90deg,#E6E4DB 0%,#F2F0E9 40%,#E6E4DB 80%)}
/* #78 skeleton shows the real preview at once (the file is local, nothing to wait for) with a light sweep over it (Cos 29.10) */
.nt-page .kt-iskel .kt-ithumb{position:relative;overflow:hidden;animation:none;background:linear-gradient(135deg,#C9D9E8,#E9D6C2 55%,#B9D3C0);border-color:var(--line)}
.nt-page .kt-iskel .kt-ithumb::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.55) 50%,transparent 70%) 0 0/250% 100%;animation:kt-shim 1.4s linear infinite}
@media(prefers-reduced-motion:reduce){.nt-page .kt-iskel .kt-ithumb::after{animation:none;opacity:0}}
/* #78 skeleton heading «Analyzing…» in the card's heading font, the same sweep runs through the letters (Cos 29.10) */
.nt-page .kt-iskel .kt-ifile{color:var(--muted);white-space:nowrap}
.nt-page .kt-iskh{color:transparent;background:linear-gradient(90deg,#A9A69B 0%,#E2DFD5 40%,#A9A69B 80%) 0 0/300% 100%;-webkit-background-clip:text;background-clip:text;animation:kt-shim 1.4s linear infinite}
.nt-page .kt-iskh + .kt-isk{margin-top:12px}
@media(prefers-reduced-motion:reduce){.nt-page .kt-iskh{animation:none;color:var(--muted);background:none}}
/* #78 «Analyzing…»: dark as the card heading, a soft light band glides through it (Cos 29.10: smooth, not blinking) */
.nt-page .kt-iskh{background:linear-gradient(90deg,var(--ink) 0%,var(--ink) 35%,#B5B2A8 50%,var(--ink) 65%,var(--ink) 100%) 0 0/250% 100%;-webkit-background-clip:text;background-clip:text;animation:kt-glide 2.2s ease-in-out infinite}
@keyframes kt-glide{from{background-position:100% 0}to{background-position:0 0}}
@media(prefers-reduced-motion:reduce){.nt-page .kt-iskh{animation:none;color:var(--ink);background:none}}
/* #78 «Analyzing…» (Cos 29.10): no shimmer, plain ink; a spinner in front of it */
.nt-page .kt-iskh{animation:none;background:none;color:var(--ink);display:flex;align-items:center;gap:12px}
.nt-page .kt-iskh::before{content:"";flex:none;width:22px;height:22px;border-radius:50%;border:2.5px solid var(--line);border-top-color:var(--ink);animation:kt-spin .8s linear infinite}
@keyframes kt-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.nt-page .kt-iskh::before{animation-duration:2.4s}}

/* ===========================================================
   SHARED examples gallery (02.11, spec zone 5: chips → cards → «Use this as a template»).
   Same card as #40 presets: a live thumbnail of the real result (the sheet rendered at its own
   width and scaled to the card by --s), kind tag, name, one line, «Use this as a template».
   =========================================================== */
.nt-page .nt-xgal{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:22px}
.nt-page .nt-chips-gal + .nt-xgal{margin-top:14px}
.nt-page .nt-xcard{display:flex;flex-direction:column;gap:6px;padding:10px 10px 14px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface);min-width:0}
.nt-page .nt-xthumb{--s:.4;position:relative;aspect-ratio:1/1;overflow:hidden;border-radius:8px;background:var(--surface2);border:1px solid var(--line);margin-bottom:4px;pointer-events:none}
.nt-page .nt-xthumb > *{position:absolute;top:10%;left:10%;width:460px;max-width:none;margin:0;transform:scale(var(--s));transform-origin:0 0;box-shadow:0 2px 6px rgba(25,30,26,.10),0 14px 34px rgba(25,30,26,.12);border-radius:2px}
.nt-page .nt-xthumb > .land{width:600px}
.nt-page .nt-xthumb::after{content:"";position:absolute;left:0;right:0;bottom:0;height:22%;background:linear-gradient(rgba(252,251,247,0),var(--surface2))}
.nt-page .nt-xcard .nt-kind{margin-top:2px}
.nt-page .nt-xcard b{font-size:14.5px;line-height:1.3}
.nt-page .nt-xnote{font-size:13px;color:var(--muted);line-height:1.45}
.nt-page .nt-xcard .qa-btn{margin-top:auto;align-self:flex-start}
@media(max-width:1000px){.nt-page .nt-xgal{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.nt-page .nt-xlong{display:none}.nt-page .nt-xgal{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.nt-page .nt-xcard .qa-btn{align-self:stretch;justify-content:center;padding-inline:6px;font-size:12.5px}}
.nt-page #tool{scroll-margin-top:88px}
/* text samples (letters, essays, filled organizers) get the same «paper on a desk» thumbnail:
   .nt-xpaper = a 460px Letter page with the start of the sample; first child of .nt-xthumb like a sheet */
.nt-page .nt-xpaper{aspect-ratio:8.5/11;overflow:hidden;padding:40px 42px;background:#fff;color:#191E1A;font:400 14px/1.6 "Times New Roman",Times,serif;text-align:left}
.nt-page .nt-xpaper .nt-xp-cap{display:block;font:600 11px/1.3 var(--font-body);letter-spacing:.08em;text-transform:uppercase;color:#6B706B;margin-bottom:10px}
.nt-page .nt-xpaper h4{font:700 19px/1.3 "Times New Roman",Times,serif;margin:0 0 14px;color:#191E1A}
.nt-page .nt-xpaper p{margin:0 0 10px}
.nt-page .nt-xpaper ul,.nt-page .nt-xpaper ol{margin:0 0 10px;padding-left:20px}
.nt-page .nt-xpaper li{margin:0 0 6px}
.nt-page .nt-xpaper mark{background:#DDF2E2;color:inherit;border-radius:2px;padding:0 2px}
.nt-page .nt-xpaper .nt-xp-row{display:flex;gap:8px;margin-bottom:8px}
.nt-page .nt-xpaper .nt-xp-row > b{flex:0 0 110px;font:600 12px/1.6 var(--font-body);color:#2E7D4F}
/* a spec block that stays under the gallery (#39 ideas, #02 format guide, #21, #31, #54, #68): its own eyebrow + H2, then its list */
.nt-page .nt-gal-guide{margin-top:48px}
@media(max-width:600px){.nt-page .nt-gal-guide{margin-top:40px}}
.nt-page .nt-xpaper .nt-xp-row > b{overflow-wrap:anywhere}
/* #78 tablet + phone (Cos 03.11): square photo instead of a tall strip (601–900); on phones one frame less of padding,
   photo + score side by side above the words, visual aids as rows (no orphan in a 2-column grid) */
@media(max-width:900px){.nt-page .kt-iverdict > .kt-ithumb{aspect-ratio:1;height:auto;align-self:start}}
@media(max-width:600px){
  .nt-page .kt-body:has(.kt-idrop,.kt-iverdict){padding:16px 14px}
  .nt-page .tool:has(.kt-idrop,.kt-iverdict) .tool-hint{padding-left:14px;padding-right:14px}
  .nt-page .kt-iverdict{grid-template-columns:72px minmax(0,1fr);column-gap:14px;row-gap:12px;padding:16px}
  .nt-page .kt-iverdict > .kt-ithumb{grid-column:1;grid-row:1;width:72px}
  .nt-page .kt-iverdict > .kt-ipct{grid-column:2;grid-row:1;align-self:center;justify-self:start}
  .nt-page .kt-iverdict > .kt-ivtext{grid-column:1/-1;grid-row:2;padding-top:0}
  .nt-page .kt-iverdict > .kt-iact{grid-column:1/-1;grid-row:3;margin-top:2px;gap:6px 18px}
  .nt-page .kt-idial{width:72px;height:72px}
  .nt-page .kt-idial b{font-size:22px}
  .nt-page .kt-iaidg{grid-template-columns:1fr;gap:14px}
  .nt-page .kt-iaidg figure{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;align-items:start}
  .nt-page .kt-iaidg figcaption b{display:block;margin-bottom:2px}
}
.nt-page .kt-imini:not([data-ready]) .kt-iminib{transition:none}   /* #78: no fade-out flash while the page loads */
/* #18 writer for every form (03.11): lines without a letter badge take the full row; diamante card centred like a diamond */
.nt-page .pl-line.nl{grid-template-columns:minmax(0,1fr) 170px}
@media(max-width:600px){.nt-page .pl-line.nl{grid-template-columns:minmax(0,1fr)}.nt-page .pl-line.nl .pl-lmsg{grid-column:1}}
.nt-page .pl-card.dia p{text-align:center}
/* #14 filled Cornell page (03.11): its topic as a heading, notes legible, cues in the cue-column colour */
.nt-page .pr-cornell .pr-ctop{display:block;margin:2px 0 8px;font-size:24px;line-height:1.15}
.nt-page .pr-cornell.filled .pr-cogrid{height:64%}
.nt-page .pr-cornell.filled .pr-ccues p,.nt-page .pr-cornell.filled .pr-cnotes p,.nt-page .pr-cornell.filled .pr-csum p{margin:0 0 5px;font:400 10.5px/1.45 var(--font-body)}
.nt-page .pr-cornell.filled .pr-ccues p{font-weight:600;color:#A3443E}
/* #62 word search (03.11): the grid fills the sheet width like a printed puzzle (≈336px of the 460px page), letters scale with the grid */
.nt-page .pr-wsgrid{margin-top:6px;margin-bottom:14px}
.nt-page .pr-wsgrid td{width:28px;height:28px;font-size:15px}
.nt-page .pr-wsgrid.n8 td{width:36px;height:36px;font-size:18px}
.nt-page .pr-wsgrid.n14 td{width:24px;height:24px;font-size:13px}
.nt-page .pr-wsgrid.n16 td{width:21px;height:21px;font-size:12px}
.nt-page .pr-wsgrid.n20 td{width:16.5px;height:16.5px;font-size:9.5px}
.nt-page .pr-wsgrid.n25 td{width:13.5px;height:13.5px;font-size:8px}
.nt-page .pr-wslist{gap:6px 16px;font-size:12px}
/* ================= #79 Background Remover (04.11) =================
   drop zone on a faint checkerboard → working card (photo + white sweep) → result card in its place:
   stage (grey desk, picture at its own ratio on a checkerboard / the picked colour, Compare = before/after slider) | side panel
   (file line, heading, background swatches incl. colours taken from the photo, Download PNG with the size, JPG / Copy / New image).
   Drop zone, working card and result share one height (420 desktop) so nothing jumps. */
.nt-page{--chk:repeating-conic-gradient(#E8E6DE 0 25%,#FFFFFF 0 50%) 0 0/18px 18px}
.nt-page .kt-bin{display:flex;flex-direction:column;gap:14px}
.nt-page .kt-bdrop{min-height:420px;background:linear-gradient(rgba(255,255,255,.88),rgba(255,255,255,.88)),var(--chk)}
.nt-page .kt-bdrop:hover{background:linear-gradient(color-mix(in srgb,var(--green-tint) 90%,transparent),color-mix(in srgb,var(--green-tint) 90%,transparent)),var(--chk)}
.nt-page .kt-bsmp{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px}
.nt-page .kt-bsmp > span{font-size:13.5px;color:var(--muted);margin-right:4px}
.nt-page .kt-bsmpb{width:60px;height:60px;padding:0;border-radius:12px;border:1.5px solid var(--line);background:var(--surface);overflow:hidden;cursor:pointer;transition:border-color .15s,transform .15s}
.nt-page .kt-bsmpb:hover{border-color:var(--green);transform:translateY(-1px)}
.nt-page .kt-bsmpb:focus-visible{outline:3px solid rgba(14,123,84,.4);outline-offset:2px}
.nt-page .kt-bsmpi,.nt-page .kt-bsmpi svg,.nt-page .kt-berrt svg{display:block;width:100%;height:100%}
.nt-page .kt-berr{display:grid;grid-template-columns:72px minmax(0,1fr);gap:14px;align-items:center}
.nt-page .kt-berrt{width:72px;height:72px;border-radius:10px;overflow:hidden;display:block}
.nt-page .kt-berr b{display:block}
.nt-page .kt-err a{color:inherit;text-decoration:underline;text-underline-offset:3px}

.nt-page .kt-bcard{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 300px;min-height:420px;border:1.5px solid var(--line);border-radius:16px;overflow:hidden;background:var(--surface)}
.nt-page .kt-bstage{--h:380px;position:relative;display:flex;align-items:center;justify-content:center;padding:20px;background:var(--surface2)}
.nt-page .kt-bframe{position:relative;width:min(100%,calc(var(--h) * var(--ar)));aspect-ratio:var(--ar);border-radius:6px;overflow:hidden;box-shadow:0 1px 2px rgba(25,30,26,.08),0 10px 28px rgba(25,30,26,.10);touch-action:pan-y}
.nt-page .kt-bframe.chk{background:var(--chk)}
.nt-page .kt-bframe.cmp{cursor:ew-resize}
.nt-page .kt-bimg{position:absolute;inset:0}
.nt-page .kt-bimg svg{display:block;width:100%;height:100%}
.nt-page .kt-bbefore{clip-path:inset(0 calc(100% - var(--pos)) 0 0)}
.nt-page .kt-bhandle{position:absolute;top:0;bottom:0;left:var(--pos);width:2px;margin-left:-1px;background:#fff;box-shadow:0 0 0 1px rgba(25,30,26,.18)}
.nt-page .kt-bhandle::after{content:"";position:absolute;top:50%;left:50%;width:38px;height:38px;margin:-19px 0 0 -19px;border-radius:50%;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23191E1A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center/20px no-repeat;box-shadow:0 2px 10px rgba(25,30,26,.28)}
.nt-page .kt-bhandle:focus-visible{outline:none}
.nt-page .kt-bhandle:focus-visible::after{box-shadow:0 0 0 3px rgba(14,123,84,.5),0 2px 10px rgba(25,30,26,.28)}
.nt-page .kt-blab{position:absolute;bottom:10px;padding:3px 8px;border-radius:6px;background:rgba(25,30,26,.62);color:#fff;font:500 11px var(--font-mono);pointer-events:none}
.nt-page .kt-blab.l{left:10px}.nt-page .kt-blab.r{right:10px}
.nt-page .kt-bcmp{position:absolute;top:14px;right:14px;padding:7px 14px 7px 32px;border-radius:99px;border:1.5px solid var(--line);background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23626A64' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M12 2v20'/%3E%3C/svg%3E") 11px center/15px no-repeat;font:600 13px var(--font-body);color:var(--ink);cursor:pointer}
.nt-page .kt-bcmp:hover{border-color:var(--ink)}
.nt-page .kt-bcmp.on{background-color:var(--ink);border-color:var(--ink);color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M12 2v20'/%3E%3C/svg%3E")}
.nt-page .kt-bside{display:flex;flex-direction:column;gap:10px;padding:24px 22px 20px;border-left:1.5px solid var(--line);min-width:0}
.nt-page .kt-bside h3{margin:2px 0 0;font:600 26px/1.2 var(--font-display);letter-spacing:-.01em}
.nt-page .kt-bside > p{margin:0;font-size:14.5px;line-height:1.55;color:var(--muted)}
.nt-page .kt-bbgcap{display:flex;justify-content:space-between;gap:8px;margin-top:8px;font:500 11px var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.nt-page .kt-bbgcap span{letter-spacing:.02em;text-transform:none;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nt-page .kt-bsws{display:flex;flex-wrap:wrap;gap:8px}
.nt-page .kt-bsw{position:relative;width:34px;height:34px;padding:0;border-radius:50%;border:1.5px solid rgba(25,30,26,.16);cursor:pointer;flex:none}
.nt-page .kt-bsw.chk{background:repeating-conic-gradient(#D9D6CC 0 25%,#fff 0 50%) 0 0/12px 12px}
.nt-page .kt-bsw.gap{margin-left:8px}
.nt-page .kt-bsw.on{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--green)}
.nt-page .kt-bsw:focus-visible{outline:3px solid rgba(14,123,84,.4);outline-offset:3px}
.nt-page .kt-bsw.pick{background:conic-gradient(#E5484D,#F5B83D,#7BC85A,#3DB6C8,#4A6FE0,#B455D8,#E5484D)}
.nt-page .kt-bsw.pick input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;border:0;padding:0}
.nt-page .kt-bdl{display:flex;flex-direction:column;gap:12px;margin-top:auto;padding-top:16px;border-top:1px solid var(--line)}
.nt-page .kt-bdlb{width:100%;display:flex;align-items:center;justify-content:center;gap:9px}
.nt-page .kt-bdlb > span{font:500 12px var(--font-mono);opacity:.75}
.nt-page .kt-bdlic{width:18px;height:18px;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='%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") 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='%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") center/contain no-repeat}
.nt-page .kt-bmore{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px}
.nt-page .kt-bmore .kt-ianother{margin-left:auto;padding:8px 16px;font-size:14px}
.nt-page .kt-bnote{font-size:13px;color:var(--muted)}
.nt-page .kt-bcard.drop-on{outline:2px dashed var(--green);outline-offset:-8px}
.nt-page .kt-bcard.drop-on::after{content:attr(data-drop);position:absolute;inset:0;display:grid;place-items:center;background:color-mix(in srgb,var(--surface) 82%,transparent);font:600 19px var(--font-display);color:var(--ink);pointer-events:none;z-index:3}
.nt-page .kt-bnext{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;margin-top:2px}
.nt-page .kt-bnext > span{font:500 11px var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-right:4px}
.nt-page .kt-bnextl{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:99px;border:1.5px solid var(--line);background:var(--surface);color:var(--ink);font:500 14px var(--font-body);text-decoration:none}
.nt-page .kt-bnextl::after{content:"→";color:var(--muted);display:inline-block;transform:rotate(-45deg)}   /* ↗ = opens in a new tab */
.nt-page .kt-bnextl:hover{border-color:var(--green);color:var(--green-deep)}
/* working */
.nt-page .kt-bscan{position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.6) 50%,transparent 70%) 0 0/250% 100%;animation:kt-shim 1.4s linear infinite}
.nt-page .kt-bstatus{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);display:inline-flex;align-items:center;gap:9px;padding:8px 16px;border-radius:99px;background:var(--surface);box-shadow:0 4px 16px rgba(25,30,26,.14);font:600 14px var(--font-body);white-space:nowrap}
.nt-page .kt-bspin{width:15px;height:15px;border-radius:50%;border:2px solid var(--line);border-top-color:var(--green);animation:kt-bspin .8s linear infinite}
@keyframes kt-bspin{to{transform:rotate(360deg)}}
.nt-page .kt-bskh{color:var(--muted)}
.nt-page .kt-bsk{display:block;height:12px;border-radius:6px;background:linear-gradient(90deg,var(--surface2) 0%,#ECEAE2 40%,var(--surface2) 80%) 0 0/300% 100%;animation:kt-shim 1.4s linear infinite}
.nt-page .kt-bsk.s{width:70%}
.nt-page .kt-bsk.sw{height:34px;width:85%;margin-top:14px;border-radius:17px}
.nt-page .kt-bsk.b{height:44px;border-radius:10px}
@media(prefers-reduced-motion:reduce){.nt-page .kt-bscan,.nt-page .kt-bsk,.nt-page .kt-bspin{animation:none}}
/* tablet: the side panel goes under the picture */
@media(max-width:900px){
  .nt-page .kt-bcard{grid-template-columns:1fr}
  .nt-page .kt-bside{border-left:0;border-top:1.5px solid var(--line)}
  .nt-page .kt-bdl{margin-top:6px}
  .nt-page .kt-bdlb{width:auto;align-self:flex-start;padding-left:28px;padding-right:28px}
}
/* phones: no dragging on a phone, so the drop zone is a shorter tap target; the picture takes the full width */
@media(max-width:600px){
  .nt-page .kt-bdrop{min-height:240px}
  .nt-page .kt-bcard{min-height:0}
  .nt-page .kt-bstage{--h:300px;padding:14px}
  .nt-page .kt-bside{padding:18px 16px}
  .nt-page .kt-bside h3{font-size:22px}
  .nt-page .kt-bdlb{width:100%;align-self:stretch}
  .nt-page .kt-bcmp{top:10px;right:10px}
  .nt-page .kt-bsmpb{width:56px;height:56px}
  .nt-page .kt-bmore .kt-ianother{margin-left:auto;width:auto;margin-top:0}
}
/* #79: one row of swatches (transparent · white · black | 3 from the photo · any colour) */
.nt-page .kt-bcard{grid-template-columns:minmax(0,1fr) 320px}
.nt-page .kt-bsw{width:31px;height:31px}
.nt-page .kt-bsws{gap:7px}
@media(max-width:900px){.nt-page .kt-bcard{grid-template-columns:1fr}}
.nt-page .kt-bmore{gap:8px 14px}
.nt-page .kt-bmore .kt-ianother{padding:7px 13px;font-size:13.5px}
/* #79 phones: swatches as 7 equal columns (never one orphan on a second row), the tool card gets #78's narrower padding */
@media(max-width:600px){
  .nt-page .kt-bsws{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
  .nt-page .kt-bsw{width:100%;height:auto;aspect-ratio:1;max-width:36px}
  .nt-page .kt-bsw.gap{margin-left:0}
  .nt-page .kt-body:has(.kt-bdrop,.kt-bcard){padding:16px 14px}
  .nt-page .tool:has(.kt-bdrop,.kt-bcard) .tool-hint{padding-left:14px;padding-right:14px}
}
.nt-page .kt-bdrop b i{font-style:normal}
.nt-page .kt-bnarrow{display:none}
@media(max-width:600px){
  .nt-page .kt-bwide{display:none}.nt-page .kt-bnarrow{display:inline}
  .nt-page .kt-bsmp > span{flex-basis:100%;text-align:center;margin:0}
}
/* #79: the card counts its border in the 420 (no 3px jump from the drop zone); tablets keep the side panel at the right
   (stacked it grew 420 → 757); swatches as 7 equal columns wherever the panel is narrow */
.nt-page .kt-bcard{box-sizing:border-box}
@media(min-width:601px) and (max-width:900px){
  .nt-page .kt-bcard{grid-template-columns:minmax(0,1fr) 270px}
  .nt-page .kt-bside{border-left:1.5px solid var(--line);border-top:0;padding:20px 18px 18px}
  .nt-page .kt-bside h3{font-size:22px}
  .nt-page .kt-bdl{margin-top:auto}
  .nt-page .kt-bdlb{width:100%;align-self:stretch;padding-left:12px;padding-right:12px}
  .nt-page .kt-bstage{--h:340px;padding:16px}
}
@media(max-width:900px){
  .nt-page .kt-bsws{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
  .nt-page .kt-bsw{width:100%;height:auto;aspect-ratio:1;max-width:34px}
  .nt-page .kt-bsw.gap{margin-left:0}
}
.nt-page .kt-bstage{--h:377px}   /* 377 + 40 padding + 3 border = 420, the drop zone's height */
.nt-page .kt-bmore{flex-wrap:nowrap;gap:14px}
.nt-page .kt-bmore .kt-ilink{white-space:nowrap}
.nt-page .kt-bmore .kt-ianother{white-space:nowrap}
@media(min-width:601px) and (max-width:900px){.nt-page .kt-bstage{--h:337px}.nt-page .kt-bmore{gap:12px}}
.nt-page .kt-bside .kt-ifile{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:500 11.5px/1.4 var(--font-mono);color:var(--muted)}
/* GLOBAL 77 header (04.11): with Teacher Tools (and now AI Image Detector) the menu row wrapped on laptops — All Tools fell to a
   second line at ≤1080 (≤1120 with the detector). 77 header only (#nav.nav-77); the 99 header keeps its sizes. */
/* 04.11 later: Teacher Tools left the menu (7 items) — the normal sizes fit down to ~940, so only 901–959 is tightened */
@media(min-width:901px) and (max-width:959px){
  #nav.nav-77 .nav-row2{gap:4px 18px;font-size:14.5px}
  #nav.nav-77 .nav-row2 .new{margin-left:5px}
}
/* 77 footer (After Footer 77, 04.11): the same NEW mark as the header and the mobile menu, readable on the dark footer */
.after-foot.foot-77 .new{font-family:var(--font-mono);font-size:10px;font-weight:500;letter-spacing:.08em;color:#7FD6A2;margin-left:7px}
/* ===== DARK THEME FIXES (04.11, Cos: the ink pills went white-on-light) =====
   ink pills: text = the surface colour, so it is white on dark ink in light and dark on light ink in dark */
.nt-page .kt-ianother{color:var(--surface)}
.nt-page .kt-ianother:hover{background:color-mix(in srgb,var(--ink) 86%,var(--surface))}
.nt-page .kt-bcmp.on{color:var(--surface)}
:root[data-theme="dark"] .nt-page .kt-bcmp.on{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B1E19' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M12 2v20'/%3E%3C/svg%3E")}
/* error boxes + layer chips: the site's dark message colours instead of the light-theme reds / ambers */
:root[data-theme="dark"] .nt-page .kt-err{background:var(--msg-err-bg);color:var(--msg-err-ink)}
:root[data-theme="dark"] .nt-page .kt-ilayer.s-f .kt-ichip{background:var(--msg-err-bg);color:var(--msg-err-ink)}
:root[data-theme="dark"] .nt-page .kt-ilayer.s-u .kt-ichip{background:var(--msg-warn-bg);color:var(--msg-warn-ink)}
:root[data-theme="dark"] .nt-page .kt-ilayer.s-i .kt-ichip{background:var(--msg-info-bg);color:var(--msg-info-ink)}
/* #79: the drop zone veil and the checkerboard follow the theme (they were white in dark) */
/* 04.11 Cos: the checkerboard must read (light: a shade darker, like the other drop zones; dark: it was invisible), no veil;
   lower zone so the samples fit the first screen at 1280x720 */
.nt-page{--chk-drop:repeating-conic-gradient(#F5F4EF 0 25%,#FCFBF9 0 50%) 0 0/20px 20px}
:root[data-theme="dark"] .nt-page{--chk-drop:repeating-conic-gradient(#2B3029 0 25%,#21251F 0 50%) 0 0/20px 20px}
.nt-page .kt-bdrop{min-height:300px;background:var(--chk-drop);background-clip:padding-box}   /* checker stays inside the dashes: the border reads like every other drop zone */
.nt-page .kt-bdrop:hover{background:linear-gradient(color-mix(in srgb,var(--green-tint) 70%,transparent),color-mix(in srgb,var(--green-tint) 70%,transparent)),var(--chk-drop);background-clip:padding-box}
@media(max-width:600px){.nt-page .kt-bdrop{min-height:240px}}
:root[data-theme="dark"] .nt-page{--chk:repeating-conic-gradient(#2A2F28 0 25%,#20241E 0 50%) 0 0/18px 18px}
:root[data-theme="dark"] .nt-page .kt-bsw.chk{background:repeating-conic-gradient(#3A3F38 0 25%,#20241E 0 50%) 0 0/12px 12px}
:root[data-theme="dark"] .nt-page .kt-bsmpb,:root[data-theme="dark"] .nt-page .kt-bstatus{box-shadow:0 4px 16px rgba(0,0,0,.4)}
/* DARK THEME: paper stays paper (04.11). Printable sheets, sample thumbnails, the resume page and the concept-map canvas stay white
   in dark mode on purpose, so everything ON them uses the light-theme tokens (text was light grey on white). */
.nt-page :is(.nt-xpaper,.pr-page,.ps-sheet,.ps-thumb,.rs-page,.rs-mini,.rs-tthumb,.cm-canvas,.cm-mini,.sl){
  --bg:#F6F5EF;--surface:#FFFFFF;--surface2:#FCFBF7;--ink:#191E1A;--muted:#5B6159;--line:#E4E3D9;--placeholder:#7E837A;
  --green:#0E7B54;--green-deep:#0A5C3F;--green-tint:#E7F3EC;--row-hover:#FBFAF5;--sw-off:#CFCFC4;--diff-bg:#D9F2E4;--diff-line:#7FCBA4;
  color-scheme:light;
}
:where(:root[data-theme="dark"]) :where(.nt-page) :where(.nt-xpaper,.pr-page,.ps-sheet,.ps-thumb,.rs-page,.rs-mini,.rs-tthumb,.cm-canvas,.cm-mini){color:var(--ink)}   /* zero specificity: a sheet design (chalkboard…) keeps its own text colour */
/* DARK: the AI tag inside a green primary button takes the button's own text colour */
:root[data-theme="dark"] .nt-page .oc-go .nt-ai-tag{color:inherit;border-color:currentColor;opacity:.85}
/* DARK: #22 grade bands — lighter text on the same tints */
:root[data-theme="dark"] .nt-page .kt-b-A{--bc:#6FD6AE}
:root[data-theme="dark"] .nt-page .kt-b-B{--bc:#8DB6E8}
:root[data-theme="dark"] .nt-page .kt-b-C{--bc:#E3BE78}
:root[data-theme="dark"] .nt-page .kt-b-D{--bc:#F0A66A}
:root[data-theme="dark"] .nt-page .kt-b-F{--bc:#E5A3A3}
/* DARK: #34 burger — the light bun layers keep light-theme text; the tinted filling layers use the dark muted */
.nt-page .pl-layer:is(.ltop,.lbot){--ink:#191E1A;--muted:#5B6159;color:var(--ink)}
:root[data-theme="dark"] .nt-page .pl-layer:is(.la,.lb) .ps-cap{color:var(--muted)}
/* DARK: #78 verdict colour (ring, score, mini-bar score, card edge) — the light-theme red / amber were dull on the dark card (Cos 04.11) */
:root[data-theme="dark"] .nt-page .v-ai{--vb:rgba(229,138,131,.45);--vbg:rgba(229,138,131,.08);--vc:#EC8E86}
:root[data-theme="dark"] .nt-page .v-likely{--vb:rgba(226,180,78,.45);--vbg:rgba(226,180,78,.08);--vc:#E8BC5A}
/* ===== Article blocks for the SEO/GEO brief (04.11, newtools-article.js): paragraphs + numbered steps, lists, a summary table,
   a tinted note, and the «Last updated» line under «On this page» ===== */
.nt-page .nt-sec > :last-child{margin-bottom:0}
.nt-page .nt-steps,.nt-page .nt-list{margin:4px 0 16px;padding-left:0;list-style:none;display:flex;flex-direction:column;gap:8px;font-size:16.5px;line-height:1.65}
.nt-page .nt-steps{counter-reset:nts}
.nt-page .nt-steps li{position:relative;padding-left:40px;counter-increment:nts}
.nt-page .nt-steps li::before{content:counter(nts);position:absolute;left:0;top:1px;width:26px;height:26px;border-radius:50%;background:var(--green-tint);color:var(--green-deep);font:600 13px/26px var(--font-mono);text-align:center}
.nt-page .nt-list li{position:relative;padding-left:22px}
.nt-page .nt-list li::before{content:"";position:absolute;left:4px;top:.72em;width:7px;height:7px;border-radius:50%;background:var(--green)}
.nt-page .nt-table-wrap{margin:6px 0 18px;overflow-x:auto;border:1.5px solid var(--line);border-radius:12px;background:var(--surface)}
.nt-page .nt-table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.5}
.nt-page .nt-table caption{caption-side:top;text-align:left;padding:12px 16px 4px;font:500 11px var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.nt-page .nt-table th,.nt-page .nt-table td{padding:10px 16px;text-align:left;vertical-align:top;border-top:1px solid var(--line);text-transform:none;letter-spacing:0}
.nt-page .nt-table thead th{border-top:0;font:600 13px var(--font-body);color:var(--muted);background:var(--surface2)}
.nt-page .nt-table tbody th{font-weight:600;color:var(--ink)}
.nt-page .nt-note{padding:12px 16px;border-radius:12px;background:var(--surface2);border-left:3px solid var(--green);font-size:15.5px !important}
.nt-page .nt-upd{margin:16px 0 0;font:500 12px var(--font-mono);color:var(--muted)}
@media(max-width:600px){.nt-page .nt-table{font-size:14px;min-width:460px}.nt-page .nt-table th,.nt-page .nt-table td{padding:9px 12px}}

/* #79 drop zone icon (04.11 Cos): one dashed portrait + sparkle, the old photo icon's size and grey; hover lifts it, turns it green and
   spins the sparkle */
.nt-page .kt-bico{display:block;width:54px;height:54px;margin-bottom:8px;color:var(--muted);opacity:.55;pointer-events:none;
  transition:transform .4s cubic-bezier(.34,1.56,.64,1),color .2s,opacity .2s}
.nt-page .kt-bico svg{display:block;width:100%;height:100%;overflow:visible}
.nt-page .kt-bsp{transform-box:fill-box;transform-origin:center;transition:transform .5s cubic-bezier(.34,1.56,.64,1)}
.nt-page .kt-bdrop:hover .kt-bico,.nt-page .kt-bdrop:focus-visible .kt-bico{transform:translateY(-4px) scale(1.1);color:var(--green-deep);opacity:1}
.nt-page .kt-bdrop:hover .kt-bsp,.nt-page .kt-bdrop:focus-visible .kt-bsp{transform:rotate(90deg)}   /* spin only: scaling ran it into the dashes */
:root[data-theme="dark"] .nt-page .kt-bico{opacity:.85}
:root[data-theme="dark"] .nt-page .kt-bdrop:hover .kt-bico{color:var(--green)}
@media(prefers-reduced-motion:reduce){.nt-page .kt-bico,.nt-page .kt-bsp{transition:none}}

/* #79 thumbnails of every processed image + «+» to add more, bottom-left of the stage (04.11 Cos; replaced «New image» and its warning) */
.nt-page .kt-bthumbs{display:flex;gap:8px;overflow-x:auto;padding:3px;margin:-3px;scrollbar-width:none}
.nt-page .kt-bthumb{flex:none;width:48px;height:48px;padding:0;border-radius:12px;border:1.5px solid var(--line);background:var(--chk);overflow:hidden;cursor:pointer;
  box-shadow:0 2px 8px rgba(25,30,26,.08);transition:border-color .15s,transform .15s}
.nt-page .kt-bthumb:hover{border-color:var(--green)}
.nt-page .kt-bthumb.on{border:2px solid var(--green);box-shadow:0 0 0 3px color-mix(in srgb,var(--green) 22%,transparent)}
.nt-page .kt-bthumbi,.nt-page .kt-bthumbi svg{display:block;width:100%;height:100%}
.nt-page .kt-bthumb.add{display:grid;place-items:center;background:var(--surface);border-style:dashed;color:var(--muted)}
.nt-page .kt-bthumb.add::before{content:"";width:18px;height:18px;background:currentColor;-webkit-mask:var(--plus) center/contain no-repeat;mask:var(--plus) center/contain no-repeat;
  --plus: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'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E")}
.nt-page .kt-bthumb.add:hover{color:var(--green-deep);border-color:var(--green)}
.nt-page .kt-bthumb:active{transform:translateY(1px)}
:root[data-theme="dark"] .nt-page .kt-bthumb{box-shadow:0 2px 8px rgba(0,0,0,.4)}
.nt-page .kt-ilink[data-ic=zip]{--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%3Cpath d='M12 3v12m-4-4 4 4 4-4M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2'/%3E%3C/svg%3E")}
/* pressed state for every primary button in the 77 tool cards (the global rule only covered .tool-actions / .opt-row) — Cos 04.11 */
.nt-page .tool .btn-primary:not([disabled]):active{transform:translateY(1px);background:var(--green-deep);box-shadow:0 1px 4px rgba(14,123,84,.26);transition:none}
@media(max-width:600px){.nt-page .kt-bthumb{width:44px;height:44px}}
/* #79 result side, rethought (Cos 04.11): Format PNG | JPG as a small segmented row (JPG disabled while transparent), the button says
   the format; under it only Copy image (left) and Download all (right) */
.nt-page .kt-bfmt{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;font:500 11px var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.nt-page .kt-bfmts{display:inline-flex;padding:3px;border-radius:99px;background:var(--surface2);border:1px solid var(--line)}
.nt-page .kt-bfmtb{border:0;background:none;padding:5px 14px;border-radius:99px;font:600 12.5px var(--font-body);letter-spacing:0;color:var(--muted);cursor:pointer}
.nt-page .kt-bfmtb.on{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px rgba(25,30,26,.12)}
.nt-page .kt-bfmtb:disabled{opacity:.45;cursor:not-allowed}
.nt-page .kt-bfmtb:not(:disabled):not(.on):hover{color:var(--ink)}
:root[data-theme="dark"] .nt-page .kt-bfmtb.on{background:var(--line);box-shadow:none}
.nt-page .kt-bmore .kt-ball{margin-left:auto}
/* swatches: the black one had no edge in dark; the «any color» wheel redrawn (smooth hue ring + soft white centre, no seam) */
:root[data-theme="dark"] .nt-page .kt-bsw{border-color:rgba(255,255,255,.28)}
.nt-page .kt-bsw.pick{background:radial-gradient(circle at center,#fff 0,rgba(255,255,255,.85) 22%,rgba(255,255,255,0) 62%),
  conic-gradient(from 90deg,#FF5A5A,#FFB443,#FFE14D,#6BD26B,#3FC7D6,#4D7CFF,#B05CFF,#FF5AC8,#FF5A5A);border-color:rgba(25,30,26,.12)}
/* the wheel repeated under its border (background starts inside the border by default), which drew stripes at the sides: draw it over the
   whole circle and use an inner ring instead of the border */
.nt-page .kt-bsw.pick{background-origin:border-box;border-color:transparent;box-shadow:inset 0 0 0 1px rgba(25,30,26,.12)}
.nt-page .kt-bsw.pick.on{box-shadow:inset 0 0 0 1px rgba(25,30,26,.12),0 0 0 2px var(--surface),0 0 0 4px var(--green)}
:root[data-theme="dark"] .nt-page .kt-bsw.pick{border-color:transparent}
/* #79 Download with several images: the button opens a menu (this image / all as ZIP) — Cos 04.11 */
.nt-page .kt-bdlw{position:relative}
.nt-page .kt-bdlcar{display:inline-block;flex:none;width:12px;height:12px;margin-left:2px;background:currentColor;opacity:.85;transition:transform .15s;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%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='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-page .kt-bdlm.open .kt-bdlcar{transform:rotate(180deg)}
.nt-page .kt-bdlmenu{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:5;padding:6px;border-radius:14px;background:var(--surface);border:1px solid var(--line);
  box-shadow:0 12px 32px rgba(25,30,26,.16)}
.nt-page .kt-bdlmenu button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:10px 12px;border:0;border-radius:10px;background:none;
  color:var(--ink);text-align:left;cursor:pointer;font-family:var(--font-body)}
.nt-page .kt-bdlmenu button:hover,.nt-page .kt-bdlmenu button:focus-visible{background:var(--green-tint);outline:none}
.nt-page .kt-bdlmenu b{font-size:14.5px;font-weight:600}
.nt-page .kt-bdlmenu span{font:500 12px var(--font-mono);color:var(--muted)}
:root[data-theme="dark"] .nt-page .kt-bdlmenu{box-shadow:0 12px 32px rgba(0,0,0,.5)}
:root[data-theme="dark"] .nt-page .kt-bdlmenu button:hover{background:var(--line)}
/* the Download menu opens DOWN and over the card's edge (Cos 04.11): the card no longer clips (overflow visible); its rounded
   corners are kept by the stage and the drop overlay themselves */
.nt-page .kt-bcard{overflow:visible}
.nt-page .kt-bstage{border-radius:14.5px 0 0 14.5px}
.nt-page .kt-bcard.drop-on::after{border-radius:14.5px}
@media(max-width:600px){.nt-page .kt-bstage{border-radius:14.5px 14.5px 0 0}}
/* #79 left rail (Cos 04.11): the thumbnails + «+» are a column inside the result card, left of the picture; the picture area is
   taller (--h 377 → 480) so the preview is bigger. Phones: the rail becomes a row under the picture. */
.nt-page .kt-bcard.has-rail{grid-template-columns:76px minmax(0,1fr) 320px}
.nt-page .kt-bcard.has-rail .kt-bthumbs{flex-direction:column;align-items:center;gap:10px;margin:0;padding:14px 0;overflow:auto;contain:size;   /* takes the row height, scrolls past it */ 
  border-right:1.5px solid var(--line);background:var(--surface2);border-radius:14.5px 0 0 14.5px}
.nt-page .kt-bcard.has-rail .kt-bstage{border-radius:0;--h:480px}
@media(min-width:601px) and (max-width:900px){.nt-page .kt-bcard.has-rail{grid-template-columns:68px minmax(0,1fr) 270px}.nt-page .kt-bcard.has-rail .kt-bstage{--h:400px}}
@media(max-width:600px){
  .nt-page .kt-bcard.has-rail{grid-template-columns:1fr}
  .nt-page .kt-bcard.has-rail .kt-bthumbs{order:2;flex-direction:row;justify-content:flex-start;padding:10px 12px;border-right:0;border-top:1.5px solid var(--line);border-radius:0;contain:none;overflow-x:auto}
  .nt-page .kt-bcard.has-rail .kt-bstage{order:1;--h:300px;border-radius:14.5px 14.5px 0 0}
  .nt-page .kt-bcard.has-rail .kt-bside{order:3}
}
.nt-page .kt-bdlmenu button{display:block;padding:11px 14px;font-size:15px;font-weight:500}
.nt-page .kt-bcard.has-rail .kt-bthumbs{background:var(--surface)}   /* white rail (Cos 04.11) */
.nt-page .kt-bdlcar{width:14px;height:14px;margin-left:4px;opacity:.7;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%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='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat}
/* #79 Copy next to Compare (Cos 04.11): a pill of the same kind, top-right of the picture */
.nt-page .kt-btools{position:absolute;top:14px;right:14px;z-index:2;display:flex;gap:8px}
.nt-page .kt-btools .kt-bcmp{position:static}
.nt-page .kt-bcpy{padding:7px 14px 7px 32px;border-radius:99px;border:1.5px solid var(--line);font:600 13px var(--font-body);color:var(--ink);cursor:pointer;
  background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23626A64' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='12' height='12' rx='2'/%3E%3Cpath d='M5 15H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1'/%3E%3C/svg%3E") 11px center/15px no-repeat}
.nt-page .kt-bcpy:hover{border-color:var(--ink)}
.nt-page .kt-bcpy.on{border-color:var(--green);color:var(--green-deep);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E7B54' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E")}
:root[data-theme="dark"] .nt-page .kt-bcpy{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239EA396' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='12' height='12' rx='2'/%3E%3Cpath d='M5 15H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1'/%3E%3C/svg%3E")}
:root[data-theme="dark"] .nt-page .kt-bcpy.on{color:var(--green)}
@media(max-width:600px){.nt-page .kt-btools{top:10px;right:10px}}
.nt-page .kt-bcard.has-rail .kt-bthumbs{background:var(--surface2);border-right:0;padding-left:14px}   /* lighter rail (Cos 04.11): no line, same desk as the picture */
.nt-page .kt-bcard.has-rail .kt-bstage{padding-left:6px}
@media(max-width:600px){.nt-page .kt-bcard.has-rail .kt-bthumbs{border-top:0;padding-left:12px}.nt-page .kt-bcard.has-rail .kt-bstage{padding-left:14px}}
.nt-page .kt-bdl .kt-bfmt{margin:0 0 4px}
/* a colon right after the yellow marker: the marker runs .12em past the word and was painted over it (Cos 04.11) */
.nt-page .mark-p{position:relative;z-index:1}
/* ===== #79 VARIANT «full» (Cos 04.11). Roll back: FULL = false in v_bgremove and delete this block. =====
   The result card IS the tool box: no 22/24px body padding around it, no own border; the rail + picture + side panel run edge to edge.
   «Next with this image» lives in the side panel (.kt-bnexts). */
.nt-page .kt-body:has(.kt-bcard.full){padding:0}
.nt-page .kt-bcard.full{border:0;border-radius:0;border-bottom:1.5px solid var(--line)}
.nt-page .kt-bcard.full .kt-bthumbs{border-radius:23px 0 0 0}   /* the tool box radius (24) minus its 1px border */
.nt-page .kt-bnexts{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.nt-page .kt-bnexts > span{font:500 11px var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:2px}
.nt-page .kt-bnexts a{font-size:14px;font-weight:500;color:var(--ink);text-decoration:underline dotted;text-decoration-color:var(--muted);text-underline-offset:4px}
.nt-page .kt-bnexts a::after{content:"→";display:inline-block;margin-left:6px;color:var(--muted);transform:rotate(-45deg);text-decoration:none}
.nt-page .kt-bnexts a:hover{color:var(--green-deep);text-decoration-style:solid;text-decoration-color:currentColor}
@media(max-width:600px){.nt-page .kt-bcard.full .kt-bstage{border-radius:0}}
/* rail: one even 12px step everywhere — box edge → thumb, thumb → thumb (Cos 04.11) */
.nt-page .kt-bcard.has-rail{grid-template-columns:72px minmax(0,1fr) 320px}
.nt-page .kt-bcard.has-rail .kt-bthumbs{padding:12px;gap:12px;align-items:flex-start}
@media(min-width:601px) and (max-width:900px){.nt-page .kt-bcard.has-rail{grid-template-columns:72px minmax(0,1fr) 270px}}
@media(max-width:600px){.nt-page .kt-bcard.has-rail{grid-template-columns:1fr}.nt-page .kt-bcard.has-rail .kt-bthumbs{padding:12px;gap:12px}}
/* «full»: the privacy line sits inside the picture area at the bottom (12px, like the rail), no divider; the rail and the side panel run
   the full height; the tool's own hint row is hidden while the result card shows (Cos 04.11) */
.nt-page .kt-bcard.full{grid-template-rows:1fr auto;border-bottom:0}
.nt-page .kt-bcard.full .kt-bthumbs,.nt-page .kt-bcard.full .kt-bside{grid-row:1 / 3}
.nt-page .kt-bcard.full .kt-bstage{grid-column:2;grid-row:1}
.nt-page .kt-bhint{grid-column:2;grid-row:2;margin:0;padding:0 12px 12px;background:var(--surface2);font:italic 400 12.5px var(--font-body);color:var(--muted);text-align:center}
.nt-page .tool:has(.kt-bcard.full) .tool-hint{display:none}
.nt-page .kt-bcard.full .kt-bthumbs{border-radius:23px 0 0 23px}
@media(max-width:600px){
  .nt-page .kt-bcard.full{grid-template-rows:none}
  .nt-page .kt-bcard.full .kt-bthumbs,.nt-page .kt-bcard.full .kt-bside,.nt-page .kt-bcard.full .kt-bstage{grid-row:auto;grid-column:auto}
  .nt-page .kt-bcard.full .kt-bthumbs{border-radius:0}
  .nt-page .kt-bhint{order:4;grid-column:auto;grid-row:auto;padding:12px;background:none}
}
/* #79 zoom: Fit | 100% (Cos 04.11). At 100% the picture keeps its real pixel size inside the stage and is dragged (hand cursor). */
.nt-page .kt-bzm{padding:7px 14px 7px 32px;border-radius:99px;border:1.5px solid var(--line);font:600 13px var(--font-body);color:var(--ink);cursor:pointer;
  background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23626A64' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E") 11px center/15px no-repeat}
.nt-page .kt-bzm:hover{border-color:var(--ink)}
.nt-page .kt-bzm.on{background-color:var(--ink);border-color:var(--ink);color:var(--surface);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2M8.5 11h5'/%3E%3C/svg%3E")}
:root[data-theme="dark"] .nt-page .kt-bzm{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239EA396' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E")}
:root[data-theme="dark"] .nt-page .kt-bzm.on{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23191E1A' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2M8.5 11h5'/%3E%3C/svg%3E")}
.nt-page .kt-bstage.zoomed{overflow:hidden;align-self:stretch;min-height:calc(var(--h) + 40px)}
.nt-page .kt-bframe.zoom{position:absolute;left:0;top:0;max-width:none;border-radius:0;box-shadow:none;cursor:grab;touch-action:none;user-select:none}
.nt-page .kt-bframe.zoom.grab{cursor:grabbing}
/* zoom pill: no dark «pressed» look; the zoomed state says «Fit» with a zoom-out icon (Cos 04.11) */
.nt-page .kt-bzm.out{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23626A64' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2M8.5 11h5'/%3E%3C/svg%3E")}
:root[data-theme="dark"] .nt-page .kt-bzm.out{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239EA396' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2M8.5 11h5'/%3E%3C/svg%3E")}
/* Fit: the picture starts under the Copy / Compare / 100% pills, nothing overlaps it; the area keeps its height (40px moved from --h
   to the top padding). At 100% the pills float over the picture as before. (Cos 04.11) */
.nt-page .kt-bcard.has-rail .kt-bstage{--h:440px;padding-top:60px}
.nt-page .kt-bcard.has-rail .kt-bstage.zoomed{min-height:calc(var(--h) + 80px)}
@media(min-width:601px) and (max-width:900px){.nt-page .kt-bcard.has-rail .kt-bstage{--h:360px}}
@media(max-width:600px){.nt-page .kt-bcard.has-rail .kt-bstage{--h:260px;padding-top:54px}}
/* phones: Copy / Compare / 100% become 36px icon circles (labels stay as the accessible name), so they never run off the left edge */
@media(max-width:600px){
  .nt-page .kt-btools{gap:6px}
  .nt-page .kt-bcpy,.nt-page .kt-btools .kt-bcmp,.nt-page .kt-bzm{width:36px;height:36px;padding:0;font-size:0;background-position:center;background-size:17px}
  .nt-page .kt-bcard.has-rail .kt-bstage{padding-top:58px}
}
@media(max-width:600px){.nt-page .kt-bcard.full .kt-bstage{border-radius:23px 23px 0 0}}   /* phones: the picture area is the top of the box, round like it (the zoomed picture poked out square) */
/* swatches: one even row across the panel, no extra gap before the photo colors and no hole after the wheel (Cos 04.11) */
.nt-page .kt-bsws{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:4px}
.nt-page .kt-bsw.gap{margin-left:0}
/* #79 full screen view (Cos 04.11): an expand circle next to the pills; the picture fills the browser window on the stage colour,
   Exit (Esc) top-right, a click on the empty area also closes it */
.nt-page .kt-bfs{width:34px;height:34px;padding:0;border-radius:99px;border:1.5px solid var(--line);cursor:pointer;
  background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23626A64' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M10 20H4v-6M20 4l-6.5 6.5M4 20l6.5-6.5'/%3E%3C/svg%3E") center/15px no-repeat}
.nt-page .kt-bfs:hover{border-color:var(--ink)}
:root[data-theme="dark"] .nt-page .kt-bfs{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239EA396' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M10 20H4v-6M20 4l-6.5 6.5M4 20l6.5-6.5'/%3E%3C/svg%3E")}
/* full screen = the result card itself fixed over the window; the picture area grows to the window height */
.nt-page .kt-bcard.is-full{position:fixed;inset:0;z-index:300;border-radius:0;background:var(--surface);grid-template-rows:1fr auto}
.nt-page .kt-bcard.is-full .kt-bthumbs{border-radius:0}
.nt-page .kt-bcard.is-full .kt-bstage{--h:calc(var(--fsh,100vh) - 120px)}
.nt-page .kt-bcard.is-full .kt-bside{overflow:auto}
html:has(.kt-bcard.is-full){overflow:hidden}
.nt-page .kt-bfs.out{width:auto;padding:0 14px 0 32px;font:600 13px var(--font-body);color:var(--ink);background-position:11px center;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23626A64' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10h-6V4M4 14h6v6M14 10l6.5-6.5M10 14l-6.5 6.5'/%3E%3C/svg%3E")}
:root[data-theme="dark"] .nt-page .kt-bfs.out{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239EA396' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10h-6V4M4 14h6v6M14 10l6.5-6.5M10 14l-6.5 6.5'/%3E%3C/svg%3E")}
@media(max-width:600px){.nt-page .kt-bfs{width:36px;height:36px;background-size:17px}.nt-page .kt-bfs.out{width:auto;font-size:13px;padding:0 12px 0 30px;background-position:9px center}
  .nt-page .kt-bcard.is-full{overflow:auto;grid-template-rows:none}.nt-page .kt-bcard.is-full .kt-bstage{--h:calc(var(--fsh,100vh) * .6);border-radius:0}}

@media(max-width:600px){.nt-page .kt-bcard.is-full .kt-bside{overflow:visible}}   /* phones: the whole full-screen card scrolls, the side panel is not squeezed into its own scroll box */
@media(max-width:600px){.nt-page .kt-bcard.is-full .kt-bthumbs{min-height:72px;flex:none}}   /* the thumbnail row was squeezed under the side panel */
/* #13 skill ideas under Skills (04.11 SEO pass) */
.nt-page .rs-ideas{margin-top:12px}
.nt-page .rs-ideas .rs-cap i{font-style:normal;color:var(--muted);font-weight:400;margin-left:6px}
.nt-page .rs-ideas-l{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.nt-page .rs-idea{border:1.5px dashed var(--line);background:var(--surface);color:var(--ink);border-radius:99px;padding:5px 11px;font:500 13px var(--font-body);cursor:pointer}
.nt-page .rs-idea:hover{border-color:var(--green);border-style:solid;color:var(--green-deep)}
:root[data-theme="dark"] .nt-page .rs-idea:hover{color:var(--green)}

/* ===========================================================
   #71 Timeline Maker + #69 Newspaper Template (05.11), family В (.pr-tl* / .pr-np*). Everything on the white page uses
   fixed print colours (the page stays paper in dark mode); the settings side uses the theme tokens.
   =========================================================== */
.nt-page .pr-page.tab{aspect-ratio:11/17}
.nt-page .pr-page.pr-tl{display:flex;flex-direction:column;font-family:var(--font-body)}
/* settings: event list + editor */
.nt-page .pr-tllist{display:flex;flex-direction:column;max-height:300px;overflow-y:auto;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.nt-page .pr-tlrow{display:grid;grid-template-columns:10px minmax(0,1fr) 30px;align-items:center;gap:10px;padding:0 6px 0 12px;border-bottom:1px solid var(--line)}
.nt-page .pr-tlrow:last-child{border-bottom:0}
.nt-page .pr-tlrow.on{background:var(--green-tint)}
.nt-page .pr-tlrow>i{width:10px;height:10px;border-radius:50%}
.nt-page .pr-tlpick{display:flex;flex-direction:column;gap:1px;min-width:0;padding:8px 0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.nt-page .pr-tlpick b{font:500 12px var(--font-mono);color:var(--muted)}
.nt-page .pr-tlpick span{overflow:hidden;font-size:14px;white-space:nowrap;text-overflow:ellipsis}
.nt-page .pr-tlx{width:30px;height:30px;border:0;border-radius:8px;background:none;color:var(--muted);font-size:16px;cursor:pointer}
.nt-page .pr-tlx:hover:not(:disabled){background:var(--surface2);color:var(--ink)}
.nt-page .pr-tlx:disabled{opacity:.3;cursor:default}
.nt-page .pr-tled{display:flex;flex-direction:column;gap:12px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface2)}
.nt-page .pr-tldaterow{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,.8fr);gap:8px}
.nt-page .pr-tlcols{display:flex;flex-wrap:wrap;gap:8px}
.nt-page .pr-tlcol{width:28px;height:28px;padding:0;border:2px solid var(--surface);border-radius:50%;box-shadow:0 0 0 1px var(--line);cursor:pointer}
.nt-page .pr-tlcol.on{box-shadow:0 0 0 2px var(--ink)}
.nt-page .pr-tlfound{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}
.nt-page .pr-tlfound li{display:flex;flex-direction:column;gap:4px;padding:8px 10px;border-radius:10px;background:var(--surface)}
.nt-page .pr-tlfound .ps-check b{margin-right:2px;font:600 12px var(--font-mono)}
.nt-page .pr-tlfound q{padding-left:26px;color:var(--muted);font-size:13px;font-style:italic}
/* the sheet: axis, pins, cards, ticks, break marker */
.nt-page .pr-tlaxis{position:relative;flex:1;min-height:0}
.nt-page .pr-tlrule{position:absolute;background:#191E1A}
.nt-page .pr-tlaxis.h .pr-tlrule{left:1%;right:1%;top:50%;height:2px}
.nt-page .pr-tlaxis.v .pr-tlrule{top:0;bottom:0;left:30%;width:2px}
.nt-page .pr-tlev{position:absolute;display:flex;--c:#191E1A}
.nt-page .pr-tlaxis.h .pr-tlev{flex-direction:column;align-items:center;transform:translateX(-50%)}
.nt-page .pr-tlaxis.h .pr-tlev.dn{top:calc(50% + 1px)}
.nt-page .pr-tlaxis.h .pr-tlev.up{bottom:calc(50% - 1px);flex-direction:column-reverse}
.nt-page .pr-tlpin{position:relative;display:block;flex:none;width:2px;height:var(--pin,16px);background:var(--c)}
.nt-page .pr-tlpin::after{content:"";position:absolute;left:-3.5px;width:9px;height:9px;border-radius:50%;background:var(--c);box-shadow:0 0 0 2px #fff}
.nt-page .pr-tlev.dn .pr-tlpin::after{top:-4.5px}
.nt-page .pr-tlev.up .pr-tlpin::after{bottom:-4.5px}
.nt-page .pr-tlcard{position:relative;width:100%;padding:4px 5px;border-top:3px solid var(--c);border-radius:3px;background:#F6F7F3;font-size:8px;line-height:1.3;text-align:center}
.nt-page .pr-tlcard .pr-tld{display:block;margin-bottom:1px;font:700 7px/1.3 var(--font-mono);color:var(--c)}
.nt-page .pr-tlcard strong{display:block;font-size:8.5px;font-weight:700}
.nt-page .pr-tlcard p{margin:2px 0 0;color:#4E6158}
.nt-page .pr-tlaxis.small .pr-tlcard{padding:3px;font-size:7px}
.nt-page .pr-tlaxis.small .pr-tlcard strong{font-size:7px}
.nt-page .pr-tlaxis.v .pr-tlev{left:30%;right:0;align-items:center;transform:translateY(-50%)}
.nt-page .pr-tlaxis.v .pr-tlpin{width:14px;height:2px;margin-left:1px}
.nt-page .pr-tlaxis.v .pr-tlpin::after{left:-5px;top:-3.5px}
.nt-page .pr-tlaxis.v .pr-tlcard{width:auto;max-width:92%;border-top:0;border-left:3px solid var(--c);text-align:left}
.nt-page .pr-tlaxis.v .pr-tlcard .pr-tld{position:absolute;right:calc(100% + 26px);top:4px;width:max-content;max-width:110px;text-align:right}
.nt-page .pr-tltick{position:absolute;font:600 6.5px var(--font-mono);color:#7A8B83;white-space:nowrap}
.nt-page .pr-tlaxis.h .pr-tltick{top:50%;transform:translate(-50%,5px)}
.nt-page .pr-tlaxis.h .pr-tltick::before{content:"";position:absolute;left:50%;top:-6px;width:1px;height:4px;background:#7A8B83}
.nt-page .pr-tlaxis.v .pr-tltick{left:0;transform:translateY(-50%)}
.nt-page .pr-tlbrk{position:absolute;display:flex;flex-direction:column;align-items:center;gap:2px;z-index:1}
.nt-page .pr-tlaxis.h .pr-tlbrk{bottom:50%;flex-direction:column-reverse;transform:translate(-50%,7px);z-index:4}
.nt-page .pr-tlbrk em{padding:0 2px;border-radius:2px;background:#fff}
.nt-page .pr-tlaxis.v .pr-tlbrk{left:30%;flex-direction:row;transform:translate(-6px,-50%)}
.nt-page .pr-tlbrk i{display:block;width:9px;height:14px;border-left:2px solid #191E1A;border-right:2px solid #191E1A;background:#fff;transform:skewX(-20deg)}
.nt-page .pr-tlaxis.v .pr-tlbrk i{width:14px;height:9px;border:0;border-top:2px solid #191E1A;border-bottom:2px solid #191E1A;transform:skewY(-20deg)}
.nt-page .pr-tlbrk em{font:600 6.5px var(--font-mono);font-style:normal;color:#4E6158;white-space:nowrap}
/* blank organizers */
.nt-page .pr-tlblank{position:relative;flex:1;min-height:0}
.nt-page .pr-tlblank.h .pr-tlrule{left:1%;right:1%;top:50%;height:2px}
.nt-page .pr-tlslot{position:absolute;display:flex;flex-direction:column;align-items:center;width:17%;transform:translateX(-50%);--c:#191E1A}
.nt-page .pr-tlblank.n5 .pr-tlslot{width:26%}.nt-page .pr-tlblank.n8 .pr-tlslot{width:22%}
.nt-page .pr-tlslot.dn{top:calc(50% + 1px)}
.nt-page .pr-tlslot.up{bottom:calc(50% - 1px);flex-direction:column-reverse}
.nt-page .pr-tlslot.dn .pr-tlpin::after{top:-4.5px}.nt-page .pr-tlslot.up .pr-tlpin::after{bottom:-4.5px}
.nt-page .pr-tlbox{width:100%;padding:4px 6px 6px;border:1.2px solid #191E1A;border-radius:4px;background:#fff}
.nt-page .pr-tldate{display:block;font:600 7px var(--font-mono);color:#4E6158}
.nt-page .pr-tlcap{display:block;margin-top:2px;font:700 6.5px var(--font-mono);color:#7A8B83;text-transform:uppercase;letter-spacing:.04em}
.nt-page .pr-tlblank.v{display:flex;flex-direction:column;gap:6px}
.nt-page .pr-tlvrow{display:grid;grid-template-columns:20% 10px minmax(0,1fr);flex:1;gap:8px;align-items:center}
.nt-page .pr-tlvrow .pr-tlpin{width:10px;height:10px;border-radius:50%;background:#191E1A}
.nt-page .pr-tlvrow .pr-tlpin::after{display:none}
.nt-page .pr-tlvbox{align-self:stretch;padding:3px 6px;border:1.2px solid #191E1A;border-radius:4px}
.nt-page .pr-tlbio{display:flex;flex-direction:column;flex:1}
.nt-page .pr-tlbiohead{display:flex;flex-wrap:wrap;gap:6px 14px;margin-bottom:10px;font-size:9px}
.nt-page .pr-tlbio td{height:46px}
.nt-page .pr-tlbio th:first-child{width:16%}
.nt-page .pr-tlce{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:6%}
.nt-page .pr-tlcebox{position:relative;padding:5px 7px 8px;border:1.2px solid #191E1A;border-radius:4px}
.nt-page .pr-tlarrow{position:absolute;right:-16px;top:45%;font:700 14px var(--font-body);font-style:normal}
/* #69 newspaper: settings */
.nt-page .pr-nplegend{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;font-size:13px}
.nt-page .pr-nplegend li{display:grid;grid-template-columns:10px max-content minmax(0,1fr);gap:8px;align-items:baseline}
.nt-page .pr-nplegend span{color:var(--muted)}
.nt-page .pr-npdot{width:10px;height:10px;border-radius:3px;background:var(--rc)!important}
.nt-page .pr-npfact{display:grid;grid-template-columns:20px minmax(0,1fr);gap:8px;align-items:center;margin-bottom:6px}
.nt-page .pr-npq{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:6px;margin-bottom:10px}
.nt-page .pr-npq .ps-field{grid-column:1/-1}
.nt-page .pr-nporder{display:flex;flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;counter-reset:o}
.nt-page .pr-nporder li{display:grid;grid-template-columns:minmax(0,1fr) 30px 30px;align-items:center;padding:3px 4px 3px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font-size:14px}
.nt-page .pr-nporder li span::before{content:counter(o) ". ";counter-increment:o;color:var(--muted)}
.nt-page .pr-npchecks{display:flex;flex-direction:column;gap:6px;margin:0;padding:12px 14px;border-radius:14px;background:var(--surface2);list-style:none;font-size:14px}
.nt-page .pr-npchecks li::before{content:"✓";display:inline-block;width:20px;font-weight:800;color:var(--green)}
.nt-page .pr-npchecks li.no::before{content:"!";color:#C2412E}
:root[data-theme="dark"] .nt-page .pr-npchecks li.no::before{color:#F0877A}
/* #69 newspaper: the page */
.nt-page .pr-page.pr-np{padding:5% 6%;font-family:"Times New Roman",Times,serif}
.nt-page .pr-npmast{margin-bottom:8px;padding-bottom:3px;border-bottom:3px double #191E1A;text-align:center}
.nt-page .pr-npmast>b{display:block;font:600 26px/1.1 var(--font-display);letter-spacing:-.01em}
.nt-page .pr-npmast.sm>b{font-size:17px}
.nt-page .pr-npbar{display:flex;justify-content:space-between;gap:8px;margin-top:4px;padding-top:2px;border-top:1px solid #191E1A;font:500 6.5px var(--font-mono);letter-spacing:.04em;text-transform:uppercase}
.nt-page .pr-nphl{display:block;margin:2px 0 4px;font:700 19px/1.12 var(--font-display)}
.nt-page .pr-nphl.long{font-size:15px}
.nt-page .pr-npdeck{margin-bottom:4px!important;color:#3B4A42;font-size:10px;font-style:italic;line-height:1.3}
.nt-page .pr-npby{margin-bottom:6px!important;font:600 7px var(--font-mono);letter-spacing:.04em;color:#4E6158;text-transform:uppercase}
.nt-page .pr-npcols{column-gap:12px;column-rule:1px solid #D5DAD6;font-size:8.6px;line-height:1.38;text-align:justify;hyphens:auto}
.nt-page .pr-npcols.c2{column-count:2}.nt-page .pr-npcols.c3{column-count:3;font-size:8px}
.nt-page .pr-npcols p{margin:0 0 5px;text-indent:1em}
.nt-page .pr-npcols p:first-child{text-indent:0}
.nt-page .pr-nppull{margin:6px 0 8px;padding:5px 0;border-top:1.5px solid #191E1A;border-bottom:1.5px solid #191E1A;font:600 11px/1.25 var(--font-display);text-align:left;break-inside:avoid}
.nt-page .pr-npmore{color:#B42318;font:600 6.5px var(--font-mono);text-indent:0!important}
.nt-page .pr-npphoto{margin:0 0 8px}
.nt-page .pr-npimg svg{display:block;width:100%;height:auto}
.nt-page .pr-npphoto figcaption{margin-top:2px;color:#4E6158;font-size:7.5px;font-style:italic;line-height:1.3}
.nt-page .pr-npphoto{break-inside:avoid}
.nt-page .pr-npex .pr-npcols{font-size:9.6px;line-height:1.45}
.nt-page .pr-npex .pr-nphl{font-size:21px}
.nt-page .pr-npfront{display:grid;grid-template-columns:minmax(0,1fr) 26%;gap:12px}
.nt-page .pr-npside{padding-left:10px;border-left:1px solid #191E1A;font-size:8.5px}
.nt-page .pr-npside b{display:block;margin-bottom:4px;font:700 10px var(--font-display)}
.nt-page .pr-npinside{display:block;margin-top:10px;padding-top:6px;border-top:1px solid #C9D2CD;font:600 6.5px/1.5 var(--font-mono);text-transform:uppercase}
/* example labels: a tint for each part + a tiny tag */
.nt-page .pr-npm{padding:0 1px;border-radius:2px;background:var(--rb);-webkit-box-decoration-break:clone;box-decoration-break:clone}
.nt-page .pr-nptag{display:inline-block;margin-right:3px;padding:0 3px;border-radius:3px;background:var(--rc);color:#fff;font:700 5.5px/1.7 var(--font-mono);font-style:normal;letter-spacing:.03em;text-indent:0;text-transform:uppercase;vertical-align:1.5px}
.nt-page .r-headline{--rc:#0E7B54;--rb:#E3F2EA}.nt-page .r-deck{--rc:#2D5DA8;--rb:#E6EEF9}.nt-page .r-byline{--rc:#8A4FA3;--rb:#F1E9F6}
.nt-page .r-dateline{--rc:#7A6421;--rb:#F4EEDC}.nt-page .r-lead{--rc:#C2571A;--rb:#FBE9DD}.nt-page .r-nut{--rc:#9A7700;--rb:#FAF1CC}
.nt-page .r-quote{--rc:#A3326B;--rb:#F9E4EE}.nt-page .r-background{--rc:#4E6158;--rb:#E9EDEA}.nt-page .r-detail{--rc:#8A968F;--rb:transparent}
.nt-page .pr-npplan{font-family:var(--font-body);font-size:8.5px}
.nt-page .pr-npplan .pr-ogrid{height:auto;grid-template-columns:repeat(3,1fr)}
.nt-page .pr-npplan .pr-obox{min-height:52px}
.nt-page .pr-npbox{margin-top:8px;padding:5px 7px;border:1px solid #9AA5A0;border-radius:4px}
.nt-page .pr-npbox>b{display:block;margin-bottom:2px;font:700 7px var(--font-mono);color:#4E6158;text-transform:uppercase}
.nt-page .pr-nppyr{display:flex;flex-direction:column;align-items:center;gap:2px;margin-top:8px}
.nt-page .pr-nppyr span{display:block;padding:3px 6px;border-radius:2px;background:#E3F2EA;font-size:7.5px;text-align:center}
.nt-page .pr-nppyr span:first-child{background:#BFE3CF;font-weight:700}
@media(max-width:600px){
  .nt-page .pr-npq{grid-template-columns:1fr}
  .nt-page .pr-tlce{gap:12px}
  .nt-page .pr-npmast>b{font-size:20px}
  .nt-page .pr-nphl{font-size:15px}
}
.nt-page .pr-tlblank .pr-tlslot .pr-tlpin{--pin:26px}
.nt-page .pr-tlblank.h .pr-tlbox .pr-line{height:17px}
.nt-page .pr-tlblank.v::before{content:"";position:absolute;top:2%;bottom:2%;left:calc(20% + 12px);width:2px;background:#191E1A}
.nt-page .pr-tlce{margin:auto 0}
.nt-page .pr-tlce .pr-line{height:17px}
.nt-page .pr-npcols figure+p{text-indent:0}
/* Tabloid (11×17) preview: same pixel width as Letter, so the type shrinks by 8.5/11 to keep the printed proportions */
.nt-page .pr-page.tab.pr-np .pr-npcols{font-size:6.6px}.nt-page .pr-page.tab.pr-np .pr-npcols.c3{font-size:6.2px}
.nt-page .pr-page.tab.pr-np .pr-nphl{font-size:15px}.nt-page .pr-page.tab.pr-np .pr-npmast>b{font-size:20px}
.nt-page .pr-page.tab.pr-np .pr-npdeck{font-size:8px}.nt-page .pr-page.tab.pr-np .pr-nppull{font-size:8.5px}
.nt-page .pr-tlrow>i{box-shadow:0 0 0 1px var(--line)}
/* #27 matrix (05.11): rows you add are typed in place; theme cells are buttons that cycle agree / disagree / gap */
.nt-page .pl-cellin{min-width:110px;padding:6px 8px;min-height:0;font-size:13px}
.nt-page .pl-markbtn{border:0;cursor:pointer}
.nt-page .pl-themein{width:190px;max-width:100%}
/* #55 poster designs (05.11): Icons = a line icon per rule (was the same as Numbered); Blocks = five tints in turn (was one) */
.nt-page .pr-poster.d-icons ol{text-align:left;gap:9px}
.nt-page .pr-poster.d-icons li{display:flex;align-items:center;gap:10px}
.nt-page .pr-ric{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#E7F3EC;color:#0A5C3F}
.nt-page .pr-ric svg{width:18px;height:18px}
.nt-page .pr-poster.d-icons li.b1 .pr-ric{background:#E6EEF9;color:#2D5DA8}.nt-page .pr-poster.d-icons li.b2 .pr-ric{background:#FBE9DD;color:#B04E17}
.nt-page .pr-poster.d-icons li.b3 .pr-ric{background:#F1E9F6;color:#7A4393}.nt-page .pr-poster.d-icons li.b4 .pr-ric{background:#FAF1CC;color:#7F6200}
.nt-page .pr-poster.d-blocks li.b1{background:#E6EEF9}.nt-page .pr-poster.d-blocks li.b2{background:#E7F3EC}
.nt-page .pr-poster.d-blocks li.b3{background:#F1E9F6}.nt-page .pr-poster.d-blocks li.b4{background:#FBE9DD}
/* #70 cover page (05.11): a real picture in the Project box; the file input hides inside its button */
.nt-page .pr-file{position:relative;overflow:hidden;cursor:pointer}
.nt-page .pr-file input{position:absolute;inset:0;opacity:0;cursor:pointer}
.nt-page .pr-img.has{padding:0;border:0;background:none;overflow:hidden}
.nt-page .pr-img.has img{display:block;width:100%;height:100%;object-fit:cover}

/* ===== #79 Background Remover, Cos 05.11 ===== */
/* 1 · the «Removing background…» pill lives inside the picture, 14px above its bottom; small pictures get a smaller pill */
.nt-page .kt-bwork .kt-bframe{container-type:inline-size}
.nt-page .kt-bframe .kt-bstatus{bottom:14px;max-width:calc(100% - 20px);z-index:2}
.nt-page .kt-bstatus>span{overflow:hidden;text-overflow:ellipsis}
@container (max-width:240px){.nt-page .kt-bframe .kt-bstatus{bottom:10px;padding:6px 11px;gap:7px;font-size:12.5px}}
/* 3 · zoom = a round magnifier (+ to 100%, − back to fit), the same circle as full screen; slightly bigger icons */
.nt-page .kt-bzm{width:34px;height:34px;padding:0;font-size:0;background-position:center;background-size:19px}
.nt-page .kt-bfs{background-size:17px}
/* tooltips on the icon-only buttons (zoom, full screen, copy): what the click does */
.nt-page [data-tip]{position:relative}
.nt-page [data-tip]:is(:hover,:focus-visible)::after{content:attr(data-tip);position:absolute;top:calc(100% + 8px);left:50%;transform:translateX(-50%);z-index:6;padding:5px 9px;border-radius:7px;background:var(--ink);color:var(--surface);font:600 12px/1.3 var(--font-body);letter-spacing:0;white-space:nowrap;pointer-events:none}
.nt-page .kt-bfs[data-tip]::after{left:auto;right:0;transform:none}
.nt-page .kt-bcpyi[data-tip]::after{top:auto;bottom:calc(100% + 8px);left:auto;right:0;transform:none}
@media(hover:none){.nt-page [data-tip]:hover::after{display:none}}
/* 4 · the file line sits on the same line as the picture's buttons (top 14px, 34px high) */
@media(min-width:601px){
  .nt-page .kt-bcard.full .kt-bside{padding-top:14px}
  .nt-page .kt-bcard.full .kt-bside .kt-ifile{display:block;line-height:34px;transform:translateY(-6px)}
}
/* 5 · Download and a round Copy icon in one row */
.nt-page .kt-bdlrow{display:flex;align-items:center;gap:10px}
.nt-page .kt-bdlrow>.kt-bdlb,.nt-page .kt-bdlrow>.kt-bdlw{flex:1;min-width:0}
.nt-page .kt-bcpyi{flex:none;width:42px;height:42px;padding:0;border-radius:99px;border:1.5px solid var(--line);cursor:pointer;
  background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23626A64' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='12' height='12' rx='2'/%3E%3Cpath d='M5 15H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1'/%3E%3C/svg%3E") center/19px no-repeat}
.nt-page .kt-bcpyi:hover{border-color:var(--ink)}
.nt-page .kt-bcpyi.on{border-color:var(--green);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E7B54' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E")}
:root[data-theme="dark"] .nt-page .kt-bcpyi{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239EA396' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='12' height='12' rx='2'/%3E%3Cpath d='M5 15H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1'/%3E%3C/svg%3E")}
:root[data-theme="dark"] .nt-page .kt-bcpyi.on{border-color:var(--green);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2346C08A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E")}
@media(max-width:600px){.nt-page .kt-bsws .kt-bsw{flex:1 1 0;min-width:0;width:auto;height:auto;aspect-ratio:1;max-width:36px}}   /* 05.11: 7 swatches overflowed the row by 24px at 320 */
/* #79 rail while one image is in work (Cos 05.11): «+» off with a tooltip, the busy thumbnail is a skeleton (+ spinner when not open) */
.nt-page .kt-bthumb.add{overflow:visible}
.nt-page .kt-bthumb.add.off{opacity:.45;cursor:not-allowed;transform:none}
.nt-page .kt-bthumb.add.off:hover{color:var(--muted);border-color:var(--line)}
.nt-page .kt-bthumb.busy{background:var(--surface2);cursor:default}
.nt-page .kt-bthumb.busy:not(.on){cursor:pointer}
.nt-page .kt-bthsk{display:grid;place-items:center;width:100%;height:100%;background:linear-gradient(90deg,var(--surface2) 0%,#ECEAE2 40%,var(--surface2) 80%) 0 0/300% 100%;animation:kt-shim 1.4s linear infinite}
:root[data-theme="dark"] .nt-page .kt-bthsk{background-image:linear-gradient(90deg,var(--surface2) 0%,#343A32 40%,var(--surface2) 80%)}
@media(prefers-reduced-motion:reduce){.nt-page .kt-bthsk{animation:none}}
/* drop state (Cos 05.11): the dashed frame was the card's own outline, so the picture area (positioned, painted later) covered its top
   edge. The frame now lives on the overlay (z-index 3), above everything; same for the #78 verdict card */
.nt-page .kt-bcard.drop-on,.nt-page .kt-iverdict.drop-on{outline:0}
.nt-page .kt-bcard.drop-on::after{outline:2px dashed var(--green);outline-offset:-8px}
.nt-page .kt-iverdict.drop-on::after{outline:2px dashed var(--vc);outline-offset:-8px;z-index:3}
.nt-page .kt-bcard.drop-on::after{outline:0;inset:8px;border:2px dashed var(--green);border-radius:15px;box-shadow:0 0 0 8px color-mix(in srgb,var(--surface) 82%,transparent)}   /* Cos 05.11: a real dashed border 8px in, its corner concentric with the 24px tool box (an outline with a negative offset lost the radius); the shadow fills the 8px outside it */

/* #79 full screen like a lightbox (Cos 05.11, «как у GPT»): the page stays visible behind, blurred and faded, so it reads as a layer
   over the same page, not a new page. The card turns into frosted glass; the picture keeps its solid checkerboard / background. */
.nt-page .kt-bcard.is-full{background:color-mix(in srgb,var(--surface) 58%,transparent);-webkit-backdrop-filter:blur(18px) saturate(1.1);backdrop-filter:blur(18px) saturate(1.1);box-shadow:none}
.nt-page .kt-bcard.is-full .kt-bstage,.nt-page .kt-bcard.is-full .kt-bthumbs,.nt-page .kt-bcard.is-full .kt-bside{background:transparent}
.nt-page .kt-bcard.is-full .kt-bside{border-left-color:color-mix(in srgb,var(--line) 80%,transparent)}
.nt-page .kt-bcard.is-full .kt-bframe{box-shadow:0 2px 6px rgba(25,30,26,.08),0 24px 60px rgba(25,30,26,.18)}
:root[data-theme="dark"] .nt-page .kt-bcard.is-full{background:color-mix(in srgb,var(--surface) 70%,transparent)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.nt-page .kt-bcard.is-full{background:var(--surface)}}
/* a bad file dropped on a finished result: a banner over the top of the picture, the result stays (Cos 05.11) */
.nt-page .kt-bresErr{position:absolute;top:62px;left:50%;z-index:4;transform:translateX(-50%);display:flex;align-items:flex-start;gap:12px;width:min(460px,calc(100% - 28px));padding:12px 12px 12px 16px;border-radius:14px;background:var(--surface);box-shadow:0 0 0 1.5px rgba(206,80,73,.35),0 10px 30px rgba(25,30,26,.16);text-align:left}
.nt-page .kt-bresErr>div{flex:1;min-width:0}
.nt-page .kt-bresErr b{display:block;font:600 14.5px/1.35 var(--font-body);color:#A3443E}
.nt-page .kt-bresErr p{margin:3px 0 0;font-size:13.5px;line-height:1.45;color:var(--muted)}
.nt-page .kt-bresx{flex:none;width:28px;height:28px;border:0;border-radius:8px;background:none;cursor:pointer;color:var(--muted);font-size:0;position:relative}
.nt-page .kt-bresx::before,.nt-page .kt-bresx::after{content:"";position:absolute;left:8px;top:13px;width:12px;height:1.8px;border-radius:2px;background:currentColor;transform:rotate(45deg)}
.nt-page .kt-bresx::after{transform:rotate(-45deg)}
.nt-page .kt-bresx:hover{background:var(--surface2);color:var(--ink)}
:root[data-theme="dark"] .nt-page .kt-bresErr b{color:var(--msg-err-ink,#F0877A)}
:root[data-theme="dark"] .nt-page .kt-bresErr{box-shadow:0 0 0 1.5px rgba(240,135,122,.4),0 10px 30px rgba(0,0,0,.4)}
@media(max-width:600px){.nt-page .kt-bresErr{top:56px}}
.nt-page .kt-bcard.is-full .kt-bhint{background:transparent}
/* swatches shrink to fit at every width (Cos 05.11: on a tablet the 270px panel cut the 7th circle and full screen got a sideways scroll) */
.nt-page .kt-bsws .kt-bsw{flex:1 1 0;min-width:0;width:auto;height:auto;aspect-ratio:1;max-width:34px}
.nt-page .kt-bcard.is-full .kt-bside{overflow-x:hidden}
@media(max-width:600px){.nt-page .kt-bcard.is-full{align-content:start;grid-auto-rows:auto}.nt-page .kt-bcard.is-full .kt-bhint{padding-bottom:max(16px,env(safe-area-inset-bottom))}}   /* phones, full screen (Cos 05.11): rows hug their content; before, a tall screen stretched them and left big empty bands under the thumbnails and the links */
@media(min-width:601px) and (max-width:900px){.nt-page .kt-bsws .kt-bsw{max-width:27px}}   /* tablet (Cos 05.11): smaller circles so the row breathes (about 7px between them) */
/* guide cards (.lb-guide, every 77 page that shows them; Cos 05.11: the 11px mono digits were too small and not ours): the number is
   the 99 tools' «How it works» tile (.step-num) at card size: a rounded square, display font, green */
.nt-page .lb-guide li{gap:8px;padding:16px 18px 18px}
.nt-page .lb-guide li::before{display:flex;align-items:center;justify-content:center;width:38px;height:38px;margin-bottom:4px;border-radius:12px;border:1.5px solid var(--line);background:var(--surface);box-shadow:var(--shadow);font:600 18px/1 var(--font-display);color:var(--green)}
.nt-page .lb-guide b{font-size:16px}
/* #11 wheel full screen (Cos 05.11): sized from the visible box (--fsh), not 100vh (inside the playground frame vh = the whole page);
   the same frosted glass as the #79 full screen, so the page shows through */
.nt-page .kt-stage.is-full .kt-wheelbox{width:min(calc(var(--fsh,100vh) - 220px),90vw)}
.nt-page .kt-stage.is-full{background:color-mix(in srgb,var(--surface) 58%,transparent);-webkit-backdrop-filter:blur(18px) saturate(1.1);backdrop-filter:blur(18px) saturate(1.1)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.nt-page .kt-stage.is-full{background:var(--bg,#F6F7F3)}}
/* #11 confetti (05.11): pieces fly out of the wheel's center, then fall and fade; the layer sits on the body above everything */
.kt-confetti{position:fixed;width:0;height:0;z-index:400;pointer-events:none}
.kt-confetti i{position:absolute;left:0;top:0;height:10px;border-radius:2px;opacity:0;animation:kt-conf 1.9s cubic-bezier(.15,.75,.35,1) forwards}
@keyframes kt-conf{0%{transform:translate(0,0) rotate(0);opacity:1}35%{transform:translate(var(--x),var(--y)) rotate(calc(var(--r) * .4));opacity:1}
  100%{transform:translate(calc(var(--x) * 1.15),calc(var(--y) + 260px)) rotate(var(--r));opacity:0}}
.kt-confetti i{animation:none;opacity:1}   /* 05.11: the flight is now one Web Animation per piece (physics), not the two-step CSS keyframes */
/* #11 lists row (Cos 05.11): your saved lists + templates + «+ Save this list» in one row */
.nt-page .kt-side>span:has(>.kt-lists){display:block}
.nt-page .kt-lists{display:flex;flex-direction:column;gap:10px}
.nt-page .kt-lchip{position:relative;display:inline-flex}
.nt-page .kt-lchip.on>.nt-chip{background:var(--ink);border-color:var(--ink);color:var(--surface)}
.nt-page .kt-lchip.mine>.nt-chip{padding-left:28px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230E7B54'%3E%3Cpath d='M6 3h12a1 1 0 0 1 1 1v17l-7-4.2L5 21V4a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:11px center;background-size:12px}
.nt-page .kt-lchip.mine.on>.nt-chip{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFFFFF'%3E%3Cpath d='M6 3h12a1 1 0 0 1 1 1v17l-7-4.2L5 21V4a1 1 0 0 1 1-1z'/%3E%3C/svg%3E")}
:root[data-theme="dark"] .nt-page .kt-lchip.mine.on>.nt-chip{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231B1E19'%3E%3Cpath d='M6 3h12a1 1 0 0 1 1 1v17l-7-4.2L5 21V4a1 1 0 0 1 1-1z'/%3E%3C/svg%3E")}
.nt-page .kt-lchip.mine>.nt-chip{padding-right:30px}
.nt-page .kt-ldel{position:absolute;right:6px;top:50%;width:20px;height:20px;margin-top:-10px;border:0;border-radius:50%;background:none;cursor:pointer;color:inherit;opacity:.55}
.nt-page .kt-lchip.on .kt-ldel{color:var(--surface)}
.nt-page .kt-ldel::before,.nt-page .kt-ldel::after{content:"";position:absolute;left:5px;top:9.2px;width:10px;height:1.6px;border-radius:2px;background:currentColor;transform:rotate(45deg)}
.nt-page .kt-ldel::after{transform:rotate(-45deg)}
.nt-page .kt-ldel:hover{opacity:1;background:color-mix(in srgb,currentColor 12%,transparent)}
.nt-page .kt-lsave{border-style:dashed;color:var(--green-deep)}
.nt-page .kt-lsave:disabled{opacity:.5;cursor:default}
.nt-page .kt-lform{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.nt-page .kt-lform .opt-in{flex:1 1 200px;min-width:0}
.nt-page .kt-lnote{flex-basis:100%;font-size:12.5px;color:var(--muted)}
.nt-page .kt-lok{margin:0}
/* #11 list head (VARIANT LISTS_MENU, Cos 05.11): the list's name is the field's title and a menu button; Save sits on the right.
   Like Google's file-name menus: one line instead of a wall of chips. */
.nt-page .kt-side>span:has(>.kt-lhead){display:block}
.nt-page .kt-lhead{position:relative;display:flex;align-items:center;gap:10px;min-height:38px;margin-bottom:-4px}
.nt-page .kt-lname{display:inline-flex;align-items:center;gap:7px;max-width:calc(100% - 70px);margin-left:-8px;padding:6px 8px;border:0;border-radius:10px;background:none;cursor:pointer;color:var(--ink);font:600 16px/1.2 var(--font-body);text-align:left}
.nt-page .kt-lname>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.nt-page .kt-lname:hover,.nt-page .kt-lname[aria-expanded="true"]{background:var(--surface2)}
.nt-page .kt-lname.custom>span{color:var(--muted);font-style:italic;font-weight:500}
.nt-page .kt-lcar{flex:none;width:9px;height:9px;margin-top:-4px;border-right:1.8px solid var(--muted);border-bottom:1.8px solid var(--muted);transform:rotate(45deg);transition:transform .15s}
.nt-page .kt-lname[aria-expanded="true"] .kt-lcar{transform:rotate(-135deg);margin-top:4px}
.nt-page .kt-lbm{flex:none;width:12px;height:15px;background:var(--green);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 15'%3E%3Cpath d='M1 0h10a1 1 0 0 1 1 1v14l-6-3.6L0 15V1a1 1 0 0 1 1-1z'/%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 15'%3E%3Cpath d='M1 0h10a1 1 0 0 1 1 1v14l-6-3.6L0 15V1a1 1 0 0 1 1-1z'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-page .kt-lsavelink{margin-left:auto;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:0;border-radius:10px;background:none;cursor:pointer;color:var(--green-deep);font:600 14px var(--font-body)}
.nt-page .kt-lsavelink::before{content:"";width:11px;height:14px;border:1.7px solid currentColor;border-bottom:0;border-radius:2px 2px 0 0;clip-path:polygon(0 0,100% 0,100% 100%,50% 72%,0 100%)}
.nt-page .kt-lsavelink:hover{background:var(--green-tint)}
.nt-page .kt-lsavelink:disabled{opacity:.45;cursor:default;background:none}
.nt-page .kt-lsaved{margin-left:auto;font:600 13.5px var(--font-body);color:var(--green-deep)}
.nt-page .kt-lmenu{position:absolute;top:calc(100% + 4px);left:-8px;z-index:20;display:flex;flex-direction:column;width:min(320px,calc(100% + 8px));max-height:360px;overflow:auto;padding:6px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:0 12px 32px rgba(25,30,26,.16)}
:root[data-theme="dark"] .nt-page .kt-lmenu{box-shadow:0 12px 32px rgba(0,0,0,.45)}
.nt-page .kt-lcap{padding:8px 10px 4px;font:500 10.5px var(--font-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.nt-page .kt-lmi{position:relative}
.nt-page .kt-lmb{display:flex;align-items:center;gap:8px;width:100%;padding:9px 10px;border:0;border-radius:9px;background:none;cursor:pointer;color:var(--ink);font:500 14.5px var(--font-body);text-align:left}
.nt-page .kt-lmb>span{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.nt-page .kt-lmb small{font:500 11.5px var(--font-mono);color:var(--muted)}
.nt-page .kt-lmb:hover{background:var(--row-hover,var(--surface2))}
.nt-page .kt-lmi.on .kt-lmb{background:var(--green-tint);color:var(--green-deep);font-weight:600}
.nt-page .kt-lmb.mine{padding-left:30px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 15' fill='%230E7B54'%3E%3Cpath d='M1 0h10a1 1 0 0 1 1 1v14l-6-3.6L0 15V1a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:11px center;background-size:10px 13px}
.nt-page .kt-lmi .kt-ldel{right:8px;color:var(--muted);opacity:0}
.nt-page .kt-lmi:hover .kt-ldel,.nt-page .kt-lmi .kt-ldel:focus-visible{opacity:.7}
.nt-page .kt-lmi:has(.kt-ldel) .kt-lmb small{margin-right:24px}
.nt-page .kt-lsep{height:1px;margin:6px 4px;background:var(--line)}
.nt-page .kt-lmb.add{color:var(--green-deep);font-weight:600}
.nt-page .kt-lmb.add:disabled{opacity:.45;cursor:default}
.nt-page .kt-lhint{margin:2px 10px 6px;font-size:12.5px;line-height:1.45;color:var(--muted)}
.nt-page .kt-lhead.editing{gap:8px}
.nt-page .kt-lnamein{flex:1;min-width:0}
.nt-page .kt-lsavebtn{flex:none}
.nt-page .kt-lcancel{flex:none;position:relative;width:34px;height:34px;border:0;border-radius:9px;background:none;cursor:pointer;color:var(--muted)}
.nt-page .kt-lcancel::before,.nt-page .kt-lcancel::after{content:"";position:absolute;left:11px;top:16px;width:12px;height:1.8px;border-radius:2px;background:currentColor;transform:rotate(45deg)}
.nt-page .kt-lcancel::after{transform:rotate(-45deg)}
.nt-page .kt-lcancel:hover{background:var(--surface2);color:var(--ink)}
.nt-page .kt-lsavelink[data-tip]::after{left:auto;right:0;transform:none}
/* bookmark glitches (Cos 05.11): the «on» row's background shorthand wiped the bookmark of a saved list; the Save icon (a bordered box
   with a clip-path) lost its notch. Both are now the same SVG bookmark: filled for a saved list, outline for Save */
.nt-page .kt-lmi.on .kt-lmb{background-color:var(--green-tint)}
.nt-page .kt-lmi.on .kt-lmb.mine{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 15' fill='%230E7B54'%3E%3Cpath d='M1 0h10a1 1 0 0 1 1 1v14l-6-3.6L0 15V1a1 1 0 0 1 1-1z'/%3E%3C/svg%3E")}
.nt-page .kt-lsavelink::before{width:13px;height:16px;border:0;border-radius:0;clip-path:none;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 16' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M2 .8h9a1.2 1.2 0 0 1 1.2 1.2v13.2L6.5 11.6.8 15.2V2A1.2 1.2 0 0 1 2 .8z'/%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 13 16' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M2 .8h9a1.2 1.2 0 0 1 1.2 1.2v13.2L6.5 11.6.8 15.2V2A1.2 1.2 0 0 1 2 .8z'/%3E%3C/svg%3E") center/contain no-repeat}
:root[data-theme="dark"] .nt-page .kt-lmb.mine,:root[data-theme="dark"] .nt-page .kt-lmi.on .kt-lmb.mine{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 15' fill='%2346C08A'%3E%3Cpath d='M1 0h10a1 1 0 0 1 1 1v14l-6-3.6L0 15V1a1 1 0 0 1 1-1z'/%3E%3C/svg%3E")}
.nt-page .kt-lmi.on .kt-lmb.mine{background-repeat:no-repeat;background-position:11px center;background-size:10px 13px}
/* #11 rename a saved list (Cos 05.11): a pencil next to × on hover; the row becomes a name field */
.nt-page .kt-lren{position:absolute;right:32px;top:50%;width:22px;height:22px;margin-top:-11px;border:0;border-radius:6px;cursor:pointer;opacity:0;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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19 9l-4-4L4 16z'/%3E%3Cpath d='m13.5 6.5 4 4'/%3E%3C/svg%3E") center/15px 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19 9l-4-4L4 16z'/%3E%3Cpath d='m13.5 6.5 4 4'/%3E%3C/svg%3E") center/15px no-repeat}
.nt-page .kt-lmi:hover .kt-lren,.nt-page .kt-lren:focus-visible{opacity:.7}
.nt-page .kt-lren:hover{opacity:1;background:var(--ink)}
.nt-page .kt-lmi:has(.kt-lren) .kt-lmb small{margin-right:52px}
.nt-page .kt-lmi.renaming{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:4px}
.nt-page .kt-lrin{flex:1;min-width:0;padding:7px 10px;min-height:0;font-size:14px}
.nt-page .kt-lrok{flex:none;padding:7px 12px;border:0;border-radius:9px;background:var(--green);color:#fff;font:600 13px var(--font-body);cursor:pointer}
:root[data-theme="dark"] .nt-page .kt-lrok{color:var(--surface)}
.nt-page .kt-lrerr{flex-basis:100%;margin:0 6px 2px;font-size:12.5px;color:#A3443E}
:root[data-theme="dark"] .nt-page .kt-lrerr{color:#F0877A}
@media(hover:none){.nt-page .kt-lmi .kt-lren,.nt-page .kt-lmi .kt-ldel{opacity:.6}}   /* touch: no hover, so rename / delete stay visible */
/* #11 wheel, «можно взять к нам» (Cos 05.11, competitors research/wheel): one head row = list name (title) + gear; Names | History tabs;
   the options live in a popover behind the gear, like Wheel of Names' Customize and PickerWheel's Settings */
.nt-page .kt-shead{position:relative;display:flex;align-items:center;gap:6px;min-width:0}
.nt-page .kt-shead>span:has(>.kt-lhead){flex:1;min-width:0;display:block}
.nt-page .kt-shead .kt-lhead{margin-bottom:0}
.nt-page .kt-shead .kt-lname{font:600 21px/1.2 var(--font-display,var(--font-body));letter-spacing:-.01em;max-width:calc(100% - 64px)}
.nt-page .kt-shead .kt-lname .kt-lbm{width:13px;height:17px}
.nt-page .kt-shead>span:has(>.kt-set){flex:none;display:block}
.nt-page .kt-set{position:static}
.nt-page .kt-setbtn{position:relative;display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:12px;background:var(--surface);cursor:pointer;color:var(--ink)}
.nt-page .kt-setbtn::before{content:"";width:19px;height:19px;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='1.8' stroke-linecap='round'%3E%3Cpath d='M4 7h10M18 7h2M4 17h2M10 17h10'/%3E%3Ccircle cx='16' cy='7' r='2.2'/%3E%3Ccircle cx='8' cy='17' r='2.2'/%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='1.8' stroke-linecap='round'%3E%3Cpath d='M4 7h10M18 7h2M4 17h2M10 17h10'/%3E%3Ccircle cx='16' cy='7' r='2.2'/%3E%3Ccircle cx='8' cy='17' r='2.2'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-page .kt-setbtn:hover,.nt-page .kt-setbtn[aria-expanded="true"]{background:var(--surface2)}
.nt-page .kt-setdot{position:absolute;top:6px;right:6px;width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 2px var(--surface)}
.nt-page .kt-setbtn[data-tip]::after{left:auto;right:0;transform:none}
.nt-page .kt-setpop{position:absolute;top:calc(100% + 6px);right:0;z-index:21;display:flex;flex-direction:column;gap:10px;width:min(340px,100%);padding:8px 14px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:0 12px 32px rgba(25,30,26,.16)}
:root[data-theme="dark"] .nt-page .kt-setpop{box-shadow:0 12px 32px rgba(0,0,0,.45)}
.nt-page .kt-setpop .kt-lcap{padding:6px 0 0}
.nt-page .kt-setpop .opt-in{width:100%}
.nt-page .kt-setrow{display:flex;gap:22px}
/* tabs: Names 12 | History 3 */
.nt-page .kt-wtabs{display:flex;gap:4px;margin-bottom:-6px;border-bottom:1px solid var(--line)}
.nt-page .kt-wtab{position:relative;display:inline-flex;align-items:center;gap:7px;padding:8px 10px 10px;border:0;background:none;cursor:pointer;color:var(--muted);font:600 14px var(--font-body)}
.nt-page .kt-wtab:hover{color:var(--ink)}
.nt-page .kt-wtab.on{color:var(--ink)}
.nt-page .kt-wtab.on::after{content:"";position:absolute;left:8px;right:8px;bottom:-1px;height:2px;border-radius:2px;background:var(--green)}
.nt-page .kt-wtn{min-width:22px;padding:1px 6px;border-radius:999px;background:var(--surface2);font:500 11.5px var(--font-mono);color:var(--muted);text-align:center}
.nt-page .kt-wtab.on .kt-wtn{background:var(--green-tint);color:var(--green-deep)}
.nt-page .kt-histpane{display:flex;flex-direction:column;gap:10px;min-height:212px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.nt-page .kt-histpane .kt-histlist{flex-direction:column;flex-wrap:nowrap;max-height:240px;overflow:auto;gap:6px;font-size:15px}
.nt-page .kt-histpane .kt-histlist:empty{display:none}
.nt-page .kt-histempty{margin:auto 0;text-align:center;font-size:14px;color:var(--muted)}
.nt-page .kt-histact{display:flex;gap:16px;margin-top:auto}
.nt-page .kt-histact:not(:has(button)){display:none}
.nt-page .kt-shead>.kt-lhead{flex:1;min-width:0;margin-bottom:0}
.nt-page .kt-shead>.kt-set{flex:none}
.nt-page .kt-shead .kt-lname{max-width:100%}
.nt-page .kt-shead .kt-lhead:has(.kt-lsavelink,.kt-lsaved) .kt-lname{max-width:calc(100% - 76px)}
.nt-page .kt-setpop:focus{outline:none}
/* #11 weights (Cos 05.11): a «Weights» tab next to Names instead of the wide «Chance of each entry» table under the tool; each row =
   slice color · name · ×N · chance; the wheel draws slices by weight */
.nt-page .kt-wpane{display:flex;flex-direction:column;gap:10px;min-height:212px;padding:12px 10px 12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.nt-page .kt-wnote{margin:0;font-size:13px;line-height:1.45;color:var(--muted)}
.nt-page .kt-wlist{margin:0;padding:0 4px 0 0;list-style:none;display:flex;flex-direction:column;gap:2px;max-height:260px;overflow:auto}
.nt-page .kt-wrow{display:grid;grid-template-columns:10px minmax(0,1fr) 70px 52px;align-items:center;gap:10px;padding:3px 0}
.nt-page .kt-wsw{width:10px;height:10px;border-radius:3px}
.nt-page .kt-wname{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:14.5px}
.nt-page .kt-wrow .kt-wsel{width:70px;min-height:0;padding:5px 8px;font-size:13.5px}
.nt-page .kt-wpct{font:500 12.5px var(--font-mono);color:var(--muted);text-align:right}
.nt-page .kt-wrow.up .kt-wname{font-weight:600}
.nt-page .kt-wrow.up .kt-wpct{color:var(--green-deep)}
.nt-page .kt-wpane .kt-histact{margin-top:auto}
/* Weights is always there (Cos 05.11): no checkbox; equal weights = a normal wheel. The tab sits at the right end of the tab line,
   its badge = how many names have more chances */
.nt-page .kt-wtab-end{margin-left:auto}
/* #11 side column, Cos 05.11: the panes fill the column down to the stage's height (no hole under the field); the names hint and
   Shuffle / Sort live inside the Names pane like Clear history / Make all equal; idle tab counts get a visible pill */
.nt-page .kt-wgrid{align-items:stretch}
.nt-page .kt-side>span:has(>.kt-npane,>.kt-histpane,>.kt-wpane){flex:1;display:flex;flex-direction:column;min-height:0}
.nt-page .kt-npane,.nt-page .kt-histpane,.nt-page .kt-wpane{flex:1;min-height:300px}
.nt-page .kt-npane{display:flex;flex-direction:column;gap:8px;padding:12px 10px 12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.nt-page .kt-npane:focus-within{border-color:var(--green);box-shadow:0 0 0 3px var(--green-tint)}
.nt-page .kt-npane .kt-names{flex:1;width:100%;min-height:180px;padding:0;border:0;outline:0;resize:none;background:none;color:var(--ink);font:400 15px/1.55 var(--font-body)}
.nt-page .kt-npane .kt-names::placeholder{color:var(--muted)}
.nt-page .kt-histact{align-items:center}
.nt-page .kt-histact .lb-clear:disabled{opacity:.4;cursor:default}
.nt-page .kt-nhint{margin-left:auto;font:500 11.5px var(--font-mono);color:var(--muted)}
.nt-page .kt-histpane .kt-histlist,.nt-page .kt-wlist{max-height:none;flex:1}
.nt-page .kt-wtn{background:color-mix(in srgb,var(--line) 85%,var(--surface));color:var(--ink-2,var(--muted))}
.nt-page .kt-wtab.on .kt-wtn{background:var(--green-tint);color:var(--green-deep)}
.nt-page .kt-histpane .kt-histlist,.nt-page .kt-wlist{flex:1 1 0;height:0;min-height:120px;overflow:auto}
.nt-page .kt-npane .kt-names{flex:1 1 0;height:0}
.nt-page .kt-npane .kt-histact{flex-wrap:wrap;row-gap:4px}
/* #11 round tools (Cos 05.11): settings + full screen as the same circles as Background Remover's zoom / expand */
.nt-page .kt-set{display:flex;align-items:center;gap:8px}
.nt-page .kt-setbtn{width:34px;height:34px;border:1.5px solid var(--line);border-radius:99px;background:var(--surface);color:#626A64}
.nt-page .kt-setbtn::before{width:16px;height:16px}
.nt-page .kt-setbtn:hover,.nt-page .kt-setbtn[aria-expanded="true"]{border-color:var(--ink);background:var(--surface)}
:root[data-theme="dark"] .nt-page .kt-setbtn{color:#9EA396}
.nt-page .kt-setdot{top:3px;right:3px}
@media(max-width:600px){.nt-page .kt-setbtn{width:36px;height:36px}}
/* #11 swap (Cos 05.11): tried the wheel left / list right (spec + competitors); Cos: back for now, we'll return to it. To try again,
   uncomment: @media(min-width:901px){.nt-page .kt-wgrid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.nt-page .kt-wgrid>.kt-stage{order:-1}} */
/* #11 settings popover (Cos 05.11): three groups, each with its own caption, split by light dividers */
.nt-page .kt-setpop{gap:0;padding:4px 16px}
.nt-page .kt-setgrp{display:flex;flex-direction:column;gap:10px;padding:12px 0 14px}
.nt-page .kt-setgrp+.kt-setgrp{border-top:1px solid var(--line)}
.nt-page .kt-setpop .kt-setgrp .kt-lcap{padding:0}

/* ALL new tools (Cos 05.11, «глобально»), scoped to .nt-page so the live 99 stays untouched:
   1) select chevron sits further from the edge;  2) checkboxes drawn by us: thin check, soft corners */
.nt-page select.opt-in{padding-right:36px;background-position:right 15px center}
.nt-page input[type="checkbox"]{-webkit-appearance:none;appearance:none;flex:none;width:18px;height:18px;margin:0;border:1.5px solid color-mix(in srgb,var(--ink) 28%,var(--line));border-radius:5px;background:var(--surface);cursor:pointer;display:inline-grid;place-content:center;transition:background-color .12s,border-color .12s}
.nt-page input[type="checkbox"]::before{content:"";width:12px;height:12px;background:#fff;opacity:0;transform:scale(.6);transition:opacity .12s,transform .12s;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.3 6.3 4.8 8.7 9.7 3.4'/%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' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.3 6.3 4.8 8.7 9.7 3.4'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-page input[type="checkbox"]:hover{border-color:var(--green)}
.nt-page input[type="checkbox"]:checked{background:var(--green);border-color:var(--green)}
.nt-page input[type="checkbox"]:checked::before{opacity:1;transform:none}
.nt-page input[type="checkbox"]:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.nt-page input[type="checkbox"]:disabled{opacity:.45;cursor:default}
:root[data-theme="dark"] .nt-page input[type="checkbox"]:checked::before{background:var(--surface)}
/* settings icon = same weight as the full-screen arrows (Cos 05.11): 24-grid, stroke 2, 17px, same grey */
.nt-page .kt-setbtn::before{width:17px;height:17px;
  -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.1' stroke-linecap='round'%3E%3Cpath d='M3.5 7h9M19 7h1.5M3.5 17h1.5M11 17h9.5'/%3E%3Ccircle cx='15.8' cy='7' r='2.8'/%3E%3Ccircle cx='8' cy='17' r='2.8'/%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.1' stroke-linecap='round'%3E%3Cpath d='M3.5 7h9M19 7h1.5M3.5 17h1.5M11 17h9.5'/%3E%3Ccircle cx='15.8' cy='7' r='2.8'/%3E%3Ccircle cx='8' cy='17' r='2.8'/%3E%3C/svg%3E") center/contain no-repeat}
/* #11 tabs (Cos 05.11): no side padding (the first tab lines up with the field's edge, the last with its right edge), the space lives
   between tabs; bigger labels */
.nt-page .kt-wtabs{gap:24px}
.nt-page .kt-wtab{padding:8px 0 11px;font-size:16px}
.nt-page .kt-wtab.on::after{left:0;right:0}
.nt-page .kt-wtn{font-size:12px;padding:2px 7px}
@media(max-width:600px){.nt-page .kt-wtabs{gap:16px}.nt-page .kt-wtab{font-size:15px;gap:6px}.nt-page .kt-wlist{padding-right:10px}}
/* select chevron, take 2 (Cos 05.11 «стрелки не отодвинулись»): the engines don't load after-family-pdf.css, so the arrow was the
   browser's own and could not move. Ours now: no native arrow, the site chevron 8px in from the edge (Cos picked 8 after 16 and 12) */
.nt-page select.opt-in{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:30px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 7' fill='none' stroke='%236A7B73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.4 5.5 5.7 10 1.4'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 8px center;background-size:11px 7px}
:root[data-theme="dark"] .nt-page select.opt-in{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 7' fill='none' stroke='%239BAAA3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.4 5.5 5.7 10 1.4'/%3E%3C/svg%3E")}
/* #11 actions inside the tabs (Cos 05.11): the shared bar is gone on the wheel; the Names hint moves on top like the Weights note */
.nt-page .kt-npane .kt-wnote{margin-bottom:2px}
.nt-page .kt-aend{margin-left:auto}
.nt-page .kt-histact{gap:14px}
/* #11 one empty layout for all three tabs (Cos 05.11): a muted line in the middle of the pane. Names: the line sits over the empty
   field (clicks go through to it), the action row hides until there are names */
.nt-page .kt-npane{position:relative}
.nt-page .kt-nempty{position:absolute;inset:0;display:grid;place-items:center;margin:0;padding:0 28px;pointer-events:none}
.nt-page .kt-histempty{max-width:300px;margin:auto;line-height:1.5}
.nt-page .kt-wpane:has(.kt-histempty) .kt-wlist{display:none}
.nt-page .kt-wtab:focus:not(:focus-visible){outline:none}
.nt-page .kt-wtab:focus-visible{outline:2px solid var(--green);outline-offset:2px;border-radius:6px}
.nt-page .kt-histempty{max-width:320px;text-wrap:balance}
/* #11 empty wheel (Cos 05.11 «поле дрыгается»): the empty line and «Reset the list» sit INSIDE the blank wheel, so the stage keeps
   its height and the list pane does not jump when the names are cleared */
.nt-page .kt-wheelbox{position:relative}
.nt-page .kt-wover{position:absolute;inset:18%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;z-index:2}
.nt-page .kt-wover .kt-empty{margin:0}
/* #11 tab actions as soft pills like «Save» (Cos 05.11): no underline, a light green plate on hover, a deeper one when pressed;
   negative side margins keep the text aligned with the pane edges */
.nt-page .kt-histact{gap:8px;margin-left:-6px;margin-right:-6px;margin-bottom:-2px}
.nt-page .kt-histact .lb-clear{padding:3px 6px;border-radius:7px;text-decoration:none;color:var(--green-deep);font:600 13px var(--font-body);transition:background-color .12s}
.nt-page .kt-histact .lb-clear:hover:not(:disabled){background:var(--green-tint)}
.nt-page .kt-histact .lb-clear:active:not(:disabled){background:color-mix(in srgb,var(--green) 22%,var(--green-tint))}
.nt-page .kt-histact .lb-clear:focus-visible{outline:2px solid var(--green);outline-offset:1px}
/* #11 (Cos 05.11): the scrolling lists ran out above the pane's bottom edge (pane padding + empty action row). The lists now scroll
   right down to the border; the action row, when it is there, keeps its own bottom space */
.nt-page .kt-wpane,.nt-page .kt-histpane{padding-bottom:0}
.nt-page .kt-wlist,.nt-page .kt-histpane .kt-histlist{padding-bottom:12px;margin-bottom:-10px}
.nt-page .kt-wpane .kt-histact,.nt-page .kt-histpane .kt-histact{padding-bottom:12px;margin-top:10px}
.nt-page .kt-histpane .kt-histempty{margin-bottom:auto}
/* settings dot sits ON the circle's edge at 45° (Cos 05.11): for a 34px ring the 45° point is ~5px in from the top-right corner */
.nt-page .kt-setdot{top:-.5px;right:-.5px;width:8px;height:8px}
@media(max-width:600px){.nt-page .kt-setdot{top:0;right:0}}
/* #11 zebra rows in Weights and History (Cos 05.11): every other row on a light plate, rows run edge to edge of the pane */
.nt-page .kt-wlist{gap:0;margin-left:-8px;margin-right:-4px}
.nt-page .kt-wrow{padding:4px 8px;border-radius:8px}
.nt-page .kt-wrow:nth-child(even),.nt-page .kt-histpane .kt-histlist li:nth-child(even){background:color-mix(in srgb,var(--line) 38%,var(--surface))}
.nt-page .kt-histpane .kt-histlist{gap:0;padding-left:0;margin-left:-8px;margin-right:-4px;list-style-position:inside}
.nt-page .kt-histpane .kt-histlist li{padding:6px 8px;border-radius:8px}
.nt-page .kt-histpane .kt-histlist li::marker{color:var(--muted);font:500 12.5px var(--font-mono)}
/* fix (Cos 05.11 «баганул»): the list's negative bottom margin pushed the last rows past the pane border; the pane now clips its
   content to its rounded box and the list simply ends at the border */
.nt-page .kt-wpane,.nt-page .kt-histpane{overflow:hidden}
.nt-page .kt-wlist,.nt-page .kt-histpane .kt-histlist{margin-bottom:0;padding-bottom:8px}
/* zebra take 2 (Cos 05.11): the stripe = the disclaimer's ground (--surface2); more air inside the rows on both sides */
.nt-page .kt-wrow:nth-child(even),.nt-page .kt-histpane .kt-histlist li:nth-child(even){background:var(--surface2)}
.nt-page .kt-wrow{padding:5px 12px}
.nt-page .kt-histpane .kt-histlist li{padding:7px 12px}
/* zebra take 3 (Cos 05.11 «чуть темнее»): the disclaimer ground with a touch of the line colour */
.nt-page .kt-wrow:nth-child(even),.nt-page .kt-histpane .kt-histlist li:nth-child(even){background:color-mix(in srgb,var(--line) 28%,var(--surface2))}
/* Weights tooltip like the other data-tip hints (Cos 05.11). The tooltip lives on ::after, so the active underline moves to an inset
   shadow (tabs overlap the line by 1px); the hint shows on the tab you are not on */
.nt-page .kt-wtab{margin-bottom:-1px}
.nt-page .kt-wtab.on{box-shadow:inset 0 -2px 0 var(--green)}
.nt-page .kt-wtab.on::after{display:none}
.nt-page .kt-wtab-end[data-tip]::after{left:auto;right:0;transform:none}
.nt-page .kt-wtab-end[data-tip]::after{top:calc(100% - 3px)}   /* the tab has 11px of bottom padding; keep the same ~8px gap from the word as the other hints */
.nt-page .kt-wtabs{margin-bottom:-2px}   /* tabs → pane = 12px (Cos 05.11, was 8) */
/* #11 the wheel always sits on a soft plate (Cos 05.11: the winner overlay showed how nice it looks): same tone as the zebra rows,
   same 16px radius as the winner overlay; not in full screen (that has its own glass) */
.nt-page .kt-stage:not(.is-full){padding:22px 16px 16px;border-radius:16px;background:color-mix(in srgb,var(--line) 28%,var(--surface2))}
.nt-page .kt-stage:not(.is-full) .kt-wsvg svg>circle:last-of-type{fill:#fff}
/* #11 (Cos 05.11): full screen = a circle in the wheel plate's top-right corner; the head row = Download (menu) + Settings */
.nt-page .kt-tools{display:flex;align-items:center;gap:8px}
.nt-page .kt-dlw{position:static}
.nt-page .kt-dlbtn::before{
  -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.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7.5 10.5 12 15l4.5-4.5M5 19.5h14'/%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.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7.5 10.5 12 15l4.5-4.5M5 19.5h14'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-page .kt-dlpop{left:auto;right:0;width:min(260px,100%)}
.nt-page .kt-dlpop:focus{outline:none}
.nt-page .kt-dlpop .kt-lmb:disabled{opacity:.45;cursor:default;background:none}
.nt-page .kt-stagefs{position:absolute;top:12px;right:12px;z-index:2}
.nt-page .kt-stage.is-full .kt-stagefs{display:none}
/* #11 (Cos 05.11 «так правильнее»): the wheel's own tools (settings + full screen) sit in the plate's top-right corner; the list head
   keeps the list's tools (name, Save, Download). The settings popover opens down from the gear, over the wheel */
.nt-page .kt-stagetools{position:absolute;top:12px;right:12px;z-index:4;display:flex;gap:8px}
.nt-page .kt-stagetools>span{display:block}
.nt-page .kt-stage.is-full .kt-stagetools{display:none}
.nt-page .kt-stagetools .kt-set{position:relative}
.nt-page .kt-stagetools .kt-setpop{top:calc(100% + 6px);right:0;width:300px;text-align:left}
.nt-page .kt-stagetools .kt-setbtn[data-tip]::after{left:50%;right:auto;transform:translateX(-50%)}
.nt-page .kt-stagetools .kt-bfs[data-tip]::after{left:auto;right:0;transform:none}
.nt-page .kt-shead>.kt-dlw,.nt-page .kt-shead>span:has(>.kt-dlw){flex:none}
.nt-page .kt-dlw{position:relative}
/* phone: the popover hangs from the tools' right edge (not the gear's), so it never runs off the left side */
.nt-page .kt-stagetools .kt-set{position:static}
.nt-page .kt-stagetools .kt-setpop{width:min(300px,calc(100vw - 72px))}
/* fix (Cos 05.11): the Download menu took 100% of its 34px wrapper; it now hangs from the list head's right edge at its own width */
.nt-page .kt-dlw{position:static}
.nt-page .kt-dlpop{width:260px;max-width:100%}
.nt-page .kt-wtab{font-size:15px}   /* = main menu size (Cos 05.11 try) */
/* #11 winner card: a no-repeat checkbox under a hairline (Cos 05.11) */
.nt-page .kt-mnorep{justify-content:center;margin-top:16px;padding-top:14px;border-top:1px solid var(--line);font-size:13.5px;color:var(--muted)}
/* winner card polish (Cos 05.11): the hairline runs the full width of the button row; the checkbox sits tighter at the bottom */
.nt-page .kt-mnorep{align-self:stretch;margin-top:12px;padding-top:12px}
.nt-page .kt-mbox:has(.kt-mnorep){padding-bottom:14px}
/* #11 full screen v2 (Cos 05.11, like the AI Image Detector): the whole grid is fixed to the visible part of the window; the wheel in
   the middle on glass, a narrow side panel on the right (list, history, weights) that can be hidden with a circle next to Exit */
.nt-page .kt-wgrid.is-full{position:fixed;inset:0;z-index:300;grid-template-columns:minmax(0,1fr) 300px;gap:0;align-items:stretch;
  background:color-mix(in srgb,var(--surface) 58%,transparent);-webkit-backdrop-filter:blur(18px) saturate(1.1);backdrop-filter:blur(18px) saturate(1.1)}
:root[data-theme="dark"] .nt-page .kt-wgrid.is-full{background:color-mix(in srgb,var(--surface) 70%,transparent)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.nt-page .kt-wgrid.is-full{background:var(--surface)}}
html:has(.kt-wgrid.is-full){overflow:hidden}
.nt-page .kt-wgrid.is-full>.kt-stage{position:relative;inset:auto;z-index:auto;order:1;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;padding:24px}
.nt-page .kt-wgrid.is-full>.kt-side{order:2;min-height:0;overflow:auto;padding:20px 18px;border-left:1px solid color-mix(in srgb,var(--line) 80%,transparent);background:color-mix(in srgb,var(--surface) 70%,transparent)}
.nt-page .kt-wgrid.is-full .kt-npane,.nt-page .kt-wgrid.is-full .kt-histpane,.nt-page .kt-wgrid.is-full .kt-wpane{min-height:200px}
.nt-page .kt-wgrid.is-full .kt-shead .kt-lname{font-size:18px}
.nt-page .kt-wgrid.is-full .kt-wheelbox{width:min(calc(var(--fsh,100vh) - 220px),calc(100vw - 300px - 96px))}
.nt-page .kt-wgrid.is-full.no-side{grid-template-columns:minmax(0,1fr)}
.nt-page .kt-wgrid.is-full.no-side>.kt-side{display:none}
.nt-page .kt-wgrid.is-full.no-side .kt-wheelbox{width:min(calc(var(--fsh,100vh) - 220px),90vw)}
/* the side-panel circle sits left of Exit */
.nt-page .kt-sidetog{display:none;position:absolute;top:14px;right:186px;z-index:4;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23626A64' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='4.5' width='17' height='15' rx='2.5'/%3E%3Cpath d='M14.5 4.5v15'/%3E%3C/svg%3E")}
:root[data-theme="dark"] .nt-page .kt-sidetog{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239EA396' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='4.5' width='17' height='15' rx='2.5'/%3E%3Cpath d='M14.5 4.5v15'/%3E%3C/svg%3E")}
.nt-page .kt-wgrid.is-full .kt-sidetog{display:block}
.nt-page .kt-sidetog[aria-pressed="true"]{border-color:var(--ink)}
.nt-page .kt-sidetog[data-tip]::after{left:auto;right:0;transform:none}
@media(max-width:900px){.nt-page .kt-wgrid.is-full{grid-template-columns:minmax(0,1fr)}.nt-page .kt-wgrid.is-full>.kt-side,.nt-page .kt-wgrid.is-full .kt-sidetog{display:none}
  .nt-page .kt-wgrid.is-full .kt-wheelbox{width:min(calc(var(--fsh,100vh) - 220px),90vw)}}
.nt-page .kt-sidetog{right:136px}
.nt-page .kt-wgrid.is-full .kt-wtabs{gap:16px}
.nt-page .kt-wgrid.is-full .kt-wtab{font-size:14.5px}
/* full screen tools = Background Remover's (Cos 05.11): settings circle, side-panel circle, «Exit» pill with the collapse icon; the old
   text-only Exit button is gone */
.nt-page .kt-wgrid.is-full .kt-stagetools{display:flex;top:16px;right:16px}
.nt-page .kt-wgrid.is-full .kt-exitfull{display:none}
.nt-page .kt-stagetools .kt-sidetog{position:static;display:block}
.nt-page .kt-stagetools .kt-sidetog[data-tip]::after{left:50%;right:auto;transform:translateX(-50%)}
.nt-page .kt-stagetools .kt-bfs.out{height:34px}
.nt-page .kt-sidetog[aria-pressed="true"]{border-color:var(--line)}.nt-page .kt-sidetog[aria-pressed="true"]:hover{border-color:var(--ink)}   /* pressed looked like a stuck hover */
.nt-page .kt-rotor,.nt-page .kt-rotor *{pointer-events:none}   /* fix (Cos 05.11): the rotated square SVG’s transparent corners covered SPIN at ~45° and ate the click */
/* fix (Cos 05.11): entering «save» mode made the head row taller (btn-md ≈44px); field and button now fit the 38px row */
.nt-page .kt-lhead.editing{min-height:38px;height:38px}
.nt-page .kt-lhead.editing .kt-lnamein{height:36px;min-height:0;padding:0 12px}
.nt-page .kt-lhead.editing .kt-lsavebtn{height:36px;min-height:0;padding:0 16px;font-size:14px;box-shadow:none}
.nt-page .kt-lhead.editing .kt-lcancel{height:34px}
/* lists menu (Cos 05.11): no reserved hole before the count. The count sits at the right edge; on hover / focus the pencil and ×
   take its place (count hides). Touch screens keep the icons visible, so there the count moves left as before */
.nt-page .kt-lmi:has(.kt-lren) .kt-lmb small,.nt-page .kt-lmi:has(.kt-ldel) .kt-lmb small{margin-right:0;transition:opacity .12s}
.nt-page .kt-lmi:is(:hover,:focus-within):has(.kt-lren) .kt-lmb small{opacity:0}
@media(hover:none){.nt-page .kt-lmi:has(.kt-lren) .kt-lmb small{margin-right:52px;opacity:1}}
/* lists menu (Cos 05.11): the list part scrolls, the footer is fixed under a hairline; the line under «Save as a new list» is short */
.nt-page .kt-lmenu2{padding:0;overflow:hidden;max-height:min(420px,70vh)}
.nt-page .kt-lmenu2 .kt-lscroll{display:flex;flex-direction:column;min-height:0;overflow:auto;padding:6px}
.nt-page .kt-lmenu2 .kt-lfoot{flex:none;display:flex;flex-direction:column;padding:6px;border-top:1px solid var(--line)}
.nt-page .kt-lmenu2 .kt-lhint{margin:0 10px 6px;font-size:12.5px}
/* list save errors (empty / duplicate name) under the name field */
.nt-page .kt-lhead.editing{position:relative}
.nt-page .kt-lsaveerr{position:absolute;left:2px;top:calc(100% + 4px);z-index:5;margin:0;padding:4px 8px;border-radius:7px;background:var(--surface);box-shadow:0 4px 14px rgba(25,30,26,.12);font-size:12.5px;color:#A3443E;white-space:nowrap}
:root[data-theme="dark"] .nt-page .kt-lsaveerr{color:#F0877A}
/* «Class names · edited» (Cos 05.11): template name stays upright, the marker is muted italic body text */
.nt-page .kt-lname.custom:has(.kt-ledited)>span{color:var(--ink);font-style:normal;font-weight:600}
.nt-page .kt-ledited{font:italic 500 15px var(--font-body);color:var(--muted);letter-spacing:0}
/* «New list» (Cos 05.11): a drawn plus, bigger than the text glyph; the hint line wraps instead of being cut */
.nt-page .kt-plus{flex:none;width:16px;height:16px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M8 2.5v11M2.5 8h11'/%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 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M8 2.5v11M2.5 8h11'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-page .kt-lmb.add{gap:9px}
.nt-page .kt-lmenu2 .kt-lhint{white-space:normal}
.nt-page .kt-ledited{padding-right:3px}   /* the italic «d» leaned past the clipped (ellipsis) box */
/* list name field (Cos 05.11 «тесновато»): Save / Create = a green check circle; the field gets the room */
.nt-page .kt-lok{flex:none;display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:99px;background:var(--green);color:#fff;cursor:pointer;transition:filter .12s}
.nt-page .kt-lok::before{content:"";width:16px;height:16px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5 6.5 12 13 4.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 16 16' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-page .kt-lok:hover{filter:brightness(1.08)}
.nt-page .kt-lok:active{filter:brightness(.92)}
.nt-page .kt-lok:focus-visible{outline:2px solid var(--green);outline-offset:2px}
:root[data-theme="dark"] .nt-page .kt-lok{color:var(--surface)}
.nt-page .kt-lhead.editing{gap:6px}
/* plus circle «New list» next to Download (Cos 05.11) */
.nt-page .kt-newbtn{flex:none;margin-left:auto}
.nt-page .kt-lsavelink+.kt-newbtn,.nt-page .kt-lsaved+.kt-newbtn{margin-left:0}
.nt-page .kt-newbtn::before{
  -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.1' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%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.1' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-page .kt-newbtn:disabled{opacity:.45;cursor:default}
.nt-page .kt-newbtn[data-tip]::after{left:50%;right:auto;transform:translateX(-50%)}
.nt-page .kt-shead{gap:8px}
.nt-page .kt-lhead{gap:8px}
.nt-page .kt-lmenu2 .kt-lfoot{padding:8px 6px 4px}
.nt-page .kt-dlbtn:disabled{opacity:.45;cursor:default}.nt-page .kt-dlbtn:disabled:hover{border-color:var(--line)}   /* nothing to download: no names, no history (Cos 05.11) */
/* #11 dark mode pass (Cos 05.11): in dark --surface2 is DARKER than the card, so the plate / zebra mix vanished. Dark uses a lift
   from the card instead. The empty wheel lost its own colour to the «white hub» rule (it is the only circle) — the hub rule now needs
   a real wheel. Slice seams and the hub follow the plate in dark instead of hard white. The slice colours stay: the wheel is an object
   with its own paint, like a photo, and the labels keep their contrast on it. */
.nt-page .kt-stage:not(.is-full) .kt-wsvg svg>circle:last-of-type:only-of-type{fill:var(--surface2)}
:root[data-theme="dark"] .nt-page .kt-stage:not(.is-full){background:color-mix(in srgb,var(--line) 55%,var(--surface))}
:root[data-theme="dark"] .nt-page .kt-wrow:nth-child(even),:root[data-theme="dark"] .nt-page .kt-histpane .kt-histlist li:nth-child(even){background:color-mix(in srgb,var(--line) 55%,var(--surface))}
:root[data-theme="dark"] .nt-page .kt-stage .kt-wsvg svg>circle:last-of-type:only-of-type{fill:var(--surface);stroke:var(--line)}
:root[data-theme="dark"] .nt-page .kt-wsvg path{stroke:color-mix(in srgb,var(--line) 55%,var(--surface))}
:root[data-theme="dark"] .nt-page .kt-stage:not(.is-full) .kt-wsvg svg>circle:last-of-type:not(:only-of-type),:root[data-theme="dark"] .nt-page .kt-wsvg svg>circle:last-of-type:not(:only-of-type){fill:var(--surface);stroke:var(--line)}
/* audit 05.11: deleting a saved list asks first (the list and its history go) */
.nt-page .kt-lmi.deleting{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;padding:8px 10px;border-radius:9px;background:#FBEDEB}
:root[data-theme="dark"] .nt-page .kt-lmi.deleting{background:#3A2523}
.nt-page .kt-ldq{flex-basis:100%;font-size:13px;line-height:1.35;color:var(--ink)}
.nt-page .kt-ldyes,.nt-page .kt-ldno{padding:4px 10px;border-radius:7px;border:0;cursor:pointer;font:600 12.5px var(--font-body)}
.nt-page .kt-ldyes{background:#A3443E;color:#fff}
.nt-page .kt-ldno{background:transparent;color:var(--ink)}
.nt-page .kt-ldno:hover{background:color-mix(in srgb,var(--line) 60%,transparent)}
/* Undo clear (Cos 05.11): under the empty-field line; the overlay lets clicks through to the field, the button takes its own */
.nt-page .kt-nempty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}
.nt-page .kt-nempty .kt-histempty{margin:0}
.nt-page .kt-undoclr{pointer-events:auto;padding:4px 8px;border-radius:7px;text-decoration:none}
.nt-page .kt-undoclr:hover{background:var(--green-tint)}
/* #11 tablet + phone (Cos 05.11 «начинается колесо, но какое оно не понятно»): the list head (name · + · Download) goes ABOVE the wheel;
   the tabs and the field stay under it. The side column dissolves (display:contents) so its parts can be ordered around the stage. */
@media(max-width:900px){
  .nt-page .kt-wgrid:not(.is-full){row-gap:0}
  .nt-page .kt-wgrid:not(.is-full)>.kt-side{display:contents}
  .nt-page .kt-wgrid:not(.is-full) .kt-shead{order:-2;margin-bottom:12px}
  .nt-page .kt-wgrid:not(.is-full)>.kt-stage{order:-1;margin-bottom:20px}
  .nt-page .kt-wgrid:not(.is-full) .kt-wtabs{margin-bottom:12px}
}
/* tablet + phone (Cos 05.11): the wheel plate runs edge to edge of the card (no white side padding), square corners */
@media(max-width:900px){.nt-page .kt-wgrid:not(.is-full)>.kt-stage{margin-left:-24px;margin-right:-24px;border-radius:0}}
/* tablet + phone (Cos 05.11 «утрясти»): the wheel's circles line up under the list's circles (24px from the card edge = the card
   padding), and the head row is lower-profile: less air above and below it */
@media(max-width:900px){
  .nt-page .kt-wgrid:not(.is-full) .kt-stagetools{right:24px;top:12px}
  .nt-page .kt-wgrid:not(.is-full) .kt-shead{margin-top:-10px;margin-bottom:10px}
}
/* tablet + phone (Cos 05.11 «налезание… настройки в другой угол»): settings top-LEFT, full screen top-RIGHT. In the very corners the round
   wheel is far below them, so they never cover a slice; the settings popover then opens from the left corner */
@media(max-width:900px){
  .nt-page .kt-wgrid:not(.is-full) .kt-stagetools{left:24px;right:24px;justify-content:space-between;pointer-events:none}
  .nt-page .kt-wgrid:not(.is-full) .kt-stagetools>*{pointer-events:auto}
  .nt-page .kt-wgrid:not(.is-full) .kt-stagetools .kt-setpop{right:auto;left:0}
  .nt-page .kt-wgrid:not(.is-full) .kt-stagetools .kt-setbtn[data-tip]::after{left:0;transform:none}
}
/* 320px (Cos 05.11): the three tabs were wider than the card at 320 and pushed the whole grid (and the wheel plate) past the card edge */
@media(max-width:360px){.nt-page .kt-wtabs{gap:10px}.nt-page .kt-wtab{font-size:14px;gap:5px}.nt-page .kt-wtn{min-width:18px;padding:1px 5px;font-size:11px}
  .nt-page .kt-wgrid{min-width:0}.nt-page .kt-wgrid>*{min-width:0}}
@media(max-width:900px){.nt-page .kt-wgrid:not(.is-full){grid-template-columns:minmax(0,1fr)}.nt-page .kt-wgrid:not(.is-full) .kt-spin{min-width:0}}   /* 1fr = minmax(auto,1fr): the SPIN min-width (200) + plate padding pushed the column past the card at 320 */
/* ≤400px: the wheel is 20px narrower so the corner circles keep air from it; weights rows give the name more room */
@media(max-width:400px){.nt-page .kt-wgrid:not(.is-full) .kt-wheelbox{width:min(calc(100% - 20px),400px)}
  .nt-page .kt-wrow{grid-template-columns:10px minmax(0,1fr) 60px 44px;gap:8px;padding:5px 8px}.nt-page .kt-wrow .kt-wsel{width:60px}}
/* phones ≤400 (Cos 05.11): the list name is smaller so the + / Download circles never overlap; the card's side padding drops to 16px
   (the wheel plate, its corner circles and the head follow) */
@media(max-width:400px){
  .nt-page .nt-body:has(.kt-wgrid){padding-left:16px;padding-right:16px}
  .nt-page .kt-wgrid:not(.is-full)>.kt-stage{margin-left:-16px;margin-right:-16px}
  .nt-page .kt-wgrid:not(.is-full) .kt-stagetools{left:16px;right:16px}
  .nt-page .kt-shead .kt-lname{font-size:18px}
  .nt-page .kt-shead .kt-newbtn,.nt-page .kt-shead .kt-dlbtn,.nt-page .kt-shead .kt-dlw{flex:none}
  .nt-page .kt-shead,.nt-page .kt-lhead{gap:6px}
}
@media(max-width:340px){.nt-page .kt-shead .kt-lname{font-size:17px}}

/* ================= #01 Math Solver · VERSION B (05.11, from the competitors: research/math) ================= */
.nt-page .mb-body{display:flex;flex-direction:column;gap:14px}
.nt-page .mb-top{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.nt-page .mb-modes{flex:1;margin-bottom:0}
.nt-page .mb-top .mb-recent{position:relative;margin-bottom:6px}
/* the field: one big box with the keyboard / clear inside, Solve attached (Symbolab, Wolfram) */
.nt-page .mb-field{display:flex;gap:10px;align-items:stretch}
.nt-page .mb-box{position:relative;flex:1;min-width:0;display:flex;align-items:center;gap:6px;padding:0 8px 0 16px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface);transition:border-color .12s,box-shadow .12s}
.nt-page .mb-box:focus-within{border-color:var(--green);box-shadow:0 0 0 3px var(--green-tint)}
.nt-page .mb-in{flex:1;min-width:0;height:56px;border:0;outline:0;background:none;color:var(--ink);font:500 20px/1.2 var(--font-body)}
.nt-page .mb-in::placeholder{color:var(--muted);font-weight:400}
.nt-page .mb-go{flex:none;min-width:120px;border-radius:14px}
.nt-page .mb-go:disabled{opacity:.55;cursor:default}
.nt-page .mb-x,.nt-page .mb-kbd{flex:none;width:36px;height:36px;border:0;border-radius:10px;background:none;cursor:pointer;color:var(--muted);display:grid;place-items:center}
.nt-page .mb-x::before,.nt-page .mb-kbd::before{content:"";width:20px;height:20px;background:currentColor}
.nt-page .mb-x::before{width:14px;height:14px;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 2l10 10M12 2 2 12'/%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 14 14' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 2l10 10M12 2 2 12'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-page .mb-kbd::before{-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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5.5' width='19' height='13' rx='2.5'/%3E%3Cpath d='M6.5 9.5h1M10.5 9.5h1M14.5 9.5h1M17 9.5h.5M6.5 12.5h1M10.5 12.5h1M14.5 12.5h1M17 12.5h.5M8 15.5h8'/%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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5.5' width='19' height='13' rx='2.5'/%3E%3Cpath d='M6.5 9.5h1M10.5 9.5h1M14.5 9.5h1M17 9.5h.5M6.5 12.5h1M10.5 12.5h1M14.5 12.5h1M17 12.5h.5M8 15.5h8'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-page .mb-x:hover,.nt-page .mb-kbd:hover{background:var(--surface2);color:var(--ink)}
.nt-page .mb-kbd.on{background:var(--green-tint);color:var(--green-deep)}
.nt-page .mb-box [data-tip]::after{top:calc(100% + 10px)}
/* reading line (Wolfram «Input interpretation») */
.nt-page .mb-read{display:flex;align-items:baseline;gap:10px;margin:-4px 0 0 2px;font-size:15px}
.nt-page .mb-read>span:first-child{font:500 11px var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
/* keyboard behind its icon */
.nt-page .mb-keys{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:6px;padding:10px;border-radius:14px;background:var(--surface2);border:1px solid var(--line)}
.nt-page .mb-key{height:40px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font:500 16px var(--font-body);cursor:pointer}
.nt-page .mb-key.var{font-style:italic;font-family:var(--font-display,Georgia),serif}
.nt-page .mb-key:hover{border-color:var(--ink)}
.nt-page .mb-key:active{background:var(--green-tint)}
/* examples */
.nt-page .mb-try{display:flex;flex-direction:column;gap:8px}
.nt-page .mb-try-cap{font:500 11px var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.nt-page .mb-chips{display:flex;flex-wrap:wrap;gap:8px}
/* word problem */
.nt-page .mb-box-ta{padding:12px 14px}
.nt-page .mb-ta{flex:1;min-height:110px;border:0;outline:0;resize:vertical;background:none;color:var(--ink);font:400 16px/1.55 var(--font-body)}
.nt-page .mb-word,.nt-page .mb-wordeq{display:flex;flex-direction:column;gap:12px}
.nt-page .mb-word-run{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.nt-page .mb-note{margin:0;font-size:13.5px;line-height:1.5;color:var(--muted)}
/* message cards */
.nt-page .mb-card{display:flex;flex-direction:column;gap:10px;padding:18px 20px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.nt-page .mb-h{font:600 16px var(--font-body);color:var(--ink)}
.nt-page .mb-links{display:flex;flex-wrap:wrap;gap:8px}
.nt-page .mb-amb-ans{display:flex;align-items:center;gap:10px;margin:0;font-size:18px}
/* result: answer card first (Symbolab / Wolfram / Google) */
.nt-page .mb-result{display:flex;flex-direction:column;gap:14px}
.nt-page .mb-ans{display:flex;flex-direction:column;gap:10px;padding:18px 20px 20px;border-radius:16px;background:color-mix(in srgb,var(--line) 28%,var(--surface2))}
:root[data-theme="dark"] .nt-page .mb-ans{background:color-mix(in srgb,var(--line) 55%,var(--surface))}
.nt-page .mb-ans-top{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px}
.nt-page .mb-type{font:500 11px var(--font-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.nt-page .mb-answer{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font:600 30px/1.2 var(--font-display,Georgia),serif;color:var(--ink)}
.nt-page .mb-ans.is-hidden .mb-answer{font:500 16px var(--font-body);color:var(--muted)}
.nt-page .mb-ok{display:inline-flex;align-items:center;gap:5px;padding:3px 10px 3px 8px;border-radius:99px;background:var(--green-tint);color:var(--green-deep);font:600 12.5px var(--font-body)}
.nt-page .mb-ok::before{content:"";width:12px;height:12px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.3 6.3 4.8 8.7 9.7 3.4'/%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' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.3 6.3 4.8 8.7 9.7 3.4'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-page .mb-sub{margin:0;font-size:14.5px;color:var(--muted)}
.nt-page .mb-ans .ms-line{max-width:420px}
.nt-page .mb-verify{display:flex;gap:10px;margin:2px 0 0;padding-top:10px;border-top:1px solid color-mix(in srgb,var(--line) 80%,transparent);font-size:14px;line-height:1.5;color:var(--muted)}
.nt-page .mb-verify b{flex:none;font:500 11px/1.9 var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--green-deep)}
.nt-page .mb-cx{font-size:14px}
.nt-page .mb-reveal{font-size:14px}
.nt-page .mb-tools{display:flex;gap:8px}
.nt-page .mb-menuw{position:relative}
.nt-page .mb-menu{left:auto;right:0;top:calc(100% + 6px);width:240px}
.nt-page .mb-copybtn::before{-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' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8.5' y='8.5' width='11' height='11' rx='2.5'/%3E%3Cpath d='M15.5 8.5V6A1.5 1.5 0 0 0 14 4.5H6A1.5 1.5 0 0 0 4.5 6v8A1.5 1.5 0 0 0 6 15.5h2.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' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8.5' y='8.5' width='11' height='11' rx='2.5'/%3E%3Cpath d='M15.5 8.5V6A1.5 1.5 0 0 0 14 4.5H6A1.5 1.5 0 0 0 4.5 6v8A1.5 1.5 0 0 0 6 15.5h2.5'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-page .mb-pdfbtn::before{-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.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7.5 10.5 12 15l4.5-4.5M5 19.5h14'/%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.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7.5 10.5 12 15l4.5-4.5M5 19.5h14'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-page .mb-recbtn::before{-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' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 7.5V12l3 2'/%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' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-page .mb-recbtn:disabled{opacity:.45;cursor:default}
.nt-page .mb-tools [data-tip]::after,.nt-page .mb-recent [data-tip]::after{left:auto;right:0;transform:none}
/* steps: numbered cards, «One step at a time» switch (Symbolab) */
.nt-page .mb-steps-sec{display:flex;flex-direction:column;gap:10px}
.nt-page .mb-steps-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.nt-page .mb-switch{display:inline-flex;align-items:center;gap:9px;font-size:14px;color:var(--ink);cursor:pointer}
.nt-page .mb-switch input{position:absolute;opacity:0;width:1px;height:1px}
.nt-page .mb-sw{position:relative;width:34px;height:20px;border-radius:99px;background:color-mix(in srgb,var(--ink) 22%,var(--line));transition:background-color .15s}
.nt-page .mb-sw::after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:transform .15s}
.nt-page .mb-switch input:checked+.mb-sw{background:var(--green)}
.nt-page .mb-switch input:checked+.mb-sw::after{transform:translateX(14px)}
.nt-page .mb-switch input:focus-visible+.mb-sw{outline:2px solid var(--green);outline-offset:2px}
.nt-page .mb-steps{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px}
.nt-page .mb-li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.nt-page .mb-li.is-new{border-color:var(--green);box-shadow:0 0 0 3px var(--green-tint)}
.nt-page .mb-num{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:var(--surface2);font:500 13px var(--font-mono);color:var(--muted)}
.nt-page .mb-step{display:flex;flex-direction:column;gap:6px;min-width:0}
.nt-page .mb-step b{font:600 15px/1.4 var(--font-body);color:var(--ink)}
.nt-page .mb-expr{font-size:19px;color:var(--ink);overflow-x:auto}
.nt-page .mb-why{font-size:14px;line-height:1.5;color:var(--muted)}
.nt-page .mb-next{display:flex;align-items:center;gap:14px}
/* practice last */
.nt-page .mb-practice{display:flex;flex-direction:column;gap:10px}
.nt-page .mb-practice-open{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:16px 18px;border:1.5px dashed color-mix(in srgb,var(--green) 45%,var(--line));border-radius:14px;background:none;cursor:pointer;text-align:left;color:var(--ink)}
.nt-page .mb-practice-open b{font:600 15px var(--font-body);color:var(--green-deep)}
.nt-page .mb-practice-open span{font-size:13.5px;color:var(--muted)}
.nt-page .mb-practice-open:hover{background:var(--green-tint)}
.nt-page .mb-sim-q{margin:0;font-size:20px}
.nt-page .mb-field-sm .mb-in{height:46px;font-size:17px}
@media(max-width:600px){
  .nt-page .mb-field{flex-direction:column}.nt-page .mb-go{width:100%}
  .nt-page .mb-keys{grid-template-columns:repeat(6,minmax(0,1fr))}
  .nt-page .mb-answer{font-size:26px}
  .nt-page .mb-steps-head{flex-wrap:wrap}
}

/* ================= #13 Resume Builder · VERSION B (05.11, from the competitors: research/resume) ================= */
.nt-page .rb-top{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:14px}
.nt-page .rb-views{flex:1;margin-bottom:0}
.nt-page .rb-dlw{position:relative;margin-bottom:6px}
.nt-page .rb-dl{display:inline-flex;align-items:center;gap:10px}
.nt-page .rb-car{width:8px;height:8px;margin-top:-4px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
.nt-page .rb-dlmenu{left:auto;right:0;top:calc(100% + 6px);width:270px}
.nt-page .rb-start{display:flex;flex-direction:column;gap:10px;margin-bottom:14px;padding:14px 16px;border-radius:14px;background:color-mix(in srgb,var(--line) 28%,var(--surface2))}
:root[data-theme="dark"] .nt-page .rb-start{background:color-mix(in srgb,var(--line) 55%,var(--surface))}
.nt-page .rb-start-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.nt-page .rb-cap{font:500 11px var(--font-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.nt-page .rb-impall{border:1.5px solid var(--line);background:var(--surface);color:var(--ink);gap:8px}
.nt-page .rb-impall:hover{border-color:var(--ink)}
.nt-page .rb-chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.nt-page .rb-chips .nt-chip.on{background:var(--green-tint);border-color:var(--green);color:var(--green-deep)}
.nt-page .rb-blank{margin-left:4px}
.nt-page .rb-design{display:flex;flex-direction:column;gap:22px}
.nt-page .rb-grp{display:flex;flex-direction:column;gap:10px}
.nt-page .rb-tpls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.nt-page .rb-tpl{display:grid;grid-template-columns:54px minmax(0,1fr);grid-template-rows:auto auto;column-gap:12px;align-items:center;padding:12px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface);cursor:pointer;text-align:left;color:var(--ink)}
.nt-page .rb-tpl .rs-tthumb{grid-row:1 / 3}
.nt-page .rb-tpl b{font:600 15px var(--font-body)}
.nt-page .rb-tpl small{font-size:12.5px;color:var(--muted)}
.nt-page .rb-tpl:hover{border-color:var(--ink)}
.nt-page .rb-tpl.on{border-color:var(--green);box-shadow:0 0 0 3px var(--green-tint)}
.nt-page .rb-note{margin:0;font-size:13px;color:var(--muted)}
.nt-page .rb-seg{display:inline-flex;gap:4px;padding:4px;border-radius:12px;background:var(--surface2);border:1px solid var(--line);align-self:flex-start}
.nt-page .rb-segb{padding:7px 16px;border:0;border-radius:9px;background:none;cursor:pointer;color:var(--muted);font:600 14px var(--font-body)}
.nt-page .rb-segb.on{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px rgba(25,30,26,.12)}
.nt-page .rb-pvhead{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.nt-page .rb-tplname{font:500 11px var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-right:auto}
.nt-page .rb-fit{display:inline-flex;align-items:center;gap:5px;padding:3px 10px 3px 8px;border-radius:99px;background:var(--green-tint);color:var(--green-deep);font:600 12.5px var(--font-body)}
.nt-page .rb-fit::before{content:"";width:12px;height:12px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.3 6.3 4.8 8.7 9.7 3.4'/%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' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.3 6.3 4.8 8.7 9.7 3.4'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-page .rb-fit.over{background:#FBF1D6;color:#8F6500}
.nt-page .rb-fit.over::before{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6 2.5v4.2M6 9.2v.1'/%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' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6 2.5v4.2M6 9.2v.1'/%3E%3C/svg%3E") center/contain no-repeat}
:root[data-theme="dark"] .nt-page .rb-fit.over{background:#33291A;color:#E2B44E}
@media(max-width:600px){.nt-page .rb-tpls{grid-template-columns:1fr}.nt-page .rb-top{flex-wrap:wrap}}
.nt-page .rb-impall{min-height:0;height:34px;padding:0 12px;font:600 13.5px var(--font-body);box-shadow:none}

/* ================= #31 Figurative Language · VERSION B (05.11, research/figurative) ================= */
.nt-page .fb-ex{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px;align-items:start}
.nt-page .fb-devs{display:flex;flex-direction:column;gap:2px;position:sticky;top:12px}
.nt-page .fb-dv{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:0;border-radius:10px;background:none;cursor:pointer;text-align:left;color:var(--ink)}
.nt-page .fb-dv b{font:600 15px var(--font-body)}
.nt-page .fb-dv small{font:500 11.5px var(--font-mono);color:var(--muted)}
.nt-page .fb-dv:hover{background:var(--surface2)}
.nt-page .fb-dv.on{background:var(--green-tint);color:var(--green-deep)}
.nt-page .fb-dv.on small{color:var(--green-deep)}
.nt-page .fb-dev{display:flex;flex-direction:column;gap:16px;min-width:0}
.nt-page .fb-dev-head h3{margin:0 0 4px;font:600 28px/1.15 var(--font-display,Georgia),serif}
.nt-page .fb-def{font-size:16px;color:var(--muted)}
.nt-page .fb-lit{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.nt-page .fb-lit>div{padding:12px 14px;border-radius:12px;background:var(--surface2);border:1px solid var(--line)}
.nt-page .fb-lit>div:last-child{background:var(--green-tint);border-color:color-mix(in srgb,var(--green) 30%,var(--line))}
.nt-page .fb-lit p{margin:4px 0 0;font:500 16px/1.4 var(--font-display,Georgia),serif;font-style:italic}
.nt-page .fb-cap{font:500 11px var(--font-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.nt-page .fb-exs{margin:0;padding:0;list-style:none;counter-reset:fx;display:flex;flex-direction:column;gap:0}
.nt-page .fb-exs li{counter-increment:fx;display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;padding:10px 12px;border-radius:10px;font:400 17px/1.45 var(--font-display,Georgia),serif}
.nt-page .fb-exs li::before{content:counter(fx);font:500 12px/1.9 var(--font-mono);color:var(--muted)}
.nt-page .fb-exs li:nth-child(even){background:color-mix(in srgb,var(--line) 28%,var(--surface2))}
:root[data-theme="dark"] .nt-page .fb-exs li:nth-child(even){background:color-mix(in srgb,var(--line) 55%,var(--surface))}
.nt-page .fb-act{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.nt-page .fb-ws{border:1.5px solid var(--line);background:var(--surface);color:var(--ink);min-height:0;height:38px;padding:0 16px;font-size:14px;box-shadow:none}
.nt-page .fb-ws:hover{border-color:var(--ink)}
.nt-page .fb-more{margin-left:auto}
.nt-page .fb-fhead{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.nt-page .fb-ffil{display:flex;gap:6px;flex-wrap:wrap}
.nt-page .fb-ffil .nt-chip.on,.nt-page .fb-chips .nt-chip.on{background:var(--green-tint);border-color:var(--green);color:var(--green-deep)}
.nt-page .oc-issue.fb-dim{opacity:.35}
.nt-page .fb-conf{margin-left:8px;padding:1px 7px;border-radius:99px;background:#FBF1D6;color:#8F6500;font:600 10.5px var(--font-body);letter-spacing:0;text-transform:none}
:root[data-theme="dark"] .nt-page .fb-conf{background:#33291A;color:#E2B44E}
.nt-page .fb-pcards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.nt-page .fb-pcard{display:flex;flex-direction:column;gap:12px;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.nt-page .fb-ph{font:600 18px var(--font-body)}
.nt-page .fb-pn{margin:0;font-size:13.5px;color:var(--muted)}
.nt-page .fb-prow{display:flex;flex-direction:column;gap:8px}
.nt-page .fb-prow-in{flex-direction:row;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:auto}
.nt-page .fb-chips{display:flex;flex-wrap:wrap;gap:6px}
.nt-page .fb-chips .nt-chip{padding:5px 10px;font-size:13px}
.nt-page .fb-dlr{display:flex;align-items:center;gap:12px}
.nt-page .fb-mini{padding:12px;border-radius:12px;background:color-mix(in srgb,var(--line) 28%,var(--surface2))}
:root[data-theme="dark"] .nt-page .fb-mini{background:color-mix(in srgb,var(--line) 55%,var(--surface))}
.nt-page .fb-chart{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;aspect-ratio:8.5/6;overflow:hidden;padding:12px;border-radius:6px;background:#fff;color:#1d211c;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.nt-page .fb-chart>b{grid-column:1/-1;font:600 15px var(--font-display,Georgia),serif;text-align:center}
.nt-page .fb-chart span{display:flex;flex-direction:column;gap:2px;padding:6px 8px;border-radius:6px;background:#F4F3EC;font-size:10px;line-height:1.3}
.nt-page .fb-chart i{font-style:normal;font-weight:700;font-size:11px;color:#0E7B54}
.nt-page .fb-range{width:100%;accent-color:var(--green)}
.nt-page .fb-wsprev{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--ink)}
.nt-page .fb-blank{margin-left:8px;color:var(--muted)}
.nt-page .fb-free{margin:12px 0 0;font-size:13.5px;color:var(--muted);text-align:center}
@media(max-width:900px){.nt-page .fb-ex{grid-template-columns:1fr}.nt-page .fb-devs{position:static;flex-direction:row;overflow-x:auto;gap:6px;padding-bottom:4px}.nt-page .fb-dv{flex:none;border:1px solid var(--line)}.nt-page .fb-pcards{grid-template-columns:1fr}.nt-page .fb-lit{grid-template-columns:1fr}}

/* #01 Math B · Cos 06.11: tab line runs under the clock too, clock icon bigger, empty Recent = state inside the menu (no disabled button) */
.nt-page .mb-top{border-bottom:1px solid var(--line)}
.nt-page .mb-top .mb-modes{border-bottom:0}
.nt-page .mb-recbtn::before{width:22px;height:22px}
.nt-page .mb-recempty{display:flex;flex-direction:column;gap:4px;padding:8px 12px 10px;max-width:240px;font-size:14px;line-height:1.4;color:var(--muted)}
.nt-page .mb-recempty b{color:var(--ink);font-weight:600}
/* #01 Math B · Cos 06.11: keyboard toggle bigger (box 36 → 44, icon 20 → 26) */
.nt-page .mb-kbd{width:44px;height:44px;border-radius:12px}
.nt-page .mb-kbd::before{width:26px;height:26px}
.nt-page .mb-box{padding-right:6px}   /* keyboard sits 6px from the inner edge on top, right and bottom alike */
/* #01 Math B · Cos 06.11: keyboard icon redrawn, 5 equal keys per row on an even grid, then key · space · key */
.nt-page .mb-kbd::before{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2.5' y='5.5' width='19' height='13' rx='2.5' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cg fill='black'%3E%3Crect x='5.5' y='8.35' width='1.6' height='1.6' rx='.3'/%3E%3Crect x='8.35' y='8.35' width='1.6' height='1.6' rx='.3'/%3E%3Crect x='11.2' y='8.35' width='1.6' height='1.6' rx='.3'/%3E%3Crect x='14.05' y='8.35' width='1.6' height='1.6' rx='.3'/%3E%3Crect x='16.9' y='8.35' width='1.6' height='1.6' rx='.3'/%3E%3Crect x='5.5' y='11.2' width='1.6' height='1.6' rx='.3'/%3E%3Crect x='8.35' y='11.2' width='1.6' height='1.6' rx='.3'/%3E%3Crect x='11.2' y='11.2' width='1.6' height='1.6' rx='.3'/%3E%3Crect x='14.05' y='11.2' width='1.6' height='1.6' rx='.3'/%3E%3Crect x='16.9' y='11.2' width='1.6' height='1.6' rx='.3'/%3E%3Crect x='5.5' y='14.05' width='1.6' height='1.6' rx='.3'/%3E%3Crect x='8.35' y='14.05' width='7.3' height='1.6' rx='.3'/%3E%3Crect x='16.9' y='14.05' width='1.6' height='1.6' rx='.3'/%3E%3C/g%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'%3E%3Crect x='2.5' y='5.5' width='19' height='13' rx='2.5' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cg fill='black'%3E%3Crect x='5.5' y='8.35' width='1.6' height='1.6' rx='.3'/%3E%3Crect x='8.35' y='8.35' width='1.6' height='1.6' rx='.3'/%3E%3Crect x='11.2' y='8.35' width='1.6' height='1.6' rx='.3'/%3E%3Crect x='14.05' y='8.35' width='1.6' height='1.6' rx='.3'/%3E%3Crect x='16.9' y='8.35' width='1.6' height='1.6' rx='.3'/%3E%3Crect x='5.5' y='11.2' width='1.6' height='1.6' rx='.3'/%3E%3Crect x='8.35' y='11.2' width='1.6' height='1.6' rx='.3'/%3E%3Crect x='11.2' y='11.2' width='1.6' height='1.6' rx='.3'/%3E%3Crect x='14.05' y='11.2' width='1.6' height='1.6' rx='.3'/%3E%3Crect x='16.9' y='11.2' width='1.6' height='1.6' rx='.3'/%3E%3Crect x='5.5' y='14.05' width='1.6' height='1.6' rx='.3'/%3E%3Crect x='8.35' y='14.05' width='7.3' height='1.6' rx='.3'/%3E%3Crect x='16.9' y='14.05' width='1.6' height='1.6' rx='.3'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}
/* #01 Math B · Cos 06.11: «We read this as» row is always there (fixed height), so typing or the first key press never pushes the keyboard down */
.nt-page .mb-read{min-height:30px;align-items:center}
.nt-page .mb-read .mb-readph{color:var(--muted);opacity:.7;font-size:15px}
/* shared «engine» toast for mockup buttons that only work on the live site (Cos 06.11, first on #01 Math B; reuse per tool) */
.nt-page .nt-engtoast{position:fixed;left:50%;bottom:24px;z-index:60;max-width:min(460px,calc(100vw - 32px));padding:12px 18px;border-radius:12px;background:var(--ink);color:var(--surface);font-size:15px;line-height:1.4;text-align:center;box-shadow:0 8px 24px rgba(0,0,0,.18);opacity:0;transform:translate(-50%,8px);pointer-events:none;transition:opacity .18s,transform .18s}
.nt-page .nt-engtoast.show{opacity:1;transform:translate(-50%,0)}
.nt-page .nt-engtoast.show:has(button){pointer-events:auto}   /* GO notes 16.11: a toast with an action («… Undo») takes the mouse; plain info toasts stay click-through */
/* #01 Math B · Cos 06.11: after a copy the Copy circle turns into a green check for 2 s, plus the toast says what was copied */
.nt-page .mb-copybtn.done{color:var(--green-deep);border-color:var(--green)}
.nt-page .mb-copybtn.done::before{-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' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.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' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat}
/* #01 Math B · Cos 06.11: graph to the right of the steps, switch «Graph» next to «One step at a time» */
.nt-page .mb-switches{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.nt-page .mb-stepsgrid.has-graph{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}
.nt-page .mb-graph{position:sticky;top:84px;padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.nt-page .mb-graph svg{display:block;width:100%;height:auto;border-radius:10px;background:color-mix(in srgb,var(--line) 18%,var(--surface))}
.nt-page .mb-graph .g-grid{stroke:var(--line);stroke-width:1}
.nt-page .mb-graph .g-axis{stroke:var(--muted);stroke-width:1.4}
.nt-page .mb-graph .g-tick{font:500 10px var(--font-mono);fill:var(--muted)}
.nt-page .mb-graph .g-curve{fill:none;stroke:var(--green);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.nt-page .mb-graph .g-c2{stroke:#d08a2c}
.nt-page .mb-graph .g-dash{stroke-dasharray:2 6}
.nt-page .mb-graph .g-shade{fill:var(--green-tint);opacity:.8}
.nt-page .mb-graph .g-pt{fill:var(--surface);stroke:var(--green-deep);stroke-width:2.6}
.nt-page .mb-graph .g-ptl{font:600 12px var(--font-mono);fill:var(--ink);paint-order:stroke;stroke:var(--surface);stroke-width:4px}
.nt-page .mb-graph .g-legend{display:flex;flex-wrap:wrap;gap:6px 14px;margin:10px 2px 0;font-size:13px;color:var(--ink)}
.nt-page .mb-graph .g-leg{display:inline-flex;align-items:center;gap:6px}
.nt-page .mb-graph .g-leg i{width:16px;height:0;border-top:2.4px solid var(--green)}
.nt-page .mb-graph .g-leg.g-c2 i{border-top-color:#d08a2c}
.nt-page .mb-graph .g-leg.g-dash i{border-top-style:dotted}
.nt-page .mb-graph .g-cap{margin:6px 2px 0;font-size:13px;line-height:1.4;color:var(--muted)}
@media(max-width:900px){.nt-page .mb-stepsgrid.has-graph{grid-template-columns:minmax(0,1fr)}.nt-page .mb-graph{position:static;max-width:420px}}
/* #01 Math B · Cos 06.11: switches after their label; graph open → «One step» ends at the steps column, «Graph» at the graph column; graph closed → side by side */
.nt-page .mb-steps-head.has-graph{display:grid;grid-template-columns:minmax(0,1fr) 340px;column-gap:24px;align-items:center}
.nt-page .mb-steps-head.has-graph .mb-switches{display:contents}
.nt-page .mb-steps-head.has-graph .mb-h{grid-column:1;grid-row:1}
.nt-page .mb-steps-head.has-graph .mb-sw-step{grid-column:1;grid-row:1;justify-self:end}
.nt-page .mb-steps-head.has-graph .mb-sw-graph{grid-column:2;grid-row:1;justify-self:end}
@media(max-width:900px){.nt-page .mb-steps-head.has-graph{display:flex;flex-wrap:wrap}.nt-page .mb-steps-head.has-graph .mb-switches{display:flex}}
/* #01 Math B · Cos 06.11: hidden answer keeps the open-answer layout; the answer sits under chat-style dust, the note + Show the answer go below the line */
.nt-page .mb-ans.is-hidden .mb-answer{font:600 30px/1.2 var(--font-display,Georgia),serif;color:var(--ink)}
.nt-page .mb-spoil{position:relative;display:inline-block;padding:0;margin:0;border:0;background:none;font:inherit;color:var(--ink);cursor:pointer;border-radius:8px}
.nt-page .mb-spoil-txt{color:transparent;filter:blur(7px);user-select:none}
.nt-page .mb-spoil-txt *{color:transparent}
.nt-page .mb-spoil canvas{position:absolute;inset:-4px -6px;width:calc(100% + 12px);height:calc(100% + 8px);color:var(--ink);pointer-events:none}
.nt-page .mb-spoil:focus-visible{outline:2px solid var(--green);outline-offset:4px}
.nt-page .mb-ans.is-hidden .mb-ok{opacity:.45}
.nt-page .mb-verify-hid{align-items:center;gap:12px}
.nt-page .mb-verify-hid .mb-reveal{margin:0}
/* #01 Math B · Cos 06.11: air between the step card and Next step; small link-buttons get the wheel's plate hover / press */
.nt-page .mb-next{margin-top:16px}
.nt-page .mb-body .lb-clear{padding:4px 8px;border-radius:7px;text-decoration:none;color:var(--green-deep);font:600 14px var(--font-body);transition:background-color .12s}
.nt-page .mb-body .lb-clear:hover:not(:disabled){background:var(--green-tint)}
.nt-page .mb-body .lb-clear:active:not(:disabled){background:color-mix(in srgb,var(--green) 22%,var(--green-tint))}
.nt-page .mb-body .lb-clear:focus-visible{outline:2px solid var(--green);outline-offset:1px}
.nt-page .mb-verify-hid .mb-reveal{margin:-4px 0 -4px -2px}
/* rule (Cos 06.11): a link INSIDE a sentence stays a text link (underline, no plate); plates only for stand-alone action links */
.nt-page .mb-body .mb-verify-hid .mb-reveal{margin:0;padding:0;border-radius:0;background:none;font:600 14px/1.5 var(--font-body);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.nt-page .mb-body .mb-verify-hid .mb-reveal:hover{background:none;color:var(--ink);text-decoration-thickness:2px}
.nt-page .mb-body .mb-verify-hid .mb-reveal:active{background:none;opacity:.7}
.nt-page .mb-verify-hid{align-items:baseline;gap:8px}
/* #01 Math B · Cos 06.11: more air around Steps (answer → Steps 32, head → cards 14, Steps → practice 32) */
.nt-page .mb-steps-sec{gap:14px;margin:18px 0}
.nt-page .mb-steps{gap:10px}
/* #01 Math B · Cos 06.11: practice card (like Symbolab «Practice»: a run of problems with a score, hint and solution in place) */
.nt-page .mb-prac{display:flex;flex-direction:column;gap:12px;padding:18px 20px 20px;border:1.5px solid color-mix(in srgb,var(--green) 35%,var(--line));border-radius:16px;background:var(--surface)}
.nt-page .mb-prac-head{display:flex;align-items:center;gap:12px}
.nt-page .mb-prac-head .mb-h{flex:1;min-width:0}
.nt-page .mb-prac-score{padding:3px 10px;border-radius:999px;background:var(--green-tint);color:var(--green-deep);font:600 13px var(--font-body);white-space:nowrap}
.nt-page .mb-prac-x{width:32px;height:32px;margin:-6px -8px -6px 0}
.nt-page .mb-prac .mb-sim-q{margin:0;font-size:24px;line-height:1.3}
.nt-page .mb-prac .mb-sim-q.is-word{font:400 17px/1.5 var(--font-body)}
.nt-page .mb-prac-res{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 14px;border-radius:12px;font-size:15px}
.nt-page .mb-prac-res.ok{background:var(--green-tint);color:var(--green-deep)}
.nt-page .mb-prac-res.no{background:color-mix(in srgb,#A3443E 10%,var(--surface));color:#8E3A35}
:root[data-theme="dark"] .nt-page .mb-prac-res.no{color:#E8A49E}
.nt-page .mb-prac-acts{display:flex;flex-wrap:wrap;gap:6px;margin-left:-8px}
.nt-page .mb-prac-steps{margin:0;padding:12px 14px 12px 34px;border-radius:12px;background:color-mix(in srgb,var(--line) 28%,var(--surface2));display:flex;flex-direction:column;gap:10px}
:root[data-theme="dark"] .nt-page .mb-prac-steps{background:color-mix(in srgb,var(--line) 55%,var(--surface))}
.nt-page .mb-prac-steps li{display:flex;flex-direction:column;gap:2px;font-size:14px;color:var(--muted)}
.nt-page .mb-prac-steps li b{font-weight:600;color:var(--ink)}
.nt-page .mb-prac-steps li .mx{font-size:18px;color:var(--ink)}
.nt-page .mb-prac-final{list-style:none;margin-left:-20px;padding-top:8px;border-top:1px solid var(--line)}
/* #01 Math B · Cos 06.11: practice card on the soft plate (like the answer card); inside it the hint/solution box turns white; Another one = primary */
.nt-page .mb-prac{background:color-mix(in srgb,var(--line) 28%,var(--surface2));border-color:transparent}
:root[data-theme="dark"] .nt-page .mb-prac{background:color-mix(in srgb,var(--line) 55%,var(--surface))}
.nt-page .mb-prac .mb-prac-steps,:root[data-theme="dark"] .nt-page .mb-prac .mb-prac-steps{background:var(--surface)}
.nt-page .mb-prac-res.ok{background:var(--surface);border:1.5px solid color-mix(in srgb,var(--green) 40%,var(--line))}
.nt-page .mb-prac-res.no{background:var(--surface);border:1.5px solid color-mix(in srgb,#A3443E 35%,var(--line))}
/* #01 Math B · Cos 06.11: practice card = the disclaimer's tone (surface2), hint/solution box one shade darker */
.nt-page .mb-prac,:root[data-theme="dark"] .nt-page .mb-prac{background:var(--surface2)}
.nt-page .mb-prac .mb-prac-steps{background:color-mix(in srgb,var(--line) 28%,var(--surface2))}
:root[data-theme="dark"] .nt-page .mb-prac .mb-prac-steps{background:color-mix(in srgb,var(--line) 55%,var(--surface))}
/* #01 Math B · Cos 06.11: practice result = field validation (colored border + a text line), shake on wrong, small confetti on right; card gets an outline */
.nt-page .mb-prac{position:relative;border:1px solid var(--line)}
.nt-page .mb-prac .mb-box.is-ok{border-color:var(--green)}
.nt-page .mb-prac .mb-box.is-no{border-color:#C0574F}
:root[data-theme="dark"] .nt-page .mb-prac .mb-box.is-no{border-color:#E8A49E}
.nt-page .mb-prac-msg{display:flex;align-items:center;gap:6px;margin:-4px 0 0 4px;font-size:14px}
.nt-page .mb-prac-msg::before{content:"";flex:none;width:16px;height:16px;background:currentColor;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
.nt-page .mb-prac-msg.ok{color:var(--green-deep);--ic: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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")}
.nt-page .mb-prac-msg.no{color:#A3443E;--ic: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.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5v.01'/%3E%3C/svg%3E")}
:root[data-theme="dark"] .nt-page .mb-prac-msg.no{color:#E8A49E}
.nt-page .mb-prac .mb-box.shake{animation:mbShake .42s cubic-bezier(.36,.07,.19,.97)}
@keyframes mbShake{10%,90%{transform:translateX(-1px)}20%,80%{transform:translateX(3px)}30%,50%,70%{transform:translateX(-6px)}40%,60%{transform:translateX(6px)}}
.nt-page .mb-confetti{position:absolute;z-index:3;width:7px;height:10px;margin:-5px 0 0 -3px;border-radius:2px;pointer-events:none;animation:mbConf .85s cubic-bezier(.2,.7,.3,1) forwards}
@keyframes mbConf{0%{transform:translate(0,0) rotate(0);opacity:1}70%{opacity:1}100%{transform:translate(var(--dx),calc(var(--dy) + 40px)) rotate(var(--r));opacity:0}}
/* #01 Math B · Cos 06.11: worked examples open their full solution under the four cards (spec: «4 fully worked examples on the page») */
.nt-page .ms-sample.is-on{border-color:var(--green);box-shadow:0 0 0 3px var(--green-tint)}
.nt-page .ms-sample .qa-btn.on{border-style:solid;border-color:var(--green);color:var(--green-deep);background:var(--green-tint)}
.nt-page .ms-worked{margin-top:14px;padding:20px 22px 22px;border:1px solid var(--line);border-radius:18px;background:var(--surface);display:flex;flex-direction:column;gap:16px}
.nt-page .ms-worked-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.nt-page .ms-worked-q{margin:6px 0 0;font-size:24px;line-height:1.3;color:var(--ink)}
.nt-page .ms-worked-q.is-word{font:400 17px/1.5 var(--font-body);max-width:720px}
.nt-page .ms-worked-steps{gap:10px}
.nt-page .ms-worked-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:14px;border-top:1px solid var(--line)}
.nt-page .ms-worked-ans{font-size:15px;color:var(--muted)}
.nt-page .ms-worked-ans b{font-size:20px;color:var(--ink);font-weight:500}
/* #01 Math B · Cos 06.11: tablet/phone (≤900) = Steps | Graph tabs instead of the Graph switch; desktop keeps the side-by-side + switch */
.nt-page .mb-viewtabs{display:none}
.nt-page .mb-stepsgrid:not(.has-graph) .mb-graph{display:none}
@media(max-width:900px){
  .nt-page .mb-steps-head.has-tabs{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}
  .nt-page .mb-steps-head.has-tabs .mb-h,.nt-page .mb-steps-head.has-tabs .mb-sw-graph{display:none}
  .nt-page .mb-steps-head.has-tabs .mb-viewtabs{display:flex;border-bottom:0;margin-bottom:-1px}
  .nt-page .mb-steps-head.has-tabs .mb-switches{display:flex;padding-bottom:8px}
  .nt-page .mb-steps-head.v-graph .mb-sw-step{visibility:hidden}
  .nt-page .mb-stepsgrid.v-graph .mb-stepscol,.nt-page .mb-stepsgrid.v-steps .mb-graph{display:none}
  .nt-page .mb-stepsgrid.v-graph .mb-graph{display:block;max-width:none}
  .nt-page .mb-stepsgrid.v-graph{display:block}
}
@media(max-width:900px){.nt-page .mb-stepsgrid.v-graph .mb-graph svg{max-width:520px;margin:0 auto}.nt-page .mb-stepsgrid.v-graph .mb-graph .g-legend,.nt-page .mb-stepsgrid.v-graph .mb-graph .g-cap{max-width:520px;margin-left:auto;margin-right:auto}}
/* #01 Math B · Cos 06.11: Recent circle centred on the tab row (not sitting on the line) */
.nt-page .mb-top .mb-recent{align-self:center;margin:-6px 0 0}
.nt-page .mb-top .mb-recent{margin:0;transform:translateY(-11px)}   /* centred between the card's top edge and the tab line (equal gaps) */
.nt-page .mb-top .mb-recent{position:relative;z-index:30}   /* the lift (transform) made its own layer: keep the Recent menu above the field and Solve */
/* #01 Math B · Cos 06.11: phone = «Type a problem» caption above the field so the example fits the placeholder; «We read this as» caption on its own line */
.nt-page .mb-fieldcap{display:none}
@media(max-width:600px){
  .nt-page .mb-fieldcap{display:block;margin:0 0 -6px 2px;font:500 11px var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
  .nt-page .mb-read{flex-direction:column;align-items:flex-start;gap:2px;min-height:0}
  .nt-page .mb-read .mx,.nt-page .mb-read .mb-readph{line-height:1.35}
}
/* #01 Math B · Cos 06.11: phone = Next step full width, Show all steps on its own line under it */
.nt-page .mb-next .lb-clear{white-space:nowrap}
@media(max-width:600px){.nt-page .mb-next{flex-direction:column;align-items:stretch;gap:6px}.nt-page .mb-next .btn{width:100%}.nt-page .mb-next .lb-clear{align-self:center}}
/* phone: the hidden-answer note reads as one sentence, the link stays whole («Show the answer» never splits) */
.nt-page .mb-verify-hid .mb-reveal{white-space:nowrap}
@media(max-width:600px){.nt-page .mb-verify-hid{display:block}.nt-page .mb-verify-hid>span{margin-right:8px}}
/* #01 Math B · Cos 06.11: Solve is a pill like every other button; phone: air between Solve and «We read this as» */
.nt-page .mb-go{border-radius:999px}
@media(max-width:600px){.nt-page .mb-read{margin-top:8px}}
/* #01 Math B · phone: the Copy menu hangs from the right edge of the Copy+PDF pair, so it never leaves the screen at 320 */
@media(max-width:600px){.nt-page .mb-tools{position:relative}.nt-page .mb-tools .mb-menuw{position:static}.nt-page .mb-tools .mb-menu{right:0;width:min(240px,calc(100vw - 48px))}}
/* AI tag inside a filled (primary) button: same ink as the label, like Generate buttons elsewhere (Cos 06.11, found on #01 Math B) */
.nt-page .btn-primary .nt-ai-tag{color:inherit;border-color:currentColor;opacity:.85;margin-left:8px}
/* #01 Math B · Cos 06.11: practice message is one sentence (icon + text), phone: score pill goes under the title, × stays top-right */
.nt-page .mb-prac-msg{align-items:flex-start}
.nt-page .mb-prac-msg::before{margin-top:2px}
@media(max-width:600px){
  .nt-page .mb-prac-head{flex-wrap:wrap;row-gap:8px}
  .nt-page .mb-prac-head .mb-h{flex:1 1 calc(100% - 44px)}
  .nt-page .mb-prac-score{order:3}
}
.nt-page .mb-prac-msg{line-height:22px}
.nt-page .mb-prac-msg::before{margin-top:3px}   /* icon centred on the first line (22px line, 16px icon) */
/* #01 Math B · Cos 06.11: hint/solution box: steps and Answer start on the same left edge (the list indent was for numbers we don't show) */
.nt-page .mb-prac .mb-prac-steps{padding:14px 16px}
.nt-page .mb-prac .mb-prac-final{margin-left:0}
/* #01 Math B · Cos 06.11 word problems (competitor study): answer in words first, «Set up» step, the problem text next to the equations, examples by type */
.nt-page .mb-answer .mb-words{font:600 28px/1.25 var(--font-display,Georgia),serif}
.nt-page .mb-li.is-setup{background:color-mix(in srgb,var(--line) 28%,var(--surface2));border-color:transparent}
:root[data-theme="dark"] .nt-page .mb-li.is-setup{background:color-mix(in srgb,var(--line) 55%,var(--surface))}
.nt-page .mb-li.is-setup .mb-num{background:var(--surface)}
.nt-page .ms-wq{margin:0;padding:10px 14px;border-left:3px solid var(--green);border-radius:0 10px 10px 0;background:color-mix(in srgb,var(--line) 28%,var(--surface2));font-size:15px;line-height:1.5;color:var(--ink)}
:root[data-theme="dark"] .nt-page .ms-wq{background:color-mix(in srgb,var(--line) 55%,var(--surface))}
.nt-page .ms-wq span{display:block;margin-bottom:2px;font:500 11px var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.nt-page .mb-word .mb-try{margin-top:4px}
.nt-page .mb-word .nt-chip.on{border-color:var(--green);background:var(--green-tint);color:var(--green-deep)}
@media(max-width:600px){.nt-page .mb-answer .mb-words{font-size:23px}}
.nt-page .ms-wq-res{display:block}
.nt-page .ms-wq-res .lb-clear{display:inline-block;margin:6px 0 -4px -8px}
.nt-page .ms-wq span{display:inline;margin:0;font:inherit;letter-spacing:normal;text-transform:none;color:inherit}
.nt-page .ms-wq .ms-wq-cap{display:block;margin-bottom:2px;font:500 11px var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.nt-page .ms-wq-res .lb-clear{display:table;margin:6px 0 -4px -8px}
.nt-page .ms-wq-res .ms-wq-acts{display:flex;flex-wrap:wrap;gap:4px;margin:6px 0 -4px -8px}
.nt-page .ms-wq-res .ms-wq-acts .lb-clear{display:inline-block;margin:0}
/* #01 Math B · Cos 06.11: word examples live inside the field as a bottom bar (less noise, examples before the action) */
.nt-page .mb-box-ta{flex-direction:column;align-items:stretch;gap:8px;padding:12px 14px 10px}
.nt-page .mb-box-ta .mb-ta{min-height:96px;width:100%}
.nt-page .mb-tabar{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px}
.nt-page .mb-tabar .mb-try-cap{margin-right:4px}
.nt-page .mb-tabar .nt-chip{padding:5px 12px;font-size:13.5px}
.nt-page .mb-tabar .nt-chip.on{border-color:var(--green);background:var(--green-tint);color:var(--green-deep)}
/* #01 Math B · Cos 06.11: the word field = the 99-tools «ta-box» pattern (Word Counter / Summarizer): one frame, bare text area,
   a tinted bar at its foot (examples), the frame resizes from its corner */
.nt-page .mb-box-ta{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;overflow:hidden;resize:vertical;min-height:170px}
.nt-page .mb-box-ta .mb-ta{flex:1 1 auto;min-height:96px;padding:12px 14px;resize:none}
.nt-page .mb-box-ta .mb-tabar{flex:none;padding:8px 10px 8px 14px;background:var(--surface2);border-top:1px solid var(--line)}
:root[data-theme="dark"] .nt-page .mb-box-ta .mb-tabar{background:color-mix(in srgb,var(--line) 40%,var(--surface))}
.nt-page .mb-box-ta .mb-tabar .nt-chip{background:var(--surface)}
.nt-page .mb-box-ta .mb-tabar .nt-chip.on{background:var(--green-tint)}
.nt-page .mb-box-ta{flex:none}   /* the shared .mb-box flex:1 pinned its height, so dragging the corner did nothing */
/* #01 Math B · Cos 06.11: phone = the word actions run full width (Turn into equations, Looks right, solve); Edit the problem centred under the button */
@media(max-width:600px){
  .nt-page .mb-word-run{flex-direction:column;align-items:stretch;gap:10px}
  .nt-page .mb-word-run .btn{width:100%;justify-content:center}
  .nt-page .mb-word-run:has(> .lb-clear){flex-direction:column-reverse;gap:6px}
  .nt-page .mb-word-run > .lb-clear{align-self:center}
}
/* #01 Math B · Cos 16.11 (GO notes): step numbers read — green-deep 600 figure as the #12 Fraction step cards (kb-steps), on a plate one step darker
   than the card (the «Your problem» / Set up tint); in dark the plate is the dark tint of those plates. The Set up step keeps its white plate. */
.nt-page .mb-num{background:color-mix(in srgb,var(--line) 70%,var(--surface2));font-weight:600;color:var(--green-deep)}
:root[data-theme="dark"] .nt-page .mb-num{background:color-mix(in srgb,var(--line) 90%,var(--surface))}
.nt-page .mb-li.is-setup .mb-num,:root[data-theme="dark"] .nt-page .mb-li.is-setup .mb-num{background:var(--surface)}
/* #01 Math B · Cos 16.11: Edit the problem / New problem live inside «Your problem» before AND after solving (one place); more air above them */
.nt-page .ms-wq-res .ms-wq-acts{margin:14px 0 -2px -8px;gap:10px}
.nt-page .mb-word-go{justify-content:flex-end}
@media(max-width:600px){.nt-page .ms-wq-res .ms-wq-acts{gap:2px}.nt-page .ms-wq-res .ms-wq-acts .lb-clear{white-space:nowrap}}   /* both links on one row at 320 too */
/* ===== ITER «tabs + Recent balance» (Cos 06.11) — rollback = delete this block down to «END ITER» =====
   tabs a step bigger (16px), Recent = a bare clock (no circle) sitting on the tab labels' line, ghost plate on hover */
.nt-page .mb-modes .kt-wtab{font-size:16px;padding:8px 0 12px}
.nt-page .mb-modes .kt-wtab.on::after{left:0;right:0}
.nt-page .kt-wtabs.mb-modes{gap:28px}
.nt-page .mb-top .mb-recent{transform:none;align-self:flex-end;margin:0 -6px 4px 0}
.nt-page .mb-top .mb-recbtn{width:36px;height:36px;border-color:transparent;background:none;border-radius:10px;color:var(--muted)}
.nt-page .mb-top .mb-recbtn::before{width:22px;height:22px}
.nt-page .mb-top .mb-recbtn:hover,.nt-page .mb-top .mb-recbtn[aria-expanded="true"]{background:var(--surface2);color:var(--ink)}
@media(max-width:600px){.nt-page .mb-modes .kt-wtab{font-size:16px}}
/* ===== END ITER ===== */
/* #13 Resume B · Cos 06.11 control audit: section move ↑↓ (spec «section reordering»), remove ×, add school / entry / bullet / award, typed skills */
.nt-page .rs-sec-top{display:flex;align-items:center}
.nt-page .rs-sec-top .rs-sec-h{flex:1;min-width:0}
.nt-page .rs-mvs{display:flex;gap:2px;padding-right:8px}
.nt-page .rs-mv{width:28px;height:28px;border:0;border-radius:7px;background:none;color:var(--muted);font:600 14px var(--font-body);cursor:pointer}
.nt-page .rs-mv:hover:not(:disabled){background:var(--surface2);color:var(--ink)}
.nt-page .rs-mv:disabled{opacity:.3;cursor:default}
.nt-page .rs-entry{position:relative}
.nt-page .rs-del{flex:none;width:26px;height:26px;border:0;border-radius:7px;background:none;color:var(--muted);font:500 18px/1 var(--font-body);cursor:pointer}
.nt-page .rs-del:hover{background:color-mix(in srgb,#A3443E 12%,var(--surface));color:#A3443E}
.nt-page .rs-entry > .rs-del{position:absolute;top:6px;right:6px;z-index:1}
.nt-page .rs-b{align-items:center}
.nt-page .rs-chips > span{display:inline-flex;align-items:center;gap:2px;padding-right:4px}
.nt-page .rs-chips > span .rs-del{width:20px;height:20px;font-size:15px}
.nt-page .rs-skill-add{display:flex;gap:8px;margin-top:10px}
.nt-page .rs-skill-add .opt-in{flex:1;min-width:0}
.nt-page .rs-award{display:flex;align-items:flex-end;gap:6px}
.nt-page .rs-award .rs-f{flex:1}
.nt-page .rs-award .rs-del{margin-bottom:8px}
.nt-page .rs-sec-b > .sm-add{margin-top:10px}
/* #13 Resume B · Cos 06.11: dates picked from month + year, «Present» for what is still going on, «Expected» for graduation */
.nt-page .rs-dates{display:flex;flex-direction:column;gap:4px;width:100%;margin:2px 0 4px}
.nt-page .rs-dcap{font-size:12.5px;font-weight:600;color:var(--muted)}
.nt-page .rs-dline{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px}
.nt-page .rs-dsel{width:auto;min-width:0;flex:0 1 92px;height:38px;padding-top:0;padding-bottom:0}
.nt-page .rs-dto{font-size:13px;color:var(--muted)}
.nt-page .rs-dchk{margin-left:4px;font-size:14px;white-space:nowrap}
.nt-page .rs-dsel:disabled{opacity:.45}
/* #13 Resume B · Cos 06.11: Improve all leaves the samples plate, gets its own row with the bullet count */
.nt-page .rb-impall-row{display:flex;align-items:center;justify-content:space-between;gap:10px 14px;flex-wrap:wrap;padding:12px 14px 12px 16px;border:1.5px solid color-mix(in srgb,var(--green) 30%,var(--line));border-radius:14px;background:var(--green-tint)}
.nt-page .rb-impall-row > span{flex:1 1 220px;font-size:14px;line-height:1.45;color:var(--ink)}
.nt-page .rb-impall-row > span b{color:var(--green-deep)}
.nt-page .rb-impall-row .rb-impall{flex:none}
:root[data-theme="dark"] .nt-page .rb-impall-row{background:color-mix(in srgb,var(--green) 14%,var(--surface))}
/* #13 Resume B · Cos 06.11: «Classic · Letter» + fit pill share the line with «Start from a sample» (the samples plate has 14px padding) */
@media(min-width:901px){.nt-page .rb-pvhead{padding-top:10px}}
/* #13 Resume B · Cos 06.11: section chevron before the title and a size smaller (scoped to B's .rs-sec-top, other tools untouched) */
.nt-page .rs-sec-top .rs-sec-h::after{order:-1;width:6px;height:6px;border-right-width:1.75px;border-bottom-width:1.75px;margin:-3px 2px 0 2px;transform:rotate(-45deg)}
.nt-page .rs-sec-top .rs-sec-h{gap:10px}
.nt-page .rs-sec.open .rs-sec-top .rs-sec-h::after{transform:rotate(45deg);margin:-4px 2px 0 2px}
/* #13 Resume B · Cos 06.11: the preview rides along while you scroll the form (desktop, side by side) */
@media(min-width:1001px){.nt-page .rs-right{position:sticky;top:16px}}   /* no overflow box: it clipped the sheet's shadow (Cos 06.11) */
/* #13 Resume B · Cos 16.11: an empty resume = Download off with «Nothing to download yet» (the C #23 look) */
.nt-page .rb-top .rb-dl:disabled,.nt-page .rs-right .rb-dl:disabled{opacity:.45;cursor:default;box-shadow:none}
/* #13 Resume B · Cos 06.11: form sections stand apart (10px), scoped to B */
.nt-page .rs-form > div:has(.rs-sec-top){display:flex;flex-direction:column;gap:10px}
/* #13 Resume B · Cos 06.11: an open section's content sits on the light plate under a line, like «What we checked» on #78 */
.nt-page .rs-sec:has(.rs-sec-top) > .rs-sec-b{background:var(--surface2);border-top:1px solid var(--line);padding-top:14px}
.nt-page .rs-sec:has(.rs-sec-top) > .rs-sec-b .rs-entry{background:var(--surface)}
.nt-page .rs-sec:has(.rs-sec-top) > .rs-sec-b .rs-entry{border-style:solid}
/* #13 Resume B · Cos 06.11: the remove × drawn as an icon so it sits dead centre in its plate (the text glyph sat low) */
.nt-page .rs-del{display:inline-grid;place-items:center;padding:0;font-size:0;line-height:0}
.nt-page .rs-del::before{content:"";width:10px;height:10px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M1.5 1.5l7 7M8.5 1.5l-7 7'/%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 10 10' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M1.5 1.5l7 7M8.5 1.5l-7 7'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-page .rs-chips > span .rs-del::before{width:8px;height:8px}
.nt-page .rs-del{display:inline-flex;align-items:center;justify-content:center}   /* grid gave the hidden «×» text its own row and pushed the icon up */
.nt-page .rs-chips > span .rs-del{font-size:0}   /* an older rule gave chip buttons 15px text, so the hidden «×» showed next to the icon */
/* #13 Resume B · Cos 06.11: plus signs drawn as icons, not the «+» character (skill ideas, Add bullet / entry / school / award) */
.nt-page .rs-sec:has(.rs-sec-top) :is(.rs-idea,.sm-add,.sm-add-b){display:inline-flex;align-items:center;justify-content:center;gap:6px}
.nt-page .rs-sec:has(.rs-sec-top) :is(.rs-idea,.sm-add,.sm-add-b)::before{content:"";flex:none;width:10px;height:10px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M5 1v8M1 5h8'/%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 10 10' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M5 1v8M1 5h8'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-page .rs-sec:has(.rs-sec-top) .sm-add{display:flex}
/* #13 Resume B · Cos 06.11 Contact: city suggestions under the field, email check on leaving the field */
.nt-page .rs-city{position:relative}
.nt-page .rs-cities{position:absolute;left:0;right:0;top:100%;margin:4px 0 0;padding:6px;list-style:none;z-index:40;min-width:0;width:auto}
.nt-page .rs-cities .kt-lmb{display:block;cursor:pointer;font-size:14.5px}
.nt-page .rs-cities .kt-lmb b{font-weight:700;color:var(--green-deep)}
.nt-page .rs-cities .kt-lmb.on{background:var(--surface2)}
.nt-page .rs-email .rs-err{display:none;margin-top:4px;font-size:12.5px;color:#A3443E}
:root[data-theme="dark"] .nt-page .rs-email .rs-err{color:#E8A49E}
.nt-page .rs-email.is-bad .rs-err{display:block}
.nt-page .rs-email.is-bad .opt-in{border-color:#C0574F}
.nt-page .rs-sec:has(.rs-cities){overflow:visible}   /* the section clips its content; let the city list hang out */
.nt-page .rs-sec:has(.rs-sec-top) .rs-grid{align-items:start}   /* the email error line made the row taller and stretched the Phone field next to it */
/* #13 Resume B · Cos 06.11: live loupe — the edited line glows on the sheet, a ×2 lens floats over it (desktop) */
.nt-page .rs-page [data-src]{border-radius:2px;transition:background-color .2s,box-shadow .2s}
.nt-page .rs-page [data-src].is-live{background:rgba(31,122,84,.14);box-shadow:0 0 0 2px rgba(31,122,84,.14)}
.nt-page .rs-right{position:relative}
@media(min-width:1001px){.nt-page .rs-right{position:sticky}}
.nt-page .rs-lens{position:absolute;z-index:20;overflow:hidden;border-radius:12px;background:#fff;box-shadow:0 10px 28px rgba(25,30,26,.22),0 0 0 1.5px rgba(31,122,84,.45);pointer-events:none;opacity:0;transform:translateY(4px) scale(.98);transition:opacity .16s,transform .16s,left .12s,top .12s}
.nt-page .rs-lens.show{opacity:1;transform:none}
.nt-page .rs-lens-in{transform-origin:0 0;position:absolute;left:0;top:0}
.nt-page .rs-lens-in .rs-page{box-shadow:none;border-radius:0}
.nt-page .rs-lens-in{position:static;transform:none;container-type:inline-size}
.nt-page .rs-lens .rs-doc{font-size:2.15cqw;color:#1d211c;background:#fff}
.nt-page .rs-lens .rs-doc [data-src].is-live{background:none;box-shadow:none}
.nt-page .rs-lens .rs-doc ul{margin:0}
.nt-page .rs-lens .rs-doc p,.nt-page .rs-lens .rs-doc h4{margin:0}
/* #13 Resume B · Cos 06.11: required fields left empty — amber hint at the field, a grey [placeholder] on the sheet, a line in Download */
.nt-page .rs-req .rs-miss{display:none;margin-top:4px;font-size:12.5px;line-height:1.35;color:#9A6A12}
:root[data-theme="dark"] .nt-page .rs-req .rs-miss{color:#E3B866}
.nt-page .rs-req.is-miss .rs-miss{display:block}
.nt-page .rs-req.is-miss .opt-in{border-color:#D9A43B;box-shadow:0 0 0 3px rgba(217,164,59,.16)}
.nt-page .rs-email.is-bad .rs-miss{display:none}
.nt-page .rs-doc .rv-ph{font-style:normal;font-weight:inherit;color:#A7AAA2}
.nt-page .rb-dlmiss span{color:#9A6A12;font-weight:600}
:root[data-theme="dark"] .nt-page .rb-dlmiss span{color:#E3B866}
.nt-page .rb-dlmiss small{color:var(--green-deep);font-weight:600}
/* #13 Resume B · Cos 06.11: Improve buttons as tall as the bullet field; an accepted bullet flashes green and its button reads «Improved» (green, tip «Improve again») */
.nt-page .rs-sec:has(.rs-sec-top) .rs-b .opt-in{height:40px}
.nt-page .rs-sec:has(.rs-sec-top) .rs-imp-btn{height:40px;padding:0 12px;font-size:13px;border-radius:12px}
.nt-page .rs-imp-btn.done{border-color:color-mix(in srgb,var(--green) 45%,var(--line));background:var(--green-tint);color:var(--green-deep)}
.nt-page .rs-imp-btn.done::before{content:"";width:12px;height:12px;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='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.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='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-page .opt-in.rs-flash{animation:rsFlash 1.4s ease-out}
@keyframes rsFlash{0%,35%{background:var(--green-tint);border-color:var(--green)}100%{background:var(--surface)}}
.nt-page .rs-sec-top .rs-sec-h::after{margin-top:-1px}   /* closed › chevron 2px lower, on the title's optical centre (Cos 06.11) */
.nt-page .rs-sec.open .rs-sec-top .rs-sec-h::after{margin-top:-3px}
/* #13 Resume B · Cos 06.11: every line on the sheet is a link to its field — hover shows it, click jumps there */
@media(hover:hover){
  .nt-page .rs-page [data-src]{cursor:pointer}
  .nt-page .rs-page [data-src]:hover{background:rgba(31,122,84,.08);box-shadow:0 0 0 2px rgba(31,122,84,.08)}
  .nt-page .rs-page [data-src="skills"]:hover,.nt-page .rs-page [data-src="skills"]{background:none;box-shadow:none;cursor:default}
}
/* #13 Resume B · Cos 06.11: pager under the sheet when the resume runs past one page */
.nt-page .rs-page .rs-doc{transition:transform .25s ease}
.nt-page .rb-pager{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:10px;font:500 13px var(--font-mono);color:var(--muted)}
.nt-page .rb-pg{width:34px;height:34px;border:1.5px solid var(--line);border-radius:99px;background:var(--surface);color:var(--ink);cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.nt-page .rb-pg::before{content:"";width:8px;height:8px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-left:3px}
.nt-page .rb-pg.next::before{transform:rotate(-135deg);margin:0 3px 0 0}
.nt-page .rb-pg:hover:not(:disabled){border-color:var(--ink)}
.nt-page .rb-pg:disabled{opacity:.35;cursor:default}
.nt-page .rs-page.rs-multi::after{content:"";position:absolute;left:0;right:0;bottom:0;height:var(--rs-pad);background:#fff;z-index:2;pointer-events:none}
.nt-page .rs-page.rs-pgn::before{content:"";position:absolute;left:0;right:0;top:0;height:var(--rs-pad);background:#fff;z-index:2;pointer-events:none}
/* #13 Resume B · Cos 06.11: the pager = one compact dark pill (‹ 1 / 2 ›), like the A/B switch */
.nt-page .rb-pager{width:max-content;margin:10px auto 0;gap:2px;padding:3px;border-radius:99px;background:var(--ink);color:var(--surface);box-shadow:0 6px 16px rgba(0,0,0,.16);font:500 12.5px var(--font-mono)}
.nt-page .rb-pager span{padding:0 6px;min-width:36px;text-align:center}
.nt-page .rb-pg{width:28px;height:28px;border:0;background:none;color:inherit}
.nt-page .rb-pg::before{width:6px;height:6px;border-width:0 0 1.75px 1.75px;border-style:solid;border-color:currentColor}
.nt-page .rb-pg:hover:not(:disabled){background:color-mix(in srgb,var(--surface) 16%,transparent)}
.nt-page .rb-pg:disabled{opacity:.3}
/* #13 Resume B · Cos 06.11: the tab line runs the full width, under Download too (as on Math B) */
.nt-page .rb-top{border-bottom:1px solid var(--line)}
.nt-page .rb-top .rb-views{border-bottom:0}
.nt-page .rb-top .rb-views .kt-wtab.on::after{bottom:-1px}
.nt-page .rb-top .rb-dlw{margin-bottom:10px}
@media(max-width:600px){.nt-page .rb-top{border-bottom:0}.nt-page .rb-top .rb-views{border-bottom:1px solid var(--line)}}
/* ===== ITER «Resume tabs with icons on top» (Cos 06.11, old macOS Preferences toolbar) — rollback = delete down to END ITER ===== */
.nt-page .rb-top .rb-views{gap:24px}
.nt-page .rb-top .rb-views .kt-wtab{flex-direction:column;gap:5px;padding:4px 0 10px;font-size:15px;color:var(--muted)}   /* Cos 06.11: as on the wheel: 15px, no side padding, 24px apart */
.nt-page .rb-top .rb-views .kt-wtab::before{content:"";width:26px;height:26px;background:currentColor;opacity:.85}
.nt-page .rb-top .rb-views .kt-wtab.on{color:var(--ink)}
.nt-page .rb-top .rb-views .kt-wtab.on::before{background:var(--green-deep);opacity:1}
.nt-page .rb-top .rb-views .kt-wtab.on::after{left:0;right:0}
/* Content: a page with a folded corner and text lines (Cos 06.11: no pencil) */
.nt-page .rb-top .rb-views .kt-wtab:nth-child(1)::before{-webkit-mask: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='M15.5 3.5H8a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M15.5 3.5V8H20'/%3E%3Cpath d='M9.5 12h7M9.5 15.5h7M9.5 19h4.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 26 26' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15.5 3.5H8a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M15.5 3.5V8H20'/%3E%3Cpath d='M9.5 12h7M9.5 15.5h7M9.5 19h4.5'/%3E%3C/svg%3E") center/contain no-repeat}
/* Design: a brush */
.nt-page .rb-top .rb-views .kt-wtab:nth-child(2)::before{-webkit-mask: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='M21.8 3.6c.8.8.4 2.2-.6 3.2l-7 7-2.4-2.4 7-7c1-1 2.3-1.5 3-.8z'/%3E%3Cpath d='M11.8 11.4l2.4 2.4c-.2 2.9-2.4 5-5.3 5.1-1.6.1-3-.3-4.3-1.1 1.6-.4 2.3-1.6 2.3-3.2 0-2.1 2.2-3.3 4.9-3.2z'/%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 26 26' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.8 3.6c.8.8.4 2.2-.6 3.2l-7 7-2.4-2.4 7-7c1-1 2.3-1.5 3-.8z'/%3E%3Cpath d='M11.8 11.4l2.4 2.4c-.2 2.9-2.4 5-5.3 5.1-1.6.1-3-.3-4.3-1.1 1.6-.4 2.3-1.6 2.3-3.2 0-2.1 2.2-3.3 4.9-3.2z'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-page .rb-top .rb-views .kt-wtab:hover:not(.on){color:var(--ink)}
.nt-page .rb-top .rb-dlw{align-self:center;margin-bottom:0}   /* Download on the vertical centre of the icon tabs */
.nt-page .rb-top{margin-top:-8px}   /* less air above the icon tabs */
/* ===== END ITER ===== */

/* #13 Resume B · Cos 06.11: Download menu wider (nothing cut) with coloured file icons in the Compress PDF style: PDF red, DOC blue, TXT grey, a printer; the empty-fields line gets the warning triangle */
.nt-page .rb-dlmenu{width:340px;max-width:calc(100vw - 32px)}
.nt-page .rb-dli{display:grid;grid-template-columns:30px minmax(0,1fr);column-gap:12px;row-gap:1px;align-items:center;text-align:left}
.nt-page .rb-dli::before{content:"";grid-row:1 / span 2;width:30px;height:30px;border-radius:7px;background:var(--surface2) center/24px no-repeat}
.nt-page .rb-dli > span,.nt-page .rb-dli > small{grid-column:2;white-space:normal;overflow:visible;text-overflow:clip}
.nt-page .rb-dli > small{font-size:12.5px}
.nt-page .rb-dli:not(:has(small))::before{grid-row:1}
.nt-page .rb-dli[data-ic=pdf]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cg fill='none' stroke='%23E0442F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 13V6.5A2.5 2.5 0 0 1 9.5 4H17l6 6v3'/%3E%3Cpath d='M17 4v4.5A1.5 1.5 0 0 0 18.5 10H23'/%3E%3C/g%3E%3Ctext x='15' y='25.5' text-anchor='middle' font-family='Helvetica,Arial,sans-serif' font-size='9.5' font-weight='800' fill='%23E0442F'%3EPDF%3C/text%3E%3C/svg%3E")}
.nt-page .rb-dli[data-ic=doc]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cg fill='none' stroke='%232B5FB4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 13V6.5A2.5 2.5 0 0 1 9.5 4H17l6 6v3'/%3E%3Cpath d='M17 4v4.5A1.5 1.5 0 0 0 18.5 10H23'/%3E%3C/g%3E%3Ctext x='15' y='25.5' text-anchor='middle' font-family='Helvetica,Arial,sans-serif' font-size='9.5' font-weight='800' fill='%232B5FB4'%3EDOC%3C/text%3E%3C/svg%3E")}
.nt-page .rb-dli[data-ic=txt]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cg fill='none' stroke='%236B7268' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 13V6.5A2.5 2.5 0 0 1 9.5 4H17l6 6v3'/%3E%3Cpath d='M17 4v4.5A1.5 1.5 0 0 0 18.5 10H23'/%3E%3C/g%3E%3Ctext x='15' y='25.5' text-anchor='middle' font-family='Helvetica,Arial,sans-serif' font-size='9.5' font-weight='800' fill='%236B7268'%3ETXT%3C/text%3E%3C/svg%3E")}
.nt-page .rb-dli[data-ic=print]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' fill='none' stroke='%234E5A52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11V5h12v6'/%3E%3Crect x='5' y='11' width='20' height='10' rx='2.5'/%3E%3Cpath d='M9 18h12v7H9z'/%3E%3Cpath d='M21.5 14.5h.01'/%3E%3C/svg%3E")}
.nt-page .rb-dli[data-ic=warn]::before{background-color:color-mix(in srgb,#E3B866 22%,var(--surface));background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' fill='none' stroke='%23C88A12' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.3 5.6 3.9 22.3A2 2 0 0 0 5.6 25.3h18.8a2 2 0 0 0 1.7-3L16.7 5.6a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M15 12v5.5M15 21.3v.01'/%3E%3C/svg%3E")}
.nt-page .rb-dli > small{font-family:var(--font-body);letter-spacing:0;color:var(--muted)}
.nt-page .rb-dlmenu{width:max-content;min-width:230px;max-width:min(300px,calc(100vw - 32px))}   /* as wide as the longest line needs (Cos 06.11) */
/* #13 Resume B · Cos 06.11: each Design group (Template, Spacing, Paper) sits on the same plate as «Start from a sample» */
.nt-page .rb-design{gap:12px}
.nt-page .rb-grp{padding:14px 16px;border-radius:14px;background:color-mix(in srgb,var(--line) 28%,var(--surface2))}
:root[data-theme="dark"] .nt-page .rb-grp{background:color-mix(in srgb,var(--line) 55%,var(--surface))}
.nt-page .rb-grp .rb-tpl{background:var(--surface)}
/* #13 Resume B · Cos 06.11: the six example resumes show a real miniature of the sample (spec: «6 original example resumes»), Use this template loads it */
.nt-page .rs-sample .rs-thumbpage{width:100%;box-shadow:0 0 0 1px var(--line);border-radius:4px;pointer-events:none}
.nt-page .rs-sample .rs-thumbpage [data-src]{background:none!important;box-shadow:none!important}
.nt-page .rs-sample .rs-thumbpage b{display:inline;margin:0;font-size:inherit;line-height:inherit;font-weight:700;color:inherit}   /* the card's title style leaked into the miniature */
.nt-page .rs-sample .rs-thumbpage span{display:inline;margin:0;font-size:inherit;color:inherit}
.nt-page .rs-sample .rs-thumbpage .rv-e > span{float:none}
/* #13 Resume B · Cos 06.11: the Design tab starts on the same line as the Content tab (TEMPLATE level with «Classic · Letter») */
.nt-page .rb-design{margin-top:-12px}   /* the (empty) Improve host above it took a 12px gap the Content tab does not have */
/* #13 Resume B · Cos 06.11: unselected template cards keep their outline but sit on the plate (no white); the chosen one is white */
.nt-page .rb-grp .rb-tpl:not(.on){background:transparent}
.nt-page .rb-grp .rb-tpl:not(.on):hover{background:color-mix(in srgb,var(--surface) 55%,transparent)}
.nt-page .rb-grp .rb-tpl.on{background:var(--surface)}
/* #13 Resume B · Cos 06.11: the chosen template looks like the chosen sample pill: green tint, green outline, no halo */
.nt-page .rb-grp .rb-tpl.on{background:var(--green-tint);border-color:var(--green-deep);box-shadow:none}
.nt-page .rb-grp .rb-tpl.on b{color:var(--green-deep)}
.nt-page .rb-grp .rb-tpl.on .rs-tthumb{background:var(--surface)}
/* #13 Resume B · Cos 06.11: unselected template cards on the segmented control's light fill (surface2), outline kept */
.nt-page .rb-grp .rb-tpl:not(.on){background:var(--surface2)}
.nt-page .rb-grp .rb-tpl:not(.on):hover{background:var(--surface2);border-color:var(--ink)}
/* #13 Resume B · Cos 06.11: title and note sit together in the card's middle (they were spread over the thumbnail's height) */
.nt-page .rb-tpl{align-content:center;row-gap:2px}
.nt-page .rb-tpl b{align-self:end;line-height:1.25}
.nt-page .rb-tpl small{align-self:start;line-height:1.35}
/* #13 Resume B · Cos 06.11: Spacing and Paper = plain rows (no plate): caption left, segmented control right, a line between them */
.nt-page .rb-grp:has(.rb-seg){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:16px;row-gap:6px;padding:12px 2px;border-radius:0;background:none;border-bottom:1px solid var(--line)}
:root[data-theme="dark"] .nt-page .rb-grp:has(.rb-seg){background:none}
.nt-page .rb-design > .rb-grp:has(.rb-seg):first-of-type,.nt-page .rb-grp:not(:has(.rb-seg)) + .rb-grp:has(.rb-seg){margin-top:4px;border-top:1px solid var(--line)}
.nt-page .rb-grp:has(.rb-seg) + .rb-grp:has(.rb-seg){margin-top:-12px}
.nt-page .rb-grp:has(.rb-seg) .rb-seg{grid-column:2;grid-row:1}
.nt-page .rb-grp:has(.rb-seg) .rb-note{grid-column:1 / -1;margin:0}
.nt-page .rb-grp .rb-tpl:not(.on),.nt-page .rb-grp .rb-tpl:not(.on):hover{background:var(--surface)}   /* Cos 06.11: unselected cards white again */
/* #13 Resume B · Cos 06.11: the note is the caption's second line; the control stays on the right, centred on both */
.nt-page .rb-grp:has(.rb-seg){row-gap:3px}
.nt-page .rb-grp:has(.rb-seg) .rb-seg{grid-row:1 / span 2;align-self:center}
.nt-page .rb-grp:has(.rb-seg) .rb-note{grid-column:1;grid-row:2;font-size:13px;line-height:1.4}
.nt-page .rs-page.is-a4{aspect-ratio:210/297}   /* A4 is a little narrower and taller than Letter (8.5/11) */
.nt-page .rs-page{transition:aspect-ratio .25s}
/* #13 Resume B · Cos 06.11: segmented controls with more contrast (track a step darker, the chosen side white with ink text), and a dark-theme pair that reads */
.nt-page .rb-seg{background:color-mix(in srgb,var(--line) 55%,var(--surface2));border-color:color-mix(in srgb,var(--line) 70%,var(--muted))}
.nt-page .rb-segb{color:color-mix(in srgb,var(--ink) 70%,var(--muted))}
.nt-page .rb-segb:hover:not(.on){color:var(--ink)}
.nt-page .rb-segb.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 .rb-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 .rb-segb.on{background:color-mix(in srgb,var(--ink) 20%,var(--surface));color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.4)}
:root[data-theme="dark"] .nt-page .rb-dli::before{background-color:#ECEAE2}   /* dark theme: file icons on a light tile so the grey TXT and the printer still read */
:root[data-theme="dark"] .nt-page .rb-dli[data-ic=warn]::before{background-color:#F3E3BC}
/* #13 Resume B · Cos 06.11 tablet/phone: Download leaves the top (the resume is far below) and lives in the Preview sheet next to Close; the tab line runs full width again */
.nt-page .nt-pv-head .rb-dlw{display:none}
@media(max-width:1000px){
  .nt-page .rb-top > .rb-dlw{display:none}
  .nt-page .rb-top{border-bottom:1px solid var(--line)}
  .nt-page .rb-top .rb-views{border-bottom:0}
  .nt-page .nt-pv-sheet.pv .nt-pv-head .rb-dlw{display:block;margin:0}
  .nt-page .rb-pvacts{display:flex;align-items:center;gap:8px}
  .nt-page .nt-pv-head .rb-dl{height:38px;padding:0 14px;font-size:14px}
  .nt-page .nt-pv-head .rb-dlmenu{right:0;left:auto}
}
/* #13 Resume B · Cos 06.11: Improve all = a dark button on the green row (the grey outline on green looked weak) */
.nt-page .rb-impall-row .rb-impall{background:var(--ink);color:var(--surface);border-color:var(--ink)}
.nt-page .rb-impall-row .rb-impall:hover{background:color-mix(in srgb,var(--ink) 85%,var(--surface));border-color:transparent}
.nt-page .rb-impall-row .rb-impall .nt-ai-tag{color:inherit;border-color:currentColor;opacity:.85}

/* #13 Resume B · Cos 06.11 tablet/phone: «Preview» is a third icon item next to the tabs (opens the sheet with Download), the whole bar sticks to the top; the floating Preview pill goes */
.nt-page .rb-pvtab{display:none}
.nt-page .rb-top .rb-views .kt-wtab.rb-pvtab::before{-webkit-mask: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='M2.5 13s3.8-7 10.5-7 10.5 7 10.5 7-3.8 7-10.5 7S2.5 13 2.5 13z'/%3E%3Ccircle cx='13' cy='13' r='3.2'/%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 26 26' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 13s3.8-7 10.5-7 10.5 7 10.5 7-3.8 7-10.5 7S2.5 13 2.5 13z'/%3E%3Ccircle cx='13' cy='13' r='3.2'/%3E%3C/svg%3E") center/contain no-repeat}
@media(max-width:1000px){
  .nt-page .rb-top .rb-views .rb-pvtab{display:inline-flex;margin-left:auto}
  .nt-page .rb-top{position:sticky;top:0;z-index:30;background:var(--surface);margin-left:-16px;margin-right:-16px;padding:8px 16px 0}
  .nt-page .rs-left > .nt-pv-btn{display:none}
}
@media(max-width:1000px){.nt-page .rb-top{margin-left:-25px;margin-right:-25px;padding-left:25px;padding-right:25px}}   /* the sticky bar spans the card edge to edge */
/* #31 Figurative B · Cos 06.11 (lessons from Wheel / Math / Resume): wheel-style tabs, real copy with a check, highlights underlined (spec: not colour only),
   list → text jump, report actions, seeded worksheet with Student copy | Answer key, Print / PNG for real, engine toasts for PDF / Word */
body[data-fig] .nt-page .lb-tabs{gap:24px}
body[data-fig] .nt-page .lb-tabs .oc-tab{padding:10px 0 12px;font-size:15px}
.nt-page .lb-clear.fb-done{color:var(--green-deep)}
.nt-page .lb-clear.fb-done::before{content:"";display:inline-block;width:11px;height:11px;margin-right:5px;vertical-align:-1px;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='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.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='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-page .lb-ftext mark.lb-fm{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px;text-decoration-color:color-mix(in srgb,var(--ink) 45%,transparent)}
.nt-page .lb-ftext mark.lb-fm.fb-flash{animation:fbFlash 1.4s ease-out}
@keyframes fbFlash{0%,40%{box-shadow:0 0 0 3px var(--green)}100%{box-shadow:0 0 0 0 transparent}}
.nt-page .lb-fd{cursor:pointer}
.nt-page .lb-fd:hover{background:color-mix(in srgb,var(--line) 30%,transparent)}
.nt-page .fb-rep{display:flex;gap:4px;margin-left:auto}
.nt-page .fb-runnote{margin-right:auto;font-size:13px;color:var(--muted)}
.nt-page .oc-run:has(.fb-runnote){display:flex;align-items:center;gap:12px}
.nt-page .fb-wsview{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.nt-page .fb-ans{margin-left:8px;font-weight:600;color:var(--green-deep)}
.nt-page .fb-pcard .fb-prow .lb-clear{margin-left:0}
@media(max-width:600px){.nt-page .fb-rep{margin-left:0;width:100%}.nt-page .fb-dlr{flex-wrap:wrap}.nt-page .fb-dlr .btn{width:100%}}
.nt-page .fb-seedrow{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px}
.nt-page .fb-seedrow .fb-pn{flex:1 1 220px}
/* stand-alone small actions (Copy, Word, Print, PNG, Shuffle, report) = plate hover, no underline (Cos rule 06.11) */
.nt-page :is(.fb-dlr,.fb-rep,.fb-act,.lb-idea,.fb-seedrow) .lb-clear{padding:5px 9px;border-radius:7px;text-decoration:none;color:var(--green-deep);font:600 13.5px var(--font-body);transition:background-color .12s}
.nt-page :is(.fb-dlr,.fb-rep,.fb-act,.lb-idea,.fb-seedrow) .lb-clear:hover{background:var(--green-tint)}
.nt-page :is(.fb-dlr,.fb-rep,.fb-act,.lb-idea,.fb-seedrow) .lb-clear:active{background:color-mix(in srgb,var(--green) 22%,var(--green-tint))}
/* #31 B · Cos 06.11 — active tab bar like the wheel / Math: 2px green over a 1px line. The row scrolls (overflow-x), which clipped the
   old 2.5px border to ~1px, so the line and the bar are now inset shadows painted inside the row */
body[data-fig] .nt-page .lb-tabs{border-bottom:0;box-shadow:inset 0 -1px 0 var(--line)}
body[data-fig] .nt-page .lb-tabs .oc-tab{margin-bottom:0;border-bottom:0}
body[data-fig] .nt-page .lb-tabs .oc-tab.on{box-shadow:inset 0 -2px 0 var(--green)}
/* #31 B · Cos 06.11 — fresh competitor pass: «Write one about» inside a device (Examples.com), chart layouts (TPT), worksheet grade + Common Core (TeachQuill / Education.com) */
.nt-page .fb-try{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;padding:12px 14px;border-radius:12px;border:1px dashed var(--line)}
.nt-page .fb-try .fb-cap{margin:0}
.nt-page .fb-tryf{display:flex;align-items:center;gap:4px;flex:1 1 220px;min-width:0}
.nt-page .fb-tryf .opt-in{flex:1 1 auto;min-width:0;height:34px;padding:0 10px;font-size:14px}
.nt-page .fb-tryf .lb-clear{flex:none;margin:0;padding:5px 9px;border-radius:7px;text-decoration:none;color:var(--green-deep);font:600 13.5px var(--font-body);white-space:nowrap}
.nt-page .fb-tryf .lb-clear:hover{background:var(--green-tint)}
.nt-page .fb-grow{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap}
.nt-page .fb-task{margin:0;font:600 14px var(--font-body);color:var(--ink)}
.nt-page .fb-bank{display:flex;flex-wrap:wrap;gap:4px 8px;margin:0;padding:8px 10px;border:1px solid var(--line);border-radius:8px;font-size:13px;color:var(--ink-2,var(--ink))}
.nt-page .fb-bank b{font-weight:600;color:var(--muted)}
.nt-page .fb-chart{position:relative}
.nt-page .fb-chart em{font-style:normal;color:#5b625b}
.nt-page .fb-chart-poster{grid-template-columns:1fr;align-content:center;text-align:center}
.nt-page .fb-chart-poster span{background:none;gap:8px;font-size:13px}
.nt-page .fb-chart-poster i{font:600 26px var(--font-display,Georgia),serif}
.nt-page .fb-chart-poster em{font-size:11px}
.nt-page .fb-chart small{position:absolute;right:10px;bottom:8px;font:500 10px var(--font-mono);color:#8a8f87}
.nt-page .fb-chart-cards{grid-template-columns:1fr;grid-template-rows:1fr 1fr;gap:8px;background:#fff}
.nt-page .fb-chart-cards span{background:none;border:1.5px dashed #b9bdb4;justify-content:center;font-size:11px}
.nt-page .fb-chart-cards i{font-size:14px}
@media(max-width:600px){.nt-page .fb-tryf{flex-basis:100%}}
/* 320–375: the layout and grade pills shrink instead of pushing the cards past the screen */
@media(max-width:900px){.nt-page .fb-pcards{grid-template-columns:minmax(0,1fr)}}
.nt-page .fb-pcard{min-width:0}
@media(max-width:600px){.nt-page :is(.fb-lay,.fb-grow .rb-seg){display:flex;width:100%}.nt-page .fb-chart-cards span{font-size:9.5px;padding:6px 8px}.nt-page .fb-chart-cards i{font-size:12px}.nt-page :is(.fb-lay,.fb-grow .rb-seg) .rb-segb{flex:1 1 0;min-width:0;white-space:normal;line-height:1.2;padding-left:6px;padding-right:6px}}
/* #31 B · Cos 06.11 — six pages as one tool (spec «Навигация между 6 страницами»): page chips above the card; irony type tags;
   simile / alliteration picture cards; practice on personification / alliteration / irony reuses the Library practice styles */
.nt-page .fb-pages{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 22px}
.nt-page .fb-pg{display:inline-flex;align-items:center;padding:7px 14px;border-radius:99px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:600 14px var(--font-body);text-decoration:none;transition:background-color .12s,border-color .12s}
.nt-page .fb-pg:hover{background:var(--green-tint);border-color:color-mix(in srgb,var(--green) 40%,var(--line))}
.nt-page .fb-pg.on{background:var(--green-tint);border-color:var(--green);color:var(--green-deep);pointer-events:none}
@media(max-width:600px){.nt-page .fb-pages{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -16px 18px;padding:0 16px}.nt-page .fb-pages::-webkit-scrollbar{display:none}.nt-page .fb-pg{flex:none}}
.nt-page .fb-extools{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.nt-page .fb-extools .fb-view{margin-left:auto}
.nt-page .fb-etag{display:inline-block;margin-left:8px;padding:1px 8px;border-radius:99px;background:var(--surface2);border:1px solid var(--line);font:600 11.5px var(--font-body);color:var(--muted);vertical-align:2px}
.nt-page .fb-pics{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}
.nt-page .fb-pic{margin:0;display:flex;flex-direction:column;gap:8px}
.nt-page .fb-picimg{aspect-ratio:4/3;border-radius:10px;border:1px dashed var(--line);background:color-mix(in srgb,var(--line) 28%,var(--surface2)) center/44px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44' fill='none' stroke='%239AA096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='8' width='34' height='28' rx='4'/%3E%3Ccircle cx='16' cy='17' r='3.5'/%3E%3Cpath d='M5 31l10-9 8 7 6-5 10 8'/%3E%3C/svg%3E")}
:root[data-theme="dark"] .nt-page .fb-picimg{background-color:color-mix(in srgb,var(--line) 55%,var(--surface))}
.nt-page .fb-pic figcaption{font:400 15px/1.4 var(--font-display,Georgia),serif;color:var(--ink)}
.nt-page .hero .wrap>.fb-pagesw{order:4;display:flex;flex-direction:column;gap:10px;margin:28px 0 12px}   /* under the tool card: the flex hero gives the tool order 3, the text under it 4 (same order = DOM order, chips first) */
.nt-page .fb-pagesw .fb-cap{margin:0}
.nt-page .fb-pagesw .fb-pages{margin:0}   /* the hero is a flex column with ordered blocks: chips sit between the H1 and the card */
/* BG Remover · Cos 06.11 — home on top of «+» = start over (back to the empty tool); × on a thumbnail removes that image.
   Icons are drawn (masks), not glyphs. × shows on hover / keyboard focus; on touch screens it stays on the open image */
.nt-page .kt-bthumb.home{display:grid;place-items:center;background:var(--surface);color:var(--muted)}
.nt-page .kt-bthumb.home::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 20 20' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9.2 10 3.5l7 5.7'/%3E%3Cpath d='M5 8v8.5h10V8'/%3E%3Cpath d='M8.3 16.5v-4.6h3.4v4.6'/%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 20 20' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9.2 10 3.5l7 5.7'/%3E%3Cpath d='M5 8v8.5h10V8'/%3E%3Cpath d='M8.3 16.5v-4.6h3.4v4.6'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-page .kt-bthumb.home:hover{color:var(--green-deep);border-color:var(--green);background:var(--green-tint)}
.nt-page .kt-bthw{position:relative;flex:none}
.nt-page .kt-bthw>.kt-bthumb{display:block}
.nt-page .kt-bthx{position:absolute;top:-7px;right:-7px;z-index:2;width:22px;height:22px;padding:0;border:2px solid var(--surface2);border-radius:50%;background:var(--ink);color:var(--surface);cursor:pointer;opacity:0;transform:scale(.85);transition:opacity .12s,transform .12s}
.nt-page .kt-bthx::before{content:"";position:absolute;inset:0;margin:auto;width:10px;height:10px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M2 2l6 6M8 2 2 8'/%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 10 10' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M2 2l6 6M8 2 2 8'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-page .kt-bthw:hover .kt-bthx,.nt-page .kt-bthx:focus-visible{opacity:1;transform:none}
.nt-page .kt-bthx:hover{background:#B4403A}
@media(hover:none){.nt-page .kt-bthw:has(.kt-bthumb.on) .kt-bthx{opacity:1;transform:none}}
.nt-page .fb-ex.fb-one{grid-template-columns:minmax(0,1fr)}   /* device pages: no device list, the device takes the full width (Cos 06.11) */
@media(max-width:600px){.nt-page .fb-pagesw .fb-pages{margin:0 -16px;padding:0 16px}}
/* #31 hub · Cos 06.11 — «All 12 simile examples →» right under the few hub examples: a stand-alone action, so the plate hover */
.nt-page .fb-all{align-self:flex-start;margin:-4px 0 0 3px;padding:5px 9px;border-radius:7px;color:var(--green-deep);font:600 14.5px var(--font-body);text-decoration:none;transition:background-color .12s}
.nt-page .fb-all:hover{background:var(--green-tint)}
.nt-page .fb-all:active{background:color-mix(in srgb,var(--green) 22%,var(--green-tint))}
.nt-page button.fb-all{border:0;background:none;cursor:pointer}
.nt-page .fb-pagenote{margin-top:-6px}
.nt-page .fb-pagenote a{color:var(--green-deep);text-decoration:underline;text-underline-offset:3px}
.nt-page .fb-pagenote a:hover{text-decoration-thickness:2px}
/* #31 Idea generator · Cos 06.11 — the form as one sentence: Write [Simile | Metaphor] ideas about [subject] that show [quality]; Tone under it;
   the result gets a head «6 simile ideas about the ocean» */
.nt-page .fb-idsent{display:flex;align-items:center;flex-wrap:wrap;gap:10px 12px;font:500 19px/1.3 var(--font-display,Georgia),serif;color:var(--ink)}
.nt-page .fb-idsent .nt-level{flex:none}
.nt-page .fb-idin{width:200px;max-width:100%;height:42px;font-size:16px}
.nt-page .fb-idtone{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}
.nt-page .fb-idtone .fb-cap{margin:0}
.nt-page .fb-idhead{margin:0 0 12px;font:600 18px var(--font-display,Georgia),serif;color:var(--ink)}
@media(max-width:600px){.nt-page .fb-idsent{font-size:17px}.nt-page .fb-idin{flex:1 1 140px;width:auto}}
/* ===== ITER «#31 tabs with icons on top, as Resume» (Cos 06.11) — rollback = delete down to END ITER =====
   15px label, a drawn 26px icon over it, muted until active (green icon), 24px apart, no side padding; bar = 2px green over the 1px line */
body[data-fig] .nt-page .lb-tabs{gap:24px;margin-top:-8px}
body[data-fig] .nt-page .lb-tabs .oc-tab{display:inline-flex;flex-direction:column;align-items:center;gap:5px;padding:4px 0 10px;font-size:15px;font-weight:600;color:var(--muted)}
body[data-fig] .nt-page .lb-tabs .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}
body[data-fig] .nt-page .lb-tabs .oc-tab.on{color:var(--ink)}
body[data-fig] .nt-page .lb-tabs .oc-tab.on::before{background:var(--green-deep);opacity:1}
body[data-fig] .nt-page .lb-tabs .oc-tab:hover:not(.on){color:var(--ink)}
body[data-fig] .nt-page .lb-tabs .oc-tab.tk-tiles{--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 6.5c2.8-1.2 5.8-1.2 9 .8v13c-3.2-2-6.2-2-9-.8z'/%3E%3Cpath d='M22 6.5c-2.8-1.2-5.8-1.2-9 .8v13c3.2-2 6.2-2 9-.8z'/%3E%3C/svg%3E")}
body[data-fig] .nt-page .lb-tabs .oc-tab.tk-find{--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='M5 6h9M5 10h6M5 14h4'/%3E%3Ccircle cx='16.5' cy='15.5' r='4.5'/%3E%3Cpath d='M19.8 18.8 23 22'/%3E%3C/svg%3E")}
body[data-fig] .nt-page .lb-tabs .oc-tab.tk-ideas{--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='M9.5 18.5h7'/%3E%3Cpath d='M10.5 22h5'/%3E%3Cpath d='M13 3.5a6.5 6.5 0 0 0-3.9 11.7c.6.5.9 1.2.9 2v1.3h6v-1.3c0-.8.3-1.5.9-2A6.5 6.5 0 0 0 13 3.5z'/%3E%3C/svg%3E")}
body[data-fig] .nt-page .lb-tabs .oc-tab.tk-practice{--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%3Crect x='4' y='4' width='18' height='18' rx='4'/%3E%3Cpath d='M8.5 13.2l3 3 6-6.4'/%3E%3C/svg%3E")}
body[data-fig] .nt-page .lb-tabs .oc-tab.tk-printables{--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='M8 10V4h10v6'/%3E%3Crect x='4' y='10' width='18' height='8' rx='2.5'/%3E%3Cpath d='M8 15.5h10V22H8z'/%3E%3Cpath d='M18.5 13h.01'/%3E%3C/svg%3E")}
@media(max-width:600px){body[data-fig] .nt-page .lb-tabs{gap:8px}body[data-fig] .nt-page .lb-tabs .oc-tab{font-size:15px}body[data-fig] .nt-page .lb-tabs .oc-tab::before{width:26px;height:26px}}
@media(max-width:360px){body[data-fig] .nt-page .lb-tabs{gap:2px}body[data-fig] .nt-page .lb-tabs .oc-tab{min-width:0}}   /* Cos 12.11: no 12.5px on narrow phones, tabs stay 15px */
/* ===== END ITER ===== */
/* ===== ITER «Math tabs with icons on top, as Resume / #31» (Cos 06.11) — rollback = delete down to END ITER (the «tabs + Recent balance» ITER above stays) =====
   15px label, drawn 26px icon over it (Equation: x =, Word problem: a bubble with text), muted until active (green icon), 24px apart */
.nt-page .kt-wtabs.mb-modes{gap:24px}
.nt-page .mb-modes .kt-wtab{flex-direction:column;gap:5px;padding:4px 0 10px;font-size:15px;color:var(--muted)}
.nt-page .mb-modes .kt-wtab::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 .mb-modes .kt-wtab.on{color:var(--ink)}
.nt-page .mb-modes .kt-wtab.on::before{background:var(--green-deep);opacity:1}
.nt-page .mb-modes .kt-wtab:hover:not(.on){color:var(--ink)}
/* Cos 06.11: «x =» in a rounded frame, so it reads as one shape like the bubble next to it */
.nt-page .mb-modes .kt-wtab:nth-child(1){--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%3Crect x='3.5' y='5.5' width='19' height='15' rx='3.5'/%3E%3Cpath d='M7.5 10.2l3.6 5.6M11.1 10.2l-3.6 5.6'/%3E%3Cpath d='M14 11.6h4.6M14 14.6h4.6'/%3E%3C/svg%3E")}
.nt-page .mb-modes .kt-wtab:nth-child(2){--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='M5 5.5h16a1.5 1.5 0 0 1 1.5 1.5v9.5A1.5 1.5 0 0 1 21 18h-8l-4.5 3.5V18H5a1.5 1.5 0 0 1-1.5-1.5V7A1.5 1.5 0 0 1 5 5.5z'/%3E%3Cpath d='M8 10h10M8 13.5h6'/%3E%3C/svg%3E")}
.nt-page .mb-top{margin-top:-8px}
@media(max-width:600px){.nt-page .mb-modes .kt-wtab{font-size:15px}}
/* ===== END ITER ===== */
/* #31 · Cos 06.11 — the device pane tidied: «Examples» head (count, Copy, List | Pictures) and «Keep going» cards to the other tabs,
   each with its tab's icon in a tinted tile and an arrow, so they read as «go there», not as a result */
.nt-page .fb-exhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:6px}
.nt-page .fb-exh{margin:0;font:600 17px var(--font-body);color:var(--ink)}
.nt-page .fb-exh span{margin-left:6px;font:500 13px var(--font-mono);color:var(--muted)}
.nt-page .fb-exact{display:flex;align-items:center;gap:10px}
.nt-page .fb-exact .lb-clear{margin:0;padding:5px 9px;border-radius:7px;text-decoration:none;color:var(--green-deep);font:600 13.5px var(--font-body)}
.nt-page .fb-exact .lb-clear:hover{background:var(--green-tint)}
.nt-page .fb-extools{display:none}
.nt-page .fb-types{margin-top:-6px}
.nt-page .fb-next{display:flex;flex-direction:column;gap:12px;margin-top:10px;padding-top:20px;border-top:1px solid var(--line)}
.nt-page .fb-nextg{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.nt-page .fb-nc{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:12px;row-gap:2px;align-items:center;text-align:left;padding:14px 36px 14px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);cursor:pointer;font:inherit;color:var(--ink);transition:border-color .12s,background-color .12s}
.nt-page .fb-nc::before{content:"";grid-row:1 / span 2;width:40px;height:40px;border-radius:11px;background:var(--green-tint)}
.nt-page .fb-nc::after{content:"";position:absolute;left:21px;top:50%;width:26px;height:26px;margin-top:-13px;background:var(--green-deep);-webkit-mask:var(--tk) center/contain no-repeat;mask:var(--tk) center/contain no-repeat}
.nt-page .fb-nc b{grid-column:2;font:600 15px var(--font-body)}
.nt-page .fb-nc small{grid-column:2;font-size:13px;line-height:1.35;color:var(--muted)}
.nt-page .fb-nc:hover{border-color:var(--green);background:color-mix(in srgb,var(--green-tint) 45%,var(--surface))}
.nt-page .fb-nc b::after{content:"→";position:absolute;right:14px;top:50%;transform:translateY(-50%);color:var(--muted);font-weight:500}
.nt-page .fb-nc:hover b::after{color:var(--green-deep)}
.nt-page .fb-nc.tk-tiles{--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 6.5c2.8-1.2 5.8-1.2 9 .8v13c-3.2-2-6.2-2-9-.8z'/%3E%3Cpath d='M22 6.5c-2.8-1.2-5.8-1.2-9 .8v13c3.2-2 6.2-2 9-.8z'/%3E%3C/svg%3E")}
.nt-page .fb-nc.tk-find{--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='M5 6h9M5 10h6M5 14h4'/%3E%3Ccircle cx='16.5' cy='15.5' r='4.5'/%3E%3Cpath d='M19.8 18.8 23 22'/%3E%3C/svg%3E")}
.nt-page .fb-nc.tk-ideas{--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='M9.5 18.5h7'/%3E%3Cpath d='M10.5 22h5'/%3E%3Cpath d='M13 3.5a6.5 6.5 0 0 0-3.9 11.7c.6.5.9 1.2.9 2v1.3h6v-1.3c0-.8.3-1.5.9-2A6.5 6.5 0 0 0 13 3.5z'/%3E%3C/svg%3E")}
.nt-page .fb-nc.tk-practice{--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%3Crect x='4' y='4' width='18' height='18' rx='4'/%3E%3Cpath d='M8.5 13.2l3 3 6-6.4'/%3E%3C/svg%3E")}
.nt-page .fb-nc.tk-printables{--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='M8 10V4h10v6'/%3E%3Crect x='4' y='10' width='18' height='8' rx='2.5'/%3E%3Cpath d='M8 15.5h10V22H8z'/%3E%3Cpath d='M18.5 13h.01'/%3E%3C/svg%3E")}
/* #31 · Cos 06.11 — each tab opens with the same head as a device (title + one line) */
.nt-page .fb-tabhead{margin-bottom:18px}
.nt-page .fb-tabhead+.oc-field .oc-cap{font-size:13px;color:var(--muted)}
.nt-page .fb-print .fb-tabhead{margin-bottom:14px}
/* #31 Find · Cos 06.11 — «240 / 5000 characters» on the left of the button row, the button right under the field */
.nt-page .fb-fdrun{justify-content:flex-start;align-items:center;gap:12px;margin-top:12px}
.nt-page .fb-fdrun .fb-runnote:empty{display:none}
.nt-page .fb-fdrun .fb-fdcount{position:static;margin:0;text-align:left}
.nt-page .fb-fdrun .oc-go{margin-left:auto}
.nt-page .fb-fdrun .fb-fdcount{order:-1}.nt-page .fb-fdrun .fb-runnote{flex:0 1 auto}
/* #31 hub · Cos 06.11 — «Open the simile page» card in Keep going (an arrow-out icon: it leaves for another page); the small line under the list is gone */
.nt-page .fb-nc.tk-page{--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='M12 4.5H7a2 2 0 0 0-2 2V19a2 2 0 0 0 2 2h12.5a2 2 0 0 0 2-2v-5'/%3E%3Cpath d='M15.5 4.5h6v6'/%3E%3Cpath d='M21.5 4.5l-9 9'/%3E%3C/svg%3E")}
.nt-page .fb-nextg{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
.nt-page .fb-nextg:has(> :nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}   /* four cards = 2 × 2, never 3 + 1 */
@media(max-width:600px){.nt-page .fb-nextg,.nt-page .fb-nextg:has(> :nth-child(4)){grid-template-columns:1fr}}
/* #31 Keep going · Cos 06.11 — cards in one row, icon on top, text under it, all the same height (was 2 × 2 with icon left, uneven) */
.nt-page .fb-nextg,.nt-page .fb-nextg:has(> :nth-child(4)){display:flex;gap:12px;align-items:stretch}
.nt-page .fb-nc{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:14px 14px 16px}
.nt-page .fb-nc::before{grid-row:auto;margin-bottom:6px}
.nt-page .fb-nc::after{left:21px;top:21px;margin-top:0}
.nt-page .fb-nc b{font-size:14.5px;line-height:1.3}
.nt-page .fb-nc small{font-size:12.5px}
.nt-page .fb-nc b::after{top:30px;right:14px;transform:none}
@media(max-width:600px){.nt-page .fb-nextg,.nt-page .fb-nextg:has(> :nth-child(4)){flex-wrap:wrap}.nt-page .fb-nc{flex:1 1 calc(50% - 6px)}}
@media(max-width:600px){.nt-page .fb-nextg,.nt-page .fb-nextg:has(> :nth-child(4)){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr}}   /* phones: 2 per row, every card the same height */
.nt-page .fb-nc b::after{content:none}.nt-page .fb-nc{padding-right:14px}   /* Cos 06.11: no arrows on the cards (the frame + hover say «click»; the page card has its arrow-out icon) */
/* #31 Find result head · Cos 06.11: count, filter chips and report links on one centre line, air before the text and the list */
.nt-page .fb-fhead{align-items:center;margin-bottom:16px}
.nt-page .fb-fhead .oc-res-count{margin:0;line-height:1;display:flex;align-items:center;min-height:34px}
.nt-page .fb-fhead .fb-ffil{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.nt-page .fb-fhead .fb-rep{align-items:center}
.nt-page .fb-rcol{display:flex;flex-direction:column;gap:10px;min-width:0}
.nt-page .fb-rcol .fb-rep{margin:0 0 0 -9px}
@media(max-width:600px){.nt-page .fb-rcol .fb-rep{width:auto}}
.nt-page .fb-rcol{display:flex;flex-direction:column;gap:10px;min-width:0}
.nt-page .fb-rcol .fb-rep{margin:0 0 0 -9px}
@media(max-width:600px){.nt-page .fb-rcol .fb-rep{width:auto}}
.nt-page .fb-fhead{justify-content:flex-start}   /* chips right after «5 found in your text» (the report links moved under the list) */
.nt-page .fb-rfoot{display:flex;align-items:center;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;margin-top:14px}
.nt-page .fb-rfoot .nt-ai-note{margin:0;flex:1 1 320px}
.nt-page .fb-rfoot .fb-rep{margin:0 -9px 0 auto;width:auto}
@media(max-width:600px){.nt-page .fb-rfoot .fb-rep{margin:0 0 0 -9px}}
.nt-page .fb-idsent{row-gap:12px}
.nt-page .fb-idsent .rb-seg{align-self:center;flex:none}
.nt-page .fb-idsent .rb-segb{padding:7px 14px;font-size:14.5px}
.nt-page .fb-idtone{display:none}
/* #31 Idea generator · Cos 06.11 — form in rows (type · two wide fields with chips · tone + summary + button); replaces the one-sentence form */
.nt-page .fb-idform{display:flex;flex-direction:column;gap:18px}
.nt-page .fb-idrow{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.nt-page .fb-idrow .fb-cap{margin:0;min-width:46px}
.nt-page .fb-idfields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.nt-page .fb-idfields .oc-field{display:flex;flex-direction:column;gap:8px}
.nt-page .fb-idfields .fb-chips{display:flex;flex-wrap:wrap;gap:6px}
.nt-page .fb-idbottom{padding-top:16px;border-top:1px solid var(--line)}
.nt-page .fb-idsum{flex:1 1 220px;margin:0;text-align:right;font:italic 400 15px/1.4 var(--font-display,Georgia),serif;color:var(--muted)}
.nt-page .fb-idbottom .oc-go{flex:none}
@media(max-width:700px){.nt-page .fb-idfields{grid-template-columns:1fr}.nt-page .fb-idsum{text-align:left;flex-basis:100%;order:3}.nt-page .fb-idbottom .oc-go{order:4;width:100%}}
.nt-page .fb-idsum{font:400 13.5px/1.4 var(--font-body);color:var(--muted)}   /* Cos 06.11: a plain quiet line, not the serif italic */
/* #31 · Cos 06.11 — result heads in one style on every tab (as «Examples»), idea text in ink, the whole idea card copies (icon top right, a check after) */
.nt-page .fb-idhead{margin:0 0 12px}
.nt-page .fb-fhead .oc-res-count{font:600 17px var(--font-body);color:var(--ink)}
.nt-page .fb-fhead .oc-res-count span{margin-left:4px;font:400 15px var(--font-body);color:var(--muted)}
.nt-page .fb-idhead span{margin-left:4px;font:400 15px var(--font-body);color:var(--muted)}
.nt-page .fb-ideac{position:relative;cursor:pointer;padding-right:52px;transition:border-color .12s,background-color .12s}
.nt-page .fb-ideac:hover{border-color:var(--green);background:color-mix(in srgb,var(--green-tint) 40%,var(--surface))}
.nt-page .fb-ideac p{color:var(--ink)}
.nt-page .fb-icopy{position:absolute;top:12px;right:12px;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:none;font-size:0;color:var(--muted);cursor:pointer}
.nt-page .fb-icopy::before{content:"";position:absolute;inset:0;margin:auto;width:20px;height:20px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='7' width='9.5' height='9.5' rx='2'/%3E%3Cpath d='M13 4.5H5.5a1 1 0 0 0-1 1V13'/%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 20 20' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='7' width='9.5' height='9.5' rx='2'/%3E%3Cpath d='M13 4.5H5.5a1 1 0 0 0-1 1V13'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-page .fb-ideac:hover .fb-icopy{color:var(--green-deep);background:var(--green-tint)}
.nt-page .fb-icopy.fb-done{color:var(--green-deep)}
.nt-page .fb-icopy.fb-done::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E")}
.nt-page .fb-idhead span,.nt-page .fb-fhead .oc-res-count span{margin-left:0}   /* a plain space is enough: «6 simile ideas about the ocean» (Cos 06.11) */
body[data-fig] .nt-page .lb-fd q{font-size:17px;line-height:1.35}   /* the found phrase is the main thing in the card (Cos 06.11) */
/* result heads as «Examples 3 of 12»: title + mono count (Cos 06.11) */
.nt-page .fb-idhead span,.nt-page .fb-fhead .oc-res-count span{margin-left:6px;font:500 13px var(--font-mono);color:var(--muted)}
/* the template wraps interpolated text in its own span: style only the count (Cos 06.11: the whole «Simile ideas» went mono) */
.nt-page .fb-idhead span{margin-left:0;font:inherit;color:inherit}
.nt-page .fb-idhead .fb-cnt{margin-left:6px;font:500 13px var(--font-mono);color:var(--muted)}
.nt-page .fb-idhead .fb-cnt span{font:inherit;color:inherit}
body[data-fig] .nt-page .fb-ideac p{font:400 17px/1.45 var(--font-display,Georgia),serif}   /* ideas read like the Examples list (Cos 06.11) */
/* #31 · Cos 06.11 — a Clear per tab (Find, Ideas): a stand-alone action, plate hover */
.nt-page .fb-clr{padding:5px 9px;border:0;border-radius:7px;background:none;color:var(--green-deep);font:600 13.5px var(--font-body);cursor:pointer;transition:background-color .12s}
.nt-page .fb-clr:hover{background:var(--green-tint)}
.nt-page .fb-fdrun .fb-clr{order:-1;margin-left:-4px}
.nt-page .fb-idbottom .fb-clr{margin-left:auto}
.nt-page .fb-idbottom .fb-clr~.fb-idsum{flex:0 1 auto}
/* #31 · Cos 06.11 — a drawn × inside the field clears it (and this tab's result); replaces the floating «Clear» links */
.nt-page .fb-clr{display:none}
.nt-page .fb-fw{position:relative;display:block}
.nt-page .fb-fw>.opt-in{width:100%;padding-right:40px}
.nt-page .fb-fx{position:absolute;right:8px;top:8px;width:26px;height:26px;padding:0;border:0;border-radius:7px;background:none;color:var(--muted);cursor:pointer}
.nt-page .fb-fw>input+.fb-fx,.nt-page .fb-fw>input~.fb-fx{top:50%;margin-top:-13px}
.nt-page .fb-fx::before{content:"";position:absolute;inset:0;margin:auto;width:18px;height:18px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M6.5 6.5l7 7M13.5 6.5l-7 7'/%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 20 20' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M6.5 6.5l7 7M13.5 6.5l-7 7'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-page .fb-fx:hover{color:var(--ink);background:var(--surface2)}
/* #31 ideas · Cos 06.11 — 3 similes + 3 metaphors with a type tag; tone as light chips */
.nt-page .fb-itag{font:500 11px var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.nt-page .fb-idbottom .fb-chips{display:flex;gap:6px;flex-wrap:wrap}
/* #31 Examples head · Cos 06.11 — lighter: a line above (as Keep going), no «3 of 12», «Show all 12» next to Copy, List / Pictures as two icon buttons */
.nt-page .fb-exhead{padding-top:18px;border-top:1px solid var(--line);margin-top:4px}
.nt-page .fb-exact{gap:4px}
.nt-page .fb-viewi{display:flex;gap:2px;margin-left:6px}
.nt-page .fb-vi{position:relative;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:none;color:var(--muted);cursor:pointer}
.nt-page .fb-vi::before{content:"";position:absolute;inset:0;margin:auto;width:20px;height:20px;background:currentColor;-webkit-mask:var(--vi) center/contain no-repeat;mask:var(--vi) center/contain no-repeat}
.nt-page .fb-vi:hover{color:var(--ink);background:var(--surface2)}
.nt-page .fb-vi.on{color:var(--green-deep);background:var(--green-tint)}
.nt-page .fb-vi-list{--vi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 5.5h9M7.5 10h9M7.5 14.5h9'/%3E%3Cpath d='M3.5 5.5h.01M3.5 10h.01M3.5 14.5h.01'/%3E%3C/svg%3E")}
.nt-page .fb-vi-pics{--vi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='6' height='6' rx='1.5'/%3E%3Crect x='11' y='3' width='6' height='6' rx='1.5'/%3E%3Crect x='3' y='11' width='6' height='6' rx='1.5'/%3E%3Crect x='11' y='11' width='6' height='6' rx='1.5'/%3E%3C/svg%3E")}
.nt-page .fb-exact .fb-allh{margin:0}
/* #31 Chart & worksheet · Cos 06.11 — one flow: two choice cards, settings left, preview right, one action row; light chips only */
.nt-page .fb-print2 .fb-pcards{display:none}
.nt-page .fb-pkind{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px}
.nt-page .fb-pk{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:12px;row-gap:2px;align-items:center;text-align:left;padding:14px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface);cursor:pointer;font:inherit;color:var(--ink);transition:border-color .12s,background-color .12s}
.nt-page .fb-pk::before{content:"";grid-row:1 / span 2;width:40px;height:40px;border-radius:11px;background:var(--surface2)}
.nt-page .fb-pk::after{content:"";position:absolute;left:21px;top:50%;width:26px;height:26px;margin-top:-13px;background:var(--muted);-webkit-mask:var(--pk) center/contain no-repeat;mask:var(--pk) center/contain no-repeat}
.nt-page .fb-pk b{grid-column:2;font:600 15px var(--font-body)}
.nt-page .fb-pk small{grid-column:2;font-size:13px;line-height:1.35;color:var(--muted)}
.nt-page .fb-pk:hover{border-color:color-mix(in srgb,var(--green) 45%,var(--line))}
.nt-page .fb-pk.on{border-color:var(--green);background:color-mix(in srgb,var(--green-tint) 45%,var(--surface))}
.nt-page .fb-pk.on::before{background:var(--green-tint)}
.nt-page .fb-pk.on::after{background:var(--green-deep)}
.nt-page .fb-pk-chart{--pk: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%3Crect x='5' y='3.5' width='16' height='19' rx='2'/%3E%3Cpath d='M9 8h8M9 12h8M9 16h5'/%3E%3Cpath d='M13 3.5V2'/%3E%3C/svg%3E")}
.nt-page .fb-pk-ws{--pk: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='M15.5 3.5H8a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M15.5 3.5V8H20'/%3E%3Cpath d='M9.5 12.5l1.3 1.3 2.4-2.6M14.5 13h2M9.5 17.5l1.3 1.3 2.4-2.6M14.5 18h2'/%3E%3C/svg%3E")}
.nt-page .fb-pgrid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:24px;align-items:start}
.nt-page .fb-pset{display:flex;flex-direction:column;gap:18px}
.nt-page .fb-pf{display:flex;flex-direction:column;gap:8px}
.nt-page .fb-pf .fb-cap{margin:0}
.nt-page .fb-pf .fb-seedrow{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.nt-page .fb-pprev{display:flex;flex-direction:column;gap:12px;position:sticky;top:16px}
.nt-page .fb-pprev .fb-mini{padding:16px}
.nt-page .fb-pprev .fb-chart{aspect-ratio:8.5/11}
.nt-page .fb-pprev .fb-chart-poster,.nt-page .fb-pprev .fb-chart-cards{aspect-ratio:8.5/11}
.nt-page .fb-wsheet{padding:20px 22px;border-radius:10px;background:#fff;color:#1d211c;box-shadow:0 0 0 1px var(--line),0 2px 8px rgba(0,0,0,.06);display:flex;flex-direction:column;gap:10px}
.nt-page .fb-wsheet .fb-task{color:#1d211c}
.nt-page .fb-wsheet .fb-wsprev{color:#1d211c}
.nt-page .fb-wsheet .fb-bank{color:#1d211c;border-color:#d9d8cf}
.nt-page .fb-pprev .fb-wsview{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.nt-page .fb-pact{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.nt-page .fb-pact .lb-clear{margin:0;padding:5px 9px;border-radius:7px;text-decoration:none;color:var(--green-deep);font:600 13.5px var(--font-body)}
.nt-page .fb-pact .lb-clear:hover{background:var(--green-tint)}
.nt-page .fb-pact .fb-pn{margin-left:auto}
@media(max-width:900px){.nt-page .fb-pgrid{grid-template-columns:1fr}.nt-page .fb-pprev{position:static}}
@media(max-width:600px){.nt-page .fb-pkind{grid-template-columns:1fr}.nt-page .fb-pact .btn{width:100%}.nt-page .fb-pact .fb-pn{margin-left:0}}
.nt-page .fb-pprev .fb-chart{align-content:start;grid-auto-rows:min-content;gap:8px;padding:18px}
.nt-page .fb-pprev .fb-chart>b{font-size:19px;margin-bottom:6px}
.nt-page .fb-pprev .fb-chart span{font-size:12px;padding:8px 10px}
.nt-page .fb-pprev .fb-chart i{font-size:13px}
.nt-page .fb-pprev .fb-chart-poster{align-content:center}
.nt-page .fb-pprev .fb-chart-poster i{font-size:30px}
.nt-page .fb-pprev .fb-chart-poster span{font-size:14px}
.nt-page .fb-pprev .fb-chart-cards{grid-template-rows:1fr 1fr;align-content:stretch}
/* #31 Practice · Cos 06.11 — head like the other tabs; the sentence reads like the examples (serif 17, ink) */
.nt-page .fb-prhead{margin:0 0 12px}
body[data-fig] .nt-page .lb-ps{font:400 17px/1.45 var(--font-display,Georgia),serif;color:var(--ink)}
.nt-page .fb-pprev .fb-shuf{margin:0;padding:5px 9px;border-radius:7px;text-decoration:none;color:var(--green-deep);font:600 13.5px var(--font-body)}
.nt-page .fb-pprev .fb-shuf:hover{background:var(--green-tint)}
/* sweep fixes 06.11: on narrow screens the print grid column may not grow past the card; the long Find button takes the full width and may wrap */
@media(max-width:900px){.nt-page .fb-pgrid{grid-template-columns:minmax(0,1fr)}.nt-page .fb-pprev,.nt-page .fb-pset{min-width:0}}
@media(max-width:600px){.nt-page .fb-fdrun .oc-go{width:100%;margin-left:0;white-space:normal;justify-content:center;text-align:center}}
@media(max-width:600px){.nt-page .fb-pprev .fb-chart-poster i{font-size:22px}.nt-page .fb-pprev .fb-chart span{min-width:0;overflow-wrap:anywhere}}
/* #31 · Cos 09.11 — the big text field as in Math (word problem): 16px / 1.55, padding 12 14; the 40px right pad left from the removed × goes */
.nt-page .fb-fw>.opt-in{padding-right:14px}
body[data-fig] .nt-page .fb-fw>textarea.opt-in{font-size:16px;line-height:1.55;padding:12px 14px}
/* #31 ideas · Cos 09.11 — colour coding as in Find: the type colour as a left stripe and a very light tint (simile blue, metaphor green) */
.nt-page .fb-ideac{border-left:5px solid var(--fm);background:color-mix(in srgb,var(--fm) 35%,var(--surface))}
.nt-page .fb-ideac:hover{border-color:var(--line);border-left-color:var(--fm);background:color-mix(in srgb,var(--fm) 60%,var(--surface))}
/* Cos 09.11: white cards back; the type colour only in the left stripe and the SIMILE / METAPHOR label */
.nt-page .fb-ideac{background:var(--surface)}
.nt-page .fb-ideac:hover{border-color:var(--green);border-left-color:var(--fm);background:color-mix(in srgb,var(--green-tint) 40%,var(--surface))}
.nt-page .fb-ideac.d-simile .fb-itag{color:#2F6BB0}
.nt-page .fb-ideac.d-metaphor .fb-itag{color:var(--green-deep)}
:root[data-theme="dark"] .nt-page .fb-ideac.d-simile .fb-itag{color:#86B3E6}
/* Cos 09.11: metaphor gets a warm orange everywhere (was a second green next to personification; hard to tell from the simile blue) */
.nt-page .d-metaphor{--fm:rgba(222,120,36,.24)}
.nt-page .fb-ideac.d-metaphor .fb-itag{color:#B45A12}
:root[data-theme="dark"] .nt-page .fb-ideac.d-metaphor .fb-itag{color:#F0A462}
/* Cos 09.11 — idea cards, tidy: the type stripe is an inner shadow (follows the radius, nothing to collide with on hover); hover in the type colour */
.nt-page .fb-ideac{--fc:var(--green-deep);border:1.5px solid var(--line);box-shadow:inset 4px 0 0 var(--fc);padding-left:18px;background:var(--surface)}
.nt-page .fb-ideac.d-simile{--fc:#2F6BB0}
.nt-page .fb-ideac.d-metaphor{--fc:#C8691C}
:root[data-theme="dark"] .nt-page .fb-ideac.d-simile{--fc:#6E9FD8}
:root[data-theme="dark"] .nt-page .fb-ideac.d-metaphor{--fc:#E39150}
.nt-page .fb-ideac:hover{border-color:var(--fc);background:color-mix(in srgb,var(--fc) 6%,var(--surface))}
.nt-page .fb-ideac:hover .fb-icopy{color:var(--fc);background:color-mix(in srgb,var(--fc) 12%,var(--surface))}
.nt-page .fb-ideac .fb-icopy.fb-done{color:var(--fc)}
.nt-page .fb-ideac.d-simile .fb-itag,.nt-page .fb-ideac.d-metaphor .fb-itag{color:var(--fc)}
/* Cos 09.11 — softer idea cards, in the spirit of the Literal / Figurative cards: a faint type tint, a muted stripe, a soft hover border */
.nt-page .fb-ideac{background:color-mix(in srgb,var(--fc) 4%,var(--surface));box-shadow:inset 4px 0 0 color-mix(in srgb,var(--fc) 45%,var(--surface))}
.nt-page .fb-ideac:hover{border-color:color-mix(in srgb,var(--fc) 45%,var(--line));background:color-mix(in srgb,var(--fc) 8%,var(--surface))}
.nt-page .fb-ideac:hover .fb-icopy{background:color-mix(in srgb,var(--fc) 10%,var(--surface))}
.nt-page .fb-ideac{box-shadow:none;padding-left:14px}   /* Cos 09.11: no side stripe; the tint and the coloured label carry the type */
/* #31 print · Cos 09.11 — Resume-style Design layout; template thumbnails per kind */
.nt-page .fb-print3 .fb-pgrid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px}
.nt-page .fb-pdesign{margin-top:0}
.nt-page .fb-pinc .fb-chips{display:flex;flex-wrap:wrap;gap:6px}
.nt-page .fb-print3 .fb-pprev{gap:10px}
.nt-page .fb-print3 .rb-pvhead{margin-bottom:0}
.nt-page .fb-print3 .rb-fit::before{display:none}
.nt-page .fb-print3 .rb-fit{padding:3px 10px}
.nt-page .rs-tthumb.ft-page{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:7px;gap:3px;align-content:start}
.nt-page .rs-tthumb.ft-page i{height:auto;width:auto;background:#e6e4da;border-radius:1px}
.nt-page .rs-tthumb.ft-page i:first-child{grid-column:1 / -1;height:4px;width:60%;justify-self:center;background:#3c3c3c}
.nt-page .rs-tthumb.ft-poster{align-items:center;justify-content:center;gap:4px}
.nt-page .rs-tthumb.ft-poster i:first-child{width:80%;height:7px;background:#1f7a52}
.nt-page .rs-tthumb.ft-poster i:not(:first-child){width:70%}
.nt-page .rs-tthumb.ft-poster i:last-child{display:none}
.nt-page .rs-tthumb.ft-cards{gap:4px;padding:4px}
.nt-page .rs-tthumb.ft-cards i{flex:1;height:auto;background:none;border:1px dashed #b9bdb4;border-radius:2px}
.nt-page .rs-tthumb.ft-cards i:first-child{width:auto;height:auto;background:none}
.nt-page .rs-tthumb.ft-cards i:nth-child(n+3){display:none}
.nt-page .rs-tthumb.ft-ws i:first-child{width:60%}
.nt-page .rs-tthumb.ft-ws i:not(:first-child){width:85%;background:#cfd3cb;margin-top:3px}
@media(max-width:900px){.nt-page .fb-print3 .fb-pgrid{grid-template-columns:minmax(0,1fr)}}
/* Cos 09.11: Include on white, a plain section between lines */
.nt-page .fb-pdesign .fb-pinc{display:flex;flex-direction:column;gap:10px;padding:14px 2px;border-top:1px solid var(--line);margin-top:4px}
.nt-page .fb-pdesign .fb-pinc + .rb-grp:has(.rb-seg),.nt-page .fb-pdesign .fb-pinc ~ .rb-grp:has(.rb-seg):first-of-type{margin-top:0}
@media(max-width:600px){.nt-page .fb-pdesign .rb-grp:has(.rb-seg){grid-template-columns:minmax(0,1fr)}.nt-page .fb-pdesign .rb-grp:has(.rb-seg) .rb-seg{grid-column:1;grid-row:auto;display:flex;width:100%}.nt-page .fb-pdesign .rb-grp:has(.rb-seg) .rb-segb{flex:1 1 0;min-width:0;padding-left:6px;padding-right:6px}.nt-page .fb-pdesign .rb-grp:has(.rb-seg) .rb-note{grid-row:auto}}
/* #31 print · Cos 09.11 — the Resume Builder Download menu in the preview head; a PNG (image) icon for the chart */
.nt-page .fb-print3 .rb-pvhead{align-items:center}
.nt-page .fb-print3 .rb-pvhead .rb-fit{margin-right:4px}
.nt-page .fb-dlw{margin:0}
.nt-page .fb-dlw .rb-dlmenu{z-index:30}
.nt-page .rb-dli[data-ic=png]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cg fill='none' stroke='%231E8A5E' stroke-width='1.6' stroke-linejoin='round' stroke-linecap='round'%3E%3Crect x='6' y='7' width='18' height='16' rx='2.5'/%3E%3Ccircle cx='11.5' cy='12.5' r='1.8'/%3E%3Cpath d='M6.5 20.5l5.5-5 4 3.5 3-2.5 4.5 4'/%3E%3C/g%3E%3C/svg%3E")}
.nt-page .fb-print3 .rb-pvhead{flex-wrap:nowrap}
.nt-page .fb-print3 .rb-pvhead .rb-tplname{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nt-page .fb-print3 .rb-pvhead .rb-fit{flex:none;white-space:nowrap}
.nt-page .fb-print3 .rb-pvhead .fb-dlw{flex:none}
@media(max-width:600px){.nt-page .fb-print3 .rb-pvhead{flex-wrap:wrap}.nt-page .fb-print3 .rb-pvhead .fb-dlw{width:100%}.nt-page .fb-print3 .rb-pvhead .fb-dlw .rb-dl{width:100%;justify-content:center}.nt-page .fb-print3 .fb-dlw .rb-dlmenu{left:0;right:auto}}
/* #31 print · Cos 09.11 — Download at the right of the tab row (desktop), in the preview head on phones; Shuffle back as a quiet link in the preview head */
body[data-fig] .nt-page .lb-body{position:relative}
.nt-page .fb-tabdl{position:absolute;top:18px;right:0;z-index:25}
.nt-page .fb-tabdl .fb-dlw .rb-dlmenu{right:0;left:auto}
.nt-page .fb-dlm{display:none}
.nt-page .fb-print3 .rb-pvhead .fb-shuf{flex:none;margin:0 -9px 0 4px;padding:5px 9px;border-radius:7px;text-decoration:none;color:var(--green-deep);font:600 13.5px var(--font-body)}
.nt-page .fb-print3 .rb-pvhead .fb-shuf:hover{background:var(--green-tint)}
@media(max-width:600px){.nt-page .fb-tabdl{display:none}.nt-page .fb-dlm{display:block;width:100%}}
.nt-page .fb-tabdl{right:24px;top:25px}
.nt-page .fb-print3 .rb-pvhead{flex-wrap:wrap;row-gap:6px}
.nt-page .fb-print3 .rb-pvhead .rb-tplname{flex:1 1 auto;white-space:normal;overflow:visible}
.nt-page .fb-shufrow{display:flex;justify-content:flex-end;margin-top:-2px}
.nt-page .fb-shufrow .fb-shuf{margin:0 -9px 0 0;padding:5px 9px;border-radius:7px;text-decoration:none;color:var(--green-deep);font:600 13.5px var(--font-body)}
.nt-page .fb-shufrow .fb-shuf:hover{background:var(--green-tint)}
/* #31 print · Cos 09.11 — a line under Include (the Layout row lost its divider); the preview is a bare sheet like the resume page, no grey frame */
.nt-page .fb-pdesign .fb-pinc{border-bottom:1px solid var(--line)}
.nt-page .fb-pdesign .fb-pinc + .rb-grp:has(.rb-seg){border-top:0}
.nt-page .fb-print3 .fb-pprev .fb-mini{padding:0;background:none;border-radius:0}
.nt-page .fb-print3 .fb-pprev .fb-chart{border-radius:3px;box-shadow:0 12px 30px rgba(25,30,26,.14),0 1px 3px rgba(25,30,26,.10)}
.nt-page .fb-print3 .fb-wsheet{border-radius:3px;box-shadow:0 12px 30px rgba(25,30,26,.14),0 1px 3px rgba(25,30,26,.10)}
/* #31 worksheet · Cos 09.11 — set on paper: serif text, wide margins, thin rules; name line, title, boxed word bank, answers in one column, footer */
.nt-page .fb-wsheet.fb-paper{gap:14px;padding:30px 34px 22px;font-family:var(--font-display,Georgia),serif;color:#1d211c;background:#fff}
.nt-page .fb-wsname{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px;font:500 12px var(--font-body);color:#55594f}
.nt-page .fb-wsname span{display:flex;align-items:flex-end;gap:6px}
.nt-page .fb-wsname i{flex:1;border-bottom:1px solid #9a9d93;height:14px}
.nt-page .fb-wstitle{margin:6px 0 0;font:600 20px/1.25 var(--font-display,Georgia),serif;color:#1d211c}
.nt-page .fb-paper .fb-task{margin:0;font:italic 400 14.5px/1.45 var(--font-display,Georgia),serif;color:#3a3e36}
.nt-page .fb-bankg{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:6px 12px;padding:10px 14px;border:1.5px solid #3a3e36;border-radius:4px;font:500 13.5px var(--font-body);color:#1d211c}
.nt-page .fb-paper .fb-wsprev{margin:4px 0 0;padding:0;list-style:none;counter-reset:ws;display:flex;flex-direction:column;gap:12px;font-size:15px;line-height:1.4}
.nt-page .fb-paper .fb-wsprev li{counter-increment:ws;display:grid;grid-template-columns:24px minmax(0,1fr) 130px;column-gap:8px;align-items:end}
.nt-page .fb-paper .fb-wsprev li::before{content:counter(ws) ".";font:500 13px var(--font-body);color:#55594f;align-self:start;padding-top:2px}
.nt-page .fb-paper .fb-ws35 .fb-blank{height:1px;border-bottom:1px solid #9a9d93;margin-bottom:4px}
.nt-page .fb-paper .fb-wsup li{grid-template-columns:24px minmax(0,1fr)}
.nt-page .fb-paper .fb-wsup .fb-blank,.nt-page .fb-paper .fb-wsup .fb-ans{grid-column:2;margin-top:6px;font:400 12.5px var(--font-body);color:#7a7d73;letter-spacing:.02em}
.nt-page .fb-paper .fb-ans{font:600 13px var(--font-body);color:#0E7B54}
.nt-page .fb-paper .fb-ws35 .fb-ans{align-self:end}
.nt-page .fb-wyo{display:flex;flex-direction:column;gap:14px;margin-top:4px;padding-top:12px;border-top:1px dashed #c9c8bf;font-size:15px}
.nt-page .fb-wyo p{margin:0}
.nt-page .fb-wyo b{font:500 13px var(--font-body);color:#55594f;margin-right:4px}
.nt-page .fb-wyo i{display:block;height:1px;border-bottom:1px solid #9a9d93;margin-left:32px}
.nt-page .fb-wsfoot{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:8px;padding-top:10px;border-top:1px solid #e3e2d9;font:500 11px var(--font-mono);color:#8a8d83}
.nt-page .fb-paper .fb-bank{display:none}
@media(max-width:600px){.nt-page .fb-wsheet.fb-paper{padding:20px 18px 16px}.nt-page .fb-paper .fb-wsprev li{grid-template-columns:22px minmax(0,1fr)}.nt-page .fb-paper .fb-ws35 .fb-blank,.nt-page .fb-paper .fb-ws35 .fb-ans{grid-column:2;width:60%;margin-top:6px}.nt-page .fb-wsname{grid-template-columns:1fr 1fr}.nt-page .fb-wsname span:first-child{grid-column:1 / -1}}
.nt-page .fb-wsfoot span{min-width:0;overflow-wrap:anywhere}
/* #31 anchor charts · Cos 09.11 — the page is filled: blocks stretch, more examples when fewer types, a «look for» cue, type colours; posters and cards page by page */
.nt-page .fb-chart.fcb-page,.nt-page .fb-chart.fcb-poster,.nt-page .fb-chart.fcb-cards{display:flex;flex-direction:column;gap:10px;padding:18px;aspect-ratio:8.5/11;overflow:hidden;background:#fff;color:#1d211c}
.nt-page .fcb-title{display:block;text-align:center;font:600 19px var(--font-display,Georgia),serif}
.nt-page .fcb-grid{flex:1;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(var(--rows),minmax(0,1fr));gap:8px;min-height:0}
.nt-page .fcb-grid.one{grid-template-columns:1fr}
.nt-page .fcb{display:flex;flex-direction:column;gap:4px;min-height:0;overflow:hidden;padding:9px 11px;border-radius:7px;background:#F4F3EC;border-top:4px solid var(--fc)}
.nt-page .fcb i{font:700 13px var(--font-body);font-style:normal;color:var(--fc)}
.nt-page .fcb em{font:400 10.5px/1.35 var(--font-body);font-style:normal;color:#55594f}
.nt-page .fcb ul{margin:2px 0 0;padding-left:14px;font:italic 400 11px/1.35 var(--font-display,Georgia),serif}
.nt-page .fcb li{margin:1px 0}
.nt-page .fcb small{margin-top:auto;font:600 9.5px/1.3 var(--font-body);color:var(--fc)}
.nt-page .fcb-grid.one .fcb i{font-size:24px}.nt-page .fcb-grid.one .fcb em{font-size:13px}.nt-page .fcb-grid.one .fcb ul{font-size:15px}.nt-page .fcb-grid.one .fcb small{font-size:12px}
.nt-page .fb-chart.fcb-poster{justify-content:center}
.nt-page .fcb.fcb-poster{flex:1;align-items:center;justify-content:center;text-align:center;gap:12px;border-top-width:8px;padding:24px}
.nt-page .fcb.fcb-poster i{font:600 34px var(--font-display,Georgia),serif;font-style:normal}
.nt-page .fcb.fcb-poster em{font-size:13px}
.nt-page .fcb.fcb-poster ul{list-style:none;padding:0;font-size:15px}
.nt-page .fcb.fcb-poster small{margin-top:10px;padding:6px 10px;border:1.5px solid var(--fc);border-radius:7px;font-size:11px}
.nt-page .fb-chart.fcb-cards{gap:12px}
.nt-page .fcb.fcb-card{flex:1;background:#fff;border:1.5px dashed #b9bdb4;border-top:4px solid var(--fc);justify-content:center;gap:6px;padding:14px 16px}
.nt-page .fcb.fcb-card i{font-size:18px}.nt-page .fcb.fcb-card em{font-size:12px}.nt-page .fcb.fcb-card ul{font-size:13px}.nt-page .fcb.fcb-card small{margin-top:4px;font-size:11px}
.nt-page .fb-ppager{display:flex;align-items:center;justify-content:center;gap:12px;font:500 13px var(--font-body);color:var(--muted)}
.nt-page .fb-pgb{width:30px;height:30px;border:1px solid var(--line);border-radius:8px;background:var(--surface);font:600 16px var(--font-body);color:var(--ink);cursor:pointer}
.nt-page .fb-pgb:hover:not(:disabled){border-color:var(--green);color:var(--green-deep)}
.nt-page .fb-pgb:disabled{opacity:.35;cursor:default}
@media(max-width:600px){.nt-page .fb-chart.fcb-page,.nt-page .fb-chart.fcb-poster,.nt-page .fb-chart.fcb-cards{padding:10px}.nt-page .fcb{padding:6px 7px}.nt-page .fcb em{display:none}.nt-page .fcb.fcb-poster em,.nt-page .fcb.fcb-card em{display:block}.nt-page .fcb.fcb-poster i{font-size:24px}}
.nt-page .fb-chart .fcb small{position:static;right:auto;bottom:auto}   /* an old «1 of N» rule positioned every small in the chart */
.nt-page .fb-pprev .rb-pager{margin-top:2px}
/* #31 print · Cos 09.11 — Letter / A4 now changes the sheet's shape (it only changed labels); the worksheet set in the plain sans school sheets use */
.nt-page .fb-print3 .fb-pprev .fb-chart{aspect-ratio:8.5/11}
.nt-page .fb-print3 .fb-pprev.is-a4 .fb-chart{aspect-ratio:210/297}
.nt-page .fb-print3 .fb-wsheet.fb-paper{aspect-ratio:8.5/11}
.nt-page .fb-print3 .fb-pprev.is-a4 .fb-wsheet.fb-paper{aspect-ratio:210/297}
.nt-page .fb-wsheet.fb-paper,.nt-page .fb-paper .fb-task,.nt-page .fb-wstitle,.nt-page .fb-paper .fb-wsprev,.nt-page .fb-wyo{font-family:var(--font-body)}
.nt-page .fb-wstitle{font-weight:700;font-size:19px}
.nt-page .fb-paper .fb-task{font-style:normal;font-size:14px;color:#3a3e36}
.nt-page .fb-paper .fb-wsprev{font-size:14.5px}
/* fit 10 items on one page (Cos 09.11), so Letter / A4 shows */
.nt-page .fb-wsheet.fb-paper{gap:10px;padding:24px 28px 16px}
.nt-page .fb-paper .fb-wsprev{gap:7px;font-size:13.5px;line-height:1.35}
.nt-page .fb-paper .fb-wsup .fb-blank,.nt-page .fb-paper .fb-wsup .fb-ans{margin-top:2px;font-size:11.5px}
.nt-page .fb-wstitle{margin-top:2px;font-size:17px}
.nt-page .fb-paper .fb-task{font-size:13px}
.nt-page .fb-wyo{gap:10px;padding-top:8px;font-size:13.5px}
.nt-page .fb-wsfoot{margin-top:auto}
.nt-page .fb-paper .fb-wsup{gap:4px}.nt-page .fb-paper .fb-wsup li{line-height:1.3}.nt-page .fb-wsheet.fb-paper{gap:8px;padding-top:20px}.nt-page .fb-wyo{gap:8px}
.nt-page .fb-paper .fb-wsup{font-size:13px}
/* #31 charts · Cos 09.11 — three examples on cards and posters; plain sans, no italic serif; cards fill their half page */
.nt-page .fcb ul{font-family:var(--font-body);font-style:normal}
.nt-page .fcb-title{font-family:var(--font-body);font-weight:700}
.nt-page .fcb.fcb-card{gap:10px;padding:18px 22px}
.nt-page .fcb.fcb-card i{font:700 24px var(--font-body);font-style:normal}
.nt-page .fcb.fcb-card em{font-size:14px}
.nt-page .fcb.fcb-card ul{font-size:16px;line-height:1.45;padding-left:18px}
.nt-page .fcb.fcb-card small{font-size:13px;margin-top:6px}
.nt-page .fcb.fcb-poster i{font:700 36px var(--font-body);font-style:normal}
.nt-page .fcb.fcb-poster ul{font-size:16px;line-height:1.5}
.nt-page .fcb.fcb-poster em{font-size:14px}
.nt-page .fcb.fcb-poster small{font-size:12px}
@media(max-width:600px){.nt-page .fcb.fcb-card{padding:10px 12px;gap:5px}.nt-page .fcb.fcb-card i{font-size:16px}.nt-page .fcb.fcb-card em{font-size:11px}.nt-page .fcb.fcb-card ul{font-size:12px}.nt-page .fcb.fcb-card small{font-size:10.5px}.nt-page .fcb.fcb-poster i{font-size:24px}.nt-page .fcb.fcb-poster ul{font-size:12.5px}}
@media(max-width:600px){.nt-page .fb-print3 .fb-pprev .fb-chart,.nt-page .fb-print3 .fb-pprev.is-a4 .fb-chart{aspect-ratio:auto}.nt-page .fcb-grid{grid-template-rows:none;grid-auto-rows:auto}.nt-page .fcb{overflow:visible}.nt-page .fcb em{display:block}.nt-page .fcb.fcb-card,.nt-page .fcb.fcb-poster{flex:none}}   /* phones: the sheet grows with its content instead of cutting it */
/* one-page chart text scales with the sheet width, so the same examples fit at every preview size (Cos 09.11) */
.nt-page .fb-chart.fcb-page{container-type:inline-size}
.nt-page .fcb-page .fcb-grid:not(.one) .fcb{padding:1.8cqw 2.2cqw;gap:.8cqw}
.nt-page .fcb-page .fcb-grid:not(.one) .fcb i{font-size:2.7cqw}
.nt-page .fcb-page .fcb-grid:not(.one) .fcb em{font-size:2.1cqw}
.nt-page .fcb-page .fcb-grid:not(.one) .fcb ul{font-size:2.2cqw;line-height:1.3}
.nt-page .fcb-page .fcb-grid:not(.one) .fcb small{font-size:1.95cqw}
.nt-page .fcb-page .fcb-title{font-size:3.8cqw}
/* #31 worksheet pages · Cos 09.11 — a page of real proportions, roomy lines to write on, footer at the bottom of every page */
.nt-page .fb-print3 .fb-wsheet.fb-paper{overflow:hidden;gap:12px;padding:26px 30px 16px}
.nt-page .fb-paper .fb-wsprev{gap:16px;font-size:14px;line-height:1.4;list-style:none;counter-reset:none}
.nt-page .fb-paper .fb-wsprev li{grid-template-columns:26px minmax(0,1fr) 130px}
.nt-page .fb-paper .fb-wsprev li::before{content:none}
.nt-page .fb-paper .fb-wsn{font:500 13px var(--font-body);color:#55594f}
.nt-page .fb-paper .fb-wsup{gap:14px}
.nt-page .fb-paper .fb-wsup li{grid-template-columns:26px minmax(0,1fr);row-gap:10px}
.nt-page .fb-paper .fb-wsup .fb-blank,.nt-page .fb-paper .fb-wsup .fb-ans{grid-column:2;margin-top:0;font-size:12px}
.nt-page .fb-paper .fb-ws35 .fb-blank{margin-bottom:2px}
.nt-page .fb-wyo{gap:18px;padding-top:12px}
.nt-page .fb-wyo i{margin-left:26px}
.nt-page .fb-wsname span:last-child{justify-content:flex-end;white-space:nowrap}
.nt-page .fb-wsfoot{margin-top:auto}
.nt-page .fb-print3 .fb-pprev > .rb-pager{margin-top:2px}
@media(max-width:600px){.nt-page .fb-print3 .fb-wsheet.fb-paper{aspect-ratio:auto;overflow:visible}}
/* #31 · Cos 09.11 — alliteration and irony get their highlight colours (as on the charts); gallery thumbnails use the type colours */
.nt-page .d-alliteration{--fm:rgba(168,67,122,.18)}.nt-page .d-irony{--fm:rgba(31,127,134,.2)}
.nt-page .nt-xthumb mark.lb-fm{background:var(--fm)}
/* guide cards («… at a Glance», every 77 page that has them) · Cos 09.11: the title a step bigger and dark, as the card titles in the examples gallery; the line under it regular weight */
.nt-page .lb-guide b{font:700 18px/1.3 var(--font-body);color:var(--ink)}
.nt-page .lb-guide span{font:400 15px/1.5 var(--font-body);color:var(--muted)}
/* the template wraps interpolated text in its own span: style only the description (a direct child), the title text inherits from <b> (Cos 09.11) */
.nt-page .lb-guide b span{font:inherit;color:inherit;line-height:inherit}
.nt-page .lb-guide li > span{font:400 15px/1.5 var(--font-body);color:var(--muted)}
/* Cos 09.11: guide cards take exactly the gallery card type (title 14.5 / 700, line 13 / muted), no jump in size between the two blocks */
.nt-page .lb-guide b{font:700 14.5px/1.3 var(--font-body);color:var(--ink)}
.nt-page .lb-guide li > span{font:400 13px/1.45 var(--font-body);color:var(--muted)}
@media(max-width:600px){.nt-page .fb-print3 .rb-pvhead .rb-fit{white-space:normal}}
/* ===== ITER «Math Recent as a tab-like item» (Cos 09.11) — rollback = delete down to END ITER (and the label span in recentEl) =====
   the clock 26px over «Recent», 15px / 600 muted like the icon tabs, on their baseline; no plate, ink on hover / open */
.nt-page .mb-top{align-items:flex-end}
.nt-page .mb-top .mb-recent{align-self:flex-end;margin:0}
.nt-page .mb-top .mb-recbtn{display:inline-flex;flex-direction:column;align-items:center;gap:5px;width:auto;height:auto;padding:4px 0 10px;border:0;border-radius:0;background:none;color:var(--muted);font:600 15px var(--font-body)}
.nt-page .mb-top .mb-recbtn::before{width:26px;height:26px;opacity:.85}
.nt-page .mb-top .mb-recbtn:hover,.nt-page .mb-top .mb-recbtn[aria-expanded="true"]{background:none;color:var(--ink)}
.nt-page .mb-top .mb-recbtn[aria-expanded="true"]::before{background:var(--green-deep);opacity:1}
.nt-page .mb-reclbl{line-height:1.2}
.nt-page .mb-top .mb-recent .mb-menu{right:0;left:auto}
/* ===== END ITER ===== */
/* #31 · Cos 09.11 — the one-page chart title is sans like the rest of the sheet, the print and the PNG (an older .fb-chart b rule kept it serif) */
.nt-page .fb-chart b.fcb-title{font-family:var(--font-body);font-weight:700}
/* ===== ITER «#78 · imgverify v39 · 10.11» — image link under the drop zone + retry in the busy error. Rollback = delete down to END ===== */
.nt-page .kt-ilinkrow{display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap}
.nt-page .kt-ilinkrow label{font:600 14px var(--font-body);color:var(--muted);white-space:nowrap}
.nt-page .kt-iurlw{display:flex;gap:8px;flex:1;min-width:min(100%,280px)}
.nt-page .kt-ilinkrow{min-width:0;max-width:100%}
.nt-page .kt-iurlw .opt-in{flex:1 1 0;width:0;min-width:0;padding-block:9px;font-size:15px}
.nt-page .kt-iurlw .btn{flex:none;white-space:nowrap}
.nt-page .kt-ilinkrow.bad .opt-in{border-color:#CE5049}
.nt-page .kt-iretry{margin-top:10px}
@media(max-width:600px){
  .nt-page .kt-ilinkrow{flex-direction:column;align-items:stretch;gap:6px}
  .nt-page .kt-iurlw{min-width:0}
  /* the skeleton's caption bar was 80px and ran past the card at 320; the real caption («PIXEL SCORE») is ~48px there */
  .nt-page .kt-iskel .kt-isk.c{width:48px;min-width:0}
}
/* ===== END ===== */
/* ===== ITER «toast flash on load · 10.11» (Cos): the empty «In the live tool…» toast showed for ~0.1 s on every page load
   (the .nt-page rules arrive a moment after the node, so it faded out from opacity 1). An empty toast is never shown.
   Rollback = delete down to END ===== */
.nt-engtoast:empty{display:none}
/* ===== 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 .rb-top > .rb-dlw{margin-bottom:6px}

/* ===== ITER «Download in the tab row: 4 px above the icon + label centre — the line under the tabs makes the exact centre read low · Cos 12.11» — one rule for every engine; rollback = delete this block ===== */
.nt-page :is(.pb-ddl-top,.pb-xdl-top,.kb9-ddl-top,.kb3-dltop,.bq-ddl-top,.sg-ddl-top,.ob-ddl-top,.lub-dlw-top,.lx-tabdl,.tb-tabdl,.wb23-tabdl),.nt-page .wb35-top .wb35-dlw,.nt-page .rb-top > .rb-dlw{translate:0 -4px}
.nt-page .wb26-tabdl{translate:0 -4px}
.nt-page .fb-tabdl{translate:0 -7px}   /* #31 Figurative Language family: its absolute button sat 3 px under the centre */
.nt-page .pb-clr-top{translate:0 -7px}   /* #08 #09 «Clear all» next to Download: on the same axis as the raised button (Cos 12.11) */
/* Cos 12.11 · phone tabs at 15px: #31's four tabs share a narrow row — each as wide as its label (Examples was cut at 320) */
@media(max-width:600px){body[data-fig] .nt-page .lb-tabs .oc-tab{flex:1 1 auto;min-width:max-content}}

/* ITER 13.11 · operator keys (Cos: «символы очень маленькие… на 12 ещё и не по центру»): + − × ÷ = are DRAWN marks (SVG masks in currentColor),
   exactly centred whatever the font; the other keys get bigger glyphs. #01 Math B keyboard (.mb-key.k-op) and #12 Fraction operators (.kb-op) */
.nt-page :is(.mb-key.k-op,.kb-op){position:relative;color:var(--ink);font-size:0!important;line-height:0}
.nt-page :is(.mb-key.k-op,.kb-op)::before{content:"";position:absolute;inset:0;margin:auto;width:18px;height:18px;background:currentColor;-webkit-mask:var(--km) center/contain no-repeat;mask:var(--km) center/contain no-repeat}
.nt-page .kb-op::before{width:17px;height:17px}
.nt-page :is(.mb-key.k-plus,.kb-op[aria-label="Add"]){--km: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%3Cpath d='M12%205v14M5%2012h14'/%3E%3C/svg%3E")}
.nt-page :is(.mb-key.k-minus,.kb-op[aria-label="Subtract"]){--km: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%3Cpath d='M5%2012h14'/%3E%3C/svg%3E")}
.nt-page :is(.mb-key.k-times,.kb-op[aria-label="Multiply"]){--km: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%3Cpath d='M6.5%206.5l11%2011M17.5%206.5l-11%2011'/%3E%3C/svg%3E")}
.nt-page :is(.mb-key.k-div,.kb-op[aria-label="Divide"]){--km: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%3Cpath d='M5%2012h14'/%3E%3Ccircle cx='12' cy='6.3' r='1.7' fill='black' stroke='none'/%3E%3Ccircle cx='12' cy='17.7' r='1.7' fill='black' stroke='none'/%3E%3C/svg%3E")}
.nt-page .mb-key.k-eq{--km: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%3Cpath d='M5%209h14M5%2015h14'/%3E%3C/svg%3E")}
.nt-page .kb-op.on{color:var(--surface)}
.nt-page .mb-key:not(.k-op){font-size:20px}
.nt-page .mb-key.var{font-size:20px}

/* ===== ITER «menus never under the page · Cos 13.11» (found on #65: the Download menu went under the sticky goal card; the same audit
   then found it under the paper preview on #08 #09, under the sheet bar on #10 #62, under the preview head on #13, under the input on
   #12; on phones the bottom Download menus of #10 #62 #12 ran past the card edge and were cut off) — rollback = delete down to END =====
   1) the tab row that holds a Download menu is its own layer while the menu is open; 2) the bottom-of-card Download (phones) opens upward */
.nt-page :is(.pb-dhead,.pb-xhead,.sg-dhead,.bq-dhead,.kb9-dhead,.rb-top):has(.rb-dlmenu){position:relative;z-index:30}
@media(max-width:600px){
  .nt-page :is(.kb9-ddl-solo,.pb-xunder,.sg-under,.bq-under) .rb-dlmenu{top:auto;bottom:calc(100% + 8px)}
}
/* ===== END ===== */
/* #01 Math B · Cos 16.11 (GO notes): «AI suggestions: review before using.» on the «Looks right, solve» line, left; button right */
.nt-page .mb-word-go:has(.mb-go-note){justify-content:space-between}
.nt-page .mb-word-go .mb-go-note{margin:0}

/* ITER «#31 pictures + picture cards · Cos 17.11» — each picture can be taken (Download PNG / Copy image), a «Free to use in your
   classroom» line, the third print template «Picture cards» (picture + sentence [+ meaning] · match game · write your own; 4 or 6
   a page), a picture frame on the simile / alliteration poster and notebook card. Frames until the illustration style is chosen. */
.nt-page .fb-pics2{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}
.nt-page .fb-pics2 .fb-picimg{position:relative;display:block}
.nt-page .fb-pics2 figcaption{display:flex;flex-direction:column;gap:3px}
.nt-page .fb-pict{font:400 15px/1.4 var(--font-display,Georgia),serif;color:var(--ink)}
.nt-page .fb-picm{font:400 13.5px/1.4 var(--font-body);color:var(--muted)}
.nt-page .fb-picact{position:absolute;top:8px;right:8px;display:flex;gap:6px;opacity:.9;transition:opacity .15s}
.nt-page .fb-pic:hover .fb-picact,.nt-page .fb-picact:focus-within{opacity:1}
.nt-page .fb-picb{position:relative;width:34px;height:34px;border-radius:50%;border:0;padding:0;cursor:pointer;background:var(--surface);box-shadow:0 1px 3px rgba(0,0,0,.18);color:var(--ink);transition:background .15s,transform .1s}
.nt-page .fb-picb:hover{background:color-mix(in srgb,var(--green,#0E7B54) 12%,var(--surface))}
.nt-page .fb-picb:active{transform:scale(.94)}
.nt-page .fb-picb:focus-visible{outline:2px solid var(--green,#0E7B54);outline-offset:2px}
.nt-page .fb-picb::before{content:"";position:absolute;inset:8px;background:currentColor;-webkit-mask:var(--ic) center/18px no-repeat;mask:var(--ic) center/18px no-repeat}
.nt-page .fb-picdl{--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%3Cpath d='M12 4v11M7 10.5l5 5 5-5M5 20h14'/%3E%3C/svg%3E")}
.nt-page .fb-piccp{--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'/%3E%3Cpath d='M16 8V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2'/%3E%3C/svg%3E")}
.nt-page .fb-piccp.ok{--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.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");color:var(--green,#0E7B54)}
.nt-page .fb-picb[data-tip]::after{left:auto;right:0;transform:none}   /* the shared [data-tip] bubble, right-aligned so it stays inside the card */
.nt-page .fb-picfoot{display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap;margin-top:16px}
.nt-page .fb-picfoot .fb-pn{flex:1 1 280px}
.nt-page .fb-picfoot .fb-pn b{color:var(--ink);font-weight:600}
.nt-page .fb-picgo{flex:none}
/* template thumb: four cards with a picture each */
.nt-page .rs-tthumb.ft-pics{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:4px;padding:6px}
.nt-page .rs-tthumb.ft-pics i{width:auto;height:auto;margin:0;border:1px dashed #b9bdb4;border-radius:2px;background:linear-gradient(#e6e4da 0 55%,transparent 55% 66%,#cfd3cb 66% 74%,transparent 74%) 3px 3px/calc(100% - 6px) calc(100% - 6px) no-repeat}
/* the sheet */
.nt-page .fb-pcmini{container-type:inline-size}
.nt-page .fb-pcsheet{aspect-ratio:8.5/11;background:#fff;color:#1d211c;padding:5.9cqw;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(2,1fr);border-radius:3px;box-shadow:0 12px 30px rgba(25,30,26,.14),0 1px 3px rgba(25,30,26,.10)}   /* = the worksheet sheet */
.nt-page .fb-pcsheet.r3{grid-template-rows:repeat(3,1fr)}
.nt-page .fb-print3 .fb-pprev.is-a4 .fb-pcsheet{aspect-ratio:210/297}
.nt-page .pcc{min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:1.2cqw;padding:2.6cqw;border:1px dashed #a9ada4;border-top:.9cqw solid var(--fc);margin:-.5px}
.nt-page .pcf{flex:none;width:100%;aspect-ratio:4/3;align-self:center;border-radius:1.4cqw;background:#EFEEE7 center/22% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44' fill='none' stroke='%23A4A89F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='8' width='34' height='28' rx='4'/%3E%3Ccircle cx='16' cy='17' r='3.5'/%3E%3Cpath d='M5 31l10-9 8 7 6-5 10 8'/%3E%3C/svg%3E")}
.nt-page .r3 .pcf{width:68%}   /* Cos 17.11: the picture keeps 4:3 (as on Examples) on every sheet; six a page = narrower, same shape */
.nt-page .r3 .pcc-write .pcf{width:58%}
.nt-page .pcc-pic .pcf{margin:auto 0;width:100%}
.nt-page .pcs{font:500 2.7cqw/1.3 var(--font-display,Georgia),serif;color:#1d211c}
.nt-page .r3 .pcs{font-size:2.3cqw}
.nt-page .pcs-big{margin:auto 0;text-align:center;font-size:3.6cqw}
.nt-page .r3 .pcs-big{font-size:3cqw}
.nt-page .pcm{font:400 2.05cqw/1.35 var(--font-body);font-style:normal;color:#5B6159}
.nt-page .r3 .pcm{font-size:1.8cqw}
.nt-page .pcw{font:600 2cqw/1.3 var(--font-body);color:#1d211c}
.nt-page .pcc-write i{flex:1;border-bottom:1px solid #8d918a}
.nt-page .fb-pcmini{position:relative}
.nt-page .fb-pcempty{position:absolute;inset:0;display:grid;place-items:center;margin:0;color:#5B6159;font-size:14px;text-align:center;padding:20px}
/* poster / notebook card picture */
.nt-page .fcb .fcb-pic{display:block;align-self:stretch;border-radius:8px;background:#EFEEE7 center/34px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44' fill='none' stroke='%23A4A89F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='8' width='34' height='28' rx='4'/%3E%3Ccircle cx='16' cy='17' r='3.5'/%3E%3Cpath d='M5 31l10-9 8 7 6-5 10 8'/%3E%3C/svg%3E")}
.nt-page .fcb .fcb-pic{flex:none;aspect-ratio:4/3;align-self:center}
.nt-page .fcb.fcb-poster .fcb-pic{width:46%;margin:4px 0}
.nt-page .fcb.fcb-card .fcb-pic{width:30%}
@media(max-width:600px){.nt-page .fb-pics2{grid-template-columns:1fr 1fr;gap:12px}.nt-page .fb-pict{font-size:14px}.nt-page .fb-picm{font-size:12.5px}.nt-page .fb-picb{width:32px;height:32px}.nt-page .fb-picfoot .fb-picgo{width:100%}}
@media(max-width:480px){.nt-page .fb-pics2{grid-template-columns:1fr}}   /* 17.11: with the art, phones show one big picture per row so the two buttons never cover the subject */
.nt-page .fb-pdesign .rb-grp.fb-pcstk{display:flex;flex-direction:column;align-items:stretch;gap:10px}
.nt-page .fb-pcstk .rb-seg{display:flex;width:100%}
.nt-page .fb-pcstk .rb-seg .rb-segb{flex:1 1 0;white-space:nowrap}
@media(max-width:600px){.nt-page .fb-pcstk .rb-seg .rb-segb{min-width:0;white-space:normal;height:auto;min-height:40px;line-height:1.2;padding:6px 6px;text-align:center}}
/* the art (style «A+»): the picture fills the 4:3 frame; the frame look (dashes, placeholder icon) goes */
.nt-page .fb-picimg.has-art{background:none;border:1px solid var(--line);overflow:hidden}
.nt-page .fb-picimg.has-art img{display:block;width:100%;height:100%;object-fit:cover;user-select:none}
.nt-page img.pcf.pcf-art{background:none;object-fit:cover;display:block;height:auto}
.nt-page .fcb img.fcb-art{background:none;object-fit:cover;display:block;height:auto;border-radius:8px}
/* END ITER «#31 pictures + picture cards · Cos 17.11» */
