.lot52-page { max-width: 74rem; margin-inline: auto; padding: 1rem 1rem 2rem; overflow-wrap: anywhere; }
.lot52-page--narrow { max-width: 52rem; }
.lot52-page :is(#sms, #echeances, #disponibilite, #lot52-quick-form) { scroll-margin-top: 6rem; }
.lot52-page h1, .lot52-page h2, .lot52-sheet-title, .lot52-display { font-family: Fraunces, Georgia, serif; color: #193c1e; }
.lot52-page h1 { font-size: clamp(1.9rem, 5vw, 2.65rem); line-height: 1.12; font-weight: 550; }
.lot52-page h2, .lot52-sheet-title { font-size: 1.35rem; line-height: 1.2; font-weight: 550; }
.lot52-stack { display: grid; gap: 1rem; min-width: 0; }
.lot52-card { min-width: 0; border: 1px solid #e5ded1; border-radius: .75rem; background: #fff; padding: 1rem; }
.lot52-muted { color: #57534e; font-size: .875rem; }
.lot52-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .65rem; }
.lot52-pill { display: inline-flex; align-items: center; min-height: 1.65rem; border-radius: .375rem; padding: .125rem .5rem; background: #f3ede3; color: #574733; font-size: .8rem; font-weight: 650; }
.lot52-agenda-sms .lot52-pill { display: inline-block; min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.lot52-pill[data-tone="good"] { background: #e7f2e8; color: #234d2a; }
.lot52-pill[data-tone="wait"] { background: #fcf0cf; color: #754b0e; }
.lot52-pill[data-tone="strong"] { background: #f8e5dd; color: #842d1c; }
.lot52-primary, .lot52-secondary, .lot52-sheet-trigger, .lot52-fold { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; max-width: 100%; padding: .5rem .85rem; border: 1px solid transparent; border-radius: .5rem; font-weight: 650; cursor: pointer; text-align: center; }
.lot52-primary, .lot52-sheet[data-primary] > :is(summary, .lot52-sheet-trigger) { background: #1e4722; color: white; }
.lot52-primary:hover, .lot52-sheet[data-primary] > :is(summary, .lot52-sheet-trigger):hover { background: #193c1e; }
.lot52-secondary, .lot52-sheet-trigger, .lot52-fold { background: #fff; color: #193c1e; border-color: #d8d0c1; }
.lot52-page :is(a,button,input,select,textarea,summary):focus-visible, .lot52-sheet :is(a,button,input,select,textarea,summary):focus-visible { outline: 2px solid #24592a; outline-offset: 3px; }
.lot52-sheet :disabled { opacity: .6; cursor: not-allowed; }
.lot52-sheet > summary { list-style: none; }
.lot52-sheet > summary::-webkit-details-marker { display: none; }
.lot52-agenda .lot52-sheet > :is(summary, .lot52-sheet-trigger) { gap: .4rem; }
.lot52-sheet[data-enhanced] > summary { display: none; }
.lot52-sheet[data-enhanced] > :is(button,dialog)[hidden] { display: none; }
.lot52-sheet:not([data-enhanced])[open] > [data-lot52-panel] { margin-top: .75rem; }
.lot52-dialog { position: fixed; inset: auto 0 var(--lot52-keyboard-offset, 0px); margin: 0; border: 1px solid #e5ded1; border-radius: 1rem 1rem 0 0; width: 100%; max-width: 100%; max-height: 86vh; max-height: min(86dvh, var(--lot52-viewport, 86dvh)); padding: 0; background: #fdfbf7; color: #292524; overflow: auto; overscroll-behavior: contain; overflow-wrap: anywhere; }
html:has(.lot52-dialog[open]) { overflow: hidden; }
.lot52-dialog[open] { animation: lot52-rise .18s ease-out; }
.lot52-dialog::backdrop { background: rgb(13 32 16 / .46); }
.lot52-dialog-head { position: sticky; z-index: 1; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 1rem; background: #fdfbf7; border-bottom: 1px solid #e5ded1; }
.lot52-dialog-head .lot52-dialog-close { flex: 0 0 44px; width: 44px; min-height: 44px; padding: 0; font-size: 1.5rem; white-space: nowrap; }
.lot52-dialog-body { padding: 1rem 1rem max(1rem, env(safe-area-inset-bottom)); }
.lot52-sheet-title:focus { outline: none; }
.lot52-switch { display: inline-flex; min-height: 44px; align-items: center; gap: .6rem; cursor: pointer; }
.lot52-switch input { appearance: none; position: relative; flex: none; width: 44px; height: 26px; border: 1px solid #78716c; border-radius: 20px; background: #e7e5e4; }
.lot52-switch input::after { content: ''; position: absolute; width: 18px; height: 18px; top: 3px; left: 3px; border-radius: 100%; background: white; box-shadow: 0 0 0 1px #78716c; }
.lot52-switch input:checked { background: #24592a; border-color: #24592a; }
.lot52-switch input:checked::after { left: 21px; box-shadow: none; }
.lot52-switch input:disabled { opacity: .55; }
.lot52-copro-grid { display: grid; gap: 1rem; align-items: start; }
.lot52-copro-stat { font-variant-numeric: tabular-nums; font-size: clamp(1.55rem, 5vw, 2.2rem); line-height: 1.12; font-weight: 700; color: #193c1e; }
.lot52-copro-chart { display: block; width: 100%; max-width: 35rem; height: auto; margin-inline: auto; overflow: visible; }
.lot52-copro-chart text { font: 13px system-ui, sans-serif; fill: #292524; }
.lot52-copro-chart .lot52-chart-date { font-size: 11px; fill: #57534e; }
.lot52-copro-chart .lot52-chart-value { font-weight: 650; paint-order: stroke; stroke: white; stroke-width: 3px; stroke-linejoin: round; }
@keyframes lot52-rise { from { transform: translateY(1.4rem); opacity: .75; } to { transform: translateY(0); opacity: 1; } }
@media (min-width: 48rem) {
    .lot52-dialog { inset: 0; margin: auto; width: min(36rem, 92vw); border-radius: .8rem; }
    .lot52-page { padding: 1.5rem 1.5rem 2.5rem; }
}
@media (min-width: 64rem) {
    .lot52-copro-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 47.99rem) {
    .lot52-agenda:has([data-floating][data-enhanced]) { padding-bottom: calc(8rem + env(safe-area-inset-bottom)); }
    .lot52-agenda--pro:has([data-floating][data-enhanced]) { padding-bottom: calc(12rem + env(safe-area-inset-bottom) + var(--site-cookie-height, 0px)); }
    .lot52-agenda--pro:has([data-floating][data-enhanced]) .lot52-agenda-sms { padding-inline-end: 4.25rem; }
    .lot52-sheet[data-floating][data-enhanced] > .lot52-sheet-trigger { position: fixed; z-index: 49; right: max(.85rem, env(safe-area-inset-right)); bottom: calc(.85rem + max(var(--site-bottom-obstruction, 0px), 3.85rem + env(safe-area-inset-bottom)) + var(--site-cookie-height, 0px)); min-height: 52px; }
    .lot52-sheet[data-floating="icon"][data-enhanced] > .lot52-sheet-trigger { min-width: 52px; font-size: 1.6rem; }
    .lot52-agenda--pro .lot52-sheet[data-floating="icon"][data-enhanced] > .lot52-sheet-trigger { bottom: calc(2rem + max(var(--site-bottom-obstruction, 0px), 3.85rem + env(safe-area-inset-bottom)) + var(--site-cookie-height, 0px)); }
    .lot52-sheet[data-floating="icon"][data-enhanced] > .lot52-sheet-trigger .lot52-trigger-text { display: none; }
    html.site-keyboard-open .lot52-sheet[data-floating][data-enhanced] > .lot52-sheet-trigger { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) { .lot52-dialog[open] { animation: none; } }
