.file-workbench{display:grid;gap:20px;min-height:320px}.file-workbench .field{min-width:0}.file-workbench .grid-2,.file-workbench .grid-3{align-items:start}.file-workbench .toolbar{display:flex;flex-wrap:wrap;gap:10px;margin:0}.file-workbench .input,.file-workbench .select{width:100%;box-sizing:border-box;min-height:46px}.file-workbench .textarea{box-sizing:border-box;width:100%}.file-workbench [hidden]{display:none!important}.file-workbench .fw-check{display:flex;align-items:flex-start;gap:10px;line-height:1.6;font-weight:500}.file-workbench input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin:4px 0}.fw-status-row{display:flex;align-items:center;gap:12px;min-height:28px}.fw-status-row p{margin:0;overflow-wrap:anywhere}.fw-results{display:flex;flex-wrap:wrap;gap:12px}.fw-results:empty{display:none}.fw-results>.notice,.fw-results>.fw-previews{flex:0 0 100%;box-sizing:border-box}.fw-results>a{max-width:100%;white-space:normal;overflow-wrap:anywhere}.fw-privacy{border-top:1px solid var(--line);padding-top:18px;margin:0;line-height:1.6}.fw-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.fw-previews figure{min-width:0;margin:0;padding:12px;border:1px solid var(--line);border-radius:12px}.fw-previews img{width:100%;height:180px;object-fit:contain;background:#f5f5f5}.fw-previews figcaption{font-size:13px;line-height:1.5;margin-top:8px;overflow-wrap:anywhere}.fw-page-list{display:grid;gap:10px}.fw-page-list:empty{display:none}.fw-page{display:grid;grid-template-columns:20px 64px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:12px}.fw-page img{width:64px;height:85px;object-fit:contain;background:#fff}.fw-page span{overflow-wrap:anywhere}.file-workbench canvas{display:block;width:100%;height:auto;background:#fff;border:1px solid var(--line);box-sizing:border-box}.file-workbench h2{font-size:20px;margin:20px 0 14px}.file-workbench h3{font-size:16px;margin:12px 0}.fw-table-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.4fr);gap:24px}.fw-table-layout>div{min-width:0}.fw-table-scroll{max-height:620px;overflow:auto;margin-top:14px;border:1px solid var(--line);border-radius:12px}.fw-table-scroll table{border-collapse:collapse;min-width:100%}.fw-table-scroll th,.fw-table-scroll td{border:1px solid var(--line);padding:8px;min-width:110px}.fw-table-scroll th:first-child,.fw-table-scroll td:first-child{min-width:35px}.fw-table-scroll th{position:sticky;top:0;background:var(--surface,#fff);z-index:1}.fw-table-scroll .input{min-width:110px}.fw-source-stage{position:relative}.fw-source-highlight{position:absolute;left:0;right:0;pointer-events:none;background:rgba(255,180,0,.25);border:1px solid #b97e00}.fw-table-layout .toolbar{margin-top:16px}#fwTableSummary{line-height:1.6;font-size:14px}.file-workbench .notice{margin:0;line-height:1.7}.file-workbench .btn:disabled{opacity:.5;cursor:not-allowed}@media(max-width:700px){.fw-previews{grid-template-columns:repeat(2,minmax(0,1fr))}.fw-previews img{height:130px}.fw-table-layout{grid-template-columns:minmax(0,1fr)}.fw-page{grid-template-columns:20px 50px minmax(0,1fr)}.fw-page img{width:50px;height:70px}.fw-page .toolbar{grid-column:2/4}.file-workbench .grid-3{grid-template-columns:minmax(0,1fr)}.file-workbench .grid-2{grid-template-columns:minmax(0,1fr)}}

.fw-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;width:100%}.fw-compare figure{margin:0;min-width:0}.fw-compare figcaption{margin-bottom:12px;overflow-wrap:anywhere}.fw-image-result{display:block;max-width:100%;max-height:600px;width:auto;height:auto;object-fit:contain;background:repeating-conic-gradient(#eee 0% 25%,#fff 0% 50%) 0/20px 20px}.fw-results>.fw-table-scroll{width:100%;max-width:100%}@media(max-width:700px){.fw-compare{grid-template-columns:1fr}}
.fw-image-compare{position:relative;overflow:hidden;background:repeating-conic-gradient(#ddd 0% 25%,#fff 0% 50%) 50%/16px 16px}.fw-image-compare>img,.fw-image-after img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}.fw-image-after{position:absolute;inset:0;clip-path:inset(0 0 0 50%)}.fw-previews label{display:block;font-size:13px;line-height:1.5}.fw-previews input[type=range]{width:100%}.file-workbench [hidden]{display:none!important}
.fw-redact-canvas{display:block;width:100%;height:auto;touch-action:none;cursor:crosshair;border:1px solid var(--line);margin:16px 0}
