*{box-sizing:border-box}body{margin:0;font-family:"Noto Sans Thai",system-ui,-apple-system,sans-serif;color:#132e46;background:#f4f7f8;font-size:16px;line-height:1.5}header{background:#102c46;color:white;border-bottom:4px solid #00877b}.wrap,main{max-width:1120px;margin:auto}.wrap{height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 28px}.brand,.tools,nav,.row,.actions{display:flex;align-items:center;gap:12px}.brand{color:white;text-decoration:none;font-weight:800;font-size:25px;letter-spacing:.01em}.brand img{width:38px;height:38px}.brand span{font-size:11px;letter-spacing:.18em;color:#b9d4db}.tools small{font-size:13px}.lang,.camera-tools button,.camera-head button{color:white;background:transparent;border-color:#75909b}.strip{background:#fff1d1;color:#573e0c;text-align:center;padding:5px;font-size:14px}main{padding:28px;min-height:80vh}h1{font-size:clamp(26px,4vw,40px);line-height:1.22;margin:18px 0 12px;letter-spacing:-.03em}h2{font-size:19px;margin:0 0 16px}h3{font-size:16px;margin:7px 0}p{margin:6px 0 15px}.muted,small{color:#526978}.tools small{color:#cbe1df}button,input,select,textarea,.filepick{font:inherit;border:1px solid #acbac4;border-radius:6px;min-height:48px;padding:9px 14px}button,.filepick{font-weight:650;cursor:pointer;background:white;color:#183951}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,input:focus,select:focus,textarea:focus{outline:3px solid #15958a;outline-offset:2px}.primary{border-color:#006f67;background:#006f67;color:white}.filepick{display:inline-flex;align-items:center;position:relative;cursor:pointer}.filepick input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.filepick:focus-within{outline:3px solid #15958a}.layout{display:grid;grid-template-columns:1.1fr 1fr;gap:24px;align-items:start}.panel{padding:24px;background:white;border:1px solid #d0dade;border-radius:9px}.actions{flex-wrap:wrap}.hero{background:#173b51;color:white;border-radius:8px;overflow:hidden}.hero svg{width:100%;height:150px;display:block;background:#123148}.heroBody{padding:18px 22px}.heroBody h2{font-size:22px}.heroBody .primary{background:#9ce4d2;border-color:#9ce4d2;color:#0a3541}.heroBody .filepick{background:transparent;color:white;border-color:#a5c4d0}.section{margin-top:24px}.field{display:grid;gap:4px;margin-bottom:12px;font-weight:600;font-size:14px}.field input,.field select,.field textarea{width:100%;color:inherit;background:white;font-size:16px}.field input[data-code]{font-size:23px;letter-spacing:.065em;text-transform:uppercase}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.status{border-left:3px solid #08766b;background:#eaf5f2;padding:10px 14px;margin:12px 0;white-space:pre-line}.note{background:#fff2d9;color:#5b4217;border-left-color:#a6600a}.list{list-style:none;margin:0;padding:0}.list li,.event{padding:12px 0;border-bottom:1px solid #d5dfe2}.list button{width:100%;text-align:start}.row{justify-content:space-between;flex-wrap:wrap}nav{border-bottom:1px solid #c6d3da;margin-bottom:18px;flex-wrap:wrap}nav button{border:0;background:transparent;border-radius:0;border-bottom:3px solid transparent}nav button[aria-current=true]{border-color:#00786d}textarea{resize:vertical}.endcap{position:sticky;bottom:0;margin-top:16px;padding:10px 0 max(10px,env(safe-area-inset-bottom));background:#f4f7f8}.diagram{display:block;width:100%;max-height:220px;cursor:crosshair;touch-action:manipulation;background:#ecf2f2;border:1px solid #b9cacf}.photo{max-width:150px;max-height:100px;margin:4px}.code{font-family:ui-monospace,monospace}.camera-head,.camera-tools{padding:14px max(16px,env(safe-area-inset-left));background:#102b3b;color:white}.camera-head{display:flex;align-items:center;justify-content:space-between}.camera-tools{padding-bottom:max(18px,env(safe-area-inset-bottom));display:flex;gap:8px;flex-wrap:wrap}.camera-tools p{width:100%;margin:0}.camera-tools .primary{background:#00746c}dialog[open]{position:fixed;inset:0;margin:0;border:0;padding:0;width:100%;height:100dvh;max-width:100%;max-height:100%;display:flex;flex-direction:column;background:#13242e}.lens{flex:1;position:relative;overflow:hidden;min-height:120px}.lens video{position:absolute;width:100%;height:100%;object-fit:cover}.lens #roi{position:absolute;width:85%;height:23%;top:39%;left:7.5%;border:3px solid #88edcc;box-shadow:0 0 0 100vmax #071b2680}.lens #roi.vertical{width:22%;height:83%;top:8%;left:39%}.pin{fill:#e17023;stroke:white;stroke-width:2}.radio{display:flex;align-items:center;gap:8px}.radio input{width:21px}.progress{margin-top:12px}[hidden]{display:none!important}#feedback{white-space:pre-line;font-weight:600}@media(max-width:760px){.wrap{padding:0 16px;height:60px}main{padding:16px 14px max(20px,env(safe-area-inset-bottom))}.layout{grid-template-columns:1fr;gap:14px}.panel{padding:16px}.hero svg{height:108px}.heroBody{padding:14px}.section{margin-top:14px}.row{gap:6px}.actions>*{flex:1;justify-content:center;text-align:center}.grid{gap:0 8px}.tools{gap:7px}h1{margin-top:10px}}
