/* Nepali Tools Suite - shared styles */
.nts-tool {
	max-width: 640px;
	margin: 1.5em 0;
	padding: 24px;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	background: #fafafa;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	box-sizing: border-box;
}
.nts-tool * { box-sizing: border-box; }
.nts-tool h3 {
	margin-top: 0;
	font-size: 1.15em;
}
.nts-field {
	margin-bottom: 14px;
}
.nts-field label {
	display: block;
	font-size: 0.9em;
	font-weight: 600;
	margin-bottom: 4px;
	color: #333;
}
.nts-field input[type="text"],
.nts-field input[type="number"],
.nts-field select,
.nts-field textarea {
	width: 100%;
	padding: 9px 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 0.95em;
}
.nts-field textarea { resize: vertical; }
.nts-row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
.nts-row .nts-field { flex: 1; min-width: 140px; }
.nts-btn {
	display: inline-block;
	padding: 10px 18px;
	background: #1a73e8;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 0.95em;
	font-weight: 600;
	cursor: pointer;
}
.nts-btn:hover { background: #1558b0; }
.nts-btn-secondary {
	background: #eee;
	color: #333;
}
.nts-btn-secondary:hover { background: #ddd; }
.nts-result {
	margin-top: 16px;
	padding: 14px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 0.95em;
}
.nts-result strong { color: #1a73e8; }
.nts-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
	font-size: 0.88em;
}
.nts-table th, .nts-table td {
	border: 1px solid #e2e2e2;
	padding: 6px 8px;
	text-align: right;
}
.nts-table th:first-child, .nts-table td:first-child { text-align: left; }
.nts-note {
	font-size: 0.8em;
	color: #777;
	margin-top: 10px;
}
.nts-output-box {
	white-space: pre-wrap;
	word-break: break-word;
	font-family: monospace;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 10px;
	min-height: 60px;
}
.nts-error { color: #c62828; font-size: 0.85em; margin-top: 6px; }
