@charset "UTF-8";
/* Account Match Modal — experimental component classes + hover/responsive states. */
/* Inline style="" can't express :hover or @media, and Button/Alert aren't shipped */
/* as CSS-only components (only as React components in the design system's own */
/* component library, which this sandbox doesn't consume). Every declaration */
/* here only *consumes* --ihm-* tokens, never defines new ones. */
/* ---------- Button (mirrors components/forms/Button.jsx) ---------- */
.ihm-sandbox-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  min-height: 40px;
  padding: 9px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: var(--ihm-font-family-base);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.ihm-sandbox-btn:focus-visible {
  outline: 2px solid var(--ihm-color-action-primary);
  outline-offset: 2px;
}

.ihm-sandbox-btn--sm {
  min-height: 32px;
  padding: 5px 14px;
  font-size: 13px;
}

.ihm-sandbox-btn--md {
  min-height: 40px;
}

.ihm-sandbox-btn--primary {
  background-color: var(--ihm-button-global-bg);
  color: var(--ihm-color-text-on-dark);
}

.ihm-sandbox-btn--primary:hover {
  background-color: var(--ihm-button-global-bg-hover);
}

.ihm-sandbox-btn--primary:active {
  background-color: var(--ihm-button-global-bg-pressed);
}

.ihm-sandbox-btn--secondary {
  background-color: transparent;
  border-color: var(--ihm-button-global-bg);
  color: var(--ihm-color-action-primary);
}

.ihm-sandbox-btn--secondary:hover {
  background-color: var(--ihm-button-global-bg-secondary-hover);
}

.ihm-sandbox-btn--secondary:active {
  background-color: var(--ihm-button-global-bg-secondary-pressed);
}

.ihm-sandbox-btn__icon {
  font-size: 18px;
  line-height: 1;
}

.ihm-sandbox-btn:disabled {
  background-color: var(--ihm-color-surface-tertiary);
  border-color: transparent;
  color: var(--ihm-color-text-disabled);
  cursor: not-allowed;
  pointer-events: none;
}

/* ---------- Alert (mirrors components/feedback/Alert.jsx) ---------- */
.ihm-sandbox-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: var(--ihm-font-family-base);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ihm-color-text-primary);
}

.ihm-sandbox-alert__icon {
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 1.4;
}

.ihm-sandbox-alert__body {
  flex: 1 1 auto;
  min-width: 0;
}

.ihm-sandbox-alert--success {
  background-color: var(--ihm-color-status-success-bg);
  border-color: var(--ihm-color-status-success);
}

.ihm-sandbox-alert--success .ihm-sandbox-alert__icon {
  color: var(--ihm-color-status-success);
}

/* ---------- Hover-state utility (inline style="" can't express :hover) ---------- */
.ihm-sandbox-hover-surface2:hover {
  background: var(--ihm-color-surface-secondary);
}

/* Matches the Pulse Link component metrics (css/components/_actions.scss .ihm-link):
   inline-flex, 4px gap, 14px type, no underline until hover, 2px focus ring at 2px offset.
   Colour uses the pressed blue rather than #288bd3 so 14px link text clears 4.5:1 on white. */
.ihm-sandbox-linkish {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  line-height: 18px;
  color: var(--ihm-color-action-primary-pressed);
  text-decoration: none;
  text-align: left;
}

.ihm-sandbox-linkish:hover {
  text-decoration: underline;
}

.ihm-sandbox-linkish:focus-visible {
  outline: 2px solid var(--ihm-color-action-primary);
  outline-offset: 2px;
}

.ihm-sandbox-linkish .material-icons {
  font-size: 16px;
}

/* ---------- Animation + responsive (inline style="" can't express @keyframes/@media) ---------- */
@keyframes ihm-sandbox-fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.ihm-sandbox-modal-card {
  animation: ihm-sandbox-fadein 0.12s ease;
}

@media (prefers-reduced-motion: reduce) {
  .ihm-sandbox-modal-card,
  .ihm-sandbox-modal-card * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}