.pufferpdf {
	--pufferpdf-ink: #16211c;
	--pufferpdf-muted: #5d6d64;
	--pufferpdf-line: #d9e2dc;
	--pufferpdf-soft: #f4f7f5;
	--pufferpdf-accent: #177448;
	--pufferpdf-accent-dark: #105d39;
	--pufferpdf-accent-soft: #e9f5ee;
	--pufferpdf-warning: #8a5a00;
	--pufferpdf-warning-soft: #fff8e5;
	--pufferpdf-danger: #b42318;
	--pufferpdf-danger-soft: #fff1f0;
	--pufferpdf-white: #fff;
	max-width: 1440px;
	margin-top: 24px;
	color: var(--pufferpdf-ink);
}

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

.pufferpdf [hidden] {
	display: none !important;
}

.pufferpdf__header {
	padding: 4px 2px 24px;
}

.pufferpdf__header h1 {
	margin: 0 0 8px;
	padding: 0;
	color: var(--pufferpdf-ink);
	font-size: clamp(28px, 3vw, 42px);
	font-weight: 650;
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.pufferpdf__intro {
	max-width: 720px;
	margin: 0;
	color: var(--pufferpdf-muted);
	font-size: 15px;
	line-height: 1.6;
}

.pufferpdf__workspace {
	display: grid;
	grid-template-columns: minmax(320px, 0.82fr) minmax(480px, 1.18fr);
	border: 1px solid var(--pufferpdf-line);
	border-radius: 14px;
	background: var(--pufferpdf-white);
	box-shadow: 0 8px 28px rgba(22, 33, 28, 0.06);
	overflow: hidden;
}

.pufferpdf__panel {
	min-width: 0;
	padding: 28px;
}

.pufferpdf__source {
	border-right: 1px solid var(--pufferpdf-line);
	background: #fbfcfb;
}

.pufferpdf__section-heading {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 22px;
}

.pufferpdf__section-heading h2 {
	margin: 0 0 4px;
	color: var(--pufferpdf-ink);
	font-size: 18px;
	line-height: 1.3;
}

.pufferpdf__section-heading p {
	margin: 0;
	color: var(--pufferpdf-muted);
	line-height: 1.5;
}

.pufferpdf__step {
	display: grid;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	place-items: center;
	border-radius: 50%;
	background: var(--pufferpdf-ink);
	color: var(--pufferpdf-white);
	font-size: 13px;
	font-weight: 700;
}

.pufferpdf__dropzone {
	display: flex;
	min-height: 190px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 7px;
	padding: 28px;
	border: 1.5px dashed #9fb2a7;
	border-radius: 12px;
	background: var(--pufferpdf-white);
	cursor: pointer;
	text-align: center;
	transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.pufferpdf__dropzone:hover,
.pufferpdf__dropzone.is-dragging,
.pufferpdf__dropzone:focus-within {
	border-color: var(--pufferpdf-accent);
	background: var(--pufferpdf-accent-soft);
	box-shadow: 0 0 0 1px var(--pufferpdf-accent);
}

.pufferpdf__dropzone input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	clip: rect(0 0 0 0);
	overflow: hidden;
}

.pufferpdf__dropzone .dashicons {
	width: 38px;
	height: 38px;
	color: var(--pufferpdf-accent);
	font-size: 38px;
}

.pufferpdf__dropzone strong {
	font-size: 15px;
}

.pufferpdf__dropzone span:last-child {
	color: var(--pufferpdf-muted);
	font-size: 12px;
}

.pufferpdf__library-choice {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	grid-template-areas:
		"line-before label line-after"
		"button button button";
	align-items: center;
	gap: 10px;
	margin-top: 14px;
	color: var(--pufferpdf-muted);
	font-size: 12px;
}

.pufferpdf__library-choice::before,
.pufferpdf__library-choice::after {
	height: 1px;
	background: var(--pufferpdf-line);
	content: "";
}

.pufferpdf__library-choice::before {
	grid-area: line-before;
}

.pufferpdf__library-choice > span {
	grid-area: label;
}

.pufferpdf__library-choice::after {
	grid-area: line-after;
}

.pufferpdf__library-choice .button {
	display: inline-flex;
	grid-area: button;
	width: 100%;
	min-height: 36px;
	align-items: center;
	justify-content: center;
	gap: 6px;
	line-height: 1;
}

.pufferpdf__library-choice .button .dashicons {
	display: inline-flex;
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	line-height: 20px;
}

.pufferpdf__library-label {
	display: inline-flex;
	min-height: 20px;
	align-items: center;
	line-height: 20px;
}

.pufferpdf__file {
	display: flex;
	align-items: center;
	gap: 11px;
	margin-top: 12px;
	padding: 10px 12px;
	border: 1px solid var(--pufferpdf-line);
	border-radius: 9px;
	background: var(--pufferpdf-white);
}

.pufferpdf__file-icon {
	display: grid;
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	place-items: center;
	border-radius: 7px;
	background: #fbe9e7;
	color: #a62920;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.pufferpdf__file-copy {
	display: flex;
	min-width: 0;
	flex: 1;
	flex-direction: column;
	gap: 2px;
}

.pufferpdf__file-copy strong {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pufferpdf__file-copy span {
	color: var(--pufferpdf-muted);
	font-size: 12px;
}

.pufferpdf__options {
	display: grid;
	gap: 14px;
	margin: 22px 0 0;
	padding: 0;
	border: 0;
}

.pufferpdf__options legend,
.pufferpdf__title-field > span {
	display: block;
	margin-bottom: 8px;
	color: var(--pufferpdf-ink);
	font-size: 13px;
	font-weight: 650;
}

.pufferpdf__options label:not(.pufferpdf__check) {
	display: grid;
	gap: 7px;
}

.pufferpdf__options select,
.pufferpdf__title-field input,
.pufferpdf__password input {
	width: 100%;
	max-width: none;
	min-height: 40px;
	border-color: #aebdb4;
	border-radius: 7px;
}

.pufferpdf__options select:focus,
.pufferpdf__title-field input:focus,
.pufferpdf__password input:focus {
	border-color: var(--pufferpdf-accent);
	box-shadow: 0 0 0 1px var(--pufferpdf-accent);
}

.pufferpdf__title-field input[readonly] {
	border-color: var(--pufferpdf-line);
	background: var(--pufferpdf-soft);
	color: var(--pufferpdf-muted);
}

.pufferpdf__check,
.pufferpdf__acknowledgement {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	color: var(--pufferpdf-muted);
	line-height: 1.45;
}

.pufferpdf__check input,
.pufferpdf__acknowledgement input {
	margin-top: 1px;
}

.pufferpdf__password {
	display: grid;
	gap: 4px;
	margin-top: 16px;
}

.pufferpdf__password[hidden] {
	display: none;
}

.pufferpdf__password label {
	display: grid;
	gap: 7px;
}

.pufferpdf__password label > span {
	color: var(--pufferpdf-ink);
	font-size: 13px;
	font-weight: 650;
}

.pufferpdf__password .description {
	margin: 0;
}

.pufferpdf__source-actions {
	margin-top: 22px;
}

.pufferpdf__source-actions .button-hero {
	width: 100%;
	min-height: 44px;
	justify-content: center;
}

.pufferpdf .button-primary {
	border-color: var(--pufferpdf-accent-dark);
	background: var(--pufferpdf-accent);
}

.pufferpdf .button-primary:hover,
.pufferpdf .button-primary:focus {
	border-color: #0a472b;
	background: var(--pufferpdf-accent-dark);
}

.pufferpdf__empty {
	display: flex;
	min-height: 430px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 40px;
	border: 1px solid var(--pufferpdf-line);
	border-radius: 11px;
	background: var(--pufferpdf-soft);
	text-align: center;
}

.pufferpdf__empty .dashicons {
	width: 42px;
	height: 42px;
	margin-bottom: 12px;
	color: #82958a;
	font-size: 42px;
}

.pufferpdf__empty strong {
	font-size: 15px;
}

.pufferpdf__empty p {
	max-width: 420px;
	margin: 6px 0 0;
	color: var(--pufferpdf-muted);
	line-height: 1.55;
}

.pufferpdf__processing {
	display: flex;
	min-height: 430px;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 36px;
	border: 1px solid var(--pufferpdf-line);
	border-radius: 11px;
	background: var(--pufferpdf-soft);
}

.pufferpdf__processing .spinner {
	float: none;
	margin: 0;
}

.pufferpdf__processing div {
	max-width: 360px;
}

.pufferpdf__processing strong {
	display: block;
	margin-bottom: 3px;
}

.pufferpdf__processing p {
	margin: 0;
	color: var(--pufferpdf-muted);
}

.pufferpdf__processing .button {
	margin-left: 10px;
}

.pufferpdf__metrics {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border: 1px solid var(--pufferpdf-line);
	border-radius: 9px;
	overflow: hidden;
}

.pufferpdf__metrics > div {
	min-width: 0;
	padding: 12px 14px;
	border-right: 1px solid var(--pufferpdf-line);
	background: var(--pufferpdf-soft);
}

.pufferpdf__metrics > div:last-child {
	border-right: 0;
}

.pufferpdf__metrics span,
.pufferpdf__metrics strong {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pufferpdf__metrics span {
	margin-bottom: 4px;
	color: var(--pufferpdf-muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.035em;
	text-transform: uppercase;
}

.pufferpdf__metrics strong {
	font-size: 15px;
}

.pufferpdf__notice {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin: 14px 0;
	padding: 11px 13px;
	border: 1px solid var(--pufferpdf-line);
	border-radius: 8px;
}

.pufferpdf__notice p {
	margin: 0;
	line-height: 1.5;
}

.pufferpdf__notice .dashicons {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	font-size: 18px;
}

.pufferpdf__notice--success {
	border-color: #b9dcc8;
	background: var(--pufferpdf-accent-soft);
	color: var(--pufferpdf-accent-dark);
}

.pufferpdf__notice--warning {
	border-color: #e6cf95;
	background: var(--pufferpdf-warning-soft);
	color: var(--pufferpdf-warning);
}

.pufferpdf__notice--error {
	border-color: #edbbb7;
	background: var(--pufferpdf-danger-soft);
	color: var(--pufferpdf-danger);
}

.pufferpdf__title-field {
	display: block;
	margin: 16px 0;
}

.pufferpdf__tabs {
	display: flex;
	gap: 2px;
	padding: 3px;
	border: 1px solid var(--pufferpdf-line);
	border-bottom: 0;
	border-radius: 9px 9px 0 0;
	background: var(--pufferpdf-soft);
}

.pufferpdf__tabs button {
	padding: 7px 12px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--pufferpdf-muted);
	cursor: pointer;
	font-weight: 600;
}

.pufferpdf__tabs button[aria-selected="true"] {
	background: var(--pufferpdf-white);
	box-shadow: 0 1px 3px rgba(22, 33, 28, 0.12);
	color: var(--pufferpdf-ink);
}

.pufferpdf__tabs button:focus-visible {
	box-shadow: 0 0 0 2px var(--pufferpdf-accent);
	outline: none;
}

.pufferpdf__content-panel {
	min-height: 360px;
	max-height: 520px;
	border: 1px solid var(--pufferpdf-line);
	border-radius: 0 0 9px 9px;
	background: var(--pufferpdf-white);
	overflow: auto;
	scrollbar-color: #9aac9f transparent;
	scrollbar-width: thin;
}

.pufferpdf__content-panel::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

.pufferpdf__content-panel::-webkit-scrollbar-thumb {
	border: 2px solid transparent;
	border-radius: 999px;
	background: #9aac9f;
	background-clip: padding-box;
}

.pufferpdf__preview {
	padding: 24px;
	font-size: 15px;
	line-height: 1.65;
}

.pufferpdf__preview > :first-child {
	margin-top: 0;
}

.pufferpdf__preview > :last-child {
	margin-bottom: 0;
}

.pufferpdf__preview h1,
.pufferpdf__preview h2,
.pufferpdf__preview h3,
.pufferpdf__preview h4,
.pufferpdf__preview h5,
.pufferpdf__preview h6 {
	color: var(--pufferpdf-ink);
	line-height: 1.25;
}

.pufferpdf__preview table {
	width: 100%;
	border-collapse: collapse;
}

.pufferpdf__preview th,
.pufferpdf__preview td {
	padding: 8px 10px;
	border: 1px solid var(--pufferpdf-line);
	text-align: start;
	vertical-align: top;
}

.pufferpdf__preview th {
	background: var(--pufferpdf-soft);
}

.pufferpdf__preview pre {
	padding: 14px;
	border-radius: 7px;
	background: #17201b;
	color: #f3f6f4;
	overflow: auto;
}

.pufferpdf__preview blockquote {
	margin-inline-start: 0;
	padding-inline-start: 16px;
	border-inline-start: 3px solid var(--pufferpdf-accent);
	color: var(--pufferpdf-muted);
}

.pufferpdf__content-panel textarea {
	display: block;
	width: 100%;
	min-height: 518px;
	padding: 20px;
	border: 0;
	border-radius: 0 0 9px 9px;
	background: #17201b;
	box-shadow: none;
	color: #edf3ef;
	font: 13px/1.65 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	resize: vertical;
	scrollbar-color: #70847a transparent;
	scrollbar-width: thin;
}

.pufferpdf__content-panel textarea:focus {
	box-shadow: inset 0 0 0 2px var(--pufferpdf-accent);
	outline: 0;
}

.pufferpdf__acknowledgement {
	margin-top: 14px;
	padding: 11px 12px;
	border: 1px solid #e6cf95;
	border-radius: 8px;
	background: var(--pufferpdf-warning-soft);
	color: #684300;
}

.pufferpdf__result-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.pufferpdf__result-actions #pufferpdf-import {
	margin-left: auto;
}

.pufferpdf__outline {
	padding: 18px;
}

.pufferpdf__outline-empty {
	margin: 0;
	color: var(--pufferpdf-muted);
}

.pufferpdf__outline-list {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pufferpdf__outline-list li {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr) auto;
	align-items: center;
	gap: 9px;
	min-height: 40px;
	padding-block: 8px;
	padding-inline: calc(10px + var(--pufferpdf-outline-depth, 0) * 12px) 10px;
	border-bottom: 1px solid var(--pufferpdf-line);
}

.pufferpdf__outline-list li:last-child {
	border-bottom: 0;
}

.pufferpdf__outline-level {
	display: inline-flex;
	justify-content: center;
	padding: 2px 5px;
	border-radius: 4px;
	background: var(--pufferpdf-soft);
	color: var(--pufferpdf-muted);
	font: 600 11px/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.pufferpdf__outline-title {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pufferpdf__outline-page {
	color: var(--pufferpdf-muted);
	font-size: 11px;
	white-space: nowrap;
}

.pufferpdf__publishing {
	margin-top: 18px;
	padding: 24px;
	border: 1px solid var(--pufferpdf-line);
	border-radius: 12px;
	background: var(--pufferpdf-white);
	box-shadow: 0 5px 18px rgba(22, 33, 28, 0.04);
}

.pufferpdf__publishing-heading {
	margin-bottom: 18px;
}

.pufferpdf__publishing-heading h2,
.pufferpdf__plan-summary h3 {
	margin: 0 0 4px;
	color: var(--pufferpdf-ink);
	font-size: 18px;
	line-height: 1.3;
}

.pufferpdf__publishing-heading p,
.pufferpdf__plan-summary p {
	margin: 0;
	color: var(--pufferpdf-muted);
	line-height: 1.5;
}

#pufferpdf-publishing-title:focus-visible,
.pufferpdf__plan-summary h3:focus-visible {
	border-radius: 2px;
	outline: 2px solid var(--pufferpdf-accent);
	outline-offset: 4px;
}

.pufferpdf__publishing-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.pufferpdf__publishing-group {
	min-width: 0;
	margin: 0;
	padding: 15px;
	border: 1px solid var(--pufferpdf-line);
	border-radius: 9px;
	background: #fbfcfb;
}

.pufferpdf__publishing-group legend {
	padding: 0 5px;
	color: var(--pufferpdf-ink);
	font-size: 13px;
	font-weight: 700;
}

.pufferpdf__radio {
	display: flex;
	align-items: flex-start;
	gap: 7px;
	margin-bottom: 9px;
	color: var(--pufferpdf-ink);
}

.pufferpdf__radio input {
	margin-top: 1px;
}

.pufferpdf__compact-field {
	display: grid;
	gap: 5px;
	margin-top: 10px;
}

.pufferpdf__compact-field > span {
	color: var(--pufferpdf-muted);
	font-size: 11px;
	font-weight: 650;
	letter-spacing: 0.025em;
	text-transform: uppercase;
}

.pufferpdf__compact-field select,
.pufferpdf__publishing-group > label select {
	width: 100%;
	max-width: none;
	min-height: 36px;
	border-color: #aebdb4;
	border-radius: 6px;
}

.pufferpdf__compact-field select[multiple] {
	min-height: 84px;
}

.pufferpdf__publishing-group .pufferpdf__check {
	margin-bottom: 11px;
}

.pufferpdf__publishing-group .pufferpdf__check:last-of-type {
	margin-bottom: 0;
}

.pufferpdf__publishing-group .description {
	margin: 7px 0 0;
	color: var(--pufferpdf-muted);
	font-size: 11px;
	line-height: 1.45;
}

.pufferpdf__publishing-group .is-disabled {
	opacity: 0.58;
}

.pufferpdf__taxonomy-controls {
	display: grid;
	gap: 8px;
}

.pufferpdf__plan-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
}

.pufferpdf__plan-actions--create {
	justify-content: flex-end;
}

.pufferpdf__inline-status {
	min-width: 0;
	margin: 0;
	color: var(--pufferpdf-muted);
	line-height: 1.45;
}

.pufferpdf__inline-status--success {
	color: var(--pufferpdf-accent-dark);
}

.pufferpdf__inline-status--warning {
	color: var(--pufferpdf-warning);
}

.pufferpdf__inline-status--error {
	color: var(--pufferpdf-danger);
}

.pufferpdf__plan-preview,
.pufferpdf__creation-report {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--pufferpdf-line);
}

.pufferpdf__plan-summary {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 12px;
}

.pufferpdf__plan-table-wrap,
.pufferpdf__report-table-wrap {
	border: 1px solid var(--pufferpdf-line);
	border-radius: 8px;
	overflow: auto;
	overscroll-behavior-inline: contain;
}

.pufferpdf__plan-table-wrap:focus-visible,
.pufferpdf__report-table-wrap:focus-visible {
	box-shadow: 0 0 0 2px var(--pufferpdf-accent);
	outline: 0;
}

.pufferpdf__plan-table {
	min-width: 880px;
	border: 0;
	border-spacing: 0;
	box-shadow: none;
}

.pufferpdf__plan-table th,
.pufferpdf__report-table th {
	padding: 9px 10px;
	border-bottom-color: var(--pufferpdf-line);
	color: var(--pufferpdf-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.035em;
	text-transform: uppercase;
}

.pufferpdf__plan-table td,
.pufferpdf__report-table td {
	padding: 10px;
	border-bottom-color: var(--pufferpdf-line);
	vertical-align: top;
}

.pufferpdf__plan-table tr:last-child td,
.pufferpdf__report-table tr:last-child td {
	border-bottom: 0;
}

.pufferpdf__plan-approve-heading,
.pufferpdf__plan-approve {
	width: 62px;
	text-align: center;
}

.pufferpdf__plan-input {
	width: 100%;
	min-width: 190px;
	min-height: 34px;
}

.pufferpdf__plan-input--slug {
	min-width: 150px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 12px;
}

.pufferpdf__plan-input[aria-invalid="true"] {
	border-color: var(--pufferpdf-danger);
	box-shadow: 0 0 0 1px var(--pufferpdf-danger);
}

.pufferpdf__plan-meta,
.pufferpdf__report-table td:first-child span {
	display: block;
	margin-top: 4px;
	color: var(--pufferpdf-muted);
	font-size: 11px;
}

.pufferpdf__plan-table select {
	width: 100%;
	min-width: 145px;
}

.pufferpdf__plan-row--invalid td {
	background: var(--pufferpdf-danger-soft);
}

.pufferpdf__plan-row--excluded td {
	background: var(--pufferpdf-soft);
}

.pufferpdf__plan-row--excluded .pufferpdf__plan-meta {
	font-style: italic;
}

.pufferpdf__collision-list {
	margin: 0;
	padding-inline-start: 17px;
	color: var(--pufferpdf-danger);
	font-size: 12px;
	line-height: 1.4;
}

.pufferpdf__report-table {
	min-width: 650px;
	border: 0;
	border-spacing: 0;
	box-shadow: none;
}

.pufferpdf__report-table td:first-child strong {
	display: block;
}

.pufferpdf__report-table th:last-child,
.pufferpdf__report-table td:last-child {
	text-align: right;
}

.pufferpdf__report-actions {
	margin-top: 13px;
	text-align: right;
}

.pufferpdf__undo-panel {
	margin-top: 14px;
	padding: 14px;
	border: 1px solid #e6cf95;
	border-radius: 8px;
	background: var(--pufferpdf-warning-soft);
}

.pufferpdf__undo-panel h4 {
	margin: 0 0 7px;
	font-size: 14px;
}

.pufferpdf__undo-panel p,
.pufferpdf__undo-panel ul {
	margin-top: 0;
}

.pufferpdf__message {
	margin: 12px 0 0;
	padding: 10px 12px;
	border-radius: 7px;
	line-height: 1.45;
}

.pufferpdf__message--error {
	border: 1px solid #edbbb7;
	background: var(--pufferpdf-danger-soft);
	color: var(--pufferpdf-danger);
}

.pufferpdf__message--success {
	border: 1px solid #b9dcc8;
	background: var(--pufferpdf-accent-soft);
	color: var(--pufferpdf-accent-dark);
}

.pufferpdf__message--warning {
	border: 1px solid #e6cf95;
	background: var(--pufferpdf-warning-soft);
	color: #684300;
}

.pufferpdf__message a {
	font-weight: 650;
}

.pufferpdf__inventory {
	margin-top: 18px;
	padding: 22px 24px 24px;
	border: 1px solid var(--pufferpdf-line);
	border-radius: 12px;
	background: var(--pufferpdf-white);
	box-shadow: 0 5px 18px rgba(22, 33, 28, 0.04);
}

.pufferpdf__inventory-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 15px;
}

.pufferpdf__inventory-heading h2 {
	margin: 0 0 3px;
	color: var(--pufferpdf-ink);
	font-size: 17px;
}

.pufferpdf__inventory-heading p {
	margin: 0;
	color: var(--pufferpdf-muted);
	line-height: 1.45;
}

.pufferpdf__inventory-table-wrap {
	border: 1px solid var(--pufferpdf-line);
	border-radius: 8px;
	overflow: auto;
}

.pufferpdf__inventory-table {
	min-width: 900px;
	border: 0;
	border-spacing: 0;
	box-shadow: none;
}

.pufferpdf__inventory-table th {
	padding: 9px 11px;
	border-bottom-color: var(--pufferpdf-line);
	color: var(--pufferpdf-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.035em;
	text-transform: uppercase;
}

.pufferpdf__inventory-table td {
	padding: 11px;
	border-bottom-color: var(--pufferpdf-line);
	vertical-align: middle;
}

.pufferpdf__inventory-table tr:last-child td {
	border-bottom: 0;
}

.pufferpdf__inventory-table td:first-child {
	width: 25%;
}

.pufferpdf__inventory-table td:first-child strong,
.pufferpdf__inventory-table td:first-child span,
.pufferpdf__inventory-table td:nth-child(5) span {
	display: block;
}

.pufferpdf__inventory-table td:first-child span,
.pufferpdf__inventory-table td:nth-child(5) span {
	margin-top: 2px;
	color: var(--pufferpdf-muted);
	font-size: 11px;
}

.pufferpdf__inventory-table tr.is-selected td {
	background: var(--pufferpdf-accent-soft);
}

.pufferpdf__state {
	display: inline-flex;
	align-items: center;
	padding: 3px 7px;
	border: 1px solid var(--pufferpdf-line);
	border-radius: 999px;
	background: var(--pufferpdf-soft);
	color: var(--pufferpdf-muted);
	font-size: 11px;
	font-weight: 650;
	white-space: nowrap;
}

.pufferpdf__state--current {
	border-color: #b9dcc8;
	background: var(--pufferpdf-accent-soft);
	color: var(--pufferpdf-accent-dark);
}

.pufferpdf__state--changed {
	border-color: #e6cf95;
	background: var(--pufferpdf-warning-soft);
	color: var(--pufferpdf-warning);
}

.pufferpdf__state--unverified {
	border-color: #c9c3e8;
	background: #f5f3ff;
	color: #5d4e9a;
}

.pufferpdf__inventory-action-heading,
.pufferpdf__inventory-action {
	text-align: right;
}

.pufferpdf__inventory-pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
	color: var(--pufferpdf-muted);
	font-size: 12px;
}

.pufferpdf__inventory-pagination[hidden] {
	display: none;
}

.pufferpdf__inventory-pagination-actions {
	display: flex;
	gap: 7px;
}

.pufferpdf__inventory-empty {
	padding: 22px !important;
	color: var(--pufferpdf-muted);
	text-align: center;
}

.pufferpdf__inventory > .pufferpdf__message {
	margin-bottom: 0;
}

@media (max-width: 1100px) {
	.pufferpdf__workspace {
		grid-template-columns: 1fr;
	}

	.pufferpdf__publishing-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pufferpdf__source {
		border-right: 0;
		border-bottom: 1px solid var(--pufferpdf-line);
	}
}

@media (max-width: 782px) {
	.pufferpdf {
		margin-right: 10px;
	}

	.pufferpdf__panel {
		padding: 20px;
	}

	.pufferpdf__publishing {
		padding: 18px;
	}

	.pufferpdf__publishing-grid {
		grid-template-columns: 1fr;
	}

	.pufferpdf__metrics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pufferpdf__metrics > div:nth-child(2) {
		border-right: 0;
	}

	.pufferpdf__metrics > div:nth-child(-n + 2) {
		border-bottom: 1px solid var(--pufferpdf-line);
	}

	.pufferpdf__processing {
		align-items: flex-start;
		flex-direction: column;
	}

	.pufferpdf__processing .button {
		margin-left: 0;
	}

	.pufferpdf__inventory {
		padding: 18px;
	}

	.pufferpdf__inventory-heading {
		align-items: stretch;
		flex-direction: column;
		gap: 10px;
	}

	.pufferpdf__inventory-heading .button {
		align-self: flex-start;
	}

	.pufferpdf__inventory-pagination {
		align-items: stretch;
		flex-direction: column;
	}

	.pufferpdf__inventory-pagination-actions {
		justify-content: space-between;
	}

	.pufferpdf__result-actions .button,
	.pufferpdf__result-actions #pufferpdf-import,
	.pufferpdf__plan-actions .button {
		width: 100%;
		margin-left: 0;
	}

	.pufferpdf__plan-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.pufferpdf__plan-summary {
		align-items: flex-start;
		flex-direction: column;
	}

	.pufferpdf__plan-actions--create {
		justify-content: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pufferpdf__dropzone {
		transition: none;
	}
}
