.identity-main:has(.blog-workspace) { max-width: 1500px; }
.blog-workspace { color: #eee; }
.blog-workspace-heading { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1.5rem; }
.blog-workspace h1 { font-size:2rem; font-weight:700; margin:.5rem 0; }
.blog-workspace h2 { font-size:1.1rem; font-weight:650; margin-bottom:1rem; }
.blog-eyebrow { text-transform:uppercase; letter-spacing:.12em; font-size:.75rem; color:#ff825f; }
.blog-workspace label:not([class*="rz-"]) { display:block; font-weight:550; font-size:.9rem; margin-bottom:1rem; }
.blog-workspace input:not([type=range]):not([type=checkbox]):not([class*="rz-"]), .blog-workspace textarea:not([class*="rz-"]), .blog-workspace select:not([class*="rz-"]) { display:block; width:100%; background:#111115; border:1px solid #555; border-radius:6px; color:#eee; padding:.7rem; margin-top:.4rem; font:inherit; }
.blog-workspace input:focus-visible, .blog-workspace textarea:focus-visible, .blog-workspace select:focus-visible, .blog-workspace button:focus-visible { outline:2px solid #ff825f; outline-offset:2px; }
.blog-workspace button:not([class*="rz-"]), .blog-workspace .blog-primary { border:1px solid #666; border-radius:6px; padding:.55rem .8rem; background:#25252b; color:white; font-size:.85rem; cursor:pointer; }
.blog-workspace button:disabled { opacity:.45; cursor:not-allowed; }
.blog-workspace .blog-primary { background:#ce3008 !important; border-color:#ff673d !important; text-decoration:none; }
.blog-workspace a { color:#ffab94; }
.blog-workspace .blog-status { display:inline-block; font-size:.8rem; background:#292932; padding:.3rem .6rem; border-radius:1rem; }
.blog-editor-grid { display:grid; grid-template-columns:minmax(0, 1fr) 340px; gap:1.5rem; }
.blog-writing, .blog-details { min-width:0; }
#blog-title { font-size:1.5rem; font-weight:650; }
.blog-editor-surface { border:1px solid #555; border-radius:8px; overflow:hidden; }
.blog-editor-surface .rz-html-editor-content { min-height:460px; color:#eee; background:#111115; line-height:1.7; }
.blog-editor-surface img, .blog-editor-surface video { max-width:100%; height:auto; }
.blog-editor-surface iframe { max-width:100%; aspect-ratio:16/9; pointer-events:none; }
.blog-editor-surface figure { margin:1rem 0; }
.blog-align-center { text-align:center; }.blog-align-right { text-align:right; }.blog-align-left { text-align:left; }
.blog-section { background:#1d1d23; border:1px solid #383840; border-radius:8px; padding:1rem; margin-bottom:1rem; }
.blog-section summary { font-weight:650; cursor:pointer; margin-bottom:1rem; }
.blog-help { color:#b9b9c5; font-size:.8rem; line-height:1.5; margin:.6rem 0 1rem; }
.blog-author { padding:.8rem 0; border-bottom:1px solid #444; margin-bottom:.8rem; }
.blog-actions, .blog-filters { display:flex; align-items:end; flex-wrap:wrap; gap:.6rem; margin:.8rem 0; }
.blog-filters label { flex:1; margin:0; min-width:140px; }
.blog-actions button { font-size:.75rem !important; }
.blog-savebar { display:flex; flex-wrap:wrap; align-items:center; gap:.6rem; position:sticky; top:0; z-index:10; padding:1rem; margin:1rem 0; background:#202028; border:1px solid #555; border-radius:8px; box-shadow:0 5px 20px #0006; }
.blog-savebar span { margin-right:auto; font-size:.8rem; }
.blog-notice { padding:1rem; background:#282637; border:1px solid #797187; border-radius:8px; margin:1rem 0; }
.blog-error { color:#ffb5ab; }.blog-notice.blog-error { border-color:#d87668; }
.blog-thumbnail-preview,.blog-crop-preview { width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:6px; margin-bottom:1rem; }
.blog-crop-preview { overflow:hidden; }.blog-crop-preview img { width:100%;height:100%;object-fit:cover; }
.blog-media-panel { margin-top:1rem; padding:1rem; background:#24242b; border:1px solid #666; border-radius:8px; }
.blog-media-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(110px,1fr)); gap:.5rem; margin:1rem 0; }
.blog-media-choice { overflow:hidden; display:flex; flex-direction:column; gap:.5rem; overflow-wrap:anywhere; }
.blog-media-choice img { width:100%; height:70px; object-fit:cover; }
.blog-list-row { display:flex; align-items:center; justify-content:space-between; gap:1rem; border-bottom:1px solid #444; padding:1.5rem 0; }.blog-list-row h2 { margin:.6rem 0; }
.blog-empty { padding:4rem 1rem; text-align:center; color:#ccc; }
.blog-history-row { display:flex; gap:1rem; align-items:center; justify-content:space-between; padding:.6rem 0; font-size:.8rem; }
.blog-account-result { display:block; width:100%; margin:.5rem 0; }
.blog-preview-banner { background:#2b2534; color:white; padding:1rem; text-align:center; }.blog-preview-banner a { color:#ffab94; }
@media(max-width:1050px) { .blog-editor-grid { grid-template-columns:minmax(0,1fr) 290px; } }
@media(max-width:780px) { .blog-editor-grid { grid-template-columns:1fr; }.blog-savebar { position:static; }.blog-workspace-heading { flex-wrap:wrap; }.blog-list-row { align-items:start; }.identity-main:has(.blog-workspace) { padding:.5rem; }.identity-main:has(.blog-workspace) .identity-panel { padding:1rem !important; } }

.blog-workspace textarea.blog-source { font-family:monospace; min-height:480px; }
