/* 向导扩展样式 — 多文件上传、表单、学校卡片 */

/* 多文件页码输入 */
.file-page { display: flex; align-items: center; gap: 4px; margin-right: 10px; }
.file-page label { font-size: 12px; color: var(--text-3); white-space: nowrap; }
.page-input { width: 48px; padding: 2px 6px; border: 1px solid var(--border); border-radius: 4px; text-align: center; font-size: 13px; }
.page-input:focus { outline: none; border-color: var(--primary); }

/* OCR 分页展示 */
.ocr-page-header { font-weight: 600; color: var(--primary); margin: 16px 0 6px; padding: 4px 8px; background: var(--bg-2); border-radius: 4px; font-size: 13px; }
.ocr-page-header:first-child { margin-top: 0; }
.ocr-page-text { white-space: pre-wrap; font-size: 13px; line-height: 1.7; color: var(--text-2); padding: 0 8px; }

/* 表单控件 */
.form-group { margin-bottom: 16px; }
.form-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--text-1); }
.form-input { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; box-sizing: border-box; transition: border-color .2s; }
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px rgba(22,119,255,.1); }

/* 学校卡片 */
.school-list { display: flex; flex-direction: column; gap: 10px; }
.school-card { padding: 14px 16px; border: 1px solid var(--border); border-radius: 8px; background: #fff; transition: border-color .2s; }
.school-card.matched { border-left: 3px solid var(--success); }
.school-card.unmatched { border-left: 3px solid var(--warning); opacity: .75; }
.school-name { font-size: 15px; font-weight: 600; color: var(--text-1); margin-bottom: 6px; }
.school-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.school-tag { font-size: 12px; padding: 2px 8px; border-radius: 4px; background: var(--bg-2); color: var(--text-3); }
.school-tag.tag-public { background: #e6f7ff; color: #1677ff; }
.school-tag.tag-private { background: #fff7e6; color: #fa8c16; }
.school-tag.tag-level { background: #f6ffed; color: #52c41a; }
.school-distance { font-size: 12px; color: var(--text-4); }
.school-features { font-size: 13px; color: var(--text-3); margin-top: 6px; }
.school-community { font-size: 13px; color: var(--primary); margin-top: 4px; }
.match-badge { display: inline-block; font-size: 11px; padding: 1px 6px; margin-left: 8px; border-radius: 3px; background: var(--success); color: #fff; font-weight: 400; vertical-align: middle; }
.unmatch-badge { display: inline-block; font-size: 11px; padding: 1px 6px; margin-left: 8px; border-radius: 3px; background: var(--warning); color: #fff; font-weight: 400; vertical-align: middle; }
.property-meta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.property-meta-item { padding: 12px; border-radius: 10px; background: rgba(255,255,255,.78); border: 1px solid rgba(22,119,255,.10); font-size: 13px; color: var(--text-2); line-height: 1.6; }
.property-meta-item span { color: var(--text-3); }
.property-score-breakdown { display: grid; gap: 10px; margin-top: 14px; }
.property-score-item { padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.82); border: 1px solid rgba(22,119,255,.10); }
.property-score-item-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; color: var(--text-1); }
.property-score-item-desc { margin-top: 6px; font-size: 12px; line-height: 1.7; color: var(--text-3); }

/* 征信匹配增强 */
.match-summary-card { margin-bottom: 18px; padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%); }
.match-summary-title { font-size: 16px; font-weight: 600; color: var(--text-1); margin-bottom: 10px; }
.match-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.match-summary-item { padding: 12px; border-radius: 10px; background: rgba(255,255,255,.82); border: 1px solid rgba(22,119,255,.10); }
.match-summary-label { font-size: 12px; color: var(--text-3); margin-bottom: 6px; }
.match-summary-value { font-size: 18px; font-weight: 600; color: var(--text-1); }
.match-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.match-textarea { min-height: 140px; resize: vertical; }
.match-helper { margin-top: 8px; font-size: 12px; line-height: 1.6; color: var(--text-3); }
.match-section { margin-top: 18px; padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.match-section-title { margin-bottom: 12px; font-size: 16px; font-weight: 600; color: var(--text-1); }
.match-chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.match-chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; background: #f5f8ff; border: 1px solid #d7e6ff; color: #16508c; font-size: 13px; }
.match-chip.soft { background: #f8fafc; border-color: #e2e8f0; color: var(--text-2); }
.match-warning { margin-top: 18px; padding: 14px 16px; border-radius: 12px; border: 1px solid #ffd8bf; background: #fff7e8; color: #ad4e00; line-height: 1.7; }
.match-group { margin-top: 18px; padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.match-group-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.match-group-title { font-size: 17px; font-weight: 600; color: var(--text-1); }
.match-group-subtitle { margin-top: 6px; font-size: 13px; line-height: 1.6; color: var(--text-3); }
.match-group-limit { padding: 4px 10px; border-radius: 999px; background: #eef6ff; color: #135cb0; font-size: 12px; white-space: nowrap; }
.match-note-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.match-note { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border-radius: 999px; background: #f6ffed; color: #237804; font-size: 12px; }
.match-empty { padding: 14px 16px; border-radius: 10px; background: #fafafa; color: var(--text-3); line-height: 1.7; }
.loan-card-list { display: grid; gap: 14px; }
.loan-card { padding: 16px; border-radius: 12px; border: 1px solid var(--border); background: #fff; box-shadow: 0 8px 24px rgba(15,23,42,.04); }
.loan-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.loan-card-name { font-size: 16px; font-weight: 600; color: var(--text-1); }
.loan-card-bank { margin-top: 6px; font-size: 13px; color: var(--text-3); }
.loan-card-score { min-width: 84px; padding: 10px 12px; border-radius: 12px; background: #f5faff; text-align: center; }
.loan-card-score-value { font-size: 22px; font-weight: 700; color: #1677ff; line-height: 1; }
.loan-card-score-label { margin-top: 6px; font-size: 11px; color: var(--text-3); }
.loan-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.loan-metric { padding: 12px; border-radius: 10px; background: #f8fafc; }
.loan-metric-label { font-size: 12px; color: var(--text-3); margin-bottom: 6px; }
.loan-metric-value { font-size: 14px; font-weight: 600; color: var(--text-1); line-height: 1.5; }
.loan-detail-title { margin: 12px 0 8px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.loan-detail-list { display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.7; color: var(--text-2); }

@media (max-width: 768px) {
    .match-summary-grid,
    .match-form-grid,
    .loan-card-grid,
    .property-meta-grid { grid-template-columns: 1fr; }
    .match-group-header,
    .loan-card-top { flex-direction: column; }
    .loan-card-score { min-width: 0; width: 100%; }
}

/* 房产量化工作台 */
.property-page-shell {
    background:
        radial-gradient(circle at top right, rgba(255, 216, 181, 0.20), transparent 28%),
        linear-gradient(180deg, #f6f9fc 0%, #eef4f9 100%);
}

.property-workbench {
    width: min(1380px, calc(100% - 48px));
    margin: 28px auto 36px;
    display: grid;
    grid-template-columns: 420px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.property-input-panel,
.property-results-panel {
    min-width: 0;
}

.property-input-panel {
    position: sticky;
    top: 24px;
}

.property-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.property-head-badge {
    padding: 6px 12px;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.property-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}

.property-full-span {
    grid-column: 1 / -1;
}

.property-typeahead-wrap {
    position: relative;
}

.property-suggestion-list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 4px);
    z-index: 20;
    padding: 8px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
    backdrop-filter: blur(10px);
}

.property-cascade-suggestion-list {
    max-height: 280px;
    overflow: auto;
}

.property-suggestion-item {
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    text-align: left;
    cursor: pointer;
    transition: background .18s ease;
}

.property-suggestion-item:hover {
    background: #f5f9ff;
}

.property-suggestion-empty {
    padding: 12px 14px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-3);
}

.property-suggestion-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-1);
}

.property-suggestion-meta {
    font-size: 12px;
    color: var(--text-3);
    line-height: 1.5;
}

.property-selection-summary {
    margin-top: 8px;
    padding: 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(245, 250, 255, 0.96) 0%, rgba(255, 255, 255, 0.92) 100%);
    border: 1px solid rgba(22, 119, 255, 0.10);
}

.property-selection-empty {
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-3);
}

.property-selection-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.property-selection-card {
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.property-selection-label {
    font-size: 12px;
    color: var(--text-3);
    margin-bottom: 6px;
}

.property-selection-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-1);
}

.property-actions {
    margin-top: 18px;
}

.property-basic-head {
    margin-bottom: 6px;
}

.property-basic-head .wb-card-title {
    margin-bottom: 0;
}

.property-input-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.property-input-action {
    min-height: 72px;
    padding: 8px;
    border-radius: 14px;
    text-align: left;
}

.property-input-action:disabled {
    opacity: 1;
}

.property-input-action .wb-action-k {
    font-size: 12px;
}

.property-input-action .wb-action-s {
    font-size: 11px;
    line-height: 1.5;
}

.property-empty-card {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(circle at top left, rgba(22, 119, 255, 0.10), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 250, 255, 0.96) 100%);
}

.property-empty-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #1d4ed8;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.property-report {
    display: grid;
    gap: 18px;
}

.property-report-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 18px;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(255, 255, 255, 0.96) 46%, rgba(251, 191, 36, 0.08) 100%);
}

.property-report-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #0369a1;
    text-transform: uppercase;
}

.property-report-title {
    margin: 10px 0 8px;
    font-size: 28px;
    line-height: 1.2;
    color: var(--text-1);
}

.property-report-summary {
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
    color: var(--text-2);
}

.property-report-meta {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.property-report-meta-item {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.06);
    font-size: 12px;
    color: var(--text-2);
}

.property-report-scorebox {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.06);
    text-align: center;
}

.property-report-score {
    font-size: 48px;
    line-height: 1;
    font-weight: 800;
    color: #0f766e;
}

.property-report-grade {
    margin-top: 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-1);
}

.property-report-grade-text {
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-3);
}

.property-report-section {
    overflow: hidden;
}

.property-report-section-head {
    margin-bottom: 14px;
}

.property-report-section-title {
    margin: 0;
    font-size: 18px;
    color: var(--text-1);
}

.property-report-section-desc {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-3);
}

.property-copy-block {
    font-size: 14px;
    line-height: 1.9;
    color: var(--text-2);
}

.property-metric-grid,
.property-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.property-metric-card,
.property-info-card {
    padding: 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.property-metric-label,
.property-info-label {
    font-size: 12px;
    color: var(--text-3);
    margin-bottom: 8px;
}

.property-metric-value,
.property-info-value {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--text-1);
}

.property-score-table {
    display: grid;
    gap: 12px;
}

.property-score-row {
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(22, 119, 255, 0.10);
}

.property-score-row-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-1);
}

.property-score-row-desc {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-3);
}

.property-score-loading {
    padding: 16px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid rgba(251, 146, 60, .25);
    font-size: 13px;
    line-height: 1.7;
}

.property-score-doc {
    display: grid;
    gap: 16px;
}

.property-score-doc-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: stretch;
    padding: 18px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(14, 165, 233, .14), rgba(245, 158, 11, .10)),
        #ffffff;
    border: 1px solid rgba(14, 165, 233, .18);
}

.property-score-doc-kicker {
    font-size: 12px;
    color: var(--text-3);
    margin-bottom: 6px;
}

.property-score-doc-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-1);
}

.property-score-doc-desc {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-2);
}

.property-score-doc-total {
    min-width: 138px;
    display: grid;
    place-content: center;
    text-align: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(15, 23, 42, .08);
}

.property-score-doc-total strong {
    font-size: 36px;
    line-height: 1;
    color: #b45309;
}

.property-score-doc-total span {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-2);
}

.property-score-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    color: var(--text-3);
}

.property-score-clear-btn {
    width: auto;
    min-width: 128px;
}

.property-score-dimension-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
}

.property-score-dimension-pill {
    display: grid;
    gap: 6px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, .08);
}

.property-score-dimension-pill span {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-3);
}

.property-score-dimension-pill strong {
    font-size: 16px;
    color: var(--text-1);
}

.property-score-dimensions {
    display: grid;
    gap: 12px;
}

.property-score-dimension,
.property-score-group,
.property-score-question {
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

.property-score-dimension > summary,
.property-score-group > summary,
.property-score-question > summary {
    cursor: pointer;
    padding: 13px 15px;
    font-weight: 800;
    color: var(--text-1);
    background: #f8fbff;
}

.property-score-group > summary {
    font-size: 14px;
    background: #fbfdff;
}

.property-score-question > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    background: #fff;
}

.property-score-question > summary em {
    flex: 0 0 auto;
    font-style: normal;
    color: #b45309;
}

.property-score-items,
.property-score-options {
    display: grid;
    gap: 8px;
    padding: 10px;
}

.property-score-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid transparent;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-2);
}

.property-score-option:has(input:checked) {
    background: #ecfeff;
    border-color: rgba(8, 145, 178, .35);
    box-shadow: 0 10px 26px rgba(8, 145, 178, .08);
}

.property-score-option input {
    margin-top: 4px;
}

.property-score-option-score {
    white-space: nowrap;
    font-weight: 800;
    color: #0f766e;
}

.property-score-option-deduct .property-score-option-score {
    color: #b91c1c;
}

.property-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.property-tag-chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    font-size: 12px;
    font-weight: 500;
}

.property-bullet-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.property-bullet-item {
    padding-left: 16px;
    position: relative;
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-2);
}

.property-bullet-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0ea5e9;
}

.property-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 14px;
}

.property-mini-title {
    margin: 16px 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-2);
}

.property-doc-subsection {
    margin-top: 16px;
    padding: 14px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.property-doc-subtitle {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #075985;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 10px;
}

.property-doc-subdesc {
    margin: -2px 0 10px;
    color: var(--text-3);
    font-size: 12px;
    line-height: 1.7;
}

.property-doc-table-wrap {
    width: 100%;
    overflow: auto;
    margin-top: 10px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
}

.property-doc-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 13px;
    color: var(--text-2);
}

.property-doc-table th,
.property-doc-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
    text-align: left;
    vertical-align: top;
    line-height: 1.65;
}

.property-doc-table th {
    background: #f1f5f9;
    color: var(--text-1);
    font-weight: 800;
    white-space: nowrap;
}

.property-doc-table tbody tr:last-child td {
    border-bottom: 0;
}

.property-risk-level,
.property-conclusion-decision {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: #eef6ff;
    color: #16508c;
    font-size: 13px;
    font-weight: 700;
}

.property-cost-overview {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 10px;
}

.property-cost-index {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    color: #b45309;
}

.property-cost-rating {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-1);
}

.property-school-list,
.property-tax-list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.property-school-item,
.property-tax-item {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: #fff;
}

.property-school-name,
.property-tax-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-1);
}

.property-school-meta,
.property-tax-note {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.7;
    color: var(--text-3);
}

.property-school-note {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-2);
}

.property-tax-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.property-tax-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
    font-size: 12px;
    color: var(--text-2);
}

.property-tax-amount {
    margin-top: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #1d4ed8;
}

.property-tax-optional {
    display: inline-flex;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 11px;
    font-weight: 500;
    vertical-align: middle;
}

.property-workbench-actions {
    max-height: 72vh;
    overflow: auto;
    padding-right: 4px;
}

.property-feature-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.property-feature-btn.active {
    border-color: rgba(145, 202, 255, .45);
    background:
        radial-gradient(circle at 12% 0%, rgba(124, 225, 255, .16) 0, rgba(124, 225, 255, 0) 55%),
        rgba(22, 119, 255, .18);
    color: #ffffff;
    box-shadow: 0 0 0 1px rgba(124, 225, 255, .16);
}

.property-feature-pane {
    display: none;
}

.property-feature-pane.active {
    display: block;
}

.property-feature-subtitle {
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--wb-text);
}

.property-workbench-quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.property-workbench-tabs {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
}

.property-workbench-tabs .wb-tab {
    white-space: nowrap;
}

.property-workbench-card .wb-pane {
    padding: 18px;
}

.property-pane-hint {
    padding: 12px 14px 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-3);
}

.property-pane-editable {
    min-height: 240px;
    outline: none;
}

.property-pane-editable:focus {
    box-shadow: inset 0 0 0 1px rgba(29, 78, 216, 0.18);
    border-radius: 14px;
}

.property-manage-overlay {
    max-height: 80vh;
    overflow-y: auto;
    margin: 0 24px 12px;
    padding: 18px 20px;
    background: var(--wb-card-bg, #1a2332);
    border: 1px solid var(--wb-card-border, rgba(255,255,255,.08));
    border-radius: 14px;
}

.property-manage-card {
    display: grid;
    gap: 10px;
    border: 0;
    background: transparent;
    color: var(--wb-text);
    font-size: 12px;
    line-height: 1.6;
}
.property-manage-card .wb-card-title {
    margin-bottom: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--wb-text);
}
.property-manage-card .wb-card-desc,
.property-manage-card .match-helper,
.property-manage-card .wb-label {
    font-size: 12px;
    color: var(--wb-text-3);
    line-height: 1.6;
}
.property-manage-token-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 12px; align-items: center; }
.property-manage-mini-btn { padding: 9px 12px; min-width: 112px; text-align: center; }
.property-manage-details {
    margin-top: 0;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    background:
        radial-gradient(circle at 12% 0%, rgba(124, 225, 255, .10) 0, rgba(124, 225, 255, 0) 55%),
        rgba(255, 255, 255, .06);
    overflow: hidden;
}
.property-manage-details summary {
    cursor: pointer;
    padding: 12px 14px;
    font-weight: 700;
    font-size: 13px;
    color: var(--wb-text);
    list-style-position: inside;
    background: rgba(255, 255, 255, .04);
}
.property-manage-details summary::marker {
    color: var(--wb-text-3);
}
.property-manage-section {
    padding: 12px 14px 14px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: grid;
    gap: 10px;
    background: rgba(255, 255, 255, .02);
}
.property-manage-section-title { font-weight: 700; font-size: 13px; color: var(--wb-text); }
.property-manage-form { gap: 10px; }
.property-manage-save-btn { width: 100%; text-align: center; justify-content: center; }
.property-manage-toolbar,
.property-manage-import-bar,
.property-manage-import-actions {
    display: grid;
    gap: 10px;
}
.property-manage-toolbar { grid-template-columns: minmax(0, 1.4fr) minmax(100px, .9fr) auto auto; align-items: center; }
.property-manage-import-bar { grid-template-columns: 1fr; align-items: stretch; }
.property-manage-import-select,
.property-manage-import-file {
    width: 100%;
}
.property-manage-import-select .wb-input,
.property-manage-import-file .wb-input {
    width: 100%;
    min-width: 0;
}
.property-manage-import-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.property-manage-import-actions .wb-doc-btn {
    width: 100%;
    min-width: 0;
    white-space: normal;
    line-height: 1.4;
    padding-inline: 14px;
}
.property-manage-import-text { min-height: 110px; resize: vertical; }
.property-manage-hint { font-size: 12px; line-height: 1.7; color: var(--wb-text-3); }
.property-manage-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(6, 21, 45, .20);
}
.property-manage-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    font-size: 12px;
    color: var(--wb-text-2);
}
.property-manage-table th,
.property-manage-table td {
    padding: 9px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    text-align: left;
    white-space: nowrap;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.property-manage-table th {
    color: var(--wb-text);
    background:
        radial-gradient(circle at 12% 0%, rgba(124, 225, 255, .08) 0, rgba(124, 225, 255, 0) 55%),
        rgba(255, 255, 255, .06);
    font-weight: 700;
}
.property-manage-table tbody tr:hover { background: rgba(145, 202, 255, .08); }
.property-manage-table tbody tr:last-child td { border-bottom: 0; }
.property-manage-table-actions {
    display: flex;
    gap: 6px;
    min-width: 96px;
}
.property-manage-table-actions button {
    border: 1px solid rgba(145, 202, 255, .30);
    background: rgba(255, 255, 255, .08);
    color: var(--wb-text-2);
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 12px;
    cursor: pointer;
    transition: .18s ease;
}
.property-manage-table-actions button:hover {
    transform: translateY(-1px);
    border-color: rgba(145, 202, 255, .58);
    color: var(--wb-text);
}
.property-manage-import-result { min-height: 0; }
.property-manage-import-summary {
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(34, 197, 94, .12);
    color: #bbf7d0;
    border: 1px solid rgba(34, 197, 94, .22);
    font-size: 12px;
    line-height: 1.7;
}
.property-manage-import-errors {
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(245, 158, 11, .12);
    color: #fde68a;
    border: 1px solid rgba(245, 158, 11, .22);
    font-size: 12px;
    line-height: 1.7;
}
.property-manage-list { display: flex; flex-wrap: wrap; gap: 8px; }
.property-manage-list-item {
    border: 1px solid rgba(145, 202, 255, .30);
    background: rgba(255, 255, 255, .07);
    color: var(--wb-text-2);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
    cursor: pointer;
    transition: .18s ease;
}
.property-manage-list-item:hover {
    transform: translateY(-1px);
    border-color: rgba(145, 202, 255, .52);
    background: rgba(255, 255, 255, .11);
    color: var(--wb-text);
}
.property-manage-card .match-empty {
    background: rgba(255, 255, 255, .06);
    color: var(--wb-text-3);
}

/* 装修自动报价 */
.renovation-report-block {
    margin: 18px 0;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
}

.renovation-report-block h3 {
    margin: 0 0 14px;
    font-size: 18px;
    color: #111827;
}

.renovation-report-block h4 {
    margin: 18px 0 10px;
    font-size: 15px;
    color: #1f2937;
}

.renovation-info-grid,
.renovation-summary-grid,
.renovation-grade-grid,
.renovation-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.renovation-info-item,
.renovation-summary-card,
.renovation-grade-card,
.renovation-plan-card {
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f8fafc;
}

.renovation-info-item span,
.renovation-summary-card span {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    color: #64748b;
}

.renovation-info-item strong,
.renovation-summary-card strong {
    font-size: 15px;
    color: #0f172a;
}

.renovation-grade-card.active,
.renovation-plan-card.active {
    border-color: #2563eb;
    background: #eff6ff;
}

.renovation-grade-title {
    margin-bottom: 8px;
    font-weight: 700;
    color: #111827;
}

.renovation-grade-price {
    margin-bottom: 8px;
    font-size: 22px;
    font-weight: 800;
    color: #dc2626;
}

.renovation-grade-card small,
.renovation-plan-card small,
.renovation-note {
    display: block;
    margin-top: 8px;
    color: #64748b;
    line-height: 1.7;
}

.renovation-table-wrap {
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.renovation-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    font-size: 13px;
}

.renovation-table th,
.renovation-table td {
    padding: 9px 10px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
}

.renovation-table th {
    background: #f1f5f9;
    color: #334155;
    font-weight: 700;
}

.renovation-warning-list,
.renovation-standards {
    display: grid;
    gap: 10px;
}

.renovation-warning-list div,
.renovation-standards div {
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
}

.renovation-standards div {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.renovation-download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.renovation-content-hero {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border-color: #dbeafe;
}

.renovation-content-hero p {
    margin: 0;
    color: #334155;
    line-height: 1.75;
}

.renovation-source-note {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #eff6ff;
    color: #1d4ed8;
    line-height: 1.7;
}

.renovation-content-tree {
    display: grid;
    gap: 16px;
}

.renovation-content-level {
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
}

.renovation-content-level-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.renovation-content-level-head span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
}

.renovation-content-level-head h4 {
    margin: 8px 0 4px;
    font-size: 17px;
    color: #111827;
}

.renovation-content-level-head p {
    margin: 0;
    color: #64748b;
    line-height: 1.7;
}

.renovation-content-note {
    max-width: 260px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 12px;
    line-height: 1.7;
}

.renovation-content-children {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.renovation-content-child {
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
}

.renovation-content-child h5 {
    margin: 0 0 8px;
    font-size: 14px;
    color: #0f172a;
}

.renovation-content-child p {
    margin: 0 0 10px;
    color: #475569;
    line-height: 1.75;
}

.renovation-content-items {
    display: grid;
    gap: 10px;
}

.renovation-content-item {
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.renovation-content-item-title {
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.renovation-content-item-text {
    color: #334155;
    line-height: 1.7;
}

.renovation-content-hint {
    margin-top: 6px;
    font-size: 12px;
    color: #2563eb;
    line-height: 1.6;
}

.renovation-warning-inline {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #fed7aa;
    background: #fff7ed;
    color: #9a3412;
    line-height: 1.7;
}

.renovation-loading-block {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 88px;
}

.renovation-inline-loading {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 4px solid rgba(37, 99, 235, .14);
    border-top-color: #2563eb;
    animation: ren-spin .9s linear infinite;
    flex: 0 0 auto;
}

.renovation-image-preview {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
}

@keyframes ren-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 1180px) {
    .property-workbench {
        grid-template-columns: 1fr;
    }

    .property-input-panel {
        position: static;
    }
}

@media (max-width: 768px) {
    .property-workbench {
        width: calc(100% - 24px);
        margin: 16px auto 28px;
    }

    .property-workbench-quick {
        grid-template-columns: 1fr;
    }

    .property-basic-head {
        display: block;
    }

    .property-basic-head .wb-card-title {
        margin-bottom: 0;
    }

    .property-input-actions {
        grid-template-columns: repeat(2, minmax(92px, 1fr));
    }

    .property-manage-token-row {
        grid-template-columns: 1fr;
    }

    .property-manage-toolbar,
    .property-manage-import-bar,
    .property-manage-import-actions {
        grid-template-columns: 1fr;
    }

    .property-form-grid,
    .property-selection-grid,
    .property-metric-grid,
    .property-info-grid,
    .property-two-col,
    .property-report-hero,
    .renovation-info-grid,
    .renovation-summary-grid,
    .renovation-grade-grid,
    .renovation-plan-grid,
    .renovation-content-children {
        grid-template-columns: 1fr;
    }

    .property-report-title {
        font-size: 22px;
    }

    .property-cost-overview {
        flex-direction: column;
        align-items: flex-start;
    }

    .property-score-doc-head,
    .property-score-option {
        grid-template-columns: 1fr;
    }

    .property-score-doc-total {
        min-height: 110px;
    }

    .property-score-toolbar {
        align-items: flex-start;
        justify-content: flex-start;
    }
}

@media (max-width: 420px) {
    .property-input-actions {
        grid-template-columns: 1fr;
    }
}
