/* nt.css — page layer for /name-tracing-worksheet/. The shell (header, controls, buttons, explainer,
   footer) is /assets/polyatic.css; this adds the cutting-mat stage with the printed worksheet on it,
   as on /word-search-maker/ and /gift-tag-maker/. The sheet is paper-white in both themes. */
.nt-noscript{margin:1rem;padding:.875rem 1rem;border:1px solid var(--line);border-left:.25rem solid var(--accent);border-radius:.625rem;background:var(--surface)}
.nt-head h1{margin-bottom:.25rem}
.nt-head .sub{margin-bottom:.875rem}

.duo.nt-duo>.pane-result{position:static}
.nt-stage{background:radial-gradient(120% 80% at 50% 0%,rgba(255,196,120,.16),transparent 60%),linear-gradient(180deg,var(--mat),var(--mat-2));
  color:var(--mat-ink);border-radius:var(--r);padding:.75rem .875rem 1rem;box-shadow:var(--shadow);min-width:0}
.nt-stage-h{font-family:var(--mono);font-size:.6875rem;font-weight:500;text-transform:uppercase;letter-spacing:.07em;color:var(--mat-muted);margin:0 0 .5rem;text-align:center}
.nt-paper{max-width:23rem;margin:0 auto;line-height:0}
.nt-paper svg{display:block;width:100%;height:auto;background:#fff;border-radius:2px;
  box-shadow:0 1px 0 rgba(0,0,0,.1),0 18px 40px -16px rgba(0,0,0,.6)}
.nt-wait{line-height:1.45;margin:0;padding:3rem 1rem;text-align:center;background:#fff;color:#444;border-radius:2px;aspect-ratio:210/297;display:flex;align-items:center;justify-content:center}
.nt-summary{margin:.625rem 0;text-align:center;font-size:.875rem;color:var(--mat-ink)}
.nt-summary b{color:#fff}
.nt-notes{max-width:30rem;margin:0 auto .625rem}
.nt-notes:empty{display:none}
.nt-note{margin:0 0 .5rem;padding:.625rem .75rem;border-radius:.5rem;font-size:.8125rem;line-height:1.45;background:rgba(255,190,90,.14);border-left:.1875rem solid #f2c94c}
.nt-note b{color:#fff}
.nt-dl{display:flex;flex-wrap:wrap;gap:.5rem;max-width:30rem;margin:0 auto}
.nt-dl .btn{flex:1 1 9rem}
.nt-dl #pdfBtn{flex-basis:100%}
.nt-dl .btn:disabled{opacity:.6;cursor:progress}
.nt-stage .btn.ghost{color:var(--mat-ink);border-color:rgba(255,255,255,.4);background:transparent}
.nt-msg{margin:.5rem 0 0;text-align:center;font-size:.8125rem;color:var(--mat-muted)}
.nt-msg:empty{display:none}

.nt-form-h{margin:0 0 .75rem;font-size:1.1875rem}
.nt-hint{margin:.375rem 0 0;font-size:.8125rem;color:var(--muted);line-height:1.45}
.nt-name{font-size:1.25rem;font-weight:600}
.nt-class textarea{min-height:7.5rem;resize:vertical;line-height:1.45}
.nt-class .btn{margin-top:.5rem;width:100%}
.nt-class .nt-msg{color:var(--muted);text-align:left}
.nt-count{font-family:var(--mono);font-size:.75rem}
.nt-class .btn:disabled{opacity:.5;cursor:not-allowed}

@media(min-width:920px){
  .duo.nt-duo{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:none}
  .duo.nt-duo>.pane-result,.duo.nt-duo>.pane-main{grid-area:auto}
  .nt-stage{position:sticky;top:1rem}
  .nt-paper{max-width:26rem}
}
.nt-checks{display:grid;gap:.375rem}
.nt-modes3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
