.ahf-plugin-shell {
	margin: 0 auto;
	max-width: 100%;
	position: relative;
	width: 100%;
}

.ahf-plugin-shell--wide {
	left: 50%;
	margin-left: 0 !important;
	max-width: none !important;
	transform: translateX(-50%);
	width: min(1440px, calc(100vw - 2rem)) !important;
}

.ahf-plugin-shell--content {
	width: 100%;
}

body.aula-ahf-wide-page {
	overflow-x: clip;
}

body.aula-ahf-wide-page .wp-block-shortcode,
body.aula-ahf-wide-page .entry-content,
body.aula-ahf-wide-page .wp-block-post-content {
	overflow: visible !important;
}

body.aula-ahf-wide-page .wp-block-post-featured-image {
	display: none !important;
}

@supports not (overflow: clip) {
	body.aula-ahf-wide-page {
		overflow-x: hidden;
	}
}

[data-ahf-app] {
	--ahf-ink: #18323a;
	--ahf-paper: #ffffff;
	--ahf-mist: #f4f7f6;
	--ahf-sun: #f4c95d;
	--ahf-sea: #23877c;
	--ahf-sea-dark: #176b63;
	--ahf-coral: #e76f68;
	--ahf-sky: #3d7faf;
	--ahf-leaf: #668c4a;
	--ahf-lavender: #7d6b91;
	--ahf-lavender-soft: #ece6f0;
	--ahf-border: #d9e2df;
	--ahf-muted: #526762;
	--ahf-shadow: 0 20px 55px rgba(24, 50, 58, 0.11);
	--ahf-shadow-soft: 0 8px 24px rgba(24, 50, 58, 0.08);
	--ahf-radius-xl: 32px;
	--ahf-radius-lg: 22px;
	--ahf-radius-md: 15px;
	--ahf-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--ahf-display: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", var(--ahf-font);
	color: var(--ahf-ink);
	font-family: var(--ahf-font);
	font-size: 16px;
	line-height: 1.55;
	container-name: ahf-app;
	container-type: inline-size;
	isolation: isolate;
	margin: clamp(18px, 3vw, 44px) auto;
	max-width: 1440px;
	width: min(100%, 1440px);
}

[data-ahf-app],
[data-ahf-app] * {
	box-sizing: border-box;
}

[data-ahf-app] button,
[data-ahf-app] input,
[data-ahf-app] select,
[data-ahf-app] textarea {
	font: inherit;
}

[data-ahf-app] button,
[data-ahf-app] summary,
[data-ahf-app] select {
	cursor: pointer;
}

[data-ahf-app] button {
	color: inherit;
}

[data-ahf-app] img {
	display: block;
	max-width: 100%;
}

[data-ahf-app] h1,
[data-ahf-app] h2,
[data-ahf-app] h3,
[data-ahf-app] p {
	margin-top: 0;
}

[data-ahf-app] h1,
[data-ahf-app] h2,
[data-ahf-app] h3 {
	color: var(--ahf-ink);
	font-family: var(--ahf-display);
	font-weight: 800;
	letter-spacing: -0.025em;
}

[data-ahf-app] h1 {
	font-size: clamp(2rem, 4.4vw, 4.5rem);
	line-height: 0.98;
}

[data-ahf-app] h2 {
	font-size: clamp(1.35rem, 2.1vw, 2rem);
	line-height: 1.12;
}

[data-ahf-app] h3 {
	font-size: 1.08rem;
	line-height: 1.22;
}

[data-ahf-app] a {
	color: var(--ahf-sea-dark);
	text-underline-offset: 0.2em;
}

[data-ahf-app] :focus-visible {
	outline: 3px solid var(--ahf-sky);
	outline-offset: 3px;
}

.ahf-shell {
	background:
		radial-gradient(circle at 91% 5%, rgba(244, 201, 93, 0.2), transparent 20rem),
		linear-gradient(180deg, #fbfcfb 0, var(--ahf-paper) 28rem);
	border: 1px solid rgba(24, 50, 58, 0.1);
	border-radius: var(--ahf-radius-xl);
	box-shadow: var(--ahf-shadow);
	overflow: clip;
}

.ahf-skip {
	background: var(--ahf-ink);
	border-radius: 0 0 9px 9px;
	color: var(--ahf-paper) !important;
	font-weight: 800;
	left: 24px;
	padding: 10px 16px;
	position: absolute;
	top: -80px;
	z-index: 30;
}

.ahf-skip:focus {
	top: 0;
}

.ahf-header {
	align-items: center;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	padding: 22px clamp(20px, 4vw, 58px) 16px;
}

.ahf-brand,
.ahf-header-tools,
.ahf-fullscreen-button,
.ahf-profile-button,
.ahf-trust-row,
.ahf-section-heading,
.ahf-page-head,
.ahf-habit-top,
.ahf-export-actions,
.ahf-footer,
.ahf-week-controls,
.ahf-document-toolbar {
	align-items: center;
	display: flex;
}

.ahf-brand {
	gap: 12px;
}

.ahf-brand img {
	background: #fffaf0;
	border: 1px solid rgba(24, 50, 58, 0.14);
	border-radius: 50%;
	height: 54px;
	object-fit: contain;
	padding: 5px;
	width: 54px;
}

.ahf-brand div {
	display: grid;
	line-height: 1.1;
}

.ahf-brand span {
	color: var(--ahf-sea-dark);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.ahf-brand strong {
	font-family: var(--ahf-display);
	font-size: 1.14rem;
}

.ahf-header-tools {
	flex-wrap: wrap;
	gap: 13px;
	justify-content: flex-end;
}

.ahf-fullscreen-button {
	background: #fff;
	border: 1px solid var(--ahf-border);
	border-radius: 12px;
	color: var(--ahf-ink);
	gap: 8px;
	min-height: 46px;
	padding: 6px 10px;
	text-align: left;
}

.ahf-fullscreen-button:hover {
	background: var(--ahf-mist);
	border-color: var(--ahf-sea);
}

.ahf-fullscreen-button.is-active {
	background: var(--ahf-ink);
	border-color: var(--ahf-ink);
	color: #fff;
}

.ahf-fullscreen-button > span:last-child {
	display: grid;
	line-height: 1.05;
}

.ahf-fullscreen-button b {
	font-size: 0.78rem;
}

.ahf-fullscreen-button small {
	color: var(--ahf-muted);
	font-size: 0.62rem;
}

.ahf-fullscreen-button.is-active small {
	color: #dbe8e5;
}

.ahf-fullscreen-icon {
	display: grid;
	font-size: 1.18rem;
	font-weight: 900;
	height: 26px;
	line-height: 1;
	place-items: center;
	width: 26px;
}

.ahf-local-badge {
	align-items: center;
	background: #e9f4f1;
	border-radius: 999px;
	color: var(--ahf-sea-dark);
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 750;
	gap: 7px;
	padding: 8px 12px;
}

.ahf-local-badge i {
	background: var(--ahf-sea);
	border-radius: 50%;
	box-shadow: 0 0 0 4px rgba(35, 135, 124, 0.15);
	height: 7px;
	width: 7px;
}

.ahf-profile-button {
	background: transparent;
	border: 0;
	border-left: 1px solid var(--ahf-border);
	gap: 9px;
	min-height: 46px;
	padding: 2px 0 2px 15px;
}

.ahf-profile-button > span {
	background: var(--ahf-lavender-soft);
	border-radius: 50%;
	display: grid;
	font-family: var(--ahf-display);
	font-weight: 800;
	height: 38px;
	place-items: center;
	width: 38px;
}

.ahf-profile-button b,
.ahf-profile-button small {
	display: block;
	line-height: 1.1;
	text-align: left;
}

.ahf-profile-button small {
	color: var(--ahf-muted);
	font-size: 0.7rem;
}

[data-ahf-app]:fullscreen,
[data-ahf-app]:-webkit-full-screen,
[data-ahf-app]:-ms-fullscreen,
[data-ahf-app].ahf-is-fullscreen {
	background: var(--ahf-paper);
	height: 100%;
	margin: 0;
	max-width: none;
	overflow: auto;
	width: 100%;
}

[data-ahf-app]:fullscreen .ahf-shell,
[data-ahf-app]:-webkit-full-screen .ahf-shell,
[data-ahf-app]:-ms-fullscreen .ahf-shell,
[data-ahf-app].ahf-is-fullscreen .ahf-shell {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	min-height: 100%;
}

[data-ahf-app]:fullscreen .ahf-header,
[data-ahf-app]:-webkit-full-screen .ahf-header,
[data-ahf-app]:-ms-fullscreen .ahf-header,
[data-ahf-app].ahf-is-fullscreen .ahf-header {
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--ahf-border);
	position: sticky;
	top: 0;
	z-index: 25;
}

[data-ahf-app]::backdrop {
	background: #edf3f1;
}

.ahf-nav {
	background: rgba(244, 247, 246, 0.88);
	border-block: 1px solid var(--ahf-border);
	display: flex;
	gap: 4px;
	overflow-x: auto;
	padding: 8px clamp(14px, 4vw, 54px);
	scrollbar-width: thin;
}

.ahf-nav button {
	background: transparent;
	border: 0;
	border-radius: 10px;
	color: var(--ahf-muted);
	font-size: 0.88rem;
	font-weight: 750;
	min-height: 42px;
	padding: 9px 14px;
	white-space: nowrap;
}

.ahf-nav button:hover {
	background: rgba(255, 255, 255, 0.8);
	color: var(--ahf-ink);
}

.ahf-nav button[aria-current="page"] {
	background: var(--ahf-ink);
	box-shadow: 0 5px 12px rgba(24, 50, 58, 0.15);
	color: #fff;
}

.ahf-navigation {
	align-items: stretch;
	background: rgba(244, 247, 246, 0.9);
	border-block: 1px solid var(--ahf-border);
	display: flex;
	gap: 12px;
	padding: 10px clamp(14px, 4vw, 54px);
}

.ahf-flow-nav {
	display: grid;
	flex: 1 1 auto;
	gap: 6px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ahf-flow-step {
	align-items: center;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 13px;
	color: var(--ahf-muted);
	display: grid;
	gap: 1px 9px;
	grid-template-columns: 30px 1fr;
	min-height: 54px;
	padding: 7px 11px;
	text-align: left;
}

.ahf-flow-step > span {
	background: #fff;
	border: 1px solid var(--ahf-border);
	border-radius: 50%;
	display: grid;
	font-family: var(--ahf-display);
	font-weight: 900;
	grid-row: 1 / 3;
	height: 30px;
	place-items: center;
	width: 30px;
}

.ahf-flow-step b {
	color: inherit;
	font-size: 0.88rem;
	line-height: 1.05;
}

.ahf-flow-step small {
	font-size: 0.66rem;
	line-height: 1.15;
}

.ahf-flow-step:hover {
	background: #fff;
	border-color: var(--ahf-border);
	color: var(--ahf-ink);
}

.ahf-flow-step[aria-current="page"] {
	background: var(--ahf-ink);
	color: #fff;
}

.ahf-flow-step[aria-current="page"] > span {
	background: var(--ahf-sun);
	border-color: var(--ahf-sun);
	color: var(--ahf-ink);
}

.ahf-nav-resource {
	background: var(--ahf-sun);
	border: 1px solid #d5a92d;
	border-radius: 13px;
	color: var(--ahf-ink);
	font-weight: 850;
	min-width: 150px;
	padding: 10px 17px;
}

.ahf-nav-resource:hover,
.ahf-nav-resource[aria-current="page"] {
	background: #ffe39a;
	box-shadow: 0 5px 12px rgba(117, 83, 0, 0.13);
}

.ahf-live {
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
	clip: rect(0, 0, 0, 0);
}

.ahf-content {
	min-height: 720px;
	padding: clamp(28px, 5vw, 72px) clamp(20px, 5vw, 72px) clamp(42px, 6vw, 84px);
}

.ahf-kicker,
.ahf-step {
	color: var(--ahf-sea-dark);
	font-size: 0.76rem;
	font-weight: 850;
	letter-spacing: 0.12em;
	margin-bottom: 12px;
	text-transform: uppercase;
}

.ahf-step {
	border-bottom: 1px solid var(--ahf-border);
	padding-bottom: 14px;
}

.ahf-lead {
	color: #334e4b;
	font-size: clamp(1.02rem, 1.5vw, 1.25rem);
	line-height: 1.55;
	max-width: 62ch;
}

.ahf-lead-small {
	color: var(--ahf-muted);
	font-size: 1.02rem;
	max-width: 66ch;
}

.ahf-primary,
.ahf-secondary,
.ahf-danger,
.ahf-icon-button,
.ahf-text-button {
	align-items: center;
	border-radius: 12px;
	display: inline-flex;
	font-weight: 800;
	justify-content: center;
	min-height: 46px;
	padding: 10px 16px;
	text-decoration: none;
	transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.ahf-primary {
	background: var(--ahf-sea-dark);
	border: 1px solid var(--ahf-sea-dark);
	box-shadow: 0 6px 15px rgba(23, 107, 99, 0.18);
	color: #fff !important;
}

.ahf-primary:hover {
	background: var(--ahf-ink);
	border-color: var(--ahf-ink);
	transform: translateY(-1px);
}

.ahf-secondary,
.ahf-icon-button {
	background: var(--ahf-paper);
	border: 1px solid #aebdb9;
	box-shadow: none;
	color: var(--ahf-ink);
}

.ahf-secondary:hover,
.ahf-icon-button:hover {
	background: var(--ahf-mist);
	border-color: var(--ahf-sea);
}

.ahf-danger {
	background: #fff4f3;
	border: 1px solid #cb4d46;
	color: #8a2924;
}

.ahf-text-button {
	background: transparent;
	border: 0;
	color: var(--ahf-sea-dark);
	padding-inline: 6px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ahf-profile-layout {
	display: grid;
	gap: clamp(30px, 6vw, 80px);
	grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.75fr);
}

.ahf-profile-copy {
	align-self: start;
}

.ahf-profile-copy h1 {
	max-width: 12ch;
}

.ahf-intro-steps {
	display: grid;
	gap: 9px;
	grid-template-columns: repeat(3, 1fr);
	list-style: none;
	margin: 24px 0 18px;
	padding: 0;
}

.ahf-intro-steps li {
	align-items: center;
	background: var(--ahf-mist);
	border: 1px solid var(--ahf-border);
	border-radius: 13px;
	display: flex;
	gap: 10px;
	min-width: 0;
	padding: 11px;
}

.ahf-intro-steps li > span {
	background: var(--ahf-sun);
	border-radius: 50%;
	display: grid;
	flex: 0 0 30px;
	font-family: var(--ahf-display);
	font-weight: 900;
	height: 30px;
	place-items: center;
}

.ahf-intro-steps li div {
	display: grid;
	line-height: 1.15;
}

.ahf-intro-steps small {
	color: var(--ahf-muted);
	font-size: 0.68rem;
}

.ahf-profile-visual {
	aspect-ratio: 40 / 21;
	border: 1px solid rgba(24, 50, 58, 0.1);
	border-radius: var(--ahf-radius-lg);
	box-shadow: var(--ahf-shadow-soft);
	margin: 28px 0 16px;
	object-fit: cover;
	width: 100%;
}

.ahf-trust-row {
	color: var(--ahf-muted);
	flex-wrap: wrap;
	font-size: 0.78rem;
	font-weight: 750;
	gap: 8px 18px;
}

.ahf-trust-row span::before {
	color: var(--ahf-sea);
	content: "✓";
	font-weight: 900;
	margin-right: 6px;
}

.ahf-profile-form,
.ahf-plan-editor,
.ahf-review,
.ahf-resource-form {
	background: var(--ahf-paper);
	border: 1px solid var(--ahf-border);
	border-radius: var(--ahf-radius-lg);
	box-shadow: var(--ahf-shadow-soft);
	display: grid;
	gap: 17px;
	padding: clamp(22px, 4vw, 38px);
}

.ahf-field,
.ahf-review label {
	display: grid;
	font-size: 0.9rem;
	font-weight: 750;
	gap: 7px;
}

.ahf-field > span,
.ahf-review label > span {
	display: flex;
	justify-content: space-between;
}

.ahf-field small {
	color: var(--ahf-muted);
	font-size: 0.7rem;
	font-weight: 550;
}

.ahf-field input,
.ahf-field select,
.ahf-field textarea,
.ahf-review textarea {
	background: #fbfcfc;
	border: 1px solid #aebdb9;
	border-radius: 10px;
	color: var(--ahf-ink);
	min-height: 46px;
	padding: 10px 12px;
	resize: vertical;
	width: 100%;
}

.ahf-field input:focus,
.ahf-field select:focus,
.ahf-field textarea:focus,
.ahf-review textarea:focus {
	background: #fff;
	border-color: var(--ahf-sea);
}

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

.ahf-needs {
	border: 0;
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
}

.ahf-needs legend {
	font-family: var(--ahf-display);
	font-size: 1.08rem;
	font-weight: 800;
	margin-bottom: 5px;
}

.ahf-needs > p {
	color: var(--ahf-muted);
	font-size: 0.82rem;
	margin-bottom: 8px;
}

.ahf-needs .ahf-needs-limit {
	background: #e9f4f1;
	border-radius: 9px;
	color: var(--ahf-sea-dark);
	font-weight: 800;
	margin: 0 0 5px;
	padding: 7px 10px;
}

.ahf-needs label {
	align-items: flex-start;
	background: var(--ahf-mist);
	border: 1px solid transparent;
	border-radius: 11px;
	display: grid;
	gap: 10px;
	grid-template-columns: 20px 1fr;
	padding: 10px 12px;
}

.ahf-needs label:has(input:checked) {
	background: #e6f2ef;
	border-color: var(--ahf-sea);
}

.ahf-needs input {
	accent-color: var(--ahf-sea);
	height: 18px;
	margin-top: 2px;
	width: 18px;
}

.ahf-needs span {
	display: grid;
}

.ahf-needs b {
	font-size: 0.86rem;
}

.ahf-needs small {
	color: var(--ahf-muted);
	font-size: 0.72rem;
}

.ahf-consent,
.ahf-caution,
.ahf-privacy-note {
	background: #fff8e5;
	border-left: 4px solid var(--ahf-sun);
	border-radius: 0 11px 11px 0;
	font-size: 0.82rem;
	padding: 12px 14px;
}

.ahf-consent p,
.ahf-caution p,
.ahf-privacy-note p {
	margin: 4px 0 0;
}

.ahf-today-hero,
.ahf-page-head {
	align-items: end;
	display: flex;
	gap: 32px;
	justify-content: space-between;
	margin-bottom: clamp(34px, 5vw, 60px);
}

.ahf-today-hero h1,
.ahf-page-head h1 {
	font-size: clamp(2.15rem, 4.2vw, 3.9rem);
	margin-bottom: 18px;
	max-width: 15ch;
}

.ahf-section-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	justify-content: flex-end;
}

.ahf-try-now {
	margin-bottom: 24px;
}

.ahf-trial-list {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.ahf-trial-card {
	background: #eef6f4;
	border: 1px solid #cfe0dc;
	border-radius: var(--ahf-radius-md);
	display: grid;
	gap: 12px;
	padding: 20px;
}

.ahf-trial-card > div:first-child {
	align-items: center;
	display: flex;
	gap: 10px;
}

.ahf-trial-card h3,
.ahf-trial-card p,
.ahf-trial-card dl,
.ahf-trial-card dd {
	margin: 0;
}

.ahf-trial-card dl {
	display: grid;
	gap: 7px;
}

.ahf-trial-card dl div {
	background: rgba(255, 255, 255, 0.7);
	border-radius: 9px;
	display: grid;
	gap: 2px;
	padding: 9px 11px;
}

.ahf-trial-card dt {
	color: var(--ahf-sea-dark);
	font-size: 0.68rem;
	font-weight: 850;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ahf-trial-card dd {
	font-size: 0.82rem;
}

.ahf-after-try {
	border-top: 1px solid var(--ahf-border);
	margin-top: 42px;
	padding-top: 34px;
}

.ahf-today-hero > div:first-child > p:last-child,
.ahf-page-head > div > p:last-child {
	color: var(--ahf-muted);
	font-size: 1.03rem;
	max-width: 68ch;
}

.ahf-compass {
	align-items: center;
	background: var(--ahf-lavender-soft);
	border: 1px solid rgba(125, 107, 145, 0.22);
	border-radius: 50%;
	display: grid;
	flex: 0 0 150px;
	height: 150px;
	justify-items: center;
	padding: 20px;
	position: relative;
	text-align: center;
	width: 150px;
}

.ahf-compass::before,
.ahf-compass::after {
	background: var(--ahf-lavender);
	content: "";
	height: 2px;
	left: 50%;
	position: absolute;
	top: 50%;
	transform-origin: left center;
	width: 42px;
}

.ahf-compass::before {
	transform: rotate(-58deg);
}

.ahf-compass::after {
	opacity: 0.3;
	transform: rotate(122deg);
}

.ahf-compass b,
.ahf-compass small {
	position: relative;
	z-index: 1;
}

.ahf-compass b {
	background: var(--ahf-paper);
	border-radius: 50%;
	display: grid;
	font-size: 1.4rem;
	height: 48px;
	place-items: center;
	width: 48px;
}

.ahf-compass small {
	font-size: 0.7rem;
	font-weight: 800;
	line-height: 1.1;
	text-transform: uppercase;
}

.ahf-section-heading {
	gap: 20px;
	justify-content: space-between;
	margin-bottom: 18px;
}

.ahf-section-heading h2 {
	margin-bottom: 0;
}

.ahf-checkin {
	align-items: center;
	background: var(--ahf-paper);
	border: 1px solid var(--ahf-border);
	border-radius: var(--ahf-radius-md);
	display: grid;
	gap: 22px;
	grid-template-columns: minmax(230px, 0.75fr) minmax(440px, 1.25fr);
	margin-bottom: 11px;
	padding: 16px 18px;
}

.ahf-checkin-copy {
	align-items: start;
	display: flex;
	gap: 12px;
}

.ahf-checkin-copy h3,
.ahf-checkin-copy p {
	margin-bottom: 3px;
}

.ahf-checkin-copy p {
	color: var(--ahf-muted);
	font-size: 0.79rem;
}

.ahf-domain-dot {
	background: var(--ahf-lavender);
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 2px var(--ahf-lavender-soft);
	display: inline-block;
	flex: 0 0 12px;
	height: 12px;
	margin-top: 5px;
	width: 12px;
}

[data-domain*="plan"] .ahf-domain-dot,
[data-domain*="organ"] .ahf-domain-dot { background: var(--ahf-sky); }
[data-domain*="atenc"] .ahf-domain-dot,
[data-domain*="entorno"] .ahf-domain-dot { background: var(--ahf-sun); }
[data-domain*="aprender"] .ahf-domain-dot,
[data-domain*="estudio"] .ahf-domain-dot { background: var(--ahf-sea); }
[data-domain*="pantalla"] .ahf-domain-dot,
[data-domain*="digital"] .ahf-domain-dot { background: var(--ahf-lavender); }
[data-domain*="sue"] .ahf-domain-dot { background: var(--ahf-sky); }
[data-domain*="mov"] .ahf-domain-dot { background: var(--ahf-leaf); }
[data-domain*="bien"] .ahf-domain-dot,
[data-domain*="aliment"] .ahf-domain-dot { background: var(--ahf-coral); }

.ahf-statuses {
	display: grid;
	gap: 7px;
	grid-template-columns: repeat(5, 1fr);
}

.ahf-statuses--primary {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ahf-statuses-extra {
	margin-top: 7px;
}

.ahf-statuses-extra > summary {
	color: var(--ahf-sea-dark);
	font-size: 0.73rem;
	font-weight: 800;
	padding: 7px 2px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ahf-statuses-extra > div {
	display: grid;
	gap: 7px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 4px;
}

.ahf-statuses-extra button {
	align-items: center;
	background: #fff;
	border: 1px solid var(--ahf-border);
	border-radius: 9px;
	display: flex;
	font-size: 0.7rem;
	gap: 7px;
	justify-content: center;
	min-height: 44px;
	padding: 7px;
}

.ahf-statuses-extra button[aria-pressed="true"] {
	background: var(--ahf-ink);
	border-color: var(--ahf-ink);
	color: #fff;
}

.ahf-statuses button {
	background: var(--ahf-mist);
	border: 1px solid transparent;
	border-radius: 10px;
	display: grid;
	font-size: 0.68rem;
	gap: 3px;
	justify-items: center;
	line-height: 1.15;
	min-height: 63px;
	padding: 7px 5px;
	text-align: center;
}

.ahf-statuses b {
	font-family: var(--ahf-display);
	font-size: 1rem;
}

.ahf-statuses button:hover {
	background: #e9f4f1;
	border-color: var(--ahf-sea);
}

.ahf-statuses button[aria-pressed="true"] {
	background: var(--ahf-ink);
	border-color: var(--ahf-ink);
	color: #fff;
}

.ahf-action-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: 1.25fr 0.75fr;
	margin: 44px 0 20px;
}

.ahf-action-panel {
	border-radius: var(--ahf-radius-lg);
	min-height: 250px;
	padding: clamp(24px, 4vw, 38px);
}

.ahf-action-panel--timer {
	align-items: center;
	background: var(--ahf-ink);
	color: #eaf0ee;
	display: grid;
	gap: 26px;
	grid-template-columns: 1fr auto;
}

.ahf-action-panel--timer h2,
.ahf-action-panel--timer .ahf-kicker {
	color: #fff;
}

.ahf-action-panel--timer p:last-child {
	color: #c7d4d1;
	font-size: 0.88rem;
}

.ahf-timer {
	align-items: center;
	display: grid;
	justify-items: center;
	min-width: 210px;
}

.ahf-timer label {
	font-size: 0.7rem;
	font-weight: 800;
	text-transform: uppercase;
}

.ahf-timer select {
	background: #fff;
	border: 0;
	border-radius: 7px;
	margin-left: 7px;
	padding: 5px 7px;
}

.ahf-timer output {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: clamp(2.5rem, 6vw, 4.6rem);
	font-weight: 800;
	letter-spacing: -0.08em;
	line-height: 1.1;
	margin: 10px 0 16px;
}

.ahf-timer > div {
	display: flex;
	gap: 8px;
}

.ahf-timer .ahf-primary {
	background: var(--ahf-sun);
	border-color: var(--ahf-sun);
	box-shadow: none;
	color: var(--ahf-ink) !important;
}

.ahf-timer .ahf-icon-button {
	background: transparent;
	border-color: #8ca09b;
	color: #fff;
	font-size: 0.75rem;
}

.ahf-action-panel--family {
	background: var(--ahf-lavender-soft);
	border: 1px solid rgba(125, 107, 145, 0.22);
}

.ahf-action-panel--family span {
	background: rgba(125, 107, 145, 0.13);
	border-radius: 999px;
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 800;
	margin-top: 10px;
	padding: 6px 10px;
}

.ahf-adult-help {
	display: block;
}

.ahf-adult-help summary {
	font-family: var(--ahf-display);
	font-size: 1.15rem;
	font-weight: 800;
}

.ahf-adult-help[open] summary {
	margin-bottom: 20px;
}

.ahf-suggestion,
.ahf-low-screen,
.ahf-myth,
.ahf-no-promises,
.ahf-data-tools,
.ahf-when-help {
	align-items: center;
	border-radius: var(--ahf-radius-lg);
	display: flex;
	gap: 30px;
	justify-content: space-between;
	margin-top: 18px;
	padding: clamp(22px, 3vw, 34px);
}

.ahf-suggestion {
	background: #edf5ee;
	border: 1px solid #cfdfd1;
}

.ahf-suggestion h2,
.ahf-suggestion p,
.ahf-low-screen p {
	margin-bottom: 4px;
}

.ahf-low-screen {
	background: #fff8e5;
	border: 1px solid #ead18c;
	justify-content: flex-start;
}

.ahf-low-screen::before {
	background: var(--ahf-sun);
	border-radius: 50%;
	content: "↗";
	display: grid;
	flex: 0 0 44px;
	font-size: 1.3rem;
	font-weight: 900;
	height: 44px;
	place-items: center;
	width: 44px;
}

.ahf-empty {
	background: var(--ahf-mist);
	border: 1px dashed #9eb1ac;
	border-radius: var(--ahf-radius-lg);
	padding: 44px 28px;
	text-align: center;
}

.ahf-empty > div {
	background: var(--ahf-sun);
	border-radius: 50%;
	display: grid;
	font-size: 1.5rem;
	font-weight: 900;
	height: 56px;
	margin: 0 auto 16px;
	place-items: center;
	width: 56px;
}

.ahf-plan-count {
	background: var(--ahf-lavender-soft);
	border-radius: var(--ahf-radius-lg);
	display: grid;
	flex: 0 0 160px;
	justify-items: center;
	padding: 22px;
	text-align: center;
}

.ahf-plan-count strong {
	font-family: var(--ahf-display);
	font-size: 2.2rem;
	line-height: 1;
}

.ahf-plan-count span {
	font-size: 0.72rem;
	font-weight: 750;
}

.ahf-plan-layout {
	align-items: start;
	display: grid;
	gap: clamp(24px, 4vw, 52px);
	grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.75fr);
}

.ahf-plan-library {
	display: grid;
	gap: 12px;
}

.ahf-plan-library .ahf-section-heading {
	margin-bottom: 5px;
}

.ahf-habit-card {
	background: var(--ahf-paper);
	border: 1px solid var(--ahf-border);
	border-left: 5px solid var(--ahf-lavender);
	border-radius: var(--ahf-radius-md);
	display: grid;
	gap: 10px;
	padding: 20px;
}

.ahf-habit-card[data-domain*="plan"],
.ahf-habit-card[data-domain*="organ"] { border-left-color: var(--ahf-sky); }
.ahf-habit-card[data-domain*="atenc"] { border-left-color: var(--ahf-sun); }
.ahf-habit-card[data-domain*="aprender"],
.ahf-habit-card[data-domain*="estudio"] { border-left-color: var(--ahf-sea); }
.ahf-habit-card[data-domain*="mov"] { border-left-color: var(--ahf-leaf); }
.ahf-habit-card[data-domain*="bien"],
.ahf-habit-card[data-domain*="aliment"] { border-left-color: var(--ahf-coral); }

.ahf-habit-card h3,
.ahf-habit-card p {
	margin-bottom: 0;
}

.ahf-habit-card > p {
	color: var(--ahf-muted);
	font-size: 0.84rem;
}

.ahf-habit-card .ahf-habit-action {
	color: var(--ahf-ink);
	font-size: 0.88rem;
}

.ahf-habit-more,
.ahf-more-habits,
.ahf-plan-advanced {
	border: 1px solid var(--ahf-border);
	border-radius: 10px;
	font-size: 0.8rem;
	padding: 10px 12px;
}

.ahf-habit-more > summary,
.ahf-more-habits > summary,
.ahf-plan-advanced > summary {
	font-weight: 850;
}

.ahf-habit-more > div,
.ahf-plan-advanced > div {
	display: grid;
	gap: 11px;
	margin-top: 12px;
}

.ahf-habit-more p {
	margin: 0;
}

.ahf-more-habits {
	background: var(--ahf-mist);
	margin-top: 3px;
}

.ahf-more-habits > div {
	display: grid;
	gap: 12px;
	margin-top: 14px;
}

.ahf-plan-advanced {
	background: #fbfcfc;
}

.ahf-habit-top {
	justify-content: space-between;
}

.ahf-domain-label,
.ahf-selected-mark,
.ahf-tags span,
.ahf-source-count {
	border-radius: 999px;
	font-size: 0.67rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	padding: 5px 8px;
}

.ahf-domain-label {
	background: var(--ahf-mist);
	color: var(--ahf-muted);
}

.ahf-selected-mark {
	background: #e3f1ed;
	color: var(--ahf-sea-dark);
}

.ahf-example {
	background: #fff8e5;
	border-radius: 9px;
	display: grid;
	font-size: 0.78rem;
	gap: 2px;
	padding: 10px 12px;
}

.ahf-example strong {
	font-size: 0.67rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ahf-reason {
	font-style: italic;
}

.ahf-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.ahf-tags-label {
	color: var(--ahf-muted);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	margin: 0 0 6px;
	text-transform: uppercase;
}

.ahf-tags span {
	background: var(--ahf-lavender-soft);
	color: #5e4e70;
}

.ahf-obstacle,
.ahf-evidence-links {
	background: #f4f7f6;
	border: 1px solid var(--ahf-border);
	border-radius: 9px;
	font-size: 0.78rem;
	padding: 9px 11px;
}

.ahf-obstacle summary,
.ahf-evidence-links summary {
	color: var(--ahf-ink);
	cursor: pointer;
	font-weight: 850;
}

.ahf-obstacle p {
	margin: 8px 0 0;
}

.ahf-evidence-links summary span {
	color: var(--ahf-muted);
	font-weight: 700;
}

.ahf-evidence-links ul {
	display: grid;
	gap: 9px;
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
}

.ahf-evidence-links a {
	color: var(--ahf-sea-dark);
	font-weight: 800;
}

.ahf-evidence-links small {
	display: block;
	line-height: 1.45;
	margin-top: 3px;
}

.ahf-habit-card > button {
	justify-self: start;
	margin-top: 2px;
}

.ahf-plan-editor {
	position: sticky;
	top: 18px;
}

.ahf-selected-list {
	display: grid;
	gap: 7px;
}

.ahf-selected-list > div {
	align-items: center;
	background: var(--ahf-lavender-soft);
	border-radius: 9px;
	display: flex;
	font-size: 0.83rem;
	font-weight: 750;
	justify-content: space-between;
	padding: 9px 11px;
}

.ahf-selected-list button {
	background: transparent;
	border: 0;
	color: #6f3152;
	font-size: 0.7rem;
	font-weight: 800;
	text-decoration: underline;
}

.ahf-custom-habit {
	background: var(--ahf-mist);
	border-radius: 10px;
	padding: 11px 13px;
}

.ahf-custom-habit summary {
	font-size: 0.8rem;
	font-weight: 800;
}

.ahf-custom-habit .ahf-field {
	margin-top: 12px;
}

.ahf-learning-loop {
	align-items: center;
	background: var(--ahf-ink);
	border-radius: var(--ahf-radius-lg);
	color: #fff;
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
	margin-bottom: 52px;
	padding: clamp(22px, 4vw, 38px);
}

.ahf-learning-loop > div {
	display: grid;
	gap: 3px;
	justify-items: start;
}

.ahf-learning-loop b {
	background: var(--ahf-sun);
	border-radius: 50%;
	color: var(--ahf-ink);
	display: grid;
	height: 32px;
	place-items: center;
	width: 32px;
}

.ahf-learning-loop span {
	font-family: var(--ahf-display);
	font-size: 1.05rem;
	font-weight: 800;
}

.ahf-learning-loop small {
	color: #bfd0cc;
	font-size: 0.72rem;
}

.ahf-learning-loop i {
	color: var(--ahf-sun);
	font-style: normal;
}

.ahf-technique-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ahf-technique-card {
	background: var(--ahf-paper);
	border: 1px solid var(--ahf-border);
	border-radius: var(--ahf-radius-md);
	display: grid;
	gap: 9px;
	justify-items: start;
	min-height: 210px;
	padding: 22px;
	text-align: left;
}

.ahf-technique-card:hover {
	border-color: var(--ahf-sea);
	box-shadow: var(--ahf-shadow-soft);
	transform: translateY(-2px);
}

.ahf-technique-card > span {
	color: var(--ahf-sea);
	font-family: ui-monospace, monospace;
	font-size: 0.72rem;
	font-weight: 800;
}

.ahf-technique-card strong {
	font-family: var(--ahf-display);
	font-size: 1.12rem;
}

.ahf-technique-card small {
	color: var(--ahf-muted);
	font-size: 0.8rem;
}

.ahf-technique-card i {
	align-self: end;
	color: var(--ahf-sea-dark);
	font-size: 0.76rem;
	font-style: normal;
	font-weight: 800;
}

.ahf-technique-detail {
	background: var(--ahf-lavender-soft);
	border: 1px solid rgba(125, 107, 145, 0.28);
	border-radius: var(--ahf-radius-lg);
	margin: 24px 0;
	padding: clamp(24px, 5vw, 52px);
	position: relative;
}

.ahf-detail-close {
	background: var(--ahf-paper);
	border: 1px solid #aebdb9;
	border-radius: 50%;
	font-size: 1.3rem;
	height: 42px;
	position: absolute;
	right: 20px;
	top: 20px;
	width: 42px;
}

.ahf-technique-detail ol {
	counter-reset: technique;
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 24px 0;
	padding: 0;
}

.ahf-technique-detail li {
	align-items: start;
	background: rgba(255, 255, 255, 0.72);
	border-radius: 10px;
	counter-increment: technique;
	display: grid;
	gap: 12px;
	grid-template-columns: 28px 1fr;
	padding: 11px 13px;
}

.ahf-technique-detail li::before {
	content: counter(technique);
	font-weight: 900;
}

.ahf-example--large {
	font-size: 0.92rem;
	padding: 16px;
}

.ahf-technique-detail .ahf-caution {
	background: rgba(255, 248, 229, 0.82);
	margin-top: 18px;
}

.ahf-myth {
	align-items: flex-start;
	background: var(--ahf-mist);
	border: 1px solid var(--ahf-border);
	margin-top: 40px;
}

.ahf-myth > * {
	flex: 1;
}

.ahf-week-controls {
	background: var(--ahf-mist);
	border: 1px solid var(--ahf-border);
	border-radius: 12px;
	flex: 0 0 auto;
	gap: 2px;
	padding: 4px;
}

.ahf-week-controls button {
	background: transparent;
	border: 0;
	border-radius: 8px;
	font-size: 0.78rem;
	font-weight: 800;
	min-height: 40px;
	padding: 7px 11px;
}

.ahf-week-controls button:hover {
	background: #fff;
}

.ahf-weekend-toggle,
.ahf-check-field {
	align-items: center;
	display: flex;
	font-size: 0.82rem;
	font-weight: 750;
	gap: 9px;
	margin-bottom: 16px;
}

.ahf-weekend-toggle input,
.ahf-check-field input {
	accent-color: var(--ahf-sea);
	height: 19px;
	width: 19px;
}

.ahf-week-table-wrap {
	border: 1px solid var(--ahf-border);
	border-radius: var(--ahf-radius-md);
	overflow-x: auto;
}

.ahf-week-table {
	border-collapse: collapse;
	min-width: 820px;
	width: 100%;
}

.ahf-week-table th,
.ahf-week-table td {
	border-bottom: 1px solid var(--ahf-border);
	border-right: 1px solid var(--ahf-border);
	padding: 10px;
	text-align: center;
	vertical-align: top;
}

.ahf-week-table tr:last-child th,
.ahf-week-table tr:last-child td {
	border-bottom: 0;
}

.ahf-week-table th:last-child,
.ahf-week-table td:last-child {
	border-right: 0;
}

.ahf-week-table thead th {
	background: var(--ahf-mist);
	font-size: 0.72rem;
}

.ahf-week-table thead th:first-child {
	min-width: 240px;
	text-align: left;
}

.ahf-week-table thead span,
.ahf-week-table thead b {
	display: block;
}

.ahf-week-table tbody th {
	font-size: 0.78rem;
	font-weight: 750;
	text-align: left;
}

.ahf-week-cell {
	background: var(--ahf-paper);
	border: 1px solid #c6d2cf;
	border-radius: 9px;
	display: grid;
	justify-items: center;
	min-height: 53px;
	padding: 6px;
	width: 100%;
}

.ahf-week-cell b {
	font-size: 1rem;
}

.ahf-week-cell span {
	font-size: 0.58rem;
	line-height: 1.1;
}

.ahf-week-cell:hover {
	border-color: var(--ahf-sea);
}

.ahf-status-menu {
	font-size: 0.65rem;
	margin-top: 3px;
	position: relative;
}

.ahf-status-menu summary {
	list-style: none;
}

.ahf-status-menu summary::-webkit-details-marker {
	display: none;
}

.ahf-status-menu > div {
	background: #fff;
	border: 1px solid var(--ahf-border);
	border-radius: 9px;
	box-shadow: var(--ahf-shadow-soft);
	display: grid;
	gap: 2px;
	min-width: 170px;
	padding: 5px;
	position: absolute;
	right: 0;
	top: 22px;
	z-index: 8;
}

.ahf-status-menu button {
	background: transparent;
	border: 0;
	border-radius: 6px;
	font-size: 0.7rem;
	padding: 6px;
	text-align: left;
}

.ahf-status-menu button:hover {
	background: var(--ahf-mist);
}

.ahf-week-summary {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(4, 1fr);
	margin: 18px 0 32px;
}

.ahf-week-summary div {
	background: var(--ahf-mist);
	border-radius: 12px;
	display: grid;
	justify-items: center;
	padding: 14px;
	text-align: center;
}

.ahf-week-summary strong {
	font-family: var(--ahf-display);
	font-size: 1.45rem;
}

.ahf-week-summary span {
	color: var(--ahf-muted);
	font-size: 0.68rem;
}

.ahf-cycle-next {
	align-items: center;
	background: #eef6f4;
	border: 1px solid #cfe0dc;
	border-radius: var(--ahf-radius-lg);
	display: flex;
	gap: 28px;
	justify-content: space-between;
	margin-top: 18px;
	padding: clamp(20px, 3vw, 30px);
}

.ahf-cycle-next h2,
.ahf-cycle-next p {
	margin-bottom: 4px;
}

.ahf-source-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
}

.ahf-source-original {
	font-weight: 700 !important;
}

.ahf-review {
	align-items: end;
	box-shadow: none;
	grid-template-columns: 0.9fr repeat(3, 1fr) auto;
}

.ahf-review h2,
.ahf-review p {
	margin-bottom: 4px;
}

.ahf-review textarea {
	font-size: 0.8rem;
}

.ahf-resource-tabs {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	margin-bottom: 24px;
}

.ahf-resource-tabs button {
	background: var(--ahf-mist);
	border: 1px solid transparent;
	border-radius: 12px;
	display: grid;
	gap: 4px;
	justify-items: start;
	min-height: 115px;
	padding: 13px;
	text-align: left;
}

.ahf-resource-tabs button[aria-current="true"] {
	background: var(--ahf-ink);
	color: #fff;
}

.ahf-resource-tabs button > span {
	font-size: 1.2rem;
}

.ahf-resource-tabs b {
	font-size: 0.78rem;
	line-height: 1.2;
}

.ahf-resource-tabs small {
	color: var(--ahf-muted);
	font-size: 0.63rem;
	line-height: 1.2;
}

.ahf-resource-tabs button[aria-current="true"] small {
	color: #bdd0cc;
}

.ahf-resource-workspace {
	align-items: start;
	display: grid;
	gap: clamp(22px, 4vw, 46px);
	grid-template-columns: minmax(320px, 0.62fr) minmax(500px, 1fr);
}

.ahf-resource-form {
	box-shadow: none;
	position: sticky;
	top: 18px;
}

.ahf-export-actions {
	align-items: stretch;
	display: grid;
	gap: 8px;
	grid-template-columns: 1fr;
}

.ahf-form-note {
	color: var(--ahf-muted);
	font-size: 0.72rem;
	margin-bottom: 0;
}

.ahf-document-stage {
	background: #e8edeb;
	border: 1px solid #c9d3d0;
	border-radius: var(--ahf-radius-lg);
	padding: 16px;
}

.ahf-document-toolbar {
	justify-content: space-between;
	padding: 3px 5px 14px;
}

.ahf-document-toolbar span {
	font-size: 0.74rem;
	font-weight: 850;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ahf-document-toolbar small {
	color: var(--ahf-muted);
	font-size: 0.68rem;
}

.ahf-document-preview {
	background: #fff;
	box-shadow: 0 10px 28px rgba(24, 50, 58, 0.16);
	margin: 0 auto;
	max-height: 980px;
	overflow: auto;
	padding: 34px;
	width: min(100%, 760px);
}

.ahf-document-preview .ahf-doc {
	color: #18323a;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height: 1.35;
	margin: 0 auto;
	max-width: 690px;
}

.ahf-document-preview .ahf-doc h1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 29px;
	line-height: 1.05;
	margin: 4px 0;
}

.ahf-document-preview .ahf-doc h2 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	margin: 0 0 7px;
}

.ahf-document-preview .ahf-doc p {
	margin: 5px 0;
}

.ahf-doc-head {
	border-bottom: 3px solid #23877c;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin-bottom: 14px;
	padding-bottom: 12px;
}

.ahf-doc-eyebrow {
	color: #176b63;
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ahf-doc-mark {
	align-items: center;
	background: #fff8e5;
	border: 1px solid #18323a;
	border-radius: 50%;
	display: flex;
	flex: 0 0 72px;
	font-size: 8px;
	height: 72px;
	justify-content: center;
	text-align: center;
}

.ahf-doc-meta,
.ahf-doc-grid {
	display: grid;
	gap: 12px;
}

.ahf-doc-meta,
.ahf-doc-grid--2 {
	grid-template-columns: 1fr 1fr;
}

.ahf-doc-grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.ahf-doc-meta {
	margin-bottom: 13px;
}

.ahf-doc-line {
	border-bottom: 1px solid #a9b7b5;
	padding: 4px 0;
}

.ahf-doc-callout,
.ahf-doc-soft,
.ahf-doc-reflect {
	border-radius: 12px;
	margin: 13px 0;
	padding: 13px;
}

.ahf-doc-callout {
	background: #ece6f0;
	border-left: 5px solid #7d6b91;
}

.ahf-doc-soft {
	background: #f4f7f6;
}

.ahf-doc-reflect {
	background: #dceee8;
}

.ahf-doc-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ahf-doc-list li {
	align-items: flex-start;
	display: flex;
	gap: 8px;
	margin: 7px 0;
}

.ahf-doc-check,
.ahf-doc-box {
	background: #fff;
	border: 1px solid #18323a;
	display: inline-block;
	flex: 0 0 15px;
	height: 15px;
	width: 15px;
}

.ahf-doc-table-wrap {
	overflow-x: auto;
}

.ahf-doc-table {
	border-collapse: collapse;
	font-size: 9px;
	width: 100%;
}

.ahf-doc-table th,
.ahf-doc-table td {
	border: 1px solid #839492;
	padding: 6px;
	text-align: center;
}

.ahf-doc-table th:first-child {
	text-align: left;
	width: 42%;
}

.ahf-doc-table tr:first-child th {
	background: #dceee8;
}

.ahf-doc-steps {
	list-style: none;
	margin: 13px 0;
	padding: 0;
}

.ahf-doc-steps li {
	align-items: start;
	border-bottom: 1px solid #d9e1df;
	display: grid;
	gap: 10px;
	grid-template-columns: 30px 1fr;
	padding: 10px 0;
}

.ahf-doc-steps > li > span {
	background: #f4c95d;
	border-radius: 50%;
	display: grid;
	font-weight: 800;
	height: 28px;
	place-items: center;
	width: 28px;
}

.ahf-doc-signatures {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 38px;
}

.ahf-doc-signatures span {
	border-top: 1px solid #18323a;
	font-size: 8px;
	padding-top: 6px;
}

.ahf-doc-write {
	border-bottom: 1px solid #a9b7b5;
	min-height: 32px;
}

.ahf-doc-lines {
	line-height: 2;
}

.ahf-doc-big {
	font-size: 24px;
	font-weight: 800;
}

.ahf-doc-note {
	border-top: 1px solid #a9b7b5;
	font-size: 9px;
	margin-top: 15px;
	padding-top: 9px;
}

.ahf-doc-footer {
	border-top: 1px solid #d9e1df;
	color: #546865;
	font-size: 8px;
	margin-top: 16px;
	padding-top: 9px;
	text-align: left;
}

.ahf-doc-footer-table {
	border-collapse: collapse;
	table-layout: fixed;
	width: 100%;
}

.ahf-doc-footer-table td {
	border: 0;
	padding: 0;
	text-align: left;
	vertical-align: middle;
}

.ahf-doc-footer-table .ahf-doc-footer-qr {
	padding-right: 14px;
	width: 80px;
}

.ahf-doc-footer .ahf-doc-qr {
	display: block;
	height: 66px;
	object-fit: contain;
	width: 66px;
}

.ahf-doc-footer-copy p {
	line-height: 1.35;
	margin: 0;
	text-align: left;
}

.ahf-doc-footer-copy a,
.ahf-doc-footer-copy strong,
.ahf-doc-footer-note {
	display: block;
}

.ahf-doc-footer-note {
	margin-top: 4px;
	text-align: left;
}

.ahf-evidence-principles,
.ahf-privacy-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, 1fr);
	margin-bottom: 54px;
}

.ahf-evidence-principles article,
.ahf-privacy-grid article {
	background: var(--ahf-mist);
	border: 1px solid var(--ahf-border);
	border-radius: var(--ahf-radius-md);
	padding: 24px;
}

.ahf-evidence-principles span {
	color: var(--ahf-sea);
	font-family: ui-monospace, monospace;
	font-size: 0.72rem;
	font-weight: 800;
}

.ahf-evidence-principles h2,
.ahf-privacy-grid h2 {
	font-size: 1.15rem;
	margin: 12px 0 8px;
}

.ahf-evidence-principles p,
.ahf-privacy-grid p {
	color: var(--ahf-muted);
	font-size: 0.82rem;
	margin-bottom: 0;
}

.ahf-source-count {
	background: var(--ahf-lavender-soft);
}

.ahf-source-list {
	border-top: 1px solid var(--ahf-border);
}

.ahf-source {
	border-bottom: 1px solid var(--ahf-border);
}

.ahf-source summary {
	align-items: center;
	display: grid;
	gap: 14px;
	grid-template-columns: 32px 1fr auto;
	list-style: none;
	padding: 16px 4px;
}

.ahf-source summary::-webkit-details-marker {
	display: none;
}

.ahf-source summary > span {
	color: var(--ahf-sea);
	font-family: ui-monospace, monospace;
	font-size: 0.7rem;
	font-weight: 800;
}

.ahf-source summary div {
	display: grid;
}

.ahf-source summary b {
	font-size: 0.9rem;
}

.ahf-source summary small {
	color: var(--ahf-muted);
	font-size: 0.7rem;
}

.ahf-source summary i {
	background: var(--ahf-mist);
	border-radius: 999px;
	font-size: 0.65rem;
	font-style: normal;
	font-weight: 800;
	padding: 6px 8px;
}

.ahf-source > div {
	background: var(--ahf-mist);
	border-radius: 12px;
	font-size: 0.84rem;
	margin: 0 0 14px 46px;
	padding: 16px;
}

.ahf-source-limit {
	color: var(--ahf-muted);
}

.ahf-source a {
	font-weight: 800;
}

.ahf-no-promises {
	align-items: flex-start;
	background: var(--ahf-ink);
	color: #d8e3e0;
	margin-top: 46px;
}

.ahf-no-promises h2,
.ahf-no-promises .ahf-kicker {
	color: #fff;
}

.ahf-no-promises > * {
	flex: 1;
}

.ahf-no-promises li {
	margin-bottom: 8px;
}

.ahf-when-help {
	align-items: flex-start;
	background: #fff8e5;
	border: 1px solid #ead18c;
}

.ahf-when-help h2,
.ahf-when-help p {
	margin-bottom: 0;
}

.ahf-data-tools {
	background: var(--ahf-mist);
	border: 1px solid var(--ahf-border);
}

.ahf-data-tools h2,
.ahf-data-tools p {
	margin-bottom: 4px;
}

.ahf-data-tools > div:last-child {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ahf-privacy-note {
	margin-top: 20px;
}

.ahf-footer {
	background: var(--ahf-ink);
	color: #c6d5d1;
	gap: 30px;
	justify-content: space-between;
	padding: 26px clamp(20px, 5vw, 72px);
}

.ahf-footer > div:first-child {
	display: grid;
}

.ahf-footer strong {
	color: #fff;
	font-family: var(--ahf-display);
}

.ahf-footer span {
	font-size: 0.72rem;
}

.ahf-footer > div:last-child {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
}

.ahf-footer button,
.ahf-footer a {
	background: transparent;
	border: 0;
	color: #dce9e6;
	font-size: 0.75rem;
	padding: 5px 0;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ahf-fatal {
	background: #fff4f3;
	border: 1px solid #cb4d46;
	border-radius: 14px;
	color: #63201d;
	padding: 24px;
}

.ahf-fatal p {
	margin: 5px 0 0;
}

.ahf-resource-info {
	color: #18323a;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	margin: 42px auto 80px;
	max-width: 1180px;
	padding: 0 clamp(12px, 3vw, 34px);
}

.ahf-resource-info h2,
.ahf-resource-info h3 {
	color: #18323a;
	font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", Inter, system-ui, sans-serif;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.ahf-resource-info h2 {
	font-size: clamp(1.55rem, 3vw, 2.35rem);
	line-height: 1.1;
}

.ahf-resource-info__eyebrow {
	color: #176b63;
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ahf-resource-info__intro {
	max-width: 78ch;
}

.ahf-resource-info__intro > p:not(.ahf-resource-info__eyebrow) {
	color: #526762;
	font-size: 1rem;
	line-height: 1.65;
}

.ahf-resource-info__principles {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 30px 0;
}

.ahf-resource-info__principles article {
	background: #f4f7f6;
	border: 1px solid #d9e2df;
	border-radius: 15px;
	padding: 22px;
}

.ahf-resource-info__principles h3 {
	font-size: 1rem;
	margin: 0 0 7px;
}

.ahf-resource-info__principles p,
.ahf-resource-info__privacy p,
.ahf-resource-info__faq p {
	color: #526762;
	font-size: 0.85rem;
	line-height: 1.6;
	margin: 0;
}

.ahf-resource-info__privacy {
	background: #ece6f0;
	border-radius: 18px;
	margin: 30px 0;
	padding: clamp(22px, 4vw, 36px);
}

.ahf-resource-info__privacy h2,
.ahf-resource-info__faq h2 {
	font-size: 1.35rem;
	margin: 0 0 12px;
}

.ahf-resource-info__privacy p + p {
	margin-top: 10px;
}

.ahf-resource-info__faq {
	border-top: 1px solid #d9e2df;
	padding-top: 26px;
}

.ahf-resource-info__faq details {
	border-bottom: 1px solid #d9e2df;
	padding: 13px 2px;
}

.ahf-resource-info__faq summary {
	cursor: pointer;
	font-size: 0.9rem;
	font-weight: 800;
}

.ahf-resource-info__faq p {
	margin-top: 9px;
}

@container ahf-app (max-width: 1040px) {
	.ahf-profile-layout,
	.ahf-plan-layout,
	.ahf-resource-workspace {
		grid-template-columns: 1fr;
	}

	.ahf-profile-copy h1,
	.ahf-today-hero h1,
	.ahf-page-head h1 {
		max-width: 18ch;
	}

	.ahf-profile-form,
	.ahf-plan-editor,
	.ahf-resource-form {
		position: static;
	}

	.ahf-checkin {
		grid-template-columns: 1fr;
	}

	.ahf-review {
		align-items: stretch;
		grid-template-columns: 1fr 1fr;
	}

	.ahf-review > div,
	.ahf-review > button {
		grid-column: 1 / -1;
	}

	.ahf-resource-tabs {
		grid-template-columns: repeat(3, 1fr);
	}
}

@container ahf-app (max-width: 760px) {
	.ahf-navigation {
		align-items: stretch;
		flex-direction: column;
	}

	.ahf-nav-resource {
		min-height: 46px;
		width: 100%;
	}

	.ahf-header {
		align-items: flex-start;
	}

	.ahf-local-badge {
		display: none;
	}

	.ahf-today-hero,
	.ahf-page-head,
	.ahf-suggestion,
	.ahf-myth,
	.ahf-no-promises,
	.ahf-data-tools,
	.ahf-when-help {
		align-items: flex-start;
		flex-direction: column;
	}

	.ahf-compass,
	.ahf-plan-count {
		align-self: flex-start;
	}

	.ahf-statuses {
		grid-template-columns: repeat(5, minmax(75px, 1fr));
		overflow-x: auto;
		padding-bottom: 5px;
	}

	.ahf-statuses--primary {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		overflow: visible;
		padding-bottom: 0;
	}

	.ahf-action-grid,
	.ahf-action-panel--timer {
		grid-template-columns: 1fr;
	}

	.ahf-timer {
		justify-items: start;
	}

	.ahf-learning-loop {
		grid-template-columns: 1fr;
	}

	.ahf-learning-loop i {
		transform: rotate(90deg);
	}

	.ahf-technique-grid,
	.ahf-evidence-principles,
	.ahf-privacy-grid {
		grid-template-columns: 1fr 1fr;
	}

	.ahf-week-summary {
		grid-template-columns: 1fr 1fr;
	}

	.ahf-cycle-next,
	.ahf-section-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.ahf-section-actions {
		justify-content: flex-start;
	}

	.ahf-resource-tabs {
		display: flex;
		overflow-x: auto;
		padding-bottom: 6px;
	}

	.ahf-resource-tabs button {
		flex: 0 0 170px;
	}

	.ahf-document-preview {
		padding: 22px;
	}

	.ahf-doc-grid--3,
	.ahf-doc-signatures {
		grid-template-columns: 1fr;
	}

	.ahf-footer {
		align-items: flex-start;
		flex-direction: column;
	}
}

@container ahf-app (max-width: 520px) {
	[data-ahf-app] h1 {
		font-size: 2.35rem;
	}

	.ahf-shell {
		border-radius: 20px;
	}

	.ahf-header {
		padding: 16px;
	}

	.ahf-brand img {
		height: 44px;
		width: 44px;
	}

	.ahf-brand strong {
		font-size: 0.96rem;
	}

	.ahf-profile-button b,
	.ahf-profile-button small {
		display: none;
	}

	.ahf-fullscreen-button {
		padding-inline: 8px;
	}

	.ahf-fullscreen-button small {
		display: none;
	}

	.ahf-content {
		padding: 28px 16px 48px;
	}

	.ahf-navigation {
		padding: 9px 10px;
	}

	.ahf-flow-step {
		gap: 5px;
		grid-template-columns: 25px 1fr;
		padding: 7px;
	}

	.ahf-flow-step > span {
		height: 25px;
		width: 25px;
	}

	.ahf-flow-step small {
		display: none;
	}

	.ahf-flow-step b {
		font-size: 0.78rem;
	}

	.ahf-profile-layout {
		gap: 24px;
	}

	.ahf-intro-steps {
		grid-template-columns: 1fr;
	}

	.ahf-profile-visual {
		border-radius: 14px;
	}

	.ahf-field-row,
	.ahf-technique-grid,
	.ahf-evidence-principles,
	.ahf-privacy-grid,
	.ahf-review {
		grid-template-columns: 1fr;
	}

	.ahf-checkin {
		padding: 14px;
	}

	.ahf-statuses {
		grid-template-columns: repeat(5, 76px);
	}

	.ahf-statuses--primary {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ahf-statuses button span {
		font-size: 0.6rem;
	}

	.ahf-action-panel {
		padding: 22px;
	}

	.ahf-timer > div {
		align-items: stretch;
		flex-direction: column;
		width: 100%;
	}

	.ahf-plan-count,
	.ahf-compass {
		border-radius: 14px;
		grid-template-columns: auto 1fr;
		height: auto;
		justify-items: start;
		padding: 14px;
		width: 100%;
	}

	.ahf-compass::before,
	.ahf-compass::after,
	.ahf-compass small br {
		display: none;
	}

	.ahf-doc-meta,
	.ahf-doc-grid--2 {
		grid-template-columns: 1fr;
	}

	.ahf-document-stage {
		border-radius: 14px;
		padding: 8px;
	}

	.ahf-document-toolbar small {
		display: none;
	}

	.ahf-document-preview {
		padding: 14px;
	}

	.ahf-source summary {
		grid-template-columns: 26px 1fr;
	}

	.ahf-source summary i {
		display: none;
	}

	.ahf-source > div {
		margin-left: 0;
	}
}

@media (max-width: 680px) {
	.ahf-plugin-shell--wide {
		width: calc(100vw - 0.5rem) !important;
	}

	[data-ahf-app] {
		margin-inline: 0;
	}

	.ahf-resource-info__principles {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	[data-ahf-app] *,
	[data-ahf-app] *::before,
	[data-ahf-app] *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

@media (forced-colors: active) {
	[data-ahf-app] button,
	[data-ahf-app] input,
	[data-ahf-app] select,
	[data-ahf-app] textarea,
	.ahf-shell,
	.ahf-habit-card,
	.ahf-checkin,
	.ahf-action-panel,
	.ahf-trial-card,
	.ahf-source {
		border: 1px solid CanvasText;
	}

	.ahf-domain-dot,
	.ahf-local-badge i {
		background: CanvasText;
	}
}

@media print {
	[data-ahf-app] .ahf-header,
	[data-ahf-app] .ahf-nav,
	[data-ahf-app] .ahf-navigation,
	[data-ahf-app] .ahf-page-head,
	[data-ahf-app] .ahf-resource-tabs,
	[data-ahf-app] .ahf-resource-form,
	[data-ahf-app] .ahf-document-toolbar,
	[data-ahf-app] .ahf-footer {
		display: none !important;
	}

	[data-ahf-app],
	[data-ahf-app] .ahf-shell,
	[data-ahf-app] .ahf-content,
	[data-ahf-app] .ahf-resource-workspace,
	[data-ahf-app] .ahf-document-stage,
	[data-ahf-app] .ahf-document-preview {
		background: #fff !important;
		border: 0 !important;
		box-shadow: none !important;
		margin: 0 !important;
		max-height: none !important;
		max-width: none !important;
		overflow: visible !important;
		padding: 0 !important;
		width: 100% !important;
	}

	[data-ahf-app] .ahf-doc {
		font-size: 10.5pt;
	}
}
