/* Writing's selection-toolbar presentation, shared with Translator.
   Hosts own selection, positioning and which actions are available. */
:is(#hte-toolbar,#st-selection-tools).sk-dictionary-toolbar {
  display:inline-flex;align-items:center;width:max-content!important;
  max-width:calc(100vw - 16px);box-sizing:border-box;gap:0!important;padding:4px!important;
  border:1px solid #e8dfd5!important;border-radius:14px!important;background:#fffcf8!important;
  box-shadow:0 6px 18px #46362712,0 1px 3px #46362708!important;
  font:400 15px/1.5 var(--font-family);backdrop-filter:blur(16px);
  transform:none!important;transition:opacity .12s ease!important;
}
:is(#hte-toolbar,#st-selection-tools).sk-dictionary-toolbar > button {
  display:inline-flex;align-items:center;justify-content:center;height:40px!important;
  width:auto!important;min-width:0!important;flex:0 0 auto!important;padding:0 12px!important;
  margin:0!important;gap:6px!important;border:0!important;border-radius:9px!important;
  color:#343c38!important;background:transparent!important;font:400 13px/1.5 var(--font-family)!important;
  white-space:nowrap;transform:none!important;box-shadow:none!important;
  transition:background-color .12s!important;text-decoration:none!important;cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
:is(#hte-toolbar,#st-selection-tools).sk-dictionary-toolbar > button svg {
  width:18px!important;height:18px!important;flex-shrink:0;fill:none;stroke:currentColor;
  stroke-width:2;stroke-linecap:round;stroke-linejoin:round;color:inherit!important;
}
:is(#hte-toolbar,#st-selection-tools).sk-dictionary-toolbar > button .hte-btn-label {
  display:inline!important;font:500 13px/1 var(--font-family)!important;white-space:nowrap;
  text-decoration:none!important;pointer-events:none;
}
:is(#hte-toolbar,#st-selection-tools).sk-dictionary-toolbar > button:hover {background:#e8eee5!important}
:is(#hte-toolbar,#st-selection-tools).sk-dictionary-toolbar > button:active {background:#d9e3d6!important}
:is(#hte-toolbar,#st-selection-tools).sk-dictionary-toolbar > button:focus-visible {outline:none!important;background:#dce7d9!important}
:is(#hte-toolbar,#st-selection-tools).sk-dictionary-toolbar > .sk-toolbar-separator {
  align-self:center;flex:0 0 1px;width:1px;height:18px;margin:0;padding:0;background:#d5cec3;
}
:is(#hte-toolbar,#st-selection-tools).sk-dictionary-toolbar:not([data-speech="idle"]) > [data-action="tts"] {width:100px!important;min-width:100px!important}
@media(max-width:380px) {:is(#hte-toolbar,#st-selection-tools).sk-dictionary-toolbar > button {padding:0 8px!important}}
@media(prefers-reduced-motion:reduce) {:is(#hte-toolbar,#st-selection-tools).sk-dictionary-toolbar {transition:none!important}}
[data-theme="dark"] :is(#hte-toolbar,#st-selection-tools).sk-dictionary-toolbar {background:var(--sk-review-paper,#34312c)!important;border-color:var(--sk-review-line,#655e54)!important}
[data-theme="dark"] :is(#hte-toolbar,#st-selection-tools).sk-dictionary-toolbar > button {color:var(--sk-review-ink,#eee9df)!important}
[data-theme="dark"] :is(#hte-toolbar,#st-selection-tools).sk-dictionary-toolbar > button:is(:hover,:focus-visible) {background:var(--sk-review-inset,#403b35)!important}
