/* The back office's articles page (1 Nov 2026, public/admin.js pageArticles): rows with the cover, the editor of one
   language with its counters, the pictures and the versions. Kept apart from admin.css so the page stands on its own. */
.bo-article-row { align-items:center; gap:16px }
.bo-article-thumb { flex:none; display:block; width:160px; aspect-ratio:1200/630; height:auto; border-radius:10px; object-fit:cover; background:linear-gradient(115deg,#0b0d0e,#202427); border:1px solid var(--border,#e2e0da) }
.bo-article-row .bo-row-main small { display:flex; flex-wrap:wrap; align-items:center; gap:4px 6px }
.bo-article-row code,.bo-article-state code,.bo-article-file code { font-size:12px; padding:1px 6px; border-radius:6px; background:var(--surface-2,#edece7) }
.bo-back { margin:0 0 6px } .bo-back a { display:inline-flex; align-items:center; gap:4px; font-size:14px }
.bo-article-state { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin:-6px 0 14px; color:var(--muted,#6a7079); font-size:13px }
.bo-article-field { margin-top:14px }
.bo-article-field > label { display:flex; align-items:baseline; justify-content:space-between; gap:12px; font-weight:500 }
.bo-article-count { color:var(--muted,#6a7079); font-size:12px; font-variant-numeric:tabular-nums; font-weight:400 }
.bo-article-count.over { color:var(--danger,#b42318); font-weight:600 }
.bo-article-note:empty { display:none }
.bo-article-url { display:block; margin-top:4px; overflow-wrap:anywhere }
.bo-article-body { min-height:420px; font-family:var(--mono,ui-monospace,Consolas,monospace); font-size:14px; line-height:1.6; resize:vertical }
.bo-article-save { margin-top:16px; justify-content:flex-end }
.bo-article-files { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:14px; margin:12px 0 }
.bo-article-file { margin:0; padding:10px; border:1px solid var(--border,#e2e0da); border-radius:12px; background:var(--surface,#fff) }
.bo-article-file img { display:block; width:100%; height:120px; object-fit:contain; border-radius:8px; background:var(--surface-2,#edece7) }
.bo-article-file figcaption { display:flex; flex-direction:column; gap:4px; margin-top:8px; min-width:0 }
.bo-article-file figcaption code { overflow-wrap:anywhere }
.bo-article-upload { display:flex; flex-wrap:wrap; align-items:flex-end; gap:10px 14px }
.bo-article-upload .field { margin:0; min-width:180px; flex:1 1 180px }
@media (max-width:700px) {
  .bo-article-row { flex-wrap:wrap }
  .bo-article-thumb { width:100% ; max-width:none }
  .bo-article-body { min-height:320px }
}
