﻿* {
    box-sizing: border-box;
}

/* Warehouse transfer request: ownership/account transfer, frontend only */
body[data-page-title="warehouseTransfer.title"] {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 12% -8%, rgba(37,99,235,.11), transparent 30%),
        radial-gradient(circle at 92% 2%, rgba(22,163,74,.09), transparent 24%),
        #eef4fb;
    color: var(--cs-ink);
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-page {
    min-height: 100vh;
    padding: 18px;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding-bottom: 96px;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-color: rgba(147,197,253,.55);
    background:
        linear-gradient(135deg, rgba(239,246,255,.98), rgba(255,255,255,.95)),
        #fff;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-hero h1 {
    margin: 0;
    color: var(--cs-navy);
    font-size: 28px;
    line-height: 1.15;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-hero p {
    margin: 6px 0 0;
    max-width: 740px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-hero-side {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-count {
    min-width: 132px;
    padding: 10px 12px;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(18,50,74,.07);
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-count strong {
    display: block;
    color: var(--cs-navy);
    font-size: 26px;
    line-height: 1;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-count span {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 14px;
    margin-top: 14px;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-main,
body[data-page-title="warehouseTransfer.title"] .cs-transfer-aside {
    display: grid;
    align-content: start;
    gap: 12px;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-step,
body[data-page-title="warehouseTransfer.title"] .cs-transfer-summary,
body[data-page-title="warehouseTransfer.title"] .cs-transfer-tips {
    padding: 16px;
    border-color: rgba(203,213,225,.75);
    background: rgba(255,255,255,.96);
}

body[data-page-title="warehouseTransfer.title"] .cs-step-head {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 12px;
}

body[data-page-title="warehouseTransfer.title"] .cs-step-index {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: #dbeafe;
    color: var(--cs-blue);
    font-size: 13px;
    font-weight: 950;
    flex: 0 0 auto;
}

body[data-page-title="warehouseTransfer.title"] .cs-step-head h2 {
    margin: 0;
    color: var(--cs-navy);
    font-size: 18px;
    line-height: 1.2;
}

body[data-page-title="warehouseTransfer.title"] .cs-step-head p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-parcels {
    display: grid;
    gap: 8px;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-parcel {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid #e5edf7;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff, #fbfdff);
    box-shadow: 0 10px 24px rgba(18,50,74,.05);
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-parcel.is-split {
    border-color: #fecaca;
    background: linear-gradient(180deg, #fff, #fff7f7);
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-parcel-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-parcel-top .cs-package-icon {
    width: 18px;
    height: 18px;
    color: var(--cs-blue);
    background: #dbeafe;
    border-color: #93c5fd;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-parcel small {
    display: block;
    margin-bottom: 2px;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-parcel strong {
    display: block;
    min-width: 0;
    color: var(--cs-blue);
    font-size: 14px;
    font-weight: 900;
    word-break: break-all;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-parcel-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-parcel-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-parcel-meta .is-danger {
    background: #fee2e2;
    color: #b91c1c;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-items,
body[data-page-title="warehouseTransfer.title"] .cs-transfer-remark {
    margin: 0;
    color: #334155;
    font-size: 13px;
    line-height: 1.45;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-items span,
body[data-page-title="warehouseTransfer.title"] .cs-transfer-remark span {
    color: #64748b;
    font-weight: 900;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-recipient-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-recipient-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

body[data-page-title="warehouseTransfer.title"] .cs-field-error {
    min-height: 16px;
    color: var(--cs-red);
    font-size: 11px;
    font-weight: 800;
}

body[data-page-title="warehouseTransfer.title"] .cs-input.is-error {
    border-color: var(--cs-red);
    box-shadow: 0 0 0 3px rgba(220,38,38,.10);
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-verify {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
    border: 1px solid #dbeafe;
    border-radius: 15px;
    background: #f8fafc;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-verify-dot {
    width: 13px;
    height: 13px;
    margin-top: 3px;
    border-radius: 50%;
    background: #94a3b8;
    box-shadow: 0 0 0 5px rgba(148,163,184,.16);
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-verify strong {
    display: block;
    color: var(--cs-navy);
    font-size: 15px;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-verify p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-verify.is-loading {
    border-color: #bfdbfe;
    background: #eff6ff;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-verify.is-loading .cs-transfer-verify-dot {
    background: #2563eb;
    box-shadow: 0 0 0 5px rgba(37,99,235,.14);
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-verify.is-success {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-verify.is-success .cs-transfer-verify-dot {
    background: #16a34a;
    box-shadow: 0 0 0 5px rgba(22,163,74,.15);
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-verify.is-error {
    border-color: #fecaca;
    background: #fef2f2;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-verify.is-error .cs-transfer-verify-dot {
    background: #dc2626;
    box-shadow: 0 0 0 5px rgba(220,38,38,.14);
}

body[data-page-title="warehouseTransfer.title"] .cs-risk-box {
    display: grid;
    gap: 4px;
    margin-top: 10px;
    padding: 11px 12px;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    background: #fff7ed;
    color: #9a3412;
}

body[data-page-title="warehouseTransfer.title"] .cs-risk-box-soft {
    border-color: #fecaca;
    background: #fef2f2;
}

body[data-page-title="warehouseTransfer.title"] .cs-risk-box span {
    color: #9a3412;
    font-size: 12px;
}

body[data-page-title="warehouseTransfer.title"] .cs-risk-box-soft span {
    color: #b91c1c;
}

body[data-page-title="warehouseTransfer.title"] .cs-risk-box strong {
    color: #7c2d12;
    font-size: 14px;
}

body[data-page-title="warehouseTransfer.title"] .cs-risk-box-soft strong {
    color: #991b1b;
}

body[data-page-title="warehouseTransfer.title"] .cs-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 0;
    border-top: 1px solid #edf2f7;
}

body[data-page-title="warehouseTransfer.title"] .cs-summary-row span {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

body[data-page-title="warehouseTransfer.title"] .cs-summary-row strong {
    color: var(--cs-navy);
    font-size: 16px;
    font-weight: 950;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-summary h2,
body[data-page-title="warehouseTransfer.title"] .cs-transfer-tips h2 {
    margin: 0;
    color: var(--cs-navy);
    font-size: 15px;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-summary .cs-btn {
    width: 100%;
    margin-top: 10px;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-tips ul {
    display: grid;
    gap: 8px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-tips li {
    position: relative;
    padding-left: 16px;
    color: #475569;
    font-size: 12px;
    line-height: 1.45;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-tips li:before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #16a34a;
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-actionbar {
    position: fixed;
    left: 50%;
    bottom: 16px;
    z-index: 40;
    display: grid;
    grid-template-columns: auto auto minmax(220px, auto);
    justify-content: end;
    gap: 10px;
    width: min(1180px, calc(100% - 36px));
    padding: 10px;
    border: 1px solid rgba(15,42,61,.1);
    border-radius: 16px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 18px 44px rgba(15,42,61,.18);
    backdrop-filter: blur(14px);
    transform: translateX(-50%);
}

body[data-page-title="warehouseTransfer.title"] .cs-transfer-actionbar .cs-btn-primary {
    min-width: 220px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

body[data-page-title="warehouseTransfer.title"] .cs-btn.is-loading {
    pointer-events: none;
    opacity: .75;
}

@media (max-width: 960px) {
    body[data-page-title="warehouseTransfer.title"] .cs-transfer-layout {
        grid-template-columns: 1fr;
    }

    body[data-page-title="warehouseTransfer.title"] .cs-transfer-aside {
        order: 2;
    }
}

@media (max-width: 767px) {
    body[data-page-title="warehouseTransfer.title"] .cs-transfer-page {
        padding: 7px;
    }

    body[data-page-title="warehouseTransfer.title"] .cs-transfer-shell {
        padding-bottom: 112px;
    }

    body[data-page-title="warehouseTransfer.title"] .cs-transfer-hero {
        align-items: flex-start;
        padding: 12px;
        border-radius: 14px;
    }

    body[data-page-title="warehouseTransfer.title"] .cs-transfer-hero h1 {
        font-size: 20px;
    }

    body[data-page-title="warehouseTransfer.title"] .cs-transfer-hero p {
        font-size: 11px;
        line-height: 1.35;
    }

    body[data-page-title="warehouseTransfer.title"] .cs-transfer-hero-side {
        display: grid;
        justify-items: end;
        gap: 8px;
    }

    body[data-page-title="warehouseTransfer.title"] .cs-transfer-count {
        min-width: 88px;
        padding: 8px 9px;
    }

    body[data-page-title="warehouseTransfer.title"] .cs-transfer-count strong {
        font-size: 22px;
    }

    body[data-page-title="warehouseTransfer.title"] .cs-transfer-count span {
        font-size: 10px;
    }

    body[data-page-title="warehouseTransfer.title"] .cs-transfer-layout {
        gap: 8px;
        margin-top: 8px;
    }

    body[data-page-title="warehouseTransfer.title"] .cs-transfer-main,
    body[data-page-title="warehouseTransfer.title"] .cs-transfer-aside {
        gap: 8px;
    }

    body[data-page-title="warehouseTransfer.title"] .cs-transfer-step,
    body[data-page-title="warehouseTransfer.title"] .cs-transfer-summary,
    body[data-page-title="warehouseTransfer.title"] .cs-transfer-tips {
        padding: 11px;
        border-radius: 14px;
    }

    body[data-page-title="warehouseTransfer.title"] .cs-step-head {
        gap: 8px;
        margin-bottom: 9px;
    }

    body[data-page-title="warehouseTransfer.title"] .cs-step-index {
        width: 24px;
        height: 24px;
        border-radius: 8px;
        font-size: 12px;
    }

    body[data-page-title="warehouseTransfer.title"] .cs-step-head h2 {
        font-size: 16px;
    }

    body[data-page-title="warehouseTransfer.title"] .cs-step-head p {
        font-size: 11px;
    }

    body[data-page-title="warehouseTransfer.title"] .cs-transfer-parcel {
        gap: 6px;
        padding: 10px;
        border-radius: 13px;
    }

    body[data-page-title="warehouseTransfer.title"] .cs-transfer-parcel-top {
        grid-template-columns: auto minmax(0, 1fr);
    }

    body[data-page-title="warehouseTransfer.title"] .cs-transfer-parcel-top .cs-status {
        grid-column: 2;
        justify-self: start;
    }

    body[data-page-title="warehouseTransfer.title"] .cs-transfer-items,
    body[data-page-title="warehouseTransfer.title"] .cs-transfer-remark {
        font-size: 12px;
    }

    body[data-page-title="warehouseTransfer.title"] .cs-transfer-recipient-grid {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    body[data-page-title="warehouseTransfer.title"] .cs-transfer-recipient-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 7px;
        margin-top: 7px;
    }

    body[data-page-title="warehouseTransfer.title"] .cs-transfer-verify {
        padding: 10px;
    }

    body[data-page-title="warehouseTransfer.title"] .cs-transfer-actionbar {
        left: 7px;
        right: 7px;
        bottom: calc(7px + env(safe-area-inset-bottom));
        width: auto;
        display: grid;
        grid-template-columns: 88px 96px 1fr;
        padding: 7px;
        border-radius: 14px;
        transform: none;
    }

    body[data-page-title="warehouseTransfer.title"] .cs-transfer-actionbar .cs-btn {
        min-height: 40px;
        padding: 8px 8px;
        font-size: 12px;
    }

    body[data-page-title="warehouseTransfer.title"] .cs-transfer-actionbar .cs-btn-primary {
        min-width: 0;
    }
}

/* Account profile */
body[data-page-title="account.title"] {
    background: var(--cs-bg);
}

.cs-account-shell .cs-sidebar {
    background:
        radial-gradient(circle at top left, rgba(59,130,246,.18), transparent 38%),
        linear-gradient(180deg, #12324a 0%, #0b263b 100%);
}

.cs-account-main {
    display: grid;
    gap: 16px;
}

.cs-account-head {
    margin-bottom: 0;
}

.cs-account-head-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cs-account-overview,
.cs-account-list-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr) minmax(280px, .85fr);
    gap: 14px;
}

.cs-account-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 14px;
}

.cs-account-profile-card,
.cs-account-security-card,
.cs-account-sub-entry,
.cs-account-detail-card {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.cs-account-profile-card {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    background:
        linear-gradient(135deg, rgba(37,99,235,.08), rgba(255,255,255,.92)),
        #fff;
}

.cs-account-avatar {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, #12324a, #2563eb);
    box-shadow: 0 14px 28px rgba(37,99,235,.2);
    font-size: 18px;
    font-weight: 950;
}

.cs-account-profile-main {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.cs-account-profile-main h2 {
    margin: 0;
    color: var(--cs-navy);
    font-size: 26px;
    line-height: 1.08;
}

.cs-account-profile-main p {
    margin: 0;
    color: var(--cs-muted);
    font-size: 13px;
}

.cs-account-profile-main p strong {
    color: #2563eb;
    font-weight: 900;
}

.cs-account-meta,
.cs-account-detail-list,
.cs-account-sub-meta {
    display: grid;
    gap: 9px;
    margin: 0;
}

.cs-account-meta {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cs-account-meta div,
.cs-account-detail-list div,
.cs-account-sub-meta div {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 14px;
    background: #f8fafc;
}

.cs-account-meta dt,
.cs-account-detail-list dt,
.cs-account-sub-meta dt {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
}

.cs-account-meta dd,
.cs-account-detail-list dd,
.cs-account-sub-meta dd {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: var(--cs-navy);
    font-size: 13px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cs-account-card-title {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 10px;
}

.cs-account-card-title h2 {
    margin: 0;
    color: var(--cs-navy);
    font-size: 18px;
}

.cs-account-card-title p {
    margin: 4px 0 0;
    color: var(--cs-muted);
    font-size: 13px;
    line-height: 1.45;
}

.cs-account-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #eef6ff;
}

.cs-account-icon:before {
    content: "";
    width: 17px;
    height: 17px;
    border: 2px solid #2563eb;
    border-radius: 5px;
}

.cs-account-icon-security {
    background: #fff7ed;
}

.cs-account-icon-security:before {
    border-color: #f59e0b;
    border-radius: 50% 50% 6px 6px;
}

.cs-account-icon-users {
    background: #ecfdf5;
}

.cs-account-icon-users:before {
    border-color: #10b981;
    border-radius: 50%;
    box-shadow: 8px 6px 0 -4px #10b981;
}

.cs-account-security-actions,
.cs-account-actions,
.cs-account-sub-actions,
.cs-account-row-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cs-account-frame-card {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.cs-account-frame-head,
.cs-account-sub-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cs-account-frame-head h2,
.cs-account-sub-head h2 {
    margin: 0;
    color: var(--cs-navy);
    font-size: 20px;
}

.cs-account-frame-head p,
.cs-account-sub-head p {
    margin: 4px 0 0;
    color: var(--cs-muted);
    font-size: 13px;
}

.cs-account-frame {
    width: 100%;
    min-height: 560px;
    border: 0;
    border-radius: 16px;
    background: transparent;
}

.cs-account-list-page {
    margin: 0;
    background: transparent;
}

.cs-account-list-wrap {
    display: grid;
    gap: 14px;
    padding: 0;
}

.cs-account-subaccounts {
    display: grid;
    gap: 14px;
    padding: 16px;
}

.cs-account-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px;
    padding: 10px;
    border-radius: 16px;
    background: #f8fafc;
}

.cs-account-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--cs-border);
    border-radius: 16px;
}

.cs-account-table {
    min-width: 760px;
}

.cs-account-table th {
    background: #f8fafc;
}

.cs-account-table tbody tr:hover {
    background: rgba(37,99,235,.04);
}

.cs-btn-sm {
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 12px;
}

.cs-account-card-list {
    display: none;
}

.cs-account-sub-card {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(15,42,61,.08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(15,42,61,.07);
}

.cs-account-sub-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
}

.cs-account-sub-top strong {
    display: block;
    overflow: hidden;
    color: #2563eb;
    font-size: 15px;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cs-account-sub-top span:not(.cs-status) {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.cs-account-tips {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cs-account-tips li {
    position: relative;
    padding-left: 16px;
    color: #475569;
    font-size: 13px;
    line-height: 1.45;
}

.cs-account-tips li:before {
    content: "";
    position: absolute;
    top: .58em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f59e0b;
}

.cs-account-empty {
    padding: 22px;
}

.cs-account-pager {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    color: #64748b;
    font-size: 13px;
}

.cs-account-pager a,
.cs-account-pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid var(--cs-border);
    border-radius: 10px;
    background: #fff;
    color: var(--cs-navy);
    font-weight: 900;
}

.cs-account-pager .current,
.cs-account-pager span.current {
    color: #fff;
    border-color: var(--cs-navy);
    background: var(--cs-navy);
}

.cs-account-pager input {
    width: 58px;
    min-height: 34px;
    text-align: center;
}

@media (max-width: 1180px) {
    .cs-account-overview {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1023px) {
    body[data-page-title="account.title"] .cs-user-shell.cs-dashboard {
        display: block;
        min-height: auto;
    }

    body[data-page-title="account.title"] .cs-user-mobile-header {
        height: 64px;
        min-height: 64px;
        margin: 0;
    }

    body[data-page-title="account.title"] .cs-main {
        min-height: auto;
        margin-top: 0;
        padding-top: 10px;
        padding-bottom: 86px;
        background: transparent;
    }

    .cs-account-head {
        align-items: stretch;
    }

    .cs-account-head-actions {
        justify-content: flex-start;
    }

    .cs-account-overview,
    .cs-account-list-grid {
        grid-template-columns: 1fr;
    }

    .cs-account-frame-card {
        padding: 10px;
    }

    .cs-account-frame-head {
        align-items: flex-start;
    }

    .cs-account-frame-head .cs-btn {
        display: none;
    }
}

@media (max-width: 767px) {
    body[data-page-title="account.title"] .cs-main {
        padding: 8px 10px 86px;
    }

    .cs-account-head {
        gap: 10px;
        padding: 12px;
        border: 1px solid var(--cs-border);
        border-radius: 16px;
        background: rgba(255,255,255,.94);
        box-shadow: 0 12px 28px rgba(15,42,61,.08);
    }

    .cs-account-head h1 {
        font-size: 22px;
    }

    .cs-account-head-actions .cs-lang {
        display: none;
    }

    .cs-account-head-actions .cs-btn {
        min-height: 36px;
        padding: 8px 10px;
        border-radius: 12px;
        font-size: 12px;
    }

    .cs-account-profile-card,
    .cs-account-security-card,
    .cs-account-sub-entry,
    .cs-account-detail-card,
    .cs-account-subaccounts {
        padding: 12px;
        border-radius: 16px;
    }

    .cs-account-profile-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .cs-account-avatar {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 15px;
    }

    .cs-account-profile-main h2 {
        font-size: 20px;
    }

    .cs-account-meta {
        grid-template-columns: 1fr;
    }

    .cs-account-frame-head {
        display: none;
    }

    .cs-account-frame {
        min-height: 620px;
        border-radius: 12px;
    }

    .cs-account-list-wrap {
        gap: 10px;
    }

    .cs-account-sub-head {
        align-items: stretch;
    }

    .cs-account-sub-head .cs-btn {
        min-height: 38px;
        align-self: center;
        padding: 8px 12px;
        font-size: 12px;
    }

    .cs-account-filter {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        padding: 8px;
        border-radius: 14px;
    }

    .cs-account-filter .cs-field label {
        display: none;
    }

    .cs-account-filter .cs-btn {
        min-height: 40px;
        padding: 8px 14px;
        border-radius: 12px;
        font-size: 12px;
    }

    .cs-account-table-wrap {
        display: none;
    }

    .cs-account-card-list {
        display: grid;
        gap: 8px;
    }

    .cs-account-sub-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .cs-account-sub-meta div {
        padding: 8px;
        border-radius: 12px;
    }

    .cs-account-sub-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .cs-account-sub-actions .cs-btn {
        min-height: 36px;
        border-radius: 12px;
        font-size: 12px;
    }

    .cs-account-pager {
        justify-content: center;
        padding-top: 4px;
    }

    .cs-account-pager a,
    .cs-account-pager span {
        min-width: 30px;
        min-height: 30px;
        padding: 0 8px;
        border-radius: 9px;
        font-size: 12px;
    }
}

/* Compact mobile form rhythm for the add-recipient-address popup. */
.cs-address-add-page {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
}

.cs-address-add-page .cs-address-edit-shell {
    padding: 10px 0 12px;
}

.cs-address-add-page .cs-address-edit-title {
    position: relative;
    margin-bottom: 8px;
    padding: 12px 46px 11px 12px;
    border-radius: 15px;
}

.cs-address-add-page .cs-address-edit-title h1 {
    margin: 2px 0 2px;
    font-size: 21px;
    line-height: 1.12;
}

.cs-address-add-page .cs-address-edit-title .cs-eyebrow {
    margin-bottom: 2px;
    font-size: 11px;
    line-height: 1.1;
}

.cs-address-add-page .cs-address-edit-title p:not(.cs-eyebrow) {
    max-width: 620px;
    font-size: 12px;
    line-height: 1.35;
}

.cs-address-close-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    background: #fff;
    color: var(--cs-navy);
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.cs-address-close-icon:hover {
    border-color: rgba(18,50,74,.24);
    box-shadow: 0 8px 18px rgba(18,50,74,.10);
    transform: translateY(-1px);
}

.cs-address-add-page .cs-address-edit-card {
    padding: 12px;
    border-radius: 15px;
}

.cs-address-add-page .cs-address-edit-grid {
    gap: 8px;
}

.cs-address-add-page .cs-address-edit-cn-fields {
    display: contents;
}

.cs-address-add-page .js-cn-field.is-hidden {
    display: none !important;
}

.cs-address-add-page .cs-field {
    gap: 4px;
    margin: 0;
}

.cs-address-add-page .cs-field span {
    font-size: 11px;
    line-height: 1.15;
}

.cs-address-add-page .cs-input {
    min-height: 40px;
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 13px;
}

.cs-address-add-page .city-picker-span {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 7px 32px 7px 10px;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    color: var(--cs-navy);
    background: #fff;
}

.cs-address-add-page .city-picker-span > .placeholder,
.cs-address-add-page .city-picker-span > .title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
    line-height: 1.2;
}

.cs-address-add-page .cs-textarea {
    min-height: 76px;
    max-height: 96px;
}

.cs-address-add-page .cs-field small {
    min-height: 0;
    font-size: 10px;
    line-height: 1.15;
}

.cs-address-add-page .cs-field small:empty {
    display: none;
}

.cs-address-add-page .cs-address-edit-notice {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 12px;
}

.cs-address-add-page .cs-address-edit-notice span {
    width: 18px;
    height: 18px;
    font-size: 11px;
}

.cs-address-add-page .cs-address-edit-notice p {
    font-size: 11px;
    line-height: 1.35;
}

.cs-address-add-page .cs-address-edit-bar {
    min-height: 64px;
    padding: 8px max(10px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
}

.cs-address-add-page .cs-address-edit-bar .cs-btn {
    min-height: 44px;
    border-radius: 12px;
}

@media (max-width: 720px) {
    .cs-address-add-page {
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }

    .cs-address-add-page .cs-address-edit-shell {
        width: min(100% - 16px, 100%);
        padding-top: 8px;
    }

    .cs-address-add-page .cs-address-edit-title {
        padding: 10px 42px 10px 11px;
        margin-bottom: 8px;
        border-radius: 14px;
    }

    .cs-address-add-page .cs-address-edit-title h1 {
        font-size: 18px;
    }

    .cs-address-add-page .cs-address-edit-title p:not(.cs-eyebrow) {
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        font-size: 11px;
    }

    .cs-address-close-icon {
        top: 8px;
        right: 8px;
        width: 30px;
        height: 30px;
        border-radius: 9px;
        font-size: 18px;
    }

    .cs-address-add-page .cs-address-edit-card {
        padding: 10px;
    }

    .cs-address-add-page .cs-address-edit-grid {
        gap: 6px;
    }

    .cs-address-add-page .cs-input {
        min-height: 40px;
        padding: 7px 10px;
    }

    .cs-address-add-page .cs-textarea {
        min-height: 72px;
        max-height: 88px;
    }

    .cs-address-add-page .cs-address-edit-notice {
        margin-top: 7px;
        padding: 7px 9px;
    }

    .cs-address-add-page .cs-address-edit-bar {
        grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
        min-height: 64px;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    }

    .cs-address-add-page .cs-address-edit-bar .cs-btn {
        min-height: 44px;
        padding: 8px 10px;
    }
}

:root {
    --cs-navy: #12324a;
    --cs-navy-2: #0d2436;
    --cs-blue: #2563eb;
    --cs-orange: #f59e0b;
    --cs-green: #16a34a;
    --cs-red: #dc2626;
    --cs-bg: #f5f7fa;
    --cs-card: #ffffff;
    --cs-border: #e5e7eb;
    --cs-text: #1f2937;
    --cs-muted: #6b7280;
    --cs-soft: #eef4ff;
    --cs-shadow: 0 18px 45px rgba(18, 50, 74, .12);
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    color: var(--cs-text);
    background: var(--cs-bg);
    font-family: "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

.cs-shell {
    min-height: 100vh;
}

.cs-container {
    width: min(100% - 32px, 1220px);
    margin: 0 auto;
}

.cs-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--cs-border);
    backdrop-filter: blur(12px);
}

.cs-topbar-dark {
    background: rgba(8, 23, 35, .82);
    border-bottom-color: rgba(255, 255, 255, .12);
}

.cs-topbar-dark .cs-brand,
.cs-topbar-dark .cs-nav-links a {
    color: rgba(255, 255, 255, .82);
}

.cs-topbar-dark .cs-nav-links a:hover,
.cs-topbar-dark .cs-nav-links a.is-active {
    color: #fff;
    background: rgba(255, 255, 255, .1);
}

.cs-lang {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.48);
    padding: 0 4px;
}

.cs-lang button {
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.66);
    cursor: pointer;
    font-weight: 800;
}

.cs-lang button.is-active {
    color: #fff;
}

.cs-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    cursor: pointer;
}

.cs-menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 3px auto;
    background: #fff;
    border-radius: 99px;
}

.cs-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    gap: 18px;
}

.cs-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    color: var(--cs-navy);
}

.cs-brand-text {
    display: grid;
    gap: 1px;
}

.cs-brand-text small {
    display: block;
    color: rgba(255,255,255,.55);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.cs-brand-mark {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #fff;
    background: var(--cs-navy);
    border-radius: 8px;
    font-size: 13px;
}

.cs-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cs-nav-links a {
    padding: 9px 12px;
    color: var(--cs-muted);
    border-radius: 8px;
    font-size: 14px;
}

.cs-nav-links a:hover,
.cs-nav-links a.is-active {
    color: var(--cs-navy);
    background: var(--cs-soft);
}

.cs-menu-drawer {
    display: grid;
    gap: 16px;
}

.cs-mobile-links {
    display: grid;
    gap: 8px;
}

.cs-mobile-links a {
    padding: 12px;
    border: 1px solid var(--cs-border);
    border-radius: 8px;
    color: var(--cs-navy);
    font-weight: 800;
}

.cs-lang-mobile {
    justify-content: flex-start;
    color: var(--cs-muted);
}

.cs-lang-mobile button {
    color: var(--cs-navy);
}

.cs-lang-mobile button.is-active {
    color: var(--cs-blue);
}

.cs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #fff;
    color: var(--cs-navy);
    cursor: pointer;
    font-weight: 700;
    transition: .18s ease;
}

.cs-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(18, 50, 74, .12);
}

.cs-btn:disabled,
.cs-btn.is-loading {
    cursor: not-allowed;
    opacity: .68;
    transform: none;
    box-shadow: none;
}

.cs-btn.is-loading:before {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 999px;
    animation: cs-spin .8s linear infinite;
}

.cs-btn-primary {
    background: var(--cs-orange);
    color: #111827;
}

.cs-btn-dark {
    background: var(--cs-navy);
    color: #fff;
}

.cs-btn-ghost {
    border-color: var(--cs-border);
    background: #fff;
}

.cs-btn-glass {
    border-color: rgba(255,255,255,.24);
    background: rgba(255,255,255,.08);
    color: #fff;
}

.cs-btn-danger-ghost {
    border-color: #fecaca;
    background: #fff7f7;
    color: var(--cs-red);
}

.cs-address-picker-page {
    min-height: 100vh;
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
    background:
        radial-gradient(circle at 12% -4%, rgba(37,99,235,.10), transparent 30%),
        radial-gradient(circle at 96% 0%, rgba(245,158,11,.10), transparent 28%),
        #eef4fb;
    color: var(--cs-text);
}

.cs-address-picker-shell {
    width: min(100% - 28px, 1080px);
    margin: 0 auto;
    padding: 14px 0 18px;
}

.cs-address-picker-hero,
.cs-address-picker-title,
.cs-address-notice {
    margin-bottom: 12px;
}

.cs-address-picker-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 12px 14px;
    background:
        linear-gradient(135deg, rgba(18,50,74,.98), rgba(11,38,59,.96)),
        radial-gradient(circle at top left, rgba(59,130,246,.20), transparent 36%);
    border-color: rgba(255,255,255,.10);
    color: #fff;
}

.cs-address-picker-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.cs-logo-mark {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #fff;
    color: var(--cs-navy);
    font-size: 12px;
    font-weight: 950;
    flex: 0 0 auto;
}

.cs-address-picker-brand strong {
    display: block;
    font-size: 15px;
    line-height: 1.1;
    letter-spacing: .02em;
}

.cs-address-picker-brand span:not(.cs-logo-mark) {
    display: block;
    margin-top: 2px;
    color: rgba(255,255,255,.62);
    font-size: 11px;
    line-height: 1.15;
}

.cs-address-lang {
    min-height: 34px;
    padding: 0 10px;
    border-radius: 10px;
    background: rgba(255,255,255,.09);
    flex: 0 0 auto;
}

.cs-address-picker-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    background: rgba(255,255,255,.96);
}

.cs-address-picker-title h1 {
    margin: 3px 0 4px;
    color: var(--cs-navy);
    font-size: 24px;
    line-height: 1.15;
}

.cs-address-picker-title p:not(.cs-eyebrow) {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
}

.cs-address-add {
    min-height: 38px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(245,158,11,.22);
    white-space: nowrap;
}

.cs-address-add span:first-child {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.36);
    font-weight: 950;
}

.cs-address-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-color: #fed7aa;
    background: #fff7ed;
}

.cs-address-notice-icon {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #ffedd5;
    color: #c2410c;
    font-weight: 950;
    flex: 0 0 auto;
}

.cs-address-notice strong {
    display: block;
    color: var(--cs-navy);
    font-size: 13px;
}

.cs-address-notice p {
    margin: 2px 0 0;
    color: #9a3412;
    font-size: 12px;
    line-height: 1.45;
}

.cs-address-picker-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cs-address-option {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(203,213,225,.78);
    background: rgba(255,255,255,.97);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
    cursor: pointer;
}

.cs-address-option:hover {
    transform: translateY(-1px);
    border-color: rgba(37,99,235,.35);
    box-shadow: 0 14px 34px rgba(18,50,74,.10);
}

.cs-address-option.is-selected {
    border-color: rgba(37,99,235,.42);
    background: linear-gradient(135deg, #eff6ff, #fff);
    box-shadow: 0 16px 38px rgba(37,99,235,.13);
}

.cs-address-radio {
    padding-top: 3px;
    cursor: pointer;
}

.cs-address-radio input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.cs-address-radio span {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #fff;
}

.cs-address-radio span:after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--cs-blue);
    transform: scale(0);
    transition: transform .16s ease;
}

.cs-address-radio input:checked + span {
    border-color: var(--cs-blue);
    background: #eff6ff;
}

.cs-address-radio input:checked + span:after {
    transform: scale(1);
}

.cs-address-option-main {
    min-width: 0;
}

.cs-address-option-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.cs-address-option-head h2 {
    margin: 0;
    color: var(--cs-navy);
    font-size: 17px;
    line-height: 1.25;
}

.cs-address-option-head p {
    margin: 4px 0 0;
    color: #2563eb;
    font-size: 13px;
    font-weight: 800;
}

.cs-address-tags {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
    flex: 0 0 auto;
}

.cs-address-option:not(.is-selected) .cs-selected-tag {
    display: none;
}

.cs-address-details {
    display: grid;
    gap: 7px;
    margin: 0;
}

.cs-address-details div {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    min-width: 0;
}

.cs-address-details dt {
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

.cs-address-details dd {
    min-width: 0;
    margin: 0;
    color: var(--cs-navy);
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.cs-address-detail-line dd {
    color: #334155;
}

.cs-address-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
}

.cs-address-actions .cs-btn {
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 10px;
    font-size: 12px;
}

.cs-address-picker-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px max(14px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
    border-top: 1px solid rgba(203,213,225,.75);
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(16px);
    box-shadow: 0 -12px 32px rgba(18,50,74,.10);
}

.cs-address-picker-count {
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: var(--cs-navy);
    font-size: 12px;
    font-weight: 850;
}

.cs-address-picker-count strong {
    color: #0ea5e9;
    font-size: 24px;
    line-height: 1;
}

.cs-address-picker-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cs-address-picker-actions .cs-btn {
    min-height: 38px;
    border-radius: 12px;
}

.cs-address-edit-page {
    min-height: 100vh;
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
    background:
        radial-gradient(circle at 10% -8%, rgba(37,99,235,.12), transparent 28%),
        radial-gradient(circle at 96% 0%, rgba(245,158,11,.10), transparent 28%),
        #eef4fb;
    color: var(--cs-text);
}

.cs-address-edit-shell {
    width: min(100% - 28px, 860px);
    margin: 0 auto;
    padding: 14px 0 18px;
}

.cs-address-edit-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
    padding: 16px;
    background: rgba(255,255,255,.96);
}

.cs-address-edit-title h1 {
    margin: 3px 0 4px;
    color: var(--cs-navy);
    font-size: 24px;
    line-height: 1.15;
}

.cs-address-edit-title p:not(.cs-eyebrow) {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
}

.cs-address-edit-title .cs-btn {
    min-height: 36px;
    border-radius: 12px;
    white-space: nowrap;
}

.cs-address-edit-card {
    padding: 16px;
    background: rgba(255,255,255,.97);
}

.cs-address-edit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cs-address-edit-cn-fields {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cs-address-edit-cn-fields.is-hidden {
    display: none;
}

.cs-field {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.cs-field span {
    color: var(--cs-navy);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.25;
}

.cs-field span i {
    margin-right: 3px;
    color: var(--cs-red);
    font-style: normal;
}

.cs-field span em {
    font-style: normal;
}

.cs-input {
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    background: #fff;
    color: var(--cs-navy);
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.cs-input:focus {
    border-color: rgba(37,99,235,.55);
    box-shadow: 0 0 0 4px rgba(37,99,235,.10);
}

.cs-input.is-error {
    border-color: #fca5a5;
    background: #fff7f7;
    box-shadow: 0 0 0 4px rgba(220,38,38,.08);
}

.cs-textarea {
    min-height: 86px;
    resize: vertical;
}

.cs-field-wide {
    grid-column: 1 / -1;
}

.cs-field small {
    min-height: 16px;
    color: var(--cs-red);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
}

.cs-address-edit-notice {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    margin-top: 14px;
    padding: 11px 12px;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    background: #fff7ed;
}

.cs-address-edit-notice span {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #ffedd5;
    color: #c2410c;
    font-size: 12px;
    font-weight: 950;
    flex: 0 0 auto;
}

.cs-address-edit-notice p {
    margin: 0;
    color: #9a3412;
    font-size: 12px;
    line-height: 1.45;
}

.cs-address-edit-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    padding: 10px max(14px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
    border-top: 1px solid rgba(203,213,225,.75);
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(16px);
    box-shadow: 0 -12px 32px rgba(18,50,74,.10);
}

.cs-address-edit-bar .cs-btn {
    min-height: 38px;
    min-width: 104px;
    border-radius: 12px;
}

.cs-address-edit-page .city-picker-dropdown {
    max-width: min(620px, calc(100vw - 16px));
    overflow-x: auto;
}

@media (max-width: 720px) {
    .cs-address-edit-page {
        padding-bottom: calc(82px + env(safe-area-inset-bottom));
    }

    .cs-address-edit-shell {
        width: min(100% - 20px, 100%);
        padding-top: 10px;
    }

    .cs-address-edit-title {
        padding: 13px;
        border-radius: 14px;
    }

    .cs-address-edit-title h1 {
        font-size: 20px;
    }

    .cs-address-edit-title p:not(.cs-eyebrow) {
        font-size: 12px;
    }

    .cs-address-edit-title .cs-btn {
        min-height: 34px;
        padding: 7px 10px;
        font-size: 12px;
    }

    .cs-address-edit-card {
        padding: 12px;
        border-radius: 15px;
    }

    .cs-address-edit-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .cs-address-edit-cn-fields {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .cs-field {
        gap: 5px;
    }

    .cs-input {
        min-height: 40px;
        padding: 8px 11px;
        border-radius: 11px;
        font-size: 13px;
    }

    .cs-textarea {
        min-height: 74px;
        max-height: 132px;
    }

    .cs-field small {
        min-height: 14px;
    }

    .cs-address-edit-notice {
        margin-top: 10px;
        padding: 9px 10px;
    }

    .cs-address-edit-bar {
        display: grid;
        grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
        gap: 8px;
        padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
    }

    .cs-address-edit-bar .cs-btn {
        width: 100%;
        min-height: 38px;
        min-width: 0;
        padding: 8px 10px;
    }
}

@media (max-width: 720px) {
    .cs-address-picker-page {
        padding-bottom: calc(92px + env(safe-area-inset-bottom));
    }

    .cs-address-picker-shell {
        width: min(100% - 20px, 100%);
        padding-top: 10px;
    }

    .cs-address-picker-hero {
        min-height: 54px;
        padding: 10px 12px;
        border-radius: 0 0 14px 14px;
    }

    .cs-address-picker-brand span:not(.cs-logo-mark) {
        display: none;
    }

    .cs-address-picker-title {
        align-items: flex-start;
        padding: 13px;
        border-radius: 14px;
    }

    .cs-address-picker-title h1 {
        font-size: 20px;
    }

    .cs-address-picker-title p:not(.cs-eyebrow) {
        font-size: 12px;
    }

    .cs-address-add {
        min-height: 34px;
        padding: 7px 10px;
        border-radius: 11px;
        font-size: 12px;
    }

    .cs-address-add span:first-child {
        width: 16px;
        height: 16px;
    }

    .cs-address-notice {
        padding: 10px 12px;
        border-radius: 14px;
    }

    .cs-address-picker-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .cs-address-option {
        grid-template-columns: 20px minmax(0, 1fr);
        gap: 7px;
        padding: 10px;
        border-radius: 14px;
    }

    .cs-address-radio span {
        width: 17px;
        height: 17px;
    }

    .cs-address-option-head {
        align-items: center;
        gap: 6px;
        margin-bottom: 3px;
    }

    .cs-address-option-head h2 {
        font-size: 15px;
        line-height: 1.2;
    }

    .cs-address-option-head p {
        margin-top: 2px;
        font-size: 12px;
        line-height: 1.2;
        font-weight: 800;
    }

    .cs-address-tags .cs-status {
        padding: 3px 6px;
        font-size: 10px;
        line-height: 1.1;
    }

    .cs-address-details {
        display: block;
        margin-top: 5px;
    }

    .cs-address-details div {
        display: block;
        min-height: 0;
        margin: 0;
    }

    .cs-address-details dt {
        display: none;
    }

    .cs-address-details dd {
        margin: 0;
        font-size: 12px;
        line-height: 1.32;
        color: #334155;
    }

    .cs-address-country-row,
    .cs-address-region-row,
    .cs-address-zip-row {
        display: inline !important;
    }

    .cs-address-country-row dd,
    .cs-address-region-row dd,
    .cs-address-zip-row dd {
        display: inline;
        color: #64748b;
        font-size: 11px;
        font-weight: 800;
    }

    .cs-address-region-row dd:before,
    .cs-address-zip-row dd:before {
        content: " · ";
        color: #94a3b8;
        font-weight: 700;
    }

    .cs-address-detail-line {
        margin-top: 3px !important;
    }

    .cs-address-detail-line dd {
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        color: var(--cs-navy);
    }

    .cs-address-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 7px;
        padding-top: 8px;
    }

    .cs-address-actions .cs-btn {
        width: auto;
        min-height: 34px;
        padding: 6px 12px;
        border-radius: 10px;
        font-size: 12px;
    }

    .cs-address-actions .cs-btn-primary {
        min-width: 92px;
    }

    .cs-address-actions .cs-btn-ghost {
        min-width: 64px;
        background: #fff;
    }

    .cs-address-actions .cs-btn-danger-ghost {
        min-width: 0;
        border-color: transparent;
        background: transparent;
        color: var(--cs-red);
        padding-left: 4px;
        padding-right: 4px;
        box-shadow: none;
    }

    .cs-address-picker-bar {
        align-items: stretch;
        gap: 8px;
        padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
    }

    .cs-address-picker-count {
        flex: 0 0 auto;
        align-items: center;
    }

    .cs-address-picker-count strong {
        font-size: 22px;
    }

    .cs-address-picker-actions {
        flex: 1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .cs-address-picker-actions .cs-btn {
        width: 100%;
        min-height: 38px;
        padding: 8px 10px;
    }

    .cs-address-picker-actions .cs-btn:only-child {
        grid-column: 1 / -1;
    }
}

.cs-hero {
    color: #fff;
    background:
        linear-gradient(135deg, rgba(18, 50, 74, .98), rgba(13, 36, 54, .92)),
        repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0, rgba(255,255,255,.06) 1px, transparent 1px, transparent 72px);
}

.cs-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    align-items: center;
    gap: 40px;
    min-height: 520px;
    padding: 54px 0;
}

.cs-eyebrow {
    margin: 0 0 12px;
    color: #fbbf24;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.cs-hero h1,
.cs-page-hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.06;
    letter-spacing: 0;
}

.cs-hero p,
.cs-page-hero p {
    max-width: 680px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: 17px;
}

.cs-card {
    background: var(--cs-card);
    border: 1px solid var(--cs-border);
    border-radius: 8px;
    box-shadow: var(--cs-shadow);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.cs-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 54px rgba(18, 50, 74, .14);
}

.cs-panel {
    padding: 22px;
}

.cs-track-card {
    color: var(--cs-text);
}

.cs-field {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.cs-label {
    color: var(--cs-text);
    font-size: 14px;
    font-weight: 700;
}

.cs-input,
.cs-textarea,
.cs-select {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    color: var(--cs-text);
    border: 1px solid var(--cs-border);
    border-radius: 8px;
    background: #fff;
    outline: none;
}

.cs-textarea {
    min-height: 112px;
    resize: vertical;
}

.cs-input:focus,
.cs-textarea:focus,
.cs-select:focus {
    border-color: var(--cs-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}

.cs-help {
    color: var(--cs-muted);
    font-size: 13px;
}

.cs-alert {
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #fed7aa;
    background: #fff7ed;
    color: #9a3412;
    font-size: 14px;
}

.cs-section {
    padding: 58px 0;
}

.cs-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.cs-section-title {
    margin: 0;
    color: var(--cs-navy);
    font-size: 28px;
    line-height: 1.2;
}

.cs-section-desc {
    margin: 8px 0 0;
    color: var(--cs-muted);
}

.cs-grid {
    display: grid;
    gap: 16px;
}

.cs-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.cs-feature {
    padding: 20px;
}

.cs-icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin-bottom: 14px;
    color: var(--cs-navy);
    background: var(--cs-soft);
    border-radius: 8px;
    font-weight: 800;
}

.cs-feature h3,
.cs-stat h3 {
    margin: 0 0 8px;
    color: var(--cs-navy);
    font-size: 17px;
}

.cs-feature p,
.cs-stat p {
    margin: 0;
    color: var(--cs-muted);
    font-size: 14px;
}

.cs-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--cs-border);
    border-radius: 8px;
    background: #fff;
}

.cs-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.cs-table th,
.cs-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--cs-border);
    text-align: left;
    vertical-align: top;
}

.cs-table th {
    color: var(--cs-muted);
    background: #f9fafb;
    font-size: 13px;
    font-weight: 800;
}

.cs-footer {
    color: rgba(255,255,255,.7);
    background: var(--cs-navy-2);
    padding: 30px 0;
}

.cs-platform {
    background:
        radial-gradient(circle at 18% 0, rgba(37, 99, 235, .14), transparent 34%),
        linear-gradient(#f7f9fc, #eef3f8);
}

.cs-platform-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(8, 23, 35, .98), rgba(18, 50, 74, .94)),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: auto, 82px 82px, 82px 82px;
}

.cs-platform-hero:after {
    content: "";
    position: absolute;
    right: -12%;
    bottom: -30%;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
}

.cs-platform-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(320px, 1fr);
    gap: 34px;
    align-items: center;
    min-height: 650px;
    padding: 74px 0 58px;
}

.cs-platform-copy h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(42px, 7vw, 78px);
    line-height: .98;
    letter-spacing: 0;
}

.cs-platform-copy p:not(.cs-eyebrow) {
    max-width: 720px;
    margin: 20px 0 0;
    color: rgba(255,255,255,.74);
    font-size: 18px;
}

.cs-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.cs-metric-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    max-width: 850px;
    margin-top: 34px;
}

.cs-metric-strip div {
    min-height: 104px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(14px);
}

.cs-metric-strip strong {
    display: block;
    color: #fff;
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1;
}

.cs-metric-strip span {
    display: block;
    margin-top: 9px;
    color: rgba(255,255,255,.66);
    font-size: 13px;
}

.cs-glass-card {
    border-color: rgba(255,255,255,.2);
    background: rgba(255,255,255,.9);
    box-shadow: 0 24px 70px rgba(0,0,0,.22);
    backdrop-filter: blur(16px);
}

.cs-track-compact {
    padding: 22px;
}

.cs-track-compact h2 {
    margin: 12px 0 6px;
    color: var(--cs-navy);
    font-size: 26px;
}

.cs-track-compact p {
    margin: 0 0 18px;
    color: var(--cs-muted);
}

.cs-feature-premium {
    min-height: 214px;
    background: linear-gradient(180deg, #fff, #f8fbff);
}

.cs-network {
    background: #fff;
}

.cs-warehouse-card {
    overflow: hidden;
}

.cs-warehouse-visual {
    display: grid;
    min-height: 190px;
    place-items: center;
    color: rgba(255,255,255,.86);
    background:
        linear-gradient(135deg, rgba(18, 50, 74, .94), rgba(37, 99, 235, .64)),
        repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0, rgba(255,255,255,.12) 1px, transparent 1px, transparent 34px);
}

.cs-warehouse-visual span {
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 8px;
    background: rgba(255,255,255,.12);
    font-size: 26px;
    font-weight: 900;
    backdrop-filter: blur(12px);
}

.cs-warehouse-card div:last-child {
    padding: 20px;
}

.cs-warehouse-card h3 {
    margin: 0 0 8px;
    color: var(--cs-navy);
}

.cs-warehouse-card p {
    margin: 0;
    color: var(--cs-muted);
}

.cs-process {
    display: grid;
    grid-template-columns: repeat(7, minmax(130px, 1fr));
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
    overflow-x: auto;
}

.cs-process li {
    position: relative;
    min-height: 132px;
    padding: 18px;
    border: 1px solid var(--cs-border);
    border-radius: 8px;
    background: #fff;
}

.cs-process li:after {
    content: "";
    position: absolute;
    top: 42px;
    right: -10px;
    width: 10px;
    height: 2px;
    background: var(--cs-border);
}

.cs-process li:last-child:after {
    display: none;
}

.cs-process span {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin-bottom: 16px;
    color: var(--cs-navy);
    background: var(--cs-soft);
    border-radius: 8px;
    font-weight: 900;
}

.cs-process strong {
    display: block;
    color: var(--cs-navy);
    line-height: 1.3;
}

.cs-footer a {
    color: #fff;
}

.cs-page-hero {
    color: #fff;
    background: linear-gradient(135deg, var(--cs-navy), #183b56);
    padding: 56px 0 110px;
}

.cs-page-panel {
    margin-top: -78px;
}

.cs-result-list {
    display: grid;
    gap: 18px;
}

.cs-result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--cs-border);
}

.cs-status {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 26px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.cs-status-success {
    color: #166534;
    background: #dcfce7;
}

.cs-status-info {
    color: #1d4ed8;
    background: #dbeafe;
}

.cs-status-warn {
    color: #9a3412;
    background: #ffedd5;
}

.cs-status--pending,
.cs-status--warning {
    color: #9a3412;
    background: #fff7ed;
}

.cs-status--success {
    color: #166534;
    background: #dcfce7;
}

.cs-status--info {
    color: #1d4ed8;
    background: #dbeafe;
}

.cs-status--danger {
    color: #b91c1c;
    background: #fee2e2;
}

.cs-status--muted {
    color: #475569;
    background: #f1f5f9;
}

.cs-status--pending:before,
.cs-status--success:before,
.cs-status--info:before,
.cs-status--danger:before,
.cs-status--muted:before {
    content: "";
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: currentColor;
}

.cs-timeline {
    position: relative;
    display: grid;
    gap: 0;
    margin: 18px 0 0;
    padding-left: 24px;
}

.cs-timeline:before {
    content: "";
    position: absolute;
    left: 6px;
    top: 7px;
    bottom: 7px;
    width: 2px;
    background: var(--cs-border);
}

.cs-timeline-item {
    position: relative;
    padding: 0 0 20px;
}

.cs-timeline-item:before {
    content: "";
    position: absolute;
    left: -23px;
    top: 6px;
    width: 12px;
    height: 12px;
    border: 3px solid #fff;
    border-radius: 999px;
    background: #9ca3af;
    box-shadow: 0 0 0 1px var(--cs-border);
}

.cs-timeline-item:first-child:before {
    background: var(--cs-orange);
}

.cs-timeline-time {
    color: var(--cs-muted);
    font-size: 13px;
}

.cs-timeline-text {
    margin-top: 4px;
    color: var(--cs-text);
    font-weight: 600;
}

.cs-empty {
    padding: 30px;
    text-align: center;
    color: var(--cs-muted);
    border: 1px dashed var(--cs-border);
    border-radius: 8px;
    background: #fff;
}

.cs-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .42s ease, transform .42s ease;
}

.cs-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cs-skeleton {
    position: relative;
    overflow: hidden;
    min-height: 14px;
    border-radius: 8px;
    background: #e5e7eb;
}

.cs-skeleton:after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent);
    animation: cs-shimmer 1.2s infinite;
}

.cs-skeleton-card {
    display: grid;
    gap: 12px;
    padding: 18px;
}

@keyframes cs-shimmer {
    to { transform: translateX(100%); }
}

.cs-toast-wrap {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 80;
    display: grid;
    gap: 10px;
}

.cs-toast {
    max-width: min(360px, calc(100vw - 36px));
    padding: 12px 14px;
    border: 1px solid var(--cs-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--cs-shadow);
    color: var(--cs-text);
    animation: cs-toast-in .18s ease;
}

.cs-toast.is-error {
    border-color: #fecaca;
    color: #991b1b;
    background: #fef2f2;
}

.cs-toast.is-success {
    border-color: #bbf7d0;
    color: #166534;
    background: #f0fdf4;
}

@keyframes cs-toast-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.cs-modal-mask,
.cs-drawer-mask {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: none;
    background: rgba(17, 24, 39, .48);
}

.cs-modal-mask.is-open,
.cs-drawer-mask.is-open {
    display: block;
}

.cs-modal {
    width: min(420px, calc(100vw - 32px));
    margin: 18vh auto 0;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--cs-shadow);
}

.cs-drawer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    max-height: 86vh;
    padding: 18px;
    overflow: auto;
    background: #fff;
    border-radius: 8px 8px 0 0;
    transform: translateY(100%);
    transition: transform .22s ease;
}

.cs-drawer-mask.is-open .cs-drawer {
    transform: translateY(0);
}

.cs-sticky-actions {
    position: sticky;
    bottom: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--cs-border);
    border-radius: 8px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 -12px 28px rgba(18, 50, 74, .08);
    backdrop-filter: blur(10px);
}

.cs-collapsible {
    overflow: hidden;
    transition: max-height .28s ease;
}

.cs-loading {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(245, 247, 250, .86);
}

.cs-loading-box {
    padding: 22px 26px;
    text-align: center;
}

.cs-spinner {
    width: 42px;
    height: 42px;
    margin: 0 auto 12px;
    border: 4px solid #dbeafe;
    border-top-color: var(--cs-blue);
    border-radius: 999px;
    animation: cs-spin 1s linear infinite;
}

@keyframes cs-spin {
    to { transform: rotate(360deg); }
}

.cs-login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    padding: 28px 0;
    background:
        linear-gradient(135deg, rgba(18, 50, 74, .98), rgba(13, 36, 54, .94)),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: auto, 64px 64px;
}

.cs-login-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 40px;
    align-items: center;
}

.cs-login-copy {
    color: #fff;
}

.cs-login-copy h1 {
    margin: 18px 0 12px;
    font-size: clamp(34px, 6vw, 56px);
    line-height: 1.06;
}

.cs-login-copy p {
    max-width: 580px;
    color: rgba(255,255,255,.75);
}

.cs-login-card {
    padding: 26px;
}

.cs-auth-dark-card {
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.18) !important;
    box-shadow: none !important;
}

.cs-auth-dark-card h3 {
    color: #fff;
}

.cs-auth-dark-card p {
    color: rgba(255,255,255,.7);
}

.cs-register-mobile-brand,
.cs-auth-mobile-brand {
    display: none;
}

.cs-error {
    display: none;
    margin-top: 6px;
    color: var(--cs-red);
    font-size: 13px;
}

.cs-captcha {
    display: flex;
    gap: 10px;
}

.cs-captcha-code {
    display: grid;
    min-width: 112px;
    place-items: center;
    border: 1px solid var(--cs-border);
    border-radius: 8px;
    background: #f9fafb;
    color: var(--cs-navy);
    cursor: pointer;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: .18em;
}

.cs-dashboard {
    display: grid;
    grid-template-columns: 252px minmax(0, 1fr);
    min-height: 100vh;
}

.cs-user-shell {
    min-height: 100vh;
    background: radial-gradient(circle at 80% 0, rgba(37,99,235,.08), transparent 34%), var(--cs-bg);
}

.cs-user-mobile-header {
    display: none;
}

.cs-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 22px;
    color: #fff;
    background: var(--cs-navy);
}

.cs-sidebar .cs-sidebar-section {
    margin: 18px 0 6px;
    color: rgba(255,255,255,.45);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.cs-sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 11px 12px;
    border-radius: 8px;
    color: rgba(255,255,255,.78);
}

.cs-sidebar a:hover,
.cs-sidebar a.is-active {
    color: #fff;
    background: rgba(255,255,255,.12);
}

.cs-main {
    min-width: 0;
    padding: 24px;
}

.cs-worktop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.cs-stat {
    padding: 18px;
}

.cs-stat strong {
    display: block;
    margin-top: 8px;
    color: var(--cs-navy);
    font-size: 26px;
    line-height: 1;
}

.cs-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.cs-mobile-tabbar {
    display: none;
}

.cs-tab-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.cs-page-grid {
    display: grid;
    gap: 16px;
}

.cs-address-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.cs-address-card {
    display: grid;
    gap: 14px;
    padding: 20px;
}

.cs-address-card h2 {
    margin: 0;
    color: var(--cs-navy);
    font-size: 22px;
}

.cs-address-card p {
    margin: 0;
    color: var(--cs-muted);
}

.cs-copy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cs-copy-field {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--cs-border);
    border-radius: 8px;
    background: #fff;
}

.cs-copy-field-full {
    grid-column: 1 / -1;
}

.cs-copy-key {
    color: var(--cs-muted);
    font-size: 12px;
    font-weight: 800;
}

.cs-copy-value {
    color: var(--cs-text);
    font-weight: 800;
    word-break: break-word;
}

.cs-copy-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cs-inline-frame {
    width: 100%;
    min-height: 640px;
    border: 0;
    border-radius: 8px;
    background: #fff;
}

.cs-compact-copy-list {
    overflow: hidden;
    border: 1px solid var(--cs-border);
    border-radius: 8px;
    background: #fff;
}

.cs-compact-copy-row {
    display: grid;
    grid-template-columns: minmax(108px, 150px) minmax(0, 1fr) 42px;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 8px 10px;
    border-bottom: 1px solid var(--cs-border);
}

.cs-compact-copy-row:last-child {
    border-bottom: 0;
}

.cs-compact-copy-row .cs-copy-key {
    font-size: 12px;
    color: var(--cs-muted);
    font-weight: 900;
}

.cs-compact-copy-row .cs-copy-value {
    min-width: 0;
    color: var(--cs-navy);
    font-size: 14px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.cs-compact-copy-row-address {
    align-items: start;
    min-height: 58px;
}

.cs-icon-copy {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--cs-border);
    border-radius: 8px;
    background: #fff7ed;
    color: var(--cs-navy);
    cursor: pointer;
    font-size: 0;
}

.cs-icon-copy:before {
    content: "";
    width: 15px;
    height: 17px;
    border: 2px solid currentColor;
    border-radius: 3px;
    box-shadow: 4px -4px 0 -1px #fff7ed, 4px -4px 0 1px currentColor;
}

.cs-icon-copy:hover {
    border-color: var(--cs-orange);
    color: var(--cs-orange);
    transform: translateY(-1px);
}

.cs-parcel-tabs {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(226,232,240,.9);
    background: rgba(255,255,255,.86);
    box-shadow: 0 8px 22px rgba(18, 50, 74, .06);
}

.cs-parcel-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid var(--cs-border);
    border-radius: 999px;
    color: var(--cs-muted);
    font-size: 12px;
    font-weight: 900;
    background: #fff;
    transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.cs-parcel-tabs a:hover,
.cs-parcel-tabs a.is-active {
    color: var(--cs-navy);
    border-color: rgba(245, 158, 11, .35);
    background: #fff7ed;
}

.cs-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cs-muted);
}

.cs-dot-pending { background: #f59e0b; }
.cs-dot-success { background: #16a34a; }
.cs-dot-warning { background: #f97316; }
.cs-dot-danger { background: #dc2626; }
.cs-dot-info { background: #2563eb; }

.cs-parcel-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px;
    margin-top: 12px;
    padding: 10px;
    border: 1px solid rgba(226,232,240,.9);
    border-radius: 8px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 8px 20px rgba(18,50,74,.05);
}

.cs-field {
    display: grid;
    gap: 6px;
}

.cs-field label {
    color: var(--cs-navy);
    font-size: 12px;
    font-weight: 900;
}

.cs-input {
    width: 100%;
    min-height: 40px;
    border: 1px solid var(--cs-border);
    border-radius: 999px;
    padding: 10px 12px;
    color: var(--cs-navy);
    background: #fff;
    outline: none;
}

.cs-input:focus {
    border-color: var(--cs-orange);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .12);
}

.cs-filter-actions,
.cs-bulkbar-actions,
.cs-row-actions,
.cs-parcel-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cs-bulkbar {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(245, 158, 11, .24);
    border-radius: 8px;
    background: rgba(255, 250, 240, .92);
    box-shadow: 0 8px 22px rgba(18, 50, 74, .06);
}

.cs-bulkbar.is-active {
    display: flex;
}

.cs-bulkbar strong {
    color: var(--cs-navy);
}

.cs-parcel-table-card {
    margin-top: 12px;
    padding: 0;
    overflow: visible;
    border: 1px solid rgba(226,232,240,.95);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(18, 50, 74, .09);
}

.cs-parcel-table-wrap {
    border: 0;
    border-radius: 0;
    overflow: visible;
}

.cs-parcel-table th,
.cs-parcel-table td {
    vertical-align: top;
    padding: 11px 12px;
    border-bottom: 1px solid #edf1f5;
    font-size: 13px;
}

.cs-parcel-table th {
    color: #64748b;
    background: #f8fafc;
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.cs-parcel-table tbody tr {
    transition: background .16s ease, box-shadow .16s ease;
}

.cs-parcel-table tbody tr:hover {
    background: #fbfdff;
    box-shadow: inset 3px 0 0 rgba(245, 158, 11, .42);
}

.cs-check-cell {
    width: 42px;
    text-align: center;
}

.cs-link-button {
    display: inline;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--cs-navy);
    cursor: pointer;
    font-weight: 900;
    text-align: left;
    word-break: break-word;
}

.cs-link-button:hover {
    color: var(--cs-orange);
}

.cs-line-clamp {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cs-mini-btn {
    min-height: 28px;
    padding: 5px 9px;
    border: 1px solid var(--cs-border);
    border-radius: 8px;
    color: var(--cs-navy);
    background: #fff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
}

.cs-mini-btn-primary {
    border-color: rgba(245, 158, 11, .28);
    color: var(--cs-navy);
    background: #fff7ed;
}

.cs-mini-btn:hover {
    border-color: var(--cs-orange);
    color: var(--cs-orange);
}

.cs-mini-btn-danger {
    color: #b91c1c;
    background: #fff1f2;
}

.cs-mini-btn-link-danger {
    border-color: transparent;
    color: #b91c1c;
    background: transparent;
}

.cs-action-menu {
    position: relative;
}

.cs-action-menu summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 9px;
    border: 1px solid var(--cs-border);
    border-radius: 8px;
    color: var(--cs-navy);
    background: #fff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    list-style: none;
}

.cs-action-menu summary::-webkit-details-marker {
    display: none;
}

.cs-action-menu summary:after {
    content: "";
    width: 6px;
    height: 6px;
    margin-left: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.cs-action-menu[open] summary {
    border-color: rgba(245, 158, 11, .35);
    background: #fff7ed;
}

.cs-action-menu > div {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 12;
    display: grid;
    min-width: 150px;
    padding: 6px;
    border: 1px solid var(--cs-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(18, 50, 74, .16);
}

.cs-action-menu button {
    min-height: 32px;
    border: 0;
    border-radius: 7px;
    color: var(--cs-navy);
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    text-align: left;
    padding: 7px 9px;
}

.cs-action-menu button:hover {
    background: #f8fafc;
}

.cs-action-menu button.is-danger {
    color: #b91c1c;
}

.cs-parcel-cards {
    display: none;
}

.cs-parcel-card {
    display: grid;
    gap: 10px;
    margin: 0 0 10px;
    padding: 12px;
    border: 1px solid rgba(226,232,240,.92);
    border-radius: 8px;
    background: linear-gradient(180deg, #fff, #fbfdff);
    box-shadow: 0 10px 26px rgba(18, 50, 74, .075);
}

.cs-parcel-card-head {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: start;
    gap: 9px;
}

.cs-parcel-card-head p {
    margin: 0 0 1px;
    color: var(--cs-muted);
    font-size: 11px;
    font-weight: 900;
}

.cs-parcel-card-head strong {
    color: var(--cs-navy);
    font-size: 15px;
    line-height: 1.25;
    word-break: break-word;
}

.cs-card-check {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.cs-card-check input {
    width: 18px;
    height: 18px;
}

.cs-parcel-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 10px;
    padding-left: 33px;
}

.cs-parcel-card-grid .is-wide {
    grid-column: 1 / -1;
}

.cs-parcel-card-grid > div > span,
.cs-parcel-card-grid > .cs-items-edit > span {
    display: block;
    color: var(--cs-muted);
    font-size: 10px;
    font-weight: 900;
}

.cs-parcel-card-grid strong {
    display: block;
    color: var(--cs-navy);
    font-size: 12px;
    line-height: 1.35;
    word-break: break-word;
}

.cs-card-remark {
    padding-top: 6px;
    border-top: 1px dashed #e5e7eb;
}

.cs-parcel-empty {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 42px 20px;
}

.cs-parcel-empty strong {
    color: var(--cs-navy);
    font-size: 20px;
}

.cs-pager {
    padding: 14px 16px 18px;
    text-align: right;
    background: #fff;
}

.cs-pager .info {
    display: inline-flex;
    margin-right: 10px;
    color: var(--cs-muted);
    font-size: 13px;
    vertical-align: middle;
}

.cs-pager .paginItem {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 32px;
    margin: 3px;
    padding: 5px 9px;
    border: 1px solid var(--cs-border);
    border-radius: 8px;
    color: var(--cs-navy);
    background: #fff;
    font-size: 13px;
    font-weight: 900;
}

.cs-pager .paginItem.current {
    color: #fff;
    border-color: var(--cs-navy);
    background: var(--cs-navy);
}

.cs-pager .paginItem.disable {
    color: #94a3b8;
    background: #f8fafc;
}

.cs-mobile-bulkbar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 76px;
    z-index: 40;
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(245, 158, 11, .35);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--cs-shadow);
}

.cs-mobile-bulkbar.is-active {
    display: flex;
}

.cs-mobile-bulkbar strong {
    flex: 1;
    color: var(--cs-navy);
    font-size: 13px;
}

.cs-mobile-bulkbar button {
    min-height: 36px;
    border: 0;
    border-radius: 8px;
    padding: 8px 10px;
    color: #fff;
    background: var(--cs-navy);
    font-weight: 900;
}

.cs-mobile-bulkbar button:last-child {
    background: var(--cs-orange);
}

.cs-parcel-main {
    padding-top: 18px;
}

.cs-parcel-head {
    margin-bottom: 12px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.74);
    border-radius: 8px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 12px 30px rgba(18, 50, 74, .08);
}

.cs-parcel-head h1 {
    font-size: 28px !important;
    letter-spacing: 0;
}

.cs-parcel-head .cs-section-desc {
    margin: 4px 0 0;
    max-width: 620px;
    font-size: 13px;
}

.cs-dashboard-v2 {
    background:
        radial-gradient(circle at 70% 0, rgba(37,99,235,.1), transparent 34%),
        var(--cs-bg);
}

.cs-dashboard-head {
    padding: 22px;
    border: 1px solid var(--cs-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--cs-shadow);
}

.cs-dashboard-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: 10px;
}

.cs-dashboard-stats .cs-stat {
    position: relative;
    overflow: hidden;
}

.cs-dashboard-stats .cs-stat:before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--cs-orange), var(--cs-blue));
}

.cs-actions-v2 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.cs-actions-v2 .cs-action {
    min-height: 160px;
    background: linear-gradient(180deg, #fff, #f8fbff);
}

.cs-action {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.cs-action span {
    color: var(--cs-muted);
    font-size: 13px;
}

.cs-dashboard-head.cs-parcel-head {
    margin: 0 0 10px;
    padding: 14px 16px;
    border: 1px solid rgba(226,232,240,.9);
    border-radius: 8px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 8px 22px rgba(18, 50, 74, .06);
}

.cs-dashboard-head.cs-parcel-head h1 {
    font-size: 24px !important;
    line-height: 1.16;
}

.cs-dashboard-head.cs-parcel-head .cs-section-desc {
    margin: 2px 0 0;
    max-width: 560px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.35;
}

.cs-search-input {
    position: relative;
}

.cs-search-input .cs-input {
    padding-right: 34px;
}

.cs-search-clear {
    position: absolute;
    top: 50%;
    right: 8px;
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    color: #94a3b8;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transform: translateY(-50%);
}

.cs-search-clear:hover {
    color: var(--cs-navy);
    background: #f1f5f9;
}

.cs-track-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--cs-blue);
    font-weight: 700;
}

.cs-package-icon {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border: 1.7px solid currentColor;
    border-radius: 4px;
    color: #2563eb;
    background: #eff6ff;
}

.cs-package-icon:before,
.cs-package-icon:after {
    content: "";
    position: absolute;
    background: currentColor;
    opacity: .7;
}

.cs-package-icon:before {
    left: 3px;
    right: 3px;
    top: 5px;
    height: 1.5px;
}

.cs-package-icon:after {
    top: 1px;
    bottom: 1px;
    left: 50%;
    width: 1.5px;
    transform: translateX(-50%);
}

.cs-items-cell .cs-link-button {
    color: #334155;
    font-weight: 600;
}

.cs-items-block {
    position: relative;
    padding: 8px 10px;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    background: #eff6ff;
}

.cs-items-block span {
    color: #64748b !important;
}

.cs-items-block strong {
    display: -webkit-box;
    overflow: hidden;
    color: #2563eb !important;
    font-weight: 600 !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cs-items-edit {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 10px;
    border: 1px solid #dbeafe;
    cursor: pointer;
    text-align: left;
}

.cs-items-edit span,
.cs-items-edit strong {
    grid-column: 1;
}

.cs-items-edit em {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    color: var(--cs-blue);
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.cs-pencil-icon {
    position: relative;
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: end;
    display: none;
    width: 16px;
    height: 16px;
    color: var(--cs-blue);
    background: transparent;
}

.cs-pencil-icon:before {
    content: "";
    position: absolute;
    left: 7px;
    top: 2px;
    width: 4px;
    height: 12px;
    border-radius: 2px 2px 1px 1px;
    background: currentColor;
    transform: rotate(45deg);
}

.cs-pencil-icon:after {
    content: "";
    position: absolute;
    left: 2px;
    bottom: 1px;
    width: 8px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    opacity: .55;
}

.cs-items-edit:hover,
.cs-items-edit:focus-visible {
    border-color: rgba(37, 99, 235, .34);
    background: #eef6ff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .08);
}

.cs-items-edit:active {
    transform: translateY(1px);
}

.cs-list-tail {
    display: none;
    padding: 2px 16px 14px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.cs-list-tail.is-visible {
    display: block;
}

.cs-card-track strong {
    color: var(--cs-blue);
    font-weight: 700;
}

@media (max-width: 900px) {
    .cs-nav {
        min-height: 58px;
        align-items: center;
        flex-direction: row;
        padding: 8px 0;
    }

    .cs-desktop-nav {
        display: none;
    }

    .cs-menu-button {
        display: grid;
    }

    .cs-brand-mark {
        width: 32px;
        height: 32px;
    }

    .cs-brand-text small {
        display: none;
    }

    .cs-hero-inner,
    .cs-login-layout,
    .cs-platform-hero-inner {
        grid-template-columns: 1fr;
    }

    .cs-hero-inner {
        min-height: auto;
        padding: 42px 0;
    }

    .cs-grid-4,
    .cs-grid-3,
    .cs-actions,
    .cs-dashboard-stats,
    .cs-actions-v2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cs-dashboard {
        grid-template-columns: 1fr;
    }

    .cs-sidebar {
        display: none;
    }

    .cs-sidebar nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
    }

    .cs-main {
        padding: 12px 10px 84px;
    }

    .cs-user-mobile-header {
        position: sticky;
        top: 0;
        z-index: 20;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 64px;
        height: 64px;
        padding: 9px 12px;
        color: #fff;
        background: rgba(18, 50, 74, .96);
        border-bottom: 1px solid rgba(255,255,255,.12);
        backdrop-filter: blur(12px);
    }

    .cs-user-mobile-header .cs-brand {
        color: #fff;
    }

    .cs-user-mobile-header .cs-lang {
        min-height: 32px !important;
        padding: 0 8px !important;
        font-size: 12px;
    }

    .cs-mobile-tabbar {
        position: fixed;
        right: 10px;
        bottom: 10px;
        left: 10px;
        z-index: 30;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 4px;
        padding: 8px;
        border: 1px solid var(--cs-border);
        border-radius: 8px;
        background: rgba(255,255,255,.96);
        box-shadow: 0 -12px 28px rgba(18,50,74,.12);
        backdrop-filter: blur(12px);
    }

    .cs-mobile-tabbar a {
        display: grid;
        gap: 3px;
        place-items: center;
        min-height: 46px;
        color: var(--cs-muted);
        border-radius: 8px;
        font-size: 11px;
        font-weight: 800;
    }

    .cs-mobile-tabbar a.is-active {
        color: var(--cs-navy);
        background: var(--cs-soft);
    }

    .cs-address-grid {
        grid-template-columns: 1fr;
    }

    .cs-copy-grid {
        grid-template-columns: 1fr;
    }

    .cs-copy-row {
        align-items: stretch;
        flex-direction: column;
    }

    .cs-copy-row .cs-btn {
        width: 100%;
    }

    .cs-parcel-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 5px;
        padding: 5px;
        margin-top: 8px;
        border-radius: 8px;
        scrollbar-width: none;
    }

    .cs-parcel-tabs::-webkit-scrollbar {
        display: none;
    }

    .cs-parcel-tabs a {
        flex: 0 0 auto;
        min-height: 28px;
        padding: 4px 8px;
        font-size: 11px;
    }

    .cs-parcel-tabs .cs-dot {
        width: 5px;
        height: 5px;
    }

    .cs-parcel-filter {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 6px;
        margin-top: 8px;
        padding: 7px;
        border-radius: 8px;
    }

    .cs-parcel-filter .cs-field label {
        display: none;
    }

    .cs-parcel-filter .cs-input {
        min-height: 34px;
        padding: 7px 10px;
        font-size: 12px;
    }

    .cs-filter-actions {
        display: flex;
        gap: 6px;
        flex-wrap: nowrap;
    }

    .cs-filter-actions .cs-btn {
        min-height: 34px;
        padding: 7px 9px;
        font-size: 12px;
        white-space: nowrap;
    }

    .cs-filter-actions .cs-btn-ghost {
        min-width: 0;
        padding-inline: 8px;
        color: var(--cs-muted);
        background: #fff;
    }

    .cs-bulkbar {
        display: none !important;
    }

    .cs-parcel-table-wrap {
        display: none;
    }

    .cs-parcel-cards {
        display: grid;
        padding: 8px;
        background: #f8fafc;
    }

    .cs-parcel-card-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        padding-left: 33px;
        gap: 7px;
    }

    .cs-parcel-card-actions .cs-btn {
        width: 100%;
        min-height: 32px;
        padding: 7px 10px;
        font-size: 12px;
    }

    .cs-action-menu-mobile summary {
        min-width: 76px;
        min-height: 32px;
        padding: 7px 10px;
    }

    .cs-action-menu-mobile > div {
        right: 0;
        min-width: 172px;
    }

    .cs-pager {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 9px 8px 14px;
        text-align: center;
    }

    .cs-pager .info {
        display: block;
        margin: 0;
        font-size: 11px;
        font-weight: 800;
    }

    .cs-pager .paginItem {
        display: none;
        min-width: 78px;
        min-height: 30px;
        border-radius: 999px;
        font-size: 12px;
    }

    .cs-pager .paginItem:first-of-type,
    .cs-pager .paginItem:nth-last-of-type(2) {
        display: inline-flex;
    }

    .cs-pager .paginItem.current {
        display: none;
    }

    .cs-parcel-head {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 8px;
        margin: 0 0 8px;
        padding: 10px;
        border-radius: 8px;
        box-shadow: 0 8px 18px rgba(18, 50, 74, .055);
    }

    .cs-parcel-head h1 {
        font-size: 19px !important;
        line-height: 1.2;
    }

    .cs-parcel-head .cs-section-desc {
        margin-top: 2px;
        font-size: 11px;
        line-height: 1.35;
    }

    .cs-parcel-head .cs-lang {
        display: none;
    }

    .cs-parcel-head .cs-btn {
        min-height: 32px;
        padding: 7px 9px;
        font-size: 11px;
        white-space: nowrap;
    }

    .cs-mobile-bulkbar {
        left: 8px;
        right: 8px;
        bottom: 62px;
        padding: 7px 8px;
        border-radius: 8px;
    }

    .cs-mobile-bulkbar button {
        min-height: 30px;
        padding: 6px 8px;
        font-size: 11px;
    }

    .cs-mobile-tabbar {
        left: 8px;
        right: 8px;
        bottom: 8px;
        padding: 4px;
        border-radius: 8px;
    }

    .cs-mobile-tabbar a {
        min-height: 38px;
        gap: 2px;
        font-size: 10px;
    }

    .cs-tab-dot {
        width: 5px;
        height: 5px;
    }

    .cs-main.cs-parcel-main {
        padding: 10px 8px 82px;
    }

    .cs-dashboard-head.cs-parcel-head {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        margin: 0 0 8px;
        padding: 9px 10px;
        border-radius: 8px;
        box-shadow: 0 6px 16px rgba(18, 50, 74, .05);
    }

    .cs-dashboard-head.cs-parcel-head h1 {
        font-size: 18px !important;
        line-height: 1.2;
    }

    .cs-dashboard-head.cs-parcel-head .cs-section-desc {
        margin-top: 1px;
        font-size: 11px;
        line-height: 1.28;
    }

    .cs-parcel-tabs {
        margin-top: 6px;
        padding: 4px;
        border-radius: 999px;
        background: #f8fafc;
        box-shadow: none;
    }

    .cs-parcel-tabs a {
        min-height: 30px;
        padding: 5px 9px;
        border-color: transparent;
        background: #eef2f7;
        font-size: 11px;
    }

    .cs-parcel-tabs a.is-active {
        color: #fff;
        border-color: var(--cs-navy);
        background: var(--cs-navy);
    }

    .cs-parcel-filter {
        margin-top: 7px;
        padding: 6px;
        border-color: rgba(226,232,240,.8);
        box-shadow: none;
    }

    .cs-filter-actions .cs-btn {
        min-height: 32px;
        padding: 6px 9px;
    }

    .cs-search-input .cs-input {
        min-height: 32px;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .cs-parcel-table-card {
        margin-top: 8px;
        border: 0;
        box-shadow: none;
        background: transparent;
    }

    .cs-parcel-cards {
        gap: 8px;
        padding: 0;
        background: transparent;
    }

    .cs-parcel-card {
        min-height: 0;
        margin: 0;
        padding: 11px;
        border-radius: 16px;
        box-shadow: 0 8px 22px rgba(18, 50, 74, .07);
    }

    .cs-parcel-card-head {
        grid-template-columns: 20px 22px minmax(0, 1fr) auto;
        gap: 7px;
        align-items: center;
    }

    .cs-card-check {
        width: 20px;
        height: 20px;
    }

    .cs-card-check input {
        width: 16px;
        height: 16px;
    }

    .cs-parcel-card-head p {
        font-size: 10px;
        line-height: 1.1;
    }

    .cs-parcel-card-head strong {
        font-size: 13px;
        font-weight: 700;
    }

    .cs-parcel-card-head .cs-status {
        min-height: 22px;
        padding: 2px 7px;
        font-size: 10px;
    }

    .cs-parcel-card-grid {
        gap: 6px 8px;
        padding-left: 49px;
    }

    .cs-items-block {
        padding: 7px 8px;
        border-radius: 8px;
    }

    .cs-parcel-card-actions {
        padding-left: 49px;
    }

    .cs-parcel-card-actions .cs-btn,
    .cs-action-menu-mobile summary {
        min-height: 30px;
        border-radius: 8px;
        font-size: 11px;
    }

    .cs-action-menu-mobile summary {
        min-width: 70px;
    }

    .cs-pager {
        margin-top: 8px;
        padding: 8px 0 4px;
        background: transparent;
    }

    .cs-mobile-tabbar {
        min-height: 56px;
        box-shadow: 0 -8px 24px rgba(18, 50, 74, .1);
    }

    .cs-compact-copy-row {
        grid-template-columns: minmax(86px, 104px) minmax(0, 1fr) 38px;
        min-height: 42px;
        gap: 8px;
        padding: 7px 8px;
    }

    .cs-compact-copy-row .cs-copy-key {
        font-size: 11px;
    }

    .cs-compact-copy-row .cs-copy-value {
        font-size: 13px;
    }

    .cs-icon-copy {
        width: 32px;
        height: 32px;
    }

    .cs-inline-frame {
        min-height: calc(100vh - 230px);
    }

    .cs-platform-hero-inner {
        min-height: auto;
        padding: 28px 0 38px;
    }

    .cs-platform-copy {
        order: 1;
    }

    .cs-track-compact {
        order: 2;
    }

    .cs-platform-copy p:not(.cs-eyebrow) {
        margin-top: 14px;
        font-size: 16px;
    }

    .cs-hero-actions {
        margin-top: 18px;
    }

    .cs-track-compact {
        padding: 16px;
    }

    .cs-track-compact h2 {
        margin: 8px 0 4px;
        font-size: 22px;
    }

    .cs-track-compact .cs-textarea {
        min-height: 78px;
    }

    body[data-page-title="auth.register.formTitle"] .cs-login-layout {
        gap: 14px;
        align-items: start;
    }

    body[data-page-title="auth.login.formTitle"] .cs-login-layout {
        gap: 14px;
        align-items: start;
    }

    body[data-page-title="auth.register.formTitle"] .cs-register-card {
        order: 1;
    }

    body[data-page-title="auth.login.formTitle"] .cs-auth-form-card {
        order: 1;
    }

    body[data-page-title="auth.register.formTitle"] .cs-register-copy {
        order: 2;
    }

    body[data-page-title="auth.login.formTitle"] .cs-auth-copy {
        order: 2;
    }

    body[data-page-title="auth.register.formTitle"] .cs-register-copy h1,
    body[data-page-title="auth.register.formTitle"] .cs-register-copy > p,
    body[data-page-title="auth.login.formTitle"] .cs-auth-copy h1,
    body[data-page-title="auth.login.formTitle"] .cs-auth-copy > p {
        display: none;
    }

    body[data-page-title="auth.register.formTitle"] .cs-register-benefits,
    body[data-page-title="auth.login.formTitle"] .cs-auth-benefits {
        margin-top: 8px !important;
    }

    body[data-page-title="auth.register.formTitle"] .cs-login-card,
    body[data-page-title="auth.login.formTitle"] .cs-login-card {
        padding: 16px;
    }

    body[data-page-title="auth.register.formTitle"] .cs-register-mobile-brand,
    body[data-page-title="auth.login.formTitle"] .cs-auth-mobile-brand {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 14px;
    }

    body[data-page-title="auth.register.formTitle"] .cs-register-mobile-brand .cs-brand,
    body[data-page-title="auth.login.formTitle"] .cs-auth-mobile-brand .cs-brand {
        color: var(--cs-navy);
    }

    body[data-page-title="auth.register.formTitle"] .cs-register-mobile-brand .cs-brand-text small,
    body[data-page-title="auth.login.formTitle"] .cs-auth-mobile-brand .cs-brand-text small {
        display: none;
    }

    body[data-page-title="auth.register.formTitle"] .cs-register-mobile-brand .cs-lang button,
    body[data-page-title="auth.login.formTitle"] .cs-auth-mobile-brand .cs-lang button {
        color: rgba(255,255,255,.7);
    }

    body[data-page-title="auth.register.formTitle"] .cs-register-mobile-brand .cs-lang button.is-active,
    body[data-page-title="auth.login.formTitle"] .cs-auth-mobile-brand .cs-lang button.is-active {
        color: #fff;
    }

    body[data-page-title="auth.register.formTitle"] .cs-login-card .cs-field,
    body[data-page-title="auth.login.formTitle"] .cs-login-card .cs-field {
        margin-bottom: 10px;
        gap: 5px;
    }

    body[data-page-title="auth.register.formTitle"] .cs-login-card .cs-input,
    body[data-page-title="auth.login.formTitle"] .cs-login-card .cs-input {
        min-height: 42px;
        padding: 9px 12px;
    }

    body[data-page-title="auth.register.formTitle"] .cs-login-card h2,
    body[data-page-title="auth.login.formTitle"] .cs-login-card h2 {
        font-size: 24px !important;
    }

    body[data-page-title="auth.register.formTitle"] .cs-login-card .cs-eyebrow,
    body[data-page-title="auth.login.formTitle"] .cs-login-card .cs-eyebrow {
        margin-bottom: 6px;
    }

    .cs-metric-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .cs-container {
        width: min(100% - 24px, 1220px);
    }

    .cs-btn {
        width: 100%;
    }

    .cs-toast-wrap {
        right: 12px;
        bottom: 12px;
    }

    .cs-sticky-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cs-grid-4,
    .cs-grid-3,
    .cs-actions,
    .cs-dashboard-stats,
    .cs-actions-v2 {
        grid-template-columns: 1fr;
    }

    .cs-section {
        padding: 40px 0;
    }

    .cs-section-head,
    .cs-worktop,
    .cs-result-head {
        align-items: stretch;
        flex-direction: column;
    }

    .cs-panel,
    .cs-login-card {
        padding: 18px;
    }

    .cs-captcha {
        flex-direction: column;
    }

    .cs-sidebar nav {
        grid-template-columns: 1fr;
    }

    .cs-platform-copy h1 {
        font-size: 35px;
    }

    .cs-platform-hero-inner {
        gap: 18px;
    }

    body[data-page-title="auth.register.formTitle"] .cs-login-page {
        align-items: start;
        padding: 10px 0 20px;
    }

    body[data-page-title="auth.login.formTitle"] .cs-login-page {
        align-items: start;
        padding: 10px 0 20px;
    }

    body[data-page-title="auth.register.formTitle"] .cs-register-copy {
        display: grid;
        gap: 12px;
    }

    body[data-page-title="auth.login.formTitle"] .cs-auth-copy {
        display: grid;
        gap: 12px;
    }

    body[data-page-title="auth.register.formTitle"] .cs-register-copy > div:first-child {
        display: none !important;
    }

    body[data-page-title="auth.login.formTitle"] .cs-auth-copy > div:first-child {
        display: none !important;
    }

    body[data-page-title="auth.register.formTitle"] .cs-register-benefits,
    body[data-page-title="auth.login.formTitle"] .cs-auth-benefits {
        grid-template-columns: 1fr;
    }

    body[data-page-title="auth.register.formTitle"] .cs-register-benefits .cs-feature,
    body[data-page-title="auth.login.formTitle"] .cs-auth-benefits .cs-feature {
        min-height: auto;
        padding: 14px;
    }

    .cs-metric-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 18px;
    }

    .cs-metric-strip div {
        min-height: 86px;
        padding: 14px;
    }

    .cs-metric-strip strong {
        font-size: 24px;
    }

    .cs-lang {
        justify-content: center;
    }
}

/* mypackge.aspx compact SaaS layout guard */
.cs-main.cs-parcel-main {
    padding-top: 14px;
}

.cs-main.cs-parcel-main .cs-reveal {
    transform: none;
}

.cs-dashboard-head.cs-parcel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 10px;
    padding: 12px 14px;
}

.cs-dashboard-head.cs-parcel-head > div:first-child {
    min-width: 0;
}

.cs-dashboard-head.cs-parcel-head h1 {
    margin: 0 !important;
}

.cs-dashboard-head.cs-parcel-head .cs-section-desc {
    margin: 2px 0 0;
}

.cs-add-forecast {
    min-height: 38px;
    padding: 8px 13px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f59e0b, #fb923c);
    box-shadow: 0 10px 20px rgba(245, 158, 11, .24);
    font-weight: 900;
    white-space: nowrap;
}

.cs-add-forecast:before {
    content: "+";
    display: inline-grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 999px;
    background: rgba(255,255,255,.24);
    color: #fff;
    font-size: 15px;
    line-height: 1;
}

.cs-main.cs-parcel-main .cs-parcel-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 7px;
}

.cs-main.cs-parcel-main .cs-parcel-filter .cs-field,
.cs-main.cs-parcel-main .cs-search-input {
    flex: 1 1 auto;
    min-width: 0;
}

.cs-main.cs-parcel-main .cs-search-input {
    display: flex;
    align-items: center;
}

.cs-main.cs-parcel-main .cs-search-input .cs-input {
    height: 40px;
    min-height: 40px;
    padding: 8px 34px 8px 13px;
}

.cs-main.cs-parcel-main .cs-search-clear {
    right: 7px;
}

.cs-main.cs-parcel-main .cs-filter-actions {
    flex: 0 0 auto;
}

.cs-main.cs-parcel-main .cs-filter-actions .cs-btn {
    width: 92px;
    height: 40px;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 12px;
}

.cs-main.cs-parcel-main .cs-parcel-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    min-height: 38px;
    margin-top: 8px;
    padding: 4px;
    border-radius: 999px;
    scrollbar-width: none;
}

.cs-main.cs-parcel-main .cs-parcel-tabs::-webkit-scrollbar {
    display: none;
}

.cs-main.cs-parcel-main .cs-parcel-tabs a {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
}

.cs-main.cs-parcel-main .cs-parcel-tabs a.is-active {
    color: #fff;
    border-color: var(--cs-navy);
    background: var(--cs-navy);
}

.cs-main.cs-parcel-main .cs-dot {
    width: 5px;
    height: 5px;
}

.cs-main.cs-parcel-main .cs-parcel-card {
    gap: 8px;
}

.cs-main.cs-parcel-main .cs-parcel-card-actions .cs-btn,
.cs-main.cs-parcel-main .cs-action-menu-mobile summary {
    min-height: 30px;
    padding: 6px 10px;
}

@media (max-width: 900px) {
    .cs-user-mobile-header {
        height: 64px;
        min-height: 64px;
        padding: 8px 12px;
    }

    .cs-main.cs-parcel-main {
        padding: 12px 8px 82px;
    }

    .cs-dashboard-head.cs-parcel-head {
        margin-bottom: 8px;
        padding: 9px 10px;
        border-radius: 12px;
    }

    .cs-dashboard-head.cs-parcel-head h1 {
        font-size: 18px !important;
    }

    .cs-dashboard-head.cs-parcel-head .cs-section-desc {
        font-size: 11px;
        line-height: 1.28;
    }

    .cs-dashboard-head.cs-parcel-head .cs-lang {
        display: none;
    }

    .cs-add-forecast {
        min-height: 36px;
        padding: 7px 10px;
        border-radius: 12px;
        font-size: 11px;
    }

    .cs-add-forecast:before {
        width: 16px;
        height: 16px;
        font-size: 14px;
    }

    .cs-main.cs-parcel-main .cs-parcel-filter {
        margin-top: 7px;
        padding: 6px;
    }

    .cs-main.cs-parcel-main .cs-search-input .cs-input {
        height: 38px;
        min-height: 38px;
        font-size: 12px;
    }

    .cs-main.cs-parcel-main .cs-filter-actions .cs-btn {
        width: 78px;
        height: 38px;
        min-height: 38px;
        padding: 7px 8px;
        font-size: 12px;
    }

    .cs-main.cs-parcel-main .cs-parcel-tabs {
        margin-top: 7px;
    }

    .cs-main.cs-parcel-main .cs-parcel-card {
        padding: 10px;
    }

    .cs-main.cs-parcel-main .cs-items-block {
        padding: 6px 8px;
    }
}

/* mypackge.aspx: remove dashboard hero-like gap and lock the tool-page rhythm */
body[data-page-title="parcel.title"] .cs-user-shell.cs-dashboard {
    background: var(--cs-bg);
}

body[data-page-title="parcel.title"] .cs-main.cs-parcel-main {
    margin: 0 !important;
    padding-top: 12px !important;
}

body[data-page-title="parcel.title"] .cs-dashboard-head.cs-parcel-head {
    margin-top: 0 !important;
}

body[data-page-title="parcel.title"] .cs-main.cs-parcel-main .cs-reveal {
    opacity: 1;
    transform: none !important;
}

body[data-page-title="parcel.title"] .cs-main.cs-parcel-main .cs-parcel-filter {
    align-items: center;
}

body[data-page-title="parcel.title"] .cs-main.cs-parcel-main .cs-parcel-tabs {
    margin-top: 0 !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 5px;
    padding: 4px;
    border-radius: 14px;
    background: #eef2f7;
    box-shadow: none;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

body[data-page-title="parcel.title"] .cs-main.cs-parcel-main .cs-parcel-tabs::-webkit-scrollbar {
    display: none;
}

body[data-page-title="parcel.title"] .cs-main.cs-parcel-main .cs-parcel-tabs a {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 6px 9px;
    border: 1px solid transparent;
    border-radius: 11px;
    background: transparent;
    color: #64748b;
    scroll-snap-align: start;
}

body[data-page-title="parcel.title"] .cs-main.cs-parcel-main .cs-parcel-tabs a.is-active {
    color: #fff;
    border-color: var(--cs-navy);
    background: var(--cs-navy);
    box-shadow: 0 8px 18px rgba(18, 50, 74, .16);
}

body[data-page-title="parcel.title"] .cs-main.cs-parcel-main .cs-parcel-tabs a strong {
    display: inline-grid;
    min-width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 999px;
    background: rgba(148, 163, 184, .16);
    color: inherit;
    font-size: 11px;
    font-weight: 900;
}

body[data-page-title="parcel.title"] .cs-main.cs-parcel-main .cs-parcel-tabs a.is-active strong {
    background: rgba(255,255,255,.18);
}

body[data-page-title="parcel.title"] .cs-track-cell {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    gap: 5px;
}

body[data-page-title="parcel.title"] .cs-copy-track {
    position: relative;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border: 1px solid #dbeafe;
    border-radius: 9px;
    background: #fff;
    color: var(--cs-blue);
    cursor: pointer;
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

body[data-page-title="parcel.title"] .cs-copy-track span:before,
body[data-page-title="parcel.title"] .cs-copy-track span:after {
    content: "";
    position: absolute;
    border: 1.5px solid currentColor;
    border-radius: 3px;
}

body[data-page-title="parcel.title"] .cs-copy-track span:before {
    left: 9px;
    top: 7px;
    width: 9px;
    height: 11px;
    background: #fff;
}

body[data-page-title="parcel.title"] .cs-copy-track span:after {
    left: 6px;
    top: 10px;
    width: 9px;
    height: 11px;
    background: #f8fbff;
}

body[data-page-title="parcel.title"] .cs-copy-track:hover,
body[data-page-title="parcel.title"] .cs-copy-track:focus-visible {
    border-color: rgba(37, 99, 235, .35);
    background: #eff6ff;
    transform: translateY(-1px);
}

body[data-page-title="parcel.title"] .cs-mini-btn-soft,
body[data-page-title="parcel.title"] .cs-btn-soft {
    border: 1px solid #dbeafe;
    color: var(--cs-blue);
    background: #fff;
    box-shadow: none;
}

body[data-page-title="parcel.title"] .cs-mini-btn-soft:hover,
body[data-page-title="parcel.title"] .cs-btn-soft:hover {
    border-color: rgba(37, 99, 235, .36);
    background: #eff6ff;
    color: var(--cs-blue);
}

body[data-page-title="parcel.title"] .cs-main.cs-parcel-main .cs-search-input {
    height: 40px;
}

body[data-page-title="parcel.title"] .cs-main.cs-parcel-main .cs-search-input .cs-input {
    height: 40px;
    line-height: 40px;
}

body[data-page-title="parcel.title"] .cs-main.cs-parcel-main .cs-search-clear {
    top: 50%;
    transform: translateY(-50%);
}

body[data-page-title="parcel.title"] .cs-package-icon {
    width: 18px;
    height: 18px;
    border-width: 1.5px;
    border-radius: 5px;
}

body[data-page-title="parcel.title"] .cs-package-icon:before {
    left: 3px;
    right: 3px;
    top: 5px;
    height: 1px;
    opacity: .48;
}

body[data-page-title="parcel.title"] .cs-package-icon:after {
    left: 5px;
    top: -2px;
    bottom: auto;
    width: 6px;
    height: 5px;
    border: 1.4px solid currentColor;
    border-bottom: 0;
    border-radius: 3px 3px 0 0;
    background: #eff6ff;
    opacity: .58;
    transform: none;
}

body[data-page-title="parcel.title"] .cs-items-block {
    border-color: #e2e8f0;
    background: #f8fafc;
}

body[data-page-title="parcel.title"] .cs-items-block strong {
    color: #334155 !important;
    font-weight: 500 !important;
}

body[data-page-title="parcel.title"] .cs-items-edit {
    border-style: solid;
    box-shadow: none;
}

body[data-page-title="parcel.title"] .cs-items-edit:hover,
body[data-page-title="parcel.title"] .cs-items-edit:focus-visible {
    border-color: rgba(37, 99, 235, .28);
    background: #f8fbff;
}

body[data-page-title="parcel.title"] .cs-parcel-table-card {
    min-height: auto !important;
}

body[data-page-title="parcel.title"] .cs-list-tail {
    padding-bottom: 10px;
}

body[data-page-title="parcel.title"] .cs-mobile-layer {
    overflow: hidden;
    border-radius: 14px !important;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .32) !important;
}

body[data-page-title="parcel.title"] .cs-mobile-layer .layui-layer-title {
    height: 42px;
    padding: 0 44px 0 14px;
    border-bottom: 1px solid #e5e7eb;
    color: var(--cs-navy);
    background: #fff;
    font-size: 14px;
    font-weight: 900;
    line-height: 42px;
}

body[data-page-title="parcel.title"] .cs-mobile-layer .layui-layer-setwin {
    top: 12px;
    right: 12px;
}

body[data-page-title="parcel.title"] .cs-mobile-layer .layui-layer-content,
body[data-page-title="parcel.title"] .cs-mobile-layer iframe {
    width: 100% !important;
}

@media (max-width: 900px) {
    body[data-page-title="parcel.title"] .cs-user-shell.cs-dashboard,
    body[data-page-title="parcel.title"] .cs-dashboard {
        display: block;
        min-height: auto !important;
        background: var(--cs-bg) !important;
    }

    body[data-page-title="parcel.title"] .cs-user-mobile-header {
        height: 64px !important;
        min-height: 64px !important;
        margin: 0 !important;
    }

    body[data-page-title="parcel.title"] .cs-main.cs-parcel-main {
        min-height: auto !important;
        margin: 0 !important;
        padding: 12px 8px 82px !important;
        background: transparent !important;
    }

    body[data-page-title="parcel.title"] .cs-dashboard-head.cs-parcel-head {
        margin: 0 0 8px !important;
        padding: 9px 10px !important;
    }

    body[data-page-title="parcel.title"] .cs-main.cs-parcel-main .cs-parcel-tabs {
        margin-top: 0 !important;
        padding-right: 28px !important;
        -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 26px), transparent);
        mask-image: linear-gradient(90deg, #000 calc(100% - 26px), transparent);
    }

    body[data-page-title="parcel.title"] .cs-main.cs-parcel-main .cs-parcel-filter {
        display: flex !important;
        align-items: center !important;
        gap: 7px !important;
        margin-top: 8px !important;
        padding: 6px !important;
    }

    body[data-page-title="parcel.title"] .cs-main.cs-parcel-main .cs-parcel-filter .cs-field {
        flex: 1 1 auto;
        min-width: 0;
    }

    body[data-page-title="parcel.title"] .cs-main.cs-parcel-main .cs-search-input,
    body[data-page-title="parcel.title"] .cs-main.cs-parcel-main .cs-search-input .cs-input {
        height: 40px !important;
        min-height: 40px !important;
    }

    body[data-page-title="parcel.title"] .cs-main.cs-parcel-main .cs-filter-actions .cs-btn {
        width: 78px !important;
        height: 40px !important;
        min-height: 40px !important;
    }

    body[data-page-title="parcel.title"] .cs-main.cs-parcel-main .cs-parcel-table-card {
        margin-top: 12px !important;
        padding-bottom: 0 !important;
    }

    body[data-page-title="parcel.title"] .cs-main.cs-parcel-main .cs-parcel-card {
        gap: 7px !important;
        padding: 9px 10px !important;
    }

    body[data-page-title="parcel.title"] .cs-parcel-card-head {
        grid-template-columns: 24px 18px minmax(0, 1fr) 28px;
        align-items: center;
        gap: 7px;
    }

    body[data-page-title="parcel.title"] .cs-card-track strong {
        color: var(--cs-blue);
        font-size: 14px;
        font-weight: 650;
    }

    body[data-page-title="parcel.title"] .cs-parcel-card-head .cs-status {
        display: none !important;
    }

    body[data-page-title="parcel.title"] .cs-card-track {
        min-width: 0;
    }

    body[data-page-title="parcel.title"] .cs-card-track strong {
        display: block;
        overflow-wrap: anywhere;
    }

    body[data-page-title="parcel.title"] .cs-main.cs-parcel-main .cs-items-block {
        padding: 6px 7px !important;
        background: #f8fafc;
    }

    body[data-page-title="parcel.title"] .cs-items-edit {
        grid-template-columns: minmax(0, 1fr) 24px;
        min-height: 0;
    }

    body[data-page-title="parcel.title"] .cs-items-edit em {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    body[data-page-title="parcel.title"] .cs-pencil-icon {
        display: block;
    }

    body[data-page-title="parcel.title"] .cs-card-edit-btn,
    body[data-page-title="parcel.title"] .cs-action-menu-mobile summary {
        min-height: 34px !important;
        height: 34px;
        border-radius: 10px;
    }

    body[data-page-title="parcel.title"] .cs-pager {
        padding: 7px 8px 4px !important;
    }

    body[data-page-title="parcel.title"] .cs-pager.is-single-page {
        padding-bottom: 2px !important;
    }

    body[data-page-title="parcel.title"] .cs-pager.is-single-page .paginItem {
        display: none !important;
    }

    body[data-page-title="parcel.title"] .cs-list-tail {
        padding: 0 10px 10px;
        font-size: 11px;
    }

    body[data-page-title="parcel.title"] .cs-mobile-bulkbar {
        bottom: 72px;
        min-height: 48px;
        padding: 7px 8px;
        border-color: rgba(226,232,240,.95);
        border-radius: 14px;
        box-shadow: 0 10px 28px rgba(15,23,42,.14);
    }

    body[data-page-title="parcel.title"] .cs-mobile-bulkbar button {
        min-height: 32px;
        padding: 6px 9px;
        border: 1px solid #dbeafe;
        color: var(--cs-navy);
        background: #fff;
    }

    body[data-page-title="parcel.title"] .cs-mobile-bulkbar button:last-child {
        color: #b91c1c;
        border-color: #fecaca;
        background: #fff1f2;
    }

    body[data-page-title="parcel.title"] .cs-mobile-tabbar {
        min-height: 58px;
        padding: 6px;
    }

    body[data-page-title="parcel.title"] .cs-mobile-tabbar a {
        min-height: 44px;
    }

    body[data-page-title="parcel.title"] .cs-mobile-tabbar a.is-active {
        color: var(--cs-navy);
        background: #fff7ed;
        box-shadow: inset 0 0 0 1px rgba(245, 158, 11, .18);
    }

    body[data-page-title="parcel.title"] .cs-mobile-tabbar a.is-active .cs-tab-dot {
        background: var(--cs-orange);
    }
}

/* ForecastSingle: quick forecast tool */
body[data-page-title="forecast.title"] .cs-user-shell.cs-dashboard {
    background:
        radial-gradient(circle at 82% 0, rgba(37, 99, 235, .07), transparent 34%),
        var(--cs-bg);
}

body[data-page-title="forecast.title"] .cs-bottom-tabbar {
    display: none;
}

body[data-page-title="forecast.title"] .cs-sidebar {
    background:
        radial-gradient(circle at 8% 0, rgba(59,130,246,.18), transparent 42%),
        radial-gradient(circle at 110% 42%, rgba(245,158,11,.08), transparent 34%),
        linear-gradient(180deg, #12324a 0%, #0b263b 100%);
}

body[data-page-title="forecast.title"] .cs-sidebar a.is-active {
    background: rgba(255,255,255,.14);
    box-shadow: inset 3px 0 0 rgba(245,158,11,.92);
}

.cs-forecast-main {
    padding-top: 16px;
}

.cs-forecast-head {
    margin-bottom: 14px;
    padding: 16px 18px;
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 12px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 14px 32px rgba(18,50,74,.08);
}

.cs-forecast-head h1 {
    margin: 0;
    color: var(--cs-navy);
    font-size: 26px;
    line-height: 1.15;
}

.cs-forecast-head .cs-eyebrow {
    margin-bottom: 5px;
    color: var(--cs-orange);
}

.cs-forecast-head .cs-section-desc {
    margin-top: 4px;
    max-width: 720px;
    color: #64748b;
    font-size: 13px;
}

.cs-forecast-head-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cs-forecast-head-actions .cs-lang {
    min-height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--cs-navy);
}

.cs-forecast-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 14px;
    align-items: start;
}

.cs-forecast-primary,
.cs-forecast-aside {
    display: grid;
    gap: 12px;
}

.cs-forecast-card {
    padding: 16px;
    border-radius: 12px;
}

.cs-forecast-primary > .cs-forecast-card:nth-of-type(1) {
    border-color: #93c5fd;
    background:
        linear-gradient(135deg, rgba(219, 234, 254, .92), rgba(239, 246, 255, .98));
}

.cs-forecast-primary > .cs-forecast-card:nth-of-type(1) .cs-forecast-card-head h2,
.cs-forecast-primary > .cs-forecast-card:nth-of-type(2) .cs-forecast-card-head h2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--cs-navy);
    font-weight: 900;
}

.cs-forecast-primary > .cs-forecast-card:nth-of-type(1) .cs-forecast-card-head h2:before {
    content: none;
}

.cs-forecast-primary > .cs-forecast-card:nth-of-type(2) {
    border-color: #cbd5e1;
    background:
        linear-gradient(180deg, #f1f5f9, #fbfdff);
}

.cs-forecast-primary > .cs-forecast-card:nth-of-type(2) .cs-forecast-card-head h2:before {
    content: none;
}

.cs-forecast-primary > .cs-forecast-card:nth-of-type(3) {
    border-color: #e5e7eb;
    background: #f8fafc;
}

.cs-forecast-primary > .cs-forecast-card:nth-of-type(3) .cs-forecast-fold summary,
.cs-forecast-primary > .cs-forecast-card:nth-of-type(4) .cs-forecast-fold summary {
    color: #475569;
}

.cs-forecast-primary > .cs-forecast-card:nth-of-type(4) {
    border-style: dashed;
    border-color: #cbd5e1;
    background: #fbfdff;
}

.cs-forecast-aside > .cs-forecast-card:nth-of-type(1) {
    border-color: #e5e7eb;
    background:
        linear-gradient(180deg, #fafafa, #fff);
}

.cs-forecast-aside > .cs-forecast-card:nth-of-type(1) .cs-forecast-card-head h2 {
    color: #475569;
}

.cs-forecast-aside > .cs-forecast-card:nth-of-type(2),
.cs-forecast-aside > .cs-forecast-card:nth-of-type(3) {
    border-color: #e5e7eb;
    background: #fbfdff;
}

.cs-forecast-aside > .cs-forecast-card:nth-of-type(2) {
    border-color: #bbf7d0;
    background:
        linear-gradient(180deg, rgba(236,253,245,.9), #fff);
}

.cs-forecast-aside > .cs-forecast-card:nth-of-type(2) h2,
.cs-forecast-aside > .cs-forecast-card:nth-of-type(3) h2 {
    font-size: 16px;
    color: #475569;
}

.cs-forecast-card:hover {
    transform: none;
    box-shadow: var(--cs-shadow);
}

.cs-forecast-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.cs-forecast-card h2 {
    margin: 0;
    color: var(--cs-navy);
    font-size: 18px;
    line-height: 1.2;
}

.cs-forecast-card h2,
.cs-forecast-summary-title {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.cs-title-icon {
    position: relative;
    display: inline-grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border-radius: 9px;
    background: #f8fafc;
    box-shadow: inset 0 0 0 1px rgba(148,163,184,.2);
}

.cs-title-icon:before,
.cs-title-icon:after {
    content: "";
    position: absolute;
    box-sizing: border-box;
}

.cs-title-icon--tracking {
    color: #2563eb;
    background: rgba(239,246,255,.96);
}

.cs-title-icon--tracking:before {
    inset: 8px 6px 6px;
    border: 2px solid currentColor;
    border-radius: 4px;
}

.cs-title-icon--tracking:after {
    top: 5px;
    left: 9px;
    width: 10px;
    height: 7px;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 4px 4px 0 0;
}

.cs-title-icon--items {
    color: #12324a;
    background: rgba(241,245,249,.95);
}

.cs-title-icon--items:before {
    top: 7px;
    left: 8px;
    width: 12px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 3px;
}

.cs-title-icon--items:after {
    top: 10px;
    left: 11px;
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

.cs-title-icon--note {
    color: #64748b;
    background: #f1f5f9;
}

.cs-title-icon--note:before {
    left: 8px;
    top: 7px;
    width: 12px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 3px;
}

.cs-title-icon--note:after {
    right: 7px;
    bottom: 7px;
    width: 9px;
    height: 2px;
    background: currentColor;
    transform: rotate(-35deg);
    border-radius: 99px;
}

.cs-title-icon--service,
.cs-title-icon--history {
    color: #d97706;
    background: #fff7ed;
}

.cs-title-icon--service:before {
    left: 7px;
    top: 9px;
    width: 14px;
    height: 11px;
    border: 2px solid currentColor;
    border-radius: 4px;
}

.cs-title-icon--service:after {
    left: 12px;
    top: 12px;
    width: 5px;
    height: 5px;
    border: 2px solid currentColor;
    border-radius: 999px;
}

.cs-title-icon--history:before {
    inset: 7px;
    border: 2px solid currentColor;
    border-radius: 999px;
}

.cs-title-icon--history:after {
    left: 14px;
    top: 10px;
    width: 6px;
    height: 6px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

.cs-title-icon--excel {
    color: #15803d;
    background: #ecfdf5;
}

.cs-title-icon--excel:before {
    left: 8px;
    top: 6px;
    width: 12px;
    height: 16px;
    border: 2px solid currentColor;
    border-radius: 3px;
    background: rgba(22,163,74,.08);
}

.cs-title-icon--excel:after {
    left: 11px;
    top: 11px;
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: skew(-12deg);
}

.cs-title-icon--tips {
    color: #ca8a04;
    background: #fefce8;
}

.cs-title-icon--tips:before {
    left: 9px;
    top: 6px;
    width: 10px;
    height: 13px;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 8px 8px 4px 4px;
}

.cs-title-icon--tips:after {
    left: 11px;
    bottom: 6px;
    width: 6px;
    height: 2px;
    background: currentColor;
    border-radius: 99px;
}

.cs-forecast-card p {
    margin: 5px 0 0;
    color: var(--cs-muted);
    font-size: 13px;
}

.cs-forecast-step {
    display: inline-grid;
    min-width: 38px;
    height: 32px;
    place-items: center;
    border-radius: 999px;
    background: #fff7ed;
    color: #b45309;
    font-weight: 800;
    font-size: 12px;
}

.cs-forecast-hidden-fields {
    display: none;
}

.cs-field-error {
    min-height: 16px;
    color: var(--cs-red);
    font-size: 12px;
    line-height: 1.25;
}

.cs-input.is-error,
.cs-textarea.is-error {
    border-color: var(--cs-red);
    box-shadow: 0 0 0 3px rgba(220,38,38,.12);
}

.cs-forecast-add {
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 10px;
    white-space: nowrap;
}

.cs-forecast-items {
    display: grid;
    gap: 8px;
}

.cs-forecast-item-head,
.cs-forecast-item {
    display: grid;
    grid-template-columns: 1fr 1.35fr 92px 112px 132px;
    gap: 8px;
    align-items: start;
}

.cs-forecast-item-head {
    padding: 0 4px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.cs-forecast-item {
    padding: 10px;
    border: 1px solid #e7edf5;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff, #fbfdff);
}

.cs-forecast-input label {
    display: none;
    margin-bottom: 4px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.cs-forecast-item .cs-input {
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 9px;
    font-size: 13px;
}

.cs-forecast-row-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding-top: 1px;
}

.cs-mini-btn-danger {
    border-color: #fecaca;
    background: #fff5f5;
    color: #b91c1c;
}

.cs-forecast-fold {
    display: grid;
    gap: 12px;
}

.cs-forecast-fold summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--cs-navy);
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

.cs-forecast-fold summary::-webkit-details-marker {
    display: none;
}

.cs-forecast-fold summary small {
    color: var(--cs-muted);
    font-size: 12px;
    font-weight: 700;
}

.cs-forecast-remark {
    margin: 12px 0 0;
}

.cs-forecast-muted {
    margin: 0;
    color: var(--cs-muted);
    font-size: 13px;
}

.cs-forecast-vas-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.cs-vas-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    max-width: 100%;
    padding: 6px 10px;
    border: 1px solid #dbe5f0;
    border-radius: 999px;
    background: #fff;
    color: var(--cs-navy);
    cursor: pointer;
    font-size: 13px;
    transition: .16s ease;
}

.cs-vas-chip:hover,
.cs-vas-chip.is-checked {
    border-color: rgba(245,158,11,.45);
    background: #fff7ed;
}

.cs-vas-chip input {
    display: none;
}

.cs-vas-dot {
    width: 10px;
    height: 10px;
    border: 2px solid #94a3b8;
    border-radius: 999px;
}

.cs-vas-chip.is-checked .cs-vas-dot {
    border-color: var(--cs-orange);
    background: var(--cs-orange);
}

.cs-vas-chip b {
    color: #b45309;
    font-size: 12px;
}

.cs-forecast-vas-summary {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 10px;
    color: #64748b;
    font-size: 13px;
}

.cs-forecast-vas-summary b {
    color: var(--cs-navy);
}

.cs-forecast-submitbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 2px 0 0;
}

.cs-forecast-submitbar .cs-btn-primary {
    min-width: 180px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 14px 28px rgba(245, 158, 11, .24);
}

.cs-forecast-submitbar .cs-btn-primary:before {
    content: "🚀";
    font-size: 16px;
    line-height: 1;
}

.cs-forecast-history-search {
    height: 40px;
    margin-bottom: 10px;
}

.cs-forecast-history-search .cs-input {
    height: 40px;
    min-height: 40px;
}

.cs-forecast-history-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cs-history-chip {
    display: inline-grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    min-height: 34px;
    padding: 6px 9px;
    border: 1px solid #dbe5f0;
    border-radius: 999px;
    background: #fff;
    color: var(--cs-text);
    cursor: pointer;
    text-align: left;
    transition: .16s ease;
}

.cs-history-chip:hover {
    border-color: rgba(37,99,235,.34);
    background: #f8fbff;
    transform: translateY(-1px);
}

.cs-history-chip strong {
    color: var(--cs-navy);
    font-size: 12px;
    white-space: nowrap;
}

.cs-history-chip span {
    min-width: 0;
    overflow: hidden;
    color: #475569;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cs-history-chip em {
    color: #b45309;
    font-style: normal;
    font-weight: 800;
    font-size: 12px;
}

.cs-forecast-upload {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.cs-file-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    color: var(--cs-navy);
    cursor: pointer;
    font-weight: 800;
}

.cs-forecast-upload .cs-btn,
.cs-file-btn {
    position: relative;
    overflow: hidden;
}

.cs-forecast-upload .cs-btn:before,
.cs-file-btn:before {
    content: "";
    width: 17px;
    height: 19px;
    margin-right: 8px;
    border: 2px solid currentColor;
    border-radius: 3px;
    background:
        linear-gradient(90deg, transparent 45%, currentColor 45%, currentColor 55%, transparent 55%) center / 100% 7px no-repeat,
        linear-gradient(currentColor, currentColor) center / 9px 2px no-repeat;
    opacity: .78;
}

.cs-forecast-upload .cs-btn-ghost {
    border-color: #bbf7d0;
    color: #166534;
    background: #f0fdf4;
}

.cs-forecast-upload .cs-btn-dark {
    background: #166534;
    color: #fff;
}

.cs-file-btn input {
    display: none;
}

.cs-forecast-rules {
    display: grid;
    gap: 5px;
    margin-top: 12px;
    padding: 10px;
    border-radius: 10px;
    background: #f8fafc;
    color: #64748b;
    font-size: 12px;
}

.cs-forecast-rules strong {
    color: var(--cs-navy);
}

.cs-forecast-rules p {
    margin: 0;
}

.cs-forecast-tip-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.cs-forecast-tip-list span {
    position: relative;
    display: block;
    padding: 9px 10px;
    padding-left: 28px;
    border: 1px solid #e7edf5;
    border-radius: 10px;
    background: linear-gradient(180deg, #f8fafc, #fff);
    color: #475569;
    font-size: 13px;
}

.cs-forecast-tip-list span:before {
    content: "";
    position: absolute;
    left: 11px;
    top: 16px;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #93c5fd;
    box-shadow: 0 0 0 3px rgba(147,197,253,.22);
}

@media (max-width: 1180px) {
    .cs-forecast-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    body[data-page-title="forecast.title"] .cs-dashboard {
        display: block;
        min-height: auto;
    }

    .cs-forecast-main {
        padding: 12px 8px 148px;
    }

    .cs-forecast-head {
        margin-bottom: 8px;
        padding: 10px;
        border-radius: 12px;
    }

    .cs-forecast-head h1 {
        font-size: 19px;
    }

    .cs-forecast-head .cs-eyebrow,
    .cs-forecast-head-actions {
        display: none;
    }

    .cs-forecast-head .cs-section-desc {
        margin-top: 2px;
        font-size: 11px;
        line-height: 1.35;
    }

    .cs-forecast-primary,
    .cs-forecast-aside {
        gap: 8px;
    }

    .cs-forecast-card {
        padding: 10px;
        border-radius: 12px;
    }

    .cs-forecast-card-head {
        align-items: center;
        margin-bottom: 10px;
    }

    .cs-forecast-card h2 {
        font-size: 15px;
    }

    .cs-forecast-card p {
        font-size: 11px;
        line-height: 1.35;
    }

    .cs-forecast-step {
        display: none;
    }

    .cs-forecast-add {
        min-height: 34px;
        padding: 7px 10px;
        font-size: 12px;
    }

    .cs-forecast-item-head {
        display: none;
    }

    .cs-forecast-item {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        padding: 9px;
    }

    .cs-forecast-input label {
        display: block;
    }

    .cs-forecast-input:nth-child(1),
    .cs-forecast-input:nth-child(2),
    .cs-forecast-row-actions {
        grid-column: 1 / -1;
    }

    .cs-forecast-item .cs-input {
        min-height: 36px;
        padding: 7px 9px;
        font-size: 13px;
    }

    .cs-forecast-row-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding-top: 0;
    }

    .cs-forecast-row-actions .cs-mini-btn {
        min-height: 32px;
        justify-content: center;
    }

    .cs-forecast-fold summary {
        min-height: 34px;
    }

    .cs-forecast-submitbar {
        position: fixed;
        right: 8px;
        bottom: 68px;
        left: 8px;
        z-index: 24;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        padding: 8px;
        border: 1px solid rgba(226,232,240,.86);
        border-radius: 14px;
        background: rgba(255,255,255,.94);
        box-shadow: 0 16px 42px rgba(18,50,74,.18);
        backdrop-filter: blur(14px);
    }

    .cs-forecast-submitbar .cs-btn {
        min-height: 40px;
        padding: 8px 12px;
        font-size: 13px;
    }

    .cs-forecast-submitbar .cs-btn-primary {
        min-width: 0;
    }

    .cs-forecast-submitbar .cs-btn-ghost {
        width: 104px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .cs-forecast-vas-list,
    .cs-forecast-history-list {
        gap: 6px;
    }

    .cs-vas-chip,
    .cs-history-chip {
        min-height: 32px;
        font-size: 12px;
    }

    .cs-forecast-vas-summary {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px 14px;
    }
}

@media (max-width: 767.98px) {
    body[data-page-title="forecast.title"] .cs-forecast-layout {
        display: grid;
    }

    body[data-page-title="forecast.title"] .cs-forecast-primary,
    body[data-page-title="forecast.title"] .cs-forecast-aside {
        display: contents;
    }

    body[data-page-title="forecast.title"] .cs-forecast-primary > .cs-forecast-card:nth-of-type(1) {
        order: 1;
    }

    body[data-page-title="forecast.title"] .cs-forecast-primary > .cs-forecast-card:nth-of-type(2) {
        order: 2;
    }

    body[data-page-title="forecast.title"] .cs-forecast-aside > .cs-forecast-card:nth-of-type(1) {
        order: 3;
    }

    body[data-page-title="forecast.title"] .cs-forecast-primary > .cs-forecast-card:nth-of-type(3) {
        order: 4;
    }

    body[data-page-title="forecast.title"] .cs-forecast-primary > .cs-forecast-card:nth-of-type(4) {
        order: 5;
    }

    body[data-page-title="forecast.title"] .cs-forecast-aside > .cs-forecast-card:nth-of-type(2) {
        order: 6;
    }

    body[data-page-title="forecast.title"] .cs-forecast-aside > .cs-forecast-card:nth-of-type(3) {
        order: 7;
    }

    body[data-page-title="forecast.title"] .cs-forecast-submitbar {
        order: 8;
    }

    body[data-page-title="forecast.title"] .cs-forecast-primary > .cs-forecast-card:nth-of-type(1) .cs-field > .cs-label {
        display: none;
    }

    body[data-page-title="forecast.title"] .cs-forecast-input label {
        display: none;
    }

    body[data-page-title="forecast.title"] #packgeremark {
        min-height: 78px;
        max-height: 132px;
        padding: 9px 10px;
        font-size: 13px;
        line-height: 1.45;
    }

    body[data-page-title="forecast.title"] .cs-forecast-add {
        min-height: 34px;
        padding: 6px 11px;
        border: 1px solid #bfdbfe;
        color: var(--cs-navy);
        background: #eff6ff;
        box-shadow: none;
    }

    body[data-page-title="forecast.title"] .cs-forecast-add:hover {
        border-color: #93c5fd;
        background: #dbeafe;
    }
}

@media (max-width: 520px) {
    .cs-forecast-main {
        padding-top: 8px;
    }

    .cs-forecast-head {
        margin-bottom: 7px;
    }

    .cs-forecast-card {
        box-shadow: 0 10px 24px rgba(18,50,74,.08);
    }

    .cs-forecast-layout {
        gap: 8px;
    }

    .cs-forecast-item {
        border-radius: 12px;
    }
}

@media (max-width: 767.98px) {
    body[data-page-title="forecast.title"] .cs-bottom-tabbar {
        position: fixed;
        right: 8px;
        bottom: 8px;
        left: 8px;
        z-index: 23;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 4px;
        min-height: 58px;
        padding: 6px;
        border: 1px solid rgba(226,232,240,.9);
        border-radius: 16px;
        background: rgba(255,255,255,.94);
        box-shadow: 0 -8px 24px rgba(18, 50, 74, .1);
        backdrop-filter: blur(14px);
    }

    body[data-page-title="forecast.title"] .cs-bottom-tabbar a {
        display: grid;
        gap: 2px;
        place-items: center;
        min-height: 44px;
        color: #64748b;
        border-radius: 12px;
        font-size: 11px;
        font-weight: 800;
    }

    body[data-page-title="forecast.title"] .cs-bottom-tabbar a.is-active {
        color: var(--cs-navy);
        background: #fff7ed;
        box-shadow: inset 0 0 0 1px rgba(245, 158, 11, .18);
    }

    body[data-page-title="forecast.title"] .cs-bottom-tabbar a.is-active .cs-tab-dot {
        background: var(--cs-orange);
    }
}

@media (min-width: 768px) {
    body[data-page-title="forecast.title"] .cs-bottom-tabbar {
        display: none !important;
    }
}

/* Inbound parcels / packing cart sample page */
body[data-page-title="inbound.title"] .cs-user-shell.cs-dashboard {
    background:
        radial-gradient(circle at 14% -8%, rgba(37, 99, 235, .10), transparent 30%),
        linear-gradient(180deg, #eef4f8 0, #f7f9fc 34%, #f5f7fa 100%);
}

body[data-page-title="inbound.title"] .cs-main.cs-inbound-main {
    padding: 18px 22px 110px;
}

body[data-page-title="inbound.title"] .cs-inbound-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 12px;
    padding: 18px;
    border: 1px solid rgba(226,232,240,.9);
    border-radius: 14px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 16px 36px rgba(18,50,74,.08);
}

body[data-page-title="inbound.title"] .cs-inbound-head h1 {
    margin: 0;
    color: var(--cs-navy);
    font-size: 30px;
    line-height: 1.14;
}

body[data-page-title="inbound.title"] .cs-inbound-head-side {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

body[data-page-title="inbound.title"] .cs-inbound-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

body[data-page-title="inbound.title"] .cs-inbound-stat {
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 4px;
    min-height: 70px;
    padding: 14px 16px;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(18,50,74,.08);
}

body[data-page-title="inbound.title"] .cs-inbound-stat span {
    order: 2;
    color: var(--cs-muted);
    font-size: 13px;
    font-weight: 800;
}

body[data-page-title="inbound.title"] .cs-inbound-stat strong {
    order: 1;
    color: var(--cs-navy);
    font-size: 28px;
    line-height: 1;
}

body[data-page-title="inbound.title"] .cs-inbound-stat--pay {
    border-color: #fed7aa;
    background: #fff7ed;
}

body[data-page-title="inbound.title"] .cs-inbound-filter {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    align-items: end;
    gap: 12px;
    margin-bottom: 10px;
    padding: 14px;
}

body[data-page-title="inbound.title"] .cs-inbound-filter .cs-field {
    margin: 0;
}

body[data-page-title="inbound.title"] .cs-inbound-filter .cs-filter-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

body[data-page-title="inbound.title"] .cs-search-clear {
    top: 50%;
    display: grid;
    place-items: center;
    padding: 0;
    line-height: 1;
    transform: translateY(-50%);
}

body[data-page-title="inbound.title"] .cs-inbound-bulkbar {
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    border-color: #fed7aa;
    background: linear-gradient(180deg, #fff7ed, #fff);
}

body[data-page-title="inbound.title"] .cs-inbound-bulkbar p {
    margin: 3px 0 0;
    color: #64748b;
    font-size: 12px;
}

body[data-page-title="inbound.title"] .cs-batch-count {
    display: inline-block;
    min-width: 30px;
    margin: 0 5px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #e0f7ff;
    color: #0284c7;
    font-size: 28px;
    font-weight: 950;
    line-height: 1;
    text-align: center;
    box-shadow: 0 6px 16px rgba(14, 165, 233, .22);
    vertical-align: -5px;
}

body[data-page-title="inbound.title"] .cs-inbound-bulkbar:not(.is-active) {
    display: none;
}

body[data-page-title="inbound.title"] .cs-inbound-bulkbar.is-active {
    display: flex;
}

body[data-page-title="inbound.title"] .cs-inbound-table-card {
    padding: 0;
    overflow: visible;
}

body[data-page-title="inbound.title"] .cs-inbound-table-wrap {
    border: 0;
    border-radius: 14px;
}

body[data-page-title="inbound.title"] .cs-inbound-table {
    min-width: 1140px;
}

body[data-page-title="inbound.title"] .cs-inbound-table th,
body[data-page-title="inbound.title"] .cs-inbound-table td {
    padding: 12px 12px;
}

body[data-page-title="inbound.title"] .cs-inbound-table th {
    color: #64748b;
    background: #f8fafc;
    font-size: 12px;
    letter-spacing: 0;
}

body[data-page-title="inbound.title"] .cs-inbound-table tbody tr {
    transition: background .16s ease, box-shadow .16s ease;
}

body[data-page-title="inbound.title"] .cs-inbound-table tbody tr:hover {
    background: #f8fbff;
}

body[data-page-title="inbound.title"] .cs-inbound-table tbody tr.row-selected {
    background: #f0fdf4;
}

body[data-page-title="inbound.title"] .cs-inbound-track-cell {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 220px;
}

body[data-page-title="inbound.title"] .cs-track-link {
    color: var(--cs-blue);
    font-weight: 800;
}

body[data-page-title="inbound.title"] .cs-copy-track {
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    color: var(--cs-blue);
    background: #fff;
    cursor: pointer;
}

body[data-page-title="inbound.title"] .cs-copy-track span,
body[data-page-title="inbound.title"] .cs-pencil-icon {
    position: relative;
    display: inline-block;
    width: 15px;
    height: 15px;
}

body[data-page-title="inbound.title"] .cs-copy-track span:before,
body[data-page-title="inbound.title"] .cs-copy-track span:after {
    content: "";
    position: absolute;
    border: 1.7px solid currentColor;
    border-radius: 3px;
}

body[data-page-title="inbound.title"] .cs-copy-track span:before {
    right: 1px;
    top: 1px;
    width: 9px;
    height: 10px;
    background: #fff;
}

body[data-page-title="inbound.title"] .cs-copy-track span:after {
    left: 1px;
    bottom: 1px;
    width: 9px;
    height: 10px;
}

body[data-page-title="inbound.title"] .cs-package-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1.7px solid currentColor;
    border-radius: 4px;
    color: var(--cs-blue);
    background: linear-gradient(135deg, #eff6ff, #fff);
    box-shadow: inset 0 5px 0 rgba(37,99,235,.09);
}

body[data-page-title="inbound.title"] .cs-split-chip {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 2px 6px;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    color: #166534;
    background: #f0fdf4;
    font-size: 11px;
    font-weight: 900;
    font-style: normal;
}

body[data-page-title="inbound.title"] .cs-line-clamp {
    display: -webkit-box;
    overflow: hidden;
    color: #334155;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: left;
}

body[data-page-title="inbound.title"] .cs-muted-dash {
    color: #94a3b8;
}

body[data-page-title="inbound.title"] .cs-vas-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 5px 9px;
    border: 1px solid #fde68a;
    border-radius: 999px;
    color: #92400e;
    background: #fffbeb;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
}

body[data-page-title="inbound.title"] .cs-vas-badges {
    display: inline-flex;
    align-items: center;
}

body[data-page-title="inbound.title"] .cs-vas-count,
body[data-page-title="inbound.title"] .cs-vas-none {
    display: inline-grid;
    min-width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 999px;
    background: #f59e0b;
    color: #111827;
    font-size: 11px;
    font-style: normal;
}

body[data-page-title="inbound.title"] .cs-vas-none {
    color: #64748b;
    background: #f1f5f9;
}

body[data-page-title="inbound.title"] .cs-row-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

body[data-page-title="inbound.title"] .cs-mini-btn {
    cursor: pointer;
}

body[data-page-title="inbound.title"] .cs-btn-soft,
body[data-page-title="inbound.title"] .cs-mini-btn-soft {
    border: 1px solid #dbeafe;
    color: var(--cs-blue);
    background: #fff;
    box-shadow: none;
}

body[data-page-title="inbound.title"] .cs-btn-soft:hover,
body[data-page-title="inbound.title"] .cs-mini-btn-soft:hover {
    border-color: rgba(37,99,235,.36);
    color: var(--cs-blue);
    background: #eff6ff;
}

body[data-page-title="inbound.title"] .cs-mini-btn:disabled,
body[data-page-title="inbound.title"] .cs-btn:disabled {
    cursor: not-allowed;
    opacity: .72;
}

body[data-page-title="inbound.title"] .cs-inbound-cards {
    display: none;
}

body[data-page-title="inbound.title"] .cs-inbound-card {
    display: grid;
    gap: 8px;
    padding: 12px 12px 11px;
    border-radius: 16px;
    border-left: 3px solid transparent;
}

body[data-page-title="inbound.title"] .cs-inbound-card.is-selected,
body[data-page-title="inbound.title"] .cs-inbound-card.is-checked {
    border-color: rgba(22,163,74,.34);
    border-left-color: var(--cs-green);
    background: linear-gradient(180deg, #f8fffb, #f0fdf4);
}

body[data-page-title="inbound.title"] .cs-inbound-primary {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto auto;
    gap: 7px;
    align-items: center;
}

body[data-page-title="inbound.title"] .cs-inbound-primary .cs-selected-chip {
    grid-column: 3 / -1;
    width: fit-content;
    margin-top: -2px;
}

body[data-page-title="inbound.title"] .cs-inbound-card .cs-card-track p {
    margin: 0 0 2px;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
}

body[data-page-title="inbound.title"] .cs-inbound-card .cs-card-track strong {
    display: block;
    min-width: 0;
    color: var(--cs-blue);
    font-size: 15px;
    line-height: 1.15;
    word-break: break-all;
}

body[data-page-title="inbound.title"] .cs-inbound-meta-row {
    display: flex;
    align-items: center;
    gap: 8px 14px;
    flex-wrap: wrap;
    padding: 5px 0 2px;
}

body[data-page-title="inbound.title"] .cs-inbound-meta-row > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    color: #475569;
    font-size: 12px;
}

body[data-page-title="inbound.title"] .cs-inbound-meta-row b {
    color: #64748b;
    font-weight: 800;
}

body[data-page-title="inbound.title"] .cs-inbound-meta-row strong {
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
}

.cs-card-icon {
    position: relative;
    display: inline-grid;
    width: 16px;
    height: 16px;
    place-items: center;
    flex: 0 0 auto;
    color: #64748b;
}

body[data-page-title="inbound.title"] .cs-card-icon--weight:before {
    content: "";
    width: 13px;
    height: 10px;
    border: 1.7px solid currentColor;
    border-radius: 3px 3px 5px 5px;
}

body[data-page-title="inbound.title"] .cs-card-icon--weight:after {
    content: "";
    position: absolute;
    top: 1px;
    width: 6px;
    height: 4px;
    border: 1.6px solid currentColor;
    border-bottom: 0;
    border-radius: 5px 5px 0 0;
}

body[data-page-title="inbound.title"] .cs-card-icon--time:before {
    content: "";
    width: 13px;
    height: 13px;
    border: 1.7px solid currentColor;
    border-radius: 999px;
}

body[data-page-title="inbound.title"] .cs-card-icon--time:after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border-left: 1.7px solid currentColor;
    border-bottom: 1.7px solid currentColor;
    transform: translate(1px, -1px);
}

body[data-page-title="inbound.title"] .cs-card-icon--items:before {
    content: "";
    width: 12px;
    height: 14px;
    border: 1.7px solid currentColor;
    border-radius: 3px;
    box-shadow: inset 0 4px 0 rgba(100,116,139,.12);
}

body[data-page-title="inbound.title"] .cs-card-icon--remark:before {
    content: "";
    width: 13px;
    height: 11px;
    border: 1.7px solid currentColor;
    border-radius: 3px;
}

body[data-page-title="inbound.title"] .cs-card-icon--remark:after {
    content: "";
    position: absolute;
    right: 1px;
    bottom: 1px;
    width: 5px;
    height: 5px;
    border-right: 1.7px solid currentColor;
    border-bottom: 1.7px solid currentColor;
}

body[data-page-title="inbound.title"] .cs-card-icon--service:before {
    content: "";
    width: 14px;
    height: 10px;
    border: 1.7px solid currentColor;
    border-radius: 4px;
}

body[data-page-title="inbound.title"] .cs-card-icon--service:after {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    border: 1.5px solid currentColor;
    border-radius: 999px;
}

body[data-page-title="inbound.title"] .cs-card-icon--split:before {
    content: "";
    width: 13px;
    height: 13px;
    border: 1.7px solid currentColor;
    border-radius: 4px;
    box-shadow: 5px 0 0 -2px #fff, 5px 0 0 0 currentColor;
}

body[data-page-title="inbound.title"] .cs-inbound-summary-line {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    min-width: 0;
    color: #475569;
    font-size: 12px;
    line-height: 1.35;
}

body[data-page-title="inbound.title"] .cs-inbound-summary-line strong {
    display: -webkit-box;
    min-width: 0;
    overflow: hidden;
    color: #334155;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

body[data-page-title="inbound.title"] .cs-inbound-remark-line span {
    color: #64748b;
    font-weight: 800;
}

body[data-page-title="inbound.title"] .cs-inbound-service-line {
    align-items: center;
    color: #64748b;
}

body[data-page-title="inbound.title"] .cs-inbound-service-line > span {
    flex: 1;
    min-width: 0;
}

body[data-page-title="inbound.title"] .cs-inbound-card .cs-parcel-card-actions {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    margin-top: 2px;
}

body[data-page-title="inbound.title"] .cs-vas-drawer {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    gap: 12px;
    width: min(420px, 92vw);
}

body[data-page-title="inbound.title"] .cs-drawer-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

body[data-page-title="inbound.title"] .cs-drawer-head h3 {
    margin: 0;
    color: var(--cs-navy);
    font-size: 20px;
}

body[data-page-title="inbound.title"] .cs-drawer-head p {
    margin: 4px 0 0;
    color: var(--cs-muted);
    font-size: 12px;
}

body[data-page-title="inbound.title"] .cs-drawer-head button {
    min-height: 32px;
    padding: 5px 9px;
    border: 1px solid var(--cs-border);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

body[data-page-title="inbound.title"] .cs-vas-applied,
body[data-page-title="inbound.title"] .cs-vas-options {
    display: grid;
    gap: 8px;
}

body[data-page-title="inbound.title"] .cs-vas-applied-chip,
body[data-page-title="inbound.title"] .cs-vas-help {
    display: inline-flex;
    width: fit-content;
    padding: 7px 10px;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    color: #166534;
    background: #f0fdf4;
    font-size: 12px;
    font-weight: 800;
}

body[data-page-title="inbound.title"] .cs-vas-help {
    border-color: #e2e8f0;
    color: #64748b;
    background: #f8fafc;
}

body[data-page-title="inbound.title"] .cs-vas-option {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 9px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

body[data-page-title="inbound.title"] .cs-vas-option span {
    flex: 1;
    color: #334155;
    font-weight: 800;
}

body[data-page-title="inbound.title"] .cs-vas-option strong {
    color: #b45309;
}

body[data-page-title="inbound.title"] .cs-drawer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

body[data-page-title="inbound.title"] .cs-skeleton-line {
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: cs-loading 1.2s infinite;
}

@keyframes cs-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (max-width: 1023.98px) {
    body[data-page-title="inbound.title"] .cs-sidebar {
        display: none;
    }

    body[data-page-title="inbound.title"] .cs-user-shell.cs-dashboard {
        display: block;
        min-height: auto;
    }
}

@media (min-width: 768px) {
    body[data-page-title="inbound.title"] .cs-mobile-tabbar,
    body[data-page-title="inbound.title"] .cs-mobile-bulkbar {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    body[data-page-title="inbound.title"] .cs-main.cs-inbound-main {
        padding: 10px 8px 138px;
    }

    body[data-page-title="inbound.title"] .cs-inbound-head {
        gap: 10px;
        margin-bottom: 8px;
        padding: 11px;
        border-radius: 13px;
    }

    body[data-page-title="inbound.title"] .cs-inbound-head h1 {
        font-size: 20px;
    }

    body[data-page-title="inbound.title"] .cs-inbound-head .cs-section-desc {
        margin-top: 3px;
        font-size: 11px;
        line-height: 1.35;
    }

    body[data-page-title="inbound.title"] .cs-inbound-head-side .cs-lang {
        display: none;
    }

    body[data-page-title="inbound.title"] .cs-inbound-head-side .cs-btn {
        min-height: 34px;
        padding: 6px 10px;
        font-size: 12px;
    }

    body[data-page-title="inbound.title"] .cs-inbound-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        margin-bottom: 8px;
    }

    body[data-page-title="inbound.title"] .cs-inbound-stat {
        display: grid;
        min-height: 60px;
        padding: 10px;
        border-radius: 12px;
        text-align: center;
    }

    body[data-page-title="inbound.title"] .cs-inbound-stat span {
        order: 2;
        font-size: 11px;
    }

    body[data-page-title="inbound.title"] .cs-inbound-stat strong {
        order: 1;
        font-size: 22px;
    }

    body[data-page-title="inbound.title"] .cs-inbound-filter {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 8px;
        padding: 10px;
    }

    body[data-page-title="inbound.title"] .cs-inbound-filter .cs-field label {
        display: none;
    }

    body[data-page-title="inbound.title"] .cs-inbound-filter .cs-input {
        min-height: 40px;
        padding: 8px 38px 8px 11px;
        font-size: 13px;
    }

    body[data-page-title="inbound.title"] .cs-inbound-filter .cs-filter-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    body[data-page-title="inbound.title"] .cs-inbound-filter .cs-filter-actions .cs-btn {
        min-height: 38px;
        padding: 7px 11px;
        font-size: 12px;
    }

    body[data-page-title="inbound.title"] .cs-inbound-filter #btnExport {
        display: none;
    }

    body[data-page-title="inbound.title"] .cs-inbound-bulkbar,
    body[data-page-title="inbound.title"] .cs-inbound-table-wrap {
        display: none !important;
    }

    body[data-page-title="inbound.title"] .cs-inbound-table-card {
        padding: 8px;
        border-radius: 16px;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    body[data-page-title="inbound.title"] .cs-inbound-cards {
        display: grid;
        gap: 10px;
    }

    body[data-page-title="inbound.title"] .cs-inbound-card {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(37, 99, 235, .08);
    }

    body[data-page-title="inbound.title"] .cs-inbound-card:active {
        transform: scale(.995);
    }

    body[data-page-title="inbound.title"] .js-edit-items-text,
    body[data-page-title="inbound.title"] .js-edit-items-icon {
        cursor: pointer;
    }

    body[data-page-title="inbound.title"] .js-edit-items-text:hover,
    body[data-page-title="inbound.title"] .js-edit-items-text:focus-visible {
        color: var(--cs-blue);
        text-decoration: underline;
        outline: 0;
    }

    body[data-page-title="inbound.title"] .js-edit-items-icon:hover,
    body[data-page-title="inbound.title"] .js-edit-items-icon:focus-visible {
        background: #dbeafe;
        outline: 0;
    }

    body[data-page-title="inbound.title"] .cs-inbound-card .cs-parcel-card-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 7px;
    }

    body[data-page-title="inbound.title"] .cs-inbound-card .cs-parcel-card-actions .cs-btn,
    body[data-page-title="inbound.title"] .cs-action-menu-mobile summary {
        min-height: 34px;
        padding: 6px 9px;
        font-size: 12px;
    }

    body[data-page-title="inbound.title"] .cs-inbound-card .cs-parcel-card-actions .cs-btn.is-selected {
        color: #166534;
        border-color: #bbf7d0;
        background: #f0fdf4;
        box-shadow: none;
    }

    body[data-page-title="inbound.title"] .cs-pager {
        margin-top: 8px;
        text-align: center;
    }

body[data-page-title="inbound.title"] .cs-mobile-bulkbar {
        bottom: 72px;
        display: none;
        grid-template-columns: minmax(0, 1fr) auto auto;
        align-items: center;
        gap: 7px;
        border-color: rgba(226,232,240,.96);
        border-radius: 15px;
        background: rgba(255,255,255,.96);
        box-shadow: 0 12px 34px rgba(15,23,42,.16);
        backdrop-filter: blur(14px);
    }

    body[data-page-title="inbound.title"] .cs-mobile-bulkbar.is-active {
        display: grid;
    }

    body[data-page-title="inbound.title"] .cs-mobile-bulkbar strong {
        display: block;
        font-size: 12px;
        line-height: 1.2;
    }

    body[data-page-title="inbound.title"] .cs-mobile-bulkbar .cs-batch-count {
        min-width: 28px;
        padding: 2px 7px;
        font-size: 25px;
        vertical-align: -4px;
    }

    body[data-page-title="inbound.title"] .cs-mobile-bulkbar p {
        margin: 2px 0 0;
        color: #64748b;
        font-size: 10px;
        line-height: 1.2;
    }

    body[data-page-title="inbound.title"] .cs-mobile-bulkbar button {
        color: var(--cs-navy);
        border: 1px solid #dbeafe;
        background: #fff;
    }

body[data-page-title="inbound.title"] .cs-mobile-bulkbar button:last-child {
        border-color: rgba(245,158,11,.36);
        background: #fff7ed;
    }
}

/* Packing batch review */
body[data-page-title="batch.title"] {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, .16), transparent 34%),
        linear-gradient(180deg, #eaf3fb 0%, #f7fafc 42%, #eef4f9 100%);
    color: var(--cs-navy);
}

body[data-page-title="batch.title"] .cs-batch-page {
    min-height: 100vh;
    padding: 18px;
}

body[data-page-title="batch.title"] .cs-batch-shell {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

body[data-page-title="batch.title"] .cs-batch-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(15, 42, 61, .08);
}

body[data-page-title="batch.title"] .cs-batch-title {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

body[data-page-title="batch.title"] .cs-batch-title .cs-brand-mark {
    flex: 0 0 auto;
    color: #fff;
    background: linear-gradient(135deg, var(--cs-navy), #2563eb);
}

body[data-page-title="batch.title"] .cs-kicker {
    margin: 0 0 4px;
    color: var(--cs-orange);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}

body[data-page-title="batch.title"] h1 {
    margin: 0;
    color: var(--cs-navy);
    font-size: 26px;
    line-height: 1.15;
}

body[data-page-title="batch.title"] .cs-batch-title p:last-child {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
}

body[data-page-title="batch.title"] .cs-batch-count-card {
    min-width: 150px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(14, 165, 233, .18);
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
    text-align: right;
}

body[data-page-title="batch.title"] .cs-batch-count-card strong {
    display: block;
    color: #0284c7;
    font-size: 34px;
    font-weight: 950;
    line-height: 1;
}

body[data-page-title="batch.title"] .cs-batch-count-card span {
    display: block;
    margin-top: 5px;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
}

body[data-page-title="batch.title"] .cs-batch-handling {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

body[data-page-title="batch.title"] .cs-handling-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 3px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(15, 42, 61, .08);
    text-align: left;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body[data-page-title="batch.title"] .cs-handling-card:hover,
body[data-page-title="batch.title"] .cs-handling-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(245, 158, 11, .34);
    box-shadow: 0 16px 36px rgba(15, 42, 61, .12);
    outline: 0;
}

body[data-page-title="batch.title"] .cs-handling-card.is-primary {
    border-color: rgba(245, 158, 11, .28);
    background: linear-gradient(135deg, #fff, #fff7ed);
}

body[data-page-title="batch.title"] .cs-handling-icon {
    grid-row: 1 / 3;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    position: relative;
    background: #eff6ff;
}

body[data-page-title="batch.title"] .cs-handling-icon:before,
body[data-page-title="batch.title"] .cs-handling-icon:after {
    content: "";
    position: absolute;
    border-radius: 4px;
}

body[data-page-title="batch.title"] .cs-handling-icon--fulfillment {
    background: #eff6ff;
}

body[data-page-title="batch.title"] .cs-handling-icon--fulfillment:before {
    left: 12px;
    top: 10px;
    width: 18px;
    height: 14px;
    border: 2px solid #2563eb;
}

body[data-page-title="batch.title"] .cs-handling-icon--fulfillment:after {
    left: 16px;
    top: 25px;
    width: 10px;
    height: 3px;
    background: #2563eb;
}

body[data-page-title="batch.title"] .cs-handling-icon--forwarding {
    background: #fff7ed;
}

body[data-page-title="batch.title"] .cs-handling-icon--forwarding:before {
    left: 10px;
    top: 16px;
    width: 22px;
    height: 9px;
    border: 2px solid var(--cs-orange);
}

body[data-page-title="batch.title"] .cs-handling-icon--forwarding:after {
    left: 13px;
    top: 27px;
    width: 18px;
    height: 4px;
    background: radial-gradient(circle, var(--cs-orange) 38%, transparent 40%) left center / 9px 4px repeat-x;
}

body[data-page-title="batch.title"] .cs-handling-icon--transfer {
    background: #ecfdf5;
}

body[data-page-title="batch.title"] .cs-handling-icon--transfer:before {
    left: 10px;
    top: 12px;
    width: 22px;
    height: 18px;
    border: 2px solid #16a34a;
}

body[data-page-title="batch.title"] .cs-handling-icon--transfer:after {
    left: 16px;
    top: 8px;
    width: 10px;
    height: 26px;
    border-left: 2px solid #16a34a;
    border-right: 2px solid #16a34a;
    border-radius: 0;
}

body[data-page-title="batch.title"] .cs-handling-card strong {
    color: var(--cs-navy);
    font-size: 16px;
}

body[data-page-title="batch.title"] .cs-handling-card small {
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
}

body[data-page-title="batch.title"] .cs-batch-table-card {
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(15, 42, 61, .08);
}

body[data-page-title="batch.title"] .cs-batch-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 16px;
    border-bottom: 1px solid #e2e8f0;
}

body[data-page-title="batch.title"] .cs-batch-section-head h2 {
    margin: 0;
    color: var(--cs-navy);
    font-size: 17px;
}

body[data-page-title="batch.title"] .cs-batch-section-head p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 12px;
}

body[data-page-title="batch.title"] .cs-batch-toolbar,
body[data-page-title="batch.title"] .cs-row-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

body[data-page-title="batch.title"] .cs-btn-danger-soft,
body[data-page-title="batch.title"] .cs-mini-btn-danger {
    color: #b91c1c;
    border-color: #fecaca;
    background: #fff1f2;
}

body[data-page-title="batch.title"] .cs-btn-danger-soft:hover,
body[data-page-title="batch.title"] .cs-mini-btn-danger:hover {
    border-color: #fca5a5;
    background: #fee2e2;
}

body[data-page-title="batch.title"] .cs-batch-table-wrap {
    overflow-x: auto;
}

body[data-page-title="batch.title"] .cs-batch-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 820px;
}

body[data-page-title="batch.title"] .cs-batch-table th {
    padding: 12px 14px;
    color: #475569;
    background: #f8fafc;
    font-size: 12px;
    font-weight: 900;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

body[data-page-title="batch.title"] .cs-batch-table td {
    padding: 13px 14px;
    color: #0f172a;
    font-size: 13px;
    border-bottom: 1px solid #edf2f7;
    vertical-align: middle;
}

body[data-page-title="batch.title"] .cs-batch-table tbody tr:hover {
    background: #f8fbff;
}

body[data-page-title="batch.title"] .cs-hidden-check {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

body[data-page-title="batch.title"] .cs-track-cell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

body[data-page-title="batch.title"] .cs-track-link {
    color: var(--cs-blue);
    font-weight: 800;
}

body[data-page-title="batch.title"] .cs-copy-track {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid #dbeafe;
    border-radius: 9px;
    background: #eff6ff;
    cursor: pointer;
}

body[data-page-title="batch.title"] .cs-copy-track span {
    position: relative;
    width: 14px;
    height: 14px;
}

body[data-page-title="batch.title"] .cs-copy-track span:before,
body[data-page-title="batch.title"] .cs-copy-track span:after {
    content: "";
    position: absolute;
    width: 9px;
    height: 10px;
    border: 1.7px solid #2563eb;
    border-radius: 3px;
}

body[data-page-title="batch.title"] .cs-copy-track span:before {
    right: 1px;
    top: 1px;
    background: #eff6ff;
}

body[data-page-title="batch.title"] .cs-copy-track span:after {
    left: 1px;
    bottom: 1px;
    background: #dbeafe;
}

body[data-page-title="batch.title"] .cs-split-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    color: #075985;
    background: #e0f2fe;
    font-size: 12px;
    font-weight: 800;
}

body[data-page-title="batch.title"] .cs-batch-pager {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    padding: 12px 16px;
    background: #fbfdff;
}

body[data-page-title="batch.title"] .cs-page-jump {
    width: 58px;
    min-height: 34px;
}

body[data-page-title="batch.title"] .cs-select {
    min-height: 34px;
    border: 1px solid #dbe3ec;
    border-radius: 10px;
    background: #fff;
    color: var(--cs-navy);
    padding: 0 10px;
}

body[data-page-title="batch.title"] .cs-batch-cards {
    display: none;
}

body[data-page-title="batch.title"] .cs-batch-danger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #fee2e2;
    background: #fffafa;
}

body[data-page-title="batch.title"] .cs-batch-danger strong {
    color: #991b1b;
}

body[data-page-title="batch.title"] .cs-batch-danger p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 12px;
}

body[data-page-title="batch.title"] .cs-batch-empty {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 42px 18px;
    text-align: center;
}

body[data-page-title="batch.title"] .cs-batch-empty strong {
    color: var(--cs-navy);
    font-size: 20px;
}

body[data-page-title="batch.title"] .cs-batch-empty span {
    color: #64748b;
}

body[data-page-title="batch.title"] .cs-batch-mobile-bar {
    display: none;
}

@media (max-width: 767.98px) {
    body[data-page-title="batch.title"] .cs-batch-page {
        padding: 10px 10px 84px;
    }

    body[data-page-title="batch.title"] .cs-batch-shell {
        gap: 10px;
    }

    body[data-page-title="batch.title"] .cs-batch-hero {
        align-items: flex-start;
        padding: 13px;
        border-radius: 16px;
    }

    body[data-page-title="batch.title"] .cs-batch-title {
        gap: 10px;
    }

    body[data-page-title="batch.title"] h1 {
        font-size: 20px;
    }

    body[data-page-title="batch.title"] .cs-batch-title p:last-child {
        font-size: 12px;
        line-height: 1.45;
    }

    body[data-page-title="batch.title"] .cs-batch-count-card {
        min-width: 78px;
        padding: 9px 10px;
        text-align: center;
    }

    body[data-page-title="batch.title"] .cs-batch-count-card strong {
        font-size: 26px;
    }

    body[data-page-title="batch.title"] .cs-batch-count-card span {
        font-size: 10px;
    }

    body[data-page-title="batch.title"] .cs-batch-handling {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    body[data-page-title="batch.title"] .cs-batch-handling::-webkit-scrollbar {
        display: none;
    }

    body[data-page-title="batch.title"] .cs-handling-card {
        min-width: 215px;
        padding: 11px;
        border-radius: 16px;
        grid-template-columns: 36px minmax(0, 1fr);
    }

    body[data-page-title="batch.title"] .cs-handling-icon {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }

    body[data-page-title="batch.title"] .cs-handling-card strong {
        font-size: 14px;
    }

    body[data-page-title="batch.title"] .cs-handling-card small {
        font-size: 11px;
    }

    body[data-page-title="batch.title"] .cs-batch-table-card {
        display: none;
    }

    body[data-page-title="batch.title"] .cs-batch-cards {
        display: grid;
        gap: 10px;
    }

    body[data-page-title="batch.title"] .cs-batch-parcel-card {
        display: grid;
        gap: 9px;
        padding: 12px;
        border: 1px solid rgba(15, 42, 61, .08);
        border-left: 3px solid #16a34a;
        border-radius: 16px;
    }

    body[data-page-title="batch.title"] .cs-batch-parcel-top {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto auto;
        align-items: center;
        gap: 8px;
    }

    body[data-page-title="batch.title"] .cs-card-track {
        min-width: 0;
    }

    body[data-page-title="batch.title"] .cs-card-track p {
        margin: 0 0 2px;
        color: #64748b;
        font-size: 10px;
        font-weight: 800;
    }

    body[data-page-title="batch.title"] .cs-card-track strong {
        display: block;
        color: var(--cs-blue);
        font-size: 14px;
        overflow-wrap: anywhere;
    }

    body[data-page-title="batch.title"] .cs-batch-parcel-meta {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #64748b;
        font-size: 12px;
        font-weight: 800;
    }

    body[data-page-title="batch.title"] .cs-batch-items {
        padding: 9px 10px;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        background: #f8fafc;
    }

    body[data-page-title="batch.title"] .cs-batch-items span {
        display: block;
        margin-bottom: 3px;
        color: #64748b;
        font-size: 10px;
        font-weight: 900;
    }

    body[data-page-title="batch.title"] .cs-batch-items p {
        display: -webkit-box;
        overflow: hidden;
        margin: 0;
        color: #1e293b;
        font-size: 13px;
        line-height: 1.45;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    body[data-page-title="batch.title"] .cs-batch-remark {
        margin: 0;
        color: #475569;
        font-size: 12px;
        line-height: 1.45;
    }

    body[data-page-title="batch.title"] .cs-batch-card-actions {
        display: flex;
        justify-content: flex-end;
    }

    body[data-page-title="batch.title"] .cs-batch-card-actions .cs-btn {
        min-height: 34px;
        padding: 7px 12px;
        font-size: 12px;
    }

    body[data-page-title="batch.title"] .cs-batch-danger {
        display: grid;
        gap: 9px;
        padding: 12px;
        border-radius: 16px;
    }

    body[data-page-title="batch.title"] .cs-batch-danger .cs-btn {
        justify-self: start;
        min-height: 34px;
        padding: 7px 12px;
        font-size: 12px;
    }

    body[data-page-title="batch.title"] .cs-batch-mobile-bar {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 10px;
        z-index: 30;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        align-items: center;
        gap: 8px;
        min-height: 58px;
        padding: 8px 9px;
        border: 1px solid rgba(15, 42, 61, .1);
        border-radius: 16px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 18px 44px rgba(15, 42, 61, .18);
        backdrop-filter: blur(14px);
    }

    body[data-page-title="batch.title"] .cs-batch-mobile-bar strong {
        display: block;
        color: var(--cs-navy);
        line-height: 1;
    }

    body[data-page-title="batch.title"] .cs-batch-mobile-bar .cs-batch-count {
        min-width: 30px;
        padding: 2px 8px;
        color: #0284c7;
        background: #e0f7ff;
        border-radius: 999px;
        font-size: 24px;
        font-weight: 950;
    }

    body[data-page-title="batch.title"] .cs-batch-mobile-bar p {
        margin: 3px 0 0;
        color: #64748b;
        font-size: 10px;
        font-weight: 800;
    }

    body[data-page-title="batch.title"] .cs-batch-mobile-bar button {
        min-height: 36px;
        border: 1px solid #dbeafe;
        border-radius: 10px;
        background: #fff;
        color: var(--cs-navy);
        padding: 7px 10px;
        font-size: 12px;
        font-weight: 900;
    }

    body[data-page-title="batch.title"] .cs-batch-mobile-bar button:last-child {
        color: #fff;
        border-color: var(--cs-orange);
        background: var(--cs-orange);
    }
}

/* EditGoods: responsive item editor for popup/iframe/standalone use */
body[data-page-title="editGoods.title"] {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(59,130,246,.16), transparent 32%),
        linear-gradient(180deg, #eef6ff 0%, #f8fafc 42%, #ffffff 100%);
    color: var(--cs-ink);
}

body[data-page-title="editGoods.title"] .cs-editgoods-page {
    min-height: 100vh;
    padding: 18px;
}

body[data-page-title="editGoods.title"] .cs-editgoods-shell {
    width: min(940px, 100%);
    margin: 0 auto;
    padding-bottom: 88px;
}

body[data-page-title="editGoods.title"] .cs-editgoods-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-color: rgba(147,197,253,.55);
    background:
        linear-gradient(135deg, rgba(239,246,255,.98), rgba(255,255,255,.96)),
        #fff;
}

body[data-page-title="editGoods.title"] .cs-editgoods-title {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

body[data-page-title="editGoods.title"] .cs-editgoods-title .cs-package-icon {
    width: 32px;
    height: 32px;
    color: var(--cs-blue);
    background: #dbeafe;
    border-color: #93c5fd;
    flex: 0 0 auto;
}

body[data-page-title="editGoods.title"] .cs-editgoods-title h1 {
    margin: 0;
    color: var(--cs-navy);
    font-size: 24px;
    line-height: 1.15;
}

body[data-page-title="editGoods.title"] .cs-editgoods-title p {
    margin: 5px 0 0;
    color: var(--cs-muted);
    font-size: 13px;
    line-height: 1.45;
}

body[data-page-title="editGoods.title"] .cs-kicker {
    margin: 0 0 4px !important;
    color: var(--cs-orange) !important;
    font-size: 11px !important;
    font-weight: 900;
    letter-spacing: .08em;
}

body[data-page-title="editGoods.title"] .cs-editgoods-track {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 12px 16px;
    border-color: #dbeafe;
    background: #fff;
}

body[data-page-title="editGoods.title"] .cs-editgoods-track span {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

body[data-page-title="editGoods.title"] .cs-editgoods-track strong {
    color: var(--cs-blue);
    font-size: 16px;
    font-weight: 900;
    word-break: break-all;
}

body[data-page-title="editGoods.title"] .cs-editgoods-track small {
    margin-left: auto;
    color: #64748b;
    font-size: 12px;
}

body[data-page-title="editGoods.title"] .cs-editgoods-card {
    margin-top: 12px;
    padding: 16px;
    border-color: rgba(203,213,225,.8);
    background: #fff;
}

body[data-page-title="editGoods.title"] .cs-editgoods-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

body[data-page-title="editGoods.title"] .cs-editgoods-section-head h2 {
    margin: 0;
    color: var(--cs-navy);
    font-size: 18px;
}

body[data-page-title="editGoods.title"] .cs-editgoods-section-head p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 12px;
}

body[data-page-title="editGoods.title"] .cs-editgoods-add {
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: var(--cs-blue);
    white-space: nowrap;
}

body[data-page-title="editGoods.title"] .cs-editgoods-table {
    display: grid;
    gap: 8px;
}

body[data-page-title="editGoods.title"] .cs-editgoods-table-head,
body[data-page-title="editGoods.title"] .cs-editgoods-item {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(160px, 1.35fr) 92px 112px 132px;
    gap: 8px;
    align-items: start;
}

body[data-page-title="editGoods.title"] .cs-editgoods-table-head {
    padding: 9px 10px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

body[data-page-title="editGoods.title"] .cs-editgoods-list {
    display: grid;
    gap: 8px;
}

body[data-page-title="editGoods.title"] .cs-editgoods-item {
    padding: 10px;
    border: 1px solid #e5edf7;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff, #fbfdff);
    box-shadow: 0 10px 24px rgba(18,50,74,.06);
}

body[data-page-title="editGoods.title"] .cs-editgoods-item-title {
    display: none;
    color: var(--cs-navy);
    font-size: 13px;
    font-weight: 900;
}

body[data-page-title="editGoods.title"] .cs-editgoods-item label {
    display: grid;
    gap: 5px;
    margin: 0;
}

body[data-page-title="editGoods.title"] .cs-editgoods-item label > span {
    display: none;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

body[data-page-title="editGoods.title"] .cs-editgoods-item .cs-input {
    min-height: 38px;
    padding: 8px 10px;
    border-color: #dbe3ee;
    border-radius: 10px;
    background: #fff;
}

body[data-page-title="editGoods.title"] .cs-editgoods-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

body[data-page-title="editGoods.title"] .cs-editgoods-actions .cs-mini-btn {
    min-height: 38px;
    justify-content: center;
    flex: 1 1 0;
}

body[data-page-title="editGoods.title"] .cs-editgoods-footer {
    position: fixed;
    left: 50%;
    bottom: 16px;
    z-index: 30;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    width: min(940px, calc(100% - 36px));
    padding: 10px;
    border: 1px solid rgba(15,42,61,.1);
    border-radius: 16px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 18px 44px rgba(15,42,61,.18);
    backdrop-filter: blur(14px);
    transform: translateX(-50%);
}

body[data-page-title="editGoods.title"] .cs-editgoods-footer .cs-btn-primary {
    min-width: 160px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

body[data-page-title="editGoods.title"] .cs-btn.is-loading {
    pointer-events: none;
    opacity: .72;
}

@media (max-width: 767px) {
    body[data-page-title="editGoods.title"] .cs-editgoods-page {
        padding: 5px;
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-shell {
        padding-bottom: 76px;
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-header {
        align-items: center;
        padding: 8px 10px;
        border-radius: 12px;
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-title {
        gap: 8px;
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-title .cs-package-icon {
        width: 25px;
        height: 25px;
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-title h1 {
        font-size: 18px;
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-title p {
        margin-top: 2px;
        font-size: 10px;
        line-height: 1.25;
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-header > .cs-btn {
        min-height: 30px;
        padding: 6px 9px;
        font-size: 12px;
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-track {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 3px 8px;
        margin-top: 6px;
        padding: 8px 10px;
        border-radius: 12px;
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-track strong {
        width: auto;
        font-size: 14px;
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-track small {
        grid-column: 1 / -1;
        width: auto;
        margin-left: 0;
        font-size: 11px;
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-card {
        margin-top: 6px;
        padding: 9px;
        border-radius: 12px;
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-section-head {
        align-items: center;
        margin-bottom: 7px;
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-section-head h2 {
        font-size: 15px;
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-section-head p {
        display: none;
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-add {
        min-height: 30px;
        padding: 5px 9px;
        border-radius: 999px;
        font-size: 11px;
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-table-head {
        display: none;
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-item {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        padding: 8px;
        border-radius: 12px;
        box-shadow: 0 7px 16px rgba(18,50,74,.05);
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-item-title,
    body[data-page-title="editGoods.title"] .cs-editgoods-item label > span {
        display: block;
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-item-title,
    body[data-page-title="editGoods.title"] .cs-editgoods-actions {
        grid-column: 1 / -1;
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-item-title {
        font-size: 12px;
        line-height: 1.15;
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-item label {
        gap: 3px;
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-item label > span {
        font-size: 10px;
        line-height: 1.1;
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-item .cs-input {
        min-height: 34px;
        padding: 6px 8px;
        border-radius: 9px;
        font-size: 12px;
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-actions .cs-mini-btn {
        min-height: 30px;
        padding: 5px 8px;
        font-size: 11px;
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-footer {
        right: 6px;
        left: 6px;
        bottom: 6px;
        width: auto;
        grid-template-columns: 104px 1fr;
        display: grid;
        padding: 6px;
        border-radius: 12px;
        transform: none;
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-footer .cs-btn {
        min-height: 36px;
        padding: 7px 10px;
    }

    body[data-page-title="editGoods.title"] .cs-editgoods-footer .cs-btn-primary {
        min-width: 0;
    }
}

/* Fulfillment request: high-risk state-change page, frontend only */
body[data-page-title="fulfillment.title"] {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 12% -8%, rgba(37,99,235,.11), transparent 30%),
        radial-gradient(circle at 90% 6%, rgba(245,158,11,.10), transparent 26%),
        #eef4fb;
    color: var(--cs-ink);
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-page {
    min-height: 100vh;
    padding: 18px;
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding-bottom: 96px;
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-color: rgba(147,197,253,.55);
    background:
        linear-gradient(135deg, rgba(239,246,255,.98), rgba(255,255,255,.95)),
        #fff;
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-hero h1 {
    margin: 0;
    color: var(--cs-navy);
    font-size: 28px;
    line-height: 1.15;
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-hero p {
    margin: 6px 0 0;
    max-width: 720px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-hero-side {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-count {
    min-width: 132px;
    padding: 10px 12px;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(18,50,74,.07);
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-count strong {
    display: block;
    color: var(--cs-navy);
    font-size: 26px;
    line-height: 1;
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-count span {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 14px;
    margin-top: 14px;
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-main,
body[data-page-title="fulfillment.title"] .cs-fulfillment-aside {
    display: grid;
    align-content: start;
    gap: 12px;
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-step,
body[data-page-title="fulfillment.title"] .cs-fulfillment-summary,
body[data-page-title="fulfillment.title"] .cs-fulfillment-tips {
    padding: 16px;
    border-color: rgba(203,213,225,.75);
    background: rgba(255,255,255,.96);
}

body[data-page-title="fulfillment.title"] .cs-step-head {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 12px;
}

body[data-page-title="fulfillment.title"] .cs-step-index {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: #dbeafe;
    color: var(--cs-blue);
    font-size: 13px;
    font-weight: 950;
    flex: 0 0 auto;
}

body[data-page-title="fulfillment.title"] .cs-step-head h2 {
    margin: 0;
    color: var(--cs-navy);
    font-size: 18px;
    line-height: 1.2;
}

body[data-page-title="fulfillment.title"] .cs-step-head p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-parcels {
    display: grid;
    gap: 8px;
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-parcel {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid #e5edf7;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff, #fbfdff);
    box-shadow: 0 10px 24px rgba(18,50,74,.05);
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-parcel-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-parcel-top .cs-package-icon {
    width: 18px;
    height: 18px;
    color: var(--cs-blue);
    background: #dbeafe;
    border-color: #93c5fd;
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-parcel small {
    display: block;
    margin-bottom: 2px;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-parcel strong {
    display: block;
    min-width: 0;
    color: var(--cs-blue);
    font-size: 14px;
    font-weight: 900;
    word-break: break-all;
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-parcel-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-parcel-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-items,
body[data-page-title="fulfillment.title"] .cs-fulfillment-remark {
    margin: 0;
    color: #334155;
    font-size: 13px;
    line-height: 1.45;
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-items span,
body[data-page-title="fulfillment.title"] .cs-fulfillment-remark span {
    color: #64748b;
    font-weight: 900;
}

body[data-page-title="fulfillment.title"] .cs-label-mode {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 4px;
    border-radius: 14px;
    background: #eef4fb;
}

body[data-page-title="fulfillment.title"] .cs-label-mode label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: #475569;
    cursor: pointer;
    font-size: 13px;
    font-weight: 950;
    transition: background .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

body[data-page-title="fulfillment.title"] .cs-label-mode label.is-active {
    border-color: #fed7aa;
    background: #fff;
    color: var(--cs-navy);
    box-shadow: 0 8px 18px rgba(245,158,11,.12);
}

body[data-page-title="fulfillment.title"] .cs-label-mode input {
    display: none;
}

body[data-page-title="fulfillment.title"] .cs-label-panel {
    display: grid;
    gap: 12px;
}

body[data-page-title="fulfillment.title"] .cs-label-panel .cs-field {
    margin: 0;
}

body[data-page-title="fulfillment.title"] .cs-label-panel .cs-input,
body[data-page-title="fulfillment.title"] .cs-label-panel .cs-textarea {
    border-color: #dbe3ee;
    border-radius: 12px;
    background: #fff;
}

body[data-page-title="fulfillment.title"] .cs-label-panel .cs-textarea {
    min-height: 96px;
    resize: vertical;
}

body[data-page-title="fulfillment.title"] .cs-field-error {
    min-height: 16px;
    color: var(--cs-red);
    font-size: 11px;
    font-weight: 800;
}

body[data-page-title="fulfillment.title"] .cs-input.is-error,
body[data-page-title="fulfillment.title"] .cs-textarea.is-error {
    border-color: var(--cs-red);
    box-shadow: 0 0 0 3px rgba(220,38,38,.10);
}

body[data-page-title="fulfillment.title"] .cs-upload-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border: 1px dashed #bfdbfe;
    border-radius: 14px;
    background: #f8fbff;
}

body[data-page-title="fulfillment.title"] .cs-upload-card strong,
body[data-page-title="fulfillment.title"] .cs-file-list h3,
body[data-page-title="fulfillment.title"] .cs-fulfillment-summary h2,
body[data-page-title="fulfillment.title"] .cs-fulfillment-tips h2 {
    margin: 0;
    color: var(--cs-navy);
    font-size: 15px;
}

body[data-page-title="fulfillment.title"] .cs-upload-card p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 12px;
}

body[data-page-title="fulfillment.title"] .cs-file-list {
    display: grid;
    gap: 8px;
}

body[data-page-title="fulfillment.title"] .cs-file-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid #e5edf7;
    border-radius: 14px;
    background: #fff;
}

body[data-page-title="fulfillment.title"] .cs-file-icon {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 11px;
    font-weight: 950;
}

body[data-page-title="fulfillment.title"] .cs-file-card strong {
    display: block;
    color: var(--cs-navy);
    font-size: 13px;
    word-break: break-all;
}

body[data-page-title="fulfillment.title"] .cs-file-card small {
    display: block;
    margin-top: 2px;
    color: #64748b;
    font-size: 11px;
}

body[data-page-title="fulfillment.title"] .cs-handover-note,
body[data-page-title="fulfillment.title"] .cs-risk-box {
    display: grid;
    gap: 4px;
    padding: 11px 12px;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    background: #fff7ed;
    color: #9a3412;
}

body[data-page-title="fulfillment.title"] .cs-handover-note span,
body[data-page-title="fulfillment.title"] .cs-risk-box span {
    color: #9a3412;
    font-size: 12px;
}

body[data-page-title="fulfillment.title"] .cs-handover-note strong,
body[data-page-title="fulfillment.title"] .cs-risk-box strong {
    color: #7c2d12;
    font-size: 14px;
}

body[data-page-title="fulfillment.title"] .vas2-chip-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 42px;
    padding: 8px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #fbfdff;
}

body[data-page-title="fulfillment.title"] .vas2-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid #dbe3ee;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    cursor: pointer;
    font-size: 12px;
    font-weight: 850;
    transition: border-color .16s ease, background .16s ease, color .16s ease;
}

body[data-page-title="fulfillment.title"] .vas2-chip input[type=checkbox] {
    display: none;
}

body[data-page-title="fulfillment.title"] .vas2-dot {
    width: 10px;
    height: 10px;
    border: 2px solid #94a3b8;
    border-radius: 50%;
}

body[data-page-title="fulfillment.title"] .vas2-chip.is-checked {
    border-color: #f59e0b;
    background: #fff7ed;
    color: var(--cs-navy);
}

body[data-page-title="fulfillment.title"] .vas2-chip.is-checked .vas2-dot {
    border-color: #f59e0b;
    background: #f59e0b;
}

body[data-page-title="fulfillment.title"] .vas2-name {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-page-title="fulfillment.title"] .vas2-price {
    padding: 2px 7px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 11px;
    font-weight: 950;
}

body[data-page-title="fulfillment.title"] .vas2-summary {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

body[data-page-title="fulfillment.title"] .vas2-summary b {
    color: var(--cs-navy);
}

body[data-page-title="fulfillment.title"] .cs-muted-message {
    color: #64748b;
    font-size: 12px;
}

body[data-page-title="fulfillment.title"] .cs-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 0;
    border-top: 1px solid #edf2f7;
}

body[data-page-title="fulfillment.title"] .cs-summary-row span {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

body[data-page-title="fulfillment.title"] .cs-summary-row strong {
    color: var(--cs-navy);
    font-size: 16px;
    font-weight: 950;
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-summary .cs-btn {
    width: 100%;
    margin-top: 10px;
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-tips ul {
    display: grid;
    gap: 8px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-tips li {
    position: relative;
    padding-left: 16px;
    color: #475569;
    font-size: 12px;
    line-height: 1.45;
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-tips li:before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #f59e0b;
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-actionbar {
    position: fixed;
    left: 50%;
    bottom: 16px;
    z-index: 40;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    width: min(1180px, calc(100% - 36px));
    padding: 10px;
    border: 1px solid rgba(15,42,61,.1);
    border-radius: 16px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 18px 44px rgba(15,42,61,.18);
    backdrop-filter: blur(14px);
    transform: translateX(-50%);
}

body[data-page-title="fulfillment.title"] .cs-fulfillment-actionbar .cs-btn-primary {
    min-width: 220px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

body[data-page-title="fulfillment.title"] .cs-btn.is-loading {
    pointer-events: none;
    opacity: .75;
}

@media (max-width: 960px) {
    body[data-page-title="fulfillment.title"] .cs-fulfillment-layout {
        grid-template-columns: 1fr;
    }

    body[data-page-title="fulfillment.title"] .cs-fulfillment-aside {
        order: 2;
    }
}

@media (max-width: 767px) {
    body[data-page-title="fulfillment.title"] .cs-fulfillment-page {
        padding: 7px;
    }

    body[data-page-title="fulfillment.title"] .cs-fulfillment-shell {
        padding-bottom: 92px;
    }

    body[data-page-title="fulfillment.title"] .cs-fulfillment-hero {
        align-items: flex-start;
        padding: 12px;
        border-radius: 14px;
    }

    body[data-page-title="fulfillment.title"] .cs-fulfillment-hero h1 {
        font-size: 20px;
    }

    body[data-page-title="fulfillment.title"] .cs-fulfillment-hero p {
        font-size: 11px;
        line-height: 1.35;
    }

    body[data-page-title="fulfillment.title"] .cs-fulfillment-hero-side {
        display: grid;
        justify-items: end;
        gap: 8px;
    }

    body[data-page-title="fulfillment.title"] .cs-fulfillment-count {
        min-width: 88px;
        padding: 8px 9px;
    }

    body[data-page-title="fulfillment.title"] .cs-fulfillment-count strong {
        font-size: 22px;
    }

    body[data-page-title="fulfillment.title"] .cs-fulfillment-count span {
        font-size: 10px;
    }

    body[data-page-title="fulfillment.title"] .cs-fulfillment-layout {
        gap: 8px;
        margin-top: 8px;
    }

    body[data-page-title="fulfillment.title"] .cs-fulfillment-main,
    body[data-page-title="fulfillment.title"] .cs-fulfillment-aside {
        gap: 8px;
    }

    body[data-page-title="fulfillment.title"] .cs-fulfillment-step,
    body[data-page-title="fulfillment.title"] .cs-fulfillment-summary,
    body[data-page-title="fulfillment.title"] .cs-fulfillment-tips {
        padding: 11px;
        border-radius: 14px;
    }

    body[data-page-title="fulfillment.title"] .cs-step-head {
        gap: 8px;
        margin-bottom: 9px;
    }

    body[data-page-title="fulfillment.title"] .cs-step-index {
        width: 24px;
        height: 24px;
        border-radius: 8px;
        font-size: 12px;
    }

    body[data-page-title="fulfillment.title"] .cs-step-head h2 {
        font-size: 16px;
    }

    body[data-page-title="fulfillment.title"] .cs-step-head p {
        font-size: 11px;
    }

    body[data-page-title="fulfillment.title"] .cs-fulfillment-parcel {
        gap: 6px;
        padding: 10px;
        border-radius: 13px;
    }

    body[data-page-title="fulfillment.title"] .cs-fulfillment-parcel-top {
        grid-template-columns: auto minmax(0, 1fr);
    }

    body[data-page-title="fulfillment.title"] .cs-fulfillment-parcel-top .cs-status {
        grid-column: 2;
        justify-self: start;
    }

    body[data-page-title="fulfillment.title"] .cs-fulfillment-items,
    body[data-page-title="fulfillment.title"] .cs-fulfillment-remark {
        font-size: 12px;
    }

    body[data-page-title="fulfillment.title"] .cs-label-mode {
        gap: 5px;
    }

    body[data-page-title="fulfillment.title"] .cs-label-mode label {
        min-height: 36px;
        padding: 7px 8px;
        font-size: 12px;
    }

    body[data-page-title="fulfillment.title"] .cs-label-panel {
        gap: 8px;
    }

    body[data-page-title="fulfillment.title"] .cs-label-panel .cs-textarea {
        min-height: 82px;
    }

    body[data-page-title="fulfillment.title"] .cs-upload-card {
        display: grid;
        gap: 9px;
        padding: 10px;
    }

    body[data-page-title="fulfillment.title"] .cs-upload-card .cs-btn {
        justify-self: start;
        min-height: 34px;
        padding: 7px 10px;
    }

    body[data-page-title="fulfillment.title"] .cs-file-card {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 7px;
        padding: 9px;
    }

    body[data-page-title="fulfillment.title"] .cs-file-card .cs-mini-btn {
        min-height: 32px;
        justify-content: center;
    }

    body[data-page-title="fulfillment.title"] .vas2-chip-wrap {
        gap: 6px;
        padding: 7px;
    }

    body[data-page-title="fulfillment.title"] .vas2-chip {
        min-height: 31px;
        padding: 5px 8px;
        font-size: 11px;
    }

    body[data-page-title="fulfillment.title"] .vas2-summary {
        justify-content: flex-start;
        flex-wrap: wrap;
        font-size: 11px;
    }

    body[data-page-title="fulfillment.title"] .cs-fulfillment-actionbar {
        left: 7px;
        right: 7px;
        bottom: 7px;
        width: auto;
        display: grid;
        grid-template-columns: 104px 1fr;
        padding: 7px;
        border-radius: 14px;
        transform: none;
    }

    body[data-page-title="fulfillment.title"] .cs-fulfillment-actionbar .cs-btn {
        min-height: 40px;
        padding: 8px 10px;
        font-size: 12px;
    }

    body[data-page-title="fulfillment.title"] .cs-fulfillment-actionbar .cs-btn-primary {
        min-width: 0;
    }
}


/* Forwarding request: high-risk state-change page, frontend only */
body[data-page-title="forwarding.title"] {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 12% -8%, rgba(37,99,235,.11), transparent 30%),
        radial-gradient(circle at 90% 6%, rgba(245,158,11,.10), transparent 26%),
        #eef4fb;
    color: var(--cs-ink);
}

body[data-page-title="forwarding.title"] .cs-forwarding-page {
    min-height: 100vh;
    padding: 18px;
}

body[data-page-title="forwarding.title"] .cs-forwarding-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding-bottom: 96px;
}

body[data-page-title="forwarding.title"] .cs-forwarding-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-color: rgba(147,197,253,.55);
    background:
        linear-gradient(135deg, rgba(239,246,255,.98), rgba(255,255,255,.95)),
        #fff;
}

body[data-page-title="forwarding.title"] .cs-forwarding-hero h1 {
    margin: 0;
    color: var(--cs-navy);
    font-size: 28px;
    line-height: 1.15;
}

body[data-page-title="forwarding.title"] .cs-forwarding-hero p {
    margin: 6px 0 0;
    max-width: 720px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

body[data-page-title="forwarding.title"] .cs-forwarding-hero-side {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

body[data-page-title="forwarding.title"] .cs-forwarding-count {
    min-width: 132px;
    padding: 10px 12px;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(18,50,74,.07);
}

body[data-page-title="forwarding.title"] .cs-forwarding-count strong {
    display: block;
    color: var(--cs-navy);
    font-size: 26px;
    line-height: 1;
}

body[data-page-title="forwarding.title"] .cs-forwarding-count span {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

body[data-page-title="forwarding.title"] .cs-forwarding-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 14px;
    margin-top: 14px;
}

body[data-page-title="forwarding.title"] .cs-forwarding-main,
body[data-page-title="forwarding.title"] .cs-forwarding-aside {
    display: grid;
    align-content: start;
    gap: 12px;
}

body[data-page-title="forwarding.title"] .cs-forwarding-step,
body[data-page-title="forwarding.title"] .cs-forwarding-summary,
body[data-page-title="forwarding.title"] .cs-forwarding-tips {
    padding: 16px;
    border-color: rgba(203,213,225,.75);
    background: rgba(255,255,255,.96);
}

body[data-page-title="forwarding.title"] .cs-step-head {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 12px;
}

body[data-page-title="forwarding.title"] .cs-step-index {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: #dbeafe;
    color: var(--cs-blue);
    font-size: 13px;
    font-weight: 950;
    flex: 0 0 auto;
}

body[data-page-title="forwarding.title"] .cs-step-head h2 {
    margin: 0;
    color: var(--cs-navy);
    font-size: 18px;
    line-height: 1.2;
}

body[data-page-title="forwarding.title"] .cs-step-head p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
}

body[data-page-title="forwarding.title"] .cs-forwarding-parcels {
    display: grid;
    gap: 8px;
}

body[data-page-title="forwarding.title"] .cs-forwarding-parcel {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid #e5edf7;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff, #fbfdff);
    box-shadow: 0 10px 24px rgba(18,50,74,.05);
}

body[data-page-title="forwarding.title"] .cs-forwarding-parcel-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
}

body[data-page-title="forwarding.title"] .cs-forwarding-parcel-top .cs-package-icon {
    width: 18px;
    height: 18px;
    color: var(--cs-blue);
    background: #dbeafe;
    border-color: #93c5fd;
}

body[data-page-title="forwarding.title"] .cs-forwarding-parcel small {
    display: block;
    margin-bottom: 2px;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
}

body[data-page-title="forwarding.title"] .cs-forwarding-parcel strong {
    display: block;
    min-width: 0;
    color: var(--cs-blue);
    font-size: 14px;
    font-weight: 900;
    word-break: break-all;
}

body[data-page-title="forwarding.title"] .cs-forwarding-parcel-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

body[data-page-title="forwarding.title"] .cs-forwarding-parcel-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
}

body[data-page-title="forwarding.title"] .cs-forwarding-items,
body[data-page-title="forwarding.title"] .cs-forwarding-remark {
    margin: 0;
    color: #334155;
    font-size: 13px;
    line-height: 1.45;
}

body[data-page-title="forwarding.title"] .cs-forwarding-items span,
body[data-page-title="forwarding.title"] .cs-forwarding-remark span {
    color: #64748b;
    font-weight: 900;
}

body[data-page-title="forwarding.title"] .cs-forwarding-address {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 13px;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: linear-gradient(135deg, #eff6ff, #fff);
}

body[data-page-title="forwarding.title"] .cs-forwarding-address.is-empty {
    align-items: center;
    border-color: #fed7aa;
    background: #fff7ed;
}

body[data-page-title="forwarding.title"] .cs-forwarding-address.is-empty strong {
    display: block;
    color: #9a3412;
    font-size: 15px;
}

body[data-page-title="forwarding.title"] .cs-forwarding-address.is-empty p {
    margin: 4px 0 0;
    color: #9a3412;
    font-size: 12px;
}

body[data-page-title="forwarding.title"] .cs-forwarding-address-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    flex: 1;
}

body[data-page-title="forwarding.title"] .cs-forwarding-address-grid div {
    min-width: 0;
}

body[data-page-title="forwarding.title"] .cs-forwarding-address-grid .is-wide {
    grid-column: 1 / -1;
}

body[data-page-title="forwarding.title"] .cs-forwarding-address-grid span {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
}

body[data-page-title="forwarding.title"] .cs-forwarding-address-grid strong {
    display: block;
    margin-top: 3px;
    color: var(--cs-navy);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.35;
    word-break: break-word;
}

body[data-page-title="forwarding.title"] .cs-forwarding-address .cs-btn {
    flex: 0 0 auto;
    align-self: flex-start;
}

body[data-page-title="forwarding.title"] .cs-forwarding-remark-input {
    min-height: 76px;
    resize: vertical;
}

body[data-page-title="forwarding.title"] .cs-field-error {
    min-height: 16px;
    color: var(--cs-red);
    font-size: 11px;
    font-weight: 800;
}

body[data-page-title="forwarding.title"] .cs-textarea.is-error,
body[data-page-title="forwarding.title"] .cs-input.is-error {
    border-color: var(--cs-red);
    box-shadow: 0 0 0 3px rgba(220,38,38,.10);
}

body[data-page-title="forwarding.title"] .cs-risk-box {
    display: grid;
    gap: 4px;
    padding: 11px 12px;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    background: #fff7ed;
    color: #9a3412;
}

body[data-page-title="forwarding.title"] .cs-risk-box span {
    color: #9a3412;
    font-size: 12px;
}

body[data-page-title="forwarding.title"] .cs-risk-box strong {
    color: #7c2d12;
    font-size: 14px;
}

body[data-page-title="forwarding.title"] .vas2-chip-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 42px;
    padding: 8px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #fbfdff;
}

body[data-page-title="forwarding.title"] .vas2-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid #dbe3ee;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    cursor: pointer;
    font-size: 12px;
    font-weight: 850;
    transition: border-color .16s ease, background .16s ease, color .16s ease;
}

body[data-page-title="forwarding.title"] .vas2-chip input[type=checkbox] {
    display: none;
}

body[data-page-title="forwarding.title"] .vas2-dot {
    width: 10px;
    height: 10px;
    border: 2px solid #94a3b8;
    border-radius: 50%;
}

body[data-page-title="forwarding.title"] .vas2-chip.is-checked {
    border-color: #f59e0b;
    background: #fff7ed;
    color: var(--cs-navy);
}

body[data-page-title="forwarding.title"] .vas2-chip.is-checked .vas2-dot {
    border-color: #f59e0b;
    background: #f59e0b;
}

body[data-page-title="forwarding.title"] .vas2-name {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-page-title="forwarding.title"] .vas2-price {
    padding: 2px 7px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 11px;
    font-weight: 950;
}

body[data-page-title="forwarding.title"] .vas2-summary {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

body[data-page-title="forwarding.title"] .vas2-summary b {
    color: var(--cs-navy);
}

body[data-page-title="forwarding.title"] .cs-muted-message {
    color: #64748b;
    font-size: 12px;
}

body[data-page-title="forwarding.title"] .cs-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 0;
    border-top: 1px solid #edf2f7;
}

body[data-page-title="forwarding.title"] .cs-summary-row span {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

body[data-page-title="forwarding.title"] .cs-summary-row strong {
    color: var(--cs-navy);
    font-size: 16px;
    font-weight: 950;
}

body[data-page-title="forwarding.title"] .cs-forwarding-summary h2,
body[data-page-title="forwarding.title"] .cs-forwarding-tips h2 {
    margin: 0;
    color: var(--cs-navy);
    font-size: 15px;
}

body[data-page-title="forwarding.title"] .cs-forwarding-summary .cs-btn {
    width: 100%;
    margin-top: 10px;
}

body[data-page-title="forwarding.title"] .cs-forwarding-tips ul {
    display: grid;
    gap: 8px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

body[data-page-title="forwarding.title"] .cs-forwarding-tips li {
    position: relative;
    padding-left: 16px;
    color: #475569;
    font-size: 12px;
    line-height: 1.45;
}

body[data-page-title="forwarding.title"] .cs-forwarding-tips li:before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #f59e0b;
}

body[data-page-title="forwarding.title"] .cs-forwarding-actionbar {
    position: fixed;
    left: 50%;
    bottom: 16px;
    z-index: 40;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    width: min(1180px, calc(100% - 36px));
    padding: 10px;
    border: 1px solid rgba(15,42,61,.1);
    border-radius: 16px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 18px 44px rgba(15,42,61,.18);
    backdrop-filter: blur(14px);
    transform: translateX(-50%);
}

body[data-page-title="forwarding.title"] .cs-forwarding-actionbar .cs-btn-primary {
    min-width: 220px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

body[data-page-title="forwarding.title"] .cs-btn.is-loading {
    pointer-events: none;
    opacity: .75;
}

@media (max-width: 960px) {
    body[data-page-title="forwarding.title"] .cs-forwarding-layout {
        grid-template-columns: 1fr;
    }

    body[data-page-title="forwarding.title"] .cs-forwarding-aside {
        order: 2;
    }
}

@media (max-width: 767px) {
    body[data-page-title="forwarding.title"] .cs-forwarding-page {
        padding: 7px;
    }

    body[data-page-title="forwarding.title"] .cs-forwarding-shell {
        padding-bottom: 96px;
    }

    body[data-page-title="forwarding.title"] .cs-forwarding-hero {
        align-items: flex-start;
        padding: 12px;
        border-radius: 14px;
    }

    body[data-page-title="forwarding.title"] .cs-forwarding-hero h1 {
        font-size: 20px;
    }

    body[data-page-title="forwarding.title"] .cs-forwarding-hero p {
        font-size: 11px;
        line-height: 1.35;
    }

    body[data-page-title="forwarding.title"] .cs-forwarding-hero-side {
        display: grid;
        justify-items: end;
        gap: 8px;
    }

    body[data-page-title="forwarding.title"] .cs-forwarding-count {
        min-width: 88px;
        padding: 8px 9px;
    }

    body[data-page-title="forwarding.title"] .cs-forwarding-count strong {
        font-size: 22px;
    }

    body[data-page-title="forwarding.title"] .cs-forwarding-count span {
        font-size: 10px;
    }

    body[data-page-title="forwarding.title"] .cs-forwarding-layout {
        gap: 8px;
        margin-top: 8px;
    }

    body[data-page-title="forwarding.title"] .cs-forwarding-main,
    body[data-page-title="forwarding.title"] .cs-forwarding-aside {
        gap: 8px;
    }

    body[data-page-title="forwarding.title"] .cs-forwarding-step,
    body[data-page-title="forwarding.title"] .cs-forwarding-summary,
    body[data-page-title="forwarding.title"] .cs-forwarding-tips {
        padding: 11px;
        border-radius: 14px;
    }

    body[data-page-title="forwarding.title"] .cs-step-head {
        gap: 8px;
        margin-bottom: 9px;
    }

    body[data-page-title="forwarding.title"] .cs-step-index {
        width: 24px;
        height: 24px;
        border-radius: 8px;
        font-size: 12px;
    }

    body[data-page-title="forwarding.title"] .cs-step-head h2 {
        font-size: 16px;
    }

    body[data-page-title="forwarding.title"] .cs-step-head p {
        font-size: 11px;
    }

    body[data-page-title="forwarding.title"] .cs-forwarding-parcel {
        gap: 6px;
        padding: 10px;
        border-radius: 13px;
    }

    body[data-page-title="forwarding.title"] .cs-forwarding-parcel-top {
        grid-template-columns: auto minmax(0, 1fr);
    }

    body[data-page-title="forwarding.title"] .cs-forwarding-parcel-top .cs-status {
        grid-column: 2;
        justify-self: start;
    }

    body[data-page-title="forwarding.title"] .cs-forwarding-items,
    body[data-page-title="forwarding.title"] .cs-forwarding-remark {
        font-size: 12px;
    }

    body[data-page-title="forwarding.title"] .cs-forwarding-address,
    body[data-page-title="forwarding.title"] .cs-forwarding-address.is-empty {
        display: grid;
        gap: 10px;
        padding: 11px;
    }

    body[data-page-title="forwarding.title"] .cs-forwarding-address-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    body[data-page-title="forwarding.title"] .cs-forwarding-address .cs-btn {
        width: 100%;
        min-height: 36px;
    }

    body[data-page-title="forwarding.title"] .cs-forwarding-remark-input {
        min-height: 72px;
    }

    body[data-page-title="forwarding.title"] .vas2-chip-wrap {
        gap: 6px;
        padding: 7px;
    }

    body[data-page-title="forwarding.title"] .vas2-chip {
        min-height: 31px;
        padding: 5px 8px;
        font-size: 11px;
    }

    body[data-page-title="forwarding.title"] .vas2-summary {
        justify-content: flex-start;
        flex-wrap: wrap;
        font-size: 11px;
    }

    body[data-page-title="forwarding.title"] .cs-forwarding-actionbar {
        left: 7px;
        right: 7px;
        bottom: calc(7px + env(safe-area-inset-bottom));
        width: auto;
        display: grid;
        grid-template-columns: 104px 1fr;
        padding: 7px;
        border-radius: 14px;
        transform: none;
    }

    body[data-page-title="forwarding.title"] .cs-forwarding-actionbar .cs-btn {
        min-height: 40px;
        padding: 8px 10px;
        font-size: 12px;
    }

body[data-page-title="forwarding.title"] .cs-forwarding-actionbar .cs-btn-primary {
        min-width: 0;
    }
}

/* Processing parcels */
body[data-page-title="processing.title"] .cs-processing-main {
    gap: 12px;
    padding-top: 14px;
}

body[data-page-title="processing.title"] .cs-processing-head {
    align-items: center;
}

body[data-page-title="processing.title"] .cs-processing-head-side {
    display: flex;
    align-items: center;
    gap: 10px;
}

body[data-page-title="processing.title"] .cs-processing-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body[data-page-title="processing.title"] .cs-processing-stat {
    display: grid;
    gap: 4px;
    padding: 16px 18px;
    border: 1px solid rgba(15, 42, 61, .08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(15, 42, 61, .08);
}

body[data-page-title="processing.title"] .cs-processing-stat strong {
    color: var(--cs-navy);
    font-size: 30px;
    line-height: 1;
    font-weight: 950;
}

body[data-page-title="processing.title"] .cs-processing-stat span {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

body[data-page-title="processing.title"] .cs-processing-stat-danger {
    border-color: rgba(239, 68, 68, .18);
    background: linear-gradient(135deg, #fff 0%, #fff7ed 100%);
}

body[data-page-title="processing.title"] .cs-processing-stat-danger strong {
    color: #dc2626;
}

body[data-page-title="processing.title"] .cs-processing-tabs {
    overflow-x: auto;
    scrollbar-width: none;
}

body[data-page-title="processing.title"] .cs-processing-tabs::-webkit-scrollbar {
    display: none;
}

body[data-page-title="processing.title"] .cs-export-xls-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: nowrap;
    line-height: 1;
}

body[data-page-title="processing.title"] .cs-export-xls-btn [data-i18n] {
    white-space: nowrap;
}

body[data-page-title="processing.title"] .cs-excel-icon {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 22px;
    border-radius: 5px;
    background: linear-gradient(180deg, #22c55e 0%, #15803d 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 950;
    flex: 0 0 auto;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.20);
}

body[data-page-title="processing.title"] .cs-excel-icon:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 7px;
    height: 7px;
    border-radius: 0 5px 0 2px;
    background: rgba(255,255,255,.42);
}

body[data-page-title="processing.title"] .cs-excel-icon:after {
    content: "X";
    position: relative;
    z-index: 1;
}

body[data-page-title="processing.title"] .cs-processing-bulkbar {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-color: rgba(37, 99, 235, .16);
    background: linear-gradient(135deg, #fff 0%, #eff6ff 100%);
}

body[data-page-title="processing.title"] .cs-processing-bulkbar.is-active {
    display: flex;
}

body[data-page-title="processing.title"] .cs-processing-bulkbar strong {
    color: var(--cs-navy);
    font-size: 16px;
}

body[data-page-title="processing.title"] .cs-processing-bulkbar p {
    margin: 3px 0 0;
    color: #64748b;
    font-size: 12px;
}

body[data-page-title="processing.title"] .cs-processing-table-card {
    padding: 0;
    overflow: visible;
}

body[data-page-title="processing.title"] .cs-processing-table {
    min-width: 980px;
}

body[data-page-title="processing.title"] .cs-processing-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .02em;
}

body[data-page-title="processing.title"] .cs-processing-table td {
    vertical-align: middle;
}

body[data-page-title="processing.title"] .cs-processing-row:hover {
    background: #f8fafc;
}

body[data-page-title="processing.title"] .cs-processing-row.is-selected,
body[data-page-title="processing.title"] .cs-processing-note-row.is-selected {
    background: #eff6ff;
}

body[data-page-title="processing.title"] .cs-processing-note-row td {
    padding-top: 0;
    color: #64748b;
    font-size: 12px;
}

body[data-page-title="processing.title"] .cs-processing-note-row span {
    display: inline-flex;
    gap: 5px;
    margin-right: 16px;
}

body[data-page-title="processing.title"] .cs-processing-track,
body[data-page-title="processing.title"] .cs-processing-title {
    display: grid;
    gap: 5px;
    min-width: 0;
}

body[data-page-title="processing.title"] .cs-copy-track {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #2563eb;
    font: inherit;
    font-weight: 850;
    text-align: left;
    cursor: pointer;
}

body[data-page-title="processing.title"] .cs-copy-track strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-page-title="processing.title"] .cs-copy-track:hover strong {
    text-decoration: underline;
}

body[data-page-title="processing.title"] .cs-package-icon {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(37, 99, 235, .28);
    border-radius: 6px;
    background:
        linear-gradient(90deg, transparent 46%, rgba(37, 99, 235, .35) 47%, rgba(37, 99, 235, .35) 53%, transparent 54%),
        linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .65);
}

body[data-page-title="processing.title"] .cs-copy-icon {
    position: relative;
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    border: 1.5px solid #93c5fd;
    border-radius: 4px;
}

body[data-page-title="processing.title"] .cs-copy-icon:before {
    content: "";
    position: absolute;
    left: -4px;
    top: 3px;
    width: 9px;
    height: 9px;
    border: 1.5px solid #bfdbfe;
    border-radius: 3px;
    background: #fff;
}

body[data-page-title="processing.title"] .cs-split-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 3px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 11px;
    font-weight: 850;
}

body[data-page-title="processing.title"] .cs-chip {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 24px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

body[data-page-title="processing.title"] .cs-chip-info {
    background: #eff6ff;
    color: #1d4ed8;
}

body[data-page-title="processing.title"] .cs-chip-warning {
    background: #fff7ed;
    color: #c2410c;
}

body[data-page-title="processing.title"] .cs-chip-muted {
    background: #f1f5f9;
    color: #475569;
}

body[data-page-title="processing.title"] .cs-processing-items {
    display: -webkit-box;
    overflow: hidden;
    color: #334155;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

body[data-page-title="processing.title"] .cs-muted {
    color: #94a3b8;
    font-size: 12px;
}

body[data-page-title="processing.title"] .cs-file-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    margin: 2px 4px 2px 0;
    padding: 4px 8px;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    background: #f0fdf4;
    color: #166534;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

body[data-page-title="processing.title"] .cs-file-link span {
    color: #16a34a;
    font-size: 10px;
    font-weight: 950;
}

body[data-page-title="processing.title"] .cs-action-wrap,
body[data-page-title="processing.title"] .cs-processing-card-actions {
    position: relative;
    display: inline-flex;
    justify-content: flex-end;
}

body[data-page-title="processing.title"] .cs-processing-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 20;
    display: none;
    min-width: 178px;
    padding: 6px;
    border: 1px solid rgba(15, 42, 61, .12);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 42, 61, .16);
}

body[data-page-title="processing.title"] .cs-action-wrap.is-open .cs-processing-menu,
body[data-page-title="processing.title"] .cs-processing-card-actions.is-open .cs-processing-menu {
    display: grid;
    gap: 4px;
}

body[data-page-title="processing.title"] .cs-processing-menu button {
    display: flex;
    width: 100%;
    min-height: 34px;
    align-items: center;
    justify-content: flex-start;
    padding: 7px 9px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #334155;
    font-weight: 850;
    text-align: left;
    cursor: pointer;
}

body[data-page-title="processing.title"] .cs-processing-menu button:hover {
    background: #f8fafc;
}

body[data-page-title="processing.title"] .cs-processing-menu button.is-danger {
    color: #dc2626;
}

body[data-page-title="processing.title"] .cs-processing-menu button.is-danger:hover {
    background: #fef2f2;
}

body[data-page-title="processing.title"] .cs-processing-cards {
    display: none;
}

body[data-page-title="processing.title"] .cs-processing-pager {
    margin: 0 0 18px;
    padding: 10px 4px;
    text-align: right;
}

body[data-page-title="processing.title"] .cs-processing-pager a,
body[data-page-title="processing.title"] .cs-processing-pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    margin: 0 2px;
    padding: 4px 10px;
    border: 1px solid rgba(15, 42, 61, .1);
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-size: 12px;
    text-decoration: none;
}

@media (max-width: 767px) {
    body[data-page-title="processing.title"] .cs-processing-main {
        gap: 8px;
        padding: 8px 7px 86px;
    }

    body[data-page-title="processing.title"] .cs-processing-head {
        padding: 12px;
        border-radius: 14px;
    }

    body[data-page-title="processing.title"] .cs-processing-head h1 {
        font-size: 21px;
    }

    body[data-page-title="processing.title"] .cs-processing-head p {
        font-size: 11px;
        line-height: 1.35;
    }

    body[data-page-title="processing.title"] .cs-processing-head-side {
        display: none;
    }

    body[data-page-title="processing.title"] .cs-processing-stats {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    body[data-page-title="processing.title"] .cs-processing-stat {
        grid-template-columns: auto 1fr;
        align-items: end;
        gap: 8px;
        padding: 10px 12px;
        border-radius: 14px;
    }

    body[data-page-title="processing.title"] .cs-processing-stat strong {
        font-size: 26px;
    }

    body[data-page-title="processing.title"] .cs-processing-tabs {
        padding: 7px;
        border-radius: 14px;
    }

    body[data-page-title="processing.title"] .cs-processing-tabs a {
        min-height: 30px;
        padding: 5px 10px;
        font-size: 11px;
    }

    body[data-page-title="processing.title"] .cs-processing-filter {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        padding: 8px;
        border-radius: 14px;
    }

    body[data-page-title="processing.title"] .cs-processing-filter .cs-field label {
        display: none;
    }

    body[data-page-title="processing.title"] .cs-processing-filter .cs-filter-actions {
        display: flex;
        gap: 6px;
        align-items: center;
    }

    body[data-page-title="processing.title"] .cs-processing-filter .cs-btn {
        min-height: 40px;
        padding: 8px 12px;
        border-radius: 12px;
        font-size: 12px;
    }

    body[data-page-title="processing.title"] .cs-processing-filter #btnExport {
        display: none;
    }

    body[data-page-title="processing.title"] .cs-processing-bulkbar {
        position: fixed;
        left: 8px;
        right: 8px;
        bottom: calc(64px + env(safe-area-inset-bottom));
        z-index: 36;
        align-items: center;
        padding: 8px;
        border-radius: 14px;
        box-shadow: 0 16px 38px rgba(15, 42, 61, .18);
    }

    body[data-page-title="processing.title"] .cs-processing-bulkbar p {
        display: none;
    }

    body[data-page-title="processing.title"] .cs-processing-bulkbar .cs-bulkbar-actions {
        gap: 6px;
    }

    body[data-page-title="processing.title"] .cs-processing-bulkbar .cs-btn {
        min-height: 34px;
        padding: 7px 9px;
        border-radius: 10px;
        font-size: 11px;
    }

    body[data-page-title="processing.title"] .cs-processing-table-card {
        display: none;
    }

    body[data-page-title="processing.title"] .cs-processing-cards {
        display: grid;
        gap: 8px;
    }

    body[data-page-title="processing.title"] .cs-processing-card {
        display: grid;
        gap: 8px;
        padding: 11px;
        border: 1px solid rgba(15, 42, 61, .08);
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 12px 28px rgba(15, 42, 61, .08);
        transition: border-color .18s ease, background .18s ease;
    }

    body[data-page-title="processing.title"] .cs-processing-card.is-selected {
        border-color: rgba(37, 99, 235, .3);
        background: linear-gradient(135deg, #fff 0%, #eff6ff 100%);
        box-shadow: inset 3px 0 0 #2563eb, 0 12px 28px rgba(15, 42, 61, .08);
    }

    body[data-page-title="processing.title"] .cs-processing-card-top {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: start;
        gap: 8px;
    }

    body[data-page-title="processing.title"] .cs-processing-card-top .row-check {
        margin-top: 3px;
    }

    body[data-page-title="processing.title"] .cs-processing-title {
        gap: 4px;
    }

    body[data-page-title="processing.title"] .cs-processing-card .cs-status {
        padding: 4px 8px;
        font-size: 10px;
    }

    body[data-page-title="processing.title"] .cs-processing-card-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        color: #64748b;
        font-size: 12px;
    }

    body[data-page-title="processing.title"] .cs-time-icon {
        display: inline-block;
        width: 12px;
        height: 12px;
        margin-right: 4px;
        border: 1.5px solid #94a3b8;
        border-radius: 50%;
        vertical-align: -2px;
    }

    body[data-page-title="processing.title"] .cs-time-icon:before {
        content: "";
        display: block;
        width: 4px;
        height: 4px;
        margin: 2px 0 0 5px;
        border-left: 1.5px solid #94a3b8;
        border-bottom: 1.5px solid #94a3b8;
    }

    body[data-page-title="processing.title"] .cs-items-icon {
        display: inline-grid;
        width: 14px;
        height: 14px;
        margin-top: 1px;
        border: 1.5px solid #93c5fd;
        border-radius: 4px;
        background:
            linear-gradient(#93c5fd, #93c5fd) 3px 4px/8px 1px no-repeat,
            linear-gradient(#93c5fd, #93c5fd) 3px 8px/8px 1px no-repeat;
    }

    body[data-page-title="processing.title"] .cs-processing-card-items {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 7px;
        align-items: start;
        padding: 8px 9px;
        border-radius: 12px;
        background: #f8fafc;
        color: #334155;
        font-size: 13px;
        line-height: 1.35;
    }

    body[data-page-title="processing.title"] .cs-processing-card-items p {
        display: -webkit-box;
        overflow: hidden;
        margin: 0;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    body[data-page-title="processing.title"] .cs-processing-card-note {
        margin: 0;
        color: #64748b;
        font-size: 12px;
        line-height: 1.35;
    }

    body[data-page-title="processing.title"] .cs-processing-card-note span {
        color: #334155;
        font-weight: 900;
    }

    body[data-page-title="processing.title"] .cs-processing-card-dest {
        display: grid;
        gap: 4px;
        min-width: 0;
        color: #334155;
        font-size: 12px;
    }

    body[data-page-title="processing.title"] .cs-processing-card-dest strong {
        min-width: 0;
        color: #0f2a3d;
        font-weight: 800;
        line-height: 1.35;
    }

    body[data-page-title="processing.title"] .cs-processing-card-actions {
        justify-content: flex-end;
    }

    body[data-page-title="processing.title"] .cs-processing-menu {
        top: auto;
        right: 0;
        bottom: calc(100% + 6px);
    }

body[data-page-title="processing.title"] .cs-processing-pager {
        margin-bottom: 8px;
        padding: 6px 0;
        text-align: center;
        color: #64748b;
        font-size: 12px;
    }
}

/* In-transit parcels */
body[data-page-title="transit.title"] .cs-transit-main {
    gap: 12px;
    padding-top: 14px;
}

body[data-page-title="transit.title"] .cs-transit-head {
    align-items: center;
}

body[data-page-title="transit.title"] .cs-transit-head-side {
    display: flex;
    align-items: center;
    gap: 10px;
}

body[data-page-title="transit.title"] .cs-transit-stats {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

body[data-page-title="transit.title"] .cs-transit-stat {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: end;
    gap: 10px;
    padding: 15px 18px;
    border: 1px solid rgba(15, 42, 61, .08);
    border-radius: 16px;
    background: linear-gradient(135deg, #fff 0%, #eff6ff 100%);
    box-shadow: 0 14px 32px rgba(15, 42, 61, .08);
}

body[data-page-title="transit.title"] .cs-transit-stat strong {
    color: #2563eb;
    font-size: 32px;
    line-height: 1;
    font-weight: 950;
}

body[data-page-title="transit.title"] .cs-transit-stat span {
    color: #0f2a3d;
    font-size: 13px;
    font-weight: 900;
}

body[data-page-title="transit.title"] .cs-transit-tabs {
    overflow-x: auto;
    scrollbar-width: none;
}

body[data-page-title="transit.title"] .cs-transit-tabs::-webkit-scrollbar {
    display: none;
}

body[data-page-title="transit.title"] .cs-transit-filter {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
}

body[data-page-title="transit.title"] .cs-select {
    min-height: 42px;
}

body[data-page-title="transit.title"] .cs-transit-table-card {
    padding: 0;
    overflow: visible;
}

body[data-page-title="transit.title"] .cs-transit-table {
    min-width: 1060px;
}

body[data-page-title="transit.title"] .cs-transit-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .02em;
}

body[data-page-title="transit.title"] .cs-transit-table td {
    vertical-align: middle;
}

body[data-page-title="transit.title"] .cs-transit-row:hover {
    background: #f8fafc;
}

body[data-page-title="transit.title"] .cs-transit-code {
    max-width: 220px;
}

body[data-page-title="transit.title"] .cs-copy-track {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #2563eb;
    font: inherit;
    font-weight: 850;
    text-align: left;
    cursor: pointer;
}

body[data-page-title="transit.title"] .cs-copy-track strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-page-title="transit.title"] .cs-copy-track:hover strong {
    text-decoration: underline;
}

body[data-page-title="transit.title"] .cs-package-icon {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(37, 99, 235, .28);
    border-radius: 6px;
    background:
        linear-gradient(90deg, transparent 46%, rgba(37, 99, 235, .35) 47%, rgba(37, 99, 235, .35) 53%, transparent 54%),
        linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .65);
}

body[data-page-title="transit.title"] .cs-copy-icon {
    position: relative;
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    border: 1.5px solid #93c5fd;
    border-radius: 4px;
}

body[data-page-title="transit.title"] .cs-copy-icon:before {
    content: "";
    position: absolute;
    left: -4px;
    top: 3px;
    width: 9px;
    height: 9px;
    border: 1.5px solid #bfdbfe;
    border-radius: 3px;
    background: #fff;
}

body[data-page-title="transit.title"] .cs-transit-fee {
    color: #0f766e;
    font-weight: 950;
}

body[data-page-title="transit.title"] .cs-transit-summary {
    display: grid;
    gap: 6px;
    min-width: 0;
}

body[data-page-title="transit.title"] .cs-transit-summary > span {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    color: #64748b;
    font-size: 12px;
    min-height: 24px;
    min-width: 0;
}

body[data-page-title="transit.title"] .cs-transit-summary b {
    color: #475569;
}

body[data-page-title="transit.title"] .cs-transit-summary > span > span {
    min-width: 0;
    color: #334155;
    line-height: 1.3;
}

body[data-page-title="transit.title"] .detail-track,
body[data-page-title="transit.title"] .detail-goods,
body[data-page-title="transit.title"] .detail-addr {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

body[data-page-title="transit.title"] .cs-transit-summary .detail-track {
    white-space: nowrap;
    text-overflow: ellipsis;
}

body[data-page-title="transit.title"] .cs-summary-text {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #334155;
}

body[data-page-title="transit.title"] .tab-toggle {
    display: inline-block;
    margin: 0 6px 4px 0;
    padding: 3px 7px;
    border-radius: 999px;
    background: #f8fafc;
    color: #2563eb;
    font-weight: 850;
}

body[data-page-title="transit.title"] .cs-summary-toggle {
    max-width: 100%;
    margin: 0;
    cursor: pointer;
    vertical-align: middle;
}

body[data-page-title="transit.title"] .cs-summary-toggle .s-txt {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-page-title="transit.title"] .cs-summary-toggle .f-txt {
    white-space: normal;
    word-break: break-word;
    line-height: 1.5;
    color: #0f2a3d;
}

body[data-page-title="transit.title"] .cs-summary-toggle:hover {
    background: #eef6ff;
}

body[data-page-title="transit.title"] .f-txt {
    color: #0f766e;
}

body[data-page-title="transit.title"] .cs-transit-detail-row {
    display: none;
    background: #f8fafc;
}

body[data-page-title="transit.title"] .cs-transit-detail-row.is-open {
    display: table-row;
}

body[data-page-title="transit.title"] .cs-transit-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 10px;
}

body[data-page-title="transit.title"] .cs-transit-detail-grid div {
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid rgba(15, 42, 61, .08);
    border-radius: 12px;
    background: #fff;
}

body[data-page-title="transit.title"] .cs-transit-detail-grid span {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
}

body[data-page-title="transit.title"] .cs-transit-detail-grid strong {
    color: #0f2a3d;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body[data-page-title="transit.title"] .cs-action-wrap,
body[data-page-title="transit.title"] .cs-transit-card-actions {
    position: relative;
    display: inline-flex;
    justify-content: flex-end;
    gap: 6px;
}

body[data-page-title="transit.title"] .cs-transit-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 20;
    display: none;
    min-width: 180px;
    padding: 6px;
    border: 1px solid rgba(15, 42, 61, .12);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 42, 61, .16);
}

body[data-page-title="transit.title"] .cs-action-wrap.is-open .cs-transit-menu,
body[data-page-title="transit.title"] .cs-transit-card-actions.is-open .cs-transit-menu {
    display: grid;
    gap: 4px;
}

body[data-page-title="transit.title"] .cs-transit-menu button {
    display: flex;
    width: 100%;
    min-height: 34px;
    align-items: center;
    justify-content: flex-start;
    padding: 7px 9px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #334155;
    font-weight: 850;
    text-align: left;
    cursor: pointer;
}

body[data-page-title="transit.title"] .cs-transit-menu button:hover {
    background: #f8fafc;
}

body[data-page-title="transit.title"] .cs-transit-menu button.is-danger {
    color: #dc2626;
}

body[data-page-title="transit.title"] .cs-transit-menu button.is-danger:hover {
    background: #fef2f2;
}

body[data-page-title="transit.title"] .cs-muted {
    color: #94a3b8;
    font-size: 12px;
}

body[data-page-title="transit.title"] .cs-transit-cards {
    display: none;
}

body[data-page-title="transit.title"] .cs-transit-pager {
    margin: 0 0 18px;
    padding: 10px 4px;
    text-align: right;
}

body[data-page-title="transit.title"] .cs-transit-pager a,
body[data-page-title="transit.title"] .cs-transit-pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    margin: 0 2px;
    padding: 4px 10px;
    border: 1px solid rgba(15, 42, 61, .1);
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-size: 12px;
    text-decoration: none;
}

@media (max-width: 767px) {
    body[data-page-title="transit.title"] .cs-transit-main {
        gap: 8px;
        padding: 8px 7px 86px;
    }

    body[data-page-title="transit.title"] .cs-transit-head {
        padding: 12px;
        border-radius: 14px;
    }

    body[data-page-title="transit.title"] .cs-transit-head h1 {
        font-size: 21px;
    }

    body[data-page-title="transit.title"] .cs-transit-head p {
        font-size: 11px;
        line-height: 1.35;
    }

    body[data-page-title="transit.title"] .cs-transit-head-side {
        display: none;
    }

    body[data-page-title="transit.title"] .cs-transit-stat {
        padding: 10px 12px;
        border-radius: 14px;
    }

    body[data-page-title="transit.title"] .cs-transit-stat strong {
        font-size: 26px;
    }

    body[data-page-title="transit.title"] .cs-transit-tabs {
        padding: 7px;
        border-radius: 14px;
    }

    body[data-page-title="transit.title"] .cs-transit-tabs a {
        min-height: 30px;
        padding: 5px 10px;
        font-size: 11px;
    }

    body[data-page-title="transit.title"] .cs-transit-filter {
        grid-template-columns: 112px minmax(0, 1fr) auto;
        gap: 7px;
        padding: 8px;
        border-radius: 14px;
    }

    body[data-page-title="transit.title"] .cs-transit-filter .cs-field label {
        display: none;
    }

    body[data-page-title="transit.title"] .cs-transit-filter .cs-filter-actions {
        display: flex;
        gap: 6px;
    }

    body[data-page-title="transit.title"] .cs-transit-filter .cs-filter-actions .cs-btn-ghost {
        display: none;
    }

    body[data-page-title="transit.title"] .cs-transit-filter .cs-btn {
        min-height: 40px;
        padding: 8px 12px;
        border-radius: 12px;
        font-size: 12px;
    }

    body[data-page-title="transit.title"] .cs-transit-table-card {
        display: none;
    }

    body[data-page-title="transit.title"] .cs-transit-cards {
        display: grid;
        gap: 8px;
    }

    body[data-page-title="transit.title"] .cs-transit-card {
        display: grid;
        gap: 9px;
        padding: 11px;
        border: 1px solid rgba(15, 42, 61, .08);
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 12px 28px rgba(15, 42, 61, .08);
    }

    body[data-page-title="transit.title"] .cs-transit-card-top {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        align-items: start;
    }

    body[data-page-title="transit.title"] .cs-transit-card .cs-status {
        padding: 4px 8px;
        font-size: 10px;
    }

    body[data-page-title="transit.title"] .cs-transit-card-metrics {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    body[data-page-title="transit.title"] .cs-transit-card-metrics span {
        display: grid;
        gap: 3px;
        min-width: 0;
        padding: 8px;
        border-radius: 12px;
        background: #f8fafc;
    }

    body[data-page-title="transit.title"] .cs-transit-card-metrics b {
        color: #64748b;
        font-size: 10px;
        font-weight: 900;
    }

    body[data-page-title="transit.title"] .cs-transit-card-metrics strong {
        min-width: 0;
        overflow: hidden;
        color: #0f2a3d;
        font-size: 12px;
        font-weight: 950;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body[data-page-title="transit.title"] .cs-transit-card-metrics em {
        font-style: normal;
    }

    body[data-page-title="transit.title"] .cs-transit-card-summary {
        display: grid;
        gap: 6px;
    }

    body[data-page-title="transit.title"] .cs-transit-card-summary p {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 8px;
        margin: 0;
        color: #334155;
        font-size: 12px;
        line-height: 1.3;
        min-height: 24px;
        align-items: center;
    }

    body[data-page-title="transit.title"] .cs-transit-card-summary b {
        color: #64748b;
        font-weight: 900;
    }

    body[data-page-title="transit.title"] .cs-transit-card-summary p > span {
        min-width: 0;
        overflow: hidden;
    }

    body[data-page-title="transit.title"] .cs-transit-card-summary .detail-track {
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    body[data-page-title="transit.title"] .cs-summary-toggle {
        padding: 3px 7px;
    }

    body[data-page-title="transit.title"] .cs-transit-card:not(.is-detail-open) .detail-pkg-wrap,
    body[data-page-title="transit.title"] .cs-transit-card:not(.is-detail-open) .detail-wh-wrap {
        display: none !important;
    }

    body[data-page-title="transit.title"] .cs-transit-card-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 7px;
    }

    body[data-page-title="transit.title"] .cs-transit-card-actions .cs-btn {
        min-height: 38px;
        border-radius: 12px;
        font-size: 12px;
    }

    body[data-page-title="transit.title"] .cs-transit-menu {
        top: auto;
        right: 0;
        bottom: calc(100% + 6px);
    }

body[data-page-title="transit.title"] .cs-transit-pager {
        margin-bottom: 8px;
        padding: 6px 0;
        text-align: center;
        color: #64748b;
        font-size: 12px;
    }
}

/* Delivered parcels */
body[data-page-title="delivered.title"] .cs-delivered-main {
    gap: 12px;
    padding-top: 14px;
}

body[data-page-title="delivered.title"] .cs-delivered-head {
    align-items: center;
}

body[data-page-title="delivered.title"] .cs-delivered-head-side {
    display: flex;
    align-items: center;
    gap: 10px;
}

body[data-page-title="delivered.title"] .cs-delivered-stats {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

body[data-page-title="delivered.title"] .cs-delivered-stat {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: end;
    gap: 10px;
    padding: 15px 18px;
    border: 1px solid rgba(15, 42, 61, .08);
    border-radius: 16px;
    background: linear-gradient(135deg, #fff 0%, #ecfdf5 100%);
    box-shadow: 0 14px 32px rgba(15, 42, 61, .08);
}

body[data-page-title="delivered.title"] .cs-delivered-stat strong {
    color: #059669;
    font-size: 32px;
    line-height: 1;
    font-weight: 950;
}

body[data-page-title="delivered.title"] .cs-delivered-stat span {
    color: #0f2a3d;
    font-size: 13px;
    font-weight: 900;
}

body[data-page-title="delivered.title"] .cs-delivered-tabs {
    overflow-x: auto;
    scrollbar-width: none;
}

body[data-page-title="delivered.title"] .cs-delivered-tabs::-webkit-scrollbar {
    display: none;
}

body[data-page-title="delivered.title"] .cs-delivered-filter {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
}

body[data-page-title="delivered.title"] .cs-select {
    min-height: 42px;
}

body[data-page-title="delivered.title"] .cs-delivered-table-card {
    padding: 0;
    overflow: visible;
}

body[data-page-title="delivered.title"] .cs-delivered-table {
    min-width: 1080px;
}

body[data-page-title="delivered.title"] .cs-delivered-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 11px;
    letter-spacing: .02em;
    text-transform: uppercase;
}

body[data-page-title="delivered.title"] .cs-delivered-table td {
    vertical-align: middle;
}

body[data-page-title="delivered.title"] .cs-delivered-row:hover {
    background: #f8fafc;
}

body[data-page-title="delivered.title"] .cs-copy-track {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    max-width: 230px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #2563eb;
    font: inherit;
    font-weight: 850;
    text-align: left;
    cursor: pointer;
}

body[data-page-title="delivered.title"] .cs-copy-track strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-page-title="delivered.title"] .cs-copy-track:hover strong {
    text-decoration: underline;
}

body[data-page-title="delivered.title"] .cs-package-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 1px solid rgba(37, 99, 235, .28);
    border-radius: 6px;
    background:
        linear-gradient(90deg, transparent 46%, rgba(37, 99, 235, .35) 47%, rgba(37, 99, 235, .35) 53%, transparent 54%),
        linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .65);
}

body[data-page-title="delivered.title"] .cs-copy-icon {
    position: relative;
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    border: 1.5px solid #93c5fd;
    border-radius: 4px;
}

body[data-page-title="delivered.title"] .cs-copy-icon:before {
    content: "";
    position: absolute;
    left: -4px;
    top: 3px;
    width: 9px;
    height: 9px;
    border: 1.5px solid #bfdbfe;
    border-radius: 3px;
    background: #fff;
}

body[data-page-title="delivered.title"] .cs-delivered-fee {
    color: #0f766e;
    font-weight: 950;
}

body[data-page-title="delivered.title"] .cs-delivered-summary {
    display: grid;
    gap: 6px;
    min-width: 0;
}

body[data-page-title="delivered.title"] .cs-delivered-summary > span {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-height: 24px;
    min-width: 0;
    color: #64748b;
    font-size: 12px;
}

body[data-page-title="delivered.title"] .cs-delivered-summary b {
    color: #475569;
}

body[data-page-title="delivered.title"] .cs-delivered-summary > span > span {
    min-width: 0;
    overflow: hidden;
    color: #334155;
    line-height: 1.3;
}

body[data-page-title="delivered.title"] .detail-track,
body[data-page-title="delivered.title"] .detail-goods,
body[data-page-title="delivered.title"] .detail-addr {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

body[data-page-title="delivered.title"] .detail-track {
    white-space: nowrap;
    text-overflow: ellipsis;
}

body[data-page-title="delivered.title"] .cs-summary-text {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #334155;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-page-title="delivered.title"] .tab-toggle {
    display: inline-block;
    margin: 0;
    padding: 3px 7px;
    border-radius: 999px;
    background: #f8fafc;
    color: #2563eb;
    font-weight: 850;
    vertical-align: middle;
}

body[data-page-title="delivered.title"] .cs-summary-toggle {
    max-width: 100%;
    cursor: pointer;
}

body[data-page-title="delivered.title"] .cs-summary-toggle .s-txt {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-page-title="delivered.title"] .cs-summary-toggle .f-txt {
    color: #0f2a3d;
    line-height: 1.5;
    white-space: normal;
    word-break: break-word;
}

body[data-page-title="delivered.title"] .cs-summary-toggle:hover {
    background: #eef6ff;
}

body[data-page-title="delivered.title"] .cs-delivered-detail-row {
    display: none;
    background: #f8fafc;
}

body[data-page-title="delivered.title"] .cs-delivered-detail-row.is-open {
    display: table-row;
}

body[data-page-title="delivered.title"] .cs-delivered-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 10px;
}

body[data-page-title="delivered.title"] .cs-delivered-detail-grid div {
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid rgba(15, 42, 61, .08);
    border-radius: 12px;
    background: #fff;
}

body[data-page-title="delivered.title"] .cs-delivered-detail-grid span {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
}

body[data-page-title="delivered.title"] .cs-delivered-detail-grid strong {
    color: #0f2a3d;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body[data-page-title="delivered.title"] .cs-action-wrap,
body[data-page-title="delivered.title"] .cs-delivered-card-actions {
    position: relative;
    display: inline-flex;
    justify-content: flex-end;
    gap: 6px;
}

body[data-page-title="delivered.title"] .cs-delivered-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 20;
    display: none;
    min-width: 180px;
    padding: 6px;
    border: 1px solid rgba(15, 42, 61, .12);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 42, 61, .16);
}

body[data-page-title="delivered.title"] .cs-action-wrap.is-open .cs-delivered-menu,
body[data-page-title="delivered.title"] .cs-delivered-card-actions.is-open .cs-delivered-menu {
    display: grid;
    gap: 4px;
}

body[data-page-title="delivered.title"] .cs-delivered-menu button {
    display: flex;
    width: 100%;
    min-height: 34px;
    align-items: center;
    justify-content: flex-start;
    padding: 7px 9px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #334155;
    font-weight: 850;
    text-align: left;
    cursor: pointer;
}

body[data-page-title="delivered.title"] .cs-delivered-menu button:hover {
    background: #f8fafc;
}

body[data-page-title="delivered.title"] .cs-muted {
    color: #94a3b8;
    font-size: 12px;
}

body[data-page-title="delivered.title"] .cs-delivered-cards {
    display: none;
}

body[data-page-title="delivered.title"] .cs-delivered-pager {
    margin: 0 0 18px;
    padding: 10px 4px;
    text-align: right;
}

body[data-page-title="delivered.title"] .cs-delivered-pager a,
body[data-page-title="delivered.title"] .cs-delivered-pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    margin: 0 2px;
    padding: 4px 10px;
    border: 1px solid rgba(15, 42, 61, .1);
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-size: 12px;
    text-decoration: none;
}

@media (max-width: 767px) {
    body[data-page-title="delivered.title"] .cs-delivered-main {
        gap: 8px;
        padding: 8px 7px 86px;
    }

    body[data-page-title="delivered.title"] .cs-delivered-head {
        padding: 12px;
        border-radius: 14px;
    }

    body[data-page-title="delivered.title"] .cs-delivered-head h1 {
        font-size: 21px;
    }

    body[data-page-title="delivered.title"] .cs-delivered-head p {
        font-size: 11px;
        line-height: 1.35;
    }

    body[data-page-title="delivered.title"] .cs-delivered-head-side {
        display: none;
    }

    body[data-page-title="delivered.title"] .cs-delivered-stat {
        padding: 10px 12px;
        border-radius: 14px;
    }

    body[data-page-title="delivered.title"] .cs-delivered-stat strong {
        font-size: 26px;
    }

    body[data-page-title="delivered.title"] .cs-delivered-tabs {
        padding: 7px;
        border-radius: 14px;
    }

    body[data-page-title="delivered.title"] .cs-delivered-tabs a {
        min-height: 30px;
        padding: 5px 10px;
        font-size: 11px;
    }

    body[data-page-title="delivered.title"] .cs-delivered-filter {
        grid-template-columns: 112px minmax(0, 1fr) auto;
        gap: 7px;
        padding: 8px;
        border-radius: 14px;
    }

    body[data-page-title="delivered.title"] .cs-delivered-filter .cs-field label {
        display: none;
    }

    body[data-page-title="delivered.title"] .cs-delivered-filter .cs-filter-actions {
        display: flex;
        gap: 6px;
    }

    body[data-page-title="delivered.title"] .cs-delivered-filter .cs-filter-actions .cs-btn-ghost {
        display: none;
    }

    body[data-page-title="delivered.title"] .cs-delivered-filter .cs-btn {
        min-height: 40px;
        padding: 8px 12px;
        border-radius: 12px;
        font-size: 12px;
    }

    body[data-page-title="delivered.title"] .cs-delivered-table-card {
        display: none;
    }

    body[data-page-title="delivered.title"] .cs-delivered-cards {
        display: grid;
        gap: 8px;
    }

    body[data-page-title="delivered.title"] .cs-delivered-card {
        display: grid;
        gap: 9px;
        padding: 11px;
        border: 1px solid rgba(15, 42, 61, .08);
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 12px 28px rgba(15, 42, 61, .08);
    }

    body[data-page-title="delivered.title"] .cs-delivered-card-top {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        align-items: start;
    }

    body[data-page-title="delivered.title"] .cs-delivered-card .cs-status {
        padding: 4px 8px;
        font-size: 10px;
    }

    body[data-page-title="delivered.title"] .cs-delivered-card-metrics {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    body[data-page-title="delivered.title"] .cs-delivered-card-metrics span {
        display: grid;
        gap: 3px;
        min-width: 0;
        padding: 8px;
        border-radius: 12px;
        background: #f8fafc;
    }

    body[data-page-title="delivered.title"] .cs-delivered-card-metrics b {
        color: #64748b;
        font-size: 10px;
        font-weight: 900;
    }

    body[data-page-title="delivered.title"] .cs-delivered-card-metrics strong {
        min-width: 0;
        overflow: hidden;
        color: #0f2a3d;
        font-size: 12px;
        font-weight: 950;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body[data-page-title="delivered.title"] .cs-delivered-card-metrics em {
        font-style: normal;
    }

    body[data-page-title="delivered.title"] .cs-delivered-card-summary {
        display: grid;
        gap: 6px;
    }

    body[data-page-title="delivered.title"] .cs-delivered-card-summary p {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 8px;
        align-items: center;
        min-height: 24px;
        min-width: 0;
        margin: 0;
        color: #334155;
        font-size: 12px;
        line-height: 1.3;
    }

    body[data-page-title="delivered.title"] .cs-delivered-card-summary b {
        color: #64748b;
        font-weight: 900;
    }

    body[data-page-title="delivered.title"] .cs-delivered-card-summary p > span {
        min-width: 0;
        overflow: hidden;
    }

    body[data-page-title="delivered.title"] .cs-delivered-card-summary .detail-track {
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    body[data-page-title="delivered.title"] .cs-summary-toggle {
        padding: 3px 7px;
    }

    body[data-page-title="delivered.title"] .cs-delivered-card:not(.is-detail-open) .detail-pkg-wrap,
    body[data-page-title="delivered.title"] .cs-delivered-card:not(.is-detail-open) .detail-wh-wrap {
        display: none !important;
    }

    body[data-page-title="delivered.title"] .cs-delivered-card-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 7px;
    }

    body[data-page-title="delivered.title"] .cs-delivered-card-actions .cs-btn {
        min-height: 38px;
        border-radius: 12px;
        font-size: 12px;
    }

    body[data-page-title="delivered.title"] .cs-delivered-menu {
        top: auto;
        right: 0;
        bottom: calc(100% + 6px);
    }

body[data-page-title="delivered.title"] .cs-delivered-pager {
        margin-bottom: 8px;
        padding: 6px 0;
        color: #64748b;
        font-size: 12px;
        text-align: center;
    }
}

/* Fulfillment completed records */
body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-main {
    gap: 12px;
    padding-top: 14px;
}

body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-head {
    align-items: center;
}

body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-head-side {
    display: flex;
    align-items: center;
    gap: 10px;
}

body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-stats {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-stat {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: end;
    gap: 10px;
    padding: 15px 18px;
    border: 1px solid rgba(15, 42, 61, .08);
    border-radius: 16px;
    background: linear-gradient(135deg, #fff 0%, #fff7ed 100%);
    box-shadow: 0 14px 32px rgba(15, 42, 61, .08);
}

body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-stat strong {
    color: #f59e0b;
    font-size: 32px;
    line-height: 1;
    font-weight: 950;
}

body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-stat span {
    color: #0f2a3d;
    font-size: 13px;
    font-weight: 900;
}

body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-tabs {
    overflow-x: auto;
    scrollbar-width: none;
}

body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-tabs::-webkit-scrollbar {
    display: none;
}

body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
}

body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-table-card {
    padding: 0;
    overflow: visible;
}

body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-table {
    min-width: 1160px;
}

body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .02em;
}

body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-table td {
    vertical-align: middle;
}

body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-row:hover {
    background: #fffaf1;
}

body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-code {
    max-width: 240px;
}

body[data-page-title="fulfillmentRecords.title"] .cs-copy-track {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #2563eb;
    font: inherit;
    font-weight: 850;
    text-align: left;
    cursor: pointer;
}

body[data-page-title="fulfillmentRecords.title"] .cs-copy-track strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-page-title="fulfillmentRecords.title"] .cs-copy-track:hover strong {
    text-decoration: underline;
}

body[data-page-title="fulfillmentRecords.title"] .cs-package-icon {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(37, 99, 235, .28);
    border-radius: 6px;
    background:
        linear-gradient(90deg, transparent 46%, rgba(37, 99, 235, .35) 47%, rgba(37, 99, 235, .35) 53%, transparent 54%),
        linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .65);
}

body[data-page-title="fulfillmentRecords.title"] .cs-copy-icon {
    position: relative;
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    border: 1.5px solid #93c5fd;
    border-radius: 4px;
}

body[data-page-title="fulfillmentRecords.title"] .cs-copy-icon:before {
    content: "";
    position: absolute;
    left: -4px;
    top: 3px;
    width: 9px;
    height: 9px;
    border: 1.5px solid #bfdbfe;
    border-radius: 3px;
    background: #fff;
}

body[data-page-title="fulfillmentRecords.title"] .cs-group-pill,
body[data-page-title="fulfillmentRecords.title"] .cs-label-chip {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin: 2px 4px 2px 0;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

body[data-page-title="fulfillmentRecords.title"] .cs-group-pill {
    background: #eff6ff;
    color: #2563eb;
}

body[data-page-title="fulfillmentRecords.title"] .cs-label-chip.is-self {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #bbf7d0;
}

body[data-page-title="fulfillmentRecords.title"] .cs-label-chip.is-warehouse {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-note {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.35;
}

body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-fee {
    color: #0f766e;
    font-weight: 950;
}

body[data-page-title="fulfillmentRecords.title"] .cs-record-summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    min-width: 0;
}

body[data-page-title="fulfillmentRecords.title"] .cs-record-summary > span {
    min-width: 0;
    overflow: hidden;
    color: #334155;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-page-title="fulfillmentRecords.title"] .cs-record-summary button {
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: #2563eb;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

body[data-page-title="fulfillmentRecords.title"] .cs-summary-text {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #334155;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-page-title="fulfillmentRecords.title"] .cs-action-wrap,
body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-card-actions {
    position: relative;
    display: inline-flex;
    justify-content: flex-end;
    gap: 6px;
}

body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 20;
    display: none;
    min-width: 168px;
    padding: 6px;
    border: 1px solid rgba(15, 42, 61, .12);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 42, 61, .16);
}

body[data-page-title="fulfillmentRecords.title"] .cs-action-wrap.is-open .cs-fulfillment-records-menu,
body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-card-actions.is-open .cs-fulfillment-records-menu {
    display: grid;
    gap: 4px;
}

body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-menu button {
    display: flex;
    width: 100%;
    min-height: 34px;
    align-items: center;
    justify-content: flex-start;
    padding: 7px 9px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #334155;
    font-weight: 850;
    text-align: left;
    cursor: pointer;
}

body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-menu button:hover {
    background: #f8fafc;
}

body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-cards {
    display: none;
}

body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-pager {
    margin: 0 0 18px;
    padding: 10px 4px;
    text-align: right;
}

body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-pager a,
body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    margin: 0 2px;
    padding: 4px 10px;
    border: 1px solid rgba(15, 42, 61, .1);
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-size: 12px;
    text-decoration: none;
}

.cs-record-fulltext-mask .cs-record-fulltext-modal {
    max-width: 560px;
}

.cs-record-fulltext-modal h3 {
    margin: 0 0 12px;
    color: var(--cs-navy);
    font-size: 18px;
}

.cs-record-fulltext-body {
    max-height: 48vh;
    overflow: auto;
    padding: 12px;
    border: 1px solid #e5edf7;
    border-radius: 12px;
    background: #f8fafc;
    color: #334155;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

.cs-record-fulltext-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

@media (max-width: 767px) {
    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-main {
        gap: 8px;
        padding: 8px 7px 86px;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-head {
        padding: 12px;
        border-radius: 14px;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-head h1 {
        font-size: 21px;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-head p {
        font-size: 11px;
        line-height: 1.35;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-head-side {
        display: none;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-stat {
        padding: 10px 12px;
        border-radius: 14px;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-stat strong {
        font-size: 26px;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-tabs {
        padding: 7px;
        border-radius: 14px;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-tabs a {
        min-height: 30px;
        padding: 5px 10px;
        font-size: 11px;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-filter {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 7px;
        padding: 8px;
        border-radius: 14px;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-filter .cs-field label {
        display: none;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-filter .cs-filter-actions {
        display: flex;
        gap: 6px;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-filter .cs-filter-actions .cs-btn-ghost {
        display: none;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-filter .cs-btn {
        min-height: 40px;
        padding: 8px 12px;
        border-radius: 12px;
        font-size: 12px;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-table-card {
        display: none;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-cards {
        display: grid;
        gap: 8px;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-card {
        display: grid;
        gap: 9px;
        padding: 11px;
        border: 1px solid rgba(15, 42, 61, .08);
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 12px 28px rgba(15, 42, 61, .08);
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-card-top {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        align-items: start;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-card .cs-status {
        padding: 4px 8px;
        font-size: 10px;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-card-metrics {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-card-metrics span {
        display: grid;
        gap: 3px;
        min-width: 0;
        padding: 8px;
        border-radius: 12px;
        background: #f8fafc;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-card-metrics b {
        color: #64748b;
        font-size: 10px;
        font-weight: 900;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-card-metrics strong {
        min-width: 0;
        overflow: hidden;
        color: #0f2a3d;
        font-size: 12px;
        font-weight: 950;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-card-line {
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr);
        align-items: center;
        gap: 8px;
        min-width: 0;
        min-height: 26px;
        color: #334155;
        font-size: 12px;
        line-height: 1.3;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-card-line b {
        color: #64748b;
        font-weight: 900;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-card-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-card-note {
        margin: 0;
        color: #64748b;
        font-size: 12px;
        line-height: 1.35;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-card-note span {
        color: #334155;
        font-weight: 900;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-card-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 7px;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-card-actions .cs-btn {
        min-height: 38px;
        border-radius: 12px;
        font-size: 12px;
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-menu {
        top: auto;
        right: 0;
        bottom: calc(100% + 6px);
    }

    body[data-page-title="fulfillmentRecords.title"] .cs-fulfillment-records-pager {
        margin-bottom: 8px;
        padding: 6px 0;
        text-align: center;
        color: #64748b;
        font-size: 12px;
    }

    .cs-record-fulltext-modal h3 {
        font-size: 16px;
    }

    .cs-record-fulltext-body {
        max-height: 55vh;
        font-size: 13px;
    }
}

/* Final mobile rhythm guard for rewritten user pages */
@media (max-width: 1023px) {
    body[data-page-title="parcel.title"] .cs-user-shell.cs-dashboard,
    body[data-page-title="inbound.title"] .cs-user-shell.cs-dashboard,
    body[data-page-title="processing.title"] .cs-user-shell.cs-dashboard,
    body[data-page-title="transit.title"] .cs-user-shell.cs-dashboard,
    body[data-page-title="fulfillmentRecords.title"] .cs-user-shell.cs-dashboard,
    body[data-page-title="delivered.title"] .cs-user-shell.cs-dashboard,
    body[data-page-title="batch.title"] .cs-user-shell.cs-dashboard,
    body[data-page-title="forecast.title"] .cs-user-shell.cs-dashboard,
    body[data-page-title="fulfillment.title"] .cs-user-shell.cs-dashboard,
    body[data-page-title="forwarding.title"] .cs-user-shell.cs-dashboard,
    body[data-page-title="warehouseTransfer.title"] .cs-user-shell.cs-dashboard,
    body[data-page-title="address.title"] .cs-user-shell.cs-dashboard,
    body[data-page-title="warehouse.title"] .cs-user-shell.cs-dashboard,
    body[data-page-title="account.title"] .cs-user-shell.cs-dashboard,
    body[data-page-title="dash.title"] .cs-user-shell.cs-dashboard {
        display: block !important;
        min-height: auto !important;
    }

    body[data-page-title="parcel.title"] .cs-user-mobile-header,
    body[data-page-title="inbound.title"] .cs-user-mobile-header,
    body[data-page-title="processing.title"] .cs-user-mobile-header,
    body[data-page-title="transit.title"] .cs-user-mobile-header,
    body[data-page-title="fulfillmentRecords.title"] .cs-user-mobile-header,
    body[data-page-title="delivered.title"] .cs-user-mobile-header,
    body[data-page-title="batch.title"] .cs-user-mobile-header,
    body[data-page-title="forecast.title"] .cs-user-mobile-header,
    body[data-page-title="fulfillment.title"] .cs-user-mobile-header,
    body[data-page-title="forwarding.title"] .cs-user-mobile-header,
    body[data-page-title="warehouseTransfer.title"] .cs-user-mobile-header,
    body[data-page-title="address.title"] .cs-user-mobile-header,
    body[data-page-title="warehouse.title"] .cs-user-mobile-header,
    body[data-page-title="account.title"] .cs-user-mobile-header,
    body[data-page-title="dash.title"] .cs-user-mobile-header {
        height: 64px !important;
        min-height: 64px !important;
        margin: 0 !important;
    }

    body[data-page-title="parcel.title"] .cs-main,
    body[data-page-title="inbound.title"] .cs-main,
    body[data-page-title="processing.title"] .cs-main,
    body[data-page-title="transit.title"] .cs-main,
    body[data-page-title="fulfillmentRecords.title"] .cs-main,
    body[data-page-title="delivered.title"] .cs-main,
    body[data-page-title="batch.title"] .cs-main,
    body[data-page-title="forecast.title"] .cs-main,
    body[data-page-title="fulfillment.title"] .cs-main,
    body[data-page-title="forwarding.title"] .cs-main,
    body[data-page-title="warehouseTransfer.title"] .cs-main,
    body[data-page-title="address.title"] .cs-main,
    body[data-page-title="warehouse.title"] .cs-main,
    body[data-page-title="account.title"] .cs-main,
    body[data-page-title="dash.title"] .cs-main {
        min-height: auto !important;
        margin-top: 0 !important;
        padding-top: 10px !important;
        background: transparent !important;
    }
}

@media (max-width: 767px) {
    body[data-page-title="parcel.title"] .cs-main,
    body[data-page-title="inbound.title"] .cs-main,
    body[data-page-title="processing.title"] .cs-main,
    body[data-page-title="transit.title"] .cs-main,
    body[data-page-title="fulfillmentRecords.title"] .cs-main,
    body[data-page-title="delivered.title"] .cs-main,
    body[data-page-title="batch.title"] .cs-main,
    body[data-page-title="forecast.title"] .cs-main,
    body[data-page-title="fulfillment.title"] .cs-main,
    body[data-page-title="forwarding.title"] .cs-main,
    body[data-page-title="warehouseTransfer.title"] .cs-main,
    body[data-page-title="address.title"] .cs-main,
    body[data-page-title="warehouse.title"] .cs-main,
    body[data-page-title="account.title"] .cs-main,
    body[data-page-title="dash.title"] .cs-main {
        padding-top: 8px !important;
    }
}

/* Account profile final overrides */
body[data-page-title="account.title"] .cs-account-main {
    display: grid;
    gap: 16px;
}

body[data-page-title="account.title"] .cs-account-head {
    margin-bottom: 0;
}

body[data-page-title="account.title"] .cs-account-shell .cs-sidebar {
    background:
        radial-gradient(circle at top left, rgba(59,130,246,.18), transparent 38%),
        linear-gradient(180deg, #12324a 0%, #0b263b 100%);
}

body[data-page-title="account.title"] .cs-btn-sm {
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 12px;
}

body[data-page-title="account.title"] .cs-account-card-list {
    display: none;
}

@media (max-width: 767px) {
    body[data-page-title="account.title"] .cs-account-table-wrap {
        display: none;
    }

    body[data-page-title="account.title"] .cs-account-card-list {
        display: grid;
        gap: 8px;
    }
}

/* Pending payment page */
body[data-page-title="unsettled.title"] .cs-unsettled-main {
    display: grid;
    gap: 12px;
}

body[data-page-title="unsettled.title"] .cs-unsettled-shell .cs-sidebar {
    background:
        radial-gradient(circle at top left, rgba(245,158,11,.2), transparent 34%),
        linear-gradient(180deg, #12324a 0%, #0b263b 100%);
}

body[data-page-title="unsettled.title"] .cs-unsettled-head {
    align-items: center;
    margin-bottom: 0;
}

body[data-page-title="unsettled.title"] .cs-unsettled-head-side {
    display: flex;
    align-items: center;
    gap: 8px;
}

body[data-page-title="unsettled.title"] .cs-unsettled-due {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px 190px;
    gap: 12px;
}

body[data-page-title="unsettled.title"] .cs-unsettled-due-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    overflow: hidden;
    border-color: rgba(245,158,11,.34);
    background:
        radial-gradient(circle at top right, rgba(245,158,11,.22), transparent 36%),
        linear-gradient(135deg, #fff7ed 0%, #fff 55%, #f8fafc 100%);
}

body[data-page-title="unsettled.title"] .cs-unsettled-due-copy {
    display: grid;
    gap: 6px;
    min-width: 0;
}

body[data-page-title="unsettled.title"] .cs-unsettled-kicker {
    color: #b45309;
    font-size: 12px;
    font-weight: 950;
}

body[data-page-title="unsettled.title"] .cs-unsettled-due-copy strong {
    color: #b45309;
    font-size: 40px;
    font-weight: 1000;
    letter-spacing: 0;
    line-height: 1;
}

body[data-page-title="unsettled.title"] .cs-unsettled-due-copy p {
    margin: 0;
    max-width: 620px;
    color: #475569;
    font-size: 13px;
}

body[data-page-title="unsettled.title"] .cs-unsettled-due-actions,
body[data-page-title="unsettled.title"] .cs-action-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body[data-page-title="unsettled.title"] .cs-action-wrap {
    position: relative;
}

body[data-page-title="unsettled.title"] .cs-unsettled-stat {
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 16px;
}

body[data-page-title="unsettled.title"] .cs-unsettled-stat strong {
    color: #0f2a3d;
    font-size: 30px;
    font-weight: 1000;
    line-height: 1;
}

body[data-page-title="unsettled.title"] .cs-unsettled-stat span {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

body[data-page-title="unsettled.title"] .cs-unsettled-tabs {
    overflow-x: auto;
}

body[data-page-title="unsettled.title"] .cs-unsettled-tabs::-webkit-scrollbar {
    display: none;
}

@media (min-width: 769px) {
    body[data-page-title="unsettled.title"] .cs-unsettled-tabs {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 7px;
        min-height: 0;
        margin-top: 0;
        padding: 6px 8px;
        overflow-x: auto;
        border-radius: 12px;
        background: #f8fafc;
        box-shadow: 0 8px 22px rgba(18,50,74,.05);
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-tabs:hover {
        transform: none;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-tabs a {
        flex: 0 0 auto;
        min-height: 34px;
        height: 34px;
        padding: 0 10px;
        border: 1px solid #e2e8f0;
        border-radius: 999px;
        background: #fff;
        color: #475569;
        font-size: 12px;
        font-weight: 900;
        line-height: 1;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-tabs a:hover {
        color: var(--cs-navy);
        border-color: #cbd5e1;
        background: #fff;
        transform: none;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-tabs a.is-active {
        color: #fff;
        border-color: var(--cs-navy);
        background: var(--cs-navy);
        box-shadow: 0 8px 18px rgba(18,50,74,.14);
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-tabs .cs-dot {
        width: 5px;
        height: 5px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-tabs a strong {
        display: inline-grid;
        place-items: center;
        min-width: 19px;
        height: 19px;
        padding: 0 5px;
        border-radius: 999px;
        background: #e2e8f0;
        color: #475569;
        font-size: 11px;
        line-height: 1;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-tabs a.is-active strong {
        background: rgba(255,255,255,.18);
        color: #fff;
    }
}

body[data-page-title="unsettled.title"] .cs-unsettled-filter {
    display: grid;
    grid-template-columns: 180px minmax(240px, 1fr) auto;
    align-items: end;
    gap: 10px;
}

body[data-page-title="unsettled.title"] .cs-unsettled-table-card {
    padding: 0;
    overflow: hidden;
}

body[data-page-title="unsettled.title"] .cs-unsettled-table {
    min-width: 1080px;
}

body[data-page-title="unsettled.title"] .cs-unsettled-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
    font-weight: 950;
}

body[data-page-title="unsettled.title"] .cs-unsettled-table td {
    vertical-align: middle;
}

body[data-page-title="unsettled.title"] .cs-unsettled-row:hover {
    background: #fffaf2;
}

body[data-page-title="unsettled.title"] .cs-unsettled-code,
body[data-page-title="unsettled.title"] .cs-copy-track {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #2563eb;
    cursor: pointer;
    font: inherit;
    font-weight: 950;
    letter-spacing: 0;
    text-align: left;
}

body[data-page-title="unsettled.title"] .cs-package-icon {
    width: 18px;
    height: 18px;
}

body[data-page-title="unsettled.title"] .cs-copy-icon {
    position: relative;
    width: 15px;
    height: 15px;
    border: 1.5px solid #93c5fd;
    border-radius: 4px;
    flex: 0 0 auto;
}

body[data-page-title="unsettled.title"] .cs-copy-icon:before {
    content: "";
    position: absolute;
    right: -4px;
    top: -4px;
    width: 10px;
    height: 10px;
    border: 1.5px solid #bfdbfe;
    border-radius: 3px;
    background: #fff;
}

body[data-page-title="unsettled.title"] .cs-unsettled-fee {
    color: #b45309;
    font-weight: 1000;
}

body[data-page-title="unsettled.title"] .cs-unsettled-summary {
    display: grid;
    gap: 5px;
    min-width: 0;
}

body[data-page-title="unsettled.title"] .cs-unsettled-summary > span {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 8px;
    min-width: 0;
    color: #334155;
    font-size: 12px;
}

body[data-page-title="unsettled.title"] .cs-unsettled-summary b {
    color: #64748b;
    font-weight: 900;
}

body[data-page-title="unsettled.title"] .cs-unsettled-summary > span > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-page-title="unsettled.title"] .cs-summary-toggle {
    display: inline-block;
    max-width: 100%;
    padding: 2px 7px;
    border-radius: 999px;
    background: #f8fafc;
    color: #2563eb;
    cursor: pointer;
    font-weight: 900;
}

body[data-page-title="unsettled.title"] .cs-summary-toggle .s-txt {
    display: block;
    overflow: hidden;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-page-title="unsettled.title"] .cs-summary-toggle .f-txt {
    color: #0f2a3d;
    white-space: normal;
}

body[data-page-title="unsettled.title"] .cs-summary-toggle:hover {
    background: #eef6ff;
}

body[data-page-title="unsettled.title"] .cs-unsettled-detail-row {
    display: none;
}

body[data-page-title="unsettled.title"] .cs-unsettled-detail-row.is-open {
    display: table-row;
}

body[data-page-title="unsettled.title"] .cs-unsettled-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    background: #f8fafc;
}

body[data-page-title="unsettled.title"] .cs-unsettled-detail-grid div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

body[data-page-title="unsettled.title"] .cs-unsettled-detail-grid span {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

body[data-page-title="unsettled.title"] .cs-unsettled-detail-grid strong {
    min-width: 0;
    color: #0f2a3d;
    font-size: 13px;
    font-weight: 900;
}

body[data-page-title="unsettled.title"] .cs-unsettled-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 30;
    display: none;
    min-width: 148px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15,42,61,.16);
}

body[data-page-title="unsettled.title"] .cs-action-wrap.is-open .cs-unsettled-menu,
body[data-page-title="unsettled.title"] .cs-unsettled-card-actions.is-open .cs-unsettled-menu {
    display: grid;
}

body[data-page-title="unsettled.title"] .cs-unsettled-menu button {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 12px;
    border: 0;
    background: transparent;
    color: #0f2a3d;
    cursor: pointer;
    font-weight: 900;
    text-align: left;
}

body[data-page-title="unsettled.title"] .cs-unsettled-menu button:hover {
    background: #f8fafc;
}

body[data-page-title="unsettled.title"] .cs-unsettled-cards {
    display: none;
}

body[data-page-title="unsettled.title"] .cs-unsettled-pager {
    margin: 0 0 18px;
    color: #64748b;
    font-size: 13px;
    text-align: right;
}

body[data-page-title="unsettled.title"] .cs-unsettled-pager a,
body[data-page-title="unsettled.title"] .cs-unsettled-pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    min-width: 32px;
    margin: 0 2px;
    padding: 0 10px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    color: #0f2a3d;
    text-decoration: none;
    font-weight: 900;
}

body[data-page-title="unsettled.title"] .cs-unsettled-pager .current,
body[data-page-title="unsettled.title"] .cs-unsettled-pager span.current {
    border-color: var(--cs-navy);
    background: var(--cs-navy);
    color: #fff;
}

@media (max-width: 1023px) {
    body[data-page-title="unsettled.title"] .cs-user-shell.cs-dashboard {
        display: block !important;
        min-height: auto !important;
    }

    body[data-page-title="unsettled.title"] .cs-user-mobile-header {
        height: 64px !important;
        min-height: 64px !important;
        margin: 0 !important;
    }

    body[data-page-title="unsettled.title"] .cs-main {
        min-height: auto !important;
        margin-top: 0 !important;
        padding-top: 10px !important;
        background: transparent !important;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-main {
        gap: 8px;
        padding-bottom: calc(74px + env(safe-area-inset-bottom));
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-head {
        padding: 12px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-head h1 {
        font-size: 21px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-head p {
        font-size: 11px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-head-side {
        display: none;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-due {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-due-card {
        grid-column: 1 / -1;
        display: grid;
        gap: 10px;
        padding: 13px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-due-copy strong {
        font-size: 34px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-due-actions {
        justify-content: stretch;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-due-actions .cs-btn {
        flex: 1 1 0;
        min-height: 38px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-stat {
        padding: 10px 12px;
        min-height: 62px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-stat strong {
        font-size: 25px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-tabs {
        padding: 7px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-tabs a {
        min-height: 30px;
        padding: 5px 9px;
        font-size: 12px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-filter {
        grid-template-columns: 112px minmax(0, 1fr) auto;
        gap: 7px;
        padding: 8px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-filter .cs-field label {
        display: none;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-filter .cs-filter-actions {
        display: flex;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-filter .cs-filter-actions .cs-btn-ghost {
        display: none;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-filter .cs-btn,
    body[data-page-title="unsettled.title"] .cs-unsettled-filter .cs-input {
        min-height: 40px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-table-card {
        display: none;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-cards {
        display: grid;
        gap: 9px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-card {
        display: grid;
        gap: 9px;
        padding: 12px;
        border: 1px solid rgba(148,163,184,.28);
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 14px 34px rgba(15,42,61,.08);
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-card-top {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-card .cs-status {
        padding: 4px 8px;
        font-size: 11px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-card-amount {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 10px;
        padding: 9px 10px;
        border: 1px solid rgba(245,158,11,.25);
        border-radius: 13px;
        background: #fff7ed;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-card-amount span {
        color: #92400e;
        font-size: 12px;
        font-weight: 950;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-card-amount strong {
        color: #b45309;
        font-size: 24px;
        font-weight: 1000;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-card-metrics {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-card-metrics span {
        display: grid;
        gap: 3px;
        min-width: 0;
        padding: 8px;
        border-radius: 12px;
        background: #f8fafc;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-card-metrics b {
        color: #64748b;
        font-size: 10px;
        font-weight: 900;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-card-metrics strong {
        min-width: 0;
        overflow: hidden;
        color: #0f2a3d;
        font-size: 12px;
        font-weight: 950;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-card-metrics em {
        font-style: normal;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-card-summary {
        display: grid;
        gap: 5px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-card-summary p {
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr);
        align-items: center;
        gap: 8px;
        min-width: 0;
        min-height: 25px;
        margin: 0;
        color: #334155;
        font-size: 12px;
        line-height: 1.3;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-card-summary b {
        color: #64748b;
        font-weight: 900;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-card-summary p > span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-card:not(.is-detail-open) .detail-pkg-wrap,
    body[data-page-title="unsettled.title"] .cs-unsettled-card:not(.is-detail-open) .detail-wh-wrap {
        display: none !important;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-card-actions {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 7px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-card-actions .cs-btn {
        min-height: 38px;
        border-radius: 12px;
        font-size: 12px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-menu {
        top: auto;
        right: 0;
        bottom: calc(100% + 6px);
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-pager {
        margin-bottom: 8px;
        padding: 6px 0;
        text-align: center;
        color: #64748b;
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    body[data-page-title="unsettled.title"] .cs-main {
        padding-top: 8px !important;
    }
}

@media (min-width: 1024px) {
    body[data-page-title="unsettled.title"] .cs-unsettled-main {
        gap: 8px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-head {
        min-height: 0 !important;
        padding: 10px 14px !important;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-head h1 {
        font-size: 20px !important;
        line-height: 1.15;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-head .cs-section-desc {
        margin-top: 1px;
        font-size: 11px;
        line-height: 1.25;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-head-side {
        gap: 6px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-head-side .cs-lang {
        min-height: 34px !important;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-head-side .cs-btn {
        min-height: 34px;
        padding: 7px 12px;
        border-radius: 10px;
        font-size: 12px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-due {
        grid-template-columns: minmax(0, 1fr) 132px 152px;
        gap: 8px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-due-card {
        min-height: 86px;
        padding: 12px 14px !important;
        gap: 12px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-kicker {
        font-size: 11px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-due-copy {
        gap: 3px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-due-copy strong {
        font-size: 30px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-due-copy p {
        font-size: 12px;
        line-height: 1.25;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-due-actions .cs-btn {
        min-height: 34px;
        padding: 7px 12px;
        border-radius: 10px;
        font-size: 12px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-stat {
        min-height: 86px;
        padding: 10px 12px;
        gap: 3px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-stat strong {
        font-size: 24px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-stat span {
        font-size: 11px;
        line-height: 1.2;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-tabs {
        min-height: 46px !important;
        max-height: 46px;
        padding: 5px 8px !important;
        border-radius: 14px !important;
        align-content: center;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-tabs a {
        height: 32px;
        min-height: 32px;
        padding: 0 10px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-filter {
        grid-template-columns: 180px minmax(280px, 1fr) auto;
        align-items: center;
        gap: 8px;
        min-height: 58px;
        padding: 10px !important;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-filter .cs-field {
        gap: 0;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-filter .cs-field label {
        display: none;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-filter .cs-input,
    body[data-page-title="unsettled.title"] .cs-unsettled-filter .cs-search-input,
    body[data-page-title="unsettled.title"] .cs-unsettled-filter .cs-search-input .cs-input {
        height: 38px;
        min-height: 38px;
    }

    body[data-page-title="unsettled.title"] .cs-unsettled-filter .cs-btn {
        min-height: 38px;
        height: 38px;
        padding: 7px 14px;
        border-radius: 10px;
        font-size: 12px;
    }
}

@media (min-width: 1024px) {
    body[data-page-title="unsettled.title"] .cs-main.cs-parcel-main .cs-unsettled-tabs {
        display: flex !important;
        align-items: center !important;
        align-content: center !important;
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
        margin: 0 !important;
        padding: 5px 8px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    body[data-page-title="unsettled.title"] .cs-main.cs-parcel-main .cs-unsettled-tabs a {
        height: 32px !important;
        min-height: 32px !important;
    }

    body[data-page-title="unsettled.title"] .cs-main.cs-parcel-main .cs-unsettled-filter {
        display: grid !important;
        grid-template-columns: 168px minmax(360px, 1fr) auto !important;
        align-items: center !important;
        gap: 8px !important;
        min-height: 56px !important;
        margin: 0 !important;
        padding: 8px 10px !important;
    }

    body[data-page-title="unsettled.title"] .cs-main.cs-parcel-main .cs-unsettled-filter .cs-field,
    body[data-page-title="unsettled.title"] .cs-main.cs-parcel-main .cs-unsettled-filter .cs-search-input {
        flex: none !important;
        min-width: 0 !important;
        width: auto !important;
    }

    body[data-page-title="unsettled.title"] .cs-main.cs-parcel-main .cs-unsettled-filter .cs-unsettled-search-field,
    body[data-page-title="unsettled.title"] .cs-main.cs-parcel-main .cs-unsettled-filter .cs-unsettled-search-field .cs-search-input {
        width: 100% !important;
    }

    body[data-page-title="unsettled.title"] .cs-main.cs-parcel-main .cs-unsettled-filter #search_type {
        width: 168px !important;
        min-width: 168px !important;
        max-width: 168px !important;
        padding: 8px 30px 8px 12px !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Finance center */
body[data-page-title="finance.title"],
.cs-finance-info-page {
    min-height: 100vh;
    margin: 0;
    background: var(--cs-bg);
}

.cs-finance-shell .cs-sidebar {
    background:
        radial-gradient(circle at top left, rgba(59,130,246,.18), transparent 38%),
        linear-gradient(180deg, #12324a 0%, #0b263b 100%);
}

.cs-finance-main {
    display: grid;
    gap: 14px;
}

.cs-finance-head {
    margin-bottom: 0;
}

.cs-finance-head-actions,
.cs-finance-frame-head,
.cs-finance-records-head,
.cs-finance-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cs-finance-head-actions,
.cs-finance-frame-head,
.cs-finance-records-head {
    justify-content: space-between;
}

.cs-finance-frame-card {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.cs-finance-frame-head h2,
.cs-finance-records-head h1 {
    margin: 0;
    color: var(--cs-navy);
    font-size: 20px;
    line-height: 1.15;
}

.cs-finance-frame-head p,
.cs-finance-records-head p {
    margin: 4px 0 0;
    color: var(--cs-muted);
    font-size: 13px;
}

.cs-finance-frame {
    width: 100%;
    min-height: 720px;
    border: 0;
    border-radius: 16px;
    background: transparent;
}

.cs-finance-info-page {
    overflow-x: hidden;
}

.cs-finance-info-wrap {
    display: grid;
    gap: 14px;
    padding: 2px;
}

.cs-finance-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(220px, .55fr);
    gap: 12px;
}

.cs-finance-balance-card,
.cs-finance-pending-card,
.cs-finance-record-stat {
    display: grid;
    align-content: center;
    gap: 7px;
    min-height: 132px;
    padding: 18px;
}

.cs-finance-balance-card {
    background:
        linear-gradient(135deg, rgba(16,185,129,.11), rgba(255,255,255,.94)),
        #fff;
}

.cs-finance-pending-card {
    border-color: rgba(245,158,11,.36);
    background:
        linear-gradient(135deg, rgba(245,158,11,.14), rgba(255,255,255,.95)),
        #fff;
}

.cs-finance-record-stat {
    background:
        linear-gradient(135deg, rgba(37,99,235,.10), rgba(255,255,255,.95)),
        #fff;
}

.cs-finance-kicker {
    color: #64748b;
    font-size: 12px;
    font-weight: 950;
}

.cs-finance-balance-card strong,
.cs-finance-pending-card strong,
.cs-finance-record-stat strong {
    color: var(--cs-navy);
    font-size: 34px;
    font-weight: 1000;
    line-height: 1;
}

.cs-finance-balance-card strong {
    color: #047857;
}

.cs-finance-pending-card strong {
    color: #b45309;
}

.cs-finance-record-stat strong {
    color: #2563eb;
}

.cs-finance-balance-card strong span,
.cs-finance-pending-card strong span {
    margin-right: 2px;
    font-size: .72em;
}

.cs-finance-balance-card p,
.cs-finance-pending-card p,
.cs-finance-record-stat p {
    margin: 0;
    color: #475569;
    font-size: 13px;
    line-height: 1.4;
}

.cs-finance-card-actions {
    flex-wrap: wrap;
    margin-top: 2px;
}

.cs-finance-records-panel {
    display: grid;
    gap: 14px;
    padding: 16px;
}

.cs-finance-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--cs-border);
    border-radius: 16px;
}

.cs-finance-table {
    min-width: 860px;
}

.cs-finance-table th {
    background: #f8fafc;
}

.cs-finance-table tbody tr:hover {
    background: rgba(37,99,235,.04);
}

.cs-finance-amount {
    font-weight: 1000;
}

.is-income .cs-finance-amount {
    color: #047857;
}

.is-expense .cs-finance-amount {
    color: #dc2626;
}

.cs-finance-type {
    display: inline-flex;
    align-items: center;
    width: max-content;
    min-height: 24px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #eef2ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

.cs-finance-type:before {
    content: "";
    width: 6px;
    height: 6px;
    margin-right: 6px;
    border-radius: 50%;
    background: currentColor;
}

.cs-finance-type-refund {
    background: #f5f3ff;
    color: #7c3aed;
}

.cs-finance-type-recharge {
    background: #ecfdf5;
    color: #059669;
}

.cs-finance-type-expense {
    background: #fff7ed;
    color: #d97706;
}

.cs-finance-type-other {
    background: #f1f5f9;
    color: #475569;
}

.cs-finance-card-list {
    display: none;
}

.cs-finance-record-card {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(15,42,61,.08);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--cs-shadow-soft);
}

.cs-finance-record-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.cs-finance-record-top .cs-finance-amount {
    font-size: 20px;
}

.cs-finance-record-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.cs-finance-record-meta div {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 8px 10px;
    border-radius: 12px;
    background: #f8fafc;
}

.cs-finance-record-meta dt {
    color: #64748b;
    font-size: 10px;
    font-weight: 950;
}

.cs-finance-record-meta dd {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: var(--cs-navy);
    font-size: 12px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cs-finance-pager {
    display: flex;
    justify-content: flex-end;
    padding-top: 4px;
}

.cs-finance-tips {
    display: grid;
    gap: 8px;
    padding: 14px 16px;
    background:
        linear-gradient(135deg, rgba(37,99,235,.08), rgba(255,255,255,.92)),
        #fff;
}

.cs-finance-tips strong {
    color: var(--cs-navy);
    font-size: 15px;
}

.cs-finance-tips ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cs-finance-tips li {
    position: relative;
    padding-left: 16px;
    color: #475569;
    font-size: 12px;
    line-height: 1.45;
}

.cs-finance-tips li:before {
    content: "";
    position: absolute;
    top: .65em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2563eb;
}

@media (min-width: 1024px) {
    body[data-page-title="finance.title"] .cs-main.cs-finance-main {
        gap: 16px;
        min-height: auto !important;
        margin-top: 0 !important;
        padding: 12px 16px 18px !important;
        background: transparent !important;
    }

    body[data-page-title="finance.title"] .cs-finance-head {
        min-height: 0 !important;
        margin: 0 !important;
        padding: 14px 16px !important;
        align-items: center;
        border: 1px solid rgba(226,232,240,.86);
        border-radius: 14px;
        background: rgba(255,255,255,.86);
        box-shadow: 0 8px 24px rgba(15,42,61,.05);
    }

    body[data-page-title="finance.title"] .cs-finance-head h1 {
        margin: 0;
        font-size: 22px;
        line-height: 1.15;
    }

    body[data-page-title="finance.title"] .cs-finance-head .cs-eyebrow {
        margin: 0 0 4px;
        font-size: 11px;
        line-height: 1.1;
    }

    body[data-page-title="finance.title"] .cs-finance-head .cs-section-desc {
        margin-top: 3px;
        font-size: 12px;
        line-height: 1.3;
    }

    body[data-page-title="finance.title"] .cs-finance-head-actions {
        gap: 6px;
    }

    body[data-page-title="finance.title"] .cs-finance-head-actions .cs-btn,
    body[data-page-title="finance.title"] .cs-finance-head-actions .cs-lang {
        min-height: 34px !important;
        height: 34px;
        padding: 7px 10px !important;
        border-radius: 10px !important;
        font-size: 12px;
    }

    body[data-page-title="finance.title"] .cs-finance-frame-card {
        margin-top: 0 !important;
        gap: 0;
        padding: 0;
        overflow: hidden;
    }

    body[data-page-title="finance.title"] .cs-finance-frame-head {
        display: none;
    }

    body[data-page-title="finance.title"] .cs-finance-frame {
        display: block;
        min-height: 640px;
        border-radius: 14px;
    }

    .cs-finance-info-page .cs-reveal {
        opacity: 1;
        transform: none;
    }

    .cs-finance-info-page .cs-finance-info-wrap {
        gap: 12px;
        padding: 0;
    }

    .cs-finance-info-page .cs-finance-overview {
        margin-top: 0;
    }

    .cs-finance-info-page .cs-finance-balance-card,
    .cs-finance-info-page .cs-finance-pending-card,
    .cs-finance-info-page .cs-finance-record-stat {
        min-height: 112px;
        padding: 14px 16px;
    }

    .cs-finance-info-page .cs-finance-records-panel {
        gap: 10px;
        padding: 14px 16px;
    }

    .cs-finance-info-page .cs-finance-records-head {
        min-height: 40px;
    }

    .cs-finance-info-page .cs-finance-records-head h1 {
        font-size: 18px;
    }

    .cs-finance-info-page .cs-finance-records-head p {
        margin-top: 2px;
        font-size: 12px;
    }
}

@media (max-width: 1023px) {
    .cs-finance-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cs-finance-record-stat {
        grid-column: 1 / -1;
        min-height: 86px;
    }
}

@media (max-width: 767px) {
    body[data-page-title="finance.title"] .cs-main {
        padding-top: 8px !important;
        padding-bottom: 78px;
    }

    .cs-finance-head {
        align-items: start;
        gap: 10px;
    }

    .cs-finance-head-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .cs-finance-head-actions .cs-lang {
        display: none;
    }

    .cs-finance-frame-card {
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .cs-finance-frame-head {
        display: none;
    }

    .cs-finance-frame {
        min-height: 920px;
        border-radius: 0;
    }

    .cs-finance-info-wrap {
        gap: 10px;
        padding: 0;
    }

    .cs-finance-overview {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .cs-finance-balance-card,
    .cs-finance-pending-card,
    .cs-finance-record-stat {
        min-height: 104px;
        padding: 12px;
        border-radius: 16px;
    }

    .cs-finance-record-stat {
        grid-column: auto;
    }

    .cs-finance-balance-card strong,
    .cs-finance-pending-card strong,
    .cs-finance-record-stat strong {
        font-size: 25px;
    }

    .cs-finance-balance-card p,
    .cs-finance-pending-card p,
    .cs-finance-record-stat p {
        display: none;
    }

    .cs-finance-card-actions {
        display: none;
    }

    .cs-finance-records-panel {
        gap: 10px;
        padding: 12px;
        border-radius: 16px;
    }

    .cs-finance-records-head {
        align-items: start;
    }

    .cs-finance-records-head h1 {
        font-size: 18px;
    }

    .cs-finance-records-head p {
        font-size: 12px;
    }

    .cs-finance-table-wrap {
        display: none;
    }

    .cs-finance-card-list {
        display: grid;
        gap: 9px;
    }

    .cs-finance-record-meta {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .cs-finance-record-meta div {
        padding: 7px 8px;
    }

    .cs-finance-pager {
        justify-content: center;
        padding: 2px 0;
        font-size: 12px;
    }

    .cs-finance-tips {
        padding: 12px;
        border-radius: 16px;
    }
}

/* Top up balance */
.cs-pay-page {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 82% 0, rgba(37,99,235,.10), transparent 34%),
        var(--cs-bg);
    color: var(--cs-text);
}

.cs-pay-wrap {
    display: grid;
    gap: 12px;
    width: min(680px, calc(100% - 28px));
    margin: 0 auto;
    padding: 18px 0 84px;
}

.cs-pay-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(37,99,235,.08), rgba(255,255,255,.96)),
        #fff;
}

.cs-pay-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.cs-pay-title h1 {
    margin: 0;
    color: var(--cs-navy);
    font-size: 24px;
    line-height: 1.15;
}

.cs-pay-title .cs-eyebrow {
    margin: 0 0 4px;
    color: var(--cs-orange);
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .08em;
}

.cs-pay-title .cs-section-desc {
    margin: 4px 0 0;
    max-width: 460px;
    color: var(--cs-muted);
    font-size: 13px;
    line-height: 1.45;
}

.cs-pay-icon {
    display: inline-grid;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    background: #eff6ff;
    color: var(--cs-blue);
}

.cs-pay-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.cs-pay-close {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 12px;
}

.cs-pay-grid {
    display: grid;
    gap: 12px;
}

.cs-pay-balance-card,
.cs-pay-form-card {
    border-radius: 16px;
}

.cs-pay-balance-card {
    display: grid;
    gap: 7px;
    padding: 16px;
    background:
        linear-gradient(135deg, rgba(16,185,129,.11), rgba(255,255,255,.96)),
        #fff;
}

.cs-pay-kicker {
    color: #64748b;
    font-size: 12px;
    font-weight: 950;
}

.cs-pay-balance-card strong {
    color: #047857;
    font-size: 34px;
    line-height: 1;
}

.cs-pay-balance-card p {
    margin: 0;
    color: #475569;
    font-size: 13px;
}

.cs-pay-balance-card b {
    color: var(--cs-navy);
}

.cs-pay-form-card {
    display: grid;
    gap: 13px;
    padding: 16px;
}

.cs-pay-amount-field {
    gap: 7px;
}

.cs-pay-money-input {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.cs-pay-money-input:focus-within {
    border-color: rgba(37,99,235,.55);
    box-shadow: 0 0 0 4px rgba(37,99,235,.10);
}

.cs-pay-money-input > span {
    display: grid;
    min-height: 54px;
    place-items: center;
    border-right: 1px solid #e2e8f0;
    background: #f8fafc;
    color: var(--cs-navy);
    font-size: 13px;
    font-weight: 1000;
}

.cs-pay-money-input .cs-input {
    min-height: 54px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--cs-navy);
    font-size: 24px;
    font-weight: 950;
}

.cs-pay-money-input .cs-input:focus {
    box-shadow: none;
}

.cs-pay-quick {
    display: grid;
    gap: 8px;
}

.cs-pay-quick > span {
    color: var(--cs-navy);
    font-size: 12px;
    font-weight: 950;
}

.cs-pay-quick > div {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.cs-pay-chip {
    min-height: 38px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--cs-blue);
    cursor: pointer;
    font-size: 13px;
    font-weight: 1000;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.cs-pay-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(37,99,235,.36);
    background: #dbeafe;
}

.cs-pay-notice {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 9px;
    padding: 11px 12px;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    background: #fff7ed;
    color: #9a3412;
}

.cs-pay-notice span {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    background: #ffedd5;
    color: #c2410c;
    font-size: 13px;
    font-weight: 1000;
}

.cs-pay-notice p {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
}

.cs-pay-actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    padding-top: 2px;
}

.cs-pay-actions .cs-btn {
    min-width: 112px;
}

@media (min-width: 768px) {
    .cs-pay-grid {
        grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
        align-items: start;
    }

    .cs-pay-balance-card {
        position: sticky;
        top: 16px;
    }
}

@media (max-width: 767px) {
    .cs-pay-wrap {
        width: min(100% - 20px, 100%);
        gap: 10px;
        padding-top: 10px;
        padding-bottom: calc(84px + env(safe-area-inset-bottom));
    }

    .cs-pay-hero {
        padding: 12px;
        border-radius: 14px;
    }

    .cs-pay-title {
        gap: 9px;
    }

    .cs-pay-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .cs-pay-title h1 {
        font-size: 20px;
    }

    .cs-pay-title .cs-section-desc {
        font-size: 12px;
    }

    .cs-pay-close {
        min-height: 32px;
        padding: 6px 9px;
        font-size: 12px;
    }

    .cs-pay-balance-card,
    .cs-pay-form-card {
        padding: 12px;
        border-radius: 14px;
    }

    .cs-pay-balance-card strong {
        font-size: 28px;
    }

    .cs-pay-form-card {
        gap: 11px;
    }

    .cs-pay-money-input {
        grid-template-columns: 52px minmax(0, 1fr);
        border-radius: 13px;
    }

    .cs-pay-money-input > span,
    .cs-pay-money-input .cs-input {
        min-height: 50px;
    }

    .cs-pay-money-input .cs-input {
        font-size: 22px;
    }

    .cs-pay-quick > div {
        gap: 7px;
    }

    .cs-pay-chip {
        min-height: 36px;
    }

    .cs-pay-actions {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 30;
        display: grid;
        grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
        gap: 8px;
        padding: 10px max(12px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
        border-top: 1px solid rgba(226,232,240,.92);
        background: rgba(255,255,255,.96);
        box-shadow: 0 -12px 34px rgba(15,42,61,.10);
        backdrop-filter: blur(12px);
    }

    .cs-pay-actions .cs-btn {
        width: 100%;
        min-height: 44px;
        min-width: 0;
    }
}
