.silver-editor{display:grid;grid-template-columns:minmax(300px,1fr) minmax(260px,.85fr);gap:18px;align-items:start}.silver-editor .form-grid{gap:10px 14px}.silver-editor .field{margin:0}.silver-editor label{font-size:13px}.silver-editor textarea{min-height:58px;resize:vertical}.silver-editor .silver-preview{position:sticky;top:0;border:1px solid #dce3ed;border-radius:8px;padding:12px;background:#f7f9fc}.silver-editor iframe{width:100%;height:340px;border:0;background:white}.silver-template-toolbar{display:flex;align-items:end;gap:10px;margin-bottom:14px;flex-wrap:wrap}.silver-template-toolbar label{flex:1;min-width:220px}.silver-template-table{width:100%;table-layout:auto!important}.silver-template-table th,.silver-template-table td{padding:9px 10px!important;white-space:normal!important;min-width:0!important}.silver-template-table .btn{margin:2px}.silver-import-status{position:fixed;bottom:18px;right:18px;z-index:1100;max-width:440px;min-width:250px;background:#fff;border:1px solid #c8d8ef;box-shadow:0 5px 22px #24375a29;border-radius:10px;padding:14px;font-size:13px}.silver-import-status progress{display:block;width:100%;margin-top:10px}.silver-import-status p{margin:6px 0}.silver-import-status button{margin-top:8px}.silver-preview-note{font-size:12px;line-height:1.6;white-space:pre-line}.silver-report{max-height:380px;overflow:auto}.silver-report table{min-width:700px;table-layout:auto!important}.silver-report td{white-space:normal!important;overflow-wrap:anywhere}.silver-choice{display:flex;gap:14px;flex-wrap:wrap}.silver-choice>button{padding:20px!important;flex:1;min-width:220px;text-align:left}.silver-choice strong,.silver-choice small{display:block;margin:5px 0}.image-link-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:8px 0 12px}.image-link-actions>div{margin:0!important}@media(max-width:1000px){.silver-editor{grid-template-columns:1fr}.silver-editor .silver-preview{position:static}.silver-editor iframe{height:300px}}
@font-face{font-family:DanfengLabelR23;src:url('silver-label.woff?v=r23') format('woff');font-weight:400;font-style:normal;font-display:block}
.silver-svg-preview svg{display:block;width:100%;height:auto;background:white;margin:10px 0;border:1px solid #e0e6ee}
#modal #modalBody .silver-template-table{table-layout:fixed!important;min-width:780px!important;width:100%!important}
#modal #modalBody .silver-template-table th,#modal #modalBody .silver-template-table td{width:auto!important;min-width:0!important;padding:7px 10px!important;height:auto!important;line-height:20px!important}
#modal #modalBody .silver-template-table td:last-child{white-space:nowrap!important}
#modal #modalBody .silver-template-table .btn{min-width:0!important;padding:3px 6px!important;min-height:28px!important;font-size:12px!important}
#modal #modalBody .silver-svg-preview svg{width:100%!important;max-width:none!important;height:auto!important;max-height:none!important}

.silver-data-state{padding:8px 12px;background:#f3f7fb;border-radius:6px}.silver-editor h3{font-size:14px;margin:6px 0 10px}.silver-editor details{margin:10px 0;padding:10px;border:1px solid #e1e7ef;border-radius:6px}.silver-editor summary{cursor:pointer}.silver-editor #silverSaveResult{display:block;margin:6px 0}.silver-template-toolbar .field{min-width:0}.silver-editor .silver-preview{min-width:0}#modal .silver-editor{grid-template-columns:minmax(230px,.8fr) minmax(320px,1.2fr)}@media(max-width:800px){#modal .silver-editor{grid-template-columns:1fr}}

/* Silver template/printing workflows use the shared overlay, never the detail pane. */
html body #modal.silver-workflow-dialog {--r4-modal-width:1100px;text-align:left}
html body #modal.silver-workflow-dialog :is(h2,p,label,summary,th,td,input,select,textarea,.compact-search-options button,.smart-picker-options button){text-align:left!important}
html body #modal.silver-workflow-dialog :is(.compact-search-options button,.smart-picker-options button){justify-content:flex-start!important}
html body #modal#modal#modal#modal#modal#modal#modal.silver-workflow-dialog :is(h2,p,label,summary,th,td,input,select,textarea,.compact-search-options button,.smart-picker-options button){text-align:left!important}
html body #modal#modal#modal#modal#modal#modal#modal.silver-workflow-dialog .silver-template-table{width:100%!important;min-width:0!important;table-layout:fixed!important}
html body #modal#modal#modal#modal#modal#modal#modal.silver-workflow-dialog .silver-template-table :is(th,td){white-space:normal!important;overflow-wrap:anywhere}
html body #modal#modal#modal#modal#modal#modal#modal.silver-workflow-dialog .silver-template-table :is(th,td):nth-child(1){width:28%!important}
html body #modal#modal#modal#modal#modal#modal#modal.silver-workflow-dialog .silver-template-table :is(th,td):nth-child(2){width:9%!important}
html body #modal#modal#modal#modal#modal#modal#modal.silver-workflow-dialog .silver-template-table :is(th,td):nth-child(3){width:13%!important}
html body #modal#modal#modal#modal#modal#modal#modal.silver-workflow-dialog .silver-template-table :is(th,td):nth-child(4){width:8%!important}
html body #modal#modal#modal#modal#modal#modal#modal.silver-workflow-dialog .silver-template-table :is(th,td):nth-child(5){width:42%!important;position:static!important}
