/* GENERATED by @vf/design scripts/sync-vendor.sh — DO NOT EDIT.
   source: patterns.css  ·  wovels/design-system  ·  v1.6.1
   Edit it upstream and re-run the script, or your change is lost on
   the next sync and the app silently drifts from the design system. */
/* --- end @vf/design vendor header --- */
/* ============================================================================
   @vf/design — framework-neutral suite patterns
   ----------------------------------------------------------------------------
   These classes define cross-product composition, not application behavior.
   They use only --vf-* runtime tokens so React/Tailwind and server-rendered
   consumers share one layout and follow the same light/dark theme.
   ============================================================================ */

/* Pattern-owned boxes cannot depend on an application-wide reset. In
   particular, the auth card's 24rem maximum includes padding and border. */
.vf-product-lockup,
.vf-brand-mark-svg,
.vf-brand-mark,
.vf-product-lockup__mark,
.vf-product-lockup__name,
.vf-auth-shell,
.vf-auth-card,
.vf-auth-utility,
.vf-auth-header,
.vf-auth-title,
.vf-auth-description,
.vf-auth-content,
.vf-auth-form,
.vf-auth-submit,
.vf-auth-error,
.vf-auth-footer {
  box-sizing: border-box;
}

.vf-app-bar,
.vf-app-bar__inner,
.vf-app-bar__identity,
.vf-app-bar__navigation,
.vf-app-bar__actions,
.vf-app-bar__mobile,
.vf-app-nav__item,
.vf-app-menu,
.vf-app-menu__trigger,
.vf-app-menu__panel,
.vf-app-menu__navigation,
.vf-app-menu__section,
.vf-app-menu__label,
.vf-app-menu__utility,
.vf-app-menu__action,
.vf-theme-toggle,
.vf-theme-toggle__icon,
.vf-account-disclosure,
.vf-account-disclosure__trigger,
.vf-account-disclosure__label,
.vf-account-disclosure__chevron,
.vf-account-disclosure__panel,
.vf-account-disclosure__identity,
.vf-account-disclosure__description,
.vf-account-disclosure__actions {
  box-sizing: border-box;
}

.vf-page-header,
.vf-page-header__heading,
.vf-page-header__title,
.vf-page-header__description,
.vf-page-header__context,
.vf-page-header__actions {
  box-sizing: border-box;
}

.vf-product-lockup {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: var(--vf-space-3);
  color: var(--vf-fg);
  font-family: var(--vf-font-heading);
  font-size: var(--vf-text-sub);
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
}

.vf-product-lockup:hover {
  text-decoration: none;
}

.vf-product-lockup__mark {
  display: block;
  width: 2.25rem;
  height: 1.5rem;
  flex: none;
  color: currentColor;
}

/* Standalone React and framework-neutral marks use the medium suite size.
   ProductLockup adds its own mark class, whose size modifiers override this. */
.vf-brand-mark-svg,
.vf-brand-mark {
  display: block;
  width: 2.25rem;
  height: 1.5rem;
  flex: none;
  color: currentColor;
}

/* Framework-neutral consumers cannot always include an SVG from their static
   directory in a server-side template. This mask uses the same versioned asset
   while letting `background-color: currentColor` follow the active theme. */
.vf-brand-mark {
  background-color: currentColor;
  -webkit-mask: url("./assets/brand-mark.svg") center / contain no-repeat;
  mask: url("./assets/brand-mark.svg") center / contain no-repeat;
}

.vf-product-lockup__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vf-product-lockup--stacked {
  flex-direction: column;
  justify-content: center;
  gap: var(--vf-space-3);
  text-align: center;
}

.vf-product-lockup--sm {
  gap: var(--vf-space-2);
  font-size: var(--vf-text-body);
}

.vf-product-lockup--sm .vf-product-lockup__mark {
  width: 1.875rem;
  height: 1.25rem;
}

.vf-product-lockup--lg {
  font-size: var(--vf-text-h4);
}

.vf-product-lockup--lg .vf-product-lockup__mark {
  width: 4.5rem;
  height: 3rem;
}

.vf-app-bar {
  position: relative;
  z-index: 30;
  width: 100%;
  min-width: 0;
  min-height: 4rem;
  color: var(--vf-fg);
  background: var(--vf-surface);
  border-block-end: 1px solid var(--vf-line);
}

.vf-app-bar--sticky {
  position: sticky;
  inset-block-start: 0;
}

.vf-app-bar__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--vf-space-4);
  width: 100%;
  min-height: calc(4rem - 1px);
  padding-inline: var(--vf-space-6);
}

.vf-app-bar__identity {
  min-width: 0;
  color: inherit;
}

.vf-app-bar__identity .vf-product-lockup {
  max-width: 18rem;
}

.vf-app-bar__navigation {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: var(--vf-space-1);
  overflow-x: auto;
  scrollbar-width: thin;
}

.vf-app-nav__item {
  display: inline-flex;
  min-width: max-content;
  min-height: 2.25rem;
  align-items: center;
  justify-content: center;
  padding: var(--vf-space-2) var(--vf-space-3);
  color: var(--vf-fg-muted);
  background: transparent;
  border: 0;
  border-radius: var(--vf-radius);
  font-family: var(--vf-font-body);
  font-size: var(--vf-text-body);
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 120ms ease, background-color 120ms ease;
}

.vf-app-nav__item:hover {
  color: var(--vf-fg);
  background: var(--vf-hover);
  text-decoration: none;
}

.vf-app-nav__item:focus-visible,
.vf-app-menu__trigger:focus-visible,
.vf-theme-toggle:focus-visible,
.vf-account-disclosure__trigger:focus-visible,
.vf-app-menu__action:focus-visible {
  outline: 2px solid var(--vf-accent-text);
  outline-offset: 2px;
}

.vf-app-nav__item[aria-current="page"] {
  color: var(--vf-accent-text);
  background: var(--vf-accent-quiet);
}

.vf-app-nav__item[aria-current="page"]:hover {
  color: var(--vf-accent-text);
  background: var(--vf-accent-quiet);
}

.vf-app-bar__actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: var(--vf-space-1);
}

.vf-app-bar__mobile {
  display: none;
  justify-self: end;
}

.vf-theme-toggle {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--vf-fg-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--vf-radius-lg);
  cursor: pointer;
}

.vf-theme-toggle:hover {
  color: var(--vf-fg);
  background: var(--vf-hover);
}

.vf-theme-toggle__icon {
  display: block;
  width: 1rem;
  height: 1rem;
  flex: none;
}

.vf-theme-toggle__icon--sun {
  display: none;
}

.dark .vf-theme-toggle__icon--moon,
[data-theme="dark"] .vf-theme-toggle__icon--moon {
  display: none;
}

.dark .vf-theme-toggle__icon--sun,
[data-theme="dark"] .vf-theme-toggle__icon--sun {
  display: block;
}

.vf-app-menu,
.vf-account-disclosure {
  position: relative;
}

.vf-app-menu__trigger,
.vf-account-disclosure__trigger {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  justify-content: center;
  gap: var(--vf-space-2);
  padding: var(--vf-space-2);
  color: var(--vf-fg-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--vf-radius-lg);
  font-family: var(--vf-font-body);
  font-size: var(--vf-text-body);
  font-weight: 500;
  line-height: 1.25;
  list-style: none;
  cursor: pointer;
}

.vf-app-menu__trigger {
  width: 2.25rem;
}

.vf-app-menu__trigger::-webkit-details-marker,
.vf-account-disclosure__trigger::-webkit-details-marker {
  display: none;
}

.vf-app-menu__trigger:hover,
.vf-account-disclosure__trigger:hover {
  color: var(--vf-fg);
  background: var(--vf-hover);
}

.vf-app-menu__panel,
.vf-account-disclosure__panel {
  position: absolute;
  inset-block-start: 100%;
  inset-inline-end: 0;
  z-index: 50;
  margin-block-start: var(--vf-space-2);
  padding: var(--vf-space-1);
  color: var(--vf-fg);
  background: var(--vf-surface);
  border: 1px solid var(--vf-line);
  border-radius: var(--vf-radius-lg);
  box-shadow: var(--vf-shadow-lg);
}

.vf-app-menu__panel {
  width: min(20rem, calc(100vw - 1.5rem));
}

.vf-app-menu__navigation,
.vf-account-disclosure__actions {
  display: flex;
  flex-direction: column;
  gap: var(--vf-space-1);
}

.vf-app-menu__navigation .vf-app-nav__item,
.vf-app-menu__action {
  width: 100%;
  justify-content: flex-start;
  text-align: start;
}

.vf-app-menu__section {
  margin-block-start: var(--vf-space-2);
  padding-block-start: var(--vf-space-2);
  border-block-start: 1px solid var(--vf-line);
}

.vf-app-menu__label,
.vf-account-disclosure__identity {
  min-width: 0;
  margin: 0;
  padding: var(--vf-space-2) var(--vf-space-3);
  overflow: hidden;
  color: var(--vf-fg-muted);
  font-family: var(--vf-font-body);
  font-size: var(--vf-text-caption);
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vf-app-menu__utility {
  display: flex;
  min-height: 2.25rem;
  align-items: center;
  justify-content: space-between;
  gap: var(--vf-space-3);
  padding-inline: var(--vf-space-3);
  color: var(--vf-fg-muted);
  font-family: var(--vf-font-body);
  font-size: var(--vf-text-body);
}

.vf-app-menu__action {
  display: flex;
  min-height: 2.25rem;
  align-items: center;
  padding: var(--vf-space-2) var(--vf-space-3);
  color: var(--vf-fg-muted);
  background: transparent;
  border: 0;
  border-radius: var(--vf-radius);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.vf-app-menu__action:hover {
  color: var(--vf-fg);
  background: var(--vf-hover);
  text-decoration: none;
}

.vf-account-disclosure__trigger {
  max-width: 18rem;
  padding-inline: var(--vf-space-3);
  font-size: var(--vf-text-caption);
}

.vf-account-disclosure__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vf-account-disclosure__chevron {
  width: 1rem;
  height: 1rem;
  flex: none;
  transition: transform 120ms ease;
}

.vf-account-disclosure__trigger[aria-expanded="true"] .vf-account-disclosure__chevron,
.vf-account-disclosure[open] .vf-account-disclosure__chevron {
  transform: rotate(180deg);
}

.vf-account-disclosure__panel {
  width: min(18rem, calc(100vw - 1.5rem));
}

.vf-account-disclosure__identity {
  color: var(--vf-fg);
  font-size: var(--vf-text-body);
  font-weight: 500;
}

.vf-account-disclosure__description {
  display: block;
  margin-block-start: var(--vf-space-1);
  overflow: hidden;
  color: var(--vf-fg-muted);
  font-size: var(--vf-text-caption);
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vf-account-disclosure__actions {
  margin-block-start: var(--vf-space-1);
  padding-block-start: var(--vf-space-1);
  border-block-start: 1px solid var(--vf-line);
}

@media (max-width: 64rem) {
  .vf-app-bar {
    min-height: 3.5rem;
  }

  .vf-app-bar__inner {
    gap: var(--vf-space-3);
    min-height: calc(3.5rem - 1px);
    padding-inline: var(--vf-space-3);
  }

  .vf-app-bar__identity .vf-product-lockup {
    max-width: calc(100vw - 5rem);
  }

  .vf-app-bar--has-mobile-menu .vf-app-bar__navigation,
  .vf-app-bar--has-mobile-menu .vf-app-bar__actions {
    display: none;
  }

  .vf-app-bar--has-mobile-menu .vf-app-bar__mobile {
    display: flex;
  }
}

.vf-page-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--vf-space-4);
  min-width: 0;
  padding: var(--vf-space-4) var(--vf-space-6);
  color: var(--vf-fg);
  background: var(--vf-bg-base);
  border-block-end: 1px solid var(--vf-line);
}

.vf-page-header__heading {
  min-width: 0;
}

.vf-page-header__title {
  margin: 0;
  color: var(--vf-fg);
  font-family: var(--vf-font-heading);
  font-size: var(--vf-text-h4);
  font-weight: 700;
  line-height: 1.2;
}

.vf-page-header__description {
  max-width: 48rem;
  margin: var(--vf-space-1) 0 0;
  color: var(--vf-fg-muted);
  font-family: var(--vf-font-body);
  font-size: var(--vf-text-body);
  line-height: 1.45;
}

.vf-page-header__context,
.vf-page-header__actions {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--vf-space-2);
}

.vf-page-header__context {
  justify-content: center;
}

.vf-page-header__actions {
  justify-content: flex-end;
}

@media (max-width: 48rem) {
  .vf-page-header {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: var(--vf-space-3);
    padding: var(--vf-space-3);
  }

  .vf-page-header__context,
  .vf-page-header__actions {
    justify-content: flex-start;
  }
}

.vf-auth-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: var(--vf-space-4);
  color: var(--vf-fg);
  background: var(--vf-bg-base);
}

.vf-auth-card {
  position: relative;
  width: min(100%, 24rem);
  padding: var(--vf-space-6);
  border: 1px solid var(--vf-line);
  border-radius: var(--vf-radius-lg);
  background: var(--vf-surface);
  box-shadow: var(--vf-shadow-lg);
}

.vf-auth-utility {
  position: absolute;
  inset-block-start: var(--vf-space-3);
  inset-inline-end: var(--vf-space-3);
}

.vf-auth-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--vf-space-2);
  margin-block-end: var(--vf-space-6);
  text-align: center;
}

.vf-auth-title {
  margin: 0;
  font: inherit;
}

.vf-auth-description {
  margin: 0;
  color: var(--vf-fg-muted);
  font-family: var(--vf-font-body);
  font-size: var(--vf-text-body);
  line-height: 1.5;
}

.vf-auth-content {
  min-width: 0;
}

.vf-auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--vf-space-5);
}

.vf-auth-submit {
  width: 100%;
}

.vf-auth-error {
  margin: 0;
  padding: var(--vf-space-3) var(--vf-space-4);
  border: 1px solid color-mix(in oklab, var(--vf-bad) 30%, transparent);
  border-radius: var(--vf-radius);
  color: var(--vf-bad);
  background: var(--vf-bad-surface);
  font-family: var(--vf-font-body);
  font-size: var(--vf-text-body);
  line-height: 1.45;
}

.vf-auth-footer {
  margin-block-start: var(--vf-space-6);
  color: var(--vf-fg-muted);
  font-family: var(--vf-font-body);
  font-size: var(--vf-text-caption);
  line-height: 1.5;
  text-align: center;
}

@media (max-height: 36rem) {
  .vf-auth-shell {
    place-items: start center;
  }

  .vf-auth-card {
    padding: var(--vf-space-5);
  }

  .vf-auth-header {
    margin-block-end: var(--vf-space-5);
  }
}
