/* Built by scripts/build-app-kit-ui.mjs from the pinned app-kit copy - do not edit by hand (issue #262). */
[data-ak-account-menu][hidden] { display: none !important; }
/* app-kit #163: the menu's own styles. A small panel under the icon, right-aligned to it,
   above the page; no bullets; 44 px rows; the look's surface, edge and text (its custom
   properties, else the page's own colours, light or dark). */
/* v1.11.1: the wrapper is its button's own box (MS-LOOK-9). A block wrapper held the button on a
   text baseline, so a button as tall as the row came out taller by the line's descent. */
[data-ak-account] { position: relative; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; }
[data-ak-account-menu] {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1000;
  box-sizing: border-box;
  min-width: 10rem;
  max-width: calc(100vw - 16px);
  margin: 4px 0 0;
  padding: 4px 0;
  list-style: none;
  color-scheme: light dark;
  background: var(--surface, Canvas);
  color: var(--text, CanvasText);
  border: 1px solid var(--border, currentColor);
  border-radius: 8px;
}
[data-ak-account-menu] > li { margin: 0; padding: 0; list-style: none; }
[data-ak-account-menu] > li > a {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  color: inherit;
  text-decoration: none;
}
/* The current place: heavier text and a leading bar, not colour alone (2026-12-02). */
[data-ak-account-menu] > li > a[aria-current="page"] { font-weight: 600; box-shadow: inset 3px 0 0 currentColor; }
[data-ak-account-menu] > li > a > svg { flex: none; }
[data-ak-account] :focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  [data-ak-ui], [data-ak-ui] *, [data-ak-ui] *::before, [data-ak-ui] *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.ms-account {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: inherit;
}
.ms-account > svg {
  display: block;
  width: 20px;
  height: 20px;
}
/* v1.12.0 (owner 2026-12-02): the signed-in disc is 26px across in every app, centred in the 44px
   box, beside 24px utility glyphs. One custom property, so an app that must differ sets
   --ms-avatar-size and hard-codes no size. The initials are drawn in the svg's own 100-unit box,
   so they scale with it (about 45% of the diameter). The signed-out arrow keeps its glyph size. */
:root { --ms-avatar-size: 26px; }
.ms-account--in > svg {
  width: var(--ms-avatar-size, 26px);
  height: var(--ms-avatar-size, 26px);
}
/* app-kit #141: signed in, the initials are the menu's button, and the
   menu holds the app's rows and the one Sign out. */
button.ms-account {
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}
/* v1.11.1: the wrapper is the button's own 44px box. As an inline-block the button sat on
   a text baseline inside it, and a disc drawn at the full 44px left the line's descent
   under it: the wrapper stood 49px tall and the disc rode about 2.5px above its
   neighbours' centre line (MS-LOOK-9; TaskSparkle b1b45e4). */
.ms-account-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}
.ms-account-menu > [data-ak-account-menu] {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 10;
  min-width: 14rem;
  max-width: calc(100vw - 16px);
  margin: 4px 0 0;
  padding: 4px 0;
  list-style: none;
  color-scheme: light dark;
  background: var(--surface, Canvas);
  color: var(--text, CanvasText);
  border: 1px solid var(--border, currentColor);
  border-radius: 8px;
}
.ms-account-menu li > a,
.ms-account-menu li > form > button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  box-sizing: border-box;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: start;
  text-decoration: none;
  cursor: pointer;
}
.ms-account-menu li > form { margin: 0; }
[data-ms-sign-out] button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 16px;
  box-sizing: border-box;
  font: inherit;
  cursor: pointer;
}
@keyframes ms-account-nudge {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  20% { transform: translateX(-2px) rotate(-4deg); }
  45% { transform: translateX(2px) rotate(3deg); }
  70% { transform: translateX(-1px) rotate(-2deg); }
}
.ms-account--nudge {
  animation: ms-account-nudge 0.55s ease-in-out 2;
}
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 600 800; font-display: swap; src: url('/assets/app-kit/bricolage-grotesque-latin.a79fdb52.woff2') format('woff2'); }
.ms-account--in > svg {
  display: block;
  width: var(--ms-avatar-size, 26px);
  height: var(--ms-avatar-size, 26px);
}
.ms-picker__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: var(--ms-space-3, 12px);
  margin: var(--ms-space-3, 12px) 0;
}
.ms-picker__option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ms-space-2, 8px);
  padding: var(--ms-space-3, 12px);
  border: 2px solid transparent;
  border-radius: var(--ms-radius-md, 12px);
  cursor: pointer;
}
.ms-picker__option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.ms-picker__option:has(input:checked) {
  border-color: var(--ms-color-accent, #eb208c);
  background: var(--ms-color-surface-muted, rgba(127, 127, 127, 0.12));
}
.ms-picker__option:focus-within {
  outline: 2px solid var(--ms-color-focus, currentColor);
  outline-offset: 2px;
}
.ms-picker__mark > svg {
  display: block;
  width: 56px;
  height: 56px;
}
.ms-picker__name {
  font-size: var(--ms-type-size-sm, 0.875rem);
  text-align: center;
}
