/* Numbers printable (מספרים להדפסה): number chart / hundred chart / flashcards
   / big number. */

.in4u-nm {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 16px;
	margin: 16px 0;
	font-family: inherit;
	color: #212529;
	direction: rtl;
	text-align: right;
}

.in4u-nm-controls { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; margin-bottom: 12px; }
.in4u-nm-ctrl { display: flex; flex-direction: column; gap: 4px; font-size: 14px; margin: 0; }
.in4u-nm-ctrl > span { font-weight: 600; color: #495057; }
.in4u-nm-ctrl select,
.in4u-nm-ctrl input[type="number"] {
	padding: 6px 10px; border: 1px solid #ced4da; border-radius: 4px;
	background: #fff; font-size: 14px; font-family: inherit; min-width: 110px; direction: rtl;
}
.in4u-nm-ctrl input[type="number"] { min-width: 90px; }
.in4u-nm-toggle { flex-direction: row; align-items: center; gap: 6px; padding-top: 22px; }
.in4u-nm-toggle input { margin: 0; }

.in4u-nm-actions {
	display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
	margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0;
}
.in4u-nm-btn { padding: 8px 16px; border: 1px solid transparent; border-radius: 4px; font-size: 14px; font-family: inherit; cursor: pointer; transition: filter 0.15s; }
.in4u-nm-btn:hover { filter: brightness(0.95); }
.in4u-nm-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.in4u-nm-btn-primary { background: #2271b1; color: #fff; }
.in4u-nm-btn-secondary { background: #fff; color: #2271b1; border: 1px solid #2271b1; }
.in4u-nm-status { font-size: 13px; color: #6c757d; }

.in4u-nm-sheet { background: #fff; padding: 8px; }
.in4u-nm-render { overflow-x: auto; }

.in4u-nm-grid { display: grid; gap: 6px; }
.in4u-nm-cell {
	border: 1px solid #adb5bd;
	border-radius: 6px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	color: #212529;
}
.in4u-nm-chart .in4u-nm-cell { padding: 10px 2px; font-size: 20px; }
.in4u-nm-cards .in4u-nm-cell { border-style: dashed; padding: 26px 4px; font-size: 60px; }

.in4u-nm-single { text-align: center; }
.in4u-nm-single svg { width: 100%; max-width: 360px; height: auto; }

@media (max-width: 560px) {
	.in4u-nm-chart .in4u-nm-cell { font-size: 15px; padding: 6px 1px; }
	.in4u-nm-cards .in4u-nm-cell { font-size: 44px; }
}

@media print {
	.in4u-nm-controls, .in4u-nm-actions { display: none !important; }
	.in4u-nm { border: none; padding: 0; margin: 0; }
}
