/* Inner public pages — Hamgaman cream / teal / gold.
   Scoped to body.has-home-chrome:not(.is-home-platform) so the homepage is untouched. */

.site-page {
    --sp-radius: 20px;
    --sp-radius-sm: 14px;
    --sp-shadow: 0 14px 36px -16px rgba(11, 43, 27, 0.1);
    --sp-shadow-hover: 0 22px 44px -18px rgba(11, 43, 27, 0.16);
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

body.has-home-chrome:not(.is-home-platform) .site-page,
body.has-home-chrome.is-school .site-page {
    padding: 28px 0 80px;
    min-height: 56vh;
}

body.has-home-chrome:not(.is-home-platform) .site-page > .content,
body.has-home-chrome:not(.is-home-platform) .site-page > .container,
body.has-home-chrome:not(.is-home-platform) .site-page > .detail-course {
    animation: sp-enter 420ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)) both;
}

/* Opacity only: transform on these wrappers makes nested Bootstrap
   modals (position:fixed) sit under .modal-backdrop on body. */
@keyframes sp-enter {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---------- Page hero (existing .brsd blocks) ---------- */

body.has-home-chrome:not(.is-home-platform) .brsd {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    max-width: 100%;
    margin: 0 0 28px;
    padding: 22px 28px 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(250, 248, 242, 0.96) 100%);
    border: 1px solid var(--hp-border);
    border-radius: 24px;
    box-shadow: var(--sp-shadow, 0 14px 36px -16px rgba(11, 43, 27, 0.1));
}

body.has-home-chrome:not(.is-home-platform) .brsd > nav[aria-label="breadcrumb"] {
    order: -1;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100%;
}

body.has-home-chrome:not(.is-home-platform) .brsd h1,
body.has-home-chrome:not(.is-home-platform) .brsd .tahrir,
body.has-home-chrome:not(.is-home-platform) .brsd .ismb,
body.has-home-chrome:not(.is-home-platform) .brsd h3.tahrir {
    margin: 0;
    color: var(--hp-title);
    font-family: iran, Tahoma, sans-serif;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

body.has-home-chrome:not(.is-home-platform) .brsd h1::after,
body.has-home-chrome:not(.is-home-platform) .brsd .tahrir::after,
body.has-home-chrome:not(.is-home-platform) .brsd .ismb::after,
body.has-home-chrome:not(.is-home-platform) .brsd h3.tahrir::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin-top: 12px;
    border-radius: 99px;
    background: var(--hp-gold);
}

/* ---------- Breadcrumb trail ---------- */

body.has-home-chrome:not(.is-home-platform) .breadcrumb,
body.has-home-chrome.is-school .breadcrumb {
    --bs-breadcrumb-divider: "";
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    box-sizing: border-box;
    gap: 4px 0;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0;
    padding: 5px 6px;
    list-style: none;
    background: var(--hp-gold-light);
    border: 1px solid var(--hp-border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

body.has-home-chrome:not(.is-home-platform) .brsd .breadcrumb {
    margin: 0;
}

body.has-home-chrome:not(.is-home-platform) .site-page > .container:has(> nav[aria-label="breadcrumb"]),
body.has-home-chrome:not(.is-home-platform) .site-page > .container:has(> h1) {
    margin-bottom: 8px;
}

body.has-home-chrome:not(.is-home-platform) .site-page > .container > nav[aria-label="breadcrumb"] .breadcrumb,
body.has-home-chrome:not(.is-home-platform) .detail-course + .container .breadcrumb,
body.has-home-chrome:not(.is-home-platform) .container > nav[aria-label="breadcrumb"] .breadcrumb {
    margin: 0 0 16px;
}

body.has-home-chrome:not(.is-home-platform) .breadcrumb-item,
body.has-home-chrome.is-school .breadcrumb-item {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    max-width: 100%;
}

body.has-home-chrome:not(.is-home-platform) .breadcrumb-item:not(.active),
body.has-home-chrome:not(.is-home-platform) .breadcrumb-item:not(.active) a,
body.has-home-chrome.is-school .breadcrumb-item:not(.active),
body.has-home-chrome.is-school .breadcrumb-item:not(.active) a {
    flex: 0 0 auto;
}

body.has-home-chrome:not(.is-home-platform) .breadcrumb-item + .breadcrumb-item,
body.has-home-chrome.is-school .breadcrumb-item + .breadcrumb-item {
    padding-right: 0;
}

body.has-home-chrome:not(.is-home-platform) .breadcrumb-item + .breadcrumb-item::before,
body.has-home-chrome.is-school .breadcrumb-item + .breadcrumb-item::before {
    float: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    margin: 0 4px;
    padding: 0;
    border: 0;
    transform: none;
    color: var(--hp-gold-muted);
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    content: "‹";
}

body.has-home-chrome:not(.is-home-platform) .breadcrumb-item a,
body.has-home-chrome:not(.is-home-platform) .breadcrumb-item a.text-secondary,
body.has-home-chrome:not(.is-home-platform) .breadcrumb-item a.text-one,
body.has-home-chrome.is-school .breadcrumb-item a,
body.has-home-chrome.is-school .breadcrumb-item a.text-one {
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-height: 32px;
    padding: 4px 12px 4px 10px;
    border-radius: 999px;
    color: var(--hp-teal) !important;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

body.has-home-chrome:not(.is-home-platform) .breadcrumb-item:first-child a,
body.has-home-chrome.is-school .breadcrumb-item:first-child a {
    padding-right: 6px;
}

body.has-home-chrome:not(.is-home-platform) .breadcrumb-item:first-child a .bi,
body.has-home-chrome.is-school .breadcrumb-item:first-child a .bi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    margin-left: 6px;
    border-radius: 50%;
    background: var(--hp-white);
    box-shadow: inset 0 0 0 1px var(--hp-border);
    color: var(--hp-gold-muted);
    font-size: 13px;
}

body.has-home-chrome:not(.is-home-platform) .breadcrumb-item.active,
body.has-home-chrome:not(.is-home-platform) .breadcrumb-item.text-secondary.active,
body.has-home-chrome.is-school .breadcrumb-item.active {
    flex: 0 1 auto;
    min-width: 0;
    max-width: min(42ch, 70%);
    min-height: 32px;
    padding: 4px 14px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--hp-white);
    box-shadow: 0 1px 0 rgba(11, 43, 27, 0.04);
    color: var(--hp-title) !important;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.has-home-chrome:not(.is-home-platform) .breadcrumb-item a:focus-visible,
body.has-home-chrome.is-school .breadcrumb-item a:focus-visible {
    outline: 2px solid var(--hp-gold);
    outline-offset: 2px;
}

body.has-home-chrome:not(.is-home-platform) .breadcrumb-item a:active,
body.has-home-chrome.is-school .breadcrumb-item a:active {
    transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
    body.has-home-chrome:not(.is-home-platform) .breadcrumb-item a:hover,
    body.has-home-chrome.is-school .breadcrumb-item a:hover {
        background: var(--hp-white);
        color: var(--hp-teal-deep) !important;
    }
}

/* ---------- Auth ---------- */

body.has-home-chrome:not(.is-home-platform) .auth {
    display: flex;
    align-items: center;
    min-height: 52vh;
}

body.has-home-chrome:not(.is-home-platform) .auth .card {
    padding: 36px 32px;
    border: 1px solid var(--hp-border);
    border-radius: 28px;
    background: var(--hp-white);
    box-shadow: 0 24px 64px -28px rgba(11, 43, 27, 0.22);
}

body.has-home-chrome:not(.is-home-platform) .site-auth-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    text-align: center;
}

body.has-home-chrome:not(.is-home-platform) .site-auth-brand img {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
}

body.has-home-chrome:not(.is-home-platform) .site-auth-eyebrow {
    margin: 0;
    color: var(--hp-gold-muted);
    font-size: 12px;
    font-weight: 700;
}

body.has-home-chrome:not(.is-home-platform) .auth h2 {
    margin: 8px 0 16px;
    color: var(--hp-title);
    font-size: 26px;
    font-weight: 800;
    text-align: center;
}

body.has-home-chrome:not(.is-home-platform) .auth .form-floating {
    margin-bottom: 4px;
}

body.has-home-chrome:not(.is-home-platform) .auth .btn-lg {
    min-height: 48px;
    margin-top: 8px;
    border-radius: 14px;
}

body.has-home-chrome:not(.is-home-platform) .auth h6,
body.has-home-chrome:not(.is-home-platform) .auth .border.rounded-h1 {
    margin-top: 8px;
    padding: 12px;
    border-color: var(--hp-border);
    border-radius: 14px;
    background: var(--hp-cream);
}

body.has-home-chrome:not(.is-home-platform) .auth h6 a {
    color: var(--hp-teal);
    font-weight: 700;
}

/* ---------- Cards / lists ---------- */

body.has-home-chrome:not(.is-home-platform) .edu-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--hp-border);
    border-radius: var(--sp-radius, 20px);
    background: var(--hp-white);
    box-shadow: var(--sp-shadow, 0 14px 36px -16px rgba(11, 43, 27, 0.1));
    transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

body.has-home-chrome:not(.is-home-platform) .edu-item a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

body.has-home-chrome:not(.is-home-platform) .edu-item .figure-inn,
body.has-home-chrome:not(.is-home-platform) .edu-item img {
    border-radius: 20px 20px 0 0;
}

body.has-home-chrome:not(.is-home-platform) .edu-item h4 {
    padding: 16px 16px 20px;
    color: var(--hp-title);
    font-weight: 800;
}

@media (hover: hover) and (pointer: fine) {
    body.has-home-chrome:not(.is-home-platform) .edu-item:hover {
        transform: translateY(-6px);
        box-shadow: var(--sp-shadow-hover, 0 22px 44px -18px rgba(11, 43, 27, 0.16));
    }
}

body.has-home-chrome:not(.is-home-platform) .content.webinar .border.rounded-h1,
body.has-home-chrome:not(.is-home-platform) .content.webinar .border {
    overflow: hidden;
    border: 1px solid var(--hp-border);
    border-radius: 20px;
    background: var(--hp-white);
    box-shadow: var(--sp-shadow, 0 14px 36px -16px rgba(11, 43, 27, 0.1));
    transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
    body.has-home-chrome:not(.is-home-platform) .content.webinar .border.rounded-h1:hover,
    body.has-home-chrome:not(.is-home-platform) .content.webinar .border:hover {
        transform: translateY(-4px);
        box-shadow: var(--sp-shadow-hover, 0 22px 44px -18px rgba(11, 43, 27, 0.16));
    }
}

/* ---------- Detail (course / product) ---------- */

body.has-home-chrome:not(.is-home-platform) .detail-course {
    margin-top: 8px;
}

body.has-home-chrome:not(.is-home-platform) .detail-course > .container > .row:first-of-type {
    margin-bottom: 8px;
    padding: 12px;
    border: 1px solid var(--hp-border);
    border-radius: 24px;
    background: var(--hp-white);
    box-shadow: var(--sp-shadow, 0 14px 36px -16px rgba(11, 43, 27, 0.1));
}

body.has-home-chrome:not(.is-home-platform) .detail-course .img-course,
body.has-home-chrome:not(.is-home-platform) .detail-course .zoom {
    padding: 8px;
    border: 0;
    border-radius: 18px;
    background: var(--hp-gold-soft);
}

body.has-home-chrome:not(.is-home-platform) .detail-course .img-course img,
body.has-home-chrome:not(.is-home-platform) .detail-course .zoom img {
    display: block;
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
}

body.has-home-chrome:not(.is-home-platform) .detail-course h1 {
    margin-bottom: 12px;
    color: var(--hp-title);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.4;
}

body.has-home-chrome:not(.is-home-platform) .detail-course .info p {
    color: var(--hp-muted);
    line-height: 1.9;
}

body.has-home-chrome:not(.is-home-platform) .detail-course .price {
    gap: 10px;
    padding: 20px;
    border: 1px solid var(--hp-border);
    border-radius: 18px;
    background: var(--hp-cream);
}

body.has-home-chrome:not(.is-home-platform) .detail-course .price:not(:has(*)) {
    display: none;
}

body.has-home-chrome:not(.is-home-platform) .detail-course .price .btn,
body.has-home-chrome:not(.is-home-platform) .detail-course .price .btn-detail {
    min-height: 46px;
    width: 100%;
}

body.has-home-chrome:not(.is-home-platform) .detail-course img[src*="border.png"],
body.has-home-chrome:not(.is-home-platform) .detail-course img[src*="border-xs.png"] {
    display: none;
}

body.has-home-chrome:not(.is-home-platform) .detail-course .courses {
    margin-top: 40px;
    padding: 28px 20px;
    border: 1px solid var(--hp-border);
    border-radius: 24px;
    background: var(--hp-white);
}

body.has-home-chrome:not(.is-home-platform) .detail-course .courses .tahrir,
body.has-home-chrome:not(.is-home-platform) .detail-course .courses p.h1 {
    margin-bottom: 20px;
    color: var(--hp-title);
    font-size: 26px;
    font-weight: 800;
}

body.has-home-chrome:not(.is-home-platform) .detail-course .nav-tabs {
    gap: 8px;
    border-bottom: 1px solid var(--hp-border);
}

body.has-home-chrome:not(.is-home-platform) .detail-course .nav-tabs .nav-link {
    margin: 0;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 12px 12px 0 0;
    color: var(--hp-muted);
    font-weight: 700;
}

body.has-home-chrome:not(.is-home-platform) .detail-course .nav-tabs .nav-link.active {
    color: #fff;
    background: var(--hp-teal);
    border-color: var(--hp-teal);
}

body.has-home-chrome:not(.is-home-platform) .accordion-item {
    overflow: hidden;
    margin-bottom: 8px;
    border: 1px solid var(--hp-border);
    border-radius: 14px;
    background: var(--hp-white);
}

body.has-home-chrome:not(.is-home-platform) .accordion-button {
    font-weight: 700;
    color: var(--hp-title);
    background: var(--hp-white);
}

/* ---------- Prose / article / about ---------- */

body.has-home-chrome:not(.is-home-platform) .contweb,
body.has-home-chrome:not(.is-home-platform) .content.article .contweb,
body.has-home-chrome:not(.is-home-platform) .content.webinar .contweb {
    max-width: 78ch;
    margin-inline: auto;
    padding: 32px 28px;
    border: 1px solid var(--hp-border);
    border-radius: 24px;
    background: var(--hp-white);
    box-shadow: var(--sp-shadow, 0 14px 36px -16px rgba(11, 43, 27, 0.1));
    color: var(--hp-muted);
    font-size: 17px;
    line-height: 1.95;
}

body.has-home-chrome:not(.is-home-platform) .content.article .barsd h1,
body.has-home-chrome:not(.is-home-platform) .content.article h1.text-one {
    margin: 8px 0 16px;
    color: var(--hp-title);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.4;
}

body.has-home-chrome:not(.is-home-platform) .content.article .barsd .hr,
body.has-home-chrome:not(.is-home-platform) .content.article hr.hr {
    width: 56px;
    height: 3px;
    margin: 0 0 16px auto;
    border: 0;
    background: var(--hp-gold);
    opacity: 1;
}

body.has-home-chrome:not(.is-home-platform) .content.article img.rounded-h1,
body.has-home-chrome:not(.is-home-platform) .content.article .py-3 img {
    border-radius: 20px;
    box-shadow: var(--sp-shadow, 0 14px 36px -16px rgba(11, 43, 27, 0.1));
}

body.has-home-chrome:not(.is-home-platform) .side-related .cat,
body.has-home-chrome:not(.is-home-platform) .cat {
    padding: 20px 16px 12px;
    border: 1px solid var(--hp-border);
    border-radius: 20px;
    background: var(--hp-white);
    box-shadow: var(--sp-shadow, 0 14px 36px -16px rgba(11, 43, 27, 0.1));
}

body.has-home-chrome:not(.is-home-platform) .side-related .bar,
body.has-home-chrome:not(.is-home-platform) .cat .bar {
    position: static;
    margin-bottom: 12px;
}

body.has-home-chrome:not(.is-home-platform) .side-related .bar h4,
body.has-home-chrome:not(.is-home-platform) .cat .bar h4 {
    margin: 0;
    color: var(--hp-title);
    font-size: 16px;
    font-weight: 800;
}

body.has-home-chrome:not(.is-home-platform) .side-related .bg-light,
body.has-home-chrome:not(.is-home-platform) .side-related a .bg-light {
    border: 1px solid var(--hp-border);
    border-radius: 14px;
    background: var(--hp-cream);
}

body.has-home-chrome:not(.is-home-platform) .side-related h4 {
    color: var(--hp-title);
    font-size: 14px;
    font-weight: 700;
}

/* Comments */

body.has-home-chrome:not(.is-home-platform) .cat.position-relative {
    margin-top: 24px;
    padding-top: 24px;
}

body.has-home-chrome:not(.is-home-platform) .cat h4 {
    color: var(--hp-title);
    font-weight: 800;
}

/* ---------- Cart ---------- */

body.has-home-chrome:not(.is-home-platform) .cart .cart-body,
body.has-home-chrome:not(.is-home-platform) .cart .side-cart,
body.has-home-chrome:not(.is-home-platform) .cart .location,
body.has-home-chrome:not(.is-home-platform) .cart-address-box {
    padding: 16px;
    border: 1px solid var(--hp-border);
    border-radius: 20px;
    background: var(--hp-white);
}

body.has-home-chrome:not(.is-home-platform) .cart .cart-body .card {
    position: relative;
    padding: 12px;
    border: 1px solid var(--hp-border);
    border-radius: 16px;
    background: var(--hp-cream);
}

body.has-home-chrome:not(.is-home-platform) .cart .cart-body .card img {
    border-radius: 12px;
}

body.has-home-chrome:not(.is-home-platform) .cart .quantity {
    overflow: hidden;
    border: 1px solid var(--hp-border);
    border-radius: 12px;
    background: var(--hp-white);
}

body.has-home-chrome:not(.is-home-platform) .cart .quantity .btn {
    border-radius: 0;
    box-shadow: none;
}

body.has-home-chrome:not(.is-home-platform) .cart .empty {
    min-height: 280px;
    padding: 48px 16px;
    border: 1px dashed var(--hp-border);
    border-radius: 24px;
    background: var(--hp-white);
}

body.has-home-chrome:not(.is-home-platform) .cart .empty img {
    max-width: 180px;
    opacity: 0.85;
}

body.has-home-chrome:not(.is-home-platform) .cart .alert {
    border-radius: 14px;
}

body.has-home-chrome:not(.is-home-platform) .side-cart li {
    color: var(--hp-muted);
}

body.has-home-chrome:not(.is-home-platform) .side-cart .text-dark.fw-bolder {
    color: var(--hp-title);
}

/* ---------- Search ---------- */

body.has-home-chrome:not(.is-home-platform) .search-page .number,
body.has-home-chrome:not(.is-home-platform) .search-page .box {
    list-style: none;
}

body.has-home-chrome:not(.is-home-platform) .search-page ul.p-0 > li.number {
    margin-bottom: 12px;
    padding: 18px 20px;
    border: 1px solid var(--hp-border);
    border-radius: 16px;
    background: var(--hp-white);
    box-shadow: var(--sp-shadow, 0 14px 36px -16px rgba(11, 43, 27, 0.1));
}

body.has-home-chrome:not(.is-home-platform) .search-page ul.p-0 > li.number.border-bottom {
    border-bottom: 1px solid var(--hp-border);
}

body.has-home-chrome:not(.is-home-platform) .search-page a.fw-bold {
    color: var(--hp-title);
}

body.has-home-chrome:not(.is-home-platform) .search-page .badge.bg-danger,
body.has-home-chrome:not(.is-home-platform) .search-page .bg-danger.badge {
    background: var(--hp-gold-soft) !important;
    color: var(--hp-gold-muted) !important;
}

body.has-home-chrome:not(.is-home-platform) .search-page .badge.bg-success a,
body.has-home-chrome:not(.is-home-platform) .search-page .badge.bg-success {
    background: var(--hp-teal);
    color: #fff;
}

body.has-home-chrome:not(.is-home-platform) .search-page .badge a {
    color: inherit;
    text-decoration: none;
}

body.has-home-chrome:not(.is-home-platform) .search-page .text-warning {
    padding: 0 2px;
    border-radius: 4px;
    background: var(--hp-gold-light);
    color: var(--hp-teal-deep);
}

body.has-home-chrome:not(.is-home-platform) .search-type-tabs {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    margin: 0 0 20px;
    padding: 4px 2px 12px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

body.has-home-chrome:not(.is-home-platform) .search-type-tab {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    padding: 8px 16px;
    border: 1px solid var(--hp-border);
    border-radius: 999px;
    background: var(--hp-white);
    color: var(--hp-title);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 160ms cubic-bezier(0.23, 1, 0.32, 1), color 160ms cubic-bezier(0.23, 1, 0.32, 1), border-color 160ms cubic-bezier(0.23, 1, 0.32, 1), transform 120ms cubic-bezier(0.23, 1, 0.32, 1);
}

body.has-home-chrome:not(.is-home-platform) .search-type-tab:hover {
    border-color: var(--hp-gold);
    background: var(--hp-gold-soft);
    color: var(--hp-teal-deep);
}

body.has-home-chrome:not(.is-home-platform) .search-type-tab:active {
    transform: scale(0.97);
}

body.has-home-chrome:not(.is-home-platform) .search-type-tab.is-active {
    border-color: var(--hp-teal);
    background: var(--hp-teal);
    color: #fff;
}

body.has-home-chrome:not(.is-home-platform) .search-type-tab:focus-visible {
    outline: 2px solid var(--hp-gold);
    outline-offset: 2px;
}

/* ---------- Contact ---------- */

body.has-home-chrome:not(.is-home-platform) .contactus .contact-form,
body.has-home-chrome:not(.is-home-platform) .contactus .cat {
    padding: 28px 24px;
    border-radius: 24px;
}

body.has-home-chrome:not(.is-home-platform) .contactus h4.text-one {
    margin-bottom: 16px;
    color: var(--hp-title);
    font-size: 20px;
    font-weight: 800;
}

body.has-home-chrome:not(.is-home-platform) .contactus .contact-form ul li a,
body.has-home-chrome:not(.is-home-platform) .contactus .cat a.text-dark {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: var(--hp-muted);
    text-decoration: none;
}

body.has-home-chrome:not(.is-home-platform) .contactus .bi-telegram,
body.has-home-chrome:not(.is-home-platform) .contactus .bi-instagram {
    color: var(--hp-teal);
}

/* ---------- Panel ---------- */

body.has-home-chrome:not(.is-home-platform) .site-panel {
    padding-top: 8px;
    padding-bottom: 48px;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-layout {
    align-items: flex-start;
    margin: 0 -8px;
    width: auto;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-col-nav,
body.has-home-chrome:not(.is-home-platform) .site-panel-col-main {
    padding: 8px;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-aside {
    position: sticky;
    top: calc(var(--hp-chrome, 138px) + 12px);
}

body.has-home-chrome:not(.is-home-platform) .site-panel-menu {
    display: block;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-menu-check {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-menu-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 10px;
    padding: 12px 16px;
    border: 1px solid var(--hp-border);
    border-radius: 16px;
    background: var(--hp-white);
    color: var(--hp-title);
    font-weight: 800;
    cursor: pointer;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-menu-toggle .bi {
    color: var(--hp-teal);
}

body.has-home-chrome:not(.is-home-platform) .site-panel .panel-side,
body.has-home-chrome:not(.is-home-platform) .site-panel .card.panel-side {
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--hp-border);
    border-radius: 24px;
    background: var(--hp-white);
    box-shadow: var(--sp-shadow, 0 14px 36px -16px rgba(11, 43, 27, 0.1));
}

body.has-home-chrome:not(.is-home-platform) .site-panel .panel-side .card-header {
    display: block;
    min-height: 0;
    height: auto;
    padding: 22px 20px 20px;
    background:
        linear-gradient(180deg, rgba(197, 168, 114, 0.95) 0%, rgba(197, 168, 114, 0.95) 4px, transparent 4px),
        linear-gradient(160deg, var(--hp-teal) 0%, var(--hp-teal-deep) 100%);
    border: 0;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-identity {
    display: flex;
    gap: 14px;
    align-items: center;
    min-width: 0;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-identity-copy {
    min-width: 0;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .panel-side .card-header img,
body.has-home-chrome:not(.is-home-platform) .site-panel-identity img {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border: 2px solid var(--hp-gold-light);
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-identity-kicker {
    margin: 0 0 4px;
    color: var(--hp-gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .panel-side .card-header h2,
body.has-home-chrome:not(.is-home-platform) .site-panel-identity-copy h2 {
    margin: 0;
    overflow: hidden;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-identity-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .panel-side .card-body {
    margin-top: 0;
    padding: 12px 12px 16px;
    border: 0;
    background: var(--hp-white);
}

body.has-home-chrome:not(.is-home-platform) .site-panel-nav-label {
    margin: 10px 8px 6px;
    color: var(--hp-gold-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .panel-side .card-body ul,
body.has-home-chrome:not(.is-home-platform) .site-panel-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .panel-side .card-body ul li,
body.has-home-chrome:not(.is-home-platform) .site-panel-nav li {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 0;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .panel-side .card-body ul li a {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin: 0 0 4px;
    padding: 8px 10px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--hp-muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color 160ms ease-out, color 160ms ease-out, transform 160ms ease-out;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-nav-item {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    align-items: center;
    gap: 10px;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-nav-icon {
    display: inline-flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--hp-gold-soft);
    color: var(--hp-teal);
}

body.has-home-chrome:not(.is-home-platform) .site-panel-nav-icon .bi {
    display: flex;
    line-height: 1;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .panel-side .card-body ul li a .bi-arrow-left {
    display: flex;
    flex: 0 0 16px;
    align-items: center;
    justify-content: center;
    width: 16px;
    overflow: visible;
    margin-inline-start: auto;
    opacity: 0;
    transform: none;
    animation: none;
    transition: opacity 160ms ease-out;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .panel-side .card-body ul li a.active .bi-arrow-left,
body.has-home-chrome:not(.is-home-platform) .site-panel .panel-side .card-body ul li a:hover .bi-arrow-left {
    width: 16px;
    opacity: 0.7;
    transform: none;
    animation: none;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .panel-side .card-body ul li a.active,
body.has-home-chrome:not(.is-home-platform) .site-panel .panel-side .card-body ul li a:hover {
    background: var(--hp-gold-soft);
    border-right: 0;
    color: var(--hp-teal);
}

body.has-home-chrome:not(.is-home-platform) .site-panel .panel-side .card-body ul li a.active .site-panel-nav-icon {
    background: var(--hp-teal);
    color: #fff;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .panel-side .card-body ul li a:active {
    transform: scale(0.98);
}

body.has-home-chrome:not(.is-home-platform) .site-panel-badge {
    display: inline-flex;
    min-width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    margin-inline-start: auto;
    padding: 0 6px;
    border-radius: 99px;
    background: var(--hp-teal);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-logout {
    margin-top: 6px;
    color: #8a3b32;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-logout .site-panel-nav-icon {
    background: #f6e4e0;
    color: #8a3b32;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .panel-side .card-body ul li a.site-panel-logout:hover {
    background: #f6e4e0;
    color: #6f2c24;
}

body.has-home-chrome:not(.is-home-platform) .site-panel > .container > .row > [class*="col-"] > .card,
body.has-home-chrome:not(.is-home-platform) .site-panel .card {
    overflow: hidden;
    height: auto;
    min-height: 100%;
    padding: 0;
    border: 1px solid var(--hp-border);
    border-radius: 24px;
    background: var(--hp-white);
    box-shadow: var(--sp-shadow, 0 14px 36px -16px rgba(11, 43, 27, 0.1));
}

body.has-home-chrome:not(.is-home-platform) .site-panel .card-header,
body.has-home-chrome:not(.is-home-platform) .site-panel-page-head {
    background: transparent;
    border-bottom: 1px solid var(--hp-border);
}

body.has-home-chrome:not(.is-home-platform) .site-panel .card-header h1,
body.has-home-chrome:not(.is-home-platform) .site-panel .card-header .h4 {
    color: var(--hp-title);
    font-weight: 800;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-welcome {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 8px 4px;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-kicker {
    margin: 0;
    color: var(--hp-gold-muted);
    font-size: 12px;
    font-weight: 800;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-welcome h1 {
    margin: 0;
    color: var(--hp-title);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.35;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-welcome h1::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 10px;
    border-radius: 99px;
    background: var(--hp-gold);
}

body.has-home-chrome:not(.is-home-platform) .site-panel-welcome-lead {
    margin: 0;
    color: var(--hp-muted);
    font-size: 14px;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-page-body,
body.has-home-chrome:not(.is-home-platform) .site-panel .card > .p-2 {
    padding: 16px;
}

body.has-home-chrome:not(.is-home-platform) #tickets {
    scroll-margin-top: calc(var(--hp-chrome, 138px) + 12px);
}

body.has-home-chrome:not(.is-home-platform) .site-panel .bg-light {
    border: 1px solid var(--hp-border);
    border-radius: 16px;
    background: var(--hp-cream);
}

body.has-home-chrome:not(.is-home-platform) .site-panel-block {
    height: 100%;
    padding: 20px;
    border: 1px solid var(--hp-border);
    border-radius: 18px;
    background: var(--hp-cream);
}

body.has-home-chrome:not(.is-home-platform) .site-panel-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-form .site-panel-block {
    height: auto;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-form-actions {
    display: flex;
    justify-content: flex-end;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-form-actions .btn {
    min-width: 200px;
    min-height: 48px;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-block-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: var(--hp-title);
    font-size: 16px;
    font-weight: 800;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-profile {
    display: grid;
    gap: 12px;
    margin: 0;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-profile > div {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hp-border);
}

body.has-home-chrome:not(.is-home-platform) .site-panel-profile > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-profile dt {
    margin: 0 0 4px;
    color: var(--hp-gold-muted);
    font-size: 12px;
    font-weight: 700;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-profile dd {
    margin: 0;
    color: var(--hp-title);
    font-weight: 700;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    height: 100%;
    margin-top: 0;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 132px;
    padding: 16px;
    border: 1px solid var(--hp-border);
    border-radius: 16px;
    background: var(--hp-white);
    color: var(--hp-title);
    text-decoration: none;
    transition: transform 160ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)), box-shadow 160ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)), border-color 160ms ease-out;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 4px;
    border-radius: 11px;
    background: var(--hp-gold-soft);
    color: var(--hp-teal);
}

body.has-home-chrome:not(.is-home-platform) .site-panel-stat strong {
    font-size: 15px;
    font-weight: 800;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-stat span {
    color: var(--hp-muted);
    font-size: 13px;
}

@media (hover: hover) and (pointer: fine) {
    body.has-home-chrome:not(.is-home-platform) .site-panel-stat:hover {
        transform: translateY(-3px);
        border-color: var(--hp-gold);
        box-shadow: var(--sp-shadow, 0 14px 36px -16px rgba(11, 43, 27, 0.1));
        color: var(--hp-teal);
    }
}

body.has-home-chrome:not(.is-home-platform) .site-panel-stat:active {
    transform: scale(0.98);
}

body.has-home-chrome:not(.is-home-platform) .site-panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .table {
    overflow: hidden;
    margin: 0;
    border: 0;
    border-color: var(--hp-border);
    background: var(--hp-white);
}

body.has-home-chrome:not(.is-home-platform) .site-panel .table-responsive {
    overflow: auto;
    border: 1px solid var(--hp-border);
    border-radius: 16px;
    background: var(--hp-white);
}

body.has-home-chrome:not(.is-home-platform) .site-panel .table thead.table-custom th,
body.has-home-chrome:not(.is-home-platform) .table-custom th {
    padding: 12px 14px;
    background: var(--hp-teal);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border: 0;
    white-space: nowrap;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .table tbody td,
body.has-home-chrome:not(.is-home-platform) .site-panel .table tbody th {
    padding: 13px 14px;
    border-color: var(--hp-border);
    background: var(--hp-white);
    color: var(--hp-muted);
    font-size: 13px;
    vertical-align: middle;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .table-bordered > :not(caption) > * > * {
    border-color: var(--hp-border);
}

body.has-home-chrome:not(.is-home-platform) .site-panel .table tbody tr:hover td,
body.has-home-chrome:not(.is-home-platform) .site-panel .table tbody tr:hover th {
    background: var(--hp-cream);
}

body.has-home-chrome:not(.is-home-platform) .site-panel .badge,
body.has-home-chrome:not(.is-home-platform) .site-panel-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 99px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .badge.bg-danger {
    background-color: #c45c4a;
    color: #fff;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .badge.bg-success {
    background-color: var(--hp-teal);
    color: #fff;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .badge.bg-secondary,
body.has-home-chrome:not(.is-home-platform) .site-panel .badge.text-one {
    background-color: #5d6f6e;
    color: #fff;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .btn,
body.has-home-chrome:not(.is-home-platform) .site-panel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 8px 16px;
    border: 0;
    border-radius: 12px;
    background: var(--hp-teal);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: none;
    transition: background-color 160ms ease-out, color 160ms ease-out, transform 160ms ease-out, box-shadow 160ms ease-out, border-color 160ms ease-out;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .btn:hover,
body.has-home-chrome:not(.is-home-platform) .site-panel-btn:hover {
    background: var(--hp-teal-deep);
    color: #fff;
    box-shadow: 0 8px 18px -10px rgba(51, 121, 120, 0.55);
}

body.has-home-chrome:not(.is-home-platform) .site-panel .btn:active,
body.has-home-chrome:not(.is-home-platform) .site-panel-btn:active {
    transform: scale(0.97);
}

body.has-home-chrome:not(.is-home-platform) .site-panel .btn-sm {
    min-height: 36px;
    padding: 6px 12px;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .btn-lg {
    min-height: 48px;
    padding: 10px 20px;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .btn-outline-secondary,
body.has-home-chrome:not(.is-home-platform) .site-panel-btn-ghost {
    border: 1px solid var(--hp-border);
    background: var(--hp-white);
    color: var(--hp-teal);
}

body.has-home-chrome:not(.is-home-platform) .site-panel .btn-outline-secondary:hover,
body.has-home-chrome:not(.is-home-platform) .site-panel-btn-ghost:hover {
    border-color: var(--hp-gold);
    background: var(--hp-gold-soft);
    color: var(--hp-teal-deep);
    box-shadow: none;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .btn-danger {
    background: #f6e4e0;
    color: #8a3b32;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .btn-danger:hover {
    background: #ead0cb;
    color: #6f2c24;
    box-shadow: none;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .btn-secondary {
    background: var(--hp-gold-soft);
    color: var(--hp-teal-deep);
}

body.has-home-chrome:not(.is-home-platform) .site-panel .btn-secondary:hover {
    background: var(--hp-gold-light);
    color: var(--hp-teal-deep);
}

body.has-home-chrome:not(.is-home-platform) .site-panel .table .btn {
    width: auto;
    white-space: nowrap;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .table span.btn,
body.has-home-chrome:not(.is-home-platform) .site-panel .table .btn.disabled {
    min-height: 26px;
    padding: 4px 10px;
    pointer-events: none;
    cursor: default;
    background: #e4f0ee;
    color: var(--hp-teal-deep);
    box-shadow: none;
    transform: none;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .bg-light ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .bg-light ul li {
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--hp-border);
    list-style: none;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .bg-light ul li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .bg-light ul li p {
    gap: 8px;
    color: var(--hp-muted);
}

body.has-home-chrome:not(.is-home-platform) .site-panel .bg-light .border {
    overflow: hidden;
    height: 100%;
    padding: 10px;
    border-color: var(--hp-border);
    border-radius: 16px;
    background: var(--hp-white);
}

body.has-home-chrome:not(.is-home-platform) .site-panel .bg-light .border img {
    border-radius: 12px;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .bg-light .border .btn {
    width: 100%;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 36px 16px;
    text-align: center;
    color: var(--hp-muted);
}

body.has-home-chrome:not(.is-home-platform) .site-panel-empty .bi {
    font-size: 36px;
    color: var(--hp-gold);
}

body.has-home-chrome:not(.is-home-platform) .site-panel-empty p {
    margin: 0;
    color: var(--hp-title);
    font-weight: 700;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-branch {
    margin: 0 0 16px;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-branch .btn,
body.has-home-chrome:not(.is-home-platform) .site-panel-branch .btn-secondary {
    display: flex;
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--hp-teal);
    background: var(--hp-teal);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(15, 61, 62, 0.16);
}

body.has-home-chrome:not(.is-home-platform) .site-panel-branch .btn:hover,
body.has-home-chrome:not(.is-home-platform) .site-panel-branch .btn-secondary:hover {
    background: var(--hp-teal-deep);
    color: #fff;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-tabbed {
    position: relative;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-tab-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-tabs {
    position: sticky;
    top: 8px;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 16px;
    padding: 8px;
    border: 1px solid var(--hp-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(15, 61, 62, 0.08);
}

body.has-home-chrome:not(.is-home-platform) .site-panel-tab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 72px;
    padding: 10px 8px;
    overflow: hidden;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid var(--hp-border);
    border-radius: 14px;
    background: var(--hp-white);
    color: var(--hp-title);
    font-family: inherit;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
    transition: background-color 160ms cubic-bezier(0.23, 1, 0.32, 1), color 160ms cubic-bezier(0.23, 1, 0.32, 1), border-color 160ms cubic-bezier(0.23, 1, 0.32, 1), transform 120ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

body.has-home-chrome:not(.is-home-platform) .site-panel-tab .bi {
    font-size: 22px;
    color: var(--hp-gold);
}

body.has-home-chrome:not(.is-home-platform) .site-panel-tab-copy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-tab-label {
    font-size: 13px;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--hp-gold-soft);
    color: var(--hp-teal-deep);
    font-size: 11px;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-tab-glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.35);
    animation: site-panel-tab-blink 1.1s ease-out infinite;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-tab:hover {
    border-color: var(--hp-gold);
    background: var(--hp-gold-soft);
}

body.has-home-chrome:not(.is-home-platform) .site-panel-tab:active {
    transform: scale(0.97);
}

body.has-home-chrome:not(.is-home-platform) .site-panel-tab:focus-visible {
    outline: 2px solid var(--hp-gold);
    outline-offset: 2px;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-tab.active,
body.has-home-chrome:not(.is-home-platform) #lms-tab-roles:checked ~ .site-panel-tabs [for="lms-tab-roles"],
body.has-home-chrome:not(.is-home-platform) #lms-tab-courses:checked ~ .site-panel-tabs [for="lms-tab-courses"],
body.has-home-chrome:not(.is-home-platform) #lms-tab-free:checked ~ .site-panel-tabs [for="lms-tab-free"] {
    border-color: var(--hp-teal);
    background: var(--hp-teal);
    color: #fff;
    box-shadow: 0 8px 18px rgba(15, 61, 62, 0.18);
}

body.has-home-chrome:not(.is-home-platform) .site-panel-tab.active .bi,
body.has-home-chrome:not(.is-home-platform) .site-panel-tab.active .site-panel-tab-count,
body.has-home-chrome:not(.is-home-platform) #lms-tab-roles:checked ~ .site-panel-tabs [for="lms-tab-roles"] .bi,
body.has-home-chrome:not(.is-home-platform) #lms-tab-roles:checked ~ .site-panel-tabs [for="lms-tab-roles"] .site-panel-tab-count,
body.has-home-chrome:not(.is-home-platform) #lms-tab-courses:checked ~ .site-panel-tabs [for="lms-tab-courses"] .bi,
body.has-home-chrome:not(.is-home-platform) #lms-tab-courses:checked ~ .site-panel-tabs [for="lms-tab-courses"] .site-panel-tab-count,
body.has-home-chrome:not(.is-home-platform) #lms-tab-free:checked ~ .site-panel-tabs [for="lms-tab-free"] .bi,
body.has-home-chrome:not(.is-home-platform) #lms-tab-free:checked ~ .site-panel-tabs [for="lms-tab-free"] .site-panel-tab-count {
    color: #fff;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-tab.active .site-panel-tab-count,
body.has-home-chrome:not(.is-home-platform) #lms-tab-roles:checked ~ .site-panel-tabs [for="lms-tab-roles"] .site-panel-tab-count,
body.has-home-chrome:not(.is-home-platform) #lms-tab-courses:checked ~ .site-panel-tabs [for="lms-tab-courses"] .site-panel-tab-count,
body.has-home-chrome:not(.is-home-platform) #lms-tab-free:checked ~ .site-panel-tabs [for="lms-tab-free"] .site-panel-tab-count {
    background: rgba(255, 255, 255, 0.2);
}

body.has-home-chrome:not(.is-home-platform) .site-panel-tab.active .site-panel-tab-glow,
body.has-home-chrome:not(.is-home-platform) .site-panel-tabs.is-settled .site-panel-tab-glow,
body.has-home-chrome:not(.is-home-platform) #lms-tab-roles:checked ~ .site-panel-tabs [for="lms-tab-roles"] .site-panel-tab-glow,
body.has-home-chrome:not(.is-home-platform) #lms-tab-courses:checked ~ .site-panel-tabs [for="lms-tab-courses"] .site-panel-tab-glow,
body.has-home-chrome:not(.is-home-platform) #lms-tab-free:checked ~ .site-panel-tabs [for="lms-tab-free"] .site-panel-tab-glow {
    animation: none;
    box-shadow: none;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-tab-content {
    min-height: 180px;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-tab-content > .tab-pane,
body.has-home-chrome:not(.is-home-platform) .site-panel-tab-content > .site-panel-pane {
    display: none;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-tab-content > .tab-pane.active,
body.has-home-chrome:not(.is-home-platform) .site-panel-tab-content > .site-panel-pane.active,
body.has-home-chrome:not(.is-home-platform) #lms-tab-roles:checked ~ .site-panel-tab-content > #lms-pane-roles,
body.has-home-chrome:not(.is-home-platform) #lms-tab-courses:checked ~ .site-panel-tab-content > #lms-pane-courses,
body.has-home-chrome:not(.is-home-platform) #lms-tab-free:checked ~ .site-panel-tab-content > #lms-pane-free {
    display: block;
}

body.has-home-chrome:not(.is-home-platform) .site-panel-section-bar {
    margin: 0 0 12px;
}

@keyframes site-panel-tab-blink {
    0%,
    100% {
        box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.2), 0 0 0 0 rgba(212, 175, 55, 0.45);
        opacity: 1;
    }
    50% {
        box-shadow: inset 0 0 0 2px rgba(212, 175, 55, 0.85), 0 0 0 6px rgba(212, 175, 55, 0);
        opacity: 0.55;
    }
}

body.has-home-chrome:not(.is-home-platform) .ticket-room {
    display: flex;
    flex-direction: column;
}

body.has-home-chrome:not(.is-home-platform) .ticket-stub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin: 0 16px;
    padding: 14px 16px;
    border: 1px dashed var(--hp-gold);
    border-radius: 16px;
    background: var(--hp-gold-soft);
}

body.has-home-chrome:not(.is-home-platform) .ticket-stub-no {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--hp-teal);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
}

body.has-home-chrome:not(.is-home-platform) .ticket-stub-meta {
    display: flex;
    flex: 1 1 240px;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.has-home-chrome:not(.is-home-platform) .ticket-stub-meta li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

body.has-home-chrome:not(.is-home-platform) .ticket-stub-meta span {
    color: var(--hp-gold-muted);
    font-size: 12px;
    font-weight: 700;
}

body.has-home-chrome:not(.is-home-platform) .ticket-stub-meta strong {
    color: var(--hp-title);
    font-size: 13px;
    font-weight: 800;
}

body.has-home-chrome:not(.is-home-platform) .ticket-thread {
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: auto;
    min-height: 280px;
    max-height: min(62vh, 640px);
    margin: 16px;
    padding: 16px 12px;
    border: 1px solid var(--hp-border);
    border-radius: 18px;
    background: var(--hp-cream);
}

body.has-home-chrome:not(.is-home-platform) .ticket-msg {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    width: min(100%, 36rem);
}

body.has-home-chrome:not(.is-home-platform) .ticket-msg.is-mine {
    margin-inline-end: auto;
}

body.has-home-chrome:not(.is-home-platform) .ticket-msg.is-staff {
    flex-direction: row-reverse;
    margin-inline-start: auto;
}

body.has-home-chrome:not(.is-home-platform) .ticket-msg-avatar {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--hp-white);
    color: var(--hp-teal);
    border: 1px solid var(--hp-border);
}

body.has-home-chrome:not(.is-home-platform) .ticket-msg.is-staff .ticket-msg-avatar {
    background: var(--hp-teal);
    border-color: var(--hp-teal);
    color: #fff;
}

body.has-home-chrome:not(.is-home-platform) .ticket-msg-body {
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--hp-border);
    border-radius: 18px 18px 6px 18px;
    background: var(--hp-gold-soft);
}

body.has-home-chrome:not(.is-home-platform) .ticket-msg.is-staff .ticket-msg-body {
    border-radius: 18px 18px 18px 6px;
    background: var(--hp-white);
}

body.has-home-chrome:not(.is-home-platform) .ticket-msg-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 12px;
    margin-bottom: 8px;
}

body.has-home-chrome:not(.is-home-platform) .ticket-msg-head strong {
    color: var(--hp-title);
    font-size: 13px;
    font-weight: 800;
}

body.has-home-chrome:not(.is-home-platform) .ticket-msg-head time {
    color: var(--hp-muted);
    font-size: 12px;
}

body.has-home-chrome:not(.is-home-platform) .ticket-msg-text {
    color: var(--hp-title);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
}

body.has-home-chrome:not(.is-home-platform) .ticket-msg-files {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

body.has-home-chrome:not(.is-home-platform) .ticket-msg-files img {
    display: block;
    width: 96px;
    height: 96px;
    object-fit: cover;
    border: 1px solid var(--hp-border);
    border-radius: 12px;
}

body.has-home-chrome:not(.is-home-platform) .ticket-file-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 6px 12px;
    border: 1px solid var(--hp-border);
    border-radius: 12px;
    background: var(--hp-white);
    color: var(--hp-teal);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

body.has-home-chrome:not(.is-home-platform) .ticket-composer {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: end;
    margin: 0 16px 16px;
    padding: 10px;
    border: 1px solid var(--hp-border);
    border-radius: 18px;
    background: var(--hp-cream);
}

body.has-home-chrome:not(.is-home-platform) .ticket-composer-attach {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--hp-border);
    border-radius: 14px;
    background: var(--hp-white);
    color: var(--hp-teal);
    cursor: pointer;
    transition: background-color 160ms ease-out, border-color 160ms ease-out, transform 160ms ease-out;
}

body.has-home-chrome:not(.is-home-platform) .ticket-composer-attach:hover {
    border-color: var(--hp-gold);
    background: var(--hp-gold-light);
}

body.has-home-chrome:not(.is-home-platform) .ticket-composer-attach:active {
    transform: scale(0.97);
}

body.has-home-chrome:not(.is-home-platform) .ticket-composer-field textarea {
    display: block;
    width: 100%;
    min-height: 48px;
    max-height: 140px;
    padding: 12px 14px;
    border: 1px solid var(--hp-border);
    border-radius: 14px;
    background: var(--hp-white);
    color: var(--hp-title);
    font-size: 14px;
    line-height: 1.7;
    resize: vertical;
}

body.has-home-chrome:not(.is-home-platform) .ticket-composer-field textarea:focus,
body.has-home-chrome:not(.is-home-platform) .ticket-composer-attach:focus-visible,
body.has-home-chrome:not(.is-home-platform) .ticket-composer-send:focus-visible {
    outline: 2px solid var(--hp-gold);
    outline-offset: 2px;
}

body.has-home-chrome:not(.is-home-platform) .ticket-file-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

body.has-home-chrome:not(.is-home-platform) .ticket-file-chips li {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--hp-gold-light);
    color: var(--hp-teal-deep);
    font-size: 12px;
    font-weight: 700;
}

body.has-home-chrome:not(.is-home-platform) .ticket-composer-error {
    margin: 6px 0 0;
    color: #8a3b32;
    font-size: 12px;
    font-weight: 700;
}

body.has-home-chrome:not(.is-home-platform) .ticket-composer-send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 108px;
    min-height: 48px;
    padding: 8px 16px;
    border: 0;
    border-radius: 14px;
    background: var(--hp-teal);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    transition: background-color 160ms ease-out, transform 160ms ease-out;
}

body.has-home-chrome:not(.is-home-platform) .ticket-composer-send:hover {
    background: var(--hp-teal-deep);
}

body.has-home-chrome:not(.is-home-platform) .ticket-composer-send:active {
    transform: scale(0.97);
}

body.has-home-chrome:not(.is-home-platform) .ticket-composer-send.is-sending,
body.has-home-chrome:not(.is-home-platform) .ticket-composer-send:disabled {
    opacity: 0.7;
    pointer-events: none;
}

body.has-home-chrome:not(.is-home-platform) .ticket-closed {
    margin: 0 16px 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f6e4e0;
    color: #6f2c24;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

body.has-home-chrome:not(.is-home-platform) .site-panel .form-floating > .form-control,
body.has-home-chrome:not(.is-home-platform) .site-panel .form-floating > .form-select {
    border-radius: 14px;
}

/* ---------- Employment / tickets / visit / test ---------- */

body.has-home-chrome:not(.is-home-platform) .employment-form {
    margin-top: 16px;
    padding: 24px 20px;
    border: 1px solid var(--hp-border);
    border-radius: 20px;
    background: var(--hp-white);
    box-shadow: var(--sp-shadow, 0 14px 36px -16px rgba(11, 43, 27, 0.1));
}

body.has-home-chrome:not(.is-home-platform) .employment-form .tahrir,
body.has-home-chrome:not(.is-home-platform) .employment-form p.h5 {
    margin-bottom: 16px;
    color: var(--hp-title);
    font-weight: 800;
}

body.has-home-chrome:not(.is-home-platform) .employment-form label {
    margin-bottom: 6px;
    color: var(--hp-title);
    font-size: 13px;
    font-weight: 700;
}

.date-roller {
    position: relative;
}

.date-roller-natives {
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    overflow: hidden;
    width: 100%;
    height: 1px;
}

.date-roller-native {
    position: absolute;
    width: 100%;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.date-roller-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid var(--hp-border, #eaddc6);
    border-radius: 12px;
    background: var(--hp-white, #fff);
    color: var(--hp-title, #1f4e5b);
    font-size: 14px;
    text-align: right;
    transition: border-color 160ms cubic-bezier(0.23, 1, 0.32, 1), transform 120ms cubic-bezier(0.23, 1, 0.32, 1);
}

.date-roller-trigger:hover {
    border-color: var(--hp-gold, #c5a872);
}

.date-roller-trigger:focus-visible {
    outline: 2px solid var(--hp-gold, #c5a872);
    outline-offset: 2px;
}

.date-roller-trigger:active {
    transform: scale(0.98);
}

.date-roller-trigger .bi {
    color: var(--hp-teal, #337978);
}

.date-roller-overlay {
    display: flex;
    position: fixed;
    z-index: 1080;
    inset: 0;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    background: rgba(15, 36, 32, 0.42);
    opacity: 0;
    transition: opacity 220ms cubic-bezier(0.32, 0.72, 0, 1);
}

.date-roller-overlay[hidden] {
    display: none;
}

body.date-roller-open {
    overflow: hidden;
}

.date-roller-overlay.is-open {
    opacity: 1;
}

.date-roller-sheet {
    width: min(420px, 100%);
    margin-bottom: 8px;
    padding: 16px 12px 12px;
    border: 1px solid var(--hp-border, #eaddc6);
    border-radius: 24px 24px 18px 18px;
    background: var(--hp-white, #fff);
    box-shadow: 0 18px 48px -18px rgba(11, 43, 27, 0.35);
    transform: translateY(16px);
    transition: transform 220ms cubic-bezier(0.32, 0.72, 0, 1);
}

.date-roller-overlay.is-open .date-roller-sheet {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .date-roller-overlay {
        align-items: center;
    }

    .date-roller-sheet {
        margin-bottom: 0;
        border-radius: 24px;
    }
}

.date-roller-sheet-head {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px 12px;
}

.date-roller-sheet-title {
    margin: 0;
    color: var(--hp-title, #1f4e5b);
    font-size: 16px;
    font-weight: 800;
    text-align: center;
}

.date-roller-sheet-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.date-roller-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    min-height: 34px;
    padding: 5px 16px;
    border-radius: 10px;
    appearance: none;
    -webkit-appearance: none;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 160ms cubic-bezier(0.23, 1, 0.32, 1), border-color 160ms cubic-bezier(0.23, 1, 0.32, 1), transform 120ms cubic-bezier(0.23, 1, 0.32, 1);
}

.date-roller-btn:active {
    transform: scale(0.97);
}

.date-roller-btn:focus-visible {
    outline: 2px solid var(--hp-gold, #c5a872);
    outline-offset: 2px;
}

.date-roller-btn-cancel {
    border: 1px solid var(--hp-border, #eaddc6);
    background: var(--hp-white, #fff);
    color: var(--hp-teal, #337978);
}

.date-roller-btn-cancel:hover {
    border-color: var(--hp-gold, #c5a872);
    background: var(--hp-gold-soft, #f2ece0);
}

.date-roller-btn-confirm {
    border: 1px solid var(--hp-teal, #337978);
    background: var(--hp-teal, #337978);
    color: #fff;
}

.date-roller-btn-confirm:hover {
    background: var(--hp-teal-deep, #266160);
    border-color: var(--hp-teal-deep, #266160);
}

.date-roller-wheels {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.2fr 0.8fr;
    height: 200px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(180deg, #f7f3ea 0%, #fff 28%, #fff 72%, #f7f3ea 100%);
}

.date-roller-highlight {
    position: absolute;
    z-index: 2;
    inset-inline: 8px;
    top: 50%;
    height: 40px;
    border: 1px solid var(--hp-border, #eaddc6);
    border-radius: 12px;
    background: rgba(197, 168, 114, 0.12);
    transform: translateY(-50%);
    pointer-events: none;
}

.date-roller-col {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.date-roller-list {
    height: 200px;
    margin: 0;
    padding: 80px 0;
    overflow-y: auto;
    list-style: none;
    scrollbar-width: none;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

.date-roller-list::-webkit-scrollbar {
    display: none;
}

.date-roller-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    color: #8a8070;
    font-size: 14px;
    scroll-snap-align: center;
    transition: color 160ms cubic-bezier(0.23, 1, 0.32, 1), transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

.date-roller-item.is-active {
    color: var(--hp-title, #1f4e5b);
    font-weight: 800;
    transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
    .date-roller-trigger,
    .date-roller-overlay,
    .date-roller-sheet,
    .date-roller-item,
    .date-roller-btn {
        transition: none;
    }

    .date-roller-trigger:active,
    .date-roller-item.is-active,
    .date-roller-btn:active {
        transform: none;
    }
}

body.has-home-chrome:not(.is-home-platform) .content.list .card {
    overflow: hidden;
    border: 1px solid var(--hp-border);
    border-radius: 20px;
}

body.has-home-chrome:not(.is-home-platform) .content.list .card img {
    border-radius: 16px 16px 0 0;
}

body.has-home-chrome:not(.is-home-platform) .content.list .bg-light {
    border-radius: 12px;
    background: var(--hp-cream);
}

/* ---------- School (فضه) ---------- */

body.has-home-chrome.is-school {
    background: var(--hp-cream);
}

body.has-home-chrome.is-school .menu-school {
    overflow: hidden;
    margin-bottom: 16px;
    border: 0;
    border-bottom: 1px solid var(--hp-border);
    background: var(--hp-white);
    box-shadow: 0 8px 24px -16px rgba(11, 43, 27, 0.12);
}

body.has-home-chrome.is-school .menu-school .bg-one {
    background: var(--hp-teal);
}

body.has-home-chrome.is-school .menu-school .bg-one h1 {
    font-size: 20px;
    font-weight: 800;
}

body.has-home-chrome.is-school .menu-school .navbar-nav .nav-link {
    color: var(--hp-title);
    font-weight: 700;
}

body.has-home-chrome.is-school .menu-school .navbar-nav .nav-link.border {
    margin-inline-start: 8px;
    padding: 8px 14px;
    border-color: var(--hp-border);
    border-radius: 999px;
    color: var(--hp-teal);
}

body.has-home-chrome.is-school .content img.rounded-custom {
    border: 1px solid var(--hp-border);
    border-radius: 18px;
    box-shadow: var(--sp-shadow, 0 14px 36px -16px rgba(11, 43, 27, 0.1));
    transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
    body.has-home-chrome.is-school .content a:hover img.rounded-custom {
        transform: translateY(-4px);
    }
}

body.has-home-chrome.is-school .breadcrumb.bg-light {
    padding: 4px !important;
    background: var(--hp-gold-soft) !important;
}

/* ---------- Empty / misc ---------- */

body.has-home-chrome:not(.is-home-platform) .site-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-height: 240px;
    padding: 48px 16px;
    border: 1px dashed var(--hp-border);
    border-radius: 24px;
    background: var(--hp-white);
    color: var(--hp-muted);
    text-align: center;
}

body.has-home-chrome:not(.is-home-platform) .site-empty h2 {
    margin: 0;
    color: var(--hp-title);
    font-size: 20px;
    font-weight: 800;
}

body.has-home-chrome:not(.is-home-platform) .site-empty p {
    margin: 0;
    max-width: 28rem;
    line-height: 1.7;
    color: var(--hp-muted);
}

body.has-home-chrome:not(.is-home-platform) .comments-empty {
    justify-content: center;
    min-height: 280px;
    padding: 32px 20px;
    background: var(--hp-white);
    border: 1px solid var(--hp-border);
    border-radius: 16px;
    box-shadow: 0 10px 28px -18px rgba(31, 78, 91, 0.28);
}

body.has-home-chrome:not(.is-home-platform) .comments-empty__img {
    width: min(200px, 52%);
    height: auto;
    object-fit: contain;
    background: transparent;
}

body.has-home-chrome:not(.is-home-platform) .comment-form-box {
    background: var(--hp-white);
    border: 1px solid var(--hp-border);
    border-radius: 16px;
    box-shadow: 0 10px 28px -18px rgba(31, 78, 91, 0.28);
}

body.has-home-chrome:not(.is-home-platform) .comment-form-box .form-control[readonly],
body.has-home-chrome:not(.is-home-platform) .modal .form-control[readonly] {
    background: var(--hp-cream);
    color: var(--hp-title);
    cursor: default;
}

body.has-home-chrome:not(.is-home-platform) .site-comments-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

body.has-home-chrome:not(.is-home-platform) .site-comment {
    background: var(--hp-white);
    border: 1px solid var(--hp-border);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 28px -18px rgba(31, 78, 91, 0.22);
}

body.has-home-chrome:not(.is-home-platform) .site-comment--reply {
    background: var(--hp-cream);
    box-shadow: none;
}

body.has-home-chrome:not(.is-home-platform) .site-comment__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

body.has-home-chrome:not(.is-home-platform) .site-comment__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--hp-cream);
    border: 1px solid var(--hp-border);
}

body.has-home-chrome:not(.is-home-platform) .site-comment__content {
    flex: 1;
    min-width: 0;
}

body.has-home-chrome:not(.is-home-platform) .site-comment__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

body.has-home-chrome:not(.is-home-platform) .site-comment__name {
    margin: 0;
    color: var(--hp-title);
    font-size: 15px;
    font-weight: 800;
}

body.has-home-chrome:not(.is-home-platform) .site-comment__date {
    display: block;
    margin-top: 2px;
    color: var(--hp-muted);
    font-size: 12px;
}

body.has-home-chrome:not(.is-home-platform) .site-comment__message {
    color: var(--hp-dark, #2b2b28);
    font-size: 14px;
    line-height: 1.85;
    text-align: justify;
    white-space: pre-line;
}

body.has-home-chrome:not(.is-home-platform) .site-comment__reply-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    min-height: 36px;
    padding: 0.35rem 0.8rem;
    border: 1px solid var(--hp-border);
    border-radius: 12px;
    background: var(--hp-cream);
    color: var(--hp-teal);
    font-size: 13px;
    font-weight: 700;
    transition: background-color 160ms ease-out, color 160ms ease-out, border-color 160ms ease-out;
}

body.has-home-chrome:not(.is-home-platform) .site-comment__reply-btn:hover {
    background: var(--hp-teal);
    border-color: var(--hp-teal);
    color: #fff;
}

body.has-home-chrome:not(.is-home-platform) .site-comment__replies {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
    padding-right: 28px;
    border-right: 2px solid var(--hp-border);
}

body.has-home-chrome:not(.is-home-platform) .site-comment .modal {
    z-index: 1055;
}

@media (max-width: 767.98px) {
    body.has-home-chrome:not(.is-home-platform) .site-comment__replies {
        padding-right: 12px;
    }

    body.has-home-chrome:not(.is-home-platform) .site-comment__head {
        flex-wrap: wrap;
    }
}

body.has-home-chrome:not(.is-home-platform) .btn-comment,
body.has-home-chrome:not(.is-home-platform) .detail-course .btn-comment {
    --bs-btn-bg: var(--hp-teal);
    --bs-btn-border-color: var(--hp-teal);
    --bs-btn-hover-bg: var(--hp-teal-deep);
    --bs-btn-hover-border-color: var(--hp-teal-deep);
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--hp-teal-deep);
    --bs-btn-active-color: #fff;
    background: var(--hp-teal);
    border: 0;
    color: #fff;
    font-weight: 700;
    border-radius: 14px;
    min-height: 44px;
    padding: 0.6rem 1.35rem;
    box-shadow: none;
    outline: none;
    transition: background-color 160ms ease-out, transform 160ms ease-out, box-shadow 160ms ease-out;
}

body.has-home-chrome:not(.is-home-platform) .btn-comment:hover,
body.has-home-chrome:not(.is-home-platform) .detail-course .btn-comment:hover {
    background: var(--hp-teal-deep);
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(51, 121, 120, 0.55);
}

body.has-home-chrome:not(.is-home-platform) .btn-comment:active,
body.has-home-chrome:not(.is-home-platform) .detail-course .btn-comment:active {
    transform: scale(0.97);
}

body.has-home-chrome:not(.is-home-platform) .alert {
    border-radius: 14px;
}

body.has-home-chrome:not(.is-home-platform) .has_error,
body.has-home-chrome:not(.is-home-platform) .text-danger.has_error {
    display: block;
    margin-top: 4px;
    font-size: 13px;
}

body.has-home-chrome:not(.is-home-platform) .modal-header.bg-one {
    background: var(--hp-teal);
    color: #fff;
}

body.has-home-chrome:not(.is-home-platform) .modal-title {
    font-weight: 800;
}

body.has-home-chrome .modal {
    z-index: 1055;
}

body.has-home-chrome .modal-backdrop {
    z-index: 1050;
}

/* Media tabs */

body.has-home-chrome:not(.is-home-platform) .detail-course .nav-tabs .nav-link img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
}

/* Pagination polish beyond overlay */

body.has-home-chrome:not(.is-home-platform) ul.pagination {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin-top: 28px;
}

body.has-home-chrome:not(.is-home-platform) ul.pagination li a {
    float: none;
    min-width: 40px;
    min-height: 40px;
    border-radius: 10px;
    font-weight: 700;
}

@media (max-width: 767px) {
    body.has-home-chrome:not(.is-home-platform) .brsd {
        padding: 16px 16px 18px;
        gap: 12px;
    }

    body.has-home-chrome:not(.is-home-platform) .brsd h1,
    body.has-home-chrome:not(.is-home-platform) .brsd .tahrir,
    body.has-home-chrome:not(.is-home-platform) .brsd .ismb {
        font-size: 24px;
    }

    body.has-home-chrome:not(.is-home-platform) .breadcrumb,
    body.has-home-chrome.is-school .breadcrumb {
        padding: 4px;
        border-radius: 18px;
        font-size: 12px;
    }

    body.has-home-chrome:not(.is-home-platform) .breadcrumb-item a,
    body.has-home-chrome.is-school .breadcrumb-item a {
        min-height: 36px;
        padding: 4px 10px 4px 8px;
        white-space: normal;
        max-width: 58vw;
    }

    body.has-home-chrome:not(.is-home-platform) .breadcrumb-item:first-child a,
    body.has-home-chrome.is-school .breadcrumb-item:first-child a {
        max-width: none;
        white-space: nowrap;
    }

    body.has-home-chrome:not(.is-home-platform) .breadcrumb-item.active,
    body.has-home-chrome.is-school .breadcrumb-item.active {
        max-width: min(18ch, 55%);
        min-height: 36px;
        padding: 4px 12px;
    }

    body.has-home-chrome:not(.is-home-platform) .auth .card {
        padding: 24px 18px;
    }

    body.has-home-chrome:not(.is-home-platform) .detail-course h1 {
        font-size: 22px;
    }

    body.has-home-chrome:not(.is-home-platform) .site-panel-aside {
        position: static;
    }

    body.has-home-chrome:not(.is-home-platform) .site-panel-menu-toggle {
        display: flex;
    }

    body.has-home-chrome:not(.is-home-platform) .site-panel-menu .card.panel-side {
        display: none;
    }

    body.has-home-chrome:not(.is-home-platform) .site-panel-menu-check:checked ~ .card.panel-side {
        display: block;
    }

    body.has-home-chrome:not(.is-home-platform) .site-panel-welcome h1 {
        font-size: 22px;
    }

    body.has-home-chrome:not(.is-home-platform) .site-panel-stat {
        min-height: 0;
    }

    body.has-home-chrome:not(.is-home-platform) .site-panel-stats {
        grid-template-columns: 1fr;
    }

    body.has-home-chrome:not(.is-home-platform) .employment-form .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    body.has-home-chrome:not(.is-home-platform) .search-type-tab {
        padding: 7px 14px;
        font-size: 13px;
    }

    body.has-home-chrome:not(.is-home-platform) .site-panel-tabs {
        top: 8px;
        gap: 6px;
        margin: 0 0 12px;
        padding: 6px;
        border-radius: 16px;
    }

    body.has-home-chrome:not(.is-home-platform) .site-panel-tab {
        min-height: 78px;
        padding: 8px 4px;
    }

    body.has-home-chrome:not(.is-home-platform) .site-panel-tab-label {
        font-size: 12px;
    }

    body.has-home-chrome:not(.is-home-platform) .ticket-stub,
    body.has-home-chrome:not(.is-home-platform) .ticket-thread,
    body.has-home-chrome:not(.is-home-platform) .ticket-composer,
    body.has-home-chrome:not(.is-home-platform) .ticket-closed {
        margin-right: 12px;
        margin-left: 12px;
    }

    body.has-home-chrome:not(.is-home-platform) .ticket-thread {
        max-height: min(52vh, 480px);
        padding: 12px 8px;
    }

    body.has-home-chrome:not(.is-home-platform) .ticket-msg {
        width: 100%;
    }

    body.has-home-chrome:not(.is-home-platform) .ticket-composer {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    body.has-home-chrome:not(.is-home-platform) .ticket-composer-send {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.has-home-chrome:not(.is-home-platform) .site-page > .content,
    body.has-home-chrome:not(.is-home-platform) .site-page > .container,
    body.has-home-chrome:not(.is-home-platform) .site-page > .detail-course,
    body.has-home-chrome:not(.is-home-platform) .edu-item,
    body.has-home-chrome:not(.is-home-platform) .content.webinar .border,
    body.has-home-chrome:not(.is-home-platform) .site-panel-stat,
    body.has-home-chrome.is-school .content img.rounded-custom {
        animation: none;
        transition: none;
    }

    body.has-home-chrome:not(.is-home-platform) .edu-item:hover,
    body.has-home-chrome:not(.is-home-platform) .content.webinar .border:hover,
    body.has-home-chrome:not(.is-home-platform) .site-panel .panel-side .card-body ul li a,
    body.has-home-chrome:not(.is-home-platform) .site-panel .panel-side .card-body ul li a .bi-arrow-left,
    body.has-home-chrome:not(.is-home-platform) .site-panel-stat:hover,
    body.has-home-chrome:not(.is-home-platform) .breadcrumb-item a,
    body.has-home-chrome.is-school .breadcrumb-item a,
    body.has-home-chrome:not(.is-home-platform) .search-type-tab,
    body.has-home-chrome:not(.is-home-platform) .search-type-tab:active,
    body.has-home-chrome:not(.is-home-platform) .site-panel-tab,
    body.has-home-chrome:not(.is-home-platform) .site-panel-tab:active,
    body.has-home-chrome:not(.is-home-platform) .ticket-composer-attach,
    body.has-home-chrome:not(.is-home-platform) .ticket-composer-send {
        transform: none;
        transition: none;
    }

    body.has-home-chrome:not(.is-home-platform) .site-panel-tab-glow {
        animation: none;
        opacity: 1;
        box-shadow: inset 0 0 0 2px var(--hp-gold);
    }
}
