:root { --mj-ink: #26324a; --mj-accent: #6256c8; --mj-soft: #f3f2ff; }
body { color: var(--mj-ink); background: #fafaff; min-height: 100vh; }
.mj-navbar { background: #29264d; }
.hero { background: linear-gradient(125deg, #f0efff, #fff5ec); }
.hero h1 { color: #29264d; }
.journal-mark { display: inline-flex; align-items: center; justify-content: center; width: 170px; height: 170px; border-radius: 38px; background: white; color: #6256c8; font-size: 5rem; font-weight: 800; box-shadow: 0 16px 45px #29264d18; }
.journal-mark span { color: #e59a65; }
.feature-card, .entry-card, .form-card, .empty-state { background: white; border: 1px solid #ecebf5; border-radius: 16px; padding: 24px; box-shadow: 0 8px 28px #29264d08; }
.feature-card h3 { font-size: 1.15rem; }
.entry-preview { color: #657087; white-space: pre-line; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.journal-editor { min-height: 300px; line-height: 1.7; }
.journal-content { white-space: pre-wrap; line-height: 1.8; overflow-wrap: anywhere; }
.empty-state { text-align: center; padding: 55px 20px; }
.btn-primary { background: var(--mj-accent); border-color: var(--mj-accent); }
.btn-primary:hover { background: #4f45ae; border-color: #4f45ae; }
.calendar-card { background: white; border: 1px solid #ecebf5; border-radius: 16px; padding: 24px; box-shadow: 0 8px 28px #29264d08; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid #ecebf5; border-left: 1px solid #ecebf5; }
.calendar-weekday { padding: 10px 8px; color: #657087; font-size: .8rem; font-weight: 700; text-align: center; text-transform: uppercase; border-right: 1px solid #ecebf5; border-bottom: 1px solid #ecebf5; }
.calendar-day { min-height: 120px; padding: 8px; background: #fff; border-right: 1px solid #ecebf5; border-bottom: 1px solid #ecebf5; }
.calendar-day-muted { background: #fafaff; color: #a4a9b8; }
.calendar-day-today { box-shadow: inset 0 0 0 2px var(--mj-accent); }
.calendar-day-number { margin-bottom: 6px; font-size: .85rem; font-weight: 700; }
.calendar-entry { display: block; overflow: hidden; margin-bottom: 4px; padding: 4px 6px; color: var(--mj-ink); background: var(--mj-soft); border-radius: 5px; font-size: .8rem; line-height: 1.25; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.calendar-entry-icon { margin-right: 3px; font-size: .95rem; }
.calendar-entry:hover { color: #4f45ae; background: #e8e6ff; }
@media (max-width: 767.98px) {
    .calendar-card { padding: 12px; }
    .calendar-weekday { padding: 8px 2px; font-size: .65rem; }
    .calendar-day { min-height: 88px; padding: 5px; }
    .calendar-entry { padding: 3px 4px; font-size: .7rem; }
}
