.role-grid button{display:block;width:100%;padding:0;text-align:left;background:none;border:0;color:#f1eee5;font:inherit;font-weight:700}.role-grid button:after{content:' ↗';color:#dfbf83}.role-grid button:focus-visible{outline:2px solid #dfbf83;outline-offset:6px}.editor-panel{margin:2rem 0;padding:clamp(1.2rem,3vw,2rem);border:1px solid #c8df8555;border-radius:16px;background:#16253a;color:#eaf1fa}.editor-panel h2{font:400 2.2rem Georgia,serif;margin:.7rem 0}.editor-panel p{max-width:850px;color:#cbd5e5}.editor-actions{display:flex;gap:.65rem;flex-wrap:wrap;margin:1rem 0}.editor-button{display:inline-block;border:1px solid #8197b0;border-radius:8px;padding:.65rem .9rem;background:#233b55;color:#fff;font:inherit;font-size:.9rem;cursor:pointer}.editor-button[aria-pressed=true]{background:#c8df85;color:#17273a;border-color:#c8df85}.editor-button input[type=file]{display:block;max-width:220px;font-size:.72rem;margin-top:.4rem}.editor-status{font-size:.85rem;color:#dceabe!important}.editor-caption{font-size:.8rem;color:#aabbd1}.editor-field{display:block;padding:1rem}.editor-field textarea,.editor-add textarea{display:block;width:100%;margin:.6rem 0;padding:1rem;background:#fff;color:#1e2b40;border:1px solid #7a90ac;border-radius:8px;resize:vertical;line-height:1.7;min-height:160px;box-sizing:border-box}.editor-original{margin:1rem;border:1px solid #7389a444;border-radius:8px;padding:.6rem}.editor-original p{white-space:pre-wrap;font-size:.85rem;color:#b8c5d8}.editor-original summary{font-size:.8rem;cursor:pointer}.editor-hidden{opacity:.7;border-style:dashed!important}.editor-prompt-tools{display:flex;gap:1rem;flex-wrap:wrap;margin:1rem 0;align-items:center}.editor-prompt-tools input[type=search]{flex:1;min-width:150px;padding:.8rem;background:#17273f;color:#fff;border:1px solid #7389a4;border-radius:8px;font:inherit}.editor-prompt-tools p{width:100%;margin:0}.editor-prompt-tools label{font-size:.85rem}.editor-add{padding:1rem;border:1px solid #c8df8544;border-radius:8px;margin:1rem 0}.editor-add summary{cursor:pointer;color:#c8df85}.editor-add textarea{margin-top:1rem}.editor-target{outline:1px dashed #87ab4d;outline-offset:5px;cursor:text;min-width:30px;min-height:1em}.editor-target:focus{outline:2px solid #c68d3f;background:#c8df8515}.editor-floating{display:none;position:fixed;bottom:12px;left:50%;transform:translateX(-50%);z-index:1000;background:#14263af5;color:#fff;border:1px solid #c8df85;border-radius:12px;padding:.7rem;box-shadow:0 10px 40px #0006;gap:.6rem;align-items:center;max-width:calc(100% - 24px);width:max-content}.portal-editor-on .editor-floating{display:flex}.editor-floating span{font-size:.75rem}.editor-review-item{padding:1rem;margin:.6rem 0;background:#0d1b2c;border:1px solid #56718c;border-radius:8px;overflow-wrap:anywhere}.editor-review-item p{white-space:pre-wrap;font-size:.9rem}.editor-review-item small{color:#c8df85}.prompt-entry p{white-space:pre-wrap}.editor-panel[hidden],.editor-review[hidden]{display:none!important}@media(max-width:600px){.editor-actions{flex-direction:column}.editor-button{font-size:.8rem}.editor-floating{gap:.35rem;padding:.5rem}.editor-floating span{display:none}.editor-floating .editor-button{padding:.5rem .65rem}.editor-field{padding:.6rem}.editor-prompt-tools{flex-direction:column;align-items:stretch}}
