/* FF-LOCK PUNCH_PREVIEW_20261020. Scoped for the shared result page too. */
/* Reserve real page space for support so a saved floating position cannot cover PDF controls. */
body:has([data-press-file-tool="punch-clearance"]) .ct-widget-root{position:relative!important;inset:auto!important;width:64px!important;height:70px!important;margin:16px 24px 16px auto!important;transform:none!important}
body:has([data-press-file-tool="punch-clearance"]) .ct-widget-fab-tip{display:none!important}
body:has([data-press-file-tool="punch-clearance"]) .ct-widget-panel{left:auto!important;right:0!important;max-width:calc(100vw - 32px)}
.pp,.pp *,.pp-form *{box-sizing:border-box}.pp{color:#18324d;min-width:0;font-size:16px;line-height:1.5;margin-top:20px}.pp[hidden],.pp [hidden],.pp-form [hidden]{display:none!important}.pp-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.pp-form .pf-drop{padding:24px 16px}.pp-form .pf-drop .pp-actions{justify-content:center}.pp-help{color:#40566e;font-size:14px;line-height:1.6;margin:12px 0}.pp-form #pf-file-name{overflow-wrap:anywhere;max-width:100%}.pp-toolbar{display:flex;align-items:end;gap:10px;margin:18px 0 8px}.pp-toolbar label{flex:1;min-width:0;font-size:14px;font-weight:700;color:#18324d}.pp-toolbar select{display:block;width:100%;height:46px;font:inherit;color:#18324d;background:#fff;border:1px solid #7895ad;border-radius:8px;padding:8px;min-width:0}.pp-control{width:46px;height:46px;flex:none;border:1px solid #7895ad;border-radius:8px;color:#174f7e;background:#fff;font-size:22px;cursor:pointer}.pp-control:disabled{color:#5a697c;background:#e8edf2;cursor:default}.pp-stage{padding:24px;background:#e5edf5;border:1px solid #a8bdd0;border-radius:14px;display:flex;justify-content:center;overflow:hidden;min-height:180px}.pp-paper{position:relative;width:100%;max-width:520px;align-self:start;background:#fff;box-shadow:0 10px 24px #152c4a26;overflow:hidden;isolation:isolate}.pp-paper canvas{display:block;width:100%;height:auto}.pp-stage[aria-busy=true] .pp-paper{opacity:.65}.pp-band{position:absolute;inset:0 auto 0 0;width:7.35%;background:#f59e0b33;border-right:2px dashed #914b00;transition:left .25s ease,width .25s ease,background .25s ease;pointer-events:none}.pp-band.is-right{border-right:0;border-left:2px dashed #914b00}.pp-band i{position:absolute;left:50%;width:clamp(8px,2vw,17px);aspect-ratio:1;border:2px solid #864308;border-radius:50%;background:#fff;transform:translate(-50%,-50%);box-shadow:0 1px 4px #18324d40}.pp-band i:nth-child(1){top:20%}.pp-band i:nth-child(2){top:50%}.pp-band i:nth-child(3){top:80%}.pp-scan{display:none;position:absolute;left:0;right:0;height:3px;background:#0868bc;box-shadow:0 0 15px #0868bc;top:0;pointer-events:none}.pp.is-scanning .pp-scan{display:block;animation:pp-sweep 1.6s ease-in-out infinite}.pp.is-animating .pp-band i{animation:pp-punch 1s ease-in-out 2}.pp.is-animating .pp-band i:nth-child(2){animation-delay:.15s}.pp.is-animating .pp-band i:nth-child(3){animation-delay:.3s}.pp-legend{display:flex;gap:9px;align-items:center;color:#59400f;font-size:14px;margin:14px 0}.pp-swatch{display:inline-block;width:18px;height:18px;border:1px dashed #914b00;background:#fbe4b5;flex:none}.pp-page-verdict{color:#18324d;font-weight:700;margin:12px 0}.pp-page-verdict.is-warn{color:#854300}.pp-page-verdict.is-ok{color:#12613c}.pp-report{padding:16px 18px;border:1px solid #adc6b8;border-left:5px solid #187245;border-radius:10px;background:#f1faf5;color:#18324d}.pp-report.is-warn{border-color:#d1ae65;border-left-color:#9c5900;background:#fff7e8}.pp-report strong{display:block;font-size:18px;margin-bottom:8px}.pp-report p{margin:7px 0;overflow-wrap:anywhere}.pp-form progress{display:block;width:100%;height:12px;margin:12px 0;accent-color:#205b90}.pp :is(button,select):focus-visible,.pp-form :is(button,input,select):focus-visible{outline:3px solid #a44a00;outline-offset:3px}.pp .pf-button{min-width:0;white-space:normal}.pp .pf-button:disabled{opacity:1;color:#596b7e!important;background:#e6edf3;border-color:#a5b6c7}.pp-form .pf-button:disabled{opacity:1;color:#596b7e!important;background:#e6edf3;border-color:#a5b6c7}
@keyframes pp-sweep{0%{top:0}100%{top:99%}}@keyframes pp-punch{0%,100%{transform:translate(-50%,-50%) scale(1)}45%{transform:translate(-50%,-50%) scale(.6);background:#b6c8da}}
@media(max-width:700px){.pp-stage{padding:14px}.pp-actions{align-items:stretch;flex-direction:column}.pp-actions .pf-button{width:100%}.pp-toolbar{gap:7px}.pp-help{font-size:14px}}
@media(min-width:1200px){.pp-layout:has(.pp:not([hidden])){display:grid;grid-template-columns:minmax(250px,.85fr) minmax(0,1fr);gap:24px;align-items:start}.pp-layout .pp-form .pf-grid{grid-template-columns:1fr}.pp-layout .pp-toolbar{margin-top:0}.pp-layout .pp{margin-top:20px}.pp-layout .pp-stage{padding:14px}.pp-layout .pp-actions .pf-button{width:100%}}
@media(prefers-reduced-motion:reduce){.pp *{animation:none!important;transition:none!important}.pp.is-scanning .pp-scan{display:none}}
