.rb-app { max-width: 640px; margin: 1.5em 0; font-family: inherit; color: inherit; }
.rb-app * { box-sizing: border-box; }
.rb-muted { font-size: .85em; opacity: .7; margin: .5em 0; }
.rb-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin: 6px 0 14px; }
.rb-time { border: 1px solid #1f4e79; background: #fff; color: #1f4e79; border-radius: 8px; padding: 10px 6px; cursor: pointer; font-size: .95em; }
.rb-time:hover:not(:disabled) { background: #eef4fa; }
.rb-time.on { background: #1f4e79; color: #fff; }
.rb-time:disabled { cursor: default; border-color: #cfd4da; color: #52606d; background: #f5f7fa; }
.rb-f { display: grid; gap: 10px; border: 1px solid #e1e5ea; border-radius: 12px; padding: 16px; background: #fafbfc; }
.rb-f h4 { margin: 0 0 4px; font-size: 1.05em; }
.rb-f label { display: grid; gap: 4px; font-size: .9em; }
.rb-f input, .rb-f textarea { width: 100%; padding: 10px; border: 1px solid #cfd4da; border-radius: 8px; font: inherit; background: #fff; }
.rb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.rb-btn { display: inline-block; background: #1f4e79; color: #fff !important; border: 0; border-radius: 10px; padding: 12px 20px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; text-align: center; }
.rb-btn:disabled { opacity: .6; cursor: wait; }
.rb-msg { padding: 10px 12px; border-radius: 8px; font-size: .92em; }
.rb-err { background: #fdecec; color: #8a1f1f; }
.rb-ok { background: #e8f5ec; color: #1d5e33; }
.rb-team { background: #eef4fa; border-radius: 10px; padding: 12px; margin-bottom: 12px; }
.rb-cta { margin: 1em 0; }
@media (max-width: 480px) { .rb-times { grid-template-columns: repeat(3, 1fr); } }

.rb-req { color: #b42318; }
.rb-f select { width: 100%; padding: 10px; border: 1px solid #cfd4da; border-radius: 8px; font: inherit; background: #fff; }
.rb-fs { border: 1px solid #e1e5ea; border-radius: 8px; padding: 8px 10px; margin: 0; }
.rb-fs legend { font-size: .9em; padding: 0 4px; }
.rb-chk { display: flex; gap: 8px; align-items: center; font-size: .92em; }
.rb-chk input { width: auto; }

.rb-chips { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 10px 0 16px; }
.rb-chip { border: 1px solid #e1e5ea; border-radius: 10px; padding: 8px 4px; text-align: center; background: #fff; }
.rb-chip b { display: block; font-size: 1.3em; }
.rb-chip span { font-size: .72em; opacity: .75; }
.rb-rows { border: 1px solid #e1e5ea; border-radius: 10px; overflow: hidden; background: #fff; }
.rb-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid #eef0f3; }
.rb-row:last-child { border-bottom: 0; }
.rb-badge { border-radius: 999px; padding: 4px 10px; font-size: .8em; font-weight: 600; white-space: nowrap; background: #eef4fa; color: #1f4e79; }
.rb-badge.rb-s-passed, .rb-chip.rb-s-passed b { background: #e8f5ec; color: #1d5e33; }
.rb-chip.rb-s-passed b, .rb-chip.rb-s-failed b, .rb-chip.rb-s-noshow b, .rb-chip.rb-s-cancelled b { background: none; }
.rb-badge.rb-s-failed, .rb-chip.rb-s-failed b { background: #fdecec; color: #8a1f1f; }
.rb-badge.rb-s-noshow { background: #fff4e0; color: #8a5a00; }
.rb-badge.rb-s-cancelled { background: #f1f3f5; color: #52606d; }
.rb-linkbox { width: 100%; padding: 8px; border: 1px solid #cfd4da; border-radius: 8px; font: inherit; font-size: .85em; }
@media (max-width: 480px) { .rb-chips { grid-template-columns: repeat(3, 1fr); } }

.rb-month { max-width: 380px; border: 1px solid #dfe3e8; border-radius: 12px; padding: 12px; margin: 6px 0 12px; background: #fff; }
.rb-mhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.rb-nav { border: 0; background: #eef4fa; color: #1f4e79; width: 34px; height: 34px; border-radius: 50%; font-size: 1.4em; line-height: 1; cursor: pointer; }
.rb-nav:disabled { opacity: .3; cursor: default; }
.rb-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.rb-dow { font-size: .72em; color: #6b7785; padding: 4px 0; }
.rb-day { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 0; background: #eef4fa; color: #1f4e79; font-weight: 600; cursor: pointer; font-size: .95em; padding: 0; }
.rb-day:hover { background: #dbe8f5; }
.rb-day.on { background: #1f4e79; color: #fff; }
.rb-day.off { background: transparent; color: #b5bcc4; font-weight: 400; cursor: default; }
.rb-pick { margin: 6px 0 4px; }

button.rb-chip { font: inherit; color: inherit; cursor: pointer; }
button.rb-chip:hover { border-color: #1f4e79; }
.rb-chip.on { border-color: #1f4e79; box-shadow: 0 0 0 2px #1f4e79 inset; }
.rb-chip.zero b { background: none !important; color: #6b7785 !important; }
.rb-filter a { color: #1f4e79; font-weight: 600; }
.rb-badge.rb-s-open { background: #fff; border: 1px dashed #b5bcc4; color: #52606d; }

.rb-banner { background: #fff8e6; border: 1px solid #f0d48a; border-radius: 10px; padding: 10px 12px; margin: 0 0 10px; color: #5c4400; }
.rb-time.rb-view { cursor: help; border-color: #cfd4da; color: #52606d; background: #f5f7fa; }
.rb-hint { background: #eef4fa; border: 1px solid #c9ddf3; border-radius: 10px; padding: 12px; margin: 8px 0; }
.rb-hint[hidden] { display: none; }
.rb-hint .rb-btn { display: inline-block; margin-top: 8px; }
.rb-banner .rb-btn { display: inline-block; margin-top: 8px; }

.rb-banner.flash { animation: rbflash 1.4s ease; }
@keyframes rbflash { 0%,100% { box-shadow: 0 0 0 0 rgba(31,78,121,0); } 30% { box-shadow: 0 0 0 4px rgba(31,78,121,.55); } }

.rb-attempt { font-size: 12px; font-weight: 600; color: #3b4a5a; background: #eef2f7; border-radius: 999px; padding: 1px 8px; margin-right: 4px; white-space: nowrap; }

.rb-rules { background: #f3f7fb; border: 1px solid #d6e2ee; border-radius: 10px; padding: 10px 12px; margin: 0 0 12px; color: #26384a; font-size: .92em; }
.rb-note { font-size: .82em; color: #52606d; }
.rb-more { margin: 18px 0 0; padding: 12px; border: 1px solid #e1e5ea; border-radius: 10px; background: #fff; }
.rb-more .rb-btn { display: inline-block; margin: 6px 0; }

.rb-actions { margin: 0 0 14px; }
.rb-actrow { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.rb-actrow .rb-btn { display: inline-block; }
.rb-btn2 { background: #fff !important; color: #1f4e79 !important; border: 2px solid #1f4e79; }
.rb-lbl { margin: 8px 0 4px; font-size: .85em; }

.rb-ul { margin: 6px 0 0 18px; padding: 0; }
.rb-ul li { margin: 2px 0; }
.rb-warn { background: #fff8e6; border: 1px solid #f0d48a; border-radius: 10px; padding: 10px 12px; margin: 0 0 12px; color: #5c4400; }
.rb-copyrow { display: flex; gap: 8px; align-items: stretch; }
.rb-copyrow .rb-linkbox { flex: 1; min-width: 0; }
.rb-copyrow .rb-btn { padding: 8px 14px; white-space: nowrap; }
