/* Dashboard typography on top of Faunder UI Paper. Components keep their own scoped styles. */
@font-face{font-family:'Feedbaky Inter';src:url('/static/fonts/InterVariable.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}

/* Two-finger touches belong to the embedded Feedbaky widget, so pinch zoom stays off inside the app. */
:where(html,body,#app,#app *){touch-action:pan-x pan-y}

#app{font-family:'Feedbaky Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:13px;line-height:1.5;font-optical-sizing:auto;-webkit-font-smoothing:antialiased}
#app :where([ui-heading],h1,h2,h3,h4){font-family:inherit;letter-spacing:-.02em;text-wrap:balance}
#app :where(input,select,textarea,button){font-family:inherit}
#app :where([ui-menu],[ui-code-block]){scrollbar-width:thin;scrollbar-color:var(--ui-stone-300) transparent}
#app :where([ui-menu] svg){color:var(--ui-stone-600)}
/* Popover menus rely on the browser for opening, closing and focus. A menu button shows its menu is open through the popover that follows it. */
#app :where([popovertarget]:has(+ [popover]:popover-open)){background:var(--ui-stone-100)}
#app :where([ui-menu] [ui-color="red"] svg){color:inherit}

.skip-link{position:fixed;top:-100px;left:1rem;z-index:100;padding:.75rem 1rem;background:var(--ui-white)}
.skip-link:focus{top:1rem}
/* The archive section's own edge closes its list, so its last row needs no divider. */
.archive .feedback-rows > :nth-last-child(1 of [data-scope="FeedbackRow"]){border-bottom-color:transparent}
.workspace-scroll{flex:1;block-size:auto;min-block-size:0;scrollbar-gutter:stable}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

@media(prefers-reduced-motion:reduce){
 #app *,#app *::before,#app *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}

/* Toasts sit above the floating feedback browser at the bottom of the detail view. */
#app ul[ui-toast]{bottom:calc(80px + env(safe-area-inset-bottom,0px))}

/* A dialog opens with focus on its heading (tabindex="-1" autofocus), not its first button, so no button shows a focus ring after a tap. */
#app dialog [autofocus][tabindex="-1"]:focus{outline:none}
