html, body { height: 100%; }
#gtPrintArea { display: none; }

/* ---------- shell bar ---------- */
.gtShellBar.sapMTB {
	background: var(--sapShellColor, #fff);
	border-bottom: 1px solid var(--sapShell_BorderColor, #d9d9d9);
	box-shadow: var(--sapContent_HeaderShadow, 0 0.125rem 0.125rem 0 rgba(34, 53, 72, .05));
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}
.gtSimLabel.sapMObjStatus {
	margin-left: 0.5rem;
	white-space: nowrap;
	flex-shrink: 0;
}
.gtSimLabel .sapMObjStatusText { font-weight: bold; }
.gtSignInLabel { font-weight: bold; margin-bottom: 0.5rem; display: block; }

/* The label must stay in view: narrower screens drop the search field first, then the command field. */
@media (max-width: 760px) {
	.gtSearch { display: none !important; }
}
@media (max-width: 600px) {
	.gtCmd { display: none !important; }
	.gtUserBtn .sapMBtnContent, .gtUserBtn bdi { display: none !important; }
	.gtSimLabel.sapMObjStatus { margin-left: 0.25rem; }
}

/* ---------- transaction code on each screen ---------- */
.gtTcode.sapMObjStatus {
	border: 1px solid var(--sapField_BorderColor, #89919a);
	border-radius: 0.25rem;
	padding: 0 0.5rem;
	margin-right: 0.5rem;
	font-family: var(--sapFontFamily);
}
.gtTcode .sapMObjStatusText { font-weight: bold; letter-spacing: 0.03em; }

/* ---------- message bar at the foot of the screen ---------- */
.gtMsgBar.sapMTB {
	border-top: 1px solid var(--sapGroup_TitleBorderColor, #d9d9d9);
	background: var(--sapPageFooter_Background, #fff);
	padding-left: 0.75rem;
}
.gtMsgBar .gtMsgIcon { font-size: 1.125rem; margin-right: 0.5rem; }
.gtMsgBar .gtMsgText { font-weight: bold; }
.gtMsgBar.sapMTB[data-msgtype="Success"] { background: var(--sapSuccessBackground, #f5fae5) !important; border-top: 2px solid var(--sapSuccessBorderColor, #30914c); }
.gtMsgBar[data-msgtype="Success"] .gtMsgIcon,
.gtMsgBar[data-msgtype="Success"] .gtMsgText { color: var(--sapPositiveTextColor, #256f3a); }
.gtMsgBar.sapMTB[data-msgtype="Warning"] { background: var(--sapWarningBackground, #fff8d6) !important; border-top: 2px solid var(--sapWarningBorderColor, #e76500); }
.gtMsgBar[data-msgtype="Warning"] .gtMsgIcon { color: var(--sapCriticalElementColor, #e76500); }
.gtMsgBar[data-msgtype="Warning"] .gtMsgText { color: var(--sapCriticalTextColor, #a8540b); }
.gtMsgBar.sapMTB[data-msgtype="Error"] { background: var(--sapErrorBackground, #ffeaf4) !important; border-top: 2px solid var(--sapErrorBorderColor, #e90b0b); }
.gtMsgBar[data-msgtype="Error"] .gtMsgIcon,
.gtMsgBar[data-msgtype="Error"] .gtMsgText { color: var(--sapNegativeTextColor, #aa0808); }

/* ---------- screens ---------- */
.gtPanel.sapMPanel { margin: 0.5rem 0.5rem 0 0.5rem; width: calc(100% - 1rem) !important; box-sizing: border-box; border: 1px solid var(--sapGroup_TitleBorderColor, #d9d9d9); border-radius: 0.5rem; }
.gtPanel .sapMPanelContent { padding: 0.5rem; }
.gtTabs .sapMITBContent { padding: 0.5rem; }
.gtTopRow.sapMTB { margin: 0.5rem 0.5rem 0 0.5rem; width: calc(100% - 1rem) !important; box-sizing: border-box; border: 1px solid var(--sapGroup_TitleBorderColor, #d9d9d9); border-radius: 0.5rem; background: var(--sapGroup_ContentBackground, #fff); }
.gtItemOkBar.sapMTB { border-top: 1px solid var(--sapGroup_TitleBorderColor, #d9d9d9); background: transparent; }
.gtHint { color: var(--sapContent_LabelColor, #556b82); font-size: 0.8125rem; }
.gtSpecTitle { font-weight: bold; font-size: 1rem; margin-bottom: 0.5rem; }
.gtSpecText { font-family: Consolas, "Courier New", monospace; font-size: 0.8125rem; margin-top: 0.75rem; display: block; }

/* ---------- Form 13 ---------- */
.gtF13 {
	background: #fff;
	color: #000;
	font-family: "Times New Roman", Times, serif;
	font-size: 12px;
	line-height: 1.25;
	width: 277mm;
	min-height: 180mm;
	box-sizing: border-box;
	margin: 1rem auto;
	padding: 6mm 8mm;
	border: 1px solid #c8c8c8;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
	position: relative;
}
.gtF13 .gtF13Orig { text-align: right; font-size: 11px; padding-right: 12mm; }
.gtF13 .gtF13Title { text-align: center; font-weight: bold; font-size: 13px; margin: 4mm 0 10mm 0; }
.gtF13 .gtF13Title .gtF13Utility { margin-bottom: 4mm; }
.gtF13 table { border-collapse: collapse; width: 100%; }
.gtF13 td, .gtF13 th { border: 1px solid #000; padding: 1px 4px; vertical-align: top; }
.gtF13 .gtF13Head { width: 94%; margin: 0 auto; font-size: 13px; }
.gtF13 .gtF13Head td.gtF13Lbl { width: 14%; text-align: left; }
.gtF13 .gtF13Head td.gtF13Val { width: 13%; text-align: center; }
.gtF13 .gtF13Head tr td:last-child { width: 25%; }
.gtF13 .gtF13Note { width: 94%; margin: 1mm auto 10mm auto; padding-left: 3mm; font-size: 13px; }
.gtF13 .gtF13Items { font-size: 11px; }
.gtF13 .gtF13Items th { font-weight: bold; text-align: center; vertical-align: middle; }
.gtF13 .gtF13Items td { height: 14mm; word-break: break-word; }
.gtF13 .gtF13Items td.c { text-align: center; }
.gtF13 .gtF13Items td.r { text-align: right; white-space: nowrap; }
.gtF13 .gtF13Foot { margin-top: 6mm; font-size: 13px; }
.gtF13 .gtF13Foot div { margin-bottom: 1.5mm; }
.gtF13 .gtF13Cert { margin-top: 5mm; font-size: 12px; }
.gtF13 .gtF13CertHead { font-weight: bold; font-size: 13px; margin-bottom: 1mm; }
.gtF13 .gtF13Sign { margin: 16mm 0 0 28mm; font-size: 11px; }
.gtF13 .gtF13PageNo { text-align: right; margin-top: 12mm; font-size: 12px; padding-right: 4mm; }
.gtF13Page .sapMPageEnableScrolling { overflow-x: auto; }

/* ---------- print: only the form, A4 landscape ---------- */
@page { size: A4 landscape; margin: 10mm; }
@media print {
	html, body { height: auto !important; overflow: visible !important; background: #fff !important; }
	body > *:not(#gtPrintArea) { display: none !important; }
	#gtPrintArea { display: block !important; }
	#gtPrintArea .gtF13 {
		margin: 0;
		border: none;
		box-shadow: none;
		padding: 0;
		width: 100%;
		min-height: 0;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
}
