@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #0b1b34;
    --secondary: #0f6e73;
    --accent: #f4b400;
    --title-font: "Manrope", Inter, system-ui, sans-serif;
    --route-marker-disc-size: 42px;
    --route-icon-size: 18px;
    --surface: #ffffff;
    --muted: #64748b;
    --border: rgba(15, 23, 42, 0.12);
    --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

/* PQTC native-app case polish */
body.public-shell:has(.pcis-case-page) {
    background: #081827 !important;
}

body.public-shell:has(.pcis-case-page) main {
    background:
        radial-gradient(circle at 14% 0%, rgba(20, 184, 166, 0.18), transparent 32%),
        radial-gradient(circle at 92% 12%, rgba(245, 158, 11, 0.14), transparent 28%),
        linear-gradient(135deg, #081827 0%, #0f2538 48%, #071421 100%) !important;
}

body.public-shell:has(.pcis-case-page) .site-header,
body.public-shell:has(.pcis-case-page) .site-footer,
body.public-shell:has(.pcis-case-page) .footer-bottom {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    filter: none !important;
}

.pcis-case-page {
    width: min(1180px, calc(100% - 44px)) !important;
    padding: 26px 0 56px !important;
}

.pcis-case-summary {
    position: relative;
    overflow: hidden;
    padding: 26px !important;
    border: 1px solid rgba(226, 232, 240, 0.82) !important;
    border-radius: 22px !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96)) !important;
    box-shadow:
        0 28px 80px rgba(2, 8, 23, 0.30),
        0 1px 0 rgba(255, 255, 255, 0.92) inset !important;
}

.pcis-case-summary::before {
    height: 5px !important;
    background: linear-gradient(90deg, #153e75 0%, #c5163d 48%, #f59e0b 100%) !important;
}

.pcis-case-summary::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -140px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.16), transparent 68%);
    pointer-events: none;
}

.pcis-case-summary > * {
    position: relative;
    z-index: 1;
}

.tracking-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: start !important;
    padding: 12px 2px 24px !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}

.tracking-header .eyebrow {
    min-height: 30px;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    background: #eef6ff !important;
    border: 1px solid #d7e7fb !important;
    color: #153e75 !important;
    box-shadow: 0 8px 18px rgba(21, 62, 117, 0.08);
}

.tracking-header h1 {
    margin-top: 12px !important;
    color: #071424 !important;
    font-size: clamp(2.35rem, 5vw, 4.15rem) !important;
    font-weight: 950 !important;
    line-height: 0.96 !important;
}

.pcis-header-subtitle {
    margin-top: 8px !important;
    color: #64748b !important;
    font-size: 0.98rem !important;
    font-weight: 800 !important;
}

.tracking-header .status-badge {
    min-height: 46px !important;
    padding: 12px 18px !important;
    border: 1px solid rgba(20, 184, 166, 0.22) !important;
    border-radius: 999px !important;
    background: #e9fbf8 !important;
    color: #0f766e !important;
    box-shadow: 0 18px 34px rgba(20, 184, 166, 0.15) !important;
}

.pcis-executive-strip {
    grid-template-columns: minmax(210px, 1.1fr) repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

.pcis-executive-card {
    min-height: 112px !important;
    padding: 16px 18px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.86) !important;
    border: 1px solid rgba(203, 213, 225, 0.72) !important;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07) !important;
}

.pcis-executive-card-progress {
    background:
        linear-gradient(160deg, #081221 0%, #111827 100%) !important;
    border-color: rgba(15, 23, 42, 0.92) !important;
}

.pcis-executive-card span,
.pcis-decision-panel > span {
    color: #64748b !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.04em;
}

.pcis-executive-card-progress span,
.pcis-executive-card-progress small,
.pcis-executive-card-progress strong {
    color: #ffffff !important;
}

.pcis-executive-card strong {
    font-size: 1.12rem !important;
}

.pcis-executive-card-progress strong {
    font-size: 2.25rem !important;
}

.pcis-mini-progress {
    height: 7px !important;
    background: rgba(255, 255, 255, 0.18) !important;
}

.pcis-mini-progress i {
    background: linear-gradient(90deg, #10b981 0%, #14b8a6 52%, #f59e0b 100%) !important;
}

.pcis-profile-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.58fr) !important;
    gap: 16px !important;
}

.tracking-section,
.pcis-decision-panel,
.pcis-current-step-panel,
.timeline-card-content {
    border-radius: 16px !important;
}

.tracking-section,
.pcis-current-step-panel {
    background: rgba(255, 255, 255, 0.90) !important;
    border: 1px solid rgba(203, 213, 225, 0.78) !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07) !important;
}

.tracking-section {
    padding: 22px !important;
}

.tracking-section-kicker {
    color: #0f766e !important;
    letter-spacing: 0.08em;
}

.tracking-section h2 {
    color: #071424 !important;
    font-size: 1.28rem !important;
}

.tracking-meta-grid {
    gap: 11px !important;
}

.tracking-meta-grid div {
    min-height: 82px !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.88) inset !important;
}

.tracking-meta-grid div:hover {
    transform: translateY(-1px);
    border-color: rgba(20, 184, 166, 0.26) !important;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06) !important;
}

.pcis-decision-panel {
    padding: 22px !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(20, 184, 166, 0.22), transparent 38%),
        linear-gradient(160deg, #0b1220 0%, #13294a 100%) !important;
    border: 1px solid rgba(148, 163, 184, 0.20) !important;
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.18) !important;
}

.pcis-decision-panel > span {
    color: rgba(255, 255, 255, 0.68) !important;
}

.pcis-decision-panel dl div {
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.09) !important;
}

.pcis-route-section {
    padding: 22px !important;
}

.pcis-route-section .tracking-section-head-inline {
    align-items: center !important;
}

.pcis-route-section .route-legend {
    justify-content: flex-end;
    padding-top: 4px !important;
}

.pcis-route-section .pcis-route-stage.route-stage {
    height: 258px !important;
    border-radius: 16px !important;
    background:
        radial-gradient(circle at 8% 28%, rgba(16, 185, 129, 0.08), transparent 22%),
        radial-gradient(circle at 50% 42%, rgba(245, 158, 11, 0.07), transparent 20%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.94) !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-marker-icon {
    width: 38px !important;
    height: 38px !important;
    box-shadow:
        0 0 0 8px rgba(245, 158, 11, 0.10),
        0 18px 30px rgba(245, 158, 11, 0.22) !important;
}

.pcis-current-step-panel {
    margin-top: 16px;
    border-left: 5px solid #153e75 !important;
    background: #f8fbff !important;
}

.timeline-card-content {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

@media (max-width: 980px) {
    .pcis-executive-strip,
    .pcis-profile-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .pcis-decision-panel,
    .pcis-route-section,
    .tracking-section-history {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .pcis-case-page {
        width: min(100% - 18px, 1180px) !important;
        padding-top: 14px !important;
    }

    .pcis-case-summary {
        padding: 16px !important;
        border-radius: 18px !important;
    }

    .tracking-header,
    .pcis-executive-strip,
    .pcis-profile-grid,
    .tracking-meta-grid {
        grid-template-columns: 1fr !important;
    }

    .tracking-header h1 {
        font-size: clamp(2rem, 13vw, 3rem) !important;
    }

    .tracking-header .status-badge {
        width: max-content;
        max-width: 100%;
    }
}

/* PQTC compact dossier title - absolute final override */
body.public-shell .pcis-case-page .tracking-header h1 {
    max-width: 760px !important;
    margin-top: 10px !important;
    color: #071424 !important;
    font-size: clamp(1.72rem, 3.35vw, 2.85rem) !important;
    font-weight: 920 !important;
    line-height: 1.02 !important;
    letter-spacing: 0 !important;
}

body.public-shell .pcis-case-page .pcis-header-subtitle {
    margin-top: 6px !important;
    font-size: 0.86rem !important;
    font-weight: 750 !important;
    line-height: 1.35 !important;
}

body.public-shell .pcis-case-page .is-step-name-blurred {
    display: inline-block;
    filter: blur(5px);
    color: transparent !important;
    text-shadow: 0 0 8px rgba(15, 23, 42, 0.55);
    user-select: none;
    pointer-events: none;
}

@media (max-width: 760px) {
    body.public-shell .pcis-case-page .tracking-header h1 {
        max-width: 100% !important;
        font-size: clamp(1.42rem, 8.4vw, 2.05rem) !important;
        line-height: 1.04 !important;
    }

    body.public-shell .pcis-case-page .pcis-header-subtitle {
        font-size: 0.78rem !important;
    }
}

/* Clickable portal access tabs */
.pqtc-login-tabs button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
    min-height: 40px !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: transparent !important;
    color: #64748b !important;
    font: inherit !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease !important;
}

.pqtc-login-tabs button:hover,
.pqtc-login-tabs button:focus-visible {
    color: #dc2b22 !important;
    background: rgba(255, 255, 255, 0.66) !important;
    outline: none !important;
}

.pqtc-login-tabs button.is-active {
    color: #dc2b22 !important;
    background: #ffffff !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12) !important;
}

.pqtc-secure-code-note {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid rgba(15, 110, 115, 0.18);
    border-radius: 8px;
    background: rgba(15, 110, 115, 0.07);
    color: #0f172a;
}

.pqtc-secure-code-note strong {
    font-size: 0.84rem;
    font-weight: 850;
}

.pqtc-secure-code-note span {
    color: #475569;
    font-size: 0.8rem;
    font-weight: 650;
    line-height: 1.35;
}

/* PQTC compact dossier title - absolute final override */
body.public-shell .pcis-case-page .tracking-header h1 {
    max-width: 760px !important;
    margin-top: 10px !important;
    color: #071424 !important;
    font-size: clamp(1.72rem, 3.35vw, 2.85rem) !important;
    font-weight: 920 !important;
    line-height: 1.02 !important;
    letter-spacing: 0 !important;
}

body.public-shell .pcis-case-page .pcis-header-subtitle {
    margin-top: 6px !important;
    font-size: 0.86rem !important;
    font-weight: 750 !important;
    line-height: 1.35 !important;
}

.pqtc-login-tabs button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.pqtc-login-tabs button svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pqtc-login-tabs button:hover,
.pqtc-login-tabs button:focus-visible {
    color: #e11d1d;
    background: rgba(255, 255, 255, 0.64);
    outline: none;
}

.pqtc-login-tabs button.is-active {
    color: #e11d1d;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

@media (max-width: 760px) {
    body.public-shell .pcis-case-page .tracking-header h1 {
        max-width: 100% !important;
        font-size: clamp(1.42rem, 8.4vw, 2.05rem) !important;
        line-height: 1.04 !important;
    }

    body.public-shell .pcis-case-page .pcis-header-subtitle {
        font-size: 0.78rem !important;
    }
}

/* PQTC mobile login landing - absolute final override */
@media (max-width: 860px) {
    html,
    body.public-shell {
        min-height: 100%;
        overflow-x: hidden !important;
        background: #ffffff !important;
    }

    body.public-shell .site-header,
    body.public-shell .site-footer,
    body.public-shell .footer-bottom {
        display: none !important;
    }

    body.public-shell main {
        display: block !important;
        min-height: 100vh !important;
        padding: 0 !important;
        background: #ffffff !important;
    }

    body.public-shell .pcis-search-page {
        width: 100% !important;
        max-width: none !important;
        min-height: 100vh !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.public-shell .pcis-search-shell {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        width: 100% !important;
        min-height: 100vh !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #ffffff !important;
        box-shadow: none !important;
    }

    body.public-shell .pcis-search-copy {
        display: grid !important;
        width: 100% !important;
        min-height: 0 !important;
        padding: 28px 24px 30px !important;
        gap: 16px !important;
        background: linear-gradient(180deg, #d92822 0%, #b50707 100%) !important;
        color: #ffffff !important;
        border-radius: 0 !important;
    }

    body.public-shell .pqtc-panel-mark {
        display: none !important;
    }

    body.public-shell .pcis-search-copy h1 {
        display: block !important;
        width: auto !important;
        max-width: 340px !important;
        margin: 0 !important;
        color: #ffffff !important;
        font-size: clamp(1.34rem, 6.2vw, 1.72rem) !important;
        font-weight: 900 !important;
        line-height: 1.12 !important;
        letter-spacing: 0 !important;
    }

    body.public-shell .pcis-search-copy .tracking-search-lead {
        display: block !important;
        max-width: 340px !important;
        margin: 0 !important;
        color: rgba(255, 255, 255, 0.96) !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        line-height: 1.55 !important;
    }

    body.public-shell .pqtc-portal-benefits {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px 18px !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    body.public-shell .pqtc-portal-benefits li {
        display: grid !important;
        grid-template-columns: 20px minmax(0, 1fr) !important;
        gap: 8px !important;
        align-items: start !important;
        color: #ffffff !important;
        font-size: 0.82rem !important;
        font-weight: 700 !important;
        line-height: 1.22 !important;
    }

    body.public-shell .pqtc-portal-benefits li:last-child {
        grid-column: 1 / -1;
        max-width: 230px;
    }

    body.public-shell .pqtc-portal-benefits .benefit-icon,
    body.public-shell .pqtc-portal-benefits span {
        display: inline-flex !important;
        width: 18px !important;
        height: 18px !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.20) !important;
        color: #ffffff !important;
    }

    body.public-shell .pqtc-panel-footer {
        display: block !important;
        margin: 0 !important;
        color: rgba(255, 255, 255, 0.50) !important;
        font-size: 0.72rem !important;
        font-weight: 600 !important;
    }

    body.public-shell .pqtc-panel-footer::before {
        content: "© 2026 ";
    }

    body.public-shell .pcis-status-preview {
        display: grid !important;
        width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        padding: 28px 20px 30px !important;
        gap: 16px !important;
        justify-content: stretch !important;
        background: #ffffff !important;
        color: #0f172a !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    body.public-shell .pqtc-login-brand {
        display: grid !important;
        gap: 10px !important;
        justify-items: start !important;
        margin: 0 !important;
    }

    body.public-shell .pqtc-login-brand img {
        width: 132px !important;
        height: 52px !important;
        object-fit: contain !important;
        object-position: left center !important;
    }

    body.public-shell .pqtc-login-brand span {
        color: #64748b !important;
        font-size: 0.82rem !important;
        font-weight: 500 !important;
    }

    body.public-shell .pqtc-login-tabs {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 4px !important;
        padding: 4px !important;
        border-radius: 10px !important;
        background: #eef1f5 !important;
    }

    body.public-shell .pqtc-login-tabs span {
        display: inline-flex !important;
        min-height: 44px !important;
        gap: 7px !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 8px !important;
        color: #64748b !important;
        font-size: 0.86rem !important;
        font-weight: 800 !important;
    }

    body.public-shell .pqtc-login-tabs .is-active {
        background: #ffffff !important;
        color: #dc2626 !important;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12) !important;
    }

    body.public-shell .pcis-status-preview .alert {
        padding: 12px 14px !important;
        border-radius: 10px !important;
        font-size: 0.84rem !important;
        line-height: 1.42 !important;
    }

    body.public-shell .pcis-status-preview .tracking-search-form {
        display: grid !important;
        gap: 10px !important;
        max-width: none !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.public-shell .pcis-status-preview .tracking-search-form label {
        margin: 4px 0 0 !important;
        color: #0f172a !important;
        font-size: 0.82rem !important;
        font-weight: 850 !important;
    }

    body.public-shell .pcis-status-preview .tracking-search-form input {
        min-height: 46px !important;
        padding: 0 14px !important;
        border-radius: 8px !important;
        border-color: #d7dce5 !important;
        background: #ffffff !important;
        color: #0f172a !important;
        font-size: 0.92rem !important;
    }

    body.public-shell .pcis-status-preview .tracking-search-form .button-primary {
        min-height: 48px !important;
        margin-top: 10px !important;
        border-radius: 8px !important;
        background: #dc2b22 !important;
        color: #ffffff !important;
        font-size: 0.96rem !important;
        font-weight: 900 !important;
        box-shadow: none !important;
    }

    body.public-shell .tracking-search-note,
    body.public-shell .pcis-status-preview .pcis-search-assurance {
        display: none !important;
    }
}

@media (max-width: 380px) {
    body.public-shell .pcis-search-copy {
        padding: 24px 20px 26px !important;
    }

    body.public-shell .pcis-search-copy h1 {
        font-size: 1.26rem !important;
    }

    body.public-shell .pcis-search-copy .tracking-search-lead {
        font-size: 0.84rem !important;
    }

    body.public-shell .pqtc-portal-benefits {
        gap: 10px 12px !important;
    }

    body.public-shell .pqtc-portal-benefits li {
        font-size: 0.76rem !important;
    }

    body.public-shell .pcis-status-preview {
        padding: 24px 16px 26px !important;
    }
}

/* PQTC mobile login landing - final cascade winner */
@media (max-width: 860px) {
    html,
    body.public-shell {
        min-height: 100%;
        overflow-x: hidden !important;
        background: #ffffff !important;
    }

    body.public-shell .site-header,
    body.public-shell .site-footer,
    body.public-shell .footer-bottom {
        display: none !important;
    }

    body.public-shell main {
        display: block !important;
        min-height: 100vh !important;
        padding: 0 !important;
        background: #ffffff !important;
    }

    body.public-shell .pcis-search-page {
        width: 100% !important;
        max-width: none !important;
        min-height: 100vh !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.public-shell .pcis-search-shell {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        width: 100% !important;
        min-height: 100vh !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #ffffff !important;
        box-shadow: none !important;
    }

    body.public-shell .pcis-search-copy {
        display: grid !important;
        width: 100% !important;
        min-height: 0 !important;
        padding: 28px 24px 30px !important;
        gap: 16px !important;
        background: linear-gradient(180deg, #d92822 0%, #b50707 100%) !important;
        color: #ffffff !important;
        border-radius: 0 !important;
    }

    body.public-shell .pqtc-panel-mark {
        display: none !important;
    }

    body.public-shell .pcis-search-copy h1 {
        display: block !important;
        width: auto !important;
        max-width: 340px !important;
        margin: 0 !important;
        color: #ffffff !important;
        font-size: clamp(1.34rem, 6.2vw, 1.72rem) !important;
        font-weight: 900 !important;
        line-height: 1.12 !important;
        letter-spacing: 0 !important;
    }

    body.public-shell .pcis-search-copy .tracking-search-lead {
        display: block !important;
        max-width: 340px !important;
        margin: 0 !important;
        color: rgba(255, 255, 255, 0.96) !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        line-height: 1.55 !important;
    }

    body.public-shell .pqtc-portal-benefits {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px 18px !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    body.public-shell .pqtc-portal-benefits li {
        display: grid !important;
        grid-template-columns: 20px minmax(0, 1fr) !important;
        gap: 8px !important;
        align-items: start !important;
        color: #ffffff !important;
        font-size: 0.82rem !important;
        font-weight: 700 !important;
        line-height: 1.22 !important;
    }

    body.public-shell .pqtc-portal-benefits li:last-child {
        grid-column: 1 / -1;
        max-width: 230px;
    }

    body.public-shell .pqtc-portal-benefits .benefit-icon,
    body.public-shell .pqtc-portal-benefits span {
        display: inline-flex !important;
        width: 18px !important;
        height: 18px !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.20) !important;
        color: #ffffff !important;
    }

    body.public-shell .pqtc-panel-footer {
        display: block !important;
        margin: 0 !important;
        color: rgba(255, 255, 255, 0.50) !important;
        font-size: 0.72rem !important;
        font-weight: 600 !important;
    }

    body.public-shell .pqtc-panel-footer::before {
        content: "© 2026 ";
    }

    body.public-shell .pcis-status-preview {
        display: grid !important;
        width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        padding: 28px 20px 30px !important;
        gap: 16px !important;
        justify-content: stretch !important;
        background: #ffffff !important;
        color: #0f172a !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    body.public-shell .pqtc-login-brand {
        display: grid !important;
        gap: 10px !important;
        justify-items: start !important;
        margin: 0 !important;
    }

    body.public-shell .pqtc-login-brand img {
        width: 132px !important;
        height: 52px !important;
        object-fit: contain !important;
        object-position: left center !important;
    }

    body.public-shell .pqtc-login-brand span {
        color: #64748b !important;
        font-size: 0.82rem !important;
        font-weight: 500 !important;
    }

    body.public-shell .pqtc-login-tabs {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 4px !important;
        padding: 4px !important;
        border-radius: 10px !important;
        background: #eef1f5 !important;
    }

    body.public-shell .pqtc-login-tabs span {
        display: inline-flex !important;
        min-height: 44px !important;
        gap: 7px !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 8px !important;
        color: #64748b !important;
        font-size: 0.86rem !important;
        font-weight: 800 !important;
    }

    body.public-shell .pqtc-login-tabs .is-active {
        background: #ffffff !important;
        color: #dc2626 !important;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12) !important;
    }

    body.public-shell .pcis-status-preview .alert {
        padding: 12px 14px !important;
        border-radius: 10px !important;
        font-size: 0.84rem !important;
        line-height: 1.42 !important;
    }

    body.public-shell .pcis-status-preview .tracking-search-form {
        display: grid !important;
        gap: 10px !important;
        max-width: none !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.public-shell .pcis-status-preview .tracking-search-form label {
        margin: 4px 0 0 !important;
        color: #0f172a !important;
        font-size: 0.82rem !important;
        font-weight: 850 !important;
    }

    body.public-shell .pcis-status-preview .tracking-search-form input {
        min-height: 46px !important;
        padding: 0 14px !important;
        border-radius: 8px !important;
        border-color: #d7dce5 !important;
        background: #ffffff !important;
        color: #0f172a !important;
        font-size: 0.92rem !important;
    }

    body.public-shell .pcis-status-preview .tracking-search-form .button-primary {
        min-height: 48px !important;
        margin-top: 10px !important;
        border-radius: 8px !important;
        background: #dc2b22 !important;
        color: #ffffff !important;
        font-size: 0.96rem !important;
        font-weight: 900 !important;
        box-shadow: none !important;
    }

    body.public-shell .tracking-search-note,
    body.public-shell .pcis-status-preview .pcis-search-assurance {
        display: none !important;
    }
}

@media (max-width: 380px) {
    body.public-shell .pcis-search-copy {
        padding: 24px 20px 26px !important;
    }

    body.public-shell .pcis-search-copy h1 {
        font-size: 1.26rem !important;
    }

    body.public-shell .pcis-search-copy .tracking-search-lead {
        font-size: 0.84rem !important;
    }

    body.public-shell .pqtc-portal-benefits {
        gap: 10px 12px !important;
    }

    body.public-shell .pqtc-portal-benefits li {
        font-size: 0.76rem !important;
    }

    body.public-shell .pcis-status-preview {
        padding: 24px 16px 26px !important;
    }
}

/* PQTC native-app typography tuning */
.pcis-case-summary {
    padding: 24px !important;
}

.tracking-header {
    gap: 16px !important;
    padding-bottom: 22px !important;
}

.tracking-header .eyebrow {
    min-height: 28px !important;
    padding: 5px 11px !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
}

.tracking-header h1 {
    margin-top: 10px !important;
    font-size: clamp(1.75rem, 3.25vw, 2.65rem) !important;
    font-weight: 900 !important;
    line-height: 1.02 !important;
}

.pcis-header-subtitle {
    margin-top: 7px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
}

.tracking-header .status-badge {
    min-height: 42px !important;
    padding: 10px 16px !important;
    font-size: 0.82rem !important;
    font-weight: 850 !important;
}

.pcis-executive-strip {
    gap: 10px !important;
}

.pcis-executive-card {
    min-height: 96px !important;
    padding: 14px 16px !important;
}

.pcis-executive-card span,
.pcis-decision-panel > span,
.tracking-section-kicker {
    font-size: 0.66rem !important;
    font-weight: 800 !important;
}

.pcis-executive-card strong {
    margin-top: 8px !important;
    font-size: 0.98rem !important;
    font-weight: 850 !important;
    line-height: 1.18 !important;
}

.pcis-executive-card-progress strong {
    font-size: 1.95rem !important;
    line-height: 1 !important;
}

.pcis-executive-card small {
    margin-top: 6px !important;
    font-size: 0.74rem !important;
    font-weight: 650 !important;
}

.pcis-mini-progress {
    height: 6px !important;
    margin-top: 12px !important;
}

.tracking-section,
.pcis-decision-panel {
    padding: 20px !important;
}

.tracking-section h2 {
    font-size: 1.12rem !important;
    font-weight: 850 !important;
    line-height: 1.18 !important;
}

.tracking-meta-grid {
    gap: 10px !important;
    margin-top: 14px !important;
}

.tracking-meta-grid div {
    min-height: 72px !important;
    padding: 12px 13px !important;
}

.tracking-meta-grid span {
    font-size: 0.71rem !important;
    font-weight: 700 !important;
}

.tracking-meta-grid strong {
    margin-top: 6px !important;
    font-size: 0.86rem !important;
    font-weight: 850 !important;
    line-height: 1.22 !important;
}

.pcis-decision-panel > strong {
    margin-top: 9px !important;
    font-size: 1.34rem !important;
    font-weight: 850 !important;
}

.pcis-decision-panel p,
.pcis-decision-panel > div {
    margin-top: 12px !important;
    font-size: 0.86rem !important;
}

.pcis-decision-panel dl {
    gap: 9px !important;
    margin-top: 18px !important;
}

.pcis-decision-panel dl div {
    padding: 11px 12px !important;
}

.pcis-decision-panel dt {
    font-size: 0.66rem !important;
    font-weight: 750 !important;
}

.pcis-decision-panel dd {
    font-size: 0.86rem !important;
    font-weight: 850 !important;
}

.pcis-route-section .route-legend-title,
.pcis-route-section .route-legend-items span {
    font-size: 0.72rem !important;
    font-weight: 650 !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker-label {
    font-size: 0.64rem !important;
    font-weight: 750 !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-node-label {
    font-size: 0.66rem !important;
    font-weight: 750 !important;
}

.pcis-current-step-panel {
    padding: 15px 16px !important;
}

.pcis-current-step-panel span {
    font-size: 0.64rem !important;
    font-weight: 800 !important;
}

.pcis-current-step-panel strong {
    font-size: 0.96rem !important;
    font-weight: 850 !important;
}

.pcis-current-step-panel p,
.pcis-current-step-panel div {
    font-size: 0.88rem !important;
}

.timeline-item-head strong {
    font-size: 0.9rem !important;
    font-weight: 850 !important;
}

.timeline-item p,
.timeline-meta {
    font-size: 0.78rem !important;
}

@media (max-width: 680px) {
    .tracking-header h1 {
        font-size: clamp(1.48rem, 9vw, 2rem) !important;
    }

    .tracking-section,
    .pcis-decision-panel {
        padding: 16px !important;
    }
}

/* PQTC login single-screen viewport */
body.public-shell:has(.pcis-search-page) {
    overflow: hidden !important;
}

body.public-shell:has(.pcis-search-page) main {
    min-height: 100vh !important;
    display: grid !important;
    align-items: center !important;
}

body.public-shell:has(.pcis-search-page) .site-header,
body.public-shell:has(.pcis-search-page) .site-footer {
    display: none !important;
}

.pcis-search-page {
    width: min(980px, calc(100% - 32px)) !important;
    min-height: 0 !important;
    height: 100vh !important;
    display: grid !important;
    align-content: center !important;
    padding: 18px 0 !important;
}

.pcis-search-shell {
    min-height: 0 !important;
    height: min(640px, calc(100vh - 36px)) !important;
    border-radius: 16px !important;
}

.pcis-search-copy,
.pcis-status-preview {
    padding: 34px 38px !important;
}

.pcis-search-copy {
    gap: 16px !important;
}

.pqtc-panel-mark {
    font-size: 0.66rem !important;
}

.pcis-search-copy h1 {
    max-width: 370px !important;
    font-size: clamp(1.85rem, 3vw, 2.35rem) !important;
    line-height: 1.14 !important;
}

.pcis-search-copy .tracking-search-lead {
    max-width: 390px !important;
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
}

.pqtc-portal-benefits {
    gap: 10px !important;
    margin-top: 4px !important;
}

.pqtc-portal-benefits li {
    font-size: 0.84rem !important;
}

.pqtc-panel-footer,
.tracking-search-note,
.pcis-status-preview .pcis-search-assurance {
    display: none !important;
}

.pcis-status-preview {
    gap: 12px !important;
}

.pqtc-login-brand {
    gap: 8px !important;
    margin-bottom: 2px !important;
}

.pqtc-login-brand img {
    width: 120px !important;
    height: 50px !important;
}

.pqtc-login-brand span {
    font-size: 0.78rem !important;
}

.pqtc-login-tabs span {
    min-height: 38px !important;
    font-size: 0.82rem !important;
}

.pcis-status-preview .alert {
    padding: 12px 14px !important;
    border-radius: 10px !important;
    font-size: 0.86rem !important;
    line-height: 1.35 !important;
}

.pcis-status-preview .tracking-search-form {
    gap: 8px !important;
}

.pcis-status-preview .tracking-search-form label {
    margin-top: 6px !important;
    font-size: 0.8rem !important;
}

.pcis-status-preview .tracking-search-form input {
    min-height: 42px !important;
    font-size: 0.9rem !important;
}

.pcis-status-preview .tracking-search-form .button-primary {
    min-height: 44px !important;
    margin-top: 6px !important;
    font-size: 0.92rem !important;
}

@media (max-width: 860px) {
    body.public-shell:has(.pcis-search-page) {
        overflow: hidden !important;
    }

    .pcis-search-page {
        width: min(100% - 18px, 520px) !important;
        height: 100vh !important;
        min-height: 0 !important;
        padding: 10px 0 !important;
    }

    .pcis-search-shell {
        display: block !important;
        height: min(620px, calc(100vh - 20px)) !important;
        min-height: 0 !important;
        overflow: hidden !important;
        border-radius: 15px !important;
    }

    .pcis-search-copy {
        min-height: 0 !important;
        padding: 18px 20px !important;
        gap: 8px !important;
    }

    .pcis-search-copy h1 {
        max-width: 100% !important;
        font-size: clamp(1.28rem, 6vw, 1.7rem) !important;
        line-height: 1.12 !important;
    }

    .pcis-search-copy .tracking-search-lead,
    .pqtc-portal-benefits,
    .pqtc-panel-footer {
        display: none !important;
    }

    .pcis-status-preview {
        height: calc(100% - 118px) !important;
        min-height: 0 !important;
        justify-content: start !important;
        gap: 9px !important;
        padding: 16px 18px !important;
        overflow: hidden !important;
    }

    .pqtc-login-brand {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin: 0 !important;
    }

    .pqtc-login-brand img {
        width: 78px !important;
        height: 34px !important;
    }

    .pqtc-login-brand span {
        font-size: 0.72rem !important;
        line-height: 1.2 !important;
    }

    .pqtc-login-tabs {
        gap: 4px !important;
        padding: 3px !important;
    }

    .pqtc-login-tabs span {
        min-height: 34px !important;
        font-size: 0.74rem !important;
    }

    .pcis-status-preview .alert {
        padding: 9px 11px !important;
        font-size: 0.76rem !important;
        line-height: 1.25 !important;
    }

    .pcis-status-preview .tracking-search-form {
        gap: 6px !important;
    }

    .pcis-status-preview .tracking-search-form label {
        margin-top: 4px !important;
        font-size: 0.74rem !important;
    }

    .pcis-status-preview .tracking-search-form input {
        min-height: 38px !important;
        padding: 0 12px !important;
        font-size: 0.84rem !important;
    }

    .pcis-status-preview .tracking-search-form .button-primary {
        min-height: 40px !important;
        margin-top: 5px !important;
        font-size: 0.86rem !important;
    }
}

@media (max-width: 420px), (max-height: 660px) {
    .pcis-search-page {
        width: min(100% - 12px, 420px) !important;
        padding: 6px 0 !important;
    }

    .pcis-search-shell {
        height: calc(100vh - 12px) !important;
        border-radius: 12px !important;
    }

    .pcis-search-copy {
        padding: 12px 14px !important;
    }

    .pcis-search-copy h1 {
        font-size: clamp(1.05rem, 5.4vw, 1.34rem) !important;
    }

    .pcis-status-preview {
        height: calc(100% - 86px) !important;
        padding: 12px 14px !important;
        gap: 7px !important;
    }

    .pqtc-login-brand img {
        width: 66px !important;
        height: 28px !important;
    }

    .pqtc-login-brand span {
        font-size: 0.66rem !important;
    }

    .pqtc-login-tabs span {
        min-height: 30px !important;
        font-size: 0.68rem !important;
    }

    .pcis-status-preview .alert {
        padding: 8px 10px !important;
        font-size: 0.7rem !important;
    }

    .pcis-status-preview .tracking-search-form label {
        font-size: 0.68rem !important;
    }

    .pcis-status-preview .tracking-search-form input {
        min-height: 34px !important;
        font-size: 0.78rem !important;
    }

    .pcis-status-preview .tracking-search-form .button-primary {
        min-height: 36px !important;
        font-size: 0.8rem !important;
    }
}

/* PQTC login mobile stacked fix */
@media (max-width: 860px) {
    .pcis-search-shell {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        width: 100% !important;
        height: min(640px, calc(100vh - 20px)) !important;
    }

    .pcis-search-copy {
        width: 100% !important;
        flex: 0 0 auto !important;
        min-height: 0 !important;
        padding: 16px 18px !important;
        background: linear-gradient(135deg, #e22a23 0%, #b80707 100%) !important;
    }

    .pcis-search-copy h1 {
        max-width: 100% !important;
        margin: 6px 0 0 !important;
        font-size: clamp(1.25rem, 5.8vw, 1.65rem) !important;
        line-height: 1.08 !important;
    }

    .pcis-status-preview {
        width: 100% !important;
        flex: 1 1 auto !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 16px 18px !important;
        overflow: hidden !important;
    }
}

@media (max-width: 420px), (max-height: 660px) {
    .pcis-search-shell {
        height: calc(100vh - 12px) !important;
    }

    .pcis-search-copy {
        padding: 12px 14px !important;
    }

    .pcis-search-copy h1 {
        font-size: clamp(1rem, 5vw, 1.25rem) !important;
        line-height: 1.06 !important;
    }

    .pcis-status-preview {
        padding: 12px 14px !important;
    }
}

/* PQTC mobile login landing layout */
@media (max-width: 860px) {
    body.public-shell:has(.pcis-search-page) {
        overflow: auto !important;
        background: #ffffff !important;
    }

    body.public-shell:has(.pcis-search-page) main {
        display: block !important;
        min-height: 100vh !important;
        background: #ffffff !important;
    }

    .pcis-search-page {
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 100vh !important;
        padding: 0 !important;
    }

    .pcis-search-shell {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: auto !important;
        min-height: 100vh !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #ffffff !important;
        overflow: visible !important;
    }

    .pcis-search-copy {
        width: 100% !important;
        padding: 26px 24px 28px !important;
        gap: 16px !important;
        background: linear-gradient(180deg, #d9251f 0%, #b80707 100%) !important;
        color: #ffffff !important;
    }

    .pqtc-panel-mark {
        display: none !important;
    }

    .pcis-search-copy h1 {
        display: block !important;
        max-width: 330px !important;
        margin: 0 !important;
        color: #ffffff !important;
        font-size: clamp(1.25rem, 6vw, 1.62rem) !important;
        font-weight: 900 !important;
        line-height: 1.12 !important;
    }

    .pcis-search-copy .tracking-search-lead {
        display: block !important;
        max-width: 330px !important;
        margin: 0 !important;
        color: rgba(255, 255, 255, 0.96) !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        line-height: 1.55 !important;
    }

    .pqtc-portal-benefits {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px 18px !important;
        margin: 4px 0 0 !important;
        padding: 0 !important;
    }

    .pqtc-portal-benefits li {
        grid-template-columns: 20px minmax(0, 1fr) !important;
        gap: 8px !important;
        color: #ffffff !important;
        font-size: 0.82rem !important;
        font-weight: 700 !important;
        line-height: 1.22 !important;
    }

    .pqtc-portal-benefits li:last-child {
        grid-column: 1 / -1;
        max-width: 210px;
    }

    .pqtc-portal-benefits .benefit-icon,
    .pqtc-portal-benefits span {
        width: 18px !important;
        height: 18px !important;
        background: rgba(255, 255, 255, 0.20) !important;
        color: #ffffff !important;
    }

    .pqtc-portal-benefits svg {
        width: 13px;
        height: 13px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.6;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .pqtc-panel-footer {
        display: block !important;
        margin-top: 6px !important;
        color: rgba(255, 255, 255, 0.48) !important;
        font-size: 0.72rem !important;
        font-weight: 600 !important;
    }

    .pqtc-panel-footer::before {
        content: "© 2026 ";
    }

    .pcis-status-preview {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 26px 20px 28px !important;
        gap: 16px !important;
        justify-content: start !important;
        background: #ffffff !important;
        color: #0f172a !important;
        overflow: visible !important;
    }

    .pqtc-login-brand {
        display: grid !important;
        gap: 10px !important;
        justify-items: start !important;
        margin: 0 !important;
    }

    .pqtc-login-brand img {
        width: 132px !important;
        height: 52px !important;
        object-fit: contain !important;
        object-position: left center !important;
    }

    .pqtc-login-brand span {
        color: #64748b !important;
        font-size: 0.82rem !important;
        font-weight: 500 !important;
    }

    .pqtc-login-tabs {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 4px !important;
        padding: 4px !important;
        border-radius: 10px !important;
        background: #eef1f5 !important;
    }

    .pqtc-login-tabs span {
        min-height: 44px !important;
        gap: 7px !important;
        border-radius: 8px !important;
        color: #64748b !important;
        font-size: 0.86rem !important;
        font-weight: 800 !important;
    }

    .pqtc-login-tabs .is-active {
        background: #ffffff !important;
        color: #dc2626 !important;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12) !important;
    }

    .pcis-status-preview .alert {
        padding: 12px 14px !important;
        border-radius: 10px !important;
        font-size: 0.84rem !important;
        line-height: 1.42 !important;
    }

    .pcis-status-preview .tracking-search-form {
        gap: 10px !important;
    }

    .pcis-status-preview .tracking-search-form label {
        margin: 4px 0 0 !important;
        color: #0f172a !important;
        font-size: 0.82rem !important;
        font-weight: 850 !important;
    }

    .pcis-status-preview .tracking-search-form input {
        min-height: 46px !important;
        padding: 0 14px !important;
        border-radius: 8px !important;
        border-color: #d7dce5 !important;
        color: #0f172a !important;
        font-size: 0.92rem !important;
    }

    .pcis-status-preview .tracking-search-form .button-primary {
        min-height: 48px !important;
        margin-top: 10px !important;
        border-radius: 8px !important;
        background: #dc2b22 !important;
        color: #ffffff !important;
        font-size: 0.96rem !important;
        font-weight: 900 !important;
        box-shadow: none !important;
    }
}

@media (max-width: 380px) {
    .pcis-search-copy {
        padding: 22px 20px 24px !important;
    }

    .pcis-search-copy h1 {
        font-size: 1.22rem !important;
    }

    .pcis-search-copy .tracking-search-lead {
        font-size: 0.84rem !important;
    }

    .pqtc-portal-benefits {
        gap: 10px 12px !important;
    }

    .pqtc-portal-benefits li {
        font-size: 0.76rem !important;
    }

    .pcis-status-preview {
        padding: 22px 16px 24px !important;
    }
}

.pcis-search-page {
    padding: 56px 0 72px;
}

.pcis-search-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 32px;
    align-items: center;
}

.pcis-search-copy h1 {
    margin: 10px 0 14px;
    max-width: 760px;
    color: var(--primary);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.04;
}

.pcis-status-preview,
.pcis-progress-panel {
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #fff;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.09);
    border-radius: 8px;
    padding: 24px;
}

.pcis-preview-header,
.pcis-progress-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
}

.pcis-preview-header span,
.pcis-progress-head span {
    color: #64748b;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pcis-preview-steps,
.pcis-case-steps {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pcis-preview-steps li,
.pcis-case-steps li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    position: relative;
    padding: 0 0 22px;
    color: #64748b;
}

.pcis-preview-steps li:not(:last-child)::after,
.pcis-case-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 16px;
    top: 34px;
    bottom: 4px;
    width: 2px;
    background: #dbeafe;
}

.pcis-preview-steps span,
.pcis-step-marker {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #bfdbfe;
    background: #eff6ff;
    color: var(--secondary);
    font-weight: 800;
    z-index: 1;
}

.pcis-preview-steps .is-complete span,
.pcis-case-steps .is-complete .pcis-step-marker,
.pcis-preview-steps .is-current span,
.pcis-case-steps .is-current .pcis-step-marker {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

.pcis-case-page {
    padding-top: 34px;
}

.pcis-case-summary {
    display: grid;
    gap: 24px;
}

.pcis-progress-bar {
    height: 12px;
}

.pcis-case-steps li strong {
    display: block;
    color: #0f172a;
    margin-bottom: 4px;
}

.pcis-case-steps li p,
.pcis-case-steps li .pcis-step-block-reason,
.pcis-case-steps li .pcis-step-message {
    margin: 0;
}

.pcis-step-block-reason {
    color: #b91c1c;
    font-weight: 700;
}

.pcis-step-message {
    color: #0f6e73;
    font-weight: 700;
}

.pcis-case-steps .is-blocked .pcis-step-marker {
    border-color: #dc2626;
    background: #dc2626;
    color: #fff;
}

.pcis-route-stage {
    height: 220px;
}

.pcis-route-stage .route-node-start {
    left: 7.8%;
    top: 53.8%;
}

.pcis-route-stage .route-node-end {
    right: 7.8%;
    top: 53.8%;
}

.pcis-route-stage .route-node-flag {
    width: 48px;
    height: 48px;
    font-size: 2rem;
    line-height: 1;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    display: grid;
    place-items: center;
}

.pcis-route-stage .route-node-label {
    top: -48px;
    min-width: 108px;
}

.pcis-route-stage .route-node-end .route-node-label {
    color: #14532d;
}

.pcis-route-stage .route-track-line {
    stroke-width: 14;
}

.pcis-route-stage .route-track-dash {
    stroke-width: 8;
    stroke-dasharray: none;
}

.pcis-route-stage .route-level-marker-label {
    min-width: 126px;
    text-align: center;
}

@media (max-width: 860px) {
    .pcis-search-shell {
        grid-template-columns: 1fr;
    }
}

.pcis-route-stage.route-stage {
    height: 220px;
}

.pcis-route-stage.route-stage .route-node-start {
    left: 7.8%;
    top: 53.8%;
}

.pcis-route-stage.route-stage .route-node-end {
    right: 7.8%;
    top: 53.8%;
}

.pcis-route-stage.route-stage .route-node-flag {
    width: 48px;
    height: 48px;
    font-size: 2rem;
    line-height: 1;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    display: grid;
    place-items: center;
}

.pcis-route-stage.route-stage .route-node-label {
    top: -48px;
    min-width: 108px;
}

.pcis-route-stage.route-stage .route-track-dash {
    stroke-dasharray: none;
}

.pcis-mobile-route {
    display: none;
}

.pcis-route-stage.route-stage {
    height: 300px;
}

.pcis-route-stage.route-stage .route-node-start,
.pcis-route-stage.route-stage .route-node-end {
    top: 47%;
}

.pcis-route-stage.route-stage .route-level-marker {
    width: 132px;
    height: 92px;
    z-index: 4;
}

.pcis-route-stage.route-stage .route-level-marker-icon {
    top: 35px;
    width: 18px;
    height: 18px;
}

.pcis-route-stage.route-stage .route-level-marker-label {
    min-width: 0;
    width: max-content;
    max-width: 132px;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
    padding: 7px 10px;
    font-size: 0.72rem;
    font-weight: 800;
}

.pcis-route-stage.route-stage .route-level-marker-1 .route-level-marker-label,
.pcis-route-stage.route-stage .route-level-marker-3 .route-level-marker-label {
    top: -54px;
}

.pcis-route-stage.route-stage .route-level-marker-2 .route-level-marker-label,
.pcis-route-stage.route-stage .route-level-marker-4 .route-level-marker-label {
    top: 56px;
}

.pcis-route-stage.route-stage .route-pause-callout {
    right: 24px;
    bottom: 20px;
    max-width: 300px;
}

@media (max-width: 760px) {
    .pcis-route-section .route-legend,
    .pcis-route-stage.route-stage,
    .pcis-case-steps-inline {
        display: none;
    }

    .pcis-mobile-route {
        display: grid;
        gap: 0;
        margin-top: 16px;
        padding: 8px 0;
    }

    .pcis-mobile-route-node {
        position: relative;
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
        align-items: start;
        padding: 0 0 22px;
    }

    .pcis-mobile-route-node:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 21px;
        top: 44px;
        bottom: 0;
        width: 3px;
        border-radius: 999px;
        background: #dbeafe;
    }

    .pcis-mobile-route-step,
    .pcis-mobile-route-flag {
        position: relative;
        z-index: 1;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, 0.12);
        box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
        font-weight: 900;
        color: var(--secondary);
    }

    .pcis-mobile-route-flag {
        font-size: 1.55rem;
    }

    .pcis-mobile-route-node strong {
        display: block;
        color: #0f172a;
        line-height: 1.2;
        margin-top: 3px;
    }

    .pcis-mobile-route-node small {
        display: block;
        color: #64748b;
        line-height: 1.35;
        margin-top: 4px;
    }

    .pcis-mobile-route-node.is-complete .pcis-mobile-route-step {
        background: #10b981;
        color: #ffffff;
        border-color: #10b981;
    }

    .pcis-mobile-route-node.is-current .pcis-mobile-route-step {
        background: #2563eb;
        color: #ffffff;
        border-color: #2563eb;
        box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.12);
    }

    .pcis-mobile-route-node.is-blocked .pcis-mobile-route-step {
        background: #dc2626;
        color: #ffffff;
        border-color: #dc2626;
        box-shadow: 0 0 0 8px rgba(220, 38, 38, 0.12);
    }
}

.pcis-mobile-route {
    display: none;
}

.pcis-route-stage.route-stage {
    height: 300px;
    padding-inline: 10px;
}

.pcis-route-stage.route-stage .route-node-start,
.pcis-route-stage.route-stage .route-node-end {
    top: 47%;
}

.pcis-route-stage.route-stage .route-node-label {
    top: -54px;
    font-size: 0.82rem;
    font-weight: 800;
}

.pcis-route-stage.route-stage .route-level-marker {
    width: 132px;
    height: 92px;
    z-index: 4;
}

.pcis-route-stage.route-stage .route-level-marker-icon {
    top: 35px;
    width: 18px;
    height: 18px;
}

.pcis-route-stage.route-stage .route-level-marker-label {
    min-width: 0;
    width: max-content;
    max-width: 132px;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
    padding: 7px 10px;
    font-size: 0.72rem;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.pcis-route-stage.route-stage .route-level-marker-label small {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-weight: 700;
}

.pcis-route-stage.route-stage .route-level-marker-1 .route-level-marker-label,
.pcis-route-stage.route-stage .route-level-marker-3 .route-level-marker-label {
    top: -54px;
}

.pcis-route-stage.route-stage .route-level-marker-2 .route-level-marker-label,
.pcis-route-stage.route-stage .route-level-marker-4 .route-level-marker-label {
    top: 56px;
}

.pcis-route-stage.route-stage .route-pause-callout {
    right: 24px;
    bottom: 20px;
    max-width: 300px;
}

@media (max-width: 760px) {
    .pcis-route-section .route-legend,
    .pcis-route-stage.route-stage,
    .pcis-case-steps-inline {
        display: none;
    }

    .pcis-mobile-route {
        display: grid;
        gap: 0;
        margin-top: 16px;
        padding: 8px 0;
    }

    .pcis-mobile-route-node {
        position: relative;
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
        align-items: start;
        padding: 0 0 22px;
    }

    .pcis-mobile-route-node:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 21px;
        top: 44px;
        bottom: 0;
        width: 3px;
        border-radius: 999px;
        background: #dbeafe;
    }

    .pcis-mobile-route-step,
    .pcis-mobile-route-flag {
        position: relative;
        z-index: 1;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, 0.12);
        box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
        font-weight: 900;
        color: var(--secondary);
    }

    .pcis-mobile-route-flag {
        font-size: 1.55rem;
    }

    .pcis-mobile-route-node strong {
        display: block;
        color: #0f172a;
        line-height: 1.2;
        margin-top: 3px;
    }

    .pcis-mobile-route-node small {
        display: block;
        color: #64748b;
        line-height: 1.35;
        margin-top: 4px;
    }

    .pcis-mobile-route-node.is-complete .pcis-mobile-route-step {
        background: #10b981;
        color: #ffffff;
        border-color: #10b981;
    }

    .pcis-mobile-route-node.is-current .pcis-mobile-route-step {
        background: #2563eb;
        color: #ffffff;
        border-color: #2563eb;
        box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.12);
    }

    .pcis-mobile-route-node.is-blocked .pcis-mobile-route-step {
        background: #dc2626;
        color: #ffffff;
        border-color: #dc2626;
        box-shadow: 0 0 0 8px rgba(220, 38, 38, 0.12);
    }
}

* { box-sizing: border-box; }
html, body {
    margin: 0;
    padding: 0;
    font-family: Inter, system-ui, sans-serif;
    color: var(--primary);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96) 0 92px, rgba(246,248,252,0.98) 92px calc(100% - 120px), rgba(255,255,255,0.96) calc(100% - 120px) 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.public-shell h1,
.public-shell h2,
.public-shell h3,
.public-shell h4,
.public-shell h5,
.public-shell h6 {
    margin-top: 0;
    font-family: var(--title-font);
    color: var(--primary);
    font-weight: 800;
    letter-spacing: -0.04em;
}
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 10020;
    backdrop-filter: blur(16px);
    background: rgba(255,255,255,0.88);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.site-header input[type="checkbox"] {
    display: none !important;
}
.site-header-shell {
    position: relative;
}
.site-header-shell::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
}
.site-footer {
    margin-top: 44px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 18%),
        radial-gradient(circle at top right, rgba(245, 180, 0, 0.08), transparent 16%),
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,249,252,0.98));
    position: relative;
    overflow: visible;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), rgba(124, 58, 237, 0.28) 40%, var(--accent));
}
.header-bar, .footer-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.95fr) auto;
    align-items: center;
    gap: 24px;
    padding: 20px 0;
}
.footer-shell {
    position: relative;
    z-index: 1;
    padding: 34px 0 24px;
    align-items: start;
}
.brand {
    display:flex;
    align-items:center;
    gap: 12px;
    font-weight: 700;
}
.brand-mark { width: 42px; height: 42px; border-radius: 14px; display:grid; place-items:center; background: linear-gradient(135deg, var(--secondary), var(--accent)); color: white; overflow: hidden; flex: 0 0 auto; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; padding: 4px; background: #ffffff; }
.brand-mark-logo {
    width: 78px;
    height: 58px;
    min-width: 78px;
    max-width: 78px;
    padding: 3px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}
.brand-mark-logo img {
    width: 100%;
    max-width: none;
    height: 100%;
    padding: 0;
    background: transparent;
    object-fit: contain;
    object-position: center;
}
.brand-copy { display:grid; gap: 2px; }
.brand-subtitle { font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.header-nav, .lang-switcher { display:flex; align-items:center; gap: 10px; flex-wrap: wrap; }
.header-nav a, .lang-switcher a, .footer-lang-list a {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    color: var(--primary);
    background: rgba(255,255,255,0.62);
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.header-nav a:hover, .lang-switcher a:hover, .footer-lang-list a:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(255,255,255,0.92);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}
.header-nav a.active, .lang-switcher a.active, .footer-lang-list a.active {
    font-weight: 700;
}
.header-nav-admin {
    background: linear-gradient(135deg, var(--secondary), var(--primary)) !important;
    color: white !important;
    box-shadow: var(--shadow);
}
.lang-switcher a.active { font-weight: 700; text-decoration: underline; }

.header-mobile-toggle {
    display: none;
    justify-self: end;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    padding: 0;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.header-mobile-actions {
    display: none;
    align-items: center;
    gap: 8px;
    justify-self: end;
}

.header-mobile-lang-button {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.88);
    cursor: pointer;
    color: #0f172a;
}

.header-mobile-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
}

.header-mobile-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.header-mobile-lines {
    display: grid;
    gap: 4px;
}

.header-mobile-lines span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #0f172a;
}

.header-mobile-panel {
    display: none;
    padding: 0 0 16px;
}

.header-mobile-drawer {
    display: none;
}

.header-mobile-nav {
    display: grid;
    gap: 10px;
    padding: 12px 0 14px;
}

.header-mobile-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.header-mobile-lang {
    display: grid;
    gap: 10px;
    padding: 8px 0 4px;
}

.header-mobile-lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.9);
    color: #0f172a;
    font-weight: 700;
    cursor: pointer;
}

.header-mobile-lang-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.header-mobile-lang-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    color: #0f172a;
    font-weight: 700;
}

.header-mobile-lang-list a.active {
    text-decoration: underline;
}

.header-mobile-lang-popover {
    display: block;
    position: fixed;
    top: 70px;
    right: 12px;
    width: min(72vw, 220px);
    z-index: 10030;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease;
}

.mobile-lang-open .header-mobile-lang-popover {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

.mobile-drawer-open .header-mobile-drawer {
    transform: translateY(0);
    opacity: 1;
}

.header-mobile-lang-popover-inner {
    padding: 10px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.18);
}

.header-mobile-lang-popover .header-mobile-lang-list {
    justify-content: flex-start;
}

.header-mobile-lang-popover .header-mobile-lang-list a {
    min-width: 48px;
    min-height: 40px;
    padding: 8px 12px;
}
.hero { padding: 68px 0 24px; }
.hero-grid { display:grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: center; }
.eyebrow { display:inline-flex; padding: 8px 12px; border-radius: 999px; background: rgba(37,99,235,0.1); color: var(--secondary); font-size: 0.85rem; font-weight: 600; }
.hero-copy h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 0.98; margin: 18px 0; }
.hero-copy p { max-width: 56ch; color: var(--muted); font-size: 1.05rem; }
.tracking-form { margin-top: 24px; }
.tracking-form label { display:block; margin-bottom: 10px; font-weight: 600; }
.tracking-input-row { display:flex; gap: 12px; flex-wrap: wrap; }
.tracking-input-row input, .form-grid input, .form-grid select, .form-grid textarea, .auth-card input { width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 16px; background: rgba(255,255,255,0.92); }
.tracking-input-row input { flex: 1 1 280px; }
.button-primary { display:inline-flex; align-items:center; justify-content:center; border: 0; border-radius: 16px; padding: 14px 18px; background: linear-gradient(135deg, var(--secondary), var(--primary)); color: white; font-weight: 700; cursor: pointer; box-shadow: var(--shadow); }
.hero-panel { display:grid; place-items:center; }
.hero-card { width: 100%; min-height: 300px; border-radius: 32px; padding: 28px; background: radial-gradient(circle at top left, rgba(37,99,235,.22), transparent 35%), linear-gradient(180deg, #0f172a, #1e293b); color: white; box-shadow: var(--shadow); }
.hero-card-label { text-transform: uppercase; letter-spacing: .12em; opacity: .78; }
.hero-card-value { font-size: clamp(4rem, 10vw, 6rem); font-weight: 800; margin: 24px 0; }
.feature-strip, .stats-section { padding: 26px 0 48px; }
.feature-grid, .stats-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card, .stat-box, .panel, .tracking-summary, .empty-state, .auth-card { background: rgba(255,255,255,0.88); border: 1px solid var(--border); border-radius: 28px; box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06); }
.feature-card { padding: 22px; }
.stats-grid { grid-template-columns: repeat(3, 1fr); }
.stat-box { padding: 24px; text-align:center; }
.stat-box strong { display:block; font-size: 2.2rem; }
.tracking-page { padding: 40px 0 64px; }
.tracking-summary {
    padding: clamp(20px, 2.6vw, 32px);
    border-radius: 34px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.96));
    position: relative;
    overflow: hidden;
}
.tracking-summary::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
}
.tracking-summary > * {
    position: relative;
    z-index: 1;
}
.tracking-header {
    display:flex;
    justify-content:space-between;
    gap: 18px;
    align-items:center;
    margin-bottom: 12px;
}
.status-badge { padding: 8px 12px; border-radius: 999px; background: var(--status-bg, rgba(15,23,42,.08)); color: var(--status-color, #475569); border: 1px solid var(--status-border, rgba(15,23,42,.10)); text-transform: capitalize; }
.tracking-meta-grid {
    display:grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0 20px;
}
.tracking-meta-grid div, .pause-list li, .timeline-item {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(248,250,252,.92);
    border: 1px solid rgba(15, 23, 42, 0.04);
}
.tracking-section {
    margin-top: 22px;
    padding: 18px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,250,252,0.98));
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
    position: relative;
    overflow: hidden;
}
.tracking-section::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, rgba(37,99,235,.85), rgba(245,158,11,.7));
    opacity: .9;
}
.tracking-section::after {
    content: '';
    position: absolute;
    inset: auto -20% -45% auto;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.08), rgba(245,158,11,0.03) 42%, transparent 70%);
    pointer-events: none;
}
.tracking-section > * {
    position: relative;
    z-index: 1;
}
.tracking-section-head {
    display:flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}
.tracking-section-head-inline {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}
.tracking-section-kicker {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary);
}
.tracking-section h2 {
    margin: 0;
    font-size: 1.22rem;
    line-height: 1.2;
}
.tracking-lower-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}
.tracking-section-route {
    background:
        radial-gradient(circle at top right, rgba(245,158,11,0.08), transparent 24%),
        radial-gradient(circle at top left, rgba(37,99,235,0.08), transparent 22%),
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.98));
}
.tracking-section-route::after {
    inset: auto -10% -30% auto;
    width: 280px;
    height: 280px;
}
.tracking-section-history {
    background:
        radial-gradient(circle at top left, rgba(37,99,235,0.08), transparent 22%),
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.98));
}
.tracking-section-pause {
    background:
        radial-gradient(circle at top right, rgba(239,68,68,0.10), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.98));
}
.tracking-section-history::after {
    background: radial-gradient(circle, rgba(37,99,235,0.06), rgba(37,99,235,0.02) 40%, transparent 72%);
}
.tracking-section-pause::after {
    background: radial-gradient(circle, rgba(239,68,68,0.07), rgba(239,68,68,0.02) 45%, transparent 75%);
}
.tracking-section-pause .pause-list,
.tracking-section-history .timeline {
    margin-top: 0;
}
.tracking-section-pause .pause-list {
    gap: 12px;
}
.tracking-section-route .route-legend {
    margin-top: 2px;
}
.tracking-status-message {
    margin: 18px 0 6px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(37, 99, 235, 0.16);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(245, 158, 11, 0.06));
}
.tracking-status-message strong {
    display: inline-flex;
    margin-bottom: 4px;
    text-transform: capitalize;
}
.tracking-status-message p,
.tracking-status-message div {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}
.tracking-status-message.tracking-status-pause,
.tracking-status-message.tracking-status-blocked,
.tracking-status-message.tracking-status-customs,
.tracking-status-message.tracking-status-cancelled {
    border-color: rgba(239, 68, 68, 0.18);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(245, 158, 11, 0.04));
}
.tracking-meta-grid span { display:block; color: var(--muted); font-size: .92rem; }
.route-visual { padding: 22px 0; }
.route-labels {
    display:flex;
    justify-content:space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--muted);
}
.route-legend {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin: 16px 0 10px;
}
.route-legend-title {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}
.route-legend-items {
    display: flex;
    align-items: center;
    gap: 10px 14px;
    flex-wrap: wrap;
    font-size: 0.84rem;
    color: var(--muted);
}
.route-legend-items span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.route-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
}
.route-legend-dot-transit { background: var(--secondary); }
.route-legend-dot-pause { background: #ef4444; }
.route-legend-dot-blocked { background: #f59e0b; }
.route-legend-dot-customs { background: #dc2626; }
.route-legend-dot-delivered { background: #10b981; }
.route-legend-dot-cancelled { background: #64748b; }
.route-stage { position: relative; height: 260px; margin: 18px 0 8px; border-radius: 28px; background:
    radial-gradient(circle at 20% 20%, rgba(37,99,235,.08), transparent 22%),
    radial-gradient(circle at 80% 35%, rgba(245,158,11,.08), transparent 20%),
    linear-gradient(180deg, rgba(15,23,42,.015), rgba(15,23,42,.03)); overflow: hidden; border: 1px solid rgba(15, 23, 42, 0.10); }
.route-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at var(--marker-x, 50%) var(--marker-y, 50%), rgba(255,255,255,0.92), rgba(255,255,255,0.36) 12%, transparent 30%),
        radial-gradient(circle at var(--marker-x, 50%) var(--marker-y, 50%), rgba(37,99,235,0.16), rgba(37,99,235,0.06) 24%, transparent 36%);
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: .95;
}
.route-stage-svg { width: 100%; height: 100%; display: block; }
.route-track-line {
    fill: none;
    stroke: rgba(15, 23, 42, 0.08);
    stroke-width: 16;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.route-track-dash {
    fill: none;
    stroke: url(#routeGradient);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 16 18;
    opacity: .95;
}
.route-node {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: white;
    border: 4px solid var(--secondary);
    box-shadow: 0 0 0 10px rgba(37,99,235,.10);
}
.route-node-start { left: 2.5%; top: 72%; }
.route-node-end { right: 2.5%; top: 34%; border-color: var(--accent); box-shadow: 0 0 0 10px rgba(245,158,11,.10); }
.route-node-pin {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 34px;
    height: 34px;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,249,252,0.96));
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow:
        0 12px 26px rgba(15, 23, 42, 0.14),
        0 0 0 8px rgba(37, 99, 235, 0.08);
    z-index: 2;
}
.route-node-end .route-node-pin {
    box-shadow:
        0 12px 26px rgba(15, 23, 42, 0.14),
        0 0 0 8px rgba(245, 158, 11, 0.10);
}
.route-node-pin svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: var(--secondary);
}
.route-node-end .route-node-pin svg {
    fill: var(--accent);
}
.route-node-pin circle {
    fill: white;
}
.route-node-label {
    position: absolute;
    left: 50%;
    top: -34px;
    transform: translateX(-50%);
    display: inline-flex;
    white-space: nowrap;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    border: 1px solid var(--border);
    font-size: .88rem;
    font-weight: 600;
    color: var(--primary);
}
.route-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: calc(var(--route-marker-disc-size) + 18px);
    height: calc(var(--route-marker-disc-size) + 18px);
    display: grid;
    place-items: center;
    transition: transform .2s linear;
    will-change: transform;
    z-index: 5;
    filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.14));
    --marker-angle: -12deg;
}
.route-marker-trail {
    position: absolute;
    left: -34px;
    top: 50%;
    width: 44px;
    height: 18px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    opacity: 0;
}
.route-marker-trail span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(37,99,235,.18);
    filter: blur(.3px);
}
.route-marker-trail span:nth-child(2) { width: 8px; height: 8px; opacity: .8; }
.route-marker-trail span:nth-child(3) { width: 6px; height: 6px; opacity: .55; }
.route-marker-icon {
    width: var(--route-marker-disc-size);
    height: var(--route-marker-disc-size);
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.92));
    border: 1px solid rgba(37,99,235,.14);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.16);
    position: relative;
    transform: rotate(var(--marker-angle));
    transform-origin: 50% 50%;
    color: var(--primary);
}
.transport-icon,
.route-pause-icon-svg {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}
.transport-icon svg {
    width: var(--route-icon-size);
    height: var(--route-icon-size);
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.route-pause-icon-svg svg {
    width: 14px;
    height: 14px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.transport-icon-avion { color: var(--secondary); }
.transport-icon-camion { color: #1d4ed8; }
.transport-icon-bateau { color: #0f766e; }
.transport-icon-train { color: #7c3aed; }
.transport-icon-moto { color: #ea580c; }
.transport-icon-colis { color: #334155; }
.route-pause-icon-svg { color: white; }
.route-pause-icon-svg-blocked { color: white; }
.route-pause-icon-svg-customs { color: white; }
.route-pause-icon-svg-cancelled { color: white; }
.route-marker-icon::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(37,99,235,.18), transparent 66%);
    opacity: 0;
    transform: scale(.8);
    transition: opacity .25s ease, transform .25s ease;
}
.route-marker.is-moving .route-marker-icon::before {
    opacity: 1;
    transform: scale(1);
}
.route-marker.is-moving .route-marker-icon {
    animation: marker-float 1.05s ease-in-out infinite;
}
.route-marker.is-moving .route-marker-trail {
    opacity: 1;
    animation: trail-drift .7s ease-in-out infinite;
}
.route-marker.is-paused .route-marker-icon {
    border-color: rgba(239, 68, 68, 0.45);
    box-shadow: 0 18px 34px rgba(239, 68, 68, 0.18);
}
.route-marker.is-paused .route-marker-icon::before {
    background: radial-gradient(circle, rgba(239, 68, 68, 0.38), transparent 65%);
    opacity: 1;
    transform: scale(1);
}
.route-marker.is-paused .route-marker-trail {
    opacity: 0;
}
.route-marker.is-plane .route-marker-icon {
    background: linear-gradient(180deg, #ffffff, #eef4ff);
    border-color: rgba(37,99,235,.30);
}
.route-marker.is-plane .route-marker-icon::after {
    content: '';
    position: absolute;
    inset: auto -22px 14px -22px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(37,99,235,.26), rgba(245,158,11,.18), transparent);
    filter: blur(3px);
}
.route-marker.is-plane.is-moving .route-marker-icon {
    animation: marker-float .95s ease-in-out infinite, plane-swing 1.2s ease-in-out infinite;
}
.route-marker.is-moving .route-marker-icon::after {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(245,158,11,.10), transparent 70%);
    filter: blur(5px);
}
.route-stage::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 40%, rgba(37,99,235,.05), transparent 10%),
        radial-gradient(circle at 54% 60%, rgba(245,158,11,.04), transparent 12%),
        radial-gradient(circle at 82% 30%, rgba(37,99,235,.05), transparent 10%);
    pointer-events: none;
    mix-blend-mode: multiply;
}
.route-stage {
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.85),
        0 14px 30px rgba(15, 23, 42, 0.06);
}
.route-marker-icon {
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(255,255,255,0.72) inset;
}
.route-marker-icon::before {
    background: radial-gradient(circle, rgba(255,255,255,0.26), transparent 58%);
}
.route-marker.is-moving .route-marker-icon {
    animation: marker-float 1.15s ease-in-out infinite, marker-breathe 2.2s ease-in-out infinite;
}
.route-marker-trail span {
    background: rgba(37,99,235,.22);
}

.route-pause-point {
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #ef4444;
    border: 3px solid #fff;
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.16), 0 10px 24px rgba(239, 68, 68, 0.24);
    display: none;
    z-index: 3;
}

.route-pause-icon {
    position: relative;
    z-index: 1;
    font-size: 0.72rem;
    color: white;
    font-weight: 800;
    line-height: 1;
}

.route-pause-icon svg {
    width: 12px;
    height: 12px;
    display: block;
    fill: currentColor;
}

.route-pause-point.is-visible {
    display: block;
}

.route-pause-point.is-blocked {
    background: #f59e0b;
    box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.16), 0 10px 24px rgba(245, 158, 11, 0.24);
}

.route-pause-point.is-customs {
    background: #dc2626;
    box-shadow: 0 0 0 8px rgba(220, 38, 38, 0.16), 0 10px 24px rgba(220, 38, 38, 0.24);
}

.route-pause-point.is-cancelled {
    background: #64748b;
    box-shadow: 0 0 0 8px rgba(100, 116, 139, 0.16), 0 10px 24px rgba(100, 116, 139, 0.24);
}

.route-pause-point::after {
    content: '';
    position: absolute;
    inset: -14px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.26), transparent 68%);
    animation: pause-pulse 1.5s ease-in-out infinite;
}

.route-pause-callout {
    position: absolute;
    right: 18px;
    bottom: 18px;
    max-width: 280px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(239, 68, 68, 0.18);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.10);
    z-index: 4;
}

.route-pause-callout strong {
    display: block;
    color: #b91c1c;
    margin-bottom: 4px;
}

.route-pause-callout strong[data-route-pause-title] {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.82rem;
}

.route-pause-callout span {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.45;
}

.route-level-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 34px;
    height: 34px;
    color: #111827;
    pointer-events: none;
    z-index: 4;
    transform-origin: center center;
    filter: drop-shadow(0 8px 14px rgba(15, 23, 42, 0.14));
}

.route-level-marker-dot {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    border: 2px solid rgba(15, 110, 115, 0.85);
    color: #0f6e73;
    font-size: 0.78rem;
    font-weight: 900;
    box-shadow: 0 0 0 5px rgba(15, 110, 115, 0.10);
}

.route-level-marker[data-route-level-status="approved"] .route-level-marker-dot {
    border-color: var(--accent);
    color: #8a5a00;
    box-shadow: 0 0 0 5px rgba(244, 180, 0, 0.14);
}

.route-level-marker[data-route-level-status="current"] .route-level-marker-dot {
    background: #0f6e73;
    color: #fff;
}

.route-level-marker[data-route-level-status="blocked"] .route-level-marker-dot {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
    box-shadow: 0 0 0 6px rgba(220, 38, 38, 0.16);
}

.pcis-current-step-panel {
    display: grid;
    gap: 6px;
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.10);
}

.pcis-current-step-panel span {
    width: max-content;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(15, 110, 115, 0.10);
    color: #0f6e73;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pcis-current-step-panel strong {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 500;
}

.pcis-current-step-panel p,
.pcis-current-step-panel div {
    margin: 0;
    color: #334155;
    line-height: 1.55;
    font-weight: 400;
}

.pcis-current-step-blocked {
    background: rgba(254, 242, 242, 0.92);
    border-color: rgba(220, 38, 38, 0.20);
}

.pcis-current-step-blocked span {
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
}

.pause-active-banner {
    margin: 0 0 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(239, 68, 68, 0.10);
    border: 1px solid rgba(239, 68, 68, 0.18);
}

.pause-active-banner strong {
    display: block;
    color: #b91c1c;
    margin-bottom: 4px;
}

.pause-active-banner span {
    color: #7f1d1d;
}
.pause-section {
    margin-top: 6px;
}
.timeline { display:grid; gap: 14px; margin-top: 12px; position: relative; }
.timeline-day-group {
    display: grid;
    gap: 12px;
    padding-left: 6px;
}
.timeline-day-header {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 10px;
    padding: 0 2px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.timeline-day-group {
    position: relative;
}
.timeline-day-group::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 28px;
    bottom: 10px;
    width: 1px;
    background: linear-gradient(180deg, rgba(37,99,235,.18), rgba(37,99,235,0));
}
.timeline-day-header small {
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}
.timeline-item {
    display:grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 12px;
    align-items:flex-start;
    position: relative;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 22px;
    bottom: -12px;
    width: 2px;
    background: linear-gradient(180deg, rgba(37,99,235,.18), rgba(37,99,235,0));
}
.timeline-item:last-child::before {
    display: none;
}
.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    margin-top: 6px;
    background: var(--secondary);
    box-shadow: 0 0 0 6px rgba(37,99,235,.12);
    flex: 0 0 auto;
    z-index: 1;
}
.timeline-card-content {
    display: grid;
    gap: 6px;
}
.timeline-item-head {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.timeline-item p {
    margin: 4px 0 0;
    color: var(--muted);
    line-height: 1.5;
}
.timeline-meta {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    font-size: 0.84rem;
    color: var(--muted);
}
.timeline-meta span + span::before {
    content: '•';
    margin-right: 8px;
    color: rgba(100, 116, 139, 0.7);
}
.timeline-badge-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid transparent;
    white-space: nowrap;
}
.timeline-badge-status-generic {
    background: rgba(15, 23, 42, 0.06);
    color: var(--primary);
    border-color: rgba(15, 23, 42, 0.08);
}
.timeline-badge-status-created,
.timeline-badge-status-preparation,
.timeline-badge-status-in_transit {
    background: rgba(37, 99, 235, 0.10);
    color: var(--secondary);
    border-color: rgba(37, 99, 235, 0.14);
}
.timeline-badge-status-pause,
.timeline-badge-status-blocked,
.timeline-badge-status-customs,
.timeline-badge-status-cancelled {
    background: rgba(239, 68, 68, 0.10);
    color: #b91c1c;
    border-color: rgba(239, 68, 68, 0.16);
}
.timeline-badge-status-delivered {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    border-color: rgba(16, 185, 129, 0.18);
}
.tracking-section-history .timeline-item,
.tracking-section-pause .pause-list li {
    backdrop-filter: blur(8px);
}
.pause-list { list-style:none; padding:0; margin:0; display:grid; gap: 10px; }
.pause-list li span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.88rem;
}
.section-empty-state {
    margin: 0;
    color: var(--muted);
    font-style: italic;
}
.footer-brand-block { display:grid; gap: 14px; }
.brand-footer { margin-bottom: 2px; }
.footer-brand-block p {
    max-width: 42ch;
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.7;
}
.footer-links-block {
    display:grid;
    gap: 12px;
    align-content: start;
    padding: 20px 22px;
    border-radius: 24px;
    background: rgba(255,255,255,0.66);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.04);
    backdrop-filter: blur(10px);
}
.footer-links-block h4 {
    margin: 0;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #0f6e73;
}
.footer-links-block p,
.footer-brand-block p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}
.footer-lang-list {
    display:flex;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(10px);
}
.footer-bottom-inner {
    display:flex;
    justify-content:space-between;
    gap: 12px;
    padding: 16px 0 18px;
    color: #64748b;
    font-size: 0.88rem;
    flex-wrap: wrap;
}
.empty-state { padding: 34px; text-align:center; }
.admin-shell { display:grid; grid-template-columns: 280px 1fr; min-height: 100vh; background: #0b1120; color: #e5e7eb; }
.admin-sidebar { padding: 24px; background: linear-gradient(180deg, #111827, #0f172a); }
.admin-sidebar nav { display:grid; gap: 10px; margin-top: 24px; }
.admin-sidebar a { padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,0.04); }
.admin-main { background: #f8fafc; color: #0f172a; }
.admin-topbar { display:flex; justify-content:space-between; gap: 12px; padding: 20px 24px; background: white; border-bottom: 1px solid var(--border); }
.admin-content { padding: 24px; }
.admin-cards { display:grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 22px; }
.admin-card { padding: 22px; border-radius: 22px; background: white; border: 1px solid var(--border); }
.admin-card strong { display:block; font-size: 2rem; margin-top: 10px; }
.panel { padding: 22px; }
.panel-head { display:flex; justify-content:space-between; align-items:center; gap: 12px; margin-bottom: 16px; }
.table { width:100%; border-collapse: collapse; }
.table th, .table td { padding: 12px; border-bottom: 1px solid var(--border); text-align:left; vertical-align: top; }
.actions { display:flex; gap: 8px; flex-wrap: wrap; }
.form-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-grid label { display:grid; gap: 8px; font-weight: 600; }
.form-grid textarea { min-height: 110px; resize: vertical; }
.settings-toggle-field {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: white;
}
.settings-toggle-field span {
    display: grid;
    gap: 4px;
}
.settings-toggle-field strong {
    font-size: 0.96rem;
}
.settings-toggle-field small {
    color: var(--muted);
    font-weight: 400;
    line-height: 1.4;
}
.settings-toggle-field input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    flex: 0 0 auto;
}
.settings-callout-inline {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.smtp-test-form {
    margin-top: 12px;
}
.auth-card { max-width: 420px; margin: 56px auto; padding: 26px; }
.auth-card form { display:grid; gap: 12px; }
.alert { padding: 12px 14px; border-radius: 14px; margin-bottom: 14px; }
.alert-error { background: #fee2e2; color: #991b1b; }

@media (max-width: 980px) {
    .hero-grid, .feature-grid, .tracking-meta-grid, .admin-shell, .form-grid, .admin-cards, .stats-grid { grid-template-columns: 1fr; }
    .admin-shell { display:block; }
    .admin-sidebar { position: sticky; top: 0; z-index: 10; }
    .header-bar, .footer-shell, .tracking-header, .panel-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .tracking-lower-grid {
        grid-template-columns: 1fr;
    }
    .tracking-meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .route-stage { height: 220px; }
    .route-node-start { left: 3%; top: 74%; }
    .route-node-end { right: 3%; top: 28%; }
    .route-legend {
        align-items: flex-start;
        flex-direction: column;
    }
    .route-legend-items {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
    }
    .route-legend-items span { white-space: nowrap; }
    .route-level-marker {
        width: 122px;
        height: 50px;
    }
    .route-level-marker-label {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    .route-level-marker-icon {
        width: 18px;
        height: 18px;
    }
    .tracking-section-head-inline {
        flex-direction: column;
        align-items: flex-start;
    }
    .tracking-section {
        padding: 16px;
        border-radius: 24px;
    }
    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 720px) {
    .tracking-page { padding: 22px 0 44px; }
    .tracking-summary { padding: 16px; border-radius: 24px; }
    .header-bar, .footer-shell { padding: 14px 0; }
    .header-bar {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: 10px;
    }
    .brand {
        align-self: flex-start;
        min-width: 0;
    }
    .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
    .brand-mark-logo {
        width: 64px;
        height: 48px;
        min-width: 64px;
        max-width: 64px;
        border-radius: 8px;
    }
    .brand-text { font-size: 0.95rem; }
    .brand-subtitle { font-size: 0.76rem; }
    .tracking-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 10px;
    }
    .tracking-header h1 {
        font-size: 1.35rem;
        line-height: 1.05;
        word-break: break-word;
    }
    .status-badge {
        align-self: flex-start;
        font-size: 0.78rem;
        padding: 7px 11px;
    }
    .tracking-status-message {
        margin-top: 14px;
        padding: 14px;
        border-radius: 16px;
    }
    .tracking-section-head {
        margin-bottom: 12px;
    }
    .tracking-section h2 {
        font-size: 1rem;
    }
    .tracking-section-kicker {
        font-size: 0.7rem;
    }
    .tracking-meta-grid {
        margin: 14px 0 12px;
    }
    .tracking-meta-grid div {
        padding: 11px 12px;
    }
    .tracking-meta-grid span {
        font-size: 0.78rem;
    }
    .tracking-meta-grid strong {
        font-size: 0.92rem;
        line-height: 1.3;
    }
    .tracking-lower-grid {
        gap: 12px;
        margin-top: 14px;
    }
    .tracking-section {
        margin-top: 14px;
        padding: 12px;
        border-radius: 18px;
    }
    .tracking-section-route {
        padding-bottom: 14px;
    }
    .tracking-section-head-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .route-labels {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        font-size: 0.82rem;
    }
    .route-legend {
        margin: 10px 0 8px;
    }
    .route-legend-title {
        font-size: 0.74rem;
    }
    .route-legend-items {
        gap: 8px 10px;
        font-size: 0.76rem;
    }
    .route-stage {
        height: 268px;
        border-radius: 22px;
        margin-top: 14px;
    }
    .route-node-start { left: 5%; top: 82%; }
    .route-node-end { right: 5%; top: 28%; }
    .route-node-label {
        font-size: 0.7rem;
        top: -24px;
    }
    .route-node-pin {
        width: 32px;
        height: 32px;
    }
    .route-node-pin svg {
        width: 17px;
        height: 17px;
    }
    .route-marker {
        width: 58px;
        height: 58px;
    }
    .route-marker-icon {
        width: 42px;
        height: 42px;
    }
    .route-marker-trail {
        left: -32px;
        width: 44px;
        transform: translateY(-50%);
    }
    .route-level-marker {
        width: 104px;
        height: 42px;
    }
    .route-level-marker-label {
        font-size: 0.66rem;
        padding: 3px 7px;
    }
    .route-level-marker-icon {
        width: 16px;
        height: 16px;
    }
    .route-pause-callout {
        left: 10px;
        right: 10px;
        bottom: 10px;
        border-radius: 14px;
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    .timeline-day-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }
    .timeline-item {
        gap: 10px;
        padding: 11px 12px;
    }
    .timeline-item-head {
        gap: 8px;
    }
    .timeline-item-head strong {
        font-size: 0.9rem;
    }
    .timeline-meta {
        gap: 6px;
        flex-direction: column;
        align-items: flex-start;
    }
    .pause-list li {
        padding: 11px 12px;
    }
    .header-mobile-actions {
        display: flex;
        margin-left: auto;
    }
    .header-mobile-toggle {
        display: inline-flex;
        gap: 8px;
        width: auto;
        height: auto;
        min-height: 38px;
        padding: 6px 12px;
        border-radius: 12px;
    }
    .header-mobile-lang-button {
        display: inline-flex;
    }
    .header-mobile-label {
        display: inline-flex;
        align-items: center;
        font-size: 0.95rem;
        font-weight: 500;
        color: #0f172a;
    }
    .header-nav,
    .lang-switcher {
        display: none;
    }
    .header-mobile-drawer {
        display: block;
        position: fixed;
        top: 70px;
        left: 12px;
        right: 12px;
        width: auto;
        bottom: auto;
        background: #fff;
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 18px;
        box-shadow: 0 24px 42px rgba(15, 23, 42, 0.18);
        transform: translateY(-10px);
        opacity: 0;
        transition: transform .22s ease, opacity .18s ease;
        z-index: 10010;
        overflow-y: auto;
        pointer-events: none;
    }

    .mobile-drawer-open .header-mobile-drawer {
        pointer-events: auto;
    }
    .header-mobile-drawer-inner {
        padding: 18px 18px 22px;
    }
    .header-mobile-nav {
        padding-top: 0;
        gap: 0;
    }
    .header-mobile-nav a {
        padding: 18px 0 14px;
        font-size: 1.03rem;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    }
    .footer-shell { gap: 18px; }
    .tracking-meta-grid { grid-template-columns: 1fr; gap: 10px; margin: 18px 0 16px; }
    .tracking-lower-grid {
        gap: 14px;
        margin-top: 18px;
    }
    .tracking-section {
        margin-top: 16px;
        padding: 14px;
        border-radius: 20px;
    }
    .tracking-section h2 {
        font-size: 1.08rem;
    }
    .tracking-meta-grid div, .pause-list li, .timeline-item {
        padding: 12px 14px;
        border-radius: 16px;
    }
    .route-visual { padding: 12px 0 6px; }
    .route-stage {
        height: 220px;
        border-radius: 22px;
        margin-top: 14px;
        overflow: hidden;
    }
    .route-stage-svg {
        opacity: 0.96;
    }
    .route-node-start { left: 4.5%; top: 78%; }
    .route-node-end { right: 4.5%; top: 26%; }
    .route-node-label {
        font-size: 0.72rem;
        top: -26px;
        max-width: 96px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .route-node-pin {
        width: 30px;
        height: 30px;
    }
    .route-node-pin svg {
        width: 16px;
        height: 16px;
    }
    .route-marker {
        width: 50px;
        height: 50px;
    }
    .route-marker-icon {
        width: 38px;
        height: 38px;
    }
    .route-marker.is-moving .route-marker-icon {
        animation-duration: 1.2s;
    }
    .route-marker-trail {
        left: -28px;
        width: 38px;
    }
    .route-pause-callout {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
        padding: 9px 11px;
        border-radius: 14px;
    }
    .route-level-marker {
        width: 98px;
        height: 40px;
    }
    .route-level-marker-label {
        top: 22px;
        font-size: 0.64rem;
        padding: 3px 7px;
    }
    .route-level-marker-above .route-level-marker-label {
        top: -34px;
    }
    .route-level-marker-icon {
        top: 10px;
        width: 16px;
        height: 16px;
    }
    .route-level-marker-above .route-level-marker-icon {
        top: 12px;
    }
    .route-labels {
        flex-direction: column;
        gap: 4px;
        font-size: 0.84rem;
    }
    .timeline { gap: 10px; }
    .timeline-item { gap: 10px; }
}

@keyframes marker-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.03); }
}

@keyframes marker-breathe {
    0%, 100% { box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(255,255,255,0.72) inset; }
    50% { box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(255,255,255,0.82) inset; }
}

@keyframes route-dashes {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -68; }
}

@keyframes plane-swing {
    0%, 100% { transform: translateY(0) rotate(-12deg) scale(1); }
    50% { transform: translateY(-4px) rotate(-8deg) scale(1.03); }
}

@keyframes trail-drift {
    0%, 100% { transform: translateY(-50%) translateX(0); opacity: .55; }
    50% { transform: translateY(-50%) translateX(-6px); opacity: 1; }
}

@keyframes pause-pulse {
    0%, 100% { transform: scale(0.85); opacity: 0.45; }
    50% { transform: scale(1.1); opacity: 0.95; }
}

.public-shell .site-header {
    background: rgba(255, 255, 255, 0.9);
}

.public-shell .header-bar {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.4fr) auto;
}

.public-shell .header-nav {
    justify-content: center;
}

.public-shell .header-nav a {
    font-size: 0.96rem;
    font-weight: 600;
}

.public-shell .brand-text {
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.public-shell .brand-subtitle {
    color: #64748b;
}

.public-shell .footer-shell {
    grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.85fr) minmax(220px, 0.6fr);
    align-items: stretch;
}

.public-shell .footer-brand-block {
    padding: 8px 4px 8px 0;
}

.public-shell .brand-footer {
    align-items: flex-start;
}

.public-shell .footer-links-block {
    min-height: 100%;
}

.public-shell .footer-lang-list a {
    min-width: 48px;
    background: rgba(255,255,255,0.9);
    border-color: rgba(15, 23, 42, 0.08);
}

.public-shell .footer-lang-list a.active {
    background: linear-gradient(135deg, rgba(15, 110, 115, 0.12), rgba(245, 180, 0, 0.10));
    border-color: rgba(15, 110, 115, 0.18);
    color: #0b1b34;
}

.public-shell .footer-bottom-inner {
    padding-top: 14px;
    padding-bottom: 20px;
}

@media (max-width: 980px) {
    .public-shell .footer-shell {
        grid-template-columns: 1fr 1fr;
    }

    .public-shell .footer-brand-block {
        grid-column: 1 / -1;
    }

    .public-shell .footer-links-block {
        padding: 18px;
    }
}

@media (max-width: 720px) {
    .site-footer {
        margin-top: 16px;
        overflow: visible;
    }

    .public-shell .footer-shell {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 14px 0 10px;
    }

    .public-shell .footer-brand-block {
        grid-column: 1 / -1;
        padding: 0;
        gap: 8px;
    }

    .public-shell .footer-links-block {
        padding: 12px 12px;
        border-radius: 16px;
        gap: 8px;
        min-width: 0;
        width: 100%;
    }

    .public-shell .footer-brand-block p {
        max-width: none;
        font-size: 0.84rem;
        line-height: 1.45;
    }

    .public-shell .footer-links-block h4 {
        font-size: 0.68rem;
    }

    .public-shell .footer-links-block p {
        font-size: 0.83rem;
        line-height: 1.35;
    }

    .public-shell .footer-lang-list {
        gap: 6px;
    }

    .public-shell .footer-lang-list a {
        min-width: 40px;
        min-height: 36px;
        padding: 6px 9px;
        font-size: 0.82rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding-top: 10px;
        padding-bottom: 12px;
        font-size: 0.78rem;
    }
}

.tc-home {
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 28%),
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.10), transparent 26%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 38%, #f8fafc 100%);
}

.tc-home section {
    position: relative;
}

.tc-home-hero {
    padding: 64px 0 30px;
}

.tc-home-hero-grid,
.tc-about-grid,
.tc-contact-grid,
.tc-cta-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 28px;
    align-items: center;
}

.tc-home-copy h1 {
    margin: 16px 0 14px;
    font-size: clamp(2.6rem, 5vw, 4.9rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    max-width: 11ch;
}

.tc-home-copy p,
.section-heading p,
.tc-about-card p,
.tc-resource-card p,
.tc-sector-card p,
.tc-news-card p,
.tc-contact-card p,
.tc-home-panel-card p {
    color: #64748b;
    line-height: 1.65;
    font-size: 1rem;
}

.tc-pill,
.section-heading span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.10);
    color: #1d4ed8;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tc-home-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.82);
    color: var(--primary);
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
}

.tc-home-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.tc-home-proof div,
.tc-fact-card,
.tc-info-card,
.tc-sector-card,
.tc-resource-card,
.tc-news-card,
.tc-contact-card,
.tc-about-card,
.tc-lang-card,
.tc-home-panel-card,
.tc-cta-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
}

.tc-home-proof div {
    padding: 16px;
}

.tc-home-proof strong,
.tc-fact-card strong,
.tc-home-panel-number {
    display: block;
    font-size: 1.9rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.tc-home-proof span,
.tc-fact-card span {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 0.92rem;
}

.tc-home-panel-card {
    padding: 28px;
    min-height: 420px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.22), transparent 30%),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.18), transparent 24%),
        linear-gradient(180deg, #0f172a, #111827 72%, #0f172a);
    color: white;
}

.tc-home-panel-kicker {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
}

.tc-home-panel-number {
    font-size: clamp(4rem, 9vw, 6rem);
    margin: 24px 0 12px;
}

.tc-home-panel-card p,
.tc-home-panel-stats span {
    color: rgba(255, 255, 255, 0.78);
}

.tc-home-panel-stats {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.tc-home-panel-stats div {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tc-home-panel-stats strong {
    display: block;
    font-size: 1.08rem;
    margin-bottom: 4px;
}

.tc-home-languages,
.tc-home-section {
    padding: 16px 0 40px;
}

.tc-home-lang-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.tc-lang-card {
    padding: 16px;
    display: grid;
    gap: 6px;
    text-align: center;
}

.tc-lang-card.is-selected {
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.10);
}

.tc-lang-flag {
    width: 48px;
    height: 48px;
    margin: 0 auto 4px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(245, 158, 11, 0.12));
    font-weight: 800;
    color: #0f172a;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 20px;
}

.section-heading h2 {
    margin: 12px 0 10px;
    font-size: clamp(1.2rem, 1.6vw, 1.65rem);
    line-height: 1.1;
    letter-spacing: -0.028em;
}

.section-heading p {
    margin: 0;
}

.section-heading-left {
    margin-bottom: 0;
}

.tc-card-grid {
    display: grid;
    gap: 16px;
}

.tc-card-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tc-card-grid-wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tc-info-card,
.tc-sector-card,
.tc-resource-card,
.tc-news-card,
.tc-contact-card,
.tc-about-card {
    padding: 22px;
}

.tc-info-card strong {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.10);
    color: #1d4ed8;
    font-weight: 800;
}

.tc-info-card h3,
.tc-sector-card h3,
.tc-resource-card h3,
.tc-news-card h3,
.tc-contact-card h3,
.tc-about-card h3 {
    margin: 14px 0 10px;
    font-size: 0.9rem;
}

.tc-section-muted {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.96));
}

.tc-fact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.tc-fact-card {
    padding: 24px;
    text-align: center;
}

.tc-fact-card strong {
    font-size: 2.1rem;
}

.tc-about-grid,
.tc-contact-grid,
.tc-cta-card {
    align-items: start;
}

.tc-about-card ul {
    margin: 0;
    padding-left: 18px;
    color: #334155;
    line-height: 1.8;
}

.tc-faq-list {
    display: grid;
    gap: 12px;
}

.tc-faq-list details {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 18px 20px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.tc-faq-list summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--primary);
}

.tc-faq-list p {
    margin: 12px 0 0;
    color: #64748b;
    line-height: 1.65;
}

.tc-home-cta {
    padding-bottom: 56px;
}

.tc-cta-card {
    padding: 28px;
    gap: 18px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.98));
}

.tc-cta-card h2 {
    margin: 14px 0 10px;
    font-size: clamp(1.6rem, 2.6vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.tc-cta-card p {
    margin: 0;
    max-width: 62ch;
}

@media (max-width: 1100px) {
    .public-shell .header-bar,
    .tc-home-hero-grid,
    .tc-about-grid,
    .tc-contact-grid,
    .tc-cta-card {
        grid-template-columns: 1fr;
    }

    .tc-home-lang-grid,
    .tc-card-grid-3,
    .tc-card-grid-wide,
    .tc-fact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .public-shell .header-nav {
        justify-content: flex-start;
    }

    .tc-home-hero {
        padding-top: 38px;
    }

    .tc-home-copy h1 {
        max-width: none;
    }

    .tc-home-proof,
    .tc-home-lang-grid,
    .tc-card-grid-3,
    .tc-card-grid-wide,
    .tc-fact-grid {
        grid-template-columns: 1fr;
    }

    .tc-home-panel-card {
        min-height: auto;
    }

    .tc-cta-card {
        padding: 22px;
    }

    .tc-trustpilot-wrap {
        grid-template-columns: 1fr;
    }

    .tc-trustpilot-nav {
        display: none;
    }

    .tc-review-card {
        width: 170px;
        min-width: 170px;
    }
}

.tc-homepage {
    background: #ffffff;
}

.tc-homepage .button-primary {
    background: #f2b400;
    color: #0f172a;
    box-shadow: none;
    border: 0;
}

.tc-homepage .button-primary:hover {
    filter: brightness(0.97);
}

.tc-homepage .button-primary-soft {
    background: #f2b400;
    color: #0f172a;
}

.tc-homepage .button-secondary {
    background: #0f6e73;
    color: #ffffff;
    border: 0;
}

.tc-homepage .button-secondary:hover {
    filter: brightness(0.96);
}

.tc-homepage .button-secondary-soft {
    background: #0f6e73;
    color: #ffffff;
    border: 0;
}

.tc-section {
    padding: 30px 0 54px;
}

.tc-section-muted {
    background: #f6f7f8;
}

.tc-hero {
    position: relative;
    min-height: 540px;
    padding: 48px 0 56px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(7, 87, 92, 0.94) 0%, rgba(7, 87, 92, 0.82) 55%, rgba(7, 87, 92, 0.55) 100%),
        radial-gradient(circle at top right, rgba(255, 182, 0, 0.08), transparent 30%);
    overflow: hidden;
}

.tc-hero::before {
    content: '';
    position: absolute;
    inset: -3%;
    background-image:
        linear-gradient(90deg, rgba(7, 87, 92, 0.42) 0%, rgba(7, 87, 92, 0.28) 55%, rgba(7, 87, 92, 0.14) 100%),
        var(--hero-image, none);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.08);
    animation: heroDrift 24s ease-in-out infinite alternate;
    will-change: transform, background-position;
}

.tc-hero::after {
    content: '';
    position: absolute;
    right: -40px;
    bottom: -30px;
    width: 240px;
    height: 240px;
    border: 28px solid #f2b400;
    border-left-color: transparent;
    border-top-color: transparent;
    transform: rotate(45deg);
    opacity: 0.95;
}

.tc-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: end;
    min-height: 480px;
}

.tc-hero-content {
    max-width: 680px;
    padding-top: 34px;
}

.tc-badge,
.tc-small-label,
.section-heading span {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.section-heading span {
    color: #0f6e73;
    border-color: rgba(15, 110, 115, 0.18);
    background: rgba(15, 110, 115, 0.06);
    font-size: 0.68rem;
}

.tc-hero h1 {
    margin: 16px 0 12px;
    color: #ffffff;
    font-size: clamp(2.2rem, 3.4vw, 3.85rem);
    line-height: 0.96;
    max-width: 15.5ch;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.tc-hero p {
    max-width: 58ch;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    line-height: 1.62;
}

.tc-hero-box {
    margin-top: 24px;
    max-width: 620px;
    padding: 20px 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--primary);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}

.tc-hero-box p {
    color: #475569;
}

.tc-hero-actions,
.tc-inline-actions,
.tc-faq-actions,
.tc-news-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.button-primary-soft,
.button-secondary-soft {
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
}

.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #ffffff;
    color: var(--primary);
    font-weight: 700;
}

.button-secondary-soft {
    background: rgba(7, 87, 92, 0.92);
    color: #fff;
    border-color: rgba(7, 87, 92, 0.92);
}

.tc-hero-accent {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 32%;
    height: 120px;
    background: transparent;
}

@keyframes heroDrift {
    0% {
        transform: scale(1.08) translate3d(0, 0, 0);
        background-position: center center;
    }
    50% {
        background-position: 54% 48%;
    }
    100% {
        transform: scale(1.12) translate3d(0, -1.2%, 0);
        background-position: 58% 52%;
    }
}

.tc-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 16px;
    align-items: stretch;
}

.tc-intro-image,
.tc-cta-image,
.tc-news-image {
    border-radius: 16px;
    background-color: #dbe4ea;
    background-size: cover;
    background-position: center;
    min-height: 410px;
    overflow: hidden;
    position: relative;
}

.tc-intro-panel {
    border-radius: 16px;
    background: #0f6e73;
    color: #fff;
    min-height: 410px;
    display: grid;
    align-items: center;
    padding: 28px;
}

.tc-intro-panel-inner h3,
.tc-cta-copy h2,
.tc-section-slider h2,
.tc-faq-section h2,
.tc-news-section h2 {
    margin: 0 0 14px;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.tc-intro-panel-inner p,
.tc-cta-copy p,
.tc-news-card p,
.tc-faq-list p,
.tc-benefit-item p {
    color: #475569;
    line-height: 1.65;
}

.tc-intro-panel .tc-intro-panel-inner p {
    color: rgba(255, 255, 255, 0.9);
}

.tc-intro-panel .tc-inline-actions {
    margin-top: 8px;
}

.tc-intro-panel .button-primary-soft,
.tc-intro-panel .button-secondary-soft {
    border-radius: 999px;
}

.tc-image-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(15, 110, 115, 0.16), rgba(245, 180, 0, 0.14));
    color: #0f172a;
    font-weight: 700;
    text-align: center;
    padding: 18px;
}

.tc-image-placeholder-dark {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    color: #fff;
}

.tc-logo-section {
    padding-top: 30px;
    text-align: center;
}

.tc-logo-marquee {
    position: relative;
    margin-top: 22px;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.tc-logo-marquee-track {
    display: flex;
    align-items: center;
    gap: 56px;
    width: max-content;
    animation: tc-logo-marquee 28s linear infinite;
    will-change: transform;
}

.tc-logo-marquee:hover .tc-logo-marquee-track {
    animation-play-state: paused;
}

.tc-logo-item {
    flex: 0 0 auto;
    min-width: 150px;
    min-height: 72px;
    padding: 6px 12px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: transparent;
    box-shadow: none;
}

.tc-logo-item img {
    max-height: 58px;
    max-width: 180px;
    object-fit: contain;
    width: auto;
}

.tc-logo-item span {
    color: #6b7280;
    font-weight: 700;
    white-space: nowrap;
}

@keyframes tc-logo-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.tc-small-label {
    border-color: rgba(15, 110, 115, 0.18);
    background: rgba(15, 110, 115, 0.05);
    color: #0f6e73;
}

.section-heading-wide {
    max-width: 100%;
}

.section-heading h2 {
    margin: 12px 0 0;
    font-size: clamp(1rem, 1.25vw, 1.35rem);
    line-height: 1.1;
}

.tc-benefits-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 42px;
}

.tc-benefit-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.tc-benefit-icon {
    display: inline-flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 34px;
    height: 34px;
    color: #0f6e73;
}

.tc-benefit-icon svg {
    width: 34px;
    height: 34px;
    display: block;
}

.tc-benefit-item h3 {
    margin: 0 0 8px;
    font-size: 0.84rem;
    line-height: 1.25;
}

.tc-benefit-item p {
    margin: 0;
    color: #334155;
    line-height: 1.55;
}

.tc-cta-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
    padding: 18px;
    background: #f2f2f2;
    border-radius: 18px;
}

.tc-cta-copy,
.tc-cta-contact {
    border-radius: 16px;
    background: #fff;
    padding: 26px;
}

.tc-cta-copy {
    display: grid;
    align-content: center;
}

.tc-cta-image {
    min-height: 330px;
    border-radius: 16px;
}

.tc-cta-contact h3 {
    margin: 16px 0 12px;
}

.tc-cta-contact ul {
    margin: 0;
    padding-left: 18px;
    line-height: 1.7;
    color: #475569;
}

.tc-contact-badge {
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 18px;
    background: #0f6e73;
    color: #fff;
    font-weight: 700;
    max-width: 260px;
}

.tc-trustpilot-wrap {
    position: relative;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    align-items: center;
    gap: 10px;
}

.tc-trustpilot-nav {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 999px;
    background: #fff;
    color: #9ca3af;
    display: grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.tc-trustpilot-nav span {
    font-size: 1.25rem;
    line-height: 1;
    transform: translateY(-1px);
}

.tc-trustpilot-nav-right {
    color: #111827;
}

.tc-testimonial-row {
    margin-top: 18px;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 0 2px 10px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.tc-review-card {
    min-width: 183px;
    width: 183px;
    flex: 0 0 auto;
    background: #fafafa;
    border: 1px solid #edf0f4;
    border-radius: 0;
    padding: 8px 12px 12px;
    box-shadow: none;
    scroll-snap-align: start;
    color: #111827;
    text-decoration: none;
}

.tc-review-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 6px;
    font-size: 0.66rem;
    color: #6b7280;
}

.tc-review-stars span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #00b67a;
    color: #fff;
    width: 13px;
    height: 13px;
    padding: 0;
    border-radius: 0;
    font-size: 0.6rem;
    letter-spacing: 0;
    font-weight: 800;
    line-height: 1;
}

.tc-review-stars .tc-review-star {
    flex: 0 0 auto;
}

.tc-review-stars em {
    font-style: normal;
    color: #6b7280;
    font-size: 0.65rem;
}

.tc-review-card h3 {
    margin: 0 0 8px;
    font-size: 0.8rem;
    line-height: 1.2;
    color: #111827;
}

.tc-review-card p {
    margin: 0;
    color: #374151;
    line-height: 1.35;
    font-size: 0.78rem;
    min-height: 54px;
}

.tc-review-card footer {
    margin-top: 14px;
    font-size: 0.71rem;
    color: #6b7280;
}

.tc-review-summary {
    margin-top: 8px;
    text-align: center;
    font-size: 0.82rem;
    color: #4b5563;
}

.tc-review-summary strong {
    display: inline;
    margin: 0;
    color: #111827;
    font-size: 0.82rem;
    font-weight: 400;
}

.tc-review-summary a {
    color: inherit;
    text-decoration: none;
}

.tc-review-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 6px;
    color: #111827;
    font-weight: 700;
    font-size: 0.94rem;
}

.tc-review-brand-logo {
    color: #00b67a;
    font-size: 1.05rem;
}

.tc-review-brand a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
}

.tc-mini-card {
    display: none;
}

.tc-stats-section .container {
    display: grid;
    gap: 0;
}

.tc-stat-bar {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 22px 24px;
}

.tc-stat-bar span {
    font-size: 1rem;
}

.tc-stat-bar strong {
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 800;
}

.tc-stat-bar-dark {
    background: #0f6e73;
    color: #fff;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.tc-stat-bar-light {
    background: #d4e8ec;
    color: #0f172a;
}

.tc-stat-bar-accent {
    background: #f2b400;
    color: #0f172a;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.tc-faq-section {
    position: relative;
    overflow: hidden;
    background: #f4f5f6;
}

.tc-faq-section::before {
    content: '';
    position: absolute;
    inset: 22px 18px auto auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 110, 115, 0.14), transparent 66%);
    pointer-events: none;
}

.tc-faq-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
    gap: 26px;
    align-items: start;
}

.tc-faq-aside {
    position: sticky;
    top: 112px;
    display: grid;
    gap: 16px;
    align-content: start;
    padding: 26px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(15, 110, 115, 0.98), rgba(9, 71, 75, 0.96));
    color: #fff;
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.14);
    overflow: hidden;
}

.tc-faq-aside::after {
    content: '';
    position: absolute;
    right: -34px;
    bottom: -36px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 180, 0, 0.25), transparent 62%);
    pointer-events: none;
}

.tc-faq-aside > * {
    position: relative;
    z-index: 1;
}

.tc-faq-aside h2 {
    margin: 0;
    font-size: clamp(1.2rem, 1.6vw, 1.45rem);
    line-height: 1;
    letter-spacing: -0.035em;
}

.tc-faq-aside p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.7;
}

.tc-faq-points {
    display: grid;
    gap: 12px;
}

.tc-faq-points div {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tc-faq-points strong {
    font-size: 1.5rem;
    line-height: 1;
}

.tc-faq-points span {
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.45;
    font-size: 0.92rem;
}

.tc-faq-panel {
    position: relative;
    padding: 26px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(12px);
}

.tc-faq-section h2,
.tc-news-section h2 {
    margin-top: 12px;
}

.tc-faq-list {
    margin-top: 0;
    display: grid;
    gap: 12px;
}

.tc-faq-list details {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    padding: 18px 20px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.tc-faq-list details::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary), var(--accent));
    opacity: 0;
    transition: opacity .2s ease;
}

.tc-faq-list details[open]::before {
    opacity: 1;
}

.tc-faq-list summary {
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    color: #0f172a;
    padding-right: 28px;
    position: relative;
}

.tc-faq-list summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(15, 110, 115, 0.08);
    color: #0f6e73;
    font-size: 1rem;
    line-height: 1;
}

.tc-faq-list details[open] summary::after {
    content: '−';
    background: rgba(242, 180, 0, 0.14);
}

.tc-faq-list p {
    margin: 12px 0 0;
    color: #64748b;
    line-height: 1.65;
}

.tc-faq-actions {
    margin-top: 18px;
}

.tc-news-section {
    background: #0f6e73;
    color: #fff;
}

.tc-news-section .section-heading span,
.tc-news-section .tc-small-label {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.tc-news-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.tc-news-card {
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
}

.tc-news-card .tc-news-image {
    min-height: 190px;
    margin-bottom: 14px;
}

.tc-news-card h3 {
    margin: 0 0 8px;
    font-size: 0.82rem;
}

.tc-news-card p {
    color: #475569;
    margin: 0 0 12px;
}

.tc-news-card a {
    color: #0f6e73;
    font-weight: 700;
}

.tc-faq-compact {
    width: min(100%, 860px);
    margin: 0 auto;
    text-align: center;
}

.tc-faq-compact .tc-faq-pill {
    margin: 0 auto 12px;
}

.tc-faq-compact h2 {
    margin: 0 auto 34px;
    font-size: clamp(1rem, 1.15vw, 1.2rem);
    line-height: 1.02;
    color: #0f6e73;
    letter-spacing: -0.035em;
    max-width: none;
    white-space: nowrap;
}

.tc-faq-compact .tc-faq-list {
    text-align: left;
}

.tc-faq-compact .tc-faq-list details {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #d9e4e8;
    border-radius: 0;
    box-shadow: none;
    padding: 20px 0 16px;
}

.tc-faq-compact .tc-faq-list details:first-child {
    border-top: 0;
}

.tc-faq-compact .tc-faq-list details[open] {
    border: 0;
    border-radius: 0;
    margin: 0 0 10px;
    padding: 20px 0 12px;
}

.tc-faq-compact .tc-faq-list details::before {
    display: none;
}

.tc-faq-compact .tc-faq-list summary {
    font-size: 1.06rem;
    color: #0f6e73;
    padding-right: 54px;
}

.tc-faq-compact .tc-faq-list summary::after {
    width: 22px;
    height: 22px;
    right: 0;
    top: 0;
    background: #3b7982;
    color: #fff;
    border-radius: 999px;
    box-shadow: none;
}

.tc-faq-compact .tc-faq-list details[open] summary::after {
    background: #3b7982;
    color: #fff;
}

.tc-faq-compact .tc-faq-list p {
    padding-left: 0;
    margin-top: 18px;
    max-width: 68ch;
    font-size: 1.04rem;
    color: #5f7280;
    line-height: 1.7;
}

.tc-faq-actions-center {
    justify-content: center;
    margin-top: 28px;
}

.button-faq-yellow {
    background: linear-gradient(180deg, #f1c200, #edb100);
    color: #0f172a;
    box-shadow: none;
}

.button-faq-teal {
    background: #0f6e73;
    color: #fff;
    border: 0;
    box-shadow: none;
}

.tc-faq-compact .button-primary,
.tc-faq-compact .button-secondary {
    min-height: 44px;
    padding: 12px 20px;
    border-radius: 999px;
}

.tracking-search-hero {
    margin-top: 40px;
    padding: 28px;
}

.tracking-search-page {
    padding-top: 34px;
    padding-bottom: 72px;
}

.tracking-search-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 22px;
    align-items: stretch;
    padding: 24px;
    border-radius: 34px;
    background:
        radial-gradient(circle at top left, rgba(15, 110, 115, 0.12), transparent 34%),
        radial-gradient(circle at bottom right, rgba(244, 180, 0, 0.10), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(249,250,252,0.98));
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.10);
    overflow: hidden;
}

.tracking-search-shell::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), #6fb7ba 52%, var(--accent));
}

.tracking-search-copy {
    padding: 18px 8px 10px 10px;
}

.tracking-search-kicker {
    color: #0f6e73;
    border-color: rgba(15, 110, 115, 0.18);
    background: rgba(15, 110, 115, 0.06);
}

.tracking-search-copy h1 {
    margin: 14px 0 12px;
    font-size: clamp(2rem, 3vw, 3.35rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    max-width: 10.5ch;
    color: #081423;
}

.tracking-search-lead {
    margin: 0;
    max-width: 54ch;
    color: #475569;
    line-height: 1.7;
    font-size: 1rem;
}

.tracking-search-form {
    margin-top: 24px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.tracking-search-form label {
    margin-bottom: 12px;
    color: #0b1b34;
    font-size: 0.98rem;
}

.tracking-search-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 12px;
    align-items: stretch;
}

.tracking-search-input-row input {
    min-height: 56px;
    border-radius: 18px;
    background: #fff;
    border-color: rgba(15, 23, 42, 0.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.tracking-search-input-row .button-primary {
    min-height: 56px;
    padding-inline: 22px;
    border-radius: 18px;
    font-weight: 800;
    box-shadow: 0 18px 30px rgba(15, 110, 115, 0.18);
}

.tracking-search-note {
    margin: 14px 2px 0;
    color: #64748b;
    font-size: 0.93rem;
}

.tracking-search-points {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.tracking-search-point {
    padding: 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.tracking-search-point strong {
    display: block;
    margin-bottom: 6px;
    color: #0f6e73;
    font-size: 0.9rem;
}

.tracking-search-point span {
    color: #475569;
    line-height: 1.55;
    font-size: 0.88rem;
}

.tracking-search-visual {
    min-height: 100%;
}

.tracking-search-visual-card {
    position: relative;
    height: 100%;
    padding: 22px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(244,180,0,0.20), transparent 24%),
        radial-gradient(circle at bottom left, rgba(111,183,186,0.18), transparent 28%),
        linear-gradient(160deg, #0f6e73 0%, #0c4f54 100%);
    color: #fff;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
    overflow: hidden;
}

.tracking-search-visual-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 0 18%, rgba(255,255,255,0.10) 18% 19%, transparent 19% 100%),
        linear-gradient(300deg, transparent 0 45%, rgba(255,255,255,0.06) 45% 46%, transparent 46% 100%);
    pointer-events: none;
}

.tracking-search-visual-top,
.tracking-search-visual-route,
.tracking-search-steps,
.tracking-search-visual-footer {
    position: relative;
    z-index: 1;
}

.tracking-search-visual-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.tracking-search-visual-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.18);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
}

.tracking-search-visual-status {
    font-size: 0.92rem;
    font-weight: 800;
    color: #f4f8fb;
}

.tracking-search-visual-route {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(6px);
}

.tracking-search-visual-route-head,
.tracking-search-visual-locations {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.tracking-search-visual-route-head {
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.72);
    margin-bottom: 12px;
}

.tracking-search-visual-track {
    position: relative;
    height: 7px;
    margin: 0 4px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    overflow: hidden;
}

.tracking-search-visual-track span {
    position: absolute;
    inset: 0;
    width: 55%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), #f7d778);
    box-shadow: 0 0 26px rgba(244, 180, 0, 0.45);
}

.tracking-search-visual-locations {
    margin-top: 14px;
}

.tracking-search-visual-locations div {
    flex: 1 1 0;
}

.tracking-search-visual-locations strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.86rem;
}

.tracking-search-visual-locations span {
    color: rgba(255,255,255,0.74);
    font-size: 0.82rem;
    line-height: 1.45;
}

.tracking-search-steps {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.tracking-search-step {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.08);
}

.tracking-search-step span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.16);
    font-size: 0.75rem;
    font-weight: 800;
}

.tracking-search-step strong {
    display: block;
    font-size: 0.88rem;
    margin-bottom: 2px;
}

.tracking-search-step p {
    margin: 0;
    color: rgba(255,255,255,0.72);
    font-size: 0.84rem;
    line-height: 1.45;
}

.tracking-search-step.is-active {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.14);
}

.tracking-search-visual-footer {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.76);
}

/* Premium overrides for shipment tracking */
.tracking-page {
    padding-top: 48px;
    padding-bottom: 84px;
    background:
        radial-gradient(circle at 12% 0%, rgba(37,99,235,0.06), transparent 18%),
        radial-gradient(circle at 88% 0%, rgba(245,180,0,0.05), transparent 16%),
        linear-gradient(180deg, rgba(248,250,252,0.85), rgba(255,255,255,0.98));
}

.tracking-page.container {
    width: min(1180px, calc(100% - 28px));
}

.tracking-summary {
    padding: clamp(24px, 3vw, 40px);
    border-radius: 40px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow:
        0 24px 70px rgba(15, 23, 42, 0.08),
        0 2px 0 rgba(255,255,255,0.7) inset;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.99), rgba(250,251,253,0.97));
}

.tracking-summary::before {
    height: 5px;
    background: linear-gradient(90deg, #2b6cff 0%, #7e7d84 48%, #f6b51d 100%);
}

.tracking-header {
    margin-bottom: 16px;
    gap: 14px;
}

.tracking-header h1 {
    font-size: clamp(1.7rem, 2.2vw, 2.35rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.eyebrow {
    border: 1px solid rgba(37, 99, 235, 0.12);
    background: rgba(37, 99, 235, 0.08);
    color: var(--secondary);
}

.status-badge {
    padding: 10px 14px;
    background: var(--status-bg, rgba(255,255,255,0.94));
    border: 1px solid var(--status-border, rgba(15, 23, 42, 0.08));
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    color: var(--status-color, var(--primary));
    font-weight: 700;
}

.tracking-status-message {
    margin: 18px 0 10px;
    padding: 18px 20px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(245, 180, 0, 0.05));
    border-color: rgba(15, 23, 42, 0.08);
}

.tracking-meta-grid {
    gap: 12px;
    margin: 18px 0 16px;
}

.tracking-meta-grid div {
    padding: 16px 16px 14px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.96));
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.03);
}

.tracking-meta-grid strong {
    margin-top: 4px;
    display: block;
    color: #0b1b34;
}

.tracking-section {
    margin-top: 20px;
    padding: 22px;
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(245,180,0,0.06), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.97), rgba(249,250,252,0.98));
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow:
        0 20px 40px rgba(15, 23, 42, 0.05),
        0 1px 0 rgba(255,255,255,0.7) inset;
}

.tracking-section::before {
    height: 4px;
    background: linear-gradient(90deg, #2b6cff 0%, #c4a07c 50%, #f6b51d 100%);
    opacity: 0.85;
}

.tracking-section h2 {
    font-size: 1.28rem;
    line-height: 1.14;
    color: #081423;
}

.tracking-section-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--secondary);
}

.tracking-section-head {
    margin-bottom: 14px;
}

.tracking-section-head-inline {
    align-items: center;
}

.route-labels {
    color: #64748b;
    font-size: 0.94rem;
}

.route-legend-title {
    color: #64748b;
}

.route-stage {
    height: 300px;
    margin-top: 16px;
    border-radius: 30px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background:
        radial-gradient(circle at 16% 18%, rgba(43, 108, 255, 0.10), transparent 20%),
        radial-gradient(circle at 84% 24%, rgba(246, 181, 29, 0.12), transparent 18%),
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(241,245,249,0.96));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.9),
        0 18px 34px rgba(15, 23, 42, 0.05);
}

.route-track-line {
    stroke: rgba(15, 23, 42, 0.07);
    stroke-width: 18;
}

.route-track-dash {
    stroke-width: 11;
    stroke-dasharray: 14 16;
}

.route-node-label {
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.route-node-pin {
    box-shadow:
        0 16px 30px rgba(15, 23, 42, 0.10),
        0 0 0 8px rgba(37,99,235,0.06);
}

.route-node-end .route-node-pin {
    box-shadow:
        0 16px 30px rgba(15, 23, 42, 0.10),
        0 0 0 8px rgba(245,180,0,0.08);
}

.route-marker-icon {
    width: calc(var(--route-marker-disc-size) + 4px);
    height: calc(var(--route-marker-disc-size) + 4px);
    box-shadow:
        0 18px 34px rgba(15, 23, 42, 0.14),
        0 0 0 1px rgba(255,255,255,0.78) inset;
}

.route-marker-trail span {
    background: rgba(43, 108, 255, 0.18);
}

.route-pause-callout {
    max-width: 240px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.10);
}

.tracking-lower-grid {
    gap: 20px;
    margin-top: 24px;
}

.tracking-section-history .timeline-item,
.tracking-section-pause .pause-list li {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.04);
}

.timeline-item-head strong {
    color: #081423;
}

.timeline-meta {
    color: #64748b;
}

.pause-list li strong {
    color: #081423;
}

@media (max-width: 980px) {
    .tc-intro-grid,
    .tc-cta-split,
    .tc-news-grid,
    .tc-benefits-grid,
    .tc-faq-layout {
        grid-template-columns: 1fr;
    }

    .tracking-search-shell {
        grid-template-columns: 1fr;
        padding: 18px;
        gap: 16px;
    }

    .tc-logo-marquee-track {
        gap: 36px;
        animation-duration: 22s;
    }

    .tc-hero {
        min-height: 470px;
    }

    .tc-hero-inner {
        min-height: 410px;
    }

    .tc-cta-split {
        padding: 14px;
    }

    .tc-faq-aside {
        position: relative;
        top: auto;
    }

    .tc-faq-panel {
        padding: 20px;
    }

    .tracking-search-points {
        grid-template-columns: 1fr;
    }

    .tracking-search-copy h1 {
        max-width: 100%;
        font-size: clamp(1.95rem, 5.5vw, 2.6rem);
    }

    .tracking-search-lead {
        max-width: 100%;
    }

    .tracking-search-visual-card {
        min-height: 320px;
    }
}

@media (max-width: 720px) {
    .tc-section {
        padding: 26px 0 44px;
    }

    .tc-hero {
        min-height: 440px;
        padding-top: 26px;
    }

    .tc-hero h1 {
        max-width: 11.5ch;
        font-size: clamp(1.9rem, 7vw, 2.7rem);
    }

    .tc-hero-box {
        padding: 16px;
    }

    .tracking-search-copy {
        padding: 10px 2px 6px;
    }

    .tracking-search-copy h1 {
        font-size: clamp(1.7rem, 7vw, 2.4rem);
        max-width: 100%;
    }

    .tracking-search-lead {
        font-size: 0.94rem;
    }

    .tracking-search-form {
        padding: 16px;
    }

    .tracking-search-input-row {
        grid-template-columns: 1fr;
    }

    .tracking-search-input-row .button-primary {
        width: 100%;
    }

    .tracking-search-visual-card {
        padding: 18px;
        min-height: auto;
    }

    .tracking-search-visual-top,
    .tracking-search-visual-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .tracking-search-visual-route-head,
    .tracking-search-visual-locations {
        flex-direction: column;
    }

    .tracking-search-step {
        grid-template-columns: 32px minmax(0, 1fr);
    }

    .tracking-search-visual-route {
        padding: 14px;
    }

    .tracking-search-visual-top {
        margin-bottom: 14px;
    }

    .tracking-search-steps {
        margin-top: 12px;
    }

    .tc-logo-marquee-track {
        gap: 24px;
        animation-duration: 18s;
    }

    .tc-logo-item {
        min-width: 120px;
        min-height: 60px;
        padding: 4px 8px;
    }

    .tc-logo-item img {
        max-height: 40px;
        max-width: 120px;
    }

    .tc-stat-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .tc-cta-image {
        min-height: 240px;
    }

    .tc-faq-aside,
    .tc-faq-panel {
        border-radius: 22px;
    }

    .tc-faq-compact {
        width: 100%;
    }

    .tc-faq-compact h2 {
        max-width: none;
        font-size: clamp(1.7rem, 7vw, 2.2rem);
        margin-bottom: 24px;
        white-space: normal;
    }

    .tc-faq-compact .tc-faq-list details {
        padding: 16px 16px 16px 20px;
    }

    .tc-faq-actions-center {
        flex-direction: column;
        align-items: stretch;
    }

    .tc-faq-actions-center .button-primary,
    .tc-faq-actions-center .button-secondary {
        width: 100%;
        justify-content: center;
    }
}

.pcis-route-stage.route-stage {
    height: 220px;
}

.pcis-route-stage.route-stage .route-node-start {
    left: 7.8%;
    top: 53.8%;
}

.pcis-route-stage.route-stage .route-node-end {
    right: 7.8%;
    top: 53.8%;
}

.pcis-route-stage.route-stage .route-node-flag {
    width: 48px;
    height: 48px;
    font-size: 2rem;
    line-height: 1;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    display: grid;
    place-items: center;
}

.pcis-route-stage.route-stage .route-node-label {
    top: -48px;
    min-width: 108px;
}

.pcis-route-stage.route-stage .route-track-dash {
    stroke-dasharray: none;
}
.pcis-mobile-route {
    display: none;
}

.pcis-route-stage.route-stage {
    height: 300px;
}

.pcis-route-stage.route-stage .route-node-start,
.pcis-route-stage.route-stage .route-node-end {
    top: 47%;
}

.pcis-route-stage.route-stage .route-level-marker {
    width: 132px;
    height: 92px;
    z-index: 4;
}

.pcis-route-stage.route-stage .route-level-marker-icon {
    top: 35px;
    width: 18px;
    height: 18px;
}

.pcis-route-stage.route-stage .route-level-marker-label {
    min-width: 0;
    width: max-content;
    max-width: 132px;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
    padding: 7px 10px;
    font-size: 0.72rem;
    font-weight: 800;
}

.pcis-route-stage.route-stage .route-level-marker-1 .route-level-marker-label,
.pcis-route-stage.route-stage .route-level-marker-3 .route-level-marker-label {
    top: -54px;
}

.pcis-route-stage.route-stage .route-level-marker-2 .route-level-marker-label,
.pcis-route-stage.route-stage .route-level-marker-4 .route-level-marker-label {
    top: 56px;
}

.pcis-route-stage.route-stage .route-pause-callout {
    right: 24px;
    bottom: 20px;
    max-width: 300px;
}

@media (max-width: 760px) {
    .pcis-route-section .route-legend,
    .pcis-route-stage.route-stage,
    .pcis-case-steps-inline {
        display: none;
    }

    .pcis-mobile-route {
        display: grid;
        gap: 0;
        margin-top: 16px;
        padding: 8px 0;
    }

    .pcis-mobile-route-node {
        position: relative;
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
        align-items: start;
        padding: 0 0 22px;
    }

    .pcis-mobile-route-node:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 21px;
        top: 44px;
        bottom: 0;
        width: 3px;
        border-radius: 999px;
        background: #dbeafe;
    }

    .pcis-mobile-route-step,
    .pcis-mobile-route-flag {
        position: relative;
        z-index: 1;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, 0.12);
        box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
        font-weight: 900;
        color: var(--secondary);
    }

    .pcis-mobile-route-flag {
        font-size: 1.55rem;
    }

    .pcis-mobile-route-node strong {
        display: block;
        color: #0f172a;
        line-height: 1.2;
        margin-top: 3px;
    }

    .pcis-mobile-route-node small {
        display: block;
        color: #64748b;
        line-height: 1.35;
        margin-top: 4px;
    }

    .pcis-mobile-route-node.is-complete .pcis-mobile-route-step {
        background: #10b981;
        color: #ffffff;
        border-color: #10b981;
    }

    .pcis-mobile-route-node.is-current .pcis-mobile-route-step {
        background: #2563eb;
        color: #ffffff;
        border-color: #2563eb;
        box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.12);
    }

    .pcis-mobile-route-node.is-blocked .pcis-mobile-route-step {
        background: #dc2626;
        color: #ffffff;
        border-color: #dc2626;
        box-shadow: 0 0 0 8px rgba(220, 38, 38, 0.12);
    }
}

.pcis-route-stage.route-stage .route-level-marker {
    width: 112px;
    height: 78px;
}

.pcis-route-stage.route-stage .route-level-marker-icon {
    top: 32px;
    width: 14px;
    height: 14px;
}

.pcis-route-stage.route-stage .route-level-marker-label {
    max-width: 112px;
    padding: 5px 8px;
    font-size: 0.66rem;
    line-height: 1.1;
}

.pcis-route-stage.route-stage .route-level-marker-1 .route-level-marker-label,
.pcis-route-stage.route-stage .route-level-marker-2 .route-level-marker-label,
.pcis-route-stage.route-stage .route-level-marker-4 .route-level-marker-label {
    top: 50px;
}

.pcis-route-stage.route-stage .route-level-marker-3 .route-level-marker-label {
    top: -44px;
}

.pcis-route-stage.route-stage .route-level-marker[data-route-level-status="approved"] .route-level-marker-label {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.24);
}

.pcis-route-stage.route-stage .route-level-marker[data-route-level-status="approved"] .route-level-marker-icon {
    color: #10b981;
}

.pcis-route-stage.route-stage .route-level-marker[data-route-level-status="current"] .route-level-marker-label {
    border-color: rgba(37, 99, 235, 0.28);
    color: #1d4ed8;
}

.pcis-route-stage.route-stage .route-level-marker[data-route-level-status="blocked"] .route-level-marker-label {
    background: #fff1f2;
    border-color: rgba(220, 38, 38, 0.3);
    color: #b91c1c;
}

.pcis-route-stage.route-stage .route-track-approved {
    fill: none;
    stroke: #10b981;
    stroke-width: 9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pcis-route-stage.route-stage .route-track-dash {
    opacity: 0.28;
}

.pcis-route-stage.route-stage .route-track-line {
    fill: none;
    stroke: rgba(15, 23, 42, 0.10);
    stroke-width: 13;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pcis-route-stage.route-stage .route-track-dash {
    display: none;
}

.pcis-route-stage.route-stage .route-track-approved,
.pcis-route-stage.route-stage .route-track-alert {
    fill: none;
    stroke-width: 9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pcis-route-stage.route-stage .route-track-approved {
    stroke: #10b981;
}

.pcis-route-stage.route-stage .route-track-alert {
    stroke: #f59e0b;
}

.pcis-route-stage.route-stage .route-track-alert-blocked {
    stroke: #dc2626;
}

.pcis-route-stage.route-stage .route-track-alert-pending {
    stroke: #f59e0b;
}

.pcis-route-stage.route-stage .route-level-marker {
    width: 124px;
    height: 56px;
    filter: drop-shadow(0 8px 14px rgba(15, 23, 42, 0.12));
}

.pcis-route-stage.route-stage .route-level-marker-dot {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border: 3px solid #94a3b8;
    box-shadow: 0 0 0 6px rgba(148, 163, 184, 0.12);
}

.pcis-route-stage.route-stage .route-level-marker[data-route-level-status="approved"] .route-level-marker-dot {
    border-color: #10b981;
    background: #10b981;
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0.14);
}

.pcis-route-stage.route-stage .route-level-marker[data-route-level-status="current"] .route-level-marker-dot,
.pcis-route-stage.route-stage .route-level-marker[data-route-level-status="pending"] .route-level-marker-dot {
    border-color: #f59e0b;
    background: #ffffff;
    box-shadow: 0 0 0 7px rgba(245, 158, 11, 0.14);
}

.pcis-route-stage.route-stage .route-level-marker[data-route-level-status="blocked"] .route-level-marker-dot {
    border-color: #dc2626;
    background: #dc2626;
    box-shadow: 0 0 0 8px rgba(220, 38, 38, 0.16);
}

.pcis-route-stage.route-stage .route-level-marker-label {
    display: inline-flex;
    position: absolute;
    left: 50%;
    top: 36px;
    max-width: 116px;
    transform: translateX(-50%);
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f59e0b;
    border: 1px solid rgba(255, 255, 255, 0.82);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.16);
}

.pcis-route-stage.route-stage .route-level-marker-start .route-level-marker-label {
    left: 8px;
    transform: none;
}

.pcis-route-stage.route-stage .route-level-marker-end .route-level-marker-label {
    left: auto;
    right: 8px;
    transform: none;
}

.pcis-route-stage.route-stage .route-level-marker-above .route-level-marker-label {
    top: -8px;
}

.pcis-route-stage.route-stage .route-level-marker[data-route-level-status="approved"] .route-level-marker-label {
    background: #10b981;
    border-color: rgba(255, 255, 255, 0.86);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.18);
}

.pcis-route-stage.route-stage .route-level-marker[data-route-level-status="current"] .route-level-marker-label,
.pcis-route-stage.route-stage .route-level-marker[data-route-level-status="pending"] .route-level-marker-label {
    background: #f59e0b;
    border-color: rgba(255, 255, 255, 0.82);
    color: #ffffff;
}

.pcis-route-stage.route-stage .route-level-marker[data-route-level-status="blocked"] .route-level-marker-label {
    background: #dc2626;
    border-color: rgba(255, 255, 255, 0.82);
    color: #ffffff;
}

.pcis-route-stage.route-stage .route-level-marker-icon {
    display: none;
}

.pcis-route-section .pcis-case-steps li strong,
.pcis-route-section .pcis-case-steps li p,
.pcis-route-section .pcis-case-steps li .pcis-step-block-reason,
.pcis-route-section .pcis-case-steps li .pcis-step-message {
    font-weight: 400;
}

.pcis-route-section .pcis-case-steps li strong {
    color: #111827;
}

.pcis-route-section {
    overflow: hidden;
}

.pcis-route-stage.route-stage {
    height: 230px;
    margin-top: 14px;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.96));
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.pcis-route-stage.route-stage::before,
.pcis-route-stage.route-stage::after {
    display: none;
}

.pcis-route-stage.route-stage .route-node-label {
    top: -38px;
    min-width: 96px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}

.pcis-route-stage.route-stage .route-node-start,
.pcis-route-stage.route-stage .route-node-end {
    top: 54%;
}

.pcis-route-stage.route-stage .route-track-line {
    stroke: rgba(15, 23, 42, 0.12);
    stroke-width: 11;
}

.pcis-route-stage.route-stage .route-track-approved,
.pcis-route-stage.route-stage .route-track-alert {
    stroke-width: 8;
}

.pcis-route-stage.route-stage .route-level-marker {
    width: 28px;
    height: 28px;
    filter: none;
    z-index: 3;
}

.pcis-route-stage.route-stage .route-level-marker-dot {
    width: 16px;
    height: 16px;
    border-width: 3px;
    box-shadow: 0 0 0 6px rgba(148, 163, 184, 0.12);
}

.pcis-route-stage.route-stage .route-level-marker-label,
.pcis-mobile-route {
    display: none !important;
}

.pcis-current-step-panel {
    margin-top: 14px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: none;
}

.pcis-step-board {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0 0;
    padding: 0;
}

.pcis-step-board li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    min-height: 96px;
    padding: 12px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
}

.pcis-step-board .pcis-step-marker {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(100, 116, 139, 0.26);
    background: #f8fafc;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
}

.pcis-step-board li.is-complete .pcis-step-marker {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.pcis-step-board li.is-current .pcis-step-marker {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #ffffff;
}

.pcis-step-board li.is-blocked .pcis-step-marker {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
}

.pcis-step-board strong {
    display: block;
    margin-top: 6px;
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.pcis-step-board p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.pcis-step-status-chip {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(100, 116, 139, 0.10);
    color: #475569;
    font-size: 0.64rem;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

.pcis-step-board li.is-complete .pcis-step-status-chip {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
}

.pcis-step-board li.is-current .pcis-step-status-chip {
    background: rgba(245, 158, 11, 0.15);
    color: #92400e;
}

.pcis-step-board li.is-blocked .pcis-step-status-chip {
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
}

@media (max-width: 980px) {
    .pcis-step-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .pcis-route-stage.route-stage {
        height: 180px;
    }

    .pcis-step-board {
        grid-template-columns: 1fr;
    }

    .pcis-step-board li {
        min-height: 0;
    }
}

.pcis-route-stage.route-stage {
    height: 360px;
}

.pcis-route-stage.route-stage .route-level-marker {
    width: 154px;
    height: 112px;
}

.pcis-route-stage.route-stage .route-level-marker-label {
    width: max-content;
    min-width: 88px;
    max-width: 154px;
    min-height: 24px;
    max-height: none;
    padding: 5px 8px;
    font-size: 0.64rem;
    font-weight: 500;
    line-height: 1.08;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
    word-break: normal;
}

.pcis-route-stage.route-stage .route-level-marker-label-long {
    max-width: 168px;
    font-size: 0.58rem;
}

.pcis-route-stage.route-stage .route-level-marker-label-xlong {
    max-width: 184px;
    font-size: 0.52rem;
    line-height: 1.04;
    border-radius: 10px;
}

.pcis-route-stage.route-stage .route-level-marker-label-xxlong {
    max-width: 210px;
    font-size: 0.48rem;
    line-height: 1.02;
    border-radius: 8px;
}

.pcis-route-stage.route-stage .route-level-marker-above .route-level-marker-label {
    top: -52px;
}

.pcis-route-stage.route-stage .route-level-marker-below .route-level-marker-label {
    top: 58px;
}

.pcis-route-stage.route-stage .route-level-marker-start .route-level-marker-label,
.pcis-route-stage.route-stage .route-level-marker-end .route-level-marker-label {
    max-width: 150px;
}

@media (max-width: 980px) {
    .pcis-route-section .route-legend {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .pcis-route-stage.route-stage,
    .pcis-case-steps-inline {
        display: none;
    }

    .pcis-mobile-route {
        display: grid;
        gap: 10px;
        margin-top: 16px;
        padding: 0;
    }

    .pcis-mobile-route-node {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 10px;
        padding: 12px;
        border-radius: 8px;
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, 0.10);
        box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
    }

    .pcis-mobile-route-node:not(:last-child)::after {
        display: none;
    }

    .pcis-mobile-route-step,
    .pcis-mobile-route-flag {
        width: 38px;
        height: 38px;
        font-size: 0.82rem;
        font-weight: 600;
    }

    .pcis-mobile-route-node strong {
        font-size: 0.92rem;
        font-weight: 500;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .pcis-mobile-route-node small {
        font-size: 0.8rem;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .pcis-current-step-panel {
        padding: 14px;
    }
}

/* Final PQTC tracking presentation */
.pcis-route-section .pcis-mobile-route {
    display: none !important;
}

.pcis-route-section .pcis-route-stage.route-stage {
    height: 230px !important;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker {
    width: 28px !important;
    height: 28px !important;
    filter: none;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker-label,
.pcis-route-section .pcis-route-stage.route-stage .route-level-marker-icon {
    display: none !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-node-start,
.pcis-route-section .pcis-route-stage.route-stage .route-node-end {
    top: 54%;
}

.pcis-route-section .pcis-route-stage.route-stage .route-node-label {
    top: -38px;
    border-radius: 999px;
}

.pcis-route-section .pcis-step-board {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0 0;
    padding: 0;
}

.pcis-route-section .pcis-step-board li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    min-height: 96px;
    padding: 12px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
}

.pcis-route-section .pcis-step-board .pcis-step-marker {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(100, 116, 139, 0.26);
    background: #f8fafc;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
}

.pcis-route-section .pcis-step-board li.is-complete .pcis-step-marker {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.pcis-route-section .pcis-step-board li.is-current .pcis-step-marker {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #ffffff;
}

.pcis-route-section .pcis-step-board li.is-blocked .pcis-step-marker {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
}

.pcis-route-section .pcis-step-board strong {
    display: block;
    margin-top: 6px;
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.pcis-route-section .pcis-step-board p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.pcis-route-section .pcis-step-status-chip {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(100, 116, 139, 0.10);
    color: #475569;
    font-size: 0.64rem;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

.pcis-route-section .pcis-step-board li.is-complete .pcis-step-status-chip {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
}

.pcis-route-section .pcis-step-board li.is-current .pcis-step-status-chip {
    background: rgba(245, 158, 11, 0.15);
    color: #92400e;
}

.pcis-route-section .pcis-step-board li.is-blocked .pcis-step-status-chip {
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
}

@media (max-width: 980px) {
    .pcis-route-section .pcis-step-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .pcis-route-section .pcis-route-stage.route-stage {
        height: 180px !important;
    }

    .pcis-route-section .pcis-step-board {
        grid-template-columns: 1fr;
    }

    .pcis-route-section .pcis-step-board li {
        min-height: 0;
    }
}

/* Compact trajectory labels */
.pcis-route-section .pcis-route-stage.route-stage {
    height: 320px !important;
    border-radius: 8px;
}

.pcis-route-section .pcis-case-steps-inline,
.pcis-route-section .pcis-mobile-route {
    display: none !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker {
    width: 116px !important;
    height: 64px !important;
    filter: drop-shadow(0 6px 10px rgba(15, 23, 42, 0.10));
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker-dot {
    width: 14px;
    height: 14px;
    border-width: 2px;
    box-shadow: 0 0 0 5px rgba(148, 163, 184, 0.10);
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker[data-route-level-status="approved"] .route-level-marker-dot {
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.13);
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker[data-route-level-status="current"] .route-level-marker-dot,
.pcis-route-section .pcis-route-stage.route-stage .route-level-marker[data-route-level-status="pending"] .route-level-marker-dot {
    box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.13);
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker[data-route-level-status="blocked"] .route-level-marker-dot {
    box-shadow: 0 0 0 5px rgba(220, 38, 38, 0.14);
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker[data-route-level-status="future"] .route-level-marker-dot {
    border-color: #94a3b8;
    background: #ffffff;
    box-shadow: 0 0 0 5px rgba(148, 163, 184, 0.12);
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker-label {
    display: inline-flex !important;
    position: absolute;
    left: 50%;
    top: 34px;
    width: max-content;
    min-width: 0;
    max-width: 116px;
    min-height: 20px;
    transform: translateX(-50%);
    align-items: center;
    justify-content: center;
    padding: 3px 7px;
    border-radius: 999px;
    background: #f59e0b;
    border: 1px solid rgba(255, 255, 255, 0.72);
    color: #ffffff;
    font-size: 0.58rem;
    font-weight: 500;
    line-height: 1.08;
    text-align: center;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
    box-shadow: 0 7px 14px rgba(15, 23, 42, 0.12);
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker-label-long {
    max-width: 126px;
    font-size: 0.53rem;
    padding: 3px 6px;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker-label-xlong {
    max-width: 138px;
    font-size: 0.49rem;
    padding: 3px 5px;
    border-radius: 7px;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker-label-xxlong {
    max-width: 150px;
    font-size: 0.46rem;
    padding: 3px 5px;
    border-radius: 6px;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker-above .route-level-marker-label {
    top: -30px;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker-below .route-level-marker-label {
    top: 40px;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker-start .route-level-marker-label {
    left: 4px;
    transform: none;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker-end .route-level-marker-label {
    left: auto;
    right: 4px;
    transform: none;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker[data-route-level-status="approved"] .route-level-marker-label {
    background: #10b981;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker[data-route-level-status="current"] .route-level-marker-label,
.pcis-route-section .pcis-route-stage.route-stage .route-level-marker[data-route-level-status="pending"] .route-level-marker-label {
    background: #f59e0b;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker[data-route-level-status="blocked"] .route-level-marker-label {
    background: #dc2626;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker[data-route-level-status="future"] .route-level-marker-label {
    background: #64748b;
}

@media (max-width: 760px) {
    .pcis-route-section .pcis-route-stage.route-stage {
        display: none !important;
    }

    .pcis-route-section .route-legend {
        display: flex !important;
        flex-wrap: wrap;
        gap: 8px;
    }

    .pcis-route-section .pcis-route-stage.route-stage .route-level-marker {
        width: 104px !important;
        height: 72px !important;
    }

    .pcis-route-section .pcis-route-stage.route-stage .route-level-marker-label {
        max-width: 104px;
        font-size: 0.5rem;
        padding: 3px 5px;
    }

    .pcis-route-section .pcis-route-stage.route-stage .route-level-marker-label-long {
        max-width: 116px;
        font-size: 0.46rem;
    }

    .pcis-route-section .pcis-route-stage.route-stage .route-level-marker-label-xlong,
    .pcis-route-section .pcis-route-stage.route-stage .route-level-marker-label-xxlong {
        max-width: 128px;
        font-size: 0.42rem;
    }

    .pcis-route-section .pcis-route-stage.route-stage .route-node-start,
    .pcis-route-section .pcis-route-stage.route-stage .route-node-end {
        top: 54%;
    }

    .pcis-route-section .pcis-mobile-route {
        display: grid !important;
        gap: 0;
        margin-top: 14px;
        padding: 4px 0;
    }

    .pcis-route-section .pcis-mobile-route-node {
        position: relative;
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 12px;
        padding: 0 0 20px;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .pcis-route-section .pcis-mobile-route-node:not(:last-child)::after {
        content: "";
        display: block;
        position: absolute;
        left: 18px;
        top: 38px;
        bottom: 0;
        width: 3px;
        border-radius: 999px;
        background: #e2e8f0;
    }

    .pcis-route-section .pcis-mobile-route-node.is-complete:not(:last-child)::after {
        background: #10b981;
    }

    .pcis-route-section .pcis-mobile-route-node.is-current:not(:last-child)::after {
        background: #f59e0b;
    }

    .pcis-route-section .pcis-mobile-route-node.is-blocked:not(:last-child)::after {
        background: #dc2626;
    }

    .pcis-route-section .pcis-mobile-route-node.is-future:not(:last-child)::after {
        background: #e2e8f0;
    }

    .pcis-route-section .pcis-mobile-route-step {
        position: relative;
        z-index: 1;
        width: 38px;
        height: 38px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: #ffffff;
        border: 2px solid #cbd5e1;
        color: #475569;
        font-size: 0.78rem;
        font-weight: 600;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    }

    .pcis-route-section .pcis-mobile-route-node.is-complete .pcis-mobile-route-step {
        background: #10b981;
        border-color: #10b981;
        color: #ffffff;
    }

    .pcis-route-section .pcis-mobile-route-node.is-current .pcis-mobile-route-step {
        background: #f59e0b;
        border-color: #f59e0b;
        color: #ffffff;
    }

    .pcis-route-section .pcis-mobile-route-node.is-blocked .pcis-mobile-route-step {
        background: #dc2626;
        border-color: #dc2626;
        color: #ffffff;
    }

    .pcis-route-section .pcis-mobile-route-node.is-future .pcis-mobile-route-step {
        background: #ffffff;
        border-color: #cbd5e1;
        color: #64748b;
    }

    .pcis-route-section .pcis-mobile-route-node > div {
        min-width: 0;
        padding: 10px 12px;
        border-radius: 8px;
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, 0.10);
    }

    .pcis-route-section .pcis-mobile-route-node strong {
        display: block;
        color: #0f172a;
        font-size: 0.94rem;
        font-weight: 600;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .pcis-route-section .pcis-mobile-route-node small {
        display: block;
        margin-top: 4px;
        color: #64748b;
        font-size: 0.8rem;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .pcis-mobile-folder-icon {
        font-size: 0.84rem;
        line-height: 1;
    }
}

@media (min-width: 761px) and (max-width: 980px) {
    .pcis-route-section .pcis-route-stage.route-stage {
        display: block !important;
    }
}

@keyframes pcisLiveStepPulse {
    0% {
        transform: scale(1);
        box-shadow:
            0 8px 18px rgba(15, 23, 42, 0.08),
            0 0 0 0 rgba(245, 158, 11, 0.34);
    }
    45% {
        transform: scale(1.08);
        box-shadow:
            0 12px 26px rgba(245, 158, 11, 0.24),
            0 0 0 12px rgba(245, 158, 11, 0.08);
    }
    100% {
        transform: scale(1);
        box-shadow:
            0 8px 18px rgba(15, 23, 42, 0.08),
            0 0 0 0 rgba(245, 158, 11, 0);
    }
}

@keyframes pcisLiveStepIcon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

@keyframes pcisLiveStepFlow {
    0% {
        background-position: 0 100%;
    }
    100% {
        background-position: 0 0;
    }
}

@media (max-width: 760px) {
    .pcis-route-section .pcis-mobile-route-node.is-current .pcis-mobile-route-step {
        position: relative;
        isolation: isolate;
        animation: pcisLiveStepPulse 1.7s ease-in-out infinite;
    }

    .pcis-route-section .pcis-mobile-route-node.is-current .pcis-mobile-route-step::before {
        content: "";
        position: absolute;
        inset: -9px;
        z-index: -1;
        border-radius: 50%;
        border: 2px solid rgba(245, 158, 11, 0.28);
        animation: pcisLiveStepPulse 1.7s ease-in-out infinite;
    }

    .pcis-route-section .pcis-mobile-route-node.is-current .pcis-mobile-folder-icon {
        display: inline-block;
        animation: pcisLiveStepIcon 0.85s ease-in-out infinite;
    }

    .pcis-route-section .pcis-mobile-route-node.is-current:not(:last-child)::after {
        background:
            linear-gradient(180deg, rgba(245, 158, 11, 0.22), #f59e0b 48%, rgba(245, 158, 11, 0.22)),
            #f59e0b;
        background-size: 100% 42px, 100% 100%;
        animation: pcisLiveStepFlow 1.15s linear infinite;
        box-shadow: 0 0 14px rgba(245, 158, 11, 0.35);
    }

    .pcis-route-section .pcis-mobile-route-node.is-current > div {
        border-color: rgba(245, 158, 11, 0.34);
        box-shadow:
            0 12px 26px rgba(245, 158, 11, 0.10),
            inset 3px 0 0 rgba(245, 158, 11, 0.86);
    }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
    .pcis-route-section .pcis-mobile-route-node.is-current .pcis-mobile-route-step,
    .pcis-route-section .pcis-mobile-route-node.is-current .pcis-mobile-route-step::before,
    .pcis-route-section .pcis-mobile-route-node.is-current .pcis-mobile-folder-icon,
    .pcis-route-section .pcis-mobile-route-node.is-current:not(:last-child)::after {
        animation: none;
    }
}

@keyframes pcisDesktopStepPulse {
    0% {
        filter: drop-shadow(0 6px 10px rgba(15, 23, 42, 0.10));
    }
    50% {
        filter: drop-shadow(0 12px 22px rgba(245, 158, 11, 0.26));
    }
    100% {
        filter: drop-shadow(0 6px 10px rgba(15, 23, 42, 0.10));
    }
}

@keyframes pcisDesktopDotPulse {
    0%, 100% {
        box-shadow:
            0 0 0 5px rgba(245, 158, 11, 0.13),
            0 0 0 0 rgba(245, 158, 11, 0.30);
    }
    50% {
        box-shadow:
            0 0 0 5px rgba(245, 158, 11, 0.16),
            0 0 0 14px rgba(245, 158, 11, 0.06);
    }
}

@keyframes pcisDesktopLabelLive {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-3px);
    }
}

@keyframes pcisDesktopTrackLive {
    0% {
        opacity: 0.82;
        filter: drop-shadow(0 0 0 rgba(245, 158, 11, 0));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.35));
    }
    100% {
        opacity: 0.82;
        filter: drop-shadow(0 0 0 rgba(245, 158, 11, 0));
    }
}

@media (min-width: 761px) {
    .pcis-route-section .pcis-route-stage.route-stage .route-track-alert-pending {
        animation: pcisDesktopTrackLive 1.45s linear infinite;
    }

    .pcis-route-section .pcis-route-stage.route-stage .route-level-marker[data-route-level-status="current"],
    .pcis-route-section .pcis-route-stage.route-stage .route-level-marker[data-route-level-status="pending"] {
        animation: pcisDesktopStepPulse 1.7s ease-in-out infinite;
    }

    .pcis-route-section .pcis-route-stage.route-stage .route-level-marker[data-route-level-status="current"] .route-level-marker-dot,
    .pcis-route-section .pcis-route-stage.route-stage .route-level-marker[data-route-level-status="pending"] .route-level-marker-dot {
        animation: pcisDesktopDotPulse 1.7s ease-in-out infinite;
    }

    .pcis-route-section .pcis-route-stage.route-stage .route-level-marker[data-route-level-status="current"] .route-level-marker-label,
    .pcis-route-section .pcis-route-stage.route-stage .route-level-marker[data-route-level-status="pending"] .route-level-marker-label {
        animation: pcisDesktopLabelLive 1.7s ease-in-out infinite;
    }

    .pcis-route-section .pcis-route-stage.route-stage .route-level-marker-start[data-route-level-status="current"] .route-level-marker-label,
    .pcis-route-section .pcis-route-stage.route-stage .route-level-marker-start[data-route-level-status="pending"] .route-level-marker-label,
    .pcis-route-section .pcis-route-stage.route-stage .route-level-marker-end[data-route-level-status="current"] .route-level-marker-label,
    .pcis-route-section .pcis-route-stage.route-stage .route-level-marker-end[data-route-level-status="pending"] .route-level-marker-label {
        animation: none;
    }

    .pcis-route-section .route-marker:not(.is-paused) .route-marker-icon {
        animation: pcisDesktopStepPulse 1.9s ease-in-out infinite;
    }
}

@media (min-width: 761px) and (prefers-reduced-motion: reduce) {
    .pcis-route-section .pcis-route-stage.route-stage .route-track-alert-pending,
    .pcis-route-section .pcis-route-stage.route-stage .route-level-marker,
    .pcis-route-section .pcis-route-stage.route-stage .route-level-marker-dot,
    .pcis-route-section .pcis-route-stage.route-stage .route-level-marker-label,
    .pcis-route-section .route-marker .route-marker-icon {
        animation: none !important;
    }
}

.pcis-route-section .route-legend-dot-transit {
    background: #94a3b8 !important;
}

.pcis-route-section .route-marker {
    width: 44px;
    height: 44px;
}

.pcis-route-section .route-marker-icon {
    width: 30px;
    height: 30px;
    box-shadow:
        0 8px 18px rgba(220, 38, 38, 0.14),
        0 0 0 1px rgba(255,255,255,0.72) inset;
}

.pcis-route-section .route-marker-icon::before {
    inset: -5px;
    opacity: 0.38;
}

.pcis-route-section .transport-icon svg {
    width: 14px;
    height: 14px;
}

/* Premium PQTC dossier view */
.pcis-case-page {
    width: min(1180px, calc(100% - 40px));
    padding-top: 28px;
    padding-bottom: 56px;
}

.pcis-case-summary {
    position: relative;
    gap: 18px;
    padding: 28px;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.97)),
        radial-gradient(circle at 8% 0%, rgba(15,110,115,0.12), transparent 28%),
        radial-gradient(circle at 94% 0%, rgba(244,180,0,0.16), transparent 26%);
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.pcis-case-summary::before {
    height: 5px;
    background: linear-gradient(90deg, #0f6e73, #2f6df6 46%, #f4b400);
}

.tracking-header {
    align-items: start;
    padding: 2px 0 6px;
}

.tracking-header .eyebrow {
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(15, 110, 115, 0.10);
    color: #0f6e73;
    font-size: 0.78rem;
    font-weight: 800;
}

.tracking-header h1 {
    margin: 9px 0 4px;
    color: #071424;
    font-size: clamp(1.75rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: 0;
}

.pcis-header-subtitle {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.tracking-header .status-badge {
    min-height: 44px;
    padding: 10px 17px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10);
    font-weight: 900;
}

.pcis-executive-strip {
    display: grid;
    grid-template-columns: minmax(180px, 1.05fr) repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.pcis-executive-card {
    min-height: 108px;
    padding: 16px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
    min-width: 0;
}

.pcis-executive-card span,
.pcis-decision-panel > span {
    display: block;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.pcis-executive-card strong {
    display: block;
    margin-top: 9px;
    color: #071424;
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.pcis-executive-card-progress strong {
    font-size: 2.25rem;
}

.pcis-executive-card small {
    display: block;
    margin-top: 7px;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.28;
    overflow-wrap: anywhere;
}

.pcis-mini-progress {
    height: 8px;
    margin-top: 14px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.pcis-mini-progress i {
    display: block;
    height: 100%;
    max-width: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #10b981, #f4b400);
}

.pcis-profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 16px;
    align-items: stretch;
}

.tracking-section,
.pcis-decision-panel {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.tracking-section {
    padding: 20px;
}

.tracking-section::before,
.tracking-section::after {
    display: none;
}

.tracking-section-kicker {
    color: #0f6e73;
    font-size: 0.72rem;
    font-weight: 900;
}

.tracking-section h2 {
    margin-bottom: 0;
    color: #071424;
    font-size: 1.2rem;
    line-height: 1.12;
    letter-spacing: 0;
}

.tracking-meta-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.tracking-meta-grid div {
    min-height: 74px;
    padding: 13px 14px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: none;
}

.tracking-meta-grid span {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
}

.tracking-meta-grid strong {
    margin-top: 7px;
    color: #071424;
    font-size: 0.93rem;
    line-height: 1.25;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.pcis-decision-panel {
    display: grid;
    align-content: start;
    padding: 20px;
    background:
        linear-gradient(180deg, #071424, #10243d),
        radial-gradient(circle at 100% 0%, rgba(244,180,0,0.28), transparent 36%);
    color: #ffffff;
}

.pcis-decision-panel > span {
    color: rgba(255,255,255,0.68);
}

.pcis-decision-panel > strong {
    display: block;
    margin-top: 10px;
    color: #ffffff;
    font-size: 1.55rem;
    line-height: 1.12;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.pcis-decision-panel p,
.pcis-decision-panel > div {
    margin: 14px 0 0;
    color: rgba(255,255,255,0.78);
    font-size: 0.92rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.pcis-decision-panel dl {
    display: grid;
    gap: 10px;
    margin: 22px 0 0;
}

.pcis-decision-panel dl div {
    padding: 12px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
}

.pcis-decision-panel dt,
.pcis-decision-panel dd {
    margin: 0;
}

.pcis-decision-panel dt {
    color: rgba(255,255,255,0.60);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.pcis-decision-panel dd {
    margin-top: 5px;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 900;
}

.pcis-route-section .route-legend {
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: transparent;
}

.pcis-route-section .pcis-route-stage.route-stage {
    height: 250px !important;
    margin-top: 16px;
    border-radius: 8px;
    background:
        linear-gradient(180deg, #ffffff, #f8fafc),
        linear-gradient(90deg, rgba(15,110,115,0.08), rgba(244,180,0,0.08));
    border-color: rgba(15, 23, 42, 0.10);
}

.pcis-route-section .pcis-route-stage.route-stage .route-track-line {
    stroke: #dbe3ed;
    stroke-width: 10;
}

.pcis-route-section .pcis-route-stage.route-stage .route-track-approved,
.pcis-route-section .pcis-route-stage.route-stage .route-track-alert {
    stroke-width: 7;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker-label {
    min-height: 22px;
    border-radius: 6px;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: none;
}

.pcis-current-step-panel {
    display: grid;
    gap: 5px;
    padding: 16px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.10);
}

.pcis-current-step-panel span {
    width: max-content;
    max-width: 100%;
    border-radius: 999px;
    background: rgba(15, 110, 115, 0.10);
    color: #0f6e73;
    font-size: 0.7rem;
    font-weight: 900;
}

.pcis-current-step-panel strong {
    color: #071424;
    font-size: 1rem;
}

.pcis-current-step-panel p,
.pcis-current-step-panel div {
    color: #64748b;
}

.tracking-section-history .timeline {
    gap: 12px;
}

.timeline-day-header {
    padding: 0 0 8px 32px;
}

.timeline-item {
    grid-template-columns: 24px minmax(0, 1fr);
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    margin-top: 18px;
    border: 3px solid #dbeafe;
    background: #2563eb;
}

.timeline-card-content {
    padding: 16px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.timeline-item-head strong {
    color: #071424;
    font-size: 0.96rem;
    font-weight: 900;
}

.timeline-item p,
.timeline-meta {
    color: #64748b;
}

@media (max-width: 980px) {
    .pcis-case-page {
        width: min(100% - 24px, 1180px);
    }

    .pcis-executive-strip,
    .pcis-profile-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pcis-decision-panel {
        grid-column: 1 / -1;
    }

    .tracking-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .pcis-case-page {
        width: min(100% - 18px, 1180px);
        padding-top: 14px;
    }

    .pcis-case-summary {
        padding: 16px;
    }

    .tracking-header,
    .pcis-executive-strip,
    .pcis-profile-grid,
    .tracking-meta-grid {
        grid-template-columns: 1fr;
    }

    .tracking-header {
        gap: 12px;
    }

    .tracking-header .status-badge {
        width: max-content;
        max-width: 100%;
    }

    .pcis-executive-card {
        min-height: 0;
    }

    .tracking-section {
        padding: 16px;
    }

    .tracking-meta-grid div {
        min-height: 0;
    }
}

/* Premium search portal */
.pcis-search-page {
    width: min(1180px, calc(100% - 40px));
    padding: 44px 0 22px;
}

.pcis-search-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.78fr);
    gap: 34px;
    align-items: center;
    min-height: 560px;
    padding: 54px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.94), rgba(248,250,252,0.88)),
        var(--pcis-search-image, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.13);
    overflow: hidden;
}

.pcis-search-shell::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, #2563eb, #0f6e73 48%, #f59e0b);
}

.pcis-search-shell::after {
    display: none;
}

.pcis-search-copy,
.pcis-status-preview {
    position: relative;
    z-index: 1;
}

.pcis-search-kicker-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.pcis-search-kicker-row .eyebrow {
    padding: 8px 12px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 900;
}

.pcis-service-state {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.10);
    color: #047857;
    font-size: 0.78rem;
    font-weight: 900;
}

.pcis-service-state::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 5px rgba(16,185,129,0.12);
}

.pcis-search-copy h1 {
    position: relative;
    width: max-content;
    max-width: 620px;
    margin: 16px 0 22px;
    padding-bottom: 14px;
    color: #071424;
    font-size: clamp(1.95rem, 3.5vw, 3.1rem);
    line-height: 1.06;
    letter-spacing: 0;
}

.pcis-search-copy h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(240px, 48%);
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0f6e73, #f59e0b);
}

.tracking-search-lead {
    max-width: 620px;
    margin: 0;
    color: #475569;
    font-size: 1.04rem;
    line-height: 1.75;
    font-weight: 600;
}

.tracking-search-form {
    width: min(100%, 650px);
    margin-top: 30px;
    padding: 18px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 22px 52px rgba(15, 23, 42, 0.10);
}

.pcis-search-form-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 10px;
}

.tracking-form .pcis-search-form-head label {
    margin: 0;
    color: #071424;
    font-size: 0.92rem;
    font-weight: 900;
}

.pcis-search-form-head span {
    color: #0f6e73;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.tracking-search-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 210px;
    gap: 12px;
}

.tracking-search-input-row input {
    width: 100%;
    min-height: 58px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.16);
    background: #f8fafc;
    color: #071424;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.78);
}

.tracking-search-input-row input:focus {
    outline: 3px solid rgba(37, 99, 235, 0.16);
    border-color: #2563eb;
    background: #ffffff;
}

.tracking-search-input-row .button-primary {
    min-height: 58px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1d4ed8, #071424);
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(29, 78, 216, 0.24);
}

.pcis-search-assurance {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.pcis-search-assurance span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #475569;
    font-size: 0.8rem;
    font-weight: 800;
}

.pcis-search-assurance span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0f6e73;
}

.pcis-status-preview {
    padding: 0;
    border-radius: 8px;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow:
        0 28px 70px rgba(15, 23, 42, 0.16),
        inset 0 1px 0 rgba(255,255,255,0.9);
    overflow: hidden;
}

.pcis-preview-simulation-title {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 18px 22px 16px;
    background:
        linear-gradient(135deg, #071424, #10243d 72%, #0f6e73);
    border-bottom: 5px solid #f59e0b;
}

.pcis-preview-simulation-title span {
    color: rgba(255,255,255,0.64);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.pcis-preview-simulation-title strong {
    display: block;
    margin-top: 4px;
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1.1;
}

.pcis-preview-simulation-title small {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.pcis-preview-simulation-title small::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16,185,129,0.18);
}

.pcis-preview-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
    padding: 22px 22px 14px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.pcis-preview-top span,
.pcis-preview-footer span {
    display: block;
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.pcis-preview-top strong,
.pcis-preview-footer strong {
    display: block;
    margin-top: 7px;
    color: #071424;
    font-size: 1rem;
    font-weight: 900;
}

.pcis-preview-top em {
    display: inline-flex;
    max-width: 150px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.14);
    color: #92400e;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
}

.pcis-preview-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 16px 22px 0;
}

.pcis-preview-metrics div {
    min-height: 74px;
    padding: 13px 14px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.pcis-preview-metrics span {
    display: block;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.pcis-preview-metrics strong {
    display: block;
    margin-top: 7px;
    color: #071424;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1;
}

.pcis-preview-progress {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin: 20px 22px 22px;
}

.pcis-preview-progress span {
    height: 10px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.pcis-preview-progress i {
    display: block;
    width: 72%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #10b981, #f59e0b);
}

.pcis-preview-progress strong {
    color: #071424;
    font-size: 1.15rem;
    font-weight: 900;
}

.pcis-status-preview .pcis-preview-steps {
    display: grid;
    gap: 0;
    margin: 0 22px;
    padding: 2px 0 16px;
}

.pcis-status-preview .pcis-preview-steps li {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 64px;
    padding: 0;
    align-items: center;
    color: #334155;
    font-size: 0.95rem;
    font-weight: 900;
}

.pcis-status-preview .pcis-preview-steps li:not(:last-child)::after {
    left: 20px;
    top: 36px;
    bottom: -2px;
    width: 2px;
    background: #dbeafe;
}

.pcis-status-preview .pcis-preview-steps span {
    width: 38px;
    height: 38px;
    border-width: 2px;
}

.pcis-status-preview .pcis-preview-steps .is-complete span {
    background: #10b981;
    border-color: #10b981;
}

.pcis-status-preview .pcis-preview-steps .is-current span {
    background: #f59e0b;
    border-color: #f59e0b;
    animation: pcisLiveStepPulse 1.7s ease-in-out infinite;
}

.pcis-preview-footer {
    margin: 0 22px;
    padding: 16px 0 20px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.tracking-search-note {
    max-width: 760px;
    margin: 18px 0 0;
    color: #64748b;
    font-size: 0.94rem;
    font-weight: 700;
}

@media (max-width: 980px) {
    .pcis-search-page {
        width: min(100% - 24px, 1180px);
        padding-top: 24px;
    }

    .pcis-search-shell {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 34px;
    }
}

@media (max-width: 640px) {
    .pcis-search-page {
        width: min(100% - 18px, 1180px);
        padding-top: 14px;
    }

    .pcis-search-shell {
        padding: 22px;
    }

    .pcis-search-copy h1 {
        width: auto;
        font-size: clamp(1.8rem, 9vw, 2.45rem);
    }

    .tracking-search-input-row,
    .pcis-search-form-head,
    .pcis-preview-top {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .tracking-search-input-row {
        display: grid;
    }

    .pcis-preview-top em {
        max-width: none;
        width: max-content;
    }

    .pcis-preview-simulation-title {
        align-items: start;
        flex-direction: column;
    }

    .pcis-preview-metrics {
        grid-template-columns: 1fr;
    }
}

/* PQTC visual overhaul */
:root {
    --pqtc-ink: #111827;
    --pqtc-navy: #0b1220;
    --pqtc-blue: #113d7c;
    --pqtc-red: #c5163d;
    --pqtc-gold: #d99a16;
    --pqtc-paper: #f7f4ef;
    --pqtc-line: rgba(17, 24, 39, 0.12);
}

.public-shell {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(247,244,239,0.98)),
        repeating-linear-gradient(135deg, rgba(17,24,39,0.018) 0 1px, transparent 1px 18px);
}

.public-shell .site-header {
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid rgba(17,24,39,0.08);
    box-shadow: 0 12px 30px rgba(17,24,39,0.05);
}

.site-header-shell::before {
    height: 4px;
    background: linear-gradient(90deg, var(--pqtc-blue), var(--pqtc-red) 52%, var(--pqtc-gold));
}

.public-shell .header-bar {
    grid-template-columns: minmax(340px, 1fr) auto auto;
    min-height: 96px;
}

.public-shell .brand {
    gap: 14px;
}

.public-shell .brand-mark-logo {
    width: 86px;
    height: 58px;
    min-width: 86px;
    max-width: 86px;
    border-radius: 10px;
    padding: 6px;
    box-shadow: none;
}

.public-shell .brand-mark-logo img {
    object-fit: contain;
}

.public-shell .brand-text {
    max-width: 360px;
    color: var(--pqtc-ink);
    font-size: 1.04rem;
    line-height: 1.15;
    font-weight: 900;
}

.public-shell .brand-subtitle {
    color: #667085;
    font-size: 0.84rem;
}

.public-shell .header-nav a {
    color: var(--pqtc-ink);
    border: 0;
    background: transparent;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(197,22,61,0.45);
    text-decoration-thickness: 3px;
    text-underline-offset: 8px;
}

.public-shell .lang-switcher a {
    border-radius: 999px;
    border: 0;
    background: transparent;
    color: #111827;
}

.public-shell .lang-switcher a.active {
    background: #111827;
    color: #ffffff;
}

.pcis-search-page {
    width: min(1220px, calc(100% - 48px));
    padding-top: 48px;
}

.pcis-search-shell {
    grid-template-columns: minmax(0, 1fr) 420px;
    min-height: 620px;
    overflow: hidden;
    border-radius: 0;
    border: 1px solid var(--pqtc-line);
    background:
        linear-gradient(90deg, rgba(247,244,239,0.98) 0%, rgba(247,244,239,0.92) 56%, rgba(11,18,32,0.04) 56%),
        var(--pcis-search-image, none);
    box-shadow: 0 28px 80px rgba(17,24,39,0.12);
}

.pcis-search-shell::before {
    inset: 0 auto 0 0;
    width: 8px;
    height: auto;
    background: linear-gradient(180deg, var(--pqtc-blue), var(--pqtc-red), var(--pqtc-gold));
    border-radius: 0;
}

.pcis-search-shell::after {
    content: "PQTC";
    display: block;
    position: absolute;
    left: clamp(26px, 4vw, 54px);
    bottom: 22px;
    color: rgba(17,24,39,0.045);
    font-size: clamp(6rem, 18vw, 15rem);
    line-height: 0.8;
    font-weight: 900;
    letter-spacing: 0;
    pointer-events: none;
}

.pcis-search-copy {
    padding: clamp(34px, 5vw, 68px);
    align-self: center;
}

.pcis-search-kicker-row .eyebrow,
.pcis-service-state {
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(17,24,39,0.10);
    color: var(--pqtc-blue);
    box-shadow: none;
}

.pcis-service-state {
    color: #047857;
}

.pcis-search-copy h1 {
    max-width: 640px;
    width: auto;
    color: var(--pqtc-ink);
    font-size: clamp(3.2rem, 6.2vw, 5.6rem);
    line-height: 0.92;
    letter-spacing: 0;
}

.pcis-search-copy h1::after {
    width: 112px;
    height: 6px;
    background: var(--pqtc-red);
}

.tracking-search-lead {
    max-width: 620px;
    color: #374151;
    font-size: 1.08rem;
}

.tracking-search-form {
    max-width: 760px;
    padding: 14px;
    border-radius: 0;
    background: #ffffff;
    border: 1px solid rgba(17,24,39,0.10);
    box-shadow: 0 18px 46px rgba(17,24,39,0.08);
}

.tracking-search-input-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 190px;
}

.tracking-search-input-row input,
.tracking-search-input-row .button-primary {
    border-radius: 0;
}

.tracking-search-input-row input {
    background: #f9fafb;
    border-color: rgba(17,24,39,0.12);
}

.tracking-search-input-row .button-primary,
.button-primary {
    background: linear-gradient(135deg, var(--pqtc-red), #8f1231);
    box-shadow: none;
}

.pcis-search-assurance span {
    border-radius: 0;
    color: var(--pqtc-ink);
    background: transparent;
    border-color: rgba(17,24,39,0.14);
}

.pcis-status-preview {
    align-self: stretch;
    display: grid;
    align-content: center;
    gap: 18px;
    padding: 34px;
    border-radius: 0;
    background: var(--pqtc-navy);
    color: #ffffff;
    box-shadow: none;
    border: 0;
}

.pcis-preview-simulation-title {
    margin: 0;
    padding: 0 0 18px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    background: transparent;
}

.pcis-preview-simulation-title strong,
.pcis-preview-top strong,
.pcis-preview-progress strong,
.pcis-preview-footer strong,
.pcis-preview-metrics strong {
    color: #ffffff;
}

.pcis-preview-simulation-title small {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.16);
}

.pqtc-preview-orbit {
    width: 168px;
    height: 168px;
    margin: 4px auto 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at center, var(--pqtc-navy) 0 57%, transparent 58%),
        conic-gradient(var(--pqtc-red) 0 72%, rgba(255,255,255,0.12) 72% 100%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.pqtc-preview-orbit span {
    font-size: 2.4rem;
    font-weight: 900;
    color: #ffffff;
}

.pcis-preview-top,
.pcis-preview-metrics div,
.pcis-preview-footer {
    margin-inline: 0;
    border-color: rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.06);
}

.pcis-preview-top span,
.pcis-preview-footer span,
.pcis-preview-metrics span {
    color: rgba(255,255,255,0.62);
}

.pcis-preview-top em {
    color: #451a03;
    background: #fbbf24;
}

.pcis-preview-progress span {
    background: rgba(255,255,255,0.12);
}

.pcis-preview-progress i {
    background: linear-gradient(90deg, var(--pqtc-red), var(--pqtc-gold));
}

.pcis-status-preview .pcis-preview-steps li {
    color: rgba(255,255,255,0.88);
}

.pcis-status-preview .pcis-preview-steps li:not(:last-child)::after {
    background: rgba(255,255,255,0.14);
}

.pcis-preview-footer {
    padding-bottom: 0;
}

.tracking-search-note {
    max-width: 900px;
    color: #4b5563;
}

.pcis-case-page {
    width: min(1220px, calc(100% - 48px));
}

.pcis-case-summary {
    border-radius: 0;
    border: 1px solid var(--pqtc-line);
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(17,24,39,0.10);
}

.pcis-case-summary::before {
    height: 6px;
    background: linear-gradient(90deg, var(--pqtc-blue), var(--pqtc-red), var(--pqtc-gold));
}

.tracking-header {
    align-items: center;
    padding: 10px 0 6px;
    border-bottom: 1px solid rgba(17,24,39,0.08);
}

.tracking-header .eyebrow {
    color: var(--pqtc-blue);
    background: rgba(17,61,124,0.08);
    border: 1px solid rgba(17,61,124,0.12);
}

.tracking-header h1 {
    color: var(--pqtc-ink);
    font-size: clamp(2rem, 4vw, 3.8rem);
}

.status-badge {
    border-radius: 0;
    border: 1px solid rgba(17,24,39,0.12);
}

.pcis-executive-strip {
    grid-template-columns: 1.2fr repeat(3, 1fr);
}

.pcis-executive-card {
    border-radius: 0;
    background: #f9fafb;
    border: 1px solid rgba(17,24,39,0.10);
    box-shadow: none;
}

.pcis-executive-card-progress {
    background: var(--pqtc-navy);
}

.pcis-executive-card-progress span,
.pcis-executive-card-progress small,
.pcis-executive-card-progress strong {
    color: #ffffff;
}

.pcis-mini-progress {
    background: rgba(255,255,255,0.16);
}

.pcis-mini-progress i {
    background: linear-gradient(90deg, var(--pqtc-red), var(--pqtc-gold));
}

.pcis-profile-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
}

.tracking-section,
.pcis-decision-panel,
.pcis-current-step-panel,
.timeline-card-content {
    border-radius: 0;
}

.pcis-decision-panel {
    background:
        linear-gradient(160deg, rgba(11,18,32,0.96), rgba(17,61,124,0.94));
}

.pcis-route-section .route-legend,
.pcis-route-section .pcis-route-stage.route-stage,
.pcis-route-section .pcis-case-steps-inline {
    display: none !important;
}

.pcis-route-section .tracking-section-head-inline {
    align-items: end;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(17,24,39,0.08);
}

.pcis-route-section .pcis-mobile-route {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.pcis-route-section .pcis-mobile-route-node {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
    min-height: 94px;
    border: 1px solid rgba(17,24,39,0.10);
    background: #ffffff;
}

.pcis-route-section .pcis-mobile-route-node::after {
    display: none !important;
}

.pcis-route-section .pcis-mobile-route-step {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    background: #ffffff;
    border: 2px solid #d1d5db;
    color: #6b7280;
}

.pcis-route-section .pcis-mobile-route-node.is-complete {
    border-left: 5px solid #059669;
}

.pcis-route-section .pcis-mobile-route-node.is-current {
    border-left: 5px solid var(--pqtc-gold);
    background: #fffbeb;
}

.pcis-route-section .pcis-mobile-route-node.is-blocked {
    border-left: 5px solid var(--pqtc-red);
    background: #fff1f2;
}

.pcis-route-section .pcis-mobile-route-node.is-future {
    background: #f9fafb;
}

.pcis-route-section .pcis-mobile-route-node.is-complete .pcis-mobile-route-step {
    background: #059669;
    border-color: #059669;
    color: #ffffff;
}

.pcis-route-section .pcis-mobile-route-node.is-current .pcis-mobile-route-step {
    background: var(--pqtc-gold);
    border-color: var(--pqtc-gold);
    color: #111827;
}

.pcis-route-section .pcis-mobile-route-node.is-blocked .pcis-mobile-route-step {
    background: var(--pqtc-red);
    border-color: var(--pqtc-red);
    color: #ffffff;
}

.pcis-route-section .pcis-mobile-route-node strong {
    display: block;
    color: var(--pqtc-ink);
    font-size: 0.98rem;
}

.pcis-route-section .pcis-mobile-route-node small {
    display: block;
    margin-top: 5px;
    color: #6b7280;
}

.pcis-current-step-panel {
    border-left: 5px solid var(--pqtc-blue);
    background: #f8fafc;
}

.timeline-day-header {
    padding-left: 0;
}

.timeline-day-group::before,
.timeline-item::before {
    display: none;
}

.timeline-item {
    grid-template-columns: 14px minmax(0, 1fr);
}

.timeline-dot {
    background: var(--pqtc-red);
    box-shadow: 0 0 0 4px rgba(197,22,61,0.12);
}

@media (max-width: 980px) {
    .public-shell .header-bar,
    .pcis-search-shell,
    .pcis-executive-strip,
    .pcis-profile-grid,
    .pcis-route-section .pcis-mobile-route {
        grid-template-columns: 1fr;
    }

    .pcis-search-shell {
        min-height: 0;
    }

    .pcis-status-preview {
        margin: 0;
    }
}

@media (max-width: 640px) {
    .pcis-search-page,
    .pcis-case-page {
        width: min(100% - 18px, 1220px);
    }

    .pcis-search-copy,
    .pcis-status-preview {
        padding: 22px;
    }

    .public-shell .brand-mark-logo {
        width: 70px;
        height: 48px;
        min-width: 70px;
        max-width: 70px;
    }

    .tracking-search-input-row {
        grid-template-columns: 1fr;
    }
}

/* PQTC compact professional portal */
body.public-shell {
    background: #0f2435;
}

body.public-shell .site-header,
body.public-shell .site-footer,
body.public-shell .footer-bottom {
    background: #ffffff;
}

.pcis-search-page {
    width: min(980px, calc(100% - 40px)) !important;
    padding: 56px 0 48px !important;
}

.pcis-search-shell {
    width: 100%;
    min-height: 580px !important;
    display: grid !important;
    grid-template-columns: 48% 52% !important;
    padding: 0 !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28) !important;
}

.pcis-search-shell::before,
.pcis-search-shell::after {
    display: none !important;
}

.pcis-search-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    padding: 54px 44px !important;
    background: linear-gradient(180deg, #df241d 0%, #aa0606 100%);
    color: #ffffff;
}

.pqtc-panel-mark {
    width: max-content;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.88);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.pcis-search-copy h1 {
    width: auto !important;
    max-width: 390px !important;
    margin: 0 !important;
    color: #ffffff !important;
    font-size: clamp(2rem, 3.4vw, 2.75rem) !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
}

.pcis-search-copy h1::after {
    display: none !important;
}

.pcis-search-copy .tracking-search-lead {
    max-width: 390px;
    margin: 0;
    color: rgba(255,255,255,0.94);
    font-size: 1rem;
    line-height: 1.65;
}

.pqtc-portal-benefits {
    display: grid;
    gap: 14px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.pqtc-portal-benefits li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
}

.pqtc-portal-benefits span {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.24);
    color: #ffffff;
    font-size: 0.68rem;
}

.pqtc-panel-footer {
    margin-top: auto;
    color: rgba(255,255,255,0.58);
    font-weight: 600;
}

.pcis-status-preview {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 54px 44px !important;
    background: #ffffff !important;
    color: #111827 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.pqtc-login-brand {
    display: grid;
    gap: 10px;
    justify-items: start;
    margin-bottom: 6px;
}

.pqtc-login-brand img {
    width: 136px;
    height: 58px;
    object-fit: contain;
    object-position: left center;
}

.pqtc-login-brand span {
    color: #667085;
    font-size: 0.86rem;
    font-weight: 600;
}

.pqtc-login-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 4px;
    border-radius: 8px;
    background: #f1f3f5;
}

.pqtc-login-tabs span {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    color: #667085;
    font-size: 0.9rem;
    font-weight: 800;
}

.pqtc-login-tabs .is-active {
    background: #ffffff;
    color: #dc2626;
    box-shadow: 0 5px 14px rgba(17,24,39,0.13);
}

.pcis-status-preview .alert {
    margin: 0;
}

.pcis-status-preview .tracking-search-form {
    display: grid;
    gap: 10px;
    max-width: none;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.pcis-status-preview .tracking-search-form label {
    margin: 8px 0 0;
    color: #1f2937;
    font-size: 0.88rem;
    font-weight: 800;
}

.pcis-status-preview .tracking-search-form input {
    width: 100%;
    min-height: 48px;
    padding: 0 15px;
    border-radius: 8px !important;
    border: 1px solid #d8dde5;
    background: #ffffff;
    color: #111827;
    font-size: 0.98rem;
}

.pcis-status-preview .tracking-search-form input:focus {
    outline: 3px solid rgba(220,38,38,0.12);
    border-color: #dc2626;
}

.pcis-status-preview .tracking-search-form .button-primary {
    min-height: 50px;
    margin-top: 8px;
    border-radius: 8px !important;
    background: #dc2b22;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 900;
}

.pcis-status-preview .pcis-search-assurance {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 2px;
}

.pcis-status-preview .pcis-search-assurance span {
    padding: 0;
    border: 0;
    background: transparent;
    color: #667085;
    font-size: 0.82rem;
    font-weight: 700;
}

.pcis-status-preview .pcis-search-assurance span::before {
    background: #dc2626;
}

.tracking-search-note {
    width: min(980px, 100%);
    margin: 18px auto 0 !important;
    color: rgba(255,255,255,0.72) !important;
    font-size: 0.9rem;
}

@media (max-width: 860px) {
    .pcis-search-page {
        width: min(100% - 24px, 980px) !important;
        padding-top: 24px !important;
    }

    .pcis-search-shell {
        grid-template-columns: 1fr !important;
    }

    .pcis-search-copy,
    .pcis-status-preview {
        padding: 34px 26px !important;
    }

    .pqtc-panel-footer {
        margin-top: 12px;
    }
}

@media (max-width: 520px) {
    .pcis-search-copy h1 {
        font-size: 2rem !important;
    }

    .pqtc-login-tabs {
        grid-template-columns: 1fr;
    }
}

/* PQTC secure portal refinement */
body.public-shell {
    background: #0f2334 !important;
}

.public-shell main {
    background:
        radial-gradient(circle at 12% 0%, rgba(216, 35, 29, 0.16), transparent 30%),
        linear-gradient(135deg, #0f2334 0%, #112c42 50%, #0c1d2c 100%) !important;
}

.public-shell .site-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.96) !important;
}

.public-shell .site-footer {
    border-top: 1px solid rgba(15, 35, 52, 0.08) !important;
    background: #ffffff !important;
}

.pcis-search-page {
    width: min(980px, calc(100% - 32px)) !important;
    min-height: calc(100vh - 96px);
    display: grid;
    align-content: center;
    padding: 38px 0 44px !important;
}

.pcis-search-shell {
    min-height: 520px !important;
    grid-template-columns: 47% 53% !important;
    border-radius: 16px !important;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34) !important;
}

.pcis-search-copy {
    gap: 20px !important;
    padding: 46px 44px !important;
    background: linear-gradient(180deg, #df241d 0%, #b50606 100%) !important;
}

.pqtc-panel-mark {
    padding: 4px 9px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.08em !important;
}

.pcis-search-copy h1 {
    max-width: 360px !important;
    font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif !important;
    font-size: clamp(1.95rem, 3vw, 2.45rem) !important;
    font-weight: 900 !important;
    line-height: 1.08 !important;
}

.pcis-search-copy .tracking-search-lead {
    max-width: 380px !important;
    font-size: 0.96rem !important;
    line-height: 1.62 !important;
}

.pqtc-portal-benefits {
    gap: 12px !important;
    margin-top: 8px !important;
}

.pqtc-portal-benefits li {
    grid-template-columns: 20px minmax(0, 1fr) !important;
    align-items: center !important;
    font-size: 0.9rem !important;
}

.pqtc-portal-benefits span {
    width: 16px !important;
    height: 16px !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 0.62rem !important;
}

.pqtc-portal-benefits .benefit-icon svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pcis-status-preview {
    gap: 16px !important;
    padding: 46px 44px !important;
}

.pqtc-login-brand {
    gap: 8px !important;
    margin-bottom: 4px !important;
}

.pqtc-login-brand img {
    width: 126px !important;
    height: 52px !important;
}

.pqtc-login-brand span {
    font-size: 0.84rem !important;
}

.pqtc-login-tabs {
    gap: 6px !important;
    padding: 4px !important;
    border-radius: 9px !important;
}

.pqtc-login-tabs span {
    gap: 6px !important;
    min-height: 40px !important;
    border-radius: 7px !important;
    font-size: 0.88rem !important;
}

.pqtc-login-tabs svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pcis-status-preview .tracking-search-form {
    gap: 9px !important;
}

.pcis-status-preview .tracking-search-form label {
    margin-top: 6px !important;
    font-size: 0.86rem !important;
}

.pcis-status-preview .tracking-search-form input {
    min-height: 46px !important;
    border-radius: 7px !important;
    font-size: 0.95rem !important;
}

.pcis-status-preview .tracking-search-form .button-primary {
    min-height: 48px !important;
    border-radius: 7px !important;
    background: #dc2b22 !important;
    box-shadow: 0 12px 22px rgba(220, 43, 34, 0.22) !important;
}

.pcis-status-preview .pcis-search-assurance {
    display: none !important;
}

.tracking-search-note {
    width: min(980px, 100%) !important;
    color: rgba(255, 255, 255, 0.68) !important;
}

@media (max-width: 860px) {
    .pcis-search-page {
        min-height: auto !important;
        padding: 24px 0 32px !important;
    }

    .pcis-search-shell {
        min-height: 0 !important;
    }
}

/* PQTC title line control */
.pcis-search-copy h1 {
    max-width: 410px !important;
    font-size: clamp(1.75rem, 2.55vw, 2.18rem) !important;
    line-height: 1.16 !important;
}

@media (max-width: 860px) {
    .pcis-search-copy h1 {
        max-width: 100% !important;
        font-size: clamp(1.7rem, 5.2vw, 2.15rem) !important;
    }
}

@media (max-width: 520px) {
    .pcis-search-copy h1 {
        font-size: clamp(1.55rem, 7vw, 1.9rem) !important;
        line-height: 1.15 !important;
    }
}

/* PQTC live one-line dossier steps */
.pcis-route-section .route-legend,
.pcis-route-section .pcis-route-stage.route-stage,
.pcis-route-section .pcis-case-steps-inline {
    display: none !important;
}

.pcis-route-section .tracking-section-head-inline {
    align-items: center !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08) !important;
}

.pcis-route-section .pcis-mobile-route {
    position: relative;
    display: flex !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    margin-top: 20px !important;
    padding: 18px 8px 20px !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    border: 1px solid rgba(15, 35, 52, 0.10);
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%),
        linear-gradient(90deg, rgba(5, 150, 105, 0.08), rgba(245, 158, 11, 0.08));
}

.pcis-route-section .pcis-mobile-route::before {
    content: "";
    position: absolute;
    left: 34px;
    right: 34px;
    top: 46px;
    height: 4px;
    border-radius: 999px;
    background: #dbe3ed;
}

.pcis-route-section .pcis-mobile-route-node {
    position: relative;
    z-index: 1;
    flex: 0 0 190px;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    align-items: start;
    gap: 10px !important;
    padding: 8px 12px 8px 0 !important;
    border: 0 !important;
    border-left: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    scroll-snap-align: start;
}

.pcis-route-section .pcis-mobile-route-node::after {
    content: "" !important;
    display: block !important;
    position: absolute;
    left: 36px;
    right: -4px;
    top: 36px;
    width: auto !important;
    height: 4px !important;
    border-radius: 999px;
    background: #dbe3ed;
}

.pcis-route-section .pcis-mobile-route-node:last-child::after {
    display: none !important;
}

.pcis-route-section .pcis-mobile-route-step {
    position: relative;
    z-index: 2;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 2px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #64748b !important;
    font-size: 0.88rem !important;
    font-weight: 900 !important;
    box-shadow: 0 0 0 7px #ffffff;
}

.pcis-route-section .pcis-mobile-route-node > div {
    min-width: 0;
    padding-top: 2px;
}

.pcis-route-section .pcis-mobile-route-node strong {
    display: block;
    color: #111827 !important;
    font-size: 0.82rem !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
}

.pcis-route-section .pcis-mobile-route-node small {
    display: block;
    margin-top: 5px !important;
    color: #64748b !important;
    font-size: 0.72rem !important;
    line-height: 1.2 !important;
    font-weight: 700;
}

.pcis-route-section .pcis-mobile-route-node.is-complete::after {
    background: #059669;
}

.pcis-route-section .pcis-mobile-route-node.is-complete .pcis-mobile-route-step {
    border-color: #059669 !important;
    background: #059669 !important;
    color: #ffffff !important;
}

.pcis-route-section .pcis-mobile-route-node.is-current::after {
    background:
        linear-gradient(90deg, rgba(245, 158, 11, 0.22), #f59e0b 50%, rgba(245, 158, 11, 0.22)),
        #f59e0b;
    background-size: 48px 100%, 100% 100%;
    animation: pqtcLiveLineFlow 1.05s linear infinite;
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.28);
}

.pcis-route-section .pcis-mobile-route-node.is-current .pcis-mobile-route-step {
    border-color: #f59e0b !important;
    background: #f59e0b !important;
    color: #111827 !important;
    animation: pqtcLiveStepPulse 1.45s ease-in-out infinite;
}

.pcis-route-section .pcis-mobile-route-node.is-current > div {
    padding: 8px 10px;
    margin-top: -6px;
    border: 1px solid rgba(245, 158, 11, 0.26);
    background: #fffbeb;
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.12);
}

.pcis-route-section .pcis-mobile-route-node.is-blocked .pcis-mobile-route-step {
    border-color: #dc2626 !important;
    background: #dc2626 !important;
    color: #ffffff !important;
}

.pcis-route-section .pcis-mobile-route-node.is-blocked > div {
    padding: 8px 10px;
    margin-top: -6px;
    border: 1px solid rgba(220, 38, 38, 0.22);
    background: #fff1f2;
}

.pcis-route-section .pcis-mobile-route-node.is-future .pcis-mobile-route-step {
    background: #ffffff !important;
}

@keyframes pqtcLiveLineFlow {
    from {
        background-position: 0 0, 0 0;
    }
    to {
        background-position: 48px 0, 0 0;
    }
}

@keyframes pqtcLiveStepPulse {
    0%, 100% {
        box-shadow: 0 0 0 7px #ffffff, 0 0 0 0 rgba(245, 158, 11, 0.34);
        transform: translateY(0);
    }
    50% {
        box-shadow: 0 0 0 7px #ffffff, 0 0 0 9px rgba(245, 158, 11, 0.14);
        transform: translateY(-2px);
    }
}

@media (max-width: 760px) {
    .pcis-route-section .pcis-mobile-route {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .pcis-route-section .pcis-mobile-route-node {
        flex-basis: 178px;
    }
}

/* PQTC clean dossier steps */
.pcis-route-section .route-legend,
.pcis-route-section .pcis-route-stage.route-stage,
.pcis-route-section .pcis-case-steps-inline {
    display: none !important;
}

.pcis-route-section .pcis-mobile-route {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important;
    gap: 12px !important;
    margin-top: 18px !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    scroll-snap-type: none !important;
}

.pcis-route-section .pcis-mobile-route::before,
.pcis-route-section .pcis-mobile-route-node::after {
    display: none !important;
}

.pcis-route-section .pcis-mobile-route-node {
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) !important;
    gap: 11px !important;
    align-items: start !important;
    min-height: 112px !important;
    padding: 14px !important;
    border: 1px solid rgba(15, 23, 42, 0.10) !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06) !important;
    scroll-snap-align: none !important;
}

.pcis-route-section .pcis-mobile-route-step {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(100, 116, 139, 0.24) !important;
    background: #f8fafc !important;
    color: #64748b !important;
    font-size: 0.8rem !important;
    font-weight: 900 !important;
    box-shadow: none !important;
}

.pcis-route-section .pcis-mobile-route-node > div {
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.pcis-route-section .pcis-mobile-route-node strong {
    display: block !important;
    color: #0f172a !important;
    font-size: 0.88rem !important;
    line-height: 1.28 !important;
    font-weight: 800 !important;
    overflow-wrap: anywhere !important;
}

.pcis-route-section .pcis-mobile-route-node small {
    display: inline-flex !important;
    width: max-content !important;
    max-width: 100% !important;
    margin-top: 8px !important;
    padding: 4px 8px !important;
    border-radius: 999px !important;
    background: rgba(100, 116, 139, 0.10) !important;
    color: #475569 !important;
    font-size: 0.68rem !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    overflow-wrap: anywhere !important;
}

.pcis-route-section .pcis-mobile-route-node.is-complete {
    border-color: rgba(16, 185, 129, 0.20) !important;
    background: linear-gradient(180deg, #ffffff, #f0fdf4) !important;
}

.pcis-route-section .pcis-mobile-route-node.is-complete .pcis-mobile-route-step {
    border-color: #10b981 !important;
    background: #10b981 !important;
    color: #ffffff !important;
}

.pcis-route-section .pcis-mobile-route-node.is-complete small {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #047857 !important;
}

.pcis-route-section .pcis-mobile-route-node.is-current {
    border-color: rgba(245, 158, 11, 0.36) !important;
    background: #fffbeb !important;
    box-shadow: 0 16px 30px rgba(245, 158, 11, 0.13) !important;
}

.pcis-route-section .pcis-mobile-route-node.is-current .pcis-mobile-route-step {
    border-color: #f59e0b !important;
    background: #f59e0b !important;
    color: #111827 !important;
    animation: none !important;
}

.pcis-route-section .pcis-mobile-route-node.is-current small {
    background: rgba(245, 158, 11, 0.16) !important;
    color: #92400e !important;
}

.pcis-route-section .pcis-mobile-route-node.is-blocked {
    border-color: rgba(220, 38, 38, 0.24) !important;
    background: #fff1f2 !important;
}

.pcis-route-section .pcis-mobile-route-node.is-blocked .pcis-mobile-route-step {
    border-color: #dc2626 !important;
    background: #dc2626 !important;
    color: #ffffff !important;
}

.pcis-route-section .pcis-mobile-route-node.is-blocked small {
    background: rgba(220, 38, 38, 0.12) !important;
    color: #b91c1c !important;
}

.pcis-route-section .pcis-mobile-route-node.is-future {
    opacity: 0.84;
}

.pcis-route-section .pcis-mobile-folder-icon {
    font-size: 0.9rem !important;
    line-height: 1 !important;
    animation: none !important;
}

.pcis-route-section .pcis-mobile-route-node.is-current .pcis-mobile-route-step::before {
    display: none !important;
    content: none !important;
}

@media (max-width: 720px) {
    .pcis-route-section .pcis-mobile-route {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .pcis-route-section .pcis-mobile-route-node {
        min-height: 0 !important;
    }
}

/* PQTC professional single-line route */
.pcis-route-section .pcis-mobile-route,
.pcis-route-section .pcis-case-steps-inline {
    display: none !important;
}

.pcis-route-section .route-legend {
    display: flex !important;
    margin-top: 12px !important;
}

.pcis-route-section .pcis-route-stage.route-stage {
    display: block !important;
    height: 248px !important;
    margin: 18px 0 8px !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 8px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-stage-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.pcis-route-section .pcis-route-stage.route-stage .route-track-line {
    fill: none !important;
    stroke: #050505 !important;
    stroke-width: 5 !important;
    stroke-linecap: butt !important;
    stroke-dasharray: 1.2 2.2 !important;
    stroke-dashoffset: 0 !important;
    opacity: 1 !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-track-dash {
    display: none !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-track-approved {
    fill: none !important;
    stroke: #10b981 !important;
    stroke-width: 8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    stroke-dashoffset: 0 !important;
    filter: drop-shadow(0 3px 8px rgba(16, 185, 129, 0.22));
}

.pcis-route-section .pcis-route-stage.route-stage .route-track-alert {
    fill: none !important;
    stroke: #f59e0b !important;
    stroke-width: 8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-track-alert-blocked {
    stroke: #dc2626 !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-node-start,
.pcis-route-section .pcis-route-stage.route-stage .route-node-end {
    top: 54% !important;
    z-index: 4;
}

.pcis-route-section .pcis-route-stage.route-stage .route-node-pin {
    display: none !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-node-label {
    top: -42px !important;
    max-width: 150px !important;
    padding: 5px 9px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.10) !important;
    color: #334155 !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07) !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker {
    z-index: 5;
    width: 138px !important;
    height: 86px !important;
    filter: none !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker-dot {
    display: flex !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 28px !important;
    height: 28px !important;
    transform: translate(-50%, -50%) !important;
    border-radius: 50% !important;
    border: 3px solid #cbd5e1 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 7px #ffffff, 0 8px 18px rgba(15, 23, 42, 0.12) !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker-dot::after {
    content: "";
    width: 8px;
    height: 8px;
    margin: auto;
    border-radius: 50%;
    background: #94a3b8;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker-label {
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    top: 52px !important;
    width: max-content !important;
    min-width: 0 !important;
    max-width: 136px !important;
    min-height: 0 !important;
    padding: 0 !important;
    transform: translateX(-50%) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #334155 !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    line-height: 1.18 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere !important;
    box-shadow: none !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker-above .route-level-marker-label {
    top: -50px !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker-below .route-level-marker-label {
    top: 50px !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker-start .route-level-marker-label {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-8%) !important;
    text-align: left !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker-end .route-level-marker-label {
    left: auto !important;
    right: 50% !important;
    transform: translateX(8%) !important;
    text-align: right !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker[data-route-level-status="approved"] .route-level-marker-dot {
    border-color: #10b981 !important;
    background: #10b981 !important;
    box-shadow: 0 0 0 7px #ffffff, 0 10px 22px rgba(16, 185, 129, 0.24) !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker[data-route-level-status="approved"] .route-level-marker-dot::after {
    width: 10px;
    height: 6px;
    margin-top: 8px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    border-radius: 0;
    background: transparent;
    transform: rotate(-45deg);
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker[data-route-level-status="approved"] .route-level-marker-label {
    color: #047857 !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker[data-route-level-status="current"] .route-level-marker-dot,
.pcis-route-section .pcis-route-stage.route-stage .route-level-marker[data-route-level-status="pending"] .route-level-marker-dot {
    border-color: #f59e0b !important;
    background: #ffffff !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker[data-route-level-status="current"] .route-level-marker-dot::after,
.pcis-route-section .pcis-route-stage.route-stage .route-level-marker[data-route-level-status="pending"] .route-level-marker-dot::after {
    background: #f59e0b !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker[data-route-level-status="current"] .route-level-marker-label,
.pcis-route-section .pcis-route-stage.route-stage .route-level-marker[data-route-level-status="pending"] .route-level-marker-label {
    color: #92400e !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker[data-route-level-status="blocked"] .route-level-marker-dot {
    border-color: #dc2626 !important;
    background: #dc2626 !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker[data-route-level-status="blocked"] .route-level-marker-label {
    color: #b91c1c !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-marker {
    z-index: 6;
}

.pcis-route-section .pcis-route-stage.route-stage .route-marker-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 2px solid #f59e0b !important;
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.20) !important;
}

@media (max-width: 760px) {
    .pcis-route-section .pcis-route-stage.route-stage {
        display: none !important;
    }

    .pcis-route-section .pcis-mobile-route {
        position: relative !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        margin-top: 14px !important;
        padding: 4px 0 !important;
        overflow: visible !important;
        border: 0 !important;
        background: transparent !important;
        scroll-snap-type: none !important;
    }

    .pcis-route-section .pcis-mobile-route::before {
        display: block !important;
        content: "" !important;
        position: absolute !important;
        left: 17px !important;
        top: 18px !important;
        bottom: 18px !important;
        width: 2px !important;
        border-radius: 999px !important;
        background: #dbe3ed !important;
    }

    .pcis-route-section .pcis-mobile-route-node {
        position: relative !important;
        z-index: 1 !important;
        display: grid !important;
        grid-template-columns: 36px minmax(0, 1fr) !important;
        gap: 12px !important;
        min-height: 0 !important;
        padding: 0 0 18px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .pcis-route-section .pcis-mobile-route-node:last-child {
        padding-bottom: 0 !important;
    }

    .pcis-route-section .pcis-mobile-route-node::after {
        display: block !important;
        content: "" !important;
        position: absolute !important;
        left: 17px !important;
        top: 34px !important;
        bottom: 0 !important;
        width: 2px !important;
        height: auto !important;
        border-radius: 999px !important;
        background: #dbe3ed !important;
    }

    .pcis-route-section .pcis-mobile-route-node:last-child::after {
        display: none !important;
    }

    .pcis-route-section .pcis-mobile-route-node.is-complete::after {
        background: #10b981 !important;
    }

    .pcis-route-section .pcis-mobile-route-node.is-current::after,
    .pcis-route-section .pcis-mobile-route-node.is-blocked::after {
        background: #f59e0b !important;
    }

    .pcis-route-section .pcis-mobile-route-step {
        position: relative !important;
        z-index: 2 !important;
        width: 34px !important;
        height: 34px !important;
        border-radius: 50% !important;
        border: 2px solid #cbd5e1 !important;
        background: #ffffff !important;
        color: #64748b !important;
        font-size: 0.76rem !important;
        font-weight: 900 !important;
        box-shadow: 0 0 0 6px #ffffff !important;
    }

    .pcis-route-section .pcis-mobile-route-node > div {
        min-width: 0 !important;
        padding: 11px 12px !important;
        margin: -2px 0 0 !important;
        border: 1px solid rgba(15, 23, 42, 0.08) !important;
        border-radius: 8px !important;
        background: #ffffff !important;
        box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05) !important;
    }

    .pcis-route-section .pcis-mobile-route-node strong {
        display: block !important;
        color: #0f172a !important;
        font-size: 0.86rem !important;
        line-height: 1.25 !important;
        font-weight: 800 !important;
        overflow-wrap: anywhere !important;
    }

    .pcis-route-section .pcis-mobile-route-node small {
        display: inline-flex !important;
        width: max-content !important;
        max-width: 100% !important;
        margin-top: 7px !important;
        padding: 4px 8px !important;
        border-radius: 999px !important;
        background: rgba(100, 116, 139, 0.10) !important;
        color: #475569 !important;
        font-size: 0.68rem !important;
        line-height: 1.15 !important;
        font-weight: 800 !important;
    }

    .pcis-route-section .pcis-mobile-route-node.is-complete .pcis-mobile-route-step {
        border-color: #10b981 !important;
        background: #10b981 !important;
        color: #ffffff !important;
    }

    .pcis-route-section .pcis-mobile-route-node.is-complete > div {
        border-color: rgba(16, 185, 129, 0.18) !important;
        background: #f0fdf4 !important;
    }

    .pcis-route-section .pcis-mobile-route-node.is-complete small {
        background: rgba(16, 185, 129, 0.12) !important;
        color: #047857 !important;
    }

    .pcis-route-section .pcis-mobile-route-node.is-current .pcis-mobile-route-step {
        border-color: #f59e0b !important;
        background: #f59e0b !important;
        color: #111827 !important;
        animation: none !important;
    }

    .pcis-route-section .pcis-mobile-route-node.is-current > div {
        border-color: rgba(245, 158, 11, 0.24) !important;
        background: #fffbeb !important;
    }

    .pcis-route-section .pcis-mobile-route-node.is-current small {
        background: rgba(245, 158, 11, 0.16) !important;
        color: #92400e !important;
    }

    .pcis-route-section .pcis-mobile-route-node.is-blocked .pcis-mobile-route-step {
        border-color: #dc2626 !important;
        background: #dc2626 !important;
        color: #ffffff !important;
    }

    .pcis-route-section .pcis-mobile-route-node.is-blocked > div {
        border-color: rgba(220, 38, 38, 0.20) !important;
        background: #fff1f2 !important;
    }

    .pcis-route-section .pcis-mobile-route-node.is-blocked small {
        background: rgba(220, 38, 38, 0.12) !important;
        color: #b91c1c !important;
    }

    .pcis-route-section .pcis-mobile-folder-icon {
        animation: none !important;
    }

    .pcis-route-section .pcis-mobile-route-node.is-current .pcis-mobile-route-step::before {
        display: none !important;
        content: none !important;
    }

    .pcis-route-section .pcis-route-stage.route-stage {
        height: 320px !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
    }

    .pcis-route-section .pcis-route-stage.route-stage .route-level-marker {
        width: 104px !important;
        height: 96px !important;
    }

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker-label {
    max-width: 102px !important;
    font-size: 0.58rem !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-level-marker-above .route-level-marker-label {
    top: -58px !important;
}

    .pcis-route-section .pcis-route-stage.route-stage .route-level-marker-below .route-level-marker-label {
        top: 46px !important;
    }
}

/* PQTC native-app case polish - final override */
body.public-shell:has(.pcis-case-page) {
    background: #081827 !important;
}

body.public-shell:has(.pcis-case-page) main {
    background:
        radial-gradient(circle at 14% 0%, rgba(20, 184, 166, 0.18), transparent 32%),
        radial-gradient(circle at 92% 12%, rgba(245, 158, 11, 0.14), transparent 28%),
        linear-gradient(135deg, #081827 0%, #0f2538 48%, #071421 100%) !important;
}

body.public-shell:has(.pcis-case-page) .site-header,
body.public-shell:has(.pcis-case-page) .site-footer,
body.public-shell:has(.pcis-case-page) .footer-bottom {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    filter: none !important;
}

.pcis-case-page {
    width: min(1180px, calc(100% - 44px)) !important;
    padding: 26px 0 56px !important;
}

.pcis-case-summary {
    position: relative;
    overflow: hidden;
    padding: 26px !important;
    border: 1px solid rgba(226, 232, 240, 0.82) !important;
    border-radius: 22px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96)) !important;
    box-shadow: 0 28px 80px rgba(2, 8, 23, 0.30), 0 1px 0 rgba(255, 255, 255, 0.92) inset !important;
}

.pcis-case-summary::before {
    height: 5px !important;
    background: linear-gradient(90deg, #153e75 0%, #c5163d 48%, #f59e0b 100%) !important;
}

.pcis-case-summary::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -140px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.16), transparent 68%);
    pointer-events: none;
}

.pcis-case-summary > * {
    position: relative;
    z-index: 1;
}

.tracking-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: start !important;
    padding: 12px 2px 24px !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}

.tracking-header .eyebrow {
    min-height: 30px;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    background: #eef6ff !important;
    border: 1px solid #d7e7fb !important;
    color: #153e75 !important;
    box-shadow: 0 8px 18px rgba(21, 62, 117, 0.08);
}

.tracking-header h1 {
    margin-top: 12px !important;
    color: #071424 !important;
    font-size: clamp(2.35rem, 5vw, 4.15rem) !important;
    font-weight: 950 !important;
    line-height: 0.96 !important;
}

.pcis-header-subtitle {
    margin-top: 8px !important;
    color: #64748b !important;
    font-size: 0.98rem !important;
    font-weight: 800 !important;
}

.tracking-header .status-badge {
    min-height: 46px !important;
    padding: 12px 18px !important;
    border: 1px solid rgba(20, 184, 166, 0.22) !important;
    border-radius: 999px !important;
    background: #e9fbf8 !important;
    color: #0f766e !important;
    box-shadow: 0 18px 34px rgba(20, 184, 166, 0.15) !important;
}

.pcis-executive-strip {
    grid-template-columns: minmax(210px, 1.1fr) repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

.pcis-executive-card {
    min-height: 112px !important;
    padding: 16px 18px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.86) !important;
    border: 1px solid rgba(203, 213, 225, 0.72) !important;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07) !important;
}

.pcis-executive-card-progress {
    background: linear-gradient(160deg, #081221 0%, #111827 100%) !important;
    border-color: rgba(15, 23, 42, 0.92) !important;
}

.pcis-executive-card span,
.pcis-decision-panel > span {
    color: #64748b !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.04em;
}

.pcis-executive-card-progress span,
.pcis-executive-card-progress small,
.pcis-executive-card-progress strong {
    color: #ffffff !important;
}

.pcis-executive-card strong {
    font-size: 1.12rem !important;
}

.pcis-executive-card-progress strong {
    font-size: 2.25rem !important;
}

.pcis-mini-progress {
    height: 7px !important;
    background: rgba(255, 255, 255, 0.18) !important;
}

.pcis-mini-progress i {
    background: linear-gradient(90deg, #10b981 0%, #14b8a6 52%, #f59e0b 100%) !important;
}

.pcis-profile-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.58fr) !important;
    gap: 16px !important;
}

.tracking-section,
.pcis-decision-panel,
.pcis-current-step-panel,
.timeline-card-content {
    border-radius: 16px !important;
}

.tracking-section,
.pcis-current-step-panel {
    background: rgba(255, 255, 255, 0.90) !important;
    border: 1px solid rgba(203, 213, 225, 0.78) !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07) !important;
}

.tracking-section {
    padding: 22px !important;
}

.tracking-section-kicker {
    color: #0f766e !important;
    letter-spacing: 0.08em;
}

.tracking-section h2 {
    color: #071424 !important;
    font-size: 1.28rem !important;
}

.tracking-meta-grid {
    gap: 11px !important;
}

.tracking-meta-grid div {
    min-height: 82px !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.88) inset !important;
}

.tracking-meta-grid div:hover {
    transform: translateY(-1px);
    border-color: rgba(20, 184, 166, 0.26) !important;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06) !important;
}

.pcis-decision-panel {
    padding: 22px !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(20, 184, 166, 0.22), transparent 38%),
        linear-gradient(160deg, #0b1220 0%, #13294a 100%) !important;
    border: 1px solid rgba(148, 163, 184, 0.20) !important;
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.18) !important;
}

.pcis-decision-panel > span {
    color: rgba(255, 255, 255, 0.68) !important;
}

.pcis-decision-panel dl div {
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.09) !important;
}

.pcis-route-section {
    padding: 22px !important;
}

.pcis-route-section .tracking-section-head-inline {
    align-items: center !important;
}

.pcis-route-section .route-legend {
    justify-content: flex-end;
    padding-top: 4px !important;
}

.pcis-route-section .pcis-route-stage.route-stage {
    height: 258px !important;
    border-radius: 16px !important;
    background:
        radial-gradient(circle at 8% 28%, rgba(16, 185, 129, 0.08), transparent 22%),
        radial-gradient(circle at 50% 42%, rgba(245, 158, 11, 0.07), transparent 20%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.94) !important;
}

.pcis-route-section .pcis-route-stage.route-stage .route-marker-icon {
    width: 38px !important;
    height: 38px !important;
    box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.10), 0 18px 30px rgba(245, 158, 11, 0.22) !important;
}

.pcis-current-step-panel {
    margin-top: 16px;
    border-left: 5px solid #153e75 !important;
    background: #f8fbff !important;
}

.timeline-card-content {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

@media (max-width: 980px) {
    .pcis-executive-strip,
    .pcis-profile-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .pcis-decision-panel,
    .pcis-route-section,
    .tracking-section-history {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .pcis-case-page {
        width: min(100% - 18px, 1180px) !important;
        padding-top: 14px !important;
    }

    .pcis-case-summary {
        padding: 16px !important;
        border-radius: 18px !important;
    }

    .tracking-header,
    .pcis-executive-strip,
    .pcis-profile-grid,
    .tracking-meta-grid {
        grid-template-columns: 1fr !important;
    }

    .tracking-header h1 {
        font-size: clamp(2rem, 13vw, 3rem) !important;
    }

    .tracking-header .status-badge {
        width: max-content;
        max-width: 100%;
    }
}

/* PQTC compact dossier title - last cascade lock */
body.public-shell .pcis-case-page .tracking-header h1 {
    max-width: 760px !important;
    margin-top: 10px !important;
    color: #071424 !important;
    font-size: clamp(1.72rem, 3.35vw, 2.85rem) !important;
    font-weight: 920 !important;
    line-height: 1.02 !important;
    letter-spacing: 0 !important;
}

body.public-shell .pcis-case-page .pcis-header-subtitle {
    margin-top: 6px !important;
    font-size: 0.86rem !important;
    font-weight: 750 !important;
    line-height: 1.35 !important;
}

@media (max-width: 760px) {
    body.public-shell .pcis-case-page .tracking-header h1 {
        max-width: 100% !important;
        font-size: clamp(1.42rem, 8.4vw, 2.05rem) !important;
        line-height: 1.04 !important;
    }

    body.public-shell .pcis-case-page .pcis-header-subtitle {
        font-size: 0.78rem !important;
    }
}
