@import url("https://fonts.googleapis.com/css2?family=Rubik+Glitch&display=swap");
html .og_max-width p, html .og_max-width a {
    font-size: 20px;
}

a {
    color: #0FA6AB;
    text-decoration: underline;
}

.og_h1 {
    margin: 0;
}

.og_head {
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(/assets/img/profile/payment/bg.png);
}
.og_head p {
    font-family: "Rubik Glitch", sans-serif;
    font-size: 64px;
    font-weight: 400;
    line-height: 76px;
    letter-spacing: 0;
    color: #ffffff;
    text-transform: uppercase;
}

.og_max-width:not(:last-child) {
    margin-bottom: 70px;
}

.og_max-width > span, html h1 {
    font-weight: 600;
    font-size: 40px;
    line-height: 40px;
    color: #0FA6AB;
    display: block;
    margin: 70px 0 20px 0;
    text-align: center;
}

.dotable {
    font-size: 16px;
    margin: 10px;
}

.report_main a {
    color: #FF7C03;
    width: fit-content;
    display: block;
    margin: 10px auto 0;
}

.report_main .payment_billet {
    background-size: cover;
    margin: 0 auto 30px auto;
}

table {
    width: 100%;
    border-bottom: 1px solid #333333;
}
table.active tbody tr:nth-child(n+6) {
    display: table-row;
}
table thead tr {
    background: #0FA6AB;
    color: #ffffff;
}
table thead td {
    text-align: center;
    padding: 8px 5px;
}
table tbody tr:nth-child(even) {
    background-color: rgb(239, 239, 239);
}
table tbody tr:nth-child(n+6) {
    display: none;
}
table tbody tr td, table tfoot tr td {
    padding: 10px;
}

.report_income p {
    margin-top: 30px;
}

.report_section div {
    margin-bottom: 30px;
}
.report_section div p {
    font-size: 16px;
}
.report_section div p:first-child {
    margin-bottom: 5px;
}
.report_section div p:last-child {
    margin-top: 5px;
}
.report_section_summ {
    margin: 20px 0 50px 0 !important;
}
.report_section_hands table {
    margin-bottom: 20px;
}
.report_section_hands tfoot tr {
    background: rgba(89, 204, 208, 0.8);
    color: #ffffff;
}
.report_section_hands p:last-child {
    font-size: 20px;
}
.report_section .bir {
    margin-bottom: 70px;
}

.report_text > p {
    margin: 50px 0 15px 0;
    font-size: 16px;
}

.report_audio > p, .report_balance > p {
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .og_head p {
        font-size: 30px;
    }
}
@media (max-width: 820px) {
    .og_max-width.report_section {
        margin: 0 !important;
    }
    .og_max-width {
        margin: 0;
    }
    .report_main .payment_billet .white {
        width: auto;
        padding: 8px 13px 8px 16px !important;
        font-size: 16px;
    }
    .report_main .payment_billet p {
        font-size: 14px !important;
        margin-top: 20px;
    }
    .report_main p {
        margin: 0;
    }
    .og_max-width p, .og_max-width a {
        font-size: 16px;
    }
    .og_max-width > span, html h1 {
        font-size: 24px;
        margin: 0 0 0 0;
    }
    .og_max-width:not(:last-child) {
        margin-bottom: 35px;
    }
}
@media (max-width: 767px) {
    html .og_head {
        height: 80px;
    }
    html .og_head p {
        font-size: 25px;
        line-height: 30px;
    }
}
@media (max-width: 500px) {
    .house_table {
        overflow: auto;
    }
    table thead td, table tbody td {
        white-space: pre;
    }
    html body > div.og_head > div > p {
        font-size: 20px !important;
    }
    .payment_billet {
        flex-direction: column;
    }
    .payment_billet .left {
        text-align: center;
}

/* ---- Report page visual polish (overrides) ---- */
/* Keep text readable and reduce excessive vertical gaps */
.report_main,
.report_income,
.report_text,
.report_audio,
.report_balance,
.report_section {
    color: #1f2a2b;
}

/* Report page container: keep everything centered with side padding */
body:has(.report_main) .og_max-width,
html:has(.report_main) .og_max-width,
body:has(.report_main) header.og_header.og_max-width,
html:has(.report_main) header.og_header.og_max-width {
    max-width: 1296px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* Any block that contains a table wrapper should also be centered */
body:has(.report_main) .og_max-width:has(.house_table),
html:has(.report_main) .og_max-width:has(.house_table) {
    max-width: 1296px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* Consistent vertical rhythm across ALL report blocks */
.report_main.og_max-width,
.report_income.og_max-width,
.report_text.og_max-width,
.report_audio.og_max-width,
.report_balance.og_max-width,
.report_section.og_max-width,
.og_max-width.report_main,
.og_max-width.report_income,
.og_max-width.report_text,
.og_max-width.report_audio,
.og_max-width.report_balance,
.og_max-width.report_section,
.og_max-width.report_details_tail {
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 56px;
}

/* Block titles */
.report_main > span,
.report_income > span,
.report_text > span,
.report_audio > span,
.report_balance > span,
.report_section > span,
.og_max-width.report_main > span,
.og_max-width.report_income > span,
.og_max-width.report_text > span,
.og_max-width.report_audio > span,
.og_max-width.report_balance > span,
.og_max-width.report_section > span {
    margin: 0 0 14px 0 !important;
    line-height: 1.15;
}

/* Text spacing inside blocks */
.report_main > p,
.report_income > p,
.report_text > p,
.report_audio > p,
.report_balance > p,
.report_section > p,
.report_main > div > p,
.report_income > div > p,
.report_text > div > p,
.report_audio > div > p,
.report_balance > div > p,
.report_section > div > p {
    margin: 12px 0 0;
}

/* Ensure tables/graphs have breathing room from headings/text */
.report_income .house_table,
.report_text .house_table,
.report_audio .house_table,
.report_balance .house_table,
.report_section .house_table,
.report_main .payment_billet,
.report_main .chart,
.report_main canvas,
.report_text .canvas,
.report_main .canvas {
    margin-top: 14px;
}

html .og_max-width.report_main p,
html .og_max-width.report_income p,
html .og_max-width.report_text p,
html .og_max-width.report_audio p,
html .og_max-width.report_balance p,
html .og_max-width.report_section p,
html .og_max-width.report_details_tail p,
html .og_max-width.report_main a,
html .og_max-width.report_income a,
html .og_max-width.report_text a,
html .og_max-width.report_audio a,
html .og_max-width.report_balance a,
html .og_max-width.report_section a,
html .og_max-width.report_details_tail a {
    font-size: 16px;
    line-height: 1.45;
}

.og_max-width > span,
html h1 {
    margin: 44px 0 16px 0;
}

.og_max-width:not(:last-child) {
    margin-bottom: 44px;
}

/* Tables */
.house_table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 14px;
    border: 1px solid rgba(15, 166, 171, 0.18);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    background: #fff;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* Unified table look for ALL report tables (match "скрин 1") */
.report_income .house_table table,
.report_text .house_table table,
.report_audio .house_table table,
.report_balance .house_table table,
.report_section .house_table table {
    width: 100%;
    border: none !important;
    border-bottom: none !important;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 760px; /* prevents squashed columns; scroll via .house_table */
}

.report_income .house_table table,
.report_text .house_table table,
.report_audio .house_table table,
.report_balance .house_table table,
.report_section .house_table table {
    font-size: 14px;
}

.report_income .house_table table thead tr,
.report_text .house_table table thead tr,
.report_audio .house_table table thead tr,
.report_balance .house_table table thead tr,
.report_section .house_table table thead tr {
    background: #0FA6AB;
    color: #ffffff;
}

.report_income .house_table table thead td,
.report_text .house_table table thead td,
.report_audio .house_table table thead td,
.report_balance .house_table table thead td,
.report_section .house_table table thead td {
    padding: 12px 14px;
    text-align: center;
    font-weight: 600;
    white-space: nowrap;
}

.report_income .house_table table tbody tr td,
.report_income .house_table table tfoot tr td,
.report_text .house_table table tbody tr td,
.report_text .house_table table tfoot tr td,
.report_audio .house_table table tbody tr td,
.report_balance .house_table table tbody tr td,
.report_section .house_table table tbody tr td,
.report_section .house_table table tfoot tr td {
    padding: 12px 14px;
    vertical-align: top;
    border-top: 1px solid rgba(2, 16, 23, 0.06);
}

.report_income .house_table table tbody tr:nth-child(even),
.report_text .house_table table tbody tr:nth-child(even),
.report_audio .house_table table tbody tr:nth-child(even),
.report_balance .house_table table tbody tr:nth-child(even),
.report_section .house_table table tbody tr:nth-child(even) {
    background: rgba(15, 166, 171, 0.05);
}

.report_income .house_table table tbody tr:hover,
.report_text .house_table table tbody tr:hover,
.report_audio .house_table table tbody tr:hover,
.report_balance .house_table table tbody tr:hover,
.report_section .house_table table tbody tr:hover {
    background: rgba(255, 124, 3, 0.07);
}

/* Keep existing "show more" behavior but make footer look like CTA row */
.report_income .house_table table tfoot tr td,
.report_text .house_table table tfoot tr td,
.report_section .house_table table tfoot tr td {
    background: rgba(15, 166, 171, 0.10);
    font-weight: 600;
}

/* Rounded corners for header row */
.report_income .house_table table thead tr td:first-child,
.report_text .house_table table thead tr td:first-child,
.report_audio .house_table table thead tr td:first-child,
.report_balance .house_table table thead tr td:first-child,
.report_section .house_table table thead tr td:first-child {
    border-top-left-radius: 12px;
}
.report_income .house_table table thead tr td:last-child,
.report_text .house_table table thead tr td:last-child,
.report_audio .house_table table thead tr td:last-child,
.report_balance .house_table table thead tr td:last-child,
.report_section .house_table table thead tr td:last-child {
    border-top-right-radius: 12px;
}

/* Buttons inside tables */
.house_table .btn.btn-primary {
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    line-height: 1.2;
}

@media (max-width: 820px) {
    .og_max-width > span,
    html h1 {
        margin: 26px 0 12px 0;
    }
    .og_max-width:not(:last-child) {
        margin-bottom: 28px;
    }
    .report_main.og_max-width,
    .report_income.og_max-width,
    .report_text.og_max-width,
    .report_audio.og_max-width,
    .report_balance.og_max-width,
    .report_section.og_max-width {
        margin-bottom: 34px;
    }
}

@media (max-width: 500px) {
    .report_income table,
    .report_text table,
    .report_audio table,
    .report_balance table,
    .report_section table {
        min-width: 620px;
    }
    table thead td,
    table tbody td {
        white-space: nowrap;
    }
}
.payment_billet .left span {
    font-size: 16px;
}
.payment_billet .left p {
    margin: 10px 0;
    line-height: 16px;
}
.payment_billet .white {
    font-size: 14px !important;
}
.og_max-width > span, html h1 {
    font-size: 20px;
    line-height: 26px;
}
}

.author-levels {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: stretch;
}

.author-levels__summary {
    flex: 1 1 280px;
    background: #f5f9fc;
    border-radius: 16px;
    padding: 24px;
    display: grid;
    gap: 12px;
}

.author-levels__intro {
    flex: 1 1 320px;
    background: #ffffff;
    border: 1px solid #e4ebf3;
    border-radius: 16px;
    padding: 24px;
}
.author-levels__hint {
    display: inline-block;
    margin-top: 10px;
    color: #4a5568;
    font-size: 14px;
    line-height: 1.5;
}
.author-levels__details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.author-levels__block {
    background: #ffffff;
    border: 1px solid #e4ebf3;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.author-levels__cta .lnk1 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.author-bonus {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.author-bonus__purchase {
    background: #eefbfb;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #b7e5e5;
}

.author-bonus__purchase-form form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.author-bonus__purchase-form p {
    margin: 0;
}

.author-bonus__stats {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e4ebf3;
    padding: 24px;
}

.author-bonus__grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-top: 16px;
}

.author-bonus__card {
    border-radius: 12px;
    border: 1px solid #b7e5e5;
    padding: 16px;
    background: #f4fcfc;
    display: grid;
    gap: 8px;
}

.author-bonus__card--success {
    border-color: #b7e5e5;
    background: #f4fcfc;
}

.author-bonus__card--pending {
    border-color: #b7e5e5;
    background: #f4fcfc;
}

.author-bonus__label {
    font-size: 14px;
    color: #4a5568;
}

.author-bonus__value {
    font-size: 20px;
    color: #1a202c;
}

.author-bonus__note {
    font-size: 13px;
    color: #718096;
}

.author-bonus__table {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e4ebf3;
    padding: 24px;
}

.author-bonus__hint {
    margin-top: 12px;
    color: #b04437;
}

@media (max-width: 640px) {
    .author-levels {
        flex-direction: column;
    }

    .author-levels__intro,
    .author-levels__summary {
        width: 100%;
    }
}

/* Нижний блок отчёта агента: аудио, пополнения, покупки, итоги (одна центрированная колонка) */
.report_details_tail {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.report_details_tail h3 {
    margin: 1.25em 0 0.65em;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0fa6ab;
}

.report_details_tail h3:first-child {
    margin-top: 0;
}

/* График «доход по дням»: сброс глобальных div.statistics / div.bar из site.css, узкие столбцы по центру */
.statistics-income-chart.statistics {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    float: none;
    font-size: 16px;
    color: #1f2a2b;
}

.statistics-income-chart__intro {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.45;
    color: #4a5568;
    text-align: center;
}

.statistics-income-chart__hint {
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    color: #a0aec0;
    text-align: center;
}

.statistics-income-chart__plot {
    --statistics-income-bar: 18px;
    --statistics-income-gap: 4px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 20px;
    box-sizing: border-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
}

.statistics-income-chart__bars {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: var(--statistics-income-gap, 4px);
    width: 100%;
    min-height: 308px;
    padding: 22px 0 4px;
    border-radius: 12px;
    background: linear-gradient(to top, rgba(15, 166, 171, 0.06), transparent 40%);
    box-sizing: border-box;
}

.statistics-income-chart .bar {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 0 0 var(--statistics-income-bar, 18px);
    width: var(--statistics-income-bar, 18px);
    min-width: var(--statistics-income-bar, 18px);
    margin: 0;
    float: none !important;
    font-size: 0;
    line-height: 0;
}

.statistics-income-chart__hover-value {
    position: absolute;
    left: 50%;
    bottom: 100%;
    z-index: 3;
    margin-bottom: 4px;
    padding: 2px 5px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    color: #1f2a2b;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 166, 171, 0.35);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(31, 42, 43, 0.12);
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.12s ease;
}

.statistics-income-chart .bar:hover .statistics-income-chart__hover-value {
    opacity: 1;
    visibility: visible;
}

.statistics-income-chart .bar1,
.statistics-income-chart .bar2 {
    width: 100%;
    box-sizing: border-box;
}

.statistics-income-chart .bar1 {
    background: transparent;
}

.statistics-income-chart .bar2 {
    min-height: 0;
    border: 1px solid rgba(15, 166, 171, 0.55);
    border-radius: 2px 2px 0 0;
    padding: 0;
    background: linear-gradient(180deg, #2ec4c9 0%, #0fa6ab 100%);
    color: transparent;
    overflow: hidden;
}

.statistics-income-chart .bar2[title]:empty {
    cursor: help;
}

.statistics-income-chart__ticks {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: var(--statistics-income-gap, 4px);
    width: 100%;
    margin-top: 6px;
    padding: 0;
    font-size: 10px;
    line-height: 1.2;
    color: #718096;
    box-sizing: border-box;
}

.statistics-income-chart__tick {
    flex: 0 0 var(--statistics-income-bar, 18px);
    width: var(--statistics-income-bar, 18px);
    min-width: var(--statistics-income-bar, 18px);
    text-align: center;
    white-space: nowrap;
    /* не обрезать «30», «25» — иначе видны только первые цифры и кажется, что даты «перепутаны» */
    overflow: visible;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 600px) {
    .statistics-income-chart__plot {
        --statistics-income-bar: 14px;
        --statistics-income-gap: 3px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .statistics-income-chart__ticks {
        font-size: 9px;
    }

    .statistics-income-chart__hover-value {
        font-size: 10px;
        padding: 1px 4px;
    }
}
@media (max-width: 600px) {
    body:has(.report_main) .cntl,
    html:has(.report_main) .cntl {
        padding-bottom: 110px !important;
    }
    body:has(.report_main) .og_max-width,
    html:has(.report_main) .og_max-width,
    body:has(.report_main) .og_max-width:has(.house_table),
    html:has(.report_main) .og_max-width:has(.house_table) {
        width: 100%;
        max-width: 100vw;
        padding-left: 10px;
        padding-right: 10px;
    }
    .house_table {
        border-radius: 8px;
        width: 100%;
        max-width: 100%;
    }
    .report_income .house_table {
        overflow-x: visible;
    }
    .report_income .house_table table {
        min-width: 0;
        width: 100%;
        table-layout: fixed;
        font-size: 12px;
    }
    .report_income .house_table table thead td,
    .report_income .house_table table tbody tr td,
    .report_income .house_table table tfoot tr td {
        padding: 9px 6px;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
    }
    .report_income .house_table table thead td:nth-child(1),
    .report_income .house_table table thead td:nth-child(2) {
        width: 17%;
    }
    .report_income .house_table table thead td:nth-child(3) {
        width: 29%;
    }
    .report_income .house_table table thead td:nth-child(4),
    .report_income .house_table table thead td:nth-child(5) {
        width: 18.5%;
    }
    .report_text .house_table,
    .report_audio .house_table,
    .report_balance .house_table,
    .report_section .house_table,
    .report_details_tail {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
/* Tighten oversized legacy spacers on agent report */
.report_main div.h40,
.report_text div.h40,
.report_details_tail div.h40 {
    height: 12px !important;
}

.report_main div.h24,
.report_text div.h24,
.report_details_tail div.h24 {
    height: 8px !important;
}

.report_main a[name],
.report_text a[name],
.report_details_tail a[name] {
    display: block;
    height: 0;
    line-height: 0;
    font-size: 0;
    margin: 0;
    padding: 0;
}

/*# sourceMappingURL=report.css.map */
