/* 长沙移动校园网运维系统 */
body { background: #f4f6f9; font-size: 13.5px; }
.card { border: none; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.card-header { font-size: 14px; }
.stat-card { border-radius: 12px; padding: 1rem 1.2rem; color: #fff; }
.stat-card .num { font-size: 1.55rem; font-weight: 700; }
.stat-card .lbl { opacity: .9; font-size: .8rem; }
.table { font-size: 13px; }
.table th { white-space: nowrap; }
.table td { vertical-align: middle; }
.img-thumb { max-width: 80px; max-height: 60px; object-fit: cover; border-radius: 6px; cursor: pointer; margin: 2px; }
.img-preview { max-width: 100%; border-radius: 8px; }
.photo-box { display: flex; flex-wrap: wrap; gap: 6px; }
.badge-ok { background: #d1e7dd; color: #0f5132; }
.badge-timeout { background: #f8d7da; color: #842029; }
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%); }
.login-card { width: 380px; border-radius: 14px; }
/* 大输入框（现场巡检/月报/故障处理） */
.big-input textarea {
  min-height: 160px;
  font-size: 14px;
  line-height: 1.7;
}
.big-input .big-textarea {
  min-height: 200px;
  font-size: 14px;
  line-height: 1.7;
}
/* 图片预览区 */
.img-prev-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.img-prev-item { position: relative; }
.img-prev-item img { width: 90px; height: 70px; object-fit: cover; border-radius: 6px; border: 1px solid #ddd; }
.img-prev-item .del {
  position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; line-height: 16px;
  text-align: center; background: #dc3545; color: #fff; border-radius: 50%;
  font-size: 12px; cursor: pointer; font-weight: 700;
}
.navbar { padding-top: .4rem; padding-bottom: .4rem; }
.navbar-brand { font-size: 1rem; }
.form-label { font-size: 12.5px; }
.form-control, .form-select { font-size: 13px; }
.modal-title { font-size: 15px; }
.small { font-size: 12px; }
/* Markdown 正文渲染 */
.md-body { line-height: 1.9; font-size: 13.5px; word-break: break-word; }
.md-body h1, .md-body h2, .md-body h3 { margin-top: .8em; margin-bottom: .4em; font-weight: 700; }
.md-body h1 { font-size: 1.3rem; }
.md-body h2 { font-size: 1.15rem; }
.md-body h3 { font-size: 1.05rem; }
.md-body p { margin-bottom: .5em; }
.md-body table { width: 100%; border-collapse: collapse; margin: .6em 0; font-size: 12.5px; }
.md-body table th, .md-body table td { border: 1px solid #dee2e6; padding: 5px 8px; text-align: left; }
.md-body table th { background: #f8f9fa; font-weight: 600; white-space: nowrap; }
.md-body ul, .md-body ol { padding-left: 1.4em; margin-bottom: .5em; }
.md-body strong { font-weight: 700; }
.md-body hr { border-top: 1px solid #dee2e6; margin: .8em 0; }
