section.pages.pool-ro-report-page {
    padding-top: 1.25rem !important;
    padding-bottom: 2rem !important;
}

section.pages.pool-ro-report-page.is-print {
    padding-top: 1.25rem !important;
    padding-bottom: 2rem !important;
}

.pool-ro-report-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin: 0 0 0.5rem;
}

.pool-ro-report-toolbar h4 {
    margin: 0;
    flex: 1 1 auto;
}

.pool-ro-report-event {
    margin: 0 0 0.5rem;
}

.pool-ro-report-event-print {
    display: none;
}

.pool-ro-report-page.is-print .pool-ro-report-event-print {
    display: block;
}

.pool-ro-report-filters label.pool-ro-report-event-label {
    min-width: 260px;
    flex: 1 1 280px;
}

.pool-ro-report-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: flex-end;
    margin: 0.5rem 0 0.75rem;
}

.pool-ro-report-filters label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 180px;
    margin: 0;
    font-weight: 600;
}

.pool-ro-report-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.pool-ro-report-summary {
    margin: 0 0 0.35rem;
    font-weight: 600;
}

.pool-ro-report-page > .container {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.pool-ro-all-pools-scroll-shell {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.pool-ro-all-pools-scroll-top,
.pool-ro-all-pools-scroll {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

.pool-ro-all-pools-scroll-top {
    height: 14px;
    margin: 0 0 0.35rem;
}

.pool-ro-all-pools-scroll-top-spacer {
    height: 1px;
    pointer-events: none;
}

.pool-ro-all-pools-scroll {
    padding-bottom: 0.25rem;
}

.pool-ro-all-pools-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 420px;
    gap: 1rem;
    align-items: start;
    width: max-content;
    min-width: max-content;
    box-sizing: border-box;
}

.pool-ro-pool-column {
    width: 420px;
    min-width: 420px;
    max-width: 420px;
    box-sizing: border-box;
}

.pool-ro-pool-column-title {
    margin: 0;
    padding: 0.45rem 0.6rem;
    border: 1px solid #bbb;
    border-bottom: 0;
    background: #ddd;
    text-align: center;
    font-weight: 700;
}

.pool-ro-report-hint {
    color: #555;
    margin: 0 0 0.5rem;
}

.pool-ro-report-splash {
    margin: 0;
    padding: 0;
    border: 1px solid #ccc;
    border-bottom-width: 0;
    background: #fff;
}

.pool-ro-report-splash:last-child {
    border-bottom-width: 1px;
}

.pool-ro-report-splash.pool-ro-drop-hover {
    outline: 2px solid #2d7a46;
    outline-offset: -2px;
    background: #eef8ee;
}

.pool-ro-report-splash-title {
    margin: 0;
    padding: 0.15rem 0.5rem;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
    background: #e8e8e8;
    border-bottom: 1px solid #ccc;
}

.pool-ro-report-splash-title.dj-reg-cell,
.pool-ro-print-table > thead > tr > th.pool-ro-print-splash.dj-reg-cell {
    color: #3f4664;
    background-color: #b7c0e8;
    border-color: #727fba;
}

.pool-ro-report-splash-title.ar-reg-cell,
.pool-ro-print-table > thead > tr > th.pool-ro-print-splash.ar-reg-cell {
    color: #365158;
    background-color: #b7dee8;
    border-color: #5db0c5;
}

.pool-ro-report-splash-title.hd-reg-cell,
.pool-ro-print-table > thead > tr > th.pool-ro-print-splash.hd-reg-cell {
    color: #523f5e;
    background-color: #d8b6ed;
    border-color: #ad6cd5;
}

.pool-ro-report-splash-dogs {
    min-height: 1.5rem;
}

.pool-ro-report-splash.is-empty .pool-ro-report-splash-dogs {
    min-height: 2rem;
}

.pool-ro-report-empty {
    color: #777;
    margin: 0.5rem 0 1rem;
}

.pool-ro-report-head,
.pool-ro-report-dog,
.pool-ro-report-placeholder {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) 6rem;
    gap: 0.4rem;
    align-items: center;
    padding: 0.12rem 0.5rem;
    line-height: 1.25;
}

.pool-ro-report-head > span,
.pool-ro-report-dog > span,
.pool-ro-report-placeholder > span {
    min-width: 0;
}

.pool-ro-report-head > span:not(:first-child):not(:last-child),
.pool-ro-report-dog > span:not(:first-child):not(:last-child),
.pool-ro-report-placeholder > span:not(:first-child):not(:last-child) {
    overflow-wrap: anywhere;
}

.pool-ro-report-head {
    font-weight: 700;
    background: #f3f3f3;
    border: 1px solid #ccc;
    border-bottom: 0;
}

.pool-ro-report-dog {
    cursor: grab;
    border-bottom: 1px solid #eee;
    background: #fff;
    font-size: 13px;
}

.pool-ro-report-splash-dogs > .pool-ro-report-dog:last-child {
    border-bottom: 0;
}

.pool-ro-report-dog.success {
    background: #dff0d8;
}

.pool-ro-report-dog.danger {
    background: #f2dede;
}

.pool-ro-report-dog.info {
    background: #d9edf7;
}

.pool-ro-report-dog.warning {
    background: #fcf8e3;
}

.pool-ro-report-dog.complete {
    background: #d4d4d4;
}

.pool-ro-report-dog.ui-sortable-helper {
    cursor: grabbing;
    width: auto !important;
    max-width: 960px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    border: 1px solid #ccc;
}

.pool-ro-report-placeholder {
    min-height: 1.4rem;
    background: #eef6ee;
    border: 1px dashed #888;
}

.pool-ro-report-page.is-print .pool-ro-report-dog {
    cursor: default;
}

.pool-ro-report-page.is-print .pool-ro-report-filters,
.pool-ro-report-page.is-print .pool-ro-report-legend,
.pool-ro-report-page.is-print .pool-ro-report-hint {
    display: none;
}

.pool-ro-print-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.4;
    color: #111;
    background: #fff;
    border: 1px solid #000;
}

.pool-ro-print-table > thead > tr > th,
.pool-ro-print-table > tbody > tr > td {
    border: 1px solid #000 !important;
    padding: 8px 12px !important;
    text-align: left;
    vertical-align: middle;
    background-clip: padding-box;
}

.pool-ro-print-table > thead > tr > th.pool-ro-print-splash {
    background: #d6d6d6;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 12px !important;
}

.pool-ro-print-table > thead > tr:nth-child(2) > th {
    background: #ececec;
    font-weight: 700;
}

.pool-ro-print-col-num {
    width: 8%;
    text-align: center !important;
}

.pool-ro-print-col-time {
    width: 16%;
    white-space: nowrap;
}

.pool-ro-print-table > thead > tr:nth-child(2) > th:nth-child(2),
.pool-ro-print-table > thead > tr:nth-child(2) > th:nth-child(3),
.pool-ro-print-table > thead > tr:nth-child(2) > th:nth-child(4),
.pool-ro-print-table > tbody > tr > td:nth-child(2),
.pool-ro-print-table > tbody > tr > td:nth-child(3),
.pool-ro-print-table > tbody > tr > td:nth-child(4) {
    width: 25%;
}

.pool-ro-print-table > tbody > tr > td:first-child {
    text-align: center;
}

.pool-ro-print-table > tbody > tr.success > td {
    background: #dff0d8;
}

.pool-ro-print-table > tbody > tr.danger > td {
    background: #f2dede;
}

.pool-ro-print-table > tbody > tr.info > td {
    background: #d9edf7;
}

.pool-ro-print-table > tbody > tr.warning > td {
    background: #fcf8e3;
}

.pool-ro-print-table > tbody > tr.complete > td {
    background: #d4d4d4;
}

@media (max-width: 767px) {
    .pool-ro-all-pools-grid {
        grid-auto-columns: 340px;
    }

    .pool-ro-pool-column {
        width: 340px;
        min-width: 340px;
        max-width: 340px;
    }

    .pool-ro-report-filters label {
        width: 100%;
    }

    .pool-ro-report-head,
    .pool-ro-report-dog,
    .pool-ro-report-placeholder {
        grid-template-columns: 2rem minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) 5rem;
        gap: 0.3rem;
        padding: 0.12rem 0.4rem;
        font-size: 12px;
    }
}

body.pool-ro-print-mode #preloader {
    display: none !important;
}

@media print {
    nav,
    .navbar,
    .navbar-custom,
    .navbar-fixed-top,
    #preloader,
    .pool-ro-report-no-print,
    .pool-ro-report-toolbar,
    .pool-ro-report-filters,
    .pool-ro-report-legend,
    .pool-ro-report-hint,
    .pool-ro-report-head,
    form,
    .btn {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
        position: static !important;
    }

    body {
        background: #fff !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .pool-ro-report-page.pages,
    .pool-ro-report-page.is-print.pages {
        padding: 0 !important;
    }

    .pool-ro-report-page .container {
        width: 100%;
        max-width: none;
        padding: 0;
    }

    .pool-ro-report-event-print {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        overflow: visible !important;
    }

    .pool-ro-all-pools-scroll-top {
        display: none !important;
    }

    .pool-ro-all-pools-scroll-shell,
    .pool-ro-all-pools-scroll {
        overflow: visible !important;
        max-width: none;
        width: auto;
        min-width: 0;
        padding: 0;
    }

    .pool-ro-all-pools-grid {
        display: grid !important;
        grid-auto-flow: initial;
        grid-auto-columns: initial;
        grid-template-columns: repeat(var(--pool-count), minmax(0, 1fr));
        gap: 6pt;
        overflow: visible;
        width: 100%;
        min-width: 0;
        padding: 0;
    }

    .pool-ro-pool-column {
        width: auto;
        min-width: 0;
        max-width: none;
    }

    .pool-ro-pool-column-title {
        padding: 4pt !important;
        font-size: 10pt;
    }

    .pool-ro-all-pools-grid .pool-ro-print-table {
        font-size: 7pt;
    }

    .pool-ro-all-pools-grid .pool-ro-print-table > thead > tr > th,
    .pool-ro-all-pools-grid .pool-ro-print-table > tbody > tr > td {
        padding: 3pt !important;
    }

    .pool-ro-print-table {
        break-inside: auto;
        page-break-inside: auto;
        border-collapse: separate !important;
        border-spacing: 0 !important;
        border: 1pt solid #000 !important;
    }

    .pool-ro-print-table thead {
        display: table-header-group;
    }

    .pool-ro-print-table tr {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .pool-ro-print-table,
    .pool-ro-print-table > thead > tr > th,
    .pool-ro-print-table > tbody > tr > td {
        border: 1px solid #000 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        color-adjust: exact;
    }

    .pool-ro-print-table > thead > tr > th,
    .pool-ro-print-table > tbody > tr > td {
        padding: 8px 12px !important;
    }

    .pool-ro-print-table > thead > tr > th.pool-ro-print-splash.dj-reg-cell {
        color: #3f4664 !important;
        background-color: #b7c0e8 !important;
    }

    .pool-ro-print-table > thead > tr > th.pool-ro-print-splash.ar-reg-cell {
        color: #365158 !important;
        background-color: #b7dee8 !important;
    }

    .pool-ro-print-table > thead > tr > th.pool-ro-print-splash.hd-reg-cell {
        color: #523f5e !important;
        background-color: #d8b6ed !important;
    }
}
