.production-document-modal-backdrop{position:fixed;inset:0;z-index:1600;display:grid;place-items:center;padding:18px;background:rgba(10,19,36,.72);backdrop-filter:blur(5px)}
.production-document-modal{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(1180px,100%);height:min(880px,calc(100vh - 36px));overflow:hidden;border:1px solid rgba(255,255,255,.35);border-radius:18px;background:#f1f4f8;box-shadow:0 30px 90px rgba(4,12,28,.4)}
.production-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid #dfe4ea;background:#fff}
.production-modal-head>div{display:grid;gap:2px}.production-modal-head span{color:#f97316;font-size:9px;font-weight:950;letter-spacing:.12em;text-transform:uppercase}.production-modal-head h2{margin:0;color:#101828;font-size:20px}.production-modal-head p{margin:2px 0 0;color:#667085;font-size:11px}
.production-modal-head>button{display:grid;place-items:center;width:34px;height:34px;border:1px solid #e4e7ec;border-radius:10px;background:#fff;color:#344054;font-size:22px;cursor:pointer}
.production-document-layout{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:0}
.production-document-picker{overflow:auto;padding:14px;border-right:1px solid #dfe4ea;background:#f8fafc}
.production-document-picker>button{width:100%;display:grid;grid-template-columns:24px 1fr;column-gap:8px;row-gap:2px;margin-bottom:8px;padding:11px;border:1px solid #e4e7ec;border-radius:11px;background:#fff;text-align:left;color:#344054;cursor:pointer}
.production-document-picker>button:hover{border-color:#fdba74}.production-document-picker>button.active{border-color:#f97316;background:#fff8f1;box-shadow:0 0 0 2px rgba(249,115,22,.1)}
.production-document-picker>button span{grid-row:1/3;display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:#fff1e7;color:#ea580c;font-size:8px;font-weight:950}.production-document-picker>button strong{font-size:11px}.production-document-picker>button small{color:#667085;font-size:8px}
.receipt-form{display:grid;gap:8px;margin-top:14px;padding-top:14px;border-top:1px solid #dfe4ea}.receipt-form label{display:grid;gap:4px;color:#475467;font-size:9px;font-weight:800}.receipt-form input,.receipt-form select{width:100%;min-height:34px;padding:6px 8px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;color:#182230;font:inherit}.receipt-form .btn{margin-top:3px;justify-content:center}.production-form-error{margin:0;color:#b42318;font-size:9px;line-height:1.4}
.production-document-stage{overflow:auto;padding:24px;background:#e8edf3}.production-document-sheet{width:min(760px,100%);min-height:980px;margin:0 auto;padding:42px;border:1px solid #dfe4ea;background:#fff;color:#182230;box-shadow:0 16px 45px rgba(15,23,42,.12)}
.production-document-head{display:flex;justify-content:space-between;gap:24px;padding-bottom:22px;border-bottom:3px solid #14213d}.production-brand{display:flex;align-items:flex-start;gap:11px}.production-brand>span{display:grid;place-items:center;width:38px;height:46px;border-radius:9px;background:#14213d;color:#fff;font-size:13px;font-weight:950}.production-brand>div{display:grid;gap:4px}.production-brand strong{font-size:15px}.production-brand small{color:#667085;font-size:9px;line-height:1.5}.production-document-title{text-align:right}.production-document-title span{color:#f97316;font-size:8px;font-weight:950;letter-spacing:.1em;text-transform:uppercase}.production-document-title h1{margin:4px 0 3px;font-size:24px;line-height:1}.production-document-title>strong{color:#667085;font-size:10px}
.production-project-strip{display:grid;grid-template-columns:1fr 1.4fr .8fr;gap:12px;margin:20px 0;padding:12px;border-radius:10px;background:#f8fafc}.production-project-strip>div,.production-contact-grid>div{display:grid;gap:3px}.production-project-strip span,.production-contact-grid span,.production-summary span,.production-callout span{color:#98a2b3;font-size:7px;font-weight:950;letter-spacing:.09em;text-transform:uppercase}.production-project-strip strong{font-size:9px}
.production-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:16px 0}.production-summary>div{padding:9px;border:1px solid #eaecf0;border-radius:8px;background:#fafafa}.production-summary strong{display:block;margin-top:3px;font-size:11px}
.production-block{margin-top:22px}.production-block-title{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:8px}.production-block-title h2,.production-checklist h2{margin:0;font-size:13px}.production-block-title span{color:#667085;font-size:8px}
.production-table{width:100%;border-collapse:collapse;font-size:9px}.production-table th{padding:8px;border-bottom:1px solid #d0d5dd;background:#f8fafc;color:#667085;text-align:left;font-size:7px;letter-spacing:.07em;text-transform:uppercase}.production-table td{padding:9px 8px;border-bottom:1px solid #eaecf0}.production-table th:not(:first-child),.invoice-table td:not(:first-child){text-align:right}.production-table .write-cell{min-width:150px}.production-table .check-cell{width:20px;color:#f97316;font-size:13px}.production-empty{display:grid;gap:4px;padding:18px;border:1px dashed #fdba74;border-radius:9px;background:#fffaf5}.production-empty strong{font-size:10px}.production-empty span{color:#667085;font-size:9px;line-height:1.5}
.production-write-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px 30px;margin-top:34px}.production-write-grid>div{height:42px;border-bottom:1px solid #98a2b3}.production-write-grid span{color:#667085;font-size:8px}.production-contact-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:20px 0}.production-contact-grid.two{grid-template-columns:1fr 1fr}.production-contact-grid strong{font-size:10px}.production-contact-grid small{color:#667085;font-size:8px;line-height:1.5}.write-line{min-height:18px;border-bottom:1px solid #98a2b3}
.production-callout{margin-top:18px;padding:12px;border-left:3px solid #f97316;background:#fffaf5}.production-callout p{margin:5px 0 0;color:#475467;font-size:9px;line-height:1.55;white-space:pre-wrap}.production-checklist{display:grid;grid-template-columns:1fr 1fr;gap:9px 18px;margin-top:24px}.production-checklist h2{grid-column:1/-1}.production-checklist div{padding:8px;border-bottom:1px solid #eaecf0;font-size:8px}
.production-totals{width:300px;margin:18px 0 0 auto}.production-totals>div{display:flex;justify-content:space-between;gap:18px;padding:6px 0;border-bottom:1px solid #eaecf0;font-size:9px}.production-totals .grand{margin-top:4px;padding:10px 0;border-color:#14213d;font-size:13px}
.receipt-hero{display:grid;justify-items:center;gap:5px;margin:42px 0;padding:30px;border:1px solid #bbf7d0;border-radius:14px;background:#f0fdf4;text-align:center}.receipt-hero span{color:#15803d;font-size:9px;font-weight:950;letter-spacing:.1em;text-transform:uppercase}.receipt-hero strong{color:#14532d;font-size:40px}.receipt-hero small{color:#4b7a59;font-size:9px}.receipt-summary{grid-template-columns:repeat(3,1fr)}
.production-document-sheet>footer{margin-top:42px;padding-top:12px;border-top:1px solid #eaecf0;color:#98a2b3;font-size:8px;text-align:center}.production-document-placeholder{display:grid;place-items:center;align-content:center;width:min(760px,100%);min-height:520px;margin:0 auto;border:1px dashed #cbd5e1;border-radius:16px;background:rgba(255,255,255,.65);text-align:center}.production-document-placeholder span{color:#f97316;font-size:9px;font-weight:950;text-transform:uppercase}.production-document-placeholder h3{margin:6px 0;font-size:18px}.production-document-placeholder p{max-width:410px;margin:0;color:#667085;font-size:11px;line-height:1.5}
.production-document-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 18px;border-top:1px solid #dfe4ea;background:#fff}.production-document-actions>span{color:#667085;font-size:9px}.production-document-actions>div{display:flex;gap:8px}.production-document-actions .btn{white-space:nowrap}
.accepted-production-action{background:#14213d!important;color:#fff!important;border-color:#14213d!important}
@media(max-width:820px){.production-document-modal-backdrop{padding:0}.production-document-modal{height:100vh;border:0;border-radius:0}.production-modal-head p,.production-document-actions>span{display:none}.production-document-layout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.production-document-picker{display:flex;gap:8px;overflow-x:auto;border-right:0;border-bottom:1px solid #dfe4ea}.production-document-picker>button{min-width:150px;margin:0}.receipt-form{min-width:220px;margin:0;padding:0 0 0 10px;border:0;border-left:1px solid #dfe4ea}.production-document-stage{padding:12px}.production-document-sheet{min-width:680px}.production-document-actions{justify-content:flex-end}}
@media print{body.production-document-printing>*:not(.production-document-modal-backdrop){display:none!important}body.production-document-printing .production-document-modal-backdrop{position:static!important;display:block!important;padding:0!important;background:#fff!important}body.production-document-printing .production-document-modal{display:block!important;width:auto!important;height:auto!important;overflow:visible!important;border:0!important;border-radius:0!important;box-shadow:none!important}body.production-document-printing .production-modal-head,body.production-document-printing .production-document-picker,body.production-document-printing .production-document-actions{display:none!important}body.production-document-printing .production-document-layout,body.production-document-printing .production-document-stage{display:block!important;overflow:visible!important;padding:0!important;background:#fff!important}body.production-document-printing .production-document-sheet{width:auto!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}}
