:root{--paper:#f8f5ee;--paper2:#fffdf8;--ink:#26352c;--muted:#7f897e;--sage:#8fa28d;--sage-dark:#506b58;--sage-pale:#e9efe5;--rose:#cf8793;--rose-dark:#a85f70;--rose-pale:#f7e8ea;--gold:#d4b875;--line:#e9e4d9;--shadow:0 18px 50px rgba(58,69,53,.08);--radius:24px;--serif:'Playfair Display',Georgia,serif;--sans:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:15px;line-height:1.5}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #cf879388;outline-offset:2px}.app-shell{min-height:100vh}.sidebar{width:248px;position:fixed;inset:0 auto 0 0;background:#f2efe7;border-right:1px solid var(--line);padding:30px 19px 20px;display:flex;flex-direction:column;z-index:3}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink);padding:0 12px 38px}.brand-mark{width:42px;height:42px;border-radius:50% 50% 46% 54%;display:grid;place-items:center;background:var(--rose-pale);color:var(--rose-dark);font-size:25px;transform:rotate(-10deg)}.brand b{font-family:var(--serif);font-size:20px;font-weight:600;letter-spacing:.1px}.brand small,.profile-mini small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.side-nav{display:grid;gap:7px}.nav-item{width:100%;border:0;background:transparent;border-radius:14px;padding:12px 14px;display:flex;align-items:center;gap:13px;color:#69756b;text-align:left;font-weight:600;transition:.18s}.nav-item:hover{background:#fff9}.nav-item.active{background:#fffdf8;color:var(--rose-dark);box-shadow:0 6px 18px #71664e0c}.nav-icon{width:21px;text-align:center;font-size:18px;font-weight:400}.nav-section{padding:22px 14px 7px;color:#9aa196;font-size:10px;letter-spacing:1.4px;font-weight:700}.sidebar-bottom{margin-top:auto}.privacy-note{display:flex;gap:11px;align-items:center;padding:15px 13px;border-radius:16px;background:#e9efe5;color:#4f6855;font-size:12px;font-weight:600}.privacy-lock{font-size:21px;color:#789078}.privacy-note small{font-weight:400;color:#728173}.profile-mini{border:0;background:transparent;display:flex;align-items:center;gap:10px;width:100%;padding:18px 8px 0;text-align:left;color:var(--ink)}.avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#e9d9cb;color:#805b54;font-family:var(--serif);font-size:18px;font-weight:600}.profile-mini-text{min-width:0;flex:1}.profile-mini-text b{font-size:13px}.chevron{color:#a5a99f;font-size:21px}.main-area{margin-left:248px;max-width:1480px;padding:0 52px 40px}.topbar{height:126px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);margin-bottom:30px}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:700;color:var(--sage-dark)}h1,h2,h3,p{margin-top:0}.topbar h1{font-family:var(--serif);font-size:34px;font-weight:500;margin:5px 0 0;letter-spacing:-.3px}.topbar-actions{display:flex;align-items:center;gap:14px}.connection-pill{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fffaf4;border-radius:30px;padding:9px 13px;font-size:11px;color:#68756a}.connection-pill i{width:7px;height:7px;border-radius:50%;background:#d8b46c;display:block}.connection-pill.connected i{background:#77a87f}.connection-pill.error i{background:#c8757f}.icon-button{width:39px;height:39px;border:1px solid var(--line);border-radius:50%;background:var(--paper2);color:#69756b;font-size:18px;display:grid;place-items:center}.icon-button:hover{background:var(--rose-pale);color:var(--rose-dark)}.top-avatar{border:0}.page-content{max-width:1120px;margin:0 auto}.footer-note{text-align:center;color:#a5a69d;font-size:10px;letter-spacing:.5px;padding:40px 0 8px}.footer-note span{color:var(--rose)}.notice{max-width:1120px;margin:-10px auto 22px;border-radius:14px;padding:12px 16px;font-size:13px;background:var(--sage-pale);color:var(--sage-dark)}.notice.warn{background:#fbf2df;color:#7e6527}.notice.error{background:var(--rose-pale);color:#90525e}.hero{display:grid;grid-template-columns:1.4fr .8fr;gap:20px;margin-bottom:21px}.hero-card{min-height:210px;border-radius:var(--radius);padding:29px 32px;background:linear-gradient(115deg,#e7eee2 0%,#f2efe5 68%,#f5e8e6 100%);position:relative;overflow:hidden;box-shadow:var(--shadow)}.hero-card:after{content:'✿';position:absolute;right:29px;bottom:-45px;font-size:195px;color:#cf87931c;transform:rotate(18deg);pointer-events:none}.hero-card h2{font:500 29px/1.2 var(--serif);max-width:390px;margin:10px 0}.hero-card p{color:#6f7d70;font-size:13px;max-width:390px;margin:0}.date-line{color:#7e8d7e;font-size:11px;letter-spacing:.7px;font-weight:700}.prompt-card{min-height:210px;border-radius:var(--radius);background:var(--paper2);padding:25px 27px;box-shadow:var(--shadow);display:flex;flex-direction:column;justify-content:space-between}.prompt-flower{font-size:24px;color:var(--rose)}.prompt-card h3{font:500 20px var(--serif);margin:10px 0 6px}.prompt-card p{font-size:12px;color:var(--muted);margin:0}.section-heading{display:flex;align-items:end;justify-content:space-between;margin:29px 0 14px}.section-heading h2{font:500 22px var(--serif);margin:0}.section-heading p{font-size:12px;color:var(--muted);margin:4px 0 0}.link-button,.text-button{background:none;border:0;color:var(--rose-dark);font-size:12px;font-weight:700;padding:5px}.link-button:hover,.text-button:hover{text-decoration:underline}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.stat-card{border-radius:20px;background:var(--paper2);padding:19px 21px;box-shadow:var(--shadow);min-height:112px}.stat-label{color:var(--muted);font-size:11px}.stat-value{font-family:var(--serif);font-size:23px;margin:8px 0 2px}.stat-foot{font-size:10px;color:#99a195}.stat-icon{float:right;font-size:19px;color:var(--rose)}.grid-two{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}.card{background:var(--paper2);border-radius:20px;padding:20px 22px;box-shadow:var(--shadow)}.card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.card-head h3{font:500 17px var(--serif);margin:0}.muted{color:var(--muted)}.small{font-size:11px}.list{display:grid}.list-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #f0ece4}.list-row:last-child{border-bottom:0}.row-icon{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:13px;background:var(--sage-pale);color:var(--sage-dark);font-size:16px}.row-icon.rose{background:var(--rose-pale);color:var(--rose-dark)}.row-main{min-width:0;flex:1}.row-title{font-weight:600;font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.row-sub{color:var(--muted);font-size:10px;margin-top:2px}.row-value{font-size:12px;font-weight:700;white-space:nowrap}.row-value.expense{color:#a86770}.row-value.income{color:#5b8263}.progress-track{height:7px;background:#eceee7;border-radius:10px;overflow:hidden}.progress-fill{height:100%;border-radius:10px;background:linear-gradient(90deg,#9eb39b,#cf8793)}.goal-row{padding:10px 0}.goal-title-line{display:flex;justify-content:space-between;gap:10px;font-size:11px;margin-bottom:7px}.goal-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;margin-top:6px}.empty{padding:26px 15px;text-align:center;color:var(--muted);font-size:12px}.empty .empty-mark{font-size:27px;color:#c9969d;display:block;margin-bottom:8px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}.toolbar h2{font:500 23px var(--serif);margin:0}.toolbar-actions{display:flex;align-items:center;gap:8px}.button{border:0;border-radius:999px;padding:10px 17px;font-size:12px;font-weight:700;transition:.18s}.button-primary{color:white;background:var(--rose-dark);box-shadow:0 7px 16px #a85f7022}.button-primary:hover{background:#934e5f;transform:translateY(-1px)}.button-quiet{background:#f0eee7;color:#667267}.button-quiet:hover{background:#e8e4da}.button-sage{background:var(--sage-pale);color:var(--sage-dark)}.filters{display:flex;gap:6px}.filter-chip{border:1px solid var(--line);border-radius:99px;background:#fffdf9;color:#748074;font-size:10px;padding:7px 12px}.filter-chip.active{background:var(--sage-pale);color:var(--sage-dark);border-color:#d7e1d3}.data-card{background:var(--paper2);border-radius:20px;padding:5px 20px;box-shadow:var(--shadow)}.goal-card-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.goal-card{background:var(--paper2);padding:20px;border-radius:20px;box-shadow:var(--shadow)}.goal-card h3{font:500 18px var(--serif);margin:10px 0 4px}.goal-card .goal-amount{font-size:12px;color:var(--muted);margin-bottom:14px}.goal-card .button{margin-top:15px}.calendar-wrap{display:grid;grid-template-columns:1fr .8fr;gap:18px}.calendar-card{background:var(--paper2);border-radius:20px;padding:20px;box-shadow:var(--shadow)}.calendar-month-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.calendar-month-head strong{font:500 18px var(--serif)}.calendar-month-head button{border:0;background:transparent;color:var(--sage-dark);font-size:19px}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}.weekday{color:#9ba197;font-size:9px;padding:6px 0}.day{border:0;background:transparent;color:var(--ink);aspect-ratio:1;border-radius:50%;font-size:11px;position:relative}.day:hover{background:var(--sage-pale)}.day.today{background:var(--rose-pale);color:var(--rose-dark);font-weight:700}.day.has-event:after{content:'';position:absolute;width:3px;height:3px;border-radius:50%;background:var(--sage-dark);bottom:4px;left:calc(50% - 1.5px)}.day.outside{color:#c4c6bf}.calendar-selected{background:var(--sage-pale);border-radius:14px;padding:11px 13px;font-size:11px;color:var(--sage-dark);margin-top:14px}.mood-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.mood-option{border:1px solid var(--line);border-radius:13px;background:#fffdf9;padding:10px 4px;text-align:center;color:#718071;font-size:10px}.mood-option span{display:block;font-size:20px;margin-bottom:3px}.mood-option.selected,.mood-option:hover{border-color:#d7a1a8;background:var(--rose-pale)}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-fields{display:grid;gap:12px}.form-fields label,.dialog label{display:grid;gap:6px;font-size:11px;font-weight:700;color:#6e796e}.form-fields input,.form-fields textarea,.form-fields select,.dialog input,.dialog textarea,.dialog select{width:100%;border:1px solid var(--line);border-radius:12px;background:#fffdf9;padding:11px 12px;color:var(--ink);font-size:13px}.form-fields textarea,.dialog textarea{min-height:95px;resize:vertical}.dialog{width:min(510px,calc(100vw - 24px));border:1px solid var(--line);border-radius:24px;padding:24px;background:var(--paper2);color:var(--ink);box-shadow:0 30px 100px #25352c45}.dialog::backdrop{background:#2431285c;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:15px}.dialog-head h2{font:500 24px var(--serif);margin:3px 0}.dialog-copy{color:var(--muted);font-size:12px;margin:0 0 14px}.dialog-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:17px}.auth-actions{justify-content:space-between}.secure-hint{font-size:10px;color:var(--sage-dark);background:var(--sage-pale);border-radius:12px;padding:10px 12px}.auth-error{font-size:11px;color:#955562;background:var(--rose-pale);padding:10px;border-radius:10px}.health-note{background:#fff7f3;border-left:3px solid var(--rose);padding:11px 13px;border-radius:0 12px 12px 0;color:#85666a;font-size:11px}.sparkline{height:52px;display:flex;align-items:end;gap:5px;padding-top:8px}.sparkbar{flex:1;border-radius:5px 5px 0 0;background:linear-gradient(180deg,#cf8793,#e8c5c7);min-height:5px}.switch-row{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.switch-row:last-child{border:0}.destructive-link{border:0;background:none;color:#9c646a;font-size:10px}.toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%);background:#334438;color:white;border-radius:99px;padding:11px 17px;box-shadow:var(--shadow);z-index:10;font-size:12px;max-width:calc(100vw - 24px)}.bottom-nav{display:none}.mobile-section{display:none}
@media(max-width:1000px){.sidebar{width:218px;padding-inline:15px}.main-area{margin-left:218px;padding-inline:32px}.hero{grid-template-columns:1.2fr .8fr}.hero-card{padding:25px}.topbar{height:112px}}
@media(max-width:740px){body{font-size:14px}.sidebar{display:none}.main-area{margin:0;padding:0 17px calc(86px + env(safe-area-inset-bottom))}.topbar{height:95px;margin-bottom:21px}.topbar h1{font-size:29px}.topbar-actions{gap:7px}.connection-pill{padding:7px 9px;font-size:9px}.connection-pill span{max-width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.icon-button{width:35px;height:35px}.top-avatar{display:none}.hero{grid-template-columns:1fr;gap:12px}.hero-card{min-height:190px;padding:23px}.hero-card h2{font-size:25px}.prompt-card{min-height:155px;padding:18px 21px}.prompt-card h3{font-size:18px}.stat-grid{grid-template-columns:1fr 1fr;gap:9px}.stat-card{padding:15px;min-height:101px}.stat-card:last-child{grid-column:span 2}.stat-value{font-size:20px}.grid-two,.calendar-wrap{grid-template-columns:1fr}.goal-card-grid{grid-template-columns:1fr}.section-heading{margin-top:23px}.section-heading h2{font-size:20px}.toolbar h2{font-size:21px}.toolbar{align-items:start}.toolbar-actions{width:100%;justify-content:space-between}.filters{max-width:100%;overflow-x:auto}.filter-chip{white-space:nowrap}.card{padding:17px}.data-card{padding:4px 14px}.field-grid{grid-template-columns:1fr}.dialog{padding:20px}.bottom-nav{position:fixed;display:grid;grid-template-columns:repeat(4,1fr);inset:auto 0 0;background:#fffdf8f2;backdrop-filter:blur(14px);border-top:1px solid var(--line);padding:8px 8px calc(8px + env(safe-area-inset-bottom));z-index:5}.bottom-nav .nav-item{display:flex;flex-direction:column;gap:2px;padding:7px 3px;font-size:9px;border-radius:12px}.bottom-nav .nav-icon{font-size:18px;width:auto}.footer-note{padding:24px 0 6px;font-size:9px}.calendar-card{padding:16px}.day{font-size:10px}.weekday{font-size:8px}.list-row{gap:9px}.row-icon{width:34px;height:34px;flex-basis:34px}.row-title{font-size:11px}.row-sub{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
.row-delete{width:26px;height:26px;border:0;border-radius:50%;background:transparent;color:#a2a59d;font-size:17px;line-height:1}.row-delete:hover{background:var(--rose-pale);color:var(--rose-dark)}
.shortcut{border:0;text-align:left;color:var(--ink);cursor:pointer}.shortcut:hover{transform:translateY(-2px);box-shadow:0 22px 45px rgba(58,69,53,.12)}
