/* Shared, compact feedback for authentication, profiles, member search, and admin. * Replaces the old full-width gray blocks with green left stripes. * Loaded LAST, after page-specific and site-shell styles. */ :root{ --feedback-ink:var(--hub-muted,#c0c6ca); --feedback-error:#ff9696; } body :is(#message,#account-message,#status,#people-status){ box-sizing:border-box; display:inline-flex; vertical-align:middle; align-items:center; gap:9px; width:fit-content; max-width:100%; min-height:0; margin:12px 0 18px; padding:5px 0; background:transparent; border:0; border-left:0; border-radius:0; box-shadow:none; color:var(--feedback-ink); font-family:Arial,Helvetica,sans-serif; font-size:12px; font-weight:500; line-height:1.6; letter-spacing:0; overflow-wrap:anywhere; } body :is(#message,#account-message,#status,#people-status)::before{ content:""; display:block; width:7px; height:7px; flex:0 0 7px; border-radius:50%; background:var(--hub-accent,#76fa74); } body :is(#message,#account-message,#status,#people-status)[data-tone="quiet"]::before{ background:var(--hub-muted,#b9c1c5); opacity:.8; } body :is(#message,#account-message,#status,#people-status)[data-error="true"], body :is(#message,#account-message,#status,#people-status)[data-tone="error"]{ display:flex; width:fit-content; max-width:100%; min-height:38px; margin:12px 0 18px; padding:9px 13px; color:var(--feedback-error); background:color-mix(in srgb,var(--feedback-error) 8%,var(--hub-panel,#34373c)); border:1px solid color-mix(in srgb,var(--feedback-error) 36%,transparent); border-radius:6px; } body :is(#message,#account-message,#status,#people-status)[data-error="true"]::before, body :is(#message,#account-message,#status,#people-status)[data-tone="error"]::before{ background:var(--feedback-error); } body :is(#message,#account-message,#status,#people-status)[data-tone="hidden"], body :is(#message,#account-message,#status,#people-status):empty{ display:none!important; } body :is(#message,#account-message,#status,#people-status)[data-tone="loading"]::before{ animation:feedback-pulse 1.4s ease-in-out infinite; } @keyframes feedback-pulse{50%{opacity:.25;transform:scale(.75)}} @media(prefers-reduced-motion:reduce){ body :is(#message,#account-message,#status,#people-status)[data-tone="loading"]::before{animation:none} } /* The admin console has a more-specific legacy #status rule. Neutralize it. */ body.admin-console-page #status{ display:inline-flex; width:fit-content; min-height:0; margin:8px 0 14px; padding:5px 0; background:transparent; border:0; box-shadow:none; font-size:12px; } body.admin-console-page #status[data-error="true"]{ display:flex; padding:9px 13px; min-height:38px; background:color-mix(in srgb,var(--feedback-error) 8%,var(--hub-panel,#34373c)); border:1px solid color-mix(in srgb,var(--feedback-error) 36%,transparent); } body.admin-console-page #status[data-tone="hidden"]{display:none!important}