/* Nova UI — single custom visual layer for the whole Laravel application. */

:root {
    --nova-bg: #050c16;
    --nova-bg-soft: #081321;
    --nova-sidebar: #091725;
    --nova-surface: #0d1a2a;
    --nova-surface-2: #112238;
    --nova-surface-3: #162b43;
    --nova-border: rgba(139, 170, 199, .18);
    --nova-border-strong: rgba(139, 170, 199, .3);
    --nova-text: #f3f7fb;
    --nova-text-2: #b7c7d5;
    --nova-muted: #7f96aa;
    --nova-accent: #4f8cff;
    --nova-accent-2: #55dfcb;
    --nova-success: #31cf8a;
    --nova-danger: #ff5f75;
    --nova-warning: #ffc75a;
    --nova-radius: 14px;
    --nova-radius-lg: 20px;
    --nova-shadow: 0 22px 64px rgba(0, 0, 0, .3);
    --nova-shadow-sm: 0 12px 30px rgba(0, 0, 0, .2);
    --nova-sidebar-width: 244px;
    --nova-header-height: 64px;
}

/* V66: compact mobile profile documents and deal-history table */
@media (max-width: 767.98px) {
  body.nova-client[data-client-page="profile"] .profile-card-wrapper > .tabbable.boxed > .tabs-wrapper > li > a {
    grid-template-columns: minmax(0, 1fr) 25px !important;
    gap: 10px !important;
    padding: 10px 9px 10px 12px !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
  }

  body.nova-client[data-client-page="profile"] .profile-card-wrapper > .tabbable.boxed > .tabs-wrapper > li > a > i {
    width: 25px !important;
    font-size: 16px !important;
    justify-self: end !important;
  }

  body.nova-client[data-client-page="profile"] #docs > .card-body {
    gap: 12px !important;
    padding: 12px !important;
  }

  body.nova-client[data-client-page="profile"] #docs .doc-block .jumbotron {
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr) !important;
    column-gap: 13px !important;
    align-items: center !important;
    min-height: 176px !important;
    padding: 18px 14px !important;
    text-align: left !important;
  }

  body.nova-client[data-client-page="profile"] #docs .doc-block .jumbotron::before {
    width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    justify-self: start !important;
    font-size: 23px !important;
  }

  body.nova-client[data-client-page="profile"] #docs .doc-block .container {
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    grid-template-rows: auto auto !important;
    row-gap: 12px !important;
    align-content: center !important;
    justify-items: stretch !important;
    padding: 0 !important;
  }

  body.nova-client[data-client-page="profile"] #docs .doc-block h4 {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
    text-align: left !important;
  }

  body.nova-client[data-client-page="profile"] #docs .doc-block .upload-button {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    justify-content: center !important;
  }

  body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) .dataTables_scroll,
  body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) .dataTables_scrollHead,
  body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) .dataTables_scrollBody {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) .dataTables_scrollHead {
    overflow: hidden !important;
  }

  body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) .dataTables_scrollBody {
    overflow-x: auto !important;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: #2f9bd1 #071827;
  }

  body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) .dataTables_scrollBody::-webkit-scrollbar {
    height: 6px;
  }

  body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) .dataTables_scrollBody::-webkit-scrollbar-track {
    background: #071827;
    border-radius: 999px;
  }

  body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) .dataTables_scrollBody::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #227cae, #43c5df);
    border-radius: 999px;
  }

  body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) table {
    width: 1240px !important;
    min-width: 1240px !important;
    table-layout: fixed !important;
  }

  body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) th,
  body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) td {
    box-sizing: border-box !important;
    padding-right: 10px !important;
    padding-left: 10px !important;
    white-space: nowrap !important;
  }

  body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) th:nth-child(1),
  body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) td:nth-child(1) {
    width: 145px !important;
    min-width: 145px !important;
    max-width: 145px !important;
  }

  body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) th:nth-child(2),
  body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) td:nth-child(2) {
    width: 155px !important;
    min-width: 155px !important;
    max-width: 155px !important;
  }

  body.nova-client[data-client-page="history"] #deals-table_wrapper > .row:last-child {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 14px 10px 10px !important;
  }

  body.nova-client[data-client-page="history"] #deals-table_wrapper > .row:last-child > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
  }

  body.nova-client[data-client-page="history"] #deals-table_wrapper .dataTables_info {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  body.nova-client[data-client-page="history"] #deals-table_wrapper .dataTables_paginate,
  body.nova-client[data-client-page="history"] #deals-table_wrapper .dataTables_paginate .pagination {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }

  body.nova-client[data-client-page="history"] #deals-table_wrapper .dataTables_paginate .page-link {
    display: inline-flex !important;
    min-width: 38px !important;
    height: 38px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border: 1px solid rgba(91, 161, 215, 0.28) !important;
    border-radius: 9px !important;
    background: #0b2033 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body.nova-client[data-client-page="history"] #deals-table_wrapper .dataTables_paginate .active .page-link {
    border-color: #4ea9e8 !important;
    background: #123554 !important;
    color: #fff !important;
  }
}

/* V64: mobile history empty state and support header alignment */
@media (max-width: 767.98px) {
  /* Keep one clean outline around the mobile P/L action group. */
  body.nova-client:not(.terminal-pro) .loged-main_nav .nav-right > li:has(#live-pnl-value),
  body.nova-client:not(.terminal-pro) .loged-main_nav .nav-right > li:has(#live-pnl-value) > .nav-link {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  /* Match the compact empty-table treatment already used on the trade page. */
  body.nova-client[data-client-page="history"] .client-history-page > .card,
  body.nova-client[data-client-page="history"] .client-history-page > .card > .card-body {
    max-width: 100% !important;
    overflow: hidden !important;
  }

  body.nova-client[data-client-page="history"] .client-history-page > .card > .card-body {
    padding: 12px !important;
  }

  body.nova-client[data-client-page="history"] .client-history-page .dataTables_wrapper:has(.dataTables_empty),
  body.nova-client[data-client-page="history"] .client-history-page .dataTables_wrapper:has(.dataTables_empty) .dataTables_scroll,
  body.nova-client[data-client-page="history"] .client-history-page .dataTables_wrapper:has(.dataTables_empty) .dataTables_scrollBody {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
  }

  body.nova-client[data-client-page="history"] .client-history-page .dataTables_wrapper:has(.dataTables_empty) > .row:first-child,
  body.nova-client[data-client-page="history"] .client-history-page .dataTables_wrapper:has(.dataTables_empty) > .row:last-child,
  body.nova-client[data-client-page="history"] .client-history-page .dataTables_wrapper:has(.dataTables_empty) .dataTables_scrollHead {
    display: none !important;
  }

  body.nova-client[data-client-page="history"] .client-history-page table:has(.dataTables_empty) {
    display: table !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    table-layout: fixed !important;
  }

  body.nova-client[data-client-page="history"] .client-history-page table:has(.dataTables_empty) thead {
    display: none !important;
  }

  body.nova-client[data-client-page="history"] .client-history-page .dataTables_empty {
    width: 100% !important;
    min-width: 0 !important;
    height: 104px !important;
    padding: 28px 14px !important;
    text-align: center !important;
    white-space: normal !important;
    border: 0 !important;
  }

  body.nova-client[data-client-page="support"] .client-support-page > .card > .card-header {
    justify-content: center !important;
    text-align: center !important;
  }

  body.nova-client[data-client-page="support"] .client-support-page > .card > .card-header h4 {
    width: 100% !important;
    margin: 0 !important;
    text-align: center !important;
  }
}

html { scroll-behavior: smooth; }

.nova-shell {
    color: var(--nova-text);
    background: var(--nova-bg);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: -.012em;
    -webkit-font-smoothing: antialiased;
}

.nova-shell::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    content: "";
    background:
        radial-gradient(circle at 8% 0, rgba(79, 140, 255, .12), transparent 31rem),
        radial-gradient(circle at 95% 12%, rgba(85, 223, 203, .08), transparent 34rem),
        linear-gradient(155deg, var(--nova-bg-soft), var(--nova-bg) 55%);
}

.nova-shell *, .nova-shell *::before, .nova-shell *::after { box-sizing: border-box; }
.nova-shell ::selection { color: #06121e; background: var(--nova-accent-2); }
.nova-shell a { color: var(--nova-accent); transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
.nova-shell a:hover { color: #80aaff; text-decoration: none; }
.nova-shell h1, .nova-shell h2, .nova-shell h3, .nova-shell h4, .nova-shell h5, .nova-shell h6 { color: var(--nova-text); font-weight: 750; letter-spacing: -.03em; }
.nova-shell label, .nova-shell small, .nova-shell .text-muted { color: var(--nova-muted) !important; }

.nova-shell .btn,
.nova-shell button {
    min-height: 40px;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.nova-shell .btn:hover { transform: translateY(-1px); }
.nova-shell .btn-primary, .nova-shell .btn-secondary, .nova-shell .prim-btn {
    color: #04131f !important;
    border-color: transparent !important;
    background: linear-gradient(135deg, #65a2ff, var(--nova-accent-2)) !important;
    box-shadow: 0 10px 25px rgba(79, 140, 255, .16) !important;
}
.nova-shell .btn-outline-primary, .nova-shell .btn-outline-secondary, .nova-shell .btn-light, .nova-shell .btn-default, .nova-shell .btn-primary-gray {
    color: var(--nova-text) !important;
    border-color: var(--nova-border-strong) !important;
    background: rgba(255,255,255,.035) !important;
}
.nova-shell .btn-danger { color: #fff !important; border-color: transparent !important; background: #d82f49 !important; }
.nova-shell .btn-warning { color: #261a02 !important; border-color: transparent !important; background: var(--nova-warning) !important; }
.nova-shell .btn-success { color: #041a10 !important; border-color: transparent !important; background: var(--nova-success) !important; }

.nova-shell .form-control,
.nova-shell .custom-select,
.nova-shell input[type="text"], .nova-shell input[type="email"], .nova-shell input[type="password"],
.nova-shell input[type="number"], .nova-shell input[type="tel"], .nova-shell input[type="search"],
.nova-shell select, .nova-shell textarea {
    min-height: 42px;
    color: var(--nova-text) !important;
    border: 1px solid var(--nova-border) !important;
    border-radius: 10px !important;
    outline: 0;
    background: rgba(3, 11, 20, .72) !important;
    box-shadow: none !important;
}
.nova-shell .form-control:focus, .nova-shell input:focus, .nova-shell select:focus, .nova-shell textarea:focus {
    border-color: rgba(79, 140, 255, .8) !important;
    background: rgba(5, 15, 26, .94) !important;
    box-shadow: 0 0 0 3px rgba(79, 140, 255, .11) !important;
}
.nova-shell input::placeholder, .nova-shell textarea::placeholder { color: #657c90 !important; opacity: 1; }

.nova-shell .card,
.nova-shell .modal-content,
.nova-shell .dropdown-menu,
.nova-shell .popover,
.nova-shell .list-group-item,
.nova-shell .info-box,
.nova-shell .small-box {
    color: var(--nova-text);
    border: 1px solid var(--nova-border) !important;
    border-radius: var(--nova-radius) !important;
    background: var(--nova-surface) !important;
    box-shadow: var(--nova-shadow-sm);
}
.nova-shell .card-header, .nova-shell .card-footer, .nova-shell .modal-header, .nova-shell .modal-footer {
    border-color: var(--nova-border) !important;
    background: rgba(255,255,255,.018) !important;
}
.nova-shell .dropdown-menu { padding: 7px; }
.nova-shell .dropdown-item { color: var(--nova-text-2); border-radius: 8px; }
.nova-shell .dropdown-item:hover, .nova-shell .dropdown-item:focus, .nova-shell .dropdown-item.active { color: var(--nova-text); background: rgba(79, 140, 255, .12); }
.nova-shell .close { color: var(--nova-text); text-shadow: none; opacity: .75; }

.nova-shell .table { width: 100%; margin-bottom: 0; color: var(--nova-text-2) !important; background: transparent !important; }
.nova-shell .table th, .nova-shell .table td { padding: .8rem .7rem; border-color: var(--nova-border) !important; vertical-align: middle !important; }
.nova-shell .table thead th { color: var(--nova-muted) !important; border-top: 0 !important; border-bottom: 1px solid var(--nova-border-strong) !important; font-size: .7rem; font-weight: 800; letter-spacing: .065em; text-transform: uppercase; }
.nova-shell .table-striped tbody tr:nth-of-type(odd), .nova-shell .table tr.odd { background: rgba(255,255,255,.018) !important; }
.nova-shell .table-hover tbody tr:hover { color: var(--nova-text) !important; background: rgba(79,140,255,.055) !important; }

.nova-shell .alert { color: var(--nova-text); border: 1px solid var(--nova-border); border-radius: 12px; background: var(--nova-surface); box-shadow: var(--nova-shadow-sm); }
.nova-shell .alert-success { border-color: rgba(49,207,138,.4); }
.nova-shell .alert-danger { border-color: rgba(255,95,117,.45); }

/* Public website */
.nova-public { overflow-x: hidden; background: var(--nova-bg) !important; }
.nova-public .page, .nova-public .wrapper { display: block; background: transparent !important; }
.nova-public header, .nova-public .header, .nova-public .navbar {
    border-bottom: 1px solid var(--nova-border);
    background: rgba(5, 13, 23, .88) !important;
    box-shadow: 0 12px 38px rgba(0,0,0,.18);
    backdrop-filter: blur(18px);
}
.nova-public .nav-link { color: var(--nova-text-2) !important; font-weight: 650; }
.nova-public .nav-link:hover { color: var(--nova-accent-2) !important; }
.nova-public .section { position: relative; color: var(--nova-text); background-color: transparent !important; }
.nova-public .container { max-width: 1240px; }
.nova-public .hero-carousel, .nova-public .hero-carousel .slide, .nova-public .hero-carousel .slide-inner_bg { min-height: min(820px, 88vh); }
.nova-public .hero-carousel .slide-inner_bg { position: relative; background-color: #07111e !important; background-blend-mode: soft-light; }
.nova-public .hero-carousel .slide-inner_bg::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(3,9,16,.97), rgba(3,9,16,.7) 48%, rgba(3,9,16,.25)); }
.nova-public .slide-inner_wrapper { z-index: 2; max-width: 1240px; margin-inline: auto; padding-inline: 32px; }
.nova-public .slide-title { max-width: 780px; color: #fff !important; font-size: clamp(2.7rem, 5.2vw, 5.3rem) !important; font-weight: 780; line-height: .99 !important; text-wrap: balance; }
.nova-public .slide-text { max-width: 680px; color: var(--nova-text-2) !important; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.nova-public .vasminka_svg, .nova-public .check-svg { color: var(--nova-accent-2); fill: var(--nova-accent-2); }
.nova-public .benefits, .nova-public .vip, .nova-public .faq, .nova-public .learn, .nova-public .try { padding-block: clamp(70px, 9vw, 126px) !important; }
.nova-public .ben-title, .nova-public .learn-title, .nova-public .faq h1, .nova-public .try h2 { color: var(--nova-text) !important; font-size: clamp(2rem, 4vw, 3.6rem) !important; line-height: 1.08; text-wrap: balance; }
.nova-public .ben-inner, .nova-public .easy-cta, .nova-public .vip-item, .nova-public .reviews-item, .nova-public .faq-inner, .nova-public .learn-video, .nova-public .learn-desc, .nova-public .try-inner {
    color: var(--nova-text-2) !important;
    border: 1px solid var(--nova-border) !important;
    border-radius: var(--nova-radius-lg) !important;
    background: linear-gradient(145deg, rgba(17,34,56,.88), rgba(7,18,31,.92)) !important;
    box-shadow: var(--nova-shadow);
}
.nova-public .ben-inner { padding: clamp(24px, 4vw, 52px); gap: 40px; }
.nova-public .ben-ul li { color: #d7e2eb !important; border-bottom-color: var(--nova-border) !important; }
.nova-public .easy-cta { padding: 26px 30px; }
.nova-public .vip-inner { gap: 20px; }
.nova-public .vip-item { padding: 32px !important; }
.nova-public .vip-title { color: var(--nova-accent-2) !important; }
.nova-public .tokens-bg { padding-block: 100px; border-block: 1px solid var(--nova-border); background: linear-gradient(135deg, rgba(12,29,48,.9), rgba(5,13,23,.98)) !important; }
.nova-public .reviews-item { min-height: 190px; padding: 28px !important; }
.nova-public .faq-ul .q { color: var(--nova-text) !important; border-top: 1px solid var(--nova-border); font-weight: 750; }
.nova-public .faq-ul .a { color: var(--nova-muted) !important; }
.nova-public .learn-video, .nova-public .learn-desc { overflow: hidden; padding: 28px !important; }
.nova-public .try-inner { padding: clamp(34px, 5vw, 68px) !important; }
.nova-public .easy-images img, .nova-public .try-img { filter: drop-shadow(0 28px 38px rgba(0,0,0,.42)); }
.nova-public .payments { padding: 32px 0; border-block: 1px solid var(--nova-border); background: rgba(2,8,15,.72) !important; }
.nova-public .payments img { max-height: 34px; opacity: .75; filter: grayscale(1) brightness(1.6); }
.nova-public footer { color: var(--nova-muted); border-top: 1px solid var(--nova-border); background: #030a12 !important; }

/* Authentication */
.nova-auth { min-height: 100vh; background: var(--nova-bg) !important; }
.nova-auth .navbar { min-height: 76px; padding-inline: clamp(18px, 4vw, 54px) !important; border-bottom: 1px solid var(--nova-border); background: rgba(5,14,25,.86) !important; box-shadow: none !important; backdrop-filter: blur(18px); }
.nova-auth .navbar-brand img { width: auto !important; max-width: 160px; height: 42px !important; object-fit: contain; }
.nova-auth .navbar .nav-link { color: var(--nova-text-2) !important; font-weight: 700; }
.nova-auth main { display: grid; min-height: calc(100vh - 76px); place-items: center; padding: 44px 18px; }
.nova-auth main > .container { width: min(100%, 760px); margin: 0 auto !important; padding: 0 !important; }
.nova-auth .card { overflow: hidden; border-radius: 22px !important; background: linear-gradient(145deg, rgba(18,38,60,.96), rgba(7,18,31,.98)) !important; box-shadow: 0 30px 86px rgba(0,0,0,.4); }
.nova-auth .card-header { padding: 22px 28px; color: var(--nova-text); font-size: 1.2rem; font-weight: 750; }
.nova-auth .card-body { padding: clamp(24px, 5vw, 48px); }

/* Client cabinet and trading */
.nova-client { min-height: 100vh; overflow-x: hidden; background: var(--nova-bg) !important; }
.nova-client .wrapper { min-height: 100vh; background: transparent !important; }
.nova-client .top-nav { min-height: 64px; padding: 8px 30px !important; border-bottom: 1px solid var(--nova-border) !important; background: rgba(6,16,28,.94) !important; box-shadow: 0 12px 32px rgba(0,0,0,.2); backdrop-filter: blur(18px); }
.nova-client .loged-main_nav { border-bottom: 1px solid var(--nova-border); background: rgba(9,23,38,.95) !important; }
.nova-client .nav-link, .nova-client .nav a { color: var(--nova-text-2) !important; }
.nova-client .nav-link:hover, .nova-client .nav a:hover { color: var(--nova-accent-2) !important; }
.nova-client .content-wrapper { min-height: calc(100vh - 112px); padding: 26px 30px !important; background: transparent !important; }
.nova-client .content-header { padding: 8px 0 20px; }
.nova-client .content-header h1 { color: var(--nova-text) !important; font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
.nova-client .breadcrumb { background: transparent; }
.nova-client .breadcrumb-item, .nova-client .breadcrumb-item.active { color: var(--nova-muted) !important; }
.nova-client .container-fluid { max-width: 1680px; }
.nova-client .content .row { row-gap: 20px; }
.nova-client .tradingview-widget-container, .nova-client .bs-and-w_wrapper > div, .nova-client .card, .nova-client .wrapper-deals, .nova-client .table-responsive, .nova-client .profile-card, .nova-client .box, .nova-client .callout {
    border: 1px solid var(--nova-border) !important;
    border-radius: var(--nova-radius) !important;
    background: var(--nova-surface) !important;
    box-shadow: var(--nova-shadow-sm);
}
.nova-client .buy-btn, .nova-client .btn-buy { color: #032014 !important; background: var(--nova-success) !important; }
.nova-client .sell-btn, .nova-client .btn-sell { color: #27050b !important; background: var(--nova-danger) !important; }
.nova-client #uiCurrencySelect { height: 34px !important; min-height: 34px; }
.nova-client .cabinet-notifications__dropdown, .nova-client .loged-dropdowns { border: 1px solid var(--nova-border) !important; border-radius: 12px !important; background: var(--nova-surface) !important; box-shadow: var(--nova-shadow); }
.nova-client .wrapper-deals { overflow: hidden; padding: 0 !important; }
.nova-client .wrapper-deals .table-responsive { border: 0 !important; border-radius: 0 !important; box-shadow: none; }

/* Compact and deterministic DataTables footer */
.nova-shell .dataTables_wrapper { width: 100%; color: var(--nova-text-2); }
.nova-shell .dataTables_wrapper > .row { align-items: center; margin: 0 !important; padding: 14px 16px; }
.nova-shell .dataTables_wrapper > .row:first-child { gap: 14px; border-bottom: 1px solid var(--nova-border); }
.nova-shell .dataTables_wrapper > .row:last-child { gap: 14px; border-top: 1px solid var(--nova-border); }
.nova-shell .dataTables_wrapper > .row > [class*="col-"] { min-width: 0; padding: 0 !important; }
.nova-shell .dataTables_length, .nova-shell .dataTables_filter, .nova-shell .dataTables_info, .nova-shell .dataTables_paginate { margin: 0 !important; color: var(--nova-muted) !important; }
.nova-shell .dataTables_length label, .nova-shell .dataTables_filter label { display: inline-flex; align-items: center; gap: 9px; margin: 0; color: var(--nova-muted) !important; }
.nova-shell .dataTables_length select { width: auto; min-width: 70px; margin: 0 4px; }
.nova-shell .dataTables_filter input { width: min(220px, 30vw); margin-left: 0 !important; }
.nova-shell .dataTables_paginate { display: flex !important; justify-content: flex-end !important; float: none !important; padding: 0 !important; }
.nova-shell .dataTables_paginate .pagination { display: inline-flex !important; width: auto !important; min-width: 0 !important; align-items: center; gap: 6px; margin: 0 !important; padding: 0 !important; list-style: none !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.nova-shell .dataTables_paginate .page-item { display: block !important; width: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
.nova-shell .dataTables_paginate .page-link { display: inline-flex !important; width: auto !important; min-width: 40px; height: 40px; align-items: center; justify-content: center; margin: 0 !important; padding: 0 12px !important; color: var(--nova-muted) !important; border: 1px solid var(--nova-border) !important; border-radius: 9px !important; background: rgba(255,255,255,.025) !important; box-shadow: none !important; }
.nova-shell .dataTables_paginate .page-item.active .page-link { color: #fff !important; border-color: var(--nova-accent) !important; background: var(--nova-accent) !important; }
.nova-shell .dataTables_paginate .page-item.disabled .page-link { opacity: .45; cursor: default; }

/* Administration */
.nova-admin { min-height: 100vh; overflow-x: hidden; background: var(--nova-bg) !important; }
.nova-admin:not(.dark) {
    --nova-bg: #edf3f8;
    --nova-bg-soft: #f7fafc;
    --nova-sidebar: #ffffff;
    --nova-surface: #ffffff;
    --nova-surface-2: #f4f7fa;
    --nova-surface-3: #eaf0f6;
    --nova-border: rgba(42, 67, 91, .14);
    --nova-border-strong: rgba(42, 67, 91, .24);
    --nova-text: #122235;
    --nova-text-2: #465c70;
    --nova-muted: #73879a;
    --nova-shadow: 0 22px 60px rgba(43, 65, 86, .14);
    --nova-shadow-sm: 0 10px 26px rgba(43, 65, 86, .1);
}
.nova-admin .wrapper { min-height: 100vh; background: transparent !important; }
.nova-admin .main-sidebar { width: var(--nova-sidebar-width) !important; border-right: 1px solid var(--nova-border); background: var(--nova-sidebar) !important; box-shadow: 14px 0 36px rgba(0,0,0,.16) !important; }
.nova-admin .brand-link { width: var(--nova-sidebar-width) !important; min-height: var(--nova-header-height); padding: 10px 14px !important; border-bottom: 1px solid var(--nova-border) !important; background: rgba(255,255,255,.015) !important; }
.nova-admin .brand-link .brand-image { width: 34px !important; max-height: 34px !important; margin: 0 9px 0 0 !important; object-fit: contain; background: transparent !important; }
.nova-admin .brand-link .brand-text { color: var(--nova-text) !important; font-size: .86rem !important; font-weight: 800; }
.nova-admin .sidebar { width: 100% !important; height: calc(100vh - var(--nova-header-height)); padding: 10px 9px 22px; overflow-y: auto; background: transparent !important; }
.nova-admin .user-panel { margin: 8px 5px 12px !important; padding: 11px !important; border: 1px solid var(--nova-border) !important; border-radius: 11px; }
.nova-admin .user-panel .info { min-width: 0; padding-left: 8px; }
.nova-admin .user-panel .info a { display: block; overflow: hidden; color: var(--nova-text-2) !important; text-overflow: ellipsis; white-space: nowrap; }
.nova-admin .nav-sidebar { width: 100%; gap: 3px; }
.nova-admin .nav-sidebar .nav-item { margin: 0; }
.nova-admin .nav-sidebar .nav-link { min-height: 42px; padding: 9px 10px; color: var(--nova-text-2) !important; border: 1px solid transparent; border-radius: 9px; font-size: .88rem; font-weight: 680; }
.nova-admin .nav-sidebar .nav-link:hover { color: var(--nova-text) !important; border-color: var(--nova-border); background: rgba(79,140,255,.075) !important; }
.nova-admin .nav-sidebar .nav-link.active { color: var(--nova-text) !important; border-color: rgba(79,140,255,.42) !important; background: rgba(79,140,255,.16) !important; box-shadow: inset 3px 0 0 var(--nova-accent) !important; }
.nova-admin .nav-sidebar .nav-icon { width: 20px; margin-right: 8px; color: var(--nova-muted); font-size: .95rem; }
.nova-admin .nav-sidebar .nav-link.active .nav-icon { color: #8fb3ff; }

.nova-admin .main-header { min-height: var(--nova-header-height); max-height: var(--nova-header-height); margin-left: var(--nova-sidebar-width) !important; padding: 7px 18px !important; border-bottom: 1px solid var(--nova-border) !important; background: rgba(7,17,30,.95) !important; box-shadow: 0 8px 28px rgba(0,0,0,.16); backdrop-filter: blur(18px); }
.nova-admin:not(.dark) .main-header { background: rgba(255,255,255,.94) !important; }
.nova-admin .admin-topbar .navbar-nav { min-width: 0; align-items: center; gap: 3px; }
.nova-admin .admin-topbar .nav-link { display: inline-flex; min-height: 42px; align-items: center; padding: 8px 10px; color: var(--nova-text-2) !important; border-radius: 9px; font-weight: 700; }
.nova-admin .admin-topbar .nav-link:hover { color: var(--nova-text) !important; background: rgba(79,140,255,.09) !important; }
.nova-admin .admin-icon-button { width: 42px; justify-content: center; }
.nova-admin .admin-topbar__right { align-items: center; margin-left: auto; }
.nova-admin .admin-language-switcher { margin-right: 0 !important; }
.nova-admin .admin-language-current { min-width: 132px; justify-content: center; gap: 8px; border: 1px solid var(--nova-border); background: rgba(255,255,255,.025); }
.nova-admin .admin-language-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nova-accent); box-shadow: 0 0 0 4px rgba(79,140,255,.13); }
.nova-admin .admin-language-menu { min-width: 178px; }

.nova-admin .admin-theme-control { min-height: 42px; align-items: center; }
.nova-admin .admin-theme-control__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nova-admin .admin-theme-control__label { display: inline-flex; min-height: 42px; align-items: center; gap: 7px; margin: 0; padding: 5px 9px; color: var(--nova-muted) !important; border: 1px solid var(--nova-border); border-radius: 10px; background: rgba(255,255,255,.025); cursor: pointer; }
.nova-admin .admin-theme-control__label > i { width: 14px; text-align: center; font-size: .75rem; }
.nova-admin .admin-theme-control__track { position: relative; display: block; width: 38px; height: 22px; border: 1px solid var(--nova-border-strong); border-radius: 999px; background: var(--nova-surface-3); }
.nova-admin .admin-theme-control__thumb { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--nova-accent); box-shadow: 0 2px 8px rgba(0,0,0,.25); transition: transform .2s ease, background .2s ease; }
.nova-admin .admin-theme-control__input:checked + .admin-theme-control__label .admin-theme-control__thumb { transform: translateX(16px); background: var(--nova-warning); }
.nova-admin .admin-theme-control__input:focus-visible + .admin-theme-control__label { outline: 3px solid rgba(79,140,255,.22); outline-offset: 2px; }

.nova-admin .content-wrapper { min-height: calc(100vh - var(--nova-header-height)); margin-left: var(--nova-sidebar-width) !important; padding: 0 !important; background: transparent !important; }
.nova-admin .admin-page-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 28px 32px 14px; }
.nova-admin .admin-page-header__eyebrow { margin: 0 0 5px; color: var(--nova-accent); font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.nova-admin .admin-page-header__title { margin: 0; color: var(--nova-text); font-size: clamp(1.65rem, 2.4vw, 2.25rem); }
.nova-admin .admin-content { padding: 0 32px 34px !important; }
.nova-admin .admin-content > .container-fluid { max-width: 1680px; padding: 0 !important; }
.nova-admin .admin-content > .container-fluid > .p-3 { padding: 0 !important; }
.nova-admin .admin-content > .container-fluid > .p-3 > .m-4 { margin: 0 0 14px !important; }
.nova-admin .admin-users-top { gap: 16px; margin-bottom: 0 !important; }
.nova-admin .admin-users-registration { min-width: 0; color: var(--nova-text-2); overflow-wrap: anywhere; }

.nova-admin .table-wrapper_new, .nova-admin .admin-users-table-region {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 0 !important;
    overflow: visible !important;
    color: var(--nova-text-2);
    border: 1px solid var(--nova-border) !important;
    border-radius: var(--nova-radius) !important;
    background: var(--nova-surface) !important;
    box-shadow: var(--nova-shadow-sm) !important;
}
.nova-admin .table-wrapper_new > .d-flex { min-height: 68px; margin: 0 !important; padding: 16px 18px; border-bottom: 1px solid var(--nova-border); }
.nova-admin .table-wrapper_new > .d-flex h4 { color: var(--nova-text) !important; font-size: 1.05rem; font-weight: 750 !important; }
.nova-admin .table-wrapper_new > .d-flex label { color: var(--nova-text-2) !important; }
.nova-admin .table-wrapper_new > .d-flex select { min-height: 38px; }
.nova-admin .table-wrapper_new .dataTables_wrapper { overflow: visible !important; }
.nova-admin #dataTable { overflow: visible !important; table-layout: auto; }
.nova-admin #dataTable th, .nova-admin #dataTable td { white-space: nowrap; }
.nova-admin #dataTable td:nth-child(7), .nova-admin #dataTable td:nth-child(10), .nova-admin #dataTable td:nth-child(11) { white-space: normal; }
.nova-admin #dataTable th:nth-child(12), .nova-admin #dataTable td:nth-child(12) { width: 66px !important; min-width: 66px; text-align: center; }
.nova-admin .online-dot { width: 9px !important; height: 9px !important; margin: 0 !important; box-shadow: 0 0 0 4px rgba(127,150,170,.1); }
.nova-admin .online-dot.on { background: var(--nova-success) !important; box-shadow: 0 0 0 4px rgba(49,207,138,.12) !important; }

/* User action popover */
.nova-admin .admin-action-menu { position: relative; z-index: 5; display: inline-block; margin: 0; }
.nova-admin .admin-action-menu[open] { z-index: 4000; }
.nova-admin .admin-action-menu > summary { list-style: none; }
.nova-admin .admin-action-menu > summary::-webkit-details-marker { display: none; }
.nova-admin .admin-action-menu__toggle { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; margin: 0; color: #071321; border: 0; border-radius: 10px; outline: 0; background: linear-gradient(135deg, #6da5ff, var(--nova-accent-2)); box-shadow: 0 8px 20px rgba(79,140,255,.18); cursor: pointer; }
.nova-admin .admin-action-menu__toggle i { font-size: .82rem; transition: transform .2s ease; }
.nova-admin .admin-action-menu[open] .admin-action-menu__toggle i { transform: rotate(45deg); }
.nova-admin .admin-action-menu__toggle:focus-visible { outline: 3px solid rgba(79,140,255,.28); outline-offset: 2px; }
.nova-admin .admin-action-menu__panel {
    position: absolute;
    z-index: 4100;
    top: calc(100% + 8px);
    right: 0;
    display: grid !important;
    width: 238px;
    max-height: min(430px, 64vh);
    gap: 3px;
    margin: 0 !important;
    padding: 7px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid var(--nova-border-strong);
    border-radius: 12px;
    background: var(--nova-surface-2);
    box-shadow: var(--nova-shadow);
}
.nova-admin .admin-action-menu__panel > a,
.nova-admin .admin-action-menu__panel > form,
.nova-admin .admin-action-menu__panel > form > button { width: 100% !important; margin: 0 !important; }
.nova-admin .admin-action-menu__panel > a,
.nova-admin .admin-action-menu__panel > form > button {
    display: flex !important;
    min-height: 42px !important;
    align-items: center;
    justify-content: flex-start !important;
    gap: 11px;
    padding: 8px 10px !important;
    color: var(--nova-text-2) !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    font-size: .86rem;
    font-weight: 650;
    text-align: left;
    box-shadow: none !important;
}
.nova-admin .admin-action-menu__panel > a::after,
.nova-admin .admin-action-menu__panel > form > button::after { min-width: 0; content: attr(title); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nova-admin .admin-action-menu__panel > a:hover,
.nova-admin .admin-action-menu__panel > form > button:hover { color: var(--nova-text) !important; background: rgba(79,140,255,.1) !important; transform: none; }
.nova-admin .admin-action-menu__panel > a.delete:hover,
.nova-admin .admin-action-menu__panel > form > button.btn-danger:hover { color: #ffd8df !important; background: rgba(255,95,117,.12) !important; }
.nova-admin .admin-action-menu__panel .ad,
.nova-admin .admin-action-menu__panel i { width: 20px; margin: 0 !important; padding: 0 !important; color: var(--nova-muted) !important; font-size: .84rem; text-align: center; }
.nova-admin .admin-action-menu__panel .d-inline-block { display: block !important; }

.nova-admin .modal-dialog { max-width: 680px; }
.nova-admin .modal-title { color: var(--nova-text) !important; }
.nova-admin .pagination .page-link { color: var(--nova-muted); border-color: var(--nova-border); background: var(--nova-surface-2); }
.nova-admin .sweet-alert { color: #1c2b3c; border-radius: var(--nova-radius); }

/* Plugin compatibility */
.nova-shell .select2-container--default .select2-selection--single, .nova-shell .choices__inner { min-height: 42px; color: var(--nova-text); border: 1px solid var(--nova-border) !important; border-radius: 10px !important; background: rgba(3,11,20,.72) !important; }
.nova-shell .choices__list--dropdown { color: var(--nova-text); border-color: var(--nova-border) !important; background: var(--nova-surface) !important; }
.nova-shell .choices__item--choice.is-highlighted { background: rgba(79,140,255,.11) !important; }
.nova-shell .modal-backdrop.show { opacity: .72; }

@media (max-width: 1199.98px) {
    .nova-admin { --nova-sidebar-width: 224px; }
    .nova-admin .admin-content { padding-inline: 22px !important; }
    .nova-admin .admin-page-header { padding-inline: 22px; }
    .nova-admin #dataTable { min-width: 1180px; }
    .nova-admin .table-wrapper_new .dataTables_wrapper { overflow-x: auto !important; }
}

@media (max-width: 991.98px) {
    .nova-public .slide-inner_wrapper { padding-inline: 22px; }
    .nova-public .hero-carousel .slide-inner_bg::after { background: linear-gradient(90deg, rgba(3,9,16,.96), rgba(3,9,16,.62)); }
    .nova-public .ben-inner { flex-direction: column; }
    .nova-client .top-nav { padding-inline: 16px !important; }
    .nova-client .content-wrapper { padding: 20px 16px !important; }
    .nova-admin .main-header, .nova-admin .content-wrapper { margin-left: 0 !important; }
    .nova-admin .main-sidebar { transform: translateX(-100%); }
    .nova-admin.sidebar-open .main-sidebar { transform: translateX(0); }
    .nova-admin .admin-page-header { padding-top: 22px; }
    .nova-admin .admin-action-menu__panel { position: fixed; top: auto; right: 14px; bottom: 14px; left: 14px; width: auto; max-height: 58vh; }
}

@media (max-width: 767.98px) {
    .nova-shell .dataTables_wrapper > .row:first-child,
    .nova-shell .dataTables_wrapper > .row:last-child { display: grid; grid-template-columns: 1fr; }
    .nova-shell .dataTables_wrapper > .row > [class*="col-"] { width: 100%; max-width: 100%; flex: 0 0 100%; }
    .nova-shell .dataTables_length label, .nova-shell .dataTables_filter label { width: 100%; justify-content: space-between; }
    .nova-shell .dataTables_filter input { width: min(64vw, 260px); }
    .nova-shell .dataTables_paginate { justify-content: flex-start !important; overflow-x: auto; }
    .nova-admin .admin-page-header { align-items: flex-start; flex-direction: column; padding: 20px 14px 12px; }
    .nova-admin .admin-page-header__actions, .nova-admin .admin-page-header__actions .btn { width: 100%; }
    .nova-admin .admin-content { padding: 0 12px 24px !important; }
    .nova-admin .admin-users-top { align-items: stretch !important; flex-direction: column; }
    .nova-admin .admin-users-top > div:last-child, .nova-admin .admin-users-top .btn { width: 100%; }
    .nova-admin .table-wrapper_new > .d-flex { align-items: stretch !important; flex-direction: column; gap: 10px; }
    .nova-admin .table-wrapper_new > .d-flex > div { justify-content: space-between; }
    .nova-admin .modal-dialog { width: auto; max-width: calc(100vw - 16px); margin: 8px; }
}

/* v30: professional About benefit cards and compact client table controls */
.nova-public .about3-benefit-grid {
    gap: clamp(1rem, 2vw, 1.35rem);
}
.nova-public .about3-benefit-grid article {
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding: 0 !important;
    overflow: hidden;
    border-color: rgba(112, 156, 211, .26);
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(18, 38, 61, .96), rgba(8, 20, 35, .98));
    box-shadow: 0 20px 45px rgba(0, 0, 0, .2);
}
.nova-public .about3-benefit-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-bottom: 1px solid rgba(112, 156, 211, .2);
    background: #050d1a;
}
.nova-public .about3-benefit-visual::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(180deg, transparent 62%, rgba(8, 20, 35, .72));
}
.nova-public .about3-benefit-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease;
}
.nova-public .about3-benefit-grid article:hover .about3-benefit-visual img {
    transform: scale(1.025);
}
.nova-public .about3-benefit-copy {
    display: flex;
    min-height: 7.8rem;
    align-items: flex-start;
    padding: 1.25rem 1.3rem 1.4rem;
}
.nova-public .about3-benefit-copy p {
    width: 100%;
    margin: 0;
    color: #aebdd0;
    font-size: .96rem;
    line-height: 1.55;
    text-align: left;
    word-spacing: normal;
}
.nova-public .about3-benefit-copy p span {
    display: block;
    margin-bottom: .35rem;
    color: #f5f9ff;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
}

@media (min-width: 768px) {
    body.nova-client .dataTables_wrapper > .row:first-child {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: clamp(1rem, 2.5vw, 2.25rem) !important;
        padding: 12px 18px !important;
        border-bottom: 0 !important;
        background: transparent !important;
    }
    body.nova-client .dataTables_wrapper > .row:first-child > [class*="col-"] {
        width: auto !important;
        max-width: none !important;
        flex: 0 0 auto !important;
        padding: 0 !important;
    }
    body.nova-client .dataTables_length,
    body.nova-client .dataTables_filter {
        float: none !important;
        width: auto !important;
        margin: 0 !important;
        text-align: left !important;
    }
    body.nova-client .dataTables_length label,
    body.nova-client .dataTables_filter label {
        display: inline-flex !important;
        width: auto !important;
        align-items: center !important;
        gap: .65rem !important;
        margin: 0 !important;
        white-space: nowrap !important;
    }
    body.nova-client .dataTables_length select {
        min-width: 72px;
        margin: 0 !important;
    }
    body.nova-client .dataTables_filter input {
        width: clamp(170px, 18vw, 240px) !important;
        margin: 0 !important;
    }
}

@media (max-width: 991.98px) {
    .nova-public .about3-benefit-copy {
        min-height: 6.8rem;
    }
}

@media (max-width: 767.98px) {
    .nova-public .about3-benefit-grid {
        gap: 1rem;
    }
    .nova-public .about3-benefit-grid article {
        border-radius: 16px;
    }
    .nova-public .about3-benefit-visual {
        aspect-ratio: 16 / 10;
    }
    .nova-public .about3-benefit-copy {
        min-height: 0;
        padding: 1.1rem 1.15rem 1.25rem;
    }
}

/* v25: keep the admin theme switch in the right-hand topbar controls */
.nova-admin .admin-topbar__right .admin-theme-control {
    position: relative !important;
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 8px 0 0 !important;
}
.nova-admin .admin-topbar__right .admin-theme-control__label {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    min-width: 84px !important;
    height: 42px !important;
    margin: 0 !important;
}

@media (max-width: 767.98px) {
    .nova-admin .admin-topbar__right .admin-theme-control {
        display: none !important;
    }
}

/* v20: keep all composer controls on one exact baseline */
.nova-client #client-main-content.client-page:has(.chat) .chat__window--input #messageInput {
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background-color: rgba(2, 14, 25, .54) !important;
    box-shadow: inset 0 0 0 1px rgba(98, 158, 211, .08) !important;
}
@media (max-width: 767.98px) {
    .nova-client #client-main-content.client-page:has(.chat) .chat__window--input #messageInput {
        height: 44px !important;
        min-height: 44px !important;
    }
}

@media (max-width: 575.98px) {
    .nova-shell { font-size: 14px; }
    .nova-public .hero-carousel, .nova-public .hero-carousel .slide, .nova-public .hero-carousel .slide-inner_bg { min-height: 700px; }
    .nova-public .slide-title { font-size: 2.35rem !important; }
    .nova-public .benefits, .nova-public .vip, .nova-public .faq, .nova-public .learn, .nova-public .try { padding-block: 60px !important; }
    .nova-auth main { align-items: start; padding-top: 28px; }
    .nova-auth .card-body { padding: 22px 17px; }
    .nova-client .content-wrapper { padding: 14px 10px !important; }
    .nova-admin .admin-language-current { min-width: 108px; }
    .nova-admin .admin-page-header__title { font-size: 1.5rem; }
}

/* ========================================================================== 
   NOVA PUBLIC HOME — isolated replacement for the removed legacy theme
   ========================================================================== */
.nova-public .home3 {
    color: var(--nova-text);
    background: #07101d;
}
.nova-public .home3-container {
    width: min(calc(100% - 2rem), 75rem);
    margin-inline: auto;
}
.nova-public .home3-hero {
    min-height: min(49rem, calc(100svh - 76px));
    padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 7vw, 6rem);
    border-bottom: 1px solid rgba(125,150,184,.18);
    background: linear-gradient(140deg, #07101d, #0b1727 58%, #10192a);
}
.nova-public .home3-hero__grid {
    display: grid;
    grid-template-columns: minmax(0,.9fr) minmax(27rem,1.1fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5.5rem);
}
.nova-public .home3-hero__copy { min-width: 0; }
.nova-public .home3-eyebrow,
.nova-public .home3-section-heading > span {
    display: inline-flex;
    margin-bottom: 1rem;
    color: #d5b66f;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.nova-public .home3 h1 {
    max-width: 12ch;
    margin: 0 0 1.25rem;
    color: #f7f9fc;
    font-size: clamp(2.5rem, 5vw, 4.75rem);
    font-weight: 760;
    line-height: .98;
    letter-spacing: -.04em;
}
.nova-public .home3-lead {
    max-width: 39rem;
    margin: 0 0 1.75rem;
    color: #b5c0d0;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.65;
}
.nova-public .home3-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.nova-public .home3-btn {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    padding: .7rem 1.25rem;
    border-radius: 10px;
    font-weight: 780;
}
.nova-public .home3-btn--primary {
    color: #07101d !important;
    border-color: #d5b66f !important;
    background: #d5b66f !important;
}
.nova-public .home3-btn--secondary {
    color: var(--nova-text) !important;
    border-color: var(--nova-border-strong) !important;
    background: rgba(255,255,255,.045) !important;
}
.nova-public .home3-trust {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.25rem;
    margin: 1.75rem 0 0;
    padding: 0;
    color: var(--nova-muted);
    font-size: .875rem;
    list-style: none;
}
.nova-public .home3-trust li { display: inline-flex; align-items: center; gap: .45rem; }
.nova-public .home3-trust i { color: #6aa5ff; }
.nova-public .home3-product {
    min-width: 0;
    padding: 1rem;
    border: 1px solid rgba(126,156,199,.24);
    border-radius: 18px;
    background: rgba(11,22,38,.96);
    box-shadow: 0 2rem 5rem rgba(0,0,0,.34);
}
.nova-public .home3-market-row,
.nova-public .home3-product__bar {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.nova-public .home3-product__bar {
    padding: .25rem .25rem .9rem;
    color: var(--nova-text-2);
    font-size: .875rem;
    font-weight: 740;
}
.nova-public .home3-live { display: inline-flex; align-items: center; gap: .4rem; color: var(--nova-success); }
.nova-public .home3-live i { width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
.nova-public .home3-product__summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
.nova-public .home3-product__summary > div {
    padding: .9rem;
    border: 1px solid var(--nova-border);
    border-radius: 12px;
    background: rgba(255,255,255,.035);
}
.nova-public .home3-product small { display: block; margin-bottom: .3rem; color: var(--nova-muted); font-size: .75rem; }
.nova-public .home3-product strong { color: var(--nova-text); font-size: clamp(1rem,2vw,1.35rem); }
.nova-public .home3-market-row em,
.nova-public .home3-product .is-positive { color: var(--nova-success); }
.nova-public .home3-chart {
    height: 14rem;
    margin: .8rem 0;
    padding: .5rem;
    overflow: hidden;
    border: 1px solid var(--nova-border);
    border-radius: 12px;
    background: #081322;
}
.nova-public .home3-chart img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .86; }
.nova-public .home3-market-row { padding: .7rem .55rem; border-top: 1px solid var(--nova-border); font-size: .875rem; }
.nova-public .home3-market-row span { display: inline-flex; min-width: 0; align-items: center; gap: .55rem; font-weight: 720; }
.nova-public .home3-market-row img { width: 1.5rem; height: 1.5rem; object-fit: contain; }
.nova-public .home3-market-row em { font-style: normal; font-weight: 750; }
.nova-public .home3-capabilities { padding: clamp(3.5rem,7vw,6rem) 0; background: #0a1422; }
.nova-public .home3-section-heading { max-width: 43rem; margin-bottom: 2rem; }
.nova-public .home3-section-heading h2 { margin: 0 0 .7rem; font-size: clamp(1.8rem,3vw,2.75rem); line-height: 1.1; }
.nova-public .home3-capability-grid p,
.nova-public .home3-section-heading p { color: var(--nova-muted); line-height: 1.65; }
.nova-public .home3-capability-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.nova-public .home3-capability-grid article {
    position: static;
    width: auto;
    max-width: 100%;
    min-width: 0;
    height: auto;
    padding: 1.3rem;
    opacity: 1;
    transform: none;
    border: 1px solid var(--nova-border);
    border-radius: 12px;
    background: rgba(255,255,255,.025);
}
.nova-public .home3-capability-grid i { margin-bottom: 1rem; color: #d5b66f; font-size: 1.3rem; }
.nova-public .home3-capability-grid h3 { margin: 0 0 .55rem; font-size: 1.125rem; }

/* Existing public menu, visually rebuilt and fully scoped to the public shell. */
.nova-public .altair-home-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding: 0 max(1rem,calc(50vw - 620px)) !important;
    color: var(--nova-text);
    border-bottom: 1px solid rgba(255,255,255,.07);
    background: rgba(6,15,26,.96) !important;
    box-shadow: 0 12px 38px rgba(0,0,0,.24);
    backdrop-filter: blur(18px);
}
.nova-public .altair-home-nav .nav-up { min-height: 76px; margin: 0 !important; gap: 1rem; }
.nova-public .altair-home-nav .menu:not(.active) { display: none !important; }
.nova-public .altair-home-nav .menu.active { display: flex; }
.nova-public .altair-home-nav :where(.nav-left,.nav-right) { min-width: 0; margin: 0; padding: 0; }
.nova-public .altair-home-nav .nav-left { gap: .15rem; }
.nova-public .altair-home-nav .nav-item { margin: 0 !important; }
.nova-public .altair-home-nav .nav-brand { flex: 0 0 auto; margin-right: .65rem !important; }
.nova-public .altair-home-nav .nav-logo { width: auto !important; height: 38px !important; object-fit: contain; }
.nova-public .altair-home-nav .nav-drop,
.nova-public .altair-home-nav .nav-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: .5rem .65rem !important;
    color: var(--nova-text-2) !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: transparent !important;
    font-size: .875rem !important;
    font-weight: 650;
    line-height: 1.25;
    white-space: nowrap;
}
.nova-public .altair-home-nav .nav-drop:hover,
.nova-public .altair-home-nav .nav-link:hover { color: var(--nova-text) !important; background: rgba(255,255,255,.05) !important; }
.nova-public .altair-home-nav .dropdown-menu {
    padding: .4rem;
    color: var(--nova-text);
    border: 1px solid var(--nova-border);
    border-radius: 12px;
    background: var(--nova-surface-2);
    box-shadow: var(--nova-shadow);
}
.nova-public .altair-home-nav .dropdown-item { display: flex; min-height: 40px; align-items: center; padding: .5rem .7rem; color: var(--nova-text-2); border-radius: 9px; }
.nova-public .altair-home-nav .dropdown-item:hover { color: var(--nova-text); background: rgba(79,140,255,.12); }
.nova-public .altair-home-nav .btn-container__wrapper { flex: 0 0 auto; gap: .45rem; }
.nova-public .altair-home-nav .btn-container__wrapper > .btn {
    width: auto !important;
    min-width: 0 !important;
    min-height: 44px;
    margin: 0 !important;
    padding: .55rem .9rem !important;
    color: var(--nova-text-2) !important;
    border: 1px solid var(--nova-border) !important;
    border-radius: 9px !important;
    background: var(--nova-surface-2) !important;
    font-size: .875rem !important;
    font-weight: 750;
}
.nova-public .altair-home-nav .btn-container__wrapper > .auth-btn_reg {
    color: #07101d !important;
    border-color: #d5b66f !important;
    background: #d5b66f !important;
}
.nova-public .altair-home-nav .nav-down {
    min-height: 44px;
    margin-inline: -1rem;
    padding-inline: 1rem;
    overflow: hidden;
    border-top: 1px solid var(--nova-border);
    background: #0a1422;
}
.nova-public .altair-home-nav .nav-down > ul { min-height: 44px; }
.nova-public .altair-home-nav .brand-shine { margin: 0; color: var(--nova-muted); font-size: .75rem; }
.nova-public .altair-home-nav .tradingview-widget-container,
.nova-public .altair-home-nav .tradingview-widget-container__widget,
.nova-public .altair-home-nav iframe { min-height: 44px !important; background: #0a1422 !important; color-scheme: dark; }
.nova-public > .page > .wrapper > .footer,
.nova-public .footer {
    margin: 0 !important;
    padding: 4rem max(1rem,calc(50vw - 620px)) 2rem !important;
    color: var(--nova-text-2);
    border-top: 1px solid var(--nova-border);
    background: #060a11 !important;
}

/* ========================================================================== 
   NOVA AUTH — no photographs and no legacy auth/home styles
   ========================================================================== */
body.nova-auth {
    min-width: 320px;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--nova-text);
    background:
        radial-gradient(circle at 12% 10%, rgba(79,140,255,.17), transparent 30rem),
        radial-gradient(circle at 90% 88%, rgba(83,219,205,.10), transparent 27rem),
        linear-gradient(145deg,#050b13,#091523 54%,#07101b) !important;
    background-attachment: fixed !important;
}
.nova-auth #app { min-height: 100vh; background: transparent !important; }
.nova-auth .auth-navbar {
    min-height: 78px;
    padding: .7rem clamp(1rem,4vw,3rem) !important;
    border-bottom: 1px solid var(--nova-border);
    background: rgba(6,15,26,.9) !important;
    box-shadow: none !important;
    backdrop-filter: blur(18px);
}
.nova-auth .navbar-brand img { width: auto !important; max-width: 164px; height: 42px !important; object-fit: contain; }
.nova-auth .navbar-nav { min-width: 0; flex-wrap: wrap; gap: .25rem; }
.nova-auth .navbar .nav-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: .6rem .85rem !important;
    color: var(--nova-text-2) !important;
    border-radius: 9px;
    font-size: .875rem !important;
    font-weight: 700;
}
.nova-auth .navbar .nav-link:hover { color: var(--nova-text) !important; background: rgba(255,255,255,.055); }
.nova-auth main {
    display: grid;
    min-height: calc(100vh - 78px);
    place-items: center;
    padding: clamp(2rem,5vw,4.5rem) 1rem;
    background: transparent !important;
}
.nova-auth main::before,
.nova-auth main::after,
.nova-auth #app::before,
.nova-auth #app::after { display: none !important; content: none !important; background-image: none !important; }
.nova-auth main > .container,
.nova-auth main .container[data-container="container"] { width: min(100%,720px) !important; max-width: 720px !important; margin: 0 auto !important; padding: 0 !important; }
.nova-auth .auth-login-container { width: min(100%,480px) !important; max-width: 480px !important; }
.nova-auth .auth-register-container { width: min(100%,720px) !important; max-width: 720px !important; }
.nova-auth main .row { margin: 0 !important; }
.nova-auth main [class*="col-"] { min-width: 0; }
.nova-auth .auth-login-column { width: 100%; min-width: 0; }
.nova-auth .card,
.nova-auth .register-wrapper-card {
    width: 100%;
    max-width: none;
    margin: 0 !important;
    overflow: hidden;
    color: var(--nova-text) !important;
    border: 1px solid var(--nova-border) !important;
    border-radius: 20px !important;
    background: linear-gradient(155deg,rgba(18,36,57,.98),rgba(7,18,31,.99)) !important;
    box-shadow: 0 30px 80px rgba(0,0,0,.42) !important;
}
.nova-auth .card-header {
    padding: 1.2rem clamp(1.25rem,4vw,2rem);
    color: var(--nova-text);
    border-bottom: 1px solid var(--nova-border);
    background: rgba(255,255,255,.025);
    font-size: 1.35rem;
    font-weight: 760;
}
.nova-auth .card-body { padding: clamp(1.4rem,4vw,2.25rem); }
.nova-auth .form-group.row {
    display: grid;
    grid-template-columns: minmax(8.5rem,.72fr) minmax(0,1.6fr);
    align-items: center;
    gap: .55rem 1.1rem;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 1rem !important;
}
.nova-auth .form-group.row > [class*="col-"] { width: 100%; max-width: none; margin-left: 0; padding: 0; flex: none; }
.nova-auth .card-login .form-group.row { grid-template-columns: 1fr; align-items: stretch; gap: .4rem; }
.nova-auth .card-login .form-group.row > .offset-md-4 { grid-column: 1; }
.nova-auth .col-form-label { padding: 0; color: var(--nova-text-2) !important; font-size: .875rem; font-weight: 680; text-align: left !important; }
.nova-auth .form-control,
.nova-auth select.form-control,
.nova-auth textarea.form-control {
    width: 100%;
    min-height: 48px;
    padding: .65rem .85rem;
    color: var(--nova-text) !important;
    border: 1px solid var(--nova-border-strong) !important;
    border-radius: 10px !important;
    background: rgba(3,11,20,.78) !important;
    box-shadow: none !important;
}
.nova-auth .form-control:focus { border-color: var(--nova-accent) !important; box-shadow: 0 0 0 3px rgba(79,140,255,.16) !important; }
.nova-auth .form-check { display: flex; min-height: 44px; align-items: center; gap: .65rem; padding: 0; }
.nova-auth .form-check-input,
.nova-auth .tos-common input[type="checkbox"] { position: static; width: 18px; height: 18px; flex: 0 0 18px; margin: 0; accent-color: var(--nova-accent); }
.nova-auth .form-check-label { margin: 0; color: var(--nova-text-2); font-size: .875rem; }
.nova-auth .auth-submit-stack { display: grid; gap: .7rem; padding: 0; }
.nova-auth .card-login .btn-primary,
.nova-auth .register-wrapper-card button[type="submit"] {
    display: inline-flex;
    width: 100% !important;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    color: #06111d !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg,#68a5ff,#53dbcd) !important;
    box-shadow: 0 12px 26px rgba(79,140,255,.2);
    font-weight: 800;
}
.nova-auth .card-login .forgot { display: inline-flex; width: 100% !important; min-height: 40px; align-items: center; justify-content: center; padding: .25rem .5rem; color: #79aaff !important; text-align: center; }
.nova-auth .register-wrapper-card .tos-form-wrap { width: 100%; max-width: none; margin-left: 0 !important; padding: .35rem 0 0; }
.nova-auth .register-wrapper-card .tos-common { min-width: 0; align-items: flex-start !important; gap: .7rem; margin: .6rem 0 !important; }
.nova-auth .register-wrapper-card .tos-common label { min-width: 0; margin: 0; color: var(--nova-text-2); font-size: .875rem; line-height: 1.5; overflow-wrap: anywhere; }
.nova-auth .register-wrapper-card .intl-tel-input,
.nova-auth .register-wrapper-card .iti { width: 100% !important; max-width: 100%; }
.nova-auth .invalid-feedback { color: #ff8b95; font-size: .78rem; }

@media (max-width: 1088px) {
    .nova-public .altair-home-nav .nav-up { min-height: 64px; }
    .nova-public .altair-home-nav .nav-logo { height: 31px !important; }
    .nova-public .altair-home-nav .nav-down { display: none; }
    .nova-public .altair-home-nav .hamburger { margin-left: auto; }
    .nova-public .altair-home-nav .menu { color: var(--nova-text); background: rgba(6,15,26,.99); }
    .nova-public .altair-home-nav .menu .nav-link { width: 100%; white-space: normal; }
}
@media (max-width: 991.98px) {
    .nova-public .home3-hero { min-height: 0; padding-top: 3rem; }
    .nova-public .home3-hero__grid { grid-template-columns: 1fr; }
    .nova-public .home3 h1 { max-width: 15ch; }
    .nova-public .home3-product { max-width: 46rem; }
}
@media (max-width: 767.98px) {
    .nova-public .home3,
    .nova-public .home3-hero,
    .nova-public .home3-hero__copy,
    .nova-public .home3-hero__grid,
    .nova-public .home3-product { width: 100%; max-width: 100%; min-width: 0; }
    .nova-public .home3-container { width: min(calc(100% - 1.25rem),75rem); }
    .nova-public .home3-hero { padding: 2.25rem 0 2.75rem; }
    .nova-public .home3 h1 { max-width: 100%; font-size: clamp(2.2rem,12vw,3.25rem); overflow-wrap: anywhere; }
    .nova-public .home3-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
    .nova-public .home3-actions .btn { width: 100%; min-width: 0; }
    .nova-public .home3-capability-grid,
    .nova-public .home3-product__summary { grid-template-columns: 1fr; }
    .nova-public .home3-chart { height: 11rem; }
    .nova-public .home3-market-row { gap: .5rem; }
    .nova-public .home3-market-row strong { margin-left: auto; font-size: .875rem; }
    .nova-auth .auth-navbar { min-height: 66px; padding-inline: .75rem !important; }
    .nova-auth .navbar-brand img { max-width: 130px; height: 36px !important; }
    .nova-auth main { min-height: calc(100vh - 66px); place-items: start center; padding: 1rem .75rem 1.5rem; }
    .nova-auth .form-group.row { grid-template-columns: 1fr; gap: .3rem; margin-bottom: .8rem !important; }
    .nova-auth .card-header { padding: 1rem 1.1rem; font-size: 1.15rem; }
    .nova-auth .card-body { padding: 1.1rem; }
}
@media (max-width: 420px) {
    .nova-auth .navbar-nav { width: auto !important; }
    .nova-auth .navbar .nav-link { padding-inline: .45rem !important; font-size: .78rem !important; }
    .nova-auth .navbar-brand img { max-width: 108px; }
}

/* ========================================================================== 
   NOVA UI v4 — compact public navigation, registration and dashboard
   ========================================================================== */
.nova-public .altair-home-nav .nav-down { display: none !important; }
.nova-public .altair-home-nav .nav-up {
    width: 100%;
    max-width: 1440px;
    min-height: 72px;
    margin-inline: auto !important;
}
.nova-public .altair-home-nav .nav-left { flex: 1 1 auto; }
.nova-public .altair-home-nav .btn-container__wrapper {
    min-width: max-content;
    margin-left: auto;
    padding-left: .75rem;
}
.nova-public .altair-home-nav .btn-container__wrapper > .btn,
.nova-public .altair-home-nav .lang-button {
    min-height: 42px !important;
    height: 42px !important;
    padding-inline: .85rem !important;
    border-radius: 10px !important;
}
.nova-public .altair-home-nav .nav-link.active,
.nova-public .altair-home-nav .nav-drop.active {
    color: #fff !important;
    background: rgba(79,140,255,.13) !important;
    box-shadow: inset 0 -2px 0 var(--nova-accent);
}
.nova-public .altair-home-nav .dropdown:hover > .dropdown-menu,
.nova-public .altair-home-nav .dropdown:focus-within > .dropdown-menu {
    display: block;
}
.nova-public .altair-home-nav .dropdown-toggle::after { margin-left: .45rem; }

.nova-auth .auth-register-container {
    width: min(100%,610px) !important;
    max-width: 610px !important;
}
.nova-auth .register-wrapper-card { max-width: 610px !important; }
.nova-auth .register-wrapper-card .card-body { padding: 1.35rem 1.5rem 1.5rem; }
.nova-auth .register-wrapper-card .form-group.row {
    grid-template-columns: minmax(7.25rem,.62fr) minmax(0,1.55fr);
    gap: .45rem .9rem;
    margin-bottom: .72rem !important;
}
.nova-auth .register-wrapper-card .form-control { min-height: 44px; }
.nova-auth .terms-wrapper,
.nova-auth .terms-wrapper-ru,
.nova-auth [class^="terms-wrapper-"] { display: none !important; }

/* Dashboard styles are intentionally scoped to the client shell. */
.nova-client .dashboard-page {
    width: 100%;
    max-width: 1440px;
    min-width: 0;
    margin: 0 auto;
    padding: clamp(1.25rem,2.5vw,2.5rem) 0;
}
.nova-client .dashboard-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.nova-client .dashboard-head h1 {
    margin: 0;
    color: var(--nova-text);
    font-size: clamp(1.7rem,1.35rem + 1.2vw,2.4rem);
    font-weight: 780;
    line-height: 1.15;
}
.nova-client .dashboard-head p { margin: .5rem 0 0; color: var(--nova-text-2); font-size: 1rem; }
.nova-client .dashboard-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .625rem; }
.nova-client .dashboard-action,
.nova-client .dashboard-show-more {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: .65rem 1rem;
    color: #fff !important;
    border: 1px solid transparent;
    border-radius: 10px;
    background: var(--nova-accent);
    box-shadow: var(--nova-shadow-sm);
    font-size: .875rem;
    font-weight: 750;
    text-decoration: none !important;
}
.nova-client .dashboard-action.is-green { color: #041a10 !important; background: var(--nova-success) !important; }
.nova-client .dashboard-action.is-red { background: var(--nova-danger) !important; }
.nova-client .dashboard-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; margin-bottom: 1rem; }
.nova-client .dashboard-utility-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-bottom: 1rem; }
.nova-client .dashboard-utility {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--nova-border);
    border-radius: 12px;
    background: rgba(17,27,43,.84);
}
.nova-client .dashboard-utility__label { color: var(--nova-muted); font-size: .75rem; }
.nova-client .dashboard-utility__value { margin-top: .25rem; color: var(--nova-text); font-weight: 730; }
.nova-client .dashboard-utility__link { color: #79aaff !important; font-size: .875rem; font-weight: 750; white-space: nowrap; }
.nova-client .dashboard-status {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 .65rem;
    color: var(--nova-success);
    border-radius: 999px;
    background: rgba(49,207,138,.13);
    font-size: .75rem;
    font-weight: 800;
}
.nova-client .dashboard-card,
.nova-client .dashboard-deal,
.nova-client .dashboard-panel,
.nova-client .favorite-asset-card {
    min-width: 0;
    border: 1px solid var(--nova-border);
    border-radius: 12px;
    background: linear-gradient(150deg,rgba(23,34,52,.96),rgba(14,23,37,.98));
    box-shadow: 0 14px 34px rgba(0,0,0,.18);
}
.nova-client .dashboard-card { min-height: 144px; padding: 1.25rem; }
.nova-client .dashboard-card small,
.nova-client .dashboard-card span { display: block; color: var(--nova-text-2); font-size: .875rem; }
.nova-client .dashboard-card strong {
    display: block;
    margin: .65rem 0 .4rem;
    color: var(--nova-text);
    font-size: clamp(1.5rem,1.15rem + .8vw,2rem);
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
    overflow-wrap: anywhere;
}
.nova-client .dashboard-page .is-positive { color: var(--nova-success) !important; }
.nova-client .dashboard-page .is-negative { color: var(--nova-danger) !important; }
.nova-client .dashboard-panel { overflow: hidden; margin-bottom: 1rem !important; }
.nova-client .dashboard-panel__head {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--nova-border);
}
.nova-client .dashboard-panel__head h2 { margin: 0; color: var(--nova-text); font-size: 1.125rem; font-weight: 740; }
.nova-client .dashboard-panel__head a,
.nova-client .dashboard-panel__head span { color: #79aaff !important; font-size: .875rem !important; font-weight: 700 !important; }
.nova-client .dashboard-deals,
.nova-client .favorite-assets-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; padding: 1rem; }
.nova-client .favorite-asset-card {
    display: block;
    padding: 1rem;
    color: var(--nova-text) !important;
    text-decoration: none !important;
    box-shadow: none;
    transition: transform .18s ease,border-color .18s ease;
}
.nova-client .favorite-asset-card:hover { transform: translateY(-2px); border-color: var(--nova-accent); }
.nova-client .favorite-asset-card__symbol { display: flex; align-items: center; gap: .5rem; font-weight: 800; }
.nova-client .favorite-asset-card__symbol span { color: var(--nova-warning); }
.nova-client .favorite-asset-card__name { margin-top: .5rem; color: var(--nova-text-2); font-size: .875rem; }
.nova-client .favorite-asset-card__type { margin-top: .6rem; color: #79aaff; font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.nova-client .dashboard-columns { display: grid; grid-template-columns: minmax(0,2fr) minmax(18rem,.95fr); align-items: start; gap: 1rem; }
.nova-client .dashboard-chart { height: clamp(15rem,30vw,24rem); padding: 1.25rem; }
.nova-client .dashboard-chart svg { width: 100%; height: 100%; }
.nova-client .dashboard-deals { grid-template-columns: repeat(2,minmax(0,1fr)); }
.nova-client .dashboard-deal { padding: 1rem; box-shadow: none; }
.nova-client .dashboard-deal.is-hidden { display: none; }
.nova-client .dashboard-deal__top { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.nova-client .dashboard-deal__name { color: var(--nova-text); font-weight: 760; overflow-wrap: anywhere; }
.nova-client .dashboard-deal__side { margin-top: .25rem; color: var(--nova-muted); font-size: .75rem; text-transform: uppercase; }
.nova-client .dashboard-deal dl { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,auto); gap: .55rem 1rem; margin: 0; }
.nova-client .dashboard-deal dt { color: var(--nova-muted); font-size: .75rem; font-weight: 650; }
.nova-client .dashboard-deal dd { margin: 0; color: var(--nova-text); font-size: .875rem; font-weight: 720; text-align: right; overflow-wrap: anywhere; }
.nova-client .dashboard-show-more { margin: 0 1rem 1rem; border: 0; cursor: pointer; }
.nova-client .dashboard-list { padding: .25rem 1rem; }
.nova-client .dashboard-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(124,145,176,.14); }
.nova-client .dashboard-row:last-child { border-bottom: 0; }
.nova-client .dashboard-row-title { color: var(--nova-text); font-weight: 720; overflow-wrap: anywhere; }
.nova-client .dashboard-row-meta { margin-top: .3rem; color: var(--nova-muted); font-size: .75rem; }
.nova-client .dashboard-row-amount { color: var(--nova-text); font-weight: 760; font-variant-numeric: tabular-nums; text-align: right; }
.nova-client .dashboard-empty { padding: 2rem 1.25rem; color: var(--nova-text-2); text-align: center; }

@media (max-width: 1199.98px) {
    .nova-client .dashboard-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .nova-client .dashboard-columns { grid-template-columns: 1fr; }
    .nova-client .favorite-assets-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767.98px) {
    .nova-public .altair-home-nav .btn-container__wrapper { min-width: 0; padding-left: 0; }
    .nova-auth .register-wrapper-card .form-group.row { grid-template-columns: 1fr; }
    .nova-client .dashboard-page { padding-top: 1rem; }
    .nova-client .dashboard-head { align-items: stretch; flex-direction: column; gap: 1rem; }
    .nova-client .dashboard-actions { justify-content: stretch; }
    .nova-client .dashboard-action { flex: 1 1 7rem; }
    .nova-client .dashboard-deals,
    .nova-client .dashboard-grid,
    .nova-client .dashboard-utility-grid,
    .nova-client .favorite-assets-list { grid-template-columns: 1fr; }
    .nova-client .dashboard-card { min-height: 0; }
    .nova-client .dashboard-chart { height: 15rem; padding: .75rem; }
    .nova-client .dashboard-panel__head { padding-inline: 1rem; }
    .nova-client .dashboard-row { grid-template-columns: 1fr; gap: .35rem; }
    .nova-client .dashboard-row-amount { text-align: left; }
}
@media (max-width: 575.98px) {
    .nova-client .dashboard-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .nova-client .dashboard-action:last-child { grid-column: 1 / -1; }
    .nova-client .dashboard-deal__top { flex-direction: column; }
}

/* v5: layered client navigation, contained data panels and clearer surfaces */
.nova-client .top-nav {
    z-index: 1000010 !important;
    align-items: center !important;
    overflow: visible !important;
}
.nova-client .top-nav > .navbar-nav,
.nova-client .top-nav > .lang-menu { margin-top: 0; }
.nova-client #topNavDropDown,
.nova-client .lang-list {
    z-index: 1000010 !important;
    border-color: rgba(111, 157, 210, .34) !important;
    background: rgba(5, 15, 27, .76) !important;
    box-shadow: 0 22px 56px rgba(0, 0, 0, .5) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.nova-client #topNavDropDown a,
.nova-client .lang-list a {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .65);
}
.nova-client .loged-main_nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 76px;
    height: auto !important;
    max-height: none !important;
    padding: 0 30px !important;
    overflow: visible !important;
}
.nova-client .loged-main_nav .nav-left > li,
.nova-client .loged-main_nav .nav-left > li > a {
    height: 64px !important;
    min-height: 64px !important;
}
.nova-client .loged-main_nav .nav-left,
.nova-client .loged-main_nav .nav-right {
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
}
.nova-client .loged-main_nav .nav-left {
    justify-content: flex-start;
}
.nova-client .loged-main_nav .nav-right {
    justify-self: end;
    justify-content: flex-end;
}
.nova-client .loged-main_nav .nav-left > li > a {
    padding-inline: clamp(9px, 1vw, 17px) !important;
}
.nova-client .content-wrapper > .content > .container-fluid,
.nova-client .content-wrapper > .container-fluid,
.nova-client .content-wrapper > .content > .client-page {
    width: 100%;
    max-width: 1480px !important;
    margin-inline: auto !important;
}
.nova-client .content-wrapper .card {
    border-color: rgba(111, 157, 210, .3) !important;
    background: linear-gradient(145deg, #10243a 0%, #0a192a 100%) !important;
    box-shadow: 0 22px 54px rgba(0, 0, 0, .32) !important;
}
.nova-client .content-wrapper .card > .card-header {
    border-bottom-color: rgba(111, 157, 210, .22) !important;
    background: rgba(72, 119, 174, .08) !important;
}
.nova-client .content-wrapper .card > .card-body,
.nova-client .content-wrapper .card > .table-responsive {
    background: transparent !important;
    box-shadow: none !important;
}
.nova-client .dataTables_wrapper > .row:first-child,
.nova-client .dataTables_wrapper > .row:last-child {
    background: rgba(4, 13, 24, .2);
}
@media (max-width: 1279.98px) {
    .nova-client .loged-main_nav {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding-block: 8px !important;
    }
    .nova-client .loged-main_nav .nav-right {
        width: 100% !important;
        justify-self: stretch;
        justify-content: flex-end;
        padding: 4px 0 0 !important;
    }
}
@media (max-width: 767.98px) {
    .nova-client #topNavDropDown,
    .nova-client .lang-list { background: rgba(5, 15, 27, .94) !important; }
}

/* Trading workspace uses the available viewport without decorative gutters. */
.nova-client[data-client-page="trading"] .content-wrapper { padding: 0 !important; }
.nova-client[data-client-page="trading"] .content-header { display: none !important; }
.nova-client[data-client-page="trading"] .content-wrapper > .content {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.nova-client[data-client-page="trading"] #client-main-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}
.nova-client[data-client-page="trading"] #client-main-content > .col-lg-9,
.nova-client[data-client-page="trading"] #client-main-content > .bs-and-w_wrapper {
    padding: 8px !important;
}
.nova-client[data-client-page="trading"] #client-main-content > .deals-panel {
    width: calc(100% - 16px) !important;
    margin-inline: 8px !important;
}

/* v11: gradient is reserved for login and registration on the homepage. */
.nova-homepage :where(.auth-btn_log, .auth-btn_reg) {
    color: #061321 !important;
    border-color: transparent !important;
    background-color: transparent !important;
    background-image: linear-gradient(135deg, #65a4f6 0%, #4fd2c4 100%) !important;
    box-shadow: 0 10px 26px rgba(69, 169, 210, .22) !important;
    text-shadow: none !important;
}
.nova-homepage :where(.auth-btn_log, .auth-btn_reg):hover,
.nova-homepage :where(.auth-btn_log, .auth-btn_reg):focus-visible {
    color: #03101c !important;
    background-image: linear-gradient(135deg, #79b2fb 0%, #63ded2 100%) !important;
    box-shadow: 0 14px 32px rgba(69, 169, 210, .32) !important;
    filter: none !important;
}

/* Consistent, optically centred alert close icon. */
.nova-shell .alert {
    position: relative;
    padding-right: 64px !important;
}
.nova-shell .alert .close {
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-50%);
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 0 !important;
    line-height: 1 !important;
    opacity: .88 !important;
}
.nova-shell .alert .close:hover,
.nova-shell .alert .close:focus-visible {
    background: rgba(255, 255, 255, .12) !important;
    opacity: 1 !important;
}
.nova-shell .alert .close::before,
.nova-shell .alert .close::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    content: "";
}
.nova-shell .alert .close::before { transform: translate(-50%, -50%) rotate(45deg); }
.nova-shell .alert .close::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* v12: rebuilt client navigation panel. */
.nova-client .loged-main_nav {
    width: calc(100% - 48px) !important;
    min-height: 78px !important;
    margin: 14px 24px 10px !important;
    padding: 9px 12px !important;
    gap: 18px !important;
    border: 1px solid rgba(112, 156, 207, .24) !important;
    border-radius: 18px !important;
    background:
        linear-gradient(135deg, rgba(16, 37, 60, .98), rgba(7, 20, 35, .98)) !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .035) !important;
    backdrop-filter: blur(18px);
}
.nova-client .loged-main_nav .nav-left {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}
.nova-client .loged-main_nav .nav-left > li,
.nova-client .loged-main_nav .nav-left > li > a {
    height: 48px !important;
    min-height: 48px !important;
}
.nova-client .loged-main_nav .nav-left > li > a {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    padding: 0 12px !important;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    color: #aebed0 !important;
    background: transparent !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    letter-spacing: -.01em;
    transition: transform .18s ease, color .18s ease, border-color .18s ease, background .18s ease !important;
}
.nova-client .loged-main_nav .nav-left > li:first-child > a {
    min-width: 148px;
    justify-content: flex-start !important;
    margin-right: 5px;
    padding: 0 18px 0 6px !important;
    border-right-color: rgba(112, 156, 207, .22) !important;
    border-radius: 0 !important;
}
.nova-client .loged-main_nav .nav-left > li:not(:first-child) > a:hover,
.nova-client .loged-main_nav .nav-left > li:not(:first-child) > a:focus-visible {
    color: #f4f8fc !important;
    border-color: rgba(108, 164, 232, .26) !important;
    background: rgba(88, 139, 201, .1) !important;
    transform: translateY(-1px);
}
.nova-client .loged-main_nav .nav-left > li:not(:first-child) > a.active,
.nova-client .loged-main_nav .nav-left > li:not(:first-child) > .dd-triggers.active {
    color: #f7fbff !important;
    border-color: rgba(102, 175, 235, .42) !important;
    background: linear-gradient(135deg, rgba(80, 143, 225, .24), rgba(58, 190, 181, .13)) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025), 0 8px 22px rgba(0, 0, 0, .18) !important;
}
.nova-client .loged-main_nav .loged-nav_icons {
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px;
    opacity: .8;
}
.nova-client .loged-main_nav .arr-down {
    width: 12px !important;
    height: 12px !important;
    flex-basis: 12px;
    margin-left: 3px !important;
}
.nova-client .loged-main_nav .nav-right {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    padding: 5px !important;
    border: 1px solid rgba(112, 156, 207, .2);
    border-radius: 14px;
    background: rgba(3, 13, 24, .38);
}
.nova-client .loged-main_nav .nav-right > li {
    margin: 0 !important;
}
.nova-client .loged-main_nav .nav-right > li:first-of-type {
    display: flex !important;
    min-height: 38px;
    align-items: center;
    padding: 0 13px;
    border: 1px solid rgba(52, 211, 153, .16);
    border-radius: 10px;
    background: rgba(52, 211, 153, .07);
}
.nova-client .loged-main_nav .nav-button {
    min-height: 38px !important;
    padding: 0 17px !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2) !important;
}
.nova-client .loged-main_nav .loged-dropdowns {
    top: calc(100% + 10px) !important;
    min-width: 240px;
    padding: 7px !important;
    border-radius: 14px !important;
    background: rgba(7, 20, 35, .97) !important;
    box-shadow: 0 22px 50px rgba(0, 0, 0, .42) !important;
    backdrop-filter: blur(18px);
}
.nova-client .loged-main_nav .loged-dropdowns > li > a {
    min-height: 42px !important;
    height: auto !important;
    padding: 10px 12px !important;
    border-radius: 9px !important;
}

/* Favourite control is a centred, independent action inside the asset field. */
.nova-client .favorite-asset-field .choices__inner {
    padding-right: 92px !important;
}
.nova-client .favorite-asset-field .favorite-asset-toggle {
    top: auto !important;
    right: 38px !important;
    bottom: 7px !important;
    display: grid !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    place-items: center !important;
    margin: 0 !important;
    padding: 0 0 2px !important;
    transform: none !important;
    color: #aebed0 !important;
    border: 1px solid rgba(112, 156, 207, .24) !important;
    border-radius: 10px !important;
    background: rgba(86, 132, 187, .08) !important;
    box-shadow: none !important;
    font-family: Arial, sans-serif !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-align: center !important;
}
.nova-client .favorite-asset-field .favorite-asset-toggle:hover,
.nova-client .favorite-asset-field .favorite-asset-toggle:focus-visible,
.nova-client .favorite-asset-field .favorite-asset-toggle.is-active {
    color: #ffd166 !important;
    border-color: rgba(255, 209, 102, .38) !important;
    background: rgba(255, 209, 102, .1) !important;
}
@media (max-width: 1399.98px) {
    .nova-client .loged-main_nav {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 8px !important;
    }
    .nova-client .loged-main_nav .nav-left {
        width: 100% !important;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .nova-client .loged-main_nav .nav-left::-webkit-scrollbar { display: none; }
    .nova-client .loged-main_nav .nav-right {
        width: auto !important;
        justify-self: end !important;
    }
}
@media (max-width: 767.98px) {
    .nova-client .loged-main_nav {
        width: calc(100% - 20px) !important;
        margin: 10px !important;
        padding: 8px !important;
        border-radius: 14px !important;
    }
    .nova-client .loged-main_nav .nav-right {
        width: 100% !important;
        justify-content: flex-start !important;
        overflow-x: auto;
    }
}

/* v14: remove residual trading gutters and join the navigation actions. */
.nova-client .top-nav {
    border-bottom: 0 !important;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .14) !important;
}
.nova-client .loged-main_nav .nav-right {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}
.nova-client[data-client-page="trading"] .content-wrapper > .content > .container-fluid {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.nova-client[data-client-page="trading"] #client-main-content {
    row-gap: 8px !important;
}
.nova-client[data-client-page="trading"] #client-main-content > .col-lg-9 {
    display: flex !important;
    min-height: 0;
    flex-direction: column;
}
.nova-client[data-client-page="trading"] #client-main-content > .col-lg-9 > #lw-card {
    height: auto !important;
    min-height: 560px;
    flex: 1 1 auto;
}
.nova-client[data-client-page="trading"] #lw-holder,
.nova-client[data-client-page="trading"] #lw-main {
    height: 100% !important;
}
.nova-client[data-client-page="trading"] #client-main-content > .deals-panel {
    width: calc(100% - 16px) !important;
    max-width: calc(100% - 16px) !important;
    flex: 0 0 calc(100% - 16px) !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
}

/* v14: support chat rebuilt in the Nova visual system. */
.nova-client #client-main-content.client-page:has(.chat) {
    width: min(1760px, 100%) !important;
    max-width: 1760px !important;
    margin-inline: auto !important;
}
.nova-client #client-main-content.client-page:has(.chat) .client-support-page > .card {
    overflow: hidden;
    border-color: rgba(111, 157, 210, .28) !important;
    border-radius: 18px !important;
    background: linear-gradient(145deg, #10243a 0%, #081827 100%) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .3) !important;
}
.nova-client #client-main-content.client-page:has(.chat) .client-support-page > .card > .card-header {
    min-height: 68px;
    display: flex;
    align-items: center;
    padding: 16px 24px !important;
    border-bottom: 1px solid rgba(111, 157, 210, .2) !important;
    background: linear-gradient(90deg, rgba(83, 137, 205, .12), rgba(79, 210, 196, .045)) !important;
}
.nova-client #client-main-content.client-page:has(.chat) .client-support-page > .card > .card-header h4 {
    margin: 0 !important;
    font-size: clamp(1.25rem, 2vw, 1.55rem) !important;
    letter-spacing: -.025em;
}
.nova-client #client-main-content.client-page:has(.chat) .client-support-page > .card > .card-body {
    padding: 18px 20px 20px !important;
}
.nova-client #client-main-content.client-page:has(.chat) .chat,
.nova-client #client-main-content.client-page:has(.chat) .chat__inner {
    height: clamp(620px, calc(100vh - 275px), 820px) !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: transparent !important;
}
.nova-client #client-main-content.client-page:has(.chat) .chat__window {
    display: flex !important;
    height: 100% !important;
    min-height: 0;
    flex-direction: column;
    gap: 14px;
    padding: 0 !important;
}
.nova-client #client-main-content.client-page:has(.chat) .chat__window--messages {
    min-height: 0;
    flex: 1 1 auto;
    overflow: hidden;
    border: 1px solid rgba(111, 157, 210, .22);
    border-radius: 14px;
    background: rgba(3, 13, 24, .34) !important;
}
.nova-client #client-main-content.client-page:has(.chat) .chat__window--inner {
    position: relative;
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 24px !important;
    overflow-y: auto;
    color: #dbe7f2 !important;
    border-radius: 0 !important;
    background:
        radial-gradient(circle at 50% 35%, rgba(69, 140, 211, .09), transparent 38%),
        linear-gradient(145deg, rgba(11, 28, 46, .98), rgba(5, 17, 30, .98)) !important;
}
.nova-client #client-main-content.client-page:has(.chat) .no-messages-alert {
    display: flex !important;
    width: min(340px, 90%) !important;
    min-height: 220px;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column;
    gap: 18px;
    margin: auto !important;
    padding: 28px !important;
    color: #c7d6e5 !important;
    border: 1px solid rgba(111, 157, 210, .18);
    border-radius: 20px;
    background: rgba(64, 107, 157, .07);
    text-align: center;
}
.nova-client #client-main-content.client-page:has(.chat) .no-messages-svg {
    width: 92px !important;
    height: 92px !important;
    color: #6fa4dd !important;
    opacity: .82 !important;
    filter: saturate(.8) brightness(1.2);
}
.nova-client #client-main-content.client-page:has(.chat) .no-messages-text {
    color: #c7d6e5 !important;
    font-size: 16px !important;
    font-weight: 650;
    line-height: 1.5;
}
.nova-client #client-main-content.client-page:has(.chat) .chat__window--input {
    display: grid !important;
    width: 100% !important;
    height: 54px !important;
    min-height: 54px;
    grid-template-columns: minmax(0, 1fr) 58px 58px;
    gap: 8px;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}
.nova-client #client-main-content.client-page:has(.chat) #messageInput {
    width: 100% !important;
    height: 54px !important;
    padding: 0 18px !important;
    color: #e8f0f7 !important;
    border: 1px solid rgba(111, 157, 210, .24) !important;
    border-radius: 12px !important;
    background: rgba(3, 13, 24, .72) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}
.nova-client #client-main-content.client-page:has(.chat) #messageInput::placeholder {
    color: #70879c !important;
}
.nova-client #client-main-content.client-page:has(.chat) :where(#addFile, #submitMessage) {
    display: grid !important;
    width: 58px !important;
    height: 54px !important;
    place-items: center;
    margin: 0 !important;
    padding: 0 !important;
    color: #071725 !important;
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .2) !important;
}
.nova-client #client-main-content.client-page:has(.chat) #addFile {
    background: #78aef0 !important;
}
.nova-client #client-main-content.client-page:has(.chat) #submitMessage {
    background: #4fc8c5 !important;
}
.nova-client #client-main-content.client-page:has(.chat) :where(#addFile, #submitMessage) svg {
    width: 22px !important;
    height: 22px !important;
}
@media (max-width: 767.98px) {
    .nova-client #client-main-content.client-page:has(.chat) .client-support-page > .card > .card-body { padding: 12px !important; }
    .nova-client #client-main-content.client-page:has(.chat) .chat__window--input {
        grid-template-columns: minmax(0, 1fr) 50px 50px;
    }
    .nova-client #client-main-content.client-page:has(.chat) :where(#addFile, #submitMessage) { width: 50px !important; }
}

/* v16: modern empty-state magnifier and compact circular chat actions. */
.nova-client #client-main-content.client-page:has(.chat) .no-messages-alert {
    position: relative;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    min-height: 240px;
    gap: 20px;
    overflow: visible;
    border-color: rgba(105, 173, 235, .26);
    background: linear-gradient(145deg, rgba(67, 124, 185, .11), rgba(32, 78, 126, .045));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 18px 42px rgba(0, 0, 0, .16);
}
.nova-client #client-main-content.client-page:has(.chat) .no-messages-svg {
    display: none !important;
}
.nova-client #client-main-content.client-page:has(.chat) .no-messages-alert::before {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border: 5px solid #76b7f3;
    border-radius: 50%;
    background:
        radial-gradient(circle at 38% 34%, rgba(255, 255, 255, .2), transparent 28%),
        linear-gradient(145deg, rgba(83, 166, 229, .24), rgba(55, 203, 194, .1));
    box-shadow: 0 0 0 8px rgba(98, 168, 229, .07), 0 12px 30px rgba(20, 88, 145, .24);
    content: "";
}
.nova-client #client-main-content.client-page:has(.chat) .no-messages-alert::after {
    position: absolute;
    top: 111px;
    left: calc(50% + 23px);
    width: 31px;
    height: 9px;
    transform: rotate(45deg);
    transform-origin: left center;
    border-radius: 999px;
    background: linear-gradient(90deg, #76b7f3, #50d0c5);
    box-shadow: 0 7px 18px rgba(18, 83, 136, .3);
    content: "";
}
.nova-client #client-main-content.client-page:has(.chat) .no-messages-text {
    color: #d7e6f4 !important;
    font-size: 15px !important;
    font-weight: 700;
    letter-spacing: .01em;
}
.nova-client #client-main-content.client-page:has(.chat) .chat__window--input {
    grid-template-columns: minmax(0, 1fr) 54px 54px;
    gap: 10px;
    align-items: center;
}
.nova-client #client-main-content.client-page:has(.chat) :where(#addFile, #submitMessage) {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
    border-radius: 50% !important;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, filter .18s ease !important;
}
.nova-client #client-main-content.client-page:has(.chat) #addFile {
    color: #9dcbf7 !important;
    border: 1px solid rgba(111, 177, 238, .32) !important;
    background: linear-gradient(145deg, rgba(53, 106, 165, .28), rgba(25, 63, 105, .38)) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .04) !important;
}
.nova-client #client-main-content.client-page:has(.chat) #submitMessage {
    color: #f7ffff !important;
    background: linear-gradient(135deg, #5d9ff0 0%, #45c9c2 100%) !important;
    box-shadow: 0 12px 28px rgba(50, 159, 194, .28) !important;
}
.nova-client #client-main-content.client-page:has(.chat) :where(#addFile, #submitMessage):hover,
.nova-client #client-main-content.client-page:has(.chat) :where(#addFile, #submitMessage):focus-visible {
    transform: translateY(-2px);
    filter: brightness(1.08);
}
.nova-client #client-main-content.client-page:has(.chat) :where(#addFile, #submitMessage):focus-visible {
    outline: 3px solid rgba(102, 183, 255, .2) !important;
    outline-offset: 3px;
}
.nova-client #client-main-content.client-page:has(.chat) #addFile .mf-plus__icon,
.nova-client #client-main-content.client-page:has(.chat) #addFile .fa {
    display: grid !important;
    width: 24px;
    height: 24px;
    place-items: center;
    margin: 0 !important;
    color: currentColor !important;
    font-size: 20px !important;
    line-height: 1 !important;
}
.nova-client #client-main-content.client-page:has(.chat) #submitMessage svg {
    width: 24px !important;
    height: 24px !important;
    transform: translateX(1px);
    color: #ffffff !important;
    fill: #ffffff !important;
}
@media (max-width: 767.98px) {
    .nova-client #client-main-content.client-page:has(.chat) .chat__window--input {
        grid-template-columns: minmax(0, 1fr) 48px 48px;
        gap: 7px;
    }
    .nova-client #client-main-content.client-page:has(.chat) :where(#addFile, #submitMessage) {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .nova-shell *, .nova-shell *::before, .nova-shell *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* v18: documents workspace and primary account actions */
.nova-client #docs > .card-body {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 30px !important;
    background: linear-gradient(145deg, rgba(17, 42, 68, .72), rgba(6, 23, 39, .9)) !important;
}
.nova-client #docs > .card-body > .row {
    display: contents !important;
}
.nova-client #docs .doc-block {
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    padding: 0 !important;
}
.nova-client #docs .doc-block:empty {
    display: none !important;
}
.nova-client #docs .doc-block .jumbotron {
    position: relative;
    display: flex !important;
    min-height: 250px;
    margin: 0 !important;
    padding: 30px 24px 26px !important;
    overflow: hidden;
    border: 1px solid rgba(111, 177, 238, .22);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0, rgba(70, 199, 194, .12), transparent 46%),
        linear-gradient(145deg, rgba(18, 48, 78, .94), rgba(8, 27, 47, .98)) !important;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .04);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.nova-client #docs .doc-block .jumbotron:hover {
    transform: translateY(-3px);
    border-color: rgba(93, 159, 240, .52);
    box-shadow: 0 22px 44px rgba(0, 0, 0, .26), 0 0 0 3px rgba(80, 208, 197, .05);
}
.nova-client #docs .doc-block .jumbotron::before {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    margin: 0 auto 22px;
    color: #dff5ff;
    border: 1px solid rgba(121, 190, 255, .3);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(93, 159, 240, .36), rgba(69, 201, 194, .18));
    box-shadow: 0 12px 28px rgba(5, 17, 30, .32), inset 0 1px 0 rgba(255, 255, 255, .08);
    font-family: "Font Awesome 5 Free";
    font-size: 25px;
    font-weight: 900;
    line-height: 1;
}
.nova-client #docs .doc-block:nth-child(1) .jumbotron::before { content: "\f2bb"; }
.nova-client #docs .doc-block:nth-child(2) .jumbotron::before { content: "\f015"; }
.nova-client #docs > .card-body > .row:nth-child(2) .doc-block:first-child .jumbotron::before { content: "\f15c"; }
.nova-client #docs .doc-block .container {
    display: flex;
    width: 100%;
    max-width: none !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}
.nova-client #docs .doc-block h4 {
    margin: 0 0 22px !important;
    color: #f4f9ff !important;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}
.nova-client #docs .doc-block .upload-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 18px;
    color: #d9efff !important;
    border: 1px solid rgba(105, 180, 247, .34);
    border-radius: 12px;
    background: rgba(63, 123, 185, .14);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
    transition: transform .18s ease, color .18s ease, border-color .18s ease, background .18s ease;
}
.nova-client #docs .doc-block .upload-button::after {
    content: "\f093";
    font-family: "Font Awesome 5 Free";
    font-size: 14px;
    font-weight: 900;
}
.nova-client #docs .doc-block .upload-button:hover {
    transform: translateY(-1px);
    color: #ffffff !important;
    border-color: rgba(80, 208, 197, .72);
    background: linear-gradient(135deg, rgba(93, 159, 240, .3), rgba(69, 201, 194, .25));
}
.nova-client #docs .doc-block .upload-button.kyc-status-validation {
    color: #ffdc88 !important;
    border-color: rgba(255, 202, 86, .35);
    background: rgba(255, 202, 86, .1);
}
.nova-client #docs .doc-block .upload-button.kyc-status-rejected {
    color: #ff9ca7 !important;
    border-color: rgba(255, 100, 116, .36);
    background: rgba(255, 100, 116, .1);
}
.nova-client #docs .doc-block .upload-button.kyc-status-validated {
    color: #6be3b1 !important;
    border-color: rgba(66, 211, 153, .34);
    background: rgba(66, 211, 153, .1);
}

.nova-client .loged-main_nav .nav-right > li:has(.nav-button) {
    display: flex !important;
}
.nova-client .loged-main_nav .nav-button {
    position: relative;
    min-height: 46px !important;
    align-items: center !important;
    gap: 10px;
    padding: 0 17px 0 12px !important;
    overflow: hidden;
    border: 1px solid transparent !important;
    border-radius: 14px !important;
    color: #eef7ff !important;
    background: none !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .22) !important;
    font-weight: 700 !important;
    letter-spacing: .01em;
    text-transform: uppercase;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, filter .18s ease !important;
}
.nova-client .loged-main_nav .nav-button::before {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border-radius: 9px;
    font-family: "Font Awesome 5 Free";
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
}
.nova-client .loged-main_nav .nav-button.btn-widthdraw {
    border-color: rgba(241, 174, 91, .34) !important;
    color: #ffd9a6 !important;
    background: linear-gradient(145deg, rgba(119, 71, 37, .34), rgba(38, 34, 39, .92)) !important;
}
.nova-client .loged-main_nav .nav-button.btn-widthdraw::before {
    content: "\f062";
    color: #ffc477;
    background: rgba(239, 158, 69, .14);
    box-shadow: inset 0 0 0 1px rgba(255, 190, 112, .18);
}
.nova-client .loged-main_nav #modalTrigger.nav-button {
    border-color: rgba(102, 205, 225, .36) !important;
    color: #061b29 !important;
    background: linear-gradient(135deg, #6aa8f3 0%, #4fd0c4 100%) !important;
    box-shadow: 0 13px 28px rgba(49, 155, 196, .3) !important;
}
.nova-client .loged-main_nav #modalTrigger.nav-button::before {
    content: "\f063";
    color: #eaffff;
    background: rgba(5, 31, 47, .2);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.nova-client .loged-main_nav .nav-button:hover,
.nova-client .loged-main_nav .nav-button:focus-visible {
    transform: translateY(-2px);
    filter: brightness(1.08);
}
.nova-client .loged-main_nav .nav-button:focus-visible {
    outline: 3px solid rgba(102, 183, 255, .2) !important;
    outline-offset: 3px;
}
@media (max-width: 1099.98px) {
    .nova-client #docs > .card-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 719.98px) {
    .nova-client #docs > .card-body { grid-template-columns: minmax(0, 1fr); padding: 18px !important; }
    .nova-client #docs .doc-block .jumbotron { min-height: 220px; }
}

/* v19: compact message actions integrated with the composer */
.nova-client #client-main-content.client-page:has(.chat) .chat__window--input {
    grid-template-columns: minmax(0, 1fr) 48px 60px !important;
    gap: 8px !important;
    min-height: 64px;
    padding: 7px !important;
    border: 1px solid rgba(86, 169, 225, .24) !important;
    border-radius: 16px !important;
    background: linear-gradient(145deg, rgba(7, 25, 43, .98), rgba(9, 34, 57, .94)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 12px 28px rgba(0, 0, 0, .18) !important;
}
.nova-client #client-main-content.client-page:has(.chat) .chat__window--input > input {
    min-width: 0;
    height: 48px !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: rgba(2, 14, 25, .54) !important;
    box-shadow: inset 0 0 0 1px rgba(98, 158, 211, .08) !important;
}
.nova-client #client-main-content.client-page:has(.chat) :where(#addFile, #submitMessage) {
    height: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
    border-radius: 11px !important;
    box-shadow: none !important;
}
.nova-client #client-main-content.client-page:has(.chat) #addFile {
    width: 48px !important;
    min-width: 48px !important;
    color: #9ecdf7 !important;
    border: 1px solid rgba(111, 177, 238, .22) !important;
    background: rgba(58, 113, 168, .14) !important;
}
.nova-client #client-main-content.client-page:has(.chat) #addFile:hover,
.nova-client #client-main-content.client-page:has(.chat) #addFile:focus-visible {
    color: #dff4ff !important;
    border-color: rgba(111, 190, 244, .5) !important;
    background: rgba(68, 137, 198, .24) !important;
}
.nova-client #client-main-content.client-page:has(.chat) #submitMessage {
    width: 60px !important;
    min-width: 60px !important;
    border: 1px solid rgba(112, 226, 219, .32) !important;
    background: linear-gradient(135deg, #62a8ef 0%, #49c9c1 100%) !important;
    box-shadow: 0 8px 18px rgba(48, 149, 187, .22) !important;
}
.nova-client #client-main-content.client-page:has(.chat) #submitMessage:hover,
.nova-client #client-main-content.client-page:has(.chat) #submitMessage:focus-visible {
    background: linear-gradient(135deg, #75b6f5 0%, #59d4cc 100%) !important;
}
.nova-client #client-main-content.client-page:has(.chat) :where(#addFile, #submitMessage):hover,
.nova-client #client-main-content.client-page:has(.chat) :where(#addFile, #submitMessage):focus-visible {
    transform: translateY(-1px) !important;
}
.nova-client #client-main-content.client-page:has(.chat) #addFile .mf-plus__icon,
.nova-client #client-main-content.client-page:has(.chat) #addFile .fa {
    width: 20px !important;
    height: 20px !important;
    font-size: 17px !important;
}
.nova-client #client-main-content.client-page:has(.chat) #submitMessage svg {
    width: 21px !important;
    height: 21px !important;
    transform: none !important;
}
@media (max-width: 767.98px) {
    .nova-client #client-main-content.client-page:has(.chat) .chat__window--input {
        grid-template-columns: minmax(0, 1fr) 44px 52px !important;
        gap: 6px !important;
        min-height: 58px;
        padding: 6px !important;
    }
    .nova-client #client-main-content.client-page:has(.chat) :where(#addFile, #submitMessage),
    .nova-client #client-main-content.client-page:has(.chat) .chat__window--input > input {
        height: 44px !important;
        min-height: 44px !important;
    }
    .nova-client #client-main-content.client-page:has(.chat) #addFile {
        width: 44px !important;
        min-width: 44px !important;
    }
    .nova-client #client-main-content.client-page:has(.chat) #submitMessage {
        width: 52px !important;
        min-width: 52px !important;
    }
}

/* v21: aligned document actions and semantic account-action colours */
.nova-client #docs .doc-block .container {
    display: grid !important;
    grid-template-rows: 60px 46px;
    row-gap: 16px;
    align-content: center;
    justify-items: center;
}
.nova-client #docs .doc-block h4 {
    display: flex;
    width: 100%;
    height: 60px;
    min-height: 60px;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
}
.nova-client #docs .doc-block .upload-button {
    align-self: start;
    margin: 0 !important;
}
.nova-client .loged-main_nav .nav-button.btn-widthdraw {
    border-color: rgba(255, 105, 120, .48) !important;
    color: #fff3f5 !important;
    background: linear-gradient(145deg, #ca4050 0%, #972c3b 100%) !important;
    box-shadow: 0 13px 28px rgba(132, 25, 43, .28) !important;
}
.nova-client .loged-main_nav .nav-button.btn-widthdraw::before {
    color: #ffffff !important;
    background: rgba(78, 8, 20, .22) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14) !important;
}
.nova-client .loged-main_nav #modalTrigger.nav-button {
    border-color: rgba(89, 224, 164, .42) !important;
    color: #f2fff9 !important;
    background: linear-gradient(135deg, #1ea96c 0%, #35c58f 100%) !important;
    box-shadow: 0 13px 28px rgba(22, 139, 87, .28) !important;
}
.nova-client .loged-main_nav #modalTrigger.nav-button::before {
    color: #ffffff !important;
    background: rgba(4, 76, 45, .24) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14) !important;
}
.nova-client .loged-main_nav .nav-button.btn-widthdraw:hover,
.nova-client .loged-main_nav .nav-button.btn-widthdraw:focus-visible {
    background: linear-gradient(145deg, #dc4a5a 0%, #a83243 100%) !important;
}
.nova-client .loged-main_nav #modalTrigger.nav-button:hover,
.nova-client .loged-main_nav #modalTrigger.nav-button:focus-visible {
    background: linear-gradient(135deg, #26b979 0%, #43d19d 100%) !important;
}

/* v22: stable admin navigation and one-line users table controls */
.nova-admin .sidebar {
    overflow-x: hidden !important;
}
.nova-admin .nav-sidebar {
    max-width: 100%;
    overflow-x: hidden !important;
}
.nova-admin .nav-sidebar .nav-item {
    width: 100%;
    max-width: 100%;
}
.nova-admin .nav-sidebar .nav-link {
    width: 100%;
    max-width: 100%;
    min-height: 40px;
    align-items: center;
    padding: 8px 8px !important;
    font-size: .82rem !important;
    line-height: 1.2;
}
.nova-admin .nav-sidebar .nav-icon {
    width: 18px !important;
    min-width: 18px;
    flex: 0 0 18px;
    margin-right: 6px !important;
    font-size: .9rem !important;
}
.nova-admin .nav-sidebar .nav-link p {
    min-width: 0;
    margin: 0 !important;
    overflow-wrap: anywhere;
    white-space: normal;
}

@media (min-width: 992px) {
    .nova-admin .admin-topbar [data-widget="pushmenu"] {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    .nova-admin .table-wrapper_new > .d-flex {
        position: relative;
        min-height: 68px;
        padding-right: 232px;
    }
    .nova-admin .table-wrapper_new > .d-flex > div:last-child {
        position: absolute;
        z-index: 6;
        top: 14px;
        right: 18px;
        min-height: 40px;
    }
    .nova-admin #dataTable_wrapper > .row:first-child {
        position: absolute;
        z-index: 5;
        top: 14px;
        right: 232px;
        left: 250px;
        display: flex !important;
        min-height: 40px;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-end;
        gap: 14px;
        margin: 0 !important;
    }
    .nova-admin #dataTable_wrapper > .row:first-child > [class*="col-"] {
        width: auto !important;
        max-width: none !important;
        flex: 0 0 auto !important;
        padding: 0 !important;
    }
    .nova-admin #dataTable_length,
    .nova-admin #dataTable_filter {
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }
    .nova-admin #dataTable_length label,
    .nova-admin #dataTable_filter label {
        display: flex;
        min-height: 40px;
        align-items: center;
        gap: 8px;
        margin: 0 !important;
        color: var(--nova-text-2) !important;
        white-space: nowrap;
    }
    .nova-admin #dataTable_length select {
        width: 72px !important;
        min-width: 72px;
        min-height: 40px;
        margin: 0 !important;
    }
    .nova-admin #dataTable_filter input {
        width: 190px !important;
        min-width: 150px;
        min-height: 40px;
        margin: 0 !important;
    }
}

/* v23: remove the legacy DataTables offset from the unified toolbar */
@media (min-width: 1200px) {
    .nova-admin #dataTable_wrapper > .row:first-child {
        height: 40px !important;
        min-height: 40px !important;
        padding: 0 !important;
    }
}

/* v24: structural admin users toolbar and overflow correction */
.nova-admin .main-sidebar {
    overflow-x: hidden !important;
}
.nova-admin .admin-users-toolbar {
    display: grid;
    grid-template-columns: minmax(170px, 1fr) auto auto;
    gap: 16px;
    align-items: center;
    min-height: 68px;
    padding: 14px 18px;
    border: 0 !important;
    border-bottom: 0 !important;
}
.nova-admin .admin-users-toolbar h4 {
    min-width: 0;
    margin: 0 !important;
}
.nova-admin .admin-users-data-controls {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    min-width: 0;
}
.nova-admin .admin-users-data-controls :where(#dataTable_length, #dataTable_filter) {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}
.nova-admin .admin-users-data-controls :where(#dataTable_length, #dataTable_filter) label,
.nova-admin .admin-users-online-filter {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    margin: 0 !important;
    color: var(--nova-text-2) !important;
    white-space: nowrap;
}
.nova-admin .admin-users-data-controls #dataTable_length select {
    width: 72px !important;
    min-width: 72px;
    min-height: 40px;
    margin: 0 !important;
}
.nova-admin .admin-users-data-controls #dataTable_filter input {
    width: clamp(150px, 12vw, 190px) !important;
    min-width: 150px;
    min-height: 40px;
    margin: 0 !important;
}
.nova-admin .admin-users-online-filter select {
    width: 160px !important;
    min-width: 160px;
    min-height: 40px;
    margin: 0 !important;
}
.nova-admin #dataTable_wrapper > .row.admin-users-generated-row:first-child {
    position: static !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 1199.98px) {
    .nova-admin .admin-users-toolbar {
        grid-template-columns: minmax(170px, 1fr) auto;
    }
    .nova-admin .admin-users-data-controls {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 767.98px) {
    .nova-admin .admin-users-toolbar {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .nova-admin .admin-users-data-controls,
    .nova-admin .admin-users-online-filter {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .nova-admin .admin-users-data-controls #dataTable_filter input {
        width: min(190px, 48vw) !important;
        min-width: 120px;
    }
}

/* v26: mobile-only public navigation, footer and primary CTA */
@media (max-width: 767.98px) {
    body.nova-public:has(.altair-home-nav .menu.active) {
        overflow: hidden !important;
    }

    .nova-public .altair-home-nav {
        min-height: 72px;
        padding-inline: 16px !important;
    }
    .nova-public .altair-home-nav .nav-up {
        position: relative;
        z-index: 2;
        min-height: 72px;
    }
    .nova-public .altair-home-nav .nav-brand,
    .nova-public .altair-home-nav .hamburger {
        position: relative;
        z-index: 1003;
    }
    .nova-public .altair-home-nav .nav-logo {
        height: 32px !important;
    }
    .nova-public .altair-home-nav .hamburger {
        width: 54px;
        height: 54px;
        flex: 0 0 54px;
        align-items: center;
        justify-content: center;
        margin: 0 0 0 auto !important;
    }

    .nova-public .altair-home-nav .menu.active {
        position: fixed !important;
        z-index: 1001 !important;
        inset: 0 !important;
        display: flex !important;
        width: 100vw !important;
        max-width: none !important;
        height: 100dvh !important;
        min-height: 100vh !important;
        align-items: flex-start !important;
        justify-content: center !important;
        padding: 88px 16px 24px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        transform: none !important;
        background: linear-gradient(155deg, rgba(6,15,26,.995), rgba(10,28,47,.995)) !important;
        box-shadow: none !important;
    }
    .nova-public .altair-home-nav .menu.active > div,
    .nova-public .altair-home-nav .menu.active > div > div {
        position: static !important;
        width: 100% !important;
        max-width: 430px !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 auto !important;
        padding: 0 !important;
        transform: none !important;
    }
    .nova-public .altair-home-nav .menu.active .lang-menu {
        display: flex !important;
        width: max-content !important;
        max-width: 100% !important;
        margin: 0 auto 14px !important;
    }
    .nova-public .altair-home-nav .menu.active #ulka {
        display: flex !important;
        width: 100% !important;
        max-width: 430px !important;
        height: auto !important;
        min-height: 0 !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 4px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        transform: none !important;
    }
    .nova-public .altair-home-nav .menu.active #ulka > .nav-li {
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
    }
    .nova-public .altair-home-nav .menu.active #ulka > .nav-li > .nav-link {
        width: 100% !important;
        min-height: 44px !important;
        justify-content: flex-start !important;
        padding: 10px 14px !important;
        border-radius: 10px !important;
        font-size: 15px !important;
        line-height: 1.3 !important;
    }
    .nova-public .altair-home-nav .menu.active .ulka-auth_wrapper {
        position: static !important;
        display: flex !important;
        width: 100% !important;
        height: auto !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        margin: 14px 0 0 !important;
        padding: 14px 0 0 !important;
        border-top: 1px solid rgba(121, 155, 195, .2);
        transform: none !important;
    }
    .nova-public .altair-home-nav .menu.active .ulka-auth_wrapper .btn,
    .nova-public .altair-home-nav .menu.active .ulka-auth_wrapper .logout-form {
        min-width: 0 !important;
        flex: 1 1 145px !important;
        margin: 0 !important;
    }
    .nova-public .altair-home-nav .menu.active .ulka-auth_wrapper .btn {
        display: inline-flex !important;
        width: 100% !important;
        min-height: 46px !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px 14px !important;
        border-radius: 11px !important;
    }

    .nova-public .home3-btn--primary {
        color: #06111d !important;
        border: 1px solid rgba(112,226,219,.42) !important;
        border-radius: 12px !important;
        background: linear-gradient(135deg, #68a5ff 0%, #53dbcd 100%) !important;
        box-shadow: 0 14px 30px rgba(50,151,194,.25) !important;
    }

    .nova-public .footer {
        padding: 48px 16px 24px !important;
    }
    .nova-public .footer .container,
    .nova-public .footer-inner {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .nova-public .footer-main {
        display: grid !important;
        width: 100% !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        align-items: start !important;
        gap: 28px 18px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .nova-public .footer-main_item {
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        align-items: flex-start !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }
    .nova-public .footer-main_item.fm-brand,
    .nova-public .footer-main_item.fm-contacts {
        grid-column: 1 / -1;
    }
    .nova-public .footer-main_item.fm-brand {
        align-items: center !important;
        text-align: center !important;
    }
    .nova-public .footer-main_item.fm-contacts {
        align-items: center !important;
    }
    .nova-public .footer-main_item.fm-btn {
        display: none !important;
    }
    .nova-public .footer-main_item .nav-link {
        width: 100% !important;
        padding: 6px 0 !important;
        white-space: normal !important;
    }
    .nova-public .footer-inner > br {
        display: none !important;
    }
    .nova-public .footer-inner > hr {
        margin: 28px 0 20px !important;
    }
}

@media (max-width: 359.98px) {
    .nova-public .footer-main {
        grid-template-columns: 1fr !important;
    }
    .nova-public .footer-main_item.fm-brand,
    .nova-public .footer-main_item.fm-contacts {
        grid-column: auto;
    }
}

/* v27: current-design About page and refined mobile public blocks */
.nova-public .about3 {
    color: var(--nova-text);
    background: #07101d;
}
.nova-public .about3-container {
    width: min(calc(100% - 2rem), 75rem);
    margin-inline: auto;
}
.nova-public .about3-hero {
    padding: clamp(4.5rem, 8vw, 7rem) 0;
    border-bottom: 1px solid rgba(125,150,184,.18);
    background:
        radial-gradient(circle at 86% 16%, rgba(83,219,205,.1), transparent 27rem),
        linear-gradient(140deg, #07101d, #0b1727 58%, #10192a);
}
.nova-public .about3-hero__grid,
.nova-public .about3-platform__grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(27rem, 1.05fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5.5rem);
}
.nova-public .about3-eyebrow,
.nova-public .about3-heading > span {
    display: inline-flex;
    margin-bottom: 1rem;
    color: #d5b66f;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.nova-public .about3 h1 {
    max-width: 13ch;
    margin: 0 0 1.25rem;
    color: #f7f9fc;
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    font-weight: 760;
    line-height: .98;
    letter-spacing: -.045em;
}
.nova-public .about3-hero__copy > p {
    max-width: 39rem;
    margin: 0;
    color: #b5c0d0;
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    line-height: 1.7;
}
.nova-public .about3-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.75rem;
}
.nova-public .about3-btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: .72rem 1.25rem;
    border-radius: 11px;
    font-weight: 780;
}
.nova-public .about3-btn--primary {
    color: #06111d !important;
    border-color: transparent !important;
    background: linear-gradient(135deg, #68a5ff 0%, #53dbcd 100%) !important;
    box-shadow: 0 14px 30px rgba(50,151,194,.22) !important;
}
.nova-public .about3-btn--secondary {
    color: var(--nova-text) !important;
    border: 1px solid var(--nova-border-strong) !important;
    background: rgba(255,255,255,.04) !important;
}
.nova-public .about3-summary {
    min-width: 0;
    padding: 1rem;
    border: 1px solid rgba(126,156,199,.25);
    border-radius: 20px;
    background: linear-gradient(155deg, rgba(18,38,60,.96), rgba(7,18,31,.98));
    box-shadow: 0 2rem 5rem rgba(0,0,0,.32);
}
.nova-public .about3-summary__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .25rem .25rem 1rem;
    color: var(--nova-text-2);
    font-weight: 760;
}
.nova-public .about3-summary__head i {
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: var(--nova-success);
    box-shadow: 0 0 0 6px rgba(49,207,138,.1);
}
.nova-public .about3-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}
.nova-public .about3-stats article {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    max-width: 100% !important;
    min-height: 9rem;
    height: auto !important;
    padding: 1.15rem;
    opacity: 1 !important;
    transform: none !important;
    border: 1px solid var(--nova-border);
    border-radius: 14px;
    background: rgba(255,255,255,.035);
}
.nova-public .about3-stats strong {
    display: block;
    margin-bottom: .7rem;
    color: #f5f9ff;
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    line-height: 1;
}
.nova-public .about3-stats span {
    color: var(--nova-muted);
    font-size: .86rem;
    line-height: 1.45;
}
.nova-public .about3-benefits {
    padding: clamp(4rem, 7vw, 6rem) 0;
    background: #0a1422;
}
.nova-public .about3-heading {
    max-width: 46rem;
    margin-bottom: 2rem;
}
.nova-public .about3-heading h2,
.nova-public .about3-platform h2,
.nova-public .about3-cta h2 {
    margin: 0;
    color: #f5f9ff;
    font-size: clamp(2rem, 3.5vw, 3.1rem);
    line-height: 1.08;
}
.nova-public .about3-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.nova-public .about3-benefit-grid article {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0;
    min-height: 13rem;
    height: auto !important;
    padding: 1.4rem;
    opacity: 1 !important;
    transform: none !important;
    border: 1px solid var(--nova-border);
    border-radius: 15px;
    background: rgba(255,255,255,.025);
}
.nova-public .about3-benefit-grid i {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    margin-bottom: 2rem;
    color: #9dd9ef;
    border: 1px solid rgba(105,180,247,.28);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(93,159,240,.24), rgba(69,201,194,.12));
}
.nova-public .about3-benefit-grid p {
    margin: 0;
    color: var(--nova-text-2);
    font-size: 1rem;
    line-height: 1.55;
}
.nova-public .about3-benefit-grid p span,
.nova-public .about3-platform__copy li span {
    color: #f5f9ff;
    font-weight: 780;
}
.nova-public .about3-platform {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: #07101d;
}
.nova-public .about3-platform__visual {
    min-width: 0;
    padding: clamp(1rem, 3vw, 2rem);
    overflow: hidden;
    border: 1px solid var(--nova-border);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(17,34,56,.88), rgba(7,18,31,.92));
}
.nova-public .about3-platform__visual img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 28px 38px rgba(0,0,0,.42));
}
.nova-public .about3-platform__copy > p {
    margin: 1.25rem 0 1.5rem;
    color: var(--nova-text-2);
    line-height: 1.7;
}
.nova-public .about3-platform__copy ul {
    display: grid;
    gap: .85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.nova-public .about3-platform__copy li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    color: var(--nova-text-2);
}
.nova-public .about3-platform__copy li i {
    display: grid;
    width: 1.6rem;
    height: 1.6rem;
    flex: 0 0 1.6rem;
    place-items: center;
    color: #061a22;
    border-radius: 50%;
    background: var(--nova-accent-2);
    font-size: .7rem;
}
.nova-public .about3-cta {
    padding: 0 0 clamp(4rem, 8vw, 7rem);
    background: #07101d;
}
.nova-public .about3-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid rgba(126,156,199,.24);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(16,39,63,.98), rgba(9,27,45,.98));
}

@media (max-width: 991.98px) {
    .nova-public .about3-hero__grid,
    .nova-public .about3-platform__grid {
        grid-template-columns: 1fr;
    }
    .nova-public .about3-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .nova-public .home3-chart {
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 16 / 9;
        padding: .35rem !important;
    }
    .nova-public .home3-chart img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
    }

    .nova-public .footer-main {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
    }
    .nova-public .footer-main_item.fm-brand,
    .nova-public .footer-main_item.fm-contacts {
        grid-column: auto !important;
    }
    .nova-public .footer-main_item.fm-brand {
        margin-bottom: 10px !important;
    }
    .nova-public .footer-main_item.fm-pages,
    .nova-public .footer-main_item.fm-contacts {
        width: 100% !important;
        align-items: flex-start !important;
        padding: 16px 18px !important;
        border: 1px solid rgba(126,156,199,.2);
        border-radius: 14px;
        background: linear-gradient(145deg, rgba(15,31,51,.9), rgba(7,18,31,.94));
        text-align: left !important;
    }
    .nova-public .footer-main_item.fm-pages h6 {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        margin: 0 0 8px !important;
    }
    .nova-public .footer-main_item .nav-link {
        width: 100% !important;
        margin: 0 !important;
        padding: 7px 0 !important;
        overflow: visible !important;
        transform: none !important;
        text-align: left !important;
        white-space: normal !important;
    }
    .nova-public .footer-main_item.fm-contacts {
        align-items: center !important;
        text-align: center !important;
    }

    .nova-public .about3-container {
        width: min(calc(100% - 1.25rem), 75rem);
    }
    .nova-public .about3-hero {
        padding: 3rem 0;
    }
    .nova-public .about3 h1 {
        max-width: 100%;
        font-size: clamp(2.25rem, 12vw, 3.3rem);
        overflow-wrap: anywhere;
    }
    .nova-public .about3-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
    .nova-public .about3-actions .btn {
        width: 100%;
    }
    .nova-public .about3-stats,
    .nova-public .about3-benefit-grid {
        grid-template-columns: 1fr;
    }
    .nova-public .about3-stats article,
    .nova-public .about3-benefit-grid article {
        min-height: 0;
    }
    .nova-public .about3-benefit-grid i {
        margin-bottom: 1.25rem;
    }
    .nova-public .about3-platform__grid {
        gap: 2rem;
    }
    .nova-public .about3-cta__inner {
        align-items: stretch;
        flex-direction: column;
    }
    .nova-public .about3-cta__inner .btn {
        width: 100%;
    }
}

/* v28: compact About sections and mobile footer accordion */
.nova-public .about3 > section {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
    opacity: 1 !important;
    transform: none !important;
}
.nova-public .about3-hero {
    padding: clamp(3.5rem, 6vw, 5rem) 0;
}
.nova-public .about3-benefits,
.nova-public .about3-platform {
    padding: clamp(3.5rem, 6vw, 5rem) 0;
}
.nova-public .about3-cta {
    padding: 0 0 clamp(3.5rem, 6vw, 5rem);
}
.nova-public .footer-main_item.fm-pages > summary {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    color: inherit;
    font: inherit;
    list-style: none;
}
.nova-public .footer-main_item.fm-pages > summary::-webkit-details-marker {
    display: none;
}

@media (min-width: 768px) {
    .nova-public .footer-main_item.fm-pages > summary {
        pointer-events: none;
        cursor: default;
    }
    .nova-public .footer-main_item.fm-pages:not([open]) > .nav-link {
        display: flex !important;
    }
}

@media (max-width: 767.98px) {
    body.nova-public .page wrapper.wrapper .about3 > section {
        min-height: 0 !important;
        height: auto !important;
        max-height: none !important;
    }
    .nova-public .footer-main_item.fm-pages {
        padding: 0 !important;
    }
    .nova-public .footer-main_item.fm-pages > summary {
        min-height: 58px;
        padding: 16px 18px;
        cursor: pointer;
        font-weight: 760;
    }
    .nova-public .footer-main_item.fm-pages > summary .nav-arrow_svg {
        flex: 0 0 auto;
        transition: transform .2s ease;
    }
    .nova-public .footer-main_item.fm-pages[open] > summary .nav-arrow_svg {
        transform: rotate(180deg);
    }
    .nova-public .footer-main_item.fm-pages:not([open]) > .nav-link {
        display: none !important;
    }
    .nova-public .footer-main_item.fm-pages[open] {
        padding-bottom: 11px !important;
    }
    .nova-public .footer-main_item.fm-pages[open] > .nav-link {
        display: flex !important;
        padding: 7px 18px !important;
    }
    .nova-public .about3-hero,
    .nova-public .about3-benefits,
    .nova-public .about3-platform {
        padding: 3rem 0;
    }
    .nova-public .about3-cta {
        padding: 0 0 3rem;
    }
}

/* v30 final overrides */
.nova-public .about3-benefit-grid {
    gap: clamp(1rem, 2vw, 1.35rem);
}
.nova-public .about3-benefit-grid article {
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding: 0 !important;
    overflow: hidden;
    border-color: rgba(112, 156, 211, .26);
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(18, 38, 61, .96), rgba(8, 20, 35, .98));
    box-shadow: 0 20px 45px rgba(0, 0, 0, .2);
}
.nova-public .about3-benefit-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-bottom: 1px solid rgba(112, 156, 211, .2);
    background: #050d1a;
}
.nova-public .about3-benefit-visual::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(180deg, transparent 62%, rgba(8, 20, 35, .72));
}
.nova-public .about3-benefit-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease;
}
.nova-public .about3-benefit-grid article:hover .about3-benefit-visual img {
    transform: scale(1.025);
}
.nova-public .about3-benefit-copy {
    display: flex;
    min-height: 7.8rem;
    align-items: flex-start;
    padding: 1.25rem 1.3rem 1.4rem;
}
.nova-public .about3-benefit-copy p {
    width: 100%;
    margin: 0;
    color: #aebdd0;
    font-size: .96rem;
    line-height: 1.55;
    text-align: left;
    word-spacing: normal;
}
.nova-public .about3-benefit-copy p span {
    display: block;
    margin-bottom: .35rem;
    color: #f5f9ff;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
}

@media (min-width: 768px) {
    body.nova-client .dataTables_wrapper > .row:first-child {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: clamp(1rem, 2.5vw, 2.25rem) !important;
        padding: 12px 18px !important;
        border-bottom: 0 !important;
        background: transparent !important;
    }
    body.nova-client .dataTables_wrapper > .row:first-child > [class*="col-"] {
        width: auto !important;
        max-width: none !important;
        flex: 0 0 auto !important;
        padding: 0 !important;
    }
    body.nova-client .dataTables_length,
    body.nova-client .dataTables_filter {
        float: none !important;
        width: auto !important;
        margin: 0 !important;
        text-align: left !important;
    }
    body.nova-client .dataTables_length label,
    body.nova-client .dataTables_filter label {
        display: inline-flex !important;
        width: auto !important;
        align-items: center !important;
        gap: .65rem !important;
        margin: 0 !important;
        white-space: nowrap !important;
    }
    body.nova-client .dataTables_length select {
        min-width: 72px;
        margin: 0 !important;
    }
    body.nova-client .dataTables_filter input {
        width: clamp(170px, 18vw, 240px) !important;
        margin: 0 !important;
    }
}

@media (max-width: 991.98px) {
    .nova-public .about3-benefit-copy {
        min-height: 6.8rem;
    }
}

@media (max-width: 767.98px) {
    .nova-public .about3-benefit-grid {
        gap: 1rem;
    }
    .nova-public .about3-benefit-grid article {
        border-radius: 16px;
    }
    .nova-public .about3-benefit-visual {
        aspect-ratio: 16 / 10;
    }
    .nova-public .about3-benefit-copy {
        min-height: 0;
        padding: 1.1rem 1.15rem 1.25rem;
    }
}
/* Nova investment hub v31 */
.nova-public .nova-invest-page {
  --nova-invest-bg: #06111f;
  --nova-invest-panel: #0b1b2e;
  --nova-invest-panel-2: #10243a;
  --nova-invest-border: #1c3855;
  --nova-invest-text: #f4f8ff;
  --nova-invest-muted: #90a9c4;
  --nova-invest-blue: #67a5ff;
  --nova-invest-cyan: #54d7cf;
  --nova-invest-gold: #dfbd6b;
  color: var(--nova-invest-text);
  background: var(--nova-invest-bg);
  overflow: hidden;
}
.nova-public .nova-invest-page * {
  box-sizing: border-box;
}
.nova-public .nova-invest-page article {
  position: relative;
  inset: auto;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: auto;
  max-width: none;
  transform: none;
}
.nova-public .nova-invest-page .container {
  width: min(1180px, calc(100% - 40px));
  max-width: 1180px;
  padding: 0;
  margin: 0 auto;
}
.nova-public .nova-invest-hero {
  position: relative;
  padding: 28px 0 92px;
  border-bottom: 1px solid rgba(98, 137, 178, .18);
  background:
    radial-gradient(circle at 82% 44%, rgba(68, 115, 204, .2), transparent 30%),
    linear-gradient(145deg, #06111f 0%, #091729 68%, #0a1c2e 100%);
}
.nova-public .nova-invest-tabs {
  display: flex;
  width: fit-content;
  max-width: 100%;
  gap: 7px;
  padding: 6px;
  margin: 0 0 64px;
  border: 1px solid var(--nova-invest-border);
  border-radius: 14px;
  background: rgba(5, 16, 29, .8);
}
.nova-public .nova-invest-tabs a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #9eb3ca;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: .2s ease;
}
.nova-public .nova-invest-tabs a:hover {
  color: #fff;
  background: #0e2238;
}
.nova-public .nova-invest-tabs a.active {
  color: #fff;
  border-color: #3978be;
  background: linear-gradient(135deg, #315f9c, #3488a9);
  box-shadow: 0 10px 28px rgba(31, 101, 169, .22);
}
.nova-public .nova-invest-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .82fr);
  gap: 86px;
  align-items: center;
}
.nova-public .nova-invest-eyebrow {
  display: block;
  margin-bottom: 19px;
  color: var(--nova-invest-gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .15em;
}
.nova-public .nova-invest-hero h1 {
  max-width: 680px;
  margin: 0;
  color: #f7f9fd;
  font-size: clamp(48px, 5.2vw, 76px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.055em;
}
.nova-public .nova-invest-hero h1 span {
  color: #7fb5ff;
}
.nova-public .nova-invest-hero-grid > div:first-child > p {
  max-width: 620px;
  margin: 28px 0 0;
  color: #a9bfd5;
  font-size: 18px;
  line-height: 1.7;
}
.nova-public .nova-invest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 35px;
}
.nova-public .nova-invest-actions a,
.nova-public .nova-invest-cta a {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid #294664;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.nova-public .nova-invest-actions a:hover,
.nova-public .nova-invest-cta a:hover {
  transform: translateY(-2px);
}
.nova-public .nova-invest-primary,
.nova-public .nova-invest-cta a {
  border-color: transparent !important;
  color: #06111f !important;
  background: linear-gradient(110deg, #68a6ff, #54d7cf);
  box-shadow: 0 12px 28px rgba(55, 164, 204, .2);
}
.nova-public .nova-invest-secondary {
  background: #0c1a2b;
}
.nova-public .nova-invest-secondary:hover {
  border-color: #4e82b8 !important;
  color: #fff;
}
.nova-public .nova-invest-dashboard,
.nova-public .nova-price-visual {
  position: relative;
  min-height: 385px;
  padding: 28px;
  border: 1px solid #244564;
  border-radius: 25px;
  background: rgba(12, 30, 50, .92);
  box-shadow: 0 32px 60px rgba(0, 0, 0, .25);
  overflow: hidden;
}
.nova-public .nova-invest-dashboard::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(80, 164, 255, .1), transparent 42%);
  content: "";
}
.nova-public .nova-invest-dashboard-head {
  position: relative;
  display: flex;
  gap: 7px;
  height: 25px;
}
.nova-public .nova-invest-dashboard-head span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #42627e;
}
.nova-public .nova-invest-dashboard-head span:first-child { background: #54d7cf; }
.nova-public .nova-invest-dashboard-chart {
  position: relative;
  display: flex;
  height: 190px;
  align-items: flex-end;
  gap: 14px;
  padding: 16px 10px 24px;
  margin-bottom: 8px;
  border-bottom: 1px solid #26425e;
}
.nova-public .nova-invest-dashboard-chart::after {
  position: absolute;
  right: 0;
  bottom: 44px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #57c9d0 20%, #6e9dff 55%, #54d7cf);
  box-shadow: 0 0 18px #54d7cf;
  content: "";
  transform: skewY(-9deg);
  transform-origin: right;
}
.nova-public .nova-invest-dashboard-chart i {
  flex: 1;
  min-width: 10px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(#5f9dff, #1b607e);
  opacity: .78;
}
.nova-public .nova-invest-dashboard-chart i:nth-child(1) { height: 34%; }
.nova-public .nova-invest-dashboard-chart i:nth-child(2) { height: 58%; }
.nova-public .nova-invest-dashboard-chart i:nth-child(3) { height: 45%; }
.nova-public .nova-invest-dashboard-chart i:nth-child(4) { height: 72%; }
.nova-public .nova-invest-dashboard-chart i:nth-child(5) { height: 66%; }
.nova-public .nova-invest-dashboard-chart i:nth-child(6) { height: 88%; }
.nova-public .nova-invest-dashboard-chart i:nth-child(7) { height: 74%; }
.nova-public .nova-invest-dashboard-chart i:nth-child(8) { height: 96%; }
.nova-public .nova-invest-dashboard-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
  padding: 14px 5px;
  border-bottom: 1px solid rgba(52, 82, 111, .48);
  color: #c8d8e8;
  font-size: 14px;
}
.nova-public .nova-invest-dashboard-row strong { color: #fff; font-size: 17px; }
.nova-public .nova-invest-dashboard-row em { color: #42d79b; font-style: normal; font-weight: 800; }
.nova-public .nova-invest-section {
  padding: 92px 0;
  background: #071321;
}
.nova-public .nova-invest-section-muted {
  background: #091725;
  border-top: 1px solid rgba(91, 127, 165, .13);
}
.nova-public .nova-invest-heading {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 44px;
}
.nova-public .nova-invest-heading > span {
  color: var(--nova-invest-gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  padding-top: 8px;
}
.nova-public .nova-invest-heading h2 {
  margin: 0;
  color: #f5f8fc;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.035em;
}
.nova-public .nova-invest-heading p {
  max-width: 720px;
  margin: 15px 0 0;
  color: var(--nova-invest-muted);
  font-size: 17px;
  line-height: 1.6;
}
.nova-public .nova-invest-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.nova-public .nova-invest-card {
  min-height: 278px;
  padding: 29px;
  border: 1px solid var(--nova-invest-border);
  border-radius: 18px;
  background: linear-gradient(145deg, #10233a, #0a192a);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}
.nova-public .nova-invest-card-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 37px;
  border: 1px solid #366692;
  border-radius: 13px;
  color: #83b7ff;
  background: #143554;
  font-size: 12px;
  font-weight: 800;
}
.nova-public .nova-invest-card h3,
.nova-public .nova-invest-tool-grid h3,
.nova-public .nova-price-flow h3 {
  margin: 0 0 12px;
  color: #f6f9fd;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
}
.nova-public .nova-invest-card p,
.nova-public .nova-invest-tool-grid p,
.nova-public .nova-price-flow p {
  margin: 0;
  color: #91abc5;
  font-size: 15px;
  line-height: 1.65;
}
.nova-public .nova-invest-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.nova-public .nova-invest-tool-grid article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  min-height: 150px;
  padding: 26px;
  border: 1px solid var(--nova-invest-border);
  border-radius: 16px;
  background: #0b1c2f;
}
.nova-public .nova-invest-tool-grid article > span {
  color: #68a6ff;
  font-size: 13px;
  font-weight: 800;
  padding-top: 4px;
}
.nova-public .nova-invest-risk,
.nova-public .nova-invest-note {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px;
  margin-top: 22px;
  border: 1px solid #5e512f;
  border-radius: 16px;
  background: rgba(117, 88, 31, .12);
}
.nova-public .nova-invest-risk > div:first-child {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #f1cb73;
  background: #4c3c20;
  font-weight: 900;
}
.nova-public .nova-invest-risk h3,
.nova-public .nova-invest-note strong {
  margin: 0 0 5px;
  color: #f5d98e;
  font-size: 16px;
  font-weight: 800;
}
.nova-public .nova-invest-risk p,
.nova-public .nova-invest-note p {
  margin: 0;
  color: #bdb595;
  font-size: 14px;
  line-height: 1.6;
}
.nova-public .nova-price-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.nova-public .nova-price-visual::before {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84, 215, 207, .2), transparent 70%);
  content: "";
}
.nova-public .nova-price-orbit {
  position: absolute;
  border: 1px solid rgba(100, 165, 255, .28);
  border-radius: 50%;
}
.nova-public .nova-price-orbit-one { width: 285px; height: 285px; }
.nova-public .nova-price-orbit-two { width: 205px; height: 205px; }
.nova-public .nova-price-terminal {
  z-index: 2;
  display: grid;
  width: 238px;
  padding: 24px;
  border: 1px solid #35729c;
  border-radius: 18px;
  background: rgba(7, 22, 36, .95);
  box-shadow: 0 22px 45px rgba(0, 0, 0, .34);
}
.nova-public .nova-price-terminal span { color: #90aac4; font-size: 13px; }
.nova-public .nova-price-terminal strong { margin: 8px 0; color: #fff; font-size: 28px; }
.nova-public .nova-price-terminal small { color: #44db9d; font-size: 14px; font-weight: 800; }
.nova-public .nova-price-pulse {
  position: absolute;
  width: 12px;
  height: 12px;
  margin: -280px -260px 0 0;
  border-radius: 50%;
  background: #54d7cf;
  box-shadow: 0 0 0 10px rgba(84, 215, 207, .1), 0 0 22px #54d7cf;
}
.nova-public .nova-price-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--nova-invest-border);
  border-radius: 18px;
  background: #0b1b2d;
  overflow: hidden;
}
.nova-public .nova-price-flow article {
  min-height: 220px;
  padding: 27px;
  border-right: 1px solid var(--nova-invest-border);
}
.nova-public .nova-price-flow article:last-child { border-right: 0; }
.nova-public .nova-price-flow b {
  display: block;
  margin-bottom: 43px;
  color: #67a5ff;
  font-size: 13px;
  letter-spacing: .1em;
}
.nova-public .nova-invest-note {
  grid-template-columns: auto 1fr;
}
.nova-public .nova-calendar-hero .nova-invest-hero-grid {
  align-items: end;
}
.nova-public .nova-calendar-summary {
  padding: 10px 0;
  border-top: 1px solid #25415e;
}
.nova-public .nova-calendar-summary > div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #25415e;
}
.nova-public .nova-calendar-summary span {
  color: #65a5ff;
  font-size: 12px;
  font-weight: 800;
}
.nova-public .nova-calendar-summary p {
  margin: 0;
  color: #b5c8da;
  font-size: 15px;
  line-height: 1.5;
}
.nova-public .nova-calendar-section {
  padding-top: 68px;
}
.nova-public .nova-calendar-shell {
  border: 1px solid #24445f;
  border-radius: 20px;
  background: #081624;
  box-shadow: 0 28px 60px rgba(0, 0, 0, .18);
  overflow: hidden;
}
.nova-public .nova-calendar-shell > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 28px;
  border-bottom: 1px solid #203b55;
  background: #0d2034;
}
.nova-public .nova-calendar-shell > header > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nova-public .nova-calendar-shell h2 {
  margin: 0;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}
.nova-public .nova-calendar-shell header p {
  margin: 0;
  color: #7f9ab5;
  font-size: 13px;
}
.nova-public .nova-calendar-live {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #42d89b;
  box-shadow: 0 0 0 6px rgba(66, 216, 155, .1);
}
.nova-public .nova-calendar-widget {
  height: 920px;
  padding: 14px;
}
.nova-public .nova-calendar-widget .tradingview-widget-container,
.nova-public .nova-calendar-widget .tradingview-widget-container__widget {
  width: 100%;
  height: 100%;
}
.nova-public .nova-calendar-shell > footer {
  padding: 18px 28px;
  border-top: 1px solid #203b55;
  color: #7892ac;
  background: #0a1b2c;
  font-size: 13px;
  line-height: 1.5;
}
.nova-public .nova-invest-cta {
  padding: 58px 0;
  border-top: 1px solid #1b334b;
  background: #0c1b2b;
}
.nova-public .nova-invest-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.nova-public .nova-invest-cta h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 31px;
  font-weight: 800;
}
.nova-public .nova-invest-cta p {
  margin: 0;
  color: #8fa8c1;
  font-size: 15px;
}
.nova-public .nova-invest-cta a {
  flex: 0 0 auto;
}

@media (max-width: 991.98px) {
  .nova-public .nova-invest-hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .nova-public .nova-invest-dashboard,
  .nova-public .nova-price-visual {
    min-height: 360px;
  }
  .nova-public .nova-invest-card-grid {
    grid-template-columns: 1fr;
  }
  .nova-public .nova-invest-card {
    min-height: 0;
  }
  .nova-public .nova-invest-tool-grid {
    grid-template-columns: 1fr;
  }
  .nova-public .nova-price-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nova-public .nova-price-flow article:nth-child(2) { border-right: 0; }
  .nova-public .nova-price-flow article:nth-child(-n+2) { border-bottom: 1px solid var(--nova-invest-border); }
}

@media (max-width: 575.98px) {
  .nova-public .nova-invest-page .container {
    width: min(100% - 24px, 1180px);
  }
  .nova-public .nova-invest-hero {
    padding: 14px 0 58px;
  }
  .nova-public .nova-invest-tabs {
    display: grid;
    width: 100%;
    margin-bottom: 43px;
  }
  .nova-public .nova-invest-tabs a {
    width: 100%;
    min-height: 40px;
  }
  .nova-public .nova-invest-hero h1 {
    font-size: clamp(39px, 12vw, 54px);
  }
  .nova-public .nova-invest-hero-grid > div:first-child > p {
    margin-top: 20px;
    font-size: 16px;
  }
  .nova-public .nova-invest-actions {
    display: grid;
  }
  .nova-public .nova-invest-actions a {
    width: 100%;
  }
  .nova-public .nova-invest-dashboard,
  .nova-public .nova-price-visual {
    min-height: 320px;
    padding: 20px;
    border-radius: 18px;
  }
  .nova-public .nova-invest-dashboard-chart {
    gap: 8px;
  }
  .nova-public .nova-invest-dashboard-row {
    gap: 9px;
    font-size: 12px;
  }
  .nova-public .nova-invest-dashboard-row strong { font-size: 14px; }
  .nova-public .nova-invest-section {
    padding: 62px 0;
  }
  .nova-public .nova-invest-heading {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-bottom: 29px;
  }
  .nova-public .nova-invest-heading h2 {
    font-size: 31px;
  }
  .nova-public .nova-invest-heading p {
    font-size: 15px;
  }
  .nova-public .nova-invest-card {
    padding: 24px;
  }
  .nova-public .nova-invest-card-icon {
    margin-bottom: 26px;
  }
  .nova-public .nova-invest-tool-grid article {
    grid-template-columns: 38px 1fr;
    gap: 12px;
    padding: 21px;
  }
  .nova-public .nova-invest-risk {
    grid-template-columns: 1fr;
  }
  .nova-public .nova-price-flow {
    grid-template-columns: 1fr;
  }
  .nova-public .nova-price-flow article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--nova-invest-border);
  }
  .nova-public .nova-price-flow article:nth-child(3) { border-bottom: 1px solid var(--nova-invest-border); }
  .nova-public .nova-price-flow article:last-child { border-bottom: 0; }
  .nova-public .nova-price-flow b { margin-bottom: 23px; }
  .nova-public .nova-calendar-shell > header {
    display: block;
    padding: 20px;
  }
  .nova-public .nova-calendar-shell header p {
    margin-top: 10px;
  }
  .nova-public .nova-calendar-widget {
    height: 680px;
    padding: 6px;
  }
  .nova-public .nova-calendar-shell > footer {
    padding: 16px 20px;
  }
  .nova-public .nova-invest-cta .container {
    display: grid;
  }
  .nova-public .nova-invest-cta h2 { font-size: 27px; }
  .nova-public .nova-invest-cta a { width: 100%; }
}

/* V65: mobile profile alignment and vertical withdrawal navigation */
@media (max-width: 767.98px) {
  body.nova-client:not(.terminal-pro) .top-nav .cabinet-notifications {
    display: flex !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 42px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.nova-client:not(.terminal-pro) .top-nav .cabinet-notifications__button {
    display: inline-flex !important;
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  body.nova-client:not(.terminal-pro) .top-nav .cabinet-notifications__icon {
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px !important;
    margin: 0 !important;
  }

  body.nova-client[data-client-page="profile"] .profile-card-wrapper > .tabbable.boxed > .tabs-wrapper > li > a {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 32px !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 12px 10px 16px !important;
    text-align: left !important;
  }

  body.nova-client[data-client-page="profile"] .profile-card-wrapper > .tabbable.boxed > .tabs-wrapper > li > a > i {
    width: 32px !important;
    margin: 0 !important;
    justify-self: center !important;
    text-align: center !important;
  }

  body.nova-client[data-client-page="profile"] #set1 > .card-header {
    padding: 20px 16px !important;
    font-size: clamp(18px, 5vw, 22px) !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  body.nova-client[data-client-page="profile"] #set3 .payments-wrapper,
  body.nova-client[data-client-page="profile"] #set3 .pay-tabs_ul {
    display: grid !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 12px !important;
    overflow: visible !important;
  }

  body.nova-client[data-client-page="profile"] #set3 .payments-wrapper > li,
  body.nova-client[data-client-page="profile"] #set3 .pay-tabs_ul > li {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: none !important;
  }

  body.nova-client[data-client-page="profile"] #set3 .payments-wrapper > li > a,
  body.nova-client[data-client-page="profile"] #set3 .pay-tabs_ul > li > a {
    display: flex !important;
    width: 100% !important;
    min-height: 48px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    white-space: normal !important;
    text-align: center !important;
  }
}

/* V66 cascade guard: keep the compact profile navigation above older mobile rules */
@media (max-width: 767.98px) {
  html body.nova-client[data-client-page="profile"] .profile-card-wrapper > .tabbable.boxed > .tabs-wrapper > li > a {
    grid-template-columns: minmax(0, 1fr) 25px !important;
    gap: 10px !important;
    padding: 10px 9px 10px 12px !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
  }

  html body.nova-client[data-client-page="profile"] .profile-card-wrapper > .tabbable.boxed > .tabs-wrapper > li > a > i {
    width: 25px !important;
    margin: 0 !important;
    justify-self: end !important;
    font-size: 16px !important;
    text-align: center !important;
  }
}

/* V67: mobile history uses the same first-three-column layout as open deals */
.nova-client .history-label-mobile {
  display: none;
}

.nova-client .history-instrument {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.nova-client .history-instrument > img {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(68, 190, 235, .48));
}

.nova-client .history-instrument__status {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #22c96f;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.nova-client .history-instrument__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  html body.nova-client[data-client-page="history"] .client-history-page > .card > .card-body {
    padding: 10px !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) .dataTables_scroll,
  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) .dataTables_scrollHead,
  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) .dataTables_scrollHeadInner,
  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) .dataTables_scrollBody {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) .dataTables_scrollBody {
    overflow-x: hidden !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: fixed !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) thead,
  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) tbody {
    display: block !important;
    width: 100% !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) tr {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: minmax(0, 1.55fr) minmax(88px, .85fr) minmax(72px, .65fr) !important;
    align-items: center !important;
    opacity: 1 !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) th,
  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) td {
    display: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 12px 8px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) th:nth-child(7),
  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) td:nth-child(7) {
    display: block !important;
    grid-column: 1 !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) th:nth-child(8),
  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) td:nth-child(8) {
    display: block !important;
    grid-column: 2 !important;
    text-align: center !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) th:nth-child(2),
  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) td:nth-child(2) {
    display: block !important;
    grid-column: 3 !important;
    text-align: right !important;
  }

  html body.nova-client[data-client-page="history"] .history-label-desktop {
    display: none !important;
  }

  html body.nova-client[data-client-page="history"] .history-label-mobile {
    display: inline !important;
  }

  html body.nova-client[data-client-page="history"] .history-instrument {
    display: flex !important;
    width: 100% !important;
    gap: 6px !important;
  }

  html body.nova-client[data-client-page="history"] .history-instrument > img {
    width: 22px !important;
    height: 22px !important;
    flex-basis: 22px !important;
  }

  html body.nova-client[data-client-page="history"] .history-instrument__status {
    width: 17px !important;
    height: 17px !important;
    flex-basis: 17px !important;
    font-size: 12px !important;
  }

  html body.nova-client .dataTables_wrapper > .row:last-child {
    display: flex !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 14px 8px !important;
  }

  html body.nova-client .dataTables_wrapper > .row:last-child > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
  }

  html body.nova-client .dataTables_wrapper .dataTables_info {
    display: none !important;
  }

  html body.nova-client .dataTables_wrapper .dataTables_paginate,
  html body.nova-client .dataTables_wrapper .dataTables_paginate .pagination {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.nova-client .dataTables_wrapper .dataTables_paginate .page-item,
  html body.nova-client .dataTables_wrapper .dataTables_paginate .page-link {
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 3px 2px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.nova-client .dataTables_wrapper .dataTables_paginate .page-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #8ea5ba !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  html body.nova-client .dataTables_wrapper .dataTables_paginate .page-item.active .page-link {
    color: #fff !important;
    border: 0 !important;
    background: transparent !important;
    text-shadow: 0 0 10px rgba(74, 181, 238, .55);
  }

  html body.nova-client .dataTables_wrapper .dataTables_paginate .page-item.disabled .page-link {
    opacity: .35 !important;
  }
}

/* V68: final mobile DataTables row and pagination normalization */
@media (max-width: 767.98px) {
  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) .dataTables_scroll,
  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) .dataTables_scrollHead,
  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) .dataTables_scrollHeadInner,
  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) .dataTables_scrollBody {
    overflow: hidden !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) tr {
    grid-template-columns: minmax(0, 1.45fr) minmax(82px, .8fr) minmax(68px, .65fr) !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) th:nth-child(7),
  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) td:nth-child(7) {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) th:nth-child(8),
  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) td:nth-child(8) {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) th:nth-child(2),
  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) td:nth-child(2) {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) th {
    padding: 11px 6px !important;
    font-size: 10px !important;
    letter-spacing: .035em !important;
    text-overflow: clip !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) td {
    min-height: 58px !important;
    padding: 12px 6px !important;
    font-size: 13px !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) .history-instrument__name {
    font-size: 12px !important;
  }

  html body.nova-client[data-client-page] .dataTables_wrapper .dataTables_info,
  html body.nova-client[data-client-page="history"] #deals-table_wrapper .dataTables_info {
    display: none !important;
  }

  html body.nova-client[data-client-page] .dataTables_wrapper > .row:last-child,
  html body.nova-client[data-client-page="history"] #deals-table_wrapper > .row:last-child {
    display: flex !important;
    width: 100% !important;
    min-height: 48px !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 12px 8px !important;
    border-top: 1px solid rgba(104, 151, 185, .18) !important;
    background: transparent !important;
  }

  html body.nova-client[data-client-page] .dataTables_wrapper > .row:last-child > [class*="col-"],
  html body.nova-client[data-client-page="history"] #deals-table_wrapper > .row:last-child > [class*="col-"] {
    display: flex !important;
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.nova-client[data-client-page] .dataTables_wrapper .dataTables_paginate,
  html body.nova-client[data-client-page] .dataTables_wrapper .dataTables_paginate .pagination,
  html body.nova-client[data-client-page="history"] #deals-table_wrapper .dataTables_paginate,
  html body.nova-client[data-client-page="history"] #deals-table_wrapper .dataTables_paginate .pagination {
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 13px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.nova-client[data-client-page] .dataTables_wrapper .dataTables_paginate .page-item,
  html body.nova-client[data-client-page] .dataTables_wrapper .dataTables_paginate .page-link,
  html body.nova-client[data-client-page="history"] #deals-table_wrapper .dataTables_paginate .page-item,
  html body.nova-client[data-client-page="history"] #deals-table_wrapper .dataTables_paginate .page-link,
  html body.nova-client[data-client-page="history"] #deals-table_wrapper .dataTables_paginate .page-item.active .page-link {
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 2px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.nova-client[data-client-page] .dataTables_wrapper .dataTables_paginate .page-link,
  html body.nova-client[data-client-page="history"] #deals-table_wrapper .dataTables_paginate .page-link {
    color: #91a9bd !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
  }

  html body.nova-client[data-client-page] .dataTables_wrapper .dataTables_paginate .page-item.active .page-link,
  html body.nova-client[data-client-page="history"] #deals-table_wrapper .dataTables_paginate .page-item.active .page-link {
    color: #fff !important;
    background: transparent !important;
    text-shadow: 0 0 9px rgba(67, 197, 223, .55) !important;
  }
}

/* V69: two-column mobile history with native Responsive details */
@media (max-width: 767.98px) {
  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) tr:not(.child) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(96px, 31%) !important;
    grid-template-rows: auto !important;
    width: 100% !important;
    align-items: center !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) tr:not(.child) > th,
  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) tr:not(.child) > td {
    display: none !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) tr:not(.child) > th:nth-child(7),
  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) tr:not(.child) > td:nth-child(7) {
    display: block !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    overflow: hidden !important;
    padding: 12px 8px !important;
    text-align: left !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) tr:not(.child) > th:nth-child(2),
  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) tr:not(.child) > td:nth-child(2) {
    display: block !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    overflow: hidden !important;
    padding: 12px 8px !important;
    text-align: right !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) thead tr:not(.child) > th:nth-child(7),
  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) thead tr:not(.child) > th:nth-child(2) {
    font-size: 10px !important;
    letter-spacing: .035em !important;
    line-height: 1.2 !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) tbody tr:not(.child) > td:nth-child(7),
  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) tbody tr:not(.child) > td:nth-child(2) {
    min-height: 58px !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control::before {
    display: none !important;
  }

  html body.nova-client[data-client-page="history"] .history-instrument__status {
    cursor: pointer !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper tr.child {
    display: table-row !important;
    width: 100% !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper tr.child > td.child {
    display: table-cell !important;
    width: 100% !important;
    max-width: none !important;
    padding: 8px 10px 14px !important;
    white-space: normal !important;
    background: rgba(5, 21, 34, .72) !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper tr.child ul.dtr-details {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper tr.child ul.dtr-details > li {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 12px !important;
    align-items: center !important;
    padding: 9px 2px !important;
    border-bottom: 1px solid rgba(104, 151, 185, .16) !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper tr.child .dtr-title {
    min-width: 0 !important;
    color: #86a5bd !important;
    font-size: 12px !important;
    font-weight: 600 !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper tr.child .dtr-data {
    color: #eef7ff !important;
    font-size: 12px !important;
    text-align: right !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper .dataTables_paginate .page-item.active {
    margin-right: 18px !important;
    margin-left: 18px !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper .dataTables_paginate .pagination {
    gap: 0 !important;
  }
}

/* V70: compact notification badge and three-column mobile deal history */
.history-close-date-label-mobile,
.history-close-date-mobile {
  display: none;
}

@media (max-width: 767.98px) {
  html body.nova-client .cabinet-notifications__badge,
  html body.nova-client .trading-header .cabinet-notifications__badge {
    top: 1px !important;
    right: 2px !important;
    width: auto !important;
    min-width: 8px !important;
    height: 8px !important;
    padding: 0 1px !important;
    border: 1px solid #071522 !important;
    font-size: 5px !important;
    line-height: 6px !important;
    font-weight: 800 !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) tr:not(.child) {
    grid-template-columns: minmax(0, 1fr) minmax(68px, 23%) minmax(66px, 23%) !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) tr:not(.child) > th:nth-child(10),
  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) tr:not(.child) > td:nth-child(10) {
    display: block !important;
    grid-column: 3 !important;
    grid-row: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    overflow: hidden !important;
    padding: 12px 6px !important;
    text-align: right !important;
    white-space: nowrap !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) tr:not(.child) > th:nth-child(7),
  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) tr:not(.child) > td:nth-child(7) {
    padding-right: 5px !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) tr:not(.child) > th:nth-child(2),
  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) tr:not(.child) > td:nth-child(2) {
    padding-right: 5px !important;
    padding-left: 5px !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) thead tr:not(.child) > th:nth-child(10) {
    font-size: 9px !important;
    letter-spacing: .02em !important;
    line-height: 1.2 !important;
  }

  html body.nova-client[data-client-page="history"] #deals-table_wrapper:not(:has(.dataTables_empty)) tbody tr:not(.child) > td:nth-child(10) {
    min-height: 58px !important;
    color: #91aabd !important;
    font-size: 11px !important;
  }

  html body.nova-client[data-client-page="history"] .history-close-date-label-desktop,
  html body.nova-client[data-client-page="history"] .history-close-date-desktop {
    display: none !important;
  }

  html body.nova-client[data-client-page="history"] .history-close-date-label-mobile,
  html body.nova-client[data-client-page="history"] .history-close-date-mobile {
    display: inline !important;
  }

  html body.nova-client[data-client-page="history"] .history-instrument__name {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}
