/* LEGO Set Manager – solo dimensioni, piccoli allineamenti e stampa (AT §6.5): i colori vengono dal tema */

html, body, #content { height: 100%; }
.lsmRoot { height: 100%; }
.lsmApp { position: relative; }
.lsmApp.sapMApp, .lsmApp > .sapMNav { height: 100% !important; }

/* Login e impostazione password */
.lsmAuthCard {
	background: var(--sapGroup_ContentBackground);
	border: 1px solid var(--sapGroup_TitleBorderColor);
	border-radius: 0.25rem;
	padding: 1.5rem;
	box-shadow: var(--sapContent_Shadow0);
}
.lsmBareForm .sapUiFormResGridCont { padding: 0; }
.lsmBareForm .sapUiRespGrid.sapUiFormResGridCont > div { padding-left: 0; padding-right: 0; }

/* Immagini di parti e set */
.lsmThumb { width: 40px; height: 40px; object-fit: contain; }
.lsmThumb.sapUiIcon { font-size: 1.5rem; color: var(--sapContent_NonInteractiveIconColor); }
.lsmSetImage { max-width: 10rem; max-height: 7.5rem; object-fit: contain; }
.lsmPreviewImage { max-width: 100%; max-height: 10rem; object-fit: contain; }

/* Campione colore */
.lsmSwatch {
	display: inline-block;
	width: 0.875rem;
	height: 0.875rem;
	border: 1px solid var(--sapContent_ForegroundBorderColor);
	border-radius: 2px;
	vertical-align: middle;
	margin-right: 0.375rem;
}

.lsmNumber { font-variant-numeric: tabular-nums; }
.lsmMoreButton { margin: 0.5rem auto; display: block; }

/* Vista di stampa: sempre compatta */
.lsmPrintHeader { padding: 1rem 1rem 0.5rem; }
.lsmPrintTable .sapMListTblCell { padding-top: 0.125rem; padding-bottom: 0.125rem; }

@media print {
	@page { margin: 12mm; }
	.sapFShellBar,
	.lsmNoPrint,
	.sapMPageHeader,
	.sapMPageFooter { display: none !important; }
	html, body, #content, .lsmRoot, .lsmApp, .lsmApp > .sapMNav, .sapMNavItem, .sapMPage, .sapMPageEnableScrolling {
		height: auto !important;
		overflow: visible !important;
		position: static !important;
	}
	.sapMPage > section { position: static !important; overflow: visible !important; }
	.lsmPrintTable { font-size: 0.75rem; }
	.lsmPrintTable tr { break-inside: avoid; }
	body { background: #fff !important; }
}

.lsmStrong { font-weight: bold; }
.lsmSmallLink { font-size: 0.75rem; }
