@font-face {
    font-family: "Outfit";
    src: url("../fonts/Outfit-Variable.ttf") format("truetype");
    font-display: swap;
    font-style: normal;
    font-weight: 100 900;
}

@font-face {
    font-family: "Syne";
    src: url("../fonts/Syne-Variable.ttf") format("truetype");
    font-display: swap;
    font-style: normal;
    font-weight: 400 800;
}

:root {
    --pb-bg: #ffffff;
    --pb-ink: #13261f;
    --pb-muted: #4f665d;
    --pb-primary: #1d7f73;
    --pb-accent: #e8722a;
    --pb-card: #ffffff;
    --pb-border: #d9e3db;
    --pb-header-height: 70px;
}

body {
    min-height: 100vh;
    margin: 0;
    padding-top: var(--pb-header-height);
    font-family: "Outfit", "Segoe UI", sans-serif;
    color: var(--pb-ink);
    background: var(--pb-bg);
}

body.pb-mobile-menu-open {
    overflow: hidden;
}

h1,
h2,
h3,
.navbar-brand {
    font-family: "Syne", "Segoe UI", sans-serif;
    letter-spacing: 0.02em;
}

.pb-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: var(--pb-header-height);
    z-index: 1030;
}

.pb-navbar {
    background: #ffffff;
    height: var(--pb-header-height);
    min-height: var(--pb-header-height);
    padding-top: 0;
    padding-bottom: 0;
    border: 1px solid rgba(217, 227, 219, 0.9);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(19, 38, 31, 0.08);
}

.pb-navbar .container-fluid {
    height: 100%;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.pb-navbar .navbar-brand {
    height: 100%;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
    z-index: 6;
}

.pb-navbar .navbar-toggler {
    margin: 0;
}

.pb-header-actions {
    height: 100%;
    position: relative;
    z-index: 6;
}

.pb-header-menu {
    align-self: stretch;
}

.pb-nav-main {
    gap: 0.4rem;
    margin: 0;
    align-items: center;
}

.pb-nav-link {
    min-height: 42px;
    padding: 0 0.95rem !important;
    border: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #2f4239;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

button.pb-nav-link {
    appearance: none;
}

.pb-nav-link:hover,
.pb-nav-link:focus,
.pb-nav-link.show {
    color: var(--pb-primary);
    border-color: rgba(29, 127, 115, 0.18);
    background: rgba(29, 127, 115, 0.08);
}

.pb-nav-link.active {
    color: var(--pb-primary);
    border-color: rgba(29, 127, 115, 0.24);
    background: rgba(29, 127, 115, 0.12);
}

.pb-nav-dropdown {
    min-width: 0;
    width: min(30rem, calc(100vw - 2rem));
    padding: 0.65rem;
    border: 1px solid rgba(217, 227, 219, 0.96);
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(19, 38, 31, 0.14);
}

.pb-nav-dropdown-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.pb-menu-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid #d9e3db;
    border-radius: 0.9rem;
    background: linear-gradient(180deg, #ffffff 0%, #f7faf8 100%);
    color: #13261f;
    text-decoration: none;
    white-space: normal;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pb-menu-card:hover,
.pb-menu-card:focus {
    color: #13261f;
    border-color: #8eb6a9;
    background: #f7faf8;
    transform: translateY(-1px);
}

.pb-menu-card.active {
    color: #13261f;
    background: linear-gradient(180deg, #ffffff 0%, #f7faf8 100%);
    border-color: rgba(29, 127, 115, 0.45);
    box-shadow: inset 0 0 0 1px rgba(29, 127, 115, 0.2);
}

.pb-menu-card.active .pb-menu-card-title {
    color: #13261f;
}

.pb-menu-card.active .pb-menu-card-text {
    color: var(--pb-muted);
}

.pb-menu-card-icon-wrap {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    background: rgba(29, 127, 115, 0.08);
}

.pb-menu-card-icon {
    max-width: 30px;
    max-height: 30px;
    display: block;
}

.pb-menu-card-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.pb-menu-card-title {
    font-size: 0.98rem;
    font-weight: 700;
}

.pb-menu-card-text {
    color: var(--pb-muted);
    font-size: 0.85rem;
    line-height: 1.35;
}

.pb-user-btn {
    height: 45px;
    padding: 0 0.8rem;
    border: 1px solid #6f7d75;
    border-radius: 0.5rem;
    background: #ffffff;
    color: #2f4239;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    font-weight: 600;
    line-height: 1;
}

.pb-user-icon {
    width: 20px;
    height: 20px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pb-user-btn:hover,
.pb-user-btn:focus {
    color: var(--pb-primary);
    border-color: var(--pb-primary);
}

.pb-user-btn.active {
    color: var(--pb-primary);
    border-color: var(--pb-primary);
    background: rgba(29, 127, 115, 0.08);
}

.pb-menu-toggle {
    width: 45px;
    height: 45px;
    padding: 0;
    border: 1px solid #6f7d75;
    border-radius: 0.5rem;
    background: #ffffff;
    color: #475950;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pb-menu-icon {
    width: 22px;
    height: 22px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pb-menu-toggle.navbar-toggler:focus,
.pb-menu-toggle:hover {
    color: var(--pb-primary);
    border-color: var(--pb-primary);
    box-shadow: 0 0 0 0.18rem rgba(29, 127, 115, 0.12);
}

.pb-logo {
    height: 46px;
    max-height: calc(var(--pb-header-height) - 14px);
    width: auto;
    display: block;
}

.hero {
    background: linear-gradient(130deg, #113329 0%, #1d7f73 50%, #2ba195 100%);
    color: #f7fffb;
    box-shadow: 0 20px 40px rgba(20, 43, 35, 0.2);
}

.hero-kicker {
    text-transform: uppercase;
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    opacity: 0.9;
}

.hero-title {
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    line-height: 1.05;
}

.hero-subtitle {
    max-width: 52ch;
    color: rgba(247, 255, 251, 0.9);
}

.hero-stats {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-pb {
    background: linear-gradient(135deg, var(--pb-accent), #ff9a40);
    border: 0;
    color: #1e160c;
    font-weight: 700;
}

.btn-pb:hover,
.btn-pb:focus {
    color: #1e160c;
    filter: brightness(1.03);
}

.insight-card {
    background: var(--pb-card);
    border: 1px solid var(--pb-border);
    box-shadow: 0 10px 24px rgba(19, 38, 31, 0.08);
    animation: rise-in 0.5s ease both;
}

.insight-card p {
    color: var(--pb-muted);
}

.dashboard-wrap {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(217, 227, 219, 0.9);
}

.table > :not(caption) > * > * {
    background: transparent;
}

.launch-panel {
    background: linear-gradient(160deg, #fff8ef 0%, #ffffff 65%);
    border: 1px solid #f0dbc9;
}

.pb-footer {
    background: #f7faf8;
    border-top: 1px solid #d9e3db;
}

.pb-footer-title {
    margin-bottom: 0.9rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--pb-ink);
}

.pb-footer-link {
    margin-bottom: 0.52rem;
    color: #2f4239;
    text-decoration: none;
    font-weight: 500;
}

.pb-footer-link:hover,
.pb-footer-link:focus {
    color: var(--pb-primary);
    text-decoration: underline;
}

.pb-footer-bottom {
    border-top: 1px solid #d9e3db;
}

.pb-footer-site {
    color: #2f4239;
    text-decoration: none;
}

.pb-footer-site:hover,
.pb-footer-site:focus {
    color: var(--pb-primary);
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .pb-navbar {
        position: relative;
    }

    .pb-navbar .container-fluid {
        height: var(--pb-header-height);
        min-height: var(--pb-header-height);
    }

    .pb-header-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 5;
        min-height: 100vh;
        padding: calc(var(--pb-header-height) + 1rem) 1rem 1rem;
        overflow-y: auto;
        background: rgba(255, 255, 255, 0.98);
        border-top: 0;
        box-shadow: none;
        margin-top: 0;
    }

    .pb-header-menu .navbar-nav {
        gap: 0.35rem;
    }

    .pb-nav-main > .nav-item {
        width: 100%;
    }

    .pb-header-menu .pb-nav-link {
        width: 100%;
        min-height: 0;
        justify-content: flex-start;
        padding: 0.75rem 0.85rem !important;
        border-radius: 0;
        border-color: #d9e3db;
        background: #f7faf8;
    }

    .pb-header-menu .dropdown-toggle.pb-nav-link {
        justify-content: space-between;
    }

    .pb-header-menu .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0.45rem;
        box-shadow: none;
    }

    .pb-nav-dropdown {
        width: 100%;
        padding: 0.45rem;
        border-radius: 0;
    }

    .pb-nav-dropdown-inner {
        grid-template-columns: 1fr;
    }

    .pb-menu-card {
        padding: 0.75rem 0.8rem;
    }

    .hero {
        border-radius: 1rem;
    }
}

@media (max-width: 767.98px) {
    .pb-user-btn {
        width: 45px;
        padding: 0;
    }

    .pb-user-btn span {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .pb-navbar .container-fluid {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        column-gap: 1rem;
        align-items: center;
    }

    .pb-navbar .navbar-brand {
        justify-self: start;
    }

    .pb-header-menu {
        grid-column: 2;
        display: flex !important;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .pb-header-menu .navbar-nav {
        height: 100%;
        align-items: center;
        margin: 0;
    }

    .pb-header-actions {
        grid-column: 3;
        justify-self: end;
        margin-left: 0 !important;
    }

    .pb-header-menu .pb-nav-link {
        line-height: 1;
    }

    .pb-header-menu .dropdown-menu {
        margin-top: 0.85rem;
    }
}
