@charset "UTF-8";
/* 帧探 · Casdoor 4.13 console as a signed-in user sees it (auth.hnrmwh.com/ and /account).
   auth.hnrmwh.com.conf links this file into every page Casdoor serves; the sign-in and sign-up pages are styled by
   the applications' formCss instead (deploy/auth/bootstrap/branding.py). The selectors follow Casdoor v4.13.0
   web/src: re-check them when Casdoor is upgraded. */

/* User menu: "owner/name" under the display name (components/layout/Header.tsx). The name of an SMS sign-up is a
   random UUID. */
[role="menu"] > .font-normal > div + div {
  display: none !important;
}

/* Footer: "Powered by Casdoor" (components/layout/PoweredBy.tsx; formCss and footerHtml do not reach the console).
   The sign-in pages' own footer has no casdoor.org link and keeps its text. */
#footer:has(a[href="https://casdoor.org"]) > * {
  display: none !important;
}
#footer:has(a[href="https://casdoor.org"])::after {
  content: "© 河南若木文化科技有限公司 · 豫ICP备2025146080号";
}

/* My account (pages/UserEditPage.tsx): after the organization's account items the page always appends four rows no
   account item governs: Is verified, Deleted time, Last signin time, Last signin IP. Hidden for ordinary users
   only (their sidebar menu is empty), so every admin form keeps all its rows. */
body:has([data-sidebar="menu"]:empty) .grid.gap-x-10 > :nth-last-child(-n + 4) {
  display: none !important;
}
