/* SCOPED STYLES: no global body, header, footer, Gutenberg or TBCR Manager selectors. */
/* Match the original tbc-rule-card sizing. A small, isolated script centers this
   shortcode across the visible viewport when Gutenberg places it inside a column. */
.tbcrrm{
  width:min(90vw,1500px)!important;
  max-width:none!important;
  position:relative;
  /* Center across the *viewport*, even if the shortcode is in a Gutenberg column. */
  left:auto!important;
  transform:translateX(var(--tbcrrm-center-offset, 0px))!important;
  margin:24px 0 60px!important;
  color:#fff;
  box-sizing:border-box;
  font-family:inherit;
}
.tbcrrm *, .tbcrrm *::before, .tbcrrm *::after{box-sizing:border-box}
.tbcrrm-header{text-align:center;background:rgba(0,14,32,.78);border:1px solid rgba(245,197,66,.5);border-radius:10px;padding:26px 20px;margin-bottom:24px;box-shadow:0 12px 30px rgba(0,0,0,.3)}
.tbcrrm-header h1{font-size:clamp(23px,3vw,33px);margin:0 0 12px;color:#f5c542;line-height:1.2;font-weight:850}
.tbcrrm-meta{font-size:14px;color:#fff;margin:0 0 18px}
.tbcrrm-tools{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.tbcrrm-tools a{display:inline-flex;align-items:center;justify-content:center;padding:11px 20px;min-height:44px;border:1px solid #f5c542;border-radius:6px;color:#f5c542;text-decoration:none;font-size:14px;font-weight:800;letter-spacing:.5px}
.tbcrrm-tools a.tbcrrm-print{background:#f5c542;color:#001020}
.tbcrrm-tools a:hover,.tbcrrm-tools a:focus-visible{background:white;color:#001020;border-color:white}
.tbcrrm-list{display:grid;gap:22px;scroll-margin-top:90px}
.tbcrrm-card{background:rgba(0,14,32,.78);border:1px solid rgba(245,197,66,.45);border-radius:8px;padding:29px 36px;box-shadow:0 12px 30px rgba(0,0,0,.30);min-width:0}
.tbcrrm-card h2.tbcrrm-card-title{margin:0 0 14px!important;color:#f5c542!important;font-size:clamp(20px,2.6vw,25px)!important;line-height:1.25;font-weight:800}
.tbcrrm-card-body,.tbcrrm-card-body p,.tbcrrm-card-body li,.tbcrrm-card-body td{color:#fff;font-size:18px;line-height:1.55}
.tbcrrm-card-body p{margin:0 0 13px}.tbcrrm-card-body p:last-child{margin-bottom:0}
.tbcrrm-card-body a{color:#f5c542}
.tbcrrm-card-body table{width:100%;border-collapse:collapse;display:block;overflow-x:auto;max-width:100%;font-size:15px}
.tbcrrm-card-body td,.tbcrrm-card-body th{border:1px solid rgba(245,197,66,.45);padding:9px;white-space:normal}
.tbcrrm-card-body th{color:#f5c542}
.tbcrrm-notice{text-align:center;background:rgba(0,14,32,.80);border:1px solid #f5c542;border-radius:8px;padding:22px;color:#fff}
@media(max-width:768px){.tbcrrm{width:calc(100vw - 32px)!important}.tbcrrm-header{padding:22px 13px}.tbcrrm-card{padding:21px 18px}.tbcrrm-card-body,.tbcrrm-card-body p,.tbcrrm-card-body li{font-size:16px}.tbcrrm-tools a{width:100%}}

/* v2.1.5: standalone actionbar avoids the site's global `header { display:none!important }`.
   Do not alter the existing card styles, Gutenberg blocks, or TBCR Manager. */
.tbcrrm .tbcrrm-actionbar {
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:14px;
  margin:0 0 22px;
  padding:14px 20px;
  background:rgba(0,14,32,.82);
  border:1px solid rgba(245,197,66,.5);
  border-radius:8px;
  box-shadow:0 10px 24px rgba(0,0,0,.27);
}
.tbcrrm .tbcrrm-actionbar .tbcrrm-version {
  color:#fff!important;
  font-size:14px;
  line-height:1.4;
  font-weight:600;
}
.tbcrrm .tbcrrm-actionbar a.tbcrrm-print-button {
  display:inline-flex!important;
  justify-content:center;
  align-items:center;
  min-height:44px;
  padding:10px 22px;
  background:#f5c542!important;
  color:#001020!important;
  text-decoration:none!important;
  font-size:14px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.4px;
  border-radius:6px;
  border:1px solid #f5c542;
  white-space:nowrap;
}
.tbcrrm .tbcrrm-actionbar a.tbcrrm-print-button:hover,
.tbcrrm .tbcrrm-actionbar a.tbcrrm-print-button:focus-visible {
  background:#fff!important;
  border-color:#fff;
}
@media(max-width:768px) {
  .tbcrrm .tbcrrm-actionbar{justify-content:center;text-align:center;padding:14px 12px}
  .tbcrrm .tbcrrm-actionbar .tbcrrm-version{width:100%}
  .tbcrrm .tbcrrm-actionbar a.tbcrrm-print-button{width:100%;white-space:normal}
}
