.hero-trade {
    background:linear-gradient(160deg,#0a2818,var(--g7) 50%,var(--g6));
    color:var(--w);
    padding:26px 0;
    position:relative;
    overflow:hidden;
}

.hero-inner {
    max-width:1340px;
    margin:0 auto;
    padding:0 28px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    position:relative;
    z-index:2;
}

.hero-trade h1 {
    font-size:30px;
    font-weight:800;
    margin-bottom:3px;
    letter-spacing:-.5px;
}

.hero-trade h1 span {
    color:var(--gold);
}

.hero-trade .sub {
    font-size:12.5px;
    opacity:.72;
}

.btn-post {
    display:flex;
    align-items:center;
    gap:6px;
    padding:11px 22px;
    background:var(--gold);
    color:#3d2b00;
    border:none;
    border-radius:8px;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
    font-family:inherit;
    box-shadow:0 2px 10px rgba(240,185,11,.3);
    transition:.2s;
}

.btn-post:hover {
    background:var(--gold-600);
    transform:translateY(-1px);
}

.btn-post i {
    font-size:17px;
}

.hero-net {
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    opacity:.8;
    z-index:1;
}

.list-panel {
    background:var(--w);
    border:1px solid #eee;
    border-radius:12px;
    overflow:hidden;
}

.lp-head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 20px;
    border-bottom:1px solid #eee;
}

.lp-tabs {
    display:flex;
    gap:0;
}

.lp-tab {
    padding:14px 16px;
    font-size:12.5px;
    font-weight:600;
    color:var(--g600);
    cursor:pointer;
    border-bottom:2.5px solid transparent;
    margin-bottom:-1px;
    transition:.2s;
    white-space:nowrap;
}

.lp-tab:hover {
    color:var(--g7);
}

.lp-tab.active {
    color:var(--g7);
    border-bottom-color:var(--g7);
}

.lp-sort {
    display:flex;
    align-items:center;
    gap:5px;
    font-size:12px;
    color:var(--g600);
    cursor:pointer;
}

.lp-sort strong {
    color:var(--g800);
    font-weight:600;
}

.lp-sort i {
    font-size:14px;
}

.post {
    display:flex;
    gap:14px;
    padding:16px 20px;
    border-bottom:1px solid #f5f5f5;
    transition:.15s;
    position:relative;
}

.post:hover {
    background:#fafffe;
}

.post:last-child {
    border-bottom:none;
}

.post-thumb {
    width: 160px;
    height: 135px;
    border-radius:8px;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    color:rgba(255,255,255,.55);
    border: 1px solid #f4f4f4;
    background: linear-gradient(135deg, #8d6e63, #a1887f);
    overflow:hidden;
}

.post-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.post-body {
    flex:1;
    min-width:0;
}

.post-badge {
    display:inline-flex;
    align-items:center;
    gap:4px;
    padding:3px 10px;
    border-radius:6px;
    font-size:10.5px;
    font-weight:600;
    margin-bottom:6px;
}

.pb-buy {
    background:#e8f5e9;
    color:#1b5e20;
}

.pb-sell {
    background:#e3f2fd;
    color:#0d47a1;
}

.pb-dist {
    background:#f3e5f5;
    color:#6a1b9a;
}

.pb-fund {
    background:#fff3e0;
    color:#e65100;
}

.pb-supply {
    background:#e0f2f1;
    color:#00695c;
}

.pb-job {
    background:#fce4ec;
    color:#c62828;
}

.post-badge i {
    font-size:12px;
}

.post-title {
    font-size:14.5px;
    font-weight:700;
    color:var(--g900);
    margin-bottom:3px;
    line-height:1.4;
}

.post-industry {
    font-size:11.5px;
    color:var(--g600);
    margin-bottom:4px;
}

.post-industry strong {
    color:var(--g7);
    font-weight:600;
}

.post-desc {
    font-size:12px;
    color:var(--g600);
    line-height:1.6;
    margin-bottom:7px;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.post-meta {
    display:flex;
    gap:14px;
    font-size:11px;
    color:var(--g500);
}

.post-meta span {
    display:flex;
    align-items:center;
    gap:3px;
}

.post-meta i {
    font-size:13px;
}

.post-right {
    width:250px;
    flex-shrink:0;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    gap:10px;
}

.post-author {
    display:flex;
    align-items:center;
    gap:9px;
}

.pa-avatar {
    width:34px;
    height:34px;
    border-radius:50%;
    background:var(--g7);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--w);
    font-size:11px;
    font-weight:600;
    flex-shrink:0;
}

.pa-info .pa-comp {
    font-size:12.5px;
    font-weight:700;
    color:var(--g900);
    line-height:1.3;
}

.pa-info .pa-name {
    font-size:11px;
    color:var(--g500);
}

.post-stats {
    display:flex;
    gap:14px;
    font-size:11.5px;
    color:var(--g600);
    align-items:center;
}

.post-stats span {
    display:flex;
    align-items:center;
    gap:4px;
    cursor:pointer;
    transition:.15s;
}

.post-stats span:hover {
    color:var(--g7);
}

.post-stats i {
    font-size:15px;
}

.btn-contact {
    padding:8px 18px;
    background:var(--g7);
    color:var(--w);
    border:none;
    border-radius:6px;
    font-size:12.5px;
    font-weight:600;
    cursor:pointer;
    font-family:inherit;
    transition:.2s;
    align-self:flex-end;
    min-width:110px;
    text-align: center;
}

.btn-contact:hover {
    background:var(--g8);
}

.post-star {
    position:absolute;
    top:16px;
    right:20px;
    color:var(--bd);
    font-size:18px;
    cursor:pointer;
    transition:.15s;
}

.post-star:hover {
    color:var(--gold);
}

/* ========================================================
   SIDEBAR: KẾT NỐI NỔI BẬT & THỐNG KÊ GIAO THƯƠNG
   ======================================================== */
.feat-item {
    display: flex;
    gap: 11px;
    padding: 12px 18px;
    border-bottom: 1px solid #f8f8f8;
    cursor: pointer;
    transition: .15s;
    text-decoration: none;
    color: inherit;
}

.feat-item:hover {
    background: var(--f5, #f5f5f5);
    text-decoration: none;
}

.feat-item:last-of-type {
    border-bottom: none;
}

.feat-thumb {
    width: 70px;
    height: 56px;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: rgba(255,255,255,.5);
    overflow: hidden;
}

.feat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feat-info {
    flex: 1;
    min-width: 0;
}

.feat-badge {
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 9.5px;
    font-weight: 600;
    margin-bottom: 3px;
}

.fb-doing {
    background: #fff3e0;
    color: #e65100;
}

.fb-done {
    background: #e8f5e9;
    color: #1b5e20;
}

.fb-plan {
    background: #fff8e1;
    color: #f57f17;
}

.feat-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--g900);
    line-height: 1.4;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feat-item:hover .feat-title {
    color: var(--g7);
}

.feat-sub {
    font-size: 10.5px;
    color: var(--g600);
    line-height: 1.4;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feat-date {
    font-size: 10px;
    color: var(--g500);
}

.feat-more {
    padding: 12px 18px;
    text-align: center;
    border-top: 1px solid #eee;
}

.feat-more a {
    font-size: 12px;
    color: var(--g7);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.feat-more a:hover {
    text-decoration: underline;
}

/* Stats box */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #eee;
}

.stat-c {
    background: var(--w);
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-ic {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--g50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--g7);
    font-size: 17px;
    flex-shrink: 0;
}

.stat-d .n {
    font-size: 19px;
    font-weight: 800;
    color: var(--g7);
    line-height: 1.15;
}

.stat-d .l {
    font-size: 10.5px;
    color: var(--g500);
}

/* ========================================================
   RESPONSIVE CHO KẾT NỐI GIAO THƯƠNG (TRADE MAIN & DETAIL)
   ======================================================== */

@media (max-width: 991.98px) {
    .hero-inner {
        padding: 0 20px;
    }

    .main {
        grid-template-columns: 1fr !important;
        padding: 20px 16px 36px !important;
        gap: 20px;
    }

    .trade-detail-main {
        grid-template-columns: 1fr !important;
        padding: 20px 16px 36px !important;
        gap: 20px;
    }

    .parties {
        grid-template-columns: 1fr !important;
    }

    .arrow-mid {
        transform: rotate(90deg);
        padding: 8px 0;
    }
}

@media (max-width: 767.98px) {
    /* ====== HERO TRADE ====== */
    .hero-trade {
        padding: 20px 0 16px;
    }

    .hero-inner {
        padding: 0 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .hero-trade h1 {
        font-size: 22px;
        letter-spacing: -0.3px;
        line-height: 1.25;
        margin-bottom: 4px;
    }

    .hero-trade .sub {
        font-size: 12.5px;
        opacity: 0.85;
    }

    .hero-inner > div:last-child {
        width: 100%;
        display: flex;
        gap: 8px;
    }

    .hero-inner .btn-post {
        flex: 1;
        height: 42px;
        font-size: 13px;
        font-weight: 700;
        justify-content: center;
        border-radius: 8px;
        padding: 0 12px;
        white-space: nowrap;
    }

    /* ====== CATEGORY SECTION ====== */
    .category-section {
        padding: 10px 0;
    }

    .category-inner {
        max-width: 100%;
        padding: 0 14px;
        gap: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .category-inner::-webkit-scrollbar {
        display: none;
    }

    .cat-tab {
        padding: 6px 14px;
        font-size: 12px;
        font-weight: 600;
        border-radius: 20px;
        flex-shrink: 0;
    }

    /* ====== SEARCH SECTION ====== */
    .search-section {
        padding: 12px 0;
    }

    .search-inner {
        padding: 0 14px;
        flex-direction: column;
        gap: 8px;
    }

    .search-input-wrap {
        width: 100%;
    }

    .search-input-wrap input {
        height: 42px;
        font-size: 16px !important; /* Ngăn iOS Safari tự zoom */
        padding: 8px 14px 8px 38px;
        border-radius: 8px;
    }

    .search-select {
        width: 100%;
        min-width: 100%;
        height: 40px;
        font-size: 14px;
        padding: 8px 32px 8px 12px;
        border-radius: 8px;
    }

    .btn-search {
        width: 100%;
        height: 42px;
        justify-content: center;
        font-size: 14px;
        font-weight: 700;
        border-radius: 8px;
    }

    /* ====== TRADE MAIN: LIST PANEL & POSTS ====== */
    .main {
        padding: 14px 12px 30px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .list-panel {
        border-radius: 12px;
        border: 1px solid #e2e8f0;
    }

    .lp-head {
        padding: 0 14px;
        justify-content: space-between;
    }

    .lp-tab {
        padding: 12px 10px;
        font-size: 12px;
    }

    .lp-sort {
        font-size: 11.5px;
    }

    .post {
        flex-direction: column;
        gap: 12px;
        padding: 14px;
        border-bottom: 1px solid #edf2f7;
    }

    .post-star {
        top: 14px;
        right: 14px;
    }

    .post-thumb {
        width: 100%;
        height: 160px;
        border-radius: 8px;
    }

    .post-badge {
        font-size: 10.5px;
        padding: 2.5px 8px;
        margin-bottom: 6px;
    }

    .post-title {
        font-size: 15px;
        font-weight: 700;
        line-height: 1.35;
        margin-bottom: 4px;
    }

    .post-industry {
        font-size: 11.5px;
        color: #64748b;
        margin-bottom: 6px;
    }

    .post-desc {
        font-size: 12.5px;
        line-height: 1.5;
        -webkit-line-clamp: 2;
        margin-bottom: 8px;
    }

    .post-meta {
        font-size: 11.5px;
        gap: 12px;
    }

    .post-right {
        width: 100%;
        min-width: unset;
        border-top: 1px solid #f1f5f9;
        padding-top: 10px;
        margin-top: 4px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .post-author {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .pa-avatar {
        width: 34px;
        height: 34px;
        font-size: 12px;
        border-radius: 50%;
        flex-shrink: 0;
    }

    .pa-info {
        flex: 1;
        min-width: 0;
    }

    .pa-comp {
        font-size: 12px;
        font-weight: 700;
        color: #1e293b;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pa-name {
        font-size: 11px;
        color: #64748b;
    }

    .post-stats {
        font-size: 11.5px;
    }

    .post-right .btn-contact {
        width: 100% !important;
        height: 40px !important;
        justify-content: center !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        border-radius: 8px !important;
        margin-top: 4px !important;
    }

    /* ====== TRADE DETAIL: PROPOSAL TRACKER & POST ====== */
    .breadcrumb .bc-inner {
        padding: 10px 14px !important;
        font-size: 12px !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        scrollbar-width: none !important;
    }

    .breadcrumb .bc-inner::-webkit-scrollbar {
        display: none !important;
    }

    .proposal-tracker-card {
        border-radius: 12px;
        margin-bottom: 16px;
    }

    .ptc-header {
        padding: 14px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .ptc-title {
        font-size: 16px;
    }

    .ptc-desc {
        font-size: 12.5px;
    }

    .ptc-meta {
        width: 100%;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        padding-top: 8px;
        font-size: 12px;
    }

    /* Stepper 4 bước chuyển sang Grid 2x2 trên mobile */
    .ptc-stepper {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px 8px !important;
        padding: 14px 16px !important;
    }

    .ptc-step-line {
        display: none !important;
    }

    .ptc-step {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        text-align: left !important;
    }

    .ptc-step-num {
        width: 28px !important;
        height: 28px !important;
        font-size: 12px !important;
        flex-shrink: 0 !important;
    }

    .ptc-step-name {
        font-size: 12px !important;
        font-weight: 600 !important;
    }

    .ptc-step-time {
        font-size: 10px !important;
    }

    .ptc-details {
        padding: 14px 16px;
    }

    .ptc-data-cols {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .ptc-actions {
        flex-direction: column;
        gap: 8px;
        margin-top: 12px;
    }

    .btn-ptc {
        width: 100%;
        justify-content: center;
        height: 42px;
        font-size: 13px;
        border-radius: 8px;
    }

    .trade-detail-main {
        padding: 14px 12px 30px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .trade-post-card {
        border-radius: 12px;
        border: 1px solid #e2e8f0;
    }

    .tpc-head {
        padding: 14px 16px;
    }

    .tpc-title {
        font-size: 18px;
        line-height: 1.35;
        margin-bottom: 6px;
    }

    .tpc-meta {
        flex-wrap: wrap;
        gap: 8px 14px;
        font-size: 12px;
    }

    .trade-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-bottom: 14px;
    }

    .tg-item {
        height: 120px;
        border-radius: 8px;
    }

    .trade-specs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 12px !important;
        border-radius: 10px;
    }

    .ts-item {
        font-size: 12px !important;
    }

    .tpc-desc-section {
        padding: 14px 16px;
    }

    .tpc-desc-title {
        font-size: 14px;
    }

    .tpc-desc-content {
        font-size: 13.5px !important;
        line-height: 1.65 !important;
    }

    .tpc-desc-content img {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 8px;
    }

    .tpc-desc-content table {
        display: block;
        overflow-x: auto;
        width: 100% !important;
    }

    .cta-connect-panel {
        padding: 16px 14px !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 12px !important;
        border-radius: 10px !important;
    }

    .cta-connect-title {
        font-size: 15px !important;
    }

    .cta-connect-sub {
        font-size: 12.5px !important;
    }

    .btn-connect-main {
        width: 100% !important;
        justify-content: center !important;
        height: 44px !important;
        font-size: 13.5px !important;
    }

    /* Modal kết nối giao thương */
    .trade-modal-dialog {
        max-height: 94vh;
        border-radius: 14px;
        width: 95% !important;
    }

    .trade-modal-header {
        padding: 12px 14px;
    }

    .trade-modal-title {
        font-size: 16px;
    }

    .trade-modal-body {
        padding: 14px 12px;
    }

    .trade-form-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .trade-input,
    .trade-textarea {
        font-size: 16px !important; /* Ngăn iOS auto-zoom */
    }

    .trade-modal-footer {
        padding: 10px 12px;
        flex-direction: column-reverse;
        gap: 8px;
    }

    .trade-modal-footer .trade-btn {
        width: 100%;
        justify-content: center;
        height: 42px;
    }
}

@media (max-width: 499.98px) {
    .trade-specs-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-inner > div:last-child {
        flex-direction: column;
    }

    .hero-inner .btn-post {
        width: 100%;
    }

    .post-thumb {
        height: 145px;
    }
}

/* ========================================================
   TRADE CONNECTION & DETAIL WORKFLOW STYLES
   ======================================================== */
:root {
    --wait: #f57f17;
    --wait-bg: #fff8e1;
    --wait-bd: #ffe082;
    --ok: #1a6b35;
    --ok-bg: #e8f5e9;
    --pend: #9e9e9e;
    --pend-bg: #f5f5f5;
}

/* PROPOSAL TRACKER CARD (Tiến trình kết nối giao thương) */
.proposal-tracker-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-bottom: 24px;
}

.ptc-header {
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #eee;
}
.ptc-header.theme-wait {
    background: linear-gradient(135deg, #fffcf5 0%, #fff8e1 100%);
    border-bottom-color: #ffe082;
}
.ptc-header.theme-info {
    background: linear-gradient(135deg, #f5f9ff 0%, #e8f1ff 100%);
    border-bottom-color: #bbdefb;
}
.ptc-header.theme-ok {
    background: linear-gradient(135deg, #f4fbf6 0%, #e8f5e9 100%);
    border-bottom-color: #c8e6c9;
}
.ptc-header.theme-cancel {
    background: #f8f9fa;
    border-bottom-color: #e9ecef;
}

.ptc-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    margin-bottom: 5px;
}
.theme-wait .ptc-badge { background: #f57f17; color: #fff; }
.theme-info .ptc-badge { background: #1976d2; color: #fff; }
.theme-ok .ptc-badge { background: #1a6b35; color: #fff; }
.theme-cancel .ptc-badge { background: #6c757d; color: #fff; }

.ptc-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
}
.theme-wait .ptc-title { color: #8d4004; }
.theme-info .ptc-title { color: #0d47a1; }
.theme-ok .ptc-title { color: #14522a; }

.ptc-desc {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}
.theme-wait .ptc-desc { color: #a05a12; }
.theme-info .ptc-desc { color: #1e5ba8; }
.theme-ok .ptc-desc { color: #2e7d32; }

.ptc-meta {
    text-align: right;
    flex-shrink: 0;
}
.ptc-code {
    font-size: 12.5px;
    color: #475569;
    margin-bottom: 4px;
}
.ptc-code strong {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13.5px;
    color: #0f172a;
    background: #fff;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
}
.ptc-date {
    font-size: 11.5px;
    color: #94a3b8;
}

/* Stepper 4 bước ngang */
.ptc-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
}
.ptc-step {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}
.ptc-step-num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    border: 2px solid #e2e8f0;
    transition: all .2s;
    flex-shrink: 0;
}
.ptc-step.done .ptc-step-num {
    background: #1a6b35;
    border-color: #1a6b35;
    color: #fff;
}
.ptc-step.active .ptc-step-num {
    background: #fff;
    border-color: #f57f17;
    color: #f57f17;
    box-shadow: 0 0 0 4px rgba(245, 127, 23, 0.15);
}
.ptc-step-name {
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}
.ptc-step.done .ptc-step-name { color: #1e293b; font-weight: 700; }
.ptc-step.active .ptc-step-name { color: #f57f17; font-weight: 700; }
.ptc-step-time {
    font-size: 10.5px;
    color: #94a3b8;
    margin-top: 1px;
}
.ptc-step-line {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin: 0 12px;
}

/* Chi tiết đề xuất & Nút */
.ptc-details {
    padding: 16px 24px;
    background: #fafbfc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.ptc-data-cols {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ptc-data-item {
    font-size: 12.5px;
    line-height: 1.5;
}
.ptc-data-item .lbl {
    color: #64748b;
    font-weight: 500;
    margin-right: 6px;
}
.ptc-data-item .val {
    color: #1e293b;
    font-weight: 600;
}
.ptc-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.btn-ptc {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 7px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all .2s;
}
.btn-ptc-edit {
    background: #fff;
    border-color: #cbd5e1;
    color: #334155;
}
.btn-ptc-edit:hover {
    border-color: #1a6b35;
    color: #1a6b35;
}
.btn-ptc-cancel {
    background: #fff;
    border-color: #fecaca;
    color: #dc2626;
}
.btn-ptc-cancel:hover {
    background: #fef2f2;
}
.btn-ptc-msg {
    background: #1a6b35;
    color: #fff;
}
.btn-ptc-msg:hover {
    background: #14522a;
}

/* DETAIL MAIN LAYOUT */
.trade-detail-main {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px 50px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
}

/* TRADE POST MAIN CARD */
.trade-post-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    margin-bottom: 24px;
}
.tpc-head {
    padding: 22px 24px 18px;
    border-bottom: 1px solid #f1f5f9;
}
.tpc-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    margin-bottom: 10px;
}
.tpc-badge.badge-buy {
    background: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #c8e6c9;
}
.tpc-badge.badge-sell {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}
.tpc-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 0 10px 0;
}
.tpc-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12.5px;
    color: #64748b;
    flex-wrap: wrap;
}
.tpc-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.tpc-meta-item i { font-size: 14px; color: #1a6b35; }
.tpc-meta-item strong { color: #334155; }

.tpc-body {
    padding: 22px 24px;
}

/* HÌNH ẢNH SẢN PHẨM / TIN ĐĂNG */
.trade-gallery {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 6px;
}
.tg-item {
    width: 140px;
    height: 100px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
}
.tg-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s;
}
.tg-item:hover img {
    transform: scale(1.05);
}

/* SPECIFICATIONS GRID */
.trade-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 22px;
}
.ts-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    line-height: 1.5;
}
.ts-item i {
    font-size: 16px;
    color: #1a6b35;
    margin-top: 2px;
    flex-shrink: 0;
}
.ts-lbl {
    color: #64748b;
    min-width: 95px;
    flex-shrink: 0;
}
.ts-val {
    color: #1e293b;
    font-weight: 600;
}

/* DESCRIPTION */
.tpc-desc-section {
    margin-bottom: 20px;
}
.tpc-desc-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 7px;
}
.tpc-desc-title i { color: #1a6b35; }

/* CTA CONNECT BOX */
.cta-connect-panel {
    background: linear-gradient(135deg, rgba(26,107,53,0.04) 0%, rgba(212,175,55,0.08) 100%);
    border: 1.5px dashed rgba(26,107,53,0.3);
    border-radius: 12px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}
.cta-connect-text {
    flex: 1;
}
.cta-connect-title {
    font-size: 15.5px;
    font-weight: 700;
    color: #1a6b35;
    margin: 0 0 4px 0;
}
.cta-connect-sub {
    font-size: 13px;
    color: #475569;
    margin: 0;
    line-height: 1.5;
}

/* PANELS IN MAIN LEFT (CÁC BÊN THAM GIA & LỊCH SỬ XỬ LÝ) */
.panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    margin-top: 20px;
}
.p-head {
    padding: 14px 20px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    letter-spacing: .2px;
    background: #fafbfc;
}
.p-head i {
    font-size: 17px;
    color: var(--ok, #1a6b35);
}
.p-head .badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
}
.p-body {
    padding: 24px 20px 20px;
}

/* 2 BÊN GIAO THƯƠNG */
.parties {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 0;
    align-items: center;
}
.party {
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px 16px 16px;
    text-align: center;
    position: relative;
    background: #fff;
}
.party.confirmed {
    border-color: #1a6b35;
    background: #f8fdf9;
}
.party.waiting {
    border-color: #f59e0b;
    background: #fffdf5;
    border-style: dashed;
}
.party-stat {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 9.5px;
    font-weight: 700;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: .2px;
}
.ps-ok {
    background: #1a6b35;
    color: #fff;
}
.ps-wait {
    background: #f57f17;
    color: #fff;
}
.party-logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4px auto 10px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.party-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}
.party-logo .party-logo-text {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}
.party-name {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
}
.party-role {
    font-size: 11.5px;
    color: #64748b;
    margin-bottom: 12px;
}
.party-person {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: #334155;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}
.party-person .pav {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #1a6b35;
    color: #fff;
    font-size: 9.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.party-person .pav img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.party-time {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 6px;
}
.party-time.wait {
    color: #d97706;
    font-weight: 600;
}
.party-time.ok {
    color: #1a6b35;
    font-weight: 600;
}
.arrow-mid {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #cbd5e1;
}

/* GHI CHÚ ADMIN */
.admin-note {
    background: #fffdf5;
    border: 1px solid #ffe082;
    border-radius: 10px;
    padding: 14px 18px;
    margin-top: 18px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.an-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: #f57f17;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.an-body {
    flex: 1;
}
.an-title {
    font-size: 13px;
    font-weight: 700;
    color: #8d4004;
    margin-bottom: 3px;
}
.an-text {
    font-size: 12px;
    color: #a05a12;
    line-height: 1.6;
}

/* LỊCH SỬ XỬ LÝ (LOG TIMELINE) */
.log {
    display: flex;
    flex-direction: column;
}
.log-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px dashed #f1f5f9;
    position: relative;
    align-items: flex-start;
}
.log-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.log-item:first-child {
    padding-top: 0;
}
.log-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.ld-ok {
    background: #e8f5e9;
    color: #1a6b35;
}
.ld-wait {
    background: #fff8e1;
    color: #f57f17;
}
.ld-info {
    background: #e0f2fe;
    color: #0284c7;
}
.log-body {
    flex: 1;
}
.log-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}
.log-desc {
    font-size: 12px;
    color: #475569;
    line-height: 1.55;
}
.log-time {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.log-time i {
    font-size: 12px;
}

/* SIDEBAR STYLES */
.side { display: flex; flex-direction: column; gap: 18px; }

/* ACTION BOX (SIDEBAR) */
.act-box {
    background: linear-gradient(160deg, #fffdf5, var(--wait-bg, #fff8e1));
    border: 1.5px solid var(--wait-bd, #ffe082);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.ab-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.ab-head i {
    font-size: 22px;
    color: var(--wait, #f57f17);
}
.ab-head .t {
    font-size: 13.5px;
    font-weight: 800;
    color: #8d4004;
}
.ab-desc {
    font-size: 11.5px;
    color: #a05a12;
    line-height: 1.65;
    margin-bottom: 14px;
}
.ab-progress {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 14px;
    background: rgba(255, 255, 255, 0.7);
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 224, 130, 0.5);
}
.abp-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
}
.abp-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}
.abpi-ok {
    background: var(--ok, #1a6b35);
    color: #fff;
}
.abpi-wait {
    background: var(--wait, #f57f17);
    color: #fff;
}
.abp-txt {
    flex: 1;
    color: #475569;
}
.abp-txt strong {
    color: #0f172a;
    font-weight: 600;
}
.btn-a {
    width: 100%;
    padding: 11px;
    border: none;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: .2s;
    margin-bottom: 8px;
    box-sizing: border-box;
}
.btn-a:last-child {
    margin-bottom: 0;
}
.btn-msg {
    background: var(--ok, #1a6b35);
    color: #fff;
}
.btn-msg:hover {
    background: #14522a;
}
.btn-edit {
    background: #fff;
    color: #475569;
    border: 1.5px solid #cbd5e1;
}
.btn-edit:hover {
    border-color: #1a6b35;
    color: #1a6b35;
    background: #f0fdf4;
}
.btn-cancel {
    background: #fff;
    color: #c62828;
    border: 1.5px solid #ffcdd2;
}
.btn-cancel:hover {
    background: #ffebee;
}
.btn-a i {
    font-size: 15px;
}

/* SIDE BOX & INFO ROWS */
.side-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.side-head {
    padding: 13px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fafbfc;
}
.side-head i {
    font-size: 16px;
    color: var(--gold, #c9a84c);
}
.si-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid #f8fafc;
    font-size: 12px;
}
.si-row:last-child {
    border-bottom: none;
}
.si-lbl {
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}
.si-lbl i {
    font-size: 14px;
    color: #94a3b8;
}
.si-val {
    font-weight: 600;
    color: #1e293b;
}
.si-val.wait {
    color: var(--wait, #f57f17);
}
.si-val.ok {
    color: var(--ok, #1a6b35);
}
.si-val.cancel {
    color: #dc2626;
}

/* PARTNER PROFILE CARD */
.partner-profile-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.ppc-header {
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fafbfc;
}
.ppc-header i { color: #1a6b35; font-size: 16px; }
.ppc-body {
    padding: 20px 18px;
    text-align: center;
}
.ppc-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #1a6b35;
    background: #e8f5e9;
    border: 2px solid #c8e6c9;
    overflow: hidden;
}
.ppc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ppc-company-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
    line-height: 1.35;
}
.ppc-rep {
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 10px;
}
.ppc-rep strong { color: #334155; }
.ppc-badge-verify {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    margin-bottom: 16px;
}
.ppc-contact-list {
    text-align: left;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ppc-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 12px;
    color: #475569;
    line-height: 1.5;
}
.ppc-contact-item i {
    font-size: 15px;
    color: #1a6b35;
    margin-top: 2px;
    flex-shrink: 0;
}
.ppc-action {
    margin-top: 18px;
}
.btn-connect-main {
    width: 100%;
    padding: 12px 18px;
    border-radius: 8px;
    background: #1a6b35;
    color: #fff;
    font-weight: 700;
    font-size: 13.5px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .2s;
    box-sizing: border-box;
}
.btn-connect-main:hover {
    background: #14522a;
}

/* SUPPORT CARD IN SIDEBAR */
.support-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.sc-head {
    padding: 12px 16px;
    background: #fafbfc;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12.5px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 7px;
}
.sc-head i { color: #d4af37; font-size: 15px; }
.sc-body {
    padding: 14px 16px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.6;
}
.sc-hotline {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
    font-weight: 600;
    color: #1a6b35;
}

@media (max-width: 991px) {
    .trade-detail-main {
        grid-template-columns: 1fr;
    }
    .ptc-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .ptc-meta {
        text-align: left;
    }
    .ptc-stepper {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .ptc-step-line {
        display: none;
    }
    .trade-specs-grid {
        grid-template-columns: 1fr;
    }
    .cta-connect-panel {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* MODAL TRADE CONNECT */
.trade-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    z-index: 99999;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    box-sizing: border-box;
}
.trade-modal-backdrop.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.trade-modal-dialog {
    width: 100%;
    max-width: 640px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    overflow: hidden;
    margin: auto !important;
    position: relative;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform 0.25s ease;
    box-sizing: border-box;
}
.trade-modal-backdrop.show .trade-modal-dialog {
    transform: scale(1);
}
.trade-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: linear-gradient(135deg, #14522a 0%, #1a6b35 100%);
    color: #fff;
}
.trade-modal-title-box {
    display: flex;
    align-items: center;
    gap: 12px;
}
.trade-modal-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    flex-shrink: 0;
}
.trade-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.trade-modal-sub {
    margin: 3px 0 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}
.trade-modal-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.15s;
}
.trade-modal-close:hover { color: #fff; }
.trade-modal-body {
    padding: 22px;
    overflow-y: auto;
    font-size: 14px;
}
.trade-target-preview {
    background: #f8faf8;
    border: 1px dashed rgba(26, 107, 53, 0.3);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #444;
}
.trade-target-title {
    font-weight: 700;
    color: var(--g7);
    margin-bottom: 3px;
}
.trade-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.trade-form-group {
    margin-bottom: 14px;
}
.trade-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 13px;
    color: #333;
}
.trade-input-group {
    position: relative;
    display: flex;
    align-items: center;
}
.trade-input-icon {
    position: absolute;
    left: 12px;
    color: #888;
    font-size: 16px;
    pointer-events: none;
}
.trade-input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 1.5px solid #dcdcdc;
    border-radius: 8px;
    font-size: 13.5px;
    color: #333;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}
.trade-input:focus {
    border-color: #1a6b35;
    box-shadow: 0 0 0 3px rgba(26, 107, 53, 0.15);
}
.trade-textarea {
    padding: 10px 12px;
    min-height: 95px;
    resize: vertical;
}
.trade-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 22px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}
.trade-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: 0.2s;
    border: none;
}
.trade-btn-cancel { background: #e9ecef; color: #495057; }
.trade-btn-cancel:hover { background: #dde2e6; }
.trade-btn-submit { background: #1a6b35; color: #fff; }
.trade-btn-submit:hover { background: #14522a; }
.trade-btn-submit:disabled { background: #88c09a; cursor: not-allowed; }

@media (max-width: 1000px) {
    .trade-detail-main { grid-template-columns: 1fr; }
    .parties { grid-template-columns: 1fr; }
    .arrow-mid { transform: rotate(90deg); padding: 8px 0; }
    .req-detail { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .steps { flex-direction: column; gap: 14px; }
    .step::before { display: none; }
    .step { display: flex; gap: 12px; text-align: left; }
    .step-c { margin: 0; flex-shrink: 0; }
    .trade-form-grid { grid-template-columns: 1fr; gap: 10px; }
    .wb-inner { flex-wrap: wrap; }
    .wb-code { margin-left: 0; width: 100%; text-align: left; margin-top: 10px; }
}

.category-inner {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}
.category-inner:active,
.category-inner.grabbing {
    cursor: grabbing;
}
.category-inner a.cat-tab {
    -webkit-user-drag: none;
    user-drag: none;
}
