/* AI 估价页(2026-09-19,对齐 App app/pages/ai/estimate.vue 的配色:深空蓝 + 靛紫→青色,CTA 用品牌橙) */

.est-hero {
    position: relative;
    overflow: hidden;
    margin: 0 0 16px;
    padding: 22px 18px 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0B1026 0%, #1B1F4B 55%, #23306B 100%);
    color: #fff;
}
.est-hero-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.est-engine { font-size: 14px; font-weight: 600; color: #BFD2FF; }
.est-hero h1 { margin: 0 0 8px; font-size: clamp(25px, 6.2vw, 32px); line-height: 1.25; font-weight: 900; color: #fff; }
.est-hero p { margin: 0 0 14px; font-size: 16px; line-height: 1.55; font-weight: 500; color: #DCE4FF; }
.est-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.est-chips li {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    font-size: 14px;
    font-weight: 700;
}

.est-qty { display: flex; align-items: center; gap: 10px; }
.est-qty .lp-input { flex: 1 1 auto; min-width: 0; }
.est-unit { flex: 0 0 auto; font-size: 17px; font-weight: 800; color: #444; }
.est-unit-pick { flex: 0 0 150px !important; }

.lp-submit .lp-ai-tag { background: rgba(255, 255, 255, .25); }
/* 2026-09-19 「开始估价」主按钮与 App 估价页同色(原来是橙色) */
.lp-btn-main.lp-submit {
    background: linear-gradient(90deg, #4F46E5 0%, #7C3AED 55%, #06B6D4 100%);
    box-shadow: 0 6px 18px rgba(6, 182, 212, .30);
}
.lp-btn-main.lp-submit:hover { background: linear-gradient(90deg, #4F46E5 0%, #7C3AED 55%, #06B6D4 100%); filter: brightness(1.05); }

/* 分析中 */
.est-thinking {
    margin-top: 16px;
    padding: 24px 18px;
    border-radius: 16px;
    background: #fff;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}
.est-spinner {
    width: 44px;
    height: 44px;
    margin: 0 auto 12px;
    border-radius: 50%;
    border: 4px solid #E6E9F8;
    border-top-color: #4F46E5;
    animation: est-spin .9s linear infinite;
}
@keyframes est-spin { to { transform: rotate(360deg); } }
.est-thinking-title { margin: 0 0 12px; font-size: 19px; font-weight: 900; color: var(--lp-text); }
.est-steps { list-style: none; margin: 0 auto 8px; padding: 0; max-width: 300px; text-align: left; }
.est-steps li { padding: 6px 0 6px 26px; position: relative; font-size: 16px; font-weight: 600; color: #aaa; }
.est-steps li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 13px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
}
.est-steps li.cur { color: var(--lp-text); }
.est-steps li.cur::before { background: #4F46E5; }
.est-steps li.done { color: #1f7a3f; }
.est-steps li.done::before { background: #1f9d55; }

/* 结果 */
.est-total {
    padding: 22px 18px 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0B1026 0%, #1B1F4B 55%, #23306B 100%);
    color: #fff;
    margin-bottom: 14px;
}
.est-total-head { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 800; color: #DCE4FF; margin-bottom: 10px; }
.est-total-project { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.est-total-range { margin: 0 0 6px; font-size: clamp(30px, 8.5vw, 40px); font-weight: 900; line-height: 1.2; color: #fff; overflow-wrap: anywhere; }
.est-total-meta { margin: 0 0 14px; font-size: 15px; font-weight: 600; color: #BFD2FF; }
.est-meter { display: flex; align-items: center; gap: 6px; }
.est-bar { width: 34px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .2); }
.est-meter.high .est-bar.lit { background: #34D399; }
.est-meter.medium .est-bar.lit { background: #FBBF24; }
.est-meter.low .est-bar.lit { background: #F87171; }
.est-meter-txt { margin-left: 6px; font-size: 16px; font-weight: 800; }
.est-conf-note { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: #DCE4FF; }
.est-low-tip { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(248, 113, 113, .18); font-size: 15px; font-weight: 600; line-height: 1.5; color: #FFE1E1; }

.est-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
    padding: 18px 16px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}
.est-cta-title { margin: 0 0 2px; font-size: 19px; font-weight: 900; color: var(--lp-text); }
.est-cta .lp-btn { width: 100%; }

.est-card {
    margin-bottom: 12px;
    padding: 18px 16px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}
.est-card h2, .est-card summary { margin: 0 0 10px; font-size: 18px; font-weight: 900; color: var(--lp-text); }
.est-card summary { margin: 0; cursor: pointer; min-height: 32px; list-style-position: inside; }
details.est-card[open] summary { margin-bottom: 10px; }
.est-card p { margin: 0; font-size: 16px; line-height: 1.6; color: #333; }
.est-bd { list-style: none; margin: 0; padding: 0; }
.est-bd li { padding: 12px 0; border-top: 1px solid #f0f0f0; }
.est-bd li:first-child { border-top: none; padding-top: 0; }
.est-bd-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.est-bd-name { font-size: 16px; font-weight: 800; color: var(--lp-text); overflow-wrap: anywhere; }
.est-bd-price { flex: 0 0 auto; font-size: 16px; font-weight: 800; color: #C94A12; white-space: nowrap; }
.est-bd-src { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; font-size: 12px; font-weight: 800; background: #EEF0F5; color: #555; vertical-align: 2px; }
.est-bd-src.real { background: #E6F6EC; color: #1f7a3f; }
.est-bd-note { margin-top: 4px; font-size: 15px; line-height: 1.5; color: #666; }
.est-li { margin: 0; padding-left: 20px; }
.est-li li { font-size: 16px; line-height: 1.6; color: #333; margin-bottom: 4px; }
.est-disclaimer { margin: 4px 2px 0; font-size: 14px; line-height: 1.6; color: #777; }
