/* Rashad ERP on the Rashad theme kit (2026-10-21): loaded LAST, after rashad-theme.css and erp.css.
   1. undoes the kit rules that collide with ERP's own class names (ERP pages are not rewritten);
   2. the top bar, side menu and sign-in details that the kit leaves to each service. */

/* 1. Collisions --------------------------------------------------------------------------------------------- */
/* (ERP cards carry their padding in .card-pad / .card-head: erp.css's own .card rule resets the kit's padding) */
/* ERP tiles: .tile > .tile-ic + span > .t / .s (not the kit's span + b counters) */
.card.tile :where(span:not(.tile-ic):not(.pill)) { display: inline; color: inherit; font-size: inherit; font-weight: inherit; }
.card.tile span.pill { display: inline-flex; font-size: 12px; font-weight: 600; }
.card.tile .t { font-weight: 650; }
.card.tile .s { color: var(--muted); font-size: 12px; }
.card.tile .tile-ic { display: grid; flex: none; }
/* ERP fields: label above input, as before (the kit's .field is a flex column with its own label look) */
.field { display: block; font-weight: inherit; font-size: inherit; }
.field.check { display: flex; }
label.field { display: flex; flex-direction: column; gap: 4px; }
/* the document form's right-hand column is <aside class="side"> - not the kit's side menu */
.content .form-layout > aside.side, html[dir="rtl"] .content .form-layout > aside.side, body.menu-open .content .form-layout > aside.side {
  position: static; height: auto; width: auto; overflow: visible; background: none; border: 0; padding: 0;
  transform: none; visibility: visible; box-shadow: none; z-index: auto; }
.listfoot .pager { padding: 0; justify-content: flex-end; }
.empty { padding: 32px 16px; }
/* the stat cards' corner circle stays behind the label and figure */
.stat > * { position: relative; z-index: 1; }
.stat::after { z-index: 0; opacity: .7; }
table.data th { font-size: 11.5px; font-weight: 650; }

/* 2. Shell ---------------------------------------------------------------------------------------------------- */
.top .tools .who { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top .tools form { margin: 0; }
.top .searchbox { margin-inline-start: auto; }
.top .tools .btn img { width: 22px; height: 22px; flex: none; }
.platform-btn .lbl { font-weight: 600; }
.sidebar .brand img { border-radius: 50%; }
.sidebar .foot { flex-wrap: wrap; }
.sidebar .foot .uni { width: 100%; height: auto; max-height: 46px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px 6px; }
.sidebar a.item.home-link { color: var(--muted); font-weight: 600; }
@media (max-width: 960px) { .platform-btn .lbl { display: none; } }
@media (max-width: 560px) { .top .tools .lang-btn { padding-inline: 8px; } }

/* 3. Sign-in (the kit's .auth split page) --------------------------------------------------------------------- */
.auth-form { gap: 12px; }
.auth-form .form .field label { margin-bottom: 0; }
.auth-form .or { text-align: center; margin: 0; }
.auth-form .doc-banner { margin-bottom: 0; }
.auth-form .by { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.auth-form .by img { width: 48px; height: auto; background: #fff; border-radius: 8px; }
.auth-art .figure { width: 220px; max-width: 40%; height: auto; align-self: flex-end; }
.auth-art .hero img.mark { background: #fff; border-radius: 50%; }

/* 4. Public pages (help desk, careers, payment) --------------------------------------------------------------- */
.public-head { background: var(--surface); border-bottom: 1px solid var(--line); }
