/* Reconcile the working Jobs DOM with the approved reference's shared shell. */
body{font:14px/1.45 Arial,"Segoe UI",sans-serif;background:var(--bg)}
body>main{max-width:none;padding:0 28px 100px}
body>main>:not(header){max-width:1280px;margin-left:auto;margin-right:auto}
.jobsHero.hero{height:300px;min-height:300px;margin-top:20px;padding:0;border-radius:8px}
.jobsHero.hero>img{position:absolute;inset:0;object-position:center;z-index:-2}
.jobsHero.hero:after{z-index:-1}
.jobsHero .hero-copy{padding:86px 36px 48px;max-width:60%}
.jobsHero.hero h1{font-size:40px;line-height:1.13;letter-spacing:-.7px;margin:0 0 14px;max-width:none}
.jobsHero.hero p{font-size:17px;max-width:none;margin:0}
.jobsHero.hero .sectionToggle{height:44px;display:flex}
.jobsHero.hero .sectionToggleIndicator{width:calc((100% - 6px)/3)}
.jobsHero.hero .sectionToggle a[aria-current]{background:transparent}
.jobsHero.hero [data-current=jobs] .sectionToggleIndicator{transform:translate3d(200%,0,0)}
#filters .filters{background:none;border:0;padding:0;margin:0;border-radius:0;grid-template-columns:1.3fr 1fr 1fr .8fr;gap:10px}
#filters .filters label{display:block;font-size:12px;font-weight:400}
#filters .market-sort-field,#filters .schedule-field{grid-column:1/-1}
#filters input,#filters select{font-weight:400}
#filters .filters input,#filters .filters select{height:48px;min-height:0;padding:10px 12px;line-height:normal;border-radius:5px}
#filters .filters button{font-weight:400;padding:10px 16px;line-height:normal}
#filters .filters .reset{border:1px solid #d88c66}
#filters .query{display:block}#filters .query input{width:100%}
.catalogueHead h2{font-size:22px}.catalogueHead{align-items:center;margin-top:24px}
.catalogueHead .primary{font-size:13px;min-height:40px;font-weight:400;border-radius:5px}
.mobileNav.market-bottom{grid-template-columns:repeat(4,1fr);background:#fff8ef;opacity:1}
.mobileNav.market-bottom button{font-weight:400;background:transparent}
.jobCard h3{font-size:18px;line-height:1.3}.jobCard .meta{font-size:13px}.cardActions .favorite{flex:0 0 40px}
.jobsDialog{overflow-y:auto;max-height:calc(100dvh - 32px)}
.jobsDialog .primary{background:#c33b18;color:#fff}
@media(max-width:760px){
 body>main{padding:0 14px 100px}
 .jobsHero.hero{height:234px;min-height:234px;margin-top:14px}
 .jobsHero .hero-copy{max-width:100%;padding:80px 18px 20px}
 .jobsHero.hero h1{font-size:29px;line-height:1.15;letter-spacing:-.5px;max-width:270px;margin:0 0 14px}
 .jobsHero.hero p{font-size:14px;max-width:200px}
 .jobsHero.hero>img{object-position:62% center;opacity:.9}
 .jobsHero.hero:after{background:linear-gradient(90deg,#59220bbd 0%,#59220b55 52%,transparent)}
 #filters .filters{grid-template-columns:1fr 1fr}
 #filters .filters button{grid-column:auto}
 #filters .filters select{height:45px}
 .catalogueHead .primary:not([hidden]){display:inline-flex!important;font-size:11px;padding:8px;min-height:36px}
 .jobsDialog{max-height:calc(100dvh - 100px - env(safe-area-inset-bottom));margin:16px auto 84px}
}
[hidden]{display:none!important}
.jobs-listing-card--text .card-info{position:relative;padding-top:12px}
.listing-text-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;margin-bottom:8px}
.listing-text-controls .telegramSourceBadge{position:static;display:inline-flex;align-items:center;gap:4px;padding:4px 6px;border:1px solid #1677ff;border-radius:5px;background:#1677ff;color:#fff;font-size:11px;line-height:1.2;pointer-events:none}
.listing-text-controls .heart{position:static;margin-left:auto}
.jobs-listing-card--text .catalogueAdminRemove{top:auto;bottom:8px;left:8px}
.detail-grid--text{display:block;max-width:780px;margin-inline:auto}
.detail-grid--text .detail-copy>.listing-text-controls{margin:0 0 10px}
.detail-grid--text .detail-copy>.detail-gallery-tools{margin:0 0 16px}

/* Restore the approved light Jobs surfaces after the shared listing template. */
:root{color-scheme:light;--bg:#fff8ef;--panel:#fff0df;--line:#e7c9ad;--ink:#41251e;--navy:#41251e;--muted:#805e4d;--soft:#ffe6aa;--blue:#c33b18}
body{background:#fff8ef;color:#41251e}
.search-panel{background:#fff0df;border-color:#e7c9ad}
.query input,.filters input,.filters select{background:#fffdf8;border-color:#e7c9ad;color:#41251e}
.search-example,.filters label,.state,.card-info p,.card-info .attribute{color:#805e4d!important}
.categories button{color:#805e4d}.categories button svg{stroke:#805e4d}
.categories button[aria-pressed=true]{background:#ffe6aa;border-color:#dfb673}
.text-button{color:#a73315}
.jobs-listing-card{background:#fffdf8;border:1px solid #e7c9ad;border-radius:7px;box-shadow:none}
.jobs-listing-card:hover{border-color:#d88c66;box-shadow:0 6px 16px #6f32121a}
.jobs-listing-card .card-info{background:#fffdf8;color:#41251e}
.jobs-listing-card .card-top{min-height:0}
.jobs-listing-card .price{color:#41251e;font-size:18px}.jobs-listing-card .price:empty{display:none}
.jobs-listing-card .category-badge{margin-left:auto;background:#ffe6aa;color:#754011}
.jobs-listing-card .card-description{background:transparent;padding:8px 0 0}
.jobs-listing-card .card-info h3{color:#41251e;font-size:18px;font-weight:700}
.jobs-listing-card .photos{background:#f3e4cd}
.jobs-listing-card.is-pressed,.jobs-listing-card.is-pressed .card-info{background:#ffe2a1;border-color:#d68a35}
.jobs-listing-card.is-pressed .card-description{background:transparent}
.listing-admin-tools,.listing-edit-footer,.publicListingEditRow{background:#fffdf8;border-color:#e7c9ad}
.jobs-detail{color:#41251e}
.jobs-detail .detail-back{background:#fff0df;border-color:#e7c9ad;color:#41251e}
.jobs-detail .detail-copy{padding:0;border:0;background:transparent;color:#41251e}
.jobs-detail .detail-heading,.jobs-detail .detail-meta,.jobs-detail .detail-description,.jobs-detail .jobContact{background:#fffdf8;border:1px solid #e7c9ad;color:#41251e}
.jobs-detail .detail-heading p,.jobs-detail .detail-meta dt,.jobs-detail .detail-contact-empty{color:#805e4d}
.jobs-detail .detail-meta>div,.jobs-detail .detail-description>div{background:#fff0df;border:0;color:#41251e}
.jobs-detail .detail-description>div{padding:0}
.jobs-detail .detail-copy .eyebrow{background:#ffe6aa;color:#754011;border-radius:5px;padding:5px 8px;letter-spacing:0}
.jobs-detail .price{color:#41251e}.jobs-detail .price:empty{display:none}
.jobs-detail .detail-share{background:#fffdf8;border-color:#e7c9ad;color:#41251e}
.jobs-detail .detail-media>.photo-wrap{background:#fff0df;border-color:#e7c9ad}
.jobContact .listingActions{display:flex;flex-wrap:wrap;grid-template-columns:none}
.jobContact .listingAction{width:44px;min-width:44px;min-height:44px;padding:10px;border-radius:50%;font-size:0}
.jobContact .listingAction svg{width:20px;height:20px;flex-basis:20px}
.jobContact .listingAction--phone::before{content:"☎";font-size:20px;line-height:1}
.jobContact .listingAction--telegram:not(.jobsSourceAction)::before{content:"➤";font-size:19px;line-height:1;transform:rotate(-35deg)}
.jobContact .jobsSourceAction{width:auto;border-radius:22px;padding:9px 13px;font-size:12px}
.jobContact .jobsSourceAction span{display:grid}.jobContact .jobsSourceAction small{font-size:10px}
.jobsDialog{background:#fff8ef;color:#41251e;border:1px solid #d88c66}
.jobsDialog>.close{background:#fff0df;color:#41251e}
.editorForm input,.editorForm select,.editorForm textarea{background:#fffdf8;border-color:#e7c9ad;color:#41251e}
.mobileNav.market-bottom{background:#fff8eff5;border-color:#e7c9ad}
.mobileNav.market-bottom button{background:transparent;color:#805e4d}
.mobileNav.market-bottom [aria-current=page]{color:#c33b18}
@media(max-width:600px){.jobs-listing-card .card-description{padding-top:7px}.jobs-detail .detail-heading,.jobs-detail .detail-meta,.jobs-detail .detail-description,.jobs-detail .jobContact{padding:14px}.jobContact .listingActions{display:flex}}
