/* YButton, YIconButton and YToggleButton's own styles. */

.v-btn .v-btn__prepend .v-icon,
.v-btn .v-btn__append .v-icon {
  font-size: 20px !important;
}
.v-btn.v-btn--size-small .v-btn__prepend .v-icon,
.v-btn.v-btn--size-small .v-btn__append .v-icon {
  font-size: 16px !important;
}

.y-button.v-btn {
  border-radius: 8px;
}
/* A label's content is a flex row, where the spaces around a count in its own
   element would be trimmed away; folded into the text, they stay. */
.v-btn__content > :is(span, b, strong, em):not([class], [hidden]) {
  display: contents;
}
.y-button.v-btn.y-button--secondary {
  border-color: rgb(var(--v-theme-structure-border));
  background: rgb(var(--v-theme-structure-primary));
}
.y-button.v-btn.v-btn--size-x-small {
  height: 28px;
  font-size: 12px;
}
.y-button.v-btn.v-btn--size-small {
  height: 32px;
  font-size: 14px;
}
/* The sheen has to stay a background-image so it layers over the color from bg-*. */
.y-button.v-btn.v-btn--variant-flat {
  background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.2), transparent 80%);
}
.y-button.v-btn.elevation-1 {
  box-shadow:
    0 2px 4px 0 rgba(0, 0, 0, 0.15),
    0 2px 8px -2px rgba(0, 0, 0, 0.04),
    0 1.5px 1px 0 rgba(255, 255, 255, 0.39) inset !important;
}

.v-theme--dark .y-button.v-btn.v-btn--variant-flat {
  background: none;
}
.v-theme--dark .y-button.v-btn.y-button--primary {
  background: linear-gradient(180deg, rgb(81, 101, 230) 0%, rgb(68, 86, 214) 100%);
  color: rgb(255, 255, 255);
  border: 1px solid rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}
.v-theme--dark .y-button.v-btn.y-button--primary:hover {
  background: linear-gradient(180deg, rgb(90, 110, 239) 0%, rgb(77, 95, 224) 100%);
}
.v-theme--dark .y-button.v-btn.y-button--primary:active {
  background: linear-gradient(180deg, rgb(68, 86, 214) 0%, rgb(61, 79, 204) 100%);
}
.v-theme--dark .y-button.v-btn.y-button--secondary,
.v-theme--dark .y-button.v-btn.y-button--outlined {
  background: rgb(var(--v-theme-surface-bright));
  border-color: rgba(255, 255, 255, 0.04);
  color: rgb(var(--v-theme-text-secondary));
  box-shadow: none !important;
}
.v-theme--dark .y-button.v-btn.y-button--secondary:hover,
.v-theme--dark .y-button.v-btn.y-button--outlined:hover {
  background: rgb(var(--v-theme-state-primary-pressed));
  border-color: rgba(255, 255, 255, 0.1);
  color: rgb(var(--v-theme-text-default));
}
.v-theme--dark .v-btn.elevation-1 {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

/* Firefox paints Vuetify's zero elevation shadow under a round button with no
   background, as a grey disc; no shadow is what elevation-0 means. */
.elevation-0 {
  box-shadow: none;
}

.y-icon-button.v-btn--icon {
  width: var(--v-btn-height);
  height: var(--v-btn-height);
  border-radius: 50% !important;
}
.y-icon-button.v-btn--icon.v-btn--size-x-small {
  height: 28px;
  width: 28px;
}
.y-icon-button.v-btn--icon.v-btn--size-small {
  height: 32px;
  width: 32px;
}

.y-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.y-toggle-btn-container {
  display: flex;
  align-items: center;
}
.y-toggle-btn-wrapper {
  display: flex;
  align-items: center;
  background-color: rgb(var(--v-theme-structure-hover));
  border-radius: 12px;
  height: 40px;
  gap: 0;
}
.y-toggle-btn-wrapper--compact {
  border-radius: 16px;
  height: 30px;
  padding: 3px;
}
.y-toggle-btn {
  background-color: transparent !important;
  min-width: 0;
  height: 100%;
}
.y-toggle-btn.v-btn-group--density-compact.v-btn-group {
  border-radius: 16px;
  height: 24px;
  gap: 4px;
}
.y-toggle-btn.v-btn-group--density-compact.v-btn-group .v-btn--density-compact {
  border-radius: 16px !important;
  margin: 0;
}
.y-toggle-btn > .y-toggle-btn-child.v-btn {
  margin: 4px;
  border-radius: 10px !important;
}
.y-toggle-btn-child:has(.y-toggle-input:checked) {
  background-color: rgb(var(--v-theme-structure-primary)) !important;
  color: rgb(var(--v-theme-text-default)) !important;
  box-shadow: 0px 2px 4.8px 0px rgba(28, 28, 48, 0.07);
}
.y-toggle-btn-child:has(.y-toggle-input:checked) > .v-btn__overlay {
  opacity: 0 !important;
}
.y-toggle-btn-child:has(.y-toggle-input:focus-visible)::after {
  opacity: calc(0.25 * var(--v-theme-overlay-multiplier));
}
.y-toggle-input {
  appearance: none;
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: inherit;
  cursor: pointer;
}

/* Rae's answer blocks. Each block's rules are scoped under its root class, and
   the accordions take Vuetify's own expansion panel rules. */

@layer vuetify-components {
  .ai-accordion-panels .v-expansion-panel {
    background-color: rgb(var(--v-theme-surface));
    color: color-mix(
      in srgb,
      rgb(var(--v-theme-on-surface)) calc(var(--v-high-emphasis-opacity) * 100%),
      transparent
    );
  }
  .ai-accordion-panels .v-expansion-panel:not(:first-child)::after {
    border-color: rgb(var(--v-theme-structure-border));
  }
  .ai-accordion-panels .v-expansion-panel--disabled .v-expansion-panel-title {
    color: color-mix(in srgb, rgb(var(--v-theme-on-surface)) 26%, transparent);
  }
  .ai-accordion-panels
    .v-expansion-panel--disabled
    .v-expansion-panel-title
    .v-expansion-panel-title__overlay {
    opacity: 0.4615384615;
  }
  .ai-accordion-panels.v-expansion-panels {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style-type: none;
    padding: 0;
    width: 100%;
    position: relative;
    z-index: 1;
    border-radius: 10px;
  }
}
@layer vuetify-overrides {
  .ai-accordion-panels.v-expansion-panels > :first-child {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
  }
  .ai-accordion-panels.v-expansion-panels > :last-child {
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
  }
  .ai-accordion-panels.v-expansion-panels:not(
      .v-expansion-panels--variant-accordion
    )
    > .v-expansion-panel--active {
    border-radius: inherit;
  }
  .ai-accordion-panels.v-expansion-panels:not(
      .v-expansion-panels--variant-accordion
    )
    > .v-expansion-panel--before-active {
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
  }
  .ai-accordion-panels.v-expansion-panels:not(
      .v-expansion-panels--variant-accordion
    )
    > .v-expansion-panel--after-active {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
  }
  .ai-accordion-panels.v-expansion-panels:not(
      .v-expansion-panels--variant-accordion
    )
    > :not(:first-child):not(.v-expansion-panel--after-active):not(
      .v-expansion-panel--active
    ) {
    border-top-left-radius: var(--v-expansion-panels-inner-radius, 0);
    border-top-right-radius: var(--v-expansion-panels-inner-radius, 0);
  }
  .ai-accordion-panels.v-expansion-panels:not(
      .v-expansion-panels--variant-accordion
    )
    > :not(:last-child):not(.v-expansion-panel--before-active):not(
      .v-expansion-panel--active
    ) {
    border-bottom-left-radius: var(--v-expansion-panels-inner-radius, 0);
    border-bottom-right-radius: var(--v-expansion-panels-inner-radius, 0);
  }
  .ai-accordion-panels.v-expansion-panels--variant-accordion
    > :first-child:not(:last-child) {
    border-bottom-left-radius: var(--v-expansion-panels-inner-radius, 0);
    border-bottom-right-radius: var(--v-expansion-panels-inner-radius, 0);
  }
  .ai-accordion-panels.v-expansion-panels--variant-accordion
    > :last-child:not(:first-child) {
    border-top-left-radius: var(--v-expansion-panels-inner-radius, 0);
    border-top-right-radius: var(--v-expansion-panels-inner-radius, 0);
  }
  .ai-accordion-panels.v-expansion-panels--variant-accordion
    > :last-child:not(:first-child)
    .v-expansion-panel-title--active {
    border-bottom-left-radius: initial;
    border-bottom-right-radius: initial;
  }
  .ai-accordion-panels.v-expansion-panels--variant-accordion
    > :not(:first-child):not(:last-child) {
    border-radius: var(--v-expansion-panels-inner-radius, 0);
  }
}
@layer vuetify-components {
  .ai-accordion-panels.v-expansion-panels--variant-accordion
    .v-expansion-panel-title__overlay {
    transition: 0.3s border-radius cubic-bezier(0.4, 0, 0.2, 1);
  }
  .ai-accordion-panels .v-expansion-panel {
    flex: 1 0 100%;
    max-width: 100%;
    position: relative;
    transition: 0.3s all cubic-bezier(0.4, 0, 0.2, 1);
    transition-property: margin-top, border-radius, border, max-width;
    border-radius: 10px;
  }
  @media (prefers-reduced-motion: reduce) {
    .ai-accordion-panels .v-expansion-panel {
      transition-property: border-radius, border;
    }
  }
  .ai-accordion-panels .v-expansion-panel:not(:first-child)::after {
    border-top-style: solid;
    border-top-width: thin;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: 0.3s opacity cubic-bezier(0.4, 0, 0.2, 1);
  }
  .ai-accordion-panels .v-expansion-panel--disabled .v-expansion-panel-title {
    pointer-events: none;
  }
  .ai-accordion-panels .v-expansion-panel--active:not(:first-child),
  .ai-accordion-panels .v-expansion-panel--active + .v-expansion-panel {
    margin-top: 0;
  }
  .ai-accordion-panels .v-expansion-panel--active:not(:first-child)::after,
  .ai-accordion-panels .v-expansion-panel--active + .v-expansion-panel::after {
    opacity: 0;
  }
  .ai-accordion-panels .v-expansion-panel--active > .v-expansion-panel-title {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .ai-accordion-panels
    .v-expansion-panel--active
    > .v-expansion-panel-title:not(.v-expansion-panel-title--static) {
    min-height: 48px;
  }
  .ai-accordion-panels .v-expansion-panel__shadow {
    border-radius: inherit;
    z-index: -1;
  }
  .ai-accordion-panels .v-expansion-panel__shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .ai-accordion-panels .v-expansion-panel__shadow {
    box-shadow:
      0px 1px 2px 0px
        rgba(var(--v-shadow-color), var(--v-shadow-key-opacity, 0.3)),
      0px 1px 3px 1px
        rgba(var(--v-shadow-color), var(--v-shadow-ambient-opacity, 0.15));
    --v-elevation-overlay: color-mix(
      in srgb,
      var(--v-elevation-overlay-color) 2%,
      transparent
    );
  }
  .ai-accordion-panels .v-expansion-panel-title {
    background-color: transparent;
    border: none;
    margin: 0;
    appearance: none;
    align-items: center;
    text-align: start;
    border-radius: inherit;
    display: flex;
    font: inherit;
    font-size: 0.9375rem;
    line-height: 1;
    min-height: 48px;
    outline: none;
    padding: 16px 24px;
    position: relative;
    width: 100%;
    justify-content: space-between;
  }
  @media (prefers-reduced-motion: no-preference) {
    .ai-accordion-panels .v-expansion-panel-title {
      transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      transition-property: min-height, border-radius;
    }
  }
  .ai-accordion-panels
    .v-expansion-panel-title--hover:hover
    > .v-expansion-panel-title__overlay {
    opacity: calc(var(--v-hover-opacity) * var(--v-theme-overlay-multiplier));
  }
  .ai-accordion-panels
    .v-expansion-panel-title--hover:focus-visible
    > .v-expansion-panel-title__overlay {
    opacity: calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier));
  }
  @supports not selector(:focus-visible) {
    .ai-accordion-panels
      .v-expansion-panel-title--hover:focus
      > .v-expansion-panel-title__overlay {
      opacity: calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier));
    }
  }
  .ai-accordion-panels
    .v-expansion-panel-title--focusable.v-expansion-panel-title--active
    .v-expansion-panel-title__overlay {
    opacity: calc(
      var(--v-activated-opacity) * var(--v-theme-overlay-multiplier)
    );
  }
  .ai-accordion-panels
    .v-expansion-panel-title--focusable.v-expansion-panel-title--active:hover
    .v-expansion-panel-title__overlay {
    opacity: calc(
      (var(--v-activated-opacity) + var(--v-hover-opacity)) *
        var(--v-theme-overlay-multiplier)
    );
  }
  .ai-accordion-panels
    .v-expansion-panel-title--focusable.v-expansion-panel-title--active:focus-visible
    .v-expansion-panel-title__overlay {
    opacity: calc(
      (var(--v-activated-opacity) + var(--v-focus-opacity)) *
        var(--v-theme-overlay-multiplier)
    );
  }
  @supports not selector(:focus-visible) {
    .ai-accordion-panels
      .v-expansion-panel-title--focusable.v-expansion-panel-title--active:focus
      .v-expansion-panel-title__overlay {
      opacity: calc(
        (var(--v-activated-opacity) + var(--v-focus-opacity)) *
          var(--v-theme-overlay-multiplier)
      );
    }
  }
  @supports selector(:focus-visible) {
    .ai-accordion-panels .v-expansion-panel-title::after {
      pointer-events: none;
      border: 2px solid currentColor;
      border-radius: inherit;
      opacity: 0;
      transition: opacity 0.2s ease-in-out;
    }
    .ai-accordion-panels .v-expansion-panel-title::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }
    .ai-accordion-panels .v-expansion-panel-title:focus-visible::after {
      opacity: calc(0.25 * var(--v-theme-overlay-multiplier));
    }
  }
  .ai-accordion-panels .v-expansion-panel-title__overlay {
    background-color: currentColor;
    border-radius: inherit;
    opacity: 0;
  }
  .ai-accordion-panels .v-expansion-panel-title__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .ai-accordion-panels .v-expansion-panel-title__icon {
    display: inline-flex;
    margin-bottom: -4px;
    margin-top: -4px;
    user-select: none;
    margin-inline-start: auto;
  }
  .ai-accordion-panels .v-expansion-panel-text {
    display: flex;
  }
  .ai-accordion-panels .v-expansion-panel-text__wrapper {
    padding: 8px 24px 16px;
    flex: 1 1 auto;
    max-width: 100%;
  }
  .ai-accordion-panels.v-expansion-panels--variant-accordion.v-expansion-panels--no-divider
    > .v-expansion-panel::after {
    opacity: 0;
  }
  .ai-accordion-panels.v-expansion-panels--variant-accordion
    > .v-expansion-panel {
    margin-top: 0;
  }
  .ai-accordion-panels.v-expansion-panels--variant-accordion
    > .v-expansion-panel::after {
    opacity: 1;
  }
  .ai-accordion-panels.v-expansion-panels--variant-popout > .v-expansion-panel {
    max-width: calc(100% - 0);
  }
  .ai-accordion-panels.v-expansion-panels--variant-popout
    > .v-expansion-panel--active {
    max-width: calc(100% + 0);
  }
  .ai-accordion-panels.v-expansion-panels--variant-inset > .v-expansion-panel {
    max-width: 100%;
  }
  .ai-accordion-panels.v-expansion-panels--variant-inset
    > .v-expansion-panel--active {
    max-width: calc(100% - 0);
  }
  .ai-accordion-panels.v-expansion-panels--flat > .v-expansion-panel::after {
    border-top: none;
  }
  .ai-accordion-panels.v-expansion-panels--flat
    > .v-expansion-panel
    .v-expansion-panel__shadow {
    display: none;
  }
  .ai-accordion-panels.v-expansion-panels--tile {
    border-radius: 0;
  }
  .ai-accordion-panels.v-expansion-panels--tile > .v-expansion-panel {
    border-radius: 0;
  }
  @media (forced-colors: active) {
    .ai-accordion-panels .v-expansion-panel {
      border: thin solid;
    }
    .ai-accordion-panels .v-expansion-panel-title:focus-visible {
      outline: 2px solid;
      outline-offset: -2px;
    }
  }
}

.ai-tile-button.v-btn {
  width: 100%;
  min-height: 64px;
  border-radius: 8px;
  border: 1px solid var(--ai-divider);
  background: var(--ai-surface);
  color: var(--ai-text);
  text-align: left;
  justify-content: flex-start;
  padding: 12px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.ai-tile-button .v-btn__content {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
}

.ai-accordion-button.v-btn {
  width: 100%;
  border-radius: 0;
  border: 0;
  background: var(--ai-surface);
  color: var(--ai-text);
  text-align: left;
  justify-content: space-between;
  padding: 16px 24px;
  height: auto;
  min-height: 0;
  align-items: stretch;
  white-space: normal;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.ai-accordion-button .v-btn__content {
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  white-space: normal;
}

.ai-accordion-button .v-btn__overlay,
.ai-accordion-button .v-btn__underlay {
  display: none;
}

.ai-empty-state {
  gap: 8px;
  color: var(--ai-text-muted);
}

.ai-empty-state__icon {
  color: var(--ai-text-subtle);
}

.ai-empty-state__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ai-text);
}

.ai-empty-state__message {
  font-size: 14px;
}

.ai-status-tag {
  font-weight: 600;
  text-transform: none;
  border-radius: 999px;
}

.ai-status-tag__icon {
  font-size: 12px;
  margin-right: 4px;
}

.ai-status-tag--success {
  background: var(--ai-success-bg);
  color: var(--ai-success-text);
}

.ai-status-tag--info {
  background: var(--ai-info-bg);
  color: var(--ai-info-text);
}

.ai-status-tag--warning {
  background: var(--ai-warning-bg);
  color: var(--ai-warning-text);
}

.ai-status-tag--danger {
  background: var(--ai-danger-bg);
  color: var(--ai-danger-text);
}

.ai-status-tag--secondary {
  background: var(--ai-secondary-bg);
  color: var(--ai-secondary-text);
}

.ai-status-tag--xs {
  font-size: 11px;
  padding: 2px 8px;
}

.ai-status-tag--sm {
  font-size: 12px;
  padding: 3px 10px;
}

.ai-status-tag--md {
  font-size: 13px;
  padding: 4px 12px;
}

.ai-data-table .v-data-table__wrapper > table {
  min-width: var(--ai-table-min-width);
}

.ai-data-table .v-data-table__td,
.ai-data-table .v-data-table__th {
  font-size: 13px;
  color: var(--ai-text);
}

.ai-data-table .v-data-table__th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--ai-text-muted);
}

.ai-data-table .v-data-table__tr {
  transition: background-color 0.15s ease;
}

.ai-block-health .error-list,
.ai-block-health:is(.error-list) {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ai-block-health .error-card,
.ai-block-health:is(.error-card) {
  border: 0;
  border-bottom: 1px solid var(--ai-border);
  border-radius: 0;
  padding: 12px 0;
  background: transparent;
}

.ai-block-health .error-card:last-child,
.ai-block-health:is(.error-card:last-child) {
  border-bottom: 0;
}

.ai-block-health .error-card__header,
.ai-block-health:is(.error-card__header) {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.ai-block-health .error-card__left,
.ai-block-health:is(.error-card__left) {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ai-block-health .error-icon,
.ai-block-health:is(.error-icon) {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.ai-block-health .error-icon--app,
.ai-block-health:is(.error-icon--app) {
  background: rgb(var(--v-theme-primary-bg));
  color: #4f46e5;
  border: 1px solid rgb(var(--v-theme-structure-border));
}

.ai-block-health .error-icon--workflow,
.ai-block-health:is(.error-icon--workflow) {
  background: rgb(var(--v-theme-blue-bg));
  color: #2563eb;
  border: 1px solid rgb(var(--v-theme-structure-border));
}

.ai-block-health .error-title,
.ai-block-health:is(.error-title) {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--ai-text);
}

.ai-block-health .error-subline,
.ai-block-health:is(.error-subline) {
  font-size: 11px;
  color: var(--ai-text-muted);
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}

.ai-block-health .error-kicker,
.ai-block-health:is(.error-kicker) {
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ai-block-health .error-kicker--prov,
.ai-block-health:is(.error-kicker--prov) {
  color: #4f46e5;
}

.ai-block-health .error-kicker--wf,
.ai-block-health:is(.error-kicker--wf) {
  color: #2563eb;
}

.ai-block-health .error-dot,
.ai-block-health:is(.error-dot) {
  color: rgba(var(--v-theme-on-surface), 0.2);
}

.ai-block-health .error-subtext,
.ai-block-health:is(.error-subtext) {
  color: var(--ai-text-muted);
  font-weight: 500;
}

.ai-block-health .error-status,
.ai-block-health:is(.error-status) {
  color: var(--ai-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 10px;
}

.ai-block-health .error-pill,
.ai-block-health:is(.error-pill) {
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(var(--v-theme-on-surface), 0.04);
  color: var(--ai-text-subtle);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  border: 1px solid rgb(var(--v-theme-structure-border));
}

.ai-block-health .workflow-pill,
.ai-block-health:is(.workflow-pill) {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgb(var(--v-theme-blue-bg));
  color: rgb(var(--v-theme-blue-text));
}

.ai-block-health .error-date,
.ai-block-health:is(.error-date) {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}

.ai-block-health .error-date__label,
.ai-block-health:is(.error-date__label) {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ai-text-muted);
}

.ai-block-health .error-date__value,
.ai-block-health:is(.error-date__value) {
  font-size: 12px;
  color: var(--ai-text-muted);
  font-variant-numeric: tabular-nums;
}

.ai-block-health .error-log,
.ai-block-health:is(.error-log) {
  margin-top: 12px;
  border: 1px solid var(--ai-border);
  border-radius: 8px;
  background: var(--ai-surface-muted);
  overflow: hidden;
}

.ai-block-health .error-log__header,
.ai-block-health:is(.error-log__header) {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-bottom: 1px solid var(--ai-border);
  background: color-mix(in srgb, var(--ai-surface-muted) 70%, transparent);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ai-danger-text);
  font-weight: 600;
}

.ai-block-health .error-log__header .mdi,
.ai-block-health:is(.error-log__header .mdi) {
  font-size: 10px;
  color: var(--ai-danger-text);
}

.ai-block-health .error-log__body,
.ai-block-health:is(.error-log__body) {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: 11px;
  color: var(--ai-text-muted);
  padding: 8px 12px;
  white-space: nowrap;
  overflow-x: auto;
  line-height: 1.4;
}

.ai-block-health .error-scroll::-webkit-scrollbar,
.ai-block-health:is(.error-scroll::-webkit-scrollbar) {
  height: 4px;
}

.ai-block-health .error-scroll::-webkit-scrollbar-track,
.ai-block-health:is(.error-scroll::-webkit-scrollbar-track) {
  background: transparent;
}

.ai-block-health .error-scroll::-webkit-scrollbar-thumb,
.ai-block-health:is(.error-scroll::-webkit-scrollbar-thumb) {
  background: color-mix(in srgb, var(--ai-text-muted) 30%, transparent);
  border-radius: 999px;
}

.ai-block-health .error-scroll::-webkit-scrollbar-thumb:hover,
.ai-block-health:is(.error-scroll::-webkit-scrollbar-thumb:hover) {
  background: color-mix(in srgb, var(--ai-text-muted) 55%, transparent);
}

.ai-block-health .avatar,
.ai-block-health:is(.avatar) {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.ai-block-health .avatar--sm,
.ai-block-health:is(.avatar--sm) {
  width: 24px;
  height: 24px;
  font-size: 9px;
}

.ai-block-health .avatar[data-tone="0"],
.ai-block-health:is(.avatar[data-tone="0"]) {
  background: #f3f4f6;
  color: #374151;
}

.ai-block-health .avatar[data-tone="1"],
.ai-block-health:is(.avatar[data-tone="1"]) {
  background: #eff6ff;
  color: #1d4ed8;
}

.ai-block-health .avatar[data-tone="2"],
.ai-block-health:is(.avatar[data-tone="2"]) {
  background: #eef2ff;
  color: #4338ca;
}

.ai-block-health .avatar[data-tone="3"],
.ai-block-health:is(.avatar[data-tone="3"]) {
  background: #f1f5f9;
  color: #334155;
}

.nhi-list .nhi-list,
.nhi-list:is(.nhi-list) {
  --nhi-border: var(--oa-border, var(--ai-border));
  --nhi-hover: var(--oa-hover, var(--ai-surface-muted));
  --nhi-text: var(--oa-text, var(--ai-text));
  --nhi-subtle: var(--oa-subtle, var(--ai-text-subtle));
  --nhi-blue-bg: var(--oa-blue-bg, var(--ai-info-bg));
  --nhi-blue-text: var(--oa-blue-text, var(--ai-primary));
  --nhi-blue-hover: var(--oa-blue-hover, var(--ai-border));

  display: grid;
  gap: 4px;
}

.nhi-list .nhi-row,
.nhi-list:is(.nhi-row) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease;
}

.nhi-list .nhi-row:hover,
.nhi-list:is(.nhi-row:hover) {
  border-color: var(--nhi-border);
  background: var(--nhi-hover);
}

.nhi-list .nhi-left,
.nhi-list:is(.nhi-left) {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.nhi-list .nhi-icon,
.nhi-list:is(.nhi-icon) {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 1px solid transparent;
  margin-top: 2px;
}

.nhi-list .nhi-icon--nhi,
.nhi-list:is(.nhi-icon--nhi) {
  background: var(--ai-nhi-bg);
  color: var(--ai-nhi-text);
  border-color: var(--ai-nhi-border);
}

.nhi-list .nhi-icon--vendor,
.nhi-list:is(.nhi-icon--vendor) {
  background: var(--nhi-blue-bg);
  color: var(--nhi-blue-text);
  border-color: var(--nhi-blue-hover);
}

.nhi-list .nhi-name,
.nhi-list:is(.nhi-name) {
  font-weight: 500;
  color: rgb(var(--v-theme-text-secondary));
}

.nhi-list .nhi-meta,
.nhi-list:is(.nhi-meta) {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nhi-list .nhi-apps,
.nhi-list:is(.nhi-apps) {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.nhi-list .nhi-row:hover .nhi-name,
.nhi-list:is(.nhi-row:hover .nhi-name) {
  color: var(--nhi-text);
}

.nhi-list .nhi-footer,
.nhi-list:is(.nhi-footer) {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--nhi-border);
  text-align: center;
  font-size: 10px;
  color: var(--nhi-subtle);
}

.ai-block-oauth .risk-stack,
.ai-block-oauth:is(.risk-stack) {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-block-oauth .risk-section,
.ai-block-oauth:is(.risk-section) {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-block-oauth .risk-list,
.ai-block-oauth:is(.risk-list) {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-block-oauth .risk-card,
.ai-block-oauth:is(.risk-card) {
  border: 1px solid var(--ai-border);
  border-radius: var(--ai-radius-card);
  background: var(--ai-surface);
  box-shadow: none;
  overflow: hidden;
}

.ai-block-oauth .risk-card .risk-card__toggle.ai-button,
.ai-block-oauth:is(.risk-card .risk-card__toggle.ai-button) {
  padding: 18px 16px;
  background: transparent;
}

.ai-block-oauth .risk-card .risk-card__toggle:focus-visible,
.ai-block-oauth:is(.risk-card .risk-card__toggle:focus-visible) {
  outline: 2px solid color-mix(in srgb, var(--ai-primary) 40%, transparent);
  outline-offset: -2px;
}

.ai-block-oauth .risk-card__content,
.ai-block-oauth:is(.risk-card__content) {
  padding: 8px 24px 16px;
}

.ai-block-oauth .risk-title-row,
.ai-block-oauth:is(.risk-title-row) {
  align-items: flex-start;
  row-gap: 8px;
}

.ai-block-oauth .risk-title-app,
.ai-block-oauth:is(.risk-title-app),
.ai-block-oauth .risk-title-users,
.ai-block-oauth:is(.risk-title-users),
.ai-block-oauth .risk-title-meta,
.ai-block-oauth:is(.risk-title-meta) {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ai-block-oauth .risk-title-meta__row,
.ai-block-oauth:is(.risk-title-meta__row) {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
}

.ai-block-oauth .risk-title-created,
.ai-block-oauth:is(.risk-title-created) {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ai-block-oauth .risk-title-meta,
.ai-block-oauth:is(.risk-title-meta) {
  align-items: flex-end;
  text-align: right;
}

.ai-block-oauth .risk-title-toggle,
.ai-block-oauth:is(.risk-title-toggle) {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  max-width: 18px;
  margin-top: 2px;
}

.ai-block-oauth .risk-title-toggle__icon,
.ai-block-oauth:is(.risk-title-toggle__icon) {
  color: var(--ai-text-muted);
  transition: transform 0.2s ease;
}

.ai-block-oauth .risk-title-toggle__icon--open,
.ai-block-oauth:is(.risk-title-toggle__icon--open) {
  transform: rotate(90deg);
}

.ai-block-oauth .scope-list,
.ai-block-oauth:is(.scope-list) {
  max-width: 100%;
  overflow-x: auto;
}

.ai-block-oauth .scope-list .v-list-item,
.ai-block-oauth:is(.scope-list .v-list-item) {
  min-width: max-content;
}

.ai-block-oauth .scope-list .v-list-item-title,
.ai-block-oauth:is(.scope-list .v-list-item-title) {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}

.ai-block-oauth .chip-row,
.ai-block-oauth:is(.chip-row) {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.ai-block-oauth .risk-chip,
.ai-block-oauth:is(.risk-chip) {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-block-oauth .scope-row,
.ai-block-oauth:is(.scope-row) {
  cursor: pointer;
}

.ai-block-oauth .scope-row:focus-visible,
.ai-block-oauth:is(.scope-row:focus-visible) {
  outline: 2px solid color-mix(in srgb, var(--ai-primary) 40%, transparent);
  outline-offset: -2px;
}

@media (max-width: 960px) {
  .ai-block-oauth .risk-title-meta,
  .ai-block-oauth:is(.risk-title-meta) {
    align-items: flex-start;
    text-align: left;
  }

  .ai-block-oauth .risk-title-meta__row,
  .ai-block-oauth:is(.risk-title-meta__row) {
    justify-content: flex-start;
  }
}

.ai-block-oauth .avatar-tone-0,
.ai-block-oauth:is(.avatar-tone-0) {
  background: #f3f4f6;
  color: #374151;
}
.ai-block-oauth .avatar-tone-1,
.ai-block-oauth:is(.avatar-tone-1) {
  background: #eff6ff;
  color: #1d4ed8;
}
.ai-block-oauth .avatar-tone-2,
.ai-block-oauth:is(.avatar-tone-2) {
  background: #eef2ff;
  color: #4338ca;
}
.ai-block-oauth .avatar-tone-3,
.ai-block-oauth:is(.avatar-tone-3) {
  background: #f1f5f9;
  color: #334155;
}

.macro-user-access .macro-user-access,
.macro-user-access:is(.macro-user-access) {
  width: 100%;
}

.macro-user-access .row-click,
.macro-user-access:is(.row-click),
.macro-user-access .clickable-row,
.macro-user-access:is(.clickable-row) {
  cursor: pointer;
}

/* kernel/ui's own expansion panels (expand.css) are details elements styled
   outside any layer; these accordions take Vuetify's layered rules instead. */
#ai-chat .ai-accordion-panels,
#ai-chat .ai-accordion-panels > .v-expansion-panel,
#ai-chat .ai-accordion-panels > .v-expansion-panel::after,
#ai-chat .ai-accordion-panels .v-expansion-panel-title__overlay,
#ai-chat .ai-accordion-panels .v-expansion-panel-title__icon {
  all: revert-layer;
}

.ai-accordion-panels .v-expansion-panel-text[hidden],
.ai-block-oauth [hidden],
.macro-user-access [hidden] {
  display: none;
}


:root {

  --ai-surface: #ffffff;
  --ai-surface-muted: #f8fafc;
  --ai-surface-elevated: #ffffff;
  --ai-border: rgba(2, 6, 23, 0.08);
  --ai-border-strong: rgba(15, 23, 42, 0.12);
  --ai-border-hover: rgba(15, 23, 42, 0.18);
  --ai-divider: #e2e8f0;
  --ai-divider-subtle: rgba(226, 232, 240, 0.6);

  --ai-radius-card: 8px;
  --ai-radius-control: 8px;
  --ai-radius-round: 999px;
  --ai-shadow-card: none;

  --ai-header-from: #0f172a;
  --ai-header-to: #1e293b;
  --ai-header-blob-left: #3b82f6;
  --ai-header-blob-right: #6366f1;
  --ai-header-text: #ffffff;

  --ai-text: #1f2937;
  --ai-text-muted: #64748b;
  --ai-text-subtle: #94a3b8;
  --ai-bg: #ffffff;

  --ai-primary: #2563eb;
  --ai-primary-contrast: #ffffff;
  --ai-primary-muted: #e6f1fb;
  --ai-primary-button: color-mix(in srgb, var(--ai-primary) 80%, var(--ai-primary-muted));

  --ai-success-bg: #dcfce7;
  --ai-success-text: #166534;
  --ai-success-border: color-mix(in srgb, var(--ai-success-text) 45%, var(--ai-border));
  --ai-info-bg: #e0f2fe;
  --ai-info-text: #075985;
  --ai-info-border: color-mix(in srgb, var(--ai-info-text) 45%, var(--ai-border));
  --ai-warning-bg: #fff7ed;
  --ai-warning-text: #c2410c;
  --ai-warning-border: color-mix(in srgb, var(--ai-warning-text) 45%, var(--ai-border));
  --ai-danger-bg: #fee2e2;
  --ai-danger-text: #b91c1c;
  --ai-danger-border: color-mix(in srgb, var(--ai-danger-text) 45%, var(--ai-border));
  --ai-danger-surface-muted: color-mix(in srgb, var(--ai-danger-bg) 55%, var(--ai-surface));
  --ai-secondary-bg: #f1f5f9;
  --ai-secondary-text: #475569;
  --ai-surface-subtle: #f1f5f9;

  --ai-nhi-bg: #fff7ed;
  --ai-nhi-text: #ea580c;
  --ai-nhi-border: #ffedd5;

  --ai-chip-bg: var(--ai-secondary-bg);
  --ai-chip-text: var(--ai-secondary-text);

  --ai-scrollbar-track: transparent;
  --ai-scrollbar-thumb-idle: color-mix(in srgb, var(--ai-text-muted) 18%, transparent);
  --ai-scrollbar-thumb: color-mix(in srgb, var(--ai-text-muted) 35%, transparent);
  --ai-scrollbar-thumb-hover: color-mix(in srgb, var(--ai-text-muted) 55%, transparent);

  --ai-evidence-preview-bg: rgba(59, 130, 246, 0.05);
  --ai-evidence-preview-border: rgba(59, 130, 246, 0.2);
}

.v-theme--dark {
  --ai-surface: rgb(var(--v-theme-structure-primary));
  --ai-surface-muted: rgb(var(--v-theme-structure-secondary));
  --ai-surface-elevated: rgb(var(--v-theme-surface-bright));
  --ai-surface-subtle: rgb(var(--v-theme-structure-secondary));
  --ai-border: rgba(255, 255, 255, 0.06);
  --ai-border-strong: rgba(255, 255, 255, 0.12);
  --ai-border-hover: rgba(255, 255, 255, 0.18);
  --ai-divider: rgba(255, 255, 255, 0.06);
  --ai-divider-subtle: rgba(255, 255, 255, 0.04);

  --ai-header-from: #0d1016;
  --ai-header-to: #161a23;
  --ai-header-text: rgb(var(--v-theme-text-default));

  --ai-text: rgb(var(--v-theme-text-default));
  --ai-text-muted: rgb(var(--v-theme-text-secondary));
  --ai-text-subtle: rgb(var(--v-theme-text-disabled));
  --ai-bg: rgb(var(--v-theme-background));

  --ai-primary: rgb(var(--v-theme-primary));
  --ai-primary-contrast: #ffffff;
  --ai-primary-muted: rgba(var(--v-theme-primary), 0.16);
  --ai-primary-button: #4d5fe0;

  --ai-success-bg: rgb(var(--v-theme-success-bg));
  --ai-success-text: rgb(var(--v-theme-success-text));
  --ai-info-bg: rgb(var(--v-theme-blue-bg));
  --ai-info-text: rgb(var(--v-theme-blue-text));
  --ai-warning-bg: rgb(var(--v-theme-warning-bg));
  --ai-warning-text: rgb(var(--v-theme-warning-text));
  --ai-danger-bg: rgb(var(--v-theme-error-bg));
  --ai-danger-text: rgb(var(--v-theme-error-text));
  --ai-secondary-bg: rgb(var(--v-theme-structure-secondary));
  --ai-secondary-text: rgb(var(--v-theme-text-secondary));

  --ai-nhi-bg: rgb(var(--v-theme-warning-bg));
  --ai-nhi-text: rgb(var(--v-theme-warning-text));
  --ai-nhi-border: rgba(255, 255, 255, 0.08);

  --ai-evidence-preview-bg: rgba(var(--v-theme-primary), 0.08);
  --ai-evidence-preview-border: rgba(var(--v-theme-primary), 0.20);
}

.v-theme--dark #ai-chat .ai-button--primary,
.v-theme--dark #ai-chat .ai-button--icon-primary {
  background: linear-gradient(180deg, #5165e6 0%, #4456d6 100%) !important;
  border-color: rgba(0, 0, 0, 0.22) !important;
  color: #ffffff !important;
}

.ai-thinking__header:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--ai-primary);
  border-radius: 8px;
}

.typing-dots span {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--ai-text-subtle);
  margin: 0 2px;
  animation: typing 1.4s infinite ease-in-out both;
}
.typing-dots span:nth-child(1) {
  animation-delay: -0.32s;
}
.typing-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typing {
  0%,
  80%,
  100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

.message-fade-enter-active,
.message-fade-leave-active {
  transition: all 0.25s ease;
}
.message-fade-enter-from,
.message-fade-leave-to {
  opacity: 0;
  transform: translateY(8px);
}

.ai-thinking {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--ai-border);
  background-color: var(--ai-surface);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition:
    box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1),
    border-color 0.2s ease,
    transform 0.2s cubic-bezier(0.25, 1, 0.5, 1),
    background-color 0.3s ease;
}

.ai-thinking[data-state='closed'] {
  background-color: var(--ai-surface-muted);
}

@media (hover: hover) {
  .ai-thinking[data-state='closed']:hover {
    background-color: var(--ai-surface);
    border-color: var(--ai-border-strong);
    transform: translateY(-2px);
    box-shadow:
      0 8px 16px -4px rgba(0, 0, 0, 0.06),
      0 2px 4px -2px rgba(0, 0, 0, 0.04);
  }
}

.ai-thinking[data-state='open'] {
  border-color: var(--ai-border-strong);
  box-shadow:
    0 12px 24px -6px rgba(0, 0, 0, 0.06),
    0 4px 8px -4px rgba(0, 0, 0, 0.03);
}

.ai-thinking__header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--ai-text-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  user-select: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.ai-thinking__header--static {
  cursor: default;
}

.ai-thinking__header--static .ai-thinking__title {
  flex: 0 0 auto;
}

.ai-thinking[data-state='open'] .ai-thinking__header {
  border-bottom: 1px solid var(--ai-border);
  color: var(--ai-text);
}

@media (hover: hover) {
  .ai-thinking[data-state='closed']:hover .ai-thinking__header {
    color: var(--ai-text);
  }
}

.ai-thinking__icon {
  font-size: 16px;
  opacity: 0.7;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    color 0.2s ease,
    opacity 0.2s ease;
}

.ai-thinking[data-state='open'] .ai-thinking__icon {
  color: var(--ai-primary);
  opacity: 1;
  transform: rotate(12deg) scale(1.05);
}

.ai-thinking__title {
  flex: 1 1 auto;
  text-align: left;
}

.ai-thinking__chevron {
  margin-left: auto;
  font-size: 18px;
  opacity: 0.4;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.2s ease;
}

.ai-thinking[data-state='open'] .ai-thinking__chevron {
  transform: rotate(180deg);
  opacity: 0.8;
}

@media (hover: hover) {
  .ai-thinking:hover .ai-thinking__chevron {
    opacity: 0.8;
  }
}

.ai-thinking__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-thinking[data-state='open'] .ai-thinking__body {
  grid-template-rows: 1fr;
}

.ai-thinking__inner {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ai-thinking[data-state='open'] .ai-thinking__inner {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.thought-timeline.markdown-body {

  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',
    'Courier New', monospace;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ai-text-muted);

  --ai-thought-timeline-padding-x: 16px;
  --ai-thought-timeline-padding-y: 16px;
  --ai-thought-timeline-gutter: 28px;
  --ai-thought-timeline-line-x: 10px;
  --ai-thought-timeline-line-width: 1px;
  --ai-thought-timeline-dot-size: 9px;
  --ai-thought-timeline-dot-top: 0.6em;
  --ai-thought-timeline-dot-ring: 4px;
  --ai-thought-timeline-item-gap: 14px;
  --ai-thought-timeline-ring-bg: var(--ai-surface);

  position: relative;
  padding: var(--ai-thought-timeline-padding-y) var(--ai-thought-timeline-padding-x);
  padding-left: calc(var(--ai-thought-timeline-padding-x) + var(--ai-thought-timeline-gutter));
}

.thought-timeline.markdown-body > ul,
.thought-timeline.markdown-body > ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.thought-timeline.markdown-body > ul > li,
.thought-timeline.markdown-body > ol > li,
.thought-timeline.markdown-body > :is(p, h1, h2, h3, h4, h5, h6) {
  position: relative;
  margin: 0 0 var(--ai-thought-timeline-item-gap);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.thought-timeline.markdown-body > :is(pre, blockquote, table) {
  position: relative;
  margin: 0 0 var(--ai-thought-timeline-item-gap);
}

.thought-timeline.markdown-body > ul > li:last-child,
.thought-timeline.markdown-body > ol > li:last-child,
.thought-timeline.markdown-body > :is(p, h1, h2, h3, h4, h5, h6):last-child,
.thought-timeline.markdown-body > :is(pre, blockquote, table):last-child {
  margin-bottom: 0;
}

.thought-timeline.markdown-body > ul > li:not(:last-child)::after,
.thought-timeline.markdown-body > ol > li:not(:last-child)::after,
.thought-timeline.markdown-body
  > :is(p, h1, h2, h3, h4, h5, h6, pre, blockquote, table):not(:last-child)::after {
  content: '';
  position: absolute;
  left: calc(var(--ai-thought-timeline-line-x) - var(--ai-thought-timeline-gutter));
  top: calc(var(--ai-thought-timeline-dot-top) + var(--ai-thought-timeline-dot-size));
  bottom: calc(-1 * var(--ai-thought-timeline-item-gap) + 2px);
  width: var(--ai-thought-timeline-line-width);
  background: var(--ai-border);
  opacity: 0.7;
  border-radius: 999px;
  z-index: 1;
}

.thought-timeline.markdown-body > ul > li::before,
.thought-timeline.markdown-body > ol > li::before,
.thought-timeline.markdown-body > :is(p, h1, h2, h3, h4, h5, h6, pre, blockquote, table)::before {
  content: '';
  position: absolute;
  left: calc(
    var(--ai-thought-timeline-line-x) - var(--ai-thought-timeline-gutter) -
      (var(--ai-thought-timeline-dot-size) / 2)
  );
  top: var(--ai-thought-timeline-dot-top);
  width: var(--ai-thought-timeline-dot-size);
  height: var(--ai-thought-timeline-dot-size);
  border-radius: 999px;
  background: var(--ai-border-strong);
  box-shadow: 0 0 0 var(--ai-thought-timeline-dot-ring) var(--ai-thought-timeline-ring-bg);
  z-index: 2;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.thought-timeline.markdown-body > ul > li:hover::before,
.thought-timeline.markdown-body > ol > li:hover::before,
.thought-timeline.markdown-body > :is(p, h1, h2, h3, h4, h5, h6, pre, blockquote, table):hover::before {
  background: var(--ai-primary);
  transform: scale(1.05);
}

.thought-timeline.markdown-body :is(h1, h2, h3, h4, h5, h6) {
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: 650;
  color: var(--ai-text);
}

.thought-timeline.markdown-body > :is(h1, h2, h3, h4, h5, h6)::before {
  background: var(--ai-primary);
}

.thought-timeline.markdown-body li > :is(p, h1, h2, h3, h4, h5, h6) {
  margin: 0 0 0.55em;
}

.thought-timeline.markdown-body li > :is(p, h1, h2, h3, h4, h5, h6):last-child {
  margin-bottom: 0;
}

.thought-timeline.markdown-body > ul > li > :last-child,
.thought-timeline.markdown-body > ol > li > :last-child {
  margin-bottom: 0 !important;
}

.thought-timeline.markdown-body li > ul,
.thought-timeline.markdown-body li > ol {
  margin: 0.55em 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .thought-timeline.markdown-body > ul > li,
  .thought-timeline.markdown-body > ol > li,
  .thought-timeline.markdown-body > :is(p, h1, h2, h3, h4, h5, h6) {
    transition: none;
  }

  .thought-timeline.markdown-body > ul > li::before,
  .thought-timeline.markdown-body > ol > li::before,
  .thought-timeline.markdown-body
    > :is(p, h1, h2, h3, h4, h5, h6, pre, blockquote, table)::before {
    transition: none;
  }
}

.markdown-body {

  font-size: 15px;
  line-height: 1.72;
  letter-spacing: normal;
  color: var(--ai-text);

  overflow-wrap: anywhere;
  word-break: break-word;

  --md-block-space: 0.9em;
  --md-tight-space: 0.55em;
  --md-border: var(--ai-border);
  --md-border-strong: var(--ai-border-strong);
  --md-surface: var(--ai-surface-muted);
  --md-surface-strong: #eef2f7;
  --md-radius: 10px;
  --md-code-font: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',
    'Courier New', monospace;

  container-type: inline-size;
}

.v-theme--dark .markdown-body {
  --md-surface-strong: rgb(var(--v-theme-surface-variant));
}

.markdown-body > :first-child {
  margin-top: 0 !important;
}
.markdown-body > :last-child {
  margin-bottom: 0 !important;
}

.markdown-body a {
  color: var(--ai-primary);
  text-decoration: underline !important;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.markdown-body a:hover {
  text-decoration-thickness: 2px;
}

.markdown-body p {
  margin: 0 0 var(--md-block-space);
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
  margin: calc(var(--md-block-space) * 1.15) 0 var(--md-tight-space);
  font-weight: 700;
  color: var(--ai-text);
  letter-spacing: normal !important;
}
.markdown-body h1 {
  font-size: 18px !important;
  line-height: 1.35 !important;
}
.markdown-body h2 {
  font-size: 16px !important;
  line-height: 1.4 !important;
}
.markdown-body h3 {
  font-size: 15px !important;
  line-height: 1.45 !important;
}
.markdown-body h4 {
  font-size: 14px !important;
  line-height: 1.45 !important;
}
.markdown-body h5,
.markdown-body h6 {
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.markdown-body ul,
.markdown-body ol {
  margin: 0 0 var(--md-block-space);
  padding-left: 1.25em;
}
.markdown-body li {
  margin: 0.45em 0;
}
.markdown-body li > p {
  margin: 0.4em 0;
}
.markdown-body li > ul,
.markdown-body li > ol {
  margin: 0.4em 0;
}

.markdown-body blockquote {
  margin: var(--md-block-space) 0;
  padding: 0.65em 0.9em;
  border-left: 3px solid var(--ai-primary);
  background: var(--md-surface);
  border-radius: var(--md-radius);
  color: var(--ai-text);
}
.markdown-body blockquote > :last-child {
  margin-bottom: 0;
}

.markdown-body hr {
  border: 0;
  border-top: 1px solid var(--md-border);
  margin: calc(var(--md-block-space) * 1.2) 0;
}

.markdown-body code {
  font-family: var(--md-code-font);
  font-size: 0.92em;
  background: var(--md-surface-strong);
  color: var(--ai-text);
  padding: 0.14em 0.36em;
  border-radius: 6px;
  border: 1px solid var(--ai-border);
}

.markdown-body pre {
  background: var(--md-surface);
  color: var(--ai-text);
  padding: 12px 14px;
  border-radius: var(--md-radius);
  overflow: auto;
  margin: var(--md-block-space) 0;
  border: 1px solid var(--md-border);

  white-space: pre;
  tab-size: 2;
  font-family: var(--md-code-font);
  font-size: 13px;
  line-height: 1.55;
}
.markdown-body pre code {
  background: transparent;
  border: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  white-space: inherit;
  word-break: normal;
  overflow-wrap: normal;
}

.markdown-body table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  width: max-content;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;

  margin: var(--md-block-space) 0;
  border: 1px solid var(--md-border);
  border-radius: var(--md-radius);
  background: var(--ai-surface);
}
.markdown-body th,
.markdown-body td {
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
  font-variant-numeric: tabular-nums;
  border-bottom: 1px solid var(--md-border);
  border-right: 1px solid var(--md-border);
  overflow-wrap: normal;
  word-break: normal;
}
.markdown-body th {
  font-weight: 650;
  background: var(--ai-surface-muted);
  color: var(--ai-text);
  white-space: nowrap;
}
.markdown-body tr:last-child td {
  border-bottom: 0;
}
.markdown-body tr td:last-child,
.markdown-body tr th:last-child {
  border-right: 0;
}
.markdown-body tbody tr:nth-child(even) {
  background: var(--ai-surface-muted);
}
.markdown-body th[align='center'],
.markdown-body td[align='center'] {
  text-align: center;
}
.markdown-body th[align='right'],
.markdown-body td[align='right'] {
  text-align: right;
}

.markdown-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--md-radius);
  display: block;
  margin: var(--md-block-space) 0;
}

.markdown-body kbd {
  font-family: var(--md-code-font);
  font-size: 0.85em;
  padding: 0.12em 0.42em;
  border-radius: 6px;
  border: 1px solid var(--md-border-strong);
  border-bottom-width: 2px;
  background: var(--ai-surface-muted);
}

#ai-chat .app-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 4px;
  background: #f9fafb;
  color: #4b5563;
  font-size: 11px;
  font-weight: 500;
}

#ai-chat .app-chip--more {
  background: #f3f4f6;
  color: var(--oa-muted, var(--ai-text-muted));
}

#ai-chat .ai-error-message {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid var(--ai-border);
  background: var(--ai-surface-muted);
  color: var(--ai-text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 11px;
  line-height: 1.4;
}

#ai-chat .ai-error-message--block {
  display: flex;
  width: 100%;
}

#ai-chat .ai-error-message--truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#ai-chat .min-w-0 {
  min-width: 0;
}

#ai-chat .truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#ai-chat .chat__content,
#ai-chat .ai-blocks,
#ai-chat .chat-sidebar__list {
  scrollbar-width: thin;
  scrollbar-color: var(--ai-scrollbar-thumb-idle) var(--ai-scrollbar-track);
}

#ai-chat .chat__content:hover,
#ai-chat .chat__content:focus-within,
#ai-chat .ai-blocks:hover,
#ai-chat .chat-sidebar__list:hover,
#ai-chat .ai-blocks:focus-within,
#ai-chat .chat-sidebar__list:focus-within {
  scrollbar-color: var(--ai-scrollbar-thumb) var(--ai-scrollbar-track);
}

#ai-chat .chat__content::-webkit-scrollbar,
#ai-chat .ai-blocks::-webkit-scrollbar,
#ai-chat .chat-sidebar__list::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

#ai-chat .chat__content::-webkit-scrollbar-track,
#ai-chat .ai-blocks::-webkit-scrollbar-track,
#ai-chat .chat-sidebar__list::-webkit-scrollbar-track {
  background: var(--ai-scrollbar-track);
}

#ai-chat .chat__content::-webkit-scrollbar-thumb,
#ai-chat .ai-blocks::-webkit-scrollbar-thumb,
#ai-chat .chat-sidebar__list::-webkit-scrollbar-thumb {
  background-color: var(--ai-scrollbar-thumb-idle);
  border-radius: 999px;
  border: 3px solid var(--ai-scrollbar-track);
  background-clip: content-box;
  min-height: 48px;
}

#ai-chat .chat__content:hover::-webkit-scrollbar-thumb,
#ai-chat .chat__content:focus-within::-webkit-scrollbar-thumb,
#ai-chat .ai-blocks:hover::-webkit-scrollbar-thumb,
#ai-chat .chat-sidebar__list:hover::-webkit-scrollbar-thumb,
#ai-chat .ai-blocks:focus-within::-webkit-scrollbar-thumb,
#ai-chat .chat-sidebar__list:focus-within::-webkit-scrollbar-thumb {
  background-color: var(--ai-scrollbar-thumb);
}

#ai-chat .chat__content::-webkit-scrollbar-thumb:hover,
#ai-chat .ai-blocks::-webkit-scrollbar-thumb:hover,
#ai-chat .chat-sidebar__list::-webkit-scrollbar-thumb:hover {
  background-color: var(--ai-scrollbar-thumb-hover);
}

#ai-chat .chat__content::-webkit-scrollbar-corner,
#ai-chat .ai-blocks::-webkit-scrollbar-corner,
#ai-chat .chat-sidebar__list::-webkit-scrollbar-corner {
  background: transparent;
}

#ai-chat .ai-row-edge-rounded {
  --ai-row-radius-tl: 0;
  --ai-row-radius-tr: 0;
  --ai-row-radius-br: 0;
  --ai-row-radius-bl: 0;
  border-top-left-radius: var(--ai-row-radius-tl);
  border-top-right-radius: var(--ai-row-radius-tr);
  border-bottom-right-radius: var(--ai-row-radius-br);
  border-bottom-left-radius: var(--ai-row-radius-bl);
}

#ai-chat .ai-row-edge-rounded:first-child {
  --ai-row-radius-tl: var(--ai-row-radius, 0);
  --ai-row-radius-tr: var(--ai-row-radius, 0);
}

#ai-chat .ai-row-edge-rounded:last-child {
  --ai-row-radius-bl: var(--ai-row-radius, 0);
  --ai-row-radius-br: var(--ai-row-radius, 0);
}

#ai-chat .ai-accordion-panels > .v-expansion-panel {
  display: inline-flex;
  flex-direction: column;
  width: 100%;
}

#ai-chat .accordion-panel {
  animation: ai-accordion-in 0.16s ease;
}

@keyframes ai-accordion-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.ai-button.v-btn {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  border-radius: var(--ai-radius-control);
}

.ai-button.v-btn:not(.v-btn--size-small):not(.v-btn--size-x-small) {
  min-height: 36px;
}

.ai-button--primary {
  background: var(--ai-primary-button);
  color: var(--ai-primary-contrast);
  border: 1px solid var(--ai-primary-button);
}

.ai-button--secondary {
  background: var(--ai-surface);
  color: var(--ai-text);
  border: 1px solid var(--ai-border);
}

.ai-button--ghost {
  background: transparent;
  color: var(--ai-text);
}

.ai-button--outline {
  background: transparent;
  color: var(--ai-text);
  border: 1px solid var(--ai-border-strong);
}

.ai-button--icon,
.ai-button--icon-primary {
  border-radius: var(--ai-radius-round);
}

.ai-button--icon {
  background: var(--ai-surface);
  color: var(--ai-text);
  border: 1px solid var(--ai-border);
}

.ai-button--icon-primary {
  background: var(--ai-primary-button);
  color: var(--ai-primary-contrast);
  border: 1px solid var(--ai-primary-button);
}

.ai-button--icon.v-btn__content,
.ai-button--icon-primary.v-btn__content {
  display: flex;
}

.ai-panel {
  overflow: hidden;
  background: var(--ai-surface);
  border-radius: var(--ai-radius-card);
  border: 1px solid var(--ai-border);
  box-shadow: var(--ai-shadow-card);
  color: var(--ai-text);
}

.ai-panel__header {
  border-bottom: 1px solid var(--ai-border);
}

.ai-panel__footer {
  border-top: 1px solid var(--ai-border);
}

.ai-panel__body--none {
  padding: 0;
}

.ai-panel__body--sm {
  padding: 12px;
}

.ai-panel__body--md {
  padding: 16px;
}

.ai-panel-header {
  padding: 12px 16px;
  gap: 12px;
}

.ai-panel-header__left {
  gap: 12px;
  min-width: 0;
}

.ai-panel-header__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: 36px;
  border-radius: 12px;
  background: var(--ai-primary-muted);
  color: var(--ai-primary);
}

.ai-panel-header__icon--slot {
  background: transparent;
  color: inherit;
}

.ai-panel-header__text {
  min-width: 0;
}

.ai-panel-header__kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ai-text-subtle);
}

.ai-panel-header__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ai-text);
}

.ai-panel-header__meta {
  font-size: 12px;
  color: var(--ai-text-muted);
}

.ai-panel-header__actions {
  gap: 8px;
}

.ai-json-chevron {
  transition: transform 0.2s ease;
  color: var(--ai-text-muted);
}

.ai-json-pre {
  margin: 0;
  font-size: 13px;
  padding: 12px;
  border-radius: 10px;
  background: var(--ai-surface-muted);
  border: 1px solid var(--ai-border);
  overflow: auto;
  max-height: 520px;
}

.json-toggle {
  width: 32px;
  height: 32px;
  padding: 0;
}

.json-body {
  padding: 16px;
}

.unknown-block {
  color: var(--ai-text-muted);
  font-size: 13px;
}

.ai-composer {
  gap: 8px;
  width: 100%;
}

.ai-composer__error-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 16px;
  border: 1px solid var(--ai-danger-text);
  background: var(--ai-surface);
  padding: 8px 16px;
  font-size: 14px;
  color: var(--ai-danger-text);
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.08);
}

.ai-composer__error-close {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  line-height: inherit;
  cursor: pointer;
  color: inherit;
}

.ai-composer__bar {
  gap: 8px;

  background: var(--ai-surface);
  border: 1px solid var(--ai-border);
  padding: 10px 16px;
  box-shadow:
    0 10px 30px rgba(var(--v-theme-on-surface), 0.12),
    0 2px 8px rgba(var(--v-theme-on-surface), 0.06);
  width: 100%;
}

.ai-composer__bar--fixed {
  position: fixed;
  left: 275px;
  right: 0;
  bottom: 0;
  z-index: 100;
  margin: 0 auto 24px;
  max-width: 600px;
  width: 90%;
  justify-content: center;
}

.ai-composer__bar--rounded {
  border-radius: calc(var(--ai-radius-card) + 16px);
}

.ai-composer__bar--pill {
  border-radius: var(--ai-radius-round);
}

.ai-composer__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}

.ai-composer__avatar-image {
  display: block;
  width: 28px;
  height: 28px;
}

.ai-composer__avatar--thinking {
  animation: ai-composer-pulse 0.7s infinite alternate;
}

.ai-composer__input {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-right: 8px;
  min-width: 0;
}

.ai-composer__meter {
  position: relative;
  height: 8px;
  margin: 4px 0 2px;
}

.ai-composer__meter .agent-vu-track {
  left: 0;
  right: 0;
  bottom: 1px;
}

.ai-composer__meter .agent-vu-fill,
.ai-composer__meter .agent-vu-fill.warm,
.ai-composer__meter .agent-vu-fill.hot {
  background: linear-gradient(90deg, #93c5fd 0%, var(--ai-primary) 60%, #1d4ed8 100%);
  filter: none;
}

.ai-composer__meter .agent-vu-led.on.cool,
.ai-composer__meter .agent-vu-led.on.warm,
.ai-composer__meter .agent-vu-led.on.hot {
  background: linear-gradient(180deg, #60a5fa 0%, var(--ai-primary) 100%);
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.35);
}

.ai-composer__textarea {
  flex: 1;
}

.ai-composer__textarea .v-input__control,
.ai-composer__textarea .v-field,
.ai-composer__textarea .v-field__field {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.ai-composer__textarea .v-field:hover,
.ai-composer__textarea .v-field:focus-within {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.ai-composer__textarea .v-field__outline,
.ai-composer__textarea .v-field__overlay {
  display: none !important;
}

.ai-composer__textarea .v-field--variant-plain {
  height: auto !important;
  min-height: 0 !important;
}

.ai-composer__textarea textarea {
  background: transparent;
  border: none;
  padding: 4px 32px 4px 0;
  min-height: 32px;
  font-size: 14px;
  line-height: 1.5;
  resize: none;
  color: var(--ai-text);
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--ai-primary) 25%, transparent) transparent;
}

.ai-composer__textarea textarea:focus-visible {
  outline: none;
}

.ai-composer__textarea textarea::-webkit-scrollbar {
  width: 10px;
}

.ai-composer__textarea textarea::-webkit-scrollbar-track {
  background: transparent;
}

.ai-composer__textarea textarea::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--ai-primary) 25%, transparent);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: content-box;
  transition: background-color 150ms ease, box-shadow 150ms ease;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3);
}

.ai-composer__textarea textarea::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--ai-primary) 75%, transparent);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), 0 0 6px rgba(37, 99, 235, 0.35);
}

.ai-composer__textarea textarea::-webkit-scrollbar-thumb:active {
  background: color-mix(in srgb, var(--ai-primary) 90%, transparent);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), 0 0 8px rgba(37, 99, 235, 0.45);
}

.ai-composer__slash-tip {
  position: absolute;
  left: 0;
  bottom: 100%;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--ai-radius-round);
  border: 1px solid var(--ai-border);
  background: var(--ai-surface);
  padding: 4px 8px;
  font-size: 11px;
  color: var(--ai-text-muted);
  box-shadow: 0 6px 16px rgba(var(--v-theme-on-surface), 0.08);
  z-index: 10;
}

.ai-composer__slash-key {
  display: inline-flex;
  align-items: center;
  border-radius: var(--ai-radius-round);
  background: var(--ai-chip-bg);
  color: var(--ai-chip-text);
  font-weight: 600;
  font-size: 10px;
  padding: 2px 6px;
}

.ai-composer__slash-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: var(--ai-primary);
}

.ai-composer__bar .ai-composer__icon-button.v-btn {
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  aspect-ratio: 1 / 1;
}

.ai-composer__bar .ai-composer__icon-button .mdi {
  font-size: 18px;
  line-height: 1;
}

.ai-composer__bar .ai-composer__icon-button--recording.v-btn {
  background: var(--ai-danger-bg);
  border-color: var(--ai-danger-text);
  color: var(--ai-danger-text);
  animation: ai-composer-recording-pulse 1.6s ease-out infinite;
}

@keyframes ai-composer-recording-pulse {
  0% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.35); }
  70% { box-shadow: 0 0 0 8px rgba(229, 57, 53, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0); }
}

@keyframes ai-composer-pulse {
  0% { opacity: 1; }
  100% { opacity: 0.6; }
}

.chat__composer {
  --chat-composer-gap: 20px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding: 28px 16px 20px;

  background: linear-gradient(
    to bottom,
    transparent 0,
    var(--ai-surface) 44px
  );
}

.chat__composer-inner {
  width: 100%;
  max-width: calc(var(--chat-max-width, 768px) - 32px);
  margin: 0 auto;
}

.ai-blocks {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  width: 100%;
  overflow-y: auto;
  border-left: 1px solid var(--ai-border);
  padding: 16px 16px 24px;
  overflow-anchor: none;
}

.ai-blocks__toolbar {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  justify-content: flex-end;
  padding: 4px 0 12px;
  background: var(--ai-surface);
}

.ai-blocks--pinned .ai-block-group {
  scroll-margin-top: 56px;
}

.ai-block-group__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ai-divider);
  margin-bottom: 16px;
}

.ai-block-group__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ai-text-subtle);
  margin-bottom: 4px;
}

.ai-block-group__meta {
  font-size: 13px;
  color: var(--ai-text-muted);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-blocks__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.ai-block-group,
.ai-block-group__body {
  min-width: 0;
  max-width: 100%;
}

.ai-block-group__body {
  overflow-x: auto;
}

.ai-blocks__toolbar-button {
  height: 32px;
  font-size: 12px;
}

.ai-block-group__renderer {
  width: 100%;
  min-width: 0;
}

@media (max-width: 1024px) {
  .ai-blocks {
    border-left: 0;
    border-top: 1px solid var(--ai-border);
    padding-top: 24px;
  }
}

.chat-sidebar {

  width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--ai-border);
  background: var(--ai-surface);
  min-height: 0;
}

.chat-sidebar__top {
  padding: 16px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-sidebar__heading {
  font-size: 17px;
  font-weight: 700;
  color: var(--ai-text);
}

.chat-sidebar__new {
  width: 100%;
}

.chat-sidebar__new .v-btn__content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chat-sidebar__search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ai-border);
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--ai-text-muted);
  background: var(--ai-surface);
}

.chat-sidebar__search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: var(--ai-text);
}

.chat-sidebar__tabs {
  display: flex;
  gap: 4px;
}

.chat-sidebar__tab {
  border: none;
  background: transparent;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13px;
  color: var(--ai-text-muted);
  cursor: pointer;
}

.chat-sidebar__tab:hover {
  background: rgba(var(--v-theme-on-surface), 0.05);
}

.chat-sidebar__tab--active {
  background: var(--ai-primary-muted);
  color: var(--ai-primary);
  font-weight: 500;
}

.chat-sidebar__list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 8px 12px;
}

.chat-sidebar__hint {
  padding: 24px 12px;
  text-align: center;
  font-size: 13px;
  color: var(--ai-text-muted);
}

.chat-sidebar__hint--error {
  color: var(--ai-danger-text);
}

.chat-sidebar__group {
  padding: 14px 8px 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ai-text-muted);
}

.chat-sidebar__row {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  border-radius: 10px;
  padding: 10px;
  text-align: left;
  font: inherit;
  color: var(--ai-text);
  cursor: pointer;
}

.chat-sidebar__row:hover {
  background: rgba(var(--v-theme-on-surface), 0.04);
}

.row-enter-active {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.row-enter-from {
  opacity: 0;
  transform: translateY(-4px);
}

.row-move {
  transition: transform 0.2s ease;
}

.chat-sidebar__row--active {
  background: var(--ai-primary-muted);
}

.chat-sidebar__row-title {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-sidebar__row-pin {
  color: var(--ai-primary);
  font-size: 14px;
  flex-shrink: 0;
}

.chat-sidebar__row-name {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-sidebar__row-time {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--ai-text-muted);
}

.chat-sidebar__row-snippet {
  margin-top: 2px;
  font-size: 12px;
  color: var(--ai-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 900px) {
  .chat-sidebar {
    display: none;
  }
}

.ai-chat-root {
  --chat-max-width: 768px;
  width: 100%;

  height: calc(100vh - var(--v-layout-top, 0px) - var(--v-layout-bottom, 0px));
  height: calc(100dvh - var(--v-layout-top, 0px) - var(--v-layout-bottom, 0px));
  min-height: 0;
  overflow: hidden;
}

.ai-chat-single {
  display: flex;
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: stretch;
}

.ai-chat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  height: 100%;
  align-items: stretch;
}

.chat--single {
  width: 100%;
}

@media (max-width: 1024px) {
  .ai-chat-root {
    height: auto;
    overflow: visible;
  }

  .ai-chat-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

.chat {
  --chat-bottom-space: 0px;
  position: relative;
  height: 100%;
  width: 100%;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.rae-shell {
  display: flex;
  height: 100%;
  min-height: 0;
}

.rae-shell__resizer {
  flex: 0 0 8px;
  margin: 0 -4px;
  position: relative;
  z-index: 4;
  cursor: col-resize;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rae-shell__resizer::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: transparent;
  transition: background 0.12s ease;
}

.rae-shell__resizer:hover::before,
.rae-shell__resizer:focus-visible::before,
.rae-shell__resizer--active::before {
  background: var(--ai-primary);
}

.rae-shell__resizer:focus-visible {
  outline: none;
}

.rae-shell__resizer-grip {
  position: relative;
  z-index: 1;
  width: 5px;
  height: 34px;
  border-radius: 3px;
  background: transparent;
  transition: background 0.12s ease, box-shadow 0.12s ease;
}

.rae-shell__resizer:hover .rae-shell__resizer-grip,
.rae-shell__resizer:focus-visible .rae-shell__resizer-grip,
.rae-shell__resizer--active .rae-shell__resizer-grip {
  background: var(--ai-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ai-primary) 18%, transparent);
}

@media (max-width: 900px) {

  .rae-shell__resizer {
    display: none;
  }
}

.rae-shell__main {
  flex: 1;
  min-width: 0;
  min-height: 0;

  background: linear-gradient(
    180deg,
    rgb(var(--v-theme-blue-bg)) 0%,
    rgb(var(--v-theme-light-blue-bg)) 30%,
    rgb(var(--v-theme-structure-primary)) 100%
  );
}

.chat-head {
  padding: 16px 24px 10px;
  border-bottom: 1px solid var(--ai-border);
  background: var(--ai-surface);
}

.chat-head__row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-head__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ai-text);
  margin: 0;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-head__title-input {
  font-size: 20px;
  font-weight: 700;
  color: var(--ai-text);
  border: none;
  border-bottom: 2px solid var(--ai-primary);
  outline: none;
  background: transparent;
  padding: 0 0 2px;
  min-width: 0;
  flex: 1;
  max-width: 480px;
}

.chat-head__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--ai-text-muted);
  font-size: 16px;
  cursor: pointer;
}

.chat-head__icon:hover {
  background: rgba(var(--v-theme-on-surface), 0.06);
  color: var(--ai-text);
}

.chat-head__icon--pinned {
  color: var(--ai-primary);
}

.chat-head__spacer {
  flex: 1;
}

.chat-head__more {
  height: 34px;
  width: 34px;
  min-width: 34px;
  color: var(--ai-text-muted);
}

.chat-head__meta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--ai-text-muted);
}

.chat-head__menu {
  min-width: 190px;
  background: var(--ai-surface);
  border: 1px solid var(--ai-border);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(var(--v-theme-on-surface), 0.12);
  padding: 4px;
  display: flex;
  flex-direction: column;
}

.chat-head__menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
  background: transparent;
  border-radius: 6px;
  padding: 9px 10px;
  font-size: 13px;
  color: var(--ai-text);
  text-align: left;
  cursor: pointer;
}

.chat-head__menu-item:hover {
  background: rgba(var(--v-theme-on-surface), 0.05);
}

.chat-head__menu-item--danger {
  color: var(--ai-danger-text);
}

.chat-delete-dialog {
  background: var(--ai-surface);
  border: 1px solid var(--ai-border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 16px 48px rgba(var(--v-theme-on-surface), 0.24);
}

.chat-delete-dialog__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ai-text);
}

.chat-delete-dialog__body {
  font-size: 13px;
  color: var(--ai-text-muted);
}

.chat-delete-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.chat-delete-dialog__confirm {
  background: var(--ai-danger-text) !important;
}

.chat__content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 24px 16px 0;
}

.chat__messages {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 16px;
  width: 100%;
  max-width: var(--chat-max-width);
  margin: 0 auto;
}

.chat__anchor {
  height: var(--chat-bottom-space);
  width: 1px;
}

.chat-empty {
  margin-top: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.chat-empty__avatar {
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
}

.chat-empty__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--ai-text);
}

.chat-empty__subtitle {
  font-size: 14px;
  color: var(--ai-text-muted);
  max-width: 460px;
}

.chat-empty__try-list {
  margin-top: 20px;
  width: min(560px, 100%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-empty__try-btn {
  text-align: left;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--ai-border);
  background: var(--ai-surface);
  color: var(--ai-text);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 5px 0 rgba(7, 33, 102, 0.03);
  transition: box-shadow 120ms ease, transform 120ms ease;
}

.chat-empty__try-btn:hover {
  box-shadow: 0 4px 12px 0 rgba(7, 33, 102, 0.08);
  transform: translateY(-1px);
}

.chat-empty__try-label {
  color: var(--ai-primary);
  margin-right: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.chat-message {
  display: flex;
  width: 100%;
}

.chat-message--user {
  justify-content: flex-end;
}

.chat-message--assistant {
  justify-content: flex-start;
}

.chat-message__stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.chat-message__stack--full {
  width: 100%;
  max-width: 100%;
}

.chat-message__stack--user {
  width: min(85%, 72ch);
}

.chat-bubble {
  font-size: 15px;
  line-height: 1.45;
}

.chat-bubble--assistant {
  background: var(--ai-surface);
  border: 1px solid var(--ai-border);
  box-shadow: 0 2px 5px 0 rgba(7, 33, 102, 0.03);
  border-radius: 12px 12px 12px 4px;
  padding: 12px 16px;
}

.chat-output {
  position: relative;
  min-width: 0;
  max-width: 100%;
  padding-bottom: 32px;
}

.chat-output__actions {
  position: absolute;
  left: 0;
  bottom: 0;
}

.chat-output__copy {
  height: 28px;
  width: 28px;
  min-width: 28px;
  color: var(--ai-text-muted);
}

.chat-output__copy:hover,
.chat-output__copy:focus-visible {
  color: var(--ai-text);
}

.chat-bubble--user {
  white-space: pre-wrap;
  background: var(--ai-primary);
  color: var(--ai-primary-contrast);
  border-radius: 12px 12px 4px 12px;
  padding: 8px 14px;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.chat-thinking {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.ai-thinking--live {
  border: 1px dashed color-mix(in srgb, var(--ai-primary) 35%, transparent);
  background: color-mix(in srgb, var(--ai-primary) 4%, transparent);
}

.chat-thinking-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px 12px 12px 4px;
  border: 1px dashed color-mix(in srgb, var(--ai-primary) 35%, transparent);
  background: color-mix(in srgb, var(--ai-primary) 5%, transparent);
  padding: 10px 16px;
  align-self: flex-start;
}

.chat-thinking-pill__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ai-text-muted);
}

#ai-chat [hidden] {
  display: none !important;
}

.ai-thinking__stream {
  white-space: pre-wrap;
}

.chat-head__popover {
  min-width: 190px;
}

.chat-delete-dialog__host {
  margin: auto;
  padding: 0;
  border: none;
  background: transparent;
  width: min(400px, calc(100vw - 48px));
  overflow: visible;
}

.chat-delete-dialog__host::backdrop {
  background: rgba(33, 33, 33, 0.46);
}

a.chat-sidebar__tab,
a.chat-sidebar__row {
  text-decoration: none;
}

a.chat-sidebar__tab {
  color: var(--ai-text-muted);
}

a.chat-sidebar__tab--active {
  color: var(--ai-primary);
}

a.chat-sidebar__row {
  color: var(--ai-text);
}


/* VApp's own rules, which the Vue app gets from its component stylesheet. */
.v-application {
  display: flex;
  margin: 0;
  background: rgb(var(--v-theme-background));
  color: color-mix(in srgb, rgb(var(--v-theme-on-background)) calc(var(--v-high-emphasis-opacity) * 100%), transparent);
}
.v-application__wrap {
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
}

/* A table row whose "Apply" switch decides whether the row's
   control counts: with it off the control is dimmed and cannot be edited, and
   the label reads "Keep current". With every switch off the form's submit
   button is dimmed and cannot be pressed. */
.y-apply-row .y-apply-on {
  display: none;
}
.y-apply-row:has(.y-apply-toggle:checked) .y-apply-on {
  display: inline;
}
.y-apply-row:has(.y-apply-toggle:checked) .y-apply-off {
  display: none;
}
.y-apply-row:not(:has(.y-apply-toggle:checked)) .y-apply-control {
  opacity: 0.5;
  pointer-events: none;
}
form:not(:has(.y-apply-toggle:checked)) .y-apply-submit {
  opacity: 0.26;
  pointer-events: none;
}

/*
 * Avatars, identity cells, avatar chips, avatar groups, the people list and
 * badges. Vuetify's own VAvatar and VBadge rules are repeated here because
 * the generated vuetify.css carries only the components the shared styles
 * use. The sheet sits in Vuetify's component layer so utility classes such
 * as mr-2 still win over it.
 */
@layer vuetify-components {
  .v-avatar {
    flex: none;
    align-items: center;
    display: inline-flex;
    justify-content: center;
    line-height: normal;
    overflow: hidden;
    position: relative;
    text-align: center;
    vertical-align: middle;
    border-radius: 50%;
  }

  .v-avatar--variant-flat {
    background: rgb(var(--v-theme-surface));
    color: color-mix(in srgb, rgb(var(--v-theme-on-surface)) calc(var(--v-medium-emphasis-opacity) * 100%), transparent);
  }

  .v-avatar .v-avatar__underlay {
    position: absolute;
  }

  .y-avatar__img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
  }

  .y-avatar--failed {
    background-color: rgb(var(--v-theme-structure-secondary)) !important;
  }

  .y-avatar-group {
    align-items: center;
    display: flex;
  }

  .y-avatar-group__item {
    position: relative;
  }

  .y-avatar-tip {
    display: flex;
    position: relative;
  }

  .y-avatar-tip__text {
    border-radius: 10px;
    bottom: calc(100% + 8px);
    font-size: 14px;
    font-weight: 400;
    left: 50%;
    line-height: 1.6;
    max-width: 400px;
    opacity: 0;
    overflow-wrap: break-word;
    padding: 5px 16px;
    pointer-events: none;
    position: absolute;
    text-align: left;
    transform: translateX(-50%);
    transition: opacity 150ms cubic-bezier(0, 0, 0.2, 1);
    visibility: hidden;
    white-space: nowrap;
    width: max-content;
    z-index: 2000;
  }

  .y-avatar-tip:hover .y-avatar-tip__text {
    opacity: 1;
    visibility: visible;
  }

  .y-avatar-chip .y-chip__content > .y-avatar {
    margin-left: -8px;
  }

  .y-avatar-chip .y-chip__content {
    min-width: 0;
    overflow: auto;
  }

  .y-people {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
  }

  .y-people [hidden] {
    display: none !important;
  }

  .y-people__head {
    align-items: center;
    display: flex;
    gap: 10px;
  }

  .y-people__count {
    color: rgb(var(--v-theme-primary-dark));
    font-size: 12.5px;
    font-weight: 600;
  }

  .y-people__toggle,
  .y-people__clear {
    background: none;
    border: none;
    color: rgb(var(--v-theme-primary));
    cursor: pointer;
    font: inherit;
    font-size: 12.5px;
    font-weight: 500;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .y-people__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 2px 0;
  }

  .y-people__search {
    max-width: 320px;
  }

  .y-people__rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
  }

  .y-people__row-wrap {
    min-width: 0;
    outline: none;
  }

  .y-people__row {
    align-items: center;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    padding: 4px 6px;
  }

  .y-people__row:hover {
    background: rgb(var(--v-theme-structure-hover));
  }

  .y-people__row-text {
    align-items: baseline;
    display: flex;
    flex: 1;
    gap: 8px;
    min-width: 0;
  }

  .y-people__row-name,
  .y-people__row-email {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .y-people__row-name {
    color: rgb(var(--v-theme-primary-dark));
    font-size: 13px;
  }

  .y-people__row-email {
    color: rgb(var(--v-theme-text-secondary));
    font-size: 11.5px;
  }

  .y-people__remove {
    align-items: center;
    background: none;
    border: none;
    border-radius: 10px;
    color: rgb(var(--v-theme-error));
    cursor: pointer;
    display: inline-flex;
    font-size: 18px;
    height: 28px;
    justify-content: center;
    padding: 0;
    width: 28px;
  }

  .y-people__remove:hover,
  .y-people__remove:focus-visible {
    background: rgba(var(--v-theme-error), 0.08);
  }

  .y-people__empty {
    color: rgb(var(--v-theme-text-secondary));
    font-size: 12.5px;
    font-style: italic;
  }

  .y-people__clear {
    font-style: normal;
    margin-left: 6px;
  }

  .y-people__more {
    align-self: flex-start;
  }

  .v-badge {
    display: inline-block;
    line-height: 1;
  }

  .v-badge__badge {
    align-items: center;
    background: rgb(var(--v-theme-surface-variant));
    border-radius: 10px;
    color: color-mix(in srgb, rgb(var(--v-theme-on-surface-variant)) calc(var(--v-high-emphasis-opacity) * 100%), transparent);
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 500;
    height: 1.25rem;
    justify-content: center;
    min-width: 20px;
    padding: 4px 6px;
    position: absolute;
    text-align: center;
    text-indent: 0;
    white-space: nowrap;
  }

  .v-badge--bordered .v-badge__badge::after {
    border-radius: inherit;
    border-style: solid;
    border-width: 2px;
    color: rgb(var(--v-theme-background));
    content: "";
    inset: 0;
    position: absolute;
    transform: scale(1.05);
  }

  .v-badge--dot .v-badge__badge {
    border-radius: 50%;
    height: 9px;
    min-width: 0;
    padding: 0;
    width: 9px;
  }

  .v-badge--dot .v-badge__badge::after {
    border-width: 1.5px;
  }

  .v-badge--inline .v-badge__badge {
    position: relative;
    vertical-align: middle;
  }

  .v-badge__wrapper {
    display: flex;
    position: relative;
  }

  .v-badge--inline .v-badge__wrapper {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    margin: 0 4px;
  }
}

.y-bulk-actions {
  position: fixed;
  inset: auto 0 0 0;
  display: flex;
  justify-content: center;
  padding: 8px;
  pointer-events: none;
  z-index: 2000;
}
.y-bulk-actions__wrapper {
  pointer-events: auto;
  min-width: 540px;
  max-width: 672px;
  min-height: 48px;
  border-radius: 8px;
  background-color: rgb(var(--v-theme-surface));
  color: rgb(var(--v-theme-on-surface));
}
.y-bulk-actions__content {
  padding: 14px 16px;
  font-size: 0.875rem;
  line-height: 1.425;
  letter-spacing: 0.0178571429em;
}

/* The searchable check menu: a card as wide as its activator within 280px
   and 320px, as v-menu sizes the card, its list scrolling past 280px. */
.y-menu.y-check-menu {
  width: anchor-size(width);
  min-width: 280px;
  max-width: 320px;
}
.y-check-menu [hidden] {
  display: none !important;
}
.y-check-menu__list {
  max-height: 280px;
}
.y-check-menu__activator {
  all: unset;
  cursor: pointer;
  display: block;
  width: 100%;
}

/* Choices: the radio group, checkbox button, segmented control, cards,
   outlined button toggle and filter chips, with the icons and the picked
   state taken from each input's own checked state, so no script is needed. */

.y-radio__icon::before {
  content: "\F043D";
}

.y-choice-control:has(input:checked) .y-radio__icon::before {
  content: "\F043E";
}

.y-checkbox-btn__icon::before {
  content: "\F0131";
}

.y-choice-control:has(input:checked) .y-checkbox-btn__icon::before {
  content: "\F0132";
}

.y-radio-group-color .v-selection-control:has(input:checked) .v-selection-control__wrapper,
.v-radio-group .v-selection-control:has(input:checked) .v-selection-control__wrapper {
  color: rgb(var(--v-theme-primary));
}

.y-choice-control:not(.v-selection-control--disabled):has(input:checked) .v-selection-control__input > .v-icon {
  opacity: 1;
}

.y-choice-control:has(input:focus-visible) .v-selection-control__input::before {
  opacity: calc(0.12 * var(--v-theme-overlay-multiplier));
}

/* Segmented: a tinted track with the picked option raised. */

.segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 3px;
  max-width: 100%;
  padding: 3px;
  border-radius: 10px;
  background: rgb(var(--v-theme-blue-bg));
}

.segmented__option {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 8px;
  background: transparent;
  color: rgba(var(--v-theme-on-surface), 0.72);
  font-size: 13.5px;
  font-weight: 560;
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.segmented__option:has(input:checked) {
  background: rgb(var(--v-theme-surface));
  color: rgb(var(--v-theme-on-surface));
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.segmented__option:has(input:focus-visible) {
  outline: 2px solid rgb(var(--v-theme-primary));
  outline-offset: 1px;
}

.segmented__option--disabled {
  opacity: var(--v-disabled-opacity);
  cursor: default;
}

.segmented__option .mdi {
  width: 15px;
  height: 15px;
  font-size: 15px;
  line-height: 15px;
}

.segmented__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

/* Card choices: a radio mark, a label and a description in a bordered card. */

.y-card-choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.y-card-choice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 100%;
  min-height: 46px;
  padding: 12px 22px 12px 12px;
  border: 1.5px solid rgb(var(--v-theme-structure-border));
  border-radius: 10px;
  background: rgb(var(--v-theme-structure-primary));
  box-shadow: inset 0 0 0 1px rgb(var(--v-theme-structure-border));
  color: rgb(var(--v-theme-secondary-grey));
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease, color 120ms ease;
}

.y-card-choice:hover {
  border-color: rgb(var(--v-theme-primary));
}

.y-card-choice:has(input:checked) {
  border-color: rgb(var(--v-theme-primary));
  background: rgb(var(--v-theme-primary-bg));
  box-shadow: 0 0 0 1px rgba(var(--v-theme-primary), 0.25);
  color: rgb(var(--v-theme-primary-dark));
}

.y-card-choice:has(input:focus-visible) {
  outline: 2px solid rgb(var(--v-theme-primary));
  outline-offset: 2px;
}

.y-card-choice--disabled {
  opacity: var(--v-disabled-opacity);
  cursor: default;
  pointer-events: none;
}

.y-card-choice__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.y-card-choice__radio {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  width: 20px;
  height: 20px;
  border: 2px solid rgb(var(--v-theme-structure-border));
  border-radius: 50%;
  background: rgb(var(--v-theme-state-secondary));
  transition: border-color 120ms ease, background-color 120ms ease;
}

.y-card-choice__radio::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgb(var(--v-theme-structure-secondary));
}

.y-card-choice:has(input:checked) .y-card-choice__radio {
  border-color: rgb(var(--v-theme-primary));
  background: rgb(var(--v-theme-primary-bg));
}

.y-card-choice:has(input:checked) .y-card-choice__radio::after {
  background: rgb(var(--v-theme-primary));
}

.y-card-choice__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.y-card-choice__label {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}

.y-card-choice__description {
  color: rgb(var(--v-theme-text-secondary));
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

/* Button toggle: the outlined v-btn-toggle, its picked buttons tinted. */

.y-btn-toggle__option {
  position: relative;
  cursor: pointer;
}

.y-btn-toggle__option:has(input:checked) > .v-btn__overlay {
  opacity: calc(var(--v-activated-opacity) * var(--v-theme-overlay-multiplier));
}

.y-btn-toggle--primary .y-btn-toggle__option:has(input:checked) {
  color: rgb(var(--v-theme-primary));
}

.y-btn-toggle__option:has(input:focus-visible) > .v-btn__overlay {
  opacity: calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier));
}

/* Filter chips: v-chip-group chips, the picked one checked. */

.y-chip-choice {
  position: relative;
  cursor: pointer;
}

.y-chip-choice__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: inherit;
}

.y-chip-choice .v-chip__filter {
  display: none;
}

.y-chip-choice:has(input:checked) .v-chip__filter {
  display: block;
}

.y-chip-choice:has(input:checked) > .v-chip__overlay {
  opacity: calc(var(--v-activated-opacity) * var(--v-theme-overlay-multiplier));
}

.y-chip-choice--colored:has(input:checked) {
  color: rgb(var(--y-chip-choice-color));
}

.y-chip-choice:has(input:focus-visible) > .v-chip__overlay {
  opacity: calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier));
}

/* The vendored codemirror.css is put first in the head when an editor is
   drawn, so these rules win over it at the same specificity. */
.y-code-editor {
  position: relative;
  width: 100%;
  font-size: 13px;
  overflow: hidden;
}
.y-code-editor__source {
  display: block;
  width: 100%;
  height: 100%;
  padding: 4px;
  font-family: monospace;
  font-size: 13px;
  resize: none;
  color: rgb(var(--v-theme-text-default));
  background: rgb(var(--v-theme-surface));
}
.y-code-editor .CodeMirror {
  height: 100%;
  font-family: consolas;
}
.y-code-panel .CodeMirror pre,
.y-code-panel .CodeMirror-code,
.y-code-panel .CodeMirror-lines,
.y-code-panel .CodeMirror textarea {
  font-family: monospace;
}
.y-code-editor--bordered .CodeMirror {
  border: 1px solid rgb(var(--v-theme-structure-border));
  border-radius: 8px;
}
.y-code-editor .y-code-editor__line-highlight {
  background: rgba(var(--v-theme-primary), 0.18);
}

.y-code-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 10px;
  background: rgb(var(--v-theme-surface));
}
.y-code-panel__editor {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  max-height: 100%;
}
.y-code-panel__controls {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 2px;
}
.y-code-panel__control {
  color: #9e9e9e;
}
.y-code-panel[data-code-theme="dracula"] .y-code-panel__control {
  color: #ffa000;
}
.y-code-panel__dark,
.y-code-panel[data-code-theme="dracula"] .y-code-panel__light {
  display: none;
}
.y-code-panel[data-code-theme="dracula"] .y-code-panel__dark {
  display: contents;
}
.y-code-panel__light {
  display: contents;
}
.y-code-panel__footer {
  display: flex;
  flex-shrink: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.y-code-workspace {
  display: flex;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.y-code-workspace__code {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.y-code-workspace__card {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}
.y-code-workspace__handle {
  position: relative;
  width: 4px;
  cursor: col-resize;
  background: transparent;
  transition: background-color 0.2s;
}
.y-code-workspace__handle:hover,
.y-code-workspace__handle[data-resizing] {
  background: rgba(var(--v-theme-on-surface), 0.08);
}
.y-code-workspace__handle::before {
  content: "";
  position: absolute;
  inset: 0 -2px;
}
.y-code-workspace__grip {
  position: absolute;
  top: 50%;
  left: 1px;
  width: 2px;
  height: 20px;
  margin-top: -10px;
  border-radius: 1px;
  background: rgba(var(--v-theme-on-surface), 0.2);
}
.y-code-workspace__inspector {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.y-inspector {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  min-height: 0;
}
.y-inspector__summary {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgb(var(--v-theme-structure-border));
  border-radius: 12px;
  background: rgb(var(--v-theme-structure-secondary));
}
.y-inspector__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.y-inspector__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.y-inspector__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.y-inspector__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.y-inspector__stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.y-inspector__stat-label {
  font-weight: 600;
  color: rgb(var(--v-theme-text-secondary));
}
.y-inspector__stat-value {
  font-weight: 700;
  color: rgb(var(--v-theme-text-default));
}
.y-inspector__stat-value--success {
  color: rgb(var(--v-theme-success-text));
}
.y-inspector__stat-value--error {
  color: rgb(var(--v-theme-error-text));
}
.y-inspector__tabs {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgb(var(--v-theme-structure-border));
  border-radius: 10px;
  background: rgb(var(--v-theme-surface));
}
.y-inspector__tabbar {
  display: flex;
  flex-shrink: 0;
}
.y-inspector__tablist {
  flex: 1 1 auto;
  min-width: 0;
}
.y-inspector__arrow {
  display: flex;
  flex: 0 1 52px;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  cursor: pointer;
  color: rgb(var(--v-theme-on-surface));
}
.y-inspector__arrow[hidden] {
  display: none;
}
.y-inspector__arrow:disabled {
  pointer-events: none;
  opacity: var(--v-disabled-opacity);
}
.y-inspector__window {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
}
.y-inspector__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px 16px;
}
.y-inspector__body--compact {
  gap: 6px;
}
.y-inspector__empty {
  padding: 14px;
  border: 1px dashed rgb(var(--v-theme-structure-border));
  border-radius: 8px;
  font-size: 13px;
  color: rgb(var(--v-theme-text-secondary));
}

.y-console {
  padding: 0;
  color: rgb(var(--v-theme-text-default));
  background: rgb(var(--v-theme-surface));
}
.y-console__item {
  min-height: unset;
  padding: 2px;
  border-bottom: 1px solid rgb(var(--v-theme-structure-border));
  border-left: 3px solid rgb(var(--v-theme-blue-icon));
}
.y-console__item:last-child {
  border-bottom: none;
}
.y-console__item .v-icon {
  margin-right: 2px;
  color: rgb(var(--v-theme-blue-icon));
}
.y-console__item--warn {
  border-left-color: rgb(var(--v-theme-warning-icon));
}
.y-console__item--warn .v-icon {
  color: rgb(var(--v-theme-warning-icon));
}
.y-console__item--error {
  border-left-color: rgb(var(--v-theme-error-icon));
}
.y-console__item--error .v-icon {
  color: rgb(var(--v-theme-error-icon));
}
.y-console__item--link {
  cursor: pointer;
}
.y-console__message {
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  font-weight: 500;
  white-space: normal;
  word-break: break-word;
  color: rgb(var(--v-theme-text-default));
}
.y-console__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  white-space: nowrap;
  color: rgb(var(--v-theme-text-secondary));
}
.y-console__line {
  text-decoration: underline;
  color: rgb(var(--v-theme-primary));
}
.y-console__stack {
  font-size: 11px;
  word-break: break-word;
  color: rgb(var(--v-theme-text-secondary));
}

.y-properties__rows {
  transition: opacity 0.2s;
}
.y-properties[data-property-editing] .y-properties__rows {
  opacity: 0.5;
}
.y-properties__value {
  overflow: hidden;
  font-family: monospace;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.y-code-panel__footer .agent-yesh-bar {
  flex: 1;
}

.y-code-help.y-dialog {
  max-height: 85vh;
}
.y-code-help .y-dialog__content {
  overflow: auto;
  padding: 18px 22px;
}
.y-code-help__markdown {
  font-size: 14px;
  line-height: 1.6;
}
.y-code-help__markdown * {
  letter-spacing: 0 !important;
}
.y-code-help__markdown h1 {
  font-size: 24px !important;
  line-height: 32px !important;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 12px;
}
.y-code-help__markdown h2 {
  font-size: 19px !important;
  line-height: 26px !important;
  font-weight: 600;
  margin-top: 22px;
  margin-bottom: 10px;
}
.y-code-help__markdown h3 {
  font-size: 16px !important;
  line-height: 22px !important;
  font-weight: 600;
  margin-top: 18px;
  margin-bottom: 8px;
}
.y-code-help__markdown h4,
.y-code-help__markdown h5,
.y-code-help__markdown h6 {
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 600;
  margin-top: 16px;
  margin-bottom: 8px;
}
.y-code-help__markdown p,
.y-code-help__markdown li {
  font-size: 14px;
  line-height: 20px;
}
.y-code-help__markdown ul,
.y-code-help__markdown ol {
  margin-top: 6px;
  margin-bottom: 14px;
}
.y-code-help__markdown li > ul,
.y-code-help__markdown li > ol {
  margin-top: 2px;
  margin-bottom: 2px;
}
.y-code-help__markdown pre {
  border: 1px solid rgb(var(--v-theme-structure-border));
  border-radius: 8px;
  background: rgb(var(--v-theme-structure-secondary));
  padding: 12px;
  margin: 10px 0 18px;
}
.y-code-help__markdown code {
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 12px !important;
  line-height: 18px !important;
}

.y-code-snippet {
  margin: 0;
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
  word-break: break-all;
}

.text-on-code-surface {
  color: rgb(var(--v-theme-on-code-surface)) !important;
}

.y-color-picker {
  display: inline-flex;
}
.y-color-picker__swatch {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid rgba(var(--v-theme-on-surface), 0.12);
  cursor: pointer;
  padding: 0;
}
.y-color-picker__menu {
  min-width: 0;
}
.y-color-picker__menu > .v-card {
  overflow: hidden;
}
.y-color-picker__canvas {
  position: relative;
  cursor: crosshair;
  touch-action: none;
  background:
    linear-gradient(to top, #000, transparent),
    linear-gradient(to right, #fff, hsl(var(--y-hue, 0), 100%, 50%));
}
.y-color-picker__canvas .v-color-picker-canvas__dot {
  pointer-events: none;
}
.y-color-picker__hue {
  appearance: none;
  width: 100%;
  height: 8px;
  margin: 11px 0;
  border-radius: 4px;
  background: linear-gradient(to right, #f00 0%, #ff0 16.66%, #0f0 33.33%, #0ff 50%, #00f 66.66%, #f0f 83.33%, #f00 100%);
}
.y-color-picker__hue::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgb(var(--v-theme-on-surface));
  opacity: 0.75;
  cursor: pointer;
}
.y-color-picker__menu .v-color-picker {
  align-self: flex-start;
  contain: content;
  width: 300px;
  border-radius: 4px;
}
.y-color-picker__menu .v-color-picker__controls {
  display: flex;
  flex-direction: column;
  padding: 16px;
  width: 100%;
}
.y-color-picker__menu .v-color-picker-canvas {
  display: flex;
  position: relative;
  overflow: hidden;
  contain: content;
  width: 100%;
}
.y-color-picker__menu .v-color-picker-canvas__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  background: transparent;
  border-radius: 50%;
  box-shadow: 0px 0px 0px 1.5px rgb(255, 255, 255), inset 0px 0px 1px 1.5px rgba(0, 0, 0, 0.3);
}
.y-color-picker__menu .v-color-picker-preview {
  align-items: center;
  display: flex;
  margin-bottom: 0;
}
.y-color-picker__menu .v-color-picker-preview__eye-dropper {
  position: relative;
  margin-right: 12px;
}
.y-color-picker__menu .v-color-picker-preview__dot {
  position: relative;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  overflow: hidden;
  margin-inline-end: 24px;
  flex: 0 0 auto;
}
.y-color-picker__menu .v-color-picker-preview__dot > div {
  width: 100%;
  height: 100%;
}
.y-color-picker__menu .v-color-picker-preview__sliders {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  padding-inline-end: 8px;
}
.y-color-picker__menu .v-color-picker-edit {
  display: flex;
  margin-top: 24px;
}
.y-color-picker__menu .v-color-picker-edit__input {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  margin-inline-end: 8px;
}
.y-color-picker__menu .v-color-picker-edit__input input {
  padding: 0;
  font: inherit;
  border-style: none;
  border-radius: 4px;
  margin: 0 0 8px;
  min-width: 0;
  outline: none;
  text-align: center;
  width: 100%;
  height: 32px;
  background: color-mix(in srgb, rgb(var(--v-theme-surface-variant)) 20%, transparent);
  color: rgba(var(--v-theme-on-surface));
}
.y-color-picker__menu .v-color-picker-edit__input span {
  font-size: 0.75rem;
}
.y-color-picker__menu .v-color-picker-swatches {
  overflow-y: auto;
}
.y-color-picker__menu .v-color-picker-swatches > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 8px;
}
.y-color-picker__menu .v-color-picker-swatches__swatch {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}
.y-color-picker__menu .v-color-picker-swatches__color {
  position: relative;
  height: 18px;
  max-height: 18px;
  width: 45px;
  margin: 2px 4px;
  border-radius: 2px;
  user-select: none;
  overflow: hidden;
  cursor: pointer;
}
.y-color-picker__menu .v-color-picker-swatches__color > div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.y-color-picker__menu .v-color-picker-swatches__color:not([data-chosen]) .v-icon {
  display: none;
}

.y-conditions {
  container: conditions / inline-size;
}

.y-conditions__row {
  display: flex;
  align-items: center;
  min-height: 48px;
}

.y-conditions__row--last {
  margin-bottom: 12px;
}

.y-conditions__when {
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-end;
  align-items: center;
  padding: 0 16px 0 8px;
}

.y-conditions__word {
  display: inline-block;
  width: 50px;
  padding: 3px 8px;
  border-radius: 4px;
  background-color: rgba(66, 99, 235, 0.08);
  color: rgb(var(--v-theme-text-secondary));
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
}

.y-conditions__variable,
.y-conditions__value {
  flex: 0 0 25%;
  max-width: 25%;
}

.y-conditions__comparison {
  flex: 0 0 auto;
  padding: 0 8px;
}

.y-conditions__comparison .y-field {
  width: 180px;
}

.y-conditions__remove {
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
  align-items: center;
  padding-left: 4px;
}

/* A suggesting v-combobox starts with no items, so it draws no menu icon. */
.y-conditions__value .y-picker--free-text .y-picker__chevron {
  display: none;
}

/* A list of fixed values is FormSelect, which offers no clear button. */
.y-conditions__value .y-picker:not(.y-picker--free-text) .y-picker__clear {
  display: none;
}

.y-conditions__caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.y-conditions__cell--error .y-field::after,
.y-conditions__cell--error .y-field:hover::after {
  border-color: rgb(var(--v-theme-error-icon));
}

.y-conditions__cell--error .y-field__chevron,
.y-conditions__cell--error .y-picker__chevron {
  color: rgb(var(--v-theme-error));
}

.y-conditions--stacked .y-conditions__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 0;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid rgba(66, 99, 235, 0.12);
  border-radius: 8px;
  background-color: rgba(66, 99, 235, 0.02);
}

.y-conditions--stacked .y-conditions__when {
  grid-area: 1 / 1;
  justify-content: flex-start;
  margin-bottom: 12px;
  padding: 0;
}

.y-conditions--stacked .y-conditions__remove {
  grid-area: 1 / 2;
  margin-bottom: 12px;
  padding: 0;
}

.y-conditions--stacked .y-conditions__cell {
  display: flex;
  grid-column: 1 / -1;
  max-width: none;
  margin-bottom: 8px;
  padding: 0;
}

.y-conditions--stacked .y-conditions__cell > :last-child {
  flex: 0 0 66.6667%;
  max-width: 66.6667%;
}

.y-conditions--stacked .y-conditions__comparison .y-field {
  width: auto;
}

.y-conditions--stacked .y-conditions__caption {
  position: static;
  display: flex;
  flex: 0 0 33.3333%;
  align-items: center;
  width: auto;
  height: auto;
  padding-right: 12px;
  clip-path: none;
  color: rgb(var(--v-theme-text-secondary));
  font-size: 0.875rem;
  font-weight: 500;
}

@container conditions (max-width: 599.98px) {
  .y-conditions__row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 0;
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid rgba(66, 99, 235, 0.12);
    border-radius: 8px;
    background-color: rgba(66, 99, 235, 0.02);
  }

  .y-conditions__when {
    grid-area: 1 / 1;
    justify-content: flex-start;
    margin-bottom: 12px;
    padding: 0;
  }

  .y-conditions__remove {
    grid-area: 1 / 2;
    margin-bottom: 12px;
    padding: 0;
  }

  .y-conditions__cell {
    display: flex;
    grid-column: 1 / -1;
    max-width: none;
    margin-bottom: 8px;
    padding: 0;
  }

  .y-conditions__cell > :last-child {
    flex: 0 0 66.6667%;
    max-width: 66.6667%;
  }

  .y-conditions__comparison .y-field {
    width: auto;
  }

  .y-conditions__caption {
    position: static;
    display: flex;
    flex: 0 0 33.3333%;
    align-items: center;
    width: auto;
    height: auto;
    padding-right: 12px;
    clip-path: none;
    color: rgb(var(--v-theme-text-secondary));
    font-size: 0.875rem;
    font-weight: 500;
  }
}

/* The date picker every date and time field opens, drawn as Vuetify's
   v-date-picker in a v-menu. The rules in the layer are Vuetify's own, for
   the class names datepicker.js draws; the rest place the menu and the card
   with its time row the way the Vue fields do. */

@layer vuetify-components {
  .v-picker.v-sheet {
    display: grid;
    grid-auto-rows: min-content;
    grid-template-areas: "header" "body";
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
  }
  .v-picker.v-sheet {
    box-shadow: 0px 0px 0px 0px rgba(var(--v-shadow-color), var(--v-shadow-key-opacity, 0.3)), 0px 0px 0px 0px rgba(var(--v-shadow-color), var(--v-shadow-ambient-opacity, 0.15));
    --v-elevation-overlay: color-mix(in srgb, var(--v-elevation-overlay-color) 0%, transparent);
  }
  .v-picker.v-sheet {
    border-radius: 4px;
  }
  .v-picker__body {
    grid-area: body;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  .v-picker__header-wrapper {
    grid-area: header;
  }
  .v-picker__actions {
    grid-area: actions;
    padding: 0 12px 12px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .v-picker__actions .v-btn {
    min-width: 48px;
  }
  .v-picker__actions .v-btn:not(:last-child) {
    margin-inline-end: 8px;
  }
  .v-picker-title {
    text-transform: uppercase;
    font-size: 0.75rem;
    padding-inline: 24px 12px;
    padding-top: 16px;
    padding-bottom: 16px;
    font-weight: 400;
    letter-spacing: 0.1666666667em;
  }
  .v-date-picker {
    overflow: hidden;
    width: 328px;
    --v-date-picker-landscape-header-width: 170px;
  }
  .v-date-picker > .v-picker__body {
    flex-direction: column;
  }
  .v-date-picker-header {
    align-items: flex-end;
    height: 70px;
    display: grid;
    grid-template-areas: "prepend content append";
    grid-template-columns: min-content minmax(0, 1fr) min-content;
    overflow: hidden;
    padding-inline: 24px 12px;
    padding-bottom: 12px;
  }
  .v-date-picker-header__content {
    align-items: center;
    display: inline-flex;
    font-size: 32px;
    line-height: 40px;
    grid-area: content;
    justify-content: space-between;
    white-space: pre-wrap;
  }
  .v-date-picker-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    height: var(--v-date-picker-controls-height, 56px);
    padding: 4px 12px;
  }
  .v-date-picker-controls .v-btn {
    text-transform: none;
    font-weight: 400;
    line-height: initial;
    letter-spacing: initial;
  }
  .v-date-picker-controls__month, .v-date-picker-controls__year {
    display: flex;
  }
  .v-date-picker-controls .v-date-picker-controls__only-month-btn, .v-date-picker-controls .v-date-picker-controls__only-year-btn {
    padding-inline: 12px 8px;
    min-width: 40px;
  }
  .v-date-picker-controls .v-date-picker-controls__only-month-btn > .v-btn__append, .v-date-picker-controls .v-date-picker-controls__only-year-btn > .v-btn__append {
    margin-inline: 4px -4px;
  }
  .v-date-picker-controls .v-btn > .v-btn__append > .v-icon {
    transition-property: transform;
    transition-duration: 0.28s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  }
  .v-date-picker--months .v-date-picker-controls .v-date-picker-controls__only-month-btn > .v-btn__append > .v-icon,
  .v-date-picker--year .v-date-picker-controls .v-date-picker-controls__only-year-btn > .v-btn__append > .v-icon {
    transform: rotate(180deg);
  }
  .v-date-picker__title {
    display: inline-block;
  }
  .v-date-picker-month {
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 0 12px 8px;
    position: relative;
    --v-date-picker-month-day-diff: 4px;
  }
  .v-date-picker-month__weeks {
    display: flex;
    flex-direction: column;
    font-size: 0.875rem;
  }
  .v-date-picker-month__weekday {
    font-size: 0.875rem;
  }
  .v-date-picker-month__days {
    width: 100%;
  }
  .v-date-picker-month__days-row {
    display: grid;
    grid-template-columns: repeat(var(--v-date-picker-days-in-week), 1fr);
    justify-items: center;
  }
  .v-date-picker-month__day {
    align-items: center;
    display: flex;
    justify-content: center;
    position: relative;
    height: calc(40px + 2 * 2px);
    padding: 2px;
    --range-selection-rounding: 999px;
    width: 100%;
  }
  .v-date-picker-month__day--selected .v-btn {
    background-color: rgb(var(--v-theme-surface-variant));
    color: rgb(var(--v-theme-on-surface-variant));
  }
  .v-date-picker-month__day .v-btn.v-date-picker-month__day-btn {
    --v-btn-height: 24px;
    --v-btn-size: 0.875rem;
  }
  .v-date-picker-month__day--week {
    font-size: var(--v-btn-size);
  }
  .v-date-picker-month__day--adjacent {
    opacity: 0.5;
  }
  .v-date-picker-month__day--hide-adjacent {
    opacity: 0;
  }
  .v-date-picker-months {
    height: 288px;
  }
  .v-date-picker-months__content {
    align-items: center;
    display: grid;
    flex: 1 1;
    height: inherit;
    justify-content: space-around;
    grid-template-columns: repeat(var(--v-date-picker-months-columns, 2), 1fr);
    grid-gap: 0px 24px;
    padding-inline-start: 36px;
    padding-inline-end: 36px;
  }
  .v-date-picker-months__content .v-btn {
    text-transform: none;
    padding-inline-start: 8px;
    padding-inline-end: 8px;
  }
  .v-date-picker-years {
    height: 288px;
    overflow-y: scroll;
  }
  .v-date-picker-years__content {
    display: grid;
    flex: 1 1;
    justify-content: space-around;
    grid-template-columns: repeat(var(--v-date-picker-years-columns, 3), 1fr);
    gap: 8px 24px;
    padding-inline: 32px;
  }
  .v-date-picker-years__content .v-btn {
    padding-inline: 8px;
  }
}

.y-date-field .v-field,
.y-date-field .v-field__input {
  cursor: pointer;
}

.y-date-field__text {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.y-date-menu {
  inset: auto;
  position-area: bottom span-right;
  position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  overflow: visible;
}

.y-date-menu:popover-open {
  display: block;
}

.y-date-menu > .v-overlay__content,
.y-datetime__popover > .v-overlay__content {
  border-radius: 10px;
}

.y-date-menu > .v-overlay__content > .v-picker {
  border-radius: inherit;
  background: rgb(var(--v-theme-surface));
  color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
  box-shadow: 0px 1px 3px 0px rgba(var(--v-shadow-color), var(--v-shadow-key-opacity, 0.3)), 0px 4px 8px 3px rgba(var(--v-shadow-color), var(--v-shadow-ambient-opacity, 0.15));
}

.y-date-card {
  width: 480px;
  max-width: calc(100vw - 32px);
}

.y-calendar {
  background: rgb(var(--v-theme-surface));
  color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
}

.y-date-card .v-picker,
.y-datetime__card .v-picker {
  width: 100%;
  border-radius: 10px;
}

.y-date-card [data-date-error]:empty {
  display: none;
}

.y-clock {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 3fr) minmax(0, 5fr);
  align-items: center;
}

.y-clock__hour {
  display: flex;
  align-items: center;
}

.y-clock__hour > .v-input {
  margin-right: 4px;
}

.y-clock__minute,
.y-clock__meridiem {
  margin-right: 8px;
}

.y-clock .y-field-group {
  min-width: 0;
}

.y-clock select {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.y-zone-field {
  position: relative;
}

.y-zone-field .v-field__input {
  min-height: 36px;
  padding-top: 6px;
  padding-bottom: 6px;
  flex-wrap: nowrap;
  overflow: hidden;
}

.y-zone-field .v-autocomplete__selection {
  min-width: 0;
  max-width: 100%;
  margin-inline-end: 5px;
  overflow: hidden;
}

.y-zone-field .v-field__append-inner {
  padding-inline-start: 4px;
}

.y-zone-field .v-autocomplete__selection-text {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.y-zone-field__select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* Dates and times: the button and popover that pick a moment, and the
   recurrence editor. The date field and the picker it opens are in
   datepicker.css. */

.y-datetime__popover {
  inset: auto;
  position-area: bottom span-right;
  position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
  margin: 4px 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  overflow: visible;
}

.y-datetime__popover:popover-open {
  display: block;
}

.y-datetime__card {
  width: 480px;
  max-width: calc(100vw - 32px);
}

/* The workspace gives a menu's card the 4px inset of a list, which would
   leave the preset rows, drawn edge to edge, with no padding at all. */
.y-datetime__popover > .v-overlay__content > .y-datetime__card {
  padding: 20px !important;
}

.y-datetime__presets {
  display: flex;
  flex-direction: column;
  margin: -12px -20px 0;
}

.y-datetime__preset {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 16px;
  min-height: 40px;
  font-size: 14px;
  cursor: pointer;
}

.y-datetime__preset:hover {
  background: rgba(var(--v-theme-on-surface), var(--v-hover-opacity));
}

.y-datetime__preset input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.y-datetime__preset:has(input:checked) {
  background: rgba(var(--v-theme-on-surface), var(--v-activated-opacity));
}

.y-datetime__fields {
  display: block;
}

.y-datetime__fields .y-field {
  min-width: 0;
}

.y-datetime__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* The preset rows are the way to choose Immediately or Monday morning, and
   the fields only matter for a picked date. */
.y-datetime:has(.y-datetime__preset input[value="now"]:checked) .y-datetime__fields,
.y-datetime:has(.y-datetime__preset input[value="monday"]:checked) .y-datetime__fields {
  display: none;
}

/* Recurrence: only the widths and the preview badge are its own. */

.recurrence-label {
  flex: 0 0 124px;
  white-space: nowrap;
  font-weight: 600;
  color: rgba(var(--v-theme-on-surface), 0.75);
}

.recurrence-w-number {
  max-width: 90px;
}

.recurrence-w-md {
  max-width: 140px;
}

.recurrence-w-date {
  max-width: 180px;
}

.recurrence-w-tz {
  flex: 1 1 260px;
  min-width: 220px;
}

.recurrence-w-number .y-field,
.recurrence-w-md .y-field {
  min-width: 0;
}

.recurrence-w-date .v-input {
  min-width: 150px;
}

.recurrence-w-md select {
  field-sizing: content;
}

.recurrence-w-tz select {
  width: 100%;
  text-overflow: ellipsis;
}

.recurrence-helper {
  margin-left: 156px;
}

.recurrence-preview {
  align-self: flex-start;
  padding: 8px 13px;
  border-radius: 8px;
  background: rgb(var(--v-theme-structure-secondary));
}

.recurrence-preview[hidden] {
  display: none !important;
}

.recurrence-preview-body {
  color: rgb(var(--v-theme-success-text));
}

.y-rec-check {
  display: inline-flex;
  color: rgba(var(--v-theme-on-surface), 0.38);
}

.y-rec-check .v-icon {
  width: 16px;
  height: 16px;
  font-size: 16px;
}

.y-rec-check--filled {
  color: rgb(var(--v-theme-success));
}

.y-recurrence:has(.y-rec-unit option[value="ONCE"]:checked) .y-rec-recurring,
.y-recurrence:has(.y-rec-unit option:not([value="ONCE"]):checked) .y-rec-once-only {
  display: none;
}

.y-recurrence:not(:has(.y-rec-unit option[value="WEEKLY"]:checked, .y-rec-unit option[value="MONTHLY"]:checked)) .y-rec-repeat-on {
  display: none;
}

.y-recurrence:not(:has(.y-rec-unit option[value="MONTHLY"]:checked)) .y-rec-monthly {
  display: none;
}

/* The timezone field is the Vuetify autocomplete: no fill, and its own arrow. */

.y-timezone .y-field {
  background: transparent;
}

.y-timezone .y-field__chevron::before {
  content: "\F035D";
}

.y-datetime__clear--none {
  display: none;
}

/* A secondary button carries text-secondary, which the chosen state must outrank. */
.y-datetime__trigger.text-primary {
  color: rgb(var(--v-theme-primary)) !important;
}

.y-datetime__trigger.text-disabled {
  color: rgba(var(--v-theme-on-surface), var(--v-disabled-opacity)) !important;
}

/* In the dark theme the Vue button's own secondary color outranks the chosen state's. */
.v-theme--dark .y-datetime__trigger.text-primary {
  color: rgb(var(--v-theme-secondary)) !important;
}

/* A time window set to no preference reads as a placeholder, as Vuetify's does. */
.y-field--select:has(option[value=""]:checked) .y-field__input {
  padding-bottom: 10px;
  color: rgba(var(--v-theme-on-structure-primary), var(--v-disabled-opacity));
}

.y-datetime__text {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  text-align: start;
  width: 100%;
  min-height: 20px;
  cursor: pointer;
}

.draft-chat { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.draft-chat[hidden] { display: none; }
.draft-chat__scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 18px 16px 8px; }

.draft-chat__empty { display: flex; flex-direction: column; gap: 8px; padding: 4px 0; }
.draft-chat__empty[hidden], .draft-chat__messages[hidden] { display: none; }
.draft-chat__empty-title { font-size: 13px; color: rgb(var(--v-theme-text-secondary)); line-height: 1.5; margin-bottom: 4px; }
.draft-chat__suggestion {
  display: flex; align-items: center; gap: 8px;
  text-align: left; padding: 10px 12px; border-radius: 10px;
  border: 1px solid rgb(var(--v-theme-structure-border)); background: rgb(var(--v-theme-surface));
  color: rgb(var(--v-theme-primary-dark)); font-family: inherit; font-size: 13px; font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.03);
  transition: border-color 0.14s ease, transform 0.12s ease;
}
.draft-chat__suggestion .v-icon { color: rgb(var(--v-theme-primary)); flex: 0 0 auto; }
.draft-chat__suggestion:hover { border-color: rgba(var(--v-theme-primary), 0.45); transform: translateY(-1px); }

.draft-chat__empty-label { font-size: 14px; font-weight: 700; color: rgb(var(--v-theme-primary-dark)); margin: 4px 0; }
.draft-chat__empty-hint { font-size: 12px; color: rgb(var(--v-theme-text-secondary)); font-style: italic; padding: 2px 2px 0; }
.draft-chat__option {
  display: flex; align-items: center; gap: 10px; text-align: left; text-decoration: none;
  padding: 11px 12px; border-radius: 12px; border: 1px solid rgb(var(--v-theme-structure-border));
  background: rgb(var(--v-theme-surface)); font-family: inherit; cursor: pointer;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.03);
  transition: border-color 0.14s ease, transform 0.12s ease;
}
.draft-chat__option:hover { border-color: rgba(var(--v-theme-primary), 0.45); transform: translateY(-1px); }
.draft-chat__option--lead { border-color: rgba(var(--v-theme-primary), 0.4); background: rgba(var(--v-theme-primary), 0.04); }
.draft-chat__option--lead .draft-chat__option-title { color: rgb(var(--v-theme-primary)); }
.draft-chat__option-icon { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: rgba(var(--v-theme-primary), 0.08); color: rgb(var(--v-theme-primary)); }
.draft-chat__option-arrow { flex: 0 0 auto; display: flex; color: rgb(var(--v-theme-primary)); }
.draft-chat__option-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.draft-chat__option-title { font-size: 13px; font-weight: 600; color: rgb(var(--v-theme-primary-dark)); }
.draft-chat__option-sub { font-size: 11.5px; color: rgb(var(--v-theme-text-secondary)); line-height: 1.4; }

.draft-chat__messages { display: flex; flex-direction: column; gap: 10px; padding: 6px 0 4px; }
.draft-chat__msg { font-size: 13.5px; line-height: 1.5; padding: 9px 12px; max-width: 92%; white-space: pre-wrap; }
.draft-chat__msg--user {
  align-self: flex-end; background: rgb(var(--v-theme-primary)); color: white; font-weight: 500;
  border-radius: 12px 12px 4px 12px;
}
.draft-chat__msg--rae {
  align-self: flex-start; background: rgb(var(--v-theme-surface)); color: rgb(var(--v-theme-primary-dark));
  border: 1px solid rgb(var(--v-theme-structure-border)); border-radius: 12px 12px 12px 4px;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.03);
}
.draft-chat__msg--thinking { display: inline-flex; gap: 5px; align-items: center; }
.draft-chat__msg--thinking span { width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--v-theme-primary)); animation: draft-chat-bounce 1.2s ease-in-out infinite; }
.draft-chat__msg--thinking span:nth-child(2) { animation-delay: 0.15s; }
.draft-chat__msg--thinking span:nth-child(3) { animation-delay: 0.3s; }
@keyframes draft-chat-bounce { 0%, 80%, 100% { transform: translateY(0); opacity: 0.4; } 40% { transform: translateY(-4px); opacity: 1; } }

.draft-chat__changes { width: 100%; max-width: 100%; padding: 11px 12px 10px; white-space: normal; }
.draft-chat__changes-head { display: flex; align-items: center; gap: 7px; font-size: 13.5px; line-height: 1.5; color: rgb(var(--v-theme-primary-dark)); font-weight: 500; }
.draft-chat__changes-text { min-width: 0; white-space: pre-wrap; }
.draft-chat__tl { display: flex; flex-direction: column; margin-top: 10px; }
.draft-chat__tl-item {
  position: relative;
  display: flex; align-items: flex-start; gap: 10px;
  width: 100%; text-align: left;
  padding: 7px 6px 7px 2px; border: none; border-radius: 9px;
  background: transparent; font-family: inherit; cursor: default; text-decoration: none;
  transition: background 0.13s ease;
}
.draft-chat__tl-item:not(:last-child)::before {
  content: '';
  position: absolute; left: 9px; top: 24px; bottom: -4px;
  width: 2px; background: rgb(var(--v-theme-structure-border));
}
.draft-chat__tl-item--link { cursor: pointer; }
.draft-chat__tl-item--link:hover { background: rgba(var(--v-theme-primary), 0.06); }
.draft-chat__tl-item--link:hover .draft-chat__tl-go { transform: translateX(2px); color: rgb(var(--v-theme-primary)); }
.draft-chat__tl-dot {
  flex: 0 0 auto; z-index: 1;
  width: 16px; height: 16px; margin-top: 1px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgb(var(--v-theme-surface)); border: 2px solid rgb(var(--v-theme-structure-border)); color: white;
}
.draft-chat__tl-item--done .draft-chat__tl-dot { background: rgb(var(--v-theme-primary)); border-color: rgb(var(--v-theme-primary)); }
.draft-chat__tl-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.draft-chat__tl-step { font-size: 10.5px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: rgb(var(--v-theme-text-secondary)); }
.draft-chat__tl-title { font-size: 13px; font-weight: 600; color: rgb(var(--v-theme-primary-dark)); line-height: 1.4; }
.draft-chat__tl-item--link:hover .draft-chat__tl-title { color: rgb(var(--v-theme-primary)); }
.draft-chat__tl-detail { font-size: 12px; color: rgb(var(--v-theme-text-secondary)); line-height: 1.45; }
.draft-chat__tl-go { flex: 0 0 auto; align-self: center; display: inline-flex; color: rgb(var(--v-theme-secondary-grey)); transition: transform 0.13s ease, color 0.13s ease; }
.draft-chat__changes-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 8px; padding-top: 8px;
  border-top: 1px solid rgb(var(--v-theme-structure-border));
  font-size: 11px; color: rgb(var(--v-theme-text-secondary));
}
.draft-chat__changes-foot[hidden] { display: none; }
.draft-chat__changes-foot .v-icon { color: rgb(var(--v-theme-primary)); }
.draft-chat__changes-foot-hint { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.draft-chat__undo-btn {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 8px;
  border: 1px solid rgb(var(--v-theme-structure-border)); background: transparent;
  font-family: inherit; font-size: 11.5px; font-weight: 600; color: rgb(var(--v-theme-primary-dark));
  cursor: pointer; white-space: nowrap;
}
.draft-chat__undo-btn[hidden] { display: none; }
.draft-chat__undo-btn .v-icon { color: inherit; }
.draft-chat__undo-btn:hover:not(:disabled) { border-color: rgba(var(--v-theme-primary), 0.5); color: rgb(var(--v-theme-primary)); background: rgba(var(--v-theme-primary), 0.05); }
.draft-chat__undone-chip {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 3px;
  margin-left: 8px; padding: 2px 8px;
  border-radius: 9px;
  background: rgba(var(--v-theme-on-surface), 0.1); color: rgb(var(--v-theme-text-secondary));
  font-size: 10px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase;
}
.draft-chat__undone-chip[hidden] { display: none; }
.draft-chat__changes--undone .draft-chat__changes-text { text-decoration: line-through; opacity: 0.6; }
.draft-chat__changes--undone .draft-chat__tl-title, .draft-chat__changes--undone .draft-chat__tl-detail { text-decoration: line-through; }
.draft-chat__changes--undone .draft-chat__tl-body, .draft-chat__changes--undone .draft-chat__tl-dot { opacity: 0.55; }
.draft-chat__changes--undone .draft-chat__tl-item { pointer-events: none; }
.draft-chat__changes--undone .draft-chat__tl-go { display: none; }

.draft-chat__input-wrap { flex: 0 0 auto; padding: 12px 14px 16px; border-top: 1px solid rgb(var(--v-theme-structure-border)); background: rgb(var(--v-theme-surface)); }
.draft-chat__input-field {
  display: flex; gap: 6px; align-items: center;
  padding: 6px 8px 6px 12px;
  border: 1px solid rgb(var(--v-theme-structure-border)); border-radius: 10px; background: rgb(var(--v-theme-surface));
}
.draft-chat__input-field textarea {
  flex: 1; border: none; outline: none; resize: none;
  font-family: inherit; font-size: 13.5px; line-height: 1.45;
  color: rgb(var(--v-theme-primary-dark)); padding: 6px 0; background: transparent;
  max-height: 140px; overflow-y: auto;
}
/* The composer's border is the one focus ring; the field inside it draws none of its own. */
.draft-chat__input-field textarea:focus, .draft-chat__input-field textarea:focus-visible,
.draft-chat-start__field textarea:focus, .draft-chat-start__field textarea:focus-visible { outline: none !important; box-shadow: none !important; }
.draft-chat__input-field:has(textarea:focus-visible), .draft-chat-start__field:has(textarea:focus-visible) { border-color: rgba(var(--v-theme-primary), 0.6); }
.draft-chat__input-field textarea::placeholder { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.draft-chat__input-field--listening { border-color: rgba(244, 67, 54, 0.5); box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.12); }
.draft-chat__input-field--busy { background: rgb(var(--v-theme-light-blue-bg)); border-color: rgba(var(--v-theme-primary), 0.3); }
.draft-chat__input-field--busy textarea { cursor: wait; }
.draft-chat__input-field--busy textarea::placeholder { color: rgb(var(--v-theme-primary)); }
.draft-chat__mic { flex: 0 0 auto; color: rgb(var(--v-theme-secondary-grey)); }
.draft-chat__send { flex: 0 0 auto; min-width: 0 !important; padding: 0 10px !important; }
.draft-chat__send[hidden] { display: none; }
.draft-chat__hint { font-size: 10.5px; color: rgb(var(--v-theme-secondary-disabled)); margin-top: 6px; padding-left: 4px; }

.draft-chat--stacked .draft-chat__scroll { padding: 16px; }
.draft-chat--stacked .draft-chat__empty { padding: 0; }
.draft-chat--stacked .draft-chat__input-field { flex-wrap: wrap; gap: 2px 6px; padding: 8px 8px 6px 12px; }
.draft-chat--stacked .draft-chat__input-field textarea { flex: 1 0 100%; padding: 0; }
.draft-chat--compact .draft-chat__empty-label { font-size: 12px; font-weight: 600; margin: 4px 0 2px; }
.draft-chat--compact .draft-chat__option { align-items: flex-start; padding: 10px 12px; min-height: 60px; box-sizing: border-box; }
.draft-chat--compact .draft-chat__option-icon { width: 28px; height: 28px; border-radius: 8px; }
.draft-chat--stacked .draft-chat__send { margin-left: auto; }

@media (prefers-reduced-motion: reduce) {
  .draft-chat__msg--thinking span { animation: none; }
}

.draft-chat-start { display: flex; flex-direction: column; gap: 28px; }
.draft-chat-start__field {
  display: flex; gap: 10px; align-items: center;
  padding: 8px 10px 8px 12px;
  border: 1px solid rgb(var(--v-theme-structure-border)); border-radius: 14px;
  background: rgb(var(--v-theme-surface));
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.12);
}
.draft-chat-start__field textarea {
  flex: 1; border: none; outline: none; resize: none;
  font-family: inherit; font-size: 15px; line-height: 1.5;
  color: rgb(var(--v-theme-primary-dark)); padding: 8px 0; background: transparent;
  max-height: 160px; overflow-y: auto;
}
.draft-chat-start__field.draft-chat__input-field--listening { border-color: rgba(244, 67, 54, 0.5); box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.12); }
.draft-chat-start__logo { flex: 0 0 auto; display: block; border-radius: 50%; box-shadow: 0 0 0 4px rgba(var(--v-theme-primary), 0.1), 0 0 10px 1px rgba(var(--v-theme-primary), 0.25); }
.draft-chat-start__mic { flex: 0 0 auto; color: rgb(var(--v-theme-secondary-grey)); }
.draft-chat-start__send { flex: 0 0 auto; min-width: 0 !important; padding: 0 12px !important; }
.draft-chat-start__hint { text-align: center; font-size: 11.5px; color: rgb(var(--v-theme-secondary-disabled)); margin: 0; }

.draft-chat__msg--markdown { white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
.draft-chat__msg--markdown .markdown-body { font: inherit; line-height: inherit; color: inherit; }
/* A bubble is as wide as its text, and a markdown body that contains its
   inline size has none of its own to give, so the bubble shrank to a letter. */
.draft-chat__msg--markdown .markdown-body { container-type: normal; }
.draft-chat__msg--markdown p { margin: 0 0 8px; }
.draft-chat__msg--markdown :is(p, ul, ol, pre, blockquote, table):last-child { margin-bottom: 0; }
.draft-chat__msg--markdown :is(ul, ol) { margin: 0 0 8px; padding-left: 18px; }
.draft-chat__msg--markdown li { margin: 4px 0; }
.draft-chat__msg--markdown a { color: rgb(var(--v-theme-primary)); text-decoration: underline; text-underline-offset: 2px; }
.draft-chat__msg--markdown code { padding: 1px 4px; border-radius: 4px; background: rgb(var(--v-theme-structure-secondary)); border: 1px solid rgb(var(--v-theme-structure-border)); font-size: 0.9em; }
.draft-chat__msg--markdown pre { max-width: 100%; overflow: auto; padding: 8px 10px; border-radius: 8px; background: rgb(var(--v-theme-structure-secondary)); border: 1px solid rgb(var(--v-theme-structure-border)); white-space: pre; }
.draft-chat__msg--markdown pre code { padding: 0; border: 0; background: transparent; }

.draft-rail { flex: 0 0 400px; max-width: 400px; min-width: 360px; display: flex; flex-direction: column; min-height: 0; background: linear-gradient(180deg, rgb(var(--v-theme-background)) 0%, rgb(var(--v-theme-background)) 22%, rgb(var(--v-theme-surface)) 60%); border-right: 1px solid rgb(var(--v-theme-structure-border)); }
.draft-rail__full { display: contents; }
.draft-rail__strip { display: none; flex: 1; flex-direction: column; align-items: center; gap: 10px; padding: 14px 0; }
.draft-rail[data-collapsed] { flex: 0 0 52px; min-width: 52px; max-width: 52px; }
.draft-rail[data-collapsed] .draft-rail__full { display: none; }
.draft-rail[data-collapsed] .draft-rail__strip { display: flex; }
.draft-rail__strip-avatar { border: none; background: none; padding: 0; cursor: pointer; line-height: 0; }
.draft-rail__strip-avatar img { border-radius: 50%; box-shadow: 0 0 0 4px rgba(var(--v-theme-primary), 0.1), 0 0 10px 1px rgba(var(--v-theme-primary), 0.25); }
.draft-rail__strip-badge { border: none; cursor: pointer; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: rgb(var(--v-theme-primary)); color: white; font-size: 11.5px; font-weight: 700; }
.draft-rail__strip-badge[hidden] { display: none; }
.draft-rail__head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid rgb(var(--v-theme-structure-border)); flex: 0 0 auto; }
.draft-rail__logo { flex: 0 0 auto; display: block; border-radius: 50%; box-shadow: 0 0 0 4px rgba(var(--v-theme-primary), 0.1), 0 0 10px 1px rgba(var(--v-theme-primary), 0.25); }
.draft-rail__head-text { flex: 1; min-width: 0; }
.draft-rail__title { font-size: 15px; font-weight: 700; color: rgb(var(--v-theme-primary-dark)); }
.draft-rail__sub { font-size: 11.5px; color: rgb(var(--v-theme-text-secondary)); }
.draft-rail__head .draft-chat-tool--on { color: rgb(var(--v-theme-primary)); }

.draft-chat__history { display: flex; flex-direction: column; gap: 12px; }
.draft-chat__history[hidden] { display: none; }
.draft-chat__hist-back { display: inline-flex; align-items: center; gap: 2px; align-self: flex-start; border: none; background: none; padding: 0; cursor: pointer; font-family: inherit; font-size: 12px; font-weight: 600; color: rgb(var(--v-theme-text-secondary)); }
.draft-chat__hist-back:hover { color: rgb(var(--v-theme-primary)); }
.draft-chat__hist-title { font-size: 14px; font-weight: 700; color: rgb(var(--v-theme-primary-dark)); }
.draft-chat__hist-empty { font-size: 12.5px; color: rgb(var(--v-theme-text-secondary)); line-height: 1.5; }
.draft-chat__hist-row { display: flex; align-items: center; gap: 4px; border-bottom: 1px solid rgb(var(--v-theme-structure-border)); }
.draft-chat__hist-row:last-child { border-bottom: none; }
.draft-chat__hist-row:hover .draft-chat__hist-x { opacity: 1; }
.draft-chat__hist-open { flex: 1; min-width: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 9px 2px; border: none; background: none; font-family: inherit; cursor: pointer; text-align: left; }
.draft-chat__hist-open:hover .draft-chat__hist-name { color: rgb(var(--v-theme-primary)); }
.draft-chat__hist-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: rgb(var(--v-theme-primary-dark)); }
.draft-chat__hist-when { flex: 0 0 auto; font-size: 11.5px; color: rgb(var(--v-theme-text-secondary)); }
.draft-chat__hist-x { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: none; border-radius: 6px; background: none; padding: 0; cursor: pointer; color: rgb(var(--v-theme-secondary-grey)); opacity: 0; }
.draft-chat__hist-x:hover { color: rgb(var(--v-theme-error)); background: rgba(var(--v-theme-error), 0.1); }
.draft-chat--history .draft-chat__empty, .draft-chat--history .draft-chat__messages { display: none; }

.draft-chat__card { align-self: stretch; display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; background: rgb(var(--v-theme-surface)); border: 1px solid rgb(var(--v-theme-structure-border)); border-radius: 12px; box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.03); }
.draft-chat__card-head { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: rgb(var(--v-theme-primary-dark)); }
.draft-chat__card-icon { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.draft-chat__card-icon--success { background: rgb(var(--v-theme-success-bg)); color: rgb(var(--v-theme-success-icon)); }
.draft-chat__card-icon--warning { background: rgb(var(--v-theme-warning-bg)); color: rgb(var(--v-theme-warning-icon)); }
.draft-chat__card-icon--error { background: rgb(var(--v-theme-error-bg)); color: rgb(var(--v-theme-error-icon)); }
.draft-chat__card-icon--info { background: rgba(var(--v-theme-primary), 0.1); color: rgb(var(--v-theme-primary)); }
.draft-chat__card-body { font-size: 13px; color: rgb(var(--v-theme-text-secondary)); line-height: 1.55; padding-left: 34px; }
.draft-chat__card-actions { display: flex; flex-direction: column; gap: 8px; }
.draft-chat__card-ask { font-size: 12.5px; font-weight: 600; color: rgb(var(--v-theme-primary-dark)); margin-top: 4px; }
.draft-chat__card-action { display: flex; align-items: center; gap: 8px; text-align: left; padding: 9px 12px; border-radius: 10px; border: 1px solid rgb(var(--v-theme-structure-border)); background: rgb(var(--v-theme-surface)); color: rgb(var(--v-theme-primary-dark)); font-family: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; transition: border-color 0.14s ease, transform 0.12s ease; }
.draft-chat__card-action .v-icon { color: rgb(var(--v-theme-primary)); flex: 0 0 auto; }
.draft-chat__card-action:hover { border-color: rgba(var(--v-theme-primary), 0.45); transform: translateY(-1px); }
.draft-chat__card-done { display: none; align-items: center; gap: 6px; font-size: 12px; color: rgb(var(--v-theme-text-secondary)); }
.draft-chat__card-done .v-icon { color: rgb(var(--v-theme-secondary-grey)); }
.draft-chat__card:not(:last-child) .draft-chat__card-actions { display: none; }
.draft-chat__card:not(:last-child) .draft-chat__card-done { display: flex; }

.draft-chat__chip { order: 1; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; height: 24px; padding: 0 8px; border-radius: 6px; background: rgb(var(--v-theme-structure-secondary)); border: 1px solid rgb(var(--v-theme-structure-border)); font-size: 12px; line-height: 22px; color: rgb(var(--v-theme-text-secondary)); }
.draft-chat--stacked .draft-chat__chip { margin-right: auto; }
.draft-chat--stacked .draft-chat__chip ~ .draft-chat__send { margin-left: 0; }
.draft-chat__input-field > :not(textarea, .draft-chat__chip) { order: 2; }
.draft-chat__input-wrap { position: relative; }
.draft-chat__slash { position: absolute; left: 14px; bottom: calc(100% - 6px); z-index: 1; display: flex; align-items: center; gap: 6px; max-width: calc(100% - 28px); padding: 4px 8px; border-radius: 8px; background: rgb(var(--v-theme-surface)); border: 1px solid rgb(var(--v-theme-structure-border)); font-size: 12px; line-height: 18px; color: rgb(var(--v-theme-text-secondary)); white-space: nowrap; }
.draft-chat__slash[hidden] { display: none; }
.draft-chat__slash kbd { font: inherit; font-size: 11px; padding: 0 5px; border-radius: 4px; border: 1px solid rgb(var(--v-theme-structure-border)); }
.draft-chat__slash code { font: inherit; font-weight: 600; background: none; padding: 0; color: rgb(var(--v-theme-primary-dark)); }
.draft-chat__slash-d { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.draft-chat__msg--notice { align-self: stretch; max-width: none; border-radius: 10px; background: rgb(var(--v-theme-structure-secondary)); color: rgb(var(--v-theme-text-secondary)); white-space: normal; }
.draft-chat__hist-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: rgb(var(--v-theme-primary-dark)); text-decoration: none; padding: 6px 2px; border-top: 1px solid rgb(var(--v-theme-structure-border)); }
.draft-chat__hist-link:hover { color: rgb(var(--v-theme-primary)); }

/* What a change link opens to is lit amber for a moment, as the Vue builder's
   "Rae touched this" glow. A table row takes the wash on its cells, where a
   ring would break into pieces. */
.draft-chat-glow { border-radius: 12px; transition: box-shadow 0.45s ease, background-color 0.45s ease; }
.draft-chat-glow--in { background-color: rgba(255, 214, 79, 0.14) !important; box-shadow: 0 0 0 3px rgba(255, 179, 0, 0.55), 0 4px 20px -2px rgba(255, 170, 0, 0.3); }
tr.draft-chat-glow--in { box-shadow: none; border-radius: 0; }
tr.draft-chat-glow--in > td { background: rgba(255, 179, 0, 0.18) !important; box-shadow: inset 0 2px 0 0 rgba(255, 179, 0, 0.45), inset 0 -2px 0 0 rgba(255, 179, 0, 0.45); }
tr.draft-chat-glow > td { transition: background-color 0.45s ease, box-shadow 0.45s ease; }

/* The address field's domain chip, which goes while the text holds a whole
   address. */
.y-email-field--custom .y-email-field__chip {
  display: none;
}
.y-email-field__chip {
  font: inherit;
  font-size: 0.75rem;
  letter-spacing: inherit;
  color: inherit;
}
.y-email-field__chip:disabled {
  cursor: default;
}
.y-email-field__chip:has(+ .y-menu:popover-open) > .v-chip__overlay {
  opacity: calc(var(--v-activated-opacity) * var(--v-theme-overlay-multiplier));
}

.y-chevron::before {
  content: "\F0140";
}

details[open] > summary .y-chevron::before {
  content: "\F0143";
}

.y-expandable--posted:has(> label > .y-expandable__state:checked) > label .y-chevron::before {
  content: "\F0143";
}

.y-expandable--posted > label {
  cursor: pointer;
}

.y-expandable__state {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.y-expandable--posted:not(:has(> label > .y-expandable__state:checked)) > .y-expandable__body {
  display: none;
}

.y-expandable > summary,
.v-expansion-panel > summary {
  list-style: none;
  cursor: pointer;
}

.y-expandable > summary::-webkit-details-marker,
.v-expansion-panel > summary::-webkit-details-marker {
  display: none;
}

.y-expandable-card {
  border: 1px solid rgb(var(--v-theme-structure-border));
  border-radius: 8px;
  background-color: rgb(var(--v-theme-structure-primary));
  overflow: clip;
}

.y-expandable-card--open > .y-expandable-card__header {
  border-bottom: 1px solid rgb(var(--v-theme-structure-border));
}

.y-expandable-card__title {
  cursor: pointer;
  user-select: none;
}

.y-expandable-card__actions {
  display: none;
}

.y-expandable-card:hover .y-expandable-card__actions,
.y-expandable-card:focus-within .y-expandable-card__actions {
  display: flex;
}

.y-expandable-card__toggle .v-icon::before {
  content: "\F0142";
}

.y-expandable-card--open .y-expandable-card__toggle .v-icon::before {
  content: "\F0140";
}

.y-expandable-card [hidden] {
  display: none;
}

.v-expansion-panels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style-type: none;
  padding: 0;
  width: 100%;
  position: relative;
  z-index: 1;
  border-radius: 4px;
}

.v-expansion-panel {
  display: block;
  flex: 1 0 100%;
  max-width: 100%;
  position: relative;
  border-radius: 4px;
  background-color: rgb(var(--v-theme-surface));
  color: color-mix(in srgb, rgb(var(--v-theme-on-surface)) calc(var(--v-high-emphasis-opacity) * 100%), transparent);
}

.v-expansion-panels:not(.v-expansion-panels--flat) > .v-expansion-panel {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15);
}

.v-expansion-panel:not(:first-child)::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  border-top: thin solid rgba(var(--v-border-color), var(--v-border-opacity));
}

.v-expansion-panels--flat > .v-expansion-panel::after {
  border-top: none;
}

.v-expansion-panel--disabled .v-expansion-panel-title {
  pointer-events: none;
  color: color-mix(in srgb, rgb(var(--v-theme-on-surface)) 26%, transparent);
}

.v-expansion-panel--disabled .v-expansion-panel-title__overlay {
  opacity: 0.4615384615;
}

.v-expansion-panel-title.py-2 {
  padding-top: 8px;
  padding-bottom: 8px;
}

.v-expansion-panel-title {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
  min-height: 48px;
  padding: 16px 24px;
  font-size: 0.9375rem;
  line-height: 1;
  border-radius: inherit;
  outline: none;
}

.v-expansion-panel[open] > .v-expansion-panel-title {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.v-expansion-panel-title__overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: currentColor;
  opacity: 0;
  pointer-events: none;
}

.v-expansion-panel-title:focus-visible::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid currentColor;
  border-radius: inherit;
  opacity: calc(0.25 * var(--v-theme-overlay-multiplier));
  pointer-events: none;
}

.v-expansion-panel-title__icon {
  display: inline-flex;
  margin: -4px 0;
  margin-inline-start: auto;
  user-select: none;
}

.v-expansion-panel-text {
  display: flex;
}

.v-expansion-panel-text__wrapper {
  flex: 1 1 auto;
  max-width: 100%;
  padding: 8px 24px 16px;
}

.y-advanced-options {
  border: 1px solid rgb(var(--v-theme-structure-border));
}

.sml {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.sml__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.sml .y-field-group {
  max-width: 320px;
}

.sml__rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.sml__row {
  min-width: 0;
  outline: none;
}

.sml__empty {
  font-size: 12.5px;
  color: rgb(var(--v-theme-text-secondary));
  font-style: italic;
}

.sml__clear {
  margin-left: 6px;
  font-style: normal;
  color: rgb(var(--v-theme-primary));
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sml__more {
  align-self: flex-start;
}

.y-feed {
  inset: auto;
  position-area: bottom span-left;
  position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
  margin: 0;
  padding: 0;
  max-width: 92vw;
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  border-style: solid;
}
.y-feed:not(:popover-open) {
  display: none;
}
.y-feed__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 12px;
}
.y-feed__title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0;
}
.y-feed__link {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.875rem;
  color: rgb(var(--v-theme-primary));
  cursor: pointer;
}
.y-feed__section {
  margin: 0;
  padding: 8px 16px 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgb(var(--v-theme-text-secondary));
  border-top: 1px solid rgb(var(--v-theme-structure-border));
}
.y-feed__section:first-of-type {
  border-top: none;
}
.y-feed .y-feed__note {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  font-size: 0.875rem;
  color: inherit;
  text-decoration: none;
}
.y-feed__note:hover,
.y-feed__footer:hover {
  background: rgb(var(--v-theme-structure-hover));
}
.y-feed__empty {
  margin: 0;
  padding: 24px 16px;
  text-align: center;
  font-size: 0.875rem;
  color: rgb(var(--v-theme-text-secondary));
}
.y-feed__footer {
  display: block;
  padding: 14px 16px;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgb(var(--v-theme-primary));
  text-decoration: none;
  border-top: 1px solid rgb(var(--v-theme-structure-border));
}

.y-feed-row__form {
  display: contents;
}
.y-feed .y-feed-row {
  display: grid;
  grid-template-columns: 8px 36px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid rgb(var(--v-theme-structure-border));
  background: none;
  font: inherit;
  text-align: start;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.y-feed .y-feed-row:hover {
  background: rgb(var(--v-theme-structure-hover));
}
.y-feed-row__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.y-feed-row__dot--on {
  background: rgb(var(--v-theme-primary));
}
.y-feed-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgb(var(--v-theme-structure-hover));
  color: rgb(var(--v-theme-text-default));
}
.y-feed-row__icon--done {
  color: rgb(var(--v-theme-success-icon));
}
.y-feed-row__icon--action {
  color: rgb(var(--v-theme-primary));
}
.y-feed-row__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.y-feed-row__headline {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.y-feed-row--unread .y-feed-row__headline {
  font-weight: 650;
}
.y-feed-row__meta {
  font-size: 0.8125rem;
  color: rgb(var(--v-theme-text-secondary));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.y-feed-row__time {
  font-size: 0.8125rem;
  color: rgb(var(--v-theme-text-secondary));
  white-space: nowrap;
  line-height: 1.6;
  text-align: right;
}
.y-feed-row__chevron {
  color: rgb(var(--v-theme-text-secondary));
  display: inline-flex;
}
.y-feed-run--link {
  color: rgb(var(--v-theme-primary));
  text-decoration: underline;
}
.y-feed-run--code {
  background: rgb(var(--v-theme-structure-hover));
  border-radius: 3px;
  padding: 1px 4px;
  font-size: 0.85em;
}
.y-feed-run--mention {
  font-weight: 600;
}

.y-feed-entry {
  display: grid;
  grid-template-columns: 8px 36px minmax(0, 1fr) auto auto;
  align-items: start;
  gap: 12px;
  padding: 14px 16px;
}
.y-feed-entry:hover {
  background: rgb(var(--v-theme-structure-hover));
}
.y-feed-entry__dot {
  margin-top: 8px;
}
.y-feed-entry__headline {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
}
.y-feed-entry--unread .y-feed-entry__headline {
  font-weight: 650;
}
.y-feed-entry__status {
  font-size: 0.8125rem;
  color: rgb(var(--v-theme-text-secondary));
  margin: 2px 0 0;
}
.y-feed-entry__paragraph {
  margin: 4px 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgb(var(--v-theme-text-secondary));
}
.y-feed-entry__facts {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 2px;
  margin: 8px 0 0;
  font-size: 0.875rem;
}
.y-feed-entry__facts dt {
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgb(var(--v-theme-text-secondary));
}
.y-feed-entry__facts dd {
  margin: 0;
}
.y-feed-entry__action {
  align-self: flex-start;
  margin-top: 10px;
}
.y-feed-entry__time {
  min-width: 80px;
}
.y-feed-entry__menu {
  display: flex;
  align-items: center;
}
.y-feed-entry--focused,
.y-feed-entry--focused:hover {
  background: rgb(var(--v-theme-primary-bg));
  box-shadow: inset 3px 0 0 rgb(var(--v-theme-primary));
}

.y-day-group__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgb(var(--v-theme-text-secondary));
  margin-bottom: 8px;
}
.y-day-group__rows {
  overflow: hidden;
}
.y-day-group__row {
  border-bottom: 1px solid rgb(var(--v-theme-structure-border));
}

/* A form's fields in two columns, one below 600px, as a dense v-row of
   v-cols with cols 12 and sm 6 lays them out. */
.y-field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) {
  .y-field-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Headline figures and the small charts and tables cards hold. */
.y-stat-tile--link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.y-stat-tile__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.y-info-hint {
  display: inline-flex;
  cursor: help;
  line-height: 1;
}

.y-summary-table {
  width: 100%;
  border-collapse: collapse;
}
.y-summary-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgb(var(--v-theme-text-secondary));
  padding: 0 8px 10px 8px;
  border-bottom: 1px solid rgb(var(--v-theme-structure-border));
  white-space: nowrap;
}
.y-summary-table td {
  padding: 12px 8px;
  border-bottom: 1px solid rgb(var(--v-theme-structure-border));
  font-size: 14px;
  color: rgb(var(--v-theme-text-default));
  vertical-align: middle;
}
.y-summary-table tbody tr:last-child td {
  border-bottom: none;
}
.y-summary-table th:first-child,
.y-summary-table td:first-child {
  padding-left: 0;
}
.y-summary-table th:last-child,
.y-summary-table td:last-child {
  padding-right: 0;
}
.y-summary-table .num {
  text-align: right;
  white-space: nowrap;
}
.y-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
  flex-shrink: 0;
}
.y-summary-table .y-summary-table__wide {
  width: 45%;
  min-width: 200px;
}
.y-summary-table__pct {
  min-width: 40px;
  text-align: right;
  font-weight: 500;
}
.y-panel-title {
  font-size: 18px;
  font-weight: 600;
  color: rgb(var(--v-theme-text-default));
}
.y-stat-tile__icon--small {
  width: 44px;
  height: 44px;
}
.y-area-chart__svg {
  width: 100%;
  display: block;
  overflow: visible;
}
.y-area-chart__line {
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.y-area-chart__grid {
  stroke: rgba(var(--v-theme-on-surface), 0.06);
  stroke-width: 1;
}
.y-area-chart__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
}
.y-area-chart__label {
  font-size: 10px;
  color: rgba(var(--v-theme-on-surface), 0.55);
  white-space: nowrap;
}

.y-filter {
  display: flex;
  flex-direction: column;
}
.y-filter .unified-selection-shell {
  outline: none;
}
.y-filter .selection-container {
  position: relative;
  background: rgb(var(--v-theme-state-primary));
  border: 1px solid rgb(var(--v-theme-structure-border));
  border-radius: 10px;
  min-height: 36px;
  cursor: text;
  transition: all 0.2s ease;
}
.y-filter .selection-container:hover {
  border-color: rgba(128, 128, 128, 0.25);
}
.y-filter .focused .selection-container {
  border-color: rgb(var(--v-theme-primary));
  box-shadow: 0 0 0 3px rgba(66, 99, 235, 0.1);
}
.y-filter .pills-container {
  flex: 1;
  min-width: 0;
}
.y-filter .flex-1-1 {
  min-width: 0;
  flex: 1 1 auto;
}
.y-filter .filter-pill {
  padding: 5px 8px;
  border-radius: 14px;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: default;
  transition: all 0.2s ease;
  user-select: none;
}
.y-filter .filter-pill.structured {
  background: rgb(var(--v-theme-primary-bg));
  border: 1px solid rgba(var(--v-theme-primary), 0.35);
  color: rgb(var(--v-theme-primary));
}
.y-filter .filter-pill.freetext {
  background: rgb(var(--v-theme-structure-secondary));
  border: 1px solid rgb(var(--v-theme-structure-border));
  color: rgb(var(--v-theme-text-secondary));
}
.y-filter .filter-pill.negated {
  background: rgb(var(--v-theme-error-bg));
  border: 1px solid rgb(var(--v-theme-error-icon));
  color: rgb(var(--v-theme-error-text));
}
.y-filter .pill-negation {
  font-weight: bold;
  opacity: 0.8;
}
.y-filter .filter-pill.highlighted {
  background: rgb(var(--v-theme-warning-bg));
  border-color: rgb(var(--v-theme-warning-icon));
  color: rgb(var(--v-theme-text-default));
}
.y-filter__close {
  display: inline-flex;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
}
.y-filter .pill-close {
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.y-filter .pill-close:hover,
.y-filter .pill-close:focus-visible {
  opacity: 1;
}
.y-filter .search-input {
  border: none;
  outline: none;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  min-height: 28px;
  padding: 1px 2px;
  background: transparent;
  color: rgb(var(--v-theme-text-default));
}
.y-filter .search-input::placeholder {
  color: rgb(var(--v-theme-text-secondary));
}

/* The menu is placed by filters.js, under the box and after the chips, the
   way the Vue dropdown is, so it is fixed rather than anchored. */
.y-filter__dropdown {
  position: fixed;
  inset: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  z-index: 4000;
}
.y-filter .selection-dropdown {
  background: rgb(var(--v-theme-surface));
  color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
  border: 1px solid rgb(var(--v-theme-structure-border));
  border-radius: 6px;
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: 400px;
  overflow-y: auto;
}
.y-filter .categories-view.has-aside {
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
  min-height: 0;
}
.y-filter .categories-panel {
  flex: 1 1 auto;
  min-width: 0;
}
.y-filter .categories-aside {
  flex: 1 1 auto;
  min-height: 0;
  border-left: 1px solid rgb(var(--v-theme-structure-border));
  background: rgb(var(--v-theme-structure-secondary));
}
.y-filter .scoped-options {
  max-height: 300px;
}
.y-filter__row {
  width: 100%;
  text-align: start;
  color: inherit;
  font: inherit;
}
.y-filter .category-item,
.y-filter .option-item,
.y-filter .result-item,
.y-filter .back-item,
.y-filter .scoped-freetext-item {
  cursor: pointer;
  transition: background-color 0.15s ease;
  border: none;
  background: none;
  min-width: 0;
  overflow: hidden;
}
.y-filter .category-item:hover,
.y-filter .option-item:hover,
.y-filter .result-item:hover,
.y-filter .back-item:hover,
.y-filter .scoped-freetext-item:hover {
  background-color: rgb(var(--v-theme-structure-table-hover));
}
.y-filter .y-filter__row.highlighted {
  background-color: rgb(var(--v-theme-structure-hover));
  color: rgb(var(--v-theme-text-default));
}
.y-filter__row:focus-visible {
  outline: none;
  background-color: rgb(var(--v-theme-structure-hover));
}
.y-filter .category-title {
  font-size: 14px;
  font-weight: 500;
  color: rgb(var(--v-theme-text-default));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.y-filter .category-description,
.y-filter .option-subtitle,
.y-filter .result-subtitle {
  font-size: 12px;
  font-weight: 400;
  color: rgb(var(--v-theme-text-secondary));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.y-filter .option-title,
.y-filter .result-title {
  font-size: 14px;
  font-weight: 400;
  color: rgb(var(--v-theme-text-default));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.y-filter .back-item {
  border-bottom: 1px solid rgb(var(--v-theme-structure-border));
  margin-bottom: 4px;
}
.y-filter .back-item .option-title {
  color: rgb(var(--v-theme-text-secondary));
}
.y-filter .back-item.highlighted .option-title {
  color: rgb(var(--v-theme-text-default));
}
.y-filter .cf-option-count {
  flex: 0 0 auto;
  color: rgb(var(--v-theme-text-disabled));
  font-variant-numeric: tabular-nums;
}

.y-filter .saved-search-pill {
  background: rgb(var(--v-theme-blue-bg));
  border: 1px solid rgb(var(--v-theme-blue-icon));
  color: rgb(var(--v-theme-blue-text));
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.y-filter .saved-search-count {
  opacity: 0.8;
}
.y-filter .saved-search-list-count {
  opacity: 0.7;
}
.y-filter .saved-search-badge {
  background: rgb(var(--v-theme-warning-bg));
  border: 1px solid rgb(var(--v-theme-warning-icon));
  color: rgb(var(--v-theme-warning-text));
  border-radius: 10px;
  padding: 0 6px;
}
.y-filter .saved-searches-panel {
  min-width: 200px;
  min-height: 100%;
  background: rgb(var(--v-theme-structure-primary));
}
.y-filter .saved-searches-list {
  display: flex;
  flex-direction: column;
  max-height: 260px;
}
.y-filter .saved-searches-scroll {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  padding: 4px;
}
.y-filter .saved-search-item {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 6px 8px;
  color: rgb(var(--v-theme-text-default));
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.y-filter .saved-search-item:hover {
  background: rgb(var(--v-theme-structure-table-hover));
}
.y-filter .saved-search-item.is-active {
  background: rgb(var(--v-theme-blue-bg));
  border-color: rgb(var(--v-theme-blue-icon));
  color: rgb(var(--v-theme-blue-text));
}
.y-filter__view {
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.y-filter__icon {
  display: inline-flex;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  opacity: 0.6;
  cursor: pointer;
}
.y-filter__icon:hover,
.y-filter__icon:focus-visible {
  opacity: 1;
  color: rgb(var(--v-theme-primary));
}
.y-filter .saved-search-empty {
  margin-top: 8px;
}
.y-filter .saved-search-hint {
  margin-top: 2px;
}
.y-filter .saved-search-create-form {
  width: 100%;
  padding: 8px;
  border-top: 1px solid rgb(var(--v-theme-structure-border));
}
.y-filter__name {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(var(--v-border-color), 0.38);
  border-radius: 4px;
  background: transparent;
  color: rgb(var(--v-theme-text-default));
  font: inherit;
}
.y-filter__name:focus {
  outline: 2px solid rgb(var(--v-theme-primary));
  outline-offset: -2px;
}
.y-filter .saved-search-create-actions {
  justify-content: space-between;
  gap: 12px;
}
.y-filter__visibility {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border: 1px solid rgb(var(--v-theme-structure-border));
  border-radius: 4px;
  color: rgb(var(--v-theme-text-disabled));
  cursor: pointer;
}
.y-filter__visibility:has(input:checked) {
  border-color: rgb(var(--v-theme-primary));
  color: rgb(var(--v-theme-primary));
}
.y-filter__visibility:has(input:focus-visible) {
  outline: 2px solid rgb(var(--v-theme-primary));
  outline-offset: 2px;
}
.y-filter__visibility input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.y-column-filter {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}
.y-column-filter__icon {
  display: inline-flex;
  margin-left: 2px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.v-data-table__th:hover .y-column-filter__icon,
.y-column-filter__icon.is-active,
.y-column-filter__icon:has(+ .y-column-filter__menu:popover-open),
.y-column-filter__icon:focus-visible {
  opacity: 1;
}
.y-column-filter__icon.is-active {
  color: rgb(var(--v-theme-primary));
}
.y-column-filter__icon:focus-visible {
  outline: 2px solid rgb(var(--v-theme-primary));
  outline-offset: 2px;
  border-radius: 2px;
}
.y-column-filter .column-filter-count {
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  margin-left: 1px;
  vertical-align: super;
  color: rgb(var(--v-theme-primary));
}
.y-column-filter__menu {
  inset: auto;
  position-area: bottom span-right;
  position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
  margin: 4px 0 0;
  padding: 0;
  width: max-content;
  max-width: 280px;
  max-height: 400px;
  flex-direction: column;
  overflow: hidden;
  background: rgb(var(--v-theme-structure-primary));
  border: 1px solid rgb(var(--v-theme-structure-border));
  border-radius: 4px;
  color: rgb(var(--v-theme-text-default));
  font-weight: 400;
  text-align: start;
}
.y-column-filter__menu:popover-open {
  display: flex;
}
.y-column-filter .cf-search {
  padding: 6px;
  border-bottom: 1px solid rgb(var(--v-theme-structure-border));
  flex: 0 0 auto;
}
.y-column-filter__search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(var(--v-border-color), 0.38);
  border-radius: 4px;
  color: rgba(var(--v-theme-on-surface), 0.6);
}
.y-column-filter__search:focus-within {
  border-color: rgb(var(--v-theme-primary));
}
.y-column-filter__search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: none;
  background: none;
  color: rgb(var(--v-theme-text-default));
  font: inherit;
}
.y-column-filter .cf-pad {
  padding: 8px;
}
.y-column-filter .cf-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  max-height: 320px;
}
.y-column-filter .cf-list {
  display: flex;
  flex-direction: column;
}
.y-column-filter .cf-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 36px;
  padding: 4px 10px;
  cursor: pointer;
  color: rgb(var(--v-theme-text-default));
}
.y-column-filter .cf-option:hover {
  background: rgb(var(--v-theme-structure-table-hover));
}
.y-column-filter .cf-option:has(input:focus-visible) {
  outline: 2px solid rgb(var(--v-theme-primary));
  outline-offset: -2px;
}
.y-column-filter__box {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.y-column-filter__check {
  flex: 0 0 auto;
}
.y-column-filter__check::before {
  content: "\F0131";
}
.y-column-filter__box:checked + .y-column-filter__check {
  color: rgb(var(--v-theme-primary));
}
.y-column-filter__box:checked + .y-column-filter__check::before {
  content: "\F0132";
}
.y-column-filter .cf-option-label {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.35;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.y-column-filter .cf-option-sub {
  color: rgb(var(--v-theme-text-secondary));
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.y-column-filter .cf-option-count {
  flex: 0 0 auto;
  color: rgb(var(--v-theme-text-disabled));
  font-variant-numeric: tabular-nums;
}
.y-column-filter .cf-empty[hidden] {
  display: none;
}
.y-column-filter .cf-empty {
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: rgb(var(--v-theme-text-secondary));
}
.y-column-filter .cf-footer {
  flex: 0 0 auto;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 6px 0 2px;
  border-top: 1px solid rgb(var(--v-theme-structure-border));
  background: rgb(var(--v-theme-structure-secondary));
}
.y-column-filter .cf-applied {
  color: rgb(var(--v-theme-text-secondary));
  font-variant-numeric: tabular-nums;
}
.y-filter .scoped-freetext-item:not(.highlighted) .y-filter__enter {
  display: none;
}
.y-filter [hidden] {
  display: none !important;
}
.y-filter .saved-search-edit-actions {
  width: 100%;
}
.y-filter .saved-search-edit-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  padding-right: 4px;
}
.y-filter .saved-search-edit-item {
  padding: 6px 8px;
  border: 1px solid rgb(var(--v-theme-structure-border));
  border-radius: 10px;
  background: rgb(var(--v-theme-structure-primary));
}
.y-filter .saved-search-edit-item[hidden] {
  display: none !important;
}
.y-filter .saved-search-edit-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.y-filter [data-filter-views][hidden],
.y-filter [data-filter-edit][hidden] {
  display: none;
}

/* Fields: the outlined Vuetify field (density compact, bg structure-primary)
   as FormTextField, FormSelect and FormTextarea draw it. */

.y-field-group,
.y-toggle-group {
  display: block;
}

/* FormTextField and FormTextarea sit inside InlineEditShell, whose 1px
   transparent border insets the field. */
.y-field-shell {
  border: 1px solid transparent;
}

.y-field {
  --y-field-border: rgba(128, 128, 128, 0.25);
  position: relative;
  display: flex;
  align-items: center;
  min-width: 150px;
  min-height: 36px;
  border-radius: 8px;
  background-color: rgb(var(--v-theme-structure-primary));
  color: rgb(var(--v-theme-on-structure-primary));
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.009375em;
  cursor: text;
}

.v-theme--dark .y-field {
  --y-field-border: rgba(var(--v-theme-on-surface), 0.1);
}

.y-field::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--y-field-border);
  border-radius: inherit;
  pointer-events: none;
}

.y-field:hover::after,
.y-field:focus-within::after {
  border-color: rgb(var(--v-theme-primary));
}

.y-field:focus-within {
  box-shadow: 0 0 0 4px rgba(var(--v-theme-primary), 0.08);
}

.y-field--error::after,
.y-field--error:hover::after {
  border-color: rgb(var(--v-theme-error-icon));
}

.y-field--disabled {
  opacity: var(--v-disabled-opacity);
  pointer-events: none;
}

.y-field__input {
  flex: 1 1 0;
  min-width: 0;
  height: 36px;
  margin: 0;
  padding: 6px 8px 6px 12px;
  border: 0;
  outline: none;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  opacity: var(--v-high-emphasis-opacity);
}

.y-field__input::placeholder {
  color: currentColor;
  opacity: var(--v-disabled-opacity);
}

.y-field--icon {
  padding-left: 12px;
}

.y-field__icon {
  flex: none;
  width: 21px;
  font-size: 21px;
  line-height: 21px;
  opacity: var(--v-medium-emphasis-opacity);
}

.y-field:hover .y-field__icon,
.y-field:focus-within .y-field__icon {
  color: rgb(var(--v-theme-primary));
}

.y-field__counter {
  min-height: 22px;
  padding: 6px 12px 0;
  text-align: right;
  color: rgba(var(--v-theme-on-surface), var(--v-medium-emphasis-opacity));
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0.4px;
}

.y-field__message {
  min-height: 22px;
  padding: 8px 12px 0;
  color: rgb(var(--v-theme-error));
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0.4px;
}

.y-field--textarea {
  align-items: stretch;
  background-color: transparent;
  color: inherit;
}

.y-field--textarea .y-field__input {
  height: auto;
}

/* A v-select has no minimum width and gives up its selection's width before
   its column's, so a select in a narrow table cell shrinks as Vue's does: a
   percentage max-width lets a select take no width of its own there. */
.y-field--select {
  min-width: 0;
  cursor: pointer;
}

.y-field--select .y-field__input {
  max-width: 100%;
  padding-right: 45px;
  text-overflow: ellipsis;
  cursor: pointer;
}

/* Vuetify draws the placeholder in its search input, which sits 2px higher
   than the selection text. */
.y-field--select:has(.y-field__placeholder:checked) .y-field__input {
  padding-bottom: 10px;
  color: rgba(var(--v-theme-on-structure-primary), var(--v-disabled-opacity));
}

.y-field--select option {
  background-color: rgb(var(--v-theme-surface));
  color: rgb(var(--v-theme-text-default));
}

.y-field__chevron {
  position: absolute;
  right: 12px;
  width: 21px;
  font-size: 21px;
  line-height: 21px;
  opacity: var(--v-medium-emphasis-opacity);
  pointer-events: none;
}

.y-field--disabled .y-field__chevron {
  opacity: 1;
}

/* InfoTooltip: VTooltip with color black, opened at the icon's end. */

/* The text is fixed to its icon by anchor, so a hidden tooltip takes no room
   in what scrolls around it, as Vue's overlay tooltip took none. */
.y-tooltip {
  position: relative;
  anchor-name: --y-tooltip;
  anchor-scope: --y-tooltip;
  display: inline-flex;
  align-items: center;
  border-radius: 50%;
  outline: none;
}

.y-tooltip__icon {
  width: 20px;
  height: 20px;
  font-size: 20px;
  line-height: 20px;
}

.y-tooltip:focus-visible {
  box-shadow: 0 0 0 2px rgb(var(--v-theme-primary));
}

.y-tooltip__text {
  position: fixed;
  position-anchor: --y-tooltip;
  z-index: 2000;
  top: anchor(center);
  left: calc(anchor(right) + 10px);
  width: max-content;
  max-width: 400px;
  padding: 5px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
  overflow-wrap: break-word;
  pointer-events: none;
  transform: translateY(-50%);
  visibility: hidden;
  opacity: 0;
  transition: opacity 150ms cubic-bezier(0, 0, 0.2, 1);
}

.y-tooltip:hover .y-tooltip__text,
.y-tooltip:focus-visible .y-tooltip__text {
  visibility: visible;
  opacity: 1;
}

/* Checkbox: VCheckbox, density compact, with the y:checkbox icons. */

.y-checkbox {
  display: flex;
  width: max-content;
  align-items: center;
  cursor: pointer;
}

.y-checkbox__box {
  position: relative;
  display: flex;
  flex: none;
  width: 20px;
  height: 20px;
}

/* Vuetify's focus halo is the size of the box and hides behind it, so a
   keyboard user sees nothing; this ring is the switch's. */
.y-checkbox__box:has(input:focus-visible) {
  border-radius: 7px;
  outline: 2px solid rgb(var(--v-theme-primary));
  outline-offset: 2px;
}

.y-checkbox input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: inherit;
}

.y-checkbox svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.y-checkbox__off path {
  fill: transparent;
  stroke: rgb(var(--v-theme-text-disabled));
}

.y-checkbox__off {
  opacity: var(--v-medium-emphasis-opacity);
}

.y-checkbox__on path {
  fill: rgb(var(--v-theme-primary));
}

.y-checkbox__on .y-checkbox__tick {
  stroke: rgb(var(--v-theme-on-primary));
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.y-checkbox__on,
.y-checkbox__box:has(input:checked) .y-checkbox__off {
  display: none;
}

.y-checkbox__box:has(input:checked) .y-checkbox__on {
  display: block;
}


.y-checkbox--disabled {
  opacity: var(--v-disabled-opacity);
  cursor: default;
}

/* Switch: FormSwitch's ON/OFF pill. */

.y-switch-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.y-switch {
  position: relative;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.y-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.y-switch__track {
  position: relative;
  flex-shrink: 0;
  width: 54px;
  height: 24px;
  border: 1px solid rgb(var(--v-theme-switch-track-off));
  border-radius: 34px;
  background: rgb(var(--v-theme-switch-track-off));
  transition: background-color 120ms ease, border-color 120ms ease;
}

.y-switch:has(input:checked) .y-switch__track {
  border-color: rgb(var(--v-theme-primary));
  background: rgb(var(--v-theme-primary));
}

.y-switch:has(input:focus-visible) .y-switch__track {
  outline: 2px solid rgb(var(--v-theme-primary));
  outline-offset: 2px;
}

.y-switch--disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.y-switch--disabled .y-switch__track,
.y-switch--disabled:has(input:checked) .y-switch__track {
  border-color: rgb(var(--v-theme-switch-track-off));
  background: rgb(var(--v-theme-switch-track-off));
}

.y-switch--error .y-switch__track {
  border-color: rgb(var(--v-theme-error-icon));
}

.y-switch__text {
  position: absolute;
  top: 0;
  display: flex;
  align-items: center;
  height: 100%;
  font-family: "Reddit Sans", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  pointer-events: none;
  transition: opacity 120ms ease;
}

.y-switch__text--on {
  left: 7px;
  color: rgb(var(--v-theme-on-primary));
  opacity: 0;
}

.y-switch__text--off {
  right: 7px;
  color: rgba(var(--v-theme-on-surface), 0.75);
}

.y-switch:has(input:checked) .y-switch__text--on {
  opacity: 1;
}

.y-switch:has(input:checked) .y-switch__text--off {
  opacity: 0;
}

.y-switch__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  border: 1px solid rgb(var(--v-theme-structure-border));
  border-radius: 999px;
  background: rgb(var(--v-theme-on-primary));
  box-shadow: 0 0 2px rgba(var(--v-theme-on-light), 0.12);
  transition: transform 120ms ease;
}

.y-switch:has(input:checked) .y-switch__thumb {
  transform: translateX(30px);
}

.y-filled-select .v-field {
  position: relative;
}
.y-filled-select__native {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}

.y-reveal,
.y-reveal__body {
  display: contents;
}
.y-reveal:not(:has(input[data-reveal]:checked)) > .y-reveal__body {
  display: none;
}

/* FormCheckbox's textDescription icon: primary-light, 16px, after the text. */
.y-checkbox__info {
  margin-left: 4px;
  color: rgb(var(--v-theme-primary-light));
}

.y-checkbox__info .y-tooltip__icon {
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 16px;
}

/* v-text-field's prepend-inner and append-inner slots. */
.y-field--prefix {
  padding-left: 12px;
}

.y-field__prefix {
  flex: none;
}

.y-field--prefix .y-field__input {
  padding-left: 0;
}

.y-field__append {
  display: flex;
  flex: none;
  align-items: center;
  padding-right: 12px;
}

.y-field__reveal {
  display: inline-flex;
  align-items: center;
  border: 0;
  padding: 0;
  background: none;
  color: rgba(var(--v-theme-on-surface), var(--v-medium-emphasis-opacity));
  font-size: 24px;
  cursor: pointer;
}
/* VSelect's own rules for the input it keeps behind the chosen option. */
.y-filled-select .v-field__input > input {
  align-self: flex-start;
  flex: 0 0;
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  pointer-events: none;
  caret-color: transparent;
  padding-inline: inherit;
}
.y-filled-select.v-select--selected .v-field__input > input {
  opacity: 0;
}

/* FormSwitch's textDescription icon: primary-light, 16px, in the text's grid. */
.y-switch__info {
  color: rgb(var(--v-theme-primary-light));
}

.y-switch__info .y-tooltip__icon {
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 16px;
}

.y-fpo {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: flex;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.y-fpo__scrim {
  position: fixed;
  inset: 0;
  opacity: 0.3;
  background: linear-gradient(180deg, #00082e 5.04%, #00435a 100%);
}
.y-fpo__content {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
  max-height: 100%;
  overflow-y: auto;
}
.y-fpo__header {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin: 24px;
}
.y-fpo__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.y-fpo__body {
  display: flex;
  justify-content: center;
  flex: 1 1 auto;
  min-height: 0;
}
.y-fpo .y-fpo__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1240px;
  max-height: 760px;
  min-height: 500px;
  height: fit-content;
  background-image: url("images/onboarder-gradient.svg");
  background-repeat: no-repeat;
  background-color: rgb(var(--v-theme-surface));
  box-shadow: 0px 858px 240px 0px rgba(0, 0, 0, 0.00), 0px 549px 220px 0px rgba(0, 0, 0, 0.01), 0px 309px 185px 0px rgba(0, 0, 0, 0.05), 0px 137px 137px 0px rgba(0, 0, 0, 0.09), 0px 34px 76px 0px rgba(0, 0, 0, 0.10) !important;
}
.y-fpo--minimized {
  inset: auto 0 0 auto;
  padding: 16px;
  width: 432px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.y-fpo--minimized .y-fpo__scrim,
.y-fpo--minimized .y-fpo__header,
.y-fpo--minimized [data-minimized-hidden] {
  display: none;
}
.y-fpo:not(.y-fpo--minimized) [data-minimized-only] {
  display: none !important;
}
.y-fpo--minimized .y-fpo__card {
  min-height: auto;
}
.y-fpo__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.y-fpo--minimized .y-fpo__step {
  align-items: start;
}
.y-fpo__step h4 {
  color: rgb(var(--v-theme-primary-dark));
  text-align: center;
  margin-bottom: 16px;
}
.y-fpo__step p {
  text-align: center;
  margin-bottom: 32px;
}
.y-fpo--minimized .y-fpo__pad {
  padding: 24px !important;
}
.y-fpo__step .y-fpo__plain {
  text-align: start;
  margin-bottom: 0;
}

/* Minimizing and restoring run as a view transition (fullpage.js), and the
   overlay eases between the window and the corner over Vue's 400ms. */
@media (prefers-reduced-motion: no-preference) {
  .y-fpo {
    view-transition-name: y-fpo;
  }
  ::view-transition-group(y-fpo),
  ::view-transition-old(y-fpo),
  ::view-transition-new(y-fpo) {
    animation-duration: 400ms;
    animation-timing-function: ease;
  }
}

.gc-canvas { position: absolute; inset: 0; overflow: hidden; background: transparent; }
.gc-canvas svg { display: block; }
.gc-canvas [hidden], .gc-minimap[hidden], .gc-minimap__collapsed-btn[hidden] { display: none !important; }
.gc-glyph { display: flex; align-items: center; justify-content: center; line-height: 1; }
.gc-glyph .v-icon, .gc-glyph svg { flex: 0 0 auto; }
.gc-glyph--14 .v-icon { font-size: 14px; width: 14px; height: 14px; }
.gc-glyph--16 .v-icon { font-size: 16px; width: 16px; height: 16px; }
.gc-glyph--18 .v-icon { font-size: 18px; width: 18px; height: 18px; }
.gc-glyph--14 svg { width: 14px; height: 14px; }
.gc-glyph--16 svg { width: 16px; height: 16px; }
.gc-edge-label { font-family: inherit; font-size: 11px; font-weight: 500; fill: rgb(var(--v-theme-primary-dark)); }
.gc-cluster { cursor: pointer; }
.gc-cluster.is-dimmed { opacity: 0.22; }
.gc-cluster-label { font-family: inherit; font-size: 13px; font-weight: 600; fill: rgb(var(--v-theme-primary-dark)); }
.gc-cluster-count { font-family: inherit; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.gc-cluster-chev { font-family: inherit; font-size: 16px; font-weight: 500; }
.gc-node { cursor: pointer; transition: opacity 220ms cubic-bezier(0, 0, 0.2, 1); }
.gc-node.is-dimmed { opacity: 0.22; }
.gc-node-circle { transform-box: fill-box; transform-origin: center; transition: transform 100ms cubic-bezier(0, 0, 0.2, 1); filter: drop-shadow(0 2px 5px rgba(7, 33, 102, 0.06)); }
.gc-node.is-hovered .gc-node-circle { transform: scale(1.06); filter: drop-shadow(0 8px 14px rgba(7, 33, 102, 0.18)); }
.gc-node-label { font-family: inherit; font-size: 13px; font-weight: 500; fill: rgb(var(--v-theme-primary-dark)); pointer-events: none; font-variant-numeric: tabular-nums; }
.gc-node.is-hovered .gc-node-label, .gc-node.is-selected .gc-node-label { font-weight: 600; }
.gc-node-label--dense { font-size: 10.5px; font-weight: 400; }
.gc-node-dot { transition: r 120ms cubic-bezier(0, 0, 0.2, 1); filter: drop-shadow(0 1px 2px rgba(7, 33, 102, 0.18)); }
.gc-node.is-hovered .gc-node-dot { r: 8.5; }
.gc-node-pill-bg { filter: drop-shadow(0 4px 10px rgba(7, 33, 102, 0.16)); }
.gc-node-pill-name { font-family: inherit; font-size: 13px; font-weight: 600; fill: rgb(var(--v-theme-primary-dark)); pointer-events: none; }
.gc-node-pill-sub { font-family: inherit; font-size: 11px; font-weight: 400; fill: rgb(var(--v-theme-text-secondary)); pointer-events: none; }
.gc-node-card { transition: transform 100ms cubic-bezier(0, 0, 0.2, 1); filter: drop-shadow(0 2px 5px rgba(7, 33, 102, 0.06)); }
.gc-node.is-hovered .gc-node-card { filter: drop-shadow(0 10px 18px rgba(7, 33, 102, 0.12)); }
.gc-card-name { font-family: inherit; font-size: 13.5px; font-weight: 600; fill: rgb(var(--v-theme-primary-dark)); letter-spacing: -0.1px; }
.gc-card-type { font-family: inherit; font-size: 9.5px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.gc-filter-banner { position: absolute; top: 16px; left: 16px; z-index: 3; display: flex; flex-wrap: wrap; gap: 8px; }
.gc-filter-banner-chip { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: rgb(var(--v-theme-structure-primary)); border: 1px solid rgb(var(--v-theme-structure-border)); box-shadow: 0 6px 14px -6px rgba(7, 33, 102, 0.18), 0 2px 5px 0 rgba(7, 33, 102, 0.04); font-size: 12.5px; font-weight: 600; color: rgb(var(--v-theme-primary-dark)); white-space: nowrap; }
.gc-search, .gc-density-hint { position: absolute; top: 72px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; border-radius: 10px; background: rgb(var(--v-theme-structure-primary)); border: 1px solid rgb(var(--v-theme-structure-border)); box-shadow: 0 6px 14px -6px rgba(7, 33, 102, 0.18), 0 2px 5px 0 rgba(7, 33, 102, 0.04); }
.gc-search { gap: 8px; padding: 6px 8px 6px 12px; }
.gc-search-icon { font-size: 15px; color: rgb(var(--v-theme-text-secondary)); line-height: 1; }
.gc-search-input { border: none; outline: none; background: transparent; font-family: inherit; font-size: 13px; color: rgb(var(--v-theme-primary-dark)); width: 180px; }
.gc-search-input::placeholder { color: rgb(var(--v-theme-text-secondary)); }
.gc-search-count { font-size: 11.5px; color: rgb(var(--v-theme-text-secondary)); white-space: nowrap; }
.gc-search-clear, .gc-density-hint-close { border: none; background: none; padding: 0 2px; cursor: pointer; font-size: 16px; line-height: 1; color: rgb(var(--v-theme-text-secondary)); }
.gc-density-hint { gap: 10px; padding: 6px 8px 6px 14px; font-size: 12.5px; color: rgb(var(--v-theme-text-secondary)); white-space: nowrap; }
.gc-density-hint-action { border: none; background: none; padding: 0; cursor: pointer; font-family: inherit; font-size: 12.5px; font-weight: 600; color: rgb(var(--v-theme-primary)); }
.gc-density-hint-close { padding: 0 4px; font-size: 15px; }
.gc-minimap { position: absolute; bottom: 16px; right: 16px; background: rgb(var(--v-theme-structure-primary)); border: 1px solid rgb(var(--v-theme-structure-border)); border-radius: 10px; padding: 8px; box-shadow: 0 21px 13px 0 rgba(7, 33, 102, 0.02), 0 10px 10px 0 rgba(7, 33, 102, 0.03), 0 2px 5px 0 rgba(7, 33, 102, 0.04); user-select: none; }
.gc-minimap__collapsed-btn { position: absolute; bottom: 16px; right: 16px; width: 34px; height: 34px; border-radius: 8px; border: 1px solid rgb(var(--v-theme-structure-border)); background: rgb(var(--v-theme-structure-primary)); cursor: pointer; color: rgb(var(--v-theme-secondary-grey)); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px -6px rgba(7, 33, 102, 0.18); }
.gc-minimap__head { display: flex; align-items: center; justify-content: space-between; padding: 0 2px 4px; }
.gc-minimap__head > span { font-size: 10px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: rgb(var(--v-theme-secondary-disabled)); }
.gc-minimap__head-actions { display: flex; align-items: center; gap: 2px; }
.gc-minimap__head-actions button { width: 16px; height: 16px; padding: 0; border: none; background: transparent; cursor: pointer; color: rgb(var(--v-theme-secondary-disabled)); display: flex; align-items: center; justify-content: center; border-radius: 4px; }
.gc-minimap__head-actions button:hover { background: rgb(var(--v-theme-primary-bg)); }
.gc-minimap__canvas { position: relative; line-height: 0; }
.gc-minimap__svg { background: rgb(var(--v-theme-light-blue-bg)); border-radius: 6px; display: block; cursor: pointer; }
.gc-minimap__controls { position: absolute; right: 6px; bottom: 6px; display: flex; flex-direction: column; background: rgb(var(--v-theme-structure-primary)); border: 1px solid rgb(var(--v-theme-structure-border)); border-radius: 7px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.24); overflow: hidden; }
.gc-minimap__controls button { width: 26px; height: 24px; padding: 0; border: none; background: transparent; color: rgb(var(--v-theme-secondary-grey)); cursor: pointer; font-size: 15px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.gc-minimap__controls button:hover { background: rgb(var(--v-theme-primary-bg)); }
.gc-minimap__controls button + button { border-top: 1px solid rgb(var(--v-theme-structure-border)); }

.y-gup {
  min-width: 0;
}
.y-gup .unified-selection-shell {
  outline: none;
}
.y-gup__frame {
  border: 1px solid transparent;
  border-radius: 8px;
}
.y-gup .selection-placeholder {
  min-width: 0;
  line-height: 28px;
}
.y-gup .selection-placeholder[hidden] {
  display: none;
}
.y-gup__chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: inherit;
  cursor: pointer;
  padding: 0;
}
.y-gup__chevron[aria-expanded="true"] i {
  transform: rotate(180deg);
}
.y-gup__dropdown .dropdown-search {
  background: rgb(var(--v-theme-state-primary));
}
.y-gup__dropdown .dropdown-search-input {
  width: 100%;
  min-width: 0;
  border: none;
  outline: none;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  min-height: 28px;
  padding: 1px 2px;
  background: transparent;
  color: rgb(var(--v-theme-text-default));
}
.y-gup__dropdown .dropdown-search-input::placeholder {
  color: rgb(var(--v-theme-text-secondary));
}
.y-gup__dropdown [data-gup-title][hidden],
.y-gup__dropdown [data-gup-view][hidden] {
  display: none !important;
}
.y-gup .selection-container {
  position: relative;
  background: rgb(var(--v-theme-state-primary));
  border: 1px solid rgb(var(--v-theme-structure-border));
  border-radius: 10px;
  min-height: 36px;
  cursor: text;
  transition: all 0.2s ease;
}
.y-gup .selection-container:hover {
  border-color: rgba(128, 128, 128, 0.25);
}
.y-gup .focused .selection-container {
  border-color: rgb(var(--v-theme-primary));
  box-shadow: 0 0 0 3px rgba(66, 99, 235, 0.1);
}
.y-gup--error .selection-container,
.y-gup--error .selection-container:hover {
  border-color: rgb(var(--v-theme-error));
}
.y-gup--error .focused .selection-container {
  border-color: rgb(var(--v-theme-error));
  box-shadow: 0 0 0 3px rgba(var(--v-theme-error), 0.12);
}
.y-gup .pills-container {
  flex: 1;
  min-width: 0;
}
.y-gup .flex-1-1 {
  min-width: 0;
  flex: 1 1 auto;
}
.y-gup .selection-avatar-stack {
  position: relative;
  min-width: 0;
  gap: 4px;
}
.y-gup .selection-avatar-stack[hidden],
.y-gup .y-gup__stacked[hidden],
.y-gup [data-gup-overflow][hidden] {
  display: none !important;
}
.y-gup .selection-avatar-stack__item {
  border: 2px solid rgb(var(--v-theme-structure-primary));
  border-radius: 999px;
}
.y-gup .selection-avatar-stack__item--group {
  width: 26px;
  height: 26px;
  background: rgb(var(--v-theme-primary));
  box-shadow: 0 0 0 2px rgb(var(--v-theme-structure-primary));
}
.y-gup .selection-avatar-stack__overflow {
  margin-left: 8px;
  line-height: 1;
}
.group-user-selector__error {
  line-height: 1.3;
}

/* The menu is placed by groupuser.js under the field, the way the Vue
   dropdown is teleported, so it is fixed rather than anchored. */
.y-gup__dropdown {
  position: fixed;
  inset: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  z-index: 4000;
}
.y-gup__dropdown .selection-dropdown {
  background: rgb(var(--v-theme-surface));
  color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
  border: 1px solid rgb(var(--v-theme-structure-border));
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  height: 400px;
  max-height: 400px;
  overflow: hidden;
}
.y-gup__dropdown .categories-view {
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
  min-height: 0;
}
.y-gup__dropdown .categories-panel {
  flex: 1 1 auto;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.y-gup__dropdown .categories-aside {
  flex: 0 0 360px;
  width: 360px;
  min-height: 0;
  border-left: 1px solid rgb(var(--v-theme-structure-border));
  background: rgb(var(--v-theme-structure-primary));
}
.y-gup__dropdown .scoped-options {
  flex: 1 1 auto;
  min-height: 0;
}
.y-gup__aside-head {
  padding: 6px 6px 6px 16px;
}
.y-gup__aside-body {
  min-height: 0;
}
.y-gup__dropdown .selection-aside__chip-list {
  min-width: 0;
  align-items: flex-start;
}
.y-gup__dropdown .selection-aside__chip-list .y-chip {
  max-width: 100%;
  justify-content: flex-start;
}
.y-gup__dropdown .selection-aside__section[hidden],
.y-gup__dropdown [data-gup-empty][hidden] {
  display: none !important;
}
.y-gup__row {
  width: 100%;
  text-align: start;
  color: inherit;
  font: inherit;
  border: none;
  background: none;
  min-width: 0;
  overflow: hidden;
  transition: background-color 0.15s ease;
}
.y-gup__category {
  padding-top: 6px;
  padding-bottom: 6px;
}
.y-gup__row:hover,
.y-gup__row.highlighted,
.y-gup__row:focus-visible {
  outline: none;
  background-color: rgb(var(--v-theme-structure-table-hover));
}
.y-gup__row .y-gup__check {
  visibility: hidden;
}
.y-gup__row[aria-selected="true"] .y-gup__check {
  visibility: visible;
}
.y-gup__dropdown .category-title {
  font-size: 14px;
  font-weight: 500;
  color: rgb(var(--v-theme-text-default));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.y-gup__dropdown .category-description,
.y-gup__dropdown .option-subtitle {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.y-gup__dropdown .option-title {
  font-size: 14px;
  font-weight: 400;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.y-gup__dropdown .back-item {
  border-bottom: 1px solid rgb(var(--v-theme-structure-border));
  margin-bottom: 4px;
}
.y-gup__dropdown .back-item .option-title {
  color: rgb(var(--v-theme-text-secondary));
}

.y-inline-edit {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.y-inline-edit__shell {
  border: 1px solid transparent;
  border-radius: 8px;
  display: flex;
  gap: 12px;
  padding: 6px 8px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  width: 100%;
  min-height: 34px;
}

.y-inline-edit:not(.y-inline-edit--editing, .y-inline-edit--disabled) .y-inline-edit__shell:hover {
  background-color: rgb(var(--v-theme-structure-hover));
  border-color: rgb(var(--v-theme-structure-border));
  cursor: pointer;
}

.y-inline-edit--editing .y-inline-edit__shell {
  padding: 0;
}

.y-inline-edit.htmx-request .y-inline-edit__shell {
  opacity: 0.6;
  pointer-events: none;
}

.y-inline-edit--bottom .y-inline-edit__shell {
  flex-direction: column;
}

.y-inline-edit__body {
  flex: 1 1 auto;
  min-width: 0;
}

.y-inline-edit__view:focus-visible {
  outline: 2px solid rgb(var(--v-theme-primary));
  outline-offset: 6px;
  border-radius: 2px;
}

.y-inline-edit--editing .y-inline-edit__view,
.y-inline-edit:not(.y-inline-edit--editing) .y-inline-edit__editor,
.y-inline-edit:not(.y-inline-edit--editing) .y-inline-edit__actions {
  display: none;
}

.y-inline-edit__actions {
  align-self: center;
  display: flex;
  gap: 8px;
}

.y-inline-edit--bottom .y-inline-edit__actions {
  align-self: auto;
}

.y-inline-edit__error:empty {
  display: none;
}

.y-inline-edit__error .v-icon {
  margin-right: 4px;
}

.y-inline-edit__link {
  text-decoration: none;
}

.y-inline-edit__paragraph {
  min-height: 24px;
  white-space: pre-wrap;
}

.y-inline-edit__markdown {
  display: block;
  min-height: 24px;
  width: 100%;
}

.y-editable-text {
  display: block;
  width: 100%;
  max-height: 400px;
  padding: 0;
  border: 0;
  outline: 0;
  resize: none;
  overflow-y: auto;
  overflow-wrap: break-word;
  word-break: break-all;
  field-sizing: content;
  font: inherit;
  color: inherit;
  background: transparent;
}

.y-editable-text::placeholder {
  color: rgb(var(--v-theme-text-secondary));
  opacity: 1;
}

.y-suggestions {
  position: relative;
}

.y-suggestions__menu {
  position: fixed;
  inset: auto;
  margin: 0;
  padding: 8px 0;
  border: 0;
  overflow: visible;
  background-color: rgb(var(--v-theme-structure-primary));
}

.y-suggestions__option[hidden] {
  display: none;
}

.y-layout-item {
  display: block;
  position: relative;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: rgb(var(--v-theme-surface));
  color: rgb(var(--v-theme-secondary-grey));
  text-decoration: none;
}
.y-layout-item.y-layout-item--link {
  color: rgb(var(--v-theme-secondary-grey));
  cursor: pointer;
}
.y-layout-item--link:hover {
  background: rgba(var(--v-theme-on-surface), 0.04);
}
.y-layout-row {
  display: flex;
  flex-wrap: nowrap;
}
.y-layout-grow {
  flex: 1 1 0;
  min-width: 0;
}
.y-layout-chevron {
  flex: 0 0 auto;
  margin-left: auto;
}
.y-layout-table__head {
  height: 28px;
}

.y-stepper-step__circle {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #2187f3 0%, #21d4f3 80%);
}
.y-stepper-step__circle--disabled {
  background: rgb(var(--v-theme-structure-secondary));
}
.y-stepper-step__hole {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgb(var(--v-theme-surface));
}

.comment-body > :first-child {
  margin-top: 0;
}

.comment-body > :last-child {
  margin-bottom: 0;
}

.comment-body p {
  margin-bottom: 8px;
}

.comment-body ul,
.comment-body ol {
  margin-bottom: 8px;
  padding-left: 20px;
}

.comment-body blockquote {
  border-left: 3px solid rgb(var(--v-theme-structure-border));
  margin-bottom: 8px;
  padding-left: 12px;
}

.comment-body pre {
  background-color: rgb(var(--v-theme-structure-secondary));
  border-radius: 4px;
  margin-bottom: 8px;
  padding: 8px;
}

.comment-body code {
  font-size: 0.9em;
}

.y-markdown-toolbar {
  display: flex;
  gap: 8px;
}

.y-markdown-toolbar__button {
  font-weight: 500;
}

.y-markdown-preview {
  min-height: 100px;
  border: 1px solid rgb(var(--v-theme-structure-border));
  border-radius: 4px;
  background-color: rgb(var(--v-theme-structure-secondary));
}

/* The surface a posted comment sits on, outlined because the structure
   border disappears against the composer's blue. */
.y-markdown-toggle__preview {
  background-color: rgb(var(--v-theme-structure-hover));
  border: 1px solid rgba(var(--v-theme-secondary-grey), 0.2);
  border-radius: 4px;
  min-height: 84px;
}

.y-markdown-help .y-tooltip__icon {
  width: 14px;
  height: 14px;
  font-size: 14px;
  line-height: 14px;
}

.y-markdown-help .y-tooltip__text {
  top: auto;
  bottom: calc(anchor(top) + 10px);
  left: anchor(center);
  max-width: 320px;
  transform: translateX(-50%);
  color: #fff;
}

.y-markdown-help__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  row-gap: 2px;
  align-items: baseline;
}

/* A cheat sheet is only useful if the characters draw as themselves. */
.y-markdown-help__grid code {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-variant-ligatures: none;
  padding: 0 4px;
  white-space: nowrap;
}

/* MentionComposer. A flex item's automatic minimum width is its content's,
   and a long unbroken line would widen the whole column. */
.mention-composer {
  min-width: 0;
  max-width: 100%;
}

/* Three lines before it grows, twelve before it scrolls. */
.mention-composer__editor {
  display: block;
  width: 100%;
  min-height: 72px;
  max-height: 288px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 16px;
  outline: 0 solid transparent;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.5;
}

/* The composer sits on the same blue a chip is filled with. */
.mention-composer__editor .y-mention {
  background-color: rgb(var(--v-theme-structure-primary));
}

.mention-composer__editor:empty::before {
  content: attr(placeholder);
  pointer-events: none;
  display: block;
  color: rgb(var(--v-theme-text-secondary));
}

/* The workspace palette leaves the composer with nothing round it, so it
   takes a field's own outline and focus ring there. */
[data-workspace="new"] .mention-composer__editor { border-radius: var(--mw-r); background: var(--mw-bg-canvas); box-shadow: inset 0 0 0 1px var(--mw-border-strong); }
[data-workspace="new"] .mention-composer__editor:focus { box-shadow: inset 0 0 0 1.5px var(--mw-focus-ring); }

.mention-composer--error .mention-composer__editor {
  outline: 1px solid rgb(var(--v-theme-error));
  border-radius: 4px;
}

.mention-composer--disabled .mention-composer__editor {
  color: rgb(var(--v-theme-text-secondary));
  cursor: default;
}

.mention-composer__menu {
  position: fixed;
  inset: auto;
  margin: 0;
  z-index: 2000;
  min-width: 240px;
  padding: 8px 0;
  border: none;
  background-color: rgb(var(--v-theme-structure-primary));
  color: rgb(var(--v-theme-on-surface));
}

.mention-composer__option {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 16px;
  cursor: pointer;
}

.mention-composer__option:hover,
.mention-composer__option--active {
  background-color: rgba(var(--v-theme-on-surface), 0.08);
}

/* The hint's d-flex would otherwise outrank hidden, and it is only for a
   comment that tags somebody. */
[data-mention-hint][hidden] {
  display: none !important;
}

.y-mention-hint__icon {
  font-size: 14px;
}

/* InlineEditShell's passthrough box, which keeps its transparent border. */
.y-markdown-shell {
  border: 1px solid transparent;
  border-radius: 8px;
}

.markdown-node-chip {
  --node-chip-bg: #E8EDFD;
  --node-chip-text: #1E3FB8;
  --node-chip-dot: #4263EB;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 0 6px;
  margin: 0 1px;
  border: none;
  border-radius: 4px;
  background: var(--node-chip-bg);
  color: var(--node-chip-text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
  vertical-align: baseline;
}
.markdown-node-chip[data-node-ref-type='directory'] { --node-chip-bg: #E0F7FA; --node-chip-text: #155E75; --node-chip-dot: #0891B2; }
.markdown-node-chip[data-node-ref-type='directory_identity'] { --node-chip-bg: #F2EBFF; --node-chip-text: #5A22BC; --node-chip-dot: #7D42EB; }
.markdown-node-chip[data-node-ref-type='org_application_account'] { --node-chip-bg: #E0F7FA; --node-chip-text: #003E40; --node-chip-dot: #006064; }
.markdown-node-chip[data-node-ref-type='org_application'] { --node-chip-bg: #E7E5F8; --node-chip-text: #1F1B6B; --node-chip-dot: #3730A3; }
.markdown-node-chip[data-node-ref-type='resource'] { --node-chip-bg: #FEF3DA; --node-chip-text: #7A3905; --node-chip-dot: #B45309; }
.markdown-node-chip[data-node-ref-type='oauth_grant'] { --node-chip-bg: #FFF1E7; --node-chip-text: #9A3A05; --node-chip-dot: #EA580C; }
.markdown-node-chip[data-node-ref-type='scope'] { --node-chip-bg: #E8F5E9; --node-chip-text: #1B5E20; --node-chip-dot: #37B24D; }
.markdown-node-chip[data-node-ref-type='group'] { --node-chip-bg: #FCE7F1; --node-chip-text: #8C0F4A; --node-chip-dot: #E11D74; }
.markdown-node-chip__dot { flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: var(--node-chip-dot); }
.markdown-node-chip__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* Menus and lists: the popover a menu opens in, and the parts of Vuetify's
   list that its own stylesheet leaves to a component. */

/* A popover sits centered in the viewport until its inset is released, and
   only then does position-area put it under its button. A menu is as wide as
   its items, so near the window's edge it overflows and the browser tries the
   other sides, where squeezed into the room left it would cut its items short. */
.y-menu {
  inset: auto;
  position-area: bottom span-right;
  position-try-fallbacks: flip-inline, flip-block, flip-block flip-inline;
  width: max-content;
  max-width: calc(100vw - 16px);
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  overflow: visible;
  border-radius: 4px;
  min-width: anchor-size(width);
  text-align: start;
}

/* A Vue menu is teleported to the body, so nothing around its button reaches
   it; this one lives beside its button, in a right-aligned cell or a blue
   link's paragraph, and starts again from the list's own look. A link item
   keeps the list's grey rather than the app's link blue. */
.y-menu a.v-list-item:not(.text-error) {
  color: inherit;
}
.y-menu--end {
  position-area: bottom span-left;
}
.y-menu--side {
  position-area: right span-bottom;
  position-try-fallbacks: flip-inline, flip-block, flip-block flip-inline;
  min-width: auto;
}
.y-menu:popover-open {
  display: flex;
  flex-direction: column;
}
.y-menu > .v-list {
  background: rgb(var(--v-theme-surface));
  overflow: auto;
  box-shadow: 0px 1px 3px 0px rgba(var(--v-shadow-color), var(--v-shadow-key-opacity, 0.3)), 0px 4px 8px 3px rgba(var(--v-shadow-color), var(--v-shadow-ambient-opacity, 0.15));
}

/* An item that is a button draws as the row Vuetify's link does. */
button.v-list-item {
  width: 100%;
  font: inherit;
  text-align: start;
  cursor: pointer;
}
button.v-list-item:disabled {
  cursor: default;
}

/* The dropdown button shows the chevron for where the menu goes next. */
.y-dropdown-button:has(+ .y-menu:popover-open) .v-btn__append .mdi-chevron-down::before {
  content: "\F0143";
}

/* A popover's button is not given aria-expanded, so the pressed look Vuetify
   gives an open menu's button comes from the menu beside it. */
.v-btn:has(+ .y-menu:popover-open) > .v-btn__overlay {
  opacity: calc(var(--v-activated-opacity) * var(--v-theme-overlay-multiplier));
}

/* Enter, exit and resize motion for the shared surfaces, at the durations and
   easings Vuetify gives the components they stand in for: 225ms decelerating
   in and 125ms accelerating out for dialogs and menus, 200ms standard for
   drawers and the layout beside them, 300ms standard for expand. Every rule
   here changes a component only while it moves, never at rest, and none of it
   runs for someone who asks for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  /* A dialog grows in from 90% as it fades, and its scrim fades with it. The
     discrete display and overlay keep a closing dialog in the top layer
     until it has faded. */
  .y-dialog,
  .y-dialog::backdrop {
    transition-property: opacity, transform, display, overlay;
    transition-duration: 125ms;
    transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
    transition-behavior: allow-discrete;
  }
  .y-dialog[open],
  .y-dialog[open]::backdrop {
    transition-duration: 225ms;
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
  .y-dialog:not([open]) {
    opacity: 0;
    transform: scale(0.9);
  }
  .y-dialog:not([open])::backdrop {
    opacity: 0;
  }
  @starting-style {
    .y-dialog[open] {
      opacity: 0;
      transform: scale(0.9);
    }
    .y-dialog[open]::backdrop {
      opacity: 0;
    }
  }

  /* A side panel is Vuetify's temporary drawer, sliding in from the right
     edge, its shadow included. */
  .y-side-panel {
    transition-property: transform, display, overlay;
    transition-duration: 200ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-behavior: allow-discrete;
  }
  .y-side-panel:not([open]) {
    transform: translateX(calc(100% + 16px));
  }
  @starting-style {
    .y-side-panel[open]:not(.y-side-panel--kept) {
      transform: translateX(calc(100% + 16px));
    }
  }

  /* Menus, pickers and every other popover fade. A popover that sets its own
     transition, such as a tooltip, keeps it. */
  :where([popover]) {
    transition-property: opacity, display, overlay;
    transition-duration: 125ms;
    transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
    transition-behavior: allow-discrete;
  }
  :where([popover]:popover-open) {
    transition-duration: 225ms;
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
  :where([popover]:not(:popover-open)) {
    opacity: 0;
  }
  @starting-style {
    :where([popover]:popover-open) {
      opacity: 0;
    }
  }

  /* Expandable sections grow to their natural height and shrink back. The
     clip margin leaves room for a focus ring or a card's shadow at rest. */
  :is(.y-expandable, .y-expandable-list, .v-expansion-panel)::details-content,
  .y-expandable-card__body {
    interpolate-size: allow-keywords;
    overflow: clip;
    overflow-clip-margin: 8px;
    transition-property: block-size, content-visibility, display;
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-behavior: allow-discrete;
  }
  :is(.y-expandable, .y-expandable-list, .v-expansion-panel):not([open])::details-content,
  .y-expandable-card__body[hidden] {
    block-size: 0;
  }
  /* Only a body the person opens grows from nothing. One drawn open by a
     swap starts at its height, or the page shrinks under the reader and the
     scroll jumps to the top. */
  @starting-style {
    .y-expandable-card__body[data-expanding]:not([hidden]) {
      block-size: 0;
    }
  }

  /* The app sidebar folds to its rail as Vuetify's drawer does, the main
     area and an action bar following its edge. */
  .y-sidebar {
    overflow-x: hidden;
    transition: width 200ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .y-shell__main {
    transition: padding-left 200ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .y-shell .y-action-bar {
    transition: left 200ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* A rail beside a screen, the draft chat's or any marked y-rail, slides
     between its strip and its full width while the screen beside it resizes.
     What it swaps to fades in, but only when someone is using the rail, so a
     page that loads with it open draws it at once. */
  .draft-rail,
  .y-rail {
    interpolate-size: allow-keywords;
    overflow: clip;
    transition-property: flex-basis, width, min-width, max-width, grid-template-columns;
    transition-duration: 200ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  }
  .draft-rail > .draft-rail__strip,
  .draft-rail > .draft-rail__full > *,
  .y-rail-swap {
    transition: opacity 200ms cubic-bezier(0.4, 0, 1, 1);
  }
  @starting-style {
    .draft-rail:is(:hover, :focus-within) > .draft-rail__strip,
    .draft-rail:is(:hover, :focus-within) > .draft-rail__full > *,
    .y-rail:is(:hover, :focus-within) .y-rail-swap {
      opacity: 0;
    }
  }
}

/* A stepped window's next step slides in from the right as the last slides
   out to the left, v-window's x transition, when stepwindow.js runs the swap
   as a view transition. */
@media (prefers-reduced-motion: no-preference) {
  [data-window] {
    view-transition-name: y-window;
  }
  ::view-transition-group(y-window) {
    overflow: clip;
  }
  ::view-transition-old(y-window) {
    animation: y-window-out 300ms cubic-bezier(0.25, 0.8, 0.5, 1) both;
  }
  ::view-transition-new(y-window) {
    animation: y-window-in 300ms cubic-bezier(0.25, 0.8, 0.5, 1) both;
  }
}
@keyframes y-window-out {
  to { transform: translateX(-100%); }
}
@keyframes y-window-in {
  from { transform: translateX(100%); }
}

/* A step's progress bar, marked data-window-bar with its own name in
   --y-window-bar, fills across the same transition. */
@media (prefers-reduced-motion: no-preference) {
  [data-window-bar] .v-progress-linear__determinate {
    view-transition-name: var(--y-window-bar);
  }
}

/* The sidebar's menu search, measured from the Vue AppSidebar: a compact
   solo-filled VTextField drawn as a pill with an inset hairline, and the
   ranked results as slim nav rows with a breadcrumb under the title. The
   rings are box shadows so the focused 2px ring never moves the text. */

.y-navsearch {
  padding: 4px 20px;
}
.y-navsearch__field {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  border-radius: 9999px;
  background: rgb(var(--v-theme-surface));
  box-shadow: inset 0 0 0 1px rgb(var(--v-theme-structure-border));
  color: color-mix(in srgb, rgb(var(--v-theme-on-surface)) calc(var(--v-high-emphasis-opacity) * 100%), transparent);
  font-size: 13px;
  line-height: 19.5px;
  letter-spacing: 0.009375em;
  cursor: text;
  transition: box-shadow 0.15s ease;
}
.y-navsearch__field:focus-within {
  box-shadow: inset 0 0 0 2px rgb(var(--v-theme-primary));
}
.y-navsearch__field > .v-icon {
  flex: 0 0 auto;
  font-size: 19.5px;
  width: 19.5px;
  height: 19.5px;
  opacity: 0.6;
}
.y-navsearch__field:focus-within > .v-icon {
  color: rgb(var(--v-theme-primary));
  opacity: 1;
}
.y-navsearch__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  padding: 5px 8px 7px 12px;
  border: 0;
  outline: none;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  opacity: var(--v-high-emphasis-opacity);
}
.y-navsearch__input::placeholder {
  color: inherit;
  opacity: var(--v-disabled-opacity);
}
.y-navsearch__clear {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: 19.5px;
  margin: 0 4px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.y-navsearch__clear .v-icon {
  font-size: 19.5px;
  opacity: 0.6;
}
.y-sidebar--search-filled .y-navsearch__field:is(:hover, :focus-within) .y-navsearch__clear {
  opacity: 1;
  pointer-events: auto;
}

.y-navsearch__results,
.y-navsearch__empty,
.y-sidebar--searching .y-sidebar__group,
.y-navsearch__result[hidden] {
  display: none;
}
.y-sidebar--searching .y-navsearch__results {
  display: block;
}
.y-navsearch__results--empty .y-navsearch__empty {
  display: flex;
}
.y-sidebar--collapsed .y-navsearch,
.y-sidebar--collapsed .y-navsearch__results {
  display: none;
}
.y-sidebar--collapsed.y-sidebar--searching .y-sidebar__group {
  display: block;
}

.y-navsearch__empty {
  align-items: center;
  min-height: 40px;
  padding: 4px 8px;
}
.y-navsearch__result {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 8px 6px 20px;
  border-radius: 10px;
  color: rgb(var(--v-theme-primary));
  text-decoration: none;
}
.y-navsearch__result > .v-icon {
  flex: 0 0 auto;
  margin-right: 8px;
  opacity: var(--v-medium-emphasis-opacity);
}
.y-navsearch__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.y-navsearch__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: rgb(var(--v-theme-text-secondary));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.y-navsearch__crumb {
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 0.0178571429em;
  opacity: 0.7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.y-navsearch__result:hover:not(.y-navsearch__result--active) {
  background: rgba(255, 255, 255, 0.03);
}
.y-navsearch__result--keyboard:not(.y-navsearch__result--active),
.y-navsearch__result--active {
  background: rgb(var(--v-theme-nav-selected-bg));
}
.y-navsearch__result--active > .v-icon {
  opacity: 1;
}
.y-navsearch__result--active > .v-icon,
.y-navsearch__result--active .y-navsearch__title {
  color: rgb(var(--v-theme-primary)) !important;
}
.y-navsearch__result--active .y-navsearch__crumb {
  color: rgb(var(--v-theme-text-secondary));
}

.y-path-list { display: flex; flex-direction: column; min-height: 120px; }
.y-path-list__empty { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 32px 16px; border: 1px dashed rgba(var(--v-theme-on-surface), 0.12); border-radius: 8px; background: rgba(var(--v-theme-on-surface), 0.02); }
.y-path-list__list { display: flex; flex-direction: column; gap: 10px; padding: 4px 0; }
.y-path-list__header { display: flex; align-items: baseline; gap: 6px; margin-bottom: 2px; padding: 0 2px; }
.y-path-list__title { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px; color: rgba(var(--v-theme-on-surface), 0.6); }
.y-path-list__count { font-size: 11px; font-weight: 600; color: rgba(var(--v-theme-on-surface), 0.5); background: rgba(var(--v-theme-on-surface), 0.05); border-radius: 10px; padding: 1px 7px; line-height: 1.4; }
.y-path-list__card { display: flex; flex-direction: column; gap: 8px; background: rgb(var(--v-theme-structure-primary)); border: 1px solid rgba(var(--v-theme-on-surface), 0.08); border-radius: 8px; padding: 10px 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02); }
.y-path-list__rank { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.y-path-list__rank-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: rgb(28, 100, 242); background: rgba(28, 100, 242, 0.08); border-radius: 4px; padding: 2px 7px; line-height: 1.4; }
.y-path-list__hops { font-size: 11px; color: rgba(var(--v-theme-on-surface), 0.55); }
.y-path-list__chain { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 12px; line-height: 1.5; }
.y-path-list__node { background: rgba(var(--v-theme-on-surface), 0.04); border: 1px solid rgba(var(--v-theme-on-surface), 0.08); border-radius: 4px; padding: 2px 8px; color: rgb(var(--v-theme-text-default)); font-weight: 500; white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.y-path-list__edge { display: inline-flex; align-items: center; gap: 4px; color: rgba(var(--v-theme-on-surface), 0.5); }
.y-path-list__edge-line { width: 10px; height: 1px; background: rgba(var(--v-theme-on-surface), 0.18); }
.y-path-list__edge-type { font-size: 10px; text-transform: lowercase; letter-spacing: 0.2px; color: rgba(var(--v-theme-on-surface), 0.55); font-style: italic; }
.y-path-list__edge-arrow { font-size: 14px; line-height: 1; color: rgba(var(--v-theme-on-surface), 0.35); font-weight: 600; }

/* The bar along the top of the window while a move between screens takes
   longer than a glance, Vuetify's indeterminate linear progress in the
   primary color. Someone who asks for reduced motion sees it still. */
.y-pending-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3000;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
}
.y-pending-bar--on {
  visibility: visible;
}
.y-pending-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(var(--v-theme-primary));
}
.y-shell__main.y-pending {
  opacity: 0.6;
}
@media (prefers-reduced-motion: no-preference) {
  .y-pending-bar::before {
    left: -40%;
    right: auto;
    width: 40%;
    animation: y-pending-bar 1.1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  }
  .y-shell__main.y-pending {
    transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
  }
}
@keyframes y-pending-bar {
  from { left: -40%; }
  to { left: 100%; }
}

/* Picker: v-autocomplete and v-combobox as FormCombobox draws them,
   outlined, density compact, with their menu of one-line list items. */

/* A picker drawn once per row repeats its anchor name; each list anchors to
   its own field. */
.y-picker {
  anchor-scope: all;
}

/* Every v-combobox carries a second border around its control. */
.y-picker--free-text .y-picker__control {
  border: 1px solid rgba(128, 128, 128, 0.25);
  border-radius: 8px;
}

.y-picker__field {
  padding-right: 12px;
}

.y-picker__selections {
  display: flex;
  flex: 1 1 0;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
}

.y-picker--multiple .y-picker__selections {
  gap: 4px 6px;
  padding: 4px 0 4px 12px;
}

.y-picker--multiple .y-picker__input {
  min-width: 64px;
  height: 28px;
  padding-left: 0;
}

/* v-combobox lets an unfocused input shrink to nothing beside its chips. */
.y-picker--multiple .y-picker__input:not(:focus) {
  min-width: 0;
}

.y-picker--multiple:has(.y-picker__chip) .y-picker__input::placeholder {
  color: transparent;
}

.y-picker__chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 5px 0 10px;
  border-radius: 9999px;
  background: rgba(var(--v-theme-on-surface), calc(0.12 * var(--v-high-emphasis-opacity)));
  color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.y-picker__chip--avatar {
  height: 24px;
  padding: 0 5px 0 2px;
  border: thin solid rgba(var(--v-border-color), var(--v-border-opacity));
  background: transparent;
  font-size: 14px;
}

.y-picker__chip--avatar > .y-avatar {
  margin-right: 8px;
}

.y-picker__chip-close,
.y-picker__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.y-picker__chip-close {
  margin-left: 5px;
  font-size: 18px;
  line-height: 18px;
}

.y-picker__clear {
  visibility: hidden;
  width: 24px;
  margin-right: 4px;
  font-size: 21px;
  line-height: 21px;
  opacity: var(--v-medium-emphasis-opacity);
}

.y-picker--dirty .y-picker__field:hover .y-picker__clear,
.y-picker--dirty .y-picker__field:focus-within .y-picker__clear {
  visibility: visible;
}

.y-picker__chevron {
  width: 21px;
  font-size: 21px;
  line-height: 21px;
  opacity: var(--v-medium-emphasis-opacity);
  transition: transform 0.2s;
}

.y-picker__field:has([aria-expanded="true"]) .y-picker__chevron {
  transform: rotate(180deg);
}

.y-field--disabled .y-picker__chevron {
  opacity: 1;
}

.y-picker__menu {
  inset: auto;
  position-area: bottom span-right;
  position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
  width: anchor-size(width);
  max-height: 310px;
  margin: 0;
  padding: 8px 0;
  overflow-y: auto;
  border: 0;
  border-radius: 4px;
  background: rgb(var(--v-theme-surface));
  color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
  box-shadow: 0px 1px 2px 0px rgba(var(--v-shadow-color), var(--v-shadow-key-opacity, 0.3)), 0px 2px 6px 2px rgba(var(--v-shadow-color), var(--v-shadow-ambient-opacity, 0.15));
}

/* A list with nothing to show and nothing to say draws no box, as Vuetify's
   combobox with hide-no-data does. */
.y-picker__menu:not(:has(.y-picker__option:not([hidden]), .y-picker__empty:not([hidden]))) {
  visibility: hidden;
}

.y-picker__option,
.y-picker__empty {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 4px 16px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.03125em;
}

.y-picker__option {
  position: relative;
  cursor: pointer;
}

.y-picker__option[hidden],
.y-picker__empty[hidden] {
  display: none;
}

.y-picker__more {
  min-height: 1px;
}

.y-picker__option::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0;
  pointer-events: none;
}

.y-picker__option:hover::before {
  opacity: var(--v-hover-opacity);
}

.y-picker__option--active::before {
  opacity: var(--v-focus-opacity);
}

.y-picker__option[aria-selected="true"]::before {
  opacity: var(--v-activated-opacity);
}

.y-picker__check {
  display: none;
  flex: none;
  width: 36px;
  padding-left: 6px;
  font-size: 24px;
  line-height: 24px;
}

.y-picker--multiple .y-picker__check {
  display: inline-flex;
}

.y-picker__check-off {
  opacity: var(--v-medium-emphasis-opacity);
}

.y-picker__check-on,
.y-picker__option[aria-selected="true"] .y-picker__check-off {
  display: none;
}

.y-picker__option[aria-selected="true"] .y-picker__check-on {
  display: inline;
}

.y-picker__option-body {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Bar is UnifiedSelectionBar's search box inside InlineEditShell's 1px
   transparent border. */
.y-picker--bar .y-picker__control {
  border: 1px solid transparent;
}

.y-picker--bar .y-picker__field {
  --y-field-border: rgb(var(--v-theme-structure-border));
  min-height: 38px;
  padding: 5px 9px;
  border-radius: 10px;
  background-color: rgb(var(--v-theme-state-primary));
}

.y-picker--bar .y-picker__field:hover::after {
  border-color: rgba(128, 128, 128, 0.25);
}

.y-picker--bar .y-picker__field:focus-within::after {
  border-color: rgb(var(--v-theme-primary));
  box-shadow: 0 0 0 3px rgba(66, 99, 235, 0.1);
}

.y-picker--bar .y-picker__input {
  height: 28px;
  padding: 1px 2px;
  color: rgb(var(--v-theme-text-default));
}

.y-picker--bar .y-picker__input::placeholder {
  color: rgb(var(--v-theme-text-secondary));
  opacity: 1;
}

/* UnifiedSelectionShell sizes the bar's dropdown to the bar between 250px
   and 320px rather than stretching it across a wide card. */
.y-picker--bar .y-picker__menu {
  width: clamp(250px, anchor-size(width), 320px);
}

/* Colored pills and the neutral "+N" pill that folds the rest away. */
@layer vuetify-components {
  .y-pill--clickable,
  .y-pill--more {
    cursor: pointer;
  }

  .y-pill--more {
    background-color: rgba(var(--v-theme-on-surface), 0.08);
    color: rgba(var(--v-theme-on-surface), 0.7);
  }
}

/* The upgrade banner over a feature the plan lacks. */
@layer vuetify-components {
  .y-plan-gate {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .y-plan-gate__message {
    align-items: center;
    display: inline-flex;
    gap: 12px;
  }

  .y-plan-gate__action.v-btn {
    border-color: rgba(var(--v-theme-primary), 0.6) !important;
    color: rgb(var(--v-theme-primary)) !important;
  }

  .y-plan-gate__content--locked {
    filter: grayscale(0.15);
    opacity: 0.55;
    pointer-events: none;
  }
}

.y-syncing {
  display: inline-flex;
  animation: y-syncing-rotate 1.5s linear infinite;
  transform-origin: center;
}

@keyframes y-syncing-rotate {
  to {
    transform: rotate(0deg);
  }
  from {
    transform: rotate(360deg);
  }
}

.y-metric-card {
  position: relative;
  display: flex;
  overflow: hidden;
  background: rgb(var(--v-theme-surface));
  border: 2px solid white;
  box-shadow: 0 60px 17px 0 rgba(7, 33, 102, 0), 0 38px 15px 0 rgba(7, 33, 102, 0), 0 21px 13px 0 rgba(7, 33, 102, 0.02), 0 10px 10px 0 rgba(7, 33, 102, 0.03), 0 2px 5px 0 rgba(7, 33, 102, 0.03);
  color: rgb(var(--v-theme-secondary-grey));
}

.v-theme--dark .y-metric-card,
.v-theme--dark.y-metric-card {
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  background: rgb(var(--v-theme-surface)) !important;
}

.y-metric-card__icon {
  position: relative;
  display: flex;
  overflow: hidden;
}

.metric-value {
  min-width: 2ch;
  display: inline-block;
  text-align: left;
}

.metric-card--selected {
  border: 2px solid rgb(var(--v-theme-primary));
  box-shadow: 0 0 0 1px rgba(var(--v-theme-primary), 0.2);
}

.metric-card--clickable {
  cursor: pointer;
}

.metric-card--clickable::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  transition: background-color 0.12s ease;
}

.metric-card--clickable:hover::before {
  background-color: rgba(255, 255, 255, 0.03);
}

.metric-card--clickable:active::before {
  background-color: rgba(255, 255, 255, 0.055);
}

.metric-card--clickable:focus-visible {
  outline: 2px solid rgb(var(--v-theme-primary));
  outline-offset: 2px;
}

.y-processing-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(var(--v-theme-structure-primary));
  pointer-events: all;
  z-index: 10;
}

.y-processing-overlay__card {
  display: grid;
  row-gap: 8px;
  text-align: center;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgb(var(--v-theme-structure-primary));
  max-width: 520px;
  color: rgb(var(--v-theme-secondary-grey));
}

.y-processing-overlay__title {
  font-size: 16px;
  font-weight: 600;
}

.y-processing-overlay__sub,
.y-processing-overlay__hint {
  font-size: 14px;
}

.y-count-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.y-count-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid rgb(var(--v-theme-structure-border));
  border-radius: 8px;
  background: rgb(var(--v-theme-surface));
  color: inherit;
  text-align: left;
  text-decoration: none;
}
.y-count-tile:hover {
  background: rgb(var(--v-theme-structure-hover));
}
.y-count-tile--active {
  border-color: rgb(var(--v-theme-primary));
}
.y-count-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgb(var(--v-theme-structure-border));
  color: rgb(var(--v-theme-text-secondary));
  flex-shrink: 0;
}
.y-count-tile__body {
  display: flex;
  flex-direction: column;
}
.y-count-tile__label {
  font-size: 0.875rem;
  color: rgb(var(--v-theme-text-secondary));
}
.y-count-tile__count {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgb(var(--v-theme-primary));
  line-height: 1.2;
}

.agent-yesh-bar {
  display: flex;
  align-items: center;
  background: rgb(var(--v-theme-blue-bg));
  padding: 12px 24px;
  box-shadow: 0 -2px 12px rgba(33, 150, 243, 0.08);
  width: 100%;
}

.agent-yesh-bar--pill {
  border-radius: 999px;
}

.agent-yesh-bar--rounded {
  border-radius: 28px;
}

.agent-yesh-input-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.agent-yesh-textarea {
  width: 100%;
  min-height: 24px;
  background: transparent;
  border: none;
  outline: none;
  resize: none;
  color: inherit;
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  padding: 2px 8px 2px 0;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, #2196f3 25%, transparent) transparent;
}

.agent-yesh-textarea:hover,
.agent-yesh-textarea:focus-visible {
  scrollbar-color: color-mix(in srgb, #2196f3 70%, transparent) transparent;
}

.agent-yesh-avatar-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 12px;
}

.agent-yesh-svg {
  flex-shrink: 0;
  display: block;
}

.agent-yesh-error-bubble,
.agent-yesh-response-bubble {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  border-radius: 16px;
  padding: 6px 16px;
  font-size: 0.95em;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.08);
  white-space: pre-line;
  min-width: 340px;
  max-width: 340px;
  text-align: center;
  z-index: 1;
}

.agent-yesh-error-bubble {
  background: rgb(var(--v-theme-structure-primary));
  color: rgb(var(--v-theme-error-text));
  border: 1.5px solid rgb(var(--v-theme-error));
}

.agent-yesh-response-bubble {
  background: rgb(var(--v-theme-success-bg));
  color: rgb(var(--v-theme-success-text));
  border: 1.5px solid rgb(var(--v-theme-success));
}

.agent-yesh-error-bubble::after,
.agent-yesh-response-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 8px 0 8px;
  border-style: solid;
  border-color: rgb(var(--v-theme-structure-primary)) transparent transparent transparent;
  filter: drop-shadow(0 2px 2px rgba(33, 150, 243, 0.08));
}

.agent-yesh-response-bubble::after {
  border-top-color: rgb(var(--v-theme-success-bg));
}

@media (max-width: 480px) {
  .agent-yesh-error-bubble,
  .agent-yesh-response-bubble {
    min-width: 0;
    max-width: 85vw;
  }
}

.agent-yesh-bar.htmx-request .agent-yesh-svg {
  animation: agent-yesh-pulse 0.7s infinite alternate;
  filter: brightness(1.3) drop-shadow(0 0 12px #2196f3);
}

@keyframes agent-yesh-pulse {
  0% { transform: scale(1) rotate(0deg); filter: brightness(1.1) drop-shadow(0 0 2px #2196f3); }
  50% { transform: scale(1.15) rotate(-7deg); filter: brightness(1.5) drop-shadow(0 0 18px #2196f3); }
  100% { transform: scale(1.08) rotate(7deg); filter: brightness(1.3) drop-shadow(0 0 8px #2196f3); }
}

.agent-yesh-sending,
.agent-yesh-bar.htmx-request .agent-yesh-send {
  display: none;
}

.agent-yesh-bar.htmx-request .agent-yesh-sending {
  display: inline-flex;
}

.agent-yesh-mic-btn {
  margin-right: 8px;
}

.agent-yesh-mic-btn[aria-pressed="true"] {
  color: rgb(var(--v-theme-red));
}

.agent-yesh-bubble-close {
  cursor: pointer;
  margin-left: 8px;
}

.y-code-diff .y-dialog__card {
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.y-code-diff__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px 10px;
  font-size: 16px;
  font-weight: 600;
  color: rgb(var(--v-theme-text-default));
}

.y-code-diff__body {
  max-height: 60vh;
  overflow: auto;
  padding: 16px;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 12px;
  background: rgb(var(--v-theme-structure-secondary));
}

.y-code-diff__line {
  display: flex;
  align-items: flex-start;
  line-height: 1.4;
  padding: 1px 4px;
  border-radius: 4px;
}

.y-code-diff__prefix {
  width: 14px;
  flex-shrink: 0;
  color: rgb(var(--v-theme-text-secondary));
}

.y-code-diff__text {
  white-space: pre;
}

.y-code-diff__line--added {
  background: rgba(var(--v-theme-success-icon), 0.08);
  color: rgb(var(--v-theme-success-text));
}

.y-code-diff__line--removed {
  background: rgba(var(--v-theme-error-icon), 0.08);
  color: rgb(var(--v-theme-error-text));
}

.y-code-diff__line--context {
  opacity: 0.65;
}

.y-resizer {
  flex: 0 0 7px;
  margin: 0 -4px 0 -3px;
  position: relative;
  z-index: 1;
  cursor: col-resize;
}

.y-resizer::before {
  content: '';
  position: absolute;
  inset: 0 2px;
  border-radius: 3px;
  background: transparent;
  transition: background 0.12s ease;
}

.y-resizer:hover::before {
  background: rgba(var(--v-theme-primary), 0.35);
}

.y-resizer:focus-visible::before,
.y-resizer--active::before {
  background: rgb(var(--v-theme-primary));
}

.y-resizer:focus-visible {
  outline: none;
}

/* A select is drawn by its field and its list by select.js, so no browser
   draws either its own way. */
select {
  appearance: none;
}

/* An open select's chevron points up, as a v-select's or a v-menu
   activator's does. */
.y-select--open .mdi-chevron-down::before,
.y-select--open .mdi-menu-down::before {
  transform: rotate(180deg);
}

/* The list Vuetify's v-select opens: a v-list on the theme's surface in a
   menu's shadow, a row per option, the chosen one shaded. The popover is
   placed by select.js, under its field or above it when there is no room. */
.y-select-menu {
  position: fixed;
  inset: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  overflow: visible;
  color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  text-align: start;
  text-transform: none;
  white-space: normal;
}

.y-select-menu > .v-overlay__content {
  display: flex;
  flex-direction: column;
  max-height: 310px;
  border-radius: 4px;
  overflow: hidden;
  background: rgb(var(--v-theme-surface));
  box-shadow: 0px 5px 5px -3px rgba(var(--v-shadow-color), var(--v-shadow-key-opacity, 0.2)), 0px 8px 10px 1px rgba(var(--v-shadow-color), var(--v-shadow-ambient-opacity, 0.14)), 0px 3px 14px 2px rgba(var(--v-shadow-color), 0.12);
}

.y-select-menu .v-list {
  flex: 1 1 auto;
  overflow-y: auto;
  background: rgb(var(--v-theme-surface));
  color: inherit;
}

.y-select-menu .v-list-item-title {
  white-space: nowrap;
}

.y-select-menu .v-list-item[hidden] {
  display: none;
}

.y-select-menu--check > .v-overlay__content {
  max-height: 300px;
}

.y-select-menu__check {
  font-size: 12px;
  width: 12px;
  height: 12px;
}

.y-select-menu__search-icon {
  font-size: 20px;
}

.y-select-menu__search input {
  height: 16px;
  min-width: 0;
  flex: 1 1 auto;
  border: none;
  outline: none;
  background: transparent;
  color: inherit;
  font: inherit;
}

.y-select-menu .v-list-subheader {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding-inline: 16px;
  color: rgba(var(--v-theme-on-surface), var(--v-medium-emphasis-opacity));
  font-size: 0.875rem;
  font-weight: 400;
}

/* A MultiSelect's field shows its choices as text, with its select laid over
   the field to take the presses and the focus. */
.y-multi-select {
  position: relative;
}

.y-multi-select__text {
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-right: 45px;
}

.y-multi-select__text--empty {
  color: rgba(var(--v-theme-on-structure-primary), var(--v-disabled-opacity));
}

.y-select__native {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

dialog.y-session-expired[open]::backdrop {
  opacity: 1;
  background: rgba(var(--v-theme-on-light), 0.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.y-session-dialog .y-gsi {
  height: 40px !important;
}

/* The shell: the sidebar, the main area beside it, and the top bar's account
   controls. The sidebar's measures are the Vue AppSidebar's, which is a
   280px navigation drawer holding a compact, slim nav list. */

.y-shell {
  display: flex;
  flex: 1 1 auto;
  min-height: 100vh;
  min-height: 100dvh;
}
.y-shell__main {
  flex: 1 1 auto;
  min-width: 0;
  padding-left: 280px;
}

/* VContainer's rules for the fluid container Container draws, which the
   generated vuetify.css does not carry. */
.v-container {
  width: 100%;
  padding: 16px;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 840px) {
  .v-container {
    max-width: 700px;
  }
}
@media (min-width: 1145px) {
  .v-container {
    max-width: 1000px;
  }
}
@media (min-width: 1545px) {
  .v-container {
    max-width: 1400px;
  }
}
@media (min-width: 2138px) {
  .v-container {
    max-width: 2000px;
  }
}
.v-container--fluid {
  max-width: 100%;
}

.y-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1004;
  width: 280px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: linear-gradient(rgb(var(--v-theme-primary-bg)), rgb(var(--v-theme-surface)));
  border-right: 1px solid rgb(var(--v-theme-structure-border));
}
.v-theme--dark .y-sidebar {
  background: rgb(var(--v-theme-navigation-bg));
}
/* Vuetify's drawer colour, so text the sidebar does not colour itself, such
   as the credit under an organization's logo, follows the sidebar's theme
   rather than the page's. */
.y-sidebar {
  color: color-mix(in srgb, rgb(var(--v-theme-on-surface)) calc(var(--v-high-emphasis-opacity) * 100%), transparent);
}
.y-sidebar__foot {
  margin-top: auto;
}
.y-sidebar--collapsed .y-sidebar__foot {
  display: none;
}
.y-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  margin-top: 16px;
  padding: 0 28px;
}
.y-sidebar__brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.y-sidebar__logo {
  width: 96px;
  height: 24px;
  object-fit: contain;
  object-position: left;
}
.y-sidebar__logo--dark,
.v-theme--dark .y-sidebar__logo--light {
  display: none;
}
.v-theme--dark .y-sidebar__logo--dark {
  display: block;
}
.y-sidebar__nav {
  padding: 0 20px;
}
.y-sidebar__group {
  margin-top: 20px;
}
.y-sidebar__group-title {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 8px;
  letter-spacing: normal;
}
.y-sidebar__group-title {
  cursor: pointer;
}
.y-sidebar__group-title .v-icon {
  margin-left: 4px;
  font-size: 20px;
}
.y-sidebar:not(.y-sidebar--collapsed) .y-sidebar__group--closed .y-sidebar__item {
  display: none;
}
.y-sidebar__item {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 16px 4px 20px;
  border-radius: 10px;
  color: rgb(var(--v-theme-text-secondary));
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.y-sidebar__item .v-icon {
  flex: 0 0 auto;
  margin-right: 8px;
  opacity: var(--v-medium-emphasis-opacity);
}
.y-sidebar__item-text {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: rgb(var(--v-theme-text-secondary));
}
.y-sidebar__item:hover:not(.y-sidebar__item--active) {
  background: rgba(255, 255, 255, 0.03);
}
.y-sidebar__item--active {
  background: rgb(var(--v-theme-nav-selected-bg));
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.02), 0 2px 4px 0 rgba(0, 0, 0, 0.08);
}
.y-sidebar__item--active .v-icon {
  opacity: 1;
}
.y-sidebar__item--active .v-icon,
.y-sidebar__item--active .y-sidebar__item-text {
  color: rgb(var(--v-theme-primary)) !important;
}
.y-sidebar__item {
  position: relative;
}
.y-sidebar__beta-dot {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #0adce7;
}

/* The collapse toggle: a borderless icon with a quiet hover box. The icon's
   panel outline is a stroke, so its fill stays empty. */
.y-sidebar__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  background: none;
  border: 0;
  border-radius: 10px;
  color: rgb(var(--v-theme-secondary-grey));
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.y-sidebar__toggle .v-icon {
  width: 17.6px;
  min-width: 17.6px;
  height: 16.72px;
  transition: color 0.15s ease;
}
.y-sidebar__toggle .v-icon__svg {
  fill: none;
}
.y-sidebar__toggle:hover {
  background-color: rgba(99, 115, 129, 0.1);
}
.y-sidebar__toggle:hover .v-icon {
  color: rgb(var(--v-theme-primary)) !important;
}
.y-sidebar__toggle:focus-visible {
  outline: 2px solid rgb(var(--v-theme-primary));
  outline-offset: 2px;
}
.y-sidebar__mark {
  display: none;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* The rail: 76px of icons, the mark standing in for the brand until the
   pointer or focus reaches it. The box stays 40px so the swap never moves
   the target out from under the pointer. */
.y-shell--collapsed .y-shell__main {
  padding-left: 76px;
}

/* An action bar is a Vuetify app footer, which starts where the drawer ends. */
.y-shell .y-action-bar {
  left: 280px;
  width: auto;
  right: 0;
}
.y-shell--collapsed .y-action-bar {
  left: 76px;
}
/* Vuetify pads v-main by an app footer's height, so content never ends under it. */
.y-shell__main:has(.y-action-bar) {
  padding-bottom: 72px;
}
.y-sidebar--collapsed {
  width: 76px;
}
.y-sidebar--collapsed .y-sidebar__header {
  justify-content: center;
  padding: 0 12px;
}
.y-sidebar--collapsed .y-sidebar__brand,
.y-sidebar--collapsed .y-sidebar__group-title,
.y-sidebar--collapsed .y-sidebar__item-text,
.y-sidebar--collapsed .y-sidebar__beta-dot {
  display: none;
}
.y-sidebar--collapsed .y-sidebar__toggle {
  width: 40px;
  height: 40px;
  padding: 0;
}
.y-sidebar--collapsed .y-sidebar__mark {
  display: block;
}
.y-sidebar--collapsed .y-sidebar__toggle .v-icon,
.y-sidebar--collapsed .y-sidebar__toggle:is(:hover, :focus-visible) .y-sidebar__mark {
  display: none;
}
.y-sidebar--collapsed .y-sidebar__toggle:is(:hover, :focus-visible) .v-icon {
  display: inline-flex;
}
.y-sidebar--collapsed .y-sidebar__nav {
  padding: 0 8px;
}
.y-sidebar--collapsed .y-sidebar__group {
  margin-top: 0;
}
.y-sidebar--collapsed .y-sidebar__item {
  justify-content: center;
  min-height: 44px;
  padding: 0;
}
.y-sidebar--collapsed .y-sidebar__item .v-icon {
  margin-right: 0;
}

/* The account controls: an avatar that opens a small panel, and the theme
   toggle, drawn as ProfileAvatar and ThemeToggleButton draw them. */
.y-account__menu {
  position: relative;
}
.y-account__menu > summary {
  list-style: none;
}
.y-account__menu > summary::-webkit-details-marker {
  display: none;
}
.y-account__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgb(var(--v-theme-structure-hover));
  color: rgb(var(--v-theme-secondary-grey));
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}
.y-account__photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.y-account__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 1005;
  min-width: 220px;
  padding: 8px 0;
  border-radius: 8px;
  background: rgb(var(--v-theme-surface));
  box-shadow: 0px 1px 3px 0px rgba(var(--v-shadow-color), var(--v-shadow-key-opacity, 0.3)), 0px 4px 8px 3px rgba(var(--v-shadow-color), var(--v-shadow-ambient-opacity, 0.15));
  color: rgb(var(--v-theme-text-default));
}
.y-account__who {
  padding: 8px 16px 12px;
  border-bottom: 1px solid rgb(var(--v-theme-structure-border));
  white-space: nowrap;
}
.y-account__signout {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px 6px;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
a.y-account__signout {
  text-decoration: none;
}
.y-account__signout:hover {
  background: rgba(var(--v-theme-on-surface), var(--v-hover-opacity));
}
.y-theme-toggle {
  width: 44px;
  height: 44px;
}
.y-theme-toggle .v-icon {
  font-size: 20px;
}
.y-theme-toggle .mdi-weather-night,
.v-theme--dark .y-theme-toggle .mdi-white-balance-sunny {
  display: none;
}
.v-theme--dark .y-theme-toggle .mdi-weather-night {
  display: inline-flex;
}
/* The menu scrolls on its own, so the way into the workspace below it stays
   at the sidebar's foot, as the Vue drawer's append slot did. */
.y-sidebar__scroll {
  flex: 0 1 auto;
  min-height: 0;
  overflow-y: auto;
}

/* The provider buttons follow Google's and Microsoft's own button guidelines,
   which fix their colors whatever the app's theme. */
.y-gsi {
  -webkit-user-select: none;
  user-select: none;
  -webkit-appearance: none;
  background-color: white !important;
  background-image: none;
  border: 1px solid #747775;
  border-radius: 20px;
  box-sizing: border-box;
  color: #1f1f1f;
  cursor: pointer;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  transition: background-color .218s, border-color .218s, box-shadow .218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
  min-width: min-content;
}
.y-gsi.y-gsi--no-outline { border: none; }
.y-gsi.y-gsi--shadow {
  box-shadow: 0px 77px 22px 0px rgba(47, 99, 146, 0.00), 0px 49px 20px 0px rgba(47, 99, 146, 0.01), 0px 28px 17px 0px rgba(47, 99, 146, 0.03), 0px 12px 12px 0px rgba(47, 99, 146, 0.04), 0px 3px 7px 0px rgba(47, 99, 146, 0.05);
}
.y-gsi.v-btn--block > .v-btn__content { width: 100%; }
.y-gsi .y-gsi__icon {
  height: 20px;
  margin-right: 12px;
  min-width: 20px;
  width: 20px;
}
.y-gsi .y-gsi__wrapper {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: space-between;
  position: relative;
  width: 100%;
}
.y-gsi .y-gsi__contents {
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}
.y-gsi.y-gsi--sign-in { padding: 0 24px; }
.y-gsi.y-gsi--sign-in .y-gsi__wrapper { justify-content: center; }
.y-gsi.y-gsi--sign-in .y-gsi__contents { flex-grow: 0; }
.sso-actions { width: max-content; max-width: 100%; }
.y-gsi.v-btn--disabled {
  cursor: default;
  background-color: #ffffff61;
  border-color: #1f1f1f1f;
}
.y-gsi.v-btn--disabled .y-gsi__contents,
.y-gsi.v-btn--disabled .y-gsi__icon { opacity: 38%; }

/* Vuetify's v-img, in its layer so utility classes such as flex-grow-0 win
   as they do over the original. */
@layer vuetify-components {
  .y-signin-img {
    display: flex;
    flex: 1 0 auto;
    max-height: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 0;
  }
  .y-signin-img__sizer { flex: 1 0 0px; pointer-events: none; }
  .y-signin-img__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: contain;
  }
}

/* The skeletons stand in for the provider's page, which follows the device's
   color scheme rather than the app's theme. */
.y-bone {
  flex: 1 1 auto;
  background: linear-gradient(90deg, #DEE1E4 0%, #FFFFFF00 100%);
}
.y-bone--sm { height: 16px; max-height: 16px; }
.y-bone--md { height: 20px; max-height: 20px; }
.y-bone--lg { height: 24px; max-height: 24px; }
.y-bone--circle { width: 40px; max-width: 40px; height: 40px; max-height: 40px; border-radius: 20px; }

.y-gskel { width: 100%; height: 100%; }
.y-gskel__desktop { width: 100%; height: 100%; background-color: #f0f4f9; }
.y-gskel__page { background-color: white; }
.y-gskel__mobile { display: none; width: 100%; height: 100%; }
.y-gskel .v-divider { border-style: solid; }
@media (prefers-color-scheme: dark) {
  .y-gskel__desktop { background-color: #1e1f20; }
  .y-gskel__page { background-color: rgb(14, 14, 14); }
  .y-gskel .y-bone { background: linear-gradient(90deg, rgba(222, 225, 228, 0.27) 0%, rgba(241, 244, 248, 0.09) 100%); }
}
@media (max-width: 599.98px) {
  .y-gskel__desktop { display: none !important; }
  .y-gskel__mobile { display: flex; }
}

.y-msskel {
  width: 100%;
  height: 100%;
  background-image: url('images/signin/ms-login-bg.svg');
  background-size: cover;
  background-repeat: no-repeat;
  background-color: white;
  align-items: center;
}
.y-msskel__sheet {
  background-color: white;
  padding: 44px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.y-msskel .y-signin-img__img { object-position: left center; }
@media (max-width: 599.98px) {
  .y-msskel { background-image: none; align-items: start; }
  .y-msskel__sheet { padding: 24px; box-shadow: none; }
}

.y-yeshid-logo--dark { display: none; }
.v-theme--dark .y-yeshid-logo--light { display: none; }
.v-theme--dark .y-yeshid-logo--dark { display: block; }

.y-powered-by { opacity: 0.6; font-size: 12px; width: fit-content; }
.y-powered-by--dark { filter: grayscale(1) brightness(2.5); }

/* An organization with a dark navigation color draws the vault in the dark
   brand colors, in the light theme only: the dark theme owns its own. */
.v-theme--light .y-vault--dark-brand {
  --v-theme-new-app-bg: var(--v-theme-new-app-bg-dark);
}
.v-theme--light .y-vault--dark-brand .y-vault__door { color: rgb(var(--v-theme-new-brand-text-dark)); }
.y-vault {
  position: relative;
  width: 100%;
  margin: 0 auto;
  background-color: transparent;
}
.y-vault__door {
  background-color: rgb(var(--v-theme-new-app-bg));
  color: rgb(var(--v-theme-new-brand-text-light));
  transition: transform 0.7s cubic-bezier(0, 0, 0.2, 1);
}
.v-theme--dark .y-vault__door { color: rgb(var(--v-theme-on-dark)); }
.y-vault__title { letter-spacing: -1px !important; }
.y-vault__band {
  height: 30px;
  width: 100%;
  background-color: rgba(127, 127, 127, 0.05);
  border-top: 1px solid #5283b11a;
  border-bottom: 1px solid #5283b11a;
}
.y-vault__footer { align-items: end; }
.y-vault[data-open] .y-vault__door--top { transform: translateY(-100%) translateY(-118px); }
.y-vault[data-open] .y-vault__door--bottom { transform: translateY(100%); }
.y-vault[data-opened] .y-vault__door { opacity: 0; }
@media (max-width: 599.98px) {
  .y-vault.text-body-1 { font-size: 14px !important; line-height: 20px !important; }
  .y-vault .y-vault__title.text-h3 { font-size: 32px !important; font-weight: 500; line-height: 40px !important; }
}

/* The workspace's quieter type ladder on the sign-in and sign-up pages. */
[data-workspace="new"] .y-vault .brand-vault__title.text-h3 { font-size: 36px !important; line-height: 44px !important; }
[data-workspace="new"] .brand-vault__details { font-size: 13px; line-height: 20px; }
[data-workspace="new"] .brand-vault__action { font-weight: 600; }
[data-workspace="new"] .brand-vault__footer .text-caption { font-size: 11px !important; line-height: 16px !important; }

@layer vuetify-components {
  .v-skeleton-loader {
    align-items: center;
    background: rgb(var(--v-theme-surface));
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    vertical-align: top;
  }
  .v-skeleton-loader__actions {
    justify-content: end;
  }
  .v-skeleton-loader .v-skeleton-loader__ossein {
    height: 100%;
  }
  .v-skeleton-loader .v-skeleton-loader__avatar,
  .v-skeleton-loader .v-skeleton-loader__button,
  .v-skeleton-loader .v-skeleton-loader__chip,
  .v-skeleton-loader .v-skeleton-loader__divider,
  .v-skeleton-loader .v-skeleton-loader__heading,
  .v-skeleton-loader .v-skeleton-loader__image,
  .v-skeleton-loader .v-skeleton-loader__ossein,
  .v-skeleton-loader .v-skeleton-loader__text {
    background: color-mix(in srgb, rgb(var(--v-theme-on-surface)) calc(var(--v-border-opacity) * 100%), transparent);
  }
  @media (forced-colors: active) {
    .v-skeleton-loader .v-skeleton-loader__avatar,
    .v-skeleton-loader .v-skeleton-loader__button,
    .v-skeleton-loader .v-skeleton-loader__chip,
    .v-skeleton-loader .v-skeleton-loader__divider,
    .v-skeleton-loader .v-skeleton-loader__heading,
    .v-skeleton-loader .v-skeleton-loader__image,
    .v-skeleton-loader .v-skeleton-loader__ossein,
    .v-skeleton-loader .v-skeleton-loader__text {
      background: canvastext;
    }
  }
  .v-skeleton-loader .v-skeleton-loader__list-item,
  .v-skeleton-loader .v-skeleton-loader__list-item-avatar,
  .v-skeleton-loader .v-skeleton-loader__list-item-text,
  .v-skeleton-loader .v-skeleton-loader__list-item-two-line,
  .v-skeleton-loader .v-skeleton-loader__list-item-avatar-two-line,
  .v-skeleton-loader .v-skeleton-loader__list-item-three-line,
  .v-skeleton-loader .v-skeleton-loader__list-item-avatar-three-line {
    border-radius: 4px;
  }
  .v-skeleton-loader__bone {
    align-items: center;
    border-radius: inherit;
    display: flex;
    flex: 1 1 100%;
    flex-wrap: wrap;
    overflow: hidden;
    position: relative;
  }
  .v-skeleton-loader__bone::after {
    animation: loading 1.5s infinite;
    background: linear-gradient(90deg, color-mix(in srgb, rgb(var(--v-theme-surface)) 0%, transparent), color-mix(in srgb, rgb(var(--v-theme-surface)) 30%, transparent), color-mix(in srgb, rgb(var(--v-theme-surface)) 0%, transparent));
    transform: translateX(-100%);
    contain: content;
    will-change: transform;
    z-index: 1;
  }
  .v-skeleton-loader__bone::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  @media (forced-colors: active) and (pointer: fine) {
    .v-skeleton-loader__bone {
      cursor: progress;
    }
  }
  .v-skeleton-loader__avatar {
    border-radius: 50%;
    flex: 0 1 auto;
    margin: 8px 16px;
    max-height: 48px;
    min-height: 48px;
    height: 48px;
    max-width: 48px;
    min-width: 48px;
    width: 48px;
  }
  .v-skeleton-loader__avatar + .v-skeleton-loader__bone {
    flex: 1 1 auto;
    margin-inline-start: 0;
  }
  .v-skeleton-loader__avatar + .v-skeleton-loader__sentences > .v-skeleton-loader__text,
  .v-skeleton-loader__avatar + .v-skeleton-loader__paragraph > .v-skeleton-loader__text {
    margin-inline-start: 0;
  }
  .v-skeleton-loader__button {
    border-radius: 4px;
    height: 36px;
    margin: 16px;
    max-width: 64px;
  }
  .v-skeleton-loader__button + .v-skeleton-loader__bone {
    flex: 1 1 auto;
    margin-inline-start: 0;
  }
  .v-skeleton-loader__button + .v-skeleton-loader__sentences > .v-skeleton-loader__text,
  .v-skeleton-loader__button + .v-skeleton-loader__paragraph > .v-skeleton-loader__text {
    margin-inline-start: 0;
  }
  .v-skeleton-loader__chip {
    border-radius: 16px;
    margin: 16px;
    height: 32px;
    max-width: 96px;
  }
  .v-skeleton-loader__chip + .v-skeleton-loader__bone {
    flex: 1 1 auto;
    margin-inline-start: 0;
  }
  .v-skeleton-loader__chip + .v-skeleton-loader__sentences > .v-skeleton-loader__text,
  .v-skeleton-loader__chip + .v-skeleton-loader__paragraph > .v-skeleton-loader__text {
    margin-inline-start: 0;
  }
  .v-skeleton-loader__date-picker {
    border-radius: inherit;
  }
  .v-skeleton-loader__date-picker .v-skeleton-loader__list-item:first-child .v-skeleton-loader__text {
    max-width: 88px;
    width: 20%;
  }
  .v-skeleton-loader__date-picker .v-skeleton-loader__heading {
    max-width: 256px;
    width: 40%;
  }
  .v-skeleton-loader__date-picker-days {
    flex-wrap: wrap;
    margin: 16px;
  }
  .v-skeleton-loader__date-picker-days .v-skeleton-loader__avatar {
    border-radius: 4px;
    margin: 4px;
    max-width: 100%;
  }
  .v-skeleton-loader__date-picker-options {
    flex-wrap: nowrap;
  }
  .v-skeleton-loader__date-picker-options .v-skeleton-loader__text {
    flex: 1 1 auto;
  }
  .v-skeleton-loader__divider {
    border-radius: 1px;
    height: 2px;
  }
  .v-skeleton-loader__heading {
    border-radius: 12px;
    margin: 16px;
    height: 24px;
  }
  .v-skeleton-loader__heading + .v-skeleton-loader__subtitle {
    margin-top: -16px;
  }
  .v-skeleton-loader__image {
    height: 150px;
    border-radius: 0;
  }
  .v-skeleton-loader__card .v-skeleton-loader__image {
    border-radius: 0;
  }
  .v-skeleton-loader__list-item {
    margin: 16px;
  }
  .v-skeleton-loader__list-item .v-skeleton-loader__text {
    margin: 0;
  }
  .v-skeleton-loader__table-thead {
    justify-content: space-between;
  }
  .v-skeleton-loader__table-thead .v-skeleton-loader__heading {
    margin-top: 16px;
    max-width: 16px;
  }
  .v-skeleton-loader__table-tfoot {
    flex-wrap: nowrap;
  }
  .v-skeleton-loader__table-tfoot > .v-skeleton-loader__text.v-skeleton-loader__bone {
    margin-top: 16px;
  }
  .v-skeleton-loader__table-row {
    align-items: baseline;
    margin: 0 8px;
    justify-content: space-evenly;
    flex-wrap: nowrap;
  }
  .v-skeleton-loader__table-row > .v-skeleton-loader__text.v-skeleton-loader__bone {
    margin-inline: 8px;
  }
  .v-skeleton-loader__table-row + .v-skeleton-loader__divider {
    margin: 0 16px;
  }
  .v-skeleton-loader__table-cell {
    align-items: center;
    display: flex;
    height: 48px;
    width: 88px;
  }
  .v-skeleton-loader__table-cell .v-skeleton-loader__text {
    margin-bottom: 0;
  }
  .v-skeleton-loader__subtitle {
    max-width: 70%;
  }
  .v-skeleton-loader__subtitle > .v-skeleton-loader__text {
    height: 16px;
    border-radius: 8px;
  }
  .v-skeleton-loader__text {
    border-radius: 6px;
    margin: 16px;
    height: 12px;
  }
  .v-skeleton-loader__text + .v-skeleton-loader__text {
    margin-top: -8px;
    max-width: 50%;
  }
  .v-skeleton-loader__text + .v-skeleton-loader__text + .v-skeleton-loader__text {
    max-width: 70%;
  }
  .v-skeleton-loader--boilerplate .v-skeleton-loader__bone:after {
    display: none;
  }
  .v-skeleton-loader--is-loading {
    overflow: hidden;
  }
  .v-skeleton-loader--tile {
    border-radius: 0;
  }
  .v-skeleton-loader--tile .v-skeleton-loader__bone {
    border-radius: 0;
  }
  @keyframes loading {
    100% {
      transform: translateX(100%);
    }
  }
}
/*
 * Chips, banners, notes, toasts and the loading, empty and error states.
 * It sits in Vuetify's component layer so the utility classes the markup
 * carries (pl-2, px-4, rounded-md) still win over it, as they do in Vue.
 */
@layer vuetify-components {
  .y-status-icon {
    align-items: center;
    display: inline-flex;
    height: 1em;
    justify-content: center;
    letter-spacing: normal;
    line-height: 1;
    min-width: 1em;
    position: relative;
    text-align: center;
    user-select: none;
    vertical-align: middle;
    width: 1em;
  }

  .y-status-icon svg {
    fill: currentColor;
    height: 100%;
    width: 100%;
  }

  .y-chip {
    align-items: center;
    border: 0 solid rgba(var(--v-border-color), var(--v-border-opacity));
    border-radius: 9999px;
    display: inline-flex;
    font-weight: 400;
    height: var(--y-chip-height, 32px);
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 0 12px;
    position: relative;
    text-decoration: none;
    vertical-align: middle;
    white-space: nowrap;
    font-size: 0.875rem;
  }

  .y-chip--x-small {
    --y-chip-height: 20px;
    font-size: 0.625rem;
    padding: 0 8px;
  }

  .y-chip--small {
    --y-chip-height: 26px;
    font-size: 0.75rem;
    padding: 0 10px;
  }

  .y-chip--flat {
    background: rgb(var(--v-theme-surface-variant));
    color: rgb(var(--v-theme-on-surface-variant));
  }

  .y-chip--outlined,
  .y-chip--text {
    background: transparent;
    color: inherit;
  }

  .y-chip--outlined {
    border: thin solid currentColor;
  }

  .y-chip__content {
    align-items: center;
    display: inline-flex;
  }

  .y-chip__close {
    align-items: center;
    background-color: transparent;
    border-style: none;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    flex: 0 1 auto;
    font: inherit;
    font-size: 18px;
    margin: 0 -6px 0 6px;
    max-height: 18px;
    max-width: 18px;
    overflow: visible;
    padding: 0;
    user-select: none;
  }

  .y-chip__close .y-status-icon {
    font-size: 0.8571428571em;
  }

  .y-chip--y.y-chip--small {
    --y-chip-height: 24px;
  }

  .y-chip--type-default {
    background-color: transparent;
    border: 1px solid rgb(var(--v-theme-structure-border));
    color: rgb(var(--v-theme-secondary-grey));
  }

  .y-chip--type-outlined {
    border: 1px solid currentColor;
  }

  .y-progress-chip {
    display: inline-block;
    position: relative;
  }

  .y-progress-chip--filled {
    border-radius: 12px;
    border-style: solid;
    border-width: 1px;
    overflow: hidden;
  }

  .y-progress-chip__bar {
    bottom: 0;
    left: 0;
    position: absolute;
    right: auto;
    top: 0;
    z-index: 1;
  }

  .y-progress-chip--filled .y-chip {
    background: transparent;
    border: none;
  }

  .y-progress-chip__content {
    align-items: center;
    display: flex;
    position: relative;
    z-index: 10;
  }

  .y-alert {
    display: grid;
    flex: 1 1;
    grid-template-areas: "prepend content append close" ". content . .";
    grid-template-columns: max-content auto max-content max-content;
    padding: 16px;
    position: relative;
  }

  .y-alert__prepend {
    align-items: center;
    align-self: flex-start;
    display: flex;
    grid-area: prepend;
    min-height: 1.75rem;
  }

  .y-alert__content {
    align-self: center;
    grid-area: content;
    overflow: hidden;
    padding-block: calc((1.75rem - 1.5 * 1rem) / 2);
  }

  .y-alert__append {
    align-self: flex-start;
    grid-area: append;
    margin-inline-start: 16px;
  }

  .y-inline-note {
    align-items: flex-start;
    border-radius: 10px;
    display: flex;
    font-size: 12.5px;
    gap: 8px;
    line-height: 1.5;
    margin: 0;
    padding: 12px 14px;
  }

  .y-inline-note .y-status-icon {
    flex: 0 0 auto;
    margin-top: 1px;
  }

  .y-inline-note--info {
    background: rgba(var(--v-theme-primary), 0.07);
    border: 1px solid rgba(var(--v-theme-primary), 0.16);
    color: rgb(var(--v-theme-primary-dark));
  }

  .y-inline-note--warning {
    background: rgb(var(--v-theme-warning-bg));
    border: 1px solid rgba(184, 118, 0, 0.22);
    color: rgb(var(--v-theme-warning-text));
  }

  .y-toasts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: min(488px, calc(100vw - 64px));
    pointer-events: none;
    position: fixed;
    right: 40px;
    top: 38px;
    z-index: 9999;
  }

  .y-toasts--inline {
    position: static;
    right: auto;
    top: auto;
  }

  .y-toast {
    align-items: center;
    animation: y-toast-slide-in 180ms ease;
    background: rgb(var(--v-theme-structure-primary));
    border: 1px solid rgb(var(--v-theme-primary));
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(25, 40, 65, 0.12);
    display: grid;
    font-size: 0.875rem;
    gap: 12px;
    grid-template-columns: auto 1fr auto;
    letter-spacing: 0.0178571429em;
    line-height: 1.4285714286;
    min-width: 312px;
    padding: 14px 16px;
    pointer-events: all;
  }

  .y-toast__icon {
    align-items: center;
    background: rgb(var(--v-theme-primary-bg));
    border-radius: 50%;
    color: rgb(var(--v-theme-primary));
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 38px;
  }

  .y-toast__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .y-toast__header {
    align-items: center;
    display: flex;
    gap: 12px;
  }

  .y-toast__title {
    color: rgb(var(--v-theme-text-default));
    font-weight: 700;
  }

  .y-toast__description {
    color: rgb(var(--v-theme-text-secondary));
    font-size: 14px;
    line-height: 1.4;
  }

  .y-toast__bottom-action {
    margin-top: 6px;
  }

  .y-toast__action {
    align-items: center;
    background: rgb(var(--v-theme-structure-primary));
    border: 1px solid rgb(var(--v-theme-structure-border));
    border-radius: 8px;
    color: rgb(var(--v-theme-text-secondary));
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 500;
    letter-spacing: normal;
    font-size: 14px;
    height: 32px;
    justify-content: center;
    padding: 0 14px;
    text-decoration: none;
    text-transform: none;
  }

  .y-toast__close {
    background: transparent;
    border: none;
    border-radius: 50%;
    color: rgb(var(--v-theme-secondary-grey));
    cursor: pointer;
    padding: 6px;
    transition: background-color 120ms ease;
  }

  .y-toast__close:hover {
    background-color: rgb(var(--v-theme-structure-hover));
  }

  .y-toast--success {
    border-color: rgb(var(--v-theme-success-icon));
  }

  .y-toast--success .y-toast__icon {
    background: rgb(var(--v-theme-success-bg));
    color: rgb(var(--v-theme-success-icon));
  }

  .y-toast--error {
    border-color: rgb(var(--v-theme-error-icon));
  }

  .y-toast--error .y-toast__icon {
    background: rgb(var(--v-theme-error-bg));
    color: rgb(var(--v-theme-error-icon));
  }

  .y-toast--warning {
    border-color: rgb(var(--v-theme-warning-icon));
  }

  .y-toast--warning .y-toast__icon {
    background: rgb(var(--v-theme-warning-bg));
    color: rgb(var(--v-theme-warning-icon));
  }

  .y-spinner {
    align-items: center;
    display: inline-flex;
    height: 20px;
    justify-content: center;
    overflow: hidden;
    position: relative;
    vertical-align: middle;
    width: 20px;
  }

  .y-spinner > svg {
    animation: y-spinner-rotate 1.4s linear infinite;
    bottom: 0;
    height: 100%;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    transform-origin: center center;
    width: 100%;
  }

  .y-spinner__underlay {
    color: rgba(var(--v-border-color), var(--v-border-opacity));
    stroke: currentColor;
  }

  .y-spinner__overlay {
    animation: y-spinner-dash 1.4s ease-in-out infinite, y-spinner-rotate 1.4s linear infinite;
    stroke: currentColor;
    stroke-dasharray: 25, 200;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: center center;
  }

  .y-loading {
    margin-left: auto;
    margin-right: auto;
    padding: 16px;
    width: 100%;
  }

  @media (min-width: 840px) {
    .y-loading {
      max-width: 700px;
    }
  }

  @media (min-width: 1145px) {
    .y-loading {
      max-width: 1000px;
    }
  }

  .y-loading__ring {
    height: 84px;
    position: relative;
    width: 84px;
  }

  .y-loading__ring div {
    animation: y-loading-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border: 6px solid transparent;
    border-radius: 50%;
    border-top-color: rgb(var(--v-theme-primary));
    box-sizing: border-box;
    display: block;
    height: 84px;
    position: absolute;
    width: 84px;
  }

  .y-loading__ring div:nth-child(1) {
    animation-delay: -0.45s;
  }

  .y-loading__ring div:nth-child(2) {
    animation-delay: -0.3s;
  }

  .y-loading__ring div:nth-child(3) {
    animation-delay: -0.15s;
  }

  @keyframes y-toast-slide-in {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .y-error-page__logo {
    display: flex;
    height: 40px;
    justify-content: center;
  }

  .y-error-page__logo img {
    height: 40px;
  }

  .y-error-page__logo--dark,
  .v-theme--dark .y-error-page__logo--light {
    display: none;
  }

  .v-theme--dark .y-error-page__logo--dark {
    display: block;
  }

  .y-error-page__divider {
    border: 0;
    border-top: 1px solid rgb(var(--v-theme-structure-border));
    margin-bottom: 50px;
  }

  .y-error-page__code {
    color: rgb(var(--v-theme-text-default));
    font-size: xx-large;
    text-align: center;
  }

  .y-error-page__msg {
    color: rgb(var(--v-theme-text-secondary));
    font-size: large;
    text-align: center;
  }

  .y-error-page__detail {
    font-size: medium;
  }

  .y-error-page__home {
    text-align: center;
  }

  @keyframes y-spinner-dash {
    0% {
      stroke-dasharray: 1, 200;
      stroke-dashoffset: 0px;
    }

    50% {
      stroke-dasharray: 100, 200;
      stroke-dashoffset: -15px;
    }

    100% {
      stroke-dasharray: 100, 200;
      stroke-dashoffset: -124px;
    }
  }

  @keyframes y-spinner-rotate {
    100% {
      transform: rotate(270deg);
    }
  }

  @keyframes y-loading-ring {
    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
  }
}

.y-stepper-dialog__steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: -24px -24px 24px;
  border-bottom: thin solid rgba(var(--v-border-color), var(--v-border-opacity));
}
.y-stepper-dialog__item {
  display: inline-flex;
  align-items: center;
  padding: 24px;
  opacity: var(--v-medium-emphasis-opacity);
}
.y-stepper-dialog__item--selected,
.y-stepper-dialog__item--complete {
  opacity: 1;
}
.y-stepper-dialog__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-inline-end: 8px;
  font-size: 0.75rem;
  background: color-mix(in srgb, rgb(var(--v-theme-surface-variant)) calc(var(--v-medium-emphasis-opacity) * 100%), transparent);
  color: rgb(var(--v-theme-on-surface-variant));
}
.y-stepper-dialog__item--selected .y-stepper-dialog__avatar,
.y-stepper-dialog__item--complete .y-stepper-dialog__avatar {
  background: rgb(var(--v-theme-surface-variant));
}
.y-stepper-dialog__avatar .v-icon {
  font-size: 0.875rem;
}
.y-stepper-dialog__title {
  line-height: 1;
}

/* Surfaces: the view header, cards, tabs, breadcrumbs, the action bar,
   dialogs, side panels and dividers. */

/* The header is the Vue ViewHeader's app bar: it stays at the top while the
   screen scrolls under it, and casts its shadow only once something has. Its
   height is the bar's, which leaves the view's own top padding inside it. */
.y-view-header {
  position: sticky;
  top: 0;
  z-index: 1004;
  padding: 16px 0 0 16px;
  transition: box-shadow 0.2s;
}
.y-view-header--elevated {
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.04), 0 6px 16px -8px rgba(0, 0, 0, 0.5);
}
.y-view-header + .v-container {
  padding-top: 0;
}
/* The title and the page's actions share one row; only when the title would
   fall below 320px do the actions wrap to a row of their own, after it. */
.y-view-header__content {
  display: flex;
  flex-wrap: wrap;
  column-gap: 16px;
  align-items: flex-start;
  min-height: 40px;
  padding-bottom: 8px;
}
.y-view-header__title-block {
  flex: 1 1 320px;
  min-width: min(320px, 100%);
  padding-bottom: 16px;
}
.y-view-header__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  row-gap: 8px;
  margin: 0 4px 0 auto;
}

.y-card {
  display: block;
  position: relative;
  overflow: hidden;
  overflow-wrap: break-word;
  border: 0 solid rgb(var(--v-theme-structure-border));
  border-radius: 20px;
  background: rgb(var(--v-theme-surface));
  color: rgb(var(--v-theme-secondary-grey));
}
/* Vuetify's display helpers win over a component's own display, so a card
   asked to be a flex box is one. */
.y-card.d-flex {
  display: flex;
}
.y-card--default {
  border-width: 1px;
  box-shadow: 0 60px 17px 0 rgba(7, 33, 102, 0), 0 38px 15px 0 rgba(7, 33, 102, 0), 0 21px 13px 0 rgba(7, 33, 102, 0.02), 0 10px 10px 0 rgba(7, 33, 102, 0.03), 0 2px 5px 0 rgba(7, 33, 102, 0.03);
}
.y-card--outlined {
  border-width: 1px;
  background: transparent;
}
.v-theme--dark .y-card--default {
  border-color: rgba(var(--v-theme-on-surface), 0.06);
  box-shadow: none;
}
.y-card--color {
  border: 2px solid white;
  box-shadow: 0 60px 17px 0 rgba(7, 33, 102, 0), 0 38px 15px 0 rgba(7, 33, 102, 0), 0 21px 13px 0 rgba(7, 33, 102, 0.02), 0 10px 10px 0 rgba(7, 33, 102, 0.03), 0 2px 5px 0 rgba(7, 33, 102, 0.03);
}
.v-theme--dark .y-card--color {
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  background: rgb(var(--v-theme-surface)) !important;
}

.y-tabs {
  display: flex;
  height: 48px;
  overflow-x: auto;
  scrollbar-width: none;
}
.y-tab {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  max-width: 360px;
  height: 48px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  white-space: nowrap;
  color: rgb(var(--v-theme-secondary-grey)) !important;
  cursor: pointer;
}
.y-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0;
  pointer-events: none;
}
.y-tab:hover::before {
  opacity: var(--v-hover-opacity);
}
.y-tab:focus-visible {
  outline: none;
}
.y-tab:focus-visible::before {
  opacity: var(--v-focus-opacity);
}
.y-tab--disabled {
  pointer-events: none;
  opacity: 0.26;
}
.y-tab--active {
  color: rgb(var(--v-theme-primary-dark)) !important;
}
.y-tab--active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: rgb(var(--v-theme-primary));
}
.y-tab__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 6px;
  border-radius: 9999px;
  background: rgb(var(--v-theme-error-icon));
  color: rgb(var(--v-theme-on-dark));
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.y-crumbs__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-bottom: 2px;
  font-size: 22px;
  line-height: 22px;
  vertical-align: middle;
  color: rgb(var(--v-theme-primary));
}

.y-action-bar {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 1004;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 16px;
  background: rgb(var(--v-theme-structure-primary));
  color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
  box-shadow: 0 -20px 11px 0 rgba(42, 76, 157, 0), 0 -6px 6px 0 rgba(42, 76, 157, 0.05), 0 -26px 10px 0 rgba(42, 76, 157, 0.01), 0 -2px 4px 0 rgba(42, 76, 157, 0.06);
}
.y-action-bar__spacer {
  flex: 1 1 auto;
}

.y-dialog {
  width: var(--y-dialog-width);
  max-width: 95%;
  max-height: calc(100% - 48px);
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.y-dialog[open] {
  display: flex;
}
.y-dialog__card:focus-visible,
.y-side-panel__header:focus-visible {
  outline: none;
}
.y-dialog::backdrop {
  background: rgb(var(--v-theme-on-light));
  opacity: 0.32;
}
.y-dialog__card {
  display: flex;
  flex: 1 1 100%;
  flex-direction: column;
  overflow: hidden auto;
  box-shadow: 0 858px 240px 0 rgba(0, 0, 0, 0), 0 549px 220px 0 rgba(0, 0, 0, 0.01), 0 309px 185px 0 rgba(0, 0, 0, 0.05), 0 137px 137px 0 rgba(0, 0, 0, 0.09), 0 34px 76px 0 rgba(0, 0, 0, 0.1);
}
.v-theme--dark .y-dialog__card {
  box-shadow: none;
}
.y-dialog__header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 56px;
  padding: 8px 24px;
  font-size: 22px;
  line-height: 28px;
}
.y-dialog__title {
  min-width: 0;
}
.y-dialog__content {
  flex: 1 1 auto;
  padding: 24px;
  overflow-y: auto;
  color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
}
.y-dialog__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 24px;
  background: rgb(var(--v-theme-structure-secondary));
  color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
}
/* Vuetify's card actions draw their buttons slim. */
.y-dialog__actions .v-btn {
  padding: 0 8px;
}

.y-side-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 1500;
  width: calc(var(--y-side-panel-width) + 1px);
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
  border-radius: 20px 0 0 20px;
  overflow: hidden;
  background-color: rgb(var(--v-theme-surface));
  /* The glow is the Vue app's assets/glow.svg, inlined so the panel needs no extra file. */
  background-image: url("data:image/svg+xml,%3Csvg width='504' height='132' viewBox='0 0 504 132' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cg opacity='0.2' filter='url(%23filter0_f_374_2026)'%3E %3Cpath d='M101.286 47.5429C34.3019 47.5429 -19.9992 12.6317 -19.9992 -30.4335C-19.9992 -73.4987 34.3019 -108.41 101.286 -108.41C168.27 -108.41 222.571 -73.4987 222.571 -30.4335C222.571 12.6317 168.27 47.5429 101.286 47.5429Z' fill='%230099FF' fill-opacity='0.72'/%3E %3Cpath d='M279.394 70.9989C199.734 70.9989 135.157 25.769 135.157 -30.0251C135.157 -85.8191 199.734 -131.049 279.394 -131.049C359.054 -131.049 423.631 -85.8191 423.631 -30.0251C423.631 25.769 359.054 70.9989 279.394 70.9989Z' fill='%230063FF' fill-opacity='0.83'/%3E %3Cpath d='M431.766 32.394C358.735 32.394 299.532 -16.719 299.532 -77.303C299.532 -137.887 358.735 -187 431.766 -187C504.797 -187 564 -137.887 564 -77.303C564 -16.719 504.797 32.394 431.766 32.394Z' fill='%232B00FF' fill-opacity='0.76'/%3E %3C/g%3E %3Cdefs%3E %3Cfilter id='filter0_f_374_2026' x='-87.999' y='-255' width='719.999' height='393.999' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E %3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E %3CfeBlend mode='normal' in='SourceGraphic' in2='BackgroundImageFix' result='shape'/%3E %3CfeGaussianBlur stdDeviation='34' result='effect1_foregroundBlur_374_2026'/%3E %3C/filter%3E %3C/defs%3E %3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
  box-shadow: -13px 0 4px 0 rgba(7, 33, 102, 0), -8px 0 3px 0 rgba(7, 33, 102, 0.01), -5px 0 3px 0 rgba(7, 33, 102, 0.02), -2px 0 2px 0 rgba(7, 33, 102, 0.03), -1px 0 1px 0 rgba(7, 33, 102, 0.04);
}
.y-side-panel[open] {
  display: flex;
  flex-direction: column;
}
.y-side-panel::backdrop {
  background: transparent;
}
.y-side-panel__header {
  flex: 0 0 auto;
}
.y-side-panel__title-row {
  display: flex;
  align-items: center;
  padding: 24px 24px 0;
}
.y-side-panel__title {
  flex: 1 1 auto;
  margin-right: 16px;
}
.y-side-panel__title-row .y-surface-close {
  margin: 0 8px;
}
.y-side-panel__actions,
.y-side-panel__tabs {
  padding: 24px 24px 0;
}
.y-side-panel__info {
  margin-top: 32px;
  padding: 0 24px;
}
.y-side-panel__body {
  flex: 1 1 auto;
  padding: 24px;
  overflow-y: auto;
}
.y-side-panel__footer {
  flex: 0 0 auto;
}

.y-surface-close {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgb(var(--v-theme-secondary));
  font-size: 24px;
  cursor: pointer;
}
.y-surface-close .mdi {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  line-height: 24px;
}
.y-surface-close:hover {
  background: rgba(var(--v-theme-secondary), var(--v-hover-opacity));
}
.y-surface-close:focus-visible {
  outline: none;
  background: rgba(var(--v-theme-secondary), var(--v-focus-opacity));
}

/* The Vue app's divider draws no line: settings.scss hands Vuetify an
   important border-style holding a color, which computes to none. This keeps
   that look until the setting is fixed, when it becomes a 1px top border. */
.y-divider {
  display: block;
  height: 0;
  margin: 0;
  border: 0;
}

/* Details: Vuetify's flat card title and text, and its default-density row
   of a two-twelfths label column and a growing value column. The row's
   bottom rule comes from the global .v-row override in base.css. */
.y-details__title {
  padding: 0.5rem 1rem;
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.2727272727;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.y-details__text {
  padding: 1rem;
  font-size: 0.875rem;
  line-height: 1.4285714286;
  letter-spacing: 0.0178571429em;
}
.y-details__row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.y-details__label {
  flex: 0 0 calc(2 * (100% + 24px) / 12 - 24px);
  max-width: calc(2 * (100% + 24px) / 12 - 24px);
}
.y-details__value {
  flex: 1 1 0;
  min-width: 0;
  word-break: break-word;
}

.y-overview-card {
  display: block;
  background: rgb(var(--v-theme-structure-primary));
}
a.y-overview-card {
  color: rgb(var(--v-theme-secondary-grey));
  text-decoration: none;
}
.y-overview-card--link {
  cursor: pointer;
}
.y-overview-card--link:hover {
  border-color: rgb(var(--v-theme-blue-bg));
  background-color: rgb(var(--v-theme-blue-bg));
}
.y-overview-card--link:active {
  border-color: rgb(var(--v-theme-blue-icon));
}
.y-overview-card--selected {
  background-color: rgb(var(--v-theme-blue-bg));
}
.y-overview-card--selected:hover {
  border-color: rgb(var(--v-theme-blue-icon));
  background-color: rgb(var(--v-theme-info-bg));
}

.y-icon-strip,
.y-icon-strip .v-sheet--rounded {
  border-radius: 10px;
}
.v-theme--dark .y-icon-strip {
  background-color: rgba(var(--y-strip), 0.12) !important;
  border: 1px solid rgba(var(--y-strip), 0.3);
}

/* A v-sheet a card holds is Vuetify's VSheet: its text is the surface's
   high-emphasis color rather than the body's. */
.y-card > .v-sheet {
  color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
}

/* Swagger UI inside the product: its own header and scheme bar are hidden,
   the page draws the heading and the Authorize control, and its palette is
   mapped to the theme tokens in dark mode, where it ships a light one. */

.y-swagger[data-swagger] {
  padding: 0;
}

.y-swagger[data-swagger] .topbar {
  display: none;
}

.y-swagger[data-swagger] .swagger-ui {
  font-family: 'Reddit Sans', sans-serif;
}

.y-swagger[data-swagger] .swagger-ui .wrapper {
  max-width: none;
  padding: 8px 20px 24px;
}

.y-swagger[data-swagger] .swagger-ui .info {
  display: none;
}

.y-swagger[data-swagger] .swagger-ui .info hgroup.main {
  margin: 0 0 10px;
}

.y-swagger[data-swagger] .swagger-ui .info .title {
  display: none;
}

.y-swagger[data-swagger] .swagger-ui .info .base-url,
.y-swagger[data-swagger] .swagger-ui .info .url {
  display: none;
}

.y-swagger[data-swagger] .swagger-ui .info .markdown {
  display: none;
}

.y-swagger[data-swagger] .swagger-ui h1,
.y-swagger[data-swagger] .swagger-ui h2,
.y-swagger[data-swagger] .swagger-ui h3,
.y-swagger[data-swagger] .swagger-ui h4,
.y-swagger[data-swagger] .swagger-ui h5,
.y-swagger[data-swagger] .swagger-ui h6 {
  letter-spacing: normal !important;
  line-height: 1.2 !important;
}

.y-swagger[data-swagger] .swagger-ui .opblock-tag {
  font-size: 22px !important;
  line-height: 1.2 !important;
  margin: 0;
  padding: 14px 0 10px;
}

.y-swagger[data-swagger] .swagger-ui .opblock-tag-section {
  margin: 0;
}

.y-swagger[data-swagger] .swagger-ui .opblock-summary {
  min-height: 44px;
}

.y-swagger[data-swagger] .swagger-ui .opblock-summary-method {
  min-width: 58px;
  padding: 6px 10px;
  font-size: 13px;
  line-height: 1.2;
}

.y-swagger[data-swagger] .swagger-ui .opblock-summary-path,
.y-swagger[data-swagger] .swagger-ui .opblock-summary-description {
  font-size: 14px;
  line-height: 1.3;
}

.y-swagger[data-swagger] .scheme-container {
  display: none;
}

.y-swagger[data-swagger] .authorization__btn {
  display: none;
}

.v-theme--dark .y-swagger .swagger-ui,
.v-theme--dark .y-swagger .swagger-ui .opblock-tag,
.v-theme--dark .y-swagger .swagger-ui .opblock-tag small,
.v-theme--dark .y-swagger .swagger-ui .opblock .opblock-summary-path,
.v-theme--dark .y-swagger .swagger-ui .opblock .opblock-summary-path__deprecated,
.v-theme--dark .y-swagger .swagger-ui .opblock .opblock-summary-operation-id,
.v-theme--dark .y-swagger .swagger-ui .opblock-description-text,
.v-theme--dark .y-swagger .swagger-ui .opblock-title_normal,
.v-theme--dark .y-swagger .swagger-ui .opblock-section-header h4,
.v-theme--dark .y-swagger .swagger-ui .opblock-section-header > label,
.v-theme--dark .y-swagger .swagger-ui .tab li,
.v-theme--dark .y-swagger .swagger-ui .parameter__name,
.v-theme--dark .y-swagger .swagger-ui .parameters-col_description,
.v-theme--dark .y-swagger .swagger-ui table.parameters td,
.v-theme--dark .y-swagger .swagger-ui table thead tr td,
.v-theme--dark .y-swagger .swagger-ui table thead tr th,
.v-theme--dark .y-swagger .swagger-ui .response-col_status,
.v-theme--dark .y-swagger .swagger-ui .response-col_description,
.v-theme--dark .y-swagger .swagger-ui .responses-inner h4,
.v-theme--dark .y-swagger .swagger-ui .responses-inner h5,
.v-theme--dark .y-swagger .swagger-ui .model-title,
.v-theme--dark .y-swagger .swagger-ui .model,
.v-theme--dark .y-swagger .swagger-ui section.models h4,
.v-theme--dark .y-swagger .swagger-ui section.models h5,
.v-theme--dark .y-swagger .swagger-ui label,
.v-theme--dark .y-swagger .swagger-ui .markdown p,
.v-theme--dark .y-swagger .swagger-ui .markdown li,
.v-theme--dark .y-swagger .swagger-ui .renderedMarkdown p,
.v-theme--dark .y-swagger .swagger-ui .renderedMarkdown li {
  color: rgb(var(--v-theme-text-default));
}

.v-theme--dark .y-swagger .swagger-ui .parameter__type,
.v-theme--dark .y-swagger .swagger-ui .parameter__in,
.v-theme--dark .y-swagger .swagger-ui .parameter__extension,
.v-theme--dark .y-swagger .swagger-ui .opblock .opblock-summary-description,
.v-theme--dark .y-swagger .swagger-ui .response-col_links {
  color: rgb(var(--v-theme-text-secondary));
}

.v-theme--dark .y-swagger .swagger-ui a {
  color: rgb(var(--v-theme-primary));
}

.v-theme--dark .y-swagger .swagger-ui .opblock .opblock-section-header {
  background: rgba(var(--v-theme-on-surface), 0.04);
  box-shadow: none;
}

.v-theme--dark .y-swagger .swagger-ui section.models,
.v-theme--dark .y-swagger .swagger-ui section.models .model-container {
  background: rgba(var(--v-theme-on-surface), 0.03);
  border-color: rgba(var(--v-theme-outline), 0.2);
}

.v-theme--dark .y-swagger .swagger-ui .model-box {
  background: rgba(var(--v-theme-on-surface), 0.04);
}

.v-theme--dark .y-swagger .swagger-ui table thead tr td,
.v-theme--dark .y-swagger .swagger-ui table thead tr th {
  border-bottom-color: rgba(var(--v-theme-outline), 0.2);
}

.v-theme--dark .y-swagger .swagger-ui input[type='text'],
.v-theme--dark .y-swagger .swagger-ui input[type='password'],
.v-theme--dark .y-swagger .swagger-ui input[type='email'],
.v-theme--dark .y-swagger .swagger-ui input[type='search'],
.v-theme--dark .y-swagger .swagger-ui input[type='file'],
.v-theme--dark .y-swagger .swagger-ui textarea,
.v-theme--dark .y-swagger .swagger-ui select {
  color: rgb(var(--v-theme-text-default));
  background: rgb(var(--v-theme-surface));
  border-color: rgba(var(--v-theme-outline), 0.4);
}

.v-theme--dark .y-swagger .swagger-ui .btn {
  color: rgb(var(--v-theme-text-default));
  border-color: rgba(var(--v-theme-outline), 0.5);
}

.v-theme--dark .y-swagger .swagger-ui .btn.execute,
.v-theme--dark .y-swagger .swagger-ui .btn.authorize {
  color: #fff;
}

.v-theme--dark .y-swagger .swagger-ui .expand-operation svg,
.v-theme--dark .y-swagger .swagger-ui .opblock-summary-control svg,
.v-theme--dark .y-swagger .swagger-ui .models-control svg,
.v-theme--dark .y-swagger .swagger-ui .model-toggle:after {
  fill: rgb(var(--v-theme-text-default));
}

/* A system bar is Vuetify's v-system-bar laid out as an app bar: fixed to the
   top of the window, starting where the drawer ends, with v-main padded by
   its height. The generated vuetify.css does not carry its rules. */
.y-system-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1004;
  height: 40px;
  max-width: 100%;
  padding-inline: 8px;
  text-align: end;
  font-size: 0.6875rem;
  letter-spacing: 0.0454545455em;
  line-height: 1.4545454545;
  transform: translateY(0);
}
.y-shell .y-system-bar {
  left: 280px;
}
.y-shell--collapsed .y-system-bar {
  left: 76px;
}
.y-shell:has(> .y-system-bar) .y-shell__main {
  padding-top: 40px;
}
.y-shell:has(> .y-system-bar) .y-view-header {
  top: 40px;
}
.y-system-bar .v-icon {
  opacity: var(--v-medium-emphasis-opacity);
}
.y-system-bar__close {
  position: fixed;
  right: 0;
  font-size: 24px;
  height: 24px;
  width: 24px;
}

/* A persistent dialog is MinimizableOverlay maximized: centred, the page
   behind it dimmed and blurred. */
.y-persistent-dialog {
  width: var(--y-dialog-width);
  max-width: calc(100% - 32px);
  max-height: calc(100% - 32px);
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.y-persistent-dialog:focus-visible {
  outline: none;
}
.y-persistent-dialog::backdrop {
  background: linear-gradient(180deg, rgba(0, 8, 46, 0.3) 5.04%, rgba(0, 67, 90, 0.3) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.y-persistent-dialog .y-card {
  box-shadow: 0 858px 240px 0 rgba(0, 0, 0, 0), 0 549px 220px 0 rgba(0, 0, 0, 0.01), 0 309px 185px 0 rgba(0, 0, 0, 0.05), 0 137px 137px 0 rgba(0, 0, 0, 0.09), 0 34px 76px 0 rgba(0, 0, 0, 0.1);
}
.y-persistent-dialog .y-card:focus-visible {
  outline: none;
}

/* base.css carries the Vue rule with its unresolved source path. */
.top-gradient-dialog {
  background-image: url("images/onboarder-gradient.svg");
  background-size: auto;
  background-repeat: no-repeat;
  background-color: rgb(var(--v-theme-surface));
}

/* The tables group's own rules, after Vuetify's. */

/* A header's sort link reads as the header text, in both themes, rather
   than as a link. */
.v-table > .v-table__wrapper > table > thead a.y-table-header {
  color: inherit;
  text-decoration: none;
}
.y-table-header__sort {
  opacity: 0;
}
.v-data-table__th--sorted .y-table-header__sort {
  opacity: 1;
}
.v-data-table__th--sortable:not(.v-data-table__th--sorted):hover .y-table-header__sort,
.y-table-header:focus-visible .y-table-header__sort {
  opacity: 1;
  color: rgb(var(--v-theme-text-disabled));
}

/* The checkbox draws its icon from its own state, so it needs no script. */
.y-checkbox__icon::before {
  content: "\F0131";
}
.y-checkbox .v-selection-control__input:has(> input:checked) > .y-checkbox__icon {
  opacity: 1;
  color: rgb(var(--v-theme-primary));
}
.y-checkbox .v-selection-control__input:has(> input:checked) > .y-checkbox__icon::before {
  content: "\F0132";
}
.y-checkbox--mixed .v-selection-control__input > .y-checkbox__icon {
  opacity: 1;
  color: rgb(var(--v-theme-primary));
}
.y-checkbox--mixed .v-selection-control__input > .y-checkbox__icon::before {
  content: "\F0375";
}
.y-checkbox:has(input:disabled) {
  opacity: var(--v-disabled-opacity);
  pointer-events: none;
}

/* The trailing action column stays in view when the table scrolls sideways,
   so it paints the row's hover and selected tints itself, over the opaque
   surface that hides what scrolls beneath it. */
.v-table > .v-table__wrapper > table > tbody > .v-data-table__tr:hover > .v-data-table-column--fixed-end {
  background: linear-gradient(rgba(128, 128, 128, 0.15), rgba(128, 128, 128, 0.15)), rgb(var(--v-theme-surface));
}
.v-data-table tbody tr:has(.v-selection-control input:checked) > .v-data-table-column--fixed-end {
  background-color: rgb(var(--v-theme-state-primary-selected));
}

/* htmx marks the table while it fetches the next state; the rows dim the way
   a loading Vuetify table's do. */
.y-data-table.htmx-request tbody .v-data-table__tr {
  opacity: 0.5;
  pointer-events: none;
}

/* The expand button shows the chevron for where the row goes next. */
.y-expand__close,
.y-expand[aria-expanded="true"] .y-expand__open {
  display: none;
}
.y-expand[aria-expanded="true"] .y-expand__close {
  display: inline-flex;
}

/* Vuetify draws no line under the last row, but a closed expansion row is
   still the last child, so the row before it would keep its line. The line is
   an !important in Vuetify's component layer, which only an !important in an
   earlier layer overrides. */
@layer vuetify-core {
  .v-table > .v-table__wrapper > table > tbody > tr:has(+ tr.y-expanded-row[hidden]:last-child) > td {
    border-bottom: 0 !important;
  }
}

/* The footer's page size is a native select drawn as Vuetify's compact
   outlined one. */
.v-data-table-footer__items-per-page > label {
  padding-inline-end: 8px;
}
.v-data-table-footer__items-per-page > .y-per-page {
  padding: 0;
}
.y-per-page {
  position: relative;
  display: inline-flex;
  flex: none;
  width: 90px;
  height: 36px;
}
.y-per-page > select {
  width: 100%;
  height: 100%;
  padding: 6px 32px 6px 11px;
  border: 1px solid rgba(128, 128, 128, 0.25);
  border-radius: 8px;
  outline: none;
  background: transparent;
  color: rgba(var(--v-theme-on-surface), calc(var(--v-high-emphasis-opacity) * var(--v-high-emphasis-opacity)));
  font: inherit;
  letter-spacing: 0.009375em;
  cursor: pointer;
}
.y-per-page > select:hover,
.y-per-page > select:focus-visible {
  border-color: rgb(var(--v-theme-primary));
}
.y-per-page > .v-icon {
  position: absolute;
  top: 7.5px;
  right: 12px;
  opacity: var(--v-medium-emphasis-opacity);
  pointer-events: none;
}
.v-theme--dark .y-per-page > select {
  border-color: rgba(var(--v-theme-on-surface), 0.1);
}

.y-search__box {
  min-height: 36px;
  border: 1px solid rgb(var(--v-theme-structure-border));
  border-radius: 10px;
  background: rgb(var(--v-theme-state-primary));
  cursor: text;
  transition: all 0.2s ease;
}
.y-search__box:hover {
  border-color: rgba(128, 128, 128, 0.25);
}
.y-search__box:focus-within {
  border-color: rgb(var(--v-theme-primary));
  box-shadow: 0 0 0 3px rgba(var(--v-theme-primary), 0.1);
}
.y-search__icon {
  font-size: 20px;
  width: 20px;
  height: 20px;
}
.y-search__input {
  flex: 1 1 auto;
  min-width: 120px;
  min-height: 28px;
  padding: 1px 2px;
  border: none;
  outline: none;
  background: transparent;
  color: rgb(var(--v-theme-text-default));
  font: inherit;
  font-size: 14px;
  font-weight: 400;
}
.y-search__input::placeholder {
  color: rgb(var(--v-theme-text-secondary));
}
.y-search__input::-webkit-search-cancel-button {
  display: none;
}

/* Sticky rather than static, so on a long page the actions stay in reach
   under the app bar. */
.y-bulk-bar {
  position: sticky;
  top: 0;
  z-index: 3;
}
.y-bulk-bar .y-card {
  color: rgb(var(--v-theme-secondary-grey));
}
.y-bulk-bar__checkbox .v-selection-control__input {
  padding: 0;
  border: 0;
  background: none;
  color: rgb(var(--v-theme-primary));
  cursor: pointer;
}
.y-bulk-bar__checkbox .v-selection-control__input > .v-icon {
  opacity: 1;
}
.y-bulk-bar__clear .v-btn {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.y-expandable-list > summary {
  list-style: none;
  cursor: pointer;
}
.y-expandable-list > summary::-webkit-details-marker {
  display: none;
}
.y-expandable-list__chevron::before {
  content: "\F0140";
}
.y-expandable-list[open] .y-expandable-list__chevron::before {
  content: "\F0143";
}

/* The column chooser's menu is a Vuetify list: a drag handle, the title and
   the eye that shows or hides the column. */
.y-column-chooser {
  display: flex;
}
.y-column-menu {
  inset: auto;
  position-area: bottom span-right;
  position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
  margin: 0;
  padding: 8px 0;
  min-width: 160px;
  border: 0;
  border-radius: 4px;
  background: rgb(var(--v-theme-surface));
  color: color-mix(in srgb, rgb(var(--v-theme-on-surface)) calc(var(--v-high-emphasis-opacity) * 100%), transparent);
  box-shadow: 0px 1px 3px 0px rgba(var(--v-shadow-color), var(--v-shadow-key-opacity, 0.3)), 0px 4px 8px 3px rgba(var(--v-shadow-color), var(--v-shadow-ambient-opacity, 0.15));
}
.y-column-menu__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.y-column-menu__item {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 4px 10px 4px 9px;
  cursor: grab;
}
.y-column-menu__drag {
  margin-inline-end: 10px;
}
.y-column-menu__item:hover {
  background: rgba(var(--v-theme-on-surface), var(--v-hover-opacity));
}
.y-column-menu__title {
  flex: 1 1 auto;
  margin-inline-end: 29px;
  font-size: 1rem;
  letter-spacing: 0.009375em;
  line-height: 1.5rem;
  white-space: nowrap;
}
.y-column-menu__toggle {
  display: inline-flex;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.y-column-menu__hidden,
.y-column-menu__item[data-hidden="true"] .y-column-menu__shown {
  display: none;
}
.y-column-menu__item[data-hidden="true"] .y-column-menu__hidden {
  display: inline-flex;
}
.y-column-chooser > [hidden] {
  display: none;
}

.y-table-search-field {
  min-width: 200px;
}

.y-table-search-field .y-field-group {
  width: 150px;
}

.y-row-link {
  cursor: pointer;
}

.v-data-table-column--align-center > .y-table-header {
  justify-content: center;
}

/* The header is a flex row, so the th's text-align never reaches it. A
   right-aligned column reverses the row, as Vuetify's own header does, so its
   title sits over the numbers and its icons open to its left. */
.v-data-table-column--align-end > .y-table-header {
  flex-direction: row-reverse;
}

.y-tip[data-tip-clipped] {
  overflow-y: hidden;
}

.y-tip__text {
  position: fixed;
  inset: auto;
  margin: 0;
  border: 0;
  width: max-content;
  padding: 5px 16px;
  border-radius: 10px;
  background: rgb(var(--v-theme-surface-variant));
  color: rgb(var(--v-theme-on-surface-variant));
  font-size: 0.875rem;
  line-height: 1.6;
  letter-spacing: normal;
  overflow: visible;
  overflow-wrap: break-word;
  pointer-events: none;
  opacity: 0;
  transition: opacity 150ms cubic-bezier(0, 0, 0.2, 1);
}

.y-tip__text:popover-open {
  opacity: 1;
}

@starting-style {
  .y-tip__text:popover-open {
    opacity: 0;
  }
}

.y-filedrop__zone {
  border-radius: 8px;
  outline: none;
  cursor: pointer;
}

.y-filedrop__zone:focus-visible .y-filedrop__dashed {
  border-color: rgb(var(--v-theme-primary));
}

.y-filedrop__dashed {
  border: 2px dashed rgba(128, 128, 128, 0.35);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.y-filedrop__zone.is-disabled {
  cursor: not-allowed;
  pointer-events: none;
}

.y-filedrop__zone.is-dragover .y-filedrop__dashed {
  border-color: rgb(var(--v-theme-primary));
  background-color: rgb(var(--v-theme-state-primary-hover));
}

.y-filedrop__zone:hover .y-filedrop__dashed {
  border-style: solid;
  border-color: rgb(var(--v-theme-primary));
  background-color: rgb(var(--v-theme-state-primary-hover));
}

.y-filedrop__text {
  color: rgb(var(--v-theme-text-secondary));
}

.y-filedrop__link {
  color: rgb(var(--v-theme-primary));
  font-weight: 600;
}

.y-filedrop__zone:hover .y-filedrop__link {
  text-decoration: underline;
}

.y-filedrop__sub {
  color: rgb(var(--v-theme-text-disabled));
  font-size: 0.9em;
}

.y-filedrop__files {
  display: grid;
  grid-row-gap: 8px;
  text-align: left;
}

.y-filedrop__file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgb(var(--v-theme-structure-border));
  border-radius: 10px;
  background: rgb(var(--v-theme-surface));
}

.y-filedrop__file--error {
  border-color: rgb(var(--v-theme-error-icon));
  background: rgba(var(--v-theme-error-icon), 0.08);
}

.y-filedrop__meta {
  min-width: 0;
  flex: 1;
}

.y-filedrop__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgb(var(--v-theme-text-default));
}

.y-filedrop__size {
  color: rgb(var(--v-theme-text-secondary));
}

.y-filedrop__error {
  color: rgb(var(--v-theme-error-icon));
  line-height: 1.25;
  white-space: normal;
}

.y-filedrop__remove {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgb(var(--v-theme-structure-border));
  background: rgb(var(--v-theme-surface));
  color: rgb(var(--v-theme-text-secondary));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.y-filedrop__remove:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.y-file-field .v-input__prepend {
  margin-block-start: 0;
  align-self: center;
}

.y-file-field .v-field__field {
  position: relative;
}

.y-file-field input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.y-file-field [data-file-names] {
  min-height: 40px;
  align-items: center;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* The raw Vuetify text field: the clear button shows only while the field
   holds something. */

.y-vfield:not(.v-input--dirty) .v-field__clearable {
  display: none;
}

/* The Minimal Workspace: its palettes, its typeface, its shell and the
   restyling of the shared components inside it. Every rule is scoped to
   html[data-workspace="new"], which the server sets only on a page drawn in
   the workspace, so a classic page never matches one. The palettes set the
   --mw-* tokens the shell reads and the --v-theme-* tokens every other
   component reads, so a screen follows the theme without knowing it. */

[data-workspace="new"] {
    /* The UI family is the app-wide token (styles/fonts.css): Hanken Grotesk here. */
    --mw-font: var(--app-font-family);
    --mw-r: 8px;
    --mw-r-lg: 10px;
    --mw-shadow-pop: 0 0 0 1px rgba(var(--mw-shadow-ink), .08), 0 4px 12px rgba(var(--mw-shadow-ink), .06), 0 24px 48px -20px rgba(var(--mw-shadow-ink), .28);
    --mw-pad-x: 40px;
    /* The employee workspace's page column, gutters included (shell.css). */
    --mw-page-max: 1200px;
}
/* Dark: a menu's surface is the canvas color and black ink makes no edge on it, so its ring is
   the theme's own border. */
[data-workspace="new"][data-theme="dark"] {
    --mw-shadow-pop: 0 0 0 1px var(--mw-border-subtle), 0 4px 12px rgba(var(--mw-shadow-ink), .3), 0 24px 48px -20px rgba(var(--mw-shadow-ink), .6);
}

:root { --app-font-family: "Reddit Sans", sans-serif; }
[data-workspace="new"] { --app-font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif; }
[data-workspace="new"] body, [data-workspace="new"] .v-application, [data-workspace="new"] button, [data-workspace="new"] input, [data-workspace="new"] select, [data-workspace="new"] textarea { font-family: var(--app-font-family); }

/* Hanken Grotesk: Google Fonts (SIL OFL 1.1), Latin + Latin Extended subsets. */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/hanken-grotesk/hanken-grotesk-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/hanken-grotesk/hanken-grotesk-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/hanken-grotesk/hanken-grotesk-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/hanken-grotesk/hanken-grotesk-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

[data-workspace="new"][data-theme="slate-blue"] {
    --mw-bg-canvas: #FCFDFE;
    --mw-bg-rail: #EAF0F7;
    --mw-bg-sidebar: #F6F8FC;
    --mw-bg-rae: #FDFEFF;
    --mw-bg-hover: #EFF3F9;
    --mw-bg-selected: #E3ECF8;
    --mw-bg-subtle: #F3F6FA;
    --mw-text-primary: #18263D;
    --mw-text-secondary: #4B586C;
    --mw-text-tertiary: #617086;
    --mw-border-subtle: #E0E6EF;
    --mw-border-faint: #EBEFF5;
    --mw-border-strong: #C4CEDC;
    --mw-action-primary: #244D82;
    --mw-action-primary-hover: #2D5C99;
    --mw-action-on-primary: #FFFFFF;
    --mw-action-link: #244D82;
    --mw-focus-ring: #2F64A8;
    --mw-status-success: #2C6E4E;
    --mw-status-warning: #875800;
    --mw-status-warning-soft: #FBF4E4;
    --mw-status-attention: #E0700F;
    --mw-status-warning-line: #E8D3A6;
    --mw-status-danger: #B3261E;
    --mw-status-danger-soft: #FCEEED;
    --mw-status-running: #2F6FDE;
    --mw-progress-track: #E5EBF3;
    --mw-progress-fill: #4D6E98;
    --mw-rae-gradient: #E1EAF6;
    --mw-rae-pixel: #2F64A8;
    --mw-brand-mark: #244D82;
    --mw-rae-mark-filter: none;
    --mw-shadow-ink: 24, 38, 61;
}
[data-workspace="new"][data-theme="slate-blue"] :is(.v-theme--light, .v-theme--dark) {
    --v-theme-background: 252,253,254;
    --v-theme-surface: 252,253,254;
    --v-theme-surface-bright: 252,253,254;
    --v-theme-surface-light: 243,246,250;
    --v-theme-surface-variant: 239,243,249;
    --v-theme-on-surface-variant: 75,88,108;
    --v-theme-on-background: 24,38,61;
    --v-theme-on-surface: 24,38,61;
    --v-theme-primary: 36,77,130;
    --v-theme-on-primary: 255,255,255;
    --v-theme-primary-hover: 45,92,153;
    --v-theme-primary-pressed: 45,92,153;
    --v-theme-primary-disabled: 196,206,220;
    --v-theme-primary-bg: 227,236,248;
    --v-theme-primary-dark: 24,38,61;
    --v-theme-brand-bg: 227,236,248;
    --v-theme-primary-light: 97,112,134;
    --v-theme-secondary: 75,88,108;
    --v-theme-text-default: 24,38,61;
    --v-theme-text-secondary: 75,88,108;
    --v-theme-text-disabled: 97,112,134;
    --v-theme-secondary-grey: 75,88,108;
    --v-theme-secondary-disabled: 97,112,134;
    --v-theme-state-primary: 252,253,254;
    --v-theme-state-primary-hover: 239,243,249;
    --v-theme-state-primary-pressed: 227,236,248;
    --v-theme-state-primary-selected: 227,236,248;
    --v-theme-state-secondary: 252,253,254;
    --v-theme-state-secondary-hover: 239,243,249;
    --v-theme-state-secondary-pressed: 227,236,248;
    --v-theme-state-secondary-selected: 227,236,248;
    --v-theme-structure-border: 224,230,239;
    --v-theme-structure-hover: 239,243,249;
    --v-theme-structure-table-default: 252,253,254;
    --v-theme-structure-table-hover: 239,243,249;
    --v-theme-structure-primary: 252,253,254;
    --v-theme-structure-secondary: 243,246,250;
    --v-theme-success: 44,110,78;
    --v-theme-success-icon: 44,110,78;
    --v-theme-success-text: 44,110,78;
    --v-theme-success-bg: 231,239,236;
    --v-theme-error: 179,38,30;
    --v-theme-error-icon: 179,38,30;
    --v-theme-error-text: 179,38,30;
    --v-theme-error-bg: 252,238,237;
    --v-theme-warning: 135,88,0;
    --v-theme-warning-icon: 135,88,0;
    --v-theme-warning-text: 135,88,0;
    --v-theme-warning-bg: 251,244,228;
    --v-theme-info: 47,111,222;
    --v-theme-blue-icon: 47,111,222;
    --v-theme-blue-text: 47,111,222;
    --v-theme-blue-bg: 232,239,251;
    --v-theme-info-icon: 97,112,134;
    --v-theme-info-bg: 243,246,250;
    --v-theme-info-text: 24,38,61;
    --v-theme-navigation-bg: 246,248,252;
    --v-theme-navigation-bg-light: 246,248,252;
    --v-theme-navigation-text: 24,38,61;
    --v-theme-navigation-text-light: 24,38,61;
    --v-theme-nav-selected-bg: 227,236,248;
    --v-theme-new-app-bg: 246,248,252;
    --v-theme-new-app-bg-light: 246,248,252;
    --v-theme-new-brand-text-light: 75,88,108;
    --v-theme-light-blue-bg: 243,246,250;
    --v-theme-light-blue-grey: 239,243,249;
    --v-theme-header-bg: 252,253,254;
    --v-theme-footer-bg: 243,246,250;
    --v-theme-switch-track-off: 196,206,220;
}
[data-workspace="new"][data-theme="forest"] {
    --mw-bg-canvas: #FFFFFF;
    --mw-bg-rail: #EEF3F0;
    --mw-bg-sidebar: #F7F9F8;
    --mw-bg-rae: #FFFFFF;
    --mw-bg-hover: #F1F5F3;
    --mw-bg-selected: #E6F0EA;
    --mw-bg-subtle: #F6F8F7;
    --mw-text-primary: #14221C;
    --mw-text-secondary: #4E5A55;
    --mw-text-tertiary: #66716C;
    --mw-border-subtle: #E1E7E4;
    --mw-border-faint: #ECF0EE;
    --mw-border-strong: #C6CFCB;
    --mw-action-primary: #123D2A;
    --mw-action-primary-hover: #1B4F38;
    --mw-action-on-primary: #FFFFFF;
    --mw-action-link: #1B4F38;
    --mw-focus-ring: #2F6B4F;
    --mw-status-success: #2E7350;
    --mw-status-warning: #8A5A00;
    --mw-status-warning-soft: #FBF4E4;
    --mw-status-attention: #E0700F;
    --mw-status-warning-line: #E8D3A6;
    --mw-status-danger: #B3261E;
    --mw-status-danger-soft: #FCEEED;
    --mw-status-running: #2F6FDE;
    --mw-progress-track: #E8EEEB;
    --mw-progress-fill: #4F7A66;
    --mw-rae-gradient: #E3F0E8;
    --mw-rae-pixel: #2F6B4F;
    --mw-brand-mark: #123D2A;
    --mw-rae-mark-filter: none;
    --mw-shadow-ink: 30, 40, 36;
}
[data-workspace="new"][data-theme="forest"] :is(.v-theme--light, .v-theme--dark) {
    --v-theme-background: 255,255,255;
    --v-theme-surface: 255,255,255;
    --v-theme-surface-bright: 255,255,255;
    --v-theme-surface-light: 246,248,247;
    --v-theme-surface-variant: 241,245,243;
    --v-theme-on-surface-variant: 78,90,85;
    --v-theme-on-background: 20,34,28;
    --v-theme-on-surface: 20,34,28;
    --v-theme-primary: 18,61,42;
    --v-theme-on-primary: 255,255,255;
    --v-theme-primary-hover: 27,79,56;
    --v-theme-primary-pressed: 27,79,56;
    --v-theme-primary-disabled: 198,207,203;
    --v-theme-primary-bg: 230,240,234;
    --v-theme-primary-dark: 20,34,28;
    --v-theme-brand-bg: 230,240,234;
    --v-theme-primary-light: 102,113,108;
    --v-theme-secondary: 78,90,85;
    --v-theme-text-default: 20,34,28;
    --v-theme-text-secondary: 78,90,85;
    --v-theme-text-disabled: 102,113,108;
    --v-theme-secondary-grey: 78,90,85;
    --v-theme-secondary-disabled: 102,113,108;
    --v-theme-state-primary: 255,255,255;
    --v-theme-state-primary-hover: 241,245,243;
    --v-theme-state-primary-pressed: 230,240,234;
    --v-theme-state-primary-selected: 230,240,234;
    --v-theme-state-secondary: 255,255,255;
    --v-theme-state-secondary-hover: 241,245,243;
    --v-theme-state-secondary-pressed: 230,240,234;
    --v-theme-state-secondary-selected: 230,240,234;
    --v-theme-structure-border: 225,231,228;
    --v-theme-structure-hover: 241,245,243;
    --v-theme-structure-table-default: 255,255,255;
    --v-theme-structure-table-hover: 241,245,243;
    --v-theme-structure-primary: 255,255,255;
    --v-theme-structure-secondary: 246,248,247;
    --v-theme-success: 46,115,80;
    --v-theme-success-icon: 46,115,80;
    --v-theme-success-text: 46,115,80;
    --v-theme-success-bg: 234,241,238;
    --v-theme-error: 179,38,30;
    --v-theme-error-icon: 179,38,30;
    --v-theme-error-text: 179,38,30;
    --v-theme-error-bg: 252,238,237;
    --v-theme-warning: 138,90,0;
    --v-theme-warning-icon: 138,90,0;
    --v-theme-warning-text: 138,90,0;
    --v-theme-warning-bg: 251,244,228;
    --v-theme-info: 47,111,222;
    --v-theme-blue-icon: 47,111,222;
    --v-theme-blue-text: 47,111,222;
    --v-theme-blue-bg: 234,241,252;
    --v-theme-info-icon: 102,113,108;
    --v-theme-info-bg: 246,248,247;
    --v-theme-info-text: 20,34,28;
    --v-theme-navigation-bg: 247,249,248;
    --v-theme-navigation-bg-light: 247,249,248;
    --v-theme-navigation-text: 20,34,28;
    --v-theme-navigation-text-light: 20,34,28;
    --v-theme-nav-selected-bg: 230,240,234;
    --v-theme-new-app-bg: 247,249,248;
    --v-theme-new-app-bg-light: 247,249,248;
    --v-theme-new-brand-text-light: 78,90,85;
    --v-theme-light-blue-bg: 246,248,247;
    --v-theme-light-blue-grey: 241,245,243;
    --v-theme-header-bg: 255,255,255;
    --v-theme-footer-bg: 246,248,247;
    --v-theme-switch-track-off: 198,207,203;
}
[data-workspace="new"][data-theme="monochrome"] {
    --mw-bg-canvas: #FFFFFF;
    --mw-bg-rail: #F3F3F2;
    --mw-bg-sidebar: #FAFAF9;
    --mw-bg-rae: #FFFFFF;
    --mw-bg-hover: #F2F2F1;
    --mw-bg-selected: #EAEAE8;
    --mw-bg-subtle: #F6F6F5;
    --mw-text-primary: #161616;
    --mw-text-secondary: #4D4D4D;
    --mw-text-tertiary: #666666;
    --mw-border-subtle: #E6E6E4;
    --mw-border-faint: #EFEFED;
    --mw-border-strong: #CACAC7;
    --mw-action-primary: #181818;
    --mw-action-primary-hover: #333333;
    --mw-action-on-primary: #FFFFFF;
    --mw-action-link: #181818;
    --mw-focus-ring: #181818;
    --mw-status-success: #2E2E2E;
    --mw-status-warning: #8A5A00;
    --mw-status-warning-soft: #FAF4E6;
    --mw-status-attention: #E0700F;
    --mw-status-warning-line: #E6D4AE;
    --mw-status-danger: #B3261E;
    --mw-status-danger-soft: #FCEEED;
    --mw-status-running: #2F6FDE;
    --mw-progress-track: #EBEBE9;
    --mw-progress-fill: #3A3A3A;
    --mw-rae-gradient: #ECECEA;
    --mw-rae-pixel: #2A2A2A;
    --mw-brand-mark: #161616;
    --mw-rae-mark-filter: grayscale(1);
    --mw-shadow-ink: 20, 20, 20;
}
[data-workspace="new"][data-theme="monochrome"] :is(.v-theme--light, .v-theme--dark) {
    --v-theme-background: 255,255,255;
    --v-theme-surface: 255,255,255;
    --v-theme-surface-bright: 255,255,255;
    --v-theme-surface-light: 246,246,245;
    --v-theme-surface-variant: 242,242,241;
    --v-theme-on-surface-variant: 77,77,77;
    --v-theme-on-background: 22,22,22;
    --v-theme-on-surface: 22,22,22;
    --v-theme-primary: 24,24,24;
    --v-theme-on-primary: 255,255,255;
    --v-theme-primary-hover: 51,51,51;
    --v-theme-primary-pressed: 51,51,51;
    --v-theme-primary-disabled: 202,202,199;
    --v-theme-primary-bg: 234,234,232;
    --v-theme-primary-dark: 22,22,22;
    --v-theme-brand-bg: 234,234,232;
    --v-theme-primary-light: 102,102,102;
    --v-theme-secondary: 77,77,77;
    --v-theme-text-default: 22,22,22;
    --v-theme-text-secondary: 77,77,77;
    --v-theme-text-disabled: 102,102,102;
    --v-theme-secondary-grey: 77,77,77;
    --v-theme-secondary-disabled: 102,102,102;
    --v-theme-state-primary: 255,255,255;
    --v-theme-state-primary-hover: 242,242,241;
    --v-theme-state-primary-pressed: 234,234,232;
    --v-theme-state-primary-selected: 234,234,232;
    --v-theme-state-secondary: 255,255,255;
    --v-theme-state-secondary-hover: 242,242,241;
    --v-theme-state-secondary-pressed: 234,234,232;
    --v-theme-state-secondary-selected: 234,234,232;
    --v-theme-structure-border: 230,230,228;
    --v-theme-structure-hover: 242,242,241;
    --v-theme-structure-table-default: 255,255,255;
    --v-theme-structure-table-hover: 242,242,241;
    --v-theme-structure-primary: 255,255,255;
    --v-theme-structure-secondary: 246,246,245;
    --v-theme-success: 46,46,46;
    --v-theme-success-icon: 46,46,46;
    --v-theme-success-text: 46,46,46;
    --v-theme-success-bg: 234,234,234;
    --v-theme-error: 179,38,30;
    --v-theme-error-icon: 179,38,30;
    --v-theme-error-text: 179,38,30;
    --v-theme-error-bg: 252,238,237;
    --v-theme-warning: 138,90,0;
    --v-theme-warning-icon: 138,90,0;
    --v-theme-warning-text: 138,90,0;
    --v-theme-warning-bg: 250,244,230;
    --v-theme-info: 47,111,222;
    --v-theme-blue-icon: 47,111,222;
    --v-theme-blue-text: 47,111,222;
    --v-theme-blue-bg: 234,241,252;
    --v-theme-info-icon: 102,102,102;
    --v-theme-info-bg: 246,246,245;
    --v-theme-info-text: 22,22,22;
    --v-theme-navigation-bg: 250,250,249;
    --v-theme-navigation-bg-light: 250,250,249;
    --v-theme-navigation-text: 22,22,22;
    --v-theme-navigation-text-light: 22,22,22;
    --v-theme-nav-selected-bg: 234,234,232;
    --v-theme-new-app-bg: 250,250,249;
    --v-theme-new-app-bg-light: 250,250,249;
    --v-theme-new-brand-text-light: 77,77,77;
    --v-theme-light-blue-bg: 246,246,245;
    --v-theme-light-blue-grey: 242,242,241;
    --v-theme-header-bg: 255,255,255;
    --v-theme-footer-bg: 246,246,245;
    --v-theme-switch-track-off: 202,202,199;
}
[data-workspace="new"][data-theme="mulberry-sand"] {
    --mw-bg-canvas: #FFFDFB;
    --mw-bg-rail: #F5EDE6;
    --mw-bg-sidebar: #FCF7F3;
    --mw-bg-rae: #FFFDFB;
    --mw-bg-hover: #F7F0EB;
    --mw-bg-selected: #F1E5ED;
    --mw-bg-subtle: #F9F3EF;
    --mw-text-primary: #2B2029;
    --mw-text-secondary: #5B4F57;
    --mw-text-tertiary: #72676E;
    --mw-border-subtle: #EAE0E3;
    --mw-border-faint: #F1E9EB;
    --mw-border-strong: #D6C8CD;
    --mw-action-primary: #603E58;
    --mw-action-primary-hover: #724B69;
    --mw-action-on-primary: #FFFFFF;
    --mw-action-link: #603E58;
    --mw-focus-ring: #7A4F70;
    --mw-status-success: #2F6B4C;
    --mw-status-warning: #855600;
    --mw-status-warning-soft: #FBF3E4;
    --mw-status-attention: #E0700F;
    --mw-status-warning-line: #E7D1A8;
    --mw-status-danger: #AD2A24;
    --mw-status-danger-soft: #FBEDEC;
    --mw-status-running: #3E6FD8;
    --mw-progress-track: #EFE6E8;
    --mw-progress-fill: #7D5F74;
    --mw-rae-gradient: #F3E3EC;
    --mw-rae-pixel: #7A4F70;
    --mw-brand-mark: #603E58;
    --mw-rae-mark-filter: none;
    --mw-shadow-ink: 43, 32, 41;
}
[data-workspace="new"][data-theme="mulberry-sand"] :is(.v-theme--light, .v-theme--dark) {
    --v-theme-background: 255,253,251;
    --v-theme-surface: 255,253,251;
    --v-theme-surface-bright: 255,253,251;
    --v-theme-surface-light: 249,243,239;
    --v-theme-surface-variant: 247,240,235;
    --v-theme-on-surface-variant: 91,79,87;
    --v-theme-on-background: 43,32,41;
    --v-theme-on-surface: 43,32,41;
    --v-theme-primary: 96,62,88;
    --v-theme-on-primary: 255,255,255;
    --v-theme-primary-hover: 114,75,105;
    --v-theme-primary-pressed: 114,75,105;
    --v-theme-primary-disabled: 214,200,205;
    --v-theme-primary-bg: 241,229,237;
    --v-theme-primary-dark: 43,32,41;
    --v-theme-brand-bg: 241,229,237;
    --v-theme-primary-light: 114,103,110;
    --v-theme-secondary: 91,79,87;
    --v-theme-text-default: 43,32,41;
    --v-theme-text-secondary: 91,79,87;
    --v-theme-text-disabled: 114,103,110;
    --v-theme-secondary-grey: 91,79,87;
    --v-theme-secondary-disabled: 114,103,110;
    --v-theme-state-primary: 255,253,251;
    --v-theme-state-primary-hover: 247,240,235;
    --v-theme-state-primary-pressed: 241,229,237;
    --v-theme-state-primary-selected: 241,229,237;
    --v-theme-state-secondary: 255,253,251;
    --v-theme-state-secondary-hover: 247,240,235;
    --v-theme-state-secondary-pressed: 241,229,237;
    --v-theme-state-secondary-selected: 241,229,237;
    --v-theme-structure-border: 234,224,227;
    --v-theme-structure-hover: 247,240,235;
    --v-theme-structure-table-default: 255,253,251;
    --v-theme-structure-table-hover: 247,240,235;
    --v-theme-structure-primary: 255,253,251;
    --v-theme-structure-secondary: 249,243,239;
    --v-theme-success: 47,107,76;
    --v-theme-success-icon: 47,107,76;
    --v-theme-success-text: 47,107,76;
    --v-theme-success-bg: 234,238,234;
    --v-theme-error: 173,42,36;
    --v-theme-error-icon: 173,42,36;
    --v-theme-error-text: 173,42,36;
    --v-theme-error-bg: 251,237,236;
    --v-theme-warning: 133,86,0;
    --v-theme-warning-icon: 133,86,0;
    --v-theme-warning-text: 133,86,0;
    --v-theme-warning-bg: 251,243,228;
    --v-theme-info: 62,111,216;
    --v-theme-blue-icon: 62,111,216;
    --v-theme-blue-text: 62,111,216;
    --v-theme-blue-bg: 236,239,248;
    --v-theme-info-icon: 114,103,110;
    --v-theme-info-bg: 249,243,239;
    --v-theme-info-text: 43,32,41;
    --v-theme-navigation-bg: 252,247,243;
    --v-theme-navigation-bg-light: 252,247,243;
    --v-theme-navigation-text: 43,32,41;
    --v-theme-navigation-text-light: 43,32,41;
    --v-theme-nav-selected-bg: 241,229,237;
    --v-theme-new-app-bg: 252,247,243;
    --v-theme-new-app-bg-light: 252,247,243;
    --v-theme-new-brand-text-light: 91,79,87;
    --v-theme-light-blue-bg: 249,243,239;
    --v-theme-light-blue-grey: 247,240,235;
    --v-theme-header-bg: 255,253,251;
    --v-theme-footer-bg: 249,243,239;
    --v-theme-switch-track-off: 214,200,205;
}
[data-workspace="new"][data-theme="dark"] {
    --mw-bg-canvas: #15181A;
    --mw-bg-rail: #101314;
    --mw-bg-sidebar: #1A1E20;
    --mw-bg-rae: #171B1D;
    --mw-bg-hover: #222729;
    --mw-bg-selected: #232D3F;
    --mw-bg-subtle: #1E2325;
    --mw-text-primary: #ECEFEE;
    --mw-text-secondary: #B9C0BD;
    --mw-text-tertiary: #959D99;
    --mw-border-subtle: #2C3234;
    --mw-border-faint: #232829;
    --mw-border-strong: #434B4E;
    --mw-action-primary: #7AA2F7;
    --mw-action-primary-hover: #93B4F9;
    --mw-action-on-primary: #0E1626;
    --mw-action-link: #8EB2F9;
    --mw-focus-ring: #7AA2F7;
    --mw-status-success: #7CC49C;
    --mw-status-warning: #E2B45C;
    --mw-status-warning-soft: #2E2716;
    --mw-status-attention: #F0A04B;
    --mw-status-warning-line: #6B5326;
    --mw-status-danger: #F08A80;
    --mw-status-danger-soft: #3A1E1C;
    --mw-status-running: #6EA2FF;
    --mw-progress-track: #2A3032;
    --mw-progress-fill: #7F9CCB;
    --mw-rae-gradient: #1C2536;
    --mw-rae-pixel: #8EB2F9;
    --mw-brand-mark: #DCE4F2;
    --mw-rae-mark-filter: none;
    --mw-shadow-ink: 0, 0, 0;
}
[data-workspace="new"][data-theme="dark"] :is(.v-theme--light, .v-theme--dark) {
    --v-theme-background: 21,24,26;
    --v-theme-surface: 21,24,26;
    --v-theme-surface-bright: 21,24,26;
    --v-theme-surface-light: 30,35,37;
    --v-theme-surface-variant: 34,39,41;
    --v-theme-on-surface-variant: 185,192,189;
    --v-theme-on-background: 236,239,238;
    --v-theme-on-surface: 236,239,238;
    --v-theme-primary: 122,162,247;
    --v-theme-on-primary: 14,22,38;
    --v-theme-primary-hover: 147,180,249;
    --v-theme-primary-pressed: 147,180,249;
    --v-theme-primary-disabled: 67,75,78;
    --v-theme-primary-bg: 35,45,63;
    --v-theme-primary-dark: 236,239,238;
    --v-theme-brand-bg: 35,45,63;
    --v-theme-primary-light: 149,157,153;
    --v-theme-secondary: 185,192,189;
    --v-theme-text-default: 236,239,238;
    --v-theme-text-secondary: 185,192,189;
    --v-theme-text-disabled: 149,157,153;
    --v-theme-secondary-grey: 185,192,189;
    --v-theme-secondary-disabled: 149,157,153;
    --v-theme-state-primary: 21,24,26;
    --v-theme-state-primary-hover: 34,39,41;
    --v-theme-state-primary-pressed: 35,45,63;
    --v-theme-state-primary-selected: 35,45,63;
    --v-theme-state-secondary: 21,24,26;
    --v-theme-state-secondary-hover: 34,39,41;
    --v-theme-state-secondary-pressed: 35,45,63;
    --v-theme-state-secondary-selected: 35,45,63;
    --v-theme-structure-border: 44,50,52;
    --v-theme-structure-hover: 34,39,41;
    --v-theme-structure-table-default: 21,24,26;
    --v-theme-structure-table-hover: 34,39,41;
    --v-theme-structure-primary: 21,24,26;
    --v-theme-structure-secondary: 30,35,37;
    --v-theme-success: 124,196,156;
    --v-theme-success-icon: 124,196,156;
    --v-theme-success-text: 124,196,156;
    --v-theme-success-bg: 31,41,39;
    --v-theme-error: 240,138,128;
    --v-theme-error-icon: 240,138,128;
    --v-theme-error-text: 240,138,128;
    --v-theme-error-bg: 58,30,28;
    --v-theme-warning: 226,180,92;
    --v-theme-warning-icon: 226,180,92;
    --v-theme-warning-text: 226,180,92;
    --v-theme-warning-bg: 46,39,22;
    --v-theme-info: 110,162,255;
    --v-theme-blue-icon: 110,162,255;
    --v-theme-blue-text: 110,162,255;
    --v-theme-blue-bg: 30,38,49;
    --v-theme-info-icon: 149,157,153;
    --v-theme-info-bg: 30,35,37;
    --v-theme-info-text: 236,239,238;
    --v-theme-navigation-bg: 26,30,32;
    --v-theme-navigation-bg-light: 26,30,32;
    --v-theme-navigation-text: 236,239,238;
    --v-theme-navigation-text-light: 236,239,238;
    --v-theme-nav-selected-bg: 35,45,63;
    --v-theme-new-app-bg: 26,30,32;
    --v-theme-new-app-bg-light: 26,30,32;
    --v-theme-new-brand-text-light: 185,192,189;
    --v-theme-light-blue-bg: 30,35,37;
    --v-theme-light-blue-grey: 34,39,41;
    --v-theme-header-bg: 21,24,26;
    --v-theme-footer-bg: 30,35,37;
    --v-theme-switch-track-off: 67,75,78;
}

/* ==========================================================================
   A. Shell
   ========================================================================== */

/* ---------- Regions ---------- */
[data-workspace="new"] .ws-drawer {
    background: var(--mw-bg-sidebar);
    color: var(--mw-text-primary);
    box-shadow: none;
}
[data-workspace="new"] .ws-drawer { border-right: 1px solid var(--mw-border-faint); }

[data-workspace="new"] .ws-top { background: var(--mw-bg-canvas) !important; box-shadow: none !important; }
/* The crumb's text starts on the page's gutter (its 6 px hover padding hangs into it); with
   Expand in front of it, the row starts at the edge instead. */
[data-workspace="new"] .ws-top__row { position: relative; display: flex; align-items: center; gap: 8px; width: 100%; height: 56px; padding: 0 16px 0 var(--mw-pad-x); }
[data-workspace="new"] .ws-top__row > .ws-crumb { margin-left: -6px; }
/* Ask Rae ends on the page content's right edge: the row keeps the page's gutter, and the
   button's own 12 px end padding hangs into it (so its icon, not its hover box, lines up). */
[data-workspace="new"] .ws-top__row:not(.ws-top__row--m) { padding-right: var(--mw-pad-x); }
[data-workspace="new"] .ws-top__row:not(.ws-top__row--m) > .ws-askrae { margin-right: -12px; }
/* With the sidebar hidden, Expand sits in the gutter, which widens to hold it: the trail and the
   page's content still start on one line (every page reads --mw-pad-x). */
[data-workspace="new"] .ws-shell--collapsed { --mw-pad-x: 56px; }
[data-workspace="new"] .ws-top__row > .ws-expand { position: absolute; left: 12px; top: 10px; }
[data-workspace="new"] .ws-top__sp { flex: 1; }
/* A record page's own actions (RBAC policy) share the trail's row instead of taking one under it. */
[data-workspace="new"] .ws-top__page-actions { display: flex; align-items: center; gap: 8px; flex: none; }
[data-workspace="new"] .ws-top__page-actions:empty { display: none; }
[data-workspace="new"] .ws-top__page-actions > * { margin: 0; }
[data-workspace="new"] .ws-top__page-actions > * > :is([class$="__spacer"]) { display: none; }
[data-workspace="new"] .ws-crumb { display: flex; align-items: center; gap: 2px; min-width: 0; font-size: 14px; line-height: 20px; color: var(--mw-text-tertiary); }
[data-workspace="new"] .ws-crumb a, [data-workspace="new"] .ws-crumb span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 4px 6px; border-radius: 6px; color: inherit; text-decoration: none; }
[data-workspace="new"] .ws-crumb a:hover { background: var(--mw-bg-hover); color: var(--mw-text-primary); }
[data-workspace="new"] .ws-crumb .cur { color: var(--mw-text-primary); font-weight: 500; }
[data-workspace="new"] .ws-crumb .sl { padding: 0; color: var(--mw-border-strong); }
[data-workspace="new"] .ws-askrae { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 10px; border-radius: var(--mw-r); font-size: 15px; font-weight: 550; color: var(--mw-text-primary); text-decoration: none; }
[data-workspace="new"] .ws-askrae:hover { background: var(--mw-bg-hover); }
/* A top-level page has no header row: Ask Rae floats at the top right, on its title's line, and
   the page's own top-right controls move over to leave it room. */
[data-workspace="new"] .ws-float { position: fixed; top: 16px; right: calc(var(--mw-pad-x) - 12px); z-index: 1006; display: flex; }
[data-workspace="new"] .ws-float .ws-askrae { background: var(--mw-bg-canvas); }
[data-workspace="new"] .ws-float .ws-askrae:hover { background: var(--mw-bg-hover); }
[data-workspace="new"] .ws-frame--float-rae .ws-main .y-view-header { padding-right: calc(var(--mw-pad-x) + 144px); }
[data-workspace="new"] .ws-frame--float-rae .ws-main .ov-head { padding-right: 144px; }
/* Flow pages (Add person, Run workflow, Onboard, Offboard): the form starts on the page's left
   edge, under the trail, instead of centred. */
[data-workspace="new"] .ws-frame--flow .ws-main .v-container > .grid-layout-column > .mx-auto { margin-left: 0 !important; margin-right: auto !important; }

[data-workspace="new"] .ws-main { background: var(--mw-bg-canvas); }

/* ---------- Contextual sidebar (Work, Pages kept open, and the switcher) ---------- */
[data-workspace="new"] .ws-side { display: flex; flex-direction: column; height: 100%; min-height: 0; background: var(--mw-bg-sidebar); color: var(--mw-text-primary); font-family: var(--mw-font); }
[data-workspace="new"] .ws-side__head { height: 56px; flex: none; display: flex; align-items: center; gap: 4px; padding: 0 8px 0 16px; }
[data-workspace="new"] .ws-side__head h2 { flex: 1; margin: 0; font-size: 18px !important; line-height: 26px !important; font-weight: 600 !important; letter-spacing: -.01em; }
[data-workspace="new"] .ws-side__head h2 a { color: inherit; text-decoration: none; }
[data-workspace="new"] .ws-side__head h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
[data-workspace="new"] .ws-side__top { flex: none; padding: 0 12px 8px; }
[data-workspace="new"] .ws-side__scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 0 12px 24px; scrollbar-width: thin; scrollbar-color: var(--mw-border-strong) transparent; }
[data-workspace="new"] .ws-side__foot { flex: none; padding: 8px 12px 12px; border-top: 1px solid var(--mw-border-strong); }

/* ---------- The sidebar: brand and Collapse, destinations, New, Work, you + Search ---------- */
[data-workspace="new"] .ws-sb { display: flex; flex-direction: column; height: 100%; min-height: 0; background: var(--mw-bg-sidebar); color: var(--mw-text-primary); font-family: var(--mw-font); }
[data-workspace="new"] .ws-sb__head { flex: none; height: 56px; display: flex; align-items: center; gap: 4px; padding: 0 8px 0 12px; }
[data-workspace="new"] .ws-sb__head .grow { flex: 1; }
[data-workspace="new"] .ws-sb__brand { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px 0 7px; border-radius: var(--mw-r); color: var(--mw-text-primary); text-decoration: none; font-size: 16px; line-height: 24px; font-weight: 650; letter-spacing: -.01em; }
[data-workspace="new"] .ws-sb__brand:hover { background: var(--mw-bg-hover); }
[data-workspace="new"] .ws-sb__brand svg { flex: none; width: 22px; height: 22px; color: var(--mw-brand-mark); }
/* Destinations: icon and name in one row, the icon in the same 18 px column as New's plus. */
[data-workspace="new"] .ws-sb__nav { flex: none; display: flex; flex-direction: column; gap: 2px; padding: 4px 12px 0; }
/* Between the brand and the foot, everything scrolls as one: New, Search, the pages, Work. */
[data-workspace="new"] .ws-sb__body { flex: 1; min-height: 0; overflow-y: auto; padding-bottom: 16px; scrollbar-width: thin; scrollbar-color: var(--mw-border-strong) transparent; }
[data-workspace="new"] .ws-nav .ws-kbd { flex: none; }
/* Every row in the sidebar (pages and work) reads in one color and one weight. */
[data-workspace="new"] .ws-nav { display: flex; align-items: center; gap: 12px; width: 100%; height: 36px; padding: 0 10px; border: 0; border-radius: var(--mw-r); background: none; font: inherit; font-size: 15px; line-height: 20px; font-weight: 400; text-align: left; color: var(--mw-text-primary); text-decoration: none; cursor: pointer; }
[data-workspace="new"] .ws-nav:hover { background: var(--mw-bg-hover); color: var(--mw-text-primary); }
[data-workspace="new"] .ws-nav[aria-current="page"], [data-workspace="new"] .ws-nav[aria-expanded="true"] { background: var(--mw-bg-selected); color: var(--mw-text-primary); }
[data-workspace="new"] .ws-nav .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Reordering pins: the dragged row fades; one straight 2 px line, between the rows, marks where
   it will land (a drawn line, not an inset shadow, which would bend round the row's corners). */
[data-workspace="new"] :is(.ws-nav, .ws-menu__item) { position: relative; }
[data-workspace="new"] :is(.ws-nav, .ws-menu__item).is-dragging { opacity: .45; }
[data-workspace="new"] :is(.ws-nav, .ws-menu__item):is(.is-drop-before, .is-drop-after)::after { content: ""; position: absolute; left: 8px; right: 8px; height: 2px; border-radius: 1px; background: var(--mw-focus-ring); pointer-events: none; }
[data-workspace="new"] :is(.ws-nav, .ws-menu__item).is-drop-before::after { top: -2px; }
[data-workspace="new"] :is(.ws-nav, .ws-menu__item).is-drop-after::after { bottom: -2px; }
/* New, under the brand: a soft tint of the theme's primary on the sidebar, with the text color on
   it, the full width of the sidebar. Mixing the primary in rather than naming a tint keeps it soft in
   every theme, Dark included, where the primary is light; it stays quieter than the page's own
   primary action. */
[data-workspace="new"] .ws-sb__new { flex: none; padding: 4px 12px 12px; }
[data-workspace="new"] .ws-new { display: flex; align-items: center; gap: 12px; width: 100%; height: 40px; padding: 0 10px; border: 0; border-radius: var(--mw-r); background: color-mix(in srgb, var(--mw-action-primary) 14%, var(--mw-bg-sidebar)); color: var(--mw-text-primary); font: inherit; font-size: 15px; line-height: 20px; font-weight: 500; text-decoration: none; cursor: pointer; transition: background-color 120ms; }
/* Hover and an open menu darken it. */
[data-workspace="new"] .ws-new:hover, [data-workspace="new"] .ws-new[aria-expanded="true"] { background: color-mix(in srgb, var(--mw-action-primary) 22%, var(--mw-bg-sidebar)); color: var(--mw-text-primary); }
/* The foot: you (opens upward), and Search. */
/* The foot: 49 px in all (a 1 px rule, 4 px above and below a 40 px button), its rule between the
   theme's subtle and strong borders. */
[data-workspace="new"] .ws-sb__foot { flex: none; display: flex; align-items: center; gap: 4px; padding: 4px 12px; border-top: 1px solid color-mix(in srgb, var(--mw-border-strong) 55%, var(--mw-border-subtle)); }
[data-workspace="new"] .ws-acct { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 8px 0 6px; border: 0; border-radius: var(--mw-r); background: none; font: inherit; text-align: left; color: var(--mw-text-primary); cursor: pointer; }
[data-workspace="new"] .ws-acct:hover, [data-workspace="new"] .ws-acct[aria-expanded="true"] { background: var(--mw-bg-hover); }
[data-workspace="new"] .ws-acct__av { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--mw-bg-selected); color: var(--mw-text-primary); display: grid; place-items: center; font-size: 11px; font-weight: 650; letter-spacing: .02em; }
[data-workspace="new"] .ws-acct__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; line-height: 20px; font-weight: 450; }
[data-workspace="new"] .ws-acct__chev { color: var(--mw-text-tertiary); }
[data-workspace="new"] .ws-acct__dot { position: absolute; top: -1px; right: -1px; width: 9px; height: 9px; border-radius: 50%; background: var(--mw-status-running); box-shadow: 0 0 0 2px var(--mw-bg-sidebar); }
[data-workspace="new"] .ws-acct__dot--inline { position: static; flex: none; width: 8px; height: 8px; box-shadow: none; }
[data-workspace="new"] .ws-menu--acct { min-width: 248px; }
/* Expand, while the sidebar is hidden, carries the account's notification dot. */
[data-workspace="new"] .ws-expand__dot { position: absolute; top: 7px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--mw-status-running); box-shadow: 0 0 0 2px var(--mw-bg-canvas); }

/* The temporary Pages switcher: over the page, beside the sidebar when it shows. */
/* Above Vuetify's layout layer (rail, sidebar and header sit at about 1004 to 1014 and shift as
   items are added), below its overlays (menus, dialogs, sheets at 2000+). */
[data-workspace="new"] .ws-switcher { position: fixed; top: 0; bottom: 0; left: 0; z-index: 1100; width: 300px; border-right: 1px solid var(--mw-border-subtle); box-shadow: 24px 0 48px -24px rgba(var(--mw-shadow-ink), .3); }
[data-workspace="new"] .ws-switcher .ws-side__head h2 { font-size: 16px !important; }
[data-workspace="new"] .ws-switcher--beside { left: 272px; }
@media (max-width: 899px) { [data-workspace="new"] .ws-switcher { width: min(300px, 100vw); } }

/* One compact search field; the ring is drawn once, on the container. */
[data-workspace="new"] .ws-find { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; border-radius: var(--mw-r); background: var(--mw-bg-canvas); box-shadow: inset 0 0 0 1px var(--mw-border-subtle); color: var(--mw-text-tertiary); cursor: text; }
[data-workspace="new"] .ws-find:focus-within { box-shadow: inset 0 0 0 1.5px var(--mw-focus-ring); }
[data-workspace="new"] .ws-find input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 14px; color: var(--mw-text-primary); }
[data-workspace="new"] .ws-find input:focus, [data-workspace="new"] .ws-find input:focus-visible { outline: none; box-shadow: none; }
[data-workspace="new"] .ws-find input::placeholder { color: var(--mw-text-tertiary); opacity: 1; }
[data-workspace="new"] .ws-find input::-webkit-search-cancel-button { display: none; }
[data-workspace="new"] .ws-find--lg { height: 44px; }
[data-workspace="new"] .ws-find--wide { width: 320px; max-width: 100%; }
[data-workspace="new"] .ws-kbd { font: 500 11px/1 var(--mw-font); color: var(--mw-text-tertiary); padding: 3px 6px; border-radius: 5px; background: var(--mw-bg-subtle); box-shadow: inset 0 0 0 1px var(--mw-border-subtle); }

/* Sections: a quiet label, its count, then the rows. */
[data-workspace="new"] .ws-sec { margin-top: 16px; }
[data-workspace="new"] .ws-sec:first-child { margin-top: 4px; }
[data-workspace="new"] .ws-sec__label { padding: 6px 8px 4px; font-size: 12px; line-height: 18px; font-weight: 600; color: var(--mw-text-tertiary); }
[data-workspace="new"] .ws-sec__body { margin-top: 2px; display: flex; flex-direction: column; gap: 1px; }
[data-workspace="new"] .ws-ct { font-size: 12px; font-weight: 550; color: var(--mw-text-tertiary); font-variant-numeric: tabular-nums; }
[data-workspace="new"] .ws-ct--badge { min-width: 22px; height: 20px; padding: 0 6px; border-radius: 10px; display: inline-grid; place-items: center; background: var(--mw-bg-subtle); color: var(--mw-text-secondary); box-shadow: inset 0 0 0 1px var(--mw-border-subtle); }

/* Page rows in the Pages menus and the area flyouts: a star appears on hover or focus; favorites keep it. */
[data-workspace="new"] .ws-pl { position: relative; display: flex; align-items: center; }
/* Held against the flyout's and switcher's own .ws-swl padding, which would put an outside link's arrow under the star. */
[data-workspace="new"] .ws-pl > a.ws-swl { flex: 1; min-width: 0; padding-right: 36px; }
[data-workspace="new"] .ws-swl { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 34px; padding: 0 8px; border-radius: var(--mw-r); font-size: 13px; line-height: 19px; font-weight: 500; color: var(--mw-text-primary); text-decoration: none; }
[data-workspace="new"] .ws-swl:hover, [data-workspace="new"] .ws-swl:focus-visible { background: var(--mw-bg-hover); }
[data-workspace="new"] .ws-swl.on { background: var(--mw-bg-selected); }
[data-workspace="new"] .ws-swl .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-workspace="new"] .ws-swl .k { flex: none; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 400; color: var(--mw-text-tertiary); }
[data-workspace="new"] .ws-pl__ext { color: var(--mw-text-tertiary); }
[data-workspace="new"] .ws-pl__ic { color: var(--mw-text-secondary); }
/* The Pages drawer reads like the sidebar beside it: rows in the sidebar's page-row type (15 px,
   400, the text color, 36 px, an 18 px glyph 12 px from the name) and area names in its section
   type (13 px, 600, secondary). */
[data-workspace="new"] .ws-switcher .ws-swl { gap: 12px; min-height: 36px; padding: 0 10px; font-size: 15px; line-height: 20px; font-weight: 400; color: var(--mw-text-primary); }
[data-workspace="new"] .ws-switcher .ws-swl .k { font-size: 13px; }
[data-workspace="new"] .ws-switcher .ws-pl__ic { color: var(--mw-text-primary); }
[data-workspace="new"] .ws-switcher .ws-sec__label { padding: 6px 10px 4px; font-size: 13px; line-height: 19px; font-weight: 600; color: var(--mw-text-secondary); }
[data-workspace="new"] .ws-pl__pin { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: var(--mw-r); background: none; color: var(--mw-text-tertiary); display: grid; place-items: center; opacity: 0; cursor: pointer; }
[data-workspace="new"] .ws-pl:hover .ws-pl__pin, [data-workspace="new"] .ws-pl:focus-within .ws-pl__pin, [data-workspace="new"] .ws-pl.is-pinned .ws-pl__pin { opacity: 1; }
[data-workspace="new"] .ws-pl__pin:hover { background: var(--mw-bg-hover); color: var(--mw-text-primary); }
/* A favorite's star is filled and keeps its color, hovered or not. */
[data-workspace="new"] .ws-pl.is-pinned .ws-pl__pin, [data-workspace="new"] .ws-pl.is-pinned .ws-pl__pin:hover { color: var(--mw-status-attention); }
[data-workspace="new"] .ws-pl--lg .ws-swl { min-height: 44px; padding: 4px 12px; font-size: 14px; line-height: 20px; }
[data-workspace="new"] .ws-pl--lg { margin: 0 -12px; }
@media (hover: none) { [data-workspace="new"] .ws-pl__pin { opacity: 1; } }
/* The tour's favorite step shows the star it points at as if the pointer were on it. */
[data-workspace="new"] .ws-fly.ws-fly--tour .ws-pl:nth-child(1 of .ws-pl:not(.is-pinned)) .ws-pl__pin { opacity: 1; background: var(--mw-bg-hover); color: var(--mw-text-primary); }

[data-workspace="new"] .ws-nl { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 8px; border-radius: var(--mw-r); font-size: 13px; line-height: 19px; font-weight: 500; color: var(--mw-text-secondary); text-decoration: none; }
[data-workspace="new"] .ws-nl:hover { background: var(--mw-bg-hover); color: var(--mw-text-primary); }
[data-workspace="new"] .ws-nl .grow { flex: 1; }

/* ---------- Small shared controls ---------- */
[data-workspace="new"] .ws-ib { flex: none; width: 36px; height: 36px; border: 0; border-radius: var(--mw-r); background: none; color: var(--mw-text-secondary); display: inline-grid; place-items: center; cursor: pointer; }
[data-workspace="new"] .ws-ib:hover { background: var(--mw-bg-hover); color: var(--mw-text-primary); }
[data-workspace="new"] .ws-ib[aria-pressed="true"] { color: var(--mw-text-primary); }
[data-workspace="new"] .ws-ib--sm { width: 32px; height: 32px; }
[data-workspace="new"] .ws-ib:disabled { opacity: .4; cursor: not-allowed; }
[data-workspace="new"] .ws-tlink { border: 0; background: none; padding: 0; font: inherit; font-size: 13px; font-weight: 550; color: var(--mw-action-link); text-decoration: none; cursor: pointer; }
[data-workspace="new"] .ws-tlink:hover { text-decoration: underline; text-underline-offset: 3px; }
[data-workspace="new"] .ws-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[data-workspace="new"] .ws-skel { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--mw-bg-hover) 0%, var(--mw-bg-subtle) 50%, var(--mw-bg-hover) 100%); background-size: 200% 100%; animation: ws-sk 1.2s linear infinite; }
@keyframes ws-sk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { [data-workspace="new"] .ws-skel { animation: none; } }
[data-workspace="new"] .ws-side :focus-visible, [data-workspace="new"] .ws-page :focus-visible, [data-workspace="new"] .ws-top :focus-visible, [data-workspace="new"] .ws-menu :focus-visible, [data-workspace="new"] .ws-search :focus-visible { outline: 2px solid var(--mw-focus-ring); outline-offset: 2px; }
[data-workspace="new"] .ws-find :focus-visible { outline: none; }

/* ---------- Menus (teleported by v-menu, so styled globally) ---------- */
[data-workspace="new"] .ws-menu { min-width: 240px; padding: 4px; border-radius: var(--mw-r-lg); background: var(--mw-bg-canvas); box-shadow: var(--mw-shadow-pop); font-family: var(--mw-font); color: var(--mw-text-primary); }
[data-workspace="new"] .ws-menu__label { padding: 10px 10px 4px; font-size: 12px; line-height: 18px; font-weight: 600; color: var(--mw-text-tertiary); }
[data-workspace="new"] .ws-menu__item { display: flex; align-items: center; gap: 10px; width: 100%; height: 36px; padding: 0 10px; border: 0; border-radius: 7px; background: none; font: inherit; font-size: 14px; text-align: left; color: var(--mw-text-primary); text-decoration: none; cursor: pointer; }
[data-workspace="new"] .ws-menu__item:hover, [data-workspace="new"] .ws-menu__item:focus-visible { background: var(--mw-bg-hover); outline: 0; }
[data-workspace="new"] .ws-menu__item .ws-ic { color: var(--mw-text-tertiary); }
[data-workspace="new"] .ws-menu__item .grow { flex: 1; }
[data-workspace="new"] .ws-menu__item[aria-checked="true"] { font-weight: 550; }
[data-workspace="new"] .ws-menu__check { color: var(--mw-text-primary) !important; }
/* A menu row's current value (Theme › Slate Blue), before its chevron. */
[data-workspace="new"] .ws-menu__value { font-size: 13px; color: var(--mw-text-tertiary); white-space: nowrap; }
[data-workspace="new"] .ws-menu hr { border: 0; border-top: 1px solid var(--mw-border-faint); margin: 4px 0; }
[data-workspace="new"] .ws-menu__who { display: grid; padding: 8px 10px; }
[data-workspace="new"] .ws-menu__who b { font-size: 14px; font-weight: 600; }
[data-workspace="new"] .ws-menu__who span { font-size: 12px; color: var(--mw-text-tertiary); }
/* Live swatches: each theme's rail, selection and action colors. */
[data-workspace="new"] .ws-swatch { flex: none; display: inline-flex; width: 30px; height: 20px; border-radius: 6px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--mw-border-subtle); }
[data-workspace="new"] .ws-swatch i { flex: 1; }
[data-workspace="new"] .ws-swatch[data-swatch="forest"] i:nth-child(1) { background: #EEF3F0; } [data-workspace="new"] .ws-swatch[data-swatch="forest"] i:nth-child(2) { background: #E6F0EA; } [data-workspace="new"] .ws-swatch[data-swatch="forest"] i:nth-child(3) { background: #123D2A; }
[data-workspace="new"] .ws-swatch[data-swatch="monochrome"] i:nth-child(1) { background: #F3F3F2; } [data-workspace="new"] .ws-swatch[data-swatch="monochrome"] i:nth-child(2) { background: #EAEAE8; } [data-workspace="new"] .ws-swatch[data-swatch="monochrome"] i:nth-child(3) { background: #181818; }
[data-workspace="new"] .ws-swatch[data-swatch="slate-blue"] i:nth-child(1) { background: #EAF0F7; } [data-workspace="new"] .ws-swatch[data-swatch="slate-blue"] i:nth-child(2) { background: #E3ECF8; } [data-workspace="new"] .ws-swatch[data-swatch="slate-blue"] i:nth-child(3) { background: #244D82; }
[data-workspace="new"] .ws-swatch[data-swatch="mulberry-sand"] i:nth-child(1) { background: #F5EDE6; } [data-workspace="new"] .ws-swatch[data-swatch="mulberry-sand"] i:nth-child(2) { background: #F1E5ED; } [data-workspace="new"] .ws-swatch[data-swatch="mulberry-sand"] i:nth-child(3) { background: #603E58; }
[data-workspace="new"] .ws-swatch[data-swatch="dark"] i:nth-child(1) { background: #101314; } [data-workspace="new"] .ws-swatch[data-swatch="dark"] i:nth-child(2) { background: #232D3F; } [data-workspace="new"] .ws-swatch[data-swatch="dark"] i:nth-child(3) { background: #7AA2F7; }

/* ---------- ⌘K search ---------- */
[data-workspace="new"] .ws-search-dialog .v-overlay__content { margin-top: 10vh !important; }
[data-workspace="new"] .ws-search { display: flex; flex-direction: column; max-height: 72vh; padding: 20px 12px 12px; border-radius: 14px; background: var(--mw-bg-canvas); box-shadow: var(--mw-shadow-pop); font-family: var(--mw-font); color: var(--mw-text-primary); }
[data-workspace="new"] .ws-search .ws-find { margin: 0 12px 8px; }
[data-workspace="new"] .ws-search__list { flex: 1; overflow-y: auto; padding: 0 0 4px; }
[data-workspace="new"] .ws-search__row { display: grid; padding: 8px 12px; border-radius: var(--mw-r); cursor: pointer; }
[data-workspace="new"] .ws-search__row.sel { background: var(--mw-bg-hover); }
[data-workspace="new"] .ws-search__row b { font-size: 14px; line-height: 20px; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-workspace="new"] .ws-search__row span { font-size: 12px; line-height: 18px; color: var(--mw-text-tertiary); }
[data-workspace="new"] .ws-search__empty { padding: 16px 12px; margin: 0; font-size: 13px; color: var(--mw-text-tertiary); }
[data-workspace="new"] .ws-search .ws-sec__label { padding-top: 12px; }

/* ---------- Employee pages: one left-aligned column ----------
   Every employee page (the workspace's own and the classic ones it reuses) sits in one column,
   --mw-page-max wide with --mw-pad-x gutters, against the sidebar like every other page; the
   crumb row and the view header use the same column, so all three share a left edge. */
[data-workspace="new"] .ws-main--employee > * { max-width: var(--mw-page-max); margin-left: 0; margin-right: auto; padding-left: var(--mw-pad-x); padding-right: var(--mw-pad-x); }
[data-workspace="new"] .ws-top--employee .ws-top__row:not(.ws-top__row--m) { max-width: var(--mw-page-max); margin: 0; padding: 0 var(--mw-pad-x); }
[data-workspace="new"] .ws-main--employee .y-view-header { padding-left: 0 !important; padding-right: 0 !important; }
[data-workspace="new"] .ws-main--employee .y-view-header > .y-view-header__content { width: 100%; max-width: var(--mw-page-max); margin: 0; padding: 0 var(--mw-pad-x); }

/* ---------- Workspace pages (Work, Pages, New) ----------
   Heading sizes carry !important because typography.scss sets h1 to h6 with it. */
[data-workspace="new"] .ws-page { max-width: 1080px; margin: 0; padding: 0 var(--mw-pad-x) 96px; font-family: var(--mw-font); color: var(--mw-text-primary); }
[data-workspace="new"] .ws-h1 { margin: 0; font-size: 28px !important; line-height: 36px !important; font-weight: 600 !important; letter-spacing: -.016em; }
[data-workspace="new"] .ws-h2 { margin: 0; font-size: 18px !important; line-height: 26px !important; font-weight: 600 !important; letter-spacing: -.008em; }
[data-workspace="new"] .ws-lede { margin: 4px 0 0; font-size: 14px; line-height: 21px; color: var(--mw-text-tertiary); }
[data-workspace="new"] .ws-sect { margin-top: 40px; }

[data-workspace="new"] .ws-tabs { display: flex; align-items: flex-end; gap: 24px; margin-top: 32px; border-bottom: 1px solid var(--mw-border-subtle); overflow-x: auto; scrollbar-width: none; }
[data-workspace="new"] .ws-tab { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; font-size: 14px; font-weight: 500; color: var(--mw-text-secondary); text-decoration: none; box-shadow: inset 0 -2px 0 transparent; }
[data-workspace="new"] .ws-tab:hover { color: var(--mw-text-primary); }
[data-workspace="new"] .ws-tab[aria-selected="true"] { color: var(--mw-text-primary); box-shadow: inset 0 -2px 0 var(--mw-text-primary); }
[data-workspace="new"] .ws-tab .ct { font-size: 13px; font-weight: 450; color: var(--mw-text-tertiary); font-variant-numeric: tabular-nums; }

[data-workspace="new"] .ws-tools { display: flex; align-items: center; gap: 8px; margin: 16px 0 8px; }
[data-workspace="new"] .ws-tools .ws-find { width: 280px; }
[data-workspace="new"] .ws-tools--top { margin-top: 24px; }
[data-workspace="new"] .ws-tools__sp { flex: 1; }
[data-workspace="new"] .ws-tools__count { font-size: 13px; color: var(--mw-text-tertiary); font-variant-numeric: tabular-nums; }

/* Tables: the name leads; one status word and a due date in stable columns. */
[data-workspace="new"] .ws-tbl { width: 100%; }
[data-workspace="new"] .ws-tr { display: grid; grid-template-columns: minmax(0, 1fr) 180px 104px; column-gap: 16px; align-items: center; min-height: 60px; padding: 8px 12px; border-bottom: 1px solid var(--mw-border-faint); color: var(--mw-text-primary); text-decoration: none; }
[data-workspace="new"] .ws-tr--h { min-height: 36px; padding-top: 0; padding-bottom: 0; font-size: 12px; font-weight: 600; color: var(--mw-text-tertiary); border-bottom-color: var(--mw-border-subtle); }
[data-workspace="new"] .ws-tr--click:hover { background: var(--mw-bg-hover); }
[data-workspace="new"] .ws-tr .nm { min-width: 0; display: grid; }
[data-workspace="new"] .ws-tr .nm .t { font-size: 14px; line-height: 20px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-workspace="new"] .ws-tr .nm .s { font-size: 12px; line-height: 18px; color: var(--mw-text-tertiary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-workspace="new"] .ws-tr .due { font-size: 13px; color: var(--mw-text-tertiary); font-variant-numeric: tabular-nums; }
[data-workspace="new"] .ws-tr .due.late { color: var(--mw-status-danger); font-weight: 600; }
@media (max-width: 899px) { [data-workspace="new"] .ws-tr { grid-template-columns: minmax(0, 1fr) 140px; } [data-workspace="new"] .ws-tr .due, [data-workspace="new"] .ws-tr--h > :last-child { display: none; } }

/* Status in words; color only where it asks something of you. */
[data-workspace="new"] .ws-st { font-size: 13px; font-weight: 500; color: var(--mw-text-secondary); white-space: nowrap; }
[data-workspace="new"] .ws-st[data-k="needs"] { color: var(--mw-status-warning); font-weight: 600; }
[data-workspace="new"] .ws-st[data-k="block"] { color: var(--mw-status-danger); font-weight: 600; }

[data-workspace="new"] .ws-empty { display: grid; gap: 4px; padding: 48px 16px; text-align: center; color: var(--mw-text-tertiary); font-size: 14px; }
[data-workspace="new"] .ws-empty b { font-size: 15px; line-height: 22px; font-weight: 600; color: var(--mw-text-primary); }
[data-workspace="new"] .ws-foot { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 0; padding: 0 12px; font-size: 13px; color: var(--mw-text-tertiary); }
[data-workspace="new"] .ws-note { display: flex; align-items: center; gap: 12px; margin: 8px 0; font-size: 13px; color: var(--mw-text-secondary); }
[data-workspace="new"] .ws-note--error { color: var(--mw-status-danger); }

/* Pages directory */
[data-workspace="new"] .ws-pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; margin-top: 8px; }
[data-workspace="new"] .ws-pgrp { min-width: 0; }
[data-workspace="new"] .ws-plabel { margin: 0 0 4px; font-size: 13px !important; line-height: 19px !important; font-weight: 600 !important; color: var(--mw-text-tertiary); }
[data-workspace="new"] .ws-pcol { max-width: 640px; margin-top: 8px; }
@media (max-width: 899px) { [data-workspace="new"] .ws-pgrid { grid-template-columns: minmax(0, 1fr); } }

/* New */

/* --- The admin sidebar's areas, Favorites and the flyout beside it ---------------------------
   Rows are the sidebar's own .ws-nav; a rule and 12 px either side set each group apart. */
[data-workspace="new"] :is(.ws-sb__fav, .ws-sb__areas) { margin: 12px 12px 0; padding: 12px 0 0; border-top: 1px solid var(--mw-border-faint); }
[data-workspace="new"] .ws-sb__areas { gap: 2px; }
[data-workspace="new"] .ws-sb__favlist { padding: 2px 0 0; }
[data-workspace="new"] .ws-sb__favlist .ws-nav { padding-left: 22px; }
[data-workspace="new"] .ws-sb__favhead { display: flex; align-items: center; gap: 8px; width: 100%; height: 32px; padding: 0 10px; border: 0; border-radius: var(--mw-r); background: none; font: inherit; font-size: 13px; line-height: 19px; font-weight: 600; color: var(--mw-text-secondary); text-align: left; cursor: pointer; }
[data-workspace="new"] .ws-sb__favhead:hover { background: var(--mw-bg-hover); color: var(--mw-text-primary); }
[data-workspace="new"] .ws-sb__favhead .grow { flex: 1; }
[data-workspace="new"] .ws-sb__favhead[aria-expanded="false"] .ws-ic { transform: rotate(-90deg); }
[data-workspace="new"] .ws-nav__chev { flex: none; color: var(--mw-text-tertiary); }
[data-workspace="new"] .ws-nav:is(.is-here, .is-open) { background: var(--mw-bg-selected); }
[data-workspace="new"] .ws-nav:is(.is-here, .is-open) .ws-nav__chev { color: var(--mw-text-secondary); }
[data-workspace="new"] .ws-ct--attn { min-width: 22px; height: 20px; padding: 0 6px; border-radius: 10px; display: inline-grid; place-items: center; background: var(--mw-status-warning-soft); color: var(--mw-status-warning); }

/* Above any menu, select or tooltip a page has open (Vuetify stacks those from 2000), and
   below the tour and hints that point at the sidebar. */
[data-workspace="new"] .ws-fly { position: fixed; z-index: 2550; width: 280px; max-height: calc(100vh - 24px); overflow-y: auto; scrollbar-width: thin; }
[data-workspace="new"] .ws-fly .ws-swl, [data-workspace="new"] .ws-fly .ws-fly__row { gap: 12px; min-height: 36px; height: auto; padding: 0 10px; border-radius: 7px; font-size: 15px; line-height: 20px; font-weight: 400; color: var(--mw-text-primary); }
[data-workspace="new"] .ws-fly :is(.ws-swl, .ws-fly__row)[aria-current="page"] { background: var(--mw-bg-selected); }
[data-workspace="new"] .ws-fly .ws-pl__ic, [data-workspace="new"] .ws-fly .ws-fly__row .ws-ic { color: var(--mw-text-secondary); }
[data-workspace="new"] .ws-fly .ws-swl .k { font-size: 13px; }
[data-workspace="new"] .ws-fly--wide { width: 340px; }
/* To Do's flyout: a heading per kind of work, its items under the heading's name. */
[data-workspace="new"] .ws-fly__group + .ws-fly__group { margin-top: 8px; }
[data-workspace="new"] .ws-fly .ws-fly__head { gap: 12px; height: 36px; font-size: 15px; line-height: 20px; font-weight: 600; }
[data-workspace="new"] .ws-fly .ws-fly__head .ws-ic { color: var(--mw-text-secondary); }
[data-workspace="new"] .ws-fly .ws-fly__item { display: flex; align-items: center; gap: 8px; height: 32px; padding-left: 40px; font-size: 14px; line-height: 20px; }
[data-workspace="new"] .ws-fly__item .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-workspace="new"] .ws-fly__item[aria-current="page"] { background: var(--mw-bg-selected); }
[data-workspace="new"] .ws-fly .y-chip.ws-fly__pill { flex: none; max-width: 50%; overflow: hidden; text-overflow: ellipsis; height: 20px; padding: 0 8px; font-size: 12px; line-height: 20px; }
[data-workspace="new"] .ws-fly .ws-fly__more { height: 28px; padding-left: 40px; font-size: 13px; color: var(--mw-text-secondary); }
[data-workspace="new"] .ws-fly .ws-fly__none { margin: 0; font-size: 13px; color: var(--mw-text-tertiary); }
/* New's list: one two-line row per action, its icon in a 32 px slot. */
[data-workspace="new"] .ws-fly .ws-fly__act { gap: 12px; height: auto; min-height: 56px; padding: 8px 10px; white-space: normal; }
[data-workspace="new"] .ws-fly__act-ic { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--mw-bg-subtle); color: var(--mw-text-secondary); }
[data-workspace="new"] .ws-fly__act:hover .ws-fly__act-ic, [data-workspace="new"] .ws-fly__act:focus-visible .ws-fly__act-ic { background: var(--mw-bg-canvas); color: var(--mw-text-primary); }
[data-workspace="new"] .ws-fly__act-ic .ws-ic { color: inherit; }
/* A common action keeps its tone (a color from the theme) on hover too; the rest stay quiet. */
[data-workspace="new"] .ws-fly__act-ic[data-tone] { --tone: var(--mw-action-primary); color: var(--tone) !important; background: color-mix(in srgb, var(--tone) 12%, var(--mw-bg-canvas)) !important; }
[data-workspace="new"] .ws-fly__act-ic[data-tone="blue"] { --tone: var(--mw-status-running); }
[data-workspace="new"] .ws-fly__act-ic[data-tone="orange"] { --tone: var(--mw-status-attention); }
[data-workspace="new"] .ws-fly__act-ic[data-tone="green"] { --tone: var(--mw-status-success); }
[data-workspace="new"] .ws-fly__act-ic[data-tone="purple"] { --tone: rgb(var(--v-theme-change-request-icon)); }
[data-workspace="new"] .ws-fly__act-ic[data-tone="teal"] { --tone: rgb(var(--v-theme-automation-icon)); }
[data-workspace="new"] .ws-fly__act-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
[data-workspace="new"] .ws-fly__act-t { font-size: 15px; line-height: 20px; font-weight: 500; color: var(--mw-text-primary); }
[data-workspace="new"] .ws-fly__act-d { font-size: 13px; line-height: 18px; color: var(--mw-text-secondary); }
/* To Do: the row's link, and its chevron as a button of its own over the row's right end. */
[data-workspace="new"] .ws-nav-split { position: relative; }
[data-workspace="new"] .ws-nav-split > .ws-nav { padding-right: 40px; }
[data-workspace="new"] .ws-nav-split__chev { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border: 0; border-radius: 6px; background: none; color: var(--mw-text-tertiary); display: grid; place-items: center; cursor: pointer; }
[data-workspace="new"] .ws-nav-split__chev:hover { background: var(--mw-bg-hover); color: var(--mw-text-primary); }
[data-workspace="new"] .ws-nav-split__chev[aria-expanded="true"] { color: var(--mw-text-secondary); }

/* ==========================================================================
   B. The existing product, reskinned in place.
   These restyle Vuetify's components and the type scale every legacy screen is
   built from, so a rule here fixes every instance at once. Our own components
   carry their workspace look in their own rules. Overrides are scoped to the workspace and use
   !important only where a component's own scoped rule would win.
   ========================================================================== */

/* ---------- Canvas and type ---------- */
[data-workspace="new"] body,
[data-workspace="new"] .v-application {
    -webkit-font-smoothing: antialiased;
    background: var(--mw-bg-canvas) !important;
    color: var(--mw-text-primary);
}
[data-workspace="new"] .v-application.app-gradient { background-image: none !important; }
/* The family comes from the token everywhere; only spacing is set here. */
[data-workspace="new"] .v-application [class*="text-h"],
[data-workspace="new"] .v-application [class*="text-body"],
[data-workspace="new"] .v-application [class*="text-subtitle"],
[data-workspace="new"] .v-application .text-caption,
[data-workspace="new"] .v-application .text-overline,
[data-workspace="new"] .v-application .text-button,
[data-workspace="new"] .v-btn,
[data-workspace="new"] .v-field,
[data-workspace="new"] .v-overlay-container { letter-spacing: normal; }

/* The scale: hierarchy from size, weight and color, never all-caps labels. */
[data-workspace="new"] .v-application .text-h4 { font-size: 32px !important; line-height: 40px !important; font-weight: 600 !important; letter-spacing: -.02em !important; }
[data-workspace="new"] .v-application .text-h5 { font-size: 28px !important; line-height: 36px !important; font-weight: 600 !important; letter-spacing: -.016em !important; }
[data-workspace="new"] .v-application .text-h6 { font-size: 18px !important; line-height: 26px !important; font-weight: 600 !important; letter-spacing: -.008em !important; }
[data-workspace="new"] .v-application .text-subtitle-1 { font-size: 15px !important; line-height: 22px !important; font-weight: 600 !important; }
[data-workspace="new"] .v-application .text-subtitle-2 { font-size: 14px !important; line-height: 20px !important; font-weight: 500 !important; }
[data-workspace="new"] .v-application .text-body-1,
[data-workspace="new"] .v-application .text-body-2 { font-size: 14px !important; line-height: 21px !important; }
/* Vuetify draws a dialog outside the application, beyond the reach of the rule above. */
[data-workspace="new"] .v-application .y-dialog .text-body-2 { line-height: 20px !important; }
/* A sign-in button's label reads a step above body text. */
[data-workspace="new"] .v-application .gsi-material-button--sign-in .gsi-material-button-contents { font-size: 15px !important; }
/* Meta text is 13 px: 12 px is left to labels, which are few. */
[data-workspace="new"] .v-application .text-caption { font-size: 13px !important; line-height: 19px !important; }
[data-workspace="new"] .v-application .text-uppercase,
[data-workspace="new"] .v-application .text-overline { text-transform: none !important; letter-spacing: normal !important; }
[data-workspace="new"] .v-application .text-overline { font-size: 13px !important; font-weight: 600 !important; color: var(--mw-text-tertiary) !important; }

[data-workspace="new"] .ws-main .v-container { padding-left: var(--mw-pad-x); padding-right: var(--mw-pad-x); }
/* Sections of a page (cards stacked in a column) get 30% more room between them than the base
   scale gives, rounded to 4 px: 16 → 20, 24 → 32, 32 → 40. Fields inside a card keep theirs. */
[data-workspace="new"] .ws-main :is(.grid-gap-lg, .ga-4):has(> .v-card + .v-card) { row-gap: 20px !important; }
[data-workspace="new"] .ws-main :is(.grid-gap-xl, .ga-6):has(> .v-card + .v-card) { row-gap: 32px !important; }
[data-workspace="new"] .ws-main :is(.grid-gap-xxl, .ga-8):has(> .v-card + .v-card) { row-gap: 40px !important; }

/* A container inside another already sits on the gutter: don't indent it twice (Settings). */
[data-workspace="new"] .ws-main .v-container .v-container { padding-left: 0; padding-right: 0; }

/* ---------- Buttons: one primary per region; quiet secondaries (YButton has its own) ---------- */
[data-workspace="new"] .v-btn { border-radius: var(--mw-r) !important; font-weight: 550; text-transform: none; letter-spacing: normal; }
[data-workspace="new"] .v-btn .v-btn__overlay { background: var(--mw-text-primary); }
[data-workspace="new"] .v-btn.v-btn--disabled { opacity: .45; }
[data-workspace="new"] .v-btn.elevation-1 { box-shadow: none !important; }

/* ---------- Fields: 40 px, one quiet outline, one focus ring ---------- */
[data-workspace="new"] .v-field { border-radius: var(--mw-r) !important; }
[data-workspace="new"] .v-field--variant-outlined .v-field__outline { color: var(--mw-border-strong); --v-field-border-opacity: 1; }
[data-workspace="new"] .v-field--variant-outlined:hover .v-field__outline { color: var(--mw-text-tertiary); }
[data-workspace="new"] .v-field--variant-outlined.v-field--focused .v-field__outline { color: var(--mw-focus-ring); }
[data-workspace="new"] .v-field--error:not(.v-field--disabled) .v-field__outline { color: var(--mw-status-danger) !important; }
[data-workspace="new"] .v-field--variant-solo-filled,
[data-workspace="new"] .v-field--variant-filled { background: var(--mw-bg-canvas) !important; box-shadow: inset 0 0 0 1px var(--mw-border-subtle) !important; }
[data-workspace="new"] .v-field--variant-solo-filled .v-field__overlay,
[data-workspace="new"] .v-field--variant-filled .v-field__overlay { display: none; }
[data-workspace="new"] .v-field__input { font-size: 14px; color: var(--mw-text-primary); }
/* Chrome paints an autofilled <input> pale blue but not the clear button beside it, so the field
   looked split in two. Covering the browser's fill with the field's own ground keeps it one piece. */
[data-workspace="new"] .v-field input:-webkit-autofill,
[data-workspace="new"] .v-field input:-webkit-autofill:hover,
[data-workspace="new"] .v-field input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--mw-bg-canvas) inset !important;
    -webkit-text-fill-color: var(--mw-text-primary) !important;
    caret-color: var(--mw-text-primary);
}
[data-workspace="new"] .v-field input::placeholder,
[data-workspace="new"] .v-field textarea::placeholder { color: var(--mw-text-tertiary); opacity: 1; }
[data-workspace="new"] .v-label { color: var(--mw-text-secondary); opacity: 1; }
[data-workspace="new"] .v-messages__message { font-size: 13px; line-height: 19px; }
/* ---------- Surfaces: no cards inside cards, no decorative shadows (YCard has its own) ---------- */
[data-workspace="new"] .v-card { box-shadow: none; }
[data-workspace="new"] .top-gradient,
[data-workspace="new"] .bg-gradient,
[data-workspace="new"] [class*="gradient"]:not(.v-application) { background-image: none !important; }
[data-workspace="new"] .v-divider { border-color: var(--mw-border-subtle) !important; opacity: 1; }

/* Drawers (SidePanel), dialogs, menus: only floating things get elevation. */
@media (min-width: 1280px) {
    [data-workspace="new"] .ws-frame--inspector .ws-main { padding-right: var(--ws-inspector-w) !important; }
    [data-workspace="new"] .ws-frame--inspector .ws-top,
    [data-workspace="new"] .ws-frame--inspector .y-view-header,
    [data-workspace="new"] .ws-frame--inspector .action-bar.v-footer { width: auto !important; right: var(--ws-inspector-w) !important; }
}
[data-workspace="new"] .v-dialog > .v-overlay__content > .v-card,
[data-workspace="new"] .v-dialog > .v-overlay__content > .v-sheet { border-radius: 14px !important; background: var(--mw-bg-canvas); box-shadow: var(--mw-shadow-pop) !important; }
[data-workspace="new"] .v-menu > .v-overlay__content > .v-list,
[data-workspace="new"] .v-menu > .v-overlay__content > .v-card,
[data-workspace="new"] .v-menu > .v-overlay__content > .v-sheet,
[data-workspace="new"] .v-autocomplete__content > .v-list,
[data-workspace="new"] .v-select__content > .v-list,
[data-workspace="new"] .v-combobox__content > .v-list { border-radius: var(--mw-r-lg) !important; background: var(--mw-bg-canvas) !important; box-shadow: none !important; padding: 4px; }
[data-workspace="new"] .y-dialog > .y-dialog__card.y-card { border-radius: 14px !important; box-shadow: var(--mw-shadow-pop) !important; }
/* A dialog or panel takes focus to hand it to the keyboard, not to show a ring round itself. */
[data-workspace="new"] .v-application :is(.y-dialog > .y-dialog__card, .y-side-panel > .y-side-panel__header):focus-visible { outline: none; }
[data-workspace="new"] .y-menu > .v-list,
[data-workspace="new"] .y-picker__menu { border-radius: var(--mw-r-lg); background: var(--mw-bg-canvas); box-shadow: var(--mw-shadow-pop); }
[data-workspace="new"] .y-menu > .v-list { padding: 4px; }
[data-workspace="new"] .v-overlay__scrim { background: rgba(var(--mw-shadow-ink), 1); }
[data-workspace="new"] .v-overlay--active > .v-overlay__scrim { opacity: .22; }
/* Search takes the screen: the page behind it steps further back than behind a dialog. */
[data-workspace="new"] .ws-search-dialog.v-overlay--active > .v-overlay__scrim { opacity: .45; }
[data-workspace="new"] .v-tooltip > .v-overlay__content { background: var(--mw-text-primary) !important; color: var(--mw-bg-canvas) !important; font: 500 12px/1.35 var(--mw-font); border-radius: 7px; padding: 5px 9px; }

/* ---------- Lists ---------- */
[data-workspace="new"] .v-list { color: var(--mw-text-primary); }
/* Every floating layer gets a surface and the pop shadow, whatever the menu nests inside it. */
[data-workspace="new"] .v-menu > .v-overlay__content { border-radius: var(--mw-r-lg); background: var(--mw-bg-canvas); box-shadow: var(--mw-shadow-pop); }
[data-workspace="new"] .v-menu > .v-overlay__content .v-list { background: var(--mw-bg-canvas); }
[data-workspace="new"] .v-list-item { border-radius: var(--mw-r); }
[data-workspace="new"] .v-list-item-title { font-size: 14px; line-height: 20px; }
[data-workspace="new"] .v-list-item-subtitle { font-size: 13px; line-height: 19px; color: var(--mw-text-tertiary); opacity: 1; }
/* The selected tint goes on the row, not its overlay: the overlay is positioned above the row's
   unpositioned content, so an opaque one hides a picker's label and leaves only its icon. */
/* An item with a colour of its own (a decision's tone, a destructive action) keeps it, as Vuetify's !important text classes keep it in the Vue. */
[data-workspace="new"] .v-list-item--active { background: var(--mw-bg-selected); }
[data-workspace="new"] .v-list-item--active:not([class*="text-"]) { color: var(--mw-text-primary); }
[data-workspace="new"] .v-list-item--active > .v-list-item__overlay { opacity: 0; }

/* ---------- Tables: the name leads; fine separators, quiet headers ---------- */
[data-workspace="new"] .v-table { background: transparent !important; color: var(--mw-text-primary); font-size: 14px; }
[data-workspace="new"] .v-table > .v-table__wrapper > table > thead > tr > th {
    height: 40px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--mw-text-tertiary) !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    background: var(--mw-bg-canvas) !important;
    border-bottom: 1px solid var(--mw-border-subtle) !important;
}
[data-workspace="new"] .v-table > .v-table__wrapper > table > tbody > tr > td { border-bottom: 1px solid var(--mw-border-faint) !important; }
[data-workspace="new"] .v-table > .v-table__wrapper > table > tbody > tr:hover > td { background: var(--mw-bg-hover); }
/* The sticky action column paints its own hover over an opaque surface, in the classic grey unless told otherwise. */
[data-workspace="new"] .v-table > .v-table__wrapper > table > tbody > .v-data-table__tr:hover > .v-data-table-column--fixed-end { background: var(--mw-bg-hover); }
[data-workspace="new"] .v-table > .v-table__wrapper > table > tbody > tr.v-data-table__selected > td { background: var(--mw-bg-selected); }
[data-workspace="new"] .v-data-table-footer { font-size: 13px; color: var(--mw-text-tertiary); }

/* ---------- Tabs: words with one underline, no caps ---------- */
[data-workspace="new"] .y-tabs .y-tab { height: 40px !important; min-width: 0; padding: 0 2px; margin-right: 22px; font-size: 14px; font-weight: 500; color: var(--mw-text-secondary) !important; text-transform: none; border-radius: 0 !important; }
[data-workspace="new"] .y-tabs .y-tab:hover { color: var(--mw-text-primary) !important; }
[data-workspace="new"] .y-tabs .y-tab.y-tab--active { color: var(--mw-text-primary) !important; }
[data-workspace="new"] .y-tabs .y-tab::before { display: none; }
[data-workspace="new"] .y-tab--active::after { background: var(--mw-text-primary); height: 2px; }

/* ---------- Bulk selection bar ---------- */
/* It stays in this sheet with the phone rule in mobile.css.
   It sticks to the top of the page so its actions stay in reach on a long list; in the workspace the
   header is fixed over that edge, so it sticks just below it (Vuetify's --v-layout-top, set on
   v-main, is the header's height). */
[data-workspace="new"] .bulk-selection-bar.v-card { top: var(--v-layout-top, 0px); }

/* ---------- Chips and status: words first, quiet tints ---------- */
[data-workspace="new"] .v-chip { border-radius: 6px !important; font-weight: 500; }
[data-workspace="new"] .v-chip.v-chip--size-small { font-size: 12px; }
[data-workspace="new"] .y-chip { border-radius: 6px !important; font-weight: 500; }
[data-workspace="new"] .y-chip.y-chip--small { font-size: 12px; }

/* ---------- Alerts / notes keep their status color, lose their weight ---------- */
[data-workspace="new"] .v-alert { border-radius: var(--mw-r-lg) !important; box-shadow: none !important; }

/* ---------- Switches and checkboxes take the theme's action color ---------- */
[data-workspace="new"] .v-selection-control--dirty .v-selection-control__input > .v-icon,
[data-workspace="new"] .v-checkbox-btn.v-selection-control--dirty .v-icon { color: var(--mw-action-primary); }

/* ---------- Focus: a visible 2 px ring everywhere it isn't drawn on a container ---------- */
[data-workspace="new"] .v-application a:focus-visible,
[data-workspace="new"] .v-application button:focus-visible,
[data-workspace="new"] .v-application [tabindex]:focus-visible { outline: 2px solid var(--mw-focus-ring); outline-offset: 2px; }
[data-workspace="new"] .v-btn:focus-visible > .v-btn__overlay { opacity: 0; }

/* ---------- Scrollbars ---------- */
[data-workspace="new"] * { scrollbar-width: thin; scrollbar-color: var(--mw-border-strong) transparent; }
/* Task action glyphs in buttons (Approve, Reject, Complete, Won't do; the Approvals table's icon
   buttons): the glyph alone, outlined in the button's own color, without the filled square
   behind it. Scoped to buttons: checkboxes and other icons share these fills. */
[data-workspace="new"] .v-btn .v-icon__svg path:is([fill="#4263EB"], [fill="#FF9211"]):not([stroke]),
[data-workspace="new"] .v-btn .v-icon__svg g:is([fill="#4263EB"], [fill="#FF9211"]) > path:not([stroke]) { fill: none; }
/* (The fill sits on the square's path, or on a group around both paths, depending on the file.) */
[data-workspace="new"] .v-btn .v-icon__svg path:is([fill="#4263EB"], [fill="#FF9211"]):not([stroke]) ~ path[stroke="#fff"],
[data-workspace="new"] .v-btn .v-icon__svg g:is([fill="#4263EB"], [fill="#FF9211"]) > path[stroke="#fff"] { fill: none; stroke: currentColor; stroke-width: 1.4; transform: scale(1.3); transform-box: view-box; transform-origin: center; }
/* Won't do draws its glyph as a white fill rather than a white stroke, so it takes the button's color as a fill. */
[data-workspace="new"] .v-btn .v-icon__svg path:is([fill="#FF9211"], [fill="#ff9211"]):not([stroke]) ~ path:is([fill="white"], [fill="#fff"], [fill="#FFF"]) { fill: currentColor; }

/* ==========================================================================
   C. Narrow screens and phones.
   Under 900 px the sidebar is an overlay opened from the header; under 768 px
   the rail is a bottom bar, the switcher takes the width, and every page uses
   16 px gutters with no sideways scrolling.
   ========================================================================== */

@media (max-width: 899px) {
    [data-workspace="new"] { --mw-pad-x: 24px; }
}

@media (max-width: 767px) {
    [data-workspace="new"] { --mw-pad-x: 16px; }
    [data-workspace="new"] .ws-main { overflow-x: clip; }

    /* The switcher sits over the whole page above the bottom bar. */
    [data-workspace="new"] .ws-switcher { left: 0; width: 100vw; bottom: calc(60px + env(safe-area-inset-bottom, 0px)); border-right: 0; box-shadow: none; }
    [data-workspace="new"] .ws-top__row { padding: 0 8px; }
    [data-workspace="new"] .ws-crumb { font-size: 13px; }

    [data-workspace="new"] .ws-page { padding-top: 16px; padding-bottom: 48px; }
    [data-workspace="new"] .ws-h1 { font-size: 24px !important; line-height: 32px !important; }
    [data-workspace="new"] .ws-tabs { gap: 20px; margin-top: 24px; }
    [data-workspace="new"] .ws-tools { flex-wrap: wrap; }
    [data-workspace="new"] .ws-tools .ws-find, [data-workspace="new"] .ws-find--wide { width: 100%; }
    [data-workspace="new"] .ws-tools__sp { display: none; }

    /* Work rows: name and reason, then status and due on one quiet line. */
    [data-workspace="new"] .ws-tr { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; padding: 10px 4px; }
    [data-workspace="new"] .ws-tr--h { display: none; }
    [data-workspace="new"] .ws-tr .nm { grid-column: 1 / -1; }
    [data-workspace="new"] .ws-tr .due { display: block; justify-self: end; }
    /* The existing product on a phone. */
    /* Table toolbars (YDataTable #top): search on its own line, controls under it. */
    [data-workspace="new"] .v-table .ma-4.d-flex.align-center { flex-wrap: wrap; margin: 12px !important; }
    [data-workspace="new"] .v-table .ma-4.d-flex.align-center > .flex-grow-1 { flex-basis: 100%; }
    /* The page title. It stays in this sheet: it ties with the type scale in reskin.css and wins by coming after it. */
    [data-workspace="new"] .y-view-header .text-h5 { font-size: 24px !important; line-height: 32px !important; }
    [data-workspace="new"] .ws-main .v-container { padding-left: var(--mw-pad-x) !important; padding-right: var(--mw-pad-x) !important; }
    [data-workspace="new"] .v-dialog > .v-overlay__content { margin: 12px !important; max-width: calc(100vw - 24px) !important; width: calc(100vw - 24px) !important; }
    [data-workspace="new"] .v-table__wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    [data-workspace="new"] .y-tabs { overflow-x: auto; }
    [data-workspace="new"] .v-btn { min-height: 40px; }
}

/* Pinned pages in the switcher / Pages sidebar never grow past six rows. */

/* Links: custom.scss colors every a:not(.v-btn) with the primary color and ships
   inside every component's CSS, so the workspace's link-shaped rows restate theirs. */
[data-workspace="new"] a.ws-tab { color: var(--mw-text-secondary); }
[data-workspace="new"] a.ws-tab:hover,
[data-workspace="new"] a.ws-tab[aria-selected="true"] { color: var(--mw-text-primary); }
[data-workspace="new"] a.ws-swl,
[data-workspace="new"] a.ws-tr,
[data-workspace="new"] a.ws-askrae,
[data-workspace="new"] a.ws-menu__item,
[data-workspace="new"] .ws-side__head h2 a { color: var(--mw-text-primary); }
[data-workspace="new"] a.ws-nl { color: var(--mw-text-secondary); }
[data-workspace="new"] a.ws-nl:hover { color: var(--mw-text-primary); }
[data-workspace="new"] .ws-crumb a { color: var(--mw-text-tertiary); }
[data-workspace="new"] .ws-crumb a:hover { color: var(--mw-text-primary); }
[data-workspace="new"] a.ws-tlink { color: var(--mw-action-link); }

/* typography.scss gives h1 to h6 pixel letter-spacing (−3.52 px on h1) with !important,
   sized for display headings; at workspace sizes that crushes the letters. */
[data-workspace="new"] :is(.ws-page, .ws-side, .ws-search, .ws-menu) :is(h1, h2, h3, h4, h5, h6) { letter-spacing: normal !important; }
[data-workspace="new"] .ws-page .ws-h1 { letter-spacing: -.016em !important; }
[data-workspace="new"] .ws-page .ws-h2 { letter-spacing: -.008em !important; }
[data-workspace="new"] .ws-side .ws-side__head h2 { letter-spacing: -.01em !important; }
/* Legacy pages: headings rendered as bare tags keep their sizes but lose the crush. */
[data-workspace="new"] .ws-main :is(h4, h5, h6) { letter-spacing: -.01em !important; }

/* The workspace's own menus already draw their surface. */
[data-workspace="new"] .v-menu > .v-overlay__content:has(> .ws-menu) { background: transparent; box-shadow: none; }

/* The shell's frame as the server draws it: the sidebar fixed at the left,
   the main pane beside it, and the header row at the top of the pane. */
[data-workspace="new"] .ws-shell { background: var(--mw-bg-canvas); }
[data-workspace="new"] .ws-drawer { position: fixed; top: 0; left: 0; bottom: 0; z-index: 1004; width: 272px; border-right: 1px solid var(--mw-border-faint); background: var(--mw-bg-sidebar); color: var(--mw-text-primary); }
[data-workspace="new"] .ws-main { padding-left: 272px; min-height: 100vh; background: var(--mw-bg-canvas); }
[data-workspace="new"] .ws-shell--collapsed .ws-drawer { display: none; }
[data-workspace="new"] .ws-shell--collapsed .ws-main { padding-left: 0; }
[data-workspace="new"] .ws-top { display: none; background: var(--mw-bg-canvas); }
[data-workspace="new"] .ws-main > :is(.ws-page, .ov) { margin-top: 16px; }
[data-workspace="new"] .ws-top--trail, [data-workspace="new"] .ws-shell--collapsed .ws-top { display: block; }
[data-workspace="new"] .ws-expand { display: none; }
[data-workspace="new"] .ws-shell--collapsed .ws-expand { display: inline-grid; }
[data-workspace="new"] .ws-scrim { display: none; }
[data-workspace="new"] :is(.ws-fly, .ws-menu, .ws-sb__fav, .ws-sb__favlist, .ws-search__row, .ws-search__empty, .ws-pl, .ws-pgrp)[hidden] { display: none !important; }

/* The account menu opens upward from its button, and Theme's list beside it. */
[data-workspace="new"] .ws-sb__foot { position: relative; }
[data-workspace="new"] #ws-acct-menu { position: absolute; left: 12px; right: 12px; min-width: 0; bottom: calc(100% + 1px); z-index: 2600; }
[data-workspace="new"] .ws-menu__sub { position: relative; }
[data-workspace="new"] .ws-menu--side { position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%); z-index: 2601; min-width: 220px; }
[data-workspace="new"] .ws-menu__tick { visibility: hidden; }
[data-workspace="new"] .ws-menu__item[aria-checked="true"] .ws-menu__tick { visibility: visible; }

/* A page's star: hollow until it is a favorite. */
[data-workspace="new"] .ws-pl__star-on { display: none; }
[data-workspace="new"] .ws-pl.is-pinned .ws-pl__star { display: none; }
[data-workspace="new"] .ws-pl.is-pinned .ws-pl__star-on { display: contents; }
[data-workspace="new"] .ws-pl__star { display: contents; }

/* ⌘K: a dialog near the top of the window over a darker page. */
[data-workspace="new"] .ws-search-dialog { width: 680px; max-width: calc(100vw - 32px); margin: 10vh auto auto; padding: 0; border: 0; background: transparent; overflow: visible; }
[data-workspace="new"] .ws-search-dialog::backdrop { background: rgba(0, 0, 0, .099); }
[data-workspace="new"] .ws-search__row { color: var(--mw-text-primary); text-decoration: none; }

/* Below 900 px the sidebar opens over the page from the header. */
@media (max-width: 899px) {
    [data-workspace="new"] .ws-drawer { display: block; width: 300px; transform: translateX(-100%); transition: transform 160ms ease; }
    [data-workspace="new"] .ws-shell--overlay .ws-drawer { transform: none; box-shadow: 24px 0 48px -24px rgba(var(--mw-shadow-ink), .3); }
    [data-workspace="new"] .ws-shell--overlay .ws-scrim { display: block; position: fixed; inset: 0; z-index: 1003; background: rgba(var(--mw-shadow-ink), .22); }
    [data-workspace="new"] .ws-main { padding-left: 0; }
    [data-workspace="new"] .ws-top { display: block; }
    [data-workspace="new"] .ws-expand { display: inline-grid; }
}
@media (prefers-reduced-motion: reduce) { [data-workspace="new"] .ws-drawer { transition: none; } }
[data-workspace="new"] .y-side-panel {
    background: var(--mw-bg-canvas);
    border-left: 1px solid var(--mw-border-subtle);
    border-radius: 0;
    box-shadow: -24px 0 48px -32px rgba(var(--mw-shadow-ink), .35);
    color: var(--mw-text-primary);
}
@media (max-width: 767px) {
    [data-workspace="new"] .y-side-panel { width: 100vw; max-width: 100vw; }
}
@media (min-width: 768px) {
    [data-workspace="new"] .ws-top--back ~ * [data-trail-back],
    [data-workspace="new"] .ws-top--back [data-trail-back],
    [data-workspace="new"] .ws-top--back ~ * :has(> [data-trail-back]:only-child) { display: none !important; }
}
@media (max-width: 767px) {
    [data-workspace="new"] .ws-top--mback ~ * [data-trail-back],
    [data-workspace="new"] .ws-top--mback ~ * :has(> [data-trail-back]:only-child) { display: none !important; }
}
/* Notification dots follow the shell's record of what is unread (#ws-notices), which a poll keeps up. */
[data-workspace="new"] .ws-expand { position: relative; }
[data-workspace="new"] .ws-top__row > .ws-expand { position: absolute; }
[data-workspace="new"] [data-ws-notice-dot] { display: none; }
[data-workspace="new"] .ws-shell:has(#ws-notices[data-on]) [data-ws-notice-dot] { display: block; }
[data-workspace="new"] .ws-shell:has(#ws-notices:not([data-unread="0"])) [data-ws-notice-inline] { display: none; }
/* A side panel laid out beside the page is part of the page: no dimming, no floating shadow. */
@media (min-width: 1280px) {
    [data-workspace="new"] .ws-frame--inspector .y-side-panel { box-shadow: none; }
    [data-workspace="new"] .ws-frame--inspector .y-side-panel::backdrop { background: transparent; }
}
/* A form's action bar spans the page between the sidebar and whatever holds the right (Rae, a side panel beside the page), its actions on the page's own edges. */
@media (min-width: 768px) {
    [data-workspace="new"] .ws-shell .y-action-bar { left: 272px; right: 0; width: auto; padding-left: var(--mw-pad-x); padding-right: var(--mw-pad-x); }
    [data-workspace="new"] .ws-shell--collapsed .y-action-bar { left: 0; }
    [data-workspace="new"] .ws-shell--rae:not(.ws-shell--rae-over) .y-action-bar { right: var(--ws-rae-w, 380px); }
}
@media (min-width: 768px) and (max-width: 899px) {
    [data-workspace="new"] .ws-shell .y-action-bar { left: 0; }
}
@media (min-width: 1280px) {
    [data-workspace="new"] .ws-frame--inspector .y-action-bar { right: var(--ws-inspector-w); }
}

/* The Appearance card of the General settings: the layout switch, drawn as
   links because switching reloads the page, and the theme swatches. */
.y-appearance { max-width: 600px; }
a.segmented__option { text-decoration: none; }
.segmented__option[aria-current="true"] {
  background: rgb(var(--v-theme-surface));
  color: rgb(var(--v-theme-on-surface));
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.appearance-themes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
.appearance-theme {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: var(--mw-bg-canvas, rgb(var(--v-theme-surface)));
  box-shadow: inset 0 0 0 1px var(--mw-border-subtle, rgb(var(--v-theme-structure-border)));
  color: var(--mw-text-primary, rgb(var(--v-theme-text-default)));
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.appearance-theme:hover { background: var(--mw-bg-hover, rgb(var(--v-theme-state-primary-hover))); }
.appearance-theme[aria-checked="true"] {
  background: var(--mw-bg-selected, rgb(var(--v-theme-state-primary-selected)));
  box-shadow: inset 0 0 0 1.5px var(--mw-focus-ring, rgb(var(--v-theme-primary)));
  font-weight: 550;
}
.appearance-theme:focus-visible { outline: 2px solid var(--mw-focus-ring, rgb(var(--v-theme-primary))); outline-offset: 2px; }
[data-workspace="new"] .appearance-theme__swatch { width: 36px; height: 22px; }

/* The workspace's intro overlay (ui.WorkspaceIntroDialog) and its
   walkthrough tour's ring and callout. The overlay is drawn in Classic too,
   so it reads the Vuetify theme rather than the workspace's tokens. */

.wi-overlay {
  width: calc(100% - 48px);
  max-width: 1000px;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: transparent;
  overflow: visible;
}
/* Vuetify draws the scrim's colour at its overlay opacity, 0.32. */
.wi-overlay::backdrop { background: rgba(15, 23, 42, 0.1344); }
/* The workspace's overlays dim the page at a fifth of the scrim's colour. */
[data-workspace="new"] .wi-overlay::backdrop { background: rgba(15, 23, 42, 0.0924); }
[data-workspace="new"] .wi-overlay:is(:focus, :focus-visible) { outline: 0; }
.wi-overlay[open] { animation: wi-pop 0.28s cubic-bezier(.2, .8, .2, 1); }
@keyframes wi-pop { from { opacity: 0; transform: translateY(12px) scale(0.985); } }

.wi {
  --wi-ink: #0f1b2d;
  --wi-ink-2: #3f4a5c;
  --wi-ink-3: #5d6778;
  --wi-blue: rgb(var(--v-theme-primary));
  position: relative;
  border-radius: 28px;
  color: var(--wi-ink);
  font-family: var(--app-font-family, 'Hanken Grotesk', sans-serif);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.15) 45%, rgba(255, 255, 255, 0.35) 100%),
    url("images/workspace-intro/background.webp") center / cover no-repeat,
    #f6f8ff;
  box-shadow: 0 40px 100px -30px rgba(15, 23, 42, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.wi:focus { outline: 0; }
.wi__body { position: relative; padding: 56px 64px 32px; }
.wi__body[hidden] { display: none; }

.wi__close {
  position: absolute; top: 22px; right: 22px; z-index: 2;
  width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; cursor: pointer;
  display: grid; place-items: center; color: var(--wi-ink-2);
  transition: background-color 0.15s ease;
}
.wi__close:hover { background: rgba(255, 255, 255, 0.7); }
.wi svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.wi__title { margin: 0; color: var(--wi-ink); letter-spacing: -0.03em; }
.wi__title-light, .wi__title-bold { display: block; font-size: 56px; line-height: 60px; }
.wi__title-light { font-weight: 300; }
.wi__title-bold { font-weight: 700; }
.wi .wi__link { color: var(--wi-blue); text-decoration: underline; text-underline-offset: 2px; }
.wi__lede { margin: 16px 0 0; font-size: 18px; line-height: 26px; color: var(--wi-ink-2); }
@media (min-width: 1040px) { .wi__lede { white-space: nowrap; } }

.wi__preview {
  position: relative; display: block; width: min(100%, calc((100dvh - 468px) * 16 / 9)); margin: 32px 0 0; padding: 0; border: 0; cursor: pointer;
  border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: 0 24px 60px -24px rgba(36, 60, 140, 0.35), 0 0 0 1px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s cubic-bezier(.2, .8, .2, 1), box-shadow 0.25s ease;
}
.wi__preview img { display: block; width: 100%; height: auto; aspect-ratio: 1456 / 819; object-fit: cover; }
.wi__preview:hover { transform: translateY(-2px); box-shadow: 0 30px 70px -24px rgba(36, 60, 140, 0.42), 0 0 0 1px rgba(15, 23, 42, 0.06); }
.wi__preview:focus-visible, .wi__btn:focus-visible, .wi__close:focus-visible, .wi__back:focus-visible { outline: 3px solid rgba(var(--v-theme-primary), 0.55); outline-offset: 3px; }
.wi__play {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(31, 41, 55, 0.82); box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
  transition: transform 0.2s ease;
}
.wi__play svg { width: 26px; height: 26px; fill: currentColor; stroke: none; margin-left: 3px; }
.wi__preview:hover .wi__play { transform: scale(1.06); }
.wi__duration {
  position: absolute; right: 14px; bottom: 14px; padding: 3px 10px; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: #fff; background: rgba(31, 41, 55, 0.82);
}

.wi__features { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wi__features li { display: flex; gap: 14px; padding: 0 24px; }
.wi__features li + li { border-left: 1px solid rgba(15, 23, 42, 0.1); }
.wi__features li:first-child { padding-left: 0; }
.wi__features svg { flex: none; width: 24px; height: 24px; color: var(--wi-ink); margin-top: -1px; }
.wi__features p { margin: 0; min-width: 0; font-size: 15px; line-height: 22px; color: var(--wi-ink-2); }

.wi__actions { display: flex; justify-content: center; gap: 20px; margin-top: 36px; }
.wi__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 28px; min-width: 256px; border-radius: 10px; cursor: pointer;
  font: inherit; font-size: 16px; font-weight: 600; white-space: nowrap; text-decoration: none;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.wi .wi__btn--primary { border: 0; color: #fff; background: var(--wi-blue); box-shadow: 0 10px 24px -10px rgba(var(--v-theme-primary), 0.8); }
.wi__btn--primary:hover { background: rgba(var(--v-theme-primary), 0.9); transform: translateY(-1px); }
.wi .wi__btn--secondary { border: 1px solid rgba(15, 23, 42, 0.14); color: var(--wi-ink); background: rgba(255, 255, 255, 0.85); }
.wi__btn--secondary:hover { background: #fff; }
.wi__btn--secondary svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.wi__btn.is-pulse { animation: wi-pulse 1.6s ease-in-out 2; }
@keyframes wi-pulse { 50% { box-shadow: 0 0 0 8px rgba(var(--v-theme-primary), 0.18), 0 10px 24px -10px rgba(var(--v-theme-primary), 0.8); } }
.wi__foot { margin: 14px 0 0; text-align: center; font-size: 14px; color: var(--wi-ink-3); }

.wi__body--video { padding-top: 28px; }
.wi__videohead { display: flex; align-items: center; gap: 16px; padding-right: 48px; }
.wi__back {
  flex: none; display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px 0 6px;
  border: 0; border-radius: 8px; background: rgba(255, 255, 255, 0.7); cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--wi-ink);
}
.wi__back svg { width: 18px; height: 18px; }
.wi__videotitle { margin: 0; font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; color: var(--wi-ink); }
.wi__player { margin-top: 20px; border-radius: 16px; overflow: hidden; background: #0b1220; box-shadow: 0 24px 60px -24px rgba(36, 60, 140, 0.4); }
.wi__player video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #0b1220; }
.wi__actions--video { margin-top: 24px; }

@media (prefers-reduced-motion: reduce) {
  .wi-overlay[open] { animation: none; }
  .wi__preview, .wi__play, .wi__btn { transition: none; }
  .wi__btn.is-pulse { animation: none; }
}

/* Short laptop screens: a tighter rhythm so it all fits without scrolling. */
@media (min-width: 769px) and (max-height: 1040px) {
  .wi__body { padding-top: 44px; padding-bottom: 24px; }
  .wi__title-light, .wi__title-bold { font-size: 48px; line-height: 52px; }
  .wi__lede { margin-top: 12px; }
  .wi__preview { margin-top: 24px; }
  .wi__features { margin-top: 28px; }
  .wi__actions { margin-top: 28px; }
}
@media (min-width: 769px) and (max-height: 800px) {
  .wi__title-light, .wi__title-bold { font-size: 40px; line-height: 44px; }
}

@media (max-width: 980px) {
  .wi__body { padding: 48px 40px 28px; }
  .wi__title-light, .wi__title-bold { font-size: 46px; line-height: 50px; }
  .wi__features li { padding: 0 16px; }
  .wi__btn { min-width: 0; }
}

/* A phone: full screen, one column, actions within thumb reach. */
@media (max-width: 768px) {
  .wi-overlay { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; border-radius: 0; }
  /* The workspace insets every phone dialog by 12px; Classic's is full screen. */
  [data-workspace="new"] .wi-overlay { width: calc(100% - 24px); margin: 12px; }
  .wi { min-height: 100%; max-height: none; border-radius: 0; box-shadow: none; }
  .wi__body { padding: 64px 20px calc(24px + env(safe-area-inset-bottom, 0px)); }
  .wi__close { top: 12px; right: 12px; }
  .wi__title-light, .wi__title-bold { font-size: 34px; line-height: 38px; }
  .wi__lede { font-size: 16px; line-height: 24px; }
  .wi__preview { width: 100%; margin-top: 24px; border-radius: 12px; }
  .wi__play { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
  .wi__features { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 28px; }
  .wi__features li, .wi__features li:first-child { padding: 0; }
  .wi__features li + li { border-left: 0; }
  .wi__actions { flex-direction: column; gap: 10px; margin-top: 28px; }
  .wi__btn { width: 100%; height: 48px; }
  .wi__body--video { padding-top: 16px; }
  .wi__videohead { flex-direction: column; align-items: flex-start; gap: 12px; }
  .wi__player { border-radius: 12px; }
}

/* The tour: a ring on one part of the sidebar and a numbered callout beside
   it that drifts gently towards it. */
.wtour-host[hidden] { display: none; }
.wtour-ring {
  position: fixed; z-index: 2590; pointer-events: none; border-radius: 12px;
  box-shadow: 0 0 0 2px var(--mw-focus-ring), 0 0 0 6px color-mix(in srgb, var(--mw-focus-ring) 18%, transparent);
  animation: wtour-in .24s cubic-bezier(.16, 1, .3, 1) both;
}
.wtour {
  position: fixed; z-index: 2600; width: 320px; outline: 0;
  font-family: var(--mw-font, var(--app-font-family, sans-serif)); color: var(--mw-text-primary);
  animation: wtour-in .24s cubic-bezier(.16, 1, .3, 1) both;
}
.wtour__float {
  position: relative; padding: 12px 12px 12px 14px; border-radius: 14px; background: var(--mw-bg-canvas);
  border: 1px solid var(--mw-border-subtle);
  box-shadow: 0 12px 32px -8px rgba(var(--mw-shadow-ink), .28);
  animation: wtour-drift 2.4s cubic-bezier(.65, 0, .35, 1) .3s infinite alternate;
}
.wtour__float::before {
  content: ""; position: absolute; left: -7px; top: calc(var(--wtour-arrow, 24px) - 7px); width: 12px; height: 12px;
  background: var(--mw-bg-canvas); transform: rotate(45deg); border-radius: 0 0 0 2px;
  border-left: 1px solid var(--mw-border-subtle); border-bottom: 1px solid var(--mw-border-subtle);
}
.wtour__head { display: flex; align-items: center; gap: 10px; padding: 2px 0; }
.wtour__n {
  flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  font-size: 12px; font-weight: 600; color: var(--mw-action-on-primary); background: var(--mw-action-primary);
}
.wtour__t { flex: 1; min-width: 0; font-size: 15px; line-height: 20px; font-weight: 600; }
.wtour__more { margin: 8px 0 0 34px; font-size: 14px; line-height: 20px; color: var(--mw-text-secondary); }
.wtour__foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.wtour__skip {
  padding: 0; border: 0; background: none; font: inherit; font-size: 13px; color: var(--mw-text-secondary); cursor: pointer;
}
.wtour__skip:hover { color: var(--mw-text-primary); text-decoration: underline; text-underline-offset: 3px; }
.wtour__skip:focus-visible { outline: 2px solid var(--mw-focus-ring); outline-offset: 2px; border-radius: 4px; }
.wtour__gap { flex: 1; }
.wtour__count { font-size: 12px; color: var(--mw-text-tertiary); font-variant-numeric: tabular-nums; }
.wtour [data-wtour-back][hidden] { display: none; }

@keyframes wtour-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes wtour-drift { from { transform: translateX(0); } to { transform: translateX(-4px); } }

@media (prefers-reduced-motion: reduce) {
  .wtour__float { animation: none !important; }
}

/* Classic's way into the workspace, at the sidebar's foot under its menu. */
.y-sidebar__try { margin-top: auto; padding: 12px 16px 16px; box-shadow: 0 -12px 16px -12px rgba(var(--v-theme-primary), 0.18); }
.y-sidebar__try + .y-sidebar__foot { margin-top: 0; }
.y-sidebar__try-btn {
  display: flex; align-items: center; gap: 8px; width: 100%; height: 40px; padding: 0 14px;
  border: 1px solid rgba(var(--v-theme-primary), 0.35); border-radius: 10px;
  background: rgb(var(--v-theme-surface)); color: rgb(var(--v-theme-primary));
  font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 16px -8px rgba(var(--v-theme-primary), 0.45);
  transition: background-color 0.15s ease;
}
.y-sidebar__try-btn:hover { background: rgba(var(--v-theme-primary), 0.08); }
.y-sidebar__try-btn:focus-visible { outline: 2px solid rgb(var(--v-theme-primary)); outline-offset: 2px; }
.y-sidebar__try-btn .v-icon { font-size: 18px; }
.y-sidebar--collapsed .y-sidebar__try { padding: 12px 8px; }
.y-sidebar--collapsed .y-sidebar__try-btn { width: 40px; justify-content: center; padding: 0; margin: 0 auto; }
.y-sidebar--collapsed .y-sidebar__try-text { display: none; }

/* The Minimal Workspace on a phone, under 768 px: recomposed, not shrunk. A
   compact header with the page's name and one prominent action, the rest in
   a sheet; a bar of five destinations along the bottom; tables read as lists
   of two-line rows. Every rule is keyed on [data-workspace="new"], which only
   the workspace sets, so Classic never matches one. This sheet loads after
   workspace.css and wins the ties with it by that order. */

[data-workspace="new"] .ws-top__row--m,
[data-workspace="new"] .ws-bar,
[data-workspace="new"] .ws-mtool,
[data-workspace="new"] .ws-mselbar { display: none; }
[data-workspace="new"] .ws-dtools { display: contents; }
[data-workspace="new"] .ws-vh { display: contents; }
[data-workspace="new"] .ws-mlist td.ws-msub { display: none; }
[data-workspace="new"] .ws-switcher[hidden] { display: none; }
@media (min-width: 768px) {
    [data-workspace="new"] .ws-mlist--phone-select :is(thead th:first-child, td[data-m="sel"]) { display: none; }
}
[data-workspace="new"] .vh-m__meta { display: none; }
[data-workspace="new"] .ws-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--mw-bg-subtle); font-family: var(--mw-font); }
[data-workspace="new"] .ws-seg__b {
    display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 0; border-radius: 8px; background: none; cursor: pointer; text-decoration: none;
    font: inherit; font-size: 13px; font-weight: 500; color: var(--mw-text-secondary); white-space: nowrap;
}
[data-workspace="new"] .ws-seg__b[aria-pressed="true"] { background: var(--mw-bg-canvas); color: var(--mw-text-primary); font-weight: 600; box-shadow: 0 1px 2px rgba(var(--mw-shadow-ink), .12); }
[data-workspace="new"] .ws-seg__b:focus-visible { outline: 2px solid var(--mw-focus-ring); outline-offset: 1px; }

/* Header: 52 px with back, the page's name, its actions. */
[data-workspace="new"] .ws-top__row--m { height: 52px; padding: 0 8px 0 16px; gap: 4px; align-items: center; }
[data-workspace="new"] .ws-top__row--m .ws-mback { margin-left: -8px; width: 40px; height: 40px; color: var(--mw-text-primary); }
[data-workspace="new"] .ws-mtitle {
    flex: 1 1 auto; min-width: 0; margin: 0;
    font-size: 17px; line-height: 24px; font-weight: 600; letter-spacing: -.01em; color: var(--mw-text-primary);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
[data-workspace="new"] .ws-top__actions { display: flex; align-items: center; gap: 2px; flex: none; }
[data-workspace="new"] .ws-top__actions:empty { display: none; }
[data-workspace="new"] .ws-top__row--m .ws-ib { width: 40px; height: 40px; }
[data-workspace="new"] .ws-mprimary {
    display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 12px 0 9px; margin-right: 2px;
    border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap;
    font: inherit; font-size: 14px; font-weight: 600; line-height: 1;
    color: var(--mw-action-on-primary); background: var(--mw-action-primary); text-decoration: none;
    --ws-icon-stroke: 2.2;
}
[data-workspace="new"] .ws-mprimary:hover { background: var(--mw-action-primary-hover); }
[data-workspace="new"] .ws-mprimary:focus-visible { outline: 2px solid var(--mw-focus-ring); outline-offset: 2px; }
[data-workspace="new"] .ws-mprimary:disabled { opacity: .45; cursor: not-allowed; }
[data-workspace="new"] a.ws-mprimary { color: var(--mw-action-on-primary); }
[data-workspace="new"] .ws-mprimary--menu { padding: 0 8px 0 12px; }
[data-workspace="new"] .ws-mprimary--menu .mdi { font-size: 18px; margin-left: -4px; }
[data-workspace="new"] .ws-top__actions .ws-tlink { margin-right: 8px; font-size: 14px; }
[data-workspace="new"] .ws-top__actions .ws-tlink:disabled { opacity: .45; cursor: not-allowed; }
[data-workspace="new"] .ws-msecondary {
    display: inline-flex; align-items: center; height: 34px; padding: 0 10px; margin-right: 2px;
    border: 0; border-radius: 999px; background: none; cursor: pointer; white-space: nowrap; text-decoration: none;
    font: inherit; font-size: 14px; font-weight: 600; color: var(--mw-text-primary);
}
[data-workspace="new"] .ws-msecondary:hover { background: var(--mw-bg-hover); }
[data-workspace="new"] .ws-msecondary:focus-visible { outline: 2px solid var(--mw-focus-ring); outline-offset: 2px; }

/* Bottom bar: 60 px of content plus the safe area; five equal, quiet destinations. */
[data-workspace="new"] .ws-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1004;
    height: calc(60px + env(safe-area-inset-bottom, 0px));
    background: var(--mw-bg-canvas); border-top: 1px solid var(--mw-border-faint);
}
[data-workspace="new"] .ws-bnav {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch;
    height: 60px; padding: 0 4px; font-family: var(--mw-font);
}
[data-workspace="new"] .ws-bn {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-width: 0; padding: 0; border: 0; background: none; cursor: pointer; text-decoration: none;
    color: var(--mw-text-tertiary); -webkit-tap-highlight-color: transparent; font: inherit;
}
[data-workspace="new"] a.ws-bn { color: var(--mw-text-tertiary); }
[data-workspace="new"] .ws-bn__ic { position: relative; display: grid; place-items: center; width: 48px; height: 28px; border-radius: 999px; transition: background-color .15s ease, color .15s ease; }
[data-workspace="new"] .ws-bn__l { font-size: 11px; line-height: 14px; font-weight: 500; letter-spacing: .01em; }
[data-workspace="new"] .ws-bn[aria-current="page"] { color: var(--mw-text-primary); }
[data-workspace="new"] .ws-bn[aria-current="page"] .ws-bn__ic { background: var(--mw-bg-selected); }
[data-workspace="new"] .ws-bn[aria-current="page"] .ws-bn__l { font-weight: 600; }
[data-workspace="new"] .ws-bn:focus-visible { outline: none; }
[data-workspace="new"] .ws-bn:focus-visible .ws-bn__ic { outline: 2px solid var(--mw-focus-ring); outline-offset: 1px; }
[data-workspace="new"] .ws-bn__dot {
    position: absolute; top: 2px; right: 10px; width: 8px; height: 8px; border-radius: 50%;
    background: var(--mw-status-running); box-shadow: 0 0 0 2px var(--mw-bg-canvas);
}
[data-workspace="new"] .ws-bn__avatar {
    width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
    font-size: 10px; font-weight: 650; letter-spacing: .02em; color: var(--mw-text-primary); background: var(--mw-bg-selected);
}
[data-workspace="new"] .ws-bn[aria-current="page"] .ws-bn__avatar { background: var(--mw-action-primary); color: var(--mw-action-on-primary); }
[data-workspace="new"] .ws-bn__avatar--lg { width: 40px; height: 40px; font-size: 14px; flex: none; }

/* Bottom sheet: secondary actions, New, theme and account. */
[data-workspace="new"] .ws-sheet-dialog {
    position: fixed; inset: auto 12px 12px 12px; width: auto; max-width: none; max-height: 82vh;
    margin: 0; padding: 0; border: 0; background: transparent; overflow: visible;
}
[data-workspace="new"] .ws-sheet-dialog::backdrop { background: rgba(0, 0, 0, .0616); }
[data-workspace="new"] .ws-sheet:focus { outline: 0; }
[data-workspace="new"] .ws-sheet {
    font-family: var(--mw-font); color: var(--mw-text-primary); background: var(--mw-bg-canvas);
    border-radius: 16px 16px 0 0; padding: 8px 8px calc(12px + env(safe-area-inset-bottom, 0px));
    max-height: 82vh; overflow-y: auto; overscroll-behavior: contain;
    box-shadow: 0 -12px 40px -12px rgba(var(--mw-shadow-ink), .28);
}
[data-workspace="new"] .ws-sheet hr { border: 0; border-top: 1px solid var(--mw-border-faint); margin: 8px 8px; }
[data-workspace="new"] .ws-sheet__grip { display: block; width: 36px; height: 4px; border-radius: 2px; margin: 0 auto 8px; background: var(--mw-border-strong); }
[data-workspace="new"] .ws-sheet__label { margin: 12px 12px 4px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--mw-text-tertiary); }
[data-workspace="new"] .ws-sheet__item {
    display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 0 12px;
    border: 0; border-radius: 10px; background: none; cursor: pointer; text-align: left; text-decoration: none;
    font: inherit; font-size: 15px; line-height: 20px; color: var(--mw-text-primary);
}
[data-workspace="new"] a.ws-sheet__item { color: var(--mw-text-primary); }
[data-workspace="new"] .ws-sheet__item:hover, [data-workspace="new"] .ws-sheet__item:active { background: var(--mw-bg-hover); }
[data-workspace="new"] .ws-sheet__item:focus-visible { outline: 2px solid var(--mw-focus-ring); outline-offset: -2px; }
[data-workspace="new"] .ws-sheet__item[aria-checked="true"] { font-weight: 600; }
[data-workspace="new"] .ws-sheet__item.is-danger { color: var(--mw-status-danger); }
[data-workspace="new"] .ws-sheet__item[disabled] { opacity: .45; cursor: not-allowed; }
[data-workspace="new"] .ws-sheet__ic { display: inline-grid; color: var(--mw-text-secondary); }
[data-workspace="new"] .ws-sheet__check { display: inline-grid; color: var(--mw-action-primary); visibility: hidden; }
[data-workspace="new"] .ws-sheet__item[aria-checked="true"] .ws-sheet__check { visibility: visible; }
[data-workspace="new"] .ws-sheet__item .grow { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-workspace="new"] .ws-sheet__meta { flex: none; font-size: 13px; color: var(--mw-text-tertiary); }
[data-workspace="new"] .ws-sheet__who { display: flex; align-items: center; gap: 12px; padding: 8px 12px 12px; }
[data-workspace="new"] .ws-sheet__who .ws-stack { display: flex; flex-direction: column; min-width: 0; }
[data-workspace="new"] .ws-sheet__who b { font-size: 15px; font-weight: 600; }
[data-workspace="new"] .ws-sheet__who .ws-stack > span { font-size: 13px; color: var(--mw-text-tertiary); overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 767px) {
    /* The shell: the header row always, in its phone form, and the bottom bar. */
    [data-workspace="new"] .ws-drawer { display: none; }
    [data-workspace="new"] .ws-top { display: block; position: sticky; top: 0; z-index: 1003; }
    [data-workspace="new"] .ws-top__row:not(.ws-top__row--m) { display: none; }
    [data-workspace="new"] .ws-top__row--m { display: flex; }
    [data-workspace="new"] .ws-bar { display: block; }
    [data-workspace="new"] .ws-main { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
    [data-workspace="new"] .ws-main > :is(.ws-page, .ov) { margin-top: 0; }

    /* The page's header: the shell's already names the page. A plain title
       goes, a rich one (a person, an application) stays, and the page's
       actions keep one compact row unless the page put them in the shell's
       header. */
    [data-workspace="new"] .ws-vh .y-view-header__info { display: none; }
    [data-workspace="new"] .ws-vh--plain .y-view-header__title-block { display: none; }
    [data-workspace="new"] .ws-vh--plain:not(:has(.y-view-header__controls > *)) { display: none; }
    [data-workspace="new"] .ws-vh--mapped .y-view-header__controls { display: none; }
    [data-workspace="new"] .ws-vh--mapped.ws-vh--plain { display: none; }
    [data-workspace="new"] .ws-vh .y-view-header { position: static; margin-top: 4px; padding-top: 6px; padding-bottom: 4px; }
    /* A rich title is the record's own line on a phone, in the Vue's 17 px. */
    [data-workspace="new"] .ws-vh--rich .y-view-header__title-block { padding: 4px 0 12px; }
    [data-workspace="new"] .ws-vh--rich .y-view-header { padding-top: 4px; padding-bottom: 0; }
    [data-workspace="new"] .ws-vh--rich.ws-vh--mapped .y-view-header__content { padding-bottom: 0; }
    [data-workspace="new"] .ws-vh--rich .y-view-header__title-block :is(h5, .text-h5) { font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; }
    /* A rich title the shell's header already says goes too, and its empty row keeps the Vue's 8 px. */
    [data-workspace="new"] .ws-vh--repeats .y-view-header__title-block { display: none; }
    [data-workspace="new"] .ws-vh--repeats .y-view-header { padding-top: 4px; padding-bottom: 0; }
    [data-workspace="new"] .ws-vh--repeats.ws-vh--mapped .y-view-header__content { min-height: 0; padding-bottom: 0; }
    [data-workspace="new"] .integration-bar__action-button { padding: 0 12px !important; font-size: 13px !important; }
    /* A form's action bar sits on the bottom bar, across the whole phone. */
    [data-workspace="new"] .ws-shell .y-action-bar { left: 0; right: 0; width: auto; bottom: 60px; padding-left: var(--mw-pad-x); padding-right: var(--mw-pad-x); }
    /* The Vue drawer is drawn outside the application on a phone, so its text and chips keep Vuetify's own sizes. */
    [data-workspace="new"] .v-application .y-side-panel .text-body-2 { line-height: 20px !important; }
    [data-workspace="new"] .v-application .y-side-panel__header .y-chip { height: 26px !important; }
    [data-workspace="new"] .vh-m__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 var(--mw-pad-x) 8px; }
    /* A view switch is the page's own first row, not part of its header's meta. */
    [data-workspace="new"] .vh-m__meta:has(> .ws-seg) { padding-top: 8px; }
    [data-workspace="new"] .ws-vh .y-view-header__content { flex-wrap: wrap; row-gap: 8px; }
    [data-workspace="new"] .ws-vh .y-view-header__controls { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; justify-content: flex-start; margin: 0; }
    [data-workspace="new"] .ws-vh .y-view-header__controls .v-btn { min-height: 36px !important; height: 36px !important; padding: 0 14px !important; font-size: 14px !important; margin: 0 !important; }

    /* Lists: no card around them, no header row, two-line rows. */
    [data-workspace="new"] .ws-mtool { display: inline-grid; width: 40px; height: 40px; color: var(--mw-text-secondary); }
    [data-workspace="new"] .ws-mlist .ma-4.d-flex.align-center { flex-wrap: wrap !important; margin: 0 0 8px !important; gap: 8px !important; }
    [data-workspace="new"] .ws-mlist .ma-4.d-flex.align-center > .flex-grow-1 { flex: 1 1 calc(100% - 48px) !important; min-width: 0; }
    [data-workspace="new"] .ws-dtools { display: none; }
    [data-workspace="new"] :is(.y-card, .v-card):has(> .ws-mlist, > div > .ws-mlist) {
        background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; overflow: visible !important;
    }
    [data-workspace="new"] .ws-mlist.v-table { background: transparent !important; --v-theme-structure-border: var(--v-theme-background); }
    [data-workspace="new"] .ws-mlist thead { display: none !important; }
    [data-workspace="new"] .ws-mlist .v-table__wrapper { overflow: visible !important; }
    [data-workspace="new"] .ws-mlist .v-table__wrapper > table { width: 100%; table-layout: fixed; min-width: 0 !important; }
    [data-workspace="new"] .ws-mlist tbody tr.v-data-table__tr {
        display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto;
        grid-template-areas: "sel title trail menu" "sel sub trail menu";
        align-items: center; align-content: center; column-gap: 12px; row-gap: 2px;
        min-height: 64px; padding: 10px 4px; border-radius: 10px; cursor: pointer;
        -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
    }
    /* The Vue's row keeps its cell's 1 px gridline, coloured as the page, under the 2 px between rows. */
    [data-workspace="new"] .ws-mlist tbody tr.v-data-table__tr + tr.v-data-table__tr { margin-top: 3px; }
    [data-workspace="new"] .ws-mlist tbody tr.v-data-table__tr:active { background: var(--mw-bg-hover); }
    [data-workspace="new"] .ws-mlist tbody tr.v-data-table__tr > td {
        display: none; height: auto !important; min-height: 0; padding: 0 !important; border: 0 !important; width: auto !important;
    }
    [data-workspace="new"] .ws-mlist tbody tr > td[data-m="title"] {
        display: block; grid-area: title; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
        font-size: 15px; line-height: 20px; font-weight: 500; color: var(--mw-text-primary);
    }
    [data-workspace="new"] .ws-mlist tbody tr > td[data-m="sub"] {
        display: block; grid-area: sub; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
        font-size: 13px; line-height: 18px; color: var(--mw-text-tertiary);
    }
    [data-workspace="new"] .ws-mlist tbody tr > td[data-m="title"]:only-of-type { grid-row: 1 / span 2; }
    [data-workspace="new"] .ws-mlist tbody tr.ws-mrow--one > td[data-m="sub"] { display: none; }
    [data-workspace="new"] .ws-mlist tbody tr.ws-mrow--one > td[data-m="title"] { grid-row: 1 / span 2; }
    /* A row titled by a person or an application leads with its avatar, as the Vue's list row does. */
    [data-workspace="new"] .ws-mlist tbody tr.v-data-table__tr:has(> td[data-m="title"] > .y-identity) {
        grid-template-columns: auto auto minmax(0, 1fr) auto auto;
        grid-template-areas: "sel lead title trail menu" "sel lead sub trail menu";
    }
    /* Out of selection there is no check column, and so no gap before the row's first part. */
    [data-workspace="new"] .ws-mlist:not(.ws-mlist--selecting) tbody tr.v-data-table__tr {
        grid-template-columns: minmax(0, 1fr) auto auto;
        grid-template-areas: "title trail menu" "sub trail menu";
    }
    [data-workspace="new"] .ws-mlist:not(.ws-mlist--selecting) tbody tr.v-data-table__tr:has(> td[data-m="title"] > .y-identity) {
        grid-template-columns: auto minmax(0, 1fr) auto auto;
        grid-template-areas: "lead title trail menu" "lead sub trail menu";
    }
    /* A row with nothing at its end has no column there, so its lines run to the menu as the Vue's flex row's do. */
    [data-workspace="new"] .ws-mlist:not(.ws-mlist--selecting) tbody tr.v-data-table__tr:not(:has(> td[data-m="trail"])) {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "title menu" "sub menu";
    }
    [data-workspace="new"] .ws-mlist:not(.ws-mlist--selecting) tbody tr.v-data-table__tr:not(:has(> td[data-m="trail"])):has(> td[data-m="title"] > .y-identity) {
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas: "lead title menu" "lead sub menu";
    }
    [data-workspace="new"] .ws-mlist tbody tr > td[data-m="title"]:has(> .y-identity),
    [data-workspace="new"] .ws-mlist td[data-m="title"] > .y-identity { display: contents; }
    [data-workspace="new"] .ws-mlist td[data-m="title"] > .y-identity > :first-child { grid-area: lead; grid-row: 1 / span 2; margin: 0 !important; }
    [data-workspace="new"] .ws-mlist td[data-m="title"] > .y-identity > :not(:first-child) { grid-area: title; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    [data-workspace="new"] .ws-mlist td[data-m="title"] > .y-identity .y-avatar { width: 36px !important; height: 36px !important; background: var(--mw-bg-subtle) !important; }
    [data-workspace="new"] .ws-mlist td[data-m="title"] > .y-identity .y-avatar__text { font-size: 15px !important; line-height: normal !important; font-weight: 600; color: var(--mw-text-secondary); }
    [data-workspace="new"] .ws-mlist tbody tr > td[data-m="trail"] {
        display: flex; grid-area: trail; max-width: 45vw; align-items: center; justify-content: flex-end;
        font-size: 13px; color: var(--mw-text-secondary);
    }
    [data-workspace="new"] .ws-mlist tbody tr > td[data-m="menu"] { display: block; grid-area: menu; margin-right: -6px; }
    [data-workspace="new"] .ws-mlist tbody tr > td[data-m="menu"]:empty { display: none; }
    [data-workspace="new"] .ws-mlist--selecting tbody tr > td[data-m="sel"] { display: block; grid-area: sel; }
    [data-workspace="new"] .ws-mlist--selecting tbody tr > td[data-m="menu"] { display: none; }
    [data-workspace="new"] .ws-mlist tbody tr:has(input[type="checkbox"]:checked) { background: var(--mw-bg-selected); }
    /* A title cell drawn for the desktop table (padded, bold, wrapping) reads as the row's one line, as the Vue's title slot does. */
    [data-workspace="new"] .ws-mlist td[data-m="title"] > .py-4 { padding-top: 0 !important; padding-bottom: 0 !important; }
    [data-workspace="new"] .ws-mlist td[data-m="title"] b { font-weight: inherit !important; }
    [data-workspace="new"] .ws-mlist td[data-m="title"] .text-wrap { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap !important; }
    /* Nor is there a column for a menu the row does not have. */
    [data-workspace="new"] .ws-mlist:not(.ws-mlist--selecting) tbody tr.v-data-table__tr:has(> td[data-m="trail"]):not(:has(> td[data-m="menu"]:not(:empty))) {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "title trail" "sub trail";
    }
    [data-workspace="new"] .ws-mlist tbody :is(td[data-m="title"], td[data-m="title"] *) { min-width: 0; }
    [data-workspace="new"] .ws-mlist td[data-m="title"] :is(a, .text-primary) { color: var(--mw-text-primary) !important; text-decoration: none; }
    [data-workspace="new"] .ws-mlist td[data-m="sub"] a { color: var(--mw-text-tertiary) !important; }
    [data-workspace="new"] .ws-mlist .y-expanded-row > td { padding: 0 4px 12px !important; }
    [data-workspace="new"] .ws-mlist > .v-divider { display: none; }
    [data-workspace="new"] .ws-mlist .v-data-table-footer { padding: 8px 0 0 !important; justify-content: space-between; flex-wrap: nowrap; font-size: 13px; }
    [data-workspace="new"] .ws-mlist .v-data-table-footer__items-per-page { display: none; }
    [data-workspace="new"] .ws-mlist .v-data-table-footer__info { padding: 0 !important; min-width: 0; }
    [data-workspace="new"] .ws-mselbar:not([hidden]) {
        display: flex; flex: 1 1 100%; align-items: center; justify-content: space-between; gap: 12px;
        padding: 4px 4px 0; font-size: 13px; font-weight: 500; color: var(--mw-text-secondary); font-family: var(--mw-font);
    }
    [data-workspace="new"] .ws-tlink { border: 0; background: none; padding: 0; cursor: pointer; font: inherit; font-weight: 600; color: var(--mw-action-link); }

    /* Tabs: lighter and tighter, scrolling by swipe. */
    [data-workspace="new"] .ws-main .y-tabs { height: 40px !important; margin-bottom: 12px !important; }
    [data-workspace="new"] .ws-main .y-tabs .y-tab { min-width: 0 !important; height: 40px !important; padding: 0 12px !important; font-size: 14px !important; }
    [data-workspace="new"] .ws-main .y-tabs .y-tab:first-child { padding-left: 0 !important; }
    [data-workspace="new"] .ws-main .mb-4:has(> .y-tabs:only-child) { margin-bottom: 0 !important; }
    [data-workspace="new"] .ws-main .v-slide-group__prev, [data-workspace="new"] .ws-main .v-slide-group__next { display: none !important; }

    /* The page gutter comes from the outermost container only. */
    [data-workspace="new"] .ws-main .v-container { padding-top: 4px !important; }
    [data-workspace="new"] .ws-main .v-container .v-container { padding-left: 0 !important; padding-right: 0 !important; }

    /* Key/value tables (details panels): label above value instead of two clipped columns. */
    [data-workspace="new"] .ws-main .v-table:not(.v-data-table):not(:has(thead)) > .v-table__wrapper > table > tbody > tr > td {
        display: block; width: auto !important; max-width: none !important; height: auto !important;
        border-bottom: 0 !important; white-space: normal; overflow-wrap: anywhere;
    }
    [data-workspace="new"] .ws-main .v-table:not(.v-data-table):not(:has(thead)) > .v-table__wrapper > table > tbody > tr > td:first-child { padding-bottom: 0 !important; padding-top: 12px !important; font-size: 12px !important; }
    [data-workspace="new"] .ws-main .v-table:not(.v-data-table):not(:has(thead)) > .v-table__wrapper > table > tbody > tr > td:not(:first-child) { padding-top: 2px !important; padding-bottom: 12px !important; }
    [data-workspace="new"] .ws-main .v-table:not(.v-data-table):not(:has(thead)) > .v-table__wrapper > table > tbody > tr:not(:last-child) { border-bottom: 1px solid var(--mw-border-faint); }
    [data-workspace="new"] .ws-main .v-table:not(.v-data-table):not(:has(thead)) .v-table__wrapper { overflow-x: visible !important; }
    /* Vuetify's gridline is a layered !important that beats the border rule above, so its colour becomes the card's instead. */
    [data-workspace="new"] .ws-main .v-table:not(.v-data-table):not(:has(thead)) { --v-theme-structure-border: var(--v-theme-structure-primary); }

    /* Plain tables with column headers that have no list layout scroll sideways. */
    [data-workspace="new"] .ws-main .v-table:not(.v-data-table):not(.ws-mlist):has(thead) .v-table__wrapper { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
    [data-workspace="new"] .ws-main .v-table:not(.v-data-table):not(.ws-mlist):has(thead) :is(th, td) { white-space: nowrap; }

    /* Cards in a grid stack one per row; fixed-width search fields fill the row. */
    [data-workspace="new"] .ws-main .grid-layout > .v-card { flex: 1 1 100% !important; max-width: 100% !important; min-width: 0 !important; }
    [data-workspace="new"] .ws-main .grid-layout.flex-nowrap:has(> .v-card) { flex-wrap: wrap !important; }
    [data-workspace="new"] .ws-main .v-text-field[style*="width"] { width: 100% !important; max-width: 100% !important; }
    [data-workspace="new"] .ws-main .d-flex > .flex-grow-1 { min-width: 0; }

    /* Stat tiles (an overline label and a big number): two per row, compact, no decorative icon. */
    [data-workspace="new"] .ws-main .d-flex.flex-wrap:has(> .v-card .text-overline) { gap: 8px !important; }
    [data-workspace="new"] .ws-main .d-flex.flex-wrap:has(> .v-card .text-overline) > .v-card {
        flex: 1 1 calc(50% - 4px) !important; max-width: calc(50% - 4px) !important; min-width: 0 !important; padding: 12px !important;
        background: var(--mw-bg-subtle) !important; border: 0 !important; box-shadow: none !important; border-radius: 12px !important; margin: 0 !important;
    }
    [data-workspace="new"] .ws-main .d-flex.flex-wrap:has(> .v-card .text-overline) > .v-card .v-avatar { display: none !important; }
    [data-workspace="new"] .ws-main .d-flex.flex-wrap:has(> .v-card .text-overline) > .v-card .text-overline { white-space: normal; line-height: 16px !important; }
    [data-workspace="new"] .ws-main .d-flex.flex-wrap:has(> .v-card .text-overline) > .v-card :is(.text-h3, .text-h4) { font-size: 24px !important; line-height: 30px !important; }

    /* Section titles wrap instead of truncating. */
    [data-workspace="new"] .ws-main :is(h2, h3, h4, h5, h6, .text-h5, .text-h6, .v-card-title).text-truncate, [data-workspace="new"] .ws-main .v-card-title { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }

    /* Bulk actions for a selection: one sticky strip. */
    [data-workspace="new"] .bulk-selection-bar.v-card {
        top: 52px !important; margin: 0 0 8px !important; border: 0 !important; border-radius: 12px !important;
        background: var(--mw-bg-canvas) !important; box-shadow: 0 6px 20px -10px rgba(var(--mw-shadow-ink), .35) !important;
    }
    [data-workspace="new"] .ws-main:has(.bulk-selection-bar) .ws-mselbar > span { visibility: hidden; }

    /* Both the template editor's task list and All Tasks use this container. */
    [data-workspace="new"] .tasks-table-container { overflow: visible !important; }

    /* The template editor's tasks: the task on its own line, assignee and due date beneath, delete at the end. */
    [data-workspace="new"] .tasks-table { width: 100% !important; display: block; }
    [data-workspace="new"] .tasks-table thead { display: none; }
    [data-workspace="new"] .tasks-table tbody { display: block; }
    [data-workspace="new"] .tasks-table tr.base-task {
        position: relative; display: flex !important; flex-wrap: wrap; align-items: center; column-gap: 12px;
        padding: 8px 40px 8px 0; white-space: normal; border-bottom: 1px solid var(--mw-border-faint);
    }
    [data-workspace="new"] .tasks-table tr.base-task > td { display: block; width: auto !important; min-width: 0 !important; padding: 0 !important; border: 0 !important; height: auto !important; }
    [data-workspace="new"] .tasks-table tr.base-task > td.task-column { flex: 1 1 100%; max-width: none !important; }
    [data-workspace="new"] .tasks-table tr.base-task > td:not(.task-column):not(.delete-column) { padding-left: 44px !important; font-size: 13px; color: var(--mw-text-tertiary); }
    [data-workspace="new"] .tasks-table tr.base-task > td:not(.task-column):not(.delete-column) + td:not(.delete-column) { padding-left: 0 !important; }
    [data-workspace="new"] .tasks-table tr.base-task > td.delete-column { position: absolute; right: 0; top: 8px; }
    [data-workspace="new"] .tasks-table .task-column-structure { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; align-items: flex-start !important; }
    [data-workspace="new"] .tasks-table :is(.task-column-content, .task-column-content--default, .task-column-content--parameters) { flex-wrap: wrap !important; min-width: 0; white-space: normal !important; row-gap: 4px; }
    [data-workspace="new"] .tasks-table .task-column-content { margin-left: 8px !important; margin-right: 0 !important; }

    /* The Pages switcher stops at the bottom bar, which stays in reach. */
    [data-workspace="new"] .ws-switcher { height: auto; }

    /* An integration's sections stack above the section they open. */
    [data-workspace="new"] .integration-panels { display: block !important; overflow: visible !important; margin: 0 !important; padding: 0 !important; }
    [data-workspace="new"] .integration-panels__nav {
        margin: 0 0 20px !important; padding: 4px 0; overflow: visible !important; border-right: 0 !important;
        border-radius: 12px !important; background: var(--mw-bg-subtle) !important; --nav-left-pad: 12px;
    }
    [data-workspace="new"] .integration-panels__nav .nav-card { background: transparent !important; }
    [data-workspace="new"] .integration-panels__nav .nav-collapse-btn { display: none !important; }
    [data-workspace="new"] .integration-panels__nav .nav-section { margin: 8px 0 12px !important; }
    [data-workspace="new"] .integration-panels__nav .nav-row { min-height: 48px; }
    [data-workspace="new"] .integration-panels__content { overflow: visible !important; padding: 0 !important; scroll-margin-top: 64px; }
    [data-workspace="new"] .integration-panels__form { height: auto !important; }
    [data-workspace="new"] .integration-nav-toggle:checked + .integration-panels .nav-card { display: block; }
    [data-workspace="new"] .application-view-body > .integration-panel { overflow: visible !important; margin-top: 12px !important; background: transparent !important; box-shadow: none !important; }
    [data-workspace="new"] :is(.integration-wrapper--embedded, .integration-content--embedded) { height: auto !important; min-height: 0 !important; overflow: visible !important; }
    [data-workspace="new"] .integration-content--embedded { padding: 32px 0 0 !important; }
    [data-workspace="new"] .y-toggle-btn-wrapper .v-btn { min-height: 0 !important; }
}

/* Vuetify's lines between rows are !important in its component layer, which
   only an !important in an earlier layer overrides; a list has no lines. */
@layer vuetify-core {
    @media (max-width: 767px) {
        [data-workspace="new"] .ws-mlist.v-table > .v-table__wrapper > table > tbody > tr > td { border-bottom: 0 !important; }
    }
}

@media (max-width: 767px) {
    /* The Rae AI page fills the phone between the header and the bottom bar, its composer on the bar's edge. */
    [data-workspace="new"] .ai-chat-root {
        height: calc(100dvh - 52px - 60px - env(safe-area-inset-bottom, 0px)) !important;
        overflow: hidden !important;
    }
    [data-workspace="new"] .ai-chat-root .chat__composer { padding-bottom: 8px !important; }
}
[data-workspace="new"] .ws-mrae { width: 40px; height: 40px; }

/* Search open from the bar marks Search, and its dialog sits at the top of a small screen. */
[data-workspace="new"] .ws-bn[data-ws-search-open][aria-expanded="true"] { color: var(--mw-text-primary); }
[data-workspace="new"] .ws-bn[data-ws-search-open][aria-expanded="true"] .ws-bn__ic { background: var(--mw-bg-selected); }
[data-workspace="new"] .ws-bn[data-ws-search-open][aria-expanded="true"] .ws-bn__l { font-weight: 600; }
@media (max-width: 599px) {
    [data-workspace="new"] .ws-search-dialog { margin: 12px auto auto; max-width: calc(100vw - 24px); }
}

@media (min-width: 768px) {
    [data-workspace="new"] .ws-flow .ws-vh .y-view-header__title-block > h5 { display: none; }
    [data-workspace="new"] .ws-flow .ws-vh--plain:not(:has(.y-view-header__controls > *, .y-view-header__info)) { display: none; }
    [data-workspace="new"] .ws-flow .v-container .grid-layout-column > .mx-auto { margin-left: 0 !important; margin-right: auto !important; }
    /* With no header above it, the flow's container keeps Vuetify's own 16px top padding under the trail's row. */
    [data-workspace="new"] .ws-flow .ws-vh--plain:not(:has(.y-view-header__controls > *, .y-view-header__info)) ~ .v-container { padding-top: 32px; }
}

/* The workspace Home pages' heading, sections, lists and rows, shared by the
   admin Home and the employee pages. Each page sets its own frame and the
   spacing between its sections. */
.ov { padding-bottom: 96px; color: var(--mw-text-primary, rgb(var(--v-theme-text-default))); container: ov / inline-size; }
.ov-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ov-title { margin: 0; font-size: 32px !important; line-height: 40px !important; font-weight: 600 !important; letter-spacing: -.02em !important; }
.ov-sec { min-width: 0; }
.ov-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.ov-h2 { margin: 0; font-size: 18px !important; line-height: 26px !important; font-weight: 600 !important; letter-spacing: -.008em !important; }
.ov-link { font: inherit; font-size: 13px; font-weight: 500; line-height: 18px; color: var(--mw-action-link, rgb(var(--v-theme-primary))) !important; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.ov-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.ov-stack { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ov-empty { max-width: 46ch; }
.ov-list { list-style: none; margin: -8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ov-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 -12px; padding: 8px 12px; border-radius: var(--mw-r, 8px); color: inherit !important; text-decoration: none; }
a.ov-row { transition: background-color .15s ease; }
.ov-row--skel { padding-top: 10px; padding-bottom: 10px; }
.eh-tile-skel { height: 44px !important; border-radius: 8px !important; }
a.ov-row:hover { background: var(--mw-bg-hover, rgb(var(--v-theme-structure-hover))); }
.ov-row__title { font-size: 14px; line-height: 20px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ov-row__meta { font-size: 13px; line-height: 18px; color: var(--mw-text-tertiary, rgb(var(--v-theme-text-disabled))); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ov-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 112px; row-gap: 72px; margin-top: 72px; }
.ov--employee .ov-action { display: inline-block; margin-top: 12px; }
.ov-note { margin: 0; font-size: 14px; line-height: 20px; color: var(--mw-text-secondary, rgb(var(--v-theme-text-secondary))); }
.ws-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@container ov (max-width: 1000px) { .ov-pair { column-gap: 80px; } }
@container ov (max-width: 760px) { .ov-pair { grid-template-columns: minmax(0, 1fr); margin-top: 64px; row-gap: 64px; } }
@container ov (max-width: 480px) { .ov-title { font-size: 26px !important; line-height: 34px !important; } }
@media (max-width: 599px) { .ov { padding-top: 4px; padding-bottom: 64px; } }

/* The workspace's look for the shared components: the view header, buttons, status chips,
   cards and the action bar. Every rule is keyed on [data-workspace="new"], which only the
   workspace sets, so Classic never matches one. */

/* The title starts on the page's gutter, the left edge it shares with the crumb, tabs and tables. */
[data-workspace="new"] .y-view-header { background: var(--mw-bg-canvas) !important; padding-left: var(--mw-pad-x); padding-right: var(--mw-pad-x); }
[data-workspace="new"] .y-view-header.y-view-header--elevated { box-shadow: 0 1px 0 var(--mw-border-faint) !important; }
[data-workspace="new"] .y-view-header .y-view-header__info { padding-top: 4px !important; font-size: 14px !important; line-height: 21px !important; color: var(--mw-text-tertiary) !important; }
[data-workspace="new"] .y-view-header .y-view-header__title-block > .d-flex { column-gap: 16px !important; }
@media (min-width: 768px) and (max-width: 1099px) {
    [data-workspace="new"] .y-view-header .y-view-header__content { flex-wrap: nowrap; align-items: flex-start; }
    [data-workspace="new"] .y-view-header .y-view-header__title-block { order: 1; width: auto; flex: 1 1 auto; min-width: 0; }
    [data-workspace="new"] .y-view-header .y-view-header__controls { order: 2; width: auto; margin-bottom: 0; }
}

[data-workspace="new"] .y-button.v-btn:not(.v-btn--icon) { height: 36px; padding: 0 14px; font-size: 14px; }
[data-workspace="new"] .y-button.v-btn.v-btn--size-small:not(.v-btn--icon) { height: 32px; padding: 0 12px; font-size: 13px; }
[data-workspace="new"] body .y-button.y-button--primary.v-btn.v-btn:not(.v-btn--disabled) {
    background: var(--mw-action-primary) !important;
    background-image: none !important;
    color: var(--mw-action-on-primary) !important;
    border: 0 !important;
    box-shadow: none !important;
}
[data-workspace="new"] body .y-button.y-button--primary.v-btn.v-btn:not(.v-btn--disabled):hover { background: var(--mw-action-primary-hover) !important; }
[data-workspace="new"] body .y-button.y-button--primary.v-btn.v-btn.bg-error:not(.v-btn--disabled),
[data-workspace="new"] body .y-button.y-button--primary.v-btn.v-btn.text-error:not(.v-btn--disabled) { background: var(--mw-status-danger) !important; color: #FFFFFF !important; }
[data-workspace="new"] body .y-button.y-button--secondary.v-btn.v-btn,
[data-workspace="new"] body .y-button.y-button--outlined.v-btn.v-btn {
    background: var(--mw-bg-canvas) !important;
    color: var(--mw-text-primary) !important;
    border: 0 !important;
    box-shadow: inset 0 0 0 1px var(--mw-border-strong) !important;
}
[data-workspace="new"] body .y-button.y-button--secondary.v-btn.v-btn:hover,
[data-workspace="new"] body .y-button.y-button--outlined.v-btn.v-btn:hover { background: var(--mw-bg-subtle) !important; box-shadow: inset 0 0 0 1px var(--mw-text-tertiary) !important; }
[data-workspace="new"] body .y-button.y-button--text.v-btn.v-btn { color: var(--mw-text-secondary) !important; }
[data-workspace="new"] body .y-button.y-button--text.v-btn.v-btn:hover { color: var(--mw-text-primary) !important; }

/* A filled status chip reads as the tinted pill Home and Work use, so one status looks the
   same wherever it appears, words first: the colour already carries the state. */
[data-workspace="new"] .y-chip.y-chip--type-flat:is(.bg-warning, .bg-error, .bg-error-text, .bg-success, .bg-info, .bg-primary, .bg-grey, .bg-secondary-grey) {
    height: 22px; padding: 0 9px; border-radius: 999px !important;
    font-size: 12px !important; line-height: 18px; font-weight: 500;
}
[data-workspace="new"] .y-chip.y-chip--type-flat:is(.bg-warning, .bg-error, .bg-error-text, .bg-success, .bg-info, .bg-primary, .bg-grey, .bg-secondary-grey) .v-icon { display: none; }
[data-workspace="new"] .y-chip.y-chip--type-flat.bg-warning { background: var(--mw-status-warning-soft) !important; color: var(--mw-status-warning) !important; }
[data-workspace="new"] .y-chip.y-chip--type-flat:is(.bg-error, .bg-error-text) { background: var(--mw-status-danger-soft) !important; color: var(--mw-status-danger) !important; }
[data-workspace="new"] .y-chip.y-chip--type-flat.bg-success { background: color-mix(in srgb, var(--mw-status-success) 10%, transparent) !important; color: var(--mw-status-success) !important; }
[data-workspace="new"] .y-chip.y-chip--type-flat:is(.bg-info, .bg-primary) { background: color-mix(in srgb, var(--mw-status-running) 10%, transparent) !important; color: var(--mw-status-running) !important; }
[data-workspace="new"] .y-chip.y-chip--type-flat:is(.bg-grey, .bg-secondary-grey) { background: var(--mw-bg-subtle) !important; color: var(--mw-text-secondary) !important; }

[data-workspace="new"] .y-card { border-radius: var(--mw-r-lg) !important; color: var(--mw-text-primary); }
[data-workspace="new"] .y-card:is(.y-card--default, .y-card--color, .y-card--outlined) {
    background: var(--mw-bg-canvas) !important;
    border: 1px solid var(--mw-border-subtle) !important;
    box-shadow: none !important;
}
[data-workspace="new"] .y-card.y-card--color .text-white:not(.v-btn, .v-btn *) { color: var(--mw-text-primary) !important; }
[data-workspace="new"] :is(.y-card, .v-card, .y-side-panel) .y-card:not(.y-dialog__card) { border-color: transparent !important; background: transparent !important; }
@media (max-width: 767px) {
    [data-workspace="new"] .y-card.pa-5 { padding: 16px !important; }
    [data-workspace="new"] .ws-main :is(.v-container, .v-container > div, .v-container > form, .v-container > form > div) > .y-card:not([class*=" bg-"]):not(.text-white):not(.bulk-selection-bar) {
        border-color: transparent !important; box-shadow: none !important; background: transparent !important;
        padding-left: 0 !important; padding-right: 0 !important; border-radius: 0 !important;
    }
    [data-workspace="new"] .ws-main :is(.v-container, .v-container > div, .v-container > form, .v-container > form > div) > .y-card:not([class*=" bg-"]) + .y-card { margin-top: 24px; }
    [data-workspace="new"] .ws-main :is(.v-container, .v-container > div, .v-container > form, .v-container > form > div) > .y-card:not([class*=" bg-"]):not(.text-white) > :is(.pa-3, .pa-4, .pa-5, .pa-6) { padding-left: 0 !important; padding-right: 0 !important; }
}

@media (min-width: 768px) {
    [data-workspace="new"] .action-bar { padding-left: var(--mw-pad-x); padding-right: var(--mw-pad-x); }
}

/* The phone's header already names the page. */
@media (max-width: 767px) {
    [data-workspace="new"] .ws-head--dup { display: none; }
    [data-workspace="new"] .ws-head--dup + * { margin-top: 0 !important; }
}

/* The page's content starts right under its header, as the Vue's app bar overlays the
   container's top padding. */
[data-workspace="new"] .ws-vh ~ .v-container { padding-top: 0; }

/* An overlay's scrim is the theme's shadow ink, lighter than Classic's. */
[data-workspace="new"] .y-dialog[open]::backdrop { background: rgb(var(--mw-shadow-ink)); opacity: .22; }

@media (max-width: 767px) {
    [data-workspace="new"] .unified-selection-shell .pills-container { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; min-width: 0; max-width: 100%; }
    [data-workspace="new"] .unified-selection-shell .pills-container::-webkit-scrollbar { display: none; }
    [data-workspace="new"] .unified-selection-shell .pills-container > * { flex: none; }
    [data-workspace="new"] .unified-selection-shell .flex-1-1.flex-wrap { flex-wrap: nowrap !important; min-width: 0; }
    [data-workspace="new"] .unified-selection-shell .justify-space-between { min-width: 0; }
    [data-workspace="new"] .unified-selection-shell .selection-container { background: var(--mw-bg-subtle) !important; border-color: transparent !important; border-radius: 10px !important; min-height: 40px; }

    [data-workspace="new"] .bulk-selection-bar > .d-flex { flex-wrap: nowrap !important; gap: 8px !important; padding: 8px 8px 8px 4px !important; }
    [data-workspace="new"] .bulk-selection-bar > .d-flex > .d-flex:first-child { flex: none; }
    [data-workspace="new"] .bulk-selection-bar > .d-flex > .d-flex:last-child { flex: 1 1 auto; min-width: 0; flex-wrap: nowrap !important; justify-content: flex-start !important; overflow-x: auto; scrollbar-width: none; }
    [data-workspace="new"] .bulk-selection-bar > .d-flex > .d-flex:last-child::-webkit-scrollbar { display: none; }
    [data-workspace="new"] .bulk-selection-bar .v-btn { flex: none; min-height: 36px !important; height: 36px !important; padding: 0 12px !important; }

    [data-workspace="new"] .integration-bar__content { flex-wrap: nowrap !important; gap: 10px !important; padding: 10px 12px !important; }
    [data-workspace="new"] :is(.integration-bar__icon, .integration-bar__status-icon) { width: 32px !important; height: 32px !important; flex: none; }
    [data-workspace="new"] .integration-bar__info { min-width: 0; gap: 8px !important; flex-wrap: wrap; }
    [data-workspace="new"] .integration-bar__title { font-size: 15px !important; line-height: 20px !important; letter-spacing: 0 !important; font-weight: 600 !important; }
    [data-workspace="new"] .integration-bar__chip .y-chip { height: 22px !important; }
    [data-workspace="new"] .integration-bar__errors { flex-basis: 100%; }
    [data-workspace="new"] .integration-bar__content:has(.integration-bar__errors) { flex-wrap: wrap !important; }
}

/* The workspace's Rae (ui.WorkspaceRae): one right-hand column, almost white, content from
   the top, a bottom-only atmosphere of a soft gradient and sparse squares, the composer on an
   opaque surface. Rae's words have no bubble; yours sit on the right on a quiet fill. It is a
   DraftRail and a DraftChat, so these rules restyle theirs inside the column only. */
[data-workspace="new"] .ws-rae { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1010; width: var(--ws-rae-w, 380px); max-width: 100%; isolation: isolate; display: flex; flex-direction: column; background: var(--mw-bg-rae); color: var(--mw-text-primary); font-family: var(--mw-font); border-left: 1px solid var(--mw-border-subtle); }
[data-workspace="new"] .ws-rae[hidden] { display: none; transform: translateX(100%); }
[data-workspace="new"] .ws-askrae[hidden] { display: none; }
/* Rae slides in and out as the Vue drawer did; the page's room for her follows. A move between
   pages keeps the column as it is, so nothing animates then. */
[data-workspace="new"] .ws-rae { transition: transform .2s cubic-bezier(.4, 0, .2, 1), display .2s allow-discrete; }
@starting-style { [data-workspace="new"] .ws-rae:not([hidden]) { transform: translateX(100%); } }
[data-workspace="new"] .ws-main { transition: padding-right .2s cubic-bezier(.4, 0, .2, 1); }
@media (prefers-reduced-motion: reduce) {
    [data-workspace="new"] .ws-rae, [data-workspace="new"] .ws-main { transition: none; }
}
[data-workspace="new"] .ws-shell--rae:not(.ws-shell--rae-over) .ws-main { padding-right: var(--ws-rae-w, 380px); }
[data-workspace="new"] .ws-shell--rae-over .ws-rae { box-shadow: -24px 0 48px -24px rgba(var(--mw-shadow-ink), .3); }
[data-workspace="new"] .ws-shell--rae .ws-askrae[data-ws-rae-open] { display: none; }
[data-workspace="new"] .ws-rae::before, [data-workspace="new"] .ws-rae::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none; z-index: 0; }
[data-workspace="new"] .ws-rae::after { height: 30%; background: linear-gradient(to top, color-mix(in srgb, var(--mw-rae-gradient) 85%, transparent), transparent); }
[data-workspace="new"] .ws-rae::before {
    height: 26%; background: var(--mw-rae-pixel); opacity: .16;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='96'%3E%3Crect x='38' y='50' width='3' height='3'/%3E%3Crect x='18' y='68' width='2' height='2' fill-opacity='.25'/%3E%3Crect x='149' y='7' width='3' height='3' fill-opacity='.8'/%3E%3Crect x='9' y='11' width='2' height='2' fill-opacity='.6'/%3E%3Crect x='108' y='7' width='4' height='4' fill-opacity='.8'/%3E%3Crect x='57' y='80' width='2' height='2'/%3E%3Crect x='15' y='73' width='4' height='4' fill-opacity='.8'/%3E%3Crect x='34' y='37' width='4' height='4' fill-opacity='.6'/%3E%3Crect x='143' y='87' width='3' height='3' fill-opacity='.35'/%3E%3Crect x='95' y='12' width='2' height='2' fill-opacity='.8'/%3E%3Crect x='52' y='63' width='4' height='4'/%3E%3Crect x='109' y='40' width='4' height='4' fill-opacity='.6'/%3E%3Crect x='87' y='57' width='3' height='3' fill-opacity='.5'/%3E%3Crect x='18' y='15' width='4' height='4' fill-opacity='.8'/%3E%3Crect x='142' y='73' width='2' height='2' fill-opacity='.5'/%3E%3Crect x='89' y='76' width='3' height='3' fill-opacity='.6'/%3E%3C/svg%3E"), linear-gradient(to top, #000 0%, rgba(0,0,0,.6) 45%, transparent 100%);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='96'%3E%3Crect x='38' y='50' width='3' height='3'/%3E%3Crect x='18' y='68' width='2' height='2' fill-opacity='.25'/%3E%3Crect x='149' y='7' width='3' height='3' fill-opacity='.8'/%3E%3Crect x='9' y='11' width='2' height='2' fill-opacity='.6'/%3E%3Crect x='108' y='7' width='4' height='4' fill-opacity='.8'/%3E%3Crect x='57' y='80' width='2' height='2'/%3E%3Crect x='15' y='73' width='4' height='4' fill-opacity='.8'/%3E%3Crect x='34' y='37' width='4' height='4' fill-opacity='.6'/%3E%3Crect x='143' y='87' width='3' height='3' fill-opacity='.35'/%3E%3Crect x='95' y='12' width='2' height='2' fill-opacity='.8'/%3E%3Crect x='52' y='63' width='4' height='4'/%3E%3Crect x='109' y='40' width='4' height='4' fill-opacity='.6'/%3E%3Crect x='87' y='57' width='3' height='3' fill-opacity='.5'/%3E%3Crect x='18' y='15' width='4' height='4' fill-opacity='.8'/%3E%3Crect x='142' y='73' width='2' height='2' fill-opacity='.5'/%3E%3Crect x='89' y='76' width='3' height='3' fill-opacity='.6'/%3E%3C/svg%3E"), linear-gradient(to top, #000 0%, rgba(0,0,0,.6) 45%, transparent 100%);
    -webkit-mask-size: 160px 96px, 100% 100%; mask-size: 160px 96px, 100% 100%;
    -webkit-mask-repeat: repeat, no-repeat; mask-repeat: repeat, no-repeat;
    -webkit-mask-composite: source-in; mask-composite: intersect;
}
[data-workspace="new"] .ws-rae > * { position: relative; z-index: 1; }
[data-workspace="new"] .ws-rae > .y-resizer { position: absolute; z-index: 3; left: -3px; top: 0; bottom: 0; width: 6px; height: auto; margin: 0; cursor: col-resize; }

[data-workspace="new"] .rae-mk { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--mw-rae-gradient); color: var(--mw-rae-pixel); filter: var(--mw-rae-mark-filter); }
[data-workspace="new"] .ws-askrae { border: 0; background: none; cursor: pointer; font: inherit; font-size: 15px; font-weight: 550; }
[data-workspace="new"] .ws-askrae__panel { display: inline-flex; margin-left: 2px; }
/* A page with no header row: Ask Rae floats at the top right, on the title's line. */
@media (min-width: 900px) {
    [data-workspace="new"] .ws-shell:not(.ws-shell--collapsed) .ws-top--rae:not(.ws-top--trail) { display: block; height: 0; }
    [data-workspace="new"] .ws-shell:not(.ws-shell--collapsed) .ws-top--rae:not(.ws-top--trail) .ws-top__row { height: 0; pointer-events: none; }
    [data-workspace="new"] .ws-shell:not(.ws-shell--collapsed) .ws-top--rae:not(.ws-top--trail) .ws-askrae { pointer-events: auto; }
    [data-workspace="new"] .ws-shell:not(.ws-shell--collapsed) .ws-top--rae:not(.ws-top--trail) .ws-askrae { position: fixed; top: 16px; right: calc(var(--mw-pad-x) - 12px); margin-right: 0; z-index: 1006; background: var(--mw-bg-canvas); }
    [data-workspace="new"] .ws-shell:not(.ws-shell--collapsed) .ws-top--rae:not(.ws-top--trail) .ws-askrae:hover { background: var(--mw-bg-hover); }
}

[data-workspace="new"] .ws-rae .draft-rail { flex: 1; max-width: none; min-width: 0; background: none; border: 0; }
[data-workspace="new"] .ws-rae .draft-rail__head { height: 56px; gap: 4px; padding: 0 8px 0 16px; border: 0; }
[data-workspace="new"] .ws-rae .draft-rail__logo { width: 28px; height: 28px; box-shadow: none; filter: var(--mw-rae-mark-filter); }
[data-workspace="new"] .ws-rae .draft-rail__head-text { display: grid; margin-left: 8px; }
[data-workspace="new"] .ws-rae .draft-rail__title { font-size: 14px; line-height: 18px; font-weight: 600; color: var(--mw-text-primary); }
[data-workspace="new"] .ws-rae .draft-rail__sub { font-size: 12px; line-height: 16px; color: var(--mw-text-tertiary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-workspace="new"] .ws-rae .draft-rail__head .v-btn { color: var(--mw-text-secondary); }

[data-workspace="new"] .ws-rae .draft-chat__scroll { padding: 20px 24px 24px; scrollbar-width: thin; }
[data-workspace="new"] .ws-rae .draft-chat__empty { gap: 0; }
[data-workspace="new"] .ws-rae .draft-chat__empty-title { order: 0; margin: 0; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--mw-text-primary); }
[data-workspace="new"] .ws-rae .draft-chat__empty-hint { order: 1; margin: 2px 0 12px; padding: 0; font-size: 13px; line-height: 19px; font-style: normal; color: var(--mw-text-tertiary); }
[data-workspace="new"] .ws-rae .draft-chat__suggestion { order: 2; display: flex; align-items: center; gap: 8px; min-height: 36px; margin-left: -8px; padding: 6px 8px; border: 0; border-radius: var(--mw-r); background: none; box-shadow: none; font: inherit; font-size: 14px; line-height: 20px; color: var(--mw-text-primary); text-align: left; transform: none; }
[data-workspace="new"] .ws-rae .draft-chat__suggestion .v-icon { color: var(--mw-text-tertiary); }
[data-workspace="new"] .ws-rae .draft-chat__suggestion:hover, [data-workspace="new"] .ws-rae .draft-chat__suggestion:focus-visible { background: var(--mw-bg-hover); }

[data-workspace="new"] .ws-rae .draft-chat__messages { gap: 16px; }
[data-workspace="new"] .ws-rae .draft-chat__msg { font-size: 14px; line-height: 21px; }
[data-workspace="new"] .ws-rae .draft-chat__msg--user { align-self: flex-end; max-width: 85%; padding: 8px 12px; border-radius: 12px; background: var(--mw-bg-subtle); color: var(--mw-text-primary); font-weight: 400; box-shadow: inset 0 0 0 1px var(--mw-border-faint); overflow-wrap: anywhere; }
[data-workspace="new"] .ws-rae .draft-chat__msg--rae { align-self: stretch; max-width: none; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--mw-text-primary); }
[data-workspace="new"] .ws-rae .draft-chat__msg--thinking { align-self: flex-start; }
[data-workspace="new"] .ws-rae .draft-chat__msg--notice { padding: 10px 12px; border-radius: var(--mw-r); background: var(--mw-bg-subtle); color: var(--mw-text-secondary); }
[data-workspace="new"] .ws-rae .draft-chat__msg--notice p { margin: 0 0 4px; }
[data-workspace="new"] .ws-rae .draft-chat__msg--markdown h1, [data-workspace="new"] .ws-rae .draft-chat__msg--markdown h2, [data-workspace="new"] .ws-rae .draft-chat__msg--markdown h3, [data-workspace="new"] .ws-rae .draft-chat__msg--markdown h4 { font-size: 14px; line-height: 20px; font-weight: 600; margin: 12px 0 4px; }
/* Result blocks are built for the Rae AI page's wider column: anything wider scrolls inside. */
[data-workspace="new"] .ws-rae__blocks { margin-top: 8px; min-width: 0; max-width: 100%; overflow-x: auto; }
[data-workspace="new"] .ws-rae__wide { display: inline-block; margin: 4px 16px 0 0; font-size: 12px; }
[data-workspace="new"] .ws-rae__det { margin-top: 4px; font-size: 12px; }
[data-workspace="new"] .ws-rae__det summary { cursor: pointer; color: var(--mw-action-link); list-style: none; }
[data-workspace="new"] .ws-rae__det summary::-webkit-details-marker { display: none; }
[data-workspace="new"] .ws-rae__det[open] summary .ws-rae__det-show, [data-workspace="new"] .ws-rae__det:not([open]) summary .ws-rae__det-hide { display: none; }
[data-workspace="new"] .ws-rae__steps { margin-top: 6px; padding-left: 10px; border-left: 2px solid var(--mw-border-subtle); font-size: 12px; line-height: 18px; color: var(--mw-text-tertiary); }

[data-workspace="new"] .ws-rae .draft-chat__history .draft-chat__hist-title { font-size: 12px; font-weight: 600; color: var(--mw-text-tertiary); }
[data-workspace="new"] .ws-rae .draft-chat__hist-name { color: var(--mw-text-primary); }

[data-workspace="new"] .ws-rae .draft-chat__input-wrap { padding: 8px 16px 16px; border: 0; background: none; }
[data-workspace="new"] .ws-rae .draft-chat__input-field { gap: 6px 8px; padding: 10px 10px 8px 14px; border: 0; border-radius: 12px; background: var(--mw-bg-canvas); box-shadow: inset 0 0 0 1px var(--mw-border-strong); }
[data-workspace="new"] .ws-rae .draft-chat__input-field:focus-within { box-shadow: inset 0 0 0 1.5px var(--mw-focus-ring); }
[data-workspace="new"] .ws-rae .draft-chat__input-field textarea { min-height: 24px; max-height: 160px; font-size: 14px; line-height: 21px; color: var(--mw-text-primary); }
[data-workspace="new"] .ws-rae .draft-chat__input-field textarea::placeholder { color: var(--mw-text-tertiary); }
[data-workspace="new"] .ws-rae .draft-chat__chip { background: var(--mw-bg-subtle); border: 0; box-shadow: inset 0 0 0 1px var(--mw-border-subtle); line-height: 24px; color: var(--mw-text-secondary); }
[data-workspace="new"] .ws-rae .draft-chat__send { width: 32px; min-width: 32px !important; height: 32px !important; padding: 0 !important; border-radius: 50% !important; background: var(--mw-action-primary) !important; color: var(--mw-action-on-primary) !important; }
[data-workspace="new"] .ws-rae .draft-chat__send.v-btn--disabled { background: var(--mw-bg-hover) !important; color: var(--mw-text-tertiary) !important; }
[data-workspace="new"] .ws-rae .draft-chat__send.v-btn--disabled { opacity: 1; box-shadow: none !important; }
[data-workspace="new"] .ws-rae .draft-chat__send :is(.v-btn__overlay, .v-btn__underlay) { opacity: 0 !important; }
[data-workspace="new"] .ws-rae .draft-chat__input-field textarea:is(:focus, :focus-visible) { outline: none; box-shadow: none; }
[data-workspace="new"] .ws-rae .draft-chat__mic { border-radius: 50%; }
[data-workspace="new"] .ws-rae .draft-chat__mic[aria-pressed="true"] { color: var(--mw-status-danger); background: color-mix(in srgb, var(--mw-status-danger) 12%, transparent); }
[data-workspace="new"] .ws-rae .draft-chat__slash { left: 16px; bottom: calc(100% - 2px); background: var(--mw-bg-canvas); border: 0; box-shadow: inset 0 0 0 1px var(--mw-border-strong); color: var(--mw-text-secondary); }
[data-workspace="new"] .ws-rae .draft-chat__slash code { color: var(--mw-text-primary); }
[data-workspace="new"] .ws-rae :focus-visible { outline: 2px solid var(--mw-focus-ring); outline-offset: 2px; }
/* The floating Ask Rae shares the title's line, so the page's own top-right controls move over
   to leave it room. */
@media (min-width: 900px) {
    [data-workspace="new"] .ws-shell:not(.ws-shell--collapsed):not(.ws-shell--rae) .ws-main:has(> .ws-top--rae:not(.ws-top--trail)) .y-view-header__controls { margin-right: 148px; }
    [data-workspace="new"] .ws-shell:not(.ws-shell--collapsed):not(.ws-shell--rae) .ws-main:has(> .ws-top--rae:not(.ws-top--trail)) .ov-head { padding-right: 144px; }
}
/* Rae that a page embeds (the access model) sits on the right in the workspace, as the one right-hand column. */
[data-workspace="new"] #y-shell-main .draft-rail { order: 10; border-right: 0; border-left: 1px solid var(--mw-border-subtle); }

[data-workspace="new"] .ws-rae .ws-rae__close-m { display: none; }
/* A phone gives Rae the whole screen, and the composer is one rounded row with the page's chip above it. */
@media (max-width: 767px) {
    [data-workspace="new"] .ws-rae { width: 100vw; box-shadow: none !important; }
    [data-workspace="new"] .ws-rae > .y-resizer, [data-workspace="new"] .ws-rae .ws-rae__collapse { display: none; }
    [data-workspace="new"] .ws-rae .ws-rae__close-m { display: inline-flex; }
    [data-workspace="new"] .ws-rae .draft-rail__head { height: 52px; padding: 0 6px 0 16px; }
    [data-workspace="new"] .ws-rae .draft-rail__logo { width: 24px; height: 24px; }
    [data-workspace="new"] .ws-rae .draft-rail__title { font-size: 15px; }
    [data-workspace="new"] .ws-rae .draft-rail__head .v-btn { width: 52px; min-width: 52px !important; height: 42px !important; min-height: 42px !important; }
    [data-workspace="new"] .ws-rae .draft-rail__head .v-btn .v-icon { font-size: 18px; width: 18px; height: 18px; }
    [data-workspace="new"] .ws-rae .draft-rail__head .ws-rae__close-m .v-icon { font-size: 20px; width: 20px; height: 20px; }
    [data-workspace="new"] .ws-rae .draft-chat__scroll { padding: 12px 16px 16px; }
    [data-workspace="new"] .ws-rae .draft-chat__empty-title { font-size: 17px; line-height: 24px; }
    [data-workspace="new"] .ws-rae .draft-chat__empty-hint { font-size: 14px; line-height: 20px; }
    [data-workspace="new"] .ws-rae .draft-chat__suggestion { min-height: 44px; font-size: 15px; }
    [data-workspace="new"] .ws-rae .draft-chat__suggestion ~ .draft-chat__suggestion { margin-top: 2px; }
    [data-workspace="new"] .ws-rae .draft-chat__input-wrap { position: relative; padding: 38px 12px 8px; }
    [data-workspace="new"] .ws-rae .draft-chat__input-field { display: flex; flex-wrap: nowrap; align-items: flex-end; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 22px; }
    [data-workspace="new"] .ws-rae .draft-chat__input-field textarea { flex: 1 1 auto; min-width: 0; min-height: 22px; padding: 7px 0; font-size: 16px; line-height: 22px; }
    [data-workspace="new"] .ws-rae .draft-chat__chip { position: absolute; top: 8px; left: 16px; }
    [data-workspace="new"] .ws-rae .draft-chat__send, [data-workspace="new"] .ws-rae .draft-chat__mic { width: 36px; min-width: 36px !important; height: 36px !important; min-height: 36px !important; }
    [data-workspace="new"] .ws-rae .draft-chat__mic .v-icon { font-size: 18px; width: 18px; height: 18px; }
}

