/* R5.4 Beginner / Advanced (presentation only). Advanced-only controls are hidden in Beginner; nothing is removed. */
html.r54-beginner .r54-adv{display:none!important}
#ttdLayoutBar .r54-layout-note{flex:1 1 100%;margin:2px 0 0;font-size:13.5px;line-height:1.4;color:#d6dace}
/* Advanced is the default for new visitors: its note stays available to screen readers but takes no space, so the default
   trainer geometry (sticky bar, pitch) is exactly as in R5.3. The Beginner / Custom notes are visible. */
#ttdLayoutBar .r54-layout-note[data-p="advanced"]{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* the pressed preset is marked by colour and an inset underline only (no width change), so the buttons keep their R5.3 widths and the bar never wraps */
#ttdLayoutBar [data-preset][aria-pressed="true"]{box-shadow:inset 0 -3px 0 #15120a}
/* R5.4 (brief E): limited trainer treatment: page background and panel tones move toward the site palette; the pitch,
   its colours, sizes and the sticky controls are untouched. */
:root:root{--bg:#0c1410;--panel:#141f19;--line:#33473b}
html #ttdLayoutBar button[aria-pressed="true"]{background:#c4a263;border-color:#e0c48a;color:#15120a}
html #ttdLayoutBar :focus-visible{outline-color:#e0c48a}
