/* Pilot layout port, scoped to the Workout surface; no frontend build required. */
#ktWorkoutAdminShell,
#ktWorkoutParticipantShell {
  min-height: calc(100dvh - var(--wmk-workout-admin-top, 0px));
  background: var(--wmk-admin-bg);
}
#ktWorkoutAdminShell > .wmk-admin-load-region,
#ktWorkoutParticipantShell > .wmk-admin-load-region {
  min-height: inherit;
}
.wo-app {
  font-family:
    "DM Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --bg: #f5f7f6;
  --surface: #fff;
  --surface-soft: #f8faf9;
  --text: #17251f;
  --muted: #76817c;
  --border: #e3e9e5;
  --accent: #13805c;
  --accent-hover: #0d6749;
  --accent-soft: #e9f5ee;
  --accent-text: #126547;
  --danger: #bf4444;
  --danger-soft: #fff0f0;
  --warning: #976a18;
  --warning-soft: #fff6de;
  --rest: #b94d08;
  --rest-soft: #fff1e5;
  --shadow: 0 4px 24px #1a3d2b04;
  --timer: #fff;
  --timer-text: #17251f;
  color-scheme: light;
}
.wo-app * {
  box-sizing: border-box;
}
.wo-app {
  margin: 0;
}
.wo-app button,
.wo-app input,
.wo-app select,
.wo-app textarea {
  font: inherit;
}
.wo-app button,
.wo-app a,
.wo-app input,
.wo-app select,
.wo-app textarea {
  -webkit-tap-highlight-color: transparent;
}
.wo-app button,
.wo-app .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  height: auto;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s,
    border 0.15s,
    transform 0.15s;
  white-space: nowrap;
}
.wo-app button:hover,
.wo-app .button:hover {
  background: var(--surface-soft);
  border-color: #aebdb4;
}
.wo-app button:active,
.wo-app .button:active {
  transform: translateY(1px);
}
.wo-app button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.wo-app button:disabled:active {
  transform: none;
}
.wo-app button:focus-visible,
.wo-app a:focus-visible,
.wo-app input:focus-visible,
.wo-app textarea:focus-visible,
.wo-app select:focus-visible {
  outline: 3px solid #69c79b;
  outline-offset: 3px;
}
.wo-app a {
  color: var(--accent-text);
}
.wo-app h1,
.wo-app h2,
.wo-app h3,
.wo-app h4,
.wo-app p {
  margin-top: 0;
}
.wo-app h1,
.wo-app h2,
.wo-app h3 {
  font-family: Manrope, "DM Sans", sans-serif;
  letter-spacing: -0.035em;
}
.wo-app h1 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 10px;
}
.wo-app h2 {
  font-size: 19px;
  line-height: 1.4;
  font-weight: 750;
  margin-bottom: 16px;
}
.wo-app h3 {
  font-size: 16px;
  font-weight: 750;
  line-height: 1.5;
  margin-bottom: 12px;
}
.wo-app p {
  line-height: 1.65;
}
.wo-app small {
  font-size: 12px;
}
.wo-app hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 27px 0;
}
.wo-app .muted {
  color: var(--muted);
}
.wo-app .accent {
  color: var(--accent-text);
}
.wo-app .red-text {
  color: var(--danger) !important;
}
.wo-app .small-text {
  font-size: 13px;
}
.wo-app .wide {
  width: 100%;
}
.wo-app .primary {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: var(--surface) !important;
}
.wo-app .primary:hover {
  background: var(--accent-hover) !important;
  border-color: var(--accent-hover) !important;
}
[data-wmk-theme="dark"] .wo-app .primary {
  color: #0b2517 !important;
}
.wo-app .danger {
  background: var(--danger);
  border-color: var(--danger);
  color: white;
}
[data-wmk-theme="dark"] .wo-app .danger {
  color: #2c1010;
}
.wo-app .danger-outline {
  color: var(--danger);
  background: var(--danger-soft);
  border-color: transparent;
}
.wo-app .danger-outline:hover {
  border-color: var(--danger);
}
.wo-app .icon-button {
  padding: 8px;
  min-width: 34px;
  min-height: 34px;
  border-color: transparent;
  background: transparent;
}
.wo-app .text-button {
  background: transparent;
  border-color: transparent;
  justify-content: flex-start;
  padding: 8px 0;
}
.wo-app .compact {
  padding: 8px 12px;
  min-height: 35px;
  font-size: 12px;
}
.wo-app .actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wo-app .actions.tight {
  gap: 2px;
}
.wo-app .eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-text);
  display: block;
  margin-bottom: 12px;
}
.wo-app .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.wo-app .loading {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  color: var(--muted);
}
.wo-app .spin {
  animation: wo-workout-spin 1s linear infinite;
}
@keyframes wo-workout-spin {
  to {
    transform: rotate(360deg);
  }
}
.wo-app .brand {
  display: flex;
  gap: 11px;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  font-family: Manrope, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.wo-app .brand svg {
  color: var(--accent);
}
.wo-app .brand small {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 7px;
  letter-spacing: 0.17em;
  color: var(--muted);
  margin-top: 3px;
  font-weight: 600;
}
.wo-app .shell {
  display: flex;
  min-height: 100vh;
}
.wo-app .sidebar {
  width: 232px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  position: fixed;
  left: 0;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 32px 22px;
  z-index: 10;
}
.wo-app .sidebar .brand {
  margin: 0 0 48px;
}
.wo-app .sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.wo-app .sidebar nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  text-decoration: none;
  padding: 13px 15px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 550;
}
.wo-app .sidebar nav a svg {
  width: 19px;
  height: 19px;
}
.wo-app .sidebar nav a.active {
  background: var(--accent-soft);
  color: var(--accent-text);
  font-weight: 650;
}
.wo-app .sidebar nav a:hover {
  background: var(--surface-soft);
}
.wo-app .sidebar-bottom {
  margin-top: auto;
}
.wo-app .sidebar-bottom .theme-control {
  margin-bottom: 22px;
}
.wo-app .avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 15px;
  font-weight: 700;
}
.wo-app .avatar.small {
  width: 31px;
  height: 31px;
  font-size: 12px;
}
.wo-app .workspace {
  padding: 42px 40px 28px;
  margin-left: 232px;
  width: calc(100% - 232px);
  max-width: 1750px;
}
.wo-app .page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.wo-app .page-heading p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.wo-app .page-heading .eyebrow {
  margin-bottom: 9px;
}
.wo-app .panel {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  overflow: hidden;
}
.wo-app .padded {
  padding: 24px;
}
.wo-app .section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 21px 24px;
  border-bottom: 1px solid var(--border);
}
.wo-app .section-heading h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wo-app .section-heading p {
  color: var(--muted);
  font-size: 12px;
  margin: 4px 0 0;
}
.wo-app .section-heading.flush {
  padding: 0 0 20px;
  border: 0;
}

.wo-app .sequence-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.wo-app .subtle-link {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-weight: 600;
}
.wo-app .stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 27px;
}
.wo-app .stat {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 24px;
}
.wo-app .stat strong {
  display: block;
  font:
    800 29px/1.2 Manrope,
    sans-serif;
  letter-spacing: -0.04em;
}
.wo-app .stat div > span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
}
.wo-app .round-icon {
  width: 45px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent-text);
  flex-shrink: 0;
}
.wo-app .round-icon.neutral {
  background: var(--surface-soft);
  color: var(--muted);
}
.wo-app .round-icon.large {
  width: 66px;
  height: 66px;
  border-radius: 20px;
}
.wo-app .table-wrap {
  overflow: auto;
}
.wo-app table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  text-align: left;
}
.wo-app th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.065em;
  background: var(--surface-soft);
  color: var(--muted);
  font-weight: 600;
  padding: 14px 24px;
}
.wo-app td {
  padding: 19px 24px;
  border-top: 1px solid var(--border);
  white-space: nowrap;
}
.wo-app td:last-child {
  text-align: right;
}
.wo-app td small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
  font-size: 10px;
}
.wo-app .customer-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wo-app .customer-cell strong {
  font-weight: 600;
}
.wo-app .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 20px;
  padding: 6px 10px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.wo-app .badge i {
  height: 6px;
  width: 6px;
  background: currentColor;
  border-radius: 50%;
}
.wo-app .badge.green {
  background: var(--accent-soft);
  color: var(--accent-text);
}
.wo-app .badge.amber {
  background: var(--warning-soft);
  color: var(--warning);
}
.wo-app .workout-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.wo-app .workout-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  min-width: 0;
}
.wo-app .card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}
.wo-app .type-tag {
  font-size: 9px;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  padding: 5px 7px;
  border-radius: 5px;
  white-space: nowrap;
}
.wo-app .workout-card h3 {
  font-size: 14px;
  margin: 0 0 14px;
  letter-spacing: -0.025em;
}
.wo-app .workout-meta {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 22px;
}
.wo-app .workout-meta span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.wo-app .card-footer {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: flex;
  gap: 6px;
  justify-content: space-between;
}
.wo-app .card-footer .button {
  flex: 1;
}
.wo-app .bottom-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  margin-top: 30px;
}
.wo-app .filter-bar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.wo-app .filter-bar > input {
  max-width: 220px;
}
.wo-app .tabs {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px;
}
.wo-app .tabs button {
  min-height: 33px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 7px 12px;
  font-size: 12px;
}
.wo-app .tabs .selected {
  color: var(--accent-text);
  background: var(--accent-soft);
  border-color: transparent;
}
.wo-app .library {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.wo-app .library .workout-card {
  padding: 24px;
}
.wo-app .library .workout-card h3 {
  font-size: 17px;
}
.wo-app .library .workout-meta {
  flex-direction: row;
  gap: 20px;
}
.wo-app .empty {
  text-align: center;
  padding: 50px 24px;
}
.wo-app .empty > svg {
  color: var(--accent);
  margin-bottom: 15px;
}
.wo-app .empty h3 {
  font-size: 18px;
  margin-bottom: 7px;
}
.wo-app .empty p {
  color: var(--muted);
  font-size: 13px;
  max-width: 400px;
  margin: 0 auto 20px;
}
.wo-app .theme-control {
  display: flex;
  align-items: center;
  flex: none;
}
.wo-app .workout-appearance {
  float: right;
  margin: 0 0 12px 16px;
}
.wo-app .notice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 13px 15px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
  margin: 16px 0;
}
.wo-app .notice svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.wo-app .notice.error {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: var(--danger);
}
.wo-app .notice.green {
  background: var(--accent-soft);
  color: var(--accent-text);
  border-color: transparent;
}
.wo-app .notice.warning {
  background: var(--warning-soft);
  color: var(--warning);
  border-color: transparent;
}
.wo-app .fine-print {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin: 14px 0 0;
}
.wo-app .center-page {
  min-height: 100dvh;
  max-width: 620px;
  padding: 70px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
  text-align: center;
}
.wo-app .center-page .brand {
  margin-bottom: 20px;
}
.wo-app input,
.wo-app select,
.wo-app textarea {
  /* Preserve WordPress select arrows, including their size and no-repeat position. */
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  padding: 11px 12px;
  min-height: 40px;
  width: 100%;
  font-size: 13px;
  transition: border 0.15s;
}
.wo-app input::placeholder,
.wo-app textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}
.wo-app input:focus,
.wo-app select:focus,
.wo-app textarea:focus {
  border-color: var(--accent);
}
.wo-app textarea {
  resize: vertical;
}
.wo-app input[type="checkbox"],
.wo-app input[type="radio"] {
  accent-color: var(--accent);
  width: 17px;
  height: 17px;
  min-height: 0;
  flex-shrink: 0;
}
.wo-app input[type="range"] {
  padding: 0;
  accent-color: var(--accent);
  border: none;
  background: transparent;
}
.wo-app .field {
  display: block;
  margin-bottom: 20px;
  min-width: 0;
}
.wo-app .field > span {
  display: block;
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 8px;
}
.wo-app .field > small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  margin-top: 6px;
}
.wo-app .field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.wo-app .back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 23px;
}
.wo-app .editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr);
  gap: 24px;
}
.wo-app .type-tabs button {
  flex: 1;
}
.wo-app .duration-note {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
}
.wo-app .slot-editor {
  padding: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 14px;
}
.wo-app .slot-editor > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.wo-app .slot-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  min-width: 0;
}
.wo-app .slot-kind {
  min-width: 0;
}
.wo-app .slot-kind select {
  min-height: 35px;
  padding: 6px 24px 6px 9px;
  font-size: 12px;
}
.wo-app .slot-fields {
  display: grid;
  grid-template-columns: minmax(120px, 1.5fr) minmax(85px, 1fr) minmax(
      85px,
      1fr
    );
  gap: 10px;
}
.wo-app .slot-fields .field {
  margin-bottom: 0;
}
.wo-app .slot-fields .field > span {
  font-size: 11px;
}
.wo-app .slot-fields .exercise-note input {
  width: 100%;
}
.wo-app .drag-handle {
  touch-action: none;
  cursor: grab;
  user-select: none;
}
.wo-app .is-dragging {
  opacity: 0.65;
}
.wo-app .is-dragging .drag-handle {
  cursor: grabbing;
}
.wo-app .slot-editor.drop-target {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.wo-app .slot-editor.rest-slot {
  background: var(--rest-soft);
  border-color: var(--rest);
}
.wo-app .rest-slot .step-number {
  color: var(--rest);
  background: var(--surface);
}
.wo-app .slot-add-actions {
  flex-wrap: wrap;
}
.wo-app .slot-add-actions > button {
  flex: 1;
}
.wo-app .session-row {
  cursor: pointer;
}
.wo-app .session-row:hover td {
  background: var(--surface-soft);
}
.wo-app .session-row:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.wo-app .session-row-actions {
  flex-wrap: nowrap;
  justify-content: flex-end;
}
.wo-app .repetition-counter {
  margin: 24px 0 16px;
  padding: 20px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.wo-app .repetition-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  justify-content: center;
  align-items: center;
}
.wo-app .repetition-heading h3 {
  margin: 0;
  font-size: 15px;
}
.wo-app .repetition-heading > span {
  color: var(--muted);
  font-size: 12px;
}
.wo-app .repetition-value {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  margin: 10px 0 18px;
}
.wo-app .repetition-value output {
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  color: var(--accent-text);
}
.wo-app .repetition-value > span {
  color: var(--muted);
  font-size: 15px;
}
.wo-app .repetition-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.wo-app .repetition-actions > button {
  min-height: 42px;
}
.wo-app .repetition-counter .fine-print {
  margin-bottom: 0;
  text-align: center;
}
@media (max-width: 480px) {
  .wo-app .repetition-counter {
    padding: 14px;
  }
  .wo-app .repetition-actions > button {
    flex: 1 1 auto;
    font-size: 12px;
  }
  .wo-app .repetition-actions > .text-button {
    flex-basis: 100%;
  }
}
.wo-app .sounds-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.wo-app .sounds-layout h2 {
  display: flex;
  align-items: center;
  gap: 9px;
}
.wo-app .sounds-layout .field input[type="file"] {
  width: 100%;
  min-width: 0;
  padding: 10px;
  font-size: 12px;
}
.wo-app .sounds-layout input[type="file"]::file-selector-button {
  padding: 7px 9px;
  margin-right: 10px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface-soft);
  color: var(--text);
  cursor: pointer;
}
.wo-app .sound-file-selection {
  overflow-wrap: anywhere;
}
.wo-app .sound-asset-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wo-app .sound-asset-list > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px 40px;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--border);
  padding: 20px 24px;
}
.wo-app .sound-asset-info {
  min-width: 0;
}
.wo-app .sound-asset-info strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 13px;
}
.wo-app .sound-asset-info small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}
.wo-app .sound-asset-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.wo-app .sound-asset-list audio {
  max-width: 100%;
  width: 300px;
  height: 42px;
}
.wo-app .sound-library-note {
  padding: 0 24px 20px;
  margin: 0;
}
@media (max-width: 850px) {
  .wo-app .sounds-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .wo-app .sound-asset-list > li {
    grid-template-columns: minmax(0, 1fr) 40px;
    align-items: start;
    padding: 16px;
    gap: 12px;
  }
  .wo-app .sound-asset-list audio {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }
  .wo-app .sound-asset-list > li > .icon-button {
    grid-column: 2;
    grid-row: 1;
  }
  .wo-app .sound-library-note {
    padding-inline: 16px;
  }
}
.wo-app .workout-help {
  padding: 12px;
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.7;
}
.wo-app .workout-help summary {
  cursor: pointer;
  font-weight: 600;
}
.wo-app .workout-help p {
  margin-bottom: 0;
  color: var(--muted);
}
.wo-app .duration-fields {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
  min-width: 0;
}
.wo-app .duration-fields legend {
  font-size: 12px;
  margin-bottom: 8px;
}
.wo-app .duration-fields > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.wo-app .duration-fields .field {
  margin: 0;
}
.wo-app .duration-fields small {
  display: block;
  font-size: 10px;
  margin-top: 6px;
  color: var(--muted);
}
.wo-app .step-number {
  width: 23px;
  height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-text);
  background: var(--accent-soft);
  border-radius: 6px;
}
.wo-app .exercise-editor {
  display: grid;
  grid-template-columns:
    minmax(110px, 1.8fr) minmax(80px, 1fr) minmax(80px, 1fr)
    26px;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}
.wo-app .exercise-editor .field {
  margin-bottom: 0;
}
.wo-app .exercise-editor .field > span {
  font-size: 10px;
}
.wo-app .exercise-editor input {
  font-size: 11px;
  padding: 9px;
}
.wo-app .exercise-note {
  grid-column: 1/-1;
}
.wo-app .exercise-note input {
  border-color: transparent;
  background: transparent;
  padding: 4px 0;
  min-height: 26px;
  font-size: 10px;
}
.wo-app .exercise-editor > .icon-button {
  margin-top: 19px;
  min-width: 26px;
  padding: 3px;
}
.wo-app .slot-editor .text-button {
  font-size: 11px;
  min-height: 24px;
}
.wo-app .dashed {
  border-style: dashed;
  background: transparent;
  color: var(--accent-text);
}
.wo-app .sound-option {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 18px 0;
}
.wo-app .sound-option strong {
  display: block;
  font-size: 12px;
}
.wo-app .sound-option small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.wo-app .check-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  margin: 0 0 18px;
}
.wo-app .editor-preview {
  min-width: 0;
}
.wo-app .editor-preview > .panel {
  position: sticky;
  top: 20px;
}
.wo-app .mini-preview {
  border-radius: 9px;
  background: var(--timer);
  color: var(--timer-text);
  border: 1px solid var(--border);
  text-align: center;
  padding: 30px 18px;
}
.wo-app .mini-preview .eyebrow {
  color: var(--muted);
}
.wo-app .preview-timer {
  font:
    800 clamp(40px, 5vw, 76px)/1.2 Manrope,
    sans-serif;
  letter-spacing: -0.07em;
  font-variant-numeric: tabular-nums;
  margin: 18px 0;
}
.wo-app .preview-line {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}
.wo-app .preview-timer.preview-rest {
  color: var(--rest);
}
.wo-app .mini-preview h3 {
  color: var(--timer-text);
  font-size: 20px;
}
.wo-app .mini-preview p {
  font-size: 12px;
  margin: 0;
  color: var(--muted);
}
.wo-app .editor-preview .section-heading .small-text {
  font-size: 10px;
}
.wo-app .session-create-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(270px, 1fr);
  gap: 24px;
}
.wo-app .form-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.wo-app .form-section-title h2 {
  margin: 0;
  font-size: 16px;
}
.wo-app .select-workouts {
  display: grid;
  gap: 10px;
}
.wo-app .select-workout {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}
.wo-app .select-workout.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.wo-app .select-workout .round-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}
.wo-app .select-workout strong {
  display: block;
  font-size: 13px;
}
.wo-app .select-workout small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 5px;
}
.wo-app .select-workout > svg {
  margin-left: auto;
}
.wo-app .session-create-layout .field-grid {
  grid-template-columns: 1fr 1fr;
}
.wo-app .session-create-layout .fine-print {
  margin: 0 0 25px;
}
.wo-app .preview-exercises {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}
.wo-app .preview-exercises li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 9px 0;
}
.wo-app .preview-exercises svg {
  color: var(--accent);
}
.wo-app .summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 10px 0;
}
.wo-app .summary-line > span {
  color: var(--muted);
}
.wo-app .howto {
  padding-left: 20px;
  font-size: 12px;
  line-height: 2.6;
  color: var(--muted);
}
.wo-app .success-panel {
  padding: 42px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.wo-app .success-panel > .round-icon {
  margin-bottom: 22px;
}
.wo-app .success-panel h2 {
  font-size: 27px;
  margin-bottom: 10px;
}
.wo-app .link-share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}
.wo-app .link-share label {
  flex: 1;
  min-width: 160px;
}
.wo-app .link-share input {
  font-size: 12px;
  min-height: 42px;
}
.wo-app .link-share small {
  flex: 1 0 100%;
  color: var(--danger);
}
.wo-app .live-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.wo-app .live-header {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 19px 30px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.wo-app .live-header .brand {
  font-size: 16px;
}
.wo-app .live-header .brand small {
  display: none;
}
.wo-app .live-header .back-link {
  margin: 0;
  border-left: 1px solid var(--border);
  padding-left: 24px;
  white-space: nowrap;
}
.wo-app .live-title {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}
.wo-app .live-title strong {
  font-size: 13px;
}
.wo-app .live-title > span {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.wo-app .live-header .theme-control {
  flex-shrink: 0;
}
.wo-app .live-main {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 26px 30px;
  flex: 1;
}
.wo-app .live-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(290px, 1fr);
  gap: 24px;
  align-items: start;
}
.wo-app .timer-panel {
  background: var(--timer);
  color: var(--timer-text);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 28px 36px;
  text-align: center;
  box-shadow: var(--shadow);
  position: sticky;
  top: 24px;
}
.wo-app .live-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}
.wo-app .live-badges .badge {
  padding: 8px 12px;
  font-size: 11px;
}
.wo-app .timer-eyebrow {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}
.wo-app .workout-digits {
  font-family: Manrope, sans-serif;
  font-size: clamp(72px, 11vw, 156px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.065em;
  font-variant-numeric: tabular-nums;
  margin: 6px 0 15px;
}
.wo-app .customer-repetition-digits {
  display: block;
}
.wo-app .repetition-complete-icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.1em;
  color: var(--accent);
}
.wo-app .customer-repetitions {
  margin-bottom: 20px;
}
.wo-app .customer-repetitions p {
  margin: 0;
}
.wo-app .timer-digits.last-seconds {
  color: var(--warning);
}
.wo-app .completion-icon {
  width: 120px;
  height: 120px;
  color: var(--accent);
  margin: 30px;
}
.wo-app .timer-exercises {
  min-height: 125px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.wo-app .timer-exercises h2 {
  font-size: clamp(24px, 2.5vw, 38px);
  margin-bottom: 6px;
  line-height: 1.25;
}
.wo-app .timer-exercises p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.wo-app .progress-track {
  height: 7px;
  background: var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin: 20px 0;
}
.wo-app .progress-track > span {
  height: 100%;
  background: var(--accent);
  border-radius: 10px;
  display: block;
  transition: width 0.12s linear;
}
.wo-app .next-step {
  padding: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.wo-app .next-step > span {
  font-size: 9px;
  letter-spacing: 0.07em;
  color: var(--muted);
}
.wo-app .next-step > strong {
  font-size: 13px;
  font-weight: 550;
}
.wo-app .trainer-actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 11px;
  margin-top: 30px;
}
.wo-app .trainer-actions button {
  min-height: 49px;
  font-size: 14px;
}
.wo-app .command-receipt {
  display: flex;
  gap: 7px;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  margin-top: 25px;
  line-height: 1.7;
}
.wo-app .command-receipt svg {
  color: var(--accent);
  flex-shrink: 0;
}
.wo-app .completed-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--accent-text);
  font-size: 12px;
}
.wo-app .presence-panel {
  padding: 22px;
}
.wo-app .presence-header {
  display: flex;
  gap: 12px;
  align-items: center;
}
.wo-app .presence-header h2 {
  font-size: 15px;
  margin: 0 0 3px;
}
.wo-app .presence-header span:not(.avatar) {
  font-size: 11px;
}
.wo-app .presence-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 18px;
}
.wo-app .presence-details span {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  border-radius: 6px;
  padding: 4px 8px;
}
.wo-app .presence-details .presence-positive {
  color: var(--accent-text);
  background: var(--accent-soft);
}
.wo-app .presence-details .presence-negative {
  color: var(--danger);
  background: var(--danger-soft);
}
.wo-app .presence-details .presence-warning {
  color: var(--warning);
  background: var(--warning-soft);
}
.wo-app .step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 440px;
  overflow-y: auto;
}
.wo-app .step-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 22px;
  border-bottom: 1px solid var(--border);
}
.wo-app .step-list li:last-child {
  border-bottom: 0;
}
.wo-app .step-list li.active {
  background: var(--accent-soft);
}
.wo-app .step-circle {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 11px;
  flex: none;
  border-radius: 50%;
}
.wo-app .step-list .active .step-circle {
  border: 2px solid var(--accent);
  color: var(--accent-text);
  font-weight: 700;
}
.wo-app .step-circle.done {
  background: var(--accent);
  color: var(--surface);
  border-color: var(--accent);
}
.wo-app .step-list li > div {
  flex: 1;
  min-width: 0;
}
.wo-app .step-list strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.wo-app .step-list small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.wo-app .jump-button {
  border: 1px solid var(--border);
  background: var(--surface);
  min-width: 29px;
  min-height: 29px;
  padding: 6px;
}
.wo-app .link-panel {
  padding: 22px;
}
.wo-app .link-panel .section-heading {
  padding-bottom: 7px;
}
.wo-app .link-panel .text-button {
  margin: 8px auto 0;
  display: flex;
  font-size: 11px;
}
.wo-app .live-footer {
  padding: 17px 30px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
}
.wo-app .live-footer > span {
  margin-left: auto;
}
.wo-app .customer-page .live-main {
  max-width: 1140px;
}
.wo-app .customer-page .live-grid {
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr);
}
.wo-app .customer-page .live-header .brand {
  font-size: 15px;
}
.wo-app .customer-page .timer-panel {
  padding: 26px 30px;
}
.wo-app .customer-page .workout-digits {
  font-size: clamp(70px, 10vw, 130px);
}
.wo-app .customer-page .live-badges {
  margin-bottom: 30px;
}
.wo-app .ready-screen > .round-icon {
  margin: 10px auto 22px;
}
.wo-app .ready-screen > .eyebrow {
  margin-bottom: 10px;
}
.wo-app .ready-screen h1 {
  font-size: 28px;
  margin-bottom: 8px;
}
.wo-app .ready-screen > p {
  color: var(--muted);
  font-size: 13px;
}
.wo-app .ready-exercises {
  list-style: none;
  text-align: left;
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 24px 0;
}
.wo-app .ready-exercises li {
  padding: 13px 2px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.wo-app .ready-exercises li:last-child {
  border-bottom: 0;
}
.wo-app .ready-exercises li small {
  color: var(--muted);
  font-size: 10px;
}
.wo-app .large-button {
  min-height: 52px;
  font-size: 14px;
}
.wo-app .ready-confirm {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 12px;
  padding: 16px;
  line-height: 1.7;
}
.wo-app .ready-screen .fine-print {
  font-size: 11px;
  max-width: 330px;
  margin: 16px auto;
}
.wo-app .audio-panel {
  padding: 22px;
}
.wo-app .audio-panel h2 {
  font-size: 15px;
}
.wo-app .audio-panel .actions {
  justify-content: space-between;
  gap: 5px;
}
.wo-app .audio-panel .compact {
  font-size: 10px;
}
.wo-app .volume-field {
  display: block;
  margin: 22px 0 12px;
}
.wo-app .volume-field > span {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
.wo-app .volume-field > span strong {
  font-weight: 500;
  color: var(--text);
}
.wo-app .volume-field input {
  min-height: 35px;
}
.wo-app .audio-panel .fine-print {
  font-size: 10px;
}
.wo-app .pause-message {
  background: var(--warning-soft);
  color: var(--warning);
  padding: 16px;
  font-size: 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.wo-app .is-paused .workout-digits {
  color: var(--muted);
}
.wo-app .timer-digits.rest-timer {
  color: var(--rest);
}
.wo-app .is-paused .timer-digits.rest-timer {
  color: var(--muted);
}
.wo-app .link-panel .link-share {
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.wo-app .link-panel .link-share > label {
  flex-basis: 100%;
  min-width: 0;
}
.wo-app .link-panel .link-share > button {
  width: 100%;
}
@media (max-width: 600px) {
  .wo-app .slot-editor {
    padding: 12px;
  }
  .wo-app .slot-editor > header {
    flex-wrap: wrap;
    gap: 10px;
  }
  .wo-app .slot-fields {
    grid-template-columns: 1fr 1fr;
  }
  .wo-app .slot-fields > .field:first-child {
    grid-column: 1 / -1;
  }
  .wo-app .slot-fields input {
    min-width: 0;
    width: 100%;
  }
  .wo-app .slot-heading {
    gap: 5px;
  }
}
.wo-app .training-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 15px;
  margin-top: 20px;
}
@media (min-width: 1550px) {
  .wo-app .workout-grid.library {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .wo-app .workspace {
    padding: 50px;
  }
  .wo-app .live-main {
    padding-top: 34px;
  }
  .wo-app .timer-panel {
    padding: 36px 45px;
  }
}
@media (max-width: 1200px) {
  .wo-app .sidebar {
    width: 200px;
    padding: 28px 16px;
  }
  .wo-app .sidebar .brand {
    font-size: 16px;
  }
  .wo-app .workspace {
    margin-left: 200px;
    width: calc(100% - 200px);
    padding: 32px 26px;
  }
  .wo-app .workout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wo-app .library {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wo-app .stats {
    gap: 13px;
  }
  .wo-app .stat {
    padding: 19px;
    gap: 13px;
  }
  .wo-app .stat strong {
    font-size: 25px;
  }
  .wo-app .editor-layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr);
    gap: 16px;
  }
  .wo-app .editor-layout .padded {
    padding: 19px;
  }
  .wo-app .exercise-editor {
    grid-template-columns: minmax(100px, 1.5fr) minmax(60px, 1fr) 25px;
  }
  .wo-app .exercise-editor > .field:nth-child(3) {
    grid-column: 1/3;
  }
  .wo-app .exercise-editor > .icon-button {
    grid-column: 3;
    grid-row: 1;
  }
  .wo-app .exercise-note {
    grid-column: 1/-1;
  }
  .wo-app .page-heading h1 {
    font-size: 27px;
  }
  .wo-app .live-grid {
    gap: 18px;
    grid-template-columns: minmax(0, 1.6fr) minmax(270px, 1fr);
  }
  .wo-app .live-main {
    padding: 22px;
  }
  .wo-app .timer-panel {
    padding: 25px;
  }
  .wo-app .live-header {
    gap: 18px;
  }
  .wo-app .live-header .brand {
    font-size: 14px;
  }
  .wo-app .trainer-actions {
    gap: 7px;
  }
  .wo-app .trainer-actions button {
    padding: 9px;
    font-size: 12px;
  }
  .wo-app .live-header .back-link {
    padding-left: 16px;
  }
  .wo-app .section-heading {
    padding: 18px 20px;
  }
}
@media (max-width: 950px) {
  .wo-app .page-heading {
    align-items: flex-start;
  }
  .wo-app .page-heading h1 {
    font-size: 25px;
  }
  .wo-app .page-heading .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .wo-app .editor-layout {
    grid-template-columns: 1fr;
  }
  .wo-app .editor-preview {
    max-width: none;
  }
  .wo-app .editor-preview > .panel {
    position: static;
  }
  .wo-app .mini-preview {
    padding: 20px;
  }
  .wo-app .editor-preview .preview-timer {
    font-size: 70px;
  }
  .wo-app .exercise-editor {
    grid-template-columns:
      minmax(110px, 1.8fr) minmax(80px, 1fr) minmax(80px, 1fr)
      26px;
  }
  .wo-app .exercise-editor > .field:nth-child(3) {
    grid-column: auto;
  }
  .wo-app .exercise-editor > .icon-button {
    grid-column: auto;
    grid-row: auto;
  }
  .wo-app .filter-bar {
    flex-direction: column;
    gap: 12px;
  }
  .wo-app .filter-bar > input {
    max-width: 100%;
  }
  .wo-app .stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .wo-app .stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }
  .wo-app .stat .round-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }
  .wo-app .stat .round-icon svg {
    width: 18px;
  }
  .wo-app .stat div > span {
    font-size: 10px;
  }
  .wo-app .session-create-layout {
    grid-template-columns: 1fr;
  }
  .wo-app .live-grid,
  .wo-app .customer-page .live-grid {
    grid-template-columns: 1fr 280px;
    gap: 15px;
  }
  .wo-app .timer-panel {
    padding: 22px 19px;
  }
  .wo-app .live-badges {
    margin-bottom: 25px;
  }
  .wo-app .live-badges .badge {
    font-size: 9px;
    padding: 7px 9px;
  }
  .wo-app .live-header .brand span {
    display: none;
  }
  .wo-app .live-title strong {
    font-size: 12px;
  }
  .wo-app .live-header {
    padding: 17px 22px;
  }
  .wo-app .timer-exercises h2 {
    font-size: 24px;
  }
  .wo-app .workout-digits {
    font-size: 100px;
  }
  .wo-app .customer-page .workout-digits {
    font-size: 88px;
  }
  .wo-app .trainer-actions {
    grid-template-columns: 1fr 1fr;
  }
  .wo-app .trainer-actions > button:first-child,
  .wo-app .trainer-actions > .completed-label {
    grid-column: 1/-1;
  }
  .wo-app .customer-page .live-header .brand span {
    display: block;
    font-size: 13px;
  }
  .wo-app .customer-page .live-header .brand small {
    display: none;
  }
  .wo-app .customer-page .live-header .live-title {
    display: none;
  }
  .wo-app .customer-page .live-header .theme-control {
    margin-left: auto;
  }
}
@media (max-width: 720px) {
  .wo-app .shell {
    display: block;
  }
  .wo-app .sidebar {
    position: static;
    height: auto;
    width: 100%;
    padding: 16px 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr auto;
  }
  .wo-app .sidebar .brand {
    margin: 0;
    font-size: 16px;
  }
  .wo-app .sidebar nav {
    grid-column: 1/-1;
    grid-row: 2;
    flex-direction: row;
    margin-top: 16px;
    gap: 4px;
  }
  .wo-app .sidebar nav a {
    flex: 1;
    justify-content: center;
    padding: 12px 8px;
    font-size: 12px;
    border-radius: 6px 6px 0 0;
    gap: 7px;
  }
  .wo-app .sidebar nav a svg {
    width: 16px;
    height: 16px;
  }
  .wo-app .sidebar nav {
    flex-wrap: wrap;
  }
  .wo-app .sidebar nav a {
    min-width: 0;
  }
  .wo-app .sidebar-bottom {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }
  .wo-app .sidebar-bottom .theme-control {
    margin: 0;
  }
  .wo-app .workspace {
    width: 100%;
    margin: 0;
    padding: 26px 20px;
  }
  .wo-app .page-heading {
    margin-bottom: 23px;
    gap: 15px;
  }
  .wo-app .page-heading h1 {
    font-size: 24px;
  }
  .wo-app .page-heading p {
    font-size: 12px;
  }
  .wo-app .page-heading > .button {
    font-size: 0;
    gap: 0;
    padding: 10px;
    min-width: 40px;
  }
  .wo-app .page-heading > .button > svg {
    width: 19px;
    height: 19px;
  }
  .wo-app .page-heading .eyebrow {
    font-size: 9px;
  }
  .wo-app .stats {
    gap: 9px;
    margin-bottom: 20px;
  }
  .wo-app .stat {
    padding: 14px;
  }
  .wo-app .stat strong {
    font-size: 24px;
  }
  .wo-app .section-heading {
    padding: 17px 18px;
  }
  .wo-app .section-heading h2 {
    font-size: 16px;
  }
  .wo-app .section-heading .subtle-link {
    font-size: 10px;
  }
  .wo-app .padded {
    padding: 18px;
  }
  .wo-app .panel {
    margin-bottom: 20px;
  }
  .wo-app .section-heading.flush {
    align-items: flex-start;
  }
  .wo-app .section-heading.flush > .button {
    font-size: 10px;
    white-space: normal;
    padding: 7px 9px;
    min-height: 30px;
  }
  .wo-app .workout-grid {
    gap: 11px;
  }
  .wo-app .workout-card {
    padding: 15px;
  }
  .wo-app .workout-card .round-icon {
    width: 35px;
    height: 35px;
    border-radius: 10px;
  }
  .wo-app .workout-card .round-icon svg {
    width: 19px;
  }
  .wo-app .workout-card h3 {
    font-size: 13px;
  }
  .wo-app .workout-card .type-tag {
    font-size: 8px;
    padding: 4px;
  }
  .wo-app .workout-meta {
    font-size: 11px;
    margin-bottom: 17px;
  }
  .wo-app .card-footer .compact {
    font-size: 10px;
    padding: 7px 9px;
  }
  .wo-app .library .workout-card {
    padding: 17px;
  }
  .wo-app .library .workout-card h3 {
    font-size: 14px;
  }
  .wo-app .library .workout-meta {
    flex-direction: column;
    gap: 8px;
  }
  .wo-app .tabs {
    overflow: auto;
  }
  .wo-app .tabs button {
    font-size: 11px;
    padding: 7px 10px;
  }
  .wo-app .page-heading .actions {
    flex-direction: row;
  }
  .wo-app .page-heading .actions .button,
  .wo-app .page-heading .actions button {
    font-size: 11px;
    padding: 8px 10px;
  }
  .wo-app .page-heading .actions .button {
    display: none;
  }
  .wo-app .back-link {
    font-size: 11px;
    margin-bottom: 18px;
  }
  .wo-app .field-grid {
    gap: 10px;
  }
  .wo-app .field > span {
    font-size: 11px;
  }
  .wo-app .session-create-layout .field-grid {
    grid-template-columns: 1fr;
  }
  .wo-app .success-panel {
    padding: 27px 20px;
  }
  .wo-app .success-panel h2 {
    font-size: 24px;
  }
  .wo-app .link-share {
    flex-direction: column;
  }
  .wo-app .link-share > label {
    flex: auto;
  }
  .wo-app .editor-layout .padded {
    padding: 17px;
  }
  .wo-app .exercise-editor {
    grid-template-columns: minmax(80px, 1.5fr) minmax(70px, 1fr) 25px;
  }
  .wo-app .exercise-editor > .field:nth-child(3) {
    grid-column: 1/3;
  }
  .wo-app .exercise-editor > .icon-button {
    grid-column: 3;
    grid-row: 1;
  }
  .wo-app .live-header {
    gap: 12px;
    padding: 15px 16px;
    flex-wrap: wrap;
  }
  .wo-app .live-header .back-link {
    font-size: 10px;
    padding-left: 12px;
  }
  .wo-app .live-title {
    flex: 1;
  }
  .wo-app .live-header .theme-control {
    padding: 4px 6px;
  }
  .wo-app .live-header .theme-control select {
    font-size: 10px;
  }
  .wo-app .live-main {
    padding: 16px;
  }
  .wo-app .live-grid,
  .wo-app .customer-page .live-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .wo-app .timer-panel {
    position: static;
    padding: 23px;
    margin-bottom: 18px;
  }
  .wo-app .workout-digits,
  .wo-app .customer-page .workout-digits {
    font-size: clamp(95px, 22vw, 140px);
    line-height: 1.25;
    margin: 10px 0;
  }
  .wo-app .timer-eyebrow {
    font-size: 12px;
  }
  .wo-app .timer-exercises {
    min-height: 100px;
  }
  .wo-app .timer-exercises h2 {
    font-size: 27px;
  }
  .wo-app .timer-exercises p {
    font-size: 12px;
  }
  .wo-app .trainer-actions {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 8px;
  }
  .wo-app .trainer-actions > button:first-child,
  .wo-app .trainer-actions > .completed-label {
    grid-column: auto;
  }
  .wo-app .trainer-actions button {
    font-size: 12px;
    padding: 10px 7px;
  }
  .wo-app .trainer-actions svg {
    width: 15px;
  }
  .wo-app .command-receipt {
    font-size: 10px;
  }
  .wo-app .live-badges {
    margin-bottom: 27px;
  }
  .wo-app .live-badges .badge {
    font-size: 10px;
    padding: 7px 10px;
  }
  .wo-app .presence-panel {
    padding: 18px;
  }
  .wo-app .live-side .panel {
    margin-bottom: 18px;
  }
  .wo-app .customer-page .timer-panel {
    padding: 22px;
  }
  .wo-app .customer-page .live-badges {
    margin-bottom: 20px;
  }
  .wo-app .customer-page .live-header .brand span {
    font-size: 13px;
  }
  .wo-app .customer-page .live-header .brand svg {
    width: 24px;
  }
  .wo-app .customer-page .live-header .theme-control {
    margin-left: auto;
  }
  .wo-app .customer-page .live-header > .icon-button {
    padding: 5px;
    min-width: 25px;
  }
  .wo-app .customer-page .live-header {
    gap: 10px;
  }
  .wo-app .ready-screen h1 {
    font-size: 26px;
  }
  .wo-app .ready-screen > .round-icon {
    margin-top: 0;
  }
  .wo-app .ready-screen > .eyebrow {
    font-size: 9px;
  }
  .wo-app .ready-screen > p {
    font-size: 12px;
  }
  .wo-app .customer-page .sequence-panel .step-list {
    max-height: 320px;
  }
  .wo-app .customer-page .live-footer {
    padding: 16px;
    font-size: 9px;
    justify-content: center;
  }
  .wo-app .live-footer > span {
    display: none;
  }
  .wo-app .audio-panel {
    padding: 18px;
  }
  .wo-app .audio-panel .actions {
    justify-content: flex-start;
    gap: 10px;
  }
  .wo-app .audio-panel .compact {
    font-size: 12px;
  }
  .wo-app .audio-panel .fine-print {
    font-size: 11px;
  }
  .wo-app .volume-field {
    margin-top: 18px;
  }
  .wo-app .volume-field > span {
    font-size: 12px;
  }
  .wo-app .training-note {
    font-size: 12px;
  }
  .wo-app .bottom-note {
    font-size: 9px;
  }
  .wo-app .center-page {
    padding: 40px 20px;
  }
}
@media (max-width: 480px) {
  .wo-app .sidebar nav a {
    padding-inline: 5px;
    gap: 4px;
    font-size: 11px;
  }
  .wo-app .sidebar nav a svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }
}
@media (max-width: 720px) {
  .wo-app .sidebar-bottom {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .wo-app .sidebar-bottom > .text-button {
    display: inline-flex;
    font-size: 0;
    padding: 5px;
    min-height: 30px;
  }
  .wo-app .sidebar-bottom > .text-button svg {
    width: 17px;
    height: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wo-app *,
  .wo-app *::before,
  .wo-app *::after {
    animation-duration: 0.01ms !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* WordPress owns the outer viewport. The scoped pilot surface never styles the host. */
.wo-app { min-width:0; width:100%; line-height:1.5; text-align:left; }
.wo-app *{box-sizing:border-box}.wo-app [hidden]{display:none!important}
.wo-app .shell{min-height:calc(100dvh - 32px);align-items:stretch}
.wo-app .sidebar{position:sticky;top:32px;left:auto;flex:0 0 232px;height:calc(100dvh - 32px)}
.wo-app .workspace{margin-left:0;min-width:0;flex:1;width:auto}
.wo-app .sidebar nav button{display:flex;align-items:center;gap:13px;color:var(--muted);text-decoration:none;padding:13px 15px;border:0;border-radius:8px;font-size:14px;font-weight:550;justify-content:flex-start;background:transparent;width:100%}
.wo-app .sidebar nav button[aria-current=page]{background:var(--accent-soft);color:var(--accent-text);font-weight:650}
.wo-app .sidebar nav button:hover{background:var(--surface-soft)}
.wo-app .sidebar nav button svg{width:19px;height:19px}
.wo-app svg.wo-glyph{width:18px;height:18px;flex:none;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.wo-app .brand svg.wo-glyph{width:31px;height:31px}
.wo-app .wmk-theme-select{font:inherit;display:flex;align-items:center;gap:6px;margin:0}

.wo-app .wo-field{display:block;font-size:12px;font-weight:600;margin:0 0 20px;min-width:0}.wo-app .wo-field>input,.wo-app .wo-field>select,.wo-app .wo-field>textarea{display:block;margin-top:8px;font-weight:400;height:auto}
.wo-app .wo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:15px}
.wo-app .wo-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:16px 0}
.wo-app .btn{font:inherit;font-size:13px;box-shadow:none}.wo-app .btn-primary{background:var(--accent);border-color:var(--accent);color:var(--surface)}.wo-app .btn-secondary,.wo-app .btn-outline-secondary{background:var(--surface);border-color:var(--border);color:var(--text)}.wo-app .btn-outline-primary{color:var(--accent-text);border-color:var(--border)}.wo-app .btn-outline-danger{color:var(--danger);background:var(--danger-soft);border-color:transparent}
.wo-app .card-footer{background:transparent;padding:14px 0 0;border-radius:0}.wo-app .badge{font-weight:600;line-height:1.4}
.wo-app [data-wo-message]:empty{display:none}.wo-app [data-wo-message]:not(:empty){padding:13px 15px;border:1px solid var(--border);background:var(--accent-soft);color:var(--accent-text);border-radius:8px;margin:0 0 20px;font-size:13px}.wo-app [data-wo-message].wo-error{background:var(--danger-soft);color:var(--danger)}
.wo-app .wo-drag{touch-action:none;user-select:none}.wo-app .wo-drop-target{outline:3px solid var(--accent);outline-offset:2px}.wo-app .wo-icon{padding:8px;min-width:34px;min-height:34px;border-color:transparent;background:transparent;color:var(--muted);line-height:1}
.wo-app .wo-choice{display:flex;width:100%;text-align:left;white-space:normal;justify-content:flex-start;margin:7px 0}.wo-app [data-customer-results]{max-height:280px;overflow:auto}.wo-app [data-selected-customer]{font-size:12px;color:var(--muted)}
.wo-app .wo-customer{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:10px;white-space:normal}
.wo-app .wo-live .wo-timer.wo-warning{color:var(--warning)}.wo-app .wo-live .wo-timer.wo-rest{color:var(--rest)}
.wo-app .wo-progress{height:7px;background:var(--border);border-radius:10px;overflow:hidden;margin:20px 0}.wo-app .wo-progress span{height:100%;display:block;background:var(--accent);transition:width .12s linear}
.wo-app .wo-live [data-history]{font-size:12px}.wo-app details{margin:12px 0}.wo-app details summary{cursor:pointer}.wo-app fieldset{min-width:0}.wo-app .field-grid>*,.wo-app .slot-fields>*{min-width:0}
.wo-app:fullscreen{max-width:none;width:100%;height:100%;overflow:auto;background:var(--bg)}
.wo-app .wo-compact-list{font:inherit}.wo-compact-list{font:inherit}.wo-compact-row{display:flex;gap:.5em;align-items:center;padding:.55em 0;border-bottom:1px solid var(--wmk-ui-border,#e3e9e5);font:inherit}.wo-compact-row>strong{flex:1;min-width:0;font-size:inherit}.wo-compact-row .wo-row-icons{display:flex;gap:.35em}.wo-compact-row .wo-icon{display:inline-flex;justify-content:center;align-items:center;width:2em;height:2em;min-width:0;min-height:0;padding:.3em;border:0;border-radius:.3em;background:transparent;color:var(--wmk-ui-primary,#13805c);font:inherit;text-decoration:none}.wo-compact-row .wo-icon:disabled{opacity:.4}.wo-compact-row .wo-icon svg{width:1.2em;height:1.2em;stroke:currentColor;fill:none;stroke-width:1.8}
[data-wmk-theme=dark] .wo-app,.wo-app[data-wmk-theme=dark]{--bg:var(--wmk-ui-bg,#111820);--surface:var(--wmk-ui-surface,#18222d);--surface-soft:var(--wmk-ui-surface-soft,#202c38);--text:var(--wmk-ui-text,#e6edf4);--muted:var(--wmk-ui-muted,#9aaabd);--border:var(--wmk-ui-border,#344253);--accent:var(--wmk-ui-primary,#8aa4ff);--accent-hover:var(--wmk-ui-primary,#8aa4ff);--accent-soft:var(--wmk-ui-hover,#29384b);--accent-text:var(--wmk-ui-primary,#8aa4ff);--danger:var(--wmk-ui-danger-text,#f1a4aa);--danger-soft:var(--wmk-ui-danger-bg,#422931);--warning:var(--wmk-ui-warning-text,#e3bd74);--warning-soft:var(--wmk-ui-warning-bg,#393222);--rest:var(--wmk-ui-warning-text,#ffac69);--rest-soft:var(--wmk-ui-warning-bg,#3b2a1e);--timer:var(--wmk-ui-surface,#18222d);--timer-text:var(--wmk-ui-text,#e6edf4);--shadow:0 4px 24px #0000000c;color-scheme:dark}
[data-wmk-theme=dark] .wo-app .primary,[data-wmk-theme=dark] .wo-app .btn-primary{color:var(--wmk-ui-on-primary,#111820)!important}
@media(max-width:1200px){.wo-app .sidebar{flex-basis:200px}}
@media(max-width:720px){.wo-app .shell{display:block}.wo-app .sidebar{position:static;height:auto;width:100%;display:grid}.wo-app .workspace{width:100%;margin:0}.wo-app .sidebar nav button{width:auto;flex:1;justify-content:center;padding:12px 8px;font-size:12px;gap:7px;border-radius:6px 6px 0 0}.wo-app .sidebar nav button svg{width:16px;height:16px}.wo-app .page-heading>.button{font-size:0}.wo-app .page-heading>.button svg{width:19px;height:19px}.wo-app .sidebar nav{overflow-x:auto}.wo-app .sidebar nav button{min-width:70px}.wo-app .field-grid{grid-template-columns:1fr 1fr}.wo-app .live-header .brand{min-width:0}.wo-app .customer-page .timer-panel{padding:22px 16px}.wo-app .workout-digits{overflow-wrap:normal}.wo-app .link-share input{min-width:0}}
@media(orientation:landscape) and (max-height:550px){.wo-app .workout-digits,.wo-app .customer-page .workout-digits{font-size:72px}.wo-app .timer-panel{position:static;padding:15px}.wo-app .live-badges{margin-bottom:16px}}

.wo-app .sidebar{top:var(--wmk-workout-admin-top,32px);height:calc(100dvh - var(--wmk-workout-admin-top,32px))}.wo-app .shell{min-height:calc(100dvh - var(--wmk-workout-admin-top,32px))}@media(max-width:720px){.wo-app .sidebar{height:auto}.wo-app .sidebar nav{min-width:0;max-width:100%}}

/* The available WordPress content width, rather than the viewport, drives table density. */
.wo-app .workspace { container-type: inline-size; container-name: workout-workspace; }
.wo-app .sessions-table td { white-space: normal; overflow-wrap: anywhere; }
.wo-app .session-date { min-width: 100px; }
.wo-app .session-date small { white-space: nowrap; }
.wo-app .sessions-table .customer-cell { min-width: 90px; }
.wo-app .sessions-table .avatar { flex-shrink: 0; }
@container workout-workspace (max-width: 950px) {
  .wo-app .sessions-table th, .wo-app .sessions-table td { padding-left: 14px; padding-right: 14px; }
  .wo-app .session-control span { display: none; }
  .wo-app .session-control { width: 34px; min-height: 34px; padding: 7px; }
  .wo-app .session-row-actions { gap: 5px; }
}
@container workout-workspace (max-width: 620px) {
  .wo-app .sessions-table th, .wo-app .sessions-table td { padding-left: 10px; padding-right: 10px; }
  .wo-app .sessions-table th:nth-child(2), .wo-app .sessions-table td:nth-child(2) { display: none; }
  .wo-app .sessions-table .customer-cell .avatar { display: none; }
  .wo-app .session-row-actions { flex-wrap: wrap; }
  .wo-app .sessions-table .badge { white-space: normal; }
}

.wo-app .sessions-table .session-mobile-workout { display: none; }
@container workout-workspace (max-width: 620px) {
  .wo-app .sessions-table .session-mobile-workout { display: block; }
}
@container workout-workspace (max-width: 420px) {
  .wo-app .sessions-table, .wo-app .sessions-table tbody { display: block; }
  .wo-app .sessions-table thead { display: none; }
  .wo-app .sessions-table tr { display: grid; grid-template-columns: minmax(0,1fr) auto; padding: 12px; border-top: 1px solid var(--border); }
  .wo-app .sessions-table td { border: 0; padding: 6px 0; }
  .wo-app .sessions-table td:nth-child(3) { text-align: right; }
  .wo-app .sessions-table td:last-child { align-self: end; }
}

.wo-app .greeting-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.65; }
.wo-app .greeting-card textarea, .wo-app .greeting-settings textarea { width: 100%; resize: vertical; min-height: 110px; }
.wo-app .greeting-actions { flex-wrap: wrap; }
.wo-app .greeting-actions button { white-space: normal; }
.wo-app .published-greeting { margin-top: 26px; padding: 24px; border: 1px solid var(--border); border-radius: 12px; background: var(--accent-soft); text-align: left; }
.wo-app .published-greeting h2 { font-size: 18px; color: var(--accent-text); }
.wo-app .published-greeting p { margin-bottom: 0; }

/* Mandantenweiter Soundmodus, vor den Soundpanels. */
.wo-app .sound-mode-setting { display:flex; align-items:center; flex-wrap:wrap; gap:.75rem; margin:0 0 1.5rem; }
.wo-app .sound-mode-setting p { flex-basis:100%; margin:0; }
.wo-app .sound-mode-setting [role="switch"] { width:3.2rem; min-height:1.8rem; border-radius:2rem; padding:.2rem; background:var(--border,#667085); }
.wo-app .sound-mode-setting [role="switch"] span { display:block; width:1.2rem; height:1.2rem; border-radius:50%; background:#fff; transition:transform .15s; }
.wo-app .sound-mode-setting [role="switch"][aria-checked="true"] { background:var(--accent,#2563eb); }
.wo-app .sound-mode-setting [role="switch"][aria-checked="true"] span { transform:translateX(1.3rem); }

.modal.wmk-internal-modal.wo-sound-mode-dialog .modal-dialog { width:min(620px,95vw); max-width:min(620px,95vw); }
.wmk-internal-modal.wo-sound-mode-dialog .event-modal-layout { grid-template-columns:minmax(0,1fr); }
.wo-sound-mode-dialog fieldset { margin:0; }
.wo-sound-mode-dialog legend { font-size:15px; font-weight:600; margin-bottom:16px; }
.wo-sound-mode-dialog fieldset label { display:flex; align-items:flex-start; gap:10px; margin-bottom:14px; cursor:pointer; }
.wo-sound-mode-dialog fieldset input { flex-shrink:0; margin-top:5px; }
.wo-sound-mode-dialog .fine-print { font-size:13px; line-height:1.6; color:var(--wmk-ui-muted,#64748b); margin:0; }
.wo-sound-mode-dialog [data-mode-error]:empty { display:none; }
.wo-sound-mode-dialog [data-mode-error] { color:var(--wmk-ui-danger-text,#b91c1c); }
