.srl-review-line {
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.8;
    padding: 2px 0;
}

.srl-label {
    color: #555;
    font-weight: 600;
}

.srl-value {
    padding: 0 4px;
    cursor: default;
    position: relative;
}

.srl-value.srl-has-tooltip {
    cursor: help;
    border-bottom: 1px dotted transparent;
    transition: border-color 0.2s ease;
}

.srl-value.srl-has-tooltip:hover {
    border-bottom-color: currentColor;
}

.srl-value.srl-has-tooltip:hover::after {
    content: attr(data-srl-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 6px;
    padding: 8px 12px;
    background: #1b2838;
    color: #c7d5e0;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
    border-radius: 3px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    z-index: 10000;
    pointer-events: none;
    animation: srl-tooltip-fadein 0.15s ease-out;
}

.srl-value.srl-has-tooltip:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 2px;
    border: 5px solid transparent;
    border-top-color: #1b2838;
    z-index: 10001;
    pointer-events: none;
}

@keyframes srl-tooltip-fadein {
    from { opacity: 0; transform: translateX(-50%) translateY(4px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.srl-positive .srl-value {
    color: #66c0f4;
    font-weight: 500;
}

.srl-mixed .srl-value {
    color: #d2b92b;
    font-weight: 500;
}

.srl-negative .srl-value {
    color: #d64541;
    font-weight: 500;
}

.srl-no-data .srl-value {
    color: #999;
    font-style: italic;
}

.srl-error {
    color: #d64541;
    background: #fff0f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
}

.srl-fallback-tag {
    display: inline-block;
    font-size: 10px;
    color: #e67e22;
    background: #fef3e5;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 4px;
    vertical-align: middle;
    font-weight: normal;
    cursor: help;
    border: 1px solid #f5d89a;
}

.srl-original-text {
    display: none !important;
}

.srl-auto-inject {
    display: block;
    margin: 10px 0;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border-left: 3px solid #67c1f5;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.srl-auto-inject .srl-review-line {
    display: block;
}
