.dg-keyboard-check[hidden] { display: none; }
.dg-keyboard-check { display: none; }
@media (max-width: 760px) {
  .mobile-check-dock { bottom: calc(10px + env(safe-area-inset-bottom, 0px) + var(--dg-keyboard-offset, 0px)); }
  .dg-keyboard-check:not([hidden]) { display: block; position: fixed; z-index: 41; left: 14px; right: 14px; bottom: calc(10px + var(--dg-keyboard-offset, 0px)); min-height: 48px; padding: 10px 16px; border: 2px solid #172317; border-radius: 8px; color: #fff; background: #24532e; font: inherit; font-weight: 700; box-shadow: 0 4px 12px #0003; }
  .dg-keyboard-check:disabled { opacity: .75; }
  .dg-keyboard-check:focus-visible { outline: 3px solid #b45309; outline-offset: 3px; }
}

/* R88.1: short, finite motion; numeric results remain immediately readable. */
@keyframes dg-meter-reveal { from { transform:scaleX(0); } to { transform:scaleX(1); } }
@keyframes dg-panel-reveal { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion:no-preference) {
  .ai-style-meter > span { transform-origin:left center; animation:dg-meter-reveal 420ms cubic-bezier(.22,1,.36,1) both; }
  .dg-language-profile details[open] > .dg-language-profile-control { animation:dg-panel-reveal 160ms ease-out both; }
  .dg-report-download { transition:transform 180ms cubic-bezier(.2,.8,.3,1.15),box-shadow 180ms ease-out,background 140ms ease-out; }
}
@media (hover:none) {
  .dg-report-download:hover:not(:disabled) { transform:none; box-shadow:0 5px 0 #9d7600; }
  .dg-report-download:active:not(:disabled) { transform:translateY(2px); box-shadow:0 3px 0 #9d7600; }
}
@media (prefers-reduced-motion:reduce) {
  .ai-style-meter > span, .dg-language-profile-control { animation:none!important; transition:none!important; }
  .dg-report-download { transition:none!important; transform:none!important; }
}
@media print {
  .ai-style-meter > span, .dg-language-profile-control { animation:none!important; transform:none!important; opacity:1!important; }
}
