/* Image-ready hub template. Artwork is configured in artwork-config.js. */
.hub-template{background:#fff}.hub-wrap{max-width:1200px;padding:0 24px;margin:auto}.hub-welcome{height:195px;display:grid;grid-template-columns:1fr 1fr;gap:20px;background:#f4eee4;border-radius:12px;padding:22px 38px;align-items:center;overflow:hidden}.hub-welcome h1{font-size:clamp(30px,4.5vw,58px);font-weight:700;line-height:.98;margin:0 0 10px;color:#111d42}.hub-welcome p{font-size:15px;line-height:1.4;font-weight:600;margin:0;color:#182444}.art-slot{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:5px;border:1px dashed #ac9eb552;border-radius:9px;overflow:hidden;color:#74647d;font-size:12px;background:#ffffff36}.art-slot small{font-size:8px;letter-spacing:.15em;opacity:.65}.slot-shape{font-size:28px;opacity:.35;line-height:1.2}.welcome-slot{height:155px}.hub-adventure{position:relative;height:365px;margin-top:12px;border:1.5px solid #70558b;border-radius:16px;padding:25px 32px;background:#fff;overflow:hidden}.adventure-label{position:relative;z-index:2;display:inline-block}.adventure-label h2{font-size:55px;line-height:.98;margin:0 0 18px;font-weight:800;color:#111d42}.adventure-label p{display:inline-block;background:#e7d8f2;border-radius:12px;padding:10px 16px;font:600 19px/1.1 Outfit;margin:0;transform:rotate(-3deg)}.hill-slot{position:absolute;top:20px;right:25px;bottom:85px;left:35%;border:0;color:#8b7f94;background:none}.hill-slot svg{position:absolute;inset:0;width:100%;height:100%;z-index:0}.hill-slot path{fill:none;stroke:#c3b7ce;stroke-width:2;stroke-dasharray:5 6}.hill-slot>span,.hill-slot>small{z-index:1;background:white;padding:3px 9px}.hub-button{display:inline-flex;align-items:center;justify-content:center;gap:15px;background:#74399b;color:white;border:0;border-radius:30px;font:700 14px/1.1 Outfit,Arial,sans-serif;text-transform:uppercase;letter-spacing:.01em;padding:12px 22px;cursor:pointer;text-decoration:none}.hub-button:hover{background:#54257a;box-shadow:0 3px 10px #4a205529}.adventure-button{position:absolute;bottom:25px;left:50%;transform:translateX(-50%);width:max-content;max-width:90%;font-size:17px;padding:13px 30px}.hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.hub-tile{position:relative;min-width:0;aspect-ratio:1.15;display:flex;flex-direction:column;align-items:center;gap:10px;padding:22px 20px 18px;border-radius:14px;overflow:hidden}.hub-tile h2{color:#111d42;font-size:29px;font-weight:800;text-align:center;line-height:1.02;letter-spacing:-.02em;margin:0;min-height:60px;display:flex;align-items:center;justify-content:center;max-width:95%}.tile-slot{width:100%;flex:1;min-height:100px}.hub-tile .hub-button{font-size:12px;padding:10px 18px;min-width:80%;margin-top:0;flex-shrink:0}.cream{background:#f8eacc}.sky{background:#d2eaf5}.gold{background:#ffedb4}.green{background:#e0edcf}.lilac{background:#e7d9f5}.coral{background:#f9ddcb}.free-label{position:absolute;top:77px;right:20px;border-radius:30px;color:#74399b;font-size:9px;font-weight:700;background:white;padding:4px 8px;z-index:2}.hub-signoff{text-align:center;padding:25px 10px 5px;font:700 29px Outfit;color:#111d42;letter-spacing:-.03em}.hub-template footer{display:block;text-align:center;padding:12px 0 25px!important;font-size:9px;letter-spacing:.25em}.hub-nav{border:0;background:transparent;color:var(--ink);font:600 13px 'DM Sans',Arial;cursor:pointer}.hub-nav:hover{text-decoration:underline}header{padding-top:18px;padding-bottom:18px}.art-slot.has-art{border:0;background:none;padding:0;display:block}.has-art img{display:block;width:100%;height:100%;object-fit:contain}.hub-dialog{border:0;border-radius:16px;padding:0;max-width:1100px;width:calc(100% - 40px);max-height:88vh;color:var(--ink);box-shadow:0 20px 90px #20103255}.hub-dialog::backdrop{background:#19152b99;backdrop-filter:blur(3px)}.dialog-toolbar{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;background:white;padding:16px 24px;border-bottom:1px solid #eee;z-index:5;font-size:12px;font-weight:700;letter-spacing:.06em}.dialog-close{width:32px;height:32px;border:1px solid #d5c8df;background:white;color:#6e3997;font-size:23px;border-radius:50%;line-height:1;cursor:pointer}.dialog-content .section{padding:35px}.dialog-content .section-heading{align-items:flex-start}.dialog-content .section-heading h2{font-size:30px}.dialog-content .central-books{gap:14px}.dialog-content .central-books h3{font-size:15px}.dialog-content .central-books .book-bottom{display:block}.dialog-content .central-books .book-bottom span{display:block}.event-placeholder{padding:45px;max-width:700px}.portrait,.sample-rock{mix-blend-mode:normal}.hub-dialog .certificate-preview{box-shadow:none}.hub-dialog .merch-section{background:#f9e8df}@media(min-width:1400px){.hub-welcome{height:205px}.hub-adventure{height:390px}.hub-tile{aspect-ratio:1.1}}@media(max-width:800px){.hub-wrap{padding:0 14px}.hub-welcome{height:165px;padding:20px;grid-template-columns:1.1fr .9fr;gap:10px}.hub-welcome h1{font-size:35px}.hub-welcome p{font-size:12px}.welcome-slot{height:120px;font-size:10px}.hub-adventure{height:340px;padding:20px}.adventure-label h2{font-size:40px}.adventure-label p{font-size:16px;padding:8px 12px}.hill-slot{top:115px;left:25%;right:15px;bottom:70px;font-size:10px}.adventure-button{font-size:12px;padding:13px 18px;bottom:18px;white-space:normal;text-align:center}.hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hub-tile{aspect-ratio:auto;min-height:275px;padding:16px 12px 14px;gap:9px}.hub-tile h2{font-size:24px;min-height:55px}.tile-slot{min-height:120px;font-size:10px}.hub-tile .hub-button{font-size:10px;width:100%;padding:11px 9px;gap:5px}.hub-signoff{font-size:24px}.free-label{top:70px;right:13px;font-size:8px}.hub-dialog{width:calc(100% - 20px)}.dialog-content .section{padding:25px 18px}.dialog-content .section-heading{display:block}.dialog-content .central-books{grid-template-columns:repeat(2,minmax(0,1fr))}.dialog-content .lesson-feature{gap:20px}.dialog-content .lesson-paper{max-width:170px}.dialog-content .certificate-grid{gap:30px}.dialog-content .certificate-preview{max-width:260px}.dialog-content .workshop-layout,.dialog-content .merch-layout{gap:25px}.event-placeholder{padding:30px}.hub-nav{font-size:11px}nav{gap:8px}.brand{font-size:16px}.small{font-size:11px;padding:8px 10px}}@media(max-width:450px){.hub-grid{grid-template-columns:1fr 1fr}.hub-tile{min-height:250px}.hub-tile h2{font-size:20px;min-height:50px}.hub-welcome h1{font-size:29px}.hub-welcome p{font-size:11px}.hub-welcome{padding:16px;height:155px}.hub-tile .hub-button{font-size:9px}.hub-nav{display:none}.art-slot span:not(.slot-shape){max-width:130px}.tile-slot{min-height:100px}}
.classroom-manager{padding:25px 28px;border-radius:15px;background:#e9f0df;border:1px solid #d1ddc2;margin-bottom:28px}.manager-top{display:flex;justify-content:space-between;gap:25px;align-items:center}.manager-top h2{font-size:28px;margin:5px 0 10px}.manager-top .eyebrow{margin:0}.manager-top p:not(.eyebrow){font-size:12px;margin:0}.manager-buttons{display:flex;gap:10px;flex-wrap:wrap}.manager-bottom{display:flex;align-items:center;gap:14px;margin-top:22px;flex-wrap:wrap}.manager-bottom label{margin:0;font-size:12px}.manager-bottom select{width:auto;min-width:220px}.manager-bottom [role=status]{font-size:11px;color:#58624c;flex:1;min-width:200px}.manager-bottom [data-kind=error]{color:#9b3239}.create-class-dialog,.avatar-dialog{border:1px solid #d7c4e4;border-radius:16px;padding:30px;width:calc(100% - 30px);max-width:600px;color:var(--ink);max-height:90vh;overflow:auto}.create-class-dialog::backdrop,.avatar-dialog::backdrop{background:#21173099}.create-class-dialog h2,.avatar-dialog h2{font-size:30px}.create-class-dialog p{font-size:13px}.create-class-dialog input{margin-bottom:20px}.create-class-dialog textarea{height:130px}.create-class-dialog #create-error{color:#9b3239}.change-avatar{font-size:10px;border:1px solid #dfd2e8;padding:4px;background:#f7f2fb;color:var(--purple);border-radius:5px;cursor:pointer;max-width:60px;line-height:1.2}.avatar-dialog .secondary{margin-top:20px}.rock-token.small-rock{width:6.5%;height:16%}.rock-token{width:8%;height:18%}@media(max-width:800px){.manager-top{display:block}.manager-buttons{margin-top:20px}.classroom-manager{padding:20px 16px}.manager-bottom{display:block}.manager-bottom select{width:100%;margin:10px 0}.manager-bottom [role=status]{display:block;margin:10px 0}.roster{grid-template-columns:1fr 1fr}.student-row{flex-wrap:wrap}.change-avatar{margin-left:auto}.rock-token.small-rock{width:7%;height:16%}}
body.is-celebrating .classroom-manager{display:none}

.rock-token.small-rock{width:4.5%;height:11%}.rock-token.small-rock .name{font-size:9px;padding:1px 4px}

.rock-token.small-rock{width:6%;height:12%}.rock-token.small-rock .name{font-size:10px;line-height:1.2}
.teacher-shortcuts{display:flex;gap:10px;flex-wrap:wrap;padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid #d7c9e2}.teacher-tool-dialog{border:1px solid #d8c6e6;padding:28px;border-radius:16px;width:calc(100% - 32px);max-width:850px;max-height:90vh;overflow:auto;color:var(--ink)}.teacher-tool-dialog::backdrop{background:#211730aa}.tool-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.tool-dialog-header h2{font-size:30px;margin:0}.tool-dialog-header>.secondary{padding:7px 12px;line-height:1}.teacher-tool-dialog form>p{font-size:14px}.group-select-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0}.group-select-actions .secondary{font-size:12px;padding:9px 13px}.group-select-actions span{font-size:12px;color:#72647e}.group-students{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.group-students label{display:flex;align-items:center;gap:10px;border:1px solid #ded2e8;border-radius:8px;background:#faf7fd;padding:12px;margin:0;cursor:pointer}.group-students input{width:18px;height:18px;accent-color:var(--purple);flex-shrink:0}.group-students label:has(input:disabled){opacity:.5}.teacher-tool-dialog textarea{margin-bottom:12px}.teacher-tool-dialog select{margin-bottom:20px}#group-error{color:#963838}.report-class{font-size:18px;font-weight:600;color:var(--purple)}.report-controls{display:flex;align-items:center;gap:15px;flex-wrap:wrap;padding:15px 0;border-block:1px solid #eee}.report-controls label{margin:0}.report-controls input{width:auto}.report-date{font-size:13px;color:#75677f}.report-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0 30px}.report-stats>div{background:#eee6f6;border-radius:10px;padding:15px;display:flex;flex-direction:column;gap:7px}.report-stats>div:nth-child(2n){background:#e8efdf}.report-stats b{font:600 32px Outfit}.report-stats span{font-size:11px;line-height:1.3}.report-story{border-bottom:1px solid #e8dfed;padding:16px 0}.report-story p{margin:6px 0;font-size:14px}.report-story small{font-size:11px;color:#7a6b86}#presentation-hint{display:none;text-align:center;font-size:12px;color:#776683;margin:18px 0 0}body.is-celebrating #presentation-hint{display:block}body.is-celebrating header,body.is-celebrating .preview-banner,body.is-celebrating .back-link{display:none}body.celebration-summit .celebration-card{background:#fff0bd;border-color:#e1c25c}body.celebration-summit .recognition-icon{color:#ad7a11}@media(max-width:650px){.group-students{grid-template-columns:repeat(2,1fr)}.report-stats{grid-template-columns:repeat(2,1fr)}.teacher-tool-dialog{padding:20px}.tool-dialog-header h2{font-size:25px}.teacher-shortcuts .secondary{font-size:12px;padding:10px}.report-controls{gap:10px}}@media print{#print-area.report-print{padding:20px;text-align:left;border:0;margin:0}#print-area.report-print h1{font-size:28px;margin:0 0 8px}#print-area.report-print h2{font-size:22px;margin:0 0 15px}#print-area.report-print h3{font-size:18px;margin:20px 0 10px}#print-area.report-print p{font-size:12px;margin:6px 0}#print-area.report-print .report-stats{grid-template-columns:repeat(4,1fr);margin:15px 0}#print-area.report-print .report-stats b{font-size:23px}#print-area.report-print .report-stats span{font-size:10px}#print-area.report-print .report-story{break-inside:avoid;padding:10px 0}#print-area.report-print .report-story b{font-size:12px}#print-area.report-print .report-story small{display:block;margin:3px 0;font-size:9px}#print-area.report-print li{font-size:12px}}

.adventure-status{display:grid;grid-template-columns:1fr 1fr;gap:32px;padding:25px 30px;margin:20px 0;background:#f1eaf7;border:1px solid #e1d4eb;border-radius:16px}.adventure-status h2{font-size:28px;margin:4px 0 8px}.adventure-status p{font-size:14px;margin:6px 0}.class-goal{align-self:center}.class-goal b{font-size:16px}.class-goal progress{display:block;width:100%;height:18px;margin:12px 0;accent-color:#76568f}.adventure-status.goal-reached{background:#e8f1df;border-color:#c8dcb4}.goal-reached progress{accent-color:#4d7743}.earned-badges{display:block;font-size:12px;color:#896415;margin-top:5px}.past-summit-badge{position:absolute;right:-5px;top:-8px;background:#fff0b4;border:1px solid #d9bc5e;border-radius:20px;padding:2px 6px;font-size:12px;color:#715319;white-space:nowrap}.badge-collection{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.badge-collection>span{padding:9px 14px;border-radius:20px;background:#fff1bc;color:#715319;font-size:14px}.past-adventure{border-top:1px solid #e4dbe9;padding:18px 0}.past-adventure h3{margin:0 0 10px}.past-adventure p{font-size:14px}.past-adventure summary{cursor:pointer;font-weight:600;color:#76568f;margin-top:15px}.adventure-actions{margin-bottom:15px}#adventure-error{color:#963838}body.is-celebrating .adventure-status{padding:12px 22px;margin:10px 0}body.is-celebrating .adventure-status h2{font-size:22px}@media(max-width:650px){.adventure-status{grid-template-columns:1fr;gap:12px;padding:20px}.adventure-status h2{font-size:24px}.adventure-actions{gap:8px}}

.rock-token .rock-score{display:block;position:absolute;top:calc(100% + 19px);left:50%;transform:translateX(-50%);font-size:10px;line-height:1.2;padding:2px 5px;background:#fff;border-radius:5px;color:#715a80;white-space:nowrap}.rock-token .portrait{transition:none!important;transform:rotate(0deg)}.rock-token.rolling .portrait{animation:roll-uphill 1.8s cubic-bezier(.25,.6,.3,1) both}.point-flash{position:absolute;left:50%;bottom:100%;transform:translateX(-50%);white-space:nowrap;font-size:13px;font-weight:700;color:#684384;background:#fff1b9;padding:5px 9px;border-radius:15px;animation:point-moment 3s both;z-index:30;pointer-events:none}@keyframes roll-uphill{0%{transform:rotate(0deg) translateY(0)}35%{transform:rotate(-130deg) translateY(-3px)}75%{transform:rotate(-285deg) translateY(-2px)}100%{transform:rotate(-360deg) translateY(0)}}@keyframes point-moment{0%{opacity:0;translate:0 7px}15%,75%{opacity:1;translate:0 -7px}100%{opacity:0;translate:0 -18px}}@media(prefers-reduced-motion:reduce){.rock-token.rolling .portrait{animation:none}.point-flash{animation:none}.rock-token{transition:none!important}}

.setup-dialog{width:min(720px,calc(100vw - 32px));max-height:90vh;overflow:auto;border:1px solid #e3d8eb;border-radius:22px;padding:30px;color:var(--ink);background:#fff}.setup-dialog::backdrop{background:#282032a6}.setup-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.setup-top>span{font-size:11px;font-weight:700;letter-spacing:.13em;color:#76568f}.setup-top button{padding:6px 11px}.setup-dialog>progress{width:100%;height:7px;accent-color:#76568f;margin:18px 0}.setup-dialog h2{font-size:34px;margin:12px 0 20px;line-height:1.1}.setup-dialog form>p{font-size:15px}.setup-dialog .hint{font-size:12px;color:#766b7e;margin:9px 0 20px}.setup-dialog label{display:block;font-weight:600;margin:17px 0 8px;font-size:14px}.setup-dialog input,.setup-dialog textarea,.setup-dialog select{width:100%;border:1px solid #d7c9e1;border-radius:9px;padding:12px;font:inherit;background:#fff;color:inherit;box-sizing:border-box}.setup-dialog textarea{resize:vertical}.setup-footer{display:flex;justify-content:space-between;gap:12px;padding-top:22px;border-top:1px solid #eee3f4;margin-top:24px}.setup-footer .button{margin-left:auto}.setup-rock-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:44vh;overflow:auto}.setup-rock-row{display:flex;align-items:center;gap:12px;background:#f7f3fa;border:1px solid #e5daed;border-radius:12px;padding:12px}.setup-rock-row .portrait{width:65px;height:55px;display:block}.setup-rock-row label{flex:1;min-width:0;margin:0}.setup-rock-row select{font-size:13px;padding:7px;margin-top:8px}.setup-practice{background:#f4f0f8;padding:18px;border-radius:14px;text-align:center;overflow:hidden}.practice-label{font-size:10px;letter-spacing:.1em;color:#76568f;font-weight:700}.practice-track{position:relative;height:185px}.practice-track>svg{position:absolute;inset:0;width:100%;height:100%;color:#64566f}.practice-rock{position:absolute;left:5%;top:55%;width:85px;transition:left 1.8s ease-in-out,top 1.8s ease-in-out}.practice-rock .portrait{width:85px;height:60px;display:block;transform:rotate(0deg)}.practice-rock>span:last-child{display:block;font-size:12px;background:#fff4d8;border-radius:5px;padding:3px}.practice-roll{left:75%;top:5%}.practice-roll .portrait{animation:roll-uphill 1.8s ease-in-out both}.setup-practice p{font-size:14px;min-height:42px}.setup-summary{border:1px solid #e4d9ec;padding:14px 18px;border-radius:12px;margin-top:20px}.setup-summary p{font-size:13px;margin:6px 0}.setup-summary p:first-child{font-size:18px;font-weight:700;color:#76568f}#setup-error{color:#a03b3b;font-size:14px}.quick-start{padding-left:24px}.quick-start li{padding:10px 0;font-size:15px;line-height:1.65}.quick-start b{display:block;color:#76568f}@media(max-width:600px){.setup-dialog{padding:20px}.setup-dialog h2{font-size:28px}.setup-rock-list{grid-template-columns:1fr}.setup-footer .button,.setup-footer .secondary{font-size:13px;padding:12px}.practice-rock,.practice-rock .portrait{width:65px}}@media(prefers-reduced-motion:reduce){.practice-rock{transition:none}.practice-roll .portrait{animation:none}}
