	
		.admin-container { display: flex; min-height: 100vh; }
        .sidebar { width: 250px; background: #333; color: #fff; padding: 20px; }
        .sidebar h2 { font-size: 1.2rem; margin-bottom: 20px; }
        .sidebar ul { list-style: none; padding: 0; }
        .sidebar ul li { padding: 10px 0; border-bottom: 1px solid #444; }
        .sidebar ul li a { color: #fff; text-decoration: none; display: block; }
        .sidebar ul li a:hover { color: #ffd700; }
        .content { flex: 1; padding: 20px; background: #f4f4f4; }
        table { width: 100%; border-collapse: collapse; background: #fff; box-shadow: 0 0 10px rgba(0,0,0,0.1); }
        th, td { padding: 12px; border: 1px solid #ddd; text-align: left; }
        th { background: #eee; font-weight: bold; }
        tr:hover { background: #f9f9f9; }
		
		    .masters-page {
        background: #f8fafc;
        min-height: 60vh;
    }
    .master-card {
        transition: transform 0.22s ease, box-shadow 0.22s ease;
    }
    .master-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(30,58,138,0.13);
    }
    .spec-badge {
        display: inline-block;
        padding: 2px 10px;
        border-radius: 999px;
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        background: #dbeafe;
        color: #1e40af;
    }
    .filter-btn {
        transition: all 0.18s;
        cursor: pointer;
        border: 2px solid transparent;
    }
    .filter-btn:hover {
        border-color: #1e3a8a;
        color: #1e3a8a;
        background: #eff6ff;
    }
    .filter-btn.active {
        background: #1e3a8a;
        color: #fff;
        border-color: #1e3a8a;
    }
    .search-input:focus {
        box-shadow: 0 0 0 3px rgba(30,58,138,0.15);
    }
    .experience-bar {
        height: 4px;
        background: #e2e8f0;
        border-radius: 2px;
        overflow: hidden;
    }
    .experience-fill {
        height: 100%;
        background: linear-gradient(90deg, #1e3a8a, #3b82f6);
        border-radius: 2px;
    }
    .no-results {
        display: none;
    }
    .avatar-placeholder {
        background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        font-weight: 700;
        color: white;
    }
    #masters-count-badge {
        transition: all 0.2s;
    }
    /* Портфолио */
    .portfolio-thumb-strip {
        display: flex;
        gap: 4px;
        overflow: hidden;
    }
    .portfolio-thumb-strip img {
        width: 48px;
        height: 40px;
        object-fit: cover;
        border-radius: 5px;
        border: 1px solid #e2e8f0;
        flex-shrink: 0;
        transition: transform .15s;
        cursor: pointer;
    }
    .portfolio-thumb-strip img:hover { transform: scale(1.06); }
    .portfolio-more-badge {
        width: 48px; height: 40px;
        border-radius: 5px;
        background: #1e3a8a;
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        cursor: pointer;
    }
    /* Модалка портфолио */
    .pf-modal-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.75);
        z-index: 9000;
        align-items: center;
        justify-content: center;
        padding: 16px;
    }
    .pf-modal-overlay.open { display: flex; }
    .pf-modal-box {
        background: #fff;
        border-radius: 16px;
        width: 100%;
        max-width: 720px;
        max-height: 90vh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        box-shadow: 0 24px 60px rgba(0,0,0,.4);
        animation: pfSlide .2s ease;
    }
    @keyframes pfSlide { from { transform:translateY(20px); opacity:0; } to { transform:none; opacity:1; } }
    .pf-modal-header {
        padding: 16px 20px;
        border-bottom: 1px solid #f1f5f9;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-shrink: 0;
    }
    .pf-modal-body {
        overflow-y: auto;
        padding: 16px;
        flex: 1;
    }
    .pf-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 10px;
    }
    .pf-grid-item {
        aspect-ratio: 1;
        border-radius: 10px;
        overflow: hidden;
        cursor: zoom-in;
        border: 1px solid #e2e8f0;
        position: relative;
    }
    .pf-grid-item img {
        width: 100%; height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .2s;
    }
    .pf-grid-item:hover img { transform: scale(1.05); }
    .pf-caption {
        position: absolute; bottom: 0; left: 0; right: 0;
        background: linear-gradient(transparent, rgba(0,0,0,.6));
        color: #fff;
        font-size: 10px;
        padding: 6px 7px 5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    /* Лайтбокс */
    .pf-lightbox {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.9);
        z-index: 9999;
        align-items: center;
        justify-content: center;
    }
    .pf-lightbox.open { display: flex; }
    .pf-lightbox img {
        max-width: 92vw;
        max-height: 90vh;
        border-radius: 8px;
        box-shadow: 0 0 60px rgba(0,0,0,.6);
    }
    .pf-lb-close {
        position: fixed; top: 14px; right: 18px;
        background: rgba(255,255,255,.15);
        border: none; color: #fff; font-size: 26px;
        cursor: pointer; border-radius: 8px;
        padding: 2px 12px; line-height: 1.4;
    }
    .pf-btn {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 12px;
        font-weight: 600;
        color: #1e3a8a;
        background: #eff6ff;
        border: 1px solid #bfdbfe;
        border-radius: 7px;
        padding: 5px 10px;
        cursor: pointer;
        transition: background .15s;
        white-space: nowrap;
    }
    .pf-btn:hover { background: #dbeafe; }