/* Alazo: Journal */
.jn-h{font-size:20px;font-weight:900;margin:0 0 10px}
.jn-moods{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.jn-mood{background:#F5F8FF;border-radius:18px;padding:8px 6px 10px;border:3px solid transparent;font-size:16px}
.jn-mood.on{border-color:var(--grape);background:#EEE8FF}
.jn-mood img{width:100%;max-width:110px;display:block;margin:0 auto 4px}
.jn-q{font-size:22px;font-weight:900;margin:8px 0 10px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.jn-ta{width:100%;min-height:150px;font:inherit;font-size:20px;line-height:1.4;border-radius:16px;border:2px dashed #CFD8EE;padding:12px;color:var(--ink);background:#FFFDF7;margin:6px 0 10px}
.jn-mic{width:80px;height:80px;font-size:34px;margin:0}
.jn-fr{display:flex;flex-wrap:wrap;gap:10px}
.jn-f{background:#F5F8FF;border-radius:16px;padding:6px 6px 8px;width:96px;text-align:center;border:3px solid transparent;font-size:14px;font-weight:800;display:inline-block;vertical-align:top}
.jn-f.on{border-color:var(--leaf);position:relative}
.jn-f.on:after{content:"✓";position:absolute;top:-6px;right:-6px;width:24px;height:24px;line-height:24px;border-radius:50%;background:var(--leaf);color:#fff;font-size:14px;font-weight:900}
.jn-f .jn-fh{width:76px;height:76px;display:block;margin:0 auto 2px}
.jn-f .say{margin-top:6px;font-size:12px;padding:4px 8px}
.jn-add{border:3px dashed #CFD8EE;color:var(--soft);font-size:15px;min-height:100px}
.jn-cal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;text-align:center;margin-top:10px}
.jn-cal .dw{font-size:12px;color:var(--soft)}
.jn-day{height:52px;min-width:0;padding:0;border-radius:12px;overflow:hidden;background:#F5F8FF;font-size:12px;position:relative;display:flex;align-items:center;justify-content:center;color:var(--soft)}
.jn-day i{font-style:normal;position:absolute;top:2px;left:5px;font-size:11px}
.jn-day.has{background:#FFF1DE;color:var(--ink)}
.jn-day.has img{height:40px;width:40px;margin-top:8px;display:block}
.jn-day{line-height:1;box-sizing:border-box;vertical-align:top;margin:0 !important}
.jn-day.today{box-shadow:0 0 0 3px var(--sun)}
.jn-day.empty{background:none}
.jn-photo{width:100%;border-radius:18px;display:block;max-height:440px;object-fit:cover}
.jn-cam{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;cursor:pointer;width:100%;max-width:420px;min-height:170px;margin:10px auto 0;border-radius:24px;background:#EEF4FF;border:3px dashed #9DB4F0;color:#2B3A67;font-weight:900;box-shadow:0 5px 0 rgba(43,58,103,.12);-webkit-tap-highlight-color:transparent}
.jn-cam:active{transform:translateY(3px);box-shadow:0 2px 0 rgba(43,58,103,.12)}
.jn-cam-ic{font-size:72px;line-height:1}.jn-cam-t{font-size:22px}.jn-cam input{display:none}
.jn-big{width:120px;height:120px}
.jn-row{display:flex;gap:12px;align-items:center;text-align:left;width:100%;padding:10px;border-radius:16px;background:#F5F8FF;margin-bottom:8px;font-weight:600}
.jn-row img{width:54px;height:54px;flex:none}
.jn-prow{flex-wrap:nowrap}.jn-prow .jn-row{margin:0 0 8px}
.jn-text{font-size:20px;line-height:1.5;margin:14px 0 8px}
.jn-strip{display:flex;gap:4px;margin:6px 0 10px;flex-wrap:wrap}.jn-strip img{width:36px;height:36px}
.jn-fprev{width:170px;height:170px;margin:0 auto 6px;background:#EEF6FF;border-radius:50%;overflow:hidden}.jn-fprev img{width:100%;height:100%}
.jn-name{width:100%;font-size:20px}
.jn-step{display:flex;align-items:center;gap:8px;margin:14px 0 6px}.jn-sl{font-weight:900;min-width:76px}
.jn-sws{gap:8px}.jn-sw{width:34px;height:34px;border-radius:50%;box-shadow:0 0 0 2px #E4E9F5}
.jn-f.fam{background:#FCE6CC}.jn-f.fr{background:#E2F0DC}.jn-f.tch{background:#DDE8F8}   /* family apricot, friends sage, teachers sky */
.jn-gl{font-size:13px;font-weight:800;color:var(--soft);margin:12px 0 6px;display:flex;align-items:center;gap:6px}
.jn-gl i{width:12px;height:12px;border-radius:50%;display:inline-block}.jn-gl i.fam{background:#F2C38E}.jn-gl i.fr{background:#A9D39A}.jn-gl i.tch{background:#9DB9E6}
.builder .prev .jn-fprev{width:100%;height:auto;border-radius:28px;margin:0}.builder .prev .jn-fprev img{width:100%;height:auto;display:block}
.opt .mh.jn-face svg{transform:scale(1.3);transform-origin:46% 80%}
/* ===== 26 Nov 2026: the page in steps (tiles) ===== */
.jn-steps{display:flex;justify-content:center;gap:8px;margin:2px 0 12px}
.jn-dot{width:14px;height:14px;border-radius:7px;background:#DCE3F5;transition:width .2s}
.jn-dot.did{background:#B9A3EE}.jn-dot.on{width:34px;background:#7B4DDB}
.jn-tags{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:10px;margin-top:8px}
.jn-tag{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 6px;background:#fff;border:3px solid #E3E8F7;border-radius:18px;font-size:15px;line-height:1.15;color:#2B3A67;box-shadow:0 3px 0 rgba(43,58,103,.1);text-align:center}
.jn-tag img.jn-om{width:54px;height:54px}
.jn-tag img.jn-scn{width:100%;height:66px;object-fit:cover;border-radius:10px}
.jn-tag.on{border-color:#7B4DDB;background:#F1EBFF}
.jn-tag.on::after{content:"✓";position:absolute;top:-8px;right:-6px;width:26px;height:26px;border-radius:13px;background:#58C27D;color:#fff;font-size:16px;line-height:26px;font-weight:900}
.jn-tag:active{transform:translateY(2px)}
.jn-nav{justify-content:space-between;margin:8px 0 26px}
.jn-ss{font-size:18px;line-height:1.5;margin:8px 0 0}
.jn-sofar .chips .chip{white-space:normal;text-align:left}
/* ===== the scrapbook page ===== */
.sb-navrow{justify-content:space-between;align-items:center;margin:4px 0 10px}.sb-nav-sp{width:56px}
.sb{position:relative;overflow:hidden;padding:22px 22px 26px;border-radius:12px;color:#3A3550;font-family:"Patrick Hand","Comic Sans MS","Chalkboard SE",cursive;
  box-shadow:0 2px 0 rgba(0,0,0,.05),0 10px 24px rgba(43,58,103,.14)}
.sb>*:not(.sb-dd){position:relative;z-index:1}
.sb-lined{background-color:#FFFDF6;background-image:linear-gradient(90deg,transparent 46px,rgba(229,115,115,.35) 46px,rgba(229,115,115,.35) 48px,transparent 48px),repeating-linear-gradient(180deg,transparent 0 33px,rgba(120,160,210,.28) 33px 34px)}
.sb-dots{background-color:#FFFDF8;background-image:radial-gradient(rgba(90,90,120,.22) 1.4px,transparent 1.6px);background-size:22px 22px}
.sb-graph{background-color:#FBFDFF;background-image:linear-gradient(rgba(110,150,210,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(110,150,210,.16) 1px,transparent 1px);background-size:24px 24px}
.sb-kraft{background-color:#E9D5B3;background-image:radial-gradient(rgba(120,80,30,.08) 2px,transparent 2.5px),radial-gradient(rgba(255,255,255,.18) 1.5px,transparent 2px);background-size:17px 17px,23px 23px;background-position:0 0,8px 11px}
.sb-pastel{background-color:#FFF2F6;background-image:radial-gradient(rgba(240,140,170,.18) 4px,transparent 4.5px);background-size:38px 38px}
.sb-plain{background:#FFF8E8}
.sb-dd{position:absolute;opacity:.5;pointer-events:none;z-index:0;stroke-width:0}
.sb-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px}
.sb-date{display:flex;flex-direction:column;line-height:1}.sb-date span{font-size:22px;opacity:.75}.sb-date b{font-size:40px;color:var(--ink);font-weight:400;margin:4px 0}.sb-date small{font-size:18px;opacity:.6}
.sb-mood{display:flex;flex-direction:column;align-items:center;gap:4px}
.sb-mood img.sb-face{width:96px;height:96px;border-radius:50%;background:#fff;border:4px solid #fff;box-shadow:0 4px 10px rgba(0,0,0,.18)}
.sb-mood i,.sb-pp i,.sb-photo i{font-style:normal}
.sb-mood i{background:var(--t2);padding:2px 12px;font-size:20px;box-shadow:0 1px 2px rgba(0,0,0,.12)}
.sb-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:18px 22px;align-items:start}
.sb-grid>.sb-row,.sb-grid>.sb-check{grid-column:1/-1}
.sb-l1 .sb-grid .sb-photo{grid-column:2;grid-row:1}.sb-l1 .sb-grid .sb-story{grid-column:1;grid-row:1}
.sb-l2 .sb-grid{grid-template-columns:minmax(0,1fr)}.sb-l2 .sb-photo{justify-self:center;width:min(78%,380px)}
.sb-grid.sb-noph{grid-template-columns:minmax(0,1fr)}
.sb-photo{position:relative;background:#fff;padding:10px 10px 36px;box-shadow:0 6px 16px rgba(0,0,0,.2);margin:10px 6px}
.sb-photo img.jn-photo{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:2px;margin:0;max-height:none;cursor:zoom-in}
.sb-photo>i{position:absolute;left:0;right:0;bottom:6px;text-align:center;font-size:18px;color:#555}
.sb-nophoto{aspect-ratio:1/1;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#EEE;font-size:40px;color:#999}
.sb-tape{position:absolute;width:92px;height:26px;opacity:.85;z-index:2;background:repeating-linear-gradient(45deg,var(--t1) 0 8px,rgba(255,255,255,.4) 8px 16px)}
.sb-tape.a{top:-10px;left:-24px;transform:rotate(-38deg)}.sb-tape.b{top:-10px;right:-24px;transform:rotate(38deg);background:repeating-linear-gradient(-45deg,var(--t3) 0 8px,rgba(255,255,255,.4) 8px 16px)}
.sb-story p{font-size:23px;line-height:34px;margin:0 0 10px;overflow-wrap:anywhere}
.sb-story .sb-auto{color:#3A3550}.sb-story .sb-text{color:var(--ink)}
.sb-row{display:flex;flex-wrap:wrap;gap:14px 16px;align-items:flex-end}
.sb-stk,.sb-stamp,.sb-pp{display:inline-flex;flex-direction:column;align-items:center;gap:2px;font-size:17px;text-align:center}
.sb-stk img.jn-om{width:64px;height:64px;filter:drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(0 3px 3px rgba(0,0,0,.22))}
.sb-stk i,.sb-stamp i{font-style:normal}
.sb-stamp{background:#fff;padding:7px 7px 4px;box-shadow:0 3px 8px rgba(0,0,0,.18);outline:2px dashed rgba(120,100,80,.25);outline-offset:-4px}
.sb-stamp img.jn-scn{width:118px;height:84px;object-fit:cover;display:block}
.sb-pp img.jn-fh{width:66px;height:66px;background:#fff;border-radius:50%;box-shadow:0 3px 6px rgba(0,0,0,.15)}
.sb-pp i{background:var(--t1);padding:0 10px;font-size:18px}
.sb-check{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:20px;padding-top:6px;border-top:2px dashed rgba(0,0,0,.1)}
.sb-check span{display:inline-flex;align-items:center;gap:4px}
.sb-check span::before{content:"✓";color:#3BA55C;font-size:24px;font-weight:700;margin-right:2px}
.sb-check img.jn-om{width:30px;height:30px}
@media(max-width:600px){.sb{padding:16px 14px 20px}.sb-grid,.sb-l1 .sb-grid{grid-template-columns:minmax(0,1fr)}.sb-l1 .sb-grid .sb-photo,.sb-l1 .sb-grid .sb-story{grid-column:1;grid-row:auto}
  .sb-photo{width:min(86%,340px);justify-self:center}.sb-date b{font-size:32px}.sb-mood img.sb-face{width:78px;height:78px}.sb-stamp img.jn-scn{width:96px;height:70px}}
.sb-photo{margin-top:22px}
.sb-photo img.sb-scnph{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:2px}
/* stories from other exercises (28 Nov 2026): picker in the last step, cards on the scrapbook page */
.jn-told .jn-st{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:#F7F9FF;border:3px solid #E3E8F7;border-radius:16px;padding:10px 12px;margin:8px 0;font:inherit;color:inherit;cursor:pointer}
.jn-told .jn-st.on{border-color:#58C27D;background:#EEFBF2}
.jn-stic{font-size:30px;flex:none;width:48px;text-align:center}
.jn-stpic{width:72px;height:54px;object-fit:cover;border-radius:10px;flex:none}
.jn-stb{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.jn-stb b{font-size:16px}.jn-stb small{color:#6B7391;font-size:14px}
.jn-stx{font-size:16px;line-height:1.35;overflow-wrap:anywhere}
.jn-sto{flex:none;font-weight:900;color:#6B4BD8;font-size:15px;white-space:nowrap}
.jn-st.on .jn-sto{color:#2E9B57}
@media(max-width:600px){.jn-told .jn-st{flex-wrap:wrap}.jn-sto{width:100%;text-align:right}}
.sb-grid>.sb-tolds{grid-column:1/-1}
.sb-tolds{display:flex;flex-direction:column;gap:18px;margin:6px 0}
.sb-told{position:relative;background:#FFFEF6;background-image:repeating-linear-gradient(transparent 0 33px,#D7E3F4 33px 34px);padding:22px 18px 14px;box-shadow:0 4px 12px rgba(0,0,0,.14);border-radius:4px}
.sb-told b{display:block;font-size:19px;color:#3A3550}
.sb-told small{display:block;font-size:16px;color:#6B7391;margin-bottom:4px}
.sb-told p{font-size:22px;line-height:34px;margin:0;color:var(--ink);overflow-wrap:anywhere}
.sb-tpic{float:right;width:min(38%,180px);border:6px solid #fff;box-shadow:0 3px 8px rgba(0,0,0,.18);margin:0 0 8px 12px;transform:rotate(2deg)}
.jn-keep{font-size:16px}
/* extra pictures beside the page's photo (Geobrett, 5 Dec 2026): the photos stack in one column, extras a bit smaller */
.sb-phs{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:0 14px}
.sb-l1 .sb-grid .sb-phs{grid-column:2;grid-row:1}
.sb-phs>.sb-photo{flex:1 1 100%;box-sizing:border-box;width:auto;max-width:100%}
.sb-phs>.sb-photo.sb-pic{flex:0 1 40%;padding:6px 6px 26px;margin-top:14px}
.sb-pic img.jn-photo{object-fit:contain;background:#2B3A67}
.sb-pic>i{font-size:13px;bottom:4px;line-height:1.2}
.sb-l2 .sb-phs{justify-self:stretch}
.sb-l2 .sb-phs>.sb-photo{flex:0 1 min(52%,360px)}.sb-l2 .sb-phs>.sb-photo.sb-pic{flex:0 1 min(26%,180px)}
@media(max-width:600px){.sb-phs{justify-self:center;width:min(86%,340px)}.sb-l1 .sb-grid .sb-phs{grid-column:1;grid-row:auto}.sb-l2 .sb-phs>.sb-photo{flex:1 1 100%}.sb-l2 .sb-phs>.sb-photo.sb-pic{flex:0 1 40%}.sb-phs>.sb-photo.sb-pic{flex:0 1 40%}}
.jn-pics{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}
.jn-pic{position:relative;width:150px;text-align:center}
.jn-pic img.jn-photo{width:150px;height:150px;border-radius:12px;object-fit:contain;background:#2B3A67}
.jn-pic small{display:block;color:#6B7391;margin-top:4px}
.jn-pic .say{position:absolute;top:-8px;right:-8px}
/* a Geobrett picture drawn from its bands; a photo that lives on another device (5 Dec 2026) */
.sb-photo svg.sb-gbsvg{display:block;width:100%;aspect-ratio:1/1;height:auto;border-radius:2px}
.sb-away{justify-content:flex-end;box-sizing:border-box;padding:0 8% 12%;text-align:center;background:#E6D6F4 center/cover no-repeat}
.sb-away-photo{background-image:url(assets/journal/away-photo.webp)}
.sb-away-pic{background-image:url(assets/journal/away-pic.webp)}
.sb-away small{font-size:17px;line-height:1.25;color:#6E5E92}
.sb-pic .sb-away{padding:0 6% 9%}.sb-pic .sb-away small{font-size:11px}
.sb-pic>i{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 4px;font-size:12px}
