/* company-spend-ceiling.css (company_ceiling_1120) -- ADD-ONLY, every rule scoped to .csc1120 */
.csc1120 { min-width: 0; }
.csc1120 .csc1120-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.csc1120 .csc1120-head h3 { margin: 0; }
.csc1120 .csc1120-pill { font-size: 12px; font-weight: 600; line-height: 1; padding: 6px 10px; border-radius: 999px; white-space: nowrap;
  color: var(--text-secondary, #8b949e); background: rgba(139, 148, 158, .14); }
.csc1120[data-state="ok"] .csc1120-pill { color: #3fb950; background: rgba(63, 185, 80, .14); }
.csc1120[data-state="stopped"] .csc1120-pill { color: #f85149; background: rgba(248, 81, 73, .14); }
.csc1120 .csc1120-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 12px; }
.csc1120 .csc1120-stat { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 10px 12px; border: 1px solid var(--border-color, #30363d); border-radius: 10px; }
.csc1120 .csc1120-k { font-size: 12px; color: var(--text-secondary, #8b949e); }
.csc1120 .csc1120-v { font-size: 20px; font-weight: 650; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.csc1120 .csc1120-stat.is-stop .csc1120-v { color: #f85149; }
.csc1120 .csc1120-bar { height: 8px; border-radius: 999px; background: rgba(139, 148, 158, .2); overflow: hidden; margin: 0 0 10px; }
.csc1120 .csc1120-fill { height: 100%; border-radius: 999px; background: #3fb950; min-width: 2px; }
.csc1120[data-state="stopped"] .csc1120-fill { background: #f85149; }
.csc1120 .csc1120-meta { font-size: 13px; line-height: 1.45; color: var(--text-secondary, #8b949e); margin: 0 0 10px; overflow-wrap: anywhere; }
.csc1120 .csc1120-warn { font-size: 13px; line-height: 1.45; margin: 0 0 12px; padding: 10px 12px; border-radius: 10px;
  color: #ffa198; background: rgba(248, 81, 73, .1); border: 1px solid rgba(248, 81, 73, .35); }
.csc1120 .csc1120-form { display: flex; flex-direction: column; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--border-color, #30363d); }
.csc1120 .csc1120-label { font-size: 13px; font-weight: 600; margin: 0 0 5px; }
.csc1120 .csc1120-input { box-sizing: border-box; width: 100%; min-width: 0; font-size: 16px; padding: 9px 10px; margin: 0 0 12px; border-radius: 8px;
  color: inherit; background: var(--surface, #0d1117); border: 1px solid var(--border-color, #30363d); }
.csc1120 .csc1120-input:focus-visible, .csc1120 button:focus-visible { outline: 2px solid #58a6ff; outline-offset: 2px; }
.csc1120 .csc1120-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.csc1120 .csc1120-actions button { min-height: 40px; }
.csc1120 .csc1120-confirm { margin: 14px 0 0; padding: 14px; border-radius: 10px; border: 1px solid #58a6ff; background: rgba(88, 166, 255, .08); }
.csc1120 .csc1120-confirm .csc1120-actions { margin: 0; }
.csc1120 .csc1120-q { font-size: 15px; font-weight: 650; margin: 0 0 8px; }
.csc1120 .csc1120-status { font-size: 13px; min-height: 18px; margin: 8px 0 0; color: var(--text-secondary, #8b949e); }
.csc1120 .csc1120-status.is-ok { color: #3fb950; }
.csc1120 .csc1120-status.is-err { color: #f85149; }
:root.light .csc1120[data-state="ok"] .csc1120-pill, :root.light .csc1120 .csc1120-status.is-ok { color: #1a7f37; }
:root.light .csc1120[data-state="stopped"] .csc1120-pill, :root.light .csc1120 .csc1120-status.is-err, :root.light .csc1120 .csc1120-stat.is-stop .csc1120-v { color: #cf222e; }
:root.light .csc1120 .csc1120-warn { color: #a40e26; }
:root.light .csc1120 .csc1120-input { background: #fff; border-color: #d0d7de; }
:root.light .csc1120 .csc1120-stat, :root.light .csc1120 .csc1120-form { border-color: #e2e8f0; }
@media (max-width: 600px) {
  .csc1120 .csc1120-stats { grid-template-columns: 1fr; }
  .csc1120 .csc1120-stat { flex-direction: row; align-items: baseline; justify-content: space-between; }
  .csc1120 .csc1120-actions button { flex: 1 1 140px; }
}
