:root {
    --ink: #0f172a;
    --muted: #64748b;
    --line: #dbe4ef;
    --soft: #f6f8fc;
    --surface: #ffffff;
    --primary: #0877ee;
    --primary-dark: #006ce8;
    --primary-soft: #eff6ff;
    --good: #0f9f6e;
    --bad: #d92d20;
    --warn: #d98b16;
    --shadow: 0 18px 54px rgba(15, 23, 42, .09);
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, .06);
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, .12), transparent 320px),
        linear-gradient(180deg, #fbfdff 0, #f6f8fc 420px),
        var(--soft);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    text-rendering: geometricPrecision;
}

.app-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: 70px;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid rgba(219, 228, 239, .84);
    box-shadow: 0 8px 28px rgba(15, 23, 42, .035);
    backdrop-filter: blur(16px);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #0f172a;
    font-size: 1.74rem;
    font-weight: 900;
    letter-spacing: 0;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 7px;
    color: #fff;
    background: #0b78ff;
    box-shadow: 0 10px 22px rgba(0, 108, 232, .22);
}

.brand-mark svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand-logo {
    display: block;
    width: auto;
    height: 38px;
    object-fit: contain;
}

.app-nav .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 50px;
    color: #111827;
    font-size: .95rem;
    font-weight: 700;
    border-radius: 8px;
    position: relative;
}

.app-nav .nav-link i {
    width: 18px;
    color: #0f1d3a;
    font-size: 1.02rem;
    text-align: center;
}

.app-nav .nav-link:hover {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.app-nav .nav-link:hover i {
    color: var(--primary-dark);
}

.app-nav .navbar-nav .nav-link.active,
.app-nav .nav-link.active {
    color: #006ce8;
}

.app-nav .navbar-nav .nav-link.active i,
.app-nav .nav-link.active i {
    color: #006ce8;
}

.app-nav .nav-link.active::after {
    content: "";
    position: absolute;
    right: 10px;
    bottom: -2px;
    left: 10px;
    height: 3px;
    border-radius: 999px;
    background: #006ce8;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    font-weight: 700;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #0b78ff, #006ce8);
    border-color: #0877ee;
    box-shadow: 0 10px 22px rgba(0, 108, 232, .22);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #006ce8, #005ed0);
    border-color: #006ce8;
    box-shadow: 0 12px 26px rgba(0, 108, 232, .28);
}

.btn-light {
    color: #1f2937;
    border-color: rgba(255, 255, 255, .8);
}

.btn-outline-primary,
.btn-outline-secondary {
    background: #fff;
}

.btn-outline-primary {
    border-color: #bfdbfe;
    color: var(--primary-dark);
}

.btn-outline-primary:hover {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
}

.hero {
    padding: 74px 0 96px;
    background-color: #020817;
    background-image:
        linear-gradient(90deg, rgba(2, 6, 23, .96) 0%, rgba(2, 6, 23, .9) 28%, rgba(7, 15, 32, .68) 58%, rgba(8, 31, 66, .18) 100%),
        url("../img/ipxup-hero-bg.png");
    background-repeat: no-repeat, no-repeat;
    background-position: center, right center;
    background-size: cover, auto 100%;
    color: #fff;
}

.home-hero {
    padding: 18px 0 102px;
}

.home-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr);
}

.home-hero .hero-card {
    display: none;
}

.home-hero h1 {
    max-width: 920px;
}

.home-hero .lead {
    max-width: 760px;
}

.home-hero .hero-chips {
    display: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    gap: 32px;
    align-items: center;
}

.eyebrow {
    color: #82b7ff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 720px;
    font-size: clamp(2.55rem, 3.95vw, 3.55rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: 0;
}

.hero .lead {
    max-width: 590px;
    color: rgba(255, 255, 255, .86);
    font-size: 1.04rem;
    line-height: 1.55;
}

.home-hero .lead {
    max-width: 590px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.hero-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 36px;
    margin-bottom: 16px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(2, 6, 23, .56);
    color: rgba(255, 255, 255, .94);
    font-size: .92rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.hero-trust-pill span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34, 197, 94, .14);
}

.hero-proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 30px;
    color: #fff;
    font-size: .9rem;
    font-weight: 800;
}

.hero-proof-row span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.hero-chips span {
    padding: 7px 11px;
    color: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    font-size: .9rem;
    font-weight: 600;
}

.hero-card,
.feature,
.auth-card,
.form-panel,
.monitor-card,
.table-card,
.empty-card,
.public-header,
.stats-grid > div {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.hero-card {
    padding: 26px;
    color: var(--ink);
    position: relative;
}

.hero-card::before {
    content: "";
    display: block;
    width: 46px;
    height: 4px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: var(--primary);
}

.metric-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}

.metric-row:last-of-type {
    border-bottom: 0;
}

.metric-row span {
    color: var(--muted);
}

.metric-row strong {
    color: #0f172a;
    font-size: 1.42rem;
}

.pulse-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    color: #344054;
    font-weight: 600;
}

.pulse {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 8px;
    border-radius: 50%;
}

.pulse.up {
    background: var(--good);
}

.pulse.warn {
    background: var(--warn);
}

.feature-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 22px;
    padding-bottom: 58px;
}

.feature {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 3px;
    padding: 18px 28px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: transform .16s ease;
}

.feature:not(:last-child) {
    border-right: 1px solid var(--line);
}

.feature > i {
    grid-row: 1 / span 2;
    align-self: center;
    color: #006ce8;
    font-size: 1.75rem;
}

.feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(17, 24, 39, .1);
}

.feature strong,
.feature span {
    display: block;
}

.feature span {
    color: var(--muted);
    margin-top: 8px;
    line-height: 1.55;
}

/* Reference image polish: public home typography, icons, and density. */
.navbar-brand {
    font-size: 1.68rem;
}

.navbar-brand:has(.brand-logo) {
    gap: 0;
}

.brand-logo {
    height: 40px;
    max-width: 172px;
}

.result-multiline {
    display: inline-block;
    max-width: min(100%, 720px);
    line-height: 1.65;
    white-space: normal;
    word-break: break-word;
}

.result-long-value {
    display: inline-block;
    max-width: min(100%, 760px);
    line-height: 1.55;
    white-space: normal;
    overflow-wrap: anywhere;
}

.app-nav .nav-link {
    font-size: .88rem;
}

.hero h1 {
    font-size: clamp(2.45rem, 3.78vw, 3.45rem);
    line-height: 1.06;
}

.hero .lead,
.home-hero .lead {
    max-width: 590px;
    font-size: 1rem;
}

.hero-actions .btn-lg {
    min-height: 52px;
    padding-right: 28px;
    padding-left: 28px;
    font-size: 1rem;
    font-weight: 800;
}

.hero-actions .btn-light {
    color: #006ce8;
    border-color: rgba(226, 232, 240, .94);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .16);
}

.hero-actions .btn-light i {
    color: #006ce8;
    font-size: 1.1rem;
}

.hero-actions .btn-primary i,
.nav-actions .btn-primary i {
    color: #fff;
}

.hero-proof-row i {
    font-size: .95rem;
}

.network-tool-panel-head h2,
.network-result-title h2 {
    font-size: 1.08rem;
}

.network-tool-panel-head p {
    color: #516382;
}

.network-search-box .form-control {
    color: #7f8ca8;
    font-size: 1rem;
    font-weight: 500;
}

.network-search-box .form-control::placeholder {
    color: #9aa8c2;
    opacity: 1;
}

.quick-sample-label,
.network-tool-panel legend {
    color: #1b2a4b;
    font-size: .86rem;
    font-weight: 800;
}

.example-row {
    gap: 10px;
}

.example-row button {
    min-height: 30px;
    padding: 5px 14px;
    color: #006ce8;
    border-color: #d8e5f4;
    background: #fbfdff;
    font-size: .78rem;
    font-weight: 700;
    box-shadow: 0 5px 14px rgba(15, 23, 42, .035);
}

.network-tool-choice {
    color: #17233b;
    font-size: .78rem;
}

.network-tool-choice span {
    line-height: 1.15;
}

.network-result-panel .mini-panel {
    border-color: #dce6f2;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .035);
}

.network-result-panel .mini-panel h3 {
    color: #0f2b5c;
    font-size: .94rem;
}

.network-result-panel .mini-panel td,
.network-result-panel .mini-panel th {
    padding-top: 7px;
    padding-bottom: 7px;
}

.network-result-panel .mini-panel th {
    color: #40506c;
    font-weight: 800;
}

.network-result-panel .mini-panel td {
    color: #2d3c5d;
    font-weight: 500;
}

.online-badge {
    min-height: 31px;
    padding: 5px 13px;
    font-size: .84rem;
}

.network-ok-note {
    min-height: 46px;
    padding: 11px 13px;
    font-size: .86rem;
}

.network-ok-note button {
    font-size: .84rem;
    font-weight: 700;
}

.feature {
    padding-top: 17px;
    padding-bottom: 17px;
}

.feature strong {
    color: #17233b;
    font-size: .9rem;
}

.feature span {
    margin-top: 3px;
    font-size: .82rem;
}

.feature > i {
    font-size: 1.52rem;
}

.auth-wrap,
.app-section {
    padding-top: 48px;
    padding-bottom: 64px;
}

.auth-card {
    max-width: 460px;
    margin: 0 auto;
    padding: 30px;
}

.auth-card h1,
.form-panel h1,
.page-heading h1,
.public-header h1 {
    font-weight: 800;
}

.small-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--primary-dark);
    text-decoration: none;
}

.auth-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
}

.otp-input {
    max-width: 150px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
}

.page-heading,
.public-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .88);
    box-shadow: var(--shadow-soft);
}

.page-heading span,
.public-header span {
    color: var(--muted);
}

.monitor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.monitor-card,
.empty-card,
.form-panel,
.table-card {
    padding: 24px;
}

.empty-card {
    display: grid;
    gap: 6px;
    align-content: center;
    min-height: 220px;
    text-align: center;
}

.empty-card strong {
    font-size: 1.25rem;
}

.empty-card span {
    color: var(--muted);
}

.monitor-card {
    position: relative;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.monitor-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #14b8a6);
}

.monitor-card:hover {
    transform: translateY(-3px);
    border-color: #c6d6eb;
    box-shadow: 0 20px 50px rgba(17, 24, 39, .1);
}

.monitor-card h2 {
    margin: 0 0 6px;
    font-size: 1.2rem;
    font-weight: 800;
}

.monitor-card p {
    margin: 0;
    color: var(--muted);
    word-break: break-word;
}

.monitor-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.monitor-meta span {
    padding: 6px 10px;
    color: #475467;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f8fafc;
    font-size: .86rem;
    font-weight: 600;
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
}

.delete-monitor-form {
    margin-top: 14px;
}

.card-actions a,
.result-link {
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
}

.card-actions a:hover,
.result-link:hover,
.small-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.form-label {
    color: #344054;
    font-weight: 700;
}

.form-control,
.form-select {
    border-color: #d5deeb;
    border-radius: 8px;
    min-height: 44px;
    background-color: #fff;
    box-shadow: inset 0 1px 0 rgba(15, 23, 42, .02);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .12);
}

.location-picker {
    margin-top: 24px;
}

.location-admin-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.location-admin-card {
    display: grid;
    gap: 18px;
}

.location-card-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.location-card-head h2 {
    margin-bottom: 4px;
}

.location-card-head p {
    margin: 0;
    color: var(--muted);
}

.location-mini-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.location-edit-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto auto;
    gap: 12px;
    align-items: end;
}

.location-active-check {
    min-height: 44px;
    display: flex;
    align-items: center;
}

.agent-box {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.agent-box textarea {
    min-height: 74px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .84rem;
}

.location-filter-bar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 180px auto auto;
    gap: 10px;
}

.monitor-filter-bar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 180px 170px auto auto;
    gap: 10px;
}

.user-filter-bar {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 170px 150px auto auto;
    gap: 10px;
}

.payment-filter-bar,
.ticket-filter-bar {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 180px 160px auto auto;
    gap: 10px;
}

.location-table td {
    vertical-align: top;
}

.agent-details summary,
.location-edit-details summary {
    cursor: pointer;
}

.agent-details textarea {
    min-width: 360px;
    min-height: 72px;
    margin: 6px 0 10px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .82rem;
}

.agent-details label {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.devops-page .page-heading {
    align-items: flex-start;
}

.devops-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 24px;
    padding: 28px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(8, 119, 238, .94), rgba(15, 23, 42, .96)),
        radial-gradient(circle at top right, rgba(34, 197, 94, .32), transparent 260px);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.devops-hero h2 {
    max-width: 780px;
    margin: 0 0 10px;
    font-size: clamp(1.7rem, 3vw, 2.8rem);
    font-weight: 900;
    letter-spacing: 0;
}

.devops-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .82);
}

.devops-hero .eyebrow {
    color: #bfdbfe;
}

.devops-command-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;
}

.devops-command-card strong {
    font-size: 1.05rem;
    font-weight: 900;
}

.devops-command-card span {
    color: rgba(255, 255, 255, .78);
}

.devops-grid,
.devops-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.devops-form-grid {
    margin-top: 22px;
}

.devops-table {
    min-width: 620px;
}

.devops-table th {
    color: #475569;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.devops-table td {
    vertical-align: top;
}

.devops-mini-list {
    display: grid;
    gap: 10px;
}

.devops-mini-list div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.devops-mini-list div:last-child {
    border-bottom: 0;
}

.devops-mini-list strong {
    font-weight: 800;
}

.devops-mini-list span {
    color: var(--muted);
    text-align: right;
}

.devops-runbar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 10px;
    align-items: center;
    margin-top: 22px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.devops-output {
    max-height: 260px;
    overflow: auto;
    padding: 12px;
    margin: 8px 0 0;
    color: #dbeafe;
    white-space: pre-wrap;
    word-break: break-word;
    background: #0f172a;
    border-radius: 8px;
}

@media (max-width: 992px) {
    .devops-hero,
    .devops-grid,
    .devops-form-grid,
    .devops-runbar {
        grid-template-columns: 1fr;
    }

    .devops-mini-list div {
        display: block;
    }

    .devops-mini-list span {
        display: block;
        margin-top: 3px;
        text-align: left;
    }
}

.agent-result-details {
    min-width: 190px;
}

.agent-result-details summary {
    cursor: pointer;
    list-style: none;
}

.agent-result-details summary::-webkit-details-marker {
    display: none;
}

.agent-result-details summary small {
    display: block;
    color: var(--muted);
    font-size: .75rem;
    font-weight: 700;
}

.agent-result-details dl {
    display: grid;
    gap: 6px;
    margin: 10px 0 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.agent-result-details dl div {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 8px;
}

.agent-result-details dt {
    color: var(--muted);
    font-size: .75rem;
    font-weight: 800;
}

.agent-result-details dd {
    min-width: 0;
    margin: 0;
    color: #17233b;
    font-size: .78rem;
    overflow-wrap: anywhere;
}

.result-action-btn {
    gap: 7px;
    white-space: nowrap;
}

.live-tool-loading {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 12px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    color: #17233b;
}

.live-tool-loading small {
    grid-column: 2;
    color: var(--muted);
    font-weight: 600;
}

.location-edit-panel {
    display: grid;
    gap: 10px;
    min-width: min(520px, 78vw);
    margin-top: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.location-edit-panel label {
    color: #344054;
    font-weight: 700;
}

.location-pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding-top: 16px;
}

.check-card {
    display: flex;
    gap: 10px;
    min-height: 70px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcfe;
    cursor: pointer;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.check-card:hover {
    border-color: #b8cef0;
    background: #f4f8ff;
    box-shadow: 0 8px 18px rgba(47, 128, 237, .08);
}

.check-card span {
    display: grid;
    font-weight: 700;
}

.check-card small {
    color: var(--muted);
    font-weight: 500;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 800;
    text-transform: capitalize;
    white-space: nowrap;
}

.status-up {
    color: #067647;
    background: #dcfae6;
}

.status-down {
    color: #b42318;
    background: #fee4e2;
}

.status-unknown {
    color: #475467;
    background: #eef2f7;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.stats-grid > div {
    padding: 22px;
}

.stats-grid span {
    display: block;
    color: var(--muted);
}

.stats-grid strong {
    display: block;
    margin-top: 8px;
    color: #0f172a;
    font-size: 1.85rem;
}

.table-card h2 {
    margin-bottom: 16px;
    font-size: 1.2rem;
    font-weight: 800;
}

.report-title {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.report-title h2 {
    margin: 0 0 4px;
}

.report-title p,
.form-note {
    margin: 0;
    color: var(--muted);
}

.form-note {
    padding: 12px 14px;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    background: #eff6ff;
}

.protocol-picker {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.protocol-picker label {
    cursor: pointer;
}

.protocol-picker input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.protocol-picker span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 800;
}

.protocol-picker input:checked + span {
    border-color: var(--primary);
    background: #eff6ff;
    color: var(--primary-dark);
}

.protocol-picker input:disabled + span {
    cursor: not-allowed;
    opacity: .72;
}

.badge-share {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
}

.badge-share p {
    margin: 3px 0 0;
    color: var(--muted);
}

.badge-share img {
    width: 220px;
    height: 42px;
}

.badge-share input {
    grid-column: 1 / -1;
    font-family: Consolas, monospace;
    font-size: .88rem;
}

.uptime-graph {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18px, 1fr));
    gap: 7px;
    align-items: end;
    min-height: 190px;
    padding: 18px 14px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, #fbfdff, #f7faff);
}

.year-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.year-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdff;
}

.year-card span,
.year-card small {
    display: block;
    color: var(--muted);
}

.year-card strong {
    display: block;
    margin: 8px 0;
    color: #0f172a;
    font-size: 1.7rem;
}

.day-bar {
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 8px;
    align-items: end;
    min-height: 160px;
}

.day-bar span {
    display: block;
    min-height: 8px;
    border-radius: 999px 999px 4px 4px;
}

.day-bar small {
    color: var(--muted);
    font-size: .72rem;
    text-align: center;
}

.bar-good {
    background: linear-gradient(180deg, #36d399, var(--good));
}

.bar-warn {
    background: linear-gradient(180deg, #fbbf24, var(--warn));
}

.bar-bad {
    background: linear-gradient(180deg, #fb7185, var(--bad));
}

.bar-empty {
    background: #d8e0ec;
}

.danger-zone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    padding: 18px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fff7f7;
}

.danger-zone strong,
.danger-zone span {
    display: block;
}

.danger-zone span {
    color: var(--muted);
}

.table-card {
    overflow: hidden;
}

.table {
    margin-bottom: 0;
    --bs-table-bg: transparent;
}

.table thead th {
    color: #475569;
    background: #f8fafc;
    border-bottom: 1px solid var(--line);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.table th {
    color: #344054;
}

.table td {
    padding-top: 14px;
    padding-bottom: 14px;
    color: #1f2937;
    vertical-align: middle;
}

.table tbody tr {
    transition: background .16s ease;
}

.table tbody tr:hover td {
    background: #f8fbff;
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.admin-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.payment-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.settings-tabs {
    margin-bottom: 18px;
}

.settings-tabs .nav-link {
    color: var(--muted);
    font-weight: 800;
}

.settings-tabs .nav-link.active {
    color: var(--primary);
}

.settings-tab-content {
    padding-top: 4px;
}

.payment-settings-actions {
    grid-column: 1 / -1;
}

.template-editor,
.payment-settings-grid .payment-help {
    grid-column: 1 / -1;
}

.template-editor textarea {
    min-height: 120px;
}

.billing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.plan-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.plan-card h2 {
    font-size: 1.25rem;
    font-weight: 800;
}

.plan-card > strong {
    margin: 6px 0 10px;
    color: #0f172a;
    font-size: 2rem;
}

.plan-card > strong span {
    color: var(--muted);
    font-size: .95rem;
}

.plan-card p,
.payment-help {
    color: var(--muted);
}

.payment-help {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    background: #eff6ff;
    font-size: .92rem;
}

.ticket-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.ticket-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 7px;
    color: var(--muted);
    font-weight: 700;
    text-decoration: none;
}

.ticket-tabs a.active {
    background: #fff;
    color: var(--primary-dark);
    box-shadow: var(--shadow-soft);
}

.archive-note,
.closed-ticket-panel {
    border: 1px solid #dbeafe;
    border-radius: 8px;
    background: #eff6ff;
    color: #1f3a5f;
}

.archive-note {
    padding: 14px 16px;
}

.closed-ticket-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
}

.closed-ticket-panel strong,
.closed-ticket-panel span {
    display: block;
}

.closed-ticket-panel strong {
    color: var(--primary-dark);
    font-size: 1.02rem;
}

.closed-ticket-panel span {
    margin-top: 3px;
    color: var(--muted);
}

.ticket-thread {
    display: grid;
    gap: 14px;
}

.ticket-message {
    max-width: 820px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.ticket-message.ticket-admin {
    margin-left: auto;
    border-color: #bfdbfe;
    background: #eff6ff;
}

.ticket-message strong {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.ticket-message strong span {
    color: var(--primary-dark);
    font-size: .82rem;
}

.ticket-message p {
    margin: 12px 0;
    color: #1f2937;
}

.ticket-message small {
    color: var(--muted);
}

.plan-row {
    display: grid;
    grid-template-columns: 1.3fr .8fr .8fr .8fr .8fr auto auto auto;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.plan-row:last-child {
    border-bottom: 0;
}

.network-tools-section {
    margin-top: -85px;
    padding-top: 0;
}

.tool-result-mode .network-tools-section {
    margin-top: 22px;
    padding-top: 18px;
}

.tool-result-mode .network-tools-grid {
    grid-template-columns: 1fr;
}

.tool-result-mode .feature-band {
    margin-top: 28px;
}

.network-workspace-shell {
    overflow: hidden;
    padding: 0;
    border: 1px solid #cfe0f5;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 64px rgba(15, 23, 42, .16);
}

.network-tools-head {
    display: none;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--line);
}

.network-tools-head h1 {
    margin-bottom: 4px;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    font-weight: 800;
}

.network-tools-head span {
    color: var(--muted);
}

.tool-samples,
.example-row,
.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tool-samples button,
.example-row button {
    min-height: 34px;
    padding: 6px 11px;
    color: #475569;
    border: 1px solid #dbe4ef;
    border-radius: 999px;
    background: #fff;
    font-size: .86rem;
    font-weight: 700;
}

.tool-samples button:hover,
.example-row button:hover {
    color: var(--primary-dark);
    border-color: #bfdbfe;
    background: var(--primary-soft);
}

.network-tools-grid {
    display: grid;
    grid-template-columns: minmax(420px, 1.08fr) minmax(420px, .92fr);
    gap: 0;
    align-items: stretch;
}

.network-tool-panel,
.network-result-panel,
.mini-panel,
.report-table {
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.network-tool-panel {
    position: relative;
    top: auto;
    padding: 22px 24px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.network-tool-panel-head {
    display: block;
    margin-bottom: 12px;
    padding-bottom: 0;
    border-bottom: 0;
}

.tool-result-mode .network-tool-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 18px;
}

.tool-result-mode .network-tool-panel-head,
.tool-result-mode .quick-sample-label,
.tool-result-mode .example-row {
    display: none;
}

.tool-result-mode .network-tool-panel fieldset {
    order: 1;
    margin-top: 0 !important;
}

.tool-result-mode .network-search-box {
    order: 2;
}

.tool-result-mode .network-option-block {
    order: 3;
    margin-top: 0 !important;
}

.tool-result-mode .network-radio-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tool-result-mode .network-tool-choice {
    display: inline-flex;
    width: auto;
    min-height: 42px;
    flex: 0 0 auto;
    gap: 7px;
    padding: 8px 12px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

.tool-result-mode .network-tool-choice i {
    font-size: 1rem;
    order: 0;
}

.tool-result-mode .network-tool-choice span {
    order: 1;
}

.tool-result-mode .network-tool-choice em {
    display: none;
}

.network-tool-panel-head h2 {
    margin: 0 0 4px;
    color: #0f1d3a;
    font-size: 1.16rem;
    font-weight: 800;
}

.network-tool-panel-head p {
    margin: 0;
    color: var(--muted);
    font-size: .88rem;
}

.network-tool-panel label[for="networkQuery"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.tool-orb {
    display: inline-grid;
    flex: 0 0 42px;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #14b8a6);
    box-shadow: 0 14px 28px rgba(37, 99, 235, .2);
}

.network-search-box {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 63px;
    padding: 8px 10px;
    border: 1px solid #d5e0ef;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .045);
}

.network-search-box > i {
    margin-left: 8px;
    color: #8797b1;
    font-size: 1.35rem;
}

.network-search-box .form-control {
    min-height: 44px;
    padding-left: 0;
    border: 0;
    box-shadow: none;
}

.network-search-box .form-control:focus {
    box-shadow: none;
}

.network-search-box .btn {
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 8px;
    font-size: 1.2rem;
}

.network-result-panel {
    min-height: 470px;
    padding: 24px;
    background:
        linear-gradient(180deg, #f8fbff, #f3f8ff);
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
}

.tool-result-mode .network-result-panel {
    min-height: 0;
    padding: 22px;
    border-top: 1px solid var(--line);
    border-left: 0;
}

.result-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.share-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.share-copy-btn.copied {
    border-color: #22c55e;
    color: #15803d;
    background: #ecfdf5;
}

.panel-heading {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.panel-heading h2 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 6px;
    color: var(--ink);
    font-size: 1.2rem;
    font-weight: 800;
}

.panel-heading p {
    margin: 0;
    color: var(--muted);
    font-size: .94rem;
}

.example-row {
    margin-top: 10px;
}

.quick-sample-label {
    margin-top: 8px;
    color: #53627c;
    font-size: .88rem;
    font-weight: 700;
}

.network-tool-panel fieldset {
    margin-top: 10px !important;
}

.network-radio-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    padding-top: 6px;
    border-top: 1px solid var(--line);
}

.network-tool-choice {
    display: grid;
    gap: 5px;
    align-content: center;
    justify-items: center;
    min-height: 100px;
    padding: 13px 8px 10px;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    color: #14213d;
    background: #fff;
    font-size: .82rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}

.network-tool-choice i {
    color: #17233b;
    font-size: 1.85rem;
    line-height: 1;
}

.network-tool-choice:hover {
    transform: translateY(-2px);
    border-color: #bfdbfe;
    background: #f8fbff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .07);
}

.btn-check:checked + .network-tool-choice {
    color: #17233b;
    border-color: #b7d8ff;
    background: #f8fbff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .12);
}

.btn-check:checked + .network-tool-choice i {
    color: #0072f0;
}

.network-tool-choice em {
    width: 15px;
    height: 15px;
    border: 2px solid #a5b4ca;
    border-radius: 999px;
}

.btn-check:checked + .network-tool-choice em {
    border: 4px solid #006ce8;
}

.network-radio-grid .btn,
.pill-row .btn {
    min-height: 40px;
    padding-right: 8px;
    padding-left: 8px;
    white-space: normal;
}

.btn-check:checked + .btn-outline-primary,
.btn-check:checked + .btn-outline-secondary {
    color: #fff;
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 8px 18px rgba(37, 99, 235, .18);
}

.network-option-block {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.terminal-frame {
    overflow: hidden;
    border: 1px solid #d8e0ec;
    border-radius: 8px;
    background: #f8fbff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.terminal-bar {
    display: flex;
    gap: 7px;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    border-bottom: 1px solid #d8e0ec;
    background: #eef4fb;
}

.terminal-bar span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ef4444;
}

.terminal-bar span:nth-child(2) {
    background: #f59e0b;
}

.terminal-bar span:nth-child(3) {
    background: #22c55e;
}

.output-block {
    overflow: auto;
    max-height: 620px;
    margin: 0;
    padding: 20px;
    color: #243044;
    background: transparent;
    font-size: .92rem;
    line-height: 1.7;
    white-space: pre-wrap;
}

.report-table {
    overflow: hidden;
}

.report-table table {
    min-width: 760px;
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.network-result-panel .section-grid {
    grid-template-columns: 1fr;
    gap: 12px;
}

.network-result-panel .mini-panel h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
}

.network-result-panel .mini-panel h3 i {
    color: #0072f0;
    font-size: 1rem;
}

.network-result-panel .mini-panel td,
.network-result-panel .mini-panel th {
    padding: 9px 14px;
    font-size: .86rem;
}

.mini-panel {
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .045);
}

.mini-panel h3 {
    margin: 0;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    color: #0f2b5c;
    background: #fff;
    font-size: .98rem;
    font-weight: 800;
}

.result-inline-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.result-stack {
    align-items: flex-start;
}

.result-inline-icon i {
    color: #0072f0;
}

.result-asn-line {
    display: inline;
    line-height: 1.65;
}

.asn-result-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    margin: 0 2px;
    padding: 3px 9px;
    color: #006de5;
    font: inherit;
    font-weight: 800;
    line-height: 1;
    background: #eef6ff;
    border: 1px solid #cfe4ff;
    border-radius: 999px;
    cursor: pointer;
}

.asn-result-link:hover {
    color: #fff;
    background: #087bff;
    border-color: #087bff;
}

.asn-result-link i {
    font-size: .82rem;
}

.result-image-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.result-image-icon img {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    object-fit: contain;
}

.result-image-icon .flag-icon-img {
    width: 18px;
    height: 13px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, .08);
}

.flag-token {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 3px;
    vertical-align: middle;
}

.flag-token .flag-icon-img {
    width: 16px;
    height: 12px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, .08);
}

.mini-panel .table th {
    width: 138px;
}

.network-result-panel .mini-panel .table {
    table-layout: auto;
}

.network-result-panel .mini-panel .table th {
    width: 34%;
    min-width: 150px;
}

.network-result-panel .mini-panel .table td {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.section-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.section-table {
    width: 100%;
    min-width: 0;
    margin: 0;
    table-layout: auto;
}

.section-table th,
.section-table td {
    min-width: 0;
    padding: 12px 16px;
    vertical-align: top;
    overflow-wrap: anywhere;
    word-break: normal;
}

.section-table th {
    width: 1%;
    min-width: 150px;
    max-width: 260px;
    color: #40506c;
    font-size: .86rem;
    font-weight: 800;
    white-space: normal;
}

.section-table td {
    color: #17233b;
    font-size: .88rem;
    font-weight: 500;
}

.network-result-panel .report-table {
    overflow-x: auto;
}

.network-result-panel .report-table table {
    table-layout: auto;
    min-width: 680px;
    width: 100%;
}

.report-table td,
.report-table th,
.mini-panel td,
.mini-panel th {
    padding: 14px 16px;
    vertical-align: top;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.status-good {
    color: #075f43;
    background: #dff8ed;
}

.status-lite-good {
    color: #166534;
    background: #ecfdf3;
}

.status-bad {
    color: #8a1f1f;
    background: #ffe1e1;
}

.status-warn {
    color: #92400e;
    background: #fef3c7;
}

.status-neutral {
    color: #334155;
    background: #e8edf5;
}

.result-link {
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
}

.result-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.network-result-title {
    align-items: center;
    margin-bottom: 16px;
}

.network-result-title h2 {
    margin: 0;
    color: #0f1d3a;
    font-size: 1.16rem;
    font-weight: 800;
}

.online-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 6px 14px;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    color: #15803d;
    background: #dcfce7;
    font-weight: 800;
}

.online-badge i {
    font-size: .62rem;
}

.network-ok-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding: 13px 16px;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    color: #047857;
    background: #ecfdf5;
    font-weight: 800;
}

.network-ok-note span,
.network-ok-note button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.network-ok-note button {
    border: 0;
    color: #006ce8;
    background: transparent;
    font-weight: 800;
}

.plan-row-new {
    margin-top: 8px;
    padding-top: 16px;
}

@media (max-width: 991px) {
    .hero-grid,
    .feature-band,
    .monitor-grid,
    .stats-grid,
    .network-tools-grid,
    .billing-grid {
        grid-template-columns: 1fr;
    }

    .feature:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .network-tool-panel {
        position: static;
    }

    .home-hero {
        padding: 44px 0 138px;
    }

    .network-tools-section {
        margin-top: -116px;
    }

    .section-grid {
        grid-template-columns: 1fr;
    }

    .page-heading,
    .network-tools-head,
    .public-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .uptime-graph {
        grid-template-columns: repeat(15, minmax(10px, 1fr));
    }

    .danger-zone,
    .report-title,
    .badge-share,
    .closed-ticket-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .badge-share {
        display: flex;
    }

    .plan-row {
        grid-template-columns: 1fr;
    }

    .payment-settings-grid {
        grid-template-columns: 1fr;
    }

    .location-mini-stats,
    .location-edit-form,
    .location-filter-bar {
        grid-template-columns: 1fr;
    }

    .monitor-filter-bar {
        grid-template-columns: 1fr;
    }

    .user-filter-bar {
        grid-template-columns: 1fr;
    }

    .payment-filter-bar,
    .ticket-filter-bar {
        grid-template-columns: 1fr;
    }

    .tool-samples {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .hero {
        padding: 64px 0 54px;
    }

    .home-hero {
        padding: 38px 0 112px;
    }

    .network-tools-section {
        margin-top: -92px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .protocol-picker {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .network-radio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .network-search-box {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .network-search-box > i {
        display: none;
    }

    .network-result-panel .report-table table {
        min-width: 620px;
    }

    .network-result-panel .mini-panel .table th,
    .network-result-panel .mini-panel .table td {
        display: block;
        width: 100%;
        min-width: 0;
        padding: 8px 12px;
    }

    .network-result-panel .mini-panel .table th {
        border-bottom: 0;
        color: #65748e;
        font-size: .76rem;
        text-transform: uppercase;
    }

    .network-result-panel .mini-panel .table td {
        padding-top: 0;
    }

    .section-table,
    .section-table tbody,
    .section-table tr,
    .section-table th,
    .section-table td {
        display: block;
        width: 100%;
        max-width: none;
    }

    .section-table tr {
        border-bottom: 1px solid var(--line);
    }

    .section-table tr:last-child {
        border-bottom: 0;
    }

    .section-table th {
        min-width: 0;
        padding: 9px 12px 2px;
        border-bottom: 0;
        color: #65748e;
        font-size: .76rem;
        text-transform: uppercase;
    }

    .section-table td {
        padding: 2px 12px 10px;
        border-bottom: 0;
    }

    .hero-card,
    .feature,
    .auth-card,
    .form-panel,
    .monitor-card,
    .table-card,
    .network-tool-panel,
    .network-result-panel,
    .empty-card,
    .public-header,
    .network-tools-head,
    .page-heading {
        padding: 20px;
    }
}
