/* The shared listing card. Data and owner actions vary; the visual hierarchy does not. */
.bc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 20px}
.bc-card{min-width:0;text-align:left;background:#fff;color:#252326;border:0;border-radius:16px}
.bc-open{display:block;width:100%;padding:0;border:0;background:none;text-align:left;color:inherit;cursor:pointer;font:inherit;border-radius:16px}
.bc-media{position:relative;display:block;width:100%;aspect-ratio:4/5;overflow:hidden;background:#f0eeeb;border-radius:14px}
.bc-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s}
.bc-open:hover .bc-media img{transform:scale(1.025)}
.bc-play{position:absolute;bottom:12px;right:12px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#fffef5ed;color:#37302c;box-shadow:0 2px 9px #0001}
.bc-play svg{width:15px;height:15px;margin-left:2px}
.bc-badge{position:absolute;top:10px;left:10px;max-width:calc(100% - 20px);padding:6px 9px;background:#fffef5ed;border-radius:7px;color:#615952;font-size:10px;font-weight:600}
.bc-copy{display:flex;flex-direction:column;align-items:flex-start;padding:12px 2px 0;gap:5px}
.bc-category{font-size:10px;color:#858080;line-height:1.45}
.bc-title{font-size:15px;line-height:1.4;letter-spacing:-.2px;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.bc-price{font-size:18px;font-weight:700;line-height:1.4;letter-spacing:-.3px;margin:2px 0;overflow-wrap:anywhere}
.bc-price small{font-size:11px;font-weight:400;letter-spacing:0;margin-left:4px;color:#777}
.bc-location,.bc-provider{font-size:11px;line-height:1.4;color:#787375}.bc-provider{color:#999093}
.bc-open:focus-visible{outline:3px solid #bd2636;outline-offset:4px}
.sh-grid.bc-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none}
.sh-grid.bc-grid:has(>.bc-card:only-child){grid-template-columns:minmax(0,1fr);max-width:340px}
.sh-grid.bc-grid>.bc-card:only-child .bc-media{aspect-ratio:4/3}

/* Search has a calm catalogue surface; the video deck is retained underneath. */
body.discovery-grid{background:#fff;color-scheme:light}
.discovery-grid .sidebar{background:#fff;border-color:#eee;color:#252326}
.discovery-grid .sidebar .nav-item{color:#777}.discovery-grid .sidebar .nav-item.active{background:#faf0f1;color:#252326}
.discovery-grid .sidebar .nav-item:hover{background:#f7f5f4}.discovery-grid .profile{color:#252326;border-color:#eee}.discovery-grid .profile .avatar{background:#f4f1f0}
.df-screen.df-browse{display:flex;flex-direction:column;width:100%;max-width:1100px;height:100dvh;margin:0 auto;border-radius:0;background:#fff;color:#252326}
.df-browse .df-header{position:relative;padding:26px 32px 15px;border-radius:0;background:#fff;flex-shrink:0;border-bottom:1px solid #eeebea}
.df-browse .df-tools>button{background:#f5f3f2;border:0;backdrop-filter:none;color:#333}
.df-browse .df-categories button{background:#f6f4f3;color:#756e70;border:1px solid transparent;backdrop-filter:none}
.df-browse .df-categories button[aria-pressed=true]{background:#252326;color:#fff;border-color:#252326}
.df-browse .df-selection button{background:#faf1f2;color:#9f2b3c;border:0}
.df-browse .df-desktop-controls,.df-browse .df-bottom-note{display:none}
.df-deck[hidden],.df-results[hidden]{display:none!important}
.df-results{padding:26px 32px 36px;overflow:auto;overscroll-behavior:contain;min-height:0;flex:1}
.df-results-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 22px}
.df-results-head h2{font:700 26px/1.2 var(--sans);letter-spacing:-.8px;margin:0 0 7px;overflow-wrap:anywhere}
.df-results-head p{font-size:12px;color:#81797b;margin:0}
.df-results-head button{display:flex;align-items:center;gap:6px;flex-shrink:0;min-height:44px;background:#f6f3f2;color:#655e60;border:0;border-radius:12px;font-size:12px;padding:10px 14px}
.df-results-head svg{width:17px;height:17px}
.df-results-more{display:flex;justify-content:center;margin:28px 0 0}.df-results-more button,.df-results-state button{min-height:44px;border-radius:12px;border:0;padding:12px 20px;background:#bd2636;color:#fff;font-size:13px;font-weight:600}
.df-results-state{text-align:center;padding:60px 20px;grid-column:1/-1}.df-results-state h3{font-size:22px;margin:0 0 12px}.df-results-state p{font-size:14px;color:#81797b;line-height:1.6}.df-results-state svg{width:32px;height:32px;color:#b5a9ab;margin-bottom:18px}
.df-results-alert{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;background:#fff3eb;border-radius:12px;margin-bottom:20px;font-size:12px}.df-results-alert button{min-height:44px;border:0;background:none;text-decoration:underline}

/* The owner library uses the same covers, title and price rhythm. */
.offers-view .il-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 20px}
body:has(.offers-view){background:#fff}.offers-view{background:#fff}
.offers-view .il-card.bc-card{border:0;box-shadow:none;border-radius:14px;background:#fff;overflow:visible;padding:0}
.offers-view .il-video-cover{aspect-ratio:auto;background:none;border-radius:14px;color:#37302c}.offers-view .il-video-cover::after{display:none}
.offers-view .il-card-content{padding:12px 2px 0}.offers-view .il-card-top{display:block;margin:0 0 7px}.offers-view .il-category{font-size:10px;color:#858080;font-weight:400;letter-spacing:0;text-transform:none}
.offers-view .il-card h2{font-size:15px;line-height:1.4;letter-spacing:-.2px;font-weight:600;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.offers-view .il-location{font-size:11px;margin:5px 0;color:#787375}.offers-view .il-price{font-size:18px;letter-spacing:-.3px;margin:8px 0 5px}
.offers-view .il-state-note{font-size:11px;line-height:1.5;margin:10px 0 0;padding:0;border:0;background:none;color:#81797b;min-height:32px}
.offers-view .il-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:12px}.offers-view .il-actions .button{min-height:42px;font-size:11px;padding:8px;border-radius:10px;white-space:normal;line-height:1.35}
.offers-view .il-card-bottom{margin-top:8px;padding-top:8px}.offers-view .il-card-bottom .text-button{font-size:11px;min-height:44px}.offers-view .il-card-bottom>span{font-size:10px;line-height:1.4}
.offers-view .il-status-overlay{position:absolute;top:10px;left:10px;padding:6px 9px;border-radius:7px;background:#fffef5ed;color:#615952;font-size:10px;font-weight:600}

/* Context stays visible while composing a reply. */
.workspace-case-header .mx-listing-link{display:flex;align-items:center;gap:10px;margin-top:8px;background:#f7f5f3;border-radius:10px;padding:8px;text-align:left;width:100%;color:#655d60}
.mx-listing-cover{width:35px;height:43px;border-radius:6px;object-fit:cover;flex-shrink:0;background:#eee9e5}
.mx-listing-copy{min-width:0;flex:1}.mx-listing-copy strong{display:block;font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mx-listing-copy small{display:block;font-size:10px;color:#91868a;margin-top:3px}
.workspace-case-header .mx-listing-link>svg{width:16px;height:16px;flex-shrink:0}
.chat-opening{padding:15px 0}.chat-opening h2{font:700 26px var(--sans);margin:0 34px 12px 0}.chat-opening p{font-size:14px;line-height:1.6;color:#80777b}.chat-opening .button{margin-top:12px}
@media(max-width:1050px){.offers-view .il-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
 .bc-grid,.sh-grid.bc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.bc-media{border-radius:12px}.bc-title{font-size:14px}.bc-price{font-size:17px}.bc-badge{font-size:9px;left:8px;top:8px;padding:5px 7px}.bc-category{font-size:9px}.bc-play{right:9px;bottom:9px;width:30px;height:30px}
 .discovery-grid .mobile-nav{background:#fff;border-color:#ebe7e7;color:#777}.discovery-grid .mobile-nav button{color:#8a8285}.discovery-grid .mobile-nav button.active{color:#252326}
 .df-screen.df-browse{height:calc(100dvh - 70px - env(safe-area-inset-bottom,0px));border-radius:0}
 .df-browse .df-header{padding:calc(12px + env(safe-area-inset-top,0px)) 18px 12px}.df-browse .df-brand{font-size:24px}.df-browse .df-categories button{min-height:36px;font-size:11px;padding:7px 12px}
 .df-results{padding:22px 18px 28px}.df-results-head{gap:10px;margin-bottom:20px}.df-results-head h2{font-size:23px}.df-results-head button{padding:9px 11px;font-size:11px}
 .offers-view .il-grid{gap:24px 14px}.offers-view .il-card h2{font-size:14px}.offers-view .il-card-content{padding:11px 1px 0}.offers-view .il-actions{grid-template-columns:1fr}.offers-view .il-actions .button{font-size:12px}.offers-view .il-card-bottom{align-items:flex-start}.offers-view .il-card-bottom .text-button{font-size:10px;gap:4px}.offers-view .il-card-bottom svg{width:14px;height:14px}
 .offers-view .il-heading{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.offers-view .il-heading>div{min-width:0}.offers-view .il-heading h1{font-size:25px;letter-spacing:-.7px;margin:0}.offers-view .il-heading>.button{width:44px;min-width:44px;min-height:44px;padding:0;font-size:0;gap:0;border-radius:13px}.offers-view .il-heading>.button svg{width:21px;height:21px}.offers-view .il-heading .mx-help{font-size:15px;width:24px;height:24px;vertical-align:middle}
 .offers-view .il-toolbar{margin-top:0;gap:12px}.offers-view .il-count{margin-top:18px}
 .sh-catalog{padding:24px 18px}.workspace-case-header .mx-listing-link{padding:6px 8px}
}
@media(prefers-reduced-motion:reduce){.bc-media img{transition:none}.bc-open:hover .bc-media img{transform:none}}
.offers-view .il-toolbar{gap:8px}
.offers-view .own-listing-filters{background:transparent;border-radius:0;padding:0;scrollbar-width:none}
.offers-view .own-listing-filters button{flex:1;padding:10px 8px;font-size:12px}
.offers-view .il-search input{background:#f6f5f7;border-color:transparent;border-radius:12px;min-height:44px}
.il-results-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0 12px;min-height:44px}
.offers-view .il-results-heading .il-count{margin:0;white-space:nowrap}
.il-jobs-link{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;min-height:44px;padding:6px 0 6px 8px;border:0;background:none;color:#9e2440;font:inherit;font-size:12px;font-weight:600;cursor:pointer}
.il-jobs-link svg{width:16px;height:16px;flex-shrink:0}
.il-create-options{display:grid;gap:12px;margin-top:22px}
.il-create-options button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:1px solid #e8e3e7;border-radius:14px;background:#faf9fa;padding:18px 14px;color:#302831;cursor:pointer;font:inherit}
.il-create-options button>span{flex:1}.il-create-options strong,.il-create-options small{display:block}.il-create-options strong{font-size:15px}.il-create-options small{font-size:12px;color:#776d77;margin-top:5px;line-height:1.5}.il-create-options svg{width:22px;height:22px;flex-shrink:0;color:#ad2345}

.listing-kind{display:inline-flex;align-items:center;gap:5px;width:fit-content;border-radius:7px;padding:5px 9px;font-size:12px;line-height:1.3;font-weight:750;white-space:nowrap}
.listing-kind svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2}
.listing-kind.is-request{background:#d7f1ec;color:#125a4f;border:1px solid #a5d5cb}
.listing-kind.is-offer{background:#f8e0e5;color:#8e233b;border:1px solid #edbbc7}
.ld-info>.listing-kind{margin-bottom:9px}
