.im-page {
	--im-ink: #243b4b;
	--im-muted: #667985;
	--im-line: #d9e5f1;
	--im-accent: #3575b5;
	--im-blue: #254961;
	max-width: 1180px;
	margin: 0 auto;
	padding: clamp(34px, 5vw, 72px) 24px 86px;
	color: var(--im-ink);
}
.im-heading {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	max-width: none;
	margin: 0 0 26px;
	padding: clamp(30px, 5vw, 56px) clamp(24px, 5vw, 58px);
	border: 1px solid #d9e5f1;
	border-top: 3px solid var(--im-accent);
	background: linear-gradient(120deg, #f7f8f5 0%, #fff 68%);
	box-shadow: 0 18px 50px #1c34440a;
}
.im-heading::after {
	content: "";
	position: absolute;
	z-index: -1;
	width: 250px;
	height: 250px;
	right: 5%;
	top: 50%;
	border: 1px solid #3575b522;
	border-radius: 50%;
	box-shadow: 0 0 0 18px #3575b508, 0 0 0 36px #3575b505;
	transform: translateY(-50%);
}
.im-eyebrow { margin: 0 0 10px; color: var(--im-accent); font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.im-heading h1 { max-width: 760px; margin: 0; color: var(--im-blue); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.35rem, 5vw, 4.2rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.06; }
.im-heading p:not(.im-eyebrow) { max-width: 650px; margin: 15px 0 0; color: var(--im-muted); font-size: 1.05rem; }
.im-week-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 8px 12px; border: 1px solid #96bce1; border-radius: 99px; background: #f9fbfd; color: #234e79; font-size: .82rem; font-weight: 700; }
.im-week-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3575b5; }
.im-week-nav { position: sticky; z-index: 5; top: 8px; display: flex; align-items: center; gap: 7px; overflow-x: auto; margin: 0 0 38px; padding: 10px; border: 1px solid #e4e9e9; border-radius: 12px; background: #ffffffed; box-shadow: 0 8px 24px #1c34440b; scrollbar-width: thin; }
.im-week-nav-label { flex: none; margin: 0 8px; color: var(--im-muted); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.im-week-nav a { flex: none; min-width: 58px; padding: 8px 11px; border: 1px solid transparent; border-radius: 8px; color: var(--im-blue); font-size: .85rem; font-weight: 700; text-align: center; text-decoration: none; }
.im-week-nav a:hover { border-color: #b7cde3; background: #f0f4f9; color: #20486f; }
.im-set { margin: 0 auto 48px; }
.im-set-current { padding: clamp(20px, 4vw, 38px); border: 1px solid #d9e5f1; border-radius: 14px; background: #fff; box-shadow: 0 16px 44px #1c34440b; }
.im-set-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 21px; padding-bottom: 18px; border-bottom: 1px solid var(--im-line); }
.im-set-heading h2,.im-set-title { margin: 0; color: var(--im-blue); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 400; line-height: 1.2; }
.im-set-dates { color: var(--im-muted); font-size: .88rem; font-variant-numeric: tabular-nums; }
.im-day { display: grid; grid-template-columns: minmax(175px, 235px) 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--im-line); scroll-margin-top: 105px; }
.im-day:last-child { border-bottom: 0; padding-bottom: 0; }
.im-day-heading { display: flex; align-items: baseline; gap: 8px; }
.im-day h3 { margin: 2px 0 0; color: var(--im-blue); font-family: Georgia, 'Times New Roman', serif; font-size: 1.14rem; font-weight: 400; }
.im-day-link { color: #3575b5; font-size: .8rem; opacity: 0; text-decoration: none; }
.im-day:hover .im-day-link,.im-day-link:focus-visible { opacity: 1; }
.im-masses { display: grid; gap: 9px; }
.im-mass { display: grid; grid-template-columns: 61px 1fr; align-items: start; gap: 14px; padding: 13px 15px; border: 1px solid #edf0ef; border-radius: 9px; background: #fbfcfa; }
.im-time { display: inline-flex; justify-content: center; padding: 4px 5px; border-radius: 5px; background: #eef3f5; color: var(--im-blue); font-size: .86rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.im-intention { margin: 1px 0 0; color: #354c5a; font-size: .96rem; line-height: 1.6; }
.im-empty { padding: 25px; border: 1px dashed #c7d9ea; border-radius: 10px; background: #fafbf9; color: var(--im-muted); text-align: center; }
.im-archive { margin-top: 56px; }
.im-archive > h2 { margin: 0 0 20px; color: var(--im-blue); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.7rem, 3vw, 2.25rem); font-weight: 400; }
.im-archive .im-set-archived { margin: 0 0 10px; border: 1px solid var(--im-line); border-radius: 10px; background: #fff; }
.im-set-details > .im-set-heading { position: relative; align-items: center; margin: 0; padding: 18px 22px; cursor: pointer; list-style: none; }
.im-set-details > .im-set-heading::-webkit-details-marker { display: none; }
.im-set-details > .im-set-heading::marker { content: ""; }
.im-set-title { font-size: 1.18rem; }
.im-set-toggle { position: relative; width: 24px; height: 24px; margin-left: auto; border: 1px solid var(--im-line); border-radius: 50%; }
.im-set-toggle::before,.im-set-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 1px; background: var(--im-blue); transform: translate(-50%,-50%); }
.im-set-toggle::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .18s ease; }
.im-set-details[open] .im-set-toggle::after { transform: translate(-50%,-50%); }
.im-set-details > .im-day { margin-inline: 22px; }
.im-set-details > .im-day:last-of-type { padding-bottom: 20px; }
.im-set-details .im-empty { margin: 0 22px 22px; }
.im-privacy-note { max-width: 850px; margin: 42px auto 0; padding: 15px 18px; border-left: 2px solid #70a3d6; color: var(--im-muted); font-size: .82rem; line-height: 1.6; }
.im-pagination { display: flex; justify-content: center; gap: 8px; margin: 28px 0; }
.im-pagination a,.im-pagination span { min-width: 40px; padding: 8px 12px; border: 1px solid var(--im-line); border-radius: 7px; text-align: center; text-decoration: none; }
.im-pagination .current { border-color: var(--im-blue); background: var(--im-blue); color: #fff; }
@media (max-width: 760px) {
	.im-page { padding-inline: 18px; }
	.im-heading { padding: 30px 25px; }
	.im-heading::after { right: -115px; }
	.im-day { grid-template-columns: 1fr; gap: 10px; }
	.im-week-nav { margin-bottom: 24px; }
}
@media (max-width: 480px) {
	.im-page { padding: 28px 14px 55px; }
	.im-heading { margin-inline: -2px; padding: 27px 20px; }
	.im-eyebrow { max-width: 250px; font-size: .64rem; }
	.im-heading h1 { font-size: 2.3rem; }
	.im-set-current { padding: 19px 15px; }
	.im-set-heading { align-items: flex-start; }
	.im-set-details > .im-set-heading { padding: 15px; }
	.im-set-details > .im-day { margin-inline: 15px; }
	.im-mass { grid-template-columns: 55px 1fr; gap: 10px; padding: 11px 10px; }
	.im-intention { font-size: .9rem; }
	.im-week-nav-label { margin-inline: 3px; }
}
@media (prefers-reduced-motion: reduce) { .im-set-toggle::after { transition: none; } }
