/* R6.16.93 · template editor recovery, preview parity and catalog export safety */
.r61693-preview-mode-switch{display:flex;align-items:center;gap:2px;padding:2px;border:1px solid var(--fp-border);border-radius:9px;background:var(--fp-surface-2)}
.r61693-preview-mode-switch button{height:27px;padding:0 9px;border:0;border-radius:7px;background:transparent;color:var(--fp-muted);font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}
.r61693-preview-mode-switch button.is-active{background:var(--fp-surface);color:var(--fp-primary-strong);box-shadow:0 1px 5px rgba(15,23,42,.09)}
.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-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-sheet{padding:8px!important;box-shadow:none!important;border:1px solid #afbbb3!important}
.r61627-template-closure .template-live-canvas.mode-excel .template-live-table-wrap{overflow:auto!important}
.r61627-template-closure .template-live-canvas.mode-excel .template-live-table th{background:#e2f0d9!important;color:#173b26!important}
.r61627-template-closure .template-live-canvas.mode-excel .template-live-table td{background:#fff!important}
.r61627-template-closure .template-studio-nav button{position:relative;z-index:1}
.r61627-template-closure .template-studio-nav button:focus-visible{outline:2px solid var(--fp-primary);outline-offset:1px}
.r61630-total-editor .r61631-info-card .btn{margin-top:8px;width:max-content}
@media(max-width:1180px){.r61693-preview-mode-switch{order:-1;width:100%;overflow:auto}.template-preview-controls{flex-wrap:wrap!important}}
