[data-activity-application] { --activity-bar-height: 40px; min-height: 100vh; font: 14px/1.5 ui-sans-serif, system-ui, sans-serif; }
@media (pointer: coarse), (max-width: 760px) { [data-activity-application] { --activity-bar-height: 48px; } }
/* The one top bar: Momentum's own row (.unified-header, styles/workspace-layout.css), kept by the frame through a switch of sides. The
   tokens it would inherit from the workspace it stands outside of are set here. It stays in reach while a Manifest page scrolls. */
[data-activity-top-bar] { --workspace-bar-height: var(--activity-bar-height); --cc-control-min: 30px; --feed-target: 30px;
  --cc-ui-toast-inset-bottom: max(env(safe-area-inset-bottom), var(--space-2)); --cc-ui-toast-inset-right: var(--space-3);
  position: sticky; top: 0; z-index: 30; flex: none; color: var(--text); font-family: var(--font-sans);
  font-size: var(--text-lg); line-height: var(--leading-normal); }
@media (pointer: coarse), (max-width: 760px) { [data-activity-top-bar] { --cc-control-min: 44px; --feed-target: 44px; } }
/* The right end holds its place whether or not a side has anything in the row before it. */
[data-activity-top-bar] .unified-header-input { margin-inline-start: auto; }
/* The bar is outside the workspace, so the workspace reserves no room for it. */
[data-activity-momentum] .unified-workspace { --workspace-bar-height: 0px; }
/* Between two sides the field stands at rest, drawn as it is in use; a side's own field takes its place. */
[data-activity-find-rest]:not(:only-child) { display: none; }
[data-activity-find-rest] .unified-search { height: 30px; }
@media (pointer: coarse), (max-width: 760px) { [data-activity-find-rest] .unified-search { height: 44px; } }
[data-activity-message]:not(:empty) { margin: .75rem 1rem; }
/* Words for work in hand float under the bar, so nothing moves when they go. */
[data-activity-message][data-activity-progress]:not(:empty) { position: fixed; top: calc(var(--activity-bar-height) + .5rem); left: 50%;
  transform: translateX(-50%); z-index: 29; margin: 0; padding: .25rem .75rem; border-radius: .5rem; color: var(--text); background: var(--bg-raised);
  border: 1px solid var(--border); white-space: nowrap; }
/* Organization administration: a panel over the page, under the bar. */
[data-activity-sheet] { --cc-text: #0f172a; --cc-text-muted: #475569; --cc-accent: #1d4ed8; --cc-ui-on-accent: #ffffff;
  --cc-input-bg: #ffffff; --cc-input-border: #64748b; --cc-btn-text: #1d4ed8; --cc-btn-bg: #eff6ff; --cc-btn-bg-hover: #dbeafe; --cc-btn-border: #2563eb;
  --cc-tone-danger: #b91c1c; --cc-tone-warning: #92400e;
  position: fixed; top: var(--activity-bar-height); right: 0; bottom: 0; z-index: 28; width: min(40rem, 100%); overflow: auto; padding: 1rem;
  color: #0f172a; background: #f8fafc; border-inline-start: 1px solid #cbd5e1; box-shadow: -8px 0 24px rgb(15 23 42 / .35); outline: none; }
[data-activity-sheet] > button { margin-bottom: .75rem; min-height: 2.75rem; padding: .25rem .75rem; color: #1d4ed8; background: #eff6ff;
  border: 1px solid #2563eb; border-radius: .375rem; cursor: pointer; }
[data-activity-migration-panel] { margin: 1rem; padding: 1rem; background: #fff; color: #0f172a; border: 1px solid #cbd5e1; border-radius: .75rem; overflow-wrap: anywhere; }
[data-activity-migration-panel] button { margin: .5rem .5rem 0 0; }
[data-shell-content] [data-assets] > h1, [data-shell-content] .manifest-jobs > h2 { display: none; }
/* Manifest fills the page under the bar, and its own rows and drawer take the bar into account. */
[data-activity-view] { display: flex; flex-direction: column; }
[data-activity-view] > [data-manifest-native] { flex: 1 0 auto; min-height: 0; }
[data-activity-view] [data-shell-mobile-bar] { top: var(--activity-bar-height); }
[data-activity-view] [data-manifest-native][data-shell-menu-open="true"] { position: relative; z-index: 40; }
/* The user icon's dropdown (ui/momentum/src/canvas/shell/account-dropdown.js) over this page: who is signed in, and Security in the page's own palette. */
.unified-account-who { margin: 0; font-weight: var(--weight-medium); overflow-wrap: anywhere; }
.unified-account-session { margin: 0; color: var(--text-dim); }
.unified-account-section [data-activity-personal] { --cc-text: var(--text); --cc-text-muted: var(--text-dim); --cc-accent: var(--accent); --cc-ui-on-accent: var(--text-inverse);
  --cc-input-bg: var(--bg-sunken); --cc-input-border: var(--border-field); --cc-btn-text: var(--text); --cc-btn-bg: var(--bg-raised); --cc-btn-bg-hover: var(--accent-wash);
  --cc-btn-border: var(--border-strong); --cc-tone-danger: var(--fail); --cc-tone-warning: var(--warn); max-width: none; padding: 0; }
.unified-account-section [data-activity-personal] form { border-top-color: var(--border); }
.unified-account-section [data-activity-personal] dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: .25rem .5rem; margin: 0; }
.unified-account-section [data-activity-personal] dt { font-weight: var(--weight-medium); color: var(--text-dim); }
.unified-account-section [data-activity-personal] dd { margin: 0; }
.unified-account-section [data-activity-personal] h2 { font-size: var(--text-base); }
