:root{color:#17322f;font-synthesis:none;text-rendering:optimizelegibility;--ink:#17322f;--muted:#677a76;--line:#dce6e3;--paper:#fff;--soft:#f4f7f6;--teal:#0f766e;--teal-dark:#0b5f59;--teal-soft:#dff4f0;--amber:#d97706;--amber-soft:#fff3d6;--red:#c2413b;--red-soft:#fdeae8;--shadow:0 8px 32px #183f3914;background:#eef3f1;font-family:Tahoma,Leelawadee UI,system-ui,sans-serif}*{box-sizing:border-box}html{background:#eef3f1;min-width:320px}body{min-width:320px;min-height:100vh;margin:0}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #0f766e52}h1,h2,h3,p{margin-top:0}h1,h2,h3,.brand-mark{font-family:Tahoma,Leelawadee UI,system-ui,sans-serif}h1{font-size:1.55rem;line-height:1.25}h2{font-size:1.35rem;line-height:1.3}h3{font-size:1rem;line-height:1.4}.app-shell,.public-shell{min-height:100vh}.app-shell{background:var(--soft);max-width:720px;padding-bottom:calc(84px + env(safe-area-inset-bottom));margin:0 auto}.public-shell{background:#f7faf9;max-width:680px;margin:0 auto}.page-content,.public-content{padding:20px 16px 32px}.topbar,.public-header{border-bottom:1px solid var(--line);z-index:20;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff0;align-items:center;gap:12px;min-height:74px;padding:12px 16px;display:flex;position:sticky;top:0}.topbar h1{margin:0;font-size:1.05rem}.brand-mark{color:#fff;background:var(--teal);border-radius:13px;place-items:center;width:44px;height:44px;display:grid;box-shadow:0 6px 18px #0f766e40}.brand-mark svg{width:25px}.eyebrow{color:var(--teal);text-transform:uppercase;letter-spacing:.08em;margin:0 0 2px;font-size:.69rem;font-weight:700}.eyebrow.light{color:#bceae4}.logout-button{min-height:44px;color:var(--teal-dark);white-space:nowrap;background:#e6f2ef;border:1px solid #a8d2cc;border-radius:12px;justify-content:center;align-items:center;margin-left:auto;padding:8px 11px;font-size:.72rem;font-weight:700;display:inline-flex}.logout-button:hover{background:#d8eeea}.bottom-nav{width:min(100%,720px);height:calc(70px + env(safe-area-inset-bottom));padding:7px 12px env(safe-area-inset-bottom);border-top:1px solid var(--line);z-index:30;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff7;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.bottom-nav a{color:#71827f;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-height:56px;font-size:.74rem;font-weight:600;display:flex}.bottom-nav a.active{color:var(--teal);background:#eef8f6}.bottom-nav svg{width:22px}.offline-banner{z-index:50;color:#693d02;background:var(--amber-soft);border-bottom:1px solid #f1d397;align-items:center;gap:9px;padding:10px 16px;font-size:.78rem;line-height:1.45;display:flex;position:sticky;top:0}.offline-draft-callout{color:#78350f;background:#fffbeb;border:1px solid #f59e0b;border-radius:14px;padding:12px 14px;font-weight:700}.offline-banner svg{width:20px;min-width:20px}.stack{gap:18px;display:grid}.page-enter{animation:.32s ease-out both enter}@keyframes enter{0%{opacity:0;transform:translateY(6px)}}.hero-card{color:#fff;background:linear-gradient(135deg,#0b5f59,#149087);border-radius:22px;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:18px;padding:22px;display:flex;position:relative;overflow:hidden;box-shadow:0 14px 36px #0a655e33}.hero-card:after{content:"";border:28px solid #ffffff14;border-radius:50%;width:150px;height:150px;position:absolute;top:-70px;right:-60px}.hero-card h2{z-index:1;margin:0 0 5px;font-size:1.45rem;position:relative}.hero-card p{color:#d8f2ee;z-index:1;margin-bottom:0;font-size:.88rem;position:relative}.button{cursor:pointer;border:1px solid #0000;border-radius:13px;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:11px 18px;font-weight:700;transition:all .18s;display:inline-flex}.button:active:not(:disabled){transform:translateY(1px)}.button:disabled{cursor:not-allowed;opacity:.52}.button svg{width:20px}.button.primary{color:#fff;background:var(--teal);box-shadow:0 6px 16px #0f766e2e}.button.secondary{color:var(--teal-dark);background:#fff;border-color:#a8d2cc}.button.full{width:100%}.light-button{z-index:1;color:var(--teal-dark);background:#fff;position:relative}.metric-grid{grid-template-columns:repeat(3,1fr);gap:9px;display:grid}.metric{min-width:0;box-shadow:var(--shadow);background:#fff;border-radius:16px;padding:14px 10px}.metric span{min-height:34px;color:var(--muted);font-size:.69rem;line-height:1.35;display:block}.metric strong{color:var(--ink);font:700 1.65rem/1 Prompt,sans-serif}.metric small{color:var(--muted);margin-left:4px}.metric.attention strong{color:var(--amber)}.section-heading,.card-heading,.page-title{justify-content:space-between;align-items:center;gap:12px;display:flex}.section-heading h2,.card-heading h3,.page-title h2{margin:0}.text-button,.text-link{min-height:44px;color:var(--teal);cursor:pointer;background:0 0;border:0;padding:6px;font-weight:700}.filter{white-space:nowrap;border:1px solid var(--line);min-height:42px;color:var(--muted);cursor:pointer;background:#fff;border-radius:999px;padding:8px 16px}.filter.active{color:#fff;background:var(--teal);border-color:var(--teal)}.delivery-list{gap:10px;display:grid}.delivery-card{background:#fff;border:1px solid #e1e9e7;border-radius:17px;padding:16px;transition:all .18s;box-shadow:0 4px 18px #183f390b}.delivery-card:hover{box-shadow:var(--shadow);border-color:#a7d0cb;transform:translateY(-1px)}.delivery-card h3{margin:12px 0 2px}.delivery-card p{color:var(--muted);margin:0;font-size:.82rem}.delivery-card-top,.delivery-meta{justify-content:space-between;align-items:center;gap:10px;display:flex}.reference{color:#4e6863;letter-spacing:.03em;font:600 .75rem/1 Tahoma,sans-serif}.status{white-space:nowrap;color:#526966;background:#edf2f1;border-radius:999px;align-items:center;min-height:29px;padding:5px 10px;font-size:.69rem;font-weight:700;display:inline-flex}.status-issue_open{background:var(--red-soft);color:var(--red)}.status-ready_to_close{background:var(--amber-soft);color:#a35a05}.status-ready{background:var(--teal-soft);color:var(--teal-dark)}.status-closed{color:#28783d;background:#e6f4e9}.status-report-delivery{background:var(--teal-soft);color:var(--teal-dark)}.status-report-receive{background:var(--amber-soft);color:#8b5704}.status-report-completed{color:#28783d;background:#e6f4e9}.status-report-cancelled{color:#526966;background:#edf2f1}.delivery-meta{color:var(--muted);border-top:1px solid #edf1f0;justify-content:flex-start;margin-top:15px;padding-top:12px;font-size:.72rem}.delivery-meta span{align-items:center;gap:4px;display:flex}.delivery-meta span:nth-child(2){margin-left:auto}.delivery-meta svg{width:15px}.delivery-meta>svg{width:18px;color:var(--teal)}.page-title{justify-content:flex-start;min-height:50px}.page-title .status{margin-left:auto}.back-link{border:1px solid var(--line);width:48px;height:48px;color:var(--teal);background:#fff;border-radius:14px;place-items:center;font:400 2rem/1 sans-serif;display:grid}.phase-note{color:#79500c;background:var(--amber-soft);border-radius:12px;padding:12px 14px;font-size:.78rem}.form-card,.detail-card{border:1px solid var(--line);background:#fff;border-radius:18px;padding:18px;box-shadow:0 5px 24px #183f390d}.form-card{gap:24px;display:grid}fieldset{border:0;gap:14px;margin:0;padding:0;display:grid}legend{width:100%;color:var(--ink);margin-bottom:14px;font:600 1rem/1.4 Tahoma,sans-serif}legend small{color:var(--muted);font:500 .7rem/1.4 Tahoma,sans-serif}label{color:#3b5651;gap:7px;font-size:.8rem;font-weight:600;display:grid}input,textarea,select{width:100%;min-height:50px;color:var(--ink);background:#fbfcfc;border:1px solid #cfdcda;border-radius:12px;outline:0;padding:12px 13px}input:focus,textarea:focus,select:focus{border-color:var(--teal);box-shadow:0 0 0 3px #0f766e1a}textarea{resize:vertical}.snapshot-note{background:var(--teal-soft);color:var(--teal-dark);border-radius:12px;gap:2px;padding:12px;font-size:.75rem;display:grid}.checklist-preview{background:var(--line);border-radius:13px;gap:1px;display:grid;overflow:hidden}.checklist-preview>div{background:#f8faf9;flex-wrap:wrap;align-items:center;gap:10px;padding:11px;display:flex}.checklist-preview>div>span{width:27px;height:27px;color:var(--teal);background:#fff;border-radius:50%;flex:none;place-items:center;font-size:.72rem;font-weight:700;display:grid}.checklist-preview p{flex:1;min-width:150px;margin:0;font-size:.79rem;display:grid}.checklist-preview small{color:var(--muted)}.delivery-quantity-field{min-width:150px;color:var(--muted);font-size:.68rem}.delivery-quantity-field>span:last-child{align-items:center;gap:7px;display:flex}.delivery-quantity-field input{min-height:44px;padding:9px 10px}.quantity-override-reason{background:#fff8ec;border:1px solid #e8b579;border-radius:13px;gap:6px;padding:13px;display:grid}.quantity-override-reason>small{color:#704318;font-size:.7rem}.quantity-override-label{color:#8a541e!important}.upload-button{text-align:left;min-height:82px;color:var(--teal-dark);cursor:pointer;background:#f5fbf9;border:1px dashed #9bbeb9;border-radius:14px;align-items:center;gap:12px;padding:14px;display:flex}.upload-button>svg{width:28px}.upload-button span{display:grid}.upload-button small{color:var(--muted);font-weight:400}.sticky-actions{z-index:10;border:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff5;border-radius:17px;gap:7px;padding:14px;display:grid;position:sticky;bottom:77px;box-shadow:0 -8px 30px #183f3917}.sticky-actions small,.final-confirm small{text-align:center;color:var(--muted);font-size:.7rem}.form-grid,.action-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.search-panel{gap:14px;display:grid}.success-banner{color:#246b36;background:#eaf7ed;border:1px solid #a8d7b3;border-radius:14px;padding:14px}.button.danger{color:#9b312c;background:var(--red-soft);border-color:#e9b4b0}.top-gap{margin-top:16px}.store-checklist strong{gap:2px;display:grid}.store-checklist small{color:var(--muted);font-weight:400}.master-list{gap:0;display:grid}.master-list>div{border-top:1px solid var(--line);gap:3px;padding:12px 0;display:grid}.master-list>div:first-child{border-top:0}.master-list small,.master-list span{color:var(--muted);font-size:.72rem}.qr-label{text-align:center;border:2px solid var(--ink);background:#fff;border-radius:18px;justify-items:center;gap:18px;max-width:520px;margin:0 auto;padding:28px;display:grid}.qr-label h1{margin:0 0 4px}.qr-label img{width:min(100%,320px);height:auto;image-rendering:pixelated}.qr-label .detail-grid{text-align:left;width:100%}.print-page{background:#fff;min-height:100vh;padding:24px}.print-toolbar{justify-content:space-between;gap:12px;max-width:520px;margin:0 auto 18px;display:flex}@media (width<=430px){.form-grid,.action-grid{grid-template-columns:1fr}}@media print{body,.print-page{background:#fff}.print-page{padding:0}.print-toolbar,.offline-banner{display:none!important}.qr-label{box-shadow:none;break-inside:avoid;border:2px solid #000}}.issue-banner{color:#8f302c;background:var(--red-soft);border:1px solid #efb7b2;border-radius:15px;gap:3px;padding:15px;font-size:.8rem;display:grid}.card-heading{align-items:flex-start;margin-bottom:14px}.server-time,.lock-label,.count-pill{color:var(--muted);white-space:nowrap;align-items:center;gap:5px;font-size:.65rem;display:inline-flex}.server-time svg{width:15px}.lock-label,.count-pill{background:#eef3f1;border-radius:999px;padding:5px 8px}.detail-grid{gap:13px;margin:0;display:grid}.detail-grid div{gap:2px;display:grid}.detail-grid dt{color:var(--muted);font-size:.7rem}.detail-grid dd{margin:0;font-size:.84rem;line-height:1.5}.item-list{gap:0;display:grid}.item-row{border-top:1px solid #edf1f0;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;min-height:64px;display:grid}.item-row:first-child{border-top:0}.item-row>div{font-size:.8rem;display:grid}.item-row small{color:var(--muted)}.item-check{border-radius:50%;place-items:center;width:30px;height:30px;font-weight:800;display:grid}.item-check svg{width:17px}.item-check.good{color:var(--teal);background:var(--teal-soft)}.item-check.bad{color:var(--red);background:var(--red-soft)}.condition{font-size:.7rem;font-weight:700}.condition.good{color:var(--teal)}.condition.bad{color:var(--red)}.qr-panel{align-items:center;gap:15px;display:flex}.qr-demo{width:82px;height:82px;color:var(--ink);background:repeating-conic-gradient(#17322f 0 25%, #fff 0 50%) 0/16px 16px;outline:1px solid var(--line);border:7px solid #fff;border-radius:13px;flex:none;place-items:center;display:grid}.qr-demo svg{width:38px;color:var(--teal);background:#fff;border-radius:6px;padding:6px}.qr-panel p{color:var(--muted);margin:3px 0;font-size:.74rem}.inline-links{flex-wrap:wrap;gap:8px 14px;display:flex}.timeline{margin:0;padding:0;list-style:none}.timeline li{grid-template-columns:22px 1fr;gap:10px;min-height:76px;display:grid;position:relative}.timeline li:before{content:"";background:#dce6e3;width:2px;position:absolute;top:14px;bottom:-4px;left:6px}.timeline li:last-child:before{display:none}.timeline li>span{z-index:1;background:#a9bab7;border:3px solid #fff;border-radius:50%;outline:2px solid #dce6e3;width:14px;height:14px;margin-top:3px}.timeline li.current>span{background:var(--red);outline-color:#f3c2be}.timeline li div{align-content:start;font-size:.78rem;display:grid}.timeline p{color:var(--muted);margin:2px 0}.timeline time{color:#80908d;font-size:.66rem}.public-header{border-top:4px solid var(--teal);position:relative}.public-header strong{font-family:Tahoma,sans-serif}.public-content{min-height:calc(100vh - 140px)}.public-footer{text-align:center;color:#83918f;border-top:1px solid var(--line);padding:18px;font-size:.66rem}.receiver-hero{color:#fff;box-shadow:var(--shadow);background:linear-gradient(135deg,#0c6b63,#16968b);border-radius:18px;align-items:center;gap:14px;padding:18px;display:flex}.receiver-hero h1{margin:0 0 3px}.receiver-hero p{color:#d5f1ed;margin:0;font-size:.76rem}.receiver-hero .eyebrow{color:#b9e7e1}.verified-mark{width:48px;height:48px;color:var(--teal-dark);background:#d9f6f1;border-radius:50%;flex:none;place-items:center;display:grid}.public-card{box-shadow:none}.muted{color:var(--muted);font-size:.8rem}.count-pill{color:var(--teal-dark);background:var(--teal-soft);font-weight:700}.receiver-checklist{gap:9px;margin-bottom:14px;display:grid}.receiver-checklist label{border:1px solid var(--line);cursor:pointer;background:#fbfcfc;border-radius:13px;grid-template-columns:34px 1fr;align-items:center;min-height:58px;padding:10px;display:grid}.receiver-checklist input{opacity:0;width:1px;height:1px;min-height:0;position:absolute}.receiver-checklist label>span{color:#0000;border:2px solid #afc1be;border-radius:9px;place-items:center;width:30px;height:30px;display:grid}.receiver-checklist input:checked+span{color:#fff;background:var(--teal);border-color:var(--teal)}.receiver-checklist svg{width:18px}.receiver-checklist strong{font-size:.79rem}.turnstile-placeholder{color:#71817e;text-align:center;background:#eef2f1;border-radius:12px;place-items:center;min-height:64px;padding:12px;font-size:.72rem;display:grid}.turnstile-container{place-items:center;min-height:66px;display:grid;overflow:hidden}.final-confirm{background:#eaf8f5;border:1px solid #bddad6;border-radius:18px;gap:11px;padding:17px;display:grid}.final-confirm p{color:#42625d;margin:0;font-size:.76rem;line-height:1.55}.confirm-requirements{color:#6f4d12;background:#fff8e8;border:1px solid #e6c98c;border-radius:12px;padding:12px 14px;font-size:.76rem;line-height:1.55}.confirm-requirements ul{margin:6px 0 0;padding-left:20px}.confirm-ready{color:#0b6259;background:#f3fffc;border:1px solid #9bd0c7;border-radius:12px;padding:12px 14px;font-size:.78rem;font-weight:700}.security-step{color:#244b46;background:#fff;border-radius:12px;gap:2px;padding:12px 14px;font-size:.76rem;display:grid}.security-step span{color:var(--muted);line-height:1.45}.state-panel{text-align:center;border:1px solid var(--line);background:#fff;border-radius:18px;align-content:center;place-items:center;min-height:260px;padding:28px 18px;display:grid}.state-panel h1,.state-panel h2{margin:9px 0 5px}.state-panel p{max-width:360px;color:var(--muted);margin-bottom:16px;font-size:.82rem}.state-icon{width:58px;height:58px;color:var(--teal);background:var(--teal-soft);border-radius:50%;place-items:center;display:grid}.state-icon.danger{color:var(--red);background:var(--red-soft)}.state-icon svg{width:28px}.public-state{min-height:55vh;margin-top:22px}.error-code{letter-spacing:.12em;font:700 .72rem/1 Tahoma,sans-serif;color:var(--teal)!important;margin:10px 0 0!important}.spinner{border:4px solid #d7e6e3;border-top-color:var(--teal);border-radius:50%;width:42px;height:42px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.skeleton-list{gap:10px;display:grid}.skeleton-card{background:#fff;border-radius:17px;align-content:start;gap:13px;height:130px;padding:18px;display:grid}.skeleton-card i{background:linear-gradient(90deg,#edf2f1 25%,#f7f9f8 45%,#edf2f1 65%) 0 0/300% 100%;border-radius:8px;height:14px;animation:1.3s infinite shimmer}.skeleton-card i:first-child{width:42%}.skeleton-card i:nth-child(2){width:72%}.skeleton-card i:nth-child(3){width:90%}@keyframes shimmer{to{background-position:-100% 0}}@media (width>=640px){.page-content,.public-content{padding:28px 26px 42px}.topbar,.public-header{padding-inline:26px}.form-card,.detail-card{padding:22px}.hero-card{padding:28px}.metric{padding:18px}.metric span{min-height:auto}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.choice-grid{grid-template-columns:1fr;gap:10px;display:grid}.choice-card{text-align:left;border:2px solid var(--line);min-height:76px;color:var(--ink);cursor:pointer;background:#fff;border-radius:14px;gap:4px;padding:14px;display:grid}.choice-card small{color:var(--muted)}.choice-card.selected{border-color:var(--teal);background:var(--teal-soft)}.choice-card.issue.selected{border-color:var(--red);background:var(--red-soft)}.receiver-review-list{gap:10px;display:grid}.receiver-review-item{border:1px solid var(--line);background:#fbfcfc;border-radius:14px;gap:10px;padding:13px;display:grid}.review-item-title{gap:3px;display:grid}.review-item-title small{color:var(--muted);font-size:.72rem}.review-buttons{grid-template-columns:1fr 1fr;gap:8px;display:grid}.review-buttons button{color:#49625e;cursor:pointer;background:#fff;border:1px solid #bfd0cd;border-radius:11px;min-height:44px;font-weight:700}.review-buttons button.active{color:#fff;border-color:var(--teal);background:var(--teal)}.review-buttons button.active.issue{border-color:var(--red);background:var(--red)}.issue-fields{border-top:1px solid var(--line);grid-template-columns:1fr 1fr;gap:10px;padding-top:10px;display:grid}.issue-fields .full-span{grid-column:1/-1}.upload-session-callout{background:var(--amber-soft);color:#79500c;border-radius:13px;margin-bottom:14px;padding:13px}.upload-session-callout p{font-size:.76rem;line-height:1.5}.upload-button input.sr-only,.sr-only{opacity:0;width:1px;height:1px;min-height:0;padding:0;position:absolute;overflow:hidden}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.photo-card{border:1px solid var(--line);background:#fff;border-radius:13px;gap:6px;margin:0;padding:8px;display:grid;overflow:hidden}.photo-card img,.evidence-grid img{aspect-ratio:1;object-fit:cover;background:#eef2f1;border-radius:9px;width:100%}.photo-card figcaption{min-height:30px;color:var(--muted);font-size:.68rem}.photo-card progress{width:100%;accent-color:var(--teal)}.danger-text{color:var(--red)}.signature-pad-wrap{background:#fbfcfc;border:1px dashed #9fb7b3;border-radius:14px;position:relative;overflow:hidden}.signature-canvas{touch-action:none;cursor:crosshair;width:100%;height:180px;display:block}.signature-clear{background:#ffffffe0;border-radius:8px;position:absolute;bottom:5px;right:7px}.signature-evidence{object-fit:contain;border:1px solid var(--line);background:#fff;border-radius:13px;width:100%;max-height:220px;margin-top:12px}.signature-evidence.is-loading{min-height:160px}.signature-evidence-warning{color:#704318;background:#fff8ec;border:1px solid #e8b579;border-radius:13px;gap:5px;margin-top:12px;padding:14px;display:grid}.signature-evidence-warning span{font-size:.82rem;line-height:1.5}.field-requirement{color:var(--red);margin:8px 0;font-size:.82rem;font-weight:700}.upload-progress{width:100%;accent-color:var(--teal);margin-top:8px}.resolution-card{border-left:4px solid var(--teal);background:var(--teal-soft);border-radius:10px;margin-top:10px;padding:12px}.resolution-card p{margin:4px 0;font-size:.78rem}.resolution-card small{color:var(--muted)}.issue-list{gap:12px;display:grid}.issue-panel{background:snow;border:1px solid #efc3bf;border-radius:15px;padding:14px}.issue-panel>p{color:var(--muted);margin:8px 0;font-size:.78rem}.issue-resolution-form{border-top:1px solid #efd8d5;gap:12px;margin-top:14px;padding-top:14px;display:grid}.transition-card{gap:14px;display:grid}.transition-card small{color:var(--muted);text-align:center}.notification-list{gap:9px;display:grid}.notification-card{border:1px solid var(--line);background:#fff;border-radius:15px;grid-template-columns:10px 1fr;gap:10px;min-height:78px;padding:14px;display:grid;box-shadow:0 4px 18px #183f390a}.notification-card.read{opacity:.68;box-shadow:none}.notification-dot{background:var(--teal);border-radius:50%;width:9px;height:9px;margin-top:6px}.notification-card.read .notification-dot{background:#b8c4c2}.notification-card div{gap:3px;display:grid}.notification-card p{color:var(--muted);margin:0;font-size:.75rem}.notification-card time{color:#82918e;font-size:.67rem}@media (width>=540px){.choice-grid{grid-template-columns:1fr 1fr}.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.delivery-note-print-page{color:#1d2d29;background:#e7ecea;min-height:100vh;padding:20px}.delivery-note-toolbar{grid-template-columns:auto 1fr auto;align-items:center;gap:12px;max-width:210mm;margin:0 auto 14px;display:grid}.delivery-note-toolbar>div{text-align:center;display:grid}.delivery-note-toolbar small{color:var(--muted)}.print-warning{color:#704318;background:#fff7e8;border:1px solid #d8a153;border-radius:10px;max-width:210mm;margin:0 auto 12px;padding:10px 14px;font-size:.8rem}.delivery-note-sheet{background:#fff;width:210mm;height:297mm;margin:0 auto;padding:7mm;overflow:hidden;box-shadow:0 10px 35px #162d282e}.delivery-note-sheet+.delivery-note-sheet{margin-top:14px}.delivery-note-content{transform-origin:top;background:#fff;border:1.2px solid #21342d;flex-direction:column;min-height:100%;padding:7mm;display:flex}.delivery-note-header{border-bottom:1.2px solid #21342d;grid-template-columns:1fr 34mm;align-items:start;gap:7mm;min-height:38mm;padding-bottom:4mm;display:grid}.delivery-note-header p{letter-spacing:.04em;margin:0;font-size:9pt;font-weight:800}.delivery-note-header h1{margin:1mm 0 2mm;font-size:22pt;line-height:1.15}.delivery-note-header>div:first-child>span{color:#284137;background:#e6eee5;border-radius:99px;padding:1.5mm 4mm;font-size:8.5pt;font-weight:700;display:inline-block}.delivery-note-qr{justify-items:center;gap:1mm;display:grid}.delivery-note-qr img{width:29mm;height:29mm;image-rendering:pixelated}.delivery-note-qr small,.delivery-note-stage small{color:#718079;font-size:6.5pt}.delivery-note-stage{border:1px solid #bdc9c3;align-content:center;place-items:center;gap:1mm;min-height:29mm;display:grid}.delivery-note-stage strong{letter-spacing:.08em;font-size:11pt}.delivery-note-facts{border:1px solid #b9c5bf;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:4mm;display:grid}.delivery-note-facts>div{border-bottom:1px solid #b9c5bf;border-right:1px solid #b9c5bf;align-content:start;gap:1mm;min-height:15mm;padding:2.5mm 3mm;display:grid}.delivery-note-facts>div:nth-child(3n){border-right:0}.delivery-note-facts>div:nth-last-child(-n+3){border-bottom:0}.delivery-note-facts small{color:#718079;font-size:7pt}.delivery-note-facts strong{font-size:8.5pt;line-height:1.35}.delivery-note-items{border-collapse:collapse;table-layout:fixed;width:100%;margin-top:4mm;font-size:7.8pt}.delivery-note-items th{color:#fff;text-align:center;background:#21342d;padding:2.3mm 1.5mm}.delivery-note-items th:first-child{width:9%}.delivery-note-items th:nth-child(2){width:45%}.delivery-note-items th:nth-child(3),.delivery-note-items th:nth-child(4){width:10%}.delivery-note-items th:nth-child(5){width:26%}.delivery-note-items td{vertical-align:middle;overflow-wrap:anywhere;border:1px solid #b9c5bf;height:7mm;padding:1.4mm 1.7mm}.delivery-note-items td:not(:nth-child(2)){text-align:center}.delivery-note-items td:nth-child(2){display:table-cell}.delivery-note-items td:nth-child(2) strong,.delivery-note-items td:nth-child(2) small{display:block}.delivery-note-items td:nth-child(2) small{color:#66766f;margin-top:.5mm;font-size:6.4pt}.delivery-note-notes{border:1px solid #b9c5bf;min-height:16mm;margin-top:3mm;padding:2.5mm 3mm}.delivery-note-notes strong{font-size:8pt}.delivery-note-notes p{margin:1mm 0;font-size:7.5pt}.delivery-note-notes small{color:#8a541e;font-size:6.5pt}.delivery-note-signers{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:7mm;min-height:48mm;margin-top:auto;display:grid}.delivery-note-signer{text-align:center;align-content:end;justify-items:center;display:grid}.delivery-note-signature-space{border-bottom:1px solid #21342d;place-items:end center;width:100%;height:23mm;display:grid}.delivery-note-signature{object-fit:contain;mix-blend-mode:multiply;width:100%;height:21mm}.delivery-note-system-signature{align-content:center;place-items:center;gap:1mm;width:100%;min-height:18mm;display:grid}.delivery-note-system-signature strong{overflow-wrap:anywhere;max-width:100%;font-size:10pt;font-style:italic;line-height:1.3}.delivery-note-system-signature small{color:#718079;font-size:6.2pt;font-style:normal}.delivery-note-signature-warning{color:#8d332c;align-self:center;font-size:6.2pt}.delivery-note-signer>strong{margin-top:1.5mm;font-size:8pt}.delivery-note-signer>span{min-height:4mm;font-size:7.2pt}.delivery-note-signer>small{color:#718079;font-size:6.4pt}.delivery-note-footer{color:#718079;border-top:1px solid #b9c5bf;grid-template-columns:1fr 1fr 1fr;margin-top:5mm;padding-top:2.5mm;font-size:6.2pt;display:grid}.delivery-note-footer span:nth-child(2){text-align:center}.delivery-note-footer span:last-child{text-align:right}.delivery-note-density-dense .delivery-note-items{font-size:6.8pt}.delivery-note-density-dense .delivery-note-items td{height:5.4mm;padding:.9mm 1.3mm}.delivery-note-density-dense .delivery-note-header{min-height:32mm}.delivery-note-density-dense .delivery-note-header h1{font-size:18pt}.delivery-note-density-dense .delivery-note-facts>div{min-height:12mm;padding:1.6mm 2mm}.delivery-note-density-dense .delivery-note-signers{min-height:40mm}.delivery-note-density-ultra .delivery-note-items{font-size:5.8pt}.delivery-note-density-ultra .delivery-note-items th{padding:1.2mm 1mm}.delivery-note-density-ultra .delivery-note-items td{height:4mm;padding:.45mm 1mm}.delivery-note-density-ultra .delivery-note-items td:nth-child(2) small{font-size:5pt}.delivery-note-density-ultra .delivery-note-header{min-height:27mm}.delivery-note-density-ultra .delivery-note-header h1{font-size:15pt}.delivery-note-density-ultra .delivery-note-facts{margin-top:2mm}.delivery-note-density-ultra .delivery-note-facts>div{min-height:10mm;padding:1mm 1.5mm}.delivery-note-density-ultra .delivery-note-notes{min-height:10mm;margin-top:2mm;padding:1.5mm 2mm}.delivery-note-density-ultra .delivery-note-signers{min-height:32mm}.delivery-note-density-ultra .delivery-note-signature-space{height:15mm}.delivery-note-density-ultra .delivery-note-signature{height:14mm}.delivery-note-evidence-content{background:#fff;border:1.2px solid #21342d;flex-direction:column;height:100%;padding:7mm;display:flex}.delivery-note-evidence-header{border-bottom:1.2px solid #21342d;grid-template-columns:1fr 52mm;gap:7mm;min-height:29mm;padding-bottom:3mm;display:grid}.delivery-note-evidence-header p{letter-spacing:.04em;margin:0;font-size:8pt;font-weight:800}.delivery-note-evidence-header h1{margin:1mm 0;font-size:18pt;line-height:1.2}.delivery-note-evidence-header span{color:#718079;font-size:7pt}.delivery-note-evidence-number{text-align:right;border:1px solid #b9c5bf;align-content:center;gap:1mm;padding:2.5mm 3mm;display:grid}.delivery-note-evidence-number small{color:#718079;font-size:6.5pt}.delivery-note-evidence-number strong{font-size:10pt}.delivery-note-evidence-facts{border:1px solid #b9c5bf;grid-template-columns:1.5fr 1.2fr .7fr;margin-top:3mm;display:grid}.delivery-note-evidence-facts>div{border-right:1px solid #b9c5bf;align-content:start;gap:.8mm;min-height:14mm;padding:2mm 2.5mm;display:grid}.delivery-note-evidence-facts>div:last-child{border-right:0}.delivery-note-evidence-facts small{color:#718079;font-size:6.5pt}.delivery-note-evidence-facts strong{font-size:7.5pt;line-height:1.35}.delivery-note-evidence-section{flex-direction:column;flex:1 1 0;min-height:0;margin-top:3mm;display:flex}.delivery-note-evidence-section>header{color:#fff;background:#21342d;justify-content:space-between;align-items:center;min-height:11mm;padding:1.8mm 2.5mm;display:flex}.delivery-note-evidence-section>header h2{color:#fff;margin:0;font-size:10pt}.delivery-note-evidence-section>header p{color:#dbe5e0;margin:.4mm 0 0;font-size:6.2pt}.delivery-note-evidence-section>header>strong{white-space:nowrap;font-size:7pt}.delivery-note-photo-grid{border:1px solid #b9c5bf;border-top:0;flex:1;grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(3,minmax(0,1fr));gap:2.5mm;min-height:0;padding:2.5mm;display:grid}.delivery-note-photo-grid figure{background:#f2f5f3;border:1px solid #c8d2cd;flex-direction:column;min-width:0;min-height:0;margin:0;display:flex;position:relative;overflow:hidden}.delivery-note-photo-grid img{object-fit:contain;background:#fff;flex:1;width:100%;min-height:0;display:block}.delivery-note-photo-grid figure.is-error img{visibility:hidden}.delivery-note-photo-grid figcaption{color:#52635c;text-align:center;background:#edf2ef;flex:none;min-height:6mm;padding:1.2mm 2mm;font-size:6.5pt}.delivery-note-photo-error{color:#8d332c;place-items:center;font-size:7pt;font-weight:700;display:grid;position:absolute;inset:0 0 6mm}.delivery-note-photo-empty{color:#718079;background:#f8faf9;border:1px dashed #aebcb5;border-top:0;flex:1;place-items:center;min-height:0;font-size:8pt;display:grid}.delivery-note-evidence-content>.delivery-note-footer{margin-top:3mm}@media (width<=850px){.delivery-note-print-page{padding:10px;overflow-x:auto}.delivery-note-toolbar{width:210mm;position:sticky;left:0}.delivery-note-toolbar>div{display:none}.delivery-note-toolbar{grid-template-columns:auto auto;justify-content:space-between}}@page{size:A4 portrait;margin:0}@media print{html,body,#root{width:210mm;height:auto;background:#fff!important;margin:0!important;padding:0!important}.app-shell{background:#fff;width:210mm;max-width:none;min-height:0;margin:0;padding:0}.topbar,.bottom-nav{display:none!important}.page-content{width:210mm;margin:0;padding:0}.delivery-note-print-page{background:#fff;width:210mm;height:auto;margin:0;padding:0}.delivery-note-toolbar,.print-warning,.offline-banner{display:none!important}.delivery-note-sheet{width:210mm;height:297mm;box-shadow:none;break-after:page;page-break-after:always;margin:0;padding:7mm}.delivery-note-sheet+.delivery-note-sheet{margin-top:0}.delivery-note-sheet:last-child{break-after:auto;page-break-after:auto}.delivery-note-content,.delivery-note-evidence-content{break-inside:avoid;page-break-inside:avoid;-webkit-print-color-adjust:exact;print-color-adjust:exact}}.detail-grid .delivery-date-edit{background:var(--soft);border:1px solid var(--line);border-radius:12px;gap:8px;padding:12px}.delivery-date-edit small{color:var(--muted);font-size:.72rem;line-height:1.5}.item-row .receiver-result{grid-column:2/-1;justify-self:start;margin-bottom:8px}.bottom-nav.with-users{grid-template-columns:repeat(5,1fr)}.account-bar{color:#526966;justify-content:space-between;align-items:center;gap:12px;width:min(100%,720px);margin:0 auto;padding:8px 16px 0;font-size:.78rem;display:flex}.account-bar span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account-bar a{color:var(--teal-dark);white-space:nowrap;align-items:center;min-height:32px;font-weight:700;text-decoration:underline;display:inline-flex}.sign-in-title{margin:0;font-size:1.35rem}.issued-password-value{overflow-wrap:anywhere;-webkit-user-select:all;user-select:all;letter-spacing:.04em;background:#f3f7f6;border:1px dashed #a8d2cc;border-radius:12px;margin:6px 0 0;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:1.15rem;font-weight:700}.user-flags{flex-wrap:wrap;gap:6px;margin:8px 0;display:flex}@media print{.account-bar{display:none}}.upload-button:focus-within,.receiver-checklist input:focus-visible+span{outline-offset:2px;outline:3px solid #1d4ed8}.account-log{margin:0;padding:0;list-style:none}.account-log>li{border-top:1px solid var(--line);overflow-wrap:anywhere;gap:3px;padding:10px 0;display:grid}.account-log>li:first-child{border-top:0}.account-log strong{font-size:.85rem}.account-log span{color:var(--ink);font-size:.8rem}
