.enterprise-page {
    --enterprise-blue: #2675ed;
    --enterprise-blue-dark: #155bd4;
    --enterprise-sky: #eef6ff;
    --enterprise-ink: #172033;
    --enterprise-muted: #667085;
    --enterprise-line: #e7edf6;
    --enterprise-soft: #f7faff;
    min-height: 720px;
    background: #f6f9fd;
    color: var(--enterprise-ink);
}

.enterprise-wrap {
    width: 1280px;
    max-width: calc(100% - 48px);
    margin: 0 auto;
}

.enterprise-hero {
    padding: 56px 0 36px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
}

.enterprise-title {
    margin: 0;
    font-size: 42px;
    line-height: 1.2;
    text-align: center;
    font-weight: 800;
    color: var(--enterprise-ink);
}

.enterprise-subtitle {
    margin: 14px auto 0;
    max-width: 720px;
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    color: var(--enterprise-muted);
}

.enterprise-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 32px auto 0;
    max-width: 980px;
}

.enterprise-stat {
    min-height: 92px;
    padding: 18px 20px;
    border: 1px solid var(--enterprise-line);
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.enterprise-stat strong {
    display: block;
    font-size: 28px;
    line-height: 1;
    color: var(--enterprise-blue);
}

.enterprise-stat span {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: var(--enterprise-muted);
}

.enterprise-hero-actions {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

.enterprise-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 138px;
    min-height: 42px;
    padding: 0 20px;
    border: 1px solid var(--enterprise-blue);
    border-radius: 6px;
    background: var(--enterprise-blue);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.enterprise-btn:hover {
    color: #fff;
    background: var(--enterprise-blue-dark);
    border-color: var(--enterprise-blue-dark);
    transform: translateY(-1px);
}

.enterprise-btn.is-outline {
    background: #fff;
    color: var(--enterprise-blue);
}

.enterprise-btn.is-outline:hover {
    background: var(--enterprise-sky);
    color: var(--enterprise-blue-dark);
}

.enterprise-filter {
    margin: 28px auto 30px;
    padding: 22px;
    border: 1px solid var(--enterprise-line);
    border-radius: 8px;
    background: #fff;
}

.enterprise-filter-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.enterprise-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--enterprise-muted);
}

.enterprise-field input,
.enterprise-field select,
.enterprise-field textarea {
    width: 100%;
    height: 42px;
    border: 1px solid var(--enterprise-line);
    border-radius: 6px;
    padding: 0 12px;
    background: #fff;
    color: var(--enterprise-ink);
    box-sizing: border-box;
}

.enterprise-field textarea {
    height: 160px;
    padding-top: 12px;
    resize: vertical;
    line-height: 1.7;
}

.enterprise-filter-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.enterprise-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 34px;
}

.enterprise-card {
    display: flex;
    flex-direction: column;
    min-height: 232px;
    border: 1px solid var(--enterprise-line);
    border-radius: 8px;
    background: #fff;
    color: var(--enterprise-ink);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.enterprise-card:hover {
    color: var(--enterprise-ink);
    border-color: #c9d9f0;
    box-shadow: 0 16px 34px rgba(31, 75, 140, .1);
    transform: translateY(-3px);
}

.enterprise-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 22px 16px;
}

.enterprise-avatar {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background: linear-gradient(135deg, #3e8bff, #185bd8);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
}

.enterprise-card-name {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
}

.enterprise-card-meta {
    margin-top: 7px;
    color: var(--enterprise-muted);
    font-size: 13px;
}

.enterprise-card-body {
    padding: 0 22px 20px;
    color: #4f5b6f;
    line-height: 1.8;
    font-size: 14px;
    flex: 1;
}

.enterprise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.enterprise-tag {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border: 1px solid #dce8f8;
    border-radius: 4px;
    background: #f7fbff;
    color: #376398;
    font-size: 12px;
}

.enterprise-empty {
    padding: 70px 20px;
    border: 1px dashed #cdd9eb;
    border-radius: 8px;
    text-align: center;
    color: var(--enterprise-muted);
    background: #fff;
    margin-bottom: 34px;
}

.enterprise-form-shell,
.enterprise-detail-section {
    margin: 28px auto 44px;
    padding: 34px;
    border: 1px solid var(--enterprise-line);
    border-radius: 8px;
    background: #fff;
}

.enterprise-section-title {
    margin: 0 0 20px;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 800;
}

.enterprise-business-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.enterprise-business-card {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 62px;
    padding: 0 24px 0 34px;
    border: 1px solid #dce7f6;
    border-radius: 6px;
    background: #fbfcff;
    box-sizing: border-box;
    overflow: hidden;
}

.enterprise-business-card::before {
    content: "";
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: -1px;
    width: 7px;
    background: var(--enterprise-blue);
    border-radius: 6px 0 0 6px;
}

.enterprise-business-title {
    margin: 0;
    color: var(--enterprise-ink);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
    word-break: break-word;
}

.enterprise-form-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.enterprise-form-grid + .enterprise-section-title {
    margin-top: 34px;
}

.enterprise-checkboxes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.enterprise-checkboxes label {
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--enterprise-line);
    border-radius: 6px;
    padding: 0 12px;
    color: #4f5b6f;
}

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

.enterprise-upload-item {
    min-height: 92px;
    border: 1px solid var(--enterprise-line);
    border-radius: 6px;
    padding: 12px;
    background: var(--enterprise-soft);
}

.enterprise-upload-item img {
    width: 100%;
    height: 118px;
    object-fit: cover;
    border-radius: 4px;
    background: #eaf1fb;
}

.enterprise-upload-preview {
    display: block;
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: zoom-in;
    line-height: 0;
}

.enterprise-preview-layer .layui-layer-content {
    line-height: 0;
}

.enterprise-preview-dialog img {
    display: block;
    width: auto;
    height: auto;
    max-width: 92vw;
    max-height: 82vh;
    background: #fff;
}

.enterprise-upload-action {
    min-height: 92px;
    border: 1px dashed #b8c8df;
    border-radius: 6px;
    background: #fbfdff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--enterprise-blue);
    cursor: pointer;
    font-weight: 700;
}

.enterprise-form-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
}

.enterprise-status {
    margin: 22px 0;
    padding: 16px 18px;
    border-radius: 6px;
    background: #fff8e7;
    border: 1px solid #f6dfaa;
    color: #8a5a00;
}

.enterprise-status.is-approved {
    background: #edf9f1;
    border-color: #c4ead0;
    color: #1d7a3a;
}

.enterprise-detail-hero {
    color: #fff;
}

.enterprise-detail-hero .enterprise-wrap {
    padding: 46px 34px;
    background: linear-gradient(135deg, #3188ff 0%, #1458df 100%);
    border-radius: 8px;
    box-sizing: border-box;
}

.enterprise-detail-hero h1 {
    margin: 0;
    font-size: 42px;
    line-height: 1.2;
}

.enterprise-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
    font-size: 16px;
}

.enterprise-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.enterprise-contact-item {
    min-height: 74px;
    background: var(--enterprise-soft);
    border-radius: 6px;
    padding: 15px 18px;
}

.enterprise-contact-item span {
    display: block;
    color: var(--enterprise-muted);
    font-size: 13px;
    margin-bottom: 7px;
}

.enterprise-contact-item strong {
    font-size: 20px;
    word-break: break-all;
}

.enterprise-list-page {
    --enterprise-list-blue: #2f7cf1;
    --enterprise-list-blue-dark: #2357d4;
    --enterprise-list-ink: #142033;
    --enterprise-list-muted: #6f7b8d;
    --enterprise-list-line: #e7edf6;
    --enterprise-list-soft: #f7faff;
    background: #fff;
}

.enterprise-list-wrap {
    width: 1104px;
    max-width: calc(100% - 48px);
    margin: 0 auto;
}

.enterprise-list-hero {
    padding: 36px 0 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.enterprise-list-title {
    margin: 0;
    color: var(--enterprise-list-ink);
    font-size: 42px;
    line-height: 1.22;
    font-weight: 800;
    text-align: center;
}

.enterprise-list-summary {
    display: grid;
    grid-template-columns: 1fr 170px;
    gap: 12px;
    align-items: stretch;
    margin-top: 24px;
}

.enterprise-list-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.enterprise-list-stat {
    height: 82px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(29, 80, 150, .06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.enterprise-list-stat strong {
    color: var(--enterprise-list-blue);
    font-size: 28px;
    line-height: 1;
    font-weight: 800;
}

.enterprise-list-stat span {
    margin-top: 12px;
    color: var(--enterprise-list-ink);
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
}

.enterprise-list-cta {
    height: 82px;
    border-radius: 8px;
    background: linear-gradient(135deg, #256deb 0%, #1497e7 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(37, 109, 235, .24);
}

.enterprise-list-cta:hover {
    color: #fff;
    background: linear-gradient(135deg, #1f62dd 0%, #118bd7 100%);
}

.enterprise-list-filter {
    margin: 34px 0 32px;
    padding: 24px;
    border: 1px solid #dfe8f6;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 0 16px rgba(54, 116, 205, .14);
}

.enterprise-region-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.enterprise-region-tab {
    min-width: 82px;
    height: 32px;
    padding: 0 16px;
    border: 1px solid #d9e3f2;
    border-radius: 3px;
    background: #fbfdff;
    color: #596579;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.enterprise-region-tab:hover,
.enterprise-region-tab.is-active {
    border-color: var(--enterprise-list-blue);
    background: var(--enterprise-list-blue);
    color: #fff;
}

.enterprise-list-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin-top: 26px;
}

.enterprise-list-field label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.enterprise-list-field input,
.enterprise-list-field select {
    height: 46px;
    border: 1px solid #dfe7f3;
    border-radius: 6px;
    color: #667084;
    font-size: 13px;
    background-color: #fff;
}

.enterprise-list-filter-actions {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.enterprise-filter-submit {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0, 0, 0, 0);
}

.enterprise-reset-btn {
    min-width: 114px;
    height: 40px;
    border: 1px solid #dfe7f3;
    border-radius: 4px;
    background: #fbfdff;
    color: #5d6676;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.enterprise-reset-btn:hover {
    border-color: #cbd8ea;
    color: var(--enterprise-list-blue);
}

.enterprise-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 36px;
    margin-bottom: 40px;
}

.enterprise-company-card {
    position: relative;
    min-height: 218px;
    border: 1px solid #e3e8f1;
    border-radius: 8px;
    background: #fff;
    color: var(--enterprise-list-ink);
    display: block;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(34, 73, 130, .04);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.enterprise-company-card:hover,
.enterprise-company-card:focus {
    color: #fff;
    border-color: #cddaf0;
    box-shadow: 0 16px 34px rgba(38, 100, 218, .2);
    transform: translateY(-2px);
}

.enterprise-company-card:focus {
    outline: none;
}

.enterprise-company-card:focus-visible {
    outline: 3px solid rgba(47, 124, 241, .34);
    outline-offset: 3px;
}

.enterprise-company-normal {
    min-height: 218px;
    display: flex;
    flex-direction: column;
}

.enterprise-company-head {
    min-height: 78px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid #edf1f7;
    display: flex;
    align-items: center;
    gap: 14px;
}

.enterprise-company-avatar {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 7px;
    background: linear-gradient(135deg, #2f7cf1, #225bdc);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    font-weight: 800;
}

.enterprise-company-title {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.enterprise-company-title h2 {
    margin: 0;
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--enterprise-list-ink);
    font-size: 17px;
    line-height: 1.35;
    font-weight: 800;
}

.enterprise-company-title span {
    flex: 0 0 auto;
    min-width: 34px;
    height: 20px;
    padding: 0 8px;
    border-radius: 4px;
    background: #eaf3ff;
    color: #2666d7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.enterprise-company-body {
    flex: 1;
    padding: 14px 18px 12px;
    color: #5e6673;
    font-size: 15px;
    line-height: 1.6;
}

.enterprise-company-body p {
    margin: 0;
}

.enterprise-company-size {
    margin-top: 4px !important;
}

.enterprise-company-years {
    margin-top: 2px !important;
}

.enterprise-company-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin-top: -30px;
}

.enterprise-company-tags span {
    height: 22px;
    padding: 0 8px;
    border: 1px solid #dfe7f3;
    border-radius: 4px;
    background: #fbfdff;
    color: #596579;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
}

.enterprise-company-foot {
    min-height: 42px;
    margin-top: auto;
    background: #f7f9fc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.enterprise-company-hover {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 18px;
    background: linear-gradient(135deg, rgba(47, 141, 255, .94) 0%, rgba(36, 88, 214, .94) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease;
    pointer-events: none;
}

.enterprise-company-card:hover .enterprise-company-hover,
.enterprise-company-card:focus .enterprise-company-hover,
.enterprise-company-card:focus-visible .enterprise-company-hover {
    opacity: 1;
    transform: translateY(0);
}

.enterprise-company-hover-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.enterprise-company-hover-avatar {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .55);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    font-weight: 800;
}

.enterprise-company-hover-head h2 {
    margin: 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
}

.enterprise-company-desc {
    margin: 18px 0 0;
    min-height: 42px;
    overflow: hidden;
    color: rgba(255, 255, 255, .88);
    display: -webkit-box;
    font-size: 13px;
    line-height: 1.7;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.enterprise-company-phone {
    margin: 0;
    margin-top: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.enterprise-company-phone:before {
    content: "";
    width: 12px;
    height: 12px;
    margin-right: 8px;
    border-radius: 50%;
    background: #ed2f2f;
    display: inline-block;
    vertical-align: -1px;
}

.enterprise-company-more {
    align-self: center;
    min-width: 88px;
    height: 30px;
    margin-top: auto;
    border-radius: 4px;
    background: #fff;
    color: var(--enterprise-list-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
}

.enterprise-list-empty {
    margin-top: 0;
}

.enterprise-list-pagination {
    margin-bottom: 42px;
    text-align: center;
}

@media screen and (max-width: 1024px) {
    .enterprise-stats,
    .enterprise-grid,
    .enterprise-filter-grid,
    .enterprise-form-grid,
    .enterprise-upload-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .enterprise-list-summary,
    .enterprise-list-filter-grid,
    .enterprise-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .enterprise-list-cta {
        grid-column: 1 / -1;
    }
}

@media screen and (max-width: 640px) {
    .enterprise-wrap {
        max-width: calc(100% - 24px);
    }

    .enterprise-detail-hero .enterprise-wrap {
        padding: 34px 22px;
    }

    .enterprise-title,
    .enterprise-detail-hero h1 {
        font-size: 30px;
    }

    .enterprise-stats,
    .enterprise-grid,
    .enterprise-filter-grid,
    .enterprise-form-grid,
    .enterprise-upload-list,
    .enterprise-business-grid,
    .enterprise-detail-grid,
    .enterprise-checkboxes {
        grid-template-columns: 1fr;
    }

    .enterprise-form-shell,
    .enterprise-detail-section {
        padding: 22px;
    }

    .enterprise-list-wrap {
        max-width: calc(100% - 24px);
    }

    .enterprise-list-title {
        font-size: 32px;
    }

    .enterprise-list-summary,
    .enterprise-list-stats,
    .enterprise-list-filter-grid,
    .enterprise-card-grid {
        grid-template-columns: 1fr;
    }

    .enterprise-list-filter {
        padding: 16px;
    }

    .enterprise-region-tab {
        min-width: calc(50% - 5px);
    }

    .enterprise-company-card,
    .enterprise-company-card:hover,
    .enterprise-company-card:focus {
        color: var(--enterprise-list-ink);
        box-shadow: none;
        transform: none;
    }

    .enterprise-company-hover {
        display: none;
    }
}
