.protolabor-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    gap: 26px;
    align-items: stretch;
    margin-bottom: 28px;
}

.protolabor-detail-hero__text,
.protolabor-detail-hero__preview {
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(0,0,0,0.24);
}

.protolabor-detail-hero__text {
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 330px;
}

.protolabor-detail-hero__text h1 {
    font-size: 2.5rem;
    line-height: 1.07;
    font-weight: 850;
    margin-bottom: 12px;
}

.protolabor-detail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.protolabor-detail-hero__preview {
    min-height: 330px;
    background: #0b111b;
}

.protolabor-detail-hero__preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.protolabor-preview-fallback {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.48);
    font-size: 1rem;
    background: radial-gradient(circle at center, rgba(102,217,239,0.15), transparent 55%);
}

.protolabor-preview-fallback i {
    font-size: 3rem;
}

.protolabor-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 22px;
}

.protolabor-detail-main,
.protolabor-detail-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.protolabor-description {
    color: var(--pl-muted);
    line-height: 1.62;
}

.protolabor-note {
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.protolabor-code {
    max-height: 560px;
    overflow: auto;
    margin: 0;
    padding: 16px;
    border-radius: 12px;
    background: #080d14;
    border: 1px solid rgba(255,255,255,0.08);
    color: #d9e7ff;
    font-size: 0.88rem;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}

.protolabor-facts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.protolabor-facts div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding-bottom: 9px;
}

.protolabor-facts span {
    color: var(--pl-muted);
}

.protolabor-facts strong {
    color: var(--pl-text);
    text-align: right;
}

@media (max-width: 900px) {
    .protolabor-detail-hero,
    .protolabor-detail-layout {
        grid-template-columns: 1fr;
    }
}
