.zsb-location-tools {
	align-items: center;
	background: rgba(255, 255, 255, 0.4);
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 14px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 0.9rem;
	margin-top: 0.85rem;
	padding: 0.85rem;
}

.zsb-location-button {
	appearance: none;
	background: rgba(255, 255, 255, 0.58);
	border: 1px solid rgba(126, 114, 102, 0.34);
	border-radius: 12px;
	color: var(--zsp-single-text, var(--zsp-color-text, #2f2a26));
	cursor: pointer;
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	padding: 0.55rem 0.75rem;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.zsb-location-button:hover,
.zsb-location-button:focus {
	background: rgba(255, 255, 255, 0.76);
	border-color: rgba(126, 114, 102, 0.5);
	color: var(--zsp-color-primary-dark, currentColor);
}

.zsb-location-button:focus-visible {
	outline: 3px solid var(--zsp-color-primary, currentColor);
	outline-offset: 2px;
}

.zsb-location-status {
	color: var(--zsp-single-text-muted, var(--zsp-color-text-muted, #6f655d));
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.35;
	min-height: 1.35em;
}

.zsb-location-tools--inline {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	display: inline-flex;
	gap: 0.35rem 0.55rem;
	margin-top: 0;
	min-width: 0;
	padding: 0;
}

.zsb-location-tools--inline .zsb-location-button {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: var(--zsp-archive-card-accent, var(--zsp-archive-list-accent, var(--zsp-color-primary-dark, currentColor)));
	display: inline-flex;
	font-size: 0.86rem;
	font-weight: 600;
	gap: 0.38rem;
	padding: 0;
	text-align: left;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.zsb-location-tools--inline .zsb-location-button:hover,
.zsb-location-tools--inline .zsb-location-button:focus {
	background: transparent;
	border-color: transparent;
	color: var(--zsp-color-primary-dark, currentColor);
}

.zsb-location-tools--inline .zsb-location-button[hidden],
.zsb-location-tools--inline[data-zsb-location-state="done"] .zsb-location-button {
	display: none;
}

.zsb-location-tools--inline .zsb-location-button::before,
.zsb-location-tools--inline[data-zsb-location-state="done"] .zsb-location-status::before {
	background: currentColor;
	content: "";
	flex: 0 0 auto;
	height: 1em;
	mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20%2010c0%204.993-5.539%2010.193-7.399%2011.799a1%201%200%200%201-1.202%200C9.539%2020.193%204%2014.993%204%2010a8%208%200%200%201%2016%200'/%3E%3Ccircle%20cx='12'%20cy='10'%20r='3'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20%2010c0%204.993-5.539%2010.193-7.399%2011.799a1%201%200%200%201-1.202%200C9.539%2020.193%204%2014.993%204%2010a8%208%200%200%201%2016%200'/%3E%3Ccircle%20cx='12'%20cy='10'%20r='3'/%3E%3C/svg%3E") center / contain no-repeat;
	width: 1em;
}

.zsb-location-tools--inline .zsb-location-status {
	align-items: center;
	color: var(--zsp-archive-text-muted, var(--zsp-color-text-muted, #6f655d));
	display: inline-flex;
	font-size: 0.86rem;
	font-weight: 600;
	gap: 0.38rem;
	min-height: 0;
}

.zsp-archive-card__meta-group .zsb-location-tools--inline {
	display: flex;
}

.zsp-archive-list-item__kicker .zsb-location-tools--inline {
	flex-basis: 100%;
}

.zsb-location-tools [hidden] {
	display: none !important;
}

.zsb-location-note,
.zsb-location-help {
	flex-basis: 100%;
	font-size: 0.8rem;
	font-weight: 400;
	line-height: 1.45;
	text-transform: none;
	letter-spacing: normal;
	color: var(--zsp-archive-text, var(--zsp-color-text, #2f2a26));
}

.zsb-location-help-toggle {
	appearance: none;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	font: inherit;
	padding: 0.4rem 0;
	text-align: left;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.zsb-location-help-toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.zsb-location-help-content,
.zsb-location-help-content > span,
.zsb-location-help-content > strong {
	display: block;
	margin-block-start: 0.6rem;
}

.zsb-location-button:disabled {
	cursor: wait;
	opacity: 0.65;
}
