.main-sections [data-section=bonuses][hidden] { display: none !important; }
.bonus-root { display: grid; gap: 12px; width: 100%; min-width: 0; }
.bonus-root .panel { margin: 0; min-width: 0; border-radius: 0; }
.bonus-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.bonus-head h2 { margin: 0; }
.bonus-head p { margin: 6px 0 0; color: #526c64; }
.bonus-summary { display: grid; gap: 4px; min-width: 100px; text-align: right; }
.bonus-summary strong { font-size: 28px; color: #24594c; }

.bonus-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 12px 0; }
.bonus-fields label { display: grid; gap: 6px; }
.bonus-fields label.bonus-wide:has(input[type=checkbox]) { display: flex; align-items: center; }
.bonus-wide { grid-column: 1/-1; }
.bonus-fields input:not([type=checkbox]), .bonus-fields select, .bonus-search input {
  width: 100%; box-sizing: border-box; min-height: 40px; border: 1px solid #bccbbd;
  border-radius: 8px; padding: 8px; font: inherit; background: white;
}
.bonus-register { margin: 10px 0 18px; }
.bonus-register summary { cursor: pointer; font-weight: 600; }
.bonus-search { display: flex; gap: 8px; margin: 12px 0; }
.bonus-search input { min-width: 0; flex: 1; }

.bonus-scroll { overflow: auto; }
.bonus-scroll table { width: 100%; border-collapse: collapse; }
.bonus-scroll th, .bonus-scroll td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #dce3df; }
.bonus-scroll td small { display: block; color: #526c64; }
.bonus-scroll.bonus-zebra tbody tr:nth-child(even) > * { background-color: #edf3ee; }

#bonus-notice:empty { display: none; }
#bonus-notice { margin: 0; color: #24594c; }

@media (max-width: 600px) {
  .bonus-fields { grid-template-columns: 1fr; }
  .bonus-scroll td, .bonus-scroll th { white-space: nowrap; }
  .bonus-summary { text-align: left; }
}
