/* AdPally 5.0 — Demand-led marketplace. Works with the existing v4.1 app. */
.tc-root{--ap-purple:#5935e8;--ap-orange:#ff981a;--ap-ink:#21162e;--ap-tint:#f9f7fe;color:var(--ap-ink);font-family:"Open Sans",Roboto,Arial,sans-serif}
.tc-root .tc-layout,.tc-root .tc-main{min-width:0}
.tc-home-layout .tc-hero-v4{height:218px!important;min-height:0!important;max-height:218px!important;max-width:100%!important;border-radius:16px!important;overflow:hidden!important;margin:18px 0 0!important;background:#291257!important}
.tc-home-layout .tc-hero-v4 h1{font-size:clamp(26px,3vw,42px)!important;letter-spacing:-.04em!important;line-height:1.06!important;margin:7px 0!important}
.tc-home-layout .tc-hero-copy-v4{padding:24px 30px!important;max-width:610px!important}
.tc-home-layout .tc-hero-v4 p{font-size:13px!important;line-height:1.55!important}
.tc-home-layout .tc-home-search{margin:9px 0 23px!important;position:relative!important;z-index:2!important}
.tc-home-layout .tc-global-search{border-radius:12px!important;overflow:hidden;box-shadow:0 4px 14px rgba(52,22,107,.08)!important}
.tc-home-layout .tc-v41-home-groups{padding-top:0!important}
.tc-home-layout .tc-v41-home-groups .tc-v41-group-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:11px!important}
.tc-v41-group-tile{min-width:0!important;box-shadow:0 5px 15px rgba(30,17,51,.045);border:1px solid #e6dfed!important;display:flex!important;flex-direction:column!important;gap:6px!important;padding:12px!important;overflow:hidden}
.tc-v41-group-tile .tc-v41-gphoto{width:100%;max-width:100%;height:104px;min-height:75px;border-radius:10px;overflow:hidden}
.tc-v41-group-tile .tc-v41-gphoto img{height:100%;width:100%;object-fit:cover}
.tc-v41-group-tile .tc-v41-gtitle{font-size:13px!important;line-height:1.28!important;min-height:auto!important;text-align:left}
.tc-v41-group-tile .tc-v41-gmeta{font-size:10px!important;line-height:1.4!important;display:block;color:#60576b!important}
.tc-v41-group-tile .tc-v41-garrow{display:none!important}
.tc-active-dot.is-quiet{background:#a3a0ac!important;box-shadow:none!important}
.tc-active-dot.is-live{background:#22b56b!important;box-shadow:0 0 0 2px #22b56b30}
.tc-v5-section-footer{margin-top:12px;text-align:right}
.tc-root .tc-section-heading h2,.tc-root .tc-v41-section-head h2,.tc-root .tc-how-heading h2,.tc-root .tc-small-cap+h1,.tc-root .tc-v5-need-spotlight h2{font-size:clamp(19px,2vw,24px)!important;line-height:1.22!important;letter-spacing:-.025em!important}
.tc-root .tc-v41-section-head,.tc-root .tc-page-head{margin-bottom:12px!important}
.tc-root .tc-v41-section-head p,.tc-root .tc-page-head p{font-size:12px!important;line-height:1.55!important}
.tc-v5-need-spotlight{background:#25104b!important;color:white!important;display:flex;justify-content:space-between;align-items:center;gap:18px;border-radius:14px!important;padding:22px 24px!important;margin:20px 0!important;box-shadow:0 9px 24px #25104b20!important}
.tc-v5-need-spotlight h2,.tc-v5-need-spotlight p{color:white!important;margin:5px 0 7px!important}
.tc-v5-need-spotlight .tc-v41-eyebrow{color:#ffc878!important}
.tc-v5-need-spotlight .tc-btn-outline{color:white!important;background:transparent!important;border-color:#bba2eb!important}
.tc-v5-need-buttons{display:flex;gap:8px;flex-wrap:wrap}
.tc-v5-request-feed{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tc-v5-req-card{border:1px solid #eae1f0;border-radius:14px;padding:20px;background:white;box-shadow:0 5px 19px #3b175f0a;display:flex;flex-direction:column;gap:11px}
.tc-v5-req-card h3{font-size:17px;line-height:1.24;margin:0}
.tc-v5-req-card p{margin:0;color:#62576b;font-size:13px;line-height:1.6}
.tc-v5-req-top,.tc-v5-req-details{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px}
.tc-v5-req-top span{background:#f1eafa;color:#5b34bd;border-radius:7px;padding:4px 7px;font-weight:700;font-size:10px}
.tc-v5-req-card .tc-btn{align-self:flex-start;min-height:35px!important;font-size:12px!important;padding:9px 12px!important}
.tc-v5-request-form,.tc-v5-quote-form{max-width:770px;margin:0 auto;background:white;padding:22px;border:1px solid #eae1f0;border-radius:15px}
.tc-v5-location-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.tc-v5-location-fields input,.tc-v5-location-fields select{width:100%;max-width:100%}
.tc-v5-mode-control{border-radius:10px;margin:7px 6px 17px;padding:12px;background:#f3edff;border:1px solid #dcd1f5;display:flex;align-items:center;justify-content:space-between;gap:10px}
.tc-v5-mode-control span{font-size:12px;color:#43276d;font-weight:800}
.tc-v5-mode-control button{font-size:11px;color:#fff;background:#5935e8;border:0;padding:9px 11px;border-radius:7px;cursor:pointer;font-weight:700}
.tc-v5-mode-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px;border:0;margin:0;padding:0 0 13px}
.tc-v5-mode-choices legend{font-size:13px;font-weight:800;padding-bottom:7px}
.tc-v5-mode-choices label{border:1px solid #ded6ec;border-radius:10px;padding:12px;display:flex;gap:7px;align-items:flex-start;cursor:pointer;color:#241535}
.tc-v5-mode-choices label:has(input:checked){border-color:#5935e8;background:#f4efff}
.tc-v5-mode-choices label small{display:block;font-size:10px;font-weight:400;color:#6c6078}
.tc-v5-buyer-row{border:1px solid #ede4f3;background:white;width:100%;padding:13px;margin-bottom:7px;text-align:left;border-radius:8px;display:flex;align-items:center;gap:15px;justify-content:space-between}
.tc-v5-buyer-row span{font-weight:700;flex:1}.tc-v5-buyer-row small{color:#635572}.tc-v5-buyer-row b{color:#5935e8}
.tc-v5-offer-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.tc-v5-offer-cards article{border-radius:12px;background:white;border:1px solid #e9dff4;padding:17px;display:grid;gap:10px}
.tc-v5-quote-head{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.tc-v5-offer-actions{display:flex;gap:9px;flex-wrap:wrap}
.tc-v5-whatsapp{background:#11ac62!important;color:white!important;border:0!important}
.tc-v5-request-location{background:#f7f2ff;border-radius:10px;padding:12px;margin:12px 0 18px;color:#5c467a}
.tc-v5-offers-page h1{font-size:clamp(24px,4vw,33px);margin:10px 0}
.tc-site-menu-btn{color:#5935e8!important}
.tc-v5-request-form .tc-two-fields{gap:10px}
@media(max-width:900px){.tc-home-layout .tc-v41-home-groups .tc-v41-group-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){
 .tc-root .tc-main{padding-inline:12px!important;max-width:100%!important}
 .tc-home-layout .tc-hero-v4{height:153px!important;max-height:153px!important;margin:10px 0 0!important;border-radius:11px!important}
 .tc-home-layout .tc-hero-copy-v4{padding:12px 14px!important;max-width:275px!important}
 .tc-home-layout .tc-hero-v4 h1{font-size:24px!important;line-height:1.04!important;margin:4px 0!important}
 .tc-home-layout .tc-hero-v4 p{font-size:9px!important;line-height:1.28!important;margin:4px 0 7px!important;max-width:215px!important}
 .tc-home-layout .tc-hero-v4 .tc-hero-quick .tc-btn{font-size:9px!important;min-height:28px!important;padding:7px 9px!important}
 .tc-home-layout .tc-home-search{margin:8px 0 17px!important}
 .tc-home-layout .tc-v41-home-groups .tc-v41-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 .tc-v41-group-tile{padding:8px!important;border-radius:10px!important;gap:4px!important}
 .tc-v41-group-tile .tc-v41-gphoto{height:70px;min-height:70px}
 .tc-v41-group-tile .tc-v41-gtitle{font-size:11px!important}
 .tc-v41-group-tile .tc-v41-gmeta{font-size:9px!important}
 .tc-root .tc-section-heading h2,.tc-root .tc-v41-section-head h2,.tc-root .tc-how-heading h2,.tc-root .tc-v5-need-spotlight h2{font-size:18px!important;line-height:1.22!important}
 .tc-root .tc-v41-section-head p{font-size:11px!important}
 .tc-root .tc-v41-section-head .tc-v41-eyebrow{font-size:9px!important}
 .tc-v5-need-spotlight{display:block;padding:16px!important;margin:13px 0!important}
 .tc-v5-need-spotlight p{font-size:11px!important}
 .tc-v5-need-buttons{margin-top:12px}
 .tc-v5-need-buttons .tc-btn{font-size:11px!important;padding:10px!important}
 .tc-v5-request-feed,.tc-v5-offer-cards,.tc-v5-location-fields{grid-template-columns:1fr}
 .tc-v5-req-card{padding:15px;border-radius:9px}
 .tc-v5-mode-choices label{padding:8px;font-size:12px}
 .tc-v5-request-form,.tc-v5-quote-form{padding:13px}
 .tc-v5-buyer-row{flex-wrap:wrap}
 .tc-site-menu-btn{margin-left:5px!important}
 .tc-root .tc-top{overflow:visible!important}
}

.tc-root[data-screen="requestNew"] .tc-float-tools,.tc-root[data-screen="dashboard"] .tc-float-tools,.tc-root[data-screen="profile"] .tc-float-tools,.tc-root[data-screen="create"] .tc-float-tools,.tc-root[data-screen="requestOffers"] .tc-float-tools{display:none!important}
.tc-v5-alert-optin{margin:8px 0 18px;padding:15px;background:#f5f0ff;border:1px solid #e4daf7;border-radius:10px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.tc-v5-alert-optin span{font-weight:800;color:#3c2563}
.tc-v5-alert-optin button{background:#5935e8;color:#fff;border:0;padding:9px 12px;border-radius:7px;font-weight:800;cursor:pointer}
.tc-v5-alert-optin small{width:100%;font-size:11px;color:#655675}

.tc-v5-dash-mode{margin-top:10px;font-size:12px!important;min-height:36px!important;color:#5935e8!important;border-color:#d3bced!important}
