.loading-screen{padding:50px;font-size:18px;line-height:1.7}.section-gap{margin-top:22px}.span-all{grid-column:1/-1}.form-grid .span-all{grid-column:1/-1}.workflow-orders{min-width:1000px}.workflow-orders td small{max-width:200px;overflow:hidden;text-overflow:ellipsis}.record-actions{flex-wrap:nowrap}.record-actions .btn{font-size:13px}.field{min-width:0}.field input,.field select{min-width:0}.field input[type=file]{font-size:13px;padding:8px;background:#f6f9fc}.field input::file-selector-button{border:0;border-radius:5px;padding:6px 9px;margin-right:9px;background:#e5eef6;color:#254763;cursor:pointer}.file-summary{font-size:12px;color:var(--muted);font-weight:400}.file-context{font-size:13px;color:var(--muted);align-self:center;line-height:1.6}.file-field{gap:8px}
#workspace-dialog.wide{width:min(1000px,calc(100vw - 32px));max-width:1000px}#workspace-dialog.compact-order{width:min(1000px,calc(100vw - 32px))}.compact-order .dialog-header{padding:18px 24px}.compact-order .dialog-header h2{font-size:22px}.compact-order .dialog-header p{font-size:13px}.compact-order .dialog-body{padding:18px 24px}.compact-order .dialog-footer{padding:14px 24px}.order-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.order-form-grid .field{font-size:14px;gap:7px}.order-form-grid input,.order-form-grid select{font-size:15px;padding:10px;min-height:41px}.order-form-grid textarea{min-height:58px;height:58px;resize:vertical;font-size:14px}.order-form-grid>.file-field{grid-column:span 2}.order-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;border:1px solid #dce6ef;border-radius:8px;background:#f5f9fc;padding:16px;margin:0}.order-counts legend{font-size:14px;font-weight:650;padding-inline:8px}.edit-order .dialog-body{padding:20px 24px}.edit-order .dialog-header h2{font-size:22px}.edit-order .dialog-header{padding:20px 24px}.attachment-list{margin-top:18px;display:flex;flex-direction:column;gap:8px}.attachment-list>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;background:#f5f8fb;border:1px solid var(--line);border-radius:6px}.attachment-list>div>span{display:flex;gap:8px;align-items:center;min-width:0}.attachment-list strong{max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.attachment-list small{font-size:11px;color:var(--muted);white-space:nowrap}.attachment-list .icon{width:18px}.attachment-list .btn{font-size:12px;padding:5px 8px}.attachment-list>div>span:last-child{flex:none}
#file-viewer{padding:0;border:0;border-radius:10px;width:min(1100px,94vw);max-width:1100px;height:90vh;max-height:94vh;box-shadow:0 20px 90px #0005;overflow:hidden}#file-viewer::backdrop{background:#0c1e34aa}#file-viewer .dialog-header{height:85px;padding:16px 22px}#file-viewer .dialog-header>div:last-child{display:flex;align-items:center;gap:15px}#file-viewer h2{font-size:18px;max-width:650px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.file-preview{height:calc(100% - 85px);overflow:auto;background:#e9eef4;display:flex;justify-content:center}.file-preview object{width:100%;height:100%;border:0}.file-preview img{object-fit:contain;max-width:100%;max-height:100%;margin:auto}.charge-row{display:grid;grid-template-columns:1fr 180px 34px;gap:14px;align-items:end;margin-bottom:13px}.charge-row .icon-btn{margin-bottom:5px}.charge-summary{display:flex;justify-content:flex-end;gap:15px;padding:14px 18px;background:#edf5fb;border-radius:7px;margin:12px 0 22px;font-size:14px}.charge-summary strong{color:var(--blue);font-size:18px}.charge-history{list-style:none;padding:0;margin:12px 0 22px}.charge-history li{display:flex;justify-content:space-between;padding:12px;border-bottom:1px solid var(--line);font-size:14px}.filter-date{border:1px solid #d4dce6;border-radius:6px;padding:9px;font-size:14px;color:var(--ink);max-width:180px}.furnace-settings-list>div,.deleted-furnaces>div{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding:16px 0}.furnace-settings-list strong{display:block;font-size:15px}.furnace-settings-list small{display:block;color:var(--muted);font-size:12px;margin-top:7px}.furnace-settings-list .btn{font-size:12px;padding-inline:10px;min-height:35px}.deleted-furnaces{margin-top:25px;font-size:14px;color:#6d7c8d}.deleted-furnaces summary{cursor:pointer}.settings-card .card-heading{flex-wrap:wrap}.settings-card .field{margin-bottom:15px}.settings-card p{line-height:1.8}.settings-card>h3{margin-bottom:12px}
.report-controls{display:flex;gap:16px;align-items:flex-end;margin-bottom:24px;background:#fff;border:1px solid var(--line);border-radius:9px;padding:15px 18px}.report-controls .field{font-size:13px;min-width:155px}.report-controls .field input,.report-controls .field select{font-size:14px;min-height:40px;padding:8px 12px}.report-controls>p{margin:0 0 10px auto;font-size:13px;color:var(--muted)}.production-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:20px}.measured-chart{width:100%;padding:4px 16px;display:block;margin-top:20px}.measured-chart text{font:12px 'Segoe UI',sans-serif;fill:#7b8999}.chart-source{text-align:center;font-size:12px;color:#8a97a5;margin:10px 0 15px}.materials-summary{padding-bottom:13px;min-width:0}.material-row{padding:8px 20px}.material-row>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px}.material-row strong{font-size:14px;white-space:nowrap}.material-bar{height:5px;border-radius:3px;background:#edf2f7;margin-top:8px;overflow:hidden}.material-bar span{display:block;height:100%;background:linear-gradient(90deg,#2476aa,#68b2df);border-radius:3px}.production-grid .card-heading h2{font-size:17px}.workspace .kpi strong{font-size:26px}.workspace .kpi small{font-size:12px}
@media(min-width:701px) and (max-height:720px){.compact-order .dialog-header{padding:12px 22px}.compact-order .dialog-body{padding:12px 22px}.compact-order .dialog-footer{padding:12px 22px}.compact-order .order-form-grid{gap:12px}.compact-order .field input{min-height:36px;padding:8px}.compact-order .field textarea{height:45px;min-height:45px}.compact-order .dialog-header p{margin-top:5px}}
@media(max-width:1100px){.production-grid{grid-template-columns:1fr}.materials-summary{display:grid;grid-template-columns:1fr 1fr;padding-bottom:18px}.materials-summary .card-heading{grid-column:1/-1}.report-controls>p{display:none}.order-form-grid{gap:14px}.workflow-orders{min-width:1000px}}
@media(max-width:700px){.order-form-grid{grid-template-columns:1fr 1fr;gap:12px}.order-form-grid .field{font-size:13px}.order-form-grid .field input{font-size:14px;padding:9px;min-height:37px}.compact-order .dialog-header{padding:15px 16px}.compact-order .dialog-body{padding:14px 16px}.compact-order .dialog-header h2{font-size:21px}.compact-order .dialog-footer{padding:12px 16px}.compact-order .file-context{display:none}.order-form-grid>.file-field{grid-column:1/-1}.order-counts{grid-template-columns:1fr;gap:12px}.attachment-list>div{align-items:flex-start;flex-direction:column;gap:5px}.attachment-list strong{max-width:180px}.attachment-list small{display:none}.attachment-list .btn{min-height:30px}.charge-row{grid-template-columns:minmax(0,1fr) 100px 28px;gap:8px}.charge-row label{font-size:12px}.charge-row input,.charge-row select{font-size:13px}.report-controls{flex-wrap:wrap;gap:12px;padding:13px}.report-controls .field{flex:1;min-width:120px}.materials-summary{grid-template-columns:1fr}.material-row{padding-block:10px}.material-row>div:first-child{font-size:14px}.material-row strong{font-size:15px}.production-grid{gap:17px}.measured-chart{padding-inline:3px}.production-grid .card-heading{align-items:flex-start;flex-direction:column;gap:9px}.production-grid .card-heading h2{font-size:18px}.furnace-settings-list>div{flex-wrap:wrap}.settings-card .card-heading{gap:14px}.form-grid .span-all{grid-column:1/-1}#file-viewer h2{max-width:170px;font-size:14px}#file-viewer .dialog-header{padding:13px}.workspace .kpi strong{font-size:23px}.workspace .kpi small{font-size:11px}}
.pdf-host{display:flex;flex-direction:column;overflow:hidden}.pdf-tools{display:flex;align-items:center;justify-content:center;gap:14px;flex:0 0 52px;background:#f6f8fb;border-bottom:1px solid #d4dce6;font-size:13px}.pdf-tools button{min-height:30px;padding:4px 12px;font-size:20px}.pdf-tools select{padding:5px;border:1px solid #cbd5e1;border-radius:4px;margin-left:5px}.pdf-canvas-area{flex:1;min-height:0;overflow:auto;text-align:center;padding:16px}.pdf-canvas-area canvas{display:block;margin:auto;background:white;box-shadow:0 2px 10px #132a4420}
.quote-document-preview{height:calc(100vh - 230px);min-height:590px;border:1px solid #ccd5de;background:#e9eef4;border-radius:8px;overflow:hidden}.quote-profile-settings{border-block:1px solid var(--line);padding:18px 0;margin:20px 0}.quote-profile-settings summary{font-size:14px;font-weight:650;cursor:pointer;line-height:1.7}.quote-profile-settings .form-help{margin:15px 0}.quote-profile-settings .form-grid{gap:12px}.quote-profile-settings .field{min-width:0}.quote-profile-settings input{min-width:0;width:100%}.quote-profile-settings .checkbox-filter input{width:auto}.quote-profile-settings textarea{min-height:70px}.quote-issuer-hint{font-size:13px;line-height:1.7;color:#63768c;padding:15px 0;border-top:1px solid var(--line);margin-top:22px}.quote-issuer-hint .checkbox-filter{margin-top:12px;align-items:flex-start}@media(max-width:700px){.quote-document-preview{height:75vh;min-height:480px}.quote-profile-settings .form-grid{grid-template-columns:1fr}.quote-document-preview .pdf-tools{gap:7px;font-size:12px}}
