.production-theme .estimate-workflow-tools { display:flex; gap:8px; align-items:center; margin-left:auto; }
.production-theme #estimates .builder-tabs { flex-wrap:wrap; }
.production-theme #estimates #estimateSplit { order:4; }
.production-theme .estimate-workflow-tools button { display:inline-flex; gap:6px; align-items:center; min-height:34px; }
.production-theme .estimate-operation-dialog { width:min(600px,calc(100vw - 24px)); max-height:calc(100dvh - 32px); padding:22px; border-radius:6px; overflow:auto; }
.production-theme .estimate-operation-dialog * { box-sizing:border-box; min-width:0; letter-spacing:0; }
.production-theme .estimate-operation-dialog :is(form,#estimateWorkflowFields) { display:grid; gap:16px; }
.production-theme .estimate-operation-dialog :is(header,footer) { display:flex; gap:12px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.production-theme .estimate-operation-dialog h3 { font-size:18px; margin:0; }
.production-theme .estimate-operation-dialog :is(p,small) { margin:0; font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
.production-theme .estimate-operation-dialog :is(input,select) { width:100%; max-width:100%; }
.production-theme .estimate-operation-dialog label { display:flex; flex-direction:column; gap:6px; font-size:13px; }
.production-theme .estimate-operation-dialog .workflow-check { flex-direction:row; align-items:center; gap:10px; }
.production-theme .estimate-operation-dialog input[type=checkbox] { width:16px; height:16px; flex:0 0 16px; }
.production-theme .estimate-operation-dialog button { display:inline-flex; align-items:center; gap:6px; }
.production-theme .estimate-operation-dialog svg { width:16px; height:16px; flex-shrink:0; }
.production-theme #estimateWorkflowPreview { display:grid; gap:12px; border-block:1px solid #dce2e0; padding-block:16px; font-size:13px; }
.production-theme #estimateWorkflowPreview:empty { display:none; }
.production-theme #estimateWorkflowPreview > div { display:flex; gap:12px; justify-content:space-between; }
.production-theme #estimateWorkflowPreview strong { font-variant-numeric:tabular-nums; white-space:nowrap; }
.production-theme #estimateWorkflowError { color:#b24037; }
.production-theme .budget-lines { border:0; padding:0; margin:0; display:grid; gap:0; max-height:34vh; overflow:auto; }
.production-theme .budget-lines legend { font-size:13px; font-weight:600; margin-bottom:10px; }
.production-theme .budget-lines label { padding:10px 0; border-bottom:1px solid #e8edeb; }
.production-theme .budget-lines span { flex:1; overflow-wrap:anywhere; }
.production-theme .budget-lines strong { white-space:nowrap; font-size:12px; }
.production-theme #estimateSplit .split-line { grid-template-columns:minmax(0,1fr) 128px; }
.production-theme #estimateSplit .order-handle { width:20px; height:28px; min-height:28px; flex:0 0 20px; padding:0; border:0; background:transparent; color:#78847e; cursor:grab; }
.production-theme #estimateSplit .order-handle:active { cursor:grabbing; }
.production-theme #estimateSplit .order-handle:disabled { cursor:default; opacity:.3; }
.production-theme #estimateSplit .split-line-title { gap:4px; }
.production-theme #estimateSplit .split-line-group h4 { align-items:center; gap:6px; }
.production-theme #estimateSplit .section-fold { flex:1; justify-content:flex-start; text-align:left; font-size:11px; color:inherit; background:transparent; border:0; padding:0; overflow-wrap:anywhere; }
.production-theme #estimateSplit .split-line-group h4 > span { font-size:11px; }
.production-theme #estimateSplit .is-collapsed > .split-line { display:none; }
.production-theme #estimateSplit .is-collapsed .section-fold svg { transform:rotate(-90deg); }
.production-theme #estimateSplit .order-drop { outline:2px solid #148179; outline-offset:-2px; }
.production-theme #projectTrashDialog { display:none; }
.production-theme #projectTrashDialog[open] { display:grid; gap:18px; }
.production-theme .project-trash-entry { display:flex; align-items:center; gap:12px; padding:14px 0; border-bottom:1px solid #dce2e0; }
.production-theme .project-trash-entry > div { flex:1; display:grid; gap:6px; }
.production-theme .project-trash-entry strong { font-size:14px; overflow-wrap:anywhere; }
@media (min-width:1451px) {
  .production-theme #estimateSplit { grid-template-columns:minmax(270px,var(--workspace-catalog-fr,.75fr)) minmax(440px,1.3fr) minmax(190px,.5fr); }
}
@media (min-width:901px) and (max-width:1450px) {
  .production-theme #estimateSplit { grid-template-columns:minmax(280px,var(--workspace-catalog-fr,.75fr)) minmax(380px,1.2fr); }
}
@media (max-width:600px) {
  .production-theme .estimate-operation-dialog { padding:16px; }
  .production-theme .estimate-workflow-tools { margin-left:0; }
  .production-theme #estimateSplit .split-line-title { grid-column:1/-1; }
  .production-theme #estimateSplit .split-line-actions { grid-row:3; grid-column:1; justify-self:start; }
  .production-theme .project-trash-entry { align-items:start; flex-direction:column; }
}
