/* Reseefy Cloud 0.9.685 — Vue globale : implémentation canonique isolée. */
html body .rsfy-dh-advanced-v2-card .rsfy-dh-global-controls{display:block!important;width:min(100%,680px)!important;max-width:100%!important;margin-top:18px!important;padding:0!important;box-sizing:border-box!important}
html body .rsfy-dh-advanced-v2-card .rsfy-dh-global-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;align-items:center!important;column-gap:12px!important;width:100%!important;max-width:100%!important;min-height:54px!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
html body .rsfy-dh-advanced-v2-card .rsfy-dh-global-toolbar>[data-dh-view-customizations]{grid-column:1!important;grid-row:1!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;max-width:none!important;min-width:0!important;height:54px!important;margin:0!important;box-sizing:border-box!important}
html body #rsfy-dh-global-view-trigger[data-dh-global-view]{all:unset!important;grid-column:2!important;grid-row:1!important;display:block!important;position:relative!important;justify-self:end!important;width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;min-height:44px!important;max-height:44px!important;margin:0!important;padding:0!important;box-sizing:border-box!important;border:1px solid #dedcd8!important;border-radius:12px!important;background-color:#fff!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12s3.5-6 9.5-6 9.5 6 9.5 6-3.5 6-9.5 6-9.5-6-9.5-6Z'/%3E%3Ccircle cx='12' cy='12' r='2.7'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:center!important;background-size:22px 22px!important;box-shadow:none!important;filter:none!important;transform:none!important;opacity:1!important;visibility:visible!important;overflow:hidden!important;cursor:pointer!important;z-index:3!important;touch-action:manipulation!important;-webkit-tap-highlight-color:transparent!important}
html body #rsfy-dh-global-view-trigger[data-dh-global-view]::before,html body #rsfy-dh-global-view-trigger[data-dh-global-view]::after{content:none!important;display:none!important}
html body #rsfy-dh-global-view-trigger[data-dh-global-view]:hover{background-color:#f4f3f1!important;border-color:#c9c7c2!important}
html body #rsfy-dh-global-view-trigger[data-dh-global-view]:focus-visible{outline:2px solid #111!important;outline-offset:2px!important}
html body .rsfy-dh-advanced-v2-card .rsfy-dh-global-controls>.rsfy-dh-advanced-v2-open{display:flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:350px!important;max-width:100%!important;min-height:54px!important;margin:12px 0 0!important;box-sizing:border-box!important}
html body .rsfy-dh-calendar-grid button.rsfy-dh-cal-day{position:relative!important;overflow:visible!important}.rsfy-dh-cal-markers{position:absolute!important;left:50%!important;bottom:3px!important;transform:translateX(-50%)!important;display:flex!important;gap:2px!important;height:4px!important;pointer-events:none!important}.rsfy-dh-cal-markers i{display:block!important;width:4px!important;height:4px!important;border-radius:50%!important;background:#8f918f!important}.rsfy-dh-cal-markers i.is-open{background:#7FB9F9!important}.rsfy-dh-cal-day.is-selected .rsfy-dh-cal-markers i{box-shadow:0 0 0 1px #fff!important}
.rsfy-dh-global-modal[hidden]{display:none!important}.rsfy-dh-global-modal:not([hidden]){position:fixed!important;inset:0!important;z-index:2147482500!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:24px!important;box-sizing:border-box!important;font-family:inherit!important}.rsfy-dh-global-backdrop{position:absolute!important;inset:0!important;background:rgba(17,17,17,.34)!important;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.rsfy-dh-global-dialog{position:relative!important;z-index:2!important;width:min(1180px,calc(100vw - 48px))!important;max-height:calc(100dvh - 48px)!important;overflow:hidden!important;background:#fff!important;color:#111!important;border:1px solid #dedcd8!important;border-radius:28px!important;box-shadow:0 28px 90px rgba(0,0,0,.18)!important;padding:26px!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important}.rsfy-dh-global-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:20px!important}.rsfy-dh-global-head h3{margin:5px 0!important;font-size:30px!important;line-height:1.05!important;letter-spacing:-.035em!important;color:#111!important}.rsfy-dh-global-head p{margin:0!important;color:#77736d!important;font-size:12px!important;line-height:1.45!important}
.rsfy-dh-global-dialog button{font-family:inherit!important;text-transform:none!important;letter-spacing:normal!important;box-shadow:none!important;background-image:none!important;text-shadow:none!important}.rsfy-dh-global-close{appearance:none!important;-webkit-appearance:none!important;display:block!important;flex:0 0 44px!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border:1px solid #dedcd8!important;border-radius:50%!important;background:#fff!important;color:#111!important;position:relative!important;cursor:pointer!important}.rsfy-dh-global-close span:before,.rsfy-dh-global-close span:after{content:""!important;position:absolute!important;left:20px!important;top:12px!important;width:2px!important;height:18px!important;background:#111!important;border-radius:2px!important}.rsfy-dh-global-close span:before{transform:rotate(45deg)!important}.rsfy-dh-global-close span:after{transform:rotate(-45deg)!important}
.rsfy-dh-global-year{display:flex!important;align-items:center!important;justify-content:center!important;gap:14px!important;margin:18px 0 8px!important}.rsfy-dh-global-year strong{min-width:72px!important;text-align:center!important;font-size:17px!important}.rsfy-dh-global-year button{appearance:none!important;-webkit-appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;margin:0!important;padding:0!important;border:1px solid #e0ddd8!important;border-radius:10px!important;background:#fff!important;color:#111!important;font-size:22px!important;line-height:1!important;cursor:pointer!important}.rsfy-dh-global-legend{display:flex!important;justify-content:center!important;gap:18px!important;margin:0 0 12px!important;color:#6b6863!important;font-size:10px!important;font-weight:700!important}.rsfy-dh-global-legend span{display:flex!important;align-items:center!important;gap:6px!important}.rsfy-dh-global-legend i{width:8px!important;height:8px!important;border-radius:50%!important;background:#8f918f!important}.rsfy-dh-global-legend i.is-open{background:#7FB9F9!important}.rsfy-dh-global-empty{margin:0 0 10px!important;padding:10px 12px!important;border-radius:11px!important;background:#f7f6f3!important;text-align:center!important;color:#77736d!important;font-size:11px!important}
.rsfy-dh-global-scroll{position:relative!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-x pan-y!important;overscroll-behavior-x:contain!important;border:1px solid #e2ded8!important;border-radius:18px!important;background:#f8f8f7!important;scrollbar-width:thin}.rsfy-dh-global-board{display:flex!important;min-width:max-content!important;height:480px!important}.rsfy-dh-global-axis{position:sticky!important;left:0!important;z-index:8!important;width:58px!important;min-width:58px!important;background:#f8f8f7!important;border-right:1px solid #dedcd8!important}.rsfy-dh-global-axis>b{display:flex!important;height:42px!important;align-items:center!important;justify-content:center!important;font-size:9px!important;color:#8b8781!important}.rsfy-dh-global-axis>div{position:relative!important;height:438px!important}.rsfy-dh-global-axis span{position:absolute!important;right:8px!important;transform:translateY(-50%)!important;font-size:9px!important;color:#77736d!important}.rsfy-dh-global-months{display:flex!important;height:100%!important}.rsfy-dh-global-month{width:170px!important;min-width:170px!important;height:100%!important;border-right:1px solid #dedcd8!important;background:#f3f3f1!important}.rsfy-dh-global-month:nth-child(even){background:#eeeeec!important}.rsfy-dh-global-month header{height:42px!important;display:flex!important;align-items:center!important;padding:0 12px!important;box-sizing:border-box!important;border-bottom:1px solid #dedcd8!important;font-size:11px!important;font-weight:800!important;color:#fff!important;background:#5b5c5b!important}.rsfy-dh-global-month-grid{position:relative!important;height:438px!important;background-image:repeating-linear-gradient(to bottom,transparent 0,transparent calc(8.333% - 1px),rgba(255,255,255,.7) calc(8.333% - 1px),rgba(255,255,255,.7) 8.333%)!important}.rsfy-dh-global-month-empty{position:absolute!important;left:10px!important;right:10px!important;top:50%!important;transform:translateY(-50%)!important;font-size:9px!important;line-height:1.35!important;color:#9a9690!important;text-align:center!important}.rsfy-dh-global-block{appearance:none!important;-webkit-appearance:none!important;position:absolute!important;left:10px!important;right:10px!important;width:auto!important;min-width:0!important;min-height:28px!important;margin:0!important;padding:8px!important;border:0!important;border-radius:9px!important;text-align:left!important;overflow:hidden!important;cursor:pointer!important;box-shadow:0 1px 0 rgba(0,0,0,.05)!important;z-index:calc(2 + var(--rsfy-stack))!important}.rsfy-dh-global-block.is-open{background:#7FB9F9!important;color:#fff!important}.rsfy-dh-global-block.is-closed{background:#8f918f!important;color:#fff!important}.rsfy-dh-global-block b,.rsfy-dh-global-block small,.rsfy-dh-global-block em,.rsfy-dh-global-block span{display:block!important;color:inherit!important}.rsfy-dh-global-block b{font-size:10px!important}.rsfy-dh-global-block small,.rsfy-dh-global-block em,.rsfy-dh-global-block span{margin-top:4px!important;font-size:8px!important;line-height:1.25!important}.rsfy-dh-global-block em{font-style:normal!important;font-weight:700!important}.rsfy-dh-global-block span{white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important}.rsfy-dh-global-detail[hidden]{display:none!important}.rsfy-dh-global-detail{position:absolute!important;right:34px!important;bottom:34px!important;z-index:20!important;width:min(330px,calc(100% - 68px))!important;padding:18px 42px 18px 18px!important;border:1px solid #dedcd8!important;border-radius:16px!important;background:#fff!important;box-shadow:0 18px 55px rgba(0,0,0,.16)!important;box-sizing:border-box!important}.rsfy-dh-global-detail>button{appearance:none!important;position:absolute!important;right:10px!important;top:10px!important;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#f2f1ef!important;color:#111!important;cursor:pointer!important}.rsfy-dh-global-detail small,.rsfy-dh-global-detail strong,.rsfy-dh-global-detail span{display:block!important}.rsfy-dh-global-detail small{font-size:9px!important;font-weight:800!important;letter-spacing:.1em!important;color:#77736d!important}.rsfy-dh-global-detail strong{margin-top:5px!important;font-size:15px!important}.rsfy-dh-global-detail span{margin-top:4px!important;font-size:11px!important;color:#5f5b55!important}.rsfy-dh-global-detail p{margin:10px 0 0!important;font-size:11px!important;line-height:1.45!important;color:#444!important}
@media(max-width:980px){html body .rsfy-dh-advanced-v2-card .rsfy-dh-global-controls{width:100%!important}html body .rsfy-dh-advanced-v2-card .rsfy-dh-global-controls>.rsfy-dh-advanced-v2-open{width:100%!important;min-width:0!important}.rsfy-dh-global-modal:not([hidden]){padding:max(14px,env(safe-area-inset-top)) 12px max(14px,env(safe-area-inset-bottom))!important}.rsfy-dh-global-dialog{width:100%!important;max-height:calc(100dvh - 28px)!important;padding:18px 14px 14px!important;border-radius:24px!important}.rsfy-dh-global-head h3{font-size:24px!important}.rsfy-dh-global-head p{font-size:10.5px!important;max-width:260px!important}.rsfy-dh-global-close{flex-basis:40px!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important}.rsfy-dh-global-close span:before,.rsfy-dh-global-close span:after{left:18px!important;top:11px!important;height:16px!important}.rsfy-dh-global-year{margin-top:14px!important}.rsfy-dh-global-legend{justify-content:flex-start!important;padding-left:2px!important;gap:12px!important}.rsfy-dh-global-scroll{scrollbar-width:none!important}.rsfy-dh-global-scroll::-webkit-scrollbar{display:none!important}.rsfy-dh-global-board{height:430px!important}.rsfy-dh-global-axis{width:48px!important;min-width:48px!important}.rsfy-dh-global-axis>b{height:38px!important}.rsfy-dh-global-axis>div{height:392px!important}.rsfy-dh-global-month{width:145px!important;min-width:145px!important}.rsfy-dh-global-month header{height:38px!important;padding:0 10px!important}.rsfy-dh-global-month-grid{height:392px!important}.rsfy-dh-global-detail{right:14px!important;bottom:14px!important;width:calc(100% - 28px)!important}}

/* 0.9.687 — Desktop uniquement : retrouve le rendu compact validé, sans toucher au mobile. */
@media (min-width:981px){
  html body .rsfy-dh-advanced-v2-card .rsfy-dh-global-controls{
    width:max-content!important;
    max-width:100%!important;
    margin-top:18px!important;
  }
  html body .rsfy-dh-advanced-v2-card .rsfy-dh-global-toolbar{
    display:grid!important;
    grid-template-columns:max-content 44px!important;
    width:max-content!important;
    max-width:100%!important;
    column-gap:10px!important;
    min-height:44px!important;
  }
  html body .rsfy-dh-advanced-v2-card .rsfy-dh-global-toolbar>[data-dh-view-customizations]{
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:44px!important;
    min-height:44px!important;
    padding:0 18px!important;
    white-space:nowrap!important;
  }
  html body .rsfy-dh-advanced-v2-card .rsfy-dh-global-controls>.rsfy-dh-advanced-v2-open{
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    min-height:44px!important;
    margin:12px 0 12px!important;
    padding:0 24px!important;
    white-space:nowrap!important;
  }
  html body .rsfy-dh-advanced-v2-card .rsfy-dh-customizations-preview{
    margin-top:0!important;
  }
}

/* 0.9.688 — création directe depuis une colonne vide de l'Agenda personnalisé. */
.rsfy-dh-global-month-grid[data-global-create-zone]{cursor:pointer;}
.rsfy-dh-global-month-grid[data-global-create-zone]:hover{background-color:rgba(17,17,17,.018);}
.rsfy-dh-global-block{cursor:pointer;}
@media (hover:none){.rsfy-dh-global-month-grid[data-global-create-zone]:hover{background-color:transparent;}}

/* 0.9.689 — interactions premium de création depuis l'Agenda personnalisé. */
.rsfy-dh-global-month-grid[data-global-create-zone]{
  -webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important;
  touch-action:pan-x pan-y!important;
}
.rsfy-dh-global-month-grid[data-global-create-zone].is-long-pressing{
  background-color:rgba(17,17,17,.055)!important;
  box-shadow:inset 0 0 0 1px rgba(17,17,17,.08)!important;
}
.rsfy-dh-global-context-menu[hidden]{display:none!important}
.rsfy-dh-global-context-menu{
  position:fixed!important;z-index:2147483600!important;min-width:210px!important;padding:6px!important;
  border:1px solid #dedcd8!important;border-radius:14px!important;background:#fff!important;
  box-shadow:0 16px 45px rgba(0,0,0,.18)!important;box-sizing:border-box!important;
}
.rsfy-dh-global-context-menu button{
  appearance:none!important;-webkit-appearance:none!important;display:flex!important;align-items:center!important;
  width:100%!important;min-height:42px!important;margin:0!important;padding:0 12px!important;border:0!important;
  border-radius:10px!important;background:#fff!important;color:#111!important;font:700 13px/1.2 Arial,sans-serif!important;
  text-align:left!important;cursor:pointer!important;
}
.rsfy-dh-global-context-menu button:hover{background:#f3f2ef!important}
@media(hover:none),(pointer:coarse){.rsfy-dh-global-context-menu{display:none!important}}

/* Reseefy 0.9.692 — Personnalisation avancée au-dessus de l'Agenda personnalisé. */
html body > [data-dh-advanced-modal].rsfy-dh-advanced-modal-v2:not([hidden]),
html body > .rsfy-dh-advanced-modal:not([hidden]){
  position:fixed!important;
  inset:0!important;
  z-index:2147483646!important;
  isolation:isolate!important;
}
html body > [data-dh-advanced-modal].rsfy-dh-advanced-modal-v2:not([hidden]) .rsfy-dh-modal-backdrop,
html body > .rsfy-dh-advanced-modal:not([hidden]) .rsfy-dh-modal-backdrop{
  z-index:0!important;
}
html body > [data-dh-advanced-modal].rsfy-dh-advanced-modal-v2:not([hidden]) .rsfy-dh-modal-dialog,
html body > .rsfy-dh-advanced-modal:not([hidden]) .rsfy-dh-modal-dialog{
  position:relative!important;
  z-index:1!important;
}

/* 0.9.694 — diagrammes calendaires proportionnels : horizontal = jours, vertical = heures. */
.rsfy-dh-global-month-grid{
  overflow:hidden!important;
  background-image:repeating-linear-gradient(to bottom,transparent 0,transparent calc(8.333% - 1px),rgba(255,255,255,.70) calc(8.333% - 1px),rgba(255,255,255,.70) 8.333%)!important;
}
.rsfy-dh-global-block.rsfy-dh-global-range{
  right:auto!important;
  min-width:2px!important;
  padding:0!important;
  border-radius:7px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  z-index:calc(2 + var(--rsfy-stack))!important;
}
.rsfy-dh-global-block.rsfy-dh-global-range.continues-before{border-top-left-radius:0!important;border-bottom-left-radius:0!important}
.rsfy-dh-global-block.rsfy-dh-global-range.continues-after{border-top-right-radius:0!important;border-bottom-right-radius:0!important}
.rsfy-dh-global-range-label{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;width:100%!important;height:100%!important;padding:5px 6px!important;box-sizing:border-box!important;overflow:hidden!important;white-space:nowrap!important;pointer-events:none!important}
.rsfy-dh-global-range-label b,.rsfy-dh-global-range-label small,.rsfy-dh-global-range-label em{max-width:100%!important;margin:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.rsfy-dh-global-range-label b{font-size:9px!important;line-height:1.15!important}.rsfy-dh-global-range-label small,.rsfy-dh-global-range-label em{font-size:7px!important;line-height:1.2!important;margin-top:2px!important}
.rsfy-dh-global-block.rsfy-dh-global-range[style*="width:3."] .rsfy-dh-global-range-label,
.rsfy-dh-global-block.rsfy-dh-global-range[style*="width:6."] .rsfy-dh-global-range-label{padding:0!important}
@media(max-width:980px){.rsfy-dh-global-range-label{padding:4px!important}.rsfy-dh-global-range-label b{font-size:8px!important}.rsfy-dh-global-range-label small,.rsfy-dh-global-range-label em{font-size:6.5px!important}}


/* 0.9.695 — axe horizontal des jours, synchronisé avec les diagrammes proportionnels. */
.rsfy-dh-global-board{height:506px!important}
.rsfy-dh-global-month{height:506px!important}
.rsfy-dh-global-month-grid{height:438px!important}
.rsfy-dh-global-day-axis{position:relative!important;height:26px!important;min-height:26px!important;border-top:1px solid #d8d6d1!important;background:#f8f8f7!important;box-sizing:border-box!important;overflow:hidden!important;pointer-events:none!important}
.rsfy-dh-global-day-tick{position:absolute!important;top:0!important;transform:translateX(-50%)!important;height:100%!important;display:block!important;color:#77736d!important;font-size:8px!important;font-weight:700!important;line-height:1!important;white-space:nowrap!important}
.rsfy-dh-global-day-tick i{display:block!important;width:1px!important;height:5px!important;margin:0 auto 4px!important;background:#bdbab5!important}
.rsfy-dh-global-day-tick b{display:block!important;font:700 8px/1 Arial,sans-serif!important;color:#77736d!important}
.rsfy-dh-global-day-guide{position:absolute!important;top:0!important;bottom:0!important;width:1px!important;background:rgba(91,92,91,.10)!important;pointer-events:none!important;z-index:1!important}
.rsfy-dh-global-block.rsfy-dh-global-range{z-index:calc(3 + var(--rsfy-stack))!important}
.rsfy-dh-global-axis{height:506px!important}
.rsfy-dh-global-axis>div{height:438px!important}
.rsfy-dh-global-day-axis-corner{display:flex!important;align-items:center!important;justify-content:center!important;height:26px!important;border-top:1px solid #d8d6d1!important;box-sizing:border-box!important;color:#8b8781!important;font-size:8px!important;font-weight:700!important;background:#f8f8f7!important}
@media(max-width:980px){
 .rsfy-dh-global-board{height:456px!important}
 .rsfy-dh-global-month,.rsfy-dh-global-axis{height:456px!important}
 .rsfy-dh-global-month-grid,.rsfy-dh-global-axis>div{height:392px!important}
 .rsfy-dh-global-day-axis,.rsfy-dh-global-day-axis-corner{height:26px!important;min-height:26px!important}
 .rsfy-dh-global-day-tick b{font-size:7.5px!important}
}


/* 0.9.696 — mois passés : historique visible, création verrouillée, web + mobile. */
.rsfy-dh-global-month.is-past-month{position:relative!important}
.rsfy-dh-global-month.is-past-month>header{color:#8a8782!important;background:#f0efed!important}
.rsfy-dh-global-past-label{display:inline-flex!important;align-items:center!important;margin-left:7px!important;padding:2px 6px!important;border-radius:999px!important;background:#dedcd8!important;color:#77736d!important;font:700 7px/1.2 Arial,sans-serif!important;text-transform:uppercase!important;letter-spacing:.04em!important;vertical-align:middle!important}
.rsfy-dh-global-month.is-past-month .rsfy-dh-global-month-grid{cursor:not-allowed!important;background-color:#e7e6e3!important;background-image:repeating-linear-gradient(to bottom,rgba(231,230,227,.82) 0,rgba(231,230,227,.82) calc(8.333% - 1px),rgba(201,199,195,.68) calc(8.333% - 1px),rgba(201,199,195,.68) 8.333%)!important}
.rsfy-dh-global-month.is-past-month .rsfy-dh-global-month-grid::after{content:"";position:absolute!important;inset:0!important;background:rgba(181,179,175,.30)!important;pointer-events:none!important;z-index:20!important}
.rsfy-dh-global-month.is-past-month .rsfy-dh-global-block{z-index:21!important;filter:grayscale(.72)!important;opacity:.72!important}
.rsfy-dh-global-month.is-past-month .rsfy-dh-global-day-guide{opacity:.55!important}
.rsfy-dh-global-month.is-past-month .rsfy-dh-global-day-axis{background:#e8e7e4!important;color:#8a8782!important}
.rsfy-dh-global-month.is-past-month .rsfy-dh-global-day-tick b{color:#8a8782!important}
.rsfy-dh-global-month.is-past-month .rsfy-dh-global-month-empty{color:#99958f!important}
.rsfy-dh-global-month.is-past-month .rsfy-dh-global-month-grid.is-long-pressing{box-shadow:none!important}
@media(max-width:980px){.rsfy-dh-global-past-label{margin-left:5px!important;padding:2px 5px!important;font-size:6.5px!important}}


/* 0.9.697 — géométrie unique des jours, guides et plages. */
.rsfy-dh-global-block.rsfy-dh-global-range{left:var(--rsfy-range-left)!important;width:var(--rsfy-range-width)!important;right:auto!important;max-width:none!important}
.rsfy-dh-global-day-guide{transform:none!important}
.rsfy-dh-global-day-tick.is-first i,.rsfy-dh-global-day-tick.is-last i{background:transparent!important}


/* 0.9.698 — grille allégée : aucun guide vertical et axe Heure/Jours totalement opaque au scroll. */
.rsfy-dh-global-day-guide{display:none!important}
.rsfy-dh-global-axis{
  z-index:1000!important;
  isolation:isolate!important;
  background:#f8f8f7!important;
  overflow:hidden!important;
  box-shadow:1px 0 0 #dedcd8!important;
}
.rsfy-dh-global-axis>b,
.rsfy-dh-global-axis>div,
.rsfy-dh-global-day-axis-corner{
  position:relative!important;
  z-index:2!important;
  background:#f8f8f7!important;
  opacity:1!important;
}
.rsfy-dh-global-axis>div{overflow:hidden!important}
.rsfy-dh-global-axis::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:#f8f8f7!important;
  pointer-events:none!important;
}
.rsfy-dh-global-day-axis-corner{position:absolute!important;left:0!important;right:0!important;bottom:0!important;width:100%!important}

/* 0.9.700 — action premium de suppression dans le détail d'une planification. */
.rsfy-dh-global-detail-actions{margin-top:16px!important;padding-top:14px!important;border-top:1px solid #eceae6!important}.rsfy-dh-global-detail .rsfy-dh-global-delete{position:static!important;display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;height:46px!important;min-width:0!important;min-height:46px!important;margin:0!important;padding:0 14px 0 16px!important;border:1px solid #e4e1dc!important;border-radius:14px!important;background:#f7f6f4!important;color:#171717!important;box-shadow:none!important;font:700 12px/1 Arial,sans-serif!important;letter-spacing:0!important;cursor:pointer!important}.rsfy-dh-global-detail .rsfy-dh-global-delete:hover{background:#efeeeb!important}.rsfy-dh-global-detail .rsfy-dh-global-delete:active{transform:scale(.99)!important}.rsfy-dh-global-detail .rsfy-dh-global-delete span{display:block!important;margin:0!important;color:inherit!important;font:inherit!important}.rsfy-dh-global-detail .rsfy-dh-global-delete svg{display:block!important;width:19px!important;height:19px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;flex:0 0 19px!important}@media(max-width:980px){.rsfy-dh-global-detail-actions{margin-top:18px!important}.rsfy-dh-global-detail .rsfy-dh-global-delete{height:50px!important;min-height:50px!important;border-radius:15px!important;font-size:13px!important}}


/* 0.9.702 — cartes premium de lisibilité pour les personnalisations de 1 à 4 jours. */
.rsfy-dh-global-read-card[hidden]{display:none!important}
.rsfy-dh-global-read-card{
 position:absolute!important;left:var(--rsfy-card-left)!important;z-index:calc(40 + var(--rsfy-stack))!important;
 width:132px!important;min-height:76px!important;padding:12px 28px 11px 12px!important;box-sizing:border-box!important;
 border:1px solid rgba(17,17,17,.09)!important;border-radius:12px!important;background:#fff!important;color:#111!important;
 box-shadow:0 10px 26px rgba(0,0,0,.13)!important;text-align:left!important;cursor:pointer!important;
 transform:translateY(-2px)!important;
}
.rsfy-dh-global-read-card b,.rsfy-dh-global-read-card strong,.rsfy-dh-global-read-card small{display:block!important}
.rsfy-dh-global-read-card b{font-size:10px!important;line-height:1.15!important;font-weight:800!important;color:#111!important}
.rsfy-dh-global-read-card.is-open b{color:#239447!important}
.rsfy-dh-global-read-card strong{margin-top:6px!important;font-size:10px!important;line-height:1.3!important;font-weight:750!important;color:#111!important}
.rsfy-dh-global-read-card small{margin-top:5px!important;font-size:9px!important;line-height:1.2!important;color:#77736d!important}
.rsfy-dh-global-read-card-close{
 position:absolute!important;top:7px!important;right:8px!important;width:18px!important;height:18px!important;min-width:18px!important;padding:0!important;
 border:0!important;border-radius:0!important;background:transparent!important;color:#77736d!important;font:400 16px/18px Arial,sans-serif!important;
 text-align:center!important;cursor:pointer!important;opacity:.72!important;
}
.rsfy-dh-global-read-card-close:hover{opacity:1!important;color:#111!important}
/* La fiche de détail doit toujours passer au-dessus des bandes, cartes et axes sticky. */
.rsfy-dh-global-detail{z-index:214748200!important;isolation:isolate!important}
@media(max-width:700px){
 .rsfy-dh-global-read-card{width:116px!important;min-height:70px!important;padding:10px 25px 9px 10px!important;border-radius:11px!important;box-shadow:0 8px 22px rgba(0,0,0,.14)!important}
 .rsfy-dh-global-read-card b{font-size:9.5px!important}.rsfy-dh-global-read-card strong{font-size:9px!important}.rsfy-dh-global-read-card small{font-size:8.5px!important}
 .rsfy-dh-global-read-card-close{top:6px!important;right:6px!important}
}

/* 0.9.703 — cartes réellement au premier plan + édition premium depuis la fiche détail. */
.rsfy-dh-global-months,.rsfy-dh-global-month,.rsfy-dh-global-month-grid{overflow:visible!important}
.rsfy-dh-global-read-card{z-index:214748000!important;isolation:isolate!important}
.rsfy-dh-global-detail{z-index:214748300!important;overflow:visible!important}
.rsfy-dh-global-detail-row{display:grid!important;grid-template-columns:minmax(0,1fr) 28px!important;align-items:center!important;column-gap:10px!important;margin-top:5px!important}
.rsfy-dh-global-detail-row>strong,.rsfy-dh-global-detail-row>span{min-width:0!important;margin:0!important}
.rsfy-dh-global-detail .rsfy-dh-global-edit{position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#77736d!important;box-shadow:none!important;cursor:pointer!important;opacity:.78!important}
.rsfy-dh-global-detail .rsfy-dh-global-edit:hover{opacity:1!important;color:#111!important;background:transparent!important}
.rsfy-dh-global-detail .rsfy-dh-global-edit svg{display:block!important;width:16px!important;height:16px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.rsfy-dh-global-detail .rsfy-dh-global-edit[hidden]{display:none!important}
@media(max-width:700px){.rsfy-dh-global-detail-row{grid-template-columns:minmax(0,1fr) 32px!important;column-gap:8px!important}.rsfy-dh-global-detail .rsfy-dh-global-edit{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important}.rsfy-dh-global-detail .rsfy-dh-global-edit svg{width:17px!important;height:17px!important}}

/* 0.9.790 — Couleurs de la vue globale ouverte par le bouton oeil.
   Ces règles sont ajoutées au CSS réellement chargé par Cloud Portal. */
html body .rsfy-dh-global-modal .rsfy-dh-global-legend i.is-open {
  background-color:#7FB9F9!important;
}
html body .rsfy-dh-global-modal .rsfy-dh-global-block.is-open {
  background:#7FB9F9!important;
  color:#fff!important;
}
html body .rsfy-dh-global-modal .rsfy-dh-global-block.is-open b,
html body .rsfy-dh-global-modal .rsfy-dh-global-block.is-open small,
html body .rsfy-dh-global-modal .rsfy-dh-global-block.is-open em,
html body .rsfy-dh-global-modal .rsfy-dh-global-block.is-open span {
  color:#111111!important;
}

/* Reseefy 0.9.791 — styles validés dans WordPress > CSS additionnel.
   Agenda personnalisé : vue globale ouverte depuis l'icône œil. */
.rsfy-dh-global-block.rsfy-dh-global-range {
    right: auto !important;
    min-width: 2px !important;
    padding: 0 !important;
    border-radius: 7px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    z-index: calc(2 + var(--rsfy-stack)) !important;
}
.rsfy-dh-global-block.is-open {
    background: #7FB9F9 !important;
    color: #fff !important;
}
.rsfy-dh-global-legend i.is-open {
    background: #7FB9F9 !important;
}
.rsfy-dh-mini-dot.is-open {
    background: #7FB9F9 !important;
}

/* Reseefy 0.9.792 - unified open state only (advanced dates). */
:root{--rsfy-dh-open-color:#7FB9F9}
.rsfy-dh-global-block.is-open{background:var(--rsfy-dh-open-color)!important;color:#fff!important}
.rsfy-dh-global-block.is-open b,.rsfy-dh-global-block.is-open small,.rsfy-dh-global-block.is-open em,.rsfy-dh-global-block.is-open span{color:#fff!important}
.rsfy-dh-global-legend i.is-open,.rsfy-dh-cal-markers i.is-open,.rsfy-dh-mini-dot.is-open{background:var(--rsfy-dh-open-color)!important}
