﻿/* ---- Base typography ---- */
body {
    font-family: 'Trebuchet MS', Trebuchet MS, sans-serif !important;
    font-weight: 600 !important;
    font-size: large !important;
}

.rz-button,
.rz-accordion,
.rz-accordion-header a[role='tab'] {
    font-weight: 600 !important;
    font-size: large !important;
}

/* ---- Vars ---- */
:root {
    --pv-sidebar: 260px;
    --pv-sidebar-collapsed: 88px;
    --pv-topbar-h: 84px;
}

/* =========================
   MainLayout wrapper
   ========================= */
.pv-layout {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

    .pv-layout.pv-lock {
        overflow: hidden; /* žádné height:100vh – to ti rozbíjelo layout */
    }

/* =========================
   Topbar (shared)
   ========================= */
.pv-topbar {
    position: relative;
    top: 0;
    z-index: 10000;
    width: 100%;
    background: var(--rz-success-darker, #2e6b2e);
    border-bottom: none !important;
    box-shadow: none !important;
}

.pv-topbar-inner {
    min-height: var(--pv-topbar-h);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    padding-right:20px;
    min-width: 0;
    flex-wrap: nowrap; /* držíme 1 řádek */
}

.pv-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 70vw;
    color: rgba(255,255,255,.92);
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
    overflow: hidden;
    letter-spacing: .2px;
}

    .pv-brand:hover {
        color: #fff;
        text-decoration: none !important;
    }

.pv-brand-logo {
    display: block;
    height: 56px;
    width: auto;
    max-width: 220px;
    flex: 0 0 auto;
}

.pv-brand-text {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pv-topbar-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    justify-content: flex-end;
    margin-left: auto;
}

/* =========================
   Burger (☰ -> X)
   ========================= */
button.pv-burger {
    appearance: none;
    -webkit-appearance: none;
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0,0,0,.14) !important;
    border: none;
    box-shadow: 1px 1px 3px rgba(0,0,0,.54);
    color: #fff !important;
    cursor: pointer;
}

    button.pv-burger:hover {
        background: rgba(0,0,0,.20) !important;
    }

    button.pv-burger:active {
        background: rgba(0,0,0,.26) !important;
    }

.pv-burger-lines {
    width: 22px;
    height: 16px;
    position: relative;
    display: block;
}

    .pv-burger-lines > span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background: currentColor;
        border-radius: 2px;
        transition: transform .18s ease, top .18s ease, opacity .12s ease;
    }

        .pv-burger-lines > span:nth-child(1) {
            top: 0;
        }

        .pv-burger-lines > span:nth-child(2) {
            top: 7px;
        }

        .pv-burger-lines > span:nth-child(3) {
            top: 14px;
        }

button.pv-burger.is-open .pv-burger-lines > span:nth-child(1) {
    top: 7px;
    transform: rotate(45deg);
}

button.pv-burger.is-open .pv-burger-lines > span:nth-child(2) {
    opacity: 0;
}

button.pv-burger.is-open .pv-burger-lines > span:nth-child(3) {
    top: 7px;
    transform: rotate(-45deg);
}

/* burger jen na mobilu */
@media (min-width: 761px) {
    .pv-burger {
        display: none !important;
    }
}

/* =========================
   Shell + sidebar + main
   ========================= */
.pv-shell {
    flex: 1 1 auto; /* ✅ klíč pro footer */
    min-height: 0;
    display: flex;
    min-width: 0;
}

@media (min-width: 761px) {
    .pv-shell {
        align-items: flex-start;
        min-height: calc(100vh - var(--pv-topbar-h));
    }

    @supports (min-height: 100dvh) {
        .pv-shell {
            min-height: calc(100dvh - var(--pv-topbar-h));
        }
    }

    .pv-sidebar {
        position: sticky;
        top: 0;
        align-self: flex-start;
        height: calc(100vh - var(--pv-topbar-h));
        overflow-y: auto;
    }

    @supports (height: 100dvh) {
        .pv-sidebar {
            height: calc(100dvh - var(--pv-topbar-h));
        }
    }
}

.pv-sidebar {
    width: var(--pv-sidebar);
    background: linear-gradient(180deg, rgba(3,97,82,.08), rgba(244,245,249,.55)) !important;
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    border-right: 1px solid rgba(0,0,0,.10);
    box-shadow: 10px 0 24px rgba(0,0,0,.06);
    transition: width .18s ease;
    overflow-x: hidden;
}

.pv-sidebar.is-collapsed {
    width: var(--pv-sidebar-collapsed);
}

.pv-main {
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.pv-content {
    flex: 0 0 auto;
    min-height: auto;
    min-width: 0;
    padding: 1rem;
}

/* =========================
   Footer
   ========================= */
.footer {
    margin-top: 12px;
    background: #f4f5f9;
    color: #555;
    padding: 10px 8px;
    font-size: .9rem;
    text-align: center;
}

    .footer a, .footer a:visited {
        color: rgba(3,97,82,1) !important;
        text-decoration: none;
        font-weight: 700;
    }

        .footer a:hover {
            text-decoration: underline;
            text-underline-offset: 4px;
        }

/* =========================
   NavMenu
   ========================= */
.pv-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 12px;
}

.pv-sidebar-head {
    display: flex;
    justify-content: flex-end;
    padding: 12px 12px 0;
}

.pv-sidebar.is-collapsed .pv-sidebar-head {
    justify-content: center;
}

.pv-sidebar-toggle {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 14px;
    background: rgba(255,255,255,.86);
    color: rgba(3,97,82,1);
    box-shadow: 0 8px 18px rgba(0,0,0,.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .08s ease, background .12s ease, box-shadow .12s ease;
}

.pv-sidebar-toggle:hover {
    background: rgba(255,255,255,.98);
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(0,0,0,.12);
}

.pv-sidebar-toggle-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .18s ease;
}

.pv-sidebar-toggle-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.pv-sidebar.is-collapsed .pv-sidebar-toggle-icon {
    transform: rotate(180deg);
}

.pv-item {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 14px 14px;
    border-radius: 16px;
    background: rgba(46,107,46,.95);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 900;
    letter-spacing: .2px;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 10px 22px rgba(0,0,0,.12);
    transition: transform .08s ease, filter .08s ease;
    min-width: 0;
}

    .pv-item:hover {
        filter: brightness(.98);
        transform: translateY(-1px);
    }

.pv-item-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
    opacity: .96;
}

.pv-item-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.pv-item-label {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pv-nav.is-collapsed {
    padding-inline: 10px;
}

.pv-nav.is-collapsed .pv-item {
    justify-content: center;
    gap: 0;
    padding-inline: 0;
}

.pv-nav.is-collapsed .pv-item-label {
    display: none;
}

.pv-active {
    background: rgba(46,107,46,1);
    outline: 3px solid rgba(255,255,255,.18);
}

/* =========================
   LoginDisplay dropdown
   ========================= */
.pv-userwrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.pv-avatarbtn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    padding: 0;
    background: rgba(3,97,82,1);
    color: #fff;
    border: 0;
    box-shadow: 1px 1px 3px rgba(0,0,0,.54);
    cursor: pointer;
}

    .pv-avatarbtn:hover {
        filter: brightness(1.03);
    }

    .pv-avatarbtn:focus {
        outline: none;
    }

.pv-user-menu {
    position: absolute;
    right: 0;
    top: calc(44px + 10px);
    width: min(92vw, 260px);
    min-width: 220px;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
    background: #fff;
    border: 1px solid rgba(0,0,0,.10);
    z-index: 11000;
}

.pv-menuform {
    margin: 0;
}

.pv-menuitem {
    display: flex;
    width: 100%;
    padding: 10px 10px;
    border-radius: 10px;
    text-decoration: none;
    color: #111 !important;
    font-weight: 700;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

    .pv-menuitem:hover {
        color: rgba(3,97,82,1) !important;
        background: rgba(3,97,82,.08);
    }

.pv-sep {
    height: 1px;
    background: rgba(0,0,0,.10);
    margin: 6px 6px;
}

.pv-menuitem.pv-danger {
    color: #b42318 !important;
}

    .pv-menuitem.pv-danger:hover {
        color: #b42318 !important;
        background: rgba(180,35,24,.08);
    }

/* Pills */
.pv-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    border: 1px solid transparent;
    box-shadow: 0 10px 22px rgba(0,0,0,.12);
    transition: transform .08s ease, box-shadow .12s ease, filter .08s ease;
}

    .pv-pill:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 28px rgba(0,0,0,.16);
    }

.pv-solid {
    background: rgba(3,97,82,1);
    color: #fff !important;
}

.pv-accent {
    background: rgba(204,89,10,1);
    color: #fff !important;
}

.pv-pill.pv-light {
    background: rgba(255,255,255,.95);
    border-color: rgba(0,0,0,.12);
    color: rgba(0,0,0,.82) !important;
}

.pv-pill.pv-light:hover {
    background: rgba(255,255,255,1);
}

/* =========================
   PublicLayout scope
   ========================= */
.pv-public {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

    .pv-public .pv-topbar {
      /*  padding-left: 12px;
        padding-right: 12px;*/
        z-index: 2000;
    }

/* =========================
   Mobile drawer
   ========================= */
@media (max-width: 760px) {
    .pv-lock .pv-topbar {
        position: fixed;
    }

    :root {
        --pv-topbar-h: 76px;
    }

    .pv-sidebar {
        display: none;
    }

    .pv-sidebar-head {
        display: none;
    }

    .pv-shell {
        flex-direction: column;
    }

    .pv-topbar-inner {
        width: stretch;
        padding: 6px 10px;
        gap: 8px;
    }

    button.pv-burger {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .pv-avatarbtn {
        width: 38px;
        height: 38px;
    }

    .pv-user-menu {
        top: calc(38px + 10px);
        right: 0;
        left: auto;
    }

    /* overlay (jen když je menuOpen, ale tady je definice vzhledu) */
    .pv-overlay {
        position: fixed;
        inset: 0;
        z-index: 9000;
        background: rgba(22,32,39,.18);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }

    .pv-drawer {
        position: absolute;
        top: var(--pv-topbar-h);
        left: 0;
        right: 0;
        bottom: 0;
        overflow: auto;
        padding: 18px 14px;
        background: linear-gradient(180deg, rgba(228,238,233,.97), rgba(220,232,228,.985)) !important;
        backdrop-filter: blur(10px) saturate(140%);
        -webkit-backdrop-filter: blur(10px) saturate(140%);
        box-shadow: 0 10px 24px rgba(0,0,0,.16);
      /*  border-top-left-radius: 18px;
        border-top-right-radius: 18px;*/
    }

    .pv-nav {
        padding: 18px 14px;
    }
    .pv-brand {
        max-width: none;
        gap: 8px;
    }

    .pv-brand-logo {
        height: 34px;
        max-width: 140px;
    }

    .pv-brand-text {
        display: none;
    }
}
/* TOPBAR: vždy brand vlevo, pravé prvky vpravo */
.pv-topbar-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    width: 100% !important;
}

.pv-brand {
    justify-self: start !important;
    max-width: 70vw;
}

.pv-topbar-right {
    justify-self: end !important;
    display: inline-flex !important;
    gap: 10px !important;
}

@media (max-width: 760px) {
    .pv-topbar-inner {
        grid-template-columns: minmax(0, 1fr) auto !important;
    }

    .pv-topbar-right {
        justify-self: end !important;
        margin-left: auto !important;
    }

    .pv-userwrap {
        margin-left: auto;
    }

    .pv-content {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}
.pv-seg {
    display: flex;
    gap: 8px;
    padding: 10px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(255,255,255,.75);
    box-shadow: 0 10px 22px rgba(0,0,0,.08);
    width: fit-content;
}

.pv-segbtn {
    appearance: none;
    border: 1px solid rgba(3,97,82,.25);
    background: rgba(255,255,255,.92);
    color: rgba(3,97,82,.95);
    border-radius: 999px;
    padding: 10px 14px;
    min-height: 42px;
    font-size: 0.95rem;
    line-height: 1;
    font-weight: 900;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    transition: background .12s ease, border-color .12s ease, transform .08s ease, box-shadow .12s ease;
}

    .pv-segbtn:hover {
        background: rgba(3,97,82,.06);
        transform: translateY(-1px);
    }

    .pv-segbtn.on {
        background: var(--pv-green);
        color: #fff;
        border-color: var(--pv-green);
        box-shadow: 0 12px 26px rgba(3,97,82,.18);
    }

.pv-seg-wrap {
    display: flex;
    width: 100%;
    justify-content: flex-end;
}

@media (max-width: 750px) {
    .pv-seg-wrap {
        justify-content: center;
    }
}

@media (max-width: 390px) {
    .pv-seg {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 320px;
        padding: 15px;
        border-radius: 28px;
        background: none;
    }

    .pv-seg-wrap {
        justify-content: center;
    }

    .pv-segbtn {
        width: 100%;
        justify-content: center;
    }
}


.pv-route-popup.maplibregl-popup {
    max-width: 280px !important;
}

.pv-route-popup .maplibregl-popup-content {
    padding: 0 !important;
    overflow: hidden;
    background: #ffffff !important;
    border: 1px solid rgba(0,0,0,.12);
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.pv-popcard {
    font-size: 13px;
    line-height: 1.35;
    color: rgba(0,0,0,.84);
}

.pv-pophead {
    padding: 12px 14px 10px 14px;
    background: linear-gradient(180deg, rgba(3,97,82,.07), rgba(255,255,255,0));
    border-bottom: 1px solid rgba(0,0,0,.10);
}

.pv-poptitle {
    font-weight: 900;
    font-size: 15px;
    line-height: 1.25;
    color: rgba(0,0,0,.88);
    margin: 0;
}

.pv-popmeta {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pv-popcolorpair {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(0,0,0,.04);
    border: 1px solid rgba(0,0,0,.06);
}

.pv-popdot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    box-shadow: 0 0 0 1px rgba(0,0,0,.10);
}

.pv-popline {
    width: 18px;
    height: 4px;
    border-radius: 999px;
    box-shadow: 0 0 0 1px rgba(0,0,0,.06);
    opacity: .9;
}

.pv-popchip {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(3,97,82,.08);
    color: rgba(3,97,82,1);
    font-weight: 800;
    font-size: 11px;
    border: 1px solid rgba(3,97,82,.12);
}

.pv-popbody {
    padding: 10px 14px 12px 14px;
}

.pv-poprow {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(0,0,0,.05);
}

    .pv-poprow:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

.pv-poplabel {
    color: rgba(0,0,0,.56);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.pv-popvalue {
    color: rgba(0,0,0,.84);
    font-size: 12px;
    font-weight: 700;
    text-align: right;
}

    .pv-popvalue.is-time {
        color: rgba(204,89,10,1);
    }

.pv-popgroup {
    margin: 0;
}

    .pv-popgroup summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        cursor: pointer;
        list-style: none;
        font-weight: 900;
        padding: 8px 10px;
        border-radius: 10px;
        background: rgba(0,0,0,.035);
        border: 1px solid rgba(0,0,0,.06);
    }

        .pv-popgroup summary::-webkit-details-marker {
            display: none;
        }

    .pv-popgroup[open] summary {
        margin-bottom: 8px;
    }

.pv-popgroup-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

.pv-popgroup-meta {
    flex: 0 0 auto;
    color: rgba(0,0,0,.56);
    font-size: 12px;
    font-weight: 700;
}

.pv-poplist {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pv-popitem {
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(0,0,0,.02);
    border: 1px solid rgba(0,0,0,.05);
}

    .pv-popitem + .pv-popitem {
        margin-top: 0;
        padding-top: 8px;
        border-top: 1px solid rgba(0,0,0,.05);
    }

.pv-popitem-head {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.pv-poporder {
    margin-top: -6px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    border: 1px solid rgba(0,0,0,.10);
    flex: 0 0 auto;
    line-height: 1;
}

.pv-popitem-titlewrap {
    min-width: 0;
    flex: 1 1 auto;
}

.pv-popitem-title {
    display: inline-block;
    max-width: 100%;
    font-weight: 900;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    line-height: 1.25;
}

.pv-popsub {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 5px;
    color: rgba(0,0,0,.58);
    font-size: 11px;
}

    .pv-popsub span {
        padding-top: 1px;
    }

.pv-popiso {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(0,0,0,.05);
    border: 1px solid rgba(0,0,0,.08);
    font-size: 11px;
}

.pv-popnext {
    margin-top: 4px;
    font-size: 11px;
    color: rgba(0,0,0,.74);
    font-weight: 700;
}
    .rz-dialog-wrapper{
     z-index:10001 !important;
    }
.rz-dropdown-panel.rz-popup.rz-open {
    z-index: 10002 !important;
}
.pv-bmc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(252, 216, 8, .18);
    border: 1px solid rgba(204, 89, 10, .18);
    color: rgba(3,97,82,1) !important;
    font-weight: 900;
    text-decoration: none !important;
}

.pv-bmc-link:hover {
        background: rgba(252, 216, 8, .28);
        text-decoration: none !important;
    }

.pv-identity-content {
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    min-height: auto;
}

.pv-identity-wrap {
    width: min(1080px, 100%);
    flex: 0 0 auto;
}

.pv-identity-globalnav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.pv-identity-wrap .auth-card,
.pv-identity-wrap .rz-card-like,
.pv-identity-wrap .rz-card.rz-shadow-2.rz-border-radius-2xl {
    border: 1px solid var(--pv-border) !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 22px rgba(0,0,0,.08) !important;
    background: #fff !important;
}

.pv-identity-manage-shell {
    gap: 18px;
}

.pv-identity-manage-head {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    padding: 4px 4px 0 4px;
}

.pv-identity-manage-head .pv-title {
    margin-bottom: 4px;
}

.pv-identity-manage-head .pv-muted {
    margin: 0;
}

.pv-identity-manage-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.pv-identity-navcard {
    padding: 10px;
}

.pv-identity-manage-body {
    min-width: 0;
}

.pv-manage-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pv-manage-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(255,255,255,.94);
    color: rgba(0,0,0,.82);
    font-weight: 800;
    text-decoration: none !important;
    transition: background .12s ease, border-color .12s ease, transform .08s ease;
}

.pv-manage-link:hover {
    background: rgba(3,97,82,.06);
    border-color: rgba(3,97,82,.20);
    transform: translateY(-1px);
    color: rgba(0,0,0,.90);
}

.pv-manage-link.active,
.pv-manage-link[aria-current="page"] {
    background: rgba(3,97,82,.10);
    border-color: rgba(3,97,82,.28);
    color: rgba(3,97,82,1);
    box-shadow: 0 8px 18px rgba(3,97,82,.10);
}

.pv-identity-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pv-identity-wrap .auth-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.pv-identity-wrap .auth-head > div {
    min-width: 0;
}

.pv-identity-wrap .auth-backlink {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 0;
    color: rgba(3,97,82,1);
    text-decoration: none !important;
    font-weight: 800;
    white-space: nowrap;
}

.pv-identity-wrap .auth-backlink:hover {
    color: rgba(204,89,10,1);
}

.pv-identity-headpill {
    min-height: 42px;
    padding-inline: 16px !important;
}

@media (max-width: 860px) {
    .pv-identity-manage-grid {
        grid-template-columns: 1fr;
    }
}

.pv-identity-wrap .auth-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

.pv-identity-wrap .auth-card {
    width: 100%;
    max-width: 520px;
    padding: 24px;
}

.pv-identity-wrap .auth-card.auth-card-sm {
    max-width: 420px;
}

.pv-identity-wrap .auth-card.auth-card-md {
    max-width: 460px;
}

.pv-identity-wrap .auth-card.auth-card-lg {
    max-width: 520px;
}

.pv-identity-wrap .auth-card.auth-card-wide,
.pv-identity-wrap .rz-card-like.rz-card-like-wide,
.pv-identity-wrap .pv-identity-card {
    max-width: 720px;
}

.pv-identity-wrap .auth-card.auth-card-center,
.pv-identity-wrap .rz-card-like.rz-card-like-center,
.pv-identity-wrap .pv-identity-center {
    text-align: center;
}

.pv-identity-wrap .auth-card.auth-card-center {
    padding: 28px;
}

.pv-identity-wrap .auth-title,
.pv-identity-wrap .pv-identity-title {
    margin: 0 0 6px 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    color: rgba(0,0,0,.88);
}

.pv-identity-wrap .pv-identity-title {
    margin-bottom: 12px;
}

.pv-identity-wrap .auth-subtitle,
.pv-identity-wrap .rz-subtitle,
.pv-identity-wrap .rz-text-muted,
.pv-identity-wrap .pv-identity-subtitle,
.pv-identity-wrap .auth-message {
    margin: 0 0 20px 0;
    color: rgba(0,0,0,.66);
    font-size: 14px;
    line-height: 1.6;
}

.pv-identity-wrap .auth-message {
    color: rgba(0,0,0,.76);
}

.pv-identity-wrap .auth-message.auth-message-error {
    color: #c62828;
}

.pv-identity-wrap .auth-message.auth-message-success {
    color: #1b8f4d;
}

.pv-identity-wrap .auth-sep,
.pv-identity-wrap .pv-identity-divider {
    border: 0;
    height: 1px;
    background: rgba(0,0,0,.08);
    margin: 18px 0;
}

.pv-identity-wrap .auth-field,
.pv-identity-wrap .rz-form-group,
.pv-identity-wrap .rz-form-row,
.pv-identity-wrap .pv-identity-field {
    margin-bottom: 14px;
}

.pv-identity-wrap .auth-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.pv-identity-wrap .auth-label,
.pv-identity-wrap .rz-label,
.pv-identity-wrap .form-label,
.pv-identity-wrap .pv-identity-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(0,0,0,.76);
}

.pv-identity-wrap .auth-input,
.pv-identity-wrap .rz-input,
.pv-identity-wrap .rz-inputtext,
.pv-identity-wrap .pv-identity-input {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.16);
    outline: none;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.pv-identity-wrap .auth-input:focus,
.pv-identity-wrap .rz-input:focus,
.pv-identity-wrap .rz-inputtext:focus,
.pv-identity-wrap .pv-identity-input:focus {
    border-color: rgba(3,97,82,1);
    box-shadow: 0 0 0 3px rgba(3,97,82,.15);
}

.pv-identity-wrap .auth-validation,
.pv-identity-wrap .pv-identity-validation {
    display: block;
    margin-top: 6px;
    font-size: 12px;
}

.pv-identity-wrap .validation-summary-errors,
.pv-identity-wrap .pv-identity-summary {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(220,53,69,.08);
    border: 1px solid rgba(220,53,69,.22);
    color: #c62828;
    font-size: 13px;
}

.pv-identity-wrap .validation-summary-valid {
    display: none;
}

.pv-identity-wrap .auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 6px 0 14px 0;
}

.pv-identity-wrap .auth-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(0,0,0,.76);
    user-select: none;
}

.pv-identity-wrap .auth-check input,
.pv-identity-wrap .form-check-input {
    margin-top: 1px;
    min-width: 13px;
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 1px solid rgba(3,97,82,.38);
    accent-color: var(--pv-green);
    cursor: pointer;
    box-shadow: none;
}

.pv-identity-wrap .auth-check input:focus,
.pv-identity-wrap .form-check-input:focus {
    outline: none;
    border-color: var(--pv-green);
    box-shadow: 0 0 0 3px rgba(3,97,82,.18);
}

.pv-identity-wrap .auth-check input:checked,
.pv-identity-wrap .form-check-input:checked {
    background-color: var(--pv-green);
    border-color: var(--pv-green);
}

.pv-identity-wrap .auth-check > span {
    padding-top: 1px;
}

.pv-identity-wrap .pv-theme-switch {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,.08);
    background: rgba(0,0,0,.02);
    cursor: pointer;
    user-select: none;
}

.pv-identity-wrap .pv-theme-switch-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pv-identity-wrap .pv-theme-switch-track {
    position: relative;
    flex: 0 0 52px;
    width: 52px;
    height: 30px;
    border-radius: 999px;
    background: rgba(148,163,184,.5);
    transition: background-color .18s ease, box-shadow .18s ease;
}

.pv-identity-wrap .pv-theme-switch-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,.18);
    transition: transform .18s ease;
}

.pv-identity-wrap .pv-theme-switch-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pv-identity-wrap .pv-theme-switch-copy strong {
    color: rgba(0,0,0,.82);
    font-size: 14px;
    font-weight: 900;
}

.pv-identity-wrap .pv-theme-switch-copy span {
    color: rgba(0,0,0,.62);
    font-size: 13px;
    line-height: 1.45;
}

.pv-identity-wrap .pv-theme-switch-input:focus-visible + .pv-theme-switch-track,
.pv-identity-wrap .pv-theme-switch-input:focus + .pv-theme-switch-track {
    box-shadow: 0 0 0 3px rgba(3,97,82,.18);
}

.pv-identity-wrap .pv-theme-switch-input:checked + .pv-theme-switch-track {
    background: rgba(3,97,82,1);
}

.pv-identity-wrap .pv-theme-switch-input:checked + .pv-theme-switch-track .pv-theme-switch-thumb {
    transform: translateX(22px);
}

.pv-identity-wrap .auth-link {
    color: rgba(3,97,82,1);
    text-decoration: none;
    font-weight: 700;
}

.pv-identity-wrap .auth-link:hover {
    text-decoration: underline;
}

.pv-identity-wrap .auth-actions,
.pv-identity-wrap .rz-actions,
.pv-identity-wrap .form-actions,
.pv-identity-wrap .rz-muted-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.pv-identity-wrap .rz-actions,
.pv-identity-wrap .rz-muted-actions {
    margin-top: 20px;
}

.pv-identity-wrap .auth-btn,
.pv-identity-wrap .auth-actions .rz-button,
.pv-identity-wrap .rz-actions .rz-button,
.pv-identity-wrap .form-actions .rz-button,
.pv-identity-wrap .rz-muted-actions .rz-button {
    min-height: 44px;
    border-radius: 999px !important;
    padding: 10px 14px !important;
    text-align: center;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    font-weight: 900 !important;
    box-shadow: 0 10px 22px rgba(0,0,0,.12);
    transition: transform .08s ease, box-shadow .12s ease, filter .08s ease;
}

.pv-identity-wrap .auth-actions .auth-btn {
    width: 100%;
}

.pv-identity-wrap .auth-btn-primary,
.pv-identity-wrap .rz-primary-btn,
.pv-identity-wrap .btn-primary-custom {
    background: var(--pv-green) !important;
    border-color: var(--pv-green) !important;
    color: #fff !important;
}

.pv-identity-wrap .auth-btn-secondary,
.pv-identity-wrap .rz-secondary,
.pv-identity-wrap .btn-secondary-custom {
    background: rgba(255,255,255,.95) !important;
    border: 1px solid rgba(0,0,0,.12) !important;
    color: rgba(0,0,0,.82) !important;
}

.pv-identity-wrap .auth-btn:hover,
.pv-identity-wrap .rz-actions .rz-button:hover,
.pv-identity-wrap .form-actions .rz-button:hover,
.pv-identity-wrap .rz-muted-actions .rz-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0,0,0,.16);
    filter: brightness(.99);
}

.pv-identity-wrap .btn-secondary-custom:hover {
    background: rgba(255,255,255,1) !important;
    filter: none;
}

.pv-identity-wrap .auth-btn-secondary:hover,
.pv-identity-wrap .rz-secondary:hover {
    background: rgba(255,255,255,1) !important;
    filter: none;
}

.pv-identity-wrap .auth-alert {
    border-radius: 12px;
    padding: 12px 14px;
    background: rgba(220,53,69,.08);
    border: 1px solid rgba(220,53,69,.24);
    color: #c62828;
    font-size: 13px;
    line-height: 1.45;
}

.pv-identity-wrap .auth-hint {
    margin-top: 12px;
    color: rgba(0,0,0,.56);
    font-size: 12px;
    line-height: 1.5;
}

.pv-identity-wrap .auth-icon,
.pv-identity-wrap .rz-icon-large {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: rgba(3,97,82,1);
    background: rgba(3,97,82,.10);
}

.pv-identity-wrap .rz-icon-large {
    font-size: 32px;
}

.pv-identity-wrap .auth-success {
    color: rgba(3,97,82,1);
    background: rgba(3,97,82,.10);
}

.pv-identity-wrap .auth-error {
    color: #c62828;
    background: rgba(220,53,69,.10);
}

.pv-identity-wrap .rz-card-like {
    width: 100%;
    max-width: 520px;
    margin: 32px auto 0;
    padding: 28px;
}

.pv-identity-wrap .rz-card-like.rz-card-like-sm {
    max-width: 480px;
}

.pv-identity-wrap .rz-card-like.rz-card-like-md {
    max-width: 500px;
}

.pv-identity-wrap .pv-identity-card {
    width: 100%;
    margin: 32px auto 0;
    padding: 24px;
}

.pv-identity-wrap .pv-identity-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.pv-identity-wrap .pv-identity-card-subtitle {
    margin: 6px 0 10px 0;
    color: rgba(0,0,0,.62);
    font-size: 14px;
    line-height: 1.5;
}

.pv-identity-wrap .pv-identity-form {
    margin-top: 16px;
}

.pv-identity-wrap .pv-identity-disabled {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.08);
    background: rgba(0,0,0,.03);
}

.pv-identity-wrap .pv-identity-disabled input {
    width: 100%;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    outline: none;
    box-shadow: none;
}

.pv-identity-wrap .pv-identity-badge {
    white-space: nowrap;
}

.pv-identity-wrap .pv-identity-inline-action {
    margin-top: 8px;
}

.pv-identity-inline-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pv-identity-inline-nav--card {
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.pv-identity-inline-nav--sidebar {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0,0,0,.08);
    justify-content: stretch;
}

.pv-identity-inline-link {
    min-height: 40px;
    padding-inline: 14px !important;
}

.pv-identity-inline-nav--sidebar .pv-identity-inline-link {
    flex: 1 1 100%;
}

@media (max-width: 600px) {
    .pv-identity-content {
        padding-top: 6px;
        padding-bottom: 10px;
    }

    .pv-identity-wrap {
        width: 100%;
    }

    .pv-identity-wrap .auth-wrap {
        align-items: stretch;
        padding: 10px 12px 18px;
    }

    .pv-identity-wrap .auth-card,
    .pv-identity-wrap .rz-card-like,
    .pv-identity-wrap .pv-identity-card {
        padding: 18px;
    }

    .pv-identity-wrap .auth-card.auth-card-center {
        padding: 20px 18px;
    }

    .pv-identity-wrap .auth-title,
    .pv-identity-wrap .pv-identity-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .pv-identity-wrap .auth-subtitle,
    .pv-identity-wrap .rz-subtitle,
    .pv-identity-wrap .rz-text-muted,
    .pv-identity-wrap .pv-identity-subtitle,
    .pv-identity-wrap .auth-message {
        margin-bottom: 14px;
    }

    .pv-identity-manage-shell {
        gap: 12px;
    }

    .pv-identity-manage-head {
        gap: 10px;
        padding: 0;
    }

    .pv-identity-manage-head .pv-title {
        margin-bottom: 2px;
    }

    .pv-identity-navcard {
        padding: 8px;
    }

    .pv-identity-wrap .auth-grid-2 {
        grid-template-columns: 1fr;
    }

    .pv-identity-globalnav {
        justify-content: stretch;
    }

    .pv-identity-inline-nav {
        flex-direction: column;
    }

    .pv-identity-wrap .auth-actions,
    .pv-identity-wrap .rz-actions,
    .pv-identity-wrap .form-actions,
    .pv-identity-wrap .rz-muted-actions {
        flex-direction: column;
    }

    .pv-identity-wrap .auth-actions .rz-button,
    .pv-identity-wrap .auth-btn,
    .pv-identity-wrap .rz-actions .rz-button,
    .pv-identity-wrap .form-actions .rz-button,
    .pv-identity-wrap .rz-muted-actions .rz-button {
        width: 100%;
    }

    .pv-identity-wrap .pv-identity-card-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .pv-identity-header-actions {
        width: 100%;
    }

    .pv-identity-headpill {
        width: 100%;
        justify-content: center;
    }
}

#components-reconnect-modal {
    display: none;
}

#components-reconnect-modal.components-reconnect-show,
#components-reconnect-modal.components-reconnect-failed,
#components-reconnect-modal.components-reconnect-rejected,
#components-reconnect-modal.pv-reconnect-manual {
    position: fixed;
    inset: 0;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(11, 20, 24, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.pv-reconnect-card {
    width: min(100%, 520px);
    padding: 22px;
    border-radius: 28px;
    background: linear-gradient(160deg, rgba(255,255,255,.98), rgba(244,245,249,.96));
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 28px 60px rgba(0,0,0,.18);
    text-align: center;
    color: rgba(0,0,0,.82);
}

.pv-reconnect-hero {
    margin: 0 auto 14px;
    width: min(100%, 340px);
}

.pv-reconnect-hero svg {
    display: block;
    width: 100%;
    height: auto;
}

.pv-reconnect-road {
    fill: none;
    stroke: #d9c4a3;
    stroke-width: 10;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    animation: pvReconnectRoadDraw 2s ease-in-out infinite;
}

.pv-reconnect-state {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .pv-reconnect-state--show,
#components-reconnect-modal.components-reconnect-failed .pv-reconnect-state--failed,
#components-reconnect-modal.components-reconnect-rejected .pv-reconnect-state--rejected,
#components-reconnect-modal.pv-state-resume .pv-reconnect-state--resume,
#components-reconnect-modal.pv-state-offline .pv-reconnect-state--offline {
    display: block;
}

.pv-reconnect-state h2 {
    margin: 0 0 8px;
    font-size: clamp(1.3rem, 2.8vw, 1.7rem);
    font-weight: 900;
}

.pv-reconnect-state p {
    margin: 0;
    line-height: 1.6;
    color: rgba(0,0,0,.68);
}

.pv-reconnect-attempt {
    margin-top: 10px !important;
    font-weight: 800;
    color: rgba(3,97,82,1) !important;
}

.pv-reconnect-actions {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

#components-reconnect-modal.components-reconnect-failed .pv-reconnect-actions--retry,
#components-reconnect-modal.pv-state-offline .pv-reconnect-actions--retry,
#components-reconnect-modal.components-reconnect-rejected .pv-reconnect-actions--reload,
#components-reconnect-modal.pv-state-resume .pv-reconnect-actions--reload,
#components-reconnect-modal.components-reconnect-show .pv-reconnect-actions--show {
    display: flex;
}

.pv-reconnect-btn {
    min-height: 44px;
    padding: 11px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}

.pv-reconnect-btn:hover {
    transform: translateY(-1px);
}

.pv-reconnect-btn--solid {
    background: rgba(3,97,82,1);
    color: #fff;
    box-shadow: 0 14px 28px rgba(3,97,82,.18);
}

.pv-reconnect-btn--light {
    background: rgba(255,255,255,.95);
    color: rgba(0,0,0,.82);
    border-color: rgba(0,0,0,.12);
    box-shadow: 0 10px 22px rgba(0,0,0,.10);
}

@keyframes pvReconnectRoadDraw {
    0% {
        stroke-dashoffset: 420;
        opacity: .45;
    }

    60% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: .55;
    }
}

@media (max-width: 640px) {
    #components-reconnect-modal.components-reconnect-show,
    #components-reconnect-modal.components-reconnect-failed,
    #components-reconnect-modal.components-reconnect-rejected,
    #components-reconnect-modal.pv-reconnect-manual {
        padding: 14px;
    }

    .pv-reconnect-card {
        padding: 18px;
        border-radius: 22px;
    }

    .pv-reconnect-actions,
    #components-reconnect-modal.components-reconnect-rejected .pv-reconnect-actions--reload,
    #components-reconnect-modal.pv-state-resume .pv-reconnect-actions--reload,
    #components-reconnect-modal.components-reconnect-failed .pv-reconnect-actions--retry,
    #components-reconnect-modal.pv-state-offline .pv-reconnect-actions--retry {
        flex-direction: column;
    }

    .pv-reconnect-btn {
        width: 100%;
    }
}

/* =========================
   Dark Theme
   ========================= */
body.pv-theme-dark {
    color-scheme: dark;
    background: #0f161d;
    color: #e6edf3;
}

body.pv-theme-dark .pv-layout,
body.pv-theme-dark .pv-shell,
body.pv-theme-dark .pv-main,
body.pv-theme-dark .pv-content,
body.pv-theme-dark .pv-wrap {
    background: transparent;
    color: inherit;
}

body.pv-theme-dark .pv-topbar {
    background: #103f37;
}

body.pv-theme-dark .pv-avatarbtn {
    background: #0c6b5d;
    box-shadow: 0 10px 22px rgba(0,0,0,.28);
}

body.pv-theme-dark .pv-sidebar {
    background: linear-gradient(180deg, rgba(16,63,55,.86), rgba(16,24,32,.92)) !important;
    border-right-color: rgba(124,146,168,.24);
    box-shadow: 12px 0 24px rgba(0,0,0,.26);
}

body.pv-theme-dark .pv-overlay {
    background: rgba(7,12,16,.36) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

body.pv-theme-dark .pv-drawer {
    background: linear-gradient(180deg, rgba(18,36,40,.96), rgba(14,24,31,.985)) !important;
    box-shadow: 0 18px 34px rgba(0,0,0,.34);
}

body.pv-theme-dark .pv-user-menu {
    background: #18222c !important;
    border-color: rgba(124,146,168,.24) !important;
    box-shadow: 0 18px 34px rgba(0,0,0,.34);
}

body.pv-theme-dark .pv-menuitem {
    color: #e6edf3 !important;
}

body.pv-theme-dark .pv-menuitem:hover {
    color: #9ed9cb !important;
    background: rgba(70,168,149,.12);
}

body.pv-theme-dark .pv-menuitem.pv-danger {
    color: #ff8d84 !important;
}

body.pv-theme-dark .pv-menuitem.pv-danger:hover {
    background: rgba(180,35,24,.12);
}

body.pv-theme-dark .pv-sep {
    background: rgba(124,146,168,.24);
}

body.pv-theme-dark .pv-card,
body.pv-theme-dark .pv-surface,
body.pv-theme-dark .to-fold,
body.pv-theme-dark .to-panel,
body.pv-theme-dark .to-stat,
body.pv-theme-dark .to-quickcard,
body.pv-theme-dark .pv-identity-wrap .pv-identity-card,
body.pv-theme-dark .pv-identity-wrap .rz-card-like {
    background: #18222c !important;
    color: #e6edf3 !important;
    border-color: rgba(124,146,168,.24) !important;
    box-shadow: 0 12px 24px rgba(0,0,0,.25);
}

body.pv-theme-dark .pv-muted,
body.pv-theme-dark .to-desc,
body.pv-theme-dark .to-foldhead p,
body.pv-theme-dark .to-calendar-event-meta,
body.pv-theme-dark .pv-routeacc-meta,
body.pv-theme-dark .pv-routeacc-state,
body.pv-theme-dark small {
    color: rgba(222,230,238,.72) !important;
}

body.pv-theme-dark .pv-identity-wrap .rz-card,
body.pv-theme-dark .pv-identity-wrap .rz-card-like,
body.pv-theme-dark .pv-identity-wrap .pv-identity-card,
body.pv-theme-dark .pv-identity-wrap .rz-card.rz-shadow-2,
body.pv-theme-dark .pv-identity-wrap .rz-card.rz-shadow-2.rz-border-radius-2xl {
    background: #18222c !important;
    color: #e6edf3 !important;
    border-color: rgba(124,146,168,.24) !important;
}

body.pv-theme-dark .pv-identity-wrap .pv-identity-card-subtitle,
body.pv-theme-dark .pv-identity-wrap .rz-label,
body.pv-theme-dark .pv-identity-wrap .auth-hint,
body.pv-theme-dark .pv-identity-wrap .auth-check > span,
body.pv-theme-dark .pv-identity-wrap .pv-theme-switch-copy span {
    color: rgba(222,230,238,.74) !important;
}

body.pv-theme-dark .pv-identity-wrap .pv-theme-switch {
    background: rgba(255,255,255,.03);
    border-color: rgba(124,146,168,.24);
}

body.pv-theme-dark .pv-identity-wrap .pv-theme-switch-copy strong {
    color: #f3f8fc;
}

body.pv-theme-dark .pv-identity-wrap .pv-theme-switch-track {
    background: rgba(124,146,168,.45);
}

body.pv-theme-dark .pv-identity-wrap .pv-theme-switch-thumb {
    background: #f3f8fc;
}

body.pv-theme-dark .footer {
    background: #141c24;
    color: rgba(230,237,243,.82);
    border-top: 1px solid rgba(124,146,168,.22);
}

body.pv-theme-dark .footer a,
body.pv-theme-dark .footer a:visited {
    color: #9ed9cb !important;
}

body.pv-theme-dark a {
    color: #9ed9cb;
}

body.pv-theme-dark input,
body.pv-theme-dark textarea,
body.pv-theme-dark select,
body.pv-theme-dark .rz-inputtext,
body.pv-theme-dark .rz-textbox,
body.pv-theme-dark .rz-dropdown,
body.pv-theme-dark .rz-dropdown-label,
body.pv-theme-dark .rz-dropdown-trigger,
body.pv-theme-dark .rz-datepicker input,
body.pv-theme-dark .rz-numeric-input,
body.pv-theme-dark .rz-numeric-button {
    background: #111a22 !important;
    color: #e6edf3 !important;
    border-color: rgba(124,146,168,.3) !important;
}

body.pv-theme-dark input:focus,
body.pv-theme-dark textarea:focus,
body.pv-theme-dark select:focus,
body.pv-theme-dark .rz-inputtext:focus,
body.pv-theme-dark .rz-textbox:focus,
body.pv-theme-dark .rz-dropdown:focus-within,
body.pv-theme-dark .rz-numeric-input:focus-within {
    border-color: rgba(70,168,149,1) !important;
    box-shadow: 0 0 0 3px rgba(70,168,149,.25) !important;
}

body.pv-theme-dark .pv-pill.pv-light,
body.pv-theme-dark .btn-secondary-custom,
body.pv-theme-dark .pv-reconnect-btn--light {
    background: #1d2a35 !important;
    color: #e6edf3 !important;
    border-color: rgba(124,146,168,.3) !important;
}

body.pv-theme-dark .pv-pill.pv-light:hover,
body.pv-theme-dark .btn-secondary-custom:hover,
body.pv-theme-dark .pv-reconnect-btn--light:hover {
    background: #243340 !important;
    color: #f3f8fc !important;
    border-color: rgba(124,146,168,.38) !important;
}

body.pv-theme-dark .pv-pill.pv-solid,
body.pv-theme-dark .rz-primary-btn,
body.pv-theme-dark .pv-reconnect-btn--solid {
    background: #0c6b5d !important;
    border-color: #0c6b5d !important;
    color: #f2fffb !important;
}

body.pv-theme-dark .rz-switch,
body.pv-theme-dark .rz-switch .rz-switch-circle {
    box-shadow: none !important;
}

body.pv-theme-dark .rz-switch {
    background: rgba(124,146,168,.5) !important;
}

body.pv-theme-dark .rz-switch.rz-switch-checked {
    background: #0c6b5d !important;
}

body.pv-theme-dark .rz-switch .rz-switch-circle {
    background: #f3f8fc !important;
}

body.pv-theme-dark .pv-mapbox,
body.pv-theme-dark .pv-stat,
body.pv-theme-dark .pv-routeacc-item,
body.pv-theme-dark .pv-routeacc-body,
body.pv-theme-dark .pv-routeacc-quickbar,
body.pv-theme-dark .to-calendar-day,
body.pv-theme-dark .to-calendar-event {
    border-color: rgba(124,146,168,.24) !important;
    background: #1a2530 !important;
}

body.pv-theme-dark .pv-routeacc-title,
body.pv-theme-dark .to-title,
body.pv-theme-dark .to-foldhead h2,
body.pv-theme-dark .pv-sectitle,
body.pv-theme-dark .pv-identity-title {
    color: #f3f8fc !important;
}

body.pv-theme-dark .to-hero,
body.pv-theme-dark .to-quickcard,
body.pv-theme-dark .to-chip,
body.pv-theme-dark .to-panel,
body.pv-theme-dark .to-datewarning,
body.pv-theme-dark .to-mapdialog {
    background: #18222c !important;
    border-color: rgba(124,146,168,.24) !important;
    color: #e6edf3 !important;
}

body.pv-theme-dark .to-overline {
    background: rgba(70,168,149,.12) !important;
    color: #9ed9cb !important;
}

body.pv-theme-dark .to-chip,
body.pv-theme-dark .to-foldmeta,
body.pv-theme-dark .to-calendar-daytotals.is-muted {
    color: rgba(222,230,238,.74) !important;
    background: rgba(255,255,255,.04) !important;
    border-color: rgba(124,146,168,.22) !important;
}

body.pv-theme-dark .to-quickcard b,
body.pv-theme-dark .to-stat b,
body.pv-theme-dark .pv-routeacc-transfer-label,
body.pv-theme-dark .pv-routeacc-category,
body.pv-theme-dark .pv-routeacc-iso {
    color: rgba(158,217,203,.84) !important;
}

body.pv-theme-dark .to-quickcard span,
body.pv-theme-dark .to-stat span,
body.pv-theme-dark .pv-stat b,
body.pv-theme-dark .pv-stat span,
body.pv-theme-dark .pv-routeacc-transfer-route,
body.pv-theme-dark .pv-routeacc-title,
body.pv-theme-dark .pv-routeacc-namehead,
body.pv-theme-dark .to-calendar-event strong {
    color: #f3f8fc !important;
}

body.pv-theme-dark .to-quickcard small,
body.pv-theme-dark .to-stat small,
body.pv-theme-dark .pv-routeacc-transfer-plan,
body.pv-theme-dark .pv-routeacc-coords-text,
body.pv-theme-dark .pv-routeacc-meta,
body.pv-theme-dark .pv-routeacc-state,
body.pv-theme-dark .to-foldhead p,
body.pv-theme-dark .to-desc,
body.pv-theme-dark .to-calendar-event-meta,
body.pv-theme-dark .to-calendar-dayname,
body.pv-theme-dark .to-calendar-date {
    color: rgba(222,230,238,.74) !important;
}

body.pv-theme-dark .pv-routeacc-transfer-card,
body.pv-theme-dark .pv-fuel-field,
body.pv-theme-dark .pv-fuel-resultline {
    background: #1a2530 !important;
    border-color: rgba(124,146,168,.24) !important;
}

body.pv-theme-dark .rz-dialog,
body.pv-theme-dark .rz-dialog-content,
body.pv-theme-dark .rz-dialog-side-content,
body.pv-theme-dark .rz-dialog-titlebar,
body.pv-theme-dark .rz-overlaypanel-content,
body.pv-theme-dark .rz-dropdown-panel,
body.pv-theme-dark .rz-popup,
body.pv-theme-dark .rz-autocomplete-panel,
body.pv-theme-dark .rz-multiselect-panel {
    background: #18222c !important;
    color: #e6edf3 !important;
    border-color: rgba(124,146,168,.24) !important;
}

body.pv-theme-dark .rz-dialog {
    box-shadow: 0 22px 48px rgba(0,0,0,.34) !important;
}

body.pv-theme-dark .rz-dialog-content,
body.pv-theme-dark .rz-dialog-content .rz-text,
body.pv-theme-dark .rz-dialog-content p,
body.pv-theme-dark .rz-dialog-content label,
body.pv-theme-dark .rz-dialog-content strong,
body.pv-theme-dark .rz-dialog-content small,
body.pv-theme-dark .rz-dialog-confirm-message,
body.pv-theme-dark .rz-message-dialog-content,
body.pv-theme-dark .rz-dialog-side-content {
    color: #e6edf3 !important;
}

body.pv-theme-dark .rz-dialog-content .rz-stack,
body.pv-theme-dark .rz-dialog-content .rz-stack-row,
body.pv-theme-dark .rz-dialog-content .rz-stack-column,
body.pv-theme-dark .rz-dialog-confirm,
body.pv-theme-dark .rz-message-dialog {
    background: transparent !important;
    color: #e6edf3 !important;
}

body.pv-theme-dark .rz-dialog-titlebar,
body.pv-theme-dark .rz-dialog-title,
body.pv-theme-dark .rz-dialog-titlebar-close,
body.pv-theme-dark .rz-dialog-titlebar-close .rzi,
body.pv-theme-dark .rz-dialog-titlebar-close .rz-icon {
    color: #f3f8fc !important;
}

body.pv-theme-dark .rz-dialog-content .rz-button:not(.pv-accent):not(.pv-solid):not(.rz-primary),
body.pv-theme-dark .rz-dialog-confirm .rz-button:not(.pv-accent):not(.pv-solid):not(.rz-primary),
body.pv-theme-dark .rz-message-dialog .rz-button:not(.pv-accent):not(.pv-solid):not(.rz-primary) {
    background: #1d2a35 !important;
    color: #e6edf3 !important;
    border-color: rgba(124,146,168,.30) !important;
}

body.pv-theme-dark .rz-dialog-content .rz-button:not(.pv-accent):not(.pv-solid):not(.rz-primary):hover,
body.pv-theme-dark .rz-dialog-confirm .rz-button:not(.pv-accent):not(.pv-solid):not(.rz-primary):hover,
body.pv-theme-dark .rz-message-dialog .rz-button:not(.pv-accent):not(.pv-solid):not(.rz-primary):hover {
    background: #243340 !important;
    color: #f3f8fc !important;
    border-color: rgba(124,146,168,.38) !important;
}

body.pv-theme-dark .rz-dialog-content .rz-button.pv-accent,
body.pv-theme-dark .rz-dialog-confirm .rz-button.pv-accent,
body.pv-theme-dark .rz-message-dialog .rz-button.pv-accent,
body.pv-theme-dark .rz-dialog-content .rz-button.rz-danger,
body.pv-theme-dark .rz-dialog-confirm .rz-button.rz-danger,
body.pv-theme-dark .rz-message-dialog .rz-button.rz-danger {
    background: #c25815 !important;
    color: #fff7f2 !important;
    border-color: rgba(255,159,115,.32) !important;
}

body.pv-theme-dark .rz-dialog-content .rz-button.pv-accent:hover,
body.pv-theme-dark .rz-dialog-confirm .rz-button.pv-accent:hover,
body.pv-theme-dark .rz-message-dialog .rz-button.pv-accent:hover,
body.pv-theme-dark .rz-dialog-content .rz-button.rz-danger:hover,
body.pv-theme-dark .rz-dialog-confirm .rz-button.rz-danger:hover,
body.pv-theme-dark .rz-message-dialog .rz-button.rz-danger:hover {
    background: #d96a24 !important;
    color: #fffaf6 !important;
    border-color: rgba(255,173,133,.42) !important;
}

body.pv-theme-dark .rz-dropdown-filter,
body.pv-theme-dark .rz-dropdown-panel .rz-inputtext,
body.pv-theme-dark .rz-autocomplete-panel .rz-inputtext {
    background: #111a22 !important;
    color: #f3f8fc !important;
    border-color: rgba(124,146,168,.28) !important;
}

body.pv-theme-dark .rz-dropdown-item,
body.pv-theme-dark .rz-multiselect-item,
body.pv-theme-dark .rz-autocomplete-list-item,
body.pv-theme-dark .rz-listbox-item {
    color: #e6edf3 !important;
    background: transparent !important;
}

body.pv-theme-dark .rz-dropdown-item:hover,
body.pv-theme-dark .rz-multiselect-item:hover,
body.pv-theme-dark .rz-autocomplete-list-item:hover,
body.pv-theme-dark .rz-listbox-item:hover {
    background: rgba(70,168,149,.10) !important;
}

body.pv-theme-dark .rz-datepicker-calendar,
body.pv-theme-dark .rz-calendar,
body.pv-theme-dark .rz-calendar-header,
body.pv-theme-dark .rz-monthpicker,
body.pv-theme-dark .rz-yearpicker,
body.pv-theme-dark .rz-datatable,
body.pv-theme-dark .rz-data-grid,
body.pv-theme-dark .rz-grid-table-wrapper,
body.pv-theme-dark .rz-datatable-wrapper {
    background: #18222c !important;
    color: #e6edf3 !important;
    border-color: rgba(124,146,168,.24) !important;
}

body.pv-theme-dark .rz-calendar-header {
    box-shadow: inset 0 -1px 0 rgba(124,146,168,.18) !important;
}

body.pv-theme-dark .rz-calendar-header a,
body.pv-theme-dark .rz-calendar-header button,
body.pv-theme-dark .rz-calendar-nav,
body.pv-theme-dark .rz-calendar-title,
body.pv-theme-dark .rz-calendar-view,
body.pv-theme-dark .rz-calendar-next-view,
body.pv-theme-dark .rz-calendar-prev-view,
body.pv-theme-dark .rz-calendar .rz-button,
body.pv-theme-dark .rz-monthpicker .rz-button,
body.pv-theme-dark .rz-yearpicker .rz-button {
    color: #f3f8fc !important;
}

body.pv-theme-dark .rz-calendar-header .rz-dropdown,
body.pv-theme-dark .rz-calendar-header .rz-dropdown-label,
body.pv-theme-dark .rz-calendar-header .rz-dropdown-trigger {
    background: #111a22 !important;
    color: #f3f8fc !important;
    border-color: rgba(124,146,168,.28) !important;
}

body.pv-theme-dark .rz-calendar table th,
body.pv-theme-dark .rz-calendar table td,
body.pv-theme-dark .rz-calendar .rz-calendar-view table td,
body.pv-theme-dark .rz-monthpicker .rz-button,
body.pv-theme-dark .rz-yearpicker .rz-button {
    color: rgba(222,230,238,.74) !important;
}

body.pv-theme-dark .rz-calendar .rz-state-default,
body.pv-theme-dark .rz-monthpicker .rz-state-default,
body.pv-theme-dark .rz-yearpicker .rz-state-default {
    background: transparent !important;
    color: rgba(222,230,238,.74) !important;
    border-color: transparent !important;
}

body.pv-theme-dark .rz-calendar .rz-state-hover,
body.pv-theme-dark .rz-monthpicker .rz-state-hover,
body.pv-theme-dark .rz-yearpicker .rz-state-hover {
    background: rgba(255,255,255,.06) !important;
    color: #f3f8fc !important;
    border-color: rgba(124,146,168,.24) !important;
}

body.pv-theme-dark .rz-datatable-table,
body.pv-theme-dark .rz-grid-table,
body.pv-theme-dark .rz-datatable-table thead,
body.pv-theme-dark .rz-datatable-table tbody,
body.pv-theme-dark .rz-grid-table thead,
body.pv-theme-dark .rz-grid-table tbody,
body.pv-theme-dark .rz-datatable-table tr,
body.pv-theme-dark .rz-grid-table tr {
    background: #18222c !important;
    color: #e6edf3 !important;
}

body.pv-theme-dark .rz-datatable-table th,
body.pv-theme-dark .rz-grid-table th {
    background: #1d2a35 !important;
    color: #f3f8fc !important;
    border-color: rgba(124,146,168,.24) !important;
}

body.pv-theme-dark .rz-datatable-table td,
body.pv-theme-dark .rz-grid-table td,
body.pv-theme-dark .rz-cell-data,
body.pv-theme-dark .rz-column-title,
body.pv-theme-dark .rz-sortable-column,
body.pv-theme-dark .rz-sortable-column-icon,
body.pv-theme-dark .rz-datatable-data td,
body.pv-theme-dark .rz-grid-table td .rz-text {
    background: #18222c !important;
    color: #e6edf3 !important;
    border-color: rgba(124,146,168,.18) !important;
}

body.pv-theme-dark .rz-datatable-table tbody tr:hover td,
body.pv-theme-dark .rz-grid-table tbody tr:hover td {
    background: rgba(255,255,255,.04) !important;
}

body.pv-theme-dark .rz-state-highlight,
body.pv-theme-dark .rz-dropdown-item.rz-state-highlight,
body.pv-theme-dark .rz-multiselect-item.rz-state-highlight,
body.pv-theme-dark .rz-autocomplete-list-item.rz-state-highlight,
body.pv-theme-dark .rz-listbox-item.rz-state-highlight,
body.pv-theme-dark .rz-calendar .rz-state-active,
body.pv-theme-dark .rz-monthpicker .rz-state-active,
body.pv-theme-dark .rz-yearpicker .rz-state-active {
    background: rgba(12,107,93,.18) !important;
    color: #9ed9cb !important;
}

body.pv-theme-dark .trip-card,
body.pv-theme-dark .trip-hero,
body.pv-theme-dark .trip-chip,
body.pv-theme-dark .trip-desc,
body.pv-theme-dark .pv-cat,
body.pv-theme-dark .pv-item-card,
body.pv-theme-dark .pv-userrow,
body.pv-theme-dark .pv-routecard,
body.pv-theme-dark .pv-colorcard,
body.pv-theme-dark .pv-statbox,
body.pv-theme-dark .pv-dlgwrap,
body.pv-theme-dark .tp-menupanel {
    background: #1a2530 !important;
    color: #e6edf3 !important;
    border-color: rgba(124,146,168,.24) !important;
}

body.pv-theme-dark .trip-hero {
    background: linear-gradient(120deg, rgba(16,63,55,.28), rgba(217,196,163,.18)) !important;
}

body.pv-theme-dark .trip-chip,
body.pv-theme-dark .pv-count,
body.pv-theme-dark .pv-check,
body.pv-theme-dark .pv-route-kebab summary,
body.pv-theme-dark .pv-route-kebab-item,
body.pv-theme-dark .pv-visit-toggle,
body.pv-theme-dark .pv-dnd-handle,
body.pv-theme-dark .pv-route-randmini,
body.pv-theme-dark .tp-menutrigger,
body.pv-theme-dark .tp-menuitem.is-current,
body.pv-theme-dark .tp-menuitem.is-disabled {
    background: rgba(255,255,255,.05) !important;
    border-color: rgba(124,146,168,.24) !important;
    color: #e6edf3 !important;
}

body.pv-theme-dark .pv-iconbtn.rz-button,
body.pv-theme-dark .pv-iconbtn.rz-button:hover,
body.pv-theme-dark .pv-tripopen.rz-button,
body.pv-theme-dark .pv-morebtn.rz-button,
body.pv-theme-dark .pv-arrowbtn.rz-button,
body.pv-theme-dark .pv-movebtn.rz-button {
    background: rgba(255,255,255,.05) !important;
    border-color: rgba(124,146,168,.24) !important;
    color: #e6edf3 !important;
}

body.pv-theme-dark .pv-iconbtn.pv-edit,
body.pv-theme-dark .pv-tripopen-icon,
body.pv-theme-dark .tp-menuicon,
body.pv-theme-dark .tp-menuitem:hover {
    color: #9ed9cb !important;
}

body.pv-theme-dark .pv-iconbtn.pv-danger,
body.pv-theme-dark .pv-route-kebab-item.pv-danger {
    color: #ff9f73 !important;
    border-color: rgba(255,159,115,.28) !important;
}

body.pv-theme-dark .trip-title,
body.pv-theme-dark .trip-desc,
body.pv-theme-dark .pv-item-name,
body.pv-theme-dark .pv-cat-title,
body.pv-theme-dark .tp-menuitem,
body.pv-theme-dark .pv-dlgtitle,
body.pv-theme-dark .pv-statvalue {
    color: #f3f8fc !important;
}

body.pv-theme-dark .trip-date,
body.pv-theme-dark .trip-meta,
body.pv-theme-dark .trip-chip,
body.pv-theme-dark .pv-thumbph,
body.pv-theme-dark .pv-thumbph .rz-icon,
body.pv-theme-dark .pv-statvalue.is-iso,
body.pv-theme-dark .tp-menuitem small,
body.pv-theme-dark .pv-dlgsub,
body.pv-theme-dark .pv-popsub,
body.pv-theme-dark .pv-popnext {
    color: rgba(222,230,238,.74) !important;
}

body.pv-theme-dark .autoComplete_wrapper input,
body.pv-theme-dark .pv-iso input,
body.pv-theme-dark .pv-colorpick,
body.pv-theme-dark .pv-randbtn {
    background: #111a22 !important;
    color: #f3f8fc !important;
    border-color: rgba(124,146,168,.28) !important;
}

body.pv-theme-dark .pv-colorhex,
body.pv-theme-dark .pv-colortitle,
body.pv-theme-dark .pv-helptext-sm {
    color: rgba(222,230,238,.74) !important;
}

body.pv-theme-dark .pv-fuel-field .rz-icon,
body.pv-theme-dark .pv-fuel-unit {
    color: rgba(222,230,238,.72) !important;
}

body.pv-theme-dark .pv-fuel-unit {
    background: rgba(255,255,255,.06) !important;
}

body.pv-theme-dark .pv-fuel-field .rz-numeric {
    background: #111a22 !important;
    border-color: rgba(124,146,168,.28) !important;
}

body.pv-theme-dark .pv-fuel-field .rz-inputtext {
    color: #f3f8fc !important;
}

body.pv-theme-dark .pv-routeacc-visitbtn {
    background: rgba(255,255,255,.04) !important;
    border-color: rgba(124,146,168,.24) !important;
    color: rgba(222,230,238,.78) !important;
}

body.pv-theme-dark .pv-routeacc-visitbtn.is-visited {
    background: rgba(12,107,93,.16) !important;
    border-color: rgba(70,168,149,.42) !important;
    color: #9ed9cb !important;
}

body.pv-theme-dark .pv-routeacc-navlink {
    border-color: rgba(124,146,168,.22) !important;
}

body.pv-theme-dark .to-calendar-day,
body.pv-theme-dark .to-calendar-event,
body.pv-theme-dark .to-stat,
body.pv-theme-dark .to-panel {
    background: #1a2530 !important;
    border-color: rgba(124,146,168,.24) !important;
}

body.pv-theme-dark .to-datewarning {
    background: rgba(185,28,28,.12) !important;
    border-color: rgba(248,113,113,.32) !important;
    color: #fecaca !important;
}

body.pv-theme-dark .pv-reconnect-card {
    background: linear-gradient(160deg, rgba(21,31,40,.98), rgba(16,23,31,.96));
    border-color: rgba(124,146,168,.26);
    color: #e6edf3;
}

body.pv-theme-dark .pv-reconnect-state p {
    color: rgba(222,230,238,.78);
}
