.category-list li,
.draft-link,
.section-admin-row {
    padding: 12px 14px;
    margin-bottom: 10px;
}

.category-list li {
    border: 2px solid transparent;
    padding: 0;
    overflow: hidden;
}

.category-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 14px;
    color: inherit;
    text-decoration: none;
}

.category-list li:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.category-list li.active a {
    color: #fff;
}

.category-list .count {
    background: #e2e8f0;
    color: #1e293b;
    padding: 2px 8px;
    min-width: 28px;
    text-align: center;
    float: none;
    margin-left: 12px;
}

.portal-actions,
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.stats-row .stat-card {
    min-height: 108px;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.stat-card strong {
    font-size: 26px;
    color: #1d4ed8;
}

.app-grid .app-card,
.app-list .app-card {
    position: relative;
    overflow: hidden;
}

.app-grid .app-card::after,
.app-list .app-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 16px;
    height: 16px;
    background: #dbeafe;
    border-left: 2px solid #0f172a;
    border-bottom: 2px solid #0f172a;
}

.app-card .icon,
.app-detail-header .icon {
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    border: 2px solid #0f172a;
}

.app-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 rgba(15, 23, 42, 0.12);
}

.portal-table th {
    background: #eff6ff;
    color: #0f172a;
}

.portal-table td,
.portal-table th {
    border-bottom: 1px solid #cbd5e1;
}

.portal-table tr:hover td {
    background: #f8fbff;
}

.status-draft {
    border: 1px solid #d97706;
}

.status-pending {
    border: 1px solid #1d4ed8;
}

.status-approved {
    border: 1px solid #15803d;
}

.section-chip {
    border: 2px solid #cbd5e1;
    padding: 0;
    box-shadow: 4px 4px 0 rgba(15, 23, 42, 0.05);
}

.section-chip span {
    display: inline-block;
    padding: 10px 12px;
    min-width: 76px;
    text-align: center;
    background: #fff;
}

.section-chip input:checked + span {
    background: #2563eb;
    color: #fff;
}

.upload-dropzone,
.upload-preview {
    padding-top: 18px;
}

.upload-title {
    color: #0f172a;
    font-weight: 600;
}

.desktop-footer,
.mobile-footer {
    background: #0f172a;
    color: #cbd5e1;
    border-top: 2px solid #020617;
}

.mobile-search,
.mobile-categories,
.mobile-quick-links,
.mobile-content .portal-panel,
.mobile-content .app-detail,
.mobile-content .mobile-portal-overview,
.mobile-content .app-card {
    box-shadow: 6px 6px 0 rgba(15, 23, 42, 0.07);
}

.mobile-quick-links,
.mobile-search,
.mobile-categories {
    border-bottom: 2px solid #0f172a;
}

.mobile-quick-links a,
.back-btn,
.download-btn,
.portal-button {
    margin-bottom: 8px;
}

@media (max-width: 900px) {
    .portal-hero {
        display: block;
    }

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

@media (max-width: 640px) {
    body {
        background-size: 18px 18px;
    }

    .mobile-content,
    .desktop-main {
        gap: 14px;
    }

    .mobile-header,
    .desktop-header,
    .desktop-sidebar,
    .portal-panel,
    .mobile-portal-overview,
    .app-detail,
    .app-card {
        box-shadow: 4px 4px 0 rgba(15, 23, 42, 0.08);
    }
}
