.chat-page{max-width:1080px}.chat-page h1{font-size:clamp(38px,5vw,62px)}.chat-intro{margin:20px 0 30px;color:var(--rb-muted,#64695f)}.chat-inbox{border-top:1px solid var(--rb-line,#d6d9d0);margin:28px 0}.chat-inbox-item{position:relative;display:block;padding:25px 50px 25px 20px;border-bottom:1px solid var(--rb-line,#d6d9d0);overflow-wrap:anywhere}.chat-inbox-item:hover,.chat-inbox-item:focus-visible{background:#f0f1eb}.chat-inbox-item.unread{border-left:3px solid var(--rb-ink,#373a35);padding-left:17px}.chat-inbox-heading{display:flex;justify-content:space-between;gap:15px;align-items:baseline}.chat-inbox-heading strong{font-size:16px}.chat-inbox-heading time,.chat-listing-name{font-size:12px;color:var(--rb-muted,#64695f)}.chat-inbox-item p{font-size:14px;color:var(--rb-muted,#64695f);margin-top:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-unread{position:absolute;right:15px;bottom:24px;background:var(--rb-ink,#373a35);color:var(--rb-paper,#fdfcf8);border-radius:20px;min-width:23px;padding:1px 6px;font-size:12px;text-align:center}.chat-blocked-label{display:inline-block;font-size:11px;margin-top:7px;color:#79392f}.chat-empty{padding:65px 20px;text-align:center}.chat-empty h2{font-size:32px}.chat-empty p{margin:16px 0 24px;color:var(--rb-muted,#64695f)}.chat-thread-heading{display:flex;justify-content:space-between;gap:25px;align-items:start;margin-bottom:24px}.chat-thread-heading .chat-listing-name{margin:12px 0 5px}.chat-thread-heading .small-link{font-size:12px;text-decoration:underline;text-underline-offset:4px}.chat-controls{font-size:12px;max-width:250px}.chat-controls summary{cursor:pointer;padding:10px 0}.chat-controls .text-button{display:block;margin:12px 0;font-size:13px}.chat-controls p{color:var(--rb-muted,#64695f);margin-top:10px}.chat-safety{border-block:1px solid var(--rb-line,#d6d9d0);padding:15px 0;color:var(--rb-muted,#64695f);font-size:12px;margin-bottom:15px}.chat-message-list{height:clamp(270px,48vh,650px);overflow:auto;overscroll-behavior:contain;scroll-behavior:auto;padding:20px 4px;display:flex;flex-direction:column;gap:16px;border-bottom:1px solid var(--rb-line,#d6d9d0)}.chat-bubble{align-self:flex-start;max-width:82%;padding:13px 18px;background:#eeefe9;border:1px solid var(--rb-line,#d6d9d0);border-radius:3px;overflow-wrap:anywhere}.chat-bubble.mine{align-self:flex-end;background:#e4e8dd}.chat-bubble p{white-space:pre-wrap;font-size:14px;line-height:1.65}.chat-sender{display:block;font-size:10px;letter-spacing:.5px;margin-bottom:4px;color:var(--rb-muted,#64695f)}.chat-bubble time{display:block;font-size:10px;color:var(--rb-muted,#64695f);margin-top:8px;text-align:right}.chat-empty-conversation{margin:auto;max-width:400px;text-align:center;color:var(--rb-muted,#64695f);font-size:14px}.chat-compose{margin-top:22px}.chat-compose>label{display:block;font-size:12px;margin-bottom:8px}.chat-compose textarea{width:100%;border:1px solid var(--rb-line,#d6d9d0);background:var(--rb-paper,#fdfcf8);padding:12px;resize:vertical;min-height:90px;color:inherit}.chat-compose-footer{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:10px}.chat-compose-footer>span{font-size:11px;color:var(--rb-muted,#64695f)}.chat-compose [role=status]{font-size:13px;margin-top:12px;overflow-wrap:anywhere}.chat-restriction:empty,#chat-status:empty{display:none}.chat-restriction,#chat-status{padding:12px 0;font-size:13px;color:#79392f}.chat-earlier{margin-bottom:10px;font-size:12px}.chat-report{border:1px solid var(--rb-line,#d6d9d0);padding:25px;margin-top:30px}.chat-report h2{font-size:28px}.chat-report>p{font-size:13px;color:var(--rb-muted,#64695f);margin:12px 0 20px}.chat-report textarea{min-height:110px}.chat-report [role=status]{font-size:13px;margin-top:16px}.chat-page button:disabled{cursor:not-allowed}.chat-page :focus-visible{outline:2px solid var(--rb-ink,#373a35);outline-offset:4px}.chat-controls summary:focus-visible{outline-offset:4px}@media(max-width:767px){.chat-thread-heading{display:block}.chat-controls{max-width:100%;margin-top:14px}.chat-inbox-heading{display:block}.chat-inbox-heading time{display:block;margin-top:5px}.chat-inbox-item{padding-left:12px}.chat-inbox-item.unread{padding-left:9px}.chat-bubble{max-width:92%;padding:11px 13px}.chat-message-list{height:50vh;min-height:250px}.chat-compose textarea{font-size:16px}.chat-compose-footer{gap:8px}.chat-compose-footer .button{padding-inline:14px}.chat-report{padding:18px}}
/* Keep marketplace tools, including Messages, reachable below the shared mobile header. */
@media(max-width:767px){.cupec-rebuild .marketplace-tools{flex-wrap:wrap}.cupec-rebuild .marketplace-tools>nav{display:flex;order:3;flex:1 0 100%;gap:20px;overflow-x:auto;align-items:center}.cupec-rebuild .marketplace-tools>nav>a{white-space:nowrap;min-height:44px;display:inline-flex;align-items:center;font-size:12px}.cupec-rebuild .marketplace-tools .header-cta{margin-left:auto}}
