/* Batch 7: saved demand presentation only. Scope excludes checkout and other pages. */
.mt-request { max-width: 760px; margin-inline: auto; padding-bottom: var(--sp-4) }
.mt-request .mt-under { background: transparent; padding: 0; margin-block: var(--sp-4); color: var(--gray-700) }
.mt-request .mt-state { background: var(--surface); border-left: 3px solid var(--primary); border-radius: 0; padding: var(--sp-4) }
.mt-request .mt-state .mt-actions { justify-content: flex-start }
.mt-request .mt-state .mt-actions .btn { flex: 0 1 auto; min-height: 44px }
.mt-request [data-source-root] { padding-block: var(--sp-4); border-block: 1px solid var(--gray-200); gap: var(--sp-3); margin-block: var(--sp-4) }
.mt-request [data-source-root] > button { width: fit-content; max-width: 100%; min-height: 44px; white-space: normal; text-align: start }
.mt-request [data-source-root] > [hidden] { display: none }
.mt-request [data-source-root] [role="status"]:empty { display: none }
.mt-request [data-source-root] [role="status"] { font-size: var(--fs-sm); line-height: var(--lh-body) }
.mt-request [data-source-fields]:not(:empty) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-3) }
.mt-request [data-source-fields] label { min-width: 0; grid-template-rows: minmax(2.8em, auto) auto; align-content: start; gap: var(--sp-1); font-size: var(--fs-sm); line-height: var(--lh-body) }
.mt-request [data-source-fields] .form-control { width: 100%; min-width: 0; min-height: 44px; font-size: 16px }
.mt-request [data-source-root] .hint { margin: 0; line-height: var(--lh-body); max-width: 64ch }
.mt-request .mt-sec { font-size: var(--fs-lg); margin-top: var(--sp-6) }
.mt-request .mt-card { box-shadow: none }
.mt-request .mt-comparison { margin: calc(-1 * var(--sp-2)) 0 var(--sp-4); padding: var(--sp-3); border-left: 2px solid var(--gray-200) }
.mt-request .mt-comparison > button { min-height: 44px; white-space: normal; text-align: start }
.mt-request .mt-comparison [aria-live]:not(:empty) { margin-top: var(--sp-3); display: grid; gap: var(--sp-2); line-height: var(--lh-body); overflow-wrap: anywhere }
.mt-request .mt-comparison strong { font-size: var(--fs-lg); font-variant-numeric: tabular-nums; color: var(--gray-900) }
.mt-request .mt-comparison strong + div { color: var(--gray-800); font-weight: 600 }
.mt-request :is(button,input,select):focus-visible { outline: 2px solid var(--primary); outline-offset: 3px }
@media (hover: hover) {
  .mt-request .btn { transition: background-color 120ms ease, border-color 120ms ease }
  .mt-request .btn-outline:hover { background: var(--primary-light) }
}
@media (prefers-reduced-motion: reduce) { .mt-request .btn { transition: none } }
@media (max-width: 599px) { .mt-request [data-source-fields] label:nth-child(n+13) { grid-column: 1 / -1; grid-template-rows: auto auto } }
@media (max-width: 359px) {
  .mt-request [data-source-fields]:not(:empty) { grid-template-columns: minmax(0, 1fr) }
  .mt-request [data-source-fields] label { grid-template-rows: auto auto }
}
/* 找同款「历史」(2026-10-15):游客条目是按钮(再搜一次),外观与会员的链接条目一致;.mt-history 复制 .mt-sec 的间距而不复用类名(规格测试按 .mt-sec 定位相似商品块) */
.mt-history { margin: var(--sp-4) 0 var(--sp-3); border-top: 1px solid var(--gray-200) }
.mt-history summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; cursor: pointer; color: var(--gray-900, inherit); font-weight: 600; list-style: none }
.mt-history summary::-webkit-details-marker { display: none }
.mt-history summary::after { content: ''; width: 8px; height: 8px; margin-right: 4px; border: solid var(--gray-500); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform 120ms ease }
.mt-history[open] summary::after { transform: rotate(-135deg) }
@media (prefers-reduced-motion: reduce) { .mt-history summary::after { transition: none } }
.mt-history-list a { display: block; padding: var(--sp-3) 0; border-bottom: 1px solid var(--gray-100); color: inherit; text-decoration: none }
.mt-history-list a:last-child { border-bottom: none }
.mt-history .mt-history-item { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--gray-100); padding: var(--sp-3) 0; color: inherit; font: inherit; cursor: pointer }
.mt-history .mt-history-item:last-of-type { border-bottom: none }
/* 「历史」筛选 + 清除(2026-10-15):chip 行 / 关键词框 / 行内确认删除 */
#match-history { padding-bottom: 72px }   /* 页尾不被右下角悬浮入口盖住 */
.mt-hist-tools { display: flex; flex-direction: column; gap: var(--sp-2); padding-bottom: var(--sp-2) }
.mt-hist-chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center }
.mt-hist-chip { border: 1px solid var(--gray-200); background: none; border-radius: 999px; padding: var(--sp-1) var(--sp-3); color: var(--gray-700); font: inherit; cursor: pointer }
.mt-hist-chip.on { border-color: var(--primary, currentColor); color: var(--primary, inherit); font-weight: 600 }
.mt-hist-q { width: 100%; box-sizing: border-box; font: inherit; padding: var(--sp-2) var(--sp-3); border: 1px solid var(--gray-200); border-radius: var(--radius-sm, 6px); background: transparent; color: inherit }
.mt-hist-row { min-height: 44px; display: flex; align-items: center; gap: var(--sp-2); border-bottom: 1px solid var(--gray-100); padding-right: 40px }   /* 右缘 40px 让给悬浮入口(docked 时盖住最右 ~32px,英文「Delete」会被挡) */
.mt-hist-row .mt-hist-main, .mt-history .mt-hist-row .mt-history-item { flex: 1; min-width: 0; border-bottom: 0 }
.mt-hist-row.mt-hist-ask { flex-direction: column; align-items: flex-start; padding: var(--sp-3) 0 }
.mt-hist-confirm { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center }
.mt-hist-foot { padding-top: var(--sp-2) }

