/* App adapter: keyboard entry points work with Glass and the classic fallback. */
.falke-skip-link {
  position: fixed;
  z-index: 1000;
  inset: 12px auto auto 12px;
  max-width: calc(100% - 24px);
  padding: 12px 16px;
  border: 1px solid var(--falke-ink, #20251f);
  border-radius: 10px;
  background: var(--falke-surface, #fffefa);
  color: var(--falke-ink, #20251f);
  font: 600 16px/1.4 var(--falke-font-ui, sans-serif);
  text-decoration: underline;
  transform: translateY(calc(-100% - 20px));
}
.falke-skip-link:focus { transform: none; }
.falke-skip-link:focus-visible,
#main-content:focus-visible {
  outline: 3px solid var(--falke-focus, #9a4d00);
  outline-offset: 3px;
}
#main-content { scroll-margin-block: 110px 24px; }
/* Admin navigation lives within the existing main layout. The target follows
   repeated navigation, preserving its layout while bypassing it with a keyboard. */
.falke-content-start:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.falke-content-start:focus {
  margin-block: 0 16px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--falke-surface, #fffefa);
  color: var(--falke-ink, #20251f);
}
.falke-app :where(a, button, input, select, textarea, summary, [tabindex]) {
  scroll-margin-block: 110px 150px;
}
/* The wrapped save footer otherwise covers the module heading at compact widths
   and occupies over a third of the viewport at native 200% desktop zoom. */
@media (max-width: 900px) {
  .falke-app.dashboard-editor .editor-footer { position: static; }
}
@media print {
  .falke-skip-link, .falke-content-start { display: none; }
}
