.ffpro-board-studio{--bs-panel:var(--fp-card);--bs-line:var(--fp-line);--bs-text:var(--fp-text);--bs-muted:var(--fp-muted);display:grid;grid-template-rows:58px minmax(0,1fr) 112px;height:850px;max-height:92dvh;border:1px solid var(--bs-line);border-radius:10px;background:var(--bs-panel);color:var(--bs-text);overflow:hidden;font:12px Arial,Helvetica,sans-serif}.ffpro-board-studio.is-focus{position:fixed;inset:0;z-index:9990;height:auto;max-height:none;border:0;border-radius:0}.admin-bar .ffpro-board-studio.is-focus{top:32px}body.ffpro-board-open{overflow:hidden}.ffpro-board-studio *{box-sizing:border-box}.ffpro-board-studio [hidden]{display:none!important}.ffpro-board-studio button,.ffpro-board-studio input,.ffpro-board-studio select{font:inherit}.ffpro-board-studio button{border:1px solid var(--bs-line);background:var(--fp-raised);color:var(--bs-text);padding:8px 10px;border-radius:5px;cursor:pointer;line-height:1.2;white-space:nowrap}.ffpro-board-studio button:hover{border-color:#588c60;background:var(--bs-panel)}.ffpro-board-studio button:disabled{opacity:.38;cursor:default}.ffpro-board-studio button.ffpro-button{background:#08764b;border-color:#08764b;color:#fff;font-weight:700;padding:9px 17px}.ffpro-board-studio :focus-visible{outline:2px solid #9ed331;outline-offset:2px}.ffpro-board-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 15px;border-bottom:1px solid var(--bs-line);min-width:0}.ffpro-studio-identity{display:flex;align-items:center;gap:11px;min-width:0}.ffpro-studio-identity>div{min-width:0}.ffpro-studio-back{display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--bs-line);border-radius:5px;text-decoration:none;font-size:20px;flex-shrink:0}.ffpro-board-header .ffpro-label{font-size:8px;letter-spacing:.12em}.ffpro-board-studio .ffpro-board-header h3{font-size:14px;margin:4px 0 0;max-width:420px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ffpro-studio-header-actions{display:flex;align-items:center;gap:7px;flex-shrink:0}.ffpro-save-state{font-size:10px;color:var(--bs-muted);margin-right:8px}.ffpro-save-state.is-dirty{color:#af8d16}.ffpro-board-editing{border:0;margin:0;padding:0;min-width:0;min-height:0;overflow:hidden}.ffpro-board-workbench{height:100%;display:grid;grid-template-columns:68px minmax(0,1fr) 224px;min-height:0}.ffpro-board-tools{padding:7px 5px;display:flex;flex-direction:column;gap:3px;overflow:auto;background:var(--bs-panel);border-right:1px solid var(--bs-line);min-height:0;scrollbar-width:thin}.ffpro-board-tools button{display:grid;place-items:center;gap:3px;padding:7px 2px;min-height:48px;border-color:transparent;background:transparent;flex-shrink:0;border-radius:5px}.ffpro-board-tools button span{font-size:8px;font-weight:600}.ffpro-board-tools button[aria-pressed=true]{background:#b9ff2c;color:#143823;border-color:#8ac42d;box-shadow:inset 0 0 0 1px #b9ff2c}.ffpro-board-tools button[data-board-add=away] svg{color:#d46b50}.ffpro-tool-divider{height:1px;background:var(--bs-line);margin:4px 7px;flex-shrink:0}.ffpro-board-stage{display:grid;grid-template-rows:42px minmax(0,1fr) 25px;min-width:0;min-height:0;background:#071d16;position:relative}.ffpro-board-stagebar{display:flex;align-items:center;gap:12px;padding:5px 10px;border-bottom:1px solid #2c4636;color:#cadccf;min-width:0}.ffpro-field-picker{display:flex;align-items:center;gap:6px;flex-shrink:0}.ffpro-field-picker>span{font-size:9px;color:#91ac99}.ffpro-board-stagebar select{border:1px solid #375842;color:#e2eee5;background:#112f22;padding:5px 7px;border-radius:4px;font-size:11px}.ffpro-tool-state{font-size:10px;color:#9bb3a1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.ffpro-board-zoom-tools{display:flex;align-items:center;gap:4px;margin-left:auto}.ffpro-board-zoom-tools button{border-color:#2d4a38;color:#cfe1d3;background:#102b1e;padding:5px 8px;font-size:11px}.ffpro-board-zoom-tools output{width:36px;text-align:center;font-size:10px;color:#c9d9cc}.ffpro-board-viewport{overflow:auto;position:relative;min-width:0;min-height:0;background:radial-gradient(ellipse at center,#163b28,#071c14 85%);overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#486b4e #10281a}.ffpro-board-surface{display:grid;place-items:center;min-width:100%;min-height:100%}.ffpro-board-viewport canvas{display:block;max-width:none!important;touch-action:none;outline:0;border:0;border-radius:3px;box-shadow:0 10px 45px #0007;flex-shrink:0}.ffpro-board-viewport canvas[data-tool=hand]{cursor:grab}.ffpro-board-viewport canvas.is-panning{cursor:grabbing}.ffpro-board-viewport canvas[data-tool=stamp]{cursor:crosshair}.ffpro-board-statusbar{display:flex;align-items:center;justify-content:space-between;padding:5px 10px;gap:12px;background:#0c251a;border-top:1px solid #263d2b;color:#8ba894;font-size:9px;min-width:0}.ffpro-board-statusbar [data-board-status]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ffpro-board-statusbar [data-board-count]{flex-shrink:0}.ffpro-board-properties{padding:13px 12px;display:flex;flex-direction:column;gap:11px;min-width:0;overflow:auto;border-left:1px solid var(--bs-line);font-size:11px;scrollbar-width:thin}.ffpro-inspector-heading{display:flex;flex-direction:column;gap:7px}.ffpro-inspector-heading .ffpro-label{font-size:9px}.ffpro-inspector-heading output{font-size:11px;font-weight:700}.ffpro-board-properties label{display:grid;gap:5px}.ffpro-board-properties input,.ffpro-board-properties select{min-width:0;width:100%;padding:7px 8px;border:1px solid var(--bs-line);background:var(--fp-raised);border-radius:4px;color:var(--bs-text)}.ffpro-board-properties select[multiple]{min-height:98px;font-size:10px;line-height:1.7}.ffpro-board-properties .ffpro-board-multi{display:flex;align-items:center;gap:8px;font-size:10px}.ffpro-board-multi input{width:15px;height:15px;flex-shrink:0}.ffpro-board-selection-tools,.ffpro-board-numbers,.ffpro-board-layers{display:grid;grid-template-columns:1fr 1fr;gap:5px}.ffpro-board-properties button{font-size:10px;padding:7px 5px;white-space:normal;min-height:29px}.ffpro-board-nudge{display:flex;gap:5px}.ffpro-board-nudge button{flex:1}.ffpro-board-properties .ffpro-inspector-help{font-size:10px;line-height:1.6;color:var(--bs-muted);margin:0}.ffpro-board-editing:disabled .ffpro-board-tools,.ffpro-board-editing:disabled .ffpro-board-properties{opacity:.5}.ffpro-board-editing:disabled canvas{cursor:default}.ffpro-animation-editor{padding:9px 15px;border-top:1px solid var(--bs-line);display:grid;grid-template-rows:35px 36px;gap:9px;overflow:hidden;background:var(--bs-panel)}.ffpro-animation-framebar,.ffpro-animation-view{display:flex;align-items:center;gap:7px;min-width:0}.ffpro-animation-framebar>.ffpro-label{font-size:8px;letter-spacing:.1em;margin-right:8px}.ffpro-frame-chips{display:flex;gap:5px;flex:1;overflow:auto;min-width:40px;scrollbar-width:thin}.ffpro-frame-chips button{width:42px;height:30px;flex-shrink:0;position:relative;font-size:10px;border-color:var(--bs-line)}.ffpro-frame-chips button[aria-current=true]{border-color:#8fbe3c;background:#c0ed79;color:#173c28;font-weight:700}.ffpro-frame-select-label{display:flex;align-items:center;gap:5px;color:var(--bs-muted);font-size:10px}.ffpro-frame-select-label select{padding:6px;border:1px solid var(--bs-line);background:var(--fp-raised);color:var(--bs-text);border-radius:4px;max-width:115px}.ffpro-animation-framebar>button{font-size:10px}.ffpro-animation-view button{min-width:60px;font-size:11px}.ffpro-seek-label{display:flex;flex:1;min-width:20px}.ffpro-seek-label input,.ffpro-animation-view input[type=range]{width:100%;min-width:0;accent-color:#08764b}.ffpro-animation-view output{font-size:10px;color:var(--bs-muted);min-width:100px}.ffpro-duration-label{display:flex;align-items:center;gap:6px;white-space:nowrap;color:var(--bs-muted);font-size:10px}.ffpro-duration-label input{width:55px;border:1px solid var(--bs-line);background:var(--fp-raised);color:var(--bs-text);padding:5px;border-radius:3px}.ffpro-video-progress{position:absolute;inset:0;background:#061a14d9;z-index:10;display:grid;place-items:center;backdrop-filter:blur(4px)}.ffpro-video-progress>div{width:min(400px,90%);padding:28px;background:var(--bs-panel);border:1px solid var(--bs-line);border-radius:10px}.ffpro-video-progress strong{font-size:18px}.ffpro-video-progress p{font-size:12px;line-height:1.6;color:var(--bs-muted)}.ffpro-video-progress progress{width:100%;accent-color:#08764b;margin-bottom:15px}.ffpro-board-preview{margin:15px 0;padding:12px;border:1px solid var(--fp-line);border-radius:10px;background:var(--fp-card);max-width:900px}.ffpro-board-preview canvas{display:block;width:100%;height:auto;border-radius:4px}.ffpro-board-preview figcaption{font-size:11px;color:var(--fp-muted);padding-top:8px}.ffpro-board-preview textarea[hidden]{display:none}.ffpro-board-preview .ffpro-animation-view{display:flex;flex-wrap:wrap;margin-top:10px}.ffpro-board-preview .ffpro-animation-view label{display:grid;flex:1;min-width:100px;font-size:11px}.ffpro-board-preview .ffpro-animation-view button{padding:7px;background:var(--fp-raised);color:var(--fp-text);border:1px solid var(--fp-line);border-radius:4px}.ffpro-board-preview .ffpro-animation-view output{color:var(--fp-muted)}@media(max-width:1100px){.ffpro-board-workbench{grid-template-columns:62px minmax(0,1fr)}.ffpro-board-properties{display:none;position:absolute;right:0;top:58px;bottom:112px;width:240px;background:var(--bs-panel);z-index:5;box-shadow:-10px 0 25px #0003}.ffpro-board-studio.is-inspecting .ffpro-board-properties{display:flex}.ffpro-board-header .ffpro-save-state{display:none}.ffpro-tool-state{display:none}.ffpro-studio-header-actions{gap:4px}.ffpro-board-studio .ffpro-board-header h3{max-width:260px}.ffpro-board-studio .ffpro-board-header button{font-size:10px;padding:8px}.ffpro-field-picker>span{display:none}}@media(max-width:700px){.admin-bar .ffpro-board-studio.is-focus{top:46px}.ffpro-board-studio{grid-template-rows:58px minmax(0,1fr) 132px;min-height:400px}.ffpro-board-workbench{grid-template-columns:1fr;grid-template-rows:53px minmax(0,1fr)}.ffpro-board-tools{flex-direction:row;overflow-x:auto;overflow-y:hidden;padding:3px 6px;border-right:0;border-bottom:1px solid var(--bs-line);gap:3px}.ffpro-board-tools button{min-height:43px;width:45px;min-width:45px;padding:3px 2px;gap:2px}.ffpro-board-tools button svg{height:21px;width:21px}.ffpro-board-tools button span{font-size:7px}.ffpro-tool-divider{height:30px;width:1px;margin:5px 2px}.ffpro-board-header{padding:8px;gap:6px}.ffpro-studio-identity{gap:6px;flex:1}.ffpro-board-header .ffpro-label{display:none}.ffpro-board-studio .ffpro-board-header h3{max-width:130px;font-size:11px;white-space:normal;line-height:1.2;max-height:28px}.ffpro-studio-back{width:25px;height:28px}.ffpro-studio-header-actions{gap:3px}.ffpro-board-studio .ffpro-board-header button{font-size:9px;padding:7px 6px}.ffpro-studio-header-actions [data-board-command=focus]{display:none}.ffpro-board-stage{grid-template-rows:37px minmax(0,1fr) 23px}.ffpro-board-stagebar{padding:4px 5px;gap:4px}.ffpro-board-stagebar select{font-size:9px;max-width:108px;padding:5px 3px}.ffpro-board-zoom-tools{gap:2px}.ffpro-board-zoom-tools button{font-size:9px;padding:5px 6px}.ffpro-board-zoom-tools output{font-size:9px;width:30px}.ffpro-board-zoom-tools [data-board-command=grid]{display:none}.ffpro-board-properties{top:111px;bottom:132px;width:240px}.ffpro-animation-editor{padding:6px 8px;grid-template-rows:36px 70px;gap:5px}.ffpro-animation-framebar{gap:5px}.ffpro-animation-framebar>.ffpro-label{display:none}.ffpro-frame-select-label{display:none}.ffpro-animation-framebar>button{font-size:9px;padding:7px 6px}.ffpro-frame-chips button{width:34px}.ffpro-animation-view{display:grid;grid-template-columns:auto auto auto minmax(80px,1fr);gap:5px}.ffpro-animation-view button{min-width:0;font-size:10px;padding:7px 8px}.ffpro-animation-view .ffpro-seek-label{grid-row:2;grid-column:1/4}.ffpro-animation-view output{grid-row:2;grid-column:4;min-width:0;text-align:right;font-size:8px}.ffpro-duration-label{font-size:8px;gap:3px;justify-self:end}.ffpro-duration-label input{width:40px;padding:5px 2px;font-size:10px}.ffpro-board-statusbar{font-size:8px;padding:5px 6px}}
.ffpro-board-tools button span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ffpro-board-viewport canvas:focus-visible{outline:1px solid #b3dd74;outline-offset:3px}
@media(min-width:701px) and (max-width:782px){.admin-bar .ffpro-board-studio.is-focus{top:46px}}
.ffpro-formation-panel{border:1px solid var(--bs-line);padding:8px;border-radius:5px}.ffpro-formation-panel summary{cursor:pointer;font-weight:700;font-size:11px}.ffpro-formation-panel[open]{display:grid;gap:8px}.ffpro-formation-panel label{margin-top:8px}.ffpro-formation-panel button{width:100%;margin-top:8px}.ffpro-formation-panel small{display:block;color:var(--bs-muted);font-size:9px;line-height:1.5;margin-top:8px}.ffpro-board-tools button[data-board-add=keeperhome] svg{color:#f4bc48}.ffpro-board-tools button[data-board-add=keeperaway] svg{color:#65c6ec}
.ffpro-tool-category select{width:100%;min-width:0;border:1px solid var(--bs-line);background:var(--fp-raised);color:var(--bs-text);border-radius:4px;font-size:8px;padding:5px 1px}.ffpro-tool-category{flex-shrink:0}@media(max-width:700px){.ffpro-tool-category{width:66px;display:grid;align-items:center;margin-right:3px}.ffpro-tool-category select{font-size:9px;padding:7px 2px}}
.ffpro-roster-panel [data-roster-status]{font-size:9px;line-height:1.5;color:var(--bs-muted);margin:8px 0 0}.ffpro-roster-panel select{max-width:100%}
.ffpro-abp-intro{margin-bottom:16px}.ffpro-abp-create{margin-bottom:20px}.ffpro-abp-checkbox{display:flex!important;align-items:center;gap:9px;line-height:1.6}.ffpro-abp-checkbox input{width:18px!important;height:18px}.ffpro-abp-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.ffpro-abp-item .ffpro-board-preview{margin:10px 0;padding:0;border:0}.ffpro-abp-item .ffpro-actions{flex-wrap:wrap;gap:12px;font-size:12px}.ffpro-abp-item p{overflow-wrap:anywhere}.ffpro-abp-filters select{padding:9px;background:var(--fp-card);border:1px solid var(--fp-line);color:var(--fp-text);border-radius:5px}.ffpro-abp-save-link{padding:9px;border:1px solid var(--bs-line);border-radius:4px;text-align:center;font-size:10px;text-decoration:none}@media(max-width:800px){.ffpro-abp-library{grid-template-columns:1fr}.ffpro-abp-filters{flex-wrap:wrap}}

.ffpro-animation-view .ffpro-playback-rate,.ffpro-animation-view .ffpro-playback-loop{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px}.ffpro-playback-rate select{width:76px;min-width:0}.ffpro-playback-loop input{width:auto;margin:0}
@media(max-width:700px){.ffpro-board-studio{grid-template-rows:58px minmax(0,1fr) 180px}.ffpro-board-properties{bottom:180px}.ffpro-animation-editor{grid-template-rows:36px auto}.ffpro-animation-framebar{overflow-x:auto}.ffpro-animation-framebar>button{flex-shrink:0}.ffpro-frame-chips{min-width:34px}.ffpro-animation-view{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:30px}.ffpro-animation-view .ffpro-playback-rate{grid-row:2;grid-column:1/3}.ffpro-animation-view .ffpro-playback-loop{grid-row:2;grid-column:3}.ffpro-animation-view .ffpro-seek-label{grid-row:3;grid-column:1/3}.ffpro-animation-view output{grid-row:3;grid-column:3}.ffpro-duration-label{grid-row:4;grid-column:1/4}.ffpro-animation-view .ffpro-playback-rate,.ffpro-animation-view .ffpro-playback-loop{font-size:10px}}

.ffpro-motion-panel{border:1px solid #72d8ff66;border-radius:4px;padding:8px;margin:6px 0;min-width:0}.ffpro-motion-panel legend{font-size:11px;color:#72d8ff}.ffpro-motion-panel label{font-size:11px}.ffpro-motion-panel input[type=checkbox]{width:auto}.ffpro-motion-panel small{font-size:10px;line-height:1.4;display:block}.ffpro-motion-panel [data-motion-controls]{display:grid;grid-template-columns:1fr 1fr;gap:6px}.ffpro-motion-panel[hidden],.ffpro-motion-panel [hidden]{display:none!important}
.ffpro-motion-panel>label{display:flex!important;flex-direction:row!important;align-items:center;justify-content:flex-start;gap:7px}.ffpro-motion-panel input[type=checkbox]{margin:0;flex:0 0 auto}

.ffpro-presentation-header{display:none}.ffpro-board-studio.is-presenting{grid-template-rows:64px minmax(0,1fr) 64px}.is-presenting .ffpro-board-header,.is-presenting .ffpro-board-tools,.is-presenting .ffpro-board-properties,.is-presenting .ffpro-board-stagebar,.is-presenting .ffpro-board-statusbar,.is-presenting .ffpro-animation-framebar,.is-presenting [data-animation-edit],.is-presenting .ffpro-duration-label{display:none!important}.is-presenting .ffpro-presentation-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 18px;background:var(--bs-panel);border-bottom:1px solid var(--bs-line);min-width:0}.ffpro-presentation-header>div{display:flex;flex-direction:column;gap:4px;min-width:0}.ffpro-presentation-header strong{color:var(--bs-text);font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ffpro-presentation-header .ffpro-label{font-size:9px}.ffpro-presentation-header button{flex-shrink:0}.ffpro-presentation-help{font-size:11px;color:var(--bs-muted)}.is-presenting .ffpro-board-workbench{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.is-presenting .ffpro-board-stage{grid-template-rows:minmax(0,1fr)}.is-presenting .ffpro-animation-editor{display:flex;align-items:center}.is-presenting .ffpro-animation-view{width:100%}.is-presenting canvas{cursor:default!important}
@media(max-width:700px){.ffpro-board-studio.is-presenting{grid-template-rows:60px minmax(0,1fr) 110px}.is-presenting .ffpro-presentation-header{padding:8px;gap:8px}.ffpro-presentation-header strong{font-size:11px}.ffpro-presentation-header .ffpro-label{font-size:8px}.ffpro-presentation-header button{font-size:10px}.ffpro-presentation-help{display:none}.is-presenting .ffpro-animation-view{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:28px}.is-presenting [data-animation-play]{grid-row:1;grid-column:1}.is-presenting [data-animation-stop]{grid-row:1;grid-column:2}.is-presenting .ffpro-playback-loop{grid-row:1;grid-column:3}.is-presenting .ffpro-playback-rate{grid-row:2;grid-column:1/4}.is-presenting .ffpro-seek-label{grid-row:3;grid-column:1/3}.is-presenting .ffpro-animation-view output{grid-row:3;grid-column:3}}

.ffpro-arrange-buttons{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:10px 0}.ffpro-arrange-buttons button{white-space:normal;min-height:36px;font-size:12px}.ffpro-arrange-panel small{display:block;line-height:1.5}

.ffpro-field-dialog{color:var(--bs-text,#e5f1e9);background:var(--bs-panel,#122f23);border:1px solid var(--bs-line,#335242);border-radius:12px;padding:24px;max-width:520px;width:calc(100% - 32px);max-height:calc(100dvh - 48px);overflow:auto;box-shadow:0 24px 90px #0008}.ffpro-field-dialog::backdrop{background:#001a10b8}.ffpro-field-dialog h2{font-size:22px;line-height:1.3;margin:0 0 12px}.ffpro-field-dialog p{line-height:1.6}.ffpro-field-dialog-actions{display:flex;flex-direction:column;gap:10px;margin:20px 0}.ffpro-field-dialog-actions button{min-height:44px;white-space:normal}.ffpro-field-dialog small{font-size:12px}

.ffpro-palette-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}.ffpro-palette-grid input[type=color]{height:36px;width:100%;padding:2px;cursor:pointer}
