/* POPOMO DIY Editor Workspace & Expanded Canvas Modal — Plan F Soft-Luxe Lavender.
   Preserves all canvas coordinate sizing, aspect-ratio, and transform behavior. */
.editor-flow{max-width:1320px;padding-top:20px;color:var(--popomo-ink,#18071A)}
.editor-flow>.steps{margin-bottom:22px}
.editor-flow .choose-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(340px,1fr);grid-template-rows:auto 1fr;grid-template-areas:"preview sources" "preview tools";align-items:start;gap:14px 28px}
.editor-flow .editor-sources{grid-area:sources;margin:0;min-height:48px;border:1px solid var(--popomo-border,rgba(96,43,135,.12));border-radius:999px;background:var(--popomo-surface-soft,#FAF8FD);padding:3px}
.editor-flow .editor-sources button{min-height:40px;border-radius:999px;font-weight:700;color:var(--popomo-ink-muted,#5E4D6B)}
.editor-flow .editor-sources button[aria-pressed=true]{background:var(--popomo-teal-deep,#602B87);color:#FFFFFF;box-shadow:0 2px 8px rgba(96,43,135,.26)}
.editor-flow .large-preview{grid-area:preview;height:560px;min-height:0;padding:56px 24px;overflow:hidden;border-radius:22px;top:18px;background:radial-gradient(rgba(96,43,135,.055) 1px,transparent 1px) 0 0/16px 16px,var(--popomo-bg,#F8F7FD);border:1px solid var(--popomo-border,rgba(96,43,135,.12))}
.editor-flow .large-case.artwork-canvas{width:205px;margin:0;flex-shrink:0}
.editor-flow .choose-details{grid-area:tools;max-width:none;min-width:0}

/* Crisp Orchid Canvas Selection Bounding Box & Corner Handles */
.artwork-canvas .artwork-selected{outline:2px dashed var(--popomo-teal-deep,#602B87);outline-offset:5px;border-radius:6px}
.artwork-canvas.whole-design-selected .phone-case{outline:2px dashed var(--popomo-teal-deep,#602B87);outline-offset:7px}
.artwork-gizmo{border:2px solid var(--popomo-teal-deep,#602B87);box-shadow:0 0 0 1px rgba(255,255,255,.9)}
.artwork-handle{background:#FFFFFF;color:var(--popomo-ink,#18071A);border:2px solid var(--popomo-teal-deep,#602B87);box-shadow:0 2px 8px rgba(24,7,26,.16)}
.artwork-handle:hover{background:var(--popomo-teal-soft,#E8DAF1);border-color:var(--popomo-teal-dark,#522059)}
.rotate-handle{background:var(--popomo-teal-deep,#602B87);color:#FFFFFF;border:1.5px solid #FFFFFF;box-shadow:0 2px 8px rgba(24,7,26,.2)}
.rotate-handle:hover{background:var(--popomo-teal-dark,#522059);color:#FFFFFF}
.rotation-stem{background:var(--popomo-teal-deep,#602B87);width:2px}
.artwork-selection-actions button{border:1px solid #F5C2C8;border-radius:999px;background:#FFF1F2;color:#C93B4B;font-weight:700;box-shadow:0 4px 12px rgba(201,59,75,.14)}
.artwork-selection-actions button:hover{background:#FFE0E3;border-color:#E89BA5}
.artwork-selection-actions button:focus-visible{outline:3px solid var(--popomo-teal-deep,#602B87);outline-offset:2px}
.design-thumbnail{border:1.5px solid var(--popomo-border,rgba(96,43,135,.12));border-radius:14px;transition:border-color .15s,box-shadow .15s,transform .12s}
.design-thumbnail:hover{border-color:var(--popomo-teal-deep,#602B87);transform:translateY(-1px)}
.design-thumbnail.selected{border-color:var(--popomo-teal-deep,#602B87);box-shadow:0 0 0 3px rgba(96,43,135,.18)}
.design-thumbnail-check{color:var(--popomo-teal-deep,#602B87);font-weight:800}
.visual-editor{border:1px solid var(--popomo-border,rgba(96,43,135,.12));border-radius:16px;background:var(--popomo-surface,#FFFFFF);box-shadow:var(--popomo-shadow-sm,0 4px 14px rgba(24,7,26,.045))}
.visual-editor-heading>span{color:var(--popomo-teal-deep,#602B87)}
.artwork-pieces button{border:1px solid var(--popomo-border,rgba(96,43,135,.12));border-radius:10px;background:var(--popomo-surface-soft,#FAF8FD);color:var(--popomo-ink,#18071A)}
.artwork-pieces button[aria-pressed=true]{border:1.5px solid var(--popomo-teal-deep,#602B87);background:var(--popomo-teal-soft,#E8DAF1);color:var(--popomo-teal-dark,#522059)}
.visual-editor-slider>span{color:var(--popomo-teal-deep,#602B87)}
.visual-editor-slider input[type=range]{accent-color:var(--popomo-teal-deep,#602B87)}
.artwork-tools{border-top:1px solid var(--popomo-border,rgba(96,43,135,.12))}
.artwork-tools button{border:1px solid var(--popomo-border-strong,rgba(24,7,26,.16));background:var(--popomo-surface-soft,#FAF8FD);border-radius:999px;color:var(--popomo-ink,#18071A);font-weight:600}
.artwork-tools button:hover{background:var(--popomo-teal-soft,#E8DAF1);border-color:var(--popomo-teal-deep,#602B87);color:var(--popomo-teal-dark,#522059)}
.artwork-pieces button:focus-visible,.design-thumbnail:focus-visible,.text-quick-tools button:focus-visible,.artwork-edit-text:focus-visible{outline:3px solid var(--popomo-teal-deep,#602B87);outline-offset:2px}

/* Editor Panels */
.editor-panel{padding:0;margin:0 0 10px;background:var(--popomo-surface,#FFFFFF);border:1px solid var(--popomo-border,rgba(96,43,135,.12));border-radius:16px;overflow:hidden}
.editor-panel>summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;padding:12px 14px;min-height:54px;font-size:13px;font-weight:700;color:var(--popomo-ink,#18071A)}
.editor-panel>summary::-webkit-details-marker{display:none}
.editor-panel>summary:focus-visible{outline:3px solid var(--popomo-teal-deep,#602B87);outline-offset:-3px;border-radius:14px}
.editor-tool-icon{width:30px;height:30px;flex-shrink:0;display:grid;place-items:center;background:var(--popomo-teal-soft,#E8DAF1);border:1px solid rgba(96,43,135,.18);border-radius:9px;color:var(--popomo-teal-deep,#602B87)}
.editor-panel>summary>small{margin-left:auto;font-size:11px;font-weight:600;color:var(--popomo-ink-muted,#5E4D6B);text-align:right}
.editor-chevron{margin-left:auto;flex-shrink:0;color:var(--popomo-teal-deep,#602B87);font-size:18px;line-height:1}
.editor-panel>summary>small+.editor-chevron{margin-left:4px}
.editor-panel[open]>.editor-panel-body{border-top:1px solid var(--popomo-border,rgba(96,43,135,.12))}
.editor-panel[open]>summary .editor-chevron{transform:rotate(180deg)}
.editor-panel-body{padding:15px}
.editor-panel .design-choices{margin:0;border:0}
.editor-panel .graphic-library,.editor-panel .text-editor{border:0;box-shadow:none;border-radius:0;padding:0;margin:0;background:none}
.editor-panel .text-editor{border-top:1px solid var(--popomo-border,rgba(96,43,135,.12));padding-top:18px;margin-top:18px}
.editor-panel .library-title h2,.editor-panel .text-editor h2{font-size:15px;font-weight:800;color:var(--popomo-ink,#18071A)}
.editor-panel .graphic-library>p,.editor-panel .text-editor>p{font-size:12px;color:var(--popomo-ink-muted,#5E4D6B)}

/* Embedded Studio Picker */
.editor-flow .studio-picker,.editor-flow .studio-picker:not([open]){padding:0;margin:0 0 10px;border-radius:14px;box-shadow:none}
.editor-flow .studio-picker>.ai-studio-top{padding:12px;min-height:54px;gap:10px}
.editor-flow .studio-picker .ai-studio-label{gap:10px;font-size:12px;letter-spacing:.5px}
.editor-flow .studio-picker .ai-studio-label>span:first-child{width:30px;height:30px;border-radius:9px}
.editor-flow .studio-picker .ai-studio-label>span:last-child{font-size:12px;letter-spacing:.4px}
.editor-flow .studio-picker .ai-studio-label small{display:none}
.editor-flow .studio-picker .ai-studio-chevron{margin-left:auto;font-size:18px}
.editor-flow .studio-picker .ai-studio-body{padding:16px 14px 14px;border-top:1px solid var(--popomo-border,rgba(96,43,135,.12))}
.editor-flow .studio-picker-intro>.eyebrow{display:none}
.editor-flow .studio-picker h2{font-size:24px}
.editor-flow .studio-picker .ai-studio-intro{margin:10px 0 16px}
.editor-flow .studio-picker .ai-case-gallery{max-height:390px}
.editor-flow .effect-selection{font-size:11px;line-height:1.5;margin:12px 0;color:var(--popomo-ink-muted,#5E4D6B)}

/* Next / Primary Action */
.editor-next{margin-top:18px}
.editor-next .button{border:0;border-radius:999px;background:linear-gradient(180deg,#652A6E 0%,#522059 100%);color:#FFFFFF;font-weight:700;justify-content:space-between;box-shadow:var(--popomo-shadow-pink,0 8px 22px rgba(92,38,98,.24));transition:background .15s,transform .12s,box-shadow .12s}
.editor-next .button:hover:not(:disabled){background:#4A1C50;transform:translateY(-1px);box-shadow:0 10px 26px rgba(92,38,98,.3)}
.editor-next .button:active:not(:disabled){transform:translateY(0)}
.editor-flow .photo-placeholder{padding:18px;max-width:320px}
.editor-flow .photo-placeholder h2{font-size:24px;font-weight:800;letter-spacing:-.5px;line-height:1.25;margin:10px 0 16px;color:var(--popomo-ink,#18071A)}
.editor-flow .photo-placeholder>svg{margin:0;color:var(--popomo-teal-deep,#602B87)}

/* Print Quote Summary */
.print-quote h2{font-size:21px;font-weight:800;letter-spacing:-.4px;margin:0 0 16px;color:var(--popomo-ink,#18071A)}
.print-quote dl{margin:0}
.print-quote dl>div{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid var(--popomo-border,rgba(96,43,135,.12));font-size:14px;line-height:1.5}
.print-quote dt{color:var(--popomo-ink-muted,#5E4D6B)}
.print-quote dd{margin:0;text-align:right;white-space:nowrap;font-weight:700;color:var(--popomo-ink,#18071A)}
.print-quote dl>.quote-total{padding-block:18px;margin-top:5px;border-bottom:0}
.print-quote .quote-total dt{font-weight:700;color:var(--popomo-ink,#18071A)}
.print-quote .quote-total dd{font-size:28px;font-weight:800;letter-spacing:-.5px;color:var(--popomo-teal-deep,#602B87)}
.quote-note{font-size:12px;color:var(--popomo-ink-muted,#5E4D6B);line-height:1.7;margin:8px 0 12px}
.review-flow .ai-order-card>.field-note{font-size:12px;line-height:1.6;margin:16px 0;color:var(--popomo-ink-muted,#5E4D6B)}

/* Mobile H5 Base Rules (<=767px) */
@media(max-width:767px){
 .is-editor>.header{width:calc(100% - 28px);height:56px;gap:12px}
 .is-editor>.header nav,.is-editor>.footer{display:none}
 .is-editor>.header .brand-wordmark{width:104px;height:auto}
 .is-editor>.header .saved-link{margin-left:auto;font-size:12px}
 .is-editor>.header .simple-language{margin-left:0}
 .is-editor>.header .simple-language select{min-height:38px}
 .editor-flow{width:calc(100% - 28px);padding:12px 0 calc(84px + env(safe-area-inset-bottom));min-height:calc(100svh - 56px)}
 .editor-flow>.steps{font-size:9px;gap:8px;margin:0 0 14px}
 .editor-flow .model-first{margin:0 0 10px;border-radius:14px}
 .editor-flow .model-first summary{min-height:44px;padding:10px 12px;font-size:12px}
 .editor-flow .choose-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;grid-template-areas:"sources" "preview" "tools";gap:10px}
 .editor-flow .editor-sources{min-height:44px;padding:3px}
 .editor-flow .editor-sources button{min-height:38px;padding:8px;font-size:12px}
 .editor-flow .large-preview{--editor-preview-height:clamp(260px,42svh,360px);position:relative;top:0;height:var(--editor-preview-height);min-height:0;padding:40px 20px;border-radius:16px}
 .editor-flow .large-case.artwork-canvas{width:calc((var(--editor-preview-height) - 70px)*.45);margin:0;left:0}
 .editor-flow .large-case.artwork-canvas:has(.text-quick-tools){left:-20px}
 .editor-panel,.editor-flow .studio-picker{margin-bottom:8px}
 .editor-panel>summary,.editor-flow .studio-picker>.ai-studio-top{min-height:48px;padding:9px 12px;font-size:13px}
 .editor-panel>summary>small{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .editor-panel-body{padding:12px}
 .editor-panel .design-thumbnail{height:84px}
 .editor-flow .studio-picker .ai-studio-body{padding:14px 12px 12px}
 .editor-next{position:fixed;bottom:0;left:0;right:0;z-index:20;background:rgba(255,255,255,.96);border-top:1px solid var(--popomo-border,rgba(96,43,135,.12));backdrop-filter:blur(12px);padding:10px 14px max(10px,env(safe-area-inset-bottom));margin:0}
 .editor-flow .editor-next .button{min-height:46px;padding:11px 18px;font-size:14px}
 .editor-flow .photo-placeholder h2{font-size:21px;margin:8px 0 13px}
 .editor-flow .photo-placeholder .button{min-height:42px;font-size:13px;padding:10px 16px}
 .review-flow>.steps{margin-bottom:20px}
 .review-flow .ai-heading{margin:18px 0}
 .review-flow .ai-heading h1{font-size:28px;line-height:1.15;margin:10px 0}
 .review-flow .ai-heading>p:last-child{font-size:13px;line-height:1.6}
 .review-flow .ai-order-layout{grid-template-columns:1fr;gap:14px}
 .review-flow .checkout-preview{display:grid;grid-template-columns:64px minmax(0,1fr);column-gap:18px;align-items:center;padding:16px;text-align:left;border-radius:16px}
 .review-flow .checkout-case{width:64px;margin:0;grid-column:1;grid-row:1 / span 3}
 .review-flow .checkout-preview h2{font-size:19px;grid-column:2;margin:0;align-self:end}
 .review-flow .checkout-preview>p{font-size:12px;grid-column:2;margin:6px 0;align-self:start}
 .review-flow .checkout-preview .effect-caption{grid-column:2;justify-content:flex-start;margin:0}
 .review-flow .ai-order-card{padding:20px 16px}
 .print-quote dl>div{font-size:13px;gap:10px}
}
@media(max-width:380px) and (max-height:700px){
 .editor-flow .large-preview{--editor-preview-height:220px}
 .editor-flow>.steps{display:none}
 .editor-flow .large-case.artwork-canvas{width:76px}
}

/* Fullscreen / Expanded Editable Canvas Modal (Plan F Soft-Luxe Lavender) */
.canvas-open-hit{position:absolute;inset:0;z-index:14;width:100%;border:0;background:transparent;display:flex;align-items:flex-end;justify-content:center;padding:14px;cursor:zoom-in;color:var(--popomo-ink,#18071A)}
.canvas-open-hit>span{display:flex;align-items:center;gap:7px;background:rgba(255,255,255,.95);border:1px solid var(--popomo-border,rgba(96,43,135,.12));border-radius:999px;box-shadow:var(--popomo-shadow-sm,0 4px 14px rgba(24,7,26,.045));padding:8px 14px;font-size:12px;font-weight:700;color:var(--popomo-teal-deep,#602B87)}
.canvas-open-hit:focus-visible{outline:3px solid var(--popomo-teal-deep,#602B87);outline-offset:-4px;border-radius:14px}
body.canvas-editor-open{overflow:hidden}
.canvas-editor{padding:0;border:1px solid var(--popomo-border,rgba(96,43,135,.12));border-radius:22px;margin:auto;width:min(1120px,calc(100% - 48px));height:calc(100dvh - 48px);max-width:none;max-height:none;background:var(--popomo-surface,#FFFFFF);color:var(--popomo-ink,#18071A);overflow:hidden;box-shadow:0 24px 64px rgba(24,7,26,.16)}
.canvas-editor::backdrop{background:rgba(24,7,26,.48);backdrop-filter:blur(6px)}
.canvas-editor[open]{display:flex;flex-direction:column}
.canvas-editor [hidden]{display:none!important}
.canvas-editor-header{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 24px;border-bottom:1px solid var(--popomo-border,rgba(96,43,135,.12));background:var(--popomo-surface,#FFFFFF);z-index:2}
.canvas-editor-header h2{font-size:18px;font-weight:800;letter-spacing:-.3px;margin:0 0 3px;color:var(--popomo-ink,#18071A)}
.canvas-editor-header span{font-size:12px;color:var(--popomo-ink-muted,#5E4D6B)}
.canvas-done{min-height:42px;display:flex;align-items:center;gap:8px;padding:9px 20px;background:linear-gradient(180deg,#652A6E 0%,#522059 100%);border:0;border-radius:999px;color:#FFFFFF;font-size:14px;font-weight:700;box-shadow:var(--popomo-shadow-pink,0 8px 22px rgba(92,38,98,.24));cursor:pointer;transition:background .15s,transform .12s,box-shadow .12s}
.canvas-done:hover{background:#4A1C50;transform:translateY(-1px);box-shadow:0 10px 24px rgba(92,38,98,.3)}
.canvas-done:active{transform:translateY(0)}
.canvas-stage{flex:1;min-height:0;position:relative;overflow:hidden}
.editor-flow .canvas-editor .large-preview{width:100%;height:100%;min-height:0;padding:52px 44px;position:relative;top:auto;border:0;border-radius:0;overflow:hidden;background:radial-gradient(rgba(96,43,135,.055) 1px,transparent 1px) 0 0/16px 16px,var(--popomo-bg,#F8F7FD)}
.editor-flow .canvas-editor .large-case.artwork-canvas{flex-shrink:0;left:0;margin:0;transform:none}
.canvas-editor .canvas-open-hit,.canvas-editor .artwork-selection-actions,.canvas-editor .artwork-reset,.canvas-editor .artwork-edit-text{display:none}
.canvas-editor .phone-case{box-shadow:0 18px 36px rgba(24,7,26,.16)}
.canvas-toolbar{position:relative;flex-shrink:0;min-height:168px;overscroll-behavior:contain;background:var(--popomo-surface,#FFFFFF);border-top:1px solid var(--popomo-border,rgba(96,43,135,.12));padding:14px 24px 16px;z-index:2}
.canvas-toolbar-heading,.canvas-size,.canvas-actions{display:flex;align-items:center;gap:12px}
.canvas-toolbar-heading{justify-content:space-between;min-height:34px}
.canvas-selection-label{margin:0;font-size:13px;font-weight:600;color:var(--popomo-teal-deep,#602B87);line-height:1.5}
.canvas-toolbar button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--popomo-border-strong,rgba(24,7,26,.16));background:var(--popomo-surface-soft,#FAF8FD);color:var(--popomo-ink,#18071A);min-height:40px;padding:8px 14px;border-radius:999px;font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.canvas-toolbar button:hover:not(:disabled){background:var(--popomo-teal-soft,#E8DAF1);border-color:var(--popomo-teal-deep,#602B87);color:var(--popomo-teal-dark,#522059)}
.canvas-toolbar-heading>button{min-height:34px;border:0;background:transparent;color:var(--popomo-teal-deep,#602B87);font-weight:700;padding:5px 0;flex-shrink:0}
.canvas-toolbar button:disabled,.canvas-size input:disabled{opacity:.4;cursor:default}
.canvas-size{gap:16px;margin:10px 0 8px}
.canvas-size label{font-size:13px;font-weight:700;color:var(--popomo-ink,#18071A);margin:0}
.canvas-size input[type=range]{flex:1;min-width:0;min-height:32px;height:32px;padding:0;border:0;accent-color:var(--popomo-teal-deep,#602B87)}
.canvas-size output{font-size:12px;font-weight:700;color:var(--popomo-teal-deep,#602B87);min-width:42px;text-align:right;font-variant-numeric:tabular-nums}
.canvas-actions{gap:8px}
.canvas-actions button{flex:1}
.canvas-actions .canvas-delete{color:#C93B4B;background:#FFF1F2;border-color:#F5C2C8}
.canvas-actions .canvas-delete:hover:not(:disabled){background:#FFE0E3;color:#A82435;border-color:#E89BA5}
.canvas-gesture-note{font-size:11px;line-height:1.5;color:var(--popomo-ink-muted,#5E4D6B);text-align:center;margin:10px 0 0}
.canvas-text-options{margin-left:auto;flex-shrink:0}
.canvas-text-options>summary{display:flex;gap:8px;justify-content:space-between;font-size:12px;font-weight:700;color:var(--popomo-teal-deep,#602B87);padding:8px 0;cursor:pointer;list-style:none}
.canvas-text-options>summary::-webkit-details-marker{display:none}
.canvas-text-options[open]>summary>span{transform:rotate(180deg)}
.canvas-text-style{position:absolute;bottom:100%;left:0;right:0;padding:14px 20px 18px;background:rgba(255,255,255,.98);border-top:1px solid var(--popomo-border,rgba(96,43,135,.12));box-shadow:0 -8px 24px rgba(24,7,26,.08);backdrop-filter:blur(12px)}
.canvas-editor .text-quick-tools{position:static;width:100%;display:grid;grid-template-columns:1fr 1fr 54px;gap:6px 16px;padding:8px 0 0;border:0;box-shadow:none;border-radius:0;background:transparent}
.canvas-editor .text-quick-tools>.quick-label{margin:0;font-size:11px;font-weight:700;color:var(--popomo-ink-muted,#5E4D6B)}
.canvas-editor .text-quick-tools>.quick-label:first-child{grid-column:1;grid-row:1}
.canvas-editor .text-quick-tools>.quick-label:nth-of-type(2){grid-column:2;grid-row:1}
.canvas-editor .quick-fonts{grid-column:1;grid-row:2;grid-template-columns:repeat(4,1fr);gap:5px;margin:0}
.canvas-editor .quick-fonts button{font-size:18px;height:36px;min-height:36px;padding:2px;border-radius:10px}
.canvas-editor .quick-colors{grid-column:2;grid-row:2;display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:0}
.canvas-editor .quick-colors button{min-height:24px;height:24px;width:24px;padding:0;background:var(--color);border-radius:50%;border:2px solid rgba(24,7,26,.2)}
.canvas-editor .quick-custom{grid-column:3;grid-row:1 / span 2;display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;font-size:10px;font-weight:700;color:var(--popomo-ink-muted,#5E4D6B)}
.canvas-editor .quick-custom input[type=color]{width:100%;min-height:36px;height:36px;border-radius:10px;border:1px solid var(--popomo-border-strong,rgba(24,7,26,.16))}
.canvas-editor button:focus-visible,.canvas-text-options summary:focus-visible{outline:3px solid var(--popomo-teal-deep,#602B87);outline-offset:2px}

@media(max-width:767px){
 .canvas-editor{width:100%;height:100dvh;border:0;border-radius:0;inset:0;margin:0;box-shadow:none}
 .canvas-editor-header{padding:max(12px,env(safe-area-inset-top)) 16px 12px}
 .canvas-editor-header h2{font-size:16px}
 .canvas-done{min-height:40px;padding:8px 16px;font-size:13px}
 .canvas-toolbar{padding:10px 16px max(14px,env(safe-area-inset-bottom))}
 .canvas-editor .text-quick-tools{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px;gap:6px 10px}
 .canvas-editor .quick-colors{gap:6px}
 .canvas-editor .quick-colors button{min-height:22px;width:22px;height:22px}
 .canvas-actions button{font-size:12px;padding:9px 10px}
 .canvas-selection-label{font-size:12px}
}
@media(max-height:500px) and (orientation:landscape){
 .canvas-editor[open]{display:grid;grid-template-columns:minmax(0,1fr) 290px;grid-template-rows:64px minmax(0,1fr)}
 .canvas-editor-header{grid-column:1 / -1}
 .canvas-stage{height:100%}
 .canvas-toolbar{height:100%;max-height:none;border-top:0;border-left:1px solid var(--popomo-border,rgba(96,43,135,.12))}
}
