﻿/* wwwroot/css/humanspan-dashboard.css */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* =========================================
   GLOBAL APP LAYOUT
========================================= */

/* =========================================
   prevents the inspector from briefly flashing before Alpine initializes:
========================================= */
[x-cloak] {
    display: none !important;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #43327A;
}

.hs-body {
    background: #43327A;
    color: white;
    font-family: 'Inter', sans-serif;
}

.hs-app-shell {
    width: 100%;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

* {
    box-sizing: border-box;
}

.hs-shell {
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow: visible;
    background: #43327A;
    padding: 8px;
}


/* TOPBAR */

.hs-topbar {
    height: 76px;
    border-radius: 18px;
    border: 1px solid rgba(148,163,184,.14);
    background: linear-gradient(180deg, rgba(8,14,28,.95), rgba(4,8,18,.95));
    display: grid;
    grid-template-columns: auto minmax(320px, 620px) auto;
    align-items: center;
    gap: 28px;
    padding: 0 20px;
}

/* BRAND */

.hs-section-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: #e7b36d;
    opacity: .95;
    text-shadow: 0 0 10px rgba(231,179,109,.18);
}

.hs-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

/*    .hs-brand::before {
        content: "";
        position: absolute;
        left: -55px;
        top: -70px;
        width: 260px;
        height: 220px;
        pointer-events: none;
        border-radius: 50%;
        background: radial-gradient( ellipse, rgba(139,92,246,.18), rgba(99,102,241,.08) 45%, transparent 75% );
        filter: blur(32px);
    }*/

.hs-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hs-brand-logo {
    display: block;
    width: auto;
    height: 48px;
    transition: transform .18s ease;
}

.hs-brand-logo2 {
    display: block;
    width: auto;
    height: 75px;
    transition: transform .18s ease;
}


.hs-brand:hover .hs-brand-logo {
    transform: scale(.97);
}

.hs-brand:hover .hs-brand-logo {
    transform: scale(.97);
    opacity: .90;
}



/* SEARCH */

.hs-search-wrap {
    height: 50px;
    border-radius: 16px;
    border: 1px solid rgba(148,163,184,.12);
    background: rgba(7,13,26,.88);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 18px;
}

.hs-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 1rem;
}

.hs-search-shortcut {
    height: 28px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid rgba(148,163,184,.16);
    display: flex;
    align-items: center;
    font-size: .8rem;
    color: #cbd5e1;
}

/* TOP RIGHT */

.hs-top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hs-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(148,163,184,.12);
    background: rgba(15,23,42,.55);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hs-notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #8b5cf6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 700;
}

.hs-divider {
    width: 1px;
    height: 36px;
    background: rgba(148,163,184,.18);
    margin: 0 4px;
}

.hs-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hs-user-avatar {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,.12);
}

.hs-user-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2px;
}

.hs-user-role {
    line-height: 1.1;
    font-size: .86rem;
    color: #94a3b8;
}

/* GRID */

.hs-grid {
    display: grid;
    grid-template-columns: 285px minmax(0, 1fr) 305px;
    gap: 12px;
    margin-top: 12px;
    width: 100%;
}

/* PANELS */

.hs-panel {
    background: linear-gradient( 180deg, rgba(10,16,34,.96), rgba(7,12,24,.98) );
    border: 1px solid rgba(148,163,184,.10);
    border-radius: 22px;
    box-shadow: 0 10px 40px rgba(0,0,0,.34), 0 0 0 1px rgba(255,255,255,.02), inset 0 1px 0 rgba(255,255,255,.03);
    backdrop-filter: blur(18px);
}

.hs-panel-title {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .22em;
    color: #dbe4f1;
    margin-bottom: 18px;
}

/* SIDEBAR */

.hs-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hs-context-panel,
.hs-org-panel,
.hs-actions-panel {
    padding: 18px;
}

/* CONTEXT */

.hs-context-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(180deg, rgba(18,28,52,.75), rgba(10,18,36,.75));
    border: 1px solid rgba(148,163,184,.08);
    border-radius: 20px;
    padding: 16px;
}

.hs-context-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hs-context-title {
    font-size: 1.25rem;
    line-height: 1.1;
    font-weight: 800;
}

.hs-context-domain {
    margin-top: 4px;
    color: #94a3b8;
    font-size: .92rem;
}

.hs-context-label {
    font-size: .9rem;
    color: #94a3b8;
}

/* TREE */

.hs-org-tree {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

.hs-tree-group {
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid rgba(148,163,184,.18);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hs-tree-item {
    min-height: 48px;
    border-radius: 14px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #f1f5f9;
}

    .hs-tree-item.active {
        background: linear-gradient(90deg, rgba(91,33,182,.82), rgba(67,56,202,.45));
        border: 1px solid rgba(167,139,250,.25);
    }

.hs-tree-dot {
    margin-left: auto;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #c084fc;
}

/* ACTIONS */

.hs-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hs-action-btn {
    height: 50px;
    border-radius: 14px;
    border: 1px solid rgba(148,163,184,.10);
    background: linear-gradient(180deg, rgba(20,30,54,.72), rgba(10,18,36,.72));
    color: white;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hs-action-badge {
    margin-left: auto;
    background: #8b5cf6;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
}

/* CENTER */

.hs-center {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

/* HERO */

.hs-hero {
    min-height: 190px;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    position: relative;
    background: linear-gradient( 90deg, rgba(5,10,20,.82) 0%, rgba(5,10,20,.68) 28%, rgba(5,10,20,.42) 58%, rgba(5,10,20,.28) 100% ), url('/images/agora-hero.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: 0 18px 48px rgba(0,0,0,.34), inset 0 -20px 40px rgba(0,0,0,.18);
    padding: 30px 34px;
    isolation: isolate;
}

    .hs-hero::after {
        border-radius: inherit;
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient( circle at top right, rgba(255,255,255,.18), transparent 28% ), linear-gradient( 180deg, rgba(59,130,246,.10), transparent 35% );
        mix-blend-mode: screen;
    }

    .hs-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient( 135deg, rgba(139,92,246,.10), transparent 30% );
        pointer-events: none;
        z-index: 1;
    }



.hs-hero-content {
    position: relative;
    z-index: 2;
}

.hs-hero-overlay {
    position: absolute;
    inset: 0;
    background:
    /* left fade */
    linear-gradient( 90deg, rgba(6,10,22,.72) 0%, rgba(8,13,28,.58) 22%, rgba(10,16,32,.30) 45%, rgba(10,16,32,0) 100% ),
    /* bottom fade */
    linear-gradient( 180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.20) 100% );
    pointer-events: none;
}

.hs-hero-title {
    font-size: 2.25rem;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 6px;
}

.hs-panel-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: #e7b36d;
    opacity: .95;
    text-shadow: 0 0 10px rgba(231,179,109,.18);
    margin-bottom: 15px;
}

.hs-hero-subtitle {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: #e7b36d;
    opacity: .95;
    text-shadow: 0 0 10px rgba(231,179,109,.18);
    margin-bottom: 6px;
}

.hs-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
}

.hs-pill {
    height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(15,23,42,.5);
    border: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .92rem;
}

/* COMMAND */

.hs-command-panel {
    padding: 18px;
}

.hs-command-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 14px;
}

/* CARDS */

.hs-card {
    min-height: 135px;
    margin-top: 15px;
    border-radius: 22px;
    border: 1px solid rgba(148,163,184,.08);
    background: linear-gradient(180deg, rgba(24,34,60,.92), rgba(10,16,30,.96));
    padding: 24px;
    transition: all .25s ease;
}

    .hs-card:hover {
        transform: translateY(-4px);
        border-color: rgba(139,92,246,.22);
        box-shadow: 0 20px 40px rgba(0,0,0,.35);
    }

.hs-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.08);
}

.hs-card-title {
    margin-top: 18px;
    font-size: 1rem;
    letter-spacing: -.02em;
    line-height: 1.15;
    font-weight: 800;
}

.hs-card-desc {
    margin-top: 10px;
    color: #d6e0ee;
    font-size: .82rem;
    line-height: 1.55;
}

.hs-card-agent {
    margin-top: 16px;
    height: 38px;
    min-width: 0;
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(148,163,184,.10);
    background: linear-gradient(180deg, rgba(24,34,60,.88), rgba(10,18,36,.88));
    color: white;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: .82rem;
    font-weight: 600;
}

.hs-agent-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    flex-shrink: 0;
}

    .hs-agent-dot.purple {
        background: #a855f7;
    }

    .hs-agent-dot.blue {
        background: #60a5fa;
    }

    .hs-agent-dot.green {
        background: #4ade80;
    }

    .hs-agent-dot.amber {
        background: #fbbf24;
    }

    .hs-agent-dot.cyan {
        background: #22d3ee;
    }

    .hs-agent-dot.pink {
        background: #f472b6;
    }

    .hs-agent-dot.lime {
        background: #a3e635;
    }

/* GLOWS */

.hs-card-icon.violet {
    background: radial-gradient(circle, rgba(168,85,247,.32), rgba(91,33,182,.22));
    color: #e9d5ff;
}

.hs-card-icon.blue {
    background: radial-gradient(circle, rgba(96,165,250,.32), rgba(29,78,216,.22));
    color: #bfdbfe;
}

.hs-card-icon.green {
    background: radial-gradient(circle, rgba(74,222,128,.32), rgba(22,101,52,.22));
    color: #bbf7d0;
}

.hs-card-icon.amber {
    background: radial-gradient(circle, rgba(251,191,36,.32), rgba(146,64,14,.22));
    color: #fde68a;
}

.hs-card-icon.cyan {
    background: radial-gradient(circle, rgba(34,211,238,.32), rgba(14,116,144,.22));
    color: #a5f3fc;
}

.hs-card-icon.pink {
    background: radial-gradient(circle, rgba(244,114,182,.32), rgba(131,24,67,.22));
    color: #fbcfe8;
}

.hs-card-icon.lime {
    background: radial-gradient(circle, rgba(163,230,53,.32), rgba(63,98,18,.22));
    color: #d9f99d;
}

/* RIGHT */

.hs-rightbar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

/* AGENT */

.hs-agent-panel {
    padding: 22px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(180deg, rgba(14,18,48,.96), rgba(6,10,24,.96));
}

.hs-agent-title {
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 800;
}

.hs-agent-text {
    margin-top: 16px;
    color: #d6e0ee;
    font-size: 1rem;
    line-height: 1.7;
}

.hs-orb-wrap {
    display: flex;
    justify-content: center;
    padding: 26px 0;
}

.hs-orb {
    width: 140px;
    height: 140px;
    border-radius: 999px;
    background: radial-gradient(circle at center, rgba(168,85,247,.65), rgba(59,130,246,.10), transparent 72%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hs-orb-core {
    width: 62px;
    height: 62px;
    border-radius: 999px;
    background: radial-gradient(circle at center, #ffffff, #d8b4fe 45%, #8b5cf6 72%);
    box-shadow: 0 0 60px rgba(192,132,252,.85);
}

.hs-primary-btn {
    width: 100%;
    height: 52px;
    border-radius: 16px;
    border: none;
    background: linear-gradient(90deg, #7c3aed, #2563eb);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
}

/* RESPONSIVE */

@media (min-width: 1800px) {

    .hs-shell {
        padding: 14px;
    }

    .hs-grid {
        display: grid;
        grid-template-columns: 280px minmax(0, 1fr) 270px;
    }
}

@media (max-width: 1500px) {

    .hs-command-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}

@media (max-width: 1300px) {

    .hs-grid {
        grid-template-columns: 280px minmax(0,1fr);
    }

    .hs-rightbar {
        display: none;
    }
}

@media (max-width: 1000px) {

    .hs-grid {
        grid-template-columns: 1fr;
    }

    .hs-command-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 768px) {

    .hs-command-grid {
        grid-template-columns: 1fr;
    }

    .hs-topbar {
        grid-template-columns: 1fr;
        height: auto;
        padding: 16px;
        gap: 16px;
    }
}


/* =========================================
   RIGHT SIDEBAR PANELS
========================================= */

.hs-side-list {
    padding: 20px;
}

/* =========================================
   ROWS
========================================= */

.hs-side-row {
    min-height: 68px; /* was 82 */
    border-radius: 20px;
    border: 1px solid rgba(148,163,184,.10);
    background: linear-gradient(180deg, rgba(20,30,54,.76), rgba(10,18,36,.82));
    padding: 10px 18px; /* was 18px */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

    .hs-side-row:hover {
        transform: translateY(-2px);
        border-color: rgba(139,92,246,.24);
        background: linear-gradient( 180deg, rgba(30,40,68,.90), rgba(14,20,42,.96) );
    }

/* =========================================
   TITLES
========================================= */

.hs-side-row-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.hs-side-main {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hs-side-row-text {
    font-size: .95rem;
    line-height: 1.45;
    color: white;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* =========================================
   TIME
========================================= */

.hs-side-time {
    font-size: .92rem;
    color: #94a3b8;
    white-space: nowrap;
    padding-left: 12px;
    flex-shrink: 0;
}

/* =========================================
   ICON BOXES
========================================= */

.hs-agent-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    gap: 8px;
    flex: 1;
}

.hs-online-under {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4ade80;
    font-size: .85rem;
    font-weight: 500;
}

.hs-side-icon {
    width: 44px;
    height: 44px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: inset 0 0 18px rgba(255,255,255,.03);
}

    /* PURPLE */

    .hs-side-icon.purple {
        background: radial-gradient(circle, rgba(168,85,247,.34), rgba(91,33,182,.22));
        color: #d8b4fe;
    }

    /* BLUE */

    .hs-side-icon.blue {
        background: radial-gradient(circle, rgba(59,130,246,.34), rgba(29,78,216,.22));
        color: #bfdbfe;
    }

    /* INDIGO */

    .hs-side-icon.indigo {
        background: radial-gradient(circle, rgba(99,102,241,.34), rgba(49,46,129,.22));
        color: #c7d2fe;
    }

    /* AMBER */

    .hs-side-icon.amber {
        background: radial-gradient(circle, rgba(251,191,36,.34), rgba(146,64,14,.22));
        color: #fde68a;
    }

    /* GREEN */

    .hs-side-icon.green {
        background: radial-gradient(circle, rgba(34,197,94,.34), rgba(21,128,61,.22));
        color: #86efac;
    }

    /* PINK */

    .hs-side-icon.pink {
        background: radial-gradient(circle, rgba(236,72,153,.34), rgba(157,23,77,.22));
        color: #f9a8d4;
    }

/* =========================================
   ONLINE STATUS
========================================= */

.hs-online {
    margin-left: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4ade80;
    font-size: .96rem;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.hs-online-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #4ade80;
    box-shadow: 0 0 14px rgba(74,222,128,.75);
}

/* =========================================
   FOOTER BUTTON
========================================= */

.hs-side-footer-btn {
    width: 100%;
    height: 72px;
    border-radius: 20px;
    border: 1px solid rgba(148,163,184,.10);
    background: linear-gradient(180deg, rgba(20,30,54,.55), rgba(10,18,36,.70));
    margin-top: 4px;
    padding: 0 26px;
    color: #c4b5fd;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.08rem;
    font-weight: 500;
    transition: transform .2s ease, border-color .2s ease, color .2s ease;
}

    .hs-side-footer-btn:hover {
        transform: translateY(-2px);
        border-color: rgba(139,92,246,.24);
        color: white;
    }

/* =========================================
   INTELLIGENCE PANEL
========================================= */

.hs-intelligence {
    border-radius: 22px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(91,33,182,.96), rgba(30,64,175,.96));
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 12px 40px rgba(0,0,0,.28);
}

.hs-intelligence-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.hs-nav-item {
    position: relative;
    overflow: hidden;
    transition: transform .22s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease;
}

    .hs-nav-item:hover {
        transform: translateY(-2px);
        background: linear-gradient( 135deg, rgba(139,92,246,.22), rgba(59,130,246,.14) );
        border-color: rgba(192,132,252,.28);
        box-shadow: 0 10px 28px rgba(0,0,0,.24), 0 0 24px rgba(168,85,247,.12);
    }

    .hs-nav-item::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient( 120deg, transparent 0%, rgba(255,255,255,.08) 45%, transparent 100% );
        transform: translateX(-120%);
        transition: transform .6s ease;
        pointer-events: none;
    }

    .hs-nav-item:hover::before {
        transform: translateX(120%);
    }

    .hs-nav-item.active {
        background: linear-gradient( 135deg, rgba(124,58,237,.34), rgba(79,70,229,.22) );
        border-color: rgba(196,181,253,.28);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 0 30px rgba(139,92,246,.16);
    }

.hs-shimmer {
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .28s ease, border-color .28s ease;
}

    .hs-shimmer::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient( 120deg, transparent 0%, rgba(255,255,255,.05) 42%, rgba(255,255,255,.09) 50%, rgba(255,255,255,.05) 58%, transparent 100% );
        transform: translateX(-140%);
        transition: transform .9s ease;
        pointer-events: none;
        z-index: 2;
    }

    .hs-shimmer:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 40px rgba(0,0,0,.34), 0 0 24px rgba(124,58,237,.10);
        border-color: rgba(192,132,252,.18);
    }

        .hs-shimmer:hover::before {
            transform: translateX(140%);
        }

/* =========================================================
   AGORA SUB LAYOUT
   Canonical _LayoutSub.cshtml Styles
========================================================= */

.hs-sub-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 320px;
    gap: 1rem;
    align-items: start;
    min-width: 0;
}

.hs-sub-sidebar,
.hs-sub-main,
.hs-sub-details {
    min-width: 0;
}


/* Tablet / narrow desktop */
@media (max-width: 1100px) {

    .hs-sub-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hs-sub-sidebar {
        display: none;
    }

    .hs-sub-main {
        width: 100%;
    }

    .hs-sub-details {
        width: 100%;
    }
}


/* =========================================================
   MOBILE WORKSPACE NAVIGATION
========================================================= */

.hs-mobile-workspace-toggle {
    display: none;
}

@media (max-width: 1100px) {

    .hs-mobile-workspace-toggle {
        display: block;
        width: 100%;
    }

    .hs-mobile-workspace-btn {
        width: 100%;
        min-height: 58px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 1.25rem;
        border-radius: 18px;
        border: 1px solid rgba(148, 163, 184, 0.16);
        background: linear-gradient( 135deg, rgba(76, 29, 149, 0.42), rgba(15, 23, 42, 0.96) );
        color: #f8fafc;
        font-weight: 700;
        cursor: pointer;
        transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    }

        .hs-mobile-workspace-btn:hover {
            border-color: rgba(245, 158, 11, 0.45);
        }

    /* =========================================================
   MOBILE WORKSPACE NAVIGATION
========================================================= */

    @media (max-width: 1100px) {

        .hs-site-create-actions {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            /* Pull Create Site up to match Page/Index toolbar */
            margin-top: -1.45rem;
            /* Match the breathing room below the other toolbars */
            margin-bottom: 2rem;
        }
    }

    .hs-mobile-workspace-toggle {
        display: none;
    }

    @media (max-width: 1100px) {

        .hs-mobile-workspace-toggle {
            display: block;
            width: 100%;
            margin-top: 0;
        }

        .hs-mobile-workspace-btn {
            width: 100%;
            min-height: 58px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 1.25rem;
            border-radius: 18px;
            border: 1px solid rgba(148, 163, 184, 0.16);
            background: linear-gradient( 135deg, rgba(76, 29, 149, 0.42), rgba(15, 23, 42, 0.96) );
            color: #f8fafc;
            font-weight: 700;
            cursor: pointer;
        }

        /* CLOSED */
        .hs-sub-grid > .hs-sub-sidebar {
            display: none !important;
        }

            /* OPEN */
            .hs-sub-grid > .hs-sub-sidebar.hs-mobile-workspaces-open {
                display: block !important;
            }

        .hs-sub-sidebar .hs-back-link {
            display: none;
        }
    }

}

@media (max-width: 1100px) {

    .hs-sub-sidebar .hs-back-link {
        display: none;
    }

    .hs-sub-sidebar .hs-panel-label:first-of-type {
        margin-top: 0;
    }
}

@media (max-width: 600px) {

    .hs-user-name,
    .hs-user-role,
    .hs-user button > .lucide-chevron-down {
        display: none;
    }

    .hs-user button {
        gap: 0;
    }

    .hs-divider {
        display: none;
    }
}


/* =========================================================
   PANELS
========================================================= */

.hs-sub-sidebar,
.hs-sub-main,
.hs-sub-details {
    border-radius: 30px;
    padding: 24px;
    background: linear-gradient( 180deg, rgba(10,16,34,.96), rgba(7,12,24,.98) );
    border: 1px solid rgba(255,255,255,.05);
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 48px rgba(0,0,0,.34), 0 0 0 1px rgba(255,255,255,.02), inset 0 1px 0 rgba(255,255,255,.03);
}


.hs-sub-sidebar,
.hs-sub-details {
    display: flex;
    flex-direction: column;
}

/* =========================================================
   SEARCH
========================================================= */

.hs-sub-search-wrap {
    width: 540px;
    height: 58px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 18px;
    background: linear-gradient( 180deg, rgba(255,255,255,.04), rgba(255,255,255,.02) );
    border: 1px solid rgba(255,255,255,.06);
}

.hs-sub-search {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 1rem;
}

    .hs-sub-search::placeholder {
        color: rgba(255,255,255,.45);
    }

.hs-search-shortcut {
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(255,255,255,.05);
    color: rgba(255,255,255,.55);
    font-size: .8rem;
}

/* =========================================================
   BACK LINK
========================================================= */

.hs-back-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.72);
    font-size: .95rem;
    transition: all .25s ease;
    position: relative;
    transform: translateY(10px);
}

    .hs-back-link:hover {
        color: white;
        transform: translateY(9px);
    }

/* =========================================================
   NAVIGATION
========================================================= */

.hs-nav-item {
    width: 100%;
    height: 58px;
    border-radius: 18px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255,255,255,.82);
    background: linear-gradient( 180deg, rgba(255,255,255,.03), rgba(255,255,255,.015) );
    border: 1px solid rgba(255,255,255,.04);
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease;
}

    .hs-nav-item::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient( 120deg, transparent 0%, rgba(255,255,255,.08) 45%, transparent 100% );
        transform: translateX(-120%);
        transition: transform .7s ease;
        pointer-events: none;
    }

    .hs-nav-item:hover {
        transform: translateY(-2px);
        background: linear-gradient( 135deg, rgba(139,92,246,.22), rgba(59,130,246,.14) );
        border-color: rgba(192,132,252,.24);
        box-shadow: 0 10px 28px rgba(0,0,0,.24), 0 0 24px rgba(168,85,247,.12);
    }

        .hs-nav-item:hover::before {
            transform: translateX(120%);
        }

    .hs-nav-item.active {
        background: linear-gradient( 135deg, rgba(124,58,237,.34), rgba(79,70,229,.22) );
        border-color: rgba(196,181,253,.28);
        color: white;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 0 30px rgba(139,92,246,.16);
    }

/* =========================================================
   SUBMENU
========================================================= */

.hs-nav-submenu {
    margin-left: 18px;
    margin-top: 10px;
    border-left: 1px solid rgba(255,255,255,.08);
    padding-left: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hs-nav-subitem {
    height: 44px;
    border-radius: 14px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    color: rgba(255,255,255,.68);
    transition: all .25s ease;
}

    .hs-nav-subitem:hover,
    .hs-nav-subitem.active {
        background: linear-gradient( 135deg, rgba(124,58,237,.28), rgba(79,70,229,.16) );
        color: white;
    }

/* =========================================================
   ACTION BUTTONS
========================================================= */

.hs-action-btn,
.hs-collapse-btn {
    width: 100%;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 18px;
    color: white;
    background: linear-gradient( 180deg, rgba(255,255,255,.04), rgba(255,255,255,.02) );
    border: 1px solid rgba(255,255,255,.05);
}

/* =========================================================
   MAIN CONTENT
========================================================= */

.hs-sub-main {
    overflow: visible;
    min-height: calc(100vh - 120px);
}

/* =========================================================
   AI ASSISTANT
========================================================= */

.hs-ai-card {
    border-radius: 28px;
    padding: 24px;
    background: linear-gradient( 135deg, rgba(91,33,182,.96), rgba(30,64,175,.96) );
    border: 1px solid rgba(255,255,255,.08);
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 50px rgba(0,0,0,.34);
}

.hs-ai-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

/*.hs-ai-avatar {
    width: 64px;
    height: 64px;
    border-radius: 22px;
    background: linear-gradient( 135deg, rgba(255,255,255,.25), rgba(255,255,255,.08) );
}*/

.hs-ai-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.hs-ai-role {
    color: rgba(255,255,255,.72);
    font-size: .92rem;
}

.hs-ai-description {
    color: rgba(255,255,255,.82);
    line-height: 1.7;
    margin-bottom: 24px;
}

.hs-ai-btn {
    width: 100%;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.08);
    color: white;
    font-weight: 600;
    transition: all .25s ease;
}

    .hs-ai-btn:hover {
        background: rgba(255,255,255,.18);
        transform: translateY(-2px);
    }

/* =========================================================
   CONTEXT CARDS
========================================================= */

.hs-context-card {
    border-radius: 20px;
    padding: 18px;
    background: linear-gradient( 180deg, rgba(18,28,52,.92), rgba(10,16,32,.96) );
    border: 1px solid rgba(255,255,255,.05);
}

.hs-context-title {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #e7b36d;
    margin-bottom: 10px;
}

.hs-context-value {
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1500px) {

    .hs-sub-grid {
        grid-template-columns: 280px minmax(0,1fr) 320px;
    }

    .hs-sub-search-wrap {
        width: 420px;
    }
}

@media (max-width: 1200px) {

    .hs-sub-grid {
        grid-template-columns: 1fr;
    }

    .hs-sub-sidebar,
    .hs-sub-details {
        min-height: auto;
    }

    .hs-sub-search-wrap {
        width: 100%;
    }
}


/* =========================================================
   SITES INDEX
========================================================= */

.hs-page-title {
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
    margin-top: 8px;
}

@media(max-width:640px) {

    .hs-page-title {
        font-size: 2.25rem;
    }
}

.hs-page-subtitle {
    font-size: 1.08rem;
    line-height: 1.7;
    color: rgba(255,255,255,.70);
    max-width: 650px;
}

/* =========================================================
   PRIMARY BUTTON
========================================================= */

.hs-primary-btn {
    height: 56px;
    padding: 0 22px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient( 135deg, #7c3aed, #2563eb );
    color: white;
    font-weight: 700;
    transition: all .25s ease;
    box-shadow: 0 10px 28px rgba(124,58,237,.28);
}

    .hs-primary-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 40px rgba(124,58,237,.40);
    }

/* =========================================================
   STATS
========================================================= */

.hs-stats-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 640px) {
    .hs-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .hs-stats-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.hs-stat-card {
    border-radius: 24px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient( 180deg, rgba(18,28,52,.92), rgba(10,16,32,.96) );
    border: 1px solid rgba(255,255,255,.05);
}

.hs-stat-icon {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

    .hs-stat-icon.purple {
        background: linear-gradient( 135deg, rgba(124,58,237,.45), rgba(91,33,182,.25) );
    }

    .hs-stat-icon.blue {
        background: linear-gradient( 135deg, rgba(59,130,246,.45), rgba(37,99,235,.22) );
    }

    .hs-stat-icon.amber {
        background: linear-gradient( 135deg, rgba(251,191,36,.42), rgba(245,158,11,.24) );
    }

.hs-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: white;
}

.hs-stat-label {
    color: rgba(255,255,255,.65);
    margin-top: 4px;
}

/* =========================================================
   DATA PANEL
========================================================= */

.hs-data-panel {
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient( 180deg, rgba(18,28,52,.92), rgba(10,16,32,.96) );
    border: 1px solid rgba(255,255,255,.05);
}

.hs-data-header {
    height: 84px;
    padding: 0 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

/* =========================================================
   TABLE
========================================================= */

.hs-table {
    width: 100%;
    border-collapse: collapse;
}

    .hs-table thead tr {
        background: rgba(255,255,255,.02);
    }

    .hs-table th {
        text-align: left;
        padding: 18px 24px;
        color: #e7b36d;
        font-size: .82rem;
        text-transform: uppercase;
        letter-spacing: .14em;
        font-weight: 700;
    }

    .hs-table td {
        padding: 22px 24px;
        border-top: 1px solid rgba(255,255,255,.04);
    }

.hs-table-row {
    transition: all .22s ease;
}

    .hs-table-row:nth-child(even) {
        background: rgba(255,255,255,.015);
    }

    .hs-table-row:hover {
        background: rgba(124,58,237,.08);
    }

.hs-table-title {
    color: white;
    font-weight: 700;
    margin-bottom: 4px;
}

.hs-table-subtitle {
    color: rgba(255,255,255,.55);
    font-size: .92rem;
}

/* =========================================================
   AVATAR
========================================================= */

.hs-site-avatar {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: linear-gradient( 135deg, rgba(124,58,237,.45), rgba(37,99,235,.24) );
}

/* =========================================================
   PILLS
========================================================= */

.hs-domain-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.05);
    color: white;
    font-size: .9rem;
}

.hs-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 600;
}

    .hs-status-pill.active {
        background: rgba(34,197,94,.12);
        color: #4ade80;
    }

    .hs-status-pill.inactive {
        background: rgba(239,68,68,.12);
        color: #f87171;
    }

.hs-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: currentColor;
}

/* =========================================================
   ACTION BUTTONS
========================================================= */

.hs-table-action-btn,
.hs-icon-btn {
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    color: rgba(255,255,255,.72);
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.05);
    transition: all .22s ease;
}

.hs-icon-btn {
    width: 42px;
    justify-content: center;
    padding: 0;
}

    .hs-table-action-btn:hover,
    .hs-icon-btn:hover {
        background: rgba(124,58,237,.14);
        color: white;
        transform: translateY(-1px);
    }

.hs-sub-brand {
    gap: 10px;
    align-items: center;
}

.hs-sub-brand-text h1 {
    line-height: 1;
}

.hs-top-user {
    display: flex;
    align-items: center;
    gap: 14px;
}


.hs-top-user-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

.hs-sub-header {
    min-height: 78px;
}


/* =========================================================
   CONTEXT CARDS
========================================================= */

.hs-context-card {
    padding: 18px 20px;
    border-radius: 18px;
    background: linear-gradient( 135deg, rgba(255,255,255,.03), rgba(255,255,255,.015) );
    border: 1px solid rgba(255,255,255,.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* LABEL */

.hs-context-title {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 700;
    color: #f4b860;
    line-height: 1.2;
}

/* VALUE */

.hs-context-value {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255,255,255,.94);
    line-height: 1.35;
}

/* =========================================================
   PAGE TREE
========================================================= */

.hs-page-tree {
    margin-top: 0px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.06);
    background: linear-gradient( 180deg, rgba(255,255,255,.02), rgba(255,255,255,.01) );
}

.hs-page-row {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 36px;
    border-bottom: 1px solid rgba(255,255,255,.04);
    transition: background .18s ease, transform .18s ease;
}

    .hs-page-row:hover {
        background: rgba(255,255,255,.03);
    }

.hs-page-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hs-page-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( 135deg, rgba(139,92,246,.24), rgba(59,130,246,.20) );
    color: #d8b4fe;
}

.hs-page-name {
    font-weight: 700;
    color: white;
}

.hs-page-slug {
    margin-top: 4px;
    color: rgba(255,255,255,.44);
    font-size: .84rem;
}

.hs-page-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hs-page-status {
    padding: 7px 12px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

    .hs-page-status.published {
        background: rgba(34,197,94,.14);
        color: #86efac;
    }

    .hs-page-status.draft {
        background: rgba(249,115,22,.12);
        color: #fdba74;
    }

.hs-page-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.72);
    transition: background .18s ease, transform .18s ease;
}

    .hs-page-action-btn:hover {
        background: rgba(139,92,246,.20);
        transform: translateY(-1px);
    }


/* =========================================================
   FORMS
========================================================= */

.hs-form-shell {
    width: 100%;
    max-width: none;
}

.hs-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    width: 100%;
}

.hs-form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

    .hs-form-group.col-span-2 {
        width: 100%;
    }

.hs-subpage-shell {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.tox {
    width: 100% !important;
}

.tox-tinymce {
    width: 100% !important;
}

.tox-editor-container {
    background: transparent !important;
}

.tox .tox-edit-area__iframe {
    background-color: #111827 !important;
}


.hs-label {
    font-size: .95rem;
    font-weight: 700;
    color: rgba(255,255,255,.88);
    letter-spacing: .02em;
}

.hs-input,
.hs-textarea,
.hs-select {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 16px;
    background: rgba(21,28,46,.30);
    border: 1px solid rgba(255,255,255,.08);
    color: white;
    outline: none;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.hs-textarea {
    min-height: 140px;
    padding-top: 16px;
    resize: vertical;
}

    .hs-input:focus,
    .hs-textarea:focus,
    .hs-select:focus {
        border-color: rgba(139,92,246,.65);
        background: rgba(255,255,255,.06);
        box-shadow: 0 0 0 3px rgba(139,92,246,.14);
    }

    .hs-input::placeholder,
    .hs-textarea::placeholder {
        color: rgba(255,255,255,.34);
    }

/* =========================================================
   SELECT
========================================================= */

.hs-select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,.5) 50%), linear-gradient(135deg, rgba(255,255,255,.5) 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(50% - 3px), calc(100% - 14px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

    .hs-select option {
        background: #091224;
        color: white;
    }

/* =========================================================
   CHECKBOX
========================================================= */

.hs-checkbox-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
}

    .hs-checkbox-row input[type="checkbox"] {
        width: 18px;
        height: 18px;
        accent-color: #8b5cf6;
    }

/* =========================================================
   PRIMARY CTA BUTTON
========================================================= */

.hs-btn-primary {
    height: 52px;
    padding: 0 22px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient( 135deg, #b45309, #d97706 );
    color: white;
    font-weight: 700;
    letter-spacing: .02em;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 10px 30px rgba(217,119,6,.24);
    transition: all .18s ease;
}

    .hs-btn-primary:hover {
        background: linear-gradient( 135deg, #d97706, #f59e0b );
        transform: translateY(-1px);
        box-shadow: 0 14px 36px rgba(245,158,11,.34);
    }


.hs-btn-danger {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.25rem;
    border-radius: .65rem;
    background: #dc2626;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: all .18s ease;
}

    .hs-btn-danger:hover {
        background: #b91c1c;
        color: white;
        text-decoration: none;
    }

/* =========================================================
   SECONDARY BUTTON
========================================================= */

.hs-btn-secondary {
    height: 52px;
    padding: 0 20px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.88);
    font-weight: 600;
    transition: all .18s ease;
}

    .hs-btn-secondary:hover {
        background: rgba(255,255,255,.08);
        border-color: rgba(255,255,255,.14);
        transform: translateY(-1px);
    }

.hs-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    color: rgba(255,255,255,.42);
    font-size: .88rem;
    padding-bottom: 10px;
}

    .hs-breadcrumb a {
        color: rgba(255,255,255,.58);
        transition: color .18s ease;
    }

        .hs-breadcrumb a:hover {
            color: #f59e0b;
        }

.hs-upload-zone {
    border: 1px dashed rgba(255,255,255,.12);
    border-radius: 20px;
    padding: 42px;
    background: rgba(255,255,255,.02);
}

.hs-upload-title {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255,255,255,.92);
}

.hs-upload-subtitle {
    margin-top: 8px;
    color: rgba(255,255,255,.48);
}

.hs-form-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(245, 158, 11, .25);
}

    .hs-form-section-header span {
        color: #f59e0b;
        font-size: .9rem;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

.hs-form-section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient( 90deg, rgba(245,158,11,.55), rgba(245,158,11,.05) );
}

.hs-site-image-preview {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.08);
    margin-bottom: 12px;
}

.hs-site-logo-preview {
    max-width: 220px;
    max-height: 90px;
    object-fit: contain;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.08);
    padding: 12px;
    margin-bottom: 12px;
    background: rgba(255,255,255,.04);
}

.hs-site-favicon-preview {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.08);
    padding: 8px;
    margin-bottom: 12px;
    background: rgba(255,255,255,.04);
}

.hs-success-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(245, 158, 11, .12);
    border: 1px solid rgba(245, 158, 11, .35);
    color: #f59e0b;
    font-weight: 600;
    letter-spacing: .02em;
}

    .hs-success-banner svg {
        flex-shrink: 0;
    }


/* ==========================================================
   AGORA SELECT
========================================================== */

.hs-select {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background: #1b1f33;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: border-color .20s, box-shadow .20s, background .20s;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23d3a54a' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5l6.5 6 6.5-6' stroke='%23d3a54a' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 44px;
}

    .hs-select:hover {
        border-color: #d3a54a;
    }

    .hs-select:focus {
        outline: none;
        border-color: #d3a54a;
        box-shadow: 0 0 0 3px rgba(211,165,74,.18);
    }

    .hs-select option {
        background: #1b1f33;
        color: white;
    }

.hs-associated-org-grid {
    display: grid;
    gap: 14px;
}

.hs-associated-org-card {
    width: 190px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

    .hs-associated-org-card img {
        height: 90px;
        object-fit: contain;
        padding: 18px;
    }

.hs-associated-org-footer {
    padding: 12px;
    border-top: 1px solid #eee;
    text-align: center;
}

.hs-associated-org-name {
    font-weight: 700;
    color: #fff;
}

.col-span-2 .hs-btn-primary {
    display: inline-flex;
}

.hs-associated-org-url {
    font-size: .85rem;
    color: rgba(255,255,255,.55);
}

.hs-danger-mini {
    margin-left: auto;
    padding: 7px 12px;
    border-radius: 8px;
    background: rgba(239,68,68,.16);
    color: #fca5a5;
    font-size: .8rem;
    font-weight: 700;
}

.hs-associated-org-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 18px;
    margin-bottom: 14px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
}

.hs-associated-org-logo {
    width: 140px;
    height: 90px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .hs-associated-org-logo img {
        max-width: 115px;
        max-height: 65px;
        object-fit: contain;
    }

.hs-associated-org-info {
    flex: 1;
}

.hs-associated-org-name {
    font-size: 18px;
    font-weight: 600;
}

.hs-associated-org-url {
    color: #aeb8d3;
    font-size: 14px;
}

.hs-associated-org-actions {
    margin-left: auto;
}

.hs-experience-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.hs-experience-card {
    display: flex;
    gap: 18px;
    padding: 20px;
    border-radius: 16px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.08);
    transition: .2s ease;
}

    .hs-experience-card:hover {
        background: rgba(255,255,255,.065);
        transform: translateY(-2px);
    }

    .hs-experience-card.coming-soon {
        opacity: .55;
    }

.hs-experience-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(111,76,255,.20);
    color: #d9c8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hs-experience-body {
    flex: 1;
}

.hs-experience-title {
    color: white;
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.hs-experience-type {
    color: #f6b440;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .68rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.hs-experience-description {
    color: rgba(255,255,255,.68);
    font-size: .9rem;
    line-height: 1.55;
    margin-bottom: 14px;
}

.hs-toggle-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.86);
    font-weight: 700;
    cursor: pointer;
}

    .hs-toggle-row input {
        width: 18px;
        height: 18px;
        accent-color: #f6b440;
    }

.hs-coming-soon-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(246,180,64,.14);
    color: #f6b440;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hs-ai-representatives {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.hs-ai-card {
    border-radius: 20px;
    padding: 28px;
    background: linear-gradient( 180deg, rgba(255,255,255,.045), rgba(255,255,255,.02) );
    border: 1px solid rgba(255,255,255,.08);
}

.hs-ai-header {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 28px;
}

.hs-ai-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient( 135deg, #7555ff, #4aa3ff );
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.hs-ai-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
}

.hs-ai-description {
    color: rgba(255,255,255,.65);
}

.hs-ai-body {
    display: grid;
    gap: 22px;
}

.hs-ai-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
}

.hs-ai-portrait {
    width: 92px;
    height: 92px;
    flex: none;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,.12);
    box-shadow: 0 12px 32px rgba(0,0,0,.35);
}

    .hs-ai-portrait img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.hs-ai-personified-name {
    font-size: 1.55rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2px;
}

.hs-ai-role {
    color: #d0a44c;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hs-ai-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,.08);
    margin: 18px 0;
}

.hs-ai-intro {
    color: rgba(255,255,255,.72);
    line-height: 1.6;
    margin-bottom: 10px;
}

.hs-input[readonly] {
    opacity: .75;
    cursor: not-allowed;
}

.hs-poll-settings {
    padding: 28px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    background: rgba(255,255,255,.035);
}

.hs-poll-settings-header {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: flex-start;
}

.hs-poll-settings-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: white;
}

.hs-poll-settings-description {
    margin-top: 8px;
    max-width: 760px;
    color: rgba(255,255,255,.65);
    line-height: 1.6;
}

.hs-poll-options-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
    margin-top: 22px;
}

@media (max-width: 850px) {
    .hs-poll-options-grid {
        grid-template-columns: 1fr;
    }

    .hs-poll-settings-header {
        flex-direction: column;
    }
}

.hs-gallery-video {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: black;
}

.hs-gallery-pdf-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4/3;
    text-decoration: none;
    color: #d5dde9;
    background: #1d2435;
}

.hs-gallery-pdf-icon {
    font-size: 58px;
    margin-bottom: 10px;
}

.hs-living-shell {
    max-width: 1200px;
    margin: 0 auto;
}

.hs-living-header {
    margin-bottom: 2rem;
}

.hs-living-author-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.75rem;
    margin-left: auto;
    padding-right: 1.5rem;
}

.hs-living-author-label {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    color: #f2b764;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1;
    white-space: nowrap;
}

.hs-living-return-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    color: #d8deea;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

    .hs-living-return-link:hover {
        color: #ffffff;
    }

    .hs-living-return-link svg {
        display: block;
        flex: 0 0 auto;
    }


.hs-author-main {
    position: relative;
    overflow: hidden;
    background: radial-gradient( circle at 18% 10%, rgba(154,105,255,.22), transparent 38% ), radial-gradient( circle at 85% 100%, rgba(226,132,38,.10), transparent 45% ), linear-gradient( 180deg, #34265f 0%, #4b3a86 38%, #584396 72%, #46367d 100% );
}

    .hs-author-main::before {
        content: "";
        position: absolute;
        width: 700px;
        height: 700px;
        left: -250px;
        top: -220px;
        border-radius: 50%;
        opacity: .55;
        background: radial-gradient( circle, rgba(255,255,255,.06), transparent 72% );
        pointer-events: none;
        filter: blur(110px);
    }

.hs-author-workspace {
    max-width: 1600px;
    margin: 0 auto;
    padding: 48px 64px 80px;
}

@media (max-width:900px) {

    .hs-author-workspace {
        padding: 38px 32px 60px;
    }
}

@media (max-width:640px) {

    .hs-author-workspace {
        padding: 34px 18px 42px;
    }
}

.hs-page-header {
    margin-bottom: 32px;
}

.hs-author-shell {
    max-width: 1400px;
}


.hs-tree-node {
    min-width: 0;
}

    .hs-tree-node + .hs-tree-node {
        margin-top: 6px;
    }

.hs-tree-children {
    position: relative;
    margin-top: 6px;
    margin-left: 18px;
    padding-left: 12px;
    border-left: 1px solid rgba(255,255,255,.08);
}

.hs-tree-node-type {
    margin-top: 2px;
    color: rgba(148,163,184,.68);
    font-size: .68rem;
    font-weight: 600;
    line-height: 1.2;
}

/* ===========================================================
   HERO META
   =========================================================== */


.hs-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
}

.hs-pill {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    height: 42px;
    min-width: 170px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(15,23,42,.52);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: .92rem;
    font-weight: 500;
    flex: 0 0 auto;
    white-space: nowrap;
}

    .hs-pill i {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

@media (max-width:900px) {

    .hs-pill {
        min-width: 150px;
        padding: 0 16px;
    }
}

@media (max-width:700px) {

    .hs-hero-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .hs-pill {
        width: 100%;
        max-width: 320px;
    }
}
/* =========================================================
   DASHBOARD CONTEXT
========================================================= */

.hs-context-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 18px;
    margin-top: 12px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(148,163,184,.10);
    background: linear-gradient( 180deg, rgba(20,30,54,.72), rgba(10,18,36,.82) );
}

.hs-context-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    min-width: 0;
}

.hs-context-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 15px;
    background: linear-gradient( 135deg, #f59e0b, #d97706 );
    color: white;
    box-shadow: 0 10px 24px rgba(217,119,6,.22);
}

.hs-context-detail-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding-left: 2px;
}

.hs-context-detail-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.hs-context-detail-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #f2b764;
}

.hs-context-label {
    color: #94a3b8;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.2;
}

.hs-context-title {
    margin-top: 3px;
    color: #f2b764;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
}

.hs-context-domain {
    margin-top: 5px;
    color: #94a3b8;
    font-size: .78rem;
    line-height: 1.3;
    word-break: break-word;
}

.hs-context-value {
    margin-top: 3px;
    color: white;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.25;
}

.hs-context-status-dot {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    margin-left: 5px;
    border-radius: 999px;
    background: #4ade80;
    box-shadow: 0 0 12px rgba(74,222,128,.55);
}

.hs-context-placeholder {
    color: #cbd5e1;
    font-style: italic;
    font-weight: 600;
}

/* =========================================================
   RECENT ACTIVITY
========================================================= */

.hs-activity-panel {
    padding: 24px;
}

.hs-activity-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}

.hs-activity-row {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 66px;
    padding: 12px 18px;
    border: 1px solid rgba(148,163,184,.10);
    border-radius: 18px;
    background: linear-gradient( 180deg, rgba(20,30,54,.72), rgba(10,18,36,.82) );
}

.hs-activity-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
}

    .hs-activity-icon.green {
        border: 1px solid rgba(74,222,128,.18);
        background: rgba(34,197,94,.14);
        color: #86efac;
    }

    .hs-activity-icon.purple {
        border: 1px solid rgba(168,85,247,.18);
        background: rgba(147,51,234,.14);
        color: #d8b4fe;
    }

    .hs-activity-icon.orange {
        border: 1px solid rgba(245,158,11,.20);
        background: rgba(217,119,6,.14);
        color: #f2b764;
    }

.hs-activity-copy {
    min-width: 0;
}

.hs-activity-title {
    color: #ffffff;
    font-size: .94rem;
    font-weight: 650;
    line-height: 1.45;
    text-decoration: none;
}

a.hs-activity-title:hover {
    color: #f2b764;
}

.hs-activity-time {
    color: #94a3b8;
    font-size: .82rem;
    white-space: nowrap;
}

.hs-activity-expand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 58px;
    margin-top: 14px;
    padding: 0 24px;
    border: 1px solid rgba(148,163,184,.10);
    border-radius: 18px;
    background: rgba(10,18,36,.48);
    color: #d8b4fe;
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

    .hs-activity-expand:hover {
        border-color: rgba(139,92,246,.25);
        background: rgba(139,92,246,.08);
        color: white;
    }

.hs-activity-empty {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 24px;
    border: 1px solid rgba(148,163,184,.10);
    border-radius: 18px;
    color: #94a3b8;
}

@media (max-width: 700px) {

    .hs-activity-panel {
        padding: 18px;
    }

    .hs-activity-row {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
        padding: 12px 14px;
    }

    .hs-activity-time {
        grid-column: 2;
        margin-top: -8px;
    }
}


.hs-side-photo {
    flex: 0 0 auto;
}

.hs-agent-photo {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 8px 18px rgba(0,0,0,.35);
}

.hs-offline-under {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: .82rem;
    color: #94a3b8;
}

.hs-offline-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #64748b;
}

.hs-ai-avatar {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 20px;
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    box-shadow: 0 10px 24px rgba(0,0,0,.32);
}

.hs-user {
    position: relative;
}

.hs-user-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    width: 220px;
    background: #161d30;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0,0,0,.45);
    overflow: hidden;
    z-index: 500;
}

.hs-user-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 18px;
    color: #d7deef;
    background: none;
    border: none;
    text-decoration: none;
    transition: .18s;
}

    .hs-user-menu-item:hover {
        background: rgba(255,255,255,.05);
        color: white;
    }

.hs-user-menu-divider {
    height: 1px;
    background: rgba(255,255,255,.08);
    margin: 4px 0;
}

/* =========================================================
   GLOBAL SEARCH
========================================================= */

.hs-global-search {
    position: relative;
    width: 100%;
    max-width: 620px;
}

.hs-global-search-results {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 1000;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    background: #0f1729;
    box-shadow: 0 28px 80px rgba(0,0,0,.50);
}

.hs-global-search-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.055);
    transition: background .18s ease, transform .18s ease;
}

    .hs-global-search-row:hover {
        background: rgba(124,58,237,.10);
    }

.hs-global-search-row-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 11px;
    color: #c4b5fd;
    background: rgba(124,58,237,.14);
    border: 1px solid rgba(167,139,250,.16);
}

.hs-global-search-row-category {
    margin-bottom: 2px;
    color: #f2b764;
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hs-global-search-row-title {
    overflow: hidden;
    color: #fff;
    font-size: .91rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hs-global-search-row-subtitle {
    margin-top: 2px;
    overflow: hidden;
    color: #94a3b8;
    font-size: .78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hs-global-search-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 80px;
    padding: 20px;
    color: #94a3b8;
    font-size: .87rem;
}

.hs-global-search-view-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 17px;
    border: 0;
    color: #d8b4fe;
    background: rgba(255,255,255,.025);
    font-size: .86rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s ease;
}

    .hs-global-search-view-all:hover {
        background: rgba(124,58,237,.12);
    }


/* =========================================================
   FULL SEARCH RESULTS
========================================================= */

.hs-global-result-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.055);
    transition: background .18s ease;
}

    .hs-global-result-row:last-child {
        border-bottom: none;
    }

    .hs-global-result-row:hover {
        background: rgba(124,58,237,.08);
    }

.hs-global-result-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 13px;
    color: #c4b5fd;
    background: rgba(124,58,237,.14);
}

.hs-global-result-category {
    color: #f2b764;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hs-global-result-title {
    margin-top: 3px;
    color: white;
    font-size: 1rem;
    font-weight: 750;
}

.hs-global-result-subtitle {
    margin-top: 3px;
    color: #94a3b8;
    font-size: .82rem;
}

.hs-global-result-context {
    max-width: 220px;
    overflow: hidden;
    color: #64748b;
    font-size: .78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hs-search-result-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,.05);
}

.hs-search-result-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124,58,237,.18);
    color: #c4b5fd;
}

/* ==========================================================
   AGORA AGENT IDENTITY SYSTEM
========================================================== */

.hs-agent-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease;
}


/* ----------------------------------------------------------
   OLIVIA — PEOPLE
   Vibrant Agora Purple
---------------------------------------------------------- */

.agent-olivia {
    background: rgba(124, 58, 237, .20);
    color: #c4b5fd;
    border-color: rgba(167, 139, 250, .26);
}


/* ----------------------------------------------------------
   AVERY — AUTHORING
   Agora Blue
---------------------------------------------------------- */

.agent-avery {
    background: rgba(59, 130, 246, .19);
    color: #93c5fd;
    border-color: rgba(96, 165, 250, .25);
}


/* ----------------------------------------------------------
   CLAIRE — MEDIA
   Blue-Green
---------------------------------------------------------- */

.agent-claire {
    background: rgba(16, 185, 129, .18);
    color: #6ee7b7;
    border-color: rgba(52, 211, 153, .24);
}


/* ----------------------------------------------------------
   ETHAN — COMMERCE
   Agora Gold
---------------------------------------------------------- */

.agent-ethan {
    background: rgba(217, 119, 6, .20);
    color: #fcd34d;
    border-color: rgba(245, 158, 11, .26);
}


/* ----------------------------------------------------------
   JORDAN — PROJECTS
   Vibrant Green
---------------------------------------------------------- */

.agent-jordan {
    background: rgba(5, 150, 105, .20);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, .26);
}


/* ----------------------------------------------------------
   LUCAS — SITES
   Deep Purple
---------------------------------------------------------- */

.agent-lucas {
    background: rgba(109, 40, 217, .20);
    color: #a78bfa;
    border-color: rgba(139, 92, 246, .27);
}


/* ----------------------------------------------------------
   MARCUS — TRAFFIC
   Purple / Rose edge
---------------------------------------------------------- */

.agent-marcus {
    background: rgba(147, 51, 234, .18);
    color: #d8b4fe;
    border-color: rgba(168, 85, 247, .24);
}


/* ----------------------------------------------------------
   MAYA — SEO
   Bright Agora Green
---------------------------------------------------------- */

.agent-maya {
    background: rgba(101, 163, 13, .20);
    color: #bef264;
    border-color: rgba(132, 204, 22, .25);
}


/* ----------------------------------------------------------
   HARPER — SUPPORT
   Agora Orange
---------------------------------------------------------- */

.agent-harper {
    background: rgba(249, 115, 22, .19);
    color: #fdba74;
    border-color: rgba(251, 146, 60, .26);
}


/* ----------------------------------------------------------
   NOAH — DATA
   Dark Emerald
---------------------------------------------------------- */

.agent-noah {
    background: rgba(4, 120, 87, .20);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, .24);
}


/* ----------------------------------------------------------
   SOPHIA — BROADCAST
   Purple / Orange blend family
---------------------------------------------------------- */

.agent-sophia {
    background: rgba(126, 34, 206, .19);
    color: #e9d5ff;
    border-color: rgba(168, 85, 247, .25);
}


/* ----------------------------------------------------------
   FUTURE / UNKNOWN AGENT
---------------------------------------------------------- */

.agent-default {
    background: rgba(100, 116, 139, .18);
    color: #cbd5e1;
    border-color: rgba(148, 163, 184, .20);
}

/* ==========================================================
   AGENT INTELLIGENCE
========================================================== */

.hs-agent-intelligence-page {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}


/* ==========================================================
   SUMMARY / KPI CARDS
========================================================== */

.hs-intelligence-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    min-width: 0;
    margin-bottom: 32px;
}

.hs-intelligence-stat {
    min-width: 0;
    min-height: 154px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 14px;
    text-align: center;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.06);
    background: #131d33;
}

.hs-intelligence-stat-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
}

.hs-intelligence-stat-value {
    max-width: 100%;
    color: #fff;
    font-size: clamp(1.65rem, 2vw, 2rem);
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.hs-intelligence-stat-label {
    max-width: 140px;
    margin: 0;
    color: #b4bdcf;
    font-size: .88rem;
    line-height: 1.35;
    white-space: normal;
}

.hs-intelligence-stat-icon.total {
    background: rgba(124,58,237,.20);
    color: #c4b5fd;
}

.hs-intelligence-stat-icon.open {
    background: rgba(16,185,129,.18);
    color: #6ee7b7;
}

.hs-intelligence-stat-icon.leads {
    background: rgba(249,115,22,.19);
    color: #fdba74;
}

.hs-intelligence-stat-icon.recommendations {
    background: rgba(59,130,246,.18);
    color: #93c5fd;
}


/* ==========================================================
   RECENT AGENT ACTIVITY
========================================================== */

.hs-agent-activity-panel {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.hs-agent-activity-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hs-agent-activity-row {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-width: 0;
    padding: 14px 18px;
    border-radius: 18px;
    border: 1px solid rgba(148,163,184,.10);
    background: linear-gradient( 180deg, rgba(20,30,54,.72), rgba(10,18,36,.82) );
    color: inherit;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

    .hs-agent-activity-row:hover {
        transform: translateY(-1px);
        border-color: rgba(139,92,246,.24);
        background: linear-gradient( 180deg, rgba(29,40,69,.88), rgba(13,21,42,.94) );
    }

.hs-agent-activity-copy {
    min-width: 0;
}

.hs-agent-name {
    color: white;
    font-size: .95rem;
    font-weight: 700;
}

.hs-agent-role-label {
    margin-top: 3px;
    color: #f2b764;
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.25;
    text-transform: uppercase;
}

.hs-agent-summary {
    min-width: 0;
    margin-top: 6px;
    color: #94a3b8;
    font-size: .82rem;
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
}

.hs-agent-time {
    color: #64748b;
    font-size: .76rem;
    line-height: 1.3;
    white-space: nowrap;
    text-align: right;
}


/* ==========================================================
   INTERACTIONS BY CONTEXT
========================================================== */

.hs-agent-context-group {
    min-width: 0;
}

    .hs-agent-context-group + .hs-agent-context-group {
        margin-top: 30px;
    }

.hs-agent-context-scope {
    margin-bottom: 7px;
    color: #f2b764;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.hs-agent-context-title {
    margin-bottom: 16px;
    color: white;
    font-size: 1.25rem;
    font-weight: 750;
}

.hs-agent-context-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.hs-agent-context-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-width: 0;
    padding: 16px 18px;
    border-radius: 17px;
    border: 1px solid rgba(148,163,184,.09);
    background: rgba(10,18,36,.55);
    color: inherit;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

    .hs-agent-context-card:hover {
        transform: translateY(-1px);
        border-color: rgba(139,92,246,.24);
        background: rgba(24,34,60,.78);
    }

.hs-agent-context-arrow {
    width: 18px;
    height: 18px;
    color: #64748b;
    margin-left: 5px;
}


/* ==========================================================
   INTERACTION DETAILS
========================================================== */

.hs-interaction-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hs-interaction-detail-item {
    min-width: 0;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.06);
    background: rgba(255,255,255,.025);
}

.hs-interaction-detail-label {
    margin-bottom: 7px;
    color: #f2b764;
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hs-interaction-detail-value {
    color: white;
    font-size: .92rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.hs-interaction-message {
    margin-top: 16px;
    padding: 22px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.06);
    background: rgba(255,255,255,.025);
}

.hs-interaction-message-body {
    margin-top: 12px;
    color: #cbd5e1;
    font-size: .95rem;
    line-height: 1.7;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.hs-interaction-json {
    max-height: 500px;
    overflow: auto;
    margin-top: 12px;
    padding: 18px;
    border-radius: 14px;
    background: #080f1e;
    color: #a7f3d0;
    font-family: Consolas, Monaco, monospace;
    font-size: .78rem;
    line-height: 1.55;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1050px) {

    .hs-intelligence-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hs-interaction-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 700px) {

    .hs-intelligence-stats {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hs-intelligence-stat {
        min-height: 138px;
    }


    .hs-agent-activity-row,
    .hs-agent-context-card {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    .hs-agent-time {
        grid-column: 2;
        margin-top: 2px;
        white-space: normal;
        text-align: left;
    }

    .hs-agent-context-arrow {
        display: none;
    }

    .hs-interaction-detail-grid {
        grid-template-columns: 1fr;
    }


}

.hs-system-message-card {
    display: block;
    padding: 28px;
    border-radius: 22px;
    background: #1d243b;
    border: 1px solid rgba(255,255,255,.05);
    transition: .18s;
    text-decoration: none;
}

    .hs-system-message-card:hover {
        transform: translateY(-2px);
        border-color: #7c5cff;
        background: #242d49;
    }


/*====================================================
SYSTEM MESSAGE DETAILS
====================================================*/

.hs-system-message-priority-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .hs-system-message-priority-icon.normal {
        background: #244b7c;
        color: #7cc4ff;
    }

    .hs-system-message-priority-icon.information {
        background: #1f4e72;
        color: #68d3ff;
    }

    .hs-system-message-priority-icon.important {
        background: #62471e;
        color: #ffcb67;
    }

    .hs-system-message-priority-icon.critical {
        background: #6f2d34;
        color: #ff8d96;
    }

@media (max-width:768px) {

    .hs-system-message-priority-icon {
        width: 56px;
        height: 56px;
    }
}

.hs-system-message-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.hs-message-priority {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .hs-message-priority i {
        width: 24px;
        height: 24px;
    }

    .hs-message-priority.information {
        background: #243a67;
        color: #8bc3ff;
    }

    .hs-message-priority.normal {
        background: #203f67;
        color: #67b7ff;
    }

    .hs-message-priority.important {
        background: #5d4322;
        color: #ffc865;
    }

    .hs-message-priority.critical {
        background: #5d2930;
        color: #ff9090;
    }

.hs-message-priority-label {
    font-size: 11px;
    letter-spacing: .25em;
    text-transform: uppercase;
    font-weight: 700;
    color: #f2b764;
    margin-bottom: 6px;
}

.hs-system-message-title {
    font-size: 28px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.hs-system-message-summary {
    margin-top: 18px;
    padding-left: 74px;
    color: #c7d1e8;
    font-size: 17px;
    line-height: 1.7;
}

.hs-system-message-footer {
    margin-top: 24px;
    padding-top: 18px;
    padding-left: 74px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b996ff;
    font-weight: 600;
}

.hs-system-message-date {
    color: white;
    font-weight: 600;
}

.hs-system-message-time {
    color: #94a3b8;
    font-size: 13px;
}

/* ==========================================================
   RICH CONTENT
   Used for CMS ContentBlocks, Help pages, documentation,
   knowledge base articles, AI generated HTML, etc.
========================================================== */

.hs-rich-content {
    color: #d6dbe7;
    line-height: 1.8;
    font-size: 1rem;
}

    .hs-rich-content h1 {
        font-size: 2.15rem;
        font-weight: 500;
        color: #f2b764;
        margin: 2.5rem 0 1rem;
        line-height: 1.15;
    }

    .hs-rich-content > h1:first-child {
        margin-top: 0;
    }

    .hs-rich-content h2 {
        font-size: 1.65rem;
        font-weight: 600;
        color: #ffffff;
        margin: 2rem 0 .75rem;
    }

    .hs-rich-content h3 {
        font-size: 1.3rem;
        font-weight: 600;
        color: #ffffff;
        margin: 1.5rem 0 .5rem;
    }

    .hs-rich-content p {
        margin: 0 0 1.25rem;
        color: #c8cedd;
    }

    .hs-rich-content strong {
        color: #ffffff;
        font-weight: 600;
    }

    .hs-rich-content a {
        color: #c48dff;
        text-decoration: none;
    }

        .hs-rich-content a:hover {
            color: #e1b8ff;
        }

    .hs-rich-content ul,
    .hs-rich-content ol {
        margin: 1rem 0 1.5rem 1.5rem;
    }

    .hs-rich-content li {
        margin: .35rem 0;
    }

    .hs-rich-content hr {
        border: none;
        border-top: 1px solid rgba(255,255,255,.08);
        margin: 2rem 0;
    }

    .hs-rich-content blockquote {
        border-left: 4px solid #8b5cf6;
        padding-left: 1rem;
        color: #d8def0;
        margin: 1.5rem 0;
    }

    .hs-rich-content img {
        max-width: 100%;
        height: auto;
        border-radius: 14px;
        margin: 1.5rem 0;
        box-shadow: 0 15px 40px rgba(0,0,0,.35);
    }

    .hs-rich-content table {
        width: 100%;
        border-collapse: collapse;
        margin: 2rem 0;
    }

    .hs-rich-content th,
    .hs-rich-content td {
        border: 1px solid rgba(255,255,255,.08);
        padding: .8rem 1rem;
    }

    .hs-rich-content th {
        background: #1b2238;
        color: #f2b764;
    }

/* ==========================================================
   AGORA WORKSPACE AGENT CONVERSATION
========================================================== */

.hs-ai-workspace {
    width: 100%;
}

.hs-agent-conversation {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    background: linear-gradient( 180deg, rgba(30, 41, 59, 0.82), rgba(15, 23, 42, 0.92) );
}

.hs-agent-conversation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.hs-agent-conversation-avatar {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    object-fit: cover;
    border-radius: 50%;
}

.hs-agent-conversation-name {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.hs-agent-conversation-role {
    margin-top: 4px;
    color: #f2b764;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hs-agent-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    color: #94a3b8;
    transition: color 160ms ease, background 160ms ease;
}

    .hs-agent-close:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.06);
    }

.hs-agent-messages {
    flex: 0 1 auto;
    max-height: 420px;
    overflow-y: auto;
    padding: 20px 16px;
}

.hs-agent-message {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

    .hs-agent-message.assistant {
        align-items: flex-start;
    }

    .hs-agent-message.user {
        align-items: flex-end;
    }

.hs-agent-message-label {
    margin-bottom: 6px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hs-agent-message-bubble {
    max-width: 92%;
    padding: 11px 13px;
    border-radius: 14px;
    color: #e2e8f0;
    font-size: 13px;
    line-height: 1.55;
    white-space: normal;
}

.hs-agent-message.assistant .hs-agent-message-bubble {
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(30, 41, 59, 0.82);
}

.hs-agent-message.user .hs-agent-message-bubble {
    border: 1px solid rgba(242, 183, 100, 0.20);
    background: rgba(242, 183, 100, 0.10);
    color: #ffffff;
}

.hs-agent-thinking {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hs-agent-input-area {
    padding: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.hs-agent-input-wrap {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(148, 163, 184, 0.20);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.78);
}

.hs-agent-input {
    width: 100%;
    min-height: 42px;
    max-height: 120px;
    resize: none;
    border: 0;
    outline: 0;
    padding: 8px;
    background: transparent;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.45;
}

    .hs-agent-input::placeholder {
        color: #64748b;
    }

.hs-agent-send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 11px;
    background: #f2b764;
    color: #111827;
    transition: opacity 160ms ease, transform 160ms ease;
}

    .hs-agent-send:hover:not(.disabled) {
        transform: translateY(-1px);
    }

    .hs-agent-send.disabled {
        cursor: default;
        opacity: 0.35;
    }

.hs-agent-team-link {
    padding: 0 14px 16px;
}

    .hs-agent-team-link a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        color: #94a3b8;
        font-size: 11px;
        font-weight: 600;
        transition: color 160ms ease;
    }

        .hs-agent-team-link a:hover {
            color: #f2b764;
        }

.hs-agent-greeting {
    width: 100%;
}

    .hs-agent-greeting .hs-agent-message-bubble {
        width: 100%;
        max-width: 100%;
        padding: 14px 16px;
        text-align: left;
    }
/* ==========================================================
   WORKSPACE AGENT — RESPONSIVE
========================================================== */

@media (max-width: 1100px) {

    .hs-agent-conversation {
        min-height: 440px;
    }

    .hs-agent-messages {
        flex: 1;
        max-height: 360px;
    }
}

@media (max-width: 768px) {

    .hs-agent-conversation {
        border-radius: 14px;
    }

    .hs-agent-conversation-header {
        padding: 14px;
    }

    .hs-agent-messages {
        flex: 1;
        max-height: 340px;
        padding: 16px 12px;
    }

    .hs-agent-message-bubble {
        max-width: 88%;
    }
}

/* =========================================================
   SUBPAGE MOBILE HEADER
========================================================= */

@media (max-width: 1100px) {

    .hs-topbar {
        position: relative;
    }

        .hs-topbar .hs-brand {
            width: 100%;
            display: flex;
            justify-content: center;
        }

        .hs-topbar .hs-brand-logo {
            display: block;
            margin-left: auto;
            margin-right: auto;
        }
}

/* =========================================================
   MOBILE TOPBAR ACTIONS
========================================================= */

@media (max-width: 1100px) {

    .hs-top-actions {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* =========================================================
   PAGE TREE RESPONSIVE SCROLL
========================================================= */

.hs-page-tree-scroll {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 1100px) {

    .hs-page-tree-scroll {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .hs-page-tree {
        min-width: 720px;
    }
}


@media (max-width: 1100px) {

    .hs-page-tree-scroll {
        padding-bottom: 8px;
    }

        .hs-page-tree-scroll::-webkit-scrollbar {
            height: 8px;
        }

        .hs-page-tree-scroll::-webkit-scrollbar-track {
            background: rgba(15, 23, 42, 0.65);
            border-radius: 999px;
        }

        .hs-page-tree-scroll::-webkit-scrollbar-thumb {
            background: rgba(124, 58, 237, 0.65);
            border-radius: 999px;
        }

            .hs-page-tree-scroll::-webkit-scrollbar-thumb:hover {
                background: rgba(124, 58, 237, 0.85);
            }
}

/* =========================================================
   AGORA HORIZONTAL SCROLLER
========================================================= */

.hs-horizontal-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 58, 237, 0.75) rgba(15, 23, 42, 0.65);
}

    /* Chrome / Edge / Safari */

    .hs-horizontal-scroll::-webkit-scrollbar {
        height: 8px;
    }

    .hs-horizontal-scroll::-webkit-scrollbar-track {
        background: rgba(15, 23, 42, 0.65);
        border-radius: 999px;
    }

    .hs-horizontal-scroll::-webkit-scrollbar-thumb {
        background: rgba(124, 58, 237, 0.65);
        border-radius: 999px;
    }

        .hs-horizontal-scroll::-webkit-scrollbar-thumb:hover {
            background: rgba(124, 58, 237, 0.85);
        }


/* =========================================================
   SUBPAGE TOP SPACING
   Desktop: purple gutter below global header
   Mobile: workspace navigation touches global header
========================================================= */

@media (min-width: 1101px) {

    .hs-sub-grid {
        margin-top: 12px;
    }
}

@media (max-width: 1100px) {

    .hs-sub-grid {
        margin-top: 0;
    }
}

/* =========================================================
   CONTENT BLOCK INDEX
========================================================= */

.hs-content-toolbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hs-content-block-scroll {
    width: 100%;
    min-width: 0;
    overflow-x: auto;
}

.hs-content-block-tree {
    min-width: 620px;
}

/* =========================================================
   CONTENT BLOCK INDEX - MOBILE
========================================================= */

@media (max-width: 1100px) {

    .hs-content-toolbar {
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: .25rem;
    }

    .hs-content-block-scroll {
        width: 100%;
    }
}

/* =========================================================
   AGORA VERTICAL SCROLLBAR
========================================================= */

.hs-vertical-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 58, 237, 0.80) rgba(15, 23, 42, 0.65);
}

    /* Chrome / Edge / Safari */

    .hs-vertical-scroll::-webkit-scrollbar {
        width: 6px;
    }

    .hs-vertical-scroll::-webkit-scrollbar-button {
        display: none;
        width: 0;
        height: 0;
    }

    .hs-vertical-scroll::-webkit-scrollbar-track {
        background: rgba(15, 23, 42, 0.65);
        border-radius: 999px;
    }

    .hs-vertical-scroll::-webkit-scrollbar-thumb {
        background: rgba(124, 58, 237, 0.75);
        border-radius: 999px;
    }

        .hs-vertical-scroll::-webkit-scrollbar-thumb:hover {
            background: rgba(124, 58, 237, 0.95);
        }

/* =========================================================
   PAGE INDEX TOOLBAR
========================================================= */

.hs-page-toolbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@media (max-width: 1100px) {

    .hs-page-toolbar {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: .25rem;
    }
}

/* =========================================================
   AGENT MESSAGE LINKS
========================================================= */

.hs-agent-link {
    color: #d4a64f;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 166, 79, 0.45);
    transition: color 0.15s ease, border-color 0.15s ease;
}

    .hs-agent-link:hover {
        color: #f0b95b;
        border-bottom-color: #f0b95b;
    }

.hs-gallery-hero-setting {
    margin-top: .75rem;
    padding-top: .9rem;
    border-top: 1px solid rgba(148, 162, 192, .16);
    align-items: flex-start;
}

.hs-gallery-setting-help {
    max-width: 220px;
    margin-top: .3rem;
    color: #7f8da8;
    font-size: .74rem;
    line-height: 1.45;
}