.filters{display:grid;gap:9px}.filters select,.filters input{width:100%;min-height:42px;border:1px solid #cfd8e7;border-radius:8px;background:#fff;padding:0 12px;font-family:"Microsoft JhengHei",sans-serif;font-size:14px}.add-item,#summaryAddItem{min-height:40px;border:1px solid #1e4d87;border-radius:7px;background:#eef5ff;color:#174b8c;font-family:"Microsoft JhengHei",sans-serif;font-weight:700;cursor:pointer}.summary-record{grid-template-columns:46px 1fr!important}.summary-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:7px;background:#17395d;color:#fff;font-size:19px}.summary-page{min-width:1050px;padding:24px;background:#fff}.summary-page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.summary-page-head h2{margin:0 0 4px}.summary-page-head p{margin:0;color:#65738a}.summary-table-wrap{overflow:auto;border:1px solid #bcc5d2}.summary-table{width:100%;border-collapse:collapse;font-family:"Microsoft JhengHei",sans-serif}.summary-table th{background:#17395d;color:#fff;padding:10px 7px;white-space:nowrap}.summary-table td{border:1px solid #c7ced8;padding:9px 7px;text-align:center}.summary-table tbody tr{cursor:pointer}.summary-table tbody tr:hover{background:#edf4ff}.report-control-group{margin-left:auto;display:flex;align-items:center;gap:6px}.report-control-group #addRetest,.control-btn{height:35px;border:1px solid #b9c9df;border-radius:6px;background:#f3f7fc;color:#17395d;padding:0 11px;font-family:"Microsoft JhengHei",sans-serif;font-weight:700;cursor:pointer}.report-control-group #addRetest{background:#17395d;color:#fff}.arrow-btn{width:36px;padding:0;font-size:20px}.report-control-group #zoomValue{min-width:48px;text-align:center;font-size:13px;color:#52627a}.report-band{position:relative}.delete-retest{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:1px solid rgba(255,255,255,.85);border-radius:4px;background:#fff;color:#b42318;padding:3px 10px;font-family:"Microsoft JhengHei",sans-serif;font-weight:700;cursor:pointer}.report-stack{transform-origin:top left}@media(max-width:800px){.report-actions{align-items:flex-start}.report-control-group{flex-wrap:wrap;justify-content:flex-end}.summary-page{min-width:900px}}
.settings-wrap{position:relative;margin-left:auto}.settings-toggle{height:36px!important;background:#17395d!important;padding:0 14px!important}.settings-menu{position:absolute;z-index:30;right:0;top:41px;width:190px;padding:7px;background:#fff;border:1px solid #b9c5d5;border-radius:7px;box-shadow:0 10px 28px #17233d33}.settings-menu[hidden]{display:none}.settings-menu button{display:flex!important;justify-content:space-between!important;width:100%;border:0!important;border-radius:5px!important;background:#fff!important;color:#24364f!important;padding:10px 11px!important;text-align:left;font-family:"Microsoft JhengHei",sans-serif!important}.settings-menu button:hover{background:#edf4ff!important}.settings-menu #zoomValue{color:#69788d;font-size:12px}.history.collapsed{display:none}.history-head{display:flex;justify-content:space-between;align-items:center}.history-head .section-title{margin:0}.history-head button{border:1px solid #c5ceda;background:#fff;border-radius:5px;padding:6px 12px;cursor:pointer}.history-help{font-size:13px;color:#687386}.history-choice{display:flex;width:100%;align-items:center;justify-content:space-between;border:0;border-bottom:1px dashed #dfe4ec;background:#fff;text-align:left;cursor:pointer}.history-choice:hover{background:#edf4ff}.history-choice time{float:none;white-space:nowrap}.rich-editor{display:block;width:100%;min-height:125px;overflow:auto;border:0;padding:14px 7px;font:17px "Microsoft JhengHei","Microsoft JhengHei UI",sans-serif;line-height:1.45;outline:none;white-space:pre-wrap;overflow-wrap:anywhere}.narrative tr:last-child .rich-editor{min-height:95px}.rich-editor:focus{background:#fff5b8;box-shadow:inset 0 0 0 1px #b49700}.font-tools{position:fixed;z-index:100;padding:5px;border:1px solid #aebbd0;border-radius:7px;background:#fff;box-shadow:0 7px 20px #17233d33}.font-tools button{border:0;border-radius:4px;background:#edf4ff;color:#17395d;padding:6px 10px;font-weight:700;cursor:pointer}.report-card,.report-table,.level-table,.image-table{max-width:1235px;overflow:hidden}.report-table td,.report-table th,.level-table td,.level-table th,.image-table td,.image-table th{overflow:hidden}.narrative tr:first-child{height:125px}.narrative tr:last-child{height:95px}.image-table tr:nth-child(2){height:560px}.narrative textarea{resize:none!important}.row-resizer{bottom:-4px;height:8px}.col-resizer{display:none!important}
.report-actions .settings-wrap{display:block!important}.report-actions .settings-menu{display:block!important;align-items:stretch!important}.report-actions .settings-menu[hidden]{display:none!important}.report-actions .settings-menu button{display:block!important;margin:0 0 3px!important}.report-stack,.report-card,.retest-empty,.history{max-width:none!important}.report-card,.retest-empty{width:100%!important}.report-stack{margin-left:0!important;margin-right:0!important}.report-table,.level-table,.image-table{width:100%!important;max-width:none!important;table-layout:fixed}.spec-pair{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;height:100%}.spec-pair input:first-child{border-right:1px solid #000}.neta-choice,.neta-level{cursor:pointer}.level-table .neta-selected{color:#f00000!important;font-weight:700!important}.image-label{width:100%;border:0;background:transparent;text-align:center;font:700 18px "Microsoft JhengHei",sans-serif;cursor:pointer;outline:none}.font-tools button[data-color="#e00000"]{color:#e00000}.font-tools button[data-color="#0047d7"]{color:#0047d7}
.report-stack,.report-card,.retest-empty,.history{width:1235px!important;max-width:none!important}.report-table,.level-table,.image-table{width:100%!important;table-layout:fixed}.report-stack{margin-left:0!important;margin-right:24px!important}
.report-actions{justify-content:flex-start!important;gap:9px}.report-actions .settings-wrap{margin-left:0!important;order:-1}.report-actions>div:not(.settings-wrap){order:0}.level-table tr:last-child td{color:#000!important}.level-table tr:last-child .neta-selected{color:#f00000!important}.history{position:fixed!important;z-index:90;left:50%;top:50%;transform:translate(-50%,-50%);width:min(760px,calc(100vw - 40px))!important;max-height:78vh;overflow:auto;margin:0!important;padding:22px!important;border:1px solid #aeb9c8;box-shadow:0 24px 70px #11182766}.history::before{content:"";position:fixed;z-index:-1;inset:-100vh -100vw;background:#10182866}.history.collapsed{display:none!important}.summary-page{min-width:0!important;width:100%!important}.summary-table{width:100%!important;table-layout:fixed!important}.summary-table th{white-space:normal!important;overflow-wrap:anywhere;line-height:1.35}.summary-table td{overflow-wrap:anywhere}.summary-table-wrap{width:100%;overflow:hidden!important}
.editor{overflow-x:hidden!important;overflow-y:auto!important}.preview-toolbar{left:0!important;right:0!important;width:auto!important;min-width:0!important;max-width:none!important;margin:0 -18px 16px!important;padding-left:18px!important;padding-right:18px!important;box-sizing:border-box}.toolbar-actions{display:block!important;position:relative;margin-left:auto;flex:0 0 auto}.toolbar-actions .settings-wrap{display:block!important;margin:0!important}.toolbar-actions .settings-menu{display:block!important;right:0;left:auto}.toolbar-actions .settings-menu[hidden]{display:none!important}.toolbar-actions .settings-menu button{display:block!important;width:100%!important;margin-bottom:3px!important}.report-stack{margin-right:0!important}.summary{align-items:center}.summary h1{margin-bottom:0}
.workspace{grid-template-columns:370px 6px minmax(0,1fr)}.sidebar-resizer{width:6px;height:100%;background:#d8dde5;cursor:col-resize;touch-action:none;position:relative}.sidebar-resizer::after{content:"";position:absolute;left:2px;top:0;width:2px;height:100%;background:#9ba6b5;opacity:.45}.sidebar-resizer:hover::after,.resizing-sidebar .sidebar-resizer::after{background:#2e5ee5;opacity:1}.resizing-sidebar{user-select:none;cursor:col-resize!important}.preview-toolbar{height:42px!important;min-height:42px!important;padding-top:4px!important;padding-bottom:4px!important;display:flex!important;align-items:center!important}.preview-toolbar>div:first-child{display:flex!important;align-items:center!important;gap:13px!important;min-width:0}.preview-toolbar b{display:inline!important;white-space:nowrap}.preview-toolbar>div:first-child>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.settings-toggle{width:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a93a2!important;box-shadow:none!important;font:22px Arial,sans-serif!important}.settings-toggle:hover{color:#4f5968!important;background:transparent!important}.toolbar-actions{height:34px}.toolbar-actions .settings-menu{top:35px}
.workspace{grid-template-columns:260px 6px minmax(0,1fr);height:calc(100vh - 132px)!important;min-height:420px!important}main{max-width:none!important;padding:10px 18px!important}.summary{height:52px!important;min-height:52px!important;margin-bottom:6px!important}.summary h1{font-size:20px!important;line-height:1.1!important}.metrics{height:48px!important}.metric{min-width:76px!important;height:48px!important;padding:4px 11px!important;border-radius:9px!important}.metric b{font-size:17px!important;line-height:1.15!important}.metric small{font-size:10px!important}.summary-page{padding:6px 10px!important}.summary-page-head{height:40px!important;min-height:40px!important;margin-bottom:5px!important}.summary-page-head h2{font-size:19px!important;line-height:1.15!important}.summary-page-head button{min-height:30px!important;height:30px!important;padding:0 10px!important}.summary-table th{font-size:10px!important;line-height:1.25!important;padding:4px 2px!important}.summary-table td{font-size:10px!important;line-height:1.25!important;padding:4px 2px!important}.summary-table .badge{font-size:9px!important;padding:3px 5px!important}.readonly-mode #editor input[data-field],.readonly-mode #editor select[data-field]{opacity:1!important;color:#222!important;-webkit-text-fill-color:#222!important;cursor:default!important}.readonly-mode #editor .rich-editor{cursor:default!important}.readonly-mode [data-neta-level],.readonly-mode .row-resizer,.readonly-mode .font-tools,.readonly-mode .history-choice{pointer-events:none!important}.readonly-mode #addItem,.readonly-mode #summaryAddItem,.readonly-mode #undoAction,.readonly-mode #menuAddRetest,.readonly-mode .delete-retest{opacity:.45!important;cursor:not-allowed!important}
.summary-page{padding:2px 6px!important}.summary-page-head{height:36px!important;min-height:36px!important;max-height:36px!important;margin:0 0 3px!important;padding:0!important;overflow:hidden!important}.summary-page-head h2{margin:0!important;font-size:16px!important;line-height:36px!important;white-space:nowrap!important}.summary-page-head button{height:26px!important;min-height:26px!important;padding:0 8px!important;font-size:12px!important}
.font-tools.pinned{position:fixed!important;left:auto!important;right:28px!important;top:112px!important;display:flex!important;gap:3px!important}.readonly-mode #showTextTools{opacity:.45!important;cursor:not-allowed!important}
.summary-page{height:100%!important;display:flex!important;flex-direction:column!important;overflow:visible!important}.summary-page-head{position:sticky!important;top:0!important;z-index:25!important;flex:0 0 auto!important;background:#fff!important;border-bottom:1px solid #d6dce5!important}.summary-table-wrap{flex:1 1 auto!important;min-height:0!important;overflow:auto!important}.summary-table{min-height:100%!important}.summary-table thead th{height:1px!important;min-height:0!important;padding:2px 2px!important;line-height:1.05!important;vertical-align:middle!important}.summary-table tbody tr{cursor:default!important}.summary-table tbody tr:hover{background:transparent!important}.summary-item-link{border:0;background:transparent;color:#1764d8;font:700 10px "Microsoft JhengHei",sans-serif;text-decoration:underline;cursor:pointer;padding:2px}.summary-item-link:hover,.summary-item-link:focus{color:#fff;background:#1764d8;border-radius:3px;outline:none}.summary-status{width:100%;min-width:0;border:1px solid #cbd4df;border-radius:5px;background:#fff;padding:3px 1px;font:10px "Microsoft JhengHei",sans-serif;text-align:center}.readonly-mode .summary-status{opacity:1!important;color:#333!important;-webkit-text-fill-color:#333!important}
.summary-th-text{display:inline-block;max-width:4em;white-space:normal;overflow-wrap:anywhere;word-break:break-all;line-height:1.1}.summary-status-cell{position:relative;overflow:visible!important}.summary-status-badge{border:0;cursor:pointer;white-space:nowrap}.status-popover{position:absolute;z-index:40;right:2px;top:calc(100% - 2px);width:76px;padding:5px;background:#fff;border:1px solid #cbd4df;border-radius:7px;box-shadow:0 7px 20px #17233d33}.status-popover[hidden]{display:none}.status-popover button{display:block;width:100%;margin:3px 0;border:0;cursor:pointer}.record-context-menu{position:fixed;z-index:200;width:160px;padding:5px;background:#fff;border:1px solid #c3ccd8;border-radius:7px;box-shadow:0 10px 30px #17233d44}.record-context-menu[hidden]{display:none}.record-context-menu button{width:100%;border:0;border-radius:5px;background:#fff1f1;color:#b42318;padding:9px 10px;text-align:left;font:700 13px "Microsoft JhengHei",sans-serif;cursor:pointer}.record-context-menu button:hover{background:#ffe1e1}.summary-table tbody tr[data-record-id]{cursor:default!important}.sorting-summary,.sorting-summary *{cursor:grabbing!important;user-select:none!important}.dragging-row{opacity:.65;outline:2px solid #2e5ee5;background:#eaf1ff!important}.readonly-mode .summary-status-badge{opacity:1!important;cursor:default!important}
.toolbar-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important}.toolbar-nav-button{height:28px;border:1px solid #b9c5d5;border-radius:5px;background:#fff;color:#4e5c70;padding:0 8px;font:700 11px "Microsoft JhengHei",sans-serif;cursor:pointer}.toolbar-nav-button:hover{background:#edf4ff;color:#174b8c}.toolbar-nav-button[hidden]{display:none!important}.excel-font-tools{display:flex;align-items:center;gap:4px;min-width:max-content;padding:5px 6px!important;background:#fff;border:1px solid #9daabd;box-shadow:0 8px 24px #17233d38}.excel-font-tools[hidden]{display:none!important}.excel-font-tools .font-family-name{height:27px;line-height:27px;padding:0 8px;border:1px solid #c5ceda;border-radius:4px;font:12px/27px "Microsoft JhengHei",sans-serif;color:#27364c}.excel-font-tools select{height:27px;width:48px;border:1px solid #c5ceda;border-radius:4px;background:#fff;font:12px "Microsoft JhengHei",sans-serif}.excel-font-tools button{height:27px;min-width:29px;padding:0 6px!important;border:1px solid #d1d7e0!important;background:#fff!important}.excel-font-tools button:hover{background:#edf4ff!important}.rich-editor{font-family:"Microsoft JhengHei","Microsoft JhengHei UI",sans-serif!important;font-size:12pt!important}.font-tools.pinned{position:fixed!important;left:auto!important;right:28px!important;top:112px!important;display:none!important}
.summary-table th:nth-child(1){width:5%}.summary-table th:nth-child(2){width:5%}.summary-table th:nth-child(3){width:8%}.summary-table th:nth-child(4){width:8%}.summary-table th:nth-child(5){width:28%}.summary-table th:nth-child(6){width:8%}.summary-table th:nth-child(7){width:7%}.summary-table th:nth-child(8){width:8%}.summary-table th:nth-child(9){width:9%}.summary-table th:nth-child(10){width:7%}.summary-table th:nth-child(11){width:7%}.summary-table td:nth-child(5){font-weight:700;overflow-wrap:anywhere}.image-upload-box{position:relative;width:100%;height:100%;overflow:hidden;cursor:pointer;background:#fff}.image-upload-box img{display:block;width:100%;height:100%;object-fit:contain;background:#fff}.image-upload-box.uploading::after{content:"圖片上傳中…";position:absolute;inset:0;display:grid;place-items:center;background:#ffffffd9;color:#174b8c;font-weight:700}.image-upload-box:hover{box-shadow:inset 0 0 0 3px #2e5ee5}.readonly-mode .image-upload-box{cursor:default}.readonly-mode .image-upload-box:hover{box-shadow:none}
.image-table tr:nth-child(2),.image-table tr:nth-child(2)>td{height:var(--image-row-height,560px)}.image-table tr:nth-child(2)>td{vertical-align:middle}.image-upload-box{display:flex;align-items:center;justify-content:center}.image-upload-box img{max-width:100%;max-height:100%}
.image-upload-box.image-paste-target{box-shadow:inset 0 0 0 4px #2e5ee5!important}.image-upload-box:focus{outline:none}
.image-stage{position:relative;flex:0 0 auto;overflow:hidden;background:#fff}.image-stage img{display:block;width:100%!important;height:100%!important;object-fit:fill!important;user-select:none;pointer-events:none}.image-red-mark{position:absolute;box-sizing:border-box;border:4px solid #f00000;pointer-events:none}.image-mark-controls{position:absolute;z-index:8;right:7px;top:7px;display:flex;gap:4px;opacity:.5;transition:opacity .15s}.image-upload-box:hover .image-mark-controls,.image-marking .image-mark-controls{opacity:1}.image-mark-controls button{display:grid;place-items:center;width:29px;height:29px;padding:0;border:1px solid #aab4c2;border-radius:4px;background:#fffffff0;color:#e00000;font:700 21px/1 Arial,sans-serif;cursor:pointer;box-shadow:0 2px 6px #17233d33}.image-mark-controls button:hover{background:#fff}.image-marking .image-stage{cursor:crosshair}.image-marking{box-shadow:inset 0 0 0 4px #e00000!important}.readonly-mode .image-mark-controls{display:none!important}@media print{.image-mark-controls{display:none!important}}
.report-stack{margin-left:auto!important;margin-right:auto!important}
.workspace{grid-template-columns:174px 6px minmax(0,1fr)}.filters{gap:6px!important;padding:9px!important}.filters select,.filters input{min-height:29px!important;height:29px!important;padding:0 7px!important;border-radius:6px!important;font-size:10px!important}.add-item{min-height:29px!important;height:29px!important;border-radius:6px!important;font-size:10px!important}.record{grid-template-columns:31px minmax(0,1fr) auto!important;gap:6px!important;padding:10px 7px!important}.record .item{font-size:10px!important}.record strong{font-size:10px!important}.record small{margin-top:3px!important;font-size:9px!important}.record .badge{padding:2px 4px!important;font-size:8px!important}.summary-record{grid-template-columns:31px minmax(0,1fr)!important}.summary-icon{width:24px!important;height:24px!important;border-radius:5px!important;font-size:13px!important}.record-list::-webkit-scrollbar{width:8px!important}
.report-card [data-has-text-format]{font-size:var(--field-font-size,inherit)!important;color:var(--field-color,inherit)!important;font-weight:var(--field-weight,inherit)!important;font-family:var(--field-font-family,inherit)!important}.readonly-mode #editor .report-card [data-has-text-format]{color:var(--field-color,inherit)!important;-webkit-text-fill-color:var(--field-color,inherit)!important}.excel-font-tools.pinned{display:flex!important;right:28px!important;top:112px!important;left:auto!important}.excel-font-tools input[type="color"]{width:29px;height:27px;padding:2px;border:1px solid #c5ceda;border-radius:4px;background:#fff;cursor:pointer}.excel-font-tools #fontFamilyChoice{width:112px!important}.settings-menu{width:230px!important}.image-mark-mode .image-stage{cursor:crosshair!important}.image-mark-mode #toggleImageMarks{background:#fff0f0!important;color:#c00000!important;font-weight:700!important}.image-mark-mode .image-upload-box:hover{box-shadow:inset 0 0 0 3px #e00000}.readonly-mode #showTextTools,.readonly-mode #toggleImageMarks,.readonly-mode #clearImageMarks{opacity:.45!important;cursor:not-allowed!important}
.image-red-mark{border-color:var(--mark-color,#f00000)!important}.image-mark-mode .image-red-mark:not(.image-red-mark-preview){pointer-events:auto!important;cursor:move}.image-red-mark.selected-mark{outline:1px dashed #fff;outline-offset:3px}.image-red-mark [data-resize]{position:absolute;display:none;width:12px;height:12px;border:2px solid var(--mark-color,#f00000);border-radius:50%;background:#fff;pointer-events:auto}.image-red-mark.selected-mark [data-resize]{display:block}.image-red-mark [data-resize="nw"]{left:-8px;top:-8px;cursor:nwse-resize}.image-red-mark [data-resize="ne"]{right:-8px;top:-8px;cursor:nesw-resize}.image-red-mark [data-resize="sw"]{left:-8px;bottom:-8px;cursor:nesw-resize}.image-red-mark [data-resize="se"]{right:-8px;bottom:-8px;cursor:nwse-resize}.mark-color-setting{display:flex;align-items:center;justify-content:space-between;margin:2px 0;padding:8px 11px;border-radius:5px;color:#24364f;font:13px "Microsoft JhengHei",sans-serif}.mark-color-setting:hover{background:#edf4ff}.mark-color-setting input{width:34px;height:25px;padding:1px;border:1px solid #b9c5d5;border-radius:4px;background:#fff;cursor:pointer}.readonly-mode .mark-color-setting{opacity:.45;pointer-events:none}
.topbar{position:fixed!important;z-index:300;left:0;right:0;top:0;transform:translateY(calc(-100% + 7px));transition:transform .2s ease;box-shadow:0 2px 10px #14203a44}.topbar::after{content:"";position:absolute;left:0;right:0;bottom:0;height:9px}.topbar:hover,.topbar:focus-within{transform:translateY(0)}main{height:100vh!important;padding-top:10px!important}.workspace{height:calc(100vh - 20px)!important}.sidebar-metrics{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px!important;flex:0 0 auto;padding:5px;border-bottom:1px solid #dfe4ec;background:#f8fafc}.sidebar-metrics .metric{min-width:0!important;width:auto!important;height:38px!important;padding:3px 1px!important;border-radius:6px!important;text-align:center}.sidebar-metrics .metric b{font-size:12px!important;line-height:1.1!important}.sidebar-metrics .metric small{display:block;font-size:7px!important;line-height:1.1!important;white-space:nowrap}
.quick-zoom{display:flex;align-items:center;gap:1px}.quick-zoom button{display:grid;place-items:center;width:28px;height:30px;padding:0;border:0;background:transparent;color:#8a93a2;font:700 23px/1 Arial,sans-serif;cursor:pointer}.quick-zoom button:hover{color:#364152}.fixed-image-label{display:block;width:100%;font:700 18px "Microsoft JhengHei",sans-serif;text-align:center}.cell-editor{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:100%;padding:0;overflow:hidden;outline:none;text-align:center;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font-family:"Microsoft JhengHei","Microsoft JhengHei UI",sans-serif;font-size:inherit;line-height:1.35}.cell-editor:focus{background:#fff5b8;box-shadow:inset 0 0 0 1px #b49700}.cell-editor[data-readonly]{cursor:default}.spec-pair .cell-editor:first-child{border-right:1px solid #000}.readonly-mode .cell-editor{cursor:default}.readonly-mode .cell-editor:focus{background:transparent;box-shadow:none}
.report-card{overflow:visible!important}.report-collapse-section{position:relative}.report-collapse-section.collapsed>.report-collapse-body{display:none}.anomaly-collapse.collapsed{min-height:42px;border-top:1px solid #d0d5dd}.section-collapse-toggle{display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #aeb8c6;border-radius:5px;background:#fff;color:#596579;font:700 22px/1 Arial,sans-serif;cursor:pointer;box-shadow:0 2px 7px #17233d22}.section-collapse-toggle:hover{color:#174b8c;background:#edf4ff}.anomaly-collapse-toggle{position:absolute;z-index:12;left:-46px;top:7px}.retest-collapse-toggle{position:absolute;z-index:12;left:8px;top:50%;transform:translateY(-50%)}.retest-collapse-date{position:absolute;left:52px;top:50%;transform:translateY(-50%);font-size:15px;font-weight:700;white-space:nowrap}.retest-collapse-date[hidden]{display:none}.retest-report.collapsed{margin-bottom:28px}.retest-report.collapsed .navy-band{border-bottom:1.5px solid #000}.readonly-mode .section-collapse-toggle{pointer-events:auto!important;opacity:1!important}
.report-table th,.report-table td{width:auto}.report-table.meta th,.report-table.meta td{width:auto}.report-table col,.level-table col{box-sizing:border-box}.report-table .cell-editor{min-width:0}.detail-row td{overflow-wrap:anywhere}
.summary-table{min-height:0!important;height:auto!important}.summary-table-wrap{align-content:flex-start!important}.summary-table tbody tr{height:auto!important}.summary-table tbody td{height:auto!important;min-height:0!important}
.image-context-menu button{background:#fff!important;color:#24364f!important}.image-context-menu button:hover{background:#edf4ff!important}.image-context-menu button.danger{color:#b42318!important}.manual-image-height .image-upload-box,.manual-image-height .image-stage{width:100%!important;height:100%!important}.manual-image-height .image-stage img{object-fit:cover!important;object-position:center center!important}.retest-status-option{cursor:pointer;background:#fff;transition:background .12s}.retest-status-option:hover{background:#f4f6f9}.retest-status-option.selected-result{font-weight:700}.retest-status-option.selected-result.good{background:#e2f6ed!important;color:#16845b!important}.retest-status-option.selected-result.bad{background:#fde8e9!important;color:#c93e47!important}.retest-status-option.selected-result.wait{background:#fff1d9!important;color:#9a5d00!important}.summary-status-badge{display:inline-block;cursor:default!important}
@media(max-width:700px){html,body{min-width:0!important;width:100%!important;overflow-x:hidden!important}main{width:100%!important;max-width:none!important;padding-left:6px!important;padding-right:6px!important}.workspace{display:grid!important;width:100%!important;grid-template-columns:120px 4px minmax(0,1fr)!important;height:calc(100vh - 20px)!important}.sidebar{height:auto!important;border-right:1px solid var(--line)!important;border-bottom:0!important}.sidebar-resizer{width:4px!important}.editor{min-width:0!important;min-height:0!important;overflow-x:hidden!important;padding-left:8px!important;padding-right:8px!important}.preview-toolbar{margin-left:-8px!important;margin-right:-8px!important;padding-left:8px!important;padding-right:8px!important}.report-stack{width:1235px!important;min-width:1235px!important;transform-origin:top left!important}.summary-page{min-width:1100px!important}.report-table th,.report-table td,.level-table th,.level-table td,.image-table th,.image-table td{word-break:normal!important;overflow-wrap:normal!important}}
.image-crop-modal{position:fixed;z-index:500;inset:0;display:grid;place-items:center;background:#101828b8;padding:24px}.image-crop-dialog{display:flex;flex-direction:column;width:min(1100px,calc(100vw - 48px));max-height:calc(100vh - 48px);overflow:hidden;border-radius:10px;background:#fff;box-shadow:0 28px 90px #0008}.image-crop-head{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:0 14px;border-bottom:1px solid #d5dbe5;font:16px "Microsoft JhengHei",sans-serif}.image-crop-head button{width:34px;height:34px;border:0;background:transparent;color:#596579;font-size:26px;cursor:pointer}.image-crop-workspace{flex:1;min-height:0;display:grid;place-items:center;overflow:auto;padding:18px;background:#252b35}.image-crop-canvas{position:relative;display:inline-block;line-height:0;overflow:hidden}.image-crop-canvas>img{display:block;max-width:min(1000px,calc(100vw - 100px));max-height:calc(100vh - 180px);width:auto;height:auto;user-select:none}.image-crop-selection{position:absolute;box-sizing:border-box;border:2px solid #fff;box-shadow:0 0 0 9999px #0008;cursor:move;touch-action:none}.image-crop-selection::after{content:"";position:absolute;inset:0;border:1px dashed #111}.image-crop-selection i{position:absolute;width:16px;height:16px;border:2px solid #fff;border-radius:50%;background:#1764d8}.image-crop-selection i[data-crop-handle="nw"]{left:-9px;top:-9px;cursor:nwse-resize}.image-crop-selection i[data-crop-handle="n"]{left:50%;top:-9px;transform:translateX(-50%);cursor:ns-resize}.image-crop-selection i[data-crop-handle="ne"]{right:-9px;top:-9px;cursor:nesw-resize}.image-crop-selection i[data-crop-handle="e"]{right:-9px;top:50%;transform:translateY(-50%);cursor:ew-resize}.image-crop-selection i[data-crop-handle="se"]{right:-9px;bottom:-9px;cursor:nwse-resize}.image-crop-selection i[data-crop-handle="s"]{left:50%;bottom:-9px;transform:translateX(-50%);cursor:ns-resize}.image-crop-selection i[data-crop-handle="sw"]{left:-9px;bottom:-9px;cursor:nesw-resize}.image-crop-selection i[data-crop-handle="w"]{left:-9px;top:50%;transform:translateY(-50%);cursor:ew-resize}.image-crop-actions{display:grid;grid-template-columns:auto 1fr auto auto;gap:8px;padding:10px 14px;border-top:1px solid #d5dbe5}.image-crop-actions button{min-width:76px;height:34px;border:1px solid #b9c5d5;border-radius:6px;background:#fff;color:#354258;font:700 13px "Microsoft JhengHei",sans-serif;cursor:pointer}.image-crop-actions button.primary{border-color:#174b8c;background:#174b8c;color:#fff}.image-crop-actions button:disabled{opacity:.55;cursor:wait}
