:root {
    --ws-primary: #2563eb;
    --ws-secondary: #1e40af;
    --ws-accent: #f59e0b;
    --ws-text: #1f2937;
    --ws-radius: 1rem;
    --ws-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

body.website-body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--ws-text);
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

img, video, svg { max-width: 100%; height: auto; }

.ws-logo {
    display: block;
    height: 48px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    object-position: left center;
}
.ws-brand { text-decoration: none; min-width: 0; }
.ws-brand:hover { opacity: .92; }
.ws-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: .7rem;
    background: linear-gradient(135deg, var(--ws-primary), var(--ws-secondary));
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--ws-primary) 28%, transparent);
}
.ws-brand-text {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -.02em;
    color: var(--ws-primary);
    line-height: 1.15;
    white-space: nowrap;
}

.ws-nav {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(15, 23, 42, .06);
    padding: .7rem 0;
    z-index: 1030;
}
.ws-nav-menu { gap: .15rem; }
.ws-nav .nav-link {
    position: relative;
    font-weight: 600;
    font-size: .9375rem;
    color: color-mix(in srgb, var(--ws-text) 88%, #64748b);
    padding: .55rem .95rem !important;
    border-radius: .7rem;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}
.ws-nav .nav-link:hover {
    color: var(--ws-primary);
    background: color-mix(in srgb, var(--ws-primary) 8%, transparent);
}
.ws-nav .nav-link.active {
    color: var(--ws-primary);
    background: color-mix(in srgb, var(--ws-primary) 12%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ws-primary) 14%, transparent);
}
.ws-nav .nav-link.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: .28rem;
    width: 1.1rem;
    height: 3px;
    border-radius: 99px;
    background: var(--ws-primary);
    transform: translateX(-50%);
}
.ws-nav-cta {
    margin-left: .55rem;
    padding-left: .7rem;
    border-left: 1px solid rgba(15, 23, 42, .08);
}
.ws-nav-track-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .875rem;
    font-weight: 700;
    border-radius: .7rem;
    padding: .55rem 1.05rem;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--ws-primary) 28%, transparent);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.ws-nav-track-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px color-mix(in srgb, var(--ws-primary) 34%, transparent);
    filter: brightness(1.03);
}
.ws-nav .ws-btn-primary { font-size: .875rem; border-radius: .7rem; }

/* Home quick-track bar */
.ws-home-track {
    margin-top: -3rem;
    position: relative;
    z-index: 10;
    padding-bottom: 1.5rem;
}
.ws-home-track-card {
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
}
.ws-home-track-fields {
    flex: 1 1 0%;
    min-width: 0;
    width: 100%;
}
.ws-home-track-row {
    display: flex;
    align-items: stretch;
    gap: .85rem;
}
.ws-home-track-icon {
    width: 44px;
    height: auto;
    align-self: stretch;
    min-height: 44px;
    border-radius: .65rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--ws-primary), var(--ws-secondary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.ws-hero-slider { padding-bottom: 1rem; }

/* Track page hero */
.ws-track-hero {
    background: linear-gradient(135deg, var(--ws-primary) 0%, var(--ws-secondary) 100%);
    color: #fff; padding: 4rem 0 3rem; position: relative; overflow: hidden;
}
.ws-track-hero::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.ws-track-hero > .container { position: relative; z-index: 1; }
.ws-track-hero-badge {
    display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
    color: #fff; font-size: .75rem; font-weight: 700; padding: .35rem .85rem; border-radius: 2rem; margin-bottom: 1rem;
}
.ws-track-hero-title { font-weight: 800; font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: .5rem; }
.ws-track-hero-sub { opacity: .9; font-size: 1.05rem; max-width: 560px; margin: 0 auto 1.75rem; }
.ws-track-search-card--hero { margin-top: .5rem; box-shadow: 0 24px 60px rgba(0,0,0,.18); }
.ws-track-percent { color: var(--ws-primary) !important; }

.ws-hero-slider { position: relative; }
.ws-slide { min-height: 520px; background-size: cover; background-position: center; position: relative; display: flex; align-items: center; }
.ws-slide-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.25) 60%, transparent 100%); }
.ws-slide-content { position: relative; z-index: 2; max-width: 640px; color: #fff; padding: 3rem 0; }
.ws-slide-badge { display: inline-block; background: var(--ws-accent); color: #fff; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: .35rem .85rem; border-radius: 2rem; margin-bottom: 1rem; }
.ws-slide-title { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.15; margin-bottom: 1rem; }
.ws-slide-desc { font-size: 1.1rem; opacity: .92; margin-bottom: 1.5rem; }

.ws-btn-primary { background: var(--ws-primary); border-color: var(--ws-primary); color: #fff; font-weight: 600; border-radius: .65rem; padding: .65rem 1.5rem; }
.ws-btn-primary:hover { background: var(--ws-secondary); border-color: var(--ws-secondary); color: #fff; }
.ws-btn-outline { border: 2px solid var(--ws-primary); color: var(--ws-primary); font-weight: 600; border-radius: .65rem; padding: .55rem 1.35rem; }
.ws-btn-outline:hover { background: var(--ws-primary); color: #fff; }

.ws-section { padding: 5rem 0; }
.ws-section-alt { background: #f8fafc; }
.ws-section-title { font-weight: 800; font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: 1rem; }
.ws-section-text { color: #64748b; font-size: 1.05rem; }
.ws-label { color: var(--ws-primary); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.ws-img-rounded { border-radius: var(--ws-radius); box-shadow: var(--ws-shadow); object-fit: cover; aspect-ratio: 4/3; }

.ws-feature-card { background: #fff; border-radius: var(--ws-radius); padding: 2rem; box-shadow: var(--ws-shadow); border: 1px solid #eef2f7; transition: transform .2s; }
.ws-feature-card:hover { transform: translateY(-4px); }
.ws-feature-icon { width: 56px; height: 56px; border-radius: .85rem; background: color-mix(in srgb, var(--ws-primary) 12%, white); color: var(--ws-primary); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem; }

.ws-stats { background: linear-gradient(135deg, var(--ws-primary), var(--ws-secondary)); padding: 4rem 0; color: #fff; }
.ws-stat-value { font-size: 2.25rem; font-weight: 800; }
.ws-stat-label { opacity: .85; font-size: .95rem; }

.ws-cta { padding: 5rem 0; background: #0f172a; color: #fff; }
.ws-cta-title { font-weight: 800; font-size: 2rem; margin-bottom: .75rem; }
.ws-cta-text { opacity: .8; margin-bottom: 1.5rem; }

/* Inner page hero — matches tracking page quality */
.ws-page-hero {
    background: linear-gradient(135deg, var(--ws-primary) 0%, var(--ws-secondary) 100%);
    color: #fff; padding: 4rem 0 3rem; text-align: center;
    position: relative; overflow: hidden;
}
.ws-page-hero-bg {
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.ws-page-title { font-weight: 800; font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: .5rem; position: relative; }
.ws-page-subtitle { opacity: .9; font-size: 1.05rem; max-width: 560px; margin: 0 auto; position: relative; }

/* Home fallback hero (when no sliders) */
.ws-home-hero-fallback {
    background: linear-gradient(135deg, var(--ws-primary) 0%, var(--ws-secondary) 100%);
    color: #fff; padding: 5rem 0 4.5rem; position: relative; overflow: hidden;
}
.ws-home-hero-fallback-bg {
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.ws-home-hero-badge {
    display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
    color: #fff; font-size: .75rem; font-weight: 700; padding: .35rem .85rem; border-radius: 2rem; margin-bottom: 1rem;
}
.ws-home-hero-title { font-weight: 800; font-size: clamp(2.25rem, 5vw, 3.25rem); margin-bottom: .75rem; line-height: 1.15; }
.ws-home-hero-sub { opacity: .92; font-size: 1.15rem; max-width: 620px; margin: 0 auto; }

.ws-info-card {
    background: #fff; border-radius: var(--ws-radius); padding: 2rem;
    box-shadow: var(--ws-shadow); border: 1px solid #eef2f7;
    border-left: 4px solid var(--ws-primary);
}
.ws-info-card-icon {
    width: 44px; height: 44px; border-radius: .65rem; margin-bottom: 1rem;
    background: color-mix(in srgb, var(--ws-primary) 12%, white);
    color: var(--ws-primary); display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.ws-info-card h4 { font-weight: 700; margin-bottom: .65rem; }
.ws-team-card {
    background: #fff; border-radius: var(--ws-radius); padding: 1.75rem 1.5rem;
    box-shadow: var(--ws-shadow); border: 1px solid #eef2f7; transition: transform .2s;
}
.ws-team-card:hover { transform: translateY(-3px); }
.ws-team-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid color-mix(in srgb, var(--ws-primary) 20%, white); }

.ws-service-card {
    background: #fff; border-radius: var(--ws-radius); overflow: hidden;
    box-shadow: var(--ws-shadow); border: 1px solid #eef2f7; transition: transform .2s, box-shadow .2s;
}
.ws-service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1); }
.ws-service-img { width: 100%; height: 180px; object-fit: cover; }
.ws-service-video { width: 100%; height: 180px; object-fit: cover; background: #0f172a; display: block; }
.ws-service-youtube { position: relative; width: 100%; height: 180px; background: #0f172a; overflow: hidden; }
.ws-service-youtube iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ws-service-icon-header {
    height: 140px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, color-mix(in srgb, var(--ws-primary) 8%, white), #f8fafc);
    color: var(--ws-primary); font-size: 2.5rem;
}
.ws-service-body { padding: 1.5rem; }
.ws-service-body h5 { font-weight: 700; margin-bottom: .65rem; }

.ws-form-card, .ws-track-box, .ws-location-card, .ws-track-result, .ws-location-search-card {
    background: #fff; border-radius: var(--ws-radius); padding: 2rem;
    box-shadow: var(--ws-shadow); border: 1px solid #eef2f7;
}
.ws-form-label { font-size: .8125rem; font-weight: 600; color: #475569; margin-bottom: .35rem; }
.ws-form-card .form-control {
    border-color: #e2e8f0; border-radius: .65rem; padding: .6rem .85rem;
}
.ws-form-card .form-control:focus {
    border-color: var(--ws-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ws-primary) 12%, transparent);
}

/* Contact info cards */
.ws-contact-cards { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
.ws-contact-card {
    display: flex; align-items: flex-start; gap: .85rem; padding: 1rem 1.15rem;
    background: #f8fafc; border: 1px solid #eef2f7; border-radius: .75rem;
}
.ws-contact-card-icon {
    width: 40px; height: 40px; border-radius: .55rem; flex-shrink: 0;
    background: color-mix(in srgb, var(--ws-primary) 12%, white);
    color: var(--ws-primary); display: flex; align-items: center; justify-content: center;
}
.ws-contact-card-label { font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #94a3b8; margin-bottom: .15rem; }
.ws-contact-card a { color: var(--ws-primary); text-decoration: none; font-weight: 600; }
.ws-contact-card a:hover { text-decoration: underline; }

/* Location cards */
.ws-location-card h5 { color: var(--ws-primary); font-weight: 700; }
.ws-location-line { font-size: .9375rem; color: #64748b; margin-bottom: .45rem; display: flex; gap: .5rem; align-items: flex-start; }
.ws-location-line i { color: var(--ws-primary); margin-top: .15rem; flex-shrink: 0; }
.ws-location-line a { color: inherit; text-decoration: none; }
.ws-location-line a:hover { color: var(--ws-primary); }

/* Quick link cards on home */
.ws-quick-links-section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.ws-quick-link-card {
    display: flex; flex-direction: column; align-items: flex-start; height: 100%;
    padding: 1.35rem 1.25rem; background: #fff; border-radius: var(--ws-radius);
    border: 1px solid #eef2f7; box-shadow: var(--ws-shadow); text-decoration: none; color: inherit;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.ws-quick-link-card:hover {
    transform: translateY(-3px); border-color: color-mix(in srgb, var(--ws-primary) 35%, #eef2f7);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1); color: inherit;
}
.ws-quick-link-icon {
    width: 44px; height: 44px; border-radius: .65rem; margin-bottom: .85rem;
    background: linear-gradient(135deg, var(--ws-primary), var(--ws-secondary));
    color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
}
.ws-quick-link-title { font-weight: 700; font-size: .9375rem; color: #0f172a; margin-bottom: .2rem; }
.ws-quick-link-text { font-size: .8125rem; color: #64748b; }

/* Empty states for dynamic content */
.ws-empty-state {
    text-align: center; padding: 3rem 1.5rem; background: #fff;
    border-radius: var(--ws-radius); border: 1px dashed #cbd5e1;
}
.ws-empty-state i { font-size: 2.25rem; color: #cbd5e1; display: block; margin-bottom: .85rem; }
.ws-empty-state h5 { font-weight: 700; color: #0f172a; margin-bottom: .35rem; }
.ws-empty-state p { color: #64748b; }

.ws-intro-narrow { max-width: 640px; }

.ws-breadcrumb { background: #f1f5f9; padding: .85rem 0; border-bottom: 1px solid #e2e8f0; }
.ws-breadcrumb .breadcrumb { font-size: .875rem; }
.ws-breadcrumb .breadcrumb-item a { color: var(--ws-primary); text-decoration: none; font-weight: 500; }
.ws-breadcrumb .breadcrumb-item.active { color: #64748b; }

/* Customer login — compact, single-view */
.ws-login-page {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    background: #f1f5f9;
}

.ws-login-card {
    background: #fff;
    border-radius: .75rem;
    padding: 1.75rem 1.5rem 1.5rem;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.07);
    border: 1px solid #e2e8f0;
}

.ws-login-brand { margin-bottom: 1.25rem; }

.ws-login-logo {
    max-height: 40px;
    max-width: 140px;
    object-fit: contain;
    margin-bottom: .75rem;
}

.ws-login-page-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 .25rem;
}

.ws-login-page-sub {
    font-size: .8125rem;
    color: #64748b;
    margin: 0;
}

.ws-login-label {
    font-size: .8125rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: .35rem;
}

.ws-login-card .form-control {
    font-size: .875rem;
    padding: .5rem .75rem;
    border-radius: .5rem;
    border-color: #cbd5e1;
}

.ws-login-card .form-control:focus {
    border-color: var(--ws-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ws-primary) 12%, transparent);
}

.ws-login-btn {
    margin-top: .5rem;
    padding: .55rem 1rem;
    font-size: .875rem;
    font-weight: 600;
    border-radius: .5rem;
}
.ws-contact-info p { margin-bottom: .75rem; }
.ws-contact-info i { color: var(--ws-primary); margin-right: .5rem; }
.ws-badge { background: color-mix(in srgb, var(--ws-primary) 12%, white); color: var(--ws-primary); }
.ws-track-result { margin-bottom: 1rem; }
.ws-track-pick { border: 1px solid #eef2f7; cursor: pointer; transition: box-shadow .2s, border-color .2s; }
.ws-track-pick:hover { border-color: var(--ws-primary, #2563eb); box-shadow: 0 8px 24px rgba(37,99,235,.12); }
.ws-track-detail { padding: 1.5rem; }

/* —— Public tracking page —— */
.ws-track-section { padding-top: 0; padding-bottom: 4rem; margin-top: -1.25rem; position: relative; z-index: 2; }

.ws-track-search-card {
    display: flex; gap: 1.25rem; align-items: flex-start;
    background: #fff; border-radius: 1rem; padding: 1.5rem 1.75rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12); border: 1px solid rgba(255,255,255,.8);
}
.ws-track-search-card--hero { margin-top: .5rem; }
.ws-track-search-icon {
    width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
    background: #f1f5f9; color: var(--ws-primary);
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.ws-track-search-label {
    font-size: .6875rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: #64748b; margin-bottom: .4rem; display: block;
}
.ws-track-input-group {
    border: 1px solid #e2e8f0; border-radius: .625rem; overflow: hidden; background: #fff;
}
.ws-track-input-group:focus-within {
    border-color: var(--ws-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ws-primary) 10%, transparent);
}
.ws-track-input-group .form-control { background: transparent; font-weight: 600; font-size: .9375rem; padding: .75rem 1rem; color: #0f172a; }
.ws-track-input-group .ws-btn-primary { border-radius: 0; font-size: .875rem; font-weight: 600; white-space: nowrap; }

.ws-track-loading, .ws-track-not-found {
    text-align: center; padding: 3rem 1.5rem; background: #fff;
    border-radius: 1rem; box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06); border: 1px solid #eef2f7;
}
.ws-track-loading--inline { padding: 2rem; box-shadow: none; border: none; background: transparent; }
.ws-track-loading p, .ws-track-not-found p { color: #64748b; margin: .75rem 0 0; font-size: .9375rem; }
.ws-track-not-found i { font-size: 2rem; color: #cbd5e1; display: block; margin-bottom: .75rem; }
.ws-track-not-found h5 { font-weight: 700; color: #0f172a; margin-bottom: .35rem; }
.ws-track-results-title { font-weight: 600; color: #475569; margin-bottom: .75rem; font-size: .875rem; }

.ws-alert { display: flex; align-items: center; gap: .65rem; padding: .875rem 1rem; border-radius: .625rem; font-size: .875rem; }
.ws-alert--warn { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.ws-alert--error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* Status pills — unified, soft tones */
.ws-status-pill {
    display: inline-flex; align-items: center; padding: .4rem .85rem; border-radius: 999px;
    font-size: .8125rem; font-weight: 600; line-height: 1.2; white-space: nowrap;
}
.ws-status-pill--sm { padding: .25rem .55rem; font-size: .6875rem; border-radius: .35rem; }
.ws-status-pill--xs { padding: .15rem .45rem; font-size: .625rem; border-radius: .3rem; font-weight: 600; }
.ws-status-pill--success { background: #ecfdf5; color: #047857; }
.ws-status-pill--danger { background: #fef2f2; color: #b91c1c; }
.ws-status-pill--warning { background: #fffbeb; color: #b45309; }
.ws-status-pill--primary { background: #eff6ff; color: #1d4ed8; }
.ws-status-pill--info { background: #f0f9ff; color: #0369a1; }
.ws-status-pill--secondary { background: #f1f5f9; color: #475569; }

/* Tracking result card */
.ws-track-detail-card {
    background: #fff; border-radius: .875rem; overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08); border: 1px solid #e8edf3;
}
.ws-track-head {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap;
    padding: 1.25rem 1.5rem; border-bottom: 1px solid #eef2f7; background: #fafbfc;
}
.ws-track-label { font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #94a3b8; }
.ws-track-no { font-size: 1.375rem; font-weight: 800; color: #0f172a; margin: .15rem 0; line-height: 1.2; }
.ws-track-refs { font-size: .8125rem; color: #64748b; }
.ws-track-head-aside { display: flex; flex-direction: column; align-items: flex-end; gap: .65rem; }
.ws-track-actions { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }
.ws-track-body { padding: 1.25rem 1.5rem 1rem; }
.ws-track-foot { padding: .75rem 1.5rem; border-top: 1px solid #eef2f7; background: #fafbfc; }
.ws-track-back {
    display: inline-flex; align-items: center; gap: .35rem; border: none; background: none;
    color: var(--ws-primary); font-size: .875rem; font-weight: 600; padding: 0; cursor: pointer;
}
.ws-track-back:hover { text-decoration: underline; }

/* Stepper */
.ws-stepper { margin-bottom: 1.25rem; }
.ws-stepper-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.ws-stepper-title { font-size: .8125rem; font-weight: 700; color: #334155; }
.ws-stepper-pct { font-size: .8125rem; font-weight: 700; color: var(--ws-primary); }
.ws-stepper-rail-wrap { position: relative; padding: 0 .5rem; }
.ws-stepper-rail { height: 4px; background: #e2e8f0; border-radius: 99px; overflow: hidden; position: absolute; left: 8%; right: 8%; top: 13px; z-index: 0; }
.ws-stepper-rail-fill { height: 100%; background: var(--ws-primary); border-radius: 99px; transition: width .4s ease; }
.ws-stepper-steps { display: flex; justify-content: space-between; position: relative; z-index: 1; }
.ws-stepper-step { flex: 1; text-align: center; min-width: 0; padding: 0 .2rem; }
.ws-stepper-dot {
    width: 28px; height: 28px; border-radius: 50%; margin: 0 auto .35rem;
    background: #fff; border: 2px solid #cbd5e1; color: #94a3b8;
    display: flex; align-items: center; justify-content: center; font-size: .75rem;
}
.ws-stepper-step--done .ws-stepper-dot { background: var(--ws-primary); border-color: var(--ws-primary); color: #fff; }
.ws-stepper-step--active .ws-stepper-dot {
    border-color: var(--ws-primary); color: var(--ws-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ws-primary) 15%, transparent);
}
.ws-stepper-step--pending .ws-stepper-dot { color: #cbd5e1; }
.ws-stepper-step--pending .ws-stepper-dot i { font-size: .5rem; }
.ws-stepper-label { font-size: .6875rem; font-weight: 600; color: #94a3b8; line-height: 1.2; }
.ws-stepper-step--done .ws-stepper-label, .ws-stepper-step--active .ws-stepper-label { color: #475569; }

/* Route */
.ws-route-grid {
    display: grid; grid-template-columns: 1fr auto 1fr; gap: .75rem; align-items: center;
    padding: .875rem 1rem; background: #f8fafc; border: 1px solid #eef2f7; border-radius: .5rem;
    margin-bottom: .875rem;
}
.ws-route-cell--arrow { text-align: center; color: var(--ws-primary); font-size: 1.125rem; }
.ws-route-tag { font-size: .625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #94a3b8; }
.ws-route-name { font-size: .9375rem; font-weight: 700; color: #0f172a; margin-top: .15rem; }
.ws-route-loc { font-size: .8125rem; color: #64748b; margin-top: .1rem; }

.ws-facts-bar {
    display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .8125rem; color: #475569;
    padding-bottom: .875rem; margin-bottom: .875rem; border-bottom: 1px solid #f1f5f9;
}
.ws-facts-bar span { display: inline-flex; align-items: center; gap: .35rem; }
.ws-facts-bar i { color: #94a3b8; }

.ws-track-pod-line { font-size: .8125rem; color: #1e40af; margin-bottom: .875rem; }
.ws-track-pod-line i { margin-right: .25rem; }

/* Timeline scroll box */
.ws-timeline-section { margin-bottom: 0; }
.ws-timeline-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.ws-timeline-title { font-size: .9375rem; font-weight: 700; color: #0f172a; margin: 0; }
.ws-timeline-count { font-size: .75rem; color: #94a3b8; }
.ws-timeline-scroll {
    max-height: min(300px, 45vh); overflow-y: auto; overflow-x: hidden;
    border: 1px solid #eef2f7; border-radius: .5rem; background: #fff;
    scrollbar-width: thin; scrollbar-color: #cbd5e1 #f8fafc;
}
.ws-timeline-scroll::-webkit-scrollbar { width: 6px; }
.ws-timeline-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 99px; }

.ws-tl-row {
    display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem;
    padding: .55rem .75rem; border-bottom: 1px solid #f1f5f9; font-size: .8125rem;
}
.ws-tl-row:last-child { border-bottom: none; }
.ws-tl-row--latest { background: #f8fafc; border-left: 3px solid var(--ws-primary); }
.ws-tl-row-main { display: flex; flex-direction: column; gap: .2rem; min-width: 0; flex: 1; }
.ws-tl-meta { color: #64748b; font-size: .75rem; line-height: 1.35; }
.ws-tl-time { text-align: right; flex-shrink: 0; }
.ws-tl-date { display: block; font-weight: 600; color: #334155; font-size: .75rem; }
.ws-tl-clock { display: block; font-size: .6875rem; color: var(--ws-primary); font-weight: 600; margin-top: .1rem; }
.ws-timeline-empty { padding: 1.5rem; text-align: center; color: #94a3b8; font-size: .8125rem; }
.ws-track-load-more {
    width: 100%; margin-top: .5rem; padding: .5rem; font-size: .8125rem; font-weight: 600;
    background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: .4rem; color: #64748b; cursor: pointer;
}
.ws-track-load-more:hover { background: #f1f5f9; }

.ws-track-pick {
    display: flex; justify-content: space-between; align-items: center; gap: .75rem; width: 100%;
    padding: .75rem 1rem; margin-bottom: .5rem; background: #fff;
    border: 1px solid #eef2f7; border-radius: .5rem; cursor: pointer;
}
.ws-track-pick:hover { border-color: var(--ws-primary); }
.ws-track-pick-no { font-weight: 700; color: #0f172a; font-size: .9375rem; }

.ws-pod-modal .modal-header, .ws-pod-modal .modal-footer { border-color: #eef2f7; }
.ws-pod-preview-img { max-width: 100%; max-height: 70vh; border-radius: .35rem; }
.ws-pod-preview-frame { height: 70vh; min-height: 360px; }

.ws-map iframe { width: 100%; height: 360px; border: 0; border-radius: var(--ws-radius); }

.ws-branch-map-wrap { width: 100%; }
.ws-branch-map {
    width: 100%;
    height: min(320px, 42vh);
    min-height: 240px;
    max-height: 360px;
    border-radius: var(--ws-radius);
    border: 1px solid #e2e8f0;
    box-shadow: var(--ws-shadow);
    z-index: 1;
    overflow: hidden;
    background: #f8fafc;
}
.ws-map-popup { min-width: 180px; max-width: 260px; }
.ws-map-popup h6 { font-weight: 700; color: var(--ws-primary); margin: 0 0 .35rem; font-size: .95rem; }
.ws-map-popup p { margin: 0 0 .3rem; font-size: .8125rem; color: #64748b; line-height: 1.45; }
.ws-map-popup a { color: inherit; text-decoration: none; }
.ws-map-popup a:hover { color: var(--ws-primary); }

.ws-content-body { max-width: 820px; overflow-wrap: anywhere; word-break: break-word; }
.ws-content-body h3 { margin-top: 1.5rem; font-weight: 700; }
.ws-content-body p { color: #64748b; }
.ws-content-body img,
.ws-content-body table,
.ws-content-body iframe,
.ws-content-body pre { max-width: 100%; }
.ws-content-body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ws-footer { background: #0f172a; color: #cbd5e1; }
.ws-footer-logo {
    display: block;
    height: 44px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    object-position: left center;
}
.ws-footer-title { color: #fff; font-weight: 800; }
.ws-footer-heading { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.ws-footer-links a { color: #94a3b8; text-decoration: none; display: block; padding: .25rem 0; transition: .2s; }
.ws-footer-links a:hover { color: #fff; padding-left: .25rem; }
.ws-footer-links i { font-size: .7rem; margin-right: .35rem; }
.ws-footer-divider { border-color: rgba(255,255,255,.1); }
.ws-social a { color: #94a3b8; font-size: 1.25rem; margin-left: 1rem; }
.ws-social a:hover { color: var(--ws-accent); }

.swiper-button-prev, .swiper-button-next { color: #fff !important; }
.swiper-pagination-bullet-active { background: var(--ws-accent) !important; }

/* Print full tracking report */
@media print {
    body.ws-print-mode .ws-nav,
    body.ws-print-mode .ws-track-hero,
    body.ws-print-mode .ws-footer,
    body.ws-print-mode .modal,
    body.ws-print-mode .modal-backdrop,
    body.ws-print-mode .ws-track-section > .container > .row > .col-lg-10 > #track_results,
    body.ws-print-mode .no-print { display: none !important; }

    body.ws-print-mode .ws-track-section { margin: 0; padding: 0; }
    body.ws-print-mode #track_detail { display: block !important; visibility: visible !important; }
    body.ws-print-mode .ws-track-detail-card { box-shadow: none; border: 1px solid #ddd; page-break-inside: avoid; }
    body.ws-print-mode .ws-track-head { background: #fff; border-bottom: 1px solid #ddd; }
    body.ws-print-mode .ws-timeline-scroll { max-height: none !important; overflow: visible !important; border: none; }
    body.ws-print-mode .ws-tl-row { break-inside: avoid; page-break-inside: avoid; }
    body.ws-print-mode .ws-stepper-rail-fill { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
    body.ws-print-mode .ws-stepper-step--done .ws-stepper-dot { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

@media (max-width: 991.98px) {
    .ws-slide { min-height: 420px; }
    .ws-section { padding: 3.5rem 0; }

    .ws-nav .navbar-collapse {
        margin-top: .85rem;
        padding: .75rem;
        background: #fff;
        border-radius: calc(var(--ws-radius) + .15rem);
        border: 1px solid #eef2f7;
        box-shadow: var(--ws-shadow);
    }
    .theme-bold .ws-nav .navbar-collapse {
        background: #111827;
        border-color: rgba(255,255,255,.08);
    }
    .theme-minimal .ws-nav .navbar-collapse {
        box-shadow: none;
        border-color: #e2e8f0;
    }
    .ws-nav-menu { gap: .15rem; width: 100%; }
    .ws-nav .nav-link {
        padding: .75rem .9rem !important;
        border-radius: .65rem;
    }
    .ws-nav .nav-link.active::after { display: none; }
    .ws-nav-cta {
        margin-left: 0;
        margin-top: .45rem;
        padding-left: 0;
        border-left: none;
        width: 100%;
    }
    .ws-nav-track-btn {
        width: 100%;
        justify-content: center;
        box-shadow: 0 8px 18px color-mix(in srgb, var(--ws-primary) 24%, transparent);
    }
    .ws-nav .navbar-toggler {
        border: 1px solid #e2e8f0;
        border-radius: .65rem;
        padding: .45rem .6rem;
    }
    .ws-nav .navbar-toggler:focus {
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--ws-primary) 15%, transparent);
    }
    .theme-bold .ws-nav .navbar-toggler {
        border-color: rgba(255,255,255,.25);
    }
    .theme-bold .ws-nav .navbar-toggler-icon {
        filter: brightness(0) invert(1);
    }
}

@media (max-width: 767.98px) {
    .ws-track-search-card { flex-direction: column; padding: 1rem; }
    .ws-track-head, .ws-track-body, .ws-track-foot { padding-left: 1rem; padding-right: 1rem; }
    .ws-track-head-aside { align-items: flex-start; width: 100%; }
    .ws-track-actions { width: 100%; }
    .ws-track-actions .btn { flex: 1; }
    .ws-route-grid { grid-template-columns: 1fr; }
    .ws-route-cell--arrow { display: none; }
    .ws-stepper-label { font-size: .5625rem; }
    .ws-tl-row { flex-direction: column; gap: .25rem; }
    .ws-tl-time { text-align: left; }

    .ws-home-track {
        margin-top: -1.5rem;
        padding-bottom: .75rem;
    }
    .ws-home-track-card {
        padding: 1rem;
    }
    .ws-home-track-icon {
        width: 40px;
        min-height: 40px;
        font-size: 1rem;
    }

    .ws-slide { min-height: 360px; }
    .ws-slide-content { padding: 1.75rem 0 2.25rem; max-width: 100%; }
    .ws-slide-title { font-size: clamp(1.45rem, 6vw, 2rem); }
    .ws-slide-desc { font-size: .95rem; margin-bottom: 1.15rem; }
    .ws-slide-content .btn-lg {
        padding: .55rem 1.15rem;
        font-size: .95rem;
    }

    .ws-page-hero,
    .ws-track-hero,
    .ws-home-hero-fallback { padding: 2.5rem 0 2rem; }
    .ws-home-hero-title { font-size: clamp(1.75rem, 6vw, 2.25rem); }
    .ws-page-subtitle,
    .ws-track-hero-sub { font-size: .98rem; padding: 0 .5rem; }

    .ws-section { padding: 2.75rem 0; }
    .ws-stats { padding: 2.75rem 0; }
    .ws-stat-value { font-size: 1.75rem; }
    .ws-stat-label { font-size: .85rem; }

    .ws-cta { padding: 3rem 0; }
    .ws-cta-title { font-size: clamp(1.45rem, 5vw, 2rem); }
    .ws-cta-text { font-size: .98rem; }

    .ws-form-card,
    .ws-track-box,
    .ws-location-card,
    .ws-track-result,
    .ws-info-card,
    .ws-feature-card,
    .ws-team-card,
    .ws-location-search-card,
    .ws-contact-card { padding: 1.25rem; }

    .ws-quick-links-section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
    .ws-quick-link-card { padding: 1rem; }

    .ws-track-input-group {
        flex-direction: column;
        align-items: stretch;
        border: none;
        background: transparent;
        gap: .5rem;
        overflow: visible;
    }
    .ws-track-input-group .form-control {
        border: 1px solid #e2e8f0 !important;
        border-radius: .625rem !important;
        width: 100%;
    }
    .ws-track-input-group .ws-btn-primary {
        width: 100%;
        border-radius: .625rem !important;
        padding: .75rem 1rem;
    }

    .ws-track-no { font-size: 1.125rem; word-break: break-word; }
    .ws-stepper-steps {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        gap: .35rem;
        padding-bottom: .25rem;
    }
    .ws-stepper-step { flex: 0 0 auto; min-width: 4.25rem; }
    .ws-stepper-rail-wrap { padding: 0; }
    .ws-stepper-rail { left: 4%; right: 4%; }

    .ws-facts-bar { flex-direction: column; gap: .35rem; align-items: flex-start; }
    .ws-track-pick { flex-direction: column; align-items: flex-start; }
    .ws-status-pill { white-space: normal; text-align: center; }

    .ws-map iframe { height: min(280px, 55vw); min-height: 220px; }
    .ws-branch-map { height: min(260px, 38vh); min-height: 200px; max-height: 280px; }

    .ws-login-page {
        min-height: calc(100vh - 64px);
        padding: .75rem 0 1.25rem;
        align-items: flex-start;
    }
    .ws-login-card { padding: 1.35rem 1.15rem 1.15rem; }

    .ws-footer .container { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
    .ws-footer-copy { font-size: .8125rem; text-align: center; }
    .ws-social a { margin-left: 0; margin-right: .85rem; }
}

@media (max-width: 575.98px) {
    .ws-logo { height: 40px; max-width: 150px; }
    .ws-brand-mark { width: 2rem; height: 2rem; font-size: .9rem; border-radius: .6rem; }
    .ws-brand-text { font-size: 1.05rem; }

    .ws-slide { min-height: 300px; }
    .ws-hero-slider .swiper-button-prev,
    .ws-hero-slider .swiper-button-next { display: none !important; }

    .ws-home-track { margin-top: -.75rem; }
    .ws-track-section { margin-top: -.75rem; padding-bottom: 2.5rem; }

    .ws-team-photo { width: 96px; height: 96px; }
    .ws-service-img { height: 160px; }

    .ws-pod-modal .modal-dialog {
        margin: .5rem;
        max-width: calc(100% - 1rem);
    }
    .ws-pod-preview-frame { height: min(70vh, 520px); min-height: 240px; }

    .ws-track-actions .btn { min-width: 0; font-size: .8125rem; padding-left: .65rem; padding-right: .65rem; }
}

@media (max-width: 380px) {
    .ws-slide { min-height: 280px; }
    .ws-slide-badge { font-size: .6875rem; }
    .ws-stat-value { font-size: 1.5rem; }
}

/* Fraud awareness */
.ws-fraud-alert-box {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1080;
    width: min(380px, calc(100vw - 2rem));
    animation: wsFraudSlideIn .35s ease;
}
.ws-fraud-alert-box[hidden] { display: none !important; }
.ws-fraud-alert-box__inner {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
    background: var(--ws-fraud-bg, #b42318);
    color: var(--ws-fraud-text, #fff);
    border-radius: .85rem;
    padding: 1rem 1rem 1rem 1.1rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .18);
}
.ws-fraud-alert-box__icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.18);
    font-size: 1.1rem;
}
.ws-fraud-alert-box__title { font-weight: 700; font-size: .95rem; margin-bottom: .25rem; }
.ws-fraud-alert-box__text { font-size: .8125rem; line-height: 1.45; opacity: .95; }
.ws-fraud-alert-box__link {
    display: inline-block;
    margin-top: .5rem;
    font-size: .75rem;
    font-weight: 600;
    color: inherit;
    text-decoration: underline;
}
.ws-fraud-alert-box__close {
    flex-shrink: 0;
    border: 0;
    background: rgba(255,255,255,.15);
    color: inherit;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    line-height: 1;
}
.ws-fraud-alert-box__close:hover { background: rgba(255,255,255,.28); }
@keyframes wsFraudSlideIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.ws-fraud-awareness { padding-top: 1.5rem; }
.ws-fraud-awareness-card {
    position: relative;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(180, 35, 24, .08), rgba(245, 158, 11, .08));
    border: 1px solid rgba(180, 35, 24, .18);
    border-radius: 1rem;
    padding: 1.5rem 1.75rem;
}
.ws-fraud-awareness-card.is-hidden { display: none !important; }
.ws-fraud-awareness-close {
    position: absolute;
    top: .85rem;
    right: .85rem;
    border: 0;
    background: rgba(15,23,42,.06);
    color: #64748b;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
}
.ws-fraud-awareness-close:hover { background: rgba(15,23,42,.12); }
.ws-fraud-awareness-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #b42318;
    color: #fff;
    font-size: 1.35rem;
}
.ws-fraud-awareness-content { min-width: 0; padding-right: 2rem; }
.ws-fraud-awareness .ws-policy-body h3 { font-size: 1.05rem; margin-top: 1rem; }
.ws-fraud-awareness .ws-policy-body ul { padding-left: 1.25rem; }

.ws-home-track-results { margin-top: 1rem; }
.ws-home-track-pick {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    width: 100%;
    text-align: left;
    border: 1px solid rgba(15,23,42,.08);
    background: #fff;
    border-radius: .65rem;
    padding: .75rem 1rem;
    margin-bottom: .5rem;
}
.ws-home-track-pick:hover { border-color: var(--ws-primary); background: rgba(37,99,235,.04); }
