.rtc-budget {
  background: #f4f7fa;
  border: 1px solid rgba(30, 77, 123, 0.16);
  border-radius: 12px;
  padding: 13px 15px;
  margin-bottom: 18px;
}
.rtc-budget[hidden], .rtc-budget [hidden] { display: none; }
.rtc-budget-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  color: #36526f;
  font-size: 12.5px;
  font-weight: 600;
}
.rtc-budget-head strong {
  font-size: 17px;
  font-weight: 720;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: #142235;
}
.rtc-budget-head a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 9px;
  border-radius: 7px;
  background: rgba(30, 77, 123, 0.08);
  color: #1e4d7b;
  font-size: 12px;
  font-weight: 620;
  text-decoration: none;
  transition: background 140ms ease;
}
.rtc-budget-head a:hover { background: rgba(30, 77, 123, 0.15); text-decoration: none; }
.rtc-budget-head a:focus-visible { outline: 2px solid #1e4d7b; outline-offset: 2px; }
.rtc-budget progress {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  accent-color: #1e4d7b;
  margin-top: 8px;
}
.rtc-budget p {
  font-size: 12px;
  line-height: 1.5;
  margin: 6px 0 0;
  color: #536578;
}
.rtc-budget-guard {
  border-top: 1px solid rgba(30, 77, 123, 0.12);
  margin-top: 11px;
  padding-top: 10px;
}
.rtc-budget[data-warning="true"] {
  background: #fff9ef;
  border-color: rgba(180, 105, 14, 0.28);
}
.rtc-budget[data-warning="true"] .rtc-budget-guard { border-top-color: rgba(180, 105, 14, 0.2); }
.rtc-budget[data-warning="true"] .rtc-budget-guard strong { color: #8c4f0d; }
.rtc-budget[data-warning="true"] progress { accent-color: #b4690e; }

.active-rooms {
  background: #f0f8f4;
  border: 1px solid rgba(18, 120, 80, 0.22);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
}
.active-rooms[hidden] { display: none; }
.active-rooms-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}
.active-rooms-head span { font-size: 12.5px; font-weight: 700; color: #126142; }
.active-rooms-head small { font-size: 11.5px; color: #4c6c5d; }
.active-rooms-list { display: flex; flex-direction: column; gap: 8px; }
.active-room-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 10px;
  background: #fff;
  border: 1px solid rgba(18, 120, 80, 0.16);
  border-radius: 10px;
  padding: 9px 11px;
}
.active-room-meta { display: flex; flex-direction: column; min-width: 0; }
.active-room-meta strong { font-size: 13.5px; color: #142235; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.active-room-meta span { font-family: var(--mono); font-size: 11.5px; color: #56687a; }
.active-room-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
