: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%; bottom: 24px; box-shadow: 0 6px 18px #0003; color: #fff; display: flex; font-size: 26px; height: 52px; justify-content: center; line-height: 1; padding-bottom: 3px; position: fixed; right: max(22px, calc((100vw - 850px) / 2 + 22px)); width: 52px; z-index: 10; }
.icon-button:hover { background: #585349; }
.search-wrap { padding: 0 4px 17px; }
.list-month { margin: 6px 5px 0; }
#search { background: #f8f7f3; border: 1px solid #dedbd2; border-radius: 8px; color: inherit; outline-color: #a88a69; padding: 10px 12px; width: 100%; font-size: 14px; }
.view-toggle { background: #ebe8e0; border-radius: 8px; display: flex; gap: 3px; margin: -7px 4px 15px; padding: 3px; }
.view-toggle button { background: transparent; border: 0; border-radius: 6px; color: #79756d; flex: 1; font-size: 12px; padding: 7px 8px; }
.view-toggle button.active { background: #fbfaf7; box-shadow: 0 1px 3px #00000012; color: #302e29; font-weight: 650; }
.account-row { align-items: center; display: flex; justify-content: space-between; margin: -5px 4px 17px; }
#sync-status { color: #888278; font-size: 11px; }
.account-button { align-items: center; background: transparent; border: 1px solid transparent; border-radius: 9px; color: #625e56; display: inline-flex; font-size: 12px; gap: 7px; padding: 5px 8px 5px 5px; }
.account-button:hover { background: #ebe8e0; border-color: #dedad1; }
.account-avatar { align-items: center; background: var(--avatar-color, #d9d4c9); border-radius: 50%; color: #514d45; display: inline-flex; font-size: 10px; height: 22px; justify-content: center; text-transform: uppercase; width: 22px; }
.account-name { font-weight: 650; }
.entry-list { display: flex; flex: 1; flex-direction: column; gap: 0; padding: 2px 1px; }
.empty-state { color: #8b877e; font-family: Georgia, serif; font-size: 18px; padding: 38px 5px 44px; text-align: center; }
.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; }
.author-row { align-items: center; color: #79756d; display: flex; font-size: 11px; font-weight: 650; gap: 7px; margin-bottom: 8px; }
.author-avatar { align-items: center; background: var(--avatar-color, #d9d4c9); border-radius: 50%; color: #514d45; display: inline-flex; font-size: 10px; height: 22px; justify-content: center; text-transform: uppercase; width: 22px; }
.author-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.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; overflow-y: hidden; padding: 0; resize: none; 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; }
.circle-section { border-top: 1px solid #e1ded6; margin: 24px 0 17px; padding-top: 18px; }
.circle-section h3 { font-family: Georgia, serif; font-size: 20px; font-weight: 500; margin: 0 0 7px; }
.circle-title-row { align-items: center; display: flex; justify-content: space-between; }
.circle-title-row .danger-button { margin: 0; }
.member-heading { color: #79756d; font-size: 11px; letter-spacing: .05em; margin: 17px 0 7px; text-transform: uppercase; }
.circle-section p { margin-bottom: 14px !important; }
.inline-actions { display: flex; gap: 8px; }
.inline-actions input { min-width: 0; }
.inline-actions button, #password-change button { background: #292720; border: 0; border-radius: 7px; color: white; padding: 9px 12px; white-space: nowrap; }
.text-button { background: transparent; border: 0; color: #625e56; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; }
#password-change { margin-top: 10px; }
.circle-people, .invite-list { background: #f2efe8; border: 1px solid #e1ddd3; border-radius: 11px; display: flex; flex-direction: column; gap: 0; margin-top: 16px; overflow: hidden; padding: 4px 12px; }
.person-row { align-items: center; border-top: 1px solid #e2ded5; color: #615d54; display: flex; font-size: 13px; gap: 8px; justify-content: space-between; min-height: 38px; padding: 7px 0; }
.person-row:first-child { border-top: 0; }
.person-avatar { align-items: center; background: #d9d4c9; border-radius: 50%; color: #514d45; display: inline-flex; flex: 0 0 23px; font-size: 10px; height: 23px; justify-content: center; }
.person-label { flex: 1; }
.invite-join { background: #292720; border: 0; border-radius: 6px; color: #fff; font-size: 12px; padding: 6px 10px; }
.danger-button { background: transparent; border: 0; color: #9a4e43; font-size: 12px; padding: 5px 0; text-decoration: underline; text-underline-offset: 3px; }
.dialog-actions .danger-button { background: transparent; color: #9a4e43; padding: 5px 0; }
.dialog-actions { align-items: center; }
.dialog-actions .danger-button:last-child { margin-left: auto; }
.circle-section > .danger-button { margin-top: 15px; }
.danger-button:hover { color: #6f271f; }
.share-toggle { color: #79756d; display: block; font-size: 12px; margin-top: 12px; }
.share-toggle input { accent-color: #625e56; margin: 0 5px 0 0; }
.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; } }
