:root{--gray-0:#fff;--gray-100:#f2f2f7;--gray-200:#e5e5ea;--gray-300:#d1d1d6;--gray-400:#aeaeb2;--gray-500:#8e8e93;--gray-600:#636366;--gray-700:#48484a;--gray-800:#2c2c2e;--gray-900:#1c1c1e;--primary-0:#f0f5f9;--primary-100:#dbe7f0;--primary-200:#b8cfe2;--primary-300:#8cb1d0;--primary-400:#5c90bc;--primary-500:#2e71aa;--primary-600:#005297;--primary-700:#004279;--primary-800:#00315b;--primary-900:#00213c;--accent-red:#ff3b30;--accent-orange:#ff9500;--accent-yellow:#fc0;--accent-green:#34c759;--accent-blue:#007aff;--tint-blue:#007aff33;--tint-red:#ff3b3033;--overlay:#0003;--font-en:"Instrument Sans", "Noto Sans Thai", sans-serif;--font-th:"Noto Sans Thai", sans-serif;--radius-field:8px;--radius-sheet:16px;--radius-card:24px;--radius-pill:100px;--shadow-popup:1.25px 0 0 #dbdbdb, -1.25px 0 0 #dbdbdb, 0 8px 48px #00000040;--shadow-banner:0 8px 12px #0000001f}*{box-sizing:border-box}body{font-family:var(--font-en);color:#003a6b;background:#fff;margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}.access-screen{min-height:100dvh;font-family:var(--font-en);justify-content:center;align-items:center;padding:24px;display:flex;position:relative;overflow:hidden}.access-background{width:100%;height:100%;position:fixed;inset:0}.access-card{border-radius:var(--radius-card);background:var(--gray-0);width:100%;max-width:342px;box-shadow:var(--shadow-popup), inset 0 40px 10px -40px #282828, inset 0 -40px 10px -40px #282828;flex-direction:column;align-items:center;gap:16px;padding:16px;display:flex;position:relative}.brand-header{flex-direction:column;align-items:center;width:100%;display:flex}.logo{width:157px;height:56px;position:relative;overflow:hidden}.logo img,.top-bar-logo img{object-fit:contain;width:100%;height:100%;display:block}.logo.cropped img,.top-bar-logo.cropped img{width:117.78%;max-width:none;height:177.05%;position:absolute;top:-38.52%;left:-8.89%}.access-card h1{color:var(--primary-600);text-align:center;margin:0;font-size:24px;font-weight:600;line-height:36px}.access-card h2{color:var(--gray-800);font-size:20px;line-height:32px}.recovery-copy{color:var(--gray-600);text-align:center;margin:0;font-size:16px;line-height:26px}.access-card form{flex-direction:column;gap:16px;width:100%;display:flex}.field{flex-direction:column;gap:4px;display:flex}.access-card label{color:var(--gray-700);margin:0;font-size:14px;font-weight:600;line-height:22px}.access-card input{border:.5px solid var(--gray-500);border-radius:var(--radius-field);background:var(--gray-0);width:100%;height:48px;color:var(--gray-800);padding:12px;font-size:16px;line-height:26px}.access-card input::placeholder{color:var(--gray-500)}.access-card input[aria-invalid=true]{border-color:var(--accent-red)}.password-field{position:relative}.password-field input{padding-right:48px}.eye{height:24px;color:var(--gray-500);background:0 0;border:0;padding:0;position:absolute;top:12px;right:12px}.field-error,.form-note{color:var(--accent-red);font-family:var(--font-th);margin:0;font-size:12px;line-height:20px}.form-note{text-align:center}.pill-button{border-radius:var(--radius-pill);background:var(--primary-700);width:100%;height:48px;color:var(--gray-0);border:0;font-size:18px;font-weight:600;line-height:28px}.pill-button:disabled{opacity:1;background:var(--gray-400)}.text-link,.sign-out-retry{background:0 0;border:0;align-self:center;padding:0;font-weight:600}.text-link{color:var(--primary-500);font-size:14px;line-height:22px}.sign-out-retry{color:var(--accent-red);font-family:var(--font-th);font-size:18px;line-height:28px}.alert-banner{z-index:2;border-radius:var(--radius-sheet);background:var(--accent-red);max-width:358px;box-shadow:var(--shadow-banner);color:var(--gray-0);font-family:var(--font-th);align-items:center;gap:12px;margin:0 auto;padding:12px 12px 12px 16px;display:flex;position:fixed;top:56px;left:16px;right:16px}.alert-banner svg{flex:none}.alert-banner p{flex:1;margin:0;font-size:14px;font-weight:600;line-height:22px}.alert-banner button{border-radius:var(--radius-pill);background:var(--gray-0);color:var(--accent-red);border:0;flex:none;padding:6px 12px;font-size:14px;font-weight:600;line-height:22px}html:has(.top-bar){scroll-padding-top:49px}.top-bar{z-index:1;border-bottom:.5px solid var(--gray-200);background:var(--gray-0);justify-content:space-between;align-items:center;margin:-8px -8px 0;padding:8px 16px;display:flex;position:sticky;top:0}.top-bar-logo{width:90px;height:32px;position:relative;overflow:hidden}.work-screen.with-tab-bar{padding-bottom:calc(88px + env(safe-area-inset-bottom))}html:has(.tab-bar){scroll-padding-bottom:calc(88px + env(safe-area-inset-bottom))}.tab-bar{bottom:calc(16px + env(safe-area-inset-bottom));z-index:0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffe6;border-radius:56px;justify-content:space-between;gap:16px;width:308px;padding:4px;display:flex;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #0000001f}.tab{width:88px;color:var(--gray-500);font-family:var(--font-th);-webkit-tap-highlight-color:transparent;background:0 0;border:0;border-radius:32px;flex-direction:column;align-items:center;gap:2px;padding:4px 0;font-size:10px;line-height:14px;display:flex}.tab svg{color:var(--gray-600)}.tab[aria-current=page]{background:var(--tint-blue);color:var(--primary-600)}.tab[aria-current=page] svg{color:var(--primary-600)}.avatar-button{background:0 0;border:0;border-radius:50%;padding:0}.avatar,.avatar-button .photo-box{background:var(--gray-200);object-fit:cover;border-radius:50%;width:32px;height:32px;display:block}.avatar-button .photo-box{border:.5px solid var(--gray-0)}.sheet-overlay{z-index:3;background:var(--overlay);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);justify-content:center;align-items:flex-end;padding:16px;display:flex;position:fixed;inset:0}.account-sheet{width:100%;max-width:358px;font-family:var(--font-th);flex-direction:column;gap:8px;display:flex}.account-card{border-radius:var(--radius-sheet);background:var(--gray-0);flex-direction:column;display:flex;overflow:hidden}.account-header{border-bottom:1px solid var(--gray-200);align-items:center;gap:12px;padding:16px;display:flex}.account-header .avatar,.account-header .photo-box{border-radius:50%;width:44px;height:44px}.account-header>div{flex-direction:column;display:flex}.account-header small{color:var(--gray-500);font-size:12px;line-height:20px}.account-header strong{color:var(--gray-800);font-size:16px;font-weight:600;line-height:26px}.sheet-action{background:var(--gray-0);border:0;width:100%;padding:14px 0;font-size:18px;font-weight:600;line-height:28px}.sheet-action.destructive{color:var(--accent-red)}.sheet-action.cancel{border-radius:var(--radius-sheet);color:var(--primary-600)}h2{color:#003a6b;margin:0;font-size:20px;font-weight:600}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}.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}.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}.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}.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}.basket-heading{color:var(--primary-600);font:600 20px/32px var(--font-th);margin:8px 0 0}.basket-hint{color:var(--gray-600);font:400 14px/22px var(--font-th);margin:0}.scan-button{border-radius:var(--radius-pill);background:var(--primary-600);width:100%;min-height:48px;color:var(--gray-0);font:600 18px/28px var(--font-th);border:0;justify-content:center;align-items:center;gap:8px;display:flex}.basket-list-heading{color:var(--gray-800);font:600 16px/26px var(--font-th);margin:8px 0 0}.basket-card{border-radius:var(--radius-field);background:var(--gray-0);text-align:left;border:0;flex-direction:column;align-items:stretch;gap:4px;padding:8px;display:flex}.basket-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.basket-title{overflow-wrap:anywhere;min-width:0;color:var(--gray-700);font:600 18px/28px var(--font-th)}.basket-status{color:var(--gray-700);font:400 14px/22px var(--font-th);flex:none;align-items:center;gap:4px;display:flex}.basket-status:before{content:"";background:var(--accent-orange);border-radius:50%;width:8px;height:8px}.basket-status.mismatch:before{background:var(--accent-red)}.basket-status.counted:before{background:var(--accent-green)}.basket-meta{min-width:0;color:var(--gray-700);font:400 12px/20px var(--font-th);flex-wrap:wrap;align-items:center;display:flex}.basket-meta>*+:before{content:"";background:var(--gray-300);vertical-align:middle;border-radius:50%;width:5px;height:5px;margin:0 6px;display:inline-block}.basket-meta>*{overflow-wrap:anywhere}.basket-marks{flex:none;gap:8px;display:flex}.basket-mark{box-sizing:border-box;border:1px solid var(--gray-400);background:var(--gray-0);width:20px;height:20px;color:var(--gray-700);font:600 10px/14px var(--font-en);border-radius:50%;justify-content:center;align-items:center;display:flex}.basket-mark.counted{border-color:var(--accent-green);background:var(--accent-green);color:var(--gray-0)}.basket-mark.redo{border-color:var(--accent-orange);background:var(--accent-orange);color:var(--gray-0)}.basket-mark.own{box-shadow:0 0 0 1.5px var(--gray-700)}.scan-screen .report-heading{text-align:left;margin:8px 0 0}.secondary-pill{border-radius:var(--radius-pill);background:var(--gray-300);width:100%;min-height:48px;color:var(--gray-700);font:600 18px/28px var(--font-th);border:0}.basket-detail .report-header{align-items:center}.basket-detail .back-tile{background:0 0;border:0;width:40px}.basket-detail-title{overflow-wrap:anywhere;min-width:0;color:var(--gray-800);font:600 20px/32px var(--font-th);margin:0}.basket-summary{gap:8px;display:flex}.basket-summary .part-photo{border-radius:var(--radius-field);width:64px;height:64px}.basket-facts,.basket-history{border-radius:var(--radius-field);background:var(--gray-0);flex:1;min-width:0;margin:0}.basket-facts>div,.basket-history>div{justify-content:space-between;align-items:center;gap:8px;min-height:32px;padding:0 8px;display:flex}.basket-facts>div+div,.basket-history>div+div{border-top:.5px solid var(--gray-200)}.basket-facts dt,.basket-history dt{color:var(--gray-400);font:400 12px/20px var(--font-th);flex:none}.basket-facts dd{overflow-wrap:anywhere;text-align:right;min-width:0;color:var(--gray-700);font:400 14px/22px var(--font-th);margin:0}.basket-history dd{text-align:right;min-width:0;color:var(--gray-700);font:400 10px/14px var(--font-th);align-items:center;gap:8px;margin:0;display:flex}.basket-history dd:before{content:"";background:var(--accent-green);border-radius:50%;flex:none;width:8px;height:8px}.basket-history dd.waiting:before{background:var(--accent-orange)}.basket-detail h3.basket-section{color:var(--gray-800);font:600 16px/26px var(--font-th);margin:8px 0 0}.basket-detail h3{color:var(--gray-800);font:600 14px/22px var(--font-th);margin:8px 0 0}.basket-actions{gap:8px;display:flex}.basket-actions>*{flex:1}.basket-actions .secondary-pill{background:var(--gray-200);color:var(--gray-500)}.basket-actions .report-submit{border-radius:var(--radius-pill);background:var(--primary-600);min-height:48px;font:600 18px/28px var(--font-th)}.basket-actions .report-submit:disabled{background:var(--gray-400)}.code-row{gap:8px;display:flex}.code-row input{border:1px solid var(--gray-400);min-width:0;height:48px;font-family:var(--font-en);flex:1}.code-submit{border-radius:var(--radius-pill);background:var(--primary-600);width:96px;color:var(--gray-0);font:600 18px/28px var(--font-th);border:0;flex:none}.code-submit:disabled{background:var(--gray-400)}.code-error{color:var(--accent-red);font:400 12px/20px var(--font-th);text-align:left;margin:0}.alert-dialog{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#ffffffeb;border-radius:24px;gap:0;padding:0;overflow:hidden}.alert-dialog h2{color:var(--gray-800);font:600 20px/32px var(--font-th);padding:20px 16px 8px}.alert-dialog p{color:var(--gray-700);font:400 14px/22px var(--font-th);padding:0 16px 16px}.alert-action{border:0;border-top:.5px solid var(--gray-500);min-height:60px;color:var(--gray-600);font:600 16px/26px var(--font-th);background:0 0}.alert-action.primary{color:var(--accent-blue)}.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{gap:13px;display:flex;position:absolute;top:8px;right:13px}.scan-controls button{color:#2c2c2e;background:#d1d1d6;border:0;border-radius:50%;place-items:center;width:40px;height:40px;padding:0;display:grid}.scan-controls button[aria-pressed=true]{color:#fff;background:#8e8e93}.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}body:has(.work-screen){background:var(--gray-100)}.section-heading.incidents,.work-section.incidents{margin:0 8px}.section-heading.incidents{color:var(--primary-600);font-size:20px;line-height:32px}.incident-card{background:var(--gray-0);font-family:var(--font-th);border:0;justify-content:space-between;align-items:center}.incident-card .card-start{min-width:0}.incident-title{flex-wrap:wrap;align-items:center;column-gap:8px;display:flex}.incident-card .card-title{color:var(--gray-700);white-space:pre-wrap;overflow-wrap:anywhere;font-size:18px;font-weight:600;line-height:28px}.incident-card .pending,.incident-card .reported{white-space:nowrap;align-items:center;gap:4px;font-size:14px;font-weight:400;line-height:22px;display:flex}.incident-card .pending{color:var(--accent-red)}.incident-card .reported{color:var(--gray-600)}.incident-card .pending:before,.incident-card .reported:before{content:"";background:var(--accent-red);border-radius:50%;width:8px;height:8px}.incident-card .reported:before{background:var(--accent-green)}.incident-meta{color:var(--gray-500);gap:8px;font-size:14px;line-height:22px;display:flex}.incident-card .incident-meta time,.incident-card .incident-meta .die-label{color:inherit;font-size:inherit;font-weight:400}.incident-icon{width:40px;height:40px;color:var(--gray-600);border-radius:56px;flex:none;justify-content:center;align-items:center;display:flex}.incident-card:has(.reported) .incident-icon{color:var(--gray-300)}.incident-card:active:has(.pending) .incident-icon{background:var(--tint-red);color:var(--accent-red)}.incident-card.skeleton-card .bone-line{height:28px}.incident-card.skeleton-card .incident-meta .bone-line{height:22px}.incident-card.skeleton-card .bone{border-radius:8px;height:16px}.incident-card.skeleton-card .bone.machine{width:122px}.incident-card.skeleton-card .incident-title .bone-line:first-child{width:143px}.incident-card.skeleton-card .bone.status-pending{width:49px;margin:0}.incident-card.skeleton-card .bone.status-reported{width:56px}.incident-card.skeleton-card .bone.time{width:31px}.incident-card.skeleton-card .incident-meta .bone-line:first-child{width:36px}.incident-card.skeleton-card .bone.die{width:68px}.incident-card.skeleton-card .bone.icon{border-radius:16px;width:32px;height:32px}.empty-state{border-radius:var(--radius-sheet);background:var(--gray-0);font-family:var(--font-th);text-align:center;flex-direction:column;align-items:center;gap:12px;padding:32px 24px;display:flex}.empty-icon{background:var(--gray-100);width:64px;height:64px;color:var(--gray-400);border-radius:32px;justify-content:center;align-items:center;display:flex}.empty-state .work-empty{min-height:0;color:var(--gray-700);font-size:18px;font-weight:600;line-height:28px}.empty-note{color:var(--gray-500);margin:0;font-size:14px;line-height:22px}.work-unavailable:has(.empty-state){margin:0 8px;padding:48px 0 0}.die-report{font-family:var(--font-th);gap:12px;padding:0 8px 64px}.die-report .top-bar{margin:-8px -16px 0}.back-header{align-items:flex-start;gap:8px;display:flex}.back-arrow{color:var(--gray-700);background:0 0;border:0;flex:none;padding:0;display:flex}.back-arrow:disabled{opacity:1}.back-header .card-title{min-width:0;color:var(--gray-800);white-space:pre-wrap;overflow-wrap:anywhere;font-size:20px;font-weight:600;line-height:32px}.die-report h3{color:var(--gray-700);font-size:16px;font-weight:600;line-height:26px}.detail-rows{border-radius:var(--radius-field);background:var(--gray-0);margin:0;font-size:12px;line-height:20px;overflow:hidden}.detail-rows>div{border-bottom:.5px solid var(--gray-300);align-items:flex-start;gap:16px;padding:6px 8px;display:flex}.detail-rows>div:last-child{border-bottom:0}.detail-rows dt{width:116px;color:var(--gray-400);flex:none}.detail-rows dd{min-width:0;color:var(--gray-700);text-align:right;white-space:pre-wrap;overflow-wrap:anywhere;flex:1;margin:0}.die-report .cause{border-radius:var(--radius-pill);background:var(--gray-0);min-height:48px;color:var(--gray-700);font-size:18px;font-weight:400;line-height:28px}.die-report .cause.selected{background:var(--accent-blue);color:var(--gray-0);font-weight:600}.die-report .report-submit{border-radius:var(--radius-pill);background:var(--primary-600);min-height:48px;margin-top:0;font-size:18px;line-height:28px}.die-report .report-submit.shell-submit{background:var(--gray-400)}.photo-upload.nov26{border-radius:var(--radius-field);width:100%;min-height:328px}.photo-upload.nov26 .upload-placeholder{border-color:var(--gray-500);background:var(--gray-0);width:100%;height:328px;color:var(--gray-500);font:600 18px/28px var(--font-th)}.photo-upload.nov26 .upload-placeholder svg{color:var(--gray-400)}.photo-upload.nov26.failed .upload-placeholder{border-color:var(--accent-red)}.photo-upload.nov26 .photo-failure{color:var(--accent-red);font:400 12px/20px var(--font-th)}.photo-upload.nov26 .photo-preview{width:100%}.photo-upload.nov26.uploading{outline-color:var(--gray-500);background:var(--gray-0);height:328px;padding:24px 56px}.photo-upload.nov26 .upload-title{color:var(--gray-500);font:600 18px/28px var(--font-th)}.photo-upload.nov26 .upload-track{background:var(--tint-blue);border-radius:16px;width:100%}.photo-upload.nov26 .upload-track>div{background:var(--accent-blue);border-radius:16px}.upload-note{color:var(--gray-500);font:400 16px/26px var(--font-th)}.photo-retake{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:var(--gray-800);font:400 18px/28px var(--font-th);pointer-events:none;background:#fff9;border-radius:32px;padding:2px 16px;position:absolute;top:8px;right:8px}.photo-upload.nov26 .photo-delete{left:8px;right:auto}.die-report .dialog-backdrop{background:var(--overlay);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.die-report .report-dialog{box-shadow:var(--shadow-popup);font-family:var(--font-th);background:#ffffffe6;border-radius:32px;gap:0;padding:0}.die-report .report-dialog h2{color:var(--gray-800);padding:16px 16px 0;font-size:24px;line-height:36px}.die-report .report-dialog p{border-bottom:1px solid var(--gray-400);color:var(--gray-800);padding:16px;font-size:14px;font-weight:400;line-height:22px}.die-report .dialog-close{color:var(--gray-400)}.die-report .dialog-action{min-height:60px;color:var(--gray-600);background:0 0;border-radius:0 0 32px 32px;font-size:18px;font-weight:600;line-height:28px}.alert-banner.save-error{color:var(--gray-0);font-family:var(--font-th);text-align:left}.section-heading.inspections,.work-section.inspections{margin:0 8px}.section-heading.inspections{color:var(--primary-600);font-size:20px;line-height:32px}.inspection-card{background:var(--gray-0);font-family:var(--font-th);border:0;flex-direction:column;align-items:stretch;gap:4px}.inspection-title,.inspection-meta{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.inspection-card .card-title{min-width:0;color:var(--gray-700);white-space:pre-wrap;overflow-wrap:anywhere;font-size:18px;font-weight:600;line-height:28px}.inspection-card .pending,.inspection-card .reported{color:var(--gray-700);white-space:nowrap;flex:none;align-items:center;gap:4px;font-size:14px;font-weight:400;line-height:22px;display:flex}.inspection-card .reported{color:var(--gray-600)}.inspection-card .pending:before,.inspection-card .reported:before{content:"";background:var(--accent-orange);border-radius:50%;width:8px;height:8px}.inspection-card .reported:before{background:var(--accent-green)}.inspection-meta{color:var(--gray-500);font-size:14px;line-height:22px}.inspection-meta time{color:inherit}.inspection-totals,.inspection-figures .inspection-defects{white-space:nowrap;flex:none}.inspection-figures strong{color:var(--gray-700);font-weight:600}.inspection-card.skeleton-card .bone-line{height:28px}.inspection-card.skeleton-card .inspection-meta .bone-line{height:22px}.inspection-card.skeleton-card .bone{border-radius:8px;height:16px}.inspection-card.skeleton-card .bone.title{width:184px}.inspection-card.skeleton-card .bone.status-pending,.inspection-card.skeleton-card .bone.status-reported{width:38px;margin:0}.inspection-card.skeleton-card .bone.time{width:78px}.inspection-card.skeleton-card .bone.totals{width:50px}.inspection-card.skeleton-card .bone.process{width:56px}.inspection-card.skeleton-card .bone.defects{width:96px}.inspection-detail{font-family:var(--font-th);gap:8px;padding:0 8px 64px}.inspection-detail .top-bar{margin:-8px -16px 0}.inspection-summary{align-items:flex-start;gap:8px;display:flex}.inspection-summary .part-photo,.inspection-summary .photo-box{border-radius:4px;width:64px;height:64px}.inspection-summary span.part-photo{background:var(--gray-0)}.inspection-summary .detail-rows{flex:1;min-width:0}.inspection-report{border-radius:var(--radius-field);background:var(--gray-0);flex-direction:column;gap:8px;padding:8px;display:flex}.inspection-report h3{color:var(--gray-700);font:600 16px/26px var(--font-en);margin:0}.fg-total{color:var(--gray-700);font:600 14px/22px var(--font-en);flex-direction:column;gap:4px;display:flex}.fg-total output{border:.5px solid var(--gray-500);border-radius:var(--radius-field);min-height:48px;color:var(--gray-800);font:600 16px/26px var(--font-en);align-items:center;padding:0 12px;display:flex}.ng-header{color:var(--gray-700);font:400 14px/22px var(--font-en);justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.ng-header h4{font:inherit;margin:0;font-weight:600}.ng-total{white-space:nowrap}.ng-reports{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.ng-reports li{border-bottom:1px solid var(--gray-300);color:var(--gray-700);align-items:center;padding:6px 8px;font-size:12px;line-height:20px;display:flex}.ng-reports li:last-child{border-bottom:0}.ng-reports time{color:var(--gray-400)}.ng-reports strong{font-size:14px;font-weight:600;line-height:22px}.ng-report-info{flex-direction:column;flex:1;min-width:0;display:flex}.ng-causes{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.ng-causes span+span:before{content:"";background:var(--gray-300);vertical-align:middle;border-radius:50%;width:5px;height:5px;margin-right:4px;display:inline-block}.ng-delete{background:var(--tint-red);width:32px;height:32px;color:var(--accent-red);border:0;border-radius:40px;flex:none;justify-content:center;align-items:center;padding:4px;display:flex}.confirm-dialog{box-shadow:var(--shadow-popup);font-family:var(--font-th);background:#ffffffe6;border-radius:32px;gap:0;padding:0}.dialog-backdrop:has(.confirm-dialog){background:var(--overlay);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.confirm-dialog h2{color:var(--gray-800);font:600 24px/36px var(--font-en);padding:16px 16px 0}.confirm-dialog p{border-bottom:1px solid var(--gray-400);color:var(--gray-800);font:400 14px/22px var(--font-th);padding:16px}.confirm-actions{flex-direction:column;display:flex}.confirm-actions button{min-height:60px;color:var(--gray-600);font:600 18px/28px var(--font-th);background:0 0;border:0}.confirm-actions button+button{border-top:1px solid var(--gray-400)}.confirm-actions .confirm-delete{color:var(--accent-red)}.add-ng{border:.5px solid var(--gray-500);min-height:48px;color:var(--gray-500);font:400 16px/26px var(--font-en);background:0 0;border-radius:40px;justify-content:center;align-items:center;padding:12px;display:flex}.ng-report .form-title{color:var(--gray-800);margin:0 0 8px;font-size:20px;font-weight:600;line-height:32px}.ng-report h3{margin-top:8px}.ng-report h3:has(label){margin-top:0;font-size:14px;line-height:22px}.ng-report #quantity{border-color:var(--gray-500);color:var(--gray-800);font:600 16px/26px var(--font-en);background:0 0;margin-top:-4px}.ng-report #quantity::placeholder{color:var(--gray-500);font-weight:400}.ng-report .report-submit{margin-top:8px}.report-cancel{border-radius:var(--radius-pill);background:var(--gray-200);min-height:48px;color:var(--gray-500);font:600 18px/28px var(--font-th);border:0}.report-cancel:disabled{opacity:1}
