/* Trade CraftWorks example-site chrome: top bar, footer note, toast. Kept independent of each demo's own styles. */
.tcw-demo-bar {
  position: relative; z-index: 1000; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 40px; padding: 6px 16px; background: #1C1A17; color: #F4EFE6;
  font: 500 13px/1.3 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; letter-spacing: 0;
}
.tcw-demo-bar a { color: inherit; text-decoration: none; }
.tcw-demo-back { display: inline-flex; align-items: center; gap: 4px; opacity: .85; white-space: nowrap; }
.tcw-demo-back:hover { opacity: 1; }
.tcw-demo-msg { margin: 0; text-align: center; opacity: .9; }
.tcw-demo-msg strong { color: #F2C230; font-weight: 700; }
.tcw-demo-cta { white-space: nowrap; }
.tcw-demo-cta b { display: inline-block; background: #E8501F; color: #fff; padding: 5px 10px; border-radius: 6px; font-weight: 700; }
.tcw-demo-cta:hover b { background: #D8461A; }
@media (max-width: 640px) { .tcw-demo-hide-sm { display: none; } .tcw-demo-bar { padding: 6px 12px; } }

.tcw-demo-foot {
  background: #1C1A17; color: #CFC8BB; text-align: center; padding: 22px 16px 26px;
  font: 400 14px/1.55 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.tcw-demo-foot p { margin: 0 auto 12px; max-width: 640px; }
.tcw-demo-foot a { color: #F4EFE6; }
.tcw-demo-foot-btn { display: inline-block; margin: 4px; padding: 9px 14px; border: 1px solid #5E5850; border-radius: 8px; text-decoration: none; font-weight: 600; }
.tcw-demo-foot-btn:hover { border-color: #F4EFE6; }
.tcw-demo-foot-btn--main { background: #E8501F; border-color: #E8501F; color: #fff !important; }
.tcw-demo-foot-btn--main:hover { background: #D8461A; }

.tcw-demo-toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 1001; width: min(440px, calc(100% - 32px));
  transform: translate(-50%, 16px); opacity: 0; transition: opacity .25s, transform .25s;
  background: #1C1A17; color: #F4EFE6; border-radius: 12px; padding: 14px 18px; box-shadow: 0 12px 36px rgba(0,0,0,.35);
  font: 500 14.5px/1.45 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.tcw-demo-toast.on { opacity: 1; transform: translate(-50%, 0); }
.tcw-demo-toast::before { content: 'Example site'; display: block; color: #F2C230; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
