.axio-shortcuts {
  --shortcut-bg: var(--panel, #fff);
  --shortcut-text: var(--text, #182335);
  --shortcut-muted: var(--muted, #67748a);
  --shortcut-line: var(--border, #d9e2ee);
  --shortcut-soft: #f4f7fc;
  position: fixed; left: max(12px, env(safe-area-inset-left)); bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 840; color: var(--shortcut-text); font: 12px/1.45 Inter, ui-sans-serif, system-ui, sans-serif;
}
.axio-shortcuts[hidden], .axio-shortcuts [hidden] { display: none !important; }
.axio-shortcuts *, .axio-shortcuts *::before, .axio-shortcuts *::after { box-sizing: border-box; }
.axio-shortcuts button { color: inherit; font: inherit; cursor: pointer; }
.axio-shortcut-launcher {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 36px; padding: 7px 10px; border: 1px solid var(--shortcut-line); border-radius: 10px;
  background: var(--shortcut-bg); box-shadow: 0 2px 10px #172b4d12; font-weight: 650 !important;
}
.axio-shortcut-launcher:hover, .axio-shortcut-launcher[aria-expanded="true"] { border-color: #94b9ef; color: #066bdb; }
.axio-shortcut-launcher:disabled { cursor: default; opacity: .5; }
.axio-shortcut-launcher[hidden] { display: none !important; }
.bottombar .axio-shortcut-launcher {
  flex: 0 0 auto; position: static; margin: 0; box-shadow: none;
  white-space: nowrap; font: inherit; font-weight: 650;
}
.axio-shortcuts kbd, .axio-shortcut-launcher kbd {
  display: inline-flex; justify-content: center; align-items: center; min-width: 23px; min-height: 24px;
  padding: 2px 5px; border: 1px solid var(--shortcut-line, var(--menu-border, #d9e2ee)); border-bottom-width: 2px; border-radius: 5px;
  background: var(--shortcut-soft, var(--menu-subtle, #f4f7fc)); color: var(--shortcut-text, var(--menu-ink, #182335)); font: 600 11px/1.4 Inter, ui-sans-serif, system-ui, sans-serif;
}
.axio-shortcut-launcher kbd { min-height: 20px; min-width: 20px; padding: 0 4px; }
.axio-shortcut-panel {
  position: fixed; left: 12px; bottom: 64px; width: min(460px, calc(100vw - 24px));
  max-height: min(680px, var(--shortcut-available-height, calc(100dvh - 90px))); overflow: auto; overscroll-behavior: contain;
  border: 1px solid var(--shortcut-line); border-radius: 16px; background: var(--shortcut-bg);
  box-shadow: 0 12px 46px #172b4d2b; scrollbar-gutter: stable;
}
.axio-shortcut-header {
  position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 17px 18px 12px; background: var(--shortcut-bg); border-bottom: 1px solid var(--shortcut-line);
}
.axio-shortcut-eyebrow { color: #1974d4; font-size: 9px; letter-spacing: .09em; font-weight: 750; }
.axio-shortcut-header h2 { margin: 3px 0 0; font-size: 17px; line-height: 1.3; }
.axio-shortcut-close { flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid var(--shortcut-line); border-radius: 8px; background: transparent; font-size: 22px !important; }
.axio-shortcut-close:hover { background: var(--shortcut-soft); }
.axio-shortcut-intro { margin: 12px 18px; color: var(--shortcut-muted); font-size: 11px; }
.axio-shortcut-group { margin: 0; padding: 0 18px 6px; }
.axio-shortcut-group h3 { margin: 15px 0 5px; font-size: 11px; line-height: 1.3; color: var(--shortcut-muted); font-weight: 700; }
.axio-shortcut-group dl { margin: 0; }
.axio-shortcut-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--shortcut-line); }
.axio-shortcut-row:last-child { border-bottom: 0; }
.axio-shortcut-row dt { min-width: 0; font-weight: 600; }
.axio-shortcut-row dt small { display: block; color: var(--shortcut-muted); font-size: 10px; font-weight: 400; margin-top: 2px; }
.axio-shortcut-row dd { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 4px; flex-shrink: 0; max-width: 62%; margin: 0; }
.axio-shortcut-combination { display: inline-flex; gap: 3px; }
.axio-shortcut-or { color: var(--shortcut-muted); font-size: 10px; margin: 0 2px; }
.axio-shortcut-key-disabled, .axio-shortcut-disabled { opacity: .5; }
.axio-shortcut-key-disabled { text-decoration: line-through; }
.axio-shortcut-footer { margin-top: 10px; padding: 14px 18px; border-top: 1px solid var(--shortcut-line); background: var(--shortcut-soft); }
.axio-shortcut-preference { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; font-weight: 650; }
.axio-shortcut-preference input { flex: 0 0 16px; width: 16px; height: 16px; margin: 1px 0 0; accent-color: #0878ee; }
.axio-shortcut-preference small { display: block; margin-top: 3px; color: var(--shortcut-muted); font-size: 10px; font-weight: 400; }
.axio-shortcut-footer p { margin: 12px 0 0; color: var(--shortcut-muted); font-size: 10px; }
.axio-shortcut-footer kbd { min-height: 19px; min-width: 20px; font-size: 10px; }
.axio-shortcut-empty { margin: 18px; color: var(--shortcut-muted); }
.axio-shortcuts button:focus-visible, .axio-shortcuts input:focus-visible { outline: 3px solid #529cff; outline-offset: 3px; }
[data-theme="dark"] .axio-shortcuts { --shortcut-bg: #202735; --shortcut-text: #e5eaf2; --shortcut-muted: #a6b0c1; --shortcut-line: #3d4555; --shortcut-soft: #192230; }
@media (pointer: coarse) { .axio-shortcut-launcher { min-height: 44px; } .axio-shortcut-close { width: 44px; height: 44px; flex-basis: 44px; } }
@media (max-width: 600px) {
  .axio-shortcuts { left: max(8px, env(safe-area-inset-left)); }
  .axio-shortcut-panel { width: min(460px, calc(100vw - 24px)); border-radius: 12px; }
  .axio-shortcut-header, .axio-shortcut-footer { padding-left: 14px; padding-right: 14px; }
  .axio-shortcut-group { padding-left: 14px; padding-right: 14px; }
  .axio-shortcut-intro { margin-left: 14px; margin-right: 14px; }
}
@media print { .axio-shortcuts, .axio-shortcut-launcher { display: none !important; } }
