/*
 * 홈 실시간 견적 (.live-quotes)
 * style.css 번들에 넣지 않고 index.php의 $additional_css로만 로드한다.
 * 단색만 쓴다.
 */

.live-quotes {
    background: #fff;
    border-bottom: 1px solid var(--border-color, #e3e8ef);
    padding: 16px 0 18px;
}

.home-main > .live-quotes {
    padding-top: calc(var(--header-h, 76px) + 16px);
}

.live-quotes + .php-sec-strip {
    padding-top: 28px;
}

.live-quotes-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.live-quotes-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 18px;
    margin-bottom: 12px;
}

.live-quotes-kicker {
    margin: 0;
    color: var(--text-primary, #101828);
    font-size: 1.05rem;
    font-weight: 800;
}

.live-quotes-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background: #16a34a;
    vertical-align: 1px;
}

.live-quotes-note {
    margin: 0;
    color: var(--text-secondary, #475467);
    font-size: 0.875rem;
}

.live-quotes-viewport {
    max-height: 280px;
    overflow: auto;
    border: 1px solid var(--border-color, #e3e8ef);
    border-radius: 12px;
    background: #f8fafc;
}

.live-quotes-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.live-quotes-list li {
    display: grid;
    grid-template-columns: 96px 132px minmax(0, 1fr);
    gap: 8px 14px;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #e7edf4;
    background: #fff;
}

.live-quotes-list li:last-child {
    border-bottom: 0;
}

.live-quotes-list time {
    color: #667085;
    font-size: 0.8125rem;
    font-variant-numeric: tabular-nums;
}

.live-quotes-list strong {
    color: #101828;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}

.live-quotes-list span {
    color: #344054;
    font-size: 0.9rem;
    line-height: 1.45;
    word-break: keep-all;
}

@media (max-width: 760px) {
    .home-main > .live-quotes {
        padding-top: calc(var(--header-h, 64px) + 12px);
    }

    .live-quotes-list li {
        grid-template-columns: 88px 1fr;
    }

    .live-quotes-list span {
        grid-column: 1 / -1;
    }
}
