dialog.position-editor-dialog:is(.studio-dialog,.ex-dialog,.trainer-dialog),dialog.position-editor-dialog{box-sizing:border-box;width:min(920px,100vw - 24px);max-width:calc(100vw - 24px);height:min(650px,calc(100dvh - var(--portal-header-height,56px) - 24px));max-height:calc(100dvh - var(--portal-header-height,56px) - 24px);inset:calc(var(--portal-header-height,56px) + 12px) auto auto 50%;color:#f4f1fa;background:#12102b;border:1px solid #666187;border-radius:10px;margin:0;padding:16px;font-family:Inter,ui-sans-serif,system-ui,sans-serif;overflow:hidden;transform:translate(-50%);box-shadow:0 24px 90px #0009}dialog.position-editor-dialog::backdrop{background:#07051bcc}dialog.position-editor-dialog[open]{flex-direction:column;display:flex}.position-editor{color:#f4f1fa;flex-direction:column;flex:1;gap:10px;min-width:0;min-height:0;max-height:none;font-size:13px;display:flex}dialog.position-editor-dialog>.study-share-heading{z-index:1;background:0 0;border:0;padding:0;position:absolute;top:12px;right:12px}dialog.position-editor-dialog>.study-share-content{flex-direction:column;flex:1;min-height:0;max-height:none;padding:0;display:flex;overflow:hidden}.position-editor-heading{flex:none;padding-right:42px}.position-editor .position-editor-heading h2{color:#f4f1fa;margin:0;font-family:inherit;font-size:20px;line-height:26px}.position-editor .position-editor-heading p{color:#d8d1e9;margin:3px 0 0;font-size:12px;line-height:17px}.position-workbench{overscroll-behavior:contain;flex:1;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) minmax(265px,.75fr);gap:16px;min-height:0;padding:2px 3px;display:grid;overflow:hidden}.position-board-column{min-width:0;min-height:0;container-type:size}.position-board-caption{justify-content:space-between;align-items:center;gap:8px;min-height:44px;margin-bottom:6px;display:flex}.position-board-caption span{overflow-wrap:anywhere;min-width:0}.position-editor .position-board-caption button{flex:none;width:44px;padding:0;font-size:22px}.position-board{box-sizing:border-box;aspect-ratio:1;border:1px solid #8a80a2;grid-template-rows:repeat(8,minmax(0,1fr));width:min(100cqw,100cqh);max-width:100%;margin:0 auto;display:grid}.position-board-row{grid-template-columns:repeat(8,minmax(0,1fr));min-height:0;display:grid}.position-editor button{box-sizing:border-box;color:#f4f1fa;min-width:44px;min-height:44px;font:inherit;cursor:pointer;background:#27223f;border:1px solid #77708f;border-radius:6px;padding:8px 12px;font-weight:600}.position-editor button:disabled{opacity:.5;cursor:default}.position-editor :is(button,input,select,textarea,summary):focus-visible{outline-offset:2px;outline:3px solid #b5efdc}.position-editor button[aria-pressed=true]{color:#132c28;background:#afe8d5;border-color:#afe8d5;box-shadow:inset 0 0 0 2px #132c28}dialog.position-editor-dialog .position-editor .position-square{touch-action:manipulation;width:100%;min-width:0;height:100%;min-height:0;box-shadow:none;background:#956b4b;border:0;border-radius:0;place-items:center;padding:0;display:grid;position:relative}dialog.position-editor-dialog .position-editor .position-square.light{background:#f1d7ae}dialog.position-editor-dialog .position-editor .position-square:focus-visible{outline-offset:-4px;z-index:1;outline:3px solid #102b3f}dialog.position-editor-dialog .position-editor .position-square.is-source{box-shadow:inset 0 0 0 4px #176e69}.position-square img{object-fit:contain;pointer-events:none;width:85%;height:85%;display:block}.position-square-coordinate{color:#281506;pointer-events:none;background:#f1d7ae;border-radius:1px;padding:0 1px;font-size:10px;line-height:11px;position:absolute}.position-square-coordinate.rank{top:1px;left:1px}.position-square-coordinate.file{bottom:1px;right:1px}.position-editor .position-help{color:#d8d1e9;margin:6px 0 0;font-size:12px;line-height:17px}.position-tools{overscroll-behavior:contain;scrollbar-gutter:stable;flex-direction:column;gap:8px;min-width:0;min-height:0;padding:0 3px;display:flex;overflow:auto}.position-tools>*{flex-shrink:0}.position-editor fieldset{border:0;min-width:0;margin:0;padding:0}.position-editor legend{margin-bottom:5px;padding:0;font-weight:600}.position-palette-grid{grid-template-columns:repeat(6,minmax(44px,1fr));gap:4px;display:grid}.position-editor .position-palette-grid button{place-items:center;height:44px;padding:3px;display:grid}.position-palette-grid img{object-fit:contain;pointer-events:none;width:36px;height:36px;display:block}.position-tool-actions{gap:6px;display:flex}.position-tool-actions button{white-space:normal;flex:1}.position-turn{align-items:center;gap:10px;display:flex}.position-editor .position-turn select{flex:1;width:auto;margin:0}.position-editor :is(input,select,textarea){box-sizing:border-box;color:#f4f1fa;width:100%;min-width:0;min-height:44px;font:inherit;background:#0f0d26;border:1px solid #77708f;border-radius:5px;margin:4px 0 0;padding:8px;display:block}.position-editor textarea{resize:vertical}.position-editor details{background:#1b1732;border:1px solid #514962;border-radius:5px;padding:0 8px}.position-editor summary{cursor:pointer;align-items:center;min-height:44px;font-weight:600;display:flex}.position-editor summary:before{content:"▸";margin-right:7px}.position-editor details[open]>summary:before{content:"▾"}.position-editor details[open]{padding-bottom:8px}.position-castling fieldset{grid-template-columns:1fr 1fr;display:grid}.position-castling legend{color:#d8d1e9;font-size:12px;font-weight:400}.position-castling label{align-items:center;gap:7px;min-height:44px;display:flex}.position-editor .position-castling input{accent-color:#afe8d5;width:19px;height:19px;min-height:0;margin:0;display:inline-block}.position-history-fields{grid-template-columns:1fr 1fr;gap:6px;margin-top:8px;display:grid}.position-editor .position-advanced p{color:#d8d1e9;margin:8px 0 0;font-size:12px;line-height:17px}.position-validation{background:#1b1732;border:1px solid #514962;border-radius:5px;padding:8px;font-size:12px;line-height:17px}.position-validation ul{margin:4px 0 0;padding-left:18px}.position-editor .position-validation p{color:#d8d1e9;margin:4px 0 0}.position-editor-footer{border-top:1px solid #514962;flex:none;justify-content:flex-end;gap:8px;padding-top:8px;display:flex}.position-editor .position-use{color:#132c28;background:#afe8d5;border-color:#afe8d5}@media (width<=680px){dialog.position-editor-dialog:is(.studio-dialog,.ex-dialog,.trainer-dialog),dialog.position-editor-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - var(--portal-header-height,106px) - 24px);padding:12px;inset-block-start:calc(var(--portal-header-height,106px) + 12px)}.position-editor{gap:8px}.position-workbench{grid-template-rows:max-content max-content;grid-template-columns:minmax(0,1fr);align-content:start;gap:12px;padding:2px;overflow:auto}.position-board-column{container-type:normal}.position-board{width:100%;max-width:none}.position-tools{overflow:visible}.position-editor .position-editor-heading h2{font-size:18px;line-height:24px}.position-editor-footer button{overflow-wrap:anywhere;flex:1;min-width:0;padding:8px}}.study-share-dialog{--st-line:#443d65;--st-accent:#a6e9d5;color:#f4f1fa;background:#17132f;border:1px solid #6e648b;border-radius:12px;width:min(620px,100vw - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:0;font:13px/1.45 Inter,ui-sans-serif,system-ui,sans-serif}.study-share-dialog::backdrop{background:#070419bd}.study-share-heading{border-bottom:1px solid #443d65;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;display:flex}.study-share-heading h2{margin:0;font-size:18px}.study-share-dialog .study-share-close{color:#f4f1fa;background:0 0;border:0;width:44px;min-width:44px;height:44px;font-size:26px}.study-share-content{scrollbar-width:thin;flex-direction:column;gap:10px;max-height:calc(100dvh - 174px);padding:14px;display:flex;overflow:auto}.study-share-content p{color:#d4cedf;margin:0;font-size:13px;line-height:1.45}.study-share-content small{color:#d4cedf}.study-share-versions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.study-share-versions>div{border:1px solid #514766;border-radius:6px;flex-direction:column;gap:4px;min-width:0;padding:9px;display:flex}.study-share-versions span{color:#d4cedf;font-size:12px}.study-share-dialog .studio-button{color:#f4f1fa;white-space:normal;background:#302747;border:1px solid #6e648b;min-width:44px;min-height:44px;font-size:13px}.study-share-dialog .studio-button.primary{color:#102a25;background:#a6e9d5;border-color:#a6e9d5}.study-share-dialog .studio-button.danger{color:#ffc1c8}.study-share-dialog button:disabled{opacity:.5;cursor:default}.study-share-dialog :is(button,a,input,select,summary):focus-visible{outline-offset:2px;outline:2px solid #a6e9d5}.study-share-actions{border-top:1px solid #443d65;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:10px 14px;display:flex}.study-share-preview summary{cursor:pointer;align-items:center;min-height:44px;font-weight:600;display:flex}.study-share-preview summary:before{content:"▸";margin-right:7px}.study-share-preview[open] summary:before{content:"▾"}.study-share-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#0d0a26;border:1px solid #443d65;max-height:120px;padding:8px;font:12px/1.5 ui-monospace,monospace;overflow:auto}.study-share-link,.study-share-destination{flex-direction:column;gap:4px;display:flex}.studio-shell .study-share-dialog :is(input,select){box-sizing:border-box;color:#f4f1fa;width:100%;min-height:44px;font:inherit;background:#0d0a26;border:1px solid #6e648b;border-radius:5px;padding:7px}.shared-study-main{flex-direction:column;flex:1;gap:12px;min-height:0;padding:12px 16px;display:flex}.shared-study-heading{flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;display:flex}.shared-study-heading>div{min-width:0}.shared-study-heading h1{text-overflow:ellipsis;white-space:nowrap;font-size:22px;overflow:hidden}.shared-study-heading>div>span{color:#a6e9d5;font-size:12px}.shared-study-shell .studio-button{min-width:44px;min-height:44px}.shared-study-body{flex:1;grid-template-columns:minmax(0,1fr) minmax(290px,.9fr);gap:16px;min-height:0;display:grid}.shared-study-board-column{flex-direction:column;min-height:0;display:flex}.shared-study-board-column .studio-board .board-frame{padding:3px}.shared-study-navigation{flex-shrink:0;justify-content:center;gap:8px;padding-top:8px;display:flex}.shared-study-lines{background:#17132f;border:1px solid #443d65;border-radius:8px;flex-direction:column;min-height:0;padding:10px;display:flex}.shared-study-lines>.variation-moves{flex-direction:column;flex:1;min-height:0;display:flex}.shared-study-lines .variation-heading{flex-shrink:0}.shared-study-lines .variation-lines{flex:1;min-height:0;max-height:none}.shared-study-comment{white-space:pre-wrap;color:#d4cedf;border-top:1px solid #443d65;flex-shrink:0;max-height:88px;margin-top:6px;padding-top:8px;font-size:13px;overflow:auto}.shared-study-empty{flex-direction:column;align-items:flex-start;gap:14px;padding:12px;display:flex}@media (width<=650px){.shared-study-main{gap:8px;padding:8px 10px;overflow:auto}.shared-study-heading{flex-direction:column;align-items:stretch;gap:6px}.shared-study-heading h1{font-size:18px}.shared-study-heading .studio-button{padding-block:6px}.shared-study-body{flex-direction:column;flex:none;gap:8px;display:flex}.shared-study-board-column .studio-board{aspect-ratio:1;flex:none}.shared-study-board-column .studio-board .board-frame{width:100%}.shared-study-navigation{gap:6px;padding-top:3px}.shared-study-lines{padding:6px 8px}.shared-study-lines>.variation-moves{flex:none}.shared-study-lines .variation-lines{flex:none;max-height:min(360px,50dvh)}.shared-study-comment{max-height:120px;font-size:13px}.study-share-heading{padding:6px 10px}.study-share-content{gap:8px;padding:10px}.study-share-versions{gap:6px}.study-share-versions>div{padding:7px}.study-share-actions{padding:8px 10px}}.private-document-files{margin-block:.65rem}.private-document-files summary,.private-document-files button{min-height:44px}.private-document-files summary{cursor:pointer;align-items:center;display:flex}.private-document-files label{gap:.35rem;margin-block:.6rem;display:grid}.private-document-files input{min-width:0;max-width:100%}.private-document-files>button{border:1px solid var(--st-line,#615a79);background:var(--surface-raised,#2b283d);max-width:100%;min-height:44px;color:var(--ink,#f2edf7);font:inherit;white-space:normal;cursor:pointer;border-radius:6px;padding:8px 12px;font-size:12px;font-weight:600;line-height:1.35}.private-document-files input[type=file]::file-selector-button{border:1px solid var(--st-line,#615a79);background:var(--surface-raised,#2b283d);max-width:100%;min-height:44px;color:var(--ink,#f2edf7);font:inherit;white-space:normal;cursor:pointer;border-radius:6px;padding:8px 12px;font-size:12px;font-weight:600;line-height:1.35}.private-document-files>button:hover:not(:disabled){background:var(--surface-high,#3a354e);border-color:#b7acd9}.private-document-files input[type=file]:not(:disabled)::file-selector-button:hover{background:var(--surface-high,#3a354e);border-color:#b7acd9}.private-document-files input[type=file]{width:100%;min-height:44px;color:var(--ink,#f2edf7);font:inherit;background:0 0;border:0;padding:0;font-size:12px;display:block}.private-document-files input[type=file]::file-selector-button{margin-right:8px}.private-document-files>button:focus-visible,.private-document-files input[type=file]:focus-visible{outline:2px solid var(--st-accent,var(--mint,#afe8d5));outline-offset:3px}.private-document-files>button:disabled{opacity:.45;cursor:default}.private-document-files input[type=file]:disabled::file-selector-button{opacity:.45;cursor:default}.private-document-files p,.private-document-files small{overflow-wrap:anywhere}.private-library{border-block:1px solid var(--border,#384453);margin-block:1rem;padding-block:1rem}.private-library h3{margin-top:0}.private-library label{gap:.3rem;display:grid}.private-library-actions{flex-wrap:wrap;gap:.5rem;margin-block:.5rem;display:flex}.private-library button{white-space:normal;overflow-wrap:anywhere;max-width:100%;min-height:44px}.private-library-status{overflow-wrap:anywhere;margin-block:.5rem;display:block}.private-library-list{gap:.35rem;max-height:240px;display:grid;overflow:auto}.private-library-list button{text-align:left}.private-library-note{gap:.4rem;margin-bottom:1rem;display:grid}.studio-analysis{flex-direction:column;flex:1;gap:8px;min-height:0;padding-top:10px;display:flex}.studio-analysis>:not(.studio-paged-list){flex-shrink:0}.studio-analysis-heading,.studio-analysis-selection{align-items:center;gap:8px;display:flex}.studio-analysis-heading{justify-content:space-between}.studio-analysis-selection{font-variant-numeric:tabular-nums;flex-wrap:wrap;font-size:13px}.studio-analysis-selection>strong:nth-child(2){color:var(--st-accent);margin-left:auto}.studio-analysis-selection>small{width:100%}.studio-analysis-progress{color:var(--st-muted);flex-wrap:wrap;align-items:center;gap:6px;font-size:11px;display:flex}.studio-analysis-progress>span{width:100%}.studio-analysis-progress progress{height:4px;accent-color:var(--st-accent);flex:1;min-width:40px}.studio-analysis-line{border-left:2px solid var(--st-line);padding-left:9px}.studio-analysis-line>span{color:var(--st-muted);font-size:10px}.studio-analysis-line p{overflow-wrap:anywhere;max-height:3.2em;margin:3px 0 6px;font-size:12px;overflow:auto}.studio-analysis-move{border:0;border-bottom:1px solid var(--st-line);width:100%;height:36px;color:var(--ink);text-align:left;font-variant-numeric:tabular-nums;background:0 0;border-radius:0;grid-template-columns:minmax(60px,1fr) 60px 80px;align-items:center;gap:8px;padding:4px 6px;font-size:12px;display:grid}.studio-analysis-move[aria-current=step],.studio-analysis-move:hover{background:#32304e}.studio-analysis-move>:not(strong){text-align:right}.studio-analysis-move>strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.studio-analysis-method{color:var(--st-muted);border-top:1px solid var(--st-line);max-height:120px;padding-top:6px;font-size:10px;overflow:auto}.studio-analysis-method summary{cursor:pointer}.studio-analysis-method p{margin-top:6px;font-size:11px}.studio-analysis-error{color:#ffc1c8;max-height:110px;font-size:11px;overflow:auto}@media (width<=900px){.studio-analysis{gap:6px;padding-top:0}.studio-analysis-line p{max-height:1.7em}}.device-game-analysis{gap:4px;min-width:0;margin:4px 0;display:grid}.device-game-analysis>button{white-space:normal;justify-self:start;max-width:100%}.device-game-analysis iframe{border:1px solid var(--border,#53657c);border-radius:5px;width:100%;display:block}.device-game-results{font-size:12px}.device-game-result-content{gap:6px;padding:3px;display:grid}.device-game-results p{overflow-wrap:anywhere}.device-game-results small{color:var(--muted,#aebccd)}.device-game-results summary{cursor:pointer;min-height:28px;padding:4px 0}.device-game-analysis .device-game-trigger{min-height:32px;padding:4px 8px;font-size:12px}.variation-device-eval{opacity:.9;white-space:nowrap;margin-left:3px;font-size:.68rem;font-weight:500}.variation-device-eval.noteworthy{color:#ffd598}.variation-move:has(.variation-device-eval){gap:2px}.studio-panel>.device-analysis-slot{overscroll-behavior:contain;flex-shrink:0;min-height:36px;max-height:calc(100% - 130px);padding:0 8px;overflow:auto}.studio-panel>.device-analysis-slot[hidden]{display:none}.studio-panel>.device-analysis-slot:has(iframe)~.studio-moves{min-height:130px}@media (pointer:coarse){.device-game-analysis .device-game-trigger,.device-game-results summary{min-height:44px}}.device-game-analysis{grid-template-columns:minmax(0,1fr) auto}.device-game-analysis>.device-game-trigger{grid-area:1/1}.device-game-analysis>iframe{grid-area:2/1/auto/-1}.device-game-analysis>.device-game-results{display:contents}.device-game-results>summary{grid-area:1/2;align-self:center;font-size:11px}.device-game-result-content{grid-area:4/1/auto/-1}.device-game-results:not([open])>.device-game-result-content{display:none}.device-game-analysis>:is(p,small){grid-column:1/-1}.device-statistics{border-top:1px solid #53657c;grid-area:3/1/auto/-1;gap:3px;padding-top:3px;font-size:11px;line-height:1.25;display:grid}.device-statistics-title{color:var(--muted,#b9c8d8)}.device-statistics-colors{grid-template-columns:auto minmax(0,1fr) minmax(0,1fr);gap:4px;display:grid}.device-statistics-colors>button{flex-wrap:wrap;align-items:baseline;gap:2px 5px;display:flex}.device-statistics-colors strong{font-variant-numeric:tabular-nums}.device-statistics-colors small{color:var(--muted,#b9c8d8);font-size:10px}.device-statistics-counts{font-variant-numeric:tabular-nums;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;font-size:10px;display:grid}.device-game-result-content .device-method{margin:0;font-size:11px;line-height:1.45}.variation-move[aria-current] .variation-device-eval{color:inherit;opacity:1}.device-statistics button{min-width:0;min-height:32px;color:inherit;font:inherit;text-align:left;cursor:pointer;overflow-wrap:anywhere;background:0 0;border:1px solid #0000;border-radius:4px;padding:3px 5px}.device-statistics button[aria-pressed=true]{color:#d8fff0;background:#203e39;border-color:#87cbb7}.device-statistics button:focus-visible{outline-offset:-2px;outline:2px solid #8bd2ff}.device-statistics button:disabled{opacity:.6;cursor:default}.device-statistics-counts>button{background:#ffffff06;border-color:#53657c66;justify-content:space-between;align-items:center;gap:3px;font-size:10px;line-height:1.2;display:flex}.device-statistics-counts>button[aria-pressed=true]{background:#203e39;border-color:#87cbb7}.device-statistics-counts>button:not(:disabled):hover{background:#ffffff10;border-color:#8baaba}.device-review-arrow{color:var(--muted,#b9c8d8);flex:none;font-size:16px;line-height:1}.device-statistics-counts>button:is(:hover,:focus-visible):not(:disabled) .device-review-arrow{color:inherit}.device-statistics-colors>[data-review-color=both]{align-items:center}.device-review-position{color:var(--ink,#edf5f8)}@media (pointer:coarse){.device-statistics button{min-height:44px}}.ex-app .device-statistics button[aria-pressed=true],.ex-app .device-statistics button[aria-pressed=true]:hover{color:#d8fff0;background:#203e39;border-color:#87cbb7}.device-practice-scope{flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:4px 8px;font-size:11px;line-height:1.35;display:flex}.device-practice-scope>span{flex:120px}.device-game-analysis .device-practice-scope .studio-button{flex:none;min-height:44px}.device-game-analysis:has(.device-practice-scope)>.device-practice-scope{grid-row:2}.device-game-analysis:has(.device-practice-scope)>iframe{grid-row:3}.device-game-analysis:has(.device-practice-scope)>.device-statistics{grid-row:4}.device-game-analysis:has(.device-practice-scope) .device-game-result-content{grid-row:5}.device-game-analysis>.device-learn-position{grid-area:4/1/auto/-1;min-height:44px;font-size:12px}.device-game-analysis:has(.device-learn-position) .device-game-result-content{grid-row:5}.device-game-analysis:has(.device-practice-scope)>.device-learn-position{grid-row:5}.device-game-analysis:has(.device-practice-scope):has(.device-learn-position) .device-game-result-content{grid-row:6}.studio-shell [data-testid=learning-composer]{min-width:0;margin:0}.studio-shell [data-testid=learning-composer]>.studio-button{min-height:44px}.studio-shell .learning-suggestion{margin:4px 0;font-size:12px}.studio-shell .learning-suggestion>summary{cursor:pointer;min-height:32px}.studio-shell .learning-suggestion p{overflow-wrap:anywhere;margin:4px 0}@media (pointer:coarse){.studio-shell .learning-suggestion>summary{min-height:44px}}.studio-shell:not(.trainer-shell)>:is(.studio-preview,.studio-opening-entry){display:none}.studio-shell .studio-workspace{padding:8px 12px}.studio-focus .studio-layout{max-width:1600px}.studio-shell .studio-document-header{flex-wrap:nowrap;min-height:44px}.studio-document-header h1{flex:1}.studio-shell .studio-document-actions{flex-wrap:nowrap;position:relative}.studio-shell .studio-responsive-actions{display:block;position:relative}.studio-shell .studio-responsive-actions>summary{cursor:pointer;min-height:44px;list-style:none;display:inline-flex}.studio-responsive-actions>summary::-webkit-details-marker{display:none}.studio-shell .studio-more-panel{z-index:30;border:1px solid var(--st-line);background:var(--st-panel);border-radius:8px;flex-direction:column;gap:6px;width:min(320px,100vw - 28px);max-height:calc(100dvh - 190px);padding:10px;display:flex;position:absolute;top:calc(100% + 6px);right:0;overflow:auto;box-shadow:0 12px 28px #0006}.studio-shell .studio-responsive-actions:not([open])>.studio-more-panel{display:none}.studio-more-panel>.studio-button{white-space:normal;flex-shrink:0;justify-content:flex-start;width:100%;min-height:44px}.studio-shell .studio-more-panel :is(.studio-actions-close,.studio-compact-opening){display:inline-flex}.studio-shell .studio-more-panel .studio-actions-help-label{display:inline}.studio-shell .studio-more-panel .studio-actions-help-icon{display:none}.studio-shell .studio-save-line{margin:1px 0 5px;line-height:14px}.studio-shell .studio-desk{grid-template-columns:minmax(0,1.35fr) minmax(290px,.85fr);gap:14px}.studio-shell .studio-board-caption{min-height:18px;margin-bottom:2px}.studio-shell .studio-board .board-frame{border-radius:3px;grid-template-rows:12px minmax(0,1fr) 12px;grid-template-columns:12px minmax(0,1fr) 12px;padding:0}.studio-shell .studio-board .board-coordinates.files{height:12px;left:0;right:0}.studio-shell .studio-board .board-coordinates.ranks{width:12px;top:0;bottom:0}.studio-shell .studio-board-controls{margin-top:4px}.studio-shell .studio-panel{border-radius:5px}.studio-shell .studio-edit-tools{padding-block:4px}.studio-shell .studio-result{padding-block:3px}.ex-app main{max-width:1600px;padding:8px 16px 24px}.ex-workspace-heading{justify-content:space-between;align-items:center;gap:12px;min-height:48px;margin-bottom:8px;display:flex}.ex-workspace-heading>div:first-child{align-items:baseline;gap:10px;min-width:0;display:flex}.ex-workspace-heading h1{font:650 20px/1.2 Inter,ui-sans-serif,system-ui,sans-serif}.ex-document-title{text-overflow:ellipsis;white-space:nowrap;color:#d2cbdf;min-width:0;max-width:30vw;font-size:13px;overflow:hidden}.ex-workspace-heading small{flex-shrink:0}.ex-workspace-actions{flex-shrink:0;gap:6px;display:flex}.ex-app .ex-layout{grid-template-columns:minmax(380px,min(58vw,100dvh - 186px)) minmax(310px,1fr);gap:16px}.ex-app .ex-board-column{top:calc(var(--portal-header-height) + 8px);position:sticky}.ex-app .ex-board .board-frame{border-radius:3px;grid-template-rows:12px minmax(0,1fr) 12px;grid-template-columns:12px minmax(0,1fr) 12px;padding:0}.ex-app .ex-board-controls{margin:4px 0 8px}.ex-app .ex-content{flex-direction:column;gap:8px;display:flex}.ex-workspace-tabs{border-bottom:1px solid #494159;gap:2px;display:flex}.ex-app .ex-workspace-tabs button{background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:1;min-width:0;padding:5px;font-size:12px}.ex-app .ex-workspace-tabs button[aria-pressed=true]{color:#baf5e2;background:#242a55;border-bottom-color:#6ee6c1;font-weight:700}.ex-workspace-pane{min-width:0}.ex-workspace-pane>*+*{margin-top:10px}.ex-notation{background:#1a182d;border:1px solid #494159;border-radius:5px;padding:6px 10px}.ex-notation .variation-lines{max-height:180px}.ex-app .ex-panel{border-radius:5px;gap:8px;padding:12px}.ex-app .ex-opening h2{font-size:14px}.ex-app .ex-opening h3{margin:6px 0;font-size:12px}.ex-app .ex-position-tools{border-bottom:1px solid #494159;font-size:12px}.ex-position-tools>summary{min-height:32px}.ex-board-options{flex-wrap:wrap;gap:6px;display:flex}.ex-app .ex-input{margin-top:6px}.ex-app .ex-sources{margin-top:24px}.ex-app .ex-message{padding:8px;font-size:12px}.ex-app .ex-annotations>summary{min-height:32px;font-size:12px}.ex-app .ex-game-detail{margin-top:8px}.studio-shell.trainer-shell .trainer-main{padding:8px 14px 20px}.studio-shell.trainer-shell .trainer-heading{flex-wrap:nowrap;align-items:center;gap:14px;margin-bottom:10px;display:flex}.trainer-room-identity{flex:1;min-width:0}.studio-shell.trainer-shell .trainer-heading h1{font-size:18px;line-height:23px}.studio-shell.trainer-shell .trainer-heading small{line-height:17px;display:block}.studio-shell.trainer-shell .trainer-context{border:0;flex:1;min-width:0;margin:0;padding:0;position:static}.studio-shell.trainer-shell .trainer-context>label{font-size:11px}.studio-shell.trainer-shell .trainer-context select{font-size:12px}.studio-shell.trainer-shell .trainer-body{grid-template-columns:minmax(380px,min(60vw,100dvh - 190px)) minmax(280px,1fr);gap:16px}.studio-shell.trainer-shell .trainer-board-surface{width:100%;min-width:0;max-width:none}.studio-shell.trainer-shell .trainer-side{border-radius:5px;padding:8px 12px}.studio-shell.trainer-shell .trainer-board-column{gap:4px}.studio-shell.trainer-shell .trainer-navigation{grid-template-columns:44px 44px 44px 44px minmax(100px,1fr);gap:4px;width:100%;display:grid}.studio-shell.trainer-shell .trainer-mode{font-size:11px;line-height:16px}.trainer-board-tools{width:100%}.trainer-board-tools>summary,.trainer-comment>summary{cursor:pointer;color:#baf5e2;align-items:center;min-height:36px;font-size:12px;display:flex}.trainer-board-tools>summary:before,.trainer-comment>summary:before{content:"▸";margin-right:7px}.trainer-board-tools[open]>summary:before,.trainer-comment[open]>summary:before{content:"▾"}.trainer-comment-preview{white-space:pre-wrap}@media (width>=901px) and (pointer:fine){.studio-shell .studio-workspace{padding-block:6px}.studio-shell .studio-workspace .studio-board-controls{min-height:32px}.studio-shell .studio-workspace .studio-icon-button{width:32px;height:32px}.studio-shell .studio-workspace .studio-navigation{grid-template-columns:32px 32px minmax(65px,1fr) 32px 32px}.studio-shell .studio-workspace .studio-navigation button{min-height:32px}}@media (width<=900px){.ex-app .ex-layout{grid-template-columns:minmax(300px,1.05fr) minmax(290px,1fr);gap:12px}.ex-workspace-heading>div:first-child{flex-wrap:wrap;gap:3px 8px}.ex-document-title{max-width:24vw}.studio-shell .studio-document-header{gap:4px}.studio-shell .studio-compact-views{margin-bottom:5px}.studio-shell.studio-board-with-moves .studio-desk{flex-direction:column;flex:none;min-height:0}.studio-shell.studio-board-with-moves .studio-board-column{flex:none}.studio-shell.studio-board-with-moves .studio-board{flex:none;height:min(100vw - 24px,560px);min-height:0}.studio-shell.studio-board-with-moves .studio-panel{flex:none;min-height:180px;max-height:330px;margin-top:10px;display:flex}.studio-board-with-moves .studio-moves{min-height:100px}.studio-shell.trainer-shell .trainer-heading{flex-wrap:wrap;gap:8px}.studio-shell.trainer-shell .trainer-context{flex-basis:100%;order:3}.studio-shell.trainer-shell .trainer-body{grid-template-columns:minmax(280px,1.1fr) minmax(270px,1fr)}}@media (width<=700px){.ex-app main{padding:6px 10px 20px}.ex-workspace-heading{flex-wrap:wrap;gap:4px}.ex-workspace-heading>div:first-child{width:100%}.ex-workspace-heading h1{font-size:17px}.ex-document-title{max-width:52vw;font-size:12px}.ex-workspace-actions{width:100%}.ex-workspace-actions button{flex:1;font-size:12px!important}.ex-app .ex-layout{grid-template-columns:1fr;gap:8px}.ex-app .ex-board-column{grid-row:1;max-width:520px;position:static}.ex-app .ex-content{grid-row:2}.ex-notation .variation-lines{max-height:180px}.ex-app .ex-workspace-tabs{top:var(--portal-header-height);z-index:5;background:#141421;position:sticky}.studio-shell.trainer-shell .trainer-body{flex-direction:column;gap:8px;display:flex}.studio-shell.trainer-shell .trainer-side{width:100%}.studio-shell.trainer-shell .trainer-heading h1{font-size:17px}.studio-shell.trainer-shell .trainer-heading small{font-size:10px}.studio-shell.trainer-shell .trainer-main{padding-inline:10px}.studio-shell.trainer-shell .trainer-context{margin-top:0}.studio-shell.trainer-shell .trainer-board-surface{max-width:520px}}@media (pointer:coarse){.ex-app :is(.ex-position-tools,.ex-annotations)>summary,.trainer-board-tools>summary,.trainer-comment>summary{min-height:44px}}.ex-app button.ex-active-filter{text-align:left;color:#baf5e2;background:0 0;border:0;min-height:28px;padding:3px 0;font-size:12px}@media (pointer:coarse){.ex-app button.ex-active-filter{min-height:44px}}@media (width<=1100px){.studio-shell .portal-header.topbar .top-actions .focus-mode-button{display:none}}@media (width>=1101px){.studio-shell .studio-document-actions .studio-mobile-library{display:none}}
