/*
 * WIS Mietpark Reservierung - widget styles.
 *
 * Everything is scoped under .wis-widget and every property the widget relies on is set explicitly,
 * because the surrounding WordPress theme is unknown: inherited font sizes, list bullets, button
 * resets and box-sizing all differ per theme. Colours come from the Wimmer design tokens (blue 500
 * primary, cool steel neutrals) redeclared here as local custom properties so the plugin carries no
 * dependency on the back-office stylesheet.
 */

.wis-widget {
	--wis-blue-50: #eef3fb;
	--wis-blue-100: #d6dff5;
	--wis-blue-200: #afc2e6;
	--wis-blue-500: #4d80c1;
	--wis-blue-600: #3a66b0;
	--wis-blue-700: #2e5ba8;

	--wis-n-0: #ffffff;
	--wis-n-50: #f6f7f9;
	--wis-n-100: #eceef1;
	--wis-n-200: #dce0e5;
	--wis-n-300: #c3c9d1;
	--wis-n-400: #9aa3ae;
	--wis-n-500: #6b7480;
	--wis-n-700: #3a424d;
	--wis-n-900: #1c2127;

	--wis-success: #2e7d46;
	--wis-success-surface: #e6f4ea;
	--wis-danger: #c0392b;
	--wis-danger-surface: #fbeae8;
	--wis-warning: #c77a0a;
	--wis-warning-surface: #fcf1e0;
	--wis-info: #3a66b0;
	--wis-info-surface: #e7edf9;

	--wis-radius: 10px;
	--wis-gap: 16px;

	box-sizing: border-box;
	max-width: 100%;
	margin: 0 auto;
	color: var(--wis-n-700);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
	text-align: left;
}

.wis-widget *,
.wis-widget *::before,
.wis-widget *::after {
	box-sizing: border-box;
}

.wis-widget--notice {
	padding: 14px 16px;
	border: 1px solid var(--wis-warning);
	border-radius: var(--wis-radius);
	background: var(--wis-warning-surface);
	color: #7a4b06;
}

/* ---------- Shell ---------- */

.wis-card {
	border: 1px solid var(--wis-n-200);
	border-radius: var(--wis-radius);
	background: var(--wis-n-0);
	overflow: hidden;
}

.wis-head {
	padding: 18px 20px 0;
}

.wis-title {
	margin: 0 0 4px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--wis-n-900);
}

.wis-intro {
	margin: 0 0 12px;
	font-size: 15px;
	color: var(--wis-n-500);
}

.wis-body {
	padding: 18px 20px;
	min-height: 220px;
}

.wis-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding: 14px 20px;
	border-top: 1px solid var(--wis-n-200);
	background: var(--wis-n-50);
}

.wis-foot__spacer {
	flex: 1 1 auto;
}

/* ---------- Stepper ---------- */

.wis-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.wis-step {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 12px 5px 6px;
	border: 1px solid var(--wis-n-200);
	border-radius: 999px;
	background: var(--wis-n-0);
	color: var(--wis-n-500);
	font-size: 13px;
	line-height: 1.4;
	cursor: default;
}

.wis-step[data-clickable="1"] {
	cursor: pointer;
}

.wis-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 21px;
	height: 21px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var(--wis-n-100);
	color: var(--wis-n-500);
	font-size: 12px;
	font-weight: 700;
}

.wis-step[data-state="current"] {
	border-color: var(--wis-blue-500);
	background: var(--wis-blue-50);
	color: var(--wis-blue-700);
	font-weight: 600;
}

.wis-step[data-state="current"] .wis-step__num {
	background: var(--wis-blue-500);
	color: #fff;
}

.wis-step[data-state="done"] {
	border-color: var(--wis-blue-200);
	color: var(--wis-blue-700);
}

.wis-step[data-state="done"] .wis-step__num {
	background: var(--wis-blue-100);
	color: var(--wis-blue-700);
}

/* ---------- Klappkaesten (Stufen des Kontaktschritts) ---------- */

/* Der Kontaktschritt zeigt seine Stufen als Klappkaesten statt als zweite Leiste ueber dem
   Formular: eine Leiste sagt nur, wo man steht, der Kasten ist die Stelle selbst. Offen ist immer
   nur einer; die uebrigen bleiben als Zeile stehen, mit ihrer Antwort daneben. */
.wis-acc {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.wis-acc__item {
	border: 1px solid var(--wis-n-200);
	border-radius: var(--wis-radius);
	background: var(--wis-n-0);
	overflow: hidden;
}

.wis-acc__item[data-state="current"] {
	border-color: var(--wis-blue-200);
}

.wis-acc__head {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	margin: 0;
	padding: 11px 14px;
	border: 0;
	background: var(--wis-n-50);
	color: var(--wis-n-700);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
	cursor: pointer;
	transition: background-color .15s ease;
}

.wis-acc__head:hover:not(:disabled) {
	background: var(--wis-n-100);
}

.wis-acc__head:focus-visible {
	outline: 2px solid var(--wis-blue-700);
	outline-offset: -2px;
}

/* Gesperrt heisst hier "noch nicht dran" und nicht "kaputt": die Zeile bleibt lesbar, nur der
   Zeiger sagt, dass sich nichts oeffnet. */
.wis-acc__head:disabled {
	color: var(--wis-n-400);
	cursor: default;
}

.wis-acc__item[data-open="1"] .wis-acc__head {
	background: var(--wis-blue-50);
	color: var(--wis-blue-700);
}

.wis-acc__label {
	flex: 0 1 auto;
}

/* Die Kurzfassung einer zugeklappten Stufe - die bestandene Pruefung, die eingetragene Adresse.
   Sie darf die Beschriftung nie verdraengen, deshalb schrumpft und kuerzt sie zuerst. */
.wis-acc__hint {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	color: var(--wis-n-500);
	font-size: 13px;
	font-weight: 400;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.wis-acc__item[data-open="1"] .wis-acc__hint {
	color: var(--wis-blue-700);
}

/* Der Pfeil ist gezeichnet und kein Zeichen: eine Glyphe haenge am Font des Themes, und der ist
   unbekannt. Zu = nach unten, offen = nach oben. */
.wis-acc__chev {
	width: 8px;
	height: 8px;
	flex: 0 0 auto;
	margin: -4px 2px 0 auto;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .15s ease;
}

.wis-acc__item[data-open="1"] .wis-acc__chev {
	margin-top: 3px;
	transform: rotate(-135deg);
}

.wis-acc__panel {
	padding: 16px 14px;
}

/* Felder und Hinweise bringen ihren eigenen Abstand nach unten mit; am Ende des Kastens waere das
   der Rand ein zweites Mal. */
.wis-acc__panel > :last-child {
	margin-bottom: 0;
}

.wis-acc__panel > .wis-row:last-child .wis-field {
	margin-bottom: 0;
}

/* `hidden` allein genuegt nicht: die Regeln des Themes und die von Cloudflare im
   Turnstile-Container gesetzten stuenden sonst darueber. */
.wis-acc__panel[hidden] {
	display: none !important;
}

/* Haelt ein Element im Dokument, ohne es zu zeigen: der Turnstile-Container muss montiert bleiben,
   auch wenn seine Stufe vorbei ist. `hidden` allein genuegt nicht - Cloudflare setzt am Widget
   eigene display-Regeln, die das Attribut ueberstimmen wuerden. */
.wis-keep[hidden] {
	display: none !important;
}

/* Ueberschrift eines Feldblocks. Der Kontaktschritt zeigt zwei Anschriften mit identischen
   Beschriftungen - ohne Ueberschrift ist "Strasse und Hausnummer" zweimal dasselbe Feld. */
.wis-subhead {
	margin: 4px 0 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--wis-n-900);
}

/* Die abweichende Lieferadresse gehoert sichtbar zu ihrem Haken: eingerueckt und mit einer Kante,
   damit die Felder nicht als zweite, gleichrangige Anschrift gelesen werden. */
.wis-nested {
	margin: 0 0 14px;
	padding: 12px 0 2px 14px;
	border-left: 3px solid var(--wis-blue-100);
}

/* ---------- Counter badge ---------- */

.wis-count {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--wis-blue-50);
	color: var(--wis-blue-700);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

/* ---------- Buttons ---------- */

.wis-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 10px 18px;
	border: 1px solid transparent;
	border-radius: 8px;
	background: var(--wis-blue-500);
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease;
}

.wis-btn:hover:not(:disabled) {
	background: var(--wis-blue-600);
	color: #fff;
}

.wis-btn:focus-visible {
	outline: 2px solid var(--wis-blue-700);
	outline-offset: 2px;
}

.wis-btn:disabled {
	opacity: .5;
	cursor: not-allowed;
}

.wis-btn--secondary {
	background: var(--wis-n-0);
	border-color: var(--wis-n-300);
	color: var(--wis-n-700);
}

.wis-btn--secondary:hover:not(:disabled) {
	background: var(--wis-n-50);
	color: var(--wis-n-900);
}

.wis-btn--ghost {
	background: transparent;
	color: var(--wis-n-500);
}

.wis-btn--ghost:hover:not(:disabled) {
	background: var(--wis-n-100);
	color: var(--wis-n-700);
}

.wis-btn--sm {
	padding: 7px 12px;
	font-size: 14px;
}

/* ---------- Alerts ---------- */

.wis-alert {
	margin: 0 0 12px;
	padding: 12px 14px;
	border: 1px solid var(--wis-n-200);
	border-left-width: 4px;
	border-radius: 8px;
	background: var(--wis-n-50);
	font-size: 14px;
}

.wis-alert__title {
	margin: 0 0 2px;
	font-weight: 700;
	color: var(--wis-n-900);
}

.wis-alert[data-tone="success"] {
	border-left-color: var(--wis-success);
	background: var(--wis-success-surface);
}

.wis-alert[data-tone="danger"] {
	border-left-color: var(--wis-danger);
	background: var(--wis-danger-surface);
}

.wis-alert[data-tone="warning"] {
	border-left-color: var(--wis-warning);
	background: var(--wis-warning-surface);
}

.wis-alert[data-tone="info"] {
	border-left-color: var(--wis-info);
	background: var(--wis-info-surface);
}

/* ---------- Choice grid (Baugruppen) ---------- */

.wis-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 12px;
}

.wis-tile {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	margin: 0;
	padding: 14px;
	border: 1px solid var(--wis-n-200);
	border-radius: var(--wis-radius);
	background: var(--wis-n-0);
	font-family: inherit;
	font-size: 15px;
	text-align: left;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease;
}

/* Die Textspalte darf schmaler werden als ihr laengstes Wort - ohne das schiebt ein Flex-Kind
   die Kachel von innen auf. */
.wis-tile > span {
	min-width: 0;
}

.wis-tile:hover {
	border-color: var(--wis-blue-200);
	background: var(--wis-blue-50);
}

.wis-tile[aria-pressed="true"] {
	border-color: var(--wis-blue-500);
	background: var(--wis-blue-50);
}

.wis-tile__name {
	font-weight: 600;
	color: var(--wis-n-900);
	/* Lange Produktgruppen-Namen ("Separatorschaufeln") fuellten die Textspalte bis an den Rand
	   und klebten dort, waehrend kurze Namen viel Luft hatten. Zusammengesetzte Woerter duerfen
	   deshalb umbrechen; die Trennung uebernimmt der Browser anhand der Seitensprache. */
	overflow-wrap: break-word;
	hyphens: auto;
}

.wis-tile__desc {
	margin-top: 2px;
	font-size: 13px;
	color: var(--wis-n-500);
}

.wis-thumb {
	width: 52px;
	height: 52px;
	flex: 0 0 auto;
	border: 1px solid var(--wis-n-200);
	border-radius: 8px;
	background: var(--wis-n-100) center/cover no-repeat;
}

/* ---------- Accordion (Merkmale) ---------- */

.wis-acc {
	border: 1px solid var(--wis-n-200);
	border-radius: 8px;
	overflow: hidden;
}

.wis-acc + .wis-acc {
	margin-top: 8px;
}

.wis-acc__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	margin: 0;
	padding: 12px 14px;
	border: 0;
	background: var(--wis-n-0);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	color: var(--wis-n-900);
	text-align: left;
	cursor: pointer;
}

.wis-acc[data-open="1"] .wis-acc__head {
	background: var(--wis-blue-50);
}

.wis-acc__value {
	font-size: 14px;
	font-weight: 400;
	color: var(--wis-n-500);
}

.wis-acc[data-answered="1"] .wis-acc__value {
	color: var(--wis-blue-700);
	font-weight: 600;
}

.wis-acc__panel {
	padding: 8px;
	border-top: 1px solid var(--wis-n-200);
}

/* ---------- Option rows ---------- */

.wis-opt {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	margin: 0;
	padding: 9px 10px;
	border: 1px solid transparent;
	border-radius: 6px;
	background: transparent;
	font-family: inherit;
	font-size: 15px;
	color: var(--wis-n-700);
	text-align: left;
	cursor: pointer;
}

.wis-opt:hover {
	background: var(--wis-n-50);
}

.wis-opt[aria-pressed="true"] {
	border-color: var(--wis-blue-500);
	background: var(--wis-blue-50);
}

.wis-opt[data-empty="1"] {
	color: var(--wis-n-400);
}

.wis-opt__radio {
	width: 17px;
	height: 17px;
	flex: 0 0 auto;
	border: 2px solid var(--wis-n-300);
	border-radius: 50%;
}

.wis-opt[aria-pressed="true"] .wis-opt__radio {
	border-color: var(--wis-blue-500);
	background: var(--wis-blue-500);
	box-shadow: inset 0 0 0 3px #fff;
}

.wis-opt__label {
	flex: 1 1 auto;
}

.wis-opt__count {
	padding: 1px 9px;
	border-radius: 999px;
	background: var(--wis-blue-50);
	color: var(--wis-blue-700);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.wis-opt[data-empty="1"] .wis-opt__count {
	background: var(--wis-n-100);
	color: var(--wis-n-400);
}

/* Preis einer Modellzeile: rechtsbündig, damit die Beträge untereinander vergleichbar sind. */
.wis-opt__price {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	align-items: flex-end;
	line-height: 1.25;
	text-align: right;
	white-space: nowrap;
}

.wis-opt__sum {
	font-weight: 600;
	color: var(--wis-n-900);
	/* Zifferngleiche Breite: sonst tanzen die Beträge in der Spalte. */
	font-variant-numeric: tabular-nums;
}

.wis-opt__price[data-muted="1"] .wis-opt__sum {
	font-weight: 500;
	color: var(--wis-n-500);
}

.wis-opt__note {
	font-size: 12px;
	color: var(--wis-n-500);
}

/* Öffentliche Ampel statt Trefferzahl: verfügbar ja/nein, ohne die Menge zu verraten. */
.wis-opt__flag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
	border-radius: 50%;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

.wis-opt__flag[data-free="1"] {
	background: var(--wis-success-surface);
	color: var(--wis-success);
}

.wis-opt__flag[data-free="0"] {
	background: var(--wis-n-100);
	color: var(--wis-n-400);
}

/* Turnstile-Widget bekommt Luft nach oben, damit es nicht am Zustimmungshaken klebt. */
.wis-widget .wis-turnstile {
	margin-top: 4px;
	min-height: 65px;
}

/* ---------- Slider question ---------- */

.wis-slider {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 4px 2px;
}

.wis-slider__row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.wis-slider__scale {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: var(--wis-n-500);
}

.wis-widget input[type="range"] {
	width: 100%;
	accent-color: var(--wis-blue-500);
}

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

.wis-field {
	display: block;
	margin-bottom: 14px;
}

.wis-field__label {
	display: block;
	margin-bottom: 5px;
	font-size: 14px;
	font-weight: 600;
	color: var(--wis-n-700);
}

.wis-field__req {
	color: var(--wis-danger);
}

.wis-widget input[type="text"],
.wis-widget input[type="email"],
.wis-widget input[type="tel"],
.wis-widget input[type="number"],
.wis-widget select,
.wis-widget textarea {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid var(--wis-n-300);
	border-radius: 8px;
	background: var(--wis-n-0);
	color: var(--wis-n-900);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.4;
}

.wis-widget input[type="number"] {
	width: 110px;
}

.wis-widget textarea {
	min-height: 84px;
	resize: vertical;
}

.wis-widget input:focus-visible,
.wis-widget select:focus-visible,
.wis-widget textarea:focus-visible {
	outline: 2px solid var(--wis-blue-500);
	outline-offset: 1px;
	border-color: var(--wis-blue-500);
}

.wis-field--invalid input,
.wis-field--invalid textarea {
	border-color: var(--wis-danger);
}

.wis-field__error {
	margin-top: 4px;
	font-size: 13px;
	color: var(--wis-danger);
}

/* Begruendung unter einem festgelegten Feld, z. B. der erzwungenen Übergabeart bei Einschulungspflicht. */
.wis-field__hint {
	display: block;
	margin-top: 5px;
	font-size: 13px;
	line-height: 1.4;
	color: var(--wis-n-500);
}

.wis-widget select:disabled,
.wis-widget input:disabled {
	background: var(--wis-n-100);
	color: var(--wis-n-700);
	border-color: var(--wis-n-200);
	cursor: not-allowed;
	/* Der Wert bleibt gut lesbar: das Feld ist festgelegt, nicht ausgegraut-bedeutungslos. */
	opacity: 1;
	-webkit-text-fill-color: var(--wis-n-700);
}

.wis-check {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 14px;
	line-height: 1.45;
	cursor: pointer;
}

.wis-check input {
	margin: 3px 0 0;
	flex: 0 0 auto;
}

.wis-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 14px;
}

@media (max-width: 560px) {
	.wis-row {
		grid-template-columns: 1fr;
	}
}

/* Honeypot: kept in the layout for bots, invisible and unreachable for people. */
.wis-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* ---------- Calendar ---------- */

.wis-cal {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.wis-cal__nav {
	display: flex;
	align-items: center;
	gap: 8px;
}

.wis-cal__range {
	margin-left: auto;
	font-size: 14px;
	color: var(--wis-n-500);
}

.wis-cal__months {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
}

@media (max-width: 560px) {
	.wis-cal__months {
		grid-template-columns: 1fr;
	}
}

.wis-cal__title {
	margin-bottom: 8px;
	font-size: 15px;
	font-weight: 600;
	color: var(--wis-n-900);
	text-align: center;
}

.wis-cal__grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
}

.wis-cal__wd {
	padding: 2px 0;
	font-size: 11px;
	color: var(--wis-n-500);
	text-align: center;
}

.wis-cal__day {
	margin: 0;
	padding: 8px 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--wis-n-700);
	font-family: inherit;
	font-size: 14px;
	cursor: pointer;
}

.wis-cal__day:hover:not(:disabled) {
	background: var(--wis-n-100);
}

.wis-cal__day:disabled {
	color: var(--wis-n-300);
	text-decoration: line-through;
	cursor: not-allowed;
}

.wis-cal__day[data-in-range="1"] {
	border-radius: 0;
	background: var(--wis-blue-50);
}

.wis-cal__day[data-endpoint="1"] {
	background: var(--wis-blue-500);
	color: #fff;
	font-weight: 700;
}

.wis-cal__legend {
	font-size: 12px;
	color: var(--wis-n-500);
}

/* ---------- Device list ---------- */

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

.wis-list > li + li {
	margin-top: 8px;
}

.wis-device {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid var(--wis-n-200);
	border-radius: 8px;
	background: var(--wis-n-0);
}

.wis-device__main {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	flex: 1 1 auto;
}

.wis-device__name {
	font-weight: 600;
	color: var(--wis-n-900);
}

.wis-device__meta {
	margin-top: 2px;
	font-size: 13px;
	color: var(--wis-n-500);
}

.wis-device__side {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

@media (max-width: 560px) {
	.wis-device {
		flex-wrap: wrap;
	}

	.wis-device__side {
		width: 100%;
		justify-content: space-between;
	}
}

.wis-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--wis-n-100);
	color: var(--wis-n-500);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.wis-badge::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}

.wis-badge[data-tone="success"] {
	background: var(--wis-success-surface);
	color: var(--wis-success);
}

.wis-badge[data-tone="warning"] {
	background: var(--wis-warning-surface);
	color: var(--wis-warning);
}

/* ---------- Summary ---------- */

.wis-summary {
	margin: 0 0 16px;
	padding: 14px 16px;
	border: 1px solid var(--wis-n-200);
	border-radius: 8px;
	background: var(--wis-n-50);
}

.wis-summary dl {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 6px 16px;
	margin: 0;
}

.wis-summary dt {
	margin: 0;
	color: var(--wis-n-500);
	font-size: 14px;
}

.wis-summary dd {
	margin: 0;
	color: var(--wis-n-900);
	font-size: 14px;
	text-align: right;
}

.wis-summary__total {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid var(--wis-n-200);
	font-size: 16px;
	font-weight: 700;
	color: var(--wis-n-900);
}

/* ---------- States ---------- */

.wis-muted {
	color: var(--wis-n-500);
	font-size: 15px;
}

.wis-spinner {
	display: inline-block;
	width: 15px;
	height: 15px;
	border: 2px solid var(--wis-n-200);
	border-top-color: var(--wis-blue-500);
	border-radius: 50%;
	animation: wis-spin .7s linear infinite;
	vertical-align: -2px;
	margin-right: 7px;
}

@keyframes wis-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.wis-spinner {
		animation-duration: 2.4s;
	}

	.wis-btn,
	.wis-tile,
	.wis-acc__head,
	.wis-acc__chev {
		transition: none;
	}
}

.wis-done {
	padding: 26px 20px;
	text-align: center;
}

.wis-done__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: var(--wis-success-surface);
	color: var(--wis-success);
	font-size: 26px;
	font-weight: 700;
}

.wis-done__num {
	display: inline-block;
	margin-top: 6px;
	padding: 5px 12px;
	border-radius: 6px;
	background: var(--wis-n-100);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 15px;
	color: var(--wis-n-900);
}

.wis-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
