/* packages/admin-ui-v2/src/brand/BrandMark/BrandMark.module.css */
.BrandMark_mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--brand-mark-size);
  height: var(--brand-mark-size);
  border-radius: var(--brand-mark-radius);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-base);
}
.BrandMark_sm {
  --brand-mark-size: 26px;
  --brand-mark-radius: var(--radius-sm);
}
.BrandMark_md {
  --brand-mark-size: 28px;
  --brand-mark-radius: var(--radius-md);
}
.BrandMark_lg {
  --brand-mark-size: 34px;
  --brand-mark-radius: var(--radius-md);
}
.BrandMark_image {
  display: block;
  width: 100%;
  height: 100%;
}

/* packages/admin-ui-v2/src/primitives/Avatar/Avatar.module.css */
.Avatar_avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-emphasis);
  color: var(--fg-secondary);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0;
  flex-shrink: 0;
  position: relative;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}
.Avatar_image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.Avatar_xs {
  width: 20px;
  height: 20px;
  font-size: var(--text-2xs);
}
.Avatar_sm {
  width: 24px;
  height: 24px;
  font-size: var(--text-2xs);
}
.Avatar_md {
  width: 28px;
  height: 28px;
}
.Avatar_lg {
  width: 36px;
  height: 36px;
  font-size: var(--text-sm);
}
.Avatar_xl {
  width: 48px;
  height: 48px;
  font-size: var(--text-md);
}
.Avatar_stack {
  display: inline-flex;
}
.Avatar_stack > .Avatar_avatar:not(:first-child) {
  margin-left: -6px;
}
.Avatar_status {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--bg-base);
}
.Avatar_statusOnline {
  background: var(--success-bg);
}
.Avatar_statusBusy {
  background: var(--danger-bg);
}
.Avatar_statusAway {
  background: var(--warning-bg);
}
.Avatar_statusOffline {
  background: var(--fg-tertiary);
}

/* packages/admin-ui-v2/src/primitives/Badge/Badge.module.css */
.Badge_badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 20px;
  padding: 0 7px;
  font-size: var(--text-xs);
  font-weight: 500;
  border-radius: var(--radius-sm);
  letter-spacing: -0.005em;
  white-space: nowrap;
  border: 1px solid transparent;
}
.Badge_sm {
  height: 18px;
  padding: 0 6px;
  font-size: var(--text-2xs);
}
.Badge_md {
  height: 20px;
  padding: 0 7px;
  font-size: var(--text-xs);
}
.Badge_lg {
  height: 24px;
  padding: 0 8px;
  font-size: var(--text-sm);
}
.Badge_dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.Badge_neutral {
  background: var(--neutral-soft);
  color: var(--neutral-soft-fg);
}
.Badge_success {
  background: var(--success-soft);
  color: var(--success-soft-fg);
}
.Badge_warning {
  background: var(--warning-soft);
  color: var(--warning-soft-fg);
}
.Badge_danger {
  background: var(--danger-soft);
  color: var(--danger-soft-fg);
}
.Badge_info {
  background: var(--info-soft);
  color: var(--info-soft-fg);
}
.Badge_accent {
  background: var(--accent-soft);
  color: var(--accent-soft-fg);
}
.Badge_outline {
  background: transparent;
  border-color: currentColor;
}

/* packages/admin-ui-v2/src/primitives/Button/Button.module.css */
.Button_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: var(--control-h-md);
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition:
    background var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}
.Button_btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.Button_btn:active {
  transform: translateY(0.5px);
}
.Button_btn[disabled],
.Button_btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.Button_sm {
  height: var(--control-h-sm);
  padding: 0 10px;
  font-size: var(--text-sm);
  border-radius: var(--radius-sm);
}
.Button_md {
}
.Button_lg {
  height: var(--control-h-lg);
  padding: 0 16px;
  font-size: var(--text-md);
  border-radius: var(--radius-lg);
}
.Button_fullWidth {
  width: 100%;
}
.Button_primary {
  background: var(--accent-bg);
  color: var(--fg-on-accent);
  border-color: var(--accent-bg);
}
.Button_primary:hover:not(:disabled) {
  background: var(--accent-bg-hover);
  border-color: var(--accent-bg-hover);
}
.Button_primary:active:not(:disabled) {
  background: var(--accent-bg-active);
}
.Button_secondary {
  background: var(--bg-base);
  color: var(--fg-primary);
  border-color: var(--border-default);
}
.Button_secondary:hover:not(:disabled) {
  background: var(--bg-subtle);
  border-color: var(--border-strong);
}
.Button_ghost {
  background: transparent;
  color: var(--fg-primary);
  border-color: transparent;
}
.Button_ghost:hover:not(:disabled) {
  background: var(--bg-subtle);
}
.Button_danger {
  background: var(--danger-bg);
  color: var(--fg-on-accent);
  border-color: var(--danger-bg);
}
.Button_danger:hover:not(:disabled) {
  filter: brightness(0.95);
}
.Button_link {
  background: transparent;
  color: var(--accent-fg);
  border-color: transparent;
  padding: 0;
  height: auto;
}
.Button_link:hover:not(:disabled) {
  text-decoration: underline;
}
.Button_loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.Button_loading::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 14px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: Button_btn-spin 0.7s linear infinite;
  color: var(--fg-on-accent);
}
.Button_secondary.Button_loading::after,
.Button_ghost.Button_loading::after,
.Button_link.Button_loading::after {
  color: var(--fg-primary);
}
@keyframes Button_btn-spin {
  to {
    transform: rotate(360deg);
  }
}
.Button_iconSlot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* packages/admin-ui-v2/src/primitives/Card/Card.module.css */
.Card_card {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.Card_section {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  border-radius: var(--radius-md);
  overflow: visible;
}
.Card_header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.Card_section .Card_header {
  padding: var(--space-3);
  align-items: flex-start;
  gap: var(--space-3);
}
.Card_title {
  font-size: var(--text-md);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
.Card_section .Card_title {
  font-size: var(--text-sm);
  font-weight: 650;
  letter-spacing: normal;
  color: var(--fg-primary);
}
.Card_subtitle {
  color: var(--fg-secondary);
  font-size: var(--text-sm);
  margin: 4px 0 0;
}
.Card_section .Card_subtitle {
  font-size: var(--text-xs);
  margin: var(--space-1) 0 0;
}
.Card_actions {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.Card_body {
  padding: 16px;
  min-width: 0;
}
.Card_bodyNone {
  padding: 0;
}
.Card_bodySm {
  padding: 12px;
}
.Card_bodyLg {
  padding: 24px;
}
.Card_bodySection {
  flex: 1;
  min-width: 0;
  padding: var(--space-3);
}
.Card_footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.Card_section .Card_footer {
  padding: var(--space-3);
  justify-content: flex-start;
}
.Card_footerButton {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--accent-fg);
  cursor: pointer;
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 650;
  padding: 0;
}

/* packages/admin-ui-v2/src/primitives/Checkbox/Checkbox.module.css */
.Checkbox_root {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--border-strong);
  background: var(--bg-base);
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  padding: 0;
  transition: background var(--duration-fast), border-color var(--duration-fast);
}
.Checkbox_root:hover:not(:disabled) {
  border-color: var(--accent-bg);
}
.Checkbox_root:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.Checkbox_root[data-state=checked],
.Checkbox_root[data-state=indeterminate] {
  background: var(--accent-bg);
  border-color: var(--accent-bg);
}
.Checkbox_root:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.Checkbox_indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-on-accent);
}
.Checkbox_icon {
  width: 10px;
  height: 10px;
}
.Checkbox_label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-base);
  cursor: pointer;
  color: var(--fg-primary);
}
.Checkbox_label:has(.Checkbox_root:disabled) {
  opacity: 0.5;
  cursor: not-allowed;
}

/* packages/admin-ui-v2/src/primitives/Field/Field.module.css */
.Field_field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.Field_label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--fg-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}
.Field_req {
  color: var(--danger-bg);
}
.Field_hint {
  font-size: var(--text-xs);
  color: var(--fg-tertiary);
}
.Field_error {
  font-size: var(--text-xs);
  color: var(--danger-soft-fg);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* packages/admin-ui-v2/src/primitives/IconButton/IconButton.module.css */
.IconButton_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--control-h-md);
  width: var(--control-h-md);
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  user-select: none;
  transition:
    background var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out);
}
.IconButton_btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.IconButton_btn[disabled],
.IconButton_btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.IconButton_sm {
  height: var(--control-h-sm);
  width: var(--control-h-sm);
  border-radius: var(--radius-sm);
}
.IconButton_md {
}
.IconButton_lg {
  height: var(--control-h-lg);
  width: var(--control-h-lg);
  border-radius: var(--radius-lg);
}
.IconButton_primary {
  background: var(--accent-bg);
  color: var(--fg-on-accent);
  border-color: var(--accent-bg);
}
.IconButton_primary:hover:not(:disabled) {
  background: var(--accent-bg-hover);
  border-color: var(--accent-bg-hover);
}
.IconButton_secondary {
  background: var(--bg-base);
  color: var(--fg-primary);
  border-color: var(--border-default);
}
.IconButton_secondary:hover:not(:disabled) {
  background: var(--bg-subtle);
  border-color: var(--border-strong);
}
.IconButton_ghost {
  background: transparent;
  color: var(--fg-primary);
  border-color: transparent;
}
.IconButton_ghost:hover:not(:disabled) {
  background: var(--bg-subtle);
}
.IconButton_danger {
  background: var(--danger-bg);
  color: var(--fg-on-accent);
  border-color: var(--danger-bg);
}
.IconButton_danger:hover:not(:disabled) {
  filter: brightness(0.95);
}

/* packages/admin-ui-v2/src/primitives/Input/Input.module.css */
.Input_input {
  width: 100%;
  height: var(--control-h-md);
  padding: 0 10px;
  background: var(--bg-base);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}
.Input_input::placeholder {
  color: var(--fg-tertiary);
}
.Input_input:hover:not(:disabled) {
  border-color: var(--border-strong);
}
.Input_input:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: var(--ring);
}
.Input_input:disabled {
  background: var(--bg-subtle);
  color: var(--fg-disabled);
  cursor: not-allowed;
}
.Input_invalid {
  border-color: var(--danger-bg);
}
.Input_invalid:focus {
  box-shadow: var(--danger-ring);
}
.Input_group {
  position: relative;
  display: flex;
  align-items: center;
}
.Input_group .Input_input {
  padding-left: 30px;
}
.Input_icon {
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--fg-tertiary);
  pointer-events: none;
  display: flex;
}
.Input_suffix {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--fg-tertiary);
  font-size: var(--text-xs);
  pointer-events: none;
}
.Input_groupSuffix .Input_input {
  padding-right: 36px;
}

/* packages/admin-ui-v2/src/primitives/RadioGroup/RadioGroup.module.css */
.RadioGroup_root {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.RadioGroup_item {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-base);
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background var(--duration-fast), border-color var(--duration-fast);
}
.RadioGroup_item:hover:not(:disabled) {
  border-color: var(--accent-bg);
}
.RadioGroup_item:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.RadioGroup_item[data-state=checked] {
  background: var(--accent-bg);
  border-color: var(--accent-bg);
}
.RadioGroup_item:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.RadioGroup_indicator {
  display: inline-flex;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fg-on-accent);
}
.RadioGroup_label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-base);
  cursor: pointer;
  color: var(--fg-primary);
}
.RadioGroup_label:has(.RadioGroup_item:disabled) {
  opacity: 0.5;
  cursor: not-allowed;
}

/* packages/admin-ui-v2/src/overlays/Popover/Popover.module.css */
.Popover_content {
  background: var(--bg-base);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 4px;
  min-width: 200px;
  max-height: var(--radix-popover-content-available-height, 320px);
  z-index: var(--z-popover);
  outline: none;
  transform-origin: var(--radix-popover-content-transform-origin);
  animation: Popover_popover-in 160ms var(--ease-out);
}
.Popover_content[data-state=closed] {
  animation: Popover_popover-out 120ms ease-in;
}
.Popover_contentBare {
  background: var(--bg-base);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: var(--z-popover);
  outline: none;
  transform-origin: var(--radix-popover-content-transform-origin);
  animation: Popover_popover-in 160ms var(--ease-out);
}
.Popover_contentBare[data-state=closed] {
  animation: Popover_popover-out 120ms ease-in;
}
.Popover_arrow {
  fill: var(--bg-base);
}
.Popover_item {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 8px;
  font-size: var(--text-sm);
  color: var(--fg-primary);
  border-radius: var(--radius-xs);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}
.Popover_item:hover,
.Popover_item[data-highlighted=true] {
  background: var(--bg-subtle);
  outline: none;
}
.Popover_item[data-disabled=true] {
  color: var(--fg-disabled);
  cursor: not-allowed;
}
.Popover_itemDanger {
  color: var(--danger-soft-fg);
}
.Popover_itemDanger:hover,
.Popover_itemDanger[data-highlighted=true] {
  background: var(--danger-soft);
}
.Popover_divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 4px 0;
}
.Popover_section {
  font-size: var(--text-2xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-tertiary);
  padding: 6px 8px 4px;
  font-weight: 500;
}
.Popover_kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  background: var(--bg-subtle);
  border: 1px solid var(--border-default);
  border-radius: 4px;
  color: var(--fg-secondary);
}
@keyframes Popover_popover-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes Popover_popover-out {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.96);
  }
}

/* packages/admin-ui-v2/src/primitives/Select/Select.module.css */
.Select_trigger {
  width: 100%;
  height: var(--control-h-md);
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-base);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}
.Select_trigger:hover:not(:disabled) {
  border-color: var(--border-strong);
}
.Select_trigger:focus-visible {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: var(--ring);
}
.Select_trigger[aria-expanded=true] {
  border-color: var(--border-focus);
  box-shadow: var(--ring);
}
.Select_trigger:disabled {
  background-color: var(--bg-subtle);
  color: var(--fg-disabled);
  cursor: not-allowed;
}
.Select_invalid {
  border-color: var(--danger-bg);
}
.Select_invalid:focus-visible,
.Select_invalid[aria-expanded=true] {
  box-shadow: var(--danger-ring);
}
.Select_value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.Select_placeholder {
  color: var(--fg-tertiary);
}
.Select_chevron {
  flex-shrink: 0;
  color: var(--fg-tertiary);
}
.Select_content {
  min-width: var(--radix-popover-trigger-width);
  max-height: var(--radix-popover-content-available-height, 320px);
  overflow: auto;
  padding: 4px;
}
.Select_option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: var(--control-h-md);
  padding: 0 8px;
  border: 0;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  text-align: left;
  cursor: pointer;
}
.Select_option:hover:not(:disabled),
.Select_option:focus-visible {
  background: var(--bg-subtle);
  outline: none;
}
.Select_optionActive {
  color: var(--accent-soft-fg);
}
.Select_optionActive:hover:not(:disabled),
.Select_optionActive:focus-visible {
  background: var(--accent-soft);
}
.Select_option:disabled {
  color: var(--fg-disabled);
  cursor: not-allowed;
}
.Select_optionLabel {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.Select_optionCheck {
  flex-shrink: 0;
}

/* packages/admin-ui-v2/src/primitives/Skeleton/Skeleton.module.css */
.Skeleton_skeleton {
  background:
    linear-gradient(
      90deg,
      var(--bg-subtle) 0%,
      var(--bg-emphasis) 50%,
      var(--bg-subtle) 100%);
  background-size: 200% 100%;
  animation: Skeleton_skel 1.4s ease-in-out infinite;
  border-radius: var(--radius-xs);
  height: 12px;
  width: 100%;
  display: block;
}
@keyframes Skeleton_skel {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* packages/admin-ui-v2/src/primitives/Spinner/Spinner.module.css */
.Spinner_spinner {
  display: inline-block;
  border-style: solid;
  border-color: currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: Spinner_spinner-rotate 0.7s linear infinite;
  flex-shrink: 0;
}
.Spinner_sm {
  width: 12px;
  height: 12px;
  border-width: 1.5px;
}
.Spinner_md {
  width: 16px;
  height: 16px;
  border-width: 2px;
}
.Spinner_lg {
  width: 24px;
  height: 24px;
  border-width: 2.5px;
}
@keyframes Spinner_spinner-rotate {
  to {
    transform: rotate(360deg);
  }
}

/* packages/admin-ui-v2/src/primitives/Switch/Switch.module.css */
.Switch_root {
  appearance: none;
  cursor: pointer;
  flex-shrink: 0;
  width: 28px;
  height: 16px;
  border-radius: var(--radius-full);
  background: var(--border-default);
  position: relative;
  transition: background var(--duration-fast);
  border: none;
  padding: 0;
}
.Switch_root:hover:not(:disabled) {
  background: var(--border-strong);
}
.Switch_root:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.Switch_root[data-state=checked] {
  background: var(--accent-bg);
}
.Switch_root[data-state=checked]:hover:not(:disabled) {
  background: var(--accent-bg-hover);
}
.Switch_root:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.Switch_thumb {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--fg-on-accent);
  box-shadow: var(--shadow-xs);
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform var(--duration-base) var(--ease-out);
}
.Switch_root[data-state=checked] .Switch_thumb {
  transform: translateX(12px);
}
.Switch_lg {
  width: 36px;
  height: 20px;
}
.Switch_lg .Switch_thumb {
  width: 16px;
  height: 16px;
}
.Switch_lg.Switch_root[data-state=checked] .Switch_thumb {
  transform: translateX(16px);
}
.Switch_label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-base);
  cursor: pointer;
  color: var(--fg-primary);
}
.Switch_label:has(.Switch_root:disabled) {
  opacity: 0.5;
  cursor: not-allowed;
}

/* packages/admin-ui-v2/src/primitives/Tag/Tag.module.css */
.Tag_tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 8px;
  font-size: var(--text-xs);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--fg-secondary);
}
.Tag_close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: 0.6;
  color: inherit;
  padding: 0;
}
.Tag_close:hover {
  opacity: 1;
  background: var(--bg-emphasis);
}
.Tag_close:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  opacity: 1;
}

/* packages/admin-ui-v2/src/primitives/Textarea/Textarea.module.css */
.Textarea_textarea {
  width: 100%;
  height: auto;
  min-height: 72px;
  padding: 8px 10px;
  background: var(--bg-base);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.5;
  resize: vertical;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}
.Textarea_textarea::placeholder {
  color: var(--fg-tertiary);
}
.Textarea_textarea:hover:not(:disabled) {
  border-color: var(--border-strong);
}
.Textarea_textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: var(--ring);
}
.Textarea_textarea:disabled {
  background: var(--bg-subtle);
  color: var(--fg-disabled);
  cursor: not-allowed;
}
.Textarea_invalid {
  border-color: var(--danger-bg);
}
.Textarea_invalid:focus {
  box-shadow: var(--danger-ring);
}

/* packages/admin-ui-v2/src/data-display/Banner/Banner.module.css */
.Banner_banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  background: var(--bg-base);
}
.Banner_icon {
  display: flex;
  flex-shrink: 0;
  margin-top: 1px;
}
.Banner_content {
  flex: 1;
}
.Banner_title {
  font-weight: 500;
  color: var(--fg-primary);
  margin-bottom: 2px;
}
.Banner_desc {
  color: var(--fg-secondary);
}
.Banner_actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
  align-items: center;
}
.Banner_neutral {
  background: var(--bg-subtle);
  border-color: var(--border-subtle);
}
.Banner_neutral .Banner_desc,
.Banner_neutral .Banner_content {
  color: var(--fg-secondary);
}
.Banner_info {
  background: var(--info-soft);
  border-color: var(--info-border);
}
.Banner_info .Banner_icon {
  color: var(--info-soft-fg);
}
.Banner_success {
  background: var(--success-soft);
  border-color: var(--success-border);
}
.Banner_success .Banner_icon {
  color: var(--success-soft-fg);
}
.Banner_warning {
  background: var(--warning-soft);
  border-color: var(--warning-border);
}
.Banner_warning .Banner_icon {
  color: var(--warning-soft-fg);
}
.Banner_danger {
  background: var(--danger-soft);
  border-color: var(--danger-border);
}
.Banner_danger .Banner_icon {
  color: var(--danger-soft-fg);
}

/* packages/admin-ui-v2/src/data-display/EmptyState/EmptyState.module.css */
.EmptyState_root {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 20px;
  gap: 12px;
}
.EmptyState_iconWrap {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--fg-tertiary);
}
.EmptyState_title {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--fg-primary);
  margin: 0;
}
.EmptyState_desc {
  font-size: var(--text-sm);
  color: var(--fg-secondary);
  max-width: 320px;
  margin: 0;
}
.EmptyState_actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

/* packages/admin-ui-v2/src/data-display/ChartPanel/ChartPanel.module.css */
.ChartPanel_panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-base);
}
.ChartPanel_header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-3);
}
.ChartPanel_title {
  margin: 0;
  color: var(--fg-primary);
  font-size: var(--text-sm);
  font-weight: 650;
}
.ChartPanel_summary {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-1);
  color: var(--fg-secondary);
  font-size: var(--text-xs);
}
.ChartPanel_actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.ChartPanel_body {
  flex: 1;
  min-height: 0;
  padding: var(--space-3);
}

/* packages/admin-ui-v2/src/data-display/Chip/Chip.module.css */
.Chip_chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 8px;
  font-size: var(--text-xs);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  background: var(--bg-subtle);
  color: var(--fg-secondary);
  border-color: var(--border-subtle);
}
.Chip_toneNeutral {
  background: var(--bg-subtle);
  color: var(--fg-secondary);
  border-color: var(--border-subtle);
}
.Chip_toneAccent {
  background: var(--accent-soft);
  color: var(--accent-soft-fg);
  border-color: transparent;
}
.Chip_toneSuccess {
  background: var(--success-soft);
  color: var(--success-soft-fg);
  border-color: transparent;
}
.Chip_toneWarning {
  background: var(--warning-soft);
  color: var(--warning-soft-fg);
  border-color: transparent;
}
.Chip_toneDanger {
  background: var(--danger-soft);
  color: var(--danger-soft-fg);
  border-color: transparent;
}
.Chip_toneInfo {
  background: var(--info-soft);
  color: var(--info-soft-fg);
  border-color: transparent;
}
.Chip_outline {
  background: transparent;
  border-color: currentColor;
}
.Chip_close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: 0.6;
  color: inherit;
  padding: 0;
}
.Chip_close:hover {
  opacity: 1;
  background: var(--bg-emphasis);
}
.Chip_close:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  opacity: 1;
}

/* packages/admin-ui-v2/src/data-display/ErrorState/ErrorState.module.css */
.ErrorState_root {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 20px;
  gap: 12px;
}
.ErrorState_iconWrap {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--danger-soft);
  border: 1px solid var(--danger-border);
  border-radius: var(--radius-md);
  color: var(--danger-soft-fg);
}
.ErrorState_title {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--fg-primary);
  margin: 0;
}
.ErrorState_desc {
  font-size: var(--text-sm);
  color: var(--fg-secondary);
  max-width: 360px;
  margin: 0;
}
.ErrorState_actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

/* packages/admin-ui-v2/src/data-display/Funnel/Funnel.module.css */
.Funnel_root {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.Funnel_stage {
  display: grid;
  grid-template-columns: 130px 1fr 80px;
  align-items: center;
  gap: 10px;
}
.Funnel_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.Funnel_name {
  font-size: var(--text-sm);
  color: var(--fg-secondary);
  font-weight: 500;
}
.Funnel_count {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--fg-tertiary);
  background: var(--bg-subtle);
  padding: 1px 6px;
  border-radius: var(--radius-full);
}
.Funnel_barWrap {
  height: 22px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}
.Funnel_bar {
  height: 100%;
  border-radius: var(--radius-sm);
  transition: width 0.3s ease;
  min-width: 6%;
  background: var(--accent-bg);
}
.Funnel_value {
  font-size: var(--text-xs);
  color: var(--fg-secondary);
  text-align: right;
  font-weight: 500;
}

/* packages/admin-ui-v2/src/data-display/HealthItem/HealthItem.module.css */
.HealthItem_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-width: 0;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  padding: var(--space-2) var(--space-3);
}
.HealthItem_labelGroup {
  display: flex;
  flex-direction: column;
  gap: var(--space-0_5);
  min-width: 0;
}
.HealthItem_label {
  min-width: 0;
  color: var(--fg-secondary);
  font-size: var(--text-sm);
}
.HealthItem_subLabel {
  min-width: 0;
  color: var(--fg-tertiary);
  font-size: var(--text-xs);
}
.HealthItem_value {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1_5);
  white-space: nowrap;
  color: var(--fg-primary);
  font-size: var(--text-sm);
  font-weight: 650;
}
.HealthItem_dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--neutral-soft-fg);
}
.HealthItem_success .HealthItem_dot {
  background: var(--success-bg);
}
.HealthItem_warning .HealthItem_dot {
  background: var(--warning-bg);
}
.HealthItem_danger .HealthItem_dot,
.HealthItem_error .HealthItem_dot {
  background: var(--danger-bg);
}
.HealthItem_info .HealthItem_dot {
  background: var(--info-bg);
}

/* packages/admin-ui-v2/src/data-display/KpiCard/KpiCard.module.css */
.KpiCard_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.KpiCard_kpi {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.KpiCard_label {
  font-size: var(--text-xs);
  color: var(--fg-tertiary);
  font-weight: 500;
  margin: 0;
}
.KpiCard_valRow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.KpiCard_val {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--fg-primary);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
}
.KpiCard_unit {
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--fg-secondary);
}
.KpiCard_spark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.KpiCard_foot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
}
.KpiCard_delta {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: var(--radius-sm);
  font-size: var(--text-2xs);
}
.KpiCard_deltaUp {
  color: var(--success-soft-fg);
  background: var(--success-soft);
}
.KpiCard_deltaDown {
  color: var(--danger-soft-fg);
  background: var(--danger-soft);
}
.KpiCard_deltaFlat {
  color: var(--fg-tertiary);
  background: var(--bg-subtle);
}
.KpiCard_trend {
  color: var(--fg-tertiary);
  font-size: var(--text-xs);
}
.KpiCard_sub {
  color: var(--fg-tertiary);
  font-size: var(--text-xs);
}
.KpiCard_stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.KpiCard_statLabel {
  font-size: var(--text-2xs);
  color: var(--fg-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  margin: 0;
}
.KpiCard_statValue {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--fg-primary);
  margin: 0;
}
.KpiCard_statSub {
  font-size: var(--text-xs);
  color: var(--fg-tertiary);
  margin: 0;
}
.KpiCard_statValueGreen {
  color: var(--success-bg);
}
.KpiCard_statValueRed {
  color: var(--danger-bg);
}
.KpiCard_statValueBlue {
  color: var(--accent-fg);
}
.KpiCard_statValueOrange {
  color: var(--warning-bg);
}

/* packages/admin-ui-v2/src/data-display/KeyValueList/KeyValueList.module.css */
.KeyValueList_list {
  display: grid;
  gap: var(--space-2);
  margin: 0;
}
.KeyValueList_horizontal .KeyValueList_item {
  grid-template-columns: var(--label-width, 120px) minmax(0, 1fr);
}
.KeyValueList_item {
  display: grid;
  gap: var(--space-1);
}
.KeyValueList_label {
  color: var(--fg-tertiary);
  font-size: var(--text-xs);
  line-height: var(--leading-tight);
}
.KeyValueList_value {
  margin: 0;
  color: var(--fg-primary);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  min-width: 0;
}
.KeyValueList_copyable {
  cursor: pointer;
}

/* packages/admin-ui-v2/src/data-display/PhotoGallery/PhotoGallery.module.css */
.PhotoGallery_root {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.PhotoGallery_hero {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      var(--accent-bg),
      var(--accent-bg-active));
  display: flex;
  align-items: center;
  justify-content: center;
}
.PhotoGallery_heroImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.PhotoGallery_heroPlaceholder {
  color: var(--fg-on-accent);
  opacity: 0.6;
  font-size: var(--text-sm);
}
.PhotoGallery_thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 6px;
}
.PhotoGallery_thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-subtle);
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  display: block;
  transition: border-color var(--duration-fast);
}
.PhotoGallery_thumb:hover {
  border-color: var(--border-strong);
}
.PhotoGallery_thumb:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.PhotoGallery_thumbActive {
  border-color: var(--accent-bg);
}
.PhotoGallery_thumbImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.PhotoGallery_counter {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: var(--scrim);
  color: var(--fg-on-accent);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  font-feature-settings: "tnum";
  pointer-events: none;
}

/* packages/admin-ui-v2/src/data-display/ProgressBar/ProgressBar.module.css */
.ProgressBar_track {
  position: relative;
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: var(--radius-full);
  background: var(--bg-muted);
}
.ProgressBar_fill {
  height: 100%;
  border-radius: inherit;
  background: var(--accent-bg);
  transition: width var(--duration-base) var(--ease-out);
}
.ProgressBar_success {
  background: var(--success-bg);
}
.ProgressBar_warning {
  background: var(--warning-bg);
}
.ProgressBar_danger,
.ProgressBar_error {
  background: var(--danger-bg);
}
.ProgressBar_info {
  background: var(--info-bg);
}

/* packages/admin-ui-v2/src/data-display/ServiceList/ServiceList.module.css */
.ServiceList_list {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.ServiceList_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-width: 0;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  padding: var(--space-2) var(--space-3);
}
.ServiceList_main {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
}
.ServiceList_label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--fg-primary);
  font-size: var(--text-sm);
  font-weight: 600;
}
.ServiceList_meta {
  color: var(--fg-tertiary);
  font-size: var(--text-xs);
}

/* packages/admin-ui-v2/src/data-display/StatsRow/StatsRow.module.css */
.StatsRow_root {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-3);
}
.StatsRow_item {
  min-width: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-base);
  padding: var(--space-4);
}
.StatsRow_compact .StatsRow_item {
  padding: var(--space-3);
}
.StatsRow_itemLabel {
  display: block;
  color: var(--fg-tertiary);
  font-size: var(--text-xs);
  line-height: var(--leading-tight);
}
.StatsRow_itemValue {
  display: block;
  margin-top: var(--space-1);
  color: var(--fg-primary);
  font-size: var(--text-xl);
  font-weight: 650;
  line-height: var(--leading-tight);
}
.StatsRow_itemSub {
  display: block;
  margin-top: var(--space-1);
  color: var(--fg-secondary);
  font-size: var(--text-xs);
}
.StatsRow_variantSuccess {
  border-color: var(--success-border);
  background: var(--success-soft);
}
.StatsRow_variantWarning {
  border-color: var(--warning-border);
  background: var(--warning-soft);
}
.StatsRow_variantError {
  border-color: var(--danger-border);
  background: var(--danger-soft);
}
.StatsRow_variantInfo {
  border-color: var(--info-border);
  background: var(--info-soft);
}
.StatsRow_variantMuted {
  background: var(--bg-subtle);
}
.StatsRow_loading .StatsRow_itemValue {
  min-height: 1.25em;
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
  color: transparent;
}

/* packages/admin-ui-v2/src/data-display/StatusIndicator/StatusIndicator.module.css */
.StatusIndicator_indicator {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1_5);
  color: var(--fg-secondary);
  font-size: var(--text-sm);
}
.StatusIndicator_dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--neutral-soft-fg);
}
.StatusIndicator_success .StatusIndicator_dot,
.StatusIndicator_online .StatusIndicator_dot {
  background: var(--success-bg);
}
.StatusIndicator_warning .StatusIndicator_dot {
  background: var(--warning-bg);
}
.StatusIndicator_danger .StatusIndicator_dot,
.StatusIndicator_error .StatusIndicator_dot,
.StatusIndicator_offline .StatusIndicator_dot {
  background: var(--danger-bg);
}
.StatusIndicator_info .StatusIndicator_dot {
  background: var(--info-bg);
}

/* packages/admin-ui-v2/src/data-display/Table/Table.module.css */
.Table_wrap {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-base);
}
.Table_table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-base);
}
.Table_table thead th {
  text-align: left;
  font-weight: 500;
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  color: var(--fg-tertiary);
  text-transform: uppercase;
  padding: 8px var(--row-pad-x);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
  white-space: nowrap;
  height: 32px;
}
.Table_table tbody td {
  padding: 0 var(--row-pad-x);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--row-h);
  color: var(--fg-primary);
  vertical-align: middle;
  white-space: nowrap;
}
.Table_table tbody tr:last-child td {
  border-bottom: none;
}
.Table_table tbody tr:hover {
  background: var(--bg-subtle);
}
.Table_table tbody tr.Table_selected {
  background: var(--accent-soft);
}
.Table_num {
  font-family: var(--font-mono);
  font-feature-settings: "tnum";
  text-align: right;
}
.Table_muted {
  color: var(--fg-secondary);
}
.Table_colCheckbox {
  width: 32px;
  padding: 0 0 0 12px;
}
.Table_sortable {
  cursor: pointer;
  user-select: none;
}
.Table_sortable:hover {
  color: var(--fg-secondary);
}
.Table_sortIcon {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  vertical-align: middle;
  opacity: 0.6;
}

/* packages/admin-ui-v2/src/data-display/Timeline/Timeline.module.css */
.Timeline_root {
  position: relative;
  padding: 6px 0;
}
.Timeline_root::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--border-subtle);
}
.Timeline_row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 8px 0;
  position: relative;
  isolation: isolate;
}
.Timeline_icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-secondary);
  position: relative;
}
.Timeline_iconSuccess {
  color: var(--success-soft-fg);
  border-color: var(--success-border);
  background: var(--success-soft);
}
.Timeline_iconWarning {
  color: var(--warning-soft-fg);
  border-color: var(--warning-border);
  background: var(--warning-soft);
}
.Timeline_iconDanger {
  color: var(--danger-soft-fg);
  border-color: var(--danger-border);
  background: var(--danger-soft);
}
.Timeline_iconInfo {
  color: var(--info-soft-fg);
  border-color: var(--info-border);
  background: var(--info-soft);
}
.Timeline_iconAccent {
  color: var(--accent-soft-fg);
  border-color: var(--accent-border);
  background: var(--accent-soft);
}
.Timeline_card {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 10px;
}
.Timeline_head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.Timeline_who {
  font-size: var(--text-sm);
  color: var(--fg-primary);
  font-weight: 500;
}
.Timeline_time {
  font-size: var(--text-2xs);
  color: var(--fg-tertiary);
}
.Timeline_body {
  font-size: var(--text-sm);
  color: var(--fg-secondary);
  margin-top: 4px;
  line-height: 1.5;
}
.Timeline_detail {
  margin-top: 8px;
  padding: 6px 8px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  color: var(--fg-secondary);
  line-height: 1.5;
}

/* packages/admin-ui-v2/src/forms/Combobox/Combobox.module.css */
.Combobox_trigger {
  width: 100%;
  height: var(--control-h-md);
  padding: 0 30px 0 10px;
  background: var(--bg-base);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  text-align: left;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
  position: relative;
}
.Combobox_trigger:hover:not(:disabled) {
  border-color: var(--border-strong);
}
.Combobox_trigger:focus-visible,
.Combobox_trigger[data-state=open] {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: var(--ring);
}
.Combobox_trigger:disabled {
  background: var(--bg-subtle);
  color: var(--fg-disabled);
  cursor: not-allowed;
}
.Combobox_triggerLabel {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.Combobox_triggerPlaceholder {
  color: var(--fg-tertiary);
}
.Combobox_triggerChevron {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--fg-tertiary);
  pointer-events: none;
}
.Combobox_popover {
  background: var(--bg-base);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  width: var(--radix-popover-trigger-width, 260px);
  overflow: hidden;
  z-index: var(--z-popover);
  outline: none;
}
.Combobox_search {
  padding: 8px;
  border-bottom: 1px solid var(--border-subtle);
}
.Combobox_searchInput {
  width: 100%;
  height: 26px;
  padding: 0 8px;
  background: var(--bg-subtle);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  outline: none;
}
.Combobox_list {
  padding: 4px;
  max-height: 220px;
  overflow: auto;
}
.Combobox_item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: var(--radius-xs);
  font-size: var(--text-sm);
  color: var(--fg-primary);
  cursor: pointer;
  outline: none;
}
.Combobox_item[data-selected=true],
.Combobox_item:hover {
  background: var(--bg-subtle);
}
.Combobox_item[data-disabled=true] {
  color: var(--fg-disabled);
  cursor: not-allowed;
}
.Combobox_check {
  margin-left: auto;
  color: var(--accent-fg);
  display: inline-flex;
  opacity: 0;
}
.Combobox_itemSelected .Combobox_check {
  opacity: 1;
}
.Combobox_empty {
  padding: 16px 8px;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--fg-tertiary);
}
.Combobox_section {
  font-size: var(--text-2xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-tertiary);
  padding: 6px 8px 4px;
  font-weight: 500;
}

/* packages/admin-ui-v2/src/forms/DatePicker/DatePicker.module.css */
.DatePicker_root {
  box-sizing: border-box;
  position: relative;
  background: var(--bg-base);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 12px;
  width: 280px;
  max-width: 100%;
}
.DatePicker_months {
  display: block;
  max-width: 100%;
}
.DatePicker_month {
  width: 100%;
  min-width: 0;
}
.DatePicker_caption {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--control-h-sm);
  padding: 0 calc(var(--control-h-sm) + 8px);
  margin-bottom: 8px;
}
.DatePicker_captionLabel {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--fg-primary);
}
.DatePicker_nav {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.DatePicker_navButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--control-h-sm);
  height: var(--control-h-sm);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--fg-primary);
  cursor: pointer;
  pointer-events: auto;
}
.DatePicker_navButton:hover:not(:disabled) {
  background: var(--bg-subtle);
}
.DatePicker_navButton:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.DatePicker_navButton:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.DatePicker_weekdays {
  display: table-row;
}
.DatePicker_weekday {
  width: calc(100% / 7);
  font-size: var(--text-2xs);
  color: var(--fg-tertiary);
  text-align: center;
  padding: 4px 0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.DatePicker_grid {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 2px;
}
.DatePicker_weeks {
  width: 100%;
}
.DatePicker_week {
  width: 100%;
}
.DatePicker_dayCell {
  width: calc(100% / 7);
  padding: 0;
}
.DatePicker_day {
  width: 100%;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-family: var(--font-mono);
  border-radius: var(--radius-xs);
  cursor: pointer;
  color: var(--fg-primary);
  background: transparent;
  border: none;
  padding: 0;
}
.DatePicker_day:hover:not(:disabled) {
  background: var(--bg-subtle);
}
.DatePicker_day:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.DatePicker_dayOutside {
  color: var(--fg-disabled);
}
.DatePicker_dayDisabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.DatePicker_dayToday {
  color: var(--accent-fg);
  font-weight: 600;
}
.DatePicker_daySelected {
  background: var(--accent-bg);
  color: var(--fg-on-accent);
  font-weight: 500;
}
.DatePicker_daySelected:hover {
  background: var(--accent-bg-hover);
}
.DatePicker_dayInRange {
  background: var(--accent-soft);
  color: var(--accent-soft-fg);
  border-radius: 0;
}
.DatePicker_dayRangeStart {
  border-top-left-radius: var(--radius-xs);
  border-bottom-left-radius: var(--radius-xs);
}
.DatePicker_dayRangeEnd {
  border-top-right-radius: var(--radius-xs);
  border-bottom-right-radius: var(--radius-xs);
}

/* packages/admin-ui-v2/src/forms/FileUpload/FileUpload.module.css */
.FileUpload_dropzone {
  border: 1.5px dashed var(--border-default);
  border-radius: var(--radius-md);
  padding: 20px;
  background: var(--bg-subtle);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color var(--duration-fast), background var(--duration-fast);
  width: 100%;
  color: var(--fg-secondary);
}
.FileUpload_dropzone:hover {
  border-color: var(--accent-bg);
  background: var(--accent-soft);
}
.FileUpload_dropzone:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.FileUpload_dragActive {
  border-color: var(--accent-bg);
  background: var(--accent-soft);
  color: var(--accent-soft-fg);
}
.FileUpload_parsing {
  border-style: solid;
  border-color: var(--accent-border);
  background: var(--accent-soft);
}
.FileUpload_input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}
.FileUpload_iconWrap {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: var(--bg-emphasis);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-secondary);
}
.FileUpload_dragActive .FileUpload_iconWrap,
.FileUpload_parsing .FileUpload_iconWrap {
  background: var(--bg-base);
  color: var(--accent-fg);
}
.FileUpload_primary {
  font-size: var(--text-sm);
  color: var(--fg-primary);
}
.FileUpload_primary strong {
  font-weight: 600;
}
.FileUpload_secondary {
  font-size: var(--text-xs);
  color: var(--fg-tertiary);
}
.FileUpload_list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.FileUpload_file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-base);
}
.FileUpload_fileIcon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-secondary);
  flex-shrink: 0;
}
.FileUpload_fileMeta {
  flex: 1;
  min-width: 0;
}
.FileUpload_fileName {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--fg-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.FileUpload_fileSize {
  font-size: var(--text-xs);
  color: var(--fg-tertiary);
  font-family: var(--font-mono);
}
.FileUpload_removeBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--control-h-sm);
  height: var(--control-h-sm);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--fg-tertiary);
  cursor: pointer;
}
.FileUpload_removeBtn:hover {
  background: var(--bg-subtle);
  color: var(--fg-primary);
}
.FileUpload_removeBtn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

/* packages/admin-ui-v2/src/forms/FormLayout/FormLayout.module.css */
.FormLayout_layout {
  display: grid;
  gap: var(--space-5);
}
.FormLayout_dialog {
  min-width: 0;
}
.FormLayout_actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
  padding-top: var(--space-2);
}
.FormLayout_section {
  display: grid;
  gap: var(--space-4);
}
.FormLayout_sectionHeader {
  display: grid;
  gap: var(--space-1);
}
.FormLayout_sectionTitle {
  margin: 0;
  color: var(--fg-primary);
  font-size: var(--text-sm);
  font-weight: 650;
  line-height: var(--leading-tight);
}
.FormLayout_sectionDescription {
  margin: 0;
  color: var(--fg-secondary);
  font-size: var(--text-xs);
  line-height: var(--leading-normal);
}
.FormLayout_split {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  padding: 26px 0 28px;
}
.FormLayout_split + .FormLayout_split {
  border-top: 1px solid var(--border-subtle);
}
.FormLayout_split .FormLayout_sectionTitle {
  font-size: var(--text-md);
  font-weight: 600;
}
.FormLayout_splitBody {
  display: grid;
  gap: var(--space-4);
  align-content: start;
  min-width: 0;
}
@media (max-width: 760px) {
  .FormLayout_split {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
    padding: 20px 0 22px;
  }
}

/* packages/admin-ui-v2/src/forms/SearchInput/SearchInput.module.css */
.SearchInput_root {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.SearchInput_input {
  width: 100%;
  height: var(--control-h-md);
  padding: 0 32px 0 32px;
  background: var(--bg-base);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}
.SearchInput_input::placeholder {
  color: var(--fg-tertiary);
}
.SearchInput_input:hover:not(:disabled) {
  border-color: var(--border-strong);
}
.SearchInput_input:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: var(--ring);
}
.SearchInput_input:disabled {
  background: var(--bg-subtle);
  color: var(--fg-disabled);
  cursor: not-allowed;
}
.SearchInput_icon {
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--fg-tertiary);
  display: flex;
  pointer-events: none;
}
.SearchInput_trailing {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}
.SearchInput_clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-xs);
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--fg-tertiary);
  padding: 0;
}
.SearchInput_clear:hover {
  background: var(--bg-subtle);
  color: var(--fg-primary);
}
.SearchInput_clear:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

/* packages/admin-ui-v2/src/forms/SearchSelectField/SearchSelectField.module.css */
.SearchSelectField_root {
  position: relative;
  display: grid;
  gap: var(--space-2);
}
.SearchSelectField_selectedNotice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.SearchSelectField_selectedCopy,
.SearchSelectField_optionCopy {
  display: grid;
  gap: var(--space-0_5);
  min-width: 0;
}
.SearchSelectField_selectedLabel,
.SearchSelectField_optionLabel {
  color: var(--fg-primary);
  font-size: var(--text-sm);
  font-weight: 600;
}
.SearchSelectField_selectedDescription,
.SearchSelectField_optionDescription {
  color: var(--fg-tertiary);
  font-size: var(--text-xs);
}
.SearchSelectField_dropdown {
  position: absolute;
  z-index: var(--z-popover);
  top: calc(100% + var(--space-1));
  left: 0;
  right: 0;
}
.SearchSelectField_dropdownSurface {
  display: grid;
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-base);
  box-shadow: var(--shadow-md);
  padding: var(--space-1);
}
.SearchSelectField_option {
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  padding: var(--space-2) var(--space-3);
  text-align: left;
}
.SearchSelectField_option:hover {
  background: var(--bg-subtle);
}
.SearchSelectField_status {
  color: var(--fg-tertiary);
  font-size: var(--text-sm);
  padding: var(--space-3);
}

/* packages/admin-ui-v2/src/forms/Slider/Slider.module.css */
.Slider_root {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.Slider_headerRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.Slider_label {
  font-size: var(--text-xs);
  color: var(--fg-tertiary);
}
.Slider_value {
  font-family: var(--font-mono);
  font-feature-settings: "tnum";
  font-size: var(--text-sm);
  color: var(--fg-primary);
}
.Slider_slider {
  position: relative;
  display: flex;
  align-items: center;
  user-select: none;
  touch-action: none;
  width: 100%;
  height: 14px;
}
.Slider_track {
  position: relative;
  flex-grow: 1;
  height: 4px;
  background: var(--bg-emphasis);
  border-radius: var(--radius-full);
}
.Slider_range {
  position: absolute;
  height: 100%;
  background: var(--accent-bg);
  border-radius: var(--radius-full);
}
.Slider_thumb {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-xs);
  cursor: grab;
  transition: transform var(--duration-fast);
}
.Slider_thumb:hover {
  transform: scale(1.1);
}
.Slider_thumb:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.Slider_thumb[data-disabled] {
  cursor: not-allowed;
  opacity: 0.5;
}

/* packages/admin-ui-v2/src/forms/TagInput/TagInput.module.css */
.TagInput_root {
  width: 100%;
  min-height: var(--control-h-md);
  height: auto;
  padding: 4px;
  background: var(--bg-base);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}
.TagInput_root:hover {
  border-color: var(--border-strong);
}
.TagInput_rootFocused {
  border-color: var(--border-focus);
  box-shadow: var(--ring);
}
.TagInput_rootDisabled {
  background: var(--bg-subtle);
  cursor: not-allowed;
  opacity: 0.7;
}
.TagInput_rootInvalid {
  border-color: var(--danger-bg);
}
.TagInput_input {
  flex: 1;
  min-width: 80px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  padding: 0 4px;
  height: 22px;
}
.TagInput_input::placeholder {
  color: var(--fg-tertiary);
}
.TagInput_input:disabled {
  cursor: not-allowed;
}

/* packages/admin-ui-v2/src/layout/FieldGrid/FieldGrid.module.css */
.FieldGrid_grid {
  display: grid;
  gap: 16px 12px;
  grid-template-columns: repeat(var(--field-grid-cols, 2), minmax(0, 1fr));
}
.FieldGrid_cols1 {
  --field-grid-cols: 1;
}
.FieldGrid_cols2 {
  --field-grid-cols: 2;
}
.FieldGrid_cols3 {
  --field-grid-cols: 3;
}
.FieldGrid_cols4 {
  --field-grid-cols: 4;
}
.FieldGrid_span2 {
  grid-column: span 2 / span 2;
}
.FieldGrid_span3 {
  grid-column: span 3 / span 3;
}
.FieldGrid_span4 {
  grid-column: span 4 / span 4;
}
.FieldGrid_spanFull {
  grid-column: 1 / -1;
}

/* packages/admin-ui-v2/src/layout/Grid/Grid.module.css */
.Grid_grid {
  display: grid;
}
.Grid_full {
  width: 100%;
}

/* packages/admin-ui-v2/src/layout/InsetPanel/InsetPanel.module.css */
.InsetPanel_panel {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  padding: var(--space-4);
}
.InsetPanel_default {
  background: var(--bg-base);
}
.InsetPanel_muted {
  background: var(--bg-subtle);
}
.InsetPanel_info {
  border-color: var(--info-border);
  background: var(--info-soft);
}
.InsetPanel_warning {
  border-color: var(--warning-border);
  background: var(--warning-soft);
}
.InsetPanel_error {
  border-color: var(--danger-border);
  background: var(--danger-soft);
}
.InsetPanel_header {
  display: grid;
  gap: var(--space-1);
}
.InsetPanel_eyebrow {
  margin: 0;
  color: var(--fg-tertiary);
  font-size: var(--text-2xs);
  font-weight: 700;
  text-transform: uppercase;
}
.InsetPanel_title {
  margin: 0;
  color: var(--fg-primary);
  font-size: var(--text-sm);
  font-weight: 650;
}
.InsetPanel_description {
  margin: 0;
  color: var(--fg-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

/* packages/admin-ui-v2/src/layout/Inline/Inline.module.css */
.Inline_inline {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.Inline_alignStart {
  align-items: flex-start;
}
.Inline_alignCenter {
  align-items: center;
}
.Inline_alignEnd {
  align-items: flex-end;
}
.Inline_alignBaseline {
  align-items: baseline;
}
.Inline_alignStretch {
  align-items: stretch;
}
.Inline_justifyStart {
  justify-content: flex-start;
}
.Inline_justifyCenter {
  justify-content: center;
}
.Inline_justifyEnd {
  justify-content: flex-end;
}
.Inline_justifyBetween {
  justify-content: space-between;
}
.Inline_wrap {
  flex-wrap: wrap;
}
.Inline_full {
  width: 100%;
}

/* packages/admin-ui-v2/src/layout/ScrollArea/ScrollArea.module.css */
.ScrollArea_root {
  position: relative;
  overflow: hidden;
}
.ScrollArea_viewport {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.ScrollArea_scrollbar {
  display: flex;
  user-select: none;
  touch-action: none;
  padding: 2px;
  background: transparent;
  transition: background var(--duration-fast);
}
.ScrollArea_scrollbar:hover {
  background: var(--bg-subtle);
}
.ScrollArea_scrollbar[data-orientation=vertical] {
  width: 10px;
}
.ScrollArea_scrollbar[data-orientation=horizontal] {
  flex-direction: column;
  height: 10px;
}
.ScrollArea_thumb {
  flex: 1;
  background: var(--border-strong);
  border-radius: 6px;
  position: relative;
}
.ScrollArea_thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  min-width: 28px;
  min-height: 28px;
}
.ScrollArea_corner {
  background: transparent;
}

/* packages/admin-ui-v2/src/layout/Stack/Stack.module.css */
.Stack_stack {
  display: flex;
  flex-direction: column;
}
.Stack_alignStart {
  align-items: flex-start;
}
.Stack_alignCenter {
  align-items: center;
}
.Stack_alignEnd {
  align-items: flex-end;
}
.Stack_alignStretch {
  align-items: stretch;
}
.Stack_justifyStart {
  justify-content: flex-start;
}
.Stack_justifyCenter {
  justify-content: center;
}
.Stack_justifyEnd {
  justify-content: flex-end;
}
.Stack_justifyBetween {
  justify-content: space-between;
}
.Stack_full {
  width: 100%;
}

/* packages/admin-ui-v2/src/layout/Surface/Surface.module.css */
.Surface_root {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.Surface_tonalBase {
  background: var(--bg-base);
}
.Surface_tonalSubtle {
  background: var(--bg-subtle);
}
.Surface_tonalMuted {
  background: var(--bg-muted);
}
.Surface_tonalEmphasis {
  background: var(--bg-emphasis);
}
.Surface_tonalCanvas {
  background: var(--bg-canvas);
}
.Surface_borderless {
  border-color: transparent;
}
.Surface_elevated {
  box-shadow: var(--shadow-sm);
}
.Surface_padNone {
  padding: 0;
}
.Surface_padSm {
  padding: 8px;
}
.Surface_padMd {
  padding: 12px;
}
.Surface_padLg {
  padding: 16px;
}
.Surface_padXl {
  padding: 24px;
}
.Surface_radiusSm {
  border-radius: var(--radius-sm);
}
.Surface_radiusMd {
  border-radius: var(--radius-md);
}
.Surface_radiusLg {
  border-radius: var(--radius-lg);
}
.Surface_radiusXl {
  border-radius: var(--radius-xl);
}

/* packages/admin-ui-v2/src/navigation/Breadcrumb/Breadcrumb.module.css */
.Breadcrumb_root {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  color: var(--fg-tertiary);
  list-style: none;
  margin: 0;
  padding: 0;
}
.Breadcrumb_item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.Breadcrumb_link {
  color: var(--fg-secondary);
  text-decoration: none;
  padding: 2px 4px;
  border-radius: 3px;
  cursor: pointer;
  background: transparent;
  border: none;
  font: inherit;
}
.Breadcrumb_link:hover {
  color: var(--fg-primary);
  background: var(--bg-subtle);
}
.Breadcrumb_link:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.Breadcrumb_current {
  color: var(--fg-primary);
  padding: 2px 4px;
  font-weight: 500;
}
.Breadcrumb_sep {
  display: inline-flex;
  align-items: center;
  opacity: 0.5;
  pointer-events: none;
}

/* packages/admin-ui-v2/src/navigation/ModuleSubnav/ModuleSubnav.module.css */
.ModuleSubnav_root {
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0;
  margin: 0;
  list-style: none;
  overflow-x: auto;
}
.ModuleSubnav_root li {
  flex: 0 0 auto;
}
.ModuleSubnav_item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  font-size: var(--text-base);
  color: var(--fg-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  border-bottom: 1.5px solid transparent;
  margin-bottom: -1px;
  font-family: inherit;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--duration-fast), border-color var(--duration-fast);
}
.ModuleSubnav_item:hover {
  color: var(--fg-primary);
}
.ModuleSubnav_item:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius-sm);
}
.ModuleSubnav_active {
  color: var(--fg-primary);
  border-bottom-color: var(--accent-bg);
  font-weight: 500;
}
.ModuleSubnav_disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.ModuleSubnav_count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: var(--text-2xs);
  font-weight: 500;
  background: var(--bg-emphasis);
  color: var(--fg-secondary);
  border-radius: var(--radius-sm);
}
.ModuleSubnav_active .ModuleSubnav_count {
  background: var(--accent-soft);
  color: var(--accent-soft-fg);
}
.ModuleSubnav_vertical {
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  border-bottom: 0;
  overflow: visible;
}
.ModuleSubnav_vertical li {
  width: 100%;
}
.ModuleSubnav_vertical .ModuleSubnav_item {
  width: 100%;
  justify-content: flex-start;
  height: 34px;
  padding: 0 10px;
  border-bottom: 0;
  border-radius: var(--radius-sm);
  margin-bottom: 0;
}
.ModuleSubnav_vertical .ModuleSubnav_active {
  background: var(--bg-subtle);
  border-bottom-color: transparent;
}

/* packages/admin-ui-v2/src/navigation/Pagination/Pagination.module.css */
.Pagination_root {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.Pagination_btn {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--fg-secondary);
  cursor: pointer;
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.Pagination_btn:hover:not(:disabled) {
  background: var(--bg-subtle);
  color: var(--fg-primary);
}
.Pagination_btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.Pagination_btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.Pagination_current {
  background: var(--bg-emphasis);
  color: var(--fg-primary);
  font-weight: 500;
}
.Pagination_ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  color: var(--fg-tertiary);
}

/* packages/admin-ui-v2/src/navigation/Stepper/Stepper.module.css */
.Stepper_row {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.Stepper_step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.Stepper_step + .Stepper_step::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--border-default);
  margin: 0 6px;
}
.Stepper_dot {
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xs);
  font-weight: 600;
  background: var(--bg-subtle);
  color: var(--fg-tertiary);
  border: 1px solid var(--border-default);
}
.Stepper_label {
  font-size: var(--text-xs);
  color: var(--fg-tertiary);
}
.Stepper_done .Stepper_dot {
  background: var(--success-bg);
  color: var(--fg-on-accent);
  border-color: var(--success-bg);
}
.Stepper_done .Stepper_label {
  color: var(--fg-secondary);
}
.Stepper_current .Stepper_dot {
  background: var(--accent-bg);
  color: var(--fg-on-accent);
  border-color: var(--accent-bg);
  box-shadow: 0 0 0 3px oklch(from var(--accent-bg) l c h / 0.18);
}
.Stepper_current .Stepper_label {
  color: var(--fg-primary);
  font-weight: 500;
}

/* packages/admin-ui-v2/src/navigation/TabNav/TabNav.module.css */
.TabNav_list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  overflow-x: auto;
  border-bottom: 1px solid var(--border-subtle);
}
.TabNav_pills {
  border-bottom: none;
  gap: var(--space-0_5);
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-0_5);
}
.TabNav_tab {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--fg-secondary);
  cursor: pointer;
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: var(--leading-tight);
  padding: var(--space-3) var(--space-4);
  white-space: nowrap;
}
.TabNav_tab-sm {
  height: 32px;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-xs);
}
.TabNav_tab-md {
  height: 40px;
}
.TabNav_tab-lg {
  height: 44px;
  font-size: var(--text-base);
}
.TabNav_tab:hover {
  color: var(--fg-primary);
}
.TabNav_active {
  border-bottom-color: var(--accent-bg);
  color: var(--fg-primary);
}
.TabNav_pills .TabNav_tab {
  border-bottom: none;
  border-radius: var(--radius-sm);
}
.TabNav_pills .TabNav_active {
  background: var(--bg-base);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-xs);
}

/* packages/admin-ui-v2/src/patterns/BulkActionBar/BulkActionBar.module.css */
.BulkActionBar_root {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.BulkActionBar_label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--accent-soft-fg);
}
.BulkActionBar_clear {
  font-size: var(--text-sm);
  color: var(--accent-soft-fg);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  font-family: inherit;
}
.BulkActionBar_clear:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius-xs);
}
.BulkActionBar_actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

/* packages/admin-ui-v2/src/patterns/CommandBar/CommandBar.module.css */
.CommandBar_root {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.CommandBar_search {
  flex: 1;
  max-width: 360px;
}
.CommandBar_controls {
  display: flex;
  align-items: center;
  gap: 6px;
}
.CommandBar_actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* packages/admin-ui-v2/src/patterns/ContextRail/ContextRail.module.css */
.ContextRail_root {
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 20px;
  width: 100%;
}
.ContextRail_railHeader {
  display: grid;
  gap: 4px;
}
.ContextRail_railTitle {
  margin: 0;
  color: var(--fg-primary);
  font-size: var(--text-sm);
  font-weight: 650;
}
.ContextRail_railDescription {
  margin: 0;
  color: var(--fg-secondary);
  font-size: var(--text-xs);
}
.ContextRail_contextCard {
  display: grid;
  gap: 4px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-base);
  padding: 12px;
}
.ContextRail_contextLabel {
  color: var(--fg-tertiary);
  font-size: var(--text-2xs);
  font-weight: 650;
  text-transform: uppercase;
}
.ContextRail_contextTitle {
  color: var(--fg-primary);
  font-size: var(--text-sm);
}
.ContextRail_contextMeta {
  color: var(--fg-secondary);
  font-size: var(--text-xs);
}
.ContextRail_section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ContextRail_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ContextRail_title {
  font-size: var(--text-2xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-tertiary);
  font-weight: 600;
  margin: 0;
}
.ContextRail_body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ContextRail_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ContextRail_rowLabel {
  font-size: var(--text-xs);
  color: var(--fg-tertiary);
}
.ContextRail_rowValue {
  font-size: var(--text-sm);
  color: var(--fg-primary);
}

/* packages/admin-ui-v2/src/patterns/EntityTabs/EntityTabs.module.css */
.EntityTabs_list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.EntityTabs_list::-webkit-scrollbar {
  display: none;
}
.EntityTabs_tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  font-size: var(--text-base);
  color: var(--fg-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-family: inherit;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--duration-fast), border-color var(--duration-fast);
}
.EntityTabs_tab:hover {
  color: var(--fg-primary);
}
.EntityTabs_tab:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius-sm);
}
.EntityTabs_tabActive {
  color: var(--fg-primary);
  border-bottom-color: var(--accent-bg);
  font-weight: 500;
}
.EntityTabs_tabDisabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.EntityTabs_count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: var(--text-2xs);
  font-weight: 500;
  background: var(--bg-emphasis);
  color: var(--fg-secondary);
  border-radius: var(--radius-sm);
}
.EntityTabs_tabActive .EntityTabs_count {
  background: var(--accent-soft);
  color: var(--accent-soft-fg);
}

/* packages/admin-ui-v2/src/patterns/FilterBar/FilterBar.module.css */
.FilterBar_root {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.FilterBar_card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-base);
  padding: 10px;
}
.FilterBar_search {
  flex-grow: 0;
}
.FilterBar_searchSm {
  width: 220px;
}
.FilterBar_searchMd {
  width: 280px;
}
.FilterBar_searchLg {
  width: 360px;
}
.FilterBar_filters {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.FilterBar_filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.FilterBar_filterLabel {
  font-size: var(--text-xs);
  color: var(--fg-tertiary);
}
.FilterBar_actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

/* packages/admin-ui-v2/src/patterns/FilterChip/FilterChip.module.css */
.FilterChip_chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  max-width: 220px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-base);
  color: var(--fg-secondary);
  cursor: pointer;
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 400;
  padding: 0 8px;
  white-space: nowrap;
}
.FilterChip_chip:hover {
  border-color: var(--border-strong);
  background: var(--bg-subtle);
}
.FilterChip_chip:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.FilterChip_active {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent-soft-fg);
}
.FilterChip_label {
  color: var(--fg-tertiary);
  overflow: hidden;
  text-overflow: ellipsis;
}
.FilterChip_value {
  border-radius: 3px;
  background: var(--bg-emphasis);
  color: var(--fg-primary);
  font-size: var(--text-xs);
  max-width: 120px;
  overflow: hidden;
  padding: 1px 6px;
  text-overflow: ellipsis;
}
.FilterChip_active .FilterChip_label,
.FilterChip_active .FilterChip_value {
  color: inherit;
}

/* packages/admin-ui-v2/src/patterns/KpiStrip/KpiStrip.module.css */
.KpiStrip_strip {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.KpiStrip_card {
  gap: var(--space-1);
  min-width: 0;
  overflow: hidden;
  padding: var(--space-3);
  position: relative;
}
.KpiStrip_sparkline {
  display: block;
}
@media (max-width: 640px) {
  .KpiStrip_strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 360px) {
  .KpiStrip_strip {
    grid-template-columns: 1fr;
  }
}

/* packages/admin-ui-v2/src/patterns/PageHeader/PageHeader.module.css */
.PageHeader_root {
  background: transparent;
  padding: 12px 0 8px;
}
.PageHeader_row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.PageHeader_meta {
  display: grid;
  gap: var(--space-1);
  min-width: 0;
}
.PageHeader_titleLine {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
}
.PageHeader_title {
  margin: 0;
  color: var(--fg-primary);
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
}
.PageHeader_count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-emphasis);
  color: var(--fg-secondary);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0 6px;
}
.PageHeader_subtitle {
  margin: 0;
  color: var(--fg-secondary);
  font-size: var(--text-base);
  line-height: 1.5;
}
.PageHeader_actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: var(--space-2);
}
@media (max-width: 720px) {
  .PageHeader_row {
    display: grid;
    grid-template-columns: 1fr;
  }
  .PageHeader_actions {
    justify-content: flex-start;
  }
}

/* packages/admin-ui-v2/src/patterns/PageChromeStack/PageChromeStack.module.css */
.PageChromeStack_root {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.PageChromeStack_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.PageChromeStack_left {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.PageChromeStack_right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* packages/admin-ui-v2/src/patterns/PageKpiStrip/PageKpiStrip.module.css */
.PageKpiStrip_strip {
  display: grid;
  grid-template-columns: repeat(var(--kpi-cols, 4), minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}
.PageKpiStrip_cols2 {
  --kpi-cols: 2;
}
.PageKpiStrip_cols3 {
  --kpi-cols: 3;
}
.PageKpiStrip_cols4 {
  --kpi-cols: 4;
}
.PageKpiStrip_cols5 {
  --kpi-cols: 5;
}
.PageKpiStrip_cols6 {
  --kpi-cols: 6;
}
.PageKpiStrip_card {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.PageKpiStrip_label {
  font-size: var(--text-xs);
  color: var(--fg-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
  margin: 0;
}
.PageKpiStrip_value {
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg-primary);
  font-family: var(--font-sans);
  margin: 0;
}
.PageKpiStrip_delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-xs);
  margin: 0;
}
.PageKpiStrip_deltaUp {
  color: var(--success-soft-fg);
}
.PageKpiStrip_deltaDown {
  color: var(--danger-soft-fg);
}
.PageKpiStrip_deltaFlat {
  color: var(--fg-tertiary);
}

/* packages/admin-ui-v2/src/patterns/SavedViewsBar/SavedViewsBar.module.css */
.SavedViewsBar_root {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  flex-wrap: wrap;
}
.SavedViewsBar_list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.SavedViewsBar_item {
  display: inline-flex;
  align-items: center;
}
.SavedViewsBar_view {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 10px;
  font-size: var(--text-sm);
  color: var(--fg-secondary);
  background: var(--bg-subtle);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
  transition: background var(--duration-fast), color var(--duration-fast);
}
.SavedViewsBar_view:hover {
  background: var(--bg-emphasis);
  color: var(--fg-primary);
}
.SavedViewsBar_view:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.SavedViewsBar_viewActive {
  background: var(--bg-base);
  color: var(--fg-primary);
  border-color: var(--border-default);
  font-weight: 500;
}
.SavedViewsBar_view:has(+ .SavedViewsBar_remove) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
  padding-right: 6px;
}
.SavedViewsBar_remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  width: 20px;
  padding: 0;
  font-size: var(--text-md);
  line-height: 1;
  color: var(--fg-tertiary);
  background: var(--bg-subtle);
  border: 1px solid transparent;
  border-top-right-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
  transition: background var(--duration-fast), color var(--duration-fast);
}
.SavedViewsBar_remove:hover {
  background: var(--bg-emphasis);
  color: var(--fg-primary);
}
.SavedViewsBar_remove:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.SavedViewsBar_viewActive + .SavedViewsBar_remove {
  background: var(--bg-base);
  border-color: var(--border-default);
  border-left: none;
}
.SavedViewsBar_actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* packages/admin-ui-v2/src/patterns/SystemMessage/SystemMessage.module.css */
.SystemMessage_shell {
  min-height: 100%;
  width: 100%;
  background: var(--bg-canvas);
  color: var(--fg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.SystemMessage_surface {
  width: min(100%, 460px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-base);
  box-shadow: var(--shadow-sm);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.SystemMessage_brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.SystemMessage_brandLabel {
  color: var(--fg-primary);
  font-size: var(--text-sm);
  font-weight: 650;
}
.SystemMessage_header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.SystemMessage_title {
  margin: 0;
  color: var(--fg-primary);
  font-size: var(--text-2xl);
  font-weight: 650;
  letter-spacing: 0;
}
.SystemMessage_description {
  margin: 0;
  color: var(--fg-secondary);
  font-size: var(--text-sm);
  line-height: 1.55;
}
.SystemMessage_content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.SystemMessage_actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .SystemMessage_shell {
    padding: 18px;
  }
  .SystemMessage_surface {
    padding: 28px;
  }
}

/* packages/admin-ui-v2/src/patterns/ViewSwitcher/ViewSwitcher.module.css */
.ViewSwitcher_root {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  height: 28px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  padding: 2px;
}
.ViewSwitcher_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 30px;
  height: 22px;
  border: 0;
  border-radius: calc(var(--radius-md) - 3px);
  background: transparent;
  color: var(--fg-secondary);
  cursor: pointer;
  font: inherit;
  font-size: var(--text-sm);
  padding: 0 8px;
}
.ViewSwitcher_button:hover {
  color: var(--fg-primary);
}
.ViewSwitcher_button:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.ViewSwitcher_active {
  background: var(--bg-base);
  color: var(--fg-primary);
  box-shadow: var(--shadow-xs);
}
.ViewSwitcher_srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* packages/admin-ui-v2/src/shells/AppShell/AppShell.module.css */
.AppShell_shell {
  --app-shell-sidebar-expanded-w: var(--app-shell-sidebar-w, 240px);
  --app-shell-sidebar-collapsed-w: 64px;
  --app-shell-sidebar-current-w: var(--app-shell-sidebar-expanded-w);
  display: grid;
  grid-template-columns: var(--app-shell-sidebar-current-w) minmax(0, 1fr);
  grid-template-rows: var(--app-shell-topbar-h, 48px) 1fr;
  height: var(--app-shell-height, 100vh);
  min-height: 0;
  min-width: 0;
  width: 100vw;
  max-width: 100vw;
  overflow: hidden;
  background: var(--bg-canvas);
  transition: grid-template-columns var(--duration-base, 220ms) var(--ease-in-out, ease-in-out);
}
@media (prefers-reduced-motion: reduce) {
  .AppShell_shell {
    transition: none;
  }
}
.AppShell_sidebar {
  grid-column: 1;
  grid-row: 1 / -1;
  background: var(--bg-base);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.AppShell_sidebarHeader {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  height: var(--app-shell-topbar-h, 48px);
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}
.AppShell_sidebarBody {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 12px 8px;
}
.AppShell_sidebarFooter {
  border-top: 1px solid var(--border-subtle);
  padding: 8px 12px;
  flex-shrink: 0;
}
.AppShell_topbar {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-base);
}
.AppShell_topbarLeft {
  display: flex;
  align-items: center;
  gap: 8px;
}
.AppShell_topbarCenter {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.AppShell_topbarRight {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}
.AppShell_outlet {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  background: var(--bg-canvas);
}
.AppShell_collapsed {
  --app-shell-sidebar-current-w: var(--app-shell-sidebar-collapsed-w);
}
@media (max-width: 980px) {
  .AppShell_topbar {
    grid-template-columns: 1fr auto;
  }
  .AppShell_topbarCenter {
    display: none;
  }
}

/* packages/admin-ui-v2/src/shells/ConfigShell/ConfigShell.module.css */
.ConfigShell_shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  grid-template-rows: auto auto;
  grid-template-areas: "header header" "nav content";
  column-gap: 32px;
  row-gap: var(--space-5);
  padding: var(--space-6);
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  background: var(--bg-canvas);
}
.ConfigShell_header {
  grid-area: header;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3) var(--space-4);
}
.ConfigShell_headerLead {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.ConfigShell_headerText {
  flex: 1 1 auto;
  min-width: 0;
}
.ConfigShell_exitButton {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-top: 1px;
  color: var(--fg-secondary);
  background: var(--bg-base);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition:
    color var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out),
    background var(--duration-base) var(--ease-out);
}
.ConfigShell_exitButton:hover {
  color: var(--fg-primary);
  border-color: var(--border-strong);
  background: var(--bg-subtle);
}
.ConfigShell_exitButton:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.ConfigShell_chromeActions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.ConfigShell_nav {
  grid-area: nav;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-self: start;
  position: sticky;
  top: var(--space-6);
}
.ConfigShell_navGroup {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ConfigShell_navGroup + .ConfigShell_navGroup {
  margin-top: 16px;
}
.ConfigShell_navGroupLabel {
  margin: 0;
  padding: 4px 10px 6px;
  font-size: var(--text-2xs);
  font-weight: 700;
  color: var(--fg-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ConfigShell_mobileNav {
  display: none;
}
.ConfigShell_mobileNavLabel {
  display: block;
  color: var(--fg-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: 6px;
}
.ConfigShell_navItem {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--fg-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.ConfigShell_navItemBody {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.ConfigShell_navItemBody small {
  color: var(--fg-tertiary);
  font-size: var(--text-xs);
  font-weight: 400;
}
.ConfigShell_navItem:hover {
  background: var(--bg-subtle);
  color: var(--fg-primary);
}
.ConfigShell_navItem:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.ConfigShell_navItemActive {
  background: var(--accent-soft);
  color: var(--fg-primary);
  font-weight: 500;
  box-shadow: inset 2px 0 0 var(--accent-bg);
}
.ConfigShell_navItemActive:hover {
  background: var(--accent-soft);
  color: var(--fg-primary);
}
.ConfigShell_content {
  grid-area: content;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.ConfigShell_contentReader {
  max-width: 880px;
}
.ConfigShell_contentMain {
  flex: 1 1 auto;
  min-width: 0;
}
.ConfigShell_actionBar {
  position: sticky;
  bottom: 0;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-5);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-base);
  box-shadow: var(--shadow-top-sm);
}
.ConfigShell_backLink {
  margin-bottom: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--fg-tertiary);
}
.ConfigShell_backLink a,
.ConfigShell_backLink button {
  color: inherit;
}
.ConfigShell_backLink a:hover,
.ConfigShell_backLink button:hover {
  color: var(--fg-primary);
}
.ConfigShell_eyebrow {
  margin-bottom: var(--space-1);
  color: var(--fg-tertiary);
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ConfigShell_header h1 {
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--fg-primary);
  margin: 0;
}
.ConfigShell_header p {
  margin: var(--space-1) 0 0;
  font-size: var(--text-sm);
  color: var(--fg-secondary);
}
@media (max-width: 760px) {
  .ConfigShell_shell {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }
  .ConfigShell_nav {
    display: none;
    position: static;
  }
  .ConfigShell_mobileNav {
    display: block;
  }
}

/* packages/admin-ui-v2/src/shells/DashboardShell/DashboardShell.module.css */
.DashboardShell_shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  background: var(--bg-canvas);
}
.DashboardShell_chrome {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 8px;
  flex-shrink: 0;
}
.DashboardShell_chromeMain {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.DashboardShell_title {
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fg-primary);
  margin: 0;
}
.DashboardShell_subtitle {
  font-size: var(--text-sm);
  color: var(--fg-secondary);
  margin: 0;
}
.DashboardShell_chromeActions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.DashboardShell_kpis {
  padding: 12px 24px 0;
  flex-shrink: 0;
}
.DashboardShell_toolbar {
  padding: 8px 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.DashboardShell_content {
  padding: 16px 24px 24px;
}
.DashboardShell_shell[data-fit=true] {
  overflow: hidden;
}
.DashboardShell_shell[data-fit=true] .DashboardShell_content {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

/* packages/admin-ui-v2/src/shells/EntityShell/EntityShell.module.css */
.EntityShell_shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  background: var(--bg-canvas);
}
.EntityShell_shell[data-rail=false] {
  grid-template-columns: minmax(0, 1fr);
}
.EntityShell_header {
  grid-column: 1 / -1;
}
.EntityShell_hero {
  grid-column: 1 / -1;
}
.EntityShell_tabs {
  grid-column: 1 / -1;
  padding: 0 24px;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--bg-canvas);
}
.EntityShell_content {
  grid-column: 1;
  grid-row: 4;
  padding: 16px 24px 24px;
}
.EntityShell_rail {
  grid-column: 2;
  grid-row: 4;
  width: 320px;
  border-left: 1px solid var(--border-subtle);
  background: var(--bg-base);
}
.EntityShell_shell[data-fit=true] {
  overflow: hidden;
  grid-template-rows: auto auto auto minmax(0, 1fr);
}
.EntityShell_shell[data-fit=true] .EntityShell_content {
  overflow: auto;
  min-height: 0;
}
.EntityShell_shell[data-fit=true] .EntityShell_rail {
  overflow: auto;
  min-height: 0;
}
.EntityShell_heroRoot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px 16px;
  background: var(--bg-canvas);
}
.EntityShell_heroMain {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.EntityShell_heroTitle {
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg-primary);
  margin: 0;
}
.EntityShell_heroDesc {
  font-size: var(--text-sm);
  color: var(--fg-secondary);
  margin: 0;
}
.EntityShell_heroHighlights {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.EntityShell_heroHighlightLabel {
  font-size: var(--text-xs);
  color: var(--fg-tertiary);
}
.EntityShell_heroHighlightValue {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--fg-primary);
}
.EntityShell_heroActions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.EntityShell_metaPanel {
  display: grid;
  gap: var(--space-3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-base);
  padding: var(--space-3);
}
.EntityShell_metaHeader {
  display: grid;
  gap: var(--space-1);
}
.EntityShell_metaTitle {
  margin: 0;
  color: var(--fg-primary);
  font-size: var(--text-sm);
  font-weight: 650;
}
.EntityShell_metaDescription {
  margin: 0;
  color: var(--fg-secondary);
  font-size: var(--text-xs);
}
.EntityShell_metaList {
  display: grid;
  gap: var(--space-2);
  margin: 0;
}
.EntityShell_metaRow {
  display: grid;
  gap: var(--space-1);
}
.EntityShell_metaRow dt {
  color: var(--fg-tertiary);
  font-size: var(--text-xs);
}
.EntityShell_metaRow dd {
  margin: 0;
  color: var(--fg-primary);
  font-size: var(--text-sm);
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .EntityShell_shell {
    display: flex;
    flex-direction: column;
    overflow: auto;
    scrollbar-width: none;
  }
  .EntityShell_shell::-webkit-scrollbar {
    display: none;
  }
  .EntityShell_tabs {
    padding: 0 14px;
    overflow: hidden;
  }
  .EntityShell_content {
    flex: 0 0 auto;
    padding: 12px 14px 14px;
    overflow: visible;
  }
  .EntityShell_rail {
    flex: 0 0 auto;
    width: auto;
    border-top: 1px solid var(--border-subtle);
    border-left: 0;
    overflow: visible;
  }
  .EntityShell_heroRoot {
    flex-direction: column;
    padding: 16px 14px 12px;
  }
  .EntityShell_heroActions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

/* packages/admin-ui-v2/src/shells/PageFrame/PageFrame.module.css */
.PageFrame_frame {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
}
.PageFrame_header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px 12px;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
  background: var(--bg-canvas);
}
.PageFrame_headerMain {
  flex: 1;
  min-width: 0;
}
.PageFrame_title {
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fg-primary);
  margin: 0;
}
.PageFrame_desc {
  font-size: var(--text-sm);
  color: var(--fg-secondary);
  margin: 4px 0 0;
  max-width: 60ch;
}
.PageFrame_actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.PageFrame_body {
  padding: 20px 24px;
}
.PageFrame_bodyFlush {
  padding: 0;
}
.PageFrame_frame[data-fit=true] {
  overflow: hidden;
}
.PageFrame_frame[data-fit=true] .PageFrame_body {
  flex: 1;
  min-height: 0;
  overflow: auto;
}
@media (max-width: 640px) {
  .PageFrame_header {
    flex-direction: column;
    align-items: stretch;
  }
  .PageFrame_actions {
    flex-wrap: wrap;
  }
  .PageFrame_body {
    padding: 16px 14px;
  }
}

/* packages/admin-ui-v2/src/shells/WizardShell/WizardShell.module.css */
.WizardShell_shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  background: var(--bg-canvas);
}
.WizardShell_header {
  grid-column: 1 / -1;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.WizardShell_headerMain {
  flex: 1;
  min-width: 0;
}
.WizardShell_title {
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fg-primary);
  margin: 0;
}
.WizardShell_steps {
  grid-column: 1;
  padding: 24px 12px 24px 24px;
  border-right: 1px solid var(--border-subtle);
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.WizardShell_step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--fg-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.WizardShell_step:hover:not(:disabled) {
  background: var(--bg-subtle);
  color: var(--fg-primary);
}
.WizardShell_step:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.WizardShell_step:disabled {
  color: var(--fg-disabled);
  cursor: not-allowed;
}
.WizardShell_stepActive {
  background: var(--bg-subtle);
  color: var(--fg-primary);
  font-weight: 500;
}
.WizardShell_bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-emphasis);
  color: var(--fg-secondary);
  font-size: var(--text-2xs);
  font-weight: 600;
  flex-shrink: 0;
}
.WizardShell_stepActive .WizardShell_bullet {
  background: var(--accent-bg);
  color: var(--fg-on-accent);
}
.WizardShell_stepDone .WizardShell_bullet {
  background: var(--success-bg);
  color: var(--fg-on-accent);
}
.WizardShell_content {
  grid-column: 2;
  padding: 24px;
  overflow: auto;
  min-width: 0;
}
.WizardShell_footer {
  grid-column: 1 / -1;
  padding: 12px 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-base);
}
.WizardShell_connector {
  display: none;
}
.WizardShell_shellHorizontal {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr) auto;
}
.WizardShell_shellHorizontal .WizardShell_header {
  grid-column: 1;
  grid-row: 1;
}
.WizardShell_shellHorizontal .WizardShell_steps {
  grid-column: 1;
  grid-row: 2;
  flex-direction: row;
  align-items: center;
  gap: 0;
  padding: 14px 24px;
  border-right: 0;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
}
.WizardShell_shellHorizontal .WizardShell_step {
  flex: 0 0 auto;
}
.WizardShell_shellHorizontal .WizardShell_content {
  grid-column: 1;
  grid-row: 3;
}
.WizardShell_shellHorizontal .WizardShell_footer {
  grid-column: 1;
  grid-row: 4;
}
.WizardShell_shellHorizontal .WizardShell_connector {
  display: block;
  flex: 1 1 auto;
  min-width: 16px;
  height: 1px;
  background: var(--border-subtle);
  margin: 0 12px;
}
.WizardShell_shellHorizontal .WizardShell_connectorDone {
  background: var(--success-bg);
}
@media (max-width: 640px) {
  .WizardShell_shellHorizontal .WizardShell_steps {
    padding: 12px 14px;
  }
  .WizardShell_shellHorizontal .WizardShell_connector {
    margin: 0 6px;
  }
}

/* packages/admin-ui-v2/src/shells/WorkspaceShell/WorkspaceShell.module.css */
.WorkspaceShell_shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  background: var(--bg-canvas);
}
.WorkspaceShell_chrome {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px 12px;
  flex-shrink: 0;
}
.WorkspaceShell_chromeMain {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.WorkspaceShell_title {
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--fg-primary);
  margin: 0;
}
.WorkspaceShell_subtitle {
  font-size: var(--text-sm);
  color: var(--fg-secondary);
  margin: 0;
}
.WorkspaceShell_chromeActions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.WorkspaceShell_navigation {
  padding: 0 24px;
  flex-shrink: 0;
}
.WorkspaceShell_commandBar {
  padding: 8px 24px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-base);
}
.WorkspaceShell_savedViews {
  padding: 0 24px;
  flex-shrink: 0;
}
.WorkspaceShell_filterBar {
  padding: 8px 24px;
  flex-shrink: 0;
  background: var(--bg-base);
  border-bottom: 1px solid var(--border-subtle);
}
.WorkspaceShell_bulkActions {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  padding: 8px 24px;
  flex-shrink: 0;
  background: var(--accent-soft);
  border-bottom: 1px solid var(--accent-border);
}
.WorkspaceShell_statsRow {
  padding: 12px 24px 0;
  flex-shrink: 0;
}
.WorkspaceShell_content {
  padding: 16px 24px 24px;
}
.WorkspaceShell_contentFlush {
  padding: 0;
}
.WorkspaceShell_shell[data-fit=true] {
  overflow: hidden;
}
.WorkspaceShell_shell[data-fit=true] .WorkspaceShell_content {
  flex: 1;
  min-height: 0;
  overflow: auto;
}
@media (max-width: 640px) {
  .WorkspaceShell_chrome {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 16px 10px;
  }
  .WorkspaceShell_chromeActions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .WorkspaceShell_navigation,
  .WorkspaceShell_savedViews {
    padding-left: 16px;
    padding-right: 16px;
  }
  .WorkspaceShell_commandBar,
  .WorkspaceShell_filterBar,
  .WorkspaceShell_bulkActions,
  .WorkspaceShell_statsRow,
  .WorkspaceShell_content {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* packages/admin-ui-v2/src/overlays/CommandPalette/CommandPalette.module.css */
.CommandPalette_overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: var(--scrim);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
  animation: CommandPalette_cmd-fade 150ms ease-out;
}
.CommandPalette_overlay[data-state=closed] {
  animation: CommandPalette_cmd-fade-out 100ms ease-in forwards;
}
.CommandPalette_content {
  width: 540px;
  max-width: calc(100vw - 32px);
  background: var(--bg-base);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 480px;
  z-index: var(--z-modal);
  outline: none;
}
.CommandPalette_inputWrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  height: 48px;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}
.CommandPalette_inputIcon {
  color: var(--fg-tertiary);
  display: flex;
  flex-shrink: 0;
}
.CommandPalette_input {
  flex: 1;
  height: 48px;
  border: 0;
  background: transparent;
  outline: none;
  font-size: var(--text-md);
  color: var(--fg-primary);
  font-family: var(--font-sans);
}
.CommandPalette_input::placeholder {
  color: var(--fg-tertiary);
}
.CommandPalette_kbdHint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  background: var(--bg-subtle);
  border: 1px solid var(--border-default);
  border-radius: 4px;
  color: var(--fg-secondary);
}
.CommandPalette_list {
  flex: 1;
  overflow-y: auto;
  padding: 6px;
}
.CommandPalette_section {
  font-size: var(--text-2xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-tertiary);
  padding: 8px 8px 4px;
  font-weight: 600;
}
.CommandPalette_item {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: var(--text-base);
  color: var(--fg-primary);
  outline: none;
}
.CommandPalette_item:hover,
.CommandPalette_item[data-selected=true] {
  background: var(--bg-subtle);
}
.CommandPalette_item[data-selected=true] {
  background: var(--accent-soft);
  color: var(--accent-soft-fg);
}
.CommandPalette_item[data-disabled=true] {
  color: var(--fg-disabled);
  cursor: not-allowed;
}
.CommandPalette_itemIcon {
  color: var(--fg-tertiary);
  display: flex;
  flex-shrink: 0;
}
.CommandPalette_item[data-selected=true] .CommandPalette_itemIcon {
  color: var(--accent-soft-fg);
}
.CommandPalette_itemLabel {
  flex: 1;
}
.CommandPalette_itemMeta {
  font-size: var(--text-xs);
  color: var(--fg-tertiary);
}
.CommandPalette_empty {
  padding: 24px;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--fg-tertiary);
}
.CommandPalette_foot {
  border-top: 1px solid var(--border-subtle);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--text-xs);
  color: var(--fg-tertiary);
  flex-shrink: 0;
}
.CommandPalette_footHint {
  display: flex;
  align-items: center;
  gap: 5px;
}
@keyframes CommandPalette_cmd-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes CommandPalette_cmd-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* packages/admin-ui-v2/src/overlays/Dialog/Dialog.module.css */
.Dialog_overlay {
  position: fixed;
  inset: 0;
  background: var(--scrim);
  z-index: var(--z-overlay);
  animation: Dialog_overlay-in var(--duration-base) var(--ease-out);
}
.Dialog_overlay[data-state=closed] {
  animation: Dialog_overlay-out var(--duration-fast) ease-in forwards;
}
.Dialog_content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: var(--z-modal);
  animation: Dialog_content-in 200ms var(--ease-out);
}
.Dialog_content[data-state=closed] {
  animation: Dialog_content-out 140ms ease-in forwards;
}
.Dialog_content:focus-visible {
  outline: none;
}
.Dialog_sizeSm {
  max-width: 360px;
}
.Dialog_sizeMd {
  max-width: 420px;
}
.Dialog_sizeLg {
  max-width: 560px;
}
.Dialog_sizeXl {
  max-width: 720px;
}
.Dialog_header {
  padding: 16px 18px 12px;
}
.Dialog_title {
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--fg-primary);
}
.Dialog_desc {
  font-size: var(--text-sm);
  color: var(--fg-secondary);
  margin: 4px 0 0;
}
.Dialog_srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.Dialog_body {
  padding: 0 18px 16px;
  font-size: var(--text-sm);
  color: var(--fg-secondary);
  flex: 1;
  overflow: auto;
}
.Dialog_footer {
  padding: 12px 18px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-shrink: 0;
}
.Dialog_close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--fg-tertiary);
}
.Dialog_close:hover {
  background: var(--bg-subtle);
  color: var(--fg-primary);
}
.Dialog_close:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
@keyframes Dialog_overlay-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes Dialog_overlay-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes Dialog_content-in {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 8px)) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
@keyframes Dialog_content-out {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 8px)) scale(0.98);
  }
}

/* packages/admin-ui-v2/src/overlays/ConfirmDialog/ConfirmDialog.module.css */
.ConfirmDialog_bodyCopy {
  margin: 0;
  color: var(--fg-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}
.ConfirmDialog_typeConfirm {
  display: grid;
  gap: var(--space-2);
}
.ConfirmDialog_typeHint {
  margin: 0;
  color: var(--fg-secondary);
  font-size: var(--text-xs);
}

/* packages/admin-ui-v2/src/overlays/DropdownMenu/DropdownMenu.module.css */
.DropdownMenu_content {
  background: var(--bg-base);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 6px;
  min-width: 200px;
  z-index: var(--z-popover);
  outline: none;
  transform-origin: var(--radix-dropdown-menu-content-transform-origin);
  animation: DropdownMenu_menu-in 160ms var(--ease-out);
}
.DropdownMenu_content[data-state=closed] {
  animation: DropdownMenu_menu-out 120ms ease-in;
}
.DropdownMenu_item {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 8px;
  font-size: var(--text-sm);
  color: var(--fg-primary);
  border-radius: var(--radius-xs);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  outline: none;
}
.DropdownMenu_item[data-highlighted] {
  background: var(--bg-subtle);
}
.DropdownMenu_item[data-disabled] {
  color: var(--fg-disabled);
  cursor: not-allowed;
}
.DropdownMenu_itemDanger {
  color: var(--danger-soft-fg);
}
.DropdownMenu_itemDanger[data-highlighted] {
  background: var(--danger-soft);
}
.DropdownMenu_label {
  font-size: var(--text-2xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-tertiary);
  padding: 6px 8px 4px;
  font-weight: 500;
}
.DropdownMenu_separator {
  height: 1px;
  background: var(--border-subtle);
  margin: 4px 0;
}
.DropdownMenu_kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  background: var(--bg-subtle);
  border: 1px solid var(--border-default);
  border-radius: 4px;
  color: var(--fg-secondary);
}
.DropdownMenu_indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-right: 0;
  color: var(--accent-fg);
}
@keyframes DropdownMenu_menu-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes DropdownMenu_menu-out {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.96);
  }
}

/* packages/admin-ui-v2/src/overlays/Sheet/Sheet.module.css */
.Sheet_overlay {
  position: fixed;
  inset: 0;
  background: var(--scrim);
  z-index: var(--z-overlay);
  animation: Sheet_overlay-in var(--duration-base) var(--ease-out);
}
.Sheet_overlay[data-state=closed] {
  animation: Sheet_overlay-out var(--duration-fast) ease-in forwards;
}
.Sheet_content {
  position: fixed;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  z-index: var(--z-modal);
  overflow: hidden;
}
.Sheet_content:focus-visible {
  outline: none;
}
.Sheet_right {
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 100vw;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  animation: Sheet_slide-in-right 220ms var(--ease-out);
}
.Sheet_right[data-state=closed] {
  animation: Sheet_slide-out-right 160ms ease-in forwards;
}
.Sheet_left {
  top: 0;
  left: 0;
  bottom: 0;
  width: 420px;
  max-width: 100vw;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  animation: Sheet_slide-in-left 220ms var(--ease-out);
}
.Sheet_left[data-state=closed] {
  animation: Sheet_slide-out-left 160ms ease-in forwards;
}
.Sheet_bottom {
  left: 0;
  right: 0;
  bottom: 0;
  height: 60vh;
  max-height: 100vh;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  animation: Sheet_slide-in-bottom 220ms var(--ease-out);
}
.Sheet_bottom[data-state=closed] {
  animation: Sheet_slide-out-bottom 160ms ease-in forwards;
}
.Sheet_top {
  left: 0;
  right: 0;
  top: 0;
  height: 60vh;
  max-height: 100vh;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  animation: Sheet_slide-in-top 220ms var(--ease-out);
}
.Sheet_top[data-state=closed] {
  animation: Sheet_slide-out-top 160ms ease-in forwards;
}
.Sheet_header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}
.Sheet_title {
  font-size: var(--text-md);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--fg-primary);
}
.Sheet_desc {
  font-size: var(--text-xs);
  color: var(--fg-secondary);
  margin: 2px 0 0;
}
.Sheet_srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.Sheet_body {
  padding: 16px;
  overflow: auto;
  flex: 1;
}
.Sheet_footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-shrink: 0;
}
.Sheet_close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--fg-tertiary);
}
.Sheet_close:hover {
  background: var(--bg-subtle);
  color: var(--fg-primary);
}
.Sheet_close:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
@keyframes Sheet_overlay-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes Sheet_overlay-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes Sheet_slide-in-right {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes Sheet_slide-out-right {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}
@keyframes Sheet_slide-in-left {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes Sheet_slide-out-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
@keyframes Sheet_slide-in-bottom {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes Sheet_slide-out-bottom {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(100%);
  }
}
@keyframes Sheet_slide-in-top {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes Sheet_slide-out-top {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-100%);
  }
}

/* packages/admin-ui-v2/src/overlays/SidePanel/SidePanel.module.css */
.SidePanel_content {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.SidePanel_body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: var(--space-5);
}
.SidePanel_footer {
  border-top: 1px solid var(--border-subtle);
}

/* packages/admin-ui-v2/src/overlays/Toast/Toast.module.css */
.Toast_viewport {
  position: fixed;
  bottom: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 380px;
  max-width: calc(100vw - 32px);
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: var(--z-toast);
  outline: none;
}
.Toast_toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 280px;
  padding: 10px 12px;
  background: var(--bg-base);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: var(--text-sm);
}
.Toast_fluid {
  width: 100%;
  min-width: 0;
}
.Toast_toast[data-state=open] {
  animation: Toast_toast-in var(--duration-base) var(--ease-out);
}
.Toast_toast[data-state=closed] {
  animation: Toast_toast-out var(--duration-fast) ease-in forwards;
}
.Toast_toast[data-swipe=move] {
  transform: translateX(var(--radix-toast-swipe-move-x));
}
.Toast_toast[data-swipe=cancel] {
  transform: translateX(0);
  transition: transform var(--duration-base) ease-out;
}
.Toast_toast[data-swipe=end] {
  animation: Toast_toast-out 100ms ease-out forwards;
}
.Toast_iconSlot {
  display: flex;
  flex-shrink: 0;
  margin-top: 1px;
}
.Toast_iconSuccess {
  color: var(--success-soft-fg);
}
.Toast_iconWarning {
  color: var(--warning-soft-fg);
}
.Toast_iconDanger {
  color: var(--danger-soft-fg);
}
.Toast_iconInfo {
  color: var(--info-soft-fg);
}
.Toast_iconNeutral {
  color: var(--fg-secondary);
}
.Toast_content {
  flex: 1;
  min-width: 0;
}
.Toast_title {
  font-weight: 500;
  color: var(--fg-primary);
}
.Toast_desc {
  color: var(--fg-secondary);
  margin-top: 2px;
  font-size: var(--text-xs);
}
.Toast_action {
  flex-shrink: 0;
}
.Toast_close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--fg-tertiary);
  padding: 0;
}
.Toast_close:hover {
  background: var(--bg-subtle);
  color: var(--fg-primary);
}
.Toast_close:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
@keyframes Toast_toast-in {
  from {
    transform: translateX(calc(100% + 16px));
  }
  to {
    transform: translateX(0);
  }
}
@keyframes Toast_toast-out {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(calc(100% + 16px));
    opacity: 0;
  }
}

/* packages/admin-ui-v2/src/overlays/Tooltip/Tooltip.module.css */
.Tooltip_content {
  background: var(--bg-inverse);
  color: var(--fg-inverse);
  font-size: var(--text-xs);
  padding: 5px 8px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  letter-spacing: -0.005em;
  box-shadow: var(--shadow-md);
  z-index: var(--z-tooltip);
  user-select: none;
  animation: Tooltip_tooltip-in 140ms var(--ease-out);
}
.Tooltip_arrow {
  fill: var(--bg-inverse);
}
@keyframes Tooltip_tooltip-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
