
.rp-root{margin:20px 0 24px;color:#353d35}
.rp-navigation{background:#fbfaf7;border:1px solid #ddded8;border-radius:8px;overflow:hidden;margin-bottom:22px}
.rp-section-label{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:15px 19px 12px;font-size:10px;letter-spacing:1.3px;font-weight:700;color:#6f8371}
.rp-section-label span{font-size:9px;color:#aaa99f}
.rp-tab-row{display:flex;align-items:stretch;gap:0;overflow-x:auto;scrollbar-width:thin;border-top:1px solid #e9e8e1}
.rp-tab{display:flex;align-items:center;gap:9px;flex:0 0 auto;padding:16px 18px;border:0;border-bottom:2px solid transparent;border-right:1px solid #eceae4;background:transparent;color:#787c75;font-size:12px;cursor:pointer;white-space:nowrap}
.rp-tab:hover{background:#f0f1ec;color:#353e36}.rp-tab.active{color:#2f4233;background:#f0f2ed;border-bottom-color:#4b6552;font-weight:700}
.rp-tab-count{font-size:10px;letter-spacing:1px;color:#9d9f97}.rp-tab-items{font-size:10px;display:inline-flex;align-items:center;justify-content:center;background:#e6e9e1;color:#6a7e6a;border-radius:20px;min-width:22px;height:20px;padding:0 5px}
.rp-tab-draft{font-size:8px;padding:3px 5px;background:#f0e7dd;color:#856b4b;border-radius:3px}
.rp-new-tab{flex:0 0 auto;padding:15px 19px;color:#657968;background:transparent;border:0;border-left:1px solid #e9e8e1;font-size:11px;cursor:pointer}.rp-new-tab:hover{background:#f0f2ed}
.rp-overview-note{display:flex;align-items:center;gap:16px;padding:17px 20px;background:#f7f8f4;border:1px solid #e5e8e1;border-radius:6px;margin:5px 0 25px}
.rp-overview-icon{color:#859e88;font-size:25px}.rp-overview-note p{font-size:12px;line-height:1.65;color:#70786f;margin:0;flex:1}
.rp-overview-note button{border:0;border-bottom:1px solid #a3afa1;color:#59705c;padding:8px 0;background:transparent;cursor:pointer;white-space:nowrap;font-size:11px}.rp-overview-note button span{margin-left:10px}
.rp-presentation{margin:6px 0 32px}
.rp-content-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin:27px 0 24px}
.rp-small-label{font-size:10px;color:#78907b;font-weight:700;letter-spacing:1.4px;text-transform:uppercase}
.rp-content-head h2{font:400 clamp(30px,3vw,43px)/1.2 Georgia,serif;margin:11px 0;color:#35463a}
.rp-content-head p{font-size:13px;line-height:1.65;color:#82877e;margin:0;max-width:550px}
.rp-head-meta{display:flex;gap:12px;align-items:center;margin-top:14px}.rp-head-meta>span:first-child{font-size:10px;letter-spacing:.8px;color:#989e94}
.rp-state{font-size:9px;padding:6px 9px;border-radius:3px;white-space:nowrap;letter-spacing:.3px}
.rp-published{color:#507052;background:#e9f0e5}.rp-draft{color:#8b7556;background:#f2e9dd}
.rp-editor-actions{display:flex;gap:9px;align-items:center;justify-content:flex-end;flex-wrap:wrap;max-width:440px}
.rp-editor-actions>button:not(.btn),.rp-item-admin>button{border:0;border-bottom:1px solid #bcc4b9;background:transparent;padding:8px 1px;font-size:10px;color:#626d63;cursor:pointer;white-space:nowrap}
.rp-editor-actions>button.rp-danger,.rp-item-admin>button.rp-danger{color:#a35b51;border-bottom-color:#d3bcb5}
.rp-viewer{border:1px solid #dddcd5;border-radius:9px;background:#fbfaf7;overflow:hidden}
.rp-media{position:relative;min-height:245px;background:#e6e7df;display:flex;align-items:center;justify-content:center}
.rp-media .rp-cover{max-width:100%;width:100%;height:auto;max-height:780px;object-fit:contain;display:block}
.rp-media .rp-file-empty{min-height:290px}
.rp-file-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;color:#8f9d8e;font-size:45px;width:100%;background:#e9ebe6}
.rp-file-empty span{font-size:11px;color:#8b9388;letter-spacing:.3px}
.rp-counter{position:absolute;right:17px;bottom:15px;padding:8px 13px;background:#fefefcf2;color:#596c59;font-size:10px;border:1px solid #e2e2dc;border-radius:3px;letter-spacing:1px}
.rp-pdf-wrap{width:100%;padding:16px;text-align:right;background:#eceee9}
.rp-pdf-wrap iframe{width:100%;height:min(64vw,660px);min-height:360px;border:0;background:#fff;display:block}
.rp-pdf-wrap>a{font-size:11px;display:inline-block;padding:10px 0 0;color:#617a64}
.rp-viewer-caption{padding:27px 30px;display:flex;justify-content:space-between;gap:20px}
.rp-viewer-caption>div:first-child{flex:1;min-width:0}
.rp-viewer-caption h3{font:400 28px/1.2 Georgia,serif;margin:9px 0 13px;color:#384638}
.rp-viewer-caption p{font-size:13px;white-space:pre-line;line-height:1.8;color:#656d62;margin:0 0 12px}
.rp-external{font-size:11px;color:#4c6c52;border-bottom:1px solid #acbca9;padding:5px 0;display:inline-block;text-decoration:none}
.rp-item-admin{display:flex;align-items:flex-start;justify-content:flex-end;gap:9px;flex-wrap:wrap;max-width:350px}
.rp-stepper{border-top:1px solid #e5e3dc;background:#f6f7f3;padding:13px 22px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.rp-stepper button{font-size:12px;border:1px solid #d3d9cd;border-radius:4px;background:#fff;color:#526653;padding:10px 15px;cursor:pointer}
.rp-stepper button:disabled{cursor:default;opacity:.3}.rp-stepper span{font-size:10px;color:#91968c;letter-spacing:1px}
.rp-gallery-head{display:flex;justify-content:space-between;align-items:center;margin:30px 0 15px}
.rp-gallery-head h3{font:400 24px Georgia,serif;color:#394b3b;margin:0}.rp-gallery-head span{font-size:9px;letter-spacing:1px;color:#989c92}
.rp-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:13px}
.rp-gallery-card{position:relative;min-width:0;overflow:hidden;text-align:left;padding:0 0 12px;border:1px solid #deded7;border-radius:6px;background:#fff;cursor:pointer;transition:border-color .12s}
.rp-gallery-card.active{border-color:#6f8a72;box-shadow:0 0 0 1px #6f8a72}
.rp-gallery-card:hover{border-color:#8da38c}
.rp-gallery-preview{height:130px;overflow:hidden;background:#e4e6e0}
.rp-gallery-preview img{width:100%;height:100%;object-fit:cover}.rp-gallery-preview .rp-file-empty{height:100%}
.rp-gallery-preview .rp-file-empty span{display:none}
.rp-pdf-preview{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;background:#e9ece6}
.rp-pdf-preview span{font-size:30px;font-family:Georgia,serif;color:#6e7f70}.rp-pdf-preview strong{font-size:10px;font-weight:400;color:#839187;padding:0 12px;text-align:center;line-height:1.4;max-height:28px;overflow:hidden}
.rp-gallery-meta{display:block;padding:12px 12px 0;font-size:11px;color:#485c4b;line-height:1.4;overflow-wrap:anywhere}
.rp-mini-draft{position:absolute;top:9px;right:9px;background:#fff9e6;color:#8f7752;font-size:9px;padding:5px 6px}
.rp-bottom-navigation{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #e2e5db;margin-top:35px;padding-top:22px}
.rp-bottom-navigation button{border:0;background:transparent;color:#617963;font-size:12px;padding:8px 0;cursor:pointer}
.rp-empty{background:#f9f9f6;border:1px solid #e2e4dd;padding:60px 24px;text-align:center;border-radius:8px}
.rp-empty>span{font-size:39px;color:#94ae98}.rp-empty h3{font:400 26px Georgia,serif;margin:12px 0}.rp-empty p{max-width:450px;margin:11px auto 18px;font-size:12px;line-height:1.7;color:#899188}
.rp-loading,.rp-error{padding:30px;background:#f9faf7;border:1px solid #e4e7df;color:#667667;font-size:12px;line-height:1.7}
.rp-dialog-host{position:fixed;inset:0;z-index:11000;display:flex;align-items:center;justify-content:center;padding:20px}
.rp-dialog-backdrop{position:absolute;inset:0;background:#152219aa}
.rp-dialog{position:relative;z-index:1;background:#fdfcf9;border-radius:10px;border:1px solid #d7dcd3;width:min(620px,100%);max-height:calc(100vh - 40px);overflow-y:auto;box-shadow:0 18px 65px #0a150b66}
.rp-dialog-head{display:flex;justify-content:space-between;gap:15px;padding:25px 27px;border-bottom:1px solid #eceae3}
.rp-dialog-head h2{font:400 27px Georgia,serif;margin:10px 0 7px;color:#344736}
.rp-dialog-head p{font-size:12px;color:#848f83;line-height:1.7;margin:0}
.rp-dialog-x{width:32px;height:32px;border:1px solid #e0e3da;border-radius:50%;background:transparent;cursor:pointer;flex-shrink:0}
.rp-dialog form{padding:24px 27px}
.rp-field{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.rp-field>span{font-size:10px;letter-spacing:.9px;font-weight:700;color:#737f71}
.rp-field .input{width:100%;min-height:40px;padding:10px;border:1px solid #dbdfd6;border-radius:4px;color:#2c382d;background:#fff}
.rp-field textarea{resize:vertical;line-height:1.7}.rp-field small{font-size:11px;color:#8a9187;line-height:1.5}
.rp-row-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.rp-check{display:flex;align-items:center;gap:10px;font-size:12px;color:#647266;margin:8px 0 17px}
.rp-dialog-error{font-size:12px;color:#9e3530;min-height:15px;margin:9px 0}
.rp-dialog-foot{padding-top:17px;border-top:1px solid #e9ece4;display:flex;justify-content:flex-end;gap:10px}
.rp-delete-warning{font-size:13px;color:#99635a;background:#f9eeee;padding:13px 16px;border-left:2px solid #bc7568;line-height:1.5}
@media(max-width:850px){.rp-content-head,.rp-viewer-caption{flex-direction:column}.rp-editor-actions{justify-content:flex-start;max-width:none}.rp-item-admin{max-width:none;justify-content:flex-start}}
@media(max-width:620px){.rp-tab{padding:12px 12px;font-size:11px}.rp-overview-note{flex-direction:column;align-items:flex-start}.rp-content-head h2{font-size:32px}.rp-media{min-height:180px}.rp-media .rp-file-empty{min-height:180px}.rp-viewer-caption{padding:20px}.rp-pdf-wrap iframe{min-height:290px;height:340px}.rp-stepper{padding:10px}.rp-stepper button{padding:9px}.rp-stepper span{font-size:9px}.rp-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.rp-row-fields{grid-template-columns:1fr}.rp-dialog-head,.rp-dialog form{padding:19px}}
