/* Aurevessa V61 — toolbar readability hotfix.
   Loaded last. The desktop editor ribbon uses a light surface, so every tool
   label must remain high-contrast through hover, focus, active and selected states. */
html:not(.native-app) .workspace-tool-actions .tool-button,
html:not(.native-app) .workspace-tool-actions .tool-button:link,
html:not(.native-app) .workspace-tool-actions .tool-button:visited {
  color:#17213a !important;
  -webkit-text-fill-color:#17213a !important;
  opacity:1 !important;
  text-shadow:none !important;
  background:#ffffff !important;
  border-color:#cfd7e6 !important;
}
html:not(.native-app) .workspace-tool-actions .tool-button svg,
html:not(.native-app) .workspace-tool-actions .tool-button svg * {
  color:#17213a !important;
  stroke:currentColor !important;
  opacity:1 !important;
}
html:not(.native-app) .workspace-tool-actions .tool-button:hover,
html:not(.native-app) .workspace-tool-actions .tool-button:focus,
html:not(.native-app) .workspace-tool-actions .tool-button:focus-visible,
html:not(.native-app) .workspace-tool-actions .tool-button:active {
  color:#111827 !important;
  -webkit-text-fill-color:#111827 !important;
  background:#fff8dc !important;
  border-color:#d5a92f !important;
  outline:2px solid rgba(213,169,47,.22) !important;
  outline-offset:1px !important;
  box-shadow:0 2px 8px rgba(42,48,71,.10) !important;
}
html:not(.native-app) .workspace-tool-actions .tool-button.featured,
html:not(.native-app) .workspace-tool-actions .tool-button.selected,
html:not(.native-app) .workspace-tool-actions .tool-button[aria-pressed="true"] {
  color:#17213a !important;
  -webkit-text-fill-color:#17213a !important;
  background:linear-gradient(180deg,#ffeaa0,#f7cf58) !important;
  border-color:#c99b19 !important;
}
/* The legacy edit button is also part of the same light ribbon. */
html:not(.native-app) .workspace-tool-actions .legacy-edit-tool,
html:not(.native-app) .workspace-tool-actions .legacy-edit-tool:hover,
html:not(.native-app) .workspace-tool-actions .legacy-edit-tool:focus,
html:not(.native-app) .workspace-tool-actions .legacy-edit-tool:active {
  color:#17213a !important;
  -webkit-text-fill-color:#17213a !important;
  opacity:1 !important;
  text-shadow:none !important;
}
/* Standalone date placement is intentionally removed in V61. */
html:not(.native-app) .aurevessa-date-tool { display:none !important; }
