@font-face{font-family:Journal Sans;src:url(assets/body.ttf) format("truetype");font-display:swap}
:root{color-scheme:light;--paper:#f6f2e8;--card:#fffcf4;--ink:#22362e;--mute:#58665a;--rule:#cecabb;--pine:#214136;--accent:#a04a32;--tint:#e9e9d9;--shade:#e7ddcb;--field:#fffdf7;--shadow:0 9px 26px #28301c10;--serif:Georgia,'Times New Roman',serif}
:root[data-dark=true]{color-scheme:dark;--paper:#182820;--card:#22352b;--ink:#fbf4df;--mute:#c1cdbb;--rule:#526155;--pine:#18382d;--accent:#ffab89;--tint:#2c4334;--shade:#394438;--field:#192b22;--shadow:none}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.55 'Journal Sans',Arial,sans-serif;overflow-wrap:anywhere}button,input,textarea,select{font:inherit}button,a,select,input[type=checkbox]{touch-action:manipulation}button,.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;background:var(--card);color:var(--ink);border:1px solid var(--rule);border-radius:9px;padding:9px 14px;min-height:43px;cursor:pointer;text-decoration:none;font-size:.88rem;line-height:1.3}button:hover,.btn:hover{filter:brightness(.95)}button:disabled{opacity:.55;cursor:wait}button.primary,.primary.btn{background:#254d3e;color:#fff8e9;border-color:#254d3e}button.gold{background:#f2cb7b;color:#28372a;border-color:#f2cb7b}button.flat{background:transparent;border-color:transparent;padding-inline:8px}button.danger{color:var(--accent)}:focus-visible{outline:3px solid #c47e25;outline-offset:3px}.skip{position:fixed;left:10px;top:-80px;z-index:20}.skip:focus{top:8px;background:white;padding:12px}svg.icon{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.65}.mast,.wrap,#main,#foot{width:min(1170px,94%);margin:auto}.mast,.row,.split,.actions,.nav,.subnav{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.split,.mast{justify-content:space-between}.mast{min-height:83px}.wordmark{font: bold clamp(24px,3vw,32px)/1 var(--serif);display:flex;align-items:center;gap:10px;letter-spacing:-1.6px}.mark{width:43px;height:43px;border-radius:13px 13px 17px 7px;background:#264939;color:#edce82;display:inline-grid;place-items:center}.mark svg{width:28px;height:28px}.mast small,.over,.label,.kicker{font-size:10px;letter-spacing:.16em;text-transform:uppercase;font-weight:bold}.mast small{display:block;color:var(--mute);font:9px/1.4 'Journal Sans';letter-spacing:.18em;margin-top:5px}.nav{border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);padding:5px max(3%,calc((100vw - 1170px)/2));flex-wrap:nowrap;overflow-x:auto;background:var(--card);gap:8px;scrollbar-width:thin}.nav button,.subnav button{background:transparent;border-color:transparent;white-space:nowrap}.nav button.on,.subnav button.on{background:var(--tint);font-weight:bold}.nav .icon{width:17px}.mast select{max-width:155px}#main{padding:24px 0 42px;min-height:66vh}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{font-family:var(--serif);font-weight:normal;line-height:1.08;letter-spacing:-.035em}h1{font-size:clamp(37px,5vw,65px)}h2{font-size:clamp(28px,3.3vw,41px)}h3{font-size:25px}h4{font-size:21px}.hero{padding:clamp(24px,4vw,54px);background-color:var(--pine);background-image:repeating-linear-gradient(95deg,#ffffff04 0 1px,transparent 1px 5px);color:#fff6e3;display:grid;grid-template-columns:1.04fr 1fr;align-items:center;position:relative;overflow:hidden;min-height:365px;border-radius:18px;box-shadow:var(--shadow)}.hero .over{color:#f1d492;display:flex;align-items:center;gap:10px}.over:before{content:'';width:24px;height:1px;background:currentColor;display:inline-block;vertical-align:middle;margin-right:4px}.hero h1{margin:18px 0 14px;font-size:clamp(43px,5.2vw,73px);line-height:1.01}.hero h1 em{color:#f2d58e;font-weight:normal}.hero p{max-width:410px;color:#f0edda;font-size:14px}.hero .actions{margin-top:21px}.hero .ghost{background:transparent;color:#fff6e3;border-color:#95a595}.collage{position:relative;height:285px;isolation:isolate}.snap{background:#fffae9;padding:9px 9px 5px;box-shadow:0 7px 18px #1116;color:#464638;margin:0}.snap img{display:block;width:100%;aspect-ratio:1.15;object-fit:cover}.snap figcaption{font:italic 17px/1.6 var(--serif);text-align:center}.collage .snap{position:absolute;width:51%;max-width:221px;left:4%;top:18%;transform:rotate(-10deg)}.collage .snap+ .snap{left:45%;top:4%;transform:rotate(9deg);z-index:-1}.tape:before{content:'';display:block;background:#e7c991c9;width:66px;height:21px;position:absolute;top:-9px;left:35%;transform:rotate(-4deg);clip-path:polygon(3% 0,96% 3%,100% 90%,0 100%)}.seal{display:grid;place-content:center;position:absolute;right:9%;bottom:1%;border-radius:50%;height:69px;width:69px;background:#f3c67d;color:#573e26;border:4px double #745934;transform:rotate(14deg);font:italic 15px/1 var(--serif);text-align:center;box-shadow:0 3px 8px #0003}.seal .icon{margin:auto}.sectionhead{margin:30px 0 15px}.sectionhead .over,.pagehead .over,.card .over{color:var(--accent)}.sectionhead h2,.pagehead h1{margin:6px 0}.pagehead{margin:3px 0 22px}.pagehead p,.muted,.hint{color:var(--mute)}.hint,small{font-size:12px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(245px,100%),1fr));gap:16px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.card,.sheet,.empty,.chapter{background:var(--card);border:1px solid var(--rule);border-radius:14px;box-shadow:var(--shadow);padding:20px;min-width:0}.card h3,.sheet h3,.chapter h3{margin:6px 0 9px}.card p,.sheet p{margin:6px 0}.chapter{position:relative;overflow:hidden;min-height:150px;background:var(--tint)}.chapter .icon{width:25px;height:25px}.chapter:nth-child(2){background:#e9d6bf;color:#392f24}.chapter:nth-child(3){background:#e8d7d3;color:#43322c}.chapter button{background:transparent;border:0;padding:0;text-align:left;color:inherit}.chapter h3{font-size:27px}.chapter h3 button{font:inherit;letter-spacing:inherit;min-height:44px}.card .actions{gap:7px}:root[data-edition=reserved]{--pine:#413d35}:root[data-edition=vintage]{--pine:#3e4435}:root[data-edition=birthday]{--pine:#613f42}:root[data-edition=shadow]{--pine:#35423c}.greeting-page{text-align:center;border:double 5px var(--rule);padding:26px}.greeting-page figure img{max-width:min(340px,100%);width:100%;border:7px solid #eee4cd}.greeting-page h1{margin:12px 0}.greeting-page .quote{margin:18px auto;max-width:30ch}.paper-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(185px,100%),1fr));gap:14px}.paper-photos figure{border:1px solid var(--rule);padding:8px}.paper-photos img{width:100%;height:170px;object-fit:contain}@media print{#print .greeting-page{padding:12mm;border:4px double #4c5949;text-align:center}#print .greeting-page img{margin:6mm auto;width:80mm;max-height:90mm}#print .paper-photos{display:block;columns:2}#print .paper-photos figure{break-inside:avoid;margin:0 0 4mm}}.chapter .arrow{position:absolute;right:20px;top:19px}.chapter p{max-width:36ch}.list{display:grid;gap:10px}.item{padding:13px 0;border-bottom:1px solid var(--rule);display:flex;align-items:center;gap:10px}.item:last-child{border:0}.grow{flex:1;min-width:0}.thumb{width:60px;height:60px;border-radius:9px;object-fit:cover}.pill{display:inline-block;border:1px solid var(--rule);border-radius:99px;padding:3px 10px;font-size:11px;color:var(--mute)}.check{font-size:17px;width:44px;padding:0}.checked{background:var(--tint)}.strip,.notice{border:1px solid var(--rule);background:var(--tint);border-radius:10px;padding:12px 16px;margin:10px 0}.notice{background:#ffe4ab;color:#453218}.notice button{color:#323d32;background:#fffbef}#alert:not(:empty){max-width:1170px;margin:auto;padding:0 3%}.subnav{margin:12px 0 17px;border-bottom:1px solid var(--rule);padding-bottom:5px}.grow p,.story{white-space:pre-wrap}.photohead{width:100%;max-height:260px;object-fit:cover;border-radius:9px}.record{display:flex;flex-direction:column;gap:6px}.record .actions{margin-top:auto;padding-top:6px}.record .actions button{font-size:12px}.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(200px,100%),1fr));gap:18px}.gallery .snap img{aspect-ratio:1.2}.empty{text-align:center;padding:34px 20px;border-style:dashed}.empty p{margin:10px auto 16px;max-width:45ch;color:var(--mute)}.ring{display:grid;place-items:center;width:70px;height:70px;border-radius:50%;background:conic-gradient(var(--accent) var(--v),var(--rule) 0);flex:none}.ring b{display:grid;place-items:center;border-radius:50%;background:var(--card);height:54px;width:54px}.metric{font:normal 37px/1.2 var(--serif)}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin:16px 0}.stat{background:var(--tint);padding:15px;border-radius:10px}.chart{width:100%;height:auto;max-height:200px;color:var(--accent)}table{width:100%;border-collapse:collapse;margin:10px 0}td,th{border-bottom:1px solid var(--rule);padding:6px;text-align:left;font-size:13px}.heat{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}.heat span{background:var(--tint);padding:6px;text-align:center;font-size:12px}.heat span[data-active=true]{background:#487350;color:white}dialog{background:var(--card);color:var(--ink);border:1px solid var(--rule);border-radius:16px;padding:0;width:min(600px,95vw);max-height:90dvh;box-shadow:0 22px 80px #0005}dialog::backdrop{background:#101d16aa}#dialogBody{padding:24px}label{display:grid;gap:5px;font-size:13px;font-weight:bold;min-width:0}input:not([type=checkbox]),textarea,select{min-width:0;max-width:100%;color:var(--ink);background:var(--field);border:1px solid var(--rule);border-radius:7px;padding:10px;min-height:43px}textarea{min-height:85px;resize:vertical}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:18px 0}.wide{grid-column:1/-1}.tick{display:flex;align-items:center;gap:8px}.tick input{width:20px;height:20px}.mediaedit{display:grid;grid-template-columns:58px 1fr;gap:8px;align-items:center;margin:10px 0}.mediaedit img{width:58px;height:58px;object-fit:cover}.mediaedit .actions{grid-column:2}.error{color:var(--accent);font-weight:bold}.quote{font:italic 26px/1.22 var(--serif);margin:13px 0}.sheet{margin:15px 0}.sheet header{border-bottom:2px solid var(--ink);padding-bottom:14px}.sheet img{max-width:100%;max-height:300px;object-fit:contain}.sheet figure{margin:14px 0}.sheet figcaption{font:italic 16px var(--serif)}.sheet article{padding:12px 0;border-bottom:1px solid var(--rule)}.sheet .print-photo{max-width:240px}.settings{display:grid;gap:16px}.settings .card{display:grid;gap:10px}.resource{display:block;color:var(--ink);text-decoration:none;border-bottom:1px solid var(--rule);padding:13px 0}.resource b{color:var(--accent)}#foot{border-top:1px solid var(--rule);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;padding:15px 0 32px;color:var(--mute);font-size:12px}.toast{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);z-index:8;background:#20392e;color:white;border-radius:10px;padding:10px 16px;box-shadow:var(--shadow);max-width:min(90vw,550px)}.toast:empty,#print{display:none}.shirt-story{border:1px dashed var(--rule);padding:18px!important;margin-top:16px}.shirt-story figure{display:inline-block;vertical-align:top;max-width:100%;padding:8px;border:1px solid var(--rule)}.shirt-story .over{color:var(--accent);margin-bottom:8px}.spacer{margin-top:18px}.stamp{animation:pop .4s ease-out}@keyframes pop{50%{transform:scale(1.03)}}[hidden]{display:none!important}details summary{cursor:pointer;padding:8px 0;font-weight:bold}a{color:var(--accent)}.timelinerow{border-left:2px solid var(--rule);padding:0 0 18px 18px}.timelinerow strong{font-family:var(--serif);font-size:21px}
@media(max-width:760px){.mast{gap:8px;padding:11px 0}.mast .actions{gap:3px}.mast button{font-size:12px;padding:8px}.hero{grid-template-columns:1.05fr 1fr;padding:24px;min-height:300px}.collage{height:205px}.hero h1{font-size:43px}.grid.two{grid-template-columns:1fr}.seal{width:52px;height:52px;font-size:11px}.nav{gap:0}.nav button{padding:9px 11px}}
@media(max-width:580px){.mast,.wrap,#main,#foot{width:93%}#main{padding-top:14px}.mast .actions{width:100%;justify-content:flex-start}.mast{min-height:62px}.wordmark{font-size:25px}.mark{width:34px;height:34px}.nav{padding:4px 2%}.hero{grid-template-columns:1fr;padding:25px 20px 12px}.hero h1{margin:12px 0;font-size:43px}.hero .actions{gap:6px;margin-top:14px}.collage{width:min(100%,310px);height:183px;margin:12px auto 0}.collage .snap{width:44%;left:8%;top:9%}.collage .snap+.snap{left:50%;top:3%}.collage .seal{right:7%;bottom:4%}.snap figcaption{font-size:14px}.grid,.grid.two{gap:10px}.card,.sheet,.chapter{padding:16px}.chapter{min-height:115px}.formgrid{grid-template-columns:1fr}.pagehead{margin-top:8px}.sectionhead{margin-top:22px}#dialogBody{padding:18px}.mast select{max-width:117px}.item{flex-wrap:wrap}.row .grow{min-width:100px}.nav button{font-size:12px}.hero .over{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}
@page{size:auto;margin:15mm}
@media print{body{background:white!important;color:#161d17!important;font:11pt/1.45 Georgia,serif}body>*{display:none!important}body>#print{display:block!important}#print *{background:white!important;color:#18241d!important;box-shadow:none!important}#print .sheet{padding:0;margin:0;border:0;border-radius:0}#print .sheet h1{font-size:32pt}#print .sheet img{display:block;max-height:70mm;max-width:100%;object-fit:contain}#print figure,#print tr,#print h2,#print h3{break-inside:avoid}#print p{white-space:pre-wrap;overflow-wrap:anywhere}#print .over{font-size:9pt}#print h2,#print h3{break-after:avoid}#print figcaption{font-size:10pt}#print article{break-inside:auto}#print .grid{display:block}}
