.rcb4 { max-width: 720px; }
.rcb4-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.rcb4-tab {
  padding: 8px 12px; font-size: 13px; font-weight: 700; border: 1px solid #d9e0d4; border-radius: 6px;
  background: #fff; cursor: pointer; color: #27331f;
}
.rcb4-tab-active { background: #19616a; border-color: #19616a; color: #fff; }
.rcb4-panel { display: flex; flex-direction: column; gap: 12px; }
.rcb4-panel label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; color: #27331f; }
.rcb4-panel input, .rcb4-panel select {
  padding: 9px 11px; font-size: 14.5px; border: 1px solid #d9e0d4; border-radius: 6px;
}
.rcb4-panel input:focus, .rcb4-panel select:focus { outline: 2px solid #19616a; outline-offset: 1px; }

.rcb4-out { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.rcb4-out h4 { margin: 0 0 4px; font-size: 13.5px; color: #19616a; }
.rcb4-out p { margin: 0; font-size: 13.5px; color: #27331f; line-height: 1.5; }
.rcb4-out ul { margin: 0; padding-left: 18px; font-size: 13.5px; color: #27331f; line-height: 1.6; }
.rcb4-out li { margin-bottom: 2px; }

.rcb4-table-wrap {
  max-height: 420px; overflow-y: auto; border: 1px solid #d9e0d4; border-radius: 6px; background: #fff;
}
.rcb4-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.rcb4-table thead th {
  position: sticky; top: 0; z-index: 1;
  text-align: left; padding: 9px 11px; background: #f3f4f8; color: #27331f;
  border-bottom: 1px solid #d9e0d4; font-weight: 700;
}
.rcb4-table tbody td {
  padding: 8px 11px; border-bottom: 1px solid #d9e0d4; color: #27331f; vertical-align: top;
}
.rcb4-table tbody tr:last-child td { border-bottom: none; }
.rcb4-table code { font-family: ui-monospace, monospace; font-size: 12.5px; color: #19616a; font-weight: 700; }
.rcb4-empty { text-align: center; color: #5b6b56; padding: 16px 11px !important; }

.rcb4-hint { font-size: 12.5px; color: #5b6b56; margin: 4px 0 0; }
.rcb4-note { margin-top: 4px; font-size: 13px; color: #5b6b56; }

@media (max-width: 480px) {
  .rcb4-table-wrap { max-height: 320px; }
}
