.selection-view { display: grid; gap: 14px; min-width: 0; }
.selection-eyebrow { color: #b7522e; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.selection-view .reply-summary { margin: 0; line-height: 1.7; }
.selection-candidate { border: 1px solid #eadfd7; border-radius: 20px; background: #fff; padding: 14px; min-width: 0; }
.selection-role { color: #a63c18; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.selection-tradeoff { color: #665b56; font-size: 13px; line-height: 1.7; white-space: pre-wrap; }
.selection-view details { border-top: 1px solid #eee7e2; margin-top: 10px; padding-top: 10px; font-size: 13px; }
.selection-view summary { cursor: pointer; color: #5d514a; padding: 5px 0; line-height: 1.6; }
.selection-check { padding: 10px 0; border-bottom: 1px solid #f2eeeb; }
.selection-check p { margin: 7px 0 0; color: #69636a; line-height: 1.65; }
.selection-check .selection-evidence { font-size: 12px; color: #777079; border-left: 2px solid #dfd4cc; padding-left: 8px; overflow-wrap: anywhere; }
.selection-status { display: inline-block; margin-left: 8px; border-radius: 8px; padding: 2px 6px; background: #fff0d9; color: #805500; font-size: 11px; }
.selection-status.supported { background: #e8f4eb; color: #2e6940; }
.selection-status.conflict { background: #fff0ed; color: #a83b2c; }
.selection-channels { padding: 10px; border-radius: 14px; background: #faf7f4; }
.selection-channels .selection-candidate { margin-top: 10px; }
.selection-view .advisor-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.selection-view .quick-action { white-space: normal; min-height: 40px; }
.selection-group { min-width: 0; }
/* 推荐卡只保留一层边框，减少重复包裹；价格与操作入口保持可读和可点。 */
.selection-candidate > .product-card { background: transparent; border: 0; border-radius: 0; }
.selection-candidate .product-link { padding: 0 0 8px; border-radius: 8px; }
.selection-candidate .product-main { gap: 12px; }
.selection-candidate .product-image { width: 68px; height: 68px; flex-basis: 68px; }
.selection-candidate .product-title { font-size: 14px; line-height: 1.55; }
.selection-candidate .product-reason {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
    white-space: normal; color: #77727a; line-height: 1.6;
}
.selection-candidate .product-number { left: 0; }
.selection-candidate .product-tags { left: 23px; }
.selection-candidate .product-detail-link { padding-right: 2px; }
.selection-candidate .selection-tradeoff { margin-top: 8px; line-height: 1.6; }
.selection-candidate > details { margin-top: 8px; padding-top: 3px; }
.selection-candidate > details > summary { min-height: 40px; display: flex; align-items: center; gap: 6px; list-style: none; }
.selection-candidate > details > summary::-webkit-details-marker { display: none; }
.selection-candidate > details > summary::before { content: '›'; font-size: 18px; line-height: 1; }
.selection-candidate > details[open] > summary::before { transform: rotate(90deg); }
.selection-full-reason { padding: 6px 0 10px; color: #69636a; line-height: 1.65; }
.selection-candidate .advisor-actions { margin-top: 4px; gap: 8px; }
.selection-candidate .quick-action { padding: 7px 10px; min-height: 44px; }
.selection-candidate summary:focus-visible { outline: 2px solid #5976ca; outline-offset: 2px; border-radius: 6px; }
@media (max-width: 480px) { .selection-candidate { padding: 10px; } .selection-view { gap: 10px; } }

/* 筛掉的商品默认收起：一句结论，按需查看，不占据推荐区的注意力。 */
.selection-view .selection-excluded {
    margin: 0; padding: 0; border: 1px solid #e5e7ed; border-radius: 16px;
    background: #fcfcfd; overflow: hidden; min-width: 0;
}
.selection-excluded > summary {
    display: flex; align-items: center; gap: 12px; list-style: none;
    padding: 14px 16px; min-height: 68px; box-sizing: border-box;
}
.selection-excluded > summary::-webkit-details-marker { display: none; }
.selection-excluded > summary:hover { background: #f5f6f9; }
.selection-excluded-icon {
    flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%;
    display: grid; place-items: center; background: #edf2ef; color: #567663; font-size: 14px;
}
.selection-excluded-heading { flex: 1; display: grid; gap: 3px; min-width: 0; }
.selection-excluded-heading strong { font-size: 14px; color: #424650; font-weight: 600; }
.selection-excluded-heading > span { font-size: 12px; color: #777c88; }
.selection-excluded-toggle { display: flex; align-items: center; gap: 7px; color: #596682; font-size: 12px; white-space: nowrap; }
.selection-excluded-toggle .when-open { display: none; }
.selection-excluded[open] > summary .when-open { display: inline; }
.selection-excluded[open] > summary .when-closed { display: none; }
.selection-excluded-chevron { display: inline-block; font-size: 16px; }
.selection-excluded[open] > summary .selection-excluded-chevron { transform: rotate(180deg); }
.selection-excluded-content { padding: 0 16px 14px; }
.selection-excluded-intro, .selection-excluded-history { margin: 0; padding: 2px 0 10px; font-size: 12px; color: #737986; line-height: 1.6; }
.selection-excluded-history { padding-top: 12px; padding-bottom: 0; }
.selection-excluded-list { display: grid; gap: 8px; padding: 0 !important; margin: 0 !important; list-style: none; }
.selection-excluded-item { min-width: 0; padding: 0; border: 1px solid #e7e9ee; background: #fff; border-radius: 12px; overflow: hidden; }
.selection-excluded-product {
    display: flex; width: 100%; align-items: center; gap: 12px; padding: 12px;
    box-sizing: border-box; text-align: left; border: 0; background: transparent; font: inherit;
    color: inherit; cursor: pointer; min-width: 0;
}
button.selection-excluded-product:hover { background: #f8f9fc; }
.selection-excluded-product.is-history { cursor: default; }
.selection-excluded-image { flex: 0 0 56px; height: 56px; position: relative; border-radius: 8px; background: #f4f5f7; overflow: hidden; }
.selection-excluded-image-placeholder { position: absolute; inset: 0; display: grid; place-items: center; font-size: 10px; color: #858a94; }
.selection-excluded-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.selection-excluded-copy { flex: 1; display: grid; gap: 5px; min-width: 0; }
.selection-excluded-title { font-size: 13px; line-height: 1.5; color: #464b56; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.selection-excluded-reason { font-size: 12px; color: #956145; line-height: 1.5; }
.selection-excluded-meta { font-size: 11px; color: #808590; }
.selection-excluded-link { flex-shrink: 0; font-size: 12px; color: #586b91; white-space: nowrap; }
.selection-view .selection-excluded-evidence { border-top: 1px solid #f0f1f4; padding: 0 12px; margin: 0; }
.selection-excluded-evidence summary { padding: 8px 0; color: #7c818b; font-size: 12px; }
.selection-excluded-evidence p { margin: 0 0 12px; color: #6b707a; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.selection-excluded > summary:focus-visible, .selection-excluded-product:focus-visible,
.selection-excluded-evidence summary:focus-visible { outline: 2px solid #5976ca; outline-offset: -3px; border-radius: 10px; }
@media (max-width: 480px) {
    .selection-excluded > summary { gap: 8px; padding: 12px; }
    .selection-excluded-icon { display: none; }
    .selection-excluded-heading strong { font-size: 13px; }
    .selection-excluded-content { padding: 0 10px 10px; }
    .selection-excluded-product { gap: 10px; padding: 10px; flex-wrap: wrap; }
    .selection-excluded-link { width: 100%; padding-left: 66px; box-sizing: border-box; }
}
