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

.hero {
    background: var(--navy-deep);
}

.hero-video {
    transition: opacity 1.2s ease;
}

.hero-video--b {
    object-position: center 80%;
}

.hero-video.is-active {
    opacity: 1;
}

.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1120px;
    margin: 0 auto;
}

.hero-lead {
    color: var(--text-on-dark);
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.45;
    margin: 0 auto 32px;
    max-width: none;
    white-space: nowrap;
}

@media (max-width: 820px) {
    .hero-lead {
        white-space: normal;
    }

    .hero {
        padding: 80px 0 96px;
    }
}

.hero-tags {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: nowrap;
    color: var(--text-on-dark);
    font-size: .875rem;
    font-weight: 500;
    margin-bottom: 36px;
    white-space: nowrap;
}

.hero-tags span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 1100px) {
    .hero-tags {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        white-space: normal;
        text-align: left;
        width: fit-content;
        max-width: 100%;
        margin-inline: auto;
    }
    .hero-tags span {
        align-items: flex-start;
    }
    .hero-tags .dot {
        margin-top: 0.5em;
    }
}

@media (max-width: 560px) {
    .hero-tags {
        gap: 14px;
        font-size: .875rem;
    }
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--coral-bright);
    flex-shrink: 0;
}

.section--soft {
    background: var(--soft);
}

.section--navy {
    position: relative;
    background: var(--grad-navy-radial);
    color: var(--white);
}

.section--navy::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.08;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.section--navy > * {
    position: relative;
    z-index: 1;
}

.security-section {
    padding: 96px 0;
}

.section.driver-experience-section {
    padding-top: 0;
}

.diff-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.diff-card {
    overflow: hidden;
}

.diff-card-link {
    color: inherit;
    display: block;
    text-decoration: none;
}

.diff-card-link .diff-card {
    height: 100%;
    transition: transform .18s ease, box-shadow .18s ease;
}

.diff-card-link:hover .diff-card {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.diff-card-media {
    aspect-ratio: 16 / 10;
    background-color: var(--navy);
    background-size: cover;
    background-position: center;
}

.diff-card-body {
    padding: 24px;
}

.diff-card-body h3 {
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 12px;
    color: var(--navy);
}

.diff-card-body p {
    color: var(--muted);
    font-size: .875rem;
    line-height: 1.5;
    margin: 0;
}

.quote-band {
    margin: 64px auto 0;
    max-width: 576px;
    text-align: center;
}

.quote-band blockquote {
    margin: 0 0 18px;
    font-family: Inter, "Plus Jakarta Sans", sans-serif;
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.3;
    color: var(--navy);
    font-style: normal;
    quotes: none;
}

.quote-band blockquote::before,
.quote-band blockquote::after {
    content: none;
}

.quote-band cite {
    display: block;
    font-style: normal;
    font-weight: 400;
    font-size: .875rem;
    line-height: 1.3;
    color: var(--muted);
    margin-bottom: 28px;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 32px;
}

a.feature {
    color: inherit;
    text-decoration: none;
}

a.feature:focus-visible {
    outline: 2px solid var(--coral);
    outline-offset: 4px;
}

.split {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
    align-items: center;
}

.split h2 {
    font-size: 2.5rem;
    line-height: 1.2;
}

@media (max-width: 600px) {
    .split h2 {
        font-size: 1.875rem;
    }
}

.driver-section h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 16px;
}

.driver-section .lead {
    color: var(--muted);
    font-size: 1.0625rem;
    line-height: 1.45;
    margin: 0 0 16px;
}

.driver-section .lead--small {
    font-size: .875rem;
    margin-top: 0;
    margin-bottom: 24px;
}

@media (max-width: 600px) {
    .driver-section h2 {
        font-size: 1.875rem;
    }
}

.split .lead {
    color: var(--muted);
    margin-bottom: 28px;
    font-size: 1.0625rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    text-align: center;
    margin: 48px 0 40px;
}

.stats > div {
    padding: 16px 24px;
    position: relative;
}

.stats > div::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 1px;
    height: 28%;
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-50%);
}

.stats > div:last-child::after {
    display: none;
}

@media (max-width: 820px) {
    .stats > div::after {
        right: 50%;
        top: auto;
        bottom: 0;
        width: 24px;
        height: 1px;
        transform: translateX(50%);
    }
}

.stat-num {
    font-size: clamp(48px, 5.5vw, 72px);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.04em;
    line-height: 1;
}

.stat-num.js-active::before {
    content: counter(num) attr(data-suffix);
    counter-reset: num var(--num);
}

.stat-label {
    color: rgba(255, 255, 255, 0.75);
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 500;
}

.integrations {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 64px;
    margin: 24px auto 0;
    text-align: left;
}

.integ-card {
    flex: 0 0 auto;
    max-width: 320px;
}

.integ-card li {
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .integrations {
        gap: 32px 48px;
    }
}

@media (max-width: 720px) {
    .integrations {
        flex-direction: column;
        align-items: center;
        gap: 28px;
    }

    .integ-card {
        max-width: 100%;
        width: 100%;
    }

    .integ-card li {
        white-space: normal;
    }
}

.integ-card {
    background: transparent;
    padding: 0;
}

.integ-card h3 {
    color: var(--navy);
    font-size: 1.25rem;
    margin-bottom: 14px;
}

.integ-card > p.desc {
    color: var(--muted);
    font-size: .875rem;
    margin: 0 0 20px;
}

.integ-card li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 8px 0;
    color: var(--navy);
    font-size: .90625rem;
    line-height: 1.5;
}

.check {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    color: var(--flamingo);
    display: inline-flex;
}

.check svg {
    width: 100%;
    height: 100%;
    display: block;
}

.driver-section {
    background: var(--soft);
    border-radius: 48px;
    padding: 64px 64px;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 48px;
    align-items: center;
    margin-top: 24px;
}

.phone-wrap {
    position: relative;
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 1350 / 2760;
    filter: drop-shadow(0 24px 48px rgb(var(--shadow-base) / 0.25));
}

.phone-frame-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.phone-screen-clip {
    position: absolute;
    top: 2.2%;
    left: 5.0%;
    width: 90.0%;
    height: 95.6%;
    border-radius: 38px;
    overflow: hidden;
    z-index: 1;
}

.phone-screen-stage {
    position: absolute;
    inset: 0;
    transform: scale(1.5);
    transform-origin: center;
}

.phone-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.phone-nav-pulse {
    position: absolute;
    top: 50.2%;
    left: 42.5%;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border-radius: 50%;
    pointer-events: none;
    background: rgb(var(--coral-bright-rgb) / 0.55);
    box-shadow: 0 0 0 2px rgb(var(--coral-bright-rgb) / 0.35);
    opacity: 0;
    animation: phone-nav-pulse 2.8s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
    will-change: transform, opacity;
}

.phone-nav-pulse--delayed {
    animation-delay: 1.4s;
}

@keyframes phone-nav-pulse {
    0% {
        transform: scale(0.35);
        opacity: 0.85;
    }
    70% {
        transform: scale(2.6);
        opacity: 0;
    }
    100% {
        transform: scale(2.6);
        opacity: 0;
    }
}

.store-buttons {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgb(var(--navy-rgb) / 0.5);
    color: var(--white);
    border-radius: 8px;
    font-size: .8125rem;
    transition: transform .15s ease, background-color .15s ease;
}

.store-btn:hover {
    transform: translateY(-2px);
    background: rgb(var(--navy-rgb) / 0.65);
}

.store-btn small {
    display: block;
    opacity: 0.7;
    font-size: .6rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.2;
}

.store-btn strong {
    font-size: .9rem;
    line-height: 1.15;
    font-weight: 700;
}

.driver-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.driver-features li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
}

.driver-features li > div {
    flex: 1;
    min-width: 0;
}

.driver-features .df-icon {
    width: 48px;
    height: 48px;
    color: var(--flamingo);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.driver-features .df-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.driver-features .df-icon svg {
    width: 28px;
    height: 28px;
    display: block;
    overflow: visible;
}

.driver-features .df-icon--barcode-read svg {
    transform: rotate(90deg);
}

.driver-features strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
}

.driver-features small {
    color: var(--muted);
    font-size: .875rem;
    display: block;
}

@media (min-width: 800px) {
    .driver-features small {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.sec-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 56px;
    align-items: start;
}

.sec-intro .eyebrow {
    color: var(--coral-bright);
    margin-bottom: 14px;
}

.sec-title {
    color: var(--white);
    font-size: 2.5rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}

@media (max-width: 600px) {
    .sec-title {
        font-size: 1.875rem;
    }
}

.sec-lead {
    color: rgba(255, 255, 255, 0.7);
    font-size: .90625rem;
    line-height: 1.55;
    margin: 0;
}

.sec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.sec-card.dark-feature-card {
    border-width: 0.5px;
    border-color: rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    min-height: 0;
    padding: 18px 20px;
}

.sec-card.dark-feature-card:hover {
    border-color: rgba(255, 255, 255, 0.28);
}

.sec-card .dark-feature-card__title {
    font-size: 1rem;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.sec-card .dark-feature-card__desc {
    font-size: .8125rem;
    line-height: 1.5;
}

.events-section {
    position: relative;
    overflow: hidden;
}

.events-section .section-title,
.events-section .section-sub,
.events-section .eyebrow {
    position: relative;
    z-index: 2;
}

.events-bg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    opacity: 0.06;
    background: url("/wp-content/themes/ditat/assets/images/events-bg.webp") center center/cover no-repeat;
    z-index: 0;
    mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 38%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 38%, transparent 100%);
    pointer-events: none;
}

.events-wrap {
    z-index: 2;
}

.events .event {
    flex: 1 0 calc((100% - 66px) / 4);
    scroll-snap-align: start;
}

@media (min-width: 561px) {
    .events .event:only-child {
        flex: 0 1 360px;
        margin-inline: auto;
    }
}

@media (max-width: 1100px) {
    .events .event {
        flex: 1 0 calc((100% - 44px) / 3);
    }
}

@media (max-width: 820px) {
    .events .event {
        flex: 1 0 calc((100% - 22px) / 2);
    }
}

@media (max-width: 560px) {
    .events .event {
        flex: 1 0 calc(100% - 12px);
    }
}

.event {
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    position: relative;
}

.event .date {
    color: var(--coral);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.02em;
    display: block;
    margin-bottom: 8px;
}

.event h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 4px 0;
    line-height: 1.3;
    font-family: Inter, "Plus Jakarta Sans", sans-serif;
}

.event small {
    color: var(--muted);
    font-size: .8125rem;
    font-weight: 600;
    display: block;
    margin-bottom: 16px;
}

.event a {
    color: var(--coral);
    font-weight: 700;
    font-size: .8125rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    align-self: flex-start;
}

.event a::before {
    content: "";
    position: absolute;
    inset: 0;
}

.event a::after {
    content: "→";
    transition: transform .15s ease;
}

.event a:hover::after {
    transform: translateX(3px);
}

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

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

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

    .driver-section {
        grid-template-columns: 1fr;
        padding: 32px 32px 48px;
        gap: 32px;
    }

    .driver-section .driver-content {
        text-align: left;
    }
}

@media (max-width: 820px) {
    .split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .driver-section {
        padding: 24px 24px 36px;
        border-radius: 28px;
        gap: 24px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .integrations {
        grid-template-columns: 1fr;
    }

    .sec-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sec-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .diff-cards, .features, .events {
        grid-template-columns: 1fr;
    }
}

.auto-carousel {
    --auto-slide-w: min(900px, 82%);
    --auto-gap: 28px;
    --auto-edge: calc((100% - var(--auto-slide-w)) / 2);
    --auto-fade: min(var(--slider-fade), var(--auto-edge));
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100vw - var(--sb, 0px));
    margin-top: 8px;
}

.auto-stage {
    position: relative;
}

.auto-stage::before,
.auto-stage::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: var(--auto-fade);
    z-index: 3;
    pointer-events: none;
}

.auto-stage::before {
    left: 0;
    background: linear-gradient(to right, var(--soft), rgb(var(--soft-rgb) / 0));
}

.auto-stage::after {
    right: 0;
    background: linear-gradient(to left, var(--soft), rgb(var(--soft-rgb) / 0));
}

.auto-viewport {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--auto-edge);
    scrollbar-width: none;
    padding: 22px 0 64px;
    transition: height .35s ease;
    outline: none;
}

.auto-viewport::-webkit-scrollbar {
    display: none;
}

.auto-viewport::before,
.auto-viewport::after {
    content: "";
    flex: 0 0 var(--auto-edge);
}

.auto-viewport.is-animating {
    scroll-snap-type: none;
}

.auto-slide {
    flex: 0 0 var(--auto-slide-w);
    scroll-snap-align: center;
    margin-right: var(--auto-gap);
    min-width: 0;
    position: relative;
    opacity: .5;
    transition: opacity .4s ease;
}

.auto-slide:last-of-type {
    margin-right: 0;
}

.auto-slide.is-active {
    z-index: 2;
    opacity: 1;
}

.auto-card {
    height: 100%;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: 0 32px 64px -34px rgb(var(--shadow-base) / 0.24);
    padding: clamp(26px, 3.4vw, 52px);
}

.auto-card__title {
    font-size: clamp(1.55rem, 2.4vw, 2.1rem);
    line-height: 1.18;
    margin: 0 0 12px;
}

.auto-card__sub {
    color: var(--muted);
    font-size: 1.0625rem;
    line-height: 1.5;
    margin: 0 0 26px;
}

.auto-feats {
    display: grid;
    gap: 16px;
}

.auto-feats--row {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 26px;
}

.auto-feats--col {
    grid-template-columns: 1fr;
    align-content: start;
}

.auto-feat {
    padding: 18px 20px;
}

.auto-feat strong {
    display: block;
    color: var(--navy);
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 6px;
}

.auto-feat p {
    margin: 0;
    color: var(--muted);
    font-size: .875rem;
    line-height: 1.5;
}

.auto-feat--row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.auto-feat__icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgb(var(--navy-rgb) / .08);
    color: var(--navy);
}

.auto-slide--doc .auto-feat__icon {
    background: rgb(var(--info-rgb) / .12);
    color: var(--navy);
}

.auto-feat__icon svg {
    width: 22px;
    height: 22px;
}

.auto-feat__icon--barcode-read svg {
    transform: rotate(90deg);
}

.auto-feat__text {
    min-width: 0;
}

.auto-slide--fuel .pf-fuel-viz {
    margin-inline: auto;
}

.auto-stage > .slider-btn {
    position: absolute;
    top: calc(50% - 10px);
    transform: translateY(-50%);
    z-index: 4;
    box-shadow: var(--shadow-md);
}

.auto-stage > .slider-btn[hidden] {
    display: none;
}

.auto-stage > .slider-btn.prev {
    left: max(16px, calc(var(--auto-edge) - 124px));
}

.auto-stage > .slider-btn.next {
    right: max(16px, calc(var(--auto-edge) - 124px));
}

@media (hover: hover) {
    .auto-stage > .slider-btn:hover {
        transform: translateY(-50%) scale(1.05);
    }
}

.auto-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
}

.auto-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--line-strong);
    cursor: pointer;
    transition: background .25s ease, width .25s ease;
}

.auto-dot.is-active {
    width: 26px;
    background: var(--navy);
}

@media (hover: hover) {
    .auto-dot:not(.is-active):hover {
        background: var(--muted-2);
    }
}

.auto-slide--doc .auto-card {
    background: var(--lavender);
    border-color: rgb(var(--navy-rgb) / 0.08);
}

.auto-doc {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 1fr);
    gap: 26px;
    align-items: start;
    margin-top: 6px;
}

.auto-doc__paper {
    position: relative;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px -22px rgb(var(--shadow-base) / 0.28);
    padding: 24px 26px 36px;
    aspect-ratio: 17 / 20;
}

.auto-doc__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
}

.auto-doc__logo {
    font-weight: 800;
    letter-spacing: .06em;
    color: rgb(var(--navy-rgb) / .72);
    background: rgb(var(--info-rgb) / .1);
    font-size: 1.2rem;
    line-height: 1;
    padding: 7px 11px;
    border: 2px solid rgb(var(--navy-rgb) / .42);
    border-radius: 6px;
}

.auto-doc__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
}

.auto-doc__page {
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--navy);
}

.auto-doc__line {
    display: block;
    height: 9px;
    border-radius: 4px;
    background: var(--line);
    margin: 9px 0;
}

.auto-doc__line--title {
    height: 13px;
    width: 62%;
    background: var(--line-strong);
    margin-bottom: 14px;
}

.auto-doc__line--lg { width: 100%; }
.auto-doc__line--md { width: 74%; }
.auto-doc__line--sm { width: 46%; }

.auto-doc__line--xs {
    width: 64px;
    height: 7px;
    margin: 0;
}

.auto-doc__line--mark {
    background: rgb(var(--info-rgb) / .16);
    box-shadow: inset 0 0 0 1px rgb(var(--info-rgb) / .22);
}

.auto-doc__line--mark-blue {
    background: rgb(var(--info-rgb) / .16);
    box-shadow: inset 0 0 0 1px rgb(var(--info-rgb) / .22);
}

.auto-doc__line--mark-customer {
    background: rgb(245 158 11 / .16);
    box-shadow: inset 0 0 0 1px rgb(245 158 11 / .24);
}

.auto-doc__line--mark-money {
    background: rgb(var(--success-rgb) / .14);
    box-shadow: inset 0 0 0 1px rgb(var(--success-rgb) / .24);
}

.auto-doc__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 16px 0;
}

.auto-doc__col {
    font-size: .6875rem;
    font-weight: 700;
    color: var(--muted);
}

.auto-doc__cell {
    height: 13px;
    border-radius: 4px;
    background: var(--soft);
}

.auto-doc__cell--mark {
    background: rgb(var(--info-rgb) / .14);
    box-shadow: inset 0 0 0 1px rgb(var(--info-rgb) / .22);
}

.auto-doc__cell--mark-blue {
    background: rgb(var(--info-rgb) / .14);
    box-shadow: inset 0 0 0 1px rgb(var(--info-rgb) / .22);
}

.auto-doc__cell--mark-customer {
    background: rgb(245 158 11 / .15);
    box-shadow: inset 0 0 0 1px rgb(245 158 11 / .24);
}

.auto-doc__cell--mark-money {
    background: rgb(var(--success-rgb) / .14);
    box-shadow: inset 0 0 0 1px rgb(var(--success-rgb) / .26);
}

.auto-doc__scan {
    position: absolute;
    left: 0;
    right: 0;
    top: 4%;
    height: 172px;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgb(var(--info-rgb) / 0), rgb(var(--info-rgb) / .72) 18%, rgb(var(--info-rgb) / .72) 82%, rgb(var(--info-rgb) / 0)) center / 100% 2px no-repeat,
        linear-gradient(180deg, rgb(var(--info-rgb) / 0) 0%, rgb(var(--info-rgb) / .2) 50%, rgb(var(--info-rgb) / 0) 100%);
    animation: auto-scan 3.6s ease-in-out infinite alternate;
}

@keyframes auto-scan {
    from { top: 2%; }
    to   { top: 74%; }
}

.auto-flow {
    margin: 6px 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auto-step {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px -16px rgb(var(--shadow-base) / 0.18);
    padding: 20px;
    transition: border-color .24s ease, background-color .24s ease;
}

.auto-step__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.auto-step__head strong {
    color: var(--navy);
    font-size: 1.25rem;
}

.auto-step__icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgb(var(--info-rgb) / .12);
    color: var(--navy);
    transition: background-color .24s ease, box-shadow .24s ease, color .24s ease, transform .24s ease;
}

.auto-step__icon svg {
    width: 22px;
    height: 22px;
}

.auto-step__fields {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 0;
}

.auto-field {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0 18px;
    border-left: 1px solid rgb(var(--navy-rgb) / .1);
}

.auto-field:first-child {
    padding-left: 0;
    border-left: 0;
}

.auto-field i {
    font-style: normal;
    font-size: .8125rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--muted);
}

.auto-field b {
    font-size: .9375rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
}

.auto-field--accent b {
    color: var(--info-text);
}

.auto-tag {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .8125rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
}

.auto-tag svg {
    width: 12px;
    height: 12px;
}

.auto-tag--channel {
    color: var(--navy);
    background: rgb(var(--info-rgb) / .12);
}

.auto-tag--pass {
    color: var(--success-text);
    background: rgb(var(--success-rgb) / .1);
}

.auto-tag--added {
    color: var(--success-text);
    background: rgb(var(--success-rgb) / .12);
}

.auto-tag--added svg {
    width: 13px;
    height: 13px;
}

.auto-slide--detention .auto-card {
    background: var(--lavender);
    border-color: rgb(var(--navy-rgb) / 0.08);
}

.auto-slide--detention .auto-step--call,
.auto-slide--detention .auto-step--rules {
    background: var(--white);
}

.auto-slide--detention .auto-step--call .auto-step__icon {
    background: rgb(var(--info-rgb) / .12);
    color: var(--navy);
}

.auto-step__rules.auto-step__rules--plan {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.auto-rule.auto-rule--plan {
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
    padding-left: 10px;
    text-align: left;
}

.auto-rule__icon {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
}

.auto-rule__icon svg {
    width: 20px;
    height: 20px;
}

.auto-rule__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.auto-rule__text em {
    color: var(--muted);
    font-style: normal;
    font-weight: 400;
    font-size: .8125rem;
    line-height: 1.2;
}

.auto-rule__text b {
    color: var(--navy);
    font-size: .9375rem;
    font-weight: 700;
    line-height: 1.2;
}

.auto-step--detention-ok {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 136px;
    grid-template-areas:
        "head action"
        "summary action";
    column-gap: 22px;
    align-items: stretch;
    border-color: rgb(var(--success-rgb) / .34);
    background: var(--mint);
    padding-block: 18px;
}

.auto-step--detention-ok .auto-step__head {
    grid-area: head;
    margin-bottom: 12px;
}

.auto-charge {
    display: contents;
}

.auto-charge__summary {
    grid-area: summary;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-self: center;
}

.auto-charge__metric {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    box-shadow: 0 1px 2px rgb(var(--shadow-base) / .04);
}

.auto-charge__metric i {
    color: var(--muted);
    font-size: .8125rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
}

.auto-charge__metric b {
    color: var(--navy);
    font-size: .9375rem;
    font-weight: 700;
    line-height: 1.2;
}

.auto-charge__metric--amount b,
.auto-charge__status {
    color: var(--success-text);
}

.auto-charge__action {
    grid-area: action;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    gap: 10px;
    padding-block: 0 6px;
}

.auto-charge__invoice {
    color: var(--success);
    display: flex;
    justify-content: center;
    position: relative;
}

.auto-charge__invoice > svg {
    width: 64px;
    height: 72px;
}

.auto-charge__status {
    background: rgb(var(--success-rgb) / .08);
    border-radius: var(--radius-pill);
    font-size: .75rem;
    font-weight: 800;
    line-height: 1;
    padding: 8px 14px;
    text-align: center;
    white-space: nowrap;
}

.auto-step__rules {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.auto-rule {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--navy);
    font-size: .8125rem;
    font-weight: 700;
    padding: 11px 12px;
    border-radius: var(--radius-sm);
    box-shadow: 0 1px 2px rgb(var(--shadow-base) / .04);
    transition: border-color .22s ease, background-color .22s ease, color .22s ease, transform .22s ease;
}

.auto-rule__check {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--success);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px -6px rgb(var(--success-rgb) / .7);
    transition: transform .22s ease, box-shadow .22s ease;
}

.auto-rule__check svg {
    width: 12px;
    height: 12px;
    stroke-width: 3;
}

.auto-flow__link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    color: var(--muted-2);
}

.auto-flow__link svg {
    width: 18px;
    height: 18px;
}

.auto-flow--dispatch {
    gap: 13px;
}

.auto-step--call,
.auto-step--rules {
    background: var(--soft-2);
}

.auto-flow--dispatch .auto-step__head {
    flex-wrap: wrap;
    row-gap: 10px;
}

.auto-step--call .auto-step__fields {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 0;
}

.auto-step--call .auto-field {
    padding: 0 22px;
}

.auto-step--call .auto-field:first-child {
    padding-left: 0;
}

.auto-flow--dispatch .auto-note {
    width: fit-content;
    max-width: 100%;
    align-self: flex-end;
    gap: 8px;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--muted);
}

.auto-flow--dispatch .auto-note__i {
    width: 16px;
    height: 16px;
    background: transparent;
    border: 1px solid var(--muted-2);
    color: var(--muted);
    font-size: .625rem;
    font-weight: 700;
}

.auto-step--ok {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    border-color: rgb(var(--success-rgb) / .28);
    background: var(--mint);
}

.auto-step__okbody {
    flex: 1 1 auto;
    min-width: 0;
}

.auto-step__badge {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--success);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow .22s ease, transform .22s ease;
}

.auto-step__badge svg {
    width: 18px;
    height: 18px;
}

.auto-step__okbody strong {
    display: block;
    color: var(--navy);
    font-size: 1.25rem;
}

.auto-step__okbody p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: .875rem;
}

.auto-slide.is-active.is-workflow-animating .auto-flow--dispatch > * {
    animation: auto-step-in .55s cubic-bezier(.22, .61, .36, 1) both;
}

.auto-slide.is-active.is-workflow-animating .auto-flow--dispatch > :nth-child(1) { animation-delay: .05s; }
.auto-slide.is-active.is-workflow-animating .auto-flow--dispatch > :nth-child(2) { animation-delay: .16s; }
.auto-slide.is-active.is-workflow-animating .auto-flow--dispatch > :nth-child(3) { animation-delay: .24s; }
.auto-slide.is-active.is-workflow-animating .auto-flow--dispatch > :nth-child(4) { animation-delay: .40s; }
.auto-slide.is-active.is-workflow-animating .auto-flow--dispatch > :nth-child(5) { animation-delay: .48s; }
.auto-slide.is-active.is-workflow-animating .auto-flow--dispatch > :nth-child(6) { animation-delay: .64s; }

.auto-flow--dispatch > * {
    transition: opacity .24s ease;
}

.auto-slide.is-workflow-fading .auto-flow--dispatch > * {
    opacity: 0;
}

.auto-slide.is-active.is-workflow-animating .auto-step__badge {
    animation:
        auto-badge-in .5s cubic-bezier(.34, 1.56, .64, 1) .56s both,
        auto-badge-ring .9s ease-out .62s both;
}

.auto-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: auto 0 0;
    padding: 12px 16px;
    background: var(--soft-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--muted);
    font-size: .8125rem;
}

.auto-note__i {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--muted-2);
    color: var(--white);
    font-style: normal;
    font-size: .6875rem;
    font-weight: 800;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.auto-slide--doc .auto-feat {
    opacity: 0;
    translate: 0 14px;
}

.auto-slide--doc.is-revealed .auto-feat {
    animation: auto-rise 600ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.auto-slide--doc.is-revealed .auto-feat:nth-child(1) { animation-delay: 60ms; }
.auto-slide--doc.is-revealed .auto-feat:nth-child(2) { animation-delay: 150ms; }
.auto-slide--doc.is-revealed .auto-feat:nth-child(3) { animation-delay: 240ms; }
.auto-slide--doc.is-revealed .auto-feat:nth-child(4) { animation-delay: 330ms; }

@keyframes auto-rise {
    to {
        opacity: 1;
        translate: 0 0;
    }
}

@keyframes auto-step-in {
    from {
        opacity: 0;
        transform: translateY(16px) scale(.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes auto-badge-in {
    from { transform: scale(.4); }
    to   { transform: scale(1); }
}

@keyframes auto-badge-ring {
    from { box-shadow: 0 0 0 0 rgb(var(--success-rgb) / .4); }
    to   { box-shadow: 0 0 0 14px rgb(var(--success-rgb) / 0); }
}

@media (min-width: 981px) {
    .auto-card {
        display: flex;
        flex-direction: column;
    }

    .auto-slide--doc .auto-doc {
        flex: 1 1 auto;
        align-items: stretch;
    }

    .auto-slide--doc .auto-doc__paper {
        height: 100%;
        aspect-ratio: auto;
    }

    .auto-slide--doc .auto-feats--col {
        display: flex;
        flex-direction: column;
    }

    .auto-slide--doc .auto-feats--col .auto-feat {
        flex: 1;
    }

    .auto-flow--dispatch {
        flex: 1 1 auto;
    }

    .auto-flow--dispatch > .auto-step {
        flex: 1 1 0;
    }

    .auto-flow--dispatch .auto-step--call,
    .auto-flow--dispatch .auto-step--rules {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

@media (max-width: 980px) {
    .auto-carousel {
        --auto-slide-w: 88%;
    }

    .auto-viewport {
        align-items: flex-start;
    }

    .auto-doc {
        grid-template-columns: 1fr;
    }

    .auto-doc__paper {
        max-width: none;
        aspect-ratio: 17 / 14;
        max-height: 460px;
    }

    .auto-feats--row {
        grid-template-columns: repeat(2, 1fr);
    }

    .auto-step__rules.auto-step__rules--plan {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .auto-stage {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "viewport viewport"
            "prev     next";
        column-gap: 16px;
        row-gap: 0;
        align-items: start;
    }

    .auto-viewport {
        grid-area: viewport;
    }

    .auto-stage > .slider-btn {
        position: static;
        transform: none;
        left: auto;
        right: auto;
        margin-top: -28px;
        box-shadow: var(--shadow-sm);
    }

    .auto-stage > .slider-btn:hover {
        transform: none;
    }

    .auto-stage > .slider-btn.prev {
        grid-area: prev;
        justify-self: end;
    }

    .auto-stage > .slider-btn.next {
        grid-area: next;
        justify-self: start;
    }

    .auto-dots {
        display: none;
    }
}

@media (max-width: 600px) {
    .auto-carousel {
        --auto-slide-w: 90%;
        --auto-gap: 16px;
    }

    .auto-card {
        border-radius: var(--radius-lg);
    }

    .auto-slide--fuel .pf-fuel-viz {
        margin-top: 40px;
    }

    .auto-slide--fuel .fuel-chip[data-chip="1"],
    .auto-slide--fuel .fuel-marker[data-chip="1"] {
        display: none;
    }

    .auto-slide--fuel .fuel-chip[data-chip="2"],
    .auto-slide--fuel .fuel-marker[data-chip="2"] {
        left: 44% !important;
        top: 39.2% !important;
    }

    .auto-feats--row {
        grid-template-columns: 1fr;
    }

    .auto-step--call .auto-step__fields {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px 20px;
        align-items: start;
    }

    .auto-step__rules {
        grid-template-columns: 1fr 1fr;
    }

    .auto-step__rules.auto-step__rules--plan {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .auto-field {
        padding-inline: 0;
        border-left: 0;
    }

    .auto-step--call .auto-field {
        padding: 0;
    }

    .auto-slide--dispatch .auto-step--call .auto-step__fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 18px;
    }

    .auto-slide--detention .auto-step--call .auto-step__fields {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px 16px;
    }

    .auto-step--ok .auto-tag--added {
        margin-left: 0;
    }

    .auto-step__head .auto-tag {
        margin-left: 0;
    }

    .auto-step--call .auto-step__head,
    .auto-step--rules .auto-step__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .auto-step--detention-ok {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "head    head"
            "summary action";
        column-gap: 14px;
        row-gap: 12px;
    }

    .auto-charge__summary {
        grid-template-columns: 1fr;
    }

    .auto-charge__action {
        gap: 10px;
        justify-content: center;
    }

}

@media (max-width: 420px) {
    .auto-slide--dispatch .auto-step--call .auto-step__fields,
    .auto-slide--detention .auto-step--call .auto-step__fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}
