/* Operate surface: retain Ashfall's brown/gold account form vocabulary. */
.ashfall-news-form { padding: 20px 0; }
.ashfall-news-form > label { display: block; margin: 22px 0 8px; color: #f0d3a6; font-weight: 600; }
.ashfall-news-form > label:first-of-type { margin-top: 0; }
.ashfall-news-rich { background: #19130f; color: #f0dfcb; }
.ashfall-news-rich [hidden], .ashfall-news-form [hidden] { display: none !important; }
.ashfall-theme .ashfall-news-toolbar.ql-snow { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 8px; border: 1px solid #80613e; background: #30231a; }
.ashfall-theme .ashfall-news-toolbar .ql-formats { display: inline-flex; margin: 0; gap: 2px; }
.ashfall-theme .ashfall-news-toolbar button { width: 36px; height: 36px; padding: 7px; border-radius: 3px; }
.ashfall-theme .ashfall-news-toolbar button:hover, .ashfall-theme .ashfall-news-toolbar button.ql-active { background: #624328; }
.ashfall-theme .ashfall-news-toolbar .ql-stroke { stroke: #f0d3a6; }
.ashfall-theme .ashfall-news-toolbar .ql-fill { fill: #f0d3a6; }
.ashfall-theme .ashfall-news-rich .ql-container { border-color: #80613e; color: #f0dfcb; font: 16px/1.65 Arial, sans-serif; }
.ashfall-theme .ashfall-news-rich .ql-editor { min-height: 300px; padding: 18px; overflow-wrap: anywhere; }
.ashfall-theme .ashfall-news-rich .ql-editor p { max-width: none; margin: 0; }
.ashfall-theme .ashfall-news-rich .ql-editor h2 { padding: 0; margin: 16px 0 10px; font: bold 24px/1.3 Arial, sans-serif; }
.ashfall-theme .ashfall-news-rich .ql-editor a, .ashfall-theme .ashfall-news-content a { color: #f3bc75; text-decoration: underline; text-underline-offset: 3px; }
.ashfall-theme .ashfall-news-rich .ql-editor.ql-blank::before { color: #b9a58d; font-style: normal; }
.ashfall-theme .ashfall-news-rich .ql-editor blockquote { border-left: 1px solid #bd945e; }
.ashfall-theme .ashfall-news-rich .ql-tooltip { display: none; }
.ashfall-news-form :is(button,input,textarea):focus-visible, .ashfall-news-form .ql-editor:focus-visible { outline: 2px solid #e5b875; outline-offset: 3px; }
.ashfall-news-form ::selection { background: #80502f; color: #fff5e8; }
.ashfall-news-form input, .ashfall-news-form textarea, .ashfall-news-form .ql-editor { caret-color: #f0d3a6; }
.ashfall-news-insert { padding: 18px; border: 1px solid #80613e; border-top: 0; background: #241b15; }
.ashfall-news-insert label { display: block; margin: 12px 0 6px; }
.ashfall-news-insert label:first-child { margin-top: 0; }
.ashfall-news-url-row { display: flex; align-items: stretch; gap: 10px; }
.ashfall-news-url-row input { flex: 1; min-width: 0; }
.ashfall-news-help { color: #c9b69d; font-size: 14px; line-height: 1.5; margin: 12px 0; }
.ashfall-news-status { min-height: 24px; margin: 10px 0; color: #b8d89b; }
.ashfall-news-status.is-error { color: #ffc6b5; }
.ashfall-news-form button:disabled { opacity: .6; cursor: wait; }
.ashfall-news-content { overflow-wrap: anywhere; }
.ashfall-news-content img, .ashfall-news-rich img, .ashfall-theme .article .blog-post .text img { display: inline-block; max-width: 100%; height: auto; }
@media (max-width: 600px) {
  .ashfall-news-url-row { flex-direction: column; }
  .ashfall-news-form { padding-top: 12px; }
  .ashfall-theme .ashfall-news-rich .ql-editor { min-height: 260px; padding: 12px; }
}
