#project-production-panel { margin: 20px 0; padding: 24px; }
.production-progress-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-top:20px; }
.production-progress-card { --health:#64748b; display:grid; grid-template-columns:1fr auto; gap:12px; padding:18px; border:1px solid #cbd5e1; border-radius:12px; background:#f8fafc; text-align:left; color:#193047; min-height:180px; cursor:pointer; font:inherit; }
.production-progress-card:hover { background:#edf3ff; border-color:#2563eb; }
.production-progress-card:focus-visible { outline:3px solid #2563eb; outline-offset:3px; }
.production-progress-card strong { font-size:1rem; align-self:center; }
.production-progress-number { font-size:1.4rem; font-weight:750; align-self:center; }
.production-progress-card progress { appearance:none; width:100%; height:12px; grid-column:1/-1; border:0; border-radius:20px; overflow:hidden; background:#e2e8f0; }
.production-progress-card progress::-webkit-progress-bar { background:#e2e8f0; }
.production-progress-card progress::-webkit-progress-value { background:var(--health); border-radius:20px; }
.production-progress-card progress::-moz-progress-bar { background:var(--health); }
.production-progress-card > span:not(.production-progress-number) { grid-column:1/-1; font-size:.9rem; }
.production-progress-health { color:var(--health); font-weight:700; border-left:4px solid var(--health); padding-left:8px; }
.health-overdue { --health:#b91c1c; }
.health-soon { --health:#946200; }
.health-on-time,.health-complete { --health:#15803d; }
.production-progress-card progress::-webkit-progress-bar { background:color-mix(in srgb,var(--health) 12%,#f1f5f9); }
.production-progress-card progress { background:color-mix(in srgb,var(--health) 12%,#f1f5f9); }
.production-progress-note { margin-top:16px; color:#52647b; font-size:.85rem; line-height:1.6; }
.readiness-work-item .readiness-work-title { font-size:1.08rem; line-height:1.4; font-weight:750; }
.readiness-work-item > div:first-child > span { font-size:.85rem; line-height:1.5; margin-top:6px; }
.readiness-quick-assignment { gap:12px; }
.readiness-quick-assignment label,.readiness-quick-assignment input,.readiness-quick-assignment select { min-width:0; width:100%; box-sizing:border-box; }
.readiness-embedded #app-shell { display:none; }
.readiness-embedded #sales-order-dialog { max-width:none; width:100%; max-height:100dvh; height:100dvh; margin:0; border:0; border-radius:0; padding:22px; }
.readiness-embedded #sales-order-dialog::backdrop { background:#fff; }
.readiness-embedded #sales-order-dialog > :not(.editor-heading):not(#production-readiness-panel):not(#status-controls) { display:none; }
.readiness-embedded #close-sales-order-dialog,.readiness-embedded #sales-order-dialog > .editor-heading p { display:none; }
.readiness-section-focused #status-controls,
.readiness-section-focused .readiness-heading,
.readiness-section-focused #readiness-metrics,
.readiness-section-focused #readiness-review-content > :not(#readiness-checklist) { display:none!important; }
.readiness-embedded .readiness-section[hidden] { display:none!important; }
.readiness-section-focused .readiness-section > h4 { display:none; }
@media(max-width:1200px) { .production-progress-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .production-progress-grid { grid-template-columns:1fr; } #project-production-panel {padding:16px;} #project-production-panel .project-panel-heading {flex-direction:column;align-items:stretch;gap:12px;} }
