.iwHeading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.iwSteps{display:flex;align-items:center;gap:12px;flex:1;max-width:1080px}.iwStep{display:flex;align-items:center;gap:9px;white-space:nowrap;color:#8c98aa;font-size:13px}.iwStep i{font-style:normal;width:30px;height:30px;display:grid;place-items:center;background:#e8edf4;border-radius:50%;font-weight:650}.iwStep.done,.iwStep.current{color:#2869f2}.iwStep.done i,.iwStep.current i{background:#326cf5;color:#fff}.iwStepLine{height:1px;background:#dce4ee;flex:1;min-width:14px}.iwStepLine.done{background:#84a6fa}.iwHeading>.secondary{white-space:nowrap}
.iwLayout{display:grid;grid-template-columns:230px minmax(360px,1fr) 310px;gap:14px;align-items:start}.iwPanel{background:white;border:1px solid #e2e8f1;border-radius:12px;padding:16px;min-width:0}.iwPanel h2{font-size:16px;margin:0;line-height:1.5}.iwPanel h3{font-size:14px;margin:0 0 12px}.iwSectionHead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.iwCount{color:#346deb;background:#eaf1ff;font-size:12px;padding:3px 7px;border-radius:5px;margin-left:7px}.iwQueue{min-height:745px;padding:16px 10px}.iwQueue>.iwSectionHead,.iwQueue>.iwSearch,.iwQueue>.iwTabs,.iwQueue>.iwHint{margin-left:6px;margin-right:6px}.iwSearch{width:calc(100% - 12px);font-size:12px;min-height:36px;padding:9px 10px}.iwTabs{display:flex;gap:3px;padding:3px;background:#f4f6fa;border-radius:8px;margin-top:10px;margin-bottom:12px}.iwTabs button{border:1px solid transparent;background:transparent;color:#758298;flex:1;border-radius:6px;padding:7px;font-size:12px}.iwTabs button.on{color:#2864ed;background:#fff;border-color:#a9c1ff;box-shadow:0 2px 5px #29528d0a}.iwHint{color:#8793a6;font-size:11px;line-height:1.6;margin:8px 0 12px}.iwTasks{display:grid;gap:8px;margin-top:12px}.iwTask{display:flex;gap:10px;text-align:left;border:1px solid transparent;background:#fff;width:100%;border-radius:9px;padding:11px 9px;color:#243754}.iwTask:hover{background:#f7faff}.iwTask.on{background:#f1f6ff;border-color:#8faeff;box-shadow:inset 3px 0 #3673ff}.iwThumb{width:44px;height:48px;background:#f0f3f7;border-radius:6px;display:grid;place-items:center;flex:none;color:#a1aec0;overflow:hidden}.iwThumb img{width:100%;height:100%;object-fit:cover}.iwTaskBody{min-width:0;flex:1}.iwTaskBody strong{font-size:12px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:2px 0 7px}.iwTaskCode{font-size:10px;display:block;color:#73839e;overflow-wrap:anywhere}.iwTaskMeta{display:flex;align-items:center;justify-content:space-between;margin-top:8px;gap:6px;color:#8a97a9;font-size:10px}.iwBadge{display:inline-flex;align-items:center;gap:4px;padding:3px 7px;font-size:11px;background:#eff2f6;border-radius:5px;color:#79879b;white-space:nowrap}.iwBadge.blue{background:#e9f1ff;color:#316fed}.iwBadge.green{background:#e4f8ec;color:#189455}.iwBadge.amber{background:#fff4de;color:#b87922}.iwBadge.red{background:#fff0f0;color:#c25b5b}.iwCenter,.iwRight{display:grid;gap:12px;min-width:0}.iwSummary{display:flex;align-items:center;gap:12px;min-height:86px}.iwSummary h2{font-size:17px}.iwSummaryBody{flex:1;min-width:0}.iwSummaryBody p{font-size:12px;color:#8593aa;margin:6px 0 0;line-height:1.65}.iwSummaryBody .iwCodes{color:#5e7294}.iwSource{display:flex;align-items:center;gap:8px;margin-top:10px}.iwSource select{font-size:11px;min-height:33px;padding:6px 8px;min-width:0}.iwSource .secondary{padding:6px 9px;font-size:11px;white-space:nowrap}
.iwViewerTools{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:12px;flex-wrap:wrap}.iwViewerTools .iwTabs{margin:0;flex:1;max-width:310px}.iwIconTools{display:flex;gap:5px}.iwIconTools button{width:31px;height:31px;display:grid;place-items:center;background:#fff;border:1px solid #e2e8f1;border-radius:7px;color:#5b739b;padding:0}.iwIconTools .appIcon{width:14px;height:14px}.iwViewerFrame{position:relative;background:#f1f3f6;border:1px solid #e9edf3;border-radius:9px;overflow:hidden;min-height:340px}.iwViewerFrame.mobile{max-width:330px;margin:auto;min-height:420px;border:5px solid #dce3ed;border-radius:24px}.iwViewerFrame:fullscreen{height:100vh}.iwViewerFrame:fullscreen opj-model-viewer{height:100vh}.iwViewerFrame .iwViewerLabel{position:absolute;top:12px;left:12px;z-index:1;background:#fffD;color:#66778e;font-size:10px;padding:5px 8px;border-radius:5px;pointer-events:none}.iwViewerFrame .iwZoom{position:absolute;bottom:12px;right:12px;z-index:1}.iwViewerFrame .iwZoom button{border-radius:50%;box-shadow:0 3px 8px #23395712}.iwViewportSwitch{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#8b98aa;margin-top:10px}.iwViewportSwitch button{border:0;background:transparent;color:#7c8ba1;padding:3px 6px;font-size:11px}.iwViewportSwitch button.on{color:#2f6ff3;font-weight:600}opj-model-viewer{display:block;position:relative;width:100%;height:340px;overflow:hidden}opj-model-viewer canvas{display:block;width:100%;height:100%;touch-action:none}.mobile opj-model-viewer{height:420px}.modelMessage{height:100%;min-height:260px;display:grid;place-items:center;text-align:center;padding:40px;color:#8794a9;font-size:13px;line-height:1.9}.modelError{color:#bd6464}.iwFallback{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px;min-height:340px;color:#8392aa;padding:32px;line-height:1.8}.iwFallback>.appIcon{width:52px;height:52px;color:#b6c5db}.iwFallback b{color:#5a7094;font-size:15px}.iwFallback img{max-width:100%;max-height:260px;object-fit:contain}.iwMetrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.iwMetric{border:1px solid #e7edf5;background:#fafcff;border-radius:7px;padding:11px 9px;min-width:0}.iwMetric label{font-size:11px;color:#8090aa;display:block;margin-bottom:6px}.iwMetric strong{font-size:13px;font-weight:600;color:#2f66db;display:block;overflow-wrap:anywhere}.iwMetric small{font-size:10px;display:block;color:#9aa7ba;margin-top:5px}.iwNote{border-radius:6px;background:#eff5ff;color:#597bb3;font-size:11px;padding:10px 12px;line-height:1.65;overflow-wrap:anywhere}.iwWarning{background:#fff6e6;color:#ad782c}.iwVersionTable{font-size:11px;white-space:normal}.iwVersionTable th,.iwVersionTable td{padding:11px 7px;font-size:11px}.iwVersionTable .iwFilename{max-width:190px;overflow-wrap:anywhere}.iwVersionTable .ghost{padding:3px;font-size:11px}.iwVersionTable tr.active{background:#f0f5ff}.iwHistoryEmpty{padding:28px 12px;font-size:12px;color:#93a0b3;text-align:center}.iwFileList{display:grid;gap:6px}.iwFileRow{display:flex;align-items:center;gap:8px;background:#fafcff;border:1px solid #e5ebf4;border-radius:7px;padding:9px 10px;font-size:11px;color:#617694}.iwFileRow .iwFileName{overflow-wrap:anywhere;flex:1;min-width:0}.iwFileRow .ghost{font-size:11px;padding:2px}.iwFileRow small{color:#8b9ab0;white-space:nowrap}
.iwRight .field{margin-bottom:12px}.iwRight label,.iwDialog label{font-size:12px}.iwRight input,.iwRight textarea,.iwRight select{font-size:12px;min-height:36px;padding:8px 10px;border-radius:7px}.iwRight textarea{min-height:67px;line-height:1.7}.iwUploader{font-size:12px;display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;color:#72829b}.iwUploader strong{color:#465d80;font-weight:500}.iwDrop{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;border:1px dashed #89aaff;background:#f7faff;color:#3975ed;border-radius:8px;padding:18px 10px;cursor:pointer;text-align:center;font-size:12px}.iwDrop .appIcon{width:23px;height:23px}.iwDrop small{font-size:10px;color:#899dbd}.iwDrop.drag{background:#e6efff}.iwDrop input{position:absolute;width:1px;height:1px;opacity:0}.iwDrop:focus-within{outline:3px solid #b7ceff}.iwUploadFiles{margin:9px 0}.iwAux{margin-top:10px;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px}.iwAux button{font-size:11px;padding:5px 8px}.iwRight .primary,.iwRight .secondary{font-size:12px}.iwSave{margin-top:12px}.iwChecklist{display:grid;gap:10px;margin:15px 0}.iwCheck{display:flex;gap:8px;align-items:flex-start;font-size:12px;line-height:1.5;color:#637694}.iwCheck .iwCheckIcon{width:16px;height:16px;flex:none;display:grid;place-items:center;border:1px solid #d7e0ed;border-radius:50%;font-size:10px;color:#a8b4c6;margin-top:1px}.iwCheck.pass .iwCheckIcon{background:#1fac69;border-color:#1fac69;color:white}.iwCheck.fail .iwCheckIcon{background:#fff1e6;border-color:#f2c788;color:#bf8d37}.iwCheck input[type=checkbox]{width:14px;height:14px;min-height:0;flex:none;margin:3px 0 0;accent-color:#3477fa}.iwCheck small{display:block;font-size:10px;color:#98a4b6}.iwPreviewChecks{display:flex;gap:10px;flex-wrap:wrap}.iwPreviewChecks label{display:flex;gap:5px;align-items:flex-start;font-size:11px}.iwReview{border-top:1px solid #e8edf5;padding-top:12px;margin-top:12px}.iwReview label{display:block;margin-bottom:8px;color:#7f90a9}.iwReview textarea{margin-bottom:10px}.iwReviewButtons{display:flex;gap:8px}.iwReviewButtons button{flex:1;padding:9px 6px}.iwRecipient{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#8b98ab;border-top:1px solid #e8edf4;padding-top:12px;margin-bottom:12px}.iwRecipient span{color:#516987}.iwProduction summary{font-size:12px;font-weight:600;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:10px}.iwProduction summary small{font-weight:400;color:#8393ab}.iwProduction[open] summary{margin-bottom:15px}.iwEmptyWorkspace{grid-column:2/-1;min-height:550px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;color:#8192ac;padding:30px}.iwEmptyWorkspace>.appIcon{width:64px;height:64px;color:#b2c4e0}.iwEmptyWorkspace h2{font-size:19px;color:#4d658a}.iwEmptyWorkspace p{max-width:420px;line-height:1.9;font-size:13px;margin:0}.iwLink{color:#3977ed;text-decoration:none;font-size:12px}.iwLegacy{margin-top:12px}.iwLegacy summary{cursor:pointer;font-size:12px;color:#798da8;margin-bottom:12px}
.iwDialog{border:1px solid #dfe7f3;border-radius:15px;padding:0;width:min(1120px,calc(100vw - 48px));max-height:calc(100dvh - 40px);color:#203554;box-shadow:0 24px 90px #15254130}.iwDialog::backdrop{background:#1a2c4a65}.iwDialogHead{display:flex;align-items:center;justify-content:space-between;padding:23px 26px;border-bottom:1px solid #eef2f7}.iwDialogHead h2{font-size:23px;margin:0 0 6px}.iwDialogHead p{font-size:12px;color:#8b9ab1;margin:0}.iwDialogHead .ghost{font-size:20px;color:#8093b0}.iwDialogBody{padding:22px 26px}.iwAccepted{background:#eafaf1;color:#169b58;border-radius:8px;padding:15px 18px;margin-bottom:20px;display:flex;justify-content:space-between;gap:12px;align-items:center}.iwAccepted strong{display:block;font-size:16px;margin-bottom:5px}.iwAccepted small{color:#65967b;font-size:11px}.iwPublishGrid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:18px}.iwPublishInfo{display:grid;gap:14px;align-content:start}.iwReviewRow{display:flex;align-items:flex-start;gap:15px;margin:15px 0;font-size:12px}.iwReviewRow>span{color:#8394ac;min-width:76px}.iwReviewRow>strong{font-weight:500;overflow-wrap:anywhere;min-width:0}.iwReviewRow small{display:block;color:#8b9bb1;margin-top:5px}.iwDialogFoot{border-top:1px solid #e6ecf5;padding:18px 26px;display:flex;justify-content:space-between;align-items:center;gap:16px;background:#fcfdff}.iwDialogFoot>span{font-size:11px;color:#8b9bb1}.iwDialogFoot>div{display:flex;gap:10px}.iwDialogFoot button{font-size:13px}.iwSpecDialog{width:min(580px,calc(100vw - 32px))}.iwSpecDialog ul{padding-left:20px;color:#6e839f;line-height:1.9;font-size:12px}.iwSpecDialog .field{margin-bottom:14px}.iwSpecDialog label{display:block;margin-bottom:7px}.iwSpecDialog input,.iwSpecDialog select{font-size:13px}.iwDialog a{color:#3475ed}.iwProgress{font-size:12px;color:#4773bd;text-align:center;margin:9px 0}
@media(min-width:1700px){.iwLayout{grid-template-columns:270px minmax(440px,1fr) 360px;gap:18px}.iwPanel{padding:20px}.iwTaskBody strong{font-size:14px}.iwTaskCode,.iwTaskMeta{font-size:11px}.iwViewerFrame,opj-model-viewer{min-height:410px;height:410px}.iwRight input,.iwRight textarea,.iwRight select,.iwCheck{font-size:13px}.iwRight .field{margin-bottom:16px}.iwQueue{min-height:840px}}
@media(max-width:1250px){.iwLayout{grid-template-columns:210px minmax(0,1fr)}.iwRight{grid-column:2;grid-template-columns:1fr 1fr}.iwRight .iwProduction{grid-column:1/-1}.iwQueue{grid-row:1/3;min-height:720px}.iwSteps{gap:6px}.iwStep{font-size:11px;gap:5px}.iwStep i{width:25px;height:25px}.iwHeading>.secondary{padding:8px;font-size:11px}.iwRight .iwPanel{padding:14px}}
@media(max-width:900px){.iwRight{grid-template-columns:1fr}.iwStepLine{min-width:3px}.iwHeading{align-items:flex-start;flex-direction:column}.iwPublishGrid{grid-template-columns:1fr}.iwDialogFoot{flex-wrap:wrap}.iwDialogFoot>div{margin-left:auto}.iwQueue{min-height:600px}.iwLayout{grid-template-columns:190px minmax(0,1fr)}.iwSummary h2{font-size:15px}.iwMetrics{gap:4px}.iwMetric{padding:9px 6px}.iwMetric strong{font-size:11px}}
@media(max-width:720px){.iwLayout{display:block}.iwQueue{min-height:0;margin-bottom:12px}.iwTasks{grid-template-columns:repeat(2,minmax(0,1fr));max-height:230px;overflow:auto}.iwTask{padding:9px 7px;gap:7px}.iwTaskBody strong{font-size:11px}.iwTaskCode{font-size:9px}.iwThumb{width:33px;height:38px}.iwRight{margin-top:12px}.iwSteps{width:100%;gap:5px}.iwStep{flex-direction:column;font-size:10px;gap:5px}.iwHeading{gap:12px}.iwDialog{width:calc(100vw - 18px);max-height:calc(100dvh - 18px)}.iwDialogBody,.iwDialogHead{padding:16px}.iwDialogHead h2{font-size:20px}.iwDialogFoot{padding:15px}.iwAccepted{padding:12px}.iwViewerFrame,opj-model-viewer{min-height:300px;height:300px}.iwPublishGrid{gap:12px}.iwDialogFoot button{font-size:12px;padding:10px 12px}.iwEmptyWorkspace{min-height:300px}.iwFileRow{font-size:10px}}
/* Keep confirmation actions visible while the model review scrolls. */
.iwDialog[open]{display:flex;flex-direction:column;overflow:hidden}.iwDialogHead,.iwDialogFoot{flex-shrink:0}.iwDialogBody{overflow-y:auto;min-height:0}.iwSource .iwLink{flex:none;white-space:nowrap}.iwSource select{flex:1;width:auto}.iwDialog .iwViewerFrame,.iwDialog opj-model-viewer{min-height:260px;height:clamp(260px,38vh,380px)}.iwDialog .iwViewerFrame.mobile,.iwDialog .mobile opj-model-viewer{height:390px}
