.workflow{display:flex;flex-direction:column;gap:14px;min-height:420px;height:calc(100dvh - 210px)}.workflow-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.workflow-tabs button{display:flex;align-items:center;gap:9px;padding:13px 12px;border:1px solid #cfd7c7;border-radius:12px;background:#fffef9;color:#294735;text-align:left;min-height:54px}.workflow-tabs button[aria-pressed=true]{background:#345942;color:#fff}.workflow-tabs b{margin-left:auto}.workflow-tabs small{opacity:.7}.workflow-tools{display:flex;gap:10px;flex-wrap:wrap}.workflow-tools input{flex:1;min-width:160px}.workflow-panes{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(350px,1.6fr);gap:16px;min-height:0;flex:1}.workflow-list{overflow:auto;min-height:0;display:flex;flex-direction:column;gap:8px}.workflow-row{display:flex;flex-direction:column;align-items:stretch;gap:7px;text-align:left;background:#fffef9;border:1px solid #dfdfd3;border-radius:12px;padding:16px;color:#294735}.workflow-row[aria-pressed=true]{border:2px solid #345942;padding:15px;background:#edf2e7}.workflow-row small{display:block;font-weight:400;color:#596759;margin-top:4px}.workflow-detail{display:flex;flex-direction:column;background:#fffef9;border:1px solid #dfdfd3;border-radius:14px;min-height:0;overflow:hidden}.workflow-detail header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px 0}.workflow-detail h2{font-size:22px;margin:5px 0}.workflow-status{padding:0 20px;margin:8px 0;color:#345942;font-weight:600}.workflow-facts{padding:8px 20px 14px;display:grid;grid-template-columns:1fr 1fr;gap:12px;border-bottom:1px solid #e0e3d8;margin:0}.workflow-facts dt{font-size:12px;color:#637060}.workflow-facts dd{margin:3px 0 0;font-size:14px}.workflow-scroll{overflow:auto;min-height:0;padding:4px 20px 18px;flex:1}.workflow-scroll h3{font-size:15px;margin:18px 0 6px}.workflow-scroll p{font-size:14px;margin:6px 0;white-space:pre-wrap}.workflow-card-message{border-left:2px solid #94a77f;padding-left:12px}.workflow-detail footer{display:flex;flex-wrap:wrap;gap:8px;padding:14px 20px;border-top:1px solid #e0e3d8;background:#f7f8f1}.workflow-scroll form{border-top:1px solid #e0e3d8;margin-top:16px}.workflow-scroll label{display:block;font-size:14px;margin:10px 0}.workflow-scroll label input,.workflow-scroll textarea{display:block;width:100%;margin-top:5px}.workflow-scroll form>button{margin:8px 8px 0 0}@media(max-width:900px){.workflow-tabs{display:flex;overflow:auto}.workflow-tabs button{flex:none}.workflow{height:auto}.workflow-panes{grid-template-columns:1fr}.workflow-list{max-height:30dvh}.workflow-detail{max-height:70dvh;min-height:400px}}.workflow-scroll .counter-delivery-proof{border:0;padding:0;background:transparent}.workflow-scroll .counter-delivery-proof .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px}.workflow-scroll .counter-delivery-proof .field{margin:0}.workflow-scroll .counter-delivery-proof textarea{min-height:64px;height:64px}.workflow-scroll .counter-delivery-proof .proof-slots:empty{display:none}.workflow-label-preview{position:fixed;inset:20px;z-index:1200;background:#fff;display:flex;flex-direction:column;box-shadow:0 0 0 100vmax #0008;border-radius:12px;overflow:hidden}.workflow-label-preview header{display:flex;align-items:center;gap:12px;padding:12px 20px}.workflow-label-preview header strong{margin-right:auto}.workflow-label-preview iframe{width:100%;flex:1;border:0}@media(max-width:600px){.workflow-scroll .counter-delivery-proof .form-grid{grid-template-columns:1fr}.workflow-label-preview{inset:5px}.workflow-label-preview header{flex-wrap:wrap}}.workflow-print-menu{position:relative;align-self:center}.workflow-print-menu summary{cursor:pointer;padding:10px;border:1px solid #cfd7c7;border-radius:8px;background:#fff}.workflow-print-menu[open]{display:flex;flex-wrap:wrap;gap:6px}.workflow-print-menu>button{margin:6px 6px 0 0}.workflow-scroll .counter-delivery-proof .contact-buttons{display:flex;gap:8px;margin:8px 0}.workflow-scroll .counter-delivery-proof .file-select{display:inline-block;margin:0;position:relative;cursor:pointer;padding:8px 12px;border:1px solid #cfd7c7;border-radius:8px}.workflow-scroll .counter-delivery-proof .file-select input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.workflow-scroll .counter-delivery-proof h3{margin-top:10px}.workflow-scroll .counter-delivery-proof .form-hint{font-size:12px;line-height:1.35;margin:10px 0}.workflow-scroll .counter-delivery-proof .field span{display:block;margin-bottom:4px}.workflow-scroll .counter-delivery-proof select{width:100%}.workflow-scroll .counter-delivery-proof *{box-sizing:border-box}.workflow-scroll .counter-delivery-proof textarea{height:46px;min-height:46px}.workflow-scroll .counter-delivery-proof>button.primary{position:sticky;bottom:0;box-shadow:0 0 0 5px #fffef9}.delivery-corrections summary{cursor:pointer;padding:12px 0;font-weight:600}
