/* Profile essentials first; secondary controls stay available in their tabs. */
#lookup.pc-profile-mode>.card>.lookupbar{display:none!important}
#lookup.pc-profile-mode>.card{padding-top:8px}
.pc-profile .lookup-streetview,.pc-hidden{display:none!important}
.pc-profile{padding:22px!important;border-radius:16px!important;background:#fff!important}
.pc-profile>.small{margin:4px 0 16px;font-size:13px}
.pc-profile>.inlineprofile{border:0!important;padding:0!important;background:none!important}
.pc-profile .inlineprofilehead{padding:12px 0!important;border:0!important}
.pc-profile .inlineprofilehead>strong{font-size:24px!important;color:#173b29}
.pc-nav{display:flex;gap:6px;border-bottom:1px solid #dfe7e1;overflow-x:auto;margin-bottom:18px;padding:0 0 10px}
.pc-nav button{white-space:nowrap;border:0;background:transparent;padding:11px 15px;border-radius:9px;color:#647469;font-family:inherit;font-size:14px;font-weight:600;cursor:pointer}
.pc-nav button[aria-pressed=true]{background:#eaf2ec;color:#194f31}
.pc-nav button:focus-visible{outline:2px solid #276741;outline-offset:2px}
.pc-section[hidden]{display:none!important}
.pc-profile .property-workspace{padding:0!important;margin:0!important;border:0!important;background:none!important}
.pc-summary{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:12px;color:#5d6b62;font-size:13px}
.pc-summary>span:first-child{background:#edf3ee;color:#265b37;border-radius:20px;padding:6px 11px;font-weight:700}
.pc-summary button{margin-left:auto}
.pc-profile .quo-contact-actions{border:0!important;background:#f7faf8!important;border-radius:10px!important;margin:0 0 18px!important}
.pc-profile .client-job-description{border:0!important;background:none!important;padding:0!important;margin:16px 0!important}
.pc-profile .client-job-description>strong,.pc-section-title{font-size:15px;font-weight:750;color:#233c2d}
.pc-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0}
.pc-photo-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.pc-photo-strip button{border:0;padding:0;background:none;cursor:pointer;border-radius:10px;overflow:hidden}
.pc-photo-strip img{width:100%;height:145px;object-fit:cover;display:block}
.pc-estimates{margin:22px 0}
.pc-drop{display:flex;flex-direction:column;gap:6px;padding:17px;border:1px dashed #a3bca9;border-radius:11px;background:#f8fbf8;color:#294e34;font-size:14px;cursor:pointer}
.pc-drop>span{font-size:12px;color:#68796c}
.pc-drop.drag{background:#e8f3e9;border-color:#287144}
.pc-drop input{max-width:100%;font-size:12px;margin-top:7px}
.pc-estimate-status{font-size:12px;color:#466650;margin-top:8px}
.pc-attachment{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e8eee9;padding:10px 0;font-size:13px;overflow-wrap:anywhere}
.pc-profile .notecomposer{background:#f7f9f7!important;border:0!important;border-radius:11px!important;margin-top:14px}
.pc-profile .activitylist{margin-top:15px}
.pc-profile .jw-profile-sources{margin-top:0}
.pc-profile .mailrow{border-bottom:1px solid #e4ebe5;padding:13px 0}
.pc-profile .jw-account-hub{margin-top:0}
.pc-profile [data-profile-section=contacts] .jw-account-related{margin-top:20px}
.pc-profile [data-profile-section=marketing] .mailrow>.small{max-width:780px;line-height:1.5}
@media(max-width:760px),(max-width:950px) and (max-height:500px){
 #lookup.pc-profile-mode>.card{padding:10px!important}
 .pc-profile{padding:12px!important;min-width:0}
 .pc-profile .inlineprofilehead{display:block!important;margin:0 0 12px!important;padding:8px 0!important}
 .pc-profile .inlineprofilehead>strong{display:block;font-size:22px!important;line-height:1.25;overflow-wrap:anywhere;margin-bottom:12px}
 .pc-profile .profile-head-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;width:100%}
 .pc-profile .profile-head-actions .btn{min-height:44px;white-space:normal;margin:0!important}
 .pc-profile .profile-head-actions .jobtread-profile-btn img{max-width:105px;width:100%;height:auto}
 .pc-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;overflow:visible;margin-bottom:12px;padding-bottom:8px}
 .pc-nav button{padding:8px 4px;font-size:13px;min-height:44px;white-space:normal;line-height:1.25}
 .pc-photo-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.pc-photo-strip img{height:115px}
 .pc-summary{gap:9px}.pc-summary button{margin-left:0}
 .pc-attachment{flex-wrap:wrap}.pc-profile .profile-head-actions{gap:5px;flex-wrap:wrap}
 .pc-profile .quo-contact-buttons .btn{min-height:44px}.pc-drop{padding:14px}
 .pc-profile .pc-section{min-width:0;padding:0!important}
 .pc-profile .quo-workspace{margin:12px 0!important;padding:12px!important}
 .pc-profile .quo-contact-actions{margin-bottom:12px!important;padding:10px!important}
 .pc-profile .client-job-description{margin:12px 0!important;line-height:1.5;overflow-wrap:anywhere}
 .pc-profile .pc-section-title{margin:10px 0}
 .pc-profile .pc-estimates{margin:0}
 .pc-profile .eventbuttons{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}
 .pc-profile .eventbuttons .btn{min-height:44px;white-space:normal;padding:8px!important;font-size:13px}
 .pc-profile input:not([type=checkbox]):not([type=radio]),.pc-profile select,.pc-profile textarea{font-size:16px!important;min-width:0;box-sizing:border-box}
 .pc-profile .pc-gallery:has(.pc-photo-strip:empty){display:none}
 .pc-profile .jw-account-legacy-details:empty{display:none}
 .pc-profile .aj-head,.pc-profile .aj-toolbar{flex-wrap:wrap;gap:8px}
 .pc-profile .aj-head select{width:100%;max-width:100%!important}
 .pc-profile .aj-tabs{display:grid;grid-template-columns:1fr;gap:8px}
 .pc-profile .aj-tabs .btn{min-height:44px}
}


@media(max-width:760px),(max-width:950px) and (max-height:500px){
 body.jw-customer-profile-open .app>main>.top:not(.mobile-search-active){display:none!important}
 #lookup.pc-profile-mode #lookupResult>.profile-back-row{display:none!important}
}

@media(max-width:760px),(max-width:950px) and (max-height:500px){.pc-nav button{min-width:0!important;width:100%;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}}
