.tba-river-preview{max-width:900px;margin:1rem auto;border:1px solid #cbd5e1;border-radius:12px;padding:1rem;color:#18354d;background:#fff;box-sizing:border-box}.tba-river-preview h2{text-align:center;color:#10558e}.tba-river-preview .tba-river-status{padding:1rem;text-align:center;border-radius:8px;font-weight:bold;color:white}.tba-river-preview .tba-river-brown{background:#80512e}.tba-river-preview .tba-river-green{background:#218345}.tba-river-preview .tba-river-amber{background:#e69500;color:#222}.tba-river-preview .tba-river-red{background:#c92c35}.tba-river-preview .tba-river-unknown{background:#626c78}.tba-river-preview details{border:1px solid #cbd5e1;padding:.8rem;margin:.8rem 0;border-radius:6px}.tba-river-preview summary{cursor:pointer;font-weight:bold}.tba-river-table{overflow-x:auto}.tba-river-preview table{width:100%;border-collapse:collapse}.tba-river-preview td,.tba-river-preview th{padding:.5rem;border-bottom:1px solid #ddd;text-align:left}
.tba-river-preview{width:100%;max-width:800px;font-family:Arial,sans-serif;font-size:16px;line-height:1.5;padding:clamp(12px,3vw,24px);overflow-wrap:anywhere}.tba-river-preview h2{font-size:clamp(19px,3vw,26px);font-weight:750;text-transform:uppercase;line-height:1.25;margin:18px 0}.tba-river-preview p{margin:12px 0}.tba-river-colour{text-align:center;font-size:30px;font-weight:800;margin:12px 0}.tba-colour-red{color:#b91c2c}.tba-colour-amber{color:#925900}.tba-colour-green{color:#176b37}.tba-colour-brown{color:#80512e}.tba-river-preview .tba-river-status{font-size:19px}.tba-guidance{text-align:center}.tba-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;text-align:center;background:#f1f5f9;border-radius:6px;padding:8px}.tba-river-preview table{font-size:14px;min-width:510px}.tba-river-preview td,.tba-river-preview th{padding:8px 6px}.tba-river-preview summary:focus-visible{outline:2px solid #10558e;outline-offset:4px}.tba-river-table{max-width:100%}.tba-river-preview details{min-width:0}.entry-content:has(>.tba-river-preview){--wp--style--global--content-size:800px}.entry-content>.tba-river-preview{max-width:800px!important}@media(max-width:480px){.tba-meta{grid-template-columns:1fr}.tba-river-preview{font-size:15px}}

.tba-river-preview .tba-lockkeeper{text-align:center;font-weight:700}.tba-mobile-recorded{display:none}
@media(max-width:599px){
.tba-river-preview .tba-river-table{overflow:visible;min-width:0}
.tba-river-preview .tba-river-table table,.tba-river-preview .tba-river-table thead,.tba-river-preview .tba-river-table tbody{display:block;width:100%;min-width:0;max-width:100%}
.tba-river-preview .tba-river-table tr{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr);gap:0;border-bottom:1px solid #ddd}
.tba-river-preview .tba-river-table td,.tba-river-preview .tba-river-table th{min-width:0;padding:6px 3px;border:0;white-space:normal;overflow-wrap:anywhere}
.tba-river-preview .tba-river-table th:last-child{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}
.tba-river-preview .tba-river-table .tba-recorded{grid-column:1/-1;padding-top:0;font-size:13px}
.tba-river-preview .tba-mobile-recorded{display:inline}
}
