:root{font-family:system-ui,sans-serif;color:#172033;background:#f4f7fa}*{box-sizing:border-box}body{margin:0}main{max-width:1500px;margin:auto;padding:1.2rem}header{background:#17365d;color:#fff;padding:1.3rem;border-radius:.5rem}h1{margin:0 0 .25rem}.security{margin:1rem 0;padding:1rem;border:2px solid #28755b;background:#eefaf5;border-radius:.5rem}.security h2{margin-top:0}.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.5rem}.counters{margin:.8rem 0;font-family:monospace}.toolbar,.actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:.8rem 0}.file,button{border:1px solid #315780;border-radius:.3rem;padding:.55rem .75rem;background:#fff;color:#17365d;font-weight:650;cursor:pointer}.file input{margin-left:.5rem}button:disabled{opacity:.45;cursor:not-allowed}.danger{border-color:#a33;color:#821d1d}.layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(480px,1fr);gap:1rem}.layout>section,details{background:#fff;padding:1rem;border:1px solid #cad4df;border-radius:.4rem}.preview{position:relative;min-height:260px;background:#e7edf2;display:grid;place-items:center;overflow:hidden}.preview img{display:block;width:100%;height:auto}.preview img:not([src]){display:none}#boxes{position:absolute;inset:0}.box{position:absolute;padding:0;border:2px solid #cf711a;background:#ffd36a20}.box.selected{border-color:#087a5b;background:#00b77c20}.box.highlighted{border:4px solid #e21d52;background:#ff2f6838;z-index:2}.table-wrap{max-height:620px;overflow:auto}table{border-collapse:collapse;width:100%}th,td{padding:.45rem;border-bottom:1px solid #d9e1e9;text-align:left}tr.selected{background:#effaf6}tr.highlighted{outline:3px solid #e21d52;outline-offset:-3px}#error{color:#a01818;font-weight:700;min-height:1.3rem}progress{width:160px}pre{white-space:pre-wrap;max-height:350px;overflow:auto}details{margin-top:1rem}summary{font-size:1.2rem;font-weight:700;cursor:pointer}button:focus-visible,input:focus-visible,.file:focus-within{outline:3px solid #ffbf47;outline-offset:2px}@media(max-width:900px){.layout{grid-template-columns:1fr}.table-wrap{max-height:none}}
