/* ============================================================
   V11 — WYSIWYG editors, rich text, welcome message.
   Green-on-black, same as the rest of the site.
   ============================================================ */
/* Rich text as visitors see it — on the homepage, news, links
 * and scripts pages. Pictures can never break the layout. */
.mm-rich img{max-width:100%;height:auto;display:block;margin:12px auto}
.mm-rich h2{color:#00FF66;text-shadow:0 0 6px #00FF66;margin:16px 0 8px}
.mm-rich h3{color:#00FF66;margin:14px 0 6px}
.mm-rich ul,.mm-rich ol{margin:8px 0 8px 22px}
.mm-rich blockquote{border-left:3px solid #00FF66;margin:12px 0;padding:4px 14px;opacity:.9}
.mm-rich code{background:#001a08;border:1px solid #00FF66;padding:1px 5px;font-size:.92em}
.mm-rich pre{background:#001a08;border:1px solid #00FF66;padding:12px;overflow-x:auto;white-space:pre}
.mm-rich p{margin:0 0 1em}
.mm-rich p:last-child{margin-bottom:0}
.welcome-box .mm-rich p{margin:0 0 1em}
.welcome-box .mm-rich p:last-child{margin-bottom:0}
/* The WYSIWYG editor in the admin. Without JavaScript the
 * toolbar and the editable box stay hidden and the plain
 * textarea is what Glyn sees; with JavaScript the textarea
 * hides and the editor takes over. */
.mm-editor{margin:8px 0}
.mm-ed-toolbar{display:none;flex-wrap:wrap;gap:6px;margin-bottom:6px}
.mm-editor.mm-ed-js .mm-ed-toolbar{display:flex}
.mm-ed-toolbar button{font-family:monospace;background:#000;color:#00FF66;border:1px solid #00FF66;padding:6px 10px;cursor:pointer;font-size:.95em}
.mm-ed-toolbar button:hover{background:#00FF66;color:#000}
.mm-ed-sep{width:1px;background:#00FF66;opacity:.5;margin:2px 4px}
.mm-ed-area{display:none;min-height:140px;background:#000;color:#00FF66;border:1px solid #00FF66;font-family:monospace;font-size:1em;padding:10px;line-height:1.6;overflow-y:auto}
.mm-editor.mm-ed-js .mm-ed-area{display:block}
.mm-ed-area:focus{outline:2px dashed #00FF66;outline-offset:2px}
.mm-ed-area:empty:before{content:attr(data-placeholder);opacity:.5}
.mm-ed-area img{max-width:100%;height:auto}
.mm-ed-area h2,.mm-ed-area h3{margin:8px 0}
.mm-ed-field{width:100%;box-sizing:border-box;min-height:140px}
.mm-editor.mm-ed-js .mm-ed-field{display:none}
.mm-ed-image{border:1px dashed #00FF66;padding:10px;margin:6px 0;background:#001a08}
.mm-ed-image label{display:block;margin:8px 0 4px}
.mm-ed-image input[type="text"],.mm-ed-image select{width:100%;box-sizing:border-box;background:#000;color:#00FF66;border:1px solid #00FF66;font-family:monospace;font-size:1em;padding:8px;margin:4px 0}
.mm-ed-image button{font-family:monospace;background:#000;color:#00FF66;border:1px solid #00FF66;padding:8px 14px;margin:4px 6px 4px 0;cursor:pointer}
.mm-ed-image button:hover{background:#00FF66;color:#000}
.mm-ed-img-note{margin:8px 0 0;font-size:.9em}
