.gem-wrap{
    max-width:1200px;
    margin:40px auto;
    padding:0 20px;
    font-family:Inter, Arial, sans-serif;
    color:#111827;
}

.gem-nav{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:24px;
    padding:14px 18px;
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,.04);
}

.gem-nav a{
    text-decoration:none;
    color:#111827;
    font-weight:600;
    padding:10px 14px;
    border-radius:12px;
    transition:.2s ease;
}

.gem-nav a:hover{
    background:#f3f4f6;
}

.gem-hero{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
    background:linear-gradient(135deg,#111827,#1f2937);
    color:#fff;
    border-radius:24px;
    padding:28px;
    margin-bottom:28px;
    box-shadow:0 20px 40px rgba(17,24,39,.18);
}

.gem-hero h1{
    margin:0 0 10px;
    font-size:34px;
    line-height:1.1;
    text-transform:lowercase;
}

.gem-hero p{
    margin:0;
    opacity:.92;
}

.gem-hero-badge{
    background:rgba(255,255,255,.08);
    padding:18px 20px;
    border-radius:18px;
    min-width:220px;
    text-align:right;
    border:1px solid rgba(255,255,255,.15);
}

.gem-hero-badge span{
    display:block;
    font-size:13px;
    opacity:.8;
    margin-bottom:6px;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.gem-hero-badge strong{
    font-size:30px;
}

.gem-grid{
    display:grid;
    gap:20px;
    margin-bottom:24px;
}

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

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

.gem-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:22px;
    padding:24px;
    box-shadow:0 14px 34px rgba(0,0,0,.05);
}

.gem-card h2,
.gem-card h3{
    margin-top:0;
    text-transform:lowercase;
}

.gem-kpi-label{
    display:block;
    font-size:13px;
    color:#6b7280;
    margin-bottom:8px;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.gem-kpi-value{
    font-size:36px;
    line-height:1;
}

.gem-form{
    display:grid;
    gap:12px;
}

.gem-form label{
    font-weight:600;
    font-size:14px;
}

.gem-form input,
.gem-form select,
.gem-form textarea{
    width:100%;
    border:1px solid #d1d5db;
    border-radius:12px;
    padding:12px 14px;
    font-size:15px;
    box-sizing:border-box;
    background:#fff;
}

.gem-form textarea{
    min-height:110px;
    resize:vertical;
}

.gem-checkboxes{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
}

.gem-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 18px;
    border-radius:12px;
    background:#111827;
    color:#fff;
    text-decoration:none;
    border:none;
    cursor:pointer;
    font-weight:700;
}

.gem-btn-primary{
    background:#111827;
    color:#fff;
}

.gem-btn:hover{
    opacity:.92;
}

.gem-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.gem-table{
    width:100%;
    border-collapse:collapse;
    margin-top:10px;
}

.gem-table th,
.gem-table td{
    border-bottom:1px solid #e5e7eb;
    padding:12px 10px;
    text-align:left;
}

.gem-table th{
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:.05em;
    color:#6b7280;
}

.gem-link{
    color:#111827;
    font-weight:700;
    text-decoration:none;
}

.gem-list-clean{
    margin:0;
    padding-left:18px;
}

@media (max-width:980px){
    .gem-grid-2,
    .gem-grid-4{
        grid-template-columns:1fr;
    }

    .gem-hero{
        flex-direction:column;
        align-items:flex-start;
    }

    .gem-hero-badge{
        width:100%;
        text-align:left;
    }
}