/* Optional manufacturing palettes share the drafting workspace's visual language. */
.pro .inspector{width:310px;min-width:310px;display:flex;flex-direction:column;min-height:0;overflow:hidden;color-scheme:dark}
.pro .inspector[hidden]{display:none!important}
.pro .inspector .palette-heading{flex:0 0 auto;min-height:27px}
.pro .inspector #panelContent{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;overscroll-behavior:contain}
/* Reset the original single-row height and sticky positioning. Content has its
   own scroll area, so two rows of tabs cannot paint over a section heading. */
.pro .panel-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(32px,auto);height:auto;min-height:0;position:relative;top:auto;gap:4px;padding:6px;border-bottom:1px solid #48596a;background:#202c37;flex:0 0 auto}
.pro .panel-tabs button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:32px;gap:4px;padding:6px 2px;border:1px solid transparent;border-radius:3px;background:transparent;color:#aabccc;font-size:11px;line-height:16px;white-space:nowrap}
.pro .panel-tabs button[hidden]{display:none!important}
.pro .panel-tabs button.active:after{display:none}
.pro .panel-tabs button span{color:#93b8c4;font-size:14px}
.pro .panel-tabs button.active{border-color:#4f9b8c;background:#29473f;color:#c6f6e7;box-shadow:inset 0 -2px #64d6b8}
.pro .inspector.collapsed{width:28px;min-width:28px}.job-ribbon .ribbon-grid{min-width:155px}.job-ribbon button{font-size:11px;justify-content:flex-start}
.job-section h3,.job-editor-grid h3{font-size:12px;color:#dceaf0;margin:5px 0 12px}.job-section{padding:14px!important}.job-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:9px}
.job-section .section-heading{gap:8px;align-items:center;margin-bottom:12px}.job-section .section-heading h3{margin:0;line-height:1.5;letter-spacing:.4px}.job-section .section-heading button{flex-shrink:0}
.job-section h3{line-height:1.5}.job-section .hint-small{line-height:1.65;overflow-wrap:anywhere}
.job-section .primary,.job-section .mini-button,.job-actions .mini-button{min-height:30px;padding:6px 9px;border-radius:3px;font-size:11px;line-height:16px}
.job-section .job-field select{min-height:34px;text-overflow:ellipsis;padding-right:24px;color-scheme:dark}
.job-field select option{background:#1c2934;color:#e3edf2}
.job-colour-choice{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.job-colour-choice .job-field{flex:0 0 66px;margin:0}.job-colour-choice code{font-size:11px;color:#bdd2df;align-self:end;padding-bottom:9px}.job-colour-choice button{align-self:end;margin-bottom:2px}
.job-colour-rules{display:grid;gap:8px}.job-colour-rule{display:grid;grid-template-columns:14px minmax(0,1fr);align-items:start;gap:7px;padding:10px;border:1px solid #4b6071;border-radius:4px;background:#23313e}.job-colour-rule>i{height:12px;width:12px;margin-top:3px;border:1px solid #a5b2bc;border-radius:2px}.job-colour-rule strong,.job-colour-rule span,.job-colour-rule small{display:block;overflow-wrap:anywhere;line-height:1.5}.job-colour-rule strong{font-size:11px;color:#d8e8ee}.job-colour-rule span{font-size:10px;color:#b3c8d6;margin-top:3px}.job-colour-rule small{font-size:10px;color:#91aebe;margin-top:3px}.job-colour-rule .job-rule-actions{grid-column:2;display:flex;gap:6px;flex-wrap:wrap}
#jobColourControls[hidden]{display:none!important}
.job-field{display:flex;flex-direction:column;gap:5px;margin:9px 0;min-width:0}.job-field>span{color:#b3c8d6;font-size:11px}.job-field input,.job-field select,.job-field textarea{min-width:0;width:100%;padding:7px 8px;border:1px solid #536b7a;border-radius:3px;background:#1c2934;color:#e3edf2;font-size:12px}.job-field input[type=color]{height:33px;padding:3px}.job-field textarea{resize:vertical;min-height:66px}
.job-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px}.job-check{display:flex;align-items:flex-start;gap:7px;margin:13px 0 5px;color:#bdd2df;font-size:11px;line-height:1.5}.job-check input,.job-view-options input,.job-panel-options input{accent-color:#68d9bc}
.job-swatch{display:flex;justify-content:space-between;gap:8px;align-items:end;border:1px solid #77917c;border-radius:4px;margin:12px 0;padding:30px 10px 10px;background:linear-gradient(125deg,#0002,#0000),var(--material);color:#17262b;text-shadow:0 1px #ffffff44}.job-swatch span{font-weight:600;overflow-wrap:anywhere}.job-swatch b{white-space:nowrap;font-size:12px}
.job-status{font-size:11px;padding:8px 10px;background:#243b46;color:#b7d6e7;border:1px solid #526b7c;border-radius:3px;margin-bottom:18px}.job-status>span{display:inline-block;width:7px;height:7px;border-radius:50%;background:#9cabb6;margin-right:6px}
.job-facts{display:grid;grid-template-columns:1fr auto;gap:8px 12px;font-size:11px;line-height:1.4}.job-facts dt{color:#9fb8c9}.job-facts dd{margin:0;color:#dfeef5;text-align:right;font-variant-numeric:tabular-nums}
.job-property-note{padding:12px}.job-panel-options{display:grid;gap:13px;padding:10px 0}.job-panel-options label{display:flex;gap:8px;align-items:center}
#jobSaveCurrentMachine{margin:6px 0 0 6px}
.pro dialog#dialog.job-wide-dialog{width:min(800px,92vw);max-width:92vw}.job-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.job-editor-grid>section+section{border-left:1px solid #526575;padding-left:24px}
.pro dialog#dialog.job-preview-dialog{width:min(1240px,94vw);max-width:94vw}.pro dialog.job-preview-dialog #dialogBody{padding:10px 15px;max-height:82vh;overflow:auto}
.job-preview{padding:12px;min-width:0}.job-preview-head{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:10px;letter-spacing:1px;color:#95b8c7;margin-bottom:12px}.job-modes{display:flex;padding:3px;background:#1b2732;border-radius:5px;border:1px solid #4c6271;margin-bottom:12px}.job-modes button{flex:1;background:transparent;border:0;border-radius:3px;padding:7px 3px;color:#adbfcc;font-size:11px}.job-modes button.active{background:#34564e;color:#c3f6e3}
.job-preview-setup{padding:9px 10px;background:#20313d;border:1px solid #425b6b;border-radius:4px;margin-bottom:12px}.job-preview-setup .job-field{margin:2px 0 10px}.job-quick-row{display:flex;align-items:stretch;gap:6px;min-width:0}.job-quick-row select{flex:1;min-width:0;text-overflow:ellipsis;color-scheme:dark}.job-quick-row button{flex:0 0 auto;min-width:42px;padding:5px 7px;font-size:11px}.job-area-summary{font-size:10px;color:#b9cfdd;line-height:1.7}.job-area-summary>span{display:flex;align-items:center;gap:6px}.job-area-summary b{margin-left:auto;font-weight:500;color:#d9e8ee}.job-area-summary small{display:block;font-size:10px;color:#94b1c3;overflow-wrap:anywhere}.job-area-summary i{width:12px;flex:0 0 12px;height:8px}.job-bed-key{border:1px solid #8bafc2;background:#354550}.job-stock-key{border:1px dashed #dfbe81}
.job-setup-card{padding:12px;margin-bottom:12px;border:1px solid #47675e;border-radius:4px;background:#203c37}.job-setup-summary strong,.job-setup-summary span,.job-setup-summary small{display:block;line-height:1.65;overflow-wrap:anywhere}.job-setup-summary strong{font-size:12px;color:#dcf5ec}.job-setup-summary span{font-size:11px;color:#bdd6d0}.job-setup-summary small{font-size:10px;color:#95b7ae;margin-top:6px}.job-setup-card button{margin-top:10px;width:100%;font-size:12px;padding:7px 10px}
.job-advanced{margin:12px 0;border-top:1px solid #41596a;padding-top:10px}.job-advanced>summary{cursor:pointer;font-size:11px;color:#a7c1cf;margin-bottom:10px}.job-advanced:not([open])>:not(summary){display:none!important}.job-preview .job-advanced .job-preview-setup{display:block}.job-preview .job-advanced .job-field{margin:8px 0}
.pro dialog#dialog.job-setup-dialog{width:min(900px,94vw);max-width:94vw}.job-step-label{font-size:10px;letter-spacing:1.5px;color:#84dbc2;margin:0 0 10px}.job-setup-intro{font-size:13px;line-height:1.6;color:#c8dce5;margin:0 0 18px}.job-setup-fields{display:grid;grid-template-columns:1fr 1fr;gap:28px}.job-setup-fields>section+section{padding-left:24px;border-left:1px solid #456071}.job-setup-dialog select{color-scheme:dark}
#jobPlacementCanvas{display:block;width:100%;height:380px;background:#17232d;border:1px solid #526c7e;border-radius:4px;touch-action:none;cursor:grab}#jobPlacementCanvas:active{cursor:grabbing}.job-placement-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.job-fit-ok,.job-fit-error{font-size:12px;line-height:1.6;padding:9px 12px;border-radius:4px}.job-fit-ok{background:#203c37;color:#a8e5cf}.job-fit-error{background:#48352d;color:#f2c4a5}
.job-preview-dialog .job-preview-setup{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.1fr);gap:14px;align-items:center}.job-preview-dialog .job-preview-setup .job-field{margin:0}
.job-camera{display:flex;align-items:center;gap:5px;padding:6px;background:#1e2b36;border:1px solid #465d6c;border-bottom:0;border-radius:4px 4px 0 0}.job-camera button,.job-play-buttons button,.job-play-buttons select{padding:5px 7px;background:#304554;border:1px solid #536d7e;color:#d6eaf4;border-radius:3px;font-size:11px}.job-camera span{font-size:9px;color:#8da7b9;flex:1;text-align:right}.job-canvas{display:block;width:100%;background:#17232d;border:1px solid #465d6c;border-radius:0 0 4px 4px;cursor:grab;touch-action:none}.job-canvas:active{cursor:grabbing}.job-view-options{display:flex;flex-wrap:wrap;gap:12px;font-size:10px;margin:10px 0;color:#b5cddc}.job-view-options label{display:flex;align-items:center;gap:5px}.job-material-caption{font-size:11px;color:#c5d5df;line-height:1.6;overflow-wrap:anywhere;margin:8px 0}
.job-playback{padding:10px;background:#20313e;border:1px solid #435e70;border-radius:4px;margin:12px 0}.job-play-buttons{display:flex;gap:5px}.job-play-buttons select{margin-left:auto;max-width:65px}.job-timeline{width:100%;margin:14px 0 5px;accent-color:#75dfc7}.job-time-label{font-size:11px;font-variant-numeric:tabular-nums;color:#bed7e7}.job-motion-label{font-size:10px;color:#99b8ca;min-height:16px;line-height:1.6;margin:7px 0 0}
.job-operation-legend{display:flex;flex-wrap:wrap;gap:7px 12px;color:#aec4d3;font-size:10px;text-transform:capitalize}.job-operation-legend span{display:flex;gap:5px;align-items:center}.job-operation-legend i{display:inline-block;width:8px;height:3px}
.job-estimate{display:flex;flex-direction:column;gap:5px;padding:14px 0 12px;margin-top:10px;border-top:1px solid #4a6071}.job-estimate>span{font-size:9px;letter-spacing:1.2px;color:#92b5c5}.job-estimate strong{font-size:24px;color:#93e5ce;line-height:1.4}.job-estimate small{font-size:10px;color:#9db6c9}.job-issues details{background:#3b3832;border:1px solid #756c50;padding:9px 10px;border-radius:3px;color:#ead7ad;font-size:11px}.job-issues summary{cursor:pointer}.job-issues ul{padding-left:17px;font-size:11px;line-height:1.65}.job-preview-note{font-size:10px;color:#839eb0;line-height:1.5;margin:13px 0 0}.job-summary-details{padding:4px 0 10px}
.job-camera{flex-wrap:wrap}.job-placement-tools{display:flex;flex-wrap:wrap;gap:5px;padding-left:6px;border-left:1px solid #536d7e}.job-placement-tools button[aria-pressed="true"]{background:#375e63;border-color:#77e4dd;color:#c9fff7}.job-placement-tools button:disabled{opacity:.45;cursor:default}.job-camera>span{min-width:170px}.job-canvas.job-positioning{cursor:move}.job-canvas.job-positioning:active{cursor:grabbing}
.job-preview-dialog .job-preview{padding:0}.job-preview-dialog .job-camera span{font-size:11px}.job-preview-dialog .job-estimate{float:left;min-width:240px;margin-right:24px}.job-preview-dialog .job-issues{padding-top:14px}.job-preview-dialog .job-preview-note{clear:both}.job-preview-dialog .job-summary-details{max-width:700px}
#jobMainPreview{position:absolute;inset:0;overflow:auto;background:#17232d;color:#cbdfe8;box-sizing:border-box}
#jobMainPreview[hidden]{display:none!important}.pro-job-space #canvasWrap{visibility:hidden;pointer-events:none}
.pro-job-space .command-panel:not(.expanded){height:52px;min-height:52px}.pro-job-space .command-panel:not(.expanded) #commandHistory{display:none}
.job-main-preview{padding:12px;min-width:0}.job-main-preview>.job-preview-head{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 8px;letter-spacing:.7px}.job-main-preview>.job-preview-head>span{font-size:10px}.job-main-preview .job-modes{margin:0;min-width:230px}.job-main-preview .job-preview-head>.primary{padding:7px 12px}.job-compact-status{margin-left:auto;border:0;border-radius:3px;background:transparent;color:#93e5ce;padding:5px 8px;font-size:11px;letter-spacing:0;line-height:1.5;cursor:pointer}.job-compact-status:hover{background:#2c424d}.job-compact-status.has-notes{color:#ead7ad}
.job-main-info{display:flex;gap:20px;align-items:center;margin-bottom:10px;min-width:0}.job-main-info>.job-setup-card{flex:1;padding:0;border:0;border-radius:0;background:none;margin:0;min-width:0}.job-main-info>.job-estimate{padding:0;margin:0;border:0;flex:0 0 auto;align-items:flex-end;gap:2px;max-width:220px}.job-main-info .job-estimate strong{font-size:20px}.job-main-info .job-setup-summary small{margin-top:2px}
.job-main-preview .job-visual{min-width:0}.job-main-preview .job-summary-details{padding:16px 0}.job-main-preview .job-summary-details .job-facts{max-width:560px}.job-main-preview .job-advanced{margin-bottom:0}.job-main-preview .job-advanced[open]{max-width:640px}.job-main-preview .job-preview-note{margin:8px 0}.job-main-preview .job-material-caption{margin:6px 0}.job-main-preview .job-camera span{font-size:10px}.job-main-preview .job-playback{margin:8px 0}.job-main-preview .job-issues details{padding:7px 10px}.job-main-preview .job-issues>p{margin:6px 0}
.job-summary-pane{max-width:850px;padding-top:10px}.job-display-menu{position:relative;flex:0 0 auto;font-size:11px;color:#d6eaf4;letter-spacing:0}.job-display-menu>summary{cursor:pointer;background:#304554;border:1px solid #536d7e;border-radius:3px;padding:5px 7px;user-select:none}.job-display-menu>.job-view-options{position:absolute;z-index:5;right:0;top:100%;min-width:170px;display:flex;flex-direction:column;gap:12px;padding:12px;margin:5px 0 0;border:1px solid #536d7e;border-radius:4px;background:#223440;box-shadow:0 5px 18px #0007}.job-display-menu:not([open])>.job-view-options{display:none!important}.job-display-menu .job-view-options label{white-space:nowrap;font-size:11px}
.job-main-preview .job-playback{display:grid;grid-template-columns:auto minmax(100px,1fr) auto;align-items:center;gap:6px 10px;padding:8px;margin:6px 0 0}.job-main-preview .job-playback .job-timeline{margin:0;min-width:0}.job-main-preview .job-playback .job-motion-label{grid-column:1/-1;margin:0;min-height:0}.job-main-preview .job-operation-legend{margin:5px 0 0}
.job-live-note{color:#a5dfce}.job-section input[aria-invalid="true"]{border-color:#ef9d88}.job-actions [hidden]{display:none!important}
@media(max-width:1100px){.job-main-preview>.job-preview-head{gap:8px}.job-main-preview .job-modes{min-width:190px}.job-main-info{gap:12px}.job-main-info>.job-estimate{max-width:175px}.job-main-info .job-estimate strong{font-size:18px}}
@media(max-width:1100px){.pro .inspector{width:285px;min-width:285px}.pro .inspector.collapsed{width:28px;min-width:28px}}
@media(max-width:800px){.job-editor-grid{grid-template-columns:1fr}.job-editor-grid>section+section{border-left:0;border-top:1px solid #526575;padding:15px 0 0}}
@media(max-width:900px){.job-preview-dialog .job-preview-setup{grid-template-columns:1fr}.job-preview-dialog .job-area-summary{max-width:350px}}
@media(max-width:700px){.job-setup-fields{grid-template-columns:1fr;gap:12px}.job-setup-fields>section+section{border:0;padding-left:0}}
@media(max-width:700px){.job-main-preview .job-playback{grid-template-columns:auto 1fr}.job-main-preview .job-playback .job-time-label{grid-column:1/-1}.job-main-preview .job-camera>span{flex-basis:100%;order:1;text-align:left}}
@media print{.job-preview{display:none!important}}
.laser-wizard-ribbon button.large{min-width:86px;color:#a3edd9}.laser-wizard-ribbon svg{width:29px;height:29px;flex-shrink:0}
.laser-cut-settings{margin-top:16px;padding-top:10px;border-top:1px solid #456071}.laser-cut-settings h3{font-size:12px;margin:4px 0;color:#d9e8ee}.laser-cut-settings .hint-small{line-height:1.5;margin:6px 0}
.laser-cut-fields{display:grid;grid-template-columns:1.2fr 1fr .8fr;gap:8px}.laser-review{display:flex;flex-wrap:wrap;gap:5px 18px;padding:10px 12px;margin:0 0 12px;border:1px solid #456071;border-radius:4px;font-size:12px;line-height:1.6}.laser-review strong{flex-basis:100%;font-weight:600;color:#d9e8ee}
.pro dialog#dialog.machine-setup-dialog{width:min(560px,94vw);max-width:94vw}.machine-setup-form .hint-small{line-height:1.6}.machine-setup-form h3,.job-fixed-machine{font-size:13px;color:#d9e8ee;margin:5px 0 10px}.machine-current-card{display:flex;flex-direction:column;gap:9px;margin:12px 0 18px}.machine-current-card strong{font-size:14px;color:#d9e8ee}.machine-current-card span{font-size:11px;line-height:1.6;color:#adc8d5}.machine-current-card button{align-self:flex-start}.job-controller-read{padding:8px 0}.job-controller-read button:disabled{opacity:.65;cursor:default;white-space:normal;text-align:left}

/* Simplified JOB canvas: actions are available on demand in Display. */
.job-main-preview>.job-preview-head[hidden]{display:none!important}
.job-main-preview .job-canvas[hidden]{display:none!important}
.job-display-menu .job-modes{min-width:230px}

/* Ordered colour processes: compact controls without layer/material assignment UI. */
.process-row{border:1px solid #415563;border-radius:4px;background:#243440;padding:9px;margin:0 0 8px}.process-row-title{display:flex;align-items:center;gap:6px;font-size:11px}.process-row-title>i{width:12px;height:12px;border:1px solid #90a5b6;flex-shrink:0}.process-row-title>span{color:#9fb5c5;font-size:10px;margin-left:auto}.process-row-title>label{white-space:nowrap}.process-row-fields{display:grid;grid-template-columns:1.3fr 1fr 1fr .7fr;gap:5px;margin-top:9px}.process-row-fields label{font-size:10px;color:#b3c9d8;min-width:0}.process-row-fields input,.process-row-fields select{width:100%;box-sizing:border-box;min-width:0;padding:5px 3px;margin-top:4px;font-size:11px;background:#172630;color:#e0ecf2;border:1px solid #526a7a;border-radius:3px}.process-row-actions{display:flex;justify-content:flex-end;gap:5px;margin-top:7px}.process-row-actions button{font-size:11px;padding:3px 8px}.process-row-actions button:first-child{margin-right:auto}.colour-process-list{margin-top:10px}

/* Live estimate anchored inside the lower-right corner of the JOB canvas. */
.job-main-preview .job-visual{position:relative}
.job-live-estimate{position:absolute;right:12px;transform:translateY(-100%);pointer-events:none;display:flex;flex-direction:column;gap:3px;align-items:flex-end;max-width:220px;padding:8px 11px;border:1px solid #496270;border-radius:4px;background:#15242ee8;color:#d7e8ee;z-index:2}
.job-live-estimate span{font-size:10px;color:#b2c6d0}
.job-live-estimate strong{font-size:18px;line-height:1.25;font-variant-numeric:tabular-nums;color:#93e5ce}
.job-live-estimate[hidden]{display:none!important}

/* Drawing and Job pane categories */
.palette-scope-tabs{display:flex;flex:0 0 auto;background:#202c37;border-bottom:1px solid #48596a}.palette-scope-tabs button{flex:1;padding:10px;border:0;border-bottom:2px solid transparent;background:transparent;color:#aabccc;font-weight:600}.palette-scope-tabs button.active{border-bottom-color:#64d6b8;color:#d7f7ed;background:#30434b}.inspector.collapsed .palette-scope-tabs{display:none}.pro #panelContent .property-category{padding:0;border-bottom:1px solid #48596a}.property-category>summary{cursor:pointer;background:#354553;padding:8px 12px;font-weight:600;color:#d4e5ec}.property-category .pro-props{margin:0;width:100%;border-collapse:collapse}.property-category .pro-props td{border-bottom:1px solid #3b4a58;padding:5px 10px}.property-category .pro-props td:first-child{width:42%;border-right:1px solid #3b4a58}.property-category>.hint-small{padding:0 12px}

/* Compact, mutually exclusive Drawing / Job accordion. */
.pro .compact-pane{position:relative}.compact-pane .palette-heading{position:absolute;right:0;top:0;width:28px;height:32px;padding:4px;z-index:2;background:transparent}.compact-pane .palette-scope-tabs{display:flex;flex-direction:column;flex:1;min-height:0;border:0}.compact-pane .palette-scope-tabs>[data-pane-scope]{flex:0 0 32px;text-align:left;padding:6px 32px 6px 12px;border:0;border-bottom:1px solid #445360;font-size:12px;background:#293742}.compact-pane [data-pane-scope]:before{content:'▸';display:inline-block;width:16px;color:#96b0bb}.compact-pane [data-pane-scope][aria-expanded="true"]:before{content:'▾'}.compact-pane .palette-scope-tabs>button.active{background:#354752;color:#d7f7ed}.compact-pane #palettePaneBody{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.compact-pane #palettePaneBody[hidden]{display:none}.pro .compact-pane .panel-tabs{padding:2px 8px;gap:8px;background:#26333e;grid-auto-rows:28px}.pro .compact-pane .panel-tabs button{padding:2px;min-height:26px;border:0;border-radius:0;font-size:11px}.pro .compact-pane .panel-tabs button.active{background:transparent;box-shadow:inset 0 -2px #64d6b8}.compact-pane .panel-tabs button span{display:none}.compact-pane #panelContent{min-height:0;flex:1;overflow:auto}.compact-pane.collapsed .palette-scope-tabs{display:none}

/* Dense CAD-style property grid, matching the supplied reference. */
.pro .compact-pane #panelContent:has(.property-category){padding:4px;background:#2b333b}
.pro .compact-pane #panelContent:has(.property-category)>.panel-section:first-child{padding:3px 6px;margin:0 0 4px;background:#3b4651;border:1px solid #4a5865}
.compact-pane .selection-name{font-size:11px;font-weight:400;margin:0;line-height:18px}
.compact-pane .selection-type{display:none}
.pro .compact-pane #panelContent .property-category{border:0;margin:0;padding:0}
.compact-pane .property-category>summary{list-style:none;padding:2px 5px;line-height:18px;font-size:11px;background:#414c57;color:#e3eaf0;border-bottom:1px solid #29343d}
.compact-pane .property-category>summary::-webkit-details-marker{display:none}
.compact-pane .property-category>summary:before{content:'+';display:inline-flex;align-items:center;justify-content:center;width:10px;height:10px;margin-right:5px;border:1px solid #a2b0ba;font:10px/1 monospace;vertical-align:1px;color:#e1eaf0}
.compact-pane .property-category[open]>summary:before{content:'−'}
.pro .compact-pane .property-category .pro-props{table-layout:fixed;font-size:11px}
.pro .compact-pane .property-category .pro-props td{height:22px;padding:0 5px;line-height:20px;border-bottom:1px solid #3e4953;vertical-align:middle}
.pro .compact-pane .property-category .pro-props td:first-child{width:44%;border-right:1px solid #45515b;color:#c9d4de}
.pro .compact-pane .property-category .pro-props input,.pro .compact-pane .property-category .pro-props select{display:block;width:100%;min-width:0;height:21px;min-height:0;margin:0;padding:0 3px;border:0;border-radius:0;box-shadow:none;background:transparent;color:#dde7ee;font-size:11px;line-height:20px}
.pro .compact-pane .property-category .pro-props input:focus,.pro .compact-pane .property-category .pro-props select:focus{background:#202e39;outline:1px solid #64d6b8;outline-offset:-1px}
.pro .compact-pane .property-category .pro-props input:disabled{opacity:.45}
.compact-pane .property-category .hint-small{display:none}
.compact-pane .property-category input[type=number]{appearance:textfield}
.compact-pane .property-category input::-webkit-inner-spin-button{appearance:none}
.compact-pane .property-category input[type=color]::-webkit-color-swatch-wrapper{padding:4px 0}
.compact-pane .property-category input[type=color]::-webkit-color-swatch{border:0}

/* Compact Layers list shares the property-grid category styling. */
.pro .compact-pane #panelContent.compact-layers>.panel-section:first-child{padding:0;margin:0;background:transparent;border:0}
.compact-layers .layer-category>summary{margin:0}
.pro .compact-layers .layer-row{display:grid;grid-template-columns:10px minmax(0,1fr) 24px 24px 24px;gap:5px;align-items:center;min-height:25px;margin:0;padding:0 5px;border:0;border-bottom:1px solid #3e4953;border-radius:0;background:transparent}
.pro .compact-layers .layer-row.active{background:#304a48;box-shadow:inset 2px 0 #64d6b8}
.pro .compact-layers .layer-color{width:9px;height:9px;border-radius:0}
.pro .compact-layers .layer-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.pro .compact-layers .layer-row button{width:24px;height:24px;min-height:0;padding:0;border:0;border-left:1px solid #3e4953;border-radius:0;background:transparent;font-size:14px}
.pro .compact-layers #addLayer{margin:4px 5px;padding:2px 7px;height:24px;font-size:11px}
.pro .compact-layers .button-row{margin:4px 5px!important}
.pro .compact-layers #moveToLayer{padding:2px 7px;min-height:24px;font-size:11px}
.pro .compact-layers .object-row{display:flex;align-items:center;width:100%;height:24px;min-height:0;margin:0;padding:2px 6px;gap:6px;border:0;border-bottom:1px solid #3e4953;border-radius:0;background:transparent;text-align:left;font-size:11px}
.pro .compact-layers .object-row.active{background:#304a48;color:#b6f1df}.compact-layers .object-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compact-layers .object-row svg{width:12px;height:12px}
.compact-layers .layer-category>p.hint-small{display:block;padding:3px 6px;margin:0;font-size:10px}

.pro .compact-layers .layer-actions{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:3px 5px;border-bottom:1px solid #3e4953}.pro .compact-layers .layer-actions #addLayer{margin:0}.pro .compact-layers .layer-actions button{background:#34414c;border:1px solid #52616d;border-radius:0}

/* Dense colour process controls: header actions and two compact field rows. */
.pro .compact-pane #panelContent:has(.colour-process-list){padding:4px;background:#2b333b}
.pro .compact-pane #panelContent:has(.colour-process-list)>.panel-section:first-child{padding:0;border:0}
.compact-pane #panelContent:has(.colour-process-list)>.panel-section:first-child>h3,.compact-pane #panelContent:has(.colour-process-list)>.panel-section:first-child>p.hint-small{display:none}
.compact-pane .colour-process-list{margin:0}
.pro .compact-pane .process-row{padding:4px 5px 5px;margin:0;border:0;border-bottom:1px solid #53616c;border-radius:0;background:transparent}
.compact-pane .process-row-title{gap:5px;min-height:24px}
.compact-pane .process-row-title>i{width:11px;height:11px}
.compact-pane .process-row-title>label{display:flex;align-items:center;gap:3px;font-size:10px}
.compact-pane .process-row-title input{margin:0;width:12px;height:12px}
.pro .compact-pane .process-row-actions{display:flex;gap:1px;margin:0 0 0 4px}
.pro .compact-pane .process-row-actions button{width:23px;height:23px;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;font-size:13px}
.compact-pane .process-row-fields{gap:0;margin:0;grid-template-columns:1.35fr 1fr 1fr .7fr}
.compact-pane .process-row-fields label{padding:0 3px;font-size:10px;border-right:1px solid #45515b;line-height:16px}
.compact-pane .process-row-fields label:first-child{padding-left:0}
.compact-pane .process-row-fields label:last-child{border-right:0;padding-right:0}
.pro .compact-pane .process-row-fields input,.pro .compact-pane .process-row-fields select{height:23px;min-height:0;margin:0;padding:1px 3px;border:1px solid #465763;border-radius:0;font-size:11px;background:#26353f}
.compact-pane .process-row-fields input:focus,.compact-pane .process-row-fields select:focus{outline:1px solid #64d6b8;outline-offset:-1px}
.compact-pane .process-row>p{margin:3px 0 0;font-size:10px;line-height:14px}

/* Job sidebar now contains Processes only; Machine lives in the ribbon. */
.compact-pane .panel-tabs[aria-label="Job panels"]{grid-template-columns:1fr}.machine-ribbon .large{min-width:64px}#machineRibbonBody{min-width:300px}#machineRibbonBody>.panel-section{padding:0;border:0}

/* Mutually exclusive RGB/CMYK drawing colour presets. CMYK swatches use RGB display equivalents. */
.compact-pane .property-colour-palette{display:grid;grid-template-columns:1fr 30px;gap:3px;padding:2px 0}
.pro .compact-pane .property-colour-palette #propertyColourMode{height:21px;background:#26353f}
.pro .compact-pane .property-colour-palette #propColour{width:30px;height:21px;padding:0;cursor:pointer}
.compact-pane .property-colour-swatches{grid-column:1/-1;display:flex;gap:4px;padding:2px 1px}
.pro .compact-pane .property-colour-swatches button{flex:1;height:18px;min-width:16px;padding:0;border:1px solid #7e8b97;border-radius:0}
.pro .compact-pane .property-colour-swatches button:hover{background:var(--swatch-colour)!important;filter:brightness(.85)}
.pro .compact-pane .property-colour-swatches button[aria-pressed="true"]{outline:1px solid #e4f7ff;outline-offset:1px;box-shadow:inset 0 0 0 2px #26333d}

/* Machine menu on the main tab bar, directly after Output. */
#machineMenuButton{flex-shrink:0}#machineMenuButton[aria-expanded="true"]{background:#354752;color:#d7f7ed}
#machineMainMenu{position:fixed;z-index:1000;min-width:205px;padding:4px;background:#303f4d;border:1px solid #647887;box-shadow:0 5px 16px #0006}
#machineMainMenu[hidden]{display:none}#machineMainMenu button{display:block;width:100%;text-align:left;padding:7px 10px;border:0;background:transparent;color:#d8e5eb;font-size:12px}

/* Presets and custom gamut live together outside the compact property row. */
.colour-picker-dialog{width:330px;max-width:95vw}.colour-picker-dialog #dialogBody{padding:14px}.colour-picker-dialog #colourGamut{height:160px;position:relative;touch-action:none;background-image:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,transparent);cursor:crosshair;outline-offset:2px}
#colourGamut i{position:absolute;width:10px;height:10px;border:2px solid white;border-radius:50%;box-shadow:0 0 1px 1px #222;transform:translate(-50%,-50%);pointer-events:none}
.colour-hue{display:flex;align-items:center;gap:8px;margin:10px 0;font-size:11px}.colour-hue input{flex:1;min-width:0;accent-color:#64d6b8}.colour-picker-options{display:flex;gap:8px;align-items:center}.colour-picker-options input,.colour-picker-options select{background:#23333e;color:#dbe8ef;border:1px solid #5a6c79;padding:4px;min-width:0;font-size:12px}#colourHex{width:90px}#colourSample{width:25px;height:23px;border:1px solid #8c9aa5;margin-left:auto}
#colourPicker .property-colour-swatches{display:flex;gap:6px;margin-top:10px}#colourPicker .property-colour-swatches button{flex:1;height:25px;background:var(--swatch-colour)!important;border:1px solid #899aa5;border-radius:0}#colourPicker .property-colour-swatches button[aria-pressed=true]{outline:2px solid #dceef5;outline-offset:1px}

/* 48 small square presets, arranged by hue and shade. */
#colourPicker .property-colour-swatches{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px}#colourPicker .property-colour-swatches button{width:100%;height:auto;aspect-ratio:1;min-width:0;padding:0}#colourPicker .property-colour-swatches button:nth-child(n+41){margin-top:3px}

.compact-pane .panel-tabs[aria-label="Job panels"]{grid-template-columns:repeat(2,minmax(0,1fr))}.job-material-panel{padding:8px!important}.job-material-current{display:flex;flex-direction:column;gap:4px;margin-bottom:10px}.job-material-current span{font-size:10px;color:#a9bfcd}.job-material-presets{font-size:11px;margin:10px 0}.job-material-presets>div{display:flex;flex-direction:column;border-bottom:1px solid #485661;padding:5px 0;gap:3px}.job-material-presets small{color:#afc3d0}.material-wizard-dialog{width:600px!important;max-width:95vw}.material-wizard-dialog .job-editor-grid{display:block}.material-wizard-dialog section[hidden]{display:none}.material-wizard-dialog .dialog-footer button[hidden]{display:none}.material-wizard-progress{font-size:11px;color:#9de1cc!important}

.job-material-presets>summary{cursor:pointer;background:#414c57;padding:4px;font-weight:600}.job-material-panel .job-actions{gap:4px;margin:6px 0}.job-material-panel .job-actions button{padding:4px 6px;font-size:11px;min-height:25px}.job-material-panel .hint-small{font-size:10px;line-height:1.4;margin:5px 0}.job-material-panel .job-check{font-size:11px}

.processing-mode-bar{padding:5px;border-bottom:1px solid #53616c;display:flex;flex-direction:column;gap:5px}.processing-mode-bar label{display:flex;align-items:center;gap:8px;font-size:11px}.processing-mode-bar select{flex:1;min-width:0;height:25px;background:#26353f;color:#e0edf4;border:1px solid #526675;font-size:11px}.process-row-fields input[readonly]{opacity:.65;border-color:transparent!important}.restore-colour-settings{padding:2px 5px;font-size:10px;background:transparent;border:1px solid #596d7d;color:#cfebe3;margin-top:3px}

.pro .compact-pane #panelContent>.panel-section:has(.colour-process-list){padding:0;border:0}.compact-pane .panel-section:has(.colour-process-list)>h3,.compact-pane .panel-section:has(.colour-process-list)>p.hint-small{display:none}

/* Compact process rows without repeated setup guidance. */
.pro .compact-pane .process-row{padding:2px 4px 4px}.compact-pane .process-row-title{min-height:21px}.pro .compact-pane .process-row-actions button{height:21px;width:21px}.compact-pane .process-row-fields label{line-height:14px;font-size:10px}.pro .compact-pane .process-row-fields input,.pro .compact-pane .process-row-fields select{height:21px}.compact-pane .process-row>p{display:none}

.material-thickness-controls select:disabled{opacity:.4;cursor:not-allowed}.material-thickness-controls #manualThicknessField[hidden]{display:none}.material-thickness-controls .job-check{margin:5px 0}.material-thickness-controls .job-field{margin:6px 0}

.material-thickness-controls [hidden]{display:none!important}

.job-live-estimate small{font-size:11px;line-height:1.4;text-align:right;color:#b2c6d0;max-width:220px}

.material-colour-list{border-top:1px solid #485661;margin-top:8px;padding-top:4px}.material-colour-row{display:grid;grid-template-columns:14px minmax(70px,1fr) auto 20px 20px;gap:5px;align-items:center;min-height:28px;border-bottom:1px solid #3f505b}.material-colour-row i{width:12px;height:12px;border:1px solid #61747d}.pro .material-colour-row select{width:100%;height:23px;min-height:0;padding:1px 4px;margin:0;border:1px solid #465763;border-radius:0;background:#26353f;color:#d7e8ee;font-size:11px}.material-colour-row label{display:flex;align-items:center;gap:3px;font-size:11px;white-space:nowrap}.material-colour-row input{margin:0;width:12px;height:12px}.pro .material-colour-row button{padding:0;margin:0;width:20px;height:23px;min-height:0;border:0;background:transparent;font-size:13px}

#applicationWorkspaceMode{margin:0 9px;background:#202b35;color:#cbdde5;border:1px solid #465763;font-size:11px;padding:3px 5px}#jobRunControls{position:sticky;bottom:0;margin-top:8px;padding:8px;background:#23323d;border-top:1px solid #4c606e}#jobRunControls>div{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}#jobRunControls button{min-height:28px;padding:4px;font-size:12px}#jobRunControls small{display:block;margin-top:5px;font-size:10px;color:#b2c6d0}#jobRunControls button:disabled{opacity:.4;cursor:default}.drawing-only #jobPaneTab,.drawing-only #jobWorkspaceTab,.drawing-only #machineMenuButton,.drawing-only #machineMainMenu,.drawing-only .laser-wizard-ribbon,.drawing-only .job-ribbon,.drawing-only #jobRunControls{display:none!important}

.drawing-only [data-pro="DEPTHMAP"]{display:none!important}
