/* Optional accessibility utilities. Applications own component appearance. */
[data-visually-hidden] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
[data-ui][hidden],
[data-ui="tabs"] > [data-part="panel"][hidden] { display: none !important; }
:where([data-ui] :focus-visible, [data-ui]:focus-visible) {
  outline: 2px solid var(--ui-focus, Highlight);
  outline-offset: 2px;
}

/* Keep skip navigation off screen until keyboard focus, then in normal flow. */
:where([data-ui="skip-link"]:not(:focus)) {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
/* Native disclosure on mobile. Only one set of links is exposed at a time. */
:where([data-ui="nav"] > [data-part="desktop-items"]) { display: none; }
@media (min-width: 48rem) {
  :where([data-ui="nav"] > [data-part="mobile"]) { display: none; }
  :where([data-ui="nav"] > [data-part="desktop-items"]) { display: block; }
}
/* actions_in_menu (v0.8.0): below 48rem the actions live in the menu, so
   the bar's copy is hidden; from 48rem the menu is hidden instead. */
@media (max-width: 47.99rem) {
  :where([data-ui="nav"][data-actions-in-menu] > [data-part="actions"]) { display: none; }
}
/* Docs navigation (v0.8.0): the details menu below 64rem, the list above. */
:where([data-ui="docs-nav"] > [data-part="desktop-items"]) { display: none; }
@media (min-width: 64rem) {
  :where([data-ui="docs-nav"] > [data-part="mobile"]) { display: none; }
  :where([data-ui="docs-nav"] > [data-part="desktop-items"]) { display: block; }
}
/* Billing interval switch (v0.8.0): inside pricing (or data-ui-intervals),
   only content for the checked interval shows. Without :has() every price
   shows. */
:where([data-ui="pricing"], [data-ui-intervals]):has([data-ui="interval-switch"] [data-part="input"][value="monthly"]:checked) [data-interval]:not([data-interval~="monthly"]),
:where([data-ui="pricing"], [data-ui-intervals]):has([data-ui="interval-switch"] [data-part="input"][value="quarterly"]:checked) [data-interval]:not([data-interval~="quarterly"]),
:where([data-ui="pricing"], [data-ui-intervals]):has([data-ui="interval-switch"] [data-part="input"][value="yearly"]:checked) [data-interval]:not([data-interval~="yearly"]) { display: none !important; }
/* Usage (v0.8.0): the figure above the bar already says the value, so the
   meter's own aria-hidden value text is not shown. */
:where([data-ui="usage"] > [data-ui="meter"] > [data-part="value"]) { display: none; }
/* App shell (v0.7.0): below 64rem the sidebar is a native popover drawer
   opened by the menu button; from 64rem it is shown in place and the menu
   and close buttons are hidden. The sidebar's box reset is in the `ui`
   layer so ui-theme.css and ui-house.css can lay it out. */
@media (min-width: 64rem) {
  :where([data-ui="app-shell"] > [data-part="main"] > [data-part="topbar"] > [data-part="menu-button"], [data-ui="app-shell"] > [data-part="sidebar"] > [data-part="sidebar-header"] > [data-part="close"], [data-ui="app-shell"] > [data-part="main"] > [data-part="topbar"] > [data-part="mobile-brand"]) {
    display: none;
  }
}
@layer ui {
  @media (min-width: 64rem) {
    :where([data-ui="app-shell"] > [data-part="sidebar"]) {
      display: flex;
      flex-direction: column;
      position: static;
      inset: auto;
      margin: 0;
      inline-size: auto;
      block-size: auto;
      overflow: visible;
      color: inherit;
      background: none;
      border: 0;
    }
  }
}
/* The auth page's brand panel is shown only beside the form. */
@media (max-width: 63.99rem) {
  :where([data-ui="auth-layout"] > [data-part="panel"]) { display: none; }
}
@media print {
  [data-ui="skip-link"],
  [data-ui="nav"],
  [data-ui="prose"] > [data-part="contents"] { display: none !important; }
  [data-ui="prose"] [data-part="heading"] { break-after: avoid; }
  [data-ui="prose"] [data-part="anchor"] { color: inherit; text-decoration: none; }
  [data-ui="prose"] { max-inline-size: none; }
}
@media print {
  [data-ui="app-shell"] > [data-part="sidebar"],
  [data-ui="app-shell"] > [data-part="main"] > [data-part="topbar"] { display: none !important; }
}
