:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #25231f; background: #f7f5f0; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; }
.timeline { background: #f7f5f0; margin: 0 auto; max-width: 850px; min-height: 100vh; padding: 29px clamp(18px, 5vw, 48px) 28px; }
.brand-row { display: flex; justify-content: space-between; align-items: center; padding: 0 5px 21px; }
.eyebrow { color: #8b877e; font-size: 12px; font-weight: 650; letter-spacing: .07em; margin: 0 0 5px; text-transform: uppercase; }
h1 { font-family: Georgia, serif; font-size: 31px; font-weight: 500; letter-spacing: -.04em; line-height: 1; margin: 0; }
.icon-button { align-items: center; background: #292720; border: 0; border-radius: 50%; color: #fff; display: flex; font-size: 26px; height: 39px; justify-content: center; line-height: 1; padding-bottom: 3px; width: 39px; }
.icon-button:hover { background: #585349; }
.search-wrap { padding: 0 4px 17px; }
#search { background: #f8f7f3; border: 1px solid #dedbd2; border-radius: 8px; color: inherit; outline-color: #a88a69; padding: 10px 12px; width: 100%; font-size: 14px; }
.account-row { align-items: center; display: flex; justify-content: space-between; margin: -5px 4px 17px; }
#sync-status { color: #888278; font-size: 11px; }
.account-button { background: transparent; border: 0; color: #625e56; font-size: 12px; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; }
.entry-list { display: flex; flex: 1; flex-direction: column; gap: 0; padding: 2px 1px; }
.entry-card { background: transparent; border: 0; border-bottom: 1px solid #e1ded6; color: inherit; display: grid; gap: 16px; grid-template-columns: 55px minmax(0,1fr) 28px; padding: 20px 7px; position: relative; width: 100%; }
.entry-card:focus-within { background: #f0ede5; border-radius: 8px; }
.date-box { border-right: 1px solid #d4d0c7; color: #79756d; display: flex; flex-direction: column; line-height: 1; padding-right: 12px; text-align: center; }
.date-box .weekday { font-size: 9px; font-weight: 750; letter-spacing: .06em; margin-bottom: 3px; text-transform: uppercase; }
.date-box .day { color: #34312b; font-family: Georgia, serif; font-size: 24px; font-weight: 500; letter-spacing: -.03em; }
.date-box .time { font-size: 10px; margin-top: 4px; }
.entry-content { min-width: 0; }
.card-title { background: transparent; border: 0; color: #302e29; font-family: Georgia, serif; font-size: 20px; font-weight: 500; letter-spacing: -.02em; outline: none; padding: 0; width: 100%; }
.card-title::placeholder, .card-body::placeholder { color: #aaa69d; }
.card-body { background: transparent; border: 0; color: #615d54; display: block; font-family: Georgia, serif; font-size: 16px; line-height: 1.5; margin-top: 7px; min-height: 47px; outline: none; padding: 0; resize: vertical; width: 100%; }
.delete-button { align-self: start; background: transparent; border: 0; border-radius: 50%; color: #a39e94; font-size: 23px; height: 28px; line-height: .7; opacity: .2; padding: 0 0 3px; width: 28px; }
.entry-card:hover .delete-button, .entry-card:focus-within .delete-button { opacity: 1; }
.delete-button:hover { background: #e4cfc8; color: #7a3327; }
.quiet-button { background: transparent; border: 1px solid #d1cdc4; border-radius: 7px; color: #625e56; font-size: 13px; margin: 16px 4px 0; padding: 10px; }
.quiet-button:hover { background: #e3dfd5; }
.sr-only { clip: rect(0,0,0,0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.account-dialog { background: transparent; border: 0; padding: 16px; width: min(100%, 430px); }
.account-dialog::backdrop { background: #24211b77; }
.dialog-card { background: #fbfaf7; border-radius: 14px; box-shadow: 0 18px 55px #0004; padding: 32px; position: relative; }
.dialog-card h2 { font-family: Georgia, serif; font-size: 31px; font-weight: 500; letter-spacing: -.04em; margin: 0 0 12px; }
.dialog-card p:not(.eyebrow):not(.account-message) { color: #706b62; font-size: 14px; line-height: 1.5; margin: 0 0 24px; }
.dialog-card label { display: block; font-size: 12px; font-weight: 650; margin: 14px 0 6px; }
.dialog-card input { background: #f4f2ec; border: 1px solid #dcd8ce; border-radius: 7px; color: inherit; outline-color: #a88a69; padding: 11px; width: 100%; }
.dialog-actions { display: flex; gap: 9px; margin-top: 23px; }
.dialog-actions button { background: #292720; border: 0; border-radius: 7px; color: white; padding: 11px 15px; }
.dialog-actions .secondary { background: #e8e4db; color: #514d45; }
.dialog-close { background: transparent; border: 0; color: #777168; font-size: 24px; position: absolute; right: 15px; top: 11px; }
.account-message { color: #8d5141; font-size: 12px; line-height: 1.4; min-height: 17px; margin: 12px 0 -8px; }
.hidden { display: none; }
@media (max-width: 500px) { .timeline { padding: 23px 14px 24px; } .brand-row { padding-bottom: 17px; } .entry-card { gap: 11px; grid-template-columns: 47px minmax(0,1fr) 24px; padding: 17px 4px; } .date-box { padding-right: 8px; } .date-box .day { font-size: 22px; } .card-title { font-size: 19px; } .card-body { font-size: 16px; min-height: 64px; } .delete-button { opacity: .55; } }
