/* The signer's page — deliberately plain and high contrast: it is read once, on
   an unknown device, often outdoors. Horizon colours, no dependency on the desk
   theme (this page is served to guests, where fiori.css is not loaded). */
.sign-page {
	max-width: 880px;
	margin: 0 auto;
	padding: 24px 16px 64px;
	color: #1d2d3e;
}
.sign-status {
	padding: 40px 8px;
	font-size: 1rem;
	color: #556b82;
	text-align: center;
}
.sign-status.sign-done {
	color: #256f3a;
	font-weight: 600;
}
.sign-head {
	margin-bottom: 16px;
}
.sign-title {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 700;
}
.sign-sub {
	margin: 4px 0 0;
	color: #556b82;
	font-size: 0.9375rem;
}
.sign-doc {
	max-height: 60vh;
	overflow: auto;
	padding: 16px;
	border: 1px solid #d9d9d9;
	border-radius: 8px;
	background: #ffffff;
}
.sign-doc:focus-visible {
	outline: 2px solid #0032a5;
	outline-offset: 2px;
}
.sign-pad-wrap {
	margin-top: 20px;
}
.sign-label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.875rem;
	font-weight: 600;
	color: #556b82;
}
.sign-pad {
	display: block;
	width: 100%;
	height: 200px;
	border: 2px dashed #bcc3ca;
	border-radius: 8px;
	background: #ffffff;
	touch-action: none; /* the pad owns the gesture, or a phone scrolls instead of drawing */
	cursor: crosshair;
}
.sign-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}
.sign-btn {
	height: 44px;
	padding: 0 20px;
	border-radius: 8px;
	border: 1px solid #bcc3ca;
	background: #ffffff;
	color: #1d2d3e;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
}
.sign-btn:focus-visible {
	outline: 2px solid #0032a5;
	outline-offset: 2px;
}
.sign-submit {
	margin-left: auto;
	border-color: #0070f2;
	background: #0070f2;
	color: #ffffff;
}
.sign-submit:disabled {
	opacity: 0.5;
	cursor: default;
}
.sign-decline {
	color: #aa0808;
	border-color: #aa0808;
}
.sign-legal {
	margin-top: 12px;
	font-size: 0.75rem;
	color: #6a7e95;
}
@media (max-width: 575.98px) {
	.sign-submit {
		margin-left: 0;
		width: 100%;
	}
	.sign-pad {
		height: 170px;
	}
}

/* frappe's print view ships its own Print / Get PDF toolbar; inside the signing
   page it is noise pointing at pages the signer cannot open. */
.sign-doc .print-toolbar,
.sign-doc .page-break-message,
.sign-doc .print-format-builder-btn {
	display: none !important;
}
.sign-doc .print-format {
	padding: 0;
}
