fluent-tree-item {
    --tree-item-nested-width: 0.3em;
}

/* Colectica logo background for theme switching */
.colectica-logo {
    width: 64px;
    height: 34px;
    margin-top: 0px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: block;
    background-image: url('/colectica-dark.svg');
}

/* FluentUI v5 leaves the data-theme attribute absent for light mode (only dark is
   marked), so match "not dark" rather than an explicit "light" value. */
body:not([data-theme="dark"]) .colectica-logo {
    background-image: url('/colectica.svg');
}

:root {
    --dashboard-success: #10b981;
    --dashboard-success-dark: #059669;
    --dashboard-info: #0ea5e9;
    --dashboard-info-dark: #0284c7;
}

.activeIndicator {
    width: 90%;
}

/* Buttons: match the design (compact, 13.5px, no stretched min-width). Fluent 2
   defaults to a wide min-width (96px) and 14px, which reads as oversized/"cartoony".
   Styled via the button's shadow part so it applies to every FluentButton. */
/* Set nowrap on the host, not just ::part(control): the button label is slotted
   light-DOM content, so it inherits white-space from the host element, not from the
   shadow control. Without this the "Manage" label wraps mid-word in narrow grid cells. */
fluent-button {
    white-space: nowrap;
}

fluent-button::part(control) {
    min-width: auto;
    font-size: 13.5px;
    white-space: nowrap;
}

/* A real link drawn as a FluentButton (Default, or Primary with .button-link-primary), for actions that
   navigate. It reads the same Fluent theme tokens as fluent-button, so the two sit side by side. */
.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    min-height: 32px;
    padding: 5px 12px;
    border: 1px solid var(--colorNeutralStroke1);
    border-radius: var(--borderRadiusMedium);
    background: var(--colorNeutralBackground1);
    color: var(--colorNeutralForeground1);
    font-family: var(--fontFamilyBase);
    font-size: 13.5px;
    font-weight: var(--fontWeightSemibold);
    line-height: var(--lineHeightBase300);
    text-decoration: none;
    white-space: nowrap;
}

button.button-link {
    cursor: pointer;
}

.button-link:disabled {
    background: var(--colorNeutralBackgroundDisabled);
    border-color: var(--colorNeutralStrokeDisabled);
    color: var(--colorNeutralForegroundDisabled);
    cursor: not-allowed;
}

.button-link:hover:not(:disabled) {
    background: var(--colorNeutralBackground1Hover);
    border-color: var(--colorNeutralStroke1Hover);
    color: var(--colorNeutralForeground1Hover);
}

.button-link:active:not(:disabled) {
    background: var(--colorNeutralBackground1Pressed);
}

.button-link:focus-visible {
    outline: 2px solid var(--colorStrokeFocus2);
    outline-offset: 1px;
}

.button-link.button-link-primary {
    background: var(--colorBrandBackground);
    border-color: transparent;
    color: var(--colorNeutralForegroundOnBrand);
}

.button-link.button-link-primary:hover {
    background: var(--colorBrandBackgroundHover);
}

.button-link.button-link-primary:active {
    background: var(--colorBrandBackgroundPressed);
}

/* Menu-button (dropdown trigger): same compact treatment, otherwise it renders wide
   with the start icon and the chevron pushed to opposite edges. */
fluent-menu-button {
    white-space: nowrap;
}

fluent-menu-button::part(control) {
    min-width: auto;
    font-size: 13.5px;
    white-space: nowrap;
    gap: 6px;
}

/* Menu popovers: size to their content so items don't overflow / get clipped by the
   panel border when the trigger button is narrow. */
fluent-menu-item {
    white-space: nowrap;
}

/* Sortable lists: the component's defaults draw a bordered box around the list and
   fill each item with colorNeutralBackground4 (near black in dark mode), which reads
   as harsh against the design's quiet surfaces. Remap the component's own custom
   properties onto the design tokens: no outer box, softly elevated items. NB: in v5
   the component renders a div with the class .fluent-sortable-list, not a custom
   element; the library rule ties this specificity and loses on load order. */
.fluent-sortable-list {
    --fluent-sortable-list-border-color: transparent;
    --fluent-sortable-list-padding: 0;
    --fluent-sortable-list-item-background-color: var(--surface-card-elev);
    --fluent-sortable-list-item-border-color: var(--border-subtle);
}

.fluent-sortable-list .sortable-grab {
    background-color: transparent;
}

/* Text inputs (search bar, single-line fields, text areas): the design uses a
   filled field with a uniform 1px border and rounded corners, instead of Fluent's
   default outline with an asymmetric bottom accent and an animated focus underline.
   The visual frame is the shadow part "root"; the editable text is "control".
   Making the control transparent lets the root fill show through. The search bar is
   a FluentTextInput (<fluent-text-input>); multiline uses <fluent-textarea>. */
fluent-text-input::part(root),
fluent-textarea::part(root) {
    background-color: var(--surface-input);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
}

fluent-text-input::part(control),
fluent-textarea::part(control) {
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: var(--fs-body);
}

fluent-text-input:focus-within::part(root),
fluent-textarea:focus-within::part(root) {
    border-color: var(--brand-accent);
}

/* On focus the component draws an animated 2px accent underline via an internal
   .root::after (border-bottom: 2px solid var(--colorCompoundBrandStroke)), which is a
   shadow pseudo-element not reachable through ::part(). It reads as a "thicker bottom"
   over our uniform border, so neutralize its color token on the host; the uniform
   brand border above is the focus cue instead. */
fluent-text-input,
fluent-textarea {
    --colorCompoundBrandStroke: transparent;
    --colorCompoundBrandStrokeHover: transparent;
    --colorCompoundBrandStrokePressed: transparent;
}

/* FluentStack in v5 has no default gap (v4 defaulted to ~10px), so every stack
   without an explicit HorizontalGap/VerticalGap renders with items touching.
   Restore a sane default here; instances that set a gap still win (they emit
   inline column-gap/row-gap). */
.fluent-stack-horizontal,
.fluent-stack-vertical {
    gap: var(--space-3);
}

/* App top bar (shell header). FluentLayout's header area defaults to a brand-blue
   flex row; restyle it as the dark app bar. It is already display:flex /
   justify-content:start / align-items:center, so the bar controls sit at the left
   and the FluentSpacer pushes the trailing icon buttons to the right. */
.fluent-layout-item[area="header"] {
    height: 48px;
    min-height: 48px;
    padding: 0 10px !important;
    gap: 6px;
    background-color: var(--surface-app) !important;
    color: var(--text-primary) !important;
    border-bottom: 1px solid var(--border-muted);
}

.app-logo {
    display: inline-flex;
    align-items: center;
    padding: 0;
}

.colectica-logo {
    flex: none;
}

.app-topbar-title {
    color: var(--text-primary);
    white-space: nowrap;
}

/* Linked title (e.g. the organization name): compact semibold text sized like the
   design's top-bar title, not a browser link. The <a> sets its own font-size so it
   does not inherit the large size of the wrapping FluentText. */
.app-topbar-link {
    color: var(--text-primary);
    font-size: var(--fs-card-title);
    font-weight: var(--fw-semibold);
    text-decoration: none;
}

.app-topbar-link:hover {
    text-decoration: underline;
}

/* Organization secondary nav: subtle underline-style text tabs (design look). */
.org-shell {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.org-nav {
    display: flex;
    align-items: stretch;
    gap: 2px;
    height: 44px;
    padding: 0 12px;
    background-color: var(--surface-app);
    border-bottom: 1px solid var(--border-muted);
}

.org-nav-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: var(--fw-regular);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.org-nav-tab:hover {
    color: var(--text-secondary);
}

.org-nav-tab-selected {
    color: var(--text-primary);
    border-bottom-color: var(--brand-accent);
    font-weight: var(--fw-semibold);
}

/* Icons inside the nav tabs inherit the tab's (muted/active) colour. */
.org-nav-tab svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Organization settings area: a full-height rail beside a padded content pane
   (design: "Statuses and Workflow"). The rail sits on the surface-app panel
   colour with a hairline right border, like the design's settings nav. */
.settings-shell {
    display: flex;
    align-items: stretch;
    width: 100%;
    /* The document scrolls, so size the shell to at least the viewport space
       below the 48px app bar and the 44px org nav; the rail then reaches the
       bottom of the screen even when the page content is short. */
    min-height: calc(100vh - 92px);
}

.settings-rail {
    width: 218px;
    flex: none;
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 18px 10px;
    background-color: var(--surface-app);
    border-right: 1px solid var(--border-subtle);
}

.settings-rail-title {
    padding: 0 10px 0;
    font-size: var(--fs-label);
    font-weight: var(--fw-bold);
    letter-spacing: var(--label-spacing-wide);
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Group label between rail items (same micro-label idiom as the workflow
   rail's "From any status" heading). */
.settings-nav-group {
    padding: 14px 10px 0;
    font-size: var(--fs-label);
    font-weight: var(--fw-bold);
    letter-spacing: var(--label-spacing-wide);
    text-transform: uppercase;
    color: var(--text-faint);
}

.settings-nav-item {
    display: block;
    padding: 7px 10px;
    border-radius: var(--radius-md);
    font-size: var(--fs-secondary);
    color: var(--text-tertiary);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.settings-nav-item:hover {
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
}

/* NavLink stamps "active" on the matching item. */
.settings-nav-item.active {
    background-color: rgba(255, 255, 255, 0.07);
    color: var(--text-primary);
    font-weight: var(--fw-semibold);
}

body:not([data-theme="dark"]) .settings-nav-item:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

body:not([data-theme="dark"]) .settings-nav-item.active {
    background-color: rgba(0, 0, 0, 0.06);
}

.settings-content {
    flex: 1;
    min-width: 0;
    padding: 20px 26px 56px;
}

/* Fill variant for height-constrained hosts (the record settings area): the
   record layout wraps its body in an overflow-hidden flex column, so instead
   of sizing against the viewport the shell fills the available space and the
   rail and content pane scroll independently. */
.settings-shell.settings-shell-fill {
    min-height: 0;
    height: 100%;
    flex: 1;
}

.settings-shell-fill .settings-rail {
    overflow-y: auto;
}

.settings-shell-fill .settings-content {
    overflow-y: auto;
}

/* Metadata profile editor page: the header, then the shared editor filling the rest of the
   viewport below the app bar, the org nav, and the settings content padding. */
.profile-editor-page {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: calc(100vh - 92px - 40px);
    min-height: 560px;
}

.profile-editor-header {
    flex: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.profile-editor-heading {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.profile-editor-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 12.5px;
}

.profile-editor-back:hover {
    color: var(--text-primary);
}

.profile-editor-sub {
    color: var(--text-muted);
    font-size: 12.5px;
}

.profile-editor-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Open-count pill on the record Curation tab. */
.nav-count-pill {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--status-warning-bg);
    color: var(--status-warning);
}

/* Pending-request indicator on the record Publish tab. */
.nav-pending-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--status-warning);
    flex: none;
}

/* Record status badge in the top breadcrumb bar. */
.topbar-status-badge {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    padding: 1px 9px;
    border-radius: 999px;
    white-space: nowrap;
}

/* Underline-style tab strip: plain anchors on a transparent track, with an accent
   underline and bold label on the active tab (matches the Record Editor design). */
.secondary-nav {
    flex: none;
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 44px;
    min-height: 44px;
    padding: 0 10px;
    gap: 2px;
    background-color: var(--neutral-layer-1);
    border-bottom: 1px solid var(--neutral-stroke-divider-rest);
}

.secondary-nav-tab {
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    border-bottom: 2px solid transparent;
    color: var(--neutral-foreground-hint);
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.secondary-nav-tab:hover {
    color: var(--neutral-foreground-rest);
}

.secondary-nav-tab-selected {
    color: var(--neutral-foreground-rest);
    border-bottom-color: var(--accent-fill-rest);
    font-weight: 600;
}

/* Loading placeholders shown in the tab strip while the entity (and its tab set) loads. */
.secondary-nav-skeletons {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-left: 13px;
}

#loading-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, sans-serif;
}

.splash-wrapper {
    height: 100dvh !important;
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 10000;
    color: #e8e8e8;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.splash-wrapper-inner {
    max-width: 600px;
    width: 100%;
    text-align: center;
    padding: 2rem;
}

.splash-wrapper h2, .splash-wrapper p {
    color: #ffffff !important;
}


#blazor-error-ui {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #e8e8e8;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, sans-serif;
}

#blazor-error-ui .error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem;
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

#blazor-error-ui .error-icon {
    width: 120px;
    height: 120px;
    color: #ff6b6b;
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

#blazor-error-ui .error-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
}

#blazor-error-ui .error-message {
    font-size: 1.25rem;
    opacity: 0.85;
    margin: 0 0 2.5rem 0;
    max-width: 500px;
    line-height: 1.6;
}

#blazor-error-ui .reload-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    background: #ffffff;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#blazor-error-ui .reload-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#blazor-error-ui .dismiss-button {
    display: block;
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: inherit;
    background: transparent;
    border: 1px solid currentColor;
    border-radius: 25px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

#blazor-error-ui .dismiss-button:hover {
    opacity: 1;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.loading-progress {
    display: block;
    width: 32px;
    height: 32px;
    margin: 20px auto 0 auto;
}

.loading-progress circle {
    fill: none;
    stroke: var(--neutral-stroke-rest);
    stroke-width: 2px;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: var(--accent-fill-rest);
    stroke-dasharray: calc(3.14159 * var(--blazor-load-percentage, 0%)), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    text-align: center;
    font-weight: bold;
    margin-top: 6px;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}

.empty-content-row {
    align-content: flex-start !important;
    padding-top: 20px;
}
/* File upload: full-page drop overlay */
.file-drop-overlay {
    position: fixed;
    inset: 0;
    z-index: 9990;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: color-mix(in srgb, var(--neutral-layer-1) 80%, transparent);
    border: 3px dashed var(--accent-fill-rest);
    pointer-events: none;
}

.file-drop-overlay-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--neutral-foreground-rest);
}

/* File upload: clickable drop zone in empty states */
.file-drop-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 24px 16px;
    border: 2px dashed var(--neutral-stroke-divider-rest);
    border-radius: 6px;
    background-color: var(--neutral-layer-1);
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.file-drop-zone:hover {
    border-color: var(--accent-fill-rest);
    background-color: var(--neutral-layer-2);
}

.file-drop-zone-title {
    font-weight: 600;
    color: var(--neutral-foreground-rest);
}

.file-drop-zone-hint {
    font-size: 0.85rem;
    color: var(--neutral-foreground-hint);
    max-width: 420px;
}

/* File processing status line (Components/FileProcessingProgressView.razor): the stage, then when it was last heard. */
.file-processing-progress {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 10px;
}

.file-processing-progress-time {
    color: var(--text-muted);
}

/* Signed-out notice, banner, and page placeholder (Components/SignedOut*.razor) share these buttons. */
.so-button {
    height: 40px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: inherit;
    font-size: 14px;
    font-weight: var(--fw-semibold);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background-color var(--dur-fast);
}

.so-button:disabled {
    opacity: 0.6;
    cursor: default;
}

.so-button:focus-visible {
    outline: 2px solid var(--brand-accent);
    outline-offset: 2px;
}

.so-button-secondary {
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid var(--border-strong);
}

.so-button-secondary:hover:not(:disabled) {
    background: var(--neutral-bg);
}

.so-button-primary {
    padding: 0 18px;
    color: #ffffff;
    background: var(--brand-primary);
    border: 0;
}

.so-button-primary:hover:not(:disabled) {
    background: var(--brand-primary-hover);
}

.so-button-compact {
    height: 32px;
    padding: 0 14px;
    font-size: var(--fs-card-title);
}

/* The account button carries a dot while the session has ended. */
.app-topbar-account {
    position: relative;
    display: inline-flex;
}

.app-topbar-signed-out {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 9px;
    height: 9px;
    border-radius: var(--radius-round);
    background: var(--warning-dot);
    box-shadow: 0 0 0 2px var(--surface-app);
    pointer-events: none;
}
