#editor.task-batch-dialog{width:min(1480px,calc(100vw - 40px));max-width:1480px;max-height:94vh}
#editor.task-batch-dialog .task-batch-form{display:flex;flex-direction:column;gap:12px}
#editor.task-batch-dialog p{margin:0}
#editor.task-batch-dialog .batch-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
#editor.task-batch-dialog .batch-date-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 14px;background:#f4f7fd;border:1px solid #dce5f6;border-radius:10px}
#editor.task-batch-dialog .batch-date-toolbar label{display:flex;align-items:center;gap:6px;margin:0}
#editor.task-batch-dialog .batch-date-toolbar input{width:150px;min-height:36px;margin:0}
#editor.task-batch-dialog .batch-date-toolbar small{color:#637da5}
#editor.task-batch-dialog .batch-compact-table{width:100%;table-layout:fixed}
#editor.task-batch-dialog .batch-compact-table th:nth-child(1){width:19%}
#editor.task-batch-dialog .batch-compact-table th:nth-child(2){width:16%}
#editor.task-batch-dialog .batch-compact-table th:nth-child(3){width:14%}
#editor.task-batch-dialog .batch-compact-table th:nth-child(4),#editor.task-batch-dialog .batch-compact-table th:nth-child(5){width:13%}
#editor.task-batch-dialog .batch-compact-table th:nth-child(6){width:18%}
#editor.task-batch-dialog .batch-compact-table th:nth-child(7){width:7%}
#editor.task-batch-dialog .batch-compact-table th{padding:12px 8px;font-weight:600;background:#f4f7fd}
#editor.task-batch-dialog .batch-compact-table td{padding:10px 8px;vertical-align:middle}
#editor.task-batch-dialog .batch-compact-table label{margin:0;display:block;min-width:0}
#editor.task-batch-dialog .batch-compact-table input:not([type=checkbox]),#editor.task-batch-dialog .batch-compact-table select{width:100%;min-width:0;max-width:none;height:38px;min-height:38px;box-sizing:border-box;padding:7px 10px;font-size:13px;line-height:22px;margin:0;border-radius:6px}
#editor.task-batch-dialog .batch-compact-table select{padding-right:26px}
#editor.task-batch-dialog .batch-role-name,#editor.task-batch-dialog .batch-effort{display:flex;align-items:center;gap:8px}
#editor.task-batch-dialog .batch-role-name label,#editor.task-batch-dialog .batch-effort label{flex:1;min-width:0}
#editor.task-batch-dialog .batch-effort select{width:82px;min-width:82px;flex:0 0 82px}
#editor.task-batch-dialog .batch-role-name>input[type=checkbox],#editor.task-batch-dialog .batch-enable input[type=checkbox]{width:16px;height:16px;min-height:16px;margin:0;flex:none}
#editor.task-batch-dialog .batch-enable{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0}
#editor.task-batch-dialog .batch-compact-table .batch-field-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
#editor.task-batch-dialog .batch-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:8px}
#editor.task-batch-dialog .batch-details .batch-field-label{position:static;width:auto;height:auto;margin:0 0 6px;overflow:visible;clip:auto;white-space:normal;display:block}
#editor.task-batch-dialog .batch-disabled>tr:first-child{background:#fafbfe}
#editor.task-batch-dialog .batch-disabled input:disabled,#editor.task-batch-dialog .batch-disabled select:disabled{color:#8b9bb2;background:#f7f9fc}
#editor.task-batch-dialog [data-show-role-details]{height:36px;min-height:36px;padding:6px 10px;white-space:nowrap;margin:0}
#editor.task-batch-dialog .batch-help{color:#637da5;font-size:13px}
#editor.task-batch-dialog .batch-help p{margin-top:8px}
#editor.task-batch-dialog .batch-preview{display:flex;flex-direction:column;gap:14px;border-top:1px solid #dce5f6;padding-top:16px}
#editor.task-batch-dialog .batch-preview th,#editor.task-batch-dialog .batch-preview td{vertical-align:middle}
#editor.task-batch-dialog .batch-preview [data-allocation]{width:110px}
.iteration-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#editor:has(.iteration-plan-archive){width:min(1100px,calc(100vw - 40px));max-width:calc(100vw - 40px)}
#editor:has(.iteration-plan-archive) .dialog-head{display:flex;align-items:center;gap:16px}
#editor:has(.iteration-plan-archive) #dialog-title{flex:1;min-width:0}
#editor:has(.iteration-plan-archive) #close-dialog{flex:0 0 auto;white-space:nowrap}
#editor .iteration-plan-version{padding:18px 0;border-bottom:1px solid #e1e8f4;overflow-wrap:anywhere}
#editor .iteration-plan-version h3{font-size:18px;margin:0}
#editor .iteration-plan-version .row{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
#editor .iteration-plan-archive .iteration-actions{display:flex;gap:12px;align-items:center;justify-content:flex-end;margin-top:16px}
.iteration-discipline-plan{min-width:0;border:1px solid #dce5f6;border-radius:12px;padding:18px;display:flex;flex-direction:column;gap:14px;background:#fff}
.iteration-stage-content .actions a.button{display:inline-flex;align-items:center;justify-content:center;padding:9px 14px;border:1px solid #d3e0f5;border-radius:8px;background:#fff;color:#2558ad;text-decoration:none;white-space:nowrap}
.iteration-stage-content .actions a.button:hover{background:#f2f6ff}
.iteration-discipline-plan>.row{align-items:center;flex-wrap:wrap;gap:12px}
.iteration-discipline-plan h3,.iteration-discipline-plan h4,.iteration-discipline-plan p{margin:0}
.iteration-discipline-plan .iteration-plan-file{flex-wrap:wrap;overflow-wrap:anywhere}
.iteration-legacy-plan{margin-top:18px}
.task-cancellation-toolbar{margin:16px 0;gap:12px;align-items:center;flex-wrap:wrap}.task-cancellation-toolbar .choice{margin:0}.task-cancel-check{margin-right:10px!important;vertical-align:middle}
.prototype-image-stage{padding:16px;box-sizing:border-box;text-align:center}.prototype-image-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;margin:0 auto;object-fit:contain}.prototype-image-stage img.original-size{max-width:none;max-height:none;margin:0}
#editor:has(.word-reader){width:96vw;max-width:96vw;height:96dvh;max-height:96dvh;box-sizing:border-box;padding:0;margin:auto;overflow:hidden;border-radius:12px}
#editor[open]:has(.word-reader){display:flex;flex-direction:column}
#editor:has(.word-reader) .dialog-head{flex:none;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 24px;min-height:68px;box-sizing:border-box}
#editor:has(.word-reader) #dialog-title{min-width:0;margin:0;font-size:24px;line-height:1.4}
#editor:has(.word-reader) #close-dialog{flex:none;min-width:72px;white-space:nowrap;margin:0}
#editor:has(.word-reader) #dialog-content{display:flex;flex:1;min-height:0;overflow:hidden;padding:0}
.word-reader{display:flex;flex-direction:column;flex:1;width:100%;min-width:0;min-height:0;overflow:hidden}
#editor .word-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;flex:none;padding:12px 24px;margin:0;border-bottom:1px solid #e2e7ef;background:#fafbfd}
#editor .word-preview-toolbar a{flex:none;margin:0;text-decoration:none;font-size:14px;line-height:22px;padding:9px 16px;background:#fff}
.word-preview-filename{min-width:0;font-size:15px;line-height:1.6;overflow-wrap:anywhere;color:#4b607c}
#editor .word-preview-help{flex:none;margin:0;padding:8px 24px;border:0;border-radius:0;background:#fff;font-size:14px;color:#637895}
#editor .word-preview-help summary{padding:0;cursor:pointer}
#editor .word-preview-help p{margin:8px 0;max-height:96px;overflow:auto;line-height:1.6}
#editor .word-document-frame{display:block;flex:1;width:100%;height:auto;min-height:0;border:0;border-top:1px solid #e0e5ed;border-radius:0;background:#edf0f5}
#editor .word-preview-state{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:32px;overflow:auto;text-align:center;background:#f3f5f9;color:#526783}
#editor .word-preview-state strong{font-size:20px;color:#263c59}
#editor .word-preview-state p{margin:0;font-size:15px;line-height:1.7}
.word-preview-spinner{width:30px;height:30px;border:3px solid #dce5f5;border-top-color:#3563f3;border-radius:50%;animation:word-preview-spin .9s linear infinite}
@keyframes word-preview-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.word-preview-spinner{animation:none}}
@media(max-width:700px){#editor:has(.word-reader){width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}#editor:has(.word-reader) .dialog-head{padding:12px 16px;gap:12px}#editor .word-preview-toolbar{padding:10px 16px;gap:12px}#editor .word-preview-help{padding:8px 16px}}
@media(max-width:1100px){#editor.task-batch-dialog .batch-compact-table{min-width:1100px}#editor.task-batch-dialog .batch-table-wrap{overflow-x:auto}#editor.task-batch-dialog{width:calc(100vw - 20px)}.iteration-plan-grid{grid-template-columns:1fr}}
.task-full-title{white-space:normal;overflow-wrap:anywhere;text-overflow:clip}
