.nko-history {max-width:1000px;margin:1.5rem auto;color:inherit;line-height:1.6}
.nko-history-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.nko-history label {display:block;font-weight:600;margin:12px 0}
.nko-history input:not([type=checkbox]),.nko-history textarea,.nko-history select {display:block;width:100%;max-width:100%;box-sizing:border-box;padding:10px;border:1px solid #b8b8b8;border-radius:4px;background:#fff;color:#222;font:inherit}
.nko-history-wide {grid-column:1/-1}
.nko-history .nko-history-check {display:flex;align-items:flex-start;gap:10px;font-weight:400}
.nko-history-check input {flex-shrink:0;margin-top:7px}
.nko-history button {padding:11px 18px;background:#b51c0e;color:#fff;border:0;border-radius:4px;font:inherit;cursor:pointer;margin:10px 10px 10px 0}
.nko-history button:disabled {opacity:.6;cursor:wait}
.nko-history-message {font-weight:600;white-space:pre-wrap}
.nko-history-help {font-size:.93em}
.nko-history-trap {position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.nko-history-filters {display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}
.nko-history-filters a {padding:7px 12px;border:1px solid #ccc;border-radius:4px}
.nko-history-filters a[aria-current] {font-weight:700;border-color:#b51c0e}
.nko-history-card {padding:18px;border:1px solid #ccc;border-top:4px solid #b51c0e;border-radius:5px;margin:20px 0;background:#fff;color:#222;overflow-wrap:anywhere}
.nko-history-card summary {cursor:pointer}
.nko-history-card summary span {display:block;font-size:.9em;color:#555;margin-top:5px}
.nko-history-card dt {font-weight:700;margin-top:10px}
.nko-history-card dd {margin:0}
@media(max-width:640px) {.nko-history-fields {grid-template-columns:1fr}.nko-history-wide {grid-column:auto}}
