
/* ToastHost — canonical CSS. NOT bundled from here; the orchestrator copies
   these rules into each consuming section's styles.css. Prefix .toast */

.cc_g9rxphy5_7QpDWCFw0y .toast-host, .cc_g9rxphy5_QB1R2jqzyk .toast-host {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(420px, calc(100vw - 32px));
  pointer-events: none;
}

/* Cream panel framed by the house 2px ink rule; a left rule carries the
   state colour (the only chromatic accent). Sharp corners. */
.cc_g9rxphy5_7QpDWCFw0y .toast, .cc_g9rxphy5_QB1R2jqzyk .toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: var(--acct-bg, var(--surface-primary, #f5f2eb));
  color: var(--acct-text, var(--text-primary, #26231f));
  border: 2px solid var(--acct-text, var(--border-strong, #26231f));
  border-left-width: 4px;
  font-size: var(--fs-sm, clamp(13px, 3.7vw, 14px));
  line-height: 1.4;
}

.cc_g9rxphy5_7QpDWCFw0y .toast--success, .cc_g9rxphy5_QB1R2jqzyk .toast--success {
  border-left-color: var(--accent-positive, #127c37);
}

.cc_g9rxphy5_7QpDWCFw0y .toast--warning, .cc_g9rxphy5_QB1R2jqzyk .toast--warning, .cc_g9rxphy5_7QpDWCFw0y .toast--error, .cc_g9rxphy5_QB1R2jqzyk .toast--error {
  border-left-color: var(--acct-accent, var(--accent-orange, #d8622b));
}

.cc_g9rxphy5_7QpDWCFw0y .toast--info, .cc_g9rxphy5_QB1R2jqzyk .toast--info {
  border-left-color: var(--acct-text, var(--border-strong, #26231f));
}

.cc_g9rxphy5_7QpDWCFw0y .toast__msg, .cc_g9rxphy5_QB1R2jqzyk .toast__msg {
  flex: 1 1 auto;
  min-width: 0;
}

/* Action reads as a ruled-underline link. */
.cc_g9rxphy5_7QpDWCFw0y .toast__action, .cc_g9rxphy5_QB1R2jqzyk .toast__action {
  flex: 0 0 auto;
  border: none;
  background: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  color: var(--acct-text, var(--text-primary, #26231f));
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  cursor: pointer;
  white-space: nowrap;
}

.cc_g9rxphy5_7QpDWCFw0y .toast__action:hover, .cc_g9rxphy5_QB1R2jqzyk .toast__action:hover {
  text-decoration-thickness: 2px;
}

.cc_g9rxphy5_7QpDWCFw0y .toast__action:focus-visible, .cc_g9rxphy5_QB1R2jqzyk .toast__action:focus-visible {
  outline: 2px solid var(--acct-text, var(--border-strong, #26231f));
  outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  .cc_g9rxphy5_7QpDWCFw0y .toast, .cc_g9rxphy5_QB1R2jqzyk .toast {
    animation: toast-in var(--dur-base, 0.2s) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
  }
  @keyframes toast-in {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
