#modal .modal-card.modal-card-sample-evaluation{width:min(1440px,calc(100vw - 28px))!important;max-width:calc(100vw - 28px)!important;height:calc(100dvh - 28px);max-height:calc(100dvh - 28px)!important}#modal .modal-card-sample-evaluation #modalBody{padding:14px 20px!important;overflow:auto!important}.se-editor{min-width:0}.se-heading{display:flex;align-items:center;gap:20px}.se-heading h2{margin:4px 0;font-size:1.4rem}.se-heading p{margin:6px 0;color:#65758d}.se-logo{max-width:160px;max-height:58px;object-fit:contain}.se-nav{display:flex;gap:6px;flex-wrap:wrap;position:sticky;top:-14px;z-index:30;background:#fff;padding:10px 0;border-bottom:1px solid #d8e1ed}.se-nav button{font-size:12px!important;padding:7px 9px!important}#seBody section{border:1px solid #dbe3ed;border-radius:12px;padding:18px;margin:14px 0;scroll-margin-top:96px}#seBody h3{margin:0 0 14px;color:#193b66;font-size:1.05rem}.se-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}#seBody fieldset{border:0;margin:0;padding:0;min-width:0}#seBody label{display:grid;gap:6px;min-width:0;font-size:.9rem}#seBody input,#seBody select,#seBody textarea{width:100%;max-width:100%;box-sizing:border-box;min-width:0;border:1px solid #cbd7e6;border-radius:7px;padding:9px;color:#253a55;background:#fff}#seBody input[readonly]{background:#f1f5fa}#seBody textarea{min-height:65px;resize:vertical}#seBody input[hidden]{display:none!important}.se-table{overflow:auto;max-height:58vh;border:1px solid #d9e2ee;border-radius:8px;margin:12px 0}.se-table table{border-collapse:collapse;width:100%;min-width:850px;font-size:.87rem}.se-table th{position:sticky;top:0;background:#e8eef6;color:#263e60;z-index:2}.se-table th,.se-table td{padding:9px;border:1px solid #d8e1ec;text-align:left;vertical-align:middle}.se-table td:nth-child(2){min-width:200px}.se-table td input{min-width:85px}.se-out td{background:#ffe8e8!important}.se-out [data-measure-result]{color:#a42d2d;font-weight:700}.se-fitting{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.se-fitting>div{border:1px solid #e1e7f0;border-radius:10px;padding:12px;min-width:0}.se-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.se-photo-grid article{background:#f2f5fa;border:1px solid #e1e6f0;border-radius:9px;padding:8px;min-width:0}.se-image{display:block;border:0;padding:0;width:100%;background:#e6edf6;cursor:zoom-in}.se-image img{display:block;width:100%;height:170px;object-fit:contain}.se-photo-buttons{display:flex;gap:8px;margin:10px 0;flex-wrap:wrap}.se-photo-buttons label{cursor:pointer;display:inline-flex!important}.se-finding,.se-piece{border-top:2px solid #dce5f1;padding:15px 0;margin-top:15px}.se-finding-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.se-piece-add{display:flex;gap:10px;align-items:center}.se-piece-add select{max-width:150px}.se-footer{position:sticky;bottom:-14px;background:#fff;padding:12px 0;border-top:1px solid #d9e2ee;z-index:40;display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.se-warning{padding:12px;background:#fff2d6;color:#79551d;border-radius:8px}.se-lightbox{border:0;border-radius:12px;padding:12px;max-width:94vw;max-height:94dvh;background:white}.se-lightbox::backdrop{background:#102038bb}.se-lightbox img{display:block;max-width:88vw;max-height:82dvh;object-fit:contain}.se-lightbox button{display:block;margin-left:auto}@media(max-width:850px){.se-fields{grid-template-columns:repeat(2,minmax(0,1fr))}#modal .modal-card-sample-evaluation #modalBody{padding:10px!important}.se-nav{top:-10px}.se-footer{bottom:-10px}.se-nav button{font-size:10px!important;padding:5px!important}#seBody section{padding:12px}.se-heading h2{font-size:1.1rem}}@media(max-width:520px){.se-fitting,.se-fields{grid-template-columns:1fr}.se-logo{max-width:90px}.se-footer{justify-content:stretch}.se-footer>*{flex:1;text-align:center}.se-nav{position:static}}

.se-heading>div{flex:1;min-width:0}.se-conclusion{display:grid;gap:6px;margin-left:auto;min-width:140px;font-size:.85rem}.se-conclusion select{border:0;border-radius:10px;padding:12px 18px;font-weight:800;font-size:1rem}.se-result-pass{background:#dff4e8;color:#17653a}.se-result-fail{background:#fde1e1;color:#a82424}.se-result-rework{background:#fff0cc;color:#795400}@media(max-width:650px){.se-heading{flex-wrap:wrap;gap:10px}.se-conclusion{min-width:110px}.se-conclusion select{padding:9px}}

/* Distinct report sections and nested inspection records. */
#seBody{background:#eef2f6;border:1px solid #d8e1e9;border-radius:12px;padding:0 14px 2px;margin-top:12px}
#seBody>section{background:#fff;border:1px solid #b9cbb9;border-radius:10px;padding:18px;margin:16px 0 20px;box-shadow:0 2px 5px #1833290a;scroll-margin-top:100px}
#seBody>section>h3{background:#385b35;color:#fff;border-radius:9px 9px 0 0;margin:-18px -18px 18px;padding:12px 18px;font-size:1rem;line-height:1.45;letter-spacing:.025em;border-bottom:1px solid #29452a}
#seBody>section:focus-within{border-color:#6c916a}
#seBody .se-fields>label{color:#354b40;font-weight:600;gap:7px}
#seBody .se-fields input,#seBody .se-fields textarea{font-weight:400}
#seBody .se-finding,#seBody .se-piece{background:#f7faf7;border:1px solid #bfcfbe;border-left:4px solid #587d51;border-radius:9px;padding:14px;margin:16px 0 4px}
#seBody .se-finding+.se-finding,#seBody .se-piece+.se-piece{margin-top:20px}
#seBody .se-finding-head{padding-bottom:10px;border-bottom:1px solid #d2dfd1;color:#2e512f;margin-bottom:14px}
#seBody .se-fitting>div{background:#f8fafc;border-color:#cbd6e1}
#seBody .se-fitting h4{margin:0 0 12px;background:#e8eef4;color:#27445c;border-radius:6px;padding:9px 12px}
#seBody .se-piece-add{padding:12px;background:#edf3ec;border:1px solid #d2dfd0;border-radius:8px;flex-wrap:wrap}
#seBody .se-piece-add button{white-space:nowrap;flex-shrink:0}
#seBody .se-photo-buttons{padding:10px 0 0;border-top:1px solid #d9e2eb}
#seBody input:focus-visible,#seBody select:focus-visible,#seBody textarea:focus-visible{outline:2px solid #6b8d64;outline-offset:2px}
@media(max-width:850px){#seBody{padding:0 9px 1px}#seBody>section{padding:12px;margin:12px 0 16px}#seBody>section>h3{margin:-12px -12px 14px;padding:10px 12px;font-size:.95rem}#seBody .se-finding,#seBody .se-piece{padding:10px}}

.se-measure-help{display:grid;gap:8px;padding:12px;margin:10px 0;background:#edf3ec;border-radius:8px}.se-measure-help label{display:flex!important;align-items:center;gap:8px!important}.se-measure-help input[type=checkbox]{width:18px!important;height:18px}.se-measure-help small{color:#405442}.se-annotation{border:0;border-radius:12px;padding:16px;width:min(1100px,94vw);max-width:94vw;max-height:94dvh;box-sizing:border-box;overflow:auto;background:#fff;color:#253a55}.se-annotation::backdrop{background:#102038bb}.se-annotation header h3{margin:0 0 6px}.se-annotation header p{font-size:13px;margin:6px 0 12px}.se-annotation-tools{display:flex;gap:8px;flex-wrap:wrap}.se-annotation-tools [aria-pressed=true]{background:#385b35!important;color:#fff!important}.se-annotation-text{display:grid;gap:5px;margin:12px 0 8px}.se-annotation-text textarea{width:100%;box-sizing:border-box;border:1px solid #b8c9d5;border-radius:6px;padding:8px;font:inherit}.se-annotation-stage{display:flex;align-items:center;justify-content:center;background:#e8edf2;margin:10px 0;min-height:120px;overflow:hidden;border-radius:8px}.se-annotation-stage canvas{display:block;max-width:100%;max-height:55dvh;width:auto;height:auto;touch-action:none;cursor:crosshair}.se-annotation-actions{position:sticky;bottom:-16px;background:#fff;display:flex;justify-content:flex-end;gap:10px;padding:12px 0}.se-annotation button{white-space:nowrap}@media(max-width:600px){.se-annotation{padding:10px;max-height:96dvh}.se-annotation-tools{gap:5px}.se-annotation-actions{bottom:-10px}.se-annotation-stage canvas{max-height:45dvh}}
.se-defect-standard{background:#edf3ec;border-left:3px solid #587d51;border-radius:5px;padding:10px 12px;font-size:13px;color:#304e32;line-height:1.5}
