/* Lawyer detail actions only. PDF generation/layout is intentionally unchanged. */
.shjl_body_text > .jiali-lawyer-portrait {
    height: auto !important;
    max-height: none !important;
    min-height: 0;
    overflow: visible;
    max-width: 100%;
    margin: 20px auto 0;
    padding: 0;
    line-height: 0;
}
.shjl_body_text > .jiali-lawyer-portrait img {
    display: block;
    max-width: 100%;
    height: auto !important;
    margin: 0 auto;
}
.shjl_body_text .jiali-lawyer-actions {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 400px;
    max-width: 100%;
    margin: 16px auto 30px;
    padding: 13px;
    border: 1px solid #e9e6e2;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(38,31,23,.035);
    text-align: left;
}
.jiali-lawyer-actions [hidden] { display: none !important; }
.shjl_body_text .jiali-lawyer-actions a {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin: 0;
    text-decoration: none;
    line-height: 1.4;
}
.shjl_body_text .jiali-lawyer-actions .jiali-lawyer-download {
    flex: 0 0 138px;
    gap: 8px;
    padding: 11px 12px;
    border-radius: 6px;
    background: #292929;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color .15s ease;
}
.shjl_body_text .jiali-lawyer-actions .jiali-lawyer-download .layui-icon {
    color: #ff944b;
    font-size: 21px;
    font-weight: 400;
}
.shjl_body_text .jiali-lawyer-actions .jiali-lawyer-download span { font: inherit; }
.shjl_body_text .jiali-lawyer-actions .jiali-lawyer-download:hover {
    background: #111;
    color: #fff;
}
.shjl_body_text .jiali-lawyer-actions .jiali-lawyer-phone {
    flex: 1 1 0;
    min-width: 0;
    gap: 9px;
    padding: 1px 0 1px 12px;
    border-left: 1px solid #e9e6e2;
    color: #303030;
}
.shjl_body_text .jiali-lawyer-actions .jiali-lawyer-phone .layui-icon {
    flex: none;
    color: #b94d0e;
    font-size: 23px;
}
.shjl_body_text .jiali-lawyer-actions .jiali-lawyer-phone-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    white-space: nowrap;
}
.shjl_body_text .jiali-lawyer-actions .jiali-lawyer-phone small {
    color: #666;
    font-size: 12px;
    font-weight: 400;
}
.shjl_body_text .jiali-lawyer-actions .jiali-lawyer-phone strong {
    color: #303030;
    font: 600 16px/1.4 Arial,"Microsoft YaHei",sans-serif;
    letter-spacing: .1px;
}
.shjl_body_text .jiali-lawyer-actions .jiali-lawyer-phone:hover strong { color: #ab470a; }
.shjl_body_text .jiali-lawyer-actions a:focus-visible {
    outline: 2px solid #b94d0e;
    outline-offset: 3px;
}
.shjl_body_text .jiali-lawyer-download[hidden] + .jiali-lawyer-phone {
    border-left: 0;
    padding-left: 0;
}
@media (max-width: 480px) {
    .shjl_body_text .jiali-lawyer-actions {
        gap: 10px;
        margin-top: 14px;
        margin-bottom: 26px;
        padding: 11px;
        border-radius: 8px;
    }
    .shjl_body_text .jiali-lawyer-actions .jiali-lawyer-download { flex-basis: 126px; }
}
@media (max-width: 360px) {
    .shjl_body_text .jiali-lawyer-actions .jiali-lawyer-download {
        flex-basis: 104px;
        gap: 6px;
        padding-inline: 8px;
        font-size: 14px;
    }
    .shjl_body_text .jiali-lawyer-actions .jiali-lawyer-phone { gap: 5px; padding-left: 8px; }
    .shjl_body_text .jiali-lawyer-actions .jiali-lawyer-phone .layui-icon { font-size: 19px; }
    .shjl_body_text .jiali-lawyer-actions .jiali-lawyer-phone strong { font-size: 14px; letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .shjl_body_text .jiali-lawyer-actions .jiali-lawyer-download { transition: none; }
}
