/* ==========================================================================
   Nakal Copy · DS-014 · TheLayoutLoft Parts Line
   Part styles only — all selectors prefixed .nk- . Drop-in safe.
   ========================================================================== */

.nk-btn {
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; position: relative;
  font: 600 12.5px/1 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .04em;
  color: #C7CDDC;
  background: linear-gradient(180deg, #2A3040, #1E2330);
  border: 1px solid #3A4152; border-radius: 9px;
  padding: 11px 16px;
  transition: border-color .15s, color .15s, transform .05s;
  -webkit-user-select: none; user-select: none;
}
.nk-btn:hover { border-color: #34D399; color: #E8ECF5; }
.nk-btn:active { transform: scale(.97); }
.nk-btn:focus-visible { outline: 2px solid #34D399; outline-offset: 2px; }

.nk-icw { position: relative; width: 16px; height: 16px; flex: none; }
.nk-ic, .nk-ck {
  position: absolute; inset: 0; width: 16px; height: 16px;
  transition: opacity .18s, transform .25s cubic-bezier(.3,1.3,.4,1);
}
.nk-ck { color: #34D399; }
.nk-done .nk-ic { opacity: 0; transform: scale(.5) rotate(-20deg); }
.nk-btn:not(.nk-done) .nk-ck { opacity: 0; }
.nk-done .nk-ck { opacity: 1; transform: scale(1); }
.nk-ck { transform: scale(1.3); }

/* label flip — l2 sits below l1, the stack slides up on done */
.nk-lab {
  display: inline-block; height: 1em; overflow: hidden; line-height: 1;
}
.nk-l1, .nk-l2 { display: block; height: 1em; }
.nk-l2 { color: #34D399; }

.nk-err { border-color: #B0413E !important; animation: nk-shake .3s; }
@keyframes nk-shake {
  25% { transform: translateX(-3px); } 75% { transform: translateX(3px); }
}

.nk-sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .nk-ic, .nk-ck, .nk-btn { transition: none; }
  .nk-err { animation: none; }
}
