
/* DATE48 064
   Mobile documents: stable, app-theme-aware.
   Intentionally ignores prefers-color-scheme.
*/

/* Never show this mobile control on desktop. */
@media (min-width:768px) {
  html .app-shell > header.topbar
  > a.d48-mobile-docs-061r {
    display: none !important;
  }
}

@media (max-width:767px) {

  /* Default is LIGHT even when iOS is in dark mode. */
  html .app-shell > header.topbar
  > a.d48-mobile-docs-061r {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 auto !important;
    align-self: center !important;

    width: auto !important;
    max-width: 132px !important;
    min-height: 34px !important;

    margin: 0 0 0 auto !important;
    padding: 6px 10px !important;

    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;

    background: #f5e6ed !important;
    color: #7d3958 !important;

    border: 1px solid #ead1dc !important;
    border-radius: 999px !important;

    box-shadow: none !important;
    text-decoration: none !important;

    font-family:
      -apple-system, BlinkMacSystemFont,
      "Segoe UI", Arial, sans-serif !important;

    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 16px !important;
    white-space: nowrap !important;

    -webkit-tap-highlight-color: transparent;
  }

  html .app-shell > header.topbar
  > a.d48-mobile-docs-061r
  .d48-mobile-docs-061r__inner {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
  }

  html .app-shell > header.topbar
  > a.d48-mobile-docs-061r svg {
    width: 14px !important;
    height: 15px !important;
    stroke: currentColor !important;
  }

  /* Actual Date48 DARK mode, not iOS dark mode. */
  html[data-date48-theme="dark"]
  .app-shell > header.topbar
  > a.d48-mobile-docs-061r,

  html[data-d48-theme="dark"]
  .app-shell > header.topbar
  > a.d48-mobile-docs-061r,

  html[data-theme="dark"]
  .app-shell > header.topbar
  > a.d48-mobile-docs-061r,

  html.dark
  .app-shell > header.topbar
  > a.d48-mobile-docs-061r,

  html.theme-dark
  .app-shell > header.topbar
  > a.d48-mobile-docs-061r,

  body[data-date48-theme="dark"]
  .app-shell > header.topbar
  > a.d48-mobile-docs-061r,

  body[data-d48-theme="dark"]
  .app-shell > header.topbar
  > a.d48-mobile-docs-061r,

  body[data-theme="dark"]
  .app-shell > header.topbar
  > a.d48-mobile-docs-061r,

  body.dark
  .app-shell > header.topbar
  > a.d48-mobile-docs-061r,

  body.theme-dark
  .app-shell > header.topbar
  > a.d48-mobile-docs-061r {
    background: #462b3a !important;
    color: #fff0f6 !important;
    border-color: #825467 !important;
    box-shadow:
      inset 0 0 0 1px
      rgba(255,255,255,.035) !important;
  }

  html .app-shell > header.topbar
  > a.d48-mobile-docs-061r:focus-visible {
    outline: 2px solid #a75178 !important;
    outline-offset: 3px !important;
  }
}

@media (max-width:360px) {
  html .app-shell > header.topbar
  > a.d48-mobile-docs-061r {
    min-height: 32px !important;
    padding: 5px 8px !important;
    font-size: 10px !important;
  }
}
