/* A restrained, consistent editor chrome; artwork keeps its own typography. */
body.refined-editor{--editor-ink:#273a33;--editor-muted:#69766e;--editor-line:#e4e9e5;--editor-surface:#f4f5f7}
body.refined-editor header.sidebar-header{height:56px!important;box-sizing:border-box!important;border-bottom:1px solid var(--editor-line)!important;box-shadow:none!important}
body.refined-editor #studio .workspace{position:fixed!important;inset:56px 0 0!important;height:calc(100dvh - 56px)!important;width:100%!important;grid-template-columns:72px minmax(0,1fr)!important;border-radius:0!important}
body.refined-editor #studio .workspace>.refined-editor-heading{height:56px!important;min-height:56px!important;gap:16px!important;padding:10px 20px!important;width:100%!important;box-sizing:border-box!important;grid-column:1 / -1!important;font:13px/1.4 Arial,sans-serif!important}
body.refined-editor .refined-editor-heading>button:first-child{display:none!important}
body.refined-editor .refined-editor-heading select{height:34px!important;width:155px!important;padding:6px 10px!important;background:#f8faf8!important;border:1px solid var(--editor-line)!important;border-radius:8px!important;font:13px Arial!important}
body.refined-editor .refined-editor-heading strong{flex:1!important;min-width:0;text-align:center;font:600 14px Arial!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.refined-editor .refined-editor-heading button:last-child{padding:9px 18px!important;font:600 13px Arial!important;border-radius:8px!important}
body.refined-editor #studio .workspace>.workspace-global-rail{width:72px!important;padding:8px 5px!important;background:#fff!important;border-right:1px solid var(--editor-line)!important;scrollbar-width:thin}
body.refined-editor #studio .workspace-global-rail button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-height:58px!important;width:60px!important;margin:2px 0!important;padding:7px 3px!important;gap:5px!important;border:0!important;border-radius:10px!important;font:500 11px/1.2 Arial,sans-serif!important;text-align:center!important;color:#52635b!important;transition:background .15s}
body.refined-editor #studio .workspace-global-rail button span{font:inherit!important;text-align:center!important}
body.refined-editor #studio .workspace-global-rail button svg{width:21px!important;height:21px!important;stroke-width:1.5}
body.refined-editor #studio .workspace-global-rail button:hover{background:#f2f5f3!important}
body.refined-editor #studio .workspace-global-rail button[aria-pressed=true]{background:#e7f0e9!important;color:#24593e!important}
body.refined-editor .customise-centre{gap:12px!important;padding:14px 18px 0!important}
body.refined-editor .customise-centre>.selection-controls{flex:none!important;min-height:44px!important;max-height:100px!important;padding:6px 10px!important;gap:6px!important;border:1px solid var(--editor-line)!important;border-radius:12px!important;box-shadow:0 2px 6px #1e352808!important;align-items:center!important;overflow:visible!important}
body.refined-editor .modern-text-toolbar{display:flex!important;align-items:center!important;gap:4px!important;min-width:0!important;flex:1!important}
body.refined-editor .modern-text-toolbar[hidden]{display:none!important}
body.refined-editor .modern-text-toolbar :is(button,input,select){height:32px!important;min-height:32px!important;margin:0!important;border-radius:6px!important;font:13px Arial!important;box-sizing:border-box!important}
body.refined-editor .modern-text-toolbar select{width:150px!important;max-width:180px!important;padding:5px 9px!important;border:1px solid #e3e8e4!important}
body.refined-editor .modern-text-toolbar input[type=number]{width:56px!important;padding:4px 6px!important;border:1px solid #e3e8e4!important}
body.refined-editor .modern-text-toolbar button{min-width:32px!important;width:32px!important;padding:6px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:0!important;background:transparent!important;color:#293d33!important}
body.refined-editor .modern-text-toolbar button[aria-pressed=true]{background:#e9f1eb!important;color:#24593e!important}
body.refined-editor .modern-text-toolbar .format-bold{font-weight:700!important;font-size:17px!important}body.refined-editor .modern-text-toolbar .format-italic{font-style:italic!important;font-size:17px!important}
body.refined-editor .modern-text-toolbar input[type=color]{width:30px!important;padding:4px!important;border:1px solid #e3e8e4!important;cursor:pointer}
body.refined-editor .selection-controls :is(summary,button){font:12px Arial!important}
body.refined-editor .workspace-page-stack{padding:12px 22px!important}
body.refined-editor .workspace-page-heading{font:12px Arial!important;color:#68756e!important}
body.refined-editor .page-card-actions summary{color:#53675b!important}
body.refined-editor .customise-add-page{min-height:34px!important;padding:8px!important;border-radius:8px!important;font:500 12px Arial!important}
body.refined-editor .customise-bottom{min-height:44px!important;padding:4px 0!important;gap:8px!important;justify-content:flex-start!important;flex-wrap:nowrap!important;border-top:1px solid #e2e7e3!important;font:12px Arial!important}
body.refined-editor .customise-bottom>button,body.refined-editor .customise-bottom summary{padding:7px 6px!important;font:12px Arial!important;white-space:nowrap!important;border-radius:6px!important;cursor:pointer}
body.refined-editor .customise-bottom>select{min-width:80px!important;max-width:175px!important;width:150px!important;height:30px!important;padding:4px 7px!important;font:12px Arial!important;background:#fff!important;border:1px solid #e2e7e3!important}
body.refined-editor .customise-bottom>span{display:none!important}
body.refined-editor .viewport-controls{margin-left:auto!important;display:flex!important;align-items:center!important;gap:6px!important;white-space:nowrap!important;font:12px Arial!important}
body.refined-editor .viewport-controls input[type=range]{width:95px!important;accent-color:#2c644a!important;height:18px!important}
.editor-timer-menu{position:relative}.editor-timer-menu summary{list-style:none}.editor-timer-menu>div{position:absolute;bottom:calc(100% + 12px);left:0;background:white;border:1px solid #e0e7e2;border-radius:10px;padding:10px;box-shadow:0 6px 28px #152e201a;display:flex;gap:8px;min-width:180px;z-index:30}
body.refined-editor .editor-page-overview{width:126px!important;flex-basis:126px!important;background:#fff!important;border-left:1px solid var(--editor-line)!important;padding:12px!important;font:12px Arial!important}
body.refined-editor .editor-page-list button{border-radius:8px!important;padding:8px!important;border:1px solid #e4e9e5!important;font:11px/1.4 Arial!important;box-shadow:none!important}
body.refined-editor .editor-page-list button[aria-current=page]{border-color:#3d7557!important;background:#eef4ef!important}
@media(max-width:1100px){body.refined-editor .viewport-controls input[type=range]{width:65px!important}body.refined-editor .customise-bottom>select{width:105px!important}.customise-bottom>.page-options{display:none!important}}
@media(max-width:700px){body.refined-editor .refined-editor-heading strong,body.refined-editor .refined-editor-heading #draftSaveStatus{display:none!important}body.refined-editor .customise-bottom{flex-wrap:wrap!important}body.refined-editor .modern-text-toolbar select{width:110px!important}body.refined-editor .editor-page-overview{display:none!important}}
body.refined-editor .customise-centre>.customise-add-page{display:none!important}
