/* MiniToolsDeck — Issue #4: dropdown arrows in all tools.
   Normalize only single-choice native SELECT elements; keep their existing surfaces,
   borders, fonts, sizes, focus treatments, menu choices, and functionality. */
html body select:not([multiple]):not([size]) {
  -webkit-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23daeaf4' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-size: 18px 18px !important;
  background-position: right 15px center !important;
  padding-right: 44px !important;
}
/* Ensure arrow color remains readable when using the saved Light Theme. */
html body.light-theme select:not([multiple]):not([size]) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23283d50' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
}
/* The Social Previewer's editor contains a higher-specificity compact select rule.
   Give that editor the same text clearance, including X's desktop/mobile selectors. */
html body.mtd-social-premium #tool-socialhook select:not([multiple]):not([size]) {
  padding-right: 44px !important;
}
/* Legacy tool-specific selectors set the entire padding shorthand !important.
   These five fields need a targeted override to retain arrow clearance. */
html body #json-indent,
html body #keyword-ngram,
html body #keyword-min-count,
html body #headline-platform,
html body #wc-platform,
html body #bg11model {
  padding-right: 44px !important;
}
/* Match the IDs + page classes used by legacy !important padding shorthands. */
html body.mtd-json-premium #json-indent,
html body.mtd-keyword-premium #keyword-ngram,
html body.mtd-keyword-premium #keyword-min-count,
html body.mtd-headline-premium #headline-platform,
html body.mtd-readability-premium #tool-wordcount select,
html body .studio-layout #bgremovepanel select {
  padding-right: 44px !important;
}
html body.mtd-hl-premium #headline-platform { padding-right: 44px !important; }
