/* Pressure Calculator — Acvatron.md */

.prc-wrap {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	max-width: 720px;
	margin: 0 auto;
	padding: 24px 0;
	color: #1a1a1a;
}

/* Header */
.prc-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
}

.prc-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: #0072C6;
	color: #fff;
	border-radius: 8px;
	flex-shrink: 0;
}

.prc-title {
	font-size: 20px !important;
	font-weight: 500 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	color: #1a1a1a !important;
	line-height: 1.3 !important;
}

.prc-hint {
	font-size: 13px;
	color: #666;
	margin: 0 0 20px !important;
}

/* Fields grid */
.prc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 10px;
	margin-bottom: 14px;
}

.prc-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 10px 12px;
	transition: border-color 0.15s;
}

.prc-field:focus-within {
	border-color: #0072C6;
	box-shadow: 0 0 0 3px rgba(0, 114, 198, 0.1);
}

.prc-field-label {
	font-size: 12px;
	color: #666;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	user-select: none;
}

.prc-field-abbr {
	font-size: 11px;
	color: #999;
	font-weight: 400;
}

.prc-field input {
	width: 100% !important;
	background: transparent !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	font-size: 17px !important;
	font-weight: 500 !important;
	color: #1a1a1a !important;
	padding: 0 !important;
	margin: 0 !important;
	-moz-appearance: textfield;
}

.prc-field input::-webkit-outer-spin-button,
.prc-field input::-webkit-inner-spin-button {
	-webkit-appearance: none;
}

/* Reset button */
.prc-reset {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #555;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 6px 14px;
	cursor: pointer;
	margin-bottom: 24px;
	transition: background 0.15s;
}

.prc-reset:hover {
	background: #f5f5f5;
}

/* Section label */
.prc-section-label {
	font-size: 11px;
	font-weight: 500;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 10px;
	margin-top: 4px;
}

/* Table */
.prc-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	margin-bottom: 24px;
}

.prc-table th {
	text-align: left;
	font-size: 11px;
	font-weight: 500;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 6px 10px;
	border-bottom: 1px solid #eee;
}

.prc-table td {
	padding: 7px 10px;
	border-bottom: 1px solid #f0f0f0;
	color: #1a1a1a;
}

.prc-table td:last-child {
	text-align: right;
	font-variant-numeric: tabular-nums;
	color: #555;
}

.prc-table tr:last-child td {
	border-bottom: none;
}

.prc-table tr:hover td {
	background: #fafafa;
}

/* Formula */
.prc-formula {
	background: #f7f7f7;
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 13px;
	color: #333;
	line-height: 1.7;
	margin-bottom: 8px;
}

.prc-formula code {
	font-family: monospace;
	font-size: 12px;
	color: #666;
	display: block;
	margin-top: 4px;
}

/* Responsive */
@media (max-width: 480px) {
	.prc-grid {
		grid-template-columns: 1fr 1fr;
	}
	.prc-title {
		font-size: 17px !important;
	}
}
