/**
 * Pagina App pazienti (IsyPatient).
 */

.psh-page-app__header {
	margin-bottom: 0.5rem;
}

.psh-page-app__title {
	margin: 0 0 0.35em;
}

.psh-page-app__subtitle {
	margin: 0;
	font-size: 1.125rem;
	line-height: 1.45;
	color: var(--psh-color-text-muted, rgba(0, 0, 0, 0.65));
}

.psh-page-app__wp-content {
	margin-bottom: 1.5rem;
}

.psh-page-app__panel {
	padding-top: 0.5rem;
	padding-bottom: 3rem;
}

.psh-page-app__layout {
	display: grid;
	gap: 2rem;
	align-items: start;
}

@media (min-width: 900px) {
	.psh-page-app__layout--has-media {
		grid-template-columns: minmax(240px, 360px) 1fr;
		gap: 2.5rem;
	}
}

.psh-page-app__figure {
	margin: 0;
	border-radius: 12px;
	overflow: hidden;
	background: var(--psh-color-secondary, #f5f5f5);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.psh-page-app__figure img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.psh-page-app__content {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.psh-page-app__intro {
	font-size: 1.0625rem;
	line-height: 1.6;
}

.psh-page-app__body ul {
	margin: 0.5em 0 0;
	padding-left: 1.25em;
}

.psh-page-app__body li + li {
	margin-top: 0.35em;
}

.psh-page-app__cta {
	margin: 0.25rem 0 0;
}

.psh-page-app__cta-btn {
	display: inline-block;
	text-decoration: none;
}

.psh-page-app__code {
	margin: 0.5rem 0 0;
	padding: 1.25rem 1.5rem;
	border-radius: 10px;
	background: var(--psh-color-secondary, #f5f5f5);
	border: 1px solid rgba(0, 0, 0, 0.06);
}

.psh-page-app__code-label {
	margin: 0 0 0.35rem;
	font-size: 0.9375rem;
	font-weight: 600;
}

.psh-page-app__code-value {
	margin: 0;
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	color: var(--psh-color-primary, #111);
}

.psh-page-app__support {
	padding-top: 0.5rem;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	font-size: 0.975rem;
}

.psh-scheme-dark .psh-page-app__code {
	border-color: rgba(255, 255, 255, 0.12);
}

.psh-scheme-dark .psh-page-app__support {
	border-top-color: rgba(255, 255, 255, 0.12);
}

/* Home — card App */
.psh-home-app-teaser__card {
	display: grid;
	gap: 1.5rem;
	align-items: center;
	padding: 1.75rem 2rem;
	border-radius: 14px;
	background: var(--psh-color-secondary, #f5f5f5);
	border: 1px solid rgba(0, 0, 0, 0.06);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
	.psh-home-app-teaser__card--has-media {
		grid-template-columns: 140px 1fr;
		gap: 2rem;
	}
}

.psh-home-app-teaser__media {
	display: flex;
	justify-content: center;
}

.psh-home-app-teaser__img {
	display: block;
	width: 120px;
	height: auto;
	border-radius: 16px;
	object-fit: cover;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

@media (min-width: 768px) {
	.psh-home-app-teaser__img {
		width: 140px;
	}
}

.psh-home-app-teaser__body {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.psh-home-app-teaser__title {
	margin: 0;
	font-size: clamp(1.35rem, 2.5vw, 1.65rem);
	line-height: 1.2;
}

.psh-home-app-teaser__text {
	margin: 0;
	font-size: 1rem;
	line-height: 1.55;
	color: var(--psh-color-text-muted, rgba(0, 0, 0, 0.72));
	max-width: 52ch;
}

.psh-home-app-teaser__code {
	margin: 0;
	font-size: 0.9rem;
}

.psh-home-app-teaser__code-label {
	display: block;
	margin-bottom: 0.15rem;
	font-weight: 600;
}

.psh-home-app-teaser__code-value {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	letter-spacing: 0.06em;
}

.psh-home-app-teaser__action {
	margin: 0.35rem 0 0;
}

.psh-home-app-teaser__btn {
	text-decoration: none;
}

.psh-scheme-dark .psh-home-app-teaser__card {
	border-color: rgba(255, 255, 255, 0.1);
}
