.sequence-dialog{width:min(800px,calc(100vw - 40px));max-height:calc(100vh - 44px);padding:23px 26px;overflow:auto}
.sequence-header{display:flex;justify-content:space-between;align-items:flex-start}.sequence-header h2{margin:6px 0 9px;font-size:22px}.sequence-header .icon-button{font-size:23px;color:var(--muted);margin-top:3px}.sequence-summary{font-size:11px!important;color:var(--muted)!important;margin-bottom:18px!important}.sequence-dialog fieldset{border:0;padding:0;margin:0;min-width:0}.sequence-layout{display:grid;grid-template-columns:minmax(230px,1fr) minmax(260px,1fr);gap:27px}.sequence-settings{border-right:1px solid var(--line);padding-right:24px}.sequence-dialog label{display:flex;flex-direction:column;gap:5px;margin:0 0 12px;font-size:10px;color:#647060;min-width:0}.sequence-dialog input:not([type=range]),.sequence-dialog select{border:1px solid #dfe5da;border-radius:5px;padding:7px 8px;background:#fcfdfa;min-width:0;width:100%;font-size:11px}.sequence-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sequence-help{font-size:9px!important;color:#84907b!important;line-height:1.75!important}.sequence-separator{height:1px;background:var(--line);margin:6px 0 15px}.sequence-preview{min-width:0}.sequence-preview h3{font-size:11px;font-weight:600;margin:0 0 9px}.sequence-preview-title{display:flex;align-items:center;justify-content:space-between}.sequence-preview-title>span{font:10px ui-monospace,monospace;color:var(--muted)}.sequence-canvas-wrap{display:flex;align-items:center;justify-content:center;min-height:276px;border:1px solid var(--line);border-radius:8px;background-color:#f8faf4;background-image:linear-gradient(45deg,#eaf0e3 25%,transparent 25%),linear-gradient(-45deg,#eaf0e3 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eaf0e3 75%),linear-gradient(-45deg,transparent 75%,#eaf0e3 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}.sequence-preview-canvas,#sequence-preview-canvas{width:256px;height:256px;image-rendering:pixelated;max-width:100%;object-fit:contain}.sequence-scrub{display:flex;align-items:center;gap:10px;padding:11px 0}.sequence-scrub input{accent-color:var(--accent);width:100%;min-width:80px}.sequence-play{border:0;background:var(--accent);color:#fff;width:24px;height:24px;border-radius:50%;padding:0;font-size:10px;flex-shrink:0}.sequence-warning{font-size:10px!important;color:#94633d!important;line-height:1.7!important;background:#fbf4e6;padding:8px 10px;border-radius:5px;margin-top:9px!important}#sequence-source-sheet{margin-top:15px}#sequence-sheet-canvas{max-width:100%;height:auto;image-rendering:pixelated;background:#edf2e7;border:1px solid var(--line);border-radius:4px}.sequence-order-preview{font:9px/1.8 ui-monospace,monospace;color:#7c8973;list-style:none;margin:13px 0 0;padding:0;max-height:100px;overflow:auto;white-space:nowrap;text-overflow:ellipsis}.sequence-order-preview li{overflow:hidden;text-overflow:ellipsis}.sequence-destination{border-top:1px solid var(--line);display:grid;grid-template-columns:140px 1fr 1fr;gap:12px;margin-top:19px;padding-top:16px}.sequence-destination label{margin-bottom:0}.sequence-status{font-size:10px!important;min-height:19px;color:var(--accent)!important;margin-top:12px!important}.sequence-status.error{color:var(--danger)!important}.sequence-dialog .dialog-actions{margin-top:13px}.sequence-dialog fieldset:disabled{opacity:.65}
@media(max-width:680px){.sequence-dialog{padding:18px;width:calc(100vw - 20px)}.sequence-layout{grid-template-columns:minmax(200px,1fr) minmax(180px,1fr);gap:14px}.sequence-settings{padding-right:13px}.sequence-canvas-wrap{min-height:205px}#sequence-preview-canvas{width:192px;height:192px}.sequence-destination{grid-template-columns:100px 1fr}.sequence-destination label:last-child{grid-column:1/-1}}
.sequence-dialog .sequence-check{display:flex;flex-direction:row;align-items:center;gap:7px;font-size:11px}.sequence-dialog .sequence-check input{width:auto;accent-color:var(--accent);margin:0}.sequence-dialog #sequence-motion-settings{border-top:1px solid var(--line);padding-top:12px;margin-top:12px}.sequence-dialog #sequence-timing-summary{margin-bottom:12px}.sequence-dialog #sequence-decoder-warning{margin-bottom:12px;overflow-wrap:anywhere}.sequence-summary{overflow-wrap:anywhere}.sequence-dialog select{max-width:100%}.sequence-dialog .sequence-destination{grid-template-columns:110px minmax(140px,1fr) minmax(140px,1fr)}
@media(max-width:520px){.sequence-layout{grid-template-columns:1fr}.sequence-settings{border-right:0;padding-right:0}.sequence-canvas-wrap{min-height:205px}.sequence-dialog .sequence-destination{grid-template-columns:100px 1fr}.sequence-dialog .sequence-destination label:last-child{grid-column:1/-1}}
