

:root {
    --rb-pink: #f7dce7;
    --rb-peach: #fce4d2;
    --rb-yellow: #f6f1d4;
    --rb-mint: #ddf0e2;
    --rb-sky: #d9ecf9;
    --rb-lavender: #e5d9f2;
    --rb-lilac: #ece2f6;
    
    --rb-wash: linear-gradient(100deg,
        var(--rb-pink) 0%, var(--rb-peach) 20%, var(--rb-yellow) 40%,
        var(--rb-mint) 60%, var(--rb-sky) 80%, var(--rb-lavender) 100%);
    
    --rb-info: #d9ecf9;
    --rb-info-text: #2a5d7c;
    --rb-success: #ddf0e2;
    --rb-success-text: #2e6b40;
    --rb-warning: #fce4d2;
    --rb-warning-text: #8a5a23;
    --rb-error: #f8e4e6;
    --rb-error-text: #8f3a44;
    --rb-unread: #e5d9f2;
    --rb-unread-text: #4f3a6d;
}

.rw-avatar,
.account-avatar,
.msg-avatar,
.bs-avatar,
.chat-row-avatar,
.dash-conversation-avatar,
.dash-enquiry-avatar,
.admin-topbar-avatar,
.msg-head-avatar img,
.chat-head-avatar,
.chat-msg-avatar,
.msg-bubble-avatar,
.dash-message-avatar,
.dash-thread-avatar {
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 auto;
    background: var(--rb-lilac, #ece2f6);
    display: inline-grid;
    place-items: center;
    box-sizing: border-box;
}

.rw-avatar img,
.account-avatar img,
.msg-avatar img,
.bs-avatar img,
.chat-row-avatar img,
.dash-conversation-avatar img,
.dash-enquiry-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.account-avatar,
.msg-avatar,
.bs-avatar,
.chat-row-avatar,
.dash-conversation-avatar,
.dash-enquiry-avatar {
    position: relative;
    color: #4f3a6d;
    font-weight: 700;
}
.account-avatar::before,
.msg-avatar::before,
.bs-avatar::before,
.chat-row-avatar::before,
.dash-conversation-avatar::before,
.dash-enquiry-avatar::before {
    content: "";
}

img.rw-fallback-hidden { display: none !important; }

.account-avatar { width: 34px; height: 34px; font-size: 14px; }
.msg-avatar, .chat-row-avatar { width: 40px; height: 40px; font-size: 15px; }
.bs-avatar { width: 28px; height: 28px; font-size: 12px; }
.bs-card .bs-avatar { width: 24px; height: 24px; font-size: 10px; }
.admin-topbar-avatar { width: 32px; height: 32px; object-fit: cover; }
.dash-enquiry-avatar { width: 22px; height: 22px; font-size: 10px; vertical-align: middle; margin-right: 4px; display: inline-grid; }
.msg-head-avatar { display: flex; align-items: center; gap: 14px; }
.msg-head-avatar img { width: 56px; height: 56px; object-fit: cover; }
.chat-head-avatar { width: 26px; height: 26px; object-fit: cover; margin-right: 6px; }
.chat-row-avatar img { position: relative; z-index: 1; }
.chat-row-avatar.no-img img { display: none; }
.chat-row-letter { position: absolute; inset: 0; display: grid; place-items: center; z-index: 0; }
.dash-conversation-avatar { width: 38px; height: 38px; font-size: 15px; border-radius: 14px; }
.dash-conversation-avatar img { position: relative; z-index: 1; border-radius: 14px; }
.dash-conversation-avatar.no-img img { display: none; }
.dash-conversation-letter { position: absolute; inset: 0; display: grid; place-items: center; z-index: 0; }

.chat-bubble-row { display: flex; align-items: flex-end; gap: 7px; flex-direction: row; }
.chat-bubble-row.chat-theirs { justify-content: flex-start; }
.chat-bubble-row.chat-mine { flex-direction: row-reverse; justify-content: flex-start; }
.chat-msg-avatar { width: 24px; height: 24px; object-fit: cover; border-radius: 50%; background: var(--rb-lilac); flex: 0 0 24px; }
.chat-msg-avatar.hidden-av { display: none; }
.chat-bubble-row.cont { margin-top: -4px; }

.msg-row-bubble { display: flex; align-items: flex-end; gap: 8px; }
.msg-bubble-avatar { width: 26px; height: 26px; object-fit: cover; border-radius: 50%; background: var(--rb-lilac); }
.msg-row-bubble.msg-cont { margin-top: -6px; }
.msg-row-bubble.msg-mine { flex-direction: row-reverse; }

.dash-message-avatar { width: 22px; height: 22px; object-fit: cover; border-radius: 50%; background: var(--rb-lilac); flex: 0 0 22px; }
.dash-message-bubble { display: flex; align-items: flex-end; gap: 8px; background-clip: padding-box; }
.dash-bubble-content { flex: 1 1 auto; min-width: 0; }
.dash-message-bubble.cont { margin-top: -6px; }
.dash-thread-avatar { width: 34px; height: 34px; object-fit: cover; }
.dash-thread-subject { display: flex; align-items: center; gap: 10px; }
.dash-thread-subject-title { color: var(--buai-muted, #73776f); font-weight: 500; }

.dash-sidebar {
    background: linear-gradient(180deg, #17191b 0%, #101113 100%);
}
.dash-brand span { color: var(--rb-lavender, #e5d9f2); }

.dash-nav a {
    margin: 2px 10px;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    border-left: 3px solid transparent !important;
    color: #c6c7c2 !important;
    transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.dash-nav a:hover {
    background: var(--rb-wash) !important;
    color: #26241f !important;
    font-weight: 600;
    transform: translateX(2px);
    box-shadow: 0 3px 12px rgba(0, 0, 0, .25);
}
.dash-nav a:focus-visible {
    outline: 3px solid var(--rb-lavender);
    outline-offset: 1px;
    background: var(--rb-wash);
    color: #26241f;
}
.dash-nav a.active {
    background: var(--rb-wash) !important;
    color: #26241f !important;
    border-left-color: #a98fd4 !important;
    font-weight: 700 !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), 0 3px 12px rgba(0, 0, 0, .25);
}
.dash-nav a.active:hover { transform: none; }
.dash-nav a.active::before,
.dash-nav a[data-dash-link]::before { color: inherit; }
.dash-nav .dash-nav-label { margin: 0 10px; padding: 16px 14px 5px; color: #8b8d88; letter-spacing: 2px; }
.dash-nav a { background-origin: border-box; }

.dash-nav .dash-badge,
.dash-badge {
    background: var(--rb-unread, #e5d9f2) !important;
    color: #4f3a6d !important;
}

.admin-sidebar { background: linear-gradient(180deg, #17191b 0%, #101113 100%); }
.admin-nav a {
    margin: 2px 10px;
    border-radius: 10px;
    border-left: 3px solid transparent;
    transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.admin-nav a:hover {
    background: var(--rb-wash) !important;
    color: #26241f !important;
    font-weight: 600;
    transform: translateX(2px);
    box-shadow: 0 3px 12px rgba(0, 0, 0, .25);
}
.admin-nav a:focus-visible {
    outline: 3px solid var(--rb-lavender);
    outline-offset: 1px;
    background: var(--rb-wash);
    color: #26241f;
}
.admin-nav a.active {
    background: var(--rb-wash) !important;
    color: #26241f !important;
    border-left-color: #a98fd4 !important;
    font-weight: 700 !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), 0 3px 12px rgba(0, 0, 0, .25);
}
.admin-nav a.active:hover { transform: none; }

@media (prefers-reduced-motion: reduce) {
    .dash-nav a, .admin-nav a { transition: none !important; transform: none !important; }
}

.msg-unread-badge,
.chat-unread-badge,
.dash-message-unread {
    background: var(--rb-unread) !important;
    color: var(--rb-unread-text) !important;
}

.msg-row-unread { border-left: 4px solid var(--rb-unread) !important; }
.chat-row-unread { border-left: 4px solid var(--rb-unread) !important; }

.chat-unread {
    background: var(--rb-unread) !important;
    color: var(--rb-unread-text) !important;
}

.dash-pill.warn { background: var(--rb-warning) !important; color: var(--rb-warning-text) !important; }
.dash-notice { background: var(--rb-warning) !important; border: 1px solid #f0d2b8 !important; color: var(--rb-warning-text) !important; }
.dash-status-track span.status-yellow,
.dash-status-legend .status-yellow { background: #f3e3a8; }
.dash-status-legend .status-yellow i, .dash-status-track span.status-yellow { background: #f3e3a8 !important; }

.admin-alert.success { background: var(--rb-success) !important; color: var(--rb-success-text) !important; }
.admin-alert.error { background: var(--rb-error) !important; color: var(--rb-error-text) !important; }
.dash-flash.success { background: var(--rb-success) !important; color: var(--rb-success-text) !important; }
.dash-flash.error { background: var(--rb-error) !important; color: var(--rb-error-text) !important; }

.dash-body .account-menu,
.admin-body .account-menu {
    position: fixed;
    top: 12px;
    right: 14px;
    z-index: 110;
}

.dash-body .account-burger,
.admin-body .account-burger {
    background: #fffefa;
    border-color: var(--buai-border, #e4e5dc);
}

.dash-body .account-burger span,
.admin-body .account-burger span {
    background: var(--buai-text, #252923);
}

.dash-body .account-burger:hover,
.admin-body .account-burger:hover {
    border-color: #e9c94a;
}

.dash-body .account-dropdown,
.admin-body .account-dropdown {
    top: 50px;
}

.dash-body .dash-topbar-right,
.admin-body .admin-topbar-actions {
    margin-right: 52px;
}

@media (max-width: 900px) {
    
    .dash-body .dash-topbar-right {
        margin-right: 0;
    }
}

@media (max-width: 820px) {
    .admin-body .admin-topbar-actions {
        margin-right: 0;
    }
}

.admin-body .status-badge.pending,
.admin-body .status-badge.replied,
.status-badge.pending {
    background: var(--rb-warning) !important;
    color: var(--rb-warning-text) !important;
}

.bs-badge.boost { background: var(--rb-peach) !important; color: #7c4a17 !important; }
.bs-dash-row.is-boosted { border-left-color: var(--rb-peach) !important; }
.svc-apply-banner.pending { border-left: 4px solid var(--rb-peach) !important; background: #fdf3ea !important; }

.stat-card.pastel-yellow { background: #fbf8e9 !important; }

.ab-status.upcoming, .sd-badge.upcoming {
    background: var(--rb-warning) !important;
    color: var(--rb-warning-text) !important;
}

.site-nav {
    flex-wrap: nowrap;
    gap: 10px;
}
.site-nav .main-links,
.site-nav .market-links {
    min-width: 0;
    overflow: hidden;
}
.account-menu {
    margin-left: auto;
    flex-shrink: 0;
}
.brand {
    min-width: 0;
}
.brand span {
    white-space: nowrap;
}

@media (max-width: 900px) {
    .account-dropdown {
        position: fixed;
        top: 66px;
        right: 8px;
        left: auto;
        width: min(250px, calc(100vw - 16px));
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .site-nav .market-links {
        flex-wrap: nowrap;
        gap: 10px;
        font-size: 12px;
    }
    .market-brand {
        display: none; 
    }
    .site-nav .market-label {
        display: none; 
    }
}

.home-hero {
    overflow-x: clip;
}

img {
    max-width: 100%;
}

img[src*="storage/"] {
    height: auto;
}
.bsx-cat-items img[src*="storage/"],
.bsx-cat-photo > img[src*="storage/"],
.bsx-bubble-avatar img[src*="storage/"],
.author-image[src*="storage/"],
.bs-card-photo img[src*="storage/"],
.svc-card-photo img[src*="storage/"],
.market-photo img[src*="storage/"] {
    height: 100%;
}

.dash-table-wrap,
.admin-table {
    max-width: 100%;
}
.admin-table {
    overflow-x: auto;
    display: block;
    -webkit-overflow-scrolling: touch;
}
@media (max-width: 720px) {
    .dash-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    
    .dash-panel:has(.dash-table) {
        overflow-x: clip;
    }
    .dash-table {
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .dash-business-insights,
    .dash-cards {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    .dash-cards {
        gap: 10px;
    }
    .dash-card .dash-card-value {
        font-size: 22px;
    }
}

@media (max-width: 640px) {
    .dash-field-row {
        grid-template-columns: 1fr;
    }
    .dash-form-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    .dash-form-actions .dash-btn {
        width: 100%;
    }
    .dash-message-compose textarea {
        min-height: 44px;
    }
}

@media (max-width: 640px) {
    .chat-panel {
        right: 8px;
        left: 8px;
        width: auto;
        bottom: calc(84px + env(safe-area-inset-bottom, 0px));
        max-height: calc(100dvh - 140px);
    }
    .chat-launcher {
        right: 14px;
        bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    }
}

@media (max-width: 640px) {
    .dash-message-layout {
        grid-template-columns: 1fr;
    }
    .dash-conversation-list {
        max-height: 320px;
    }
    .dash-thread {
        max-height: 46vh;
    }
    .msg-thread-subject img,
    .msg-subj-img {
        border-radius: 8px;
    }
}

.bs-toolbar,
.dash-filterbar,
.svc-toolbar {
    flex-wrap: wrap;
}
.bs-toolbar input[type="search"],
.bs-toolbar select,
.dash-filterbar input[type="search"],
.dash-filterbar select {
    min-width: 0;
    flex: 1 1 130px;
}

.account-who strong,
.account-who small,
.bs-card-title,
.msg-row-preview,
.dash-conversation-preview,
.chat-row-preview,
.dash-enquiry-copy strong {
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    body.dash-nav-open .dash-burger,
    body.dash-nav-open .admin-menu-toggle {
        position: fixed;
    }
    
    body.dash-nav-open::after,
    body.admin-nav-open::after {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 24;
        background: rgba(9, 9, 9, .35);
    }
}

@media (min-width: 1600px) {
    .dash-content,
    .admin-content {
        max-width: 1560px;
    }
}

.buai-badge-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--buai-border, #e4e5dc);
    border-radius: 16px;
    background: var(--buai-surface, #fffefa);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.buai-badge-card:hover,
.buai-badge-card:focus-visible {
    border-color: #e0cfef;
    box-shadow: var(--buai-shadow-sm, 0 4px 16px rgba(38,43,34,.08));
    outline: none;
}
.buai-badge-card.earned {
    border-left: 4px solid #cbb3e8;
    background: linear-gradient(100deg, #fdf7fb, #fefaf3 55%, #faf8fd);
}
.buai-badge-card.locked { opacity: .82; }
.buai-badge-verified.earned { border-left-color: #e9c94a; background: linear-gradient(100deg, #fdfaf0, #fbf6e8); }
.buai-badge-verified.locked { border-left: 4px solid #d9d3bd; }
.buai-badge-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 18px;
    color: #4f3a6d;
    background: radial-gradient(circle at 30% 30%, #f7eefb, #ecdcf7);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.6);
}
.buai-badge-verified .buai-badge-icon { background: radial-gradient(circle at 30% 30%, #fdf6d8, #f6e9a8); color: #6d5a13; }
.buai-badge-card.locked .buai-badge-icon { filter: grayscale(.5); opacity: .75; }
.buai-badge-copy { flex: 1 1 auto; min-width: 0; }
.buai-badge-copy strong { display: block; font-size: 14px; color: var(--buai-text, #252923); }
.buai-badge-official-tag {
    display: inline-block;
    margin: 3px 0 5px;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8a6d00;
    background: #faf3d7;
    border-radius: 999px;
    padding: 2px 8px;
}
.buai-badge-copy p { margin: 4px 0 8px; font-size: 12.5px; color: var(--buai-muted, #73776f); line-height: 1.5; }
.buai-badge-state {
    align-self: center;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    background: #e5d9f2;
    color: #4f3a6d;
}
.buai-badge-card.locked .buai-badge-state { background: #efefec; color: #77776f; }
.buai-badge-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 12px; margin: 4px 0 12px; }
.buai-badges-subhead { margin: 18px 0 10px; font-size: 14px; color: var(--buai-text, #252923); }
.buai-badges-note { font-size: 12px; margin-top: 6px; }
.buai-badge-meter {
    height: 7px;
    border-radius: 999px;
    background: #efeef2;
    overflow: hidden;
    margin-bottom: 5px;
}
.buai-badge-meter span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #e9c94a, #f6c9dd 55%, #c9b3ea);
    transition: width .4s ease;
}
.buai-badge-card.locked .buai-badge-meter span { background: #c9c7d2; }
@media (prefers-reduced-motion: reduce) { .buai-badge-meter span { transition: none; } }

.buai-badge-strip { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.buai-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 11px 4px 6px;
    border-radius: 999px;
    background: linear-gradient(100deg, #fdf3f8, #fdf8ee 55%, #f6f1fb);
    border: 1px solid #ecdff2;
    color: #4f3a6d;
    cursor: help;
}
.buai-badge-pill .buai-badge-icon { width: 22px; height: 22px; font-size: 11px; flex-basis: 22px; }
.buai-badge-pill:focus-visible { outline: 3px solid #cbb3e8; outline-offset: 2px; }
.buai-badge-count { background: #f6f1fb; color: #4f3a6d; }

.dash-body .dash-btn,
.dash-body button[type="submit"]:not(.dash-logout),
.dash-body .action-menu-item,
.dash-body .dash-pagination a,
.dash-body .dash-pagination span,
.dash-btn,
.dash-btn.ghost,
.dash-btn.danger {
    border-radius: 999px;
    transition: background .2s ease, color .2s ease, transform .16s ease, box-shadow .16s ease;
}
.dash-btn,
.dash-body .dash-btn,
.dash-body button[type="submit"]:not(.dash-logout) {
    background: #111;
    color: #f4f4f2;
    border: 1px solid #111;
}
.dash-btn:hover,
.dash-body .dash-btn:hover,
.dash-body button[type="submit"]:not(.dash-logout):hover {
    background: linear-gradient(100deg, #f3d8e6, #f9e3cc 25%, #f4eec6 45%, #d9eddd 65%, #d5e6f5 85%, #e0d1f2);
    color: #26241f;
    border-color: #eee6da;
    box-shadow: 0 4px 16px rgba(38, 43, 34, .14);
    transform: translateY(-1px);
}
.dash-btn:focus-visible,
.dash-body .dash-btn:focus-visible,
.dash-body button[type="submit"]:not(.dash-logout):focus-visible {
    outline: 3px solid rgba(203, 179, 232, .8);
    outline-offset: 2px;
}
.dash-btn:active,
.dash-body .dash-btn:active { transform: translateY(0) scale(.98); }
.dash-btn:disabled,
.dash-body .dash-btn:disabled,
.dash-body button[type="submit"]:disabled {
    background: #9a9a94;
    border-color: #9a9a94;
    color: #f0f0ec;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.dash-btn.danger,
.dash-body .dash-btn.danger { background: #b02a2a; border-color: #b02a2a; color: #fff; }
.dash-btn.danger:hover,
.dash-body .dash-btn.danger:hover { background: #8f2020; border-color: #8f2020; color: #fff; transform: none; }
.dash-btn.ghost,
.dash-body .dash-btn.ghost { background: transparent; color: #111; border-color: #111; }
.dash-btn.ghost:hover,
.dash-body .dash-btn.ghost:hover {
    background: linear-gradient(100deg, #f9e3cc, #f4eec6 50%, #d9eddd);
    color: #26241f;
    border-color: #ddd6c8;
}
@media (prefers-reduced-motion: reduce) {
    .dash-btn, .dash-body button[type="submit"]:not(.dash-logout) { transition: none !important; }
    .dash-btn:hover { transform: none !important; }
}

.bs-page .light-button,
.svc-page .light-button,
.bs-form button[type="submit"],
.svc-form button[type="submit"],
.bs-page button[type="submit"],
.bs-toolbar button[type="submit"],
.bsf-submit,
.bsf-cancel,
.mp-gradient-hover {
    background: #111;
    color: #f4f4f2;
    border: 1px solid #111;
    border-radius: 999px;
    transition: background .2s ease, color .2s ease, transform .16s ease, box-shadow .16s ease;
}
.bs-page .light-button:hover,
.svc-page .light-button:hover,
.bs-page .light-button.active,
.svc-page .light-button.active,
.bs-page .light-button[aria-current="page"],
.bs-form button[type="submit"]:hover,
.svc-form button[type="submit"]:hover,
.bs-page button[type="submit"]:hover,
.bs-toolbar button[type="submit"]:hover,
.bsf-submit:hover,
.bs-page .light-button.accent:hover,
.mp-gradient-hover:hover,
.mp-gradient-hover.active {
    background: linear-gradient(100deg, #f9e3cc, #f4eec6 50%, #d9eddd);
    color: #26241f;
    border-color: #eee6da;
    transform: translateY(-1px);
}

.mp-gradient-hover.mp-cta-solid,
.mpx-cta { background: #111; color: #f4f4f2; border: 1px solid #111; border-radius: 999px; }
.mpx-cta.solid { background: #111; color: #f4f4f2; border-color: #111; }
.mpx-cta:hover { background: linear-gradient(100deg, #f9e3cc, #f4eec6 50%, #d9eddd); color: #26241f; border-color: #eee6da; opacity: 1; transform: translateY(-1px); }

.mpx-switch a { background: #111; color: #f4f4f2; border: 1px solid #111; }
.mpx-switch a:hover { background: linear-gradient(100deg, #f9e3cc, #f4eec6 50%, #d9eddd); color: #26241f; }
.mpx-switch a.active,
.mpx-switch a[aria-current="page"] { background: linear-gradient(100deg, #f9e3cc, #f4eec6 50%, #d9eddd); color: #26241f; border-color: #eee6da; }

.bsx-chip { background: #111; color: #f4f4f2; border: 1px solid #111; }
.bsx-chip:hover { background: linear-gradient(100deg, #f9e3cc, #f4eec6 50%, #d9eddd); color: #26241f; }
.bsx-chip.active { background: linear-gradient(100deg, #f9e3cc, #f4eec6 50%, #d9eddd); color: #26241f; border-color: #eee6da; }

.bsx-rail {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 1268px;
    margin: 6px 0 24px;
}

.bsx-cat-chips--cats {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 14px 12px;
    margin: 0;
    padding: 4px 22px;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    border-left: 1px solid rgba(17, 17, 17, .08);
    border-right: 1px solid rgba(17, 17, 17, .08);
}

.bsx-category-board.can-left .bsx-cat-chips--cats {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px);
            mask-image: linear-gradient(90deg, transparent 0, #000 22px);
}
.bsx-category-board.can-right .bsx-cat-chips--cats {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 22px), transparent 100%);
            mask-image: linear-gradient(90deg, #000 calc(100% - 22px), transparent 100%);
}
.bsx-category-board.can-left.can-right .bsx-cat-chips--cats {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
}
.bsx-cat-chips--cats::-webkit-scrollbar { display: none; }
.bsx-cat-chips--cats > .bsx-bubble { flex: 0 0 auto; }

.bsx-rail-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-top: 12px;
    padding: 0;
    border: 1px solid #111;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(38, 36, 31, .18);
    transition: background .2s ease, color .2s ease, opacity .2s ease, transform .2s ease;
}
.bsx-rail-btn:hover:not(:disabled) {
    background: linear-gradient(100deg, #f9e3cc, #f4eec6 50%, #d9eddd);
    color: #26241f;
    transform: translateY(-1px);
}
.bsx-rail-btn:focus-visible { outline: 3px solid #c9a7e8; outline-offset: 2px; }
.bsx-rail-btn:disabled { opacity: .25; cursor: default; box-shadow: none; }

.bsx-category-board.is-rail-static .bsx-rail-btn {
    width: 0;
    opacity: 0;
    border-width: 0;
    pointer-events: none;
    overflow: hidden;
}

@media (max-width: 640px) {
    .bsx-rail { gap: 4px; margin: 4px 0 18px; }
    .bsx-rail-btn { width: 32px; height: 32px; margin-top: 10px; }
    .bsx-rail-btn .ui-icon { width: 16px; height: 16px; }
    .bsx-bubble-avatar .ui-icon { width: 22px; height: 22px; }
}

.bsx-category-board { margin: 6px 0 24px; }
.bsx-category-board__heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.bsx-category-board__title { color:#26241f; font-size:14px; font-weight:700; }
.bsx-category-toggle {
    display:inline-flex; align-items:center; gap:8px; padding:8px 13px; border:1px solid #111;
    border-radius:999px; background:#111; color:#fff; font:inherit; font-size:12px; font-weight:700;
    cursor:pointer; transition:background .2s ease, color .2s ease, transform .2s ease;
}
.bsx-category-toggle:hover { background:linear-gradient(100deg,#f9e3cc,#f4eec6 50%,#d9eddd); color:#26241f; transform:translateY(-1px); }
.bsx-category-toggle__icon { display:inline-flex; transition:transform .25s ease; }
.bsx-category-board.is-collapsed .bsx-category-toggle__icon { transform:rotate(180deg); }
.bsx-category-panel { max-height:1200px; opacity:1; overflow:hidden; transform:translateY(0); transition:max-height .4s ease, opacity .25s ease, transform .35s ease; }
.bsx-category-board.is-collapsed .bsx-category-panel { max-height:0; opacity:0; transform:translateY(-8px); }
.bsx-category-board.is-collapsed .bsx-cat-chips--cats { margin-top:0; margin-bottom:0; }
.bsx-category-board.is-collapsed .bsx-rail { margin-top:0; margin-bottom:0; }

.bsx-bubble {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 84px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 18px;
    background: transparent;
    color: #26241f;
    text-decoration: none;
    animation: bubble-in .28s ease backwards;
    transition: transform .2s ease;
}

@keyframes bubble-in {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: none; }
}

.bsx-bubble:nth-child(1) { animation-delay: .01s; }
.bsx-bubble:nth-child(2) { animation-delay: .03s; }
.bsx-bubble:nth-child(3) { animation-delay: .05s; }
.bsx-bubble:nth-child(4) { animation-delay: .07s; }
.bsx-bubble:nth-child(5) { animation-delay: .09s; }
.bsx-bubble:nth-child(6) { animation-delay: .11s; }
.bsx-bubble:nth-child(7) { animation-delay: .13s; }
.bsx-bubble:nth-child(8) { animation-delay: .15s; }

.bsx-bubble-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #f1efe8;
    color: #26241f;
    box-shadow: inset 0 0 0 1px rgba(38, 36, 31, .06);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.bsx-bubble-avatar .ui-icon { display: block; width: 26px; height: 26px; }

.bsx-bubble-label {
    max-width: 84px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.bsx-bubble:hover {
    transform: translateY(-2px);
}
.bsx-bubble:hover .bsx-bubble-avatar {
    transform: scale(1.04);
    background: #e9e5db;
    box-shadow: 0 6px 14px rgba(38, 36, 31, .12);
}

.bsx-bubble.active {
    border-color: transparent;
    color: #26241f;
}
.bsx-bubble.active .bsx-bubble-avatar {
    background: #26241f;
    color: #fdfbf6;
    transform: none;
    box-shadow: 0 0 0 3px #fdfbf6, 0 0 0 5px #26241f;
}
.bsx-bubble.active .bsx-bubble-label {
    color: #111;
}

.bsx-bubble--all .bsx-bubble-avatar {
    background: #26241f;
    color: #fdfbf6;
    box-shadow: none;
}
.bsx-bubble--all.active .bsx-bubble-avatar {
    box-shadow: 0 0 0 3px #fdfbf6, 0 0 0 5px #26241f;
}

.bsx-bubble--clear .bsx-bubble-avatar {
    background: transparent;
    box-shadow: none;
    border: 1.5px dashed rgba(38, 36, 31, .35);
    color: #26241f;
}
.bsx-bubble--clear:hover .bsx-bubble-avatar {
    transform: none;
    background: #f1efe8;
    border-color: #26241f;
}

.bsx-bubble:focus-visible {
    outline: 3px solid #c9a7e8;
    outline-offset: 3px;
    border-radius: 14px;
}

@media (hover: none) {
    .bsx-category-board:not(.is-collapsed) .bsx-bubble {
        animation: bubble-in .28s ease backwards;
    }
    
    .bsx-bubble:active {
        transform: scale(.96);
    }
    .bsx-bubble:active .bsx-bubble-avatar {
        transform: scale(.96);
    }
}

@media (prefers-reduced-motion: reduce) {
    .bsx-bubble {
        animation: none;
        transition: none;
    }
    .bsx-category-panel,
    .bsx-category-toggle,
    .bsx-category-toggle__icon { transition: none; }
    .bsx-bubble:hover,
    .bsx-bubble:hover .bsx-bubble-avatar,
    .bsx-bubble--clear:hover .bsx-bubble-avatar {
        transform: none;
    }
}

@media (max-width: 640px) {
    .bsx-cat-chips--cats {
        gap: 12px 8px;
        padding: 4px 2px;
    }
    .bsx-bubble {
        width: 72px;
        
        min-height: 84px;
        justify-content: flex-start;
    }
    .bsx-bubble-avatar {
        width: 50px;
        height: 50px;
        font-size: 21px;
    }
    .bsx-bubble-label {
        max-width: 72px;
        font-size: 11px;
    }
}

.bs-page .light-button.danger:hover { background: #b02a2a; border-color: #b02a2a; color: #fff; transform: none; }

body.bs-sold-open { overflow: hidden; }

.bs-sold-modal[hidden] { display: none; }
.bs-sold-modal {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bs-sold-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 19, 16, .55);
    backdrop-filter: blur(2px);
    animation: bs-sold-fade .18s ease;
}

.bs-sold-sheet {
    position: relative;
    width: 100%;
    max-width: 460px;
    max-height: min(92vh, 760px);
    overflow-y: auto;
    padding: 22px 22px 20px;
    border-radius: 22px;
    background: #fdfbf6;
    color: #26241f;
    box-shadow: 0 24px 60px rgba(20, 19, 16, .35);
    animation: bs-sold-rise .22s cubic-bezier(.2, .9, .3, 1.1);
}

@keyframes bs-sold-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bs-sold-rise {
    from { opacity: 0; transform: translateY(14px) scale(.98); }
    to   { opacity: 1; transform: none; }
}

.bs-sold-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.bs-sold-kicker { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a857c; }
.bs-sold-head h2 { margin: 4px 0 0; font-size: 19px; line-height: 1.25; }
.bs-sold-x {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border: 0; border-radius: 50%;
    background: #f1efe8; color: #26241f; cursor: pointer;
}
.bs-sold-x:hover { background: #e7e3d9; }
.bs-sold-x .ui-icon { width: 16px; height: 16px; }

.bs-sold-progress { height: 4px; margin: 14px 0 16px; border-radius: 999px; background: #eee9df; overflow: hidden; }
.bs-sold-progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: #26241f; transition: width .28s ease; }

.bs-sold-item { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bs-sold-item-photo {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 14px; overflow: hidden; background: #e9e5db;
}
.bs-sold-item-photo img { width: 100%; height: 100%; object-fit: cover; }
.bs-sold-item strong { display: block; font-size: 14px; line-height: 1.3; }
.bs-sold-item small { color: #6f6a61; font-size: 12px; }

.bs-sold-error {
    margin: 0 0 12px; padding: 10px 12px; border-radius: 12px;
    background: #fdeaea; color: #9b2226; font-size: 13px; font-weight: 600;
}
.bs-sold-hint { margin: 0 0 12px; color: #6f6a61; font-size: 13px; line-height: 1.45; }

.bs-sold-step { display: block; }

.bs-sold-step[hidden] { display: none; }
.bs-sold-choice {
    display: flex; align-items: center; gap: 12px; width: 100%;
    margin-bottom: 8px; padding: 12px 14px;
    border: 1px solid #e5e0d6; border-radius: 16px;
    background: #fff; color: inherit; font: inherit; text-align: left; cursor: pointer;
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.bs-sold-choice:hover {
    border-color: #26241f; transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(38, 36, 31, .08);
}
.bs-sold-choice-icon {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%; background: #f4f1e9; color: #26241f;
}
.bs-sold-choice-icon .ui-icon { width: 20px; height: 20px; }
.bs-sold-choice strong { display: block; font-size: 14px; }
.bs-sold-choice small { color: #6f6a61; font-size: 12px; }
.bs-sold-choice-arrow { margin-left: auto; color: #b2ada2; font-size: 20px; }

.bs-sold-buyers { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.bs-sold-buyer {
    display: flex; align-items: center; gap: 12px; width: 100%;
    padding: 10px 12px; border: 1px solid #e5e0d6; border-radius: 16px;
    background: #fff; color: inherit; font: inherit; text-align: left; cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.bs-sold-buyer:hover { border-color: #26241f; }
.bs-sold-buyer img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #e9e5db; }
.bs-sold-buyer strong { display: block; font-size: 14px; }
.bs-sold-buyer small { color: #6f6a61; font-size: 12px; }
.bs-sold-buyer-tick {
    margin-left: auto; display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%; background: #26241f; color: #fff;
    font-size: 12px; opacity: 0; transition: opacity .15s ease;
}
.bs-sold-buyer.is-picked { border-color: #26241f; box-shadow: 0 0 0 2px #26241f inset; }
.bs-sold-buyer.is-picked .bs-sold-buyer-tick { opacity: 1; }
.bs-sold-empty { font-size: 13px; color: #6f6a61; line-height: 1.5; }

.bs-sold-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }

.bs-sold-done { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 0 16px; text-align: center; }
.bs-sold-done-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; margin-bottom: 4px; border-radius: 50%;
    background: #d9eddd; color: #1f5b34;
}
.bs-sold-done-icon .ui-icon { width: 22px; height: 22px; }
.bs-sold-done strong { font-size: 16px; }
.bs-sold-done small { color: #6f6a61; font-size: 13px; }

.bs-sold-rate-card { margin-top: 12px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid #e5e0d6; }
.bs-sold-rate-card h3 { margin: 0 0 4px; font-size: 15px; }
.bs-star-input { display: flex; gap: 4px; margin: 6px 0 10px; }
.bs-star-input button {
    padding: 0; border: 0; background: none; cursor: pointer;
    font-size: 30px; line-height: 1; color: #dcd6c9;
    transition: color .12s ease, transform .12s ease;
}
.bs-star-input button:hover { transform: scale(1.1); }
.bs-star-input button.is-on { color: #e0a800; }
.bs-sold-rate-card textarea {
    width: 100%; margin-bottom: 10px; padding: 10px 12px;
    border: 1px solid #e5e0d6; border-radius: 12px; background: #fdfbf6;
    font: inherit; font-size: 13px; resize: vertical;
}
.bs-sold-rate-card textarea:focus { outline: 2px solid #26241f; outline-offset: 1px; }

@media (max-width: 640px) {
    .bs-sold-modal { align-items: flex-end; padding: 0; }
    .bs-sold-sheet {
        max-width: none; max-height: 90vh;
        border-radius: 22px 22px 0 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
        animation: bs-sold-slide .24s cubic-bezier(.2, .9, .3, 1);
    }
    @keyframes bs-sold-slide { from { transform: translateY(100%); } to { transform: none; } }
    .bs-star-input button { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
    .bs-sold-sheet, .bs-sold-backdrop { animation: none; }
    .bs-sold-progress span { transition: none; }
}

@media (max-width: 900px) {
.flip-face-body {
    display: block;
    position: relative;
    min-height: 230px;
    overflow: hidden;
}
}

.flip-face-media img,
.flip-cat-face img,
a.market-photo > img,
.market-photo img,
.bsx-cat-photo > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
    display: block;
}
@media (max-width: 900px) {
    .flipbox-inner { min-height: 250px; }
    
    .flipbox-face.flipbox-back.flip-cat-face { inset: 0; height: 100%; }
    .market-side { padding: 0 12px; }
}
@media (max-width: 480px) {
    .flip-face-body { min-height: 210px; }
    .flip-face-body h1,
    .flipbox-face h1 { font-size: 22px !important; }
}

.flip-face-shade,
a.market-photo::after {
    background: linear-gradient(180deg, rgba(12, 12, 12, .06) 0%, rgba(12, 12, 12, .28) 55%, rgba(12, 12, 12, .62) 100%);
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.flip-cat-face-link:focus-visible,
a.market-photo:focus-visible {
    outline: 3px solid #e9c94a;
    outline-offset: -3px;
}
@media (prefers-reduced-motion: reduce) {
    .flipbox-inner { transition: none !important; }
}

.dash-conversation-list { border-right-color: #eceadd; }
.dash-conversation { border-bottom-color: #f0efe6; }
.dash-message-search input:focus,
.dash-message-compose textarea:focus {
    border-color: #c9b3ea !important;
    box-shadow: 0 0 0 3px rgba(203, 179, 232, .28);
    outline: 0;
}
.dash-conversation.selected {
    border: 1px solid #e0cfef;
    box-shadow: inset 3px 0 0 #c9b3ea;
}
.chat-panel { border-color: #e8e4d8; }
.chat-row { border-bottom: 1px solid #f0efe6; }
.chat-row.selected,
.chat-row:hover { background: #faf7fb; }
.chat-compose textarea:focus { border-color: #c9b3ea; box-shadow: 0 0 0 3px rgba(203, 179, 232, .25); outline: 0; }
.chat-compose #chatSend,
.chat-send {
    background: #111;
    color: #f4f4f2;
    border: 1px solid #111;
    border-radius: 999px;
    transition: background .2s ease, color .2s ease;
}
.chat-compose #chatSend:hover {
    background: linear-gradient(100deg, #f3d8e6, #f9e3cc 40%, #f4eec6 65%, #d9eddd);
    color: #26241f;
}

.chat-minimise {
    background: none;
    border: none;
    color: #8b8880;
    font-size: 15px;
    line-height: 1;
    padding: 4px 6px;
    cursor: pointer;
    border-radius: 6px;
}
.chat-minimise:hover { color: #111; background: #f0efe6; }
.chat-panel.minimised { height: 46px; overflow: hidden; }

.app-review-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.app-review-form input[type=text] { margin-bottom: 8px; }
.app-review-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.app-review-buttons button {
    border: 1px solid #111;
    background: #111;
    color: #f4f4f2;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    transition: background .2s ease, color .2s ease;
}
.app-review-buttons button[name="decision"][value="approved"]:hover {
    background: linear-gradient(100deg, #f3d8e6, #f9e3cc 30%, #f4eec6 55%, #d9eddd);
    color: #26241f;
    border-color: #eee6da;
}
.app-review-buttons button[name="decision"][value="rejected"] { background: #b02a2a; border-color: #b02a2a; }
.app-review-buttons button[name="decision"][value="rejected"]:hover { background: #8f2020; }
.app-review-buttons button:focus-visible { outline: 3px solid rgba(203, 179, 232, .8); outline-offset: 2px; }
.app-review-buttons button[aria-disabled="true"] { opacity: .6; cursor: wait; }
.app-review-form.is-submitting { pointer-events: none; }
.app-status-pill {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 11px;
    border-radius: 999px;
}
.app-status-pill.pending { background: #f9e3cc; color: #7c4a17; }
.app-status-pill.approved { background: #ddf0e2; color: #2e6b40; }
.app-status-pill.rejected { background: #f8e4e6; color: #8f3a44; }

.article-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    z-index: 902;
    pointer-events: none;
    background: transparent;
}
.article-progress span {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #e9c94a, #f2a0c0 50%, #a98fd4 100%);
    border-radius: 0 3px 3px 0;
}
@media (prefers-reduced-motion: reduce) {
    .article-progress span { transition: none !important; }
}

.article-share {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 14px 0 6px;
}
.article-share strong {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #6a6a66;
    margin-right: 4px;
}
.article-share a,
.article-share button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(17, 17, 17, .22);
    background: transparent;
    color: #111;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease;
}
.article-share a:hover,
.article-share button:hover { background: #f0efe6; border-color: #111; }
.article-share button:focus-visible,
.article-share a:focus-visible { outline: 3px solid #e9c94a; outline-offset: 2px; }
.article-share .share-feedback { font-size: 12px; color: #2e6b40; }
@media (max-width: 640px) {
    .article-share { margin-top: 10px; }
}

.article-banner {
    position: relative;
    overflow: hidden;
}
.article-banner .bubble-field {
    position: absolute;
    inset: 0;
    pointer-events: none; 
}
.article-banner .bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 30%,
        rgba(255, 255, 255, .5) 0%,
        rgba(255, 255, 255, .14) 28%,
        rgba(233, 201, 74, .08) 55%,
        rgba(169, 143, 212, .10) 78%,
        rgba(255, 255, 255, .05) 100%);
    box-shadow: inset 0 0 8px rgba(255, 255, 255, .28), 0 2px 10px rgba(0, 0, 0, .05);
    opacity: 0;
    transform: translateY(12px);
    animation: bubble-rise 14s ease-in-out infinite;
}
.article-banner .bubble::after {
    content: "";
    position: absolute;
    top: 14%;
    left: 20%;
    width: 34%;
    height: 24%;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
    filter: blur(1px);
}
@keyframes bubble-rise {
    0%   { opacity: 0; transform: translateY(16px) scale(.85); }
    12%  { opacity: .8; }
    88%  { opacity: .55; }
    100% { opacity: 0; transform: translateY(-14px) scale(1.06); }
}
.article-banner .bubble-ripple {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .35);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
}
@media (prefers-reduced-motion: reduce) {
    .article-banner .bubble { animation: none; opacity: .25; transform: none; }
}

.msg-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}
.msg-attachment-thumb {
    width: 132px;
    height: 96px;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    background: #ece2f6;
    border: 1px solid rgba(17, 17, 17, .1);
}
.msg-attachment-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.msg-attachment-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 230px;
    padding: 7px 11px;
    border: 1px solid rgba(17, 17, 17, .14);
    border-radius: 10px;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-size: 12.5px;
}
.msg-attachment-chip.audio { background: #e5d9f2; }
.msg-attachment-icon { font-size: 15px; flex: 0 0 auto; }
.msg-attachment-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}
.msg-attachment-size { color: #6a6a66; font-size: 11px; flex: 0 0 auto; }
.msg-file-input {
    display: block;
    font-size: 12.5px;
    color: #444;
    margin-bottom: 8px;
}
.msg-pick {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(17, 17, 17, .2);
    border-radius: 10px;
    background: #fff;
    color: #111;
    cursor: pointer;
    align-self: flex-end;
    transition: background .15s ease, transform .15s ease;
}
.msg-pick:hover { background: #f6f1d4; transform: translateY(-1px); }
.msg-file-names {
    flex: 0 0 auto;
    max-width: 140px;
    font-size: 12px;
    color: #6a6a66;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    align-self: flex-end;
    padding-bottom: 10px;
}

.msg-bubble.msg-mine .msg-attachment-chip {
    background: rgba(255, 255, 255, .92);
    border-color: rgba(255, 255, 255, .4);
    color: #111;
}
.msg-bubble.msg-mine .msg-attachment-thumb { border-color: rgba(255, 255, 255, .4); }

@media (max-width: 640px) {
    .msg-attachment-thumb { width: 112px; height: 82px; }
}

@media (max-width: 480px) {
    .bs-grid,
    .svc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .bs-grid .bs-card,
    .svc-grid .svc-card { min-width: 0; }

    
    .bs-grid .bs-card-photo,
    .svc-grid .bs-card-photo { aspect-ratio: 4 / 3; }

    .bs-grid .bs-card-body,
    .svc-grid .bs-card-body {
        padding: 8px 10px 10px;
        gap: 2px;
    }
    .bs-grid .bs-card-title,
    .svc-grid .bs-card-title {
        font-size: 13px;
        line-height: 1.25;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .bs-grid .bs-card-meta,
    .svc-grid .bs-card-meta {
        font-size: 10.5px;
        line-height: 1.3;
        
        gap: 0 4px;
        overflow: hidden;
    }
    .bs-grid .bs-card-meta .bs-card-cat + .bs-condition::before,
    .svc-grid .bs-card-meta .bs-card-cat + .bs-condition::before {
        margin-right: 4px;
    }
    
    .bs-grid .bs-card-price { font-size: 12.5px; font-weight: 600; line-height: 1.2; }
    .bs-grid .bs-card-seller {
        margin-top: 2px;
        font-size: 10.5px;
        gap: 6px;
        line-height: 1.2;
    }
    .bs-grid .bs-avatar,
    .svc-grid .bs-avatar { width: 18px; height: 18px; }
}

@media (max-width: 1024px) and (min-width: 481px) {
    .bs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) and (min-width: 481px) {
    .bs-grid .bs-card-photo { aspect-ratio: 4 / 3; }
    .bs-grid .bs-card-price { font-size: 13.5px; font-weight: 600; }
}

@media (max-width: 1024px) and (min-width: 481px) {
    
    .bs-grid .bs-card-photo { aspect-ratio: 5 / 4; }
    .bs-grid .bs-card-body { padding: 10px 12px 12px; gap: 3px; }
    .bs-grid .bs-card-title { font-size: 14px; line-height: 1.3; }
    .bs-grid .bs-card-meta { font-size: 11px; line-height: 1.35; }
    .bs-grid .bs-card-price { font-size: 14px; font-weight: 600; }
    .bs-grid .bs-card-seller { font-size: 12px; margin-top: 4px; }
}

.chat-compose-row,
.dash-compose-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    width: 100%;
}
.chat-pick,
.dash-pick {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(17, 17, 17, .2);
    border-radius: 10px;
    background: #fff;
    color: #111;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}
.chat-pick:hover,
.dash-pick:hover {
    background: #f6f1d4;
    transform: translateY(-1px);
}
.chat-pick:disabled,
.dash-pick:disabled { opacity: .5; cursor: default; }
.chat-file-input,
[data-message-file-input] { display: none !important; }

.chat-file-chips,
.dash-file-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    margin: 0 0 8px;
}
.chat-pending-chip,
.dash-pending-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 6px 4px 10px;
    border: 1px solid rgba(17, 17, 17, .15);
    border-radius: 999px;
    background: #fff;
    font-size: 12px;
}
.chat-pending-name,
.dash-pending-name { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-pending-remove,
.dash-pending-remove {
    border: none;
    background: #f3f3ef;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    line-height: 1;
    cursor: pointer;
    color: #111;
}
.chat-pending-remove:hover,
.dash-pending-remove:hover { background: #f8e4e6; color: #8f3a44; }

.chat-attachments,
.dash-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}
.chat-attachment-thumb,
.dash-attachment-thumb {
    width: 132px;
    height: 96px;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    background: #ece2f6;
    border: 1px solid rgba(17, 17, 17, .1);
}
.chat-attachment-thumb img,
.dash-attachment-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .2s ease;
}
.chat-attachment-thumb:hover img,
.dash-attachment-thumb:hover img { transform: scale(1.05); }
.chat-attachment-thumb.broken,
.dash-attachment-thumb.broken { display: none; }

.chat-attachment-chip,
.dash-attachment-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 230px;
    padding: 7px 11px;
    border: 1px solid rgba(17, 17, 17, .14);
    border-radius: 10px;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-size: 12.5px;
    transition: background .15s ease;
}
.chat-attachment-chip:hover,
.dash-attachment-chip:hover { background: #f6f1d4; }
.chat-attachment-chip.audio,
.dash-attachment-chip.audio { background: #e5d9f2; }
.chat-attachment-icon,
.dash-attachment-icon { font-size: 15px; flex: 0 0 auto; }
.chat-attachment-label,
.dash-attachment-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}
.chat-attachment-size,
.dash-attachment-size { color: #6a6a66; font-size: 11px; flex: 0 0 auto; }

.chat-bubble.chat-mine .chat-attachment-chip,
.dash-message-bubble.mine .dash-attachment-chip {
    background: rgba(255, 255, 255, .92);
    border-color: rgba(255, 255, 255, .4);
    color: #111;
}
.chat-bubble.chat-mine .chat-attachment-thumb,
.dash-message-bubble.mine .dash-attachment-thumb { border-color: rgba(255, 255, 255, .4); }

.dash-message-compose {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    border-top: 1px solid var(--buai-border, #e4e5dc);
}
.dash-message-compose textarea {
    flex: 1;
    min-height: 44px;
    resize: vertical;
    padding: 11px 12px;
    border: 1px solid var(--buai-border, #e4e5dc);
    border-radius: 12px;
    background: #fffefa;
    font: inherit;
}
.dash-message-compose .dash-btn { flex: 0 0 auto; align-self: flex-end; }

.dash-message-bubble.theirs {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, .1);
    color: #111;
    box-shadow: 0 1px 2px rgba(38, 36, 31, .06);
}
.dash-message-bubble.mine {
    background: #111;
    color: #f5f5f2;
    border: 1px solid #111;
}
.dash-message-bubble.mine .dash-message-meta,
.dash-message-bubble.mine .dash-message-meta strong { color: rgba(255, 255, 255, .78); }
.dash-message-bubble.mine p { color: #f5f5f2; }
.dash-message-bubble.cont { margin-top: -4px; }
.dash-message-bubble:not(.cont).theirs { border-bottom-left-radius: 5px; }
.dash-message-bubble:not(.cont).mine { border-bottom-right-radius: 5px; }

@media (max-width: 640px) {
    .chat-attachment-thumb,
    .dash-attachment-thumb { width: 112px; height: 82px; }
    .chat-pick,
    .dash-pick { width: 34px; height: 34px; }
}

.buai-attach-menu {
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 6px;
    border: 1px solid rgba(17, 17, 17, .12);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(38, 43, 34, .28), 0 0 0 1px rgba(255, 255, 255, .6) inset;
    animation: buai-attach-in .14s ease-out;
}
@keyframes buai-attach-in {
    from { opacity: 0; transform: translateY(4px) scale(.98); }
    to   { opacity: 1; transform: none; }
}
.buai-attach-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #111;
    text-align: left;
    cursor: pointer;
    font: inherit;
    transition: background .14s ease;
}
.buai-attach-item:hover,
.buai-attach-item:focus-visible {
    background: #f6f1d4;
    outline: none;
}
.buai-attach-item:focus-visible { box-shadow: inset 0 0 0 2px #c9b3ea; }
.buai-attach-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ece2f6;
    font-size: 15px;
}
.buai-attach-item:nth-child(2) .buai-attach-icon { background: #d9ecf9; }
.buai-attach-item:nth-child(3) .buai-attach-icon { background: #ddf0e2; }
.buai-attach-item:nth-child(4) .buai-attach-icon { background: #f7dce7; }
.buai-attach-copy { display: flex; flex-direction: column; min-width: 0; }
.buai-attach-copy strong { font-size: 13px; font-weight: 600; }
.buai-attach-copy small { font-size: 11px; color: #73776f; }

@media (prefers-reduced-motion: reduce) {
    .buai-attach-menu { animation: none; }
}

[data-buai-attach-any],
[data-buai-attach-image],
[data-buai-attach-camera],
[data-buai-attach-audio] { display: none !important; }

.chat-bubble-row .chat-bubble {
    max-width: min(260px, 78%);
    padding: 8px 12px;
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 1.45;
    color: #111;
    background: #fff;
    border: 1px solid rgba(17, 17, 17, .1);
    box-shadow: 0 1px 2px rgba(38, 36, 31, .06);
    overflow-wrap: anywhere;
}

.chat-bubble-row .chat-bubble.chat-mine {
    background: #111;
    color: #f5f5f2;
    border-color: #111;
    border-bottom-right-radius: 5px;
}
.chat-bubble-row .chat-bubble.chat-theirs {
    border-bottom-left-radius: 5px;
}

.chat-bubble-row.cont .chat-bubble { border-radius: 12px; }

.chat-bubble-row .chat-meta {
    color: #6a6a66;
    font-size: 11px;
    margin-bottom: 2px;
    max-width: min(260px, 78%);
}
.chat-bubble-row.chat-mine .chat-meta { text-align: right; }
.chat-bubble-row .chat-meta strong { color: #26241f; font-size: 11.5px; }

.chat-bubble-row .chat-bubble .chat-attachments {
    margin-top: 0;
    
    margin-inline: -4px;
}
.chat-bubble-row .chat-bubble .chat-text + .chat-attachments { margin-top: 6px; margin-inline: 0; }

.chat-bubble-row .chat-bubble > .chat-attachments:only-child { margin: -2px -6px -2px; }
.chat-bubble-row .chat-bubble > .chat-attachments:only-child .chat-attachment-thumb {
    border-radius: 12px;
    border-color: transparent;
}

.chat-bubble-stack {
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: min(260px, 78%);
}
.chat-bubble-row.chat-mine .chat-bubble-stack { align-items: flex-end; }
.chat-bubble-stack .chat-meta {
    max-width: 100%;
    margin-bottom: 3px;
    justify-content: flex-start;
    gap: 8px;
}
.chat-bubble-row.chat-mine .chat-bubble-stack .chat-meta { justify-content: flex-end; }
.chat-bubble-stack .chat-bubble { max-width: 100%; }

.dash-messages [hidden],
.chat-panel [hidden],
.msg-compose [hidden],
.buai-attach-menu[hidden] {
    display: none !important;
}

.dash-message-state.error {
    flex: 0 0 auto;
    padding: 12px 18px;
    margin: 12px 18px 0;
    border: 1px solid #f0d3d8;
    border-radius: 12px;
    background: #fdf1f3;
    color: #8f3a44;
    font-size: 12.5px;
    text-align: left;
}

.dash-message-layout { min-height: 430px; }
.dash-thread-panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
    
    max-height: min(620px, calc(100vh - 260px));
}
.dash-thread {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 18px;
    gap: 10px;
}

.dash-thread > * { flex: 0 0 auto; }
.dash-message-bubble { max-width: min(78%, 520px); }
.dash-message-bubble > .dash-bubble-content { min-width: 0; }

.dash-message-compose { flex: 0 0 auto; }
.dash-compose-row { align-items: flex-end; }
.dash-compose-row textarea {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 46px;
    max-height: 140px;
    resize: vertical;
}
.dash-compose-row .dash-btn { flex: 0 0 auto; }

@media (max-width: 640px) {
    .dash-thread-panel { max-height: none; }
    .dash-thread { max-height: 46vh; }
}

.dash-thread {
    align-items: stretch;
    min-width: 0;
}
.dash-message-bubble {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: fit-content;
    max-width: min(78%, 520px);
    min-width: 0;
    box-sizing: border-box;
}
.dash-message-bubble.mine {
    flex-direction: row-reverse;
    align-self: flex-end;
    margin-left: auto;
}
.dash-message-bubble.theirs {
    align-self: flex-start;
    margin-right: auto;
}
.dash-message-bubble.cont { margin-top: -4px; }

.dash-message-bubble > .dash-bubble-content {
    flex: 1 1 auto;
    min-width: 0;
    padding: 11px 13px;
    border-radius: 15px;
    background: #fff;
    border: 1px solid rgba(17, 17, 17, .1);
    color: #111;
    box-shadow: 0 1px 2px rgba(38, 36, 31, .06);
    overflow-wrap: anywhere;
}
.dash-message-bubble.mine > .dash-bubble-content {
    background: #111;
    border-color: #111;
    color: #f5f5f2;
    border-bottom-right-radius: 5px;
}
.dash-message-bubble.theirs > .dash-bubble-content { border-bottom-left-radius: 5px; }
.dash-message-bubble.mine > .dash-bubble-content p,
.dash-message-bubble.mine .dash-message-meta,
.dash-message-bubble.mine .dash-message-meta strong,
.dash-message-bubble.mine .dash-message-meta time { color: rgba(255, 255, 255, .82); }
.dash-message-bubble.mine > .dash-bubble-content p { color: #f5f5f2; }

.dash-message-bubble .dash-message-avatar { align-self: flex-end; margin-bottom: 2px; }

.dash-bubble-content .dash-attachments { max-width: 100%; }
.dash-bubble-content .dash-attachment-thumb { max-width: 100%; }

.dash-bubble-content > .dash-attachments:only-child {
    margin: 0;
}
.dash-bubble-content > .dash-attachments:only-child .dash-attachment-thumb {
    width: 100%;
    max-width: 240px;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
}
.dash-bubble-content > .dash-attachments:only-child .dash-attachment-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dash-thread::before,
.dash-thread::after {
    content: "";
    flex: 0 0 2px;
}

.dash-thread {
    scrollbar-width: thin;
    scrollbar-color: #d8d5c9 transparent;
}
.dash-thread::-webkit-scrollbar { width: 8px; }
.dash-thread::-webkit-scrollbar-thumb {
    background: #d8d5c9;
    border-radius: 8px;
}
.dash-thread::-webkit-scrollbar-track { background: transparent; }

.chat-bubble-row .chat-bubble > .chat-attachments:only-child {
    margin: 0;
}
.chat-bubble-row .chat-bubble > .chat-attachments:only-child .chat-attachment-thumb {
    width: 200px;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 11px;
    border-color: transparent;
}
.chat-bubble-row .chat-bubble > .chat-attachments:only-child .chat-attachment-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-bubble-row .chat-bubble .chat-text + .chat-attachments .chat-attachment-thumb {
    border-radius: 10px;
}

@media (max-width: 640px) {
    .chat-bubble-row .chat-bubble > .chat-attachments:only-child .chat-attachment-thumb {
        width: 168px;
    }
}

.chat-bubble-row .chat-bubble .chat-svc-card {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 6px;
    padding: 6px;
    border-radius: 10px;
    background: #f7f7f4;
    border: 1px solid rgba(17, 17, 17, .08);
    color: inherit;
    text-decoration: none;
    max-width: 100%;
}
.chat-bubble-row .chat-bubble .chat-svc-card:hover { background: #f1f1ec; }
.chat-bubble-row .chat-bubble.chat-mine .chat-svc-card {
    background: rgba(255, 255, 255, .96);
    border-color: rgba(255, 255, 255, .5);
    color: #111;
}
.chat-bubble-row .chat-bubble.chat-mine .chat-svc-card:hover { background: #fff; }

.chat-svc-thumb {
    position: relative;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    background: #ece2f6;
    display: grid;
    place-items: center;
    font-size: 18px;
    color: #111;
}
.chat-svc-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.chat-svc-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}
.chat-svc-kicker {
    font-size: 10px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #6a6a66;
}
.chat-svc-name {
    font-size: 12.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 190px;
}
.chat-svc-price { font-size: 12px; font-weight: 700; color: #b3261e; }
.chat-bubble-row .chat-bubble.chat-mine .chat-svc-price { color: #b3261e; }
.chat-svc-card.is-unavailable { opacity: .6; }

.chat-quick-services,
.msg-quick-services {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 8px 10px 2px;
    scrollbar-width: thin;
}
.msg-quick-services { flex-direction: column; padding: 8px 0 0; }
.msg-quick-services > small { color: #6a6a66; font-size: 11px; }
.msg-quick-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }

.chat-svc-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    max-width: 210px;
    padding: 5px 9px 5px 5px;
    border: 1px solid rgba(17, 17, 17, .14);
    border-radius: 10px;
    background: #fff;
    color: #111;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.chat-svc-chip:hover { background: #f6f1d4; }
.chat-svc-chip.is-active {
    border-color: #111;
    box-shadow: 0 0 0 2px rgba(17, 17, 17, .12);
    background: #fffbe6;
}
.chat-svc-chip-thumb {
    position: relative;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    overflow: hidden;
    background: #ece2f6;
    display: grid;
    place-items: center;
    font-size: 13px;
    color: #111;
}
.chat-svc-chip-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.chat-svc-chip-body { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.chat-svc-chip-body strong { font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }
.chat-svc-chip-body small { font-size: 10.5px; color: #b3261e; font-weight: 600; }
.chat-svc-chip.chat-svc-clear { padding: 5px 9px; color: #6a6a66; }

.chat-quick-label {
    display: block;
    padding: 2px 12px 0;
    font-size: 10.5px;
    color: #8a5a00;
    background: #fffbe6;
}

.chat-bubble-row .chat-bubble .chat-svc-card + .chat-text { margin-top: 0; }
.msg-svc-card { margin: 0 0 6px; }

.services-home {
    padding: 70px 5.5% 80px;
}

.svc-home-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.svc-home-intro h1 {
    margin: 14px 0 0;
    font-size: clamp(38px, 5.4vw, 68px);
    line-height: .98;
    letter-spacing: -.04em;
    font-weight: 400;
    color: #111;
}

.svc-home-intro>div>p {
    margin: 18px 0 0;
    max-width: 520px;
    color: #5b5b53;
    font-size: 15px;
    line-height: 1.55;
}

.svc-viewall {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding: 13px 22px;
    border: 1px solid #c9cdbf;
    border-radius: 999px;
    background: #fffefa;
    color: #263126;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .02em;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.svc-viewall svg {
    width: 16px;
    height: 16px;
}

.svc-viewall:hover {
    background: #eef0e9;
    border-color: #111;
    transform: translateY(-1px);
}

@media (hover: hover) {
    .svc-viewall:hover {
        background: linear-gradient(100deg, #f3eefb, #fce4d2 40%, #f7dce7 70%, #ddf0e2);
    }
}

.svc-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(190px, auto);
    gap: 14px;
}

.svc-cat-grid>.svc-flip {
    min-width: 0;
    min-height: 0;
}

.svc-flip--hero {
    grid-column: 1 / 2;
    grid-row: span 2;
}

.svc-flip {
    
    padding: 0;
    border-radius: 16px;
    
    --flip-delay: 0ms;
}

.svc-flip .flipbox-inner {
    height: 100%;
    min-height: 0;
    border-radius: inherit;
}

.svc-flip .flipbox-face {
    border-radius: inherit;
    overflow: hidden;
    
    border: 1px solid #d5d8cc;
    background:
        radial-gradient(120% 90% at 88% 8%, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, 0) 45%),
        linear-gradient(155deg,
            color-mix(in srgb, var(--svc-tint, #eef0e9) 55%, #ffffff) 0%,
            var(--svc-tint, #eef0e9) 58%,
            color-mix(in srgb, var(--svc-tint, #eef0e9) 88%, #b9bfae) 100%);
}

.svc-flip .svc-cat-link {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    min-height: 190px;
    padding: 18px 20px 20px;
    color: #1b1b17;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.svc-flip--hero .svc-cat-link,
.svc-flip--hero .svc-hero-link {
    min-height: 400px;
    padding: 30px 32px 32px;
}

.svc-flip--hero > .svc-flip-toggle {
    left: auto;
    right: 12px;
}

.svc-flip .flip-face-media {
    z-index: 0;
}

.svc-flip .flip-face-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 45%;
    transition: transform .55s cubic-bezier(.22, .61, .36, 1);
}

.svc-flip .flip-face-shade-dark {
    background: linear-gradient(180deg,
            rgba(12, 12, 12, .10) 0%,
            rgba(12, 12, 12, .34) 45%,
            rgba(12, 12, 12, .82) 100%);
}

.svc-flip.has-art .svc-cat-link,
.svc-flip--hero .svc-cat-link,
.svc-flip--hero .svc-hero-link {
    color: #fff;
}

.svc-cat-shape {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1;
    pointer-events: none;
}

.svc-cat-disc {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 6px 18px rgba(38, 43, 34, .10);
    color: #3b3b34;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .02em;
}

.svc-flip--hero .svc-cat-disc {
    width: 64px;
    height: 64px;
    font-size: 20px;
}

.svc-cat-body,
.svc-hero-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 0;
    padding: 0;
    height: auto;
    justify-content: flex-end;
}

.svc-cat-body small,
.svc-hero-body small {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .16em;
    color: #8a8a80;
}

.svc-cat-body h2,
.svc-hero-body h2 {
    margin: 0;
    font-size: 19px;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -.01em;
    color: inherit;
}

.svc-hero-body h2 {
    font-size: clamp(30px, 3.4vw, 46px);
    font-weight: 500;
    letter-spacing: -.03em;
    line-height: 1.02;
}

.svc-cat-body p,
.svc-hero-kicker {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: #6f6f66;
}

.svc-hero-kicker {
    color: #e8e8e2;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
}

.svc-hero-tags {
    margin-top: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    color: #fff;
}

.svc-flip.has-art .svc-cat-body small,
.svc-flip.has-art .svc-cat-body h2,
.svc-flip.has-art .svc-cat-body p,
.svc-flip--hero .svc-cat-body small,
.svc-flip--hero .svc-cat-body h2,
.svc-flip--hero .svc-cat-body p,
.svc-hero-body small,
.svc-hero-body h2,
.svc-hero-body p {
    color: #fff;
}

.svc-flip.has-art .svc-cat-body p,
.svc-flip--hero .svc-cat-body p {
    color: #e5e5df;
}

.svc-flip.has-art .svc-cat-body small,
.svc-flip--hero .svc-cat-body small,
.svc-hero-body small {
    color: #d8d8d0;
}

.svc-cat-arrow {
    position: absolute;
    right: 16px;
    bottom: 18px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #c9c9bf;
    background: rgba(255, 255, 255, .6);
    color: #1b1b17;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.svc-cat-arrow svg {
    width: 16px;
    height: 16px;
}

.svc-flip.has-art .svc-cat-arrow,
.svc-flip--hero .svc-cat-arrow {
    border-color: rgba(255, 255, 255, .6);
    background: rgba(20, 20, 20, .45);
    color: #fff;
    backdrop-filter: blur(2px);
}

.svc-cat-body {
    padding-right: 46px;
}

.svc-hero-body {
    padding-right: 0;
}

@media (hover: hover) {
    .svc-flip.has-art:hover .flip-face-media img,
    .svc-flip--hero:hover .flip-face-media img {
        transform: scale(1.04);
    }

    .svc-flip:hover .svc-cat-arrow {
        background: #1b1b17;
        border-color: #1b1b17;
        color: #fff;
        transform: translate(1px, -1px);
    }

    .svc-flip.has-art:hover .svc-cat-arrow,
    .svc-flip--hero:hover .svc-cat-arrow {
        background: #fff;
        border-color: #fff;
        color: #111;
    }
}

.svc-flip-toggle {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .82);
    color: #2b2b25;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.svc-flip-toggle svg {
    width: 15px;
    height: 15px;
}

.svc-flip-toggle:hover {
    background: #fff;
    transform: rotate(-25deg);
}

.svc-flip-toggle[aria-pressed="true"] {
    background: #1b1b17;
    border-color: #1b1b17;
    color: #fff;
}

.svc-flip-toggle:focus-visible {
    outline: 3px solid #111;
    outline-offset: 2px;
}

.svc-flip-toggle__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .services-home {
        padding: 56px 4% 64px;
    }

    .svc-cat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: minmax(200px, auto);
    }

    
    .svc-flip--hero {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .svc-flip--hero .svc-cat-link,
    .svc-flip--hero .svc-hero-link {
        min-height: 320px;
    }
}

@media (max-width: 640px) {
    .services-home {
        padding: 44px 16px 56px;
    }

    .svc-home-intro {
        margin-bottom: 24px;
        gap: 20px;
    }

    .svc-home-intro h1 {
        font-size: clamp(32px, 9vw, 44px);
    }

    .svc-home-intro>div>p {
        font-size: 14px;
    }

    .svc-viewall {
        width: 100%;
        justify-content: center;
    }

    .svc-cat-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 12px;
    }

    .svc-flip .svc-cat-link {
        min-height: 168px;
        padding: 16px 18px 18px;
    }

    .svc-flip--hero .svc-cat-link,
    .svc-flip--hero .svc-hero-link {
        min-height: 260px;
        padding: 22px 22px 24px;
    }

    .svc-cat-body h2 {
        font-size: 17px;
    }

    .svc-hero-body h2 {
        font-size: 28px;
    }

    .svc-cat-disc {
        width: 46px;
        height: 46px;
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .svc-flip .flip-face-media img,
    .svc-cat-arrow,
    .svc-viewall,
    .svc-flip-toggle {
        transition: none;
    }
}

.seller-banner {
    padding: 0 5.5% 90px;
}

.seller-banner-inner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 380px;
    padding: 56px 64px;
    border-radius: 28px;
    overflow: hidden;
    
    background: linear-gradient(100deg, #f6f1e7 0%, #f3ead9 34%, rgba(243, 234, 217, 0) 62%),
                linear-gradient(115deg, #e8d9c0 0%, #d9c4a4 40%, #c8ad88 100%);
}

.seller-banner-art {
    position: absolute;
    inset: 0;
}

.seller-banner-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    font-size: 0;
}

.seller-banner-art::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #f6f1e7 0%, rgba(246, 241, 231, .88) 22%, rgba(246, 241, 231, .35) 45%, rgba(246, 241, 231, 0) 62%);
}

.seller-banner-copy {
    position: relative;
    max-width: 520px;
}

.seller-banner-copy .eyebrow {
    display: block;
    margin: 0 0 18px;
    letter-spacing: .28em;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    color: #6f716b;
}

.seller-banner-copy h2 {
    margin: 0 0 18px;
    font-size: clamp(34px, 4.4vw, 56px);
    line-height: 1.04;
    letter-spacing: -.035em;
    font-weight: 800;
    color: #17181c;
}

.seller-banner-accent {
    
    background: linear-gradient(100deg, #8a6a4f 0%, #c9a27a 55%, #e2c9a8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.seller-banner-copy p {
    margin: 0 0 30px;
    font-size: 16px;
    line-height: 1.55;
    color: #55574f;
}

.seller-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 30px;
    border-radius: 999px;
    background: #17181c;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.seller-banner-cta svg {
    width: 17px;
    height: 17px;
}

.seller-banner-cta:hover {
    background: #2c2d31;
    transform: translateX(2px);
}

@media (max-width: 900px) {
    .seller-banner {
        padding: 0 4% 64px;
    }

    .seller-banner-inner {
        min-height: 0;
        padding: 40px 30px;
    }

    
    .seller-banner-art::before {
        background: rgba(246, 241, 231, .82);
    }
}

.svc-all-head {
    padding: 40px 5.5% 26px;
}

.bsx-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    margin-bottom: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.bsx-back:hover {
    text-decoration: none;
}

.svc-all-crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #77776f;
    margin-bottom: 14px;
}

.svc-all-crumb a {
    color: #77776f;
    text-decoration: none;
}

.svc-all-crumb a:hover {
    color: #111;
    text-decoration: underline;
}

.svc-all-titlebar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.svc-all-titlebar h1 {
    margin: 0;
    font-size: clamp(34px, 4.6vw, 56px);
    line-height: 1.02;
    letter-spacing: -.035em;
    font-weight: 500;
    color: #111;
}

.svc-all-titlebar p {
    margin: 10px 0 0;
    color: #5b5b53;
    font-size: 14.5px;
    line-height: 1.5;
}

.svc-all-search {
    flex: 0 1 320px;
    min-width: 240px;
}

.svc-all-search input {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid #c9cdbf;
    border-radius: 999px;
    background: #fffefa;
    font-size: 13.5px;
    color: #25291f;
}

.svc-all-search input:focus {
    outline: 0;
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(217, 200, 240, .35);
}

.svc-all-chips {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.svc-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 15px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, .6);
    color: #3c3c34;
    font-size: 12.5px;
    font-weight: 500;
    text-decoration: none;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.svc-chip:hover {
    background: #fffefa;
    border-color: #c9cdbf;
}

.svc-chip.active {
    background: #1b1b17;
    border-color: #1b1b17;
    color: #fff;
}

.svc-chip-count {
    font-size: 10.5px;
    font-weight: 700;
    opacity: .6;
}

.svc-chip.is-empty {
    opacity: .45;
    cursor: default;
}

.svc-all-body {
    padding: 26px 5.5% 80px;
}

.svc-tile-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.svc-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 230px;
    padding: 16px 18px 18px;
    border-radius: 16px;
    border: 1px solid #dfe2d8;
    overflow: hidden;
    text-decoration: none;
    color: #1b1b17;
    background:
        radial-gradient(120% 90% at 88% 8%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 45%),
        linear-gradient(155deg, #f4f5ef 0%, var(--tile-tint, #eef0e9) 62%, #e9ece2 100%);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.svc-tile:hover {
    transform: translateY(-3px);
    border-color: #111;
    box-shadow: 0 10px 26px rgba(38, 43, 34, .10);
}

.svc-tile.has-art {
    color: #fff;
}

.svc-tile-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.svc-tile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.svc-tile-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(12, 12, 12, .06) 0%, rgba(12, 12, 12, .30) 45%, rgba(12, 12, 12, .82) 100%);
}

.svc-tile.has-art:hover .svc-tile-media img {
    transform: scale(1.04);
}

.svc-tile-shape {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1;
}

.svc-tile-disc {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #26241f;
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 6px 18px rgba(38, 43, 34, .10);
    font-size: 17px;
}

.svc-tile-top {
    position: absolute;
    top: 14px;
    left: 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.svc-tile-num {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .16em;
    color: #8a8a80;
}

.svc-tile.has-art .svc-tile-num {
    color: #d8d8d0;
}

.svc-tile-badge {
    padding: 3px 8px;
    border-radius: 999px;
    background: #e6b93f;
    color: #3a2c00;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.svc-tile-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-right: 48px;
}

.svc-tile-kicker {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #8a8a80;
}

.svc-tile.has-art .svc-tile-kicker {
    color: #d8d8d0;
}

.svc-tile-name {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.01em;
    color: inherit;
}

.svc-tile-tagline {
    font-size: 11.5px;
    line-height: 1.4;
    color: #6f6f66;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.svc-tile.has-art .svc-tile-tagline {
    color: #e5e5df;
}

.svc-tile-arrow {
    position: absolute;
    right: 14px;
    bottom: 16px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #c9c9bf;
    background: rgba(255, 255, 255, .6);
    color: #1b1b17;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.svc-tile-arrow svg {
    width: 15px;
    height: 15px;
}

.svc-tile.has-art .svc-tile-arrow {
    border-color: rgba(255, 255, 255, .6);
    background: rgba(20, 20, 20, .45);
    color: #fff;
}

.svc-tile:hover .svc-tile-arrow {
    background: #1b1b17;
    border-color: #1b1b17;
    color: #fff;
    transform: translate(1px, -1px);
}

.svc-tile.has-art:hover .svc-tile-arrow {
    background: #fff;
    border-color: #fff;
    color: #111;
}

@media (max-width: 1100px) {
    .svc-tile-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .svc-tile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px;
    }

    .svc-all-head {
        padding: 30px 4% 22px;
    }

    .svc-all-body {
        padding: 22px 4% 64px;
    }
}

@media (max-width: 640px) {
    .svc-all-head {
        padding: 24px 16px 18px;
    }

    .svc-all-body {
        padding: 18px 16px 56px;
    }

    .svc-all-titlebar {
        gap: 16px;
    }

    .svc-all-search {
        flex: 1 1 100%;
        min-width: 0;
    }

    .svc-all-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .svc-all-chips::-webkit-scrollbar {
        display: none;
    }

    .svc-chip {
        flex: 0 0 auto;
    }

    .svc-tile {
        min-height: 200px;
        padding: 14px 15px 16px;
    }

    .svc-tile-name {
        font-size: 15px;
    }

    .svc-tile-disc {
        width: 44px;
        height: 44px;
        font-size: 15px;
    }

    .svc-tile-arrow {
        width: 32px;
        height: 32px;
        right: 12px;
        bottom: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .svc-tile,
    .svc-tile-media img,
    .svc-tile-arrow,
    .svc-chip {
        transition: none;
    }
}