/* 24anuncios account area: one navigation, card lists, short forms. */
.acc-page { padding: 32px 0 56px; background: var(--market-paper); }
#titlebar:has(+ .acc-page) { padding: 22px 0 18px; margin-bottom: 0 !important; }
#titlebar:has(+ .acc-page) h1 { font-size: 24px; margin: 0; }
#titlebar:has(+ .acc-page) #breadcrumbs { display: none; }

/* Navigation */
.acc-nav { position: sticky; top: 96px; background: #fff; border: 1px solid #e7ded5; border-radius: 16px; padding: 18px 12px 12px; }
.acc-nav-user { display: flex; gap: 12px; align-items: center; padding: 0 8px 16px; border-bottom: 1px solid #efe7df; margin-bottom: 8px; }
.acc-nav-user img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #f1ebe4; }
.acc-nav-user strong { display: block; font-size: 15px; color: var(--market-ink); line-height: 1.3; word-break: break-word; }
.acc-nav-user a { font-size: 13px; color: var(--market-accent); }
.acc-nav-list { list-style: none; margin: 0; padding: 0; }
.acc-nav-list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--market-ink); font-size: 15px; font-weight: 500; }
.acc-nav-list a i { font-size: 18px; color: var(--market-muted); width: 20px; text-align: center; }
.acc-nav-list a span { flex: 1; }
.acc-nav-list a:hover { background: #f8f2ec; }
.acc-nav-list a.is-active { background: #f8eee7; color: var(--market-accent); font-weight: 650; }
.acc-nav-list a.is-active i { color: var(--market-accent); }
.acc-nav-logout { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-top: 8px; border-top: 1px solid #efe7df; color: var(--market-muted); font-size: 14px; }
.acc-nav-logout:hover { color: var(--market-accent); }
.acc-count { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: #f1ebe4; color: var(--market-ink); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.acc-count.is-alert { background: var(--market-accent); color: #fff; }
.acc-tabs { display: none; }

/* Headings, stats and notices */
.acc-hello { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.acc-hello h1 { font-size: 28px; letter-spacing: -.6px; margin: 0 0 4px; color: var(--market-ink); }
.acc-hello p { margin: 0; color: var(--market-muted); }
.acc-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.acc-stat { background: #fff; border: 1px solid #e7ded5; border-radius: 14px; padding: 16px; color: var(--market-ink); transition: border-color .15s; }
.acc-stat:hover { border-color: var(--market-accent); color: var(--market-ink); }
.acc-stat strong { display: block; font-size: 26px; line-height: 1.1; }
.acc-stat span { font-size: 13px; color: var(--market-muted); }
.acc-stat.is-alert { border-color: var(--market-accent); background: #fdf3ef; }
.acc-stat.is-alert strong { color: var(--market-accent); }
.acc-notice { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #fff4e0; border: 1px solid #f1d9a8; margin-bottom: 16px; }
.acc-notice i { font-size: 20px; color: #b7791f; }
.acc-notice p { flex: 1; margin: 0; font-size: 14px; color: var(--market-ink); }
.acc-notice a { font-weight: 650; color: var(--market-accent); white-space: nowrap; }
.acc-notice.is-soft { background: #fff; border-color: #e7ded5; }
.acc-notice.is-soft i { color: var(--market-muted); }
.acc-notice.is-success { background: #eaf6ee; border-color: #bfe0c9; }
.acc-notice.is-success i { color: #2f855a; }

/* Cards */
.acc-card { background: #fff; border: 1px solid #e7ded5; border-radius: 16px; margin-bottom: 20px; overflow: hidden; }
.acc-card-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid #efe7df; }
.acc-card-head h2, .acc-details summary h2 { font-size: 18px; margin: 0; color: var(--market-ink); letter-spacing: -.2px; }
.acc-card-head a { font-weight: 650; color: var(--market-accent); font-size: 14px; }

/* Ad rows */
.acc-ad-list { list-style: none; margin: 0; padding: 0; }
.acc-ad { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 22px; border-bottom: 1px solid #f1eae3; }
.acc-ad:last-child { border-bottom: 0; }
.acc-ad.opapcityLight .acc-ad-thumb, .acc-ad.opapcityLight .acc-ad-title { opacity: .55; }
.acc-ad-thumb { display: block; width: 96px; height: 72px; border-radius: 10px; overflow: hidden; background: #f1ebe4; }
.acc-ad-thumb img { width: 100%; height: 100%; object-fit: cover; }
.acc-ad-title { display: block; font-size: 16px; font-weight: 650; color: var(--market-ink); line-height: 1.35; margin-bottom: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-ad-title:hover { color: var(--market-accent); }
.acc-ad-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--market-muted); }
.acc-ad-meta strong { color: var(--market-ink); font-size: 15px; }
.acc-ad-promos { display: flex; gap: 6px; margin-top: 6px; }
.acc-ad-promos:empty { display: none; }
.acc-promo { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: #fff1d6; color: #8a5a00; }
.acc-status { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 20px; background: #f1ebe4; color: var(--market-ink); }
.acc-status.is-active { background: #e3f4e8; color: #22663b; }
.acc-status.is-pending { background: #e8eefb; color: #2a4a8c; }
.acc-status.is-expire { background: #fff1d6; color: #8a5a00; }
.acc-status.is-rejected { background: #fde6e3; color: #a1281c; }
.acc-status.is-hidden { background: #ececec; color: #555; }
.acc-ad-actions { display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }

/* Buttons */
.acc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid #ddd3c9; background: #fff; color: var(--market-ink) !important; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; line-height: 1; }
.acc-btn:hover { border-color: var(--market-ink); }
.acc-btn-primary { background: var(--market-accent); border-color: var(--market-accent); color: #fff !important; }
.acc-btn-primary:hover { background: #9e2f25; border-color: #9e2f25; }
.acc-btn-accent { background: #fff4e0; border-color: #f1d9a8; color: #8a5a00 !important; }
.acc-btn-icon { width: 40px; padding: 0; }

/* Toolbar */
.acc-toolbar { margin-bottom: 16px; }
.acc-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 12px; scrollbar-width: none; }
.acc-chips::-webkit-scrollbar { display: none; }
.acc-chips .myads-chip { flex: 0 0 auto; border: 1px solid #ddd3c9; background: #fff; color: var(--market-ink); border-radius: 20px; padding: 8px 14px; font-size: 14px; font-weight: 600; cursor: pointer; }
.acc-chips .myads-chip span { color: var(--market-muted); font-weight: 500; margin-left: 2px; }
.acc-chips .myads-chip.is-active { background: var(--market-ink); border-color: var(--market-ink); color: #fff; }
.acc-chips .myads-chip.is-active span { color: #d8d0c8; }
.acc-toolbar-row { display: flex; gap: 12px; }
.acc-search { flex: 1; position: relative; }
.acc-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--market-muted); }
.acc-search input { width: 100%; height: 44px; margin: 0; padding: 0 14px 0 40px; border: 1px solid #ddd3c9; border-radius: 10px; background: #fff; font-size: 15px; box-shadow: none; }
.acc-pagination ul:empty { display: none; }

/* Empty state */
.acc-empty { text-align: center; padding: 44px 24px; }
.acc-empty > i { font-size: 40px; color: var(--market-accent); }
.acc-empty h3 { font-size: 20px; margin: 12px 0 6px; }
.acc-empty p { color: var(--market-muted); margin-bottom: 18px; }

/* Forms */
.acc-form { padding: 20px 22px 22px; }
.acc-form > .acc-btn { margin-top: 18px; }
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acc-grid-full { grid-column: 1 / -1; }
.acc-form label { display: block; font-size: 14px; font-weight: 600; color: var(--market-ink); margin: 0; }
.acc-form label small { font-weight: 400; color: var(--market-muted); }
.acc-form input[type=text], .acc-form input[type=email], .acc-form input[type=password], .acc-form input[type=tel], .acc-form select { display: block; width: 100%; height: 46px; margin: 6px 0 0; padding: 0 14px; border: 1px solid #ddd3c9; border-radius: 10px; background: #fff; font-size: 15px; font-weight: 400; box-shadow: none; }
.acc-form .ap-input { margin-top: 0; }
.acc-form input:focus, .acc-form select:focus { border-color: var(--market-ink); }
.acc-error { background: #fde6e3; color: #a1281c; padding: 10px 14px; border-radius: 10px; font-size: 14px; margin: 0 0 16px; }
.acc-avatar-row { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.acc-avatar-row img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: #f1ebe4; }
.acc-details summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; flex-direction: column; gap: 2px; position: relative; }
.acc-details summary::-webkit-details-marker { display: none; }
.acc-details summary::after { content: "\203A"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%) rotate(90deg); font-size: 22px; color: var(--market-muted); transition: transform .2s; }
.acc-details[open] summary::after { transform: translateY(-50%) rotate(-90deg); }
.acc-details summary span { font-size: 13px; color: var(--market-muted); }
.acc-details[open] summary { border-bottom: 1px solid #efe7df; }
.acc-links { display: flex; flex-direction: column; }
.acc-links a { display: flex; align-items: center; gap: 12px; padding: 16px 22px; color: var(--market-ink); border-bottom: 1px solid #f1eae3; }
.acc-links a:last-child { border-bottom: 0; }
.acc-links a:hover { color: var(--market-accent); }

/* Tablet and mobile: tabs instead of sidebar, stacked rows */
@media (max-width: 991px) {
    .acc-page { padding: 0 0 40px; }
    .acc-nav { display: none; }
    .acc-tabs { display: flex; gap: 6px; overflow-x: auto; margin: 0 -15px 18px; padding: 12px 15px; background: #fff; border-bottom: 1px solid #e7ded5; scrollbar-width: none; position: sticky; top: 0; z-index: 20; }
    .acc-tabs::-webkit-scrollbar { display: none; }
    .acc-tabs a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 20px; border: 1px solid #e7ded5; color: var(--market-ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
    .acc-tabs a.is-active { background: var(--market-ink); border-color: var(--market-ink); color: #fff; }
    .acc-tabs a.is-active .acc-count { background: #fff; color: var(--market-ink); }
    .acc-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .acc-hello { flex-direction: column; align-items: stretch; }
    .acc-hello h1 { font-size: 24px; }
    .acc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .acc-stat { padding: 12px 14px; }
    .acc-stat strong { font-size: 22px; }
    .acc-card-head, .acc-form, .acc-details summary, .acc-links a { padding-left: 16px; padding-right: 16px; }
    .acc-ad { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; padding: 14px 16px; }
    .acc-ad-thumb { width: 80px; height: 64px; }
    .acc-ad-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 15px; }
    .acc-ad-actions { grid-column: 1 / -1; justify-content: flex-start; }
    .acc-ad-actions .acc-btn:not(.acc-btn-icon) { flex: 1; }
    .acc-toolbar-row { flex-direction: column; }
    .acc-grid { grid-template-columns: 1fr; }
}
.acc-table-card table { width: 100% !important; } .acc-table-card .dataTables_wrapper { padding: 16px 22px 22px; }
.acc-owner-notice { margin: 16px 0 0; }
.acc-nav-list a span.acc-count { flex: 0 0 auto; }
.acc-hello h1, #titlebar:has(+ .acc-page) h1 { font-weight: 750; }
.acc-card-head h2, .acc-details summary h2 { font-weight: 700; }
.acc-avatar-row .acc-btn { display: inline-flex; margin: 0; font-weight: 600; }
#titlebar:has(+ .acc-page) { padding: 22px 0 18px !important; }
@media (max-width: 991px) { #titlebar:has(+ .acc-page) { display: none; } }
@media (max-width: 600px) { .acc-stat:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* Login modal, matching the /login page */
#sign-in-dialog { max-width: 440px; border-radius: 20px; overflow: hidden; padding: 0; }
#sign-in-dialog .popup-tabs-nav { display: none; }
#sign-in-dialog .popup-tabs-container { padding: 36px 32px 30px; }
#sign-in-dialog .welcome-text { text-align: left; margin-bottom: 22px; }
#sign-in-dialog .welcome-text h3 { font-size: 26px; font-weight: 750; letter-spacing: -.6px; color: var(--market-ink); margin: 0 0 6px; }
#sign-in-dialog .welcome-text span { font-size: 15px; color: var(--market-muted); }
#sign-in-dialog .welcome-text a { color: var(--market-accent); font-weight: 650; }
.login-modal-form label { display: block; font-size: 14px; font-weight: 650; color: var(--market-ink); margin: 0 0 6px; }
.login-modal-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.login-modal-row a { font-size: 13px; color: var(--market-accent); }
.login-modal-input { display: flex; align-items: center; gap: 10px; border: 1px solid #d9cec3; border-radius: 10px; padding: 0 14px; margin-bottom: 16px; background: #fff; }
.login-modal-input:focus-within { border-color: var(--market-accent); box-shadow: 0 0 0 3px #b7392e12; }
.login-modal-input i { color: var(--market-muted); font-size: 16px; }
.login-modal-input input { flex: 1; min-width: 0; height: 48px !important; border: 0 !important; box-shadow: none !important; margin: 0 !important; padding: 0 !important; background: transparent !important; font-size: 16px; }
.login-modal-form label.login-modal-remember { display: flex; align-items: center; gap: 8px; font-weight: 500; margin: 2px 0 20px; cursor: pointer; }
.login-modal-remember input { width: 18px; height: 18px; margin: 0; accent-color: var(--market-accent); }
.login-modal-submit { width: 100%; min-height: 50px; border: 0; border-radius: 12px; background: var(--market-accent); color: #fff; font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.login-modal-submit:hover { background: #9e2f25; }
#sign-in-dialog .mfp-close { top: 14px; right: 14px; border-radius: 50%; width: 36px; height: 36px; line-height: 36px; }
@media (max-width: 480px) { #sign-in-dialog .popup-tabs-container { padding: 28px 20px 22px; } }
.login-modal-row a { white-space: nowrap; } .login-modal-row label { flex-shrink: 0; }

/* Promotion step */
.promo-ad { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #e7ded5; border-radius: 14px; padding: 12px; margin-bottom: 18px; color: var(--market-ink); }
.promo-ad img { width: 72px; height: 56px; object-fit: cover; border-radius: 8px; background: #f1ebe4; }
.promo-ad strong { font-size: 16px; }
.promo-options { display: grid; gap: 12px; }
.promo-option { display: block; margin: 0; cursor: pointer; }
.promo-option input { position: absolute; opacity: 0; pointer-events: none; }
.promo-card { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 28px; gap: 14px; align-items: center; background: #fff; border: 2px solid #e7ded5; border-radius: 16px; padding: 16px 18px; transition: border-color .15s, background .15s; }
.promo-option:hover .promo-card { border-color: #cdbfb2; }
.promo-option input:checked + .promo-card { border-color: var(--market-accent); background: #fdf6f3; }
.promo-option input:focus-visible + .promo-card { outline: 3px solid #d99a18; outline-offset: 2px; }
.promo-icon { width: 48px; height: 48px; border-radius: 12px; background: #fff4e0; color: #b7791f; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.promo-body strong { display: block; font-size: 17px; color: var(--market-ink); }
.promo-body span { display: block; font-size: 14px; color: var(--market-muted); line-height: 1.45; }
.promo-body small { display: block; font-size: 12px; color: var(--market-muted); margin-top: 4px; font-weight: 600; }
.promo-price { font-size: 20px; font-weight: 750; color: var(--market-ink); white-space: nowrap; }
.promo-check { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #d9cec3; display: flex; align-items: center; justify-content: center; color: transparent; }
.promo-option input:checked + .promo-card .promo-check { background: var(--market-accent); border-color: var(--market-accent); color: #fff; }
.promo-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #fff; border: 1px solid #e7ded5; border-radius: 16px; padding: 16px 18px; margin-top: 18px; }
.promo-footer span { display: block; font-size: 13px; color: var(--market-muted); }
.promo-footer strong { font-size: 26px; color: var(--market-ink); }
.promo-footer .acc-btn { min-height: 50px; padding: 0 22px; font-size: 16px; }
.promo-footer .acc-btn:disabled { opacity: .5; cursor: not-allowed; }
.promo-note { font-size: 13px; color: var(--market-muted); margin-top: 12px; }
@media (max-width: 600px) {
    .promo-card { grid-template-columns: 40px minmax(0, 1fr) 24px; padding: 14px; gap: 12px; }
    .promo-icon { width: 40px; height: 40px; font-size: 18px; }
    .promo-price { grid-column: 2; grid-row: 2; font-size: 18px; }
    .promo-check { grid-column: 3; grid-row: 1; width: 24px; height: 24px; }
    .promo-footer { position: sticky; bottom: 0; flex-direction: column; align-items: stretch; border-radius: 16px 16px 0 0; }
}

/* Conversations */
.acc-page .dashboard-box { border: 1px solid #e7ded5; border-radius: 16px; box-shadow: none; overflow: hidden; }
.inbox-thread-messages { height: min(460px, calc(100vh - 380px)); min-height: 260px; background: #fbf8f4; border-radius: 12px; padding: 14px; }
.inbox-bubble { background: #fff; border: 1px solid #ece3da; color: var(--market-ink); }
.inbox-bubble-row--mine .inbox-bubble { background: var(--market-accent); border-color: var(--market-accent); color: #fff; }
.inbox-bubble-text { font-size: 15px; }
.inbox-send-form textarea#thread-message-input { width: auto; min-width: 0; flex: 1; margin: 0; min-height: 48px; max-height: 140px; padding: 12px 14px; border: 1px solid #ddd3c9; border-radius: 12px; font-size: 15px; box-shadow: none; }
.inbox-send-form button { flex: 0 0 48px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--market-accent); color: #fff; font-size: 20px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.inbox-send-form button:hover { background: #9e2f25; }
.inbox-thread-ad-link, .inbox-item-ad { color: var(--market-accent); }
.inbox-list-item--unread .inbox-item-name, .inbox-list-item--unread .inbox-item-preview { color: var(--market-ink); }
.inbox-unread-badge { background: var(--market-accent) !important; }

/* ── Inbox list: one row per conversation, photo-first like the big marketplaces ── */
.inbox-list { display:flex;flex-direction:column;margin:-10px -10px 0; }
.inbox-row { position:relative;display:flex;align-items:center;gap:14px;padding:14px 12px;border-radius:14px;color:var(--market-ink);text-decoration:none;transition:background .15s; }
.inbox-row + .inbox-row { border-top:1px solid #f1e9e1; }
.inbox-row:hover { background:#fbf6f1;color:var(--market-ink); }
.inbox-row__media { position:relative;flex:0 0 64px;width:64px;height:64px; }
.inbox-row__ad { width:64px;height:64px;border-radius:12px;object-fit:cover;background:#f1ebe5;display:flex;align-items:center;justify-content:center;color:#b9aea4;font-size:22px; }
.inbox-row__avatar { position:absolute;right:-6px;bottom:-6px;width:28px;height:28px;border-radius:50%;object-fit:cover;border:2px solid #fff;background:#e9e2db; }
.inbox-row__body { flex:1;min-width:0;display:flex;flex-direction:column;gap:3px; }
.inbox-row__top { display:flex;align-items:baseline;justify-content:space-between;gap:10px; }
.inbox-row__name { font-size:15px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.inbox-row__date { flex:0 0 auto;font-size:12px;color:var(--market-muted,#746c66); }
.inbox-row__ad-line { display:flex;align-items:center;gap:8px;min-width:0;font-size:13px;color:var(--market-muted,#746c66); }
.inbox-row__title { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.inbox-row__price { flex:0 0 auto;font-weight:700;color:var(--market-ink); }
.inbox-row__gone { flex:0 0 auto;padding:2px 8px;border-radius:999px;background:#f1ebe5;font-size:11px;font-weight:600; }
.inbox-row__preview { font-size:14px;color:#5f5852;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.inbox-row.is-unread .inbox-row__name, .inbox-row.is-unread .inbox-row__preview { color:var(--market-ink);font-weight:700; }
.inbox-row.is-unread .inbox-row__date { color:var(--market-accent);font-weight:700; }
.inbox-row__badge { flex:0 0 auto;min-width:22px;height:22px;padding:0 7px;border-radius:11px;background:var(--market-accent);color:#fff;font-size:12px;font-weight:700;line-height:22px;text-align:center; }
.inbox-empty { text-align:center;padding:40px 16px;color:var(--market-muted,#746c66); }
.inbox-empty i { font-size:40px;color:#d8c9bb;display:block;margin-bottom:10px; }
@media (max-width: 600px) { .inbox-row { padding:12px 6px;gap:12px; } .inbox-row__media, .inbox-row__ad { width:56px;height:56px;flex-basis:56px; } }

/* ── Payments: one card per payment ───────────────────────────────────────── */
.tx-list { display:flex;flex-direction:column;gap:12px;padding:4px 0; }
.tx-row { display:flex;align-items:center;gap:16px;padding:18px;border:1px solid #efe5dc;border-radius:16px;background:#fff; }
.tx-row__icon { flex:0 0 48px;width:48px;height:48px;border-radius:14px;background:#f8ece7;color:var(--market-accent);display:flex;align-items:center;justify-content:center;font-size:22px; }
.tx-row__main { flex:1;min-width:0;display:flex;flex-direction:column;gap:4px; }
.tx-row__kind { font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--market-muted,#746c66); }
.tx-row__title { font-size:16px;font-weight:700;color:var(--market-ink);line-height:1.3; }
a.tx-row__title:hover { color:var(--market-accent); }
.tx-row__chips { display:flex;flex-wrap:wrap;gap:6px; }
.tx-chip { display:inline-block;padding:3px 9px;border-radius:999px;font-size:12px;font-weight:600;background:#f1ebe5;color:var(--market-ink); }
.tx-chip--featured { background:#fff3d6;color:#8a5a00; }
.tx-chip--urgent { background:#ffe4e1;color:#b42318; }
.tx-chip--highlight { background:#e7efff;color:#2348a8; }
.tx-row__meta { font-size:13px;color:var(--market-muted,#746c66); }
.tx-row__side { flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;gap:6px;text-align:right; }
.tx-row__amount { font-size:20px;font-weight:800;color:var(--market-ink); }
.tx-status { padding:3px 10px;border-radius:999px;font-size:12px;font-weight:700; }
.tx-status--success { background:#e3f5e8;color:#1e7a3c; }
.tx-status--pending { background:#fff3d6;color:#8a5a00; }
.tx-status--failed, .tx-status--cancel { background:#fde7e7;color:#b42318; }
.tx-row__invoice { display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border:1px solid #e3d9cf;border-radius:10px;font-size:13px;font-weight:600;color:var(--market-ink); }
.tx-row__invoice:hover { border-color:var(--market-accent);color:var(--market-accent); }
@media (max-width: 600px) {
  .tx-row { flex-wrap:wrap;padding:14px;gap:12px; }
  .tx-row__icon { flex-basis:40px;width:40px;height:40px;font-size:18px; }
  .tx-row__main { flex-basis:calc(100% - 56px); }
  .tx-row__side { flex-basis:100%;flex-direction:row;align-items:center;justify-content:space-between;padding-top:10px;border-top:1px solid #f1e9e1; }
}

/* ── Current plan card ─────────────────────────────────────────────────────── */
.plan-current__body { display:flex;align-items:center;gap:18px;padding:22px;margin:4px 0 0;border-radius:16px;background:linear-gradient(135deg,#fff7f2,#fdf1e6);border:1px solid #f1dfd2; }
.plan-current__icon { flex:0 0 56px;width:56px;height:56px;border-radius:16px;background:var(--market-accent);color:#fff;display:flex;align-items:center;justify-content:center;font-size:26px; }
.plan-current__info { flex:1;min-width:0;display:flex;flex-direction:column;gap:3px; }
.plan-current__label { font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--market-muted,#746c66); }
.plan-current__name { font-size:24px;line-height:1.2;color:var(--market-ink); }
.plan-current__meta { font-size:14px;color:var(--market-muted,#746c66); }
.plan-current__actions { display:flex;flex-direction:column;align-items:flex-end;gap:8px; }
.plan-current__cta { display:inline-block;padding:12px 22px;border-radius:12px;background:var(--market-accent);color:#fff !important;font-weight:700;font-size:15px; }
.plan-current__cta:hover { filter:brightness(.93); }
.plan-current__cancel { font-size:13px;color:var(--market-muted,#746c66);text-decoration:underline; }
.plan-current__perks { list-style:none;margin:18px 0 4px;padding:0;display:grid;gap:10px; }
.plan-current__perks li { display:flex;gap:10px;align-items:flex-start;font-size:15px;color:var(--market-ink); }
.plan-current__perks i { color:#1e7a3c;margin-top:3px; }
@media (max-width: 600px) { .plan-current__body { flex-wrap:wrap; } .plan-current__actions { flex-basis:100%;align-items:stretch; } .plan-current__cta { text-align:center; } }

/* ── Conversation ──────────────────────────────────────────────────────────── */
.chat-head { display:flex !important;align-items:center;gap:12px;flex-wrap:wrap; }
.chat-head__avatar { width:44px;height:44px;border-radius:50%;object-fit:cover; }
.chat-head__who { flex:1;min-width:140px; }
.chat-head__who h3 { margin:0 !important;font-size:16px !important; }
.chat-head__who span { font-size:13px;color:var(--market-muted,#746c66); }
.chat-ad { display:flex;align-items:center;gap:10px;padding:6px 12px 6px 6px;border:1px solid #efe5dc;border-radius:12px;background:#fff;color:var(--market-ink);max-width:340px; }
.chat-ad img { width:48px;height:48px;border-radius:8px;object-fit:cover;flex:0 0 48px; }
.chat-ad__text { display:flex;flex-direction:column;min-width:0;font-size:13px; }
.chat-ad__title { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.chat-ad strong { font-size:15px; }
.chat-ad:hover { border-color:var(--market-accent);color:var(--market-ink); }
.chat-ad--gone { padding:8px 12px;color:var(--market-muted,#746c66); }
.inbox-thread-messages.is-empty { display:none; }
.chat-empty { text-align:center;padding:36px 16px 24px;border-radius:14px;background:#fbf8f4;margin-bottom:14px; }
.chat-empty__title { font-size:18px;font-weight:700;color:var(--market-ink);margin:0 0 6px; }
.chat-empty__text { font-size:14px;color:var(--market-muted,#746c66);max-width:440px;margin:0 auto 16px; }
.chat-quick { display:flex;flex-wrap:wrap;gap:8px;justify-content:center; }
.chat-quick button { padding:9px 14px;border:1px solid #e3d6c9;border-radius:999px;background:#fff;color:var(--market-ink);font-size:14px;cursor:pointer; }
.chat-quick button:hover { border-color:var(--market-accent);color:var(--market-accent); }
.inbox-thread-messages { height:auto !important;min-height:180px;max-height:min(60vh,560px); }
.plan-current .plan-current__body { margin:20px 20px 0; }
.plan-current .plan-current__perks { margin:18px 22px 22px; }
.plan-pro-hint { display:flex;align-items:center;gap:14px;padding:16px 18px;margin:0 0 16px;border:1px solid #f1dfd2;border-radius:16px;background:#fff8f5; }
.plan-pro-hint > i { font-size:22px;color:var(--market-accent); }
.plan-pro-hint div { flex:1;display:flex;flex-direction:column;gap:2px;font-size:14px;color:#5f5852; }
.plan-pro-hint strong { color:var(--market-ink);font-size:15px; }
.plan-pro-hint a { flex:0 0 auto;padding:10px 16px;border-radius:12px;background:var(--market-accent);color:#fff !important;font-weight:700;font-size:14px; }
@media (max-width:600px){ .plan-pro-hint { flex-wrap:wrap; } .plan-pro-hint a { width:100%;text-align:center; } }
