.oml-button { align-items: center; border: 2px solid transparent; border-radius: var(--oml-radius-pill); cursor: pointer; display: inline-flex; font-size: 16px; font-weight: 600; gap: 10px; justify-content: center; min-height: 48px; padding: 0 26px; transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.oml-button:hover { transform: translateY(-2px); }
.oml-button--primary { background: var(--oml-color-primary); box-shadow: 0 10px 24px rgba(106, 91, 148, 0.28); color: var(--oml-color-white); }
.oml-button--primary:hover { background: var(--oml-color-primary-dark); box-shadow: 0 14px 28px rgba(106, 91, 148, 0.32); }
.oml-button--orange { background: var(--oml-color-orange-dark); box-shadow: 0 10px 24px rgba(242, 153, 74, 0.32); color: var(--oml-color-white); }
.oml-button--orange:hover { background: #c26a22; box-shadow: 0 14px 28px rgba(242, 153, 74, 0.38); }
.oml-button--green { background: var(--oml-color-lime-dark); box-shadow: 0 10px 24px rgba(162, 214, 41, 0.34); color: var(--oml-color-white); }
.oml-button--green:hover { background: #6f9418; box-shadow: 0 14px 28px rgba(162, 214, 41, 0.4); }
.oml-button--secondary { background: var(--oml-color-white); border-color: var(--oml-color-line); color: var(--oml-color-charcoal); }
.oml-button--secondary:hover { border-color: var(--oml-color-charcoal); }
.oml-button--accent { background: var(--oml-color-secondary); box-shadow: 0 10px 24px rgba(214, 65, 97, 0.35); color: var(--oml-color-white); }
.oml-button--accent:hover { background: var(--oml-color-primary-dark); }
.oml-button--ghost { background: transparent; color: var(--oml-color-charcoal); }
.oml-button--ghost:hover { background: var(--oml-color-app-bg); }
.oml-button--light { background: var(--oml-color-white); color: var(--oml-color-charcoal); }
.oml-button--light:hover { background: var(--oml-color-app-bg); }
.oml-button--danger { background: var(--oml-color-danger); color: var(--oml-color-white); }
.oml-button--danger:hover { background: #a53232; }
.oml-button--danger:disabled { background: var(--oml-color-danger-soft); color: var(--oml-color-danger); cursor: not-allowed; opacity: 0.7; }
.oml-button[disabled], .oml-button[aria-disabled="true"] { cursor: not-allowed; opacity: 0.45; transform: none; }
.oml-button--small { font-size: 14px; min-height: 40px; padding: 0 16px; }
.oml-icon-button { align-items: center; background: var(--oml-color-white); border: 1px solid var(--oml-color-line); border-radius: 50%; color: var(--oml-color-charcoal); cursor: pointer; display: inline-flex; height: 44px; justify-content: center; width: 44px; }
@media (max-width: 760px) { .oml-button { width: 100%; } }
.oml-is-mobile .oml-button { width: 100%; }

/* Press state for every tappable control: no browser tap highlight or blue outline on click; instead the control dims slightly and settles in by a hair, then eases back on release. Keyboard users still get the focus ring from :focus-visible. */
button, a, [role="button"], summary, label[for], .oml-tabbar__tab { -webkit-tap-highlight-color: transparent; }
button:focus:not(:focus-visible), a:focus:not(:focus-visible), [role="button"]:focus:not(:focus-visible), summary:focus:not(:focus-visible) { outline: none; }
.oml-button, .oml-icon-button, .oml-navbar__link, .oml-navbar__icon-btn, .oml-navbar__avatar, .oml-navbar__toggle, .oml-navbar__cta, .oml-navbar__panel-link, .oml-tabbar__tab, .oml-tabbar__icon, .oml-cart-stepper__btn, .oml-stepper__button, .oml-setup-checklist__item[data-checklist-goto], .oml-report-link { transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, opacity 120ms ease, transform 120ms ease; }
.oml-button:active:not(:disabled):not([aria-disabled="true"]),
.oml-icon-button:active:not(:disabled),
.oml-navbar__link:active,
.oml-navbar__icon-btn:active,
.oml-navbar__avatar:active,
.oml-navbar__toggle:active,
.oml-navbar__cta:active,
.oml-navbar__panel-link:active,
.oml-cart-stepper__btn:active,
.oml-stepper__button:active:not(:disabled),
.oml-setup-checklist__item[data-checklist-goto]:active,
.oml-report-link:active { opacity: 0.72; transform: scale(0.97); }
.oml-button--primary:active:not(:disabled), .oml-button--accent:active:not(:disabled) { background: var(--oml-color-primary-dark); box-shadow: 0 4px 10px rgba(106, 91, 148, 0.25); }
.oml-button--secondary:active:not(:disabled), .oml-icon-button:active:not(:disabled) { background: var(--oml-color-primary-tint); border-color: var(--oml-color-primary); }
.oml-tabbar__tab:active { opacity: 0.7; }
.oml-tabbar__tab:active .oml-tabbar__icon { background: var(--oml-color-primary-tint); transform: scale(0.92); }
@media (prefers-reduced-motion: reduce) { .oml-button:active, .oml-tabbar__tab:active .oml-tabbar__icon { transform: none; } }
.oml-button--gated, .oml-follow-pill[aria-disabled="true"] { background: var(--oml-color-line); border-color: transparent; box-shadow: none; color: #5b5f66; }

/* The Save and Next buttons that close every setup tab: Save on the left in the site green, Next beside it. */
.oml-tab-actions
{
	align-items: stretch;
	display: flex;
	flex-wrap: nowrap;
	gap: 12px;
	justify-content: space-between;
	margin-top: 24px;
}
/* Save stays on the left; Next always sits on the right, even when it is the only button. */
.oml-tab-actions [data-tab-next]
{
	margin-left: auto;
}
.oml-tab-actions > .oml-button:only-child
{
	flex: 0 1 auto;
}
.oml-tab-actions .oml-button
{
	flex: 0 1 auto;
	line-height: 1.2;
	min-height: 52px;
	min-width: 0;
	padding: 10px 24px;
	text-align: center;
	width: auto;
}
/* Save is green and Next is orange; both have white text, and both go grey when they are not available. */
/* The same green as the buttons on the sign-in page. */
.oml-tab-actions .oml-button--green
{
	background: var(--oml-color-lime-dark);
	box-shadow: 0 10px 24px rgba(133, 178, 31, 0.34);
	color: #ffffff;
}
.oml-tab-actions .oml-button--green:hover:not(:disabled)
{
	background: #6f9418;
}
.oml-tab-actions .oml-button--orange
{
	background: var(--oml-color-orange-dark);
	box-shadow: 0 10px 24px rgba(242, 153, 74, 0.32);
	color: #ffffff;
}
.oml-tab-actions .oml-button--orange:hover:not(:disabled)
{
	background: #c26a22;
}
.oml-tab-actions .oml-button--green:disabled,
.oml-tab-actions .oml-button--green[aria-disabled="true"],
.oml-tab-actions .oml-button--orange:disabled
{
	background: #bdb8c9;
	box-shadow: none;
	color: #ffffff;
	opacity: 1;
	transform: none;
}
@media (max-width: 640px)
{
	.oml-tab-actions .oml-button
	{
		flex: 1 1 0;
		font-size: 15px;
		padding: 10px 12px;
	}
}

/* Every coloured button keeps its own colour: darker while the pointer is over it, lighter while it is pressed. */
.oml-button.oml-button--primary:hover { background: var(--oml-color-primary-dark); }
.oml-button.oml-button--primary:active:not(:disabled) { background: var(--oml-color-primary-light); opacity: 1; }
.oml-button.oml-button--accent:hover, .oml-navbar .oml-navbar__cta:hover { background: var(--oml-color-secondary-dark); }
.oml-button.oml-button--accent:active:not(:disabled), .oml-navbar .oml-navbar__cta:active { background: #e8738c; opacity: 1; }
.oml-button.oml-button--orange:active:not(:disabled) { background: #e8934f; opacity: 1; }
.oml-button.oml-button--green:active:not(:disabled) { background: #9bc73a; opacity: 1; }
.oml-button.oml-button--danger:active:not(:disabled) { background: #c94a4a; opacity: 1; }
