/* The dock footprint remains one circle; action and tool panels never move it. */
.editor-fullpage .floating-toolbar.bubble-dock,
.editor-fullpage .floating-toolbar.bubble-dock.is-minimized{
  position:absolute;display:block;width:44px;height:44px;min-width:44px;max-width:44px;
  padding:0;margin:0;border:0;border-radius:50%;background:transparent;box-shadow:none;
  backdrop-filter:none;-webkit-backdrop-filter:none;overflow:visible;z-index:34;
}
.editor-fullpage .bubble-dock [data-bubble-toggle]{
  position:relative;display:grid;place-items:center;width:44px;height:44px;min-width:44px;
  padding:0;margin:0;box-sizing:border-box;border-radius:50%;border:1px solid #ffffff8c;
  background:radial-gradient(circle at 30% 20%,#ffffffa1,transparent 48%),linear-gradient(145deg,#faffff4a,#c6d9d22b);
  color:var(--theme-ink);box-shadow:inset 0 1px 2px #ffffffb3,inset 0 -2px 5px #526d6433,0 3px 12px #173b2e24;
  backdrop-filter:blur(14px) saturate(145%);-webkit-backdrop-filter:blur(14px) saturate(145%);
  touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:grab;
}
.editor-fullpage .bubble-dock [data-bubble-toggle]::before{
  content:"";position:absolute;inset:3px;border:1px solid #ffffff45;border-radius:50%;pointer-events:none;
}
.editor-fullpage .bubble-dock [data-bubble-toggle] .icon{width:20px;height:20px;opacity:.85;pointer-events:none}
.editor-fullpage .bubble-dock [data-bubble-toggle]:focus-visible,
.editor-fullpage .bubble-dock [data-bubble-actions]>button:focus-visible{outline:2px solid var(--theme-accent);outline-offset:3px}
.editor-fullpage .bubble-dock.is-dragging [data-bubble-toggle]{cursor:grabbing;box-shadow:inset 0 1px 2px #fffb,0 5px 16px #173b2e38}
.editor-fullpage .bubble-dock [data-bubble-actions]{
  position:absolute;display:grid;grid-template-columns:repeat(2,44px);grid-auto-rows:44px;gap:8px;
  width:96px;min-width:0;height:auto;box-sizing:border-box;padding:0;margin:0;overflow:auto;
  overscroll-behavior:contain;touch-action:pan-y;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;
}
.editor-fullpage .bubble-dock [data-bubble-actions]>button,
.editor-fullpage .bubble-dock.is-minimized [data-bubble-actions]>[data-toolbar-toggle]{
  display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;margin:0;
  border:1px solid var(--theme-line);border:1px solid color-mix(in srgb,var(--theme-line) 65%,transparent);border-radius:50%;
  color:var(--theme-ink);background:var(--theme-floating);background:color-mix(in srgb,var(--theme-floating) 88%,transparent);
  box-shadow:inset 0 1px 1px #ffffff40,0 2px 7px #173b2e20;touch-action:manipulation;
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
}
.editor-fullpage .bubble-dock [data-bubble-actions]>button .icon{width:21px;height:21px;pointer-events:none}
.editor-fullpage .bubble-dock [data-toolbar-panel]{max-width:calc(100vw - 16px);box-sizing:border-box;touch-action:pan-y}
.editor-fullpage .bubble-dock [data-bubble-actions][hidden],
.editor-fullpage .bubble-dock [data-toolbar-panel][hidden]{display:none!important}
/* Resting glass is quiet over paper; the center stays pale enough for its
   dark pencil to remain visible on dark artwork. Only paint changes, never
   the 44px hit target, pointer handling or action-panel opacity. */
.editor-fullpage .bubble-dock [data-bubble-toggle]{
  color:#3b5548;
  background:radial-gradient(circle at 50% 46%,#ffffff73 0%,#ffffff3d 43%,transparent 72%),linear-gradient(145deg,#faffff80,#e4eee863);
  border-color:#ffffff69;
  box-shadow:inset 0 1px 1px #ffffff70,inset 0 0 0 1px #52665812,0 1px 5px #173b2e0c;
  backdrop-filter:blur(7px) saturate(115%);-webkit-backdrop-filter:blur(7px) saturate(115%);
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease;
}
.editor-fullpage .bubble-dock [data-bubble-toggle]::before{border-color:#ffffff26}
.editor-fullpage .bubble-dock [data-bubble-toggle] .icon{opacity:.94}
.editor-fullpage .bubble-dock:not([data-bubble-state=rest]) [data-bubble-toggle],
.editor-fullpage .bubble-dock [data-bubble-toggle]:focus-visible,
.editor-fullpage .bubble-dock [data-bubble-toggle]:active,
.editor-fullpage .bubble-dock.is-dragging [data-bubble-toggle]{
  color:#243e34;
  background:radial-gradient(circle at 30% 20%,#ffffffe0,transparent 48%),linear-gradient(145deg,#faffffc7,#d4e4ddad);
  border-color:#ffffffa6;box-shadow:inset 0 1px 2px #ffffffb3,inset 0 -2px 5px #526d6433,0 3px 12px #173b2e24;
  backdrop-filter:blur(14px) saturate(145%);-webkit-backdrop-filter:blur(14px) saturate(145%);
}
@media(hover:hover){.editor-fullpage .bubble-dock [data-bubble-toggle]:hover{
  color:#243e34;background:radial-gradient(circle at 30% 20%,#ffffffe0,transparent 48%),linear-gradient(145deg,#faffffc7,#d4e4ddad);
  border-color:#ffffffa6;box-shadow:inset 0 1px 2px #ffffffb3,0 3px 12px #173b2e24;
}}
@media(prefers-reduced-motion:reduce){.editor-fullpage .bubble-dock [data-bubble-toggle]{transition:none}}
@media(prefers-reduced-transparency:reduce){.editor-fullpage .bubble-dock [data-bubble-toggle],.editor-fullpage .bubble-dock [data-bubble-actions]>button{background:var(--theme-panel)!important;color:var(--theme-ink)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}
@media(forced-colors:active){.editor-fullpage .bubble-dock [data-bubble-toggle],.editor-fullpage .bubble-dock [data-bubble-actions]>button{background:Canvas!important;color:ButtonText!important;border:1px solid ButtonText!important;box-shadow:none!important}}
