/* Shared task surfaces, layered after the existing customizable brand theme. */
:root{--ux-ink:#102a43;--ux-muted:#52677d;--ux-line:#dce5ef;--ux-surface:#f4f7fb}
body{font-family:var(--brand-font,'Segoe UI',Arial,sans-serif);letter-spacing:0;line-height:1.6}
body :is(input,select,textarea,button){font:inherit;letter-spacing:0}
:is(a,button,input,select,textarea):focus-visible{outline:3px solid #175cd3;outline-offset:3px}
[hidden]{display:none!important}
.site-header .nav-shell{min-height:76px}
.main-nav a:not(.button){min-height:44px;display:inline-flex;align-items:center}
.main-nav a[aria-current=page]{text-decoration:underline;text-underline-offset:8px;text-decoration-thickness:2px}
.discovery-page .search-home{padding:48px 0 40px;min-height:0;background:var(--ux-surface);border-bottom:1px solid var(--ux-line)}
.discovery-page .search-home::before{display:none}
.discovery-page .search-home-content{max-width:1160px;text-align:left;padding-top:0;padding-bottom:0}
.discovery-page .search-home h1{color:var(--ink,var(--ux-ink));font-size:38px;line-height:1.2;max-width:880px;margin:12px 0 16px;letter-spacing:0}
.discovery-page .home-title-line{font-size:28px;line-height:1.35;margin-top:8px}
.discovery-page .search-home-copy{color:var(--muted,var(--ux-muted));max-width:720px;margin:0 0 24px;font-size:16px}
.discovery-page .search-home .eyebrow{color:var(--blue,#175cd3)}
.discovery-page .popular-searches,.discovery-page .search-home-actions a{color:var(--ink,var(--ux-ink))}
.discovery-page .popular-searches a{color:var(--blue,#175cd3)}
.discovery-page .popular-searches>span{color:var(--muted,var(--ux-muted))}
.discovery-page .home-search{max-width:100%;border-radius:8px;box-shadow:none;border:1px solid var(--ux-line);background:var(--white,#fff);padding:0}
.discovery-page .search-modes{display:flex;gap:0;padding:0 16px;border-bottom:1px solid var(--ux-line);background:transparent;flex-wrap:wrap}
.discovery-page .search-modes button{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;min-height:48px;padding:12px 16px;color:var(--muted,var(--ux-muted));box-shadow:none}
.discovery-page .search-modes button.active{border-bottom-color:var(--blue,#175cd3);color:var(--blue,#175cd3);background:transparent}
.discovery-page .home-search-fields{padding:20px;gap:16px;margin:0;border:0;border-radius:0;box-shadow:none;align-items:end;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto}
.home-search-fields label{min-width:0;text-align:left}
.home-search-fields :is(input,select){min-height:48px;width:100%;border-radius:6px}
.home-search-fields button{min-height:48px;border-radius:6px}
.home-search-note{font-size:14px;margin:16px 0;color:var(--muted,var(--ux-muted))}
.home-search-note a,.empty-help a{color:var(--blue,#175cd3);text-decoration:underline;text-underline-offset:3px}
.discovery-page .search-home-actions{justify-content:flex-start;gap:24px;margin-top:20px;flex-wrap:wrap}
.discovery-page .category-band,.discovery-page .home-offer-band,.discovery-page .home-market{padding:36px 0;background:transparent;border-bottom:1px solid var(--ux-line)}
.category-band-head h2,.home-market-head h2{font-size:24px;line-height:1.3;letter-spacing:0}
.category-shortcuts a{border-radius:8px;box-shadow:none;min-width:0}
.category-shortcuts strong{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.home-offer-actions a{border-radius:8px;box-shadow:none}
.home-job-row{min-height:80px;gap:16px;border-radius:6px;box-shadow:none}
.empty-public{max-width:760px;margin:24px auto;background:var(--ux-surface);border:1px solid var(--ux-line);padding:36px 24px;border-radius:8px}
.empty-public h2{font-size:24px;line-height:1.35;margin:16px 0 8px}
.empty-public p{max-width:560px;margin:12px auto;font-size:15px}
.empty-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:24px 0}
.empty-actions a{min-height:44px}
.empty-public .empty-help{font-size:13px}
.company-footer-links{display:flex;gap:12px 24px;flex-wrap:wrap;align-items:center;padding-top:20px;padding-bottom:20px}
.company-footer-links :is(a,button){min-height:44px;display:inline-flex;align-items:center}
.company-footer-links button{border:0;background:transparent;color:inherit;padding:0;text-decoration:underline;cursor:pointer}
.booking-steps{display:flex;list-style:none;margin:0 0 24px;padding:0;gap:8px;border-bottom:1px solid var(--ux-line)}
.booking-steps li{flex:1;padding:12px 0;font-size:13px;font-weight:600;color:var(--muted,var(--ux-muted));border-bottom:3px solid transparent}
.booking-steps li[aria-current=step]{border-bottom-color:var(--blue,#175cd3);color:var(--blue,#175cd3)}
.booking-step-actions{display:flex;gap:12px;justify-content:space-between;margin:20px 0}
.booking-step-actions button{min-height:44px}
.booking-review{margin:16px 0;padding:16px 0;border-top:1px solid var(--ux-line);border-bottom:1px solid var(--ux-line)}
.booking-review dt{font-size:13px;color:var(--muted,var(--ux-muted))}
.booking-review dd{margin:0 0 12px;overflow-wrap:anywhere}
@media(max-width:760px){.discovery-page .search-home{padding:28px 0}.discovery-page .search-home h1{font-size:30px}.discovery-page .home-title-line{font-size:23px}.discovery-page .home-search-fields{grid-template-columns:1fr;padding:16px}.discovery-page .search-modes{padding:0 8px}.discovery-page .search-modes button{flex:1 1 45%;font-size:13px;padding:10px 8px}.discovery-page .search-home-actions{gap:12px 20px}.empty-actions{flex-direction:column}.home-job-row{grid-template-columns:1fr}.booking-steps li{font-size:12px}.company-footer-links{gap:4px 20px}}
@media(max-width:760px){.discovery-page .popular-searches{display:none}.discovery-page .search-home-copy{font-size:14px}.discovery-page .search-home-actions{font-size:13px;margin-top:12px}}
html[data-color-mode=dark] .search-home,html[data-color-mode=dark] .empty-public{background:var(--pale-blue,#161b24);border-color:var(--line,#364153)}
/* Reference-led search entry; imagery is actual service work, not a sample provider profile. */
.discovery-page .search-home{background:#f0f7ff;isolation:isolate;padding:52px 0 44px}
.discovery-page .search-home::after{content:'';position:absolute;inset:0 0 0 47%;z-index:-1;background:linear-gradient(90deg,#f0f7ff 0%,rgba(240,247,255,.38) 40%,rgba(240,247,255,.1)),url('fixman-trades-hero.jpg') 65% center/cover no-repeat}
.discovery-page .search-home-content{margin-left:auto;margin-right:auto}
.discovery-page .search-home .eyebrow{font-size:12px;color:#087c76}
.discovery-page .reference-title{font-size:44px;line-height:1.12;max-width:480px;margin-bottom:20px}
.discovery-page .reference-title .home-title-line{font-size:44px;line-height:1.12;color:var(--blue,#175cd3);margin-top:0;max-width:430px}
.discovery-page .search-home-copy{max-width:480px;font-size:15px}
.discovery-page .home-search{max-width:680px;background:transparent;border:0}
.discovery-page .search-modes{gap:8px;padding:0;margin:0 0 18px;border:0}
.discovery-page .search-modes button,.discovery-page .audience-business{flex:0 1 auto;width:auto;min-height:44px;padding:9px 12px;background:var(--white,#fff);border:1px solid var(--ux-line);border-radius:6px;font-size:12px;font-weight:600;text-decoration:none;color:var(--ink,#102a43);display:inline-flex;align-items:center;justify-content:center}
.discovery-page .search-modes button.active{background:#e4efff;border:1px solid #8db7ef;color:#134da6}
.discovery-page .home-search-fields{background:var(--white,#fff);border:1px solid var(--ux-line);border-radius:8px;padding:12px;gap:8px;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto}
.discovery-page .home-search-fields label{padding:0 8px}
.discovery-page .home-search-fields label>span{font-size:11px;text-transform:uppercase}
.discovery-page .home-search-fields input{font-size:14px}
.discovery-page .home-search-fields .button{min-width:0;font-size:14px;padding:12px 18px}
.discovery-page .home-search-note{max-width:600px}
.discovery-page .search-home .home-search{max-width:680px}
.discovery-page .search-home .search-modes{display:flex;width:auto;flex-wrap:wrap}
.discovery-page .search-home .search-modes button{flex:0 1 auto;width:auto}
.discovery-page .search-home .home-search-fields{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto}
.discovery-page .search-home .home-search-fields .button{grid-column:auto;width:auto}
html[data-color-mode=dark] .search-home::after{opacity:.12}
@media(max-width:760px){.discovery-page .search-home{padding:28px 0}.discovery-page .search-home::after{display:none}.discovery-page .reference-title,.discovery-page .reference-title .home-title-line{font-size:32px;line-height:1.15}.discovery-page .home-search-fields{grid-template-columns:1fr}.discovery-page .search-modes{gap:6px}.discovery-page .search-modes button,.discovery-page .audience-business{font-size:12px;padding:8px 10px}.discovery-page .search-home-copy{font-size:14px}}
@media(max-width:760px){.discovery-page .search-home .home-search-fields{grid-template-columns:1fr}.discovery-page .search-home .home-search-fields .button{width:100%}}
.market-toolbar{gap:12px;align-items:end;margin-bottom:16px}
.market-toolbar :is(input,select,button){min-height:44px;min-width:0}
.market-job{border-radius:8px;padding:24px;box-shadow:none}
.market-job h2{font-size:21px;line-height:1.4;letter-spacing:0}
.market-job p{font-size:15px;line-height:1.7}
.market-meta{gap:12px 20px;flex-wrap:wrap;font-size:13px}
.market-budget strong{font-size:20px;overflow-wrap:anywhere}
.job-review-dialog{width:min(640px,calc(100% - 32px));max-height:85vh;overflow:auto;background:var(--white,#fff);color:var(--ink,#102a43);border:1px solid var(--line,#dce5ef);border-radius:8px;padding:24px}
.job-review-dialog::backdrop{background:rgba(0,0,0,.55)}
.job-review-dialog h2{font-size:24px;margin:0}
.job-review-dialog dd{white-space:pre-wrap}
.job-review-dialog p{font-size:14px;line-height:1.6}
@media(max-width:760px){.market-job{padding:16px}.market-budget strong{font-size:18px}.job-review-dialog{padding:20px}}
/* Keep foreground/background pairs on the same theme token set. */
.discovery-page .search-home .search-modes button,.discovery-page .search-home .audience-business{background:var(--surface,#fff);color:var(--ink,#102a43);border-color:var(--line,#dce5ef)}
.discovery-page .search-home .search-modes button.active{background:var(--tint,#eaf1ff);color:var(--blue,#175cd3);border-color:var(--blue,#175cd3)}
.discovery-page .search-home .home-search-fields{background:var(--surface,#fff);color:var(--ink,#102a43);border-color:var(--line,#dce5ef)}
.discovery-page .search-home .home-search-fields label>span{color:var(--muted,#52677d)}
.discovery-page .search-home .home-search-fields input{background:transparent;color:var(--ink,#102a43)}
.job-review-dialog{background:var(--surface,#fff);color:var(--ink,#102a43)}
html[data-color-mode=dark] .discovery-page .search-home .eyebrow{color:#6bd5c9}
html[data-color-mode=dark] :is(a,button,input,select,textarea):focus-visible{outline-color:var(--blue,#91b5ff)}
