.npt { max-width: 760px; }
.npt-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.npt-tab {
  padding: 8px 12px; font-size: 13px; font-weight: 700; border: 1px solid #d9e0d4; border-radius: 6px;
  background: #fff; cursor: pointer; color: #27331f;
}
.npt-tab-active { background: #19616a; border-color: #19616a; color: #fff; }
.npt-panel { display: flex; flex-direction: column; gap: 12px; }
.npt-panel label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; color: #27331f; }
.npt-panel input, .npt-panel select { padding: 9px 11px; font-size: 14.5px; border: 1px solid #d9e0d4; border-radius: 6px; }
.npt-panel input:focus, .npt-panel select:focus { outline: 2px solid #19616a; outline-offset: 1px; }
.npt-panel input[type="file"] { background: #fff; cursor: pointer; }

.npt-hint { font-size: 12.5px; color: #5b6b56; margin: 4px 0 0; }
.npt-note { margin-top: 16px; font-size: 13px; color: #5b6b56; }

.npt-error {
  padding: 10px 12px; background: #fdecea; border: 1px solid #e0a29a; border-radius: 6px;
  color: #7a2e22; font-size: 13.5px; font-weight: 700;
}
.npt-warn {
  padding: 10px 12px; background: #fff6e0; border: 1px solid #e6cf8a; border-radius: 6px;
  color: #6b5307; font-size: 13.5px;
}

.npt-summary {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 4px 0;
}
.npt-stat {
  padding: 10px 12px; background: #f3f4f8; border: 1px solid #d9e0d4; border-radius: 6px;
  display: flex; flex-direction: column; gap: 4px;
}
.npt-stat span { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: #5b6b56; }
.npt-stat strong { font-size: 15px; color: #19616a; word-break: break-word; }

.npt-tree {
  font-family: ui-monospace, monospace; font-size: 13px; color: #27331f;
  background: #f3f4f8; border: 1px solid #d9e0d4; border-radius: 6px; padding: 10px 12px;
  max-height: 480px; overflow: auto;
}
.npt-tree ul { list-style: none; margin: 0; padding-left: 18px; }
.npt-tree > ul { padding-left: 0; }
.npt-tree li { margin: 2px 0; }
.npt-tree details > summary { cursor: pointer; }
.npt-tree summary { list-style: revert; }
.npt-tag-name { color: #19616a; font-weight: 700; }
.npt-tag-type { color: #5b6b56; font-size: 11.5px; }
.npt-tag-val { color: #27331f; }

.npt-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.npt-table th, .npt-table td { padding: 7px 9px; border-bottom: 1px solid #d9e0d4; text-align: left; }
.npt-table th { color: #5b6b56; font-size: 11.5px; text-transform: uppercase; letter-spacing: .02em; }
.npt-table td { color: #27331f; }
.npt-table-wrap { overflow-x: auto; }

.npt-btn {
  display: inline-block; padding: 10px 16px; font-size: 14px; font-weight: 700;
  background: #19616a; color: #fff; border: 1px solid #19616a; border-radius: 6px;
  cursor: pointer; text-decoration: none; width: fit-content;
}
.npt-btn:hover { opacity: .92; }
.npt-btn:disabled { background: #9aa79a; border-color: #9aa79a; cursor: not-allowed; }
.npt-btn-primary { background: #2f8f3d; border-color: #2f8f3d; }

.npt-revive-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 4px 0; }
.npt-revive-mode {
  display: flex; flex-direction: column; gap: 6px; padding: 12px; background: #f3f4f8;
  border: 1px solid #d9e0d4; border-radius: 6px;
}
.npt-revive-mode .npt-btn { width: 100%; text-align: center; }
.npt-hint-mono { font-family: ui-monospace, monospace; font-size: 11px; color: #5b6b56; }

@media (max-width: 640px) {
  .npt-revive-modes { grid-template-columns: 1fr; }
}

.npt-section-title { font-size: 14px; font-weight: 700; color: #27331f; margin: 6px 0 -4px; }

@media (max-width: 480px) {
  .npt-summary { grid-template-columns: 1fr; }
}
