.ws-demo { scroll-margin-top: 100px; border-top: 1px solid var(--ws-line); }
.ws-demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.ws-demo-form { padding: clamp(20px, 3vw, 36px); background: var(--ws-surface); border: 1px solid var(--ws-line); border-radius: 16px; }
.ws-demo-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.ws-demo-form label { display: block; margin-bottom: 7px; font-size: .9rem; font-weight: 600; }
.ws-demo-form label span { font-weight: 400; color: var(--ws-muted); }
.ws-demo-form input, .ws-demo-form select, .ws-demo-form textarea { display: block; width: 100%; box-sizing: border-box; margin-bottom: 20px; padding: 12px; font: inherit; font-size: 16px; color: var(--ws-text); background: var(--ws-bg); border: 1px solid #78839c; border-radius: 5px; }
.ws-demo-form textarea { min-height: 110px; resize: vertical; }
.ws-demo-form input::placeholder, .ws-demo-form textarea::placeholder { color: var(--ws-muted); opacity: 1; }
.ws-demo-form button { cursor: pointer; width: 100%; margin-top: 15px; }
.ws-demo-form button:disabled { opacity: .65; cursor: default; }
.ws-demo-form .ws-demo-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ws-demo-form .ws-demo-status { margin: 18px 0 0; overflow-wrap: anywhere; }
.ws-demo-form .ws-demo-status:empty { display: none; }
.ws-demo-form .ws-demo-status[data-state="success"] { color: #b8efcd; }
.ws-demo-form .ws-demo-status[data-state="error"] { color: #ffc5b3; }
.ws-demo-form .ws-small a { text-decoration: underline; color: var(--ws-text); }
.ws-demo-privacy { font-size: .85rem; color: var(--ws-muted); }
.ws-demo-privacy summary { cursor: pointer; margin: 18px 0 10px; color: var(--ws-text); }
@media (max-width: 760px) { .ws-demo-grid { grid-template-columns: 1fr; } }

.ws-marketing-consent { position: fixed; z-index: 2000; bottom: 16px; left: 16px; right: 16px; max-width: 760px; max-height: 50vh; overflow: auto; margin: 0 auto; padding: 20px; background: #101b30; color: #f3f5fb; border: 1px solid #78839c; border-radius: 12px; box-shadow: 0 6px 30px #0008; font-size: 14px; line-height: 1.5; }
.ws-marketing-consent[hidden] { display: none; }
.ws-marketing-consent h2 { font: inherit; font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.ws-marketing-consent p { margin: 0 0 10px; }
.ws-marketing-consent a { color: #f3f5fb; text-decoration: underline; }
.ws-marketing-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.ws-marketing-actions button { flex: 1 1 130px; min-height: 44px; padding: 10px 16px; border: 1px solid #a9b5cd; border-radius: 6px; font: inherit; font-weight: 600; background: #263752; color: #fff; cursor: pointer; }
.ws-marketing-settings { display: block; margin-top: 12px; padding: 8px 0; font: inherit; color: inherit; background: none; border: 0; text-decoration: underline; cursor: pointer; }
.ws-marketing-consent button:focus-visible, .ws-marketing-consent a:focus-visible, .ws-marketing-settings:focus-visible { outline: 3px solid #ff914d; outline-offset: 3px; }
@media (max-width: 480px) { .ws-marketing-consent { left: 8px; right: 8px; bottom: 8px; padding: 16px; } }

@media (max-width: 760px) {
    .score-training-page.ws-trainer-page .ws-nav-actions > .ws-button { display: inline-flex; }
}
@media (max-width: 600px) {
    .score-training-page.ws-trainer-page .ws-coach-cta { grid-template-columns: minmax(0, 1fr); overflow-wrap: anywhere; }
    .score-training-page.ws-trainer-page .ws-nav-actions > .ws-dropdown:not(.ws-mobile-nav) > .ws-dropdown-panel { left: 0; right: auto; }
    .score-training-page.ws-trainer-page .ws-brand > span { display: none; }
    .score-training-page.ws-trainer-page .ws-nav,
    .score-training-page.ws-trainer-page .ws-nav-actions { gap: 8px; }
    .score-training-page.ws-trainer-page .ws-nav-actions > .ws-button { min-height: 44px; padding-inline: 10px; white-space: nowrap; }
    .score-training-page.ws-trainer-page .ws-nav-actions > .ws-button .ws-icon { display: none; }
}
