/* v143: private production files, visible instructions, and one-click downloads. */
.production-package-fields{
  display:grid;
  gap:14px;
  padding:16px;
  margin-top:16px;
  border:1px solid #b9d7ff;
  border-radius:16px;
  background:linear-gradient(145deg,#f8fbff,#eef7ff);
}
.production-instructions-field{display:grid;gap:7px}
.production-instructions-field>b{font-size:15px;color:#12335d}
.production-instructions-field textarea{
  min-height:100px;
  resize:vertical;
  border:2px solid #9fc6f7;
  border-radius:13px;
  background:#fff;
  font-size:15px;
  line-height:1.6;
  padding:12px 14px;
}
.production-instructions-field textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #dbeafe;outline:0}
.production-instructions-field small{color:#526982}
.production-file-drop{
  display:grid;
  gap:12px;
  border:2px dashed #91b9ed;
  border-radius:15px;
  padding:14px;
  background:#fff;
  transition:.16s ease;
}
.production-file-drop:is(:hover,:focus-within,.is-dragging){border-color:#2563eb;background:#f5f9ff;box-shadow:0 0 0 3px #dbeafe}
.production-file-drop.has-files{border-style:solid;border-color:#80c7a2}
.production-file-drop-copy{display:grid;grid-template-columns:1fr auto;gap:3px 12px;align-items:center}
.production-file-drop-copy>b{font-size:16px;color:#0f315b}
.production-file-drop-copy>small{grid-column:1;color:#60758e}
.production-file-drop-copy>button{grid-column:2;grid-row:1/3;min-height:44px}
.production-file-guidance{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:11px;background:#fff7db;color:#704a00}
.production-file-guidance b{white-space:nowrap}
.production-file-guidance span{line-height:1.45}
.production-file-drop>[data-production-file-message]{margin:0;color:#405873}
.production-file-list{display:grid;gap:8px}
.production-file-row{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:9px 10px;
  border:1px solid #d7e4f2;
  border-radius:11px;
  background:#f9fbfe;
}
.production-file-row.is-new{border-color:#9fd7b6;background:#f1fbf5}
.production-file-type{
  display:grid;
  place-items:center;
  min-width:44px;
  height:32px;
  padding:0 8px;
  border-radius:8px;
  background:#dceaff;
  color:#164d96;
  font-size:11px;
  font-weight:900;
}
.production-file-copy{min-width:0}
.production-file-copy b,.production-file-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.production-file-copy b{color:#17375e}
.production-file-copy small{margin-top:2px;color:#6b7f97}
.production-file-remove{
  border:1px solid #f4b7b7;
  border-radius:8px;
  background:#fff5f5;
  color:#b42318;
  font-weight:800;
  padding:7px 10px;
}

.production-card>summary{
  grid-template-columns:58px minmax(200px,1.15fr) minmax(250px,1.15fr) minmax(130px,.65fr) minmax(180px,.85fr) auto 20px;
}
.production-package-summary{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:3px 9px;
  min-width:0;
  padding:9px 10px;
  border:1px solid #b8d6fb;
  border-radius:11px;
  background:#f0f7ff;
}
.production-package-summary>small{grid-column:1/3!important;margin:0!important;color:#37618e!important;font-weight:800}
.production-package-summary>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#123a67}
.production-package-summary>button{
  border:0;
  border-radius:8px;
  background:#175fc1;
  color:#fff;
  font-size:12px;
  font-weight:900;
  padding:6px 9px;
  white-space:nowrap;
}
.production-package-summary>button:hover{background:#0f4faa;transform:translateY(-1px)}
.production-package-summary.is-missing{border-color:#f6b5b5;background:#fff1f1}
.production-package-summary.is-missing>b{color:#b42318}
.production-package-summary.is-missing>button{background:#cbd5e1;color:#64748b}
.production-package-panel{
  display:grid;
  grid-template-columns:minmax(260px,1fr) minmax(300px,.8fr);
  gap:16px;
  padding:14px;
  border-top:1px solid #dbe7f5;
  background:linear-gradient(110deg,#eff8ff,#f8fbff);
}
.production-package-panel h3{margin:3px 0 7px;color:#102f55}
.production-package-panel p{margin:0 0 8px;line-height:1.6;color:#284663}
.production-package-panel>div>small{color:#647b93}
.production-download-list{display:grid;gap:7px;align-content:start}
.production-download-all{
  width:100%;
  min-height:42px;
  border:0;
  border-radius:10px;
  background:linear-gradient(120deg,#0f66d7,#174fa5);
  color:#fff;
  font-weight:900;
  box-shadow:0 5px 12px #1d4ed833;
}
.production-download-row{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:9px;
  align-items:center;
  width:100%;
  padding:8px 10px;
  border:1px solid #cbdff5;
  border-radius:10px;
  background:#fff;
  color:#14365e;
  text-align:left;
}
.production-download-row span:nth-child(2){min-width:0}
.production-download-row b,.production-download-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.production-download-row small{color:#6b8098;margin-top:2px}
.production-download-row>i{font-size:20px;color:#1461bf;font-style:normal}
.production-download-row:hover{border-color:#2563eb;background:#f4f8ff}
.production-package-missing{display:grid;gap:3px;padding:12px;border:1px solid #f4b7b7;border-radius:10px;background:#fff1f1;color:#a61b1b}
.production-package-edit-action{border-color:#6ea8ee!important;background:#eef6ff!important;color:#1452a0!important}

body.dark .production-package-fields{background:linear-gradient(145deg,#142844,#10233a);border-color:#315780}
body.dark .production-instructions-field>b,body.dark .production-file-drop-copy>b{color:#e7f1ff}
body.dark .production-instructions-field textarea,body.dark .production-file-drop{background:#0d1d31;color:#f8fafc}
body.dark .production-file-row,body.dark .production-download-row{background:#14263d}
body.dark .production-package-summary{background:#142e4d;border-color:#315f91}
body.dark .production-package-summary>b{color:#eef6ff}
body.dark .production-package-panel{background:#10243b}
body.dark .production-package-panel h3,body.dark .production-package-panel p{color:#eef6ff}
body.dark .production-download-row{background:#142940;color:#e8f2ff;border-color:#345477}

@media(max-width:1180px){
  .production-card>summary{grid-template-columns:52px minmax(180px,1fr) minmax(230px,1fr) minmax(170px,.8fr) auto 20px}
  .production-card>summary>span:nth-of-type(4){display:none}
}
@media(max-width:900px){
  .production-card>summary{grid-template-columns:48px minmax(0,1fr) auto;padding:10px}
  .production-package-summary{grid-column:2/4}
  .production-card>summary>span:nth-of-type(4){display:block;grid-column:2}
  .production-stage{grid-column:2}
  .production-package-panel{grid-template-columns:1fr}
}
@media(max-width:640px){
  .production-file-drop-copy{grid-template-columns:1fr}
  .production-file-drop-copy>button{grid-column:1;grid-row:auto;width:100%}
  .production-package-summary{grid-template-columns:1fr}
  .production-package-summary>small{grid-column:1!important}
  .production-package-summary>button{width:100%}
  .production-file-row{grid-template-columns:auto minmax(0,1fr)}
  .production-file-remove{grid-column:1/3}
}
