@font-face {
  font-family: "EB Garamond Wedding";
  src: url("/static/fonts/EBGaramond-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "EB Garamond Wedding";
  src: url("/static/fonts/EBGaramond-Italic.otf") format("opentype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "EB Garamond Wedding";
  src: url("/static/fonts/EBGaramond-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond Wedding";
  src: url("/static/fonts/CormorantGaramond-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond Wedding";
  src: url("/static/fonts/CormorantGaramond-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ivory: #fbf8f1;
  --paper: #fffdf8;
  --lemon: #e8c85a;
  --lemon-soft: #f5eab0;
  --sky: #afcbe3;
  --blue: #7396b8;
  --blue-deep: #35536d;
  --olive: #8d9b70;
  --ink: #243746;
  --muted: #6f7f88;
  --line: rgba(53, 83, 109, 0.16);
  --shadow: 0 20px 60px rgba(52, 67, 81, 0.12);
  --radius: 26px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: radial-gradient(circle at 20% 20%, rgba(232,200,90,.35) 0 1px, transparent 1.5px), radial-gradient(circle at 80% 60%, rgba(115,150,184,.25) 0 1px, transparent 1.5px);
  background-size: 28px 28px, 34px 34px;
}
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  top: 8px;
  left: -9999px;
  z-index: 1000;
  padding: .7rem 1rem;
  background: #fff;
  border-radius: 999px;
}
.skip-link:focus { left: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 88px;
  padding: 0 clamp(1rem, 4vw, 4rem);
  background: rgba(251,248,241,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand { position: relative; z-index: 2; justify-self: center; text-decoration: none; }
.brand-mobile { display: none; }
.monogram {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.45rem;
  letter-spacing: .08em;
}
.monogram span { color: var(--lemon); margin: 0 .1rem; }
.monogram.large { font-size: 2.4rem; margin: 0; }
.monogram-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  color: var(--ink);
  font-family: "EB Garamond Wedding", Georgia, serif;
}
.monogram-initials { position: relative; z-index: 3; margin-top: -9px; font-size: 1.28rem; letter-spacing: .08em; }
.monogram-initials i { display: inline-block; margin-inline: -.15rem; color: var(--ink); font-size: 1.65rem; font-weight: 400; transform: rotate(-8deg); }
.monogram-botanical { position: absolute; z-index: 2; inset: 45px 15px 7px; }
.monogram-botanical::before { content: ""; position: absolute; left: 8px; right: 8px; top: 6px; height: 1px; background: #77815e; transform: rotate(-4deg); }
.monogram-botanical i { position: absolute; width: 14px; height: 11px; border-radius: 48% 52% 55% 45%; background: radial-gradient(circle at 35% 30%, #f6dd75, #d4ad2f 68%, #a98927); box-shadow: inset -2px -2px rgba(133,111,36,.18); }
.monogram-botanical i:first-child { left: 10px; transform: rotate(18deg); }
.monogram-botanical i:nth-child(2) { left: 23px; top: 3px; }
.monogram-botanical i:last-child { right: 5px; transform: rotate(-18deg); }
.crest-leaves { position: absolute; z-index: 1; bottom: 11px; width: 32px; height: 24px; }
.crest-leaves-left { left: 7px; transform: rotate(-20deg); }
.crest-leaves-right { right: 7px; transform: scaleX(-1) rotate(-20deg); }
.crest-leaves i { position: absolute; width: 15px; height: 8px; border-radius: 100% 0 100% 0; background: linear-gradient(135deg, #a7ac78, #657252); }
.crest-leaves i:first-child { left: 0; top: 9px; transform: rotate(18deg); }
.crest-leaves i:nth-child(2) { left: 10px; top: 2px; transform: rotate(42deg); }
.crest-leaves i:last-child { left: 17px; top: 12px; transform: rotate(5deg); }
.main-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 88px; }
.nav-cluster { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.nav-cluster-right { justify-content: flex-end; }
.main-nav a {
  text-decoration: none;
  font-family: "EB Garamond Wedding", Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: .02em;
}
.main-nav a:hover { color: var(--blue); }
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .55rem .9rem;
  background: var(--paper);
  color: var(--ink);
}
.menu-toggle i, .menu-toggle i::before, .menu-toggle i::after { display: block; width: 18px; height: 1px; background: currentColor; content: ""; }
.menu-toggle i::before { transform: translateY(-5px); }
.menu-toggle i::after { transform: translateY(4px); }

.section { padding: clamp(4.5rem, 8vw, 8rem) clamp(1rem, 5vw, 5rem); }
.section-paper { background: rgba(255,253,248,.88); }
.section-heading {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-heading.light { color: #fff; }
.eyebrow {
  margin: 0 0 .5rem;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: "EB Garamond Wedding", Georgia, serif; font-weight: 400; }
h2 { margin: 0 0 1rem; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.1; }

.hero {
  position: relative;
  min-height: calc(100svh - 88px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(5rem, 10vh, 8rem) 1rem 7rem;
  background: #687b87;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,253,247,.78), rgba(255,253,247,.52) 56%, rgba(255,253,247,.25)),
    radial-gradient(circle at center, rgba(255,255,255,.36), rgba(187,205,217,.12));
}
.hero-content { position: relative; z-index: 4; max-width: 920px; margin-top: -2rem; text-align: center; color: var(--ink); text-shadow: 0 1px 20px rgba(255,255,255,.9); }
.hero-kicker { margin: 0 0 1rem; color: #4a5e6e; font-family: "EB Garamond Wedding", Georgia, serif; font-size: clamp(.86rem, 1.5vw, 1rem); font-style: italic; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 {
  margin: 0;
  display: grid;
  font-family: "EB Garamond Wedding", Georgia, serif;
  font-size: clamp(4rem, 8vw, 7.4rem);
  line-height: .74;
  letter-spacing: -.025em;
}
.hero h1 i { margin: .14em 0 .22em; color: #849fc6; font-size: .56em; font-weight: 400; font-style: italic; line-height: .7; }
.hero .date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0 1rem;
  font-family: "EB Garamond Wedding", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  letter-spacing: .18em;
}
.hero .date span { width: clamp(28px, 5vw, 72px); height: 1px; background: #e8c85a; }
.intro { max-width: 620px; margin: 0 auto 2rem; font-family: "EB Garamond Wedding", Georgia, serif; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: #fff; }
.button-secondary { background: rgba(255,255,255,.75); border-color: var(--blue); color: var(--blue-deep); }
.hero .button { min-height: 52px; padding-inline: 1.5rem; border-radius: 2px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; text-shadow: none; }
.hero .button-primary { background: rgba(98,126,162,.94); }
.hero .button-secondary { border-color: rgba(53,83,109,.45); background: rgba(255,253,248,.58); color: var(--blue-deep); backdrop-filter: blur(8px); }
.button-submit { width: 100%; background: var(--lemon); color: var(--blue-deep); border: none; font-size: 1rem; }
.button:disabled { opacity: .6; cursor: wait; transform: none; }

.hero-lemons { position: absolute; z-index: 3; right: clamp(-34px, 2vw, 22px); top: 16%; width: 160px; height: 240px; opacity: .92; transform: rotate(-7deg); }
.hero-lemons::before { content: ""; position: absolute; left: 73px; top: 0; width: 3px; height: 220px; background: #76835e; border-radius: 99px; transform: rotate(24deg); }
.hero-lemons i { position: absolute; width: 58px; height: 76px; border-radius: 48% 52% 46% 54%; background: radial-gradient(circle at 30% 22%, #fff2a7, #e0bd45 62%, #bd9531); box-shadow: inset -6px -8px 14px rgba(142,105,30,.17), 0 7px 18px rgba(49,68,57,.12); }
.hero-lemons i:first-child { left: 22px; top: 60px; transform: rotate(-18deg); }
.hero-lemons i:nth-child(2) { right: 7px; top: 116px; transform: rotate(17deg) scale(.82); }
.hero-lemons i:nth-child(3) { left: 35px; bottom: 0; transform: rotate(8deg) scale(.72); }
.hero-lemons span { position: absolute; width: 64px; height: 29px; border-radius: 100% 0 100% 0; background: linear-gradient(145deg, #b8bd8a, #687653); }
.hero-lemons span:nth-of-type(1) { left: 5px; top: 20px; transform: rotate(32deg); }
.hero-lemons span:nth-of-type(2) { right: 5px; top: 48px; transform: scaleX(-1) rotate(12deg); }
.hero-lemons span:nth-of-type(3) { left: 75px; bottom: 28px; transform: rotate(45deg) scale(.78); }
.hero-stripe { position: absolute; z-index: 5; inset: auto 0 0; height: 72px; border-top: 1px solid rgba(207,178,68,.18); background: repeating-linear-gradient(90deg, rgba(239,216,125,.54) 0 26px, rgba(255,253,247,.78) 26px 52px); }
.ceramic-medallion { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 82px; height: 82px; border: 5px solid #f8f0d0; border-radius: 50%; background: repeating-conic-gradient(#7396b8 0 10deg, #f0cf62 10deg 20deg, #fff9e8 20deg 30deg); box-shadow: 0 3px 14px rgba(45,65,78,.16); transform: translate(-50%, -50%); }
.ceramic-medallion::before { content: ""; width: 52px; height: 52px; border: 3px solid #fff8df; border-radius: 50%; background: #7d9abc; box-shadow: inset 0 0 0 6px #e5c659; }
.ceramic-medallion i { position: absolute; width: 18px; height: 18px; border: 3px solid #fff8df; border-radius: 50%; }
.mobile-invite-actions { display: none; }

.invitation-summary { padding: clamp(3rem, 6vw, 5rem) 1rem; background: var(--paper); text-align: center; }
.invitation-summary h2 { max-width: 820px; margin-inline: auto; font-size: clamp(2.2rem, 5vw, 4rem); }
.invitation-summary > p:not(.eyebrow) { max-width: 670px; margin: 0 auto; }
.invitation-pills { display: flex; justify-content: center; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.invitation-pills span { padding: .45rem .85rem; border: 1px solid rgba(115,150,184,.3); border-radius: 999px; background: #f4f7f9; color: var(--blue-deep); font-size: .86rem; }
.hosted-note { display: grid; gap: .15rem; max-width: 620px; margin: 1.5rem auto 0; padding: 1rem 1.2rem; border: 1px solid rgba(232,200,90,.65); background: #fff9dc; }
.hosted-note strong { font-family: "EB Garamond Wedding", Georgia, serif; font-size: 1.2rem; }

.countdown-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.3rem 1rem;
  background: var(--lemon-soft);
  border-block: 1px solid rgba(232,200,90,.55);
  text-align: center;
}
.countdown-band p { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-style: italic; }
.countdown { display: flex; gap: 1.5rem; }
.countdown span { display: grid; }
.countdown strong { font-size: 1.7rem; line-height: 1; color: var(--blue-deep); }
.countdown small { color: var(--muted); }

.timeline { max-width: 900px; margin: 0 auto; display: grid; gap: 1.25rem; }
.timeline-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  align-items: center;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.72);
}
.time { color: var(--blue); font-family: Georgia, 'Times New Roman', serif; font-size: 1.8rem; }
.timeline-card h3 { margin: 0; font-size: 1.55rem; }
.timeline-card p { margin: .25rem 0; }
.timeline-card a { color: var(--blue-deep); font-weight: 700; }
.centered-action { margin-top: 2rem; text-align: center; }

.location-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1180px; margin: 0 auto; }
.location-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.location-body a { color: var(--blue-deep); font-weight: 700; }
.location-card { overflow: hidden; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.location-visual { min-height: 280px; background-position: center; background-size: cover; }
.visual-mairie { background: linear-gradient(140deg, rgba(175,203,227,.25), rgba(232,200,90,.18)), linear-gradient(135deg, #d8e6ef 20%, #f1e7c5 20% 40%, #a5b5a0 40% 60%, #f7f2e7 60%); }
.visual-eglise { background: linear-gradient(140deg, rgba(175,203,227,.25), rgba(232,200,90,.2)), linear-gradient(40deg, #c5d7e4 30%, #f4f0e8 30% 52%, #9d9b83 52% 65%, #e6d59a 65%); }
.visual-domaine { background: linear-gradient(140deg, rgba(175,203,227,.2), rgba(232,200,90,.16)), linear-gradient(160deg, #b5c6a3 22%, #e4d8b1 22% 45%, #f5f0e5 45% 70%, #a5c8de 70%); }
.location-body { padding: 1.5rem; }
.location-number { color: var(--lemon); font-weight: 700; letter-spacing: .2em; }
.location-body h3 { margin: .2rem 0 .7rem; font-size: 1.7rem; }

.section-rsvp { background: linear-gradient(150deg, var(--blue-deep), var(--blue)); }
.section-rsvp .eyebrow { color: var(--lemon-soft); }
.rsvp-form {
  max-width: 840px;
  margin: 0 auto;
  padding: clamp(1.2rem, 4vw, 3rem);
  background: rgba(255,255,255,.96);
  border-radius: 30px;
  box-shadow: 0 25px 80px rgba(19,35,48,.25);
}
.form-grid { display: grid; gap: 1rem; }
.two-columns { grid-template-columns: repeat(2, 1fr); }
.rsvp-form label, .rsvp-form legend { font-weight: 700; color: var(--blue-deep); }
.rsvp-form input, .rsvp-form textarea {
  width: 100%;
  margin-top: .4rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(53,83,109,.25);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
}
.rsvp-form input:focus, .rsvp-form textarea:focus { outline: 3px solid rgba(175,203,227,.45); border-color: var(--blue); }
.rsvp-form fieldset { margin: 1.3rem 0; padding: 1rem; border: 1px solid var(--line); border-radius: 16px; }
.choice-row, .choice-grid { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .7rem; }
.choice-row label, .choice-grid label { display: flex; align-items: center; gap: .5rem; font-weight: 400; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.choice-row input, .choice-grid input { width: auto; margin: 0; }
.attendance-details { transition: opacity .2s ease; }
.attendance-details.is-disabled { opacity: .45; }
.form-status { min-height: 1.5rem; margin-bottom: 0; text-align: center; font-weight: 700; }
.form-status.success { color: #2b6b4a; }
.form-status.error { color: #a33b32; }
.rsvp-receipt { margin-top: 1.2rem; padding: 1.25rem; border: 1px solid #d6b445; border-radius: 16px; background: #fff8d9; text-align: center; }
.rsvp-receipt .eyebrow { margin: 0; color: #6884aa; }
.rsvp-receipt > strong { display: block; margin: .35rem 0; color: #173f71; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(1.5rem, 5vw, 2.25rem); letter-spacing: .12em; }
.rsvp-receipt > p:not(.eyebrow) { margin: .4rem auto 1rem; color: #526474; font-weight: 400; }
.rsvp-receipt > div { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.rsvp-receipt .button { margin: 0; }
.rsvp-manage-link { margin: 1.1rem 0 0; color: #687988; text-align: center; }
.rsvp-manage-link a { color: #315f91; font-weight: 800; }

.info-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.info-grid article { padding: 1.5rem; border-top: 3px solid var(--lemon); background: rgba(255,255,255,.55); }
.info-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sky); color: var(--blue-deep); font-weight: 700; }
.info-grid h3 { margin: 1rem 0 .5rem; }

.faq-list { max-width: 840px; margin: 0 auto; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq-list summary { cursor: pointer; font-family: Georgia, 'Times New Roman', serif; font-size: 1.25rem; }

.site-footer { padding: 3rem 1rem; text-align: center; background: var(--blue-deep); color: #fff; }
.footer-monogram { font-family: Georgia, 'Times New Roman', serif; font-size: 2rem; margin: 0; }
.footer-monogram span { color: var(--lemon); }
.site-footer a { color: var(--lemon-soft); }

.admin-body { min-height: 100vh; display: grid; place-items: center; padding: 1rem; background: linear-gradient(145deg, var(--sky), var(--ivory)); }
.admin-login-card { width: min(440px, 100%); padding: 2rem; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); text-align: center; }
.admin-login-card form { display: grid; gap: 1rem; text-align: left; }
.admin-login-card input { width: 100%; padding: .8rem; border: 1px solid var(--line); border-radius: 12px; }
.alert.error { color: #a33b32; font-weight: 700; }
.admin-page { background: #f7f8fa; }
.admin-header { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 2rem; background: var(--paper); border-bottom: 1px solid var(--line); }
.admin-header h1 { margin: 0; }
.admin-header nav { display: flex; gap: .7rem; flex-wrap: wrap; }
.admin-main { padding: 2rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stats-grid article { padding: 1.2rem; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.stats-grid strong { display: block; font-size: 2rem; color: var(--blue-deep); }
.stats-grid span { color: var(--muted); }
.admin-table-wrapper { overflow-x: auto; background: var(--paper); border-radius: 18px; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 1100px; }
th, td { padding: .9rem; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
th { background: #eef4f8; }

@media (max-width: 900px) {
  .site-header { display: flex; align-items: center; justify-content: center; min-height: 76px; }
  .menu-toggle { position: absolute; right: 1rem; display: inline-flex; align-items: center; gap: .7rem; border: 0; background: transparent; }
  .brand-mobile { display: block; }
  .main-nav {
    display: flex;
    position: absolute;
    top: 75px;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    gap: 0;
    padding: .7rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: var(--shadow);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .nav-cluster { display: contents; }
  .main-nav .brand { display: none; }
  .monogram-mark { width: 68px; height: 76px; }
  .main-nav a { padding: .8rem; }
  .location-grid, .info-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .section { padding-inline: 1rem; }
  .menu-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hero { min-height: calc(100svh - 76px); padding: 3rem 1rem 10.5rem; }
  .hero-video { object-position: center 62%; }
  .hero-overlay { background: linear-gradient(180deg, rgba(255,253,247,.9) 0%, rgba(255,253,247,.68) 47%, rgba(255,253,247,.12) 72%); }
  .hero-content { align-self: start; margin-top: 1.5rem; }
  .hero-kicker { display: none; }
  .hero h1 { font-size: clamp(3.45rem, 17vw, 5rem); line-height: .78; }
  .hero h1 i { margin-block: .13em .2em; }
  .hero .date { margin-top: 1.6rem; font-size: 1rem; }
  .hero .intro { display: none; }
  .hero-actions { display: none; }
  .hero-stripe { display: none; }
  .hero-lemons { right: -52px; top: 48%; transform: scale(.72) rotate(-8deg); transform-origin: center right; }
  .mobile-invite-actions { position: absolute; z-index: 6; inset: auto 0 0; display: grid; background: rgba(255,253,248,.97); box-shadow: 0 -8px 30px rgba(45,65,78,.08); }
  .mobile-rsvp-button { justify-self: center; width: min(132px, 44vw); margin-top: -25px; padding: .85rem 1rem; background: var(--blue); color: #fff; text-align: center; text-decoration: none; letter-spacing: .12em; }
  .mobile-shortcuts { display: grid; grid-template-columns: repeat(3, 1fr); padding: 1rem .5rem .9rem; }
  .mobile-shortcuts a { display: grid; justify-items: center; gap: .2rem; color: #617484; font-family: "EB Garamond Wedding", Georgia, serif; font-size: .8rem; text-decoration: none; }
  .mobile-shortcuts i { color: #7894b5; font-family: Georgia, serif; font-size: 1.15rem; font-style: normal; }
  .invitation-summary { padding-top: 3.2rem; }
  .invitation-summary h2 { font-size: 2.35rem; }
  .timeline-card { grid-template-columns: 1fr; gap: .5rem; }
  .location-grid, .info-grid, .two-columns, .choice-grid { grid-template-columns: 1fr; }
  .countdown-band { gap: .8rem; }
  .countdown { gap: .9rem; }
  .admin-header { align-items: flex-start; flex-direction: column; }
  .admin-main { padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { display: none; }
  .hero { background: linear-gradient(155deg, #edf1f3, #b8cad5); }
  .button { transition: none; }
}

/* Page d'accueil inspirée du faire-part citronnier fourni */
:root {
  --ivory: #fffdf7;
  --paper: #fffef9;
  --lemon: #ddb948;
  --lemon-soft: #f5e6a8;
  --sky: #b6cbe1;
  --blue: #6685b2;
  --blue-deep: #0b294f;
  --ink: #0b2547;
}

.site-header {
  min-height: 106px;
  padding: 0 clamp(2rem, 4.5vw, 4.75rem);
  background: #fffdf7;
  border-bottom: 1px solid rgba(205, 168, 55, .58);
  backdrop-filter: none;
}

.main-nav { min-height: 106px; }
.nav-cluster { gap: clamp(2rem, 3.4vw, 3.7rem); }
.main-nav a {
  color: #0b2547;
  font-family: "Cormorant Garamond Wedding", "EB Garamond Wedding", Georgia, serif;
  font-size: clamp(1.05rem, 1.25vw, 1.3rem);
  letter-spacing: .005em;
}

.monogram-mark { width: 92px; height: 92px; }
.monogram-initials {
  margin-top: -14px;
  color: #0b2547;
  font-size: 1.72rem;
  letter-spacing: .06em;
}
.monogram-initials i { margin-inline: -.22rem; font-size: 2rem; }
.monogram-botanical { inset: 55px 18px 7px; }
.monogram-botanical::before { background: #6f7a51; }
.monogram-botanical i { width: 17px; height: 14px; }
.crest-leaves { bottom: 9px; width: 38px; height: 28px; }
.crest-leaves-left { left: 8px; }
.crest-leaves-right { right: 8px; }
.crest-leaves i { width: 18px; height: 9px; }

.hero {
  min-height: calc(100svh - 106px);
  place-items: start center;
  padding: clamp(5rem, 9.7vh, 5.75rem) 1rem 8rem;
  background: #b6c3c9;
}
.hero-video {
  z-index: 1;
  object-position: center 58%;
  filter: saturate(.82) contrast(.94) brightness(1.04);
}
.hero-overlay {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(255,253,247,.60), rgba(255,253,247,.70) 43%, rgba(255,253,247,.68)),
    linear-gradient(180deg, rgba(255,253,247,.62), rgba(255,253,247,.34) 56%, rgba(255,253,247,.16));
}
.hero-content {
  position: absolute;
  z-index: 5;
  top: clamp(4.5rem, 8.5vh, 5.25rem);
  bottom: 140px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(690px, 76vw);
  max-width: 690px;
  margin-top: 0;
  color: #0a274d;
  text-shadow: 0 1px 22px rgba(255,255,255,.98);
  transform: translateX(-50%);
}
.hero-kicker {
  margin-bottom: 1.35rem;
  color: #5f80ae;
  font-family: "Cormorant Garamond Wedding", "EB Garamond Wedding", Georgia, serif;
  font-size: clamp(.92rem, 1.08vw, 1.13rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .22em;
  transform: translateY(52px);
}
.hero-main-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0;
  min-height: 0;
}
.hero h1 {
  color: #08264d;
  font-family: "Cormorant Garamond Wedding", "Bodoni 72", Didot, Georgia, serif;
  font-size: clamp(5rem, 7.6vw, 8rem);
  line-height: .71;
  letter-spacing: -.035em;
}
.hero h1 i {
  margin: .18em 0 .20em;
  color: #6889b9;
  font-size: .56em;
  line-height: .72;
}
.hero .date {
  gap: 1.5rem;
  margin: 2.35rem 0 1.8rem;
  color: #5579aa;
  font-family: "Cormorant Garamond Wedding", "EB Garamond Wedding", Georgia, serif;
  font-size: clamp(1.28rem, 1.62vw, 1.68rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .27em;
}
.hero .date span { width: clamp(58px, 6vw, 92px); background: #d8b23a; }
.hero .date span::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  margin-top: -2px;
  border-radius: 50%;
  background: #d8b23a;
}
.hero .date span:last-child::before { margin-left: auto; }
.intro {
  max-width: 570px;
  margin-bottom: 0;
  color: #0b274a;
  font-family: "Cormorant Garamond Wedding", "EB Garamond Wedding", Georgia, serif;
  font-size: clamp(1.08rem, 1.35vw, 1.35rem);
  line-height: 1.32;
}
.hero-actions { flex: 0 0 auto; gap: 1.35rem; margin-top: 0; }
.hero .button {
  min-height: 62px;
  padding-inline: 2.1rem;
  border-radius: 2px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .11em;
}
.hero .button-primary {
  min-width: 328px;
  background: #5f7fae;
  border-color: #173f71;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.hero .button-secondary {
  min-width: 136px;
  background: rgba(255,253,247,.72);
  border-color: #5676a0;
  color: #4e71a3;
}
.hero-lemons {
  position: absolute;
  z-index: 4;
  top: -2.5%;
  right: -1%;
  width: min(31vw, 500px);
  height: auto;
  max-height: 92%;
  object-fit: contain;
  object-position: right top;
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(46,64,37,.08));
}
.hero-stripe {
  z-index: 7;
  height: 70px;
  border-top: 1px solid #ead17e;
  background: repeating-linear-gradient(
    90deg,
    #f2d77d 0,
    #f2d77d 24px,
    #fffaf0 24px,
    #fffaf0 48px
  );
}
.ceramic-medallion {
  top: 7px;
  width: 88px;
  height: 88px;
  border: 0;
  background: none;
  box-shadow: 0 4px 12px rgba(45,65,78,.15);
}
.ceramic-medallion::before, .ceramic-medallion i { display: none; }
.ceramic-medallion img { display: block; width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 1100px) and (min-width: 641px) {
  .hero { padding-top: 4.25rem; }
  .hero-content {
    top: 4.25rem;
    bottom: 134px;
    width: min(760px, 92vw);
    max-width: 760px;
  }
  .hero-kicker {
    margin-bottom: 1.25rem;
    font-size: 1rem;
  }
  .hero-main-copy { margin-top: 0; }
  .hero h1 {
    font-size: 7.15rem;
    line-height: .71;
  }
  .hero h1 i {
    margin: .17em 0 .19em;
    color: #6889b9;
    font-size: .60em;
  }
  .hero .date {
    margin: 2.2rem 0 1.65rem;
    font-size: 1.55rem;
  }
  .hero .date span { width: 80px; }
  .hero .intro {
    max-width: 455px;
    margin-bottom: 0;
    font-size: 1.15rem;
    line-height: 1.35;
  }
  .hero .button { min-height: 54px; font-size: .84rem; }
  .hero .button-primary { min-width: 290px; }
  .hero .button-secondary { min-width: 120px; }
  .hero-lemons { right: -5%; width: 37vw; opacity: .92; }
}

@media (max-width: 900px) {
  .site-header { min-height: 76px; padding-inline: 1rem; }
  .main-nav { top: 75px; min-height: auto; }
  .monogram-mark { width: 68px; height: 76px; }
  .monogram-initials { margin-top: -8px; font-size: 1.35rem; }
  .monogram-initials i { font-size: 1.65rem; }
  .monogram-botanical { inset: 45px 13px 5px; }
}

@media (min-width: 761px) and (max-width: 900px) {
  .site-header {
    display: block;
    min-height: 92px;
    padding: 0 1.7rem;
  }
  .main-nav {
    position: static;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    min-height: 92px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    transform: none;
  }
  .nav-cluster { display: flex; gap: clamp(.85rem, 2.1vw, 1.45rem); }
  .main-nav .brand { display: block; }
  .main-nav a { padding: 0; font-size: clamp(.82rem, 1.6vw, 1rem); }
  .brand-mobile, .menu-toggle { display: none; }
  .monogram-mark { width: 78px; height: 84px; }
  .monogram-initials { margin-top: -11px; font-size: 1.5rem; }
  .monogram-initials i { font-size: 1.8rem; }
  .monogram-botanical { inset: 50px 15px 6px; }
  .hero { min-height: calc(100svh - 92px); }
}

/* Navigation étendue et accès privés */
.main-nav {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: clamp(.7rem, 1.5vw, 1.6rem);
}
.main-nav .nav-cluster {
  width: 100%;
  justify-content: center;
  gap: clamp(.65rem, 1.15vw, 1.3rem);
}
.main-nav a {
  font-size: clamp(.9rem, 1vw, 1.08rem);
  white-space: nowrap;
}

/* Pied de page assorti au monogramme et à la date de l'en-tête */
.site-footer {
  display: grid;
  justify-items: center;
  gap: .75rem;
  padding: 2rem 1rem 2.4rem;
  border-top: 1px solid rgba(205, 168, 55, .58);
  background: #fffdf7;
  color: #0b2547;
}
.footer-brand {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
}
.footer-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  margin: 0;
  color: #5579aa;
  font-family: "Cormorant Garamond Wedding", "EB Garamond Wedding", Georgia, serif;
  font-size: clamp(1.15rem, 1.5vw, 1.48rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .24em;
}
.footer-date em { font-style: normal; }
.footer-date > span {
  width: clamp(48px, 5vw, 76px);
  height: 1px;
  background: #d8b23a;
}
.footer-date > span::before {
  display: block;
  width: 5px;
  height: 5px;
  margin-top: -2px;
  border-radius: 50%;
  background: #d8b23a;
  content: "";
}
.footer-date > span:last-child::before { margin-left: auto; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .45rem 1.5rem;
}
.site-footer .footer-links a {
  color: #0b2547;
  font-family: "Cormorant Garamond Wedding", "EB Garamond Wedding", Georgia, serif;
  font-size: 1rem;
  text-underline-offset: .25rem;
}

/* Espace privé des témoins et prestataires */
.team-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 90% 2%, rgba(242, 215, 125, .24), transparent 24rem),
    linear-gradient(180deg, #fffdf7, #f5f7f4);
  color: #0b2547;
}
.team-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 5vw, 4.5rem);
  border-bottom: 1px solid rgba(205, 168, 55, .45);
  background: rgba(255, 253, 247, .95);
}
.team-header-copy { display: flex; align-items: center; gap: 1.1rem; }
.team-header .monogram-mark { display: grid; place-items: center; flex: 0 0 auto; }
.team-header p, .team-header h1 { margin: 0; }
.team-header p {
  color: #6685b2;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.team-header h1 { font-size: clamp(1.6rem, 3vw, 2.55rem); }
.team-header nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.team-header nav a {
  padding: .7rem 1rem;
  border: 1px solid #d9c67d;
  color: #0b2547;
  text-decoration: none;
}
.team-header nav a:last-child { background: #5f7fae; color: #fff; border-color: #5f7fae; }
.team-main { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) 0; }
.team-intro { max-width: 760px; margin: 0 auto clamp(2.5rem, 6vw, 4.5rem); text-align: center; }
.team-intro .eyebrow { margin-bottom: .6rem; }
.team-intro h2 { margin: 0 0 1rem; font-size: clamp(2.6rem, 6vw, 5rem); }
.team-intro p:last-child { margin: 0; font-size: 1.08rem; line-height: 1.7; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem; }
.team-card {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid rgba(205, 168, 55, .42);
  border-top: 4px solid #e2bd4a;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 16px 38px rgba(34, 58, 76, .08);
}
.team-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.team-card h3 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.3rem); }
.role-badge {
  flex: 0 0 auto;
  padding: .35rem .6rem;
  border-radius: 999px;
  background: #edf2f7;
  color: #5676a0;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.team-card h4 {
  margin: 1.35rem 0 .55rem;
  color: #6685b2;
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.mission-list { margin: 0; padding-left: 1.15rem; }
.mission-list li + li { margin-top: .38rem; }
.role-timeline { display: grid; gap: .45rem; margin: 0; }
.role-timeline div { display: grid; grid-template-columns: 4.6rem 1fr; gap: .75rem; padding-top: .45rem; border-top: 1px solid #e9e3cf; }
.role-timeline dt { color: #5579aa; font-weight: 800; }
.role-timeline dd { margin: 0; }
.portal-login-card .monogram-mark { display: grid; margin: 0 auto .5rem; place-items: center; }
.portal-login-card .login-hint { margin: -.25rem 0 1rem; color: #617484; font-size: .93rem; }

@media (max-width: 1120px) and (min-width: 901px) {
  .site-header { padding-inline: 1.35rem; }
  .nav-cluster { gap: .62rem; }
  .main-nav { column-gap: .6rem; }
  .main-nav a { font-size: .78rem; }
}

@media (max-width: 900px) and (min-width: 761px) {
  .site-header { padding-inline: .8rem; }
  .nav-cluster { gap: .48rem; }
  .main-nav { column-gap: .4rem; }
  .main-nav a { font-size: .7rem; }
}

@media (max-width: 760px) {
  .team-header { align-items: flex-start; flex-direction: column; }
  .team-header nav { justify-content: flex-start; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-date { gap: .75rem; font-size: 1rem; letter-spacing: .17em; }
  .footer-date > span { width: 30px; }
}

@media (max-width: 640px) {
  .hero {
    --mobile-shortcuts-height: calc(108px + env(safe-area-inset-bottom, 0px));
    min-height: calc(100svh - 76px);
    padding: 0 1rem 13.6rem;
  }
  .hero-video { object-position: center 60%; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255,253,247,.88) 0%, rgba(255,253,247,.63) 50%, rgba(255,253,247,.16) 73%),
      linear-gradient(90deg, rgba(255,253,247,.28), rgba(255,253,247,.45));
  }
  .hero-content {
    position: absolute;
    top: .5rem;
    right: auto;
    bottom: calc(var(--mobile-shortcuts-height) + 108px);
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(92vw, 430px);
    margin-top: 0;
    transform: translateX(-50%);
  }
  .hero-main-copy {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0;
  }
  .hero-kicker {
    display: block;
    max-width: 100%;
    margin: 0 0 1.3rem;
    color: #5f80ae;
    font-family: "Cormorant Garamond Wedding", "EB Garamond Wedding", Georgia, serif;
    font-size: clamp(.69rem, 3.05vw, .78rem);
    font-style: italic;
    line-height: 1.2;
    letter-spacing: .16em;
    white-space: nowrap;
    transform: none;
  }
  .hero h1 {
    width: 100%;
    font-size: clamp(3.55rem, 17vw, 4.85rem);
    line-height: .73;
  }
  .hero h1 i { margin: .13em 0 .17em; }
  .hero .date {
    gap: .7rem;
    margin: 1.3rem 0 .9rem;
    font-size: .98rem;
    line-height: 1;
    letter-spacing: .19em;
  }
  .hero .date span { width: 28px; }
  .hero .intro {
    display: block;
    max-width: 330px;
    margin: 0 auto;
    color: #0b274a;
    font-family: "Cormorant Garamond Wedding", "EB Garamond Wedding", Georgia, serif;
    font-size: clamp(.96rem, 4.25vw, 1.08rem);
    line-height: 1.32;
    text-wrap: balance;
  }
  .hero-lemons {
    top: 24%;
    right: -24%;
    width: 78vw;
    max-height: 58%;
    opacity: .9;
  }
  .hero-stripe {
    display: block;
    bottom: var(--mobile-shortcuts-height);
    height: 44px;
    background: repeating-linear-gradient(
      90deg,
      #f2d77d 0,
      #f2d77d 15px,
      #fffaf0 15px,
      #fffaf0 30px
    );
  }
  .ceramic-medallion { top: 50%; width: 58px; height: 58px; }
  .mobile-invite-actions {
    z-index: 8;
    display: block;
    height: var(--mobile-shortcuts-height);
    padding: 0 0 env(safe-area-inset-bottom, 0px);
    background: #fffdf7;
    box-shadow: 0 -1px 0 rgba(205, 168, 55, .22);
  }
  .mobile-rsvp-button {
    position: absolute;
    z-index: 2;
    right: auto;
    bottom: calc(100% + 60px);
    left: 50%;
    width: min(172px, 50vw);
    margin: 0;
    padding: .82rem 1rem;
    border: 1px solid #173f71;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .76rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .07em;
    text-transform: none;
    box-shadow: 0 8px 24px rgba(24, 55, 90, .18), inset 0 0 0 1px rgba(255,255,255,.22);
    transform: translateX(-50%);
  }
  .mobile-shortcuts {
    align-items: center;
    height: 100%;
    padding: 1.15rem .65rem .9rem;
  }
  .mobile-shortcuts a {
    gap: .28rem;
    font-size: .86rem;
    line-height: 1.15;
  }
  .mobile-shortcuts i { font-size: 1.22rem; }
}

/* Tableau de bord opérationnel de l'équipe */
.ops-page {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 91% 1%, rgba(242, 215, 125, .22), transparent 25rem),
    linear-gradient(180deg, #fffdf7 0%, #f5f6f2 100%);
  color: #0b2547;
}
.ops-page button, .ops-page input, .ops-page select, .ops-page textarea { font: inherit; }
.ops-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 92px;
  padding: .55rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(205, 168, 55, .48);
  background: rgba(255, 253, 247, .96);
  box-shadow: 0 8px 30px rgba(29, 49, 66, .05);
  backdrop-filter: blur(16px);
}
.ops-header-identity { display: flex; align-items: center; gap: .85rem; }
.ops-header-identity .brand { display: grid; width: 74px; height: 74px; place-items: center; }
.ops-header-identity .monogram-mark { width: 74px; height: 74px; }
.ops-header-identity p, .ops-header-identity h1 { margin: 0; }
.ops-header-identity p {
  color: #6685b2;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.ops-header-identity h1 { font-size: clamp(1.45rem, 2.4vw, 2.15rem); }
.ops-header-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.ops-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .62rem .95rem;
  border: 1px solid #d8c579;
  border-radius: 4px;
  background: rgba(255, 255, 255, .65);
  color: #0b2547;
  font-family: "EB Garamond Wedding", Georgia, serif;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.ops-button:hover { border-color: #6685b2; color: #4f709e; }
.ops-button-primary { border-color: #173f71; background: #173f71; color: #fff; }
.ops-button-primary:hover { background: #294f7d; color: #fff; }
.ops-button-edit.is-active { border-color: #d6ae34; background: #fff4c9; color: #755a06; }
.ops-button-danger { border-color: #d9a49e; color: #9b3f36; }
.ops-tabs {
  position: sticky;
  z-index: 25;
  top: 92px;
  display: flex;
  justify-content: center;
  gap: clamp(.2rem, 2vw, 2.2rem);
  padding: .7rem 1rem 0;
  border-bottom: 1px solid #e7dfc3;
  background: rgba(255, 253, 247, .94);
  backdrop-filter: blur(16px);
  overflow-x: auto;
}
.ops-tabs button {
  flex: 0 0 auto;
  padding: .7rem .7rem .75rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #53687c;
  font-family: "Cormorant Garamond Wedding", Georgia, serif;
  font-size: 1.02rem;
  cursor: pointer;
}
.ops-tabs button:hover, .ops-tabs button.is-active { border-color: #0b2547; color: #0b2547; }
.ops-main { width: min(1460px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(2.8rem, 5vw, 5rem) 0 6rem; }
.ops-loading { display: grid; justify-items: center; gap: .8rem; padding: 6rem 1rem; }
.ops-loading span { width: 34px; height: 34px; border: 3px solid #e6dbb5; border-top-color: #6685b2; border-radius: 50%; animation: ops-spin .8s linear infinite; }
@keyframes ops-spin { to { transform: rotate(360deg); } }
.ops-panel[hidden] { display: none !important; }
.ops-page-heading { max-width: 820px; margin: 0 auto clamp(2.3rem, 4vw, 3.8rem); text-align: center; }
.ops-page-heading .eyebrow { margin-bottom: .5rem; }
.ops-page-heading h2 { margin: 0 0 .75rem; font-size: clamp(3rem, 6vw, 5.4rem); line-height: .94; }
.ops-page-heading > p, .ops-page-heading > div > p { margin: 0; color: #53687c; font-size: 1.08rem; line-height: 1.65; }
.ops-heading-with-action { display: flex; align-items: flex-end; justify-content: space-between; max-width: none; text-align: left; }
.ops-heading-with-action > div { max-width: 780px; }
.ops-editable-title, .ops-editable-copy { position: relative; }
.ops-editable-title { display: inline-flex; align-items: center; gap: .5rem; }
.ops-editable-title h2 { margin-bottom: .75rem; }
.ops-editable-copy { display: flex; align-items: flex-start; justify-content: center; gap: .5rem; }
.ops-icon-button {
  display: inline-grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #d9cfad;
  border-radius: 50%;
  background: #fffef9;
  color: #0b2547;
  place-items: center;
  cursor: pointer;
}
.ops-icon-button:hover { border-color: #6685b2; background: #edf2f7; }
.edit-only { display: none !important; }
.can-edit .edit-only { display: inline-grid !important; }
.can-edit .ops-button.edit-only { display: inline-flex !important; }
.ops-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.4rem; }
.ops-stats article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: .1rem .8rem;
  min-height: 118px;
  padding: 1.35rem;
  border: 1px solid rgba(205, 168, 55, .35);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 12px 30px rgba(38, 58, 74, .05);
}
.ops-stat-icon { grid-row: 1 / span 2; display: grid; width: 43px; height: 43px; border: 1px solid #e2bd4a; border-radius: 50%; color: #c59b19; font-size: 1.2rem; place-items: center; }
.ops-stats strong { font-family: "Cormorant Garamond Wedding", Georgia, serif; font-size: clamp(1.8rem, 3.3vw, 2.75rem); font-weight: 400; line-height: 1; }
.ops-stats small { color: #667786; }
.ops-overview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.ops-summary-card {
  min-width: 0;
  padding: 1.4rem;
  border: 1px solid rgba(205, 168, 55, .38);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 15px 35px rgba(34, 58, 76, .06);
}
.ops-summary-card > header { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-bottom: 1rem; }
.ops-summary-card h3 { margin: 0; font-size: 1.8rem; }
.ops-text-button { padding: .2rem 0; border: 0; background: transparent; color: #5f7fae; font-size: .78rem; text-decoration: underline; text-underline-offset: .2rem; cursor: pointer; }
.ops-count-badge { display: grid; width: 30px; height: 30px; border-radius: 50%; background: #fff1ca; color: #8b6508; font-weight: 800; place-items: center; }
.ops-compact-list, .ops-alert-list { display: grid; gap: .3rem; }
.ops-compact-list button, .ops-alert-list button {
  display: flex;
  align-items: center;
  gap: .8rem;
  width: 100%;
  padding: .7rem .25rem;
  border: 0;
  border-bottom: 1px solid #ebe5d3;
  background: transparent;
  color: #0b2547;
  text-align: left;
  cursor: pointer;
}
.ops-compact-list button:last-child, .ops-alert-list button:last-child { border-bottom: 0; }
.ops-compact-list button > span:last-child, .ops-alert-list button > span:last-child { display: grid; gap: .12rem; }
.ops-compact-list small, .ops-alert-list small { color: #758492; }
.ops-mini-check { flex: 0 0 auto; width: 18px; height: 18px; border: 1px solid #89a0b7; border-radius: 4px; }
.ops-mini-check.status-in_progress { border-color: #d2a51f; background: #fff2be; }
.ops-mini-check.status-blocked { border-color: #c37a70; background: #f8deda; }
.ops-alert-list button { padding: .85rem; border: 1px solid #ead9a0; border-radius: 6px; background: #fff9e7; }
.ops-alert-list button > span:first-child { display: grid; flex: 0 0 auto; width: 27px; height: 27px; border: 1px solid #d2a51f; border-radius: 50%; color: #9b730c; font-weight: 900; place-items: center; }
.ops-next-event { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem; width: 100%; padding: 1rem 0; border: 0; background: transparent; color: #0b2547; text-align: left; cursor: pointer; }
.ops-next-event > span:nth-child(2) { display: grid; gap: .18rem; }
.ops-next-event small { color: #758492; }
.ops-next-time { padding: .5rem .6rem; border: 1px solid #d6b445; color: #87680a; font-weight: 800; }
.ops-next-event i { color: #6685b2; font-size: 1.3rem; font-style: normal; }
.ops-progress-block { margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid #e8e1cb; }
.ops-progress-block > div:first-child { display: flex; justify-content: space-between; margin-bottom: .55rem; }
.ops-progress { height: 10px; border-radius: 99px; background: #eeece4; overflow: hidden; }
.ops-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #d1a727, #f0d16f); transition: width .35s ease; }
.ops-activity-section { margin-top: 1.4rem; padding: 1.4rem; border: 1px solid #e5dec8; border-radius: 8px; background: rgba(255,255,255,.55); }
.ops-activity-section h3 { margin: 0 0 1rem; }
.ops-activity-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.ops-activity-list article { display: flex; align-items: center; gap: .7rem; min-width: 0; padding: .7rem; border-radius: 6px; background: #fffef9; }
.ops-activity-list article > span { display: grid; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: #edf2f7; color: #5f7fae; font-weight: 800; place-items: center; }
.ops-activity-list article > div { display: grid; min-width: 0; gap: .12rem; }
.ops-activity-list strong { overflow: hidden; font-size: .86rem; text-overflow: ellipsis; white-space: nowrap; }
.ops-activity-list small { color: #7b8892; }
.ops-empty { margin: .5rem 0; color: #758492; font-style: italic; }
.ops-date-divider { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin: -1rem 0 2.2rem; color: #5579aa; font-family: "Cormorant Garamond Wedding", Georgia, serif; font-size: 1.35rem; letter-spacing: .2em; }
.ops-date-divider span { width: 70px; height: 1px; background: #d8b23a; }
.ops-timeline {
  position: relative;
  display: grid;
  grid-auto-columns: minmax(245px, 1fr);
  grid-auto-flow: column;
  gap: 1rem;
  padding: 1.8rem .2rem .5rem;
  overflow-x: auto;
  scrollbar-color: #d6bf70 transparent;
}
.ops-timeline::before { position: absolute; top: 2.25rem; right: 1rem; left: 1rem; height: 2px; background: linear-gradient(90deg, #d9b541, #7793b8); content: ""; }
.ops-timeline-event { position: relative; min-width: 0; }
.ops-timeline-node { position: relative; z-index: 2; display: grid; width: 24px; height: 24px; margin: -1.05rem auto 1rem; border: 5px solid #fffdf7; border-radius: 50%; background: #6685b2; box-shadow: 0 0 0 1px #6685b2; place-items: center; }
.ops-timeline-event.status-current .ops-timeline-node { background: #e1b93f; box-shadow: 0 0 0 1px #d4a81e, 0 0 0 6px rgba(225,185,63,.18); }
.ops-timeline-event.status-delayed .ops-timeline-node { background: #b05d52; box-shadow: 0 0 0 1px #b05d52; }
.ops-timeline-event.status-done .ops-timeline-node { background: #718f72; box-shadow: 0 0 0 1px #718f72; }
.ops-timeline-card { height: calc(100% - 2rem); padding: 1.25rem; border: 1px solid #e1d7b6; border-radius: 8px; background: rgba(255,255,255,.82); box-shadow: 0 15px 35px rgba(34,58,76,.06); }
.ops-timeline-time { margin-bottom: .55rem; color: #5579aa; font-family: "Cormorant Garamond Wedding", Georgia, serif; font-size: 1.35rem; font-weight: 700; }
.ops-timeline-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; }
.ops-timeline-card h3 { margin: 0; font-size: 1.65rem; }
.ops-timeline-card p { margin: .35rem 0 0; color: #5d6e7d; line-height: 1.5; }
.ops-timeline-meta { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; padding-top: .85rem; border-top: 1px solid #e9e3cf; }
.ops-timeline-meta > span:nth-child(2) { min-width: 0; margin-right: auto; overflow: hidden; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.ops-timeline-meta strong { padding: .3rem .45rem; border-radius: 4px; background: #edf2f7; color: #5c7696; font-size: .7rem; }
.ops-avatar { display: grid; width: 50px; height: 50px; overflow: hidden; border: 2px solid #fff; border-radius: 50%; background: #dfe8ef; color: #34506e; font-family: "Cormorant Garamond Wedding", Georgia, serif; font-size: 1.15rem; box-shadow: 0 0 0 1px #d4cdaF; place-items: center; }
.ops-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ops-avatar-small { width: 34px; height: 34px; font-size: .78rem; }
.ops-avatar-large { width: 100%; height: 100%; border: 0; border-radius: 0; box-shadow: none; font-size: 3.2rem; }
.ops-board { display: grid; grid-template-columns: repeat(4, minmax(235px, 1fr)); align-items: start; gap: 1rem; }
.ops-board-column { min-width: 0; padding: .8rem; border-radius: 8px; background: rgba(233, 237, 238, .64); }
.ops-board-column > header { display: flex; justify-content: space-between; gap: .6rem; padding: .35rem .35rem .8rem; }
.ops-board-column > header h3 { margin: 0; font-size: 1.45rem; }
.ops-board-column > header span { display: grid; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #607384; font-weight: 800; place-items: center; }
.ops-board-column.status-in_progress { background: rgba(250, 239, 195, .48); }
.ops-board-column.status-blocked { background: rgba(242, 218, 213, .48); }
.ops-board-column.status-done { background: rgba(221, 235, 220, .55); }
.ops-board-stack { display: grid; gap: .75rem; }
.ops-task-card { padding: 1rem; border: 1px solid #ddd7c6; border-radius: 7px; background: #fffef9; box-shadow: 0 8px 20px rgba(34,58,76,.05); }
.ops-task-card.is-urgent { border-top: 3px solid #d3a622; }
.ops-task-card-head { display: flex; align-items: center; justify-content: space-between; min-height: 34px; }
.ops-priority { color: #6882a1; font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ops-task-card.is-urgent .ops-priority { color: #9a7106; }
.ops-task-card h4 { margin: .35rem 0; font-size: 1.2rem; }
.ops-task-card > p { margin: 0 0 .8rem; color: #657583; font-size: .86rem; line-height: 1.5; }
.ops-task-card dl { display: grid; gap: .35rem; margin: 0 0 .8rem; padding: .7rem 0; border-block: 1px solid #ece6d5; }
.ops-task-card dl div { display: flex; justify-content: space-between; gap: .5rem; }
.ops-task-card dt { color: #7c8993; font-size: .73rem; }
.ops-task-card dd { margin: 0; font-size: .75rem; font-weight: 700; text-align: right; }
.ops-status-control { display: grid; gap: .25rem; color: #758492; font-size: .72rem; }
.ops-status-control select { width: 100%; padding: .48rem; border: 1px solid #d8d2c1; border-radius: 4px; background: #fff; color: #0b2547; }
.ops-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin: -1.5rem 0 2rem; }
.ops-filters button { padding: .65rem 1rem; border: 1px solid #ddd2ad; border-radius: 99px; background: #fffef9; color: #425d77; cursor: pointer; }
.ops-filters button.is-active { border-color: #173f71; background: #173f71; color: #fff; }
.ops-people-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.ops-person-card { min-width: 0; overflow: hidden; border: 1px solid #e0d6b7; border-radius: 8px; background: rgba(255,255,255,.82); box-shadow: 0 15px 35px rgba(34,58,76,.06); }
.ops-person-photo { position: relative; height: 260px; background: linear-gradient(145deg, #eef2f3, #dfe7e8); }
.ops-photo-edit { position: absolute; top: .7rem; right: .7rem; display: none; width: 38px; height: 38px; border: 1px solid #d8cfb4; border-radius: 50%; background: rgba(255,255,255,.92); color: #0b2547; place-items: center; cursor: pointer; }
.can-edit .ops-photo-edit { display: grid; }
.ops-person-body { padding: 1.15rem; }
.ops-role { color: #6685b2; font-size: .69rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ops-person-body h3 { margin: .25rem 0 .9rem; font-size: 1.55rem; }
.ops-person-body details { border-top: 1px solid #e9e3cf; padding: .65rem 0; }
.ops-person-body summary { cursor: pointer; color: #435f7b; font-weight: 700; }
.ops-person-body ul { margin: .65rem 0 0; padding-left: 1.15rem; color: #5d6e7d; font-size: .86rem; line-height: 1.5; }
.ops-contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ops-contact-card { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .8rem 1rem; padding: 1rem; border: 1px solid #e0d6b7; border-radius: 8px; background: rgba(255,255,255,.8); }
.ops-contact-card h3, .ops-contact-card p { margin: 0; }
.ops-contact-card > div:nth-child(2) > span { color: #6685b2; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.ops-contact-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem 1rem; padding-top: .75rem; border-top: 1px solid #e9e3cf; }
.ops-contact-actions a { color: #4f709e; }
.ops-contact-actions span { color: #8a949b; font-style: italic; }
.ops-contact-card > .ops-icon-button { position: absolute; top: .7rem; right: .7rem; }
.ops-dialog { width: min(700px, calc(100% - 2rem)); max-height: calc(100vh - 2rem); padding: 0; border: 1px solid #d8c579; border-radius: 10px; background: #fffdf7; color: #0b2547; box-shadow: 0 28px 80px rgba(20,42,62,.25); }
.ops-dialog::backdrop { background: rgba(10, 29, 47, .55); backdrop-filter: blur(4px); }
.ops-dialog form { position: relative; display: grid; gap: 1rem; padding: clamp(1.4rem, 4vw, 2.4rem); }
.ops-dialog h2 { margin: -.5rem 0 0; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.ops-dialog p { margin: 0; line-height: 1.55; }
.ops-dialog-close { position: absolute; z-index: 2; top: 1rem; right: 1rem; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #edf1f3; color: #0b2547; font-size: 1.5rem; cursor: pointer; }
.ops-dialog label, .ops-form-fields { display: grid; gap: .4rem; }
.ops-dialog input, .ops-dialog select, .ops-dialog textarea { width: 100%; padding: .75rem; border: 1px solid #d7cfb7; border-radius: 5px; background: #fff; color: #0b2547; }
.ops-dialog textarea { resize: vertical; }
.ops-form-fields { gap: 1rem; max-height: 62vh; padding-right: .2rem; overflow-y: auto; }
.ops-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.ops-inline-check { display: flex !important; align-items: center; gap: .5rem !important; }
.ops-inline-check input { width: auto; }
.ops-dialog-actions { display: grid; grid-template-columns: auto 1fr auto auto; gap: .6rem; padding-top: .7rem; border-top: 1px solid #e5dec8; }
.ops-form-message { min-height: 1.2rem; color: #9b3f36; font-weight: 700; }
.ops-toast { position: fixed; z-index: 80; right: 1rem; bottom: 1rem; max-width: min(390px, calc(100% - 2rem)); padding: .9rem 1.1rem; border-radius: 6px; background: #173f71; color: #fff; box-shadow: 0 14px 40px rgba(20,42,62,.25); opacity: 0; transform: translateY(15px); transition: .2s ease; pointer-events: none; }
.ops-toast.is-visible { opacity: 1; transform: translateY(0); }
.ops-toast.is-error { background: #923d35; }

/* Mode Jour J, alertes et accès personnalisés */
.ops-connectivity { display: inline-flex; align-items: center; gap: .38rem; padding: .62rem .5rem; color: #58725d; font-size: .76rem; font-weight: 700; }
.ops-connectivity i { width: 9px; height: 9px; border-radius: 50%; background: #6d936f; box-shadow: 0 0 0 4px rgba(109,147,111,.12); }
.ops-connectivity.is-offline { color: #98620f; }
.ops-connectivity.is-offline i { background: #d49e25; box-shadow: 0 0 0 4px rgba(212,158,37,.15); }
.ops-notification-button { gap: .45rem; }
.ops-notification-button span { display: grid; min-width: 22px; height: 22px; padding: 0 .3rem; border-radius: 99px; background: #e7ebef; color: #52677a; font-size: .7rem; place-items: center; }
.ops-notification-button.has-unread { border-color: #c99d1b; background: #fff8df; }
.ops-notification-button.has-unread span { background: #c99d1b; color: #fff; }
.ops-button-alert { border-color: #9d493f; background: #9d493f; color: #fff; }
.ops-button-alert:hover { border-color: #7f372f; background: #7f372f; color: #fff; }
.ops-day-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 1.4rem; padding: clamp(1.6rem, 4vw, 3rem); border: 1px solid rgba(205,168,55,.42); border-radius: 12px; background: linear-gradient(120deg, rgba(255,255,255,.94), rgba(255,247,216,.72)); box-shadow: 0 18px 45px rgba(34,58,76,.07); }
.ops-day-hero .eyebrow { margin: 0 0 .35rem; }
.ops-day-hero h2 { max-width: 820px; margin: 0; font-size: clamp(2.8rem, 6vw, 5.6rem); line-height: .92; }
.ops-day-hero > div > p:last-child { max-width: 730px; margin: .8rem 0 0; color: #5d7182; font-size: 1.08rem; }
.ops-day-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: .6rem; }
.ops-now-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1rem; margin-bottom: 1rem; }
.ops-now-card { position: relative; min-height: 190px; padding: 1.5rem; overflow: hidden; border: 1px solid #d9cfad; border-radius: 10px; background: rgba(255,255,255,.82); }
.ops-now-card::after { position: absolute; right: -30px; bottom: -55px; width: 170px; height: 170px; border: 24px solid rgba(102,133,178,.08); border-radius: 50%; content: ""; }
.ops-now-card.is-current { border-color: #7392b8; background: linear-gradient(140deg, #163e70, #3f6693); color: #fff; }
.ops-now-card.is-current::after { border-color: rgba(255,255,255,.09); }
.ops-now-card > span { display: block; margin-bottom: .7rem; color: #5f7fae; font-size: .68rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.ops-now-card.is-current > span, .ops-now-card.is-current small { color: #dfeafa; }
.ops-now-card strong { display: block; font-family: "Cormorant Garamond Wedding", Georgia, serif; font-size: clamp(1.75rem, 3vw, 2.7rem); font-weight: 400; }
.ops-now-card p { max-width: 720px; margin: .4rem 0; line-height: 1.5; }
.ops-now-card small { color: #647a8d; }
.ops-day-grid { display: grid; grid-template-columns: 1.25fr 1fr .9fr; gap: 1rem; }
.ops-day-grid .ops-summary-card { min-height: 330px; }
.ops-summary-card .eyebrow { margin: 0 0 .1rem; }
.ops-day-mission-list { display: grid; gap: .65rem; }
.ops-day-mission-list article { display: grid; grid-template-columns: 1fr minmax(130px, .3fr); align-items: center; gap: .8rem; padding: .8rem; border: 1px solid #e6dfc8; border-left: 3px solid #6785ad; border-radius: 6px; background: #fffef9; }
.ops-day-mission-list article.is-blocked { border-left-color: #aa5048; background: #fff8f6; }
.ops-day-mission-list span { color: #6882a1; font-size: .7rem; font-weight: 800; }
.ops-day-mission-list h4, .ops-day-mission-list p { margin: .15rem 0; }
.ops-day-mission-list p { color: #667786; font-size: .82rem; line-height: 1.4; }
.ops-day-mission-list label { display: grid; gap: .25rem; color: #728290; font-size: .7rem; }
.ops-day-mission-list select { min-width: 0; padding: .5rem; border: 1px solid #d8d1bb; background: #fff; color: #0b2547; }
.ops-incident-list { display: grid; gap: .65rem; }
.ops-incident-list article { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .65rem; padding: .8rem; border: 1px solid #ead1ca; border-left: 3px solid #bd6c61; border-radius: 6px; background: #fff9f7; }
.ops-incident-list article.severity-critical { border-left-color: #7f2420; background: #fff1ef; }
.ops-incident-list article > span { color: #9d493f; font-size: .65rem; font-weight: 900; text-transform: uppercase; }
.ops-incident-list article > div { display: grid; gap: .12rem; }
.ops-incident-list small { color: #7c858c; }
.ops-incident-list button { width: 31px; height: 31px; border: 1px solid #aac0aa; border-radius: 50%; background: #f2f8f1; color: #557b57; cursor: pointer; }
.ops-quick-contacts > div { display: grid; }
.ops-quick-contacts a { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .6rem; padding: .65rem 0; border-bottom: 1px solid #ebe5d3; color: #0b2547; text-decoration: none; }
.ops-quick-contacts a:last-child { border-bottom: 0; }
.ops-quick-contacts a span { display: grid; min-width: 0; }
.ops-quick-contacts a small { color: #758492; }
.ops-quick-contacts a b { grid-column: 2; color: #5273a0; font-size: .77rem; }
.ops-sync-note { margin: 1rem 0 0; color: #758492; font-size: .74rem; text-align: right; }
.ops-timeline-meta button { margin-left: auto; padding: .28rem .42rem; border: 1px solid #ddbcb5; border-radius: 4px; background: #fff7f5; color: #9b5048; font-size: .67rem; cursor: pointer; }
.ops-task-card.is-mine { border-color: #6a8cb7; box-shadow: 0 0 0 2px rgba(106,140,183,.1), 0 8px 20px rgba(34,58,76,.05); }
.ops-task-card.is-mine .ops-priority { color: #315f91; }
.ops-code-button { width: 100%; margin-top: .75rem; padding: .58rem; border: 1px dashed #7793b8; border-radius: 4px; background: #f3f7fb; color: #315f91; cursor: pointer; }
.ops-incident-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ops-incident-card { padding: 1.2rem; border: 1px solid #e4cbc5; border-top: 4px solid #bd6c61; border-radius: 8px; background: rgba(255,255,255,.82); }
.ops-incident-card.severity-critical { border-top-color: #842e29; }
.ops-incident-card.severity-info { border-top-color: #6685b2; }
.ops-incident-card.is-resolved { border-color: #d8ded4; border-top-color: #789078; opacity: .72; }
.ops-incident-card header, .ops-incident-card footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ops-incident-card header div { display: grid; gap: .2rem; }
.ops-incident-card header span { color: #a3544b; font-size: .67rem; font-weight: 900; text-transform: uppercase; }
.ops-incident-card header strong { font-family: "Cormorant Garamond Wedding", Georgia, serif; font-size: 1.55rem; }
.ops-incident-card header em { padding: .3rem .5rem; border-radius: 99px; background: #fff0ed; color: #91483f; font-size: .7rem; font-style: normal; }
.ops-incident-card.is-resolved header em { background: #edf4eb; color: #557557; }
.ops-incident-card > p { color: #617383; line-height: 1.5; }
.ops-incident-card footer { padding-top: .8rem; border-top: 1px solid #ece5d2; }
.ops-incident-card footer small { color: #798791; }
.ops-dialog > div { position: relative; display: grid; gap: 1rem; padding: clamp(1.4rem, 4vw, 2.4rem); }
.ops-notification-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ops-notification-heading h2 { margin: 0; }
.ops-notification-list { display: grid; gap: .55rem; max-height: 60vh; overflow-y: auto; }
.ops-notification-list article { display: grid; grid-template-columns: auto 1fr; gap: .7rem; padding: .85rem; border: 1px solid #e8e0c8; border-radius: 6px; background: #fffdf7; }
.ops-notification-list article.is-read { opacity: .63; }
.ops-notification-list article i { width: 10px; height: 10px; margin-top: .35rem; border-radius: 50%; background: #6685b2; }
.ops-notification-list article.level-urgent i { background: #d29c20; }
.ops-notification-list article.level-critical i { background: #a1443b; }
.ops-notification-list strong, .ops-notification-list p, .ops-notification-list small { display: block; margin: 0; }
.ops-notification-list p { margin: .18rem 0; color: #5e7182; line-height: 1.4; }
.ops-notification-list small { color: #849099; }
.ops-code-dialog input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.35rem; font-weight: 800; letter-spacing: .12em; text-align: center; }
.is-offline .ops-button-edit, .is-offline .edit-only { opacity: .5; }

@media (max-width: 1120px) {
  .ops-stats { grid-template-columns: repeat(2, 1fr); }
  .ops-overview-grid { grid-template-columns: repeat(2, 1fr); }
  .ops-overview-grid > article:last-child { grid-column: 1 / -1; }
  .ops-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ops-activity-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-day-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-day-grid > article:first-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .ops-header { position: static; align-items: flex-start; flex-direction: column; padding-block: .8rem; }
  .ops-header-actions { width: 100%; justify-content: flex-start; }
  .ops-tabs { top: 0; justify-content: flex-start; }
  .ops-main { width: min(100% - 1.2rem, 1460px); padding-top: 2.5rem; }
  .ops-heading-with-action { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .ops-overview-grid { grid-template-columns: 1fr; }
  .ops-overview-grid > article:last-child { grid-column: auto; }
  .ops-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-day-hero { align-items: flex-start; flex-direction: column; }
  .ops-day-grid, .ops-incident-board { grid-template-columns: 1fr; }
  .ops-day-grid > article:first-child { grid-column: auto; }
  .ops-timeline {
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 0;
    padding: 0 0 0 2.35rem;
    overflow: visible;
  }
  .ops-timeline::before { top: 0; bottom: 0; left: .75rem; width: 2px; height: auto; }
  .ops-timeline-event { padding-bottom: 1rem; }
  .ops-timeline-node { position: absolute; top: 1.35rem; left: -2.3rem; margin: 0; }
  .ops-timeline-card { height: auto; }
}

@media (max-width: 600px) {
  .ops-header-identity .brand { width: 62px; height: 62px; }
  .ops-header-identity .monogram-mark { width: 62px; height: 62px; }
  .ops-header-identity h1 { font-size: 1.4rem; }
  .ops-header-actions .ops-button { flex: 1 1 auto; font-size: .82rem; }
  .ops-page-heading h2 { font-size: 3rem; }
  .ops-stats { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .ops-stats article { grid-template-columns: 1fr; min-height: 112px; padding: .8rem; text-align: center; }
  .ops-stat-icon { display: none; }
  .ops-stats strong { font-size: 1.8rem; }
  .ops-overview-grid, .ops-board, .ops-people-grid, .ops-contact-grid, .ops-activity-list { grid-template-columns: 1fr; }
  .ops-person-photo { height: 330px; }
  .ops-form-grid { grid-template-columns: 1fr; }
  .ops-dialog-actions { grid-template-columns: 1fr 1fr; }
  .ops-dialog-actions > span { display: none; }
  .ops-dialog-actions .ops-button-danger { grid-column: 1 / -1; }
  .ops-now-grid { grid-template-columns: 1fr; }
  .ops-day-actions, .ops-day-actions .ops-button { width: 100%; }
  .ops-day-mission-list article { grid-template-columns: 1fr; }
  .ops-connectivity { width: 100%; }
  .ops-incident-card footer { align-items: flex-start; flex-direction: column; }
}

/* Tableau de gestion des organisateurs */
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.mgmt-body {
  min-height: 100vh;
  color: #0b2547;
  background:
    radial-gradient(circle at 88% 4%, rgba(240, 211, 111, .18), transparent 24rem),
    linear-gradient(180deg, #fffdf7, #f3f6f5);
}
.mgmt-body::before { opacity: .07; }
.mgmt-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 92px;
  padding: .55rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(205, 168, 55, .42);
  background: rgba(255, 253, 247, .94);
  box-shadow: 0 8px 24px rgba(30, 52, 70, .05);
  backdrop-filter: blur(16px);
}
.mgmt-header-identity { display: flex; align-items: center; gap: 1rem; }
.mgmt-header-identity .brand { flex: 0 0 auto; }
.mgmt-header-identity p, .mgmt-header-identity h1 { margin: 0; }
.mgmt-header-identity h1 { font-size: clamp(1.55rem, 3vw, 2.3rem); line-height: 1; }
.mgmt-header-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; }
.mgmt-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: .65rem .9rem;
  border: 1px solid #d9c77e;
  border-radius: 5px;
  background: #fffef9;
  color: #173f71;
  font-size: .84rem;
  font-weight: 750;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.mgmt-button:hover { border-color: #6685b2; transform: translateY(-1px); }
.mgmt-button-primary { border-color: #173f71; background: #173f71; color: #fff; }
.mgmt-button-primary:hover { background: #315d8e; color: #fff; }
.mgmt-button-danger { border-color: #b76055; background: #fff4f1; color: #963e35; }
.mgmt-tabs {
  position: sticky;
  z-index: 40;
  top: 92px;
  display: flex;
  justify-content: center;
  gap: .2rem;
  padding: .55rem clamp(.7rem, 3vw, 2rem);
  overflow-x: auto;
  border-bottom: 1px solid #e4deca;
  background: rgba(248, 247, 240, .96);
  scrollbar-width: thin;
}
.mgmt-tabs button {
  flex: 0 0 auto;
  padding: .63rem 1rem;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: #5d7182;
  font-size: .83rem;
  font-weight: 750;
}
.mgmt-tabs button.is-active { background: #173f71; color: #fff; box-shadow: 0 5px 15px rgba(23, 63, 113, .18); }
.mgmt-main { width: min(1500px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(2.5rem, 5vw, 5rem) 0 7rem; }
.mgmt-loading { padding: 4rem 1rem; color: #667d8e; text-align: center; }
.mgmt-panel { animation: mgmt-enter .22s ease; }
@keyframes mgmt-enter { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.mgmt-page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.mgmt-page-heading p, .mgmt-page-heading h2 { margin-top: 0; }
.mgmt-page-heading h2 { margin-bottom: 0; font-size: clamp(2.7rem, 5vw, 5rem); line-height: .94; }
.mgmt-page-heading > p { max-width: 640px; margin-bottom: .35rem; color: #687988; }
.mgmt-generated { color: #778792; font-size: .78rem; }
.mgmt-heading-actions { align-items: center; }
.mgmt-toolbar { display: flex; align-items: center; gap: .6rem; }
.mgmt-toolbar input, .mgmt-toolbar select {
  min-height: 44px;
  padding: .65rem .8rem;
  border: 1px solid #d8d0b6;
  border-radius: 5px;
  background: #fff;
  color: #173f71;
}
.mgmt-toolbar input { width: min(310px, 48vw); }
.mgmt-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .85rem; margin-bottom: 1rem; }
.mgmt-stat { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .8rem; min-height: 115px; padding: 1rem; border: 1px solid #ded8c6; border-top: 4px solid #6685b2; border-radius: 8px; background: rgba(255,255,255,.84); box-shadow: 0 10px 27px rgba(31,54,73,.05); }
.mgmt-stat > strong { display: grid; width: 54px; height: 54px; border-radius: 50%; background: #edf2f7; color: #345f8e; font-family: "Cormorant Garamond Wedding", Georgia, serif; font-size: 1.9rem; font-weight: 400; place-items: center; }
.mgmt-stat div { display: grid; min-width: 0; gap: .1rem; }
.mgmt-stat span { font-weight: 800; line-height: 1.25; }
.mgmt-stat small { color: #7a8993; }
.mgmt-stat-gold { border-top-color: #d3a824; }
.mgmt-stat-gold > strong { background: #fff4c8; color: #966e06; }
.mgmt-stat-green { border-top-color: #6f9470; }
.mgmt-stat-green > strong { background: #eaf3e8; color: #527254; }
.mgmt-stat-red { border-top-color: #b75f55; }
.mgmt-stat-red > strong { background: #f9e8e4; color: #91433a; }
.mgmt-overview-grid { display: grid; grid-template-columns: 1.15fr .85fr 1fr; gap: 1rem; }
.mgmt-card { min-width: 0; padding: 1.35rem; border: 1px solid #ddd5bb; border-radius: 9px; background: rgba(255,255,255,.84); box-shadow: 0 16px 36px rgba(31,54,73,.055); }
.mgmt-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; margin-bottom: 1rem; }
.mgmt-card h3 { margin: 0; font-size: 1.8rem; line-height: 1.05; }
.mgmt-card header p { margin: .2rem 0 0; color: #687988; }
.mgmt-alert-list, .mgmt-activity-list { display: grid; gap: .55rem; }
.mgmt-alert-list button { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .65rem; width: 100%; padding: .75rem; border: 1px solid #eadba2; border-radius: 5px; background: #fff9e6; color: #173f71; text-align: left; }
.mgmt-alert-list button > span { display: grid; width: 27px; height: 27px; border-radius: 50%; background: #d5aa27; color: #fff; font-weight: 900; place-items: center; }
.mgmt-alert-list button i { font-size: 1.2rem; font-style: normal; }
.mgmt-finance dl { display: grid; gap: .7rem; margin: 0 0 1rem; }
.mgmt-finance dl div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .6rem; border-bottom: 1px solid #ebe5d3; }
.mgmt-finance dt { color: #70818e; }
.mgmt-finance dd { margin: 0; font-weight: 850; }
.mgmt-money-progress, .mgmt-capacity-bar > div { height: 9px; overflow: hidden; border-radius: 99px; background: #ecebe4; }
.mgmt-money-progress span, .mgmt-capacity-bar > div span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #d2aa2e, #6b8bb3); transition: width .3s ease; }
.mgmt-finance > small { display: block; margin-top: .45rem; color: #768792; text-align: right; }
.mgmt-activity-list article { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .65rem; padding: .65rem 0; border-bottom: 1px solid #ebe5d3; }
.mgmt-activity-list article > span { display: grid; width: 31px; height: 31px; border-radius: 50%; background: #edf2f7; color: #57769f; font-weight: 850; place-items: center; }
.mgmt-activity-list article div { display: grid; min-width: 0; }
.mgmt-activity-list strong { overflow: hidden; font-size: .83rem; text-overflow: ellipsis; white-space: nowrap; }
.mgmt-activity-list small { color: #82909a; }
.mgmt-empty { margin: .55rem 0; color: #788791; font-style: italic; }
.mgmt-empty-large { padding: 3rem; border: 1px dashed #d9d0b2; border-radius: 8px; text-align: center; }
.mgmt-list { display: grid; gap: .55rem; }
.mgmt-list-row { display: grid; grid-template-columns: minmax(250px, 1.3fr) repeat(4, minmax(125px, .75fr)) auto; align-items: center; gap: .9rem; padding: .9rem 1rem; border: 1px solid #dfd8c4; border-radius: 7px; background: rgba(255,255,255,.82); }
.mgmt-list-row.is-absent { opacity: .66; }
.mgmt-list-row > div { display: grid; min-width: 0; gap: .15rem; }
.mgmt-list-row > div > small { color: #81909a; font-size: .69rem; font-weight: 750; text-transform: uppercase; }
.mgmt-list-row > div > strong { overflow: hidden; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.mgmt-guest-name { display: flex !important; grid-template-columns: auto 1fr; align-items: center; gap: .7rem !important; }
.mgmt-guest-name > span, .mgmt-chip-list button > span { display: grid; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; background: #e9eff4; color: #3e6288; font-family: "Cormorant Garamond Wedding", Georgia, serif; font-size: 1.15rem; place-items: center; }
.mgmt-guest-name div { display: grid; min-width: 0; }
.mgmt-guest-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mgmt-guest-name small { color: #748592; font-size: .73rem; }
.mgmt-icon-button { flex: 0 0 auto; min-height: 35px; padding: .45rem .65rem; border: 1px solid #ccd6df; border-radius: 4px; background: #f5f8fa; color: #41658b; font-size: .72rem; font-weight: 800; }
.mgmt-status { display: inline-flex; width: fit-content; padding: .25rem .5rem; border-radius: 99px; background: #edf2f7; color: #557497; font-size: .68rem !important; font-weight: 850; }
.mgmt-status.is-confirmed, .mgmt-status.is-completed { background: #e8f1e6; color: #527552; }
.mgmt-status.is-pending { background: #fff1bf; color: #8a6508; }
.mgmt-status.is-cancelled { background: #f7e6e2; color: #93483f; }
.mgmt-capacity-bar { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; margin: -1rem 0 1.5rem; }
.mgmt-capacity-bar > div { height: 12px; }
.mgmt-capacity-bar p { margin: 0; color: #6d7f8d; font-size: .8rem; }
.mgmt-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.mgmt-assignment-card.is-overbooked { border-color: #b65e54; box-shadow: 0 0 0 2px rgba(182,94,84,.1); }
.mgmt-occupancy { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1rem; margin: 1.1rem 0; }
.mgmt-occupancy strong { color: #41668d; font-family: "Cormorant Garamond Wedding", Georgia, serif; font-size: 2rem; font-weight: 400; }
.mgmt-occupancy strong span { color: #80909b; font-size: 1rem; }
.mgmt-occupancy > div { height: 8px; overflow: hidden; border-radius: 99px; background: #ecebe4; }
.mgmt-occupancy > div span { display: block; height: 100%; border-radius: inherit; background: #6685b2; }
.is-overbooked .mgmt-occupancy > div span { background: #b65e54; }
.mgmt-chip-list { display: flex; flex-wrap: wrap; gap: .45rem; }
.mgmt-chip-list button { display: inline-flex; align-items: center; gap: .45rem; max-width: 100%; padding: .35rem .6rem .35rem .35rem; border: 1px solid #d9d4c4; border-radius: 99px; background: #fffef9; color: #173f71; font-size: .75rem; }
.mgmt-chip-list button > span { width: 26px; height: 26px; font-size: .8rem; }
.mgmt-card-note { margin: 1rem 0 0; padding-top: .85rem; border-top: 1px solid #ebe5d3; color: #697a87; font-size: .82rem; }
.mgmt-unassigned-card { margin-top: 1rem; border-left: 4px solid #d1a628; }
.mgmt-movements { display: grid; gap: .4rem; margin: 1rem 0 0; padding: .8rem 0 0; border-top: 1px solid #ebe5d3; list-style: none; }
.mgmt-movements li { display: grid; gap: .08rem; font-size: .75rem; }
.mgmt-movements li span { color: #778791; }
.mgmt-vendor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.mgmt-vendor-card header .mgmt-status { margin-bottom: .4rem; }
.mgmt-vendor-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin: 0 0 1rem; }
.mgmt-vendor-card dl div { display: grid; gap: .1rem; padding: .55rem; border-radius: 4px; background: #f5f6f4; }
.mgmt-vendor-card dt { color: #788791; font-size: .68rem; text-transform: uppercase; }
.mgmt-vendor-card dd { margin: 0; overflow: hidden; font-size: .8rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.mgmt-vendor-money { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: .8rem 0; }
.mgmt-vendor-money div { display: grid; }
.mgmt-vendor-money span { color: #778791; font-size: .72rem; }
.mgmt-vendor-money strong { font-size: 1.1rem; }
.mgmt-vendor-card footer { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1rem; padding-top: .8rem; border-top: 1px solid #ebe5d3; }
.mgmt-vendor-card footer a { color: #5274a0; font-size: .78rem; font-weight: 800; }
.mgmt-allergy-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.mgmt-allergy-list article { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.2rem; border: 1px solid #e1cf9f; border-left: 4px solid #c79b1c; border-radius: 7px; background: rgba(255,253,242,.86); }
.mgmt-allergy-icon { display: grid; width: 40px; height: 40px; border-radius: 50%; background: #d2a824; color: #fff; font-size: 1.2rem; font-weight: 900; place-items: center; }
.mgmt-allergy-list h3, .mgmt-allergy-list p { margin: 0; }
.mgmt-allergy-list h3 { font-size: 1.6rem; }
.mgmt-allergy-list article div > strong { display: block; margin: .25rem 0; color: #704e08; }
.mgmt-allergy-list small { color: #7b858c; }
.mgmt-dialog { width: min(790px, calc(100% - 1.5rem)); max-height: calc(100vh - 1.5rem); padding: 0; border: 1px solid #d4bd65; border-radius: 10px; background: #fffdf7; color: #0b2547; box-shadow: 0 30px 90px rgba(18, 42, 65, .3); }
.mgmt-dialog::backdrop { background: rgba(9, 28, 48, .57); backdrop-filter: blur(4px); }
.mgmt-dialog form { position: relative; display: grid; gap: .9rem; padding: clamp(1.4rem, 4vw, 2.5rem); }
.mgmt-dialog h2 { margin: -.45rem 2.8rem 0 0; font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1; }
.mgmt-dialog-close { position: absolute; top: 1rem; right: 1rem; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #edf1f3; color: #173f71; font-size: 1.5rem; }
.mgmt-form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; max-height: 58vh; padding-right: .3rem; overflow-y: auto; }
.mgmt-form-fields label { display: grid; gap: .35rem; color: #5f7180; font-size: .76rem; font-weight: 750; }
.mgmt-form-fields input, .mgmt-form-fields select, .mgmt-form-fields textarea { width: 100%; padding: .7rem; border: 1px solid #d6ceb5; border-radius: 5px; background: #fff; color: #173f71; font: inherit; font-size: .9rem; }
.mgmt-form-fields textarea { resize: vertical; }
.mgmt-field-wide { grid-column: 1 / -1; }
.mgmt-form-message { min-height: 1.3rem; margin: 0; color: #963e35; font-weight: 800; }
.mgmt-dialog-actions { display: grid; grid-template-columns: auto auto 1fr auto auto; gap: .55rem; padding-top: .8rem; border-top: 1px solid #e4deca; }
.mgmt-toast { position: fixed; z-index: 90; right: 1rem; bottom: 1rem; max-width: min(400px, calc(100% - 2rem)); padding: .9rem 1.1rem; border-radius: 6px; background: #173f71; color: #fff; box-shadow: 0 16px 45px rgba(18,42,65,.28); opacity: 0; transform: translateY(12px); transition: .2s ease; pointer-events: none; }
.mgmt-toast.is-visible { opacity: 1; transform: none; }
.mgmt-toast.is-error { background: #933f36; }

@media (max-width: 1180px) {
  .mgmt-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mgmt-overview-grid { grid-template-columns: 1fr 1fr; }
  .mgmt-overview-grid > article:last-child { grid-column: 1 / -1; }
  .mgmt-card-grid, .mgmt-vendor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mgmt-list-row { grid-template-columns: minmax(230px, 1.3fr) repeat(2, minmax(120px, .8fr)) auto; }
  .mgmt-list-row > div:nth-child(4), .mgmt-list-row > div:nth-child(5) { display: none; }
}

@media (max-width: 820px) {
  .mgmt-header { position: static; align-items: flex-start; flex-direction: column; padding-block: .8rem; }
  .mgmt-header-actions { width: 100%; justify-content: flex-start; }
  .mgmt-tabs { top: 0; justify-content: flex-start; }
  .mgmt-main { width: min(100% - 1.2rem, 1500px); padding-top: 2.4rem; }
  .mgmt-page-heading { align-items: flex-start; flex-direction: column; gap: .9rem; }
  .mgmt-toolbar { width: 100%; }
  .mgmt-toolbar label, .mgmt-toolbar input { flex: 1; width: 100%; }
  .mgmt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mgmt-overview-grid, .mgmt-card-grid, .mgmt-vendor-grid, .mgmt-allergy-list { grid-template-columns: 1fr; }
  .mgmt-overview-grid > article:last-child { grid-column: auto; }
  .mgmt-list-row { grid-template-columns: 1fr auto; }
  .mgmt-list-row > div:not(:first-child), .mgmt-list-row > div:nth-child(4), .mgmt-list-row > div:nth-child(5) { display: none; }
}

@media (max-width: 560px) {
  .mgmt-header-identity .monogram-mark { width: 62px; height: 62px; }
  .mgmt-header-actions .mgmt-button { flex: 1 1 calc(50% - .5rem); font-size: .78rem; }
  .mgmt-page-heading h2 { font-size: 3.15rem; }
  .mgmt-toolbar { align-items: stretch; flex-direction: column; }
  .mgmt-stats { gap: .55rem; }
  .mgmt-stat { grid-template-columns: 1fr; min-height: 126px; padding: .75rem; text-align: center; }
  .mgmt-stat > strong { width: 45px; height: 45px; margin: 0 auto; font-size: 1.6rem; }
  .mgmt-capacity-bar { grid-template-columns: 1fr; }
  .mgmt-capacity-bar p { text-align: center; }
  .mgmt-card { padding: 1.05rem; }
  .mgmt-vendor-card dl { grid-template-columns: 1fr; }
  .mgmt-form-fields { grid-template-columns: 1fr; }
  .mgmt-form-fields > *, .mgmt-field-wide { grid-column: 1; }
  .mgmt-dialog-actions { grid-template-columns: 1fr 1fr; }
  .mgmt-dialog-actions > span { display: none; }
  .mgmt-dialog-actions .mgmt-button-danger { grid-column: 1 / -1; }
}

/* Espace personnel de modification des réponses */
.response-body {
  min-height: 100vh;
  color: #0b2547;
  background:
    radial-gradient(circle at 85% 8%, rgba(240, 210, 105, .22), transparent 23rem),
    linear-gradient(180deg, #fffdf7, #f3f7f6);
}
.response-body::before { opacity: .07; }
.response-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 96px;
  padding: .55rem clamp(1rem, 5vw, 4.5rem);
  border-bottom: 1px solid rgba(205,168,55,.45);
  background: rgba(255,253,247,.95);
}
.response-header > .brand { justify-self: start; }
.response-header > div { text-align: center; }
.response-header p, .response-header h1 { margin: 0; }
.response-header h1 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1; }
.response-header > .button { justify-self: end; text-decoration: none; }
.response-main { width: min(960px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) 0; }
.response-intro { max-width: 720px; margin: 0 auto 2rem; text-align: center; }
.response-intro h2 { margin: 0 0 .8rem; font-size: clamp(2.8rem, 7vw, 5.4rem); }
.response-intro > p:last-child { margin: 0; color: #617485; font-size: 1.04rem; }
.response-card { padding: clamp(1.3rem, 5vw, 3rem); border: 1px solid #dfd3aa; border-radius: 18px; background: rgba(255,255,255,.9); box-shadow: 0 22px 65px rgba(31,54,73,.1); }
.response-access-card { width: min(540px, 100%); margin: 0 auto; text-align: center; }
.response-access-card form { display: grid; gap: .8rem; }
.response-access-card label { color: #5d7182; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.response-access-card input { width: 100%; padding: .9rem; border: 1px solid #d1c69f; border-radius: 7px; background: #fff; color: #173f71; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(1.25rem, 5vw, 1.7rem); font-weight: 850; letter-spacing: .13em; text-align: center; text-transform: uppercase; }
.response-access-card input:focus { outline: 3px solid rgba(102,133,178,.22); border-color: #6685b2; }
.response-help { margin: 1rem 0 0; color: #7a8993; font-size: .8rem; }
.response-editor-heading { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; padding-bottom: 1.2rem; border-bottom: 1px solid #e7dfc6; }
.response-editor-heading p, .response-editor-heading h2 { margin: 0; }
.response-editor-heading h2 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.response-editor-heading > div:first-child > p:last-child { color: #617485; }
.response-code-badge { flex: 0 0 auto; padding: .75rem 1rem; border: 1px solid #d6b445; border-radius: 8px; background: #fff8d9; text-align: center; }
.response-code-badge span, .response-code-badge strong { display: block; }
.response-code-badge span { color: #748592; font-size: .67rem; font-weight: 800; text-transform: uppercase; }
.response-code-badge strong { color: #173f71; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.response-editor-card .rsvp-form { max-width: none; margin: 0; padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
.response-form-actions { display: flex; align-items: center; justify-content: flex-end; gap: .7rem; margin-top: 1rem; }
.response-form-actions .button { margin: 0; text-decoration: none; }
.response-footer { padding: 1.2rem; border-top: 1px solid #e0d6b4; color: #728390; text-align: center; }

@media (max-width: 700px) {
  .response-header { grid-template-columns: auto 1fr; }
  .response-header > div { text-align: left; }
  .response-header > .button { display: none; }
  .response-editor-heading { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .response-code-badge { width: 100%; }
  .response-form-actions { align-items: stretch; flex-direction: column-reverse; }
  .response-form-actions .button { width: 100%; }
  .rsvp-receipt > div { align-items: stretch; flex-direction: column; }
}
