.hdpt-share {
	--hdpt-primary: #135d66;
	--hdpt-primary-dark: #0b4a52;
	--hdpt-heading: #173b4d;
	--hdpt-text: #344a52;
	--hdpt-surface: #ffffff;
	--hdpt-border: #d8e5e6;
	--hdpt-control-border: #a9c7c6;
	--hdpt-soft: #f3f8f7;
	--hdpt-warm: #fffdf7;
	--hdpt-accent: #ffd66b;
	box-sizing: border-box;
	width: 100%;
	clear: both;
	margin-block: clamp(1.35rem, 3vw, 2.25rem);
	padding: clamp(1rem, 2.7vw, 1.35rem);
	border: 1px solid var(--hdpt-border);
	border-radius: 20px;
	background: linear-gradient(135deg, var(--hdpt-warm) 0%, var(--hdpt-soft) 100%);
	box-shadow: 0 12px 32px rgba(19, 93, 102, 0.08);
	color: var(--hdpt-text);
	font: inherit;
	line-height: 1.75;
}

.hdpt-share *,
.hdpt-share *::before,
.hdpt-share *::after {
	box-sizing: border-box;
}

.hdpt-share__title {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 0.85rem;
	color: var(--hdpt-heading);
	font-size: clamp(0.9rem, 3.2vw, 1.05rem);
	font-weight: 700;
	line-height: 1.75;
}

.hdpt-share__title::before {
	content: "";
	width: 0.68rem;
	height: 0.68rem;
	flex: 0 0 0.68rem;
	border: 2px solid var(--hdpt-primary);
	border-radius: 999px;
	background: var(--hdpt-accent);
	box-shadow: 0 0 0 4px rgba(255, 214, 107, 0.28);
}

.hdpt-share__actions {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
	gap: 0.6rem;
	width: 100%;
}

.hdpt-share__item {
	min-width: 0;
	min-height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.48rem;
	margin: 0;
	padding: 0.68rem 0.78rem;
	border: 1px solid var(--hdpt-control-border);
	border-radius: 14px;
	background: var(--hdpt-surface);
	color: var(--hdpt-primary-dark);
	box-shadow: 0 4px 12px rgba(19, 93, 102, 0.04);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: transform 140ms ease, background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.hdpt-share__item:hover {
	transform: translateY(-1px);
	border-color: var(--hdpt-primary);
	background: var(--hdpt-primary);
	color: var(--hdpt-surface);
	box-shadow: 0 8px 18px rgba(19, 93, 102, 0.16);
	text-decoration: none;
}

.hdpt-share__item:focus {
	outline: none;
}

.hdpt-share__item:focus-visible {
	outline: 2px solid var(--hdpt-heading);
	outline-offset: 2px;
	box-shadow: 0 0 0 4px var(--hdpt-accent);
}

.hdpt-share__item.is-success {
	transform: none;
	border-color: #d8ad37;
	background: var(--hdpt-accent);
	color: var(--hdpt-heading);
	box-shadow: 0 6px 16px rgba(255, 214, 107, 0.28);
}

.hdpt-share__item:disabled {
	cursor: wait;
	opacity: 0.72;
}

.hdpt-share__icon {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
}

.hdpt-share__label {
	min-width: 0;
	white-space: nowrap;
	overflow-wrap: normal;
}

.hdpt-share__status {
	display: block;
	min-height: 1.45em;
	margin-block-start: 0.45rem;
	color: var(--hdpt-primary-dark);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.5;
}

@media (min-width: 922px) {
	.hdpt-share__item--mobile-only {
		display: none;
	}
}

@media (max-width: 480px) {
	.hdpt-share {
		border-radius: 16px;
		padding: 0.9rem;
	}

	.hdpt-share__actions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hdpt-share__item {
		padding-inline: 0.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hdpt-share__item {
		transition: none;
	}

	.hdpt-share__item:hover {
		transform: none;
	}
}

@media print {
	.hdpt-share {
		display: none !important;
	}
}

/* Learning-first additions. */
.hdpt-save{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin:1rem 0 .65rem;padding:.75rem .85rem;border:1px solid #dce8e6;border-radius:14px;background:#fbfdfc;color:#486067;font-size:.82rem;line-height:1.7}.hdpt-save__button{appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:.55rem .85rem;border:1px solid #135d66;border-radius:11px;background:#fff;color:#135d66!important;font:inherit;font-weight:800;text-decoration:none!important;cursor:pointer}.hdpt-save__button:hover,.hdpt-save__button.is-saved{background:#135d66;color:#fff!important}.hdpt-save__button:focus-visible{outline:2px solid #173b4d;outline-offset:3px}.hdpt-save__status{min-width:0;color:#486067}.hdpt-next .hdpt-ad__eyebrow{color:#135d66}.hdpt-saved-list{display:grid;gap:.75rem}.hdpt-saved-item{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;border:1px solid #dce8e6;border-radius:16px;background:#fff}.hdpt-saved-item h3{margin:.18rem 0 0;font-size:1rem;line-height:1.7}.hdpt-saved-item h3 a{text-decoration:none}.hdpt-saved-item small{color:#667d84}.hdpt-saved-item form{margin:0;flex:0 0 auto}@media(max-width:620px){.hdpt-save,.hdpt-saved-item{align-items:stretch;flex-direction:column}.hdpt-save__button,.hdpt-saved-item form .hda-button{width:100%}}@media print{.hdpt-save,.hdpt-next{display:none!important}}
