:root {
  --navy: #071f35;
  --navy-2: #0d2c46;
  --teal: #1f5b6e;
  --gold: #d4a14a;
  --gold-2: #f0bd63;
  --cream: #faf6ef;
  --sand: #f2e6d5;
  --paper: #fffdf8;
  --ink: #10263a;
  --muted: #5e6b75;
  --line: rgba(13, 44, 70, 0.14);
  --shadow: 0 24px 70px rgba(7, 31, 53, 0.14);
  --radius: 28px;
  --radius-sm: 18px;
  --adoption-radius: 22px;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid rgba(212, 161, 74, 0.72);
  outline-offset: 3px;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  background: #fff;
  color: var(--navy);
  padding: 12px 18px;
  border-radius: 12px;
}
.skip-link:focus {
  top: 16px;
}
.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  font-weight: 800;
  color: #b87921;
}
.hidden,
[hidden] {
  display: none !important;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 31, 53, 0.96);
  border-bottom: 1px solid rgba(212, 161, 74, 0.35);
  backdrop-filter: blur(16px);
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
}
.site-brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}
.site-brand span {
  display: grid;
}
.site-brand strong {
  font-family: "Playfair Display", serif;
  font-size: 1.34rem;
  line-height: 1.05;
}
.site-brand small {
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #e7c992;
  font-weight: 700;
  margin-top: 5px;
}
.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.site-nav a {
  color: #eef4f7;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
}
.site-nav a:hover,
.site-nav a.is-active,
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.09);
  color: var(--gold-2);
}
.site-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #09243b;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(212, 161, 74, 0.25);
}
.mobile-nav {
  display: none;
}
.mobile-nav summary {
  list-style: none;
  cursor: pointer;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  display: grid;
  place-content: center;
  gap: 5px;
}
.mobile-nav summary::-webkit-details-marker {
  display: none;
}
.mobile-nav summary span {
  width: 20px;
  height: 2px;
  background: #fff;
  display: block;
}
.mobile-nav nav {
  position: absolute;
  right: 20px;
  top: 72px;
  width: min(280px, calc(100vw - 40px));
  padding: 16px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: grid;
}
.mobile-nav nav a {
  padding: 11px 12px;
  border-radius: 10px;
  font-weight: 700;
}
.mobile-nav nav a:hover {
  background: var(--sand);
}
.intro-hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  min-height: 690px;
  overflow: hidden;
  border-radius: 0 0 48px 48px;
}
.intro-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 70% 25%,
      rgba(212, 161, 74, 0.14),
      transparent 30%
    ),
    linear-gradient(
      90deg,
      rgba(7, 31, 53, 0.98) 0%,
      rgba(7, 31, 53, 0.88) 38%,
      rgba(7, 31, 53, 0.18) 70%,
      rgba(7, 31, 53, 0.05) 100%
    );
  pointer-events: none;
}
.intro-hero__scene {
  position: absolute;
  inset: 0 0 0 auto;
  width: 72%;
  background: url("assets/ghost/ghost-hero-integrated.webp") center right/cover
    no-repeat;
  filter: saturate(0.96) contrast(1.03);
}
.intro-hero__inner {
  position: relative;
  z-index: 2;
  min-height: 610px;
  display: flex;
  align-items: center;
}
.intro-hero__copy {
  width: min(590px, 52%);
  padding: 70px 0 120px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 26px;
  border: 1px solid rgba(212, 161, 74, 0.55);
  background: rgba(8, 37, 60, 0.68);
  padding: 9px 14px;
  border-radius: 999px;
  color: #f7d99e;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.intro-hero h1 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(3.2rem, 4.6vw, 4.15rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 650px;
}
.intro-hero h1 span {
  color: var(--gold-2);
}
.intro-hero__lead {
  font-size: 1.12rem;
  max-width: 570px;
  color: #e5edf1;
  margin: 26px 0 30px;
}
.intro-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button--gold,
.button:not(.button-secondary):not(.button-soft):not(.button-ghost) {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #09243b;
  box-shadow: 0 12px 34px rgba(212, 161, 74, 0.25);
}
.button--outline,
.button-secondary,
.button-soft,
.button-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  border-color: rgba(255, 255, 255, 0.35);
}
.intro-hero__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 26px 0 0;
  padding: 0;
  color: #dce7ec;
  font-size: 0.82rem;
}
.ghost-note {
  position: absolute;
  right: 32px;
  top: 145px;
  width: 210px;
  padding: 18px 20px;
  background: rgba(255, 250, 241, 0.95);
  color: var(--ink);
  border: 1px solid rgba(212, 161, 74, 0.55);
  border-radius: 24px 24px 24px 6px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
  display: grid;
}
.ghost-note strong {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
}
.ghost-note span {
  font-size: 0.86rem;
}
.ghost-note i {
  font-style: normal;
  color: var(--gold);
  margin-top: 5px;
}
.feature-ribbon {
  position: relative;
  z-index: 3;
  margin-top: -74px;
  background: rgba(255, 252, 246, 0.98);
  color: var(--ink);
  border: 1px solid rgba(212, 161, 74, 0.28);
  border-radius: 26px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.feature-ribbon article {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 25px 23px;
}
.feature-ribbon article + article {
  border-left: 1px solid var(--line);
}
.feature-ribbon article > span {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 16px;
  background: #fbedd0;
  color: #a56a18;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
}
.feature-ribbon div {
  display: grid;
}
.feature-ribbon strong {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
}
.feature-ribbon small {
  color: var(--muted);
  line-height: 1.4;
  margin-top: 4px;
}
.content-section,
.calculator-section,
.guides-index {
  padding: 86px 0;
}
.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}
.section-heading h2,
.calculator-intro__copy h2,
.legal-hero h1,
.method-page-hero h1,
.faq-page-hero h1,
.guide-hero h1,
.page-hero h1 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  line-height: 1.08;
  margin: 0.15em 0;
}
.section-heading > p:last-child,
.calculator-intro__copy > p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}
.calculator-section {
  padding-top: 88px;
}
.calculator-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 24px;
}
.calculator-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.calculator-overview > div {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}
.calculator-overview span {
  color: #b87921;
  font-weight: 800;
}
.calculator-overview strong,
.calculator-overview small {
  display: block;
}
.calculator-overview small {
  color: var(--muted);
}
.calculator-note,
.medical-notice,
.source-note,
.privacy-note,
.double-count-warning,
.quick-mode-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #eef6f4;
  border: 1px solid rgba(31, 91, 110, 0.18);
  border-radius: 18px;
  padding: 16px 18px;
  margin: 18px 0;
}
.calculator-note p,
.medical-notice p,
.source-note p,
.privacy-note p,
.double-count-warning p,
.quick-mode-notice p {
  margin: 0;
}
.calculator-rail-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.calculator-rail-brand img {
  border-radius: 50%;
  border: 2px solid var(--gold);
}
.calculator-rail-brand strong,
.calculator-rail-brand span {
  display: block;
}
.calculator-rail-brand span {
  font-size: 0.82rem;
  color: #c7d5dc;
}
.calculator-brand-rail ol {
  list-style: none;
  padding: 22px 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.calculator-brand-rail li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  color: #dce8ed;
}
.calculator-brand-rail li span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.calculator-brand-rail li.is-current {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}
.calculator-brand-rail li.is-current span {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.calculator-brand-rail small {
  display: block;
  color: #9fb6c2;
}
.calculator-rail-ghost {
  margin-top: auto;
  text-align: center;
}
.calculator-rail-ghost img {
  max-height: 200px;
  object-fit: contain;
}
.calculator-rail-ghost p {
  font-family: "Playfair Display", serif;
  color: #f7dfad;
}
.calculator-mode-picker,
.calculator-layout {
  padding: 28px;
}
.mode-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}
.mode-choice {
  position: relative;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--ink);
  cursor: pointer;
}
.mode-choice.is-active {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 161, 74, 0.14);
  background: #fffbf2;
}
.mode-choice-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #f8e9c9;
  display: grid;
  place-items: center;
  color: #a56a18;
  font-weight: 800;
  flex: 0 0 auto;
}
.mode-choice strong,
.mode-choice small {
  display: block;
}
.mode-choice small {
  color: var(--muted);
}
.mode-choice-badge {
  position: absolute;
  right: 14px;
  top: 12px;
  font-size: 0.68rem;
  color: #956113;
}
.calculator-card {
  display: grid;
  gap: 18px;
}
.form-step,
.results-card,
.breakdown,
.budget-sheet,
.completeness-card,
.budget-chart-card,
.expense-category-panel,
.smart-expense-card,
.cat-profiles,
.partner-card,
.product-box,
.formula-card,
.contact-card,
.source-card,
.legal-content,
.faq-item-premium {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 12px 34px rgba(7, 31, 53, 0.06);
}
.step-heading,
.expense-category-heading,
.results-card-modern-head,
.breakdown-heading,
.budget-chart-heading,
.completeness-heading,
.formula-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.step-heading h3,
.expense-category-heading h3,
.results-card h3,
.breakdown h3,
.budget-chart-card h3,
.completeness-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.55rem;
  margin: 0;
  color: var(--navy);
}
.step-heading p,
.expense-category-heading p {
  margin: 3px 0 0;
  color: var(--muted);
}
.step-number {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex: 0 0 auto;
}
.form-grid {
  display: grid;
  gap: 16px;
}
.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.three-cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.full-width {
  grid-column: 1/-1;
}
.field {
  display: grid;
  gap: 7px;
  font-weight: 700;
  font-size: 0.9rem;
}
.field input,
.field select,
.field textarea,
.input-with-unit,
.duration-controls {
  width: 100%;
  border: 1px solid #cfd9df;
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  min-height: 48px;
}
.field input,
.field select,
.field textarea {
  padding: 11px 13px;
}
.input-with-unit,
.duration-controls {
  display: flex;
  align-items: center;
  overflow: hidden;
}
.input-with-unit input,
.duration-controls input,
.duration-controls select {
  border: 0;
  border-radius: 0;
  min-width: 0;
}
.input-with-unit span {
  padding: 0 13px;
  color: var(--muted);
}
.quick-expense-grid {
  display: grid;
  gap: 16px;
}
.smart-expense-card header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}
.quick-expense-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: #f6e5c3;
  color: #a66c1b;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
}
.smart-expense-card header strong,
.smart-expense-card header small {
  display: block;
}
.smart-expense-card header small {
  color: var(--muted);
}
.expense-priority-badge {
  background: #f7f0e5;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.72rem;
  color: #8a5a18;
}
.smart-expense-fields,
.smart-frequency-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.smart-equivalent,
.monthly-equivalent {
  margin: 12px 0 0;
  color: var(--muted);
}
.expense-category-panel {
  margin-top: 16px;
}
.expense-category-total {
  margin-left: auto;
  color: #a56a18;
}
.expense-lines,
.repeatable-expense-groups {
  display: grid;
  gap: 12px;
}
.add-expense-line,
.text-button {
  border: 0;
  background: transparent;
  color: var(--teal);
  font-weight: 800;
  cursor: pointer;
}
.form-actions,
.result-actions,
.budget-sheet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.privacy-choice,
.remember-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
}
.results-sticky {
  position: sticky;
  top: 102px;
  align-self: start;
}
.result-summary,
.budget-sheet-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.result-summary > div,
.budget-kpi {
  background: #f8f4ec;
  border-radius: 16px;
  padding: 16px;
}
.result-summary span,
.budget-kpi span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}
.result-summary strong,
.budget-kpi strong {
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
  color: var(--navy);
}
.budget-sheet-chart-grid,
.print-chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.budget-sheet-insights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
}
.budget-sheet-insights article {
  display: flex;
  gap: 12px;
  background: #f8f4ec;
  border-radius: 16px;
  padding: 16px;
}
.budget-insight-icon {
  color: #b87921;
  font-weight: 800;
}
.budget-bars,
.print-bars {
  display: grid;
  gap: 10px;
}
.budget-donut-wrap svg,
.print-donut-layout svg {
  max-width: 260px;
}
.breakdown ul,
.completeness-list {
  padding-left: 20px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 120px);
  background: var(--navy);
  color: #fff;
  padding: 13px 18px;
  border-radius: 999px;
  z-index: 999;
  transition: 0.25s;
}
.toast.is-visible {
  transform: translate(-50%, 0);
}
.guides-preview {
  background: #fffaf1;
}
.guides-actions {
  text-align: center;
}
.advice-section {
  position: relative;
  background: linear-gradient(180deg, #f8f3eb 0%, #f3ece2 100%);
}
.advice-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1300px, calc(100% - 48px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 161, 74, 0.72) 18%,
    rgba(212, 161, 74, 0.72) 82%,
    transparent
  );
}
.advice-section > .container {
  padding: 46px 48px 50px;
  border: 1px solid rgba(13, 44, 70, 0.12);
  border-radius: 32px;
  background: linear-gradient(145deg, #fffdf9 0%, #faf3e9 100%);
  box-shadow: 0 24px 64px rgba(7, 31, 53, 0.08);
}
.advice-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 42px;
  align-items: center;
  margin-bottom: 32px;
}
.advice-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 0;
  padding: 10px 0;
}
.advice-heading h2 {
  max-width: 22ch;
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 3.45vw, 3.25rem);
  line-height: 1.04;
}
.advice-lead {
  max-width: 62ch;
  margin-bottom: 0;
  color: #4d6471;
}
.advice-ghost {
  position: relative;
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 218px;
  margin: 0;
  padding: 24px 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 13% 50%, rgba(240, 189, 99, 0.24), transparent 34%),
    radial-gradient(circle at 100% 0, rgba(31, 91, 110, 0.5), transparent 42%),
    linear-gradient(145deg, #071f35, #0c334d);
  border: 1px solid rgba(212, 161, 74, 0.54);
  border-radius: 26px;
  box-shadow: 0 20px 42px rgba(7, 31, 53, 0.18);
  text-align: left;
  isolation: isolate;
}
.advice-ghost::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -64px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(240, 189, 99, 0.14);
  border-radius: 50%;
  z-index: -1;
}
.advice-ghost__portrait {
  display: grid;
  width: 138px;
  height: 138px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}
.advice-ghost img {
  display: block;
  width: 138px;
  height: 138px;
  max-height: none;
  object-fit: contain;
  border-radius: 50%;
  mix-blend-mode: normal;
}
.advice-ghost figcaption {
  display: grid;
  gap: 10px;
  min-width: 0;
  color: #e4edf1;
  line-height: 1.42;
}
.advice-ghost__label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f4cf89;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.advice-ghost figcaption strong {
  font-family: "Playfair Display", serif;
  color: #fffaf1;
  font-size: 1.27rem;
  line-height: 1.28;
}
.advice-ghost__note {
  color: #b9cbd3;
  font-size: 0.78rem;
  letter-spacing: 0.025em;
}
.advice-grid,
.trust-link-grid,
.trust-link-grid-premium,
.guide-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.advice-card {
  position: relative;
  display: flex;
  min-height: 232px;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(253, 249, 242, 0.94));
  border: 1px solid rgba(13, 44, 70, 0.14);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 14px 34px rgba(7, 31, 53, 0.06);
}
.advice-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  width: 54px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}
.advice-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.advice-number {
  color: #b87921;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.advice-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  background: #eef7f6;
  color: #0d5368;
  font-weight: 800;
}
.advice-kicker {
  margin: 16px 0 0;
  color: #1f5b6e;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.advice-card h3 {
  margin: 6px 0 10px;
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1.25;
}
.advice-card > p:last-child {
  margin: 0;
  color: #536a76;
  line-height: 1.58;
}
.page-hero,
.legal-hero,
.method-page-hero,
.faq-page-hero,
.guide-hero {
  position: relative;
  padding: 90px 0 70px;
  background: linear-gradient(135deg, #f7ecda, #fffaf3);
  overflow: hidden;
}
.page-hero__inner,
.guide-hero-grid,
.method-page-hero-grid,
.faq-page-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}
.page-hero__inner > div,
.guide-hero-copy {
  position: relative;
  z-index: 2;
}
.page-hero__inner > img,
.guide-hero-art img,
.method-page-ghost img,
.faq-page-ghost img,
.legal-hero-ghost img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 22px 30px rgba(7, 31, 53, 0.13));
}
.page-hero__inner aside {
  position: absolute;
  right: 8%;
  bottom: 36px;
  background: #fffdf8;
  border: 1px solid rgba(212, 161, 74, 0.35);
  border-radius: 20px;
  padding: 14px 18px;
  display: grid;
  box-shadow: var(--shadow);
}
.guide-layout,
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 38px;
  padding-top: 58px;
  padding-bottom: 80px;
}
.guide-content,
.legal-content {
  min-width: 0;
}
.guide-content h2,
.legal-content h2,
.method-premium h2,
.transparency-premium h2,
.faq-section h2 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-size: 2rem;
  line-height: 1.15;
  margin: 1.8em 0 0.6em;
}
.guide-content h3,
.legal-content h3 {
  color: var(--navy);
  margin-top: 1.7em;
}
.guide-content p,
.legal-content p,
.guide-content li,
.legal-content li {
  color: #384b59;
}
.guide-content table,
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}
.guide-content th,
.guide-content td,
.legal-content th,
.legal-content td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
}
.guide-sidebar {
  display: grid;
  align-content: start;
  gap: 18px;
}
.guide-sidebar > * {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
}
.guide-sidebar img {
  max-height: 220px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.author-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  margin: 30px 0;
}
.author-box img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
}
.article-sources {
  background: #fff8eb;
  border-left: 4px solid var(--gold);
  padding: 18px;
  border-radius: 0 16px 16px 0;
}
.method-page-nav {
  background: #fff;
  border-block: 1px solid var(--line);
  padding: 12px 0;
}
.method-page-nav .container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.method-page-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  background: #f6efe3;
  font-weight: 700;
}
.partner-section,
.method-premium,
.transparency-premium,
.trust-preview {
  padding: 70px 0;
}
.method-premium-grid,
.trust-premium-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.method-principles,
.transparency-badges,
.sidebar-benefits,
.faq-proof-list {
  display: grid;
  gap: 12px;
}
.method-principles > *,
.transparency-badges > *,
.sidebar-benefits > *,
.faq-proof-list > * {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}
.faq-section {
  padding: 70px 0;
}
.faq-list-premium,
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item-premium,
details.faq-item-premium {
  padding: 0;
}
.faq-item-premium summary,
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  font-weight: 800;
  color: var(--navy);
}
.faq-item-premium summary::-webkit-details-marker,
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-item-premium > div,
.faq-item-premium > p,
.faq-list details > div,
.faq-list details > p {
  padding: 0 22px 20px;
  color: var(--muted);
}
.contact-card,
.source-card {
  margin-bottom: 18px;
}
.legal-list {
  padding-left: 20px;
}
.launch-warning {
  background: #fff1e8;
  border: 1px solid #edc3a4;
  border-radius: 18px;
  padding: 18px;
}
.launch-ready {
  background: #edf7f2;
  border: 1px solid #b9ddca;
  border-radius: 18px;
  padding: 18px;
}
.site-footer {
  background: var(--navy);
  color: #dbe7ed;
  padding: 64px 0 0;
  border-top: 3px solid var(--gold);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.7fr);
  gap: 46px;
}
.site-footer__brand > a:first-child {
  display: flex;
  align-items: center;
  gap: 14px;
}
.site-footer__brand img {
  border-radius: 50%;
  border: 2px solid var(--gold);
}
.site-footer__brand strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  color: #fff;
}
.site-footer__brand small {
  color: #efcd8e;
}
.site-footer__brand p {
  color: #b9cbd4;
  max-width: 440px;
}
.site-footer nav {
  display: grid;
  align-content: start;
  gap: 9px;
}
.site-footer nav strong {
  color: #efcd8e;
  margin-bottom: 7px;
}
.site-footer nav a {
  color: #dbe7ed;
}
.site-footer nav a:hover {
  color: #fff;
}
.site-footer__button {
  display: inline-flex;
  border: 1px solid rgba(212, 161, 74, 0.6);
  padding: 10px 14px;
  border-radius: 12px;
  color: #f3d79e;
  font-weight: 700;
}
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 45px;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #98afba;
  font-size: 0.8rem;
}
.print-report {
  display: none;
}
.breadcrumb {
  padding-top: 24px;
  color: var(--muted);
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.article-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.88rem;
}
.guide-hero-benefits {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.guide-hero-benefits span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.78rem;
  font-weight: 700;
}
.guide-hero h1 {
  font-size: clamp(2.35rem, 3.6vw, 3.35rem);
  max-width: 760px;
}
body.site-theme {
  background: #f8f3eb;
  color: #10263a;
}
body.site-theme .site-header {
  background: rgba(6, 29, 50, 0.96);
  box-shadow: 0 10px 36px rgba(5, 25, 43, 0.18);
}
body.site-theme .site-header__inner {
  min-height: 88px;
}
body.site-theme .site-brand strong {
  font-size: 1.42rem;
}
body.site-theme .site-header__cta {
  min-width: 178px;
  justify-content: center;
  padding: 13px 22px;
}
.home-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(
      circle at 74% 28%,
      rgba(241, 188, 98, 0.16),
      transparent 34%
    ),
    radial-gradient(circle at 8% 92%, rgba(31, 91, 110, 0.3), transparent 35%),
    linear-gradient(135deg, #061d32 0%, #092b47 54%, #071f35 100%);
}
.home-hero:after {
  content: none;
  display: none;
}
.home-hero__glow {
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  right: 12%;
  top: 8%;
  background: rgba(241, 188, 98, 0.13);
  filter: blur(70px);
  pointer-events: none;
}
.home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 26px;
  padding: 9px 15px;
  border: 1px solid rgba(240, 189, 99, 0.56);
  border-radius: 999px;
  background: rgba(4, 27, 47, 0.58);
  color: #f5d79d;
  text-transform: uppercase;
  letter-spacing: 0.095em;
  font-size: 0.77rem;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.home-hero h1 span {
  color: #f0b854;
}
.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.home-hero__primary,
.home-hero__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 50px;
  padding: 14px 23px;
  border-radius: 16px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.home-hero__primary {
  background: linear-gradient(135deg, #f3c66f, #d99f3c);
  color: #09243b;
  box-shadow: 0 16px 38px rgba(212, 161, 74, 0.26);
}
.home-hero__secondary {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  backdrop-filter: blur(10px);
}
.home-hero__primary:hover,
.home-hero__secondary:hover {
  transform: translateY(-2px);
}
.home-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  list-style: none;
  margin: 23px 0 0;
  padding: 0;
  color: #dce8ed;
  font-size: 0.78rem;
}
.home-hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.home-hero__trust li span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(240, 189, 99, 0.55);
  border-radius: 50%;
  color: #f2c56c;
  font-size: 0.68rem;
}
.hero-benefits article + article {
  border-left: 1px solid rgba(13, 44, 70, 0.13);
}
.hero-benefits__icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff4dc, #f3dfb7);
  color: #a86e1f;
  box-shadow: inset 0 0 0 1px rgba(212, 161, 74, 0.16);
}
.hero-benefits article div {
  display: grid;
  gap: 4px;
}
.hero-benefits strong {
  font-family: "Playfair Display", serif;
  font-size: 1.06rem;
  line-height: 1.25;
}
.hero-benefits small {
  color: #5e6b75;
  line-height: 1.45;
}
body.site-theme .calculator-intro h2 {
  font-size: clamp(2.35rem, 4vw, 3.7rem);
  line-height: 1.02;
}
body.site-theme .content-section {
  background: #f8f3eb;
}
.home-hero svg,
.hero-benefits svg,
.site-header__cta svg {
  width: 1.12em;
  height: 1.12em;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-benefits__icon svg {
  width: 25px;
  height: 25px;
}
body.site-theme .page-hero__inner > img,
body.site-theme .guide-hero-art img,
body.site-theme .method-page-ghost img,
body.site-theme .faq-page-ghost img,
body.site-theme .legal-hero-ghost img {
  -webkit-mask-image: radial-gradient(
    ellipse 88% 82% at 50% 50%,
    #000 58%,
    rgba(0, 0, 0, 0.82) 74%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 88% 82% at 50% 50%,
    #000 58%,
    rgba(0, 0, 0, 0.82) 74%,
    transparent 100%
  );
  filter: drop-shadow(0 22px 34px rgba(7, 31, 53, 0.12));
  border: 0 !important;
  box-shadow: none !important;
}
body.site-theme .guide-hero-art,
body.site-theme .page-hero__inner > figure {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.site-theme .method-page-ghost img[src$="ghost-medallion-official.webp"],
body.site-theme .faq-page-ghost img[src$="ghost-medallion-official.webp"],
body.site-theme .legal-hero-ghost img[src$="ghost-medallion-official.webp"] {
  width: min(250px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
  border: 3px solid rgba(212, 161, 74, 0.82) !important;
  border-radius: 50%;
  box-shadow: 0 20px 46px rgba(7, 31, 53, 0.18) !important;
  mix-blend-mode: normal;
  -webkit-mask-image: none;
  mask-image: none;
}
body.site-theme .guide-welcome-card {
  background: rgba(255, 253, 248, 0.86);
  backdrop-filter: blur(10px);
}
body.site-theme .calculator-intro {
  margin-top: 0;
}
.home-hero h1 .hero-title-line--light {
  color: #fff;
}
.home-hero h1 .hero-title-line--gold {
  color: #f0b854;
}
.container {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 84px;
}
.home-hero {
  position: relative;
  isolation: isolate;
  background: #061e34;
  color: #fff;
  overflow: hidden;
  width: min(1440px, calc(100% - 48px));
  min-height: 650px;
  margin: 28px auto 0;
  padding-bottom: 30px;
  border-radius: 34px;
  box-shadow: 0 24px 70px rgba(7, 31, 53, 0.16);
}
.home-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: min(1260px, calc(100% - 72px));
  min-height: 590px;
}
.home-hero__copy {
  width: min(570px, 47%);
  max-width: 570px;
  padding: 58px 0 98px;
}
.home-hero h1 {
  margin: 0;
  font-family: "Playfair Display", serif;
  text-wrap: balance;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
  max-width: 570px;
  font-size: clamp(3.35rem, 4.2vw, 4.55rem);
  line-height: 1.01;
  letter-spacing: -0.042em;
}
.home-hero h1 .hero-title-line {
  display: block;
  white-space: nowrap;
}
.home-hero__lead {
  margin: 25px 0 28px;
  color: #e3edf2;
  line-height: 1.65;
  max-width: 550px;
  font-size: 1.08rem;
}
.home-hero__scene {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  background-color: #061e34;
  background-image: url("assets/ghost/ghost-hero-cosy.webp");
  background-repeat: no-repeat;
  filter: saturate(0.98) contrast(1.02);
  background-size: auto 108%;
  background-position: calc(100% + 105px) 42%;
  -webkit-mask-image: none;
  mask-image: none;
}
.home-hero__scene:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      #061e34 0%,
      #061e34 26%,
      rgba(6, 30, 52, 0.98) 35%,
      rgba(6, 30, 52, 0.91) 43%,
      rgba(6, 30, 52, 0.72) 52%,
      rgba(6, 30, 52, 0.43) 61%,
      rgba(6, 30, 52, 0.16) 70%,
      rgba(6, 30, 52, 0) 80%
    ),
    linear-gradient(
      0deg,
      rgba(6, 30, 52, 0.34) 0%,
      rgba(6, 30, 52, 0.07) 30%,
      transparent 52%
    );
}
.hero-benefits {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 252, 246, 0.98);
  border: 1px solid rgba(212, 161, 74, 0.24);
  box-shadow: 0 18px 45px rgba(6, 30, 52, 0.18);
  overflow: hidden;
  color: #10263a;
  backdrop-filter: blur(14px);
  width: min(1260px, calc(100% - 72px));
  margin-top: -72px;
  border-radius: 22px;
}
.hero-benefits article {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 102px;
  padding: 20px 22px;
}
.calculator-note {
  margin: 0 0 22px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef7f6 0%, #f7fbfa 100%);
  border: 1px solid rgba(31, 91, 110, 0.18);
  box-shadow: none;
}
.calculator-note__icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(31, 91, 110, 0.22);
  color: var(--teal);
  font-family: Georgia, serif;
  font-weight: 700;
  font-style: italic;
}
.calculator-note p {
  margin: 0;
  color: #294653;
  font-size: 0.9rem;
  line-height: 1.45;
}
.calculator-note strong {
  color: var(--navy);
}
.calculator-shell {
  display: grid;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  grid-template-columns: 250px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  align-items: start;
}
.calculator-brand-rail {
  background: linear-gradient(180deg, var(--navy), #0d3852);
  color: #fff;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  grid-column: 1;
  grid-row: 1 / 4;
  align-self: stretch;
}
.calculator-mode-picker {
  padding-top: 24px;
  grid-column: 2;
  grid-row: 1;
  align-self: start;
}
.calculator-layout {
  padding-top: 0;
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}
.budget-sheet-section {
  grid-column: 2;
  grid-row: 3;
  min-width: 0;
  padding: 0 28px 28px;
}
body.site-theme .calculator-rail-brand img {
  border: 2px solid rgba(240, 189, 99, 0.8);
  width: 58px;
  height: 58px;
}
body.site-theme .calculator-rail-brand strong {
  font-size: 0.96rem;
}
body.site-theme .calculator-rail-brand span {
  font-size: 0.75rem;
}
body.site-theme .calculator-rail-ghost {
  display: none;
}
body.site-theme .calculator-note {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  align-self: start;
  padding: 10px 13px;
  border-radius: 13px;
}
body.site-theme .calculator-note p {
  font-size: 0.82rem;
  line-height: 1.4;
}
body.site-theme .calculator-note__icon {
  width: 25px;
  height: 25px;
  flex-basis: 25px;
}
body.site-theme .calculator-mode-picker {
  grid-column: 2;
  grid-row: 2;
  padding: 22px 24px 24px;
  background: var(--paper);
  border: 1px solid rgba(212, 161, 74, 0.22);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(7, 31, 53, 0.08);
}
body.site-theme .mode-picker-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
  align-items: end;
}
body.site-theme .mode-picker-copy .eyebrow {
  grid-column: 1/-1;
  margin-bottom: 10px;
}
body.site-theme .mode-picker-copy h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-size: 1.45rem;
}
body.site-theme .mode-picker-intro {
  margin: 0;
  max-width: 430px;
  color: var(--muted);
  font-size: 0.84rem;
  text-align: right;
}
body.site-theme .mode-options {
  margin-top: 16px;
  gap: 12px;
}
body.site-theme .mode-choice {
  border-radius: 17px;
}
body.site-theme .mode-choice-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
}
body.site-theme .mode-choice small {
  font-size: 0.75rem;
  line-height: 1.35;
}
body.site-theme .step-heading {
  gap: 12px;
  margin-bottom: 14px;
}
body.site-theme .step-heading h3 {
  font-size: 1.42rem;
}
body.site-theme .step-heading p {
  font-size: 0.84rem;
}
body.site-theme .step-number {
  width: 36px;
  height: 36px;
  border-radius: 12px;
}
body.site-theme .field input,
body.site-theme .field select,
body.site-theme .field textarea,
body.site-theme .input-with-unit,
body.site-theme .duration-controls {
  min-height: 45px;
}
body.site-theme .quick-mode-notice {
  margin: 10px 0 14px;
  padding: 12px 14px;
  border-radius: 15px;
  font-size: 0.84rem;
}
body.site-theme .quick-expense-grid {
  gap: 12px;
}
body.site-theme .smart-expense-card {
  padding: 19px 20px;
  border-radius: 18px;
  box-shadow: none;
  background: #fffefa;
}
body.site-theme .smart-expense-card header {
  margin-bottom: 13px;
}
body.site-theme .quick-expense-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}
body.site-theme .expense-priority-badge {
  padding: 6px 9px;
  font-size: 0.67rem;
}
body.site-theme .calculator-section {
  background: linear-gradient(180deg, #f8f3eb 0%, #fffdf8 38%, #f8f3eb 100%);
  padding-top: clamp(44px, 5vw, 72px);
}
body.site-theme .calculator-card {
  gap: 16px;
}
body.site-theme .form-step {
  padding: 21px 22px;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(7, 31, 53, 0.045);
  overflow: hidden;
}
body.site-theme .detail-section-intro {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(31, 91, 110, 0.16);
  border-radius: 15px;
  background: linear-gradient(135deg, #f2f8f7, #fbfdfc);
  color: var(--ink);
}
body.site-theme .detail-section-intro > span {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 0;
  line-height: 1;
}
body.site-theme .detail-section-intro > span::before {
  content: "✓";
  font-size: 0.82rem;
  font-weight: 900;
}
body.site-theme .detail-section-intro p {
  margin: 2px 0 0;
  line-height: 1.45;
  font-size: 0.88rem;
}
body.site-theme .expense-lines {
  gap: 14px;
}
body.site-theme .expense-line {
  position: relative;
  border: 1px solid rgba(7, 31, 53, 0.13);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #fffdfa 100%);
  box-shadow: 0 10px 28px rgba(7, 31, 53, 0.045);
}
body.site-theme .expense-line-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f8e8c7;
  color: #a96a14;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}
body.site-theme .expense-line-fields {
  min-width: 0;
}
body.site-theme .expense-line-fields .expense-line-label {
  grid-column: 1;
}
body.site-theme .expense-line-fields > .field:nth-of-type(2) {
  grid-column: 2;
}
body.site-theme .expense-line-fields > .field:nth-of-type(3) {
  grid-column: 3;
}
body.site-theme .expense-line-equivalent {
  padding-top: 2px;
}
body.site-theme .expense-line .field {
  gap: 6px;
}
body.site-theme .expense-line .field > span:first-child {
  font-size: 0.78rem;
  color: #344d5d;
}
body.site-theme .remove-expense-line {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(159, 67, 59, 0.18);
  border-radius: 12px;
  background: #fff8f6;
  color: #9f433b;
  font-weight: 800;
  font-size: 0.76rem;
  cursor: pointer;
}
body.site-theme .remove-expense-line[hidden] {
  display: none !important;
}
body.site-theme .remove-expense-line span[aria-hidden="true"] {
  font-size: 1.05rem;
  line-height: 1;
}
body.site-theme .add-expense-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(31, 91, 110, 0.22);
  border-radius: 999px;
  background: #eef7f5;
  color: #0d5266;
  font-size: 0.86rem;
  box-shadow: none;
}
body.site-theme .add-expense-line:hover {
  background: #e2f1ee;
}
body.site-theme .add-expense-line > span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
}
body.site-theme #common-expenses-step .step-heading {
  margin-bottom: 12px;
}
body.site-theme .expense-category-panel,
body.site-theme .litter-detail-panel {
  padding: 19px 20px;
  border: 1px solid rgba(7, 31, 53, 0.12);
  border-radius: 18px;
  background: #fffefa;
  box-shadow: none;
}
body.site-theme .repeatable-expense-groups {
  gap: 14px;
}
body.site-theme .calculator-layout,
body.site-theme .calculator-mode-picker,
body.site-theme .calculator-note,
body.site-theme .budget-sheet-section {
  max-width: 1040px;
  width: 100%;
}
body.site-theme .calculator-rail-brand {
  gap: 10px;
  padding: 0 4px 16px;
  align-items: flex-start;
}
body.site-theme .calculator-rail-context > span {
  color: #e8b44f;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
body.site-theme .calculator-rail-context > strong {
  color: #fffaf1;
  font-family: "Playfair Display", serif;
  font-size: 1.08rem;
  line-height: 1.12;
}
body.site-theme .calculator-rail-context > small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.69rem;
  line-height: 1.35;
}
body.site-theme .calculator-brand-rail li.is-current {
  background: rgba(255, 255, 255, 0.13);
  transform: translateX(2px);
}
body.site-theme .calculator-brand-rail li.is-current::after {
  content: "";
  position: absolute;
  right: 7px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e8b44f;
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(232, 180, 79, 0.12);
}
body.site-theme .calculator-brand-rail li.is-complete > span {
  color: #06243c;
  background: #e8b44f;
  border-color: #e8b44f;
}
body.site-theme .calculator-brand-rail li.is-unavailable {
  opacity: 0.42;
}
body.site-theme .quick-single-cat-note {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid rgba(212, 161, 74, 0.32);
  border-radius: 16px;
  background: linear-gradient(135deg, #fff8e9, #fffefa);
}
body.site-theme .quick-single-cat-note > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  color: #08263e;
  background: #e8b44f;
  font-weight: 900;
}
body.site-theme .quick-single-cat-note strong,
body.site-theme .quick-single-cat-note small {
  display: block;
}
body.site-theme .quick-single-cat-note small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}
body.site-theme .calculator-shell.is-quick-mode .quick-single-cat-note {
  display: flex;
}
body.site-theme .calculator-shell.is-quick-mode .household-cat-count {
  display: none;
}
body.site-theme .calculator-shell.is-quick-mode .household-fields {
  grid-template-columns: minmax(240px, 420px);
  margin-top: 12px;
}
body.site-theme .calculator-shell.is-quick-mode .household-mode-field {
  max-width: 420px;
}
body.site-theme .calculator-shell.is-detailed-mode .quick-single-cat-note {
  display: none;
}
body.site-theme .quick-simple-intro {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 14px;
  padding: 11px 13px;
  border-radius: 14px;
  color: #173d4f;
  background: #eef7f5;
  border: 1px solid rgba(31, 91, 110, 0.16);
  font-size: 0.82rem;
  line-height: 1.45;
}
body.site-theme .quick-simple-intro > span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  color: #fff;
  background: #1f5b6e;
  font-size: 0.72rem;
  font-weight: 900;
}
body.site-theme .quick-simple-intro p {
  margin: 0;
}
body.site-theme .quick-simple-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
body.site-theme .quick-simple-field {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-areas: "icon copy" "input input";
  gap: 10px 12px;
  padding: 16px;
  border: 1px solid rgba(7, 31, 53, 0.12);
  border-radius: 18px;
  background: #fffefa;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
body.site-theme .quick-simple-field:focus-within {
  border-color: rgba(212, 161, 74, 0.75);
  box-shadow: 0 12px 28px rgba(7, 31, 53, 0.08);
  transform: translateY(-1px);
}
body.site-theme .quick-simple-field--essential {
  border-color: rgba(212, 161, 74, 0.45);
  background: linear-gradient(145deg, #fff9ec, #fffefa);
}
body.site-theme .quick-simple-icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: #a96500;
  background: #fae9c2;
  font-weight: 900;
  font-size: 0.77rem;
}
body.site-theme .quick-simple-copy {
  grid-area: copy;
  align-self: center;
  min-width: 0;
}
body.site-theme .quick-simple-copy strong,
body.site-theme .quick-simple-copy small {
  display: block;
}
body.site-theme .quick-simple-copy strong {
  color: var(--navy);
  font-size: 0.92rem;
}
body.site-theme .quick-simple-copy small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.3;
}
body.site-theme .quick-simple-input {
  grid-area: input;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 46px;
  border: 1px solid rgba(7, 31, 53, 0.16);
  border-radius: 13px;
  overflow: hidden;
  background: #fff;
}
body.site-theme .quick-simple-input input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  outline: 0;
  color: var(--navy);
  background: transparent;
  font:
    800 0.95rem/1 Inter,
    sans-serif;
}
body.site-theme .quick-simple-input b {
  padding: 0 12px;
  color: #8a5b11;
  font-size: 0.72rem;
  white-space: nowrap;
}
body.site-theme .quick-adoption-cost[hidden] {
  display: none !important;
}
body.site-theme .quick-adoption-cost p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
}
body.site-theme .calculator-shell {
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  grid-template-rows: none;
  gap: 22px;
  align-items: start;
}
body.site-theme .calculator-main-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-content: stretch;
}
body.site-theme .calculator-note,
body.site-theme .calculator-mode-picker,
body.site-theme .calculator-layout,
body.site-theme .budget-sheet-section {
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  max-width: none;
  margin: 0;
}
body.site-theme .calculator-layout {
  grid-column: auto;
  grid-row: auto;
  padding: 0;
}
body.site-theme .budget-sheet-section {
  grid-column: auto;
  grid-row: auto;
  padding: 0;
}
body.site-theme .quick-single-cat-card__number {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
  flex: 0 0 auto;
}
body.site-theme .quick-single-cat-card strong,
body.site-theme .quick-single-cat-card small {
  display: block;
}
body.site-theme .quick-single-cat-card small {
  color: var(--muted);
  margin-top: 3px;
}
body.site-theme .calculator-shell.is-quick-mode .detailed-cat-count-field {
  display: none;
}
body.site-theme .calculator-shell.is-quick-mode .situation-grid {
  grid-template-columns: minmax(0, 440px);
}
body.site-theme .calculator-shell.is-detailed-mode .quick-single-cat-card {
  display: none;
}
body.site-theme .quick-budget-step {
  padding: 24px;
}
body.site-theme .quick-monthly-field__copy strong,
body.site-theme .quick-monthly-field__copy small {
  display: block;
}
body.site-theme .quick-monthly-field__copy small {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 3px;
}
body.site-theme .quick-monthly-field__input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border: 1px solid #cfd9df;
  border-radius: 13px;
  background: #fff;
  min-width: 150px;
}
body.site-theme .quick-monthly-field__input input {
  width: 72px;
  border: 0;
  outline: 0;
  background: transparent;
  font-weight: 800;
  font-size: 1rem;
}
body.site-theme .quick-monthly-field__input b {
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.78rem;
}
body.site-theme .quick-live-total {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(212, 161, 74, 0.35);
  border: 1px solid rgba(212, 161, 74, 0.35);
}
body.site-theme .quick-live-total > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: #fffaf0;
}
body.site-theme .quick-live-total span {
  color: var(--muted);
  font-size: 0.85rem;
}
body.site-theme .quick-live-total strong {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-size: 1.35rem;
}
body.site-theme .quick-single-cat-card {
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  margin-bottom: 16px;
  border: 1px solid rgba(212, 161, 74, 0.42);
  border-radius: 18px;
  background: #fffbf2;
  display: none !important;
}
body.site-theme.is-quick-mode .detailed-cat-count-field {
  display: none !important;
}
body.site-theme .calculator-brand-rail {
  align-self: start;
  height: auto;
  background: linear-gradient(165deg, #071f35 0%, #0b3652 100%);
  overflow: hidden;
  grid-column: auto;
  grid-row: auto;
  position: sticky;
  top: 96px;
  min-height: 0;
  padding: 18px 16px;
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(7, 31, 53, 0.14);
}
body.site-theme .calculator-rail-context span,
body.site-theme .calculator-rail-context strong,
body.site-theme .calculator-rail-context small {
  display: block;
}
body.site-theme .calculator-rail-context span {
  color: #f0bd63;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
body.site-theme .calculator-rail-context strong {
  font-size: 1rem;
  margin-top: 3px;
  color: #fff;
}
body.site-theme .calculator-rail-context small {
  font-size: 0.74rem;
  line-height: 1.35;
  color: #bad0da;
  margin-top: 3px;
}
body.site-theme .calculator-brand-rail ol {
  padding: 14px 0 8px;
  gap: 7px;
}
body.site-theme .calculator-brand-rail li {
  position: relative;
  transition:
    background 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
  padding: 10px 9px;
  border-radius: 13px;
  gap: 10px;
}
body.site-theme .calculator-brand-rail li span {
  width: 27px;
  height: 27px;
  font-size: 0.78rem;
}
body.site-theme .calculator-brand-rail li strong {
  font-size: 0.81rem;
  line-height: 1.2;
}
body.site-theme .calculator-brand-rail li small {
  font-size: 0.66rem;
  line-height: 1.3;
  margin-top: 2px;
}
body.site-theme .calculator-rail-tip {
  margin-top: 14px;
  margin: 8px 0 0;
  padding: 11px 12px;
  border-radius: 13px;
  border: 1px solid rgba(240, 189, 99, 0.32);
  color: #dce9ef;
  font-size: 0.72rem;
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.035);
}
body.site-theme .calculator-shell.is-quick-mode .privacy-choice,
body.site-theme .calculator-shell.is-quick-mode .form-actions,
body.site-theme .calculator-shell.is-quick-mode .breakdown,
body.site-theme .calculator-shell.is-quick-mode .ghost-tip,
body.site-theme .calculator-shell.is-quick-mode .completeness-card,
body.site-theme .calculator-shell.is-quick-mode .result-actions,
body.site-theme .calculator-shell.is-quick-mode .budget-sheet-section,
body.site-theme .calculator-shell.is-quick-mode #profile-cost-row,
body.site-theme .calculator-shell.is-quick-mode #per-cat-total,
body.site-theme .calculator-shell.is-quick-mode #result-secondary-label {
  display: none !important;
}
body.site-theme .calculator-shell.is-quick-mode .results-card {
  padding: 22px 24px;
  border-color: rgba(212, 161, 74, 0.38);
  background: linear-gradient(135deg, #fffdf8, #fff8e9);
}
body.site-theme .calculator-shell.is-quick-mode .results-sticky {
  position: static;
}
body.site-theme .calculator-shell.is-quick-mode .results-card-modern-head {
  margin-bottom: 10px;
}
body.site-theme .calculator-shell.is-quick-mode .results-card h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin: 0.08em 0;
}
body.site-theme .calculator-shell.is-quick-mode .result-summary {
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
}
body.site-theme .calculator-shell.is-quick-mode .result-summary > div {
  padding: 14px 16px;
}
body.site-theme
  .calculator-shell.is-quick-mode
  .result-summary
  > div:nth-child(2),
body.site-theme
  .calculator-shell.is-quick-mode
  .result-summary
  > div:nth-child(3) {
  display: none;
}
body.site-theme .calculator-shell.is-quick-mode .privacy-note {
  margin-top: 12px;
  font-size: 0.76rem;
}
body.site-theme .detailed-mode-link {
  margin-top: 16px;
  width: 100%;
  border: 1px dashed rgba(31, 91, 110, 0.38);
  border-radius: 14px;
  padding: 12px 14px;
  background: #f4f8f7;
  color: var(--teal);
  font-weight: 800;
  text-align: center;
  cursor: pointer;
}
body.site-theme .quick-monthly-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
body.site-theme .quick-adoption-cost {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: 20px;
  align-items: center;
  margin-top: 14px;
  padding: 16px;
  border-radius: 17px;
  background: #fff8e9;
  border: 1px solid rgba(212, 161, 74, 0.35);
}
body.site-theme .quick-adoption-step[hidden] {
  display: none !important;
}
body.site-theme .quick-adoption-step {
  overflow: hidden;
  padding: 0;
  border-color: rgba(31, 91, 110, 0.2);
  background: linear-gradient(135deg, #fffdf8 0%, #f4faf8 100%);
}
body.site-theme .adoption-step-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 0;
}
body.site-theme .adoption-step-main {
  padding: 26px 26px 24px;
}
body.site-theme .adoption-estimate-callout strong {
  color: #8b5812;
  font-size: 1rem;
}
body.site-theme .adoption-estimate-callout span {
  color: var(--muted);
  font-size: 0.84rem;
}
body.site-theme .adoption-presets span,
body.site-theme .adoption-presets strong,
body.site-theme .adoption-presets small {
  display: block;
}
body.site-theme .adoption-presets span {
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #9b671e;
  font-weight: 900;
}
body.site-theme .adoption-presets strong {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  color: var(--navy);
  margin: 3px 0;
}
body.site-theme .adoption-presets small {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.3;
}
body.site-theme .adoption-checklist li {
  position: relative;
  padding-left: 23px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #334854;
}
body.site-theme .adoption-checklist li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 900;
}
body.site-theme .adoption-ghost-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #0b3147;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
body.site-theme .adoption-ghost-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% center;
  opacity: 0.95;
}
body.site-theme .adoption-ghost-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 31, 53, 0.05),
    rgba(7, 31, 53, 0.92) 72%
  );
}
body.site-theme .adoption-ghost-card div {
  position: relative;
  z-index: 1;
  padding: 22px 20px;
}
body.site-theme .adoption-ghost-card span {
  display: block;
  color: #f0bd63;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
  font-weight: 900;
}
body.site-theme .adoption-ghost-card strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.28rem;
  margin: 5px 0;
}
body.site-theme .adoption-ghost-card p {
  margin: 0;
  color: #dce8ed;
  font-size: 0.8rem;
  line-height: 1.45;
}
body.site-theme .adoption-module[hidden] {
  display: none !important;
}
body.site-theme .adoption-module__heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
body.site-theme .adoption-module__heading h3 {
  margin: 3px 0 5px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}
body.site-theme .adoption-module__heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

body.site-theme .adoption-module .adoption-presets {
  margin-top: 12px;
}

body.site-theme .adoption-estimate-callout {
  display: grid;
  gap: 4px;
  margin: 18px 0 14px;
  border: 1px solid rgba(212, 161, 74, 0.34);
  border-radius: 15px;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 12px;
  padding: 13px 16px;
  background: #fff8e9;
}
body.site-theme .adoption-estimate-callout:before {
  content: "€";
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f7dfad;
  color: #8b5812;
  font-weight: 900;
  font-family: Georgia, serif;
  grid-row: 1/3;
}
body.site-theme .adoption-presets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 18px;
}
body.site-theme .adoption-presets button {
  transition: 0.18s ease;
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid #d7e0e4;
  border-radius: 16px;
  background: #fff;
  padding: 15px 14px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  box-shadow: none;
}
body.site-theme .adoption-presets button:hover,
body.site-theme .adoption-presets button.is-selected {
  transform: translateY(-1px);
  border-color: #d4a14a;
  background: linear-gradient(180deg, #fffdf8, #fff7e6);
  box-shadow: 0 10px 24px rgba(91, 64, 24, 0.1);
}
body.site-theme .adoption-presets button.is-selected:after {
  content: "Sélectionné";
  display: inline-block;
  margin-top: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #0d3148;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
}
body.site-theme .adoption-total-field {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 360px);
  align-items: end;
  gap: 16px;
  margin: 2px 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(31, 91, 110, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}
body.site-theme .adoption-total-field > span {
  font-weight: 800;
  color: var(--navy);
  align-self: center;
}
body.site-theme .adoption-module .adoption-total-field .input-with-unit {
  max-width: none;
  width: 100%;
}
body.site-theme .adoption-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  list-style: none;
  margin: 16px 0 8px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(31, 91, 110, 0.12);
}

body.site-theme .adoption-source-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  line-height: 1.45;
  border: 0;
  border-radius: 13px;
  color: #365360;
}
body.site-theme .calculator-rail-context {
  min-width: 0;
  display: grid;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
}
body.site-theme .calculator-rail-context img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  display: block;
  margin: 0 auto;
  border: 0;
  box-shadow: none;
}
body.site-theme .quick-monthly-field {
  display: grid;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 15px;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  min-height: 92px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #fff 0%, #fffdf8 100%);
}
body.site-theme .quick-monthly-field__icon {
  color: #a66c1b;
  font-weight: 900;
  font-size: 1.05rem;
  width: 68px;
  height: 58px;
  padding: 0;
  border-radius: 18px;
  background: transparent;
  overflow: hidden;
  display: grid;
  place-items: center;
}
body.site-theme .quick-monthly-field__icon img {
  width: 68px;
  height: 52px;
  object-fit: contain;
  display: block;
}
body.site-theme .quick-monthly-field__copy strong {
  font-size: 1rem;
}
body.site-theme .quick-monthly-field:hover {
  border-color: rgba(212, 161, 74, 0.65);
  box-shadow: 0 14px 30px rgba(7, 31, 53, 0.08);
  transform: translateY(-1px);
}
body.site-theme .results-card {
  position: relative;
}
body.site-theme .results-card::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(212, 161, 74, 0.18),
    rgba(212, 161, 74, 0) 70%
  );
  pointer-events: none;
}
body.site-theme .result-mascot {
  position: absolute;
  right: 12px;
  bottom: 0;
  width: 165px;
  height: auto;
  object-fit: contain;
  z-index: 1;
  filter: drop-shadow(0 16px 24px rgba(7, 31, 53, 0.16));
}
@media print {
  .site-header,
  .site-footer,
  .intro-hero,
  .calculator-section > *:not(.print-report),
  .content-section {
    display: none !important;
  }
  .print-report {
    display: block !important;
  }
  .print-report footer {
    display: flex !important;
    color: #000;
    background: none;
  }
  .print-report * {
    box-shadow: none !important;
  }
}
@media (max-width: 980px) {
  .site-nav,
  .site-header__cta {
    display: none;
  }
  .mobile-nav {
    display: block;
    justify-self: end;
  }
  .site-header__inner {
    grid-template-columns: 1fr auto;
  }
  .intro-hero {
    min-height: auto;
    border-radius: 0 0 36px 36px;
  }
  .intro-hero__scene {
    position: relative;
    width: 100%;
    height: 760px;
    background-position: 72% center;
    background-size: auto 760px;
  }
  .intro-hero:after {
    background: linear-gradient(
      180deg,
      rgba(7, 31, 53, 0.98) 0%,
      rgba(7, 31, 53, 0.9) 42%,
      rgba(7, 31, 53, 0.42) 66%,
      rgba(7, 31, 53, 0.08) 100%
    );
  }
  .intro-hero__inner {
    min-height: 0;
    display: block;
    margin-top: -760px;
    padding-top: 36px;
  }
  .intro-hero__copy {
    width: 100%;
    padding: 20px 0 250px;
  }
  .ghost-note {
    display: none;
  }
  .feature-ribbon {
    grid-template-columns: 1fr 1fr;
    margin-top: -48px;
  }
  .feature-ribbon article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .feature-ribbon article:nth-child(4) {
    border-top: 1px solid var(--line);
  }
  .calculator-intro,
  .advice-intro-grid,
  .page-hero__inner,
  .guide-hero-grid,
  .method-page-hero-grid,
  .faq-page-hero-grid,
  .method-premium-grid,
  .trust-premium-intro {
    grid-template-columns: 1fr;
  }
  .advice-intro-grid {
    gap: 20px;
  }
  .advice-section > .container {
    padding: 38px;
  }
  .advice-ghost {
    grid-template-columns: 112px 1fr;
    min-height: 0;
  }
  .advice-ghost__portrait,
  .advice-ghost img {
    width: 112px;
    height: 112px;
  }
  .calculator-overview {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .calculator-brand-rail {
    display: none;
  }
  .calculator-mode-picker,
  .calculator-layout {
    grid-column: 1;
  }
  .results-sticky {
    position: static;
  }
  .guide-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .guide-sidebar {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
  .site-footer__grid nav:last-child {
    grid-column: 2;
  }
  .page-hero__inner aside {
    position: static;
    width: max-content;
    max-width: 100%;
  }
}
@media (max-width: 700px) {
  .container {
    width: min(100% - 26px, 1180px);
  }
  .site-header__inner {
    min-height: 72px;
  }
  .site-brand img {
    width: 48px;
    height: 48px;
  }
  .site-brand strong {
    font-size: 1.08rem;
  }
  .site-brand small {
    font-size: 0.58rem;
  }
  .intro-hero__scene {
    height: 760px;
    background-size: auto 760px;
    background-position: 72% center;
  }
  .intro-hero__inner {
    margin-top: -760px;
  }
  .intro-hero__copy {
    padding: 22px 0 250px;
  }
  .intro-hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.6rem);
    line-height: 1.02;
  }
  .intro-hero__lead {
    font-size: 1rem;
  }
  .intro-hero__trust {
    gap: 10px;
    font-size: 0.73rem;
  }
  .feature-ribbon {
    display: block;
    margin-top: -32px;
    border-radius: 22px;
  }
  .feature-ribbon article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .feature-ribbon article {
    padding: 18px;
  }
  .calculator-section {
    padding-top: 85px;
  }
  .calculator-intro {
    gap: 20px;
  }
  .calculator-overview {
    grid-template-columns: 1fr;
  }
  .calculator-mode-picker,
  .calculator-layout {
    padding: 18px;
  }
  .mode-options,
  .two-cols,
  .three-cols,
  .smart-expense-fields,
  .smart-frequency-row,
  .result-summary,
  .budget-sheet-kpis,
  .budget-sheet-chart-grid,
  .budget-sheet-insights,
  .advice-grid,
  .trust-link-grid,
  .trust-link-grid-premium,
  .guide-benefit-grid {
    grid-template-columns: 1fr;
  }
  .advice-section::before {
    width: calc(100% - 26px);
  }
  .advice-section > .container {
    padding: 28px 22px 30px;
    border-radius: 24px;
  }
  .advice-heading h2 {
    max-width: none;
    font-size: clamp(2rem, 10vw, 2.8rem);
  }
  .advice-ghost {
    grid-template-columns: 82px 1fr;
    min-height: 0;
    padding: 18px;
    gap: 16px;
    border-radius: 22px;
  }
  .advice-ghost__portrait,
  .advice-ghost img {
    width: 82px;
    height: 82px;
  }
  .advice-ghost__label {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }
  .advice-ghost figcaption strong {
    font-size: 1.05rem;
  }
  .advice-card {
    min-height: 0;
    padding: 22px;
  }
  .smart-expense-card header {
    grid-template-columns: auto 1fr;
  }
  .expense-priority-badge {
    grid-column: 1/-1;
    width: max-content;
  }
  .guide-sidebar {
    grid-template-columns: 1fr;
  }
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer__brand {
    grid-column: 1/-1;
  }
  .site-footer__grid nav:last-child {
    grid-column: auto;
  }
  .site-footer__bottom {
    display: grid;
  }
  .form-actions,
  .result-actions,
  .budget-sheet-actions {
    display: grid;
  }
  .form-actions .button,
  .result-actions .button,
  .budget-sheet-actions .button {
    width: 100%;
  }
  .page-hero,
  .legal-hero,
  .method-page-hero,
  .faq-page-hero,
  .guide-hero {
    padding: 64px 0 45px;
  }
  .page-hero__inner > img,
  .guide-hero-art img {
    max-height: 300px;
  }
  .author-box {
    grid-template-columns: 1fr;
  }
  .article-meta {
    display: grid;
    gap: 4px;
  }
}
@media (max-width: 1280px) and (min-width: 1051px) {
  .home-hero__copy {
    width: min(560px, 48%);
  }
  .home-hero h1 {
    font-size: clamp(3rem, 4.6vw, 4.15rem);
    max-width: 520px;
  }
  .home-hero__lead {
    max-width: 500px;
  }
  .home-hero__scene {
    background-size: auto 100%;
  }
  .home-hero__scene:before {
    background:
      linear-gradient(
        90deg,
        #061e34 0%,
        #061e34 24%,
        rgba(6, 30, 52, 0.98) 32%,
        rgba(6, 30, 52, 0.88) 41%,
        rgba(6, 30, 52, 0.62) 51%,
        rgba(6, 30, 52, 0.28) 62%,
        rgba(6, 30, 52, 0.07) 73%,
        transparent 82%
      ),
      linear-gradient(0deg, rgba(6, 30, 52, 0.38), transparent 34%);
  }
  .hero-benefits article {
    padding: 19px 18px;
    gap: 12px;
  }
  .hero-benefits strong {
    font-size: 1rem;
  }
}
@media (max-width: 1050px) {
  .home-hero {
    min-height: 730px;
  }
  .home-hero__scene {
    width: 100%;
    background-size: auto 100%;
    background-position: calc(100% + 90px) center;
  }
  .home-hero__scene:before {
    background:
      linear-gradient(
        90deg,
        #061e34 0%,
        #061e34 25%,
        rgba(6, 30, 52, 0.96) 35%,
        rgba(6, 30, 52, 0.82) 45%,
        rgba(6, 30, 52, 0.54) 57%,
        rgba(6, 30, 52, 0.18) 72%,
        transparent 92%
      ),
      linear-gradient(0deg, rgba(6, 30, 52, 0.38), transparent 32%);
  }
  .home-hero__copy {
    width: 50%;
    max-width: 500px;
  }
  .hero-benefits {
    grid-template-columns: 1fr 1fr;
  }
  .hero-benefits article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(13, 44, 70, 0.13);
  }
  .hero-benefits article:nth-child(4) {
    border-top: 1px solid rgba(13, 44, 70, 0.13);
  }
}
@media (max-width: 760px) {
  .home-hero {
    min-height: auto;
  }
  .home-hero__scene {
    background-image: url("assets/ghost/ghost-hero-cosy-mobile.webp");
    background-size: cover;
    order: 2;
  }
  .home-hero__scene:before {
    background: linear-gradient(
      180deg,
      #061e34 0%,
      rgba(6, 30, 52, 0.88) 12%,
      rgba(6, 30, 52, 0.1) 38%,
      rgba(6, 30, 52, 0.06) 78%,
      #061e34 100%
    );
  }
  .home-hero__inner {
    min-height: 0;
    display: block;
    padding-top: 34px;
  }
  .home-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .home-hero__primary,
  .home-hero__secondary {
    width: 100%;
  }
  .hero-benefits {
    display: block;
    border-radius: 22px;
  }
  .hero-benefits article {
    min-height: 92px;
    padding: 18px;
  }
  .hero-benefits article + article {
    border-left: 0;
    border-top: 1px solid rgba(13, 44, 70, 0.13);
  }
}
@media (max-width: 760px) {
  .home-hero {
    display: grid;
    grid-template-columns: 1fr;
    padding-bottom: 54px;
  }
  .home-hero__inner {
    grid-row: 1;
    grid-column: 1;
    position: relative;
    z-index: 3;
  }
  .home-hero__scene {
    grid-row: 2;
    grid-column: 1;
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 0;
  }
  .home-hero__glow {
    display: none;
  }
  .hero-benefits {
    grid-row: 3;
    grid-column: 1;
    margin-bottom: 0;
  }
}
@media (min-width: 1281px) {
  .home-hero__scene {
    background-position: calc(100% + 165px) center;
  }
}
@media (max-width: 1280px) and (min-width: 1051px) {
  .home-hero__scene {
    background-position: calc(100% + 150px) center;
  }
}
@media (min-width: 761px) {
  .home-hero {
    border-radius: 0 0 38px 38px;
  }
  .home-hero:after {
    content: none !important;
    display: none !important;
  }
}
@media (max-width: 1050px) {
  body.site-theme .calculator-section {
    padding-top: 34px;
  }
}
@media (min-width: 1500px) {
  .site-header__inner {
    min-height: 86px;
  }
  .site-brand img {
    width: 58px;
    height: 58px;
  }
  .site-brand strong {
    font-size: 1.42rem;
  }
  .site-nav a {
    font-size: 0.96rem;
    padding: 10px 15px;
  }
  .site-header__cta {
    min-width: 178px;
    padding: 13px 22px;
    font-size: 0.98rem;
  }
}
@media (max-width: 1280px) and (min-width: 761px) {
  .container {
    width: min(1180px, calc(100% - 36px));
  }
  .home-hero {
    width: calc(100% - 28px);
    margin-top: 18px;
  }
  .home-hero__inner,
  .hero-benefits {
    width: calc(100% - 46px);
  }
  .home-hero__copy {
    width: min(540px, 48%);
  }
  .home-hero h1 {
    font-size: clamp(3.05rem, 4.7vw, 4.15rem);
  }
  .home-hero h1 .hero-title-line {
    white-space: normal;
  }
  .home-hero__scene {
    background-position: calc(100% + 120px) 42%;
  }
}
@media (max-width: 1050px) and (min-width: 761px) {
  .home-hero {
    min-height: 700px;
  }
  .home-hero__inner {
    min-height: 620px;
  }
  .home-hero__copy {
    width: 50%;
    max-width: 500px;
  }
  .home-hero__scene {
    background-size: auto 100%;
    background-position: calc(100% + 90px) center;
  }
  .hero-benefits {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 28px);
  }
  .home-hero {
    width: calc(100% - 20px);
    margin-top: 10px;
    border-radius: 26px;
    box-shadow: 0 16px 42px rgba(7, 31, 53, 0.14);
  }
  .home-hero__inner,
  .hero-benefits {
    width: calc(100% - 28px);
  }
  .home-hero h1 .hero-title-line {
    white-space: normal;
  }
  body.site-theme .calculator-section {
    padding-top: 28px;
  }
}
@media (max-width: 760px) {
  .home-hero__copy {
    padding: 24px 0 24px;
  }
  .home-hero__eyebrow {
    margin-bottom: 20px;
    padding: 8px 13px;
    font-size: 0.7rem;
  }
  .home-hero h1 {
    letter-spacing: -0.035em;
  }
  .home-hero__actions {
    gap: 10px;
  }
  .home-hero__primary,
  .home-hero__secondary {
    min-height: 50px;
    padding: 12px 16px;
    font-size: 0.92rem;
  }
  .home-hero__trust {
    grid-template-columns: 1fr 1fr;
    margin-top: 18px;
    gap: 8px 10px;
    font-size: 0.7rem;
  }
  .hero-benefits {
    margin-top: -18px;
  }
}
@media (max-width: 760px) {
  .home-hero h1 {
    font-size: clamp(2.15rem, 9.2vw, 2.5rem);
    line-height: 1.01;
  }
  .home-hero__lead {
    font-size: 0.9rem;
    line-height: 1.48;
    margin: 18px 0 20px;
  }
  .home-hero__trust {
    display: none;
  }
  .home-hero__scene {
    height: 340px;
    background-position: center 32%;
  }
}
@media (max-width: 760px) {
  .home-hero__copy {
    width: 100%;
    max-width: none;
  }
}
@media (max-width: 700px) {
  .calculator-mode-picker {
    padding-top: 18px;
  }
  .calculator-note {
    margin-bottom: 18px;
    padding: 11px 12px;
    align-items: flex-start;
    border-radius: 13px;
  }
  .calculator-note p {
    font-size: 0.84rem;
  }
}
@media (max-width: 980px) {
  .calculator-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .calculator-mode-picker {
    grid-column: 1;
    grid-row: 1;
  }
  .calculator-layout {
    grid-column: 1;
    grid-row: 2;
  }
  .budget-sheet-section {
    grid-column: 1;
    grid-row: 3;
    padding: 0 18px 18px;
  }
}
@media (max-width: 1100px) {
  body.site-theme .calculator-shell {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 16px 18px;
  }
  body.site-theme .calculator-brand-rail {
    padding: 18px 13px;
  }
  body.site-theme .mode-picker-copy {
    display: block;
  }
  body.site-theme .mode-picker-intro {
    margin-top: 8px;
    text-align: left;
  }
}
@media (max-width: 980px) {
  body.site-theme .calculator-note {
    grid-column: 1;
    grid-row: 1;
  }
  body.site-theme .calculator-mode-picker {
    grid-column: 1;
    grid-row: 2;
  }
  body.site-theme .calculator-layout {
    grid-column: 1;
    grid-row: 3;
  }
  body.site-theme .budget-sheet-section {
    grid-column: 1;
    grid-row: 4;
  }
}
@media (max-width: 700px) {
  body.site-theme .mode-options {
    grid-template-columns: 1fr;
  }
  body.site-theme .form-step {
    padding: 18px 16px;
  }
  body.site-theme .smart-expense-card {
    padding: 17px 15px;
  }
}
@media (max-width: 1180px) {
  body.site-theme .expense-line-fields {
    grid-template-columns: minmax(180px, 1fr) minmax(140px, 0.75fr);
  }
  body.site-theme .expense-line-fields > .field:nth-of-type(3) {
    grid-column: 1 / -1;
  }
}
@media (max-width: 820px) {
  body.site-theme .expense-line {
    grid-template-columns: 38px minmax(0, 1fr);
  }
  body.site-theme .expense-line-fields {
    grid-template-columns: 1fr;
  }
  body.site-theme .expense-line-fields .expense-line-label,
  body.site-theme .expense-line-fields > .field:nth-of-type(2),
  body.site-theme .expense-line-fields > .field:nth-of-type(3),
  body.site-theme .expense-line-equivalent {
    grid-column: 1;
  }
  body.site-theme .remove-expense-line {
    grid-column: 2;
    justify-self: start;
  }
}
@media (max-width: 520px) {
  body.site-theme .expense-line {
    grid-template-columns: 1fr;
    padding: 15px;
  }
  body.site-theme .expense-line-number {
    width: 34px;
    height: 34px;
  }
  body.site-theme .remove-expense-line {
    grid-column: 1;
  }
}
@media (max-width: 760px) {
  body.site-theme .quick-simple-grid {
    grid-template-columns: 1fr;
  }
  body.site-theme .quick-adoption-cost {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
@media (max-width: 520px) {
  body.site-theme .quick-simple-field {
    padding: 14px;
  }
  body.site-theme .quick-simple-input {
    grid-template-columns: 1fr auto;
  }
  body.site-theme .quick-single-cat-note {
    align-items: flex-start;
  }
}
@media (max-width: 980px) {
  body.site-theme .calculator-shell {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  body.site-theme .calculator-brand-rail {
    display: none;
  }
  body.site-theme .calculator-main-column {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  body.site-theme .quick-monthly-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  body.site-theme .quick-monthly-field {
    grid-template-columns: auto 1fr;
  }
  body.site-theme .quick-monthly-field__input {
    grid-column: 1/-1;
    min-width: 0;
    justify-content: space-between;
  }
  body.site-theme .quick-monthly-field__input input {
    width: 100%;
  }
  body.site-theme .quick-live-total {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 981px) {
  body.site-theme .calculator-shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }
}
@media (max-width: 700px) {
  body.site-theme .calculator-note {
    font-size: 0.8rem;
    padding: 12px 14px;
  }
  body.site-theme .calculator-mode-picker {
    padding: 16px;
  }
  body.site-theme .quick-budget-step {
    padding: 18px 15px;
  }
}
@media (max-width: 980px) {
  body.site-theme .adoption-step-grid {
    grid-template-columns: 1fr;
  }
  body.site-theme .adoption-ghost-card {
    min-height: 230px;
  }
  body.site-theme .adoption-ghost-card img {
    object-position: center 46%;
  }
}
@media (max-width: 700px) {
  body.site-theme .adoption-step-main {
    padding: 20px 16px;
  }
  body.site-theme .adoption-presets {
    grid-template-columns: 1fr;
  }
  body.site-theme .adoption-presets button {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 12px;
    align-items: center;
  }
  body.site-theme .adoption-presets button small {
    grid-column: 1/-1;
  }
  body.site-theme .adoption-checklist {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  body.site-theme .adoption-total-field {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
@media (max-width: 760px) {
  body.site-theme .quick-monthly-field {
    grid-template-columns: 62px 1fr;
  }
  body.site-theme .quick-monthly-field__icon {
    width: 58px;
    height: 52px;
  }
  body.site-theme .quick-monthly-field__icon img {
    width: 58px;
    height: 48px;
  }
  body.site-theme .results-card {
    padding-right: 24px;
    padding-bottom: 150px;
  }
  body.site-theme .result-mascot {
    width: 125px;
    right: 6px;
  }
}

/* Estimation express — interface volontairement minimale */
.calculator-shell.is-quick-mode .situation-step,
.calculator-shell.is-quick-mode .results-card,
.calculator-shell.is-quick-mode .privacy-choice,
.calculator-shell.is-quick-mode .form-actions {
  display: none !important;
}
.quick-express-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 22px;
}
.quick-express-head h3 {
  margin: 4px 0 6px;
}
.quick-express-head p:last-child {
  margin: 0;
  color: var(--muted);
}

.quick-situation-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 520px);
  padding: 0;
  border: 0;
  background: transparent;
}
.quick-situation-toggle button {
  min-height: 70px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdfa;
  color: var(--navy);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}
.quick-situation-toggle button:hover {
  border-color: rgba(212, 161, 74, 0.7);
  transform: translateY(-1px);
}
.quick-situation-toggle button.is-active {
  border-color: var(--gold);
  background: linear-gradient(135deg, #fff9ed 0%, #fffdf8 100%);
  color: var(--navy);
  box-shadow:
    0 7px 18px rgba(5, 36, 58, 0.1),
    inset 0 0 0 1px rgba(212, 161, 74, 0.18);
}
.quick-situation-toggle__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f8ead0;
  color: #a96500;
  font-weight: 900;
  font-size: 1rem;
}
.quick-situation-toggle button.is-active .quick-situation-toggle__icon {
  background: var(--navy);
  color: #fff;
}
.quick-situation-toggle__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.quick-situation-toggle__text strong {
  font-size: 0.96rem;
  line-height: 1.15;
}
.quick-situation-toggle__text small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.25;
}
.quick-result {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1px;
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid rgba(212, 161, 74, 0.55);
  border-radius: 18px;
  background: rgba(212, 161, 74, 0.35);
}
.quick-result > div {
  background: #fffaf0;
  padding: 17px 20px;
}
.quick-result span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}
.quick-result strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.quick-result__main strong {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #b8710a;
}
.quick-result > p {
  grid-column: 1 / -1;
  margin: 0;
  padding: 9px 16px;
  background: #edf7f7;
  color: #31515e;
  font-size: 0.73rem;
}
.calculator-shell.is-quick-mode .detailed-mode-link {
  margin-top: 14px;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.88rem;
}
@media (max-width: 900px) {
  .quick-express-head {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .quick-situation-toggle {
    width: 100%;
  }
}
@media (max-width: 620px) {
  .calculator-shell.is-quick-mode .quick-budget-step {
    padding: 18px 15px;
  }
  .quick-situation-toggle {
    grid-template-columns: 1fr;
  }
  .quick-result {
    grid-template-columns: 1fr;
  }
  .quick-result > p {
    grid-column: 1;
  }
}

/* Structure du calculateur — colonne principale unique et estimation express lisible */
.calculator-main-column > * {
  width: 100%;
  min-width: 0;
  grid-column: auto !important;
  grid-row: auto !important;
}
.calculator-shell.is-quick-mode .calculator-mode-picker {
  padding: 22px 24px;
}
.calculator-shell.is-quick-mode .mode-picker-copy {
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1.2fr);
  align-items: center;
}
.calculator-shell.is-quick-mode .mode-picker-copy h3 {
  font-size: clamp(1.5rem, 2.1vw, 2rem);
  max-width: none;
}
.calculator-shell.is-quick-mode .quick-budget-step {
  padding: 24px;
}
.calculator-shell.is-quick-mode .quick-express-head {
  grid-template-columns: minmax(280px, 0.75fr) minmax(390px, 1.25fr);
  align-items: center;
  gap: 28px;
}
.calculator-shell.is-quick-mode .quick-express-head h3 {
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.12;
}
.calculator-shell.is-quick-mode .quick-monthly-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.calculator-shell.is-quick-mode .quick-monthly-field {
  grid-template-columns: 68px minmax(130px, 1fr) minmax(135px, auto);
  min-height: 96px;
}
.calculator-shell.is-quick-mode .quick-monthly-field__copy {
  min-width: 0;
}
.calculator-shell.is-quick-mode .quick-monthly-field__copy small {
  max-width: 210px;
}
.calculator-shell.is-quick-mode .quick-result {
  grid-template-columns: 1.25fr 1fr;
}
@media (max-width: 1100px) {
  .calculator-shell.is-quick-mode .quick-express-head,
  .calculator-shell.is-quick-mode .mode-picker-copy {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .calculator-shell.is-quick-mode .mode-picker-intro {
    text-align: left;
    max-width: none;
  }
}
@media (max-width: 860px) {
  .calculator-shell.is-quick-mode .quick-monthly-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .calculator-shell.is-quick-mode .quick-monthly-field {
    grid-template-columns: 58px minmax(0, 1fr);
  }
  .calculator-shell.is-quick-mode .quick-monthly-field__input {
    grid-column: 1 / -1;
  }
}
body.site-theme .mode-choice {
  align-items: center;
  min-height: 68px;
  padding: 14px 16px;
}
body.site-theme .mode-choice > span:nth-child(2) {
  display: flex;
  align-items: center;
  min-width: 0;
}
body.site-theme .mode-choice strong {
  font-size: 1rem;
  line-height: 1.2;
}
body.site-theme .mode-choice-badge {
  top: 50%;
  transform: translateY(-50%);
  right: 16px;
}
body.site-theme .mode-choice.is-active > span:nth-child(2) {
  padding-right: 88px;
}

/* Synthèse express — véritable étape 4 */
.calculator-shell.is-quick-mode .quick-result {
  scroll-margin-top: 120px;
}
.calculator-shell.is-quick-mode .quick-result__main,
.calculator-shell.is-quick-mode .quick-result__secondary {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calculator-shell.is-quick-mode .quick-result__secondary strong {
  font-size: 1.55rem;
}
.calculator-shell.is-quick-mode .detailed-mode-link {
  display: block;
  width: fit-content;
  margin: 16px auto 0;
  text-align: center;
}

@media (max-width: 1180px) {
  body.site-theme .calculator-rail-context {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
  }
  body.site-theme .calculator-rail-context img {
    width: 70px;
    height: 70px;
  }
}

/* Graphiques de synthèse du mode express */
.budget-charts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  padding: 20px;
  border-top: 1px solid rgba(203, 144, 43, 0.28);
  background:
    radial-gradient(
      circle at 12% 10%,
      rgba(225, 170, 69, 0.09),
      transparent 34%
    ),
    #fffdf8;
}

.budget-chart-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(11, 50, 72, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 30px rgba(11, 35, 52, 0.06);
}

.budget-chart-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.budget-chart-heading h4 {
  margin: 4px 0 0;
  color: #092b43;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  line-height: 1.15;
}

.budget-chart-kicker {
  color: #b7740c;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.budget-chart-total {
  flex: 0 0 auto;
  color: #0b3851;
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.budget-breakdown-layout {
  display: grid;
  grid-template-columns: 154px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.budget-donut {
  --budget-donut-background: conic-gradient(#e4e9eb 0 100%);
  position: relative;
  width: 154px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--budget-donut-background);
  box-shadow: inset 0 0 0 1px rgba(7, 43, 64, 0.08);
}

.budget-donut::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: #fffdf9;
  box-shadow: 0 4px 18px rgba(7, 43, 64, 0.08);
}

.budget-donut-center {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  text-align: center;
  pointer-events: none;
}

.budget-donut-center strong {
  color: #092b43;
  font-size: 1.14rem;
}

.budget-donut-center span {
  margin-top: 2px;
  color: #667681;
  font-size: 0.7rem;
}

.budget-chart-legend {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.budget-chart-legend li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: #304958;
  font-size: 0.82rem;
}

.budget-chart-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--legend-color);
}

.budget-chart-legend li[data-category="food"] {
  --legend-color: #d99a2b;
}
.budget-chart-legend li[data-category="litter"] {
  --legend-color: #17647a;
}
.budget-chart-legend li[data-category="health"] {
  --legend-color: #6f9f91;
}
.budget-chart-legend li[data-category="other"] {
  --legend-color: #c7775f;
}

.budget-chart-legend strong {
  color: #092b43;
  font-size: 0.8rem;
  white-space: nowrap;
}

.budget-projection-bars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 14px;
  min-height: 184px;
  padding-top: 10px;
}

.projection-column {
  display: grid;
  grid-template-rows: 28px 130px auto;
  gap: 7px;
  text-align: center;
}

.projection-value {
  align-self: end;
  overflow: hidden;
  color: #0b3851;
  font-size: 0.72rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.projection-track {
  position: relative;
  overflow: hidden;
  height: 130px;
  border-radius: 13px 13px 7px 7px;
  background:
    repeating-linear-gradient(
      to top,
      rgba(10, 57, 80, 0.04) 0,
      rgba(10, 57, 80, 0.04) 1px,
      transparent 1px,
      transparent 25%
    ),
    #f3f1ea;
}

.projection-track i {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4%;
  min-height: 4px;
  border-radius: 11px 11px 5px 5px;
  background: linear-gradient(180deg, #edbd61, #c88316);
  transition: height 0.35s ease;
}

.projection-column:nth-child(2) .projection-track i {
  background: linear-gradient(180deg, #6ca9b2, #17647a);
}

.projection-column:nth-child(3) .projection-track i {
  background: linear-gradient(180deg, #8fbaad, #507f73);
}

.projection-column:nth-child(4) .projection-track i {
  background: linear-gradient(180deg, #edaa8e, #b55e49);
}

.projection-column > span {
  color: #657782;
  font-size: 0.72rem;
  font-weight: 700;
}

.budget-chart-note {
  margin: 12px 0 0;
  color: #71808a;
  font-size: 0.72rem;
  text-align: center;
}

.quick-result > .quick-result-local {
  grid-column: 1 / -1;
  margin: 0;
}

@media (max-width: 900px) {
  .budget-charts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .budget-charts {
    padding: 14px;
  }

  .budget-chart-card {
    padding: 16px;
  }

  .budget-breakdown-layout {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .budget-chart-legend {
    width: 100%;
  }

  .budget-projection-bars {
    gap: 8px;
  }

  .projection-value {
    font-size: 0.64rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .projection-track i {
    transition: none;
  }
}

/* Justification des niveaux d’adoption */
body.site-theme .adoption-level-intro > span {
  display: block;
  color: #a86b12;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
body.site-theme .adoption-level-intro h4 {
  color: var(--navy);
}
body.site-theme .adoption-level-intro p {
  margin: 0;
  color: var(--muted);
}
body.site-theme .adoption-level-card__heading {
  padding-bottom: 10px;
  border-bottom: 1px solid #edf0f1;
}
body.site-theme .adoption-level-card__heading span {
  color: #a86b12;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body.site-theme .adoption-level-card__heading strong {
  color: var(--navy);
  font-family: "Playfair Display", serif;
}
body.site-theme .adoption-level-card ul {
  display: grid;
  gap: 7px;
}
body.site-theme .adoption-level-card li::marker {
  color: #c98a22;
}
body.site-theme .adoption-level-card p {
  padding-top: 9px;
}
body.site-theme .adoption-verification-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 18px;
  padding: 13px 15px;
  border: 1px solid #bfd8de;
  border-radius: 14px;
  background: #edf8f9;
  color: #24434f;
  font-size: 0.78rem;
  line-height: 1.45;
}
body.site-theme .adoption-verification-note strong {
  flex: 0 0 auto;
  color: #0c5163;
}
body.site-theme .adoption-source-note a {
  color: #0d5e73;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

@media (max-width: 900px) {
  body.site-theme .adoption-level-details {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  body.site-theme .adoption-level-card__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
  body.site-theme .adoption-verification-note {
    display: block;
  }
  body.site-theme .adoption-verification-note strong {
    display: block;
    margin-bottom: 4px;
  }
}

/* Dossier éditorial Adoption */
.adoption-dossier-index {
  margin: 0 0 42px;
  padding: 30px;
  border: 1px solid rgba(205, 144, 39, 0.24);
  border-radius: 28px;
  background: linear-gradient(135deg, #fffaf0, #f2f8f7);
  box-shadow: 0 18px 45px rgba(11, 43, 63, 0.07);
}
.adoption-dossier-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 22px;
}
.adoption-dossier-heading h2 {
  margin: 4px 0 8px;
  color: #092b43;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}
.adoption-dossier-heading p {
  max-width: 720px;
  margin-bottom: 0;
}
.adoption-dossier-grid,
.adoption-related-grid,
.adoption-module-guides__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.adoption-dossier-grid a,
.adoption-related-grid a,
.adoption-module-guides__grid a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(11, 50, 72, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: #092b43;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.adoption-dossier-grid a:hover,
.adoption-related-grid a:hover,
.adoption-module-guides__grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(205, 144, 39, 0.55);
  box-shadow: 0 12px 28px rgba(11, 43, 63, 0.08);
}
.adoption-dossier-grid a > span {
  color: #b7740c;
  font-weight: 900;
  font-size: 0.78rem;
}
.adoption-dossier-grid strong,
.adoption-related-grid strong,
.adoption-module-guides__grid strong {
  font-size: 0.96rem;
}
.adoption-dossier-grid small,
.adoption-related-grid span,
.adoption-module-guides__grid span {
  color: #62727c;
  font-size: 0.78rem;
  line-height: 1.45;
}
.adoption-related-guides {
  margin: 38px 0;
  padding: 26px;
  border-radius: 24px;
  background: #f5f9f8;
  border: 1px solid rgba(23, 100, 122, 0.16);
}
.adoption-related-guides h2 {
  margin: 3px 0 18px;
}
.adoption-related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.adoption-guide-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}
.adoption-guide-checklist span {
  padding: 13px 15px;
  border-radius: 14px;
  background: #f5f9f8;
  border: 1px solid rgba(23, 100, 122, 0.14);
}
.adoption-mini-nav {
  display: grid;
  gap: 8px;
}
.adoption-mini-nav a {
  padding: 9px 0;
  border-bottom: 1px solid rgba(11, 50, 72, 0.1);
  font-weight: 750;
}
.adoption-module-guides {
  margin-top: 22px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(23, 100, 122, 0.16);
  background: linear-gradient(135deg, #f2f9f8, #fffaf1);
}
.adoption-module-guides h4 {
  margin: 4px 0 14px;
  color: #092b43;
  font-size: 1.15rem;
}
.adoption-module-guides__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.adoption-module-guides__grid a {
  padding: 13px;
}
.adoption-module-guides__all {
  display: inline-flex;
  margin-top: 14px;
  color: #0d5268;
  font-weight: 850;
}
@media (max-width: 900px) {
  .adoption-dossier-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .adoption-dossier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .adoption-dossier-index {
    padding: 20px;
  }
  .adoption-dossier-grid,
  .adoption-related-grid,
  .adoption-module-guides__grid,
  .adoption-guide-checklist {
    grid-template-columns: 1fr;
  }
}

/* Médaillon officiel Ghost */
img[src$="ghost-medallion-official.webp"] {
  object-fit: cover;
  object-position: center center;
}
.calculator-rail-context img[src$="ghost-medallion-official.webp"],
.brand-avatar img[src$="ghost-medallion-official.webp"],
.site-logo img[src$="ghost-medallion-official.webp"],
.avatar img[src$="ghost-medallion-official.webp"] {
  border-radius: 50%;
}

/* Module Adoption — alignement sur la référence validée */

/* Module Adoption — structure canonique nettoyée */
body.site-theme .adoption-module {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 34%);
  align-items: start;
  overflow: hidden;
  border: 1px solid rgba(205, 144, 39, 0.35);
  border-radius: 26px;
  box-shadow: 0 20px 55px rgba(11, 43, 63, 0.08);
}
body.site-theme .adoption-module__content {
  min-width: 0;
  padding: 28px 30px 24px;
  background: #fffdf9;
}

body.site-theme .adoption-module__ghost-copy .ad-kicker {
  display: block;
  color: #efb447;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
body.site-theme .adoption-module__ghost-copy strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.24rem, 2vw, 1.62rem);
  line-height: 1.14;
}
body.site-theme .adoption-module__ghost-copy p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.83rem;
  line-height: 1.5;
}
body.site-theme .adoption-module__ghost-copy::after {
  content: "♥";
  display: block;
  margin-top: 16px;
  color: #e2a93d;
  font-size: 1.25rem;
  text-align: center;
}

/* Adoption: the visual panel stops after Ghost's advice. */
body.site-theme .adoption-module {
  background: #fffdf9;
}

/* Image canonique du module Adoption */

@media (max-width: 980px) {
  body.site-theme .adoption-module {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  body.site-theme .adoption-module__content {
    padding: 20px 18px;
  }
}

body.site-theme .adoption-level-intro {
  grid-column: auto;
  padding: 4px 2px 6px;
}

body.site-theme .adoption-level-intro h4 {
  margin: 5px 0 7px;
  font-size: clamp(1.18rem, 2vw, 1.42rem);
  line-height: 1.2;
}

body.site-theme .adoption-level-intro p {
  max-width: 74ch;
  font-size: 0.9rem;
  line-height: 1.55;
}

body.site-theme .adoption-level-card {
  display: grid;
  grid-template-columns: minmax(155px, 0.34fr) minmax(0, 1fr);
  grid-template-areas:
    "heading list"
    "summary list";
  gap: 10px 24px;
  min-width: 0;
  padding: 20px 22px;
  border: 1px solid #d8e0e4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(12, 42, 58, 0.055);
}

body.site-theme .adoption-level-card__heading {
  grid-area: heading;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 5px;
  padding: 0;
  border: 0;
}

body.site-theme .adoption-level-card__heading span {
  font-size: 0.76rem;
  line-height: 1.2;
}

body.site-theme .adoption-level-card__heading strong {
  font-size: 1.2rem;
  line-height: 1.15;
  white-space: normal;
}

body.site-theme .adoption-level-card ul {
  grid-area: list;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 9px;
  align-content: start;
  margin: 0;
  padding-left: 20px;
  color: #284252;
  font-size: 0.88rem;
  line-height: 1.48;
}

body.site-theme .adoption-level-card p {
  grid-area: summary;
  align-self: end;
  margin: 0;
  padding: 10px 0 0;
  border-top: 1px dashed #d9e1e4;
  color: #61717b;
  font-size: 0.82rem;
  line-height: 1.5;
}

@media (max-width: 760px) {
  body.site-theme .adoption-level-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "list"
      "summary";
    gap: 12px;
    padding: 18px;
  }

  body.site-theme .adoption-level-card ul {
    grid-template-columns: 1fr;
    font-size: 0.86rem;
  }
}

/* Adoption — détails repliables */
body.site-theme .adoption-level-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 8px 0 20px;
}

body.site-theme .adoption-level-disclosure {
  border: 1px solid #d8e0e4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(12, 42, 58, 0.055);
}

body.site-theme .adoption-level-disclosure__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  color: #0a2f48;
}

body.site-theme .adoption-level-disclosure__summary::-webkit-details-marker {
  display: none;
}

body.site-theme .adoption-level-disclosure__summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f6ead0;
  color: #a86508;
  font-size: 1.15rem;
  font-weight: 900;
  transition: transform 0.2s ease;
}

body.site-theme
  .adoption-level-disclosure[open]
  .adoption-level-disclosure__summary::after {
  content: "−";
  transform: rotate(180deg);
}

body.site-theme .adoption-level-disclosure__title {
  color: #b56f05;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.site-theme .adoption-level-disclosure__summary strong {
  color: #092b43;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  white-space: nowrap;
}

body.site-theme .adoption-level-disclosure__hint {
  color: #0f5b72;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

body.site-theme .adoption-level-disclosure__content {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(190px, 0.55fr);
  gap: 24px;
  padding: 0 20px 20px;
  border-top: 1px solid #edf1f3;
}

body.site-theme .adoption-level-disclosure__content ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 24px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: #284252;
  font-size: 0.88rem;
  line-height: 1.5;
}

body.site-theme .adoption-level-disclosure__content p {
  align-self: start;
  margin: 18px 0 0;
  padding: 14px 0 0 18px;
  border-left: 3px solid #ead7ac;
  color: #61717b;
  font-size: 0.82rem;
  line-height: 1.5;
}

@media (max-width: 760px) {
  body.site-theme .adoption-level-disclosure__summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body.site-theme .adoption-level-disclosure__hint {
    display: none;
  }

  body.site-theme .adoption-level-disclosure__content {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.site-theme .adoption-level-disclosure__content ul {
    grid-template-columns: 1fr;
  }

  body.site-theme .adoption-level-disclosure__content p {
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px dashed #d9e1e4;
  }
}

/* Bloc Adoption — illustration fixe et cadres harmonisés */
body.site-theme .adoption-module,
body.site-theme .adoption-module__content,
body.site-theme .adoption-module__ghost,
body.site-theme .kitten-tree-illustration-card,
body.site-theme .adoption-level-disclosure,
body.site-theme .adoption-module-guides,
body.site-theme .adoption-source-note,
body.site-theme .adoption-checklist,
body.site-theme .adoption-starting-cost {
  box-sizing: border-box;
}

/* Même langage visuel pour tous les cadres du bloc Adoption */
body.site-theme .adoption-level-disclosure,
body.site-theme .adoption-module-guides,
body.site-theme .adoption-source-note,
body.site-theme .adoption-checklist,
body.site-theme .adoption-starting-cost {
  border: 1px solid #d7e0e4;
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: none;
}

body.site-theme .adoption-level-disclosure {
  overflow: hidden;
}

body.site-theme .adoption-module-guides,
body.site-theme .adoption-checklist,
body.site-theme .adoption-starting-cost {
  padding: 18px;
}

body.site-theme .adoption-source-note {
  padding: 14px 16px;
  background: #eef7f7;
  border-color: #cbdfe3;
}

body.site-theme .adoption-level-disclosure__summary {
  border-radius: 0;
  background: #fffdf8;
}

body.site-theme .adoption-level-disclosure__content {
  background: #fff;
}
body.site-theme .adoption-module__visual-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  align-self: start;
}

body.site-theme .adoption-module__ghost {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: var(--adoption-radius);
  background: #062f46;
  color: #fff;
  box-sizing: border-box;
}

body.site-theme .adoption-module__ghost > img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: var(--adoption-radius) var(--adoption-radius) 0 0;
  object-fit: contain;
  object-position: center top;
  box-sizing: border-box;
}

body.site-theme .adoption-module__ghost-copy {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 28px 25px 30px;
  border-radius: 0 0 var(--adoption-radius) var(--adoption-radius);
  background: linear-gradient(180deg, #07344b 0%, #052a40 100%);
  color: #fff;
  box-sizing: border-box;
  overflow: hidden;
}

body.site-theme .kitten-tree-illustration-card {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d7e0e4;
  border-radius: var(--adoption-radius);
  background: #fffdf8;
  box-shadow: 0 10px 28px rgba(11, 43, 63, 0.06);
  box-sizing: border-box;
}

body.site-theme .kitten-tree-illustration {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: var(--adoption-radius) var(--adoption-radius) 0 0;
  object-fit: contain;
  object-position: center;
  background: #f7eddb;
}

body.site-theme .kitten-tree-illustration-card figcaption {
  margin: 0;
  padding: 14px 16px 16px;
  border-top: 1px solid #e5eaed;
  border-radius: 0 0 var(--adoption-radius) var(--adoption-radius);
  background: #fffdf8;
  color: #536a76;
  font-size: 0.8rem;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 980px) {
  body.site-theme .adoption-module__visual-column,
  body.site-theme .adoption-module__ghost,
  body.site-theme .kitten-tree-illustration-card {
    width: 100%;
  }
}

/* Budget personnalisé — profils de chats compacts */
body.site-theme .cat-profiles {
  display: grid;
  gap: 14px;
}

body.site-theme .cat-profile-disclosure {
  overflow: hidden;
}

body.site-theme .cat-profile-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 32px;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  list-style: none;
}

body.site-theme .cat-profile-header::-webkit-details-marker {
  display: none;
}

body.site-theme .cat-profile-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

body.site-theme .cat-profile-title h4 {
  margin: 0;
  font-size: 1rem;
}

body.site-theme .cat-profile-title small {
  display: block;
  margin-top: 2px;
  color: #657681;
  font-size: 0.76rem;
}

body.site-theme .cat-profile-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #f8e8c5;
  font-size: 1rem;
}

body.site-theme .profile-monthly-badge {
  padding: 7px 11px;
  border-radius: 999px;
  background: #edf7f6;
  color: #0b5268;
  font-size: 0.78rem;
  font-weight: 850;
  white-space: nowrap;
}

body.site-theme .cat-profile-toggle {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f6ead0;
  color: #a86508;
  font-size: 1.08rem;
  font-weight: 900;
}

body.site-theme .cat-profile-disclosure[open] .cat-profile-toggle {
  transform: rotate(45deg);
}

body.site-theme .cat-profile-body {
  border-top: 1px solid #edf1f3;
}

body.site-theme .profile-section {
  padding: 18px 0 0;
}

body.site-theme .profile-section + .profile-section {
  border-top: 1px solid #edf1f3;
}

body.site-theme .profile-section h5 {
  margin: 0 0 12px;
  color: #092b43;
}

body.site-theme .health-context {
  padding: 18px 0 0;
  background: none;
  border: 0;
}

body.site-theme .health-context > strong {
  display: none;
}

body.site-theme .checkbox-grid {
  display: flex;
  flex-wrap: wrap;
}

body.site-theme .check-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #d7e0e4;
  font-size: 0.78rem;
}

body.site-theme .check-chip:has(input:checked) {
  border-color: #d4a14a;
  background: #fff7e5;
}

body.site-theme .profile-help {
  margin: 10px 0 0;
  color: #687983;
  font-size: 0.76rem;
  line-height: 1.45;
}

body.site-theme .profile-costs > .form-grid {
  display: grid;
  grid-template-columns: 1fr;
}

body.site-theme .profile-cost-row {
  display: grid;
  align-items: center;
  border: 1px solid #dbe3e7;
}

body.site-theme .profile-cost-label {
  color: #173a50;
  font-weight: 800;
}

body.site-theme .profile-cost-amount {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
}

body.site-theme .profile-cost-frequency {
  display: grid;
  grid-template-columns: auto 66px minmax(92px, 1fr);
  align-items: center;
  gap: 7px;
}

body.site-theme .profile-cost-row .monthly-equivalent {
  color: #0b6074;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 820px) {
  body.site-theme .profile-cost-row {
    grid-template-columns: minmax(0, 1fr) minmax(105px, 0.55fr);
    grid-template-areas:
      "label equivalent"
      "amount frequency";
  }
  body.site-theme .profile-cost-label {
    grid-area: label;
  }
  body.site-theme .profile-cost-amount {
    grid-area: amount;
  }
  body.site-theme .profile-cost-frequency {
    grid-area: frequency;
  }
  body.site-theme .profile-cost-row .monthly-equivalent {
    grid-area: equivalent;
    text-align: right;
  }
}

@media (max-width: 560px) {
  body.site-theme .cat-profile-header {
    grid-template-columns: minmax(0, 1fr) 28px;
  }
  body.site-theme .profile-monthly-badge {
    grid-column: 1 / -1;
    justify-self: start;
  }
  body.site-theme .profile-cost-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "label"
      "amount"
      "frequency"
      "equivalent";
  }
  body.site-theme .profile-cost-row .monthly-equivalent {
    text-align: left;
  }
}

/* Budget personnalisé — finition visuelle des profils */
body.site-theme .profiles-step {
  background: #fffdf9;
}

body.site-theme .profiles-step > .section-card,
body.site-theme .cat-profiles {
  border: 0;
  box-shadow: none;
  background: transparent;
}

body.site-theme .cat-profile-disclosure {
  border: 1px solid #d6e0e4;
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
}

body.site-theme .cat-profile-header {
  padding: 15px 16px;
  background: #fffaf1;
}

body.site-theme .cat-profile-body {
  padding: 0 16px 16px;
}

body.site-theme .profile-section {
  padding-top: 16px;
}

body.site-theme .profile-section + .profile-section {
  margin-top: 14px;
  padding-top: 16px;
}

body.site-theme .profile-section h5 {
  margin-bottom: 10px;
  font-size: 0.86rem;
}

body.site-theme .checkbox-grid {
  gap: 7px;
}

body.site-theme .check-chip {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 12px;
  background: #fff;
}

body.site-theme .profile-costs > .form-grid {
  gap: 8px;
}

body.site-theme .profile-cost-row {
  grid-template-columns: minmax(190px, 1.15fr) minmax(110px, 0.5fr) minmax(
      210px,
      0.95fr
    ) minmax(80px, 0.35fr);
  gap: 9px;
  min-height: 54px;
  padding: 9px 10px;
  border-radius: 12px;
  background: #fff;
}

body.site-theme .profile-cost-label {
  font-size: 0.8rem;
}

body.site-theme .profile-cost-row input,
body.site-theme .profile-cost-row select {
  min-height: 36px;
  border-radius: 10px;
}

body.site-theme .profile-cost-row .monthly-equivalent {
  text-align: right;
}

body.site-theme .profile-help {
  margin-top: 8px;
}

body.site-theme .profile-stage-note {
  margin-top: 14px;
  border-radius: 14px;
}

body.site-theme .detailed-food-step,
body.site-theme .other-costs-step {
  margin-top: 14px;
}

@media (max-width: 900px) {
  body.site-theme .profile-cost-row {
    grid-template-columns: minmax(150px, 1fr) minmax(105px, 0.5fr);
    grid-template-areas:
      "label equivalent"
      "amount frequency";
  }
}

@media (max-width: 620px) {
  body.site-theme .cat-profile-header {
    padding: 14px;
  }

  body.site-theme .cat-profile-body {
    padding: 0 14px 14px;
  }

  body.site-theme .profile-cost-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "label"
      "amount"
      "frequency"
      "equivalent";
  }

  body.site-theme .profile-cost-row .monthly-equivalent {
    text-align: left;
  }
}

/* Budget personnalisé — alimentation, litière et autres postes harmonisés */
body.site-theme #food-detail-step,
body.site-theme #common-expenses-step {
  background: #fffdf9;
}

body.site-theme #food-detail-step .expense-lines,
body.site-theme .repeatable-expense-groups {
  gap: 12px;
}

body.site-theme .expense-line,
body.site-theme .litter-detail-panel,
body.site-theme .expense-category-panel {
  border: 1px solid #d7e0e4;
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
}

body.site-theme .expense-line {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 15px;
}

body.site-theme .expense-line-fields {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) minmax(135px, 0.65fr) minmax(
      210px,
      0.9fr
    );
  gap: 10px 12px;
  align-items: end;
}

body.site-theme .expense-line-fields .field {
  gap: 5px;
}

body.site-theme .expense-line-fields .field > span:first-child {
  font-size: 0.76rem;
  font-weight: 800;
  color: #304957;
}

body.site-theme .expense-line-equivalent {
  grid-column: 1 / -1;
  margin: 0;
  color: #0b6074;
  font-size: 0.74rem;
  font-weight: 800;
}

body.site-theme .expense-line input,
body.site-theme .expense-line select,
body.site-theme .litter-detail-panel input,
body.site-theme .litter-detail-panel select {
  min-height: 40px;
  border-radius: 11px;
}

body.site-theme .expense-category-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 14px;
}

body.site-theme .expense-category-heading h4 {
  margin: 5px 0 6px;
  font-size: 1.08rem;
}

body.site-theme .expense-category-heading p {
  max-width: 72ch;
  margin: 0;
  color: #5e707a;
  font-size: 0.84rem;
  line-height: 1.5;
}

body.site-theme .expense-category-total {
  align-self: start;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff6df;
  color: #a86405;
  font-size: 0.8rem;
  font-weight: 900;
  white-space: nowrap;
}

body.site-theme .litter-detail-panel,
body.site-theme .expense-category-panel {
  padding: 18px;
}

body.site-theme .litter-detail-panel .form-grid.three-cols {
  display: grid;
  grid-template-columns: minmax(150px, 0.75fr) minmax(150px, 0.75fr) minmax(
      190px,
      1fr
    );
  gap: 12px;
  align-items: end;
}

body.site-theme .add-expense-line {
  margin-top: 12px;
}

body.site-theme .repeatable-expense-groups {
  margin-top: 12px;
}

body.site-theme .expense-category-panel + .expense-category-panel {
  margin-top: 0;
}

@media (max-width: 860px) {
  body.site-theme .expense-line-fields {
    grid-template-columns: minmax(0, 1fr) minmax(130px, 0.65fr);
  }

  body.site-theme .expense-line-fields > .field:nth-of-type(3) {
    grid-column: 1 / -1;
  }

  body.site-theme .litter-detail-panel .form-grid.three-cols {
    grid-template-columns: 1fr 1fr;
  }

  body.site-theme .litter-detail-panel .form-grid.three-cols .field:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  body.site-theme .expense-line {
    grid-template-columns: 1fr;
    align-items: start;
  }

  body.site-theme .expense-line-number {
    width: 34px;
    height: 34px;
  }

  body.site-theme .expense-line-fields {
    grid-template-columns: 1fr;
  }

  body.site-theme .expense-line-fields .expense-line-label,
  body.site-theme .expense-line-fields > .field:nth-of-type(2),
  body.site-theme .expense-line-fields > .field:nth-of-type(3),
  body.site-theme .expense-line-equivalent {
    grid-column: 1;
  }

  body.site-theme .remove-expense-line {
    justify-self: start;
  }

  body.site-theme .expense-category-heading {
    grid-template-columns: 1fr;
  }

  body.site-theme .expense-category-total {
    justify-self: start;
  }

  body.site-theme .litter-detail-panel .form-grid.three-cols {
    grid-template-columns: 1fr;
  }

  body.site-theme .litter-detail-panel .form-grid.three-cols .field:last-child {
    grid-column: 1;
  }
}
body.site-theme .privacy-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 17px 18px;
  border: 1px solid #d5e0e4;
  border-radius: 18px;
  background: #fffdf9;
}
body.site-theme .privacy-choice p {
  margin: 4px 0 0;
  color: #5f707a;
  line-height: 1.45;
}
body.site-theme .privacy-choice .remember-toggle {
  white-space: nowrap;
}
body.site-theme .privacy-choice .text-button {
  padding: 9px 11px;
  border-radius: 10px;
}

body.site-theme .results-card {
  min-height: 0;
  padding-right: 24px;
  overflow: visible;
}
body.site-theme .results-card::after {
  display: none;
}
body.site-theme .results-sticky {
  position: static;
  display: block;
}
body.site-theme .results-card-modern-head {
  margin-bottom: 16px;
}
body.site-theme .breakdown,
body.site-theme .ghost-tip,
body.site-theme .completeness-card {
  padding: 17px;
}
body.site-theme .completeness-list strong {
  display: block;
}
body.site-theme .completeness-list small {
  display: block;
}
body.site-theme .budget-sheet {
  border-radius: 22px;
}

@media (max-width: 850px) {
  body.site-theme .privacy-choice {
    grid-template-columns: 1fr;
  }
  body.site-theme .result-overview,
  body.site-theme .result-analysis-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  body.site-theme .result-summary {
    grid-template-columns: 1fr;
  }
  body.site-theme .completeness-heading {
    display: grid;
  }
  body.site-theme #completeness-status {
    justify-self: start;
  }
}

body.site-theme .budget-sheet-section {
  margin-top: 18px;
}

body.site-theme .express-sheet {
  overflow: hidden;
  border: 1px solid rgba(212, 161, 74, 0.65);
  border-radius: 20px;
  background: #fffaf0;
  box-shadow: 0 16px 36px rgba(8, 45, 72, 0.05);
}

body.site-theme .express-sheet__summary {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  border-bottom: 1px solid rgba(212, 161, 74, 0.48);
}

body.site-theme .express-sheet__metric {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 136px;
  padding: 22px;
}

body.site-theme .express-sheet__metric + .express-sheet__metric {
  border-left: 1px solid rgba(212, 161, 74, 0.32);
}

body.site-theme .express-sheet__metric span {
  color: #516976;
  font-size: 0.78rem;
}

body.site-theme .express-sheet__metric strong {
  margin-top: 12px;
  color: #082d48;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.72rem;
  line-height: 1;
}

body.site-theme .express-sheet__metric--primary strong {
  color: #bc6d00;
  font-size: clamp(2.35rem, 4vw, 3rem);
}

body.site-theme .express-sheet__charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 18px 20px;
}

body.site-theme .express-chart-card {
  min-width: 0;
  min-height: 348px;
  padding: 20px;
  border: 1px solid #d9e1e5;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(8, 45, 72, 0.035);
}

body.site-theme .express-chart-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

body.site-theme .express-chart-heading span {
  display: block;
  margin-bottom: 5px;
  color: #b56c00;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.site-theme .express-chart-heading h2 {
  margin: 0;
  color: #082d48;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  line-height: 1.15;
}

body.site-theme .express-chart-heading > strong {
  color: #526875;
  font-size: 0.78rem;
  white-space: nowrap;
}

body.site-theme .express-donut-layout {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

body.site-theme .express-donut {
  --sheet-donut-background: conic-gradient(#e5eaec 0 100%);
  position: relative;
  width: 164px;
  height: 164px;
  margin: auto;
  border-radius: 50%;
  background: var(--sheet-donut-background);
}

body.site-theme .express-donut::after {
  content: "";
  position: absolute;
  inset: 23px;
  border-radius: 50%;
  background: #fff;
}

body.site-theme .express-donut__center {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  text-align: center;
}

body.site-theme .express-donut__center strong {
  color: #082d48;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  line-height: 1;
}

body.site-theme .express-donut__center span {
  margin-top: 7px;
  color: #61747f;
  font-size: 0.68rem;
}

body.site-theme .express-legend {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.site-theme .express-legend li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
}

body.site-theme .express-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

body.site-theme .express-legend span {
  min-width: 0;
  color: #415b68;
  font-size: 0.78rem;
}

body.site-theme .express-legend strong {
  color: #082d48;
  font-size: 0.8rem;
  white-space: nowrap;
}

body.site-theme .express-projection-bars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 14px;
  min-height: 205px;
  padding-top: 8px;
}

body.site-theme .express-projection-column {
  display: grid;
  grid-template-rows: 28px 138px auto;
  gap: 8px;
  text-align: center;
}

body.site-theme .express-projection-value {
  align-self: end;
  overflow: hidden;
  color: #082d48;
  font-size: 0.72rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.site-theme .express-projection-track {
  position: relative;
  overflow: hidden;
  height: 138px;
  border-radius: 13px 13px 7px 7px;
  background:
    repeating-linear-gradient(
      to top,
      rgba(8, 45, 72, 0.04) 0,
      rgba(8, 45, 72, 0.04) 1px,
      transparent 1px,
      transparent 25%
    ),
    #f3f1ea;
}

body.site-theme .express-projection-track i {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 5px;
  border-radius: 11px 11px 5px 5px;
  background: linear-gradient(180deg, #e8bd59, #d69a23);
}

body.site-theme .express-projection-column:nth-child(2) i {
  background: linear-gradient(180deg, #59a5b5, #17647a);
}

body.site-theme .express-projection-column:nth-child(3) i {
  background: linear-gradient(180deg, #8bb8aa, #4e8272);
}

body.site-theme .express-projection-column:nth-child(4) i {
  background: linear-gradient(180deg, #e39a7d, #bd634d);
}

body.site-theme .express-projection-column > span {
  color: #526875;
  font-size: 0.71rem;
}

body.site-theme .express-projection-note {
  margin: 12px 0 0;
  color: #60747f;
  font-size: 0.7rem;
  text-align: center;
}

body.site-theme .express-sheet__details {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  align-items: center;
  margin: 0 20px 16px;
  padding: 11px 14px;
  border: 1px solid rgba(212, 161, 74, 0.24);
  border-radius: 13px;
  background: #fffdf8;
  color: #516976;
  font-size: 0.72rem;
}

body.site-theme .express-sheet__details strong {
  color: #082d48;
  font-size: 0.78rem;
}

body.site-theme .budget-sheet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 20px 18px;
}

body.site-theme .budget-sheet-actions .button {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: none;
}

body.site-theme .budget-sheet-actions .button-primary {
  border-color: #dea73d;
  background: linear-gradient(135deg, #f3c35f, #dfa93d);
  color: #082d48;
}

body.site-theme .budget-sheet-actions .button-secondary {
  border-color: #d5e0e4;
  background: #fff;
  color: #0b3952;
}

body.site-theme .express-sheet__footer {
  padding: 11px 16px;
  border-top: 1px solid rgba(83, 145, 164, 0.2);
  background: #edf8f8;
  color: #365d6d;
  font-size: 0.72rem;
}

@media (max-width: 900px) {
  body.site-theme .express-sheet__charts {
    grid-template-columns: 1fr;
  }

  body.site-theme .express-chart-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  body.site-theme .express-sheet__summary {
    grid-template-columns: 1fr;
  }

  body.site-theme .express-sheet__metric {
    min-height: 105px;
    padding: 18px;
  }

  body.site-theme .express-sheet__metric + .express-sheet__metric {
    border-top: 1px solid rgba(212, 161, 74, 0.32);
    border-left: 0;
  }

  body.site-theme .express-sheet__charts {
    padding: 14px;
  }

  body.site-theme .express-chart-card {
    padding: 16px;
    border-radius: 16px;
  }

  body.site-theme .express-donut-layout {
    grid-template-columns: 1fr;
  }

  body.site-theme .express-legend {
    width: 100%;
  }

  body.site-theme .express-projection-bars {
    gap: 8px;
  }

  body.site-theme .express-projection-column {
    grid-template-rows: 36px 118px auto;
  }

  body.site-theme .express-projection-track {
    height: 118px;
  }

  body.site-theme .express-sheet__details {
    margin: 0 14px 14px;
  }

  body.site-theme .budget-sheet-actions {
    display: grid;
    padding: 0 14px 14px;
  }

  body.site-theme .budget-sheet-actions .button {
    width: 100%;
  }
}

@media print {
  body.site-theme .budget-sheet-section {
    break-inside: avoid;
  }

  body.site-theme .budget-sheet-actions {
    display: none !important;
  }

  body.site-theme .express-sheet {
    box-shadow: none;
  }
}

/* =========================================================
   BLOC SITUATION — RECONSTRUCTION PROPRE
   Aucune dépendance aux anciennes classes.
   ========================================================= */

body.site-theme .situation-cards {
  margin-top: 16px;
}

body.site-theme .situation-card {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(212, 161, 74, 0.46);
  border-radius: 22px;
  background: #fffdf8;
  box-shadow: 0 16px 36px rgba(10, 43, 62, 0.06);
}

body.site-theme .situation-card[hidden] {
  display: none !important;
}

body.site-theme .situation-card__media {
  position: relative;
  min-width: 0;
  min-height: 360px;
  overflow: hidden;
  background: #fffdf8;
}

body.site-theme .situation-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
  border: 0;
  margin: 0;
}

/* Fondu premium très doux, uniquement à la jonction. */
body.site-theme .situation-card__media::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  width: 12%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 253, 248, 0) 0%,
    rgba(255, 253, 248, 0.05) 45%,
    rgba(255, 253, 248, 0.22) 72%,
    rgba(255, 253, 248, 0.58) 90%,
    #fffdf8 100%
  );
}

body.site-theme .situation-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 30px 32px 30px 28px;
  background: #fffdf8;
}

body.site-theme .situation-card__eyebrow {
  color: #b56c00;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

body.site-theme .situation-card__title {
  display: block;
  margin-top: 9px;
  color: #082d48;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1.12;
}

body.site-theme .situation-card__intro {
  max-width: 58ch;
  margin: 12px 0 24px;
  color: #4f6977;
  font-size: 0.94rem;
  line-height: 1.55;
}

body.site-theme .situation-card__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.site-theme .situation-card__feature {
  min-width: 0;
  text-align: center;
}

body.site-theme .situation-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #fae6bc;
  color: #9a5d00;
}

body.site-theme .situation-card__icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.site-theme .situation-card__feature strong {
  display: block;
  color: #092f49;
  font-size: 0.83rem;
  line-height: 1.28;
}

body.site-theme .situation-card__feature p {
  margin: 5px 0 0;
  color: #617782;
  font-size: 0.72rem;
  line-height: 1.45;
}

body.site-theme .situation-card[data-mode-visual="adoption"] {
  background: #fffaf0;
}

body.site-theme
  .situation-card[data-mode-visual="adoption"]
  .situation-card__media,
body.site-theme
  .situation-card[data-mode-visual="adoption"]
  .situation-card__content {
  background: #fffaf0;
}

body.site-theme
  .situation-card[data-mode-visual="adoption"]
  .situation-card__media::after {
  background: linear-gradient(
    90deg,
    rgba(255, 250, 240, 0) 0%,
    rgba(255, 250, 240, 0.05) 45%,
    rgba(255, 250, 240, 0.22) 72%,
    rgba(255, 250, 240, 0.58) 90%,
    #fffaf0 100%
  );
}

body.site-theme .situation-note {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(83, 145, 164, 0.28);
  border-radius: 16px;
  background: linear-gradient(135deg, #f5fbfb 0%, #edf7f8 100%);
  box-shadow: 0 8px 22px rgba(8, 45, 72, 0.045);
}

body.site-theme .situation-note__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(19, 88, 111, 0.28);
  border-radius: 50%;
  background: #fff;
  color: #0d5872;
  box-shadow: 0 5px 14px rgba(13, 88, 114, 0.08);
}

body.site-theme .situation-note__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.site-theme .situation-note__content {
  min-width: 0;
}

body.site-theme .situation-note__content strong {
  display: block;
  margin: 0 0 4px;
  color: #082d48;
  font-size: 0.94rem;
  line-height: 1.35;
}

body.site-theme .situation-note__content p {
  margin: 0;
  color: #4f6977;
  font-size: 0.84rem;
  line-height: 1.5;
}

@media (max-width: 680px) {
  body.site-theme .situation-note {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    padding: 14px;
  }

  body.site-theme .situation-note__icon {
    width: 36px;
    height: 36px;
  }

  body.site-theme .situation-note__icon svg {
    width: 21px;
    height: 21px;
  }
}

@media (max-width: 900px) {
  body.site-theme .situation-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body.site-theme .situation-card__media {
    min-height: 0;
  }

  body.site-theme .situation-card__media img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16/9;
  }

  body.site-theme .situation-card__media::after {
    top: auto;
    right: 0;
    bottom: -1px;
    left: 0;
    width: auto;
    height: 24%;
    background: linear-gradient(
      180deg,
      rgba(255, 253, 248, 0) 0%,
      rgba(255, 253, 248, 0.08) 42%,
      rgba(255, 253, 248, 0.35) 72%,
      #fffdf8 100%
    );
  }

  body.site-theme
    .situation-card[data-mode-visual="adoption"]
    .situation-card__media::after {
    background: linear-gradient(
      180deg,
      rgba(255, 250, 240, 0) 0%,
      rgba(255, 250, 240, 0.08) 42%,
      rgba(255, 250, 240, 0.35) 72%,
      #fffaf0 100%
    );
  }

  body.site-theme .situation-card__content {
    padding: 24px 20px 26px;
  }
}

@media (max-width: 680px) {
  body.site-theme .situation-card__features {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.site-theme .situation-card__feature {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    text-align: left;
  }

  body.site-theme .situation-card__icon {
    width: 48px;
    height: 48px;
    margin: 0;
  }
}

body.site-theme .cat-profiles-section {
  border-radius: 22px;
}

body.site-theme .cat-profile-card {
  overflow: hidden;
  border: 1px solid rgba(98, 132, 151, 0.24);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(8, 45, 72, 0.045);
}

body.site-theme .cat-profile-card__header {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(98, 132, 151, 0.16);
  background: linear-gradient(135deg, #fffaf0 0%, #fffdf8 100%);
}

body.site-theme .cat-profile-card__body {
  padding: 22px 18px 20px;
}

body.site-theme .cat-profile-card fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

body.site-theme .cat-profile-card legend,
body.site-theme .cat-profile-card .profile-section-title {
  margin-bottom: 14px;
  color: #082d48;
  font-size: 0.86rem;
  font-weight: 800;
}

body.site-theme .cat-profile-card input,
body.site-theme .cat-profile-card select {
  min-height: 46px;
  border: 1px solid #cfdde4;
  border-radius: 14px;
  background: #fff;
  color: #082d48;
  box-shadow: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

body.site-theme .cat-profile-card input:focus,
body.site-theme .cat-profile-card select:focus {
  outline: none;
  border-color: #6fa6b7;
  box-shadow: 0 0 0 4px rgba(78, 146, 167, 0.12);
  background: #fff;
}

body.site-theme .cat-profile-card input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

body.site-theme
  .cat-profile-card
  input[type="number"]::-webkit-inner-spin-button,
body.site-theme
  .cat-profile-card
  input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

body.site-theme .cat-health-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

body.site-theme .cat-health-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #d5e0e5;
  border-radius: 999px;
  background: #fff;
  color: #173f57;
  font-size: 0.78rem;
  line-height: 1.2;
  cursor: pointer;
  transition: 0.18s ease;
}

body.site-theme .cat-health-options label:hover {
  border-color: #9fc1cc;
  background: #f7fbfc;
}

body.site-theme .cat-health-options input {
  min-height: 0;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #0d5872;
}

body.site-theme .cat-expense-list {
  display: grid;
  gap: 10px;
}

body.site-theme .cat-expense-row {
  display: grid;
  grid-template-columns: minmax(210px, 1.35fr) minmax(
      150px,
      0.62fr
    ) auto minmax(68px, 0.28fr) minmax(150px, 0.62fr) minmax(105px, 0.42fr);
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid #d9e3e8;
  border-radius: 15px;
  background: #fcfdfd;
}

body.site-theme .cat-expense-row:hover {
  border-color: #bed2da;
  background: #fff;
}

body.site-theme .cat-expense-row__label {
  color: #082d48;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.3;
}

body.site-theme .cat-expense-row input,
body.site-theme .cat-expense-row select {
  width: 100%;
  min-height: 42px;
  border-radius: 12px;
}

body.site-theme .cat-expense-row__period {
  color: #607682;
  font-size: 0.76rem;
  white-space: nowrap;
}

body.site-theme .cat-expense-row__monthly {
  color: #00607d;
  font-size: 0.76rem;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

body.site-theme .profile-budget-note {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f5fafb;
  color: #5c737f;
  font-size: 0.75rem;
  line-height: 1.45;
}

@media (max-width: 980px) {
  body.site-theme .cat-expense-row {
    grid-template-columns: minmax(180px, 1fr) minmax(
        130px,
        0.65fr
      ) auto 70px minmax(130px, 0.65fr);
  }

  body.site-theme .cat-expense-row__monthly {
    grid-column: 2 / -1;
    text-align: left;
  }
}

@media (max-width: 720px) {
  body.site-theme .cat-profile-card__body {
    padding: 18px 14px;
  }

  body.site-theme .cat-expense-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px;
  }

  body.site-theme .cat-expense-row__label {
    grid-column: 1 / -1;
  }

  body.site-theme .cat-expense-row__period {
    align-self: center;
  }

  body.site-theme .cat-expense-row__monthly {
    grid-column: 1 / -1;
    padding-top: 2px;
  }
}

body.site-theme #food-detail-step {
  border-radius: 22px;
}

body.site-theme #food-detail-step .step-heading {
  margin-bottom: 16px;
}

body.site-theme #food-detail-step .section-priority-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 5px;
  padding: 5px 10px;
  border: 1px solid rgba(212, 161, 74, 0.34);
  border-radius: 999px;
  background: #fff8e9;
  color: #9b5d00;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

body.site-theme #food-detail-step .detail-section-intro {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 0 0 14px;
  padding: 13px 15px;
  border: 1px solid rgba(75, 151, 173, 0.25);
  border-radius: 14px;
  background: linear-gradient(135deg, #f4fafb 0%, #edf7f8 100%);
}

body.site-theme #food-detail-step .detail-section-intro > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #176c86;
  color: #fff;
  font-size: 0;
}

body.site-theme #food-detail-step .detail-section-intro > span::before {
  content: "✓";
  font-size: 1rem;
  font-weight: 900;
}

body.site-theme #food-detail-step .detail-section-intro p {
  margin: 0;
  color: #405f6e;
  font-size: 0.82rem;
  line-height: 1.48;
}

body.site-theme #food-detail-step .detail-section-intro strong {
  color: #082d48;
}

body.site-theme #food-detail-step .expense-lines {
  display: grid;
  gap: 10px;
}

body.site-theme #food-detail-step .expense-line {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(102, 137, 156, 0.24);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(8, 45, 72, 0.035);
}

body.site-theme #food-detail-step .expense-line-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: #fff0cf;
  color: #ad6700;
  font-size: 0.78rem;
  font-weight: 900;
}

body.site-theme #food-detail-step .expense-line-fields {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) minmax(150px, 0.72fr) minmax(
      220px,
      1fr
    );
  gap: 12px;
  align-items: end;
  min-width: 0;
}

body.site-theme #food-detail-step .expense-line-fields .field {
  min-width: 0;
}

body.site-theme
  #food-detail-step
  .expense-line-fields
  .field
  > span:first-child {
  display: block;
  margin-bottom: 6px;
  color: #173f57;
  font-size: 0.75rem;
  font-weight: 800;
}

body.site-theme #food-detail-step .expense-line input,
body.site-theme #food-detail-step .expense-line select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfdde4;
  border-radius: 12px;
  background: #fff;
  color: #082d48;
  box-shadow: none;
}

body.site-theme #food-detail-step .expense-line input:focus,
body.site-theme #food-detail-step .expense-line select:focus {
  outline: none;
  border-color: #6fa6b7;
  box-shadow: 0 0 0 4px rgba(78, 146, 167, 0.12);
}

body.site-theme #food-detail-step .expense-line input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

body.site-theme
  #food-detail-step
  .expense-line
  input[type="number"]::-webkit-inner-spin-button,
body.site-theme
  #food-detail-step
  .expense-line
  input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

body.site-theme #food-detail-step .duration-controls {
  display: grid;
  grid-template-columns: 74px minmax(130px, 1fr);
  gap: 8px;
}

body.site-theme #food-detail-step .expense-line-equivalent {
  grid-column: 2 / -1;
  margin: 0;
  padding-top: 2px;
  color: #00607d;
  font-size: 0.76rem;
  font-weight: 800;
}

body.site-theme #food-detail-step .remove-expense-line {
  align-self: end;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(181, 91, 61, 0.2);
  border-radius: 11px;
  background: #fff8f5;
  color: #a34e35;
  font-size: 0.74rem;
  font-weight: 800;
}

body.site-theme #food-detail-step .remove-expense-line[hidden] {
  display: none !important;
}

body.site-theme #food-detail-step .add-expense-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  margin-top: 12px;
  padding: 0 15px;
  border: 1px solid rgba(20, 105, 132, 0.28);
  border-radius: 999px;
  background: #f3fafb;
  color: #0d5872;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: none;
}

body.site-theme #food-detail-step .add-expense-line:hover {
  border-color: rgba(20, 105, 132, 0.5);
  background: #eaf6f8;
}

body.site-theme #food-detail-step .add-expense-line > span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #176c86;
  color: #fff;
  font-size: 1rem;
  line-height: 1;
}

@media (max-width: 980px) {
  body.site-theme #food-detail-step .expense-line-fields {
    grid-template-columns: minmax(180px, 1.2fr) minmax(140px, 0.7fr);
  }

  body.site-theme #food-detail-step .expense-line-fields .field:nth-child(3) {
    grid-column: 1 / -1;
  }

  body.site-theme #food-detail-step .expense-line-equivalent {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  body.site-theme #food-detail-step .expense-line {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  body.site-theme #food-detail-step .expense-line-number {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  body.site-theme #food-detail-step .expense-line-fields {
    grid-template-columns: 1fr;
  }

  body.site-theme #food-detail-step .expense-line-fields .field:nth-child(3),
  body.site-theme #food-detail-step .expense-line-equivalent {
    grid-column: auto;
  }

  body.site-theme #food-detail-step .remove-expense-line {
    grid-column: 2;
    justify-self: start;
  }

  body.site-theme #food-detail-step .duration-controls {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  body.site-theme #food-detail-step .add-expense-line {
    width: 100%;
    justify-content: center;
  }
}

body.site-theme #other-expenses-step {
  border-radius: 22px;
}

body.site-theme #other-expenses-step .step-heading {
  margin-bottom: 16px;
}

body.site-theme #other-expenses-step .expense-category-card {
  margin-top: 12px;
  padding: 18px;
  border: 1px solid rgba(101, 136, 155, 0.24);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(8, 45, 72, 0.04);
}

body.site-theme
  #other-expenses-step
  .expense-category-card
  + .expense-category-card {
  margin-top: 14px;
}

body.site-theme #other-expenses-step .expense-category-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}

body.site-theme #other-expenses-step .expense-category-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 5px;
  color: #617782;
  font-size: 0.72rem;
  font-weight: 700;
}

body.site-theme #other-expenses-step .expense-category-title {
  margin: 0;
  color: #082d48;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.25;
}

body.site-theme #other-expenses-step .expense-category-description {
  max-width: 68ch;
  margin: 6px 0 0;
  color: #5b7280;
  font-size: 0.79rem;
  line-height: 1.48;
}

body.site-theme #other-expenses-step .expense-category-total {
  align-self: start;
  min-width: 112px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff3d8;
  color: #a15f00;
  font-size: 0.76rem;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

body.site-theme #other-expenses-step .simple-expense-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(180px, 0.8fr) minmax(
      220px,
      1fr
    );
  gap: 12px;
  align-items: end;
}

body.site-theme
  #other-expenses-step
  .simple-expense-grid
  .field
  > span:first-child,
body.site-theme
  #other-expenses-step
  .expense-line-fields
  .field
  > span:first-child {
  display: block;
  margin-bottom: 6px;
  color: #173f57;
  font-size: 0.74rem;
  font-weight: 800;
}

body.site-theme #other-expenses-step input,
body.site-theme #other-expenses-step select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfdde4;
  border-radius: 12px;
  background: #fff;
  color: #082d48;
  box-shadow: none;
}

body.site-theme #other-expenses-step input:focus,
body.site-theme #other-expenses-step select:focus {
  outline: none;
  border-color: #6fa6b7;
  box-shadow: 0 0 0 4px rgba(78, 146, 167, 0.12);
}

body.site-theme #other-expenses-step input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

body.site-theme
  #other-expenses-step
  input[type="number"]::-webkit-inner-spin-button,
body.site-theme
  #other-expenses-step
  input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

body.site-theme #other-expenses-step .expense-lines {
  display: grid;
  gap: 10px;
}

body.site-theme #other-expenses-step .expense-line {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px;
  border: 1px solid #d9e3e8;
  border-radius: 15px;
  background: #fcfdfd;
}

body.site-theme #other-expenses-step .expense-line:hover {
  border-color: #bed2da;
  background: #fff;
}

body.site-theme #other-expenses-step .expense-line-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff0cf;
  color: #ad6700;
  font-size: 0.77rem;
  font-weight: 900;
}

body.site-theme #other-expenses-step .expense-line-fields {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) minmax(150px, 0.72fr) minmax(
      220px,
      1fr
    );
  gap: 12px;
  align-items: end;
  min-width: 0;
}

body.site-theme #other-expenses-step .duration-controls {
  display: grid;
  grid-template-columns: 74px minmax(130px, 1fr);
  gap: 8px;
}

body.site-theme #other-expenses-step .expense-line-equivalent {
  grid-column: 2 / -1;
  margin: 0;
  padding-top: 2px;
  color: #00607d;
  font-size: 0.76rem;
  font-weight: 800;
}

body.site-theme #other-expenses-step .add-expense-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  margin-top: 12px;
  padding: 0 14px;
  border: 1px solid rgba(20, 105, 132, 0.28);
  border-radius: 999px;
  background: #f3fafb;
  color: #0d5872;
  font-size: 0.78rem;
  font-weight: 800;
}

body.site-theme #other-expenses-step .add-expense-line:hover {
  border-color: rgba(20, 105, 132, 0.5);
  background: #eaf6f8;
}

body.site-theme #other-expenses-step .add-expense-line > span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #176c86;
  color: #fff;
  font-size: 0.95rem;
}

body.site-theme #other-expenses-step .remove-expense-line {
  align-self: end;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(181, 91, 61, 0.2);
  border-radius: 11px;
  background: #fff8f5;
  color: #a34e35;
  font-size: 0.74rem;
  font-weight: 800;
}

body.site-theme #other-expenses-step .remove-expense-line[hidden] {
  display: none !important;
}

body.site-theme #other-expenses-step .monthly-inline-result {
  margin-top: 8px;
  color: #00607d;
  font-size: 0.76rem;
  font-weight: 800;
}

@media (max-width: 980px) {
  body.site-theme #other-expenses-step .simple-expense-grid {
    grid-template-columns: 1fr 1fr;
  }

  body.site-theme #other-expenses-step .simple-expense-grid .field:last-child {
    grid-column: 1 / -1;
  }

  body.site-theme #other-expenses-step .expense-line-fields {
    grid-template-columns: minmax(180px, 1.2fr) minmax(140px, 0.7fr);
  }

  body.site-theme
    #other-expenses-step
    .expense-line-fields
    .field:nth-child(3) {
    grid-column: 1 / -1;
  }

  body.site-theme #other-expenses-step .expense-line-equivalent {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  body.site-theme #other-expenses-step .expense-category-card {
    padding: 14px;
    border-radius: 16px;
  }

  body.site-theme #other-expenses-step .expense-category-header {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.site-theme #other-expenses-step .expense-category-total {
    justify-self: start;
  }

  body.site-theme #other-expenses-step .simple-expense-grid {
    grid-template-columns: 1fr;
  }

  body.site-theme #other-expenses-step .simple-expense-grid .field:last-child {
    grid-column: auto;
  }

  body.site-theme #other-expenses-step .expense-line {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  body.site-theme #other-expenses-step .expense-line-number {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  body.site-theme #other-expenses-step .expense-line-fields {
    grid-template-columns: 1fr;
  }

  body.site-theme #other-expenses-step .expense-line-fields .field:nth-child(3),
  body.site-theme #other-expenses-step .expense-line-equivalent {
    grid-column: auto;
  }

  body.site-theme #other-expenses-step .remove-expense-line {
    grid-column: 2;
    justify-self: start;
  }

  body.site-theme #other-expenses-step .duration-controls {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  body.site-theme #other-expenses-step .add-expense-line {
    width: 100%;
    justify-content: center;
  }
}

body.site-theme .results-card {
  padding: 24px;
  border: 1px solid rgba(102, 137, 156, 0.24);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(8, 45, 72, 0.055);
}

body.site-theme .results-card-modern-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: #173f57;
}

body.site-theme .results-card-modern-head > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef6f7;
  color: #0f6175;
  font-size: 0.85rem;
}

body.site-theme .results-card-modern-head strong {
  font-size: 0.9rem;
}

body.site-theme .results-card-modern-head small {
  display: inline;
  margin-left: 4px;
  color: #60737d;
  font-size: 0.78rem;
}

body.site-theme .result-overview {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.22fr);
  gap: 14px;
  align-items: stretch;
}

body.site-theme .result-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 164px;
  padding: 22px;
  border: 1px solid rgba(212, 161, 74, 0.38);
  border-radius: 18px;
  background: linear-gradient(145deg, #fff9ec 0%, #fffdf8 100%);
}

body.site-theme .result-main .eyebrow {
  margin: 0 0 10px;
  color: #b56c00;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}

body.site-theme .result-main h2 {
  margin: 0;
  color: #082f49;
  font-size: clamp(2.65rem, 5vw, 3.65rem);
  line-height: 0.98;
}

body.site-theme .result-main .result-caption {
  margin: 10px 0 0;
  color: #536a76;
  font-size: 0.95rem;
}

body.site-theme .result-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 10px;
  margin: 0;
}

body.site-theme .result-summary > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 16px;
  border: 1px solid #dce4e8;
  border-radius: 16px;
  background: #faf8f3;
}

body.site-theme .result-summary span {
  color: #60737d;
  font-size: 0.76rem;
  line-height: 1.35;
}

body.site-theme .result-summary strong {
  display: block;
  margin-top: 7px;
  color: #082f49;
  font-size: 1.2rem;
  line-height: 1.2;
}

body.site-theme .result-analysis-row {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(250px, 0.58fr);
  gap: 14px;
  margin-top: 14px;
}

body.site-theme .breakdown,
body.site-theme .ghost-tip,
body.site-theme .completeness-card {
  margin: 0;
  border: 1px solid #d7e0e4;
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
}

body.site-theme .breakdown {
  padding: 18px;
}

body.site-theme .breakdown-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

body.site-theme .breakdown-heading h3 {
  margin: 0;
  color: #082d48;
  font-size: 1.15rem;
}

body.site-theme #breakdown-total {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef6f7;
  color: #0f6175;
  font-size: 0.76rem;
  font-weight: 900;
}

body.site-theme #breakdown-list {
  display: grid;
  gap: 12px;
}

body.site-theme .breakdown-row {
  display: grid;
  gap: 7px;
}

body.site-theme .breakdown-row > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #173f57;
  font-size: 0.8rem;
}

body.site-theme .breakdown-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef0;
}

body.site-theme .breakdown-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

body.site-theme .ghost-tip {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px;
  background: linear-gradient(145deg, #fffaf0, #fffdf8);
}

body.site-theme .ghost-tip .ghost-mood-image {
  width: 76px;
  height: 76px;
  border: 2px solid rgba(212, 161, 74, 0.78);
  border-radius: 50%;
  background: #071f35;
  object-fit: cover;
}

body.site-theme .ghost-tip p {
  margin: 0;
  color: #415965;
  font-size: 0.82rem;
  line-height: 1.5;
}

body.site-theme .completeness-card {
  margin-top: 14px;
  padding: 18px;
}

body.site-theme .completeness-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}

body.site-theme .completeness-kicker {
  color: #60737d;
  font-size: 0.72rem;
  font-weight: 700;
}

body.site-theme .completeness-heading h3 {
  margin: 4px 0 0;
  color: #082d48;
  font-size: 1.14rem;
}

body.site-theme #completeness-status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #fff4d9;
  color: #9b6208;
  font-size: 0.75rem;
  font-weight: 900;
  white-space: nowrap;
}

body.site-theme .completeness-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.site-theme .completeness-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  min-height: 62px;
  padding: 11px;
  border: 1px solid #edf1f2;
  border-radius: 13px;
  background: #fafbfb;
}

body.site-theme .completeness-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #e7eef0;
  font-weight: 900;
}

body.site-theme .completeness-list li > span:last-child {
  display: grid;
  gap: 3px;
}

body.site-theme .completeness-list strong {
  color: #183d52;
  font-size: 0.79rem;
}

body.site-theme .completeness-list small {
  color: #60737d;
  font-size: 0.72rem;
  line-height: 1.38;
}

body.site-theme .completeness-list .is-complete .completeness-icon {
  background: #dcefe9;
  color: #176b59;
}

body.site-theme .completeness-list .is-missing .completeness-icon {
  background: #fff0d2;
  color: #a46300;
}

body.site-theme .result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

body.site-theme .result-actions .button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid #d4dfe3;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  color: #0b3851;
  font-size: 0.8rem;
}

body.site-theme .result-actions .button:hover,
body.site-theme .result-actions a:hover {
  border-color: #d4a14a;
  background: #fff8e7;
}

body.site-theme .results-card .privacy-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(83, 145, 164, 0.22);
  border-radius: 13px;
  background: #f1f8f8;
  color: #355d6d;
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  body.site-theme .result-overview,
  body.site-theme .result-analysis-row {
    grid-template-columns: 1fr;
  }

  body.site-theme .completeness-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body.site-theme .results-card {
    padding: 16px;
  }

  body.site-theme .results-card-modern-head {
    align-items: flex-start;
  }

  body.site-theme .results-card-modern-head small {
    display: block;
    margin: 3px 0 0;
  }

  body.site-theme .result-summary {
    grid-template-columns: 1fr;
  }

  body.site-theme .completeness-heading {
    display: grid;
  }

  body.site-theme #completeness-status {
    justify-self: start;
  }

  body.site-theme .result-actions {
    display: grid;
  }

  body.site-theme .result-actions .button {
    width: 100%;
  }
}
body.site-theme .button-reset-bottom {
  margin-left: auto;
  border: 1px solid rgba(167, 83, 55, 0.22);
  background: #fff8f5;
  color: #9d4f37;
}

body.site-theme .button-reset-bottom:hover {
  border-color: rgba(167, 83, 55, 0.42);
  background: #fff1eb;
}

@media (max-width: 620px) {
  body.site-theme .button-reset-bottom {
    margin-left: 0;
    width: 100%;
  }
}

body.site-theme .stats-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e1e8eb;
}

body.site-theme .stats-actions--sheet {
  margin: 0 20px;
  padding: 16px 0 18px;
}

body.site-theme .stats-action-button {
  min-height: 44px;
  padding: 10px 17px;
  border-radius: 12px;
  box-shadow: none;
  font-size: 0.82rem;
  font-weight: 800;
}

body.site-theme .stats-action-button[data-save-budget] {
  border: 1px solid #cadce2;
  background: #fff;
  color: #0b4059;
}

body.site-theme .stats-action-button[data-print-budget] {
  border: 1px solid #dca53b;
  background: linear-gradient(135deg, #f4c35e, #dfa93d);
  color: #082d48;
}

body.site-theme .stats-action-button[data-reset-budget] {
  margin-left: auto;
  border: 1px solid rgba(167, 83, 55, 0.3);
  background: #fff7f3;
  color: #97452f;
}

@media (max-width: 620px) {
  body.site-theme .stats-actions,
  body.site-theme .stats-actions--sheet {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.site-theme .stats-actions--sheet {
    margin: 0 14px;
  }

  body.site-theme .stats-action-button,
  body.site-theme .stats-action-button[data-reset-budget] {
    width: 100%;
    margin-left: 0;
  }
}

@media print {
  body.print-stats-only * {
    visibility: hidden !important;
  }

  body.print-stats-only .is-print-target,
  body.print-stats-only .is-print-target * {
    visibility: visible !important;
  }

  body.print-stats-only .is-print-target {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: none !important;
  }

  body.print-stats-only .stats-actions {
    display: none !important;
  }
}

/* Actions de l’estimation express */
body.site-theme .quick-result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  padding: 16px 20px 14px;
  border-top: 1px solid rgba(212, 161, 74, 0.28);
  background: #fffaf0;
}
body.site-theme .quick-result-action-button {
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 12px;
  box-shadow: none;
  font-size: 0.8rem;
  font-weight: 800;
}
body.site-theme .quick-result-action-button[data-save-budget] {
  border: 1px solid #cadce2;
  background: #fff;
  color: #0b4059;
}
body.site-theme .quick-result-action-button[data-print-budget] {
  border: 1px solid #dca53b;
  background: linear-gradient(135deg, #f4c35e, #dfa93d);
  color: #082d48;
}
body.site-theme .quick-result-action-button[data-reset-express] {
  margin-left: auto;
  border: 1px solid rgba(167, 83, 55, 0.32);
  background: #fff7f3;
  color: #97452f;
}
@media (max-width: 620px) {
  body.site-theme .quick-result-actions {
    display: grid;
    padding: 14px;
  }
  body.site-theme .quick-result-action-button,
  body.site-theme .quick-result-action-button[data-reset-express] {
    width: 100%;
    margin-left: 0;
  }
}

/* Recommendations partenaires — composant canonique */
.budget-recommendations > .container {
  width: min(1540px, calc(100% - 56px));
}

.recommendation-heading {
  max-width: 820px;
}

.partner-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.55rem;
  margin-top: 2.25rem;
}

.partner-product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(196, 139, 42, 0.34);
  border-radius: 1.45rem;
  background: #fffcf6;
  box-shadow: 0 16px 38px rgba(10, 42, 61, 0.09);
}

.partner-product-media {
  width: 100%;
  aspect-ratio: 1400 / 988;
  overflow: hidden;
  background: #eee4d3;
}

.partner-product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.partner-product-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 305px;
  padding: 1.35rem 1.45rem 1.45rem;
}

.partner-product h3 {
  margin: 0.8rem 0 0.7rem;
  color: #062a43;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.38rem, 1.42vw, 1.72rem);
  line-height: 1.16;
}

.partner-product p {
  margin: 0;
  color: #314b5c;
  font-size: 1rem;
  line-height: 1.58;
}

.partner-marker {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.36rem 0.78rem;
  border: 1px solid rgba(196, 139, 42, 0.38);
  border-radius: 999px;
  background: #fff5dc;
  color: #995f00;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.partner-product-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.35rem;
}

.partner-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.76rem 1.2rem;
  border: 1px solid rgba(7, 50, 76, 0.32);
  border-radius: 999px;
  background: transparent;
  color: #07324c;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.partner-link:hover,
.partner-link:focus-visible {
  transform: translateY(-1px);
  background: #eef8fa;
  color: #07324c;
  box-shadow: 0 8px 20px rgba(7, 50, 76, 0.12);
}

.partner-link-neutral {
  background: transparent;
  color: #07324c;
}

.partner-product-footer small {
  color: #607581;
  line-height: 1.4;
}

.partner-product-compact {
  border-radius: 1.05rem;
  box-shadow: none;
}

.partner-product-compact .partner-product-media {
  aspect-ratio: 16 / 9;
}

.commercial-disclosure {
  margin: 1.25rem 0 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(20, 122, 145, 0.24);
  border-radius: 1rem;
  background: #eef8fa;
  color: #24495a;
}

@media (max-width: 1120px) {
  .budget-recommendations > .container {
    width: min(980px, calc(100% - 36px));
  }

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

@media (max-width: 680px) {
  .budget-recommendations > .container {
    width: calc(100% - 28px);
  }

  .partner-product-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.45rem;
  }

  .partner-product-content {
    min-height: 0;
    padding: 1.1rem;
  }

  .partner-product h3 {
    font-size: 1.35rem;
  }
}

/* Homepage section rhythm: avoid doubled vertical padding between adjacent blocks. */
.calculator-section {
  padding-bottom: 42px;
}
.budget-recommendations {
  padding-top: 42px;
  padding-bottom: 54px;
}
.budget-recommendations + .guides-preview {
  padding-top: 54px;
}
.guides-preview {
  padding-bottom: 54px;
}
.guides-preview + .advice-section {
  padding-top: 28px;
}

@media (max-width: 760px) {
  .calculator-section {
    padding-bottom: 32px;
  }
  .budget-recommendations {
    padding-top: 32px;
    padding-bottom: 42px;
  }
  .budget-recommendations + .guides-preview {
    padding-top: 42px;
  }
  .guides-preview {
    padding-bottom: 42px;
  }
  .guides-preview + .advice-section {
    padding-top: 24px;
  }
}

/* Page Guides — structure canonique */
body.modern-guides-index .page-hero--guides {
  padding: 72px 0 64px;
}
body.modern-guides-index .page-hero--guides .page-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 18px 54px;
}
body.modern-guides-index .page-hero--guides .page-hero__inner > div {
  grid-column: 1;
  grid-row: 1 / span 2;
  max-width: 590px;
}
body.modern-guides-index .page-hero--guides .page-hero__inner > img {
  grid-column: 2;
  grid-row: 1;
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 26px;
  mix-blend-mode: normal;
  -webkit-mask-image: none;
  mask-image: none;
  filter: drop-shadow(0 22px 32px rgba(7, 31, 53, 0.14));
}
body.modern-guides-index .page-hero--guides .page-hero__inner > aside {
  position: static;
  grid-column: 2;
  grid-row: 2;
  justify-self: start;
  max-width: 430px;
  margin: 0;
  padding: 13px 17px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(7, 31, 53, 0.08);
}
body.modern-guides-index .page-hero--guides .page-hero__inner > aside span {
  color: #4d6470;
}
body.modern-guides-index .guides-index {
  padding-top: 64px;
}
body.modern-guides-index .guides-index > .container {
  width: min(1320px, calc(100% - 48px));
}
body.modern-guides-index .adoption-dossier-index {
  width: 100%;
  margin-bottom: 34px;
}
@media (max-width: 1050px) {
  body.modern-guides-index .page-hero--guides .page-hero__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 24px;
  }
  body.modern-guides-index .page-hero--guides .page-hero__inner > div,
  body.modern-guides-index .page-hero--guides .page-hero__inner > img,
  body.modern-guides-index .page-hero--guides .page-hero__inner > aside {
    grid-column: 1;
    grid-row: auto;
  }
  body.modern-guides-index .page-hero--guides .page-hero__inner > div {
    max-width: 760px;
  }
}
@media (max-width: 760px) {
  body.modern-guides-index .page-hero--guides {
    padding: 44px 0 40px;
  }
  body.modern-guides-index .guides-index {
    padding-top: 42px;
  }
  body.modern-guides-index .guides-index > .container {
    width: calc(100% - 28px);
  }
}

/* Cartes Guides premium — modèle canonique unique */
.guides-preview .section-heading,
body.modern-guides-index .guides-index .section-heading {
  max-width: 760px;
}
.guide-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.guide-tile {
  position: relative;
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  padding: 12px 12px 0;
  background: linear-gradient(180deg, #fffdf9 0%, #fffaf2 100%);
  border: 1px solid rgba(212, 161, 74, 0.46);
  border-radius: 26px;
  box-shadow: 0 18px 44px rgba(7, 31, 53, 0.1);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}
.guide-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, transparent, #d4a14a, transparent);
  opacity: 0.75;
}
.guide-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 161, 74, 0.72);
  box-shadow: 0 22px 48px rgba(7, 31, 53, 0.13);
}
.guide-tile__media {
  width: 100%;
  aspect-ratio: 16/9;
  margin: 0;
  overflow: hidden;
  background: #eee6d9;
  border-radius: 17px;
  box-shadow: inset 0 0 0 1px rgba(13, 34, 59, 0.06);
}
.guide-tile__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}
.guide-tile:hover .guide-tile__media img {
  transform: scale(1.025);
}
.guide-tile__tag,
.guide-tile > h2,
.guide-tile > h3,
.guide-tile > p,
.guide-tile > a {
  margin-left: 12px;
  margin-right: 12px;
}
.guide-tile__tag {
  justify-self: start;
  margin-top: 16px;
  margin-bottom: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(212, 161, 74, 0.62);
  border-radius: 999px;
  background: #fff4dc;
  color: #98600c;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.015em;
}
.guide-tile > h2,
.guide-tile > h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.38rem, 1.55vw, 1.68rem);
  line-height: 1.16;
  color: #0d223b;
  text-wrap: balance;
}
.guide-tile > p {
  margin-top: 0;
  margin-bottom: 14px;
  color: #425866;
  font-size: 0.94rem;
  line-height: 1.55;
}
.guide-tile > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: end;
  width: max-content;
  margin-top: 0;
  margin-bottom: 18px;
  color: #98600c;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}
.guide-tile > a::after {
  content: "→";
  transition: transform 0.2s ease;
}
.guide-tile > a:hover::after {
  transform: translateX(4px);
}
.guide-tile > a:focus-visible {
  outline: 3px solid rgba(212, 161, 74, 0.38);
  outline-offset: 4px;
  border-radius: 4px;
}
.guide-tile a span[aria-hidden="true"] {
  display: none;
}
.guide-tile__legacy-arrow {
  display: none;
}
.guides-actions {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}
body.modern-guides-index .guides-index .guide-tiles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
body.modern-guides-index .guides-index .guide-tile:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  grid-template-rows: auto auto 1fr auto;
  padding: 10px;
}
body.modern-guides-index
  .guides-index
  .guide-tile:last-child:nth-child(odd)
  .guide-tile__media {
  grid-column: 1;
  grid-row: 1 / -1;
  aspect-ratio: 16/9;
  min-height: 100%;
}
body.modern-guides-index
  .guides-index
  .guide-tile:last-child:nth-child(odd)
  .guide-tile__tag,
body.modern-guides-index
  .guides-index
  .guide-tile:last-child:nth-child(odd)
  > h2,
body.modern-guides-index
  .guides-index
  .guide-tile:last-child:nth-child(odd)
  > p,
body.modern-guides-index
  .guides-index
  .guide-tile:last-child:nth-child(odd)
  > a {
  grid-column: 2;
  margin-left: 24px;
  margin-right: 22px;
}
body.modern-guides-index
  .guides-index
  .guide-tile:last-child:nth-child(odd)
  .guide-tile__tag {
  margin-top: 24px;
}
body.modern-guides-index
  .guides-index
  .guide-tile:last-child:nth-child(odd)
  > a {
  margin-bottom: 22px;
}
@media (prefers-reduced-motion: reduce) {
  .guide-tile,
  .guide-tile__media img,
  .guide-tile > a::after {
    transition: none;
  }
}
@media (max-width: 760px) {
  .guide-tiles,
  body.modern-guides-index .guides-index .guide-tiles {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .guide-tile {
    padding: 8px 8px 0;
    border-radius: 20px;
  }
  .guide-tile__media {
    border-radius: 14px;
  }
  .guide-tile__tag,
  .guide-tile > h2,
  .guide-tile > h3,
  .guide-tile > p,
  .guide-tile > a {
    margin-left: 10px;
    margin-right: 10px;
  }
  .guide-tile__tag {
    margin-top: 14px;
  }
  .guide-tile > a {
    margin-bottom: 16px;
  }
  .guides-actions {
    margin-top: 18px;
  }
  body.modern-guides-index .guides-index .guide-tile:last-child:nth-child(odd) {
    grid-column: auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto 1fr auto;
    padding: 8px 8px 0;
  }
  body.modern-guides-index
    .guides-index
    .guide-tile:last-child:nth-child(odd)
    .guide-tile__media {
    grid-column: 1;
    grid-row: auto;
    min-height: 0;
  }
  body.modern-guides-index
    .guides-index
    .guide-tile:last-child:nth-child(odd)
    .guide-tile__tag,
  body.modern-guides-index
    .guides-index
    .guide-tile:last-child:nth-child(odd)
    > h2,
  body.modern-guides-index
    .guides-index
    .guide-tile:last-child:nth-child(odd)
    > p,
  body.modern-guides-index
    .guides-index
    .guide-tile:last-child:nth-child(odd)
    > a {
    grid-column: 1;
    margin-left: 10px;
    margin-right: 10px;
  }
  body.modern-guides-index
    .guides-index
    .guide-tile:last-child:nth-child(odd)
    .guide-tile__tag {
    margin-top: 14px;
  }
  body.modern-guides-index
    .guides-index
    .guide-tile:last-child:nth-child(odd)
    > a {
    margin-bottom: 16px;
  }
}
