/*
 * Stride Dropdown Divider.
 * Source: Figma "TKC Calendar 2026" node 2037:109635.
 * Tokens only. Scoped under [data-stride-theme].
 *
 * The padding is the whole component: a 1px line inset by `spc-1_5x` and
 * breathing by `spc-1x`, giving the 9px total the design specifies. The line
 * is a child rather than a border on the wrapper so the inset comes from
 * padding and the rule still spans the full inner width.
 */

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

[data-stride-theme] .stride-dropdown-divider {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: var(--stride-spacing-spc-1x) var(--stride-spacing-spc-1_5x);
}

[data-stride-theme] .stride-dropdown-divider-line {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--stride-bdr-divider);
}

/*
 * Stride Modal.
 * Source: Figma "TKC Calendar 2026" node 2651:194554.
 * Tokens only. Scoped under [data-stride-theme].
 */

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

/* 20019: above menus (20010), toolbars (20015) and floating panels (20018),
 * below the snackbar (20020). See STRIDE_MODAL_Z_INDEX for why it moved. */
[data-stride-theme] .stride-modal-root {
  position: fixed;
  inset: 0;
  z-index: 20019;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

[data-stride-theme] .stride-modal-overlay {
  position: absolute;
  inset: 0;
  background: var(--stride-bg-overlay);
}

[data-stride-theme] .stride-modal-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 600px;
  max-width: calc(100vw - 32px);
  max-height: 100%;
  overflow: hidden;
  background: var(--stride-bg-surface-primary);
  color: var(--stride-ctn-primary);
  font-family: var(--stride-font-family);
  border-radius: var(--stride-radius-rad-3_5x);
  box-shadow: var(--stride-shadow-lg);
}

[data-stride-theme] .stride-modal-dialog[data-size="small"] {
  width: 460px;
}

[data-stride-theme] .stride-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
}

[data-stride-theme] .stride-modal-header {
  flex-shrink: 0;
  padding: 24px 52px 24px 24px;
}

/* Header actions sit flush left of Close (Figma 2797:94581: two 28px
 * buttons, no gap), so the title keeps clear of both. A child selector: a
 * modal opened inside this one renders inside its dialog, and must keep its
 * own header's padding. */
[data-stride-theme] .stride-modal-header-actions {
  position: absolute;
  top: 12px;
  right: 40px;
  z-index: 1;
  display: flex;
  align-items: center;
}

[data-stride-theme]
  .stride-modal-dialog[data-header-actions="true"]
  > .stride-modal-header {
  padding-right: 80px;
}

[data-stride-theme] .stride-modal-title {
  margin: 0;
  color: var(--stride-ctn-primary);
}

[data-stride-theme] .stride-modal-description {
  margin: var(--stride-spacing-spc-1_5x) 0 0;
  color: var(--stride-ctn-tertiary);
}

[data-stride-theme] .stride-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 0 24px 24px;
}

[data-stride-theme] .stride-modal-footer {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: var(--stride-spacing-spc-2x);
  padding: 16px;
  background: var(--stride-bg-surface-primary);
  border-top: var(--stride-border-width-thic-1) solid var(--stride-bdr-divider);
}

[data-stride-theme] .stride-modal-footer-tertiary,
[data-stride-theme] .stride-modal-footer-main {
  display: flex;
  align-items: center;
  gap: var(--stride-spacing-spc-2x);
}

[data-stride-theme] .stride-modal-footer-main {
  margin-left: auto;
}

[data-stride-theme] .stride-modal-docs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--stride-spacing-spc-2x);
}

[data-stride-theme] .stride-modal-docs-filler {
  display: flex;
  flex-direction: column;
  gap: var(--stride-spacing-spc-2x);
  color: var(--stride-ctn-tertiary);
}

/* Opening: the scrim and the box fade in (stride_motion.css says why the box
 * doesn't scale); StrideSheet's box rises instead (stride_sheet.css). Closing
 * is StrideModalFrame's exit copy. */
@media (prefers-reduced-motion: no-preference) {
  [data-stride-theme] .stride-modal-overlay,
  [data-stride-theme] .stride-modal-root > [role="dialog"]:not(.stride-sheet) {
    animation: stride-motion-fade-in 160ms cubic-bezier(0.2, 0, 0, 1);
  }
}

/*
 * Stride Sheet: a phone's bottom sheet.
 * Source: the list-page canvases (each page's phone filter, action and
 * confirm sheets); no Figma frame yet. The overlay, z-index and behaviour are
 * StrideModalFrame's (stride_modal.css). Tokens only. Scoped under
 * [data-stride-theme].
 */

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

/* The modal root centres its dialog; a sheet sits on the bottom edge. */
[data-stride-theme] .stride-modal-root.stride-sheet-root {
  align-items: flex-end;
  padding: 0;
}

/* Up to 88% of the screen, so the dimmed page above it stays a target. A
 * tablet keeps it a readable width. */
[data-stride-theme] .stride-sheet {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 560px;
  /* dvh tracks a phone's toolbar; vh where it isn't supported. */
  max-height: 88vh;
  max-height: 88dvh;
  border-radius: var(--stride-radius-rad-3_5x) var(--stride-radius-rad-3_5x) 0 0;
  background: var(--stride-bg-surface-primary);
  box-shadow: var(--stride-shadow-lg);
  color: var(--stride-ctn-primary);
  font-family: var(--stride-font-family);
  animation: stride-sheet-in 180ms ease-out;
}

/* A form or a settings panel on a phone: near the full screen, so the page
 * above stays a sliver to tap, and its body scrolls. */
[data-stride-theme] .stride-sheet[data-tall="true"] {
  height: 94vh;
  height: 94dvh;
  max-height: 94vh;
  max-height: 94dvh;
}

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

@keyframes stride-sheet-in {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-stride-theme] .stride-sheet {
    animation: none;
  }
}

/* A 44px target around the canvas's 36×4 bar. */
[data-stride-theme] .stride-sheet-grab {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 64px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--stride-radius-rad-2x);
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

[data-stride-theme] .stride-sheet-grab::before {
  content: "";
  position: absolute;
  width: 64px;
  height: 44px;
}

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

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

[data-stride-theme] .stride-sheet-grab-bar {
  width: 36px;
  height: 4px;
  border-radius: var(--stride-radius-rad-full);
  background: var(--stride-bdr-dark);
}

[data-stride-theme] .stride-sheet-header {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--stride-spacing-spc-2x);
  min-height: 52px;
  padding: var(--stride-spacing-spc-1x) var(--stride-spacing-spc-2x)
    var(--stride-spacing-spc-1x) var(--stride-spacing-spc-4x);
}

[data-stride-theme] .stride-sheet-lead {
  display: flex;
  flex: none;
}

[data-stride-theme] .stride-sheet-heading {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: var(--stride-spacing-spc-0_5x);
  min-width: 0;
}

[data-stride-theme] .stride-sheet-title,
[data-stride-theme] .stride-sheet-description {
  margin: 0;
  overflow-wrap: anywhere;
}

/* Secondary: tertiary is 4.42:1 on the dark sheet at this size. */
[data-stride-theme] .stride-sheet-description {
  color: var(--stride-ctn-secondary);
}

/* The only part that scrolls: the title and the footer's button stay. */
[data-stride-theme] .stride-sheet-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: var(--stride-spacing-spc-1x) var(--stride-spacing-spc-4x)
    var(--stride-spacing-spc-3x);
}

/* Without a footer the body is last: it keeps clear of the home bar. */
[data-stride-theme] .stride-sheet-body:last-child {
  padding-bottom: max(
    var(--stride-spacing-spc-3x),
    env(safe-area-inset-bottom)
  );
}

[data-stride-theme] .stride-sheet-footer {
  display: flex;
  flex: none;
  gap: var(--stride-spacing-spc-2x);
  padding: var(--stride-spacing-spc-3x) var(--stride-spacing-spc-4x)
    max(var(--stride-spacing-spc-3x), env(safe-area-inset-bottom));
  border-top: var(--stride-border-width-thic-1) solid var(--stride-bdr-divider);
}

/* A footer's buttons share the width at a phone's full tap size. */
[data-stride-theme] .stride-sheet-footer > .stride-button {
  flex: 1 1 0;
  height: 44px;
}

/*
 * Stride Action sheet: a ⋮ menu as big rows in a phone's bottom sheet.
 * Source: the list-page canvases (each page's phone action sheet, `.ph-act`);
 * no Figma frame yet. Tokens only. Scoped under [data-stride-theme].
 */

/* The rows run to the sheet's edges and pad themselves. Top and sides
 * only: the sheet's own bottom padding keeps clear of the home bar. */
[data-stride-theme] .stride-action-sheet .stride-sheet-body {
  padding-top: var(--stride-spacing-spc-1x);
  padding-right: 0;
  padding-left: 0;
}

/* A line under the heading, as the canvases' action sheets. */
[data-stride-theme] .stride-action-sheet .stride-sheet-header {
  border-bottom: var(--stride-border-width-thic-1) solid
    var(--stride-bdr-divider);
}

/* Dividers between groups, inset to the rows' text. */
[data-stride-theme] .stride-action-sheet-group[data-divider="true"] {
  position: relative;
  margin-top: var(--stride-spacing-spc-1x);
  padding-top: var(--stride-spacing-spc-1x);
}

[data-stride-theme] .stride-action-sheet-group[data-divider="true"]::before {
  content: "";
  position: absolute;
  top: 0;
  right: var(--stride-spacing-spc-4x);
  left: var(--stride-spacing-spc-4x);
  height: var(--stride-border-width-thic-1);
  background: var(--stride-bdr-divider);
}

[data-stride-theme] .stride-action-sheet-heading {
  display: block;
  padding: var(--stride-spacing-spc-2x) var(--stride-spacing-spc-4x)
    var(--stride-spacing-spc-1x);
  /* Secondary, not tertiary: tertiary reads 4.42:1 on the dark sheet. */
  color: var(--stride-ctn-secondary);
}

[data-stride-theme] .stride-action-sheet-row {
  display: flex;
  align-items: center;
  gap: var(--stride-spacing-spc-3x);
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: var(--stride-spacing-spc-1_5x) var(--stride-spacing-spc-4x);
  border: 0;
  background: transparent;
  color: var(--stride-ctn-primary);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

[data-stride-theme]
  .stride-action-sheet-row:active:not([aria-disabled="true"]) {
  background: var(--stride-bg-neutral-hover);
}

@media (hover: hover) {
  [data-stride-theme]
    .stride-action-sheet-row:hover:not([aria-disabled="true"]) {
    background: var(--stride-bg-neutral-hover);
  }
}

[data-stride-theme] .stride-action-sheet-row:focus {
  outline: none;
}

[data-stride-theme] .stride-action-sheet-row:focus-visible {
  box-shadow: inset var(--stride-shadow-focus);
}

/* Everything in a disabled row dims, its icon, value and check too. */
[data-stride-theme] .stride-action-sheet-row[aria-disabled="true"],
[data-stride-theme]
  .stride-action-sheet-row[aria-disabled="true"]
  :is(
    .stride-action-sheet-icon,
    .stride-action-sheet-description,
    .stride-action-sheet-value,
    .stride-action-sheet-check
  ) {
  color: var(--stride-ctn-disabled);
  cursor: not-allowed;
}

[data-stride-theme]
  .stride-action-sheet-row--danger:not([aria-disabled="true"]) {
  color: var(--stride-ctn-danger-primary);
}

[data-stride-theme] .stride-action-sheet-icon {
  display: flex;
  flex: none;
  justify-content: center;
  width: 20px;
  color: var(--stride-ctn-tertiary);
  font-size: 20px;
}

[data-stride-theme]
  .stride-action-sheet-row--danger:not([aria-disabled="true"])
  .stride-action-sheet-icon {
  color: inherit;
}

/* A phone's 20px glyph, whatever size the caller drew it for the dropdown
 * (the page header draws its folded icons at 14px). */
[data-stride-theme] .stride-action-sheet-row .stride-action-sheet-icon svg {
  width: 20px;
  height: 20px;
}

[data-stride-theme] .stride-action-sheet-text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: var(--stride-spacing-spc-0_5x);
  min-width: 0;
}

/* Long labels wrap rather than hide: on a phone the whole name matters. */
[data-stride-theme] .stride-action-sheet-label,
[data-stride-theme] .stride-action-sheet-description {
  overflow-wrap: anywhere;
}

[data-stride-theme] .stride-action-sheet-description {
  color: var(--stride-ctn-secondary);
}

[data-stride-theme] .stride-action-sheet-value {
  flex: none;
  color: var(--stride-ctn-secondary);
  font-variant-numeric: tabular-nums;
}

[data-stride-theme] .stride-action-sheet-check {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--stride-ctn-brand-primary);
}

/*
 * Stride Menu button: the heading over a group of rows.
 * Tokens only. Scoped under [data-stride-theme].
 */

/* Lines up with the rows' text: their 6px left padding plus none for an
 * icon, which a heading never has. */
[data-stride-theme] .stride-menu-button-group-label {
  padding: var(--stride-spacing-spc-1_5x) var(--stride-spacing-spc-1x)
    var(--stride-spacing-spc-1x) var(--stride-spacing-spc-1_5x);
  /* Secondary: tertiary is 4.42:1 on the dark panel at this size. */
  color: var(--stride-ctn-secondary);
}

/*
 * Stride Dialog — extra-small warning (Figma "TKC Calendar 2026"
 * node 2714:71695). Tokens only. Scoped under [data-stride-theme].
 *
 * Portaled beside the sheet (the tray's dialog root, or <body> outside a
 * tray) so the sheet's `transform` cannot pin it. z-index sits above the tray
 * (20000), dropdowns (20010), floating panels (20018), modals (20019) and
 * snackbars (20020), and below tooltips (20030). A dialog opened INSIDE a
 * modal portals into the modal and ranks within it.
 */

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

[data-stride-theme] .stride-dialog-root {
  position: fixed;
  inset: 0;
  z-index: 20025;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--stride-spacing-spc-4x);
}

[data-stride-theme] .stride-dialog-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: var(--stride-bg-overlay);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  cursor: default;
}

[data-stride-theme] .stride-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  overflow: hidden;
  background: var(--stride-bg-surface-primary);
  color: var(--stride-ctn-primary);
  border: var(--stride-border-width-thic-1) solid var(--stride-bdr-light);
  border-radius: var(--stride-radius-rad-3_5x);
  box-shadow: var(--stride-shadow-md);
}

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

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

/* Figma extra-small warning is 320px wide. */
[data-stride-theme] .stride-dialog--extra-small {
  width: 320px;
  max-width: 100%;
}

[data-stride-theme] .stride-dialog-header {
  padding: var(--stride-spacing-spc-3x) var(--stride-spacing-spc-3x)
    var(--stride-spacing-spc-2x);
}

[data-stride-theme] .stride-dialog-title {
  margin: 0;
  color: var(--stride-ctn-primary);
}

[data-stride-theme] .stride-dialog-body {
  padding: var(--stride-spacing-spc-0_5x) var(--stride-spacing-spc-3x)
    var(--stride-spacing-spc-3x);
  color: var(--stride-ctn-tertiary);
}

[data-stride-theme] .stride-dialog-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-end;
  gap: var(--stride-spacing-spc-1_5x);
  padding: var(--stride-spacing-spc-1_5x) var(--stride-spacing-spc-3x)
    var(--stride-spacing-spc-3x);
}

[data-stride-theme] .stride-dialog-footer-start {
  margin-right: auto;
}

/* Opening: scrim and box fade in; closing is StrideDialog's exit copy. */
@media (prefers-reduced-motion: no-preference) {
  [data-stride-theme] .stride-dialog-backdrop,
  [data-stride-theme] .stride-dialog {
    animation: stride-motion-fade-in 160ms cubic-bezier(0.2, 0, 0, 1);
  }
}

/*
 * Stride Client Label and Label Group.
 * Source: Figma "TKC Calendar 2026" nodes 1727:106721 and 1727:107064.
 * Tokens only. Scoped under [data-stride-theme].
 */

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

[data-stride-theme] .stride-client-label {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  max-width: 128px;
  height: 24px;
  padding: 0 var(--stride-spacing-spc-2x) 0 var(--stride-spacing-spc-1_5x);
  overflow: hidden;
  border-radius: var(--stride-radius-rad-full);
  background: var(--stride-bg-cyan-surface);
  color: var(--stride-ctn-cyan-primary);
  gap: var(--stride-spacing-spc-0_5x);
  vertical-align: middle;
}

[data-stride-theme] .stride-client-label-icon {
  display: block;
  flex-shrink: 0;
  width: var(--stride-font-size-12);
  height: var(--stride-font-size-12);
}

[data-stride-theme] .stride-client-label-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-stride-theme] .stride-client-label-dismiss {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  opacity: 0;
  pointer-events: none;
}

[data-stride-theme]
  .stride-client-label:has(.stride-client-label-dismiss):hover,
[data-stride-theme]
  .stride-client-label:has(.stride-client-label-dismiss):focus-within,
[data-stride-theme]
  .stride-client-label:has(.stride-client-label-dismiss)[data-preview="hover"],
[data-stride-theme] .stride-client-label[data-dismiss="shown"] {
  padding-right: 24px;
}

[data-stride-theme] .stride-client-label:hover .stride-client-label-dismiss,
[data-stride-theme]
  .stride-client-label:focus-within
  .stride-client-label-dismiss,
[data-stride-theme]
  .stride-client-label[data-preview="hover"]
  .stride-client-label-dismiss,
[data-stride-theme]
  .stride-client-label[data-dismiss="shown"]
  .stride-client-label-dismiss {
  opacity: 1;
  pointer-events: auto;
}

[data-stride-theme] .stride-client-label[data-accent="brick"] {
  background: var(--stride-bg-brick-surface);
  color: var(--stride-ctn-brick-primary);
}

[data-stride-theme] .stride-client-label[data-accent="amber"] {
  background: var(--stride-bg-amber-surface);
  color: var(--stride-ctn-amber-primary);
}

[data-stride-theme] .stride-client-label[data-accent="yellow"] {
  background: var(--stride-bg-yellow-surface);
  color: var(--stride-ctn-yellow-primary);
}

[data-stride-theme] .stride-client-label[data-accent="pink"] {
  background: var(--stride-bg-pink-surface);
  color: var(--stride-ctn-pink-primary);
}

[data-stride-theme] .stride-client-label[data-accent="purple"] {
  background: var(--stride-bg-purple-surface);
  color: var(--stride-ctn-purple-primary);
}

[data-stride-theme] .stride-client-label[data-accent="olive"] {
  background: var(--stride-bg-olive-surface);
  color: var(--stride-ctn-olive-primary);
}

[data-stride-theme] .stride-client-label[data-accent="cyan"] {
  background: var(--stride-bg-cyan-surface);
  color: var(--stride-ctn-cyan-primary);
}

[data-stride-theme] .stride-client-label[data-accent="indigo"] {
  background: var(--stride-bg-indigo-surface);
  color: var(--stride-ctn-indigo-primary);
}

[data-stride-theme] .stride-client-label[data-accent="slate"] {
  background: var(--stride-bg-slate-surface);
  color: var(--stride-ctn-slate-primary);
}

[data-stride-theme] .stride-client-label-group {
  display: inline-flex;
  align-items: center;
  height: 28px;
  gap: 5px;
}

[data-stride-theme] .stride-client-label-count {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: var(--stride-spacing-spc-1x) var(--stride-spacing-spc-1_5x);
  overflow: clip;
  border-radius: var(--stride-radius-rad-full);
  background: var(--stride-bg-surface-secondary);
  color: var(--stride-ctn-tertiary);
}

[data-stride-theme] .stride-client-label-group-action {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  opacity: 0;
}

[data-stride-theme]
  .stride-client-label-group:hover
  .stride-client-label-group-action,
[data-stride-theme]
  .stride-client-label-group:focus-within
  .stride-client-label-group-action,
[data-stride-theme]
  .stride-client-label-group[data-preview="hover"]
  .stride-client-label-group-action {
  opacity: 1;
}

/*
 * Stride Confirm: one confirm, a dialog on a desktop and a sheet on a phone.
 * Source: the list-page canvases (each page's confirm and its phone confirm
 * sheet); no Figma frame yet. Tokens only. Scoped under [data-stride-theme].
 */

/* The server's refusal, over the buttons in either layout. */
[data-stride-theme] .stride-confirm-error {
  margin: 0;
  color: var(--stride-ctn-danger-primary);
}

/* The dialog's footer is a wrapping row: the refusal takes a line of its
 * own. Not on a phone, whose stack is a column (a 100% basis there would
 * take the whole height and push the buttons off the screen). */
[data-stride-theme] .stride-dialog-footer > .stride-confirm-error {
  flex: 1 0 100%;
}

[data-stride-theme] .stride-confirm-body {
  color: var(--stride-ctn-secondary);
  overflow-wrap: anywhere;
}

/* A phone: the action first and full width, Cancel under it, both 44px. A
 * long amount wraps inside its button rather than pushing it wider. */
[data-stride-theme] .stride-confirm-stack {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: var(--stride-spacing-spc-2x);
  min-width: 0;
}

[data-stride-theme] .stride-confirm-stack > .stride-button {
  width: 100%;
  height: auto;
  min-height: 44px;
}

[data-stride-theme]
  .stride-confirm-stack
  > .stride-button
  .stride-button-label {
  /* The label style's line box is its font size: wrapped lines need room. */
  line-height: 1.35;
  white-space: normal;
}

/* A desktop dialog is 320px: a long action ("Approve (charge $25.00)" and
 * longer) wraps inside its button rather than clip the amount. */
[data-stride-theme] .stride-dialog-footer > .stride-confirm-action {
  max-width: 100%;
  height: auto;
  min-height: 28px;
  padding-top: var(--stride-spacing-spc-1x);
  padding-bottom: var(--stride-spacing-spc-1x);
}

[data-stride-theme]
  .stride-dialog-footer
  > .stride-confirm-action
  .stride-button-label {
  line-height: 1.35;
  white-space: normal;
}

/* An action with nothing left to do (confirmDisabled) stays focusable but
 * looks as a disabled one does, hovered, focused or pressed too, as the modal
 * form's held-back submit. */
[data-stride-theme]
  .stride-confirm-action.stride-button--primary[aria-disabled="true"],
[data-stride-theme]
  .stride-confirm-action.stride-button--primary[aria-disabled="true"]:is(
    :hover,
    :focus-visible,
    :active
  ):not(:disabled) {
  border-color: var(--stride-bdr-disabled);
  background: var(--stride-bg-brand-disabled);
  color: var(--stride-ctn-inversed-disabled);
  cursor: not-allowed;
}

[data-stride-theme]
  .stride-confirm-action.stride-button--danger[aria-disabled="true"],
[data-stride-theme]
  .stride-confirm-action.stride-button--danger[aria-disabled="true"]:is(
    :hover,
    :focus-visible,
    :active
  ):not(:disabled) {
  border-color: var(--stride-bdr-disabled);
  background: var(--stride-bg-danger-disabled);
  color: var(--stride-ctn-inversed-disabled);
  cursor: not-allowed;
}

/*
 * Stride Page header.
 * Source: the list-page canvases (Pieces board, "1 · Page header"); no Figma
 * frame yet. Tokens only. Scoped under [data-stride-theme].
 */

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

/* Wraps so a page with many buttons in a narrow pane drops them under the
 * title instead of pushing past the edge. */
[data-stride-theme] .stride-page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: var(--stride-spacing-spc-3x);
  width: 100%;
  min-width: 0;
}

/* The 240px basis is how narrow the title gets before the buttons wrap; with
 * `auto` a long title would wrap them as soon as it could not sit on one line. */
[data-stride-theme] .stride-page-header-text {
  display: flex;
  flex: 1 1 240px;
  flex-direction: column;
  gap: var(--stride-spacing-spc-1x);
  min-width: 0;
}

[data-stride-theme] .stride-page-header-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--stride-spacing-spc-2x);
  min-width: 0;
}

/* The type token sets line-height to the font size; a title that wraps on a
 * phone needs air between its lines. */
[data-stride-theme] .stride-page-header-title {
  margin: 0;
  color: var(--stride-ctn-primary);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

[data-stride-theme] .stride-page-header-facts,
[data-stride-theme] .stride-page-header-note {
  margin: 0;
}

[data-stride-theme] .stride-page-header-facts {
  color: var(--stride-ctn-tertiary);
  font-variant-numeric: tabular-nums;
}

[data-stride-theme] .stride-page-header-fact--urgent {
  color: var(--stride-ctn-danger-primary);
  font-weight: var(--stride-font-weight-semibold);
}

[data-stride-theme] .stride-page-header-note {
  display: flex;
  align-items: center;
  gap: var(--stride-spacing-spc-1x);
  color: var(--stride-ctn-secondary);
}

[data-stride-theme] .stride-page-header-note svg {
  flex: none;
  width: 14px;
  height: 14px;
}

[data-stride-theme] .stride-page-header-actions {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--stride-spacing-spc-2x);
}

/* Split primary: the label and the chevron read as one button with a thin
 * seam between them. */
[data-stride-theme] .stride-page-header-split {
  display: inline-flex;
  gap: 1px;
}

[data-stride-theme] .stride-page-header-split > .stride-button:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

[data-stride-theme] .stride-page-header-split > .stride-button:last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* A phone keeps its few buttons beside the title (the canvas phone boards);
 * the title wraps instead. */
[data-stride-theme] .stride-page-header[data-layout="compact"] {
  flex-wrap: nowrap;
  gap: var(--stride-spacing-spc-2x);
}

/* The title keeps at least 40% of a narrow phone; past that the buttons wrap
 * inside their own column rather than squeeze it to nothing. */
[data-stride-theme]
  .stride-page-header[data-layout="compact"]
  .stride-page-header-text {
  flex-basis: 0;
  min-width: 40%;
}

[data-stride-theme]
  .stride-page-header[data-layout="compact"]
  .stride-page-header-actions {
  gap: var(--stride-spacing-spc-1x);
}

/* A folded secondary's glyph in the ⋮ list, the size of the page's own rows'
 * (the panel is portaled, but stays under [data-stride-theme]). */
[data-stride-theme] .stride-page-header-menu-icon {
  display: inline-flex;
}

[data-stride-theme] .stride-page-header-menu-icon svg {
  width: 14px;
  height: 14px;
}

/* Details pages (SubDetail and IntDetail boards): the way back above the
 * title, an avatar or thumbnail before it. */
[data-stride-theme] .stride-page-header-frame {
  display: flex;
  flex-direction: column;
  gap: var(--stride-spacing-spc-3x);
  width: 100%;
  min-width: 0;
}

[data-stride-theme] .stride-page-header-back {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: var(--stride-spacing-spc-1x);
  min-height: 24px;
  border-radius: var(--stride-radius-rad-1x);
  color: var(--stride-ctn-secondary);
  text-decoration: none;
}

[data-stride-theme] .stride-page-header-back:hover {
  color: var(--stride-ctn-primary);
  text-decoration: underline;
}

[data-stride-theme] .stride-page-header-back svg {
  flex: none;
  width: 16px;
  height: 16px;
}

[data-stride-theme] .stride-page-header-lead {
  display: flex;
  flex: none;
  margin-right: var(--stride-spacing-spc-1x);
}

/* The details boards draw the lead bigger than a list row's 40px: 56px on
 * desktop (an avatar) or 48px (a thumbnail), 48px on a phone. The page
 * passes the row's own avatar or thumbnail; the header sizes it. */
[data-stride-theme] .stride-page-header-lead > .stride-avatar-placeholder {
  width: 56px;
  height: 56px;
  font-size: 18px;
  line-height: 18px;
}

[data-stride-theme] .stride-page-header-lead > .stride-list-row-thumb {
  width: 48px;
  height: 48px;
}

[data-stride-theme] .stride-page-header-lead > .stride-list-row-thumb svg {
  width: 24px;
  height: 24px;
}

[data-stride-theme]
  .stride-page-header[data-layout="compact"]
  .stride-page-header-lead
  > .stride-avatar-placeholder {
  width: 48px;
  height: 48px;
  font-size: 16px;
  line-height: 16px;
}

/* The title sits beside the lead rather than under it: the text column
 * gives up its 240px basis so a narrow pane wraps the buttons first. */
[data-stride-theme] .stride-page-header-lead + .stride-page-header-text {
  flex-basis: 200px;
  align-self: center;
}

/* Phone: the way back and the page ⋮ share a bar above the title. */
[data-stride-theme] .stride-page-header-bar {
  display: flex;
  align-items: center;
  gap: var(--stride-spacing-spc-1x);
  min-width: 0;
  margin: calc(-1 * var(--stride-spacing-spc-1_5x)) 0
    calc(-1 * var(--stride-spacing-spc-1x))
    calc(-1 * var(--stride-spacing-spc-2_5x));
}

/* The arrow and the list's name are one link: the arrow keeps a 44px
 * square, the name fills the bar up to the ⋮. */
[data-stride-theme] .stride-page-header-bar-back {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  border-radius: var(--stride-radius-rad-2x);
  color: var(--stride-ctn-primary);
  text-decoration: none;
}

[data-stride-theme] .stride-page-header-bar-arrow {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

[data-stride-theme] .stride-page-header-bar-arrow svg {
  width: 24px;
  height: 24px;
}

[data-stride-theme] .stride-page-header-bar-label {
  min-width: 0;
  overflow: hidden;
  color: var(--stride-ctn-tertiary);
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-stride-theme] .stride-page-header-bar .stride-button {
  flex: none;
  width: 44px;
  height: 44px;
}

/* An outline, as the list row's title link: a box-shadow ring vanishes in
 * forced-colors (Windows high contrast). */
[data-stride-theme] .stride-page-header-back:focus-visible,
[data-stride-theme] .stride-page-header-bar-back:focus-visible {
  outline: 2px solid var(--stride-bdr-focus-ring);
  outline-offset: 2px;
}

/* Phone: the state's one action runs full width under the title. */
[data-stride-theme] .stride-page-header-primary-row {
  display: flex;
}

[data-stride-theme] .stride-page-header-primary-row > .stride-button,
[data-stride-theme]
  .stride-page-header-primary-row
  > .stride-page-header-split {
  flex: 1 1 auto;
  height: 44px;
}

[data-stride-theme]
  .stride-page-header-primary-row
  > .stride-page-header-split
  > .stride-button:first-child {
  flex: 1 1 auto;
  height: 44px;
}

[data-stride-theme]
  .stride-page-header-primary-row
  > .stride-page-header-split
  > .stride-button:last-child {
  height: 44px;
}

/*
 * Stride Manage tags sheet: a phone's list of tags with their actions, then
 * New tag. Tokens only. Scoped under [data-stride-theme].
 */

[data-stride-theme] .stride-manage-tags {
  display: flex;
  flex-direction: column;
  gap: var(--stride-spacing-spc-2x);
  min-width: 0;
}

[data-stride-theme] .stride-manage-tags-notice {
  margin: 0;
  color: var(--stride-ctn-danger-primary);
}

[data-stride-theme] .stride-manage-tags-empty {
  margin: 0;
  color: var(--stride-ctn-tertiary);
}

/* A tag and its actions on one line when they fit (a name of at least 5rem
 * beside two actions), the actions on the next when they don't (three are
 * wider than a 320px sheet). */
[data-stride-theme] .stride-manage-tags-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--stride-spacing-spc-1x);
  min-width: 0;
}

[data-stride-theme] .stride-manage-tags-text {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 5rem;
}

[data-stride-theme] .stride-manage-tags-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-stride-theme] .stride-manage-tags-help {
  color: var(--stride-ctn-tertiary);
}

[data-stride-theme] .stride-manage-tags-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--stride-spacing-spc-1x);
  max-width: 100%;
}

[data-stride-theme] .stride-manage-tags-row .stride-button {
  flex: none;
  min-width: 44px;
  height: 44px;
}

/* Delete keeps the danger tone as text, like the desktop's red menu row. */
[data-stride-theme] .stride-manage-tags-row .stride-manage-tags-danger {
  color: var(--stride-ctn-danger-primary);
}

[data-stride-theme] .stride-manage-tags > .stride-button {
  align-self: flex-start;
  height: 44px;
}

/* The row at the foot of a filter sheet that opens the Manage tags sheet. */
[data-stride-theme] .stride-manage-tags-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-top: var(--stride-border-width-thic-1) solid var(--stride-bdr-divider);
  background: none;
  color: var(--stride-ctn-primary);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

[data-stride-theme] .stride-manage-tags-link:focus-visible {
  outline: none;
  box-shadow: var(--stride-shadow-focus);
}

/*
 * 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-inversed);
}

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

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

/* Checked */
[data-stride-theme] .stride-checkbox:has(:checked) .stride-checkbox-box {
  border-color: transparent;
  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(:checked))
  .stride-checkbox-box,
[data-stride-theme]
  .stride-checkbox[data-hover]:not(:has(:disabled)):not(:has(:checked))
  .stride-checkbox-box,
[data-stride-theme]
  .stride-checkbox[data-preview="hover"]:not(:has(:disabled)):not(
    :has(:checked)
  )
  .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(:checked)
  .stride-checkbox-box,
[data-stride-theme]
  .stride-checkbox[data-hover]:not(:has(:disabled)):has(:checked)
  .stride-checkbox-box,
[data-stride-theme]
  .stride-checkbox[data-preview="hover"]:not(:has(:disabled)):has(:checked)
  .stride-checkbox-box {
  border-color: transparent;
  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(:checked))
  .stride-checkbox-box,
[data-stride-theme]
  .stride-checkbox[data-active]:not(:has(:disabled)):not(:has(:checked))
  .stride-checkbox-box,
[data-stride-theme]
  .stride-checkbox[data-preview="active"]:not(:has(:disabled)):not(
    :has(:checked)
  )
  .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(:checked)
  .stride-checkbox-box,
[data-stride-theme]
  .stride-checkbox[data-active]:not(:has(:disabled)):has(:checked)
  .stride-checkbox-box,
[data-stride-theme]
  .stride-checkbox[data-preview="active"]:not(:has(:disabled)):has(:checked)
  .stride-checkbox-box {
  border-color: transparent;
  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);
}

[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(:checked)
  )
  .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(:checked))
  .stride-checkbox-box,
[data-stride-theme]
  .stride-checkbox[data-preview="focus"]:not(:has(:disabled)):not(
    :has(:checked)
  )
  .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(:checked)
  .stride-checkbox-box,
[data-stride-theme]
  .stride-checkbox[data-focus]:not(:hover):not(:active):not([data-hover]):not(
    [data-active]
  ):not(:has(:disabled)):has(:checked)
  .stride-checkbox-box,
[data-stride-theme]
  .stride-checkbox[data-preview="focus"]:not(:has(:disabled)):has(:checked)
  .stride-checkbox-box {
  border-color: transparent;
  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(:checked)
  .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 Choice chips: a labelled group of chips to pick from.
 * Source: the list-page canvases (the phone filter sheets' chip groups);
 * no Figma frame yet. Tokens only. Scoped under [data-stride-theme].
 */

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

[data-stride-theme] .stride-choice-chips {
  display: flex;
  flex-direction: column;
  gap: var(--stride-spacing-spc-2x);
  min-width: 0;
}

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

[data-stride-theme] .stride-choice-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--stride-spacing-spc-2x);
  min-width: 0;
}

/* 36px to see, 44px to tap: the hit area reaches 4px above and below, which
 * meets (and never overlaps) the next line's across the 8px gap. */
[data-stride-theme] .stride-choice-chip {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: var(--stride-spacing-spc-1x);
  max-width: 100%;
  height: 36px;
  margin: 0;
  padding: 0 var(--stride-spacing-spc-3x);
  border: 0;
  border-radius: var(--stride-radius-rad-full);
  background: var(--stride-bg-surface-secondary);
  color: var(--stride-ctn-secondary);
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* The label shortens; the chip doesn't clip (its tap area reaches past it). */
/* Two classes deep, over the text class: its 13px line box clips the tails
 * of g, y and p once the label hides its overflow (typography.css). */
[data-stride-theme] .stride-choice-chip .stride-choice-chip-text {
  min-width: 0;
  line-height: var(--stride-font-line-height-label-md);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-stride-theme] .stride-choice-chip::before {
  content: "";
  position: absolute;
  inset: -4px 0;
}

/* Only a real pointer: on touch a hover sticks after the tap. */
@media (hover: hover) {
  [data-stride-theme] .stride-choice-chip:hover:not(:disabled) {
    background: var(--stride-bg-neutral-hover);
  }
}

[data-stride-theme] .stride-choice-chip[aria-pressed="true"],
[data-stride-theme] .stride-choice-chip[aria-checked="true"] {
  background: var(--stride-bg-brand-surface);
  color: var(--stride-ctn-brand-primary);
}

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

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

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

[data-stride-theme] .stride-choice-chip-count {
  color: var(--stride-ctn-tertiary);
  font-variant-numeric: tabular-nums;
}

[data-stride-theme]
  .stride-choice-chip[aria-pressed="true"]
  .stride-choice-chip-count,
[data-stride-theme]
  .stride-choice-chip[aria-checked="true"]
  .stride-choice-chip-count {
  color: inherit;
}

/* Forced colours drop backgrounds and shadows: an outline shows focus and
 * a border shows the pick. */
@media (forced-colors: active) {
  [data-stride-theme] .stride-choice-chip {
    border: 1px solid ButtonText;
  }

  [data-stride-theme] .stride-choice-chip[aria-pressed="true"],
  [data-stride-theme] .stride-choice-chip[aria-checked="true"] {
    border: 2px solid Highlight;
  }

  [data-stride-theme] .stride-choice-chip:focus-visible {
    outline: 2px solid Highlight;
    outline-offset: 2px;
  }
}

/*
 * Stride Modal form: a list page's create or edit form in a Stride modal
 * (concept A): label above field, two columns, Cancel and the primary in the
 * footer. Source: the list-page canvases' create modals (Exercise List, My
 * Clients, Courses, Resources, Templates, Chats, Store); no Figma frame yet.
 * Tokens only. Scoped under [data-stride-theme].
 */

[data-stride-theme] .stride-modal-form-body {
  display: flex;
  flex-direction: column;
  gap: var(--stride-spacing-spc-4x);
}

/* A phone sheet's extraAction ("Archive"), under the form. */
[data-stride-theme] .stride-modal-form-extra {
  display: flex;
  justify-content: flex-start;
  margin-top: var(--stride-spacing-spc-4x);
}

/* What went wrong with the last submit, over the fields. */
[data-stride-theme] .stride-modal-form-error {
  display: flex;
  align-items: flex-start;
  gap: var(--stride-spacing-spc-2x);
  padding: var(--stride-spacing-spc-2_5x) var(--stride-spacing-spc-3x);
  border-radius: var(--stride-radius-rad-2x);
  background: var(--stride-bg-danger-surface);
  /* The words in primary text: danger on the danger surface is 4.2:1. */
  color: var(--stride-ctn-primary);
}

[data-stride-theme] .stride-modal-form-error > svg {
  flex: none;
  color: var(--stride-ctn-danger-primary);
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

/* A submit that can't act yet stays focusable (its reason is read) but looks
 * as a disabled one does, as the save bar's Save; hovered, focused or
 * pressed too (StrideButton's live states would otherwise win). */
[data-stride-theme]
  .stride-modal-form-submit.stride-button--primary[aria-disabled="true"],
[data-stride-theme]
  .stride-modal-form-submit.stride-button--primary[aria-disabled="true"]:is(
    :hover,
    :focus-visible,
    :active
  ):not(:disabled) {
  border-color: var(--stride-bdr-disabled);
  background: var(--stride-bg-brand-disabled);
  color: var(--stride-ctn-inversed-disabled);
  cursor: not-allowed;
}

[data-stride-theme]
  .stride-modal-form-submit.stride-button--danger[aria-disabled="true"],
[data-stride-theme]
  .stride-modal-form-submit.stride-button--danger[aria-disabled="true"]:is(
    :hover,
    :focus-visible,
    :active
  ):not(:disabled) {
  border-color: var(--stride-bdr-disabled);
  background: var(--stride-bg-danger-disabled);
  color: var(--stride-ctn-inversed-disabled);
  cursor: not-allowed;
}

[data-stride-theme] .stride-modal-form-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* The grid switches on its own width, not the screen's. */
[data-stride-theme] .stride-form-grid {
  container-type: inline-size;
}

[data-stride-theme] .stride-form-grid-cells {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--stride-spacing-spc-4x) var(--stride-spacing-spc-3x);
}

[data-stride-theme] .stride-form-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

[data-stride-theme] .stride-form-field[data-span="2"],
[data-stride-theme] .stride-form-section {
  grid-column: 1 / -1;
}

[data-stride-theme] .stride-form-section {
  margin: var(--stride-spacing-spc-2x) 0 calc(-1 * var(--stride-spacing-spc-2x));
  color: var(--stride-ctn-primary);
}

@container (width < 480px) {
  [data-stride-theme] .stride-form-grid-cells {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* A phone sheet's × is a 44px target (the canvases' Close), over the small
 * button's own 28px: two classes deep. */
[data-stride-theme]
  .stride-sheet-header
  .stride-button.stride-modal-form-close {
  width: 44px;
  min-width: 44px;
  height: 44px;
}

/* A phone sheet's text fields are a thumb's height (the canvases' 44px
 * inputs), and all of the box is the input, so a tap anywhere in it lands in
 * the field and not only on its 19px of text. */
[data-stride-theme] .stride-modal-form-sheet .stride-input-field-control {
  height: 44px;
  padding-block: 0;
}

[data-stride-theme] .stride-modal-form-sheet .stride-input-field-text-container,
[data-stride-theme] .stride-modal-form-sheet .stride-input-field-input {
  align-self: stretch;
  height: 100%;
}

[data-stride-theme] .stride-modal-form-sheet .stride-text-area-input {
  min-height: 44px;
}

/* ...and so is a search field in the sheet (a recipient search) and its
 * clear: the bar's own 44px, the clear taking the bar's right padding. */
[data-stride-theme] .stride-modal-form-sheet .stride-search-bar {
  height: 44px;
}

[data-stride-theme]
  .stride-modal-form-sheet
  .stride-search-bar
  .stride-inline-button {
  width: 44px;
  height: 44px;
  margin-right: calc(-1 * var(--stride-spacing-spc-1_5x));
}


/*# sourceMappingURL=931-ea6142aa.css.map*/