#advancedWorkspace{min-width:0;color:#ddd;background:#202020;font-size:11px}#advancedWorkspace .advanced-heading{display:flex;align-items:center;gap:10px;padding:9px 12px;background:#171717;position:sticky;top:0;z-index:3;border-bottom:1px solid #444}#advancedWorkspace .advanced-heading select{flex:1;min-width:0;width:0;background:#292929;color:#eee;border:1px solid #555;padding:7px;margin:0;font-size:12px}#advancedReset{font-size:10px;padding:8px 9px;color:#d5ac65;background:#30291d}#advancedBody{padding:8px 12px 12px;min-width:0}#advancedWorkspace button{background:transparent;color:#aaa;font-size:10px;padding:8px;border-radius:4px}#advancedWorkspace button.active{color:#edbf6e;background:#3b3020}#advancedWorkspace .advanced-range{display:flex;align-items:center;gap:8px;font-weight:400;margin:0;padding:5px 0;min-width:0;color:#bbb}#advancedWorkspace .advanced-range>span{flex:0 0 65px;text-align:right;font-size:11px}#advancedWorkspace .advanced-range>input[type=range]{width:0;flex:1;min-width:0;touch-action:pan-x;appearance:none;background:transparent;height:19px;margin:0}#advancedWorkspace .advanced-range input[type=range]::-webkit-slider-runnable-track{height:3px;border-radius:1px;background:var(--range-gradient,linear-gradient(90deg,#555,#ddd));border:1px solid #131313}#advancedWorkspace .advanced-range input[type=range]::-webkit-slider-thumb{appearance:none;width:12px;height:12px;border:1px solid #111;transform:rotate(45deg);border-radius:3px;background:#bdbdbd;margin-top:-5px}#advancedWorkspace .advanced-range>input[type=number]{width:45px;min-width:0;flex:0 0 45px;text-align:center;background:#262626;color:#ddd;border:1px solid #464646;border-radius:3px;padding:4px 1px;margin:0;font-size:10px}#advancedWorkspace input[type=number]::-webkit-inner-spin-button{appearance:none}.hsl-tabs{display:flex;position:sticky;top:0;background:#272727;padding-bottom:6px;border-bottom:1px solid #444;z-index:2}.hsl-tabs button{flex:1;padding:7px 3px!important;min-width:0;font-size:10px!important}.hsl-section{margin:0;padding:8px 0;border-bottom:1px solid #494949}.hsl-heading{display:flex;align-items:center;gap:10px;margin:0 0 4px}.hsl-heading strong{flex:1;text-align:center;font-weight:400;font-size:12px;color:#cfcfcf}.hsl-heading button{font-size:17px!important;padding:0 5px!important}.advanced-hint{font-size:9px;line-height:1.5;color:#a48d66;margin:8px 0 0}.curve-channels{display:flex;gap:5px}.curve-channels button{flex:1;color:var(--channel-color)!important;border-bottom:2px solid transparent;border-radius:0!important}.curve-channels button.active{border-color:var(--channel-color);background:#ffffff10!important}.curve-point-values{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px}.curve-point-values label{margin:0;font-size:9px;color:#aaa;display:flex;align-items:center;gap:5px}.curve-point-values input{width:45px!important;background:#252525!important;border-color:#555!important;color:#ddd!important;font-size:10px;padding:5px!important;margin:0!important}.curve-point-values button{font-size:9px!important;padding:6px!important}#curveGraph{position:absolute;z-index:6;bottom:8px;left:50%;transform:translateX(-50%);width:min(calc(100% - 24px),min(42dvh,360px));height:auto;max-height:calc(100% - 12px);aspect-ratio:1;touch-action:none;user-select:none;cursor:crosshair;background:transparent}.grading-tabs{display:flex;align-items:center;gap:3px;justify-content:center;flex-wrap:wrap;padding:0 0 8px}.grading-tabs button{font-size:9px!important;padding:6px!important;flex:1;min-width:0}.grading-wheels{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px 14px}.grading-cell{background:transparent;box-shadow:none;border:0;border-radius:0;padding:0;position:relative;min-width:0;text-align:center}.grading-cell h3{font-size:11px;font-weight:400;margin:5px 0 8px;color:#ccc}.grading-cell canvas{width:min(100%,165px);height:auto;aspect-ratio:1;touch-action:none;display:block;margin:auto;cursor:crosshair}.grading-cell p{font-size:8px;margin:4px 0;color:#aaa;line-height:1.2}.grading-cell .advanced-range{gap:4px!important;padding:4px 0!important}.grading-cell .advanced-range>span{display:none}.grading-cell .advanced-range>input[type=number]{flex-basis:32px!important;width:32px!important;font-size:9px!important}.grading-cell .wheel-reset{position:absolute;right:0;top:0;font-size:14px!important;padding:3px!important}.grading-wheels[data-view=all] .grading-cell[data-wheel=mid]{grid-column:1/-1;width:53%;justify-self:center}.grading-wheels:not([data-view=all]){display:block}.grading-wheels:not([data-view=all]) .grading-cell{max-width:250px;margin:auto}.grading-wheels:not([data-view=all]) .grading-cell canvas{width:190px}.grading-wheels+.advanced-range{margin-top:9px!important;border-top:1px solid #444;padding-top:9px!important}
@media(max-width:650px){.develop-mode #develop[data-studio-mode=advanced] .editor>#studioPanel{max-height:51dvh}.develop-mode #develop[data-studio-mode=advanced][data-advanced=curves] .editor>#studioPanel{max-height:29dvh}#advancedWorkspace{width:100%;max-width:100%}.develop-mode #develop[data-studio-mode=advanced] #controls{display:none!important}#curveGraph{width:min(calc(100% - 24px),42dvh)}.grading-cell canvas{max-width:150px}.grading-wheels[data-view=all] .grading-cell[data-wheel=mid]{max-width:155px}.grading-wheels{gap:5px 12px}#advancedWorkspace .advanced-heading{padding:7px 10px}#advancedBody{padding:6px 12px 10px}}

#advancedWorkspace{display:flex;flex-direction:column;min-height:0}#advancedBody{min-height:0;overflow-y:auto;overscroll-behavior-y:contain;flex:1}#advancedWorkspace .advanced-heading{flex-shrink:0}.develop-mode #develop[data-studio-mode=advanced] .editor>#studioPanel{display:flex;flex-direction:column;overflow:hidden;height:51dvh}.develop-mode #develop[data-studio-mode=advanced][data-advanced=curves] .editor>#studioPanel{height:29dvh}.develop-mode #develop[data-studio-mode=advanced] #advancedWorkspace{flex:1;min-height:0}.develop-mode #develop[data-studio-mode=advanced] #studioActionbar{flex:0 0 auto;background:#080808;position:relative;z-index:8}#advancedWorkspace input[type=range]{flex-shrink:1}
