*{box-sizing:border-box}body{color:#003a6b;background:#fff;margin:0;font-family:Instrument Sans,Noto Sans Thai,sans-serif}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}.access-screen{justify-content:center;align-items:center;min-height:100dvh;padding:8px 16px;display:flex}.access-column{flex-direction:column;align-items:center;gap:16px;width:100%;max-width:361px;display:flex}.logo{width:157px;height:56px;position:relative;overflow:hidden}.logo img{object-fit:contain;width:100%;height:100%;display:block}.logo.cropped img{width:117.78%;max-width:none;height:177.05%;position:absolute;top:-38.52%;left:-8.89%}h1{color:#2d75ab;margin:0;font-size:20px;font-weight:600}h2{color:#003a6b;margin:0;font-size:20px;font-weight:600}.access-column form{flex-direction:column;gap:16px;width:100%;display:flex}label{color:#475562;margin-bottom:-8px;font-size:14px;font-weight:600}input{color:#475562;background:#fff;border:.5px solid #889097;border-radius:8px;width:100%;height:48px;padding:12px;font-size:16px}.password-field{position:relative}.password-field input{padding-right:48px}.eye{color:#475562;background:0 0;border:0;height:24px;padding:0;position:absolute;top:12px;right:12px}.primary{color:#fff;background:#005297;border:0;border-radius:8px;width:100%;height:48px;font-size:18px;font-weight:600}.recovery{color:#003a6b;background:0 0;border:0;align-self:center;padding:0;font-size:14px;font-weight:500}.error{color:#ef2b1d;text-align:center;margin:0;font-size:14px;font-weight:400}.recovery-copy{text-align:center;margin:0;font-size:20px}.employee-screen{max-width:393px;margin:auto;padding:8px}.employee-screen header{align-items:center;gap:8px;display:flex}.employee-screen header img{border-radius:8px}.logout{color:#000;background:0 0;border:0;margin-left:auto;padding:8px}.work-unavailable{flex-direction:column;gap:8px;padding:16px 0;display:flex}.work-screen{color:#003a6b;flex-direction:column;gap:8px;max-width:393px;margin:auto;padding:8px;font-family:Noto Sans Thai,sans-serif;display:flex}.employee-header{color:#43494e;border:1px solid #b2b4b8;border-radius:8px;align-items:center;gap:8px;min-height:56px;padding:8px 16px 8px 8px;display:flex}.employee-header img,.employee-header>span:not(.photo-box){object-fit:cover;border:1px solid #a4aaaf;border-radius:5px;flex:none;width:56px;height:56px}.employee-header small{font-family:Instrument Sans,Noto Sans Thai,sans-serif;font-size:14px}.employee-header>div>div{font-size:24px;font-weight:600}.employee-header .logout{color:#43494e;height:32px;padding:0}.section-heading{color:#43494e;margin:0;font-size:28px;font-weight:600}.work-section{flex-direction:column;gap:8px;display:flex}.work-empty{color:#b2b4b8;justify-content:center;align-items:center;min-height:72px;margin:0;font-size:20px;font-weight:500;line-height:30px;display:flex}.work-card{color:#43494e;text-align:left;background:#fff;border:1px solid #dbdbdb;border-radius:8px;align-items:flex-start;gap:8px;width:100%;padding:8px;display:flex}.work-card .part-photo{object-fit:cover;border:1px solid #a4aaaf;border-radius:4px}.card-start{flex-direction:column;justify-content:center;display:flex}.card-end{white-space:nowrap;flex-direction:column;flex:1;justify-content:space-between;align-self:stretch;align-items:flex-end;min-width:0;font-size:15px;font-weight:600;display:flex}.card-title{white-space:pre;font-size:20px;font-weight:500}.incident-card .die-label{font-size:15px;font-weight:600}.incident-card time{color:#003a6b}.part-card-details{flex:1;gap:32px;min-width:0;font-size:16px;display:flex}.part-card-details .card-start{gap:8px}.part-card-details .card-title{font-family:Instrument Sans,Noto Sans Thai,sans-serif}.part-card-details .card-end{gap:8px}.line-defects{color:#8c929a;font-family:Instrument Sans,Noto Sans Thai,sans-serif;font-weight:400}.line-defects strong{color:#43494e;margin-left:4px;font-size:20px;font-weight:500}.pending,.die-label{color:#ef2b1d}.reported{color:#0ba65b}.report-shell{flex-direction:column;gap:8px;display:flex}.report-header{gap:8px;display:flex}.back-tile{color:#43494e;background:#fff;border:1px solid #dbdbdb;border-radius:8px;flex:none;justify-content:center;align-items:center;width:70px;padding:8px;display:flex}.report-summary{color:#43494e;border:1px solid #dbdbdb;border-radius:8px;flex:1;min-width:0;padding:8px}.die-summary{gap:16px;display:flex}.die-summary .card-start{flex:0 auto;min-width:0;max-width:60%}.die-summary .card-title{white-space:pre-wrap;overflow-wrap:break-word}.die-summary .card-end{white-space:normal;overflow-wrap:anywhere;text-align:right;flex:1 1 0}.die-summary .die-label{white-space:nowrap;font-size:15px;font-weight:600}.die-summary time{color:#003a6b;white-space:nowrap}.die-part{color:#473c3c}.part-summary{align-items:center;gap:8px;display:flex}.part-summary .part-photo{object-fit:cover;border:1px solid #a4aaaf;border-radius:4px}.part-summary-details{flex-direction:column;gap:8px;min-width:0;display:flex}.part-summary-details>strong{overflow-wrap:anywhere;font-family:Instrument Sans,Noto Sans Thai,sans-serif;font-size:20px;font-weight:500}.figure{color:#8c929a;white-space:nowrap;align-items:center;gap:4px;font-size:15px;display:flex}.figure strong{color:#43494e;font-family:Instrument Sans,Noto Sans Thai,sans-serif;font-size:16px;font-weight:500}.figure-row{border:1px solid #dbdbdb;border-radius:4px;justify-content:space-between;padding:4px 8px;display:flex}.figure-row .figure{gap:8px}.figure-row .figure strong{font-size:20px}.report-heading{color:#43494e;margin:0;font-size:28px;font-weight:600}.report-shell h3{color:#43494e;margin:0;font-size:20px;font-weight:600}.report-shell h3 label{font:inherit;color:inherit}.upload-placeholder{color:#889197;text-align:center;border:.5px solid #889097;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:8px;width:min(328px,100%);min-height:160px;margin:auto;padding:24px;font:500 18px Inter,Noto Sans Thai,sans-serif;display:flex}.cause-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.cause{color:#003a6b;background:#d9d9d9;border:0;border-radius:4px;width:100%;min-height:40px;font-size:20px;font-weight:700}.cause:disabled,.back-tile:disabled{opacity:1}.cause.selected{color:#fff;background:#003a6b}.report-submit{color:#fff;background:#003a6b;border:0;border-radius:8px;width:100%;min-height:56px;font-size:28px;font-weight:600}.report-submit:disabled{opacity:1}.part-photo{flex:none;width:56px;height:56px}.photo-box{border-radius:4px;flex:none;width:56px;height:56px;display:block;position:relative;overflow:hidden}.employee-header .photo-box{border-radius:5px}.photo-box img{opacity:0;transition:opacity .2s ease-out;position:absolute;inset:0}.photo-box[data-photo=loaded] img{opacity:1}.photo-box[data-photo=shown] img{opacity:1;transition:none}.photo-box[data-photo=failed]{color:#8c9194;background:#f1f2f4;justify-content:center;align-items:center;display:flex}.bone,.photo-box[data-photo=loading],.photo-box[data-photo=loaded]{background:linear-gradient(90deg,#e3e5e8 30%,#f4f5f6 50%,#e3e5e8 70%) 50% 0/300% 100%}.bone,.photo-box[data-photo=loading]{animation:1.6s linear infinite shimmer}@keyframes shimmer{0%{background-position:100% 0}to{background-position:0 0}}@media (prefers-reduced-motion:reduce){.bone,.photo-box[data-photo=loading]{animation:none}.photo-box img{transition:none}}.bone{border-radius:4px;flex:none;display:block}.bone-line{align-items:center;height:23px;display:flex}.card-end .bone-line{justify-content:flex-end}.bone-line.title{height:30px}.bone-line.part,.bone-line.process{height:24px}.bone-line.defects{height:26px}.bone.photo{width:56px;height:56px}.bone.machine{width:156px;height:15px}.bone.die{width:89px;height:11px}.bone.time{width:57px;height:11px}.bone.status-pending{width:60px;height:11px;margin-right:4px}.bone.status-reported{width:73px;height:11px}.bone.part{width:70px;height:15px}.bone.process{width:62px;height:12px}.bone.defects{width:83px;height:11px;margin-right:19px}.bone.count{width:30px;height:15px;margin-right:9px}.shell-submit{background:#c1c1c1}.save-spinner{vertical-align:middle;width:24px;height:24px;display:inline-block;position:relative}.save-spinner i{transform-origin:1.5px 12px;background:#fff;border-radius:1.5px;width:3px;height:7px;animation:.8s linear infinite save-spoke;position:absolute;top:0;left:10.5px}.save-spinner i:first-child{animation-delay:-.8s;transform:rotate(0)}.save-spinner i:nth-child(2){animation-delay:-.7s;transform:rotate(45deg)}.save-spinner i:nth-child(3){animation-delay:-.6s;transform:rotate(90deg)}.save-spinner i:nth-child(4){animation-delay:-.5s;transform:rotate(135deg)}.save-spinner i:nth-child(5){animation-delay:-.4s;transform:rotate(180deg)}.save-spinner i:nth-child(6){animation-delay:-.3s;transform:rotate(225deg)}.save-spinner i:nth-child(7){animation-delay:-.2s;transform:rotate(270deg)}.save-spinner i:nth-child(8){animation-delay:-.1s;transform:rotate(315deg)}@media (prefers-reduced-motion:reduce){.save-spinner i{animation:none}}@keyframes save-spoke{0%{opacity:1}to{opacity:.25}}.save-error{text-align:center;color:#f3564a;font:14px Inter,Noto Sans Thai,sans-serif}.dialog-backdrop{z-index:10;background:#88909780;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.report-dialog{box-sizing:border-box;background:#fff;border-radius:16px;flex-direction:column;gap:16px;width:320px;padding:16px;display:flex;position:relative;box-shadow:0 8px 24px #0003,0 2px 6px #0002}.report-dialog h2{text-align:center;margin:0;font-size:24px}.report-dialog p{color:#3a4f6e;text-align:center;margin:0;font-size:20px;font-weight:500}.success-title{color:#0ba65b}.validation-title{color:#ef2b1d}.dialog-close{color:#889197;background:0 0;border:0;width:24px;height:24px;padding:0;display:flex;position:absolute;top:16px;right:16px}.dialog-action{color:#fff;background:#003a6b;border:0;border-radius:8px;min-height:48px;font-size:20px}.photo-upload{border-radius:8px;width:328px;min-height:328px;margin:0 auto;position:relative;overflow:hidden}.photo-upload .upload-placeholder{width:328px;height:328px}.photo-picker{opacity:0;cursor:pointer;width:100%;height:328px;position:absolute;inset:0}.photo-preview{object-fit:cover;border-radius:8px;width:328px;height:328px;display:block}.photo-delete{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#005297;cursor:pointer;background:#ffffffb3;border:0;border-radius:8px;padding:8px;display:flex;position:absolute;top:8px;right:8px}.photo-upload.uploading{outline-offset:-.5px;outline:.5px solid #889197;flex-direction:column;justify-content:center;align-items:center;gap:8px;height:328px;padding:24px;display:flex}.upload-title{color:#2d75ab;font:500 18px Inter,Noto Sans Thai,sans-serif}.upload-track{background:#eeeff0;border-radius:4px;width:280px;height:4px;overflow:hidden}.upload-track>div{background:#2d75ab;height:4px}.photo-failure{color:#f3564a;text-align:center;margin:0;font:400 14px Inter,Noto Sans Thai,sans-serif}.photo-preview~.photo-failure{margin-top:8px}.part-card-details .card-end .target{align-items:baseline;gap:8px;display:flex}.part-card-details .card-end .target strong{margin-left:0}.box-line{color:#43494e;justify-content:space-between;gap:8px;font-size:15px;display:flex}.box-line>:first-child{font-size:16px}.box-line strong{font-weight:600}.box-card{min-height:72px}.box-card:disabled{opacity:1}.box-card .card-start{gap:8px}.box-title,.box-figures{gap:8px;display:flex}.box-title strong{font-family:Instrument Sans,Noto Sans Thai,sans-serif;font-size:20px;font-weight:500}.count-summary{flex:1}.count-summary .box-figures{justify-content:space-between}.box-title,.box-figures{flex-wrap:wrap}.box-title strong,.box-figures .figure strong{overflow-wrap:anywhere;min-width:0}.box-figures .figure{white-space:normal;min-width:0}.box-card .card-start,.count-summary{min-width:0}.box-card .card-end{justify-content:flex-start;gap:4px}.box-ticks{gap:8px;display:flex}.box-tick{border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;display:flex}.box-tick.empty{border:2px solid #b2b4b8}.box-tick.own{background:#0ba65b}.box-tick.other{background:#b2b4b8}.box-status{color:#43494e;font-size:15px;font-weight:600}.box-status.short,.box-status.count-again{color:#f3564a}.add-report{color:#2d75ab;background:#fff;border:1px solid #003a6b;border-radius:8px;width:100%;min-height:56px;margin-top:auto;font-size:28px;font-weight:600}.code-row{gap:8px;display:flex}.code-row input{border:1px solid #889197;flex:1;min-width:0;height:50px;font-family:Instrument Sans,Noto Sans Thai,sans-serif}.code-submit{color:#fff;background:#003a6b;border:0;border-radius:8px;flex:none;width:96px;font-size:18px;font-weight:600}.code-error{color:#f02c1d;text-align:left;margin:0;font-family:Instrument Sans,Noto Sans Thai,sans-serif;font-size:14px}input.system-pieces{color:#889197;border:.5px solid #dbdbdb}.order-card .card-start{flex:1 1 0;min-width:0}.order-card .card-title{white-space:pre-wrap;overflow-wrap:anywhere}.order-card .card-end{flex:none}.scan-camera{background:#43494e;border-radius:8px;height:400px;position:relative;overflow:hidden}.scan-camera video{object-fit:cover;width:100%;height:100%}.scan-guide{border:3px solid #fff;border-radius:8px;width:297px;max-width:calc(100% - 32px);height:120px;position:absolute;top:120px;left:50%;transform:translate(-50%)}.scan-hint{color:#fff;text-align:center;margin:0;font:500 18px/27px Noto Sans Thai,sans-serif;position:absolute;top:272px;left:0;right:0}.scan-controls{justify-content:center;gap:8px;display:flex;position:absolute;bottom:12px;left:12px;right:12px}.scan-controls button{color:#fff;background:#0000008c;border:0;border-radius:8px;min-height:44px;padding:0 16px;font:600 16px/24px Noto Sans Thai,sans-serif}.scan-controls button[aria-pressed=true]{background:#003a6b}.scan-camera-off{justify-content:center;align-items:center;padding:24px;display:flex}.scan-camera-off p{color:#889197;text-align:center;margin:0;font:500 20px/30px Noto Sans Thai,sans-serif}
