/* Additions for the Django version (server-rendered pages, AI features). Brand rules: see CLAUDE.md §7. */
.lang-btn{text-decoration:none;display:inline-flex;align-items:center}
.menu form{margin:0}
.menu form button{color:#9B2C12}
.pager a.pg{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.err-text{color:#8A1F0E;font-size:14px;font-weight:600}
.b-ai{background:#EEF0FB;color:#2C356E;font-size:12px;vertical-align:middle}
.b-fail{background:#FDE7E4;color:#8A1F0E}
.upload-progress{display:flex;align-items:center;gap:12px}
.upload-progress[hidden]{display:none}
.upload-progress .bar{flex:1;height:8px;border-radius:4px;background:#E6ECED;overflow:hidden}
.upload-progress .bar span{display:block;height:100%;width:0;background:#1F9E8F;transition:width .2s}
.overlay-img{display:block;width:100%;height:auto}
.dot-ai{background:none;border:2.5px dashed #B8860B}
.summary-text{margin:0;font-size:16px;line-height:1.7;white-space:pre-line}
.ai-qc-block{display:flex;flex-direction:column;gap:8px;padding:12px 0;border-top:1px solid #E6ECED}
.ai-qc-block .qc{align-items:center}
@media (prefers-reduced-motion: reduce){.upload-progress .bar span{transition:none}}
