.instruction-preview-modal{display:flex;flex-direction:column;width:min(1240px,calc(100vw - 24px));height:calc(100dvh - 24px);max-height:none;background:#fff;border-radius:8px;overflow:hidden}
.instruction-preview-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid #dce6df}
.instruction-preview-header h2{font-size:16px;margin:0}.instruction-preview-header p{font-size:12px;color:#708378;margin:4px 0 0}
.instruction-preview-toolbar{display:flex;gap:12px;align-items:center;padding:8px 16px;border-bottom:1px solid #dce6df;flex-wrap:wrap;font-size:12px}
.instruction-preview-toolbar label{display:flex;gap:6px;align-items:center}.instruction-preview-toolbar select{height:30px;border:1px solid #cedbd2;background:#fff;border-radius:4px;padding:0 6px}
.instruction-preview-tools{display:flex;gap:8px;margin-left:auto}.instruction-page-count{color:#64786c}
.instruction-download-status{flex-basis:100%;color:#50675a;font-size:12px;overflow-wrap:anywhere}.instruction-download-status[hidden]{display:none}.instruction-preview-header,.instruction-preview-toolbar{flex:none}
.instruction-preview-content{flex:1;min-height:0;overflow:auto;padding:16px;background:#e7ece9}
.instruction-preview-pages{display:flex;flex-direction:column;align-items:center;gap:16px;width:100%}
.instruction-preview-page{flex:none;width:min(100%,var(--sheet-max-width,1122.52px));background:#fff;box-shadow:0 2px 8px #1e3b3020;position:relative;overflow:hidden}
.instruction-preview-page canvas{display:block;width:100%;height:auto}.instruction-zoomed{width:max-content;min-width:100%;align-items:center}.instruction-zoomed .instruction-preview-page{width:var(--instruction-width)}
.instruction-preview-status{padding:24px;color:#50675a;text-align:center;font-size:13px}.instruction-preview-status[hidden]{display:none}
.instruction-accessible-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:650px){.instruction-preview-modal{width:100vw;height:100dvh;border-radius:0}.instruction-preview-header{padding:10px}.instruction-preview-header h2{font-size:14px}.instruction-preview-toolbar{gap:8px;padding:8px 10px}.instruction-preview-content{padding:8px}.instruction-preview-tools{margin-left:0}.instruction-page-count{margin-left:auto}}
@page operation-instruction{size:A4 landscape;margin:0}
@media print{
 body.has-instruction-preview,body.has-instruction-preview #overlay-root,body.has-instruction-preview .overlay,body.has-instruction-preview .instruction-preview-modal{height:auto!important;max-height:none!important;width:auto!important;overflow:visible!important;position:static!important;display:block!important;margin:0!important;padding:0!important;background:white!important;transform:none!important;border:0!important;border-radius:0!important}
 body.has-instruction-preview #app,body.has-instruction-preview #toast,body.has-instruction-preview .overlay-backdrop,.instruction-preview-header,.instruction-preview-toolbar,.instruction-preview-status{display:none!important}
 .instruction-preview-content,.instruction-preview-pages{display:block!important;padding:0!important;margin:0!important;width:auto!important;overflow:visible!important;background:white!important}
 .instruction-preview-page{page:operation-instruction;display:block!important;width:297mm!important;height:210mm!important;margin:0!important;padding:0!important;box-shadow:none!important;break-after:page;break-inside:avoid;overflow:hidden!important}
 .instruction-preview-page:last-child{break-after:auto}.instruction-preview-page canvas{width:297mm!important;height:210mm!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.instruction-accessible-text{display:none!important}
}

@page customer-form{size:A4 portrait;margin:0}
@media print{.instruction-preview-page[data-orientation="portrait"]{page:customer-form;width:210mm!important;height:297mm!important}.instruction-preview-page[data-orientation="portrait"] canvas{width:210mm!important;height:297mm!important}}
.notice-fields summary{cursor:pointer;font-size:13px;font-weight:600;margin-bottom:8px}
