.pack-inventory{display:grid;gap:16px}
.pack-inventory #opened:empty{display:none}
.pack-inventory-box,.inventory-archive{min-width:0}
.pack-key-list{list-style:none;padding:0;margin:0}
.pack-key-row,.pack-history-row summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:10px 0}
.pack-key-row+.pack-key-row,.pack-history-row{border-top:1px solid var(--line,#534961)}
.pack-key-row .actions{margin:0}
.pack-row-title{display:grid;min-width:0;gap:2px;overflow-wrap:anywhere}
.pack-row-title time,.pack-row-title code{font-size:.85rem}
.pack-history-row summary{list-style:none;cursor:pointer}
.pack-history-row summary::-webkit-details-marker{display:none}
.pack-history-row summary:focus-visible,.inventory-archive>summary:focus-visible{outline:2px solid currentColor;outline-offset:2px;border-radius:4px}
.pack-view-label{color:var(--gold,#e4bc74);font-weight:700}
.pack-history-row[open]>summary .pack-view-label span:first-child,.pack-history-row:not([open])>summary .pack-view-label span:last-child{display:none}
.pack-history-row [data-pack-preview]{min-width:0;padding:4px 0 12px}
.inventory-archive>summary{cursor:pointer;font-size:1.15rem;font-weight:700}
.inventory-archive-body{display:grid;gap:14px;margin-top:12px}
