/* Marks retain their wall-relative geometry for every board edition. */
.wbe-layer,.wbe-permanent,.wbe-active {position:absolute;inset:0;pointer-events:none}
.wbe-layer {z-index:8;isolation:isolate}
.wbe-permanent {z-index:0;overflow:hidden}
.wbe-active {z-index:1}
.wbe-wall-overlay {z-index:8;right:auto;bottom:auto}
body.map-open .wbe-wall-overlay {filter:blur(2.8px);opacity:.63}
body.map-open .wbe-wall-overlay .wbe-draft {pointer-events:none}
.wbe-layer *,.wbe-panel,.wbe-panel * {box-sizing:border-box}
.wbe-post,.wbe-draft {position:absolute;transform-origin:center;margin:0;padding:0}
.wbe-post[role=button] {pointer-events:auto;cursor:pointer;-webkit-tap-highlight-color:transparent}
.wbe-post[role=button]:focus-visible {outline:2px solid var(--accent,#2048a8);outline-offset:3px}
.wbe-permanent[inert] .wbe-post {pointer-events:none}
.wbe-draft {
  pointer-events:auto;outline:1.5px dashed var(--line,#2048a8);color:var(--ink,#2048a8);
}
.wbe-draft:focus-visible {outline:2px solid var(--line,#2048a8)}
.wbe-draft[hidden],.wbe-panel[hidden],.wbe-hint[hidden] {display:none!important}
.wbe-text-face,.wbe-pdf-face,.wbe-draw-face {display:block;width:100%;height:100%}
.wbe-text-face {white-space:pre-wrap;overflow-wrap:anywhere;overflow:hidden;line-height:1.08;text-align:left;letter-spacing:normal;margin:0;padding:0}
.wbe-draft .wbe-text-edit {
  appearance:none;display:block;min-width:0;min-height:0;max-width:none;max-height:none;
  border:0;border-radius:0;outline:0;background:transparent;resize:none;cursor:text;
  touch-action:auto;user-select:text;-webkit-user-select:text;caret-color:currentColor;
}
.wbe-draft:focus-within {outline-style:solid}
.wbe-draft .wbe-pdf-face {cursor:grab;touch-action:none;user-select:none}
.wbe-draft .wbe-pdf-face:active {cursor:grabbing}
.wbe-draft .wbe-draw-face {touch-action:none;cursor:crosshair}
.wbe-pdf-face {display:grid;place-items:center;background:white;box-shadow:0 1px 3px #10172b30;color:#202024;text-decoration:none;overflow:hidden}
a.wbe-pdf-face {pointer-events:auto;cursor:pointer}
a.wbe-pdf-face:focus-visible {outline:2px solid var(--line,#2048a8)}
.wbe-pdf-face canvas {width:100%;height:100%;display:block;object-fit:contain}
.wbe-pdf-fallback {font:500 .85rem/1.25 system-ui,sans-serif;padding:.5em;word-break:break-word}
.wbe-draw-hint {display:none}
.wbe-draft.wbe-empty .wbe-draw-hint {
  display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none;
  color:var(--ink,#174394);font:400 1rem/1.2 var(--ui-font,"Kalam",cursive);white-space:nowrap;
}
.wbe-draft .wbe-handle {
  position:absolute;z-index:1;display:grid;place-items:center;width:24px;height:24px;padding:0;margin:0;
  border:1px solid var(--line,#2048a8);border-radius:0;color:var(--ink,#2048a8);background:var(--paper,white);
  font:500 17px/1 Arial,sans-serif;touch-action:none;user-select:none;box-shadow:none;
}
.wbe-handle.wbe-move {top:0;left:0;transform:translate(-50%,-50%);cursor:move}
.wbe-handle.wbe-rotate {top:0;right:0;transform:translate(50%,-50%);cursor:grab;border-radius:50%}
.wbe-handle.wbe-scale,.wbe-handle.wbe-bounds {bottom:0;right:0;transform:translate(50%,50%);cursor:nwse-resize}
.wbe-draft .wbe-handle {width:26px;height:26px;-webkit-user-select:none;-webkit-touch-callout:none}
.wbe-draft .wbe-handle::before {content:"";position:absolute;inset:-3px}
@media(pointer:coarse) {.wbe-draft .wbe-handle::before{inset:-8px}}

/* One sheet grows from the original text, draw, or PDF button. */
#tool-rack,.tool-list {position:relative}
[data-editor-open]>[data-tool],[data-editor-open]>.tool {visibility:hidden;pointer-events:none}
.wbe-panel {
  --rule:var(--line,#2353a6);--pen:var(--ink,#153e93);--sheet:var(--paper,#fff);
  --wash:color-mix(in srgb,var(--rule) 9%,transparent);
  --divider:color-mix(in srgb,var(--rule) 36%,var(--sheet));--panel-tint:#f3eee5;
  position:absolute;inset:0;z-index:4;display:flex;flex-direction:column;min-width:0;min-height:0;
  overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--rule) transparent;
  container-type:inline-size;border:1px solid var(--rule);border-radius:13px;
  background:var(--sheet);color:var(--pen);font:400 1rem/1.2 var(--ui-font,"Kalam",cursive);
  animation:wbe-open .29s cubic-bezier(.22,.7,.27,1) both;transform-origin:top;
}
.wbe-panel[data-kind=draw] {--panel-tint:#e8eee5;transform-origin:center}
.wbe-panel[data-kind=pdf] {--panel-tint:#e8edf1;transform-origin:bottom}
.wbe-panel>* {min-width:0;flex-shrink:0}
.wbe-panel button,.wbe-panel input,.wbe-panel textarea {font-family:inherit;letter-spacing:inherit;color:inherit}
.wbe-panel button,.wbe-panel input[type=color],.wbe-panel input[type=range] {cursor:pointer}
.wbe-panel button {padding:0;margin:0;border:1px solid transparent;border-radius:6px;background:transparent;box-shadow:none}
.wbe-panel button:disabled {cursor:default;opacity:.4}
.wbe-panel :is(button,input,textarea):focus-visible,.wbe-file-label:focus-within,.wbe-custom-label:focus-within {
  outline:2px solid var(--accent,var(--rule));outline-offset:-2px;
}
.wbe-panel .wbe-title {
  margin:0;padding:.5rem .58rem .32rem;border-bottom:1px solid var(--divider);font:inherit;background:var(--panel-tint);
  font-size:clamp(1.05rem,13cqi,1.6rem);line-height:1.1;overflow-wrap:anywhere;text-align:left;
}
.wbe-tiles {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(24px,1fr));
  align-items:stretch;justify-items:stretch;gap:1px;padding:.14em .28em;flex:1.8 0 64px;
  border-bottom:1px solid var(--divider);
}
.wbe-panel .wbe-tile {
  display:grid;place-items:center;min-width:0;text-align:center;line-height:1;
  font-size:clamp(1.13rem,16cqi,2.15rem);position:relative;
}
.wbe-panel .wbe-tile:hover,.wbe-panel .wbe-subbutton:hover:enabled,.wbe-footer button:hover:enabled {background:var(--wash)}
.wbe-panel .wbe-tile[aria-pressed=true] {background:var(--panel-tint);border-color:var(--rule)}
.wbe-brushes {display:flex;flex-direction:column;flex:1.8 0 93px}
.wbe-brush-caption {display:flex;align-items:center;justify-content:space-between;gap:.3em;padding:.18em .45em 0;line-height:1.05;font-size:clamp(.8rem,10cqi,1rem)}
.wbe-brush-sample {display:block;width:min(53%,90px);height:auto}
.wbe-brushes .wbe-tiles {flex:1 1 auto;grid-template-columns:repeat(3,minmax(0,1fr));padding:.2em;gap:2px}
.wbe-brushes .wbe-tile {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:2px 0}
.wbe-brush-name {font:550 clamp(9px,6cqi,11px)/1.12 var(--body-font,system-ui);white-space:normal}
.wbe-tile svg {display:block;width:clamp(1.4rem,23cqi,2.65rem);height:auto;max-height:4vh;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.wbe-colors {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(17px,1fr));
  place-items:stretch;gap:1px;padding:.14em .25em;flex:1 0 43px;border-bottom:1px solid var(--divider);
}
.wbe-panel .wbe-swatch,.wbe-custom-label {position:relative;display:grid;place-items:center;min-width:0;width:100%;height:100%}
.wbe-swatch::before,.wbe-custom-label>span {
  content:"";display:grid;place-items:center;width:clamp(12px,13cqi,23px);aspect-ratio:1;border-radius:50%;
  border:1px solid var(--swatch);background:repeating-linear-gradient(130deg,transparent 0 2px,#ffffff9c 2px 3px),var(--swatch);
}
.wbe-swatch[aria-pressed=true]::before {outline:1px solid var(--pen);outline-offset:2px}
.wbe-custom-label>span {
  border:1px dashed var(--rule);background:var(--custom-color,transparent);color:var(--pen);font:500 .9rem/1 system-ui,sans-serif;
}
.wbe-custom {position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.wbe-size {
  display:grid;grid-template-columns:1fr auto;align-content:center;align-items:center;column-gap:.2em;
  flex:0.6 0 36px;padding:.22em .43em;font-size:clamp(.8rem,10cqi,1rem);line-height:1.03;
}
.wbe-size output {font-variant-numeric:tabular-nums}
.wbe-art-scale {
  display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;border-top:1px solid var(--divider);
  padding:0 .2rem 0 .43em;font-size:clamp(.77rem,9cqi,.96rem);line-height:1.12;
}
.wbe-art-scale button {min-width:1.6rem;min-height:1.75rem;font:500 1rem/1 system-ui,sans-serif}
.wbe-art-scale button:hover:enabled {background:var(--wash)}
.wbe-range {width:100%;grid-column:1/-1;height:.85rem;margin:0;accent-color:var(--rule)}
.wbe-history,.wbe-footer {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;border-top:1px solid var(--divider);padding:3px}
.wbe-history {flex:0 0 auto;min-height:26px}
.wbe-history button {font:400 1.15rem/1.15 system-ui,sans-serif}
.wbe-footer {margin-top:auto;flex:none;background:var(--sheet)}
.wbe-footer button {min-height:1.95rem;padding:.18em .12em .08em;font-size:clamp(.8rem,10cqi,1.05rem);line-height:1.15}
.wbe-footer .wbe-confirm:enabled {background:var(--pen);color:var(--sheet);font-weight:600}
.wbe-hint {background:var(--sheet);color:#9f2f24;font-size:.8rem;line-height:1.2;padding:.25rem;border-top:1px solid var(--rule);overflow-wrap:anywhere}
.wbe-file-label {
  position:relative;margin:clamp(.35rem,6cqi,.7rem);flex:1 0 65px;display:grid;place-items:center;align-content:center;gap:.35rem;
  border:1.5px dashed var(--rule);border-radius:9px;text-align:center;padding:.45em;cursor:pointer;
}
.wbe-file-label:hover,.wbe-panel.wbe-drop-target .wbe-file-label {background:var(--panel-tint)}
.wbe-file-limit {font:500 clamp(.65rem,7cqi,.8rem)/1.2 var(--body-font,system-ui)}
.wbe-drop-target:is(.wbe-panel,[data-tool=pdf]) {outline:2px solid var(--accent,#2048a8);outline-offset:-3px}
.wall-canvas.wbe-drop-target::after {
  content:"Drop PDF to preview";position:absolute;inset:8px;z-index:12;display:grid;place-content:center;pointer-events:none;
  border:2px dashed var(--accent,#2048a8);border-radius:12px;background:color-mix(in srgb,var(--paper,#fff) 74%,transparent);
  color:var(--ink,#263026);font:600 clamp(1.1rem,3vw,2rem)/1.2 var(--ui-font,system-ui);
}
.wbe-file-name {width:100%;overflow-wrap:anywhere;font-size:clamp(.82rem,10cqi,1.1rem);line-height:1.3}
.wbe-file {position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
html[data-design=plan] .wbe-panel {font-size:.9rem}
html[data-design=plan] .wbe-title {text-transform:uppercase;letter-spacing:.075em;font-size:clamp(.85rem,9cqi,1.2rem);padding-block:.55em}
html[data-design=plan] .wbe-swatch::before,html[data-design=ink] .wbe-swatch::before {background:var(--swatch)}
html[data-design=plan] .wbe-swatch::before {border-radius:0}
html[data-design=plan] .wbe-tile[aria-pressed=true]::after,html[data-design=ink] .wbe-tile[aria-pressed=true]::after {transform:none}
html[data-design=ink] .wbe-panel {background:var(--sheet)}
html[data-design=ink] .wbe-title {font-size:clamp(1.1rem,15cqi,1.85rem);padding-block:.4em}
html[data-design=ink] .wbe-footer .wbe-confirm:enabled {background:var(--pen);color:var(--sheet)}
@keyframes wbe-open {from{opacity:.4;transform:scaleY(.3)}to{opacity:1;transform:scaleY(1)}}
@media (prefers-reduced-motion:reduce) {.wbe-panel{animation:none}}
@container (max-width:90px) {
  .wbe-panel .wbe-title {padding:.2em .15em}
  .wbe-footer button {font-size:.72rem}
  .wbe-file-label {margin:.2rem}
}

/* In the print workspace the controls occupy their own rail. Only the options scroll. */
[data-editor-ui=full] .wbe-panel {
  --sheet:var(--ds-surface);
  --pen:var(--ds-text);
  --rule:var(--ds-border-input);
  --divider:var(--ds-border);
  --wash:var(--ds-background-neutral-subtle-hovered);
  --panel-tint:var(--ds-background-selected);
  overflow:hidden;
  font:var(--ds-font-body);
  color:var(--ds-text);
  background:var(--sheet);
  border:var(--ds-border-width) solid var(--ds-border);
  border-radius:var(--ds-radius-medium);
  animation:none;
}
[data-editor-ui=full] #editor-panel .wbe-title {
  padding:var(--ds-space-150) var(--ds-space-200);
  font:var(--ds-font-heading-small);
  letter-spacing:-.015em;
  color:var(--ds-text);
  background:var(--ds-surface);
}
[data-editor-ui=full] .wbe-options {
  flex:0 1 auto; min-height:0; min-width:0;
  display:flex; flex-direction:column; gap:var(--ds-space-150);
  padding:var(--ds-space-150) var(--ds-space-200);
  overflow:auto; overscroll-behavior:contain; scrollbar-width:thin;
}
[data-editor-ui=full] .wbe-options > * {flex:none;min-width:0}
[data-editor-ui=full] .wbe-draft {
  outline:var(--ds-border-width) dashed var(--ds-border-selected);
}
[data-editor-ui=full] .wbe-draft:focus-within {outline-style:solid}
[data-editor-ui=full] .wbe-draft:focus-visible {outline:var(--ds-border-width-focused) solid var(--ds-border-focused)}
[data-editor-ui=full] .wbe-draft .wbe-handle {
  right:auto;bottom:auto;width:calc(var(--ds-space-500) + var(--ds-space-050));height:calc(var(--ds-space-500) + var(--ds-space-050));
  transform:translate(-50%,-50%);border:0;border-radius:var(--ds-radius-full);background:transparent;
}
[data-editor-ui=full] .wbe-draft .wbe-handle::before {content:none}
[data-editor-ui=full] .wbe-grip {
  display:grid;place-items:center;width:var(--ds-space-400);height:var(--ds-space-400);
  border:var(--ds-border-width) solid var(--ds-border-selected);border-radius:var(--ds-radius-medium);
  background:var(--ds-surface-overlay);color:var(--ds-icon-selected);box-shadow:var(--ds-shadow-raised);pointer-events:none;
}
[data-editor-ui=full] .wbe-rotate .wbe-grip {border-radius:var(--ds-radius-full)}
[data-editor-ui=full] .wbe-grip svg {
  display:block;width:var(--ds-space-200);height:var(--ds-space-200);fill:none;stroke:currentColor;
  stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;
}
[data-editor-ui=full] .wbe-draft .wbe-handle:active .wbe-grip {background:var(--ds-background-selected-bold);color:var(--ds-text-inverse)}
[data-editor-ui=full] :is(.wbe-field-label,.wbe-brush-caption,.wbe-size,.wbe-art-scale) {font:var(--ds-font-body);font-weight:var(--ds-font-weight-medium)}
[data-editor-ui=full] .wbe-field {display:grid;gap:var(--ds-space-050)}
[data-editor-ui=full] .wbe-compact-choice {display:none}
[data-editor-ui=full] .wbe-tiles {
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto;
  flex:none;gap:var(--ds-space-050);padding:0;border:0;
}
[data-editor-ui=full] .wbe-panel .wbe-tile {
  min-height:var(--ds-space-500);padding:var(--ds-space-050);border:var(--ds-border-width) solid var(--ds-border);border-radius:var(--ds-radius-small);
  font:var(--ds-font-body);color:var(--ds-text);background:var(--ds-surface);
}
[data-editor-ui=full] .wbe-panel .wbe-tile[aria-pressed=true] {
  border-color:var(--ds-border-selected);box-shadow:inset 0 0 0 var(--ds-border-width) var(--ds-border-selected);
  background:var(--ds-background-selected);color:var(--ds-text-selected);
}
[data-editor-ui=full] .wbe-brushes {display:grid;gap:var(--ds-space-050)}
[data-editor-ui=full] .wbe-brush-caption {min-height:var(--ds-space-250);padding:0}
[data-editor-ui=full] .wbe-brush-sample {width:var(--ds-space-800);height:var(--ds-space-200)}
[data-editor-ui=full] .wbe-brushes .wbe-tiles {grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto;gap:var(--ds-space-050);padding:0}
[data-editor-ui=full] .wbe-brushes .wbe-tile {min-height:var(--ds-space-500);gap:0}
[data-editor-ui=full] .wbe-brush-name {font:var(--ds-font-body-small);line-height:1.15}
[data-editor-ui=full] .wbe-tile svg {width:var(--ds-space-250);height:var(--ds-space-250);max-height:none}
[data-editor-ui=full] .wbe-colors {
  display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:auto;gap:0;
  border:0;padding:0;
}
[data-editor-ui=full] .wbe-colors :is(.wbe-swatch,.wbe-custom-label) {min-height:var(--ds-space-500);border-radius:var(--ds-radius-small)}
[data-editor-ui=full] .wbe-colors {--swatch-size:var(--ds-space-300)}
[data-editor-ui=full] .wbe-swatch::before {width:var(--swatch-size);background:var(--swatch);border:var(--ds-border-width) solid var(--ds-border-input)}
[data-editor-ui=full] .wbe-swatch[aria-pressed=true]::before,[data-editor-ui=full] .wbe-custom-label[data-selected]>span {outline:var(--ds-border-width-selected) solid var(--ds-border-selected);outline-offset:var(--ds-space-025)}
[data-editor-ui=full] .wbe-custom-label>span {width:var(--swatch-size);background:var(--custom-color,var(--ds-background-neutral));border-color:var(--ds-border-input)}
[data-editor-ui=full] .wbe-custom-label[data-selected]>span {color:transparent;border-style:solid}
[data-editor-ui=full] :is(.wbe-swatch[aria-pressed=true],.wbe-custom-label[data-selected])::after {
  content:"✓";position:absolute;display:grid;place-items:center;pointer-events:none;
  left:calc(50% + var(--swatch-size)/2 - var(--ds-space-100));
  top:calc(50% + var(--swatch-size)/2 - var(--ds-space-100));
  width:var(--ds-space-200);height:var(--ds-space-200);border-radius:var(--ds-radius-full);
  border:var(--ds-border-width) solid var(--ds-surface);background:var(--ds-background-selected-bold);color:var(--ds-text-inverse);
  font:var(--ds-font-heading-xxsmall);
}
[data-editor-ui=full] .wbe-size {padding:0;align-content:start;gap:var(--ds-space-025) var(--ds-space-100)}
[data-editor-ui=full] .wbe-size output {font:var(--ds-font-body-small);color:var(--ds-text-subtle)}
[data-editor-ui=full] .wbe-range {height:var(--ds-space-400);accent-color:var(--ds-background-selected-bold)}
[data-editor-ui=full] .wbe-art-scale {gap:var(--ds-space-050);padding:0;border:0}
[data-editor-ui=full] :is(.wbe-art-scale,.wbe-history) button {min-width:var(--ds-space-500);min-height:var(--ds-space-500);border-radius:var(--ds-radius-small);border-color:var(--ds-border);color:var(--ds-text)}
[data-editor-ui=full] .wbe-history {min-height:0;gap:var(--ds-space-050);padding:0;border:0}
[data-editor-ui=full] .wbe-history .wbe-field-label {grid-column:1/-1}
[data-editor-ui=full] .wbe-history button {font:var(--ds-font-body)}
[data-editor-ui=full] .wbe-panel .wbe-file-label {
  min-height:var(--ds-space-1000);margin:0;padding:var(--ds-space-200);gap:var(--ds-space-050);
  border-color:var(--ds-border-input);border-radius:var(--ds-radius-medium);background:var(--ds-surface-sunken);
}
[data-editor-ui=full] .wbe-panel .wbe-file-name {font:var(--ds-font-heading-xsmall)}
[data-editor-ui=full] .wbe-panel .wbe-file-limit {font:var(--ds-font-body-small);color:var(--ds-text-subtle)}
[data-editor-ui=full] .wbe-panel.wbe-drop-target .wbe-file-label {background:var(--ds-background-selected);border-color:var(--ds-border-selected)}
[data-editor-ui=full] .wbe-hint {max-height:4.5em;overflow:auto;padding:var(--ds-space-075) var(--ds-space-150);background:var(--ds-background-neutral);color:var(--ds-text);border-color:var(--ds-border);font:var(--ds-font-body-small)}
[data-editor-ui=full] .wbe-footer {
  display:flex;align-items:center;justify-content:flex-end;gap:var(--ds-space-075);margin:0;
  padding:var(--ds-space-100) var(--ds-space-150);background:var(--ds-surface);border-color:var(--ds-border);
}
[data-editor-ui=full] .wbe-cost {min-width:0;flex:1;font:var(--ds-font-body-small);font-variant-numeric:tabular-nums;color:var(--ds-text-subtle)}
[data-editor-ui=full] .wbe-cost.over {color:var(--ds-text-danger)}
[data-editor-ui=full] #editor-panel .wbe-footer button {
  min-height:var(--ds-space-500);padding:var(--ds-space-075) var(--ds-space-150);font:var(--ds-font-body);font-weight:var(--ds-font-weight-semibold);border-radius:var(--ds-radius-small);
}
[data-editor-ui=full] .wbe-footer .wbe-confirm:enabled {background:var(--ds-background-brand-bold);color:var(--ds-text-inverse)}
[data-editor-ui=full] .wbe-footer .wbe-confirm:disabled {background:var(--ds-background-disabled);color:var(--ds-text-disabled);opacity:1}
[data-editor-ui=full] .wbe-panel .wbe-discard {background:var(--ds-background-neutral)}
[data-editor-ui=full] .wbe-panel :is(button,input):focus-visible,[data-editor-ui=full] .wbe-panel label:focus-within:has(input:focus-visible) {
  outline:var(--ds-border-width-focused) solid var(--ds-border-focused);outline-offset:-2px;
}
/* A temporary writing surface separates the caret and letters from older marks.
   Focus leaves the textarea during a transform, revealing the actual wall. */
[data-editor-ui=full] #wall-app[data-wall] .wbe-draft .wbe-text-edit:focus {
  background-color:Canvas;background-color:contrast-color(currentColor);
  -webkit-text-stroke:0;filter:none;text-shadow:none!important;
}
@media (hover:hover) and (pointer:fine) {
  [data-editor-ui=full] .wbe-panel :where(button:enabled:not([aria-pressed=true])):hover,
  [data-editor-ui=full] .wbe-panel .wbe-file-label:hover {background:var(--ds-background-neutral-hovered)}
  [data-editor-ui=full] .wbe-panel .wbe-confirm:enabled:hover {background:var(--ds-background-brand-bold-hovered)}
}
@media (prefers-reduced-motion:no-preference) {
  [data-editor-ui=full][data-input=pointer] .wbe-panel button {transition:transform 120ms var(--press-ease)}
  [data-editor-ui=full][data-input=pointer] .wbe-panel button:enabled:active {transform:scale(.97)}
}
@media (max-width: 44rem) {
  [data-editor-ui=full] #editor-panel .wbe-title {
    font:var(--ds-font-heading-xsmall);padding:var(--ds-space-075) var(--ds-space-150);
  }
  [data-editor-ui=full] .wbe-options {
    display:grid;grid-template-columns:minmax(0,1fr) repeat(2,minmax(0,.56fr));
    align-content:start;align-items:start;gap:var(--ds-space-075) var(--ds-space-100);
    padding:var(--ds-space-100) var(--ds-space-150);overflow-x:hidden;overflow-y:auto;
  }
  [data-editor-ui=full] .wbe-options .wbe-field:has(.wbe-tiles),[data-editor-ui=full] .wbe-brushes {grid-column:1;grid-row:1}
  [data-editor-ui=full] .wbe-options .wbe-field:has(.wbe-colors) {grid-column:2/-1;grid-row:1}
  [data-editor-ui=full] .wbe-brushes,[data-editor-ui=full] .wbe-field {gap:var(--ds-space-025)}
  [data-editor-ui=full] .wbe-brush-sample {display:none}
  [data-editor-ui=full] .wbe-options :is(.wbe-brush-caption,.wbe-field-label,.wbe-size,.wbe-art-scale) {
    min-height:0;font:var(--ds-font-body-small);font-weight:var(--ds-font-weight-semibold);
  }
  [data-editor-ui=full] .wbe-options .wbe-tiles {position:relative;display:block}
  [data-editor-ui=full] .wbe-options .wbe-tile {display:none}
  [data-editor-ui=full] .wbe-options .wbe-compact-choice {
    display:block;appearance:none;width:100%;min-width:0;min-height:var(--ds-space-400);
    padding:var(--ds-space-025) var(--ds-space-300) var(--ds-space-025) var(--ds-space-100);
    border:var(--ds-border-width) solid var(--ds-border-input);border-radius:var(--ds-radius-small);
    font:var(--ds-font-body);color:var(--ds-text);background:var(--ds-background-input);
  }
  [data-editor-ui=full] .wbe-options .wbe-tiles::after {
    content:"";position:absolute;top:38%;right:var(--ds-space-100);pointer-events:none;
    width:var(--ds-space-075);height:var(--ds-space-075);border:solid var(--ds-icon-subtle);
    border-width:0 var(--ds-border-width-selected) var(--ds-border-width-selected) 0;transform:rotate(45deg);
  }
  [data-editor-ui=full] .wbe-compact-choice:focus-visible {outline:var(--ds-border-width-focused) solid var(--ds-border-focused);outline-offset:-2px}
  [data-editor-ui=full] .wbe-colors :is(.wbe-swatch,.wbe-custom-label) {min-height:var(--ds-space-400)}
  [data-editor-ui=full] .wbe-colors {--swatch-size:var(--ds-space-250)}
  [data-editor-ui=full] .wbe-options .wbe-size {grid-column:1;grid-row:2}
  [data-editor-ui=full] .wbe-options .wbe-art-scale {grid-column:2;grid-row:2}
  [data-editor-ui=full] .wbe-options .wbe-history {grid-column:3;grid-row:2}
  [data-editor-ui=full] .wbe-options :is(.wbe-art-scale,.wbe-history) {
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-025);
  }
  [data-editor-ui=full] .wbe-art-scale span {grid-column:1/-1}
  [data-editor-ui=full] .wbe-options :is(.wbe-art-scale,.wbe-history) button {
    min-width:0;min-height:var(--ds-space-400);padding:0;font:var(--ds-font-body-small);
  }
  [data-editor-ui=full] .wbe-options .wbe-art-scale button {font:var(--ds-font-heading-xsmall)}
  [data-editor-ui=full] .wbe-panel[data-kind=text] .wbe-size {grid-column:1/-1}
  [data-editor-ui=full] .wbe-panel .wbe-file-label {grid-column:1/-1;min-height:var(--ds-space-800);padding:var(--ds-space-100)}
  [data-editor-ui=full] .wbe-footer {padding:var(--ds-space-050) var(--ds-space-150)}
  [data-editor-ui=full] #editor-panel .wbe-footer button {min-height:var(--ds-space-400)}
}
