/* R6.16.94 - 26-template preview matrix, semantic preview modes and overflow closure */
.r61694-mode-hint{display:block;margin-top:3px;color:var(--fp-muted);font-size:8px;line-height:1.45;max-width:680px}
.r61627-template-closure .template-preview-toolbar{align-items:flex-start}
.r61627-template-closure .template-preview-heading{align-items:flex-start;min-width:280px}
.r61627-template-closure .template-preview-controls{flex-wrap:wrap;justify-content:flex-end}
.r61627-template-closure .template-live-canvas.mode-sheet .template-live-sheet{background:#fff}
.r61627-template-closure .template-live-canvas.mode-sheet .template-paper-stage:before{content:'实时纸张效果';position:absolute;right:0;top:-16px;color:#7b8495;font-size:8px;font-weight:700}
.r61627-template-closure .template-live-canvas.mode-excel{align-content:start!important;padding:14px!important;background:#eef3f0!important}
.r61627-template-closure .template-live-canvas.mode-excel .template-paper-stage{margin:0 auto!important}
.r61627-template-closure .template-live-canvas.mode-excel .template-live-sheet{height:auto!important;min-height:170px!important;padding:8px!important;overflow:visible!important;background:#fff!important;box-shadow:none!important;border:1px solid #afbbb3!important}
.r61627-template-closure .template-live-canvas.mode-excel .template-live-document-header,
.r61627-template-closure .template-live-canvas.mode-excel .template-live-meta,
.r61627-template-closure .template-live-canvas.mode-excel .template-live-sheet>footer{display:none!important}
.r61627-template-closure .template-live-canvas.mode-excel .template-live-table-wrap{overflow:visible!important}
.r61627-template-closure .template-live-canvas.mode-excel .template-live-table{table-layout:fixed!important}
.r61627-template-closure .template-live-canvas.mode-excel .template-live-table th{background:#e2f0d9!important;color:#173b26!important;border-color:#9aaa9e!important}
.r61627-template-closure .template-live-canvas.mode-excel .template-live-table td{background:#fff!important;border-color:#aab5ad!important}
.r61627-template-closure .template-live-canvas.mode-excel .template-live-table tbody tr:nth-child(even) td{background:#f7fbf8!important}
.r61627-template-closure .template-live-canvas.mode-print{padding:28px!important;background:#cfd4dc!important}
.r61627-template-closure .template-live-canvas.mode-print .template-paper-stage:before{content:'打印页边界';position:absolute;right:0;top:-18px;color:#5d6572;font-size:8px;font-weight:700}
.r61627-template-closure .template-live-canvas.mode-print .template-live-sheet{outline:1px solid #b1b7c0;outline-offset:0;box-shadow:0 9px 30px rgba(15,23,42,.23)!important}
.r61627-template-closure .template-live-canvas.mode-print .template-live-sheet:after{content:'';position:absolute;inset:12px;border:1px dashed rgba(90,99,112,.25);pointer-events:none}
.r61627-template-closure .template-preview-health{position:relative;z-index:2}
.r61627-template-closure .template-live-table th,.r61627-template-closure .template-live-table td{overflow:hidden;text-overflow:ellipsis}
.r61627-template-closure .template-live-table td.field-notes,.r61627-template-closure .template-live-table td.field-process_requirement,.r61627-template-closure .template-live-table td.field-quality_requirement,.r61627-template-closure .template-live-table td.field-packing{white-space:normal!important;overflow-wrap:anywhere;text-overflow:clip}
.r61627-template-closure .template-live-table img{max-width:100%;max-height:42px;object-fit:contain}
.r61627-template-closure .template-preview-stats>div{min-width:66px}
@media(max-width:1360px){.r61627-template-closure .template-preview-toolbar{display:grid;grid-template-columns:1fr}.r61627-template-closure .template-preview-controls{justify-content:flex-start}.r61694-mode-hint{max-width:none}}
