@import "https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@400;500;700&family=Noto+Serif+SC:wght@400;600&display=swap";.react-flow{--xy-edge-stroke-default:#b1b1b7;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#555;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#ffffff80;--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:#f0f0f099;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#e2e2e2;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:transparent;--xy-background-pattern-dots-color-default:#91919a;--xy-background-pattern-lines-color-default:#eee;--xy-background-pattern-cross-color-default:#e2e2e2;background-color:var(--xy-background-color,var(--xy-background-color-default));--xy-node-color-default:inherit;--xy-node-border-default:1px solid #1a192b;--xy-node-background-color-default:#fff;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #00000014;--xy-node-boxshadow-selected-default:0 0 0 .5px #1a192b;--xy-node-border-radius-default:3px;--xy-handle-background-color-default:#1a192b;--xy-handle-border-color-default:#fff;--xy-selection-background-color-default:#0059dc14;--xy-selection-border-default:1px dotted #0059dccc;--xy-controls-button-background-color-default:#fefefe;--xy-controls-button-background-color-hover-default:#f4f4f4;--xy-controls-button-color-default:inherit;--xy-controls-button-color-hover-default:inherit;--xy-controls-button-border-color-default:#eee;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9;direction:ltr}.react-flow.dark{--xy-edge-stroke-default:#3e3e3e;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#727272;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#96969640;--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:#3c3c3c99;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#2b2b2b;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:#141414;--xy-background-pattern-dots-color-default:#777;--xy-background-pattern-lines-color-default:#777;--xy-background-pattern-cross-color-default:#777;--xy-node-color-default:#f8f8f8;--xy-node-border-default:1px solid #3c3c3c;--xy-node-background-color-default:#1e1e1e;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #ffffff14;--xy-node-boxshadow-selected-default:0 0 0 .5px #999;--xy-handle-background-color-default:#bebebe;--xy-handle-border-color-default:#1e1e1e;--xy-selection-background-color-default:#c8c8dc14;--xy-selection-border-default:1px dotted #c8c8dccc;--xy-controls-button-background-color-default:#2b2b2b;--xy-controls-button-background-color-hover-default:#3e3e3e;--xy-controls-button-color-default:#f8f8f8;--xy-controls-button-color-hover-default:#fff;--xy-controls-button-border-color-default:#5b5b5b;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#141414;--xy-edge-label-color-default:#f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props,var(--xy-background-color,var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1;touch-action:none}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width,var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke,var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width,var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{pointer-events:none;position:absolute;overflow:visible}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected,var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:.5s linear infinite dashdraw}svg.react-flow__connectionline{z-index:1001;position:absolute;overflow:visible}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{-webkit-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default;position:absolute}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;background-color:var(--xy-handle-background-color,var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color,var(--xy-handle-border-color-default));border-radius:100%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:0;left:50%;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{z-index:5;margin:15px;position:absolute}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px)translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px)translateY(-50%)}.react-flow__attribution{background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));margin:0;padding:2px 3px;font-size:10px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10px}}.react-flow__edgelabel-renderer{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__viewport-portal{-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__minimap{background:var(--xy-minimap-background-color-props,var(--xy-minimap-background-color,var(--xy-minimap-background-color-default)))}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var(--xy-minimap-mask-background-color-props,var(--xy-minimap-mask-background-color,var(--xy-minimap-mask-background-color-default)));stroke:var(--xy-minimap-mask-stroke-color-props,var(--xy-minimap-mask-stroke-color,var(--xy-minimap-mask-stroke-color-default)));stroke-width:var(--xy-minimap-mask-stroke-width-props,var(--xy-minimap-mask-stroke-width,var(--xy-minimap-mask-stroke-width-default)))}.react-flow__minimap-node{fill:var(--xy-minimap-node-background-color-props,var(--xy-minimap-node-background-color,var(--xy-minimap-node-background-color-default)));stroke:var(--xy-minimap-node-stroke-color-props,var(--xy-minimap-node-stroke-color,var(--xy-minimap-node-stroke-color-default)));stroke-width:var(--xy-minimap-node-stroke-width-props,var(--xy-minimap-node-stroke-width,var(--xy-minimap-node-stroke-width-default)))}.react-flow__background-pattern.dots{fill:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-dots-color-default)))}.react-flow__background-pattern.lines{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-lines-color-default)))}.react-flow__background-pattern.cross{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-cross-color-default)))}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default));flex-direction:column;display:flex}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border:none;border-bottom:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)));width:26px;height:26px;color:var(--xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default)));cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;padding:4px;display:flex}.react-flow__controls-button svg{fill:currentColor;width:100%;max-width:12px;max-height:12px}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));width:150px;color:var(--xy-node-color,var(--xy-node-color-default));text-align:center;border:var(--xy-node-border,var(--xy-node-border-default));background-color:var(--xy-node-background-color,var(--xy-node-background-color-default));padding:10px;font-size:12px}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover,var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected,var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color,var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color,var(--xy-selection-background-color-default));border:var(--xy-selection-border,var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var(--xy-controls-button-background-color-hover-props,var(--xy-controls-button-background-color-hover,var(--xy-controls-button-background-color-hover-default)));color:var(--xy-controls-button-color-hover-props,var(--xy-controls-button-color-hover,var(--xy-controls-button-color-hover-default)))}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)))}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border:1px solid #fff;border-radius:1px;width:5px;height:5px;translate:-50% -50%}.react-flow__resize-control.handle.left{top:50%;left:0}.react-flow__resize-control.handle.right{top:50%;left:100%}.react-flow__resize-control.handle.top{top:0;left:50%}.react-flow__resize-control.handle.bottom{top:100%;left:50%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border-style:solid;border-width:0}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;height:100%;top:0;transform:translate(-50%)}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{width:100%;height:1px;left:0;transform:translateY(-50%)}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color,var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color,var(--xy-edge-label-color-default))}:root{color:#1f2937;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#fff;font-family:Outfit,Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.5}.full-piano-keyboard{width:100%}.full-piano-keyboard__thumbnail{opacity:.72;background:#f8fafc;border:1px solid #0000;border-radius:8px;height:58px;margin-bottom:8px;transition:opacity .18s,border-color .18s,box-shadow .18s;position:relative;overflow:hidden}.full-piano-keyboard__thumbnail--active,.full-piano-keyboard__thumbnail:hover,.full-piano-keyboard__thumbnail:focus-within{opacity:1}.full-piano-keyboard__thumbnail-svg{width:100%;height:100%;display:block}.full-piano-keyboard__zone{color:#475569;cursor:pointer;background:#ffffff2e;border:1px solid #64748b47;border-radius:7px;height:50px;padding:0;font-size:10px;font-weight:800;transition:border-color .16s,background .16s,color .16s;top:4px}.full-piano-keyboard__zone--selected{color:#1d4ed8;background:#dbeafe8c;border-color:#2563eb;outline:none}@media (hover:hover) and (pointer:fine){.full-piano-keyboard__zone:hover,.full-piano-keyboard__zone:focus-visible{color:#1d4ed8;background:#dbeafe8c;border-color:#2563eb;outline:none}}.full-piano-keyboard__zone span{pointer-events:none;line-height:1;position:absolute;bottom:-1px;left:0;right:0}.full-piano-keyboard__viewport{opacity:0;pointer-events:none;background:#2563eb1a;border:1.5px solid #2563eb47;border-radius:8px;height:48px;transition:left 80ms linear,width 80ms linear,opacity .14s,border-color .14s,background .14s,box-shadow .14s;position:absolute;top:5px;box-shadow:0 0 0 1px #2563eb0a}.full-piano-keyboard__viewport--subtle{opacity:.42}.full-piano-keyboard__viewport--visible{opacity:1;background:#2563eb29;border-color:#2563ebad;box-shadow:0 0 0 2px #2563eb14}.full-piano-keyboard__scroll{-webkit-overflow-scrolling:touch;touch-action:pan-x;-webkit-user-select:none;user-select:none;width:100%;max-width:2288px;transition:opacity .2s;overflow:auto hidden}body{min-height:100vh;margin:0;padding:0}*{box-sizing:border-box}button{font-family:inherit}.account-button,.account-icon-button,.auth-icon-button,.auth-submit,.cms-auth-panel button{cursor:pointer;border:none}.account-button{color:#fff;background:#2563eb;border-radius:8px;align-items:center;gap:6px;padding:8px 12px;font-size:.9rem;font-weight:700;display:inline-flex}.account-menu{align-items:center;gap:8px;display:inline-flex;position:relative}.account-chip{color:#92400e;text-overflow:ellipsis;white-space:nowrap;background:#fef9e7;border:1px solid #fbbf24;border-radius:999px;align-items:center;gap:6px;max-width:180px;padding:7px 10px;font-size:.85rem;font-weight:700;display:inline-flex;overflow:hidden}.account-icon-button,.auth-icon-button{color:#374151;background:#f3f4f6;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.account-loading,.account-error{color:#6b7280;font-size:.8rem}.account-error{color:#dc2626;text-align:right;width:220px;position:absolute;top:38px;right:0}.auth-page{background:linear-gradient(135deg,#fdfbfb 0%,#ebedee 100%);justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex;transform:translateZ(0)}.auth-page-card{contain:layout style paint;background:#fff;border-radius:12px;flex-direction:column;gap:16px;width:min(100%,420px);padding:28px;display:flex;box-shadow:0 24px 80px #0f172a1f}.auth-page-header{flex-direction:column;gap:4px;display:flex}.auth-page-header h1{color:#111827;margin:0;font-size:1.5rem;font-weight:800}.auth-page-header p{color:#6b7280;margin:0;font-size:.9rem}.auth-back-link{color:#6b7280;align-items:center;gap:4px;margin-bottom:8px;font-size:.88rem;font-weight:500;text-decoration:none;display:inline-flex}.auth-back-link:hover{color:#2563eb}.auth-page-card form{flex-direction:column;gap:16px;display:flex}.auth-forgot-link{color:#6b7280;cursor:pointer;background:0 0;border:none;align-items:center;gap:4px;padding:0;font-family:inherit;font-size:.88rem;display:inline-flex}.auth-forgot-link:hover{color:#2563eb}.auth-tabs{grid-template-columns:1fr 1fr;gap:8px;display:grid}.auth-tabs button{color:#374151;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:10px;font-weight:700;display:inline-flex}.auth-tabs button.active{color:#1d4ed8;background:#eff6ff;border-color:#2563eb}.auth-field{color:#374151;flex-direction:column;gap:6px;font-size:.9rem;font-weight:700;display:flex}.auth-field input{width:100%;font:inherit;color:#111827;border:1px solid #d1d5db;border-radius:8px;padding:11px 12px}.auth-field input:focus{border-color:#2563eb;outline:3px solid #dbeafe}.auth-submit{color:#fff;background:#2563eb;border-radius:8px;padding:12px 16px;font-size:1rem;font-weight:800}.auth-submit:disabled{cursor:not-allowed;background:#9ca3af}.auth-message,.auth-warning{color:#b91c1c;background:#fef2f2;border-radius:8px;margin:0;padding:10px 12px;font-size:.88rem}.auth-message.success{color:#047857;background:#ecfdf5}.auth-warning{color:#92400e;background:#fffbeb}.cms-auth-state{background:#f8fafc;justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.cms-auth-panel{background:#fff;border:1px solid #e5e7eb;border-radius:8px;flex-direction:column;align-items:flex-start;gap:14px;width:min(100%,440px);padding:28px;display:flex;box-shadow:0 20px 60px #0f172a14}.cms-auth-panel h1,.cms-auth-panel p{margin:0}.cms-auth-panel h1{color:#111827;font-size:1.5rem}.cms-auth-panel p{color:#4b5563}.cms-auth-panel button,.cms-auth-panel a{color:#fff;background:#2563eb;border-radius:8px;justify-content:center;align-items:center;min-height:40px;padding:0 14px;font-weight:800;text-decoration:none;display:inline-flex}.cms-auth-panel a{color:#374151;background:#f3f4f6}.client-layout{contain:layout style paint;background:linear-gradient(135deg,#fdfbfb 0%,#ebedee 100%);flex-direction:column;min-height:100vh;display:flex;transform:translateZ(0)}.client-header{background:#ffffffd9;justify-content:space-between;align-items:center;padding:20px 40px;display:flex;box-shadow:0 4px 6px #0000000d}.client-logo{color:#3b82f6;letter-spacing:-.5px;font-size:1.5rem;font-weight:800;text-decoration:none}.client-header-right{align-items:center;gap:15px;display:flex}.client-main{flex-direction:column;flex:1;padding:40px;display:flex}.client-feedback-wrapper{text-align:center;padding:16px}.client-feedback-btn{color:#9ca3af;cursor:pointer;background:0 0;border:none;font-family:inherit;font-size:12px;text-decoration:none}.client-feedback-btn:hover{text-decoration:underline}.client-soft-button{color:#4b5563;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:999px;align-self:flex-start;min-height:38px;padding:8px 14px;font-size:.95rem;font-weight:700;box-shadow:0 2px 6px #0f172a0a}.learning-home,.free-page,.adventure-page{width:100%;max-width:980px;margin:0 auto}.learning-home{flex-direction:column;flex:1;justify-content:center;gap:36px;display:flex}.learning-home-heading,.free-header,.adventure-header{flex-direction:column;gap:12px;display:flex}.learning-home-heading span,.free-kicker,.adventure-kicker{color:#64748b;letter-spacing:0;background:#fff;border-radius:999px;align-items:center;gap:8px;width:fit-content;padding:7px 12px;font-size:.82rem;font-weight:800;display:inline-flex;box-shadow:0 2px 10px #0f172a0d}.learning-home-heading h1,.free-header h1,.adventure-title-block h1{color:#111827;letter-spacing:0;margin:0;font-size:2.6rem;font-weight:800;line-height:1.08}.free-header p,.adventure-title-block p{color:#64748b;max-width:620px;margin:0;font-size:1rem}.learning-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;display:grid}.learning-entry-card,.free-card{text-align:left;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:28px;align-items:center;gap:18px;width:100%;min-height:180px;padding:28px;transition:transform .2s,box-shadow .2s,border-color .2s;display:flex;box-shadow:0 12px 36px #0f172a0f}.learning-entry-card:hover,.free-card:hover{border-color:color-mix(in srgb, var(--entry-color,var(--module-color)) 30%, #e5e7eb);transform:translateY(-4px);box-shadow:0 18px 44px #0f172a1a}.learning-entry-icon,.free-icon{background:var(--entry-bg,var(--module-bg));width:88px;height:88px;color:var(--entry-color,var(--module-color));border-radius:24px;flex:none;justify-content:center;align-items:center;display:inline-flex}.learning-entry-copy,.free-card-body{flex-direction:column;gap:4px;min-width:0;display:flex}.learning-entry-copy strong,.free-card-body strong{color:#111827;font-size:1.55rem;font-weight:800;line-height:1.15}.learning-entry-copy small,.free-card-body small{color:var(--entry-color,var(--module-color));font-size:.82rem;font-style:normal;font-weight:800}.learning-entry-copy em,.free-card-body em{color:#64748b;margin-top:6px;font-size:.95rem;font-style:normal;line-height:1.45}.free-page,.adventure-page{flex-direction:column;gap:28px;display:flex}.free-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.free-card{min-height:170px}.adventure-game-page{flex-direction:column;gap:24px;width:min(100%,1080px);margin:0 auto;display:flex}.adventure-game-hero{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:24px;display:grid}.adventure-game-copy{flex-direction:column;gap:12px;display:flex}.adventure-game-copy h1{color:#111827;margin:0;font-size:3rem;font-weight:900;line-height:1}.adventure-game-copy p{color:#64748b;max-width:620px;margin:0;font-size:1rem}.adventure-game-progress{background:#fff;border:1px solid #bfdbfe;border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;min-width:250px;padding:14px;display:grid;box-shadow:0 12px 30px #2563eb1a}.adventure-progress-medal{color:#b45309;background:#fef3c7;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;display:inline-flex}.adventure-game-progress strong{color:#111827;font-size:1.45rem;line-height:1;display:block}.adventure-game-progress span{color:#64748b;margin-top:3px;font-size:.82rem;font-weight:800;display:block}.adventure-game-progress-bar{background:#e5e7eb;border-radius:999px;height:9px;margin-top:9px;overflow:hidden}.adventure-game-progress-bar>div{border-radius:inherit;background:#2563eb;height:100%}.adventure-quest-board{background:linear-gradient(#eff6fff5,#f8fafcfa),radial-gradient(circle at 12% 18%,#2563eb1f,#0000 28%),radial-gradient(circle at 88% 72%,#16a34a1c,#0000 28%);border:1px solid #dbeafe;border-radius:8px;flex-direction:column;gap:18px;padding:22px;display:flex;position:relative;box-shadow:0 18px 44px #0f172a14}.adventure-quest-board:before{content:"";background:linear-gradient(#93c5fd,#bfdbfe);border-radius:999px;width:6px;position:absolute;top:64px;bottom:64px;left:70px}.adventure-quest-card{z-index:1;color:#111827;text-align:left;background:#fffffff0;border:1px solid #e5e7eb;border-radius:16px;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;gap:18px;width:100%;min-height:130px;padding:20px 22px 20px 12px;transition:transform .2s,box-shadow .2s,border-color .2s;display:grid;position:relative;box-shadow:0 12px 30px #0f172a12}.adventure-quest-card.ready{cursor:pointer;border-color:color-mix(in srgb, var(--node-color) 36%, #e5e7eb);background:color-mix(in srgb, var(--node-color) 3%, #fff)}.adventure-quest-card.ready:hover{border-color:var(--node-color);transform:translateY(-3px);box-shadow:0 20px 44px #0f172a1f}.adventure-quest-card.locked{color:#94a3b8;cursor:not-allowed;opacity:.7}.adventure-quest-card.complete{background:#f6fbf8;border-color:#a7d3bb}.adventure-quest-card.complete .quest-orb{color:#fff;background:#16a34a}.quest-rail{justify-content:center;display:inline-flex}.quest-orb{color:#94a3b8;background:#e5e7eb;border:7px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:82px;height:82px;transition:transform .2s,box-shadow .2s;display:inline-flex;box-shadow:0 12px 28px #0f172a29}.adventure-quest-card.ready .quest-orb{background:linear-gradient(135deg, var(--node-color), color-mix(in srgb, var(--node-color) 70%, #000));color:#fff;box-shadow:0 12px 28px color-mix(in srgb, var(--node-color) 40%, transparent)}.adventure-quest-card.ready:hover .quest-orb{box-shadow:0 16px 36px color-mix(in srgb, var(--node-color) 50%, transparent);transform:scale(1.06)}.quest-card-body{flex-direction:column;gap:6px;min-width:0;display:flex}.quest-card-body strong{color:#111827;letter-spacing:-.02em;font-size:1.35rem;font-weight:800;line-height:1.2}.adventure-quest-card.locked .quest-card-body strong{color:#9ca3af}.quest-card-body small{color:#64748b;font-size:.92rem;line-height:1.4}.quest-desc{opacity:.85;color:#6b7280;margin-top:1px;font-size:.88rem;font-style:italic}.quest-placeholder{color:#cbd5e1;margin-top:1px;font-size:.88rem;font-weight:600}.quest-action{color:#64748b;letter-spacing:.02em;background:#f1f5f9;border-radius:999px;justify-content:center;align-items:center;min-width:82px;padding:10px 16px;font-size:.9rem;font-weight:900;transition:background .2s,color .2s,transform .2s;display:inline-flex}.adventure-quest-card.ready .quest-action{background:color-mix(in srgb, var(--node-color) 14%, #fff);color:var(--node-color);box-shadow:0 4px 12px color-mix(in srgb, var(--node-color) 20%, transparent)}.adventure-quest-card.ready:hover .quest-action{transform:scale(1.04)}.adventure-quest-card.complete .quest-action{color:#15803d;background:#ecfdf5}.level-chip{color:#1d4ed8;background:#eff6ff;border-radius:999px;justify-content:center;align-self:flex-start;align-items:center;min-height:22px;padding:3px 8px;font-size:.74rem;font-weight:900;display:inline-flex}.adventure-empty{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:16px;align-items:center;gap:10px;padding:14px 16px;font-size:.92rem;font-weight:700;display:flex}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.cms-layout{min-height:100vh;font-family:system-ui,sans-serif;display:flex}.cms-sidebar{background:#f4f4f5;border-right:1px solid #e4e4e7;flex-direction:column;width:250px;padding:20px;display:flex}.cms-sidebar-title{color:#18181b;margin:0 0 20px;font-size:1.2rem}.cms-sidebar-account{margin-bottom:18px}.cms-sidebar-nav{flex-direction:column;flex:1;gap:10px;display:flex}.cms-nav-link{color:#3f3f46;background:0 0;border-radius:4px;padding:8px;font-weight:400;text-decoration:none}.cms-nav-link.active{color:#7c3aed;background:#f3f0ff;font-weight:600}.cms-publish-section{border-top:1px solid #e4e4e7;margin-top:16px;padding-top:16px}.cms-publish-btn{color:#fff;border:none;border-radius:8px;width:100%;padding:12px 16px;font-size:.95rem;font-weight:700;transition:background-color .2s}.cms-publish-btn.idle{cursor:pointer;background:#2563eb}.cms-publish-btn.saving{cursor:wait;background:#2563eb}.cms-publish-btn.success{cursor:pointer;background:#059669}.cms-publish-btn.error{cursor:pointer;background:#dc2626}.cms-publish-error{color:#dc2626;word-break:break-word;margin-top:8px;font-size:.75rem}.cms-publish-hint{color:#9ca3af;text-align:center;margin-top:8px;font-size:.75rem}.cms-main{background:#fff;flex:1;padding:40px}.adventure-cms-page{flex-direction:column;gap:20px;width:100%;max-width:none;display:flex}.adventure-cms-header{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.adventure-cms-kicker{color:#2563eb;align-items:center;gap:6px;font-size:.88rem;font-weight:800;display:inline-flex}.adventure-cms-header h1{color:#111827;margin:8px 0;font-size:2rem;line-height:1.15}.adventure-cms-header p{color:#64748b;max-width:760px;margin:0;font-size:.95rem}.adventure-cms-stats{color:#1d4ed8;text-align:center;background:#eff6ff;border:1px solid #dbeafe;border-radius:8px;min-width:112px;padding:14px}.adventure-cms-stats strong{font-size:1.7rem;line-height:1;display:block}.adventure-cms-stats span{font-size:.82rem;font-weight:800}.adventure-cms-message{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;padding:10px 14px;font-size:.9rem;font-weight:700}.adventure-route-grid{grid-template-columns:minmax(760px,.95fr) minmax(720px,1.35fr);align-items:stretch;gap:16px;min-height:calc(100vh - 220px);display:grid}.adventure-route-left{grid-template-columns:minmax(340px,.92fr) minmax(420px,1.08fr);gap:16px;min-height:0;display:grid}.adventure-cms-panel{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:18px;box-shadow:0 8px 28px #0f172a0a}.adventure-route-subpanel,.adventure-flow-panel{flex-direction:column;min-height:0;display:flex}.adventure-flow-panel{overflow:hidden}.panel-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.panel-heading h2{color:#111827;margin:0;font-size:1.05rem}.panel-heading span{color:#94a3b8;font-size:.82rem;font-weight:700}.cms-field{flex-direction:column;gap:6px;margin-bottom:12px;display:flex}.cms-field span{color:#334155;font-size:.84rem;font-weight:800}.cms-field input,.cms-field textarea,.cms-field select,.cms-search-field input{color:#111827;width:100%;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:10px 11px}.cms-field input:focus,.cms-field textarea:focus,.cms-field select:focus,.cms-search-field input:focus{border-color:#2563eb;outline:3px solid #dbeafe}.pool-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.cms-search-field{color:#64748b;align-items:center;gap:8px;margin-bottom:12px;display:flex}.cms-search-field.compact{margin-bottom:0}.source-stage-list{flex-direction:column;gap:10px;max-height:620px;display:flex;overflow:auto}.adventure-route-subpanel .source-stage-list{flex:1;min-height:0;max-height:none}.source-stage-row{background:#fff;border:1px solid #e5e7eb;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.source-stage-row.selected{background:#eff6ff;border-color:#bfdbfe}.stage-main{min-width:0}.stage-title-line{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.stage-title-line strong{color:#111827}.stage-main p{color:#64748b;margin:4px 0;font-size:.86rem}.stage-main small{color:#94a3b8;font-size:.78rem}.in-route-badge{color:#1d4ed8;white-space:nowrap;background:#eff6ff;border-radius:999px;align-items:center;padding:2px 7px;font-size:.72rem;font-weight:900;display:inline-flex}.flow-stage-badge{color:#4f46e5;white-space:nowrap;background:#eef2ff;border-radius:999px;align-items:center;padding:2px 8px;font-size:.72rem;font-weight:900;display:inline-flex}.module-pill{white-space:nowrap;background:color-mix(in srgb, var(--pill-color) 12%, #fff);color:var(--pill-color);border-radius:999px;justify-content:center;align-items:center;padding:3px 8px;font-size:.75rem;font-weight:900;display:inline-flex}.stage-add-button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-width:86px;padding:8px 10px;font-weight:900;display:inline-flex}.stage-add-button:disabled{cursor:not-allowed;background:#cbd5e1}.official-stage-list{flex-direction:column;flex:1;gap:8px;min-height:0;display:flex}.official-stage-row{cursor:pointer;-webkit-user-select:none;user-select:none;background:#fff;border:1px solid #e5e7eb;border-radius:8px;grid-template-columns:20px auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:12px;transition:border-color .15s,box-shadow .15s;display:grid}.official-stage-row:hover{border-color:#bfdbfe;box-shadow:0 8px 20px #2563eb14}.official-stage-row.is-selected-flow{background:#eff6ff;border-color:#2563eb;box-shadow:0 0 0 2px #2563eb24}.official-stage-row.drag-over{background:#fffbeb;border-color:#f59e0b;box-shadow:0 0 0 2px #f59e0b26}.official-stage-row:active{cursor:grabbing}.drag-handle{cursor:grab;color:#cbd5e1;border-radius:4px;justify-content:center;align-items:center;padding:2px;transition:color .12s;display:inline-flex}.drag-handle:hover{color:#f59e0b}.stage-order-badge{color:#1d4ed8;background:#eff6ff;border-radius:50%;justify-content:center;align-items:center;width:54px;height:54px;font-weight:900;display:inline-flex}.stage-health{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;padding:3px 8px;font-size:.75rem;font-weight:900;display:inline-flex}.stage-health.ok{color:#047857;background:#ecfdf5}.stage-health.warn{color:#b45309;background:#fffbeb}.stage-health.bad{color:#dc2626;background:#fef2f2}.stage-actions{gap:6px;display:inline-flex}.stage-actions button{color:#475569;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:6px;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex}.stage-actions button:disabled{cursor:not-allowed;opacity:.35}.stage-actions button.danger{color:#dc2626}.empty-state{color:#94a3b8;margin:0;font-size:.9rem}.adventure-cms-publish-bar{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;display:flex}.adventure-cms-publish-status{color:#64748b;align-items:center;gap:8px;font-size:.88rem;font-weight:700;display:inline-flex}.status-dot{border-radius:50%;width:10px;height:10px}.status-dot.synced{background:#16a34a}.status-dot.changed{background:#f59e0b}.stage-edit-form{flex-direction:column;gap:8px;display:flex}.stage-edit-input,.stage-edit-textarea{color:#111827;width:100%;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:8px 10px}.stage-edit-input:focus,.stage-edit-textarea:focus{border-color:#2563eb;outline:3px solid #dbeafe}.stage-edit-textarea{resize:vertical;min-height:52px}.stage-edit-actions{gap:8px;display:inline-flex}.stage-desc{color:#64748b;margin:4px 0;font-size:.86rem;font-style:italic}.flow-preview{background:#fff;border:1px solid #e5e7eb;border-radius:8px;flex-direction:column;margin-top:14px;display:flex;overflow:hidden}.flow-preview-section{flex-direction:column;flex:1;min-height:0;margin-top:14px;display:flex}.flow-preview-empty{color:#64748b;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;flex-direction:column;gap:6px;margin-top:14px;padding:18px;display:flex}.flow-preview-empty strong{color:#111827;font-size:.95rem}.flow-preview-empty span{color:#64748b;font-size:.86rem;line-height:1.5}.flow-preview-section .flow-preview{flex:1;min-height:0;margin-top:10px}.flow-preview-actions{background:#eff6ff;border:1px solid #dbeafe;border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.flow-preview-actions>div{flex-direction:column;flex:240px;gap:3px;min-width:0;display:flex}.flow-preview-actions strong{color:#1e3a8a;align-items:center;gap:6px;font-size:.9rem;display:inline-flex}.flow-preview-actions span{color:#64748b;font-size:.78rem;line-height:1.45}.flow-publish-button{flex-shrink:0;gap:6px;width:auto;min-width:190px}.flow-publish-message,.flow-preview-status{border-radius:8px;margin-top:8px;padding:8px 10px;font-size:.82rem;font-weight:800}.flow-preview-status.published{color:#047857;background:#ecfdf5}.flow-preview-status.fallback{color:#b45309;background:#fffbeb}.flow-preview-status.error{color:#dc2626;background:#fef2f2}.flow-publish-message.success{color:#047857;background:#ecfdf5}.flow-publish-message.error{color:#dc2626;background:#fef2f2}.flow-preview-heading{background:#f8fafc;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.flow-preview-heading strong{color:#111827;font-size:.92rem}.flow-preview-heading span{color:#64748b;font-size:.78rem;font-weight:800}.flow-preview-canvas{flex:620px;min-height:560px}.flow-preview-rf-node{color:#1e3a8a!important;background:#eff6ff!important;border-color:#dbeafe!important}.flow-preview-rf-node--choice{color:#5b21b6!important;background:#f5f3ff!important;border-color:#ddd6fe!important}.flow-preview-rf-node--branch{color:#9a3412!important;background:#fff7ed!important;border-color:#fed7aa!important}.flow-preview-rf-node--set,.flow-preview-rf-node--stage_block{color:#166534!important;background:#f0fdf4!important;border-color:#bbf7d0!important}.flow-preview-rf-node--result,.flow-preview-rf-node--unlock{color:#075985!important;background:#f0f9ff!important;border-color:#bae6fd!important}.flow-preview-rf-node.is-entry{box-shadow:0 0 0 2px #2563eb}.flow-preview-rf-node.is-selected{box-shadow:0 0 0 3px #111827}.flow-preview-rf-node.has-validation-error{background:#fef2f2!important;border-color:#fca5a5!important}.flow-preview-edge--missing path{stroke-dasharray:4 4;stroke:#dc2626!important}.flow-preview-node{text-align:left;flex-direction:column;gap:2px;min-width:98px;display:flex}.flow-preview-node strong{color:#111827;font-size:.78rem}.flow-preview-node span{color:#64748b;font-size:.7rem;font-weight:800}.flow-preview-warning{color:#dc2626;background:#fef2f2;border-top:1px solid #fecaca;flex-direction:column;gap:4px;padding:10px 12px;font-size:.82rem;font-weight:800;display:flex}.flow-preview-warning strong{color:#991b1b}.flow-preview-detail{background:#fff;border-top:1px solid #e5e7eb;padding:12px}.flow-preview-detail-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.flow-preview-detail-heading strong{color:#111827;font-size:.92rem}.flow-preview-detail-heading span{color:#64748b;font-size:.76rem;font-weight:800}.flow-preview-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;margin:0;display:grid}.flow-preview-config{border-top:1px solid #eef2f7;margin-top:12px;padding-top:12px}.flow-preview-summary div{min-width:0}.flow-preview-summary dt{color:#94a3b8;font-size:.72rem;font-weight:800}.flow-preview-summary dd{color:#334155;overflow-wrap:anywhere;margin:2px 0 0;font-size:.82rem;font-weight:700}.flow-preview-detail-issues{flex-direction:column;gap:6px;margin-top:10px;display:flex}.flow-preview-detail-issues span{border-radius:8px;padding:7px 9px;font-size:.78rem;font-weight:800}.flow-preview-detail-issues span.error{color:#dc2626;background:#fef2f2}.flow-preview-detail-issues span.warning{color:#b45309;background:#fffbeb}.flow-preview-json{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;margin-top:10px}.flow-preview-json summary{cursor:pointer;color:#2563eb;padding:8px 10px;font-size:.8rem;font-weight:800}.flow-preview-json pre{color:#0f172a;border-top:1px solid #e5e7eb;max-height:260px;margin:0;padding:10px;font-size:.75rem;overflow:auto}.text-action{color:#2563eb;cursor:pointer;background:0 0;border:none;align-items:center;gap:5px;font-weight:800;display:inline-flex}.primary-action{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;justify-content:center;align-items:center;gap:8px;width:100%;padding:11px 14px;font-weight:900;display:inline-flex}.primary-action:disabled{opacity:.5;cursor:not-allowed}@media (width<=920px){.adventure-cms-header,.adventure-route-grid,.adventure-route-left,.adventure-game-hero{grid-template-columns:1fr}.adventure-cms-header{display:grid}.pool-filter-grid,.official-stage-row{grid-template-columns:1fr}.stage-actions{justify-content:flex-start}.adventure-game-progress{min-width:0}.adventure-quest-board{padding:14px}.adventure-quest-board:before{left:53px}.adventure-quest-card{grid-template-columns:70px minmax(0,1fr);gap:12px;padding:16px}.quest-orb{border-width:5px;width:62px;height:62px}.quest-card-body strong{font-size:1.15rem}.quest-action{grid-column:2;justify-self:flex-start;min-width:72px;padding:8px 14px}.learning-home{justify-content:flex-start;gap:24px}.learning-home-heading h1,.free-header h1,.adventure-title-block h1{font-size:1.9rem}.learning-entry-grid,.free-grid{grid-template-columns:1fr;gap:14px}.learning-entry-card,.free-card{border-radius:20px;min-height:136px;padding:18px}.learning-entry-icon,.free-icon{border-radius:18px;width:64px;height:64px}.learning-entry-copy strong,.free-card-body strong{font-size:1.2rem}}.quiz-solfege{text-align:center;letter-spacing:.08em;z-index:1;pointer-events:none;font-size:2.25rem;font-weight:700;transition:opacity .4s;position:absolute;top:8px;left:0;right:0}.quiz-solfege--correct{color:#16a34a}.quiz-solfege--wrong{color:#ef4444}.practice-notes-quiz{--staff-slot-h:185px;--staff-card-h:202px}.practice-notes-quiz__header{flex-flow:column;flex-shrink:0;align-items:stretch;gap:10px;margin-bottom:16px;display:flex}.practice-notes-quiz__exit{cursor:pointer;color:#6b7280;background:#fff;border:1px solid #e5e7eb;border-radius:20px;align-self:flex-start;padding:8px 16px;font-size:1rem;font-weight:600;box-shadow:0 2px 4px #00000005}.practice-notes-quiz__toolbar{flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.practice-notes-quiz__toolbar-end{flex-wrap:nowrap;flex-shrink:0;align-items:center;gap:8px;min-width:0;display:flex}.practice-notes-quiz__range{color:#6b7280;white-space:nowrap;font-size:.9rem}.practice-notes-quiz__score{color:#16a34a;white-space:nowrap;background:#f0fdf4;border-radius:12px;padding:6px 12px;font-size:.85rem;font-weight:700}.practice-notes-quiz__audio{flex-shrink:0;position:relative}.practice-notes-quiz__audio-btn{cursor:pointer;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 2px 8px #0000000f}.practice-notes-quiz__audio-tip{color:#fff;white-space:nowrap;z-index:10;background:#1f2937;border-radius:10px;padding:8px 12px;font-size:.8rem;transition:opacity .5s;position:absolute;top:44px;right:0;box-shadow:0 4px 12px #00000026}.practice-notes-quiz__body{flex-direction:column;flex:1;justify-content:flex-start;align-items:center;min-height:0;display:flex}.quiz-card--staff-fixed{box-sizing:border-box;width:100%;min-width:0;max-width:500px;height:var(--staff-card-h);min-height:var(--staff-card-h);max-height:var(--staff-card-h);flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;margin-bottom:12px;padding:8px 12px 6px;display:flex;position:relative}.quiz-staff-slot{width:100%;height:var(--staff-slot-h);min-height:var(--staff-slot-h);max-height:var(--staff-slot-h);justify-content:center;align-items:center;line-height:0;display:flex;overflow:hidden}.quiz-staff-slot svg{max-width:100%;height:auto;display:block}.practice-notes-quiz__options{box-sizing:border-box;flex-direction:column;flex-shrink:0;align-self:center;gap:12px;width:100%;max-width:min(100%,360px);margin-left:auto;margin-right:auto;padding-bottom:8px;padding-left:12px;padding-right:12px;display:flex}.practice-notes-quiz__options-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;width:100%;display:grid}.practice-notes-quiz__options-row--three{grid-template-columns:.5fr 1fr 1fr 1fr .5fr}.practice-notes-quiz__options-row--three .practice-notes-quiz__option-btn:first-child{grid-column:2}.practice-notes-quiz__options-row--three .practice-notes-quiz__option-btn:nth-child(2){grid-column:3}.practice-notes-quiz__options-row--three .practice-notes-quiz__option-btn:nth-child(3){grid-column:4}.practice-notes-quiz__option-btn{aspect-ratio:1;color:#374151;cursor:pointer;background:#fff;border:1px solid #f3f4f6;border-radius:16px;justify-content:center;justify-self:center;align-items:center;width:100%;max-width:84px;max-height:84px;font-size:clamp(1.2rem,4vw,1.55rem);font-weight:700;transition:transform .2s cubic-bezier(.4,0,.2,1),box-shadow .2s;display:flex;box-shadow:0 4px 15px #00000008}.practice-notes-quiz__option-btn:hover{transform:translateY(-4px);box-shadow:0 12px 20px #0000000f}.flow-loading,.flow-quiz-page{flex-direction:column;flex:1;display:flex}.flow-loading{color:#6b7280;justify-content:center;align-items:center}.flow-quiz-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.flow-title-block{flex-direction:column;align-items:center;gap:2px;min-width:0;display:flex}.flow-title-block span{color:#6b7280;align-items:center;gap:6px;font-size:.9rem;font-weight:700;display:inline-flex}.flow-title-block h2{color:#111827;margin:0;font-size:1.55rem;font-weight:800}.flow-progress-pill{color:#6b7280;text-align:center;background:#fff;border:1px solid #e5e7eb;border-radius:999px;min-width:110px;padding:8px 14px;font-size:.9rem;font-weight:700;box-shadow:0 2px 8px #0f172a0a}.flow-header-actions{justify-content:flex-end;align-items:center;gap:10px;min-width:0;display:flex}.flow-audio-toggle{color:#9ca3af;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:999px;flex:none;justify-content:center;align-items:center;width:38px;height:38px;transition:transform .15s,border-color .15s,color .15s,background .15s;display:inline-flex;box-shadow:0 2px 8px #0f172a0a}.flow-audio-toggle:hover{color:#2563eb;border-color:#bfdbfe;transform:translateY(-1px)}.flow-audio-toggle.active{color:#2563eb;background:#eff6ff;border-color:#bfdbfe}.flow-node-shell{flex:1;justify-content:center;align-items:center;min-height:0;display:flex}.flow-panel,.flow-stage-block{background:#fff;border:1px solid #eef2f7;border-radius:28px;width:min(100%,720px);box-shadow:0 16px 48px #0f172a0f}.flow-panel{text-align:center;flex-direction:column;align-items:center;gap:16px;padding:40px;display:flex}.flow-panel--success{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.flow-panel--warning{background:#fff7ed;border-color:#fed7aa}.flow-panel-kicker{color:#2563eb;font-size:.85rem;font-weight:800}.flow-panel h1,.flow-stage-copy h1{color:#111827;margin:0;font-size:2rem;font-weight:800}.flow-panel p,.flow-stage-copy p{color:#6b7280;max-width:560px;margin:0;font-size:1rem}.flow-primary-button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:18px;padding:14px 26px;font-size:1rem;font-weight:800;transition:transform .18s,box-shadow .18s;box-shadow:0 12px 24px #2563eb2e}.flow-primary-button:hover,.flow-choice-card:hover,.flow-answer-options button:hover{transform:translateY(-3px)}.flow-primary-button:hover{box-shadow:0 16px 30px #2563eb3d}.flow-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%;display:grid}.flow-choice-card{color:#1f2937;cursor:pointer;text-align:left;background:#fff;border:1px solid #e5e7eb;border-radius:20px;flex-direction:column;gap:8px;min-height:128px;padding:20px;transition:transform .18s,border-color .18s,box-shadow .18s;display:flex;box-shadow:0 8px 20px #0f172a0a}.flow-choice-card:hover{border-color:#93c5fd;box-shadow:0 16px 28px #2563eb1a}.flow-choice-card:disabled{cursor:not-allowed;opacity:.42;box-shadow:none;transform:none}.flow-choice-card:disabled:hover{box-shadow:none;border-color:#e5e7eb}.flow-choice-card--pulse:not(:disabled){background:#f0fdf4;border-color:#86efac;animation:1.15s ease-in-out infinite flow-choice-pulse;box-shadow:0 0 #22c55e47}@keyframes flow-choice-pulse{0%,to{transform:translateY(0);box-shadow:0 0 #22c55e47}50%{transform:translateY(-3px);box-shadow:0 0 0 8px #22c55e1a}}.flow-choice-card strong{font-size:1.1rem}.flow-choice-card span,.flow-muted{color:#6b7280}.flow-stage-block{flex-direction:column;align-items:center;gap:18px;padding:28px;transition:background .25s,box-shadow .25s;display:flex}.flow-stage-block--correct{background:#ecfdf5;box-shadow:0 20px 48px #10b98129}.flow-stage-block--wrong{background:#fef2f2;box-shadow:0 20px 48px #ef444424}.flow-stage-copy{text-align:center;flex-direction:column;align-items:center;gap:6px;display:flex}.flow-stage-copy span{color:#2563eb;font-size:.85rem;font-weight:800}.flow-stage-progress{color:#6b7280;align-items:center;gap:14px;width:min(100%,520px);font-weight:800;display:flex}.flow-stage-progress>div{background:#f3f4f6;border-radius:999px;flex:1;height:8px;overflow:hidden}.flow-stage-progress span{border-radius:inherit;background:#2563eb;height:100%;transition:width .25s;display:block}.flow-timeout-hint{color:#2563eb;background:#eff6ff;border-radius:999px;padding:5px 11px;font-size:.82rem;font-weight:800}.flow-countdown-panel{color:#2563eb;background:#eff6ff;border-radius:22px;flex-direction:column;align-items:center;gap:4px;padding:16px 28px;display:flex}.flow-countdown-panel span{font-size:.82rem;font-weight:800}.flow-countdown-panel strong{color:#1d4ed8;font-size:3rem;font-weight:900;line-height:1}.flow-display-hint{color:#047857;background:#f0fdf4;border-radius:999px;padding:5px 11px;font-size:.82rem;font-weight:800}.flow-input-toolbar{flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;width:min(100%,520px);display:flex}.flow-input-toolbar>span{color:#9ca3af;font-size:.86rem;font-weight:700}.flow-staff-preview{background:#f8fafc;border:1px solid #eef2f7;border-radius:22px;width:min(100%,520px);min-height:220px;padding:10px 16px}.flow-quiz-card{width:min(100%,520px);min-height:220px;padding:12px 18px;min-width:0!important;margin-bottom:0!important}.flow-symbol-prompt{color:#111827;font-size:3rem;font-weight:800}.flow-reveal-prompt{color:#047857;flex-direction:column;justify-content:center;align-items:center;gap:12px;width:100%;min-height:190px;display:flex}.flow-reveal-prompt strong{color:#047857;background:#ecfdf5;border-radius:999px;padding:7px 13px;font-size:.92rem}.flow-reveal-prompt>span{color:#374151;font-size:2rem;font-weight:800}.flow-piano-input{width:min(100%,680px)}.flow-answer-options{flex-wrap:wrap;justify-content:center;gap:14px;max-width:600px;display:flex}.flow-answer-options button{color:#374151;cursor:pointer;background:#fff;border:1px solid #eef2f7;border-radius:18px;min-width:112px;padding:14px 20px;font-size:1.35rem;font-weight:800;transition:transform .18s,border-color .18s,box-shadow .18s;box-shadow:0 8px 18px #0f172a0a}.flow-answer-options button:disabled{cursor:not-allowed;opacity:.5;transform:none}.flow-answer-options button.is-correct{color:#059669;background:#ecfdf5;border-color:#10b981}.flow-inline-feedback{color:#c2410c;background:#fff7ed;border-radius:999px;padding:7px 13px;font-size:.9rem;font-weight:800}.flow-result-stats{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.flow-result-stats span{color:#166534;background:#ffffffbf;border-radius:999px;padding:7px 12px;font-weight:800}.flow-review-summary{background:#ffffffb3;border-radius:18px;flex-direction:column;gap:4px;padding:12px 16px;display:flex}.flow-review-summary strong{color:#166534}.flow-review-summary span{color:#6b7280;font-size:.9rem}.flow-review-list{flex-direction:column;gap:10px;width:min(100%,560px);max-height:280px;padding:2px;display:flex;overflow:auto}.flow-review-item{text-align:left;background:#fff;border:1px solid #e5e7eb;border-radius:16px;align-items:center;gap:12px;padding:12px 14px;display:flex}.flow-review-item.is-correct{background:#f0fdf4;border-color:#bbf7d0}.flow-review-item.is-wrong{background:#fef2f2;border-color:#fecaca}.flow-review-icon{color:#111827;background:#fffc;border-radius:50%;flex:0 0 28px;justify-content:center;align-items:center;width:28px;height:28px;font-weight:900;display:inline-flex}.flow-review-item div{flex-direction:column;gap:4px;min-width:0;display:flex}.flow-review-item strong{color:#111827;font-size:.95rem}.flow-review-item span{color:#6b7280;font-size:.86rem}.flow-result-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;display:flex}.flow-secondary-button{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:18px;justify-content:center;align-items:center;gap:8px;padding:13px 22px;font-size:1rem;font-weight:800;transition:transform .18s,border-color .18s,box-shadow .18s;display:inline-flex}.flow-secondary-button:hover{border-color:#93c5fd;transform:translateY(-3px);box-shadow:0 12px 24px #0f172a14}.flow-unlock-panel{position:relative;overflow:hidden}.flow-celebration-mark{animation:.5s cubic-bezier(.175,.885,.32,1.275) both flow-celebrate-pop}.flow-confetti{pointer-events:none;position:absolute;inset:0;overflow:hidden}.flow-confetti span{border-radius:3px;width:8px;height:12px;animation:1.1s ease-out forwards flow-confetti-rise;position:absolute;top:110%}@keyframes flow-confetti-rise{0%{opacity:0;transform:translateY(0)rotate(0)}15%{opacity:1}to{opacity:0;transform:translateY(-520px)rotate(520deg)}}@keyframes flow-celebrate-pop{0%{opacity:0;transform:scale(.4)}70%{opacity:1;transform:scale(1.12)}to{opacity:1;transform:scale(1)}}@media (width<=640px){.client-header{gap:10px;padding:12px 16px}.client-logo{font-size:1.1rem}.client-header-right{gap:10px}.account-chip.hide-on-mobile,.account-chip-text{display:none}.client-main{padding:16px}.main-menu-title{margin-bottom:30px!important;font-size:1.8rem!important}.main-menu-grid{grid-template-columns:repeat(2,1fr)!important;gap:16px!important}.main-menu-card{border-radius:20px!important;padding:20px 12px!important}.main-menu-icon{border-radius:16px!important;width:60px!important;height:60px!important;margin-bottom:12px!important}.main-menu-card h2{font-size:1.1rem!important}.quiz-header{flex-wrap:wrap;gap:10px;margin-bottom:20px!important}.quiz-card:not(.quiz-card--staff-fixed){min-width:unset!important;border-radius:20px!important;width:100%!important;margin-bottom:30px!important;padding:20px!important}.practice-notes-quiz{--staff-slot-h:185px;--staff-card-h:202px}.practice-notes-quiz__header{gap:6px!important;margin-bottom:8px!important}.practice-notes-quiz__header.quiz-header{flex-wrap:nowrap!important}.practice-notes-quiz__exit{padding:6px 12px!important;font-size:.875rem!important}.practice-notes-quiz__toolbar{gap:6px!important}.practice-notes-quiz__range{display:none}.practice-notes-quiz__score{padding:4px 10px!important;font-size:.8rem!important}.practice-notes-quiz__audio-btn{width:32px!important;height:32px!important}.quiz-card--staff-fixed{border-radius:20px!important;margin-bottom:8px!important;padding:6px 10px 4px!important}.quiz-body{justify-content:flex-start!important}.quiz-solfege{font-size:1.65rem!important;top:4px!important}.practice-notes-quiz__options{align-self:stretch;gap:10px!important;max-width:100%!important;padding-left:8px!important;padding-right:8px!important}.practice-notes-quiz__options-row{gap:8px!important}.practice-notes-quiz__option-btn{border-radius:14px!important;max-width:none!important;max-height:none!important;font-size:1.45rem!important}.quiz-options button{min-width:100px!important;padding:10px 14px!important;font-size:1rem!important}.flow-quiz-header{align-items:stretch}.flow-title-block{align-items:flex-start}.flow-progress-pill{text-align:left}.flow-header-actions{justify-content:flex-start}.flow-panel,.flow-stage-block{border-radius:20px;padding:22px}.flow-panel h1,.flow-stage-copy h1{font-size:1.5rem}.flow-choice-grid{grid-template-columns:1fr}.flow-quiz-card{min-height:200px!important}.stage-selector-title{font-size:1.6rem!important}.stage-grid{gap:20px!important;margin-top:30px!important}.stage-circle{width:65px!important;height:65px!important;font-size:1.4rem!important}}.profile-layout{flex:1;min-height:0;margin:-40px;display:flex}.profile-sidebar{background:#f4f4f5;border-right:1px solid #e4e4e7;flex-direction:column;gap:20px;width:250px;padding:20px;display:flex}.profile-sidebar-header{border-bottom:1px solid #e4e4e7;align-items:center;gap:10px;padding-bottom:16px;display:flex}.profile-sidebar-nickname{color:#18181b;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:1.1rem;font-weight:700;overflow:hidden}.profile-sidebar-nav{flex-direction:column;flex:1;gap:10px;display:flex}.profile-nav-link{color:#3f3f46;cursor:pointer;font-weight:400;font-size:inherit;text-align:left;background:0 0;border:none;border-radius:4px;align-items:center;gap:8px;padding:8px;font-family:inherit;text-decoration:none;display:flex}.profile-nav-link.active{color:#7c3aed;background:#f3f0ff;font-weight:600}.profile-main{flex:1;padding:28px 32px;overflow-y:auto}.profile-sidebar-footer{border-top:1px solid #e4e4e7;margin-top:auto;padding-top:16px}.profile-signout-error{color:#dc2626;margin-top:6px;font-size:.75rem;display:block}.records-toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px;display:flex}.records-filter-select{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:6px;padding:7px 10px;font-family:inherit;font-size:.85rem}.records-filter-select:focus{border-color:#2563eb;outline:2px solid #dbeafe}.records-search-wrapper{flex:1;max-width:240px;position:relative}@media (width<=600px){.records-search-wrapper{flex-basis:100%;max-width:none}}.records-search-icon{color:#9ca3af;pointer-events:none;position:absolute;top:50%;left:10px;transform:translateY(-50%)}.records-search-input{color:#374151;border:1px solid #d1d5db;border-radius:6px;width:100%;padding:7px 10px 7px 30px;font-family:inherit;font-size:.85rem}.records-search-input:focus{border-color:#2563eb;outline:2px solid #dbeafe}.practice-records-table{border-collapse:collapse;width:100%;font-size:.9rem}.practice-records-table th{text-align:left;color:#6b7280;white-space:nowrap;border-bottom:1px solid #e5e7eb;padding:10px 12px;font-size:.8rem;font-weight:600}.practice-records-table td{color:#1f2937;border-bottom:1px solid #f3f4f6;padding:10px 12px}.practice-records-table tr:last-child td{border-bottom:none}.leaderboard-header{background:linear-gradient(135deg,#fffbeb 0%,#fef3c7 100%);border:1px solid #fde68a;border-radius:12px;align-items:center;gap:12px;margin-bottom:16px;padding:16px;display:flex}.leaderboard-subtitle{color:#a16207;margin:4px 0 0;font-size:.8rem}.leaderboard-list{flex-direction:column;gap:6px;display:flex}.leaderboard-row{background:#f9fafb;border:1px solid #f3f4f6;border-radius:8px;align-items:center;gap:12px;padding:12px 14px;font-size:.9rem;display:flex}.leaderboard-row-highlight{background:#eff6ff;border-color:#bfdbfe}.leaderboard-you{color:#3b82f6;margin-left:4px;font-size:.8rem;font-weight:500}.profile-loading{color:#6b7280;justify-content:center;align-items:center;padding:40px 0;font-size:.9rem;display:flex}.spin-icon{animation:1s linear infinite spin}.profile-error{text-align:center;flex-direction:column;align-items:center;gap:12px;padding:40px 0;display:flex}.profile-error-message{color:#dc2626;font-size:.9rem}.profile-retry-button{color:#374151;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:8px 16px;font-size:.85rem;font-weight:600}.profile-retry-button:hover{background:#f9fafb;border-color:#d1d5db}.profile-empty{color:#9ca3af;justify-content:center;align-items:center;padding:40px 0;font-size:.9rem;display:flex}.profile-mobile-menu-btn,.profile-mobile-close-btn,.profile-mobile-overlay{display:none}@media (width<=640px){.profile-layout{flex-direction:column;margin:-16px;position:relative}.profile-mobile-menu-btn{z-index:10;color:#374151;cursor:pointer;width:36px;height:36px;box-shadow:none;background:0 0;border:none;border-radius:50%;outline:none;justify-content:center;align-items:center;display:flex;position:fixed;top:7px;right:16px}.profile-mobile-menu-btn:hover{background:#e5e7eb}.profile-mobile-overlay{z-index:99;background:#0000004d;display:block;position:fixed;inset:0}.profile-sidebar{z-index:100;border-left:1px solid #e4e4e7;border-right:none;border-radius:0;flex-direction:column;gap:20px;width:260px;padding:20px;transition:transform .25s;position:fixed;top:0;bottom:0;right:0;transform:translate(100%)}.profile-sidebar.open{transform:translate(0)}.profile-mobile-close-btn{color:#374151;cursor:pointer;background:#f3f4f6;border:none;border-radius:8px;justify-content:center;align-self:flex-end;align-items:center;width:32px;height:32px;margin-bottom:4px;display:flex}.profile-mobile-close-btn:hover{background:#e5e7eb}.profile-sidebar-header{border-bottom:1px solid #e4e4e7;padding-bottom:16px}.profile-sidebar-nickname{font-size:.95rem}.profile-sidebar-nav{flex-direction:column;gap:10px}.profile-nav-link{padding:8px 10px;font-size:.9rem}.profile-main{padding:16px}.practice-records-table th,.practice-records-table td{padding:8px 6px;font-size:.8rem}.leaderboard-row{gap:8px;padding:10px;font-size:.85rem}}
