#detail{
 --paper49:#f8f8f5;--ink49:#252722;--muted49:#61645e;--line49:#d7d9d1;--focus49:#506631;--surface49:#eeeeea;
 --editor-edge59:#454842;--editor-light59:#e9ece4;--editor-muted59:#b7bcb1;--editor-accent59:#dcf5a5;
 box-sizing:border-box
}
#detail[open]{width:min(1640px,calc(100vw - 32px));height:min(1050px,calc(100dvh - 32px));max-width:100vw;max-height:100dvh;margin:auto;padding:0;border:1px solid #474944;border-radius:11px;background:var(--paper49);color:var(--ink49);box-shadow:0 22px 75px #0005}
#detail::backdrop{background:#111510a6}
#detail .finish-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:12px;min-height:60px;margin:0;padding:9px 19px;border:0;border-bottom:1px solid #393c36;background:#252824;color:#f4f5ef}
#detail .finish-toolbar .detail-title49{display:flex;min-width:0;align-items:center;gap:17px}
#detail .finish-toolbar #name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(16px,1.55vw,23px);font-weight:540;line-height:1.25;letter-spacing:-.035em}
#detail .finish-toolbar .actions{display:flex;justify-content:flex-end;align-items:center;flex:0 0 auto;gap:4px;margin:0;width:auto}
#detail .finish-toolbar .actions button{
 display:inline-flex;align-items:center;justify-content:center;min-height:34px;margin:0;padding:6px 10px;border:1px solid transparent;border-radius:5px;background:transparent;color:#e5e8df;font-size:12px;font-weight:530;line-height:1.2;white-space:nowrap
}
#detail .finish-toolbar .actions button:hover:not(:disabled),#detail .finish-toolbar .actions button[aria-pressed=true]{background:#3d4239;color:white;border-color:#555c50}
#detail .finish-toolbar .actions #export-detail49{padding-inline:14px;background:var(--editor-accent59);color:#27321a;border-color:var(--editor-accent59);font-weight:650;margin-left:5px}
#detail .finish-toolbar .actions #export-detail49:hover:not(:disabled){background:#e8ffc0;color:#202b17}
#detail .finish-toolbar button:disabled{opacity:.42}
#detail .focus-canvas59::before{content:'';width:13px;height:10px;margin-right:5px;border:1px solid currentColor;border-radius:2px;box-shadow:inset -3px 0 currentColor}
#detail .workspace49{display:grid;grid-template-columns:minmax(0,1fr) clamp(306px,25vw,380px);min-height:0}
#detail.focus-canvas-on59 .workspace49{grid-template-columns:minmax(0,1fr)}
#detail [hidden]{display:none!important}
#detail .stage49{min-width:0;min-height:0;align-items:center;justify-content:safe center;gap:12px;padding:clamp(16px,2.4vw,42px);background:#30332f;color:var(--editor-light59);overflow:auto}
#detail .preview-frame49,#detail .stage-foot49{width:min(100%,calc((100dvh - 275px)*16/9));min-width:0}
#detail .format-tools57{gap:8px;align-items:center;margin:0 0 13px}
#detail .format-caption57{color:var(--editor-muted59);font-size:11px;font-weight:550;margin-right:8px}
#detail .format-center57{
 min-height:30px;padding:4px 7px;border-radius:4px;background:transparent;border:1px solid transparent;color:var(--editor-muted59);font-size:12px
}
#detail .format-center57:hover:not(:disabled){background:#444940;color:white}
#detail .format-center57{border-color:#555a50}
#detail .format-slot57{background:#292c28;border-radius:4px;outline:1px solid #ffffff13;outline-offset:-1px}
#detail .format-crop57{border-radius:2px;box-shadow:0 2px 16px #0003}
#detail .format-note57{color:#c3c8bb;margin-top:7px}
#detail .format-note57:empty{display:none}
#detail #canvas-tools45{gap:4px;justify-content:center}
#detail #canvas-tools45 button{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;min-height:32px;color:#e3e7db;background:#363a34;border:1px solid #565a50;border-radius:5px;font-size:12px;font-weight:500}
#detail #canvas-tools45 button[aria-pressed=true]{color:#f0ffda;background:#45503c;border-color:#82926d}
#detail #canvas-tools45 button:hover:not(:disabled){background:#464c41;color:white}
#detail #motion45::before{content:'';width:0;height:0;border-style:solid;border-width:4px 0 4px 6px;border-color:transparent transparent transparent currentColor}
#detail #gesture-help45{color:#c5cbbd}
#detail #brush45{color:#e7ebdf;justify-content:center}
#detail #brush45 output,#detail #brush45 label,#detail #brush-pin48 label{color:#e7ebdf}
#detail :is(.stage49,.finish-toolbar) :focus-visible{outline:2px solid var(--editor-accent59);outline-offset:2px}
#detail .inspector49{border:0;background:var(--paper49);padding:18px clamp(16px,1.6vw,26px) 28px;color:var(--ink49);scroll-padding-block:10px}
#detail .props-head59{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:18px}
#detail .props-head59 h3{margin:0}
#detail .props-head59 .history-detail48{display:flex;align-items:center;margin:0;gap:2px}
#detail .props-head59 .history-detail48 button{padding:3px 5px;border:0;min-height:28px;font-size:11px;line-height:1.1;background:transparent;color:#51574b}
#detail .props-head59 .history-detail48 button:disabled{opacity:.45}
#detail .props-head59 .history-detail48 button:not(:disabled):hover{background:#e6e9e0}
#detail .props-head59 #undo-detail48,#detail .props-head59 #redo-detail48{font-size:0;min-width:25px}
#detail .props-head59 #undo-detail48::before,#detail .props-head59 #redo-detail48::before{content:'↶';font-size:17px;color:inherit}
#detail .props-head59 #redo-detail48::before{content:'↷'}
#detail #detail-palettes{display:grid;grid-template-columns:1fr auto;align-items:center;width:100%;gap:5px 8px;padding:0 0 16px;text-align:left;background:transparent;border:0;border-radius:0;color:var(--ink49)}
#detail #detail-palettes .prop-label59{font-size:12px;color:var(--muted49);font-weight:500}
#detail .prop-palette-name59{grid-row:2;grid-column:1;font-size:15px;font-weight:580;line-height:1.25}
#detail .prop-swatches59{grid-column:1/-1;grid-row:3;display:flex;height:18px;width:100%;margin-top:4px;overflow:hidden;border-radius:3px;outline:1px solid #0001;outline-offset:-1px}
#detail .prop-swatches59>span{flex:1}
#detail .prop-open59{grid-column:2;grid-row:2;width:7px;height:7px;margin:0 4px 0 2px;transform:rotate(-45deg);border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor}
#detail #detail-palettes:hover .prop-palette-name59{text-decoration:underline;text-underline-offset:3px}
#detail .inspector49>.tools49{border-top:1px solid var(--line49);padding:14px 0}
#detail .inspector49>.tools49>.tool-label49{color:var(--muted49);font-size:12px;margin:0 0 8px}
#detail .inspector49>.tools49 .tool-actions49{gap:6px;align-items:stretch}
#detail .inspector49>.tools49 .tool-actions49 button{border-radius:5px;color:var(--ink49);background:#f2f3ef;border:1px solid #cbd0c4;min-height:33px;font-size:12px;padding:5px 8px}
#detail .inspector49>.tools49 .tool-actions49 button:hover{border-color:#92998b;background:#e9ece4}
#detail .inspector49>details>summary{display:flex;align-items:center;min-height:45px;cursor:pointer;list-style:none;width:100%;color:var(--ink49);font-size:13px;font-weight:560;line-height:1.25}
#detail .inspector49>details>summary::after{content:'';flex:0 0 auto;width:7px;height:7px;margin-left:auto;margin-right:4px;transform:rotate(45deg);border:0;border-bottom:1.5px solid #75796e;border-right:1.5px solid #75796e;background:transparent}
#detail .inspector49>details[open]>summary::after{transform:rotate(225deg)}
#detail .inspector49>details[open]{border-color:#bec4b7}
#detail .inspector49 :is(input,select,button,summary):focus-visible{outline:2px solid #536e38;outline-offset:2px}
@media(max-width:760px){
 #detail[open]{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}
 #detail .workspace49{display:flex;flex-direction:column;min-height:0}
 #detail .finish-toolbar{min-height:48px;padding:7px 12px}
 #detail .stage49{flex:0 0 auto;overflow:auto;max-height:55dvh;gap:5px;padding:10px 13px}
 #detail .preview-frame49,#detail .stage-foot49{width:min(100%,53dvh)}
 #detail .stage-foot49:has(#brush45:not([hidden])),#detail .stage49:has(#brush45:not([hidden])) .preview-frame49{width:min(100%,46dvh)}
 #detail .inspector49{border:0;flex:1 1 auto;padding:16px 16px 24px}
 #detail .props-head59{margin-bottom:10px}
 #detail .format-tools57{margin-bottom:7px}
 #detail .format-caption57{margin-right:3px}
 #detail .format-center57{min-height:30px;height:auto;padding:3px 5px}
 #detail .format-note57{margin-top:4px}
 #detail .stage-foot49 #canvas-tools45 button{min-height:31px;padding:4px 7px}
 #detail.focus-canvas-on59 .stage49{flex:1;max-height:none}
 #detail.focus-canvas-on59 .preview-frame49,#detail.focus-canvas-on59 .stage-foot49{width:100%}
}
@media(max-width:540px){
 #detail .finish-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;padding:7px 12px}
 #detail .finish-toolbar .detail-title49{grid-column:1;grid-row:1;gap:8px}
 #detail .finish-toolbar .actions{display:contents}
 #detail .finish-toolbar .actions #export-detail49{grid-column:2;grid-row:1;margin:0;justify-self:end}
 #detail .finish-toolbar .actions .focus-canvas59{grid-column:1;grid-row:2;justify-self:start}
 #detail .finish-toolbar .actions #detail-motion50{grid-column:2;grid-row:2;justify-self:end}
 #detail .finish-toolbar .actions #detail-post50{grid-column:1;grid-row:2;justify-self:start;margin-left:93px}
 #detail .finish-toolbar .actions button{padding:5px 7px;min-height:30px;font-size:12px}
 #detail .format-choices57 .format-caption57{display:none}
 #detail .format-tools57{gap:3px}
}
@media(max-height:520px) and (min-width:541px){
 #detail .workspace49{display:grid;grid-template-columns:minmax(0,1fr) minmax(245px,32%)}
 #detail .stage49{max-height:none;justify-content:safe center;overflow:auto;padding:8px}
 #detail .preview-frame49,#detail .stage-foot49{width:min(100%,calc((100dvh - 175px)*16/9))}
}
