/* Existing F40 botanical palette, compact 30-day calendar and inline preferences. */
.f40-calendar{margin:0 0 19px;padding:15px;border:1px solid #e6dac7;border-radius:16px;background:rgba(255,251,242,.8);color:#405d45}
.f40-calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:10px}
.f40-calendar-heading h2{font:400 21px/1.2 "Palatino Linotype",Georgia,serif;margin:0;color:#334b39}
.f40-calendar-heading span{font:650 11px "Segoe UI",Arial,sans-serif;color:#547358}
.f40-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.f40-calendar-day{position:relative;border:1px solid #e5dfd2;border-radius:9px;background:#fffdf7;color:#63715f;min-height:37px;font:600 12px "Segoe UI",Arial,sans-serif}
.f40-calendar-day.is-mark{border-color:#92a990;color:#365e44}
.f40-calendar-day.is-mark i{position:absolute;bottom:3px;left:calc(50% - 2px);width:4px;height:4px;border-radius:50%;background:#6f9474}
.f40-calendar-day.is-today{background:#557a5e;color:white;border-color:#557a5e}
.f40-calendar-day.is-today i{background:white}
.f40-calendar-day.is-done:before{content:"✓";font-size:9px;position:absolute;right:3px;top:2px;color:#537f5a}
.f40-calendar-day.is-future{opacity:.5;cursor:default}
.f40-calendar p{font:400 11px/1.5 "Segoe UI",Arial,sans-serif;color:#647963;margin:10px 0 0}
.f40-reminder-settings{margin:0 0 19px;border:1px solid #e5dac8;border-radius:14px;background:rgba(255,251,244,.82);padding:11px 14px;color:#435d49}
.f40-reminder-settings summary{cursor:pointer;font:650 13px "Segoe UI",Arial,sans-serif;min-height:27px}
.f40-reminder-settings form{padding:8px 0 2px}
.f40-reminder-settings p,.f40-reminder-settings small{display:block;font:400 11px/1.5 "Segoe UI",Arial,sans-serif;color:#657967;margin:4px 0 12px}
.f40-reminder-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:10px 0;font:600 12px "Segoe UI",Arial,sans-serif}
.f40-reminder-row input[type="time"]{width:115px;padding:7px;border:1px solid #b6c6b2;border-radius:8px;color:#405b46;background:#fff}
.f40-reminder-settings button{border:0;border-radius:9px;background:#5e8067;color:white;padding:10px 13px;font:650 12px "Segoe UI",Arial,sans-serif}
.f40-reminder-feedback{display:block;font-size:11px;margin-top:8px;color:#446f50}
.f40-compare{margin:13px 0 0;border-top:1px solid #e2dccf;padding-top:10px}
.f40-compare summary{cursor:pointer;font:650 12px "Segoe UI",Arial,sans-serif;color:#4e7457}
.f40-compare-pair{margin:13px 0;border-bottom:1px solid #e8e1d5;padding-bottom:12px}
.f40-compare-pair strong{font:650 12px "Segoe UI",Arial,sans-serif;color:#415b48}
.f40-compare-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:8px}
.f40-compare-images figure{margin:0;min-width:0}
.f40-compare-images img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:9px;border:1px solid #ddd7cc}
.f40-compare-images figcaption{font:600 11px/1.4 "Segoe UI",Arial,sans-serif;color:#55715a;margin-top:5px}
@media(max-width:365px){.f40-calendar{padding:10px}.f40-calendar-grid{gap:3px}.f40-calendar-day{min-height:34px}}

/* Calendar: informative only, elapsed calendar days are not adherence. */
.f40-calendar-day{display:grid;place-items:center;cursor:default}.f40-calendar-day.is-past{background:#dbe6d5;border-color:#c5d5bd;color:#48684e}.f40-calendar-day.has-photo-record:not(.is-today){box-shadow:inset 0 0 0 2px #9db895}
