:root {
	--sostynet-ppss-primary: #1f5f49;
	--sostynet-ppss-primary-dark: #12362a;
	--sostynet-ppss-secondary: #2f7a5d;
	--sostynet-ppss-text: #17332b;
	--sostynet-ppss-muted: #526b62;
	--sostynet-ppss-surface: #ffffff;
	--sostynet-ppss-bg: #f7faf8;
	--sostynet-ppss-soft: #eef6f2;
	--sostynet-ppss-border: #dce8e2;
	--sostynet-ppss-border-strong: #b8d2c7;
	--sostynet-ppss-warning-bg: #fff7e8;
	--sostynet-ppss-warning-text: #6a4312;
	--sostynet-ppss-success-bg: #eaf8ef;
	--sostynet-ppss-success-text: #1d5d38;
	--sostynet-ppss-shadow: 0 18px 42px rgba(18, 54, 42, 0.08);
	--sostynet-ppss-shadow-soft: 0 6px 16px rgba(18, 54, 42, 0.045);
	--sostynet-ppss-radius-lg: 16px;
	--sostynet-ppss-radius-md: 12px;
}

.sostynet-ppss-wrap,
.sostynet-ppss-profile,
.sostynet-ppss-directory {
	color: var(--sostynet-ppss-text);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.65;
}

.sostynet-ppss-form,
.sostynet-ppss-profile,
.sostynet-ppss-directory {
	background: var(--sostynet-ppss-surface);
	border: 1px solid var(--sostynet-ppss-border);
	border-radius: var(--sostynet-ppss-radius-lg);
	box-shadow: 0 12px 30px rgba(18, 54, 42, 0.065);
	margin: 24px auto;
	max-width: 1120px;
	overflow: hidden;
	padding: clamp(20px, 3vw, 32px);
}

.sostynet-ppss-panel-header,
.sostynet-ppss-hero {
	background: linear-gradient(135deg, #fbfdfc 0%, #eef6f2 100%);
	border: 1px solid var(--sostynet-ppss-border);
	border-radius: var(--sostynet-ppss-radius-lg);
	margin-bottom: 24px;
	padding: clamp(18px, 3vw, 28px);
	position: relative;
}

.sostynet-ppss-panel-header::before,
.sostynet-ppss-hero::before {
	background: var(--sostynet-ppss-primary);
	border-radius: 999px;
	content: "";
	height: 4px;
	left: 24px;
	position: absolute;
	right: 24px;
	top: 0;
}

.sostynet-ppss-panel-header h2,
.sostynet-ppss-hero h1,
.sostynet-ppss-section h2 {
	color: var(--sostynet-ppss-primary-dark);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.18;
	margin: 0 0 10px;
}

.sostynet-ppss-panel-header h2 {
	font-size: clamp(1.45rem, 2vw, 2rem);
}

.sostynet-ppss-hero h1 {
	font-size: clamp(1.75rem, 3vw, 2.65rem);
}

.sostynet-ppss-section h2 {
	font-size: 1.15rem;
}

.sostynet-ppss-panel-header p,
.sostynet-ppss-hero p,
.sostynet-ppss-section p {
	margin-top: 0;
}

.sostynet-ppss-section p:last-child,
.sostynet-ppss-note:last-child,
.sostynet-ppss-muted:last-child {
	margin-bottom: 0;
}

.sostynet-ppss-eyebrow {
	color: var(--sostynet-ppss-secondary);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.sostynet-ppss-meta-line {
	color: var(--sostynet-ppss-muted);
	font-size: 0.98rem;
	margin-bottom: 12px;
}

.sostynet-ppss-grid,
.sostynet-ppss-kpi-row,
.sostynet-ppss-link-row {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sostynet-ppss-form label {
	display: block;
	margin: 0 0 16px;
	max-width: 760px;
}

.sostynet-ppss-form label span {
	color: #24483c;
	display: block;
	font-size: 0.92rem;
	font-weight: 700;
	margin-bottom: 7px;
}

.sostynet-ppss-form input,
.sostynet-ppss-form textarea,
.sostynet-ppss-form select {
	background: #fbfdfc;
	border: 1px solid #cdded6;
	border-radius: 10px;
	box-sizing: border-box;
	color: var(--sostynet-ppss-text);
	font: inherit;
	min-height: 44px;
	padding: 11px 12px;
	width: 100%;
}

.sostynet-ppss-form input[type="file"] {
	background: #ffffff;
	padding: 9px;
}

.sostynet-ppss-input-help {
	color: var(--sostynet-ppss-muted);
	display: block;
	font-size: 0.82rem;
	margin-top: 6px;
}

.sostynet-ppss-form input::placeholder,
.sostynet-ppss-form textarea::placeholder {
	color: #7b9188;
}

.sostynet-ppss-form input:focus,
.sostynet-ppss-form textarea:focus,
.sostynet-ppss-form select:focus,
.sostynet-ppss-button:focus {
	border-color: var(--sostynet-ppss-primary);
	box-shadow: 0 0 0 3px rgba(31, 95, 73, 0.16);
	outline: none;
}

.sostynet-ppss-form textarea {
	min-height: 118px;
	resize: vertical;
}

.sostynet-ppss-subpanel,
.sostynet-ppss-section {
	background: #ffffff;
	border: 1px solid var(--sostynet-ppss-border);
	border-radius: var(--sostynet-ppss-radius-lg);
	margin: 18px 0;
	padding: clamp(16px, 2.4vw, 22px);
}

.sostynet-ppss-subpanel:nth-of-type(even),
.sostynet-ppss-section:nth-of-type(even) {
	background: #fbfdfc;
}

.sostynet-ppss-subpanel h3 {
	color: var(--sostynet-ppss-primary-dark);
	font-size: 1.08rem;
	line-height: 1.25;
	margin: 0 0 8px;
}

.sostynet-ppss-subpanel > p,
.sostynet-ppss-field-help,
.sostynet-ppss-muted,
.sostynet-ppss-note {
	color: var(--sostynet-ppss-muted);
	font-size: 0.94rem;
}

.sostynet-ppss-field-help {
	margin: -2px 0 18px;
}

.sostynet-ppss-check {
	align-items: flex-start;
	display: flex !important;
	gap: 10px;
}

.sostynet-ppss-check input {
	margin-top: 4px;
	width: auto;
}

.sostynet-ppss-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.sostynet-ppss-button {
	align-items: center;
	border: 1px solid var(--sostynet-ppss-border-strong);
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	font-weight: 650;
	justify-content: center;
	line-height: 1.2;
	min-height: 40px;
	padding: 9px 18px;
	text-decoration: none;
	touch-action: manipulation;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.sostynet-ppss-button.is-primary {
	background: #eef6f2;
	border-color: #9bc5b4;
	box-shadow: none;
	color: var(--sostynet-ppss-primary-dark);
}

.sostynet-ppss-button.is-primary:hover {
	background: #e3f0ea;
	border-color: var(--sostynet-ppss-primary);
	color: var(--sostynet-ppss-primary-dark);
}

.sostynet-ppss-button.is-secondary {
	background: #fbfdfc;
	border-color: var(--sostynet-ppss-border-strong);
	color: var(--sostynet-ppss-primary);
}

.sostynet-ppss-button.is-secondary:hover {
	background: #f3f8f5;
	border-color: var(--sostynet-ppss-primary);
	color: var(--sostynet-ppss-primary-dark);
}

.sostynet-ppss-notice {
	background: var(--sostynet-ppss-soft);
	border: 1px solid #cfe7dd;
	border-radius: 12px;
	color: var(--sostynet-ppss-text);
	margin: 16px 0;
	padding: 14px 16px;
}

.sostynet-ppss-notice.is-warning {
	background: var(--sostynet-ppss-warning-bg);
	border-color: #f1d5a3;
	color: var(--sostynet-ppss-warning-text);
}

.sostynet-ppss-notice.is-success {
	background: var(--sostynet-ppss-success-bg);
	border-color: #bee8ce;
	color: var(--sostynet-ppss-success-text);
}

.sostynet-ppss-cover {
	background-color: var(--sostynet-ppss-soft);
	background-position: center;
	background-size: cover;
	border-radius: var(--sostynet-ppss-radius-lg);
	height: clamp(180px, 25vw, 280px);
	margin-bottom: 18px;
}

.sostynet-ppss-hero {
	align-items: center;
	display: flex;
	gap: 22px;
	min-height: 150px;
}

.sostynet-ppss-hero-content {
	min-width: 0;
	width: 100%;
}

.sostynet-ppss-logo,
.sostynet-ppss-card img {
	background: #ffffff;
	border: 1px solid var(--sostynet-ppss-border);
	border-radius: var(--sostynet-ppss-radius-md);
	box-shadow: 0 8px 18px rgba(18, 54, 42, 0.05);
	height: 96px;
	object-fit: contain;
	padding: 10px;
	width: 96px;
}

.sostynet-ppss-logo-placeholder {
	align-items: center;
	background: #f8fbf9;
	border: 1px solid #b8d2c7;
	border-radius: var(--sostynet-ppss-radius-md);
	box-shadow: 0 4px 12px rgba(18, 54, 42, 0.045);
	color: var(--sostynet-ppss-primary);
	display: inline-flex;
	font-size: 1.24rem;
	font-weight: 750;
	height: 96px;
	justify-content: center;
	letter-spacing: 0;
	min-width: 96px;
	padding: 10px;
	width: 96px;
}

.sostynet-ppss-logo-placeholder.is-card {
	font-size: 0.98rem;
	height: 68px;
	min-width: 68px;
	width: 68px;
}

.sostynet-ppss-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sostynet-ppss-badge {
	align-items: center;
	background: #e5f2ec;
	border: 1px solid #c5dfd3;
	border-radius: 999px;
	color: var(--sostynet-ppss-primary);
	display: inline-flex;
	font-size: 0.78rem;
	font-style: normal;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.2;
	padding: 6px 10px;
	width: fit-content;
}

.sostynet-ppss-badge.is-muted {
	background: #f3f7f5;
	border-color: var(--sostynet-ppss-border);
	color: var(--sostynet-ppss-muted);
}

.sostynet-ppss-badge.is-data {
	margin-top: 12px;
}

.sostynet-ppss-kpis,
.sostynet-ppss-cards {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sostynet-ppss-kpi,
.sostynet-ppss-card {
	background: #ffffff;
	border: 1px solid var(--sostynet-ppss-border);
	border-radius: var(--sostynet-ppss-radius-lg);
	box-shadow: var(--sostynet-ppss-shadow-soft);
	padding: 18px;
}

.sostynet-ppss-kpi {
	display: flex;
	flex-direction: column;
	min-height: 176px;
	position: relative;
}

.sostynet-ppss-kpi-value {
	color: var(--sostynet-ppss-primary-dark);
	display: block;
	font-size: clamp(1.55rem, 2.2vw, 1.95rem);
	line-height: 1.15;
	margin-bottom: 2px;
}

.sostynet-ppss-kpi-unit,
.sostynet-ppss-kpi-label,
.sostynet-ppss-kpi-period {
	display: block;
}

.sostynet-ppss-kpi-unit {
	color: var(--sostynet-ppss-secondary);
	font-size: 0.86rem;
	font-weight: 800;
	margin-bottom: 14px;
	text-transform: uppercase;
}

.sostynet-ppss-kpi-label {
	color: var(--sostynet-ppss-text);
	font-weight: 700;
	line-height: 1.35;
	margin-top: 4px;
	overflow-wrap: anywhere;
}

.sostynet-ppss-kpi-period {
	color: var(--sostynet-ppss-muted);
	margin-top: 10px;
}

.sostynet-ppss-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.sostynet-ppss-section a:not(.sostynet-ppss-button) {
	color: var(--sostynet-ppss-primary);
	font-weight: 700;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.sostynet-ppss-card {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 100%;
}

.sostynet-ppss-card h3 {
	color: var(--sostynet-ppss-primary-dark);
	font-size: 1.14rem;
	line-height: 1.3;
	margin: 0;
	overflow-wrap: anywhere;
}

.sostynet-ppss-card p {
	color: var(--sostynet-ppss-muted);
	margin: 0;
	min-height: 0;
}

.sostynet-ppss-card .sostynet-ppss-button {
	margin-top: 8px;
	width: auto;
}

.sostynet-ppss-empty {
	background: #fbfdfc;
	border-style: dashed;
	color: var(--sostynet-ppss-muted);
}

.sostynet-ppss-note {
	background: #f3f7f5;
	border: 1px solid var(--sostynet-ppss-border);
	border-radius: var(--sostynet-ppss-radius-md);
	margin: 18px 0;
	padding: 14px 16px;
}

@media (prefers-reduced-motion: reduce) {
	.sostynet-ppss-button {
		transition: none;
	}
}

@media (max-width: 980px) {
	.sostynet-ppss-kpis,
	.sostynet-ppss-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.sostynet-ppss-form,
	.sostynet-ppss-profile,
	.sostynet-ppss-directory {
		border-radius: 12px;
		margin: 16px 0;
		padding: 16px;
	}

	.sostynet-ppss-panel-header,
	.sostynet-ppss-hero,
	.sostynet-ppss-subpanel,
	.sostynet-ppss-section {
		padding: 16px;
	}

	.sostynet-ppss-panel-header::before,
	.sostynet-ppss-hero::before {
		left: 16px;
		right: 16px;
	}

	.sostynet-ppss-grid,
	.sostynet-ppss-kpi-row,
	.sostynet-ppss-link-row,
	.sostynet-ppss-kpis,
	.sostynet-ppss-cards {
		grid-template-columns: 1fr;
	}

	.sostynet-ppss-hero {
		align-items: flex-start;
		flex-direction: column;
		gap: 16px;
		min-height: 0;
	}

	.sostynet-ppss-logo,
	.sostynet-ppss-logo-placeholder {
		height: 80px;
		min-width: 80px;
		width: 80px;
	}

	.sostynet-ppss-actions,
	.sostynet-ppss-links {
		flex-direction: column;
	}

	.sostynet-ppss-button {
		width: 100%;
	}
}

@media print {
	.sostynet-ppss-form,
	.sostynet-ppss-directory {
		display: none !important;
	}

	.sostynet-ppss-profile {
		border: 0;
		box-shadow: none;
		color: #111111;
		margin: 0;
		max-width: none;
		padding: 0;
	}

	.sostynet-ppss-actions,
	.sostynet-ppss-button {
		display: none !important;
	}

	.sostynet-ppss-section,
	.sostynet-ppss-note,
	.sostynet-ppss-hero {
		background: #ffffff !important;
		break-inside: avoid;
		box-shadow: none;
	}

	.sostynet-ppss-cover {
		max-height: 180px;
	}
}
