.case-tools{max-width:960px}.case-tools .tag{display:inline-block;padding:.35rem .65rem;border-radius:1rem;background:#fff0ac;font-size:.88rem;font-weight:700;color:#2e2718}
.case-tools .bar-link{color:inherit}.case-tools .headrow,.case-tools .pair,.case-tools .button-row{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}.case-tools .headrow h2{margin:0;flex:1}.case-tools .stack{display:grid;gap:.8rem}.case-tools .two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}.case-tools label:not(.button){display:block;font-weight:650}.case-tools select,.case-tools input[type=date],.case-tools input[type=text],.case-tools textarea{width:100%;border:1px solid #cabea4;border-radius:7px;padding:.58rem;min-height:41px;box-sizing:border-box;font:inherit;color:inherit;background:#fff}
.case-tools textarea{resize:vertical;min-height:70px}.case-tools input[type=checkbox]{accent-color:#a67c08;transform:scale(1.15);margin:0 .35rem .12rem .2rem}.case-tools output,.case-tools .notice{display:block;overflow-wrap:anywhere}.case-tools .notice{color:#665535;font-size:.88rem;min-height:1.25em}.case-tools .notice[data-level=error]{color:#983c24}
.case-tools .file-ref{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.case-tools .file-ref:focus-visible+label{outline:2px solid #372c18}.case-tools .make-badge{background:#fff3bc;padding:.45rem .65rem;border-radius:6px}
.case-tools .linked-photo{display:block;border-radius:9px;max-width:100%;height:auto;max-height:310px;object-fit:contain;background:#eee8d8}.case-tools .thumbnail{width:62px;height:57px;object-fit:cover;border-radius:6px}.case-tools .subtle{color:#665943;font-size:.88rem;margin:.35rem 0}.case-tools .detail-box{padding:.8rem;border:1px solid #dbd0b9;border-radius:9px;background:#fffdf5}.case-tools .detail-box+.detail-box{margin-top:.7rem}.case-tools aside{overflow-wrap:anywhere}.case-tools .evidence-line{overflow-wrap:anywhere}.case-tools .photo-strip{display:flex;gap:.45rem;flex-wrap:wrap;margin:.7rem 0}.case-tools .photo-strip button{padding:.22rem;font:inherit;font-size:.78rem;color:inherit;background:#f8f3e6;border:1px solid #d9ceb6;border-radius:7px;display:grid;gap:.16rem;text-align:center}.case-tools .photo-strip button[aria-pressed=true]{border-color:#a57906;background:#ffed9f}.case-tools .reading{padding:.6rem;border-left:3px solid #e3b723;background:#fff8df;margin:.7rem 0;overflow-wrap:anywhere}
.case-tools .button{min-height:44px;white-space:normal}.case-tools .button[disabled]{opacity:.55;cursor:not-allowed}.case-tools [hidden]{display:none!important}.case-tools fieldset{min-width:0;border:1px solid #dbcfb5;border-radius:9px;padding:.75rem .95rem;margin:0}.case-tools legend{font-weight:700;padding-inline:.3rem}.case-tools h3{font-size:1.05rem;margin:.15rem 0 .3rem}.case-tools .part-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:.7rem}.case-tools .part-actions{display:flex;flex-wrap:wrap;gap:.5rem}.case-tools .photo-proof{margin:.4rem 0}.case-tools .photo-proof img{max-height:230px}
@media(max-width:640px){.case-tools{padding-inline:12px}.case-tools .two-col{grid-template-columns:minmax(0,1fr);gap:.9rem}.case-tools .linked-photo{max-height:245px}.case-tools .part-actions button{flex:1}.case-tools .photo-proof img{max-height:180px}}
