/* Shared editor surfaces. Product engines and exceptional controls stay in adapters. */
html body .zl-editor.ze-standard-surface{--zl-paper:#fffaf0;--zl-accent:#e0eefb;--zl-border:#e7e1d5;font-family:'Yuanti SC',STYuanti,'Avenir Next','PingFang SC',sans-serif;grid-template-columns:78px 310px minmax(0,1fr)}
html body .zl-editor.ze-standard-surface.zl-panel-collapsed{grid-template-columns:78px 0 minmax(0,1fr)}
html body .ze-standard-surface .zl-rail{padding:16px 8px;gap:8px}
html body .ze-standard-surface .zl-tool{flex-basis:78px;font-size:14px!important;border-radius:12px!important}
html body .ze-standard-surface .zl-tool[aria-selected=true]{background:#e0eefb!important;border-color:transparent!important}
html body .ze-standard-surface .zl-inspector-head{padding:20px 18px 12px}
html body .ze-standard-surface .zl-panel-title{font-size:26px!important}
html body .ze-standard-surface .zl-panel{padding:4px 18px 20px}
html body .ze-standard-surface .ze-canvas-title{font:400 22px/1.4 ZaobaLayout,sans-serif;color:#173f73;margin:0}
html body .ze-standard-surface :is(.preview-panel,#canvasArea){background:#fffaf0}
html body .ze-standard-surface .frame-canvas-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:12px 22px 4px;border:0;background:#fffaf0}
html body .ze-standard-surface .ze-view-modes{position:relative;inset:auto;transform:none;display:flex;align-self:center;align-items:center;flex:0 0 auto;gap:4px;width:max-content;padding:3px;margin:12px auto 4px;border:1px solid #d7d6cf;border-radius:8px;background:#fffdf7;z-index:3}
html body .ze-standard-surface .frame-canvas-toolbar .ze-view-modes{margin:0 auto}
html body .ze-standard-surface .ze-view-modes button{display:flex;gap:8px;align-items:center;justify-content:center;width:auto;min-height:44px;padding:8px 16px;border:0;border-radius:6px;background:transparent;box-shadow:none;font-family:inherit;font-size:14px;font-weight:500;line-height:20px;color:#173f73;white-space:nowrap}
html body .ze-standard-surface .ze-view-modes button[aria-pressed=true]{background:#173f73;color:#fffdf6}
html body .ze-standard-surface .ze-view-modes .zb-ui-symbol{width:24px!important;height:24px!important;flex-basis:24px!important}
html body .ze-standard-surface :is(.view-tools,.preview-bottom,.drag-hint,#view-badge,.canvas-help:has(#constraintStatus:empty)) {display:none}
html body .ze-standard-surface .ze-history{position:absolute!important;inset:auto 16px 12px auto!important;z-index:8;display:flex!important;gap:4px;margin:0!important;padding:3px!important;border:1px solid #d7d6cf;border-radius:9px;background:#fffaf0ed;box-shadow:none}
html body .ze-standard-surface .ze-history button{display:flex;align-items:center;justify-content:center;gap:6px;min-width:90px!important;width:auto!important;height:40px;min-height:40px;padding:6px 10px!important;border:0;border-radius:6px;background:transparent;color:#173f73;font-size:12px!important;box-shadow:none}
html body .ze-standard-surface .ze-history button:disabled{opacity:.35}
html body .ze-standard-surface .ze-history button[hidden],html body .ze-standard-surface .ze-history>span{display:none!important}
html body .ze-standard-surface .ze-history .zb-ui-symbol{width:24px!important;height:24px!important;flex-basis:24px!important}
html body .ze-standard-surface .ze-add-content{display:flex!important;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;margin:0 0 14px!important;padding:8px;border:1px solid #d7d6cf!important;border-radius:7px!important;background:#fff0b8!important;color:#173f73;font-family:inherit;font-size:14px;font-weight:500;line-height:20px}
html body .ze-standard-surface .ze-add-content .zb-ui-symbol{width:26px!important;height:26px!important;flex-basis:26px!important}
html body .ze-standard-surface :is(.icon-picker-heading,#icon-library-note,#icon-result-count,#libraryHint,.free-colors-heading,.color-field>legend,#palette-note,.palette-presets-label,.text-input-meta>span:first-child,.print-note){display:none!important}
html body .ze-standard-surface :is(#icon-categories,#iconCategories){display:flex;flex-wrap:nowrap;overflow-x:auto;gap:7px;margin:10px 0;padding:2px 0 5px;scrollbar-width:thin}
html body .ze-standard-surface :is(#icon-categories,#iconCategories) button{flex:0 0 auto;min-height:34px;min-width:0;padding:6px 12px;border:1px solid #e2ddd2;border-radius:20px;background:#fffdf8;font-size:12px;white-space:nowrap;color:#173f73}
html body .ze-standard-surface :is(#icon-categories,#iconCategories) button:is([aria-pressed=true],.active){background:#173f73;color:#fff;border-color:#173f73}
html body .ze-standard-surface :is(#icon-search,.library-search){width:100%;height:38px;min-height:38px;margin:0;padding:6px 10px;border:1px solid #d7d1c5;border-radius:11px;background:#fffdf6;font-size:12px}
html body .ze-standard-surface :is(#icon-options,#iconGrid){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:none;align-content:start}
html body .ze-standard-surface .zl-panel :is(.handdrawn-icon-option,.icon-tile){display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:104px;padding:9px 5px;gap:4px;border:1px solid transparent;border-radius:12px;background:#eaf2f6;color:#173f73}
html body .ze-standard-surface .zl-panel :is(.handdrawn-icon-name,.icon-tile>span){font-size:11px}
html body .ze-standard-surface .ze-palette{display:block;margin:0;padding:0;border:0;background:transparent}
html body .ze-standard-surface .ze-palette .custom-colors{display:grid;grid-template-columns:1fr;gap:16px;margin:0}
html body .ze-standard-surface .ze-palette .custom-color{display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px;align-items:center;min-width:0;padding:12px;border:1px solid #d7d6cf;border-radius:14px;background:#fffaf2}
html body .ze-standard-surface .ze-palette .custom-color label{grid-column:1/-1;margin:0;font-size:14px;font-weight:600;color:#173f73}
html body .ze-standard-surface .ze-palette .custom-color input[type=color]{display:block;width:44px;height:44px;min-height:44px;padding:3px;border:1px solid #dce0d2;border-radius:10px;background:#fff;cursor:pointer}
html body .ze-standard-surface .ze-palette .custom-color input[type=color]::-webkit-color-swatch{border:0;border-radius:6px}
html body .ze-standard-surface .ze-palette .custom-color input[type=text]{width:100%;height:44px;min-height:44px;padding:6px;border:1px solid #dce0d2;border-radius:10px;background:#fff;color:#173f73;font:500 16px/20px 'Avenir Next',sans-serif;text-align:center}
html body .ze-standard-surface :is(#swap-colors,#swapCustomColors){display:block;width:100%;min-height:44px;margin:16px 0;padding:8px;border:1px solid #cfceb9;border-radius:10px;background:#f7edcc;color:#173f73;font-size:13px}
html body .ze-standard-surface #custom-color-status:not(.is-error){display:none}
html body .ze-standard-surface .color-field{margin:0;padding:0;border:0}
html body .ze-standard-surface :is(#palette-options,#colorChoices){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
html body .ze-standard-surface :is(.palette-option,.palette-choice){display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;min-height:50px;padding:8px 5px;border:1px solid transparent;border-radius:10px;background:transparent;color:#173f73;font-size:12px;text-align:left}
html body .ze-standard-surface :is(.palette-option[aria-pressed=true],.palette-choice.active){border-color:#173f73;background:#f7edcc}
html body .ze-standard-surface :is(.palette-chips,.palette-choice>i){display:block;flex:0 0 29px;width:29px;height:29px;margin:0;border:1px solid #173f7355;border-radius:50%;overflow:hidden}
html body .ze-standard-surface .palette-chips>span{display:none}
html body .ze-standard-surface :is(.palette-option,.palette-choice)>span:last-child{font:inherit;white-space:nowrap}
html body .ze-standard-surface .ze-settings-group{padding:0;margin:0;border-bottom:1px solid #e7e1d5}
html body .ze-standard-surface .ze-settings-group>summary{padding:14px 0;min-height:48px;font:400 20px/1.5 ZaobaLayout,sans-serif;cursor:pointer;color:#173f73}
html body .ze-standard-surface .ze-settings-group[data-step='2']>summary{color:#a14553}
html body .ze-standard-surface .ze-settings-group[data-step='3']>summary{color:#416850}
html body .ze-standard-surface .ze-settings-group[data-step='4']>summary{color:#795944}
html body .ze-standard-surface :is(.text-layers,.frame-layout-texts){display:grid;gap:6px;margin:0 0 14px}
html body .ze-standard-surface :is(.text-layer,.frame-layout-texts button){display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:8px;border:1px solid #d7d6cf;border-radius:6px;background:#fffaf2;color:#173f73;font-size:14px;text-align:left}
html body .ze-standard-surface :is(.text-layer[aria-pressed=true],.frame-layout-texts button[aria-pressed=true]){border-color:#173f73;background:#e0eefb}
html body .ze-standard-surface .text-layer small{display:none}
html body .ze-standard-surface :is(#selected-text,#frameSelectedText){display:block;width:100%;min-height:76px;margin:10px 0;padding:10px;border:1px solid #d7d6cf;border-radius:7px;background:#fff;color:#173f73;font-family:inherit;font-size:16px;line-height:1.5;resize:vertical}
html body .ze-standard-surface .ze-text-actions{display:flex;align-items:center;justify-content:space-between;font-size:14px}
html body .ze-standard-surface .ze-text-actions button{min-height:44px;border:1px solid #d7d6cf;border-radius:6px;background:#fffaf2;color:#173f73;font-size:13px;padding:8px}
html body .ze-standard-surface .ze-inline-text{position:absolute;z-index:12;min-height:40px;padding:4px;border:1px solid #579bd7;border-radius:5px;background:#fffaf0;color:#173f73;resize:none;text-align:center;overflow:hidden;line-height:1.2}
@media(min-width:761px) and (max-width:1250px){html body .zl-editor.ze-standard-surface{grid-template-columns:70px 280px minmax(0,1fr)}html body .zl-editor.ze-standard-surface.zl-panel-collapsed{grid-template-columns:70px 0 minmax(0,1fr)}}
@media(max-width:760px){
 html body .zl-editor.ze-standard-surface,html body .zl-editor.ze-standard-surface.zl-panel-collapsed{grid-template-columns:minmax(0,1fr)}
 html body .ze-standard-surface .zl-inspector-head{padding:7px 14px 4px;min-height:40px}
 html body .ze-standard-surface .zl-panel-title{font-size:20px!important}
 html body .ze-standard-surface .zl-panel{padding:4px 14px 16px}
 html body .ze-standard-surface .zl-rail{padding:4px 10px calc(4px + env(safe-area-inset-bottom));gap:4px}
 html body .ze-standard-surface .zl-tool{flex:1;min-height:55px;font-size:12px!important}
 html body .ze-standard-surface .ze-canvas-title{font-size:18px}
 html body .ze-standard-surface .frame-canvas-toolbar{padding:8px 12px 4px;gap:4px}
 html body .ze-standard-surface .ze-view-modes{margin:4px auto}
 html body .ze-standard-surface .ze-view-modes button{min-height:36px;padding:5px 10px;font-size:12px}
 html body .ze-standard-surface .ze-history{right:10px!important;bottom:8px!important}
 html body .ze-standard-surface .ze-history button{min-width:72px!important;min-height:36px;height:36px;padding:4px 6px!important}
 html body .ze-standard-surface :is(#icon-options,#iconGrid){grid-template-columns:repeat(4,minmax(0,1fr))}
 html body .ze-standard-surface .zl-panel :is(.handdrawn-icon-option,.icon-tile){min-height:78px;padding:6px 4px}
}
/* These selectors deliberately outrank legacy product-specific IDs. */
html body .ze-standard-surface .zl-panel.ze-palette{padding:4px 18px 20px}
html body .ze-standard-surface :is(.zl-panel-title,.ze-canvas-title){font-weight:400!important}
html body .ze-standard-surface .ze-view-modes button[aria-pressed=true]{background:#173f73!important;color:#fffdf6!important}
html body .ze-standard-surface .ze-history button{border:0!important}
html body .ze-standard-surface .ze-add-content{min-height:44px!important;height:44px!important;font-family:inherit!important;font-size:14px!important}
html body .ze-standard-surface :is(.text-layer,.text-layer>span,.frame-layout-texts button){font-family:inherit;font-size:14px;font-weight:400}
html body .ze-standard-surface :is(.palette-choice.selected,.palette-choice[aria-pressed=true]){border-color:#173f73;background:#f7edcc}
html body .ze-standard-surface .palette-option:after{display:none}
html body .ze-standard-surface #empty-selection{display:none}
@media(max-width:760px){html body .ze-standard-surface .zl-panel.ze-palette{padding:4px 14px 16px}}

html body .ze-standard-surface #interaction-status:not(.layout-warning),html body .ze-standard-surface #constraintStatus:not(.warning){display:none}

@media(max-width:760px) and (max-height:650px){
 html body .zl-editor.ze-standard-surface:not(.zl-panel-collapsed){grid-template-rows:106px auto minmax(145px,1fr) minmax(90px,27dvh) calc(66px + env(safe-area-inset-bottom))!important}
}
html body .ze-standard-surface .ze-history button{height:44px!important;min-height:44px!important}
@media(max-width:760px){
 html body .zl-editor.ze-standard-surface{grid-template-rows:106px auto minmax(140px,1fr) minmax(100px,36dvh) calc(66px + env(safe-area-inset-bottom))!important}
 html body .zl-editor.ze-standard-surface.zl-panel-collapsed{grid-template-rows:106px auto minmax(140px,1fr) 0 calc(66px + env(safe-area-inset-bottom))!important}
 html body .ze-standard-surface .zl-stage #canvasQuickbar{bottom:64px!important}
}
@media(max-width:760px) and (max-height:650px){
 html body .zl-editor.ze-standard-surface:not(.zl-panel-collapsed){grid-template-rows:106px auto minmax(145px,1fr) minmax(90px,27dvh) calc(66px + env(safe-area-inset-bottom))!important}
}

html body .ze-standard-surface .ze-palette .free-colors{margin:0;padding:0;border:0;background:transparent}
html body .ze-standard-surface :is(.handdrawn-icon-preview,.icon-tile svg,.icon-tile img){width:54px;height:54px}
@media(max-width:760px){html body .ze-standard-surface :is(.handdrawn-icon-preview,.icon-tile svg,.icon-tile img){width:42px;height:42px}}

/* Theme-tinted entry and compact motif captions; library metadata stays in data. */
html body .ze-standard-surface #frameAddImage.ze-add-content{background:color-mix(in srgb,#efb5bc 24%,#fffaf0)!important}
html body .ze-standard-surface #iconLibrary>.image-motif-library-entry{display:none!important}
html body .ze-standard-surface .zl-panel :is(.handdrawn-icon-name,.icon-tile>span){display:block;white-space:nowrap;line-height:18px;margin:0;font-size:11px;font-weight:400}
html body .ze-standard-surface .zl-panel :is(.handdrawn-icon-option,.icon-tile){height:104px}
@media(max-width:760px){html body .ze-standard-surface .zl-panel :is(.handdrawn-icon-option,.icon-tile){height:78px}}
/* Frames follows the approved award library rhythm without extra flex gaps. */
html body .ze-standard-surface .zl-panel #iconLibrary{gap:0}
html body .ze-standard-surface .zl-panel #iconCategories{margin:10px 0;padding:2px 0 5px;gap:7px}
html body .ze-standard-surface .zl-panel #iconCategories button{min-height:34px;padding:6px 12px;font-size:12px;line-height:normal;border-radius:20px}
html body .ze-standard-surface .zl-panel #iconCategories button.active{background:#173f73;border-color:#173f73}
html body .ze-standard-surface .zl-panel #iconGrid{padding:3px;gap:8px}

/* Frame and Click: mobile document actions beside the product title. */
html body .ze-compact-tools .ze-history button{width:44px!important;min-width:44px!important;padding:6px!important}
html body .ze-compact-motifs .ze-motif-navigation{display:flex;align-items:center;gap:6px;margin:4px 0 10px;min-width:0}
html body .ze-compact-motifs .ze-motif-search-toggle{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;min-height:40px;padding:7px;border:1px solid var(--zl-border);border-radius:50%;background:transparent;color:var(--zl-ink)}
html body .ze-compact-motifs .ze-motif-navigation :is(#iconCategories,#icon-categories){flex:1;min-width:0;display:flex;flex-wrap:nowrap;overflow-x:auto;margin:0;padding:2px 0;gap:6px;scrollbar-width:none}
html body .ze-compact-motifs .ze-motif-navigation :is(#iconCategories,#icon-categories) button{flex:0 0 auto;white-space:nowrap}
html body .ze-compact-motifs .ze-motif-search-field{width:100%;margin:0 0 10px}
html body .ze-compact-motifs [hidden]{display:none!important}
@media(max-width:760px){
 html body .zl-editor.ze-compact-tools{grid-template-rows:66px auto minmax(140px,1fr) minmax(100px,36dvh) calc(66px + env(safe-area-inset-bottom))!important}
 html body .zl-editor.ze-compact-tools.zl-panel-collapsed{grid-template-rows:66px auto minmax(140px,1fr) 0 calc(66px + env(safe-area-inset-bottom))!important}
 html body .ze-compact-tools .zl-header{display:flex;align-items:center;gap:4px;padding:5px 6px;min-width:0}
 html body .ze-compact-tools .zl-back{flex:0 0 26px;min-width:26px;width:26px;height:44px}
 html body .ze-compact-tools .zl-back .zb-ui-symbol{width:22px!important;height:22px!important;flex-basis:22px!important}
 html body .ze-compact-tools .zl-brand{gap:4px;flex:0 1 auto;min-width:0}
 html body .ze-compact-tools .zl-logo{width:30px;height:30px;flex:0 0 30px}
 html body .ze-compact-tools .zl-title{font-size:22px!important;line-height:1.05;max-width:none;min-width:0;white-space:normal;overflow:visible;text-overflow:clip}
 html body .ze-compact-tools .zl-commands{margin-left:auto;width:auto;flex:0 0 auto;gap:1px}
 html body .ze-compact-tools .zl-header .ze-header-button{flex:none!important;flex-direction:column;gap:2px;width:44px!important;min-width:44px!important;height:54px;min-height:44px;padding:4px 2px!important;border:0!important;border-radius:10px!important;font-size:10px!important;line-height:14px}
 html body .ze-compact-tools .zl-header .ze-header-button.ze-primary-button{width:60px!important;min-width:60px!important}
 html body .ze-compact-tools .zl-header .ze-header-button .zb-ui-symbol{width:23px!important;height:23px!important;flex-basis:23px!important}
 html body .ze-compact-tools .zl-account{flex:0 0 28px;min-width:28px;width:28px;padding:2px 0;flex-direction:column;gap:2px;font-size:10px!important}
 html body .ze-compact-tools .zl-account .zb-ui-symbol{width:23px!important;height:23px!important;flex-basis:23px!important}
 html body .ze-compact-tools .ze-history{gap:0;padding:0!important}
}
@media(max-width:360px){html body .ze-compact-tools .zl-logo{width:28px;height:28px;flex-basis:28px}html body .ze-compact-tools .zl-title{font-size:20px!important}html body .ze-compact-tools .zl-header{gap:2px}}
@media(max-width:760px) and (max-height:650px){html body .zl-editor.ze-compact-tools:not(.zl-panel-collapsed){grid-template-rows:66px auto minmax(145px,1fr) minmax(90px,27dvh) calc(66px + env(safe-area-inset-bottom))!important}}

/* Keep the motif navigation visible while scrolling either mobile editor library. */
.ze-compact-tools .ze-motif-navigation{position:sticky;top:0;z-index:4;background:var(--paper,#fbf6ea);padding:4px 0 6px}

/* Frame + Click selection actions occupy their own row, outside the artwork. */
html body .ze-compact-tools .ze-canvas-dock{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:0 0 52px;min-height:52px;padding:3px 12px;box-sizing:border-box;background:#fffaf0;border-top:1px solid #173f7312;overflow:hidden;isolation:isolate}
html body .ze-compact-tools .ze-canvas-dock :is(.ze-selection-actions,#canvasQuickbar){position:static!important;inset:auto!important;transform:none!important;display:flex;align-items:center;flex:0 1 auto;gap:0;width:auto!important;max-width:none!important;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
html body .ze-compact-tools .ze-canvas-dock [hidden]{display:none!important}
html body .ze-compact-tools .ze-selection-actions #quickLabel{display:none}
html body .ze-compact-tools .ze-selection-actions #flipControls{display:flex;gap:0;margin:0;padding:0;border:0}
html body .ze-compact-tools .ze-canvas-dock .ze-selection-actions button{display:flex;align-items:center;justify-content:center;flex:0 0 44px;min-width:44px;width:44px;min-height:44px;height:44px;padding:6px;border:0;border-radius:10px;background:transparent;color:#173f73;font:500 13px/1 'Yuanti SC','PingFang SC',sans-serif;box-shadow:none;white-space:nowrap}
html body .ze-compact-tools .ze-selection-actions button[aria-pressed=true]{background:#e0eefb}
html body .ze-compact-tools .ze-selection-actions button.ze-selection-remove{color:#a14553}
html body .ze-compact-tools .ze-selection-actions button:focus-visible{outline:2px solid #173f73;outline-offset:-3px}
html body .ze-compact-tools .ze-canvas-dock .ze-history{position:static!important;inset:auto!important;flex:0 0 auto;margin:0 0 0 auto!important;padding:0!important;gap:0;border:0;background:transparent}
html body .ze-compact-tools .ze-selection-actions .zb-ui-symbol{width:30px!important;height:30px!important;flex-basis:30px!important}
html body .ze-compact-tools .frame-text-inspector #textFontControl{display:block;margin-top:10px}
html body .ze-compact-tools .frame-text-inspector #textFontControl[hidden]{display:none}
html body .click-editor-shell.ze-compact-tools .click-layer-editor{overflow:hidden}
html[data-editor-layout=frame] .ze-compact-tools .zl-stage .canvas-surface{padding-bottom:32px!important}

/* One motif browser rhythm. Only the product tint and actual catalog differ. */
html body .ze-compact-tools .zl-panel .ze-compact-motifs{display:block!important;height:auto!important;min-height:0!important;margin:0;padding:0;gap:0}
html body .ze-compact-tools .zl-panel .ze-motif-navigation{margin:0 0 8px;padding:3px 0 5px;gap:6px;background:#fffaf0}
html body .ze-compact-tools .zl-panel .ze-motif-search-toggle{box-sizing:border-box;flex:0 0 44px;width:44px;height:44px;min-height:44px;margin:0;padding:8px;border-radius:50%;box-shadow:none}
html body .ze-compact-tools .zl-panel .ze-motif-navigation .ze-motif-categories{margin:0;padding:0;gap:6px;align-items:center}
html body .ze-compact-tools .zl-panel .ze-motif-categories button{height:40px;min-height:40px;min-width:0;margin:0;padding:6px 12px;line-height:20px;font-family:inherit;font-size:12px;font-weight:400;border:1px solid #e2ddd2;border-radius:22px;box-shadow:none}
html body .ze-compact-tools .zl-panel .ze-motif-search-field{display:flex;align-items:center;box-sizing:border-box;width:100%;height:44px;min-height:44px;margin:0 0 10px;padding:0 10px;border:1px solid #d7d1c5;border-radius:11px;background:#fffdf6}
html body .ze-compact-tools .zl-panel .ze-motif-search-field input{box-sizing:border-box;width:100%;min-height:0;height:100%;margin:0;padding:0;border:0;border-radius:0;outline:none;background:transparent;color:#173f73;font:400 16px/20px inherit;font-size:16px;box-shadow:none}
html body .ze-compact-tools .zl-panel .ze-motif-search-field:focus-within{outline:2px solid #173f73;outline-offset:1px}
html body .ze-compact-tools .zl-panel .ze-compact-motifs :is(#icon-options,#iconGrid){grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;padding:3px;max-height:none;overflow:visible}
html body .ze-compact-tools .zl-panel .ze-compact-motifs :is(.icon-tile,.handdrawn-icon-option){box-sizing:border-box;height:104px;min-height:104px;padding:9px 5px;gap:4px;border-radius:12px;border-width:1px;box-shadow:none}
html body .ze-compact-tools .zl-panel .ze-compact-motifs :is(.icon-tile svg,.icon-tile img,.handdrawn-icon-preview){display:block;width:54px;height:54px;flex:0 0 54px;margin:0}
html body .ze-compact-tools .zl-panel .ze-compact-motifs :is(.icon-tile>span,.handdrawn-icon-name){font:400 11px/18px 'Yuanti SC','PingFang SC',sans-serif;margin:0;padding:0}
@media(max-width:760px){
 html body .ze-compact-tools .ze-canvas-dock{padding-inline:8px;gap:4px}
 html body .ze-compact-tools .zl-panel .ze-compact-motifs :is(#icon-options,#iconGrid){grid-template-columns:repeat(4,minmax(0,1fr))}
 html body .ze-compact-tools .zl-panel .ze-compact-motifs :is(.icon-tile,.handdrawn-icon-option){height:78px;min-height:78px;padding:6px 4px}
 html body .ze-compact-tools .zl-panel .ze-compact-motifs :is(.icon-tile svg,.icon-tile img,.handdrawn-icon-preview){width:42px;height:42px;flex-basis:42px}
}
/* Equal panel title rows and no obsolete space reserved for the old floating tools. */
html body .ze-compact-tools .zl-inspector-head{min-height:55px;box-sizing:border-box}
html body .ze-compact-tools .zl-inspector-head .zl-panel-close{height:44px;min-height:44px}
html body .click-editor-shell.ze-compact-tools .preview-panel{padding-bottom:0!important}
html.gift-click body .click-editor-shell.ze-compact-tools .click-preview-actions{display:none}
html body .ze-compact-tools .zl-panel .ze-motif-categories button{line-height:20px!important}
html body .ze-compact-tools .zl-panel .ze-motif-search-field input{font-size:16px!important;padding:0!important;min-height:0!important}
html body .ze-compact-tools .zl-panel .click-preview-actions{position:static;inset:auto;max-width:none;margin:12px 0;flex-wrap:wrap;justify-content:flex-start}
html body .ze-compact-tools .zl-panel .click-preview-actions:empty{display:none}
html body .ze-compact-tools .ze-canvas-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:32px}
html body .ze-compact-tools .ze-canvas-title-row .frame-group-tools{margin:0;gap:4px;font-size:11px;justify-content:flex-end}
html body .ze-compact-tools .ze-canvas-title-row .frame-group-tools button{min-height:32px;padding:4px 9px;font-size:11px}
html body .ze-compact-tools .ze-canvas-title-row #groupSelectionHint{display:none}
html body .ze-compact-tools .canvas-help:not(:has(.warning)):not(:has(#inlineTextError:not(:empty))){display:none}
@media(max-width:760px){html[data-editor-layout=frame] .ze-compact-tools .zl-stage .canvas-surface{padding:8px 24px 12px!important}}
html body .ze-compact-tools .ze-canvas-dock .ze-selection-actions button{border-radius:50%!important}
html body .click-editor-shell .ze-selection-actions button[aria-pressed=true]{background:#eee4f5!important}
html body .ze-compact-tools .zl-panel .ze-motif-navigation{top:-4px}
