/*! Ditat Theme v1.2.0 — assets/css/platform.css
 * (c) Ditat — https://ditat.com — All rights reserved */

.js-reveal .ph-metric,
.js-reveal .ph-metric-progress-fill,
.js-reveal .ph-bar,
.js-reveal .ph-pie-slice,
.js-reveal .pf-dbg-row {
    animation-play-state: paused;
}

.js-reveal.is-revealed .ph-metric,
.js-reveal.is-revealed .ph-metric-progress-fill,
.js-reveal.is-revealed .ph-bar,
.js-reveal.is-revealed .ph-pie-slice,
.js-reveal.is-revealed .pf-dbg-row {
    animation-play-state: running;
}

.pf-tip::after {
    content: attr(data-tip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 6px;
    background: var(--muted);
    color: var(--white);
    font-family: Inter, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: .65625rem;
    letter-spacing: 0.01em;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
    z-index: 5;
}

.pf-tip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: -2px;
    border: 4px solid transparent;
    border-top-color: var(--muted);
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
    z-index: 5;
}

.pf-tip:hover::after,
.pf-tip:hover::before {
    opacity: 1;
}

.pf-tip--below::after {
    bottom: auto;
    top: 100%;
    margin-bottom: 0;
    margin-top: 6px;
}

.pf-tip--below::before {
    bottom: auto;
    top: 100%;
    margin-bottom: 0;
    margin-top: -2px;
    border-top-color: transparent;
    border-bottom-color: var(--muted);
}

.pf-tip--right::after {
    left: auto;
    right: 0;
    transform: none;
}

.pf-tip--bare::before {
    content: none;
}

.pf-tip--bare::after {
    transition: opacity 0s;
}

.pf-tip--bare:hover::after {
    transition: opacity .15s ease;
}

.pf-oa-hub-icon svg,
.pf-oa-node-icon svg,
.pf-le-contact-ico svg,
.pf-le-block-action-ico svg {
    width: 100%;
    height: 100%;
    display: block;
}

.platform-hero {
    position: relative;
    color: var(--white);
    padding-top: 96px;
    overflow: hidden;
    background: var(--grad-hero-radial);
    display: grid;
    grid-template-columns: 1fr;
}

.platform-hero-inner {
    grid-row: 1;
    grid-column: 1;
    width: 100%;
}

.platform-hero-content {
    padding-bottom: 80px;
}

.platform-hero-dash {
    grid-row: 1;
    grid-column: 1;
    justify-self: end;
    align-self: stretch;
    width: clamp(560px, calc(50vw - 30px), 1200px);
    min-height: clamp(0px, calc((100vw - 1100px) * 1.6), 640px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;

    pointer-events: none;
    z-index: 3;
}

.ph-card-totals,
.ph-card-chart,
.ph-card-pie {
    background: var(--soft);
    border-radius: 16px;
    padding: 24px 26px 22px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.ph-card-totals {
    padding: 24px 26px 26px;
    container-type: inline-size;
    container-name: ph-totals;
}

.platform-hero-dash-totals {
    border-radius: 16px 0 0 16px;
}

.ph-totals-title {

    margin-bottom: 0;
}

.ph-totals-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.ph-metric {
    background: rgba(245, 232, 194, 0.8);
    border-radius: 12px;
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateY(14px);
    animation: ph-metric-in 700ms cubic-bezier(0.34, 1.05, 0.5, 1) forwards;
    animation-delay: var(--d, 0ms);
}

@keyframes ph-metric-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ph-metric-label {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    font-size: .6875rem;
    letter-spacing: 0.04em;
    color: rgb(var(--muted-rgb) / 0.95);
}

.ph-metric-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.ph-metric-value {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    font-size: clamp(16px, 1.3vw, 22px);
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--navy);
}

.ph-metric-change {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: rgb(var(--green-soft-rgb) / 0.2);
    color: var(--green-text);
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: .65625rem;
    padding: 2px 6px 2px 5px;
    border-radius: 5px;
    white-space: nowrap;
    cursor: default;
    pointer-events: auto;
}

.ph-metric--limit .ph-metric-change {
    background: rgb(var(--danger-rgb) / 0.18);
    color: var(--danger-text);
}

.ph-metric-change svg {
    display: block;
    fill: currentColor;
    width: 8px;
    height: 7px;
}

.ph-metric-progress {
    margin-top: 2px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ph-metric-progress-meta {
    display: flex;
    justify-content: space-between;
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: .6875rem;
    color: rgb(var(--muted-rgb) / 0.85);
}

.ph-metric-progress-track {
    height: 3px;
    background: rgb(var(--muted-2-rgb) / 0.28);
    border-radius: 2px;
    overflow: hidden;
}

.ph-metric-progress-fill {
    height: 100%;
    width: 0;
    border-radius: 2px;
    animation: ph-progress-fill 1400ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 600ms;
}

.ph-metric-progress--goal .ph-metric-progress-fill {
    background: var(--green);
}

.ph-metric-progress--limit .ph-metric-progress-fill {
    background: var(--danger);
}

@keyframes ph-progress-fill {
    to {
        width: var(--p, 100%);
    }
}

.platform-hero-dash-chart {
    border-radius: 16px 0 0 0;
    flex: 1 1 0;
    min-height: 0;
}

.ph-chart-title {
    margin-bottom: 14px;
}

.ph-chart-plot {
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr;
    flex: 1 1 0;
    min-height: 0;
}

.ph-chart-yaxis {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.ph-chart-yaxis li {
    position: absolute;
    right: 8px;
    bottom: var(--y);
    transform: translateY(50%);
    font-family: Inter, sans-serif;
    font-size: .71875rem;
    font-weight: 600;
    color: rgb(var(--muted-rgb) / 0.85);
    white-space: nowrap;
}

.ph-chart-bars {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: end;
    border-left: 1px solid rgb(var(--muted-2-rgb) / 0.32);
    border-bottom: 1px solid rgb(var(--muted-2-rgb) / 0.32);
    position: relative;
}

.ph-chart-bars > li {
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    padding: 0 5px;
    position: relative;
}

.ph-chart-bars > li:hover {
    z-index: 10;
}

.ph-bar {
    flex: 1 1 0;
    min-width: 0;
    border-radius: 3px 3px 0 0;
    transform: scaleY(0);
    transform-origin: 50% 100%;
    animation: ph-bar-rise 1100ms cubic-bezier(0.34, 1.05, 0.5, 1) forwards;
    animation-delay: var(--d, 0ms);
    will-change: transform;
    pointer-events: auto;
    position: relative;
    transition: filter .15s ease;
}

.ph-bar:hover {
    filter: brightness(0.92);
}

.ph-bar-current {
    height: var(--cur, 0%);
    background: var(--bar-blue);
}

.ph-bar-previous {
    height: var(--prev, 0%);
    background: var(--bar-blue-deep);
}

@keyframes ph-bar-rise {
    to {
        transform: scaleY(1);
    }
}

.ph-chart-xaxis {
    list-style: none;
    margin: 0;
    padding: 0 0 0 44px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}

.ph-chart-xaxis li {
    font-family: Inter, sans-serif;
    font-size: .78125rem;
    font-weight: 600;
    color: rgb(var(--muted-rgb) / 0.85);
    text-align: left;
}

.ph-chart-legend {
    list-style: none;
    margin: 0;
    padding: 4px 0 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 28px;
}

.ph-chart-legend li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: Inter, sans-serif;
    font-size: .8125rem;
    font-weight: 500;
    color: rgb(var(--muted-rgb) / 0.95);
}

.ph-swatch {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    display: inline-block;
}

.ph-swatch-current {
    background: var(--bar-blue);
}

.ph-swatch-previous {
    background: var(--bar-blue-deep);
}

.ph-pie-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-height: 0;
    container-type: inline-size;
    container-name: ph-pie;
}

.ph-pie-figure {
    position: relative;
    width: 100%;
    max-width: 220px;
    aspect-ratio: 1;
    margin: 0 auto;
}

@container ph-pie (min-width: 460px) {
    .ph-pie-body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 24px;
    }
}

.ph-pie-svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.ph-pie-slice {
    opacity: 0;
    transform: scale(0.92);
    transform-origin: 100px 100px;
    animation: ph-pie-in 700ms cubic-bezier(0.34, 1.05, 0.5, 1) forwards;
    animation-delay: var(--d, 0ms);
}

.ph-pie-slice:hover {
    fill: url(#ph-pie-stripes);
}

@keyframes ph-pie-in {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.ph-pie-tooltip {
    position: absolute;
    transform: translate(-50%, calc(-100% - 6px));
    background: var(--muted);
    color: var(--white);
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: .65625rem;
    letter-spacing: 0.01em;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0s;
    z-index: 5;
}

.ph-pie-tooltip.is-visible {
    opacity: 1;
    transition: opacity .15s ease;
}

.ph-pie-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ph-pie-legend li {
    display: grid;
    grid-template-columns: 14px 1fr auto;
    align-items: center;
    gap: 10px;
    font-family: Inter, sans-serif;
    font-size: .8125rem;
    color: rgb(var(--muted-rgb) / 0.95);
}

.ph-pie-legend-name {
    font-weight: 500;
}

.ph-pie-legend-val {
    font-weight: 600;
    color: var(--navy);
}

.ph-pie-swatch {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: var(--c, var(--bar-blue));
}

.pf-dashboards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pf-dashboards-row {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}

.pf-dashboards .ph-card-totals,
.pf-dashboards .ph-card-chart,
.pf-dashboards .ph-card-pie {
    background: var(--white);
    box-shadow: 0 2px 8px rgb(var(--shadow-base) / 0.06),
                0 18px 40px -12px rgb(var(--shadow-base) / 0.18);
}

.pf-dashboards .ph-chart-plot {
    flex: initial;
    height: 220px;
}

@media (max-width: 768px) {
    .pf-dashboards-row {
        grid-template-columns: 1fr;
    }

    .ph-pie-body {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
    }
}

@container ph-totals (max-width: 615px) {
    .ph-totals-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .ph-metric:nth-child(n+5) {
        display: none;
    }
}

@container ph-totals (max-width: 490px) {
    .ph-totals-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ph-metric:nth-child(n+4) {
        display: none;
    }
}

@container ph-totals (max-width: 365px) {
    .ph-totals-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ph-metric:nth-child(n+3) {
        display: none;
    }
}

@container ph-totals (max-width: 240px) {
    .ph-totals-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ph-metric:nth-child(n+2) {
        display: none;
    }
}

@media (max-width: 900px) {
    .ph-chart-bars,
    .ph-chart-xaxis {
        grid-template-columns: repeat(9, 1fr);
    }

    .ph-chart-bars > li:nth-child(n+10),
    .ph-chart-xaxis > li:nth-child(n+10) {
        display: none;
    }
}

@media (max-width: 560px) {
    .ph-chart-bars,
    .ph-chart-xaxis {
        grid-template-columns: repeat(6, 1fr);
    }

    .ph-chart-bars > li:nth-child(n+7),
    .ph-chart-xaxis > li:nth-child(n+7) {
        display: none;
    }

    .ph-chart-bars > li {
        padding: 0 3px;
        gap: 2px;
    }
}

.platform-hero-inner {
    position: relative;
    z-index: 2;
}

.platform-hero-content {
    max-width: 580px;
}

.platform-hero-title {
    color: var(--white);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(32px, 3.2vw, 48px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 48px;
}

.platform-hero-lead {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(16px, 1.3vw, 20px);
    line-height: 1.4;
    margin: 0 0 48px;
}

.platform-hero-bullets {
    list-style: none;
    margin: 0 0 48px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.platform-hero-bullets li {
    position: relative;
    padding-left: 24px;
    color: var(--text-on-dark);
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.4;
}

.platform-hero-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    border-radius: 50%;
    background: var(--coral-bright);
}

.platform-hero-cta {
    font-size: .9375rem;
}

.pf-modules {
    scroll-margin-top: 0;
}

@media (max-width: 768px) {
    .pf-modules {
        padding-top: 32px;
    }
}

.pf-modules .eyebrow {
    display: block;
    text-align: center;
}

.pf-modules .section-title {
    text-align: center;
}

.pf-modules .section-sub,
.pf-eco .section-sub {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

@media (min-width: 769px) {
    .pf-modules .section-sub {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .pf-modules .section-sub {
        margin-bottom: 16px;
    }
}

.pf-modules-card {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 56px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.pf-modules-rail {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: transparent;
}

.pf-cat {
    background: transparent;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    display: flex;
    flex-direction: column;
}

.pf-cat:first-child {
    border-top: 0;
}

.pf-cat-head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 4px;
    background: transparent;
    border: 0;
    font: inherit;
    cursor: pointer;
    text-align: left;
    color: var(--navy);
    transition: color .15s ease;
}

.pf-cat-head:hover {
    color: var(--coral);
}

.pf-cat-head:focus-visible {
    outline: 2px solid var(--coral);
    outline-offset: 2px;
    border-radius: 6px;
}

.pf-cat-title {
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.01em;
    color: inherit;
    text-transform: none;
}

.pf-cat.is-open .pf-cat-title {
    color: var(--coral);
}

.pf-cat-chevron {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .2s ease, color .15s ease;
    color: var(--muted);
    flex-shrink: 0;
    margin-right: 6px;
}

.pf-cat-head:hover .pf-cat-chevron {
    color: var(--coral);
}

.pf-cat.is-open .pf-cat-chevron {
    transform: rotate(225deg) translate(-2px, -2px);
    color: var(--coral);
}

.pf-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    position: relative;
}

.pf-cat.is-open .pf-cat-list {
    display: block;
    padding: 0 0 14px;
}

.pf-cat-list::before, .pf-cat.is-open .pf-cat-list::before {
    display: none;
}

.pf-cat-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0;
}

.pf-cat-marker {
    display: block;
    position: absolute;
    left: 4px;
    top: 8px;
    bottom: 8px;
    width: 4px;
    background: var(--coral);
    border-radius: 2px;
    opacity: 0;
    z-index: 1;
    transition: opacity .15s ease;
}

.pf-cat-item.is-active .pf-cat-marker {
    opacity: 1;
}

.pf-cat-item-btn {
    flex: 1;
    background: transparent;
    border: 0;
    font: inherit;
    text-align: left;
    cursor: pointer;
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: .90625rem;
    color: var(--muted);
    padding: 10px 14px;
    margin-left: 20px;
    border-radius: 10px;
    transition: background .15s ease, color .15s ease;
}

.pf-cat-item.is-active .pf-cat-item-btn {
    background: var(--soft);
    color: var(--navy);
    font-weight: 700;
}

.pf-cat-item:not(.is-active) .pf-cat-item-btn:hover {
    color: var(--navy);
}

.pf-modules-stage {
    padding: 40px;
    background: var(--soft-2);
    border-radius: 24px;
    position: relative;
    min-width: 0;
}

.pf-panel {
    display: none;
}

.pf-panel.is-active {
    display: block;
}

.pf-panel-eye {
    display: none;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: .8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 20px;
}

.pf-panel-title {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    font-size: clamp(20px, 1.5vw, 24px);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin: 0 0 12px;
}

.pf-panel-lead {
    font-size: 1.125rem;
    line-height: 1.5;
    color: var(--muted);
    margin: 0 0 32px;
    max-width: 720px;
}

.pf-panel-placeholder {
    margin-top: 16px;
    background: rgb(var(--soft-rgb) / 0.6);
    border: 1px dashed rgb(var(--muted-2-rgb) / 0.4);
    border-radius: 16px;
    padding: 80px 24px;
    text-align: center;
    color: var(--muted);
    font-weight: 600;
}

.pf-panel-placeholder-shell {
    font-size: .9375rem;
    letter-spacing: 0.02em;
}

.pf-ih-cols {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
    height: 480px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 13%, #000 87%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 13%, #000 87%, transparent 100%);
}

.pf-ih-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
    will-change: transform;
}

.pf-ih-col--up {
    animation: ihMarqueeUp 140s linear infinite;
}

.pf-ih-col--down {
    animation: ihMarqueeDown 140s linear infinite;
}

.pf-ih-col[data-col="1"] { animation-duration: 168s; }
.pf-ih-col[data-col="2"] { animation-duration: 128s; }
.pf-ih-col[data-col="3"] { animation-duration: 184s; }

.pf-ih-cols:hover .pf-ih-col {
    animation-play-state: paused;
}

@keyframes ihMarqueeUp {
    from { transform: translateY(0); }
    to   { transform: translateY(-50%); }
}

@keyframes ihMarqueeDown {
    from { transform: translateY(-50%); }
    to   { transform: translateY(0); }
}

.pf-ih-tile {
    height: 92px;
    margin-bottom: 16px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
}

.pf-ih-logo {
    max-width: 100%;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.pf-shot-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 2px 4px 16px rgb(var(--navy-rgb) / 0.08),
    -2px 0 16px rgb(var(--navy-rgb) / 0.05);
}

.pf-shot--float .pf-shot-img {
    border-radius: 0;
    box-shadow: none;
}

.pf-shot--float {
    overflow: hidden;
    border-radius: 18px;
    cursor: zoom-in;
}

.pf-shot--float .pf-shot-img {
    transform-origin: 0 0;
    will-change: transform;
}

.pf-oa {
    position: relative;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 706 / 485;
}

.pf-oa-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    color: rgb(var(--muted-2-rgb) / 0.7);
    overflow: visible;
}

.pf-oa-line line {
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 2 6;
    stroke-dashoffset: 0;
    animation: pf-oa-flow 3.2s linear infinite;
}

@keyframes pf-oa-flow {
    to {
        stroke-dashoffset: -16;
    }
}

.pf-oa-hub,
.pf-oa-node {
    position: absolute;
    background: var(--white);
    border: 1px solid rgb(var(--navy-rgb) / 0.12);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: translate(-50%, -50%);
}

.pf-oa-hub {
    top: 50%;
    left: 50%;
    width: 38.81%;
    aspect-ratio: 1;
    padding: 5%;
    box-shadow: 0 18px 40px -16px rgb(var(--navy-rgb) / 0.18),
    0 4px 12px -4px rgb(var(--navy-rgb) / 0.06);
}

.pf-oa-hub::before {
    content: "";
    position: absolute;
    inset: -8%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgb(var(--flamingo-rgb) / 0.10), rgb(var(--flamingo-rgb) / 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.pf-oa-hub-icon {
    width: 30%;
    aspect-ratio: 1;
    color: var(--flamingo);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pf-oa-hub-title {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: clamp(15px, 2vw, 24px);
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--navy);
    margin-top: 22px;
}

.pf-oa-hub-tag {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: clamp(9px, 0.9vw, 11px);
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: var(--muted-2);
    margin-top: 7px;
}

.pf-oa-node {
    width: 18.27%;
    aspect-ratio: 1;
    padding: 4%;
    box-shadow: 0 8px 20px -10px rgb(var(--navy-rgb) / 0.10),
    0 2px 6px -2px rgb(var(--navy-rgb) / 0.04);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.pf-oa-node:hover {
    transform: translate(-50%, -50%) translateY(-2px);
    border-color: rgb(var(--flamingo-rgb) / 0.35);
    box-shadow: 0 16px 30px -12px rgb(var(--navy-rgb) / 0.18),
    0 4px 10px -4px rgb(var(--navy-rgb) / 0.08);
}

.pf-oa-node:hover .pf-oa-node-icon {
    color: var(--flamingo);
}

.pf-oa-node-icon {
    width: 55%;
    aspect-ratio: 1;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color .25s ease;
}

.pf-oa-node-icon[data-icon="billing"] {
    width: 42%;
}

.pf-oa-node-label {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 600;
    font-size: clamp(8px, 0.85vw, 10px);
    line-height: 1.2;
    letter-spacing: -0.005em;
    color: var(--navy);
    margin-top: 10%;
    white-space: nowrap;
}

.pf-oa-node--tl {
    left: 27.41%;
    top: 13.30%;
}

.pf-oa-node--tr {
    left: 72.59%;
    top: 13.30%;
}

.pf-oa-node--ml {
    left: 9.14%;
    top: 50.00%;
}

.pf-oa-node--mr {
    left: 90.86%;
    top: 50.00%;
}

.pf-oa-node--bl {
    left: 27.41%;
    top: 86.70%;
}

.pf-oa-node--br {
    left: 72.59%;
    top: 86.70%;
}

@media (max-width: 720px) {
    .pf-oa {
        aspect-ratio: auto;
        max-width: 480px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .pf-oa-lines {
        display: none;
    }

    .pf-oa-hub,
    .pf-oa-node {
        position: static;
        transform: none;
    }

    .pf-oa-node:hover {
        transform: translateY(-2px);
    }

    .pf-oa-hub {
        width: clamp(180px, 60vw, 240px);
        padding: 22px 16px;
    }

    .pf-oa-hub-icon {
        width: 56px;
    }

    .pf-oa-hub-title {
        margin-top: 16px;
    }

    .pf-oa-nodes {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
        width: 100%;
    }

    .pf-oa-node {
        width: 100%;
        padding: 16px 6px;
    }

    .pf-oa-node-icon {
        width: 40px;
    }

    .pf-oa-node-icon[data-icon="billing"] {
        width: 31px;
    }

    .pf-oa-node-label {
        font-size: .6875rem;
        margin-top: 10px;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .pf-oa-nodes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.pf-db {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.pf-db-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pf-db-coltitle {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: .75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.pf-db-card {
    background: var(--white);
    border-radius: 18px;
    padding: 22px 22px 18px;
    box-shadow: -3px -3px 6px rgb(var(--navy-rgb) / 0.05), 3px 3px 7px rgb(var(--navy-rgb) / 0.08);
    position: relative;
}

.pf-db-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.pf-db-row strong {
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: .9375rem;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.pf-db-card small {
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: .8125rem;
    color: rgb(var(--muted-2-rgb) / 0.95);
}

.pf-db-pill {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: .6875rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--soft);
    color: var(--muted);
    flex-shrink: 0;
}

.pf-db-pill--warn {
    background: #f8e6d9;
    color: #c77739;
}

.pf-db-driver {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
}

.pf-db-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.01em;
}

.pf-db-avatar--blue {
    background: rgb(var(--info-rgb) / 0.15);
    color: var(--info);
}

.pf-db-avatar--accent {
    background: rgba(136, 185, 255, 0.2);
    color: #88b9ff;
}

.pf-db-avatar--gray {
    background: rgb(var(--muted-2-rgb) / 0.18);
    color: var(--muted);
}

.pf-db-driver-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pf-db-driver-meta strong {
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: .9375rem;
    color: var(--navy);
}

.pf-db-driver-meta small {
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: .8125rem;
    color: var(--muted);
}

.pf-db-status {
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: .8125rem;
    color: var(--muted);
    white-space: nowrap;
}

.pf-db-status--off {
    color: var(--muted);
}

.pf-dbg {
    background: var(--white);
    border: 1px solid rgb(var(--muted-2-rgb) / 0.18);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgb(var(--shadow-base) / 0.06),
    0 18px 40px -12px rgb(var(--shadow-base) / 0.18);
    font-family: Inter, sans-serif;
}

.pf-dbg-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    background: var(--white);
    border-bottom: 1px solid rgb(var(--muted-2-rgb) / 0.16);
}

.pf-dbg-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.pf-dbg-fchip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 5px 5px 11px;
    background: var(--white);
    border: 1px solid rgb(var(--muted-2-rgb) / 0.32);
    border-radius: 999px;
    font-size: .78125rem;
    line-height: 1.2;
    box-shadow: 0 1px 2px rgb(var(--shadow-base) / 0.04);
    white-space: nowrap;
    cursor: default;
}

.pf-dbg-fchip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--muted-2);
    flex-shrink: 0;
}

.pf-dbg-fchip--date .pf-dbg-fchip-dot {
    background: var(--info);
}

.pf-dbg-fchip--status .pf-dbg-fchip-dot {
    background: var(--success);
}

.pf-dbg-fchip--flag .pf-dbg-fchip-dot {
    background: var(--warning);
}

.pf-dbg-fchip-l {
    color: var(--muted);
    font-weight: 600;
}

.pf-dbg-fchip-v {
    color: var(--navy);
    font-weight: 700;
    letter-spacing: -0.005em;
}

.pf-dbg-fchip-x {
    position: relative;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-left: 1px;
    color: var(--muted-2);
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.pf-dbg-fchip-x:hover {
    background: rgb(var(--muted-2-rgb) / 0.18);
    color: var(--navy);
}

.pf-dbg-fchip-x::before,
.pf-dbg-fchip-x::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 8px;
    width: 8px;
    height: 1.5px;
    background: currentColor;
    border-radius: 1px;
}

.pf-dbg-fchip-x::before {
    transform: rotate(45deg);
}

.pf-dbg-fchip-x::after {
    transform: rotate(-45deg);
}

.pf-dbg-count {
    font-weight: 600;
    font-size: .75rem;
    color: var(--muted);
    padding: 4px 10px;
    background: var(--white);
    border: 1px solid rgb(var(--muted-2-rgb) / 0.25);
    border-radius: 999px;
    flex-shrink: 0;
    white-space: nowrap;
}

.pf-dbg-table {
    padding: 4px 0;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgb(var(--muted-2-rgb) / 0.5) transparent;
}

.pf-dbg-head, .pf-dbg-row {
    display: grid;
    grid-template-columns:
    minmax(92px, 1fr)
    minmax(94px, 0.85fr)
    minmax(195px, 1.55fr)
    minmax(140px, 1.2fr)
    minmax(78px, 0.7fr)
    minmax(58px, 0.6fr)
    minmax(124px, 0.95fr)
    minmax(50px, 0.5fr)
    minmax(50px, 0.55fr)
    minmax(64px, 0.7fr);
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
}

@media (min-width: 701px) {
    .pf-dbg-head, .pf-dbg-row {
        min-width: 1072px;
    }
}

.pf-dbg-head,
.pf-le-thead {
    font-weight: 700;
    font-size: .65625rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted-2);
    padding-top: 14px;
    padding-bottom: 8px;
}

.pf-dbg-head > span {
    white-space: nowrap;
}

.pf-dbg-ra {
    text-align: right;
}

.pf-dbg-sortable {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    user-select: none;
    transition: color .15s ease;
}

.pf-dbg-ra.pf-dbg-sortable {
    justify-content: flex-end;
}

.pf-dbg-sortable:hover {
    color: var(--navy);
}

.pf-dbg-sortable::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 4px solid currentColor;
    opacity: 0;
    transition: opacity .15s ease, transform .15s ease;
}

.pf-dbg-sortable.is-sorted {
    color: var(--navy);
}

.pf-dbg-sortable.is-sorted::after {
    opacity: 0.85;
}

.pf-dbg-sortable.is-sorted[data-sort-dir="asc"]::after {
    transform: rotate(180deg);
}

.pf-dbg-row {
    position: relative;
    padding-top: 14px;
    padding-bottom: 14px;
    animation: pf-dbg-rowin 600ms cubic-bezier(0.34, 1.05, 0.5, 1) backwards;
    animation-delay: var(--d, 0ms);
}

.pf-dbg-row + .pf-dbg-row {
    border-top: 1px solid rgb(var(--muted-2-rgb) / 0.10);
}

@keyframes pf-dbg-rowin {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pf-dbg-row:nth-child(even) {
    background: rgb(var(--muted-2-rgb) / 0.06);
}

@media (hover: hover) and (pointer: fine) {
    .pf-dbg-row {
        cursor: pointer;
        transition: background-color .15s ease;
    }

    .pf-dbg-row:hover {
        background: rgb(var(--hero-blue-1) / 0.07);
    }
}

.pf-dbg-row.is-alert .pf-dbg-eta {
    color: var(--coral);
    font-weight: 700;
}

.pf-dbg-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px 4px 9px;
    font-size: .75rem;
    font-weight: 600;
    border-radius: 999px;
    width: fit-content;
    white-space: nowrap;
}

.pf-dbg-status > i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.pf-dbg-status--assigned {
    background: rgb(var(--muted-rgb) / 0.16);
    color: #475569;
}

.pf-dbg-status--loading {
    background: rgb(var(--info-rgb) / 0.13);
    color: var(--info-text);
}

.pf-dbg-status--unloading {
    background: rgb(var(--success-rgb) / 0.13);
    color: var(--success-text);
}

.pf-dbg-trip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.pf-dbg-trip-num {
    font-family: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
    font-weight: 600;
    font-size: .8125rem;
    color: var(--navy);
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pf-dbg-route {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .8125rem;
    color: var(--navy);
    font-weight: 600;
    min-width: 0;
}

.pf-dbg-route strong {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.pf-dbg-arrow {
    width: 11px;
    height: 1px;
    background: rgb(var(--muted-2-rgb) / 0.55);
    position: relative;
    flex-shrink: 0;
}

.pf-dbg-arrow::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 50%;
    width: 4px;
    height: 4px;
    border-top: 1px solid rgb(var(--muted-2-rgb) / 0.55);
    border-right: 1px solid rgb(var(--muted-2-rgb) / 0.55);
    transform: translateY(-50%) rotate(45deg);
}

.pf-dbg-driver {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.pf-dbg-msg,
.pf-dbg-edit {
    position: relative;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: var(--muted-2);
    cursor: pointer;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}

.pf-dbg-msg svg,
.pf-dbg-edit svg {
    width: 14px;
    height: 14px;
    display: block;
}

.pf-dbg-msg {
    margin-left: auto;
}

.pf-dbg-msg:hover,
.pf-dbg-edit:hover {
    background: rgb(var(--shadow-base) / 0.06);
    color: var(--navy);
}

.pf-dbg-av {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .6875rem;
    font-weight: 700;
    flex-shrink: 0;
    font-style: normal;
}

.pf-dbg-av--blue {
    background: rgb(var(--info-rgb) / 0.15);
    color: var(--info);
}

.pf-dbg-av--accent {
    background: rgba(136, 185, 255, 0.25);
    color: #4a8bd6;
}

.pf-dbg-av--gray {
    background: rgb(var(--muted-2-rgb) / 0.18);
    color: var(--muted);
}

.pf-dbg-av--empty {
    background: transparent;
    border: 1px dashed rgb(var(--muted-2-rgb) / 0.45);
}

.pf-dbg-t {
    font-size: .8125rem;
    font-weight: 600;
    color: var(--navy);
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pf-dbg-cc {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.pf-dbg-cc-add,
.pf-dbg-cc-bell,
.pf-dbg-reefer-ic,
.pf-dbg-track-ping,
.pf-dbg-track-pin {
    display: inline-flex;
    flex-shrink: 0;
}

.pf-dbg-cc-add,
.pf-dbg-cc-bell,
.pf-dbg-track-ping,
.pf-dbg-track-pin {
    position: relative;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color .15s ease, box-shadow .15s ease;
}

.pf-dbg-cc-add:hover,
.pf-dbg-cc-bell:hover,
.pf-dbg-track-ping:hover,
.pf-dbg-track-pin:hover {
    background: rgb(var(--shadow-base) / 0.06);
    box-shadow: 0 0 0 6px rgb(var(--shadow-base) / 0.06);
}

.pf-dbg-cc-add {
    color: var(--info);
}

.pf-dbg-cc-add svg {
    width: 15px;
    height: 15px;
}

.pf-dbg-cc-bell {
    color: var(--success);
}

.pf-dbg-cc-bell svg {
    width: 16px;
    height: 16px;
}

.pf-dbg-truck {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.pf-dbg-truck-num {
    font-family: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
    font-weight: 600;
    font-size: .8125rem;
    color: var(--navy);
    white-space: nowrap;
}

.pf-dbg-fuel-badge {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pf-dbg-fuel-badge svg {
    width: 15px;
    height: 15px;
}

.pf-dbg-fuel-badge--ok {
    background: rgb(var(--success-rgb) / 0.13);
    color: var(--success-text);
}

.pf-dbg-fuel-badge--warn {
    background: rgb(var(--coral-bright-rgb) / 0.14);
    color: var(--coral);
}

.pf-dbg-reefer-ic {
    color: var(--info);
}

.pf-dbg-reefer-ic svg {
    width: 17px;
    height: 17px;
}

.pf-dbg-track {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.pf-dbg-track-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--coral);
    flex-shrink: 0;
}

.pf-dbg-track-ping {
    color: var(--success);
}

.pf-dbg-track-ping svg {
    width: 14px;
    height: 14px;
}

.pf-dbg-track-pin {
    color: var(--coral-bright);
}

.pf-dbg-track-pin svg {
    width: 15px;
    height: 15px;
}

.pf-dbg-none {
    font-size: .8125rem;
    font-weight: 600;
    color: rgb(var(--muted-2-rgb) / 0.9);
}

.pf-dbg-eta {
    font-size: .8125rem;
    font-weight: 600;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

@media (min-width: 1101px) {
    .pf-modules-stage {
        display: flex;
        flex-direction: column;
    }

    .pf-panel.is-active,
    .pf-panel.is-active .pf-dbg,
    .pf-panel.is-active .pf-dbg-table {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
    }

    .pf-panel.is-active .pf-panel-placeholder {
        flex: 1;
        margin-top: 16px;
        padding: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 0;
    }

    .pf-panel.is-active .pf-dbg-row {
        flex: 1 1 0;
        min-height: 50px;
    }
}

@media (max-width: 700px) {
    .pf-dbg-bar {
        padding: 12px 14px;
        gap: 10px;
    }

    .pf-dbg-filters > .pf-dbg-fchip:last-child {
        display: none;
    }

    .pf-dbg-count {
        display: none;
    }

    .pf-dbg-table > .pf-dbg-row:nth-child(n+7) {
        display: none;
    }

    .pf-dbg-fchip {
        padding: 4px 4px 4px 9px;
        font-size: .71875rem;
        gap: 5px;
    }

    .pf-dbg-fchip-x {
        width: 16px;
        height: 16px;
    }

    .pf-dbg-fchip-x::before,
    .pf-dbg-fchip-x::after {
        left: 4px;
        top: 7px;
        width: 7px;
    }

    .pf-dbg-head {
        display: none;
    }

    .pf-dbg-table {
        padding: 0;
    }

    .pf-dbg-row {
        grid-template-columns: 1fr auto;
        grid-template-areas:
      "trip   status"
      "route  route"
      "driver eta";
        gap: 6px 12px;
        padding: 14px 16px;
        align-items: center;
    }

    .pf-dbg-row > :nth-child(1) {
        grid-area: status;
        justify-self: end;
    }

    .pf-dbg-row > :nth-child(2) {
        grid-area: trip;
    }

    .pf-dbg-row > :nth-child(3) {
        grid-area: route;
    }

    .pf-dbg-row > :nth-child(4) {
        grid-area: driver;
    }

    .pf-dbg-row > :nth-child(n+5):nth-child(-n+9) {
        display: none;
    }

    .pf-dbg-row > :nth-child(10) {
        grid-area: eta;
        justify-self: end;
    }

    .pf-dbg-trip-num {
        font-size: .71875rem;
        color: var(--muted);
        font-weight: 500;
    }

    .pf-dbg-status {
        font-size: .6875rem;
        padding: 3px 9px 3px 7px;
    }

    .pf-dbg-route {
        gap: 8px;
        font-size: .875rem;
    }

    .pf-dbg-av {
        width: 24px;
        height: 24px;
        font-size: .625rem;
    }

    .pf-dbg-eta {
        font-size: .75rem;
    }

    .pf-dbg-driver {
        gap: 8px;
    }

    .pf-dbg-msg {
        margin-left: 0;
    }
}

.pf-dc-chat {
    width: 100%;
}

.pf-dc-modal {
    position: relative;
    width: 100%;
    height: 520px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgb(var(--shadow-base) / 0.06),
    0 18px 40px -12px rgb(var(--shadow-base) / 0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pf-dc-screen-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid rgb(var(--muted-2-rgb) / 0.14);
}

.pf-dc-head-meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
}

.pf-dc-presence {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: Inter, sans-serif;
    font-size: .75rem;
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pf-dc-presence-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
}

.pf-dc-head-close {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: transparent;
    border: 0;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: default;
    transition: background-color .15s ease, color .15s ease;
}

.pf-dc-head-close:hover {
    background: rgb(var(--muted-2-rgb) / 0.14);
    color: var(--navy);
}

.pf-dc-head-close svg {
    width: 9px;
    height: 9px;
    display: block;
}

.pf-dc-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(99, 142, 202, 0.18);
    color: #4A6E9C;
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: .875rem;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pf-dc-name {
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.01em;
    color: var(--navy);
}

.pf-dc-status {
    background: #D5FFDF;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 8px;
    border-radius: 12px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: .625rem;
    letter-spacing: 0.08em;
}

.pf-dc-status i {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
}

.pf-dc-thread {
    padding: 8px 6px 8px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
    transition: scrollbar-color 0.2s ease;
}

.pf-dc-thread:hover,
.pf-dc-thread:focus-within {
    scrollbar-color: rgb(var(--muted-2-rgb) / 0.4) transparent;
}

.pf-dc-thread::-webkit-scrollbar {
    width: 6px;
}

.pf-dc-thread::-webkit-scrollbar-track {
    background: transparent;
}

.pf-dc-thread::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 3px;
    transition: background-color 0.2s ease;
}

.pf-dc-thread:hover::-webkit-scrollbar-thumb,
.pf-dc-thread:focus-within::-webkit-scrollbar-thumb {
    background: rgb(var(--muted-2-rgb) / 0.35);
}

.pf-dc-thread:hover::-webkit-scrollbar-thumb:hover {
    background: rgb(var(--muted-2-rgb) / 0.55);
}

.pf-dc-thread > .pf-dc-msg,
.pf-dc-thread > .pf-dc-typing {
    display: none;
}

.pf-dc-thread > .pf-dc-msg.is-shown {
    display: block;
    opacity: 0;
    transform: translateY(10px);
    animation: pf-dc-msg-in 600ms cubic-bezier(0.34, 1.05, 0.5, 1) both;
}

@keyframes pf-dc-msg-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pf-dc-typing {
    align-self: flex-start;
    background: var(--white);
    border: 1px solid rgb(var(--muted-2-rgb) / 0.22);
    border-radius: 18px 18px 18px 4px;
    align-items: center;
    gap: 4px;
    opacity: 0;
    max-height: 0;
    padding: 0 14px;
    overflow: hidden;
}

.pf-dc-thread > .pf-dc-typing.is-shown {
    display: flex;
    animation: pf-dc-typing-cycle 1100ms cubic-bezier(0.34, 1.05, 0.5, 1) both;
}

.pf-dc-typing span {
    width: 6px;
    height: 6px;
    background: var(--muted-2);
    border-radius: 50%;
    animation: pf-dc-dot-bounce 1000ms ease-in-out infinite;
}

.pf-dc-typing span:nth-child(2) {
    animation-delay: 150ms;
}

.pf-dc-typing span:nth-child(3) {
    animation-delay: 300ms;
}

@keyframes pf-dc-typing-cycle {
    0%, 100% {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    15%, 82% {
        opacity: 1;
        max-height: 40px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

@keyframes pf-dc-dot-bounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.45;
    }
    30% {
        transform: translateY(-3px);
        opacity: 1;
    }
}

.pf-dc-input-bar {
    padding: 10px 14px 14px;
    border-top: 1px solid rgb(var(--muted-2-rgb) / 0.14);
}

.pf-dc-input {
    position: relative;
    min-height: 40px;
    padding: 11px 80px 11px 16px;
    background: var(--white);
    border: 1px solid rgb(var(--muted-2-rgb) / 0.28);
    border-radius: 20px;
    font-family: Inter, sans-serif;
    font-size: .8125rem;
    line-height: 1.4;
    color: var(--navy);
}

.pf-dc-input-text {
    display: block;
    white-space: pre-wrap;
    word-break: break-word;
}

.pf-dc-input.is-typing .pf-dc-input-text::after {
    content: '|';
    margin-left: 1px;
    color: var(--imessage-blue);
    animation: pf-dc-caret 700ms steps(2) infinite;
}

@keyframes pf-dc-caret {
    50% {
        opacity: 0;
    }
}

.pf-dc-input-placeholder {
    position: absolute;
    left: 16px;
    top: 11px;
    color: rgb(var(--muted-rgb) / 0.7);
    pointer-events: none;
    transition: opacity .2s ease;
}

.pf-dc-input.has-text .pf-dc-input-placeholder {
    opacity: 0;
}

.pf-dc-mic {
    position: absolute;
    right: 40px;
    bottom: 4px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.pf-dc-mic svg {
    width: 15px;
    height: 15px;
    display: block;
}

.pf-dc-send {
    position: absolute;
    right: 4px;
    bottom: 4px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--imessage-blue);
    color: var(--white);
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    transition: transform .12s ease, box-shadow .12s ease;
}

.pf-dc-send svg {
    width: 15px;
    height: 15px;
    display: block;
    transform: translate(0.5px, -0.5px);
}

.pf-dc-send.is-pulsing {
    animation: pf-dc-send-pulse 360ms ease-out;
}

@keyframes pf-dc-send-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgb(var(--imessage-blue-rgb) / 0.55);
    }
    40% {
        transform: scale(0.88);
        box-shadow: 0 0 0 5px rgb(var(--imessage-blue-rgb) / 0.18);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgb(var(--imessage-blue-rgb) / 0);
    }
}

@media (max-width: 700px) {
    .pf-dc-chat {
        margin-top: 0;
    }

    .pf-dc-modal {
        position: static;
        transform: none;
        width: 100%;
        max-width: none;
        max-height: none;
        height: 480px;
        border: 1px solid rgb(var(--muted-2-rgb) / 0.18);
        box-shadow: 0 8px 18px rgb(var(--navy-rgb) / 0.08),
        0 22px 44px -14px rgb(var(--navy-rgb) / 0.22);
    }

}

.pf-dc-msg {
    max-width: 88%;
    padding: 10px 14px;
    border-radius: 18px;
    line-height: 1.4;
}

.pf-dc-msg p {
    margin: 0;
    font-family: Inter, sans-serif;
    font-size: .875rem;
    color: var(--navy);
}

.pf-dc-msg small {
    display: block;
    margin-top: 4px;
    font-size: .75rem;
    color: var(--muted);
    font-weight: 500;
}

.pf-dc-msg--in {
    align-self: flex-start;
    background: var(--white);
    border: 1px solid rgb(var(--muted-2-rgb) / 0.22);
    border-bottom-left-radius: 4px;
}

.pf-dc-msg--out {
    align-self: flex-end;
    background: var(--imessage-blue);
    border-bottom-right-radius: 4px;
}

.pf-dc-msg--out p {
    color: var(--white);
}

.pf-dc-msg--out small {
    color: rgba(255, 255, 255, 0.75);
}

.pf-dc-attachment {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 6px 10px 6px 6px;
    background: var(--white);
    border: 1px solid rgb(var(--muted-2-rgb) / 0.25);
    border-radius: 8px;
    font-family: Inter, sans-serif;
    font-size: .75rem;
    font-weight: 600;
    color: var(--navy);
}

.pf-dc-doc-tag {
    background: var(--coral);
    color: var(--white);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: .5625rem;
    letter-spacing: 0.1em;
    padding: 2px 5px;
    border-radius: 3px;
}

.pf-lm-timeline {
    padding: 20px 22px;
}

.pf-lm-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.pf-lm-steps li {
    position: relative;
    padding: 8px 0 18px 28px;
    font-family: Inter, sans-serif;
}

.pf-lm-steps li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 12px;
    width: 11px;
    height: 11px;
    background: var(--white);
    border: 2px solid rgb(var(--muted-2-rgb) / 0.45);
    border-radius: 50%;
    z-index: 1;
}

.pf-lm-steps li::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 22px;
    bottom: 0;
    width: 1px;
    background: rgb(var(--muted-2-rgb) / 0.3);
}

.pf-lm-steps li:last-child::after {
    display: none;
}

.pf-lm-steps li.is-done::before {
    background: rgb(var(--green-soft-rgb) / 0.95);
    border-color: rgb(var(--green-soft-rgb) / 0.95);
}

.pf-lm-steps li.is-current::before {
    background: var(--coral);
    border-color: var(--coral);
    box-shadow: 0 0 0 4px rgb(var(--flamingo-rgb) / 0.18);
}

.pf-lm-steps strong {
    display: block;
    font-weight: 700;
    font-size: .90625rem;
    color: var(--navy);
    margin-bottom: 2px;
}

.pf-lm-steps small {
    font-weight: 600;
    font-size: .78125rem;
    color: var(--muted);
}

.pf-lm-steps li.is-current strong {
    color: var(--coral);
}

.pf-lm-milestone {
    padding: 16px 20px;
}

.pf-lm-milestone .pf-db-row {
    margin-bottom: 4px;
}

.pf-lm-milestone small {
    display: block;
    margin-top: 6px;
}

.pf-lm-milestone.is-success {
    border-left: 4px solid var(--green-soft);
}

.pf-db-pill--success {
    background: rgb(var(--green-soft-rgb) / 0.18);
    color: var(--green-text);
}

.pf-eco {
    background: var(--soft);
}

.pf-eco .eyebrow {
    display: block;
    text-align: center;
}

.pf-eco .section-title {
    text-align: center;
}

.pf-eco .logo-tape-wrap::before {
    background: linear-gradient(90deg, var(--soft) 0%, rgb(var(--soft-rgb) / 0) 100%);
}

.pf-eco .logo-tape-wrap::after {
    background: linear-gradient(-90deg, var(--soft) 0%, rgb(var(--soft-rgb) / 0) 100%);
}

.pf-demo {
    padding: 96px 0;
    background: var(--grad-navy-flat);
    text-align: center;
}

.pf-demo-title {
    color: var(--white);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    font-size: 1.875rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin: 0 auto 30px;
    max-width: 1100px;
}

@media (max-width: 1200px) {
    .platform-hero {
        grid-template-rows: auto auto;
        padding-top: 72px;
    }

    .platform-hero-dash {
        grid-row: 2;
        grid-column: 1;
        justify-self: stretch;
        width: auto;
        min-height: 0;
        margin-top: 40px;
        margin-left: 32px;
        padding-left: 0;
        gap: 8px;
    }

    .platform-hero-dash-chart {
        flex: initial;
    }

    .ph-chart-plot {
        flex: initial;
        height: 180px;
    }

    .platform-hero-content {
        max-width: 720px;
        margin: 0 auto;
        padding-bottom: 0;
        text-align: center;
    }

    .platform-hero-title {
        font-size: clamp(26px, 5vw, 34px);
        line-height: 1.2;
    }

    .platform-hero-lead {
        font-size: .9375rem;
    }

    .platform-hero-bullets {
        width: max-content;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .platform-hero-bullets li {
        font-size: .9375rem;
        text-align: left;
    }

    .platform-hero-dash-totals {
        border-radius: 16px 0 0 16px;
    }

    .platform-hero-dash-chart {
        border-radius: 16px 0 0 0;
    }
}

@media (max-width: 560px) {
    .platform-hero-dash {
        margin-left: 22px;
    }

    .platform-hero-lead br { display: none; }
    .platform-hero-lead { text-wrap: balance; }
}

@media (max-width: 1100px) {
    .pf-modules-card {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 0;
        gap: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .pf-modules-rail {
        display: none;
    }

    .pf-modules-select-wrap {
        display: block;
    }

    .pf-modules-stage {
        padding: 24px 20px;
        min-height: 0;
        border-radius: 20px;
    }

    .pf-panel-eye {
        display: none;
    }

    .pf-panel-title {
        display: none;
    }

    .pf-panel-lead {
        margin-bottom: 22px;
    }

    .pf-db {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .pf-demo {
        padding: 72px 0;
    }

    .pf-cat-head {
        padding: 14px 16px;
    }

    .pf-cat-title {
        font-size: 1rem;
    }

    .pf-ih-cols {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        height: 440px;
    }

    .pf-ih-col[data-col="3"] {
        display: none;
    }

    .pf-ih-tile {
        height: 88px;
        padding: 8px 14px;
    }

    .pf-ih-logo {
        max-height: 36px;
    }
}

@media (max-width: 540px) {
    .pf-ih-cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        height: 380px;
    }

    .pf-ih-col[data-col="2"],
    .pf-ih-col[data-col="3"] {
        display: none;
    }

    .pf-ih-tile {
        height: 78px;
        margin-bottom: 12px;
        padding: 8px 12px;
    }

    .pf-ih-logo {
        max-height: 32px;
    }
}

.pf-le {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-family: Inter, sans-serif;
    color: var(--navy);
}

.pf-le-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.pf-le-card {
    background: var(--white);
    border: 1px solid rgb(var(--muted-2-rgb) / 0.18);
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 2px 8px rgb(var(--shadow-base) / 0.06),
                0 18px 40px -16px rgb(var(--shadow-base) / 0.18);
    animation: pf-le-cardin 600ms cubic-bezier(0.34, 1.05, 0.5, 1) backwards;
    animation-delay: var(--d, 0ms);
    isolation: isolate;
}

@keyframes pf-le-cardin {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.pf-le-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 -18px 12px;
    padding: 0 18px 10px;
    border-bottom: 1px solid rgb(var(--muted-2-rgb) / 0.16);
}

.pf-le-card-title {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    font-size: .78125rem;
    color: var(--navy);
    letter-spacing: -0.005em;
}

.pf-le-card-edit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: var(--muted-2);
    background: transparent;
    flex-shrink: 0;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.pf-le-card-edit:hover {
    background: rgb(var(--shadow-base) / 0.06);
    color: var(--navy);
}

.pf-le-card-edit svg {
    width: 12px;
    height: 12px;
    display: block;
}

.pf-le-kv {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.pf-le-kv-row {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 10px;
    padding: 6px 0;
    font-size: .71875rem;
    line-height: 1.35;
    border-bottom: 1px solid rgb(var(--muted-2-rgb) / 0.08);
}

.pf-le-kv-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.pf-le-kv-row:first-child {
    padding-top: 0;
}

.pf-le-kv-row dt {
    color: var(--muted);
    font-weight: 500;
    margin: 0;
}

.pf-le-kv-row dd {
    color: var(--navy);
    font-weight: 600;
    margin: 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.pf-le-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.pf-le-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .71875rem;
    line-height: 1.3;
    color: var(--navy);
    font-weight: 600;
    min-width: 0;
    font-variant-numeric: tabular-nums;
}

.pf-le-contact li > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.pf-le-contact-ico {
    color: var(--muted-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.pf-le-card--contact .pf-le-contact-ico {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: rgb(var(--shadow-base) / 0.06);
    color: var(--muted);
}

.pf-le-card--contact .pf-le-contact-ico svg {
    width: 12px;
    height: 12px;
}

.pf-le-block {
    background: var(--white);
    border: 1px solid rgb(var(--muted-2-rgb) / 0.18);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgb(var(--shadow-base) / 0.06),
                0 18px 40px -16px rgb(var(--shadow-base) / 0.18);
    isolation: isolate;
}

.pf-le-block-head {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    border-bottom: 1px solid rgb(var(--muted-2-rgb) / 0.16);
    background: var(--white);
}

.pf-le-block-head > .pf-le-block-title {
    margin-right: 10px;
}

.pf-le-block-title {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    font-size: .8125rem;
    color: var(--navy);
    letter-spacing: -0.005em;
}

.pf-le-block-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 8px;
    font-size: .65625rem;
    font-weight: 600;
    color: var(--muted);
    background: transparent;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.pf-le-block-action:hover {
    background: rgb(var(--shadow-base) / 0.06);
    color: var(--navy);
}

.pf-le-block-action:hover .pf-le-block-action-ico {
    color: var(--navy);
}

.pf-le-block-action-ico {
    display: inline-flex;
    width: 12px;
    height: 12px;
    color: var(--muted-2);
    transition: color .15s ease;
}

.pf-le-table {
    padding: 4px 0;
}

.pf-le-thead,
.pf-le-tbody {
    display: grid;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
}

.pf-le-trow--stops {
    grid-template-columns:
        38px
        minmax(0, 1.35fr)
        minmax(0, 1.3fr)
        minmax(0, 0.55fr)
        minmax(0, 0.95fr)
        minmax(0, 1.3fr);
}

.pf-le-trow--goods {
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr)
        minmax(0, 1.1fr)
        minmax(0, 1.2fr)
        minmax(0, 0.8fr)
        minmax(0, 0.85fr)
        minmax(0, 0.5fr)
        minmax(0, 0.55fr);
}

.pf-le-trow--checks {
    grid-template-columns:
        minmax(0, 0.75fr)
        minmax(0, 0.9fr)
        minmax(0, 0.85fr)
        minmax(0, 1.2fr)
        minmax(0, 1.6fr)
        66px;
}

.pf-le-tbody {
    font-size: .6875rem;
    line-height: 1.4;
    color: var(--navy);
    border-top: 1px solid rgb(var(--muted-2-rgb) / 0.10);
    animation: pf-le-rowin 600ms cubic-bezier(0.34, 1.05, 0.5, 1) backwards;
    animation-delay: var(--d, 0ms);
}

.pf-le-tbody.pf-le-trow--checks:nth-child(odd) {
    background: rgb(var(--soft-rgb) / 0.55);
}

@media (hover: hover) and (pointer: fine) {
    .pf-le-tbody {
        cursor: pointer;
        transition: background-color .15s ease;
    }

    .pf-le-tbody:hover {
        background: rgb(var(--hero-blue-1) / 0.07);
    }
}

@keyframes pf-le-rowin {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.pf-le-ra {
    text-align: right;
}

.pf-le-num {
    display: inline-flex;
    align-items: center;
}

.pf-le-stop-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    flex-shrink: 0;
}

.pf-le-stop-icon svg {
    width: 15px;
    height: 15px;
    display: block;
}

.pf-le-stop-icon--pickup {
    background: rgb(var(--success-rgb) / 0.12);
    color: var(--success-text);
}

.pf-le-stop-icon--delivery {
    background: rgb(var(--info-rgb) / 0.12);
    color: var(--info-text);
}

.pf-le-stop-icon--delivery svg {
    transform: scaleX(-1);
}

.pf-le-loc,
.pf-le-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.pf-le-loc strong {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    font-size: .71875rem;
    color: var(--navy);
    letter-spacing: -0.005em;
}

.pf-le-loc span,
.pf-le-info span {
    color: var(--muted);
    font-size: .65625rem;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pf-le-appt {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pf-le-appt-row {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 8px;
    font-size: .65625rem;
    line-height: 1.35;
}

.pf-le-appt-l {
    color: var(--muted);
}

.pf-le-appt-v,
.pf-le-check-driver {
    color: var(--navy);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pf-le-miles {
    font-weight: 600;
    color: var(--navy);
}

.pf-le-contact-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--navy);
    font-weight: 600;
    font-size: .65625rem;
    min-width: 0;
}

.pf-le-contact-row > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pf-le-tfoot {
    display: flex;
    justify-content: center;
    padding: 10px 16px;
    border-top: 1px solid rgb(var(--muted-2-rgb) / 0.10);
}

.pf-le-tfoot--stops {
    display: grid;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border-top: 1px solid rgb(var(--muted-2-rgb) / 0.10);
    background: var(--soft-2);
    justify-content: initial;
}

.pf-le-stops-total-cell {
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 6px;
}

.pf-le-stops-total-label {
    color: var(--muted);
    font-size: .65625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pf-le-stops-total {
    font-weight: 700;
    font-size: .71875rem;
    color: var(--navy);
    font-variant-numeric: tabular-nums;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.pf-le-check-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: .65625rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: nowrap;
}

.pf-le-check-pill > i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.pf-le-check-pill--in {
    color: var(--success-text);
    background: rgb(var(--success-rgb) / 0.12);
}

.pf-le-check-pill--out {
    color: var(--info-text);
    background: rgb(var(--info-rgb) / 0.12);
}

.pf-le-check-when {
    color: var(--muted);
    font-size: .65625rem;
    white-space: nowrap;
}

.pf-le-check-stop,
.pf-le-check-note {
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .65625rem;
}

.pf-le-check-stop {
    color: var(--navy);
    font-weight: 500;
}

.pf-le-check-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.pf-le-check-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: var(--muted-2);
    background: transparent;
    transition: background-color .15s ease, color .15s ease;
}

.pf-le-check-action svg {
    width: 13px;
    height: 13px;
    display: block;
}

.pf-le-check-action:hover {
    background: rgb(var(--shadow-base) / 0.06);
    color: var(--navy);
}

.pf-le-check-action--del {
    color: var(--flamingo);
}

.pf-le-check-action--del:hover {
    background: rgb(var(--flamingo-rgb) / 0.10);
    color: var(--flamingo);
}

.pf-le-tfoot--accum {
    justify-content: space-between;
    padding: 11px 18px;
    background: var(--soft-2);
}

.pf-le-accum-label {
    color: var(--muted);
    font-size: .65625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pf-le-accum-value {
    color: var(--navy);
    font-weight: 700;
    font-size: .71875rem;
    font-family: "Plus Jakarta Sans", sans-serif;
}

@media (max-width: 1100px) {
    .pf-le-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .pf-le-cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .pf-le-card {
        padding: 14px 14px;
    }

    .pf-le-card-head {
        margin: 0 -14px 10px;
        padding: 0 14px 8px;
    }

    .pf-le-block-head {
        flex-wrap: wrap;
        padding: 10px 14px;
    }

    .pf-le-thead {
        display: none;
    }

    .pf-le-thead + .pf-le-tbody {
        border-top: 0;
    }

    .pf-le-tbody {
        padding: 12px 14px;
    }

    .pf-le-trow--stops {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "loc"
            "appt"
            "miles"
            "contact"
            "info";
        gap: 10px;
    }

    .pf-le-trow--stops > .pf-le-num         { display: none; }
    .pf-le-trow--stops > .pf-le-loc         { grid-area: loc; }
    .pf-le-trow--stops > .pf-le-appt        { grid-area: appt; }
    .pf-le-trow--stops > .pf-le-miles       { grid-area: miles; }
    .pf-le-trow--stops > .pf-le-contact-row { grid-area: contact; }
    .pf-le-trow--stops > .pf-le-info        { grid-area: info; }

    .pf-le-trow--stops > .pf-le-loc::before {
        content: attr(data-kind);
        display: block;
        font-size: .59375rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        margin-bottom: 4px;
        color: var(--muted-2);
    }

    .pf-le-trow--stops > .pf-le-loc[data-kind="pickup"]::before {
        color: var(--success-text);
    }

    .pf-le-trow--stops > .pf-le-loc[data-kind="delivery"]::before {
        color: var(--info-text);
    }

    .pf-le-trow--goods {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "from from"
            "to   to"
            "good good"
            "desc desc"
            "wt   vol"
            "u    p";
        gap: 12px;
    }

    .pf-le-trow--goods > .pf-le-g--from   { grid-area: from; }
    .pf-le-trow--goods > .pf-le-g--to     { grid-area: to; }
    .pf-le-trow--goods > .pf-le-g--good   { grid-area: good; }
    .pf-le-trow--goods > .pf-le-g--desc   { grid-area: desc; }
    .pf-le-trow--goods > .pf-le-g--wt     { grid-area: wt; }
    .pf-le-trow--goods > .pf-le-g--vol    { grid-area: vol; }
    .pf-le-trow--goods > .pf-le-g--u      { grid-area: u; }
    .pf-le-trow--goods > .pf-le-g--p      { grid-area: p; }

    .pf-le-trow--stops > [data-label]::before,
    .pf-le-trow--goods > [data-label]::before {
        content: attr(data-label);
        display: block;
        font-size: .59375rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--muted-2);
        margin-bottom: 4px;
    }

    .pf-le-trow--goods > .pf-le-g,
    .pf-le-trow--stops > .pf-le-miles {
        display: block;
    }

    .pf-le-trow--goods > .pf-le-g {
        font-weight: 600;
        color: var(--navy);
    }

    .pf-le-trow--stops > .pf-le-contact-row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
    }

    .pf-le-trow--stops > .pf-le-contact-row::before {
        flex-basis: 100%;
    }

    .pf-le-trow--checks {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "pill    actions"
            "driver  driver"
            "when    when"
            "stop    stop"
            "note    note";
        gap: 4px 12px;
    }

    .pf-le-trow--checks > span:first-child { grid-area: pill; }
    .pf-le-check-when     { grid-area: when; }
    .pf-le-check-driver   { grid-area: driver; }
    .pf-le-check-stop     { grid-area: stop; }
    .pf-le-check-note     { grid-area: note; }
    .pf-le-check-actions  { grid-area: actions; align-self: start; }

    .pf-le-check-driver,
    .pf-le-check-stop,
    .pf-le-check-note,
    .pf-le-check-when,
    .pf-le-loc span,
    .pf-le-info span {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .pf-le-ra {
        text-align: left;
    }

    .pf-le-check-action[data-tip]::after,
    .pf-le-check-action[data-tip]::before,
    .pf-le-card-edit[data-tip]::after,
    .pf-le-card-edit[data-tip]::before {
        display: none;
    }

    .pf-le-tfoot--accum {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 10px 14px;
    }

    .pf-le-tfoot--stops {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 10px 14px;
    }

    .pf-le-tfoot--stops > span:empty {
        display: none;
    }
}

.pf-em {
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    padding: 0;
    color: var(--navy);
}

.pf-em::before {
    display: none;
}

.pf-em-diagram {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(160px, 0.9fr) minmax(220px, 1.06fr) minmax(180px, 0.9fr);
    column-gap: 28px;
    align-items: center;
    margin-top: 0;
    padding: 0 6px;
}

.pf-em-partner-stack,
.pf-em-workflow-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pf-em-node {
    min-height: 64px;
    background: var(--white);
    border: 1px solid rgb(var(--line-rgb) / 0.95);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgb(var(--navy-rgb) / 0.055);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    position: relative;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}

.pf-em-node:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgb(var(--navy-rgb) / 0.085);
    border-color: rgb(var(--line-strong-rgb) / 0.95);
}

.pf-em-node::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30px;
    height: 0;
    border-top: 3px dotted rgb(var(--line-strong-rgb) / 0.86);
    transform: translateY(-50%);
    opacity: 0.95;
    pointer-events: none;
}

.pf-em-partner-stack .pf-em-node::after {
    right: -30px;
}

.pf-em-workflow-stack .pf-em-node::after {
    left: -30px;
}

.pf-em-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: var(--soft);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.pf-em-icon-box--blue {
    background: rgb(var(--soft-rgb) / 0.92);
    color: var(--navy);
}

.pf-em-icon-box svg {
    width: 18px;
    height: 18px;
    display: block;
}

.pf-em-node-title {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: .875rem;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--navy);
}

.pf-em-workflow-node {
    justify-content: space-between;
    gap: 12px;
    padding-right: 14px;
}

.pf-em-workflow-copy {
    min-width: 0;
}

.pf-em-workflow-title {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: .84375rem;
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--navy);
    margin-bottom: 3px;
    white-space: nowrap;
}

.pf-em-workflow-subtitle {
    font-family: Inter, sans-serif;
    font-size: .6875rem;
    line-height: 1.2;
    color: var(--muted);
    font-weight: 500;
    white-space: nowrap;
}

.pf-em-badge {
    min-width: 42px;
    height: 26px;
    padding: 0 9px;
    border-radius: var(--radius-pill);
    background: var(--pink);
    color: var(--cta);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: Inter, sans-serif;
    font-weight: 800;
    font-size: .6875rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.pf-em-engine-card {
    min-height: 392px;
    background: var(--white);
    border: 1px solid rgb(var(--line-rgb) / 0.95);
    border-radius: 18px;
    box-shadow: 0 22px 44px rgb(var(--navy-rgb) / 0.09);
    padding: 26px 22px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 5;
}

.pf-em-engine-icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    background: var(--pink);
    display: grid;
    place-items: center;
    color: var(--cta);
    margin-bottom: 14px;
}

.pf-em-engine-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.pf-em-engine-title {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.3125rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.025em;
    text-align: center;
    margin-bottom: 5px;
    color: var(--navy);
}

.pf-em-engine-subtitle {
    font-family: Inter, sans-serif;
    font-size: .71875rem;
    line-height: 1.25;
    color: var(--muted);
    font-weight: 500;
    text-align: center;
    margin-bottom: 13px;
}

.pf-em-protocol-pill {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: var(--radius-pill);
    background: rgb(var(--soft-rgb) / 0.95);
    color: var(--navy);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: .65625rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
    margin-bottom: 22px;
}

.pf-em-capabilities {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.pf-em-capability {
    min-height: 42px;
    border: 1px solid rgb(var(--line-rgb) / 0.76);
    background: var(--soft-2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.pf-em-capability:hover {
    background: var(--soft);
    border-color: rgb(var(--line-strong-rgb) / 0.86);
}

.pf-em-capability span {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: .8125rem;
    font-weight: 700;
    color: var(--navy);
}

.pf-em-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgb(var(--success-rgb) / 0.14);
}

@media (max-width: 1240px) {
    .pf-em-diagram {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        padding: 0;
    }

    .pf-em::before,
    .pf-em-node::after {
        display: none;
    }

    .pf-em {
        padding: 0;
    }

    .pf-em-partner-stack,
    .pf-em-workflow-stack {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .pf-em-engine-card {
        min-height: auto;
        margin: 2px 0;
    }

    .pf-em-protocol-pill {
        margin-bottom: 18px;
    }

}

@media (max-width: 560px) {
    .pf-em-partner-stack,
    .pf-em-workflow-stack {
        grid-template-columns: 1fr;
    }

    .pf-em-node {
        min-height: 58px;
        padding: 10px 13px;
    }

    .pf-em-engine-card {
        padding: 22px 16px 18px;
        border-radius: 16px;
    }

    .pf-em-workflow-title,
    .pf-em-workflow-subtitle {
        white-space: normal;
    }
}

.pf-models-tabs {
    padding: 48px 0;
    position: sticky;
    top: 78px;
    z-index: 30;
    display: flex;
    justify-content: center;
}

.pf-models-tabs::before {
    -webkit-backdrop-filter: saturate(160%) blur(20px);
    backdrop-filter: saturate(160%) blur(20px);
    background: var(--white);
    content: '';
    inset: 0 -32px 0 -32px;
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

.pf-models-tabs::after {
    content: '';
    position: absolute;
    left: -32px;
    right: -32px;
    top: 100%;
    height: 16px;
    background: linear-gradient(to bottom, var(--white), rgba(255, 255, 255, 0));
    pointer-events: none;
    z-index: -1;
}

body.admin-bar .pf-models-tabs {
    top: 110px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .pf-models-tabs {
        top: 124px;
    }
}

@media screen and (max-width: 600px) {
    body.admin-bar .pf-models-tabs {
        top: 78px;
    }
}

.pf-models-tabs-list {
    display: inline-flex;
    align-items: center;
    background: var(--soft);
    border-radius: 999px;
    padding: 5px;
    gap: 4px;
    max-width: 100%;
    position: relative;
    z-index: 2;
}

.pf-models-tab {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: var(--muted);
    cursor: pointer;
    text-decoration: none;
    font-family: Inter, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    padding: 15px 50px;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
    white-space: nowrap;
}

.pf-models-tab:hover {
    color: var(--navy);
}

.pf-models-tab.is-active {
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 2px 8px rgb(var(--navy-rgb) / 0.10);
    font-weight: 700;
}

@media (min-width: 1101px) {
    .pf-modules-card {
        align-items: start;
        margin-top: 18px;
    }

    .pf-modules-rail {
        position: sticky;
        top: 244px;
        align-self: start;
        max-height: calc(100vh - 264px);
        overflow-y: auto;
        scrollbar-gutter: stable;
        scrollbar-width: thin;
        scrollbar-color: transparent transparent;
        transition: scrollbar-color 0.2s ease;
        padding-right: 4px;
    }

    .pf-modules-rail:hover,
    .pf-modules-rail:focus-within {
        scrollbar-color: rgb(var(--muted-2-rgb) / 0.4) transparent;
    }

    body.admin-bar .pf-modules-rail {
        top: 276px;
        max-height: calc(100vh - 296px);
    }
}

@media (max-width: 1100px) {
    .pf-modules-card {
        display: block;
    }

    .pf-modules-select-wrap {
        top: 162px;
    }

    body.admin-bar .pf-modules-select-wrap {
        top: 194px;
    }
}

@media screen and (max-width: 782px) {
    body.admin-bar .pf-modules-select-wrap {
        top: 208px;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .pf-models-tabs {
        padding: 14px 0;
    }
}

@media (max-width: 768px) {
    .pf-models-tabs {
        display: block;
        margin: 16px 0 0;
        padding: 16px 0 4px;
        background: var(--white);
    }

    .pf-models-tabs::before {
        background: var(--white);
        inset: 0 -32px 0 -32px;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .pf-models-tabs::after {
        display: none;
    }

    .pf-modules-select-wrap {
        top: 138px;
    }

    body.admin-bar .pf-modules-select-wrap {
        top: 184px;
    }

    .pf-models-tabs-list {
        background: transparent;
        border-radius: 0;
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        max-width: none;
        margin: 0 -32px;
        padding: 0 32px;
        gap: 10px;
    }

    .pf-models-tab {
        background: var(--white);
        border: 1.5px solid var(--line);
        border-radius: var(--radius-pill, 999px);
        padding: 11px 18px;
        font-size: .875rem;
        flex-shrink: 0;
        box-shadow: none;
    }

    .pf-models-tab.is-active {
        background: var(--navy);
        border-color: var(--navy);
        color: var(--white);
        box-shadow: 0 2px 8px rgb(var(--navy-rgb) / 0.2);
    }
}

@media screen and (max-width: 600px) {
    body.admin-bar .pf-modules-select-wrap {
        top: 138px;
    }
}

@media (max-width: 560px) {
    .pf-models-tabs::before {
        inset: 0 -22px;
    }

    .pf-models-tabs-list {
        margin: 0 -22px;
        padding: 0 22px;
    }

    .pf-models-tab {
        font-size: .8125rem;
        padding: 11px 14px;
    }
}

.pf-outcomes {
    background: var(--soft-2);
    border-radius: 24px;
    padding: 40px;
    margin-top: 56px;
    text-align: center;
}

.pf-outcomes-title {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    font-size: clamp(26px, 2.4vw, 34px);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin: 0 0 10px;
}

.pf-outcomes-sub {
    margin: 0 0 36px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.5;
}

.pf-outcomes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    text-align: left;
}

.pf-outcome {
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pf-outcome-eye {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: .71875rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.pf-outcome-stat {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: clamp(34px, 3vw, 44px);
    letter-spacing: -0.02em;
    color: var(--coral);
    line-height: 1.05;
    margin-top: 2px;
}

.pf-outcome-title {
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy);
    margin-top: 6px;
}

.pf-outcome-desc {
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: .875rem;
    line-height: 1.5;
    color: var(--muted);
}

@media (max-width: 900px) {
    .pf-outcomes {
        padding: 40px 24px 44px;
        margin-top: 40px;
        border-radius: 20px;
    }

    .pf-outcomes-grid {
        grid-template-columns: 1fr;
    }
}
