*{box-sizing:border-box}body{color:#39303c;margin:0;font:16px Trebuchet MS,Arial,sans-serif}main{--accent:#674977;--soft:#eee3f2;--edge:#d9cedd;background-color:#f5f0f5;background-image:radial-gradient(#d8ccd9 .8px,#0000 .8px);background-size:10px 10px;min-height:100vh}.slate{--accent:#344856;--soft:#e4ebef;--edge:#cdd5dc;color:#29343d;background:#eef1f2}header{border-bottom:1px solid var(--edge);background:#fffcfb;justify-content:space-between;align-items:center;padding:16px max(5%,50vw - 570px);display:flex}.brand,.brand span,button,small,h3,aside h2,footer{align-items:center;gap:9px;display:inline-flex}.brand{letter-spacing:-1.4px;font:700 28px Georgia}.brand span{background:var(--accent);color:#fff;border-radius:11px;padding:9px}.switch{background:#f1edef;border-radius:20px;padding:4px;display:flex}.switch button{background:0 0;border:0;border-radius:18px;padding:7px 12px}.switch button[aria-pressed=true]{color:var(--accent);background:#fff;box-shadow:0 1px 4px #0002}button,select,input{font:inherit}button{cursor:pointer;color:inherit;justify-content:center}button:focus-visible,textarea:focus-visible,select:focus-visible,input:focus-visible{outline-offset:2px;outline:3px solid #8470bc}.wrap{max-width:1140px;margin:auto;padding:38px 24px}.title{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}small,.dateline{letter-spacing:2px;color:var(--accent);font:700 11px Arial}h1,h2{font-family:Georgia,serif}h1{letter-spacing:-2.5px;margin:6px 0 0;font-size:clamp(38px,5vw,58px);font-weight:500}.save{background:var(--accent);color:#fff;border:0;border-radius:12px;padding:13px 21px}fieldset{border:0;grid-template-columns:minmax(0,1fr) 292px;gap:24px;margin:0;padding:0;display:grid}.column{min-width:0}.moods,aside{border:1px solid var(--edge);background:#fffcfb;border-radius:17px;padding:22px}.moods h2,aside h2{margin:0 0 16px;font-size:23px}.moods>div{flex-wrap:wrap;gap:7px;display:flex}.moods button{border:1px solid var(--edge);background:#faf7f9;border-radius:25px;padding:8px 11px;font-size:14px}.moods b{font-size:20px}.moods button[aria-pressed=true]{border-color:var(--accent);background:var(--soft)}article{border:1px solid #d7cfc4;border-radius:4px 16px 12px 4px;margin:25px 3px 8px;padding:40px 7% 26px;position:relative;box-shadow:3px 4px #fdfaf3,4px 5px #cfc7be,0 9px 16px #3324360b}.tape{background:repeating-linear-gradient(135deg,#d0b1d8aa 0 6px,#e2cce5aa 6px 12px);width:95px;height:23px;position:absolute;top:-9px;right:32px;transform:rotate(6deg)}.slate .tape{background:#c5cdd2}.dateline{text-transform:uppercase}article h2{letter-spacing:-1.5px;margin:9px 0 18px;font-size:37px;font-weight:500}textarea{resize:vertical;color:#372f36;background:0 0;border:0;width:100%;min-height:240px;font-family:inherit;font-size:20px;line-height:34px}.ruled{background:repeating-linear-gradient(#0000 0 33px,#a69b912e 33px 34px)}figure{background:#fff;width:min(255px,96%);margin:15px auto;padding:12px;position:relative;box-shadow:0 3px 12px #0002}figure img{aspect-ratio:1;object-fit:cover;width:100%}figure input{text-align:center;border:0;width:100%;padding:9px 0}.mark{touch-action:none;background:0 0;border:0;font-size:34px;position:absolute;transform:translate(-50%,-50%)}.selected{outline:1px dashed var(--accent)}footer{color:#645d68;padding:10px 2px;font-size:13px}aside{align-self:start}aside h2{border-bottom:1px solid var(--edge);width:100%;padding-bottom:16px}aside label,aside h3{margin:9px 0;font-size:14px;font-weight:600;display:block}aside h3{display:flex}select,.upload{border:1px solid var(--edge);background:#fff;border-radius:8px;width:100%;padding:11px}.select{margin:8px 0 16px;position:relative}.select svg{pointer-events:none;position:absolute;top:14px;right:12px}select{appearance:none}.swatches,.stickers{flex-wrap:wrap;gap:8px;display:flex}.swatches button{border:1px solid #c5baba;border-radius:50%;width:32px;height:32px}.swatches button[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:2px}.rule{padding-top:4px}.rule input{accent-color:var(--accent)}hr{border:0;border-top:1px solid var(--edge);margin:19px 0}.stickers button{background:#f8f5f4;border:1px solid #ede6e9;border-radius:9px;width:54px;height:44px;font-size:24px}.upload{background:var(--soft);color:var(--accent)}.link{background:0 0;border:0;margin-top:8px;font-size:12px;text-decoration:underline}input[type=range]{width:100%}@media (max-width:760px){fieldset{grid-template-columns:1fr}.wrap{padding:22px 14px}.title{margin-bottom:16px}.moods{padding:16px}.moods button{flex-direction:column;flex:1;gap:2px;padding:7px 4px;font-size:12px}.moods>div{gap:4px}.brand{font-size:24px}aside{width:100%}textarea{min-height:180px}.save{padding:10px 13px}header{padding:10px 16px}}.account{margin-left:auto;margin-right:12px}.account button,.conflict button{border:1px solid var(--edge);background:#fff;border-radius:24px;padding:9px 14px}.conflict{background:#fff;border-radius:12px;padding:20px}@media (max-width:760px){header{flex-wrap:wrap;gap:8px}.account{margin-right:0}.switch{margin-left:auto}}.workspace{grid-template-rows:auto auto 1fr;grid-template-areas:"mood studio""page studio""status studio";align-items:start;row-gap:0}.workspace .column{grid-area:mood}.workspace article{grid-area:page}.workspace footer{grid-area:status}.studio{grid-area:studio}.sheet{background-position:50%;background-size:cover;min-height:460px;overflow:hidden}.sheet textarea{min-height:290px}.sheet:has(.piece.photo){min-height:600px}.sheet .dotted{background-image:radial-gradient(#70687755 1px,#0000 1px);background-size:16px 16px}.piece{-webkit-user-select:none;user-select:none;line-height:1;position:absolute;container-type:inline-size}.writing .piece,.arranging textarea{pointer-events:none}.arranging .piece{touch-action:none;cursor:grab}.arranging{cursor:crosshair}.piece.chosen{outline:2px dashed var(--accent);outline-offset:2px}.piece img{width:100%;display:block}.piece.emoji span{text-align:center;font-size:85cqw;display:block}.piece.photo{background:#fff;padding:1.4% 1.4% 0;box-shadow:0 4px 10px #372f3622}.piece.photo>img{aspect-ratio:1;object-fit:cover}.caption{text-align:center;color:#3d363e;overflow-wrap:anywhere;padding:5% 0;font-size:clamp(10px,8cqw,20px);line-height:1.4}.studio button,.filepick{border:1px solid var(--edge);cursor:pointer;background:#fff;border-radius:9px;padding:8px}.studio button[aria-pressed=true]{box-shadow:inset 0 0 0 1px var(--accent);color:var(--accent);background:var(--soft)}.mode,.tools,.actions{flex-wrap:wrap;gap:4px;display:flex}.mode button{flex:1}.tools{border-block:1px solid var(--edge);margin:14px 0;padding:8px 0}.tools button{border:0;flex-direction:column;flex:1;gap:4px;padding:8px 2px;font-size:12px}.studio label{margin:12px 0}.studio select,.studio input:not([type=file]){width:100%;margin-top:5px;display:block}.filepick{text-align:center;background:var(--soft);color:var(--accent);display:block;position:relative}.filepick input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.filepick:focus-within{outline:2px solid var(--accent)}.stickers img{object-fit:contain;width:30px;height:30px}.inspector{border-top:1px solid var(--edge);margin-top:15px;padding-top:8px}@media (max-width:760px){.workspace{grid-template-rows:auto;grid-template-areas:"mood""page""status""studio"}.sheet{min-height:380px}.sheet:has(.piece.photo){min-height:460px}.studio{margin-top:10px}}.journal-back,.calendar button:not(.save){border:1px solid var(--edge);background:#fffcfb;border-radius:10px;padding:9px 13px}header .journal-back{margin-left:16px}.calendar{max-width:1000px}.calendar .switch button{background:0 0;border:0}.calendar .switch button[aria-pressed=true]{background:#fff}.calcard{border:1px solid var(--edge);background:#fffcfb;border-radius:18px;margin-bottom:20px;padding:clamp(14px,3vw,28px)}.calheading,.daypreview,.reflection-foot,.period-controls,.calheading h2,.reflection h2{align-items:center;gap:10px;display:flex}.calheading,.daypreview,.reflection-foot{justify-content:space-between}.calheading h2,.reflection h2{margin:0;font-size:clamp(20px,3vw,28px);font-weight:500}.calheading{flex-wrap:wrap;margin-bottom:18px}.period-controls{gap:4px}.weekrows{display:grid}.calendar .weekrows button{border:0;border-top:1px solid var(--edge);text-align:left;border-radius:0;justify-content:flex-start;gap:16px;padding:12px 4px}.weekrows button:hover,.calendar .monthgrid button:hover{background:var(--soft)}.datechip{background:var(--soft);border-radius:8px;justify-items:center;min-width:50px;padding:6px;display:grid}.datechip small{letter-spacing:1px}.datechip strong{font:22px Georgia}.daycopy{flex:1;gap:4px;min-width:0;display:grid}.daycopy span,.daypreview p{color:#655e64;overflow-wrap:anywhere}.daycopy span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.monthgrid{grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;display:grid}.monthgrid>strong{text-align:center;color:var(--accent);padding:6px 0;font-size:13px}.calendar .monthgrid button{flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:6px;min-width:0;min-height:75px;padding:9px;display:flex}.monthgrid button[aria-pressed=true]{background:var(--soft);outline:2px solid var(--accent);outline-offset:-2px}.monthgrid button[aria-current=date] b{text-decoration:underline}.monthgrid i{font:12px Arial}.daypreview{border-top:1px solid var(--edge);margin-top:18px;padding-top:16px}.daypreview h3{margin:0 0 5px;display:block}.daypreview p{margin:4px 0}.daypreview button{flex-shrink:0}.reflection textarea{border:1px solid var(--edge);background:#fff;border-radius:10px;min-height:115px;margin:16px 0;padding:12px 14px;font:18px/1.6 Georgia;display:block}.reflection-foot span{font-size:13px}.calendar button:focus-visible{outline:3px solid var(--accent)}@media (max-width:620px){.monthgrid{gap:3px}.calendar .monthgrid button{gap:2px;min-height:54px;padding:5px}.monthgrid i{display:none}.calendar .title{gap:10px}.calheading{align-items:flex-start}.calcard{padding:14px}.period-controls button{min-height:36px}.journal-back{font-size:13px}.weekrows .datechip{min-width:44px}.daypreview h3{font-size:16px}.calendar .daypreview button{padding:8px}}
