.br-trust{flex-wrap:wrap;gap:.5rem 1.5rem;padding-left:1.3rem;display:flex}.br-upload{cursor:pointer;width:100%;min-height:110px;font:inherit;color:inherit;display:block}#br-filename{overflow-wrap:anywhere}.br-models{border:0;min-width:0;margin:1.5rem 0;padding:0}.br-models legend{margin-bottom:.7rem;font-weight:700}.br-model-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.br-model{border:2px solid var(--line,#dedbd4);cursor:pointer;border-radius:14px;align-items:flex-start;gap:.6rem;min-width:0;padding:1rem;display:flex}.br-model-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}.br-model:has(input:checked){border-color:var(--accent,#e76f51);background:var(--surface,#fff8f0);box-shadow:0 0 0 1px var(--accent,#e76f51)}.br-model:focus-within{outline-offset:3px;outline:3px solid #285dad}.br-model input{accent-color:#c94e30;flex-shrink:0;width:1.1rem;height:1.1rem;margin-top:.25rem}.br-model-body{overflow-wrap:anywhere;flex-direction:column;gap:.5rem;min-width:0;display:flex}.br-model-heading{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.br-badge{border:1px solid;border-radius:20px;padding:.1rem .4rem;font-size:.75rem}.br-model small{line-height:1.6}.br-model-state{font-size:.9rem;font-weight:700}.br-advanced{border:1px solid var(--line,#dedbd4);border-radius:12px;margin:1rem 0;padding:1rem}.br-advanced summary{cursor:pointer;min-height:44px;display:list-item}.br-preview-switch,.br-toolbar,.br-view-settings{flex-wrap:wrap;align-items:center;gap:.6rem;margin:1rem 0;display:flex}.br-preview-switch [aria-pressed=true],.br-toolbar [aria-pressed=true]{outline-offset:2px;outline:2px solid #c94e30}#file-tool button,#file-tool summary,#file-tool select{min-height:44px}#file-tool .actions{flex-wrap:wrap}#file-tool button{white-space:normal}.br-view-settings label{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.br-view-settings input[type=color]{width:48px;height:44px}.br-view-settings span{font-size:.85rem}.br-viewport{border:1px solid var(--line,#dedbd4);overscroll-behavior:auto;border-radius:10px;width:100%;min-height:120px;max-height:min(65vh,600px);position:relative;overflow:auto}.br-stage{--br-compare:50%;isolation:isolate;max-width:none;margin-inline:auto;position:relative;overflow:hidden}#br-before,#br-canvas{object-fit:fill;margin:0;display:block;position:absolute;inset:0;width:100%!important;max-width:none!important;height:100%!important;max-height:none!important}#br-before{z-index:2;pointer-events:none}#br-canvas{z-index:1;touch-action:pan-y pinch-zoom;cursor:grab}#file-tool[data-editing=true] #br-canvas{touch-action:none;cursor:none}#file-tool[data-background=white] .br-stage,#file-tool[data-background=black] .br-stage,#file-tool[data-background=custom] .br-stage{background:var(--br-background)}#file-tool[data-preview=source] #br-canvas,#file-tool[data-preview=result] #br-before{visibility:hidden}#file-tool[data-preview=compare] #br-before{clip-path:inset(0 calc(100% - var(--br-compare)) 0 0)}.br-compare-line{z-index:4;left:var(--br-compare);pointer-events:none;background:#fff;width:2px;position:absolute;top:0;bottom:0;transform:translate(-1px);box-shadow:0 0 0 1px #222}.br-compare-label{z-index:5;color:#fff;pointer-events:none;background:#202020cc;border-radius:6px;padding:.2rem .5rem;font-size:.85rem;position:absolute;top:8px}.br-label-left{left:8px}.br-label-right{right:8px}#br-compare{z-index:6;-webkit-appearance:none;appearance:none;cursor:ew-resize;touch-action:pan-y pinch-zoom;background:0 0;width:calc(100% + 44px);height:100%;margin:0;position:absolute;inset:0 auto 0 -22px}#br-compare::-webkit-slider-runnable-track{background:0 0;height:2px}#br-compare::-moz-range-track{background:0 0;height:2px}#br-compare::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#c94e30;border:2px solid #fff;border-radius:50%;width:44px;height:44px;transform:translateY(-21px);box-shadow:0 0 0 1px #202020}#br-compare::-moz-range-thumb{background:#c94e30;border:2px solid #fff;border-radius:50%;width:40px;height:40px;box-shadow:0 0 0 1px #202020}#br-compare:focus-visible{outline-offset:-4px;outline:3px solid #285dad}#file-tool:not([data-preview=compare]) #br-compare,#file-tool:not([data-preview=compare]) .br-compare-line,#file-tool:not([data-preview=compare]) .br-compare-label,#file-tool:not([data-preview=compare]) .br-compare-help{display:none}#br-brush-cursor{z-index:8;pointer-events:none;border:1px solid #fff;border-radius:50%;outline:1px solid #111;position:absolute;transform:translate(-50%,-50%)}.br-edge-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.br-edge-grid label{min-width:0;display:block}.br-edge-grid input[type=range]{accent-color:#c94e30;width:100%;height:44px;display:block}.br-downloads{margin-top:1rem}#file-tool [hidden]{display:none!important}@media (width<=700px){.br-model-grid{grid-template-columns:1fr}.br-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;display:grid}.br-toolbar button:first-child{grid-column:1/-1}.br-edge-grid{grid-template-columns:1fr}.br-downloads{grid-template-columns:1fr;display:grid!important}.br-view-settings{align-items:flex-start}.br-viewport{max-height:60vh}.br-advanced{padding:.75rem}}#br-compare{box-sizing:border-box;border:0;border-radius:0;padding:0}#br-compare::-webkit-slider-thumb{box-sizing:border-box;width:44px;height:44px}#br-compare::-moz-range-thumb{box-sizing:border-box;width:44px;height:44px}#file-tool .br-intro{margin-top:0}#file-tool .br-trust{color:var(--muted);margin-bottom:1.5rem;font-size:.85rem}.br-workspace-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.br-eyebrow{letter-spacing:.16em;color:var(--muted);font-size:.7rem;font-weight:700}#file-tool .br-workspace-heading h2{margin:3px 0 0;font-size:1.5rem}.br-current-mode{color:var(--muted);flex-wrap:wrap;gap:5px 10px;margin:0;font-size:.8rem;display:flex}.br-current-mode strong{color:var(--ink)}.br-tool-picker{background:#f1eee9;border:1px solid #e3ddd6;border-radius:14px;flex-wrap:wrap;gap:6px;margin-bottom:14px;padding:8px;display:flex}.br-tool-picker button{font:inherit;color:var(--ink);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:8px 12px;font-size:.88rem;font-weight:650;display:flex}.br-tool-picker button>span{font-size:1.15rem}.br-tool-picker button:hover{background:#fff9}.br-tool-picker button[aria-expanded=true]{color:var(--primary-hover);background:#fff;border-color:#cdc6bd;box-shadow:0 2px 5px #3e38310b}#file-tool :is(.br-tool-picker button,#br-panel-close,.br-upload):focus-visible{outline-offset:3px;outline:3px solid #285dad}.br-workbench{grid-template-columns:minmax(0,1fr);align-items:start;gap:18px;display:grid}#file-tool[data-panel]:not([data-panel=""]) .br-workbench{grid-template-columns:minmax(0,1fr) 310px}.br-main{background:#fff;border:1px solid #e3ddd6;border-radius:16px;min-width:0;padding:14px}.br-preview-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}#file-tool .br-preview-switch{background:#f5f3f0;border-radius:9px;gap:4px;margin:0;padding:3px}#file-tool .br-preview-switch button{box-shadow:none;background:0 0;border:0;border-radius:7px;padding:7px 12px;font-size:.8rem}#file-tool .br-preview-switch button[aria-pressed=true]{color:var(--primary-hover);background:#fff;outline:none;box-shadow:0 1px 4px #3e383118}#file-tool .br-preview-switch button:focus-visible{outline:2px solid #285dad}#file-tool #br-replace{padding:8px 12px;font-size:.8rem}.br-file-caption{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:8px;margin:8px 0 12px;font-size:.75rem;display:flex}.br-file-caption strong{color:var(--ink)}.br-canvas-area{background:#f5f3f0;border:1px solid #e7e3dd;border-radius:12px;min-width:0;padding:10px}.br-canvas-area.br-dragging{outline:3px dashed var(--primary);outline-offset:-5px;background:#f3eee7}#file-tool .br-upload{min-height:clamp(280px,42vh,420px);color:var(--muted);background:#fcfaf8;border:1.5px dashed #cbc3b8;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:28px 16px;font-size:.9rem;line-height:1.6;display:flex}#file-tool .br-upload:hover{border-color:var(--primary);background:#f6f1eb}.br-upload-icon{width:58px;height:58px;color:var(--muted);background:#f0e9df;border-radius:17px;place-items:center;font-size:2rem;display:grid}#file-tool .br-upload strong{color:var(--ink);font-size:1.1rem}.br-upload-types{font-size:.75rem}.br-upload-cta{color:#fff;background:#423c34;border-radius:9px;margin-top:2px;padding:10px 22px;font-weight:650}#file-tool .br-viewport{border:0;border-radius:6px}#file-tool .br-zoom{align-items:center;gap:5px;margin:10px 0 0}#file-tool .br-zoom button{padding:6px 10px;font-size:.75rem}#br-zoom-value{color:var(--muted);margin-left:auto;font-size:.75rem}.br-processing{margin-top:14px}#file-tool .br-processing .actions{gap:8px;margin:0}#file-tool .br-processing .btn{font-size:.85rem}#br-info{overflow-wrap:anywhere;color:var(--muted);margin:10px 0 0;font-size:.83rem;line-height:1.7}.br-inspector{background:#fbf9f7;border:1px solid #e3ddd6;border-radius:14px;min-width:0;max-height:740px;padding:16px;overflow-y:auto}.br-inspector-heading{border-bottom:1px solid #e3ddd6;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;padding-bottom:10px;display:flex}#file-tool .br-inspector-heading h3{margin:0;font-size:1rem}#br-panel-close{cursor:pointer;width:44px;color:var(--ink);background:0 0;border:1px solid #e3ddd6;border-radius:8px;flex-shrink:0}.br-tool-panel{min-width:0;font-size:.83rem;line-height:1.7}#file-tool .br-tool-panel .br-model-grid{grid-template-columns:1fr}#file-tool .br-tool-panel .br-models{margin:0}#file-tool .br-tool-panel .br-model{background:#fff;border-width:1px;border-radius:10px;padding:12px}#file-tool .br-tool-panel .br-model:has(input:checked){border-color:var(--primary);background:var(--primary-soft);box-shadow:0 0 0 1px var(--primary)}#file-tool .br-tool-panel .br-model input{accent-color:var(--green)}#file-tool .br-tool-panel .br-model-body{gap:3px}#file-tool .br-tool-panel .br-badge{font-size:.65rem}#file-tool .br-tool-panel .br-model-state{color:var(--muted);font-size:.75rem}#file-tool .br-tool-panel .br-advanced{background:#fff;padding:12px}#file-tool .br-tool-panel :is(.office-fields,.br-edge-grid,.br-toolbar,.br-downloads){grid-template-columns:1fr;gap:10px;display:grid}#file-tool .br-tool-panel :is(input,select,button){max-width:100%}#file-tool .br-tool-panel :is(.btn,summary){font-size:.83rem}#file-tool .br-tool-panel .br-view-settings{margin:0;display:grid}#file-tool .br-tool-panel .br-view-settings label{display:grid}#file-tool .br-workspace-tip{color:var(--muted);margin:16px 0 0;font-size:.8rem;line-height:1.8}@media (width<=900px){#file-tool[data-panel]:not([data-panel=""]) .br-workbench{grid-template-columns:minmax(0,1fr)}.br-inspector{max-height:min(65vh,550px)}.br-tool-picker{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.br-tool-picker button{gap:5px;padding-inline:4px}}@media (width<=480px){.br-main{padding:8px}.br-canvas-area{padding:6px}.br-tool-picker button{font-size:.75rem}#file-tool .br-preview-switch{justify-content:space-between;width:100%}#file-tool .br-preview-switch button{padding-inline:8px}#file-tool .br-processing .actions{grid-template-columns:1fr 1fr;display:grid}#file-tool .br-processing #br-run{grid-column:1/-1}#file-tool .br-upload{padding-inline:12px;font-size:.8rem}#file-tool .br-upload strong{font-size:1rem}#br-zoom-value{text-align:center;width:100%;margin-left:0}}
