/* The Growth Journal: warm paper, enamel colours and dimensional game controls. */
.gj-launch{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0;padding:22px 28px;border:1px solid #d4bb85;border-radius:24px;background:linear-gradient(110deg,#fff8df,#f3fff8);box-shadow:0 5px 0 #cdbf9d}.gj-launch h2{margin:4px 0;color:#30485b;font-size:clamp(20px,2vw,28px)}.gj-launch p{margin:5px 0;color:#59647e}.gj-kicker{font-size:11px;font-weight:850;letter-spacing:.13em;color:#4b726d}.gj-button{font:inherit;font-weight:750;cursor:pointer;min-height:46px;padding:12px 18px;border:1px solid #c9c5dd;border-radius:14px;background:#fffdf7;color:#3c4368;box-shadow:0 3px 0 #d9d2e8;transition:transform .15s,box-shadow .15s}.gj-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 5px 0 #c4bbd8}.gj-button:active:not(:disabled){transform:translateY(2px);box-shadow:none}.gj-button:focus-visible,#growthJournalDialog input:focus-visible,#growthJournalDialog textarea:focus-visible{outline:3px solid #2b979a;outline-offset:4px}.gj-button:disabled{cursor:wait;opacity:.55}.gj-primary{background:linear-gradient(135deg,#276f73,#35968e);border-color:#246568;color:#fff;box-shadow:0 4px 0 #204e5e}.gj-primary:hover:not(:disabled){box-shadow:0 6px 0 #204e5e}#growthJournalDialog{--gj-ink:#2e3d57;position:fixed;inset:12px;width:calc(100% - 24px);height:calc(100dvh - 24px);max-width:1600px;max-height:none;border:1px solid #c5cbda;border-radius:28px;padding:0;color:var(--gj-ink);background:#fbf9f1;box-shadow:0 28px 90px #20284350;overflow:hidden}#growthJournalDialog[open]{display:flex;flex-direction:column}#growthJournalDialog::backdrop{background:#202740a6;backdrop-filter:blur(5px)}.gj-top{display:flex;align-items:center;gap:22px;flex-wrap:wrap;padding:14px 24px;border-bottom:1px solid #d5dce2;background:#fffef9;z-index:3}.gj-top>div{display:grid;gap:4px}.gj-top small{letter-spacing:.13em;font-size:9px;color:#778095}.gj-top b{font-size:21px}.gj-top nav{margin-left:auto;display:flex;gap:8px}.gj-status{padding:6px 24px;font-size:13px;min-height:20px;background:#f5f2e7}.gj-status:empty{display:none}.gj-main{overflow:auto;overscroll-behavior:contain;flex:1;padding:24px clamp(16px,3vw,44px) 44px;background-image:radial-gradient(#b9cdcc35 1px,transparent 1px);background-size:18px 18px}.gj-main h1,.gj-main h2,.gj-main h3{color:#2e3d57;line-height:1.22}.gj-main p{line-height:1.65}.gj-hero{min-height:330px;position:relative;overflow:hidden;border-radius:24px;background:#214b53;isolation:isolate;box-shadow:0 7px 0 #cab793}.gj-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 61%;z-index:-2}.gj-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#152c46e8,transparent 80%);z-index:-1}.gj-hero>div{padding:35px;max-width:620px}.gj-hero h1{color:#fff9dd;font-size:clamp(32px,4.3vw,60px);text-shadow:0 3px 0 #15293a;margin:14px 0}.gj-hero p{font-size:18px;color:#fcf8ec}.gj-hero .gj-kicker{color:#ffe1a7}.gj-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:26px 0}.gj-stat{display:grid;gap:7px;padding:21px;border:1px solid #dbd7c9;border-radius:19px;background:#fffefb;box-shadow:0 4px 0 #e4dfcf}.gj-stat small{font-size:10px;letter-spacing:.09em;font-weight:800;color:#597a7e}.gj-stat strong{font-size:32px;color:#306b6e}.gj-stat span{font-size:13px;color:#667086}.gj-path{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.gj-path-card{--accent:#4f9d90;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;padding:27px;border-radius:25px;border:1px solid color-mix(in srgb,var(--accent) 45%,white);background:radial-gradient(circle at 100% 0,color-mix(in srgb,var(--accent) 25%,white),transparent 65%),#fffdf6;box-shadow:0 7px 0 color-mix(in srgb,var(--accent) 60%,white)}.gj-path-card.coral{--accent:#d48980}.gj-path-card.gold{--accent:#cea34b}.gj-step{position:absolute;right:22px;top:16px;font-size:48px;font-weight:900;color:color-mix(in srgb,var(--accent) 25%,transparent)}.gj-orb{display:grid;place-items:center;width:64px;height:64px;border-radius:21px;font-size:34px;background:linear-gradient(145deg,#fffffc,#e1f1e7);border:1px solid #fff;box-shadow:0 5px 0 #ccd8cc,0 10px 20px #244b3410;color:#50786f}.gj-path-card p{flex:1;font-size:15px;color:#626b80}.gj-path-card .gj-button{width:100%;margin-top:14px}.gj-path-card h2{margin-top:23px;font-size:25px}.gj-next,.gj-family,.gj-writing{padding:clamp(16px,2vw,30px);margin-top:24px;background:#fffcf7;border:1px solid #d9d4c6;border-radius:24px}.gj-skill-list{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.gj-skill-list>div{display:grid;gap:8px;padding:16px;background:#f3f5ec;border-radius:14px}.gj-skill-list span{font-size:12px}.gj-round-track{display:flex;justify-content:center;gap:16px;margin:4px 0 25px}.gj-round-track span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;border:2px solid #bbc9c3;background:white;color:#758580;font-weight:800}.gj-round-track .done{background:#d9f0e4;color:#236453}.gj-round-track .current{background:#326f73;color:white;box-shadow:0 0 0 5px #d9efdf}.gj-round-layout{display:grid;gap:24px;max-width:1000px;margin:auto}.gj-round-layout.with-story{grid-template-columns:1.1fr 1fr;max-width:none;align-items:start}.gj-story{position:sticky;top:0;max-height:calc(100dvh - 230px);overflow:auto;background:#fff;border-radius:20px;padding:20px;border:1px solid #c9d9dc}.gj-story img{width:100%;height:auto;border-radius:14px}.gj-story p{white-space:pre-wrap;font-size:17px}.gj-question{padding:clamp(20px,3vw,42px);background:linear-gradient(145deg,#fffef9,#f4faf6);border:1px solid #bdccc5;border-radius:25px;box-shadow:0 7px 0 #cad5cb}.gj-question-top{display:flex;justify-content:space-between;align-items:center;gap:14px}.gj-category{padding:8px 12px;border-radius:9px;background:#dcecdf;color:#3d6d5d;font-weight:800}.gj-question h2{font-size:clamp(22px,2.2vw,34px);line-height:1.5;white-space:normal;margin:25px 0}.gj-options{display:grid;gap:13px}.gj-options button{display:flex;text-align:left;gap:15px;align-items:center;font-size:18px;line-height:1.4;min-height:65px}.gj-options button>span{background:#e6eee8;border-radius:9px;padding:8px 12px;color:#427773;font-size:14px}.gj-question-tools{margin-top:25px}.gj-hint{padding:18px;background:#fff2cd;border-left:5px solid #d7a74b;border-radius:10px}.gj-small{font-size:12px;color:#738071;line-height:1.6}.gj-evidence{border:1px solid #c8d1e0;border-radius:17px;margin:20px 0;padding:16px;background:#f4f7fd}.gj-evidence legend{font-weight:800;padding:0 8px}.gj-evidence .gj-button{display:block;width:100%;margin:10px 0;text-align:left;line-height:1.5}.gj-evidence p{font-size:13px}.gj-question input{width:100%;box-sizing:border-box;font:inherit;font-size:22px;padding:18px;margin:12px 0 20px;border:2px solid #c9d8d0;border-radius:15px}.gj-feedback{max-width:850px;margin:20px auto;text-align:center;padding:45px clamp(18px,5vw,70px);border:2px solid #b8d7c1;border-radius:28px;background:radial-gradient(ellipse at top,#e6f7e8,#fffbed);box-shadow:0 8px 0 #c8d8b7}.gj-feedback .gj-orb{margin:0 auto 22px}.gj-feedback h2{font-size:32px}.gj-feedback strong{display:block;font-size:26px;color:#32736c}.gj-feedback p{font-size:18px}.gj-feedback button{margin:12px 6px}.gj-burst{font-size:78px;color:#d8a640;animation:gj-pop .6s ease-out}.gj-word-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:15px}.gj-word-grid article{background:#f3f7ef;border:1px solid #dce3d3;border-radius:17px;padding:18px}.gj-word-grid h3{font-size:24px;margin:0 0 10px}.gj-word-grid blockquote,.gj-writing-memory blockquote{margin:14px 0;padding-left:14px;border-left:3px solid #d7b976;line-height:1.5}.gj-home-idea{display:flex;align-items:center;gap:25px;margin:25px 0;padding:28px;border-radius:20px;background:#e3f1e5;border:1px solid #b6d0b6}.gj-home-idea .gj-orb{flex-shrink:0}.gj-family h1,.gj-writing h1{font-size:clamp(27px,3.3vw,44px)}.gj-writing-memory{padding:18px;background:#fbf4e6;border-radius:17px;margin:12px 0}.gj-targets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px;border:1px solid #dccda9;border-radius:18px;background:#fdf6e8}.gj-targets legend{font-size:20px;font-weight:800}.gj-targets label{display:flex;gap:12px;padding:15px;border:1px solid #dddbc9;border-radius:14px;background:white;cursor:pointer;line-height:1.5}.gj-targets input{width:22px;height:22px;flex-shrink:0;accent-color:#3d8781}.gj-targets span{display:grid;gap:8px}.gj-drafts{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:24px 0}.gj-original{white-space:pre-wrap;line-height:1.85;background:#f8f5ec;border-radius:16px;padding:22px;border:1px solid #d7d5cc;max-height:600px;overflow:auto;font-size:17px}.gj-writing textarea{box-sizing:border-box;width:100%;resize:vertical;border:2px solid #b8d0c4;border-radius:16px;padding:22px;background:#fffefa;font:inherit;line-height:1.85;min-height:100px;font-size:17px}.gj-writing label h2{font-size:21px}.gj-loading{text-align:center;padding:70px}.gj-clinic-step{margin:18px 0;padding:22px;border:1px solid #bccebd;border-radius:20px;background:#edf7ec}.gj-clinic-step button{margin-top:12px}.gj-learning-analysis{padding:20px;margin:20px 0;border:1px solid #c6d7d1;border-radius:20px;background:#f0f8f3}.gj-learning-analysis .teacher-metrics{margin:16px 0}.gj-time-tags{display:flex;gap:12px;flex-wrap:wrap}.gj-time-tags>span{padding:10px 14px;background:#fff;border-radius:12px}.gj-reading-evidence{padding:14px;background:#e7f4ed;border-radius:14px;border-left:4px solid #75aa8e;font-size:15px;line-height:1.6}
@keyframes gj-pop{0%{transform:scale(.45) rotate(-25deg)}80%{transform:scale(1.1) rotate(5deg)}100%{transform:scale(1)}}
@media(max-width:900px){.gj-path{gap:14px}.gj-path-card{padding:20px}.gj-round-layout.with-story{grid-template-columns:1fr}.gj-story{position:relative;max-height:36dvh}.gj-skill-list{grid-template-columns:1fr 1fr}.gj-hero{min-height:300px}.gj-hero>div{padding:26px}}
@media(max-width:600px){#growthJournalDialog{inset:0;width:100%;height:100dvh;border-radius:0}.gj-top{gap:10px;padding:12px}.gj-top>div{flex:1}.gj-top b{font-size:16px}.gj-top nav{width:100%;justify-content:space-between}.gj-top .gj-button{font-size:12px;min-height:40px;padding:10px}.gj-main{padding:16px 12px 30px}.gj-launch{align-items:stretch;flex-direction:column;padding:20px}.gj-hero{min-height:350px}.gj-hero:after{background:linear-gradient(90deg,#152c46e8,#152c4666)}.gj-hero img{object-position:55% center}.gj-hero h1{font-size:37px}.gj-hero p{font-size:16px}.gj-stats{gap:8px;margin:20px 0}.gj-stat{padding:13px 9px;min-width:0}.gj-stat small{font-size:8px;letter-spacing:0}.gj-stat strong{font-size:26px}.gj-stat span{font-size:10px}.gj-path,.gj-targets,.gj-drafts{grid-template-columns:1fr}.gj-path-card{padding:24px}.gj-path-card h2{margin:18px 0 4px}.gj-path-card p{margin:8px 0}.gj-skill-list{grid-template-columns:1fr}.gj-home-idea{padding:18px;align-items:flex-start;gap:15px}.gj-home-idea .gj-orb{width:44px;height:44px;font-size:25px}.gj-question h2{font-size:23px}.gj-options button{font-size:17px}.gj-original{max-height:330px}.gj-top .gj-button{box-shadow:none}.gj-family,.gj-writing{margin-top:0}}
@media(prefers-reduced-motion:reduce){.gj-button,.gj-burst{transition:none;animation:none}}
@media print{body:has(#growthJournalDialog[open][data-view=family])>*:not(#growthJournalDialog){display:none!important}#growthJournalDialog[open][data-view=family]{display:block!important;position:static;width:100%;height:auto;max-height:none;overflow:visible;border:0;box-shadow:none}.gj-top,.gj-status,.gj-family button{display:none!important}.gj-main{overflow:visible;padding:0;background:none}.gj-family{border:0;padding:0}.gj-stats,.gj-word-grid{break-inside:avoid}}

.gj-original mark{background:#e1efd0;color:inherit;border-radius:4px;padding:2px 0;box-decoration-break:clone}
