/* V7.6 — contrast, horizontal account nav, polished legal profiles, responsive overlays */
:root,[data-bs-theme="light"]{--v76-text:#070b0f;--v76-muted:#44515a;--v76-surface:#fff;--v76-soft:#f3f6f8;--v76-line:#d8e0e5;--bs-body-color:#070b0f;--bs-secondary-color:#44515a;--bs-emphasis-color:#000;--bs-tertiary-color:#56636c}
[data-bs-theme="dark"]{--v76-text:#f7fafc;--v76-muted:#c2cdd4;--v76-surface:#0f202b;--v76-soft:#142a38;--v76-line:#314a59;--bs-body-color:#f7fafc;--bs-secondary-color:#c2cdd4;--bs-emphasis-color:#fff;--bs-tertiary-color:#b6c4cc}
body{color:var(--v76-text)}.text-muted,.text-secondary{color:var(--v76-muted)!important}.panel,.card,.dropdown-menu,.modal-content,.offcanvas{color:var(--v76-text)}
.form-control,.form-select,textarea,input{color:var(--v76-text)}.form-control::placeholder,textarea::placeholder,input::placeholder{color:color-mix(in srgb,var(--v76-muted) 82%,transparent)!important;opacity:1}.form-label{color:var(--v76-text);font-weight:700}
[data-bs-theme="dark"] .form-control,[data-bs-theme="dark"] .form-select,[data-bs-theme="dark"] textarea{background:#0d1d27;border-color:#38505e;color:#f7fafc}[data-bs-theme="light"] .form-control,[data-bs-theme="light"] .form-select{background:#fff;color:#070b0f}
/* Fixed dark surfaces must keep light typography in either theme */
.author-profile-hero-v76,.author-profile-hero-v76 .author-profile-card,.dashboard-persona-v74,.site-footer-v6{color:#f7fbfd}.author-profile-hero-v76 h1,.author-profile-hero-v76 h2,.author-profile-hero-v76 strong,.author-profile-hero-v76 .author-public-meta-v73,.author-profile-hero-v76 .text-muted,.author-profile-hero-v76 .academic-profile-meta-v74,.author-profile-hero-v76 .academic-profile-stats-v74 span,.author-profile-hero-v76 .small{color:#f7fbfd!important}.author-profile-hero-v76 .academic-profile-meta-v74{opacity:.88}.author-profile-hero-v76 .academic-profile-stats-v74 span{opacity:.82}
.site-footer-v6 h1,.site-footer-v6 h2,.site-footer-v6 h3,.site-footer-v6 h4,.site-footer-v6 h5,.site-footer-v6 h6,.site-footer-v6 strong{color:#fff!important}.site-footer-v6 a{color:#eef5f8!important}.site-footer-v6 p,.site-footer-v6 .text-white-50,.site-footer-v6 .small{color:#cbd6dc!important;opacity:1!important}
.dashboard-persona-v74 h1,.dashboard-persona-v74 h2,.dashboard-persona-v74 h3,.dashboard-persona-v74 strong{color:#fff!important}.dashboard-persona-v74 p,.dashboard-persona-v74 small,.dashboard-persona-v74 .text-muted{color:#c8d5dc!important}
/* Notification popover */
[data-bs-theme="light"] .notif-dropdown-v69,[data-bs-theme="light"] .notification-popover-v69{background:#fff!important;color:#080d11!important;border-color:#d7e0e5!important}[data-bs-theme="light"] .notif-dropdown-v69 *:not(.badge):not(i),[data-bs-theme="light"] .notification-popover-v69 *:not(.badge):not(i){color:inherit}.notif-dropdown-v69 .text-muted,.notif-dropdown-v69 small,.notification-popover-v69 .text-muted,.notification-popover-v69 small{color:var(--v76-muted)!important}[data-bs-theme="dark"] .notif-dropdown-v69,[data-bs-theme="dark"] .notification-popover-v69{background:#0d1c26!important;color:#f7fafc!important;border-color:#314956!important}
/* Horizontal account/dashboard navigation */
.dashboard-layout>.container>.row{display:block}.dashboard-layout>.container>.row>aside,.dashboard-layout>.container>.row>section{width:100%;max-width:100%}.dashboard-nav-v76{display:flex!important;align-items:center;gap:.75rem;padding:.65rem .8rem!important;margin-bottom:1rem;position:relative!important;top:auto!important;min-width:0}.dashboard-nav-profile-v76{display:flex!important;min-width:210px;max-width:260px;flex:0 0 auto;padding:.5rem .65rem!important;margin:0!important;border:0!important;border-inline-end:1px solid var(--v76-line)!important}.dashboard-nav-scroll-v76{display:flex;align-items:center;gap:.45rem;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;padding:.2rem;min-width:0;flex:1}.dashboard-nav-scroll-v76>a{display:inline-flex!important;align-items:center;justify-content:center;gap:.45rem;white-space:nowrap;flex:0 0 auto;min-height:48px;padding:.62rem .85rem!important;border-radius:13px;color:var(--v76-text)!important;text-decoration:none}.dashboard-nav-scroll-v76>a:hover{background:var(--v76-soft)}.dashboard-nav-scroll-v76>a.active{background:#123e58!important;color:#fff!important}.dashboard-nav-label-v76{flex:0 0 auto!important;margin:0 .3rem!important;padding:.38rem .55rem!important;border:1px solid var(--v76-line);border-radius:999px;color:var(--v76-muted)!important;font-size:.72rem!important}.dashboard-nav-badge-v76{min-width:20px;height:20px;padding:0 5px;border-radius:99px;display:inline-grid;place-items:center;background:#dc3545;color:#fff;font-size:.7rem;line-height:1}
[data-bs-theme="dark"] .dashboard-nav-v76{background:#10232f;border-color:#314956}.dashboard-nav-v76 .dashboard-nav-profile-v73 strong{color:var(--v76-text)!important}.dashboard-nav-v76 .dashboard-nav-profile-v73 small{color:var(--v76-muted)!important}
@media(max-width:767.98px){.dashboard-nav-v76{display:block!important;padding:.55rem!important}.dashboard-nav-profile-v76{min-width:0;max-width:none;border:0!important;border-bottom:1px solid var(--v76-line)!important;margin-bottom:.4rem!important}.dashboard-nav-scroll-v76{padding-bottom:.4rem}.dashboard-nav-scroll-v76>a{min-height:44px;padding:.55rem .72rem!important;font-size:.9rem}.dashboard-nav-label-v76{display:none!important}}
/* Do not cover opened mobile side navigation */
@media(max-width:991.98px){body.portal-offcanvas-open-v76 .mobile-bottom-nav-v6{opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(120%)!important}.offcanvas.mobile-menu-v6 .offcanvas-body{padding-bottom:calc(28px + env(safe-area-inset-bottom))!important}}
/* Polished author page */
.author-profile-hero-v76{position:relative;overflow:hidden;background:linear-gradient(135deg,#071d2d,#0e4058 58%,#14394b)!important;padding:clamp(2rem,5vw,4.2rem) 0}.author-profile-hero-v76:before{content:"";position:absolute;inset:auto -10% -65% auto;width:620px;height:620px;border-radius:50%;background:radial-gradient(circle,rgba(213,160,33,.18),transparent 64%)}.author-profile-hero-v76 .academic-profile-card-v74{position:relative;z-index:1;background:rgba(255,255,255,.065)!important;border:1px solid rgba(255,255,255,.18)!important;box-shadow:0 24px 70px rgba(0,0,0,.2);backdrop-filter:blur(12px)}.author-profile-hero-v76 .author-avatar-large{box-shadow:0 0 0 6px rgba(255,255,255,.09),0 14px 35px rgba(0,0,0,.22)}.author-profile-hero-v76 .btn-outline-dark{border-color:rgba(255,255,255,.45);color:#fff}.author-profile-hero-v76 .btn-outline-dark:hover{background:#fff;color:#102a3a}.author-main-v76{background:var(--v76-soft)}
/* Generic professional missing page */
.not-found-shell-v76{min-height:calc(100vh - 160px);display:grid;align-items:center;padding:clamp(3rem,8vw,7rem) 0;background:radial-gradient(circle at 80% 15%,rgba(213,160,33,.12),transparent 26%),var(--v76-soft)}.not-found-card-v76{max-width:980px;margin:auto;display:grid;grid-template-columns:minmax(220px,.7fr) 1.3fr;align-items:center;gap:clamp(2rem,6vw,5rem);background:var(--v76-surface);border:1px solid var(--v76-line);border-radius:28px;padding:clamp(1.5rem,5vw,4rem);box-shadow:0 28px 75px rgba(11,38,61,.09)}.not-found-visual-v76{aspect-ratio:1;border-radius:32px;display:grid;place-items:center;position:relative;background:linear-gradient(145deg,#0b263d,#174b66);color:#fff}.not-found-visual-v76 span{font-size:clamp(4rem,10vw,8rem);font-weight:900;opacity:.16}.not-found-visual-v76 i{position:absolute;font-size:clamp(2.5rem,5vw,4rem);color:#f1cf68}.not-found-copy-v76 h1{font-size:clamp(2rem,4vw,3.3rem);font-weight:900;margin:.4rem 0 1rem;color:var(--v76-text)}.not-found-copy-v76 p{font-size:1.08rem;color:var(--v76-muted);line-height:1.9}.not-found-actions-v76{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.5rem}.not-found-help-v76{display:flex;gap:.7rem;margin-top:1.5rem;padding:1rem;border-radius:14px;background:var(--v76-soft);color:var(--v76-muted)}@media(max-width:767.98px){.not-found-card-v76{grid-template-columns:1fr;text-align:center}.not-found-visual-v76{max-width:230px;width:100%;margin:auto}.not-found-actions-v76{justify-content:center}.not-found-help-v76{text-align:start}}
/* Advanced legal search only launches modal */
.catalog-search-launcher-v76{display:flex;align-items:stretch;gap:.65rem;padding:.7rem;margin-bottom:1.2rem}.catalog-search-inline-v76{display:flex;align-items:center;gap:.55rem;flex:1;min-width:0;padding-inline:.35rem}.catalog-search-inline-v76>i{font-size:1.2rem;color:var(--v76-muted)}.catalog-search-inline-v76 .form-control{border:0!important;box-shadow:none!important;background:transparent!important;font-weight:650}.catalog-advanced-trigger-v76{border:1px solid var(--v76-line);background:var(--v76-soft);color:var(--v76-text);border-radius:14px;padding:.65rem .85rem;display:flex;align-items:center;gap:.65rem;text-align:start}.catalog-advanced-trigger-v76>span{display:grid}.catalog-advanced-trigger-v76 small{color:var(--v76-muted);font-size:.72rem}.catalog-advanced-trigger-v76>b{background:#d5a021;color:#10222d;min-width:24px;height:24px;border-radius:99px;display:grid;place-items:center}.catalog-clear-v76{display:flex;align-items:center;gap:.35rem;padding:.6rem;text-decoration:none;color:var(--v76-muted)}@media(max-width:767.98px){.catalog-search-launcher-v76{display:grid}.catalog-search-inline-v76{padding:.25rem}.catalog-advanced-trigger-v76{width:100%}.catalog-advanced-trigger-v76>span{flex:1}.catalog-search-inline-v76 .btn{padding-inline:.8rem}}
/* Verify email */
.verify-email-shell-v76{min-height:72vh;display:grid;align-items:center;padding:3rem 0;background:var(--v76-soft)}.verify-email-card-v76{max-width:580px;margin:auto;text-align:center;padding:clamp(1.5rem,5vw,3rem);border-radius:24px}.verify-email-icon-v76{width:74px;height:74px;border-radius:22px;margin:0 auto 1rem;display:grid;place-items:center;background:linear-gradient(145deg,#f5d878,#d5a021);color:#102633;font-size:2rem}.verify-email-card-v76 h1{font-weight:900}.verify-email-card-v76>p{color:var(--v76-muted);line-height:1.8}.verify-email-address-v76{display:flex;justify-content:center;gap:.5rem;padding:1rem;margin:1rem 0;background:var(--v76-soft);border-radius:14px}.verify-email-back-v76{display:inline-block;margin-top:1rem;color:var(--v76-muted)}
/* Support */.support-ticket-panel-v76 .support-thread article{color:var(--v76-text)}.support-ticket-panel-v76 .support-thread article p{color:inherit}.support-reply-box-v76{padding:1rem;border:1px solid var(--v76-line);border-radius:16px;background:var(--v76-soft)}
/* Capture/print-safe academic card */
.author-card-capturing-v76{width:1040px!important;max-width:none!important;direction:rtl!important;background:#fff!important;color:#111820!important;font-family:'Tajawal','Noto Sans Arabic',Tahoma,Arial,sans-serif!important;letter-spacing:0!important}.author-card-capturing-v76 *{font-family:'Tajawal','Noto Sans Arabic',Tahoma,Arial,sans-serif!important;letter-spacing:0!important}.author-card-capturing-v76 .text-muted,.author-card-capturing-v76 small{color:#58636c!important}

.admin-nav>a{position:relative}.admin-nav-badge-v76{margin-inline-start:auto;min-width:22px;height:22px;padding:0 6px;border-radius:99px;display:grid;place-items:center;background:#dc3545;color:#fff;font-size:.68rem;font-weight:900}.admin-nav>a.active .admin-nav-badge-v76{background:#9e1d2e;color:#fff}
[data-bs-theme="light"] .notif-dropdown-v69 .notif-header-v69 h3,[data-bs-theme="light"] .notif-dropdown-v69 .notif-copy-v69 strong,[data-bs-theme="light"] .notif-dropdown-v69 .notif-copy-v69>span,[data-bs-theme="light"] .notif-dropdown-v69 .notif-empty-v69 strong{color:#080d11!important}[data-bs-theme="light"] .notif-dropdown-v69 .notif-copy-v69 small,[data-bs-theme="light"] .notif-dropdown-v69 .notif-empty-v69 p,[data-bs-theme="light"] .notif-dropdown-v69 .notif-loading-v69{color:#4a5963!important}[data-bs-theme="dark"] .notif-dropdown-v69 .notif-header-v69 h3,[data-bs-theme="dark"] .notif-dropdown-v69 .notif-copy-v69 strong,[data-bs-theme="dark"] .notif-dropdown-v69 .notif-copy-v69>span,[data-bs-theme="dark"] .notif-dropdown-v69 .notif-empty-v69 strong{color:#f7fafc!important}[data-bs-theme="dark"] .notif-dropdown-v69 .notif-copy-v69 small,[data-bs-theme="dark"] .notif-dropdown-v69 .notif-empty-v69 p,[data-bs-theme="dark"] .notif-dropdown-v69 .notif-loading-v69{color:#c2cdd4!important}
[data-bs-theme="dark"] .dashboard-nav-scroll-v76>a.active{background:#e5bd46!important;color:#10232f!important}.dashboard-nav-scroll-v76>a.active i,.dashboard-nav-scroll-v76>a.active span{color:inherit!important}


/* V7.6 final contrast bridge: legacy components must not inherit a wrong theme color. */
.home-hero-copy-v73 h1,.home-hero-copy-v73 h2,.home-hero-copy-v73 h3,.home-hero-copy-v73 strong{color:#f7fbfd!important}
.home-hero-copy-v73>p,.home-trust-row-v73,.home-trust-row-v73 span{color:#d7e4ea!important}
.home-hero-v73 .section-kicker-v6,.home-hero-v73 .hero-badge-v73{color:#f6dc88!important}
[data-bs-theme="light"] :where(.dropdown-menu,.modal-content,.offcanvas,.panel,.card) :where(h1,h2,h3,h4,h5,h6,strong,label,legend,dt){color:#070b0f}
[data-bs-theme="light"] :where(.dropdown-menu,.modal-content,.offcanvas,.panel,.card) :where(p,li,dd,small){color:#26333b}
[data-bs-theme="dark"] :where(.dropdown-menu,.modal-content,.offcanvas,.panel,.card) :where(h1,h2,h3,h4,h5,h6,strong,label,legend,dt){color:#f7fafc}
[data-bs-theme="dark"] :where(.dropdown-menu,.modal-content,.offcanvas,.panel,.card) :where(p,li,dd,small){color:#d4dde2}
[data-bs-theme="light"] .mobile-menu-v6{background:#fff;color:#070b0f}[data-bs-theme="light"] .mobile-menu-v6 .mobile-menu-links-v6 a{color:#070b0f!important}
[data-bs-theme="dark"] .mobile-menu-v6{background:#0e202b;color:#f7fafc}[data-bs-theme="dark"] .mobile-menu-v6 .mobile-menu-links-v6 a{color:#f7fafc!important}[data-bs-theme="dark"] .mobile-menu-v6 .offcanvas-header{border-color:#314a59!important}
[data-bs-theme="dark"] .mobile-menu-v6 .brand-mark-v6,[data-bs-theme="dark"] .mobile-menu-v6 .brand-mark-v6 strong{color:#f7fafc!important}
/* A fixed bottom bar must never reserve clickable space above an open offcanvas. */
@media(max-width:991.98px){body.portal-offcanvas-open-v76{overflow:hidden}.mobile-menu-v6{padding-bottom:env(safe-area-inset-bottom)}.mobile-menu-v6 .offcanvas-body{overscroll-behavior:contain}}

.mobile-menu-v6 .mobile-menu-links-v6>a{display:flex!important;align-items:center;gap:.8rem}.mobile-menu-v6 .mobile-menu-links-v6>a>span{flex:1}.mobile-menu-badge-v76{margin-inline-start:auto;min-width:24px;height:24px;padding:0 7px;border-radius:999px;display:inline-grid;place-items:center;background:#c92b3d!important;color:#fff!important;font-size:.72rem;font-weight:900;line-height:1}.mobile-menu-v6 .mobile-menu-links-v6>a.active .mobile-menu-badge-v76{background:#991c2d!important}
