:is(.primary.svelte-yopyt,.secondary.svelte-yopyt,.ghost.svelte-yopyt,.danger.svelte-yopyt,.success.svelte-yopyt,.warning.svelte-yopyt){appearance:none;cursor:pointer;white-space:nowrap;border:1px solid;border-radius:8px;justify-content:safe center;align-items:safe center;gap:.5em;width:fit-content;height:fit-content;margin:0;padding:0 1em;font-weight:500;transition:color .2s,background .2s,border-color .2s;display:inline-flex;&.full{width:100%}&.rounded{padding:0}&.small{font-size:var(--font-size-body);min-height:28px;&.rounded{min-width:28px}}&.medium{font-size:var(--font-size-medium);min-height:38px;&.rounded{min-width:38px}}&.large{font-size:var(--font-size-large);min-height:48px;&.rounded{min-width:48px}}}.link.svelte-yopyt,.text.svelte-yopyt{appearance:none;cursor:pointer;font:inherit;font-size:inherit;background:0 0;border:none;border-radius:4px;align-items:safe center;gap:.5em;width:fit-content;margin:0;padding:0;transition:color .2s;display:inline-flex;&.full{width:100%}}.link.svelte-yopyt{color:var(--blue_light_1);&:not(:disabled):is(.toggled:where(.svelte-yopyt),:where(.svelte-yopyt):active){color:var(--blue_light_2)}&:not(.toggled,:active,:disabled):is(:where(.svelte-yopyt):hover,:where(.svelte-yopyt):focus-visible){color:var(--blue_light_2);text-decoration:underline}}.text.svelte-yopyt{color:inherit;text-decoration:underline}.primary.svelte-yopyt{background:var(--light_1);color:var(--dark_4);border:none;&:not(:disabled):is(.toggled:where(.svelte-yopyt),:where(.svelte-yopyt):active){background:var(--light_4)}&:not(.toggled,:active,:disabled):is(:where(.svelte-yopyt):hover,:where(.svelte-yopyt):focus-visible){background:var(--light_3)}}.secondary.svelte-yopyt{border-color:var(--grey_dark);color:var(--grey_light);background:0 0;&:not(:disabled):is(.toggled:where(.svelte-yopyt),:where(.svelte-yopyt):active){border-color:var(--light_4);color:var(--light_4)}&:not(.toggled,:active,:disabled):is(:where(.svelte-yopyt):hover,:where(.svelte-yopyt):focus-visible){border-color:var(--grey);color:var(--light_4)}}.ghost.svelte-yopyt{color:var(--grey);background:0 0;border:none;&:not(:disabled):is(.toggled:where(.svelte-yopyt),:where(.svelte-yopyt):active){color:var(--light_4)}&:not(.toggled,:active,:disabled):is(:where(.svelte-yopyt):hover,:where(.svelte-yopyt):focus-visible){color:var(--grey_light)}}.danger.svelte-yopyt{background:var(--red_dark_2);color:var(--light_4);border:none;&:not(:disabled):is(.toggled:where(.svelte-yopyt),:where(.svelte-yopyt):active){background:var(--red);color:var(--dark_4)}&:not(.toggled,:active,:disabled):is(:where(.svelte-yopyt):hover,:where(.svelte-yopyt):focus-visible){background:var(--red_dark_1)}}.success.svelte-yopyt{background:var(--green_dark_2);color:var(--light_4);border:none;&:not(:disabled):is(.toggled:where(.svelte-yopyt),:where(.svelte-yopyt):active){background:var(--green);color:var(--dark_4)}&:not(.toggled,:active,:disabled):is(:where(.svelte-yopyt):hover,:where(.svelte-yopyt):focus-visible){background:var(--green_dark_1)}}.warning.svelte-yopyt{background:var(--orange_dark_2);color:var(--light_4);border:none;&:not(:disabled):is(.toggled:where(.svelte-yopyt),:where(.svelte-yopyt):active){background:var(--orange);color:var(--dark_4)}&:not(.toggled,:active,:disabled):is(:where(.svelte-yopyt):hover,:where(.svelte-yopyt):focus-visible){background:var(--orange_dark_1)}}.loading.svelte-yopyt{cursor:progress}.busy.svelte-yopyt{place-items:safe center;display:inline-grid;&>*{grid-area:1/1}}.busy-label.svelte-yopyt{opacity:0}.disabled.svelte-yopyt{cursor:not-allowed;opacity:.5}
