.serial-card{max-width:760px;margin:16px 0;padding:clamp(20px,4vw,40px);border:1px solid #d9dedc;border-radius:16px;background:white;color:#202322}
.serial-card label{display:block;font-size:1.1rem;font-weight:700}
.serial-card p,.serial-card pre{line-height:1.65;margin:14px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.serial-card pre{max-height:20rem;overflow:auto;font:inherit;white-space:pre-wrap}
.serial-entry{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.serial-entry input{flex:1 1 220px;min-width:0;padding:12px;border:1px solid #8a938c;border-radius:8px;font:inherit}
.serial-entry button{cursor:pointer;font:inherit;border:0}
.serial-card input[type=file]{max-width:100%}
.serial-card button:disabled{opacity:.5}
.registry-scroll{overflow:auto}
#registry table{border-collapse:collapse;width:100%;text-align:left;font-size:.9rem}
#registry th,#registry td{padding:10px 8px;border-bottom:1px solid #dedede;white-space:nowrap}
#registry input[type=checkbox]{width:18px;height:18px;vertical-align:middle}
.registry-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:16px}
#registry button{padding:8px 14px;border:1px solid #bac2bf;border-radius:8px;background:white;color:#202622;cursor:pointer}
#registry #deleteSelected{margin-left:auto;color:#992b2b}
