/* Le calendrier de la famille: the home page, the free result, the public pages and print.
   A family stationery: cream paper (#fbf6ec), deep sage ink for the holidays (#4a6b52),
   terracotta for the public holidays (#b4532a), mustard for the full moons (#c99a2e).
   The same colours and fonts as the printed PDF. Every rule is scoped to .cf, except the
   logo and the page background, which belong to every page of the site. */

@font-face {
  font-family: "Young Serif Calendrier";
  src: url("fonts/youngserif-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Manrope Calendrier";
  src: url("fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Kalam Calendrier";
  src: url("fonts/kalam-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

.cf {
  --cf-paper: #fbf6ec;
  --cf-card: #fffdf8;
  --cf-ink: #1f2d27;
  --cf-soft: #4a5650;
  --cf-muted: #5b665f;
  --cf-line: #e3dccd;
  --cf-line-strong: #cfc6b3;
  --cf-sage: #4a6b52;
  --cf-sage-deep: #33503d;
  --cf-sage-light: #dde8df;
  --cf-terra: #b4532a;
  --cf-terra-light: #f6dccd;
  --cf-mustard: #c99a2e;
  --cf-mustard-light: #f5e6bd;
  --cf-mustard-deep: #7a5910;
  --cf-zone-a: #4a6b52;
  --cf-zone-b: #2f6f7e;
  --cf-zone-c: #a87a1a;
  --cf-display: "Young Serif Calendrier", Georgia, "Times New Roman", serif;
  --cf-body: "Manrope Calendrier", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cf-hand: "Kalam Calendrier", "Segoe Print", cursive;
  font-family: var(--cf-body);
  color: var(--cf-ink);
  font-size: 16px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
}
.cf h1, .cf h2, .cf h3, .cf h4 { font-family: var(--cf-display); font-weight: 400; margin: 0; line-height: 1.08; text-wrap: balance; letter-spacing: -0.01em; }
.cf p { margin: 0; }
.cf-wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.cf-hand { font-family: var(--cf-hand); color: var(--cf-terra); font-size: 1.25rem; line-height: 1.2; }
.cf-note { font-size: 0.86rem; color: var(--cf-muted); }
.cf-note a { color: var(--cf-sage-deep); }
.cf-card { background: var(--cf-card); border: 1px solid var(--cf-line); border-radius: 16px; }
.cf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cf a:focus-visible, .cf button:focus-visible, .cf input:focus-visible + span, .cf select:focus-visible, .cf summary:focus-visible { outline: 3px solid var(--cf-mustard); outline-offset: 2px; }

.cf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 1.04rem; line-height: 1.2;
  padding: 14px 22px; min-height: 52px; border-radius: 12px; border: 0; cursor: pointer; text-align: center;
  background: linear-gradient(135deg, var(--cf-sage), var(--cf-sage-deep)); color: #ffffff; text-decoration: none;
  box-sizing: border-box; box-shadow: 0 10px 22px rgba(31, 45, 39, 0.18);
}
.cf-btn:hover { background: var(--cf-sage-deep); color: #ffffff; }
.cf-btn[disabled] { opacity: 0.6; cursor: wait; }
.cf-btn.ghost { background: transparent; color: var(--cf-ink); box-shadow: inset 0 0 0 2px var(--cf-ink); }
.cf-btn.ghost:hover { background: var(--cf-sage-light); }
.cf-tag { width: fit-content; font-size: 0.82rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--cf-terra-light); color: #7d3517; }
.cf-tag.ink { background: var(--cf-sage-light); color: var(--cf-sage-deep); }
.cf-price { font-family: var(--cf-display); font-size: 2rem; color: var(--cf-sage-deep); white-space: nowrap; }
.cf-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cf-list li { display: flex; gap: 10px; }
.cf-list li::before { content: ""; flex: 0 0 10px; height: 10px; margin-top: 0.45em; border-radius: 3px; background: var(--cf-sage); }
.cf-sticker {
  position: absolute; z-index: 2; top: 12px; left: 12px; background: var(--cf-card); color: var(--cf-ink);
  font-weight: 600; font-size: 0.8rem; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--cf-line-strong);
  box-shadow: 0 6px 14px rgba(31, 45, 39, 0.12);
}

/* Every page of the site: the paper, the logo instead of the emoji. */
body:has(.cf-home), body:has(.cf-res), body:has(.cf-guide) { background: #fbf6ec; }
.brand:has(> .brand-emoji) { font-family: "Young Serif Calendrier", Georgia, serif; font-weight: 400; font-size: 1.25rem; color: #1f2d27; }
.brand-emoji {
  display: inline-block; font-size: 0; width: 32px; height: 32px; flex: 0 0 auto;
  vertical-align: middle; background: url("logo.svg") center / contain no-repeat;
}
body:has(.cf-home) .topbar { max-width: 1180px; padding: 14px max(16px, env(safe-area-inset-left, 0px)); }
body:has(.cf-home) .topnav a { color: #4a5650; }
body:has(.cf-home) .footer { max-width: 1180px; color: #4a5650; }

/* Hero: the free form and a real month. */
.cf-hero { padding-block: 22px 56px; border-top: 1px solid var(--cf-line); background:
  radial-gradient(circle at 92% 8%, rgba(201, 154, 46, 0.12), transparent 32%),
  radial-gradient(circle at 4% 96%, rgba(74, 107, 82, 0.1), transparent 36%); }
.cf-hero-grid { display: grid; gap: 34px; align-items: center; }
@media (min-width: 960px) { .cf-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; } .cf-hero { padding-block: 48px 72px; } }
.cf-hero-text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cf-hero h1 { font-size: clamp(1.75rem, 4.6vw, 3.4rem); }
.cf-hero h1 span { color: var(--cf-sage); }

.cf-form { background: var(--cf-card); border: 1px solid var(--cf-line); border-radius: 18px; padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 22px 46px rgba(31, 45, 39, 0.09); }
@media (min-width: 600px) { .cf-form { padding: 22px; gap: 14px; } }
.cf-form-head { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap; }
.cf-form h2 { font-size: 1.35rem; }
.cf fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.cf legend { font-weight: 700; font-size: 0.95rem; margin-bottom: 7px; padding: 0; }
.cf-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-pill { position: relative; margin: 0; cursor: pointer; }
.cf-pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cf-pill span {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 86px; box-sizing: border-box;
  padding: 8px 16px; border-radius: 12px; border: 1.5px solid var(--cf-line-strong); background: #ffffff;
  font-weight: 700; color: var(--cf-ink); font-variant-numeric: tabular-nums;
}
.cf-pill input:checked + span { background: var(--cf-sage-deep); border-color: var(--cf-sage-deep); color: #ffffff; }
.cf-pill input:focus-visible + span { outline: 3px solid var(--cf-mustard); outline-offset: 2px; }
.cf-zone-help { margin-top: 8px; font-size: 0.92rem; }
.cf-zone-help summary { cursor: pointer; color: var(--cf-sage-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; width: fit-content; }
.cf-zone-help label { display: block; margin: 10px 0 6px; font-weight: 600; }
.cf select, .cf-offer-form input[type="text"] {
  width: 100%; box-sizing: border-box; min-height: 46px; font: inherit; font-size: 1rem; padding: 9px 12px;
  border: 1.5px solid var(--cf-line-strong); border-radius: 10px; background: #ffffff; color: var(--cf-ink);
}
.cf-zone-help .cf-note { margin-top: 6px; }

.cf-show { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cf-sheet { position: relative; background: #ffffff; border: 1px solid var(--cf-line); border-radius: 6px; padding: 26px 18px 16px; box-shadow: 0 30px 50px rgba(31, 45, 39, 0.14), 0 2px 0 var(--cf-line); transform: rotate(-1deg); }
.cf-tape { position: absolute; top: -12px; left: 50%; width: 120px; height: 26px; margin-left: -60px; background: rgba(201, 154, 46, 0.35); transform: rotate(2deg); }
.cf-sheet-kicker { font-family: var(--cf-hand); color: var(--cf-terra); font-size: 1.1rem; }

/* Month grids. */
.cf-m { margin: 0; min-width: 0; }
.cf-m-name { font-family: var(--cf-display); font-size: 1rem; text-transform: capitalize; margin-bottom: 4px; }
.cf-m-grid { width: 100%; border-collapse: separate; border-spacing: 2px; table-layout: fixed; font-size: 0.72rem; }
.cf-m-grid th, .cf-m-grid td { border: 0; }
.cf-m-grid th { font-weight: 700; color: var(--cf-muted); padding: 0 0 2px; font-size: 0.66rem; text-align: center; background: transparent; }
.cf-m-grid abbr { text-decoration: none; }
.cf-d { position: relative; text-align: center; height: 1.85em; padding: 0; border-radius: 4px; background: #ffffff; color: var(--cf-ink); font-weight: 600; }
.cf-d.is-we { color: var(--cf-muted); background: #f6f1e6; }
.cf-d.is-off { background: var(--cf-sage-light); color: var(--cf-sage-deep); }
.cf-d.is-hol { background: var(--cf-terra); color: #ffffff; }
.cf-d.is-start { box-shadow: inset 3px 0 0 var(--cf-sage); }
.cf-empty { background: transparent; }
.cf-moon { position: absolute; top: 2px; right: 2px; width: 6px; height: 6px; border-radius: 50%; }
.cf-moon.full { background: var(--cf-mustard); box-shadow: 0 0 0 1px #ffffff; }
.cf-moon.new { border: 1px solid var(--cf-ink); width: 5px; height: 5px; }
.cf-bars { position: absolute; left: 2px; right: 2px; bottom: 1px; display: flex; gap: 1px; height: 4px; }
.cf-m:not(.cf-m-big) .cf-moon.new { display: none; }
.cf-bars b { flex: 1; border-radius: 2px; }
.cf-bars b.on.ba { background: var(--cf-zone-a); }
.cf-bars b.on.bb { background: var(--cf-zone-b); }
.cf-bars b.on.bc { background: var(--cf-zone-c); }
.cf-m-big .cf-m-name { font-size: 1.6rem; margin-bottom: 8px; }
.cf-m-big .cf-m-grid { font-size: 0.95rem; border-spacing: 3px; }
.cf-m-big .cf-m-grid th { font-size: 0.8rem; }
.cf-m-big .cf-d { height: 3.1em; vertical-align: top; text-align: left; padding: 4px 6px; }
.cf-m-big .cf-moon { width: 10px; height: 10px; top: 5px; right: 5px; }
.cf-m-big .cf-moon.new { width: 8px; height: 8px; }
.cf-m-big .cf-bars { height: 5px; bottom: 3px; left: 4px; right: 4px; }
.cf-hol, .cf-mt { display: block; font-style: normal; font-size: 0.62rem; line-height: 1.1; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cf-mt { text-overflow: clip; letter-spacing: -0.02em; }
@media (max-width: 599px) { .cf-m-big .cf-d { padding: 3px 3px; } .cf-mt { font-size: 0.56rem; } }
.cf-mt { color: var(--cf-mustard-deep); }
.cf-d.is-hol .cf-mt { color: #ffffff; }
@media (min-width: 600px) { .cf-hol, .cf-mt { font-size: 0.7rem; } }
.cf-legend { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.8rem; color: var(--cf-soft); }
.cf-legend li { display: inline-flex; align-items: center; gap: 6px; }
.cf-legend .sw { display: inline-block; width: 14px; height: 14px; border-radius: 3px; }
.cf-legend .sw.off { background: var(--cf-sage-light); border: 1px solid #b9cbbd; }
.cf-legend .sw.hol { background: var(--cf-terra); }
.cf-legend .sw.bars { display: inline-flex; gap: 1px; width: 24px; height: 6px; }
.cf-legend .sw.bars b { flex: 1; border-radius: 2px; }
.cf-legend .ba { background: var(--cf-zone-a); }
.cf-legend .bb { background: var(--cf-zone-b); }
.cf-legend .bc { background: var(--cf-zone-c); }
.cf-legend .cf-moon { position: static; display: inline-block; width: 10px; height: 10px; }
.cf-year { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; margin-top: 14px; }
@media (min-width: 700px) { .cf-year { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 16px; } }
@media (min-width: 1000px) { .cf-year { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* The dark band of true facts. */
.cf-band { background: var(--cf-sage-deep); color: #f4efe3; }
.cf-band ul { list-style: none; margin: 0 auto; padding-block: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; font-size: 0.92rem; }
@media (min-width: 900px) { .cf-band ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cf-band li { display: flex; gap: 10px; align-items: flex-start; }
.cf-band svg { flex: 0 0 auto; margin-top: 2px; }
.cf-band strong { color: #ffffff; }

/* Products. */
.cf-intro { padding-block: 64px 10px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cf-intro h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cf-intro p:not(.cf-hand) { max-width: 40em; color: var(--cf-soft); }
.cf-product { padding-block: 40px; }
.cf-product.alt { background: #f4eee1; }
.cf-product-grid { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) {
  .cf-product-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; }
  .cf-product.alt .cf-shot { order: 2; }
}
.cf-shot { display: flex; justify-content: center; min-width: 0; }
.cf-pair { position: relative; padding-bottom: 20px; }
.cf-page { position: relative; display: block; width: min(320px, 74vw); border-radius: 6px; background: #ffffff; box-shadow: 0 24px 46px rgba(31, 45, 39, 0.18); transform: rotate(-1.5deg); }
.cf-page img { display: block; width: 100%; height: auto; border-radius: 6px; }
.cf-page.back { position: absolute; right: 0; bottom: 0; width: min(200px, 44vw); transform: rotate(4deg); z-index: 0; }
.cf-pair .cf-page:first-child { z-index: 1; margin-right: 20%; }
.cf-page.single { transform: rotate(1deg); }
.cf-page.single .cf-sticker { top: auto; bottom: 12px; }
.cf-zoom-label { position: absolute; bottom: 12px; right: 12px; background: rgba(31, 45, 39, 0.82); color: #ffffff; font-size: 0.8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.cf-copy { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cf-copy-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cf-copy h3 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.cf-copy .cf-btn { width: fit-content; }
@media (max-width: 599px) { .cf-copy .cf-btn { width: 100%; } }

.cf-more { padding-block: 40px 56px; }
.cf-more-grid { display: grid; gap: 18px; }
@media (min-width: 860px) { .cf-more-grid { grid-template-columns: 1.4fr 1fr; } }
.cf-tile { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.cf-tile.soft { background: var(--cf-sage-light); border-color: #c8d8cc; justify-content: center; }
.cf-tile-title { font-family: var(--cf-display); font-weight: 400; font-size: 1.35rem; }
.cf-tile-head { display: flex; justify-content: space-between; gap: 12px; font-size: 1.08rem; }
.cf-tile-pics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cf-tile-pics img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 8px 18px rgba(31, 45, 39, 0.14); }
.cf-links a { font-weight: 700; color: var(--cf-sage-deep); }

.cf-how { padding-block: 56px; background: #f4eee1; }
.cf-how h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); text-align: center; margin-bottom: 26px; }
.cf-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 860px) { .cf-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cf-steps li { background: var(--cf-card); border: 1px solid var(--cf-line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.cf-steps h3 { font-size: 1.3rem; }
.cf-step-n { width: 34px; height: 34px; border-radius: 50%; background: var(--cf-sage-deep); color: #ffffff; display: grid; place-items: center; font-weight: 800; }
.cf-postit { width: fit-content; font-family: var(--cf-hand); font-size: 1.1rem; background: var(--cf-mustard-light); padding: 4px 12px; transform: rotate(-1.5deg); }
.cf-verse { font-family: var(--cf-hand); font-size: 1.12rem; color: var(--cf-sage-deep); }

.cf-trust { padding-block: 52px; }
.cf-trust-grid { display: grid; gap: 26px; }
@media (min-width: 860px) { .cf-trust-grid { grid-template-columns: 1fr 1fr; gap: 50px; } }
.cf-trust h2 { font-size: 1.5rem; margin-bottom: 8px; }
.cf-trust p { color: var(--cf-soft); }
.cf-guides ul { list-style: none; margin: 0; padding: 0 0 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.cf-guides a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--cf-line-strong); background: var(--cf-card); color: var(--cf-ink); font-weight: 600; text-decoration: none; font-size: 0.92rem; }
.cf-guides a:hover { border-color: var(--cf-sage); }
.cf-faq { padding-block: 10px 60px; }
.cf-faq h2 { font-size: 1.8rem; margin-bottom: 14px; }
.cf-faq details { border-top: 1px solid var(--cf-line); padding: 14px 0; }
.cf-faq summary { cursor: pointer; font-weight: 700; }
.cf-faq details p { margin-top: 8px; color: var(--cf-soft); }

/* The free result. */
.cf-result-zone { padding-block: 26px 10px; }
.cf-res { display: grid; gap: 20px; }
@media (min-width: 1040px) { .cf-res { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; } }
.cf-res-main { padding: 16px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
@media (min-width: 600px) { .cf-res-main { padding: 24px; } }
.cf-res-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; }
.cf-res-ok { font-family: var(--cf-hand); color: var(--cf-terra); font-size: 1.15rem; }
.cf-res-head h2 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
.cf-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; font-size: 0.84rem; color: var(--cf-soft); max-width: 420px; }
.cf-chips li { background: #f6f1e6; border-radius: 10px; padding: 8px 10px; line-height: 1.3; }
.cf-chips b { display: block; font-size: 1.3rem; color: var(--cf-ink); font-weight: 800; }
.cf-pending { background: var(--cf-mustard-light); color: #4d3a0a; border-radius: 10px; padding: 10px 12px; font-size: 0.9rem; margin-top: 12px; }
.cf-print-foot, .cf-print-title { display: none; }
.cf-res-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.cf-res-block h3, .cf-res-block > summary { font-family: var(--cf-display); font-size: 1.35rem; margin-bottom: 8px; }
.cf-res-block > summary { cursor: pointer; }
.cf-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cf-lines li { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 10px; background: #f8f4ea; border-left: 4px solid var(--cf-line-strong); font-size: 0.93rem; }
.cf-lines li.k-pont, .cf-lines li.k-viaduc { border-left-color: var(--cf-terra); }
.cf-lines li.k-week-end { border-left-color: var(--cf-sage); }
.cf-lines.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cf-res-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cf-res-offer { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.cf-res-offer h2 { font-size: 1.45rem; }
.cf-res-pic { display: block; width: min(260px, 70%); margin: 0 auto; transform: rotate(-1deg); }
.cf-res-pic img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 16px 30px rgba(31, 45, 39, 0.18); }
.cf-compare { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.cf-compare th, .cf-compare td { padding: 7px 6px; border-bottom: 1px solid var(--cf-line); text-align: left; vertical-align: top; }
.cf-compare th { font-weight: 800; }
.cf-compare td.full { color: var(--cf-sage-deep); font-weight: 700; }
.cf-res-facts { display: flex; flex-direction: column; gap: 4px; font-size: 0.84rem; color: var(--cf-muted); }
.cf-res-small { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: var(--cf-card); border: 1px solid var(--cf-line); color: var(--cf-ink); text-decoration: none; }
.cf-res-small img { width: 54px; height: auto; border-radius: 3px; }
.cf-res-small .price { font-family: var(--cf-display); font-size: 1.3rem; color: var(--cf-sage-deep); font-weight: 400; }
#free-result .share-row { margin-top: 14px; }

/* The offer form (shared offer page). */
.cf-offer-form { display: flex; flex-direction: column; gap: 18px; }
.cf-offer-form .hint { font-weight: 400; color: #5b665f; font-size: 0.86rem; }
.cf-people details summary { cursor: pointer; font-weight: 700; color: #33503d; margin: 6px 0 10px; }
.cf-person { display: grid; grid-template-columns: 72px minmax(0, 1fr) 84px; gap: 8px 10px; padding: 10px 0; border-bottom: 1px dashed #e3dccd; }
.cf-person-name { grid-column: 1 / -1; }
.cf-person > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cf-person label { font-size: 0.86rem; margin: 0; }
@media (min-width: 640px) { .cf-person { grid-template-columns: minmax(0, 1.6fr) 74px minmax(0, 1.2fr) 90px; } .cf-person-name { grid-column: auto; } }
.cf-styles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cf-style { position: relative; cursor: pointer; }
.cf-style input { position: absolute; opacity: 0; inset: 0; }
.cf-style span { display: flex; align-items: flex-end; min-height: 74px; padding: 10px 12px; border-radius: 12px; border: 2px solid #cfc6b3; font-weight: 700; color: #1f2d27; background-size: cover; }
.cf-style.s-aquarelle span { background: linear-gradient(160deg, #dbe9f1 0%, #f5e6bd 55%, #dde8df 100%); }
.cf-style.s-papier span { background: linear-gradient(180deg, #f6dccd 0 45%, #e9b99c 45% 70%, #c98463 70%); }
.cf-style.s-gravure span { background: repeating-linear-gradient(0deg, #f3ead6 0 4px, #e3d5b8 4px 5px); }
.cf-style.s-trait span { background: #ffffff; box-shadow: inset 0 -18px 0 #dde8df; }
.cf-style input:checked + span { border-color: #33503d; box-shadow: 0 0 0 2px #33503d; }
.cf-style input:focus-visible + span { outline: 3px solid #c99a2e; outline-offset: 2px; }
.cf-hint { padding: 10px 14px; border-radius: 10px; background: #f5e6bd; color: #3d2e0c; font-size: 0.93rem; }
.cf-hint a { color: #1f2d27; font-weight: 700; }
.cf-teaser-one img { display: block; width: 100%; height: auto; }

/* Public pages: the year with a zone picked, and a month in large. */
.cf-guide { display: flex; flex-direction: column; gap: 18px; margin: 10px 0 24px; }
.cf-guide-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.cf-guide-tools .cf-pill span { min-width: 0; min-height: 40px; padding: 6px 12px; font-size: 0.9rem; }
.cf-zonepick:has(input[value="a"]:checked) .cf-d.za,
.cf-zonepick:has(input[value="b"]:checked) .cf-d.zb,
.cf-zonepick:has(input[value="c"]:checked) .cf-d.zc { background: var(--cf-sage-light); color: var(--cf-sage-deep); }
.cf-zonepick:has(input[value="a"]:checked) .cf-d.is-hol,
.cf-zonepick:has(input[value="b"]:checked) .cf-d.is-hol,
.cf-zonepick:has(input[value="c"]:checked) .cf-d.is-hol { background: var(--cf-terra); color: #ffffff; }
.cf-zonepick:has(input:not([value="all"]):checked) .cf-bars { display: none; }
.cf-guide .cf-m-big { max-width: 760px; }

@media (prefers-reduced-motion: reduce) {
  .cf *, .cf *::before, .cf *::after { transition: none !important; animation: none !important; }
  .cf-sheet, .cf-page, .cf-postit, .cf-res-pic { transform: none; }
}

/* Print: only the calendar, on one A4 page. */
@media print {
  @page { size: A4 portrait; margin: 9mm; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body { background: #ffffff !important; }
  .topbar, .footer, .consent, .share-row, .crumbs, .neighbors, .cf-guide-tools, .cf-res-actions, [data-print] { display: none !important; }
  body:has(.cf-printable) main { padding: 0 !important; margin: 0 !important; }
  .cf-home > :not(#free-result) { display: none !important; }
  #free-result { padding: 0 !important; }
  .cf-res { display: block !important; }
  .cf-res > :not(.cf-res-main), .cf-res-main > :not(.cf-printable) { display: none !important; }
  .cf-res-main { border: 0 !important; padding: 0 !important; box-shadow: none !important; }
  .guide article > :not(h1):not(.cf-guide), .cf-guide > :not(.cf-printable) { display: none !important; }
  .guide article { border: 0 !important; box-shadow: none !important; padding: 0 !important; }
  .cf-res-ok { display: none; }
  .cf-print-foot { display: block; font-size: 8pt; color: #5b665f; margin-top: 4mm; }
  .cf-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; font-size: 8pt; }
  .cf-chips b { font-size: 11pt; }
  .cf-res-head h2 { font-size: 20pt; }
  .cf-year { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 4mm 5mm; }
  .cf-m-grid { font-size: 8pt; }
  .cf-m-name { font-size: 11pt; }
  .cf-d { height: 5.2mm; }
  .cf-m { break-inside: avoid; }
  .cf-legend { font-size: 8pt; }
}
