/* CC Waterproofing V7: member navigation, bookings and vendor finance fixes */
:root{--v7-navy:#06385c;--v7-navy2:#0a4d78;--v7-orange:#ff6a2b;--v7-line:#dbe5eb;--v7-soft:#f5f8fa;--v7-text:#18364d;--v7-muted:#667b8a;--v7-green:#0b8a5b}

/* Member workspace bar: readable, compact and consistent */
.member-subnav-wrap{background:var(--v7-navy)!important;border-top:2px solid var(--v7-orange)!important;border-bottom:0!important;box-shadow:none!important}
.member-subnav{min-height:48px!important;gap:4px!important;overflow-x:auto!important;scrollbar-width:none!important}
.member-subnav::-webkit-scrollbar{display:none!important}
.member-subnav-label{color:#fff!important;font-family:Arial,Helvetica,sans-serif!important;font-size:12px!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.25px!important}
.member-subnav-label:before{background:#082c47!important;color:#fff!important;border-radius:4px!important;width:28px!important;height:28px!important}
.member-subnav a{min-height:34px!important;padding:8px 11px!important;border:1px solid transparent!important;border-radius:4px!important;background:transparent!important;color:rgba(255,255,255,.86)!important;font-family:Arial,Helvetica,sans-serif!important;font-size:11px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;box-shadow:none!important}
.member-subnav a:hover,.member-subnav a.is-active{background:#fff!important;border-color:#fff!important;color:var(--v7-navy)!important;box-shadow:0 2px 6px rgba(0,0,0,.08)!important}
.member-subnav a.logout{margin-left:8px!important;background:#fff!important;border-color:#fff!important;color:var(--v7-navy)!important}
.member-subnav a.logout:hover{background:var(--v7-orange)!important;border-color:var(--v7-orange)!important;color:#fff!important}

/* Buyer bookings: stop action buttons collapsing into vertical letters */
.cc-buyer-bookings{max-width:1180px!important;margin:24px auto 48px!important;padding:0!important}
.cc-buyer-bookings .hero{padding:20px 22px!important;border-radius:6px!important}
.cc-buyer-bookings h1{font-family:Arial,Helvetica,sans-serif!important;font-size:28px!important;line-height:1.1!important;letter-spacing:-.4px!important;text-transform:none!important;padding-top:10px!important}
.cc-buyer-bookings h1:before{width:34px!important;height:3px!important}
.cc-buyer-bookings .lead{font-size:12px!important}
.cc-buyer-bookings .hero .btn{min-height:38px!important;padding:0 16px!important;font-size:11px!important}
.cc-buyer-bookings .card{margin-top:16px!important;border-radius:6px!important}
.cc-buyer-bookings table{min-width:1120px!important;table-layout:auto!important;font-size:11px!important}
.cc-buyer-bookings th,.cc-buyer-bookings td{padding:11px 10px!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important}
.cc-buyer-bookings th{font-size:9px!important;letter-spacing:.35px!important}
.cc-buyer-bookings th:last-child,.cc-buyer-bookings td:last-child{min-width:245px!important;width:245px!important}
.cc-buyer-bookings .booking-actions{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;min-width:225px!important;width:max-content!important}
.cc-buyer-bookings .booking-actions .btn{display:inline-flex!important;flex:0 0 auto!important;width:auto!important;min-width:max-content!important;max-width:none!important;min-height:34px!important;padding:0 10px!important;white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;font-size:10px!important;line-height:1!important;text-transform:none!important}
.cc-buyer-bookings .payment{font-size:9px!important}
.cc-buyer-bookings .badge{font-size:9px!important}

/* Vendor finance: values must remain visible and cards should not inherit generic white KPI rule */
.cc-earn{max-width:1180px!important;margin:24px auto 48px!important;padding:0!important}
.cc-earn .hero{padding:20px 22px!important;border-radius:6px!important}
.cc-earn h1{font-family:Arial,Helvetica,sans-serif!important;font-size:28px!important;line-height:1.1!important;letter-spacing:-.4px!important;text-transform:none!important}
.cc-earn .lead{font-size:12px!important;line-height:1.5!important}
.cc-earn .kpis{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important;margin:16px 0!important}
.cc-earn .kpi{min-width:0!important;padding:14px!important;border:1px solid var(--v7-line)!important;border-radius:6px!important;background:#fff!important;box-shadow:none!important;overflow:hidden!important}
.cc-earn .kpi small{display:block!important;min-height:26px!important;color:var(--v7-muted)!important;font-family:Arial,Helvetica,sans-serif!important;font-size:9px!important;line-height:1.3!important;letter-spacing:.25px!important;text-transform:uppercase!important}
.cc-earn .kpi b{display:block!important;margin-top:6px!important;color:var(--v7-text)!important;font-family:Arial,Helvetica,sans-serif!important;font-size:19px!important;line-height:1.15!important;letter-spacing:-.35px!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
.cc-earn .kpi.green{border-top:3px solid var(--v7-green)!important}.cc-earn .kpi.green b{color:var(--v7-green)!important}
.cc-earn .kpi.orange{background:var(--v7-navy)!important;border-color:var(--v7-navy)!important;border-top:3px solid var(--v7-orange)!important}
.cc-earn .kpi.orange small{color:#b9d7e9!important}.cc-earn .kpi.orange b{color:#fff!important}
.cc-earn .card{padding:20px!important;border-radius:6px!important}
.cc-earn h2{font-family:Arial,Helvetica,sans-serif!important;font-size:21px!important;letter-spacing:-.2px!important;text-transform:none!important}
.cc-earn .note{font-size:11px!important}
.cc-earn table{font-size:11px!important}.cc-earn th{font-size:9px!important}.cc-earn th,.cc-earn td{padding:10px!important}
.cc-earn .headrow .btn{min-height:36px!important;padding:0 13px!important;font-size:10px!important}

@media(max-width:1180px){
 .cc-buyer-bookings,.cc-earn{width:calc(100% - 28px)!important}
 .cc-earn .kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .cc-earn .kpi b{font-size:21px!important}
}
@media(max-width:760px){
 .member-subnav-wrap{display:none!important}
 .member-subnav-wrap.open{display:block!important;position:fixed!important;inset:0!important;z-index:100000!important;background:#fff!important;border:0!important;padding:74px 14px 18px!important;overflow:auto!important}
 .member-subnav-wrap.open .member-subnav{display:grid!important;grid-template-columns:1fr!important;align-content:start!important;width:100%!important;min-height:0!important;padding:0!important;gap:7px!important;overflow:visible!important}
 .member-subnav-wrap.open .member-subnav a{width:100%!important;min-height:44px!important;justify-content:flex-start!important;padding:10px 14px!important;background:#f6f8fa!important;border:1px solid var(--v7-line)!important;color:var(--v7-navy)!important;font-size:12px!important}
 .member-subnav-wrap.open .member-subnav a.is-active{background:#eaf3f8!important;border-color:#a9c9db!important}
 .member-subnav-wrap.open .member-subnav a.logout{margin:8px 0 0!important;background:var(--v7-orange)!important;border-color:var(--v7-orange)!important;color:#fff!important}
 .cc-buyer-bookings,.cc-earn{width:calc(100% - 20px)!important;margin:16px auto 34px!important;padding:0!important}
 .cc-buyer-bookings .hero,.cc-earn .hero{padding:16px!important}
 .cc-buyer-bookings h1,.cc-earn h1{font-size:23px!important}
 .cc-buyer-bookings .table-wrap,.cc-earn .table-wrap{margin:0!important;border-radius:6px!important}
 .cc-buyer-bookings table{min-width:1050px!important}
 .cc-buyer-bookings .booking-actions .btn{min-height:34px!important;font-size:10px!important}
 .cc-earn .kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 .cc-earn .kpi{padding:12px!important}.cc-earn .kpi b{font-size:18px!important}
 .cc-earn .card{padding:14px!important}.cc-earn .headrow{align-items:stretch!important}.cc-earn .headrow .btn{width:100%!important}
}
@media(max-width:430px){.cc-earn .kpis{grid-template-columns:1fr!important}.cc-earn .kpi small{min-height:0!important}}
