body.refined-editor .editor-library-panel[data-library] {box-sizing:border-box!important;padding:16px!important}
body.refined-editor .editor-library-panel .panel-title {margin-bottom:16px!important}
body.refined-editor .editor-library-panel .panel-title button {width:32px!important;height:32px!important;min-height:32px!important;padding:4px!important;border-radius:8px!important}
body.refined-editor .editor-library-panel:is([data-library=text],[data-library=elements]) .editor-panel-content {gap:10px!important}
body.refined-editor .editor-library-panel:is([data-library=text],[data-library=elements]) :is(input[type=search],select) {width:100%!important;box-sizing:border-box!important;min-width:0!important;padding:10px!important;font:13px/1.4 Arial,sans-serif!important;border-radius:8px!important}
body.refined-editor .editor-library-panel[data-library=elements] .panel-result-grid {grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
body.refined-editor .editor-library-panel[data-library=elements] .panel-result-grid button {min-width:0!important;min-height:92px!important;gap:6px!important;padding:8px 4px!important;font:11px/1.3 Arial,sans-serif!important;text-align:center!important;border-radius:9px!important}
body.refined-editor .editor-library-panel[data-library=elements] .panel-result-grid svg {width:38px!important;height:38px!important;padding:4px!important;flex-shrink:0}
body.refined-editor .editor-library-panel[data-library=elements] .panel-result-grid>p {grid-column:1/-1}
body.refined-editor .editor-library-panel[data-library=text] .text-preset-list {display:flex;flex-direction:column;gap:8px}
body.refined-editor .editor-library-panel[data-library=text] .panel-text-preset {font:600 var(--preset-size,14px)/1.3 Arial,sans-serif!important;min-height:48px!important;padding:12px!important;border-radius:9px!important;margin:0!important}
body.refined-editor .editor-library-panel:is([data-library=text],[data-library=elements]) p {font:12px/1.5 Arial,sans-serif!important}
body.refined-editor .editor-library-panel button:focus-visible {outline:2px solid #ad8739!important;outline-offset:2px}
body.refined-editor .editor-library-panel[data-library=text] label {font:12px/1.5 Arial,sans-serif!important;display:flex;flex-direction:column;gap:5px}
@media(max-width:800px) and (min-width:601px){body.refined-editor .editor-library-panel[data-library=elements] .panel-result-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important}}
body.refined-editor .editor-library-panel[data-library=uploads] .library-empty {grid-column:1/-1;font:13px/1.5 Arial!important;padding:20px 4px!important}
body.refined-editor .editor-library-panel[data-library=uploads] input[hidden] {display:none!important}
body.refined-editor .editor-library-panel .library-upload-button {background:#285d47!important;color:white!important;border-radius:8px!important;padding:12px!important}
body.refined-editor .editor-library-panel[data-library=brand] :is(button,input,summary) {font:13px/1.4 Arial!important;border-radius:8px!important;padding:10px!important}
body.refined-editor .editor-library-panel[data-library=brand] p,body.refined-editor .editor-library-panel[data-library=uploads] p {font:12px/1.5 Arial!important}
.brand-quick-kit {border:1px solid #dce3dd;border-radius:9px;padding:8px}
.brand-quick-kit summary {cursor:pointer;font-weight:600!important}
.brand-quick-kit input:not([type=color]) {width:100%;box-sizing:border-box;margin:8px 0}
.brand-quick-kit label {display:flex;align-items:center;justify-content:space-between;font:12px Arial;margin:8px 0}
.brand-quick-kit input[type=color] {width:46px!important;height:36px!important;padding:3px!important}
.brand-kit-list {display:flex;flex-direction:column;gap:8px}
.brand-kit-list button {display:flex;align-items:center;gap:10px;text-align:left}
.brand-kit-swatches {display:flex;gap:4px}
.brand-kit-swatches i {display:block;width:20px;height:20px;border-radius:50%;border:1px solid #83978d}
body.refined-editor .editor-library-panel[data-library=tools] h3 {font:600 12px/1.4 Arial!important;margin:8px 0 0!important}
body.refined-editor .editor-library-panel[data-library=tools] .panel-result-grid button {min-height:40px!important;padding:10px!important;justify-content:center;font:12px Arial!important}
body.refined-editor .editor-library-panel[data-library=tools] p {font:12px/1.5 Arial!important}
body.refined-editor .editor-library-panel[data-library=projects] .panel-result-grid {grid-template-columns:1fr!important;gap:8px!important}
body.refined-editor .editor-library-panel[data-library=projects] .panel-result-grid button {display:flex!important;flex-direction:row!important;gap:12px!important;align-items:center!important;font:13px/1.4 Arial!important;text-align:left!important;padding:8px!important}
body.refined-editor .editor-library-panel[data-library=projects] .panel-result-grid img {width:64px!important;height:76px!important;flex-shrink:0}
body.refined-editor .editor-library-panel[data-library=projects] p {font:12px/1.5 Arial!important}
body.refined-editor .editor-library-panel:is([data-library=photos],[data-library=uploads]) .panel-result-grid img {height:92px!important;object-fit:cover!important}
body.refined-editor .editor-library-panel .library-empty {grid-column:1/-1;font:12px/1.5 Arial!important}
body.refined-editor .editor-library-panel[data-library=photos] p {font:12px/1.5 Arial!important}
html body #commandCentre[open] {width:min(600px,calc(100vw - 28px))!important;height:auto!important;min-height:0!important;max-height:80dvh!important;padding:20px!important;inset:50% auto auto 50%!important;transform:translate(-50%,-50%)!important;margin:0!important}
html body #commandCentre h2 {font:600 20px/1.3 Arial!important;margin:0 70px 16px 0!important}
html body #commandCentre .command-results {max-height:42dvh!important;gap:4px!important}
html body #commandCentre .command-results button {min-height:36px!important;padding:9px 10px!important;font:13px/1.35 Arial!important}
html body #commandCentre>button {min-height:34px!important;padding:8px 12px!important;font:12px Arial!important}
body.refined-editor .customise-bottom {gap:8px!important;padding-right:96px!important;box-sizing:border-box!important;align-items:center!important}
body.refined-editor .customise-bottom>select {max-width:220px!important;min-width:120px!important;font:12px Arial!important}
body.refined-editor .customise-bottom .viewport-controls {flex-wrap:wrap;gap:5px!important;margin-left:auto!important}
@media(max-width:700px){body.refined-editor .customise-bottom {padding-right:0!important;padding-bottom:54px!important}body.refined-editor .customise-bottom .viewport-controls {width:100%;justify-content:flex-end}}
body.refined-editor .workspace-global-rail button {min-height:54px!important;border-radius:10px!important}
body.refined-editor .workspace-global-rail button:focus-visible {outline:2px solid #ad8739!important;outline-offset:-2px}
:root {--library-panel-bg:var(--ui-surface,#fff);--library-panel-ink:var(--ink,#203a32);--library-panel-line:var(--line,#dce3dd)}
html body.refined-editor .editor-library-panel {background:var(--library-panel-bg)!important;color:var(--library-panel-ink)!important}
html body.refined-editor .editor-library-panel :is(button,input,select,summary) {background:var(--library-panel-bg)!important;color:var(--library-panel-ink)!important;border-color:var(--library-panel-line)!important}
html body.refined-editor .editor-library-panel :is(p,label,h3,strong) {color:var(--library-panel-ink)!important}
html body.refined-editor .editor-library-panel button:disabled {opacity:.45!important;cursor:not-allowed}
html body.refined-editor .editor-library-panel .library-upload-button {background:#285d47!important;color:white!important}
html body #workspaceStyle[open] {width:min(560px,calc(100vw - 28px))!important;height:auto!important;min-height:0!important;max-height:85dvh!important;overflow:auto!important;padding:24px!important;border-radius:14px!important;box-sizing:border-box!important}
html body #workspaceStyle h2 {font:600 22px/1.3 Arial!important;margin:0!important}
html body #workspaceStyle .eyebrow {display:none!important}
html body #workspaceStyle p {font:13px/1.5 Arial!important;margin:12px 0!important}
html body #workspaceStyle h3 {font:600 15px/1.4 Arial!important;margin:12px 0 8px!important}
html body #workspaceStyle :is(button,.settings-action) {min-height:38px!important;padding:9px 12px!important;font:13px/1.4 Arial!important}
html body #workspaceStyle .settings-content {padding-top:12px!important}
