@font-face{font-family:DM;src:url('/font.woff2');font-weight:400;font-display:swap}*{box-sizing:border-box}html{color-scheme:light}body{margin:0;background:#f4f5f7;color:#21242c;font:16px/1.6 DM,system-ui,-apple-system,'Segoe UI',sans-serif}a{color:#a71920;text-underline-offset:3px}button,input,select,textarea{font:inherit}button,a,input,label,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #ca343d;outline-offset:3px}header{background:#fff;border-top:5px solid #a71920;border-bottom:1px solid #e4e6ea;display:flex;align-items:center;justify-content:space-between;padding:18px max(22px,calc((100vw - 1140px)/2));gap:16px}.brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:#a71920;font-size:25px;font-weight:850;letter-spacing:-.8px;line-height:1.15}.brand img{width:64px;height:64px;object-fit:contain}.brand small{display:block;color:#5e626c;font-size:13px;letter-spacing:.1px;font-weight:500;margin-top:5px}.staff{font-size:14px;white-space:nowrap;font-weight:600}main{max-width:1140px;margin:0 auto;padding:34px 22px 70px}footer{padding:22px;text-align:center;border-top:1px solid #e0e3e8;color:#696e77;font-size:13px}.intro{max-width:760px;margin:14px 0 28px}.eyebrow{text-transform:uppercase;letter-spacing:1.6px;font-size:12px;font-weight:750;color:#a71920;margin-bottom:10px}h1{font-size:clamp(30px,5vw,42px);line-height:1.14;letter-spacing:-1.4px;margin:0 0 16px}h2{font-size:22px;line-height:1.3;letter-spacing:-.4px;margin:0 0 12px}h3{font-size:17px;margin:20px 0 10px}p{margin:0 0 14px}.muted,small{color:#686d77}.muted{max-width:72ch}.card{background:#fff;border:1px solid #e0e3e8;box-shadow:0 4px 20px #20242b05;border-radius:17px;padding:28px;margin-bottom:22px;min-width:0}.narrow{max-width:610px;margin:26px auto}.notice{border:1px solid #e1c38b;background:#fff8eb;color:#694812;padding:16px 18px;border-radius:12px;margin:16px 0;line-height:1.6}.notice.good{background:#eaf6ef;color:#215d3d;border-color:#b7d8c2}.notice.bad{background:#fff1f2;color:#93222a;border-color:#e8bdc1}.notice.info{background:#f0f4f9;color:#3a4d68;border-color:#ced9e8}.btn,button[type=submit]{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#a71920;border:1px solid #a71920;color:#fff;text-decoration:none;font-weight:650;padding:12px 20px;border-radius:10px;min-height:48px}.btn.secondary{background:#fff;color:#a71920;border-color:#d6b7b9}.btn.quiet{background:#fff;color:#424650;border-color:#d9dde4}.btn.danger{background:#fff;color:#a71920}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:18px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.wide{grid-column:1/-1}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px}label{font-weight:600;font-size:14px}input,textarea,select{width:100%;border:1px solid #cdd2da;border-radius:9px;min-height:46px;padding:10px 12px;background:#fff;color:#20242a;font-size:16px}textarea{resize:vertical;min-height:110px}label small{font-weight:400;display:block}input[type=checkbox],input[type=radio]{width:20px;min-height:20px;accent-color:#a71920;flex-shrink:0}.check{display:flex;gap:10px;align-items:flex-start;font-size:15px;font-weight:400;margin:16px 0}.steps{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:26px}.step{font-size:13px;background:#fff;border:1px solid #dce0e6;padding:7px 12px;border-radius:99px;color:#646975}.step.active{color:#a71920;border-color:#d7a7ab;background:#fff3f4;font-weight:700}.upload{background:#f7f8fa;border:1px dashed #b8bec8;border-radius:12px;padding:18px}.upload input{background:#fff;font-size:14px}.photo-preview{display:block;max-width:100%;max-height:310px;margin-top:14px;border-radius:10px}.letter{white-space:pre-wrap;overflow-wrap:anywhere;background:#fafafa;padding:24px;border:1px solid #e1e4e8;border-radius:12px;font-family:Georgia,serif;line-height:1.9}.signature{width:100%;height:180px;display:block;border:1px dashed #9da4ae;border-radius:10px;background:#fff;touch-action:none}.counter{font-size:12px}.status{display:inline-flex;border-radius:99px;background:#fff0d5;color:#80591c;padding:5px 11px;font-size:13px;font-weight:650}.status.approved{background:#e1f3e8;color:#22613d}.status.rejected{background:#fbe3e6;color:#9b2831}.status.correction{background:#e4eefb;color:#245589}.receipt{text-align:center;max-width:690px;margin:20px auto}.qr{width:min(100%,280px);height:auto;display:block;margin:20px auto}.protocol{font:700 21px ui-monospace,monospace;overflow-wrap:anywhere;margin:16px 0}.toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:22px}.toolbar .search{flex:1;min-width:190px}.toolbar select{width:auto;min-width:180px}.toolbar h1{margin-right:auto;font-size:30px;margin-bottom:0}.stats{display:flex;gap:16px;margin-bottom:22px;flex-wrap:wrap}.stat{background:white;border:1px solid #e0e3e8;border-radius:12px;padding:15px 22px;min-width:140px}.stat b{font-size:26px;display:block;color:#a71920;line-height:1.2}.stat small{font-size:13px}.requests{display:grid;gap:12px}.request{display:flex;align-items:center;justify-content:space-between;gap:20px;background:white;border:1px solid #e0e3e8;border-radius:13px;padding:20px}.request h3{margin:0 0 6px}.request p{margin:0;font-size:14px;color:#656b75}.request small{display:block;font-size:12px}.request .actions{margin:0;flex-shrink:0}.split{display:grid;grid-template-columns:1.2fr 1fr;gap:22px;align-items:start}.evidence{max-width:100%;max-height:480px;object-fit:contain;background:#f7f8fa;border-radius:10px}.evidence.signature-img{max-height:160px}.facts{display:grid;grid-template-columns:1fr 1fr;gap:15px}.facts div{overflow-wrap:anywhere}.facts small{display:block;font-size:12px}details{margin:15px 0}summary{cursor:pointer;font-weight:650;padding:8px 0}.audit{padding:12px 0;border-bottom:1px solid #eee;font-size:13px;overflow-wrap:anywhere}.scanner{width:100%;max-height:320px;background:#15191d;border-radius:10px}.toast{background:#21242c;color:white}#toast:not(:empty){position:fixed;bottom:20px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 30px);z-index:20;background:#21242c;color:white;padding:14px 20px;border-radius:12px}.hidden{display:none!important}.two-line{font-size:13px;line-height:1.6}nav{display:flex;gap:8px;flex-wrap:wrap}.badge-note{font-size:12px;color:#6c717b}.decision{border-top:3px solid #a71920}.camera-note{font-size:13px;margin:10px 0}pre{white-space:pre-wrap;overflow-wrap:anywhere}code{overflow-wrap:anywhere}@media(max-width:700px){header{padding:14px 16px}.brand{font-size:21px;gap:10px}.brand img{width:48px;height:48px}.staff{font-size:12px}main{padding:24px 16px 50px}.card{padding:20px;border-radius:14px}.grid,.split{grid-template-columns:1fr;gap:10px}.wide{grid-column:auto}.actions>.btn{flex:1 1 160px}.request{display:block;padding:18px}.request .actions{margin-top:14px}.facts{gap:12px}.toolbar .search,.toolbar select{width:100%}.toolbar h1{font-size:27px}.letter{padding:16px;font-size:16px}.stat{flex:1;min-width:110px;padding:12px}.steps{gap:5px}.step{font-size:12px;padding:6px 9px}}@media print{header,.staff,footer,.no-print,.actions{display:none!important}.card{box-shadow:none}main{padding:0}.qr{width:95mm}body{background:#fff}}
