.aksharkosh-tracing {
	margin: 1.5em 0;
}
.aksharkosh-tracing .tr-editor label,
.aksharkosh-tracing .tr-field,
.aksharkosh-tracing .tr-style legend {
	display: block;
	font: inherit;
	font-weight: 600;
}
.aksharkosh-tracing .tr-editor label {
	margin-bottom: 0.35em;
}
.aksharkosh-tracing textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 9em;
	padding: 0.75em;
	border: 1px solid var(--aksharkosh-border, rgba(128, 128, 128, 0.5));
	border-radius: 6px;
	background: var(--aksharkosh-pane-bg, transparent);
	color: inherit;
	font-family: inherit;
	font-size: 1.1em;
	line-height: 1.7;
	resize: vertical;
}
.aksharkosh-tracing .tr-hint,
.aksharkosh-tracing .tr-status {
	margin: 0.5em 0 0;
	font-size: 0.9em;
	opacity: 0.8;
}
.aksharkosh-tracing .tr-options {
	display: flex;
	align-items: end;
	flex-wrap: wrap;
	gap: 0.8em 1.25em;
	margin: 1.3em 0;
}
.aksharkosh-tracing .tr-field select {
	display: block;
	margin-top: 0.3em;
}
.aksharkosh-tracing select,
.aksharkosh-tracing .tr-preview-heading button {
	border: 1px solid var(--dl-accent, #3b47c4);
	border-radius: 999px;
	background: var(--dl-page, #fff);
	color: var(--dl-accent, #3b47c4);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
}
.aksharkosh-tracing select {
	max-width: 100%;
	padding: 0.5em 0.85em;
}
.aksharkosh-tracing .tr-style {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em 0.9em;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}
.aksharkosh-tracing .tr-style legend {
	margin-bottom: 0.3em;
}
.aksharkosh-tracing .tr-style label,
.aksharkosh-tracing .tr-check {
	display: inline-flex;
	align-items: center;
	gap: 0.25em;
	font-family: inherit;
	font-size: 0.95em;
}
.aksharkosh-tracing .tr-check {
	padding-bottom: 0.5em;
}
.aksharkosh-tracing .tr-preview-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
	margin-bottom: 0.65em;
}
.aksharkosh-tracing .tr-preview-heading button {
	padding: 0.55em 1.2em;
	cursor: pointer;
}
.aksharkosh-tracing .tr-preview-heading button:hover:not(:disabled) {
	background: var(--dl-accent, #3b47c4);
	color: #fff;
}
.aksharkosh-tracing .tr-preview-heading button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
.aksharkosh-tracing textarea:focus-visible,
.aksharkosh-tracing select:focus-visible,
.aksharkosh-tracing button:focus-visible,
.aksharkosh-tracing input:focus-visible {
	outline: 2px solid var(--aksharkosh-focus, rgba(37, 99, 235, 0.6));
	outline-offset: 2px;
}
.aksharkosh-tracing .tr-preview {
	max-height: 1000px;
	padding: 1em;
	overflow: auto;
	background: rgba(128, 128, 128, 0.09);
}
.aksharkosh-tracing .tr-preview:empty {
	min-height: 4em;
}
.tr-page {
	position: relative;
	box-sizing: border-box;
	width: 210mm;
	height: 297mm;
	margin: 0 auto 1em;
	padding: 14mm 15mm 20mm;
	background: #fff;
	color: #222;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
}
.tr-page:last-child {
	margin-bottom: 0;
}
.tr-row {
	break-inside: avoid;
	page-break-inside: avoid;
}
.tr-row svg {
	display: block;
	max-width: none;
	font-family: "Noto Sans Devanagari", "Nirmala UI", Mangal, sans-serif;
	text-rendering: geometricPrecision;
}
.tr-row .tr-guide {
	stroke: #c5cad0;
	stroke-width: 0.2;
	stroke-dasharray: 1.1 1.1;
}
.tr-row .tr-solid {
	fill: #222;
	stroke: none;
}
.tr-row .tr-grey {
	fill: #c8c8c8;
	stroke: none;
}
.tr-row .tr-dotted,
.tr-row .tr-outlined {
	fill: none;
	stroke: #555;
	stroke-linejoin: round;
	stroke-linecap: round;
}
.tr-row .tr-outlined {
	stroke-width: 0.24;
}
.tr-page-footer {
	position: absolute;
	right: 15mm;
	bottom: 9mm;
	font-family: inherit;
	font-size: 9pt;
	color: #666;
}
.tr-print-sheet {
	display: none;
}
@page {
	size: A4 portrait;
	margin: 0;
}
@media print {
	body.tr-print-ready {
		margin: 0 !important;
		padding: 0 !important;
		overflow: visible !important;
	}
	body.tr-print-ready > :not(.tr-print-sheet) {
		display: none !important;
	}
	body.tr-print-ready > .tr-print-sheet:not(.tr-print-active) {
		display: none !important;
	}
	body.tr-print-ready > .tr-print-sheet.tr-print-active {
		display: block !important;
	}
	.tr-print-sheet .tr-page {
		margin: 0;
		box-shadow: none;
		break-after: page;
		page-break-after: always;
	}
	.tr-print-sheet .tr-page:last-child {
		break-after: auto;
		page-break-after: auto;
	}
}
