/* Prime Coating demo showcase: isolated UI only. */
#primeLiveDashboard.prime-demo-dashboard{width:min(1160px,calc(100% - 28px));margin:10px auto 70px!important;padding:0!important;background:transparent!important;}
#primeLiveDashboard .prime-demo-dash{background:#f5f8fb;border:1px solid #b9c9d5;border-radius:9px;box-shadow:0 5px 18px rgba(31,95,139,.14);overflow:hidden;color:#17212b;font-family:Arial,sans-serif}
#primeLiveDashboard .pdd-head{height:45px;display:flex;align-items:center;padding:0 14px;background:#1f5f8b;color:#fff;border-bottom:3px solid #ef8b22;font-weight:800}
#primeLiveDashboard .pdd-head .title{font-size:17px}.pdd-head .ctx{margin-left:auto;font-size:11.5px;font-weight:700;color:#fff4cf}.pdd-head .live{margin-left:10px;padding:2px 8px;border-radius:10px;background:#e8f7ed;color:#1f6c3d;font-size:10px;border:1px solid #b9e1c6}
#primeLiveDashboard .pdd-body{padding:10px}
#primeLiveDashboard .pdd-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:9px}
#primeLiveDashboard .pdd-kpi{background:#fff;border:1px solid #c6d3dc;border-radius:6px;padding:8px 9px;min-height:61px;box-shadow:0 1px 4px rgba(31,95,139,.05)}
#primeLiveDashboard .pdd-kpi span{display:block;font-size:10.5px;font-weight:700;color:#536777;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#primeLiveDashboard .pdd-kpi b{display:block;font-size:20px;line-height:23px;color:#173a52}
#primeLiveDashboard .pdd-kpi small{font-size:9.5px;color:#728493}
#primeLiveDashboard .pdd-row{display:grid;grid-template-columns:1.45fr .75fr;gap:9px}
#primeLiveDashboard .pdd-card{background:#fff;border:1px solid #c6d3dc;border-radius:6px;overflow:hidden}
#primeLiveDashboard .pdd-card-title{height:34px;display:flex;align-items:center;padding:0 10px;background:#eaf3f9;border-bottom:1px solid #c6d3dc;color:#173a52;font-size:12px;font-weight:800}
#primeLiveDashboard .pdd-card-title button{margin-left:auto;height:25px;padding:0 8px;border:1px solid #c97310;background:#f39a22;color:#111;border-radius:4px;font-size:10px;font-weight:700;cursor:pointer}
#primeLiveDashboard .pdd-table-wrap{max-height:280px;overflow:auto}
#primeLiveDashboard table{width:100%;border-collapse:collapse;table-layout:fixed}
#primeLiveDashboard th,#primeLiveDashboard td{border-bottom:1px solid #d7e0e6;padding:6px 7px;font-size:10.5px;color:#17212b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}
#primeLiveDashboard th{position:sticky;top:0;background:#dfeaf2;color:#173a52;font-weight:800;z-index:1}
#primeLiveDashboard tbody tr:hover td{background:#f4f9fc}
#primeLiveDashboard .pdd-status{display:inline-block;padding:2px 6px;border-radius:9px;font-size:9.5px;font-weight:800;border:1px solid #c9d5dd;background:#f2f5f7}
#primeLiveDashboard .pdd-status.delay{background:#fff0ee;border-color:#efc4bd;color:#a33b2f}.pdd-status.today{background:#fff7df;border-color:#ebd18b;color:#825f10}.pdd-status.ok{background:#edf7f0;border-color:#b9dcc4;color:#286743}
#primeLiveDashboard .pdd-side{padding:8px 10px}.pdd-side-line{display:flex;align-items:center;justify-content:space-between;padding:7px 0;border-bottom:1px dashed #d5dee5;font-size:11px}.pdd-side-line:last-child{border-bottom:0}.pdd-side-line b{font-size:13px;color:#173a52}
#primeLiveDashboard .pdd-foot{display:flex;align-items:center;gap:10px;padding:7px 10px;border-top:1px solid #d3dde4;background:#edf4f8;font-size:10px;color:#5a6d7b}.pdd-foot .sp{margin-left:auto}
@media(max-width:1000px){#primeLiveDashboard .pdd-kpis{grid-template-columns:repeat(3,1fr)}#primeLiveDashboard .pdd-row{grid-template-columns:1fr}}

/* Job Receipt: clearer demo grouping + live quantity position. */
#primeJobReceipt .prime-form{max-width:1130px!important}
#primeJobReceipt .prime-demo-section-title{grid-column:1/-1;height:28px;display:flex;align-items:center;padding:0 9px;margin:-1px 0 0;background:#eaf3f9;border:1px solid #c0ced8;color:#173a52;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.25px}
#primeJobReceipt .prime-demo-qty-strip{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:1px 0 2px;padding:7px;background:#f7fafc;border:1px solid #c6d3dc;border-radius:4px}
#primeJobReceipt .prime-demo-qty-box{background:#fff;border:1px solid #c6d3dc;border-radius:4px;padding:6px 8px;min-height:50px}
#primeJobReceipt .prime-demo-qty-box span{display:block;color:#5c6f7d;font-size:9.5px;font-weight:700;margin-bottom:3px}.prime-demo-qty-box b{font-size:16px;color:#173a52}.prime-demo-qty-box small{font-size:9px;color:#778995;margin-left:3px}
#primeJobReceipt .prime-demo-qty-box.balance b{color:#9a5c05}
#primeJobReceipt .prime-demo-help{grid-column:1/-1;padding:5px 8px;background:#fff8e8;border-left:3px solid #ef9c24;color:#625234;font-size:10px;line-height:1.35}
#primeJobReceipt .prime-fields{gap:8px 14px!important}

/* Coating Process Card: clearer stage grouping / richer process table. */
#routeCardV2 .jc-demo-subtitle{grid-column:1/-1;height:27px;display:flex;align-items:center;padding:0 9px;margin:-2px 0 0;background:#eaf3f9;border:1px solid #c0ced8;color:#173a52;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.25px}
#routeCardV2 .jc-demo-summary{grid-column:1/-1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;padding:7px;background:#f7fafc;border:1px solid #c6d3dc;border-radius:4px}
#routeCardV2 .jc-demo-summary>div{background:#fff;border:1px solid #c6d3dc;border-radius:4px;padding:6px 8px}.jc-demo-summary span{display:block;font-size:9.5px;color:#607380;font-weight:700}.jc-demo-summary b{display:block;margin-top:2px;font-size:14px;color:#173a52;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#routeCardV2 .jc-table th,#routeCardV2 .jc-table td{font-size:10.5px!important;padding:5px 5px!important}
@media(max-width:900px){#primeJobReceipt .prime-demo-qty-strip{grid-template-columns:repeat(2,1fr)}#routeCardV2 .jc-demo-summary{grid-template-columns:repeat(2,1fr)}}


/* Prime Job Receipt section bars: neutral grey as requested for demo. */
#primeJobReceipt .prime-demo-section-title{
  background:#737d86!important;
  border-color:#68727b!important;
  color:#ffffff!important;
  box-shadow:none!important;
}
