.report-builder-shell{display:grid;grid-template-columns:250px minmax(0,1fr) 300px;gap:16px;align-items:start}.report-template-list,.report-catalog-panel{position:sticky;top:12px;max-height:calc(100vh - 120px);overflow:auto}.report-template-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.report-template-actions button{font-size:.75rem;padding:7px 9px}.report-builder-workspace{min-width:0;display:grid;gap:14px}.report-template-row,.report-field-row{width:100%;display:block;text-align:left;border:1px solid #dce5e0;background:#fff;border-radius:10px;padding:10px;margin:0 0 8px;color:#17231e}.report-template-row:hover,.report-field-row:hover{border-color:#57927a;background:#f5faf7}.report-template-row.selected{background:#e5f1eb;border-color:#176b4d;box-shadow:0 0 0 2px rgba(23,107,77,.12)}.report-template-row b,.report-template-row small,.report-field-row b,.report-field-row code{display:block}.report-template-row span{display:flex;gap:5px;margin-top:7px}.report-template-row i{font-style:normal;font-size:.68rem;padding:2px 6px;border-radius:10px;background:#edf2ef}.report-field-row{position:relative}.report-field-row span{display:block;padding-right:55px}.report-field-row code{font-size:.72rem;color:#176b4d;overflow-wrap:anywhere;margin-top:3px}.report-field-row>small{position:absolute;right:9px;top:9px;font-size:.66rem;color:#66746d}.report-field-row p{font-size:.75rem;margin:7px 0;color:#526159}.report-field-row em{font-size:.7rem;color:#7b877f}.report-builder-meta{padding-bottom:0}.report-template-footer{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;margin:18px -20px 0;padding:14px 20px;border-top:1px solid #dce5e0;background:#f7faf8;border-radius:0 0 12px 12px}.report-template-footer button{font-size:.8rem}.report-command-bar{display:block;padding:14px}.report-command-heading{margin-bottom:10px}.report-command-heading h2{margin:0;font-size:1rem}.report-command-heading p{margin:3px 0 0;color:#66746d;font-size:.78rem}.report-command-buttons{display:flex;gap:6px;flex-wrap:wrap}.report-command-bar button{font-size:.78rem}.report-builder-editor-grid{display:grid;grid-template-columns:minmax(360px,1fr) minmax(360px,1fr);gap:14px;min-width:0}.report-code-panel,.report-preview-panel{min-width:0}.report-code-panel textarea{width:100%;min-height:660px;resize:vertical;border:1px solid #cbd8d1;border-radius:8px;padding:14px;font:13px/1.55 Consolas,"Courier New",monospace;tab-size:4;white-space:pre;overflow:auto;background:#fbfdfc;color:#11231c}.report-code-panel textarea:focus{outline:2px solid rgba(23,107,77,.3);border-color:#176b4d}.report-preview-canvas{background:#e8ece9;padding:24px;min-height:660px;overflow:auto}.rsis-report-preview{box-sizing:border-box;background:#fff;width:100%;max-width:816px;min-height:1056px;margin:auto;padding:58px 62px;color:#17231e;box-shadow:0 5px 18px rgba(20,38,30,.18);font:14px/1.5 Arial,sans-serif}.rsis-report-preview h1{color:#176b4d;font-size:25px;margin:18px 0 12px}.rsis-report-preview h2{font-size:19px;margin:18px 0 8px}.rsis-report-preview h3{font-size:16px}.rsis-report-header{border-bottom:2px solid #176b4d;padding-bottom:10px;margin-bottom:24px}.rsis-report-footer{border-top:1px solid #8da198;padding-top:8px;margin-top:24px;color:#5c6b64;font-size:11px}.rsis-table-wrap{overflow:auto;margin:14px 0}.rsis-report-preview table{width:100%;border-collapse:collapse;font-size:12px}.rsis-report-preview th{background:#176b4d;color:#fff;padding:7px;border:1px solid #416e5e}.rsis-report-preview td{padding:7px;border:1px solid #bdcbc4;vertical-align:top}.rsis-report-preview tbody tr:nth-child(even){background:#f4f7f5}.rsis-page-break{border-top:2px dashed #98aaa1;margin:22px -35px;position:relative}.rsis-page-break span{position:absolute;top:-10px;left:50%;transform:translateX(-50%);background:#fff;padding:0 8px;color:#69766f;font-size:10px}.rsis-list-item{display:grid;grid-template-columns:36px 1fr;gap:4px;margin:5px 0}.rsis-list-item>span{font-weight:700;color:#176b4d}.rsis-simple-bullet{display:flex;gap:8px;margin:4px 0}.report-builder-message{min-height:24px;padding:8px 12px;border-radius:7px;background:#edf2ef;color:#365144}.report-builder-message.success{background:#e0f2e8;color:#155b3f}.report-builder-message.warning{background:#fff4d7;color:#725000}.report-builder-message.error{background:#ffe8e8;color:#8a1f1f}.report-office-upload[hidden],.report-code-panel[hidden]{display:none}.report-office-preview{padding:25px;border:2px dashed #9ab0a5;border-radius:10px;background:#f7faf8;text-align:center}.report-office-preview b{font-size:1.2rem;color:#176b4d}.report-office-preview p{max-width:540px;margin:10px auto;color:#5a6861}@media(max-width:1450px){.report-builder-shell{grid-template-columns:220px minmax(0,1fr)}.report-catalog-panel{position:static;grid-column:1/-1;max-height:none}.report-catalog-panel #reportCatalogRows{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}}@media(max-width:1050px){.report-builder-shell,.report-builder-editor-grid{grid-template-columns:1fr}.report-template-list,.report-catalog-panel{position:static;max-height:none}.report-catalog-panel #reportCatalogRows{grid-template-columns:repeat(2,1fr)}.report-preview-canvas{padding:8px}.rsis-report-preview{padding:35px 28px}}@media(max-width:650px){.report-catalog-panel #reportCatalogRows{grid-template-columns:1fr}.report-template-footer{justify-content:flex-start}.rsis-report-preview{min-height:700px}.report-code-panel textarea{min-height:500px}}
.report-builder-editor-grid{grid-template-columns:minmax(0,1fr)}
.rsis-report-image-wrap{margin:0 0 12px}.rsis-report-image{display:inline-block;max-width:100%}.rsis-image-error{color:#8a1f1f;font-style:italic}
