/* Rashad Showcase on the Rashad Platform shell (theme kit v2). Only the seams between the platform shell and the
   showcase's own page bodies (Tailwind, resources/css/app.css) live here; the look itself is rashad-theme-v2.css. */

/* The showcase pages draw their own full-width bands and containers: the shell gives them the whole column. */
.content.showcase-content { padding: 0; max-width: none }

/* The theme styles headings and links globally; the showcase's page bodies set their own type with utilities. */
.showcase-content h1, .showcase-content h2, .showcase-content h3 { text-wrap: balance }
.showcase-content a:not([class]) { color: var(--accent) }
/* g7-access 2026-11-08: the theme's global `a { color }` is unlayered and beats Tailwind's layered utilities, so the
   footer links on the dark band were the accent (1.35:1). White 85 % there (7:1+), white on hover. */
footer a[class*="text-white"] { color: rgb(255 255 255 / .85) }
footer a[class*="text-white"]:is(:hover, :focus-visible) { color: #fff }

/* Account control inside the white top bar: the theme's small button shape. */
.top .tools > a[href*="login"], .top .tools > a[href*="/go/showcase"] { min-height: 32px }
.top .tools details[data-menu] > summary { min-height: 32px }

/* The side menu's section heading for the administration link. */
.side nav h4 { margin: 14px 10px 6px }

/* Phones: the platform keeps the top bar compact. */
@media (max-width: 560px) {
  .top .uni-big { display: none !important }
}

/* Family look 2026-10-30 (rashad-brand.css section 7 is the shared part; these are the showcase's own page bodies).
   Readex Pro for headings and text in both languages, in place of Inter / Cairo. */
html[dir], html[dir] body, html[dir] [dir='rtl'], html[dir] [dir='ltr'] { font-family: var(--rf-font, "Readex Pro", "Noto Kufi Arabic", "Segoe UI", sans-serif) }
/* The dark page-head band: the eight-point-star lattice in the showcase's accent (a light tint of it). */
.site-chrome.bg-brand-800 { position: relative; isolation: isolate }
.site-chrome.bg-brand-800::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: color-mix(in srgb, var(--rf-accent, #44403C) 30%, #fff); opacity: .2;
  -webkit-mask: var(--rf-lattice) 0 0 / 88px 88px repeat; mask: var(--rf-lattice) 0 0 / 88px 88px repeat }
/* 3D cards: the card component (.rounded-card) and the headline figures (metric-card) */
.showcase-content :is(.rounded-card.border, .rounded-lg.border.bg-white) { border-radius: var(--rf-radius, 16px); box-shadow: var(--rf-sh-1) }
.showcase-content a.rounded-card.border { transition: transform .2s var(--rf-ease), box-shadow .2s var(--rf-ease), border-color .2s var(--rf-ease) }
.showcase-content a.rounded-card.border:is(:hover, :focus-visible) { transform: translateY(-3px); box-shadow: var(--rf-sh-2); border-color: var(--rf-gold, #B08D3C) }
@media (prefers-reduced-motion: reduce) { .showcase-content a.rounded-card.border:is(:hover, :focus-visible) { transform: none } }
/* buttons and fields: the platform's 10 px radius */
.showcase-content .rounded-control { border-radius: var(--rf-radius-sm, 10px) }

/* Simple message pages (sign-in result, scope not assigned yet). */
.rs-message { max-width: 640px; margin: 48px auto; padding: 0 16px }
.rs-message .card { padding: 24px }
.rs-message h2 { font-size: var(--fs-xl); margin-bottom: 8px }
.rs-message .btn-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px }
.rs-message .lead-ar { margin-top: 12px; color: var(--muted) }
