/* 并发与上限（settings-limits.js）：数字框别撑满整行，窄屏时按钮不挤出屏幕 */
.lim-row .row { flex-wrap: wrap; align-items: center; }
.lim-row input.field { width: 7em; flex: 0 0 auto; }
.lim-row .muted.small { margin-top: 2px; }

/* 每仓库计划数 / Godot 场景名额 / 夜里另一组数 */
.lim-sep { border-top: 1px solid var(--line, #8883); padding-top: 8px; margin-top: 4px; }
.lim-toggle { width: 100%; text-align: left; white-space: normal; }
.lim-repo-list { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; max-height: 60vh; overflow-y: auto;
  padding: 2px 2px 2px 8px; border-left: 2px solid var(--line, #8883); }
.lim-repo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; }
.lim-repo-name { flex: 1 1 8em; min-width: 0; overflow-wrap: anywhere; }
.lim-repo .row { flex-wrap: wrap; align-items: center; }
.lim-repo input.field { width: 7em; flex: 0 0 auto; }
.lim-times input.field { width: 5.5em; flex: 0 0 auto; text-align: center; }
.lim-night-head { flex-wrap: wrap; align-items: center; }
.lim-switch { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; min-height: 36px; }
.lim-switch input { width: 20px; height: 20px; }
.lim-badge { font-size: 12px; padding: 1px 8px; border-radius: 10px; background: #e6a23c22; color: #b0700c; white-space: nowrap; }
.lim-badge.night { background: #4b6bd622; color: #3d5bc4; }
.lim-night-body { display: flex; flex-direction: column; gap: 10px; padding-left: 8px; border-left: 2px solid #4b6bd655; }
.lim-row input.field, .lim-repo input.field, .lim-times input.field { min-height: 36px; }
