/*
 * Investitional Portfolio V4
 * Layout comun pentru paginile protejate de portofoliu.
 *
 * Stare: draft verificabil, neconectat la site.
 * Activarea se face numai prin investitional-portfolio-v4.js.
 */

body.inv-v4-page {
    background: #080909 !important;
}

body.inv-v4-page #sp-main-body {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    background: #080909 !important;
}

body.inv-v4-page #sp-main-body > .container,
body.inv-v4-page #sp-main-body .container-inner {
    width: 100% !important;
    max-width: 1480px !important;
}

body.inv-v4-page #sp-component,
body.inv-v4-page .article-details,
body.inv-v4-page [itemprop="articleBody"] {
    width: 100% !important;
    max-width: none !important;
}

body.inv-v4-page .article-details {
    padding: 0 !important;
    background: transparent !important;
}

.inv-v4-source-hidden {
    display: none !important;
}

.inv-v4,
.inv-v4 * {
    box-sizing: border-box;
}

.inv-v4 {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 10px;
    padding-bottom: 48px;
    color: #f2eee4;
    background: #080909;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.inv-v4 button,
.inv-v4 a {
    font: inherit;
}

.inv-v4__layout {
    display: grid;
    grid-template-columns: minmax(0, 67fr) minmax(380px, 33fr);
    gap: 12px;
    align-items: start;
}

.inv-v4__main,
.inv-v4__side {
    min-width: 0;
}

.inv-v4__main {
    overflow: hidden;
    border: 1px solid #5a4c27;
    border-radius: 6px;
    background: #0a0b0b;
}

.inv-v4__hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 198px;
    padding: 27px 31px;
    overflow: hidden;
    border-bottom: 1px solid #332d20;
    background: #0a0b0b;
}

.inv-v4__hero::after {
    position: absolute;
    inset: -55% -4% -55% 38%;
    content: "";
    pointer-events: none;
    background: repeating-radial-gradient(
        ellipse at center,
        transparent 0 13px,
        rgba(212, 175, 55, 0.055) 14px 15px
    );
    transform: rotate(-7deg);
}

.inv-v4__hero-copy {
    position: relative;
    z-index: 2;
    width: 57%;
}

.inv-v4__kicker {
    display: block;
    margin-bottom: 10px;
    color: #d4af37;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.11em;
}

.inv-v4__hero h1 {
    margin: 0;
    color: #f7f2e7;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.015em;
}

body.inv-v4-page .inv-v4__hero p {
    max-width: 590px;
    margin: 15px 0 0;
    color: #d2cec5 !important;
    font-size: 14.4px;
    line-height: 1.6;
}

.inv-v4__bull {
    position: absolute;
    right: 55px;
    bottom: -22px;
    z-index: 1;
    width: 415px;
    height: 293px;
    object-fit: contain;
    opacity: 0.42;
    pointer-events: none;
    filter: saturate(0.88) contrast(1.08);
    mix-blend-mode: screen;
}

.inv-v4__updated {
    position: absolute;
    right: 20px;
    bottom: 34px;
    z-index: 2;
    width: 142px;
    padding-left: 12px;
    border-left: 1px solid #6d5b2b;
}

.inv-v4__updated span,
.inv-v4__updated strong {
    display: block;
}

.inv-v4__updated span {
    margin-bottom: 6px;
    color: #d4af37;
    font-size: 10px;
}

.inv-v4__updated strong {
    color: #f5f1e7;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
}

.inv-v4__kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    padding: 9px;
    background: #080909;
}

.inv-v4__kpi {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-height: 102px;
    padding: 16px 18px;
    border: 1px solid #303332;
    border-radius: 5px;
    background: #111313;
}

.inv-v4__kpi-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #d4af37;
}

.inv-v4__kpi-icon svg {
    width: 42px;
    height: 42px;
    color: #d4af37 !important;
    fill: none !important;
    stroke: #d4af37 !important;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.inv-v4__kpi span,
.inv-v4__kpi strong,
.inv-v4__kpi small {
    display: block;
}

.inv-v4__kpi-label {
    color: #a7a69f;
    font-size: 9px;
    letter-spacing: 0.04em;
}

.inv-v4__kpi strong {
    margin: 7px 0 4px;
    color: #f5f1e7;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
}

.inv-v4__kpi strong.is-positive {
    color: #58b76d;
}

.inv-v4__kpi strong.is-negative {
    color: #ec7474;
}

.inv-v4__kpi small {
    color: #7d807a;
    font-size: 9px;
}

.inv-v4__table-wrap {
    margin: 0 9px 9px;
    overflow: hidden;
    border: 1px solid #2f3231;
    border-radius: 5px;
    background: #0e1010;
}

.inv-v4__tabs {
    display: flex;
    align-items: center;
    gap: 42px;
    height: 50px;
    padding: 0 18px;
    border-bottom: 1px solid #292c2b;
}

.inv-v4__tab {
    display: flex;
    align-items: center;
    position: relative;
    height: 50px;
    padding: 0;
    border: 0;
    color: #898b86 !important;
    background: transparent;
    font-size: 9px;
    text-decoration: none !important;
    white-space: nowrap;
}

.inv-v4__tab.is-active,
.inv-v4__tab:hover,
.inv-v4__tab:focus-visible {
    color: #d4af37 !important;
}

.inv-v4__tab.is-active::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    content: "";
    background: #d4af37;
}

.inv-v4__table-scroll {
    width: 100%;
    overflow-x: auto;
}

.inv-v4__table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 9px;
}

.inv-v4__table th {
    height: 42px;
    padding: 7px 8px;
    border-bottom: 1px solid #342f22;
    color: #d4af37;
    background: #111313;
    font-size: 12px;
    font-weight: 500;
    text-align: right;
    white-space: nowrap;
}

.inv-v4__table th:first-child {
    width: 30%;
    padding-left: 18px;
    text-align: left;
}

.inv-v4__table th:nth-child(2) {
    width: 9%;
    text-align: left;
}

.inv-v4__table th:nth-child(3),
.inv-v4__table th:nth-child(4) {
    width: 13%;
}

.inv-v4__table th:nth-child(5),
.inv-v4__table th:nth-child(6) {
    width: 12%;
}

.inv-v4__table th:nth-child(7) {
    width: 11%;
}

.inv-v4__table td {
    height: 52px;
    padding: 8px;
    border-bottom: 1px solid #252827;
    color: #d4d3cc;
    font-size: 9.8px;
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}

.inv-v4__table td:first-child {
    position: relative;
    padding-left: 18px;
    color: #efede6;
    text-align: left;
    white-space: normal;
}

.inv-v4__table td:nth-child(2) {
    color: #a1a39e;
    font-size: 10.7px;
    text-align: left;
}

.inv-v4__table td:nth-child(3),
.inv-v4__table td:nth-child(4),
.inv-v4__table td:nth-child(5) {
    font-size: 10.9px;
}

.inv-v4__company {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    color: #faf7ef;
    font-size: 11px !important;
    font-weight: 500;
    letter-spacing: 0.005em;
    white-space: nowrap;
    vertical-align: middle;
}

body.inv-v4-page .inv-v4__company > span:last-child {
    min-width: 0;
    overflow: hidden;
    font-size: 12.2px !important;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.inv-v4__logo {
    position: relative;
    display: inline-grid;
    flex: 0 0 25px;
    place-items: center;
    width: 25px;
    height: 25px;
    overflow: hidden;
    border: 1px solid #333634;
    border-radius: 50%;
    background: #f2f1ec;
}

.inv-v4__logo img {
    position: relative;
    z-index: 2;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    object-fit: contain;
    opacity: 0;
}

.inv-v4__logo.is-loaded img {
    opacity: 1;
}

.inv-v4__logo b {
    position: absolute;
    z-index: 1;
    color: #8d741f;
    font-size: 7px;
    font-weight: 700;
}

.inv-v4__logo.is-fallback img {
    display: none;
}

.inv-v4__new-label {
    display: inline-block;
    margin-right: 8px;
    padding: 2px 5px;
    border: 1px solid #806b28;
    border-radius: 4px;
    color: #d4af37;
    font-size: 7px;
    vertical-align: 1px;
}

body.inv-v4-page .inv-v4__change {
    display: inline-flex;
    justify-content: center;
    min-width: 66px;
    padding: 5px 7px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 11.5px !important;
    font-weight: 500;
    line-height: 1.2 !important;
}

.inv-v4__change.is-positive {
    border-color: rgba(82, 168, 103, 0.16);
    color: #68c17f;
    background: rgba(24, 74, 53, 0.52);
}

.inv-v4__change.is-negative {
    border-color: rgba(215, 90, 90, 0.14);
    color: #ec7474;
    background: rgba(112, 34, 34, 0.44);
}

.inv-v4__change.is-neutral {
    border-color: rgba(138, 142, 138, 0.18);
    color: #aeb0ab;
    background: rgba(79, 82, 80, 0.32);
}

body.inv-v4-page .inv-v4__status {
    display: inline-flex;
    justify-content: center;
    min-width: 46px;
    padding: 3px 5px;
    border: 1px solid #3a3d3b;
    border-radius: 4px;
    color: #858883;
    font-size: 10.5px !important;
    line-height: 1.2 !important;
}

.inv-v4__status.is-new {
    border-color: #7d6828;
    color: #d4af37;
}

.inv-v4__status.is-closed {
    border-color: rgba(215, 90, 90, 0.34);
    color: #ec7474;
}

.inv-v4__table tbody tr:nth-child(n + 13) {
    display: none;
}

.inv-v4__table-wrap.is-expanded tbody tr {
    display: table-row;
}

.inv-v4__tab-panel.is-expanded tbody tr {
    display: table-row;
}

.inv-v4__table-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 35px;
    padding: 0;
    border: 0;
    color: #d4af37;
    background: transparent;
    cursor: pointer;
    font-size: 8px;
}

.inv-v4__table-foot span {
    margin-left: 8px;
    font-size: 13px;
}

.inv-v4__table-foot[hidden] {
    display: none;
}

.inv-v4__tab-panel[hidden] {
    display: none;
}

.inv-v4__empty-panel {
    display: grid;
    place-items: center;
    min-height: 360px;
    padding: 42px 24px;
    text-align: center;
}

.inv-v4__empty-panel h2 {
    margin: 0 0 12px;
    color: #d4af37;
    font-size: 13px;
}

body.inv-v4-page .inv-v4__empty-panel p {
    max-width: 440px;
    margin: 0;
    color: #b8b8b1 !important;
    font-size: 13px;
    line-height: 1.6;
}

.inv-v4__bottom-zone {
    display: grid;
    grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
    gap: 10px;
    min-height: 300px;
    margin: 0 9px 9px;
    padding-top: 10px;
    border-top: 1px solid #302b1f;
}

.inv-v4__disclaimer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding: 16px;
    border: 1px solid #313433;
    border-radius: 6px;
    color: #b8b9b3;
    background: #101212;
}

.inv-v4__disclaimer h2 {
    margin: 0;
    color: #d4af37;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.025em;
}

body.inv-v4-page .inv-v4__disclaimer p {
    margin: 0;
    color: #b8b9b3 !important;
    font-size: 13px;
    line-height: 1.45;
}

body.inv-v4-page .inv-v4__disclaimer p.inv-v4__disclaimer-warning {
    color: #d0cfc8 !important;
    font-weight: 500;
}

.inv-v4__ranking-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px;
    border: 1px solid #313433;
    border-radius: 6px;
    background: #101212;
}

.inv-v4__ranking-card h2 {
    margin: 0 0 8px;
    color: #d4af37;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.025em;
}

body.inv-v4-page .inv-v4__ranking-card p {
    margin: 0 0 10px;
    color: #c0c0b9 !important;
    font-size: 11.2px;
    line-height: 1.5;
}

body.inv-v4-page .inv-v4__ranking-card p.inv-v4__ranking-intro {
    font-size: 12.3px;
}

.inv-v4__ranking-list {
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.inv-v4__ranking-list li,
.inv-v4__ranking-current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.inv-v4__ranking-list li {
    padding-bottom: 5px;
    border-bottom: 1px solid #282b2a;
}

body.inv-v4-page .inv-v4__ranking-card span {
    min-width: 0;
    overflow: hidden;
    color: #d0cfc8 !important;
    font-size: 10.6px !important;
    line-height: 1.4 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.inv-v4__ranking-card b {
    color: #d4af37;
    font-weight: 500;
}

.inv-v4__ranking-list strong,
.inv-v4__ranking-current strong {
    flex: 0 0 auto;
    color: #e5e1d7;
    font-size: 10.6px;
    font-weight: 500;
}

.inv-v4__ranking-list strong.is-positive {
    color: #68c17f;
}

.inv-v4__ranking-list strong.is-negative {
    color: #ec7474;
}

.inv-v4__ranking-current {
    margin-top: 9px;
    padding: 8px 9px;
    border: 1px solid #21452f;
    border-radius: 4px;
    background: rgba(24, 74, 53, 0.24);
}

body.inv-v4-page .inv-v4__ranking-current span,
.inv-v4__ranking-current b,
.inv-v4__ranking-current strong {
    color: #68c17f !important;
}

.inv-v4__ranking-note {
    display: block;
    margin-top: 8px;
    color: #777a75;
    font-size: 9.6px;
    line-height: 1.45;
}

.inv-v4__side {
    display: grid;
    gap: 10px;
}

.inv-v4__side-card {
    overflow: hidden;
    padding: 16px;
    border: 1px solid #313433;
    border-radius: 6px;
    background: #101212;
}

.inv-v4__card-head,
.inv-v4__section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.inv-v4__side-card h2 {
    margin: 0;
    color: #d4af37;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.025em;
}

.inv-v4__card-value {
    color: #f5f1e7;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 400;
}

.inv-v4__card-value.is-positive {
    color: #58b76d;
}

.inv-v4__card-value.is-negative {
    color: #ec7474;
}

.inv-v4__filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-top: 13px;
}

.inv-v4__filters button {
    min-height: 31px;
    padding: 5px 3px;
    border: 1px solid #303331;
    border-radius: 4px;
    color: #a0a19c;
    background: #171919;
    cursor: pointer;
    font-size: 8.5px;
}

.inv-v4__filters button.is-active {
    border-color: #735f26;
    color: #d4af37;
    background: #332a15;
}

.inv-v4__chart {
    position: relative;
    height: 342px;
    margin: 10px -5px 0;
    overflow: hidden;
    border-top: 1px solid #262928;
    border-bottom: 1px solid #262928;
    background:
        linear-gradient(180deg, rgba(212, 175, 55, 0.025), transparent 68%),
        #090b0b;
}

.inv-v4__chart svg {
    display: block;
    width: 100%;
    height: 100%;
}

.inv-v4__chart-grid {
    stroke: #292c2b;
    stroke-width: 1;
}

.inv-v4__chart-zero {
    stroke: rgba(212, 175, 55, 0.34);
    stroke-width: 1;
    stroke-dasharray: 5 5;
}

.inv-v4__chart-line {
    fill: none;
    stroke: #d4af37;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.inv-v4__chart-area {
    fill: url(#inv-v4-chart-gradient);
}

.inv-v4__chart-point {
    fill: #d4af37;
    stroke: rgba(212, 175, 55, 0.28);
    stroke-width: 8;
}

.inv-v4__chart-label {
    fill: #858883;
    font-size: 11.5px;
}

.inv-v4__chart-value {
    fill: #e8e4da;
    font-size: 12.5px;
    font-weight: 500;
}

.inv-v4__chart-empty {
    display: grid;
    place-items: center;
    height: 100%;
    padding: 30px;
    color: #858883;
    font-size: 11.5px;
    line-height: 1.6;
    text-align: center;
}

.inv-v4__chart-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
}

.inv-v4__chart-foot span {
    color: #8c8f89;
    font-size: 9px;
}

.inv-v4__chart-foot strong {
    color: #f5f1e7;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 400;
}

.inv-v4__section-head {
    padding-bottom: 11px;
    border-bottom: 1px solid #2a2d2c;
}

.inv-v4__section-head span {
    color: #858883;
    font-size: 8px;
}

.inv-v4__change-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

.inv-v4__recent-change {
    min-height: 82px;
    padding: 11px;
    border-left: 2px solid #d4af37;
    background: #0a0c0c;
}

.inv-v4__recent-change > span {
    display: block;
    margin-bottom: 9px;
    color: #59bc72;
    font-size: 8px;
}

.inv-v4__recent-change > div {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 7px;
}

.inv-v4__recent-change strong {
    font-size: 11px;
    font-weight: 500;
}

.inv-v4__recent-change small {
    color: #aaa9a2;
    font-size: 8px;
    text-align: right;
}

.inv-v4__recent-change small:last-child {
    grid-column: 1 / -1;
    text-align: left;
}

.inv-v4__recent-change.is-empty {
    border-left-color: #743434;
}

.inv-v4__recent-change.is-empty > span {
    color: #df6767;
}

.inv-v4__recent-change.is-removed {
    border-left-color: #a34444;
}

.inv-v4__recent-change.is-removed > span {
    color: #ec7474;
}

body.inv-v4-page .inv-v4__recent-change p {
    margin: 0;
    color: #b5b6b0 !important;
    font-size: 8px;
    line-height: 1.45;
}

.inv-v4__recent-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 38px;
    margin-top: 12px;
    border: 1px solid #735f26;
    color: #d4af37 !important;
    font-size: 8px;
    text-decoration: none !important;
}

body.inv-v4-page .inv-v4__about p {
    margin: 12px 0;
    color: #c0c0b9 !important;
    font-size: 9px;
    line-height: 1.65;
}

body.inv-v4-page .inv-v4__about > p:first-of-type {
    font-size: 14.4px;
}

.inv-v4__about button {
    padding: 0;
    border: 0;
    color: #d4af37;
    background: transparent;
    cursor: pointer;
    font-size: 9.5px;
}

.inv-v4__evolution h2,
.inv-v4__about h2 {
    font-size: 13px;
}

.inv-v4__methodology {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #292c2b;
}

body.inv-v4-page .inv-v4__methodology p {
    margin: 0;
    color: #c0c0b9 !important;
    font-size: 13px;
    line-height: 1.65;
}

.inv-v4__methodology[hidden] {
    display: none;
}

.inv-v4__resources {
    padding-bottom: 11px;
}

.inv-v4__resources nav {
    display: grid;
    margin-top: 10px;
}

.inv-v4__resource {
    display: grid;
    grid-template-columns: 22px 1fr 12px;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 4px 0;
    border: 0;
    border-bottom: 1px solid #252827;
    color: #aaa9a2 !important;
    background: transparent;
    cursor: pointer;
    font-size: 9px;
    text-align: left;
    text-decoration: none !important;
}

.inv-v4__resource:hover,
.inv-v4__resource:focus-visible {
    color: #f0ece2 !important;
}

.inv-v4__resource:last-child {
    border-bottom: 0;
}

.inv-v4__faq {
    margin-top: 10px;
    padding: 12px;
    border-top: 1px solid #292c2b;
    border-radius: 3px;
    background: #0b0d0d;
}

.inv-v4__faq[hidden] {
    display: none;
}

body.inv-v4-page .inv-v4__faq p {
    margin: 0;
    color: #b8b8b1 !important;
    font-size: 11px;
    line-height: 1.55;
}

.inv-v4 .inv-v4__return {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    margin-top: 16px;
    padding: 0 12px;
    border: 1px solid #735f26;
    border-radius: 3px;
    color: #d4af37 !important;
    background: #0b0d0d;
    cursor: pointer;
    font-size: 9px;
    line-height: 1.2;
}

.inv-v4 .inv-v4__return:hover,
.inv-v4 .inv-v4__return:focus-visible {
    border-color: #d4af37;
    color: #f1d36a !important;
}

.inv-v4__empty-panel .inv-v4__return {
    margin-right: auto;
    margin-left: auto;
}

.inv-v4__resource i {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    color: #d4af37 !important;
    font-style: normal;
}

.inv-v4__resource i svg {
    width: 21px;
    height: 21px;
    color: #d4af37 !important;
    fill: none !important;
    stroke: #d4af37 !important;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.inv-v4__resource b {
    color: #d4af37;
    font-size: 18px;
    font-weight: 400;
    text-align: right;
}

.inv-v4__position-summary {
    display: none;
}

@media (min-width: 1181px) {
    .inv-v4__layout {
        align-items: stretch;
    }

    .inv-v4__side {
        grid-template-rows: auto auto auto auto minmax(0, 1fr);
    }

    .inv-v4__position-summary {
        display: flex;
        min-height: 0;
    }
}

.inv-v4__position-summary {
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    padding: 20px;
    border-color: #5a4c27;
    background:
        radial-gradient(circle at 50% 28%, rgba(212, 175, 55, 0.07), transparent 38%),
        #101212;
}

.inv-v4__summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 13px;
    border-bottom: 1px solid #2a2d2c;
}

.inv-v4__summary-head span {
    color: #94968f;
    font-size: 9px;
}

.inv-v4__summary-overview {
    display: grid;
    grid-template-columns: 138px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
}

.inv-v4__summary-ring {
    display: grid;
    place-items: center;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: conic-gradient(
        #58b76d 0 var(--inv-positive-share),
        #c85858 var(--inv-positive-share) 100%
    );
}

.inv-v4__summary-ring::before {
    grid-area: 1 / 1;
    width: 96px;
    height: 96px;
    border: 1px solid #353837;
    border-radius: 50%;
    content: "";
    background: #0c0e0e;
}

.inv-v4__summary-ring > div {
    z-index: 1;
    grid-area: 1 / 1;
    text-align: center;
}

.inv-v4__summary-ring strong,
.inv-v4__summary-ring span {
    display: block;
}

.inv-v4__summary-ring strong {
    color: #f5f1e7;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;
}

.inv-v4__summary-ring span {
    margin-top: 3px;
    color: #a4a69f;
    font-size: 9px;
}

.inv-v4__summary-counts {
    display: grid;
    gap: 10px;
}

.inv-v4__summary-counts > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 9px;
    border-bottom: 1px solid #292c2b;
}

.inv-v4__summary-counts span {
    color: #a7a8a2;
    font-size: 9px;
}

.inv-v4__summary-counts strong {
    color: #f1ede3;
    font-size: 17px;
    font-weight: 500;
}

.inv-v4__summary-counts strong.is-positive,
.inv-v4__summary-extremes b.is-positive {
    color: #58b76d;
}

.inv-v4__summary-counts strong.is-negative,
.inv-v4__summary-extremes b.is-negative {
    color: #ec7474;
}

.inv-v4__summary-extremes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.inv-v4__summary-extremes > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 10px;
    padding: 13px;
    border: 1px solid #303332;
    border-radius: 4px;
    background: #0b0d0d;
}

.inv-v4__summary-extremes span {
    grid-column: 1 / -1;
    color: #969891;
    font-size: 8px;
}

.inv-v4__summary-extremes strong {
    color: #f3efe5;
    font-size: 12px;
    font-weight: 500;
}

.inv-v4__summary-extremes b {
    font-size: 11px;
    font-weight: 500;
}

.inv-v4__position-summary > small {
    display: block;
    color: #858883;
    font-size: 8px;
    line-height: 1.5;
}

@media (min-width: 1181px) {
    .inv-v4__summary-overview {
        display: block;
    }

    .inv-v4__summary-ring,
    .inv-v4__position-summary > small {
        display: none;
    }

    .inv-v4__summary-counts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .inv-v4__summary-counts > div {
        display: grid;
        justify-items: start;
        gap: 7px;
        padding: 10px;
        border: 1px solid #303332;
        border-radius: 4px;
        background: #0b0d0d;
    }

    .inv-v4__layout:has(.inv-v4__table-wrap.is-expanded) .inv-v4__side {
        grid-template-rows: auto auto auto auto auto;
        align-content: start;
    }

    .inv-v4__layout:has(.inv-v4__table-wrap.is-expanded) .inv-v4__position-summary {
        justify-content: flex-start;
    }

    .inv-v4__layout:has(.inv-v4__table-wrap.is-expanded) .inv-v4__summary-overview {
        display: grid;
    }

    .inv-v4__layout:has(.inv-v4__table-wrap.is-expanded) .inv-v4__summary-ring {
        display: grid;
    }

    .inv-v4__layout:has(.inv-v4__table-wrap.is-expanded) .inv-v4__summary-counts {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .inv-v4__layout:has(.inv-v4__table-wrap.is-expanded) .inv-v4__summary-counts > div {
        display: flex;
        justify-items: normal;
        gap: 12px;
        padding: 0 0 9px;
        border: 0;
        border-bottom: 1px solid #292c2b;
        border-radius: 0;
        background: transparent;
    }

    .inv-v4__layout:has(.inv-v4__table-wrap.is-expanded) .inv-v4__position-summary > small {
        display: block;
    }
}

@media (max-width: 1180px) {
    .inv-v4__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .inv-v4__side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .inv-v4__evolution {
        grid-row: span 2;
    }
}

@media (max-width: 760px) {
    body.inv-v4-page #sp-main-body {
        padding-top: 8px !important;
    }

    .inv-v4 {
        padding: 6px;
        padding-bottom: 30px;
    }

    .inv-v4__hero {
        min-height: 188px;
        padding: 24px 20px;
    }

    .inv-v4__hero-copy {
        width: 72%;
    }

    .inv-v4__hero h1 {
        font-size: 31px;
    }

    .inv-v4__bull {
        right: -65px;
        width: 330px;
        opacity: 0.3;
    }

    .inv-v4__updated {
        right: 14px;
        bottom: 18px;
        width: 130px;
    }

    .inv-v4__kpis,
    .inv-v4__side {
        grid-template-columns: minmax(0, 1fr);
    }

    .inv-v4__tabs {
        gap: 24px;
        overflow-x: auto;
    }

    .inv-v4__table {
        min-width: 880px;
    }

    .inv-v4__empty-panel {
        min-height: 240px;
        padding: 32px 18px;
    }

    .inv-v4__evolution {
        grid-row: auto;
    }

    .inv-v4__filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .inv-v4__change-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .inv-v4__bottom-zone {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }
}

