:root {
    color-scheme: light;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    --page: #f7f7f8;
    --surface: #ffffff;
    --surface-soft: #f8f9fb;
    --border: #e1e4e8;
    --border-strong: #d4d8de;
    --text: #25272b;
    --muted: #747982;
    --blue: #0061d5;
    --blue-hover: #0053b8;
    --blue-soft: #eef6ff;
    --danger: #b42318;
    --danger-soft: #fff1f0;
    --shadow:
        0 1px 2px rgba(20, 25, 35, 0.04),
        0 6px 24px rgba(20, 25, 35, 0.05);

    background: var(--page);
    color: var(--text);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: var(--page);
    color: var(--text);
}

body {
    min-height: 100vh;
    font-size: 14px;
    line-height: 1.45;
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: default;
    opacity: 0.5;
}


/* =========================================================
   TOP BAR
   ========================================================= */

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 64px;
    padding: 0 28px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.topbar > div:first-child {
    display: flex;
    align-items: center;
    min-width: 0;
}

.topbar strong {
    font-size: 15px;
    color: #17191c;
    white-space: nowrap;
}

.topbar-section {
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid var(--border);
    color: var(--muted);
    white-space: nowrap;
}

.topbar-user {
    display: flex;
    gap: 16px;
    align-items: center;
    white-space: nowrap;
}

.topbar-user > span {
    color: #3e4248;
    font-weight: 500;
}

.topbar-user form {
    margin: 0;
}


/* =========================================================
   PAGE / PANELS
   ========================================================= */

.app-shell {
    width: min(1800px, calc(100% - 48px));
    margin: 0 auto;
    padding: 30px 0 48px;
}

.panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 18px;
    box-shadow:
        0 1px 1px rgba(20, 25, 35, 0.02);
    overflow: hidden;
}

.panel-heading {
    padding: 24px 24px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

h1 {
    margin: 0;
    color: #202226;
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.muted {
    color: var(--muted);
}

.panel-heading p {
    margin: 7px 0 0;
    font-size: 14px;
}


/* =========================================================
   FILTERS
   ========================================================= */

.filters {
    border-top: 1px solid var(--border);
    padding: 20px 24px 24px;
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(150px, 1fr)
        );
    gap: 16px;
    align-items: end;
}

label {
    display: grid;
    gap: 7px;
    color: #51565e;
    font-size: 12px;
    font-weight: 600;
}

input,
select {
    width: 100%;
    min-height: 38px;
    padding: 8px 11px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    outline: none;
    background: var(--surface);
    color: var(--text);
    transition:
        border-color 120ms ease,
        box-shadow 120ms ease;
}

input::placeholder {
    color: #a2a7af;
}

input:focus,
select:focus {
    border-color: var(--blue);
    box-shadow:
        0 0 0 3px rgba(0, 97, 213, 0.12);
}

.filter-action {
    display: flex;
    align-items: end;
}


/* =========================================================
   BUTTONS
   ========================================================= */

button {
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 600;
    transition:
        background 120ms ease,
        border-color 120ms ease,
        color 120ms ease;
}

.primary {
    background: var(--blue);
    color: #ffffff;
    border-color: var(--blue);
}

.primary:hover:not(:disabled) {
    background: var(--blue-hover);
    border-color: var(--blue-hover);
}

.secondary {
    background: var(--surface);
    color: #34383e;
    border-color: var(--border-strong);
}

.secondary:hover:not(:disabled) {
    background: var(--surface-soft);
}

.quiet {
    min-height: auto;
    padding: 6px 8px;
    border: 0;
    background: transparent;
    color: #5d626a;
    font-weight: 500;
}

.quiet:hover:not(:disabled) {
    background: #f1f2f4;
    color: #202226;
}


/* =========================================================
   TABLE
   ========================================================= */

.table-panel {
    overflow: hidden;
}

.table-status {
    min-height: 42px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    background: #fbfbfc;
    font-size: 12px;
}

.table-scroll {
    overflow: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    font-size: 12px;
}

thead {
    background: #f6f7f8;
}

th {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    color: #666c75;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

td {
    padding: 11px 14px;
    border-bottom: 1px solid #eceef1;
    color: #2c3035;
    vertical-align: top;
}

tbody tr {
    cursor: pointer;
    transition: background 100ms ease;
}

tbody tr:hover {
    background: var(--blue-soft);
}

tbody tr:last-child td {
    border-bottom: 0;
}

.seq,
.bytes {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.path {
    min-width: 260px;
    max-width: 540px;
    overflow-wrap: anywhere;
}

.pagination {
    padding: 14px 16px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    background: #fbfbfc;
}


/* =========================================================
   DIALOG
   ========================================================= */

dialog {
    width: min(760px, calc(100% - 32px));
    max-height: calc(100vh - 64px);
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    box-shadow:
        0 18px 60px rgba(20, 25, 35, 0.18);
}

dialog::backdrop {
    background: rgba(20, 24, 30, 0.32);
}

.dialog-head {
    padding: 15px 18px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.dialog-head strong {
    font-size: 14px;
}

dialog pre {
    margin: 0;
    padding: 18px;
    overflow: auto;
    color: #363a40;
    background: #fafbfc;
    font:
        12px/1.55
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}


/* =========================================================
   LOGIN
   ========================================================= */

.login-page {
    min-height: 100vh;
    padding: 24px 24px 0;
    display: grid;
    grid-template-rows:
        minmax(0, 1fr)
        auto;
    align-items: center;
    justify-items: center;
    background:
        linear-gradient(
            180deg,
            #ffffff 0,
            #f7f8fa 100%
        );
}

.login-card {
    width: min(390px, 100%);
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.brand-logo {
    display: block;
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 24px;
}

.login-card h1 {
    font-size: 24px;
}

.login-card > .muted {
    margin: 7px 0 24px;
}

.login-card form {
    display: grid;
    gap: 16px;
}

.login-card .primary {
    width: 100%;
    margin-top: 2px;
}

.alert {
    margin: 0 0 18px;
    padding: 10px 12px;
    border: 1px solid #f2b8b5;
    border-radius: 8px;
    background: var(--danger-soft);
    color: var(--danger);
    font-size: 13px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 760px) {
    .topbar {
        padding: 0 16px;
    }

    .topbar-section {
        display: none;
    }

    .app-shell {
        width: min(
            100% - 24px,
            1480px
        );
        padding-top: 16px;
    }

    .panel-heading {
        padding: 20px;
    }

    .filters {
        padding: 18px 20px 20px;
        grid-template-columns: 1fr;
    }

    .filter-action,
    .filter-action button {
        width: 100%;
    }

    .path {
        min-width: 220px;
    }

    .login-card {
        padding: 26px;
    }
}


/* =========================================================
   WOLFY SECURITY v2.0.4
   ========================================================= */

.topbar-clocks {
    display: grid;
    gap: 2px;
    min-width: 190px;
    padding-right: 16px;
    margin-right: 2px;
    border-right: 1px solid var(--border);
    font-variant-numeric: tabular-nums;
}

.clock-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 11px;
    line-height: 1.35;
    white-space: nowrap;
}

.clock-label {
    color: var(--muted);
    font-weight: 600;
}

.topbar-username {
    color: #3e4248;
    font-weight: 600;
}

.filters label {
    min-width: 0;
}

.filters input,
.filters select {
    min-width: 0;
}

.datetime-input {
    font-variant-numeric: tabular-nums;
}

.identity-cell {
    min-width: 180px;
    max-width: 300px;
    overflow-wrap: anywhere;
}

.date,
.time,
.size {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}

.pagination {
    min-height: 62px;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #fbfbfc;
}

.pagination-summary {
    min-width: 150px;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.pagination-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

dialog {
    overflow: hidden;
}

dialog[open] {
    display: flex;
    flex-direction: column;
}

.dialog-head {
    position: sticky;
    top: 0;
    z-index: 10;
    flex: 0 0 auto;
    background: var(--surface);
}

.detail-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 20px;
    background: #fafbfc;
}

.detail-section + .detail-section {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.detail-section h2 {
    margin: 0 0 14px;
    color: #24272b;
    font-size: 14px;
}

.detail-grid {
    display: grid;
    grid-template-columns:
        minmax(150px, 190px)
        minmax(0, 1fr);
    margin: 0;
    border: 1px solid var(--border);
    border-radius: 9px;
    overflow: hidden;
    background: var(--surface);
}

.detail-grid dt,
.detail-grid dd {
    margin: 0;
    padding: 10px 12px;
    border-bottom: 1px solid #eceef1;
}

.detail-grid dt {
    background: #f6f7f8;
    color: #666c75;
    font-size: 12px;
    font-weight: 600;
}

.detail-grid dd {
    min-width: 0;
    color: #2c3035;
    overflow-wrap: anywhere;
}

.metadata-list {
    margin: 0;
    padding-left: 18px;
}

.metadata-list li + li {
    margin-top: 4px;
}

.app-footer {
    width: min(
        1480px,
        calc(100% - 48px)
    );
    margin: 0 auto;
    padding: 0 0 30px;
    color: #8a8f97;
    font-size: 11px;
    text-align: center;
}

.app-footer span {
    margin: 0 5px;
}

.login-page .login-card {
    align-self: center;
}

.login-page .login-footer {
    align-self: end;
    width: 100%;
    padding-bottom: 24px;
}



@media (max-width: 900px) {
    .topbar-clocks {
        min-width: 164px;
    }

    .clock-label {
        display: none;
    }
}


@media (max-width: 760px) {
    .topbar {
        align-items: flex-start;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .topbar-user {
        gap: 10px;
    }

    .topbar-clocks {
        display: none;
    }

    .pagination {
        align-items: stretch;
        flex-direction: column;
    }

    .pagination-buttons {
        display: grid;
        grid-template-columns:
            repeat(2, 1fr);
    }

    .pagination-buttons button {
        width: 100%;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-grid dt {
        border-bottom: 0;
        padding-bottom: 3px;
    }

    .detail-grid dd {
        padding-top: 3px;
    }

    .app-footer {
        width: calc(100% - 24px);
    }
}


/* ---------------------------------------------------------
   CAP LOGIN
   --------------------------------------------------------- */

.login-card .cap-login-widget {
    width: 100%;
}

.login-card cap-widget {
    display: block;
    width: 100%;
    --cap-widget-width: 100%;
    --cap-font: inherit;
}

/* =========================================================
   WOLFY SECURITY 2.0.0 - PHASE 1
   ========================================================= */

.filter-toggle {
    align-content: end;
}

.filter-toggle-control {
    min-height: 38px;
    padding: 8px 11px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--surface);
    color: var(--text);
    font-size: 12px;
    font-weight: 500;
}

.filter-toggle-control input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-height: 0;
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
    accent-color: var(--blue);
}

.ip-cell {
    min-width: 150px;
    max-width: 290px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.result-column {
    display: none;
}

body.show-result .result-column {
    display: table-cell;
}

/* =========================================================
   WOLFY SECURITY 2.0.1
   ========================================================= */

body.hide-ip .ip-column {
    display: none;
}

/* =========================================================
   WOLFY SECURITY 2.0.2 - GEOIP
   ========================================================= */

.city-cell {
    min-width: 120px;
    max-width: 210px;
    white-space: nowrap;
}

.location-cell {
    min-width: 150px;
    max-width: 260px;
    white-space: nowrap;
}

body.hide-location .location-column {
    display: none;
}

.app-footer a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: #b6bac1;
    text-underline-offset: 2px;
}

.app-footer a:hover {
    color: #555b63;
    text-decoration-color: currentColor;
}

/* =========================================================
   WOLFY SECURITY 2.0.4 - FLATPICKR
   ========================================================= */

.datetime-filter {
    min-width: 220px;
}

.datetime-input {
    cursor: pointer;
}


/* ---------------------------------------------------------
   Flatpickr shell
   --------------------------------------------------------- */

.flatpickr-calendar {
    width: 310px;
    padding: 0;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    font-family: inherit;
    font-size: 12px;
    box-shadow:
        0 14px 36px rgba(20, 25, 35, 0.14);
    overflow: hidden;
}

.flatpickr-calendar,
.flatpickr-calendar *,
.flatpickr-calendar input,
.flatpickr-calendar select,
.flatpickr-current-month,
.flatpickr-weekday,
.flatpickr-day,
.flatpickr-time input,
.flatpickr-time .flatpickr-am-pm,
.flatpickr-confirm {
    font-family: inherit;
}


/* ---------------------------------------------------------
   Month navigation
   --------------------------------------------------------- */

.flatpickr-months {
    height: 46px;
    border-bottom: 1px solid var(--border);
}

.flatpickr-months .flatpickr-month {
    height: 46px;
    background: var(--surface);
    color: var(--text);
}

.flatpickr-current-month {
    height: 46px;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    padding: 0 2px;
    background: transparent;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
}

.flatpickr-current-month input.cur-year {
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
}

.flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
    background: var(--surface);
    color: var(--text);
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    top: 0;
    height: 46px;
    padding: 14px 13px;
    color: var(--muted);
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
    color: var(--text);
}

.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}


/* ---------------------------------------------------------
   Weekdays
   --------------------------------------------------------- */

.flatpickr-weekdays {
    height: 32px;
    background: var(--surface);
}

.flatpickr-weekdaycontainer {
    padding: 0 8px;
}

span.flatpickr-weekday {
    background: transparent;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
}


/* ---------------------------------------------------------
   Calendar days
   --------------------------------------------------------- */

.flatpickr-innerContainer {
    background: var(--surface);
}

.flatpickr-rContainer {
    width: 100%;
}

.flatpickr-days {
    width: 100%;
    padding: 4px 8px 8px;
}

.dayContainer {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
}

.flatpickr-day {
    flex-basis: 14.2857143%;
    width: 36px;
    max-width: 36px;
    height: 34px;
    margin: 1px 3px;
    border-radius: 7px;
    border-color: transparent;
    color: var(--text);
    font-size: 12px;
    font-weight: 400;
    line-height: 32px;
}

.flatpickr-day:hover,
.flatpickr-day:focus {
    border-color: var(--border);
    background: var(--blue-soft);
    color: var(--text);
}

.flatpickr-day.today {
    border-color: var(--border-strong);
    color: var(--text);
    font-weight: 600;
}

.flatpickr-day.today:hover,
.flatpickr-day.today:focus {
    border-color: var(--blue);
    background: var(--blue-soft);
    color: var(--text);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
    font-weight: 600;
}

.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay,
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    color: #b4bac3;
}


/* ---------------------------------------------------------
   Time
   --------------------------------------------------------- */

.flatpickr-time {
    height: 46px !important;
    max-height: 46px;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.flatpickr-time .numInputWrapper {
    height: 46px;
}

.flatpickr-time input {
    height: 46px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.flatpickr-time input:hover,
.flatpickr-time input:focus {
    background: var(--blue-soft);
    box-shadow: none;
}

.flatpickr-time .flatpickr-time-separator {
    height: 46px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 46px;
}

.flatpickr-time .numInputWrapper span.arrowUp,
.flatpickr-time .numInputWrapper span.arrowDown {
    border-color: var(--border);
}


/* ---------------------------------------------------------
   Confirm
   --------------------------------------------------------- */

.flatpickr-confirm {
    min-height: 35px;
    margin: 8px;
    border: 1px solid var(--blue);
    border-radius: 8px;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition:
        opacity 120ms ease,
        transform 120ms ease;
}

.flatpickr-confirm:hover {
    background: var(--blue);
    color: #fff;
    opacity: 0.92;
}

.flatpickr-confirm:active {
    transform: translateY(1px);
}


/* ---------------------------------------------------------
   Remove Flatpickr default arrow styling conflicts
   --------------------------------------------------------- */

.flatpickr-calendar.arrowTop::before,
.flatpickr-calendar.arrowTop::after,
.flatpickr-calendar.arrowBottom::before,
.flatpickr-calendar.arrowBottom::after {
    display: none;
}

.flatpickr-calendar input {
    box-shadow: none;
}

.flatpickr-calendar input:focus {
    box-shadow: none;
}

/* =========================================================
   WOLFY SECURITY 2.1.0 - CAP TRAFFIC
   ========================================================= */

.wolfy-view[hidden] {
    display: none !important;
}


/* ---------------------------------------------------------
   Top navigation
   --------------------------------------------------------- */

.topbar-nav {
    min-height: 64px;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid var(--border);
    display: flex;
    align-items: stretch;
    gap: 4px;
}

.topbar-tab {
    position: relative;
    min-height: 64px;
    padding: 0 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.topbar-tab:hover {
    background: transparent;
    color: var(--text);
}

.topbar-tab::after {
    content: "";
    position: absolute;
    right: 10px;
    bottom: 0;
    left: 10px;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: transparent;
}

.topbar-tab.active {
    color: var(--text);
}

.topbar-tab.active::after {
    background: var(--blue);
}


/* ---------------------------------------------------------
   CAP status
   --------------------------------------------------------- */

.cap-status {
    min-height: 44px;
    padding: 12px 24px;
    border-top: 1px solid var(--border);
    background: #fbfbfc;
    display: flex;
    align-items: center;
    font-size: 12px;
}


/* ---------------------------------------------------------
   Metrics
   --------------------------------------------------------- */

.cap-metrics {
    display: grid;
    grid-template-columns:
        repeat(
            6,
            minmax(0, 1fr)
        );
    gap: 14px;
    margin-bottom: 18px;
}

.cap-metric {
    min-width: 0;
    min-height: 126px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    box-shadow:
        0 1px 1px rgba(20, 25, 35, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cap-metric-label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
}

.cap-metric-value {
    margin-top: 5px;
    color: #202226;
    font-size: 25px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.cap-metric-delta {
    margin-top: 8px;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ---------------------------------------------------------
   CAP panel heading
   --------------------------------------------------------- */

.cap-panel-heading {
    min-height: 58px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.cap-panel-heading > div:first-child {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.cap-panel-heading strong {
    color: #24272b;
    font-size: 13px;
}

.cap-panel-heading .muted {
    font-size: 11px;
}


/* ---------------------------------------------------------
   Chart
   --------------------------------------------------------- */

.cap-chart-wrap {
    width: 100%;
    min-height: 310px;
    padding: 14px 18px 18px;
    overflow-x: auto;
}

.cap-chart {
    display: block;
    width: 100%;
    min-width: 720px;
    height: 300px;
}

.cap-chart-grid {
    stroke: #e8eaed;
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.cap-chart-axis {
    fill: #858b94;
    font-family: inherit;
    font-size: 11px;
}

.cap-chart-empty {
    fill: #858b94;
    font-family: inherit;
    font-size: 12px;
}

.cap-chart-bar {
    fill: #dcebff;
}

.cap-chart-line {
    fill: none;
    stroke: var(--blue);
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}

.cap-chart-point {
    fill: var(--blue);
    stroke: #ffffff;
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}

.cap-chart-legend {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--muted);
    font-size: 11px;
    white-space: nowrap;
}

.cap-chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cap-chart-legend i {
    display: inline-block;
    width: 14px;
    height: 4px;
    border-radius: 4px;
}

.cap-legend-challenges {
    background: #dcebff;
}

.cap-legend-verified {
    background: var(--blue);
}


/* ---------------------------------------------------------
   Map
   --------------------------------------------------------- */

.cap-map {
    width: 100%;
    height: 470px;
    padding: 12px;
    background:
        linear-gradient(
            180deg,
            #fbfcfd 0%,
            #ffffff 100%
        );
}

.cap-map .jvm-container {
    width: 100%;
    height: 100%;
    background: transparent;
}

.cap-map .jvm-zoom-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border-strong);
    border-radius: 7px;
    background: var(--surface);
    color: var(--text);
    font-family: inherit;
    font-size: 16px;
    line-height: 26px;
    box-shadow:
        0 1px 3px rgba(20, 25, 35, 0.08);
}

.jvm-tooltip {
    padding: 6px 8px;
    border: 1px solid var(--border-strong);
    border-radius: 7px;
    background: #25272b;
    color: #ffffff;
    font-family: inherit;
    font-size: 11px;
    box-shadow:
        0 6px 18px rgba(20, 25, 35, 0.16);
}


/* ---------------------------------------------------------
   Aggregate tables
   --------------------------------------------------------- */

.cap-data-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);
    gap: 18px;
}

.cap-data-panel {
    min-width: 0;
}

.cap-table {
    table-layout: auto;
}

.cap-table tbody tr {
    cursor: default;
}

.cap-table tbody tr:hover {
    background: #fafbfc;
}

.cap-table th:first-child,
.cap-table td:first-child {
    width: 48px;
}

.cap-rank,
.cap-count,
.cap-share {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.cap-count,
.cap-share {
    text-align: right;
}

.cap-table th:nth-last-child(1),
.cap-table th:nth-last-child(2) {
    text-align: right;
}


/* ---------------------------------------------------------
   Responsive CAP
   --------------------------------------------------------- */

@media (max-width: 1280px) {
    .cap-metrics {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
    }
}

@media (max-width: 900px) {
    .topbar-nav {
        margin-left: 10px;
        padding-left: 10px;
    }

    .topbar-tab {
        padding: 0 7px;
        font-size: 11px;
    }

    .cap-data-grid {
        grid-template-columns: 1fr;
    }

    .cap-map {
        height: 390px;
    }
}

@media (max-width: 760px) {
    .topbar {
        flex-wrap: wrap;
    }

    .topbar > div:first-child {
        width: 100%;
    }

    .topbar-nav {
        min-height: 42px;
        margin-left: 10px;
    }

    .topbar-tab {
        min-height: 42px;
    }

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

    .cap-panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .cap-chart-wrap {
        padding-right: 8px;
        padding-left: 8px;
    }

    .cap-map {
        height: 330px;
        padding: 4px;
    }
}

@media (max-width: 480px) {
    .cap-metrics {
        grid-template-columns: 1fr;
    }

    .cap-metric {
        min-height: 108px;
    }
}


/* =========================================================
   WOLFY SECURITY 2.1.1
   CAP PERIODS / LINE CHART / VISUAL POLISH
   ========================================================= */

.cap-heading-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cap-period-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

#cap-period {
    min-width: 150px;
    height: 36px;
    padding: 0 34px 0 11px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background-color: var(--surface);
    color: var(--text);
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
}

#cap-period:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow:
        0 0 0 3px rgba(0, 97, 213, 0.08);
}

#cap-date-range {
    font-size: 11px;
    white-space: nowrap;
}


/* Line-only chart */

.cap-chart-bar {
    display: none;
}

.cap-chart-line {
    fill: none;
    vector-effect: non-scaling-stroke;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cap-chart-line-challenges {
    stroke: #75b8ff;
    stroke-width: 2.8;
}

.cap-chart-line-verified {
    stroke: #2aac62;
    stroke-width: 1.8;
    stroke-dasharray: 5 4;
}

.cap-chart-line-failed {
    stroke: #e1547f;
    stroke-width: 2;
}

.cap-chart-point {
    stroke: #ffffff;
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.cap-chart-point-challenges {
    fill: #75b8ff;
}

.cap-chart-point-verified {
    fill: #2aac62;
}

.cap-chart-point-failed {
    fill: #e1547f;
}

.cap-legend-challenges {
    background: #75b8ff;
}

.cap-legend-verified {
    background: #2aac62;
}

.cap-legend-failed {
    background: #e1547f;
}


/* Blue world map */

.cap-map {
    background:
        linear-gradient(
            180deg,
            #f7fbff 0%,
            #ffffff 100%
        );
}

.cap-map .jvm-container,
.cap-map .jvm-map {
    background: transparent !important;
}

.cap-map .jvm-region {
    stroke: #ffffff;
    stroke-width: 0.7;
}


/* Country / ASN / platform / OS badges */

.cap-table td,
.cap-table th {
    vertical-align: middle;
}

.cap-entity {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.cap-entity-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cap-badge {
    flex: 0 0 auto;
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.cap-badge-flag {
    width: 27px;
    height: 25px;
    border: 1px solid #e4e8ef;
    background: #ffffff;
    font-size: 15px;
}

.cap-badge-brand {
    border: 1px solid transparent;
    color: #ffffff;
}

.cap-brand-generic {
    background: #667085;
}

.cap-brand-phone,
.cap-brand-android {
    background: #22a559;
}

.cap-brand-desktop,
.cap-brand-windows,
.cap-brand-charter,
.cap-brand-telefonica,
.cap-brand-kddi,
.cap-brand-digi,
.cap-brand-uninet {
    background: #1769d2;
}

.cap-brand-tablet {
    background: #8e62d9;
}

.cap-brand-ios,
.cap-brand-macos {
    background: #40454c;
}

.cap-brand-linux {
    background: #bc8b20;
}

.cap-brand-cloudflare,
.cap-brand-orange {
    background: #e87924;
}

.cap-brand-comcast {
    background: #6553c6;
}

.cap-brand-att {
    background: #1686c9;
}

.cap-brand-verizon {
    background: #d93a3a;
}

.cap-brand-telekom,
.cap-brand-tmobile {
    background: #cf347b;
}

.cap-brand-fastly {
    background: #33383f;
}

.cap-brand-totalplay {
    background: #d84c5a;
}


@media (max-width: 900px) {
    .cap-heading-actions {
        align-items: flex-end;
        flex-direction: column;
    }

    .cap-period-control {
        align-items: flex-end;
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 760px) {
    .cap-heading-actions {
        width: 100%;
        align-items: stretch;
    }

    .cap-period-control {
        width: 100%;
        align-items: stretch;
    }

    #cap-period {
        width: 100%;
    }

    #cap-date-range {
        white-space: normal;
    }
}

/* =========================================================
   WOLFY SECURITY 2.1.2
   CAP NATIVE ICONS + MAP POLISH
   ========================================================= */


/* Larger map */

.cap-map {
    position: relative;
    height: 600px;
    padding: 14px;

    background:
        linear-gradient(
            180deg,
            #f8fbff 0%,
            #f4f8fd 42%,
            #ffffff 100%
        );
}

.cap-map .jvm-container,
.cap-map .jvm-map {
    width: 100%;
    height: 100%;
    background: transparent !important;
}

.cap-map .jvm-region {
    stroke: #ffffff;
    stroke-width: 0.65;
    stroke-linejoin: round;

    transition:
        fill 120ms ease,
        fill-opacity 120ms ease;
}


/* Zoom controls */

.cap-map .jvm-zoom-btn {
    position: absolute !important;
    left: 14px !important;

    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;

    margin: 0 !important;
    padding: 0 !important;

    border:
        1px solid #d8e0ea !important;

    border-radius:
        8px !important;

    background:
        rgba(
            255,
            255,
            255,
            0.97
        ) !important;

    color:
        #344054 !important;

    box-sizing:
        border-box !important;

    display:
        flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    font-family:
        inherit !important;

    font-size:
        17px !important;

    font-weight:
        500 !important;

    line-height:
        1 !important;

    text-align:
        center !important;

    cursor: pointer;

    user-select: none;

    box-shadow:
        0 1px 3px
        rgba(
            25,
            35,
            50,
            0.08
        );
}

.cap-map .jvm-zoom-btn:hover {
    border-color:
        #b9c8da !important;

    background:
        #f7faff !important;

    color:
        var(--blue) !important;
}

.cap-map .jvm-zoomin {
    top: 14px !important;
}

.cap-map .jvm-zoomout {
    top: 51px !important;
}


/* CAP flags */

.cap-native-flag {
    flex: 0 0 auto;

    display: block;

    width: 24px;
    height: 17px;

    object-fit: cover;

    border:
        1px solid #e3e8ef;

    border-radius: 3px;

    box-shadow:
        0 1px 1px
        rgba(
            20,
            25,
            35,
            0.04
        );
}

.cap-country-fallback {
    flex: 0 0 auto;

    width: 24px;
    height: 20px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    color: #8b95a5;

    font-size: 11px;
}


/* CAP native OS icons */

.cap-native-os-icon {
    flex: 0 0 auto;

    display: block;

    width: 22px;
    height: 22px;

    object-fit: contain;
}


/* CAP ASN logos */

.cap-native-asn-logo {
    flex: 0 0 auto;

    display: block;

    width: 28px;
    height: 28px;

    box-sizing:
        border-box;

    object-fit: contain;

    padding: 3px;

    border:
        1px solid #e3e8ef;

    border-radius: 7px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fafc 100%
        );
}


/* Shared alignment */

.cap-entity {
    display:
        inline-flex;

    align-items:
        center;

    gap: 9px;

    min-width: 0;
}

.cap-entity-label {
    min-width: 0;

    overflow: hidden;

    text-overflow:
        ellipsis;

    white-space:
        nowrap;
}


/* Responsive */

@media (max-width: 900px) {
    .cap-map {
        height: 475px;
    }
}

@media (max-width: 760px) {
    .cap-map {
        height: 400px;
        padding: 8px;
    }

    .cap-map .jvm-zoom-btn {
        left: 10px !important;

        width: 30px !important;
        height: 30px !important;

        min-width: 30px !important;
        min-height: 30px !important;
    }

    .cap-map .jvm-zoomin {
        top: 10px !important;
    }

    .cap-map .jvm-zoomout {
        top: 45px !important;
    }
}

/* =========================================================
   WOLFY SECURITY 2.1.3
   CAP LOAD MORE + ASN HOVER CODE + GENERIC ASN ICON
   ========================================================= */

.wolfy-load-more-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px 16px 18px;
    border-top: 1px solid #eaecf0;
}

.wolfy-load-more-btn {
    appearance: none;
    border: 1px solid #d0d5dd;
    background: #ffffff;
    color: #344054;
    border-radius: 8px;
    padding: 9px 14px;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition:
        background 120ms ease,
        border-color 120ms ease,
        color 120ms ease,
        box-shadow 120ms ease;
}

.wolfy-load-more-btn:hover {
    background: #f9fafb;
    border-color: #b9c3d0;
    color: #1d2939;
}

.wolfy-load-more-btn:disabled,
.wolfy-load-more-btn[hidden] {
    display: none;
}

.cap-asn-label {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.cap-asn-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cap-asn-code {
    margin-left: 4px;
    color: #98a2b3;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    max-width: 0;
    overflow: hidden;
    transition:
        opacity 120ms ease,
        max-width 120ms ease,
        margin-left 120ms ease;
}

tbody tr:hover .cap-asn-code,
.cap-entity:hover .cap-asn-code {
    opacity: 1;
    visibility: visible;
    max-width: 140px;
}

.cap-native-asn-logo,
.cap-native-asn-fallback {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    object-fit: contain;
    padding: 3px;
    border: 1px solid #e3e8ef;
    border-radius: 7px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.cap-native-asn-fallback {
    color: #667085;
}

.cap-native-asn-fallback svg {
    width: 18px;
    height: 18px;
    display: block;
}

.cap-entity.cap-asn-entity {
    gap: 9px;
    min-width: 0;
}

.cap-entity.cap-asn-entity .cap-entity-label {
    min-width: 0;
}

@media (max-width: 760px) {
    .wolfy-load-more-wrap {
        padding: 12px 12px 16px;
    }

    .wolfy-load-more-btn {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================
   WOLFY SECURITY 2.1.4
   ASN FIXED LAYOUT + OPERATING SYSTEM ICONS
   ========================================================= */


/* ---------------------------------------------------------
   ASN table: never move Count / Share on hover
   --------------------------------------------------------- */

.cap-asn-table {
    width: 100%;
    table-layout: fixed;
}

.cap-asn-table th:nth-child(1),
.cap-asn-table td:nth-child(1) {
    width: 44px;
}

.cap-asn-table th:nth-child(3),
.cap-asn-table td:nth-child(3) {
    width: 92px;
    white-space: nowrap;
}

.cap-asn-table th:nth-child(4),
.cap-asn-table td:nth-child(4) {
    width: 76px;
    white-space: nowrap;
}


/*
 * 2.1.3 expanded max-width from 0 on hover.
 * That changed the intrinsic table width.
 *
 * 2.1.4 reserves the ASN suffix space permanently.
 * Only its visibility changes.
 */

.cap-asn-code {
    flex: 0 0 82px;

    display: inline-block;

    width: 82px;
    min-width: 82px;
    max-width: 82px;

    margin-left: 4px;

    box-sizing: border-box;

    overflow: hidden;

    opacity: 0;
    visibility: hidden;

    color: #98a2b3;

    font-size: 12px;
    font-weight: 400;

    white-space: nowrap;

    pointer-events: none;

    transition:
        opacity 120ms ease;
}

tbody tr:hover .cap-asn-code,
.cap-entity:hover .cap-asn-code {
    width: 82px;
    min-width: 82px;
    max-width: 82px;

    margin-left: 4px;

    opacity: 1;
    visibility: visible;
}


/*
 * Allow the company name to use the remaining fixed space
 * without changing the geometry of Count / Share.
 */

.cap-asn-table .cap-asn-label {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.cap-asn-table .cap-asn-name {
    flex: 1 1 auto;
    min-width: 0;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cap-asn-table .cap-entity-label {
    flex: 1 1 auto;
    min-width: 0;
}


/* ---------------------------------------------------------
   Operating systems
   --------------------------------------------------------- */

.cap-os-table {
    width: 100%;
}

.cap-os-entity {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.wolfy-cap-os-icon {
    flex: 0 0 23px;

    display: block;

    width: 23px;
    height: 23px;

    min-width: 23px;
    min-height: 23px;

    object-fit: contain;

    box-sizing: border-box;
}

.wolfy-cap-os-name {
    min-width: 0;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 760px) {
    .cap-asn-table th:nth-child(1),
    .cap-asn-table td:nth-child(1) {
        width: 34px;
    }

    .cap-asn-table th:nth-child(3),
    .cap-asn-table td:nth-child(3) {
        width: 72px;
    }

    .cap-asn-table th:nth-child(4),
    .cap-asn-table td:nth-child(4) {
        width: 58px;
    }

    .cap-asn-code {
        flex-basis: 70px;

        width: 70px;
        min-width: 70px;
        max-width: 70px;

        font-size: 11px;
    }

    tbody tr:hover .cap-asn-code,
    .cap-entity:hover .cap-asn-code {
        width: 70px;
        min-width: 70px;
        max-width: 70px;
    }

    .wolfy-cap-os-icon {
        flex-basis: 21px;

        width: 21px;
        height: 21px;

        min-width: 21px;
        min-height: 21px;
    }
}

/* =========================================================
   WOLFY SECURITY 2.1.6
   CAP NATIVE INLINE OPERATING SYSTEM ICONS
   ========================================================= */

.cap-native-os-inline {
    flex: 0 0 23px;

    width: 23px;
    height: 23px;

    min-width: 23px;
    min-height: 23px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    overflow: visible;
}

.cap-native-os-inline svg {
    display: block;

    width: 23px;
    height: 23px;

    min-width: 23px;
    min-height: 23px;

    overflow: visible;
}

#cap-oses .cap-entity {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    min-width: 0;
}

#cap-oses .cap-entity-label {
    min-width: 0;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}


@media (max-width: 760px) {
    .cap-native-os-inline,
    .cap-native-os-inline svg {
        flex-basis: 21px;

        width: 21px;
        height: 21px;

        min-width: 21px;
        min-height: 21px;
    }
}

/* =========================================================
   WOLFY SECURITY 2.1.7
   OPERATING SYSTEM ICON VISIBILITY / GEOMETRY
   ========================================================= */


/*
 * Diagnostic confirmed:
 *
 * - all 6 SVGs exist in the DOM
 * - viewBox = 0 0 24 24
 * - visible paths have valid geometry
 * - fill/stroke are correct
 * - opacity = 1
 *
 * The remaining issue was visual prominence.
 *
 * Match the physical footprint used by ASN identities
 * without relying on transforms.
 */

#cap-oses .cap-native-os-inline {
    flex: 0 0 30px;

    width: 30px;
    height: 30px;

    min-width: 30px;
    min-height: 30px;

    padding: 2px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    border:
        1px solid #e3e8ef;

    border-radius: 7px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fafc 100%
        );

    overflow: visible;

    transform: none !important;

    margin: 0;
}


#cap-oses .cap-native-os-inline svg {
    flex: 0 0 24px;

    display: block;

    width: 24px;
    height: 24px;

    min-width: 24px;
    min-height: 24px;

    max-width: 24px;
    max-height: 24px;

    overflow: visible;
}


#cap-oses .cap-entity {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    min-width: 0;
}


#cap-oses .cap-entity-label {
    display: inline-block;

    min-width: 0;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}


/*
 * Keep all OS rows geometrically consistent.
 */

#cap-oses tr td {
    vertical-align: middle;
}


@media (max-width: 760px) {
    #cap-oses .cap-native-os-inline {
        flex-basis: 28px;

        width: 28px;
        height: 28px;

        min-width: 28px;
        min-height: 28px;

        padding: 2px;
    }

    #cap-oses .cap-native-os-inline svg {
        flex-basis: 22px;

        width: 22px;
        height: 22px;

        min-width: 22px;
        min-height: 22px;

        max-width: 22px;
        max-height: 22px;
    }
}

/* =========================================================
   CAP MAP CONTENT STAGE
   Keep jsVectorMap inside the padded .cap-map content box.
   ========================================================= */

.cap-map-stage {
    position: relative;

    width: 100%;
    height: 100%;

    min-width: 0;
    min-height: 0;

    overflow: hidden;
}


/*
 * jsVectorMap adds .jvm-container to the stage itself.
 * The SVG will now be sized from this inner content box,
 * not from the padded outer .cap-map.
 */

.cap-map-stage.jvm-container {
    width: 100%;
    height: 100%;

    padding: 0;

    background: transparent !important;
}


.cap-map-stage > svg {
    display: block;
}


/*
 * Preserve the previous visual position of the zoom
 * controls. The stage already starts after the outer
 * 14px padding, so subtract that old offset here.
 */

.cap-map-stage .jvm-zoom-btn {
    left: 0 !important;
}

.cap-map-stage .jvm-zoomin {
    top: 0 !important;
}

.cap-map-stage .jvm-zoomout {
    top: 37px !important;
}


@media (max-width: 760px) {
    /*
     * Outer .cap-map padding becomes 8px here.
     * Existing target position was 10px.
     */

    .cap-map-stage .jvm-zoom-btn {
        left: 2px !important;
    }

    .cap-map-stage .jvm-zoomin {
        top: 2px !important;
    }

    .cap-map-stage .jvm-zoomout {
        top: 37px !important;
    }
}

/* =========================================================
   WOLFY SECURITY 2.1.8 CHART.JS
   Responsive CAP Challenge traffic canvas
   ========================================================= */

.cap-chart-stage {
    position: relative;

    width: 100%;
    height: 330px;

    min-width: 0;
    min-height: 260px;

    overflow: hidden;
}


.cap-chart-stage #cap-chart {
    display: block;

    width: 100% !important;
    height: 100% !important;

    max-width: 100%;

    margin: 0;

    background: transparent;
}


.cap-chart-empty-state {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 24px;

    color: #737a84;

    font-size: 13px;

    text-align: center;
}


@media (max-width: 900px) {
    .cap-chart-stage {
        height: 300px;
    }
}


@media (max-width: 760px) {
    .cap-chart-stage {
        height: 270px;
        min-height: 240px;
    }
}


@media (max-width: 480px) {
    .cap-chart-stage {
        height: 250px;
        min-height: 230px;
    }
}
