.nk-name { margin-top: 8px; }
.nk-body .modal-key { margin-top: 14px; }
.nk-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.nk-row3 { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
.nk-hint { margin-top: 6px; min-height: 17px; font-size: 12px; line-height: 1.45; color: var(--dim); }
.nk-row .fld-lrow .xp-i { margin-block: -4px; }
.nk-money { position: relative; }
.nk-money .fld { padding-left: 25px; font-variant-numeric: tabular-nums; }
.nk-pre { position: absolute; top: 50%; left: 12px; transform: translateY(-50%); font-size: 13.5px; color: var(--dim);
          pointer-events: none; }

@media (max-width: 760px) {
  .nk-row3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .nk-row3 > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .nk-row, .nk-row3 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .nk-hint:empty { min-height: 0; margin-top: 0; }
}
.keys-quota { font-variant-numeric: tabular-nums; }
.keys-quota.is-full { color: var(--amber); }
.keys .keys-act { width: 40px; padding-right: 6px; text-align: right; }
.row-act {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: none;
  color: var(--muted);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.14s ease, background 0.14s ease, color 0.14s ease;
}
.row-act svg { width: 18px; height: 18px; fill: currentColor; }
.keys tbody tr:hover .row-act,
.keys tbody tr:focus-within .row-act,
.row-act:focus-visible { opacity: 1; }
.row-act:hover { background: var(--bg-soft); color: var(--text); }
.row-act:focus-visible { outline: var(--focus-line); outline-offset: 1px; }
@media (hover: none) { .row-act { opacity: 1; } }
@media (max-width: 760px) {
  .keys .keys-act {
    position: sticky;
    right: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bg-raised) 14px);
  }
}
.keys-spend .ks-amt { color: var(--text); font-variant-numeric: tabular-nums; }
.keys-spend .ks-of { color: var(--dim); }
.keys-spend .ks-none { display: block; margin-top: 2px; font-size: 12px; }
.ks-bar { display: block; width: 100%; max-width: 132px; height: 4px; margin-top: 6px; border-radius: 99px; background: var(--line-soft); overflow: hidden; }
.ks-bar > i { display: block; height: 100%; border-radius: inherit; background: var(--t500); }
.ks-bar.is-near > i { background: var(--amber); }
.ks-bar.is-full > i { background: var(--red); }
@media (min-width: 761px) {
  [data-part="keys"] .tbl.keys th:nth-child(2) { width: 24%; }
  [data-part="keys"] .tbl.keys th:is(:nth-child(3), :nth-child(4), :nth-child(5)) { width: 13%; }
  [data-part="keys"] .tbl.keys th:nth-child(6) { width: 12%; }
}
.kc-field { container-type: inline-size; }
.kc-field > .modal-key { margin-top: 0; }
.kc-key { font-size: 12.5px; font-size: clamp(11px, calc(4.06cqi - 1.2px), 12.5px); font-weight: 500; white-space: nowrap;
  word-break: normal; overflow-wrap: normal; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin;
  transition: background 0.15s ease, box-shadow 0.15s ease; }
.kc-key.cp-line { text-decoration: none; }
.kc-key.cp-line:hover { box-shadow: inset 0 0 0 1px var(--line); }
.km-card.is-copied .kc-key { background: var(--t50); box-shadow: inset 0 0 0 1px var(--t300); }
.km-card .kc-key.cp-line:focus-visible { box-shadow: inset 0 0 0 1px var(--t400), var(--focus-ring); }
.kc-field .cp-said, .kc-field .cp-said.on { display: none; }
.km-card.is-copied .copy.km-done { font-weight: 600; }
