.history-view-bar{position:fixed;bottom:calc(var(--editor-footer-height) + 16px);left:calc((100vw - min(760px, 100vw - 28px)) / 2);z-index:46;display:grid;grid-gap:10px;gap:10px;width:min(760px,calc(100vw - 28px));padding:12px 16px 14px;color:#584027;background:rgba(254,252,250,.98);border:1px solid #dacbbb;border-radius:12px;box-shadow:0 14px 38px rgba(74,53,30,.2);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.history-view-head.movable{cursor:-webkit-grab;cursor:grab;touch-action:none}.history-view-bar.moving,.history-view-bar.moving .history-view-head.movable{cursor:-webkit-grabbing;cursor:grabbing}.history-view-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.history-view-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}.history-view-heading strong{font-size:15px;font-weight:800}.history-view-heading span{font-size:12px;color:#8a7560}.history-view-head .panel-header-actions button{display:grid;width:30px;height:30px;place-items:center;color:inherit;background:transparent;border:0;border-radius:7px;cursor:pointer}.history-view-head .guide-help-link:hover,.history-view-head .panel-header-actions button:hover{background:#f3ece2}.history-view-slider{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;grid-gap:8px;gap:8px}.history-view-slider>button{display:grid;width:32px;height:32px;place-items:center;color:#745e48;background:#fff;border:1px solid #d8c8b7;border-radius:999px;cursor:pointer}.history-view-slider>button:disabled{cursor:default;opacity:.4}.history-view-slider .range-control{height:32px}.history-view-slider input[type=range]:focus-visible{outline:2px solid #d07313;outline-offset:4px;border-radius:999px}.history-view-state{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 14px;font-size:13px}.history-view-state strong{font-weight:800}.history-view-facts{display:flex;flex-wrap:wrap;gap:4px 14px;color:#8a7560}.history-view-facts .current{color:#2a8f57;font-weight:700}.history-view-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.history-view-actions button{display:inline-flex;min-height:34px;padding:0 13px;align-items:center;gap:7px;border:1px solid #d8c8b7;border-radius:7px;font-size:12px;font-weight:700;cursor:pointer}.history-view-actions .secondary{color:#745e48;background:white}.history-view-actions .primary{color:white;background:#cc7011;border-color:#b35f07}.history-view-actions button:disabled{cursor:default;opacity:.55}.history-view-actions .delete-history{margin-right:auto;color:#a33a2a;background:white;border-color:#e3bdb4}.history-view-actions .delete-history:hover:not(:disabled){background:#fdf1ee}.history-view-confirm{display:grid;grid-gap:6px;gap:6px;margin-bottom:10px;padding:10px 12px;color:#6b2a1f;background:#fdf1ee;border:1px solid #e3bdb4;border-radius:8px}.history-view-confirm p{margin:0;font-size:12px;line-height:1.45}.history-view-confirm-actions{display:flex;justify-content:flex-end;gap:8px}.history-view-confirm-actions button{display:inline-flex;min-height:34px;padding:0 13px;align-items:center;gap:7px;border:1px solid #d8c8b7;border-radius:7px;font-size:12px;font-weight:700;cursor:pointer}.history-view-confirm-actions .secondary{color:#745e48;background:white}.history-view-confirm-actions .danger{color:white;background:#b4402e;border-color:#962f1f}.history-view-spinner{animation:history-view-spin .9s linear infinite}@keyframes history-view-spin{to{transform:rotate(1turn)}}.layerling-editor.history-view-active .outliner-panel,.layerling-editor.history-view-active .tool-group .toolbar-section:not([data-group=history]),.layerling-editor.history-view-active .toolbar-section[data-group=history] .toolbar-icon:not(.active),.layerling-editor.history-view-active .toolbar-title-row-actions{pointer-events:none;opacity:.45}.layerling-editor.history-view-active :is(.action-icon-button,.toolbar-workspace-tabs button):disabled{cursor:default;opacity:.45}@media (max-width:640px){.history-view-bar{left:8px;width:calc(100vw - 16px);padding:10px 12px 12px}.history-view-state{flex-direction:column}.history-view-actions button{flex:1 1 auto;justify-content:center}}html[data-theme=dark] .history-view-bar{color:#ede4d4;background:rgba(40,30,20,.97);border-color:#5b4b3a;box-shadow:0 14px 38px rgba(0,0,0,.34)}html[data-theme=dark] .history-view-facts,html[data-theme=dark] .history-view-heading span{color:#b9a68f}html[data-theme=dark] .history-view-facts .current{color:#5fd394}html[data-theme=dark] .history-view-head .guide-help-link:hover,html[data-theme=dark] .history-view-head .panel-header-actions button:hover{background:#3f3022}html[data-theme=dark] .history-view-actions .secondary,html[data-theme=dark] .history-view-inside button,html[data-theme=dark] .history-view-slider>button{color:#f0e7d9;background:#413121;border-color:#65503b}html[data-theme=dark] .history-view-slider .range-control input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(to right,#e0862a 0 var(--slider-pos),#5b4b3a var(--slider-pos) 100%)}html[data-theme=dark] .history-view-slider .range-control input[type=range]::-moz-range-track{background:#5b4b3a}html[data-theme=dark] .history-view-slider .range-control input[type=range]::-moz-range-progress{background:#e0862a}.history-view-inside{display:flex;align-items:center;gap:8px;padding:6px 10px;font-size:13px;font-weight:700;color:#0b6f96;background:#e6f6fc;border:1px solid #a9dcef;border-radius:8px}.history-view-inside>span{flex:1 1;min-width:0}.history-view-inside button{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 10px;font:inherit;font-weight:700;color:#745e48;background:#fff;border:1px solid #d8c8b7;border-radius:999px;cursor:pointer}html[data-theme=dark] .history-view-inside{color:#8fdaf5;background:rgba(0,174,234,.12);border-color:rgba(0,174,234,.4)}.my-shapes-section{border-bottom:1px solid #efe7d9;background:#fffdf9}.my-shapes-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px 8px 8px}.my-shapes-toggle{display:inline-flex;align-items:center;gap:6px;padding:4px 6px;color:#604529;background:transparent;border:0;border-radius:4px;cursor:pointer;font-size:14px;font-weight:800}.my-shapes-toggle:hover{background:#f6efe4}.my-shapes-toggle svg{width:16px;height:16px}.my-shapes-count{min-width:20px;padding:1px 6px;color:#6b4f30;background:#efe4d3;border-radius:999px;font-size:12px;text-align:center}.my-shapes-actions{display:flex;align-items:center;gap:4px}.my-shapes-icon-button,.my-shapes-name-form button,.my-shapes-save-button{display:inline-flex;height:30px;align-items:center;justify-content:center;gap:5px;padding:0 10px;color:#5c442c;background:#fbfaf8;border:1px solid #dccdbe;border-radius:4px;cursor:pointer;font-size:13px;font-weight:700}.my-shapes-icon-button{width:30px;padding:0}.my-shapes-icon-button svg,.my-shapes-save-button svg{width:16px;height:16px}.my-shapes-icon-button:hover:not(:disabled),.my-shapes-name-form button:hover:not(:disabled),.my-shapes-save-button:hover:not(:disabled){background:#fff;border-color:#c9b49c}.my-shapes-icon-button:disabled,.my-shapes-save-button:disabled{cursor:default;opacity:.45}.my-shapes-body{padding:0 8px 8px}.my-shapes-body .my-shapes-list{padding:0}.my-shapes-empty{margin:0;padding:2px 8px 6px;color:#7b6249;font-size:13px;line-height:1.4}.my-shapes-name-form{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:0 0 8px}.my-shapes-name-form label{color:#6b4f30;font-size:13px;font-weight:700}.my-shape-rename input,.my-shapes-folder-rename input,.my-shapes-name-form input{flex:1 1 100px;min-width:0;height:30px;padding:0 8px;color:#3f2e1c;background:#fff;border:1px solid #cdb9a2;border-radius:4px;font-size:14px}.my-shapes-name-form button[type=submit]{color:#fff;background:#a8662a;border-color:#a8662a}.my-shapes-name-form button[type=submit]:hover:not(:disabled){background:#94571f;border-color:#94571f}.my-shape-tile{position:relative;min-width:0}.my-shape-tile .shape-menu-item{width:100%}.my-shape-no-preview,.my-shape-rename img,.my-shape-tile .shape-menu-item img{width:48px;height:48px;object-fit:contain}.my-shape-no-preview{flex:0 0 auto;display:block;background:#f1eadf;border-radius:6px}.my-shape-tile-actions{position:absolute;top:50%;right:6px;display:flex;gap:2px;padding:3px;background:rgba(255,255,255,.94);border-radius:6px;transform:translateY(-50%);opacity:0;transition:opacity .12s ease}.my-shape-tile-actions:has(.danger),.my-shape-tile:focus-within .my-shape-tile-actions,.my-shape-tile:hover .my-shape-tile-actions{opacity:1}@media (hover:none){.my-shape-tile-actions{opacity:1}.my-shape-tile .shape-menu-item{padding-right:62px}.my-shape-tile .shape-menu-item:has(+.my-shape-tile-actions[data-count="3"]){padding-right:90px}.my-shape-tile .shape-menu-item:has(+.my-shape-tile-actions[data-count="4"]){padding-right:118px}.my-shapes-folder-actions{opacity:1}.my-shapes-folder-toggle{padding-right:90px}}.my-shape-tile-action{display:inline-flex;min-width:26px;height:26px;align-items:center;justify-content:center;padding:0 5px;color:#6b4f30;background:#fff;border:1px solid #e3d6c6;border-radius:4px;cursor:pointer;font-size:12px;font-weight:800}.my-shape-tile-action svg{width:14px;height:14px}.my-shape-tile-action:hover{border-color:#c9b49c}.my-shape-tile-action.danger{color:#fff;background:#b42318;border-color:#b42318}.my-shapes-location{display:inline-flex;overflow:hidden;border:1px solid #dccdbe;border-radius:4px}.my-shapes-name-form .my-shapes-location button{height:28px;border:0;border-radius:0;font-weight:700}.my-shapes-name-form .my-shapes-location button+button{border-left:1px solid #dccdbe}.my-shapes-name-form .my-shapes-location button.active{color:#fff;background:#7d6245}.my-shapes-group+.my-shapes-group{margin-top:8px}.my-shapes-group-title{padding:0 4px 4px;color:#8a6d4c;font-size:12px;font-weight:800}.my-shape-rename{display:flex;min-height:58px;align-items:center;gap:8px;padding:5px 6px 5px 7px;background:#fff;border:1px solid #dccdbe;border-radius:4px}.my-shapes-folder+.my-shapes-folder{margin-top:2px}.my-shapes-folder+.my-shapes-list{margin-top:6px}.my-shapes-folder-header{position:relative;display:flex;min-height:34px;align-items:center}.my-shapes-folder-toggle{display:flex;flex:1 1 auto;min-width:0;min-height:34px;align-items:center;gap:6px;padding:4px 6px;color:#604529;background:transparent;border:0;border-radius:4px;cursor:pointer;font-size:13px;font-weight:700;text-align:left}.my-shapes-folder-toggle:hover{background:#f6efe4}.my-shapes-folder-rename>svg,.my-shapes-folder-toggle svg{flex:0 0 auto;width:16px;height:16px}.my-shapes-folder-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.my-shapes-folder-actions{position:absolute;top:50%;right:4px;display:flex;gap:2px;transform:translateY(-50%);opacity:0;transition:opacity .12s ease}.my-shapes-folder-actions:has(.danger),.my-shapes-folder-header:focus-within .my-shapes-folder-actions,.my-shapes-folder-header:hover .my-shapes-folder-actions{opacity:1}.my-shapes-folder-rename{display:flex;flex:1 1 auto;align-items:center;gap:6px;padding:2px 4px 2px 6px;color:#604529}.my-shapes-folder-body{margin:2px 0 6px 14px}.my-shape-move-select,.my-shapes-folder-select{height:30px;max-width:100%;padding:0 6px;color:#3f2e1c;background:#fff;border:1px solid #cdb9a2;border-radius:4px;font-size:13px}.my-shape-move-select{height:26px;max-width:150px;font-size:12px}.my-shapes-form-problem{flex:1 0 100%;color:#b42318;font-size:12px}html[data-theme=dark] .my-shapes-section{background:rgba(52,40,28,.6);border-color:#594a3a}html[data-theme=dark] .my-shapes-name-form label,html[data-theme=dark] .my-shapes-toggle{color:#f0e7d9}html[data-theme=dark] .my-shapes-toggle:hover{background:#463625}html[data-theme=dark] .my-shapes-count{color:#f0e7d9;background:#5b4733}html[data-theme=dark] .my-shapes-empty{color:#cdbca6}html[data-theme=dark] .my-shape-rename,html[data-theme=dark] .my-shape-tile-action,html[data-theme=dark] .my-shapes-icon-button,html[data-theme=dark] .my-shapes-name-form button,html[data-theme=dark] .my-shapes-save-button{color:#ede4d4;background:#3a2c1f;border-color:#5b4b3a}html[data-theme=dark] .my-shape-tile-action:hover,html[data-theme=dark] .my-shapes-icon-button:hover:not(:disabled),html[data-theme=dark] .my-shapes-name-form button:hover:not(:disabled),html[data-theme=dark] .my-shapes-save-button:hover:not(:disabled){background:#463625;border-color:#7a644c}html[data-theme=dark] .my-shapes-name-form button[type=submit]{color:#fff;background:#a8662a;border-color:#a8662a}html[data-theme=dark] .my-shape-rename input,html[data-theme=dark] .my-shapes-name-form input{color:#f0e7d9;background:#2c2117;border-color:#6b5741}html[data-theme=dark] .my-shape-no-preview{background:#463625}html[data-theme=dark] .my-shape-tile-action.danger{color:#fff;background:#b42318;border-color:#b42318}html[data-theme=dark] .my-shapes-location,html[data-theme=dark] .my-shapes-name-form .my-shapes-location button+button{border-color:#5b4b3a}html[data-theme=dark] .my-shapes-name-form .my-shapes-location button.active{color:#fff;background:#8a6a46}html[data-theme=dark] .my-shapes-group-title{color:#cdbca6}html[data-theme=dark] .my-shape-tile-actions{background:rgba(58,44,31,.94)}html[data-theme=dark] .my-shapes-folder-rename,html[data-theme=dark] .my-shapes-folder-toggle{color:#f0e7d9}html[data-theme=dark] .my-shapes-folder-toggle:hover{background:#463625}html[data-theme=dark] .my-shape-move-select,html[data-theme=dark] .my-shapes-folder-rename input,html[data-theme=dark] .my-shapes-folder-select{color:#f0e7d9;background:#2c2117;border-color:#6b5741}html[data-theme=dark] .my-shapes-form-problem{color:#ff8a80}