/* 75 Fluent ✨ — every rule is scoped to .f75 so the rest of the site is untouched. */

@font-face {
	font-family: "F75 Fraunces";
	src: url("fonts/fraunces-latin-wght-normal.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "F75 Fraunces";
	src: url("fonts/fraunces-latin-wght-italic.woff2") format("woff2");
	font-weight: 300 900;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "F75 Inter";
	src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

.f75 {
	--f75-ink: #0f1d3d;
	--f75-ink-2: #1a2c5a;
	--f75-ink-3: #2a3f73;
	--f75-teal: #178079;
	--f75-teal-2: #2fb3a6;
	--f75-teal-soft: #e5f4f1;
	--f75-gold: #b88a2c;
	--f75-gold-2: #e0bb62;
	--f75-gold-soft: #fbf2dc;
	--f75-paper: #f7f2e8;
	--f75-card: #fffdf8;
	--f75-line: #e9e1d1;
	--f75-text: #1c2335;
	--f75-muted: #6a7084;
	--f75-danger: #b2412f;
	--f75-radius: 22px;
	--f75-shadow: 0 1px 2px rgba(15, 29, 61, .05), 0 8px 28px -12px rgba(15, 29, 61, .18);
	--f75-serif: "F75 Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--f75-sans: "F75 Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	container-type: inline-size;
	position: relative;
	display: block;
	width: 100%;
	max-width: 1120px;
	margin: 0 auto 32px;
	padding: 0;
	color: var(--f75-text);
	font-family: var(--f75-sans);
	font-size: 16px;
	line-height: 1.5;
	text-align: left;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	overflow-wrap: break-word;
}
.f75 *,
.f75 *::before,
.f75 *::after { box-sizing: border-box; }

.f75 h2, .f75 h3, .f75 p, .f75 ul, .f75 li, .f75 summary, .f75 details {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	color: inherit;
	letter-spacing: normal;
	text-transform: none;
}
.f75 ul { list-style: none; }
.f75 li { list-style: none; }
.f75 li::before, .f75 li::marker { content: none; }

/* Neutralise theme button/link/textarea styling on our own controls only. */
.f75 .f75-task, .f75 .f75-btn, .f75 .f75-nav, .f75 .f75-cell, .f75 .f75-link, .f75 .f75-toast__x, .f75 .f75-textarea, .f75 .f75-sync, .f75 .f75-signin {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	padding: 0;
	width: auto;
	min-width: 0;
	min-height: 0;
	height: auto;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	text-shadow: none;
	color: inherit;
	font: inherit;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	text-align: left;
	line-height: inherit;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .12s ease, box-shadow .18s ease;
}
.f75 .f75-task:focus-visible, .f75 .f75-btn:focus-visible, .f75 .f75-nav:focus-visible, .f75 .f75-cell:focus-visible, .f75 .f75-link:focus-visible, .f75 summary:focus-visible {
	outline: 3px solid var(--f75-gold-2);
	outline-offset: 2px;
}
.f75 .f75-sr {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.f75 .f75-muted { color: var(--f75-muted); font-weight: 400; }

/* ---------- Loading / gate ---------- */
.f75 .f75-loading {
	display: flex; align-items: center; justify-content: center; gap: 12px;
	padding: 48px 20px; border-radius: var(--f75-radius);
	background: var(--f75-ink); color: #f4efe4; font-size: 15px;
}
.f75 .f75-spinner {
	width: 18px; height: 18px; border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, .25); border-top-color: var(--f75-gold-2);
	animation: f75-spin .8s linear infinite;
}
@keyframes f75-spin { to { transform: rotate(360deg); } }

.f75 .f75-gate {
	display: grid; justify-items: center; gap: 12px; text-align: center;
	padding: 44px 24px; border-radius: var(--f75-radius);
	background: radial-gradient(120% 90% at 85% 0%, var(--f75-ink-3) 0%, var(--f75-ink) 60%);
	color: #f4efe4; box-shadow: var(--f75-shadow);
}
.f75 .f75-gate__mark { font-size: 34px; line-height: 1; }
.f75 .f75-gate__title { font-family: var(--f75-serif); font-size: 32px; font-weight: 600; line-height: 1.1; color: #fffaf0; }
.f75 .f75-gate__text { max-width: 30ch; color: rgba(244, 239, 228, .82); }

/* ---------- Buttons & links ---------- */
.f75 .f75-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 20px; border-radius: 999px;
	font-size: 15.5px; font-weight: 600; line-height: 1.2; text-align: center;
}
.f75 .f75-btn--primary { background: var(--f75-gold-2); color: var(--f75-ink); }
.f75 .f75-btn--primary:hover { background: #ebc976; color: var(--f75-ink); }
.f75 .f75-btn--ghost { border: 1.5px solid var(--f75-line); background: var(--f75-card); color: var(--f75-ink); min-height: 44px; padding: 10px 16px; font-size: 14.5px; }
.f75 .f75-btn--ghost:hover { border-color: var(--f75-ink-3); background: #fff; }
.f75 .f75-btn--ghost:disabled { opacity: .6; cursor: progress; }
.f75 .f75-btn--soft { width: 100%; background: var(--f75-teal-soft); color: #0d5c57; border: 1.5px dashed rgba(23, 128, 121, .35); }
.f75 .f75-btn--soft:hover { background: #d8eeea; }
.f75 .f75-btn--done { width: 100%; background: var(--f75-teal); color: #fff; }
.f75 .f75-btn--done:hover { background: #136d67; }
.f75 .f75-btn--small { min-height: 40px; padding: 8px 16px; font-size: 14px; background: var(--f75-ink); color: #fff; }
.f75 .f75-link {
	display: inline; padding: 6px 2px; margin: -6px 0;
	color: var(--f75-teal); font-weight: 600; font-size: 14.5px;
	text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px;
}
.f75 .f75-link:hover { color: var(--f75-ink); }
.f75 .f75-link--light { color: var(--f75-gold-2); }

/* ---------- Hero ---------- */
.f75 .f75-hero {
	grid-area: hero;
	position: relative; overflow: hidden;
	padding: 18px 18px 18px;
	border-radius: var(--f75-radius);
	background:
		radial-gradient(90% 70% at 100% 0%, rgba(47, 179, 166, .20) 0%, transparent 60%),
		radial-gradient(70% 60% at 0% 100%, rgba(224, 187, 98, .14) 0%, transparent 60%),
		linear-gradient(160deg, var(--f75-ink-2) 0%, var(--f75-ink) 70%);
	color: #f4efe4;
	box-shadow: var(--f75-shadow);
}
.f75 .f75-hero__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.f75 .f75-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(244, 239, 228, .7); }
.f75 .f75-hero__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.f75 .f75-sync {
	display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: none;
	min-height: 36px; min-width: 36px; padding: 0 12px; border-radius: 999px;
	font-size: 12.5px; font-weight: 600; line-height: 1;
	background: rgba(255, 255, 255, .09); color: rgba(244, 239, 228, .88);
}
.f75 .f75-sync:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.f75 .f75-sync svg { flex: none; opacity: .8; }
.f75 .f75-sync.is-refreshing svg { animation: f75-spin .8s linear infinite; }
.f75 .f75-sync.is-viewer::before { display: none; }
.f75 .f75-sync.is-viewer span:empty { display: none; }
.f75 .f75-sync.is-viewer:not(.is-refreshing):not(.is-offline) { padding: 0; width: 36px; }
.f75 .f75-signin {
	display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px;
	border: 1.5px solid rgba(224, 187, 98, .6); color: var(--f75-gold-2);
	font-size: 13px; font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer;
}
.f75 .f75-signin:hover { background: var(--f75-gold-2); border-color: var(--f75-gold-2); color: var(--f75-ink); }
.f75 .f75-signin:focus-visible, .f75 .f75-sync:focus-visible { outline: 3px solid var(--f75-gold-2); outline-offset: 2px; }
.f75 .f75-sync::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--f75-teal-2); }
.f75 .f75-sync.is-saving::before, .f75 .f75-sync.is-refreshing::before { background: var(--f75-gold-2); animation: f75-pulse 1s ease-in-out infinite; }
.f75 .f75-sync.is-error, .f75 .f75-sync.is-offline { background: rgba(178, 65, 47, .9); color: #fff; }
.f75 .f75-sync.is-error::before, .f75 .f75-sync.is-offline::before { background: #fff; }
@keyframes f75-pulse { 50% { opacity: .35; } }

.f75 .f75-title {
	margin-top: 6px;
	font-family: var(--f75-serif); font-weight: 600; font-size: 36px; line-height: 1.05;
	letter-spacing: -.01em; color: #fffaf0;
	font-variation-settings: "opsz" 144, "SOFT" 50;
}
.f75 .f75-sparkle { font-size: .7em; vertical-align: .18em; }
.f75 .f75-hero__sub { margin-top: 6px; font-size: 14.5px; color: rgba(244, 239, 228, .78); }

.f75 .f75-progress { margin-top: 12px; }
.f75 .f75-progress__row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.f75 .f75-progress__big { font-family: var(--f75-serif); font-size: 22px; color: rgba(244, 239, 228, .75); }
.f75 .f75-progress__big strong { font-size: 30px; font-weight: 600; color: #fffaf0; }
.f75 .f75-progress__label { font-size: 13.5px; color: rgba(244, 239, 228, .72); }
.f75 .f75-bar {
	position: relative; height: 10px; margin-top: 10px; border-radius: 999px;
	background: rgba(255, 255, 255, .12); overflow: hidden;
}
.f75 .f75-bar__fill {
	display: block; height: 100%; border-radius: inherit;
	background: linear-gradient(90deg, var(--f75-teal) 0%, var(--f75-teal-2) 75%, var(--f75-gold-2) 100%);
	transition: width .5s cubic-bezier(.2, .8, .2, 1);
}
.f75 .f75-langs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; }
.f75 .f75-lang__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 6px; font-size: 12px; color: rgba(244, 239, 228, .78); }
.f75 .f75-lang__row span:first-child { font-weight: 600; color: #fffaf0; }
.f75 .f75-lang__bar { height: 5px; margin-top: 6px; border-radius: 999px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.f75 .f75-lang__bar span { display: block; height: 100%; border-radius: inherit; transition: width .5s ease; }
.f75 .f75-lang--pt .f75-lang__bar span { background: var(--f75-teal-2); }
.f75 .f75-lang--fr .f75-lang__bar span { background: var(--f75-gold-2); }

/* ---------- Cards ---------- */
.f75 .f75-card {
	padding: 18px 14px;
	border: 1px solid var(--f75-line);
	border-radius: var(--f75-radius);
	background: var(--f75-card);
	box-shadow: var(--f75-shadow);
}
.f75 .f75-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.f75 .f75-h3 { font-family: var(--f75-serif); font-size: 22px; font-weight: 600; line-height: 1.2; color: var(--f75-ink); }
.f75 .f75-h3 .f75-muted { display: block; font-family: var(--f75-sans); font-size: 13.5px; font-weight: 500; }

/* ---------- Selected day ---------- */
.f75 .f75-day { grid-area: day; }
.f75 .f75-day__head { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px; }
.f75 .f75-nav {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	border: 1.5px solid var(--f75-line); background: #fff; color: var(--f75-ink);
}
.f75 .f75-nav:hover:not(:disabled) { border-color: var(--f75-ink-3); background: var(--f75-paper); }
.f75 .f75-nav:disabled { opacity: .35; cursor: default; }
.f75 .f75-day__title { text-align: center; }
.f75 .f75-day__num { white-space: nowrap; font-family: var(--f75-serif); font-size: 26px; font-weight: 600; line-height: 1.15; color: var(--f75-ink); }
.f75 .f75-day__num .f75-muted { font-size: 18px; font-family: var(--f75-serif); }
.f75 .f75-day__date { margin-top: 4px; text-align: center; font-size: 14.5px; color: var(--f75-muted); }
.f75 .f75-pill {
	display: inline-block; padding: 2px 9px; border-radius: 999px; vertical-align: 4px;
	font-family: var(--f75-sans); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
	background: var(--f75-gold-soft); color: #7a5a14; white-space: nowrap;
}

.f75 .f75-day__score {
	display: flex; align-items: center; gap: 14px;
	margin: 14px 0 12px; padding: 10px 12px; border-radius: 16px;
	background: var(--f75-paper);
}
.f75 .f75-ring {
	--p: 0;
	flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
	background: conic-gradient(var(--f75-teal) calc(var(--p) * 1%), #e6dfd0 0);
}
.f75 .f75-ring span {
	display: flex; align-items: baseline; justify-content: center; padding-top: 12px; width: 44px; height: 44px; border-radius: 50%;
	background: var(--f75-paper); font-family: var(--f75-serif); font-size: 18px; font-weight: 600; color: var(--f75-ink); line-height: 1;
}
.f75 .f75-ring small { font-size: 11px; color: var(--f75-muted); font-family: var(--f75-sans); }
.f75 .f75-day__msg { font-size: 15px; color: var(--f75-text); line-height: 1.4; }
.f75 .f75-day.is-complete .f75-day__score { background: linear-gradient(120deg, var(--f75-teal-soft), var(--f75-gold-soft)); }
.f75 .f75-day.is-complete .f75-ring span { background: #eef6f1; }

.f75 .f75-tasks { display: grid; gap: 10px; }
.f75 .f75-task {
	display: grid; grid-template-columns: 32px 1fr; align-items: start; gap: 14px;
	width: 100%; min-height: 64px; padding: 14px 14px 14px 14px;
	border: 1.5px solid var(--f75-line); border-radius: 16px; background: #fff;
}
.f75 .f75-task:hover { border-color: #d6ccb6; }
.f75 .f75-task:active { transform: scale(.99); }
.f75 .f75-check {
	display: grid; place-items: center; width: 32px; height: 32px; margin-top: 1px;
	border: 2px solid #cfc5ae; border-radius: 10px; background: #fff; color: transparent;
	transition: all .18s ease;
}
.f75 .f75-task--pt .f75-check { border-color: rgba(23, 128, 121, .45); }
.f75 .f75-task--fr .f75-check { border-color: rgba(184, 138, 44, .55); }
.f75 .f75-task--both .f75-check { border-color: rgba(26, 44, 90, .4); }
.f75 .f75-task.is-done .f75-check { color: #fff; transform: scale(1.02); }
.f75 .f75-task--pt.is-done { background: var(--f75-teal-soft); border-color: rgba(23, 128, 121, .35); }
.f75 .f75-task--pt.is-done .f75-check { background: var(--f75-teal); border-color: var(--f75-teal); }
.f75 .f75-task--fr.is-done { background: var(--f75-gold-soft); border-color: rgba(184, 138, 44, .4); }
.f75 .f75-task--fr.is-done .f75-check { background: var(--f75-gold); border-color: var(--f75-gold); }
.f75 .f75-task--both.is-done { background: #eaeef7; border-color: rgba(26, 44, 90, .28); }
.f75 .f75-task--both.is-done .f75-check { background: var(--f75-ink-2); border-color: var(--f75-ink-2); }
.f75 .f75-task__body { display: grid; gap: 3px; min-width: 0; }
.f75 .f75-task__title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 16.5px; font-weight: 600; line-height: 1.3; color: var(--f75-ink); }
.f75 .f75-task__emoji { font-size: 18px; line-height: 1; }
.f75 .f75-chip {
	white-space: nowrap;
	display: inline-block; padding: 2px 8px; border-radius: 999px;
	font-size: 12px; font-weight: 600; line-height: 1.5; color: var(--f75-muted);
	background: var(--f75-paper);
}
.f75 .f75-task.is-done .f75-chip { background: rgba(255, 255, 255, .7); }
.f75 .f75-task__note { font-size: 14px; line-height: 1.45; color: var(--f75-muted); }
.f75 .f75-task__badge { margin-top: 2px; }
.f75 .f75-app {
	white-space: nowrap;
	display: inline-block; padding: 2px 9px; border-radius: 8px;
	font-size: 12.5px; font-weight: 700; color: #7a5a14; background: var(--f75-gold-soft); border: 1px solid rgba(184, 138, 44, .3);
}
.f75 .f75-app--pt { color: #0d5c57; background: var(--f75-teal-soft); border-color: rgba(23, 128, 121, .25); }
.f75 .f75-task.is-done .f75-app { background: rgba(255, 255, 255, .75); }

.f75 .f75-pop { animation: f75-pop .6s ease; }
@keyframes f75-pop {
	0% { box-shadow: var(--f75-shadow); }
	35% { box-shadow: 0 0 0 6px rgba(224, 187, 98, .35), var(--f75-shadow); }
	100% { box-shadow: var(--f75-shadow); }
}

/* ---------- Journal ---------- */
.f75 .f75-journal { grid-area: journal; }
.f75 .f75-daytag { flex: none; font-size: 12.5px; font-weight: 600; color: var(--f75-muted); padding: 3px 10px; border-radius: 999px; background: var(--f75-paper); }
.f75 .f75-prompt {
	display: grid; gap: 4px; margin-bottom: 12px; padding: 14px 16px;
	border-left: 3px solid var(--f75-teal); border-radius: 4px 14px 14px 4px;
	background: linear-gradient(90deg, var(--f75-teal-soft), rgba(229, 244, 241, .3));
}
.f75 .f75-prompt__label { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #0d5c57; }
.f75 .f75-prompt__text { font-family: var(--f75-serif); font-style: italic; font-size: 21px; line-height: 1.3; color: var(--f75-ink); }
.f75 .f75-textarea {
	display: block; width: 100%; min-height: 150px; padding: 14px 16px;
	border: 1.5px solid var(--f75-line); border-radius: 16px; background: #fff;
	font-family: var(--f75-serif); font-size: 17.5px; line-height: 1.6; color: var(--f75-text);
	resize: vertical; cursor: text;
}
.f75 .f75-textarea::placeholder { color: #a8a293; font-style: italic; }
.f75 .f75-textarea:focus { outline: none; border-color: var(--f75-teal); box-shadow: 0 0 0 4px rgba(47, 179, 166, .16); }
.f75 .f75-jmeta { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-top: 10px; min-height: 22px; font-size: 13.5px; color: var(--f75-muted); }
.f75 .f75-jstatus { display: block; }
.f75 .f75-jstatus.is-error { color: var(--f75-danger); font-weight: 500; }
.f75 .f75-jcount { flex: none; font-style: italic; }
.f75 .f75-err { color: var(--f75-danger); }
.f75 .f75-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #cfc5ae; vertical-align: 1px; }
.f75 .f75-dot--ok { background: var(--f75-teal-2); }
.f75 .f75-dot--busy { background: var(--f75-gold-2); animation: f75-pulse 1s ease-in-out infinite; }
.f75 .f75-dot--err { background: var(--f75-danger); }
.f75 .f75-jdone { margin-top: 14px; }
.f75 .f75-notice {
	display: grid; gap: 10px; margin-bottom: 12px; padding: 12px 14px; border-radius: 14px;
	background: var(--f75-gold-soft); border: 1px solid rgba(184, 138, 44, .35); font-size: 14px;
}
.f75 .f75-notice__btns { display: flex; align-items: center; gap: 16px; }

/* ---------- Immersion ---------- */
.f75 .f75-immersion { grid-area: immersion; padding: 0; }
.f75 .f75-immersion summary {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	min-height: 60px; padding: 16px; cursor: pointer; list-style: none;
}
.f75 .f75-immersion summary::-webkit-details-marker { display: none; }
.f75 .f75-immersion summary::after {
	content: ""; flex: none; width: 10px; height: 10px; margin: 0 4px 4px 0;
	border-right: 2px solid var(--f75-muted); border-bottom: 2px solid var(--f75-muted);
	transform: rotate(45deg); transition: transform .2s ease;
}
.f75 .f75-immersion[open] summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
.f75 .f75-immersion summary .f75-h3 { font-size: 19px; margin-right: auto; }
.f75 .f75-optional { flex: none; white-space: nowrap; font-size: 12px; font-weight: 600; color: #7a5a14; background: var(--f75-gold-soft); padding: 2px 9px; border-radius: 999px; }
.f75 .f75-ideas { display: grid; gap: 8px; padding: 0 16px; }
.f75 .f75-ideas li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--f75-paper); font-size: 15px; line-height: 1.4; }
.f75 .f75-ideas__e { flex: none; font-size: 18px; line-height: 1.2; }
.f75 .f75-fine { padding: 12px 16px 16px; font-size: 13px; color: var(--f75-muted); }

/* ---------- Calendar ---------- */
.f75 .f75-cal { grid-area: cal; }
.f75 [data-f75="calendar"] { display: grid; gap: 18px; }
.f75 .f75-month__name { margin-bottom: 8px; font-family: var(--f75-serif); font-size: 17px; font-weight: 600; color: var(--f75-ink); }
.f75 .f75-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.f75 .f75-dow { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: #a39c8b; padding-bottom: 2px; }
.f75 .f75-cell {
	--p: 0%;
	position: relative; display: grid; place-items: center; align-content: center;
	aspect-ratio: 1 / 1; min-height: 42px; width: 100%;
	border: 1.5px solid var(--f75-line); border-radius: 12px; background: #fff;
	color: var(--f75-ink); text-align: center; overflow: hidden;
}
.f75 .f75-cell--blank { border: 0; background: none; box-shadow: none; }
.f75 .f75-cell__date { position: relative; z-index: 1; font-size: 15.5px; font-weight: 600; line-height: 1; }
.f75 .f75-cell__day { position: absolute; z-index: 1; top: 4px; left: 6px; font-size: 9.5px; font-weight: 700; line-height: 1; color: #a39c8b; }
.f75 .f75-cell:hover { border-color: var(--f75-ink-3); }
.f75 .f75-cell.is-partial {
	border-color: rgba(184, 138, 44, .55);
	background: linear-gradient(to top, rgba(224, 187, 98, .45) var(--p), var(--f75-gold-soft) var(--p));
}
.f75 .f75-cell.is-partial .f75-cell__day { color: #8a6a22; }
.f75 .f75-cell.is-complete {
	border-color: transparent;
	background: linear-gradient(145deg, var(--f75-teal-2) 0%, var(--f75-teal) 55%, #0f5f5a 100%);
	color: #fff;
}
.f75 .f75-cell.is-complete .f75-cell__day { color: rgba(255, 255, 255, .75); }
.f75 .f75-cell.is-complete::after {
	content: "✓"; position: absolute; right: 5px; bottom: 2px; font-size: 10px; font-weight: 700; color: rgba(255, 255, 255, .85);
}
.f75 .f75-cell.is-today::before {
	content: ""; position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; margin-left: -2.5px;
	border-radius: 50%; background: var(--f75-gold); z-index: 1;
}
.f75 .f75-cell.is-complete.is-today::before { background: var(--f75-gold-2); }
.f75 .f75-cell.is-selected { box-shadow: 0 0 0 2.5px var(--f75-card), 0 0 0 4.5px var(--f75-ink); }

.f75 .f75-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-size: 13px; color: var(--f75-muted); }
.f75 .f75-legend li { display: inline-flex; align-items: center; gap: 7px; }
.f75 .f75-sw { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--f75-line); background: #fff; }
.f75 .f75-sw--complete { border-color: transparent; background: linear-gradient(145deg, var(--f75-teal-2), var(--f75-teal)); }
.f75 .f75-sw--partial { border-color: rgba(184, 138, 44, .55); background: linear-gradient(to top, rgba(224, 187, 98, .55) 50%, var(--f75-gold-soft) 50%); }

/* ---------- Footer ---------- */
.f75 .f75-foot { grid-area: foot; display: grid; gap: 14px; padding: 4px 4px 0; }
.f75 .f75-foot__who { font-size: 13.5px; color: var(--f75-muted); }
.f75 .f75-foot__who strong { color: var(--f75-ink); font-weight: 600; }
.f75 .f75-export { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.f75 .f75-export__label { width: 100%; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--f75-ink); }

/* ---------- Toast ---------- */
.f75 .f75-toast {
	position: fixed; z-index: 99999; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom, 0px));
	display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 0 auto;
	padding: 12px 12px 12px 16px; border-radius: 16px;
	background: #3a1d19; color: #fff; font-size: 14.5px; line-height: 1.4;
	box-shadow: 0 12px 32px -8px rgba(0, 0, 0, .45);
}
.f75 .f75-toast[hidden] { display: none; }
.f75 .f75-toast > span { flex: 1; }
.f75 .f75-toast__x { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-size: 22px; color: #fff; text-align: center; }
.f75 .f75-toast__x:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Layout ---------- */
.f75 .f75-layout { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "hero" "day" "journal" "immersion" "cal" "foot"; }

@container (min-width: 520px) {
	.f75 .f75-hero { padding: 28px 28px 24px; }
	.f75 .f75-card { padding: 24px 22px; }
	.f75 .f75-immersion { padding: 0; }
	.f75 .f75-title { font-size: 48px; }
	.f75 .f75-grid { gap: 8px; }
	.f75 .f75-cell__date { font-size: 17px; }
	.f75 .f75-export__label { width: auto; margin-right: 6px; }
}

@container (min-width: 880px) {
	.f75 .f75-layout {
		grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
		grid-template-areas:
			"hero hero"
			"day journal"
			"day immersion"
			"cal cal"
			"foot foot";
		align-items: start;
		gap: 20px;
	}
	.f75 .f75-day { grid-row: 2 / span 2; }
	.f75 .f75-hero { display: grid; grid-template-columns: 1fr minmax(0, 420px); column-gap: 40px; align-items: end; }
	.f75 .f75-hero__top, .f75 .f75-title, .f75 .f75-hero__sub { grid-column: 1; }
	.f75 .f75-progress { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
	.f75 [data-f75="calendar"] { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
	.f75 .f75-cell { min-height: 0; border-radius: 10px; }
	.f75 .f75-cell__date { font-size: 14px; }
	.f75 .f75-cell__day { font-size: 8.5px; top: 3px; left: 4px; }
	.f75 .f75-grid { gap: 5px; }
}

@container (min-width: 560px) and (max-width: 879px) {
	.f75 [data-f75="calendar"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
	.f75 .f75-cell__date { font-size: 15px; }
	.f75 .f75-cell { min-height: 0; }
}
@container (max-width: 440px) {
	.f75 .f75-langs { grid-template-columns: 1fr; gap: 10px; }
}
/* Very small phones */
@container (max-width: 300px) {
	.f75 .f75-title { font-size: 32px; }
	.f75 .f75-grid { gap: 4px; }
	.f75 .f75-cell__day { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.f75 *, .f75 *::before, .f75 *::after { animation: none !important; transition: none !important; }
}
.f75 .f75-legend .f75-legend__note { width: 100%; font-size: 12.5px; color: #8f8878; }

/* ---------- Read-only view (visitors) ---------- */
.f75 .f75-task.is-readonly { cursor: default; }
.f75 .f75-task.is-readonly:hover { border-color: var(--f75-line); }
.f75 .f75-task.is-readonly.is-done:hover { border-color: inherit; }
.f75 .f75-task.is-readonly:active { transform: none; }
.f75 .f75-task--pt.is-readonly.is-done:hover { border-color: rgba(23, 128, 121, .35); }
.f75 .f75-task--fr.is-readonly.is-done:hover { border-color: rgba(184, 138, 44, .4); }
.f75 .f75-task--both.is-readonly.is-done:hover { border-color: rgba(26, 44, 90, .28); }
.f75 .f75-jread {
	padding: 14px 16px; border: 1.5px solid var(--f75-line); border-radius: 16px; background: #fff;
	font-family: var(--f75-serif); font-size: 17.5px; line-height: 1.6; color: var(--f75-text);
	white-space: pre-wrap;
}
.f75 .f75-jread.is-private, .f75 .f75-jread.is-empty {
	font-family: var(--f75-sans); font-size: 15px; color: var(--f75-muted); background: var(--f75-paper); border-style: dashed;
}
