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

.duo.nc-duo>.pane-result{position:static}
.nc-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}
.nc-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}
.nc-paper{max-width:23rem;margin:0 auto;line-height:0}
.nc-paper.land{max-width:30rem}
.nc-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)}
.nc-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}
.nc-summary{margin:.625rem 0;text-align:center;font-size:.875rem;color:var(--mat-ink)}
.nc-summary b{color:#fff}
.nc-notes{max-width:30rem;margin:0 auto .625rem}
.nc-notes:empty{display:none}
.nc-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}
.nc-note b{color:#fff}
.nc-dl{display:flex;flex-wrap:wrap;gap:.5rem;max-width:30rem;margin:0 auto}
.nc-dl .btn{flex:1 1 9rem}
.nc-dl #pdfBtn{flex-basis:100%}
.nc-dl .btn:disabled{opacity:.6;cursor:progress}
.nc-stage .btn.ghost{color:var(--mat-ink);border-color:rgba(255,255,255,.4);background:transparent}
.nc-msg{margin:.5rem 0 0;text-align:center;font-size:.8125rem;color:var(--mat-muted)}
.nc-msg:empty{display:none}

.nc-form-h{margin:0 0 .75rem;font-size:1.1875rem}
.nc-hint{margin:.375rem 0 0;font-size:.8125rem;color:var(--muted);line-height:1.45}
.nc-name{font-size:1.25rem;font-weight:600}
.nc-themes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:520px){.nc-themes{grid-template-columns:repeat(4,minmax(0,1fr))}}
.nc-class textarea{min-height:7.5rem;resize:vertical;line-height:1.45}
.nc-class .btn{margin-top:.5rem;width:100%}
.nc-class .nc-msg{color:var(--muted);text-align:left}
.nc-count{font-family:var(--mono);font-size:.75rem}
.nc-class .btn:disabled{opacity:.5;cursor:not-allowed}

@media(min-width:920px){
  .duo.nc-duo{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:none}
  .duo.nc-duo>.pane-result,.duo.nc-duo>.pane-main{grid-area:auto}
  .nc-stage{position:sticky;top:1rem}
  .nc-paper{max-width:26rem}
  .nc-paper.land{max-width:34rem}
}
