@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;600&family=Cormorant+Garamond:ital,wght@0,500;1,500;1,600&family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap');
:root{--ink:#344a3c;--bg:#faf6ee;--accent:#d8afbd;--paper:#fffdf9;--border:#dddccd;--soft:#edece1}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 'DM Sans',sans-serif}button,input,select,textarea{font:inherit}button,a,label.filebutton{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b88653;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font:48px/1.12 'Libre Caslon Display',Georgia,serif;margin:12px 0}h2{font:27px/1.2 'Libre Caslon Display',Georgia,serif}h3{font-size:16px}header{display:flex;align-items:center;gap:36px;padding:25px 4vw;border-bottom:1px solid var(--border);background:#fffdf9}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink);font:25px Georgia}.brandmark{font:35px Georgia;color:#b07b90}.brand small{display:block;font:12px/1.6 'DM Sans';letter-spacing:.05em}nav{display:flex;gap:5px;margin-left:auto}.nav{border:0;background:none;color:var(--ink);padding:10px 18px;border-radius:25px}.nav.active{background:var(--soft)}.edition,.eyebrow,.step{font-size:12px;font-weight:700;letter-spacing:.12em}.edition{border-left:1px solid var(--border);padding-left:25px;color:#6b7165}.intro{display:flex;justify-content:space-between;align-items:center;margin:38px 0 28px;gap:20px}.intro p{color:#697064;margin:0}.eyebrow{color:#926f80}main{max-width:1600px;padding:0 4vw;margin:auto}.tab{display:none}.tab.active{display:block}.studio{display:grid;grid-template-columns:250px minmax(350px,1fr) 255px;gap:25px}.panel{padding:24px;background:#fffdf9;border:1px solid var(--border);border-radius:12px;align-self:start}.step{color:#8c7967;display:block;margin-bottom:12px}.panel h2{margin-bottom:20px}.moods{display:grid;gap:9px}.mood{display:flex;align-items:center;gap:10px;border:1px solid var(--border);padding:10px;background:transparent;border-radius:7px;text-align:left;font-size:14px;color:var(--ink)}.mood.active{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}.swatch{width:30px;height:30px;border-radius:50%;flex-shrink:0}.switch{display:flex!important;gap:8px;align-items:center;margin:18px 0!important;font-size:14px}.switch input{accent-color:#344a3c;width:17px;height:17px}hr{border:0;border-top:1px solid var(--border);margin:24px 0}label{display:block;font-size:14px;font-weight:600;margin:17px 0 7px}select,input:not([type=checkbox]),textarea{width:100%;padding:10px;border:1px solid var(--border);border-radius:5px;color:var(--ink);background:#fff}.segmented{display:grid;grid-template-columns:1fr 1fr;gap:6px}.segmented button{padding:9px;border:1px solid var(--border);border-radius:5px;background:transparent;color:var(--ink);font-size:14px}.segmented button.selected{background:var(--ink);color:white}.primary,.outline,.download{display:inline-block;border-radius:7px;padding:12px 18px;border:1px solid var(--ink);text-decoration:none;text-align:center;font-weight:600;font-size:14px}.primary{background:var(--ink);color:white}.outline{background:transparent;color:var(--ink)}.companion .primary,.download{width:100%}.filebutton{display:block;border:1px dashed #999f8d;border-radius:6px;padding:10px;text-align:center;font-size:14px;cursor:pointer}.filebutton input{position:absolute;opacity:0;width:1px!important;height:1px}.filebutton:focus-within{outline:3px solid #b88653}.muted,.hint{display:block;color:#697064;font-size:12px;line-height:1.6}.hint{margin:15px 0 25px}.panel p{font-size:14px}.download{font-weight:500;background:#eee9df;margin-bottom:12px}.paper-top{display:flex;justify-content:space-between;font-size:12px;letter-spacing:.04em;margin:0 0 12px}.paper-top span:last-child{color:#777d70;font-size:10px}.planner-page{background:var(--paper);border:1px solid var(--border);padding:30px;margin-bottom:20px;box-shadow:0 12px 30px #344a3c09;color:var(--ink);border-radius:3px}.page-brand{font-size:11px;letter-spacing:.1em}.planner-page h2{font-size:38px;margin:8px 0 20px}.planner-page textarea,.planner-page input{background:transparent;border:1px solid var(--border);color:inherit;border-radius:0;font-size:14px;resize:vertical}.planner-page textarea{min-height:90px}.planner-page label{font-size:12px}.weekgrid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.calendar textarea{min-height:70px;padding:4px;font-size:12px;width:100%;resize:none}.dayname{font-size:10px;text-align:center}.schedule-row{display:grid;grid-template-columns:80px 1fr;align-items:center;gap:8px;border-bottom:1px solid var(--border);min-height:32px}.schedule-row span{font-size:12px}.schedule-row input{border:0!important;padding:5px}.artcover{min-height:280px;background:linear-gradient(140deg,#b5bf9c80,#e8c5d580),url('cover-art.webp') center/cover;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:25px;text-align:center;color:#273b32;border-radius:80px 80px 5px 5px;margin-bottom:25px}.artcover span{font:17px Georgia}.artcover strong{font:32px/1.05 'Libre Caslon Display',Georgia;margin:28px 0}.artcover small{font-size:12px}.story-layout{display:grid;grid-template-columns:280px minmax(300px,720px);gap:30px;justify-content:center}.story-canvas{aspect-ratio:3/4;position:relative;overflow:hidden;background:var(--paper);color:var(--ink);border:1px solid var(--border);padding:35px;background-image:linear-gradient(var(--paper),var(--paper));box-shadow:0 16px 40px #344a3c0a}.story-brand{font-size:11px;letter-spacing:.12em}.story-canvas h2{font-size:38px;margin:20px 0 8px}.story-canvas p{font:16px Georgia}.story-item{position:absolute;padding:12px 20px;background:var(--accent);color:#25352c;font:18px Georgia;max-width:80%;cursor:grab;touch-action:none;box-shadow:2px 5px 12px #0002;user-select:none}.story-item.selected{outline:3px dashed #b88653}.story-item img{width:100%;display:block;pointer-events:none}.story-item.photo{width:180px;background:white;padding:8px 8px 24px}.stickers{display:flex;flex-wrap:wrap;gap:8px}.stickers button{background:#f0e5e7;border:1px solid #d8afbd;border-radius:20px;padding:8px 12px;font-size:14px;color:#344a3c}#storycaption{position:absolute;bottom:30px;left:35px;right:35px;white-space:pre-wrap;font-size:16px;max-height:25%;overflow:hidden}.collection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.collection{background:#fffdf9;border:1px solid var(--border);padding:30px;border-radius:10px}.collection .tag{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:#8b6c7b}.collection h2{margin:15px 0}.collection p{font-size:15px}.brandnote{max-width:700px;margin:55px auto;text-align:center}.brandnote h2{font-size:36px}footer{display:flex;justify-content:space-between;margin:45px 4vw 0;padding:25px 0;border-top:1px solid var(--border);font-size:12px}#status{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#344a3c;color:white;padding:10px 20px;border-radius:8px;display:none;z-index:10;max-width:90%}.lined textarea{background-image:repeating-linear-gradient(transparent,transparent 26px,var(--border) 27px,transparent 28px);line-height:28px}.darkpaper .planner-page,.darkpaper .story-canvas{--paper:var(--dark-paper,#26372e);--ink:#faf6ee;--border:#718072}.darkpaper .planner-page input,.darkpaper .planner-page textarea{color:#faf6ee}.darkpaper .hint,.darkpaper .paper-top{color:#526255}.darkpaper .story-item{color:#25352c}.darkpaper #storycaption{color:#faf6ee}@media(max-width:1150px){.edition{display:none}.studio{grid-template-columns:220px 1fr}.companion{grid-column:1/-1;display:grid;grid-template-columns:210px 1fr;gap:10px 25px}.companion .artcover{grid-row:1/9;margin:0}.companion hr{display:none}}@media(max-width:720px){header{flex-wrap:wrap;gap:15px}.brand{font-size:23px}nav{margin:0;width:100%;justify-content:center}.nav{flex:1;padding:9px;font-size:14px}main{padding:0 5vw}h1{font-size:38px}.intro{margin:28px 0 22px;align-items:flex-start;flex-direction:column}.studio,.story-layout{display:block}.choices{margin-bottom:22px}.moods{grid-template-columns:1fr 1fr}.mood:last-child{grid-column:1/-1}.companion{display:block}.companion .artcover{margin-bottom:20px}.planner-page{padding:20px}.paper-top span:last-child{display:none}.collection-grid{grid-template-columns:1fr}.story-layout .panel{margin-bottom:20px}.story-canvas{padding:24px}.story-canvas h2{font-size:30px}.calendar textarea{min-height:55px;font-size:10px}.calendar{gap:2px}.weekgrid{gap:10px}.planner-page h2{font-size:32px}footer{gap:15px}}@media print{body{background:white}header,footer,.intro,.choices,.companion,.paper-top,.hint,#status,#scrapbook,#collections{display:none!important}main{padding:0}.studio{display:block}.tab#planner{display:block}.planner-page{box-shadow:none;break-after:page;border:0;padding:20px}.planner-page input,.planner-page textarea{resize:none}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* Mood-coordinated scrapbook keepsakes */
.story-canvas{background-image:linear-gradient(var(--story-wash),var(--story-wash)),url('cover-art.webp');background-position:center;background-size:cover}
.story-item:not(.photo){max-width:72%;font-size:clamp(16px,2.4vw,23px);line-height:1.35;overflow-wrap:anywhere;white-space:pre-wrap;color:var(--sticker-ink);background:var(--sticker-fill)}
.story-item.keepsake{border-radius:18px 4px 18px 4px;padding:13px 20px;border:1px solid var(--sticker-edge);box-shadow:0 3px 8px #0002;outline-offset:4px}
.story-item.paper{border-radius:3px;padding:18px 22px;border:1px solid var(--sticker-edge);font-style:italic;background-image:linear-gradient(120deg,#ffffff22,#ffffff00);box-shadow:2px 4px 0 #0001}
.story-item.hand{font-family:'Caveat',cursive;font-size:clamp(25px,4vw,36px);font-weight:600;padding:8px 12px;background:transparent!important;color:var(--hand-ink);box-shadow:none}
.stickers button{background:var(--accent);border-color:#9b827d;color:#25352c}

.story-item{transform-origin:top left}#itemcontrols{border:1px solid var(--border);border-radius:8px;margin:18px 0;padding:16px;min-width:0}#itemcontrols legend{font-weight:700;padding:0 6px}#itemcontrols label{display:flex;justify-content:space-between;gap:12px}#itemcontrols input[type=range]{width:100%;min-height:44px;padding:0;accent-color:#344a3c}#itemcontrols:disabled{opacity:.55}.item-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.item-actions button{padding:10px 12px;font-size:14px}#itemcontrols output{font-variant-numeric:tabular-nums}

.draft-actions{display:grid;gap:10px}.draft-actions .filebutton{text-align:center;margin:0}#storydraftstatus:empty{display:none}

.story-item.art{width:180px;padding:0;border:0;background:transparent;box-shadow:none}.story-item.art img{width:100%;height:auto}.art-stickers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.art-choice{text-align:center;min-width:0}.art-add{width:100%;display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px 4px;border:1px solid var(--border);border-radius:8px;background:#f3eee8;color:var(--ink);font-size:14px;line-height:1.3;min-height:140px}.art-add img{width:100%;height:80px;object-fit:contain;pointer-events:none}.art-choice a{display:block;font-size:14px;color:var(--ink);padding:8px 0}.story-item.art.selected{outline-offset:5px}.story-item.art:focus-visible{outline:3px dashed #b88653}

.layout-choice[hidden]{display:none}.month-with-notes{display:grid;grid-template-columns:minmax(0,3fr) minmax(145px,1fr);gap:16px;align-items:start}.month-notes textarea{min-height:140px}.layout-monthly.spacious .calendar textarea{min-height:105px}.weekgrid.stacked{grid-template-columns:1fr}.daily-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}.planner-page label{font-size:14px}.calendar textarea{font-size:14px}.dayname{font-size:14px}.page-brand{font-size:12px}.month-notes label:first-child{margin-top:0}@media(max-width:950px){.month-with-notes{grid-template-columns:1fr}.month-notes{display:grid;grid-template-columns:1fr}.daily-columns{grid-template-columns:1fr}}@media(max-width:480px){.weekgrid.columns{grid-template-columns:1fr}.calendar textarea{padding:2px;min-height:70px}.layout-monthly.spacious .calendar textarea{min-height:90px}.dayname{font-size:12px}}

.cover-sheet{aspect-ratio:17/22;width:100%;display:flex;flex-direction:column;align-items:center;text-align:center;position:relative;overflow:hidden;padding:7% 9%;border:1px solid var(--cover-accent);border-radius:70px 70px 4px 4px;background:radial-gradient(ellipse at top,var(--cover-wash),transparent 65%),var(--cover-bg);color:var(--cover-ink);box-shadow:0 12px 30px #344a3c09}.cover-brand{font-size:14px;letter-spacing:.1em}.cover-illustration{width:58%;height:28%;object-fit:contain;margin:5% 0 3%}.cover-art-space{height:35%;width:100%}.cover-sheet h2{font:clamp(28px,3.5vw,var(--cover-title-max))/1.1 'Libre Caslon Display',Georgia,serif;margin:0 0 6%;overflow-wrap:anywhere;white-space:pre-wrap}.cover-name{font-size:18px;margin:0 0 6%;overflow-wrap:anywhere;white-space:pre-wrap}.cover-quote{font:italic 20px/1.4 Georgia,serif;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.cover-footer{margin-top:auto;padding-top:6%;font-size:14px}.mini-cover{margin-bottom:16px}.mini-cover .cover-sheet{border-radius:45px 45px 3px 3px;padding:20px 18px;min-height:340px;aspect-ratio:auto}.mini-cover .cover-brand{font-size:12px;letter-spacing:.05em}.mini-cover .cover-illustration{height:105px;width:65%;margin:15px 0}.mini-cover .cover-art-space{height:80px;flex-shrink:0}.mini-cover .cover-sheet h2{font-size:30px}.mini-cover .cover-name,.mini-cover .cover-quote,.mini-cover .cover-footer{font-size:14px}.mini-cover .cover-footer{padding-top:20px}#coverpreview{max-width:650px;margin:0 auto 24px}#coverpreview[hidden],#pages[hidden],#printcover{display:none}#coverpreviewbutton{width:100%;margin-bottom:22px}.companion:has(.mini-cover){display:block}#covertitle,#covername,#coverquote{font-size:16px}@media(max-width:480px){.cover-sheet{min-height:520px;aspect-ratio:auto;padding:28px 25px}.cover-sheet h2{font-size:36px}.cover-illustration{height:160px;flex-shrink:0}.cover-name{font-size:16px}.cover-quote{font-size:18px}.cover-art-space{height:130px;flex-shrink:0}}@media print{#coverpreview{display:none!important}#pages[hidden]{display:block!important}#printcover{display:block;break-after:page}#printcover.omit-cover{display:none}#printcover .cover-sheet{height:9.3in;aspect-ratio:auto;border-radius:0;box-shadow:none;padding:40px}#printcover .cover-sheet h2{font-size:48px}#printcover .cover-illustration{height:30%;margin:30px 0}#printcover .cover-name{font-size:20px}#printcover .cover-quote{font-size:22px}}

#coverworldchoice[hidden],#coverartchoice[hidden]{display:none}.cover-personal{width:100%;position:relative;z-index:1}.cover-brand,.cover-footer{position:relative;z-index:1}.cover-botanical{background-image:linear-gradient(var(--botanical-wash),var(--botanical-wash)),var(--cover-picture);background-size:cover;background-position:center;border-radius:4px}.cover-botanical .cover-personal{margin:auto 0;padding:20px 8px;background:var(--cover-surface);border-radius:6px}.cover-botanical .cover-brand,.cover-botanical .cover-footer{background:var(--cover-surface);padding:8px 10px;border-radius:5px}.cover-story{background-image:var(--cover-picture);background-size:cover;background-position:center;border-radius:4px;padding:7% 8%}.cover-story .cover-brand,.cover-story .cover-footer{padding:8px 12px;border-radius:5px;background:var(--cover-surface)}.cover-story .cover-personal{margin-top:8%;padding:24px 20px;border:1px solid var(--cover-accent);background:var(--cover-surface);border-radius:30px 30px 4px 4px;box-shadow:0 4px 20px #0002}.cover-story .cover-footer{margin-top:auto}.mini-cover .cover-botanical,.mini-cover .cover-story{min-height:390px;aspect-ratio:17/22;border-radius:4px}.mini-cover .cover-story .cover-personal{padding:14px 8px;margin-top:15px;border-radius:18px 18px 3px 3px}.mini-cover .cover-botanical .cover-personal{padding:14px 4px}.mini-cover .cover-botanical .cover-brand,.mini-cover .cover-story .cover-brand{padding:5px}.mini-cover .cover-botanical .cover-footer,.mini-cover .cover-story .cover-footer{padding:6px 4px;font-size:12px}@media(max-width:480px){.cover-botanical,.cover-story{min-height:580px}.cover-story .cover-personal{padding:20px 14px;margin-top:30px}.mini-cover .cover-story,.mini-cover .cover-botanical{min-height:390px;aspect-ratio:auto}}@media print{#printcover .cover-botanical .cover-personal{padding:25px 16px}#printcover .cover-story .cover-personal{margin-top:35px;padding:30px}#printcover .cover-story .cover-footer,#printcover .cover-botanical .cover-footer{padding:10px}}

/* Story-world lettering sits within the scene's quiet upper area. */
.cover-story{color:#fff5df;isolation:isolate}.cover-story::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(to bottom,#10152145 0%,#10152130 38%,transparent 65%,#10152155 100%)}.cover-story.cover-night::before{background:linear-gradient(to bottom,#10152170 0%,#10152145 38%,transparent 65%,#10152170 100%)}.cover-story .cover-brand,.cover-story .cover-footer{background:transparent;border-radius:0;padding:0;text-shadow:0 1px 5px #101521,0 0 14px #10152190}.cover-story .cover-personal{width:80%;margin:9% auto 0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;text-shadow:0 2px 8px #101521c0,0 0 22px #10152170}.cover-story .cover-personal h2{max-width:14ch;margin:0 auto 22px;font-size:clamp(32px,4.2vw,var(--cover-title-max));line-height:1.12;text-wrap:balance}.cover-story .cover-name{margin:0 auto 18px;font-size:17px;letter-spacing:.025em}.cover-story .cover-quote{max-width:27ch;margin:0 auto;font-size:19px;line-height:1.5;font-weight:400;text-wrap:balance}.cover-story .cover-footer{max-width:30ch;margin-left:auto;margin-right:auto;line-height:1.5;letter-spacing:.025em}.mini-cover .cover-story .cover-personal{width:94%;margin:24px auto 0;padding:0;border:0;border-radius:0}.mini-cover .cover-story .cover-personal h2{font-size:27px;margin-bottom:15px}.mini-cover .cover-story .cover-name{font-size:14px;margin-bottom:12px}.mini-cover .cover-story .cover-quote{font-size:14px;line-height:1.5}.mini-cover .cover-story .cover-brand,.mini-cover .cover-story .cover-footer{padding:0;background:transparent}.mini-cover .cover-story .cover-footer{padding-top:18px}@media(max-width:480px){.cover-story .cover-personal{width:90%;margin-top:36px;padding:0}.cover-story .cover-personal h2{font-size:34px;margin-bottom:22px}.cover-story .cover-quote{font-size:17px}.mini-cover .cover-story .cover-personal h2{font-size:27px}.mini-cover .cover-story .cover-quote{font-size:14px}}@media print{#printcover .cover-story .cover-personal{width:80%;margin:45px auto 0;padding:0;background:transparent;border:0;box-shadow:none}#printcover .cover-story .cover-personal h2{font-size:46px;margin-bottom:24px}#printcover .cover-story .cover-quote{font-size:20px}#printcover .cover-story .cover-footer{padding:0;background:transparent}}

.cover-story .cover-personal h2{font-family:'Cormorant Garamond','Palatino Linotype','Book Antiqua',Georgia,serif;font-style:italic;font-weight:600;letter-spacing:.015em;line-height:1.12;font-size:clamp(34px,4.6vw,var(--cover-title-max));max-width:13ch}.mini-cover .cover-story .cover-personal h2{font-family:'Cormorant Garamond','Palatino Linotype','Book Antiqua',Georgia,serif;font-size:32px;font-style:italic;font-weight:600;letter-spacing:.015em;line-height:1.12}.cover-story .cover-brand{font-family:'Cormorant Garamond',Georgia,serif;font-weight:500;letter-spacing:.14em}@media(max-width:480px){.cover-story .cover-personal h2{font-size:36px}.mini-cover .cover-story .cover-personal h2{font-size:32px}}@media print{#printcover .cover-story .cover-personal h2{font-family:'Cormorant Garamond','Palatino Linotype','Book Antiqua',Georgia,serif;font-weight:600;font-style:italic;font-size:48px;line-height:1.12}}

.cover-botanical{isolation:isolate}.cover-botanical.cover-night::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(ellipse at center,var(--cover-bg) 0%,transparent 72%);opacity:.45}.cover-botanical .cover-personal{width:80%;margin:auto;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}.cover-botanical .cover-brand,.cover-botanical .cover-footer{background:transparent;padding:0;border-radius:0}.cover-botanical .cover-brand{font-family:'Cormorant Garamond',Georgia,serif;font-weight:500;letter-spacing:.14em}.cover-botanical .cover-personal h2{font-family:'Cormorant Garamond','Palatino Linotype','Book Antiqua',Georgia,serif;font-weight:600;font-style:italic;font-size:clamp(34px,4.6vw,var(--cover-title-max));line-height:1.15;letter-spacing:.015em;max-width:14ch;margin:0 auto 24px;text-wrap:balance}.cover-botanical .cover-name{max-width:30ch;margin:0 auto 20px}.cover-botanical .cover-quote{font-family:'Cormorant Garamond','Palatino Linotype',Georgia,serif;font-style:italic;font-weight:500;font-size:23px;line-height:1.45;max-width:27ch;margin:0 auto;text-wrap:balance}.cover-botanical.cover-night .cover-personal,.cover-botanical.cover-night .cover-brand,.cover-botanical.cover-night .cover-footer{text-shadow:0 1px 6px #10152190}.cover-botanical .cover-footer{max-width:30ch;margin-left:auto;margin-right:auto;line-height:1.5}.mini-cover .cover-botanical .cover-personal{width:94%;padding:0;background:transparent}.mini-cover .cover-botanical .cover-personal h2{font-size:32px;margin-bottom:18px}.mini-cover .cover-botanical .cover-name{font-size:14px;margin-bottom:14px}.mini-cover .cover-botanical .cover-quote{font-size:18px;line-height:1.4}.mini-cover .cover-botanical .cover-brand,.mini-cover .cover-botanical .cover-footer{padding:0;background:transparent}.mini-cover .cover-botanical .cover-footer{padding-top:18px}@media(max-width:480px){.cover-botanical .cover-personal{width:90%}.cover-botanical .cover-personal h2{font-size:36px}.cover-botanical .cover-quote{font-size:21px}.mini-cover .cover-botanical .cover-personal h2{font-size:32px}.mini-cover .cover-botanical .cover-quote{font-size:18px}}@media print{#printcover .cover-botanical .cover-personal{width:80%;padding:0;background:transparent;border:0;box-shadow:none}#printcover .cover-botanical .cover-personal h2{font-family:'Cormorant Garamond',Georgia,serif;font-weight:600;font-style:italic;font-size:48px;line-height:1.15}#printcover .cover-botanical .cover-quote{font-size:24px;font-weight:500}#printcover .cover-botanical .cover-footer{padding:0;background:transparent}}

/* Mood colors reach the paper and floral artwork; dark covers use dark source art. */
.cover-botanical{background:var(--botanical-paper)}
.cover-botanical::before,.cover-botanical.cover-night::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:var(--cover-picture) center/cover no-repeat;filter:var(--botanical-filter);opacity:1}
.cover-botanical::after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(ellipse at center,var(--botanical-paper) 0%,var(--botanical-paper) 24%,transparent 72%)}

/* Story scenes retain their original artwork colors in both day and evening. */
.cover-story{background:var(--cover-bg);border:2px solid var(--cover-accent)}
.cover-story::before,.cover-story.cover-night::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:var(--cover-picture) center/cover no-repeat;filter:none;opacity:1}
.cover-story::after,.cover-story.cover-night::after{content:none;background:none}
.cover-story:not(.cover-night){color:#293b32}
.cover-story:not(.cover-night) .cover-personal,.cover-story:not(.cover-night) .cover-brand,.cover-story:not(.cover-night) .cover-footer{text-shadow:0 1px 3px #fff9ec90}

/* Rounded chapter tabs share the selected palette, with contrast-safe ink. */
.planner-tab-strip{margin:0 0 18px}.tab-color-label{font-size:11px;letter-spacing:.04em;margin:0 0 10px;color:#526255}.planner-tabs{display:flex;flex-wrap:wrap;gap:6px;align-items:flex-end;margin:0;padding:0 0 0 4px;border-bottom:2px solid var(--tab-accent);width:100%}.planner-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:11px 15px;background:var(--tab-paper);color:var(--tab-ink);border:1px solid var(--tab-accent);border-bottom:0;border-radius:18px 18px 0 0;font-size:13px;font-weight:600;line-height:1.2;transition:transform .15s ease,box-shadow .15s ease}.planner-tabs button svg{width:19px;height:19px;flex-shrink:0}.planner-tabs button.selected{background:var(--tab-accent);color:var(--tab-active-ink);box-shadow:inset 0 3px 0 #ffffff35}.planner-tabs button:hover{transform:translateY(-2px)}.planner-tabs button:focus-visible{outline:3px solid var(--tab-ink);outline-offset:3px}
@media(max-width:480px){.planner-tabs{gap:4px;padding-left:0}.planner-tabs button{flex:1 1 28%;padding:10px 8px;gap:5px;font-size:12px}.planner-tabs button svg{width:17px;height:17px}}
@media(prefers-reduced-motion:reduce){.planner-tabs button{transition:none}.planner-tabs button:hover{transform:none}}
@media print{.planner-tab-strip{display:none!important}}

/* A small caption backing keeps the tagline legible over detailed artwork. */
.cover-sheet .cover-footer,.cover-sheet.cover-story .cover-footer,.cover-sheet.cover-story:not(.cover-night) .cover-footer,.cover-sheet.cover-botanical .cover-footer{display:block;flex-shrink:0;max-width:34ch;margin: auto auto 0;padding:9px 15px;background:var(--cover-bg);color:var(--cover-ink);border:1px solid var(--cover-accent);border-radius:14px;font-family:'DM Sans',sans-serif;font-size:15px;font-weight:600;line-height:1.5;letter-spacing:.015em;text-shadow:none;box-shadow:0 2px 8px #10152118}
.mini-cover .cover-sheet .cover-footer,.mini-cover .cover-sheet.cover-story .cover-footer,.mini-cover .cover-sheet.cover-botanical .cover-footer{padding:8px 12px;font-size:13px;line-height:1.5;background:var(--cover-bg);color:var(--cover-ink);border-radius:12px}
@media print{#printcover .cover-sheet .cover-footer{padding:9px 15px;background:var(--cover-bg);color:var(--cover-ink);font-size:15px;font-weight:600;border:1px solid var(--cover-accent);border-radius:14px;text-shadow:none;box-shadow:none;print-color-adjust:exact;-webkit-print-color-adjust:exact}}

.tab-name-options{margin-top:18px;border-top:1px solid var(--border);padding-top:14px}.tab-name-options summary{cursor:pointer;font-size:14px;font-weight:600;color:var(--ink)}.tab-name-options summary:focus-visible{outline:3px solid #b88653;outline-offset:4px}.tab-name-options .hint{margin:12px 0}.tab-name-options .outline{margin-top:16px;width:100%;font-size:12px}.planner-tabs button span{max-width:20ch;overflow-wrap:anywhere;text-wrap:balance}

/* Notes share the planner paper and mood, with a paper choice for each page. */
.notes-toolbar{padding:20px 0 8px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}.notes-toolbar h2{margin-bottom:8px;font-size:28px}.notes-toolbar .hint{margin:0;max-width:45ch}.notes-actions{display:flex;flex-wrap:wrap;gap:8px}.notes-count{flex-basis:100%;font-size:11px}.note-page{--note-guide:#cbd3c7;border-top:3px solid var(--accent)}.darkpaper .note-page{--note-guide:#687468}.note-page .note-title{font-family:'Cormorant Garamond',Georgia,serif;font-size:32px;font-weight:600;line-height:1.2;border:0;border-bottom:1px solid var(--border);padding:8px 0;margin-bottom:14px;color:inherit}.note-options{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:20px}.note-options label{margin:0;flex:1;max-width:240px}.note-options select{background:var(--paper);color:var(--ink);border-color:var(--border);margin-top:6px}.note-page .remove-note{color:var(--ink);border-color:var(--border);font-size:12px;padding:10px 12px}.note-page .note-body{display:block;width:100%;min-height:540px;resize:vertical;line-height:30px;padding:10px 12px;background-color:transparent;background-image:none;color:inherit;border-color:var(--border)}.note-lined .note-body,.note-lined .notes-print-body{background-image:repeating-linear-gradient(transparent 0,transparent 29px,var(--note-guide) 29px,var(--note-guide) 30px)}.note-dotted .note-body,.note-dotted .notes-print-body{background-image:radial-gradient(var(--note-guide) 1px,transparent 1px);background-size:30px 30px;background-position:12px 10px}.planner-page.note-blank .note-body{background-image:none}.note-body::placeholder{color:inherit;opacity:.65}.note-page-number{display:block;margin-top:14px;text-align:right;font-size:11px}.notes-print-title,.notes-print-body{display:none}.notes-actions button:disabled,.remove-note:disabled{opacity:.5;cursor:default}
@media(max-width:480px){.note-options{gap:10px}.note-page .note-title{font-size:28px}.notes-actions{width:100%}.notes-actions button{flex:1}.note-page .note-body{min-height:430px}}
@media print{.notes-toolbar,.note-options,.note-page .note-title,.note-page>label,.note-page .note-body{display:none!important}.notes-print-title,.notes-print-body{display:block}.note-page{break-inside:auto;break-after:page;print-color-adjust:exact;-webkit-print-color-adjust:exact}.notes-print-title{break-after:avoid}.notes-print-body{white-space:pre-wrap;overflow-wrap:anywhere;min-height:7in;line-height:30px;padding:10px 12px}.note-page-number{break-before:avoid}}

/* Budget pages keep the paper, ink and accent of the writing mood. */
.budget-page{border-top:3px solid var(--accent)}.budget-toolbar>label{width:100%}.budget-toolbar select{max-width:360px}.budget-settings{display:grid;grid-template-columns:2fr 1fr;gap:16px}.budget-page select{color:var(--ink);background:var(--paper);border-color:var(--border)}.budget-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}.budget-total{border:1px solid var(--border);border-top:3px solid var(--accent);border-radius:14px;padding:14px}.budget-total h3{margin:0 0 10px;font-size:18px}.budget-total span{display:flex;justify-content:space-between;gap:8px;font-size:12px;margin:6px 0;flex-wrap:wrap}.budget-group{margin:26px 0}.budget-group-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.budget-group-head h3{font-family:'Cormorant Garamond',Georgia,serif;font-size:26px}.budget-page .outline{color:var(--ink);border-color:var(--border);font-size:12px;padding:9px 12px}.budget-row{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:10px;align-items:end;border-bottom:1px solid var(--border);padding:14px 0}.budget-cell{font-size:11px;margin:0!important;min-width:0}.budget-cell input{margin:6px 0 0!important;width:100%;min-width:0}.budget-cell input[aria-invalid=true]{outline:2px solid #b45c52}.budget-goal{grid-template-columns:repeat(2,minmax(0,1fr))}.budget-goal .budget-name{grid-column:1/-1}.budget-progress{font-size:12px;margin:0;align-self:center}.budget-print-value,.budget-print-heading,.budget-print-reflection{display:none}.budget-page textarea{background-image:none!important}.budget-toolbar button:disabled,.budget-group-head button:disabled{opacity:.5;cursor:default}
@media(max-width:600px){.budget-settings{grid-template-columns:1fr}.budget-row{grid-template-columns:1fr 1fr}.budget-row .budget-name{grid-column:1/-1}.budget-remove{justify-self:start}.budget-summary{gap:8px}.budget-total{padding:10px}.budget-total span{display:block}.budget-total strong{display:block;margin-top:4px}}
@media print{.budget-toolbar,.budget-settings,.budget-page input,.budget-page textarea,.budget-page select,.budget-page button{display:none!important}.budget-print-value,.budget-print-heading,.budget-print-reflection{display:block;white-space:pre-wrap;overflow-wrap:anywhere}.budget-print-value{font-size:14px;min-height:24px;margin-top:6px}.budget-page{break-inside:auto;print-color-adjust:exact;-webkit-print-color-adjust:exact}.budget-row,.budget-summary{break-inside:avoid}.budget-group-head{break-after:avoid}.budget-print-reflection{min-height:80px}.budget-row{grid-template-columns:2fr 1fr 1fr}.budget-goal{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Everyday home pages inherit the writing mood and light/dark paper. */
.home-page{border-top:3px solid var(--accent)}.home-settings{display:grid;grid-template-columns:1fr 1fr;gap:16px}.home-page select{color:var(--ink);background:var(--paper);border-color:var(--border)}.home-meals{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:24px}.home-meal-day{border:1px solid var(--border);border-radius:14px;padding:16px}.home-meal-day h3{font-family:'Cormorant Garamond',Georgia,serif;font-size:24px;margin-bottom:10px}.home-meal-day label{font-size:12px;margin-top:12px}.home-page textarea{background-image:none!important}.home-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0}.home-heading h2{margin:0}.home-page .outline{color:var(--ink);border-color:var(--border);padding:9px 12px;font-size:12px}.home-list-row{display:grid;grid-template-columns:26px minmax(0,2fr) minmax(0,1fr) auto;gap:12px;align-items:end;border-bottom:1px solid var(--border);padding:14px 0}.home-list-row label{margin:0;font-size:12px;min-width:0}.home-list-row input,.home-list-row select{margin-top:6px;min-width:0}.home-list-row .home-check{align-self:center}.home-check input{width:20px;height:20px;accent-color:var(--ink)}.home-list-row.is-done [data-home-key=name]{text-decoration:line-through}.home-count{font-size:12px}.home-print-value,.home-print-check{display:none}.home-undo{margin-top:14px}.home-heading button:disabled{opacity:.5;cursor:default}
@media(max-width:600px){.home-settings,.home-meals{grid-template-columns:1fr}.home-list-row{grid-template-columns:26px minmax(0,1fr)}.home-list-row label:not(.home-check),.home-list-row .home-remove{grid-column:2}.home-list-row .home-check{grid-row:1/3}.home-remove{justify-self:start}.home-heading{flex-wrap:wrap}}
@media print{.home-page{break-inside:auto;break-after:page;print-color-adjust:exact;-webkit-print-color-adjust:exact}.home-page input,.home-page textarea,.home-page select,.home-page button,.home-meal-choice{display:none!important}.home-print-value,.home-print-check{display:block;white-space:pre-wrap;overflow-wrap:anywhere;min-height:24px}.home-print-value{font-size:14px;margin-top:6px}.home-list-row{grid-template-columns:26px 2fr 1fr;break-inside:avoid}.home-meal-day{break-inside:avoid}.home-heading{break-after:avoid}.home-list-row.is-done [data-home-key=name]+.home-print-value{text-decoration:line-through}.home-page label[for=homenotes]{break-after:avoid}}
.connection-options{grid-column:1/-1;padding:12px;border:1px solid var(--border);border-radius:10px;margin-top:8px;font-size:12px}.connection-options summary{cursor:pointer;font-weight:600}.connection-options label{font-size:12px}.connection-options select{color:var(--ink);background:var(--paper)}.connection-options fieldset{border:1px solid var(--border);border-radius:8px;margin-top:12px}.connection-options fieldset .switch{display:inline-flex!important;margin:8px 12px 8px 0!important}.connection-options .hint{font-size:11px;margin-bottom:0}.planner-period{padding:12px;border-left:3px solid var(--accent);background:var(--paper)}.connected-reminders{margin-top:26px;border-top:2px solid var(--accent);padding-top:20px}.connected-reminders ul{list-style:none;padding:0;margin:0}.connected-reminders li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--border);break-inside:avoid}.connected-reminders li div{min-width:0;overflow-wrap:anywhere}.connected-reminders time{display:block;font-size:11px;font-weight:600;margin-bottom:3px}.connected-reminders span{font-size:13px}.connected-reminders button{font-size:11px;padding:8px;flex-shrink:0;color:var(--ink);border-color:var(--border)}.dated-calendar .calendar-date{min-width:0;border:1px solid var(--border);padding:4px}.calendar-date>span{font-size:11px;display:block}.calendar-date textarea{border:0!important;min-height:74px;width:100%;padding:3px!important;font-size:11px!important}.outside-month{opacity:.4}.dated-calendar{gap:0!important}.home-meal-day .connection-options{margin-top:14px}
@media(max-width:480px){.calendar-date textarea{min-height:60px;font-size:10px!important}.connected-reminders li{align-items:start}}
@media print{.connection-options,.connected-reminders button{display:none!important}.connected-reminders h3{break-after:avoid}.planner-period{break-after:avoid}.dated-calendar .calendar-date{break-inside:avoid}}
.meal-link-week{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin-top:18px}.meal-link-week label{flex:1;min-width:180px;margin:0}.meal-link-week button{margin-bottom:1px}@media print{.meal-link-week{display:none!important}}

.wellbeing-page{border-top:3px solid var(--accent)}.wellbeing-page select{background:var(--paper);color:var(--ink);border-color:var(--border)}.care-checkin{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.care-checkin textarea{background-image:none!important;resize:vertical}.care-steps{margin-bottom:18px}.care-step{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:12px;padding:16px 0;border-bottom:1px solid var(--border);align-items:end}.care-step>label{margin:0;min-width:0}.care-step .care-done{align-self:center}.care-step input[type=checkbox]{width:20px;height:20px;accent-color:var(--ink)}.care-step.is-done [data-care-name]{text-decoration:line-through}.wellbeing-page .outline{color:var(--ink);border-color:var(--border);font-size:12px;padding:9px 12px}.care-print-value,.care-print-check,.care-print-date{display:none}.wellbeing-page .home-heading h3{font-family:'Cormorant Garamond',Georgia,serif;font-size:26px;margin:0}.wellbeing-page button:disabled{opacity:.5;cursor:default}
@media(max-width:600px){.care-checkin{grid-template-columns:1fr}.care-step{grid-template-columns:24px minmax(0,1fr)}.care-remove{grid-column:2;justify-self:start}}
@media print{.wellbeing-page{break-inside:auto;print-color-adjust:exact;-webkit-print-color-adjust:exact}.wellbeing-page input,.wellbeing-page textarea,.wellbeing-page select,.wellbeing-page button,.wellbeing-page label[for=caredate],.wellbeing-page label[for=carehistory]{display:none!important}.care-print-value,.care-print-check,.care-print-date{display:block;white-space:pre-wrap;overflow-wrap:anywhere;min-height:24px}.care-print-value{margin-top:8px}.care-checkin{display:block}.care-checkin>label{break-inside:auto;margin-bottom:20px}.care-step{grid-template-columns:24px 1fr;break-inside:avoid}.care-step.is-done .care-print-value{text-decoration:line-through}.care-print-date{font-weight:600}}

.books-toolbar>label{flex-basis:100%;max-width:360px}.book-shelf{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:14px;margin:18px 0 28px}.book-card{border:1px solid var(--book-accent);border-radius:12px;padding:10px;background:var(--paper);color:var(--ink);text-align:left;min-width:0}.book-card.selected{outline:2px solid var(--book-accent);outline-offset:3px}.book-cover{min-height:160px;border-radius:4px 12px 12px 4px;background:var(--book-paper);color:#26362e;border-left:7px solid var(--book-accent);padding:18px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;text-align:center;box-shadow:inset 2px 0 0 #fff8}.book-cover svg{width:28px;height:28px}.book-cover strong{font-family:'Cormorant Garamond',Georgia,serif;font-size:23px;line-height:1.2;overflow-wrap:anywhere}.book-card-author,.book-card-status{display:block;font-size:11px;margin-top:9px;overflow-wrap:anywhere}.book-card-status{font-weight:600}.reading-page{border-top:3px solid var(--accent)}.book-details{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.reading-page select{color:var(--ink);background:var(--paper);border-color:var(--border)}.reading-page textarea{background-image:none!important}.book-progress{padding:14px;border:1px solid var(--border);border-radius:12px;margin:24px 0}.book-progress input{padding:0!important;accent-color:var(--ink)}.book-progress progress{display:block;width:100%;height:10px;accent-color:var(--ink);margin:10px 0}.book-progress .hint{font-size:11px;margin:10px 0 0}.reading-page .outline{color:var(--ink);border-color:var(--border);font-size:12px}.book-print-value{display:none}.books-toolbar button:disabled{opacity:.5;cursor:default}.darkpaper .book-card{background:var(--dark-paper);color:#faf6ee}
@media(max-width:600px){.book-details{grid-template-columns:1fr}.book-shelf{grid-template-columns:1fr 1fr}.book-cover{min-height:145px}}
@media print{.books-toolbar,.book-shelf,.reading-page input,.reading-page select,.reading-page textarea,.reading-page button{display:none!important}.book-print-value{display:block;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:8px;min-height:24px}.reading-page{break-inside:auto;print-color-adjust:exact;-webkit-print-color-adjust:exact}.book-details>label{break-inside:avoid}.book-progress{break-inside:avoid}}

.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.shelf-settings{flex-basis:100%;border:1px solid var(--border);border-radius:12px;padding:14px}.shelf-settings summary,.book-cover-controls summary{cursor:pointer;font-weight:600}.shelf-setting-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.shelf-settings fieldset{border:1px solid var(--border);border-radius:8px}.shelf-settings fieldset .switch{display:inline-flex!important;margin:8px 14px 8px 0!important}.bookshelf-stage{--shelf-edge:#ad7b52;--shelf-top:#c5a078;--shelf-wall:#f0e5d5;border-radius:14px;padding:20px;margin:18px 0 28px}.bookshelf-stage.shelf-painted{--shelf-edge:var(--accent);--shelf-top:var(--bg);--shelf-wall:var(--paper)}.bookshelf-stage.shelf-dark{--shelf-edge:#493e38;--shelf-top:#76604e;--shelf-wall:#252c2b}.view-shelf{background:var(--shelf-wall);border:8px solid var(--shelf-edge);box-shadow:inset 0 0 25px #0002}.bookshelf-stage .book-shelf{margin:0;gap:28px 16px}.view-shelf .book-card{position:relative;background:transparent!important;border:0;box-shadow:none;padding:0 0 24px}.view-shelf .book-card::after{content:'';position:absolute;left:-8px;right:-8px;bottom:0;height:12px;background:linear-gradient(var(--shelf-top) 0 4px,var(--shelf-edge) 4px);box-shadow:0 6px 8px #0003}.view-shelf .book-cover{height:190px;min-height:190px;box-shadow:4px 3px 6px #0003}.view-shelf.shelf-dark .book-card{color:#faf6ee}.view-shelf.shelf-dark .shelf-empty{color:#faf6ee}.view-grid{padding:0}.shelf-decor{display:flex;gap:20px;justify-content:flex-end;align-items:end;border-bottom:12px solid var(--shelf-edge);box-shadow:0 5px 5px #0002;margin-top:24px;padding:0 12px}.shelf-decoration{display:block;width:75px;height:95px;flex:0 1 75px}.shelf-decoration img,.shelf-decoration svg{width:100%;height:100%;object-fit:contain}.book-cover{position:relative;overflow:hidden}.book-cover:has(.uploaded-book-cover){padding:0;border-left-width:4px;min-height:190px}.uploaded-book-cover{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.book-cover-controls{border:1px solid var(--border);padding:14px;border-radius:12px;margin:20px 0}.book-cover-preview{position:relative;overflow:hidden;width:150px;height:210px;margin:18px auto;background:var(--book-paper,#f8e8ed);border:1px solid var(--book-accent,var(--accent));border-radius:4px 10px 10px 4px;display:flex;align-items:center;justify-content:center;text-align:center;color:#26362e;font-family:'Cormorant Garamond',Georgia,serif;padding:14px;font-size:24px}.book-cover-controls .filebutton{color:var(--ink);border-color:var(--border)}.book-crop-controls{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}.book-crop-controls input{padding:0!important;accent-color:var(--ink)}.book-order-controls{display:flex;gap:10px;margin-top:18px}.book-order-controls button:disabled{opacity:.5;cursor:default}.book-print-cover{display:none}
@media(max-width:600px){.bookshelf-stage{padding:12px}.bookshelf-stage .book-shelf{gap:24px 10px}.view-shelf .book-cover{height:170px;min-height:170px}.book-crop-controls,.shelf-setting-grid{grid-template-columns:1fr}.shelf-decoration{height:75px}.shelf-decor{gap:12px}}
@media print{.bookshelf-stage,.shelf-settings,.book-cover-controls{display:none!important}.book-print-cover{display:block;break-inside:avoid}.book-print-cover .book-cover-preview{height:190px;width:135px}.book-print-cover img{display:block!important}}
.book-card-title{display:block;font-family:'Cormorant Garamond',Georgia,serif;font-size:20px;font-weight:600;line-height:1.2;margin-top:10px;overflow-wrap:anywhere}

/* Free placement uses a fixed logical width so positions remain consistent on phones and desktops. */
.bookshelf-stage.view-free{background:var(--shelf-wall);border:8px solid var(--shelf-edge);padding:0}.free-shelf-tools{padding:18px;background:var(--paper);color:var(--ink);border-bottom:3px solid var(--shelf-edge)}.free-shelf-tools label{font-size:12px}.free-shelf-tools select{color:var(--ink);background:var(--paper)}.free-shelf-tools .hint{font-size:11px}.free-item-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px}.free-item-controls input[type=range]{padding:0;accent-color:var(--ink)}.free-control-buttons{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:7px}.free-control-buttons button{padding:8px 10px;font-size:11px;color:var(--ink);border-color:var(--border)}.free-control-buttons button:disabled{opacity:.4;cursor:default}.free-shelf-canvas{position:relative;width:100%;overflow:hidden;isolation:isolate;background:linear-gradient(90deg,#00000009,transparent 15%,transparent 85%,#00000009)}.free-shelf-plank{position:absolute;height:12px;width:100%;left:0;background:linear-gradient(var(--shelf-top) 0 4px,var(--shelf-edge) 4px);box-shadow:0 7px 8px #0003;z-index:0;pointer-events:none}.free-shelf-item{position:absolute;transform-origin:center;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;border-radius:4px;outline:0}.free-shelf-item:active{cursor:grabbing}.free-shelf-item.selected{outline:3px dashed #b88653;outline-offset:5px}.free-shelf-item:focus-visible{outline:3px solid #b88653;outline-offset:5px}.free-book-face{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;background:var(--book-paper);color:#26362e;border-left:6px solid var(--book-accent);box-shadow:4px 3px 6px #0004;border-radius:3px 7px 7px 3px;padding:8px;position:relative;overflow:hidden;gap:7px}.free-book-title{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(9px,1.3vw,21px);font-weight:600;text-align:center;line-height:1.1;overflow-wrap:anywhere;max-height:75%;overflow:hidden}.free-book-author{font-size:clamp(6px,.7vw,10px);text-align:center;max-height:20%;overflow:hidden}.is-stack .free-book-face{flex-direction:row;border-left-width:3px;border-bottom:3px solid var(--book-accent);border-radius:3px;padding:3px 8px;gap:8px}.is-stack .free-book-title{font-size:clamp(8px,1.1vw,16px);max-height:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.is-stack .free-book-author{display:none}.free-decor-art{display:block;width:100%;height:100%;pointer-events:none}.free-decor-art img,.free-decor-art svg{width:100%;height:100%;object-fit:contain;pointer-events:none}.free-book-face .uploaded-book-cover{pointer-events:none}.free-resize-handle{display:none;position:absolute;right:-8px;bottom:-8px;width:18px;height:18px;border-radius:50%;background:#b88653;border:2px solid #fffdf9;cursor:nwse-resize}.free-shelf-item.selected .free-resize-handle{display:block}.free-empty{position:absolute;top:8%;left:12%;right:12%;text-align:center;color:var(--ink)}.shelf-dark .free-empty{color:#faf6ee}.darkpaper .free-shelf-tools{background:var(--dark-paper);color:#faf6ee}.darkpaper .free-shelf-tools .outline{color:#faf6ee;border-color:#7f887a}.darkpaper .free-shelf-tools select{color:#faf6ee;background:var(--dark-paper)}
@media(max-width:600px){.free-shelf-tools{padding:12px}.free-control-buttons button{min-height:38px}.free-book-face{border-left-width:3px;padding:4px;gap:3px}.free-shelf-plank{height:8px}.free-resize-handle{width:22px;height:22px;right:-11px;bottom:-11px}.free-book-title{font-size:11px}.free-book-author{font-size:7px}.is-stack .free-book-title{font-size:9px}}

.projects-toolbar>label{flex-basis:100%;max-width:360px}.project-board{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;margin:18px 0 28px}.project-card{display:flex;flex-direction:column;gap:10px;text-align:left;background:var(--paper);color:var(--ink);border:1px solid var(--border);border-top:4px solid var(--accent);border-radius:14px;padding:18px;min-width:0;overflow-wrap:anywhere}.project-card.selected{outline:2px solid var(--accent);outline-offset:3px}.project-card strong{font-family:'Cormorant Garamond',Georgia,serif;font-size:25px;line-height:1.15}.project-card span{font-size:12px}.project-card-kind{font-size:10px!important;letter-spacing:.06em;text-transform:uppercase}.project-page{border-top:3px solid var(--accent)}.project-basics{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.project-page select{background:var(--paper);color:var(--ink);border-color:var(--border)}.project-page textarea{background-image:none!important}.project-page .outline{color:var(--ink);border-color:var(--border);font-size:12px}.project-page progress{width:100%;height:12px;accent-color:var(--ink)}.project-page .home-heading h3{font-family:'Cormorant Garamond',Georgia,serif;font-size:27px;margin:0}.project-step{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:12px;align-items:end;padding:16px 0;border-bottom:1px solid var(--border)}.project-step>label{margin:0;min-width:0}.project-step .project-step-check{align-self:center}.project-step input[type=checkbox]{width:20px;height:20px;accent-color:var(--ink)}.project-step.is-done [data-project-step]{text-decoration:line-through}.project-reminder{margin:26px 0;padding-top:20px;border-top:2px solid var(--accent)}.project-print-value,.project-print-check{display:none}.projects-toolbar button:disabled,.project-page button:disabled{opacity:.5;cursor:default}.darkpaper .project-card{background:var(--dark-paper);color:#faf6ee}
@media(max-width:600px){.project-basics{grid-template-columns:1fr}.project-step{grid-template-columns:24px minmax(0,1fr)}.project-step>button{grid-column:2;justify-self:start}}
@media print{.projects-toolbar,.project-board,.project-page input,.project-page select,.project-page textarea,.project-page button,.project-reminder{display:none!important}.project-print-value,.project-print-check{display:block;white-space:pre-wrap;overflow-wrap:anywhere;min-height:24px;margin-top:6px}.project-page{break-inside:auto;print-color-adjust:exact;-webkit-print-color-adjust:exact}.project-basics>label,.project-step{break-inside:avoid}.project-step{grid-template-columns:24px 1fr}.project-step.is-done .project-print-value{text-decoration:line-through}}

/* Keep the botanical brand readable against detailed floral artwork. */
.cover-sheet.cover-botanical .cover-brand{display:block;flex-shrink:0;max-width:100%;padding:9px 15px;background:var(--cover-bg);color:var(--cover-ink);border:1px solid var(--cover-accent);border-radius:14px;font-family:'Cormorant Garamond',Georgia,serif;font-size:15px;font-weight:700;line-height:1.5;letter-spacing:.1em;text-shadow:none;box-shadow:0 2px 8px #10152118;overflow-wrap:anywhere}
.mini-cover .cover-sheet.cover-botanical .cover-brand{padding:8px 10px;background:var(--cover-bg);color:var(--cover-ink);font-size:12px;font-weight:700;line-height:1.5;letter-spacing:.07em;border-radius:12px;text-shadow:none}
@media print{#printcover .cover-sheet.cover-botanical .cover-brand{background:var(--cover-bg);color:var(--cover-ink);padding:9px 15px;font-size:15px;font-weight:700;border:1px solid var(--cover-accent);border-radius:14px;text-shadow:none;box-shadow:none;print-color-adjust:exact;-webkit-print-color-adjust:exact}}
/* A quiet place to return, with local saving kept explicit. */
.planner-memory{margin:0 0 30px;display:grid;grid-template-columns:1.4fr 1fr;gap:22px;align-items:start}
.planner-memory h2{margin:0 0 8px;font-size:1.7rem}
.planner-memory p{margin:0 0 10px}
.planner-memory .hint{font-size:.9rem;line-height:1.6}
.planner-memory #localresume{grid-column:1/-1;border-top:1px solid var(--accent);padding-top:18px}
.planner-memory button{margin:6px 8px 6px 0}
.planner-memory .backup-note{border-left:1px solid var(--accent);padding-left:22px}
.planner-memory .switch{font-size:.9rem;line-height:1.5}
#localsavestatus{font-weight:600}
.tab-visibility-options{margin:16px 0;padding:14px;border:1px solid var(--accent);border-radius:12px}
.tab-visibility-options summary{cursor:pointer;font-weight:600}
#tabvisibility .switch{margin:10px 0;font-size:.95rem}
[hidden]{display:none!important}
@media(max-width:760px){.planner-memory{grid-template-columns:1fr}.planner-memory .backup-note{border-left:0;border-top:1px solid var(--accent);padding:18px 0 0}}
@media print{.planner-memory,.tab-visibility-options{display:none!important}}
/* The storefront keeps the brand palette independent of personal planner moods. */
body.store-view{background:#f5f0e6;color:#233d35}
.shop-surface,.product-dialog{--ink:#233d35;--bg:#f5f0e6;--accent:#b48d95;--border:#d7cebd;--soft:#e7ddca;color:#233d35}
.shop-surface .eyebrow{color:#6c4e59}.shop-surface a,.shop-surface button{color:#233d35}.shop-surface .primary,.product-dialog .primary{background:#233d35;color:#f5f0e6}.shop-surface .outline{background:transparent}
.store-hero{display:grid;grid-template-columns:.95fr 1.05fr;gap:6%;align-items:center;padding:60px 0 45px}
.hero-copy h1{font-size:clamp(44px,5.5vw,78px);line-height:1.03;letter-spacing:-.025em;margin:20px 0 28px}.hero-copy h1 em{font-family:'Cormorant Garamond',Georgia,serif;font-weight:500;color:#7c5965}.hero-copy>p{max-width:480px;font-size:18px;line-height:1.75;color:#4b5a50}
.store-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}.hero-footnote{display:block;font:italic 21px 'Cormorant Garamond',Georgia,serif;margin-top:28px;color:#65735d}
.hero-art{margin:0;position:relative;padding:15px 15px 0;background:#e7ddca;border:1px solid #c5b28a;border-radius:16px;overflow:hidden}.hero-art img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;object-position:center;border-radius:8px}.hero-art figcaption{text-align:center;padding:14px;font:italic 20px 'Cormorant Garamond',Georgia,serif}
.store-values{display:flex;justify-content:space-around;gap:16px;border-top:1px solid #cfc6b4;border-bottom:1px solid #cfc6b4;padding:18px 0;font-size:12px;letter-spacing:.055em;color:#59634f;text-align:center}
.store-feature{padding:65px 0}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}.section-heading h2{font-size:40px;margin:10px 0 0}.section-heading p{margin:10px 0 0;color:#59634f}.text-link{border:0;background:none;padding:0;text-decoration:underline;text-underline-offset:5px;font:600 14px 'DM Sans',sans-serif;cursor:pointer;color:#233d35;display:inline-block;line-height:1.6}
.featured-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.product-card{background:#fffdf9;border:1px solid #d7cebd;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;min-width:0}.product-image{border:0;background:#e8e3d8;width:100%;padding:26px;display:flex;align-items:center;justify-content:center;aspect-ratio:1.12;overflow:hidden}.product-image img{height:100%;max-width:100%;object-fit:contain;box-shadow:5px 8px 16px #233d3528;transition:transform .2s}.product-image:hover img{transform:translateY(-4px)}.product-image.landscape{padding:20px}.product-image.landscape img{width:100%;height:auto;max-height:100%}
.product-copy{padding:24px;display:flex;flex-direction:column;align-items:start;flex:1}.product-collection{display:block;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#775462}.product-copy h3{font:31px/1.15 'Libre Caslon Display',Georgia,serif;margin:12px 0}.product-format{font-size:12px;color:#5d6757;margin-bottom:16px}.product-copy>p:not(.product-format){font-size:14px;color:#4b5a50;line-height:1.7}.product-status{display:inline-block;font-size:11px;font-weight:600;border-radius:20px;padding:5px 10px;background:#eee6e9;color:#644550;margin-top:auto;margin-bottom:15px}.product-status.available{background:#e8eee2;color:#344a3c}
.studio-invitation{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:center;background:#e7ddca;border:1px solid #d7cebd;border-radius:16px;padding:50px;margin-bottom:65px}.studio-invitation h2{font-size:44px;margin-top:15px}.studio-invitation p{color:#4b5a50;line-height:1.8}.studio-cover-pair{display:flex;justify-content:center;align-items:center;gap:18px;padding:15px}.studio-cover-pair img{width:46%;box-shadow:6px 12px 22px #233d3525;transform:rotate(-5deg)}.studio-cover-pair img+img{transform:rotate(6deg)}.studio-note{font-size:12px;margin:12px 0 0}
.brand-story{padding:10px 10% 60px;text-align:center;max-width:950px;margin:auto}.brand-story h2{font-size:44px;margin-top:18px}.brand-story p{color:#4b5a50;line-height:1.8}.brand-story .handwritten{font:32px 'Caveat',Georgia,serif;color:#7c5965;margin:25px 0 0}
.shop-filters{display:grid;grid-template-columns:1.5fr 1fr;gap:20px;max-width:850px;margin:25px 0}.shop-filters label{margin:0}.shop-filters input,.shop-filters select{margin-top:8px;background:#fffdf9;min-height:48px}.catalog-note{background:#e7ddca;border-left:3px solid #b48d95;padding:18px 22px;font-size:14px;line-height:1.7;max-width:850px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.growing-collections{padding:65px 0 0;scroll-margin-top:24px}.coming-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.coming-grid article{border:1px solid #d7cebd;border-radius:12px;padding:26px;background:#fffdf9}.coming-label{font-size:10px;letter-spacing:.1em;color:#765264;font-weight:700}.coming-grid h3{font:27px/1.18 'Libre Caslon Display',Georgia,serif;margin:15px 0}.coming-grid p{font-size:14px;color:#4b5a50}.collection-name{font-size:12px;font-style:italic;color:#65735d}.coming-grid .coming-studio{background:#e7ddca}
.shop-faq{max-width:900px;margin:65px auto}.shop-faq h2{font-size:38px}.shop-faq details{padding:18px 0;border-bottom:1px solid #d7cebd}.shop-faq summary{cursor:pointer;font-weight:600}.shop-faq details p{margin:15px 0 0;font-size:14px;color:#4b5a50;line-height:1.8}
.product-dialog{width:min(1100px,94vw);max-height:90dvh;border:1px solid #d7cebd;border-radius:16px;background:#fffdf9;padding:28px}.product-dialog::backdrop{background:#17251edd;backdrop-filter:blur(4px)}.dialog-bar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px}.product-detail-top{display:grid;grid-template-columns:.7fr 1fr;gap:35px;align-items:start}.detail-image{background:#e7ddca;padding:25px;text-align:center;border-radius:8px}.detail-image img{max-width:100%;max-height:500px;object-fit:contain;box-shadow:4px 8px 20px #233d3520}.product-detail-top h2{font-size:42px;margin:12px 0}.product-detail-top p,.product-detail-top li{font-size:14px;line-height:1.75}.product-detail-top h3{margin:25px 0 10px}.launch-note{padding:16px;background:#f2e9ed;border-radius:8px;color:#644550}.product-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:35px}.product-gallery figure{margin:0}.product-gallery img{width:100%;height:320px;object-fit:contain;background:#eee9df}.product-gallery figcaption{padding-top:10px;font-size:12px;color:#5d6757}
@media(max-width:1100px){header{gap:12px;flex-wrap:wrap}.edition{display:none}header nav{flex-wrap:wrap}.nav{padding:8px 12px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-invitation{padding:32px;gap:25px}.coming-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.store-hero{grid-template-columns:1fr;padding-top:35px;gap:30px}.hero-copy h1{font-size:54px}.hero-art{max-width:550px}.hero-art img{aspect-ratio:auto;height:auto}.store-values{flex-direction:column;gap:8px}.featured-products,.product-grid,.coming-grid{grid-template-columns:1fr}.product-image{aspect-ratio:1.3}.section-heading{align-items:start;flex-direction:column}.section-heading h2{font-size:35px}.studio-invitation{grid-template-columns:1fr;padding:28px}.studio-invitation h2,.brand-story h2{font-size:36px}.studio-cover-pair{max-width:430px;margin:auto}.brand-story{padding:0 0 45px}.shop-filters{grid-template-columns:1fr}.product-detail-top{grid-template-columns:1fr;gap:22px}.detail-image img{max-height:360px}.product-detail-top h2{font-size:35px}.product-dialog{padding:18px}.product-gallery{grid-template-columns:1fr}.product-gallery img{height:auto;max-height:500px}.store-feature{padding:45px 0}.store-actions a{width:100%}}
@media(prefers-reduced-motion:reduce){.product-image img{transition:none}.product-image:hover img{transform:none}}
@media print{#storefront,#collections,#productdialog{display:none!important}}
.meet-jamie-link{margin-top:22px;font-size:13px}
.founder-story{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);gap:6%;align-items:center;padding:15px 0 65px;scroll-margin-top:30px}
.founder-portrait{margin:0;max-width:330px;width:100%;justify-self:center}
.founder-portrait img{display:block;width:100%;height:auto;border-radius:16px;border:1px solid #b69a5c;box-shadow:0 12px 30px #233d3515}
.founder-portrait figcaption{text-align:center;font-size:12px;letter-spacing:.035em;padding:16px 10px;color:#59634f}
.founder-copy h2{font-size:clamp(34px,3.8vw,52px);line-height:1.12;margin:16px 0 26px}
.founder-copy h2 em{font-family:'Cormorant Garamond',Georgia,serif;color:#7c5965;font-weight:500}
.founder-copy>p{line-height:1.8;font-size:15px;color:#4b5a50;max-width:650px;margin-bottom:18px}
.founder-copy .founder-signature{font-size:14px;color:#233d35;margin:25px 0 0}.founder-signature span{font:38px/1.2 'Caveat',Georgia,serif;color:#7c5965}
@media(max-width:800px){.founder-story{grid-template-columns:1fr;gap:24px;padding-bottom:45px}.founder-portrait{max-width:300px}.founder-copy h2{font-size:39px}.founder-copy{max-width:650px;margin:auto}}

.hero-art figcaption strong{display:block;font:26px/1.25 "Libre Caslon Display",Georgia,serif;color:#233d35}.hero-art figcaption span{display:block;font:12px/1.6 "DM Sans",sans-serif;margin-top:6px;color:#4b5a50}

/* Promotional exports include their own marks and framing. */
.product-image,.product-image.landscape{aspect-ratio:1;background:#f2eee5}.product-image img,.detail-image img,.product-gallery img,.studio-cover-pair img{object-fit:contain}.world-preview-section{margin:3rem 0}.world-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem}.world-preview-grid figure{margin:0}.world-preview-grid img{width:100%;height:auto;display:block;border-radius:8px}.world-preview-grid figcaption{padding:.65rem .25rem;font-weight:600}@media(max-width:700px){.world-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}}@media(max-width:400px){.world-preview-grid{grid-template-columns:1fr}}
