.cg-wrap{box-sizing:content-box;position:relative;display:block}cg-container{position:absolute;width:100%;height:100%;display:block;top:0}cg-board{position:absolute;top:0;left:0;width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;line-height:0;background-size:cover}.cg-wrap.manipulable cg-board{cursor:pointer}cg-board square{position:absolute;top:0;left:0;width:12.5%;height:12.5%;pointer-events:none}cg-board square.move-dest{pointer-events:auto}cg-board square.last-move{will-change:transform}.cg-wrap piece{position:absolute;top:0;left:0;width:12.5%;height:12.5%;background-size:cover;z-index:2;will-change:transform;pointer-events:none}cg-board piece.dragging{cursor:move;z-index:11!important}piece.anim{z-index:8}piece.fading{z-index:1;opacity:.5}.cg-wrap piece.ghost{opacity:.3}.cg-wrap piece svg{overflow:hidden;position:relative;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:2;opacity:.6}.cg-wrap cg-auto-pieces,.cg-wrap .cg-shapes,.cg-wrap .cg-custom-svgs{overflow:visible;position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.cg-wrap cg-auto-pieces{z-index:2}.cg-wrap cg-auto-pieces piece{opacity:.3}.cg-wrap .cg-shapes{overflow:hidden;opacity:.6;z-index:2}.cg-wrap .cg-custom-svgs{z-index:9}.cg-wrap .cg-custom-svgs svg{overflow:visible}.cg-wrap coords{position:absolute;display:flex;pointer-events:none;opacity:.8;font-family:sans-serif;font-size:9px}.cg-wrap coords.ranks{left:4px;top:-20px;flex-flow:column-reverse;height:100%;width:12px}.cg-wrap coords.ranks.black{flex-flow:column}.cg-wrap coords.ranks.left{left:-15px;align-items:flex-end}.cg-wrap coords.files{bottom:-4px;left:24px;flex-flow:row;width:100%;height:16px;text-transform:uppercase;text-align:center}.cg-wrap coords.files.black{flex-flow:row-reverse}.cg-wrap coords coord{flex:1 1 auto}.cg-wrap coords.ranks coord{transform:translateY(39%)}.cg-wrap coords.squares{bottom:0;left:0;text-transform:uppercase;text-align:right;flex-flow:column-reverse;height:100%;width:12.5%}.cg-wrap coords.squares.black{flex-flow:column}.cg-wrap coords.squares.left{text-align:left}.cg-wrap coords.squares coord{padding:6% 4%}.cg-wrap coords.squares.rank2{transform:translate(100%)}.cg-wrap coords.squares.rank3{transform:translate(200%)}.cg-wrap coords.squares.rank4{transform:translate(300%)}.cg-wrap coords.squares.rank5{transform:translate(400%)}.cg-wrap coords.squares.rank6{transform:translate(500%)}.cg-wrap coords.squares.rank7{transform:translate(600%)}.cg-wrap coords.squares.rank8{transform:translate(700%)}cg-board{background-color:#f0d9b5;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4PSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgogICAgIHZpZXdCb3g9IjAgMCA4IDgiIHNoYXBlLXJlbmRlcmluZz0iY3Jpc3BFZGdlcyI+CjxnIGlkPSJhIj4KICA8ZyBpZD0iYiI+CiAgICA8ZyBpZD0iYyI+CiAgICAgIDxnIGlkPSJkIj4KICAgICAgICA8cmVjdCB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBpZD0iZSIgb3BhY2l0eT0iMCIvPgogICAgICAgIDx1c2UgeD0iMSIgeT0iMSIgaHJlZj0iI2UiIHg6aHJlZj0iI2UiLz4KICAgICAgICA8cmVjdCB5PSIxIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBpZD0iZiIgb3BhY2l0eT0iMC4yIi8+CiAgICAgICAgPHVzZSB4PSIxIiB5PSItMSIgaHJlZj0iI2YiIHg6aHJlZj0iI2YiLz4KICAgICAgPC9nPgogICAgICA8dXNlIHg9IjIiIGhyZWY9IiNkIiB4OmhyZWY9IiNkIi8+CiAgICA8L2c+CiAgICA8dXNlIHg9IjQiIGhyZWY9IiNjIiB4OmhyZWY9IiNjIi8+CiAgPC9nPgogIDx1c2UgeT0iMiIgaHJlZj0iI2IiIHg6aHJlZj0iI2IiLz4KPC9nPgo8dXNlIHk9IjQiIGhyZWY9IiNhIiB4OmhyZWY9IiNhIi8+Cjwvc3ZnPg==)}cg-board square.move-dest{background:radial-gradient(#14551e80 22%,#208530 0,#0000004d,#0000 0)}cg-board square.premove-dest{background:radial-gradient(#141e5580 22%,#203085 0,#0000004d,#0000 0)}cg-board square.oc.move-dest{background:radial-gradient(transparent 0%,transparent 80%,rgba(20,85,0,.3) 80%)}cg-board square.oc.premove-dest{background:radial-gradient(transparent 0%,transparent 80%,rgba(20,30,85,.2) 80%)}cg-board square.move-dest:hover{background:#14551e4d}cg-board square.premove-dest:hover{background:#141e5533}cg-board square.last-move{background-color:#9bc70069}cg-board square.selected{background-color:#14551e80}cg-board square.check{background:radial-gradient(ellipse at center,red,#e70000 25%,#a9000000 89%,#9e000000)}cg-board square.current-premove{background-color:#141e5580}.orientation-white .ranks :nth-child(odd),.orientation-white .files :nth-child(2n),.orientation-black .ranks :nth-child(2n),.orientation-black .files :nth-child(odd),coords.squares:nth-of-type(odd) :nth-child(2n),coords.squares:nth-of-type(2n) :nth-child(odd){color:#484848cc}.orientation-white .ranks :nth-child(2n),.orientation-white .files :nth-child(odd),.orientation-black .ranks :nth-child(odd),.orientation-black .files :nth-child(2n),coords.squares:nth-of-type(odd) :nth-child(odd),coords.squares:nth-of-type(2n) :nth-child(2n){color:#fffc}.cg-wrap piece.pawn.white{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PHBhdGggZD0iTTIyLjUgOWMtMi4yMSAwLTQgMS43OS00IDQgMCAuODkuMjkgMS43MS43OCAyLjM4QzE3LjMzIDE2LjUgMTYgMTguNTkgMTYgMjFjMCAyLjAzLjk0IDMuODQgMi40MSA1LjAzLTMgMS4wNi03LjQxIDUuNTUtNy40MSAxMy40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GQ9Ik0yNSA4YTIuNSAyLjUgMCAxIDEtNSAwIDIuNSAyLjUgMCAxIDEgNSAweiIvPjwvZz48cGF0aCBkPSJNMTcuNSAyNmgxME0xNSAzMGgxNW0tNy41LTE0LjV2NU0yMCAxOGg1IiBzdHJva2UtbGluZWpvaW49Im1pdGVyIi8+PC9nPjwvc3ZnPg==)}.cg-wrap piece.knight.white{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGQ9Ik0yMiAxMGMxMC41IDEgMTYuNSA4IDE2IDI5SDE1YzAtOSAxMC02LjUgOC0yMSIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0yNCAxOGMuMzggMi45MS01LjU1IDcuMzctOCA5LTMgMi0yLjgyIDQuMzQtNSA0LTEuMDQyLS45NCAxLjQxLTMuMDQgMC0zLTEgMCAuMTkgMS4yMy0xIDItMSAwLTQuMDAzIDEtNC00IDAtMiA2LTEyIDYtMTJzMS44OS0xLjkgMi0zLjVjLS43My0uOTk0LS41LTItLjUtMyAxLTEgMyAyLjUgMyAyLjVoMnMuNzgtMS45OTIgMi41LTNjMSAwIDEgMyAxIDMiIGZpbGw9IiNmZmYiLz48cGF0aCBkPSJNOS41IDI1LjVhLjUuNSAwIDEgMS0xIDAgLjUuNSAwIDEgMSAxIDB6bTUuNDMzLTkuNzVhLjUgMS41IDMwIDEgMS0uODY2LS41LjUgMS41IDMwIDEgMSAuODY2LjV6IiBmaWxsPSIjMDAwIi8+PC9nPjwvc3ZnPg==)}.cg-wrap piece.rook.white{background-image:url(data:image/svg+xml;base64,PHN2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cy0zIDIuNS0zIDIuNWMtMS41IDMgMyAxMC41IDMgMTAuNSIgZmlsbD0iI2ZmZiIgc3Ryb2tlLWxpbmVjYXA9ImJ1dHQiIHN0cm9rZS1saW5lam9pbj0ibWl0ZXIiLz48cGF0aCBkPSJNMTEuNSAzN2M1LjUgMy41IDE1LjUgMy41IDIxIDB2LTdzOS00LjUgNi0xMC41Yy00LTYuNS0xMy41LTMuNS0xNiA0VjI3di0zLjVjLTMuNS03LjUtMTMtMTAuNS0xNi00LTMgNiA1IDEwIDUgMTBWMzd6IiBmaWxsPSIjZmZmIi8+PHBhdGggZD0iTTExLjUgMzBjNS41LTMgMTUuNS0zIDIxIDBtLTIxIDMuNWM1LjUtMyAxNS41LTMgMjEgMG0tMjEgMy41YzUuNS0zIDE1LjUtMyAyMSAwIi8+PC9nPjwvc3ZnPg==)}.cg-wrap piece.pawn.black{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PHBhdGggZD0iTTIyLjUgOWMtMi4yMSAwLTQgMS43OS00IDQgMCAuODkuMjkgMS43MS43OCAyLjM4QzE3LjMzIDE2LjUgMTYgMTguNTkgMTYgMjFjMCAyLjAzLjk0IDMuODQgMi40MSA1LjAzLTMgMS4wNi03LjQxIDUuNTUtNy40MSAxMy40N2gyM2MwLTcuOTItNC40MS0xMi40MS03LjQxLTEzLjQ3IDEuNDctMS4xOSAyLjQxLTMgMi40MS01LjAzIDAtMi40MS0xLjMzLTQuNS0zLjI4LTUuNjIuNDktLjY3Ljc4LTEuNDkuNzgtMi4zOCAwLTIuMjEtMS43OS00LTQtNHoiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvc3ZnPg==)}.cg-wrap piece.bishop.black{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0i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color:#172033;background:#f5f7fb;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #172033;--muted: #748096;--soft-muted: #9aa4b6;--line: #e7ebf2;--panel: #ffffff;--canvas: #f7f9fc;--blue: #4778e8;--blue-dark: #3566d6;--blue-soft: #edf3ff;--green: #2e9b71;--shadow: 0 8px 26px rgba(32, 49, 80, .045)}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0}body{min-width:930px;overflow:hidden}button,input,select{font:inherit}button{color:inherit}button:disabled{opacity:.42;cursor:not-allowed!important}.app-shell{display:flex;width:100%;height:100%;background:#f5f7fb;overflow:hidden}.sidebar{width:244px;flex:0 0 244px;display:flex;flex-direction:column;padding:21px 14px 14px;background:#fff;border-right:1px solid var(--line);transition:width .2s ease,flex-basis .2s ease;z-index:4}.sidebar.collapsed{width:72px;flex-basis:72px;padding-left:10px;padding-right:10px}.sidebar-top{display:flex;align-items:center;justify-content:space-between;padding:0 5px 35px 7px}.brand-lockup{display:flex;align-items:center;gap:10px;min-width:0}.brand-mark{width:28px;height:28px;display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr);gap:3px;transform:rotate(-1deg)}.brand-mark span{display:block;border-radius:4px;background:#4678e8}.brand-mark span:nth-child(2),.brand-mark span:nth-child(3){background:#8fb0ff}.brand-name{font-family:Manrope,sans-serif;font-size:19px;font-weight:800;letter-spacing:-.8px;color:#18243a}.collapsed .brand-name{display:none}.icon-button,.plain-icon-button,.toolbar-icon,.tiny-icon-button{border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;color:#8590a3;cursor:pointer;border-radius:7px}.icon-button{width:27px;height:27px}.icon-button:hover,.plain-icon-button:hover,.toolbar-icon:hover,.tiny-icon-button:hover{color:#304466;background:#f1f4f9}.side-toggle{margin-left:auto}.collapsed .side-toggle{margin-left:0}.nav-label-row{display:flex;align-items:center;justify-content:space-between;padding:0 7px 10px;color:#9ca6b7;font-size:10px;font-weight:700;letter-spacing:.11em}.collapsed .nav-label-row{justify-content:center;font-size:0}.tiny-icon-button{width:24px;height:24px}.repertoire-list{display:flex;flex-direction:column;gap:4px}.repertoire-item{min-height:39px;display:flex;align-items:center;border-radius:8px;padding:0 5px 0 8px;color:#626f84;transition:background .15s ease}.repertoire-item:hover{background:#f7f9fc}.repertoire-item.active{background:#edf3ff;color:#3e6fdf}.repertoire-select{flex:1;min-width:0;display:flex;align-items:center;gap:10px;padding:0;border:0;background:transparent;font-size:12.5px;font-weight:600;text-align:left;cursor:pointer}.repertoire-select svg{flex:0 0 auto}.repertoire-select span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.repertoire-actions{display:flex;gap:1px;opacity:0;transition:opacity .12s ease}.repertoire-item:hover .repertoire-actions,.repertoire-item.active .repertoire-actions{opacity:1}.danger-hover:hover{color:#dc5d69!important;background:#fff0f1!important}.collapsed .repertoire-item{justify-content:center;padding:0}.collapsed .repertoire-select{flex:0 0 auto;justify-content:center}.collapsed .repertoire-actions{display:none}.sidebar-spacer{flex:1}.sidebar-card{display:flex;align-items:flex-start;gap:10px;margin:0 2px 15px;padding:12px 10px;border:1px solid #e8edf5;border-radius:10px;background:#fafbfd}.sidebar-card-icon{width:26px;height:26px;flex:0 0 auto;display:flex;align-items:center;justify-content:center;border-radius:8px;color:#5d82dc;background:#edf3ff}.sidebar-card strong{display:block;margin:1px 0 3px;font-size:11px;font-weight:700;color:#3a465b}.sidebar-card p{margin:0;color:#8792a4;font-size:10.5px;line-height:1.45}.sidebar-footer{display:flex;align-items:center;gap:7px;padding:0 7px;font-size:10.5px;color:#99a3b2}.status-dot{width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:#b7c0ce}.status-dot.green{background:#32ad82}.main-shell{min-width:0;flex:1;display:flex;flex-direction:column;overflow:hidden}.topbar{height:64px;flex:0 0 64px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 26px;background:#fff;border-bottom:1px solid var(--line)}.breadcrumb{display:flex;align-items:center;gap:9px;min-width:0;color:#acb4c1;font-size:12px}.breadcrumb strong{max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#27344a;font-size:12.5px;font-weight:700}.crumb-muted{color:#8b96a8}.plain-icon-button{width:26px;height:26px}.topbar-actions{display:flex;align-items:center;gap:8px}.toolbar-button{height:32px;display:inline-flex;align-items:center;gap:7px;padding:0 11px;border:1px solid #e6eaf1;border-radius:7px;color:#627087;background:#fff;font-size:11.5px;font-weight:600;cursor:pointer;transition:.15s ease}.toolbar-button:hover{color:#365fb9;border-color:#cad7f2;background:#fbfcff}.toolbar-button.primary-outline{border-color:#d3def6;color:#4b73cf;background:#f9fbff}.toolbar-icon{width:31px;height:31px;margin-left:3px}.workspace{display:grid;grid-template-columns:520px 10px minmax(0,1fr);gap:0;min-height:0;flex:1;padding:18px 18px 18px 20px;overflow:hidden}.workspace-splitter{position:relative;z-index:3;display:flex;align-items:stretch;justify-content:center;margin:0;cursor:col-resize;touch-action:none;-webkit-user-select:none;user-select:none}.workspace-splitter:before{width:1px;background:#e6ebf2;content:"";transition:background .15s ease,width .15s ease}.workspace-splitter span{position:absolute;top:50%;left:50%;width:5px;height:46px;border:1px solid #e1e7f0;border-radius:5px;background:#fff;box-shadow:0 2px 6px #25375814;transform:translate(-50%,-50%);transition:border-color .15s ease,background .15s ease}.workspace-splitter:hover:before,.workspace-resizing .workspace-splitter:before{width:2px;background:#8eaceb}.workspace-splitter:hover span,.workspace-resizing .workspace-splitter span{border-color:#b7c9ef;background:#f1f5ff}.workspace-resizing,.workspace-resizing *{cursor:col-resize!important;-webkit-user-select:none!important;user-select:none!important}.analysis-column,.tree-column{min-width:0;min-height:0;display:flex;flex-direction:column}.analysis-column{overflow-y:auto;padding-right:10px;scrollbar-width:thin;scrollbar-color:#dfe5ee transparent}.section-heading,.tree-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-height:63px;margin:0 1px 12px;flex:0 0 auto}.eyebrow{display:block;margin-bottom:5px;color:#9aa5b7;font-size:9px;line-height:1.2;font-weight:800;letter-spacing:.13em}h1,h2,p{margin-top:0}.section-heading h1,.tree-heading h1{margin:0;color:#1d2a41;font-family:Manrope,sans-serif;font-size:18px;font-weight:800;letter-spacing:-.55px;line-height:1.3}.section-heading p,.tree-heading p{margin:3px 0 0;color:#8c97a8;font-size:11px;line-height:1.45}.board-status{display:inline-flex;align-items:center;gap:6px;margin-top:12px;padding:5px 8px;border:1px solid #e6edf5;border-radius:6px;background:#fff;color:#8792a3;font-size:9.5px;white-space:nowrap}.live-dot{width:6px;height:6px;border-radius:50%;background:#30aa7c;box-shadow:0 0 0 3px #e8f7f0}.board-card,.data-panel{border:1px solid #e6ebf2;border-radius:12px;background:#fff;box-shadow:var(--shadow)}.board-card{padding:13px 15px 0;overflow:hidden;flex:0 0 auto}.board-card-top{display:flex;align-items:center;justify-content:space-between;padding:0 1px 10px}.board-position-label{display:flex;align-items:center;gap:7px;min-width:0;color:#8b96a7;font-size:10.5px}.position-number{padding:3px 6px;border:1px solid #e8edf4;border-radius:5px;background:#fafbfd;color:#778398;font-size:10px;font-weight:700}.board-position-label strong{color:#34425a;font-size:11.5px;font-weight:700}.position-muted{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.board-stage{display:flex;flex:0 0 auto;align-items:center;justify-content:center;width:100%;padding:0 0 10px}.board-inner{width:min(100%,438px,max(260px,calc(100dvh - 520px)));aspect-ratio:1;flex:0 0 auto;overflow:hidden}.chessground-host,.cg-wrap{width:100%!important;height:100%!important}.cg-wrap{overflow:hidden}.cg-wrap piece{cursor:grab}.cg-wrap coords{font-family:DM Sans,sans-serif!important;font-size:9px!important;font-weight:700!important}.board-controls{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #edf0f5}.board-nav-buttons{display:flex;align-items:center;gap:5px}.square-button{width:29px;height:29px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e7ebf2;border-radius:7px;background:#fff;color:#78859a;cursor:pointer;transition:.15s ease}.square-button:hover:not(:disabled){color:#456fcd;border-color:#cbd9f4;background:#f8faff}.capture-control{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.capture-toggle{display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;color:#727f94;font-size:10.5px;font-weight:700;cursor:pointer;white-space:nowrap}.toggle-track{width:27px;height:15px;padding:2px;border-radius:20px;background:#dce2eb;transition:background .15s ease}.toggle-track span{display:block;width:11px;height:11px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #00000026;transition:transform .15s ease}.capture-toggle.enabled{color:#428365}.capture-toggle.enabled .toggle-track{background:#49b58c}.capture-toggle.enabled .toggle-track span{transform:translate(12px)}.capture-hint{color:#a0a9b7;font-size:9px;white-space:nowrap}.move-strip{padding:10px 0 11px;border-top:1px solid #edf0f5}.move-strip-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;color:#a0aabb;font-size:9px;font-weight:800;letter-spacing:.12em}.text-button{display:inline-flex;align-items:center;gap:5px;padding:0;border:0;background:transparent;color:#5579c8;font-size:10.5px;font-weight:700;cursor:pointer}.text-button:hover:not(:disabled){color:#2e5fc8}.move-empty{display:flex;align-items:center;gap:8px;padding:6px 0 9px;color:#a2acba;font-size:10.5px}.move-empty-icon{width:25px;height:25px;display:flex;align-items:center;justify-content:center;border-radius:7px;color:#8b9bc0;background:#f0f4fb}.move-list-wrap{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.move-list{display:flex;align-items:center;flex-wrap:wrap;gap:4px;min-width:0}.move-token{display:inline-flex;align-items:center;gap:3px;min-height:24px;padding:3px 7px;border:1px solid #e8edf4;border-radius:5px;color:#53617a;background:#fbfcfe;font-size:10px;font-weight:700;cursor:grab}.move-token:hover{color:#426ed0;border-color:#cddaf6;background:#f4f7ff}.move-number{color:#a0aaba;font-size:9px;font-weight:500}.line-drag-button{display:inline-flex;align-items:center;gap:5px;min-height:24px;padding:3px 7px;border:1px dashed #d2dbe9;border-radius:5px;color:#8090a9;background:#fff;font-size:9.5px;font-weight:600;cursor:grab}.line-drag-button:hover{border-color:#9fb7ea;color:#4b72cb}.data-panel{display:flex;flex:0 0 auto;flex-direction:column;min-height:238px;margin-top:13px;overflow:hidden}.panel-tabs{height:42px;flex:0 0 42px;display:flex;align-items:stretch;gap:18px;padding:0 14px;border-bottom:1px solid #edf0f5}.panel-tabs button{position:relative;display:inline-flex;align-items:center;gap:7px;padding:0 2px;border:0;background:transparent;color:#8994a6;font-size:10.5px;font-weight:700;cursor:pointer}.panel-tabs button.active{color:#466fcd}.panel-tabs button.active:after{position:absolute;right:0;bottom:-1px;left:0;height:2px;border-radius:2px 2px 0 0;background:#5480e5;content:""}.panel-content{padding:12px 14px 13px}.explorer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.segmented-tabs{display:flex;align-items:center;gap:2px;padding:3px;border-radius:7px;background:#f2f5f9}.segmented-tabs button{height:24px;padding:0 10px;border:0;border-radius:5px;background:transparent;color:#8994a6;font-size:10px;font-weight:700;cursor:pointer}.segmented-tabs button.active{background:#fff;color:#416dd1;box-shadow:0 1px 3px #1b2d501a}.explorer-filters{display:flex;align-items:center;gap:5px}.compact-select{height:27px;padding:0 23px 0 8px;border:1px solid #e7ebf2;border-radius:6px;outline:none;color:#657187;background:#fff;font-size:9.5px;font-weight:600;cursor:pointer}.compact-select:focus{border-color:#afc4f4}.speed-filters{display:flex;align-items:center;gap:5px;margin:-1px 0 10px;color:#a0aaba;font-size:9px}.speed-filters>span{margin-right:2px}.speed-chip{position:relative;padding:3px 7px;border:1px solid #e8edf4;border-radius:5px;color:#8b95a6;background:#fff;font-size:9px;cursor:pointer}.speed-chip input{position:absolute;opacity:0;pointer-events:none}.speed-chip.selected{border-color:#d4e0fa;color:#5176cb;background:#f3f7ff}.explorer-summary{display:flex;align-items:center;gap:9px;margin:1px 0 9px;color:#7e899b;font-size:9px}.explorer-summary b{color:#3a475d;font-size:10px}.summary-bar{width:66px;height:5px;display:flex;overflow:hidden;border-radius:8px;background:#e9edf3}.summary-bar span,.db-result-bar span{height:100%;display:block}.bar-white,.bar-win{background:#6ea7e5}.bar-draw{background:#e3c984}.bar-black,.bar-loss{background:#6a778c}.muted-small{color:#a2acb9;font-size:9px}.database-moves{display:flex;flex-direction:column;gap:1px}.database-move{min-height:31px;display:grid;grid-template-columns:23px 39px minmax(48px,1fr) 60px 48px 55px;align-items:center;gap:7px;padding:2px 4px;border-radius:6px;transition:background .12s ease}.database-move:hover{background:#f7f9fc}.db-play{width:22px;height:22px;display:flex;align-items:center;justify-content:center;border:1px solid #e8edf4;border-radius:5px;color:#7f8ba0;background:#fff;cursor:pointer}.db-play:hover{color:#4675dc;border-color:#cad8f3}.db-san{color:#3f4e65;font-size:10.5px}.db-result-bar{height:5px;display:flex;overflow:hidden;border-radius:6px;background:#edf0f4}.db-score,.db-games,.db-rating{display:flex;flex-direction:column;gap:1px;text-align:right}.db-score b,.db-games b,.db-rating b{color:#48566c;font-size:9.5px;font-weight:700}.db-score span,.db-games span,.db-rating span{color:#a1aaba;font-size:8px}.loading-row{display:flex;align-items:center;gap:8px;padding:17px 3px;color:#8b97a9;font-size:10.5px}.spinner{width:13px;height:13px;border:2px solid #e0e7f2;border-top-color:#6083d8;border-radius:50%;animation:spin .7s linear infinite}.spinner.light{border-color:#ffffff40;border-top-color:#fff}@keyframes spin{to{transform:rotate(360deg)}}.empty-panel{display:flex;align-items:center;gap:8px;min-height:60px;padding:11px 6px;color:#9aa5b4;font-size:10.5px}.error-panel{color:#bc6e76}.explorer-footer{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:10px;padding-top:10px;border-top:1px solid #f0f2f6}.explorer-footer>span{display:inline-flex;align-items:center;gap:5px;color:#a0a9b6;font-size:8.5px}.practical-button{min-height:27px;display:inline-flex;align-items:center;gap:6px;padding:0 9px;border:1px solid #dce6fa;border-radius:6px;color:#5075cc;background:#f8faff;font-size:9px;font-weight:700;cursor:pointer;white-space:nowrap}.practical-button:hover:not(:disabled){background:#eff4ff;border-color:#c7d7f8}.practical-results{margin-top:10px;padding:10px 9px 5px;border-radius:8px;background:#f8faff;border:1px solid #e7eefb}.practical-heading{display:flex;align-items:center;gap:6px;color:#5879c5}.practical-heading strong{color:#4a5a78;font-size:10px}.practical-heading span{margin-left:auto;color:#9ba7ba;font-size:8.5px}.progress-track{height:3px;margin:9px 0 5px;overflow:hidden;border-radius:4px;background:#e4eaf5}.progress-track span{height:100%;display:block;border-radius:4px;background:#7295e8;transition:width .2s ease}.search-error{margin:8px 0 4px;color:#ba727b;font-size:9.5px}.practical-result{width:100%;display:grid;grid-template-columns:18px 35px 1fr 50px 48px;align-items:center;gap:7px;min-height:29px;border:0;border-top:1px solid #e9eff9;color:#77849b;background:transparent;text-align:left;cursor:pointer}.practical-result:hover{color:#446ecb}.result-rank{width:16px;height:16px;display:flex;align-items:center;justify-content:center;border-radius:5px;color:#7390d5;background:#eaf0ff;font-size:8px;font-weight:700}.practical-result strong{color:#43516a;font-size:10px}.practical-result>span:nth-child(3){font-size:9px}.result-engine{text-align:right;color:#72809a;font-size:9px;font-weight:700}.result-add{display:inline-flex;align-items:center;justify-content:flex-end;gap:3px;color:#6684ce;font-size:9px;font-weight:700}.engine-panel{min-height:190px}.engine-heading-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.engine-status{display:flex;align-items:center;gap:7px;color:#57657b;font-size:10px;font-weight:700}.engine-heading-row p{margin:4px 0 0 13px;color:#a0aab9;font-size:9px}.engine-run-button{width:100%;height:33px;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:13px;border:0;border-radius:7px;color:#fff;background:#4778e2;font-size:10.5px;font-weight:700;cursor:pointer}.engine-run-button:hover:not(:disabled){background:#3768d1}.engine-result-card{display:grid;grid-template-columns:1fr 1.4fr 55px;gap:8px;margin-top:10px;padding:10px;border:1px solid #e8edf5;border-radius:8px;background:#fafbfd}.engine-eval-block{display:flex;flex-direction:column;gap:4px}.engine-eval-block span{color:#9aa5b5;font-size:8px;text-transform:uppercase;letter-spacing:.07em}.engine-eval-block strong{color:#34435b;font-size:13px}.engine-pv{grid-column:1 / -1;margin:0;padding-top:7px;border-top:1px solid #edf0f5;color:#8490a2;font-size:9px;line-height:1.5}.engine-controls{display:flex;align-items:center;gap:6px}.engine-controls label{display:inline-flex;align-items:center;gap:5px;color:#9aa5b5;font-size:9px;font-weight:700}.engine-auto-note{margin-top:7px;color:#a0aab9;font-size:8.5px}.engine-variations{display:flex;flex-direction:column;gap:4px;max-height:220px;margin-top:8px;overflow:auto}.engine-variation{width:100%;min-height:34px;display:grid;grid-template-columns:21px 48px minmax(0,1fr) 13px;align-items:center;gap:7px;padding:5px 7px;border:1px solid #e9edf4;border-radius:7px;color:#7f8ba0;background:#fff;text-align:left;cursor:pointer}.engine-variation:hover{border-color:#cbd9f4;background:#f8faff}.variation-color{width:20px;height:20px;display:flex;align-items:center;justify-content:center;border-radius:6px;color:#fff;font-size:9px;font-weight:800}.variation-color.color-0{background:#42a77e}.variation-color.color-1{background:#5685dc}.variation-color.color-2{background:#d16c75}.variation-color.color-3{background:#c39b43}.variation-color.color-4{background:#8c79c7}.variation-score{color:#596a84;font-size:9px;font-weight:800}.variation-line{overflow:hidden;color:#7f8ba0;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.engine-variation>svg{color:#9ba8ba}.engine-progress{margin:7px 0 0;color:#8a96a8;font-size:9px}.engine-empty{display:flex;align-items:center;gap:9px;min-height:62px;color:#9aa4b3;font-size:10px}.engine-install-note{display:flex;align-items:flex-start;gap:7px;margin-top:8px;padding:8px;border-radius:7px;color:#8b96a8;background:#f5f7fa;font-size:9px;line-height:1.5}.engine-install-note code{padding:1px 4px;border-radius:3px;color:#516a9f;background:#e9eef8;font-size:9px}.position-panel{display:flex;flex-direction:column;gap:12px}.position-info-row{display:flex;align-items:center;gap:12px}.position-info-text{flex:1;display:flex;flex-direction:column;gap:4px}.position-info-text strong,.compact-row strong{color:#3f4d63;font-size:10.5px}.position-info-text>span:last-child{color:#98a2b1;font-size:9px}.small-button{display:inline-flex;align-items:center;gap:5px;padding:6px 8px;border:1px solid #e6ebf2;border-radius:6px;color:#7a879a;background:#fff;font-size:9px;cursor:pointer}.compact-row{justify-content:space-between;padding-top:9px;border-top:1px solid #eff2f6}.compact-row>div{display:flex;flex-direction:column;gap:4px}.tree-column{position:relative;min-width:0;border:1px solid #e6ebf2;border-radius:12px;background:#fff;box-shadow:var(--shadow);overflow:hidden;transition:border-color .15s ease,background .15s ease}.tree-column.drag-over{border-color:#8eaceb;background:#f7faff}.tree-heading{min-height:69px;margin:0;padding:17px 18px 11px}.tree-heading h1{display:flex;align-items:center;gap:9px}.tree-count{padding:3px 7px;border:1px solid #e9edf4;border-radius:5px;color:#8995a8;background:#fafbfd;font-family:DM Sans,sans-serif;font-size:9px;font-weight:600;letter-spacing:0}.tree-tools{display:flex;align-items:center;gap:5px}.zoom-value{min-width:34px;color:#929daf;font-size:9px;text-align:center}.tree-legend{min-height:36px;display:flex;align-items:center;flex-wrap:wrap;gap:13px;padding:0 18px;border-top:1px solid #f0f2f6;border-bottom:1px solid #f0f2f6;color:#8e99a9;font-size:9px}.tree-legend>span{display:inline-flex;align-items:center;gap:6px}.legend-dot{width:7px;height:7px;border-radius:3px;background:#c8d0dd}.legend-dot.root{background:#9cb7f0}.legend-dot.active{background:#4f80e6}.legend-line{width:16px;height:0;border-top:2px dashed #9ba8c9}.legend-hint{margin-left:auto;color:#a4adbb}.tree-canvas-shell{position:relative;flex:1;min-height:0;overflow:auto;background-color:#fbfcfe;background-image:radial-gradient(#e9edf4 1px,transparent 1px);background-size:18px 18px;scrollbar-width:thin;scrollbar-color:#dfe5ee transparent}.tree-canvas{position:relative;min-width:100%;min-height:100%;transition:transform .16s ease}.tree-edges{position:absolute;top:0;left:0;overflow:visible;pointer-events:none}.tree-edge{fill:none;stroke:#c7cfdd;stroke-width:1.7;opacity:.9}.tree-edge.transpose{stroke:#94a4ca;stroke-dasharray:4 4;stroke-width:1.8}.tree-node{position:absolute;z-index:2;border:1px solid #e0e6ef;border-radius:9px;background:#fff;box-shadow:0 3px 9px #3143660e;transition:border-color .12s ease,box-shadow .12s ease,transform .12s ease}.tree-node:hover{z-index:20;border-color:#afc2ec;box-shadow:0 7px 17px #3651871f;transform:translateY(-1px)}.tree-node.selected{border-color:#6e95eb;box-shadow:0 0 0 2px #5782e021,0 4px 12px #36518714}.tree-node.root-node{border-color:#c8d8fa;background:#fdfefe}.tree-node-main{width:100%;height:100%;display:flex;align-items:center;gap:8px;padding:8px;border:0;border-radius:8px;background:transparent;text-align:left;cursor:pointer}.node-copy{min-width:0;display:flex;flex-direction:column;gap:4px}.node-label{overflow:hidden;color:#3d4d67;font-size:10px;line-height:1.1;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.root-node .node-label{color:#5478ca}.node-detail{color:#8490a3;font-size:8.5px}.node-replies{color:#a2acb9;font-size:8px}.node-delete{position:absolute;top:-7px;right:-7px;z-index:4;width:19px;height:19px;display:flex;align-items:center;justify-content:center;border:1px solid #e7ebf2;border-radius:50%;color:#8d98a9;background:#fff;opacity:0;box-shadow:0 2px 6px #2230491a;cursor:pointer}.tree-node:hover .node-delete{opacity:1}.node-delete:hover{color:#d75f6c;border-color:#f0c7cc;background:#fff8f8}.node-preview{position:absolute;z-index:25;left:50%;top:calc(100% + 12px);display:flex;align-items:center;gap:11px;min-width:225px;padding:10px;border:1px solid #dce4f1;border-radius:10px;background:#fff;box-shadow:0 12px 28px #21314e29;transform:translate(-50%);pointer-events:none}.node-preview:after{position:absolute;top:-6px;left:calc(50% - 5px);width:10px;height:10px;border-left:1px solid #dce4f1;border-top:1px solid #dce4f1;background:#fff;transform:rotate(45deg);content:""}.preview-copy{min-width:0;display:flex;flex-direction:column;gap:5px}.preview-copy strong{color:#3c4a60;font-size:10px}.preview-copy span{color:#8995a6;font-size:9px}.preview-copy .preview-transposition{color:#687eb6}.preview-copy code{max-width:110px;overflow:hidden;color:#a0aaba;font-size:7px;white-space:nowrap}.tree-empty-hint{position:absolute;top:48%;left:50%;z-index:1;width:240px;display:flex;flex-direction:column;align-items:center;gap:8px;color:#a1aaba;text-align:center;transform:translate(-50%,-50%);pointer-events:none}.empty-graphic{width:45px;height:45px;display:flex;align-items:center;justify-content:center;border:1px solid #e7edf7;border-radius:13px;color:#91a6d8;background:#f5f8fe}.tree-empty-hint strong{color:#69768c;font-size:11px}.tree-empty-hint span{color:#9ba5b3;font-size:9px;line-height:1.55}.tree-drop-overlay{position:sticky;bottom:20px;left:50%;z-index:50;width:fit-content;display:flex;align-items:center;gap:9px;margin:0 auto;padding:11px 15px;border:1px solid #abc2f4;border-radius:9px;color:#426cc8;background:#f4f8fff5;box-shadow:0 5px 20px #3d5d9a1f;font-size:11px;font-weight:700;transform:translateY(-18px);pointer-events:none}.tree-footer{min-height:38px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;border-top:1px solid #edf0f5;color:#98a2b1;background:#fff;font-size:9px}.tree-footer-left{display:flex;align-items:center;gap:7px}.footer-separator{color:#cad1dc}.mini-board-ground{display:block;flex:0 0 auto;overflow:hidden;border:1px solid rgba(38,53,78,.12);border-radius:4px;background:#f0dfc3;pointer-events:none}.mini-board-ground cg-board{cursor:default!important}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:22px;background:#151f3140;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.help-modal{width:min(620px,94vw);max-height:90vh;overflow-y:auto;padding:22px;border:1px solid #e7ecf4;border-radius:14px;background:#fff;box-shadow:0 20px 60px #19274333}.modal-title{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:18px}.modal-title h2{margin:0;color:#1f2c42;font-family:Manrope,sans-serif;font-size:20px;letter-spacing:-.6px}.help-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.help-grid>div{min-height:112px;padding:13px;border:1px solid #edf0f5;border-radius:9px;background:#fcfdff}.help-grid svg{margin-bottom:8px;color:#6889d8}.help-grid strong{display:block;margin-bottom:4px;color:#45536b;font-size:11px}.help-grid p{margin:0;color:#8b97a8;font-size:9.5px;line-height:1.5}.help-bottom{display:flex;align-items:center;gap:8px;margin:15px 0;color:#8c97a8;font-size:9.5px}.primary-button{height:34px;padding:0 15px;border:0;border-radius:7px;color:#fff;background:#4778e5;font-size:10.5px;font-weight:700;cursor:pointer}.primary-button:hover{background:#3769d4}.full-width{width:100%}.toast{position:fixed;right:22px;bottom:20px;z-index:120;display:flex;align-items:center;gap:8px;max-width:min(460px,calc(100vw - 40px));padding:11px 14px;border:1px solid #dfe8f3;border-radius:9px;color:#50627d;background:#fff;box-shadow:0 8px 25px #1e304f21;font-size:10.5px;animation:toast-in .18s ease-out}.toast svg{color:#31a77d;flex:0 0 auto}@keyframes toast-in{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}@media(max-width:1260px){.workspace{padding-left:14px;padding-right:14px}.sidebar{width:214px;flex-basis:214px}.tree-legend{gap:8px;padding:0 12px}.legend-hint{display:none!important}}@media(max-width:1050px){.sidebar{width:66px;flex-basis:66px;padding-left:9px;padding-right:9px}.sidebar .brand-name,.sidebar .nav-label-row,.sidebar .repertoire-select span,.sidebar .repertoire-actions,.sidebar .sidebar-card,.sidebar .sidebar-footer{display:none}.sidebar .sidebar-top{justify-content:center;padding:0 0 35px}.sidebar .repertoire-item{justify-content:center;padding:0}.sidebar .repertoire-select{justify-content:center}.sidebar .side-toggle{display:none}.workspace{padding-left:12px;padding-right:12px}.topbar{padding:0 15px}.toolbar-button{padding:0 8px}}.token-button{height:27px;display:inline-flex;align-items:center;gap:5px;padding:0 8px;border:1px solid #e6ebf2;border-radius:6px;color:#78859a;background:#fff;font-size:9px;font-weight:700;cursor:pointer;white-space:nowrap}.token-button:hover{border-color:#cbd9f4;color:#5074c8;background:#f9fbff}.token-button.connected{border-color:#d7eddf;color:#3d9872;background:#f8fdf9}.token-settings{display:grid;grid-template-columns:minmax(140px,1fr) minmax(120px,1.1fr) auto auto;align-items:center;gap:7px;margin:-2px 0 10px;padding:10px;border:1px solid #e6edf9;border-radius:8px;background:#f9fbff}.token-settings-copy{display:flex;flex-direction:column;gap:3px}.token-settings-copy strong{color:#52627e;font-size:9.5px}.token-settings-copy span{color:#929eb1;font-size:8px;line-height:1.35}.token-settings-copy a{display:inline-flex;align-items:center;gap:4px;margin-top:2px;color:#5d7fd0;font-size:8.5px;font-weight:700;text-decoration:none}.token-settings-copy a:hover{color:#315fbf}.token-settings input{width:100%;min-width:0;height:28px;padding:0 8px;border:1px solid #e0e7f2;border-radius:6px;outline:none;color:#475671;background:#fff;font-size:9px}.token-settings input:focus{border-color:#abc0ee}.token-save,.token-clear{height:28px;padding:0 9px;border:1px solid #d5e0f6;border-radius:6px;color:#4c72c7;background:#fff;font-size:9px;font-weight:700;cursor:pointer}.token-save{color:#fff;border-color:#4d79df;background:#4d79df}.token-save:hover{background:#3d69d0}.token-clear{border-color:#e8ebf1;color:#8894a6}.brand-lockup{flex:0 0 auto;width:max-content}.brand-mark{flex:0 0 28px;min-width:28px;min-height:28px}.sidebar.collapsed .brand-name{display:none}.sidebar.collapsed .brand-lockup{width:28px;min-width:28px}.mobile-nav-controls{display:none}.board-inner{width:min(100%,var(--board-size, 420px),max(220px,calc(100dvh - 400px)));max-width:100%}.board-top-actions{display:flex;align-items:center;gap:8px}.board-eval-number{display:flex;flex-direction:column;align-items:flex-end;gap:1px;min-width:47px}.board-eval-number strong{color:#42526d;font-size:11px;font-weight:800;font-variant-numeric:tabular-nums}.board-eval-number span{color:#a0a9b7;font-size:8px}.evaluation-rail{display:flex;flex:0 0 18px;flex-direction:column;align-items:center;justify-content:center;gap:5px;margin-right:9px;color:#78859b;font-size:8px;font-weight:700;font-variant-numeric:tabular-nums}.evaluation-bar{position:relative;width:10px;height:min(100%,438px);min-height:100px;overflow:hidden;border:1px solid #dfe4ec;border-radius:6px;background:#303b4e}.evaluation-white{position:absolute;right:0;bottom:0;left:0;display:block;border-radius:4px 4px 0 0;background:#fff;transition:height .2s ease}.board-data-splitter{position:relative;z-index:4;flex:0 0 13px;display:flex;align-items:center;justify-content:center;margin:3px 0 0;cursor:row-resize;touch-action:none;-webkit-user-select:none;user-select:none}.board-data-splitter:before{position:absolute;right:8px;left:8px;height:1px;background:#e7ebf2;content:""}.board-data-splitter span{z-index:1;width:38px;height:5px;border:1px solid #e0e6ef;border-radius:6px;background:#fff;box-shadow:0 1px 3px #25375814}.board-data-splitter:hover span,.board-data-splitter.resizing span{border-color:#b7c9ef;background:#edf3ff}.board-resizing,.board-resizing *{cursor:row-resize!important;-webkit-user-select:none!important;user-select:none!important}.engine-lines-card{flex:0 0 auto;margin:1px 0 0;padding:9px 10px 8px;border:1px solid #e7ebf2;border-radius:9px;background:#fff}.engine-lines-heading{display:flex;justify-content:space-between;margin-bottom:5px;color:#9aa5b7;font-size:8px;font-weight:800;letter-spacing:.1em}.engine-lines-row{display:flex;align-items:center;gap:7px}.engine-line-row{width:100%;min-height:29px;display:grid;grid-template-columns:8px 48px minmax(0,1fr) 13px;align-items:center;gap:7px;padding:3px 2px;border:0;border-top:1px solid #f0f2f6;color:#75839a;background:transparent;text-align:left;cursor:pointer}.engine-line-row:hover{color:#456fcd;background:#fafcff}.engine-line-row strong{color:#53627a;font-size:9px;font-variant-numeric:tabular-nums}.engine-line-row>span:nth-child(3){overflow:hidden;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.engine-line-dot{width:7px;height:7px;border-radius:50%;background:#5487e8}.engine-line-dot.level-2{opacity:.76}.engine-line-dot.level-3{opacity:.55}.engine-line-dot.level-4{opacity:.36}.tree-node{border-radius:8px}.tree-node-main{justify-content:center;padding:5px 8px}.node-copy{width:100%;align-items:center;gap:2px;text-align:center}.node-label{max-width:100%;font-size:10.5px}.node-transposition{color:#8798bd;font-size:7.5px;line-height:1}.tree-node.root-node .node-label{letter-spacing:.08em}.node-preview.floating-preview{position:fixed;z-index:10000;left:auto;top:auto;min-width:0;max-width:min(360px,calc(100vw - 24px));align-items:center;padding:10px;transform:none}.node-preview.floating-preview:after{display:none}.node-preview.floating-preview .mini-board-ground{width:184px!important;height:184px!important;min-width:184px;min-height:184px}.node-preview.floating-preview .preview-copy{min-width:95px;max-width:135px}.node-preview.floating-preview .preview-copy strong{font-size:11px}.node-preview.floating-preview .preview-copy span{font-size:9px;line-height:1.35}.board-theme-brown{--square-light: #f0d9b5;--square-dark: #b58863}.board-theme-green{--square-light: #eeeed2;--square-dark: #769656}.board-theme-blue{--square-light: #deeaf5;--square-dark: #7799b8}.board-theme-gray{--square-light: #e5e7eb;--square-dark: #8b95a5}.board-theme-brown cg-board,.board-theme-green cg-board,.board-theme-blue cg-board,.board-theme-gray cg-board{background-color:var(--square-light)!important;background-image:conic-gradient(var(--square-dark) 25%,var(--square-light) 0 50%,var(--square-dark) 0 75%,var(--square-light) 0)!important;background-size:25% 25%!important}.mini-board-ground{isolation:isolate}.settings-modal{width:min(520px,94vw);max-height:min(90vh,760px);overflow-y:auto;padding:22px;border:1px solid #e7ecf4;border-radius:14px;background:#fff;box-shadow:0 20px 60px #19274333}.settings-section{margin:0 0 17px;padding:0 0 14px;border-bottom:1px solid #edf0f5}.settings-section h3{margin:0 0 7px;color:#8793a7;font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.settings-row{min-height:49px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #f2f4f7}.settings-row>span{min-width:0;display:flex;flex-direction:column;gap:3px}.settings-row strong{color:#45536b;font-size:10.5px}.settings-row small{color:#9aa5b5;font-size:9px;line-height:1.4}.settings-row input[type=checkbox]{width:16px;height:16px;accent-color:#527ee0;flex:0 0 auto}.settings-select{min-width:118px}.settings-note{margin:9px 0 0;padding:9px;border-radius:7px;color:#8996aa;background:#f6f8fb;font-size:9px;line-height:1.5}.settings-note code{color:#5575bb}@media(max-width:760px){html,body,#root{width:100%;min-width:0;height:100%;min-height:100%}body{min-width:0;overflow:hidden;overscroll-behavior:none}.app-shell{display:flex;flex-direction:column;width:100%;height:100dvh;min-height:0;overflow:hidden}.sidebar,.sidebar.collapsed{width:100%;height:58px;min-height:58px;max-height:58px;flex:0 0 58px;flex-direction:row;align-items:center;gap:8px;padding:0 10px;border:0;border-bottom:1px solid var(--line);overflow:hidden}.sidebar-top,.sidebar.collapsed .sidebar-top{width:auto;flex:0 0 auto;justify-content:flex-start;gap:0;padding:0}.sidebar .brand-lockup{width:auto;min-width:0;gap:7px}.sidebar .brand-mark{width:24px;height:24px;min-width:24px;min-height:24px;flex-basis:24px;gap:2px}.sidebar .brand-mark span{border-radius:3px}.sidebar .brand-name{display:inline;font-size:16px;letter-spacing:-.6px}.sidebar.collapsed .brand-name,.sidebar .side-toggle{display:none}.sidebar .nav-label-row,.sidebar .repertoire-list,.sidebar .sidebar-spacer,.sidebar .sidebar-card,.sidebar .sidebar-footer{display:none!important}.mobile-nav-controls{min-width:0;flex:1;display:flex;align-items:center;justify-content:flex-end;gap:5px}.mobile-repertoire-select{min-width:0;max-width:clamp(72px,24vw,150px);height:32px;flex:1 1 auto;padding:0 4px;border:1px solid #e7ebf2;border-radius:7px;outline:none;color:#59677f;background:#fff;font-size:10px;font-weight:700}.mobile-nav-controls>.icon-button{width:29px;height:29px;flex:0 0 29px;border:1px solid #e7ebf2;background:#fff}.mobile-view-switch{display:flex;align-items:center;gap:2px;padding:3px;border-radius:7px;background:#f0f3f8}.mobile-view-switch button{height:26px;min-width:39px;padding:0 7px;border:0;border-radius:5px;color:#8692a5;background:transparent;font-size:9px;font-weight:800}.mobile-view-switch button.active{color:#416dd1;background:#fff;box-shadow:0 1px 3px #1b2d501a}.mobile-nav-actions{display:flex;align-items:center;gap:3px}.mobile-nav-actions .icon-button{width:28px;height:28px;flex:0 0 28px;border:1px solid #e7ebf2;background:#fff}.mobile-nav-actions .icon-button:nth-child(2),.mobile-nav-actions .icon-button:nth-child(3){display:none}.main-shell{min-width:0;min-height:0;flex:1;overflow:hidden}.main-shell>.topbar{display:none}.workspace{position:relative;display:block;width:100%;height:100%;min-height:0;padding:9px 9px max(10px,env(safe-area-inset-bottom));overflow:hidden}.analysis-column{width:100%;height:100%;min-height:0;padding:0;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.workspace.mobile-view-tree .analysis-column,.workspace.mobile-view-board .tree-column,.section-heading{display:none}.board-card{width:100%;padding:9px 9px 0;border-radius:10px}.board-card-top{min-height:31px;padding-bottom:7px}.board-position-label{gap:5px;font-size:9px}.board-position-label strong{font-size:10px}.position-number{padding:2px 5px;font-size:9px}.board-top-actions{gap:3px}.board-eval-number{min-width:39px}.board-eval-number strong{font-size:10px}.board-eval-number span{font-size:7px}.board-stage{padding:0 0 8px}.evaluation-rail{flex-basis:12px;gap:4px;margin-right:5px;font-size:7px}.evaluation-bar{width:7px;min-height:80px}.board-inner{width:min(100%,var(--board-size, 420px),calc(100vw - 54px));max-width:calc(100vw - 54px)}.board-controls{min-height:39px;gap:5px}.board-nav-buttons{gap:3px}.board-nav-buttons .square-button{width:28px;height:28px}.capture-control{gap:0}.capture-toggle{gap:5px;font-size:9px}.capture-hint{display:none}.move-strip{padding:8px 0 9px}.move-strip-head{margin-bottom:6px;font-size:8px}.move-empty{font-size:9px}.move-token{min-height:23px;padding:3px 6px;font-size:9px}.line-drag-button{font-size:8px}.board-data-splitter{flex-basis:12px;margin-top:1px}.engine-lines-card{margin-top:1px;padding:7px 8px}.engine-line-row{min-height:27px;grid-template-columns:7px 42px minmax(0,1fr) 12px}.engine-line-row>span:nth-child(3){font-size:8.5px}.data-panel{min-height:0;margin-top:7px;overflow:visible;border-radius:10px}.panel-content{padding:9px 9px 10px}.explorer-toolbar{align-items:center;gap:5px;flex-wrap:wrap;margin-bottom:8px}.segmented-tabs button{height:25px;padding:0 9px}.explorer-filters{min-width:0;flex-wrap:wrap;gap:4px}.explorer-filters .compact-select{max-width:104px}.token-button{height:27px;padding:0 7px}.speed-filters{gap:4px;flex-wrap:wrap;margin-bottom:8px;font-size:8px}.speed-chip{padding:3px 5px;font-size:8px}.explorer-summary{gap:6px;font-size:8px}.summary-bar{width:52px}.database-move{min-height:32px;grid-template-columns:23px minmax(30px,1fr) minmax(40px,1.2fr) 49px;gap:5px;padding:2px}.db-play{width:21px;height:21px}.db-san{font-size:10px}.db-score b{font-size:9px}.db-score span{font-size:7px}.db-games,.db-rating{display:none}.explorer-footer{align-items:flex-start;flex-direction:column;gap:7px;margin-top:8px;padding-top:8px}.explorer-footer>span{font-size:8px}.practical-button{min-height:28px}.practical-results{padding:8px 7px 4px}.practical-result{grid-template-columns:18px 30px minmax(0,1fr) 38px;gap:5px}.practical-result>span:nth-child(3){font-size:8px}.practical-result .result-add,.workspace-splitter{display:none}.tree-column{width:100%;height:100%;min-height:0;border-radius:10px}.workspace.mobile-view-tree .tree-column{display:flex}.tree-heading{min-height:58px;padding:10px 11px 8px}.tree-heading .eyebrow{margin-bottom:3px;font-size:8px}.tree-heading h1{font-size:15px}.tree-heading p{font-size:8.5px}.tree-count{padding:2px 5px;font-size:8px}.tree-tools{gap:3px}.tree-tools .square-button{width:27px;height:27px}.zoom-value{min-width:27px;font-size:8px}.tree-legend{min-height:30px;gap:8px;padding:0 10px;font-size:8px}.tree-legend .legend-hint{display:none}.tree-canvas-shell{min-height:0;overscroll-behavior:contain}.tree-footer{min-height:36px;gap:6px;padding:0 9px;font-size:8px}.tree-footer .text-button{font-size:9px}.tree-node{border-radius:7px}.node-label{font-size:10px}.node-delete{opacity:1;width:20px;height:20px}.floating-preview{display:none!important}.settings-modal,.help-modal{width:100%;max-height:calc(100dvh - 32px);padding:17px}.modal-backdrop{align-items:flex-end;padding:10px}.settings-row{min-height:54px}.toast{right:12px;bottom:max(12px,env(safe-area-inset-bottom));left:12px;max-width:none;font-size:10px}}@media(max-width:390px){.sidebar{gap:5px;padding-right:7px;padding-left:8px}.sidebar .brand-name{font-size:14px}.sidebar .brand-mark{width:22px;height:22px;min-width:22px;min-height:22px;flex-basis:22px}.mobile-nav-controls{gap:3px}.mobile-repertoire-select{max-width:76px;font-size:9px}.mobile-view-switch button{min-width:34px;padding:0 5px}.mobile-nav-actions .icon-button{width:26px;height:26px;flex-basis:26px}.mobile-nav-controls>.icon-button{width:26px;height:26px;flex-basis:26px}.board-position-label .position-muted{display:none}}@media(hover:none){.tree-node:hover{transform:none}.node-delete{opacity:1}}.mini-board-ground.cg-wrap{width:var(--mini-board-size, 56px)!important;height:var(--mini-board-size, 56px)!important}.brand-button{padding:0;border:0;background:transparent;cursor:pointer;text-align:left}.brand-button:hover .brand-mark span{filter:brightness(.96)}.sidebar-settings{min-height:36px;display:flex;align-items:center;gap:10px;margin:0 2px 12px;padding:0 10px;border:1px solid transparent;border-radius:8px;color:#78859a;background:transparent;font-size:11px;font-weight:700;text-align:left;cursor:pointer}.sidebar-settings:hover{color:#416fce;border-color:#e5ebf5;background:#f7f9fc}.sidebar-settings.icon-only{justify-content:center;margin-right:0;margin-left:0;padding:0}.repertoire-menu-wrap{position:relative;flex:0 0 auto}.repertoire-menu-wrap>.tiny-icon-button{width:25px;height:26px}.menu-dismiss{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;border:0;background:transparent;cursor:default}.repertoire-menu{position:absolute;top:calc(100% + 5px);right:0;z-index:21;width:132px;padding:5px;border:1px solid #e6ebf2;border-radius:9px;background:#fff;box-shadow:0 12px 30px #1e2d4624}.repertoire-menu button{width:100%;min-height:31px;display:flex;align-items:center;padding:0 9px;border:0;border-radius:6px;color:#5f6c81;background:transparent;font-size:10.5px;font-weight:600;text-align:left;cursor:pointer}.repertoire-menu button:hover{color:#355fba;background:#f3f6fc}.repertoire-menu .danger-menu-item{color:#c65e68}.repertoire-menu .danger-menu-item:hover{color:#b6404d;background:#fff1f2}.theme-toggle{color:#5f708a}.theme-toggle:hover{color:#416fce}.explorer-summary{width:100%;gap:11px}.explorer-total{min-width:62px;display:flex;flex-direction:column;gap:1px}.explorer-total b{color:#3a475d;font-size:10px}.explorer-total small{color:#9aa5b5;font-size:8px}.summary-bar{width:auto;height:22px;min-width:110px;flex:1 1 auto;display:flex;overflow:hidden;border:1px solid #e2e7ef;border-radius:5px;background:#edf0f4}.summary-bar span,.db-result-bar span{height:100%;display:flex;align-items:center;justify-content:center;min-width:0;overflow:hidden;white-space:nowrap;font-size:8px;font-weight:800;font-variant-numeric:tabular-nums}.bar-white,.bar-win{color:#4d596c;background:#f7f8fb}.bar-draw{color:#564c37;background:#ddcfaa}.bar-black,.bar-loss{color:#fff;background:#505d70}.summary-label{white-space:nowrap}.database-moves{gap:3px}.database-move{min-height:35px;grid-template-columns:24px 39px minmax(100px,1fr) 42px 50px;gap:7px;padding:3px 5px;cursor:pointer}.database-move:focus-visible{outline:2px solid #9db8f1;outline-offset:1px}.db-result-bar{height:21px;display:flex;overflow:hidden;border:1px solid rgba(95,110,135,.12);border-radius:5px;background:#edf0f4}.db-result-bar .bar-win{border-right:1px solid rgba(100,112,132,.16)}.db-result-bar .bar-draw{border-right:1px solid rgba(100,95,75,.12)}.db-eval,.db-games{display:flex;flex-direction:column;align-items:flex-end;gap:1px}.db-eval b{color:#3f624d;font-size:9.5px;font-variant-numeric:tabular-nums}.db-eval span,.db-games span{color:#9ca7b7;font-size:8px}.db-games b{color:#526078;font-size:9px;font-variant-numeric:tabular-nums}.rating-filter-button{height:27px;min-width:47px;padding:0 9px;border:1px solid #e6ebf2;border-radius:6px;color:#7f8ba0;background:#fff;font-size:9.5px;font-weight:800;cursor:pointer}.rating-filter-button:hover{border-color:#ccd9f2;color:#5276cb}.rating-filter-button.active{border-color:#c6d6f7;color:#416bc6;background:#edf3ff}.tree-edge{stroke:#356b4b;stroke-width:1.8;opacity:.8}.tree-edge.transpose{stroke:#356b4b;stroke-width:1.8;stroke-dasharray:none;opacity:.56}.repertoire-modal{width:min(590px,94vw)}.repertoire-name-field{display:flex;flex-direction:column;gap:6px;margin:0 0 12px;color:#778398;font-size:9.5px;font-weight:700}.repertoire-name-field input{width:100%;height:38px;padding:0 11px;border:1px solid #e2e8f1;border-radius:7px;outline:none;color:#33425a;background:#fff;font-size:11px}.repertoire-name-field input:focus,.import-repertoire-section textarea:focus{border-color:#a9bfef;box-shadow:0 0 0 3px #567ed517}.repertoire-color-field{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:12px;border-top:1px solid #f0f2f6}.repertoire-color-field>div:first-child{display:flex;flex-direction:column;gap:3px}.repertoire-color-field strong{color:#45536b;font-size:10.5px}.repertoire-color-field small{color:#9aa5b5;font-size:9px}.color-swatches{display:flex;align-items:center;gap:8px}.color-swatches button{width:22px;height:22px;border:3px solid #fff;border-radius:50%;outline:1px solid transparent;background:var(--swatch);cursor:pointer;box-shadow:0 1px 3px #1e2d4626}.color-swatches button.selected{outline-color:var(--swatch);transform:scale(1.06)}.import-repertoire-section{border-bottom:0;padding-bottom:2px}.pgn-file-picker{min-height:38px;display:flex;align-items:center;gap:9px;padding:0 11px;border:1px dashed #d6deeb;border-radius:7px;color:#65748c;background:#fafbfd;font-size:10px;font-weight:700;cursor:pointer}.pgn-file-picker input{display:none}.pgn-file-picker:hover{border-color:#a9bfef;color:#476fc8;background:#f8faff}.pgn-or{margin:9px 0 6px;color:#a0a9b7;font-size:9px;text-align:center}.import-repertoire-section textarea{width:100%;min-height:112px;resize:vertical;padding:10px;border:1px solid #e2e8f1;border-radius:7px;outline:none;color:#43516a;background:#fff;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;line-height:1.5}.modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:14px}.secondary-button{height:34px;padding:0 13px;border:1px solid #e4e9f1;border-radius:7px;color:#748197;background:#fff;font-size:10.5px;font-weight:700;cursor:pointer}.secondary-button:hover{background:#f7f9fc}.app-shell.theme-dark{color-scheme:dark;--ink: #e7edf7;--muted: #9aa8bd;--soft-muted: #78879e;--line: #283449;--panel: #151e2d;--canvas: #0e1624;--shadow: 0 10px 28px rgba(0, 0, 0, .22);color:#dce5f2;background:#0d1522}.theme-dark .sidebar,.theme-dark .topbar,.theme-dark .board-card,.theme-dark .data-panel,.theme-dark .tree-column,.theme-dark .tree-footer,.theme-dark .engine-lines-card{color:#dce5f2;background:#151e2d;border-color:#29364b;box-shadow:var(--shadow)}.theme-dark .workspace{background:#0e1624}.theme-dark .sidebar{border-right-color:#29364b}.theme-dark .brand-name,.theme-dark .breadcrumb strong,.theme-dark .section-heading h1,.theme-dark .tree-heading h1,.theme-dark .board-position-label strong,.theme-dark .db-san,.theme-dark .explorer-total b,.theme-dark .modal-title h2,.theme-dark .settings-row strong,.theme-dark .repertoire-color-field strong,.theme-dark .repertoire-name-field{color:#e5edf8}.theme-dark .section-heading p,.theme-dark .tree-heading p,.theme-dark .position-muted,.theme-dark .crumb-muted,.theme-dark .eyebrow,.theme-dark .tree-legend,.theme-dark .muted-small,.theme-dark .explorer-total small{color:#8998ae}.theme-dark .icon-button,.theme-dark .plain-icon-button,.theme-dark .toolbar-icon,.theme-dark .tiny-icon-button,.theme-dark .text-button{color:#9aa9bf}.theme-dark .icon-button:hover,.theme-dark .plain-icon-button:hover,.theme-dark .toolbar-icon:hover,.theme-dark .tiny-icon-button:hover{color:#cbd9f1;background:#202c40}.theme-dark .toolbar-button,.theme-dark .square-button,.theme-dark .compact-select,.theme-dark .token-button,.theme-dark .rating-filter-button,.theme-dark .secondary-button,.theme-dark .small-button{color:#b7c4d8;background:#1a2638;border-color:#334159}.theme-dark .toolbar-button:hover,.theme-dark .square-button:hover:not(:disabled),.theme-dark .rating-filter-button:hover{color:#d5e2fb;border-color:#536b94;background:#22314a}.theme-dark .toolbar-button.primary-outline,.theme-dark .rating-filter-button.active{color:#a9c2ff;border-color:#425d91;background:#1c2b45}.theme-dark .board-card-top,.theme-dark .board-controls,.theme-dark .move-strip,.theme-dark .explorer-footer,.theme-dark .engine-line-row,.theme-dark .settings-section,.theme-dark .tree-legend,.theme-dark .tree-footer{border-color:#29364b}.theme-dark .position-number,.theme-dark .tree-count{color:#a7b5ca;background:#1b283b;border-color:#334158}.theme-dark .capture-toggle,.theme-dark .capture-hint,.theme-dark .board-status,.theme-dark .explorer-summary,.theme-dark .explorer-footer>span{color:#9cabc0}.theme-dark .board-status{background:#1b293b;border-color:#34445e}.theme-dark .evaluation-rail{color:#b5c3d8}.theme-dark .tree-canvas-shell{background-color:#111b2a;background-image:radial-gradient(#2b394f 1px,transparent 1px)}.theme-dark .tree-node{border-color:#35445c;background:#192538;box-shadow:0 3px 10px #0003}.theme-dark .tree-node.root-node{border-color:#405d91;background:#1a2a42}.theme-dark .tree-node.selected{border-color:#7297dc;box-shadow:0 0 0 2px #6491e22e}.theme-dark .node-label{color:#d6e0ef}.theme-dark .node-transposition{color:#93a9d2}.theme-dark .tree-edge,.theme-dark .tree-edge.transpose{stroke:#5b9874}.theme-dark .repertoire-item{color:#aab8cd}.theme-dark .repertoire-item:hover{background:#1b293d}.theme-dark .repertoire-item.active{color:#a9c2ff;background:#1d2e4a}.theme-dark .sidebar-card{border-color:#2e3b50;background:#192538}.theme-dark .sidebar-card strong,.theme-dark .tree-empty-hint strong{color:#c9d5e7}.theme-dark .sidebar-card p,.theme-dark .tree-empty-hint span{color:#91a0b6}.theme-dark .sidebar-settings:hover{color:#b5caff;border-color:#35445d;background:#1c2a3e}.theme-dark .repertoire-menu{border-color:#34445c;background:#1a2638;box-shadow:0 14px 34px #0000005c}.theme-dark .repertoire-menu button{color:#c0cde0}.theme-dark .repertoire-menu button:hover{color:#c5d6fa;background:#25354c}.theme-dark .database-move:hover{background:#1d2b40}.theme-dark .db-result-bar{border-color:#45526a;background:#263248}.theme-dark .db-eval b{color:#8bc6a0}.theme-dark .db-games b{color:#b9c7da}.theme-dark .db-eval span,.theme-dark .db-games span{color:#8191a8}.theme-dark .bar-white,.theme-dark .bar-win{color:#273248;background:#d6dce7}.theme-dark .bar-draw{color:#443c2e;background:#c7b98e}.theme-dark .bar-black,.theme-dark .bar-loss{color:#fff;background:#4e5b70}.theme-dark .summary-bar{border-color:#46536a;background:#263248}.theme-dark .speed-chip{color:#9eacc2;border-color:#36445a;background:#1a2638}.theme-dark .speed-chip.selected{color:#b6cbff;border-color:#435d8e;background:#1d2d49}.theme-dark .database-move:focus-visible{outline-color:#8eaceb}.theme-dark .engine-line-row{color:#a3b2c8;background:transparent}.theme-dark .engine-line-row strong{color:#c5d2e5}.theme-dark .engine-line-row:hover{color:#d0def5;background:#1d2b40}.theme-dark .engine-lines-heading{color:#91a1b8}.theme-dark .modal-backdrop{background:#020710ad}.theme-dark .settings-modal,.theme-dark .help-modal{color:#dce5f2;border-color:#34435a;background:#172235;box-shadow:0 20px 60px #00000073}.theme-dark .settings-section{border-bottom-color:#2b394e}.theme-dark .settings-section h3{color:#91a1b8}.theme-dark .settings-row{border-top-color:#29364a}.theme-dark .settings-row small,.theme-dark .repertoire-color-field small{color:#91a0b6}.theme-dark .settings-select,.theme-dark .repertoire-name-field input,.theme-dark .import-repertoire-section textarea{color:#dce5f2;border-color:#394a63;background:#101a2a}.theme-dark .pgn-file-picker{color:#b1bfd3;border-color:#40516b;background:#1b2a40}.theme-dark .pgn-or{color:#8292aa}.theme-dark .secondary-button{color:#bfcbdd;border-color:#3c4b62;background:#202d42}.theme-dark .help-grid>div{border-color:#2e3c52;background:#1b293e}.theme-dark .help-grid strong{color:#d3def0}.theme-dark .help-grid p,.theme-dark .help-bottom{color:#97a6bc}.theme-dark .toast{color:#dce5f2;border-color:#3b4c63;background:#1b293e;box-shadow:0 10px 28px #00000059}.theme-dark .empty-panel,.theme-dark .loading-row{color:#9aa9bf}.theme-dark .tree-empty-hint .empty-graphic{color:#9bb3e5;border-color:#34445c;background:#1c2b43}.theme-dark .mini-board-ground{border-color:#dce6f524}.theme-dark .floating-preview{color:#dce5f2;border-color:#3b4c63;background:#172235}.theme-dark .preview-copy strong{color:#e3ebf7}.theme-dark .preview-copy span,.theme-dark .preview-copy code{color:#9baac0}@media(max-width:760px){.sidebar-settings{display:none}.database-move{min-height:34px;grid-template-columns:22px 34px minmax(72px,1fr) 39px;gap:5px}.db-games{display:none}.db-result-bar{height:20px}.db-result-bar span{font-size:7px}.summary-bar{height:20px;min-width:65px}.summary-bar span{font-size:7px}.summary-label{display:none}.explorer-total{min-width:48px}.explorer-summary{gap:6px}.repertoire-modal{max-height:calc(100dvh - 24px);overflow-y:auto}.theme-dark .mobile-repertoire-select,.theme-dark .mobile-nav-controls>.icon-button,.theme-dark .mobile-nav-actions .icon-button{color:#c1cde0;border-color:#35445b;background:#1a2638}.theme-dark .mobile-view-switch{background:#0e1828}.theme-dark .mobile-view-switch button.active{color:#c3d6ff;background:#273853}}.floating-preview.theme-dark{color:#dce5f2;border-color:#3b4c63;background:#172235;box-shadow:0 14px 36px #0000006b}.floating-preview.theme-dark .preview-copy strong{color:#e3ebf7}.floating-preview.theme-dark .preview-copy span,.floating-preview.theme-dark .preview-copy code{color:#9baac0}.evaluation-bar{width:13px;min-height:150px;border-radius:7px}@media(max-width:760px){.evaluation-bar{width:10px;min-height:110px}}.legend-line.transposition{border-top-style:solid;border-top-color:#356b4b}.theme-dark .legend-line.transposition{border-top-color:#5b9874}.evaluation-rail{align-self:stretch}.evaluation-bar{height:min(100%,438px)}.tree-canvas-shell{overscroll-behavior:contain;touch-action:pan-x pan-y}.tree-edge{stroke:#c7cfdd!important;stroke-width:1.7;opacity:.92}.tree-edge.transpose{stroke:#aeb8c9!important;stroke-width:1.7;stroke-dasharray:1.5 4!important;stroke-linecap:round;opacity:.9}.legend-line.transposition{border-top-style:dotted;border-top-color:#aeb8c9}.database-move{grid-template-columns:21px 36px minmax(36px,1fr) 52px 44px 58px;gap:5px;padding-right:5px;padding-left:4px}.db-rating,.db-eval,.db-games{min-width:0;display:flex;flex-direction:column;align-items:flex-end;gap:1px;text-align:right;white-space:nowrap}.db-rating b,.db-games b{color:#526078;font-size:9px;font-weight:700;font-variant-numeric:tabular-nums}.db-rating span,.db-games span{color:#9ca7b7;font-size:7.5px}.db-eval b{font-size:9px}.db-result-bar{width:100%;min-width:0;height:19px}.db-result-bar .bar-win{color:#fff;background:#5b86df}.db-result-bar .bar-draw{color:#253047;background:#aeb8c9}.db-result-bar .bar-loss{color:#fff;background:#263248}.db-result-bar span{display:flex;align-items:center;justify-content:center;min-width:0;overflow:hidden;font-size:8px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.explorer-summary{gap:9px}.explorer-average{display:flex;flex:0 0 auto;flex-direction:column;gap:1px;min-width:46px;text-align:right}.explorer-average b{color:#46556d;font-size:10px;font-variant-numeric:tabular-nums}.explorer-average small{color:#9aa5b5;font-size:8px}.summary-bar{flex:1 1 140px;min-width:75px}.engine-lines-card,.data-panel{margin-top:12px}.repertoire-side-field{margin:0 0 12px;padding-top:0;border-top:0}.theme-dark .workspace-splitter:before{background:#2a384e}.theme-dark .workspace-splitter span{border-color:#384860;background:#1a2638;box-shadow:0 2px 6px #00000047}.theme-dark .workspace-splitter:hover span,.theme-dark .workspace-resizing .workspace-splitter span{border-color:#637da9;background:#263752}.theme-dark .segmented-tabs{background:#101a2a}.theme-dark .segmented-tabs button{color:#91a0b7}.theme-dark .segmented-tabs button.active{color:#c2d5fa;background:#273853;box-shadow:0 1px 3px #00000047}.theme-dark .db-play{color:#a9b8ce;border-color:#394a62;background:#1a2638}.theme-dark .db-play:hover{color:#c3d6ff;border-color:#526b97;background:#263752}.theme-dark .db-san,.theme-dark .db-rating b,.theme-dark .db-games b,.theme-dark .explorer-average b{color:#cbd7e8}.theme-dark .db-rating span,.theme-dark .db-games span,.theme-dark .explorer-average small{color:#8494ac}.theme-dark .db-result-bar{border-color:#394860;background:#202c40}.theme-dark .db-result-bar .bar-win{color:#f7faff;background:#5079c8}.theme-dark .db-result-bar .bar-draw{color:#1d293b;background:#aab5c7}.theme-dark .db-result-bar .bar-loss{color:#f3f6fb;background:#182337}.theme-dark .summary-bar{border-color:#394860;background:#202c40}.theme-dark .explorer-average b{color:#cbd7e8}.theme-dark .move-token{color:#bfcbdd;border-color:#36465d;background:#1a2638}.theme-dark .move-token:hover{color:#d3e0fa;border-color:#4a6390;background:#22334d}.theme-dark .line-drag-button{color:#9eacc2;border-color:#34445c;background:#1a2638}.theme-dark .toggle-track{background:#3a4960}.theme-dark .node-delete{color:#aebbd0;border-color:#3b4b63;background:#1b293e}.theme-dark .tree-edge{stroke:#78869c!important}.theme-dark .tree-edge.transpose{stroke:#8d9ab0!important;stroke-dasharray:1.5 4!important;stroke-linecap:round}.theme-dark .legend-line.transposition{border-top-style:dotted;border-top-color:#8d9ab0}.theme-dark #tree-arrow path{fill:#78869c;stroke:#78869c}.theme-dark #tree-arrow-trans path{fill:#8d9ab0;stroke:#8d9ab0}.theme-dark .tree-drop-overlay{color:#c3d6fa;border-color:#4c6490;background:#1c2b42f5}.theme-dark .explorer-footer{border-top-color:#29364b}.theme-dark .repertoire-side-field select{color:#dce5f2}@media(max-width:760px){.database-move{grid-template-columns:21px 32px minmax(36px,1fr) 38px;gap:4px}.db-rating,.db-games{display:none}.db-result-bar{height:19px}.explorer-average{min-width:40px}.summary-bar{min-width:50px}.engine-lines-card,.data-panel{margin-top:9px}}.theme-dark .move-empty,.theme-dark .move-strip-head,.theme-dark .move-strip-head>span{color:#95a4ba}.theme-dark .engine-variation{color:#bdc9dc;border-color:#36465d;background:#1a2638}.theme-dark .engine-variation:hover{border-color:#4a6390;background:#22334d}.theme-dark .variation-score,.theme-dark .variation-line,.theme-dark .position-info-text strong,.theme-dark .compact-row strong{color:#c4d1e4}.theme-dark .small-button,.theme-dark .token-settings input,.theme-dark .token-save,.theme-dark .token-clear{color:#c1cde0;border-color:#394a63;background:#1a2638}.theme-dark .token-save{color:#fff;border-color:#4d79df;background:#426fda}.theme-dark .engine-install-note{color:#a0afc4;background:#1b293e}.theme-dark .engine-install-note code{color:#c0d0f0;background:#273853}.theme-dark .tree-column.drag-over{border-color:#6689c8;background:#18263a}.theme-dark .tree-node.root-node .node-label{color:#a9c2ff}.theme-dark .evaluation-bar{border-color:#46536a;background:#354158}.theme-dark .evaluation-white{background:#e7edf7}.theme-dark .board-status{color:#a7b7cc}.theme-dark .live-dot{box-shadow:0 0 0 3px #1c3c35}.theme-dark .repertoire-side-field{border-top:0}.board-card{padding:0}.board-card-top{padding:13px 15px 10px}.board-stage{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:stretch;justify-content:stretch;width:100%;padding:0 0 10px}.evaluation-rail{align-self:stretch;width:18px;height:100%;margin:0}.evaluation-bar{width:10px;height:100%;min-height:0;max-height:none}.board-inner{width:100%;max-width:none;min-width:0;height:auto;aspect-ratio:1 / 1;flex:0 0 auto;overflow:hidden}.board-controls,.move-strip{padding-right:15px;padding-left:15px}@media(max-width:760px){.board-card{padding:0}.board-card-top{padding:9px 10px 7px}.board-stage{grid-template-columns:14px minmax(0,1fr);padding-bottom:8px}.evaluation-rail{width:15px;margin-left:0}.evaluation-bar{width:7px}.board-inner{width:100%;max-width:none;height:auto;aspect-ratio:1 / 1}.board-controls{padding-right:10px;padding-left:10px}.move-strip{padding:8px 10px 9px}}.board-stage{grid-template-columns:18px minmax(0,min(680px,calc(100% - 26px)));justify-content:center;column-gap:8px}.board-inner{width:100%;max-width:680px;min-width:0}@media(max-width:760px){.board-stage{grid-template-columns:14px minmax(0,1fr);column-gap:5px}.board-inner{max-width:100%}.engine-lines-card{margin-bottom:8px}}.board-position-card{flex:0 0 auto;margin-bottom:10px;padding:0 16px;border:1px solid #e6ebf2;border-radius:12px;background:#fff;box-shadow:var(--shadow)}.board-position-card .board-card-top{min-height:48px;padding:10px 0}.engine-lines-card{margin:0 0 10px}.board-card{padding:12px 18px 0}.board-stage{display:grid;grid-template-columns:38px minmax(0,min(560px,calc(100% - 50px)));align-items:stretch;justify-content:center;column-gap:12px;width:100%;padding:0 0 12px}.evaluation-rail{width:38px;min-width:38px;flex:0 0 38px;align-self:stretch;justify-content:center;gap:7px;margin:0;padding:0;font-size:10px;white-space:nowrap}.evaluation-bar{width:12px;height:100%;min-height:120px;max-height:560px;flex:1 1 auto}.board-inner{width:100%;max-width:560px;min-width:0;height:auto;aspect-ratio:1 / 1;align-self:center}.theme-dark .board-position-card{border-color:#29374d;background:#172235}.theme-dark .board-position-card .board-position-label strong{color:#dce6f5}.theme-dark .engine-lines-card{border-color:#29374d;background:#172235}@media(max-width:760px){.board-position-card{margin-bottom:8px;padding:0 10px}.board-card{padding:9px 10px 0}.board-stage{grid-template-columns:30px minmax(0,1fr);column-gap:8px;padding-bottom:8px}.evaluation-rail{width:30px;min-width:30px;flex-basis:30px;font-size:8px}.evaluation-bar{width:9px;min-height:90px}.board-inner{width:100%;max-width:none}}.board-position-card{display:none!important}.board-card{padding:12px 24px 0!important}.board-card>.board-card-top{min-height:48px;padding:8px 0 12px}.board-stage{position:relative;display:flex!important;align-items:center;justify-content:center!important;width:100%;padding:0 44px 12px!important;box-sizing:border-box}.board-inner{width:min(100%,560px)!important;max-width:560px!important;min-width:0;height:auto;aspect-ratio:1 / 1;flex:0 1 560px!important;margin-inline:auto}.evaluation-rail{position:absolute;left:0;top:0;bottom:12px;width:32px!important;min-width:32px!important;flex:none!important;align-self:stretch;justify-content:center;align-items:center;gap:6px;margin:0!important;padding:0;font-size:9px;white-space:nowrap}.evaluation-bar{width:10px!important;min-height:0!important;max-height:none!important;height:100%!important;flex:1 1 auto}.theme-dark .board-card{background:var(--surface, #172235)}@media(max-width:760px){.board-card{padding:10px 14px 0!important}.board-stage{padding:0 38px 10px!important}.evaluation-rail{width:27px!important;min-width:27px!important;font-size:8px}}.board-card{padding:5px 5px 0!important}.board-card>.board-card-top{min-height:46px;padding:7px 8px 10px}.board-stage{display:grid!important;grid-template-columns:24px minmax(0,1fr) 24px;align-items:stretch;justify-content:stretch;column-gap:2px;width:100%;padding:0 2px 9px!important;box-sizing:border-box}.board-stage:after{content:"";grid-column:3;grid-row:1}.evaluation-rail{position:static!important;grid-column:1;grid-row:1;width:24px!important;min-width:24px!important;flex:none!important;align-self:stretch;align-items:center;justify-content:center;gap:5px;margin:0!important;padding:0;overflow:visible;font-size:8px;white-space:nowrap}.evaluation-bar{width:9px!important;min-height:0!important;max-height:none!important;height:100%!important;flex:1 1 auto}.board-inner{grid-column:2;grid-row:1;justify-self:center;align-self:center;width:min(100%,680px)!important;max-width:680px!important;min-width:0;height:auto;aspect-ratio:1 / 1;flex:none!important;margin-inline:auto}.tree-canvas{transition:none}.tree-node{z-index:3}.tree-edges{z-index:1;overflow:visible}.tree-edge{stroke:#c7cfdd!important;stroke-width:1.65!important;stroke-linecap:round;stroke-linejoin:round;opacity:.96!important}.tree-edge.transpose{stroke:#aeb8c9!important;stroke-width:1.55!important;stroke-dasharray:1.5 4!important;stroke-linecap:round;opacity:.9!important}.theme-dark .tree-edge{stroke:#66748a!important}.theme-dark .tree-edge.transpose{stroke:#7d8ba1!important}@media(max-width:760px){.board-card{padding:4px 4px 0!important}.board-card>.board-card-top{padding:6px 6px 8px}.board-stage{grid-template-columns:20px minmax(0,1fr) 20px;column-gap:2px;padding:0 2px 8px!important}.evaluation-rail{width:20px!important;min-width:20px!important;font-size:7px}.evaluation-bar{width:8px!important}.board-inner{width:100%!important;max-width:100%!important}}.board-card{padding:4px 4px 0!important}.board-stage{grid-template-columns:20px minmax(0,1fr) 20px;column-gap:1px;padding:0 2px 8px!important}.evaluation-rail{width:20px!important;min-width:20px!important;font-size:7.5px;letter-spacing:-.15px;gap:4px}.evaluation-bar{width:8px!important}@media(max-width:760px){.board-card{padding:3px 3px 0!important}.board-stage{grid-template-columns:18px minmax(0,1fr) 18px;column-gap:1px;padding:0 1px 7px!important}.evaluation-rail{width:18px!important;min-width:18px!important;font-size:7px}}.tree-node{border-radius:7px;box-shadow:0 2px 6px #3143660b}.tree-node-main{gap:4px;padding:4px 6px;border-radius:6px}.node-copy{gap:2px}.node-label{font-size:9px;line-height:1.05;letter-spacing:-.08px}.node-detail{font-size:7.5px}.node-replies{font-size:7px}.node-delete{top:-6px;right:-6px;width:16px;height:16px}.tree-edge{stroke-width:1.45!important}.tree-edge.transpose{stroke-width:1.35!important;stroke-dasharray:1.5 3.5!important}.board-card>.engine-lines-card{margin:0 6px 9px;padding:7px 8px 5px;border:0;border-top:1px solid #edf0f5;border-bottom:1px solid #edf0f5;border-radius:0;background:#fbfcfe}.board-card>.engine-lines-card .engine-lines-heading{margin-bottom:3px;font-size:7.5px}.board-card>.engine-lines-card .engine-line-row{min-height:25px;grid-template-columns:7px 43px minmax(0,1fr) 11px;gap:6px;padding:2px 1px}.board-card>.engine-lines-card .engine-line-row strong{font-size:8.5px}.board-card>.engine-lines-card .engine-line-row>span:nth-child(3){font-size:8.5px}.theme-dark .board-card>.engine-lines-card{border-color:#2b3a51;background:#151f30}.theme-dark .board-card>.engine-lines-card .engine-line-row{border-top-color:#28374d}.board-card{padding:5px 8px 0!important}.board-card>.board-card-top{min-height:43px;padding:6px 7px 8px}.board-inner{width:min(100%,680px)!important;max-width:680px!important;min-width:0;height:auto;aspect-ratio:1 / 1;flex:0 1 680px!important;margin-inline:auto;overflow:hidden;border-radius:8px;clip-path:inset(0 round 8px)}.board-controls{margin-top:0}@media(min-width:761px){.sidebar.collapsed .sidebar-top{width:100%;justify-content:center!important;padding:0 0 35px!important}.sidebar.collapsed .brand-lockup{width:28px!important;min-width:28px!important;margin-inline:auto;justify-content:center}}@media(max-width:760px){.sidebar,.sidebar.collapsed{height:calc(58px + env(safe-area-inset-top,0px));min-height:calc(58px + env(safe-area-inset-top,0px));max-height:calc(58px + env(safe-area-inset-top,0px));flex-basis:calc(58px + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px)}.sidebar-top{align-self:stretch;display:flex;align-items:center;padding-top:1px}.sidebar .brand-lockup{align-self:center;min-height:28px;padding-top:1px}.sidebar .brand-mark{flex:0 0 24px;min-width:24px;min-height:24px}.board-card{padding:4px 6px 0!important}.board-card>.board-card-top{padding:6px 5px 7px}.board-card>.engine-lines-card{margin:0 4px 7px;padding:6px 6px 4px}.board-stage{padding:0 5px 7px!important}.board-inner{width:100%!important;max-width:100%!important;flex:1 1 auto!important;border-radius:7px;clip-path:inset(0 round 7px)}.board-inner .cg-wrap,.board-inner cg-board{border-radius:7px}.node-label{font-size:8.5px}}.tree-node{border-radius:6px}.tree-node-main{padding:3px 2px;gap:1px}.node-copy{gap:1px;overflow:hidden}.node-label{font-size:10px;line-height:1.05;white-space:nowrap}.node-transposition{font-size:6.5px;white-space:nowrap}.node-delete{right:-5px;top:-5px;width:13px;height:13px}.engine-lines-card{min-height:107px}.engine-line-empty{cursor:default;pointer-events:none}.engine-line-empty>span:not(:first-child),.engine-line-empty strong{visibility:hidden}.tree-edge,.tree-edge.transpose{stroke-linecap:round;stroke-linejoin:round}.node-delete{width:18px!important;height:18px!important;top:-7px!important;right:-7px!important;padding:0!important;color:#78869a!important;background:#fff!important;border:1px solid #dfe5ee!important;overflow:visible!important}.node-delete .node-delete-x{display:block!important;width:11px!important;height:11px!important;min-width:11px!important;min-height:11px!important;flex:0 0 11px!important;stroke:currentColor!important;opacity:1!important}.node-delete:hover{color:#d75f6c!important;border-color:#efc3ca!important;background:#fff8f8!important}.theme-dark .node-delete{color:#c1ccdc!important;background:#1b293e!important;border-color:#46566e!important}@media(max-width:760px){.sidebar .brand-name,.sidebar.collapsed .brand-name{display:none!important}.sidebar .brand-lockup{width:24px!important;min-width:24px!important;justify-content:center!important;gap:0!important}.sidebar .brand-mark{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;flex:0 0 24px!important}}.repertoire-item[role=button]{cursor:pointer}.repertoire-item[role=button]:focus-visible{outline:2px solid #7da0ef;outline-offset:2px}.repertoire-item .repertoire-select{pointer-events:none}.repertoire-item .repertoire-menu-wrap{pointer-events:auto}@media(max-width:760px){.sidebar,.sidebar.collapsed{box-sizing:border-box!important;height:calc(64px + env(safe-area-inset-top,0px))!important;min-height:calc(64px + env(safe-area-inset-top,0px))!important;max-height:calc(64px + env(safe-area-inset-top,0px))!important;flex-basis:calc(64px + env(safe-area-inset-top,0px))!important;padding:env(safe-area-inset-top,0px) 0 0!important;overflow:visible}.sidebar-top{box-sizing:border-box;height:64px;min-height:64px;padding:0 12px!important;align-items:center!important;justify-content:flex-start!important;overflow:visible}.sidebar .brand-lockup{display:inline-flex;align-items:center!important;justify-content:center!important;height:32px;min-height:32px;margin:0!important;padding:0!important;transform:none!important}.sidebar .brand-mark{display:grid;width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;flex:0 0 24px!important;margin:0!important;transform:none!important}}.sidebar-mode-switch{display:flex;align-items:center;gap:4px;margin:-17px 2px 22px;padding:4px;border:1px solid #e8edf4;border-radius:9px;background:#f7f9fc}.sidebar-mode-switch button{min-width:0;height:32px;flex:1 1 0;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 9px;border:0;border-radius:6px;color:#8490a3;background:transparent;font-size:11px;font-weight:700;cursor:pointer;transition:color .15s ease,background .15s ease,box-shadow .15s ease}.sidebar-mode-switch button.active{color:#416fd2;background:#fff;box-shadow:0 1px 4px #273a5b1a}.sidebar-mode-switch button:hover{color:#416fd2}.sidebar.collapsed .sidebar-mode-switch{flex-direction:column;margin:-17px 0 22px;padding:4px}.sidebar.collapsed .sidebar-mode-switch button{width:42px;flex:0 0 34px;padding:0}.mobile-mode-switch{display:none}.tree-node{overflow:visible}.tree-note-toggle{position:absolute;z-index:9;top:-8px;left:50%;width:16px;height:16px;padding:0;border:1px solid #e4bd4e;border-radius:4px;background:linear-gradient(145deg,#ffe99b,#f8d76c);box-shadow:0 2px 5px #8060112e;transform:translate(-50%);cursor:pointer;transition:transform .14s ease,box-shadow .14s ease}.tree-note-toggle:after{position:absolute;top:5px;right:4px;bottom:5px;left:4px;border-radius:1px;background:#90691273;content:""}.tree-note-toggle.has-note:after{top:4px;right:4px;bottom:4px;left:4px;background:#a77a17;opacity:.8}.tree-note-toggle:hover{z-index:15;box-shadow:0 3px 8px #80601147;transform:translate(-50%) scale(1.12)}.tree-note-editor{position:absolute;z-index:30;top:-10px;left:-9px;width:218px;padding:9px 10px 10px;border:1px solid #e8c85e;border-radius:9px;background:#fff5c9;box-shadow:0 10px 26px #674e1433;color:#70551c}.tree-note-editor:before{position:absolute;top:8px;left:9px;width:13px;height:13px;border-radius:4px;background:#f6d66e;content:"";opacity:.55}.tree-note-editor-head{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;min-height:19px;margin-bottom:6px;padding-left:17px;color:#987324;font-size:8px;font-weight:800;letter-spacing:.12em}.tree-note-editor-head button{width:21px;height:21px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:5px;color:#9a7a34;background:transparent;cursor:pointer}.tree-note-editor-head button:hover{background:#a47d231f}.tree-note-editor textarea{position:relative;z-index:1;width:100%;min-height:76px;resize:vertical;padding:8px;border:1px solid rgba(203,166,69,.42);border-radius:6px;outline:none;color:#59451c;background:#fffcebcc;font-family:inherit;font-size:10px;line-height:1.45}.tree-note-editor textarea:focus{border-color:#d3aa3e;background:#fffdf2}.tree-note-editor textarea::placeholder{color:#b59c64}.practice-workspace{display:block!important;overflow-x:hidden!important;overflow-y:auto!important;padding:25px 28px 30px!important;scrollbar-width:thin}.practice-page{width:min(100%,1600px);min-height:100%;margin:0 auto}.practice-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 1px 20px}.practice-page-heading h1{margin:0;color:#1d2a41;font-family:Manrope,sans-serif;font-size:23px;font-weight:800;letter-spacing:-.7px}.practice-page-heading p{margin:5px 0 0;color:#8995a8;font-size:11px}.practice-side-pill{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #e4ebf3;border-radius:20px;color:#708098;background:#fff;font-size:10px;font-weight:700}.practice-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:15px}.practice-stat-card{min-width:0;display:flex;flex-direction:column;gap:4px;padding:13px 15px;border:1px solid #e7ecf3;border-radius:10px;background:#fff;box-shadow:0 4px 16px #20315006}.practice-stat-card>span{color:#8d99aa;font-size:9px;font-weight:700}.practice-stat-card strong{color:#28374f;font-family:Manrope,sans-serif;font-size:22px;font-weight:800;letter-spacing:-.6px;font-variant-numeric:tabular-nums}.practice-stat-card small{color:#a0aabb;font-size:9px}.practice-content-grid{display:grid;grid-template-columns:minmax(0,1fr) 292px;align-items:start;gap:15px}.practice-session-card,.practice-progress-card{min-width:0;border:1px solid #e6ebf2;border-radius:12px;background:#fff;box-shadow:var(--shadow)}.practice-session-card{padding:15px}.practice-mode-tabs{display:flex;gap:5px;padding:4px;border:1px solid #edf0f5;border-radius:8px;background:#f7f9fc}.practice-mode-tabs button{min-width:0;height:34px;flex:1 1 0;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 10px;border:0;border-radius:6px;color:#8793a6;background:transparent;font-size:10px;font-weight:700;cursor:pointer}.practice-mode-tabs button.active{color:#416fd2;background:#fff;box-shadow:0 1px 4px #273a5b1a}.practice-session-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 3px 12px}.practice-session-heading .eyebrow{margin-bottom:3px}.practice-session-heading h2,.practice-progress-heading h2{margin:0;color:#29374e;font-family:Manrope,sans-serif;font-size:15px;font-weight:800;letter-spacing:-.25px}.practice-session-heading p{margin:4px 0 0;color:#909bad;font-size:9.5px;line-height:1.4}.practice-count-pill{flex:0 0 auto;padding:5px 8px;border-radius:6px;color:#6b83b6;background:#f0f4fc;font-size:8.5px;font-weight:700}.practice-board-layout{display:grid;grid-template-columns:minmax(280px,1fr) minmax(190px,230px);align-items:center;gap:18px;padding-top:5px}.practice-board-frame{width:min(100%,580px);aspect-ratio:1;margin-inline:auto;padding:9px;border:1px solid #e6ebf2;border-radius:10px;background:#f7f9fc;box-shadow:inset 0 1px 3px #1b2d5008}.practice-board-frame .chessground-host{width:100%;height:100%;overflow:hidden;border-radius:7px}.practice-board-empty{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:20px;border:1px dashed #dce4ef;border-radius:7px;color:#9aa8bb;text-align:center}.practice-board-empty strong{color:#65748b;font-size:12px}.practice-board-empty span{max-width:190px;font-size:9px;line-height:1.5}.practice-session-details{min-width:0;display:flex;flex-direction:column;gap:12px}.practice-feedback{display:flex;align-items:flex-start;gap:8px;padding:10px;border:1px solid #dfeee8;border-radius:8px;color:#45876d;background:#f4fbf7;font-size:9px;font-weight:600;line-height:1.45}.practice-feedback-dot{width:7px;height:7px;flex:0 0 auto;margin-top:2px;border-radius:50%;background:#40a57d}.practice-feedback.incorrect{border-color:#f1e2d9;color:#a7755a;background:#fff8f4}.practice-feedback.incorrect .practice-feedback-dot{background:#d08b67}.practice-progress-label{display:flex;align-items:center;justify-content:space-between;color:#8e9aad;font-size:9px}.practice-progress-label strong{color:#5e6d84;font-size:9px;font-variant-numeric:tabular-nums}.practice-progress-track{height:5px;overflow:hidden;border-radius:10px;background:#edf1f6}.practice-progress-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#77a0ef,#4f7cde);transition:width .2s ease}.practice-move-history{display:flex;flex-direction:column;gap:7px;padding:10px;border:1px solid #edf0f5;border-radius:8px;background:#fbfcfe}.practice-mini-label{color:#a2adbc;font-size:7.5px;font-weight:800;letter-spacing:.11em}.practice-move-history>div{display:flex;flex-wrap:wrap;gap:5px}.practice-move-history>div>span{padding:4px 6px;border:1px solid #e7ebf2;border-radius:5px;color:#66748a;background:#fff;font-size:8px;font-weight:700}.practice-move-history>div>span.white-move{color:#496dba}.practice-move-history small{color:#a2adbc;font-size:8px}.practice-primary-button{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 12px;border:1px solid #4f7de0;border-radius:7px;color:#fff;background:#4f7de0;font-size:9.5px;font-weight:700;cursor:pointer;transition:background .15s ease,transform .15s ease}.practice-primary-button:hover{background:#416fd2;transform:translateY(-1px)}.practice-subtle-button{min-height:28px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;color:#909caf;background:transparent;font-size:8.5px;font-weight:700;cursor:pointer}.practice-subtle-button:hover{color:#5578c4}.practice-position-context{display:flex;flex-direction:column;gap:5px;padding:11px;border:1px solid #edf0f5;border-radius:8px;background:#fbfcfe}.practice-position-context strong{color:#61728c;font-size:10px}.practice-position-context small{color:#9ba6b7;font-size:8px}.practice-empty-copy{display:flex;flex-direction:column;gap:6px;color:#9aa5b5;font-size:9px;line-height:1.45}.practice-empty-copy strong{color:#607087;font-size:11px}.practice-progress-card{padding:15px}.practice-progress-heading{display:flex;align-items:center;justify-content:space-between;padding-bottom:13px;border-bottom:1px solid #edf0f5}.practice-progress-icon{width:29px;height:29px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:#578b76;background:#edf8f2}.practice-overall-progress{display:flex;flex-direction:column;gap:9px;padding:14px 0;border-bottom:1px solid #edf0f5}.practice-overall-progress>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#8d99aa;font-size:9px}.practice-overall-progress strong{color:#4c5d76;font-size:10px}.practice-progress-section{padding:13px 0;border-bottom:1px solid #edf0f5}.practice-section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.practice-section-title strong{color:#63728a;font-size:9px}.practice-section-title span{min-width:19px;padding:2px 5px;border-radius:10px;color:#9a7a34;background:#fff5d5;font-size:8px;font-weight:800;text-align:center}.practice-position-row{display:flex;align-items:center;gap:9px;padding:7px 0}.practice-position-row .mini-board-ground{flex:0 0 auto;overflow:hidden;border:1px solid #e5eaf1;border-radius:5px}.practice-position-row>div{min-width:0;display:flex;flex:1 1 auto;flex-direction:column;gap:3px}.practice-position-row>div strong{overflow:hidden;color:#63728a;font-size:8.5px;text-overflow:ellipsis;white-space:nowrap}.practice-position-row>div small{color:#a0aabb;font-size:7.5px}.practice-position-rate{color:#b18250;font-size:8px;font-weight:800;font-variant-numeric:tabular-nums}.practice-empty-note{margin:0;color:#a0aabb;font-size:8.5px;line-height:1.5}.mastered-section{border-bottom:0}.mastered-section .practice-section-title span{color:#4e9677;background:#edf8f2}.practice-progress-footnote{display:flex;align-items:center;gap:7px;padding-top:12px;color:#9aa5b5;font-size:8px}.theme-dark .sidebar-mode-switch,.theme-dark .practice-mode-tabs{border-color:#2e3c52;background:#111c2c}.theme-dark .sidebar-mode-switch button,.theme-dark .practice-mode-tabs button{color:#91a1b9}.theme-dark .sidebar-mode-switch button.active,.theme-dark .practice-mode-tabs button.active{color:#b6ccff;background:#263853;box-shadow:0 1px 4px #0003}.theme-dark .tree-note-editor{border-color:#8d7134;color:#f2dfaa;background:#493b20;box-shadow:0 12px 30px #0000006b}.theme-dark .tree-note-editor-head{color:#e3c56f}.theme-dark .tree-note-editor-head button{color:#e4ce8d}.theme-dark .tree-note-editor textarea{color:#f2e7c7;border-color:#e0c16f5c;background:#241e1273}.theme-dark .tree-note-editor textarea:focus{border-color:#d8b558;background:#302817}.theme-dark .tree-note-editor textarea::placeholder{color:#c1a96c}.theme-dark .practice-page-heading h1,.theme-dark .practice-session-heading h2,.theme-dark .practice-progress-heading h2{color:#e2eaf5}.theme-dark .practice-page-heading p,.theme-dark .practice-session-heading p{color:#91a0b6}.theme-dark .practice-side-pill,.theme-dark .practice-stat-card,.theme-dark .practice-session-card,.theme-dark .practice-progress-card{color:#d7e1ef;border-color:#2c3b52;background:#172438}.theme-dark .practice-stat-card>span,.theme-dark .practice-stat-card small{color:#95a5bc}.theme-dark .practice-stat-card strong,.theme-dark .practice-session-heading h2,.theme-dark .practice-progress-heading h2{color:#e0e9f5}.theme-dark .practice-count-pill{color:#b2c8f7;background:#263853}.theme-dark .practice-board-frame{border-color:#2d3d54;background:#111c2c}.theme-dark .practice-board-empty{border-color:#3a4b64;color:#94a5bc}.theme-dark .practice-board-empty strong,.theme-dark .practice-empty-copy strong{color:#c3d0e2}.theme-dark .practice-feedback{border-color:#315343;color:#a2d8be;background:#1b342c}.theme-dark .practice-feedback.incorrect{border-color:#5a4438;color:#e3b69e;background:#34271f}.theme-dark .practice-progress-label,.theme-dark .practice-progress-label strong,.theme-dark .practice-position-context strong{color:#aebdd1}.theme-dark .practice-progress-track{background:#2a3a50}.theme-dark .practice-move-history,.theme-dark .practice-position-context{border-color:#2d3d54;background:#111c2c}.theme-dark .practice-move-history>div>span{color:#b4c2d6;border-color:#34445c;background:#1c2b41}.theme-dark .practice-move-history small,.theme-dark .practice-empty-copy span,.theme-dark .practice-empty-note{color:#92a2b9}.theme-dark .practice-subtle-button{color:#9cacbf}.theme-dark .practice-progress-heading,.theme-dark .practice-overall-progress,.theme-dark .practice-progress-section{border-color:#2c3b52}.theme-dark .practice-section-title strong,.theme-dark .practice-position-row>div strong{color:#bfccde}.theme-dark .practice-position-row>div small,.theme-dark .practice-progress-footnote{color:#91a0b6}.theme-dark .practice-position-row .mini-board-ground{border-color:#34445c}.theme-dark .practice-progress-icon{color:#9ed5bb;background:#1d3b31}@media(max-width:760px){.sidebar-mode-switch{display:none}.mobile-mode-switch{display:flex;align-items:center;gap:2px;padding:3px;border-radius:7px;background:#f0f3f8}.mobile-mode-switch button{height:26px;min-width:34px;padding:0 6px;border:0;border-radius:5px;color:#8793a5;background:transparent;font-size:8.5px;font-weight:800}.mobile-mode-switch button.active{color:#416dd1;background:#fff;box-shadow:0 1px 3px #1b2d501a}.theme-dark .mobile-mode-switch{background:#0e1828}.theme-dark .mobile-mode-switch button.active{color:#c3d6ff;background:#273853}.practice-workspace{padding:12px 10px max(16px,env(safe-area-inset-bottom))!important}.practice-page-heading{align-items:flex-start;flex-direction:column;gap:9px;margin-bottom:12px}.practice-page-heading h1{font-size:18px}.practice-page-heading p{font-size:9px}.practice-side-pill{padding:5px 8px;font-size:8px}.practice-stat-grid{gap:6px;margin-bottom:9px}.practice-stat-card{gap:3px;padding:9px 8px;border-radius:8px}.practice-stat-card>span{font-size:7px}.practice-stat-card strong{font-size:17px}.practice-stat-card small{font-size:7px;line-height:1.3}.practice-content-grid{grid-template-columns:minmax(0,1fr);gap:9px}.practice-session-card,.practice-progress-card{padding:10px;border-radius:10px}.practice-mode-tabs button{height:31px;gap:5px;padding:0 6px;font-size:8px}.practice-mode-tabs button svg{width:13px;height:13px}.practice-session-heading{align-items:flex-start;padding:13px 2px 9px}.practice-session-heading h2,.practice-progress-heading h2{font-size:13px}.practice-session-heading p{max-width:275px;font-size:8px}.practice-count-pill{font-size:7px}.practice-board-layout{grid-template-columns:minmax(0,1fr);gap:12px}.practice-board-frame{width:min(100%,min(86vw,560px));padding:6px;border-radius:8px}.practice-session-details{width:min(100%,560px);margin:0 auto;gap:9px}.practice-feedback{padding:8px;font-size:8px}.practice-progress-card{margin-bottom:2px}.practice-progress-heading{padding-bottom:9px}.practice-overall-progress,.practice-progress-section{padding:10px 0}.practice-position-row{gap:8px}.tree-note-editor{top:-8px;left:-8px;width:min(198px,62vw)}}@media(max-width:390px){.mobile-nav-actions .icon-button:first-child{display:none}.mobile-mode-switch button{min-width:30px;padding:0 4px}.mobile-mode-switch{gap:1px}}@media(max-width:1260px)and (min-width:761px){.practice-content-grid{grid-template-columns:minmax(0,1fr)}.practice-board-layout{grid-template-columns:minmax(240px,1fr) minmax(160px,200px);gap:14px}.practice-board-frame{width:min(100%,520px)}}.practice-workspace{display:flex!important;min-height:0!important;overflow:hidden!important;padding:12px 18px!important}.practice-page{width:min(100%,1600px);height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:12px;margin:0 auto}.practice-topbar{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:18px}.practice-title-row{min-width:0;display:flex;align-items:center;gap:12px}.practice-title-row h1{overflow:hidden;margin:0;color:#1d2a41;font-family:Manrope,sans-serif;font-size:19px;font-weight:800;letter-spacing:-.5px;text-overflow:ellipsis;white-space:nowrap}.practice-side-pill{flex:0 0 auto;padding:5px 9px;font-size:9px}.practice-stats-row{display:flex;align-items:center;gap:0}.practice-stats-row>div{min-width:76px;display:flex;flex-direction:column;gap:1px;padding:0 13px;border-left:1px solid #e6ebf2}.practice-stats-row strong{color:#2e3d55;font-family:Manrope,sans-serif;font-size:15px;font-weight:800;line-height:1.1;font-variant-numeric:tabular-nums}.practice-stats-row span{color:#929eaf;font-size:8px;font-weight:600}.practice-content-grid{min-height:0;grid-template-columns:minmax(0,1fr) 278px;align-items:stretch;gap:12px}.practice-session-card{min-height:0;display:flex;flex-direction:column;padding:12px;overflow:hidden}.practice-session-toolbar{min-width:0;display:flex;align-items:center;gap:10px}.practice-mode-tabs{width:min(100%,450px);padding:3px}.practice-mode-tabs button{height:30px;gap:6px;font-size:9px}.practice-count-pill{margin-left:auto;white-space:nowrap}.practice-board-layout{min-height:0;flex:1 1 auto;grid-template-columns:minmax(0,1fr) 192px;align-items:center;gap:14px;padding-top:8px}.practice-board-frame{width:auto;height:min(100%,62vh);max-width:100%;max-height:62vh;aspect-ratio:1;justify-self:center;margin:0;padding:7px}.practice-session-details{gap:9px}.practice-feedback{padding:8px;font-size:8.5px}.practice-move-history{min-height:34px;padding:8px}.practice-move-history>div{gap:4px}.practice-move-history>div>span{padding:3px 5px}.practice-primary-button{min-height:33px;font-size:9px}.practice-subtle-button{min-height:23px}.practice-position-context{padding:9px}.practice-position-context strong{font-size:9px}.practice-progress-card{min-height:0;display:flex;flex-direction:column;padding:12px;overflow:hidden}.practice-progress-heading{min-height:36px;align-items:center;padding-bottom:9px}.practice-progress-heading h2{font-size:14px}.practice-progress-heading .eyebrow{margin-bottom:1px}.practice-reset-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:27px;padding:0 8px;border:1px solid #e9edf3;border-radius:6px;color:#8793a5;background:#fff;font-size:8px;font-weight:700;cursor:pointer}.practice-reset-button:hover:not(:disabled){color:#b65f5f;border-color:#efcaca;background:#fff8f8}.practice-reset-button:disabled{opacity:.4;cursor:default}.practice-progress-scroll{min-height:0;flex:1 1 auto;overflow:auto;scrollbar-width:thin}.practice-overall-progress{padding:10px 0;gap:7px}.practice-progress-section{padding:10px 0}.practice-section-title{margin-bottom:6px}.practice-position-row{gap:8px;padding:5px 0}.practice-position-row .mini-board-ground{width:34px!important;height:34px!important}.practice-position-row>div strong{font-size:8px}.practice-position-row>div small{font-size:7px}.practice-empty-note{font-size:8px}.practice-progress-footnote{padding-top:8px}.tree-note-editor{top:-8px;left:-8px;width:222px;padding:8px;border-radius:8px}.tree-note-editor:before{display:none}.tree-note-editor-head{display:none}.tree-note-close{position:absolute;z-index:2;top:-8px;right:-8px;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e7c75b;border-radius:50%;color:#82631e;background:#fff9e2;box-shadow:0 2px 6px #674e1424;cursor:pointer}.tree-note-close:hover{background:#fff}.tree-note-editor textarea{display:block;min-height:84px;padding:8px;border:0;border-radius:5px;background:#fffcebb8;font-size:10px;line-height:1.45}.tree-note-editor textarea:focus{border:0;outline:1px solid rgba(192,151,42,.5)}.preview-note-text{max-width:135px;overflow:hidden;color:#9b792f!important;text-overflow:ellipsis;white-space:nowrap}.preview-note-action{display:inline-flex;align-items:center;gap:5px;align-self:flex-start;margin-top:2px;padding:5px 7px;border:1px solid #e8d28e;border-radius:5px;color:#8a6a22;background:#fff8df;font-size:8px;font-weight:700;cursor:pointer;pointer-events:auto}.preview-note-action:hover{background:#fff0bf}.board-note-action{min-height:25px;padding:4px 7px;font-size:8px}.board-note-action svg{color:#b58b2f}.danger-outline-button{display:inline-flex;align-items:center;gap:5px;border-color:#f0d7d7;color:#b46767;white-space:nowrap}.danger-outline-button:hover{border-color:#e8bebe;color:#a94f4f;background:#fff8f8}.training-reset-row{gap:12px}.theme-dark .practice-title-row h1,.theme-dark .practice-stats-row strong{color:#e2eaf5}.theme-dark .practice-stats-row>div{border-color:#2c3b52}.theme-dark .practice-reset-button{border-color:#34445c;color:#a7b5ca;background:#1c2b41}.theme-dark .practice-reset-button:hover:not(:disabled){border-color:#70464b;color:#e2a5a5;background:#33242a}.theme-dark .tree-note-close{border-color:#947a3d;color:#f1d98c;background:#3e321c}.theme-dark .preview-note-text{color:#e3c56f!important}.theme-dark .preview-note-action{border-color:#806b3e;color:#f1d98c;background:#3e321c}.theme-dark .danger-outline-button{border-color:#654247;color:#e0a0a0}@media(max-width:1260px)and (min-width:761px){.practice-content-grid{grid-template-columns:minmax(0,1fr) 245px}.practice-board-layout{grid-template-columns:minmax(0,1fr) 170px;gap:10px}.practice-board-frame{max-height:56vh;height:min(100%,56vh)}.practice-stats-row>div{min-width:64px;padding:0 8px}}@media(max-width:760px){.practice-workspace{display:block!important;overflow-x:hidden!important;overflow-y:auto!important;padding:10px 10px max(16px,env(safe-area-inset-bottom))!important}.practice-page{width:100%;height:auto;min-height:100%;display:flex;flex-direction:column;gap:10px}.practice-topbar{align-items:stretch;flex-direction:column;gap:8px}.practice-title-row{justify-content:space-between}.practice-title-row h1{font-size:16px}.practice-stats-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:8px 0;border-top:1px solid #e6ebf2;border-bottom:1px solid #e6ebf2}.practice-stats-row>div{min-width:0;padding:0 6px}.practice-stats-row>div:first-child{padding-left:0;border-left:0}.practice-stats-row strong{font-size:13px}.practice-stats-row span{font-size:7px}.practice-content-grid{grid-template-columns:minmax(0,1fr);gap:9px}.practice-session-card,.practice-progress-card{padding:10px;border-radius:10px}.practice-session-toolbar{gap:6px}.practice-mode-tabs{width:100%}.practice-mode-tabs button{height:31px;padding:0 6px;font-size:8px}.practice-count-pill{display:none}.practice-board-layout{display:flex;flex-direction:column;gap:10px;padding-top:10px}.practice-board-frame{width:min(100%,min(86vw,560px));height:auto;max-height:none;aspect-ratio:1;padding:6px}.practice-session-details{width:min(100%,560px);gap:8px}.practice-feedback{padding:8px;font-size:8px}.practice-progress-card{max-height:none}.practice-progress-scroll{overflow:visible}.practice-progress-heading{padding-bottom:9px}.practice-progress-section{padding:9px 0}.tree-note-editor{top:-8px;left:-8px;width:min(222px,72vw)}.floating-preview{display:none!important}}.tree-canvas-shell{cursor:grab}.tree-canvas-shell.is-panning{cursor:grabbing;-webkit-user-select:none;user-select:none}.tree-canvas-shell.is-panning .tree-node{pointer-events:none}.tree-node:has(.tree-note-editor){z-index:3000!important}.tree-note-editor{z-index:3001!important}.board-top-actions{display:flex;align-items:center;gap:6px}.board-note-action{min-height:25px;white-space:nowrap}.board-priority-action{width:32px;justify-content:center;padding:4px 7px}.board-priority-action svg{color:#78869c}.board-priority-action:hover svg{color:#416fd2}.preview-actions{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:2px}.preview-priority-action{display:inline-flex;align-items:center;gap:4px;min-height:25px;padding:4px 7px;border:1px solid #e5eaf2;border-radius:5px;color:#6f7f97;background:#fbfcfe;font-size:8px;font-weight:700;cursor:pointer;pointer-events:auto}.preview-priority-action:hover{border-color:#cbd9f4;color:#416fd2;background:#f4f7ff}.analysis-arrow-color-input{width:44px;height:29px;padding:2px;border:1px solid #e5eaf2;border-radius:7px;background:#fff;cursor:pointer}.theme-dark .board-priority-action svg{color:#9eacc1}.theme-dark .board-priority-action:hover svg{color:#b6ccff}.theme-dark .preview-priority-action{border-color:#34445c;color:#a7b5ca;background:#1c2b41}.theme-dark .preview-priority-action:hover{border-color:#49618b;color:#c4d6fa;background:#243650}.theme-dark .analysis-arrow-color-input{border-color:#34445c;background:#1c2b41}.practice-board-layout{align-items:stretch}.practice-board-column{min-width:0;min-height:0;display:flex;align-items:center;justify-content:center}.practice-board-stack{width:min(100%,72vh,calc(100vh - 260px));height:auto;min-height:0;display:flex;flex-direction:column;gap:8px}.practice-session-toolbar{width:100%;flex:0 0 auto}.practice-board-frame{width:100%;height:auto;min-width:0;min-height:0;max-width:100%;max-height:none;flex:0 0 auto;aspect-ratio:1;align-self:center}@media(max-width:1260px)and (min-width:761px){.practice-board-stack{width:min(100%,66vh,calc(100vh - 260px));height:auto}}@media(max-width:760px){.tree-canvas-shell,.tree-canvas-shell.is-panning{cursor:auto}.tree-canvas-shell.is-panning .tree-node{pointer-events:auto}.board-top-actions{gap:4px}.board-priority-action{width:30px}.practice-board-column{width:100%}.practice-board-stack{width:min(100%,min(86vw,560px));height:auto}.practice-session-toolbar,.practice-mode-tabs{width:100%}.practice-board-frame{width:100%;height:auto;min-height:auto;flex:0 0 auto;aspect-ratio:1}}.practice-board-column{align-items:center;justify-content:center}.practice-board-stack{width:min(100%,max(240px,calc(100dvh - 390px)));max-width:100%;min-height:0}.practice-board-frame{width:100%;height:auto;max-width:100%;max-height:calc(100dvh - 390px);aspect-ratio:1}@media(max-width:1260px)and (min-width:761px){.practice-board-stack{width:min(100%,max(220px,calc(100dvh - 410px)))}.practice-board-frame{max-height:calc(100dvh - 410px)}}@media(max-width:760px){.practice-board-column{align-items:center;justify-content:center}.practice-board-stack{width:min(100%,min(86vw,560px));max-width:560px}.practice-board-frame{width:100%;height:auto;max-width:100%;max-height:none}}.practice-board-column{container-type:size;min-width:0;min-height:0;width:100%;height:100%;display:flex;align-items:stretch;justify-content:stretch}.practice-board-stack{width:100%;height:100%;min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);justify-items:center;align-items:center;gap:8px}.practice-session-toolbar{width:min(100cqw,calc(100cqh - 52px));min-width:0}.practice-mode-tabs{width:100%}.practice-board-frame{width:min(100cqw,calc(100cqh - 52px));height:min(100cqw,calc(100cqh - 52px));min-width:0;min-height:0;max-width:none;max-height:none;aspect-ratio:1;justify-self:center;align-self:center;margin:0}.practice-board-frame .chessground-host{display:block;width:100%;height:100%}@media(max-width:760px){.practice-board-column{container-type:normal;width:100%;height:auto;display:flex;align-items:center;justify-content:center}.practice-board-stack{width:min(100%,min(86vw,560px));height:auto;max-width:560px;display:flex;flex-direction:column;gap:8px}.practice-session-toolbar,.practice-mode-tabs{width:100%}.practice-board-frame{width:100%;height:auto;max-width:100%;max-height:none;aspect-ratio:1}}.practice-stats-row{display:grid;grid-template-columns:repeat(4,minmax(72px,auto));gap:7px}.practice-stats-row>div{min-width:72px;padding:7px 10px;border:1px solid #e8edf4;border-radius:8px;background:#fff;gap:3px}.practice-stats-row strong{font-size:16px;line-height:1.1}.practice-stats-row span{color:#929eaf;font-size:7.5px;font-weight:800;letter-spacing:.045em;text-transform:uppercase}.practice-position-row .mini-board-ground{width:51px!important;height:51px!important}.practice-position-row{gap:10px}.practice-position-row>div strong{font-size:9px}.practice-position-row>div small{font-size:8px}.theme-dark .practice-stats-row>div{border-color:#2c3b52;background:#172438}@media(max-width:760px){.sidebar{padding-right:max(14px,env(safe-area-inset-right))!important}.mobile-nav-controls{padding-right:3px}.mobile-nav-actions{flex:0 0 auto;margin-right:2px;padding-right:1px}.practice-stats-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:0;border:0}.practice-stats-row>div{min-width:0;padding:7px 6px;border:1px solid #e8edf4;border-radius:7px;background:#fff}.practice-stats-row>div:first-child{padding-left:6px;border-left:1px solid #e8edf4}.practice-stats-row strong{font-size:14px}.practice-stats-row span{font-size:6.5px}.practice-position-row .mini-board-ground{width:51px!important;height:51px!important}.theme-dark .practice-stats-row>div{border-color:#2c3b52;background:#172438}}@media(min-width:761px)and (max-width:1100px){.topbar{min-width:0;padding-inline:12px;gap:8px}.breadcrumb{min-width:0;flex:1 1 auto;gap:6px;overflow:hidden}.breadcrumb strong{max-width:clamp(88px,17vw,170px)}.topbar-actions{min-width:0;flex:0 0 auto;gap:5px}.toolbar-button{gap:5px;padding-inline:7px;font-size:10px}.workspace:not(.practice-workspace){grid-template-columns:minmax(0,42%) 10px minmax(0,1fr);padding:10px!important}.analysis-column,.tree-column{min-width:0}.analysis-column{padding-right:7px}.section-heading,.tree-heading{min-width:0}.tree-heading{flex-wrap:wrap}.tree-tools{min-width:0;flex-wrap:wrap}.tree-legend,.board-card-top,.board-top-actions{flex-wrap:wrap}}@media(min-width:761px)and (max-width:870px){.toolbar-button span{display:none}.toolbar-button{width:32px;justify-content:center;padding-inline:0}.topbar-actions{gap:4px}}@media(min-width:761px)and (max-width:1050px){.practice-workspace{display:block!important;overflow-x:hidden!important;overflow-y:auto!important;padding:12px!important}.practice-page{height:auto;min-height:100%;grid-template-rows:auto auto;gap:10px}.practice-topbar{align-items:stretch;flex-direction:column;gap:8px}.practice-stats-row{grid-template-columns:repeat(4,minmax(0,1fr))}.practice-stats-row>div{min-width:0}.practice-content-grid{grid-template-columns:minmax(0,1fr)!important;gap:10px}.practice-session-card{min-height:470px;overflow:visible}.practice-board-layout{min-height:430px;grid-template-columns:minmax(0,1fr) 185px;gap:12px}.practice-board-column,.practice-board-stack{height:100%}.practice-progress-card{max-height:320px;overflow:hidden}.practice-progress-scroll{max-height:230px}}@media(min-width:761px)and (max-width:870px){.practice-board-layout{grid-template-columns:minmax(0,1fr) 165px;gap:9px}}.practice-content-grid{grid-template-columns:minmax(0,1fr) 278px}.practice-side-column{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:12px}.practice-stats-row{width:100%;min-width:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:0;padding:10px 7px;border:1px solid #e6ebf2;border-radius:12px;background:#fff;box-shadow:var(--shadow)}.practice-stats-row>div{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:3px 8px;border:0;border-left:1px solid #e9edf3;border-radius:0;background:transparent}.practice-stats-row>div:first-child{padding-left:8px;border-left:0}.practice-stats-row strong{color:#2e3d55;font-size:19px;line-height:1;letter-spacing:-.45px}.practice-stats-row span{color:#929eaf;font-size:7px;line-height:1.2;font-weight:800;letter-spacing:.06em;text-transform:uppercase;overflow-wrap:anywhere}.practice-show-line-button{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 12px;border:1px solid #e6d39a;border-radius:7px;color:#8d6a1e;background:#fff9e8;font-size:9.5px;font-weight:800;cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .15s ease}.practice-show-line-button:hover{border-color:#d9bf76;background:#fff4d4;transform:translateY(-1px)}.theme-dark .practice-stats-row{border-color:#2c3b52;background:#172438}.theme-dark .practice-stats-row>div{border-left-color:#2c3b52}.theme-dark .practice-stats-row>div:first-child{border-left:0}.theme-dark .practice-stats-row strong{color:#e0e9f5}.theme-dark .practice-stats-row span{color:#95a5bc}.theme-dark .practice-show-line-button{border-color:#78643a;color:#efd58c;background:#3a301d}.theme-dark .practice-show-line-button:hover{background:#493b22}@media(max-width:1260px)and (min-width:761px){.practice-content-grid{grid-template-columns:minmax(0,1fr) 245px}.practice-stats-row{padding-inline:5px}.practice-stats-row>div{padding-inline:6px}.practice-stats-row strong{font-size:17px}.practice-stats-row span{font-size:6.5px}}@media(min-width:761px)and (max-width:1050px){.practice-content-grid{grid-template-columns:minmax(0,1fr)!important}.practice-side-column{grid-template-rows:auto auto}.practice-stats-row{width:100%}.practice-progress-card{min-height:280px}}@media(max-width:760px){.practice-content-grid{grid-template-columns:minmax(0,1fr)}.practice-side-column{grid-template-rows:auto auto;gap:9px}.practice-stats-row{width:100%;padding:8px 5px;border-radius:10px}.practice-stats-row>div{padding:3px 5px}.practice-stats-row>div:first-child{padding-left:5px}.practice-stats-row strong{font-size:15px}.practice-stats-row span{font-size:6px}.practice-show-line-button{width:100%}}.practice-board-frame{padding:0!important;border:0!important;border-radius:12px!important;background:transparent!important;box-shadow:none!important;overflow:hidden}.practice-board-frame .chessground-host{border-radius:12px!important;overflow:hidden}.confirm-backdrop{z-index:140;align-items:center}.confirm-modal{width:min(410px,calc(100vw - 32px));padding:22px;border:1px solid #e6ebf3;border-radius:15px;color:#344158;background:#fff;box-shadow:0 24px 70px #1927433d;animation:confirm-in .16s ease-out}.confirm-modal-icon{width:40px;height:40px;display:flex;align-items:center;justify-content:center;margin-bottom:14px;border:1px solid #f1dddd;border-radius:11px;color:#b96c6c;background:#fff6f5}.confirm-modal-copy h2{margin:0 0 7px;color:#25334a;font-family:Manrope,sans-serif;font-size:17px;letter-spacing:-.35px}.confirm-modal-copy p{margin:0;color:#8490a2;font-size:11px;line-height:1.6}.confirm-modal .modal-actions{margin-top:20px}.confirm-danger-button{background:#c66b6b}.confirm-danger-button:hover{background:#b85b5b}.theme-dark .confirm-modal{color:#dce5f2;border-color:#394960;background:#172235;box-shadow:0 24px 70px #00000085}.theme-dark .confirm-modal-copy h2{color:#e3ebf7}.theme-dark .confirm-modal-copy p{color:#9aa9bf}.theme-dark .confirm-modal-icon{border-color:#5e4048;color:#e0a0a0;background:#33232e}.theme-dark .confirm-danger-button{color:#fff;border-color:#a9535c;background:#a9535c}@keyframes confirm-in{0%{opacity:0;transform:translateY(5px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}.analysis-column{min-height:0!important;overflow:hidden!important;padding-right:10px}.board-card{flex:0 0 auto!important;overflow:visible;padding:5px 8px 0!important}.board-card>.board-card-top{min-height:42px;padding:6px 7px 8px}.board-stage{display:flex!important;align-items:center;justify-content:center!important;width:100%;padding:0 7px 8px!important;box-sizing:border-box}.board-inner{width:min(100%,var(--board-size, 680px),max(220px,calc(100dvh - 400px)))!important;max-width:100%!important;min-width:0;height:auto!important;aspect-ratio:1 / 1;flex:0 1 auto!important;margin-inline:auto;overflow:hidden;border-radius:8px;clip-path:inset(0 round 8px)}.board-inner .cg-wrap,.board-inner cg-board{width:100%!important;height:100%!important;overflow:hidden;border-radius:8px}.board-data-splitter{flex:0 0 15px!important;margin:3px 0 2px!important}.data-panel{min-height:0!important;flex:1 1 0!important;margin-top:0!important;overflow:hidden!important}.database-scroll-content{width:100%;height:100%;min-height:0;flex:1 1 auto;overflow-y:auto!important;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin}.database-engine-section{margin:0 0 13px;padding:10px 11px 8px;border:1px solid #e8edf4;border-radius:9px;background:#fbfcfe}.database-engine-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px}.database-engine-title>div:first-child{display:flex;flex-direction:column;gap:3px}.database-engine-title .eyebrow{margin:0;font-size:7px}.database-engine-title strong{display:inline-flex;align-items:center;gap:6px;color:#43536e;font-size:10px}.engine-status-dot{width:6px;height:6px;border-radius:50%;background:#4678e8;box-shadow:0 0 0 3px #4678e81c}.database-engine-actions{display:flex;align-items:center;gap:5px;color:#929eb0;font-size:8px;white-space:nowrap}.database-engine-actions .plain-icon-button{width:25px;height:25px}.database-engine-card{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}.database-engine-card .engine-line-row{min-height:28px;grid-template-columns:7px 43px minmax(0,1fr) 12px;gap:7px;padding:3px 2px;border-top:1px solid #edf0f5}.database-engine-card .engine-line-row:first-child{border-top:0}.engine-empty-state{padding:7px 0 2px;color:#98a3b3;font-size:8.5px;line-height:1.45}.theme-dark .database-engine-section{border-color:#2b3a51;background:#151f30}.theme-dark .database-engine-title strong{color:#d3deed}.theme-dark .database-engine-actions{color:#94a5bc}.theme-dark .database-engine-card .engine-line-row{border-top-color:#28374d}.theme-dark .engine-empty-state{color:#8fa0b8}.node-delete{top:-7px!important;right:auto!important;left:-7px!important;z-index:8!important}.node-collapse{position:absolute;top:-7px;right:-7px;z-index:8;width:18px;height:18px;display:flex;align-items:center;justify-content:center;padding:0;border:1px solid #dfe6f0;border-radius:50%;color:#667995;background:#fff;box-shadow:0 2px 6px #2230491f;opacity:0;cursor:pointer;transition:opacity .12s ease,color .12s ease,border-color .12s ease,transform .12s ease}.tree-node:hover .node-collapse,.tree-node:focus-within .node-collapse,.tree-node:hover .node-delete,.tree-node:focus-within .node-delete{opacity:1}.node-collapse:hover{color:#416fd2;border-color:#b9c9ed;transform:scale(1.08)}.node-collapse.is-collapsed{color:#416fd2;border-color:#bfd0f3;background:#f5f8ff}.theme-dark .node-collapse{color:#a9bad1;border-color:#42526a;background:#1b293e}.theme-dark .node-collapse.is-collapsed{color:#c4d6fa;border-color:#5973a2;background:#243650}.tree-node.root-node .node-label{text-transform:none!important;letter-spacing:0!important;font-weight:700}@media(max-width:760px){.analysis-column{overflow-x:hidden!important;overflow-y:auto!important;padding-right:0}.board-data-splitter{display:none!important}.data-panel{flex:0 0 auto!important;min-height:260px!important;margin-top:8px!important;overflow:visible!important}.database-scroll-content{height:auto;overflow:visible!important}.board-inner{width:min(100%,var(--board-size, 680px),calc(100vw - 72px))!important;max-width:100%!important}.node-collapse{opacity:1;width:19px;height:19px}.node-delete{opacity:1}}@media(min-width:761px){.workspace:not(.practice-workspace)>.tree-column{margin-left:10px}}.theme-dark .board-data-splitter:before{background:#2a384e}.theme-dark .board-data-splitter span{border-color:#384860;background:#1a2638;box-shadow:0 1px 3px #00000052}.theme-dark .board-data-splitter:hover span,.theme-dark .board-data-splitter.resizing span,.theme-dark .board-resizing .board-data-splitter span{border-color:#637da9;background:#263752}.board-card{padding:2px 4px 0!important}.board-card>.board-card-top{min-height:32px;padding:3px 4px 5px!important}.board-position-label{gap:5px;font-size:9px}.board-position-label strong{font-size:10px}.position-number{padding:2px 5px;font-size:8.5px}.board-top-actions{gap:4px}.board-top-actions .small-button,.board-top-actions .plain-icon-button{min-height:23px;height:23px}.board-stage{padding:0 2px 4px!important}.board-inner{width:min(100%,var(--board-size, 680px),max(220px,calc(100dvh - 340px)))!important}.board-controls{min-height:31px;height:31px;padding:2px 5px!important;gap:7px}.board-nav-buttons{gap:4px}.square-button{width:25px;height:25px}.capture-toggle{gap:5px;font-size:9px}.toggle-track{width:25px;height:14px}.toggle-track span{width:10px;height:10px}.capture-toggle.enabled .toggle-track span{transform:translate(11px)}.move-strip{padding:5px 6px 6px!important}.move-strip-head{margin-bottom:4px;font-size:8px}.move-empty{padding:3px 0 5px;font-size:9px}.move-token{min-height:21px;padding:2px 6px;font-size:9px}.line-drag-button{min-height:21px;padding:2px 6px;font-size:8.5px}.node-preview.floating-preview{pointer-events:auto}.board-card{padding-bottom:4px!important}.board-controls{min-height:36px!important;height:36px!important;padding:2px 6px 7px!important;border-top:0!important}.board-data-splitter:before{display:none!important}
