.nv-client-theme,
.nv-login-page {
    min-height: 100vh;
    color: var(--nv-text);
    background: var(--nv-navy);
    font-family: Inter, "Segoe UI", sans-serif;
}

.nv-client-theme {
    height: 100vh;
    overflow: hidden;
}

.nv-client-theme *,
.nv-login-page * {
    box-sizing: border-box;
}

.nv-client-theme :focus-visible {
    outline: 2px solid var(--nv-teal);
    outline-offset: 3px;
}

.nv-skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 9999;
    padding: 9px 12px;
    color: #06151b;
    background: var(--nv-teal);
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 700;
    transform: translateY(-150%);
    transition: transform .18s ease;
}

.nv-skip-link:focus {
    transform: translateY(0);
}

.nv-shell {
    display: flex;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 70% 0%, rgba(0, 184, 255, .07), transparent 34%),
        var(--nv-navy);
}

.nv-shell-main {
    display: flex;
    min-height: 0;
    height: 100vh;
    width: calc(100% - var(--nv-sidebar-width));
    margin-left: var(--nv-sidebar-width);
    flex-direction: column;
    background: transparent !important;
}

.nv-shell-content {
    flex: 1 1 auto;
    min-height: 0;
    padding: 26px 30px 86px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    background: transparent !important;
}

.nv-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 30;
    display: flex;
    width: var(--nv-sidebar-width);
    padding: 18px 14px;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    color: var(--nv-text);
    background: rgba(5, 13, 23, .98);
    border-right: 1px solid var(--nv-border);
}

.nv-brand,
.nv-login-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -.04em;
    text-decoration: none;
}

.nv-brand {
    padding: 4px 8px 16px;
}

.nv-brand-mark {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    color: var(--nv-navy-deep);
    background: linear-gradient(135deg, var(--nv-teal), var(--nv-cyan));
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 229, 212, .2);
}

.nv-sidebar-nav {
    display: grid;
    gap: 3px;
}

.nv-sidebar-nav-secondary {
    margin-top: auto;
}

.nv-nav-link {
    display: flex;
    min-height: 38px;
    padding: 9px 10px;
    align-items: center;
    gap: 10px;
    color: var(--nv-muted);
    border-radius: var(--nv-radius-sm);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    transition: .2s ease;
}

.nv-nav-link:hover,
.nv-nav-link.active {
    color: var(--nv-teal);
    background: var(--nv-teal-soft);
}

.nv-nav-link > i:first-child {
    width: 17px;
    font-size: .95rem;
    text-align: center;
}

.nv-nav-lock {
    margin-left: auto;
    color: #708299;
    font-size: .7rem;
}

.nv-plan-card {
    display: grid;
    gap: 7px;
    margin: 6px 0;
    padding: 13px;
    background: linear-gradient(135deg, rgba(0, 229, 212, .09), rgba(0, 184, 255, .03));
    border: 1px solid rgba(0, 229, 212, .2);
    border-radius: var(--nv-radius-md);
}

.nv-plan-card span,
.nv-plan-card small {
    color: var(--nv-muted);
    font-size: .7rem;
}

.nv-plan-card strong {
    color: var(--nv-teal);
    font-size: .96rem;
}

.nv-plan-card a {
    padding: 7px 8px;
    color: var(--nv-teal);
    border: 1px solid rgba(0, 229, 212, .38);
    border-radius: 7px;
    font-size: .74rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.nv-sidebar-user {
    display: flex;
    padding: 11px 6px 4px;
    align-items: center;
    gap: 9px;
    border-top: 1px solid var(--nv-border);
}

.nv-user-avatar {
    display: flex;
    width: 33px;
    height: 33px;
    align-items: center;
    justify-content: center;
    color: var(--nv-navy);
    background: var(--nv-teal);
    border-radius: 50%;
    font-size: .7rem;
    font-weight: 800;
}

.nv-sidebar-user strong,
.nv-sidebar-user small {
    display: block;
    max-width: 166px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nv-sidebar-user strong {
    color: #fff;
    font-size: .75rem;
}

.nv-sidebar-user small {
    margin-top: 2px;
    color: var(--nv-muted);
    font-size: .64rem;
}

.nv-sidebar-logout {
    display: flex;
    padding: 8px 6px;
    align-items: center;
    gap: 9px;
    color: var(--nv-muted);
    background: transparent;
    border: 0;
    font-size: .8rem;
    font-weight: 600;
}

.nv-topbar {
    display: flex;
    height: var(--nv-topbar-height);
    padding: 16px 30px;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    background: rgba(5, 13, 23, .8) !important;
    border-bottom: 1px solid var(--nv-border);
}

.nv-global-search {
    display: flex;
    width: min(100%, 420px);
    margin-right: auto;
    padding: 0 13px;
    align-items: center;
    gap: 10px;
    color: var(--nv-muted);
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-sm);
}

.nv-global-search input {
    width: 100%;
    padding: 9px 0;
    color: var(--nv-text);
    background: transparent;
    border: 0;
    outline: 0;
    font-size: .78rem;
}

.nv-topbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nv-icon-button,
.nv-account-switch,
.nv-mobile-menu {
    color: var(--nv-muted);
    background: transparent;
    border: 0;
}

.nv-icon-button {
    position: relative;
    font-size: 1.05rem;
}

.nv-icon-button span {
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 1px 5px;
    color: #fff;
    background: var(--nv-danger);
    border-radius: 20px;
    font-size: .59rem;
    font-weight: 800;
}

.nv-account-switch {
    display: flex;
    padding: 10px 12px;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-sm);
    font-size: .76rem;
}

.nv-mobile-menu {
    display: none;
    font-size: 1.4rem;
}

.nv-dashboard-header,
.nv-page-header {
    display: flex;
    margin-bottom: 22px;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.nv-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: var(--nv-teal);
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.nv-dashboard-header h1,
.nv-page-header h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.45rem, 3vw, 2.05rem);
    letter-spacing: -.05em;
}

.nv-dashboard-header p,
.nv-page-header p,
.nv-module-section p {
    margin: 6px 0 0;
    color: var(--nv-muted);
    font-size: .82rem;
}

.nv-button {
    display: inline-flex;
    padding: 9px 15px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: var(--nv-radius-sm);
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
    transition: .2s ease;
}

.nv-button-primary {
    color: #042020;
    background: linear-gradient(135deg, var(--nv-teal), #00c4df);
}

.nv-button-primary:hover {
    color: #042020;
    box-shadow: 0 10px 24px rgba(0, 229, 212, .2);
    transform: translateY(-1px);
}

.nv-button-outline {
    color: var(--nv-teal);
    background: transparent;
    border-color: rgba(0, 229, 212, .4);
}

.nv-metric-grid {
    display: grid;
    margin-bottom: 16px;
    gap: 12px;
    grid-template-columns: repeat(5, 1fr);
}

.nv-metric-card,
.nv-panel,
.nv-module-card,
.nv-state-card,
.nv-locked-banner {
    background: linear-gradient(145deg, rgba(18, 34, 53, .92), rgba(10, 24, 38, .95));
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-md);
    box-shadow: var(--nv-shadow-card);
}

.nv-metric-card {
    display: grid;
    min-height: 118px;
    padding: 15px;
    gap: 3px;
}

.nv-metric-card i {
    margin-bottom: 2px;
    color: var(--nv-teal);
    font-size: 1.25rem;
}

.nv-metric-card span,
.nv-metric-card small {
    color: var(--nv-muted);
    font-size: .69rem;
}

.nv-metric-card strong {
    color: #fff;
    font-size: 1.25rem;
}

.nv-dashboard-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, .82fr) minmax(230px, .72fr);
}

.nv-panel {
    min-width: 0;
    padding: 14px;
}

.nv-panel-heading {
    display: flex;
    min-height: 24px;
    margin-bottom: 12px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
}

.nv-panel-heading a,
.nv-selected-vehicle > a,
.nv-module-card a,
.nv-link {
    color: var(--nv-teal);
    font-size: .69rem;
    font-weight: 800;
    text-decoration: none;
}

.nv-panel-heading .bi-circle-fill {
    margin-right: 5px;
    color: var(--nv-success);
    font-size: .5rem;
}

.nv-map-canvas {
    position: relative;
    height: 270px;
    overflow: hidden;
    background:
        linear-gradient(115deg, transparent 48%, rgba(142, 160, 183, .12) 49%, transparent 50%),
        linear-gradient(25deg, transparent 48%, rgba(142, 160, 183, .12) 49%, transparent 50%),
        repeating-linear-gradient(90deg, transparent 0 74px, rgba(142, 160, 183, .06) 75px 76px),
        repeating-linear-gradient(0deg, transparent 0 52px, rgba(142, 160, 183, .06) 53px 54px),
        #0a1928;
    border-radius: 9px;
}

.nv-map-canvas.has-google-preview {
    background: #091827;
}

.nv-map-canvas > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nv-map-canvas.has-google-preview::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 13, 23, .05), rgba(5, 13, 23, .38)),
        radial-gradient(circle at 50% 48%, transparent 0 42px, rgba(5, 13, 23, .12) 43px);
    content: "";
    pointer-events: none;
}

.nv-map-car-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    background: var(--nv-teal);
    border: 4px solid rgba(5, 13, 23, .76);
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .36);
    transform: translate(-50%, -50%);
}

.nv-map-car-marker img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .35));
}

.nv-map-route {
    position: absolute;
    display: block;
    height: 4px;
    background: var(--nv-teal);
    border-radius: 10px;
    box-shadow: 0 0 18px rgba(0, 229, 212, .55);
    transform-origin: left center;
}

.route-a {
    top: 57%;
    left: 15%;
    width: 44%;
    transform: rotate(-18deg);
}

.route-b {
    top: 43%;
    left: 54%;
    width: 30%;
    transform: rotate(28deg);
}

.nv-map-point {
    position: absolute;
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    color: #032024;
    background: var(--nv-teal);
    border: 3px solid #083746;
    border-radius: 50%;
}

.point-a {
    top: 35%;
    left: 53%;
}

.point-b {
    top: 62%;
    left: 18%;
    background: var(--nv-success);
}

.nv-map-legend {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 7px 9px;
    color: var(--nv-muted);
    background: rgba(5, 13, 23, .84);
    border: 1px solid var(--nv-border);
    border-radius: 7px;
    font-size: .64rem;
}

.nv-map-legend span {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    background: var(--nv-success);
    border-radius: 50%;
}

.nv-status-pill {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 4px 7px;
    align-items: center;
    gap: 6px;
    color: var(--nv-success);
    background: rgba(34, 197, 94, .1);
    border-radius: 30px;
    font-size: .64rem;
    font-weight: 800;
}

.nv-status-pill i {
    font-size: .44rem;
}

.nv-vehicle-hero {
    display: flex;
    margin-bottom: 12px;
    align-items: center;
    gap: 14px;
}

.nv-vehicle-hero > i {
    color: var(--nv-teal);
    font-size: 3.3rem;
}

.nv-vehicle-hero h2 {
    margin: 0;
    color: #fff;
    font-size: 1rem;
}

.nv-vehicle-hero strong {
    color: var(--nv-muted);
    font-size: .76rem;
}

.nv-selected-vehicle p {
    color: var(--nv-muted);
    font-size: .69rem;
}

.nv-vehicle-stats {
    display: grid;
    margin: 13px 0;
    padding: 11px 0;
    grid-template-columns: repeat(3, 1fr);
    border-block: 1px solid var(--nv-border);
}

.nv-vehicle-stats span {
    color: var(--nv-muted);
    font-size: .6rem;
    text-align: center;
}

.nv-vehicle-stats strong {
    display: block;
    color: #fff;
    font-size: .8rem;
}

.nv-alert-panel {
    display: grid;
    align-content: start;
    gap: 8px;
}

.nv-alert-item {
    display: flex;
    padding: 10px;
    gap: 9px;
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 8px;
}

.nv-alert-item > i {
    color: var(--nv-warning);
}

.nv-alert-item strong,
.nv-alert-item span,
.nv-alert-item small {
    display: block;
}

.nv-alert-item strong {
    color: #fff;
    font-size: .69rem;
}

.nv-alert-item span,
.nv-alert-item small {
    margin-top: 2px;
    color: var(--nv-muted);
    font-size: .6rem;
}

.nv-module-section {
    margin-top: 22px;
}

.nv-module-section h2 {
    margin: 0;
    color: #fff;
    font-size: 1.2rem;
}

.nv-module-grid {
    display: grid;
    margin-top: 14px;
    gap: 12px;
    grid-template-columns: repeat(4, 1fr);
}

.nv-module-card {
    display: grid;
    min-height: 196px;
    padding: 15px;
    align-content: start;
    gap: 7px;
}

.nv-module-card.is-locked {
    opacity: .78;
}

.nv-module-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nv-module-card-top > i:first-child {
    color: var(--nv-teal);
    font-size: 1.2rem;
}

.nv-module-card-top span {
    padding: 3px 7px;
    color: var(--nv-teal);
    border: 1px solid rgba(0, 229, 212, .42);
    border-radius: 20px;
    font-size: .58rem;
    font-weight: 800;
}

.nv-module-card-lock {
    margin-left: auto;
    color: var(--nv-muted) !important;
    font-size: .77rem !important;
}

.nv-module-card h3 {
    margin: 4px 0 0;
    color: #fff;
    font-size: .88rem;
}

.nv-module-card p,
.nv-module-card small {
    margin: 0;
    color: var(--nv-muted);
    font-size: .69rem;
    line-height: 1.5;
}

.nv-module-plan {
    display: block;
    color: var(--nv-warning) !important;
}

.nv-module-benefits {
    display: grid;
    margin: 8px 0;
    padding: 0;
    gap: 4px;
    color: var(--nv-muted);
    font-size: .63rem;
    list-style: none;
}

.nv-module-benefits i {
    margin-right: 4px;
    color: var(--nv-teal);
}

.nv-module-card a {
    margin-top: auto;
    padding-top: 5px;
}

.nv-state-card {
    display: grid;
    min-height: 320px;
    padding: 42px;
    place-items: center;
    align-content: center;
    gap: 10px;
    text-align: center;
}

.nv-state-card h2 {
    margin: 0;
    color: #fff;
    font-size: 1.1rem;
}

.nv-state-card p {
    max-width: 520px;
    margin: 0 0 8px;
    color: var(--nv-muted);
    font-size: .82rem;
}

.nv-state-icon {
    color: var(--nv-teal);
    font-size: 2.2rem;
}

.nv-state-icon.is-danger {
    color: var(--nv-danger);
}

.nv-state-loading {
    display: grid;
    justify-items: stretch;
}

.nv-skeleton {
    width: 100%;
    height: 14px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .11), rgba(255, 255, 255, .04));
    border-radius: 10px;
    animation: nv-pulse 1.4s infinite;
}

.nv-skeleton-title {
    width: 35%;
    height: 26px;
}

.nv-skeleton-short {
    width: 62%;
}

@keyframes nv-pulse {
    50% { opacity: .46; }
}

.nv-locked-banner {
    display: grid;
    min-height: 380px;
    padding: 30px;
    align-items: center;
    gap: 24px;
    grid-template-columns: minmax(220px, .55fr) minmax(0, 1fr);
    border-color: rgba(0, 229, 212, .2);
}

.nv-locked-visual {
    display: grid;
    min-height: 265px;
    place-items: center;
    background: radial-gradient(circle, rgba(0, 229, 212, .18), transparent 62%);
    border: 1px solid rgba(0, 229, 212, .16);
    border-radius: var(--nv-radius-lg);
}

.nv-locked-visual i {
    color: var(--nv-teal);
    font-size: 4.3rem;
    filter: drop-shadow(0 0 22px rgba(0, 229, 212, .55));
}

.nv-locked-content > span {
    display: inline-flex;
    padding: 5px 9px;
    color: var(--nv-teal);
    background: var(--nv-teal-soft);
    border-radius: 20px;
    font-size: .68rem;
    font-weight: 800;
}

.nv-locked-content h2 {
    margin: 15px 0 6px;
    color: #fff;
}

.nv-locked-content p,
.nv-locked-content li {
    color: var(--nv-muted);
    font-size: .82rem;
}

.nv-locked-content ul {
    display: grid;
    margin: 18px 0;
    padding: 0;
    gap: 8px;
    list-style: none;
}

.nv-locked-content li i {
    margin-right: 7px;
    color: var(--nv-success);
}

.nv-inline-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nv-placeholder-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1.5fr) minmax(250px, .5fr);
}

.nv-placeholder-main {
    min-height: 320px;
}

.nv-placeholder-main h2,
.nv-placeholder-side h3 {
    color: #fff;
}

.nv-placeholder-main p,
.nv-placeholder-side p {
    color: var(--nv-muted);
    font-size: .82rem;
}

.nv-placeholder-lines {
    display: grid;
    margin-top: 34px;
    gap: 12px;
}

.nv-placeholder-lines span {
    display: block;
    height: 35px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 8px;
}

.nv-placeholder-side > i {
    color: var(--nv-teal);
    font-size: 1.7rem;
}

.nv-placeholder-side code {
    display: block;
    margin-top: 20px;
    padding: 9px;
    color: var(--nv-teal);
    background: rgba(0, 229, 212, .07);
    border-radius: 7px;
    font-size: .67rem;
}

.nv-route-loading {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    background: var(--nv-navy);
}

.nv-login-page {
    --nv-navy: #081320;
    --nv-navy-deep: #050d17;
    --nv-teal: #00e5d4;
    --nv-cyan: #00b8ff;
    --nv-danger: #ef4444;
    --nv-text: #f8fafc;
    --nv-muted: #8da0b7;
    --nv-border: rgba(255, 255, 255, .10);
    --nv-radius-sm: 8px;
    --nv-radius-md: 12px;
    display: grid;
    color: #172033;
    grid-template-columns: minmax(420px, .88fr) minmax(0, 1.12fr);
}

.nv-login-panel {
    display: grid;
    padding: 40px;
    place-items: center;
    background: #f8fafc;
}

.nv-login-box {
    width: min(100%, 430px);
}

.nv-login-brand {
    margin-bottom: 56px;
    color: #0b1a27;
    font-size: 1.35rem;
}

.nv-login-box h1 {
    margin: 0;
    color: #0b1a27;
    font-size: 2rem;
    letter-spacing: -.06em;
}

.nv-login-box > p {
    margin: 9px 0 28px;
    color: #64748b;
    font-size: .9rem;
    line-height: 1.55;
}

.nv-form-field {
    display: block;
    margin-bottom: 15px;
}

.nv-form-field > span {
    display: block;
    margin-bottom: 6px;
    color: #334155;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.nv-form-field > div {
    display: flex;
    padding: 0 13px;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #dbe3ed;
    border-radius: 10px;
}

.nv-form-field i {
    color: #94a3b8;
}

.nv-form-field input {
    width: 100%;
    padding: 12px 0;
    color: #1e293b;
    background: transparent;
    border: 0;
    outline: 0;
    font-size: .86rem;
}

.nv-checkbox {
    display: flex;
    margin: 10px 0 18px;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: .75rem;
}

.nv-login-submit {
    width: 100%;
    border: 0;
}

.nv-login-error {
    display: flex;
    margin-bottom: 14px;
    padding: 10px;
    gap: 8px;
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    font-size: .75rem;
}

.validation-message {
    display: block;
    margin-top: 4px;
    color: #b91c1c;
    font-size: .7rem;
}

.nv-demo-access {
    display: flex;
    margin-top: 22px;
    padding-top: 16px;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    border-top: 1px solid #e2e8f0;
}

.nv-demo-access strong {
    width: 100%;
    margin-bottom: 4px;
    color: #64748b;
    font-size: .67rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.nv-demo-access button {
    padding: 5px 8px;
    color: #0f766e;
    background: #ecfeff;
    border: 1px solid #a5f3fc;
    border-radius: 20px;
    font-size: .66rem;
    font-weight: 800;
}

.nv-login-showcase {
    position: relative;
    display: grid;
    overflow: hidden;
    place-items: center;
    color: #fff;
    background: var(--nv-navy);
}

.nv-login-grid {
    position: absolute;
    inset: 0;
    opacity: .4;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 54px 54px;
}

.nv-login-glow {
    position: absolute;
    width: 520px;
    height: 520px;
    background: rgba(0, 229, 212, .13);
    border-radius: 50%;
    filter: blur(70px);
}

.nv-showcase-content {
    position: relative;
    width: min(82%, 620px);
}

.nv-showcase-pill {
    display: inline-flex;
    padding: 7px 10px;
    align-items: center;
    gap: 8px;
    color: var(--nv-teal);
    background: rgba(0, 229, 212, .08);
    border: 1px solid rgba(0, 229, 212, .22);
    border-radius: 30px;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.nv-showcase-pill i {
    font-size: .42rem;
}

.nv-showcase-content h2 {
    max-width: 580px;
    margin: 20px 0 10px;
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -.08em;
    line-height: 1.05;
}

.nv-showcase-content p {
    max-width: 500px;
    color: var(--nv-muted);
    line-height: 1.6;
}

.nv-showcase-card {
    display: flex;
    width: min(100%, 420px);
    margin-top: 46px;
    padding: 17px;
    align-items: center;
    justify-content: space-between;
    background: rgba(13, 26, 41, .82);
    border: 1px solid rgba(0, 229, 212, .24);
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .24);
}

.nv-showcase-card span,
.nv-showcase-card small {
    display: block;
}

.nv-showcase-card span {
    font-weight: 800;
}

.nv-showcase-card small {
    margin-top: 3px;
    color: var(--nv-muted);
    font-size: .7rem;
}

.nv-showcase-card strong {
    color: var(--nv-teal);
}

.nv-showcase-route {
    display: flex;
    width: min(100%, 520px);
    margin-top: 30px;
    align-items: center;
}

.nv-showcase-route span {
    display: block;
    width: 24px;
    height: 24px;
    background: var(--nv-navy);
    border: 3px solid var(--nv-teal);
    border-radius: 50%;
    box-shadow: 0 0 18px rgba(0, 229, 212, .46);
}

.nv-showcase-route span:not(:last-child)::after {
    display: block;
    width: 110px;
    height: 3px;
    margin: 8px 0 0 18px;
    background: var(--nv-teal);
    content: "";
    transform: rotate(-8deg);
    transform-origin: left center;
}

.nv-showcase-route span:not(:first-child) {
    margin-left: 86px;
}

@media (max-width: 1250px) {
    .nv-dashboard-grid {
        grid-template-columns: minmax(0, 1.45fr) minmax(250px, .75fr);
    }

    .nv-alert-panel {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, 1fr);
    }

    .nv-alert-panel .nv-panel-heading {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1050px) {
    .nv-metric-grid,
    .nv-module-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nv-login-page {
        grid-template-columns: 1fr;
    }

    .nv-login-showcase {
        display: none;
    }
}

@media (max-width: 860px) {
    .nv-shell-main {
        width: 100%;
        margin-left: 0;
    }

    .nv-sidebar {
        width: min(86vw, 278px);
        transform: translateX(-105%);
        transition: transform .2s ease;
    }

    .nv-sidebar.is-open {
        transform: translateX(0);
    }

    .nv-sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 25;
        background: rgba(0, 0, 0, .56);
        border: 0;
    }

    .nv-mobile-menu {
        display: inline-flex;
    }

    .nv-topbar {
        padding-inline: 16px;
    }

    .nv-shell-content {
        padding: 20px 16px 28px;
    }

    .nv-account-switch strong {
        display: none;
    }

    .nv-dashboard-grid,
    .nv-placeholder-grid,
    .nv-locked-banner {
        grid-template-columns: 1fr;
    }

    .nv-alert-panel {
        display: grid;
        grid-template-columns: 1fr;
    }

    .nv-locked-visual {
        min-height: 190px;
    }
}

@media (max-width: 560px) {
    .nv-topbar {
        gap: 10px;
    }

    .nv-global-search input {
        font-size: .7rem;
    }

    .nv-dashboard-header,
    .nv-page-header {
        align-items: start;
        flex-direction: column;
    }

    .nv-metric-grid,
    .nv-module-grid {
        grid-template-columns: 1fr;
    }

    .nv-map-canvas {
        height: 220px;
    }

    .nv-login-panel {
        padding: 24px 18px;
    }

    .nv-login-brand {
        margin-bottom: 38px;
    }
}

/* Phase 7: reports, billing, profile and support */
.nv-report-layout,
.nv-billing-layout,
.nv-profile-layout,
.nv-support-layout {
    display: grid;
    gap: 14px;
}

.nv-report-layout {
    grid-template-columns: 270px minmax(0, 1fr);
}

.nv-billing-layout,
.nv-support-layout {
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.4fr);
}

.nv-profile-layout {
    margin-bottom: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nv-report-sidebar,
.nv-report-preview,
.nv-subscription-summary,
.nv-plan-history,
.nv-support-search {
    padding: 15px;
}

.nv-report-sidebar .nv-button {
    width: 100%;
    justify-content: center;
}

.nv-phase7-field {
    display: grid;
    margin: 11px 0;
    gap: 5px;
}

.nv-phase7-field span,
.nv-phase7-help,
.nv-phase7-choice span,
.nv-phase7-choice small,
.nv-subscription-summary p,
.nv-plan-history span,
.nv-session-list span,
.nv-ticket-list span,
.nv-ticket-list time {
    color: var(--nv-muted);
    font-size: .68rem;
    line-height: 1.45;
}

.nv-phase7-field input,
.nv-phase7-field select,
.nv-phase7-field textarea,
.nv-support-search input {
    width: 100%;
    padding: 10px;
    color: var(--nv-text);
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--nv-border);
    border-radius: 8px;
    font-size: .72rem;
}

.nv-phase7-field textarea {
    min-height: 92px;
    resize: vertical;
}

.nv-phase7-two-fields,
.nv-phase7-form-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nv-report-actions {
    display: grid;
    margin-top: 9px;
    gap: 7px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nv-report-metrics,
.nv-subscription-stats {
    display: grid;
    margin: 11px 0;
    gap: 7px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nv-report-metrics article,
.nv-subscription-stats div {
    display: grid;
    padding: 10px;
    gap: 4px;
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--nv-border);
    border-radius: 8px;
}

.nv-report-metrics small,
.nv-subscription-stats small {
    color: var(--nv-muted);
    font-size: .6rem;
}

.nv-report-metrics strong,
.nv-subscription-stats b {
    color: #fff;
    font-size: .84rem;
}

.nv-report-metrics span {
    color: var(--nv-muted);
    font-size: .62rem;
}

.nv-phase7-table-scroll {
    overflow-x: auto;
}

.nv-phase7-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .68rem;
}

.nv-phase7-table th,
.nv-phase7-table td {
    padding: 10px 8px;
    text-align: left;
    border-bottom: 1px solid var(--nv-border);
}

.nv-phase7-table th {
    color: var(--nv-muted);
    font-size: .59rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.nv-phase7-table td {
    color: var(--nv-text);
}

.nv-phase7-table td small {
    display: block;
    color: var(--nv-muted);
}

.nv-phase7-table tr.is-highlighted {
    background: rgba(245, 158, 11, .07);
}

.nv-phase7-card-grid {
    display: grid;
    margin-top: 12px;
    gap: 9px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.nv-phase7-choice {
    display: grid;
    padding: 12px;
    gap: 6px;
    color: var(--nv-text);
    text-align: left;
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--nv-border);
    border-radius: 9px;
}

button.nv-phase7-choice {
    cursor: pointer;
}

.nv-phase7-choice > i {
    color: var(--nv-teal);
    font-size: 1rem;
}

.nv-phase7-choice small i,
.nv-phase7-choice.is-locked > i {
    color: var(--nv-warning);
}

.nv-subscription-summary h2,
.nv-subscription-summary p,
.nv-support-search h2 {
    margin: 7px 0;
}

.nv-subscription-price {
    display: block;
    margin-top: 12px;
    color: var(--nv-teal);
    font-size: 1.35rem;
}

.nv-subscription-price small {
    color: var(--nv-muted);
    font-size: .65rem;
}

.nv-status-pill {
    display: inline-flex;
    padding: 4px 7px;
    color: var(--nv-muted);
    background: rgba(255, 255, 255, .06);
    border-radius: 99px;
    font-size: .6rem;
}

.nv-status-pill.is-warning { color: var(--nv-warning); background: rgba(245, 158, 11, .1); }
.nv-status-pill.is-success { color: var(--nv-success); background: rgba(34, 197, 94, .1); }
.nv-status-pill.is-danger { color: var(--nv-danger); background: rgba(239, 68, 68, .1); }
.nv-status-pill.is-info { color: var(--nv-teal); background: rgba(0, 229, 212, .08); }

.nv-plan-history {
    margin-top: 14px;
}

.nv-plan-history article,
.nv-session-list article,
.nv-ticket-list article {
    display: grid;
    padding: 10px 0;
    align-items: center;
    gap: 9px;
    border-bottom: 1px solid var(--nv-border);
}

.nv-plan-history article {
    grid-template-columns: auto 1fr auto;
}

.nv-plan-history i {
    color: var(--nv-success);
}

.nv-plan-history strong,
.nv-plan-history span,
.nv-session-list strong,
.nv-session-list span {
    display: block;
}

.nv-plan-history time,
.nv-ticket-list time {
    color: var(--nv-muted);
    font-size: .62rem;
}

.nv-phase7-notice {
    display: flex;
    margin-bottom: 14px;
    padding: 11px;
    gap: 9px;
    border-radius: 8px;
}

.nv-phase7-notice strong,
.nv-phase7-notice span {
    display: block;
}

.nv-phase7-notice.is-danger {
    color: #fecaca;
    background: rgba(239, 68, 68, .09);
    border: 1px solid rgba(239, 68, 68, .24);
}

.nv-phase7-checks {
    display: grid;
    margin: 12px 0;
    gap: 9px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nv-phase7-checks label {
    display: flex;
    gap: 7px;
    color: var(--nv-text);
    font-size: .7rem;
}

.nv-phase7-checks i {
    color: var(--nv-warning);
}

.nv-profile-photo,
.nv-phase7-inline-status {
    display: flex;
    margin: 10px 0;
    padding: 10px;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--nv-border);
    border-radius: 8px;
}

.nv-profile-photo > span {
    display: grid;
    width: 38px;
    height: 38px;
    color: var(--nv-teal);
    background: rgba(0, 229, 212, .1);
    border-radius: 50%;
    place-items: center;
    font-size: .72rem;
    font-weight: 700;
}

.nv-profile-photo div,
.nv-phase7-inline-status div {
    flex: 1;
}

.nv-profile-photo strong,
.nv-profile-photo small,
.nv-phase7-inline-status strong,
.nv-phase7-inline-status span {
    display: block;
}

.nv-profile-photo small,
.nv-phase7-inline-status span,
.nv-phase7-inline-status small {
    color: var(--nv-muted);
    font-size: .62rem;
}

.nv-profile-photo input {
    display: none;
}

.nv-phase7-inline-status > i {
    color: var(--nv-teal);
}

.nv-session-list article {
    grid-template-columns: auto 1fr auto;
}

.nv-session-list i {
    color: var(--nv-teal);
}

.nv-support-search div {
    display: flex;
    margin-top: 11px;
    gap: 8px;
}

.nv-support-layout {
    margin-top: 14px;
}

.nv-ticket-list article {
    grid-template-columns: minmax(0, 1fr) auto auto;
}

@media (max-width: 980px) {
    .nv-phase7-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .nv-report-layout,
    .nv-billing-layout,
    .nv-profile-layout,
    .nv-support-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .nv-phase7-card-grid,
    .nv-phase7-form-grid,
    .nv-report-metrics,
    .nv-subscription-stats {
        grid-template-columns: 1fr;
    }

    .nv-support-search div {
        display: grid;
    }

    .nv-ticket-list article {
        grid-template-columns: 1fr;
    }
}

/* Phase 8: shared users and general settings */
.nv-users-layout,
.nv-settings-layout {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nv-shared-user-list article,
.nv-access-audit-list article {
    display: grid;
    padding: 11px 0;
    align-items: center;
    gap: 9px;
    border-bottom: 1px solid var(--nv-border);
}

.nv-shared-user-list article {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
}

.nv-shared-user-list strong,
.nv-shared-user-list span,
.nv-shared-user-list small,
.nv-access-audit-list strong,
.nv-access-audit-list span {
    display: block;
}

.nv-shared-user-list span,
.nv-shared-user-list small,
.nv-access-audit-list span,
.nv-access-audit-list time {
    color: var(--nv-muted);
    font-size: .64rem;
    line-height: 1.45;
}

.nv-shared-avatar {
    display: grid;
    width: 34px;
    height: 34px;
    color: var(--nv-teal);
    background: rgba(0, 229, 212, .09);
    border-radius: 50%;
    font-size: .65rem;
    font-weight: 700;
    place-items: center;
}

.nv-access-audit-list article {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.nv-access-audit-list > article > i {
    color: var(--nv-success);
}

.nv-shared-user-modal {
    max-height: 92vh;
    overflow-y: auto;
    width: min(620px, calc(100vw - 24px));
}

.nv-permission-box {
    display: grid;
    margin: 10px 0;
    padding: 10px;
    gap: 7px;
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--nv-border);
    border-radius: 8px;
}

.nv-permission-box label {
    color: var(--nv-text);
    font-size: .7rem;
}

.nv-permission-box small {
    color: var(--nv-muted);
}

.nv-integration-grid {
    display: grid;
    margin-top: 12px;
    gap: 9px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nv-integration-card {
    padding: 12px;
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--nv-border);
    border-radius: 9px;
}

.nv-integration-card.is-locked {
    background: rgba(245, 158, 11, .035);
    border-color: rgba(245, 158, 11, .18);
}

.nv-integration-card > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nv-integration-card > div > i {
    color: var(--nv-teal);
}

.nv-integration-card.is-locked > div > i,
.nv-integration-card.is-locked small i {
    color: var(--nv-warning);
}

.nv-integration-card h3 {
    margin: 10px 0 5px;
    color: #fff;
    font-size: .78rem;
}

.nv-integration-card p,
.nv-integration-card small {
    color: var(--nv-muted);
    font-size: .65rem;
    line-height: 1.45;
}

.nv-integration-card .nv-link-button {
    display: block;
    margin-top: 8px;
}

.nv-live-map-canvas.is-satellite {
    background:
        radial-gradient(circle at 25% 25%, rgba(56, 94, 68, .55), transparent 32%),
        radial-gradient(circle at 70% 70%, rgba(57, 79, 62, .55), transparent 35%),
        linear-gradient(135deg, #17261f, #202f27);
}

@media (max-width: 900px) {
    .nv-integration-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .nv-users-layout,
    .nv-settings-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .nv-integration-grid,
    .nv-shared-user-list article {
        grid-template-columns: 1fr;
    }
}

.nv-link-button {
    margin-top: auto;
    padding: 5px 0 0;
    color: var(--nv-teal);
    background: transparent;
    border: 0;
    font-size: .69rem;
    font-weight: 800;
    text-align: left;
}

.nv-link-button:hover {
    color: #fff;
}

.nv-activity-panel {
    display: grid;
    grid-column: 1 / -1;
    gap: 8px;
}

.nv-activity-item {
    display: grid;
    padding: 10px;
    align-items: center;
    gap: 10px;
    grid-template-columns: auto 1fr auto;
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 8px;
}

.nv-activity-item > i,
.nv-included {
    color: var(--nv-teal);
}

.nv-activity-item strong,
.nv-activity-item span {
    display: block;
}

.nv-activity-item strong {
    color: #fff;
    font-size: .69rem;
}

.nv-activity-item span,
.nv-activity-item small {
    color: var(--nv-muted);
    font-size: .62rem;
}

.nv-modules-header {
    gap: 20px;
}

.nv-current-plan {
    display: grid;
    min-width: 220px;
    padding: 14px 16px;
    gap: 3px;
    background: rgba(0, 229, 212, .07);
    border: 1px solid rgba(0, 229, 212, .22);
    border-radius: var(--nv-radius-md);
}

.nv-current-plan small,
.nv-current-plan span {
    color: var(--nv-muted);
    font-size: .68rem;
}

.nv-current-plan strong {
    color: var(--nv-teal);
}

.nv-plan-grid {
    display: grid;
    margin-top: 20px;
    gap: 12px;
    grid-template-columns: repeat(4, 1fr);
}

.nv-plan-grid > .nv-plan-card {
    position: relative;
    min-height: 190px;
    margin: 0;
    padding: 16px;
    align-content: start;
    gap: 8px;
}

.nv-plan-grid > .nv-plan-card.is-recommended {
    border-color: rgba(0, 229, 212, .62);
    box-shadow: 0 14px 34px rgba(0, 229, 212, .08);
}

.nv-plan-grid > .nv-plan-card.is-current {
    background: linear-gradient(135deg, rgba(0, 229, 212, .14), rgba(0, 184, 255, .045));
}

.nv-plan-card h2,
.nv-plan-card p {
    margin: 0;
}

.nv-plan-card h2 {
    color: #fff;
    font-size: 1rem;
}

.nv-plan-card p {
    color: var(--nv-muted);
    font-size: .7rem;
    line-height: 1.5;
}

.nv-plan-tag {
    width: max-content;
    padding: 3px 7px;
    color: var(--nv-navy) !important;
    background: var(--nv-teal);
    border-radius: 20px;
    font-size: .58rem !important;
    font-weight: 900;
}

.nv-plan-tag.is-current {
    background: var(--nv-cyan);
}

.nv-catalog-section {
    margin-top: 30px;
}

.nv-category-heading {
    display: flex;
    margin-top: 22px;
    align-items: center;
    justify-content: space-between;
}

.nv-category-heading h3 {
    margin: 0;
    color: #fff;
    font-size: .92rem;
}

.nv-category-heading span {
    color: var(--nv-muted);
    font-size: .67rem;
}

.nv-comparison-section {
    margin-top: 34px;
}

.nv-comparison-section h2 {
    margin: 0;
    color: #fff;
    font-size: 1.2rem;
}

.nv-comparison-section p {
    color: var(--nv-muted);
    font-size: .78rem;
}

.nv-comparison-scroll {
    margin-top: 14px;
    overflow-x: auto;
    background: linear-gradient(145deg, rgba(18, 34, 53, .92), rgba(10, 24, 38, .95));
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-md);
}

.nv-comparison-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.nv-comparison-table th,
.nv-comparison-table td {
    padding: 12px;
    color: var(--nv-muted);
    border-bottom: 1px solid var(--nv-border);
    font-size: .72rem;
    text-align: center;
}

.nv-comparison-table th:first-child,
.nv-comparison-table td:first-child {
    color: #fff;
    text-align: left;
}

.nv-comparison-table th.is-current,
.nv-comparison-table td.is-current {
    background: rgba(0, 229, 212, .055);
}

.nv-comparison-table th small {
    display: block;
    margin-top: 2px;
    color: var(--nv-teal);
    font-size: .57rem;
}

.nv-not-included {
    color: #526378;
}

.nv-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    padding: 20px;
    place-items: center;
    background: rgba(1, 7, 13, .76);
    backdrop-filter: blur(7px);
}

.nv-upsell-modal {
    position: relative;
    width: min(100%, 510px);
    padding: 26px;
    color: var(--nv-text);
    background: linear-gradient(145deg, #122235, #091725);
    border: 1px solid rgba(0, 229, 212, .32);
    border-radius: var(--nv-radius-lg);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .4);
}

.nv-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    color: var(--nv-muted);
    background: transparent;
    border: 0;
}

.nv-upsell-icon {
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    place-items: center;
    color: var(--nv-navy);
    background: var(--nv-teal);
    border-radius: 12px;
}

.nv-upsell-modal h2 {
    margin: 4px 0;
    color: #fff;
}

.nv-upsell-modal p {
    color: var(--nv-muted);
    font-size: .82rem;
    line-height: 1.55;
}

.nv-upsell-plan {
    display: flex;
    margin: 16px 0;
    padding: 13px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(0, 229, 212, .07);
    border: 1px solid rgba(0, 229, 212, .2);
    border-radius: var(--nv-radius-sm);
}

.nv-upsell-plan small,
.nv-upsell-plan strong {
    display: block;
}

.nv-upsell-plan small {
    color: var(--nv-muted);
    font-size: .64rem;
}

.nv-upsell-plan strong,
.nv-upsell-plan b {
    color: var(--nv-teal);
}

.nv-upsell-benefits {
    display: grid;
    padding: 0;
    gap: 7px;
    list-style: none;
}

.nv-upsell-benefits li {
    color: var(--nv-text);
    font-size: .76rem;
}

.nv-upsell-benefits i {
    margin-right: 7px;
    color: var(--nv-success);
}

.nv-upsell-actions {
    display: flex;
    margin-top: 18px;
    align-items: center;
    gap: 14px;
}

.nv-upsell-feedback {
    padding: 10px;
    color: var(--nv-text);
    border-radius: 8px;
    font-size: .72rem;
}

.nv-upsell-feedback.is-success {
    background: rgba(34, 197, 94, .1);
    border: 1px solid rgba(34, 197, 94, .26);
}

.nv-upsell-feedback.is-error {
    background: rgba(239, 68, 68, .1);
    border: 1px solid rgba(239, 68, 68, .26);
}

@media (max-width: 1040px) {
    .nv-plan-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .nv-plan-grid {
        grid-template-columns: 1fr;
    }

    .nv-upsell-actions {
        align-items: stretch;
        flex-direction: column;
    }
}

.nv-vehicle-badge {
    display: inline-flex;
    width: max-content;
    padding: 4px 7px;
    align-items: center;
    gap: 5px;
    border-radius: 20px;
    font-size: .6rem;
    font-weight: 900;
}

.nv-vehicle-badge i {
    font-size: .42rem;
}

.nv-vehicle-badge.is-online {
    color: var(--nv-success);
    background: rgba(34, 197, 94, .1);
}

.nv-vehicle-badge.is-attention {
    color: var(--nv-warning);
    background: rgba(245, 158, 11, .1);
}

.nv-vehicle-badge.is-offline {
    color: var(--nv-muted);
    background: rgba(142, 160, 183, .1);
}

.nv-live-map-layout,
.nv-vehicles-layout {
    display: grid;
    min-height: 610px;
    gap: 14px;
    grid-template-columns: 290px minmax(0, 1fr);
}

.nv-live-map-sidebar,
.nv-vehicles-list-panel {
    min-width: 0;
    padding: 14px;
    background: linear-gradient(145deg, rgba(18, 34, 53, .92), rgba(10, 24, 38, .95));
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-md);
    box-shadow: var(--nv-shadow-card);
}

.nv-live-map-sidebar .nv-panel-heading span {
    color: var(--nv-teal);
    font-size: .64rem;
}

.nv-map-search {
    display: flex;
    min-height: 38px;
    padding: 0 10px;
    align-items: center;
    gap: 7px;
    color: var(--nv-muted);
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--nv-border);
    border-radius: 8px;
}

.nv-map-search input {
    min-width: 0;
    width: 100%;
    color: var(--nv-text);
    background: transparent;
    border: 0;
    font-size: .72rem;
    outline: 0;
}

.nv-live-map-vehicles,
.nv-vehicles-list {
    display: grid;
    margin-top: 10px;
    gap: 8px;
}

.nv-vehicle-list-card {
    display: grid;
    width: 100%;
    padding: 11px;
    gap: 5px;
    color: var(--nv-muted);
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 9px;
    font-family: inherit;
    text-align: left;
    transition: .18s ease;
}

.nv-vehicle-list-card:hover,
.nv-vehicle-list-card.is-selected {
    background: rgba(0, 229, 212, .07);
    border-color: rgba(0, 229, 212, .42);
}

.nv-vehicle-list-card strong {
    color: #fff;
    font-size: .78rem;
}

.nv-vehicle-list-card span,
.nv-vehicle-list-card small {
    font-size: .63rem;
}

.nv-vehicle-list-card small i {
    margin-right: 3px;
    color: var(--nv-teal);
}

.nv-vehicle-list-top,
.nv-vehicle-list-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.nv-vehicle-list-icon {
    color: var(--nv-teal);
    font-size: 1.05rem !important;
}

.nv-vehicle-list-bottom {
    margin-top: 4px;
    padding-top: 7px;
    border-top: 1px solid var(--nv-border);
}

.nv-vehicle-list-bottom b {
    color: var(--nv-text);
    font-size: .69rem;
}

.nv-live-map-canvas {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    background:
        linear-gradient(115deg, transparent 48%, rgba(142, 160, 183, .12) 49%, transparent 50%),
        linear-gradient(25deg, transparent 48%, rgba(142, 160, 183, .11) 49%, transparent 50%),
        repeating-linear-gradient(90deg, transparent 0 96px, rgba(142, 160, 183, .055) 97px 99px),
        repeating-linear-gradient(0deg, transparent 0 72px, rgba(142, 160, 183, .055) 73px 75px),
        #091827;
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-md);
    box-shadow: var(--nv-shadow-card);
}

.nv-live-map-canvas.is-compact {
    min-height: 270px;
    height: 270px;
    border: 0;
    border-radius: 9px;
    box-shadow: none;
}

.nv-google-map-layer {
    position: absolute;
    inset: 0;
}

.nv-google-map-error {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: grid;
    padding: 24px;
    place-content: center;
    gap: 8px;
    color: #fecaca;
    text-align: center;
    background: rgba(5, 13, 23, .86);
    font-size: .75rem;
}

.nv-google-map-error i {
    color: var(--nv-warning);
    font-size: 1.5rem;
}

.nv-google-vehicle-marker {
    position: relative;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 0;
    background: transparent;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .32);
    cursor: pointer;
    transition: .18s ease;
}

.nv-google-vehicle-marker:hover,
.nv-google-vehicle-marker.is-selected {
    transform: scale(1.18);
}

.nv-google-vehicle-marker-halo {
    position: absolute;
    inset: 8px;
    border: 4px solid rgba(5, 13, 23, .72);
    border-radius: 999px;
    box-shadow: 0 0 0 4px rgba(5, 13, 23, .18);
}

.nv-google-vehicle-marker.is-online {
    --nv-marker-tone: var(--nv-success);
}

.nv-google-vehicle-marker.is-attention {
    --nv-marker-tone: var(--nv-warning);
}

.nv-google-vehicle-marker.is-offline {
    --nv-marker-tone: var(--nv-muted);
}

.nv-google-vehicle-marker-halo {
    background: var(--nv-marker-tone, var(--nv-teal));
}

.nv-google-vehicle-marker img {
    position: relative;
    z-index: 2;
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .35));
}

.nv-google-vehicle-marker-label {
    position: absolute;
    top: 44px;
    left: 50%;
    z-index: 3;
    padding: 2px 7px;
    color: #fff;
    background: rgba(5, 13, 23, .86);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .04em;
    transform: translateX(-50%);
    white-space: nowrap;
}

.nv-google-route-marker {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: #fff;
    background: var(--nv-teal);
    border: 3px solid rgba(5, 13, 23, .78);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .32);
    font-size: .62rem;
    font-weight: 800;
}

.nv-google-route-marker.is-start {
    background: var(--nv-success);
}

.nv-google-route-marker.is-end {
    background: var(--nv-danger);
}

.nv-google-route-marker.is-replay {
    color: var(--nv-navy);
    background: var(--nv-teal);
}

.nv-live-map-toolbar {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    display: grid;
    padding: 9px 11px;
    gap: 2px;
    color: var(--nv-text);
    background: rgba(5, 13, 23, .87);
    border: 1px solid var(--nv-border);
    border-radius: 8px;
    font-size: .7rem;
}

.nv-live-map-toolbar i {
    margin-right: 5px;
    color: var(--nv-success);
}

.nv-live-map-toolbar small {
    color: var(--nv-muted);
    font-size: .61rem;
}

.nv-live-map-canvas.is-compact .nv-live-map-toolbar {
    top: auto;
    right: 10px;
    bottom: 10px;
    left: 10px;
}

.nv-live-map-canvas.is-compact .nv-live-map-popup,
.nv-live-map-canvas.is-compact .nv-live-map-legend {
    display: none;
}

.nv-map-preview-state {
    display: grid;
    min-height: 270px;
    padding: 24px;
    place-items: center;
    align-content: center;
    gap: 10px;
    color: var(--nv-muted);
    text-align: center;
    background:
        linear-gradient(115deg, transparent 48%, rgba(142, 160, 183, .12) 49%, transparent 50%),
        repeating-linear-gradient(90deg, transparent 0 74px, rgba(142, 160, 183, .06) 75px 76px),
        repeating-linear-gradient(0deg, transparent 0 52px, rgba(142, 160, 183, .06) 53px 54px),
        #0a1928;
    border-radius: 9px;
}

.nv-map-preview-state i {
    color: var(--nv-teal);
    font-size: 1.65rem;
}

.nv-map-preview-state strong {
    color: var(--nv-text);
}

.nv-map-preview-state p {
    max-width: 360px;
    margin: 0;
}

.nv-map-preview-state.is-error i {
    color: var(--nv-warning);
}

.nv-live-map-road {
    position: absolute;
    display: block;
    height: 9px;
    background: rgba(142, 160, 183, .16);
    border-block: 1px solid rgba(142, 160, 183, .14);
    transform-origin: left center;
}

.nv-live-map-road.road-a {
    top: 64%;
    left: 4%;
    width: 82%;
    transform: rotate(-18deg);
}

.nv-live-map-road.road-b {
    top: 16%;
    left: 22%;
    width: 92%;
    transform: rotate(62deg);
}

.nv-live-map-road.road-c {
    top: 37%;
    left: -6%;
    width: 82%;
    transform: rotate(21deg);
}

.nv-live-map-road.road-d {
    top: 82%;
    left: 26%;
    width: 72%;
    transform: rotate(-48deg);
}

.nv-live-map-marker {
    position: absolute;
    z-index: 4;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #032024;
    border: 4px solid rgba(5, 13, 23, .72);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .32);
    transition: .18s ease;
}

.nv-live-map-marker:hover,
.nv-live-map-marker.is-selected {
    transform: scale(1.18);
}

.nv-live-map-marker.marker-0 {
    top: 43%;
    left: 55%;
}

.nv-live-map-marker.marker-1 {
    top: 66%;
    left: 28%;
}

.nv-live-map-marker.is-online {
    background: var(--nv-success);
}

.nv-live-map-marker.is-attention {
    background: var(--nv-warning);
}

.nv-live-map-marker.is-offline {
    background: var(--nv-muted);
}

.nv-live-map-popup {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 4;
    display: grid;
    width: min(280px, calc(100% - 32px));
    padding: 13px;
    gap: 4px;
    color: var(--nv-muted);
    background: rgba(5, 13, 23, .9);
    border: 1px solid rgba(0, 229, 212, .3);
    border-radius: 9px;
}

.nv-live-map-popup strong {
    color: #fff;
    font-size: .82rem;
}

.nv-live-map-popup span,
.nv-live-map-popup small {
    font-size: .66rem;
}

.nv-live-map-legend {
    position: absolute;
    right: 16px;
    top: 16px;
    z-index: 4;
    display: flex;
    padding: 7px 9px;
    gap: 9px;
    color: var(--nv-muted);
    background: rgba(5, 13, 23, .82);
    border: 1px solid var(--nv-border);
    border-radius: 8px;
    font-size: .6rem;
}

.nv-live-map-legend i {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 3px;
    border-radius: 50%;
}

.nv-live-map-legend i.is-online {
    background: var(--nv-success);
}

.nv-live-map-legend i.is-attention {
    background: var(--nv-warning);
}

.nv-live-map-legend i.is-offline {
    background: var(--nv-muted);
}

.nv-vehicles-layout {
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
}

.nv-vehicles-summary {
    display: grid;
    margin-bottom: 12px;
    gap: 7px;
    grid-template-columns: repeat(3, 1fr);
}

.nv-vehicles-summary div {
    display: grid;
    padding: 9px;
    gap: 2px;
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--nv-border);
    border-radius: 8px;
}

.nv-vehicles-summary span {
    color: var(--nv-muted);
    font-size: .6rem;
}

.nv-vehicles-summary strong {
    color: #fff;
    font-size: .94rem;
}

.nv-vehicle-details-panel {
    align-self: start;
}

.nv-vehicle-details-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nv-vehicle-details-head > span {
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    color: var(--nv-teal);
    background: rgba(0, 229, 212, .08);
    border-radius: 14px;
    font-size: 2.3rem;
}

.nv-vehicle-details-head h2,
.nv-vehicle-details-head strong,
.nv-vehicle-details-head small {
    display: block;
    margin: 0;
}

.nv-vehicle-details-head h2 {
    color: #fff;
    font-size: 1.1rem;
}

.nv-vehicle-details-head strong {
    color: var(--nv-teal);
    font-size: .8rem;
}

.nv-vehicle-details-head small,
.nv-vehicle-address {
    color: var(--nv-muted);
    font-size: .7rem;
}

.nv-vehicle-address {
    margin: 18px 0 12px;
}

.nv-vehicle-address i {
    margin-right: 4px;
    color: var(--nv-teal);
}

.nv-telemetry-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, 1fr);
}

.nv-telemetry-grid div {
    display: grid;
    padding: 10px;
    gap: 3px;
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--nv-border);
    border-radius: 8px;
}

.nv-telemetry-grid i {
    color: var(--nv-teal);
}

.nv-telemetry-grid small {
    color: var(--nv-muted);
    font-size: .59rem;
}

.nv-telemetry-grid strong {
    color: #fff;
    font-size: .72rem;
}

.nv-vehicle-meta {
    display: grid;
    margin: 14px 0;
    padding-block: 11px;
    gap: 4px;
    color: var(--nv-muted);
    border-block: 1px solid var(--nv-border);
    font-size: .68rem;
}

.nv-vehicle-meta strong {
    color: var(--nv-text);
}

@media (max-width: 920px) {
    .nv-live-map-layout,
    .nv-vehicles-layout {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .nv-live-map-canvas {
        min-height: 500px;
        grid-row: 1;
    }

    .nv-live-map-sidebar {
        grid-row: 2;
    }
}

@media (max-width: 560px) {
    .nv-live-map-canvas {
        min-height: 390px;
    }

    .nv-live-map-legend {
        display: none;
    }

    .nv-live-map-toolbar {
        right: 14px;
    }

    .nv-telemetry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.nv-history-filters {
    display: grid;
    margin-bottom: 12px;
    align-items: end;
    gap: 10px;
    grid-template-columns: minmax(180px, 1.4fr) minmax(130px, .7fr) minmax(130px, .7fr) auto;
}

.nv-history-filters label {
    display: grid;
    gap: 5px;
}

.nv-history-filters span {
    color: var(--nv-muted);
    font-size: .64rem;
    font-weight: 800;
}

.nv-history-filters select,
.nv-history-filters input {
    min-height: 38px;
    padding: 0 9px;
    color: var(--nv-text);
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--nv-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: .72rem;
    outline: 0;
}

.nv-history-filters select option {
    color: var(--nv-text);
    background: var(--nv-navy);
}

.nv-history-limit-banner {
    display: grid;
    margin-bottom: 12px;
    padding: 13px 14px;
    align-items: center;
    gap: 12px;
    grid-template-columns: auto 1fr auto;
    color: var(--nv-muted);
    background: rgba(0, 229, 212, .055);
    border: 1px solid rgba(0, 229, 212, .22);
    border-radius: var(--nv-radius-md);
}

.nv-history-limit-banner > i {
    color: var(--nv-teal);
}

.nv-history-limit-banner strong,
.nv-history-limit-banner span {
    display: block;
}

.nv-history-limit-banner strong {
    color: #fff;
    font-size: .77rem;
}

.nv-history-limit-banner span {
    margin-top: 2px;
    font-size: .66rem;
}

.nv-history-layout {
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(290px, .72fr) minmax(0, 1.28fr);
}

.nv-history-sidebar {
    min-width: 0;
    padding: 14px;
    background: linear-gradient(145deg, rgba(18, 34, 53, .92), rgba(10, 24, 38, .95));
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-md);
    box-shadow: var(--nv-shadow-card);
}

.nv-history-sidebar .nv-panel-heading span,
.nv-trip-events .nv-panel-heading span,
.nv-history-map-panel .nv-panel-heading span {
    color: var(--nv-muted);
    font-size: .63rem;
}

.nv-trip-timeline {
    display: grid;
    gap: 8px;
}

.nv-trip-card {
    display: grid;
    width: 100%;
    padding: 11px;
    gap: 8px;
    color: var(--nv-muted);
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 9px;
    font-family: inherit;
    text-align: left;
    transition: .18s ease;
}

.nv-trip-card:hover,
.nv-trip-card.is-selected {
    background: rgba(0, 229, 212, .07);
    border-color: rgba(0, 229, 212, .42);
}

.nv-trip-card-top,
.nv-trip-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.nv-trip-card-top strong {
    color: #fff;
    font-size: .75rem;
}

.nv-trip-card-top span {
    color: var(--nv-teal);
    font-size: .7rem;
    font-weight: 900;
}

.nv-trip-route {
    display: grid;
    gap: 5px;
}

.nv-trip-route span,
.nv-trip-stats span {
    color: var(--nv-muted);
    font-size: .61rem;
}

.nv-trip-route i {
    margin-right: 5px;
    font-size: .56rem;
}

.nv-trip-route i.is-start {
    color: var(--nv-success);
}

.nv-trip-route i.is-end {
    color: var(--nv-danger);
}

.nv-trip-stats {
    padding-top: 7px;
    border-top: 1px solid var(--nv-border);
}

.nv-trip-stats i {
    margin-right: 3px;
    color: var(--nv-teal);
}

.nv-history-main {
    display: grid;
    align-content: start;
    gap: 14px;
}

.nv-history-map {
    position: relative;
    height: 330px;
    overflow: hidden;
    background:
        linear-gradient(115deg, transparent 48%, rgba(142, 160, 183, .12) 49%, transparent 50%),
        linear-gradient(25deg, transparent 48%, rgba(142, 160, 183, .11) 49%, transparent 50%),
        repeating-linear-gradient(90deg, transparent 0 74px, rgba(142, 160, 183, .05) 75px 77px),
        repeating-linear-gradient(0deg, transparent 0 56px, rgba(142, 160, 183, .05) 57px 59px),
        #091827;
    border-radius: 9px;
}

.nv-history-road,
.nv-history-polyline {
    position: absolute;
    display: block;
    height: 8px;
    transform-origin: left center;
}

.nv-history-road {
    background: rgba(142, 160, 183, .15);
    border-block: 1px solid rgba(142, 160, 183, .13);
}

.nv-history-polyline {
    height: 5px;
    background: var(--nv-teal);
    border-radius: 8px;
    box-shadow: 0 0 14px rgba(0, 229, 212, .5);
}

.route-road-a,
.route-line-a {
    top: 71%;
    left: 12%;
    width: 31%;
    transform: rotate(-32deg);
}

.route-road-b,
.route-line-b {
    top: 54%;
    left: 38%;
    width: 29%;
    transform: rotate(-12deg);
}

.route-road-c,
.route-line-c {
    top: 48%;
    left: 64%;
    width: 25%;
    transform: rotate(22deg);
}

.nv-history-point {
    position: absolute;
    z-index: 3;
    width: 14px;
    height: 14px;
    border: 3px solid rgba(5, 13, 23, .76);
    border-radius: 50%;
}

.nv-history-point.is-start {
    top: 78%;
    left: 11%;
    background: var(--nv-success);
}

.nv-history-point.is-stop {
    top: 49%;
    left: 57%;
    background: var(--nv-warning);
}

.nv-history-point.is-end {
    top: 56%;
    left: 87%;
    background: var(--nv-danger);
}

.nv-history-map-legend {
    position: absolute;
    right: 10px;
    top: 10px;
    display: flex;
    padding: 7px 9px;
    gap: 8px;
    color: var(--nv-muted);
    background: rgba(5, 13, 23, .82);
    border: 1px solid var(--nv-border);
    border-radius: 7px;
    font-size: .59rem;
}

.nv-history-map-legend i {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 3px;
    border-radius: 50%;
}

.nv-history-map-legend i.is-start {
    background: var(--nv-success);
}

.nv-history-map-legend i.is-stop {
    background: var(--nv-warning);
}

.nv-history-map-legend i.is-end {
    background: var(--nv-danger);
}

.nv-replay-bar {
    display: flex;
    min-height: 42px;
    margin-top: 10px;
    align-items: center;
    gap: 10px;
}

.nv-replay-button {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: var(--nv-navy);
    background: var(--nv-teal);
    border: 0;
    border-radius: 50%;
}

.nv-replay-button:disabled {
    color: var(--nv-muted);
    background: rgba(142, 160, 183, .12);
}

.nv-replay-bar > div {
    flex: 1;
    height: 4px;
    overflow: hidden;
    background: rgba(142, 160, 183, .16);
    border-radius: 5px;
}

.nv-replay-bar > div span {
    display: block;
    width: 18%;
    height: 100%;
    background: var(--nv-teal);
}

.nv-replay-bar small {
    color: var(--nv-muted);
    font-size: .63rem;
}

.nv-trip-events {
    display: grid;
    gap: 8px;
}

.nv-trip-event {
    display: grid;
    padding: 9px;
    align-items: center;
    gap: 9px;
    grid-template-columns: auto 1fr auto;
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 8px;
}

.nv-trip-event > i {
    color: var(--nv-teal);
}

.nv-trip-event strong,
.nv-trip-event span {
    display: block;
}

.nv-trip-event strong {
    color: #fff;
    font-size: .69rem;
}

.nv-trip-event span,
.nv-trip-event small {
    color: var(--nv-muted);
    font-size: .61rem;
}

.nv-export-feedback {
    display: block;
    max-width: 430px;
    margin-top: 7px;
    color: var(--nv-success);
    font-size: .64rem;
    line-height: 1.45;
}

@media (max-width: 920px) {
    .nv-history-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .nv-history-filters {
        grid-template-columns: repeat(2, 1fr);
    }

    .nv-history-filters label:first-child,
    .nv-history-filters .nv-button {
        grid-column: 1 / -1;
    }

    .nv-history-limit-banner {
        grid-template-columns: auto 1fr;
    }

    .nv-history-limit-banner .nv-button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .nv-history-map {
        height: 250px;
    }

    .nv-history-map-legend {
        display: none;
    }

    .nv-replay-bar {
        flex-wrap: wrap;
    }
}

.nv-alert-filters {
    display: grid;
    margin-bottom: 12px;
    align-items: end;
    gap: 10px;
    grid-template-columns: minmax(160px, 1.2fr) minmax(150px, .9fr) minmax(125px, .7fr) minmax(125px, .7fr) auto auto;
}

.nv-alert-filters label {
    display: grid;
    gap: 5px;
}

.nv-alert-filters span {
    color: var(--nv-muted);
    font-size: .64rem;
    font-weight: 800;
}

.nv-alert-filters select,
.nv-alert-filters input[type="date"] {
    min-height: 38px;
    padding: 0 9px;
    color: var(--nv-text);
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--nv-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: .72rem;
    outline: 0;
}

.nv-alert-filters select option {
    color: var(--nv-text);
    background: var(--nv-navy);
}

.nv-alert-archived-filter {
    display: flex !important;
    min-height: 38px;
    padding: 0 9px;
    align-items: center;
    gap: 7px !important;
    border: 1px solid var(--nv-border);
    border-radius: 8px;
}

.nv-alert-page-layout {
    display: grid;
    align-items: start;
    gap: 14px;
    grid-template-columns: minmax(0, 1.24fr) minmax(250px, .76fr);
}

.nv-alert-list-panel .nv-panel-heading span {
    color: var(--nv-teal);
    font-size: .64rem;
}

.nv-alert-feed {
    display: grid;
    gap: 8px;
}

.nv-alert-feed-item {
    display: grid;
    padding: 12px;
    gap: 9px;
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(255, 255, 255, .07);
    border-left: 3px solid var(--nv-muted);
    border-radius: 8px;
}

.nv-alert-feed-item.is-warning {
    border-left-color: var(--nv-warning);
}

.nv-alert-feed-item.is-critical {
    background: rgba(239, 68, 68, .055);
    border-color: rgba(239, 68, 68, .3);
    border-left-color: var(--nv-danger);
}

.nv-alert-feed-item.is-read {
    opacity: .74;
}

.nv-alert-feed-head,
.nv-alert-feed-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nv-alert-feed-head time {
    margin-left: auto;
    color: var(--nv-muted);
    font-size: .61rem;
}

.nv-alert-severity {
    display: inline-flex;
    width: max-content;
    padding: 4px 7px;
    align-items: center;
    gap: 5px;
    color: var(--nv-teal);
    background: rgba(0, 229, 212, .1);
    border-radius: 20px;
    font-size: .58rem;
    font-weight: 900;
}

.nv-alert-severity.is-warning {
    color: var(--nv-warning);
    background: rgba(245, 158, 11, .1);
}

.nv-alert-severity.is-critical {
    color: var(--nv-danger);
    background: rgba(239, 68, 68, .1);
}

.nv-alert-read-state {
    color: var(--nv-muted);
    font-size: .59rem;
    font-weight: 800;
}

.nv-alert-feed-item h3,
.nv-alert-details h2 {
    margin: 0;
    color: #fff;
}

.nv-alert-feed-item h3 {
    font-size: .8rem;
}

.nv-alert-feed-item strong,
.nv-alert-feed-item p {
    display: block;
    margin: 3px 0 0;
    color: var(--nv-muted);
    font-size: .66rem;
    line-height: 1.45;
}

.nv-alert-feed-item strong {
    color: var(--nv-teal);
}

.nv-link-button {
    padding: 0;
    color: var(--nv-teal);
    background: transparent;
    border: 0;
    font-family: inherit;
    font-size: .65rem;
    font-weight: 800;
    text-align: left;
}

.nv-alert-details {
    position: relative;
    display: grid;
    gap: 9px;
}

.nv-alert-details h2 {
    font-size: 1.05rem;
}

.nv-alert-details > strong {
    color: var(--nv-teal);
    font-size: .75rem;
}

.nv-alert-details > p,
.nv-notification-modal > p {
    margin: 0;
    color: var(--nv-muted);
    font-size: .74rem;
    line-height: 1.55;
}

.nv-alert-detail-meta {
    display: grid;
    margin-top: 6px;
    padding-top: 10px;
    gap: 8px;
    border-top: 1px solid var(--nv-border);
}

.nv-alert-detail-meta span {
    color: var(--nv-muted);
    font-size: .66rem;
}

.nv-alert-detail-meta i {
    margin-right: 6px;
    color: var(--nv-teal);
}

.nv-alert-feedback {
    display: flex;
    margin-bottom: 12px;
    padding: 10px;
    align-items: center;
    gap: 7px;
    color: var(--nv-success);
    background: rgba(34, 197, 94, .08);
    border: 1px solid rgba(34, 197, 94, .24);
    border-radius: 8px;
    font-size: .7rem;
}

.nv-alert-rule-grid {
    display: grid;
    margin-top: 14px;
    gap: 10px;
    grid-template-columns: repeat(4, 1fr);
}

.nv-alert-rule-card {
    position: relative;
    display: grid;
    min-height: 185px;
    padding: 13px;
    align-content: start;
    gap: 9px;
    background: linear-gradient(145deg, rgba(18, 34, 53, .92), rgba(10, 24, 38, .95));
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-md);
}

.nv-alert-rule-card.is-locked {
    opacity: .78;
}

.nv-alert-rule-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: var(--nv-teal);
    background: rgba(0, 229, 212, .08);
    border-radius: 9px;
}

.nv-alert-rule-card span,
.nv-alert-rule-card p {
    color: var(--nv-muted);
    font-size: .63rem;
}

.nv-alert-rule-card h3 {
    margin: 5px 0;
    color: #fff;
    font-size: .81rem;
}

.nv-alert-rule-card p {
    margin: 0;
    line-height: 1.45;
}

.nv-alert-rule-status {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--nv-success);
}

.nv-alert-rule-card.is-locked .nv-alert-rule-status {
    color: var(--nv-muted);
}

.nv-alert-rule-card .nv-link-button {
    margin-top: auto;
}

.nv-notification-modal {
    position: relative;
    width: min(100%, 520px);
    padding: 24px;
    color: var(--nv-text);
    background: linear-gradient(145deg, #122235, #091725);
    border: 1px solid rgba(0, 229, 212, .3);
    border-radius: var(--nv-radius-lg);
}

.nv-notification-modal h2 {
    margin: 4px 0 7px;
    color: #fff;
}

.nv-notification-options {
    display: grid;
    margin: 16px 0 12px;
    gap: 7px;
}

.nv-notification-options label {
    display: flex;
    min-height: 46px;
    padding: 0 11px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--nv-text);
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--nv-border);
    border-radius: 8px;
    font-size: .72rem;
}

.nv-notification-options label.is-locked {
    color: var(--nv-muted);
}

.nv-notification-options span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nv-notification-options span > i {
    color: var(--nv-teal);
}

.nv-notification-options small {
    padding: 3px 6px;
    color: var(--nv-teal);
    background: rgba(0, 229, 212, .08);
    border-radius: 20px;
    font-size: .57rem;
}

@media (max-width: 1120px) {
    .nv-alert-filters {
        grid-template-columns: repeat(3, 1fr);
    }

    .nv-alert-rule-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {
    .nv-alert-page-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .nv-alert-filters,
    .nv-alert-rule-grid {
        grid-template-columns: 1fr;
    }

    .nv-alert-feed-actions {
        align-items: start;
        flex-direction: column;
    }
}

.nv-geofence-demo,
.nv-command-demo {
    display: grid;
    gap: 14px;
}

.nv-geofence-demo-preview,
.nv-command-demo-preview {
    display: grid;
    min-height: 220px;
    padding: 20px;
    align-items: center;
    gap: 16px;
    grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr);
    background: linear-gradient(145deg, rgba(18, 34, 53, .92), rgba(10, 24, 38, .95));
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-md);
}

.nv-geofence-demo-preview h2,
.nv-command-demo-preview h2,
.nv-geofence-form-modal h2,
.nv-command-confirm-modal h2 {
    margin: 0;
    color: #fff;
}

.nv-geofence-demo-preview p,
.nv-command-demo-preview p,
.nv-geofence-form-modal p,
.nv-command-confirm-modal p {
    color: var(--nv-muted);
    font-size: .76rem;
    line-height: 1.55;
}

.nv-geofence-layout,
.nv-command-layout {
    display: grid;
    margin-bottom: 14px;
    align-items: start;
    gap: 14px;
    grid-template-columns: minmax(270px, .68fr) minmax(0, 1.32fr);
}

.nv-geofence-list,
.nv-geofence-event-list,
.nv-command-vehicle-list,
.nv-command-history-list,
.nv-command-audit-list {
    display: grid;
    gap: 8px;
}

.nv-geofence-list-panel .nv-panel-heading span,
.nv-geofence-map-panel .nv-panel-heading span,
.nv-geofence-events .nv-panel-heading span,
.nv-command-vehicle-selector .nv-panel-heading span,
.nv-command-history .nv-panel-heading span,
.nv-command-audit .nv-panel-heading span {
    color: var(--nv-teal);
    font-size: .62rem;
}

.nv-geofence-card {
    display: grid;
    padding: 11px;
    gap: 8px;
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 9px;
}

.nv-geofence-card-top,
.nv-geofence-card-bottom {
    display: flex;
    align-items: center;
    gap: 9px;
}

.nv-geofence-card-top > span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    color: var(--nv-teal);
    background: rgba(0, 229, 212, .08);
    border-radius: 8px;
}

.nv-geofence-card h3 {
    margin: 0;
    color: #fff;
    font-size: .78rem;
}

.nv-geofence-card small,
.nv-geofence-card p,
.nv-geofence-card-bottom span {
    margin: 0;
    color: var(--nv-muted);
    font-size: .62rem;
}

.nv-geofence-card p i {
    margin-right: 5px;
    color: var(--nv-teal);
}

.nv-geofence-enabled {
    margin-left: auto;
    color: var(--nv-success);
}

.nv-geofence-card-bottom {
    padding-top: 7px;
    justify-content: space-between;
    border-top: 1px solid var(--nv-border);
}

.nv-geofence-map,
.nv-geofence-demo-map {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    background:
        linear-gradient(115deg, transparent 48%, rgba(142, 160, 183, .12) 49%, transparent 50%),
        linear-gradient(25deg, transparent 48%, rgba(142, 160, 183, .11) 49%, transparent 50%),
        repeating-linear-gradient(90deg, transparent 0 78px, rgba(142, 160, 183, .055) 79px 81px),
        repeating-linear-gradient(0deg, transparent 0 58px, rgba(142, 160, 183, .055) 59px 61px),
        #091827;
    border-radius: 9px;
}

.nv-geofence-demo-map {
    min-height: 180px;
}

.nv-geofence-road {
    position: absolute;
    display: block;
    height: 8px;
    background: rgba(142, 160, 183, .16);
    transform-origin: left center;
}

.nv-geofence-road.road-a {
    top: 62%;
    left: 4%;
    width: 82%;
    transform: rotate(-17deg);
}

.nv-geofence-road.road-b {
    top: 22%;
    left: 28%;
    width: 75%;
    transform: rotate(61deg);
}

.nv-geofence-road.road-c {
    top: 34%;
    left: -4%;
    width: 72%;
    transform: rotate(24deg);
}

.nv-geofence-shape {
    position: absolute;
    display: block;
    background: rgba(0, 229, 212, .11);
    border: 2px solid rgba(0, 229, 212, .56);
}

.nv-geofence-shape.shape-home {
    top: 35%;
    left: 20%;
    width: 128px;
    height: 128px;
    border-radius: 50%;
}

.nv-geofence-shape.shape-depot {
    top: 21%;
    left: 62%;
    width: 150px;
    height: 124px;
    clip-path: polygon(50% 0, 100% 30%, 82% 100%, 16% 92%, 0 28%);
}

.nv-geofence-marker {
    position: absolute;
    z-index: 2;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: var(--nv-navy);
    background: var(--nv-teal);
    border: 3px solid rgba(5, 13, 23, .72);
    border-radius: 50%;
}

.nv-geofence-marker.marker-home {
    top: 48%;
    left: calc(20% + 47px);
}

.nv-geofence-marker.marker-depot {
    top: 36%;
    left: calc(62% + 58px);
}

.nv-geofence-map-legend {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: grid;
    padding: 8px;
    gap: 4px;
    color: var(--nv-muted);
    background: rgba(5, 13, 23, .86);
    border: 1px solid var(--nv-border);
    border-radius: 7px;
    font-size: .61rem;
}

.nv-geofence-map-legend i {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 5px;
    background: var(--nv-teal);
    border-radius: 50%;
}

.nv-geofence-event-list article,
.nv-command-history-list article,
.nv-command-audit-list article {
    display: grid;
    padding: 9px;
    align-items: center;
    gap: 9px;
    grid-template-columns: auto 1fr auto;
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 8px;
}

.nv-geofence-event-list article > span,
.nv-command-history-list article > span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: var(--nv-teal);
    background: rgba(0, 229, 212, .08);
    border-radius: 8px;
}

.nv-geofence-event-list strong,
.nv-geofence-event-list small,
.nv-geofence-event-list p,
.nv-command-history-list strong,
.nv-command-history-list small,
.nv-command-history-list p,
.nv-command-audit-list strong,
.nv-command-audit-list small,
.nv-command-audit-list p {
    display: block;
    margin: 0;
    font-size: .63rem;
}

.nv-geofence-event-list strong,
.nv-command-history-list strong,
.nv-command-audit-list strong {
    color: #fff;
}

.nv-geofence-event-list small,
.nv-geofence-event-list p,
.nv-command-history-list small,
.nv-command-history-list p,
.nv-command-audit-list small,
.nv-command-audit-list p,
.nv-geofence-event-list time,
.nv-command-history-list time,
.nv-command-audit-list time {
    color: var(--nv-muted);
}

.nv-geofence-form-modal,
.nv-command-confirm-modal {
    position: relative;
    width: min(100%, 620px);
    max-height: calc(100vh - 40px);
    padding: 24px;
    overflow-y: auto;
    color: var(--nv-text);
    background: linear-gradient(145deg, #122235, #091725);
    border: 1px solid rgba(0, 229, 212, .3);
    border-radius: var(--nv-radius-lg);
}

.nv-geofence-form-grid {
    display: grid;
    margin-top: 15px;
    gap: 9px;
    grid-template-columns: 1fr 1fr;
}

.nv-geofence-form-grid label,
.nv-command-field {
    display: grid;
    gap: 5px;
}

.nv-geofence-wide {
    grid-column: 1 / -1;
}

.nv-geofence-form-grid span,
.nv-command-field span,
.nv-geofence-options strong {
    color: var(--nv-muted);
    font-size: .64rem;
    font-weight: 800;
}

.nv-geofence-form-grid input,
.nv-geofence-form-grid select,
.nv-command-field input,
.nv-command-field textarea {
    min-height: 38px;
    padding: 8px 9px;
    color: var(--nv-text);
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--nv-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: .72rem;
}

.nv-geofence-form-grid select option {
    color: var(--nv-text);
    background: var(--nv-navy);
}

.nv-geofence-options {
    display: grid;
    margin-top: 14px;
    gap: 7px;
}

.nv-geofence-options label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--nv-text);
    font-size: .7rem;
}

.nv-form-errors {
    display: grid;
    margin-top: 12px;
    padding: 9px;
    gap: 4px;
    color: #fecaca;
    background: rgba(239, 68, 68, .09);
    border: 1px solid rgba(239, 68, 68, .28);
    border-radius: 8px;
    font-size: .68rem;
}

.nv-form-errors i {
    margin-right: 5px;
}

.nv-command-demo-preview {
    grid-template-columns: minmax(230px, .95fr) minmax(0, 1.05fr);
}

.nv-command-demo-steps {
    display: grid;
    gap: 8px;
}

.nv-command-demo-steps span {
    display: flex;
    padding: 11px;
    align-items: center;
    gap: 8px;
    color: var(--nv-text);
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--nv-border);
    border-radius: 8px;
    font-size: .72rem;
}

.nv-command-demo-steps i {
    color: var(--nv-teal);
}

.nv-command-responsible-note {
    display: flex;
    margin-bottom: 12px;
    padding: 12px;
    gap: 10px;
    color: var(--nv-warning);
    background: rgba(245, 158, 11, .07);
    border: 1px solid rgba(245, 158, 11, .25);
    border-radius: 8px;
}

.nv-command-responsible-note strong,
.nv-command-responsible-note span {
    display: block;
    font-size: .7rem;
}

.nv-command-responsible-note span {
    margin-top: 3px;
    color: var(--nv-muted);
}

.nv-command-vehicle-card {
    display: flex;
    width: 100%;
    padding: 11px;
    align-items: center;
    gap: 9px;
    color: var(--nv-muted);
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 9px;
    font-family: inherit;
    text-align: left;
}

.nv-command-vehicle-card:hover,
.nv-command-vehicle-card.is-selected {
    background: rgba(0, 229, 212, .07);
    border-color: rgba(0, 229, 212, .38);
}

.nv-command-vehicle-card > i {
    color: var(--nv-teal);
}

.nv-command-vehicle-card strong,
.nv-command-vehicle-card span {
    display: block;
    font-size: .68rem;
}

.nv-command-vehicle-card strong {
    color: #fff;
}

.nv-command-vehicle-card small {
    margin-left: auto;
    color: var(--nv-warning);
    font-size: .6rem;
    font-weight: 800;
}

.nv-command-vehicle-card small.is-online {
    color: var(--nv-success);
}

.nv-remote-status-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nv-remote-status-head > span {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    color: var(--nv-success);
    background: rgba(34, 197, 94, .1);
    border-radius: 12px;
    font-size: 1.45rem;
}

.nv-remote-status-head > span.is-blocked {
    color: var(--nv-danger);
    background: rgba(239, 68, 68, .1);
}

.nv-remote-status-head h2,
.nv-remote-status-head p {
    margin: 0;
}

.nv-remote-status-head h2 {
    color: #fff;
    font-size: 1rem;
}

.nv-remote-status-head p {
    color: var(--nv-muted);
    font-size: .7rem;
}

.nv-remote-status-grid {
    display: grid;
    margin: 14px 0;
    gap: 7px;
    grid-template-columns: repeat(3, 1fr);
}

.nv-remote-status-grid div {
    display: grid;
    padding: 9px;
    gap: 3px;
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--nv-border);
    border-radius: 8px;
}

.nv-remote-status-grid small {
    color: var(--nv-muted);
    font-size: .58rem;
}

.nv-remote-status-grid strong {
    color: #fff;
    font-size: .66rem;
}

.nv-remote-permission {
    padding: 9px;
    color: var(--nv-success);
    background: rgba(34, 197, 94, .07);
    border-radius: 8px;
    font-size: .67rem;
}

.nv-remote-permission.is-denied {
    color: var(--nv-warning);
    background: rgba(245, 158, 11, .07);
}

.nv-button-danger {
    color: #fff;
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.nv-command-history,
.nv-command-audit {
    margin-top: 14px;
}

.nv-command-audit-list article > i {
    color: var(--nv-success);
}

.nv-command-audit-list article > i.bi-x-circle-fill {
    color: var(--nv-danger);
}

.nv-command-confirm-vehicle {
    display: flex;
    margin: 14px 0;
    padding: 11px;
    align-items: center;
    gap: 9px;
    color: var(--nv-teal);
    background: rgba(0, 229, 212, .06);
    border: 1px solid rgba(0, 229, 212, .2);
    border-radius: 8px;
}

.nv-command-confirm-vehicle strong,
.nv-command-confirm-vehicle span {
    display: block;
}

.nv-command-confirm-vehicle strong {
    color: #fff;
    font-size: .75rem;
}

.nv-command-confirm-vehicle span {
    color: var(--nv-muted);
    font-size: .65rem;
}

.nv-command-field {
    margin-top: 10px;
}

.nv-command-field textarea {
    min-height: 74px;
    resize: vertical;
}

.nv-command-responsibility {
    display: flex;
    margin-top: 12px;
    align-items: start;
    gap: 8px;
    color: var(--nv-text);
    font-size: .68rem;
    line-height: 1.45;
}

.nv-command-safety-note {
    display: flex;
    margin-top: 12px;
    padding: 9px;
    gap: 7px;
    color: var(--nv-muted);
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--nv-border);
    border-radius: 8px;
    font-size: .65rem;
}

.nv-command-safety-note i {
    color: var(--nv-teal);
}

.nv-command-feedback {
    display: flex;
    margin-bottom: 12px;
    padding: 10px;
    align-items: center;
    gap: 7px;
    color: var(--nv-success);
    background: rgba(34, 197, 94, .08);
    border: 1px solid rgba(34, 197, 94, .24);
    border-radius: 8px;
    font-size: .7rem;
}

.nv-command-feedback.is-error {
    color: #fecaca;
    background: rgba(239, 68, 68, .08);
    border-color: rgba(239, 68, 68, .24);
}

.nv-locked-price {
    display: block;
    margin: 9px 0 4px;
    color: var(--nv-teal);
    font-size: 1.05rem;
}

.nv-locked-price small {
    color: var(--nv-muted);
    font-size: .62rem;
}

.nv-tutorial-preview {
    position: relative;
    margin-top: 14px;
    padding: 15px;
    border-color: rgba(0, 229, 212, .22);
}

.nv-tutorial-preview h2,
.nv-tutorial-preview p {
    margin: 7px 0;
}

.nv-tutorial-preview p,
.nv-tutorial-preview ol {
    color: var(--nv-muted);
    font-size: .7rem;
    line-height: 1.55;
}

@media (max-width: 860px) {
    .nv-geofence-layout,
    .nv-command-layout,
    .nv-geofence-demo-preview,
    .nv-command-demo-preview {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .nv-geofence-form-grid,
    .nv-remote-status-grid {
        grid-template-columns: 1fr;
    }

    .nv-geofence-event-list article,
    .nv-command-history-list article,
    .nv-command-audit-list article {
        grid-template-columns: auto 1fr;
    }

    .nv-geofence-event-list time,
    .nv-command-history-list time,
    .nv-command-audit-list time {
        grid-column: 2;
    }
}
