.proof-viewer {box-sizing:border-box;min-width:0;padding:1rem;color:#1b1b28;text-align:left}
.proof-viewer [hidden] {display:none!important}
.proof-viewer .proof-heading,.proof-side-head,.proof-toolbar,.proof-note-actions {display:flex;align-items:center;flex-wrap:wrap;gap:.55rem}
.proof-heading,.proof-side-head {justify-content:space-between}
.proof-viewer h3,.proof-viewer h4,.proof-viewer p,.proof-viewer label {margin:0}
.proof-viewer h3 {font-size:1.1rem;font-weight:600;line-height:1.35}
.proof-viewer h4 {font-size:.95rem}
.proof-heading a,.proof-comments button {color:#171785}
.proof-side {margin-top:1rem}
.proof-side-head {margin-bottom:.4rem}
.proof-toolbar label,.proof-note-form label {display:flex;align-items:center;gap:.35rem;font-size:.85rem}
.proof-viewer button,.proof-toolbar select {width:auto;margin:0;border:1px solid #c9c9d9;border-radius:6px;background:#fff;color:#24243f;padding:.35rem .65rem;font:inherit;font-size:.85rem;min-height:36px}
.proof-viewer button[aria-pressed="true"],.proof-note-actions .proof-primary {background:#17177f;color:white}
.proof-note-actions button:disabled {opacity:.55}
.proof-scroll {overflow:auto;max-height:min(55dvh,400px);border:1px solid #d9d9e2;border-radius:6px;background:#eeeef2;overscroll-behavior:contain}
.proof-surface {position:relative;line-height:0;width:100%;user-select:none}
.proof-surface:focus-visible {outline:3px solid #3535bf;outline-offset:-3px}
.proof-surface.marking {touch-action:none;cursor:crosshair}
.proof-surface.pannable {cursor:grab}
.proof-surface.pannable:active {cursor:grabbing}
.proof-surface img {display:block;width:100%;height:auto;pointer-events:none}
.proof-mark,.proof-trail {position:absolute;pointer-events:none}
.proof-mark {box-sizing:border-box;border:2px solid #242491;box-shadow:0 0 0 1px white,inset 0 0 0 1px #fff;background:#6666ff22}
.proof-trail {inset:0;width:100%;height:100%;overflow:visible}
.proof-trail polyline {fill:none;stroke:#ff5535;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
.proof-note-form {margin-top:.6rem}
.proof-note-form label {display:grid;justify-items:start}
.proof-note-form textarea {width:100%;display:block;padding:.55rem;border:1px solid #bdbdcc;border-radius:5px;background:white;font:inherit}
.proof-note-actions {margin-top:.45rem}
.proof-viewer .proof-hint,.proof-viewer .proof-status,.proof-viewer .proof-list-status {font-size:.82rem;line-height:1.45;margin-top:.3rem}
.proof-status:empty,.proof-list-status:empty {display:none}
.proof-comments {margin-top:1rem}
.proof-comments ol {margin:.5rem 0 0;padding-left:1.6rem}
.proof-comments li {margin:.4rem 0;overflow-wrap:anywhere}
.proof-comments button {margin-right:.55rem}
@media(max-width:700px){.proof-viewer button,.proof-toolbar select{min-height:44px}.proof-note-form textarea{font-size:16px}}
