.layout{position:relative}
.editor-home{color:inherit;text-decoration:none}
.editor-home:focus-visible{outline:2px solid #a5b5ff;outline-offset:5px;border-radius:6px}
header .headeractions button,header .headeractions .primary{height:42px;min-height:42px;min-width:124px;flex:1 1 0;padding:8px 12px;font-size:14px;font-weight:650;white-space:nowrap;border-radius:7px}
@media(max-width:800px){header .headeractions button,header .headeractions .primary{height:34px;min-height:34px;min-width:94px;padding:6px 8px;font-size:12px}}
header .brand .logo{background:transparent;border:0;box-shadow:none;overflow:visible;flex-shrink:0;width:42px;height:42px}
header .brand .logo img{display:block;width:54px;height:54px;max-width:none;object-fit:contain;margin:-6px}
@media(max-width:800px){header .brand .logo{width:34px;height:34px}header .brand .logo img{width:44px;height:44px;margin:-5px}}
.panel-splitter{position:absolute;top:0;bottom:0;width:10px;z-index:35;cursor:col-resize;touch-action:none;transform:translateX(-50%);outline:none}
.panel-splitter::after{content:"";position:absolute;inset:0 3px;border-radius:4px;background:transparent;transition:background .13s}
.panel-splitter:hover::after,.panel-splitter:focus-visible::after,.resizing-panels .panel-splitter::after{background:#536fe8}
.splitter-left{left:var(--left-panel)}.splitter-right{left:calc(100% - var(--right-panel))}
body.hide-pages .splitter-left,body.hide-settings .splitter-right,body.focus-mode .panel-splitter{display:none}
body.resizing-panels,body.resizing-panels *{cursor:col-resize!important;user-select:none!important}
.canvas-toolbar #compactLayout{width:140px;padding-right:24px!important;padding-left:8px!important}
.sidefoot .compact-footer #sortOrder{flex:0 1 42%;min-width:68px}
.sidefoot .compact-footer #compactAddPage{flex:1 1 58%;min-width:94px;padding-right:23px}
.sidehead>.row{flex-wrap:nowrap!important}
.sidehead>.row b{min-width:0;white-space:nowrap}
.sidehead #addBtn{white-space:nowrap;flex:0 1 auto;min-width:0;font-size:13px;padding:6px 8px}
#pagesHeaderMenu{appearance:none;background-image:none!important;flex:0 0 28px;width:28px;min-width:28px;padding:4px 0;text-align:center;text-align-last:center;font-size:19px}
.appearance-section label{font-size:14px}
.threshold-row{margin-top:13px}
.threshold-row label{display:flex;justify-content:space-between;align-items:center;gap:10px}
.threshold-row output{font-weight:650;color:#3151d8}
.threshold-row input{width:100%;accent-color:#425de4}
.v6-color-dialog{border:1px solid #d5deeb;border-radius:14px;width:min(420px,calc(100vw - 30px));padding:22px;color:#17263a;box-shadow:0 24px 70px #101b3450}
.v6-color-dialog::backdrop{background:#17243a80}
.v6-color-dialog .row{justify-content:flex-end;margin-top:18px}
#cropModal .modalbox{width:min(960px,96vw)!important;max-height:94dvh;overflow:auto}
#cropSurface{background:#202631;max-height:49vh;padding:15px;border-color:#384351;overscroll-behavior:contain}
#cropSurface canvas{box-shadow:0 2px 14px #0005;touch-action:none}
#cropSurface .cropoverlay{border:2px solid #fff;box-shadow:0 0 0 10000px #0009}
#cropSurface .crop-handle{background:white;border:1px solid #29384b;width:12px;height:12px}
#cropSurface .thirds{opacity:1}
#cropSurface.pan-mode,#cropSurface.pan-mode *{cursor:grab!important}
#cropSurface.pan-mode:active,#cropSurface.pan-mode:active *{cursor:grabbing!important}
#cropPan[aria-pressed=true]{color:#fff;background:#425de4}
#cropModal .crop-tools{gap:10px;flex-wrap:wrap}
@media(max-width:800px){.panel-splitter{display:none}.sidehead>.row{flex-wrap:wrap!important}.sidehead #addBtn{width:auto}.sidefoot .compact-footer #sortOrder,.sidefoot .compact-footer #compactAddPage{min-width:65px;flex:1}.canvas-toolbar #compactLayout{width:140px}#cropModal .modalbox{padding:12px}#cropSurface{max-height:44vh}}
