@charset "UTF-8";:root{--paper:#f6f3ec;--surface:#fffcf6;--ink:#303b33;--muted:#6b7066;--line:#dedfd3;--sage:#e2e9db;--green:#435a43;--terra:#a94f38;--negative-bg:#f5e2d9;--neutral-bg:#ece8dc;--positive-bg:#e1e9da;--serif:Georgia,"Times New Roman",serif;--sans:"Avenir Next",Avenir,"Segoe UI",sans-serif;font-family:var(--sans);color:var(--ink);background:var(--paper);font-size:16px;font-synthesis:none;-webkit-tap-highlight-color:transparent;color-scheme:light}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button,a{color:inherit}button,input,textarea,select{outline-offset:4px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--terra);outline-offset:5px}input:focus,textarea:focus,select:focus{outline:2px solid var(--green);outline-offset:2px}button:active:not(:disabled){transform:translateY(1px)}button{transition:background-color .15s,transform .15s,border-color .15s}button svg{width:23px;height:23px;flex-shrink:0}h1,h2,h3,p{margin-top:0}h1{font-family:var(--serif);font-weight:400;font-size:clamp(2.55rem,5vw,4rem);letter-spacing:-.055em;line-height:1.08;margin-bottom:20px;text-wrap:balance}h2{font:400 1.7rem/1.2 var(--serif);letter-spacing:-.035em}p{line-height:1.65}label,legend{font-size:.875rem;font-weight:600}input,textarea,select{border:1px solid var(--line);background:var(--surface);border-radius:9px;padding:13px 14px;width:100%;min-height:48px;color:var(--ink)}textarea{resize:vertical;line-height:1.65;min-height:134px}textarea::placeholder{color:#7b7c71}input[type=date],input[type=datetime-local]{min-width:0;max-width:100%;appearance:none;-webkit-appearance:none}input[type=date]::-webkit-date-and-time-value,input[type=datetime-local]::-webkit-date-and-time-value{text-align:left}label{display:block;margin-bottom:9px}fieldset{border:0;margin:0;padding:0}legend{padding:0;margin-bottom:13px}.app-shell{max-width:1180px;margin:auto;padding:0 58px}.topbar{height:116px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font:400 32px/1 var(--serif);letter-spacing:-1.8px}.brand-mark{font-style:italic;color:var(--terra);border:1px solid #c6ad95;border-radius:50%;width:45px;height:45px;display:grid;place-items:center;font-size:31px;padding-bottom:5px}.brand small{display:block;letter-spacing:.07em;font:10px/1.6 var(--sans);margin-top:7px;color:var(--muted)}.private-label{font-size:12px;color:var(--muted);display:flex;gap:7px;align-items:center}.private-label>span{font-size:30px;color:var(--green)}main{padding:47px 0 0;outline:none;min-height:500px}.eyebrow{font-size:10px;font-weight:650;letter-spacing:.17em;color:var(--muted);margin-bottom:20px;line-height:1.6}.intro{color:var(--muted);font-size:15px;margin-bottom:35px;line-height:1.7}.write-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:76px}.entry-section h1{font-size:clamp(2.7rem,5vw,4.25rem)}.quiet-aside{margin-top:96px;padding:28px 0 0 32px;border-left:1px solid var(--line);color:var(--green);position:relative}.quiet-aside p{font:italic 28px/1.45 var(--serif);letter-spacing:-.02em;margin:27px 0 23px}.aside-line{width:40px;height:1px;background:#8f9c7e}.quiet-aside>span{font-size:9px;letter-spacing:.14em;color:var(--muted)}.aside-bottom{font-size:12px;line-height:1.7;color:var(--muted);margin-top:140px}.required-text{font-size:11px;font-weight:400;color:var(--muted);margin-left:8px}.mood-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:27px}.mood{display:flex;flex-direction:column;align-items:center;gap:10px;padding:20px 10px 15px;border:1px solid var(--line);background:transparent;border-radius:12px;font-size:14px;font-weight:550;position:relative;min-height:123px}.mood:hover{background:var(--surface)}.mood-face{width:44px;height:44px}.mood-face svg{width:44px;height:44px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}.mood.negative{color:#9a4735}.mood.neutral{color:#74674d}.mood.positive{color:#48603e}.mood[aria-pressed=true]{border:2px solid currentColor;padding:19px 9px 14px}.mood.negative[aria-pressed=true]{background:var(--negative-bg)}.mood.neutral[aria-pressed=true]{background:var(--neutral-bg)}.mood.positive[aria-pressed=true]{background:var(--positive-bg)}.mood-check{position:absolute;top:7px;right:10px;font-size:12px;opacity:0}.mood[aria-pressed=true] .mood-check{opacity:1}.label-row{display:flex;justify-content:space-between;align-items:baseline}.label-row>span{font-size:12px;color:var(--muted)}.field-help{font-size:11px;color:var(--muted);line-height:1.65}.note-help{display:flex;justify-content:space-between;gap:15px;margin:8px 0 25px}.note-help>span:last-child{white-space:nowrap;font-variant-numeric:tabular-nums}.time-label{margin-top:10px}.time-field{display:flex;gap:10px;align-items:center}.time-field input{flex:1}.time-field>span{font-size:11px;color:var(--muted);white-space:nowrap}.form-actions{display:flex;gap:12px;align-items:center;margin-top:27px}.primary,.secondary,.danger{border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:25px;min-height:49px;border-radius:8px;padding:13px 21px;font-size:14px;font-weight:550;line-height:1.4}.primary{background:var(--green);color:#fffdf6}.primary:hover:not(:disabled){background:#344a35}.primary>span{font-size:21px;line-height:16px;margin-left:auto}.form-actions .primary{flex:1}.secondary{background:transparent;border-color:#bfc5b6;gap:15px}.secondary:hover:not(:disabled){background:#eeeee4}.danger{background:var(--terra);color:#fff}.danger:hover:not(:disabled){background:#8e3d2b}.text-button{background:none;border:0;padding:12px 7px;min-height:44px;font-size:13px;text-decoration:underline;text-underline-offset:4px}.danger-text{color:#9c442f!important}.bottom-nav{display:flex;justify-content:flex-start;gap:32px;border-top:1px solid var(--line);margin-top:45px;padding:14px 0}.bottom-nav button{min-height:50px;background:transparent;border:0;display:flex;align-items:center;justify-content:center;gap:10px;padding:12px 16px;color:var(--muted);font-size:13px;position:relative}.bottom-nav button[aria-current=page]{color:var(--green);background:#e8ebdf;border-radius:8px;font-weight:600}.bottom-nav svg{width:20px;height:20px}.footnote{color:var(--muted);font-size:10px;line-height:1.75;padding:15px 0 30px;letter-spacing:.02em}.footnote br{display:none}.footnote br:after{content:" "}.notice:empty{display:none}.notice:not(:empty){padding:14px 18px;border:1px solid #b6c5ab;background:var(--positive-bg);border-radius:8px;font-size:13px;margin-bottom:24px;line-height:1.65}.error{padding:14px 18px;border:1px solid #d2a491;background:var(--negative-bg);color:#843d2b;border-radius:8px;font-size:13px;line-height:1.65;margin-bottom:24px;overflow-wrap:anywhere}.offline{background:#eee2c6;color:#64502b;border-radius:8px;padding:14px 18px;font-size:13px;line-height:1.65;margin-top:15px}[hidden]{display:none!important}.page-head{margin-bottom:32px}.page-head h1{margin-bottom:15px}.page-head p{font-size:14px;color:var(--muted);margin-bottom:0}.filters{display:grid;grid-template-columns:1fr 1fr 1.2fr auto auto;gap:12px;align-items:end;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:23px 0;margin-bottom:25px}.filters label{font-size:11px}.filters input,.filters select{font-size:13px}.filters button{font-size:12px}.history-meta{font-size:12px;margin-bottom:14px;display:flex;justify-content:space-between;color:var(--muted)}.entry-row{display:grid;grid-template-columns:145px minmax(0,1fr) 100px;gap:24px;padding:24px 0;border-bottom:1px solid var(--line);align-items:start}.entry-date{display:flex;flex-direction:column;gap:8px;font-size:12px;line-height:1.6}.entry-date>span{color:var(--muted)}.mood-tag{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:var(--ink);font-weight:550;line-height:1.5}.mood-tag>i,.calendar-dots>i{width:7px;height:7px;display:inline-block;border-radius:50%;flex-shrink:0}.mood-tag.negative>i,.calendar-dots>.negative{background:#aa5941}.mood-tag.neutral>i,.calendar-dots>.neutral{background:#9e8c65}.mood-tag.positive>i,.calendar-dots>.positive{background:#6e8457}.entry-note{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;margin:9px 0 0;line-height:1.75}.empty-note{color:var(--muted);font-style:italic;font-size:13px}.entry-actions{display:flex;gap:6px;justify-content:flex-end}.empty-state{text-align:center;padding:55px 25px 45px}.empty-state h2{font-size:26px;margin-bottom:10px}.empty-state p{color:var(--muted);font-size:13px}.empty-line{display:block;width:38px;height:1px;background:#b9baa7;margin:0 auto 25px}.summary-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:30px}.segmented{display:flex;border:1px solid var(--line);padding:4px;border-radius:9px;gap:3px}.segmented button{border:0;background:none;min-height:42px;font-size:12px;padding:10px 18px;border-radius:6px}.segmented button[aria-pressed=true]{background:var(--green);color:var(--surface)}.period-navigation{display:flex;align-items:center;gap:10px}.round-button{width:44px;height:44px;border:1px solid var(--line);background:transparent;border-radius:50%;font-size:18px}.anchor-label{font-size:10px;margin:0;color:var(--muted)}.anchor-label input{min-height:40px;padding:8px 10px;font-size:12px;margin-top:4px}.range-label{font-size:12px;color:var(--muted);margin:18px 0 27px}.summary-counts{display:grid;grid-template-columns:repeat(3,1fr);border-block:1px solid var(--line);padding:25px 0;margin-bottom:35px}.count-item{padding:0 30px;display:grid;grid-template-columns:auto 1fr;align-items:baseline;column-gap:10px;border-right:1px solid var(--line)}.count-item:first-child{padding-left:0}.count-item:last-child{border:0}.count-item .mood-tag{grid-column:1/-1;margin-bottom:14px}.count-item strong{font:400 37px/1 var(--serif);font-variant-numeric:lining-nums}.count-item>span:last-child{font-size:11px;color:var(--muted)}.calendar-header{display:flex;justify-content:space-between;align-items:baseline;gap:15px;margin-bottom:20px}.calendar-header h2{font-size:23px;margin:0}.calendar-header>span{font-size:11px;color:var(--muted)}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.weekday{font-size:11px;color:var(--muted);text-align:center;padding:5px 0 12px}.calendar-day{background:transparent;border:1px solid var(--line);border-radius:8px;min-height:77px;padding:12px 8px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;font-size:13px;gap:10px;font-variant-numeric:tabular-nums}.calendar-day:hover{background:#eeeee4}.calendar-day.has-entries{background:var(--surface)}.calendar-day.today{border-color:var(--green)}.calendar-day.today>span:first-child{font-weight:700}.calendar-dots{display:flex;gap:4px;min-height:9px;align-items:center;font-size:10px;color:#8c8e80}.calendar-dots>i{width:5px;height:5px}.calendar-note{font-size:11px;line-height:1.8;color:var(--muted);margin-top:20px}.calendar-note strong{font-weight:600}.settings-layout{max-width:730px}.settings-section{border-top:1px solid var(--line);padding:28px 0 30px}.settings-section h2{font-size:26px;margin-bottom:12px}.settings-section p{font-size:13px;color:var(--muted);max-width:590px}.settings-section .field-help{font-size:11px;margin-top:10px}.inline-form{display:flex;gap:12px;align-items:center}.inline-form>input{flex:1;min-width:0}.inline-form button{font-size:12px;white-space:nowrap}.settings-section label{font-size:12px}.settings-section #logout{margin-top:12px;padding-left:0}.settings-section details{font-size:13px;margin-top:17px}.settings-section summary{padding:10px 0;min-height:44px;cursor:pointer}.settings-section details p{margin:10px 0}.danger-section h2{color:var(--terra)}.privacy-note{color:var(--muted);font-size:11px;line-height:1.8}.auth-main{max-width:570px;margin:0 auto;padding-top:60px}.auth-layout{padding:0 30px}.auth-layout h1{font-size:60px}.auth-layout .intro{font-size:14px}.auth-form label{font-size:12px;margin-top:21px}.auth-form .primary{margin-top:27px}.full{width:100%}.auth-layout .privacy-note{margin-top:25px}.confirm-dialog{border:1px solid var(--line);border-radius:14px;padding:30px;max-width:470px;width:calc(100% - 36px);background:var(--surface);color:var(--ink);box-shadow:0 20px 90px #26302026}.confirm-dialog::backdrop{background:#26302075}.confirm-dialog h2{font-size:32px}.confirm-dialog p{font-size:14px;color:var(--muted)}.confirm-dialog label{font-size:12px}.confirm-dialog input{margin-bottom:15px}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.dialog-actions button{font-size:12px}.skip-link{position:absolute;top:-60px;left:15px;background:var(--green);color:#fff;padding:12px 20px;z-index:100}.skip-link:focus{top:10px}.initial{max-width:600px;padding:40px;margin:auto}.loading{font-size:14px;color:var(--muted)}@media(min-width:1150px){.entry-section{padding-right:25px}.write-layout{gap:80px}.form-actions .primary{flex:0 0 240px}}@media(max-width:900px){.app-shell{padding:0 35px}.write-layout{grid-template-columns:minmax(0,1fr) 200px;gap:40px}.quiet-aside{padding-left:24px}.quiet-aside p{font-size:24px}.filters{grid-template-columns:1fr 1fr 1fr}.filters button{grid-row:2}.filters .text-button{justify-self:start}.entry-row{grid-template-columns:125px minmax(0,1fr);gap:16px}.entry-actions{grid-column:2;justify-content:flex-start;margin-top:-15px}.bottom-nav{gap:15px}.calendar-header{display:block}.calendar-header>span{display:block;margin-top:10px}}@media(max-width:650px){.app-shell{padding:0 23px}.topbar{height:89px}.brand{font-size:29px;gap:9px}.brand small{font-size:9px;margin-top:5px}.brand-mark{width:39px;height:39px;font-size:28px}.private-label{font-size:10px;gap:4px}.private-label>span{font-size:25px}main{padding-top:30px;min-height:0}h1{font-size:42px;letter-spacing:-.05em}.write-layout{display:block}.entry-section h1{font-size:46px;line-height:1.08;margin-bottom:17px}.desktop-break{display:none}.eyebrow{font-size:9px;margin-bottom:18px;letter-spacing:.13em}.intro{font-size:13px;margin-bottom:27px;line-height:1.8}.quiet-aside{display:none}.mood-options{gap:9px;margin-bottom:25px}.mood{min-height:119px;padding:18px 5px 13px;font-size:13px}.mood[aria-pressed=true]{padding:17px 4px 12px}.mood-face,.mood-face svg{width:42px;height:42px}.required-text{font-size:10px;margin-left:6px}legend,label{font-size:12px}.label-row>span{font-size:10px}textarea{font-size:14px;min-height:124px}.note-help{font-size:9px;gap:6px;margin-bottom:22px}.time-field{flex-direction:column;align-items:stretch;gap:7px}.time-field input{font-size:14px;width:100%;min-height:48px}.time-field>span{font-size:10px;text-align:right}.form-actions{margin-top:21px;flex-wrap:wrap}.form-actions .primary{flex:1;min-height:52px;font-size:14px;padding-inline:21px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;margin:0;padding:6px 12px calc(7px + env(safe-area-inset-bottom));background:var(--paper);z-index:10;justify-content:space-around;gap:4px;border-color:#d5dacb}.bottom-nav button{flex:1;display:flex;flex-direction:column;gap:4px;padding:9px 6px;font-size:10px;min-height:55px;max-width:110px;border-radius:8px}.bottom-nav button svg{width:20px;height:20px}.bottom-nav button[aria-current=page]{background:#e8ebdf}.footnote{text-align:center;font-size:9px;padding:29px 0 calc(100px + env(safe-area-inset-bottom));line-height:1.7}.footnote br{display:block}.notice:not(:empty),.error,.offline{font-size:12px;padding:12px 14px}.page-head{margin-bottom:25px}.page-head h1{font-size:40px}.page-head p{font-size:13px;line-height:1.8}.filters{grid-template-columns:1fr 1fr;gap:13px 10px;padding:20px 0}.filters>div:last-of-type{grid-column:1/-1}.filters label{font-size:10px}.filters button{grid-row:auto;min-height:44px}.filters .text-button{justify-self:stretch}.filters input,.filters select{font-size:13px;padding:11px 9px}.history-meta{font-size:10px}.entry-row{grid-template-columns:1fr auto;gap:12px;padding:21px 0}.entry-date{grid-column:1/-1;flex-direction:row;justify-content:space-between;font-size:11px;gap:12px}.entry-body{grid-column:1/-1}.entry-actions{grid-column:1/-1;margin:0;gap:15px;justify-content:flex-end}.entry-actions button{font-size:12px;padding:10px 7px;min-height:44px}.entry-note{font-size:13px}.empty-state{padding:40px 5px 20px}.empty-state h2{font-size:25px}.empty-state p{font-size:12px}.summary-toolbar{flex-wrap:wrap;gap:18px;margin-top:20px}.segmented{width:100%}.segmented button{flex:1;font-size:12px;min-height:40px}.period-navigation{justify-content:space-between;width:100%;gap:15px}.anchor-label{flex:1;text-align:center}.anchor-label input{text-align:center;font-size:13px}.range-label{font-size:10px;margin:18px 0 22px}.summary-counts{padding:22px 0;margin-bottom:27px}.count-item{padding:0 15px;gap:5px}.count-item strong{font-size:32px}.count-item>span:last-child{font-size:9px}.count-item .mood-tag{font-size:10px;margin-bottom:10px}.calendar{gap:5px}.calendar-day{min-height:60px;border-radius:7px;font-size:12px;padding:10px 3px;gap:9px}.weekday{font-size:9px;padding:3px 0 8px}.calendar-header h2{font-size:23px}.calendar-header>span{font-size:10px}.calendar-note{font-size:10px;line-height:1.8}.settings-section{padding:25px 0}.settings-section h2{font-size:25px}.settings-section p{font-size:12px}.inline-form{flex-direction:column;align-items:stretch;gap:10px}.inline-form input{width:100%;font-size:14px}.inline-form button,.settings-section .secondary{font-size:12px}.settings-layout>.privacy-note{font-size:10px}.auth-main{padding-top:40px}.auth-layout{padding:0}.auth-layout h1{font-size:51px}.auth-layout .intro{font-size:13px}.auth-form input{font-size:16px}.auth-layout .privacy-note{font-size:10px}.confirm-dialog{padding:25px}.confirm-dialog .eyebrow{font-size:9px}.confirm-dialog h2{font-size:30px}.confirm-dialog p{font-size:13px}.dialog-actions{gap:9px}.dialog-actions button{padding:12px 13px;font-size:12px}.auth-main+.footnote{padding-bottom:30px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}.event-time-details{border-block:1px solid var(--line);padding:2px 0;color:var(--muted)}.event-time-details summary{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:46px;cursor:pointer;list-style:none;font-size:12px}.event-time-details summary::-webkit-details-marker{display:none}.event-time-details summary>span:first-child{text-decoration:underline;text-underline-offset:4px;color:var(--ink);white-space:nowrap}.event-time-details summary>span:last-child{font-size:11px;font-variant-numeric:tabular-nums}.event-time-details[open]{padding-bottom:15px}@media(max-width:650px){.topbar{height:82px}main{padding-top:24px}.entry-section h1{font-size:42px}.entry-section .intro{margin-bottom:22px}.mood{min-height:108px;padding-top:14px;padding-bottom:11px}.mood[aria-pressed=true]{padding-top:13px;padding-bottom:10px}.mood-face,.mood-face svg{width:38px;height:38px}.mood-options{margin-bottom:21px}textarea{min-height:110px}.event-time-details summary{font-size:11px;min-height:44px}.event-time-details summary>span:last-child{font-size:10px}.entry-section .form-actions{position:sticky;bottom:calc(78px + env(safe-area-inset-bottom));z-index:4;background:var(--paper);padding:9px 0;box-shadow:none;margin-top:15px}}
