.hub-root{--hub-main:#7bd72c;--hub-edge:#4b981b;--hub-wash:#eaf7dd;--hub-text:#32651b;--hub-ink:#203c13;--primary:var(--hub-text);--primary-foreground:#fff;--ring:var(--hub-text);--action:var(--hub-main);--action-text:var(--hub-ink);--action-edge:var(--hub-edge);--action-hover:color-mix(in oklab, var(--hub-main) 88%, white);--accent:var(--hub-wash);--accent-foreground:var(--hub-text);--accent-surface:var(--hub-wash);--accent-surface-foreground:var(--hub-text);--sidebar-accent:var(--hub-wash);--sidebar-accent-foreground:var(--hub-text);--study-wash:var(--hub-wash);--study-wash-border:color-mix(in oklab, var(--hub-main) 28%, var(--background));accent-color:var(--primary)}.hub-root[data-color]:not([data-color=green]){--hub-ink:#09060f}.hub-root[data-color=blue]{--hub-main:#1c9be6;--hub-edge:#1378b4;--hub-wash:#e3f3fd;--hub-text:#126b9f}.hub-root[data-color=purple]{--hub-main:#8d5fe0;--hub-edge:#6a40b8;--hub-wash:#efe8fc;--hub-text:#6a40b8}.hub-root[data-color=orange]{--hub-main:#f08a24;--hub-edge:#c46a10;--hub-wash:#fdeedd;--hub-text:#98500a}.hub-root[data-color=pink]{--hub-main:#e4569a;--hub-edge:#b93a77;--hub-wash:#fce6f0;--hub-text:#a32d67}.hub-root[data-color=teal]{--hub-main:#13a89e;--hub-edge:#0d7d75;--hub-wash:#dcf5f3;--hub-text:#096d66}.hub-root[data-color=yellow]{--hub-main:#e9b20c;--hub-edge:#b68905;--hub-wash:#fdf4d6;--hub-text:#806000}.hub-root[data-color=red]{--hub-main:#e5484d;--hub-edge:#b8343a;--hub-wash:#fde4e4;--hub-text:#b12b31}.dark .hub-root{--hub-wash:color-mix(in oklab, var(--hub-main) 18%, var(--background));--hub-text:color-mix(in oklab, var(--hub-main) 72%, white);--primary-foreground:var(--hub-ink)}.hub-root [data-slot=progress-indicator]{background:var(--hub-main)}.hub-root :where(button,a):focus-visible{outline:2px solid var(--ring);outline-offset:3px}.hub-swatch{background:var(--hub-main);box-shadow:none}.hub-color-radio{cursor:pointer;border:1px solid color-mix(in oklab, var(--hub-main) 85%, var(--foreground))}.hub-color-radio:checked{box-shadow:0 0 0 2px var(--background), 0 0 0 4px var(--foreground)}.hub-color-radio:focus-visible{outline:2px solid var(--ring);outline-offset:6px}.hub-course-name[data-rotating=true]::placeholder{animation:3s ease-in-out infinite hub-name-cycle}@keyframes hub-name-cycle{0%,to{opacity:0}12%,84%{opacity:1}}.hub-root[data-course-hub-page]{container-type:inline-size}.hub-header-row{grid-template-columns:44px minmax(140px,max-content) minmax(0,1fr) 92px;align-items:center;gap:8px;min-width:0;display:grid}.hub-title-button{border-radius:var(--control-radius);width:100%;min-width:0;max-width:240px;height:44px;font-family:var(--font-heading);gap:.5rem;padding-inline:.875rem;font-size:.9375rem;font-weight:800}.hub-title-button[data-state=open]{background:var(--action-hover)}.hub-back,.hub-header-actions>button,.hub-header-actions>[data-slot=dropdown-menu-trigger]{border-radius:var(--control-radius);width:44px;height:44px}.hub-section-navigation{align-items:center;gap:4px;min-width:0;display:flex}.hub-nav-viewport{flex:1;min-width:0;position:relative}.hub-nav-viewport:before,.hub-nav-viewport:after{content:"";z-index:1;pointer-events:none;opacity:0;width:18px;position:absolute;top:0;bottom:0}.hub-nav-viewport:before{background:linear-gradient(to right, var(--background), transparent);left:0}.hub-nav-viewport:after{background:linear-gradient(to left, var(--background), transparent);right:0}.hub-nav-viewport[data-fade-start=true]:before,.hub-nav-viewport[data-fade-end=true]:after{opacity:1}.hub-nav{scroll-snap-type:x proximity;scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;padding:5px;scroll-padding-inline:5px;display:flex;overflow-x:auto}.hub-nav::-webkit-scrollbar{display:none}.hub-nav-link{border-radius:var(--control-radius);scroll-snap-align:start;min-width:44px;height:44px;color:var(--muted-foreground);flex-shrink:0;justify-content:center;align-items:center;gap:.4rem;padding:0 .75rem;font-size:.8125rem;font-weight:650;text-decoration:none;transition:background-color .15s,color .15s;display:inline-flex}.hub-nav-link:hover{color:var(--foreground);background:var(--muted)}.hub-nav-link[aria-current=page],.hub-launcher[data-active=true]{color:var(--hub-text);background:var(--hub-wash)}.hub-nav-link svg{width:17px;height:17px}.hub-nav-count{font-variant-numeric:tabular-nums;font-size:.6875rem}.hub-launcher{flex:0 0 44px}.hub-launcher-popover{width:320px}.hub-launcher-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.hub-launcher-section{border-radius:var(--control-radius);min-height:82px;color:var(--muted-foreground);flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:10px 2px;font-size:.75rem;font-weight:600;display:flex;position:relative}.hub-launcher-section>svg{width:22px;height:22px}.hub-launcher-section:hover{background:var(--muted);color:var(--foreground)}.hub-launcher-section[aria-current=page]{background:var(--hub-wash);color:var(--hub-text)}.hub-launcher-section .hub-launcher-pin{width:10px;height:10px;position:absolute;top:6px;right:6px}.hub-nav-customize{gap:16px;max-height:calc(100dvh - 32px);overflow-y:auto}.hub-unit-selector{width:290px;max-height:min(600px, var(--radix-popover-content-available-height));padding:6px;overflow-y:auto}.hub-unit-options{max-height:240px;overflow-y:auto}.hub-unit-options button[aria-pressed=true]{background:var(--hub-wash);color:var(--hub-text)}@container (width>=601px) and (width<=850px){.hub-nav-label,.hub-nav-count{display:none}.hub-nav-link{padding-inline:12px}.hub-title-button{max-width:210px}}@container (width<=600px){.hub-header-row{grid-template-columns:44px minmax(0,1fr) 92px;gap:4px}.hub-title-button{max-width:none}.hub-header-actions{grid-area:1/3}.hub-section-navigation{grid-area:2/1/auto/-1}}@media (prefers-reduced-motion:reduce){.hub-nav-link{transition:none}}.lucid-workspace[data-reduce-motion=true] .hub-nav-link{transition:none}.hub-scope-chip{background:var(--hub-wash);color:var(--hub-text);border-radius:999px;align-items:center;gap:.25rem;padding:.125rem .5rem .125rem .625rem;font-size:.75rem;font-weight:700;display:inline-flex}.hub-unit-banner{background:var(--hub-main);color:var(--hub-ink);box-shadow:0 4px 0 var(--hub-edge);border-radius:18px;padding:18px 20px 20px;position:relative;overflow:hidden}.hub-unit-title{font-family:var(--font-heading);overflow-wrap:anywhere;margin-top:2px;font-size:1.375rem;font-weight:800;line-height:1.2}.hub-unit-banner[data-legendary=true]{color:#4a3300;background:#ffc800;box-shadow:0 4px #c28a00}.hub-unit-banner[data-legendary=true] .hub-guide{border-color:oklab(33.8944% .0110904 .0691471/.35)}.hub-unit-banner .hub-unit-eyebrow{letter-spacing:.06em;text-transform:uppercase;opacity:.8;font-size:.8125rem;font-weight:800}.hub-unit-banner .hub-guide{border:2px solid color-mix(in oklab, var(--hub-ink) 35%, transparent);height:44px;color:inherit;letter-spacing:.06em;text-transform:uppercase;box-shadow:0 3px 0 color-mix(in oklab, var(--hub-ink) 22%, transparent);background:0 0;border-radius:14px;flex-shrink:0;gap:.5rem;padding-inline:14px;font-size:.8125rem;font-weight:800}.hub-unit-banner .hub-guide:active{box-shadow:0 1px 0 color-mix(in oklab, var(--hub-ink) 22%, transparent);transform:translateY(2px)}.hub-unit-banner .hub-guide:hover{background:color-mix(in oklab, var(--hub-ink) 14%, transparent)}.hub-unit-banner [data-slot=progress]{background:color-mix(in oklab, var(--hub-edge) 70%, black 10%)}.hub-unit-banner [data-slot=progress-indicator]{background:var(--hub-ink)}.hub-unit-banner[data-muted=true]{background:var(--muted);color:var(--foreground);box-shadow:0 4px 0 var(--border)}.hub-trail{flex-direction:column;align-items:center;gap:48px;padding:64px 0 48px;display:flex;position:relative}.hub-stone-row{justify-content:center;width:100%;height:118px;display:flex;position:relative}.hub-stone-wrap{height:fit-content;transform:translateX(calc(var(--offset,0) * 46px));align-self:flex-start;position:relative}@media (width<=420px){.hub-stone-wrap{transform:translateX(calc(var(--offset,0) * 30px))}}.hub-stone{--stone-edge:var(--border);background:var(--muted);width:72px;height:73px;color:color-mix(in oklab, var(--muted-foreground) 70%, transparent);box-shadow:inset 0 -7px 0 var(--stone-edge);border-radius:50%;place-items:center;padding-bottom:7px;display:grid;position:relative}.hub-stone svg{stroke-width:2.5px;width:32px;height:32px;color:var(--stone-icon,#fff);filter:drop-shadow(0 2px 0 color-mix(in oklab, var(--stone-edge) 85%, transparent))}.hub-stone[data-kind=lesson] svg.lucide-star,.hub-stone svg.lucide-star{fill:currentColor}.hub-stone:active{box-shadow:inset 0 -2px 0 var(--stone-edge);clip-path:inset(5px 0 0 round 50%);padding-top:5px;padding-bottom:2px}.hub-stone[data-state=done],.hub-stone[data-state=current],.hub-stone[data-state=open]{--stone-edge:var(--hub-edge);background:var(--hub-main)}.hub-stone[data-state=upcoming],.hub-stone[data-state=locked]{--stone-edge:color-mix(in oklab, var(--muted-foreground) 32%, var(--muted));background:var(--muted)}.hub-stone[data-state=upcoming] svg,.hub-stone[data-state=locked] svg{color:color-mix(in oklab, var(--muted-foreground) 75%, var(--muted));filter:none}.hub-stone[data-kind=milestone],.hub-stone[data-kind=quiz],.hub-stone[data-kind=test]{border-radius:22px;width:76px}.hub-stone[data-kind=milestone]:active,.hub-stone[data-kind=quiz]:active,.hub-stone[data-kind=test]:active{clip-path:inset(5px 0 0 round 22px)}.hub-stone-ring{pointer-events:none;width:92px;height:92px;position:absolute;top:-10px;left:-10px;overflow:visible;transform:rotate(-90deg)}.hub-stone-ring circle{fill:none;stroke:color-mix(in oklab, var(--muted-foreground) 18%, var(--background));stroke-width:7px;stroke-linecap:round;transition:stroke .24s}.hub-stone-ring circle[data-part=done]{stroke:var(--hub-main)}.hub-stone-ring circle[data-part=started]{stroke:color-mix(in oklab, var(--hub-main) 45%, var(--background))}.hub-start-bubble{white-space:nowrap;border:2px solid var(--border);background:var(--card);letter-spacing:.04em;text-transform:uppercase;color:var(--hub-text);border-radius:12px;padding:6px 12px;font-size:.8125rem;font-weight:800;animation:1.6s ease-in-out infinite hub-bob;position:absolute;bottom:calc(100% + 18px);left:50%;translate:-50%}.hub-start-bubble:after{content:"";background:var(--card);border-right:2px solid var(--border);border-bottom:2px solid var(--border);width:12px;height:12px;position:absolute;top:100%;left:50%;translate:-50% -6px;rotate:45deg}@keyframes hub-bob{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.hub-stone-label{-webkit-line-clamp:2;text-align:center;width:max-content;max-width:180px;color:var(--muted-foreground);-webkit-box-orient:vertical;font-size:.75rem;font-weight:650;line-height:1.2;display:-webkit-box;position:absolute;top:calc(100% + 8px);left:50%;overflow:hidden;translate:-50%}.hub-stone-row:hover .hub-stone-label,.hub-stone-wrap:focus-within .hub-stone-label{color:var(--foreground)}.hub-aside{align-items:center;gap:8px;max-width:min(240px,38vw);display:flex;position:absolute;top:50%;translate:0 -50%}.hub-aside[data-side=right]{left:calc(50% + 90px)}.hub-aside[data-side=left]{text-align:right;flex-direction:row-reverse;right:calc(50% + 90px)}.hub-aside-character{flex-shrink:0;width:88px;height:88px;transition:transform .16s}.hub-aside button:hover .hub-aside-character{transform:translateY(-3px)rotate(-3deg)}.hub-aside-bubble{border:2px solid var(--border);background:var(--card);color:var(--muted-foreground);border-radius:14px;padding:8px 10px;font-size:.75rem;line-height:1.35;display:none}@media (width<=520px){.hub-aside-character{width:64px;height:64px}.hub-aside[data-side=right]{left:calc(50% + 64px)}.hub-aside[data-side=left]{right:calc(50% + 64px)}}.hub-choice{border:2px solid var(--border);background:var(--card);text-align:left;border-bottom-width:4px;border-radius:14px;align-items:center;gap:12px;width:100%;padding:12px 14px;font-weight:600;display:flex}.hub-choice:hover:not(:disabled){background:var(--muted)}.hub-choice[data-selected=true]{border-color:var(--hub-main);background:var(--hub-wash)}.hub-choice[data-result=correct]{border-color:var(--hub-main);background:var(--hub-wash);color:var(--hub-text)}.hub-choice[data-result=wrong]{color:#8c1d22;background:#fde4e4;border-color:#e5484d}.dark .hub-choice[data-result=wrong]{color:#ffc1c3;background:#4a1f21}.hub-choice-key{border:2px solid var(--border);width:28px;height:28px;color:var(--muted-foreground);border-radius:8px;flex-shrink:0;place-items:center;font-size:.75rem;font-weight:800;display:grid}.hub-primary{font-weight:800}.hub-course-card{border:2px solid var(--border);background:var(--card);text-align:left;border-bottom-width:5px;border-radius:22px;flex-direction:column;gap:14px;padding:18px;transition:border-color .14s,transform .14s;display:flex;position:relative}.hub-course-card:hover{border-color:var(--hub-main)}.hub-course-card:active{transform:translateY(2px)}.hub-course-badge{background:var(--hub-main);width:52px;height:52px;color:var(--hub-ink);box-shadow:0 4px 0 var(--hub-edge);border-radius:16px;place-items:center;display:grid}.hub-course-badge svg{width:26px;height:26px}.hub-item-icon{background:var(--hub-wash);width:40px;height:40px;color:var(--hub-text);border-radius:12px;flex-shrink:0;place-items:center;display:grid}.hub-item-icon svg{width:19px;height:19px}.hub-dropzone[data-active=true]{outline:3px dashed var(--hub-main);outline-offset:6px;border-radius:18px}@media (prefers-reduced-motion:reduce){.hub-start-bubble,.hub-course-name::placeholder{animation:none}.hub-aside-character,.hub-course-card{transition:none}}.lucid-workspace[data-reduce-motion=true] .hub-start-bubble{animation:none}.hub-stone-wrap[data-selected=true] .hub-start-bubble{animation-play-state:paused}.hub-day-guide{overflow-wrap:anywhere}.hub-unit-banner button:focus-visible,.hub-aside button:focus-visible,.hub-stone:focus-visible{outline:3px solid var(--ring);outline-offset:5px}@media (width<=520px){.hub-stone-label{max-width:144px}.hub-aside{top:0;translate:none}}.hub-topbar{z-index:20;background:color-mix(in oklab, var(--background) 92%, transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding-block:12px;position:sticky;top:0}.hub-topbar:after{content:"";background:var(--border);pointer-events:none;height:1px;position:absolute;bottom:0;left:-100vw;right:-100vw}.hub-topbar:before{content:"";z-index:-1;background:inherit;-webkit-backdrop-filter:inherit;backdrop-filter:inherit;position:absolute;inset:0 -100vw}@media (width>=768px){.hub-topbar{margin-top:-32px;padding-top:16px}}.hub-stone[data-legendary=true]{--stone-edge:#c28a00;background:#ffc800}.hub-root[data-color=yellow] .hub-stone,[data-color=yellow] .hub-stone{--stone-icon:var(--hub-ink)}.hub-stone[data-legendary=true]{--stone-icon:#fff}.hub-node-popover{background:var(--hub-main);width:min(19rem,100vw - 2rem);color:var(--hub-ink);box-shadow:0 5px 0 var(--hub-edge), 0 14px 28px -8px color-mix(in oklab, var(--hub-edge) 55%, transparent);transform-origin:var(--radix-popover-content-transform-origin);border:0;border-radius:20px;padding:0}.hub-node-popover[data-state=open]{animation:.18s cubic-bezier(.2,.9,.3,1.2) hub-pop}@keyframes hub-pop{0%{opacity:0;transform:translateY(-6px)scale(.94)}}.hub-node-scroll{max-height:calc(var(--radix-popover-content-available-height) - 16px);border-radius:inherit;padding:18px 18px 20px;overflow-y:auto}.hub-node-arrow{fill:var(--hub-main)}.hub-node-title{font-family:var(--font-heading);overflow-wrap:anywhere;font-size:1.125rem;font-weight:800;line-height:1.2}.hub-node-meta{opacity:.8;margin-top:2px;font-size:.875rem;font-weight:600}.hub-node-more{width:32px;height:32px;color:inherit;opacity:.75;border-radius:10px;flex-shrink:0;place-items:center;transition:opacity .12s,background-color .12s;display:grid}.hub-node-more:hover{opacity:1;background:color-mix(in oklab, var(--hub-ink) 12%, transparent)}.hub-node-more svg{width:20px;height:20px}.hub-node-popover .hub-node-action{width:100%;height:48px;color:color-mix(in oklab, var(--hub-edge) 72%, black);letter-spacing:.06em;text-transform:uppercase;box-shadow:0 4px 0 color-mix(in oklab, var(--hub-edge) 22%, white);background:#fff;border:0;border-radius:14px;margin-top:16px;font-size:.9375rem;font-weight:800;display:flex}.hub-node-popover .hub-node-action:hover{background:color-mix(in oklab, var(--hub-main) 8%, white);color:color-mix(in oklab, var(--hub-edge) 72%, black)}.hub-node-popover .hub-node-action:active{box-shadow:0 1px 0 color-mix(in oklab, var(--hub-edge) 22%, white);transform:translateY(3px)}.hub-node-link{text-underline-offset:3px;font-size:.875rem;font-weight:800;text-decoration:underline}.hub-node-parts{margin-top:14px}.hub-node-parts summary{cursor:pointer;letter-spacing:.06em;text-transform:uppercase;opacity:.85;border-radius:6px;width:fit-content;font-size:.75rem;font-weight:800}.hub-node-parts ol{flex-direction:column;gap:6px;margin-top:8px;display:flex}.hub-node-parts li{align-items:center;gap:4px;display:flex}.hub-node-part{text-align:left;background:oklab(100% 0 5.96046e-8/.3);border-radius:12px;flex:1;align-items:center;gap:8px;min-width:0;padding:8px 12px;font-size:.875rem;font-weight:700;display:flex}.hub-node-part:hover:not(:disabled){background:oklab(100% 0 5.96046e-8/.48)}.hub-node-part:disabled{opacity:.55}.hub-node-popover button:focus-visible,.hub-node-popover summary:focus-visible{outline:3px solid var(--hub-ink);outline-offset:2px}@media (prefers-reduced-motion:reduce){.hub-node-popover[data-state=open]{animation:none}.hub-stone-ring circle{transition:none}}.lucid-workspace[data-reduce-motion=true] .hub-stone-ring circle{transition:none}.hub-stone-row:has(.hub-start-bubble){margin-top:24px}.hub-node-popover[data-legendary=true]{color:#4a3300;background:#ffc800;box-shadow:0 5px #c28a00,0 14px 28px -8px #c28a0080}.hub-node-popover[data-legendary=true] .hub-node-arrow{fill:#ffc800}.hub-node-popover[data-legendary=true] .hub-node-action{color:#8a5d00}.hub-node-popover .hub-node-action[data-tone=legendary]{color:#6b4700;background:linear-gradient(135deg,#ffd84a,#ffb800);margin-top:10px;box-shadow:0 4px #c28a00}.hub-node-popover .hub-node-action[data-tone=legendary]:hover{color:#6b4700;background:linear-gradient(135deg,#ffe068,#ffc21a)}.hub-node-popover .hub-node-action[data-tone=legendary]:active{box-shadow:0 1px #c28a00}.hub-stone[data-extra=chest],.hub-stone[data-extra=chest]:active{width:84px;height:84px;box-shadow:none;clip-path:none;background:0 0;border-radius:16px;padding:0}.hub-stone[data-extra=chest] svg{width:84px;height:84px;stroke-width:initial;filter:none;color:inherit}.hub-stone[data-extra=chest]:active svg{transform:translateY(3px)}:is(.hub-stone[data-extra=chest]+*,.hub-stone-wrap:has([data-extra=chest]) .hub-stone-label){top:calc(100% + 2px)}
