/* One responsive, code-drawn book-mode DUO. No screen images are used. */
[data-trainer-duo] { width: 100%; min-width: 0; }
.duo-demo { width: min(100%, 960px); margin-inline: auto; color: #201a2b; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.duo-demo *, .duo-demo *::before, .duo-demo *::after { box-sizing: border-box; }
.duo-demo .duo-icon { display: inline-block; width: 1.15em; height: 1.15em; flex: 0 0 auto; vertical-align: -.18em; }
.duo-demo-topline { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding-inline: 18px; margin-bottom: 20px; }
.duo-layout-label { display: flex; align-items: center; gap: 8px; color: #725c7e; font-size: 10px; font-weight: 750; letter-spacing: .12em; }
.duo-layout-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--app-accent); box-shadow: 0 0 0 4px rgba(var(--app-accent-rgb), .08); }
.duo-appearance { display: inline-flex; align-items: center; gap: 3px; padding: 4px; border: 1px solid #ded3e4; border-radius: 999px; background: #fff9; }
.duo-appearance button { display: inline-flex; gap: 6px; align-items: center; justify-content: center; min-height: 36px; padding: 7px 14px; border: 0; border-radius: 999px; background: transparent; color: #6d5a78; font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; }
.duo-appearance button[aria-pressed="true"] { background: #5d265c; color: white; box-shadow: 0 2px 6px #47254620; }
.duo-appearance button:focus-visible { outline: 3px solid var(--app-bright); outline-offset: 3px; }
.duo-stage { position: relative; padding: 12px 12px 34px; isolation: isolate; }
.duo-stage::before { content: ""; position: absolute; inset: 18% 4% 0; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse, rgba(var(--app-accent-rgb), .16), transparent 70%); filter: blur(25px); }
.duo-device { --duo-paper: #fff; --duo-screen: var(--app-page, #f2f2f7); --duo-text: var(--profession-ink, #171218); --duo-muted: var(--profession-muted, #6d6570); --duo-line: var(--profession-border, #e7ddea); --duo-tint: var(--app-soft, #f2eaf2); --duo-accent: var(--app-accent, #5d265c); position: relative; width: 100%; padding: 11px; border: 1px solid #bbb6c7; border-radius: 38px; background: linear-gradient(125deg, #e4e1e9, #8a8493 19%, #d9d4df 48%, #8b8494 51%, #e6e2eb 82%, #8b8592); box-shadow: 0 30px 55px -25px #3524475c, 0 3px 8px #291c3a30, inset 0 1px 1px #fff; container-type: inline-size; }
.duo-device[data-theme="dark"] { --duo-paper: #282331; --duo-screen: #17131e; --duo-text: #f5effc; --duo-muted: #aaa0b6; --duo-line: #3b3148; --duo-tint: color-mix(in srgb, var(--app-accent) 30%, #17131e); --duo-accent: color-mix(in srgb, var(--app-bright) 75%, white); }
.duo-screen { display: grid; grid-template-columns: minmax(0, .46fr) 11px minmax(0, .54fr); overflow: hidden; position: relative; border-radius: 28px; background: var(--duo-screen); color: var(--duo-text); border: 2px solid #211c28; min-height: 445px; }
.duo-left { padding: 22px 21px 28px; min-width: 0; background: linear-gradient(145deg, rgba(var(--app-accent-rgb), .03), transparent 60%); box-shadow: inset -9px 0 18px -16px #17101e; }
.duo-right { position: relative; padding: 19px 21px 0; min-width: 0; display: flex; flex-direction: column; box-shadow: inset 9px 0 18px -16px #17101e; }
.duo-hinge { position: relative; z-index: 1; display: block; background: linear-gradient(90deg, #08060d19, #3c334140 28%, #ece6f51a 47%, #1a142457 72%, #08060d0d); box-shadow: 0 0 12px #2f20351a; }
.duo-hinge::before, .duo-hinge::after { content: ""; position: absolute; left: -1px; right: -1px; height: 14px; background: linear-gradient(90deg, #3c3543, #b2aabb, #2b2633); }
.duo-hinge::before { top: 0; border-radius: 0 0 5px 5px; }
.duo-hinge::after { bottom: 0; border-radius: 5px 5px 0 0; }
.duo-app-heading { display: flex; align-items: center; gap: 10px; font-size: clamp(12px, 2cqw, 21px); }
.duo-app-symbol { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(var(--app-accent-rgb), .25); border-radius: 50%; background: linear-gradient(140deg, var(--app-soft), white); color: var(--duo-accent); box-shadow: 0 3px 9px #4725460e; font-size: 23px; }
.duo-date { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 25px 0 22px; text-align: center; }
.duo-date > span { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--duo-paper); color: var(--duo-accent); font-size: 26px; line-height: 1; }
.duo-date small { display: block; margin-bottom: 5px; color: var(--duo-accent); font-size: clamp(8px, 1.2cqw, 11px); font-weight: 750; letter-spacing: .17em; }
.duo-date b { font-size: clamp(12px, 2cqw, 19px); line-height: 1.35; }
.duo-summary { padding: 20px 17px 12px; border-radius: 23px; background: var(--app-gradient); color: white; box-shadow: 0 15px 25px -15px rgba(var(--app-accent-rgb), .36); }
.duo-summary > small { font-size: clamp(7px, 1cqw, 10px); letter-spacing: .16em; font-weight: 650; color: #ffffffb3; }
.duo-summary h3 { margin: 6px 0 18px; color: white; font-size: clamp(12px, 2.1cqw, 22px); font-weight: 600; letter-spacing: -.04em; line-height: 1.25; }
.duo-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 12px 5px; border-radius: 15px; background: #ffffff18; }
.duo-stat-grid > div { display: grid; justify-items: center; gap: 5px; font-size: clamp(12px, 1.8cqw, 18px); }
.duo-stat-grid .duo-icon { width: 16px; height: 16px; }
.duo-stat-grid b { font-size: clamp(17px, 2.5cqw, 26px); line-height: 1; font-weight: 650; }
.duo-stat-grid small { font-size: clamp(6px, .95cqw, 10px); color: #ffffffb8; line-height: 1.2; }
.duo-summary > p { display: flex; align-items: center; gap: 6px; margin: 14px 0 0; color: #ffffffbf; font-size: clamp(8px, 1.15cqw, 12px); line-height: 1.5; }
.duo-summary > p > span { margin-left: auto; font-size: 18px; }
.duo-review { display: flex; align-items: center; gap: 12px; padding: 17px 13px; margin-top: 16px; border-radius: 19px; background: var(--duo-paper); }
.duo-review > span { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 auto; border-radius: 11px; background: #fff1dd; color: #ef8e19; font-size: 20px; }
.duo-review b, .duo-day-note b { display: block; font-size: clamp(10px, 1.6cqw, 16px); line-height: 1.3; }
.duo-review small, .duo-day-note small { display: block; margin-top: 5px; color: var(--duo-muted); font-size: clamp(8px, 1.2cqw, 12px); line-height: 1.45; }
.duo-day-note { display: flex; align-items: center; gap: 10px; padding: 14px 4px 0; color: #438869; }
.duo-day-note > span { font-size: 20px; }
.duo-day-note p { margin: 0; }
.duo-day-note b { color: var(--duo-text); font-weight: 600; font-size: clamp(9px, 1.35cqw, 13px); }
.duo-status { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-bottom: 17px; color: var(--duo-text); font-size: 11px; }
.duo-status > span { display: flex; align-items: center; gap: 4px; }
.duo-status i { width: 18px; height: 8px; border: 1px solid currentColor; border-radius: 3px; position: relative; }
.duo-status i::before { content: ""; display: block; margin: 1px; width: 12px; height: 4px; border-radius: 1px; background: currentColor; }
.duo-schedule-title { display: flex; gap: 10px; align-items: center; }
.duo-schedule-title > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--duo-tint); color: var(--duo-accent); font-size: 22px; }
.duo-schedule-title h3 { margin: 0; color: var(--duo-text); font-size: clamp(14px, 2cqw, 21px); line-height: 1.15; font-weight: 650; letter-spacing: -.03em; }
.duo-schedule-title small { display: block; margin-top: 5px; color: var(--duo-muted); font-size: clamp(8px, 1.2cqw, 12px); }
.duo-hours { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px; margin: 19px 0 12px; font-size: clamp(8px, 1.2cqw, 12px); }
.duo-hours b { display: flex; align-items: center; gap: 6px; color: var(--duo-accent); font-weight: 600; }
.duo-hours > span { color: var(--duo-muted); font-size: .9em; }
.duo-sessions { display: grid; gap: 10px; }
.duo-session { --duo-session-color: #3478f6; --duo-session-tint: #edf3ff; display: flex; align-items: center; gap: 12px; padding: 15px 12px 15px 15px; border: 1px solid var(--duo-line); border-left: 3px solid var(--duo-session-color); border-radius: 18px; background: var(--duo-paper); min-width: 0; }
.duo-tone-violet { --duo-session-color: #9552ec; --duo-session-tint: #f3ebff; }
.duo-tone-green { --duo-session-color: #079d77; --duo-session-tint: #e8f7f2; }
.duo-time { display: grid; justify-items: center; gap: 3px; min-width: 51px; padding: 10px 5px; border-radius: 11px; color: var(--duo-session-color); background: var(--duo-session-tint); }
.duo-time b { font-size: clamp(12px, 1.7cqw, 17px); line-height: 1.15; letter-spacing: -.04em; }
.duo-time small { font-size: clamp(8px, 1.1cqw, 11px); opacity: .7; }
.duo-session-copy { min-width: 0; flex: 1; }
.duo-session-copy h4 { margin: 0; color: var(--duo-text); font-size: clamp(10px, 1.7cqw, 17px); line-height: 1.2; letter-spacing: -.02em; }
.duo-session-copy p { margin: 5px 0; color: var(--duo-muted); font-size: clamp(9px, 1.3cqw, 13px); line-height: 1.3; }
.duo-session-copy > small { display: flex; gap: 4px; align-items: center; color: var(--duo-muted); font-size: clamp(7px, 1.03cqw, 10px); line-height: 1.3; }
.duo-session-copy > small .duo-icon { width: 11px; height: 11px; }
.duo-session-copy > .duo-booked { display: block; margin-top: 6px; color: var(--duo-accent); font-size: clamp(8px, 1.2cqw, 12px); line-height: 1.3; font-weight: 650; font-variant-numeric: tabular-nums; white-space: normal; overflow-wrap: break-word; }
.duo-message { display: grid; place-items: center; width: 27px; height: 27px; flex: 0 0 auto; border-radius: 50%; background: var(--duo-screen); color: var(--duo-muted); font-size: 15px; }
.duo-open-slot { display: flex; align-items: center; gap: 9px; padding: 12px 15px; margin-top: 10px; border: 1px solid rgba(var(--app-accent-rgb), .17); border-radius: 16px; color: var(--duo-accent); background: var(--duo-tint); }
.duo-open-slot > span { font-size: 19px; }
.duo-open-slot b { display: block; font-size: clamp(9px, 1.3cqw, 13px); font-weight: 600; }
.duo-open-slot small { display: block; margin-top: 3px; color: var(--duo-muted); font-size: clamp(8px, 1.1cqw, 11px); }
.duo-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 16px 3px 11px; margin-top: auto; color: var(--duo-muted); }
.duo-tabs > span { display: grid; justify-items: center; gap: 3px; font-size: 18px; }
.duo-tabs small { font-size: clamp(7px, .9cqw, 9px); }
.duo-tabs .duo-active { color: var(--duo-accent); }
.duo-edge { display: block; position: absolute; background: #524b5c; box-shadow: inset 0 0 0 1px #d7d0e0; }
.duo-edge--top { top: -3px; right: 16%; width: 46px; height: 3px; border-radius: 5px 5px 0 0; }
.duo-edge--side { right: -3px; top: 22%; width: 3px; height: 38px; border-radius: 0 5px 5px 0; }
.duo-demo-caption { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 14px; padding: 0 20px; color: #665174; }
.duo-demo-caption > span { font-size: 12px; font-weight: 600; }
.duo-demo-caption i { margin-inline: 7px; font-style: normal; color: #9b78bb; }
.duo-demo-caption > small { font-size: 9px; letter-spacing: .08em; line-height: 1.5; }
.duo-device[data-theme="dark"] .duo-app-symbol { background: linear-gradient(145deg, color-mix(in srgb, var(--app-accent) 60%, #17131e), #211923); border-color: color-mix(in srgb, var(--app-bright) 60%, #17131e); color: var(--duo-accent); }
.duo-device[data-theme="dark"] .duo-time { background: color-mix(in srgb, var(--duo-session-color) 15%, #211d2a); color: color-mix(in srgb, var(--duo-session-color) 65%, white); }
.duo-device[data-theme="dark"] .duo-review > span { background: #50351b; }
.duo-device[data-theme="dark"] .duo-hinge { background: linear-gradient(90deg, #0002, #000a 35%, #80708d18 52%, #0009 72%, #0002); }
@container (max-width: 650px) {
  .duo-screen { min-height: 0; }
  .duo-left { padding: 17px 13px 18px; }
  .duo-right { padding: 15px 13px 0; }
  .duo-app-symbol { width: 31px; height: 31px; font-size: 18px; }
  .duo-date { margin: 20px 0; gap: 6px; }
  .duo-date > span { width: 25px; height: 25px; font-size: 23px; }
  .duo-summary { padding: 16px 12px 11px; border-radius: 18px; }
  .duo-summary h3 { margin-bottom: 14px; }
  .duo-stat-grid { gap: 2px; padding: 10px 2px; border-radius: 11px; }
  .duo-stat-grid .duo-icon { width: 13px; height: 13px; }
  .duo-review { padding: 13px 10px; gap: 8px; border-radius: 15px; }
  .duo-review > span { width: 28px; height: 28px; font-size: 17px; border-radius: 9px; }
  .duo-schedule-title > span { width: 30px; height: 30px; font-size: 18px; border-radius: 10px; }
  .duo-session { padding: 12px 9px; gap: 9px; border-radius: 14px; }
  .duo-time { min-width: 40px; padding: 9px 4px; }
  .duo-message { width: 21px; height: 21px; font-size: 12px; }
  .duo-tabs { padding-top: 13px; }
}
@container (max-width: 430px) {
  .duo-screen { grid-template-columns: minmax(0, .45fr) 7px minmax(0, .55fr); border-radius: 17px; }
  .duo-left { padding: 12px 9px 16px; }
  .duo-right { padding: 10px 9px 0; }
  .duo-app-heading { gap: 6px; }
  .duo-app-symbol { width: 25px; height: 25px; font-size: 15px; }
  .duo-date { gap: 3px; margin: 18px 0 15px; }
  .duo-date b { font-size: 11px; }
  .duo-date > span { width: 20px; height: 20px; font-size: 20px; }
  .duo-date small { font-size: 7px; }
  .duo-summary { padding: 11px 8px 8px; border-radius: 14px; }
  .duo-summary h3 { font-size: 13px; margin: 6px 0 11px; }
  .duo-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 4px; padding: 10px 3px; }
  .duo-stat-grid > div { gap: 3px; }
  .duo-stat-grid .duo-icon { display: none; }
  .duo-stat-grid small { font-size: 7px; }
  .duo-stat-grid b { font-size: 18px; }
  .duo-summary > p { gap: 4px; font-size: 8px; margin-top: 9px; }
  .duo-summary > p .duo-icon { display: none; }
  .duo-review { gap: 5px; padding: 11px 7px; margin-top: 10px; border-radius: 12px; }
  .duo-review > span { width: 22px; height: 22px; font-size: 14px; border-radius: 7px; }
  .duo-review b { font-size: 10px; }
  .duo-review small { font-size: 8px; }
  .duo-day-note { gap: 6px; padding-top: 11px; }
  .duo-day-note > span { font-size: 16px; }
  .duo-day-note small { font-size: 8px; }
  .duo-status { font-size: 8px; margin-bottom: 18px; }
  .duo-status i { width: 14px; height: 7px; }
  .duo-status i::before { width: 9px; height: 3px; }
  .duo-schedule-title { gap: 6px; }
  .duo-schedule-title > span { width: 25px; height: 25px; font-size: 16px; border-radius: 8px; }
  .duo-schedule-title h3 { font-size: 14px; }
  .duo-schedule-title small { font-size: 8px; line-height: 1.35; }
  .duo-hours { margin: 17px 0 10px; }
  .duo-hours > span { display: none; }
  .duo-sessions { gap: 8px; }
  .duo-session { padding: 11px 6px; gap: 7px; border-radius: 11px; border-left-width: 2px; }
  .duo-time { min-width: 32px; padding: 8px 2px; border-radius: 8px; }
  .duo-time b { font-size: 11px; }
  .duo-time small { font-size: 8px; }
  .duo-session-copy h4 { font-size: 10px; }
  .duo-session-copy p { font-size: 8px; line-height: 1.25; margin: 4px 0; }
  .duo-session-copy > small { font-size: 7px; gap: 2px; }
  .duo-session-copy > small .duo-icon { width: 8px; height: 8px; }
  .duo-message { display: none; }
  .duo-open-slot { gap: 5px; padding: 10px 7px; border-radius: 11px; }
  .duo-open-slot > span { font-size: 13px; }
  .duo-open-slot b { font-size: 9px; }
  .duo-open-slot small { font-size: 7px; }
  .duo-tabs { padding-inline: 0; padding-top: 13px; }
  .duo-tabs > span { font-size: 14px; }
  .duo-tabs small { font-size: 6px; }
}
@media (max-width: 600px) {
  .duo-demo-topline { padding-inline: 0; justify-content: center; margin-bottom: 12px; }
  .duo-layout-label { font-size: 8px; }
  .duo-appearance button { min-height: 36px; padding-inline: 12px; }
  .duo-stage { padding: 9px 1px 24px; }
  .duo-device { padding: 6px; border-radius: 24px; box-shadow: 0 20px 34px -20px #35244780, 0 3px 8px #291c3a20; }
  .duo-demo-caption { padding-inline: 3px; justify-content: center; text-align: center; gap: 8px; }
  .duo-demo-caption > span { font-size: 11px; }
  .duo-demo-caption > small { font-size: 8px; }
}
