.matching-assistant{margin:18px 0}.matching-assistant>summary,.matching-review>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;list-style:none}.matching-assistant>summary small,.matching-review>summary small{display:block;color:var(--muted,#abb7c9);font-size:.82rem;margin-top:5px}.match-assistant-body{padding-top:20px}.match-assistant-intro{display:flex;align-items:center;justify-content:space-between;gap:20px}.match-assistant-intro h2{margin-top:0}.matching-tools{display:grid;grid-template-columns:1.2fr 1fr 2fr auto;gap:10px;margin:18px 0}.matching-tools>*{min-width:0}.matching-review{border:1px solid #354252;border-radius:12px;padding:16px;margin:12px 0;background:#1d2733}.matching-review>summary>span:first-child{min-width:0;overflow-wrap:anywhere}.matching-review-body{padding-top:14px}.matching-chip,.matching-score{flex:none;border:1px solid #426f5d;border-radius:6px;padding:5px 9px;color:#9bddbf;font-size:.8rem;white-space:nowrap}.matching-chip.warning{color:#ffc08f;border-color:#805131}.matching-current{padding:14px;background:#151d27;border-radius:9px;display:grid;gap:7px;margin-bottom:16px}.matching-current small,.matching-compare small{color:#aebbd0;font-size:.73rem;letter-spacing:.05em}.matching-current span{color:#aebbd0;font-size:.85rem}.matching-candidates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.matching-candidate{border:1px solid #3b485a;border-radius:10px;padding:16px;min-width:0}.matching-candidate-title{display:flex;gap:10px;justify-content:space-between;align-items:start}.matching-candidate-title strong{overflow-wrap:anywhere}.matching-candidate p,.matching-reasons{font-size:.85rem;line-height:1.65}.matching-candidate p{color:#b8c5d6;overflow-wrap:anywhere}.matching-reasons{padding-left:20px;color:#b8c5d6}.matching-reasons.warning{color:#ffc08f}.matching-candidate.rejected{opacity:.65}.matching-assistant button{min-height:42px}.matching-dialog{width:min(860px,100%);max-width:100%}.matching-compare{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.matching-compare article{border:1px solid #3b485a;padding:16px;border-radius:10px;overflow-wrap:anywhere}.matching-compare strong{display:block;margin-top:10px}.matching-compare p{margin-bottom:0}.matching-dialog .stock-proof{margin:16px 0} @media(max-width:800px){.match-assistant-intro{display:block}.matching-tools{grid-template-columns:1fr 1fr}.matching-tools input{grid-column:1 / -1}.matching-candidates{grid-template-columns:1fr}}@media(max-width:480px){.matching-assistant>summary{align-items:start}.matching-review>summary{display:block}.matching-chip{display:inline-block;margin-top:10px}.matching-compare{grid-template-columns:1fr}.matching-dialog h2{font-size:1.25rem}.matching-candidate-title{flex-wrap:wrap}.matching-review{padding:12px}.matching-candidate{padding:12px}}

.matching-assistant>summary>span:last-child{white-space:nowrap;flex:none}.matching-assistant>summary>span:first-child{min-width:0;flex:1}
