.wpsf-label {
	box-sizing: border-box;
	width: min(100%, var(--wpsf-width, 350px));
	background: #fff;
	color: #000;
	border: 1px solid #000;
	padding: 6px 8px 8px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: var(--wpsf-font-size, 8pt);
	line-height: calc(var(--wpsf-font-size, 8pt) + 1pt);
	letter-spacing: 0;
}

.wpsf-label *,
.wpsf-label *::before,
.wpsf-label *::after {
	box-sizing: border-box;
}

.wpsf-transparent {
	background: transparent;
}

.wpsf-no-border {
	border-width: 0;
}

.wpsf-title {
	font-size: var(--wpsf-title-font-size, 24pt);
	font-weight: 900;
	line-height: 0.94;
	padding: 0 0 2px;
	border-bottom: 0;
	letter-spacing: 0;
	white-space: nowrap;
}

.wpsf-serving {
	font-size: var(--wpsf-serving-font-size, 8pt);
	line-height: calc(var(--wpsf-serving-font-size, 8pt) + 2pt);
	padding-top: 2px;
}

.wpsf-serving strong,
.wpsf-head-row,
.wpsf-strong {
	font-weight: 700;
}

.wpsf-heavy-rule {
	height: 8px;
	background: #000;
	margin: 4px 0 3px;
}

.wpsf-medium-rule {
	height: 5px;
	background: #000;
	margin: 0;
}

.wpsf-section-rule {
	height: 5px;
	background: #000;
	margin: 0;
}

.wpsf-hairline-rule {
	height: 1px;
	background: #000;
	margin: 0;
}

.wpsf-head-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(64px, auto);
	gap: 6px;
	align-items: end;
	min-height: 12px;
	font-size: var(--wpsf-header-font-size, 6pt);
	line-height: calc(var(--wpsf-header-font-size, 6pt) + 1pt);
	padding: 2px 0 1px;
	text-align: right;
}

.wpsf-head-row > div:first-child {
	text-align: left;
}

.wpsf-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(34px, auto);
	gap: 5px;
	align-items: baseline;
	border-top: 0.5px solid #000;
	min-height: calc(var(--wpsf-font-size, 8pt) + 3pt);
	padding: 1px 0;
	font-size: var(--wpsf-font-size, 8pt);
	line-height: calc(var(--wpsf-font-size, 8pt) + 1pt);
}

.wpsf-row-name {
	min-width: 0;
	word-break: normal;
	overflow-wrap: anywhere;
}

.wpsf-row-name span {
	font-weight: 400;
}

.wpsf-row-amount,
.wpsf-row-dv {
	text-align: right;
	white-space: nowrap;
}

.wpsf-row-dv {
	font-weight: 700;
}

.wpsf-row-name,
.wpsf-strong .wpsf-row-amount {
	font-weight: 700;
}

.wpsf-indent .wpsf-row-name {
	font-weight: 400;
}

.wpsf-indent .wpsf-row-name {
	padding-left: 12px;
}

.wpsf-footnote {
	font-size: var(--wpsf-footnote-font-size, 6pt);
	line-height: calc(var(--wpsf-footnote-font-size, 6pt) + 1pt);
	padding-top: 2px;
}

.wpsf-extra {
	border-top: 0.5px solid #000;
	margin-top: 4px;
	padding-top: 3px;
	font-size: var(--wpsf-other-font-size, 6pt);
	line-height: calc(var(--wpsf-other-font-size, 6pt) + 1pt);
}

.wpsf-extra p {
	margin: 0 0 2px;
	padding: 0;
}

.wpsf-layout-inline {
	width: min(100%, var(--wpsf-width, 700px));
}

.wpsf-layout-inline .wpsf-title {
	font-size: var(--wpsf-title-font-size, 16pt);
	line-height: 1;
	display: inline;
	margin-right: 8px;
}

.wpsf-layout-inline .wpsf-serving {
	display: inline;
}

.wpsf-layout-inline .wpsf-serving div {
	display: inline;
	margin-right: 8px;
}

.wpsf-layout-inline .wpsf-heavy-rule,
.wpsf-layout-inline .wpsf-section-rule,
.wpsf-layout-inline .wpsf-hairline-rule,
.wpsf-layout-inline .wpsf-head-row {
	display: none;
}

.wpsf-layout-inline .wpsf-row {
	display: inline;
	border-top: 0;
	padding: 0;
	margin-right: 8px;
	white-space: normal;
}

.wpsf-layout-inline .wpsf-row::after {
	content: ";";
}

.wpsf-layout-inline .wpsf-row-name,
.wpsf-layout-inline .wpsf-row-amount,
.wpsf-layout-inline .wpsf-row-dv {
	display: inline;
	text-align: left;
	white-space: normal;
}

.wpsf-layout-inline .wpsf-row-amount::before,
.wpsf-layout-inline .wpsf-row-dv::before {
	content: " ";
}

.wpsf-layout-inline .wpsf-indent .wpsf-row-name {
	padding-left: 0;
}

.wpsf-layout-inline .wpsf-footnote-rule {
	display: block;
	height: 1px;
	margin-top: 4px;
}
