/* Shortcut controls stay secondary to the current question. */
.shortcutButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  flex: 0 0 auto;
  gap: 5px;
  min-height: 36px;
  max-width: 42%;
  padding: 7px 10px;
  border: 1px solid #d8e0ee;
  border-radius: 10px;
  background: #fff;
  color: #475467;
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
}
.shortcutButton svg { flex: 0 0 auto; }
.shortcutButton:hover { background: #f4f7fb; border-color: #98a2b3; }
.shortcutButton:focus-visible,
.shortcutDialog button:focus-visible,
.shortcutDialog summary:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}
.shortcutButton[hidden],
.shortcutDialog [hidden] { display: none; }
.shortcutDialog {
  box-sizing: border-box;
  width: min(420px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 22px;
  border: 1px solid #d8e0ee;
  border-radius: 20px;
  background: #fff;
  color: #172033;
  box-shadow: 0 20px 60px #071d3533;
  overflow-y: auto;
  overscroll-behavior: contain;
  font-size: 14px;
  line-height: 1.6;
}
.shortcutDialog::backdrop { background: #071d3570; }
.shortcutHeading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.shortcutHeading h2 { margin: 0; font-size: 19px; line-height: 1.4; }
.shortcutClose {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #f4f7fb;
  color: #475467;
  font-size: 26px;
  cursor: pointer;
}
.shortcutDialog p { margin: 12px 0; }
.shortcutDevice { color: #667085; font-size: 12px; font-weight: 600; }
.shortcutNative { padding: 14px; border-radius: 12px; background: #eef5ff; }
.shortcutNative p { margin: 0 0 10px; font-size: 13px; }
.shortcutOptions { margin-top: 16px; border-top: 1px solid #e4e9f1; padding-top: 8px; }
.shortcutOptions summary { min-height: 44px; align-content: center; color: #667085; cursor: pointer; }
.shortcutSteps { padding-left: 24px; margin: 18px 0 12px; }
.shortcutSteps li + li { margin-top: 8px; }
.shortcutNote { color: #667085; font-size: 12px; }
.shortcutDownload,
.shortcutInstall {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d8e0ee;
  border-radius: 10px;
  background: #f4f7fb;
  color: #172033;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.shortcutDownload:hover { background: #eaf3ff; }
.shortcutInstall { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
.shortcutInstall:hover { background: #1e40af; }
.shortcutInstall:disabled { opacity: .65; cursor: wait; }
.shortcutStatus { color: #0f766e; font-size: 13px; }
@media (max-width: 820px) {
  .shortcutButton { align-self: flex-end; min-height: 44px; padding: 7px 9px; }
  .shortcutDialog { padding: 18px; }
}
