.ao-sticky-brand {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 8px #0c25421a;
}
.ao-sticky-brand .ah-search-panel { position: absolute; inset: 100% 0 auto; }
html { scroll-padding-top: var(--ao-sticky-height, 140px); }
@media (max-width: 650px) { html { scroll-padding-top: var(--ao-sticky-height, 114px); } }

.eh-skip {
  position: fixed; top: 8px; left: 8px; z-index: 1500;
  transform: translateY(-150%); padding: .7rem 1rem; border-radius: .5rem;
  color: #0d2340; background: #fff; font-weight: 750;
}
.eh-skip:focus { transform: none; }
.eh-widget {
  position: fixed; inset: auto 0 0; z-index: 1050; pointer-events: none;
  color: #142b46; font: 500 14px/1.45 system-ui, sans-serif;
}
body:has(.eh-widget) { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
.eh-widget button, .eh-read {
  padding: .55rem .8rem; min-height: 44px; border: 1px solid #a0afc1; border-radius: 8px;
  background: #fff; color: #142b46; font: inherit; font-weight: 700; cursor: pointer;
}
.eh-launch, .eh-panel { pointer-events: auto; }
.eh-widget .eh-start { background: #104982; color: #fff; border-color: #104982; }
.eh-widget .eh-launch {
  display: flex; justify-content: center; align-items: center; gap: .7rem;
  width: 100%; min-height: 56px; border: 0; border-bottom: 4px solid #62b4ff; border-radius: 0;
  padding: .55rem 1rem calc(.55rem + env(safe-area-inset-bottom));
  background: linear-gradient(105deg, #123d70, #155da8 54%, #164c85); color: #fff;
  font-size: clamp(1rem, 2vw, 1.13rem); font-weight: 800;
  box-shadow: 0 -5px 22px #0b2a494d;
}
.eh-widget .eh-launch:hover, .eh-widget .eh-launch.is-listening { background: #195b9c; }
.eh-widget .eh-launch:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.eh-launch-icon {
  font: 800 .88rem/1 system-ui, sans-serif;
  display: grid; place-items: center; width: 2rem; height: 2rem;
  border: 1px solid #ffffff84; border-radius: 8px; background: #ffffff21;
}
.eh-remember { display: flex; align-items: center; gap: .45rem; margin: .75rem 0; }
.eh-panel {
  display: flex; flex-direction: column;
  width: min(680px, calc(100vw - 24px)); max-height: min(680px, 72dvh); overflow: hidden;
  margin: 0 auto 8px; border: 1px solid #a0afc1; border-top: 4px solid #2079cf;
  border-radius: 15px; background: #fff; box-shadow: 0 12px 36px #0b213240;
}
.eh-panel h2 { font-size: 1.2rem; margin: 0; }
.eh-panel p { margin: .6rem 0; }
.eh-panel-top {
  display: flex; flex: none; align-items: center; justify-content: space-between; gap: .6rem;
  padding: .7rem 1rem; border-bottom: 1px solid #dce6f3; background: #edf5ff;
}
.eh-panel-body { overflow: auto; padding: .3rem 1rem 1rem; }
.eh-panel .eh-permission { color: #405771; font-size: .9em; }
.eh-panel-actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.eh-command-guide { border: 1px solid #c4d7eb; border-radius: 10px; overflow: hidden; }
.eh-command-guide summary { padding: .7rem .85rem; cursor: pointer; font-weight: 750; color: #123f71; background: #edf5ff; }
.eh-command-guide summary:focus-visible { outline-offset: -3px; }
.eh-command-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: .75rem; }
.eh-command-group { min-width: 0; border: 1px solid #dce6f3; border-radius: 9px; padding: .7rem; }
.eh-command-group h3 { margin: 0 0 .4rem; font-size: .95rem; }
.eh-command-group dl { margin: 0; }
.eh-command-row { padding: .5rem 0; border-top: 1px solid #e7eef6; }
.eh-command-row:first-child { border-top: 0; }
.eh-command-row dt { font-size: .81rem; font-weight: 750; color: #405771; }
.eh-command-row dd, .eh-custom-phrases { display: flex; flex-wrap: wrap; gap: 5px; margin: .25rem 0 0; }
.eh-custom-phrases { list-style: none; padding: 0; }
.eh-phrase {
  max-width: 100%; padding: .22rem .5rem; border-radius: 7px; background: #e9f3ff;
  color: #143e6c; font-size: .81rem; overflow-wrap: anywhere;
}
@media (max-width: 550px) {
  .eh-command-grid { grid-template-columns: minmax(0,1fr); }
  .eh-panel-body { padding-inline: .75rem; }
}
.eh-status { margin-bottom: 0; min-height: 1.45em; overflow-wrap: anywhere; }
.eh-widget :focus-visible, .eh-skip:focus-visible, .eh-read:focus-visible { outline: 3px solid #a66500; outline-offset: 2px; }
.eh-read { margin-block: .4rem; font-size: .9rem; }
.eh-widget [hidden], .eh-read[hidden], .eh-skip[hidden] { display: none !important; }
