/* Small daily rituals within the existing home flow and brand palette. */
.daily-charm { grid-column: 1 / -1 !important; margin-top: 14px; padding: 20px; border: 1px solid #d6b4c4; border-radius: 18px; background: #fff9fc; color: var(--brand-ink, #392447); }
.daily-charm[hidden], .daily-charm [hidden], .daily-flowers[hidden] { display: none !important; }
.charm-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.charm-heading > div { flex: 1; min-width: 0; }
.charm-heading h2, .daily-flowers h2 { margin: 2px 0 0; font-size: 1.2rem; line-height: 1.6; }
.charm-mark { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border: 1px solid #d6b4c4; border-radius: 50%; background: var(--brand-yellow, #ffe989); font-size: 1.8rem; }
.ritual-eyebrow { margin: 0; font-size: .8rem; font-weight: 700; line-height: 1.7; color: #7c1946; }
.charm-date { font-size: .8rem; font-weight: 700; color: #69324c; }
.daily-charm .charm-open { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 48px; margin: 16px 0 4px; padding: 12px 16px; border: 2px solid var(--brand-ink, #392447); border-radius: 12px; background: var(--brand-pink, #ffb7d8); color: var(--brand-ink, #392447); font: inherit; font-weight: 700; text-align: left; cursor: pointer; box-shadow: 3px 3px 0 #e0ced6; }
.daily-charm .charm-open:hover { background: #ffd9e9; }
.daily-charm :focus-visible { outline: 3px solid #b42364; outline-offset: 4px; }
.charm-result { margin-top: 16px; padding: 16px; border-radius: 12px; background: white; border-left: 4px solid var(--brand-pink, #ffb7d8); }
.charm-result p { margin: 8px 0; line-height: 1.9; }
.charm-result .charm-word { margin-top: 0; font-size: clamp(1.15rem, 3.7vw, 1.4rem); font-weight: 800; color: var(--brand-ink, #392447); }
.charm-color { display: flex; align-items: center; gap: 10px; font-size: .85rem; }
.charm-color strong { display: block; font-size: 1rem; }
#charm-swatch { flex: 0 0 28px; height: 28px; border: 1px solid #86747e; border-radius: 50%; }
.daily-charm .ritual-note, .daily-flowers .ritual-note { margin: 12px 0 0; font-size: .8rem; line-height: 1.8; color: #69324c; }
.daily-flowers { margin-bottom: 22px; padding: 22px; border: 1px solid #d6b4c4; border-radius: 20px; background: #fff9fc; }
.ritual-lead { margin: 8px 0 14px; font-size: .95rem; line-height: 1.8; }
.flower-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.daily-flowers .flower-actions button { font-size: .9rem; color: #7c1946; border: 1px solid #b42364; background: #fff; }
.daily-flowers .flower-actions [aria-pressed="true"] { background: #ffd9e9; border: 2px solid #7c1946; font-weight: 700; }
.daily-flowers .flower-actions [aria-pressed="true"]::before { content: '✿ '; }
#flower-status { min-height: 1.8em; margin: 12px 0; color: #7c1946; font-size: .9rem; line-height: 1.8; }
.flower-week-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px; }
.flower-week-heading h3 { margin: 4px 0 10px; font-size: .9rem; }
#flower-week-period { font-size: .8rem; color: #69324c; }
.flower-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; list-style: none; padding: 0; margin: 0; }
.flower-week li { display: flex; flex-direction: column; align-items: center; min-width: 0; gap: 5px; padding: 8px 0; border: 1px solid transparent; border-radius: 12px; color: #69324c; font-size: .75rem; }
.flower-week .is-today { border-color: #b42364; background: #fff; }
.flower-week .flower-symbol { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #f4e8ed; color: #69324c; font-size: 1.4rem; line-height: 1; }
.flower-week .is-done .flower-symbol { background: #ffd9e9; color: #b42364; }
.flower-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 14px; margin-top: 12px; }
.daily-flowers .flower-footer a { font-size: .9rem; font-weight: 700; }
.daily-flowers #flower-undo { padding: 8px 0; background: none; border: 0; font-size: .8rem; text-decoration: underline; }
.daily-flowers .ritual-note a { min-height: 0; padding: 0; }
.ritual-tomorrow { margin: 8px 0 14px; padding-left: 12px; border-left: 3px solid var(--brand-pink, #ffb7d8); font-size: .95rem; line-height: 1.85; }
@media (max-width: 360px) { .daily-charm, .daily-flowers { padding: 16px 12px; } .flower-actions { grid-template-columns: 1fr; } .flower-week { gap: 2px; } .flower-week .flower-symbol { width: 26px; height: 26px; } .charm-date { flex-basis: 100%; padding-left: 50px; } }
@media (prefers-reduced-motion: no-preference) { .charm-result:not([hidden]) { animation: charm-appear .25s ease-out; } @keyframes charm-appear { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } } }
