/* Local rule-content additions; existing brand assets and page composition stay intact. */
.rules-reference,.rules-tier-grid,.rules-dynamic,.rules-notice,.rules-policy,.rules-rate-table{color:var(--bn-ink,#141615);font-family:'DM Sans',sans-serif;line-height:1.55}
.rules-notice{padding:14px 16px;margin:18px 0;border:1px solid var(--bn-line,#d5d9d1);border-left:3px solid #b6ba08;background:var(--bn-warm,#F8FAF1);border-radius:8px;font-size:14px;overflow-wrap:anywhere}
.rules-notice strong{font-size:14px;color:inherit}.rules-notice p{margin:5px 0 0;font-size:14px!important;line-height:1.6!important;color:inherit!important}
.rules-source{font:12px/1.6 'DM Sans',sans-serif;color:var(--bn-muted,#526052);margin:14px 0}
.rules-rate-table{margin:16px 0}.rules-rate-table table{border-collapse:collapse;width:100%;font-size:15px}.rules-rate-table caption{text-align:left;padding:0 0 10px;font-size:14px}.rules-rate-table th,.rules-rate-table td{padding:12px 9px;border-bottom:1px solid var(--bn-line,#d5d9d1);text-align:left}.rules-rate-table thead{background:var(--bn-warm,#F8FAF1)}.rules-rate-table th{font-weight:600}
.rules-tier-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.rules-tier-grid article{border:1px solid var(--bn-line,#d5d9d1);padding:18px;background:var(--bn-paper,#fff);border-radius:12px;min-width:0}.rules-tier-grid header{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.rules-tier-grid h3{font:700 22px/1.2 'DM Sans',sans-serif;margin:0}.rules-tier-grid header strong{font-size:23px}.rules-tier-grid header span{font-size:14px}.rules-tier-grid p{font-size:14px!important;margin:8px 0 14px!important}.rules-tier-grid dl{margin:0}.rules-tier-grid dl>div{display:flex;gap:12px;justify-content:space-between;padding:8px 0;border-top:1px solid var(--bn-line,#d5d9d1);font-size:14px}.rules-tier-grid dt{max-width:80%}.rules-tier-grid dd{margin:0;font-weight:700;font-variant-numeric:tabular-nums}
.rules-step{display:inline-flex;font-weight:700;padding:5px 9px;background:#F7F700;color:#141615;border-radius:6px}.rules-dynamic article>strong{font-size:16px}.rules-policy{font-size:15px}.rules-policy li{margin:9px 0}.rules-reference p{font-size:15px!important}.rules-reference .ew-split-visual{margin:16px 0}
.rules-legacy-ledger{margin-top:20px}.rules-legacy-ledger>summary{padding:16px;border:1px solid var(--bn-line,#d5d9d1);border-radius:10px;cursor:pointer;font-weight:600}.rules-legacy-ledger[open]>summary{margin-bottom:16px}
.rules-inline{font:14px/1.55 'DM Sans',sans-serif;margin:12px 0;color:var(--bn-muted,#526052)}
[data-participant-theme="dark"] .rules-notice,[data-participant-theme="dark"] .rules-tier-grid article,[data-participant-theme="dark"] .rules-rate-table thead{background:#20251e;color:#f5f7ee;border-color:#485040}
[data-participant-theme="dark"] .rules-reference,[data-participant-theme="dark"] .rules-tier-grid,[data-participant-theme="dark"] .rules-dynamic,[data-participant-theme="dark"] .rules-policy,[data-participant-theme="dark"] .rules-rate-table{color:#f5f7ee}
[data-participant-theme="dark"] .rules-source,[data-participant-theme="dark"] .rules-inline{color:#bfc8b8}
@media(max-width:700px){.rules-tier-grid{grid-template-columns:1fr}.rules-tier-grid article{padding:16px}.rules-dynamic{grid-template-columns:1fr!important}.rules-reference{grid-template-columns:1fr!important}.rules-rate-table th,.rules-rate-table td{padding:10px 6px;font-size:15px}.rules-notice{padding:13px}.rules-tier-grid header strong{font-size:22px}}
/* Preserve native caption layout against the workspace's generic block rule. */
.bn-participant .rules-rate-table caption{display:table-caption;caption-side:top;width:auto;font-size:14px;line-height:1.5;padding:0 0 12px;text-align:left}
/* Explicit spans keep fee cards readable as their labels wrap. */
@media(max-width:760px){
 .bn-participant .ms-plan-card{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .bn-participant .ms-plan-top{grid-column:1;grid-row:1}
 .bn-participant .ms-plan-price{grid-column:2;grid-row:1;flex-wrap:wrap;justify-content:flex-end}
 .bn-participant .ms-fee-caption{grid-column:1 / span 2;grid-row:2;text-align:left}
 .bn-participant .ms-plan-facts{grid-column:1 / span 2;grid-row:3;width:100%;min-width:0}
 .bn-participant .ms-plan-cta{grid-column:1 / span 2;grid-row:4;min-width:0}
 .bn-participant .ms-plan-facts>div{gap:12px;min-width:0;justify-content:space-between}
 .bn-participant .ms-plan-facts dt{min-width:0;overflow-wrap:break-word}
 .bn-participant .ms-plan-facts dd{flex:none}
 .rules-rate-table table{table-layout:fixed}
 .rules-rate-table th,.rules-rate-table td{overflow-wrap:break-word}
 .rules-reference>div{min-width:0}
}
/* Let existing workspace controls wrap when the user enlarges text. */
@media(max-width:760px){
 .bn-ui .bn-work-header:has(.pi-identity){flex-wrap:wrap}
 .bn-ui .bn-work-header .pi-identity{max-width:100%;min-width:0}
 .bn-ui .pi-trigger{max-width:100%;white-space:normal}
 .bn-ui .pi-trigger-copy{min-width:0;white-space:normal;overflow-wrap:anywhere}
 .bn-ui .bn-work-meta{flex-wrap:wrap;gap:12px}
 .bn-ui .bn-user-nav>a{min-width:0;white-space:normal;overflow-wrap:anywhere}
}
@media(max-width:760px){
 .bn-participant .rules-reference{grid-template-columns:minmax(0,1fr)!important;width:100%;min-width:0}
 .bn-participant .rules-rate-table :is(th,td){min-width:0}
 .bn-participant .rules-reference .ew-split-visual{flex-wrap:wrap}
 .bn-participant .rules-reference .ew-split-visual>div{min-width:0}
}
