/* Quiet, readable surfaces let joyful content share space with home controls. */
.our-day { --day-accent: #476d52; max-width: 1040px; margin: 0 auto; padding: 24px 8px 48px; color: var(--text, #eef1ee); }
.day-title { font-family: Georgia, serif; font-size: clamp(2.7rem, 7vw, 4.6rem); font-weight: 400; letter-spacing: -.045em; margin: 12px 0; }
.day-eyebrow { font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; color: var(--dim, #aebbb1); }
.day-intro { margin: 0 0 20px; font-size: 1rem; color: var(--dim, #aebbb1); line-height: 1.6; }
.day-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px 18px; scrollbar-width: thin; }
.day-tabs .day-button { flex-shrink: 0; }
.day-tabs [aria-selected="true"] { background: #dceccf; border-color: #dceccf; color: #243e2b; }
.day-card { background: var(--panel, #17201c); border: 1px solid var(--line-2, #35473c); border-radius: 22px; padding: clamp(18px, 4vw, 34px); margin: 12px 0 20px; overflow-wrap: anywhere; }
.day-card h2 { text-transform: none; letter-spacing: -.02em; color: var(--text); font-family: Georgia, serif; font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 400; line-height: 1.2; margin: 0 0 12px; }
.day-card h3 { margin: 24px 0 14px; font-size: 1.1rem; }
.day-muted, .day-privacy, .day-empty { color: var(--dim, #b6c0b9); line-height: 1.65; font-size: .88rem; }
.day-privacy { padding: 12px 4px; }
.day-empty { padding: 16px 0; }
.day-prompt { font-family: Georgia, serif; font-size: clamp(1.3rem, 3.5vw, 1.8rem); line-height: 1.45; margin: 22px 0; }
.day-welcome { line-height: 1.6; margin-bottom: 28px; }
.day-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0; }
.day-button { appearance: none; border: 1px solid var(--line-2, #49604e); border-radius: 24px; padding: 10px 17px; min-height: 44px; background: var(--panel2, #24392b); color: var(--text, #edf4ee); font: inherit; font-size: .85rem; cursor: pointer; line-height: 1.4; }
.day-button:hover { border-color: #7aa484; }
.day-button[aria-pressed="true"] { background: #dceccf; color: #243e2b; }
.day-button:disabled { opacity: .55; cursor: default; }
.day-button:focus-visible, .our-day :is(input,textarea,select):focus-visible { outline: 3px solid #8fc9a0; outline-offset: 3px; }
.day-quiet { background: transparent; }
.day-field { display: flex; flex-direction: column; gap: 7px; flex: 1; min-width: 150px; margin: 14px 0; font-size: .87rem; }
.day-field :is(input,textarea,select) { width: 100%; box-sizing: border-box; min-height: 46px; border: 1px solid var(--line-2, #49604e); border-radius: 12px; padding: 12px; background: var(--bg, #111913); color: var(--text, #edf4ee); font: inherit; }
.day-field textarea { min-height: 108px; resize: vertical; }
.day-field input[type="file"] { max-width: 100%; }
.day-card form { border-bottom: 1px solid var(--line-2, #35473c); padding-bottom: 24px; margin-bottom: 22px; }
.day-entry { border-bottom: 1px solid var(--line-2, #35473c); padding: 16px 0; }
.day-entry p { white-space: pre-wrap; line-height: 1.65; margin: 0 0 12px; }
.day-note { padding: 20px; margin-top: 16px; border: 1px solid var(--line-2, #35473c); border-radius: 16px; background: var(--panel2, #202e24); }
.day-check { display: flex; align-items: center; gap: 12px; min-height: 44px; line-height: 1.5; }
.day-check input { width: 22px; height: 22px; accent-color: #638865; flex-shrink: 0; }
.is-done .day-check span { text-decoration: line-through; opacity: .7; }
.day-memory-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(240px,100%),1fr)); gap: 20px; }
.day-memory-grid img { width: 100%; max-height: 260px; object-fit: cover; border-radius: 14px; margin-bottom: 15px; }
.day-timer { font-size: 2.8rem; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.day-status { min-height: 1.5em; font-size: .85rem; line-height: 1.5; }
.day-garden { position: relative; height: 280px; border-radius: 18px; overflow: hidden; background: linear-gradient(#dcefe3 0%,#f3eacb 65%,#789871 66%,#4b704b 100%); margin-top: 24px; }
.day-garden-sun { position: absolute; right: 12%; top: 8%; font-size: 60px; color: #b26d18; }
.day-flower { position: absolute; left: var(--x); bottom: var(--y); font-size: 34px; }
.day-postcard { background: #f4ebd7; color: #334332; padding: clamp(22px,5vw,44px); border-radius: 12px; border: 1px solid #c7c0a9; margin-top: 22px; }
.day-postcard .day-eyebrow { color: #52654e; }
.day-postcard h3 { font-family: Georgia,serif; font-size: 2rem; font-weight: 400; }
.day-postcard-line { padding: 12px 0; border-bottom: 1px solid #c7c0a9; white-space: pre-wrap; line-height: 1.6; }
.day-celebration-flowers, .day-celebration-stars, .day-celebration-confetti { padding: 24px; margin-top: 16px; border-radius: 16px; border: 1px solid var(--line-2, #35473c); }
.day-celebration-flowers { border-left: 6px solid #bba2b8; }
.day-celebration-stars { border-left: 6px solid #9cadd6; }
.day-celebration-confetti { border-left: 6px solid #d4ac65; }
.day-home { margin: 12px 0; }
.day-home:empty { display: none; }
.day-home-greeting { font-size: .95rem; line-height: 1.6; color: var(--text, #edf4ee); }
.day-home .day-card { padding: 20px 24px; }
.day-home .day-card h2 { text-transform: none; letter-spacing: -.02em; color: var(--text); font-size: 1.1rem; font-family: inherit; }
.day-home .day-prompt { margin: 12px 0; font-size: 1.4rem; }
.day-home-note { padding: 14px 20px; border-left: 3px solid #98b18a; line-height: 1.6; white-space: pre-wrap; }
.day-loading { text-align: center; padding: 24px; color: var(--dim, #b6c0b9); }
@media (max-width: 520px) { .our-day { padding: 16px 0 36px; } .day-actions .day-field { min-width: 120px; } .day-card { border-radius: 17px; } }
@media (prefers-reduced-motion: reduce) { .our-day *, .day-home * { animation: none !important; transition: none !important; } }
