@import url('/static/fonts.css');

:root{--bg:#faf8f5;--paper:#fffefa;--ink:#383c35;--muted:#85867c;--line:#eae8e0;--accent:#b86147;--accent-dark:#93472f;--sage:#6e8069;--sage-soft:#edf0e6;--peach:#f8e9de;--serif:Georgia,'Times New Roman',serif;--sans:'Segoe UI',-apple-system,BlinkMacSystemFont,sans-serif;--shadow:0 6px 25px #493a2410}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:14px;line-height:1.6}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #b8614799;outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid #b8614777;outline-offset:2px}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:400}h1,h2,.serif{font-family:var(--serif)}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.icon{width:20px;height:20px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;fill:none;flex-shrink:0;vertical-align:middle}.skip-link{position:fixed;top:-70px;left:20px;z-index:100;background:var(--ink);color:white;padding:12px}.skip-link:focus{top:10px}.sidebar{position:fixed;inset:0 auto 0 0;width:252px;background:#fffefa;border-right:1px solid var(--line);padding:35px 21px 20px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;gap:10px;align-items:flex-start;padding:0 9px;font-family:var(--serif);font-size:30px;letter-spacing:-1.5px;line-height:1.2}.brand-flower{display:inline-block;color:var(--accent);font:48px/1 var(--serif);letter-spacing:0}.brand small{display:block;font:10px/1.8 var(--sans);letter-spacing:1.1px;color:var(--muted);margin-top:5px}.brand-dot{color:var(--accent)}.profile-selector{margin:36px 0 29px;width:100%;border:1px solid #e7e6db;border-radius:10px;background:#f8f8f0;display:flex;align-items:center;text-align:left;padding:13px 10px;gap:10px}.profile-avatar{width:33px;height:36px;display:grid;place-items:center;border-radius:50%;background:#eadfcd;color:#998064;font-size:25px}.profile-selector strong{font-size:12px;font-weight:600;display:block}.profile-selector small{display:block;font-size:10px;color:var(--muted);margin-top:2px}.profile-selector>.icon{margin-left:auto;width:14px}.nav-caption{font-size:9px;letter-spacing:1.6px;color:#949489;padding:0 13px 13px}nav{display:grid;gap:5px}nav a,.sidebar-bottom>a{display:flex;align-items:center;gap:13px;padding:12px 13px;border-radius:7px;color:#73776c;font-size:12px;min-height:45px;transition:.15s}nav a:hover,.sidebar-bottom>a:hover{background:#f5f2ec;color:var(--ink)}nav a.active,.sidebar-bottom>a.active{background:#f6e9e0;color:#a4563e;font-weight:600}nav a>.icon,.sidebar-bottom>a>.icon{width:18px;height:18px}nav .nav-count{margin-left:auto;border-radius:4px;background:#fff8f1;font-size:10px;padding:1px 6px;color:#ac735d}.nav-dot{width:5px;height:5px;background:#a8ae94;border-radius:50%;margin-left:auto}.new-label{font-size:8px;letter-spacing:.7px;color:#7d8a6c;background:#eef0e4;padding:2px 5px;margin-left:auto;border-radius:4px}.sidebar-bottom{margin-top:auto;padding-top:25px}.little-note{display:flex;align-items:center;justify-content:space-between;padding:19px 15px;margin-bottom:21px;background:#f8f5ee;border-radius:8px;color:#818674}.little-note span{font-family:var(--serif);font-style:italic;font-size:17px;line-height:1.5}.little-note .icon{color:#b9bba6;transform:rotate(-16deg);width:31px;height:31px}.local-label{display:flex;align-items:center;gap:7px;font-size:9px;color:#94978b;padding:17px 10px 0}.local-label>span{height:5px;width:5px;background:#8b9a77;border-radius:50%}.app-shell{margin-left:252px}.topbar{height:83px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 45px;background:#fffefa99;gap:20px}.breadcrumb{font-size:11px;color:#999a90}.breadcrumb span{padding:0 14px;color:#c5c3b9}.breadcrumb strong{font-weight:400;color:#62685d}.topbar-actions{display:flex;align-items:center;gap:23px}.private-indicator{display:flex;align-items:center;gap:7px;font-size:10px;color:#888d7e}.private-indicator .icon{width:13px;height:13px}.user-avatar{width:34px;height:34px;border-radius:50%;border:3px solid #fff;background:#ead3bf;color:#806046;font-size:13px;box-shadow:0 0 0 1px #e3ded3}.mobile-menu{display:none!important}main{max-width:1550px;min-height:calc(100vh - 150px);margin:auto;padding:37px 45px 28px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.eyebrow{color:var(--sage);font-size:9px;letter-spacing:1.8px;font-weight:600;text-transform:uppercase}.greeting h1{font-size:34px;line-height:1.35;letter-spacing:-.9px;margin-bottom:7px}.greeting h1 .sun{font-family:var(--sans);color:#c29c63;font-size:24px;margin-left:7px;vertical-align:3px}.greeting p,.page-description{color:#888b7e;font-size:12px;line-height:1.8}.button{border:1px solid transparent;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 17px;font-size:11px;font-weight:500;min-height:42px;transition:background .15s,transform .15s;white-space:nowrap}.button:hover{transform:translateY(-1px)}.button .icon{width:16px;height:16px}.button.primary{background:var(--accent);color:#fffdf6;box-shadow:0 3px 6px #b8614714}.button.primary:hover{background:var(--accent-dark)}.button.secondary{background:#fffefa;border-color:#deddd2}.button.secondary:hover{background:#f2efe7}.button.soft{background:#fff8ef;color:#a45d44;border-color:#e4cbbb}.button.danger{background:#fae9e5;color:#ae4738}.text-button{border:0;background:transparent;padding:4px 0;color:var(--accent);font-size:10px;display:inline-flex;align-items:center;gap:8px}.text-button .icon{width:14px;height:14px}.home-grid{display:grid;grid-template-columns:minmax(0,1fr) 278px;gap:25px}.content-column,.rail{min-width:0}.hero{position:relative;overflow:hidden;background:#eeeedd;border:1px solid #e7e7d8;border-radius:12px;min-height:242px;padding:28px 30px;margin-bottom:23px;display:flex;align-items:center}.hero-content{position:relative;z-index:1;max-width:68%}.hero .eyebrow{font-size:9px;color:#728068;display:flex;align-items:center;gap:6px}.hero .eyebrow .icon{width:13px;height:13px}.hero h2{font-size:32px;line-height:1.3;letter-spacing:-.7px;margin:10px 0 10px}.hero h2 em{font-weight:400;color:#748365}.hero p{font-size:11px;line-height:1.9;color:#7a806d;max-width:310px}.hero .text-button{color:#607253;margin-top:16px;font-size:10px}.hero-art{position:absolute;right:-3px;bottom:-5px;width:235px;height:235px;object-fit:contain}.hero .week-pill{display:inline-flex;border:1px solid #c9cfb6;border-radius:20px;padding:3px 9px;font-size:8px;letter-spacing:.5px;color:#718164;margin-left:8px}.quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:31px}.quick-action{background:#fffefa;border:1px solid var(--line);border-radius:9px;min-height:84px;display:flex;align-items:center;gap:10px;padding:13px 12px;text-align:left;transition:.18s}.quick-action:hover{border-color:#ccb29d;box-shadow:var(--shadow);transform:translateY(-2px)}.action-icon{width:33px;height:36px;background:#f8eae1;color:#be8368;border-radius:9px;display:grid;place-items:center;flex-shrink:0}.action-icon .icon{width:17px;height:17px}.quick-action:nth-child(2) .action-icon{background:#f0e9e1;color:#b29374}.quick-action:nth-child(3) .action-icon{background:#eef0e7;color:#8b9b77}.quick-action:nth-child(4) .action-icon{background:#f1eaf3;color:#ab93b4}.quick-action strong{display:block;font-weight:500;font-size:10px}.quick-action small{font-size:8px;line-height:1.5;color:#939589;display:block;margin-top:2px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.section-heading h2{font-size:23px;letter-spacing:-.5px}.section-heading p{font-size:10px;color:#92958a;margin-top:3px}.section-heading .text-button{font-size:10px}.entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.entry-card{border:1px solid var(--line);background:#fffefa;border-radius:10px;overflow:hidden;position:relative;transition:box-shadow .2s,transform .2s;display:flex;flex-direction:column;min-width:0}.entry-card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}.entry-image-button{display:block;background:#eee7dc;border:0;padding:0;width:100%;height:165px;overflow:hidden;text-align:left}.entry-image-button img{height:100%;width:100%;object-fit:cover;transition:transform .5s}.entry-card:hover .entry-image-button img{transform:scale(1.035)}.card-body{padding:17px 18px 16px;flex:1;display:flex;flex-direction:column;cursor:pointer;outline-offset:-4px}.entry-meta{font-size:8px;letter-spacing:.5px;color:#92958b;display:flex;gap:7px;align-items:center;margin-bottom:8px}.entry-meta .kind{font-size:8px;color:#97816b;display:flex;align-items:center;gap:4px}.entry-meta .icon{width:11px;height:11px}.entry-card h3{font-family:var(--serif);font-size:20px;line-height:1.4;letter-spacing:-.3px;margin-bottom:7px;padding-right:12px}.entry-card .excerpt{color:#8b8d81;font-size:10px;line-height:1.9;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.card-footer{display:flex;align-items:center;justify-content:space-between;padding-top:14px;margin-top:auto;font-size:8px;color:#a09f91}.mood-chip{display:flex;align-items:center;gap:5px;font-size:8px;letter-spacing:.2px}.mood-chip span{font-size:13px}.favorite-button{width:28px;height:28px;border:0;border-radius:50%;background:transparent;color:#a6a797;display:grid;place-items:center;transition:.15s}.favorite-button .icon{width:15px;height:15px}.favorite-button.active{color:var(--accent)}.favorite-button.active .icon{fill:#b8614726}.favorite-button:hover{background:#f7e7dc}.image-favorite{position:absolute;right:11px;top:11px;background:#fffefaee;box-shadow:0 2px 8px #00000006;z-index:2}.entry-card.quote{background:#f5eee6;border-color:#eee4d9}.entry-card.quote .card-body{padding:20px 23px}.quote-mark{font-family:var(--serif);font-size:64px;line-height:1;color:#d1af91;height:43px;margin:4px 0}.entry-card.quote h3{font-size:25px;line-height:1.5;color:#77634e;font-style:italic;letter-spacing:-.5px}.entry-card.quote .excerpt{color:#998974}.entry-card.letter{background:#f5f1f6}.entry-card.milestone{background:#f0f2e9}.entry-card.quote .entry-meta{color:#b09b83}.rail{display:flex;flex-direction:column;gap:21px}.rail-card{border:1px solid var(--line);background:#fffefa;border-radius:11px;padding:22px 21px}.rail-card h2{font-size:21px;letter-spacing:-.4px}.phase-card .eyebrow{font-size:8px;color:#8c9482;margin-bottom:14px}.phase-card .phase-top{display:flex;align-items:center;gap:14px;margin:14px 0}.phase-circle{width:58px;height:58px;background:#f2efe1;border:1px solid #e3e2ce;border-radius:50%;display:grid;place-items:center;font-size:28px}.phase-top h3{font-family:var(--serif);font-size:21px}.phase-top p{color:#949787;font-size:9px;margin-top:1px}.progress-track{height:4px;background:#eef0e4;border-radius:10px;overflow:hidden;margin:17px 0 9px}.progress-fill{height:100%;background:#9ba686;border-radius:10px;max-width:100%}.progress-label{display:flex;justify-content:space-between;font-size:8px;color:#929884}.phase-card .divider{border-top:1px dashed #e6e6d8;margin:20px 0 14px}.phase-card .subtle{font-size:10px;color:#929585;line-height:1.9}.phase-card .text-button{margin-top:11px;color:#7a886b}.inspiration-card{background:#fbf0e7;border-color:#f0e1d4;position:relative;overflow:hidden}.inspiration-card .eyebrow{color:#bc8b67;font-size:8px;display:flex;gap:6px;align-items:center}.inspiration-card .eyebrow .icon{width:12px;height:12px}.inspiration-card h2{font-size:23px;line-height:1.5;margin:13px 0 9px;max-width:200px;color:#725d49}.inspiration-card p{font-size:10px;color:#a18a72;line-height:1.9}.inspiration-card .text-button{margin-top:15px}.memory-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;text-align:center;border-top:1px solid var(--line);padding-top:18px;margin-top:15px}.memory-counts strong{display:block;font-family:var(--serif);font-size:23px;font-weight:400;color:#7d866e}.memory-counts span{font-size:8px;color:#9b9d90}.photobook-promo{position:relative;overflow:hidden;padding:21px;background:#eeeee4;min-height:173px}.photobook-promo h2{font-size:22px;line-height:1.4;max-width:130px;position:relative;z-index:1}.photobook-promo p{max-width:137px;color:#8c927f;font-size:9px;margin:8px 0 10px;position:relative;z-index:1}.mini-book{position:absolute;right:12px;top:32px;background:#d2b69e;width:77px;height:105px;transform:rotate(12deg);border-left:4px solid #b9a08b;box-shadow:4px 6px 8px #6e675921;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#fff5e9;text-align:center}.mini-book span{font-family:var(--serif);font-size:10px}.mini-book .icon{width:18px}.mini-book small{font-size:5px;letter-spacing:1.1px}.bottom-prompt{margin-top:25px;padding:16px 20px;display:flex;gap:13px;align-items:center;border:1px dashed #dddaca;border-radius:9px;background:#f6f5ee}.bottom-prompt>.icon{color:#a8af93;width:22px;height:22px}.bottom-prompt p{font-family:var(--serif);font-style:italic;font-size:16px;color:#8a8f7c;flex:1}.bottom-prompt button{font-size:9px}.app-footer{display:flex;justify-content:space-between;padding:20px 45px 25px;max-width:1550px;margin:auto;color:#adae9f;font-size:9px}.app-footer>span:last-child{font-family:var(--serif);font-size:13px}.demo-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:8px;background:#f0f0e5;color:#7e866e;font-size:10px;padding:10px 15px;margin-top:25px}.demo-banner button{border:0;background:transparent;color:#6e775c;font-size:10px;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}.filter-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:23px 0}.filter-tabs{display:flex;gap:5px;flex-wrap:wrap}.filter-tab{border:1px solid transparent;background:transparent;padding:7px 12px;border-radius:6px;color:#8b8e80;font-size:11px;display:inline-flex;align-items:center;gap:5px}.filter-tab.active{background:#edece2;color:#68735d}.filter-tab .icon{width:13px;height:13px}.filter-search{position:relative;min-width:180px}.filter-search input{width:100%;padding:9px 12px 9px 34px;border:1px solid var(--line);background:#fffefa;border-radius:7px;font-size:11px}.filter-search .icon{position:absolute;left:11px;top:11px;color:#9b9e8e;width:14px;height:14px}.diary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.view-options{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;color:#929586;font-size:10px}.segmented{display:flex;border:1px solid var(--line);border-radius:6px;background:#f5f3ed;padding:3px;gap:2px}.segmented button{border:0;background:transparent;border-radius:4px;padding:5px 8px;color:#8c9180;display:grid;place-items:center}.segmented button .icon{width:14px;height:14px}.segmented button.active{background:#fffefa;box-shadow:0 1px 4px #00000009;color:#565f4d}.entry-grid.list-view{grid-template-columns:1fr}.list-view .entry-card{display:grid;grid-template-columns:160px 1fr}.list-view .entry-image-button{height:100%;min-height:180px}.list-view .entry-card:not(:has(.entry-image-button)){display:flex}.list-view .card-body{min-height:180px}.list-view .quote-mark{display:none}.list-view .excerpt{-webkit-line-clamp:2}.timeline-year{font-family:var(--serif);font-size:30px;color:#8d977c;margin:25px 0 12px}.timeline-group{max-width:860px;margin:auto}.timeline-entry{position:relative;border-left:1px solid #d8dfcd;margin-left:100px;padding:0 0 25px 30px}.timeline-entry:before{content:'';position:absolute;width:9px;height:9px;left:-5px;top:22px;background:#9aa688;border:3px solid var(--bg);box-sizing:content-box;border-radius:50%;transform:translateX(-2px)}.timeline-date{position:absolute;right:calc(100% + 25px);top:19px;width:70px;font-size:10px;color:#9b9d90;text-align:right}.timeline-entry .entry-card{max-width:630px}.timeline-entry .entry-image-button{height:200px}.quote-intro{background:#f4ebdf;border:1px solid #ebdfcd;padding:25px 30px;border-radius:12px;display:flex;align-items:center;gap:22px;margin:22px 0}.quote-intro .quote-mark{font-size:90px;height:65px;color:#cdb393}.quote-intro h2{font-size:28px;color:#806f59}.quote-intro p{font-size:11px;color:#9e8c75;margin-top:5px}.quote-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.empty-state{border:1px dashed #dcdccf;border-radius:12px;padding:55px 25px;text-align:center;background:#fffefa;grid-column:1/-1}.empty-state>.icon{color:#b3b69e;width:36px;height:36px;margin-bottom:16px}.empty-state h2{font-size:27px;margin-bottom:8px}.empty-state p{color:#909586;font-size:12px;max-width:390px;margin:0 auto 19px}.companion-header{background:#eeefe0;border:1px solid #e0e4d3;border-radius:12px;padding:30px;margin:25px 0;display:flex;align-items:center;gap:25px}.companion-header .phase-circle{height:85px;width:85px;flex-shrink:0;font-size:36px;background:#fffefa88}.companion-header h2{font-size:30px}.companion-header p{font-size:12px;color:#8c947d;margin-top:7px;max-width:600px}.companion-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.companion-card{border:1px solid var(--line);border-radius:11px;background:#fffefa;padding:25px}.companion-card>.action-icon{margin-bottom:18px}.companion-card h2{font-size:24px;line-height:1.4;margin-bottom:10px}.companion-card p{font-size:12px;line-height:1.9;color:#8b927f;margin-bottom:15px}.companion-note{margin-top:23px;color:#949989;font-size:11px;background:#f0f0e7;padding:16px 20px;border-radius:8px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-panel{border:1px solid var(--line);background:#fffefa;border-radius:11px;padding:26px}.settings-panel h2{font-size:24px;margin-bottom:7px}.settings-panel>p{font-size:11px;color:#929686;margin-bottom:22px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px}.field label,.field-label{font-size:11px;font-weight:500;color:#737b66}.field input,.field textarea,.field select,.book-settings input,.book-settings select{width:100%;border:1px solid #e0e1d5;border-radius:7px;background:#fffefa;padding:11px 12px;line-height:1.5;color:var(--ink);font-size:12px}.field textarea{resize:vertical;min-height:140px}.field small{font-size:10px;color:#9b9f8f}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.settings-panel .button+.button{margin-left:5px}.settings-profile{border-top:1px solid var(--line);padding:17px 0;display:flex;align-items:center;gap:13px}.settings-profile strong{display:block;font-weight:500}.settings-profile small{color:#9a9e8d}.settings-profile .text-button{margin-left:auto}.privacy-list{display:grid;gap:15px;margin:20px 0}.privacy-item{display:flex;gap:12px;color:#898f7d;font-size:11px}.privacy-item .icon{width:17px;height:17px;color:#7e946e}.book-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:30px}.book-settings{border:1px solid var(--line);border-radius:10px;background:#fffefa;padding:23px;align-self:start}.book-settings h2{font-size:23px;margin-bottom:20px}.book-settings .field{margin-bottom:18px}.book-settings .button{width:100%;margin-top:8px}.book-settings p{font-size:10px;color:#969c88;margin-top:13px}.book-stage{background:#f0ede7;border:1px solid #e5e0d6;border-radius:11px;padding:30px;display:flex;flex-direction:column;align-items:center;min-height:500px}.book-cover{width:280px;min-height:365px;background:#d7b9a0;box-shadow:9px 12px 20px #67543f20;border-left:9px solid #bfa08a;padding:44px 25px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff9ee}.book-cover .eyebrow{font-size:9px;color:inherit;opacity:.75}.book-cover h2{font-size:39px;line-height:1.3;margin:23px 0 15px;overflow-wrap:anywhere}.book-cover .icon{width:40px;height:40px;stroke-width:1;margin:15px}.book-cover p{font-family:var(--serif);font-style:italic;font-size:15px}.book-cover small{margin-top:30px;letter-spacing:2px;font-size:8px}.book-stage-caption{font-size:10px;color:#a09a8c;text-align:center;margin:20px 0}.book-thumbnails{display:flex;gap:10px;overflow:auto;width:100%;max-width:500px;padding-bottom:10px}.book-thumb{width:95px;min-width:95px;height:110px;background:#fffefa;box-shadow:1px 2px 3px #00000010;padding:10px;overflow:hidden}.book-thumb img{width:100%;height:50px;object-fit:cover}.book-thumb p{font-family:var(--serif);font-size:9px;line-height:1.5;margin-top:5px}.book-thumb small{font-size:6px;color:#989f89}.book-thumb.quote{background:#f7ecdf}.book-thumb .quote-mark{font-size:25px;height:15px;margin:0}.book-title-heading{font-size:34px}.book-notice{font-size:10px;color:#969b89;margin:20px 0;padding:13px 16px;border-radius:8px;background:#eeefe5}.loading-state{text-align:center;padding:80px 20px;color:#8c927b}.loading-state .brand-flower{font-size:55px;animation:breathe 2s infinite}.loading-state p{font-size:13px;margin-top:20px}@keyframes breathe{50%{opacity:.5;transform:rotate(30deg)}}
dialog{padding:0;border:1px solid #e6e0d3;border-radius:14px;width:min(600px,calc(100% - 30px));max-height:90dvh;box-shadow:0 20px 90px #302b2433;background:var(--paper);color:var(--ink)}dialog::backdrop{background:#3d3e3359;backdrop-filter:blur(4px)}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;padding:25px 28px 19px;border-bottom:1px solid var(--line);gap:20px}.modal-header h2{font-size:29px}.modal-header p{font-size:11px;color:#949786;margin-top:4px}.icon-button{border:0;background:transparent;width:31px;height:31px;border-radius:6px;display:grid;place-items:center;color:#8b927e}.icon-button:hover{background:#f1ede5}.modal-body{padding:25px 28px}.modal-footer{padding:18px 28px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;background:#faf9f4;border-radius:0 0 14px 14px}.entry-types{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:23px}.entry-types button{border:1px solid var(--line);background:#fffefa;padding:10px 4px;border-radius:7px;font-size:10px;display:flex;flex-direction:column;align-items:center;gap:5px}.entry-types button.active{border-color:#c6947d;background:#f9eae0;color:#a85f43}.entry-types .icon{width:17px;height:17px}.mood-selector{display:flex;gap:7px;flex-wrap:wrap;margin:9px 0 20px}.mood-selector button{border:1px solid var(--line);background:#fffefa;border-radius:6px;padding:7px 10px;font-size:10px;display:flex;gap:5px;align-items:center}.mood-selector button.active{background:#eef0e4;border-color:#a8b591}.mood-selector span{font-size:15px}.upload-area{border:1px dashed #d6d9c7;border-radius:8px;background:#f7f8ef;padding:20px;text-align:center;position:relative}.upload-area label{cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px;font-size:11px;color:#858f74}.upload-area small{font-size:9px;color:#9ba38b;display:block;margin-top:7px}.photo-preview{width:100%;max-height:200px;object-fit:cover;border-radius:7px;margin-bottom:10px}.photo-remove{border:0;background:transparent;color:var(--accent);font-size:10px;display:block;margin:8px auto 0}.form-error{font-size:11px;color:#b14632;background:#fbeee6;padding:10px 13px;border-radius:6px;margin-bottom:15px}.form-error:empty{display:none}.detail-photo{width:100%;max-height:320px;object-fit:cover;display:block}.detail-date{font-size:10px;color:#909884;display:flex;align-items:center;gap:7px;margin-bottom:18px}.detail-title{font-family:var(--serif);font-size:30px;line-height:1.45;margin-bottom:16px;overflow-wrap:anywhere}.detail-body{white-space:pre-wrap;font-size:14px;line-height:2;color:#7c8570;overflow-wrap:anywhere}.detail-actions{display:flex;justify-content:space-between;align-items:center;width:100%;gap:8px}.detail-actions>div{display:flex;gap:8px}.profile-choice{display:flex;width:100%;text-align:left;align-items:center;gap:14px;padding:15px;border:1px solid var(--line);border-radius:9px;background:#fffefa;margin-bottom:12px}.profile-choice.active{border-color:#a8b391;background:#f0f2e7}.profile-choice strong{display:block;font-weight:500}.profile-choice small{color:#929b84;font-size:11px}.profile-choice>.icon{margin-left:auto;color:#839672}.profile-choice .phase-circle{width:43px;height:43px;font-size:21px}.toast{position:fixed;bottom:25px;left:calc(50% + 126px);transform:translate(-50%,20px);z-index:100;pointer-events:none;background:#47513f;color:#fffaf0;font-size:12px;padding:12px 22px;border-radius:9px;box-shadow:0 5px 25px #00000016;opacity:0;transition:.2s;max-width:calc(100% - 40px);text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}.toast.error{background:#9b523e}.onboarding-note{font-size:11px;color:#969c88;margin-bottom:22px;padding:13px;background:#f1f2e8;border-radius:7px}.checkbox-label{display:flex;gap:9px;align-items:center;font-size:11px;color:#8b927c;margin-bottom:18px}.checkbox-label input{accent-color:var(--accent);width:15px;height:15px}.delete-confirm-text{font-size:12px;color:#929885;line-height:1.9}.search-status{font-size:10px;color:#949b87;margin-bottom:12px}
@media(min-width:1500px){.home-grid{grid-template-columns:minmax(0,1fr) 300px;gap:30px}.hero{min-height:265px;padding:35px}.hero h2{font-size:38px}.hero-art{width:280px;height:270px}.entry-image-button{height:195px}.quick-action{min-height:91px}.quick-action strong{font-size:12px}.quick-action small{font-size:9px}.rail-card{padding:24px}.entry-card h3{font-size:23px}.entry-card .excerpt{font-size:12px}.entry-meta,.entry-meta .kind{font-size:9px}.mood-chip,.card-footer{font-size:9px}}
@media(max-width:1200px){.sidebar{width:222px;padding:28px 15px 18px}.brand{font-size:27px;gap:8px}.brand-flower{font-size:43px}.app-shell{margin-left:222px}.topbar{padding:0 28px}main{padding:30px 28px}.home-grid{grid-template-columns:minmax(0,1fr) 245px;gap:18px}.rail-card{padding:19px 17px}.hero{padding:23px;min-height:230px}.hero h2{font-size:29px}.hero-art{width:190px;height:210px;opacity:.95}.hero-content{max-width:72%}.quick-action{padding:12px 8px;gap:7px}.quick-action small{display:none}.quick-action .action-icon{width:28px;height:30px}.quick-action strong{font-size:9px}.greeting h1{font-size:31px}.app-footer{padding:20px 28px}.toast{left:calc(50% + 111px)}.diary-grid{grid-template-columns:repeat(2,1fr)}.quote-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:1000px){.sidebar{width:205px;padding-left:12px;padding-right:12px}.app-shell{margin-left:205px}.brand{font-size:25px}.brand-flower{font-size:40px}.brand small{font-size:8px}.nav-caption{font-size:8px}.sidebar nav a,.sidebar-bottom>a{font-size:11px;padding:12px 10px;gap:10px}.home-grid{grid-template-columns:1fr}.rail{display:grid;grid-template-columns:repeat(2,1fr);gap:17px}.rail .story-stats{display:none}.rail .photobook-promo{display:none}.hero-art{width:240px;height:240px}.hero{min-height:235px}.hero-content{max-width:65%}.quick-action small{display:block}.quick-action strong{font-size:10px}.quick-actions{margin-bottom:25px}.breadcrumb{font-size:10px}.private-indicator{font-size:9px}.settings-grid{grid-template-columns:1fr}.companion-grid{grid-template-columns:1fr}.companion-card{display:block}.book-layout{grid-template-columns:220px 1fr;gap:18px}.book-settings{padding:18px}.book-stage{padding:25px 15px}.book-cover{width:220px;min-height:300px}.book-cover h2{font-size:32px}.toast{left:calc(50% + 102px)}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);width:252px;transition:transform .2s;box-shadow:10px 0 40px #00000010}.sidebar.open{transform:translateX(0)}.sidebar.open:after{content:'';position:fixed;left:252px;top:0;bottom:0;width:calc(100vw - 252px);background:#383c3550;z-index:-1}.brand{font-size:30px}.brand-flower{font-size:48px}.brand small{font-size:10px}.sidebar nav a,.sidebar-bottom>a{font-size:13px;min-height:47px}.mobile-menu{display:grid!important}.app-shell{margin-left:0}.topbar{height:65px;padding:0 20px;gap:12px;position:sticky;top:0;z-index:20;background:#fffefaee;backdrop-filter:blur(12px)}.breadcrumb{margin-right:auto}.breadcrumb>span{padding:0 6px}.topbar-actions{gap:10px}.private-indicator{font-size:0;gap:0}.private-indicator .icon{width:15px;height:15px}.user-avatar{width:30px;height:30px}main{padding:27px 20px}.page-heading{align-items:flex-start;margin-bottom:23px;gap:10px}.greeting h1{font-size:29px}.greeting p{font-size:10px;max-width:235px}.page-heading>.button{padding:10px 12px;font-size:10px;min-height:38px;margin-top:5px}.page-heading>.button .icon{width:13px;height:13px}.hero{min-height:222px;padding:23px}.hero h2{font-size:30px}.hero-content{max-width:69%}.hero p{font-size:10px}.hero-art{width:195px;height:215px;right:-15px}.hero .week-pill{font-size:7px;margin-left:4px}.hero .eyebrow{font-size:8px;flex-wrap:wrap;gap:4px}.hero .text-button{font-size:9px}.quick-actions{gap:8px}.quick-action{flex-direction:column;align-items:flex-start;gap:8px;padding:12px}.quick-action small{font-size:8px}.quick-action strong{font-size:9px}.quick-action .action-icon{width:30px;height:30px}.entry-image-button{height:165px}.card-body{padding:15px}.entry-card h3{font-size:20px}.entry-card.quote h3{font-size:23px}.entry-card.quote .card-body{padding:17px}.rail{margin-top:5px}.app-footer{padding:10px 20px 23px;font-size:8px}.toast{left:50%}.filter-toolbar{flex-direction:column;align-items:stretch;gap:12px}.filter-tabs{gap:2px}.filter-tab{padding:7px 9px;font-size:10px}.filter-search input{font-size:12px}.entry-meta{font-size:8px;gap:5px}.companion-header{padding:20px;gap:15px}.companion-header .phase-circle{width:60px;height:60px;font-size:28px}.companion-header h2{font-size:24px}.companion-header p{font-size:11px}.book-layout{grid-template-columns:1fr}.book-settings{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:20px}.book-settings h2,.book-settings>p{grid-column:1/-1}.book-settings h2{margin-bottom:0}.book-settings .field{margin-bottom:0}.book-settings .button{margin-top:0;white-space:normal}.book-cover{width:260px;min-height:350px}.book-stage{min-height:450px}.book-stage-caption{font-size:10px}.quote-intro{padding:20px;gap:13px}.quote-intro h2{font-size:24px}.quote-intro p{font-size:10px}.timeline-entry{margin-left:62px;padding-left:20px}.timeline-date{right:calc(100% + 14px);width:48px;font-size:9px}.timeline-entry .entry-image-button{height:180px}.timeline-year{font-size:26px}.settings-panel{padding:20px}.demo-banner{font-size:9px;align-items:flex-start}.bottom-prompt p{font-size:15px}.bottom-prompt{padding:15px;gap:10px}.modal-body{padding:22px}.modal-header{padding:21px 22px 16px}.modal-header h2{font-size:25px}.modal-footer{padding:16px 22px}}
@media(max-width:450px){.breadcrumb{font-size:0}.breadcrumb strong{font-size:11px}.breadcrumb span{display:none}.topbar-actions{gap:15px}.greeting h1{font-size:27px}.greeting h1 .sun{font-size:20px}.page-heading{flex-wrap:wrap}.page-heading>.button{margin-top:0}.hero{padding:21px;min-height:230px}.hero h2{font-size:27px}.hero-art{width:155px;right:-7px;opacity:.85}.hero-content{max-width:75%}.hero p{max-width:205px}.hero .week-pill{display:none}.quick-actions{grid-template-columns:repeat(2,1fr)}.quick-action{flex-direction:row;align-items:center;min-height:66px;gap:10px}.quick-action strong{font-size:10px}.quick-action small{font-size:8px}.entry-grid{grid-template-columns:1fr}.entry-image-button{height:200px}.entry-card.quote h3{font-size:27px}.card-body{padding:20px}.entry-card .excerpt{font-size:12px}.entry-meta,.entry-meta .kind{font-size:9px}.mood-chip,.card-footer{font-size:10px}.rail{grid-template-columns:1fr}.rail .phase-card{display:none}.section-heading h2{font-size:23px}.section-heading .text-button{font-size:9px}.section-heading{gap:10px}.bottom-prompt{flex-wrap:wrap}.bottom-prompt p{min-width:190px}.bottom-prompt button{margin-left:32px}.app-footer>span:first-child{max-width:190px}.field-row{grid-template-columns:1fr;gap:0}.entry-types button{font-size:9px}.mood-selector{gap:5px}.mood-selector button{font-size:9px;padding:6px 7px}.timeline-entry{margin-left:47px;padding-left:17px}.timeline-date{right:calc(100% + 10px);width:40px;font-size:8px}.timeline-entry .card-body{padding:17px}.detail-actions>div{gap:4px}.detail-actions .button{padding:9px 11px;font-size:10px}.quote-intro .quote-mark{display:none}.book-settings{grid-template-columns:1fr}.book-cover{width:240px}.list-view .entry-card{grid-template-columns:105px 1fr}.list-view .entry-card .card-body{padding:12px}.list-view .entry-card h3{font-size:18px}.list-view .entry-meta{flex-wrap:wrap}.demo-banner{flex-direction:column;gap:5px}.settings-panel .button+.button{margin-left:0;margin-top:10px}.settings-panel .button{white-space:normal}}
.entry-card h3{overflow-wrap:anywhere}.quote-intro{flex-wrap:wrap}.quote-intro>div:not(.quote-mark){flex:1;min-width:180px}.favorite-button{min-width:32px;min-height:32px}.demo-banner .icon{width:13px;height:13px;margin-right:4px}.field input,.field textarea{scroll-margin:90px}.sidebar{overflow-y:auto}.sidebar nav a{flex-shrink:0}
@media(max-width:760px){.field input,.field textarea,.field select,.book-settings input,.book-settings select,.filter-search input{font-size:16px}.field label,.field-label{font-size:12px}.page-heading>.button{min-height:44px}.favorite-button{min-width:38px;min-height:38px}.quote-intro .button{min-height:44px}.filter-tab{min-height:38px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
