/* Screen typography; quote print styles and navigation branding remain unchanged. */
@media screen{
 html body.estimate-page #isuWorkflowSections{--isu-major:22px;--isu-middle:18px;--isu-minor:15px;--isu-body:14px;--isu-note:13px;font-size:var(--isu-body);font-weight:400;line-height:1.55}
 html body.estimate-page #isuWorkflowSections .isu-workflow-heading{font-size:var(--isu-major)!important;font-weight:700!important;line-height:1.35!important}
 html body.estimate-page #isuWorkflowSections h3,
 html body.estimate-page #isuWorkflowSections .function-card>h2,
 html body.estimate-page #isuWorkflowSections .drawing-upload-panel>strong,
 html body.estimate-page #isuWorkflowSections .ai-analysis-panel>label,
 html body.estimate-page #isuWorkflowSections .ai-analysis-result-panel>strong,
 html body.estimate-page #isuWorkflowSections .ai-reanalysis-panel>strong,
 html body.estimate-page #isuWorkflowSections #isuPart3D>strong{font-size:var(--isu-middle)!important;font-weight:700!important;line-height:1.4!important;margin-top:0!important;margin-bottom:8px!important}
 html body.estimate-page #isuWorkflowSections h4,
 html body.estimate-page #isuWorkflowSections label,
 html body.estimate-page #isuWorkflowSections summary,
 html body.estimate-page #isuWorkflowSections .op-name,
 html body.estimate-page #isuWorkflowSections th{font-size:var(--isu-minor)!important;font-weight:600!important;line-height:1.45!important}
 html body.estimate-page #isuWorkflowSections input,
 html body.estimate-page #isuWorkflowSections select,
 html body.estimate-page #isuWorkflowSections textarea,
 html body.estimate-page #isuWorkflowSections td,
 html body.estimate-page #isuWorkflowSections p{font-size:var(--isu-body)!important;font-weight:400!important;line-height:1.55!important}
 html body.estimate-page #isuWorkflowSections button{font-size:var(--isu-body)!important;font-weight:600!important;line-height:1.4!important}
 html body.estimate-page #isuWorkflowSections .inlineNote,
 html body.estimate-page #isuWorkflowSections .isu-workflow-help,
 html body.estimate-page #isuWorkflowSections .opFormula,
 html body.estimate-page #isuWorkflowSections small{font-size:var(--isu-note)!important;font-weight:400!important;line-height:1.5!important}
 html body.estimate-page #isuWorkflowSections b,
 html body.estimate-page #isuWorkflowSections strong{font-weight:700}
 #isuUploadNoticeHelp{float:right;margin:0 0 6px 8px;padding:8px 10px;border:1px solid #aec6da;border-radius:7px;background:#fff;color:#234b6a;cursor:pointer}
 html body.estimate-page #isuUploadDialog{width:min(680px,calc(100% - 24px));max-height:calc(100dvh - 24px);box-sizing:border-box;padding:0;border:1px solid #bdcddd;border-radius:12px;color:#233b50;background:#fff;font-family:inherit}
 #isuUploadDialog::backdrop{background:rgba(16,32,48,.55)}
 #isuUploadDialog[open]{display:flex;flex-direction:column}
 #isuUploadDialog .isu-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #dae3ec}
 #isuUploadDialog h2{font-size:22px;font-weight:700;line-height:1.35;margin:0}
 #isuUploadDialog .isu-dialog-body{overflow:auto;padding:12px 16px;min-height:0;overscroll-behavior:contain}
 html body.estimate-page #isuUploadDialog #isuDrawingResponsibility{margin:0!important;padding:0!important;border:0!important;background:transparent!important;font-size:14px!important;line-height:1.6!important}
 html body.estimate-page #isuUploadDialog #isuDrawingResponsibility>strong{font-size:18px!important;font-weight:700!important}
 html body.estimate-page #isuUploadDialog #isuDrawingResponsibility p,
 html body.estimate-page #isuUploadDialog #isuDrawingResponsibility li,
 html body.estimate-page #isuUploadDialog #isuDrawingResponsibility ol{font-size:14px!important;font-weight:400!important;line-height:1.6!important}
 html body.estimate-page #isuUploadDialog #isuDrawingResponsibility summary{font-size:15px!important;font-weight:600!important}
 html body.estimate-page #isuUploadDialog #isuDrawingResponsibility b{font-weight:700!important}
 #isuUploadDialog .isu-dialog-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:12px 16px;border-top:1px solid #dae3ec}
 #isuUploadDialog label{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:400}
 #isuUploadDialog input[type=checkbox]{width:20px;height:20px;flex:none}
 #isuUploadDialog button{line-height:1.4;font-family:inherit;font-size:14px;font-weight:600;min-height:44px;padding:8px 14px;border:1px solid #a9c2d6;border-radius:7px;cursor:pointer;background:#fff;color:#234b6a}
 #isuUploadDialog [data-confirm]{background:#1267a8;color:#fff;border-color:#1267a8}
 #isuUploadDialog button:focus-visible,#isuUploadNoticeHelp:focus-visible{outline:3px solid #69b5ec;outline-offset:2px}
 @media(max-width:600px){html body.estimate-page #isuWorkflowSections{--isu-major:20px;--isu-middle:17px;--isu-body:16px}#isuUploadDialog h2{font-size:20px}#isuUploadNoticeHelp{float:none;display:block;margin:0 0 8px}}
}
@media print{#isuUploadDialog,#isuUploadNoticeHelp{display:none!important}}
/* Group colors identify work stages, not machining status or completion. */
@media screen{
 #isuWorkflowStep1{--isu-group-bg:#f0f6fd;--isu-group-line:#bad0e8;--isu-group-ink:#245a89}
 #isuWorkflowStep2{--isu-group-bg:#eef8f7;--isu-group-line:#b5d9d4;--isu-group-ink:#24665f}
 #isuWorkflowStep5{--isu-group-bg:#faf6ee;--isu-group-line:#ddcdae;--isu-group-ink:#765b2c}
 #isuWorkflowStep3{--isu-group-bg:#f1f4f8;--isu-group-line:#c5cfde;--isu-group-ink:#455b77}
 #isuWorkflowStep4{--isu-group-bg:#f6f2fa;--isu-group-line:#d2c3e2;--isu-group-ink:#685084}
 #isuWorkflowStep6{--isu-group-bg:#f0f7f1;--isu-group-line:#bfd7c4;--isu-group-ink:#356b44}
 html body.estimate-page #isuWorkflowSections .isu-workflow-section{background:var(--isu-group-bg);border:1px solid var(--isu-group-line);border-left:4px solid var(--isu-group-ink);border-radius:10px;padding:10px 12px 2px;box-sizing:border-box;margin-bottom:12px}
 html body.estimate-page #isuWorkflowSections .isu-workflow-heading{color:var(--isu-group-ink)!important}
 html body.estimate-page #isuWorkflowSections .isu-workflow-section>.function-card{box-shadow:none!important}
 html body.estimate-page #isuWorkflowSections input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=button]):not([type=submit]),
 html body.estimate-page #isuWorkflowSections select,
 html body.estimate-page #isuWorkflowSections textarea{background-color:#fff}
 html body.estimate-page .quote-flow a[href='#isuWorkflowStep1']{--isu-nav-color:#245a89;--isu-nav-bg:#f0f6fd}
 html body.estimate-page .quote-flow a[href='#isuWorkflowStep2']{--isu-nav-color:#24665f;--isu-nav-bg:#eef8f7}
 html body.estimate-page .quote-flow a[href='#isuWorkflowStep5']{--isu-nav-color:#765b2c;--isu-nav-bg:#faf6ee}
 html body.estimate-page .quote-flow a[href='#isuWorkflowStep3']{--isu-nav-color:#455b77;--isu-nav-bg:#f1f4f8}
 html body.estimate-page .quote-flow a[href='#isuWorkflowStep4']{--isu-nav-color:#685084;--isu-nav-bg:#f6f2fa}
 html body.estimate-page .quote-flow a[href='#isuWorkflowStep6']{--isu-nav-color:#356b44;--isu-nav-bg:#f0f7f1}
 html body.estimate-page .quote-flow a{color:var(--isu-nav-color);border-color:var(--isu-nav-color);background:var(--isu-nav-bg)}
 html body.estimate-page .quote-flow a.active{background:var(--isu-nav-color);color:#fff}
 @media(max-width:600px){html body.estimate-page #isuWorkflowSections .isu-workflow-section{padding:8px 7px 0;border-left-width:3px}}
}
@media screen{
 html body.estimate-page #isuWorkflowSections .isu-v3-grid,
 html body.estimate-page #isuWorkflowSections .grid3{min-width:0;max-width:100%;box-sizing:border-box}
 html body.estimate-page #isuWorkflowSections .isu-v3-grid>* ,
 html body.estimate-page #isuWorkflowSections .grid3>*{min-width:0!important;max-width:100%;box-sizing:border-box}
 html body.estimate-page #isuWorkflowSections .isu-v3-note,
 html body.estimate-page #isuWorkflowSections .inlineNote,
 html body.estimate-page #isuWorkflowSections .isu-field-help,
 html body.estimate-page #isuWorkflowSections .isu-workflow-help,
 html body.estimate-page #isuWorkflowSections .opFormula{white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:normal!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;text-overflow:clip!important;max-width:100%!important;box-sizing:border-box;line-height:1.6!important}
 html body.estimate-page #isuWorkflowSections .isu-field-help{font-size:13px!important;color:#42566a!important;font-weight:400!important;margin:5px 0 0!important}
 html body.estimate-page #isuWorkflowSections #isuMachineAuto,
 html body.estimate-page #isuWorkflowSections #isuSpindleLimitInfo{color:#234b6a!important;background:#edf5ff!important}
 html body.estimate-page #isuWorkflowSections label,
 html body.estimate-page #isuWorkflowSections summary,
 html body.estimate-page #isuWorkflowSections .op-name{white-space:normal!important;overflow-wrap:anywhere!important;height:auto!important;max-height:none!important;overflow:visible!important;min-width:0!important}
 html body.estimate-page #isuWorkflowSections button:not(.drawing-document-name-button){white-space:normal!important;overflow-wrap:anywhere!important;height:auto!important;max-height:none!important;overflow:visible!important;text-overflow:clip!important;padding-top:8px;padding-bottom:8px;box-sizing:border-box}
 html body.estimate-page #isuWorkflowSections input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=button]):not([type=submit]),
 html body.estimate-page #isuWorkflowSections select,
 html body.estimate-page #isuWorkflowSections textarea{color:#20364b;min-width:0;box-sizing:border-box}
 html body.estimate-page #isuWorkflowSections input::placeholder,
 html body.estimate-page #isuWorkflowSections textarea::placeholder{color:#58697b;opacity:1}
 html body.estimate-page #isuWorkflowSections textarea{white-space:pre-wrap;overflow-wrap:anywhere;min-height:64px;height:auto;resize:vertical;field-sizing:content}
}
@media screen{
 html body.estimate-page #isuWorkflowSections .isu-machine-compact{background:#fff;border:1px solid #c5cfde;border-radius:8px;padding:10px 12px;margin-bottom:8px;min-width:0}
 html body.estimate-page #isuWorkflowSections .isu-machine-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px}
 html body.estimate-page #isuWorkflowSections .isu-machine-head h3{margin:0!important;flex:1 1 210px}
 html body.estimate-page #isuWorkflowSections .isu-machine-head .isu-settings-dock{width:auto!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;flex:0 0 auto}
 html body.estimate-page #isuWorkflowSections .isu-machine-head .isu-settings-dock button{background:#edf3f9!important;border-color:#9eb4cc!important;color:#294e73!important}
 html body.estimate-page #isuWorkflowSections .isu-machine-compact #isuMachineAuto{padding:4px 0!important;margin:4px 0 8px!important;background:transparent!important;border:0!important;font-size:13px!important}
 html body.estimate-page #isuWorkflowSections .isu-spindle-layout{display:grid!important;grid-template-columns:minmax(240px,300px) minmax(0,1fr)!important;gap:6px 14px!important;align-items:center!important}
 html body.estimate-page #isuWorkflowSections .isu-spindle-field{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:8px;align-items:center}
 html body.estimate-page #isuWorkflowSections .isu-spindle-field label{margin:0!important}
 html body.estimate-page #isuWorkflowSections .isu-spindle-field input{width:100%!important;min-height:40px!important;margin:0!important}
 html body.estimate-page #isuWorkflowSections .isu-spindle-help{margin:0!important;white-space:normal!important}
 html body.estimate-page #isuWorkflowSections .isu-machine-compact #isuSpindleLimitInfo{grid-column:1/-1!important;padding:8px 10px!important;margin:2px 0 0!important;font-size:13px!important}
 @media(max-width:700px){html body.estimate-page #isuWorkflowSections .isu-spindle-layout{grid-template-columns:minmax(0,1fr)!important}html body.estimate-page #isuWorkflowSections .isu-spindle-field{grid-template-columns:minmax(0,1fr) 100px}html body.estimate-page #isuWorkflowSections .isu-machine-head h3{flex-basis:160px}}
}
/* Preserve the existing upload layout; standardize only action button dimensions. */
@media screen{
 html body.estimate-page #isuWorkflowSections .drawing-file-control>button,
 html body.estimate-page #isuWorkflowSections #isuUploadNoticeHelp,
 html body.estimate-page #isuWorkflowSections #analyzeDrawingButton,
 html body.estimate-page #isuWorkflowSections #isuSelectedQueue>button,
 html body.estimate-page #isuWorkflowSections #removeSelectedDrawings{
  width:200px!important;max-width:100%!important;min-width:0!important;
  min-height:44px!important;height:auto!important;box-sizing:border-box!important;
  padding:10px 8px!important;font-size:14px!important;font-weight:600!important;
  line-height:22px!important;white-space:normal!important;overflow-wrap:anywhere!important;
  text-align:center!important;border-radius:7px!important;
 }
 html body.estimate-page #isuWorkflowSections #isuSelectedQueue>button{margin:4px 0!important}
}
