.production-panel{grid-column:1/-1;border:1px solid var(--border-color,#ddd);border-radius:10px;padding:20px;margin:12px 0}
.production-panel h3{margin:0 0 8px}.production-panel p{font-size:.9rem;margin:10px 0}
.production-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}
.production-grid label{display:flex;flex-direction:column;gap:5px}.production-grid input,.production-grid select{width:100%;padding:10px;border:1px solid #ccc;border-radius:5px}
.production-drop{display:flex;flex-direction:column;gap:12px;align-items:center;border:2px dashed #aab1bd;border-radius:8px;padding:24px;margin:18px 0;cursor:pointer}
.production-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.production-panel button:disabled{opacity:.5;cursor:default}
#production-parts{display:flex;flex-wrap:wrap;gap:10px;max-height:200px;overflow:auto;margin:10px 0}#production-parts label{min-width:170px}
#production-preview{max-width:100%;max-height:380px;background:white;border:1px solid #ddd;margin-top:12px}
#production-panel input[type=checkbox]{width:auto;margin-right:6px}#imagePreview{min-height:60px}
.production-favourites{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 14px;padding-bottom:14px;border-bottom:1px dashed #555}
.production-favourite{background:var(--bg-tertiary,#28282c);color:inherit;border:1px solid transparent;border-radius:9px;padding:6px 11px;font:inherit;font-size:.85rem;cursor:pointer}
.production-favourite.active{border-color:var(--primary,#ff2d55);background:rgba(255,45,85,.15)}
#production-search,#production-material{display:block;width:100%;margin:9px 0;padding:10px;background:var(--bg-input,#151518);color:inherit;border:1px solid #444;border-radius:7px}
.production-simple-settings{margin-top:18px}.production-grid select{background:var(--bg-input,#151518);color:inherit;border-color:#444}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#upload-new[hidden],#upload-price[hidden]{display:none!important}
#upload-status:not(:empty){padding:14px 16px;border:1px solid var(--border-color,#555);border-radius:8px;line-height:1.6}
#upload-status.upload-error{border:2px solid #ee4455;background:#3a1017;color:#fff;font-weight:600}
.dashboard-heading,.dashboard-toolbar,.dashboard-job-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.dashboard-heading h2{margin:0;border:0}.dashboard-heading{margin-bottom:18px}
.dashboard-muted,.dashboard-meta{color:#adb4c3;font-size:.88rem}.dashboard-toolbar select{padding:7px;background:#171719;color:inherit;border:1px solid #444;border-radius:6px}

.dashboard-list{max-height:620px;overflow:auto;margin-top:15px}
.dashboard-table{width:100%;border-collapse:collapse;text-align:left;min-width:1000px;font-size:.88rem}
.dashboard-table th{position:sticky;top:0;background:#252529;padding:12px;color:#c6cad4;z-index:1}
.dashboard-table td{padding:18px 12px;border-bottom:1px solid #36363d;vertical-align:top;overflow-wrap:anywhere}
.dashboard-table td:nth-child(1){width:110px}.dashboard-table td:nth-child(2){width:22%}.dashboard-table td:nth-child(3){width:16%}.dashboard-table td:nth-child(4){min-width:330px}
.dashboard-badge{display:inline-block;border-radius:999px;padding:6px 12px;font-weight:700;font-size:.82rem;margin-bottom:8px}
.dashboard-badge[data-color="grey"]{background:#303039;color:#ddd}
.dashboard-badge[data-color="blue"]{background:#162f50;color:#a6d4ff}
.dashboard-badge[data-color="purple"]{background:#36244f;color:#dcbbff}
.dashboard-badge[data-color="cyan"]{background:#133c43;color:#97edf0}
.dashboard-badge[data-color="orange"]{background:#49351a;color:#ffce82}
.dashboard-badge[data-color="green"]{background:#153d2f;color:#96ecc5}
.dashboard-badge[data-color="red"]{background:#481f2b;color:#ffb0bc}
.dashboard-message{margin:0 0 8px;line-height:1.5}.dashboard-meta{display:block;margin:7px 0}
.dashboard-trail{display:flex;flex-wrap:wrap;gap:5px;margin-top:12px}
.dashboard-milestone{font-size:.72rem;border:1px solid #494951;border-radius:999px;padding:3px 7px;color:#999da9}
.dashboard-milestone[data-done="true"]{color:#97e6c2;border-color:#396d58;background:#152f26}
.dashboard-job details{margin-top:12px;overflow-wrap:anywhere;color:#ffb4bb}.dashboard-job details p{white-space:pre-wrap;font-size:.86rem;line-height:1.5}
#dashboard-connection[data-connected="true"]{color:#7ae0b6}#dashboard-connection[data-connected="false"]{color:#ffc476}
