/**
 * helpo admin styles.
 *
 * Deliberately thin and deliberately native: wp-admin already has a typeface,
 * a gray page background and a card shadow, and an admin screen that ignores
 * them looks like a foreign object. Everything here either arranges
 * @wordpress/components or fills a gap they leave. The one exception is the
 * accent: --kasp-brand is helpo red, used where wp-admin would use its blue.
 *
 * 782px is WordPress's own admin breakpoint (the point where wp-admin switches
 * to touch sizing), so it is the one this file uses too.
 */

.kasp-admin {
	--kasp-brand: #ce404c;
	--kasp-brand-hover: #b5333e;
	--kasp-green: #00a32a;
	--kasp-amber: #dba617;
	--kasp-red: #d63638;
	--kasp-line: #dcdcde;
	--kasp-muted: #646970;

	max-width: 1200px;
	margin-right: 20px;
}

.kasp-admin .components-notice {
	margin: 0 0 16px;
}

/* ---------------------------------------------------------------- header - */

.kasp-header {
	margin: 0 0 16px;
}

.kasp-header__identity {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin: 0 0 8px;
}

.kasp-header__title {
	margin: 0;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
}

.kasp-header__project {
	font-size: 14px;
	color: var(--kasp-muted);
}

.kasp-header__version {
	align-self: center;
	padding: 0 4px 6px;
	margin-left: auto;
	font-size: 11px;
	color: #a7aaad;
}

.kasp-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
}

.kasp-main {
	margin: 0;
}

/* ----------------------------------------------------------------- cards - */

.kasp-stack {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.kasp-section {
	margin: 0 0 16px;
}

.kasp-stack > .kasp-section,
.kasp-two > .kasp-section {
	margin: 0;
}

.kasp-section__head {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	justify-content: space-between;
	padding: 14px 16px 0;
}

.kasp-section__title {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
}

.kasp-section__description {
	max-width: 70ch;
	margin: 4px 0 0;
	font-size: 13px;
	color: var(--kasp-muted);
}

.kasp-section__actions {
	flex-shrink: 0;
}

.kasp-two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	align-items: start;
}

.kasp-footnote {
	margin: 0;
	font-size: 13px;
}

/* --------------------------------------------------------------- loading - */

.kasp-loading {
	display: flex;
	gap: 8px;
	align-items: center;
	padding: 24px 0;
	color: var(--kasp-muted);
}

.kasp-skeleton {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 6px 0;
}

.kasp-skeleton__row {
	display: block;
	height: 14px;
	background: linear-gradient(90deg, #f0f0f1, #e6e7e8, #f0f0f1);
	background-size: 200% 100%;
	border-radius: 3px;
	animation: kasp-shimmer 1.4s ease-in-out infinite;
}

.kasp-skeleton__row:nth-child(2n) {
	width: 78%;
}

@keyframes kasp-shimmer {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kasp-skeleton__row {
		animation: none;
	}
}

.kasp-empty {
	padding: 24px 8px;
	color: var(--kasp-muted);
	text-align: center;
}

.kasp-empty__title {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: #1d2327;
}

.kasp-empty__description {
	max-width: 46ch;
	margin: 6px auto 0;
}

.kasp-empty__action {
	margin-top: 12px;
}

/* --------------------------------------------------------------- badges - */

.kasp-badge {
	display: inline-block;
	padding: 2px 8px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.7;
	color: #3c434a;
	text-transform: none;
	background: #f0f0f1;
	border-radius: 9px;
}

.kasp-badge--success {
	color: #005c12;
	background: #edfaef;
}

.kasp-badge--warning {
	color: #7a5c00;
	background: #fcf9e8;
}

.kasp-badge--error {
	color: #8a2424;
	background: #fcf0f1;
}

.kasp-badge--info {
	color: #1a4b7a;
	background: #eef4fb;
}

/* ---------------------------------------------------------------- tiles - */

.kasp-tiles {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.kasp-tile {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px 16px;
	color: inherit;
	text-decoration: none;
	background: #fff;
	border: 1px solid var(--kasp-line);
	border-radius: 4px;
}

.kasp-tile--link:hover {
	border-color: var(--kasp-brand-hover);
}

.kasp-tile__label {
	font-size: 12px;
	color: var(--kasp-muted);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.kasp-tile__value {
	font-size: 26px;
	font-weight: 600;
	line-height: 1.2;
}

.kasp-tile__hint {
	font-size: 12px;
	color: #8c8f94;
}

/* ----------------------------------------------------------------- live - */

.kasp-live {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	padding: 12px 16px;
	background: #fff;
	border: 1px solid var(--kasp-line);
	border-left: 4px solid var(--kasp-amber);
	border-radius: 4px;
}

.kasp-live.is-live {
	border-left-color: var(--kasp-green);
}

/* --------------------------------------------------------------- charts - */

.kasp-chart {
	margin: 0;
}

.kasp-chart__svg {
	display: block;
	width: 100%;
	height: 180px;
}

.kasp-chart__axis {
	stroke: var(--kasp-line);
	stroke-width: 1;
}

.kasp-chart__caption {
	display: flex;
	justify-content: space-between;
	margin-top: 6px;
	font-size: 12px;
	color: var(--kasp-muted);
}

.kasp-chart__empty {
	padding: 20px 0;
	margin: 0;
	color: var(--kasp-muted);
	text-align: center;
}

.kasp-split__bar {
	display: flex;
	height: 14px;
	overflow: hidden;
	background: #f0f0f1;
	border-radius: 7px;
}

.kasp-split__segment {
	display: block;
	height: 100%;
}

.kasp-split__legend {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 0;
	margin: 12px 0 0;
	font-size: 13px;
	list-style: none;
}

.kasp-split__legend li {
	display: flex;
	gap: 8px;
	align-items: center;
	margin: 0;
}

.kasp-split__legend strong {
	margin-left: auto;
}

.kasp-split__dot {
	flex-shrink: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
}

.kasp-split__percent {
	width: 42px;
	color: var(--kasp-muted);
	text-align: right;
}

/* ---------------------------------------------------------------- meters - */

.kasp-meter {
	margin: 0 0 14px;
}

.kasp-meter__head {
	display: flex;
	justify-content: space-between;
	margin-bottom: 4px;
	font-size: 13px;
}

.kasp-meter__value {
	font-variant-numeric: tabular-nums;
	color: var(--kasp-muted);
}

.kasp-meter__track {
	height: 8px;
	overflow: hidden;
	background: #f0f0f1;
	border-radius: 4px;
}

.kasp-meter__fill {
	display: block;
	height: 100%;
	background: var(--kasp-brand);
}

.kasp-meter__fill--warning {
	background: var(--kasp-amber);
}

.kasp-meter__fill--error {
	/* Deep maroon: the ok fill is already brand red, so overage needs its own tone. */
	background: #7a1c24;
}

/*
 * Primary CTAs come from @wordpress/components, which paints them in the core
 * admin blue. Re-tint them with the brand inside our screens only.
 */
.kasp-admin .components-button.is-primary {
	background: var(--kasp-brand);
	border-color: var(--kasp-brand);
	color: #fff;
}

.kasp-admin .components-button.is-primary:hover:not(:disabled),
.kasp-admin .components-button.is-primary:active:not(:disabled) {
	background: var(--kasp-brand-hover);
	border-color: var(--kasp-brand-hover);
	color: #fff;
}

.kasp-admin .components-button.is-primary:focus:not(:disabled) {
	box-shadow: inset 0 0 0 1px #fff, 0 0 0 2px var(--kasp-brand);
}

/* Text-style buttons and plain links inside our screens follow the brand too. */
.kasp-admin .components-button.is-secondary,
.kasp-admin .components-button.is-tertiary,
.kasp-admin .components-button.is-link {
	color: var(--kasp-brand);
}

.kasp-admin .components-button.is-secondary {
	box-shadow: inset 0 0 0 1px var(--kasp-brand);
}

.kasp-admin .components-button.is-secondary:hover:not(:disabled),
.kasp-admin .components-button.is-tertiary:hover:not(:disabled),
.kasp-admin .components-button.is-link:hover:not(:disabled) {
	color: var(--kasp-brand-hover);
}

.kasp-admin .components-button.is-secondary:hover:not(:disabled) {
	box-shadow: inset 0 0 0 1px var(--kasp-brand-hover);
}

.kasp-admin .components-button.is-secondary:focus:not(:disabled),
.kasp-admin .components-button.is-tertiary:focus:not(:disabled),
.kasp-admin .components-button.is-link:focus:not(:disabled) {
	box-shadow: inset 0 0 0 1px var(--kasp-brand), 0 0 0 1px var(--kasp-brand);
}

.kasp-admin a:not(.components-button):not(.nav-tab) {
	color: var(--kasp-brand);
}

.kasp-admin a:not(.components-button):not(.nav-tab):hover,
.kasp-admin a:not(.components-button):not(.nav-tab):focus {
	color: var(--kasp-brand-hover);
}

.kasp-admin .components-button.is-primary:disabled,
.kasp-admin .components-button.is-primary[aria-disabled="true"] {
	background: color-mix(in srgb, var(--kasp-brand) 55%, #fff);
	border-color: transparent;
	color: #fff;
}

.kasp-meter__note,
.kasp-usage__line {
	margin: 6px 0 0;
	font-size: 13px;
	color: var(--kasp-muted);
}

/* ------------------------------------------------------------- checklist - */

.kasp-checklist {
	padding: 0;
	margin: 0;
	list-style: none;
}

.kasp-check {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 8px 0;
	margin: 0;
	border-bottom: 1px solid #f0f0f1;
}

.kasp-check:last-child {
	border-bottom: 0;
}

.kasp-check__mark {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	font-size: 12px;
	color: var(--kasp-muted);
	background: #f0f0f1;
	border-radius: 50%;
}

.kasp-check.is-done .kasp-check__mark {
	color: var(--kasp-green);
	background: #edfaef;
}

.kasp-check__action {
	margin-left: auto;
}

.kasp-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* ------------------------------------------------------------------ hero - */

.kasp-hero {
	max-width: 760px;
	margin: 20px 0;
}

.kasp-hero__title {
	margin: 0 0 8px;
	font-size: 22px;
}

.kasp-hero__lead {
	max-width: 62ch;
	margin: 0 0 18px;
	font-size: 15px;
	color: #3c434a;
}

.kasp-hero__benefits {
	display: grid;
	gap: 14px;
	padding: 0;
	margin: 0 0 22px;
	list-style: none;
}

.kasp-hero__benefits li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
}

.kasp-hero__benefits span {
	color: var(--kasp-muted);
}

.kasp-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.kasp-hero__note {
	font-size: 13px;
	color: var(--kasp-muted);
}

.kasp-hero__fineprint {
	margin: 18px 0 0;
	font-size: 12px;
	color: #8c8f94;
}

/* ---------------------------------------------------------------- fields - */

.kasp-field {
	margin: 0 0 18px;
}

.kasp-field__label {
	display: block;
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
}

.kasp-field__help {
	margin: 0 0 8px;
	font-size: 12px;
	color: var(--kasp-muted);
}

.kasp-field__pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.kasp-fieldset {
	padding: 0;
	margin: 0 0 18px;
	border: 0;
}

.kasp-fieldset legend {
	padding: 0;
	margin-bottom: 8px;
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
}

.kasp-checkgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 4px 16px;
}

.kasp-savebar {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 4px 0 8px;
}

.kasp-savebar__hint {
	font-size: 13px;
	color: var(--kasp-amber);
}

.kasp-modal__actions {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
	margin-top: 20px;
}

/* ---------------------------------------------------------------- import - */

.kasp-import__summary {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: baseline;
	justify-content: space-between;
}

.kasp-import__summary p {
	margin: 0;
}

.kasp-import__list {
	/* A <fieldset>: reset the UA sizing quirk before it clips the rows. */
	min-width: 0;
	max-height: 320px;
	padding: 8px 12px;
	margin: 12px 0;
	overflow-y: auto;
	border: 1px solid var(--kasp-line);
	border-radius: 4px;
}

.kasp-import__row {
	display: flex;
	gap: 12px;
	align-items: baseline;
	justify-content: space-between;
	padding: 4px 0;
	border-bottom: 1px solid #f6f7f7;
}

.kasp-import__row:last-child {
	border-bottom: 0;
}

.kasp-import__meta {
	display: flex;
	flex-shrink: 0;
	gap: 8px;
	align-items: center;
	font-size: 12px;
	color: var(--kasp-muted);
}

.kasp-import__meta code {
	padding: 0;
	font-size: 12px;
	background: transparent;
}

.kasp-import__type {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.kasp-import__synced {
	color: var(--kasp-green);
}

.kasp-import__capactions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.kasp-import__truncated {
	font-size: 12px;
	color: var(--kasp-muted);
}

/* The "4 of 5 pages used" line kasp sends alongside a plan-cap 402. */
.kasp-notice__usage {
	font-weight: 600;
}

/* ----------------------------------------------------------------- store - */

.kasp-store__preview {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 10px;
	padding: 0;
	margin: 12px 0;
	list-style: none;
}

.kasp-store__preview li {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 8px;
	margin: 0;
	font-size: 12px;
	border: 1px solid var(--kasp-line);
	border-radius: 4px;
}

.kasp-store__preview img,
.kasp-store__noimage {
	display: block;
	width: 100%;
	height: 84px;
	object-fit: cover;
	background: #f0f0f1;
	border-radius: 3px;
}

.kasp-store__title {
	font-weight: 600;
}

.kasp-store__price {
	color: var(--kasp-muted);
}

/* ---------------------------------------------------------------- tables - */

.kasp-tablewrap {
	overflow-x: auto;
}

.kasp-table td,
.kasp-table th {
	vertical-align: top;
}

.kasp-table__sub {
	font-size: 12px;
	color: var(--kasp-muted);
	word-break: break-all;
}

.kasp-table__error {
	margin-top: 4px;
	font-size: 12px;
	color: var(--kasp-red);
}

.kasp-table__actions {
	text-align: right;
	white-space: nowrap;
}

.kasp-errorlog {
	padding: 0;
	margin: 0;
	font-size: 13px;
	list-style: none;
}

.kasp-errorlog li {
	display: flex;
	gap: 10px;
	padding: 6px 0;
	margin: 0;
	border-bottom: 1px solid #f0f0f1;
}

.kasp-errorlog__time {
	flex-shrink: 0;
	min-width: 160px;
	color: var(--kasp-muted);
}

/* --------------------------------------------------------- conversations - */

.kasp-conv {
	display: grid;
	grid-template-columns: minmax(280px, 360px) 1fr;
	gap: 16px;
	align-items: start;
}

.kasp-conv__list,
.kasp-conv__detail {
	padding: 12px;
	background: #fff;
	border: 1px solid var(--kasp-line);
	border-radius: 4px;
}

.kasp-conv__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 8px;
}

.kasp-conv__refresh {
	margin-left: auto;
}

.kasp-convlist {
	max-height: 620px;
	padding: 0;
	margin: 0;
	overflow-y: auto;
	list-style: none;
}

.kasp-convlist__item {
	margin: 0;
	border-bottom: 1px solid #f0f0f1;
}

.kasp-convlist__link {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 10px 8px;
	color: inherit;
	text-decoration: none;
	border-radius: 3px;
}

.kasp-convlist__link:hover,
.kasp-convlist__link:focus {
	color: inherit;
	background: #f6f7f7;
}

.kasp-convlist__item.is-active .kasp-convlist__link {
	background: #fbf0f1;
	box-shadow: inset 3px 0 0 var(--kasp-brand);
}

.kasp-convlist__top {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: space-between;
}

.kasp-convlist__title {
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: 600;
	white-space: nowrap;
}

.kasp-convlist__preview {
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 13px;
	color: #3c434a;
	white-space: nowrap;
}

.kasp-convlist__meta {
	font-size: 12px;
	color: var(--kasp-muted);
}

.kasp-detail__head {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 12px;
}

.kasp-detail__title {
	margin: 0;
	font-size: 16px;
}

.kasp-detail__meta {
	margin: 2px 0 0;
	font-size: 12px;
	color: var(--kasp-muted);
}

.kasp-detail__lead {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	padding: 8px 12px;
	margin-bottom: 12px;
	font-size: 13px;
	background: #f6f7f7;
	border-radius: 4px;
}

.kasp-detail__summary {
	margin: 0 0 12px;
	font-style: italic;
	color: var(--kasp-muted);
}

.kasp-detail__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 12px;
}

.kasp-thread {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-height: 620px;
	padding: 0;
	margin: 0;
	overflow-y: auto;
	list-style: none;
}

.kasp-msg {
	max-width: 78%;
	padding: 8px 12px;
	margin: 0;
	background: #f0f0f1;
	border-radius: 10px;
}

.kasp-msg__who {
	display: flex;
	gap: 8px;
	align-items: baseline;
	margin-bottom: 2px;
	font-size: 11px;
	font-weight: 600;
	color: var(--kasp-muted);
}

.kasp-msg__time {
	font-weight: 400;
}

.kasp-msg__body {
	/* Transcripts arrive as plain text; only the line breaks are honoured. */
	overflow-wrap: anywhere;
	/* Transcripts arrive as plain text; only the line breaks are honoured. */
	white-space: pre-wrap;
}

.kasp-msg__parts {
	margin: 6px 0 0;
	font-size: 12px;
	color: var(--kasp-muted);
}

/* A store button's product / order, above the shopper's first message. */
.kasp-msg__context {
	padding: 6px 8px;
	margin: 2px 0 6px;
	font-size: 12px;
	background: #fff;
	border: 1px solid var(--kasp-line);
	border-radius: 6px;
}

.kasp-msg__context-kicker {
	color: var(--kasp-muted);
}

.kasp-msg--visitor {
	background: #f6f7f7;
	border: 1px solid var(--kasp-line);
}

.kasp-msg--ai {
	margin-left: auto;
	background: #eef4fb;
}

.kasp-msg--agent {
	margin-left: auto;
	background: #edfaef;
}

.kasp-msg--system {
	max-width: 100%;
	font-size: 12px;
	color: var(--kasp-muted);
	text-align: center;
	background: transparent;
}

.kasp-msg--note {
	max-width: 100%;
	background: #fcf9e8;
	border: 1px dashed #dba617;
}

.kasp-conv__more {
	margin: 10px 0 0;
	font-size: 13px;
}

/* ------------------------------------------------------------ appearance - */

.kasp-appearance__grid {
	display: grid;
	grid-template-columns: minmax(320px, 420px) 1fr;
	gap: 16px;
	align-items: start;
}

.kasp-appearance__form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.kasp-appearance__form > .kasp-section {
	margin: 0;
}

.kasp-appearance__preview {
	position: sticky;
	top: 46px;
}

.kasp-preview {
	padding: 10px;
	background: #fff;
	border: 1px solid var(--kasp-line);
	border-radius: 4px;
}

.kasp-preview__toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-bottom: 8px;
}

.kasp-preview__hint {
	margin-left: auto;
	font-size: 12px;
	color: var(--kasp-muted);
}

.kasp-preview__frame {
	display: block;
	width: 100%;
	height: 560px;
	background: #f6f7f9;
	border: 1px solid var(--kasp-line);
	border-radius: 4px;
}

.kasp-preview__mock {
	position: relative;
	height: 320px;
	background: #f6f7f9;
	border: 1px dashed var(--kasp-line);
	border-radius: 4px;
}

.kasp-preview__mockNote {
	padding: 12px;
	margin: 0;
	font-size: 12px;
	color: var(--kasp-muted);
}

.kasp-preview__bubble {
	position: absolute;
	bottom: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.kasp-preview__bubble--right {
	right: 16px;
}

.kasp-preview__bubble--left {
	left: 16px;
}

/* ---------------------------------------------------------------- wizard - */

.kasp-wizard {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.kasp-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.kasp-steps__item {
	margin: 0;
}

.kasp-steps__button {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	padding: 8px 14px;
	font-size: 13px;
	color: #3c434a;
	cursor: pointer;
	background: #fff;
	border: 1px solid var(--kasp-line);
	border-radius: 20px;
}

.kasp-steps__button:focus-visible {
	outline: 2px solid var(--kasp-brand);
	outline-offset: 1px;
}

.kasp-steps__item.is-current .kasp-steps__button {
	font-weight: 600;
	color: var(--kasp-brand);
	border-color: var(--kasp-brand);
}

.kasp-steps__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	font-size: 11px;
	background: #f0f0f1;
	border-radius: 50%;
}

.kasp-steps__item.is-done .kasp-steps__number {
	color: var(--kasp-green);
	background: #edfaef;
}

.kasp-wizard__split {
	display: grid;
	grid-template-columns: minmax(320px, 1fr) 1fr;
	gap: 16px;
	align-items: start;
}

.kasp-wizard__nav {
	display: flex;
	gap: 12px;
	justify-content: space-between;
}

.kasp-wizard__nav > :only-child {
	margin-left: auto;
}

.kasp-verify {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.kasp-verify--ok {
	flex-direction: row;
	align-items: center;
}

.kasp-verify__mark {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	font-size: 20px;
	color: var(--kasp-green);
	background: #edfaef;
	border-radius: 50%;
}

.kasp-verify__title {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
}

.kasp-verify__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.kasp-boundary {
	padding: 12px 16px;
}

/* --------------------------------------------------------------- narrow - */

@media screen and (max-width: 960px) {
	.kasp-tiles {
		grid-template-columns: repeat(2, 1fr);
	}

	.kasp-two,
	.kasp-conv,
	.kasp-appearance__grid,
	.kasp-wizard__split {
		grid-template-columns: 1fr;
	}

	.kasp-appearance__preview {
		position: static;
	}
}

@media screen and (max-width: 782px) {
	.kasp-admin {
		margin-right: 12px;
	}

	.kasp-tiles {
		grid-template-columns: 1fr;
	}

	.kasp-field__pair {
		grid-template-columns: 1fr;
	}

	.kasp-header__version {
		display: none;
	}

	.kasp-msg {
		max-width: 92%;
	}

	.kasp-errorlog li {
		flex-direction: column;
		gap: 2px;
	}
}

/* Storefront settings (components/storefront-settings.js). */
.kasp-stack--tight {
	gap: 8px;
}

.kasp-stack--tight > p {
	margin: 0;
}

.kasp-inline-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}
