/* public_html/css/angle_style.css */
/* Версия 202606050140 */
/* Изменено 05.06.2026 01:40:00 */

/* =============================
 * Страница: Калькулятор внутреннего угла
 * ============================= */

.angle-page {
	max-width: 1180px;
}

.angle-layout {
	align-items: stretch;
}

.angle-card {
	background: #fff;
	border-radius: 16px;
	padding: 22px;
	box-shadow: 0 12px 35px rgba(0,0,0,.06);
	height: 100%;
}

.angle-card + .angle-card {
	margin-top: 18px;
}

.angle-card__title {
	font-size: 20px;
	line-height: 1.2;
	font-weight: 700;
	margin: 0 0 18px 0;
}

.angle-field-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.angle-field--full {
	grid-column: 1 / -1;
}

.angle-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.angle-field__label {
	font-size: 14px;
	line-height: 1.45;
	color: rgba(0,0,0,.72);
}

.angle-input {
	width: 100%;
	height: 50px;
	border: 1px solid rgba(0,0,0,.12);
	border-radius: 12px;
	background: #fff;
	padding: 0 14px;
	font-size: 17px;
	font-weight: 500;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.angle-input:focus {
	outline: none;
	border-color: #111;
	box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}

.angle-result {
	margin-top: 20px;
	padding: 18px;
	border-radius: 14px;
	background: #f6f7fb;
}

.angle-result__label {
	font-size: 14px;
	color: rgba(0,0,0,.62);
	margin-bottom: 6px;
}

.angle-result__value {
	font-size: 38px;
	line-height: 1;
	font-weight: 700;
	margin-bottom: 10px;
}

.angle-result__hint {
	font-size: 14px;
	line-height: 1.7;
	color: rgba(0,0,0,.7);
}

.angle-visual-wrap {
	position: relative;
	background: linear-gradient(180deg, #fbfbfd 0%, #f4f6fb 100%);
	border: 1px solid rgba(0,0,0,.06);
	border-radius: 16px;
	overflow: hidden;
	padding-top: 15px;
}

.angle-svg {
	width: 100%;
	height: auto;
	display: block;
}

#stepmatSvg {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: .1;
}

.angle-svg__wall {
	stroke: #ccc;
	stroke-width: 2;
	stroke-linecap: round;
}

.angle-svg__measure {
	stroke: #5576d1;
	stroke-width: 2;
	stroke-linecap: round;
	marker-end: url(#arrow-end);
	color: #5576d1;
}

.angle-svg__measure--accent {
	stroke: #ff0000;
	color: #111;
	stroke-dasharray: 10 10;
	marker-start: url(#arrow-start-red);
	marker-end: url(#arrow-end-red);
}

.angle-svg__point {
	fill: #22d44a;
}

.angle-svg__point--vertex {
	fill: #22d44a;
}

.angle-svg__arc {
	fill: none;
	stroke: #333;
	stroke-width: 1;
}

.angle-svg__label {
	fill: #777;
	font-size: 20px;
	font-weight: 300;
	text-anchor: middle;
	dominant-baseline: middle;
}

.angle-svg__label--accent {
	fill: #777;
}

.angle-svg__label--big {
	font-size: 30px;
	fill: #333;
}

/* Адаптив */

@media (max-width: 991px) {
	.angle-card {
		margin-bottom: 18px;
	}
}

@media (max-width: 767px) {
	.angle-card {
		padding: 16px;
		border-radius: 14px;
	}

	.angle-card__title {
		font-size: 18px;
		margin-bottom: 14px;
	}

	.angle-field-grid {
		grid-template-columns: 1fr;
	}

	.angle-field--full {
		grid-column: auto;
	}

	.angle-result__value {
		font-size: 32px;
	}

	.angle-svg__label {
		font-size: 16px;
	}

	.angle-svg__label--big {
		font-size: 22px;
	}
}
