@import url("./button-icons.css?v=e5972c74b783");
/* One palette/state owner for GaipButton. No channel selectors or source skins. */
:root {
  --gaip-button-radius: 4px !important;
  --gaip-button-brand: #025b52 !important;
  --gaip-button-brand-hover: #01483f !important;
  --gaip-button-brand-active: #013a33 !important;
  --gaip-button-ink: #2f3640 !important;
  --gaip-button-ink-hover: #252b33 !important;
  --gaip-button-ink-active: #1c2026 !important;
  --gaip-button-warning: #cf1322 !important;
  --gaip-button-warning-hover: #a8071a !important;
  --gaip-button-warning-active: #820014 !important;
}
@layer gaip-button-visuals {

  :is(.gaip-button,.gaip-ui-button):not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *) {
    --button-bg: #fff !important; --button-fg: #2f3640 !important; --button-border: rgba(47,54,64,.18) !important;
    --button-hover-bg: #fff !important; --button-hover-fg: var(--gaip-button-brand) !important; --button-hover-border: var(--gaip-button-brand) !important;
    --button-active-bg: #fff !important; --button-active-fg: var(--gaip-button-brand-active) !important; --button-active-border: var(--gaip-button-brand-active) !important;
    --button-focus: rgba(2,91,82,.24) !important;
    appearance: none !important; box-sizing: border-box !important; border: 1px solid var(--button-border) !important;
    background: var(--button-bg) !important; color: var(--button-fg) !important; font-weight: 500 !important; cursor: var(--gaip-button-cursor, pointer) !important;
    opacity: 1 !important; filter: none !important; transform: none !important; box-shadow: none !important; transition: background-color 180ms cubic-bezier(.2,.8,.2,1), border-color 180ms cubic-bezier(.2,.8,.2,1), color 180ms cubic-bezier(.2,.8,.2,1) !important;
    text-decoration: none !important;
  }
  :is([data-gaip-button-variant="primary"],.gaip-ui-button--primary):not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *) {
    --button-bg: var(--gaip-button-brand) !important; --button-fg: #fff !important; --button-border: var(--gaip-button-brand) !important;
    --button-hover-bg: var(--gaip-button-brand-hover) !important; --button-hover-fg: #fff !important; --button-hover-border: var(--gaip-button-brand-hover) !important;
    --button-active-bg: var(--gaip-button-brand-active) !important; --button-active-fg: #fff !important; --button-active-border: var(--gaip-button-brand-active) !important;
  }
  :is([data-gaip-button-variant="gradient"],.gaip-ui-button--gradient):not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *) {
    --button-bg: linear-gradient(90deg, #025B52 0%, #F8D6C4 100%) !important; --button-fg: #fff !important; --button-border: transparent !important;
    --button-hover-bg: linear-gradient(rgba(0,0,0,.06), rgba(0,0,0,.06)), linear-gradient(90deg, #025B52 0%, #F8D6C4 100%) !important; --button-hover-fg: #fff !important; --button-hover-border: transparent !important;
    --button-active-bg: linear-gradient(rgba(0,0,0,.1), rgba(0,0,0,.1)), linear-gradient(90deg, #025B52 0%, #F8D6C4 100%) !important; --button-active-fg: #fff !important; --button-active-border: transparent !important;
  }
  :is([data-gaip-button-variant="gradient"],.gaip-ui-button--gradient):not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *):not(:disabled):not([aria-disabled="true"]) {
    border-width: 0 !important;
  }
  :is([data-gaip-button-variant="primary"][data-gaip-button-tone="ink"],.gaip-ui-button--primary-ink):not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *) {
    --button-bg: var(--gaip-button-ink) !important; --button-border: var(--gaip-button-ink) !important;
    --button-hover-bg: var(--gaip-button-ink-hover) !important; --button-hover-border: var(--gaip-button-ink-hover) !important;
    --button-active-bg: var(--gaip-button-ink-active) !important; --button-active-border: var(--gaip-button-ink-active) !important;
    --button-focus: rgba(47,54,64,.24) !important;
  }
  :is([data-gaip-button-variant="primary"][data-gaip-button-tone="warning"],.gaip-ui-button--primary-warning):not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *) {
    --button-bg: var(--gaip-button-warning) !important; --button-border: var(--gaip-button-warning) !important;
    --button-hover-bg: var(--gaip-button-warning-hover) !important; --button-hover-border: var(--gaip-button-warning-hover) !important;
    --button-active-bg: var(--gaip-button-warning-active) !important; --button-active-border: var(--gaip-button-warning-active) !important;
    --button-focus: rgba(207,19,34,.28) !important;
  }
  :is([data-gaip-button-variant="danger"],.gaip-ui-button--danger):not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *) {
    --button-fg: var(--gaip-button-warning) !important; --button-border: var(--gaip-button-warning) !important;
    --button-hover-fg: var(--gaip-button-warning-hover) !important; --button-hover-border: var(--gaip-button-warning-hover) !important;
    --button-active-fg: var(--gaip-button-warning-active) !important; --button-active-border: var(--gaip-button-warning-active) !important;
    --button-focus: rgba(207,19,34,.28) !important;
  }
  :is([data-gaip-button-variant="text"],.gaip-ui-button--text):not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *) {
    --button-bg: transparent !important; --button-border: transparent !important;
    --button-hover-bg: transparent !important; --button-hover-border: transparent !important;
    --button-active-bg: transparent !important; --button-active-border: transparent !important;
  }
  /* A warning tone changes text color, never turns a text action into an outline. */
  [data-gaip-button-variant="text"][data-gaip-button-tone="warning"]:not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *) {
    --button-fg: var(--gaip-button-warning) !important;
    --button-hover-fg: var(--gaip-button-warning-hover) !important;
    --button-active-fg: var(--gaip-button-warning-active) !important;
    --button-focus: rgba(207,19,34,.28) !important;
  }
  [data-gaip-button-variant="notice"]:not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *) {
    --button-bg: #fff3dc !important; --button-fg: #875507 !important; --button-border: #d99624 !important;
    --button-hover-bg: #ffe8bb !important; --button-hover-fg: #875507 !important; --button-hover-border: #c17b12 !important;
    --button-active-bg: #ffe8bb !important; --button-active-fg: #875507 !important; --button-active-border: #c17b12 !important;
  }
  :is(.gaip-button,.gaip-ui-button):not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *):hover:not([data-gaip-button-loading="true"]):not(:disabled):not([aria-disabled="true"]) {
    background: var(--button-hover-bg) !important; color: var(--button-hover-fg) !important; border-color: var(--button-hover-border) !important;
  }
  :is(.gaip-button,.gaip-ui-button):not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *):active:not([data-gaip-button-loading="true"]):not(:disabled):not([aria-disabled="true"]) {
    background: var(--button-active-bg) !important; color: var(--button-active-fg) !important; border-color: var(--button-active-border) !important;
  }

  :is(.gaip-button,.gaip-ui-button):not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *):is(:disabled,[aria-disabled="true"]) {
    background: rgba(47,54,64,.1) !important; color: rgba(47,54,64,.42) !important; border-color: rgba(47,54,64,.1) !important; cursor: not-allowed !important;
  }
  [data-gaip-button-variant="text"]:not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *):disabled { background: transparent !important; border-color: transparent !important; }
  :is(.gaip-button,.gaip-ui-button):not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *):focus-visible { outline: 2px solid var(--button-focus) !important; outline-offset: 2px !important; }
  .gaip-button:not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *) .gaip-button__icon :is(svg,[fill]):not([fill="none"]),
  .gaip-button:not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *) svg.gaip-button__icon[fill]:not([fill="none"]) { fill: currentColor !important; }
  .gaip-button:not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *) .gaip-button__icon [stroke]:not([stroke="none"]),
  .gaip-button:not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *) svg.gaip-button__icon[stroke]:not([stroke="none"]) { stroke: currentColor !important; }

  /* Shared hover motion; table actions remain owned by their table. */
  :is(.gaip-button,.gaip-ui-button):not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *):active:not(:disabled):not([aria-disabled="true"]):not([data-gaip-button-loading="true"]) { transition-duration: 60ms !important; }
  :is(.gaip-button,.gaip-ui-button):not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *):is(:disabled,[aria-disabled="true"],[data-gaip-button-loading="true"]) { transition: none !important; }
  :is(.gaip-button,.gaip-ui-button):not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *):is([data-gaip-button-variant="text"],.gaip-ui-button--text) > .gaip-button__label { position: relative; }
  :is(.gaip-button,.gaip-ui-button):not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *):is([data-gaip-button-variant="text"],.gaip-ui-button--text) > .gaip-button__label::after {
    content: ""; position: absolute; left: 0; bottom: 1px; width: 100%; height: 1px;
    background: currentColor; pointer-events: none;
    transform: scaleX(0); transform-origin: left center;
    transition: transform 180ms cubic-bezier(.2,.8,.2,1);
  }
  :is(.gaip-button,.gaip-ui-button):not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *):is([data-gaip-button-variant="text"],.gaip-ui-button--text):is(:hover,:focus-visible):not(:disabled):not([aria-disabled="true"]):not([data-gaip-button-loading="true"]) > .gaip-button__label::after { transform: scaleX(1); }
  :is(.gaip-button,.gaip-ui-button):not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *):is([data-gaip-button-variant="text"],.gaip-ui-button--text):is(:disabled,[aria-disabled="true"],[data-gaip-button-loading="true"]) > .gaip-button__label::after { transition: none; }
  /* Adopted text stays in its original React nodes, including direct text nodes.
     Draw the same line in the label area without adding a text wrapper. */
  .gaip-button[data-gaip-button-preserve-dom="true"][data-gaip-button-variant="text"]:not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *) {
    position: relative !important;
  }
  .gaip-button[data-gaip-button-preserve-dom="true"][data-gaip-button-has-icon="true"][data-gaip-button-icon-position="start"] { --gaip-button-line-start: calc(var(--gaip-button-padding) + var(--gaip-button-icon) + var(--gaip-button-gap)); }
  .gaip-button[data-gaip-button-preserve-dom="true"][data-gaip-button-has-icon="true"][data-gaip-button-icon-position="end"] { --gaip-button-line-end: calc(var(--gaip-button-padding) + var(--gaip-button-icon) + var(--gaip-button-gap)); }
  .gaip-button[data-gaip-button-preserve-dom="true"][data-gaip-button-variant="text"]:not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *)::before {
    content: ""; position: absolute; left: var(--gaip-button-line-start, var(--gaip-button-padding)); right: var(--gaip-button-line-end, var(--gaip-button-padding));
    bottom: calc((var(--gaip-button-height) - var(--gaip-button-line)) / 2 + 1px - var(--gaip-button-label-offset-y, 0.5px)); height: 1px;
    background: currentColor; pointer-events: none; transform: scaleX(0); transform-origin: left center;
    transition: transform 180ms cubic-bezier(.2,.8,.2,1);
  }
  .gaip-button[data-gaip-button-preserve-dom="true"][data-gaip-button-variant="text"]:not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *):is(:hover,:focus-visible):not(:disabled):not([aria-disabled="true"]):not([data-gaip-button-loading="true"])::before { transform: scaleX(1); }
  .gaip-button[data-gaip-button-preserve-dom="true"] > .gaip-button__label::after { content: none; }
  .gaip-button[data-gaip-button-preserve-dom="true"]:is(:disabled,[aria-disabled="true"],[data-gaip-button-loading="true"])::before { transition: none !important; }
  /* Adopted Ant nodes keep their handlers and React children, while this
     component alone owns visual feedback. Tables retain their own wave. */
  .gaip-button[data-gaip-button-component]:not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,.ant-table,[data-gaip-table],.gaip-table__row-actions) *) .ant-wave { display: none !important; }
  @media (prefers-reduced-motion: reduce) {
    :is(.gaip-button,.gaip-ui-button):not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *),
    :is(.gaip-button,.gaip-ui-button):not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *):active:not(:disabled):not([aria-disabled="true"]):not([data-gaip-button-loading="true"]) { transition: none !important; }
    :is(.gaip-button,.gaip-ui-button):not(.gaip-table__button,.gaip-table__more):not(:is(table,[role="table"],[role="grid"],.gaip-table,[data-gaip-table],.gaip-table__row-actions) *):is([data-gaip-button-variant="text"],.gaip-ui-button--text) > .gaip-button__label::after { transition: none; }
    .gaip-button[data-gaip-button-preserve-dom="true"]::before { transition: none !important; }
  }

  .gaip-button[data-gaip-button-loading="true"] { --gaip-button-cursor: progress !important; }
  .gaip-button [data-gaip-button-loading-icon] { animation: gaip-button-spin .8s linear infinite; }
  @keyframes gaip-button-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
  @media (prefers-reduced-motion: reduce) { .gaip-button [data-gaip-button-loading-icon] { animation: none; } }

}
