.news-admin-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0}.news-admin-toolbar h2{margin-right:auto}.news-admin button,.news-editor button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;border:1px solid var(--border);border-radius:4px;cursor:pointer;background:var(--card)}.news-admin button.primary,.news-editor button.primary{background:var(--primary);color:var(--primary-foreground)}.news-admin input,.news-admin select,.news-editor input:not([type=checkbox]),.news-editor select,.news-editor textarea{width:100%;padding:11px;background:var(--background);color:var(--foreground);border:1px solid var(--border);border-radius:4px}.news-admin-toolbar input{max-width:340px}.news-admin-toolbar select{max-width:220px}.news-admin a{display:inline-flex;gap:7px;align-items:center}.news-admin-row{display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--border);padding:20px 0}.news-admin-row>div{flex:1;min-width:0}.news-admin-row small{display:block;color:var(--muted-foreground);margin-top:7px}.news-admin-row p{white-space:pre-wrap;overflow-wrap:anywhere}.news-editor label{display:grid;gap:6px;margin-bottom:12px}.news-editor .form-checks label{display:flex;align-items:center}.news-editor .editor-actions{position:sticky;bottom:0;background:var(--background);padding:16px 0}.news-admin [role=alert],.news-editor [role=alert]{color:#e78878}.news-editor textarea{resize:vertical}.news-editor-fields{border:0;padding:0;margin:0;min-width:0}.article-image-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:10px}.article-image-controls span{color:var(--muted-foreground);font-size:13px}.article-image-preview{display:block;max-width:100%;max-height:260px;width:auto;height:auto;margin-top:12px;border-radius:6px}.news-editor input[hidden]{display:none}.article-images-editor{margin:16px 0;min-width:0}.article-images-editor>p{color:var(--muted-foreground);line-height:1.6;margin:10px 0 16px}.article-images-editor fieldset{border:0;padding:0;min-width:0}.article-image-editor{padding:16px;margin-bottom:16px;border:1px solid var(--border);border-radius:6px}.article-image-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:14px}.article-image-thumbnail{display:block;max-width:100%;max-height:240px;height:auto;margin:12px auto 0}.article-editor-preview{margin-top:20px;padding:16px;border:1px solid var(--border);border-radius:6px}.article-editor-preview summary{cursor:pointer;font-weight:600}.article-editor-preview .article-content{margin-top:20px}.news-admin button:disabled,.news-editor button:disabled{opacity:.5;cursor:wait}@media (max-width:600px){.news-admin-row{flex-wrap:wrap}.news-admin-row>div{flex-basis:100%}.news-admin-toolbar input,.news-admin-toolbar select{max-width:none}.news-editor .form-grid{grid-template-columns:1fr}}