@charset "UTF-8";
/* MMS Match Platform — experimental component classes + hover/responsive states. */
/* Inline style="" can't express :hover or @media, and Button/Alert/Avatar 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__close {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--ihm-color-icon);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  display: inline-flex;
}

.ihm-sandbox-alert__close .material-icons {
  font-size: 18px;
}

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

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

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

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

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

.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);
}

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

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

/* compact variant used for the toast */
.ihm-sandbox-alert.mms-alert-compact {
  align-items: center;
  padding: 4px 12px;
  gap: 8px;
}

.ihm-sandbox-alert.mms-alert-compact .ihm-sandbox-alert__icon {
  font-size: 18px;
  line-height: 18px;
}

.ihm-sandbox-alert.mms-alert-compact .ihm-sandbox-alert__body {
  line-height: 18px;
}

/* ---------- Avatar (mirrors components/data-display/Avatar.jsx) ---------- */
.ihm-sandbox-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: var(--ihm-color-action-primary-bg);
  color: var(--ihm-color-action-primary);
  font-family: var(--ihm-font-family-base);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  overflow: hidden;
  user-select: none;
}

.ihm-sandbox-avatar--sm {
  width: 28px;
  height: 28px;
  font-size: 12px;
}

.ihm-sandbox-avatar--brand {
  background: var(--ihm-color-brand-primary);
  color: var(--ihm-color-text-on-dark);
}

/* ---------- Hover-state utilities (inline style="" can't express :hover) ---------- */
.ihm-sandbox-hover-row:hover {
  background: var(--ihm-color-table-row-bg-hover);
}

.ihm-sandbox-hover-band:hover {
  background: var(--ihm-color-table-row-bg-selected);
}

.ihm-sandbox-hover-surface2:hover {
  background: var(--ihm-color-surface-secondary);
}

.ihm-sandbox-hover-sprow:hover {
  background: var(--ihm-color-table-row-bg);
}

.ihm-sandbox-hover-navicon:hover {
  background: rgba(255, 255, 255, 0.12);
}

.ihm-sandbox-hover-hnav:hover {
  background: var(--ihm-color-table-row-bg-hover) !important;
  color: var(--ihm-color-text-primary) !important;
}

.ihm-sandbox-hover-tile:hover {
  border-color: var(--ihm-color-action-primary);
}

/* 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-dropdown,
.ihm-sandbox-modal-card {
  animation: ihm-sandbox-fadein 0.12s ease;
}

@media (max-width: 1200px) {
  .ihm-sandbox-hkbd {
    display: none;
  }
}
@media (max-width: 1120px) {
  .ihm-sandbox-sptext {
    display: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ihm-sandbox-dropdown,
  .ihm-sandbox-modal-card,
  .ihm-sandbox-dropdown *,
  .ihm-sandbox-modal-card * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}