/* These rules apply only to the public shortcut article. */
.shortcut-catalog {
  --shortcut-accent: #0868c2;
  --shortcut-soft: #edf6ff;
  --shortcut-line: #cad9e8;
  --shortcut-muted: #455b71;
}
.shortcut-catalog [hidden] { display: none !important; }
.shortcut-catalog .shortcut-filter {
  padding: 1.4rem;
  margin: 1.7rem 0;
  border: 1px solid var(--shortcut-line);
  border-radius: 1rem;
  background: var(--shortcut-soft);
}
.shortcut-catalog .shortcut-filter h2 { margin: 0 0 1rem; font-size: 1.3rem; }
.shortcut-catalog .shortcut-filter label { display: block; margin-bottom: .45rem; font-weight: 700; }
.shortcut-catalog .shortcut-filter-line { display: flex; gap: .65rem; align-items: stretch; }
.shortcut-catalog .shortcut-filter-line input {
  min-width: 0;
  flex: 1;
  width: 100%;
  padding: .75rem .85rem;
  border: 1px solid var(--shortcut-line);
  border-radius: .55rem;
  background: var(--surface, #fff);
  color: inherit;
  font: inherit;
}
.shortcut-catalog .shortcut-filter-line button { flex-shrink: 0; min-height: 44px; padding: .7rem 1rem; border: 1px solid var(--shortcut-accent); border-radius: .55rem; background: var(--surface, #fff); color: var(--shortcut-accent); font-weight: 700; }
.shortcut-catalog .shortcut-filter-line button:hover { background: var(--shortcut-soft); }
.shortcut-catalog .shortcut-filter-status { margin: .8rem 0 0; font-weight: 700; }
.shortcut-catalog .shortcut-no-results { margin-bottom: 0; }
.shortcut-catalog .shortcut-no-script { padding: 1rem; border: 1px solid var(--shortcut-line); border-radius: .6rem; }
.shortcut-catalog .step-content { min-width: 0; }
.shortcut-catalog .shortcut-table { width: 100%; border-collapse: collapse; table-layout: fixed; margin-top: 1rem; }
.shortcut-catalog .shortcut-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.shortcut-catalog .shortcut-table th,
.shortcut-catalog .shortcut-table td { padding: .9rem .7rem; text-align: left; vertical-align: top; overflow-wrap: anywhere; border-bottom: 1px solid var(--shortcut-line); }
.shortcut-catalog .shortcut-table thead th { color: var(--shortcut-muted); font-size: .85rem; }
.shortcut-catalog .shortcut-table thead th:first-child { width: 25%; }
.shortcut-catalog .shortcut-table thead th:nth-child(2) { width: 29%; }
.shortcut-catalog .shortcut-table tbody tr:target { background: var(--shortcut-soft); outline: 2px solid var(--shortcut-accent); outline-offset: -2px; }
.shortcut-catalog .shortcut-table tbody tr { scroll-margin-top: 1.5rem; }
.shortcut-catalog .shortcut-keys kbd { display: inline-block; max-width: 100%; padding: .25rem .4rem; margin: 0 0 .3rem; border: 1px solid var(--shortcut-line); border-bottom-width: 2px; border-radius: .35rem; background: var(--surface, #fff); color: inherit; font: 600 .83rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: normal; overflow-wrap: anywhere; }
.shortcut-catalog .shortcut-or { display: block; margin-bottom: .25rem; color: var(--shortcut-muted); font-size: .75rem; }
.shortcut-catalog .shortcut-action { font-weight: 700; }
.shortcut-catalog .shortcut-note { font-size: .92rem; }
.shortcut-catalog .shortcut-permalink { display: inline-block; padding: 0 .3rem; color: var(--shortcut-accent); text-decoration: none; }
.shortcut-catalog .shortcut-permalink:hover { text-decoration: underline; }
.shortcut-catalog :is(input, button, a):focus-visible { outline: 3px solid var(--shortcut-accent); outline-offset: 3px; }
@media (prefers-color-scheme: dark) {
  .shortcut-catalog { --shortcut-accent: #8dc8ff; --shortcut-soft: #142c43; --shortcut-line: #3b536a; --shortcut-muted: #b8c9da; }
  .shortcut-catalog .shortcut-filter-line input,
  .shortcut-catalog .shortcut-keys kbd { background: #101f2d; }
}
@media (max-width: 680px) {
  .shortcut-catalog .shortcut-filter { padding: 1rem; }
  .shortcut-catalog .shortcut-filter-line { flex-direction: column; }
  .shortcut-catalog .shortcut-filter-line button { align-self: flex-start; }
  .shortcut-catalog .shortcut-table,
  .shortcut-catalog .shortcut-table tbody { display: block; }
  .shortcut-catalog .shortcut-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .shortcut-catalog .shortcut-table tbody tr { display: block; margin: 0 0 1rem; padding: .5rem .8rem; border: 1px solid var(--shortcut-line); border-radius: .7rem; }
  .shortcut-catalog .shortcut-table td,
  .shortcut-catalog .shortcut-table tbody th { display: block; width: auto; padding: .5rem 0; border: 0; }
  .shortcut-catalog .shortcut-table [data-label]::before { display: block; margin-bottom: .3rem; color: var(--shortcut-muted); font-weight: 400; font-size: .75rem; content: attr(data-label); }
  .shortcut-catalog .shortcut-or { display: inline; margin: 0 .35rem; }
}
