/*
 * Stride Button.
 * Source: Figma "TKC Calendar 2026" node 1722:103815.
 * Tokens only. Scoped under [data-stride-theme].
 */

[data-stride-theme] .stride-button,
[data-stride-theme] .stride-button * {
  box-sizing: border-box;
}

[data-stride-theme] .stride-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Figma labeled buttons: min width 60px. Icon-only is square and overrides. */
  min-width: 60px;
  height: 36px;
  margin: 0;
  padding: 0 var(--stride-spacing-spc-4x);
  overflow: clip;
  border: var(--stride-border-width-thic-1) solid var(--stride-bdr-darker);
  border-radius: var(--stride-radius-rad-2x);
  font: inherit;
  color: inherit;
  cursor: pointer;
  box-shadow: var(--stride-shadow-sm);
}

[data-stride-theme] .stride-button:focus {
  outline: none;
}

[data-stride-theme] .stride-button:focus-visible {
  box-shadow: var(--stride-shadow-focus);
}

/* A filled button's ring stands 2px off it, or it merges into the fill. */
[data-stride-theme] .stride-button--primary:focus-visible,
[data-stride-theme] .stride-button--danger:focus-visible {
  box-shadow: var(--stride-shadow-focus-gap);
}

[data-stride-theme] .stride-button:disabled {
  cursor: not-allowed;
}

[data-stride-theme] .stride-button[data-loading="true"] {
  cursor: default;
  pointer-events: none;
}

[data-stride-theme] .stride-button--small {
  height: 28px;
  padding: 0 var(--stride-spacing-spc-3x);
  border-radius: var(--stride-radius-rad-1_5x);
}

[data-stride-theme] .stride-button--default.stride-button--has-leading {
  padding-left: var(--stride-spacing-spc-3x);
}

[data-stride-theme] .stride-button--default.stride-button--has-trailing {
  padding-right: var(--stride-spacing-spc-3x);
}

[data-stride-theme]
  .stride-button--small.stride-button--has-leading:not(
    .stride-button--has-trailing
  ) {
  padding-left: var(--stride-spacing-spc-2x);
  padding-right: var(--stride-spacing-spc-2_5x);
}

[data-stride-theme]
  .stride-button--small.stride-button--has-trailing:not(
    .stride-button--has-leading
  ) {
  padding-left: var(--stride-spacing-spc-2_5x);
  padding-right: var(--stride-spacing-spc-2x);
}

[data-stride-theme]
  .stride-button--small.stride-button--has-leading.stride-button--has-trailing {
  padding-left: var(--stride-spacing-spc-2x);
  padding-right: var(--stride-spacing-spc-2x);
}

[data-stride-theme] .stride-button--icon-only {
  width: 36px;
  min-width: 36px;
  padding: 0;
}

[data-stride-theme] .stride-button--icon-only.stride-button--small {
  width: 28px;
  min-width: 28px;
}

[data-stride-theme] .stride-button-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--stride-spacing-spc-1x);
  min-width: 0;
}

[data-stride-theme] .stride-button[data-loading="true"] .stride-button-content {
  visibility: hidden;
}

[data-stride-theme] .stride-button-label {
  min-width: 0;
  text-align: center;
  white-space: nowrap;
}

[data-stride-theme] .stride-button-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: var(--stride-spacing-spc-4x);
  height: var(--stride-spacing-spc-4x);
}

[data-stride-theme] .stride-button--small .stride-button-icon {
  width: var(--stride-font-size-14);
  height: var(--stride-font-size-14);
}

[data-stride-theme]
  .stride-button--icon-only.stride-button--default
  .stride-button-icon {
  width: var(--stride-font-size-18);
  height: var(--stride-font-size-18);
}

[data-stride-theme] .stride-button-icon svg,
[data-stride-theme] .stride-button-spinner svg {
  display: block;
  width: 100%;
  height: 100%;
}

[data-stride-theme] .stride-button-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--stride-font-size-18);
  height: var(--stride-font-size-18);
  transform: translate(-50%, -50%);
  animation: stride-button-spin 0.8s linear infinite;
}

[data-stride-theme] .stride-button--small .stride-button-spinner {
  width: var(--stride-spacing-spc-4x);
  height: var(--stride-spacing-spc-4x);
}

[data-stride-theme] .stride-button-spinner--static {
  animation: none;
}

@keyframes stride-button-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

[data-stride-theme] .stride-button--primary {
  background: var(--stride-bg-brand-primary);
  color: var(--stride-ctn-on-brand);
  box-shadow:
    inset 0 0 0 var(--stride-border-width-thic-1_5) var(--stride-bdr-brand-edge),
    var(--stride-shadow-sm);
}

[data-stride-theme]
  .stride-button--primary:hover:not(:disabled):not([data-loading="true"]),
[data-stride-theme]
  .stride-button--primary:focus-visible:not(:disabled):not(
    [data-loading="true"]
  ) {
  background: var(--stride-bg-brand-hover);
}

/* A BUTTON THAT HAS OPENED SOMETHING STAYS VISUALLY ACTIVE.
 *
 * Two hooks, and the split between them matters:
 *
 *   aria-expanded="true"  — disclosure (menu, flyout, picker). Free, because a
 *     trigger that opens a menu ALREADY has to carry it for assistive tech,
 *     and a button that opens nothing never sets it.
 *
 *   data-selected="true"  — set by StrideButton's `selected` prop. NOT keyed on
 *     `aria-pressed`, which was the first attempt: plenty of buttons are
 *     legitimately pressed-state toggles without wanting a persistent fill.
 *     `workout_card`'s select checkbox and `week_options_rail`'s select-week
 *     toggle are both ghost + aria-pressed, and hooking ARIA repainted every
 *     selected workout card. Opt-in keeps the fill where it was designed —
 *     e.g. the tray header's five buttons, which share ONE side pane and so
 *     cannot use aria-expanded.
 *
 * Secondary and Ghost have a Figma Selected state: --stride-bg-neutral-selected,
 * held after pointer, tap, or keyboard focus leave, while the related UI is
 * open. That is distinct from `:active` (--stride-bg-neutral-active).
 * Primary and Danger have no Selected variant yet, so they still reuse their
 * own `:active` fill for `aria-expanded`.
 *
 * Divyam, 2026-09-16: "Whenever clicking an icon or button reveals additional
 * options, the button should remain in its active state until those options are
 * closed." */
[data-stride-theme]
  .stride-button--primary:active:not(:disabled):not([data-loading="true"]),
[data-stride-theme]
  .stride-button--primary[aria-expanded="true"]:not(:disabled):not(
    [data-loading="true"]
  ) {
  background: var(--stride-bg-brand-active);
}

[data-stride-theme] .stride-button--primary:disabled,
[data-stride-theme] .stride-button--primary[data-loading="true"] {
  background: var(--stride-bg-brand-disabled);
  border-color: var(--stride-bdr-disabled);
  color: var(--stride-ctn-on-brand-disabled);
}

[data-stride-theme] .stride-button--secondary {
  background: var(--stride-bg-neutral-primary);
  color: var(--stride-ctn-secondary);
}

[data-stride-theme]
  .stride-button--secondary:hover:not(:disabled):not([data-loading="true"]) {
  background: var(--stride-bg-neutral-hover);
}

[data-stride-theme]
  .stride-button--secondary[aria-expanded="true"]:not(:disabled):not(
    [data-loading="true"]
  ),
[data-stride-theme]
  .stride-button--secondary[data-selected="true"]:not(:disabled):not(
    [data-loading="true"]
  ) {
  background: var(--stride-bg-neutral-selected);
}

[data-stride-theme]
  .stride-button--secondary:active:not(:disabled):not([data-loading="true"]) {
  background: var(--stride-bg-neutral-active);
}

[data-stride-theme] .stride-button--secondary:disabled {
  background: var(--stride-bg-neutral-disabled);
  border-color: var(--stride-bdr-disabled);
  color: var(--stride-ctn-disabled);
}

[data-stride-theme] .stride-button--secondary[data-loading="true"] {
  background: var(--stride-bg-neutral-primary);
  border-color: var(--stride-bdr-disabled);
}

[data-stride-theme] .stride-button--ghost {
  background: var(--stride-bg-neutral-primary);
  border-color: transparent;
  box-shadow: none;
  color: var(--stride-ctn-secondary);
}

[data-stride-theme]
  .stride-button--ghost:hover:not(:disabled):not([data-loading="true"]) {
  background: var(--stride-bg-neutral-hover);
}

[data-stride-theme]
  .stride-button--ghost[aria-expanded="true"]:not(:disabled):not(
    [data-loading="true"]
  ),
[data-stride-theme]
  .stride-button--ghost[data-selected="true"]:not(:disabled):not(
    [data-loading="true"]
  ) {
  background: var(--stride-bg-neutral-selected);
}

[data-stride-theme]
  .stride-button--ghost:active:not(:disabled):not([data-loading="true"]) {
  background: var(--stride-bg-neutral-active);
}

[data-stride-theme] .stride-button--ghost:focus-visible {
  box-shadow: var(--stride-shadow-focus);
}

[data-stride-theme] .stride-button--ghost:disabled {
  color: var(--stride-ctn-disabled);
}

[data-stride-theme] .stride-button--danger {
  background: var(--stride-bg-danger-primary);
  color: var(--stride-ctn-inversed);
}

[data-stride-theme]
  .stride-button--danger:hover:not(:disabled):not([data-loading="true"]) {
  background: var(--stride-bg-danger-hover);
}

[data-stride-theme]
  .stride-button--danger:active:not(:disabled):not([data-loading="true"]),
[data-stride-theme]
  .stride-button--danger[aria-expanded="true"]:not(:disabled):not(
    [data-loading="true"]
  ) {
  background: var(--stride-bg-danger-active);
}

[data-stride-theme] .stride-button--danger:disabled,
[data-stride-theme] .stride-button--danger[data-loading="true"] {
  background: var(--stride-bg-danger-disabled);
  border-color: var(--stride-bdr-disabled);
  color: var(--stride-ctn-inversed-disabled);
}

/*
 * Stride Motion — the shared entrance keyframes (stride_motion.ts has the
 * exits), and the one spin of a loading icon. Entrances on a box that can
 * hold live positioned children (a modal, a dialog, a dropdown or floating
 * panel) animate opacity only: an animated
 * `transform` makes the box the containing block for its `position: fixed`
 * descendants, and a dropdown opened inside it in those first frames would
 * be placed against the box instead of the viewport.
 */

@keyframes stride-motion-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes stride-motion-slide-in {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes stride-motion-rise-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* A loading icon's turn (StrideInlineEdit, the Templates V2 header). The
 * button's spinner keeps its own: it also centres itself by transform. Each
 * user stops it under prefers-reduced-motion. */
@keyframes stride-motion-spin {
  to {
    transform: rotate(360deg);
  }
}

/* The closing copy is animated by script; nothing in it replays its own
 * entrance or transitions. */
[data-stride-theme][data-stride-exit-ghost],
[data-stride-theme][data-stride-exit-ghost] * {
  animation: none !important;
  transition: none !important;
}

/*
 * Stride Tooltip.
 * Source: Figma "TKC Calendar 2026" node 1868:76339.
 * Tokens only. Scoped under [data-stride-theme].
 */

[data-stride-theme] .stride-tooltip-origin,
[data-stride-theme] .stride-tooltip,
[data-stride-theme] .stride-tooltip * {
  box-sizing: border-box;
}

[data-stride-theme] .stride-tooltip-origin {
  display: inline-flex;
  max-width: 100%;
  vertical-align: middle;
}

[data-stride-theme] .stride-tooltip {
  position: fixed;
  /* Was 10000 — invisible (rendered but painted BEHIND) on any trigger
   * inside a StrideTray (z-index 20000, stride_tray.css), which is where
   * the workout card's superset merge/remove controls surfaced it
   * (Calendar V2 workout-card-superset-controls plan). Bumped above the
   * whole existing overlay stack — tray (20000), the dropdown panel
   * (20010, deliberately above the tray for the same reason), and the
   * snackbar (20020, deliberately above both) — because a tooltip is
   * always describing whatever the coach is directly hovering right now,
   * so it should never lose to a panel or toast that happens to be open
   * underneath it. (A tooltip inside a modal or dialog portals into that
   * surface and ranks within it — still above its content.) */
  z-index: 20030;
  display: flex;
  gap: var(--stride-spacing-spc-0_5x);
  padding: var(--stride-spacing-spc-1x);
  overflow: clip;
  border: var(--stride-border-width-thic-1) solid var(--stride-bdr-light);
  border-radius: var(--stride-radius-rad-2x);
  background: var(--stride-bg-surface-primary);
  pointer-events: none;
}

/* Up to 280px wide; longer copy wraps onto more lines (review 11-29). */
[data-stride-theme] .stride-tooltip--single-label {
  align-items: center;
  min-height: 26px;
  max-width: 280px;
  box-shadow: var(--stride-shadow-sm);
  user-select: none;
}

[data-stride-theme] .stride-tooltip--custom {
  align-items: flex-start;
  width: 240px;
  box-shadow: var(--stride-shadow-md);
}

/* Hug-content custom tooltip (exercise availability, short status copy).
   Override the catalog custom body's 240px and its flex-grow basis so the
   bubble sizes to the copy instead of collapsing to 0. */
[data-stride-theme] .stride-tooltip--custom.stride-tooltip--fit {
  width: max-content;
}

[data-stride-theme]
  .stride-tooltip--custom.stride-tooltip--fit
  .stride-tooltip-content {
  flex: 0 0 auto;
  width: max-content;
}

[data-stride-theme] .stride-tooltip-content {
  display: flex;
  flex-shrink: 1;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 var(--stride-spacing-spc-0_5x);
  color: var(--stride-ctn-secondary);
}

[data-stride-theme] .stride-tooltip--single-label .stride-tooltip-content {
  height: 100%;
}

[data-stride-theme] .stride-tooltip-label {
  margin: 0;
  line-height: var(--stride-font-line-height-paragraph-xs);
  overflow-wrap: anywhere;
  color: var(--stride-ctn-secondary);
}

[data-stride-theme] .stride-tooltip-shortcut {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: var(--stride-spacing-spc-0_5x);
}

/* A key that is a word, not a symbol ("Shift"): as tall as the others and as wide
 * as its text, so the chip does not clip it. */
[data-stride-theme] .stride-tooltip-key.stride-tooltip-key--text {
  width: auto;
  min-width: var(--stride-spacing-spc-4x);
  padding: 0 var(--stride-spacing-spc-1x);
  font-family: inherit;
}

[data-stride-theme] .stride-tooltip-key {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: var(--stride-spacing-spc-4x);
  height: var(--stride-spacing-spc-4x);
  border-radius: var(--stride-radius-rad-1x);
  background: var(--stride-bg-surface-secondary);
  color: var(--stride-ctn-tertiary);
  text-align: center;
}

[data-stride-theme] .stride-tooltip--custom .stride-tooltip-content {
  flex: 1 0 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--stride-spacing-spc-1x);
  padding: var(--stride-spacing-spc-0_5x);
}

[data-stride-theme] .stride-tooltip-body {
  margin: 0;
  font-size: var(--stride-font-size-12);
  font-weight: var(--stride-font-weight-regular);
  line-height: 16.8px;
  color: var(--stride-ctn-tertiary);
}

/* Opening: fades in; closing is StrideTooltip's exit copy. */
@media (prefers-reduced-motion: no-preference) {
  [data-stride-theme] .stride-tooltip {
    animation: stride-motion-fade-in 120ms cubic-bezier(0.2, 0, 0, 1);
  }
}

/* Dark: raised off the page like the snackbar (POL-1, a11y #18): the card
 * grey and a 4% edge were 1.26:1 / 1.43:1 on the page. The label tooltip
 * only: custom hover cards were laid out on the card grey and keep it. */
[data-stride-theme="dark"] .stride-tooltip.stride-tooltip--single-label {
  border-color: var(--stride-bdr-inversed);
  background: var(--stride-color-gray-800);
}

/*
 * Stride Inline Button.
 * Source: Figma "TKC Calendar 2026" node 1727:106384.
 * Tokens only. Scoped under [data-stride-theme].
 *
 * States: default (ctn-tertiary), hover (ctn-primary), active (ctn-tertiary),
 * keyboard focus (ctn-primary + shadow-focus). Optional label beside the icon.
 */

[data-stride-theme] .stride-inline-button,
[data-stride-theme] .stride-inline-button * {
  box-sizing: border-box;
}

[data-stride-theme] .stride-inline-button {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  overflow: clip;
  gap: var(--stride-spacing-spc-1x);
  border: 0;
  border-radius: var(--stride-radius-rad-1_5x);
  background: var(--stride-bg-neutral-primary);
  font: inherit;
  color: var(--stride-ctn-tertiary);
  cursor: pointer;
}

[data-stride-theme] .stride-inline-button--labeled {
  width: auto;
  gap: var(--stride-spacing-spc-0_5x);
  padding: 0 var(--stride-spacing-spc-1x);
}

[data-stride-theme] .stride-inline-button:focus {
  outline: none;
}

[data-stride-theme] .stride-inline-button:hover:not(:disabled) {
  color: var(--stride-ctn-primary);
}

[data-stride-theme] .stride-inline-button:active:not(:disabled) {
  color: var(--stride-ctn-tertiary);
}

[data-stride-theme] .stride-inline-button:focus-visible:not(:disabled) {
  color: var(--stride-ctn-primary);
  box-shadow: var(--stride-shadow-focus);
}

[data-stride-theme] .stride-inline-button:focus-visible:active:not(:disabled) {
  color: var(--stride-ctn-tertiary);
}

[data-stride-theme] .stride-inline-button[data-preview="hover"]:not(:disabled) {
  color: var(--stride-ctn-primary);
}

[data-stride-theme]
  .stride-inline-button[data-preview="active"]:not(:disabled) {
  color: var(--stride-ctn-tertiary);
}

[data-stride-theme] .stride-inline-button[data-preview="focus"]:not(:disabled) {
  color: var(--stride-ctn-primary);
  box-shadow: var(--stride-shadow-focus);
}

[data-stride-theme] .stride-inline-button:disabled {
  color: var(--stride-ctn-disabled);
  cursor: not-allowed;
}

[data-stride-theme] .stride-inline-button-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: var(--stride-spacing-spc-4x);
  height: var(--stride-spacing-spc-4x);
}

[data-stride-theme] .stride-inline-button-icon svg {
  display: block;
  width: var(--stride-font-size-14);
  height: var(--stride-font-size-14);
}

[data-stride-theme] .stride-inline-button-label {
  flex-shrink: 0;
  white-space: nowrap;
  color: inherit;
}

/*
 * Stride form scale: the spacing a Stride form uses between its fields,
 * sections, labels, help and options. Each token is an alias of a spacing
 * primitive (so the primitive count stays put). Source: the polish board
 * (POL-1, 2026-11-24), with Divyam's two changes: options sit 10px apart,
 * and an option's description starts right under its 20px title.
 * Tokens only. Scoped under [data-stride-theme].
 */

[data-stride-theme] {
  /* Field to field: the grid's rows, a page's own column of fields. */
  --stride-form-gap-field: var(--stride-spacing-spc-5x);
  /* Last field to the next section heading. */
  --stride-form-gap-section: var(--stride-spacing-spc-7x);
  /* A section's divider to its heading. */
  --stride-form-gap-divider: var(--stride-spacing-spc-4x);
  /* Section heading to its description. */
  --stride-form-gap-heading-desc: var(--stride-spacing-spc-1x);
  /* A section's heading or description to its first field. */
  --stride-form-gap-desc-content: var(--stride-spacing-spc-3x);
  /* A field's label to its box, and its box to its help or error (one flex gap). */
  --stride-form-gap-label: var(--stride-spacing-spc-1_5x);
  /* A group's label to its help or first option. */
  --stride-form-gap-group-label: var(--stride-spacing-spc-2_5x);
  /* Option to option, and an option's title to its description. */
  --stride-form-gap-option: var(--stride-spacing-spc-2_5x);
  --stride-form-gap-option-desc: 0px;
}

/* Field labels: the 13px label on a 16px line (the descender-safe height,
 * typography.css), so a label that wraps doesn't touch itself. Help under a
 * field uses .stride-text-paragraph-xs-regular (12/16.8) for the same reason. */
[data-stride-theme] .stride-input-field .stride-input-field-label,
[data-stride-theme] .stride-text-area .stride-text-area-label,
[data-stride-theme] .stride-read-only-field .stride-form-field-label,
[data-stride-theme] .stride-rich-text-frame .stride-form-field-label,
[data-stride-theme] .stride-token-field .stride-form-field-label {
  line-height: var(--stride-font-line-height-label-md);
}

/*
 * Stride Floating Panel — the positioned wrapper around a fixed-size overlay
 * (the menu submenu, the date-picker popover). Pair with
 * `useStrideFloatingPanel`, which supplies the inline coordinates.
 *
 * Chrome-free on purpose: unlike `.stride-dropdown-panel`, which wraps a list
 * that brings its own surface, this only positions. The panel's own component
 * paints its background, border and shadow.
 */

[data-stride-theme] .stride-floating-panel {
  /* Viewport coordinates, so no ancestor's `overflow: hidden` or `transform`
   * can clip it or re-anchor it — `StrideTray`'s sheet animates in with
   * `translateY()`, which would otherwise make it the containing block for any
   * fixed descendant. */
  position: fixed;
  top: 0;
  left: 0;

  /* ABOVE THE MULTI-SELECT TOOLBAR (20015), which is one of its own triggers —
   * a picker opened from the toolbar and stacked at the dropdown panel's 20010
   * would render behind the bar it belongs to. Under a modal (20019), so a
   * modal opened while a panel is up (the comments/videos flyout stays open
   * while its card's editor opens "Create exercise") covers it. Still under
   * the snackbar (20020), because a save failure has to stay readable over
   * everything. */
  z-index: 20018;
}

/* The one pre-measure frame. `useStrideFloatingPanel` cannot place a panel it
 * has not measured, and it only exists to be measured once it is in the DOM —
 * so it is rendered, hidden, at 0,0 for exactly one frame. `visibility`, not
 * `display`, because a `display: none` element has no box to measure. */
[data-stride-theme] .stride-floating-panel:not([data-placed]) {
  visibility: hidden;
}

/* Opening: fades in once placed (the unplaced frame is hidden, so the fade
 * starts where the panel lands); closing is useStrideFloatingPanel's exit
 * copy. */
@media (prefers-reduced-motion: no-preference) {
  [data-stride-theme] .stride-floating-panel[data-placed] {
    animation: stride-motion-fade-in 120ms cubic-bezier(0.2, 0, 0, 1);
  }
}

/*
 * Stride Input Field.
 * Source: Figma "TKC Calendar 2026" node 1831:72661.
 * Tokens only. Scoped under [data-stride-theme].
 */

[data-stride-theme] .stride-input-field,
[data-stride-theme] .stride-input-field * {
  box-sizing: border-box;
}

[data-stride-theme] .stride-input-field {
  display: flex;
  flex-direction: column;
  gap: var(--stride-form-gap-label);
  width: 100%;
}

[data-stride-theme] .stride-input-field-label {
  color: var(--stride-ctn-secondary);
}

[data-stride-theme] .stride-input-field--disabled .stride-input-field-label {
  color: var(--stride-ctn-disabled);
}

/* Input_Field_Box: 36px, pad 8/6, gap 2, clip overflowing 24px slots. */
[data-stride-theme] .stride-input-field-control {
  display: flex;
  align-items: center;
  gap: var(--stride-spacing-spc-0_5x);
  width: 100%;
  height: 36px;
  padding: var(--stride-spacing-spc-2x) var(--stride-spacing-spc-1_5x);
  overflow: hidden;
  border: 0;
  border-radius: var(--stride-radius-rad-2x);
  background: var(--stride-bg-surface-primary);
  box-shadow: inset 0 0 0 var(--stride-border-width-thic-1)
    var(--stride-bdr-dark);
}

/* A phone form's field: a thumb's height. */
[data-stride-theme] .stride-input-field--large .stride-input-field-control {
  height: 44px;
}

/* A unit before or after the value ("$", "%"). */
[data-stride-theme] .stride-input-field-affix {
  flex: none;
  color: var(--stride-ctn-secondary);
  white-space: nowrap;
}

[data-stride-theme] .stride-input-field--compact .stride-input-field-control {
  height: 28px;
  padding: var(--stride-spacing-spc-1x) 9px;
  box-shadow: inset 0 0 0 var(--stride-border-width-thic-1)
    var(--stride-bdr-darker);
}

[data-stride-theme]
  .stride-input-field:not(.stride-input-field--error):not(
    .stride-input-field--disabled
  )
  .stride-input-field-control:focus-within,
[data-stride-theme]
  .stride-input-field--focus:not(.stride-input-field--error):not(
    .stride-input-field--disabled
  )
  .stride-input-field-control {
  box-shadow: inset 0 0 0 var(--stride-border-width-thic-1_25)
    var(--stride-bdr-focus);
}

[data-stride-theme] .stride-input-field--error .stride-input-field-control {
  box-shadow: inset 0 0 0 var(--stride-border-width-thic-1)
    var(--stride-bdr-danger);
}

[data-stride-theme] .stride-input-field--disabled .stride-input-field-control {
  background: var(--stride-bg-neutral-disabled);
  box-shadow: inset 0 0 0 var(--stride-border-width-thic-1)
    var(--stride-bdr-disabled);
}

/* Left_Icon / Right_Icon slots are 24×24; glyph inside is 14×14. */
[data-stride-theme] .stride-input-field-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: var(--stride-font-size-24);
  height: var(--stride-font-size-24);
  color: var(--stride-ctn-secondary);
}

[data-stride-theme] .stride-input-field-icon--right {
  color: var(--stride-ctn-tertiary);
}

[data-stride-theme] .stride-input-field-end {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

[data-stride-theme] .stride-input-field-icon svg {
  display: block;
  width: var(--stride-font-size-14);
  height: var(--stride-font-size-14);
}

/* Figma layer is misspelled "Inout_Text_Container"; pad 4 / hug height. */
[data-stride-theme] .stride-input-field-text-container {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: var(--stride-spacing-spc-1x);
  min-width: 0;
  width: 100%;
  padding: 0 var(--stride-spacing-spc-1x);
}

[data-stride-theme] .stride-input-field-input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--stride-ctn-primary);
  outline: none;
  overflow-x: auto;
  white-space: nowrap;
}

[data-stride-theme] .stride-input-field--compact .stride-input-field-icon {
  width: var(--stride-font-size-14);
  height: var(--stride-font-size-14);
}

[data-stride-theme] .stride-input-field--compact .stride-input-field-icon svg {
  width: 100%;
  height: 100%;
}

[data-stride-theme]
  .stride-input-field--compact
  .stride-input-field-text-container {
  padding: 0;
}

[data-stride-theme] .stride-input-field-input::placeholder {
  color: var(--stride-ctn-placeholder);
}

[data-stride-theme]
  .stride-input-field--error
  .stride-input-field-input:not(:placeholder-shown) {
  color: var(--stride-ctn-danger-primary);
}

[data-stride-theme] .stride-input-field--disabled .stride-input-field-input {
  color: var(--stride-ctn-tertiary);
  cursor: not-allowed;
}

[data-stride-theme]
  .stride-input-field--disabled
  .stride-input-field-input:placeholder-shown {
  color: var(--stride-ctn-placeholder);
}

/* Help_Text_Container + Help_Text / Error_Icon. */
[data-stride-theme] .stride-input-field-helper {
  display: flex;
  align-items: center;
  gap: var(--stride-spacing-spc-0_5x);
  width: 100%;
  color: var(--stride-ctn-tertiary);
}

[data-stride-theme] .stride-input-field--error .stride-input-field-helper {
  color: var(--stride-ctn-danger-primary);
}

[data-stride-theme] .stride-input-field-error-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: var(--stride-font-size-14);
  height: var(--stride-font-size-14);
  color: var(--stride-ctn-danger-primary);
}

[data-stride-theme] .stride-input-field-error-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

/*
 * Stride Checkbox.
 * Source: Figma "TKC Calendar 2026" node 2432:52994.
 * Tokens only. Scoped under [data-stride-theme].
 *
 * The outer control is the hit target (20×20 by default) and can grow via
 * --stride-checkbox-target-size. The visible box stays 16×16 or 14×14.
 */

[data-stride-theme] .stride-checkbox,
[data-stride-theme] .stride-checkbox * {
  box-sizing: border-box;
}

[data-stride-theme] .stride-checkbox {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: var(--stride-checkbox-target-size, 20px);
  height: var(--stride-checkbox-target-size, 20px);
  vertical-align: middle;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

[data-stride-theme] .stride-checkbox:has(:disabled) {
  cursor: not-allowed;
}

/* Covers the whole hit target, including the padding around the glyph. */
[data-stride-theme] .stride-checkbox-input {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  appearance: none;
  border: 0;
  opacity: 0;
  cursor: inherit;
}

[data-stride-theme] .stride-checkbox-input:focus {
  outline: none;
}

[data-stride-theme] .stride-checkbox-box {
  position: relative;
  z-index: 0;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: var(--stride-border-width-thic-1_5) solid var(--stride-bdr-darker);
  border-radius: var(--stride-radius-rad-1x);
  background: var(--stride-bg-neutral-primary);
  pointer-events: none;
}

[data-stride-theme] .stride-checkbox--small .stride-checkbox-box {
  width: 14px;
  height: 14px;
}

[data-stride-theme] .stride-checkbox-icon {
  display: none;
  flex-shrink: 0;
  color: var(--stride-ctn-on-brand);
}

[data-stride-theme] .stride-checkbox:has(:checked) .stride-checkbox-icon,
[data-stride-theme] .stride-checkbox:has(:indeterminate) .stride-checkbox-icon {
  display: block;
}

[data-stride-theme] .stride-checkbox:has(:disabled) .stride-checkbox-icon {
  color: var(--stride-ctn-on-brand-disabled);
}

/* Checked */
[data-stride-theme] .stride-checkbox:has(:checked) .stride-checkbox-box,
[data-stride-theme] .stride-checkbox:has(:indeterminate) .stride-checkbox-box {
  border-color: var(--stride-bdr-brand-edge);
  background: var(--stride-bg-brand-primary);
}

/* Hover. data-hover mirrors a paired label or selection target. */
[data-stride-theme]
  .stride-checkbox:hover:not(:has(:disabled)):not(
    :has(:is(:checked, :indeterminate))
  )
  .stride-checkbox-box,
[data-stride-theme]
  .stride-checkbox[data-hover]:not(:has(:disabled)):not(
    :has(:is(:checked, :indeterminate))
  )
  .stride-checkbox-box,
[data-stride-theme]
  .stride-checkbox[data-preview="hover"]:not(:has(:disabled)):not(
    :has(:is(:checked, :indeterminate))
  )
  .stride-checkbox-box {
  border-color: var(--stride-bdr-hover);
  background: var(--stride-bg-neutral-hover);
}

[data-stride-theme]
  .stride-checkbox:hover:not(:has(:disabled)):has(:is(:checked, :indeterminate))
  .stride-checkbox-box,
[data-stride-theme]
  .stride-checkbox[data-hover]:not(:has(:disabled)):has(
    :is(:checked, :indeterminate)
  )
  .stride-checkbox-box,
[data-stride-theme]
  .stride-checkbox[data-preview="hover"]:not(:has(:disabled)):has(
    :is(:checked, :indeterminate)
  )
  .stride-checkbox-box {
  border-color: var(--stride-bdr-brand-edge);
  background: var(--stride-bg-brand-hover);
}

/* Pressed. data-active mirrors a paired label or selection target. */
[data-stride-theme]
  .stride-checkbox:active:not(:has(:disabled)):not(
    :has(:is(:checked, :indeterminate))
  )
  .stride-checkbox-box,
[data-stride-theme]
  .stride-checkbox[data-active]:not(:has(:disabled)):not(
    :has(:is(:checked, :indeterminate))
  )
  .stride-checkbox-box,
[data-stride-theme]
  .stride-checkbox[data-preview="active"]:not(:has(:disabled)):not(
    :has(:is(:checked, :indeterminate))
  )
  .stride-checkbox-box {
  border-color: var(--stride-bdr-hover);
  background: var(--stride-bg-neutral-active);
}

[data-stride-theme]
  .stride-checkbox:active:not(:has(:disabled)):has(
    :is(:checked, :indeterminate)
  )
  .stride-checkbox-box,
[data-stride-theme]
  .stride-checkbox[data-active]:not(:has(:disabled)):has(
    :is(:checked, :indeterminate)
  )
  .stride-checkbox-box,
[data-stride-theme]
  .stride-checkbox[data-preview="active"]:not(:has(:disabled)):has(
    :is(:checked, :indeterminate)
  )
  .stride-checkbox-box {
  border-color: var(--stride-bdr-brand-edge);
  background: var(--stride-bg-brand-active);
}

/* Keyboard focus. Ring stays while hovering or pressing. */
[data-stride-theme]
  .stride-checkbox:has(.stride-checkbox-input:focus-visible):not(
    :has(:disabled)
  )
  .stride-checkbox-box,
[data-stride-theme]
  .stride-checkbox[data-focus]:not(:has(:disabled))
  .stride-checkbox-box,
[data-stride-theme]
  .stride-checkbox[data-preview="focus"]:not(:has(:disabled))
  .stride-checkbox-box {
  box-shadow: var(--stride-shadow-focus);
}

/* Checked, the box is filled: the ring stands 2px off it. */
[data-stride-theme]
  .stride-checkbox:is(
    :has(.stride-checkbox-input:focus-visible),
    [data-focus],
    [data-preview="focus"]
  ):not(:has(:disabled)):has(:is(:checked, :indeterminate))
  .stride-checkbox-box {
  box-shadow: var(--stride-shadow-focus-gap);
}

[data-stride-theme]
  .stride-checkbox:has(.stride-checkbox-input:focus-visible):not(:hover):not(
    :active
  ):not([data-hover]):not([data-active]):not(:has(:disabled)):not(
    :has(:is(:checked, :indeterminate))
  )
  .stride-checkbox-box,
[data-stride-theme]
  .stride-checkbox[data-focus]:not(:hover):not(:active):not([data-hover]):not(
    [data-active]
  ):not(:has(:disabled)):not(:has(:is(:checked, :indeterminate)))
  .stride-checkbox-box,
[data-stride-theme]
  .stride-checkbox[data-preview="focus"]:not(:has(:disabled)):not(
    :has(:is(:checked, :indeterminate))
  )
  .stride-checkbox-box {
  border-color: var(--stride-bdr-hover);
  background: var(--stride-bg-neutral-active);
}

[data-stride-theme]
  .stride-checkbox:has(.stride-checkbox-input:focus-visible):not(:hover):not(
    :active
  ):not([data-hover]):not([data-active]):not(:has(:disabled)):has(
    :is(:checked, :indeterminate)
  )
  .stride-checkbox-box,
[data-stride-theme]
  .stride-checkbox[data-focus]:not(:hover):not(:active):not([data-hover]):not(
    [data-active]
  ):not(:has(:disabled)):has(:is(:checked, :indeterminate))
  .stride-checkbox-box,
[data-stride-theme]
  .stride-checkbox[data-preview="focus"]:not(:has(:disabled)):has(
    :is(:checked, :indeterminate)
  )
  .stride-checkbox-box {
  border-color: var(--stride-bdr-brand-edge);
  background: var(--stride-bg-brand-hover);
}

/* Disabled */
[data-stride-theme] .stride-checkbox:has(:disabled) .stride-checkbox-box {
  border-color: var(--stride-bdr-disabled);
  background: var(--stride-bg-neutral-disabled);
  box-shadow: none;
}

[data-stride-theme]
  .stride-checkbox:has(:disabled):has(:is(:checked, :indeterminate))
  .stride-checkbox-box {
  border-color: transparent;
  background: var(--stride-bg-brand-disabled);
}

/* Catalog only: marks the hit target without changing the glyph. */
[data-stride-theme] .stride-checkbox-docs-hit {
  box-shadow: inset 0 0 0 var(--stride-border-width-thic-1)
    var(--stride-bdr-light);
}

[data-stride-theme] .stride-checkbox-docs-pairs {
  display: flex;
  flex-direction: column;
  gap: var(--stride-spacing-spc-3x);
}

[data-stride-theme] .stride-checkbox-docs-option {
  display: flex;
  align-items: center;
  gap: var(--stride-spacing-spc-2x);
  width: fit-content;
  color: var(--stride-ctn-primary);
  cursor: pointer;
}

[data-stride-theme] .stride-checkbox-docs-cards {
  display: flex;
  flex-wrap: wrap;
  gap: var(--stride-spacing-spc-3x);
}

[data-stride-theme] .stride-checkbox-docs-card {
  display: flex;
  align-items: center;
  gap: var(--stride-spacing-spc-3x);
  min-width: 180px;
  margin: 0;
  padding: var(--stride-spacing-spc-3x);
  border: var(--stride-border-width-thic-1) solid var(--stride-bdr-dark);
  border-radius: var(--stride-radius-rad-2x);
  background: var(--stride-bg-surface-primary);
  color: var(--stride-ctn-primary);
  cursor: pointer;
}

[data-stride-theme] .stride-checkbox-docs-card[data-selected="true"] {
  border-color: var(--stride-bdr-brand);
  background: var(--stride-bg-brand-overlay);
}

/*
 * Stride Text Area.
 * Source: Figma "TKC Calendar 2026" node 2603:182867.
 * Chrome mirrors Stride Input Field (label / helper / error / disabled /
 * inset focus). Field box, radius, and resize handle follow the Textarea
 * component. Tokens only. Scoped under [data-stride-theme].
 */

[data-stride-theme] .stride-text-area,
[data-stride-theme] .stride-text-area * {
  box-sizing: border-box;
}

[data-stride-theme] .stride-text-area {
  display: flex;
  flex-direction: column;
  gap: var(--stride-form-gap-label);
  width: 100%;
}

[data-stride-theme] .stride-text-area-label {
  color: var(--stride-ctn-secondary);
}

[data-stride-theme] .stride-text-area--disabled .stride-text-area-label {
  color: var(--stride-ctn-disabled);
}

/*
 * Input_Field_Box: pad 8/6, radius 10, inner text pad 4. Default height is
 * the Figma catalog field (node 2603:182866 — 100px stack minus label,
 * gaps, and help). Applied in JS so resize and CSS stay on one number.
 */
[data-stride-theme] .stride-text-area-control {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 63px;
  padding: var(--stride-spacing-spc-2x) var(--stride-spacing-spc-1_5x);
  overflow: visible;
  border: 0;
  border-radius: var(--stride-radius-rad-2_5x);
  background: var(--stride-bg-surface-primary);
  box-shadow: inset 0 0 0 var(--stride-border-width-thic-1)
    var(--stride-bdr-dark);
}

[data-stride-theme]
  .stride-text-area:not(.stride-text-area--resizable)
  .stride-text-area-control {
  min-height: 0;
}

[data-stride-theme]
  .stride-text-area:not(.stride-text-area--error):not(
    .stride-text-area--disabled
  )
  .stride-text-area-control:focus-within,
[data-stride-theme]
  .stride-text-area--focus:not(.stride-text-area--error):not(
    .stride-text-area--disabled
  )
  .stride-text-area-control {
  box-shadow: inset 0 0 0 var(--stride-border-width-thic-1_25)
    var(--stride-bdr-focus);
}

[data-stride-theme] .stride-text-area--error .stride-text-area-control {
  box-shadow: inset 0 0 0 var(--stride-border-width-thic-1)
    var(--stride-bdr-danger);
}

[data-stride-theme] .stride-text-area--disabled .stride-text-area-control {
  background: var(--stride-bg-neutral-disabled);
  box-shadow: inset 0 0 0 var(--stride-border-width-thic-1)
    var(--stride-bdr-disabled);
}

[data-stride-theme] .stride-text-area-text-container {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  min-width: 0;
  min-height: 0;
  width: 100%;
  padding: 0 var(--stride-spacing-spc-1x);
}

[data-stride-theme] .stride-text-area-input {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--stride-ctn-primary);
  font-family: inherit;
  resize: none;
  outline: none;
  overflow: auto;
  cursor: text;
}

[data-stride-theme]
  .stride-text-area:not(.stride-text-area--resizable)
  .stride-text-area-input {
  height: auto;
}

[data-stride-theme] .stride-text-area--auto-resize .stride-text-area-control,
[data-stride-theme] .stride-text-area--auto-resize .stride-text-area-input {
  width: 100%;
}

[data-stride-theme] .stride-text-area--auto-resize .stride-text-area-input {
  overflow: hidden;
}

[data-stride-theme] .stride-text-area-input::placeholder {
  color: var(--stride-ctn-placeholder);
}

[data-stride-theme]
  .stride-text-area--error
  .stride-text-area-input:not(:placeholder-shown) {
  color: var(--stride-ctn-danger-primary);
}

[data-stride-theme] .stride-text-area--disabled .stride-text-area-input {
  color: var(--stride-ctn-tertiary);
  cursor: not-allowed;
}

[data-stride-theme]
  .stride-text-area--disabled
  .stride-text-area-input:placeholder-shown {
  color: var(--stride-ctn-placeholder);
}

/*
 * Resize_handle: 18×18, anchored to the field corner (Figma bottom/right
 * −1px so the 12px glyph sits on the 1px inset stroke). Vertical-only;
 * native grippies are not a tab stop, so this handle is presentational.
 */
[data-stride-theme] .stride-text-area-resize-handle {
  position: absolute;
  right: -1px;
  bottom: -1px;
  z-index: 1;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  cursor: ns-resize;
  touch-action: none;
}

[data-stride-theme]
  .stride-text-area--disabled
  .stride-text-area-resize-handle {
  cursor: not-allowed;
}

[data-stride-theme] .stride-text-area-resize-icon {
  display: block;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  background-color: var(--stride-ctn-muted);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 100% 100%;
}

[data-stride-theme] .stride-text-area-helper {
  display: flex;
  align-items: center;
  gap: var(--stride-spacing-spc-0_5x);
  width: 100%;
  color: var(--stride-ctn-tertiary);
}

[data-stride-theme] .stride-text-area--error .stride-text-area-helper {
  color: var(--stride-ctn-danger-primary);
}

[data-stride-theme] .stride-text-area-error-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: var(--stride-font-size-14);
  height: var(--stride-font-size-14);
  color: var(--stride-ctn-danger-primary);
}

[data-stride-theme] .stride-text-area-error-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

/*
 * Keep ns-resize while the pointer leaves the 18px handle. Lives on body
 * because [data-stride-theme] is not on documentElement during the drag.
 */
body.stride-text-area-resizing,
body.stride-text-area-resizing * {
  cursor: ns-resize !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

/*
 * Stride Date Picker.
 *
 * Built from tokens on Divyam's instruction (2026-09-16) and brought in line
 * with the Figma frame "Move reminder to" (📐 TKC Calendar 2026, node
 * 3788:212591): the panel's border is the divider colour, the weekday letters
 * are 13px regular, the month heading is 14px semibold, months are separated by
 * a dashed divider, and an `options` section (a short list such as "Reset to
 * automatic") sits above the weekdays with one divider under it. The panel
 * still wears `.stride-dropdown-list`'s surface, radius and shadow so the picker
 * and the menu it opens from read as one family.
 *
 * Tokens only, `stride-` prefixed, scoped under [data-stride-theme].
 */

[data-stride-theme] .stride-date-picker,
[data-stride-theme] .stride-date-picker * {
  box-sizing: border-box;
}

[data-stride-theme] .stride-date-picker {
  /* 7 × 36px cells plus the scroller's own padding. A fixed width because the
   * grid is a fixed 7 columns — a fluid picker just puts the space between the
   * days, which reads as a table rather than a calendar. */
  width: 276px;
  display: flex;
  flex-direction: column;

  border: var(--stride-border-width-thic-1) solid var(--stride-bdr-divider);
  border-radius: var(--stride-radius-rad-2_5x);
  background: var(--stride-bg-surface-primary);
  box-shadow: var(--stride-shadow-md);
  /* Clips the weekday row, the options section and the footer to the rounded
   * corners; their own backgrounds would otherwise square them off. */
  overflow: hidden;
}

/* THE OPTIONS SECTION (`options`): a short list of actions that go with the
 * picker, above the weekday row. Its own padding and one divider under it, as
 * in Figma ("Reminder options"); a Stride dropdown list placed in it is
 * flattened so it does not draw a second card inside the card. */
[data-stride-theme] .stride-date-picker-options {
  display: flex;
  flex-direction: column;
  gap: var(--stride-spacing-spc-0_5x);
  padding: var(--stride-spacing-spc-2x) var(--stride-spacing-spc-1x);
  border-bottom: var(--stride-border-width-thic-1) solid
    var(--stride-bdr-divider);
}

[data-stride-theme] .stride-date-picker-options .stride-dropdown-list {
  max-height: none;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

[data-stride-theme] .stride-date-picker-options .stride-dropdown-list-items {
  padding: 0;
  overflow: visible;
}

/* OUTSIDE the scroller, so the columns hold still while the months move under
 * them. A per-month header row would repeat seven letters every month for no
 * gain, and sticky-inside-sticky (weekdays under a month title) stacks badly. */
[data-stride-theme] .stride-date-picker-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: var(--stride-spacing-spc-3x);
  border-bottom: var(--stride-border-width-thic-1) solid
    var(--stride-bdr-divider);
  background: var(--stride-bg-transparent-zero);
  backdrop-filter: blur(20px);
}

[data-stride-theme] .stride-date-picker-weekday {
  color: var(--stride-ctn-tertiary);
  text-align: center;
}

[data-stride-theme] .stride-date-picker-scroller {
  /* The calendar scrolls INSIDE the panel, and the panel itself never grows.
   * As short as it can be while always showing more than one month: a month is
   * at most 6 weeks (about 240px with its heading) plus the divider, so 300px
   * means part of a second month is in view wherever the coach has scrolled to,
   * and the sticky heading says which one they are in. (Figma draws 375px.) */
  height: 300px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 var(--stride-spacing-spc-3x);
}

/* Zero-height, and NOT `display: none` — an IntersectionObserver never reports
 * an element with no box. */
[data-stride-theme] .stride-date-picker-sentinel {
  height: 1px;
}

/* A DASHED LINE BETWEEN MONTHS (Figma): the design puts the line in its own row
 * with a 12px gap above and below it, and the heading adds its own 8px top
 * padding, so there are 20px between the line and the month's name. */
[data-stride-theme] .stride-date-picker-month + .stride-date-picker-month {
  margin-top: var(--stride-spacing-spc-3x);
  padding-top: var(--stride-spacing-spc-3x);
  border-top: var(--stride-border-width-thic-1) dashed var(--stride-bdr-divider);
}

[data-stride-theme] .stride-date-picker-month-title {
  position: sticky;
  top: 0;
  z-index: 1;
  margin: 0;
  padding: var(--stride-spacing-spc-2x) 0 var(--stride-spacing-spc-1x);
  color: var(--stride-ctn-secondary);
  /* Opaque: the days scroll UNDER this, and a transparent heading would have
   * them reading through it. */
  background: var(--stride-bg-surface-primary);
}

[data-stride-theme] .stride-date-picker-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

[data-stride-theme] .stride-date-picker-cell,
[data-stride-theme] .stride-date-picker-blank {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Square cells keep the columns aligned with the weekday headings whatever
   * the row count. */
  aspect-ratio: 1;
}

[data-stride-theme] .stride-date-picker-day {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: var(--stride-radius-rad-full);
  background: transparent;
  color: var(--stride-ctn-primary);
  cursor: pointer;
  font: inherit;
}

[data-stride-theme] .stride-date-picker-day:hover {
  background: var(--stride-bg-neutral-hover);
}

[data-stride-theme] .stride-date-picker-day:focus-visible {
  outline: none;
  box-shadow: var(--stride-shadow-focus);
}

/* TODAY — a ring, not a fill, so it can coexist with every state below. The
 * coach needs to keep their bearings while the destination highlight moves. */
[data-stride-theme] .stride-date-picker-day--today {
  box-shadow: inset 0 0 0 var(--stride-border-width-thic-1)
    var(--stride-bdr-focus);
}

/* THE PREVIEW, drawn while the cursor is over a candidate and nothing has been
 * committed. The quietest of the three: a gray fill with no ring, so a coach
 * sweeping across a month sees the block move without the panel strobing, and
 * so it never reads as the keyboard-focus ring. The days a range would cover
 * while the pointer or focus is on a possible end (`rangeStart`) are the same
 * preview, so every previewed day looks alike. */
[data-stride-theme] .stride-date-picker-day--preview,
[data-stride-theme] .stride-date-picker-day--range-preview {
  background: var(--stride-bg-neutral-hover);
}

/* THE OTHER DATES THIS MOVE LANDS ON. A brand tint rather than the solid fill,
 * so it reads as belonging to the chosen date without competing with it — the
 * coach picked one day, and these are its consequence. */
[data-stride-theme] .stride-date-picker-day--highlighted {
  background: var(--stride-bg-brand-overlay);
  color: var(--stride-ctn-primary);
}

/* THE CHOSEN DATE, and a range's START (`rangeStart`), which is as chosen as
 * the end will be: it reads the same before any end is picked. Last, so it wins
 * over every rule above it whatever else the day also is. */
[data-stride-theme] .stride-date-picker-day--selected,
[data-stride-theme] .stride-date-picker-day--selected:hover,
[data-stride-theme] .stride-date-picker-day--selected:focus-visible,
[data-stride-theme] .stride-date-picker-day--range-start,
[data-stride-theme] .stride-date-picker-day--range-start:hover,
[data-stride-theme] .stride-date-picker-day--range-start:focus-visible {
  background: var(--stride-bg-brand-primary);
  color: var(--stride-ctn-on-brand);
  /* The brand's edge (none by default) as an outline, so the today and focus
   * rings (box-shadow) still draw. */
  outline: var(--stride-border-width-thic-1_5) solid
    var(--stride-bdr-brand-edge);
  outline-offset: calc(-1 * var(--stride-border-width-thic-1_5));
}

/* A RANGE AS ONE PIECE (`rangeStart`). Each day of it fills its whole cell, so
 * they meet with no gap, and the corners that would show a seam are square: the
 * first day is flat on its right, the last on its left, the days between on
 * both. The chosen days keep their own fills (the start and end are solid, the
 * days between tinted), which is what tells them apart. */
[data-stride-theme] .stride-date-picker-day--range-first,
[data-stride-theme] .stride-date-picker-day--range-mid,
[data-stride-theme] .stride-date-picker-day--range-last {
  width: 100%;
}

[data-stride-theme] .stride-date-picker-day--range-first {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

[data-stride-theme] .stride-date-picker-day--range-mid {
  border-radius: 0;
}

[data-stride-theme] .stride-date-picker-day--range-last {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* BEFORE `minDate`: there, but not to be chosen. Disabled text with no hover
 * fill, so the month still reads whole. */
[data-stride-theme] .stride-date-picker-day--unavailable,
[data-stride-theme] .stride-date-picker-day--unavailable:hover {
  background: transparent;
  color: var(--stride-ctn-disabled);
  cursor: default;
}

/* The fields that go with the date (`children`), above the calendar: the
 * schedule picker's time. */
[data-stride-theme] .stride-date-picker-extra {
  display: flex;
  flex-direction: column;
  gap: var(--stride-spacing-spc-2x);
  padding: var(--stride-spacing-spc-3x);
  border-bottom: var(--stride-border-width-thic-1) solid
    var(--stride-bdr-divider);
}

[data-stride-theme] .stride-date-picker-footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--stride-spacing-spc-2x);
  padding: var(--stride-spacing-spc-3x);
  border-top: var(--stride-border-width-thic-1) solid var(--stride-bdr-divider);
}


/*# sourceMappingURL=7669-a9d836bf.css.map*/