.jog-sp {
	--jog-sp-accent: #0b3d2e;
	--jog-sp-soft: #eef6f2;
	--jog-sp-line: #d7e2dc;
	--jog-sp-text: #1f2a24;
	background: #ffffff;
	border: 1px solid var(--jog-sp-line);
	border-radius: 14px;
	color: var(--jog-sp-text);
	font-family: inherit;
	margin: 1.5rem 0;
	padding: 1.25rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.jog-sp * {
	box-sizing: border-box;
}

.jog-sp__head {
	align-items: flex-start;
	background: linear-gradient(135deg, var(--jog-sp-soft), #ffffff);
	border: 1px solid var(--jog-sp-line);
	border-radius: 12px;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin-bottom: 1rem;
	padding: 1rem;
}

.jog-sp__title {
	color: var(--jog-sp-accent);
	font-size: 1.55rem;
	line-height: 1.2;
	margin: 0 0 .25rem;
}

.jog-sp__intro {
	margin: 0;
	opacity: .85;
}

.jog-sp__shortcode-note {
	background: var(--jog-sp-accent);
	border-radius: 999px;
	color: #ffffff;
	font-size: .85rem;
	font-weight: 700;
	padding: .35rem .7rem;
	white-space: nowrap;
}

.jog-sp__field {
	display: block;
	font-weight: 700;
	margin: 0;
}

.jog-sp__field span {
	display: block;
	font-size: .9rem;
	margin-bottom: .35rem;
}

.jog-sp__field input,
.jog-sp__field select,
.jog-sp__field textarea,
.jog-sp-table input,
.jog-sp-table select,
.jog-sp-table textarea {
	background: #ffffff;
	border: 1px solid #bccdc4;
	border-radius: 8px;
	color: inherit;
	font: inherit;
	padding: .55rem .65rem;
	width: 100%;
}

.jog-sp__field textarea,
.jog-sp-table textarea {
	resize: vertical;
}

.jog-sp__field--wide {
	margin: 1rem 0;
}

.jog-sp__tools,
.jog-sp__actions {
	align-items: end;
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin: 1rem 0;
}

.jog-sp__tools .jog-sp__field {
	min-width: min(280px, 100%);
}

.jog-sp-button {
	background: var(--jog-sp-accent);
	border: 1px solid var(--jog-sp-accent);
	border-radius: 999px;
	color: #ffffff;
	cursor: pointer;
	font-weight: 700;
	line-height: 1;
	padding: .72rem 1rem;
}

.jog-sp-button:hover,
.jog-sp-button:focus {
	filter: brightness(1.08);
}

.jog-sp-button--secondary {
	background: #ffffff;
	color: var(--jog-sp-accent);
}

.jog-sp-custom-drill__panel {
	background: #fbfdfc;
	border: 1px solid var(--jog-sp-line);
	border-radius: 12px;
	margin: -.25rem 0 1rem;
	padding: 1rem;
}

.jog-sp-custom-drill__grid {
	display: grid;
	gap: .75rem;
	grid-template-columns: minmax(180px, .8fr) repeat(2, minmax(220px, 1fr));
}

.jog-sp-custom-drill__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
	margin-top: .75rem;
}

.jog-sp-custom-drill__hint {
	font-size: .88rem;
	margin: .75rem 0 0;
	opacity: .78;
}

.jog-sp-suggestions {
	background: #fbfdfc;
	border: 1px dashed var(--jog-sp-line);
	border-radius: 12px;
	margin: .75rem 0 1rem;
	min-height: 3rem;
	padding: .75rem;
}

.jog-sp-suggestions p {
	margin: 0;
}

.jog-sp-chip {
	background: #ffffff;
	border: 1px solid var(--jog-sp-line);
	border-radius: 999px;
	cursor: pointer;
	display: inline-block;
	font-size: .85rem;
	margin: .25rem;
	padding: .4rem .65rem;
}

.jog-sp-chip--excellent {
	border-color: var(--jog-sp-accent);
	font-weight: 700;
}

.jog-sp-chip--good {
	background: var(--jog-sp-soft);
}

.jog-sp__table-wrap {
	overflow-x: auto;
}

.jog-sp-table {
	border-collapse: collapse;
	font-size: .95rem;
	min-width: 980px;
	width: 100%;
}

.jog-sp-table th,
.jog-sp-table td {
	border: 1px solid var(--jog-sp-line);
	padding: .55rem;
	text-align: left;
	vertical-align: top;
}

.jog-sp-table th {
	background: var(--jog-sp-accent);
	color: #ffffff;
	font-weight: 700;
}

.jog-sp-table td:nth-child(1),
.jog-sp-table td:nth-child(2) {
	width: 13%;
}

.jog-sp-table td:nth-child(3) {
	width: 18%;
}

.jog-sp-table td:nth-child(4),
.jog-sp-table td:nth-child(5) {
	width: 25%;
}

.jog-sp-row-actions {
	min-width: 88px;
	text-align: center;
	white-space: nowrap;
}

.jog-sp-row-button {
	background: #ffffff;
	border: 1px solid var(--jog-sp-line);
	border-radius: 7px;
	cursor: pointer;
	font-weight: 700;
	margin: 0 .1rem .2rem;
	padding: .25rem .45rem;
}

.jog-sp-row-button--danger {
	color: #8c1d18;
}

.jog-sp-copy-status {
	color: var(--jog-sp-accent);
	font-weight: 700;
	min-height: 1.5rem;
}

@media (max-width: 760px) {
	.jog-sp {
		padding: 1rem;
	}

	.jog-sp__head {
		display: block;
	}

	.jog-sp__shortcode-note {
		display: inline-block;
		margin-top: .75rem;
	}

	.jog-sp-table {
		font-size: .88rem;
		min-width: 860px;
	}

	.jog-sp-custom-drill__grid {
		grid-template-columns: 1fr;
	}
}

@media print {
	body * {
		visibility: hidden;
	}

	.jog-sp,
	.jog-sp * {
		visibility: visible;
	}

	.jog-sp {
		border: 0;
		box-shadow: none;
		left: 0;
		margin: 0;
		padding: 0;
		position: absolute;
		top: 0;
		width: 100%;
	}

	.jog-sp-no-print,
	.jog-sp__intro,
	.jog-sp__shortcode-note,
	.jog-sp-suggestions {
		display: none !important;
	}

	.jog-sp-table {
		min-width: 0;
	}

	.jog-sp-table th {
		background: #eeeeee !important;
		color: #000000 !important;
	}

	.jog-sp input,
	.jog-sp select,
	.jog-sp textarea {
		border: 0 !important;
		padding: 0 !important;
		resize: none;
	}

	.jog-sp textarea {
		height: auto;
		overflow: visible;
	}
}

/* v1.2.0 - wider, less boxed-in workspace */
@media screen {
	.jog-sp {
		max-width: none;
	}

	.jog-sp__head-actions {
		align-items: flex-end;
		display: flex;
		flex-wrap: wrap;
		gap: .6rem;
		justify-content: flex-end;
	}

	.jog-sp__tools {
		align-items: end;
		display: grid;
		grid-template-columns: minmax(260px, 1fr) repeat(3, auto);
	}

	.jog-sp__tools .jog-sp__field {
		min-width: 0;
	}

	.jog-sp__table-wrap {
		overflow-x: visible;
	}

	.jog-sp-table {
		font-size: .95rem;
		min-width: 0;
		table-layout: fixed;
		width: 100%;
	}

	.jog-sp-table th,
	.jog-sp-table td {
		padding: .7rem;
	}

	.jog-sp-table th:nth-child(1),
	.jog-sp-table td:nth-child(1),
	.jog-sp-table th:nth-child(2),
	.jog-sp-table td:nth-child(2) {
		width: 10%;
	}

	.jog-sp-table th:nth-child(3),
	.jog-sp-table td:nth-child(3) {
		width: 18%;
	}

	.jog-sp-table th:nth-child(4),
	.jog-sp-table td:nth-child(4),
	.jog-sp-table th:nth-child(5),
	.jog-sp-table td:nth-child(5) {
		width: 28%;
	}

	.jog-sp-table th:nth-child(6),
	.jog-sp-table td:nth-child(6) {
		width: 6%;
	}

	.jog-sp-table textarea {
		line-height: 1.35;
		min-height: 96px;
	}

	.jog-sp-table select,
	.jog-sp-table input {
		min-height: 42px;
	}
}

@media screen and (min-width: 960px) {
	.jog-sp:not(.jog-sp--expanded) {
		left: 50%;
		margin-left: calc(-50vw + 1rem);
		margin-right: calc(-50vw + 1rem);
		padding: 1.5rem;
		position: relative;
		width: calc(100vw - 2rem);
	}
}

@media screen and (min-width: 1180px) {
	.jog-sp__field--wide {
		display: grid;
		gap: .75rem;
		grid-template-columns: 160px minmax(0, 1fr);
		align-items: center;
	}

	.jog-sp__field--wide span {
		margin-bottom: 0;
	}
}

@media screen and (max-width: 1050px) {
	.jog-sp__tools {
		grid-template-columns: 1fr 1fr;
	}

	.jog-sp__tools .jog-sp__field,
	.jog-sp__tools .jog-sp-button {
		width: 100%;
	}
}

@media screen and (max-width: 900px) {
	.jog-sp__table-wrap {
		overflow-x: visible;
	}

	.jog-sp-table,
	.jog-sp-table tbody,
	.jog-sp-table tr,
	.jog-sp-table td {
		display: block;
		min-width: 0;
		width: 100% !important;
	}

	.jog-sp-table thead {
		display: none;
	}

	.jog-sp-table tr {
		background: #ffffff;
		border: 1px solid var(--jog-sp-line);
		border-radius: 12px;
		box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
		margin: .85rem 0;
		padding: .75rem;
	}

	.jog-sp-table td {
		border: 0;
		padding: .45rem 0;
	}

	.jog-sp-table td::before {
		color: var(--jog-sp-accent);
		content: '';
		display: block;
		font-size: .82rem;
		font-weight: 800;
		letter-spacing: .02em;
		margin-bottom: .25rem;
		text-transform: uppercase;
	}

	.jog-sp-table td:nth-child(1)::before { content: 'From'; }
	.jog-sp-table td:nth-child(2)::before { content: 'To'; }
	.jog-sp-table td:nth-child(3)::before { content: 'Drill'; }
	.jog-sp-table td:nth-child(4)::before { content: 'What and How'; }
	.jog-sp-table td:nth-child(5)::before { content: 'Why'; }
	.jog-sp-table td:nth-child(6)::before { content: 'Move'; }

	.jog-sp-row-actions {
		min-width: 0;
		text-align: left;
	}
}

@media screen and (max-width: 680px) {
	.jog-sp__tools {
		grid-template-columns: 1fr;
	}

	.jog-sp__actions .jog-sp-button,
	.jog-sp-custom-drill__actions .jog-sp-button {
		width: 100%;
	}
}

@media screen {
	.jog-sp--expanded {
		bottom: 1rem;
		left: 1rem !important;
		margin: 0 !important;
		max-width: none;
		overflow: auto;
		padding: 1.25rem;
		position: fixed !important;
		right: 1rem;
		top: 1rem;
		transform: none;
		width: auto !important;
		z-index: 999999;
	}

	.admin-bar .jog-sp--expanded {
		top: 3.5rem;
	}

	body.jog-sp-expanded-active {
		overflow: hidden;
	}
}


/* v1.3.0 - restrained desktop width and easier location editing */
@media screen {
	.jog-sp {
		isolation: isolate;
		max-width: 1220px;
		margin-left: auto;
		margin-right: auto;
		width: 100%;
	}

	.jog-sp:not(.jog-sp--expanded) {
		left: auto !important;
		margin-left: auto !important;
		margin-right: auto !important;
		position: relative;
		transform: none !important;
		width: 100% !important;
	}

	.jog-sp.jog-sp--expanded {
		max-width: none;
	}

	.jog-sp__table-wrap {
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.jog-sp-table {
		min-width: 1060px;
	}

	.jog-sp-table th:nth-child(1),
	.jog-sp-table td:nth-child(1),
	.jog-sp-table th:nth-child(2),
	.jog-sp-table td:nth-child(2) {
		width: 12%;
	}

	.jog-sp-table th:nth-child(3),
	.jog-sp-table td:nth-child(3) {
		width: 18%;
	}

	.jog-sp-table th:nth-child(4),
	.jog-sp-table td:nth-child(4),
	.jog-sp-table th:nth-child(5),
	.jog-sp-table td:nth-child(5) {
		width: 26%;
	}

	.jog-sp-table th:nth-child(6),
	.jog-sp-table td:nth-child(6) {
		width: 6%;
	}

	.jog-sp-location-wrap {
		align-items: stretch;
		display: grid;
		gap: .25rem;
		grid-template-columns: minmax(0, 1fr) 2rem;
	}

	.jog-sp-location-clear {
		background: #ffffff;
		border: 1px solid var(--jog-sp-line);
		border-radius: 8px;
		color: var(--jog-sp-accent);
		cursor: pointer;
		font-size: 1.05rem;
		font-weight: 800;
		line-height: 1;
		min-height: 42px;
		padding: 0;
	}

	.jog-sp-location-clear:hover,
	.jog-sp-location-clear:focus {
		background: var(--jog-sp-soft);
	}
}

@media screen and (max-width: 900px) {
	.jog-sp-table {
		min-width: 0;
	}
}

@media print {
	.jog-sp-location-wrap {
		display: block;
	}
}

/* v1.4.0 - wider readable location fields and dedicated A4 landscape print sheet */
@media screen {
	.jog-sp-table {
		min-width: 1180px;
	}

	.jog-sp-table th:nth-child(1),
	.jog-sp-table td:nth-child(1),
	.jog-sp-table th:nth-child(2),
	.jog-sp-table td:nth-child(2) {
		width: 16%;
	}

	.jog-sp-table th:nth-child(3),
	.jog-sp-table td:nth-child(3) {
		width: 17%;
	}

	.jog-sp-table th:nth-child(4),
	.jog-sp-table td:nth-child(4) {
		width: 24%;
	}

	.jog-sp-table th:nth-child(5),
	.jog-sp-table td:nth-child(5) {
		width: 22%;
	}

	.jog-sp-table th:nth-child(6),
	.jog-sp-table td:nth-child(6) {
		width: 5%;
	}

	.jog-sp-location-wrap {
		gap: .35rem;
		grid-template-columns: minmax(11rem, 1fr) 1.65rem;
	}

	.jog-sp-location {
		font-size: .92rem;
		padding-left: .55rem !important;
		padding-right: .55rem !important;
	}

	.jog-sp-location-clear {
		font-size: .95rem;
		min-height: 42px;
	}

	.jog-sp--expanded .jog-sp-table {
		min-width: 1240px;
	}
}

.jog-sp-print-sheet {
	display: none;
}

@media print {
	@page {
		size: A4 landscape;
		margin: 8mm;
	}

	html,
	body {
		background: #ffffff !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	body * {
		visibility: hidden !important;
	}

	.jog-sp,
	.jog-sp * {
		visibility: visible !important;
	}

	.jog-sp {
		background: #ffffff !important;
		border: 0 !important;
		box-shadow: none !important;
		color: #000000 !important;
		font-family: Arial, Helvetica, sans-serif !important;
		left: 0 !important;
		margin: 0 !important;
		max-width: none !important;
		padding: 0 !important;
		position: absolute !important;
		top: 0 !important;
		transform: none !important;
		width: 100% !important;
	}

	.jog-sp > :not(.jog-sp-print-sheet) {
		display: none !important;
	}

	.jog-sp-print-sheet,
	.jog-sp-print-sheet * {
		visibility: visible !important;
	}

	.jog-sp-print-sheet {
		display: block !important;
		font-size: 8.6pt;
		line-height: 1.22;
		max-height: 194mm;
		overflow: hidden;
		width: 100%;
	}

	.jog-sp-print-sheet__top {
		align-items: flex-start;
		border-bottom: 1px solid #000000;
		display: flex;
		gap: 6mm;
		justify-content: space-between;
		margin-bottom: 3mm;
		padding-bottom: 2mm;
	}

	.jog-sp-print-sheet__title {
		font-size: 15pt;
		font-weight: 700;
		line-height: 1;
		margin: 0;
	}

	.jog-sp-print-sheet__focus {
		font-size: 9.5pt;
		font-weight: 700;
		margin: 1mm 0 0;
	}

	.jog-sp-print-sheet__date {
		font-size: 8pt;
		margin: 0;
		text-align: right;
		white-space: nowrap;
	}

	.jog-sp-print-table {
		border-collapse: collapse;
		table-layout: fixed;
		width: 100%;
	}

	.jog-sp-print-table th,
	.jog-sp-print-table td {
		border: 1px solid #000000;
		padding: 1.5mm;
		text-align: left;
		vertical-align: top;
	}

	.jog-sp-print-table th {
		background: #e9e9e9 !important;
		color: #000000 !important;
		font-size: 8pt;
		font-weight: 700;
		line-height: 1.1;
	}

	.jog-sp-print-table td {
		font-size: 8.1pt;
		word-break: normal;
		overflow-wrap: anywhere;
	}

	.jog-sp-print-table th:nth-child(1),
	.jog-sp-print-table td:nth-child(1),
	.jog-sp-print-table th:nth-child(2),
	.jog-sp-print-table td:nth-child(2) {
		width: 13%;
	}

	.jog-sp-print-table th:nth-child(3),
	.jog-sp-print-table td:nth-child(3) {
		width: 17%;
	}

	.jog-sp-print-table th:nth-child(4),
	.jog-sp-print-table td:nth-child(4) {
		width: 36%;
	}

	.jog-sp-print-table th:nth-child(5),
	.jog-sp-print-table td:nth-child(5) {
		width: 21%;
	}

	.jog-sp-print-table tr {
		break-inside: avoid;
		page-break-inside: avoid;
	}

	.jog-sp-print-sheet__notes {
		border: 1px solid #000000;
		font-size: 8pt;
		margin-top: 3mm;
		padding: 1.5mm;
	}

	.jog-sp-print-sheet__notes strong {
		display: inline-block;
		margin-right: 1mm;
	}
}

/* v1.5.0 - location dropdowns, cleaner table controls and compact one-page print */
@media screen {
	.jog-sp-table {
		border-collapse: separate;
		border-spacing: 0;
		min-width: 1160px;
		table-layout: fixed;
	}

	.jog-sp-table th,
	.jog-sp-table td {
		background-clip: padding-box;
		padding: .55rem;
	}

	.jog-sp-table th:nth-child(1),
	.jog-sp-table td:nth-child(1),
	.jog-sp-table th:nth-child(2),
	.jog-sp-table td:nth-child(2) {
		width: 17%;
	}

	.jog-sp-table th:nth-child(3),
	.jog-sp-table td:nth-child(3) {
		width: 17%;
	}

	.jog-sp-table th:nth-child(4),
	.jog-sp-table td:nth-child(4) {
		width: 23%;
	}

	.jog-sp-table th:nth-child(5),
	.jog-sp-table td:nth-child(5) {
		width: 21%;
	}

	.jog-sp-table th:nth-child(6),
	.jog-sp-table td:nth-child(6) {
		width: 5%;
	}

	.jog-sp-table select,
	.jog-sp-table input,
	.jog-sp-table textarea {
		display: block;
		max-width: 100%;
		min-width: 0;
	}

	.jog-sp-table select {
		line-height: 1.25;
		min-height: 42px;
		padding: .5rem 2rem .5rem .55rem;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.jog-sp-location-wrap,
	.jog-sp-location-clear {
		display: none !important;
	}

	.jog-sp-location {
		font-size: .94rem;
		width: 100%;
	}

	.jog-sp-table textarea {
		min-height: 86px;
	}

	.jog-sp--expanded .jog-sp-table {
		min-width: 1220px;
	}
}

@media screen and (max-width: 900px) {
	.jog-sp-table {
		min-width: 0;
	}
}

@media print {
	@page {
		size: A4 landscape;
		margin: 5mm;
	}

	.jog-sp-print-sheet {
		font-size: 7.25pt !important;
		line-height: 1.12 !important;
		max-height: 198mm !important;
		overflow: hidden !important;
	}

	.jog-sp-print-sheet__top {
		align-items: center !important;
		border-bottom: 1px solid #000000 !important;
		display: grid !important;
		gap: 2mm !important;
		grid-template-columns: auto 1fr auto !important;
		margin-bottom: 1.5mm !important;
		padding-bottom: 1mm !important;
	}

	.jog-sp-print-sheet__title {
		font-size: 10pt !important;
		line-height: 1 !important;
		margin: 0 !important;
		white-space: nowrap !important;
	}

	.jog-sp-print-sheet__focus {
		font-size: 8pt !important;
		line-height: 1.05 !important;
		margin: 0 !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
		white-space: nowrap !important;
	}

	.jog-sp-print-sheet__date {
		font-size: 7pt !important;
		line-height: 1 !important;
		margin: 0 !important;
		white-space: nowrap !important;
	}

	.jog-sp-print-table {
		border-collapse: collapse !important;
		table-layout: fixed !important;
		width: 100% !important;
	}

	.jog-sp-print-table th,
	.jog-sp-print-table td {
		padding: .75mm !important;
	}

	.jog-sp-print-table th {
		font-size: 7pt !important;
		line-height: 1 !important;
	}

	.jog-sp-print-table td {
		font-size: 7.05pt !important;
		line-height: 1.12 !important;
	}

	.jog-sp-print-table th:nth-child(1),
	.jog-sp-print-table td:nth-child(1),
	.jog-sp-print-table th:nth-child(2),
	.jog-sp-print-table td:nth-child(2) {
		width: 12% !important;
	}

	.jog-sp-print-table th:nth-child(3),
	.jog-sp-print-table td:nth-child(3) {
		width: 16% !important;
	}

	.jog-sp-print-table th:nth-child(4),
	.jog-sp-print-table td:nth-child(4) {
		width: 38% !important;
	}

	.jog-sp-print-table th:nth-child(5),
	.jog-sp-print-table td:nth-child(5) {
		width: 22% !important;
	}

	.jog-sp-print-sheet__notes {
		font-size: 7pt !important;
		line-height: 1.1 !important;
		margin-top: 1.5mm !important;
		padding: .8mm !important;
	}
}

/* v1.6.0 - print sheet is now printed from the top of the page, independent of theme layout */
.jog-sp-print-sheet--global {
	display: none;
}

@media print {
	@page {
		size: A4 landscape;
		margin: 5mm;
	}

	html,
	body {
		background: #ffffff !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		width: auto !important;
	}

	body > * {
		display: none !important;
	}

	body > .jog-sp-print-sheet--global,
	body > .jog-sp-print-sheet--global * {
		visibility: visible !important;
	}

	body > .jog-sp-print-sheet--global {
		background: #ffffff !important;
		box-sizing: border-box !important;
		color: #000000 !important;
		display: block !important;
		font-family: Arial, Helvetica, sans-serif !important;
		font-size: 7pt !important;
		height: auto !important;
		left: 0 !important;
		line-height: 1.08 !important;
		margin: 0 !important;
		max-height: 200mm !important;
		max-width: none !important;
		overflow: hidden !important;
		padding: 0 !important;
		position: fixed !important;
		top: 0 !important;
		width: 100% !important;
		z-index: 2147483647 !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-sheet__top {
		align-items: center !important;
		border-bottom: 1px solid #000000 !important;
		display: grid !important;
		gap: 2mm !important;
		grid-template-columns: auto 1fr auto !important;
		margin: 0 0 1mm 0 !important;
		padding: 0 0 .8mm 0 !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-sheet__title {
		font-size: 9pt !important;
		font-weight: 700 !important;
		line-height: 1 !important;
		margin: 0 !important;
		white-space: nowrap !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-sheet__focus {
		font-size: 7.6pt !important;
		font-weight: 700 !important;
		line-height: 1 !important;
		margin: 0 !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
		white-space: nowrap !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-sheet__date {
		font-size: 6.8pt !important;
		line-height: 1 !important;
		margin: 0 !important;
		text-align: right !important;
		white-space: nowrap !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-table {
		border-collapse: collapse !important;
		table-layout: fixed !important;
		width: 100% !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-table th,
	body > .jog-sp-print-sheet--global .jog-sp-print-table td {
		border: 1px solid #000000 !important;
		padding: .65mm !important;
		text-align: left !important;
		vertical-align: top !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-table th {
		background: #e9e9e9 !important;
		color: #000000 !important;
		font-size: 6.8pt !important;
		font-weight: 700 !important;
		line-height: 1 !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-table td {
		font-size: 6.9pt !important;
		line-height: 1.08 !important;
		overflow-wrap: anywhere !important;
		word-break: normal !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-table th:nth-child(1),
	body > .jog-sp-print-sheet--global .jog-sp-print-table td:nth-child(1),
	body > .jog-sp-print-sheet--global .jog-sp-print-table th:nth-child(2),
	body > .jog-sp-print-sheet--global .jog-sp-print-table td:nth-child(2) {
		width: 12% !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-table th:nth-child(3),
	body > .jog-sp-print-sheet--global .jog-sp-print-table td:nth-child(3) {
		width: 16% !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-table th:nth-child(4),
	body > .jog-sp-print-sheet--global .jog-sp-print-table td:nth-child(4) {
		width: 38% !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-table th:nth-child(5),
	body > .jog-sp-print-sheet--global .jog-sp-print-table td:nth-child(5) {
		width: 22% !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-table tr {
		break-inside: avoid !important;
		page-break-inside: avoid !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-sheet__notes {
		border: 1px solid #000000 !important;
		font-size: 6.8pt !important;
		line-height: 1.05 !important;
		margin-top: 1mm !important;
		padding: .7mm !important;
	}
}

/* v1.7.0 - zebra striping for easier reading on screen and print */
.jog-sp-table tbody tr:nth-child(even) td {
	background: #f3f8f5;
}

.jog-sp-table tbody tr:nth-child(even) input,
.jog-sp-table tbody tr:nth-child(even) select,
.jog-sp-table tbody tr:nth-child(even) textarea {
	background: #fbfdfc;
}

.jog-sp-table tbody tr:nth-child(odd) td {
	background: #ffffff;
}

@media print {
	body > .jog-sp-print-sheet--global,
	body > .jog-sp-print-sheet--global * {
		-webkit-print-color-adjust: exact !important;
		print-color-adjust: exact !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-table tbody tr:nth-child(even) td {
		background: #f1f1f1 !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-table tbody tr:nth-child(odd) td {
		background: #ffffff !important;
	}
}

/* v1.8.0 - A4 landscape print: session table on left two thirds, notes box on right third */
@media print {
	body > .jog-sp-print-sheet--global .jog-sp-print-sheet__layout {
		display: grid !important;
		grid-template-columns: 2fr 1fr !important;
		gap: 3mm !important;
		align-items: stretch !important;
		height: 190mm !important;
		margin: 0 !important;
		padding: 0 !important;
		width: 100% !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-sheet__table-area {
		min-width: 0 !important;
		overflow: hidden !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-table {
		font-size: 6.2pt !important;
		width: 100% !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-table th,
	body > .jog-sp-print-sheet--global .jog-sp-print-table td {
		padding: .55mm !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-table th {
		font-size: 6.2pt !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-table td {
		font-size: 6.2pt !important;
		line-height: 1.06 !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-table th:nth-child(1),
	body > .jog-sp-print-sheet--global .jog-sp-print-table td:nth-child(1),
	body > .jog-sp-print-sheet--global .jog-sp-print-table th:nth-child(2),
	body > .jog-sp-print-sheet--global .jog-sp-print-table td:nth-child(2) {
		width: 13% !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-table th:nth-child(3),
	body > .jog-sp-print-sheet--global .jog-sp-print-table td:nth-child(3) {
		width: 16% !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-table th:nth-child(4),
	body > .jog-sp-print-sheet--global .jog-sp-print-table td:nth-child(4) {
		width: 38% !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-table th:nth-child(5),
	body > .jog-sp-print-sheet--global .jog-sp-print-table td:nth-child(5) {
		width: 20% !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-sheet__notes {
		background: #ffffff !important;
		border: 1px solid #000000 !important;
		box-sizing: border-box !important;
		display: block !important;
		font-size: 7.5pt !important;
		height: 100% !important;
		line-height: 1.2 !important;
		margin: 0 !important;
		min-height: 0 !important;
		padding: 2mm !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-sheet__notes strong {
		display: block !important;
		font-size: 8.5pt !important;
		line-height: 1 !important;
		margin: 0 0 2mm 0 !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-sheet__notes-content {
		white-space: pre-wrap !important;
	}
}

/* v1.9.0 - two A5-style copies per A4 page: session above notes in each half */
@media print {
	@page {
		size: A4 portrait;
		margin: 6mm;
	}

	body > .jog-sp-print-sheet--global.jog-sp-print-sheet--two-up {
		display: flex !important;
		flex-direction: column !important;
		gap: 0 !important;
		height: 285mm !important;
		max-height: none !important;
		overflow: hidden !important;
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		width: 100% !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy {
		box-sizing: border-box !important;
		display: flex !important;
		flex: 1 1 0 !important;
		flex-direction: column !important;
		min-height: 0 !important;
		overflow: hidden !important;
		padding: 0 !important;
		page-break-inside: avoid !important;
		break-inside: avoid !important;
		width: 100% !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-cut-line {
		align-items: center !important;
		border-top: 1px dashed #777777 !important;
		box-sizing: border-box !important;
		color: #777777 !important;
		display: flex !important;
		flex: 0 0 3mm !important;
		font-size: 5pt !important;
		justify-content: center !important;
		line-height: 1 !important;
		margin: 0 !important;
		padding: 0 !important;
		text-align: center !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-sheet__top {
		align-items: center !important;
		border-bottom: 1px solid #000000 !important;
		display: grid !important;
		gap: 1.6mm !important;
		grid-template-columns: auto 1fr auto !important;
		margin: 0 0 .8mm 0 !important;
		padding: 0 0 .6mm 0 !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-sheet__title {
		font-size: 8.2pt !important;
		font-weight: 700 !important;
		line-height: 1 !important;
		margin: 0 !important;
		white-space: nowrap !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-sheet__focus {
		font-size: 7.1pt !important;
		font-weight: 700 !important;
		line-height: 1 !important;
		margin: 0 !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
		white-space: nowrap !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-sheet__date {
		font-size: 6.4pt !important;
		line-height: 1 !important;
		margin: 0 !important;
		text-align: right !important;
		white-space: nowrap !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-sheet__layout {
		display: flex !important;
		flex: 1 1 auto !important;
		flex-direction: column !important;
		gap: 1.2mm !important;
		height: auto !important;
		min-height: 0 !important;
		width: 100% !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-sheet__table-area {
		display: block !important;
		flex: 2 1 0 !important;
		min-height: min-content !important;
		overflow: visible !important;
		width: 100% !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-table {
		border-collapse: collapse !important;
		font-size: 5.8pt !important;
		table-layout: fixed !important;
		width: 100% !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-table th,
	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-table td {
		border: 1px solid #000000 !important;
		padding: .45mm !important;
		text-align: left !important;
		vertical-align: top !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-table th {
		background: #e9e9e9 !important;
		color: #000000 !important;
		font-size: 5.9pt !important;
		font-weight: 700 !important;
		line-height: 1 !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-table td {
		font-size: 5.8pt !important;
		line-height: 1.05 !important;
		overflow-wrap: anywhere !important;
		word-break: normal !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-table th:nth-child(1),
	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-table td:nth-child(1),
	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-table th:nth-child(2),
	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-table td:nth-child(2) {
		width: 13% !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-table th:nth-child(3),
	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-table td:nth-child(3) {
		width: 15% !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-table th:nth-child(4),
	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-table td:nth-child(4) {
		width: 39% !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-table th:nth-child(5),
	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-table td:nth-child(5) {
		width: 20% !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-table tr {
		break-inside: avoid !important;
		page-break-inside: avoid !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-sheet__notes {
		background: #ffffff !important;
		border: 1px solid #000000 !important;
		box-sizing: border-box !important;
		display: block !important;
		flex: 1 1 0 !important;
		font-size: 6pt !important;
		line-height: 1.1 !important;
		margin: 0 !important;
		min-height: 14mm !important;
		overflow: hidden !important;
		padding: .8mm !important;
		width: 100% !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-sheet__notes strong {
		display: block !important;
		font-size: 6.7pt !important;
		line-height: 1 !important;
		margin: 0 0 .8mm 0 !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-sheet__notes-content {
		white-space: pre-wrap !important;
	}
}


/* v1.10.0 - larger two-up print text */
@media print {
	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-sheet__top {
		gap: 2mm !important;
		margin-bottom: 1mm !important;
		padding-bottom: .8mm !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-sheet__title {
		font-size: 10.5pt !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-sheet__focus {
		font-size: 9.5pt !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-sheet__date {
		font-size: 8.5pt !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-sheet__layout {
		gap: 1mm !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-table {
		font-size: 8.7pt !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-table th,
	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-table td {
		padding: .35mm .45mm !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-table th {
		font-size: 8.8pt !important;
		line-height: 1.05 !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-table td {
		font-size: 8.7pt !important;
		line-height: 1.08 !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-sheet__notes {
		font-size: 7.8pt !important;
		line-height: 1.1 !important;
		min-height: 8mm !important;
		padding: .7mm !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-sheet__notes strong {
		font-size: 8.5pt !important;
		margin-bottom: .5mm !important;
	}
}


/* v1.11.0 - expanded view lifted out of theme stacking contexts */
@media screen {
	body.jog-sp-expanded-active {
		overflow: hidden !important;
	}

	body > .jog-sp.jog-sp--expanded {
		background: var(--jog-sp-card, #ffffff) !important;
		border: 1px solid rgba(0, 0, 0, .12) !important;
		border-radius: 14px !important;
		bottom: 12px !important;
		box-shadow: 0 18px 55px rgba(0, 0, 0, .35) !important;
		box-sizing: border-box !important;
		display: flex !important;
		flex-direction: column !important;
		height: auto !important;
		left: 12px !important;
		margin: 0 !important;
		max-height: none !important;
		max-width: none !important;
		overflow: hidden !important;
		padding: 1rem !important;
		position: fixed !important;
		right: 12px !important;
		top: 12px !important;
		transform: none !important;
		width: auto !important;
		z-index: 2147483647 !important;
	}

	body.admin-bar > .jog-sp.jog-sp--expanded,
	.admin-bar body > .jog-sp.jog-sp--expanded {
		top: 46px !important;
	}

	body > .jog-sp.jog-sp--expanded .jog-sp__table-wrap {
		flex: 1 1 auto !important;
		min-height: 0 !important;
		overflow: auto !important;
	}

	body > .jog-sp.jog-sp--expanded .jog-sp__head,
	body > .jog-sp.jog-sp--expanded .jog-sp__tools,
	body > .jog-sp.jog-sp--expanded .jog-sp__actions,
	body > .jog-sp.jog-sp--expanded .jog-sp__field--wide,
	body > .jog-sp.jog-sp--expanded .jog-sp-custom-drill,
	body > .jog-sp.jog-sp--expanded .jog-sp-suggestions,
	body > .jog-sp.jog-sp--expanded .jog-sp-notes-wrap {
		flex: 0 0 auto !important;
	}
}


/* v1.12.0 - make the expanded overlay genuinely scrollable */
@media screen {
	body > .jog-sp.jog-sp--expanded {
		height: calc(100vh - 24px) !important;
		max-height: calc(100vh - 24px) !important;
		min-height: 0 !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch !important;
		overscroll-behavior: contain !important;
	}

	body.admin-bar > .jog-sp.jog-sp--expanded,
	.admin-bar body > .jog-sp.jog-sp--expanded {
		height: calc(100vh - 58px) !important;
		max-height: calc(100vh - 58px) !important;
	}

	body > .jog-sp.jog-sp--expanded .jog-sp__table-wrap {
		flex: 1 1 auto !important;
		min-height: 220px !important;
		overflow: auto !important;
		-webkit-overflow-scrolling: touch !important;
	}
}

@media screen and (max-width: 782px) {
	body.admin-bar > .jog-sp.jog-sp--expanded,
	.admin-bar body > .jog-sp.jog-sp--expanded {
		height: calc(100vh - 70px) !important;
		max-height: calc(100vh - 70px) !important;
	}
}


/* v1.13.0 - expanded view uses one main pop-up scroll only */
@media screen {
	body > .jog-sp.jog-sp--expanded {
		overflow: auto !important;
		-webkit-overflow-scrolling: touch !important;
	}

	body > .jog-sp.jog-sp--expanded .jog-sp__table-wrap {
		flex: 0 0 auto !important;
		min-height: 0 !important;
		max-height: none !important;
		overflow: visible !important;
		-webkit-overflow-scrolling: auto !important;
	}
}


/* v1.14.0 - remove row-move controls and align with JOG blue/gold theme */
.jog-sp {
	--jog-sp-accent: #07145f;
	--jog-sp-accent-2: #1737d0;
	--jog-sp-gold: #d4af37;
	--jog-sp-gold-dark: #b8962e;
	--jog-sp-soft: #fff8df;
	--jog-sp-line: #d8c375;
	--jog-sp-text: #17213a;
	border-color: rgba(212, 175, 55, .65);
}

.jog-sp__head {
	background: linear-gradient(135deg, #fff8df 0%, #ffffff 52%, #eef1ff 100%);
	border-color: rgba(212, 175, 55, .7);
	border-top: 5px solid var(--jog-sp-gold);
}

.jog-sp__title,
.jog-sp-copy-status {
	color: var(--jog-sp-accent);
}

.jog-sp__shortcode-note,
.jog-sp-button {
	background: var(--jog-sp-accent);
	border-color: var(--jog-sp-accent);
	color: #ffffff;
}

.jog-sp-button--secondary {
	background: var(--jog-sp-gold);
	border-color: var(--jog-sp-gold-dark);
	color: var(--jog-sp-accent);
}

.jog-sp-button:focus,
.jog-sp-button:hover {
	box-shadow: 0 0 0 3px rgba(212, 175, 55, .32);
	filter: none;
}

.jog-sp__field input:focus,
.jog-sp__field select:focus,
.jog-sp__field textarea:focus,
.jog-sp-table input:focus,
.jog-sp-table select:focus,
.jog-sp-table textarea:focus {
	border-color: var(--jog-sp-gold-dark);
	box-shadow: 0 0 0 3px rgba(212, 175, 55, .25);
	outline: none;
}

.jog-sp-suggestions,
.jog-sp-custom-drill__panel {
	background: #fffdf4;
	border-color: rgba(212, 175, 55, .65);
}

.jog-sp-chip--excellent {
	border-color: var(--jog-sp-gold-dark);
	box-shadow: inset 0 0 0 1px rgba(212, 175, 55, .28);
}

.jog-sp-chip--good,
.jog-sp-table tbody tr:nth-child(even) td {
	background: #fff8df;
}

.jog-sp-table tbody tr:nth-child(even) input,
.jog-sp-table tbody tr:nth-child(even) select,
.jog-sp-table tbody tr:nth-child(even) textarea {
	background: #fffdf4;
}

.jog-sp-table th {
	background: var(--jog-sp-accent);
	border-color: #030b38;
	color: #ffffff;
}

.jog-sp-table th:nth-child(1),
.jog-sp-table td:nth-child(1),
.jog-sp-table th:nth-child(2),
.jog-sp-table td:nth-child(2) {
	width: 13% !important;
}

.jog-sp-table th:nth-child(3),
.jog-sp-table td:nth-child(3) {
	width: 17% !important;
}

.jog-sp-table th:nth-child(4),
.jog-sp-table td:nth-child(4) {
	width: 25% !important;
}

.jog-sp-table th:nth-child(5),
.jog-sp-table td:nth-child(5) {
	width: 24% !important;
}

.jog-sp-table th:nth-child(6),
.jog-sp-table td:nth-child(6) {
	width: 8% !important;
}

.jog-sp-row-actions {
	min-width: 82px;
	text-align: center;
	vertical-align: middle !important;
	white-space: normal;
}

.jog-sp-row-button {
	background: #ffffff;
	border-color: var(--jog-sp-gold-dark);
	border-radius: 999px;
	color: var(--jog-sp-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: .82rem;
	font-weight: 700;
	line-height: 1;
	margin: 0;
	min-height: 2rem;
	padding: .35rem .7rem;
	width: auto;
}

.jog-sp-row-button--danger {
	color: #8c1d18;
}

.jog-sp-row-button:hover,
.jog-sp-row-button:focus {
	background: #fff8df;
	box-shadow: 0 0 0 3px rgba(212, 175, 55, .24);
	outline: none;
}

@media (max-width: 760px) {
	.jog-sp-table td:nth-child(6)::before { content: 'Remove' !important; }
	.jog-sp-row-actions { text-align: left; }
}

@media print {
	body > .jog-sp-print-sheet--global,
	body > .jog-sp-print-sheet--global * {
		-webkit-print-color-adjust: exact !important;
		print-color-adjust: exact !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-sheet__top {
		border-bottom-color: #07145f !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-sheet__title,
	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-sheet__focus {
		color: #07145f !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-table th {
		background: #07145f !important;
		border-color: #030b38 !important;
		color: #ffffff !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-table tbody tr:nth-child(even) td,
	body > .jog-sp-print-sheet--global .jog-sp-print-table tbody tr:nth-child(even) td {
		background: #fff8df !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-table tbody tr:nth-child(odd) td,
	body > .jog-sp-print-sheet--global .jog-sp-print-table tbody tr:nth-child(odd) td {
		background: #ffffff !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-sheet__notes {
		border-color: #07145f !important;
	}

	body > .jog-sp-print-sheet--global .jog-sp-print-copy .jog-sp-print-sheet__notes strong {
		color: #07145f !important;
	}
}


/* v1.15.0 - compact red X remove button */
.jog-sp-sr-only {
	border: 0 !important;
	clip: rect(1px, 1px, 1px, 1px) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	width: 1px !important;
	word-wrap: normal !important;
}

.jog-sp-table th:nth-child(3),
.jog-sp-table td:nth-child(3) {
	width: 18% !important;
}

.jog-sp-table th:nth-child(4),
.jog-sp-table td:nth-child(4) {
	width: 26% !important;
}

.jog-sp-table th:nth-child(5),
.jog-sp-table td:nth-child(5) {
	width: 25% !important;
}

.jog-sp-table th:nth-child(6),
.jog-sp-table td:nth-child(6) {
	width: 5% !important;
}

.jog-sp-remove-heading {
	padding-left: .25rem !important;
	padding-right: .25rem !important;
}

.jog-sp-row-actions {
	min-width: 48px;
	padding-left: .25rem !important;
	padding-right: .25rem !important;
}

.jog-sp-row-button.jog-sp-row-button--danger {
	background: #ffffff;
	border: 2px solid #b3261e;
	border-radius: 999px;
	color: #b3261e;
	font-size: 1.45rem;
	font-weight: 800;
	height: 2rem;
	line-height: 1;
	min-height: 2rem;
	padding: 0;
	width: 2rem;
}

.jog-sp-row-button.jog-sp-row-button--danger:hover,
.jog-sp-row-button.jog-sp-row-button--danger:focus {
	background: #b3261e;
	box-shadow: 0 0 0 3px rgba(179, 38, 30, .2);
	color: #ffffff;
}

@media (max-width: 760px) {
	.jog-sp-table td:nth-child(6)::before { content: '' !important; }
	.jog-sp-row-actions { text-align: left; }
}

/* v1.18.0 - remove header print badge and improve mobile session-card layout */
@media screen {
	.jog-sp__shortcode-note {
		display: none !important;
	}
}

@media screen and (max-width: 760px) {
	.jog-sp {
		border-radius: 12px;
		box-shadow: 0 4px 18px rgba(0, 0, 0, .05);
		margin: 1rem 0;
		padding: .85rem;
	}

	.jog-sp__head {
		display: block !important;
		padding: .85rem;
	}

	.jog-sp__title {
		font-size: 1.35rem;
	}

	.jog-sp__intro {
		font-size: .95rem;
	}

	.jog-sp__head-actions {
		display: grid !important;
		grid-template-columns: 1fr;
		justify-content: stretch;
		margin-top: .75rem;
		width: 100%;
	}

	.jog-sp__head-actions .jog-sp-button,
	.jog-sp__tools .jog-sp-button,
	.jog-sp__actions .jog-sp-button,
	.jog-sp-custom-drill__actions .jog-sp-button {
		min-height: 44px;
		width: 100% !important;
	}

	.jog-sp__field--wide {
		display: block !important;
		margin: .85rem 0;
	}

	.jog-sp__field span {
		font-size: .86rem;
	}

	.jog-sp__tools,
	.jog-sp__actions,
	.jog-sp-custom-drill__actions {
		display: grid !important;
		gap: .6rem;
		grid-template-columns: 1fr !important;
	}

	.jog-sp__tools .jog-sp__field {
		min-width: 0 !important;
		width: 100% !important;
	}

	.jog-sp-custom-drill__panel {
		padding: .85rem;
	}

	.jog-sp-custom-drill__grid {
		grid-template-columns: 1fr !important;
	}

	.jog-sp-suggestions {
		font-size: .92rem;
		padding: .65rem;
	}

	.jog-sp-chip {
		border-radius: 10px;
		display: block;
		margin: .35rem 0;
		text-align: left;
		width: 100%;
	}

	.jog-sp__table-wrap {
		overflow: visible !important;
	}

	.jog-sp-table,
	.jog-sp-table tbody,
	.jog-sp-table tr,
	.jog-sp-table td {
		display: block !important;
		min-width: 0 !important;
		width: 100% !important;
	}

	.jog-sp-table {
		border: 0 !important;
		border-collapse: separate !important;
		font-size: .96rem;
		table-layout: auto !important;
	}

	.jog-sp-table thead {
		display: none !important;
	}

	.jog-sp-table tr {
		background: #ffffff !important;
		border: 1px solid rgba(212, 175, 55, .8) !important;
		border-radius: 13px;
		border-top: 4px solid var(--jog-sp-gold);
		box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
		margin: .8rem 0;
		padding: .7rem;
	}

	.jog-sp-table tbody tr:nth-child(even) {
		background: #fff8df !important;
	}

	.jog-sp-table td {
		background: transparent !important;
		border: 0 !important;
		padding: .38rem 0 !important;
	}

	.jog-sp-table td::before {
		color: var(--jog-sp-accent);
		content: '';
		display: block !important;
		font-size: .78rem;
		font-weight: 800;
		letter-spacing: .02em;
		line-height: 1.1;
		margin-bottom: .25rem;
		text-transform: uppercase;
	}

	.jog-sp-table td:nth-child(1)::before { content: 'From' !important; }
	.jog-sp-table td:nth-child(2)::before { content: 'To' !important; }
	.jog-sp-table td:nth-child(3)::before { content: 'Drill' !important; }
	.jog-sp-table td:nth-child(4)::before { content: 'What and How' !important; }
	.jog-sp-table td:nth-child(5)::before { content: 'Why' !important; }
	.jog-sp-table td:nth-child(6)::before { content: '' !important; display: none !important; }

	.jog-sp-table select,
	.jog-sp-table input,
	.jog-sp-table textarea,
	.jog-sp__field input,
	.jog-sp__field select,
	.jog-sp__field textarea {
		font-size: 16px;
		min-height: 46px;
		padding: .62rem .7rem;
	}

	.jog-sp-table textarea {
		line-height: 1.32;
		min-height: 92px;
	}

	.jog-sp-row-actions {
		min-width: 0 !important;
		padding-top: .2rem !important;
		text-align: right !important;
	}

	.jog-sp-row-button.jog-sp-row-button--danger {
		font-size: 1.55rem;
		height: 2.25rem;
		min-height: 2.25rem;
		width: 2.25rem;
	}

	body > .jog-sp.jog-sp--expanded {
		border-radius: 10px !important;
		bottom: 6px !important;
		left: 6px !important;
		padding: .75rem !important;
		right: 6px !important;
		top: 6px !important;
	}
}

@media screen and (max-width: 782px) {
	body.admin-bar > .jog-sp.jog-sp--expanded,
	.admin-bar body > .jog-sp.jog-sp--expanded {
		top: 52px !important;
		height: calc(100vh - 58px) !important;
		max-height: calc(100vh - 58px) !important;
	}
}


/* v1.19.0 - rebuilt mobile layout: compact session cards instead of squeezed table */
@media screen and (max-width: 900px) {
	.jog-sp {
		--jog-sp-mobile-gap: .72rem;
		border-radius: 12px !important;
		margin: .75rem 0 !important;
		padding: .75rem !important;
		width: 100% !important;
	}

	.jog-sp__head {
		border-radius: 11px !important;
		margin-bottom: .8rem !important;
		padding: .82rem !important;
	}

	.jog-sp__title {
		font-size: 1.28rem !important;
		line-height: 1.15 !important;
	}

	.jog-sp__intro {
		font-size: .92rem !important;
		line-height: 1.35 !important;
		margin-top: .35rem !important;
	}

	.jog-sp__head-actions,
	.jog-sp__tools,
	.jog-sp__actions,
	.jog-sp-custom-drill__actions {
		display: grid !important;
		gap: .55rem !important;
		grid-template-columns: 1fr !important;
		width: 100% !important;
	}

	.jog-sp__tools {
		align-items: stretch !important;
		margin: .75rem 0 !important;
	}

	.jog-sp__field,
	.jog-sp__tools .jog-sp__field {
		min-width: 0 !important;
		width: 100% !important;
	}

	.jog-sp__field span {
		font-size: .8rem !important;
		font-weight: 800 !important;
		letter-spacing: .01em !important;
		margin-bottom: .25rem !important;
	}

	.jog-sp-button,
	.jog-sp__head-actions .jog-sp-button,
	.jog-sp__tools .jog-sp-button,
	.jog-sp__actions .jog-sp-button,
	.jog-sp-custom-drill__actions .jog-sp-button {
		border-radius: 10px !important;
		font-size: .95rem !important;
		line-height: 1.15 !important;
		min-height: 46px !important;
		padding: .8rem .85rem !important;
		text-align: center !important;
		width: 100% !important;
	}

	.jog-sp__field--wide {
		display: block !important;
		margin: .75rem 0 !important;
	}

	.jog-sp__field input,
	.jog-sp__field select,
	.jog-sp__field textarea,
	.jog-sp-table input,
	.jog-sp-table select,
	.jog-sp-table textarea {
		border-radius: 10px !important;
		font-size: 16px !important;
		line-height: 1.25 !important;
		min-height: 46px !important;
		padding: .7rem .72rem !important;
		width: 100% !important;
	}

	.jog-sp__table-wrap {
		margin: .75rem 0 !important;
		overflow: visible !important;
		width: 100% !important;
	}

	.jog-sp-table,
	.jog-sp-table tbody {
		border: 0 !important;
		border-collapse: separate !important;
		display: block !important;
		font-size: 1rem !important;
		min-width: 0 !important;
		table-layout: auto !important;
		width: 100% !important;
	}

	.jog-sp-table thead {
		display: none !important;
	}

	.jog-sp-rows {
		counter-reset: jogsessionrow !important;
	}

	.jog-sp-table tbody tr {
		background: #ffffff !important;
		border: 1px solid rgba(212, 175, 55, .9) !important;
		border-radius: 14px !important;
		border-top: 5px solid var(--jog-sp-gold) !important;
		box-shadow: 0 5px 18px rgba(7, 20, 95, .08) !important;
		box-sizing: border-box !important;
		counter-increment: jogsessionrow !important;
		display: grid !important;
		gap: var(--jog-sp-mobile-gap) !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
		margin: .85rem 0 !important;
		padding: 2.55rem .75rem .8rem !important;
		position: relative !important;
		width: 100% !important;
	}

	.jog-sp-table tbody tr::before {
		background: var(--jog-sp-accent) !important;
		border-radius: 0 0 9px 0 !important;
		color: #ffffff !important;
		content: 'Leg ' counter(jogsessionrow) !important;
		font-size: .78rem !important;
		font-weight: 800 !important;
		left: 0 !important;
		letter-spacing: .02em !important;
		line-height: 1 !important;
		padding: .55rem .7rem !important;
		position: absolute !important;
		top: 0 !important;
	}

	.jog-sp-table tbody tr:nth-child(even) {
		background: #fffaf0 !important;
	}

	.jog-sp-table tbody tr td,
	.jog-sp-table tbody tr .jog-sp-cell {
		background: transparent !important;
		border: 0 !important;
		display: block !important;
		min-width: 0 !important;
		padding: 0 !important;
		width: 100% !important;
	}

	.jog-sp-table tbody tr .jog-sp-cell--from,
	.jog-sp-table tbody tr .jog-sp-cell--to {
		grid-column: span 1 !important;
	}

	.jog-sp-table tbody tr .jog-sp-cell--drill,
	.jog-sp-table tbody tr .jog-sp-cell--what,
	.jog-sp-table tbody tr .jog-sp-cell--why {
		grid-column: 1 / -1 !important;
	}

	.jog-sp-table tbody tr .jog-sp-row-actions {
		background: transparent !important;
		border: 0 !important;
		min-width: 0 !important;
		padding: 0 !important;
		position: absolute !important;
		right: .55rem !important;
		text-align: right !important;
		top: .45rem !important;
		width: auto !important;
		z-index: 2 !important;
	}

	.jog-sp-table td::before,
	.jog-sp-table .jog-sp-cell::before {
		color: var(--jog-sp-accent) !important;
		content: '' !important;
		display: block !important;
		font-size: .76rem !important;
		font-weight: 900 !important;
		letter-spacing: .03em !important;
		line-height: 1 !important;
		margin: 0 0 .28rem !important;
		text-transform: uppercase !important;
	}

	.jog-sp-table .jog-sp-cell--from::before,
	.jog-sp-table td:nth-child(1)::before { content: 'From' !important; }
	.jog-sp-table .jog-sp-cell--to::before,
	.jog-sp-table td:nth-child(2)::before { content: 'To' !important; }
	.jog-sp-table .jog-sp-cell--drill::before,
	.jog-sp-table td:nth-child(3)::before { content: 'Drill' !important; }
	.jog-sp-table .jog-sp-cell--what::before,
	.jog-sp-table td:nth-child(4)::before { content: 'What and How' !important; }
	.jog-sp-table .jog-sp-cell--why::before,
	.jog-sp-table td:nth-child(5)::before { content: 'Why' !important; }
	.jog-sp-table .jog-sp-row-actions::before,
	.jog-sp-table td:nth-child(6)::before { content: '' !important; display: none !important; }

	.jog-sp-table select {
		height: 46px !important;
		max-width: 100% !important;
		padding-right: 2.1rem !important;
		text-overflow: ellipsis !important;
	}

	.jog-sp-table textarea {
		line-height: 1.32 !important;
		min-height: 78px !important;
		resize: vertical !important;
	}

	.jog-sp-table .jog-sp-cell--why textarea {
		min-height: 70px !important;
	}

	.jog-sp-row-button.jog-sp-row-button--danger {
		align-items: center !important;
		background: #ffffff !important;
		border: 2px solid #b3261e !important;
		border-radius: 999px !important;
		box-shadow: 0 2px 8px rgba(0,0,0,.08) !important;
		color: #b3261e !important;
		display: inline-flex !important;
		font-size: 1.45rem !important;
		font-weight: 900 !important;
		height: 2.1rem !important;
		justify-content: center !important;
		line-height: 1 !important;
		min-height: 2.1rem !important;
		padding: 0 !important;
		width: 2.1rem !important;
	}

	.jog-sp-row-button.jog-sp-row-button--danger:hover,
	.jog-sp-row-button.jog-sp-row-button--danger:focus {
		background: #b3261e !important;
		color: #ffffff !important;
	}

	.jog-sp-custom-drill__panel,
	.jog-sp-suggestions {
		border-radius: 12px !important;
		font-size: .94rem !important;
		padding: .75rem !important;
	}

	.jog-sp-custom-drill__grid {
		display: grid !important;
		gap: .65rem !important;
		grid-template-columns: 1fr !important;
	}

	.jog-sp-chip {
		border-radius: 10px !important;
		display: block !important;
		font-size: .92rem !important;
		margin: .35rem 0 !important;
		padding: .62rem .7rem !important;
		text-align: left !important;
		width: 100% !important;
	}

	body > .jog-sp.jog-sp--expanded {
		border-radius: 10px !important;
		bottom: 5px !important;
		height: calc(100vh - 10px) !important;
		left: 5px !important;
		max-height: calc(100vh - 10px) !important;
		overflow-y: auto !important;
		padding: .7rem !important;
		right: 5px !important;
		top: 5px !important;
	}
}

@media screen and (max-width: 430px) {
	.jog-sp-table tbody tr {
		grid-template-columns: 1fr !important;
		padding-left: .68rem !important;
		padding-right: .68rem !important;
	}

	.jog-sp-table tbody tr .jog-sp-cell--from,
	.jog-sp-table tbody tr .jog-sp-cell--to {
		grid-column: 1 / -1 !important;
	}

	.jog-sp__title {
		font-size: 1.18rem !important;
	}
}

/* v1.20.0 - table heading contrast and centred red remove X */
.jog-sp-table thead th,
.jog-sp-table thead th *,
.jog-sp-table th,
.jog-sp-table th * {
	color: #ffffff !important;
}

.jog-sp-table th.jog-sp-remove-heading,
.jog-sp-table td.jog-sp-row-actions,
.jog-sp-row-actions {
	text-align: center !important;
	vertical-align: middle !important;
}

.jog-sp-table td.jog-sp-row-actions {
	padding-left: .25rem !important;
	padding-right: .25rem !important;
}

.jog-sp-row-button.jog-sp-row-button--danger {
	align-items: center !important;
	background: #b3261e !important;
	border: 2px solid #b3261e !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	color: #ffffff !important;
	display: inline-flex !important;
	font-size: 1.35rem !important;
	font-weight: 900 !important;
	height: 2.05rem !important;
	justify-content: center !important;
	line-height: 1 !important;
	margin: 0 auto !important;
	min-height: 2.05rem !important;
	padding: 0 0 .04em !important;
	text-align: center !important;
	width: 2.05rem !important;
}

.jog-sp-row-button.jog-sp-row-button--danger:hover,
.jog-sp-row-button.jog-sp-row-button--danger:focus {
	background: #8f1f18 !important;
	border-color: #8f1f18 !important;
	box-shadow: 0 0 0 3px rgba(179, 38, 30, .22) !important;
	color: #ffffff !important;
	outline: none !important;
}

@media screen and (max-width: 900px) {
	.jog-sp-table tbody tr .jog-sp-row-actions {
		align-items: center !important;
		display: flex !important;
		justify-content: center !important;
		text-align: center !important;
	}

	.jog-sp-row-button.jog-sp-row-button--danger {
		height: 2.15rem !important;
		min-height: 2.15rem !important;
		width: 2.15rem !important;
	}
}
