.q-action-row,.q-header-actions,.q-jo-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.q-jo-title h2{margin:0}.q-header-actions{margin-left:auto}.q-sales-scope{display:flex;gap:8px;margin:14px 0}.q-sales-scope button[aria-pressed=true]{background:#b51f38;color:#fff;border-color:#b51f38}.q-action{padding:7px 10px!important;min-height:38px;margin:3px!important}.q-rework-badge{display:block;width:max-content;margin:0 auto 6px!important;background:#e7eff9;color:#214e79}.q-stage-panel label{max-width:320px;margin-top:14px}.q-stage-panel .q-action{margin-right:10px!important}.q-missing,.q-request-banner{padding:14px;background:#fff3e4;color:#744412;border:1px solid #e9d1ad;border-radius:8px}.q-layout-thumbs{display:flex;gap:6px;justify-content:center}.q-layout-thumbs button{padding:2px;border:0;background:transparent}.q-layout-thumbs img{width:70px!important;height:60px!important;object-fit:contain}.q-photo-hover{position:fixed;right:24px;bottom:24px;max-width:45vw;max-height:65vh;object-fit:contain;background:white;padding:10px;border:1px solid #d1d6de;box-shadow:0 10px 40px #0004;z-index:200000;pointer-events:none}.q-photo-drop{border:2px dashed #bac2cf;border-radius:10px;padding:24px;min-height:140px}.q-photo-drop.active{background:#fbeef1}.q-photo-drop:focus{outline:2px solid #b51f38}.q-material-row{display:grid;grid-template-columns:2fr 1fr auto;gap:12px;align-items:end;margin:12px 0}.q-doc-inline{display:flex;align-items:end;gap:10px;min-width:270px}.q-doc-inline label{margin:0;min-width:150px}.q-doc-inline input{width:100%}.q-jo-title .badge{white-space:nowrap}.j-invoice-details [role=tab][aria-selected=true]{background:#b51f38!important;color:#fff!important}.q-stage-panel [data-q-status]{min-height:44px}.q-stage-panel .q-missing{max-width:none}body[data-h-view=Production] .department-summary{display:none}body[data-h-view=Sales][data-h-tab=Quotations] table td button{padding:7px 10px!important;margin:4px!important;min-height:36px}
@media(hover:none){.q-photo-hover{display:none}}@media(max-width:600px){.q-header-actions{margin:0}.q-header-actions button{flex:1}.q-jo-title h2{flex-basis:100%;overflow-wrap:anywhere}.q-material-row{grid-template-columns:1fr}.q-sales-scope{flex-wrap:wrap}.q-doc-inline{flex-wrap:wrap}.q-photo-drop{padding:16px}.q-stage-panel label{max-width:100%}}
