/* 运费计算器：规划区间 + AI 报价解读 */
.fc-est-band-label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted, #667085);
    margin-bottom: 2px;
}

.fc-ai {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--border, #e3e9f0);
}

.fc-ai-btn { margin-top: 0; }

.fc-ai-body {
    margin-top: 12px;
    padding: 14px 16px;
    border: 1px solid var(--border, #e3e9f0);
    border-radius: 8px;
    background: var(--bg-alt, #f5f7f9);
}

.fc-ai-title {
    font-size: .78rem;
    font-weight: 700;
    color: var(--text, #142a43);
    margin-bottom: 6px;
}

.fc-ai-summary {
    font-size: .82rem;
    line-height: 1.65;
    color: var(--text, #142a43);
    margin: 0 0 10px;
}

.fc-ai-block { margin-bottom: 10px; }

.fc-ai-block h4 {
    margin: 0 0 4px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-muted, #667085);
}

.fc-ai-block ul { margin: 0; padding-left: 18px; }

.fc-ai-block li {
    margin-bottom: 2px;
    font-size: .8rem;
    line-height: 1.6;
    color: var(--text-secondary, #526071);
}

.fc-ai-next {
    margin: 0 0 8px;
    font-size: .8rem;
    line-height: 1.6;
    color: var(--text, #142a43);
}

.fc-ai-note {
    margin: 8px 0 0;
    padding-top: 8px;
    border-top: 1px solid var(--border, #e3e9f0);
    font-size: .7rem;
    line-height: 1.5;
    color: var(--text-muted, #667085);
}

.fc-ai-status { margin: 0; font-size: .8rem; color: var(--text-muted, #667085); }
.fc-ai-status--error { color: #b42318; }

/* 尺寸单位与实时体积预览 */
.fc-dims-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.fc-dims-head .fc-dims-label { margin: 0; }

.fc-unit-select {
    width: auto;
    padding: 6px 30px 6px 10px;
    border: 1px solid var(--border, #e3e9f0);
    border-radius: 8px;
    background-color: var(--bg, #fff);
    color: var(--text, #142a43);
    font-family: inherit;
    font-size: .8rem;
    cursor: pointer;
}

.fc-dims-preview {
    min-height: 18px;
    margin: -8px 0 12px;
    font-size: .75rem;
    color: var(--text-muted, #667085);
}

/* 费率依据 */
.fc-rate-basis {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px dashed var(--border, #e3e9f0);
}

.fc-rate-basis summary {
    cursor: pointer;
    font-size: .78rem;
    font-weight: 600;
    color: var(--orange, #2563eb);
}

.fc-rate-basis .fc-breakdown { margin-top: 8px; }
.fc-rate-basis .fc-note { margin-top: 6px; }

.fc-rate-scroll { overflow-x: auto; }

.fc-rate-table { min-width: 560px; }

.fc-rate-table th {
    padding: 6px 8px;
    text-align: right;
    font-size: .68rem;
    font-weight: 700;
    color: var(--text-muted, #667085);
    border-bottom: 1px solid var(--border, #e3e9f0);
    white-space: nowrap;
}

.fc-rate-table th:first-child,
.fc-rate-table td:first-child { text-align: left; }

.fc-alt {
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid var(--border, #e3e9f0);
    border-radius: 8px;
    background: var(--bg-alt, #f5f7f9);
}

.fc-alt-title {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-muted, #667085);
    margin-bottom: 4px;
}

.fc-alt-table { margin: 0; }

.fc-est-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
}

.fc-email {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    margin-top: 8px;
}

.fc-email-input {
    padding: 10px 12px;
    border: 1px solid var(--border, #e3e9f0);
    border-radius: 8px;
    background: var(--bg, #fff);
    color: var(--text, #142a43);
    font-family: inherit;
    font-size: .8rem;
}

.fc-email-status {
    min-height: 16px;
    margin: 6px 0 0;
    font-size: .75rem;
    color: var(--text-muted, #667085);
}

@media print {
    body * { visibility: hidden; }
    #calculator, #calculator * { visibility: visible; }
    #calculator { position: absolute; left: 0; top: 0; width: 100%; }
    .fc-breakdown-wrap { display: block !important; }
    .fc-mode,
    .fc-ai,
    .fc-est-actions,
    .fc-quote-cta,
    .fc-rate-basis,
    .site-header,
    .site-footer,
    .sgnav,
    .mobile-bar { display: none !important; }
}
