.rpow-admin{max-width:1720px;margin:auto;min-width:0;padding-bottom:80px}
.rpow-head{display:flex;gap:18px;align-items:center;justify-content:space-between;margin:8px 0 26px;flex-wrap:wrap}.rpow-head h1{font-size:clamp(26px,2.6vw,38px);margin:8px 0 4px}.rpow-head p{color:var(--text-muted,#aaa);margin:0}.rpow-kicker{color:#ac7de9;font-size:11px;font-weight:800;letter-spacing:.14em}.rpow-head-actions{display:flex;gap:10px}
.rpow-grid{display:grid;grid-template-columns:minmax(210px,285px) minmax(0,1fr);gap:17px;align-items:start}.rpow-list,.rpow-editor{border:1px solid rgba(149,116,199,.23);border-radius:19px;background:rgba(21,20,31,.74);box-shadow:0 12px 36px #0003;min-width:0}.rpow-list{padding:16px;position:sticky;top:12px}.rpow-listhead{display:flex;justify-content:space-between;margin-bottom:15px}.rpow-listhead span{color:#bc9cd9}.rpow-list input{width:100%;padding:11px;background:#101019;color:#eee;border:1px solid #3e304e;border-radius:11px;margin-bottom:12px}.rpow-item{display:block;text-align:left;width:100%;padding:12px;background:transparent;color:#eee;border:1px solid transparent;border-radius:12px;margin-bottom:5px;cursor:pointer}.rpow-item.sel,.rpow-item:hover{background:#6602a320;border-color:#6602a354}.rpow-item b,.rpow-item small{display:block}.rpow-item small{color:#a5a0b3;margin-top:5px;font-size:11px}.rpow-muted{color:#9b95a9;font-size:13px}.rpow-editor{padding:clamp(16px,2vw,26px)}.rpow-editorhead{display:flex;justify-content:space-between;gap:18px;align-items:center;flex-wrap:wrap;padding-bottom:20px;border-bottom:1px solid #ffffff17}.rpow-editorhead>div:first-child{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.rpow-editorhead span{background:#342b3e;color:#ccb8df;padding:5px 9px;border-radius:30px;font-size:11px}.rpow-editorhead .rpow-live{color:#9bdbb6;background:#17392a}.rpow-actions{display:flex;gap:7px;flex-wrap:wrap}.rpow-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:20px 0}.rpow-fields label{display:flex;flex-direction:column;gap:7px;color:#bbb6c7;font-size:12px}.rpow-fields label.wide{grid-column:1/-1}.rpow-fields input,.rpow-fields select{padding:11px 12px;border:1px solid #40384d;background:#10101a;border-radius:10px;color:#f3eef8;outline:none;width:100%;font-size:14px}.rpow-fields input:focus,.rpow-fields select:focus{border-color:#a05bef}.rpow-tabs{display:flex;gap:8px;margin-bottom:12px}.rpow-tabs button{background:transparent;border:1px solid #4a3c59;border-radius:9px;color:#bbb;padding:8px 18px;cursor:pointer}.rpow-tabs button.active{background:#6602a3;border-color:#6602a3;color:white}.rpow-editor textarea,.rpow-preview{width:100%;min-height:380px;resize:vertical;background:#0d0d15;border:1px solid #40384d;border-radius:13px;color:#edeaf4;padding:20px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;line-height:1.65;font-size:14px;box-sizing:border-box}.rpow-preview{font-family:inherit;overflow:auto}.rpow-history{margin-top:24px;border-top:1px solid #ffffff18;padding-top:16px}.rpow-history summary{cursor:pointer;font-weight:700}.rpow-revision{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:9px 0;border-bottom:1px solid #ffffff10;color:#bbb;font-size:12px}
.wiki-prose{color:#e9e6f1;line-height:1.8}.wiki-prose h1,.wiki-prose h2,.wiki-prose h3{line-height:1.3;margin:1.1em 0 .5em;scroll-margin-top:95px}.wiki-prose h1{font-size:2em}.wiki-prose h2{font-size:1.55em}.wiki-prose h3{font-size:1.24em}.wiki-prose p{margin:.75em 0}.wiki-prose code{background:#2c2336;color:#e0b3ff;padding:2px 6px;border-radius:5px}.wiki-prose pre{overflow:auto;background:#13121c;border:1px solid #ffffff1c;border-radius:12px;padding:17px}.wiki-prose pre code{padding:0;background:transparent}.wiki-prose a{color:#c38bf9;text-underline-offset:4px}.wiki-prose img{max-width:100%;border-radius:13px}.wiki-prose blockquote{padding:12px 17px;margin:15px 0;border-left:3px solid #a45df2;background:#6602a310}.wiki-prose table{width:100%;border-collapse:collapse;display:block;overflow-x:auto}.wiki-prose th,.wiki-prose td{border:1px solid #ffffff23;padding:9px 12px;text-align:left}.wiki-prose hr{border:0;border-top:1px solid #ffffff25;margin:25px 0}
@media(max-width:950px){.rpow-grid{grid-template-columns:1fr}.rpow-list{position:static}.rpow-fields{grid-template-columns:1fr}.rpow-head{align-items:flex-start}}
/* GitBook import (isolated from the rest of RPO Control). */
.rpow-importer{position:fixed;inset:0;z-index:3100;background:rgba(5,4,11,.78);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box}
.rpow-importer[hidden]{display:none!important}
.rpow-import-card{width:min(800px,100%);max-height:min(86vh,850px);overflow-y:auto;background:#181321;border:1px solid rgba(176,120,231,.38);box-shadow:0 24px 90px #000b;border-radius:20px;padding:clamp(18px,3vw,30px);color:#ede5f7;box-sizing:border-box}
.rpow-import-title{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}.rpow-import-title h2{font-size:clamp(22px,2.5vw,30px);margin:9px 0 4px}
.rpow-import-card>p{color:#bfb6c8;font-size:13px;line-height:1.7}
.rpow-upload{display:grid;gap:10px;background:#100d18;border:1px dashed #8052a6;border-radius:13px;padding:18px;margin:17px 0;font-size:14px;font-weight:700}.rpow-upload input{max-width:100%;font-size:13px;color:#d4c7e1}
.rpow-import-report{font-size:13px;color:#c9c1d2;line-height:1.6;overflow-wrap:anywhere}.rpow-import-stats{display:flex;gap:10px;flex-wrap:wrap}.rpow-import-stats>span{display:flex;flex-direction:column;background:#281d34;border-radius:12px;padding:12px 17px;min-width:115px}.rpow-import-stats b{color:#cb8eff;font-size:24px}
.rpow-import-report details{border-top:1px solid #ffffff1c;margin-top:12px;padding:12px 0}.rpow-import-report summary{cursor:pointer;color:#e2c6f8;font-weight:700}.rpow-import-report ul{margin:12px 0;padding-left:20px;max-height:200px;overflow:auto}.rpow-import-report li{margin:5px 0}.rpow-import-report li small{color:#ac9eba}
.rpow-import-actions{display:flex;justify-content:flex-end;margin-top:18px}.rpow-import-actions button:disabled{opacity:.45;cursor:not-allowed}
