﻿@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@700&family=Cairo:wght@400;600;700;800&display=swap');

@font-face {
    font-family: "Arabswell";
    src: url("/local/schoolhub/fonts/arabswell1.ttf") format("truetype");
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}

/* Ø£Ù‡Ù„ Ø§Ù„Ù‚Ø±Ø¢Ù†â€“inspired product shell (Moodle chrome stripped via theme schoolapp layout) */
:root {
    --eq-teal: #41b2d9;
    --eq-teal-deep: #35495A;
    --eq-gold: #41b2d9;
    --eq-brand: #41b2d9;
    --eq-hero-from: #eaf6fb;
    --eq-hero-mid: #d4ebf4;
    --eq-hero-to: #bcdce8;
    --eq-hero-ink: #35495A;
    --eq-hero-muted: #3d6a7c;
    --eq-hero-line: #41b2d9;
    --eq-ink: #1A1F24;
    --eq-muted: #5A5A5C;
    --eq-line: #E4E8EC;
    --eq-paper: #F4F7F9;
    --eq-card: #ffffff;
    --eq-sidebar: #35495A;
    --eq-hifz: #41b2d9;
    --eq-sughra: #3d7a96;
    --eq-kubra: #C9A227;
    --eq-tathbit: #4A5560;
}

body.eq-skin,
body.path-local-schoolhub,
body.path-mod-quranprogress.eq-skin,
body.pagelayout-schoolapp {
    margin: 0;
    background: var(--eq-paper) !important;
    font-family: "Cairo", Tahoma, sans-serif;
    color: var(--eq-ink);
}

/* Kill leftover Moodle chrome if any slips through */
body.pagelayout-schoolapp .navbar,
body.pagelayout-schoolapp #page-header,
body.pagelayout-schoolapp .activity-header,
body.pagelayout-schoolapp .breadcrumb-nav,
body.pagelayout-schoolapp .secondary-navigation,
body.pagelayout-schoolapp .drawer-toggler,
body.pagelayout-schoolapp .editmode-switch-form,
body.pagelayout-schoolapp #page-footer,
body.schoolhub-chrome .navbar,
body.schoolhub-chrome #page-header,
body.schoolhub-chrome .activity-header,
body.schoolhub-chrome .breadcrumb-nav,
body.schoolhub-chrome .secondary-navigation,
body.schoolhub-chrome .drawer-toggler,
body.schoolhub-chrome .editmode-switch-form,
body.schoolhub-chrome #page-footer,
body.schoolhub-chrome .drawer,
body.schoolhub-chrome [data-region="drawer"] {
    display: none !important;
}

/* Moodle content embedded inside product shell */
.eq-moodle-body {
    min-width: 0;
}

.eq-moodle-body > h1,
.eq-moodle-body > h2,
.eq-moodle-body .page-header-headings {
    display: none !important;
}

/* Messaging fills the shell */
body.path-message .eq-content {
    max-width: none;
    padding-inline: 0.75rem;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 4.5rem);
}

body.path-message .eq-moodle-body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

body.path-message .message-app,
body.path-message [data-region="message-index-container"],
body.path-message #page-message-index .message-app {
    flex: 1 1 auto;
    min-height: 28rem;
    height: calc(100vh - 8.5rem) !important;
    max-height: none;
    border: 1px solid var(--eq-line);
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
}

body.eq-skin #page,
body.eq-skin .schoolapp-page,
body.eq-skin #page-content,
body.eq-skin #region-main,
body.eq-skin #region-main-box {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.eq-app {
    --eq-sidebar-width: 268px;
    --eq-teal: var(--eq-brand, #41b2d9);
    min-height: 100vh;
    display: grid;
    /* Same tracks for LTR/RTL: dir flips visual side; first child stays the rail. */
    grid-template-columns: var(--eq-sidebar-width) minmax(0, 1fr);
}

/* Sidebar */
.eq-sidebar {
    width: var(--eq-sidebar-width);
    max-width: var(--eq-sidebar-width);
    box-sizing: border-box;
    background-color: var(--eq-sidebar, #35495A);
    background-image: linear-gradient(
        185deg,
        var(--eq-sidebar, #35495A) 0%,
        color-mix(in srgb, var(--eq-sidebar, #35495A) 88%, #000) 58%,
        color-mix(in srgb, var(--eq-sidebar, #35495A) 72%, #000) 100%
    );
    color: #f3fffc;
    display: flex;
    flex-direction: column;
    padding: 0.85rem 0.65rem 1rem;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 30;
    overflow: hidden;
}

.eq-sidebar__head {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.35rem 0.1rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 0.85rem;
}

.eq-sidebar__close {
    display: none;
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
    margin-top: 0.35rem;
    border: 0;
    border-radius: 0.55rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    place-items: center;
    padding: 0;
}

.eq-sidebar__close svg {
    width: 1.15rem;
    height: 1.15rem;
}

.eq-nav-scrim {
    display: none;
}

.eq-brand {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    text-decoration: none !important;
    color: inherit !important;
    padding: 0;
    border-bottom: 0;
    margin-bottom: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.eq-brand__mark {
    position: relative;
    width: 3.35rem;
    height: 3.35rem;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 2px solid var(--eq-brand, #41b2d9);
    padding: 0.14rem;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(11, 20, 25, 0.22);
}

.eq-brand__mark::before {
    display: none;
}

.eq-brand__logo {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
    padding: 0;
    transform: scale(1.18);
}

.eq-brand__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.eq-brand__text strong {
    font-size: 1.05rem;
    line-height: 1.2;
}

.eq-brand__text small {
    opacity: 0.78;
    font-size: 0.68rem;
    line-height: 1.3;
    white-space: pre-line;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    max-width: 12.5rem;
}

.eq-side-nav {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
    min-width: 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: 0.35rem;
    background-color: transparent;
    border-radius: 0.65rem;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--eq-brand, #41b2d9) 55%, transparent) color-mix(in srgb, var(--eq-sidebar, #35495A) 88%, #000);
    overscroll-behavior: contain;
}

.eq-side-nav::-webkit-scrollbar {
    width: 6px;
}

.eq-side-nav::-webkit-scrollbar-track {
    background: color-mix(in srgb, var(--eq-sidebar, #35495A) 88%, #000);
}

.eq-side-nav::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--eq-brand, #41b2d9) 50%, transparent);
    border-radius: 99px;
}

.eq-side-nav__section {
    margin: 0.95rem 0.35rem 0.4rem;
    padding: 0.2rem 0.4rem 0.4rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--eq-brand, #41b2d9);
    opacity: 0.92;
    border-bottom: 1px solid color-mix(in srgb, var(--eq-brand, #41b2d9) 28%, transparent);
}

.eq-side-nav__section:first-child {
    margin-top: 0.15rem;
}

.eq-side-nav__item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.6rem;
    border-radius: 0.6rem;
    color: rgba(255, 255, 255, 0.82) !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.86rem;
}

.eq-side-nav__item .sh-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.eq-side-nav__item:hover {
    background: color-mix(in srgb, var(--eq-brand, #41b2d9) 28%, transparent);
    color: #fff !important;
}

.eq-side-nav__item.is-active {
    background: var(--eq-brand, #41b2d9);
    color: #fff !important;
    box-shadow: inset 3px 0 0 var(--eq-sidebar, #35495A), 0 8px 18px rgba(0, 0, 0, 0.16);
}
html[dir="rtl"] .eq-side-nav__item.is-active {
    box-shadow: inset -3px 0 0 var(--eq-sidebar, #35495A), 0 8px 18px rgba(0, 0, 0, 0.16);
}

.eq-sidebar__user {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.8rem 0.5rem 0.25rem;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    flex: 0 0 auto;
    background-color: color-mix(in srgb, var(--eq-sidebar, #35495A) 72%, #000);
}
.eq-sidebar__user .eq-avatar {
    background: transparent;
    color: #fff !important;
    border: 2px solid color-mix(in srgb, var(--eq-brand, #41b2d9) 45%, transparent);
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.75rem;
}
.eq-sidebar__user .eq-avatar--sil {
    background: var(--eq-brand, #41b2d9);
    border-color: transparent;
}
.eq-sidebar__user .eq-avatar--photo {
    background: transparent;
}
.eq-sidebar__user .eq-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: transparent;
}
.eq-sidebar__user-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.eq-sidebar__user-text strong {
    font-size: 0.84rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.eq-sidebar__user-text small {
    opacity: 0.7;
    font-size: 0.72rem;
}

.eq-sidebar__foot {
    flex: 0 0 auto;
    margin-top: auto;
}
.eq-sidebar__foot-row {
    display: flex;
    align-items: stretch;
    gap: 0.4rem;
    margin-top: 0.45rem;
}
.eq-sidebar__foot .eq-license-badge {
    flex: 1 1 auto;
    margin: 0;
    min-width: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.eq-sidebar__foot .eq-license-badge--active,
.eq-sidebar__foot .eq-license-badge--lifetime {
    background: #2a9b6c;
    border-color: transparent;
    color: #fff !important;
}
.eq-sidebar__foot .eq-license-badge--trial,
.eq-sidebar__foot .eq-license-badge--demo,
.eq-sidebar__foot .eq-license-badge--grace {
    background: #c9a227;
    border-color: transparent;
    color: #1f2a32 !important;
}
.eq-sidebar__logout {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    min-height: 2.35rem;
    padding: 0.35rem 0.55rem;
    border-radius: 0.55rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #e8f1f5 !important;
    text-decoration: none !important;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}
.eq-sidebar__logout .sh-icon {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
}
.eq-sidebar__logout:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff !important;
}

.eq-license-badge {
    display: block;
    margin: 0.45rem 0.1rem 0;
    padding: 0.38rem 0.55rem;
    border-radius: 0.55rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-align: center;
    text-decoration: none !important;
    color: #fff !important;
    background: color-mix(in srgb, var(--eq-brand, #41b2d9) 22%, transparent);
    border: 1px solid color-mix(in srgb, var(--eq-brand, #41b2d9) 40%, transparent);
}
.eq-license-badge--active,
.eq-license-badge--lifetime {
    background: var(--eq-brand, #41b2d9);
    border-color: transparent;
}
.eq-license-badge--trial,
.eq-license-badge--demo,
.eq-license-badge--grace {
    background: #3d7a96;
    border-color: transparent;
}
.eq-license-badge--expired,
.eq-license-badge--invalid {
    background: #c45c5c;
    border-color: transparent;
}
.eq-license-badge__until {
    display: block;
    margin-top: 0.14rem;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0;
    opacity: 0.92;
    font-variant-numeric: tabular-nums;
}

.eq-account__who .eq-license-badge {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    margin: 0.35rem 0 0;
    padding: 0.22rem 0.5rem;
    color: #35495A !important;
    background: #eaf6fb;
    border: 1px solid color-mix(in srgb, #41b2d9 35%, #dce7ee);
    font-size: 0.72rem;
}
.eq-account__who .eq-license-badge--active,
.eq-account__who .eq-license-badge--lifetime {
    background: color-mix(in srgb, #41b2d9 18%, #fff);
    color: #1f6482 !important;
}
.eq-account__who .eq-license-badge--trial,
.eq-account__who .eq-license-badge--demo,
.eq-account__who .eq-license-badge--grace {
    background: #eef3f6;
    color: #35495A !important;
}
.eq-account__who .eq-license-badge--expired,
.eq-account__who .eq-license-badge--invalid {
    background: #f8ecec;
    color: #a33b3b !important;
}

/* Main */
.eq-main {
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.eq-topbar {
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    background: #fff;
    border-bottom: 1px solid var(--eq-line);
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 8px 20px rgba(0, 61, 91, 0.04);
}

.eq-topbar__leading {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
    flex: 1 1 auto;
}

.eq-topbar__menu {
    display: none;
    flex: 0 0 auto;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    place-items: center;
    background: var(--eq-paper);
    color: var(--eq-teal-deep);
    border: 1px solid var(--eq-line);
    cursor: pointer;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
}

.eq-topbar__menu-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.eq-topbar__back {
    flex: 0 0 auto;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--eq-paper);
    color: var(--eq-teal-deep) !important;
    border: 1px solid var(--eq-line);
    text-decoration: none !important;
}

.eq-topbar__back:hover,
.eq-topbar__back:focus,
.eq-topbar__menu:hover,
.eq-topbar__menu:focus {
    background: color-mix(in srgb, var(--eq-teal) 12%, #fff);
}

.eq-topbar__back-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Chevron points toward reading-start (right in Arabic RTL). */
html[dir="rtl"] .eq-topbar__back-icon {
    transform: scaleX(-1);
}

.eq-topbar__titlewrap {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1 1 auto;
}
.eq-topbar__title {
    font-family: "Cairo", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--eq-ink);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    max-width: 100%;
    background: #f3f6f8;
    border: 1px solid #e4e8ec;
    padding: 0.32rem 0.85rem;
    border-radius: 0.7rem;
    line-height: 1.35;
    flex: 0 0 auto;
}
.eq-topbar--home .eq-topbar__leading {
    flex: 1 1 auto;
    min-width: 0;
}
.eq-topbar__search {
    flex: 1 1 10rem;
    min-width: 8rem;
    max-width: 20rem;
}
.eq-topbar__search-input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    min-height: 2.35rem;
    padding: 0.35rem 0.85rem;
    border: 1px solid #d5e2ea;
    border-radius: 999px;
    background: #fff;
    color: #35495A;
    font-family: "Cairo", Tahoma, sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
}
.eq-topbar__search-input:focus {
    outline: none;
    border-color: #41b2d9;
    box-shadow: 0 0 0 2px rgba(65, 178, 217, 0.25);
}
.eq-topbar__search-input::placeholder {
    color: #7a8b97;
    font-weight: 600;
}
.eq-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
@media (max-width: 720px) {
    .eq-topbar--home .eq-topbar__titlewrap {
        flex-wrap: wrap;
        width: 100%;
    }
    .eq-topbar--home .eq-topbar__search {
        flex: 1 1 100%;
        max-width: none;
        min-width: 0;
    }
    .eq-topbar--home .eq-topbar__search-input {
        font-size: 16px;
        min-height: 2.5rem;
    }
}
.eq-chip--mark {
    background: #35495A;
    color: #fff !important;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #35495A, 0 4px 12px rgba(53, 73, 90, 0.28);
    width: 2.7rem;
    height: 2.7rem;
}
.eq-chip--mark .sh-icon {
    width: 1.42rem;
    height: 1.42rem;
    stroke-width: 2.45;
    color: #fff;
}
.eq-chip--mail,
.eq-chip--bell {
    background: #35495A !important;
    box-shadow: 0 0 0 1px #35495A, 0 4px 12px rgba(53, 73, 90, 0.28);
}
.eq-topbar .eq-avatar {
    background: #fff;
    color: #41b2d9 !important;
    border: 2px solid #c5cdd4;
    font-weight: 800;
    box-shadow: 0 0 0 2px #eef1f4;
}

.eq-topbar__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    overflow: visible;
    position: relative;
    z-index: 21;
}

.eq-chip {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--eq-paper);
    color: var(--eq-teal);
    text-decoration: none !important;
    border: 1px solid var(--eq-line);
    font-weight: 700;
    font-size: 0.8rem;
    position: relative;
    cursor: pointer;
}
.eq-chip--mark,
.eq-topbar .eq-chip--mark {
    background: #35495A;
    color: #fff !important;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #35495A, 0 4px 12px rgba(53, 73, 90, 0.28);
    width: 2.7rem;
    height: 2.7rem;
}
.eq-chip--mark .sh-icon,
.eq-topbar .eq-chip--mark .sh-icon {
    width: 1.42rem;
    height: 1.42rem;
    stroke-width: 2.45;
    color: #fff;
    stroke: #fff;
}
.eq-chip--mail,
.eq-chip--bell,
.eq-topbar .eq-chip--mail,
.eq-topbar .eq-chip--bell {
    background: #35495A !important;
    box-shadow: 0 0 0 1px #35495A, 0 4px 12px rgba(53, 73, 90, 0.28);
}

body.eq-skin .eq-app .eq-topbar a.eq-headbtn,
body.eq-skin .eq-app .eq-topbar button.eq-headbtn,
body.eq-skin .eq-app .eq-topbar summary.eq-headbtn {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.72rem;
    display: grid;
    place-items: center;
    border: 0 !important;
    cursor: pointer;
    position: relative;
    text-decoration: none !important;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 auto;
}
body.eq-skin .eq-app .eq-topbar .eq-headbtn--mail,
body.eq-skin .eq-app .eq-topbar .eq-headbtn--bell,
body.eq-skin .eq-app .eq-topbar .eq-headbtn--lang,
body.eq-skin .eq-app .eq-topbar .eq-headbtn--full,
body.eq-skin .eq-app .eq-topbar .eq-headbtn--night,
body.eq-skin .eq-app .eq-topbar a.eq-headbtn--mail,
body.eq-skin .eq-app .eq-topbar button.eq-headbtn--bell,
body.eq-skin .eq-app .eq-topbar button.eq-headbtn--lang,
body.eq-skin .eq-app .eq-topbar button.eq-headbtn--full,
body.eq-skin .eq-app .eq-topbar button.eq-headbtn--night,
body.eq-skin .eq-app .eq-topbar summary.eq-headbtn--lang {
    background: var(--eq-sidebar, #35495A) !important;
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(53, 73, 90, 0.32);
}
body.eq-skin .eq-app .eq-topbar .eq-headbtn--mail:hover,
body.eq-skin .eq-app .eq-topbar .eq-headbtn--mail:focus,
body.eq-skin .eq-app .eq-topbar .eq-headbtn--bell:hover,
body.eq-skin .eq-app .eq-topbar .eq-headbtn--bell:focus,
body.eq-skin .eq-app .eq-topbar .eq-headbtn--lang:hover,
body.eq-skin .eq-app .eq-topbar .eq-headbtn--lang:focus,
body.eq-skin .eq-app .eq-topbar .eq-headbtn--full:hover,
body.eq-skin .eq-app .eq-topbar .eq-headbtn--full:focus,
body.eq-skin .eq-app .eq-topbar .eq-headbtn--night:hover,
body.eq-skin .eq-app .eq-topbar .eq-headbtn--night:focus,
body.eq-skin .eq-app .eq-topbar a.eq-headbtn--mail:hover,
body.eq-skin .eq-app .eq-topbar a.eq-headbtn--mail:focus,
body.eq-skin .eq-app .eq-topbar button.eq-headbtn--bell:hover,
body.eq-skin .eq-app .eq-topbar button.eq-headbtn--bell:focus,
body.eq-skin .eq-app .eq-topbar summary.eq-headbtn--lang:hover,
body.eq-skin .eq-app .eq-topbar summary.eq-headbtn--lang:focus,
body.eq-skin .eq-app .eq-topbar button.eq-headbtn--lang:hover,
body.eq-skin .eq-app .eq-topbar button.eq-headbtn--lang:focus,
body.eq-skin .eq-app .eq-topbar button.eq-headbtn--full:hover,
body.eq-skin .eq-app .eq-topbar button.eq-headbtn--full:focus,
body.eq-skin .eq-app .eq-topbar button.eq-headbtn--night:hover,
body.eq-skin .eq-app .eq-topbar button.eq-headbtn--night:focus {
    background: color-mix(in srgb, var(--eq-sidebar, #35495A) 82%, #fff) !important;
    color: #fff !important;
}
body.eq-skin .eq-app .eq-topbar .eq-headbtn__ico {
    width: 1.42rem;
    height: 1.42rem;
    fill: currentColor;
    stroke: none;
    display: block;
    color: inherit;
}

.eq-notice {
    position: relative;
    flex: 0 0 auto;
}
.eq-notice__toggle,
.eq-headbtn--bell {
    position: relative;
    overflow: visible;
}
.eq-notice__badge {
    position: absolute;
    top: -0.2rem;
    inset-inline-end: -0.15rem;
    min-width: 1.05rem;
    height: 1.05rem;
    padding: 0 0.22rem;
    border-radius: 999px;
    background: #c0392b;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    line-height: 1;
}
.eq-popover-scrim {
    position: fixed;
    inset: 0;
    z-index: 350;
    background: rgba(26, 31, 36, 0.32);
    backdrop-filter: blur(2px);
    cursor: pointer;
}
.eq-popover-scrim[hidden] {
    display: none !important;
}
html.eq-popover-open .eq-topbar {
    z-index: 360;
}
.eq-notice__menu {
    position: absolute;
    top: calc(100% + 0.55rem);
    inset-inline-end: 0;
    width: min(22rem, 86vw);
    background: #fff;
    border: 1px solid #dce7ee;
    border-radius: 1rem;
    box-shadow: 0 18px 40px rgba(53, 73, 90, 0.16);
    z-index: 80;
    overflow: hidden;
}
.eq-notice__head,
.eq-notice__all {
    padding: 0.7rem 0.9rem;
    font-weight: 700;
    color: var(--eq-teal-deep);
}
.eq-notice__all {
    display: block;
    border-top: 1px solid var(--eq-line);
    text-align: center;
    text-decoration: none !important;
    font-size: 0.9rem;
}
.eq-notice__empty {
    padding: 0.9rem;
    color: var(--eq-muted);
}
.eq-notice__item {
    display: block;
    padding: 0.7rem 0.9rem;
    text-decoration: none !important;
    color: inherit;
    border-top: 1px solid var(--eq-line);
}
.eq-notice__item strong {
    display: block;
    font-size: 0.92rem;
}
.eq-notice__item span {
    display: block;
    color: var(--eq-muted);
    font-size: 0.8rem;
    margin-top: 0.15rem;
}
.eq-notice__item.is-unread {
    background: color-mix(in srgb, var(--eq-teal) 8%, #fff);
}
.eq-row--unread {
    background: color-mix(in srgb, var(--eq-teal) 7%, #fff);
    border-inline-start: 3px solid var(--eq-teal);
}
a.eq-row {
    display: block;
    text-decoration: none !important;
    color: inherit;
}

.eq-avatar {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--eq-paper);
    color: var(--eq-teal) !important;
    text-decoration: none !important;
    border: 1px solid var(--eq-line);
    font-weight: 700;
    font-size: 0.8rem;
    overflow: hidden;
}
.eq-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.eq-avatar__sil {
    width: 1.35rem;
    height: 1.35rem;
    fill: currentColor;
}
.eq-avatar--lg {
    width: 4.4rem;
    height: 4.4rem;
}
.eq-avatar--lg .eq-avatar__sil {
    width: 2.4rem;
    height: 2.4rem;
}

button.eq-avatar {
    cursor: pointer;
    font: inherit;
    padding: 0;
    appearance: none;
}

.eq-chip .sh-icon {
    width: 1.15rem;
    height: 1.15rem;
}
.eq-topbar .eq-chip--mark .sh-icon {
    width: 1.42rem;
    height: 1.42rem;
    stroke-width: 2.45;
    color: #fff;
    stroke: #fff;
}

.eq-account {
    position: relative;
    overflow: visible;
    flex: 0 0 auto;
}

.eq-account__menu {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: auto;
    width: min(18.5rem, 92vw);
    background: #fff;
    border: 1px solid #dce7ee;
    border-radius: 1rem;
    box-shadow: 0 18px 40px rgba(53, 73, 90, 0.16);
    padding: 0.7rem 0.7rem 0.55rem;
    z-index: 80;
}
html[dir="ltr"] .eq-account__menu {
    left: auto;
    right: 0;
}

.eq-account__meta {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.45rem 0.5rem 0.75rem;
    border-bottom: 1px solid #e8eef2;
    margin-bottom: 0.45rem;
}

.eq-account__face {
    width: 2.7rem;
    height: 2.7rem;
    flex: 0 0 auto;
    pointer-events: none;
}

.eq-account__who {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.eq-account__meta strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: #35495A;
    line-height: 1.3;
}

.eq-account__meta span {
    display: block;
    margin-top: 0.12rem;
    font-size: 0.78rem;
    color: var(--eq-muted);
}

.eq-account__list {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.eq-account__item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.65rem;
    color: #35495A !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    font-weight: 700;
    border: 0;
    background: transparent;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    text-align: start;
}

.eq-account__item:hover,
.eq-account__item:focus {
    background: #f7fbfd;
}

.eq-account__ico {
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 auto;
    fill: #41b2d9;
    display: block;
}

.eq-account__label {
    flex: 1 1 auto;
    min-width: 0;
}

.eq-account__item .eq-dropcheck__chip {
    margin-inline-start: auto;
}

.eq-account__langs {
    margin: 0;
}

.eq-account__langs > summary {
    list-style: none;
}

.eq-account__langs > summary::-webkit-details-marker {
    display: none;
}

.eq-account__langs-list {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.15rem 0 0.25rem 0;
}

.eq-account__lang {
    font-weight: 600;
    padding-inline-start: 2.35rem;
}

.eq-account__lang.is-active {
    background: color-mix(in srgb, #41b2d9 16%, #fff);
    color: #1d6f8c !important;
}

.eq-account__item--logout,
.eq-account__item--logout .eq-account__ico {
    color: #a33b3b !important;
    fill: #c45c5c;
}

.eq-account__item--logout:hover,
.eq-account__item--logout:focus {
    background: color-mix(in srgb, #c45c5c 10%, #fff);
}

.eq-account.is-open {
    z-index: 90;
}

.eq-content {
    padding: 1.15rem 1.35rem 5.5rem;
    width: 100%;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
}

/* Hero + tiles */
.eq-hero {
    background: linear-gradient(135deg, var(--eq-hero-from, #f8fcfe) 0%, var(--eq-hero-mid, #eef7fb) 52%, var(--eq-hero-to, #e3f2f8) 100%);
    color: var(--eq-hero-ink);
    border: 1px solid color-mix(in srgb, var(--eq-brand, #41b2d9) 32%, transparent);
    border-radius: 1.25rem;
    padding: 1.25rem 1.35rem;
    margin-bottom: 1.15rem;
    box-shadow: 0 10px 26px rgba(53, 73, 90, 0.07);
    position: relative;
    overflow: hidden;
}

.eq-hero::before,
.eq-hero::after {
    display: none;
}

.eq-hero__inner {
    position: relative;
    z-index: 1;
}

.eq-hero__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.eq-hero__mark {
    position: relative;
    width: 4.35rem;
    height: 4.35rem;
    flex: 0 0 auto;
    border-radius: 50%;
    overflow: visible;
    background: #fff;
    display: block;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #41b2d9;
}
.eq-hero__clip {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    padding: 0.14rem;
    box-sizing: border-box;
}
.eq-hero__mark img,
.eq-hero__logo {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
    background: #fff !important;
    padding: 0 !important;
    box-shadow: none;
    transform: scale(1.18);
}

.eq-hero h1 {
    margin: 0;
    font-family: "Cairo", Tahoma, sans-serif;
    font-size: clamp(1.45rem, 2.4vw, 1.95rem);
    font-weight: 800;
    text-transform: none;
    color: var(--eq-hero-ink);
    line-height: 1.25;
}

.eq-inbox {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: #fff;
    border: 1px solid #d5e4ec;
    border-inline-start: 4px solid var(--eq-teal);
    border-radius: 0.9rem;
    padding: 0.8rem 1rem;
    margin-bottom: 1.1rem;
    text-decoration: none !important;
    color: var(--eq-ink) !important;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 61, 91, 0.05);
}
.eq-inbox__icon {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.6rem;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--eq-teal) 12%, #fff);
    color: var(--eq-teal);
}
.eq-inbox strong {
    margin-inline-start: auto;
    min-width: 1.65rem;
    height: 1.65rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: var(--eq-teal);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 0.8rem;
}

.eq-kicker {
    margin: 0 0 0.25rem;
    opacity: 1;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #41b2d9;
}

.eq-hero p,
.eq-hero__sub {
    margin: 0;
    opacity: 1;
    color: var(--eq-hero-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    font-weight: 600;
}

.eq-hero--dash .eq-hero__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem 1.15rem;
}
.eq-hero--dash .eq-hero__copy {
    min-width: 0;
}
.eq-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin: 0.4rem 0 0.45rem;
}
.eq-hero__role-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #35495a 0%, #2a6f7a 100%);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 4px 12px rgba(53, 73, 90, 0.22);
}
.eq-hero__role-pill .sh-icon {
    width: 0.9rem;
    height: 0.9rem;
    flex: 0 0 auto;
}
.eq-hero__decor {
    flex: 0 0 4.75rem;
    width: 4.75rem;
    height: 4.75rem;
    align-self: center;
    border-radius: 1rem;
    background:
        radial-gradient(circle at 35% 35%, rgba(65, 178, 217, 0.28) 0%, transparent 58%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.72) 0%, rgba(65, 178, 217, 0.1) 100%);
    border: 1px solid rgba(65, 178, 217, 0.22);
    opacity: 0.9;
}

.eq-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.eq-stat {
    background: var(--eq-teal);
    border: 0;
    color: #fff;
    border-radius: 0.75rem;
    padding: 0.55rem 0.85rem;
    min-width: 5.5rem;
}

.eq-stat strong {
    display: block;
    font-size: 1.3rem;
    line-height: 1.1;
}

.eq-stat span {
    font-size: 0.8rem;
    opacity: 0.9;
}

.eq-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
    width: 100%;
}

.eq-dash-search__empty {
    margin: 0 0 0.85rem;
}
[data-eq-dash-item].is-filter-hidden,
[data-eq-dash-item][hidden] {
    display: none !important;
}

.eq-tile {
    --eq-tone: var(--eq-teal);
    background: var(--eq-card);
    border: 1px solid #dce7ee;
    border-radius: 0.95rem;
    padding: 0.9rem 1rem;
    text-decoration: none !important;
    color: inherit !important;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    min-height: 0;
    box-shadow: 0 8px 20px rgba(0, 61, 91, 0.045);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    animation: eq-rise 0.4s ease both;
    position: relative;
    overflow: hidden;
}

.eq-tile::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--eq-tone);
}

.eq-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(0, 61, 91, 0.09);
    border-color: color-mix(in srgb, var(--eq-teal) 35%, #dce7ee);
}

.eq-tile--teal { --eq-tone: var(--eq-teal); }
.eq-tile--gold { --eq-tone: var(--eq-teal); }
.eq-tile--green { --eq-tone: var(--eq-teal); }
.eq-tile--blue { --eq-tone: #3d7a96; }
.eq-tile--orange { --eq-tone: var(--eq-sidebar, #35495A); }
.eq-tile--purple { --eq-tone: #3d7a96; }
.eq-tile--slate { --eq-tone: var(--eq-sidebar, #35495A); }

.eq-tile__icon {
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 0.75rem;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: color-mix(in srgb, var(--eq-tone, var(--eq-teal)) 14%, white);
    color: var(--eq-tone, var(--eq-teal));
}

.eq-tile__copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.eq-tile__title {
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1.3;
}

.eq-tile__desc {
    color: var(--eq-muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

.eq-card {
    background: var(--eq-card);
    border: 1px solid #dce7ee;
    border-radius: 1rem;
    padding: 1rem 1.05rem 0.85rem;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 61, 91, 0.045);
}

.eq-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--eq-line);
    margin-bottom: 0.25rem;
}
.eq-card__head .eq-view-toggle {
    margin-inline-start: auto;
}

.eq-card__head h2 {
    margin: 0;
    font-family: "Cairo", Tahoma, sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #35495A;
}

.eq-card__head a,
.eq-muted {
    color: var(--eq-teal);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.eq-section-title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: "Cairo", sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    margin: 1.1rem 0 0.6rem;
    color: #35495A;
}
.eq-section-title::before {
    content: "";
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: #41b2d9;
    box-shadow: 0 0 0 3px #35495A;
    flex: 0 0 auto;
}

.eq-section-title:first-child {
    margin-top: 0;
}

.eq-staff-roles {
    margin: 0 0 1.35rem;
}

.eq-staff-page .eq-card__head h2 {
    font-family: "Cairo", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #35495A;
}

.eq-capgroups {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.35rem;
}

.eq-capgroup {
    background: #f7fbfd;
    border: 1px solid #dce7ee;
    border-radius: 0.85rem;
    padding: 0.7rem 0.8rem 0.8rem;
}

.eq-capgroup__title {
    margin: 0 0 0.55rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #35495A;
}

.eq-modal--caps .eq-modal__panel {
    width: min(760px, 100%);
}

.eq-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 0.95rem;
    background: #fff;
    border: 1px solid #dce7ee;
    margin-bottom: 0.55rem;
    position: relative;
    box-shadow: 0 4px 14px rgba(53, 73, 90, 0.04);
}
.eq-row__body {
    flex: 1 1 12rem;
    min-width: 0;
}
.eq-row--wave {
    overflow: hidden;
}
.eq-row:hover {
    background: #f7fbfd;
    border-color: color-mix(in srgb, var(--eq-teal) 38%, #dce7ee);
}
.eq-row__who {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    flex: 1 1 12rem;
}

.eq-row__face,
.eq-row__face--empty {
    position: relative;
    width: 3.35rem;
    height: 4.2rem;
    flex: 0 0 auto;
    border-radius: 0.55rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 1px solid #d5dde3;
    background: #eef2f5;
    color: #8a939b;
    font-size: 0.62rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    padding: 0.2rem;
}

.eq-row__face img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center;
    display: block;
    background: #eef2f5;
}

.eq-row__face--round,
.eq-row__face--round.eq-row__face--empty {
    width: 3.15rem;
    height: 3.15rem;
    padding: 0;
    border-radius: 50%;
    border: 2px solid #41b2d9;
    background: #fff;
    color: #41b2d9;
    box-shadow: 0 0 0 2px color-mix(in srgb, #41b2d9 18%, white);
}

.eq-row__face--round img {
    border-radius: 50%;
    object-fit: cover !important;
    background: #fff;
}

.eq-row__face--stack {
    position: relative;
    overflow: visible;
}

.eq-row__face--stack img {
    position: absolute;
    width: 68%;
    height: 68%;
    top: 0;
    inset-inline-start: 0;
    border: 2px solid #fff;
}

.eq-row__face--stack img:last-child {
    top: auto;
    bottom: 0;
    inset-inline-start: auto;
    inset-inline-end: 0;
}

.eq-row__face--group {
    background: color-mix(in srgb, #41b2d9 16%, white)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2335495A'%3E%3Cpath d='M16 11c1.66 0 3-1.57 3-3.5S17.66 4 16 4s-3 1.57-3 3.5 1.34 3.5 3 3.5zm-8 0c1.66 0 3-1.57 3-3.5S9.66 4 8 4 5 5.57 5 7.5 6.34 11 8 11zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5C15 14.17 10.33 13 8 13zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E")
        center / 1.45rem no-repeat;
    border-color: #35495A;
    box-shadow: 0 0 0 2px color-mix(in srgb, #35495A 14%, white);
}

.eq-row:last-child {
    border-bottom: 0;
}

.eq-row.is-page-hidden,
.eq-row.is-filter-hidden,
.eq-wa__item.is-page-hidden,
.eq-wa__item.is-filter-hidden,
[data-eq-item].is-page-hidden,
[data-eq-item].is-filter-hidden,
.eq-wa__item[hidden],
[data-eq-item][hidden] {
    display: none !important;
}

.eq-row__title {
    font-weight: 700;
    color: var(--eq-ink) !important;
    text-decoration: none !important;
    font-size: 1.02rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}
.eq-row__meta .qp-badges {
    margin-top: 0.2rem;
}

.eq-row__meta {
    margin: 0.15rem 0 0;
    color: var(--eq-muted);
    font-size: 0.86rem;
}

.eq-row__meta--pills {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 0.3rem;
    align-items: center;
    margin-top: 0.35rem;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.eq-row__meta--pills .eq-dropcheck__chip,
.eq-row__meta--pills .qp-badge,
.eq-row__meta--pills .qp-chip {
    flex: 0 1 auto;
    width: auto;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-inline-end: 0;
}

body.path-mod-quranprogress .qp-badge-hifz { background: var(--eq-hifz); }
body.path-mod-quranprogress .qp-badge-sughra { background: var(--eq-sughra); }
body.path-mod-quranprogress .qp-badge-kubra { background: var(--eq-kubra); }
body.path-mod-quranprogress .qp-badge-tathbit { background: var(--eq-tathbit); }

.eq-row__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    position: relative;
    z-index: 2;
}

.eq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.42rem 0.85rem;
    border-radius: 0.65rem;
    border: 1px solid #d5e0e7;
    background: #fff;
    color: #35495A !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.84rem;
    min-height: 2.35rem;
    line-height: 1.2;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.eq-btn .eq-ico,
.eq-view-toggle__btn .eq-ico,
.eq-brand-nav__tab .eq-ico {
    width: 1.05em;
    height: 1.05em;
    flex: 0 0 auto;
}

.eq-btn__label {
    line-height: 1.2;
}

.eq-btn:hover {
    background: #f4fafc;
    border-color: color-mix(in srgb, var(--eq-teal) 40%, #d5e0e7);
}

.eq-btn--primary {
    background: var(--eq-teal);
    border-color: transparent;
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(65, 178, 217, 0.22);
}
.eq-btn--primary:hover {
    background: #359fc4;
    border-color: transparent;
    color: #fff !important;
}

.eq-btn--join {
    background: var(--eq-teal);
    border-color: transparent;
    color: #fff !important;
}

.eq-btn--gold {
    background: var(--eq-gold);
    border-color: transparent;
    color: #fff !important;
}

.eq-btn--danger {
    background: #fff;
    border-color: #c45c5c;
    color: #a33b3b !important;
}
.eq-btn--danger:hover {
    background: #fdf4f4;
    border-color: #b14a4a;
}

body:has(.eq-modal.is-open) {
    overflow: hidden;
}

.eq-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: max(1.25rem, env(safe-area-inset-top)) 1rem 1.5rem;
    box-sizing: border-box;
}

.eq-modal:not(.is-open),
.eq-modal[hidden] {
    display: none !important;
}

button.eq-modal__backdrop {
    border: 0;
    padding: 0;
    cursor: pointer;
}

button.eq-modal__close {
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.eq-modal__backdrop {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background: rgba(26, 31, 36, 0.52);
    backdrop-filter: blur(6px);
    cursor: pointer;
    pointer-events: auto;
    border: 0;
    padding: 0;
    margin: 0;
    text-decoration: none !important;
    appearance: none;
    -webkit-appearance: none;
}
a.eq-modal__backdrop::before {
    content: "";
    position: absolute;
    inset: 0;
}

.eq-modal__panel {
    position: relative;
    z-index: 2;
    isolation: isolate;
    width: min(720px, 100%);
    max-height: min(92dvh, 860px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 1.15rem;
    box-shadow: 0 28px 64px rgba(53, 73, 90, 0.28);
    overflow: hidden;
    animation: eq-rise 0.22s ease-out;
}

.eq-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.1rem 1.25rem 0.95rem;
    background: linear-gradient(180deg, #35495A 0%, #2c3c4b 100%);
    color: #fff;
}

.eq-modal__kicker {
    margin: 0 0 0.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.7);
}

.eq-modal__head h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
}

.eq-modal__close {
    flex: 0 0 auto;
    width: 2.1rem;
    height: 2.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    font-size: 1.45rem;
    line-height: 1;
    text-decoration: none !important;
}

.eq-modal__close:hover,
.eq-modal__close:focus {
    background: #41b2d9;
}

.eq-modal__body {
    overflow: auto;
    padding: 1.15rem 1.25rem 1.25rem;
    background: #fff;
}

.eq-form--modal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
}

.eq-form--modal .eq-form__row {
    margin: 0;
}

.eq-form__row label,
.eq-form--modal .eq-form__row label,
.eq-site-form .eq-form__row label,
.eq-photo-field > label {
    position: relative;
}
.eq-form--modal:not(.eq-pub-form) .eq-form__row label,
.eq-form--modal:not(.eq-pub-form) .eq-photo-field > label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #35495A;
}
.eq-form__row:has([required]) > label::after,
.eq-form--modal .eq-form__row:has([required]) > label::after,
.eq-site-form .eq-form__row:has([required]) > label::after,
.eq-photo-field:has([required]) > label::after,
.eq-form__row:has(select[required]) > label::after {
    content: " *";
    color: #b14a4a;
    font-weight: 800;
}
.eq-checkgrid.is-invalid {
    outline: 2px solid #b14a4a;
    outline-offset: 3px;
    border-radius: 0.75rem;
}

.eq-form--modal:not(.eq-pub-form) .eq-filter__input,
.eq-form--modal:not(.eq-pub-form) .eq-filter__select {
    width: 100%;
}

.eq-pub-form .eq-filter__input,
.eq-pub-form .eq-filter__select,
.eq-site-form .eq-filter__input,
.eq-site-form .eq-filter__select {
    width: 100%;
    min-height: 2.55rem;
    border: 1px solid #e4e8ec;
    border-radius: 0.7rem;
    background: #fff;
    box-shadow: 0 1px 0 rgba(53, 73, 90, 0.04);
}

.eq-pub-form .eq-filter__input:focus,
.eq-pub-form .eq-filter__select:focus,
.eq-site-form .eq-filter__input:focus,
.eq-site-form .eq-filter__select:focus {
    outline: none;
    border-color: #41b2d9;
    box-shadow: 0 0 0 3px rgba(65, 178, 217, 0.2);
}

.eq-form__section {
    grid-column: 1 / -1;
    margin: 0.35rem 0 0;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #e4e8ec;
    font-size: 0.82rem;
    font-weight: 800;
    color: #35495A;
}

/* App modal forms — plain classic rows (no card stack) */
.eq-app .eq-modal__body .eq-form--modal:not(.eq-pub-form) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.eq-app .eq-form--modal:not(.eq-pub-form) .eq-form__row {
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    display: grid;
    grid-template-rows: auto auto;
    gap: 0.35rem;
    align-content: start;
}
.eq-form--modal:not(.eq-pub-form) {
    align-items: start;
}
.eq-form--modal:not(.eq-pub-form) .eq-form__row:has(.eq-form__hint) {
    grid-template-rows: auto auto auto;
}
.eq-form--modal:not(.eq-pub-form) .eq-form__row > label,
.eq-form--modal:not(.eq-pub-form) .eq-photo-field > label {
    grid-row: 1;
}
.eq-form--modal:not(.eq-pub-form) .eq-form__row > .eq-filter__input,
.eq-form--modal:not(.eq-pub-form) .eq-form__row > .eq-filter__select,
.eq-form--modal:not(.eq-pub-form) .eq-form__row > select.eq-filter__select {
    grid-row: 2;
    min-height: 2.55rem;
    box-sizing: border-box;
}
.eq-form--modal:not(.eq-pub-form) .eq-form__row > .eq-form__hint {
    grid-row: 3;
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.35;
    color: #6b7680;
}
.eq-app .eq-form--modal:not(.eq-pub-form) .eq-form__section {
    margin: 0.35rem 0 0;
    padding: 0 0 0.35rem;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #e4e8ec;
    border-radius: 0;
    border-inline-start: 0;
}
.eq-app .eq-form--modal:not(.eq-pub-form) .eq-form__block {
    display: contents;
    padding: 0;
    background: transparent;
    border: 0;
}
.eq-app .eq-form-actions,
.eq-app .eq-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.eq-form__section:first-child {
    margin-top: 0;
}

.eq-form__row--full,
.eq-form__section--full,
.eq-form--modal .eq-modal__actions,
.eq-form--modal .eq-modal__confirm {
    grid-column: 1 / -1;
}

.eq-dropcheck {
    position: relative;
    display: grid;
    gap: 0.35rem;
}

.eq-dropcheck__btn {
    display: flex;
    align-items: flex-start;
    width: 100%;
    min-height: 2.55rem;
    height: auto;
    padding: 0.45rem 0.75rem 0.45rem 2.15rem;
    border: 1px solid #d7e3ea;
    border-radius: 0.75rem;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2335495A' d='M1.2 1.3 6 6.1l4.8-4.8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0.7rem center;
    background-size: 0.7rem;
    text-align: start;
    font: inherit;
    font-weight: 600;
    color: #35495A;
    cursor: pointer;
    box-shadow: 0 1px 0 rgba(53, 73, 90, 0.04);
}

html[dir="rtl"] .eq-dropcheck__btn {
    padding: 0.45rem 0.75rem 0.45rem 2.15rem;
    background-position: left 0.7rem center;
}
html[dir="ltr"] .eq-dropcheck__btn {
    padding: 0.45rem 2.15rem 0.45rem 0.75rem;
    background-position: right 0.7rem center;
}

.eq-dropcheck__btn [data-eq-dropcheck-label] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}

.eq-dropcheck__chip {
    display: inline-flex;
    max-width: 100%;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, #41b2d9 18%, white);
    color: #35495A;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
}

.eq-dropcheck.is-open {
    z-index: 30;
}

.eq-dropcheck.is-open .eq-dropcheck__btn,
.eq-dropcheck__btn:focus-visible {
    border-color: #41b2d9;
    box-shadow: 0 0 0 3px rgba(65, 178, 217, 0.2);
}

.eq-dropcheck.is-invalid .eq-dropcheck__btn {
    border-color: #c45c5c;
    box-shadow: 0 0 0 3px rgba(196, 92, 92, 0.18);
}

.eq-dropcheck__panel {
    position: absolute;
    top: calc(100% + 0.3rem);
    left: 0;
    right: 0;
    z-index: 8;
    display: grid;
    gap: 0.45rem;
    padding: 0.65rem;
    border: 1px solid color-mix(in srgb, #41b2d9 28%, #e4e8ec);
    border-radius: 0.9rem;
    background: linear-gradient(#fff, #f7fbfd);
    box-shadow: 0 16px 36px rgba(53, 73, 90, 0.18);
    overflow: auto;
}

.eq-dropcheck__panel[hidden] {
    display: none;
}

.eq-dropcheck__panel .eq-filter__input {
    border: 1px solid #d7e3ea;
    border-radius: 0.65rem;
    background: #fff;
    min-height: 2.35rem;
}

.eq-dropcheck__panel .eq-filter__input:focus {
    outline: none;
    border-color: #41b2d9;
    box-shadow: 0 0 0 3px rgba(65, 178, 217, 0.18);
}

.eq-dropcheck__list {
    max-height: 11rem;
    overflow: auto;
    display: grid;
    gap: 0.15rem;
}

.eq-dropcheck__item {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.4rem 0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    overflow-wrap: anywhere;
    line-height: 1.4;
}

.eq-dropcheck__item:hover {
    background: color-mix(in srgb, #41b2d9 12%, white);
}

.eq-dropcheck__item:has(input:checked) {
    background: color-mix(in srgb, #41b2d9 18%, white);
}

.eq-dropcheck__item input[type="checkbox"] {
    accent-color: #41b2d9;
    width: 1.05rem;
    height: 1.05rem;
    margin: 0.35rem 0 0;
    flex: 0 0 auto;
}

a.eq-dropcheck__item {
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    white-space: normal !important;
    overflow: visible;
    text-overflow: unset;
    overflow-wrap: anywhere;
}

.eq-dropcheck--action {
    position: relative;
    display: inline-flex;
    vertical-align: middle;
}

.eq-dropcheck--action .eq-dropcheck__panel {
    left: auto;
    right: 0;
    width: max-content;
    min-width: 16rem;
    max-width: min(34rem, calc(100vw - 2.5rem));
}

html[dir="rtl"] .eq-dropcheck--action .eq-dropcheck__panel {
    right: auto;
    left: 0;
}

.eq-dropcheck--action .eq-dropcheck__list {
    max-height: min(18rem, 50vh);
}

.eq-modal__actions .eq-dropcheck--action .eq-dropcheck__panel {
    top: auto;
    bottom: calc(100% + 0.35rem);
    z-index: 20;
}

.eq-dropcheck--people .eq-dropcheck__panel {
    min-width: 18rem;
    max-width: min(28rem, calc(100vw - 2.5rem));
}

.eq-dropcheck--people .eq-dropcheck__list {
    max-height: min(22rem, 55vh);
}

.eq-dropcheck--recipients .eq-dropcheck__panel {
    padding: 0.7rem;
}

.eq-dropcheck--recipients .eq-dropcheck__list {
    max-height: min(22rem, 52vh);
    gap: 0.35rem;
}

.eq-dropcheck__group {
    display: grid;
    gap: 0.12rem;
}

.eq-dropcheck__group-label {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 0.35rem 0.5rem 0.28rem;
    margin: 0.15rem 0 0.05rem;
    border-radius: 0.45rem;
    background: #35495A;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.eq-dropcheck__person-meta {
    display: grid;
    gap: 0.08rem;
    min-width: 0;
}

.eq-dropcheck__person-role {
    font-size: 0.75rem;
    font-weight: 600;
    color: #5a6d7a;
}

a.eq-dropcheck__person {
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.55rem;
}

.eq-dropcheck__person .eq-row__face,
.eq-dropcheck__person .eq-row__face--empty,
.eq-dropcheck__person .eq-row__face--round {
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 50%;
    font-size: 0.72rem;
}

.eq-dropcheck__person-name {
    min-width: 0;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

label.eq-dropcheck__person {
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.5rem;
}

.eq-modal__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.35rem;
    padding-top: 0.85rem;
    border-top: 1px solid #e4e8ec;
    position: relative;
    z-index: 4;
    pointer-events: auto;
}

.eq-modal__actions .eq-btn {
    min-width: 7.5rem;
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

.eq-modal__confirm {
    margin-bottom: 1rem;
}

.eq-modal__lead {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #35495A;
}

.eq-modal__note {
    margin: 0;
    color: #5A5A5C;
    line-height: 1.5;
}

.eq-modal .eq-lobby__notice {
    text-align: start;
    border-radius: 0.8rem;
    padding: 0.85rem 0.95rem;
    margin: 0 0 0.85rem;
}

.eq-modal .eq-lobby__notice--soon {
    background: color-mix(in srgb, #41b2d9 14%, white);
    color: #35495A;
}

.eq-modal .eq-lobby__notice--closed {
    background: color-mix(in srgb, #c45c5c 14%, white);
    color: #a33b3b;
}

.eq-modal .eq-rows {
    margin: 0 0 1rem;
}

.eq-checkgrid--pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0;
}

.eq-checkgrid--pills .eq-check {
    display: grid;
    grid-template-columns: 1.05rem minmax(0, 1fr);
    align-items: start;
    justify-items: start;
    gap: 0.35rem 0.55rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid #e4e8ec;
    border-radius: 999px;
    background: #fff;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: start;
    word-break: normal;
    overflow-wrap: break-word;
    cursor: pointer;
}

.eq-checkgrid--pills .eq-check input[type="checkbox"],
.eq-checkgrid--pills .eq-check input[type="radio"] {
    width: 1.05rem;
    height: 1.05rem;
    min-width: 1.05rem;
    margin: 0.12rem 0 0;
    place-self: start;
    grid-column: 1;
    grid-row: 1;
}

.eq-checkgrid--pills .eq-check:has(input:checked) {
    background: color-mix(in srgb, #41b2d9 16%, white);
    border-color: #41b2d9;
    color: #35495A;
}

.eq-modal--install .eq-modal__panel {
    width: min(440px, 100%);
}

.eq-modal--install .eq-modal__body {
    text-align: center;
    background: #fff;
}

.eq-install-logo {
    display: block;
    width: 148px;
    height: 148px;
    margin: 0.15rem auto 0.85rem;
    object-fit: contain;
    background: #fff;
}

.eq-install-qr {
    margin: 0.85rem auto 0.35rem;
    padding: 0.85rem 0.85rem 0.7rem;
    max-width: 240px;
    background: #fff;
    border: 1px solid #e6eaee;
    border-radius: 1rem;
}

.eq-install-qr img {
    display: block;
    width: 196px;
    height: 196px;
    margin: 0 auto;
}

.eq-install-qr p {
    margin: 0.55rem 0 0;
    color: #35495A;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.4;
}

.eq-modal--install .eq-install-open {
    margin: 0.35rem auto 0.5rem;
}

.eq-install-login {
    display: inline-block;
    margin-top: 0.75rem;
    color: var(--eq-teal, #41b2d9);
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 700px) {
    .eq-form--modal {
        grid-template-columns: 1fr;
    }
    .eq-modal__panel {
        max-height: 96dvh;
        border-radius: 1rem 1rem 0 0;
        margin-top: auto;
    }
    .eq-modal {
        align-items: flex-end;
        padding: 0;
    }
    .eq-modal__actions {
        justify-content: stretch;
    }
    .eq-modal__actions .eq-btn {
        flex: 1;
    }
}

.eq-empty {
    color: var(--eq-muted);
    padding: 1rem 0.2rem;
}
.eq-empty--journey {
    display: grid;
    gap: 0.85rem;
    justify-items: center;
    text-align: center;
    padding: 1.25rem 0.75rem 1.1rem;
}
.eq-empty--journey .eq-empty__text {
    margin: 0;
    max-width: 28rem;
    line-height: 1.55;
}
.eq-empty__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

/* Bottom nav (phone) */
.sh-bottomnav {
    display: none;
}

.sh-install {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 0.85rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--eq-teal) 28%, var(--eq-line));
    box-shadow: 0 8px 20px rgba(53, 73, 90, 0.06);
    box-sizing: border-box;
    overflow: visible;
}

.sh-install[hidden] {
    display: none !important;
}

.eq-meet-chip {
    position: fixed;
    inset-inline-end: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    z-index: 85;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.5rem 0.45rem 0.75rem;
    background: #35495A;
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(53, 73, 90, 0.3);
    font-size: 0.84rem;
    font-weight: 700;
    max-width: calc(100vw - 2rem);
}

.eq-meet-chip[hidden] {
    display: none !important;
}

.eq-meet-chip__dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #41b2d9;
    box-shadow: 0 0 0 4px rgba(65, 178, 217, 0.22);
    flex: 0 0 auto;
}

.eq-meet-chip__label {
    white-space: nowrap;
}

.eq-meet-chip__btn {
    border: 0;
    background: #41b2d9;
    color: #fff;
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.eq-meet-chip__x {
    border: 0;
    background: transparent;
    color: #fff;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.85;
}

@media (max-width: 720px) {
    .eq-meet-chip {
        bottom: calc(4.4rem + env(safe-area-inset-bottom, 0px));
        inset-inline-end: 0.7rem;
    }

    .eq-meet-chip__label {
        max-width: 9.5rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.sh-install__logo {
    width: 3.25rem;
    height: 3.25rem;
    flex: 0 0 auto;
    object-fit: contain;
    background: #fff;
    border-radius: 0;
}

.sh-install__text {
    flex: 1;
    min-width: 0;
}

.sh-install__text strong {
    display: block;
    color: var(--eq-teal-deep, #35495A);
    font-size: 0.98rem;
}

.sh-install__text p {
    margin: 0.15rem 0 0;
    color: var(--eq-muted);
    font-size: 0.82rem;
}

.sh-install__close {
    position: static;
    order: 0;
    align-self: center;
    box-sizing: border-box;
    width: 1.85rem;
    height: 1.85rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    appearance: none;
    -webkit-appearance: none;
    background: #eef2f5;
    color: #35495A;
    font-family: inherit;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.sh-install__close svg {
    width: 1.05rem;
    height: 1.05rem;
    display: block;
}

.sh-install__close:hover,
.sh-install__close:focus {
    background: #dbe4ea;
    color: #1a1f24;
}

.sh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.85rem;
    border-radius: 0.6rem;
    border: 0;
    background: var(--eq-teal);
    color: #fff !important;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none !important;
    white-space: nowrap;
}

.sh-install__btn[hidden],
.sh-install__open[hidden] {
    display: none !important;
}

.sh-icon {
    width: 1.25rem;
    height: 1.25rem;
}

@keyframes eq-rise {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Page toolbars â€” full width: filters START side, primary action END side */
body.eq-skin .eq-toolbar,
body.schoolhub-chrome .eq-toolbar,
body.qp-app .eq-toolbar,
.eq-toolbar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between !important;
    gap: 0.75rem 1.25rem;
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 0 1rem;
    padding: 0;
}

body.eq-skin .eq-toolbar__start,
.eq-toolbar__start {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: flex-end;
    flex: 1 1 14rem;
    min-width: 0;
    justify-content: flex-start;
}

body.eq-skin .eq-toolbar__end,
.eq-toolbar__end {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    flex: 0 0 auto;
    margin-inline-start: auto !important;
    justify-content: flex-end;
}

.eq-filter {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    max-width: 100%;
}

.eq-filter__form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: flex-end;
    width: 100%;
}

.eq-filter__form > .eq-filter__input,
.eq-filter__form > .eq-filter__select:not(.eq-pick__select),
.eq-filter__form > .eq-pick-field,
.eq-filter__form > .eq-pick {
    flex: 1 1 9rem;
    min-width: 8.5rem;
    max-width: 100%;
}

.eq-filter__form > .eq-filter__input--grow {
    flex: 2 1 16rem;
    min-width: min(12rem, 100%);
    max-width: none;
}

.eq-filter__form > .eq-pick-field--pagesize,
.eq-filter__form > select[data-eq-pagesize],
.eq-filter__form > .eq-pick-field:has([data-eq-pagesize]) {
    flex: 0 1 6.75rem;
    min-width: 5.5rem;
}

.eq-filter__form--halaqat {
    display: grid;
    grid-template-columns: minmax(11rem, 1.35fr) repeat(auto-fit, minmax(9.25rem, 1fr));
    gap: 0.45rem;
    align-items: center;
    width: 100%;
}
.eq-filter__form--halaqat .eq-filter__q {
    width: 100%;
    max-width: none;
    min-width: 0;
}
.eq-filter__form--halaqat .eq-filter__select {
    width: 100%;
    min-width: 0;
    max-width: none;
}
.eq-filter__form--halaqat [data-eq-pagesize] {
    max-width: 6.75rem;
}

.eq-filter__input--grow {
    flex: 1 1 16rem;
    min-width: min(12rem, 100%);
    max-width: 28rem;
}

.eq-form__actions--end {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}
.eq-form-actions--sticky-top {
    position: sticky;
    top: 0.25rem;
    z-index: 12;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 0.85rem;
    padding: 0.55rem 0;
    background: linear-gradient(to bottom, var(--eq-paper, #fcfdfe) 78%, transparent);
}
.eq-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem 1rem;
    margin: 0 0 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #e4e8ec;
    position: sticky;
    top: 0.25rem;
    z-index: 12;
    background: linear-gradient(to bottom, var(--eq-paper, #fcfdfe) 78%, transparent);
}
.eq-section-head h2,
.eq-section-head h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--eq-teal-deep);
}
.eq-section-head__lead {
    margin: 0.25rem 0 0;
    font-size: 0.78rem;
    color: var(--eq-muted);
    line-height: 1.45;
}
.eq-section-head__main {
    flex: 1 1 12rem;
    min-width: 0;
}
.eq-section-head__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    flex: 0 0 auto;
    margin-inline-start: auto;
}

.qp-app .eq-tabs {
    display: flex;
    gap: 0.35rem;
    background: #fff;
    border: 1px solid var(--eq-line);
    border-radius: 0.85rem;
    padding: 0.25rem;
}

.qp-app .eq-tabs a {
    padding: 0.45rem 0.9rem;
    border-radius: 0.65rem;
    text-decoration: none !important;
    color: var(--eq-muted) !important;
    font-weight: 700;
    font-size: 0.9rem;
}

.qp-app .eq-tabs a.is-active {
    background: var(--eq-teal);
    color: #fff !important;
}

.qp-board-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid #d5e4ec;
    border-radius: 0.9rem;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 61, 91, 0.06);
}

.qp-board-table th,
.qp-board-table td {
    padding: 0.78rem 0.95rem;
    border-bottom: 1px solid #e8eef2;
    vertical-align: middle;
    text-align: start;
}

.qp-board-table th {
    background: var(--eq-teal-deep);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.qp-board-table tbody tr:nth-child(even) td {
    background: #f5fafc;
}

.qp-board-table tbody tr:hover td {
    background: #e7f3f8;
}

.qp-board-table tr:last-child td {
    border-bottom: 0;
}

.qp-board-table td .eq-btn {
    min-height: 2.1rem;
    padding: 0.3rem 0.7rem;
    font-size: 0.82rem;
}

.qp-board-table tbody tr.is-page-hidden {
    display: none !important;
}

.eq-tablectl {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.eq-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 0.55rem 0.85rem;
    margin-top: 0.75rem;
    background: #35495A;
    color: #fff;
    border-radius: 0.7rem;
    font-size: 0.82rem;
    font-weight: 600;
}

.eq-pager[hidden] {
    display: none !important;
}

.eq-pager__info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.eq-pager__info small {
    opacity: 0.78;
    font-weight: 500;
}

.eq-pager__nav {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.eq-pager__btn {
    appearance: none;
    border: 0;
    background: #41b2d9;
    color: #fff;
    font: inherit;
    font-weight: 700;
    min-height: 2.15rem;
    padding: 0.3rem 0.9rem;
    border-radius: 0.5rem;
    cursor: pointer;
}

.eq-pager__btn:hover:not(:disabled) {
    filter: brightness(1.08);
}

.eq-pager__btn:disabled {
    opacity: 0.45;
    cursor: default;
}

@media print {
    .eq-pager {
        display: none !important;
    }
    .qp-board-table tbody tr.is-page-hidden {
        display: table-row !important;
    }
    .eq-row.is-page-hidden,
    .eq-row.is-filter-hidden {
        display: flex !important;
    }
}

.qp-student {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 700;
}

.qp-avatar {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--eq-teal) 15%, white);
    color: var(--eq-teal);
    display: grid;
    place-items: center;
    font-size: 0.78rem;
    font-weight: 800;
}

.qp-head--journey {
    display: grid;
    grid-template-columns: 5.4rem 1fr;
    align-items: center;
    gap: 1rem;
}

.qp-head__face,
.qp-head__face--empty {
    width: 5.4rem;
    height: 6.5rem;
    border-radius: 0.7rem;
    object-fit: contain;
    object-position: center center;
    border: 1px solid #d5dde3;
    background: #eef2f5;
    display: block;
}

.qp-head__badges {
    margin-top: 0.55rem;
}

.qp-stats--journey {
    margin: 0 0 0.85rem;
}

.qp-num {
    unicode-bidi: isolate;
    direction: ltr;
    display: inline-block;
}

.eq-card + .eq-card {
    margin-top: 0.75rem;
}

.qp-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(7.4rem, 1fr));
    gap: 0.5rem;
    width: 100%;
}

.qp-stat {
    background: #fff;
    border: 1px solid #dce7ee;
    border-radius: 0.85rem;
    padding: 0.7rem 0.8rem;
    min-width: 0;
}

.qp-stat strong {
    display: block;
    font-size: 1.35rem;
    line-height: 1.1;
    color: var(--eq-ink);
}

.qp-stat span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--eq-muted);
}

.qp-stat--hifz { border-top: 3px solid var(--eq-hifz); }
.qp-stat--muraja_sughra { border-top: 3px solid var(--eq-sughra); }
.qp-stat--muraja_kubra { border-top: 3px solid var(--eq-kubra); }
.qp-stat--tathbit { border-top: 3px solid var(--eq-tathbit); }

.eq-row__who .eq-row__title {
    display: block;
}

.qp-head__kicker {
    margin: 0 0 0.15rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--eq-muted);
}

.qp-head__name {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--eq-ink);
}

.qp-head__meta {
    margin: 0.2rem 0 0;
    color: var(--eq-muted);
    font-size: 0.86rem;
}

.qp-row__main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex: 1 1 14rem;
}

.qp-row__date {
    flex: 0 0 5.6rem;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 800;
    color: #35495A;
    background: #fff;
    border: 1px solid #d5dde3;
    border-radius: 0.55rem;
    padding: 0.4rem 0.35rem;
    line-height: 1.25;
}

.qp-chip {
    display: inline-flex;
    align-items: center;
    margin-inline-end: 0.4rem;
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

.qp-chip--done {
    background: #e7f6ec;
    color: #2f7a45;
}

.qp-chip--pending {
    background: #f4f6f8;
    color: #6b7680;
}

.eq-form--modal textarea.eq-filter__input {
    min-height: 4.5rem;
    resize: vertical;
}

.eq-modal--progress .eq-modal__panel {
    width: min(760px, 100%);
}

.qp-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.qp-badge {
    display: inline-block;
    padding: 0.22rem 0.5rem;
    border-radius: 0.4rem;
    font-size: 0.78rem;
    color: #fff;
    font-weight: 700;
}

.qp-badge-hifz { background: var(--eq-hifz); }
.qp-badge-sughra { background: var(--eq-sughra); }
.qp-badge-kubra { background: var(--eq-kubra); }
.qp-badge-tathbit { background: var(--eq-tathbit); }
.qp-badge-muted { opacity: 0.72; }
.qp-badge-default { background: #6c757d; }

.qp-date-form {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.qp-date-form input[type="date"] {
    border: 1px solid var(--eq-line);
    border-radius: 0.55rem;
    padding: 0.4rem 0.55rem;
    font-family: inherit;
}

.qp-day-heading {
    margin: 1.25rem 0 0.55rem;
    font-family: "Amiri", serif;
    font-size: 1.15rem;
    color: var(--eq-teal-deep);
}

.qp-latest-box {
    background: var(--eq-paper);
    border: 1px solid var(--eq-line);
    border-radius: 0.85rem;
    padding: 0.85rem;
    margin-bottom: 1rem;
}

.qp-latest-box h4 {
    margin: 0 0 0.55rem;
    font-size: 0.95rem;
}

.qp-edit-card .mform {
    margin: 0;
}

.qp-edit-card .mform .fitem {
    margin-bottom: 0.75rem;
}

.qp-edit-card .mform input[type="text"],
.qp-edit-card .mform select,
.qp-edit-card .mform textarea {
    border: 1px solid var(--eq-line);
    border-radius: 0.55rem;
    padding: 0.45rem 0.6rem;
    font-family: inherit;
}

.qp-edit-card .mform .btn-primary,
.qp-edit-card .mform input[type="submit"] {
    background: var(--eq-teal) !important;
    border-color: var(--eq-teal) !important;
}

/* Phone + small tablet: bottom tabs, drawer sidebar */
@media (max-width: 900px) {
    html.eq-nav-open,
    html.eq-nav-open body {
        overflow: hidden;
    }

    .eq-app {
        display: block;
        min-height: 100dvh;
        min-height: 100svh;
    }

    .eq-topbar__menu,
    .eq-sidebar__close {
        display: grid;
    }

    .eq-sidebar {
        display: flex;
        position: fixed;
        inset-block: 0;
        inset-inline-start: 0;
        inset-inline-end: auto;
        width: min(20.5rem, calc(100vw - 3rem));
        max-width: min(20.5rem, calc(100vw - 3rem));
        height: 100dvh;
        height: 100svh;
        height: var(--eq-vvh, 100dvh);
        transform: translate3d(-110%, 0, 0);
        transition: transform 0.28s ease;
        box-shadow: none;
        z-index: 120;
        padding-top: max(0.85rem, env(safe-area-inset-top));
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
        padding-inline-start: max(0.65rem, env(safe-area-inset-left));
    }

    html[dir="rtl"] .eq-sidebar {
        transform: translate3d(110%, 0, 0);
        padding-inline-start: 0.65rem;
        padding-inline-end: max(0.65rem, env(safe-area-inset-right));
    }

    .eq-app.is-nav-open .eq-sidebar {
        transform: translate3d(0, 0, 0);
        box-shadow: 16px 0 40px rgba(15, 23, 32, 0.32);
    }

    html[dir="rtl"] .eq-app.is-nav-open .eq-sidebar {
        box-shadow: -16px 0 40px rgba(15, 23, 32, 0.32);
    }

    .eq-nav-scrim {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 110;
        background: rgba(15, 23, 32, 0.46);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease;
    }

    .eq-app.is-nav-open .eq-nav-scrim,
    .eq-nav-scrim:not([hidden]) {
        opacity: 1;
        pointer-events: auto;
    }

    .eq-nav-scrim[hidden] {
        display: block !important;
        opacity: 0;
        pointer-events: none;
    }

    .eq-topbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "leading"
            "actions";
        gap: 0.4rem;
        padding: max(0.55rem, env(safe-area-inset-top)) max(0.7rem, env(safe-area-inset-right)) 0.55rem max(0.7rem, env(safe-area-inset-left));
        align-items: stretch;
    }

    .eq-topbar__leading {
        grid-area: leading;
        gap: 0.3rem;
        min-width: 0;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .eq-topbar__titlewrap {
        min-width: 0;
        flex: 1 1 auto;
        overflow: hidden;
    }

    .eq-topbar__title {
        font-size: 0.95rem;
        line-height: 1.25;
        max-width: 100%;
        padding: 0.28rem 0.65rem;
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .eq-topbar__actions {
        grid-area: actions;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;
        gap: 0.35rem;
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }

    .eq-notice,
    .eq-notice .eq-headbtn--bell,
    .eq-lang,
    .eq-account {
        flex: 0 0 auto;
    }

    .eq-notice__badge {
        position: absolute;
        top: -0.15rem;
        inset-inline-end: -0.1rem;
        min-width: 1.05rem;
        height: 1.05rem;
        font-size: 0.62rem;
        z-index: 3;
        pointer-events: none;
    }

    .eq-notice__menu:not([hidden]) {
        position: fixed;
        top: auto;
        bottom: auto;
        inset-inline: 0.65rem;
        width: auto;
        max-height: min(52dvh, 24rem);
        overflow-y: auto;
        z-index: 390;
    }

    .eq-lang[open] > .eq-lang__menu {
        position: fixed;
        inset-inline-end: 0.65rem;
        inset-inline-start: auto;
        top: auto;
        bottom: auto;
        z-index: 390;
        min-width: min(12rem, calc(100vw - 1.3rem));
    }

    .eq-topbar__menu,
    .eq-topbar__back {
        width: 2.35rem;
        height: 2.35rem;
        min-width: 2.35rem;
    }

    body.eq-skin .eq-app .eq-topbar a.eq-headbtn,
    body.eq-skin .eq-app .eq-topbar button.eq-headbtn,
    body.eq-skin .eq-app .eq-topbar summary.eq-headbtn {
        width: 2.35rem;
        height: 2.35rem;
    }

    .eq-content {
        padding: 0.75rem 0.75rem calc(5.6rem + env(safe-area-inset-bottom, 0px));
        overflow-x: hidden;
    }

    .eq-modal__panel,
    .eq-modal__body {
        overflow: visible;
    }

    .eq-modal__body {
        max-height: min(70dvh, 640px);
        overflow-y: auto;
        overflow-x: visible;
    }

    .eq-toolbar__start h2,
    .eq-toolbar .eq-toolbar__title {
        display: none;
    }

    .eq-toolbar,
    .eq-filter__form {
        gap: 0.45rem;
    }

    .eq-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .eq-toolbar__start,
    .eq-toolbar__end {
        flex: 1 1 100%;
        width: 100%;
        margin-inline-start: 0 !important;
        justify-content: stretch;
    }

    .eq-toolbar__end {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.45rem;
    }

    .eq-toolbar__end .eq-view-toggle {
        order: -1;
        width: 100%;
        max-width: 100%;
        display: flex;
    }

    .eq-toolbar__end > .eq-btn {
        width: 100%;
        justify-content: center;
    }

    .eq-view-toggle__btn {
        flex: 1 1 0;
        justify-content: center;
        min-width: 0;
        padding: 0.48rem 0.4rem;
    }

    .eq-view-toggle__btn .eq-btn__label {
        display: none;
    }

    .eq-view-toggle__btn .eq-ico {
        width: 1.15rem;
        height: 1.15rem;
    }

    .eq-filter__form--halaqat {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }
    .eq-filter__form--halaqat .eq-filter__q,
    .eq-filter__form--halaqat .eq-filter__select,
    .eq-filter__form--halaqat .eq-pick-field,
    .eq-filter__form--halaqat [data-eq-pagesize] {
        grid-column: auto;
        max-width: none;
        width: 100%;
    }

    .eq-app .eq-modal__body .eq-form--modal:not(.eq-pub-form),
    .eq-form--modal {
        grid-template-columns: 1fr !important;
    }

    .eq-app .eq-form--modal:not(.eq-pub-form) .eq-checkgrid--pills,
    .eq-form--modal .eq-checkgrid--pills,
    .eq-checkgrid--pills {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 0.4rem;
        width: 100%;
        max-width: 100%;
    }

    .eq-checkgrid--pills .eq-check {
        display: grid !important;
        grid-template-columns: 1.05rem minmax(0, 1fr);
        align-items: start;
        justify-items: start;
        gap: 0.35rem 0.6rem;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        border-radius: 0.65rem;
        padding: 0.55rem 0.75rem;
        min-height: 2.65rem;
        line-height: 1.45;
        text-align: start;
        word-break: normal;
        overflow-wrap: break-word;
        white-space: normal;
    }

    .eq-checkgrid--pills .eq-check input[type="checkbox"],
    .eq-checkgrid--pills .eq-check input[type="radio"] {
        width: 1.05rem;
        height: 1.05rem;
        min-width: 1.05rem;
        margin: 0.12rem 0 0 !important;
        flex: none !important;
        place-self: start;
        grid-column: 1;
        grid-row: 1;
    }

    .eq-checkgrid:not(.eq-checkgrid--pills) .eq-check {
        display: grid !important;
        grid-template-columns: 1.05rem minmax(0, 1fr);
        align-items: start;
        gap: 0.35rem 0.6rem;
        width: 100%;
        min-width: 0;
        line-height: 1.45;
        text-align: start;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .eq-checkgrid:not(.eq-checkgrid--pills) .eq-check input[type="checkbox"],
    .eq-checkgrid:not(.eq-checkgrid--pills) .eq-check input[type="radio"] {
        width: 1.05rem;
        height: 1.05rem;
        min-width: 1.05rem;
        margin: 0.12rem 0 0 !important;
        place-self: start;
    }

    .eq-form--modal .eq-checkgrid:not(.eq-checkgrid--pills) {
        grid-template-columns: 1fr;
    }

    .eq-photo-field {
        min-width: 0;
    }

    .eq-photo-field__wrap {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        min-width: 0;
        gap: 0.55rem;
    }

    .eq-photo-field__preview {
        width: min(100%, 11rem);
        margin-inline: auto;
        height: 10.5rem;
    }

    .eq-photo-field input[type="file"],
    .eq-photo-field .eq-filter__input[type="file"] {
        width: 100% !important;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        font-size: 0.85rem;
    }

    .eq-photo-field .eq-modal__note {
        margin: 0;
        font-size: 0.78rem;
        line-height: 1.4;
    }

    .eq-modal__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .eq-modal__actions .eq-btn {
        width: 100%;
        justify-content: center;
    }

    [data-eq-list="halaqat"] .eq-rows {
        gap: 0.55rem !important;
    }

    [data-eq-list="halaqat"] .eq-row,
    [data-eq-list="halaqat"].is-list .eq-row,
    [data-eq-list="halaqat"].is-cards .eq-row {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        gap: 0.55rem;
        padding: 0.75rem 0.65rem !important;
        border-radius: 0.85rem !important;
        background: #fff !important;
        border: 1px solid var(--eq-line) !important;
        box-shadow: 0 4px 12px rgba(53, 73, 90, 0.05) !important;
        margin: 0 0 0.5rem !important;
    }

    [data-eq-list="halaqat"] .eq-row__who {
        width: 100%;
        flex: 1 1 auto;
        align-items: flex-start;
    }

    [data-eq-list="halaqat"] .eq-row__body {
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
    }

    [data-eq-list="halaqat"] .eq-row__headline {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.35rem 0.5rem;
    }

    [data-eq-list="halaqat"] .eq-row__title {
        display: block;
        font-size: 0.92rem;
        line-height: 1.35;
    }

    [data-eq-list="halaqat"] .eq-row__meta--pills {
        display: flex;
        flex-wrap: wrap;
        gap: 0.28rem;
        margin-top: 0.35rem;
    }

    [data-eq-list="halaqat"] .eq-row__meta--pills .eq-dropcheck__chip,
    [data-eq-list="halaqat"] .eq-row__meta--pills .qp-badge,
    [data-eq-list="halaqat"] .eq-row__meta--pills .qp-chip {
        max-width: 100%;
    }

    [data-eq-list="halaqat"] .eq-row__actions {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.35rem;
        width: 100% !important;
        max-width: 100%;
        flex: none !important;
        justify-content: stretch;
        padding-top: 0.4rem;
        margin-top: 0.15rem;
        border-top: 1px solid var(--eq-line);
    }

    [data-eq-list="halaqat"] .eq-row__actions .eq-btn,
    [data-eq-list="halaqat"] .eq-row__actions .eq-btn.is-disabled {
        flex: none !important;
        width: 100%;
        min-width: 0;
        min-height: 2.6rem;
        padding: 0.35rem 0.25rem;
        justify-content: center;
        font-size: 0.7rem;
        gap: 0.2rem;
    }

    [data-eq-list="halaqat"] .eq-row__actions .eq-btn .eq-btn__label {
        display: none;
    }

    [data-eq-list="halaqat"] .eq-row__actions .eq-btn .eq-ico {
        width: 1.2rem;
        height: 1.2rem;
        margin: 0;
    }

    [data-eq-list="halaqat"].is-list .eq-rows {
        gap: 0.55rem !important;
    }

    .eq-filter__input,
    .eq-filter__select,
    .eq-filter__input--grow,
    .eq-form input,
    .eq-form select,
    .eq-form textarea,
    .eq-wa__input,
    body.eq-messages textarea.eq-wa__input,
    .eq-datatable__filter {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        font-size: 16px !important;
        box-sizing: border-box;
    }

    .eq-toolbar__end .eq-btn,
    .eq-row__actions .eq-btn,
    .eq-form__actions .eq-btn,
    .eq-view-toggle__btn,
    .sh-bottomnav__item {
        flex: 1 1 auto;
        min-height: 2.75rem;
    }

    .eq-view-toggle {
        width: 100%;
        display: flex;
        gap: 0;
    }

    .eq-view-toggle__btn {
        flex: 1 1 0;
        justify-content: center;
    }

    .eq-datatable-scroll {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }

    .eq-datatable__acts .eq-btn {
        min-height: 2.5rem;
        min-width: 2.5rem;
    }

    .eq-modal__dialog {
        max-height: calc(100dvh - 2rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    .eq-main {
        overscroll-behavior-y: contain;
    }

    input[type="search"],
    input[type="date"],
    input[type="time"],
    input[type="number"],
    input[type="tel"],
    input[type="email"],
    select,
    textarea {
        font-size: 16px;
    }

    .eq-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .eq-tile {
        padding: 0.75rem 0.7rem;
        gap: 0.5rem;
        min-height: 4.4rem;
    }

    .eq-tile__icon {
        width: 2.15rem;
        height: 2.15rem;
    }

    .eq-hero {
        padding: 1rem 0.9rem 0.95rem;
        border-radius: 1rem;
    }

    .eq-hero__mark {
        width: 3.5rem;
        height: 3.5rem;
    }

    .eq-hero h1 {
        font-size: clamp(1.25rem, 5.5vw, 1.7rem);
    }

    .eq-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .eq-stat {
        min-width: 0;
    }

    .eq-stats--dash,
    .eq-stats--page {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eq-row {
        flex-direction: column;
        align-items: stretch;
    }

    .eq-row__actions {
        width: 100%;
    }

    [data-eq-list="halaqat"] .eq-row__actions .eq-btn {
        flex: none;
    }

    .eq-row__actions .eq-btn {
        flex: 1;
    }

    .eq-card,
    .eq-tablectl {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }

    .eq-pager {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .eq-pager__nav {
        justify-content: center;
    }

    .sh-bottomnav {
        display: flex;
        position: fixed;
        inset-inline: 0;
        bottom: 0;
        z-index: 40;
        justify-content: space-around;
        gap: 0.1rem;
        padding: 0.28rem 0.2rem calc(0.28rem + env(safe-area-inset-bottom, 0px));
        padding-inline: max(0.2rem, env(safe-area-inset-left)) max(0.2rem, env(safe-area-inset-right));
        background: rgba(255, 255, 255, 0.97);
        border-top: 1px solid var(--eq-line);
        backdrop-filter: blur(10px);
    }

    .sh-bottomnav__item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.12rem;
        min-height: 3.15rem;
        min-width: 0;
        border-radius: 0.7rem;
        color: var(--eq-muted) !important;
        text-decoration: none !important;
        font-size: 0.68rem;
        font-weight: 700;
        text-align: center;
        padding: 0.2rem 0.1rem;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .sh-bottomnav__item.is-active {
        color: var(--eq-sidebar, #35495A) !important;
        background: color-mix(in srgb, var(--eq-brand, #41b2d9) 16%, white);
    }

    .sh-bottomnav__icon {
        display: grid;
        place-items: center;
    }

    .sh-bottomnav__label {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .qp-board-table,
    .qp-board-table tbody,
    .qp-board-table tr,
    .qp-board-table td {
        display: block;
        width: 100%;
    }

    .qp-board-table thead {
        display: none;
    }

    .qp-board-table tr {
        padding: 0.85rem;
        border-bottom: 1px solid var(--eq-line);
    }

    .qp-board-table td {
        border: 0;
        padding: 0.25rem 0;
    }

    .eq-help {
        bottom: calc(5.1rem + env(safe-area-inset-bottom, 0px));
        inset-inline-end: 0.75rem;
    }

    .eq-account.is-open .eq-account__menu,
    .eq-account__menu.is-open {
        width: min(18.5rem, calc(100vw - 1rem)) !important;
        min-width: 0;
    }

    .eq-att-radios {
        width: 100%;
    }

    .eq-att-choice,
    .eq-att-radios label {
        flex: 1 1 auto;
        min-height: 2.6rem;
    }

    .eq-dash-charts {
        grid-template-columns: 1fr;
    }

    .eq-dash-charts-pair {
        grid-template-columns: 1fr;
    }

    .eq-dash-stars__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sh-install {
        flex-wrap: wrap;
        padding: 0.75rem 0.8rem;
    }

    .sh-install__btn,
    .sh-install__open {
        width: 100%;
    }
}

/* Compact phone */
@media (max-width: 599px) {
    .eq-tile__desc {
        display: none;
    }

    .eq-headbtn--full {
        display: none !important;
    }

    .eq-hero--dash .eq-hero__inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .eq-hero--dash .eq-hero__copy {
        width: 100%;
    }

    .eq-hero__meta {
        justify-content: center;
    }

    .eq-hero__decor {
        display: none;
    }

    .eq-modal__panel {
        width: 100%;
        max-width: 100%;
        border-radius: 1rem 1rem 0 0;
    }

    .eq-fiche__grid {
        grid-template-columns: 1fr;
    }

    .eq-checkgrid {
        grid-template-columns: 1fr;
    }

    .eq-colorrow {
        flex-wrap: wrap;
    }
}

/* Extra-small phones */
@media (max-width: 379px) {
    .eq-tiles {
        grid-template-columns: 1fr;
    }

    .eq-topbar__title {
        font-size: 0.88rem;
        padding: 0.22rem 0.45rem;
    }

    body.eq-skin .eq-app .eq-topbar a.eq-headbtn,
    body.eq-skin .eq-app .eq-topbar button.eq-headbtn,
    body.eq-skin .eq-app .eq-topbar summary.eq-headbtn,
    .eq-topbar__menu,
    .eq-topbar__back {
        width: 2.15rem;
        height: 2.15rem;
        min-width: 2.15rem;
    }

    .sh-bottomnav__label {
        font-size: 0.6rem;
    }

    .eq-stats,
    .eq-stats--dash,
    .eq-stats--page {
        grid-template-columns: 1fr 1fr;
    }
}

/* Large phone / small tablet in phone chrome */
@media (min-width: 600px) and (max-width: 900px) {
    .eq-tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .eq-tile__desc {
        display: block;
        font-size: 0.76rem;
    }

    .eq-stats,
    .eq-stats--dash,
    .eq-stats--page {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .eq-content {
        padding: 1rem 1.1rem calc(5.8rem + env(safe-area-inset-bottom, 0px));
    }

    .eq-hero {
        padding: 1.25rem 1.2rem;
    }

    .eq-toolbar__start,
    .eq-toolbar__end {
        flex: 1 1 auto;
    }

    .eq-filter__input--grow {
        min-width: 12rem;
        max-width: 22rem;
        width: auto;
    }

    .sh-bottomnav__item {
        min-height: 3.35rem;
        font-size: 0.74rem;
    }
}

/* Landscape phones */
@media (max-width: 900px) and (max-height: 480px) and (orientation: landscape) {
    .eq-topbar {
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
    }

    .eq-content {
        padding-bottom: calc(4.2rem + env(safe-area-inset-bottom, 0px));
    }

    .sh-bottomnav {
        padding-top: 0.12rem;
        padding-bottom: max(0.12rem, env(safe-area-inset-bottom));
    }

    .sh-bottomnav__item {
        min-height: 2.55rem;
        flex-direction: row;
        gap: 0.35rem;
    }

    .eq-hero {
        padding: 0.75rem 0.9rem;
        margin-bottom: 0.7rem;
    }

    .eq-help {
        bottom: calc(3.8rem + env(safe-area-inset-bottom, 0px));
    }
}

/* Tablet / small laptop with sidebar */
@media (min-width: 901px) and (max-width: 1199px) {
    .eq-app {
        --eq-sidebar-width: 232px;
    }

    .eq-content {
        padding: 1rem 1.05rem 2.2rem;
    }

    .eq-tiles {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 176px), 1fr));
    }

    .eq-topbar {
        padding: 0.7rem 1rem;
    }

    .eq-stats--dash,
    .eq-stats--page {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 8.5rem), 1fr));
    }
}

@media (min-width: 901px) {
    .sh-install {
        position: fixed;
        bottom: 1.4rem;
        inset-inline-end: 1.4rem;
        z-index: 90;
        width: min(460px, calc(100vw - 2.8rem));
        margin: 0;
        box-shadow: 0 18px 40px rgba(53, 73, 90, 0.2);
    }

    /* Help headset sits on the same corner; lift it while the install card is open. */
    body:has(#sh-install:not([hidden])) .eq-help {
        bottom: 9.5rem;
    }
}

@media (display-mode: standalone) {
    .sh-install { display: none !important; }
    body:has(#sh-install) .eq-help {
        bottom: 5.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eq-tile { animation: none; }
}

/* Attendance radios (ehlquran-like) */
.eq-card__kicker {
    margin: -0.15rem 0 0.85rem;
    color: var(--eq-muted);
    font-size: 0.86rem;
    font-weight: 600;
}

.eq-card > .eq-toolbar__title {
    margin: 0 0 0.2rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--eq-ink);
}

.eq-att-radios {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}
.eq-att-radios input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.eq-att-choice,
.eq-att-radios label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: 2.15rem;
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--eq-line);
    border-radius: 999px;
    background: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    color: #35495A;
}
.eq-att-radios .eq-att-choice--present {
    border-color: color-mix(in srgb, #41b2d9 45%, #e4e8ec);
    color: #2a7ea0;
}
.eq-att-radios .eq-att-choice--late {
    border-color: color-mix(in srgb, #d97706 40%, #e4e8ec);
    color: #b45309;
}
.eq-att-radios .eq-att-choice--absent {
    border-color: color-mix(in srgb, #c45c5c 40%, #e4e8ec);
    color: #a33b3b;
}
.eq-att-radios .eq-att-choice--excused {
    border-color: color-mix(in srgb, #35495A 35%, #e4e8ec);
    color: #35495A;
}
.eq-att-radios .eq-att-choice--present:has(input:checked) {
    border-color: #41b2d9;
    background: color-mix(in srgb, #41b2d9 18%, white);
    color: #1f6482;
    box-shadow: 0 0 0 2px rgba(65, 178, 217, 0.22);
}
.eq-att-radios .eq-att-choice--late:has(input:checked) {
    border-color: #d97706;
    background: color-mix(in srgb, #d97706 18%, white);
    color: #9a4d06;
    box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2);
}
.eq-att-radios .eq-att-choice--absent:has(input:checked) {
    border-color: #c45c5c;
    background: color-mix(in srgb, #c45c5c 16%, white);
    color: #a33b3b;
    box-shadow: 0 0 0 2px rgba(196, 92, 92, 0.2);
}
.eq-att-radios .eq-att-choice--excused:has(input:checked) {
    border-color: #35495A;
    background: color-mix(in srgb, #35495A 14%, white);
    color: #35495A;
    box-shadow: 0 0 0 2px rgba(53, 73, 90, 0.16);
}
.eq-row.is-unmarked {
    opacity: 0.92;
    border-inline-start: 3px dashed rgba(53, 73, 90, 0.35);
}
.eq-att-save-note {
    margin: 0 0 0.75rem;
}
.eq-row.is-scanned {
    outline: 2px solid #41b2d9;
    background: color-mix(in srgb, #41b2d9 12%, white);
    animation: eq-att-flash 0.7s ease;
}
@keyframes eq-att-flash {
    0% { box-shadow: 0 0 0 0 rgba(65, 178, 217, 0.45); }
    100% { box-shadow: 0 0 0 12px rgba(65, 178, 217, 0); }
}
.eq-scard__qr {
    position: absolute;
    inset-inline-end: 7.1%;
    bottom: 10.2%;
    width: 12.8%;
    z-index: 4;
    background: #fff;
    padding: 0.4%;
    border-radius: 0.28rem;
    box-shadow: 0 1px 4px rgba(53, 73, 90, 0.16);
}
.eq-scard__qr img {
    display: block;
    width: 100%;
    height: auto;
    image-rendering: pixelated;
}
.eq-scard__qr--back {
    inset-inline-end: auto;
    left: 50%;
    right: auto;
    bottom: 4.2%;
    width: 20%;
    transform: translateX(-50%);
    box-shadow: none;
    padding: 0.45%;
    background: #fff;
}

/* Student / teacher / staff PVC: shared overlay layout */
.eq-scard--student,
.eq-scard--assoc {
    aspect-ratio: 1024 / 650;
}
.eq-scard--student .eq-scard__photo,
.eq-scard--assoc .eq-scard__photo {
    position: absolute;
    right: 0.5%;
    left: auto;
    top: 26.9%;
    width: 22.5%;
    height: 29.1%;
    padding: 1.2%;
    background: #fff;
    border-radius: 0.35rem;
    gap: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
    z-index: 3;
}
/* Student: photo on the right (inside white pane), values left of labels */
.eq-scard--student .eq-scard__photo {
    /* Same horizontal center as QR (right 7.5% + width 11% → center 13%) */
    right: 4.5%;
    left: auto;
    top: 30.0%;
    width: 17.0%;
    height: 32.0%;
    padding: 0.55%;
    background: #fff;
    border-radius: 0.35rem;
    box-shadow: 0 1px 3px rgba(53, 73, 90, 0.10);
}
.eq-scard--student .eq-scard__face,
.eq-scard--student .eq-scard__face--empty,
.eq-scard--assoc .eq-scard__face,
.eq-scard--assoc .eq-scard__face--empty {
    border-radius: 0.28rem;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #f3f6f8;
    display: block;
    flex: 0 0 auto;
}
.eq-scard--student .eq-scard__fields {
    position: absolute;
    /* Previous alignment (before last tweak): values clear of labels / colons */
    left: 17.5%;
    right: auto;
    width: 26.5%;
    top: 35.8%;
    height: 45.5%;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0;
    overflow: visible;
    z-index: 2;
}
.eq-scard--assoc .eq-scard__fields {
    position: absolute;
    left: 5.0%;
    right: auto;
    width: 38.2%;
    top: 41.0%;
    height: 40.5%;
    background: transparent;
    border-radius: 0;
    padding: 0.4% 1.6% 0.6%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0;
    overflow: hidden;
    z-index: 2;
}
.eq-scard--student .eq-scard__line,
.eq-scard--assoc .eq-scard__line {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    flex: 1 1 0;
}
.eq-scard--assoc .eq-scard__line {
    justify-content: flex-start;
}
.eq-scard--student .eq-scard__v {
    text-align: end;
    width: 100%;
    font-family: "Amiri", "Cairo", "Arabswell", sans-serif;
    font-size: clamp(1.05rem, 2.4vw, 1.38rem);
    font-weight: 700;
    line-height: 1.15;
    color: #111;
    overflow-wrap: anywhere;
    word-break: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.eq-scard--assoc .eq-scard__v {
    text-align: start;
    width: 100%;
    font-family: "Amiri", "Arabswell", "arabswell_1", "Cairo", sans-serif;
    font-size: clamp(1.02rem, 2.3vw, 1.32rem);
    font-weight: 700;
    line-height: 1.2;
    color: #111;
    overflow-wrap: anywhere;
    word-break: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.eq-scard--student .eq-scard__line:last-child .eq-scard__v,
.eq-scard--assoc .eq-scard__line:last-child .eq-scard__v {
    font-size: clamp(0.92rem, 2.05vw, 1.18rem);
    -webkit-line-clamp: 2;
}
.eq-scard--student .eq-scard__qr--front {
    position: absolute;
    inset-inline-end: auto;
    right: 7.5%;
    left: auto;
    bottom: auto;
    top: 70.0%;
    width: 11.0%;
    padding: 0.25%;
    border-radius: 0.22rem;
    box-shadow: 0 1px 3px rgba(53, 73, 90, 0.12);
    background: #fff;
    z-index: 3;
}
.eq-scard--assoc .eq-scard__qr--front {
    position: absolute;
    inset-inline-end: auto;
    right: 4.2%;
    left: auto;
    bottom: auto;
    top: 57.2%;
    width: 13.5%;
    padding: 0.3%;
    border-radius: 0.22rem;
    box-shadow: 0 1px 3px rgba(53, 73, 90, 0.12);
    background: #fff;
    z-index: 3;
}
.eq-scard--student .eq-scard__qr--front img,
.eq-scard--assoc .eq-scard__qr--front img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    image-rendering: pixelated;
}
.eq-scard--back {
    aspect-ratio: 1024 / 650;
    background-color: #fff;
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    min-height: 12rem;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}
.eq-scard--back .eq-scard__sheet {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: top;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.eq-idcard-pack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}
.eq-idcard-pack .eq-scard {
    width: min(100%, 52rem);
    margin-inline: auto;
}
.eq-idcard-pack .eq-scard--back {
    margin-top: 0.15rem;
}
.eq-print-frame {
    position: fixed !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 0 !important;
    height: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.eq-card-print-root {
    display: none !important;
}

@media print {
    html.eq-printing-cards body > *:not(#eq-card-print-root) {
        display: none !important;
    }
    html.eq-printing-cards #eq-card-print-root {
        display: block !important;
        position: static !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }
    html.eq-printing-cards #eq-card-print-root .eq-scard {
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        box-shadow: none !important;
        page-break-after: always;
        break-after: page;
        page-break-inside: avoid;
        overflow: visible !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    html.eq-printing-cards #eq-card-print-root .eq-scard:last-child {
        page-break-after: auto;
        break-after: auto;
    }
    html.eq-printing-cards #eq-card-print-root .eq-scard--back {
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: auto !important;
    }
    html.eq-printing-cards #eq-card-print-root .eq-scard--back .eq-scard__sheet {
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
    }
    html.eq-printing-cards #eq-card-print-root .eq-scard--student .eq-scard__v,
    html.eq-printing-cards #eq-card-print-root .eq-scard--assoc .eq-scard__v {
        font-family: "Arabswell", "arabswell_1", "Amiri", sans-serif !important;
        font-size: 11.5pt !important;
        text-align: center !important;
        -webkit-line-clamp: 2;
    }
    html.eq-printing-cards #eq-card-print-root .eq-scard--student .eq-scard__fields {
        left: 17.5% !important;
        width: 26.5% !important;
        height: 45.5% !important;
        top: 35.8% !important;
        overflow: visible !important;
    }
    html.eq-printing-cards #eq-card-print-root .eq-scard--assoc .eq-scard__fields {
        height: 40.5% !important;
        top: 41.0% !important;
        overflow: visible !important;
    }
}
.eq-modal--scan .eq-modal__panel {
    max-width: min(34rem, 96vw);
}
.eq-att-scan {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.eq-att-scan__info {
    margin: 0;
    padding: 0.55rem 0.7rem;
    border-radius: 0.65rem;
    background: rgba(65, 178, 217, 0.1);
    border: 1px solid rgba(65, 178, 217, 0.22);
    color: #3d6278;
    font-size: 0.78rem;
    line-height: 1.45;
}
.eq-att-scan__markas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}
.eq-att-scan__markas-label {
    font-weight: 700;
    font-size: 0.88rem;
    color: #35495A;
}
.eq-att-scan__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.eq-att-scan__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    border: 1.5px solid #d8e2ea;
    background: #fff;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.82rem;
    color: #35495A;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.eq-att-scan__pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.eq-att-scan__pill:has(input:checked) {
    border-color: #41b2d9;
    background: rgba(65, 178, 217, 0.12);
    color: #2d6a82;
}
.eq-att-scan__pill--late:has(input:checked) {
    border-color: #3d7a96;
    background: rgba(61, 122, 150, 0.12);
}
.eq-att-scan__stage {
    position: relative;
    overflow: hidden;
    border-radius: 0.9rem;
    background: #11181e;
    aspect-ratio: 4 / 3;
    margin: 0;
}
.eq-att-scan__stage video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.eq-att-scan__frame {
    pointer-events: none;
    position: absolute;
    inset: 16%;
    border: 2px dashed rgba(255, 255, 255, 0.72);
    border-radius: 0.7rem;
    box-shadow: 0 0 0 80px rgba(0, 0, 0, 0.22);
}
.eq-att-scan__status {
    margin: 0;
    padding: 0.55rem 0.75rem;
    border-radius: 0.65rem;
    background: #eef3f7;
    color: #35495A;
    font-size: 0.84rem;
    font-weight: 700;
    text-align: center;
}
.eq-att-scan__status.is-ok {
    background: rgba(15, 122, 69, 0.12);
    color: #0f7a45;
}
.eq-att-scan__status.is-err {
    background: rgba(163, 59, 59, 0.1);
    color: #a33b3b;
}
.eq-att-scan__manual {
    display: flex;
    gap: 0.45rem;
    margin: 0;
}
.eq-att-scan__manual .eq-filter__input {
    flex: 1 1 auto;
    min-width: 0;
}
.eq-att-scan__meta {
    display: grid;
    gap: 0.35rem;
}
.eq-att-scan__count {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--eq-muted);
}
.eq-att-scan__log {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    max-height: 6.5rem;
    overflow-y: auto;
}
.eq-att-scan__actions {
    flex-wrap: wrap;
    gap: 0.45rem;
}
.eq-att-scan__actions .eq-btn {
    flex: 1 1 auto;
    min-width: min(100%, 8.5rem);
    justify-content: center;
}
.eq-att-scan__hit {
    padding: 0.28rem 0.5rem;
    border-radius: 0.45rem;
    background: color-mix(in srgb, #41b2d9 14%, white);
    font-size: 0.8rem;
    font-weight: 700;
}
.eq-hint {
    margin: 0 0 0.85rem;
    color: var(--eq-muted);
    font-size: 0.88rem;
    font-weight: 600;
}
.eq-status {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
}
.eq-status--open {
    background: #e6f7ef;
    color: #0f7a45;
}
.eq-status--soon {
    background: #e8f4fc;
    color: #1a7aa8;
}
.eq-status--closed {
    background: #fde8e8;
    color: #9b1c1c;
    border: 1px solid #e8b4b4;
}
.eq-btn.is-disabled,
.eq-btn[aria-disabled="true"] {
    opacity: 0.45;
    pointer-events: none;
    cursor: default;
}
.eq-flash {
    padding: 0.75rem 1rem;
    border-radius: 0.65rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}
.eq-flash--ok {
    background: color-mix(in srgb, var(--eq-hifz) 14%, white);
    border: 1px solid color-mix(in srgb, var(--eq-hifz) 35%, white);
    color: #1f5a32;
}
.eq-form textarea.eq-filter__input {
    width: 100%;
    min-height: 4rem;
}

/* Stronger ehlquran table chrome */
.qp-board-table th {
    background: var(--eq-teal-deep);
    color: #fff;
    border-bottom: 0;
}
.eq-hero {
    border-color: var(--eq-brand, #41b2d9);
}

/* Forms & filters */
.eq-filter__select,
.eq-filter__input {
    min-height: 2.4rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--eq-line);
    border-radius: 0.55rem;
    background: #fff;
    font: inherit;
}
/* Native selects: chevron on physical left in RTL (Arabic), right in LTR. */
.eq-skin select.eq-filter__select:not(.eq-pick__select),
.eq-form select.eq-filter__select:not(.eq-pick__select),
.eq-filter__form select.eq-filter__select:not(.eq-pick__select) {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2335495A' d='M1.2 1.3 6 6.1l4.8-4.8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 0.7rem;
    background-position: left 0.7rem center;
    padding-inline-start: 2.15rem;
    padding-inline-end: 0.65rem;
    cursor: pointer;
}
html[dir="ltr"] .eq-skin select.eq-filter__select:not(.eq-pick__select),
html[dir="ltr"] .eq-form select.eq-filter__select:not(.eq-pick__select),
html[dir="ltr"] .eq-filter__form select.eq-filter__select:not(.eq-pick__select) {
    background-position: right 0.7rem center;
    padding-inline-start: 0.65rem;
    padding-inline-end: 2.15rem;
}
.eq-form__row {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
}
.eq-form__actions {
    margin-top: 1rem;
}
.eq-checkgrid {
    display: grid;
    gap: 0.4rem;
    margin-bottom: 1rem;
}
.eq-check {
    display: grid;
    grid-template-columns: 1.05rem minmax(0, 1fr);
    align-items: start;
    justify-items: start;
    gap: 0.35rem 0.55rem;
    line-height: 1.45;
    text-align: start;
    word-break: normal;
    overflow-wrap: break-word;
}

.eq-check input[type="checkbox"],
.eq-check input[type="radio"] {
    width: 1.05rem;
    height: 1.05rem;
    min-width: 1.05rem;
    margin: 0.12rem 0 0;
    place-self: start;
    grid-column: 1;
    grid-row: 1;
}
.eq-flash--err {
    background: #fde8e8;
    color: #8a1f1f;
    border: 1px solid #f0b4b4;
    padding: 0.75rem 1rem;
    border-radius: 0.6rem;
    margin-bottom: 0.75rem;
}
.eq-tile-link {
    text-decoration: none !important;
    color: inherit;
}
.eq-account-card {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.eq-logout-block {
    min-width: 8rem;
    text-align: center;
}

.eq-colorrow {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.eq-theme-color-text {
    direction: ltr;
    text-align: left;
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    letter-spacing: 0.02em;
    unicode-bidi: isolate;
}
html[dir="rtl"] .eq-theme-color-text {
    text-align: left;
}
.eq-colorpicker {
    width: 3rem;
    height: 2.4rem;
    padding: 0;
    border: 1px solid var(--eq-line);
    border-radius: 0.55rem;
    background: #fff;
    cursor: pointer;
}
.eq-branding-previewwrap {
    margin: 0.35rem 0 0.65rem;
}
.eq-branding-preview {
    max-height: 88px;
    max-width: 220px;
    object-fit: contain;
}
.eq-branding-preview--wide {
    max-height: none;
    max-width: min(100%, 28rem);
    width: 100%;
    height: auto;
    border-radius: 0.45rem;
    border: 1px solid #e4e8ec;
}

.eq-card--link:hover {
    transform: translateY(-2px);
}

/* Student ID cards â€” association template */
.eq-card-sheet {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
}

.eq-input-locked,
.eq-form--modal .eq-filter__input.eq-input-locked {
    background: #e8edf1 !important;
    color: #5A5A5C !important;
    cursor: not-allowed;
    box-shadow: none;
}

.eq-photo-field__wrap {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.eq-photo-field__preview {
    position: relative;
    width: 9.6rem;
    height: 12rem;
    flex: 0 0 auto;
    border-radius: 0.55rem;
    border: 1px solid #d5dde3;
    background: #eef2f5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a939b;
    font-size: 0.72rem;
    text-align: center;
}

.eq-photo-field__preview img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center;
    display: block;
}

.eq-fiche {
    display: grid;
    grid-template-columns: 9.6rem 1fr;
    gap: 1rem 1.15rem;
    align-items: start;
    margin-bottom: 1rem;
}

.eq-fiche--plain {
    grid-template-columns: 1fr;
}

.eq-fiche__face,
.eq-fiche__face--empty {
    width: 9.6rem;
    height: 12rem;
    border-radius: 0.65rem;
    object-fit: contain;
    object-position: center center;
    border: 1px solid #d5dde3;
    background: #eef2f5;
    display: block;
    max-width: none;
    max-height: none;
}

.eq-fiche__face--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a939b;
    font-size: 0.75rem;
    text-align: center;
    padding: 0.4rem;
}

.eq-fiche__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem 0.85rem;
}

.eq-fiche__row {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.eq-fiche__row--full {
    grid-column: 1 / -1;
}

.eq-fiche__k {
    font-size: 0.78rem;
    font-weight: 700;
    color: #35495A;
}

.eq-fiche__v {
    min-height: 2.55rem;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid #e4e8ec;
    border-radius: 0.7rem;
    background: #e8edf1;
    color: #35495A;
    font-weight: 600;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.4;
}

.eq-fiche__v--chips {
    align-items: flex-start;
    padding: 0.4rem 0.55rem;
}

.eq-modal--idcard .eq-modal__panel {
    max-width: 56rem;
    width: min(56rem, 96vw);
    max-height: min(96dvh, 980px);
    overflow: hidden;
}
.eq-modal--idcard .eq-modal__body {
    overflow: auto;
    max-height: min(82dvh, 860px);
}

.eq-scard {
    position: relative;
    width: min(100%, 52rem);
    aspect-ratio: 1017 / 642;
    background-color: #fff;
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    overflow: hidden;
    break-inside: avoid;
    box-shadow: 0 10px 28px rgba(53, 73, 90, 0.12);
}

.eq-scard__photo {
    position: absolute;
    left: auto;
    right: 6.1%;
    top: 35.6%;
    width: 36.5%;
    height: 46.4%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding: 0.35% 1.2% 1.4%;
    box-sizing: border-box;
    background: #fff;
    border-radius: 0.55rem;
}

.eq-scard__regno {
    flex: 0 0 auto;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #111;
    font-size: clamp(0.72rem, 2vw, 0.95rem);
    line-height: 1.2;
    padding: 0.1rem 0 0.15rem;
}

.eq-scard__face,
.eq-scard__face--empty {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    border-radius: 0.35rem;
    background: #eef2f5;
    object-fit: contain;
    object-position: center center;
    display: block;
    max-width: none;
    max-height: none;
}

.eq-scard__face--empty {
    box-shadow: inset 0 0 0 1px #e8eef2;
}

.eq-scard__fields {
    position: absolute;
    top: 35.5%;
    left: 8%;
    right: 44%;
    height: 45.5%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.eq-scard__v {
    font-weight: 700;
    color: #111;
    font-size: clamp(0.78rem, 1.7vw, 1.02rem);
    line-height: 1.25;
    text-align: start;
    min-height: 1.15em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.eq-scard__badge {
    position: absolute;
    top: 20.2%;
    left: 18%;
    right: 18%;
    z-index: 3;
    text-align: center;
    font-weight: 800;
    font-size: clamp(1.05rem, 2.5vw, 1.48rem);
    color: #35495A;
    background: #fff;
    line-height: 1.35;
    padding: 0.08em 0.35em;
}


@media (max-width: 720px) {
    .eq-fiche {
        grid-template-columns: 1fr;
    }

    .eq-fiche__grid {
        grid-template-columns: 1fr;
    }
}

@media print {
    body:has(#eq-card-modal.is-open) .eq-sidebar,
    body:has(#eq-card-modal.is-open) .eq-topbar,
    body:has(#eq-card-modal.is-open) .eq-toolbar,
    body:has(#eq-card-modal.is-open) [data-eq-list],
    body:has(#eq-card-modal.is-open) .sh-bottomnav,
    body:has(#eq-card-modal.is-open) .sh-install,
    body:has(#eq-card-modal.is-open) .eq-meet-chip,
    body:has(#eq-card-modal.is-open) .eq-flash,
    body:has(#eq-card-modal.is-open) .eq-no-print,
    body:has(#eq-card-modal.is-open) #eq-card-modal .eq-modal__backdrop,
    body:has(#eq-card-modal.is-open) #eq-card-modal .eq-modal__close,
    body:has(#eq-card-modal.is-open) #eq-card-modal .eq-modal__head,
    body:has(#eq-card-modal.is-open) #eq-card-modal .eq-modal__actions {
        display: none !important;
    }

    body:has(#eq-card-modal.is-open) .eq-app,
    body:has(#eq-card-modal.is-open) .eq-main,
    body:has(#eq-card-modal.is-open) .eq-content,
    body:has(#eq-card-modal.is-open) #page,
    body:has(#eq-card-modal.is-open) #page-wrapper,
    body:has(#eq-card-modal.is-open) #region-main,
    body:has(#eq-card-modal.is-open) #region-main-box {
        display: block !important;
        position: static !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        transform: none !important;
    }

    body:has(#eq-card-modal.is-open) #eq-card-modal {
        position: static !important;
        display: block !important;
        background: #fff !important;
        inset: auto !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        z-index: auto !important;
        transform: none !important;
    }

    body:has(#eq-card-modal.is-open) #eq-card-modal .eq-modal__panel {
        box-shadow: none !important;
        max-width: none !important;
        width: 100% !important;
        max-height: none !important;
        height: auto !important;
        border: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        overflow: visible !important;
        transform: none !important;
        display: block !important;
    }

    body:has(#eq-card-modal.is-open) #eq-card-modal .eq-modal__body {
        padding: 0 !important;
        overflow: visible !important;
        max-height: none !important;
        height: auto !important;
        display: block !important;
    }

    .eq-scard {
        box-shadow: none !important;
        page-break-after: always;
        break-after: page;
        page-break-inside: avoid;
        break-inside: avoid;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        overflow: visible !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        background-size: 100% 100% !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
    }

    .eq-scard--student,
    .eq-scard--assoc {
        aspect-ratio: 1024 / 650 !important;
        min-height: 54mm;
    }

    .eq-scard--back {
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        overflow: visible !important;
        aspect-ratio: auto !important;
        background: #fff !important;
    }

    .eq-scard--back .eq-scard__sheet {
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
        height: auto !important;
        max-width: none !important;
        page-break-inside: avoid;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .eq-scard:last-child {
        page-break-after: auto;
        break-after: auto;
    }

    .eq-scard--student .eq-scard__v,
    .eq-scard--assoc .eq-scard__v {
        font-family: "Arabswell", "arabswell_1", "Amiri", sans-serif !important;
        font-size: 13pt !important;
        font-weight: 700 !important;
        text-align: center !important;
        color: #000 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .eq-no-print {
        display: none !important;
    }
}

@media (max-width: 720px) {
    .eq-fiche {
        grid-template-columns: 1fr;
    }

    .eq-fiche__grid {
        grid-template-columns: 1fr;
    }
}

.eq-cert-hint {
    margin: 0.75rem 0 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid color-mix(in srgb, var(--eq-gold) 45%, var(--eq-line));
    background: color-mix(in srgb, var(--eq-gold) 12%, #fff);
    border-radius: 0.75rem;
    max-width: 52rem;
}

/* Dynamic certificate sheet (A4 landscape) */
body.eq-cert-page #page,
body.eq-cert-page #page-content,
body.eq-cert-page #region-main,
body.eq-cert-page #region-main-box {
    max-width: none;
    background: #e8eef2;
}
.eq-cert-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
    padding: 0.85rem 1rem 0.35rem;
}
.eq-cert-stage {
    max-width: 1100px;
    margin: 0.5rem auto 2rem;
    padding: 0 0.75rem;
}
.eq-cert-pack {
    width: 100%;
}
.eq-cert {
    position: relative;
    width: 100%;
    aspect-ratio: 297 / 210;
    background-color: #fcfaf7;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 12px 36px rgba(53, 73, 90, 0.16);
    overflow: hidden;
    box-sizing: border-box;
    padding: 4.8% 6.5% 4.2%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 0.55%;
    text-align: center;
    color: #35495A;
    font-family: "Arabswell", "arabswell_1", "Amiri", "Cairo", sans-serif;
}
.eq-cert__header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    width: 100%;
    flex: 0 0 auto;
}
.eq-cert__logo {
    width: clamp(3rem, 6.5vw, 3.9rem);
    height: clamp(3rem, 6.5vw, 3.9rem);
    object-fit: contain;
    flex: 0 0 auto;
}
.eq-cert__brandtext {
    min-width: 0;
}
.eq-cert__school {
    font-size: clamp(1.15rem, 2.35vw, 1.55rem);
    font-weight: 800;
    line-height: 1.25;
}
.eq-cert__tagline {
    font-size: clamp(0.78rem, 1.35vw, 0.98rem);
    line-height: 1.35;
    opacity: 0.9;
    margin-top: 0.2rem;
}
.eq-cert__bismillah {
    font-size: clamp(1.15rem, 2.15vw, 1.45rem);
    margin-top: 0.35rem;
    flex: 0 0 auto;
}
.eq-cert__title {
    font-size: clamp(1.85rem, 4vw, 2.85rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0.35rem 0 0.15rem;
    flex: 0 0 auto;
}
.eq-cert__awarded {
    font-size: clamp(1.05rem, 1.9vw, 1.35rem);
    flex: 0 0 auto;
}
.eq-cert__name {
    font-size: clamp(1.7rem, 3.7vw, 2.55rem);
    font-weight: 800;
    color: #41b2d9;
    margin: 0.35rem 0 0.55rem;
    line-height: 1.25;
    flex: 0 0 auto;
}
.eq-cert__body {
    font-size: clamp(0.95rem, 1.75vw, 1.22rem);
    line-height: 1.65;
    max-width: 82%;
    margin: 0 auto;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.eq-cert__detail {
    font-size: clamp(1.12rem, 2vw, 1.4rem);
    font-weight: 700;
    margin-top: 0.45rem;
    color: #35495A;
    flex: 0 0 auto;
}
.eq-cert__footer {
    display: flex;
    width: 100%;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    margin-top: 0.65rem;
    padding-top: 0.35rem;
    flex: 0 0 auto;
}
.eq-cert__qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    flex: 0 0 auto;
}
.eq-cert__qr img {
    width: clamp(4.2rem, 9vw, 5.4rem);
    height: auto;
    aspect-ratio: 1;
    background: #fff;
    padding: 0.25rem;
    border-radius: 0.25rem;
}
.eq-cert__scan,
.eq-cert__code {
    font-size: clamp(0.7rem, 1.25vw, 0.88rem);
    line-height: 1.3;
}
.eq-cert__meta {
    text-align: center;
    min-width: 30%;
}
.eq-cert__meta-k {
    font-size: clamp(0.78rem, 1.4vw, 0.95rem);
    font-weight: 700;
    margin-top: 0.4rem;
}
.eq-cert__meta-k--sig {
    margin-top: 0.85rem;
}
.eq-cert__meta-v {
    font-size: clamp(0.95rem, 1.65vw, 1.15rem);
    line-height: 1.4;
}
.eq-cert__sign {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 700;
}

@media print {
    body.eq-cert-page #page-header,
    body.eq-cert-page .navbar,
    body.eq-cert-page .eq-cert-toolbar,
    .eq-no-print {
        display: none !important;
    }
    body.eq-cert-page,
    body.eq-cert-page #page,
    body.eq-cert-page #page-content {
        background: #fff !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .eq-cert-stage {
        max-width: none;
        margin: 0;
        padding: 0;
    }
    .eq-cert {
        box-shadow: none !important;
        width: 100% !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}

@media (max-width: 720px) {
    .eq-cert {
        aspect-ratio: auto;
        min-height: 22rem;
        padding: 1.25rem 1rem 1.5rem;
    }
    .eq-cert__body {
        max-width: 100%;
    }
    .eq-cert__footer {
        flex-direction: column;
        align-items: center;
    }
}

.eq-cert-hint strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--eq-teal-deep);
}

.eq-cert-hint p {
    margin: 0 0 0.75rem;
    color: var(--eq-muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

/* Jitsi session: use full content width/height inside school chrome */
body.path-mod-jitsi.schoolhub-chrome .eq-content,
body.path-mod-jitsi.pagelayout-schoolapp .eq-content {
    max-width: none;
    padding: 0.65rem 0.85rem 5.5rem;
}

body.path-mod-jitsi:not(.eq-meet-mode) .eq-jitsi-tabs {
    display: flex;
    gap: 0.35rem;
    background: #fff;
    border: 1px solid var(--eq-line, #e4e8ec);
    border-radius: 0.85rem;
    padding: 0.25rem;
    margin: 0 0 1rem;
}

body.path-mod-jitsi:not(.eq-meet-mode) .eq-jitsi-tabs .nav-link {
    border: 0 !important;
    border-radius: 0.65rem;
    color: var(--eq-muted, #5A5A5C) !important;
    font-weight: 700;
    padding: 0.5rem 1rem;
}

body.path-mod-jitsi:not(.eq-meet-mode) .eq-jitsi-tabs .nav-link.active {
    background: #35495A !important;
    color: #fff !important;
}

body.path-mod-jitsi:not(.eq-meet-mode) .eq-lobby-metrics {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 0 1rem;
}

body.path-mod-jitsi:not(.eq-meet-mode) .eq-lobby-metric {
    flex: 1 1 10rem;
    max-width: 16rem;
    background: #fff;
    border: 1px solid #e4e8ec;
    border-radius: 0.9rem;
    padding: 0.75rem 1rem;
    text-align: center;
}

body.path-mod-jitsi:not(.eq-meet-mode) .eq-lobby-metric__value {
    font-size: 1.45rem;
    font-weight: 800;
    color: #35495A;
}

body.path-mod-jitsi:not(.eq-meet-mode) .eq-lobby-metric__label {
    margin-top: 0.2rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #5A5A5C;
}

body.path-mod-jitsi:not(.eq-meet-mode) .eq-lobby-badges {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

body.path-mod-jitsi:not(.eq-meet-mode) .eq-lobby {
    max-width: 28rem;
    margin: 0 auto 1.25rem;
    text-align: center;
}

body.path-mod-jitsi:not(.eq-meet-mode) .eq-lobby__kicker {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: #41b2d9;
}

body.path-mod-jitsi:not(.eq-meet-mode) .eq-lobby__title {
    margin: 0.2rem 0 0.55rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: #35495A;
}

body.path-mod-jitsi:not(.eq-meet-mode) .eq-lobby__when {
    margin: 0.45rem 0 0.85rem;
    color: #5A5A5C;
    font-size: 0.88rem;
}

body.path-mod-jitsi:not(.eq-meet-mode) .eq-lobby__card {
    background: #fff;
    border: 1px solid #e4e8ec;
    border-radius: 1.1rem;
    padding: 1.25rem 1.15rem 1.15rem;
}

body.path-mod-jitsi:not(.eq-meet-mode) .eq-lobby__avatar {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    object-fit: cover;
    margin-bottom: 0.45rem;
}

body.path-mod-jitsi:not(.eq-meet-mode) .eq-lobby__name {
    margin: 0 0 0.85rem;
    font-weight: 700;
}

body.path-mod-jitsi:not(.eq-meet-mode) .eq-lobby__join {
    display: inline-flex;
    min-width: 12rem;
    min-height: 2.7rem;
    justify-content: center;
}

body.path-mod-jitsi:not(.eq-meet-mode) .eq-lobby__notice {
    text-align: start;
    border-radius: 0.8rem;
    padding: 0.85rem 0.95rem;
    margin: 0 0 0.75rem;
}

body.path-mod-jitsi:not(.eq-meet-mode) .eq-lobby__notice p {
    margin: 0.35rem 0 0;
    line-height: 1.45;
}

body.path-mod-jitsi:not(.eq-meet-mode) .eq-lobby__notice--soon {
    background: color-mix(in srgb, #41b2d9 14%, white);
    color: #35495A;
}

body.path-mod-jitsi:not(.eq-meet-mode) .eq-lobby__notice--closed {
    background: color-mix(in srgb, #c45c5c 14%, white);
    color: #a33b3b;
}

body.path-mod-jitsi:not(.eq-meet-mode) .eq-lobby__hint {
    margin: 0.75rem 0 0;
    color: #5A5A5C;
    font-size: 0.88rem;
}

body.path-mod-jitsi:not(.eq-meet-mode) .eq-lobby__records-empty {
    padding: 1rem 1.1rem;
    margin-top: 0.75rem;
}

body.path-mod-jitsi:not(.eq-meet-mode) hr {
    display: none;
}

body.path-mod-jitsi #jitsi-container,
body.path-mod-jitsi .jitsi-container {
    width: 100% !important;
    max-width: none !important;
    height: min(78vh, 820px) !important;
    max-height: none !important;
}

body.path-mod-jitsi .cuadrado-wrapper {
    width: 100%;
    justify-content: stretch;
}

/* Full-screen maqraâ€™a (layout schoolmeet) â€” like the Jitsi app */
body.eq-meet-mode,
html:has(body.eq-meet-mode) {
    height: 100%;
    margin: 0;
    background: #0b1419;
}

body.eq-meet-mode {
    overflow: hidden;
}

body.eq-meet-mode #page.eq-meet-page,
.eq-meet-page {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    height: 100dvh;
    max-height: 100dvh;
    background: #0b1419;
    padding: 0;
    margin: 0;
}

.eq-meet-bar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.85rem;
    padding-top: max(0.55rem, env(safe-area-inset-top));
    background: #102028;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 50;
}

.eq-meet-back {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--eq-teal, #41b2d9) 88%, #000);
    color: #fff !important;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
}

.eq-meet-back:hover,
.eq-meet-back:focus {
    filter: brightness(1.08);
    color: #fff !important;
}

.eq-meet-title {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1 1 auto;
}

.eq-meet-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-inline-start: auto;
}

body.eq-meet-mode .eq-meet-controls {
    flex: 0 0 auto;
    margin: 0;
    padding: 0.35rem 0.75rem;
    background: #102028;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.eq-meet-mode .eq-meet-controls > .col-sm,
body.eq-meet-mode .eq-meet-controls .row {
    margin: 0;
}

body.eq-meet-mode .eq-meet-controls hr,
body.eq-meet-mode .eq-meet-stage > hr {
    display: none;
}

body.eq-meet-mode .eq-meet-controls #state:empty,
body.eq-meet-mode .eq-meet-controls #state .alert-light:empty {
    display: none;
}

body.eq-meet-mode .eq-meet-controls #state .alert {
    margin: 0;
    padding: 0.35rem 0.65rem;
    font-size: 0.82rem;
    border-radius: 8px;
}

body.eq-meet-mode .eq-meet-controls .d-flex {
    gap: 0.45rem;
    justify-content: flex-end !important;
}

.eq-meet-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
}

.eq-meet-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.eq-meet-btn--record .fa-circle {
    color: #e85d5d;
    font-size: 0.65rem;
}

.eq-meet-btn--record.eq-meet-btn--active {
    background: rgba(232, 93, 93, 0.22);
    border-color: rgba(232, 93, 93, 0.55);
}

.eq-meet-btn--record.eq-meet-btn--active .fa-circle {
    animation: eq-rec-pulse 1.2s ease-in-out infinite;
}

@keyframes eq-rec-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.eq-meet-btn--drive {
    border-color: rgba(65, 178, 217, 0.45);
    background: rgba(65, 178, 217, 0.12);
}

.eq-meet-stage {
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    background: #0b1419;
}

body.eq-meet-mode #page,
body.eq-meet-mode #page-content,
body.eq-meet-mode #region-main-box,
body.eq-meet-mode #region-main,
body.eq-meet-mode .eq-meet-stage,
body.eq-meet-mode .eq-moodle-body,
body.eq-meet-mode .eq-main,
body.eq-meet-mode .eq-content {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
    min-height: 0 !important;
    position: relative !important;
}

body.eq-meet-mode #region-main,
body.eq-meet-mode .eq-meet-stage {
    flex: 1 1 auto !important;
    height: auto !important;
    min-height: calc(100dvh - 3.25rem) !important;
}

/* Hide chrome only â€” never .eq-app, or the Jitsi iframe inside it disappears. */
body.eq-meet-mode .navbar,
body.eq-meet-mode #page-header,
body.eq-meet-mode .activity-header,
body.eq-meet-mode .breadcrumb-nav,
body.eq-meet-mode .secondary-navigation,
body.eq-meet-mode .drawer-toggler,
body.eq-meet-mode #page-footer,
body.eq-meet-mode .sh-bottomnav,
body.eq-meet-mode .sh-install,
body.eq-meet-mode .eq-topbar,
body.eq-meet-mode .eq-sidebar {
    display: none !important;
}

body.eq-meet-mode .eq-app {
    display: block !important;
    grid-template-columns: none !important;
    min-height: 100dvh !important;
    height: 100dvh !important;
    background: #0b1419 !important;
}

body.eq-meet-mode .cuadrado-wrapper {
    flex: 1 1 auto;
    width: 100% !important;
    min-height: calc(100dvh - 3.25rem) !important;
    height: calc(100dvh - 3.25rem) !important;
    max-height: none !important;
    display: block !important;
    overflow: hidden !important;
    position: relative !important;
    inset: auto !important;
}

body.eq-meet-mode.path-mod-jitsi #jitsi-container,
body.eq-meet-mode.path-mod-jitsi .jitsi-container,
body.eq-meet-mode #jitsi-container,
body.eq-meet-mode .jitsi-container {
    width: 100% !important;
    min-height: calc(100dvh - 3.25rem) !important;
    height: calc(100dvh - 3.25rem) !important;
    max-width: none !important;
    max-height: none !important;
    position: relative !important;
    inset: auto !important;
}

body.eq-meet-mode.path-mod-jitsi #jitsi-container iframe,
body.eq-meet-mode #jitsi-container iframe,
body.eq-meet-mode .jitsi-container iframe {
    width: 100% !important;
    min-height: calc(100dvh - 3.25rem) !important;
    height: calc(100dvh - 3.25rem) !important;
    border: 0 !important;
    display: block !important;
}

body.eq-meet-mode hr,
body.eq-meet-mode #state {
    display: none !important;
}

.eq-meet-loading {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: grid;
    place-items: center;
    gap: 0.85rem;
    background: #0b1419;
    color: #e8eaed;
    text-align: center;
    padding: 1rem;
    pointer-events: none;
}
.eq-meet-loading[hidden] {
    display: none !important;
}
.eq-meet-loading__spinner {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    border: 3px solid rgba(255, 255, 255, 0.18);
    border-top-color: var(--eq-teal, #41b2d9);
    animation: eq-meet-spin 0.85s linear infinite;
}
.eq-meet-loading__text {
    font-size: 0.92rem;
    font-weight: 700;
    max-width: 16rem;
    line-height: 1.45;
}
body.eq-meet-mode .cuadrado-wrapper {
    position: relative;
}
@keyframes eq-meet-spin {
    to { transform: rotate(360deg); }
}

@media print {
    .eq-sidebar,
    .eq-topbar,
    .sh-bottomnav,
    .sh-install,
    .eq-no-print,
    .eq-toolbar,
    .eq-filter,
    .eq-filter__form,
    .eq-meet-bar,
    .eq-meet-chip,
    .eq-help,
    .eq-flash,
    .eq-license-banner,
    .eq-nav-scrim,
    .eq-account,
    .eq-modal:not(#eq-card-modal),
    .eq-row__actions,
    .eq-pager,
    .eq-view-toggle {
        display: none !important;
    }
    .eq-app,
    .eq-main,
    .eq-content {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        min-height: 0 !important;
    }
    .eq-print {
        box-shadow: none !important;
        border: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .eq-print.eq-report {
        border: 0 !important;
        padding: 0.4rem !important;
    }
    .eq-report-head {
        margin-bottom: 0.6rem;
    }
    .eq-report-table,
    .qp-board-table {
        width: 100% !important;
        border-collapse: collapse;
    }
    .eq-report-table th,
    .eq-report-table td,
    .qp-board-table th,
    .qp-board-table td {
        border: 1px solid #ccc !important;
        padding: 0.35rem 0.45rem !important;
        font-size: 10pt !important;
    }
    .eq-card-sheet {
        gap: 0 !important;
        align-items: stretch !important;
    }
    .eq-card-sheet .eq-scard {
        margin: 0 auto !important;
        page-break-inside: avoid;
        break-inside: avoid;
    }
    .eq-idcard {
        border: 1px solid #333;
    }
    .eq-curve,
    .eq-curve__svg {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

.eq-public-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 1rem 1.25rem 3rem;
    color: var(--eq-ink, #1A1F24);
}
.eq-public-bar nav a.is-active,
.eq-public-login {
    opacity: 1;
    font-weight: 700;
    color: var(--eq-teal, #41b2d9);
}
.eq-public-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.eq-public-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    color: inherit;
    text-decoration: none;
}
.eq-public-brand img {
    height: 48px;
    width: auto;
    background: transparent;
    object-fit: contain;
}
.eq-public-bar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.85rem;
}
.eq-public-bar nav a {
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
}
.eq-public-bar nav a.is-active,
.eq-public-login {
    opacity: 1;
    font-weight: 700;
    color: var(--eq-teal, #41b2d9);
}
.eq-public-main h1 {
    margin: 0 0 0.75rem;
}
.eq-public-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.eq-chat {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    max-height: min(58vh, 28rem);
    overflow-y: auto;
    padding: 0.85rem 0.7rem 1rem;
    margin: 0 0 0.75rem;
    border-radius: 0.85rem;
    background-color: #5d7a90;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px);
    background-size: 18px 18px;
}
.eq-chat .eq-empty {
    color: rgba(255, 255, 255, 0.82);
}
.eq-chat__bubble {
    max-width: 78%;
    padding: 0.42rem 0.6rem 0.28rem 0.72rem;
    border-radius: 0.85rem 0.85rem 0.85rem 0.18rem;
    background: #fff;
    color: #111b21;
    box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}
.eq-chat__bubble--me {
    margin-inline-start: auto;
    background: #d9fdd3;
    color: #111b21;
    border-radius: 0.85rem 0.85rem 0.18rem 0.85rem;
}
.eq-chat__text {
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.45;
    font-size: 0.95rem;
}
.eq-chat__time {
    font-size: 0.68rem;
    opacity: 0.72;
    margin-top: 0.15rem;
    text-align: end;
}
.eq-chat__from {
    font-size: 0.72rem;
    font-weight: 800;
    color: #0d7377;
    margin-bottom: 0.12rem;
}
.eq-chat__composer {
    gap: 0.45rem;
    position: relative;
    z-index: 6;
    pointer-events: auto;
}
.eq-chat__composer .eq-filter__input {
    border-radius: 1.1rem;
    min-height: 2.8rem;
}
.eq-chat__tools {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.35rem;
    margin-top: 0.4rem;
    position: relative;
    z-index: 6;
    pointer-events: auto;
}
.eq-chat__tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.45rem;
    height: 2.45rem;
    border: 1px solid #d7e3ea;
    border-radius: 999px;
    background: #fff;
    font-size: 1.15rem;
    cursor: pointer;
    line-height: 1;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    z-index: 6;
    pointer-events: auto;
    color: inherit;
}
.eq-chat__tool::-webkit-details-marker,
.eq-chat__tool::marker {
    display: none;
    content: "";
}
.eq-chat__tool:hover {
    border-color: #41b2d9;
    background: color-mix(in srgb, #41b2d9 12%, white);
}
.eq-chat__attach {
    overflow: hidden;
    position: relative;
}
.eq-chat__attach span {
    pointer-events: none;
}
.eq-chat__fileinput {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    font-size: 1.2rem;
    margin: 0;
    padding: 0;
    z-index: 2;
}
.eq-chat__emoji-wrap {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}
.eq-chat__emoji-wrap > summary {
    display: inline-flex;
}
.eq-chat__emojis {
    display: grid;
    grid-template-columns: repeat(8, 1.9rem);
    gap: 0.2rem;
    padding: 0.55rem;
    margin-top: 0.4rem;
    border: 1px solid color-mix(in srgb, #41b2d9 28%, #e4e8ec);
    border-radius: 0.85rem;
    background: #fff;
    box-shadow: 0 10px 24px rgba(53, 73, 90, 0.14);
    max-width: 100%;
}
.eq-chat__emoji-wrap:not([open]) .eq-chat__emojis {
    display: none;
}
.eq-chat__emoji {
    width: 1.9rem;
    height: 1.9rem;
    border: 0;
    background: transparent;
    border-radius: 0.4rem;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}
.eq-chat__emoji:hover {
    background: color-mix(in srgb, #41b2d9 16%, white);
}
.eq-chat__filelist {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.35rem;
}
.eq-chat__filechip {
    display: inline-flex;
    max-width: 100%;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, #41b2d9 16%, white);
    color: #35495A;
    font-size: 0.78rem;
    font-weight: 700;
}
.eq-chat__files {
    display: grid;
    gap: 0.4rem;
    margin: 0.35rem 0 0.15rem;
}
.eq-chat__img {
    display: block;
    max-width: 14rem;
    border-radius: 0.55rem;
    overflow: hidden;
}
.eq-chat__img img {
    display: block;
    width: 100%;
    max-height: 14rem;
    object-fit: cover;
}
.eq-chat__doc {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.6rem;
    border-radius: 0.55rem;
    background: color-mix(in srgb, #35495A 10%, white);
    color: #35495A !important;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none !important;
    word-break: break-all;
}
.eq-chat__doc::before {
    content: "ðŸ“Ž";
}
.eq-curve {
    margin: 0 0 1.1rem;
    padding: 0.9rem 1rem 0.7rem;
    border-radius: 0.9rem;
    background: #fff;
    border: 1px solid color-mix(in srgb, #35495A 12%, #e4e8ec);
    box-shadow: 0 8px 18px rgba(53, 73, 90, 0.05);
}
.eq-curve__svg {
    display: block;
    width: 100%;
    height: 3.15rem;
    margin-bottom: 0.8rem;
}
.eq-curve__line {
    vector-effect: non-scaling-stroke;
}
.eq-curve__row {
    display: grid;
    grid-template-columns: 0.7rem minmax(0, 1fr) 2.3rem;
    grid-template-rows: auto auto;
    gap: 0.18rem 0.5rem;
    align-items: center;
    margin-bottom: 0.48rem;
}
.eq-curve__row:last-child {
    margin-bottom: 0;
}
.eq-curve__swatch {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 0.22rem;
    flex: 0 0 auto;
}
.eq-curve__lab {
    font-size: 0.8rem;
    font-weight: 700;
    color: #35495A;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.eq-curve__n {
    font-size: 0.8rem;
    font-weight: 800;
    color: #35495A;
    text-align: end;
    font-variant-numeric: tabular-nums;
}
.eq-curve__track {
    grid-column: 1 / -1;
    height: 0.48rem;
    border-radius: 999px;
    background: #eef2f5;
    overflow: hidden;
}
.eq-curve__fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    min-width: 0.35rem;
}

.eq-report-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.55rem 1rem;
    margin: 0 0 1rem;
    padding: 0 0 0.85rem;
    border-bottom: 1px solid #e4e8ec;
}
.eq-report-head h2 {
    margin: 0;
    color: #35495A;
    font-size: 1.22rem;
    font-weight: 800;
}
.eq-report-head p {
    margin: 0.2rem 0 0;
    color: var(--eq-muted);
    font-size: 0.9rem;
    flex: 1 1 100%;
}
.eq-report-head .eq-row__meta--pills {
    margin: 0;
}
.eq-report.eq-card {
    padding: 1.05rem 1.1rem 1rem;
}
.eq-report-index .eq-row {
    background: #fff;
    border: 1px solid #e4e8ec;
    box-shadow: 0 4px 12px rgba(53, 73, 90, 0.04);
    padding: 0.95rem 1rem;
    margin-bottom: 0.55rem;
}
.eq-report-index .eq-row:hover {
    background: #f7fbfd;
    border-color: color-mix(in srgb, #41b2d9 38%, #e4e8ec);
}
.eq-report-index .eq-row__title {
    color: #35495A;
    font-weight: 800;
}
.eq-report-index .eq-row__meta {
    margin-top: 0.2rem;
}
.eq-row__actions .eq-btn {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}
.eq-modal--results .eq-modal__panel {
    width: min(52rem, 96vw);
}
.eq-result-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.85rem;
    margin: 0 0 0.75rem;
}
.eq-result-head .eq-modal__note {
    flex: 1 1 100%;
    margin: 0;
}
.eq-form--modal .eq-results,
.eq-form--modal .eq-result,
.eq-form--modal .eq-empty.eq-results {
    grid-column: 1 / -1;
}
.eq-results {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: min(58vh, 28rem);
    overflow: auto;
    background: #fff;
    border: 1px solid #e8eef2;
    border-radius: 0.85rem;
    padding: 0.15rem 0.75rem;
}
.eq-result {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.85rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid #e8eef2;
}
.eq-result:last-child {
    border-bottom: 0;
}
.eq-result__who {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex: 1 1 16rem;
    min-width: 0;
}
.eq-result__meta {
    min-width: 0;
    flex: 1 1 auto;
}
.eq-result__name {
    font-weight: 700;
    color: #35495A;
    line-height: 1.35;
    white-space: normal;
    overflow: visible;
    word-break: break-word;
}
.eq-result__status {
    display: inline-block;
    margin-top: 0.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7780;
}
.eq-result__status--pass {
    color: #0f7a45;
}
.eq-result__status--fail {
    color: #b42318;
}
.eq-result__marks {
    display: flex;
    flex: 1 1 16rem;
    gap: 0.45rem;
    min-width: 0;
}
.eq-result__grade {
    flex: 0 0 6.2rem;
    max-width: 7rem;
}
.eq-result__note {
    flex: 1 1 auto;
}

.eq-report-table td {
    font-size: 0.92rem;
}
.eq-rbadge {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}
.eq-rbadge--ok {
    background: color-mix(in srgb, #0f7a45 16%, white);
    color: #0f7a45;
}
.eq-rbadge--warn {
    background: color-mix(in srgb, #c47b16 18%, white);
    color: #9a5b0a;
}
.eq-rbadge--bad {
    background: color-mix(in srgb, #c45c5c 16%, white);
    color: #a33b3b;
}
.eq-rbadge--muted {
    background: #eef2f5;
    color: #6b7780;
}
.eq-td-num {
    font-weight: 700;
    text-align: center !important;
    font-variant-numeric: tabular-nums;
}
.eq-td-num--ok {
    color: #0f7a45;
    background: color-mix(in srgb, #0f7a45 10%, white) !important;
}
.eq-td-num--warn {
    color: #9a5b0a;
    background: color-mix(in srgb, #c47b16 12%, white) !important;
}
.eq-td-num--bad {
    color: #a33b3b;
    background: color-mix(in srgb, #c45c5c 12%, white) !important;
}
.eq-td-num--muted {
    color: #35495A;
    background: color-mix(in srgb, #35495A 8%, white) !important;
}
.eq-report-head .eq-row__meta--pills {
    margin: 0;
}
.eq-row--tone-day { border-inline-start: 4px solid #41b2d9; }
.eq-row--tone-ok { border-inline-start: 4px solid #0f7a45; }
.eq-row--tone-student { border-inline-start: 4px solid #35495A; }
.eq-row--tone-circle { border-inline-start: 4px solid var(--eq-teal); }
.eq-row--tone-exam { border-inline-start: 4px solid #4A5560; }

.eq-row__wave {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 1.15rem;
    pointer-events: none;
    z-index: 0;
    opacity: 0.16;
}
.eq-row__wave svg {
    display: block;
    width: 100%;
    height: 100%;
}
.eq-row--tone-day .eq-row__wave path { fill: #41b2d9; }
.eq-row--tone-ok .eq-row__wave path { fill: #0f7a45; }
.eq-row--tone-student .eq-row__wave path { fill: #35495A; }
.eq-row--tone-circle .eq-row__wave path { fill: var(--eq-teal); }
.eq-row--tone-exam .eq-row__wave path { fill: #4A5560; }
.eq-row--wave > *:not(.eq-row__wave) {
    position: relative;
    z-index: 1;
}

.eq-toolbar__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    flex: 1 1 100%;
}
.eq-page-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9.2rem, 1fr));
    gap: 0.65rem;
    margin: 0 0 1rem;
}
.eq-page-stat {
    background: #fff;
    border: 1px solid #e4e8ec;
    border-radius: 1rem;
    padding: 0.9rem 1rem 0.85rem;
    box-shadow: 0 4px 12px rgba(53, 73, 90, 0.04);
}
.eq-page-stat strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: #35495A;
    letter-spacing: -0.02em;
}
.eq-page-stat span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--eq-muted);
}
.eq-page-stat--ok strong { color: #0f7a45; }
.eq-page-stat--warn strong { color: #b45309; }
.eq-page-stat--danger strong { color: #a33b3b; }
.eq-page-stat--accent strong { color: #1f6482; }
.eq-finance-index .eq-row,
.eq-assoc-index .eq-row {
    background: #fff;
    border: 1px solid #e4e8ec;
    box-shadow: 0 4px 12px rgba(53, 73, 90, 0.04);
    padding: 0.95rem 1rem;
    margin-bottom: 0.55rem;
}
.eq-finance-index .eq-row:hover,
.eq-assoc-index .eq-row:hover {
    background: #f7fbfd;
    border-color: color-mix(in srgb, #41b2d9 38%, #e4e8ec);
}
.eq-inline-form {
    display: inline;
    margin: 0;
}
.eq-brand-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.eq-brand-form .eq-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
    margin-bottom: 0;
    padding: 0.95rem 1.05rem 1.15rem;
    scroll-margin-top: 5.5rem;
}
.eq-brand-form .eq-card__head,
.eq-brand-form .eq-card h2,
.eq-brand-form .eq-card h3,
.eq-brand-form .eq-card > p,
.eq-brand-form .eq-form__section,
.eq-brand-form .eq-flash,
.eq-brand-form .eq-form__actions {
    grid-column: 1 / -1;
}
.eq-brand-form .eq-form__actions {
    margin-top: 0.25rem;
}
.eq-branding-previewwrap--logo {
    width: 5.4rem;
    height: 5.4rem;
    border-radius: 50%;
    overflow: hidden;
    background: #35495A;
    display: grid;
    place-items: center;
    border: 2px solid color-mix(in srgb, #41b2d9 45%, #35495A);
}
.eq-branding-previewwrap--logo .eq-branding-preview {
    width: 92%;
    height: 92%;
    max-height: none;
    max-width: none;
    object-fit: contain;
    background: transparent;
    border-radius: 50%;
}
.eq-checkgrid--pills .eq-check {
    cursor: pointer;
}

body.eq-messages .eq-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0.7rem 0.85rem 0.85rem;
}
body.eq-messages .eq-wa {
    flex: 1 1 auto;
    margin-bottom: 0;
}
body.eq-messages .sh-install {
    display: none !important;
}

.eq-wa {
    display: grid;
    grid-template-columns: minmax(17rem, 22.5rem) minmax(0, 1fr);
    min-height: calc(100vh - 6.2rem);
    background: #fff;
    border: 1px solid #dbe3e8;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1rem;
}
.eq-wa__list {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #fff;
    border-inline-end: 1px solid #e4e8ec;
}
.eq-wa__listhead {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 0.75rem;
    border-bottom: 1px solid #eef2f5;
    background: #f7fafc;
    flex: 0 0 auto;
}
.eq-wa__search {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    width: 100%;
    border-radius: 999px;
    background: #fff;
    min-height: 2.4rem;
}
.eq-wa__new {
    flex: 0 0 auto;
    white-space: nowrap;
    border-radius: 999px;
    min-height: 2.4rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
}
.eq-wa__rows {
    flex: 1 1 auto;
    overflow: auto;
    min-height: 0;
}
.eq-wa__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: #fff;
    border-bottom: 1px solid #eef2f5;
    position: relative;
}
.eq-wa__item:hover {
    background: #f4f7f9;
}
.eq-wa__item.is-active {
    background: #e7f4fa;
}
.eq-wa__item.is-unread .eq-wa__name {
    font-weight: 800;
}
.eq-wa__hit {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.72rem 0.55rem 0.72rem 0.8rem;
    text-decoration: none !important;
    color: inherit;
    min-width: 0;
}
.eq-wa__hit .eq-row__face,
.eq-wa__hit .eq-row__face--round {
    width: 2.85rem;
    height: 2.85rem;
    flex: 0 0 auto;
}
.eq-wa__copy {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}
.eq-wa__topline,
.eq-wa__bottomline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    min-width: 0;
}
.eq-wa__name {
    font-weight: 700;
    font-size: 0.92rem;
    color: #1f2d38;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.eq-wa__when {
    flex: 0 0 auto;
    font-size: 0.7rem;
    color: #7b8790;
}
.eq-wa__preview {
    color: #66737c;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.eq-wa__unread {
    min-width: 1.2rem;
    height: 1.2rem;
    padding: 0 0.28rem;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 0.66rem;
    flex: 0 0 auto;
}
.eq-wa__del {
    width: 2.15rem;
    display: grid;
    place-items: center;
    color: #b03a2e !important;
    text-decoration: none !important;
    opacity: 0.28;
    align-self: stretch;
    padding: 0 0.35rem 0 0.15rem;
}
.eq-wa__item:hover .eq-wa__del,
.eq-wa__item:focus-within .eq-wa__del,
.eq-wa__del:focus {
    opacity: 1;
}
.eq-wa__delico {
    width: 1.05rem;
    height: 1.05rem;
    fill: currentColor;
    display: block;
}
.eq-wa__thread {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    background: #cfd8e3;
}
.eq-wa__head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    background: #e8eef2;
    border-bottom: 1px solid #c5d0db;
    flex: 0 0 auto;
    position: relative;
    z-index: 8;
    overflow: visible;
}
.eq-wa__back {
    display: none;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    place-items: center;
    color: #35495A !important;
    text-decoration: none !important;
    flex: 0 0 auto;
}
.eq-wa__backico {
    width: 1.2rem;
    height: 1.2rem;
}
html[dir="rtl"] .eq-wa__backico {
    transform: scaleX(-1);
}
.eq-wa__peer {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    flex: 1 1 auto;
}
.eq-wa__peer .eq-row__face,
.eq-wa__peer .eq-row__face--round {
    width: 2.5rem;
    height: 2.5rem;
}
.eq-wa__head-text {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    min-width: 0;
}
.eq-wa__head-text strong {
    font-size: 0.98rem;
    color: #35495A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.eq-wa__head-text span {
    font-size: 0.75rem;
    color: #66737c;
}
.eq-wa__info {
    position: relative;
    flex: 0 0 auto;
    margin-inline-start: auto;
}
.eq-wa__info[open] {
    z-index: 30;
}
.eq-wa__info-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    cursor: pointer;
    border: 0;
    background: #41b2d9;
    color: #fff;
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 1px 2px rgba(53, 73, 90, 0.08);
}
.eq-wa__info[open] .eq-wa__info-btn {
    background: #35495A;
}
.eq-wa__info-btn .sh-icon {
    width: 1.1rem;
    height: 1.1rem;
    stroke: currentColor;
    color: inherit;
}
.eq-wa__info-btn::-webkit-details-marker,
.eq-wa__info-btn::marker {
    display: none;
    content: "";
}
.eq-wa__roster {
    position: absolute;
    top: calc(100% + 0.45rem);
    inset-inline-end: 0;
    width: min(24rem, 92vw);
    max-height: min(70vh, 28rem);
    overflow: auto;
    background: #fff;
    border: 1px solid #dce7ee;
    border-radius: 0.9rem;
    box-shadow: 0 16px 36px rgba(53, 73, 90, 0.18);
    z-index: 80;
    padding: 0.85rem;
    flex: none;
}
.eq-wa__roster .eq-wa__rename {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 0.4rem;
    margin: 0 0 0.55rem;
    padding: 0 0 0.55rem;
    border-bottom: 1px solid #e4e8ec;
}
.eq-wa__roster .eq-wa__rename label {
    flex: 1 1 100%;
    margin: 0;
}
.eq-wa__roster .eq-wa__rename .eq-filter__input {
    flex: 1 1 10rem;
    min-width: 0;
    max-width: none;
}
.eq-wa__member-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 0.05rem;
}
.eq-wa__member-role,
.eq-wa__member em {
    font-size: 0.72rem;
    font-weight: 600;
    color: #41b2d9;
    font-style: normal;
}
.eq-wa__add-label {
    flex: 1 1 100%;
    font-size: 0.8rem;
    font-weight: 800;
    color: #35495A;
}
.eq-wa__info-title {
    margin: 0 0 0.45rem;
    font-size: 0.82rem;
    font-weight: 800;
    color: #35495A;
}
.eq-wa__rename {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #eef2f5;
}
.eq-wa__rename label {
    font-size: 0.8rem;
    font-weight: 800;
    color: #35495A;
}
.eq-wa__rename .eq-filter__input {
    width: 100%;
    max-width: none;
}
.eq-wa__rename .eq-btn {
    justify-self: start;
    min-height: 2.2rem;
}
.eq-wa__members {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0;
    background: transparent;
    border: 0;
    max-height: 14rem;
    overflow: auto;
}
.eq-wa__member {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f7fbfd;
    border-radius: 0.7rem;
    padding: 0.35rem 0.55rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: #35495A;
}
.eq-wa__member .eq-row__face {
    width: 1.45rem;
    height: 1.45rem;
}
.eq-wa__add {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    padding: 0.55rem 0 0;
    margin-top: 0.55rem;
    border-top: 1px solid #eef2f5;
    background: transparent;
}
.eq-wa__add .eq-filter__select {
    flex: 1 1 10rem;
    min-height: 2.3rem;
}
.eq-wa__add .eq-btn {
    min-height: 2.3rem;
    white-space: nowrap;
}
.eq-wa .eq-chat {
    flex: 1 1 auto;
    max-height: none;
    min-height: 0;
    margin: 0;
    border-radius: 0;
    background-color: #c5d0db;
    background-image:
        radial-gradient(rgba(53, 73, 90, 0.14) 1.1px, transparent 1.1px);
    background-size: 18px 18px;
}
.eq-wa .eq-chat__bubble {
    align-self: flex-start;
}
.eq-wa .eq-chat__bubble--me {
    align-self: flex-end;
}
.eq-wa__composer {
    display: grid;
    position: relative;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
        "tools field send"
        "status status status"
        "files files files";
    align-items: end;
    gap: 0.45rem 0.5rem;
    padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    background: #f0f2f5;
    flex: 0 0 auto;
}
.eq-wa__composer > input[type="hidden"] {
    display: none;
}
.eq-wa__composer .eq-chat__tools {
    grid-area: tools;
    margin: 0;
    flex: 0 0 auto;
    flex-wrap: nowrap;
}
.eq-wa__composer .eq-chat__emoji-wrap {
    flex: 0 0 auto;
    min-width: 0;
}
.eq-wa__composer .eq-chat__filelist {
    grid-area: files;
    flex: none;
    order: unset;
}
.eq-voice-rec {
    grid-area: status;
    display: none;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.6rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #fff3f3;
    color: #8a1f1b;
    font-weight: 700;
    font-size: 0.86rem;
}
.eq-wa__composer.is-recording .eq-voice-rec,
.eq-voice-rec:not([hidden]) {
    display: flex;
}
.eq-voice-rec[hidden] {
    display: none !important;
}
.eq-voice-rec__dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: #c0392b;
    flex: 0 0 auto;
    animation: eq-pulse 1s ease-in-out infinite;
}
.eq-voice-rec__time {
    font-variant-numeric: tabular-nums;
    min-width: 2.4rem;
}
.eq-voice-rec__label {
    min-width: 0;
    line-height: 1.3;
}
.eq-wa__composer.is-recording .eq-wa__input {
    opacity: 0.35;
    pointer-events: none;
}
.eq-voice {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 12rem;
    max-width: 16.5rem;
    margin: 0.1rem 0 0.2rem;
    position: relative;
}
.eq-voice__play {
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    cursor: pointer;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    padding: 0;
}
.eq-chat__bubble--me .eq-voice__play {
    background: #1e9e54;
}
.eq-voice__ico {
    display: block;
}
.eq-voice__ico--play {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.38rem 0 0.38rem 0.62rem;
    border-color: transparent transparent transparent #fff;
    margin-inline-start: 0.12rem;
}
.eq-voice__ico--pause {
    display: none;
    width: 0.72rem;
    height: 0.72rem;
    background: linear-gradient(#fff, #fff) 0 0 / 0.22rem 100% no-repeat,
                linear-gradient(#fff, #fff) 100% 0 / 0.22rem 100% no-repeat;
}
.eq-voice.is-playing .eq-voice__ico--play {
    display: none;
}
.eq-voice.is-playing .eq-voice__ico--pause {
    display: block;
}
.eq-voice__track {
    flex: 1 1 auto;
    height: 0.34rem;
    min-width: 4.5rem;
    background: rgba(53, 73, 90, 0.2);
    border-radius: 99px;
    overflow: hidden;
}
.eq-chat__bubble--me .eq-voice__track {
    background: rgba(30, 80, 40, 0.18);
}
.eq-voice__fill {
    height: 100%;
    width: 0;
    background: #35495A;
    border-radius: 99px;
}
.eq-voice__time {
    flex: 0 0 auto;
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    opacity: 0.8;
    min-width: 2.2rem;
}
.eq-voice__src,
.eq-chat__audio {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
.eq-wa__input,
body.eq-messages textarea.eq-wa__input,
body.eq-messages textarea.eq-wa__input.form-control {
    grid-area: field;
    flex: none;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    min-height: 2.7rem;
    max-height: 7.5rem;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 1.35rem;
    padding: 0.65rem 1.05rem;
    resize: none;
    overflow-y: auto;
    font: inherit;
    line-height: 1.4;
    background: #fff;
    color: inherit;
}
.eq-wa__input:focus,
body.eq-messages textarea.eq-wa__input:focus {
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}
.eq-wa__composer .eq-btn--primary {
    grid-area: send;
    border-radius: 999px;
    min-width: 2.7rem;
    background: #25d366;
    border-color: transparent;
}
.eq-wa__placeholder {
    margin: auto;
    padding: 2rem 1.2rem;
    color: #54656f;
    font-weight: 700;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
}
.eq-wa__placeholder-ico .sh-icon {
    width: 2.6rem;
    height: 2.6rem;
    color: #41b2d9;
}
@media (max-width: 900px) {
    body.eq-messages .eq-content {
        padding: 0.55rem 0.55rem 5.6rem;
    }
    .eq-wa {
        grid-template-columns: 1fr;
        min-height: calc(100vh - 8.5rem);
        border-radius: 0.75rem;
    }
    .eq-wa.is-open .eq-wa__list {
        display: none;
    }
    .eq-wa:not(.is-open) .eq-wa__thread {
        display: none;
    }
    .eq-wa__back {
        display: grid;
    }
    .eq-wa__del {
        opacity: 0.7;
    }
    .eq-wa__composer {
        grid-template-columns: auto minmax(0, 1fr) auto;
        flex-wrap: nowrap;
    }
}

.eq-dash-analytics {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 0 0 1.25rem;
}
.eq-dash-charts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    align-items: stretch;
    margin-bottom: 0;
}
.eq-dash-charts-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    grid-column: 1 / -1;
    align-items: stretch;
}
.eq-dash-chart {
    display: flex;
    flex-direction: column;
    margin: 0;
    min-width: 0;
    min-height: 100%;
    height: 100%;
}
.eq-dash-chart__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 17.5rem;
    padding: 0 0.85rem 0.85rem;
}
.eq-dash-chart__body .eq-curve {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.eq-dash-chart--students .eq-curve__row {
    flex: 1 1 auto;
    margin-bottom: 0.35rem;
}
.eq-dash-chart--students .eq-curve__row:last-child {
    margin-bottom: 0;
}
.eq-dash-chart .eq-card__head--dash {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    min-height: 2.35rem;
    margin-bottom: 0.65rem;
    padding: 0.85rem 0.85rem 0;
}
.eq-dash-chart .eq-card__head--dash h2 {
    margin: 0;
    font-size: 1rem;
    color: #35495A;
    line-height: 1.25;
}
.eq-dash-chart .eq-card__more {
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 600;
    color: #3d7a96;
    text-decoration: none;
    white-space: nowrap;
}
.eq-dash-chart .eq-card__more:hover,
.eq-dash-chart .eq-card__more:focus-visible {
    color: #41b2d9;
    text-decoration: underline;
}
.eq-dash-chart .eq-curve {
    flex: 1 1 auto;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}
.eq-dash-chart .eq-curve__svg {
    margin-bottom: 0.65rem;
}
.eq-dash-chart--students .eq-curve {
    max-height: none;
    overflow: visible;
    padding-inline-end: 0;
}
.eq-dash-chart .eq-curve__row {
    display: grid;
    grid-template-columns: 0.55rem minmax(0, 1fr) 2.35rem;
    grid-template-rows: auto auto;
    gap: 0.2rem 0.5rem;
    align-items: center;
    margin-bottom: 0.52rem;
}
.eq-dash-chart .eq-curve__track {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    height: 0.52rem;
    border-radius: 999px;
    background: #e8eef2;
    overflow: hidden;
}
.eq-dash-chart .eq-curve__fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    min-width: 0;
    max-width: 100%;
}
.eq-dash-stars {
    margin: 0;
    width: 100%;
}

/* Dashboard charts — mobile layout */
@media (max-width: 900px) {
    .eq-dash-analytics {
        overflow-x: hidden;
        min-width: 0;
    }
    .eq-dash-charts,
    .eq-dash-charts-pair {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
    }
    .eq-dash-chart {
        min-width: 0;
        width: 100%;
        height: auto;
    }
    .eq-dash-chart__body {
        min-height: 0;
        padding: 0 0.65rem 0.75rem;
    }
    .eq-dash-chart .eq-card__head--dash {
        padding: 0.75rem 0.65rem 0;
        flex-wrap: wrap;
        gap: 0.35rem;
    }
    .eq-dash-chart .eq-card__head--dash h2 {
        font-size: 0.92rem;
        flex: 1 1 8rem;
        min-width: 0;
        line-height: 1.3;
    }
    .eq-dash-chart .eq-card__more {
        font-size: 0.72rem;
    }
    .eq-dash-chart .eq-curve__svg {
        height: 2.55rem;
        margin-bottom: 0.55rem;
    }
    .eq-dash-chart .eq-curve__row {
        grid-template-columns: 0.5rem minmax(0, 1fr) 2rem;
        gap: 0.15rem 0.4rem;
        margin-bottom: 0.42rem;
    }
    .eq-dash-chart .eq-curve__lab {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.25;
        font-size: 0.76rem;
    }
    .eq-dash-chart .eq-curve__n {
        font-size: 0.76rem;
    }
    .eq-dash-chart--students .eq-curve__row {
        flex: none;
    }
    .eq-stats--dash,
    .eq-stats--page {
        grid-template-columns: 1fr !important;
    }
    .eq-dash-stars__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0 0.65rem 0.65rem;
        gap: 0.55rem;
    }
    .eq-curve {
        padding: 0.75rem 0.8rem 0.65rem;
    }
    .eq-curve__lab {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.25;
    }
}
@media (max-width: 379px) {
    .eq-dash-stars__grid {
        grid-template-columns: 1fr;
    }
}

.eq-stats--dash,
.eq-stats--page {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
    gap: 0.75rem;
    margin: 0;
}
.eq-stats--dash .eq-stat,
.eq-stats--page .eq-stat {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    padding: 0.85rem 0.9rem;
    border-radius: 1rem;
    box-shadow: 0 10px 22px rgba(53, 73, 90, 0.12);
    border: 0;
}
.eq-stat__body {
    min-width: 0;
    flex: 1 1 auto;
}
.eq-stat__body strong {
    display: block;
    font-size: 1.35rem;
    line-height: 1.1;
}
.eq-stat__body > span {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.78rem;
    line-height: 1.25;
    opacity: 0.92;
}
a.eq-stat.eq-stat--link,
a.eq-stat.eq-stat--link:visited {
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.eq-stat.eq-stat--link:hover,
a.eq-stat.eq-stat--link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(53, 73, 90, 0.18);
}
a.eq-stat.eq-stat--link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 2px;
}
a.eq-stat.eq-stat--link.eq-stat--navy,
a.eq-stat.eq-stat--link.eq-stat--navy:visited { background: var(--eq-sidebar, #35495A); color: #fff; }
a.eq-stat.eq-stat--link.eq-stat--teal,
a.eq-stat.eq-stat--link.eq-stat--teal:visited { background: var(--eq-brand, #41b2d9); color: #fff; }
a.eq-stat.eq-stat--link.eq-stat--gold,
a.eq-stat.eq-stat--link.eq-stat--gold:visited { background: #3d7a96; color: #fff; }
a.eq-stat.eq-stat--link.eq-stat--green,
a.eq-stat.eq-stat--link.eq-stat--green:visited { background: var(--eq-brand, #41b2d9); color: #fff; }
a.eq-stat.eq-stat--link.eq-stat--red,
a.eq-stat.eq-stat--link.eq-stat--red:visited { background: #c45c5c; color: #fff; }
a.eq-stat.eq-stat--link.eq-stat--orange,
a.eq-stat.eq-stat--link.eq-stat--orange:visited { background: #3d7a96; color: #fff; }
a.eq-stat.eq-stat--link.eq-stat--purple,
a.eq-stat.eq-stat--link.eq-stat--purple:visited { background: var(--eq-sidebar, #35495A); color: #fff; }
a.eq-stat.eq-stat--link.eq-stat--paper,
a.eq-stat.eq-stat--link.eq-stat--paper:visited {
    background: #fff;
    color: #1a4554;
    border: 1px solid #d5e4ec;
    box-shadow: 0 10px 22px rgba(53, 73, 90, 0.08);
}
a.eq-stat.eq-stat--link.eq-stat--paper:focus-visible {
    outline-color: #41b2d9;
}
.eq-stat__ico {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.7rem;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.22);
    flex: 0 0 auto;
}
.eq-stat__ico .sh-icon {
    width: 1.2rem;
    height: 1.2rem;
}
.eq-stats--dash .eq-stat--navy,
.eq-stats--page .eq-stat--navy,
.eq-stat--navy { background: var(--eq-sidebar, #35495A); color: #fff; }
.eq-stats--dash .eq-stat--teal,
.eq-stats--page .eq-stat--teal,
.eq-stat--teal { background: var(--eq-brand, #41b2d9); color: #fff; }
.eq-stats--dash .eq-stat--gold,
.eq-stats--page .eq-stat--gold,
.eq-stat--gold { background: #3d7a96; color: #fff; }
.eq-stats--dash .eq-stat--green,
.eq-stats--page .eq-stat--green,
.eq-stat--green { background: var(--eq-brand, #41b2d9); color: #fff; }
.eq-stats--dash .eq-stat--red,
.eq-stats--page .eq-stat--red,
.eq-stat--red { background: #c45c5c; color: #fff; }
.eq-stats--dash .eq-stat--orange,
.eq-stats--page .eq-stat--orange,
.eq-stat--orange { background: #3d7a96; color: #fff; }
.eq-stats--dash .eq-stat--purple,
.eq-stats--page .eq-stat--purple,
.eq-stat--purple { background: var(--eq-sidebar, #35495A); color: #fff; }
.eq-stats--dash .eq-stat--paper,
.eq-stats--page .eq-stat--paper,
.eq-stat--paper {
    background: #fff;
    color: #1a4554;
    border: 1px solid #d5e4ec;
}
.eq-stat--paper .eq-stat__ico {
    background: color-mix(in srgb, #41b2d9 16%, #fff);
    color: #1b86ab;
}
.eq-ged__thumb {
    width: 3.15rem;
    height: 3.15rem;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #41b2d9;
    background: #eef2f5;
}
.eq-ged__list {
    display: grid;
    gap: 0.45rem;
    margin: 0.6rem 0;
}
.eq-ged-customs {
    display: grid;
    gap: 0.65rem;
}
.eq-ged-custom {
    display: grid;
    gap: 0.4rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid #d7e3ea;
    border-radius: 0.75rem;
    background: #fbfcfd;
}
.eq-ged-custom__flags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    align-items: center;
}
.eq-ged-custom__name label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.eq-ged__item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.6rem;
    background: #f6f9fb;
    border-radius: 0.65rem;
    font-size: 0.86rem;
}
.eq-profile__face {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.eq-row__face--sil {
    color: #35495A;
    background: #dce7ee;
}
.eq-row__face--sil .eq-avatar__sil {
    width: 1.15rem;
    height: 1.15rem;
}
.eq-quran__bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: end;
    margin-bottom: 0.85rem;
}
.eq-quran__reciter {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-weight: 700;
    font-size: 0.82rem;
    min-width: 12rem;
}
.eq-quran__player {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: #35495A;
    color: #fff;
    border-radius: 0.9rem;
    padding: 0.85rem 1rem;
    margin-bottom: 0.85rem;
}
.eq-quran__player audio {
    width: 100%;
}
.eq-quran__text {
    background: #f4f7f9;
    border: 1px solid #d5e4ec;
    border-radius: 0.9rem;
    padding: 0.85rem 1rem;
    margin-bottom: 0.85rem;
    max-height: 18rem;
    overflow: auto;
}
.eq-ayah {
    font-family: "Amiri", serif;
    font-size: 1.28rem;
    line-height: 2;
    margin: 0 0 0.35rem;
}
.eq-ayah__n {
    display: inline-grid;
    place-items: center;
    min-width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    background: #41b2d9;
    color: #fff;
    font-size: 0.72rem;
    font-family: inherit;
    font-weight: 800;
    margin-inline-end: 0.35rem;
}
.eq-quran__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
    gap: 0.55rem;
}
.eq-surah {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    text-align: start;
    background: #fff;
    border: 1px solid #d5e4ec;
    border-radius: 0.85rem;
    padding: 0.7rem 0.8rem;
    cursor: pointer;
    font: inherit;
    color: #35495A;
}
.eq-surah:hover,
.eq-surah.is-on {
    border-color: #41b2d9;
    background: #eef7fb;
}
.eq-surah__n {
    font-size: 0.72rem;
    font-weight: 800;
    color: #41b2d9;
}
.eq-surah__name {
    font-weight: 800;
    font-size: 1rem;
}
.eq-surah__ayahs {
    font-size: 0.72rem;
    color: var(--eq-muted);
}

.eq-mushaf__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    align-items: flex-end;
}
.eq-pick-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1 1 9rem;
    min-width: 8.5rem;
}
.eq-pick-field--wide {
    flex: 1.4 1 14rem;
}
.eq-pick__caption {
    font-weight: 700;
    font-size: 0.82rem;
    color: #35495A;
}
.eq-pick {
    position: relative;
}
.eq-pick__btn {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 2.55rem;
    padding: 0.45rem 0.75rem 0.45rem 2.15rem;
    border: 1px solid #d7e3ea;
    border-radius: 0.75rem;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2335495A' d='M1.2 1.3 6 6.1l4.8-4.8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0.7rem center;
    background-size: 0.7rem;
    text-align: start;
    font: inherit;
    font-weight: 700;
    color: #35495A;
    cursor: pointer;
    box-shadow: 0 1px 0 rgba(53, 73, 90, 0.04);
}
html[dir="rtl"] .eq-pick__btn {
    /* Arrow stays on physical left (end of RTL reading). */
    padding: 0.45rem 0.75rem 0.45rem 2.15rem;
    background-position: left 0.7rem center;
}
html[dir="ltr"] .eq-pick__btn {
    padding: 0.45rem 2.15rem 0.45rem 0.75rem;
    background-position: right 0.7rem center;
}
.eq-pick.is-open .eq-pick__btn {
    border-color: #41b2d9;
    box-shadow: 0 0 0 3px rgba(65, 178, 217, 0.2);
}
.eq-pick__value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.eq-pick__panel {
    position: absolute;
    top: calc(100% + 0.35rem);
    inset-inline: 0;
    z-index: 70;
    background: #fff;
    border: 1px solid #dce7ee;
    border-radius: 0.85rem;
    box-shadow: 0 16px 36px rgba(53, 73, 90, 0.16);
    padding: 0.55rem;
    max-height: min(22rem, 60vh);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.eq-pick__panel[hidden] {
    display: none !important;
}
.eq-pick__panel--fixed {
    inset-inline: auto;
    right: auto;
}
.eq-pick__list {
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    max-height: 16rem;
}
.eq-pick__opt {
    display: block;
    width: 100%;
    text-align: start;
    border: 0;
    background: transparent;
    border-radius: 0.55rem;
    padding: 0.5rem 0.65rem;
    font: inherit;
    font-weight: 600;
    color: #35495A;
    cursor: pointer;
}
.eq-pick__opt:hover,
.eq-pick__opt:focus {
    background: #f7fbfd;
}
.eq-pick__opt.is-active {
    background: color-mix(in srgb, #41b2d9 16%, #fff);
    color: #1d6f8c;
}
.eq-pick__select {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: -1px;
}
.eq-profile-card {
    padding: 0.95rem 1.05rem 1rem;
}
.eq-profile-card__hero {
    margin-bottom: 0.95rem;
    background: #f7fbfd;
    grid-column: 1 / -1;
}
.eq-profile-card__preview {
    width: 4.4rem;
    height: 4.4rem;
    flex: 0 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #41b2d9;
    background: #eef2f5;
    display: grid;
    place-items: center;
    position: relative;
}
.eq-profile-card__preview img,
.eq-profile-card__preview [data-eq-photo-preview] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.eq-profile-card__preview .eq-avatar__sil {
    width: 1.8rem;
    height: 1.8rem;
    fill: #35495A;
}
.eq-file {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.eq-file input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    font-size: 4rem;
}
.eq-mushaf__filters form {
    margin: 0;
    flex: 1 1 9rem;
    min-width: 8rem;
}
.eq-mushaf__filters form.eq-mushaf__filters-wide {
    flex: 1.6 1 14rem;
}
.eq-mushaf__filters .eq-pick-field {
    width: 100%;
}
.eq-mushaf__filters label {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-weight: 700;
    font-size: 0.82rem;
    color: #35495A;
    margin: 0;
}
.eq-mushaf__filters .eq-filter__select,
.eq-mushaf__filters select {
    width: 100%;
}
.eq-mushaf .eq-card {
    overflow: hidden;
}
.eq-mushaf .eq-card > .eq-row {
    background: #f7fbfd;
}
.eq-mushaf__stage {
    position: relative;
    display: block;
    background: #f7fbfd;
    border: 1px solid #dce7ee;
    border-radius: 0.8rem;
    padding: 0;
    overflow: hidden;
}
.eq-mushaf__scroll {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100dvh - 18.5rem);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.eq-mushaf__page {
    margin: 0 auto;
    width: min(42rem, 82%);
    background: #fff;
}
.eq-mushaf__page img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
    cursor: pointer;
}
.eq-mushaf__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 2.7rem;
    min-width: 2.7rem;
    height: 2.7rem;
    min-height: 2.7rem;
    border: 0;
    border-radius: 999px;
    background: #41b2d9;
    color: #fff;
    display: grid;
    place-items: center;
    text-decoration: none !important;
    padding: 0;
    box-shadow: 0 6px 16px rgba(53, 73, 90, 0.28);
}
.eq-mushaf__nav svg {
    width: 1.35rem;
    height: 1.35rem;
    display: block;
}
.eq-mushaf__nav--prev {
    inset-inline-start: 0.55rem;
}
.eq-mushaf__nav--next {
    inset-inline-end: 0.55rem;
}
a.eq-mushaf__nav:hover,
a.eq-mushaf__nav:focus {
    background: #5bc0e0;
    color: #fff;
}
.eq-mushaf__nav:disabled,
.eq-mushaf__nav.is-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}
.eq-mushaf__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.75rem;
    padding-bottom: 0.35rem;
}
.eq-mushaf__footer audio {
    flex: 1 1 14rem;
    width: 100%;
}
.eq-stars-card {
    margin-bottom: 1rem;
}
.eq-dash-stars__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 0 0.85rem 0.75rem;
}
.eq-dash-star-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.45rem;
    padding: 1.55rem 0.65rem 0.85rem;
    border: 1px solid #e4eaf0;
    border-radius: 0.75rem;
    background: #fff;
    min-width: 0;
    box-shadow: 0 1px 0 rgba(53, 73, 90, 0.04);
}
.eq-dash-star-card__rank {
    position: absolute;
    top: 0.45rem;
    inset-inline-start: 0.45rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.55rem;
    height: 1.55rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
}
.eq-dash-star-card__rank--1 {
    background: #f0c14b;
    color: #5a4200;
}
.eq-dash-star-card__rank--2 {
    background: #c8d0d8;
    color: #35495A;
}
.eq-dash-star-card__rank--3 {
    background: #d4956a;
    color: #4a3018;
}
.eq-dash-star-card__rank--4 {
    background: #e8eef2;
    color: #35495A;
}
.eq-dash-star-card__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.eq-dash-star-card__star {
    position: absolute;
    top: -0.35rem;
    inset-inline-end: -0.45rem;
    z-index: 2;
    display: inline-flex;
    width: 1.35rem;
    height: 1.35rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff8e6;
    color: #d4a017;
    box-shadow: 0 1px 4px rgba(53, 73, 90, 0.12);
}
.eq-dash-star-card__star .eq-ico {
    width: 0.85rem;
    height: 0.85rem;
    fill: currentColor;
    stroke: none;
}
.eq-dash-star-card--circle {
    border-color: color-mix(in srgb, #41b2d9 35%, #e4eaf0);
    background: color-mix(in srgb, #41b2d9 6%, white);
}
.eq-dash-star-card--ok {
    border-inline-start: 3px solid #41b2d9;
}
.eq-dash-star-card__face {
    width: 3.25rem;
    height: 3.25rem;
}
.eq-dash-star-card__name {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.25;
    color: #35495A;
    word-break: break-word;
}
.eq-dash-star-card .eq-meta-pills {
    justify-content: center;
}
.eq-dash-stars__actions {
    display: flex;
    justify-content: flex-end;
    padding: 0.65rem 0.85rem 0.85rem;
}
@media (max-width: 900px) {
    .eq-mushaf__scroll {
        max-height: calc(100dvh - 22.5rem);
    }
    .eq-mushaf__page {
        width: min(38rem, 90%);
    }
}

/* Public association site â€” full page, never the Moodle login split. */
html:has(body.eq-site) {
    overflow-x: hidden;
}
body.eq-site {
    --eq-site-ink: var(--eq-ink, #1A1F24);
    --eq-site-navy: var(--eq-navy, #35495A);
    --eq-site-teal: var(--eq-brand, #41b2d9);
    --eq-site-paper: var(--eq-paper, #F4F7F9);
    --eq-site-sand: color-mix(in srgb, var(--eq-paper, #F4F7F9) 92%, var(--eq-line, #E4E8EC));
    --eq-site-line: var(--eq-line, #E4E8EC);
    background: transparent !important;
    color: var(--eq-site-ink);
    overflow-x: hidden;
    font-family: "Cairo", Tahoma, sans-serif;
}
body.eq-site .login-layout-left,
body.eq-site .login-layout-left-content,
body.eq-site #page-header,
body.eq-site .navbar,
body.eq-site #page-footer,
body.eq-site .footer-popover,
body.eq-site #usernavigation,
body.eq-site .login-container > h1 {
    display: none !important;
}
body.eq-site #page,
body.eq-site #page-wrapper,
body.eq-site #page-content,
body.eq-site .main-inner,
body.eq-site #topofscroll,
body.eq-site #region-main,
body.eq-site #region-main-box,
body.eq-site .login-wrapper,
body.eq-site .login-container,
body.eq-site .login-layout-right,
body.eq-site .login-layout-right-content,
body.eq-site .schoolapp-page,
body.eq-site .schoolapp-scroll,
body.eq-site .schoolapp-content {
    display: block !important;
    max-width: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    position: static !important;
    flex: none !important;
    float: none !important;
}
body.eq-site #page-content.row,
body.eq-site #page-content.min-vh-100 {
    display: block !important;
    min-height: 0 !important;
}

@keyframes eq-site-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes eq-site-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes eq-site-sheen {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.eq-site-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--eq-site-ink);
    width: 100%;
    max-width: 100%;
    --eq-site-ink: var(--eq-ink, #1A1F24);
    --eq-site-navy: var(--eq-navy, #35495A);
    --eq-site-teal: var(--eq-brand, #41b2d9);
    --eq-site-paper: var(--eq-paper, #F4F7F9);
    --eq-site-sand: color-mix(in srgb, var(--eq-paper, #F4F7F9) 92%, var(--eq-line, #E4E8EC));
    --eq-site-line: var(--eq-line, #E4E8EC);
    background:
        radial-gradient(1200px 520px at 100% -10%, color-mix(in srgb, var(--eq-site-teal) 16%, transparent), transparent 60%),
        radial-gradient(900px 480px at 0% 20%, color-mix(in srgb, var(--eq-site-navy) 8%, transparent), transparent 55%),
        linear-gradient(
            180deg,
            var(--eq-hero-from, #eef4f7) 0%,
            var(--eq-site-paper) 42%,
            var(--eq-hero-to, #e8eef2) 100%
        );
}

/* â€”â€” Header â€”â€” */
.eq-site-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: max(0.7rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) 0.7rem max(1.25rem, env(safe-area-inset-left));
    background: color-mix(in srgb, #fff 88%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid color-mix(in srgb, var(--eq-site-line) 80%, transparent);
    position: sticky;
    top: 0;
    z-index: 40;
    flex-wrap: nowrap;
    box-sizing: border-box;
}
.eq-site-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--eq-site-navy) !important;
    text-decoration: none !important;
    font-weight: 800;
    min-width: 0;
    flex: 0 1 auto;
}
.eq-site-brand img {
    width: 2.75rem;
    height: 2.75rem;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 0.55rem;
}
.eq-site-brand strong {
    display: block;
    font-family: "Amiri", "Cairo", serif;
    font-size: 1.2rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(16rem, 48vw);
}
.eq-site-brand small {
    display: block;
    font-weight: 600;
    font-size: 0.78rem;
    color: #5d7382;
    margin-top: 0.1rem;
}
.eq-site-bar__end {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
}
.eq-site-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.1rem;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    flex: 1 1 auto;
}
.eq-site-nav a {
    color: #3d5361 !important;
    text-decoration: none !important;
    font-weight: 700;
    padding: 0.4rem 0.65rem;
    border-radius: 0.45rem;
    white-space: nowrap;
    font-size: 0.9rem;
    transition: color 0.18s ease, background 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.eq-site-nav__ico {
    display: inline-flex;
    width: 1.05rem;
    height: 1.05rem;
    flex: 0 0 auto;
    opacity: 0.85;
}
.eq-site-nav__ico .sh-icon {
    width: 100%;
    height: 100%;
}
.eq-site-nav a:hover {
    color: var(--eq-site-navy) !important;
    background: color-mix(in srgb, var(--eq-site-teal) 12%, #fff);
}
.eq-site-nav a.is-active {
    color: var(--eq-site-navy) !important;
    background: color-mix(in srgb, var(--eq-site-teal) 18%, #fff);
    box-shadow: inset 0 -2px 0 var(--eq-site-teal);
}
.eq-site-login {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 2.35rem;
    padding: 0.35rem 0.95rem !important;
    border-radius: 0.55rem !important;
    background: var(--eq-site-navy) !important;
    color: #fff !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}
.eq-site-login:hover {
    background: color-mix(in srgb, var(--eq-site-navy) 88%, #000) !important;
}
.eq-site-lang {
    position: relative;
}
.eq-site-lang > summary {
    list-style: none;
    cursor: pointer;
    min-height: 2.35rem;
    min-width: 2.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.3rem 0.65rem;
    border-radius: 0.55rem;
    border: 1px solid var(--eq-site-line);
    background: #fff;
    color: var(--eq-site-navy);
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
}
.eq-site-lang > summary::-webkit-details-marker { display: none; }
.eq-site-lang__menu {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 0.35rem);
    min-width: 11rem;
    max-height: min(60vh, 18rem);
    overflow: auto;
    background: #fff;
    border: 1px solid var(--eq-site-line);
    border-radius: 0.75rem;
    padding: 0.35rem;
    z-index: 50;
    box-shadow: 0 14px 30px rgba(53, 73, 90, 0.14);
}
.eq-site-lang__menu a {
    display: block;
    padding: 0.45rem 0.65rem;
    border-radius: 0.45rem;
    color: var(--eq-site-ink) !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.88rem;
}
.eq-site-lang__menu a.is-active,
.eq-site-lang__menu a:hover {
    background: color-mix(in srgb, var(--eq-site-teal) 14%, #fff);
}
.eq-site-toggle {
    display: none;
    background: #fff;
    color: var(--eq-site-navy);
    border: 1px solid var(--eq-site-line);
    border-radius: 0.55rem;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

/* â€”â€” Hero (full-bleed) â€”â€” */
.eq-site-hero {
    position: relative;
    isolation: isolate;
    color: #fff;
    margin: 0;
    border-radius: 0;
    padding: clamp(2.4rem, 7vw, 5.2rem) 1.25rem clamp(2.2rem, 5vw, 3.6rem);
    text-align: start;
    overflow: hidden;
    background:
        linear-gradient(
            125deg,
            color-mix(in srgb, var(--eq-site-navy) 92%, #000) 0%,
            var(--eq-site-navy) 42%,
            color-mix(in srgb, var(--eq-site-navy) 55%, var(--eq-site-teal)) 78%,
            var(--eq-site-teal) 120%
        );
    background-size: 180% 180%;
    animation: eq-site-sheen 18s ease-in-out infinite alternate;
}
.eq-site-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.12), transparent 42%),
        radial-gradient(circle at 85% 70%, color-mix(in srgb, var(--eq-site-teal) 55%, transparent), transparent 45%),
        repeating-linear-gradient(-18deg, transparent 0 18px, rgba(255, 255, 255, 0.03) 18px 19px);
    z-index: 0;
    pointer-events: none;
}
.eq-site-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
    align-items: center;
    animation: eq-site-rise 0.7s ease both;
}
.eq-site-hero--has-media .eq-site-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}
.eq-site-hero__brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0 0 0.85rem;
}
.eq-site-hero__logo {
    width: 4.25rem;
    height: 4.25rem;
    object-fit: contain;
    margin: 0;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}
.eq-site-hero__brandname {
    font-family: "Amiri", "Cairo", serif;
    font-size: clamp(1.85rem, 4.2vw, 2.85rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
    letter-spacing: 0;
}
.eq-site-kicker {
    display: none;
}
.eq-site-hero h1 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.15rem, 2.4vw, 1.55rem);
    font-family: "Cairo", sans-serif;
    font-weight: 700;
    line-height: 1.45;
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.95);
}
.eq-site-hero .eq-site-lead {
    max-width: 34rem;
    margin: 0 0 1.25rem;
    opacity: 0.92;
    font-size: 1.02rem;
    line-height: 1.7;
    text-align: start;
}
.eq-site-hero .eq-site-video {
    width: 100%;
    margin: 0;
    border-radius: 1rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    animation: eq-site-fade 1s ease 0.15s both;
}
.eq-site-hero__visual {
    min-height: 12rem;
    border-radius: 1.1rem;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 50%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: grid;
    place-items: center;
    padding: 1.5rem;
}
.eq-site-hero__visual-mark {
    font-family: "Amiri", serif;
    font-size: clamp(3rem, 8vw, 5rem);
    opacity: 0.35;
    line-height: 1;
}

.eq-site-actions {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.65rem;
}
.eq-site-wrap .eq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.75rem;
    padding: 0.5rem 1.25rem;
    border-radius: 0.65rem;
    font-weight: 800;
    text-decoration: none !important;
    border: 0;
    background: #fff;
    color: var(--eq-site-navy);
    transition: transform 0.15s ease, background 0.15s ease;
}
.eq-site-wrap .eq-btn .sh-icon,
.eq-site-wrap .eq-btn .eq-ico {
    width: 1.1em;
    height: 1.1em;
    flex: 0 0 auto;
}
.eq-site-wrap .eq-btn:hover {
    transform: translateY(-1px);
}
.eq-site-wrap .eq-btn--primary {
    background: var(--eq-site-teal);
    color: #fff;
}
.eq-site-wrap .eq-btn--ghost {
    background: transparent;
    color: #fff;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
}
.eq-site-wrap .eq-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}
.eq-site-hero .eq-btn--ghost {
    color: #fff;
}

/* â€”â€” Content shell â€”â€” */
.eq-site-main {
    flex: 1;
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 0 0 3.5rem;
    box-sizing: border-box;
}
.eq-site-main--home {
    width: 100%;
    max-width: none;
    padding: 0 0 3.5rem;
}
.eq-site-section {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2.4rem 0 0.5rem;
    animation: eq-site-rise 0.65s ease both;
}
.eq-site-section:nth-of-type(2) { animation-delay: 0.06s; }
.eq-site-section:nth-of-type(3) { animation-delay: 0.12s; }
.eq-site-section__head {
    margin: 0 0 1.25rem;
    max-width: 40rem;
}
.eq-site-section__head h2 {
    margin: 0 0 0.35rem;
    font-family: "Amiri", "Cairo", serif;
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    color: var(--eq-site-navy);
    font-weight: 700;
}
.eq-site-section__head p {
    margin: 0;
    color: #5b6f7c;
    line-height: 1.65;
    font-weight: 600;
}

.eq-site-pagehead {
    padding: 1.75rem 0 0.5rem;
    margin-bottom: 0.5rem;
    animation: eq-site-rise 0.55s ease both;
}
.eq-site-pagehead h1 {
    margin: 0 0 0.45rem;
    font-family: "Amiri", "Cairo", serif;
    font-size: clamp(1.7rem, 3.5vw, 2.35rem);
    color: var(--eq-site-navy);
    font-weight: 700;
}
.eq-site-pagehead .eq-site-lead {
    margin: 0;
    max-width: 40rem;
    text-align: start;
    color: #5b6f7c;
    opacity: 1;
}

.eq-site-lead {
    max-width: 40rem;
    margin: 0 auto 1.1rem;
    opacity: 0.92;
}
.eq-site-video {
    position: relative;
    width: min(100%, 48rem);
    margin: 0.75rem 0 1.25rem;
    aspect-ratio: 16 / 9;
    border-radius: 0.95rem;
    overflow: hidden;
    background: #0f1c24;
}
.eq-site-video iframe,
.eq-site-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #000;
}

/* Story bands (about / goals / vision) â€” not card clutter */
.eq-site-story {
    display: grid;
    gap: 0;
    margin: 0;
}
.eq-site-story__item {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 1rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--eq-site-line);
    align-items: start;
}
.eq-site-story__item:last-child {
    border-bottom: 0;
}
.eq-site-story__index {
    font-family: "Amiri", serif;
    font-size: 2.4rem;
    line-height: 1;
    color: var(--eq-site-teal);
    font-weight: 700;
}
.eq-site-story__item h2,
.eq-site-story__item h3 {
    margin: 0 0 0.4rem;
    color: var(--eq-site-navy);
    font-size: 1.25rem;
}
.eq-site-story__item .eq-prose {
    color: #405664;
    line-height: 1.75;
}

/* About panel — unified home association block */
.eq-site-about {
    display: grid;
    gap: 1.25rem;
    padding: 1.35rem 1.4rem;
    background: #fff;
    border: 1px solid var(--eq-site-line);
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(53, 73, 90, 0.06);
}
.eq-site-about__intro {
    margin: 0;
}
.eq-site-about__story {
    margin: 0;
    background: linear-gradient(180deg, #f6fafc 0%, #fff 100%);
    border: 1px solid #e4ebf0;
    border-radius: 0.85rem;
    padding: 0 1rem;
}
.eq-site-about__story .eq-site-story__item:first-child {
    padding-top: 1rem;
}
.eq-site-about__story .eq-site-story__item:last-child {
    padding-bottom: 1rem;
    border-bottom: 0;
}

/* Halaqat board — aligned groups (boys / girls / mixed) */
.eq-site-halaqat-board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
}
.eq-site-halaqat-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
    padding: 1rem 1.05rem 1.1rem;
    background: linear-gradient(180deg, #f3f9fc 0%, #fff 100%);
    border: 1px solid #dce8ef;
    border-radius: 0.95rem;
}
.eq-site-halaqat-group--full {
    grid-column: 1 / -1;
}
.eq-site-halaqat-group__title {
    margin: 0 0 0.1rem;
}
.eq-site-halaqat-group__list {
    display: grid;
    gap: 0.85rem;
}
.eq-site-halaqat-group__list--grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}
.eq-site-section--halaqat {
    padding-top: 1.75rem;
}
@media (min-width: 768px) {
    .eq-site-about {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
        align-items: start;
        gap: 1.75rem;
    }
}
@media (max-width: 767px) {
    .eq-site-halaqat-board {
        grid-template-columns: 1fr;
    }
}

.eq-site-trio,
.eq-site-grid,
.eq-site-split,
.eq-site-contact {
    display: grid;
    gap: 1rem;
    margin: 0.5rem 0 1.4rem;
}
.eq-site-trio {
    grid-template-columns: 1fr;
}
.eq-site-split {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.eq-site-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.eq-site-col {
    min-width: 0;
    display: grid;
    gap: 0.85rem;
    align-content: start;
}
.eq-site-col > h2,
.eq-site-col > h3 {
    margin: 0;
    color: var(--eq-site-navy);
    font-family: "Amiri", serif;
    font-size: 1.35rem;
}

.eq-site-panel,
.eq-site-card {
    background: color-mix(in srgb, #fff 92%, var(--eq-site-sand));
    border: 1px solid var(--eq-site-line);
    border-radius: 0.85rem;
    padding: 1.15rem 1.2rem;
    min-width: 0;
    position: relative;
    overflow: hidden;
    transition: border-color 0.18s ease, transform 0.18s ease;
}
.eq-site-card::before,
.eq-site-panel.eq-site-panel--accent::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--eq-site-teal);
}
.eq-site-card:hover {
    border-color: color-mix(in srgb, var(--eq-site-teal) 45%, var(--eq-site-line));
    transform: translateY(-2px);
}
.eq-site-card h3,
.eq-site-panel h2 {
    margin: 0 0 0.45rem;
    color: var(--eq-site-navy);
    font-size: 1.1rem;
}
.eq-site-card__meta {
    color: #5b6b75;
    margin: 0 0 0.85rem;
    font-size: 0.9rem;
    font-weight: 600;
}
.eq-site-card__title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
    flex: 1 1 auto;
}
.eq-site-card__title h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.35;
}
.eq-site-card__ico {
    flex: 0 0 auto;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.7rem;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--eq-site-teal) 14%, #fff);
    color: #1f6f8a;
    border: 1px solid color-mix(in srgb, var(--eq-site-teal) 28%, #e4e8ec);
}
.eq-site-card__ico .sh-icon {
    width: 1.15rem;
    height: 1.15rem;
}
.eq-site-card__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 0.85rem;
}
.eq-site-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.65rem;
    border-radius: 999px;
    background: #f0f6fa;
    border: 1px solid #d8e6ef;
    font-size: 0.8rem;
    font-weight: 700;
    color: #4a6270;
    line-height: 1.2;
}
.eq-site-chip__ico {
    display: inline-flex;
    width: 0.95rem;
    height: 0.95rem;
    color: #1f6f8a;
    opacity: 0.92;
}
.eq-site-chip__ico .sh-icon {
    width: 100%;
    height: 100%;
}
.eq-site-card__hint {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0;
    padding: 0.65rem 0.75rem;
    border-radius: 0.65rem;
    background: #fdf3f3;
    border: 1px solid #f5d5d5;
}
.eq-site-card__hint-ico {
    flex: 0 0 auto;
    display: inline-flex;
    width: 1.1rem;
    height: 1.1rem;
    color: #9b1c1c;
    margin-top: 0.1rem;
}
.eq-site-card__hint-ico .sh-icon {
    width: 100%;
    height: 100%;
}
.eq-site-card__hint-txt {
    margin: 0;
    color: #6b4f4f;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.5;
}
.eq-site-pagehead__row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.eq-site-pagehead__ico {
    flex: 0 0 auto;
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--eq-site-teal) 16%, #fff);
    color: #1f6f8a;
    border: 1px solid color-mix(in srgb, var(--eq-site-teal) 30%, #dce8ef);
}
.eq-site-pagehead__ico .sh-icon {
    width: 1.25rem;
    height: 1.25rem;
}
.eq-site-pagehead__row h1 {
    margin: 0;
}
.eq-site-sectitle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0.4rem 0 0.75rem;
}
.eq-site-sectitle__ico,
.eq-site-section__ico {
    display: inline-flex;
    width: 1.35rem;
    height: 1.35rem;
    color: #1f6f8a;
}
.eq-site-section__ico .sh-icon {
    width: 100%;
    height: 100%;
}
.eq-site-sectitle__txt,
.eq-site-section__txt {
    line-height: 1.2;
}
.eq-site-card .eq-btn {
    min-height: 2.35rem;
    font-size: 0.88rem;
}
.eq-site-card .eq-btn--primary {
    width: auto;
}
.eq-site-heading,
.eq-site-main h1 {
    color: var(--eq-site-navy);
    margin: 0 0 0.8rem;
}
.eq-site-sub {
    color: var(--eq-site-navy);
    margin: 0.4rem 0 0.7rem;
    font-family: "Amiri", serif;
}
.eq-site-prose {
    margin-bottom: 1.2rem;
    line-height: 1.75;
    color: #3a4d59;
}
.eq-site-contact {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.eq-site-contact__label {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: #6a7f8c;
    margin-bottom: 0.35rem;
}
.eq-site-form {
    background: #fff;
    border: 1px solid #E4E8EC;
    border-radius: 1.15rem;
    padding: 0;
    max-width: 48rem;
    margin: 0.75rem 0 1.75rem;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(53, 73, 90, 0.08);
    font-family: "Cairo", Tahoma, sans-serif;
}
.eq-site-form--register {
    max-width: 52rem;
}
.eq-site-form__section {
    padding: 1.2rem 1.25rem 1.15rem;
    border-bottom: 1px solid #E4E8EC;
    margin: 0;
    background: #fff;
}
.eq-site-form__section:nth-child(odd) {
    background: #f7f9fb;
}
.eq-site-form__section:first-child {
    padding-top: 1.25rem;
}
.eq-site-form__section:last-of-type {
    border-bottom: 0;
}
.eq-site-form__title {
    margin: 0 0 0.9rem;
    font-family: "Cairo", sans-serif;
    font-size: 0.92rem;
    color: #35495A;
    font-weight: 800;
    padding: 0 0 0.4rem;
    border: 0;
    border-bottom: 1px solid #E4E8EC;
    border-inline-start: 0;
    letter-spacing: 0;
}
.eq-site-form__title::before {
    content: "";
    display: inline-block;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 0.15rem;
    background: #41b2d9;
    margin-inline-end: 0.45rem;
    vertical-align: middle;
}
.eq-site-form__hint {
    margin: -0.45rem 0 0.85rem;
    color: #5A5A5C;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.55;
}
.eq-site-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
}
.eq-site-form__grid--files {
    grid-template-columns: 1fr;
}
.eq-site-form .eq-form__row {
    display: flex;
    flex-direction: column;
    gap: 0.32rem;
    margin: 0;
    min-width: 0;
}
.eq-site-form .eq-form__row--full {
    grid-column: 1 / -1;
}
.eq-site-form .eq-form__row label {
    font-weight: 700;
    font-size: 0.8rem;
    color: #35495A;
}
.eq-site-form .eq-filter__input,
.eq-site-form .eq-filter__select,
.eq-site-form input,
.eq-site-form select,
.eq-site-form textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 2.55rem;
    border: 1px solid #e4e8ec;
    border-radius: 0.7rem;
    padding: 0.45rem 0.75rem;
    background: #fff;
    color: #1A1F24;
    font-family: "Cairo", Tahoma, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 1px 0 rgba(53, 73, 90, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.eq-site-form .eq-site-select,
.eq-site-form select.eq-filter__select {
    appearance: none;
    -webkit-appearance: none;
    padding-inline-start: 2.15rem;
    padding-inline-end: 0.75rem;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2335495A' d='M1.2 1.3 6 6.1l4.8-4.8'/%3E%3C/svg%3E");
    background-position: left 0.7rem center;
    background-size: 0.7rem;
    background-repeat: no-repeat;
    cursor: pointer;
}
html[dir="rtl"] .eq-site-form .eq-site-select,
html[dir="rtl"] .eq-site-form select.eq-filter__select {
    background-position: left 0.7rem center;
    padding-inline-start: 2.15rem;
    padding-inline-end: 0.75rem;
}
html[dir="ltr"] .eq-site-form .eq-site-select,
html[dir="ltr"] .eq-site-form select.eq-filter__select {
    background-position: right 0.7rem center;
    padding-inline-start: 0.75rem;
    padding-inline-end: 2.15rem;
}
.eq-site-form .eq-site-select:hover,
.eq-site-form select.eq-filter__select:hover {
    border-color: color-mix(in srgb, #41b2d9 55%, #e4e8ec);
}
.eq-site-form .eq-site-select option,
.eq-site-form .eq-site-select optgroup {
    font-family: "Cairo", Tahoma, sans-serif;
    font-weight: 600;
}
.eq-site-rolepills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 0.35rem;
    grid-column: 1 / -1;
}
.eq-site-rolepill {
    flex: 1 1 30%;
    min-height: 2.6rem;
    border: 1px solid #d7e3ea;
    border-radius: 999px;
    background: #fff;
    color: #35495A;
    font-family: "Cairo", Tahoma, sans-serif;
    font-weight: 800;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.eq-site-rolepill:hover {
    border-color: #41b2d9;
    color: #1f6f8a;
}
.eq-site-rolepill.is-active {
    background: #41b2d9;
    border-color: #41b2d9;
    color: #fff;
}
.eq-site-form [data-eq-reg-block][hidden] {
    display: none !important;
}
.eq-site-form textarea {
    min-height: 5.25rem;
    resize: vertical;
}
.eq-site-form .eq-filter__input:focus,
.eq-site-form .eq-filter__select:focus,
.eq-site-form input:focus,
.eq-site-form select:focus,
.eq-site-form textarea:focus {
    outline: none;
    border-color: #41b2d9;
    box-shadow: 0 0 0 3px rgba(65, 178, 217, 0.2);
}
.eq-site-form__file {
    padding: 0.55rem !important;
    background: #f7f9fb !important;
    border-style: dashed !important;
    border-color: #cfdce5 !important;
}
.eq-site-form__actions {
    margin: 0;
    padding: 1rem 1.25rem 1.2rem;
    background: #f7f9fb;
    border-top: 1px solid #E4E8EC;
    display: flex;
    justify-content: flex-start;
}
.eq-site-form__actions .eq-btn {
    min-width: 12rem;
    min-height: 2.7rem;
    border-radius: 0.7rem;
    font-family: "Cairo", sans-serif;
    font-weight: 800;
    background: #41b2d9;
    color: #fff;
}
.eq-site-form__actions .eq-btn:hover {
    background: color-mix(in srgb, #41b2d9 88%, #35495A);
}
.eq-site-contact__card strong,
.eq-site-contact__value {
    font-size: 1.02rem;
    word-break: break-word;
}
.eq-site-contact__value a,
.eq-site-contact__card a {
    color: #35495A !important;
    text-decoration: none !important;
    font-weight: 800;
    border-bottom: 1px solid color-mix(in srgb, #41b2d9 55%, transparent);
}
.eq-site-contact__value a:hover,
.eq-site-contact__card a:hover {
    color: #41b2d9 !important;
}
@media (max-width: 720px) {
    .eq-site-form__grid {
        grid-template-columns: 1fr;
    }
    .eq-site-form {
        max-width: 100%;
    }
    .eq-site-form__section {
        padding: 1rem 0.95rem;
    }
    .eq-site-form .eq-filter__input,
    .eq-site-form .eq-filter__select,
    .eq-site-form input,
    .eq-site-form select,
    .eq-site-form textarea {
        font-size: 16px;
        min-height: 2.75rem;
    }
    .eq-site-form__actions {
        padding: 0.9rem 0.95rem 1.05rem;
    }
    .eq-site-form__actions .eq-btn {
        width: 100%;
    }
}

.eq-site-foot {
    background:
        linear-gradient(
            160deg,
            color-mix(in srgb, var(--eq-site-navy) 95%, #000) 0%,
            var(--eq-site-navy) 55%,
            color-mix(in srgb, var(--eq-site-navy) 70%, var(--eq-site-teal)) 100%
        );
    color: #fff;
    padding: 2.4rem max(1.3rem, env(safe-area-inset-right)) max(1.5rem, env(safe-area-inset-bottom)) max(1.3rem, env(safe-area-inset-left));
    display: grid;
    gap: 1.25rem;
    margin-top: auto;
    border-top: 3px solid var(--eq-site-teal);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.eq-site-foot__grid {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.35fr 1fr 1.15fr;
    gap: 1.75rem;
    align-items: start;
}
.eq-site-foot__brand {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}
.eq-site-foot__logo {
    width: 3.6rem;
    height: 3.6rem;
    object-fit: contain;
    flex: 0 0 auto;
    border-radius: 0.65rem;
    background: #fff;
    padding: 0.35rem;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 8px 20px rgba(0, 0, 0, 0.18);
}
.eq-site-foot__col h3 {
    margin: 0 0 0.65rem;
    font-family: "Cairo", sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
    color: #9fd4e8;
    text-transform: none;
}
.eq-site-foot strong {
    font-family: "Amiri", "Cairo", serif;
    font-size: 1.35rem;
    display: block;
    margin-bottom: 0.35rem;
}
.eq-site-foot p {
    margin: 0;
    opacity: 0.88;
    line-height: 1.55;
}
.eq-site-foot__note {
    margin: 0.45rem 0 0;
    opacity: 0.8;
    font-size: 0.88rem;
}
.eq-site-foot__links,
.eq-site-foot__contact {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.eq-site-foot__links a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}
.eq-site-foot__ico {
    display: inline-flex;
    width: 1.05em;
    height: 1.05em;
    flex: 0 0 auto;
    opacity: 0.9;
}
.eq-site-foot__ico .sh-icon {
    width: 100%;
    height: 100%;
}
.eq-site-foot a {
    color: #cfeaf5 !important;
    text-decoration: none !important;
    font-weight: 700;
}
.eq-site-foot a:hover {
    color: #fff !important;
}
.eq-site-foot__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
}
.eq-site-foot__cta .eq-btn {
    min-height: 2.35rem;
    padding: 0.35rem 0.9rem;
    font-size: 0.88rem;
}
.eq-site-foot__cta .eq-btn--ghost {
    color: #fff !important;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45);
    background: transparent;
}
.eq-site-social--foot {
    width: min(1120px, 100%);
    margin: 0 auto;
}
.eq-site-actions--page {
    justify-content: flex-start;
    margin: 1rem 0 1.5rem;
}
.eq-site-actions--page .eq-btn--primary {
    background: var(--eq-site-teal, #41b2d9);
    color: #fff;
}
.eq-modal--site .eq-modal__panel {
    width: min(820px, 100%);
    max-height: min(94dvh, 920px);
}
.eq-modal--site .eq-site-form {
    margin: 0;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    max-width: none;
}
.eq-modal--site .eq-modal__body {
    padding: 0;
    overflow: auto;
}
.eq-modal--site .eq-pick__panel--fixed {
    z-index: 10060;
}
.eq-pub-form.eq-form--modal {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: linear-gradient(180deg, #e3eef5 0%, #eef4f8 42%, #f6f9fb 100%);
    grid-template-columns: 1fr;
}
.eq-pub-form__stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.85rem 1rem 0.5rem;
}
.eq-pub-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 0.85rem;
}
.eq-pub-form__grid--files {
    grid-template-columns: 1fr;
}
.eq-pub-form__row--full {
    grid-column: 1 / -1;
}
.eq-pub-form__note {
    margin: 0.5rem 0 0;
    font-size: 0.84rem;
    line-height: 1.55;
    color: #5a6f7c;
    font-weight: 600;
}
.eq-pub-form__foot {
    margin-top: 0.15rem;
    padding: 0.85rem 1rem 1rem;
    background: linear-gradient(180deg, #f4f8fb 0%, #fff 100%);
    border-top: 1px solid #dce8ef;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.eq-pub-form__actions.eq-modal__actions {
    margin: 0;
    padding: 0.65rem 0 0;
    border-top: 1px solid #e4ebf0;
    justify-content: flex-end;
    position: static;
}
.eq-modal--site .eq-pub-form__step {
    margin: 0;
}
.eq-modal--site .eq-pub-form__step[hidden],
.eq-pub-form [data-eq-reg-block][hidden] {
    display: none !important;
}
.eq-pub-form .eq-site-rolepills {
    margin: 0;
}
.eq-pub-form .eq-legal-consent {
    margin: 0;
    grid-column: auto;
}
@media (max-width: 640px) {
    .eq-pub-form__grid {
        grid-template-columns: 1fr;
    }
    .eq-pub-form__actions .eq-btn {
        flex: 1 1 auto;
        min-width: 0;
    }
}
html.eq-modal-lock,
html.eq-modal-lock body {
    overflow: hidden;
}
.eq-site-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}
.eq-site-social a {
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 0.45rem;
    font-size: 0.85rem;
}
.eq-site-copy {
    width: min(1120px, 100%);
    margin: 0.4rem auto 0;
    opacity: 0.7;
    font-size: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.eq-site-donate__howto {
    margin-bottom: 1rem;
}
.eq-site-donate__title {
    margin: 0 0 0.55rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--eq-site-navy, #35495A);
}
.eq-site-donate__rib {
    display: block;
    margin-top: 0.35rem;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    word-break: break-all;
}
.eq-site-donate__hint {
    margin: 0.55rem 0 0;
    opacity: 0.85;
    font-size: 0.9rem;
}
.eq-site-donate__contacts {
    margin-top: 0.35rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
}
.eq-busy {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: grid;
    place-items: center;
    background: rgba(26, 36, 44, 0.42);
    backdrop-filter: blur(2px);
}
.eq-busy[hidden] {
    display: none !important;
}
.eq-busy__panel {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1.25rem;
    border-radius: 0.9rem;
    background: #fff;
    color: #35495A;
    font-weight: 800;
    box-shadow: 0 18px 40px rgba(15, 23, 32, 0.28);
}
.eq-busy__spin {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    border: 2.5px solid #cfeaf5;
    border-top-color: #41b2d9;
    animation: eq-busy-spin 0.7s linear infinite;
}
@keyframes eq-busy-spin {
    to { transform: rotate(360deg); }
}
html.eq-busy-on,
html.eq-busy-on body {
    cursor: progress;
}
html.eq-busy-boot::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 10049;
    background: rgba(26, 36, 44, 0.42);
    backdrop-filter: blur(2px);
    pointer-events: all;
}
html.eq-busy-boot #eq-busy {
    display: grid !important;
}
html.eq-busy-boot #eq-busy[hidden] {
    display: grid !important;
}

@media (max-width: 1100px) {
    .eq-site-toggle {
        display: inline-flex;
    }
    .eq-site-nav {
        display: none;
        position: absolute;
        inset-inline: 0.65rem;
        top: calc(100% + 0.35rem);
        background: #fff;
        border: 1px solid var(--eq-site-line);
        border-radius: 0.9rem;
        padding: 0.7rem;
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        box-shadow: 0 16px 36px rgba(26, 36, 44, 0.18);
        z-index: 50;
        max-height: min(70dvh, calc(100dvh - 5.5rem));
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    .eq-site-nav.is-open {
        display: flex;
    }
    .eq-site-nav a {
        padding: 0.75rem 0.8rem;
        min-height: 2.75rem;
        display: flex;
        align-items: center;
        white-space: normal;
        color: var(--eq-site-ink) !important;
    }
    .eq-site-wrap.is-nav-open::after {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 32, 0.35);
        z-index: 35;
    }
    html:has(.eq-site-wrap.is-nav-open) {
        overflow: hidden;
    }
    .eq-site-hero--has-media .eq-site-hero__inner {
        grid-template-columns: 1fr;
    }
    .eq-site-foot__grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 599px) {
    .eq-site-brand small {
        display: none;
    }
    .eq-site-brand img {
        width: 2.35rem;
        height: 2.35rem;
    }
    .eq-site-main,
    .eq-site-section {
        width: calc(100% - 1.2rem);
    }
    .eq-site-hero {
        padding: 1.8rem 1rem 1.6rem;
    }
    .eq-site-hero__logo {
        width: 3.4rem;
        height: 3.4rem;
    }
    .eq-site-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .eq-site-wrap .eq-btn {
        width: 100%;
        min-height: 2.85rem;
    }
    .eq-site-story__item {
        grid-template-columns: 3.2rem minmax(0, 1fr);
        gap: 0.65rem;
    }
    .eq-site-form {
        max-width: 100%;
        padding: 1rem 0.9rem;
    }
    .eq-site-form .eq-filter__input,
    .eq-site-form .eq-filter__select,
    .eq-site-form input,
    .eq-site-form select,
    .eq-site-form textarea {
        font-size: 16px;
        min-height: 2.75rem;
    }
}
@media (min-width: 600px) and (max-width: 1100px) {
    .eq-site-main,
    .eq-site-section {
        width: min(920px, calc(100% - 1.6rem));
    }
}

@media (prefers-reduced-motion: reduce) {
    .eq-site-hero,
    .eq-site-hero__inner,
    .eq-site-section,
    .eq-site-pagehead,
    .eq-site-hero .eq-site-video {
        animation: none !important;
    }
}

.eq-lang {
    position: relative;
}
.eq-lang > summary {
    list-style: none;
}
.eq-lang > summary::-webkit-details-marker {
    display: none;
}
.eq-lang__menu {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 0.35rem);
    min-width: 12rem;
    max-height: min(70vh, 22rem);
    overflow: auto;
    background: #fff;
    border: 1px solid #d5e0e7;
    border-radius: 0.8rem;
    padding: 0.35rem;
    z-index: 40;
    box-shadow: 0 10px 24px rgba(53, 73, 90, 0.16);
}
.eq-lang__item {
    display: block;
    padding: 0.4rem 0.6rem;
    border-radius: 0.5rem;
    color: #35495A !important;
    text-decoration: none !important;
}
.eq-lang__item.is-active,
.eq-lang__item:hover {
    background: #e8f5fb;
}
.eq-help {
    position: fixed;
    inset-inline-end: 1.05rem;
    bottom: 5.35rem;
    z-index: 96;
}
.eq-help > summary {
    list-style: none;
}
.eq-help > summary::-webkit-details-marker,
.eq-help > summary::marker,
.eq-help__fab::-webkit-details-marker,
.eq-help__fab::marker {
    display: none;
    content: none;
}
.eq-help__fab {
    width: 3.35rem;
    height: 3.35rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #35495A;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 22px rgba(53, 73, 90, 0.28);
    cursor: pointer;
    line-height: 0;
    appearance: none;
}
.eq-help__fab-ico {
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    fill: currentColor;
}
.eq-help[open] > .eq-help__fab {
    visibility: hidden;
    pointer-events: none;
}
.eq-help__scrim {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(28, 36, 44, 0.42);
    z-index: 97;
    cursor: pointer;
}
.eq-help[open] > .eq-help__scrim {
    display: block;
}
.eq-help__sheet {
    display: none;
    position: fixed;
    z-index: 98;
    inset-inline: 0.65rem;
    top: 0.65rem;
    bottom: 4.55rem;
    max-height: calc(100vh - 5.2rem);
    background: #f3f6f8;
    border-radius: 1.2rem;
    box-shadow: 0 22px 48px rgba(53, 73, 90, 0.28);
    overflow: auto;
    flex-direction: column;
}
.eq-help[open] > .eq-help__sheet {
    display: flex;
}
.eq-help__hero {
    background: linear-gradient(165deg, #2c3c4a 0%, #35495A 58%, #4d677a 100%);
    color: #fff;
    padding: 1.05rem 1.1rem 1.65rem;
    border-radius: 1.2rem 1.2rem 0 0;
    position: relative;
}
.eq-help__close {
    position: absolute;
    inset-inline-start: 0.7rem;
    top: 0.7rem;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 6;
    pointer-events: auto;
}
.eq-help__brand {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 800;
}
.eq-help__logo {
    width: 2.35rem;
    height: 2.35rem;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #c5cdd4;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.28);
}
.eq-help__hello {
    margin: 1.15rem 0 0;
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.45;
}
.eq-help__contact {
    margin: -0.85rem 0.85rem 0.55rem;
    background: #fff;
    border-radius: 0.95rem;
    padding: 0.95rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    box-shadow: 0 10px 24px rgba(53, 73, 90, 0.14);
    text-decoration: none !important;
    color: #35495A !important;
    position: relative;
    z-index: 1;
}
.eq-help__contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    min-width: 0;
}
.eq-help__contact-text small {
    color: #6b7b85;
    font-weight: 500;
}
.eq-help__alt {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.8rem;
    margin: 0 1.1rem 0.55rem;
    font-size: 0.86rem;
    font-weight: 700;
}
.eq-help__alt a {
    color: #35495A !important;
}
.eq-help__guide {
    margin: 0.2rem 0.85rem 1rem;
    background: #fff;
    border: 1px solid #e6eef2;
    border-radius: 0.95rem;
    overflow: hidden;
}
.eq-help__search {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.75rem 0.9rem 0.55rem;
    border-bottom: 1px solid #eef2f5;
    color: #35495A;
    font-weight: 800;
    font-size: 0.92rem;
}
.eq-help__search input {
    border: 0;
    background: #f4f7f9;
    border-radius: 0.65rem;
    padding: 0.48rem 0.7rem;
    width: 100%;
    color: #35495A;
}
.eq-help__topic {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.85rem 0.95rem;
    border-top: 1px solid #f0f3f5;
    color: #35495A !important;
    text-decoration: none !important;
    font-weight: 700;
}
.eq-help__chev {
    width: 1.05rem;
    height: 1.05rem;
    color: #8aa0ad;
    flex: 0 0 auto;
}
html[dir="ltr"] .eq-help__chev {
    transform: scaleX(-1);
}
@media (min-width: 720px) {
    .eq-help__sheet {
        inset-inline-end: 1.15rem;
        inset-inline-start: auto;
        top: auto;
        bottom: 5.5rem;
        width: 22.8rem;
        max-height: min(38rem, calc(100vh - 6.8rem));
    }
}
@media print {
    .eq-topbar,
    .eq-sidebar,
    .eq-bottom,
    .eq-help,
    .eq-toolbar,
    .eq-filter,
    .eq-row__actions,
    .eq-headbtn {
        display: none !important;
    }
}

/* Presence: photo + pill as one block (not a floating overlay) */
.eq-hero__photo,
.eq-presence {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    flex: 0 0 auto;
    overflow: visible;
    line-height: normal;
}
.eq-presence__face {
    position: relative;
    display: block;
    flex: 0 0 auto;
    line-height: 0;
}
.eq-presence__dot {
    position: absolute;
    inset-inline-end: 0.05rem;
    bottom: 0.08rem;
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 50%;
    background: #16a34a;
    border: 2px solid #fff;
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55);
    animation: eq-online-pulse 1.8s ease-out infinite;
    z-index: 2;
    pointer-events: none;
}
.eq-hero__mark .eq-presence__dot {
    display: none;
}
.eq-hero__online,
.eq-presence__tag {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    width: max-content;
    margin-top: 0.2rem;
    background: #16a34a;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.01em;
    padding: 0.16rem 0.42rem 0.16rem 0.3rem;
    border-radius: 999px;
    border: 2px solid #fff;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.38);
    pointer-events: none;
}
.eq-hero__online::before,
.eq-presence__tag::before {
    content: "";
    width: 0.42rem;
    height: 0.42rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #bbf7d0;
}
.eq-hero__online {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem 0.2rem 0.36rem;
    margin-top: 0.22rem;
}
.eq-topbar .eq-presence .eq-avatar {
    overflow: hidden;
    background: #fff;
}
.eq-topbar .eq-presence {
    margin-inline-end: 0.15rem;
    padding-bottom: 0;
}
.eq-help__online {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    margin-inline-start: 0.35rem;
    background: #16a34a;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.16rem 0.48rem 0.16rem 0.34rem;
    border-radius: 999px;
    vertical-align: middle;
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.eq-help__online::before {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: #bbf7d0;
    animation: eq-online-pulse 1.8s ease-out infinite;
}
@keyframes eq-online-pulse {
    0% { box-shadow: 0 0 0 0 rgba(187, 247, 208, 0.75); }
    70% { box-shadow: 0 0 0 0.35rem rgba(187, 247, 208, 0); }
    100% { box-shadow: 0 0 0 0 rgba(187, 247, 208, 0); }
}
.eq-chat__voice {
    background: #25d366 !important;
    color: #fff !important;
    border-color: #1fb855 !important;
}
.eq-chat__mic {
    width: 1.28rem;
    height: 1.28rem;
    display: block;
}
.eq-app .eq-topbar {
    /* keep light topbar; night light is an overlay, not a dark theme */
}
.eq-headbtn__ico--sun,
.eq-headbtn__ico--sun {
    display: none;
    fill: none;
    stroke: currentColor;
}
.eq-app.eq-night .eq-headbtn__ico--moon,
.eq-app.eq-night .eq-headbtn__ico--moon,
html.eq-night .eq-app .eq-headbtn__ico--moon,
html.eq-night .eq-app .eq-headbtn__ico--moon {
    display: none;
}
.eq-app.eq-night .eq-headbtn__ico--sun,
.eq-app.eq-night .eq-headbtn__ico--sun,
html.eq-night .eq-app .eq-headbtn__ico--sun,
html.eq-night .eq-app .eq-headbtn__ico--sun {
    display: block;
    fill: none;
    stroke: currentColor;
}
.eq-app.eq-night .eq-headbtn__ico--moon,
html.eq-night .eq-app .eq-headbtn__ico--moon {
    display: none;
}
.eq-app.eq-night .eq-headbtn__ico--sun,
html.eq-night .eq-app .eq-headbtn__ico--sun {
    display: block;
    fill: none;
    stroke: currentColor;
}
.eq-chat__audio,
.eq-chat__audio {
    display: block;
    width: min(16rem, 100%);
    margin-top: 0.35rem;
}
.eq-chat__audio--preview {
    width: min(18rem, 100%);
    margin: 0.1rem 0 0;
}
.eq-chat__voice.is-recording,
.eq-chat__voice.is-recording {
    background: #c0392b;
    color: #fff;
    border-color: #c0392b;
    animation: eq-pulse 1s ease-in-out infinite;
}
.eq-app.eq-night .eq-headbtn__ico--moon,
html.eq-night .eq-app .eq-headbtn__ico--moon {
    display: none;
}
.eq-app.eq-night .eq-headbtn__ico--sun,
html.eq-night .eq-app .eq-headbtn__ico--sun {
    display: block;
}
.eq-account__langs-list {
    max-height: 14rem;
    overflow: auto;
}
.eq-wa__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem 0.55rem;
    background: #f7fafc;
    border-bottom: 1px solid #eef2f5;
    position: relative;
    z-index: 3;
    pointer-events: auto;
}
.eq-wa__chip {
    border: 1px solid #d5e0e7;
    background: #fff;
    color: #35495A;
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    z-index: 3;
    pointer-events: auto;
}
.eq-wa__chip.is-active {
    background: #35495A;
    color: #fff;
    border-color: #35495A;
}
.eq-wa__starform {
    display: grid;
    place-items: center;
    align-self: stretch;
}
.eq-wa__star {
    border: 0;
    background: transparent;
    color: #c5a059;
    cursor: pointer;
    padding: 0.35rem;
    opacity: 0.45;
}
.eq-wa__star.is-on,
.eq-wa__item.is-starred .eq-wa__star {
    opacity: 1;
}
.eq-wa__starico {
    width: 1.1rem;
    height: 1.1rem;
    fill: currentColor;
    display: block;
}
.eq-chat__audio {
    display: block;
    width: min(16rem, 100%);
    margin-top: 0.35rem;
}
.eq-chat__voice.is-recording {
    background: #c0392b;
    color: #fff;
    border-color: #c0392b;
    animation: eq-pulse 1s ease-in-out infinite;
}
@keyframes eq-pulse {
    50% { opacity: 0.65; }
}

/* Night light overlay replaces the old dark theme. */

.eq-wa__chip.is-active {
    background: #35495A;
    color: #fff;
    border-color: #35495A;
}
.eq-chat__voice {
    background: #25d366 !important;
    color: #fff !important;
    border-color: #1fb855 !important;
}

/* Account menu + night mode click targets */
button.eq-hero__photo,
button.eq-presence.eq-account__toggle {
    appearance: none;
    -webkit-appearance: none;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
    line-height: normal;
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
    overflow: visible;
    position: relative;
    z-index: 4;
}
.eq-topbar button.eq-presence.eq-account__toggle {
    padding-bottom: 0;
}
.eq-hero__online,
.eq-presence__tag {
    pointer-events: none !important;
}
.eq-account__menu[hidden] {
    display: none !important;
}
.eq-account.is-open .eq-account__menu,
.eq-account__menu.is-open {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    top: calc(100% + 0.5rem) !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    width: 18.5rem !important;
    min-width: 16.5rem;
    max-width: calc(100vw - 1.5rem);
    max-height: min(28rem, calc(100vh - 5.5rem));
    overflow: auto;
    z-index: 80 !important;
    background: #fff !important;
    color: #35495A !important;
    box-shadow: 0 18px 40px rgba(53, 73, 90, 0.18);
}
html[dir="ltr"] .eq-account.is-open .eq-account__menu,
html[dir="ltr"] .eq-account__menu.is-open {
    left: auto !important;
    right: 0 !important;
}
.eq-account__menu.is-open .eq-account__list,
.eq-account.is-open .eq-account__list {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    gap: 0.15rem;
}
.eq-account__menu.is-open .eq-account__item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 2.45rem;
}
.eq-account__label {
    display: block !important;
    flex: 1 1 auto !important;
    color: #35495A !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    white-space: nowrap;
    overflow: visible !important;
}
.eq-topbar,
.eq-topbar__actions,
.eq-account {
    overflow: visible !important;
}

/* Windows-style night light: warm amber, not a dark theme */
#eq-night-filter {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    pointer-events: none;
    background: #ff9a3c;
    opacity: 0.34;
    mix-blend-mode: multiply;
}
#eq-night-filter[hidden] {
    display: none !important;
}

/* Theme button icons: light=moon, night=sun, dark=contrast */
.eq-headbtn__ico--sun,
.eq-headbtn__ico--contrast {
    display: none;
    fill: none;
    stroke: currentColor;
}
html.eq-night .eq-headbtn--night .eq-headbtn__ico--moon,
.eq-app.eq-night .eq-headbtn--night .eq-headbtn__ico--moon {
    display: none;
}
html.eq-night .eq-headbtn--night .eq-headbtn__ico--sun,
.eq-app.eq-night .eq-headbtn--night .eq-headbtn__ico--sun {
    display: block;
    fill: none;
    stroke: currentColor;
}
html.eq-dark .eq-headbtn--night .eq-headbtn__ico--moon,
html.eq-dark .eq-headbtn--night .eq-headbtn__ico--sun,
.eq-app.eq-dark .eq-headbtn--night .eq-headbtn__ico--moon,
.eq-app.eq-dark .eq-headbtn--night .eq-headbtn__ico--sun {
    display: none;
}
html.eq-dark .eq-headbtn--night .eq-headbtn__ico--contrast,
.eq-app.eq-dark .eq-headbtn--night .eq-headbtn__ico--contrast {
    display: block;
}
body.eq-skin .eq-app .eq-topbar .eq-headbtn--night .eq-headbtn__ico--sun,
body.eq-skin .eq-app .eq-topbar .eq-headbtn--night .eq-headbtn__ico--contrast {
    display: none !important;
}
html.eq-night body.eq-skin .eq-app .eq-topbar .eq-headbtn--night .eq-headbtn__ico--moon,
body.eq-skin.eq-night .eq-app .eq-topbar .eq-headbtn--night .eq-headbtn__ico--moon {
    display: none !important;
}
html.eq-night body.eq-skin .eq-app .eq-topbar .eq-headbtn--night .eq-headbtn__ico--sun,
body.eq-skin.eq-night .eq-app .eq-topbar .eq-headbtn--night .eq-headbtn__ico--sun {
    display: block !important;
    fill: none !important;
    stroke: currentColor !important;
}
html.eq-dark body.eq-skin .eq-app .eq-topbar .eq-headbtn--night .eq-headbtn__ico--contrast,
body.eq-skin.eq-dark .eq-app .eq-topbar .eq-headbtn--night .eq-headbtn__ico--contrast {
    display: block !important;
}

/* Dark theme — full UI adaptation (not just background) */
html.eq-dark,
body.eq-dark {
    color-scheme: dark;
    --eq-ink: #e8eaed !important;
    --eq-muted: #9aa0a6 !important;
    --eq-line: #3c4043 !important;
    --eq-paper: #121212 !important;
    --eq-card: #1e1e1e !important;
    --eq-hero-from: #1a2332 !important;
    --eq-hero-mid: #152028 !important;
    --eq-hero-to: #0f1419 !important;
    --eq-hero-ink: #e8eaed !important;
    --eq-hero-muted: #9aa0a6 !important;
    --eq-site-ink: #e8eaed !important;
    --eq-site-paper: #121212 !important;
    --eq-site-line: #3c4043 !important;
}
html.eq-dark .eq-app.eq-dark {
    --eq-ink: #e8eaed !important;
    --eq-muted: #9aa0a6 !important;
    --eq-line: #3c4043 !important;
    --eq-paper: #121212 !important;
    --eq-card: #1e1e1e !important;
    --eq-hero-from: #1a2332 !important;
    --eq-hero-mid: #152028 !important;
    --eq-hero-to: #0f1419 !important;
    --eq-hero-ink: #e8eaed !important;
    --eq-hero-muted: #9aa0a6 !important;
    --eq-site-ink: #e8eaed !important;
    --eq-site-paper: #121212 !important;
    --eq-site-line: #3c4043 !important;
    color: var(--eq-ink);
}
body.eq-dark.eq-skin,
body.eq-dark.path-local-schoolhub,
body.eq-dark.pagelayout-schoolapp {
    background: var(--eq-paper) !important;
    color: var(--eq-ink);
}
html.eq-dark #eq-night-filter {
    display: none !important;
}

/* Shell */
html.eq-dark .eq-app .eq-topbar {
    background: var(--eq-card);
    border-bottom-color: var(--eq-line);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}
html.eq-dark .eq-app .eq-topbar__title,
html.eq-dark .eq-app .eq-content,
html.eq-dark .eq-app .eq-moodle-body {
    color: var(--eq-ink);
}
html.eq-dark .eq-app .eq-topbar__search-input,
html.eq-dark .eq-app .eq-topbar__menu,
html.eq-dark .eq-app .eq-topbar__back {
    background: var(--eq-paper);
    color: var(--eq-ink) !important;
    border-color: var(--eq-line);
}
html.eq-dark .eq-app .eq-topbar__search-input::placeholder {
    color: var(--eq-muted);
}

/* Cards, tiles, hero */
html.eq-dark .eq-app .eq-card,
html.eq-dark .eq-app .eq-tile,
html.eq-dark .eq-app .eq-inbox,
html.eq-dark .eq-app .eq-dash-star-card,
html.eq-dark .eq-app .eq-metrics__card,
html.eq-dark .eq-app .eq-brand-nav {
    background: var(--eq-card);
    border-color: var(--eq-line);
    color: var(--eq-ink);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}
html.eq-dark .eq-app .eq-card__head h2,
html.eq-dark .eq-app .eq-section-title,
html.eq-dark .eq-app .eq-staff-page .eq-card__head h2,
html.eq-dark .eq-app .eq-capgroup__title,
html.eq-dark .eq-app .eq-dash-chart .eq-card__head--dash h2,
html.eq-dark .eq-app .eq-dash-star-card__name,
html.eq-dark .eq-app .eq-form__section,
html.eq-dark .eq-app label,
html.eq-dark .eq-app .eq-form__row label,
html.eq-dark .eq-app .eq-modal__body,
html.eq-dark .eq-app .eq-row__title,
html.eq-dark .eq-app .eq-row strong,
html.eq-dark .eq-app h1,
html.eq-dark .eq-app h2,
html.eq-dark .eq-app h3,
html.eq-dark .eq-app h4 {
    color: var(--eq-ink);
}
html.eq-dark .eq-app .eq-muted,
html.eq-dark .eq-app .eq-empty,
html.eq-dark .eq-app .eq-form__hint,
html.eq-dark .eq-app .eq-row__meta,
html.eq-dark .eq-app .eq-tile__desc {
    color: var(--eq-muted);
}
html.eq-dark .eq-app .eq-section-title::before {
    box-shadow: 0 0 0 3px var(--eq-line);
}
html.eq-dark .eq-app .eq-hero {
    background: linear-gradient(135deg, var(--eq-hero-from) 0%, var(--eq-hero-mid) 52%, var(--eq-hero-to) 100%);
    border-color: color-mix(in srgb, var(--eq-teal) 32%, var(--eq-line));
    color: var(--eq-hero-ink);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}
html.eq-dark .eq-app .eq-hero h1,
html.eq-dark .eq-app .eq-hero p,
html.eq-dark .eq-app .eq-hero__sub {
    color: var(--eq-hero-ink);
}
html.eq-dark .eq-app .eq-inbox__icon {
    background: color-mix(in srgb, var(--eq-teal) 16%, var(--eq-card));
}

/* Lists & rows */
html.eq-dark .eq-app .eq-row {
    background: var(--eq-card);
    border-color: var(--eq-line);
    color: var(--eq-ink);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
html.eq-dark .eq-app .eq-row:hover {
    background: color-mix(in srgb, var(--eq-teal) 10%, var(--eq-card));
    border-color: color-mix(in srgb, var(--eq-teal) 38%, var(--eq-line));
}
html.eq-dark .eq-app .eq-row--unread,
html.eq-dark .eq-app .eq-notice__item.is-unread {
    background: color-mix(in srgb, var(--eq-teal) 12%, var(--eq-card));
}
html.eq-dark .eq-app .eq-row__face,
html.eq-dark .eq-app .eq-row__face--empty {
    background: color-mix(in srgb, var(--eq-paper) 70%, var(--eq-card));
    border-color: var(--eq-line);
    color: var(--eq-muted);
}
html.eq-dark .eq-app .eq-capgroup {
    background: color-mix(in srgb, var(--eq-paper) 55%, var(--eq-card));
    border-color: var(--eq-line);
}

/* Buttons */
html.eq-dark .eq-app .eq-btn:not(.eq-btn--primary):not(.eq-btn--join):not(.eq-btn--gold) {
    background: var(--eq-card);
    border-color: var(--eq-line);
    color: var(--eq-ink) !important;
}
html.eq-dark .eq-app .eq-btn:not(.eq-btn--primary):not(.eq-btn--join):not(.eq-btn--gold):hover {
    background: color-mix(in srgb, var(--eq-teal) 12%, var(--eq-card));
    border-color: color-mix(in srgb, var(--eq-teal) 40%, var(--eq-line));
}
html.eq-dark .eq-app .eq-btn--danger {
    background: color-mix(in srgb, #c45c5c 14%, var(--eq-card));
    border-color: #c45c5c;
    color: #ffb4b4 !important;
}
html.eq-dark .eq-app .eq-btn--danger:hover {
    background: color-mix(in srgb, #c45c5c 24%, var(--eq-card));
}
html.eq-dark .eq-app .eq-view-toggle {
    background: var(--eq-card);
    border-color: var(--eq-line);
}
html.eq-dark .eq-app .eq-view-toggle__btn {
    color: var(--eq-ink);
}
html.eq-dark .eq-app .eq-view-toggle__btn.is-active {
    color: #fff;
}

/* Forms & filters */
html.eq-dark .eq-app .eq-filter__input,
html.eq-dark .eq-app .eq-filter__select,
html.eq-dark .eq-app input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
html.eq-dark .eq-app select,
html.eq-dark .eq-app textarea {
    background: var(--eq-paper);
    color: var(--eq-ink);
    border-color: var(--eq-line);
}
html.eq-dark .eq-app .eq-skin select.eq-filter__select:not(.eq-pick__select),
html.eq-dark .eq-app .eq-form select.eq-filter__select:not(.eq-pick__select),
html.eq-dark .eq-app .eq-filter__form select.eq-filter__select:not(.eq-pick__select) {
    background-color: var(--eq-paper);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23e8eaed' d='M1.2 1.3 6 6.1l4.8-4.8'/%3E%3C/svg%3E");
    color: var(--eq-ink);
}
html.eq-dark .eq-app .eq-dropcheck__btn {
    background-color: var(--eq-card);
    border-color: var(--eq-line);
    color: var(--eq-ink);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23e8eaed' d='M1.2 1.3 6 6.1l4.8-4.8'/%3E%3C/svg%3E");
}
html.eq-dark .eq-app .eq-dropcheck__panel {
    background: var(--eq-card);
    border-color: var(--eq-line);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42);
}
html.eq-dark .eq-app .eq-dropcheck__chip {
    background: color-mix(in srgb, var(--eq-teal) 22%, var(--eq-card));
    color: var(--eq-ink);
}

/* Menus & modals */
html.eq-dark .eq-app .eq-account__menu.is-open,
html.eq-dark .eq-app .eq-account.is-open .eq-account__menu,
html.eq-dark .eq-app .eq-notice__menu,
html.eq-dark .eq-app .eq-lang__menu {
    background: var(--eq-card) !important;
    color: var(--eq-ink);
    border-color: var(--eq-line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
html.eq-dark .eq-app .eq-account__label,
html.eq-dark .eq-app .eq-notice__item,
html.eq-dark .eq-app .eq-lang__item,
html.eq-dark .eq-app .eq-notice__head,
html.eq-dark .eq-app .eq-notice__all {
    color: var(--eq-ink);
}
html.eq-dark .eq-app .eq-notice__item:hover,
html.eq-dark .eq-app .eq-lang__item:hover {
    background: color-mix(in srgb, var(--eq-teal) 14%, var(--eq-card));
}
html.eq-dark .eq-app .eq-modal__panel {
    background: var(--eq-card);
    color: var(--eq-ink);
    border-color: var(--eq-line);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.5);
}
html.eq-dark .eq-app .eq-modal__body {
    background: var(--eq-card);
}

/* Tables */
html.eq-dark .eq-app .eq-table-wrap,
html.eq-dark .eq-app .eq-data-table,
html.eq-dark .eq-app table.generaltable {
    background: var(--eq-card);
    border-color: var(--eq-line);
    color: var(--eq-ink);
}
html.eq-dark .eq-app .eq-data-table th,
html.eq-dark .eq-app table.generaltable th {
    background: color-mix(in srgb, var(--eq-paper) 88%, var(--eq-card));
    color: var(--eq-ink);
    border-color: var(--eq-line);
}
html.eq-dark .eq-app .eq-data-table td,
html.eq-dark .eq-app table.generaltable td {
    border-color: var(--eq-line);
    color: var(--eq-ink);
}
html.eq-dark .eq-app .eq-data-table tr:nth-child(even) td,
html.eq-dark .eq-app table.generaltable tr:nth-child(even) td {
    background: color-mix(in srgb, var(--eq-paper) 35%, var(--eq-card));
}

/* Nav, charts, misc */
html.eq-dark .eq-app .sh-bottomnav {
    background: var(--eq-card);
    border-top-color: var(--eq-line);
}
html.eq-dark .eq-app .sh-bottomnav__item {
    color: var(--eq-muted);
}
html.eq-dark .eq-app .sh-bottomnav__item.is-active {
    color: var(--eq-brand, var(--eq-teal));
}
html.eq-dark .eq-app .eq-help__panel,
html.eq-dark .eq-app .eq-help-doc,
html.eq-dark .eq-app .eq-install-banner,
html.eq-dark .eq-app .eq-install-modal__panel {
    background: var(--eq-card);
    color: var(--eq-ink);
    border-color: var(--eq-line);
}
html.eq-dark .eq-app .eq-dash-chart,
html.eq-dark .eq-app .eq-report-chart,
html.eq-dark .eq-app .eq-dash-chart .eq-card__more {
    color: var(--eq-ink);
}
html.eq-dark .eq-app .eq-dash-chart__bar-track,
html.eq-dark .eq-app .eq-report-chart__bar-track,
html.eq-dark .eq-app .eq-dash-chart .eq-curve__track {
    background: color-mix(in srgb, var(--eq-line) 55%, var(--eq-card));
}
html.eq-dark .eq-app .eq-wa__filters {
    background: var(--eq-paper);
    border-bottom-color: var(--eq-line);
}
html.eq-dark .eq-app .eq-wa__chip {
    background: var(--eq-card);
    color: var(--eq-ink);
    border-color: var(--eq-line);
}
html.eq-dark .eq-app .eq-wa__chip.is-active {
    background: var(--eq-teal-deep, #35495A);
    color: #fff;
}
html.eq-dark .eq-app .eq-row.is-scanned {
    background: color-mix(in srgb, var(--eq-teal) 18%, var(--eq-card)) !important;
}
html.eq-dark .eq-app .eq-att-scan__hit {
    background: color-mix(in srgb, var(--eq-teal) 16%, var(--eq-card));
}
html.eq-dark .eq-app .eq-pager,
html.eq-dark .eq-app .eq-toolbar {
    color: var(--eq-ink);
}
html.eq-dark .eq-app .eq-brand-nav__tab {
    color: var(--eq-ink) !important;
}
html.eq-dark .eq-app .eq-brand-nav__tab.is-active,
html.eq-dark .eq-app .eq-brand-nav__tab[aria-selected="true"] {
    color: #fff !important;
}
html.eq-dark .eq-app .eq-metrics__n {
    color: var(--eq-teal);
}
html.eq-dark .eq-app .eq-card__head a,
html.eq-dark .eq-app .eq-card__more {
    color: var(--eq-teal);
}
html.eq-dark .eq-app .eq-tile__title {
    color: var(--eq-ink);
}
.eq-row.is-scanned {
    background: color-mix(in srgb, #41b2d9 18%, #fff) !important;
}
.eq-att-scan__hit {
    background: color-mix(in srgb, #41b2d9 16%, #fff);
}
.eq-att-scan__manual input {
    flex: 1 1 auto;
    min-width: 0;
}

/* Help centre as a guide */
.eq-help.is-deep > .eq-help__hero,
.eq-help.is-deep > .eq-help__contact,
.eq-help.is-deep > .eq-help__alt {
    display: none;
}
.eq-help__search {
    position: relative;
}
.eq-help__search-ico {
    position: absolute;
    inset-inline-start: 1.15rem;
    top: 1.05rem;
    width: 1.1rem;
    height: 1.1rem;
    color: #8aa0ad;
    pointer-events: none;
}
.eq-help__search-ico svg {
    width: 100%;
    height: 100%;
    display: block;
}
.eq-help__search input {
    padding-inline-start: 2.1rem;
}
.eq-help__topic {
    width: 100%;
    border: 0;
    background: transparent;
    font: inherit;
    text-align: start;
    cursor: pointer;
}
.eq-help__topic small {
    display: block;
    margin-top: 0.15rem;
    color: #7a8b96;
    font-weight: 600;
    font-size: 0.78rem;
}
.eq-help__count {
    margin: 0;
    padding: 0.45rem 0.95rem 0.2rem;
    color: #7a8b96;
    font-size: 0.8rem;
    font-weight: 700;
}
.eq-help__subhead {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.55rem 0.35rem;
    border-bottom: 1px solid #eef2f5;
}
.eq-help__subhead strong {
    font-size: 0.98rem;
    color: #35495A;
}
.eq-help__back {
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 50%;
    background: #f0f4f7;
    color: #35495A;
    cursor: pointer;
    display: grid;
    place-items: center;
}
.eq-help__back svg {
    width: 1.1rem;
    height: 1.1rem;
}
html[dir="ltr"] .eq-help__back svg {
    transform: scaleX(-1);
}
.eq-help-view[hidden] {
    display: none !important;
}
.eq-help-doc {
    padding: 0.7rem 0.95rem 1.2rem;
}
.eq-help-doc__title {
    margin: 0 0 0.35rem;
    font-size: 1.28rem;
    line-height: 1.35;
    color: #1f3340;
}
.eq-help-doc__lead {
    margin: 0 0 0.35rem;
    color: #5b6d78;
    font-size: 0.92rem;
    line-height: 1.55;
}
.eq-help-doc__date {
    margin: 0 0 0.75rem;
    color: #8aa0ad;
    font-size: 0.78rem;
}
.eq-help-doc__body {
    margin: 0 0 0.9rem;
    color: #31444f;
    line-height: 1.7;
    font-size: 0.94rem;
}
.eq-help-doc__go {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.85rem;
    padding: 0.75rem 0.85rem;
    border-radius: 0.8rem;
    background: #35495A;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 800;
}
.eq-help-doc__go .eq-help__chev {
    color: #fff;
}
.eq-help-video {
    margin: 0 0 1rem;
}
.eq-help-video__frame {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #0e1a22;
}
.eq-help-video__play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
}
.eq-help-video__play span {
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 50%;
    background: #ff2f2f;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
    position: relative;
}
.eq-help-video__play span::before {
    content: "";
    position: absolute;
    inset-inline-start: 1.18rem;
    top: 0.9rem;
    border-style: solid;
    border-width: 0.65rem 0 0.65rem 1.05rem;
    border-color: transparent transparent transparent #fff;
}
.eq-help-video__cap {
    margin: 0.4rem 0 0;
    color: #5b6d78;
    font-size: 0.8rem;
}
.eq-help-step {
    margin: 0 0 1rem;
}
.eq-help-step__text {
    margin: 0 0 0.55rem;
    color: #31444f;
    line-height: 1.65;
}
.eq-help-shot {
    margin: 0;
    border: 1px solid #dbe6ec;
    border-radius: 0.7rem;
    overflow: hidden;
    background: #eef3f6;
}
.eq-help-shot__chrome {
    display: flex;
    gap: 0.28rem;
    padding: 0.35rem 0.5rem;
    background: #d7e1e8;
}
.eq-help-shot__chrome span {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #b7c5ce;
}
.eq-help-shot__body {
    display: grid;
    grid-template-columns: 2.4rem 1fr;
    min-height: 7.2rem;
}
.eq-help-shot__rail {
    background: #35495A;
}
.eq-help-shot__main {
    padding: 0.45rem;
}
.eq-help-shot__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
}
.eq-help-shot__tile {
    display: grid;
    place-items: center;
    min-height: 2.6rem;
    border-radius: 0.35rem;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    text-align: center;
    padding: 0.2rem;
}
.eq-help-shot__tile.is-hifz { background: #2aa7b8; }
.eq-help-shot__tile.is-att { background: #2f4d8a; }
.eq-help-shot__tile.is-teach { background: #3d8f4a; }
.eq-help-shot__tile.is-stu { background: #c9a227; }
.eq-help-shot__tile.is-on {
    outline: 2px solid #e23b3b;
    outline-offset: 1px;
}
.eq-help-shot__rows i,
.eq-help-shot__form i {
    display: block;
    height: 0.7rem;
    border-radius: 0.25rem;
    background: #fff;
    margin-bottom: 0.35rem;
    box-shadow: 0 1px 0 #d5e0e7;
}
.eq-help-shot__form i.is-wide { height: 1.6rem; }
.eq-help-shot__mushaf {
    min-height: 6.2rem;
    background: #f7f1e2;
    border-radius: 0.35rem;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    color: #5b4630;
}
.eq-help-shot__att {
    display: flex;
    gap: 0.35rem;
    padding-top: 1.1rem;
}
.eq-help-shot__att i {
    flex: 1;
    height: 2rem;
    border-radius: 0.3rem;
    background: #d9e4ea;
}
.eq-help-shot__att i.ok { background: #3d8f4a; }
.eq-help-shot__att i.no { background: #c45b5b; }
.eq-pager__info select,
.eq-pager .eq-filter__select {
    margin-top: 0.25rem;
    max-width: 11rem;
    border: 0;
    border-radius: 0.45rem;
    padding: 0.2rem 0.45rem;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    color: #35495A;
}
body.eq-quran-pip {
    background: #15222b;
    min-height: 100vh;
}
.eq-quran-pip__card {
    padding: 1.1rem 1.15rem 1.25rem;
    color: #fff;
}
.eq-quran-pip__kicker {
    margin: 0;
    opacity: 0.7;
    font-size: 0.78rem;
    font-weight: 700;
}
.eq-quran-pip__title {
    margin: 0.25rem 0 0.15rem;
    font-size: 1.35rem;
}
.eq-quran-pip__reciter {
    margin: 0 0 0.85rem;
    opacity: 0.82;
    font-size: 0.88rem;
}
.eq-quran-pip__audio {
    width: 100%;
}
.eq-quran-chip {
    inset-inline-end: auto;
    inset-inline-start: 1rem;
    bottom: calc(5.2rem + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 720px) {
    .eq-help.is-deep .eq-help__sheet {
        width: min(28.5rem, calc(100vw - 2rem));
        max-height: min(46rem, calc(100vh - 5.5rem));
    }
    .eq-quran-chip {
        bottom: 1.15rem;
    }
}
.eq-app.eq-night .eq-help-doc__title,
.eq-app.eq-night .eq-help__subhead strong {
    color: #e8eef2;
}
.eq-app.eq-night .eq-help-doc__body,
.eq-app.eq-night .eq-help-step__text {
    color: #d5e0e7;
}
.eq-app.eq-night .eq-help__back {
    background: #2a3944;
    color: #e8eef2;
}

.eq-help__search-ico { position: absolute; inset-inline-start: 1.15rem; top: 1.05rem; width: 1.1rem; height: 1.1rem; color: #8aa0ad; pointer-events: none; }
.eq-help__search-ico svg { width: 100%; height: 100%; display: block; }
.eq-help-doc__go { display: flex; align-items: center; justify-content: space-between; margin-top: 0.85rem; padding: 0.75rem 0.85rem; border-radius: 0.8rem; background: #35495A; color: #fff !important; text-decoration: none !important; font-weight: 800; }
.eq-help-video__frame { position: relative; border-radius: 0.75rem; overflow: hidden; background: #0e1a22; }
.eq-help-video__play { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.eq-help-video__play > span { width: 3.1rem; height: 3.1rem; border-radius: 50%; background: #ff2f2f; position: relative; box-shadow: 0 8px 20px rgba(0,0,0,.28); }
.eq-help-video__play > span::before { content: ""; position: absolute; inset-inline-start: 1.18rem; top: 0.9rem; border-style: solid; border-width: 0.65rem 0 0.65rem 1.05rem; border-color: transparent transparent transparent #fff; }
.eq-help-video__cap { margin: 0.4rem 0 0; color: #5b6d78; font-size: 0.8rem; }
.eq-help-step { margin: 0 0 1rem; }
.eq-help-step__text { margin: 0 0 0.55rem; color: #31444f; line-height: 1.65; }
.eq-help-shot__chrome { display: flex; gap: 0.28rem; padding: 0.35rem 0.5rem; background: #d7e1e8; }
.eq-help-shot__chrome span { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #b7c5ce; }
.eq-help-shot__body { display: grid; grid-template-columns: 2.4rem 1fr; min-height: 7.2rem; }
.eq-help-shot__rail { background: #35495A; }
.eq-help-shot__main { padding: 0.45rem; }
.eq-help-shot__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; }
.eq-help-shot__tile { display: grid; place-items: center; min-height: 2.6rem; border-radius: 0.35rem; color: #fff; font-size: 0.62rem; font-weight: 800; text-align: center; padding: 0.2rem; }
.eq-help-shot__tile.is-hifz { background: #2aa7b8; }
.eq-help-shot__tile.is-att { background: #2f4d8a; }
.eq-help-shot__tile.is-teach { background: #3d8f4a; }
.eq-help-shot__tile.is-stu { background: #c9a227; }
.eq-help-shot__tile.is-on { outline: 2px solid #e23b3b; outline-offset: 1px; }
.eq-help-shot__rows i, .eq-help-shot__form i { display: block; height: 0.7rem; border-radius: 0.25rem; background: #fff; margin-bottom: 0.35rem; box-shadow: 0 1px 0 #d5e0e7; }
.eq-help-shot__form i.is-wide { height: 1.6rem; }
.eq-help-shot__mushaf { min-height: 6.2rem; background: #f7f1e2; border-radius: 0.35rem; display: grid; place-items: center; font-size: 1.4rem; color: #5b4630; }
.eq-help-shot__att { display: flex; gap: 0.35rem; padding-top: 1.1rem; }
.eq-help-shot__att i { flex: 1; height: 2rem; border-radius: 0.3rem; background: #d9e4ea; }
.eq-help-shot__att i.ok { background: #3d8f4a; }
.eq-help-shot__att i.no { background: #c45b5b; }
.eq-help__subhead { display: flex; align-items: center; gap: 0.45rem; padding: 0.55rem 0.55rem 0.35rem; border-bottom: 1px solid #eef2f5; }
.eq-help__count { margin: 0; padding: 0.45rem 0.95rem 0.2rem; color: #7a8b96; font-size: 0.8rem; font-weight: 700; }
.eq-help-view[hidden] { display: none !important; }
.eq-quran-pip__card { padding: 1.1rem 1.15rem 1.25rem; color: #fff; }
.eq-quran-pip__kicker { margin: 0; opacity: 0.7; font-size: 0.78rem; font-weight: 700; }
.eq-quran-pip__title { margin: 0.25rem 0 0.15rem; font-size: 1.35rem; }
.eq-quran-pip__reciter { margin: 0 0 0.85rem; opacity: 0.82; font-size: 0.88rem; }
.eq-quran-pip__audio { width: 100%; }

/* â€”â€” Advanced responsive shell: no horizontal overflow, touch, safe areas â€”â€” */
html:has(body.eq-skin),
html:has(body.eq-site),
html:has(body.pagelayout-schoolapp),
html:has(body.pagelayout-login) {
    overflow-x: clip;
    max-width: 100%;
}

body.eq-skin,
body.eq-site,
body.pagelayout-schoolapp,
body.pagelayout-login {
    overflow-x: clip;
    max-width: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.eq-app,
.eq-main,
.eq-content,
.eq-site-wrap,
.eq-site-main,
.schoolapp-page,
.schoolapp-scroll,
.schoolapp-content {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.eq-content img,
.eq-site-main img,
.eq-card img {
    max-width: 100%;
    height: auto;
}

.eq-btn,
.sh-btn,
.sh-bottomnav__item,
.eq-headbtn,
.eq-topbar__menu,
.eq-topbar__back,
.eq-site-toggle,
.eq-tile,
.eq-chip {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: none) {
    .eq-tile:hover {
        transform: none;
        box-shadow: 0 8px 20px rgba(0, 61, 91, 0.045);
    }
}

@media (prefers-reduced-motion: reduce) {
    .eq-sidebar,
    .eq-nav-scrim {
        transition: none;
    }
}

@media (min-width: 1200px) {
    .eq-content {
        padding-inline: 1.5rem;
    }
}

@media (max-width: 900px) {
    .eq-moodle-body,
    .eq-moodle-body .no-overflow,
    .eq-moodle-body .table-responsive,
    .eq-content .generaltable,
    .eq-content table.flexible,
    .eq-content .mod_quiz,
    .eq-content .que {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .eq-app .eq-modal__body .eq-form--modal:not(.eq-pub-form),
    .eq-form--modal {
        grid-template-columns: 1fr !important;
    }

    .eq-wa__filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .eq-wa__filters::-webkit-scrollbar {
        display: none;
    }

    .eq-wa__chip {
        flex: 0 0 auto;
    }
}

/* School identity â€” compact tabbed layout */
body.eq-branding .eq-toolbar {
    display: none;
}
.eq-brand-page {
    max-width: 72rem;
}
.eq-brand-nav {
    display: flex;
    gap: 0.3rem;
    padding: 0.28rem;
    margin: 0 0 1rem;
    background: #fff;
    border: 1px solid var(--eq-line);
    border-radius: 999px;
    width: fit-content;
    max-width: 100%;
    flex-wrap: wrap;
    box-shadow: 0 6px 18px rgba(53, 73, 90, 0.05);
}
.eq-brand-nav__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.2rem;
    padding: 0.35rem 1.05rem;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--eq-teal-deep) !important;
    background: transparent;
    cursor: pointer;
}
.eq-brand-nav__tab.is-active,
.eq-brand-nav__tab[aria-selected="true"] {
    background: var(--eq-teal-deep);
    color: #fff !important;
}
.eq-brand-page[data-eq-brand-page="identity"] [data-eq-brand-panel="templates"],
.eq-brand-page[data-eq-brand-page="identity"] [data-eq-brand-panel="usernames"],
.eq-brand-page[data-eq-brand-page="templates"] [data-eq-brand-panel="identity"],
.eq-brand-page[data-eq-brand-page="templates"] [data-eq-brand-panel="usernames"],
.eq-brand-page[data-eq-brand-page="usernames"] [data-eq-brand-panel="identity"],
.eq-brand-page[data-eq-brand-page="usernames"] [data-eq-brand-panel="templates"] {
    display: none !important;
}
.eq-brand-lead,
.eq-brand-lead {
    margin: 0 0 0.85rem;
    color: var(--eq-muted);
    font-size: 0.88rem;
    line-height: 1.45;
}
.eq-brand-identity {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 26rem);
    gap: 1rem;
    align-items: start;
}
.eq-brand-panel__body {
    max-width: 72rem;
}
.eq-brand-box--wide {
    padding: 1.1rem 1.15rem 1.2rem;
}
.eq-brand-box--wide > h2 {
    margin-bottom: 0.35rem;
}
.eq-brand-sidebar-hint {
    margin: 0 0 0.75rem;
    padding: 0.65rem 0.8rem;
    border-radius: 0.75rem;
    border: 1px solid color-mix(in srgb, var(--eq-brand, #41b2d9) 35%, var(--eq-line));
    background: color-mix(in srgb, var(--eq-brand, #41b2d9) 8%, #fff);
    color: var(--eq-teal-deep);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.45;
}
.eq-brand-colors {
    display: grid;
    gap: 0.75rem;
}
.eq-brand-colors__group {
    padding: 0.75rem 0.8rem 0.8rem;
    border: 1px solid #e8edf1;
    border-radius: 0.85rem;
    background: #fafbfc;
}
.eq-brand-colors__group h3 {
    margin: 0 0 0.6rem;
    font-family: "Cairo", sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--eq-teal-deep);
    letter-spacing: 0.02em;
}
.eq-brand-colors__grid,
.eq-brand-colors__group--grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 0.7rem;
}
.eq-brand-colors__group--grid > h3,
.eq-brand-colors__group > h3 + .eq-brand-colors__grid {
    grid-column: 1 / -1;
}
.eq-brand-colors__group--grid > h3 {
    grid-column: 1 / -1;
}
.eq-brand-field--logo label {
    font-weight: 600;
    color: var(--eq-muted);
}
.eq-brand-box {
    background: #fff;
    border: 1px solid #e4e8ec;
    border-radius: 1.1rem;
    padding: 1rem 1.05rem 1.05rem;
    box-shadow: 0 8px 22px rgba(53, 73, 90, 0.045);
}
.eq-brand-box h2,
.eq-brand-tpl h3,
.eq-brand-rule h3 {
    margin: 0 0 0.75rem;
    font-family: "Cairo", sans-serif;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--eq-teal-deep);
}
.eq-brand-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem 0.8rem;
}
.eq-brand-field {
    display: grid;
    gap: 0.28rem;
    min-width: 0;
}
.eq-brand-field label {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--eq-teal-deep);
}
.eq-brand-field__help {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--eq-muted, #6b7780);
}
.eq-brand-field .eq-filter__input,
.eq-brand-field textarea {
    width: 100%;
    min-height: 2.35rem;
    margin: 0;
}
.eq-brand-field textarea {
    resize: vertical;
    min-height: 3.4rem;
}
.eq-brand-look {
    position: sticky;
    top: 4.6rem;
    display: grid;
    gap: 0;
}
.eq-brand-look__controls {
    display: grid;
    gap: 0.75rem;
}
.eq-brand-theme-preview__sect {
    display: block;
    margin: 0.15rem 0 0.2rem;
    padding: 0 0.15rem 0.25rem;
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--eq-brand, #41b2d9);
    border-bottom: 1px solid color-mix(in srgb, var(--eq-brand, #41b2d9) 28%, transparent);
    opacity: 0.92;
}
.eq-brand-look__preview {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 0.9rem;
    margin-bottom: 0.85rem;
    background: #fff;
    border: 1px solid #eef1f4;
    border-radius: 1rem;
}
.eq-brand-look__mark {
    width: 3.7rem;
    height: 3.7rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e8eef2;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.eq-brand-look__mark img {
    width: 86%;
    height: 86%;
    object-fit: contain;
}
.eq-brand-look__text {
    min-width: 0;
}
.eq-brand-look__text strong {
    display: block;
    color: var(--eq-teal-deep);
    font-size: 1.02rem;
    line-height: 1.25;
}
.eq-brand-look__text span {
    display: block;
    margin-top: 0.15rem;
    color: var(--eq-muted);
    font-size: 0.78rem;
    line-height: 1.35;
    white-space: pre-line;
}
.eq-brand-theme-preview {
    margin-top: 0.85rem;
    padding: 0.85rem;
    border: 1px solid var(--eq-line, #E4E8EC);
    border-radius: 1rem;
    background: color-mix(in srgb, var(--eq-paper, #F4F7F9) 55%, #fff);
}
.eq-brand-theme-preview__title {
    margin: 0 0 0.65rem;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--eq-muted, #5A5A5C);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.eq-brand-theme-preview__app {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 0.55rem;
    margin-bottom: 0.65rem;
    min-height: 5.5rem;
}
.eq-brand-theme-preview__side {
    border-radius: 0.65rem;
    padding: 0.45rem 0.35rem;
    background: linear-gradient(
        185deg,
        var(--eq-sidebar, #35495A) 0%,
        color-mix(in srgb, var(--eq-sidebar, #35495A) 72%, #000) 100%
    );
    display: grid;
    gap: 0.25rem;
    align-content: start;
}
.eq-brand-theme-preview__nav {
    display: block;
    padding: 0.28rem 0.35rem;
    border-radius: 0.4rem;
    font-size: 0.62rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.78);
}
.eq-brand-theme-preview__nav.is-active {
    background: var(--eq-brand, #41b2d9);
    color: #fff;
}
.eq-brand-theme-preview__main {
    border-radius: 0.65rem;
    padding: 0.45rem;
    background: var(--eq-paper, #F4F7F9);
    border: 1px solid var(--eq-line, #E4E8EC);
    display: grid;
    gap: 0.35rem;
    align-content: start;
}
.eq-brand-theme-preview__card {
    border-radius: 0.45rem;
    padding: 0.45rem 0.5rem;
    background: var(--eq-card, #fff);
    border: 1px solid var(--eq-line, #E4E8EC);
    color: var(--eq-ink, #1A1F24);
    font-size: 0.68rem;
    font-weight: 700;
}
.eq-brand-theme-preview__btn {
    justify-self: start;
    border: 0;
    border-radius: 0.45rem;
    padding: 0.28rem 0.55rem;
    background: var(--eq-brand, #41b2d9);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    cursor: default;
}
.eq-brand-theme-preview__site {
    display: grid;
    gap: 0.35rem;
}
.eq-brand-theme-preview__hero {
    border-radius: 0.55rem;
    padding: 0.55rem 0.65rem;
    font-size: 0.68rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(
        125deg,
        color-mix(in srgb, var(--eq-site-navy, #35495A) 92%, #000) 0%,
        var(--eq-site-navy, #35495A) 42%,
        var(--eq-site-teal, #41b2d9) 100%
    );
}
.eq-brand-theme-preview__foot {
    border-radius: 0.55rem;
    padding: 0.45rem 0.65rem;
    font-size: 0.62rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
    background: var(--eq-site-navy, #35495A);
}
.eq-brand-tpl-group {
    padding: 0.85rem 0.9rem;
    border: 1px solid #e8edf1;
    border-radius: 1rem;
    background: #fafbfc;
}
.eq-brand-tpl-groups {
    display: grid;
    gap: 1rem;
}
.eq-brand-tpl-group h2 {
    margin: 0 0 0.55rem;
    font-family: "Cairo", sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--eq-teal-deep);
}
.eq-brand-tpls,
.eq-brand-rules {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
    gap: 0.75rem;
}
.eq-brand-tpls--pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.eq-brand-tpl,
.eq-brand-rule {
    background: #fff;
    border: 1px solid #e4e8ec;
    border-radius: 1rem;
    padding: 0.8rem 0.85rem 0.9rem;
    box-shadow: 0 6px 16px rgba(53, 73, 90, 0.04);
    min-width: 0;
}
.eq-brand-tpl--wide {
    grid-column: 1 / -1;
}
.eq-brand-tpl__head {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.55rem;
}
.eq-brand-tpl__head h3 {
    margin: 0;
    flex: 1 1 auto;
}
.eq-brand-tpl__side {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 1.35rem;
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    background: #eef4f8;
    color: var(--eq-teal-deep);
}
.eq-brand-tpl__side--back {
    background: #35495A;
    color: #fff;
}
.eq-brand-tpl--back {
    border-color: color-mix(in srgb, #35495A 22%, #e4e8ec);
}
.eq-brand-tpl__shot {
    aspect-ratio: 1.586 / 1;
    border-radius: 0.55rem;
    overflow: hidden;
    background: #f4f7f9;
    border: 1px solid #eef1f4;
    margin-bottom: 0.55rem;
}
.eq-brand-tpl--wide .eq-brand-tpl__shot {
    aspect-ratio: 1.414 / 1;
    max-height: 12rem;
}
.eq-brand-tpl__shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.eq-brand-tpl input[type="file"] {
    width: 100%;
    font-size: 0.78rem;
}
.eq-brand-tpl .eq-check {
    margin-top: 0.45rem;
    font-size: 0.78rem;
}
.eq-brand-rule__fields {
    display: grid;
    grid-template-columns: 1fr 1fr 4.4rem;
    gap: 0.4rem;
}
.eq-brand-rule__preview {
    margin-top: 0.55rem;
    padding: 0.4rem 0.55rem;
    border-radius: 0.55rem;
    background: #f4f8fb;
    color: var(--eq-teal-deep);
    font-size: 0.8rem;
    font-weight: 700;
    font-family: ui-monospace, Consolas, monospace;
    overflow-wrap: anywhere;
}
.eq-brand-save {
    position: sticky;
    bottom: 0.4rem;
    z-index: 8;
    display: flex;
    justify-content: flex-end;
    padding: 0.75rem 0 0.15rem;
    background: linear-gradient(to top, var(--eq-paper) 62%, transparent);
}
.eq-brand-save .eq-btn {
    min-width: 8.5rem;
}
@media (max-width: 860px) {
    .eq-brand-identity,
    .eq-brand-fields,
    .eq-brand-rule__fields,
    .eq-brand-tpls--pair,
    .eq-brand-colors__grid,
    .eq-brand-colors__group--grid {
        grid-template-columns: 1fr;
    }
    .eq-brand-look {
        position: static;
    }
    .eq-brand-nav {
        width: 100%;
    }
    .eq-brand-nav__tab {
        flex: 1 1 auto;
    }
}

/* Site settings â€” same compact tabbed layout */
body.eq-hubsettings .eq-toolbar {
    display: none;
}
.eq-settings-page [data-eq-settings-panel] {
    display: none !important;
}
.eq-settings-page[data-eq-settings-page="pages"] [data-eq-settings-panel="pages"],
.eq-settings-page[data-eq-settings-page="app"] [data-eq-settings-panel="app"],
.eq-settings-page[data-eq-settings-page="meet"] [data-eq-settings-panel="meet"],
.eq-settings-page[data-eq-settings-page="backup"] [data-eq-settings-panel="backup"],
.eq-settings-page[data-eq-settings-page="logs"] [data-eq-settings-panel="logs"],
.eq-settings-page[data-eq-settings-page="database"] [data-eq-settings-panel="database"],
.eq-settings-page[data-eq-settings-page="version"] [data-eq-settings-panel="version"],
.eq-settings-page[data-eq-settings-page="nav"] [data-eq-settings-panel="nav"],
.eq-settings-page[data-eq-settings-page="calendar"] [data-eq-settings-panel="calendar"],
.eq-settings-page[data-eq-settings-page="notices"] [data-eq-settings-panel="notices"] {
    display: block !important;
}
body.eq-hubsettings .eq-brand-nav.eq-set-menu {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
    width: 100%;
    max-width: 100%;
    gap: 0.45rem;
    padding: 0.55rem;
    border-radius: 1.1rem;
    background: #eef3f7;
    border: 1px solid #dde5eb;
    margin-bottom: 0.85rem;
}
body.eq-hubsettings .eq-brand-nav.eq-set-menu .eq-brand-nav__tab {
    flex-direction: column;
    gap: 0.32rem;
    min-height: 4.35rem;
    padding: 0.65rem 0.45rem 0.55rem;
    border-radius: 0.85rem;
    font-size: 0.8rem;
    font-weight: 800;
    background: transparent;
    border: 1px solid transparent;
    color: #35495a;
}
body.eq-hubsettings .eq-brand-nav.eq-set-menu .eq-brand-nav__tab.is-active {
    background: #35495a;
    border-color: #35495a;
    color: #fff;
    box-shadow: 0 6px 16px rgba(53, 73, 90, 0.18);
}
body.eq-hubsettings .eq-brand-nav.eq-set-menu .eq-brand-nav__tab.is-active .eq-ico {
    color: #fff;
}
body.eq-hubsettings .eq-brand-nav.eq-set-menu .eq-ico {
    width: 1.25rem;
    height: 1.25rem;
}
@media (max-width: 900px) {
    body.eq-hubsettings .eq-brand-nav.eq-set-menu {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 560px) {
    body.eq-hubsettings .eq-brand-nav.eq-set-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.eq-set-panel {
    background: #fff;
    border: 1px solid #e4e8ec;
    border-radius: 1.1rem;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(53, 73, 90, 0.045);
}
.eq-set-head {
    background: var(--eq-sidebar);
    color: #fff;
    padding: 0.9rem 1.1rem 0.85rem;
}
.eq-set-head--actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem 1rem;
}
.eq-set-head__main {
    flex: 1 1 12rem;
    min-width: 0;
}
.eq-set-head__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    flex: 0 0 auto;
    margin-inline-start: auto;
}
.eq-set-head__actions .eq-btn:not(.eq-btn--primary) {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}
.eq-set-head h2 {
    margin: 0;
    font-family: "Cairo", sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
    color: #fff;
}
.eq-set-head p {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
    line-height: 1.45;
    font-weight: 600;
}
.eq-set-body {
    padding: 1rem 1.05rem 1.15rem;
}
.eq-set-sub {
    margin: 1.1rem 0 0.55rem;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--eq-teal-deep);
}
.eq-set-filter {
    margin-bottom: 0.85rem;
}
.eq-set-filter--logs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
    gap: 0.65rem 0.75rem;
    align-items: end;
}
.eq-set-filter--logs .eq-pick-field,
.eq-set-filter--logs .eq-brand-field {
    margin: 0;
    min-width: 0;
}
.eq-set-filter--logs .eq-brand-field label,
.eq-set-filter--logs .eq-pick__caption {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 700;
    font-size: 0.82rem;
    color: #35495A;
}
.eq-set-filter__actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.15rem;
}
.eq-log-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 0.85rem;
}
.eq-log-pager__info {
    font-size: 0.82rem;
    font-weight: 700;
    color: #5b6f7c;
}
.eq-app .eq-form .eq-pick-field,
.eq-app .eq-filter .eq-pick-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}
.eq-app .eq-form__row .eq-pick {
    width: 100%;
}
.eq-log-list {
    display: grid;
    gap: 0.45rem;
}
.eq-log-item {
    display: grid;
    grid-template-columns: minmax(6.5rem, 0.7fr) minmax(0, 1.6fr) auto;
    gap: 0.45rem 0.8rem;
    align-items: center;
    padding: 0.7rem 0.85rem;
    background: #f7fafc;
    border: 1px solid #eef1f4;
    border-radius: 0.85rem;
}
.eq-log-item__act {
    font-weight: 800;
    color: var(--eq-teal-deep);
    font-size: 0.86rem;
}
.eq-log-item__who {
    color: var(--eq-muted);
    font-size: 0.8rem;
    line-height: 1.4;
    min-width: 0;
}
.eq-log-item__when {
    color: #6b7c88;
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
}
.eq-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
    margin-bottom: 0.9rem;
}
.eq-metrics__card {
    background: #f7fbfd;
    border: 1px solid #e4eef3;
    border-radius: 0.95rem;
    padding: 0.75rem 0.8rem;
    display: grid;
    gap: 0.2rem;
}
.eq-metrics__n {
    font-weight: 800;
    color: var(--eq-teal-deep);
    font-size: 1.05rem;
}
.eq-metrics__k {
    color: var(--eq-muted);
    font-size: 0.74rem;
    font-weight: 700;
}
.eq-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}
.eq-nav-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.4rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--eq-teal-deep);
    cursor: pointer;
}
.eq-nav-check input {
    margin: 0;
}
.eq-nav-role h3 {
    margin: 0 0 0.55rem;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--eq-teal-deep);
}
.eq-nav-labels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 0.85rem;
}
.eq-nav-labels--pages {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.eq-nav-custom {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.eq-nav-custom-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 0.65rem 0.85rem;
    padding: 0.75rem;
    border: 1px solid var(--eq-line);
    border-radius: 0.65rem;
    background: var(--eq-surface-2, #f8fafb);
}
.eq-nav-custom-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
    align-items: center;
}
.eq-nav-custom-roles__label {
    display: block;
    width: 100%;
    margin-bottom: 0.15rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--eq-teal-deep);
}
@media (max-width: 860px) {
    .eq-metrics,
    .eq-nav-labels--sections,
    .eq-nav-labels,
    .eq-nav-labels--pages,
    .eq-nav-custom-row,
    .eq-log-item {
        grid-template-columns: 1fr;
    }
    .eq-log-item__when {
        white-space: normal;
    }
}
.eq-settings-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr));
    gap: 0.75rem;
}
.eq-settings-link {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 6.4rem;
    padding: 0.95rem 1.05rem;
    background: #fff;
    border: 1px solid #e4e8ec;
    border-radius: 1.05rem;
    box-shadow: 0 6px 16px rgba(53, 73, 90, 0.045);
    text-decoration: none !important;
    color: inherit;
}
.eq-settings-link:hover {
    border-color: color-mix(in srgb, #41b2d9 42%, #e4e8ec);
    background: #f7fbfd;
}
.eq-settings-link strong {
    color: var(--eq-teal-deep);
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.3;
}
.eq-settings-link span {
    color: var(--eq-muted);
    font-size: 0.8rem;
    line-height: 1.45;
}
.eq-settings-link__path {
    display: block;
    margin-top: 0.15rem;
    padding: 0.2rem 0.45rem;
    border-radius: 0.4rem;
    background: #eef3f6;
    color: var(--eq-teal-deep);
    font-size: 0.72rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    direction: ltr;
    text-align: left;
}
.eq-settings-group {
    margin-bottom: 1.15rem;
}
.eq-settings-group .eq-set-sub {
    margin-bottom: 0.55rem;
}
.eq-nav-section-title {
    grid-column: 1 / -1;
    margin: 0.55rem 0 0.25rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--eq-muted);
}
.eq-nav-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem 0.5rem;
    margin-bottom: 0.35rem;
}
.eq-nav-intro {
    margin: 0 0 0.85rem;
    padding: 0 0.15rem;
}
.eq-nav-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 0.85rem;
    padding: 0.35rem;
    border-radius: 0.85rem;
    background: #eef3f6;
}
.eq-nav-subnav__tab {
    flex: 1 1 7rem;
    min-width: 0;
    padding: 0.55rem 0.85rem;
    border: 1px solid transparent;
    border-radius: 0.65rem;
    background: transparent;
    color: var(--eq-teal-deep);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
}
.eq-nav-subnav__tab.is-active {
    background: #fff;
    border-color: #dbe4ea;
    box-shadow: 0 4px 12px rgba(53, 73, 90, 0.06);
}
.eq-nav-subpanel {
    display: none;
}
.eq-nav-subpanel.is-active {
    display: block;
}
.eq-nav-subpanel__inner {
    margin: 0;
}
.eq-nav-labels--sections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.eq-nav-label-block {
    margin-bottom: 0.75rem;
}
.eq-nav-matrix-wrap {
    overflow-x: auto;
    margin-top: 0.65rem;
    border: 1px solid var(--eq-line);
    border-radius: 0.75rem;
}
.eq-nav-matrix {
    width: 100%;
    min-width: 36rem;
    border-collapse: collapse;
    font-size: 0.82rem;
}
.eq-nav-matrix th,
.eq-nav-matrix td {
    padding: 0.45rem 0.55rem;
    border-bottom: 1px solid #eef1f4;
    vertical-align: middle;
}
.eq-nav-matrix thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f7fafc;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--eq-muted);
}
.eq-nav-matrix__page {
    min-width: 9rem;
    text-align: start;
    font-weight: 700;
    color: var(--eq-teal-deep);
}
.eq-nav-matrix__role {
    width: 4.2rem;
    text-align: center;
}
.eq-nav-matrix__cell {
    text-align: center;
}
.eq-nav-matrix__section td {
    padding-top: 0.65rem;
    padding-bottom: 0.25rem;
    border-bottom: none;
    background: #f3f7fa;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--eq-muted);
}
.eq-nav-custom-url-wrap.is-compact .eq-nav-custom-url,
.eq-nav-custom-url-wrap.is-compact .eq-brand-field__help {
    display: none;
}
.eq-nav-custom-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 0.9fr) minmax(0, 1.1fr);
}
.eq-settings-link--wide {
    grid-column: 1 / -1;
    min-height: 0;
}
.eq-settings-check {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    margin: 0 0 0.9rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid #eef1f4;
    border-radius: 0.85rem;
    background: #f7fafc;
    cursor: pointer;
}
.eq-settings-check input {
    margin-top: 0.2rem;
    flex: 0 0 auto;
}
.eq-settings-check__copy {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}
.eq-settings-check__copy strong {
    color: var(--eq-teal-deep);
    font-size: 0.9rem;
}
.eq-settings-check__copy span {
    color: var(--eq-muted);
    font-size: 0.8rem;
    line-height: 1.4;
}
.eq-settings-drive-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.55rem;
}
.eq-settings-drive-head h2 {
    margin: 0;
}
.eq-settings-chip {
    display: inline-flex;
    align-items: center;
    min-height: 1.45rem;
    padding: 0.12rem 0.55rem;
    border-radius: 999px;
    background: #eef1f4;
    color: var(--eq-muted);
    font-size: 0.74rem;
    font-weight: 800;
    white-space: nowrap;
}
.eq-settings-chip--ok {
    background: #e7f6ee;
    color: #0f7a45;
}
.eq-settings-chip--warn {
    background: #fff4e0;
    color: #9a5b00;
}
.eq-settings-chip--danger,
.eq-settings-chip-row .eq-settings-chip.eq-settings-chip--danger,
.eq-settings-drive-head .eq-settings-chip.eq-settings-chip--danger {
    background: #dc3545 !important;
    color: #fff !important;
    border: 1px solid #b02a37 !important;
}
.eq-settings-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.55rem;
    margin: 0 0 0.75rem;
}
.eq-settings-chip-row .eq-settings-chip {
    white-space: normal;
    max-width: 100%;
    line-height: 1.35;
}
.eq-license-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem 1rem;
    margin: 0 0 0.9rem;
    padding: 0.7rem 0.9rem;
    border-radius: 0.85rem;
    background: #eef8fc;
    border: 1px solid #c5e4f0;
    color: #35495A;
}
.eq-license-banner p {
    margin: 0;
    font-weight: 700;
    font-size: 0.88rem;
}
.eq-license-banner a {
    font-weight: 800;
    color: #41b2d9;
    text-decoration: none;
}
.eq-license-banner--warn {
    background: #fff7ea;
    border-color: #f0d3a0;
}
.eq-license-banner--err {
    background: #fdeeee;
    border-color: #f0b4b4;
    color: #8a1f1f;
}
.eq-demo-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.85rem;
    margin: 0 0 0.9rem;
    padding: 0.75rem 0.95rem;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, #eaf6fb 0%, #fff8e8 100%);
    border: 1px solid #c5e4f0;
    color: #35495A;
    font-size: 0.9rem;
    font-weight: 600;
}
.eq-demo-banner p {
    margin: 0;
    flex: 1 1 12rem;
}
.eq-demo-banner a,
.eq-demo-banner__cta {
    font-weight: 800;
    color: #1f7aa3;
    text-decoration: none;
}
.eq-demo-grid .eq-demo-form {
    margin-top: 0.85rem;
}
.eq-settings-last {
    margin: 0 0 0.85rem;
    padding: 0.45rem 0.65rem;
    border-radius: 0.55rem;
    background: #f4f8fb;
    color: var(--eq-teal-deep);
    font-size: 0.82rem;
    font-weight: 700;
}
.eq-settings-drive-fields .eq-brand-field:first-child {
    grid-column: 1 / -1;
}
.eq-settings-drive-fields textarea {
    min-height: 5.5rem;
    font-family: ui-monospace, Consolas, monospace;
    font-size: 0.8rem;
    direction: ltr;
    text-align: left;
}
.eq-settings-save {
    gap: 0.45rem;
    flex-wrap: wrap;
}
.eq-settings-ghost {
    display: none;
}
@media (max-width: 860px) {
    .eq-settings-links,
    .eq-settings-drive-fields {
        grid-template-columns: 1fr;
    }
    .eq-settings-link--wide {
        grid-column: auto;
    }
}

/* List / cards toggle â€” keep current teal/navy identity */
.eq-view-toggle {
    display: inline-flex;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--eq-line);
    border-radius: 0.7rem;
    background: #fff;
    overflow: hidden;
    flex: 0 0 auto;
}
.eq-view-toggle__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    border: 0;
    background: transparent;
    color: var(--eq-teal-deep);
    font: inherit;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.42rem 0.7rem;
    cursor: pointer;
    min-height: 2.35rem;
}
.eq-view-toggle__btn.is-active {
    background: var(--eq-teal);
    color: #fff;
}
.eq-view-toggle__btn + .eq-view-toggle__btn {
    border-inline-start: 1px solid var(--eq-line);
}
.eq-view-toggle__btn.is-active + .eq-view-toggle__btn,
.eq-view-toggle__btn + .eq-view-toggle__btn.is-active {
    border-inline-start-color: transparent;
}

/* Ù‚Ø§Ø¦Ù…Ø© = lignes simples */
[data-eq-list].is-list .eq-rows {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 0 !important;
}
[data-eq-list].is-list .eq-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0.55rem 0.35rem;
    border-radius: 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--eq-line);
    box-shadow: none;
}
[data-eq-list].is-list .eq-row:hover {
    background: #f7fbfd;
}
[data-eq-list].is-list .eq-row__actions {
    flex: 0 1 auto;
    width: auto;
}
[data-eq-list].is-list .eq-row__actions .eq-btn {
    min-height: 2.15rem;
    padding: 0.3rem 0.65rem;
    font-size: 0.8rem;
}

/* Ø¨Ø·Ø§Ù‚Ø§Øª = grille 2 colonnes (le design quâ€™on voyait Ã  tort sur Tableau) */
[data-eq-list].is-cards .eq-rows {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.7rem !important;
}
[data-eq-list].is-cards .eq-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start;
    flex-wrap: nowrap;
    margin: 0;
    background: #fff;
    border: 1px solid #dce7ee;
    border-radius: 0.95rem;
    padding: 0.95rem 1rem;
    box-shadow: 0 4px 14px rgba(53, 73, 90, 0.04);
    overflow: hidden;
    min-width: 0;
}
[data-eq-list].is-cards .eq-row.is-filter-hidden,
[data-eq-list].is-cards .eq-row.is-page-hidden,
[data-eq-list].is-list .eq-row.is-filter-hidden,
[data-eq-list].is-list .eq-row.is-page-hidden,
[data-eq-list="halaqat"].is-list .eq-row.is-filter-hidden,
[data-eq-list="halaqat"].is-list .eq-row.is-page-hidden,
[data-eq-list="halaqat"].is-cards .eq-row.is-filter-hidden,
[data-eq-list="halaqat"].is-cards .eq-row.is-page-hidden {
    display: none !important;
}
[data-eq-list].is-cards .eq-row:hover {
    background: #f7fbfd;
    border-color: color-mix(in srgb, var(--eq-teal) 35%, #dce7ee);
}
[data-eq-list].is-cards .eq-row__who,
[data-eq-list].is-cards .eq-row__body {
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    min-width: 0;
}
[data-eq-list].is-cards .eq-row__actions {
    width: 100% !important;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-top: 0.15rem;
}
[data-eq-list].is-cards .eq-empty {
    grid-column: 1 / -1;
}
@media (min-width: 980px) {
    [data-eq-list].is-cards .eq-rows {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Ø¬Ø¯ÙˆÙ„ = vrai <table> HTML */
[data-eq-list].is-table > .eq-rows {
    display: none !important;
}
[data-eq-list]:not(.is-table) > .eq-datatable-wrap {
    display: none !important;
}
.eq-datatable-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 0 0 0.25rem;
}
.eq-datatable-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #d5e2ea;
    border-radius: 0.75rem;
    background: #fff;
}
.eq-datatable {
    width: 100%;
    min-width: 44rem;
    border-collapse: collapse;
    table-layout: fixed;
    font-family: "Cairo", Tahoma, sans-serif;
    font-size: 0.92rem;
    line-height: 1.45;
}
.eq-datatable thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #35495A;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    text-align: start;
    vertical-align: middle;
    padding: 0.18rem 0.4rem;
    border-bottom: 1px solid #2a3a48;
    height: auto;
}
.eq-datatable__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.eq-datatable__headfield {
    display: block;
    margin: 0;
    position: relative;
}
.eq-datatable__headfield::before {
    content: "";
    position: absolute;
    top: 50%;
    inset-inline-start: 0.45rem;
    width: 0.7rem;
    height: 0.7rem;
    transform: translateY(-50%);
    border: 1.6px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 1;
}
.eq-datatable__headfield::after {
    content: "";
    position: absolute;
    top: 50%;
    inset-inline-start: 0.98rem;
    width: 0.34rem;
    height: 1.6px;
    transform: translateY(-50%) rotate(45deg);
    background: rgba(255, 255, 255, 0.85);
    pointer-events: none;
    z-index: 1;
}
html[dir="rtl"] .eq-datatable__headfield::after {
    transform: translateY(-50%) rotate(-45deg);
}
.eq-datatable__heading {
    display: block;
    font-family: "Cairo", Tahoma, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.15;
    padding: 0.2rem 0.1rem;
}
.eq-datatable__filter {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0.2rem 0.45rem;
    border: 1px solid transparent;
    border-radius: 0.35rem;
    background: transparent;
    color: #fff;
    font-family: "Cairo", Tahoma, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.15;
    min-height: 1.55rem;
}
.eq-datatable__filter--title {
    padding-inline-start: 1.65rem;
    background: rgba(255, 255, 255, 0.14);
    border: 1px dashed rgba(255, 255, 255, 0.55);
    box-shadow: inset 0 0 0 1px rgba(65, 178, 217, 0.15);
}
.eq-datatable__filter--title::placeholder {
    color: rgba(255, 255, 255, 0.92);
    opacity: 1;
    font-weight: 700;
}
.eq-datatable__filter--title:hover {
    background: rgba(255, 255, 255, 0.2);
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.7);
}
.eq-datatable__filter--title:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.22);
    border-style: solid;
    border-color: #41b2d9;
    box-shadow: 0 0 0 2px rgba(65, 178, 217, 0.4);
    font-weight: 700;
}
.eq-datatable__filter--title.is-filled {
    background: rgba(65, 178, 217, 0.32);
    border-style: solid;
    border-color: #41b2d9;
    font-weight: 700;
}
.eq-datatable tbody td {
    padding: 0.55rem 0.7rem;
    border-bottom: 1px solid #e6eef3;
    vertical-align: middle;
    background: #fff;
    font-family: "Cairo", Tahoma, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #35495A;
}
.eq-datatable tbody tr:nth-child(even) td {
    background: #f5fafc;
}
.eq-datatable tbody tr:hover td {
    background: color-mix(in srgb, var(--eq-teal) 12%, #fff);
}
.eq-datatable tbody tr:last-child td {
    border-bottom: 0;
}
.eq-datatable tbody tr.is-filter-hidden,
.eq-datatable tbody tr.is-page-hidden,
.eq-datatable tbody tr[hidden] {
    display: none !important;
}
.eq-datatable__th-photo,
.eq-datatable__photo {
    width: 3.6rem;
    text-align: center;
    vertical-align: middle;
}
.eq-datatable__photo .eq-row__face,
.eq-datatable__photo .eq-row__face--empty {
    width: 2.35rem;
    height: 2.35rem;
    margin: 0 auto;
    display: inline-flex;
}
.eq-datatable__photo .eq-row__face img,
.eq-datatable__photo .eq-row__face--round img {
    width: 2.35rem;
    height: 2.35rem;
}
.eq-datatable--photos {
    min-width: 48rem;
}
.eq-datatable__name {
    width: 22%;
}
.eq-datatable--photos .eq-datatable__name {
    width: 20%;
}
.eq-datatable__details {
    width: auto;
}
.eq-datatable__acts,
.eq-datatable__th-actions {
    width: 34%;
}
.eq-datatable-empty {
    margin: 0.85rem 0.4rem 0.35rem;
    text-align: center;
    font-family: "Cairo", Tahoma, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #5a6d7a;
}
.eq-datatable__name .eq-row__title {
    font-family: "Cairo", Tahoma, sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: #35495A;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.35;
}
.eq-datatable__details .eq-row__meta--pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
}
.eq-datatable__acts {
    white-space: nowrap;
}
.eq-datatable__acts .eq-row__actions {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.28rem;
    width: 100%;
    padding: 0;
    margin: 0;
}
.eq-datatable__acts .eq-btn {
    min-height: 1.95rem;
    padding: 0.2rem 0.5rem;
    font-family: "Cairo", Tahoma, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
}
.eq-datatable-wrap > .eq-pager {
    margin-top: 0;
}
@media (max-width: 900px) {
    .eq-datatable__acts .eq-btn__label {
        display: none;
    }
    .eq-datatable__acts .eq-btn {
        padding: 0.28rem 0.4rem;
    }
}

.eq-cal {
    background: var(--eq-card);
    border: 1px solid #dce7ee;
    border-radius: 1rem;
    padding: 0.9rem 1rem 1rem;
    margin: 0 0 1rem;
}
.eq-cal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}
.eq-cal__title {
    margin: 0;
    font-family: "Cairo", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--eq-teal-deep);
    text-align: center;
    flex: 1 1 auto;
}
.eq-cal__week,
.eq-cal__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.28rem;
}
.eq-cal__dow {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--eq-muted);
    padding: 0.2rem 0 0.35rem;
}
.eq-cal__cell {
    min-height: 2.6rem;
    border: 1px solid transparent;
    border-radius: 0.55rem;
    background: #f7fbfd;
    color: var(--eq-ink);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.05rem;
    padding: 0.2rem;
}
.eq-cal__cell--empty {
    background: transparent;
    pointer-events: none;
}
.eq-cal__cell.has-events {
    border-color: color-mix(in srgb, var(--eq-teal) 45%, #dce7ee);
    background: color-mix(in srgb, var(--eq-teal) 12%, #fff);
}
.eq-cal__cell.is-today {
    box-shadow: inset 0 0 0 1.5px var(--eq-teal);
}
.eq-cal__cell.is-selected {
    background: var(--eq-teal);
    border-color: var(--eq-teal);
    color: #fff;
}
.eq-cal__count {
    font-size: 0.62rem;
    font-weight: 800;
    opacity: 0.85;
}
.eq-cal__all {
    display: block;
    width: 100%;
    margin-top: 0.65rem;
    border: 1px dashed var(--eq-line);
    border-radius: 0.6rem;
    background: transparent;
    color: var(--eq-teal-deep);
    font: inherit;
    font-weight: 700;
    padding: 0.45rem;
    cursor: pointer;
}
.eq-cal__all:hover,
.eq-cal__cell:hover:not(.eq-cal__cell--empty) {
    border-color: var(--eq-teal);
}

@media (max-width: 720px) {
    .eq-view-toggle__btn .eq-btn__label {
        display: none;
    }
    .eq-view-toggle__btn {
        padding: 0.42rem 0.6rem;
    }
    .eq-cal__head .eq-btn__label {
        display: none;
    }
}

/* Unified lists / icons / leads */
.eq-lead {
    background: #eaf6fb;
    border: 1px solid color-mix(in srgb, #41b2d9 30%, #dce7ee);
    color: #35495A;
    border-radius: 0.9rem;
    padding: 0.8rem 1rem;
    margin: 0 0 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.6;
}
.eq-row__mark {
    width: 2.65rem;
    height: 2.65rem;
    flex: 0 0 auto;
    border-radius: 0.75rem;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--eq-teal) 14%, white);
    color: var(--eq-teal);
    border: 1px solid color-mix(in srgb, var(--eq-teal) 22%, #dce7ee);
}
.eq-row__mark--sm {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 0.55rem;
}
.eq-row__mark--sm .eq-ico,
.eq-row__mark--sm .sh-icon {
    width: 0.95rem;
    height: 0.95rem;
}
.eq-row__mark--open {
    background: color-mix(in srgb, #0f7a45 12%, white);
    color: #0f7a45;
    border-color: color-mix(in srgb, #0f7a45 28%, #dce7ee);
}
.eq-row__mark--full {
    background: #fde8e8;
    color: #9b1c1c;
    border-color: color-mix(in srgb, #9b1c1c 22%, #fde8e8);
}
.eq-row__mark--soon {
    background: #e8f4fc;
    color: #1a7aa8;
    border-color: color-mix(in srgb, #41b2d9 28%, #dce7ee);
}
.eq-row__mark .eq-ico,
.eq-row__mark .sh-icon {
    width: 1.25rem;
    height: 1.25rem;
}
.eq-row__headline {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    max-width: 100%;
    min-width: 0;
}
.eq-row__headline .eq-row__title {
    display: inline;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
}
.eq-row__headline .eq-site-pill {
    flex: 0 0 auto;
    align-self: center;
}

/* Halaqat list/cards: tighter, less scattered */
[data-eq-list="halaqat"].is-list .eq-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem 0.75rem;
    align-items: center;
    padding: 0.65rem 0.4rem;
}
[data-eq-list="halaqat"].is-list .eq-row__who {
    min-width: 0;
}
[data-eq-list="halaqat"].is-list .eq-row__actions {
    justify-content: flex-end;
    max-width: 100%;
}
[data-eq-list="halaqat"].is-cards .eq-row {
    gap: 0.65rem;
}
[data-eq-list="halaqat"].is-cards .eq-row__who {
    align-items: flex-start;
}
[data-eq-list="halaqat"].is-cards .eq-row__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
[data-eq-list="halaqat"] .eq-row__meta--pills {
    margin-top: 0.28rem;
}
[data-eq-list="halaqat"] .eq-row__meta--pills .eq-dropcheck__chip {
    max-width: min(100%, 18rem);
}
.eq-row__actions .eq-btn {
    min-height: 2.15rem;
    padding: 0.32rem 0.7rem;
    font-size: 0.8rem;
}
.eq-toolbar__end .eq-btn--primary {
    min-height: 2.5rem;
    padding-inline: 1rem;
}
.eq-tile__icon .sh-icon {
    width: 1.2rem;
    height: 1.2rem;
}

.eq-pip-fallback {
    position: fixed;
    z-index: 10050;
    left: 50%;
    bottom: 1.25rem;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    max-width: min(34rem, calc(100vw - 1.5rem));
    padding: 0.7rem 0.85rem;
    border-radius: 0.85rem;
    background: #35495A;
    color: #fff;
    box-shadow: 0 10px 28px rgba(26, 45, 56, 0.28);
    font-size: 0.86rem;
}
.eq-pip-fallback[hidden] { display: none !important; }
.eq-pip-fallback__txt { flex: 1 1 auto; min-width: 0; line-height: 1.35; }
.eq-pip-fallback__btn {
    flex: 0 0 auto;
    padding: 0.35rem 0.7rem;
    border-radius: 0.55rem;
    background: #41b2d9;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 800;
    white-space: nowrap;
}
.eq-pip-fallback__x {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.85;
}

.eq-quran-tabs {
    display: flex;
    gap: 0.45rem;
    margin: 0 0 0.85rem;
    padding: 0.3rem;
    border-radius: 0.9rem;
    background: #eef3f6;
}
.eq-quran-tabs__tab {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.55rem 0.8rem;
    border: 1px solid transparent;
    border-radius: 0.7rem;
    background: transparent;
    color: var(--eq-teal-deep);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
}
.eq-quran-tabs__tab.is-active {
    background: #fff;
    border-color: #dbe4ea;
    box-shadow: 0 4px 12px rgba(53, 73, 90, 0.06);
}
.eq-adkar {
    display: grid;
    gap: 0.85rem;
}
.eq-adkar__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.eq-adkar__cat {
    padding: 0.4rem 0.75rem;
    border: 1px solid #dbe4ea;
    border-radius: 999px;
    background: #fff;
    color: var(--eq-teal-deep);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}
.eq-adkar__cat.is-active {
    background: var(--eq-sidebar, #35495A);
    border-color: transparent;
    color: #fff;
}
.eq-adkar__list {
    display: grid;
    gap: 0.75rem;
}
.eq-adkar__card {
    padding: 1rem 1.05rem;
    border: 1px solid #e4e8ec;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 6px 16px rgba(53, 73, 90, 0.04);
}
.eq-adkar__card.is-done {
    border-color: color-mix(in srgb, #41b2d9 45%, #e4e8ec);
    background: #f4fbfd;
}
.eq-adkar__text {
    margin: 0 0 0.85rem;
    font-size: 1.12rem;
    line-height: 1.85;
    color: #1a2d38;
}
.eq-adkar__bar {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}
.eq-adkar__tap {
    display: inline-flex;
    align-items: baseline;
    gap: 0.25rem;
    min-width: 5.5rem;
    padding: 0.55rem 0.9rem;
    border: 0;
    border-radius: 0.75rem;
    background: var(--eq-brand, #41b2d9);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}
.eq-adkar__count {
    font-size: 1.15rem;
}
.eq-adkar__of {
    opacity: 0.85;
    font-size: 0.85rem;
}
.eq-adkar__reset {
    border: 1px solid #dbe4ea;
    border-radius: 0.7rem;
    background: #fff;
    color: var(--eq-muted);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.45rem 0.7rem;
    cursor: pointer;
}
.eq-adkar__card.is-done .eq-adkar__tap {
    background: #0f7a45;
}

/* Public school / halaqa capacity pills */
.eq-site-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.eq-site-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}
.eq-site-pill .sh-icon {
  width: 0.85rem;
  height: 0.85rem;
  flex: 0 0 auto;
}
.eq-site-pill--full {
  background: #fde8e8;
  color: #9b1c1c;
}
.eq-site-pill--open {
  background: #e6f7ef;
  color: #0f7a45;
}
.eq-site-pill--soon {
  background: #e8f4fc;
  color: #1a7aa8;
}
.eq-site-card.is-full {
  opacity: 0.92;
}

/* Access control panel (subscriptions) */
.eq-access-panel {
    padding: 1.15rem 1.2rem 1.25rem;
    display: grid;
    gap: 1rem;
}
.eq-access-panel__head {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}
.eq-access-panel__mark {
    flex: 0 0 auto;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 0.85rem;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, #41b2d9 16%, #fff);
    color: #1f6f8a;
}
.eq-access-panel__mark .eq-ico {
    width: 1.25rem;
    height: 1.25rem;
}
.eq-access-panel__title {
    margin: 0 0 0.25rem;
    font-size: 1.15rem;
    color: #1A1F24;
}
.eq-access-panel__lead {
    margin: 0;
    color: #5b6b78;
    font-size: 0.9rem;
    line-height: 1.55;
}
.eq-access-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}
.eq-access-fact {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.8rem 0.85rem;
    border: 1px solid #e8eef2;
    border-radius: 0.9rem;
    background: #f8fafb;
}
.eq-access-fact--on {
    border-color: color-mix(in srgb, #41b2d9 45%, #e8eef2);
    background: color-mix(in srgb, #41b2d9 10%, #fff);
}
.eq-access-fact__ico {
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border-radius: 0.65rem;
    display: grid;
    place-items: center;
    background: #fff;
    color: #1f6f8a;
    border: 1px solid #e4e8ec;
}
.eq-access-fact__ico .eq-ico {
    width: 1.05rem;
    height: 1.05rem;
}
.eq-access-fact__text {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}
.eq-access-fact__text strong {
    font-size: 0.9rem;
    color: #1A1F24;
}
.eq-access-fact__text span {
    font-size: 0.8rem;
    line-height: 1.45;
    color: #5b6b78;
}
.eq-access-form {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.eq-access-form .eq-settings-check {
    margin: 0;
}
.eq-access-form__field {
    display: grid;
    gap: 0.35rem;
    max-width: 22rem;
}
.eq-access-form__field > label {
    font-weight: 800;
    font-size: 0.88rem;
    color: #35495A;
}
.eq-access-form__hint {
    margin: 0;
    font-size: 0.8rem;
    color: #6b7780;
    line-height: 1.4;
}
.eq-access-form__input {
    max-width: 10rem;
}
.eq-access-form__actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 0.15rem;
}
.eq-access-form__actions .eq-btn {
    min-width: 9rem;
}
@media (max-width: 720px) {
    .eq-access-facts {
        grid-template-columns: 1fr;
    }
    .eq-access-form__field {
        max-width: none;
    }
    .eq-access-form__input {
        max-width: none;
    }
}

/* Rich searchable picks (photo + id) */
.eq-pick__opt--rich {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-align: start;
}
.eq-pick__avatar {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    object-fit: cover;
    flex: 0 0 auto;
    background: #eef5f9;
}
.eq-pick__avatar--ico {
    display: grid;
    place-items: center;
    color: #1f6f8a;
}
.eq-pick__avatar--ico .eq-ico {
    width: 1rem;
    height: 1rem;
}
.eq-pick__who {
    display: grid;
    gap: 0.1rem;
    min-width: 0;
}
.eq-pick__name {
    font-weight: 800;
    color: #1A1F24;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.eq-pick__meta {
    font-size: 0.78rem;
    color: #6b7780;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.eq-pick__value {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}
.eq-pick__value .eq-pick__avatar {
    width: 1.7rem;
    height: 1.7rem;
}
.eq-pick__value .eq-pick__who {
    min-width: 0;
}
.eq-pick__value .eq-pick__name {
    font-size: 0.92rem;
}
.eq-finance-due {
    margin-bottom: 0.85rem;
    padding: 0.95rem 1.05rem;
}
.eq-finance-due .eq-toolbar {
    margin: 0.55rem 0 0;
    gap: 0.45rem;
}
.eq-row.is-focus {
    outline: 2px solid color-mix(in srgb, #41b2d9 55%, transparent);
    outline-offset: 1px;
}

/* Settings — alerts + backup tab layout */
body.eq-hubsettings .eq-settings-alerts {
    margin-bottom: 0.85rem;
}
body.eq-hubsettings .eq-settings-alerts .eq-flash {
    margin-bottom: 0.45rem;
}
body.eq-hubsettings .eq-settings-alerts .eq-flash:last-child {
    margin-bottom: 0;
}
body.eq-hubsettings .toast-wrapper,
body.eq-hubsettings #region-main > .alert {
    display: none !important;
}
.eq-settings-page[data-eq-settings-page="backup"] .eq-set-body {
    padding: 0.85rem 1rem 1.2rem;
    background: linear-gradient(180deg, #f3f8fb 0%, #fff 12rem);
}
.eq-setpanel-body,
.eq-settings-page .eq-set-body.eq-setpanel-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0.85rem 1rem 1.2rem;
    background: linear-gradient(180deg, #f3f8fb 0%, #fff 12rem);
}
.eq-set-stack {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.eq-settings-page .eq-brand-box {
    padding: 0.95rem 1rem 1.05rem;
    background: #fff;
    border: 1px solid #e4ebf0;
    border-radius: 1rem;
    border-inline-start: 3px solid #41b2d9;
    box-shadow: 0 4px 16px rgba(53, 73, 90, 0.04);
}
.eq-settings-page .eq-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
    gap: 0.55rem;
    margin-bottom: 0.75rem;
}
.eq-settings-page .eq-metrics__card {
    padding: 0.65rem 0.75rem;
    border-radius: 0.75rem;
    background: #f7fafc;
    border: 1px solid #e8edf2;
}
.eq-nav-subnav.eq-set-card {
    padding: 0.45rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    border-inline-start-width: 1px;
}
.eq-nav-subnav.eq-set-card .eq-nav-subnav__tab.is-active {
    background: #35495a;
    color: #fff;
}
.eq-backup-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.eq-backup-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.1rem;
    padding: 1rem 1.1rem;
    border-radius: 1.1rem;
    border: 1px solid #c5e4f0;
    background: linear-gradient(135deg, #35495a 0%, #2a6f8a 52%, #41b2d9 100%);
    color: #fff;
    box-shadow: 0 10px 28px rgba(53, 73, 90, 0.14);
}
.eq-backup-hero.is-off {
    background: linear-gradient(135deg, #4a5560 0%, #5a6875 100%);
    border-color: #8a9aa8;
}
.eq-backup-hero__icon {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    flex: 0 0 auto;
}
.eq-backup-hero__icon .eq-ico {
    width: 1.65rem;
    height: 1.65rem;
    color: #fff;
}
.eq-backup-hero__body {
    flex: 1 1 14rem;
    min-width: 0;
}
.eq-backup-hero__title {
    margin: 0;
    font-family: "Cairo", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
}
.eq-backup-hero__lead {
    margin: 0.3rem 0 0;
    font-size: 0.84rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.86);
}
.eq-backup-hero__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.65rem;
}
.eq-backup-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word;
}
.eq-backup-pill.is-ok {
    background: rgba(231, 246, 238, 0.18);
    border-color: rgba(183, 235, 203, 0.45);
}
.eq-backup-pill .eq-ico {
    width: 0.95rem;
    height: 0.95rem;
    flex: 0 0 auto;
}
.eq-backup-hero__drive {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--eq-teal-deep);
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
    flex: 0 0 auto;
}
.eq-backup-hero__drive:hover {
    background: #fff;
    color: #2a6f8a;
}
.eq-backup-hero__drive .eq-ico {
    width: 1rem;
    height: 1rem;
}
.eq-backup-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(16rem, 1fr);
    gap: 0.85rem;
    align-items: start;
}
.eq-backup-main,
.eq-backup-aside {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-width: 0;
}
.eq-backup-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.eq-backup-card {
    padding: 0.95rem 1rem 1.05rem;
    background: #fff;
    border: 1px solid #e4ebf0;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(53, 73, 90, 0.04);
}
.eq-backup-card--step {
    border-inline-start: 3px solid #41b2d9;
}
.eq-backup-card--aside {
    background: #f8fafc;
}
.eq-backup-step__head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.eq-backup-step__head--compact {
    margin-bottom: 0.55rem;
}
.eq-backup-step__badge {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.75rem;
    background: linear-gradient(145deg, #eef8fc, #dceef8);
    border: 1px solid #c5e4f0;
    position: relative;
}
.eq-backup-step__badge--icon {
    background: #35495a;
    border-color: #35495a;
}
.eq-backup-step__badge--icon .eq-ico {
    color: #fff;
    width: 1.15rem;
    height: 1.15rem;
}
.eq-backup-step__num {
    position: absolute;
    top: -0.35rem;
    inset-inline-end: -0.35rem;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: #41b2d9;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    line-height: 1;
}
.eq-backup-step__badge .eq-ico {
    width: 1.1rem;
    height: 1.1rem;
    color: var(--eq-teal-deep);
}
.eq-backup-step__copy {
    flex: 1 1 auto;
    min-width: 0;
}
.eq-backup-card__title {
    margin: 0;
    font-family: "Cairo", sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--eq-teal-deep);
}
.eq-backup-card__lead {
    margin: 0.35rem 0 0;
    color: var(--eq-muted);
    font-size: 0.82rem;
    line-height: 1.5;
    font-weight: 600;
}
.eq-backup-card__meta {
    margin: 0 0 0.35rem;
    color: var(--eq-muted);
    font-size: 0.8rem;
    line-height: 1.45;
    font-weight: 600;
}
.eq-backup-card__meta--accent {
    color: #2a6f8a;
    font-weight: 800;
}
.eq-backup-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.65rem;
    margin-top: 0.75rem;
}
.eq-backup-prod {
    margin-top: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.75rem;
    background: #f4fafd;
    border: 1px solid #d4eaf4;
}
.eq-backup-uri-box {
    flex: 1 1 100%;
    margin-top: 0.15rem;
}
.eq-backup-uri__label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.72rem;
    font-weight: 800;
    color: #5a7385;
}
.eq-backup-uri__code {
    display: block;
    padding: 0.55rem 0.65rem;
    border-radius: 0.55rem;
    background: #f7fafc;
    border: 1px dashed #c5d4de;
    color: #2a6f8a;
    font-size: 0.74rem;
    line-height: 1.45;
    word-break: break-all;
    direction: ltr;
    text-align: left;
    font-weight: 600;
}
.eq-backup-connected {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #e7f6ee;
    border: 1px solid #b7ebcc;
    color: #0f7a45;
    font-size: 0.78rem;
    font-weight: 800;
}
.eq-backup-connected .eq-ico {
    width: 1rem;
    height: 1rem;
}
.eq-backup-actions {
    position: sticky;
    bottom: 0.35rem;
    z-index: 2;
    padding: 0.75rem 0.85rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #dce8ef;
    border-radius: 1rem;
    box-shadow: 0 -6px 22px rgba(53, 73, 90, 0.08);
    backdrop-filter: blur(8px);
}
.eq-backup-actions .eq-btn--primary {
    margin-inline-start: auto;
}
.eq-btn--icon {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.eq-btn--icon .eq-ico {
    width: 1rem;
    height: 1rem;
}
body.eq-hubsettings .eq-backup-card__actions .eq-btn--ghost {
    background: #fff;
    border: 1px solid #d4e0e8;
    color: var(--eq-teal-deep);
}
.eq-settings-drive-fields--single {
    grid-template-columns: 1fr;
    max-width: 16rem;
}
.eq-backup-files {
    margin-top: 0.15rem;
}
.eq-log-item--compact {
    grid-template-columns: 1fr;
    gap: 0.2rem;
}
@media (max-width: 900px) {
    .eq-backup-grid {
        grid-template-columns: 1fr;
    }
    .eq-backup-actions {
        position: static;
    }
    .eq-backup-actions .eq-btn--primary {
        margin-inline-start: 0;
    }
}
@media (max-width: 640px) {
    .eq-backup-hero {
        flex-direction: column;
        align-items: stretch;
    }
    .eq-backup-hero__drive {
        justify-content: center;
    }
}

/* Public legal pages (privacy / terms) */
body.eq-legal-page .eq-legal-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
body.eq-legal-page .eq-legal-main {
    flex: 1;
    max-width: 52rem;
    margin-inline: auto;
    width: 100%;
    padding: 1.5rem 1rem 2.5rem;
}
.eq-legal-doc {
    background: #fff;
    border: 1px solid #dce6ee;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(53, 73, 90, 0.08);
    overflow: hidden;
}
.eq-legal-doc__head {
    padding: 1.75rem 1.75rem 1.25rem;
    background: linear-gradient(135deg, #35495a 0%, #2a6f7a 100%);
    color: #fff;
}
.eq-legal-doc__badge {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.85;
}
.eq-legal-doc__head h1 {
    margin: 0 0 0.65rem;
    font-size: 1.65rem;
    color: #fff;
}
.eq-legal-doc__head .eq-site-lead {
    margin: 0 0 0.75rem;
    color: rgba(255, 255, 255, 0.92);
}
.eq-legal-doc__meta {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.88;
}
.eq-legal-doc__body {
    padding: 1.5rem 1.75rem 0.5rem;
}
.eq-legal-section + .eq-legal-section {
    margin-top: 1.35rem;
    padding-top: 1.35rem;
    border-top: 1px solid #e8eef3;
}
.eq-legal-section h2 {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    color: #35495a;
}
.eq-legal-doc__foot {
    padding: 1rem 1.75rem 1.5rem;
    border-top: 1px solid #e8eef3;
    background: #f7fafc;
}
.eq-legal-doc__seealso,
.eq-legal-doc__contact {
    margin: 0.35rem 0;
    font-size: 0.92rem;
}
.eq-legal-doc__foot a {
    color: #2a6f7a;
    font-weight: 600;
}
.eq-legal-foot {
    padding-top: 0;
}
.eq-site-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.65rem;
    margin: 1rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    width: min(1120px, 100%);
}
.eq-site-legal__link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.48rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.eq-site-legal__link:hover,
.eq-site-legal__link:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(159, 212, 232, 0.75);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    outline: none;
}
.eq-site-legal__ico {
    display: inline-flex;
    width: 1.05rem;
    height: 1.05rem;
    opacity: 0.92;
}
.eq-site-legal__ico .sh-icon {
    width: 100%;
    height: 100%;
}
.eq-site-legal__txt {
    line-height: 1.2;
}
.eq-legal-consent {
    margin: 0.15rem 0 0;
    padding: 0.9rem 1rem;
    background: linear-gradient(180deg, #f3f9fc 0%, #eef5f9 100%);
    border: 1px solid #c8dce8;
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    grid-column: 1 / -1;
}
.eq-legal-consent__label {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.7rem;
    margin: 0;
    width: 100%;
    cursor: pointer;
}
.eq-legal-consent__check {
    flex: 0 0 1.05rem;
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 0.15rem;
    accent-color: #2a6f7a;
}
.eq-legal-consent__text {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #35495a;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}
.eq-legal-inline {
    display: inline;
    white-space: normal;
    color: #2a6f7a;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(42, 111, 122, 0.45);
}
.eq-legal-inline:hover,
.eq-legal-inline:focus-visible {
    color: #1f5560;
    text-decoration-color: currentColor;
}
@media (max-width: 640px) {
    .eq-site-legal {
        flex-direction: column;
        align-items: stretch;
    }
    .eq-site-legal__link {
        justify-content: center;
    }
}
@media (max-width: 640px) {
    .eq-legal-doc__head,
    .eq-legal-doc__body,
    .eq-legal-doc__foot {
        padding-inline: 1.1rem;
    }
}

.eq-guest-knock-stack {
    position: fixed;
    bottom: 5.5rem;
    inset-inline-start: 1rem;
    z-index: 10050;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    max-width: min(calc(100% - 2rem), 24rem);
}
.eq-guest-knock-stack[hidden] {
    display: none !important;
}
.eq-guest-knock {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    background: var(--eq-sidebar, #35495A);
    color: #fff;
    box-shadow: 0 6px 18px rgba(53, 73, 90, 0.28);
    font-size: 0.82rem;
    font-weight: 700;
    max-width: min(100%, 22rem);
    z-index: 1200;
}
body:not(.eq-meet-mode) .eq-guest-knock {
    position: relative;
    bottom: auto;
    inset-inline-start: auto;
}
.eq-guest-knock-stack .eq-guest-knock {
    position: relative;
    bottom: auto;
    inset-inline-start: auto;
}
.eq-guest-knock__form {
    display: inline;
    margin: 0;
}
.eq-meet-actions .eq-guest-knock {
    margin-inline-start: auto;
}
.eq-guest-knock[hidden] {
    display: none !important;
}
.eq-guest-knock__dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: #ffb347;
    flex: 0 0 auto;
    animation: eq-guest-pulse 1.2s ease-in-out infinite;
}
@keyframes eq-guest-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.85); }
}
.eq-guest-knock__text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}
.eq-guest-knock__ok,
.eq-guest-knock__no {
    border: 0;
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    flex: 0 0 auto;
}
.eq-guest-knock__ok {
    background: var(--eq-brand, #41b2d9);
    color: #fff;
}
.eq-guest-knock__no {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}
.eq-guest-queue {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--eq-line, #e4e8ec);
}
.eq-guest-invite-snippet {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--eq-line, #e4e8ec);
}
.eq-guest-invite-snippet .eq-filter__input {
    margin-bottom: 0.5rem;
    font-size: 0.82rem;
}
.eq-guest-queue__title {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--eq-sidebar, #35495A);
}
.eq-guest-queue__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--eq-line, #e4e8ec);
}
.eq-guest-queue__row .eq-inline-form {
    display: inline;
}
.eq-guest-queue__row .eq-row__actions {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}
.eq-site-pill--guest-wait {
    background: color-mix(in srgb, var(--eq-brand, #41b2d9) 18%, white);
    color: var(--eq-sidebar, #35495A);
    border: 1px solid color-mix(in srgb, var(--eq-brand, #41b2d9) 35%, #e4e8ec);
}
