/* R286: no text-formatting title, helper caption, or x button. The toolbar is
   moved and dismissed by the existing pointer/selection handlers. */
:is(.r10-editor,.screen-builder-modal) .tg-format-palette {
  padding:5px!important;
  gap:2px;
  cursor:move;
}
:is(.r10-editor,.screen-builder-modal) .tg-format-palette-row {
  gap:2px;
}
/* Two flex rows of three independent, content-sized controls. The row groups
   are structural only; they have no border, card, shadow, or background. */
.r10-editor .tg-preview-footer-actions.r150-starter-pills.r282-tools-grid.r286-tools {
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  width:100%!important;
  max-width:100%!important;
  margin:0 auto!important;
  padding:7px 3px 5px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  box-sizing:border-box;
}
.r10-editor .r286-tools>.r286-tools-row {
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:nowrap!important;
  gap:5px!important;
  width:fit-content;
  max-width:100%;
  min-width:0;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.r10-editor .r286-tools-row>.tg-edit-screen-button {
  display:inline-flex!important;
  flex:0 1 auto!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  max-width:100%;
  min-width:0;
  min-height:32px;
  height:auto;
  margin:0!important;
  padding:6px 9px;
  gap:4px;
  border:1px solid #41576f;
  border-radius:18px;
  background:#1c3046;
  color:#d4e8fa;
  box-shadow:none;
  font:inherit;
  font-weight:700;
  font-size:10.5px;
  line-height:1.18;
  white-space:normal;
  text-decoration:none;
  text-align:center;
  box-sizing:border-box;
  cursor:pointer;
  touch-action:manipulation;
}
.r10-editor .r286-tools-row>.tg-edit-screen-button:hover {background:#2b4767;border-color:#587b99;color:#e4f3ff}
.r10-editor .r286-tools-row>.tg-edit-screen-button:focus-visible {outline:2px solid #2481cc;outline-offset:2px}
.r10-editor .r286-tools-row .r150-starter-label {display:block;min-width:0;max-width:100%;overflow-wrap:normal;white-space:normal;line-height:1.18}
.r10-editor .r286-tools-row .r150-starter-icon {display:inline-grid;place-items:center;flex:0 0 13px;width:13px;color:#85ccff}
@media(max-width:480px) {
  .r10-editor .r286-tools>.r286-tools-row{gap:3px!important}
  .r10-editor .r286-tools-row>.tg-edit-screen-button{padding:6px 5px;font-size:9.5px;gap:3px}
  .r10-editor .r286-tools-row .r150-starter-icon{flex:0 0 11px;width:11px}
}
@media(max-width:340px){
  .r10-editor .r286-tools-row>.tg-edit-screen-button{padding:6px 4px;font-size:9px}
  .r10-editor .r286-tools-row .r150-starter-icon{display:none}
}
