.customer-portal .customer-sidebar-postcode { min-height: 16px; margin-top: 3px; color: var(--portal-muted); font-size: .7rem; }
.customer-portal .dashboard-main-content { background: var(--portal-bg); }
.customer-portal .dashboard-section { width: 100%; min-width: 0; max-width: 1480px; }
.customer-portal .customer-overview-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 300px); align-items: start; gap: 18px; }
.customer-portal .customer-overview-main { min-width: 0; }
.customer-portal .customer-stats-row { grid-template-columns: repeat(4, minmax(145px, 1fr)); margin-bottom: 16px; }
.customer-portal .customer-stats-row .dashboard-stat-card { min-height: 128px; padding: 16px; }
.customer-portal .customer-stats-row .dashboard-stat-value { margin-top: 12px; font-size: 1.65rem; }
.customer-stat-completed .dashboard-stat-icon { background: #e8f1ff; color: #3274c5; }
.customer-portal .customer-request-cta { min-height: 78px; margin-bottom: 16px; border-radius: 8px; }
.customer-request-cta .dashboard-plan-copy h2 { margin: 0 0 4px; color: var(--portal-navy); font: 700 .86rem/1.25 "Manrope", sans-serif; }
.customer-request-cta .dashboard-plan-copy p { margin: 0; color: var(--portal-muted); font-size: .75rem; }
.customer-request-cta .dashboard-plan-upgrade-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

.customer-overview-card { overflow: hidden; border: 1px solid var(--portal-line); border-radius: 8px; background: var(--portal-white); box-shadow: 0 5px 18px rgba(16,28,44,.035); }
.customer-overview-card > header { min-height: 70px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 17px 18px 14px; }
.customer-overview-card h2, .customer-how-card h2 { margin: 0; color: var(--portal-navy); font: 700 .86rem/1.3 "Manrope", sans-serif; }
.customer-overview-card header p { margin: 5px 0 0; color: var(--portal-muted); font-size: .72rem; }
.customer-text-button { min-height: 32px; flex: 0 0 auto; padding: 0; border: 0; background: transparent; color: var(--portal-teal-dark); cursor: pointer; font: 700 .7rem/1 "Manrope", sans-serif; }
.customer-text-button:hover { text-decoration: underline; }
.customer-recent-requests { margin-bottom: 16px; }
.customer-request-list { border-top: 1px solid #edf0f2; }
.customer-request-row { width: 100%; min-height: 78px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto 22px; align-items: center; gap: 12px; padding: 11px 17px; border: 0; border-bottom: 1px solid #edf0f2; background: var(--portal-white); color: inherit; cursor: pointer; text-align: left; }
.customer-request-row:last-child { border-bottom: 0; }
.customer-request-row:hover { background: #f8fbfa; }
.customer-request-icon, .customer-quote-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 7px; background: #e3f7f2; color: var(--portal-teal-dark); }
.customer-request-icon .material-icons, .customer-quote-icon .material-icons { font-size: 20px; }
.customer-request-copy { min-width: 0; display: flex; flex-direction: column; }
.customer-request-copy strong { overflow: hidden; color: var(--portal-navy); font: 700 .76rem/1.3 "Manrope", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.customer-request-copy span, .customer-request-copy time { margin-top: 2px; color: var(--portal-muted); font-size: .65rem; }
.customer-request-quotes { min-width: 65px; padding: 6px 9px; border-radius: 5px; background: #edf7ff; color: #276497; text-align: center; font: 700 .66rem/1 "Manrope", sans-serif; }
.customer-request-chevron { color: #8490a0; font-size: 19px; }

.customer-overview-aside { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.customer-quote-overview { padding-bottom: 16px; }
.customer-quote-overview > header, .customer-recent-messages > header { min-height: 58px; align-items: center; padding-bottom: 10px; }
.customer-quote-overview dl { margin: 0; padding: 0 17px 9px; }
.customer-quote-overview dl div { min-height: 37px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.customer-quote-overview dt { color: #566477; font-size: .7rem; }
.customer-quote-overview dd { margin: 0; color: var(--portal-navy); font: 800 .72rem/1 "Manrope", sans-serif; }
.customer-quote-overview [data-quote-count="pending"] { color: #a16b00; }
.customer-quote-overview [data-quote-count="accepted"] { color: #14704e; }
.customer-quote-overview [data-quote-count="rejected"] { color: #b23b32; }
.customer-quote-overview [data-quote-count="completed"] { color: #34598c; }
.customer-outline-button, .customer-primary-button, .customer-secondary-button, .customer-danger-button { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0 13px; border: 1px solid var(--portal-teal); border-radius: 6px; background: var(--portal-white); color: var(--portal-teal-dark); cursor: pointer; font: 700 .69rem/1 "Manrope", sans-serif; text-decoration: none; }
.customer-outline-button:hover { background: #eff9f7; }
.customer-primary-button { border-color: var(--portal-teal-dark); background: var(--portal-teal-dark); color: white; }
.customer-secondary-button { border-color: #d5dde1; color: #425065; }
.customer-danger-button { border-color: #b43c34; background: #b43c34; color: white; }
.customer-quote-overview > .customer-outline-button, .customer-recent-messages > .customer-outline-button { width: calc(100% - 34px); margin: 0 17px; }
.customer-recent-messages { padding-bottom: 16px; }
.customer-message-row { position: relative; width: 100%; min-height: 62px; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 8px 17px; border: 0; background: white; color: inherit; cursor: pointer; text-align: left; }
.customer-message-row:hover { background: #f8fbfa; }
.customer-message-row.is-unread::after { content: ""; position: absolute; right: 13px; bottom: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--portal-teal); }
.customer-message-avatar { width: 34px; height: 34px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--portal-navy); color: white; font: 700 .66rem/1 "Manrope", sans-serif; }
.customer-message-avatar img { width: 100%; height: 100%; object-fit: cover; }
.customer-message-copy { min-width: 0; display: flex; flex-direction: column; }
.customer-message-copy strong { overflow: hidden; color: var(--portal-navy); font: 700 .7rem/1.3 "Manrope", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.customer-message-copy span { margin-top: 3px; overflow: hidden; color: var(--portal-muted); font-size: .63rem; text-overflow: ellipsis; white-space: nowrap; }
.customer-message-row time { align-self: start; margin-top: 7px; color: #8792a1; font-size: .6rem; }

.customer-how-card { min-height: 174px; padding: 17px 18px; border: 1px solid #dce9e7; border-radius: 8px; background: linear-gradient(105deg, #f7fbfa 0%, #edf8f6 100%); }
.customer-how-card ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; margin: 17px 0 0; padding: 0; list-style: none; }
.customer-how-card li { position: relative; min-width: 0; display: flex; gap: 10px; }
.customer-how-card li:not(:last-child)::after { content: ""; position: absolute; top: 14px; right: -10px; width: 20px; border-top: 1px solid #b8dcd5; }
.customer-how-card li > span { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; border-radius: 50%; background: #d9f3ed; color: var(--portal-teal-dark); font: 800 .68rem/1 "Manrope", sans-serif; }
.customer-how-card strong { display: block; color: var(--portal-navy); font: 700 .7rem/1.3 "Manrope", sans-serif; }
.customer-how-card p { margin: 4px 0 0; color: var(--portal-muted); font-size: .65rem; line-height: 1.5; }

.customer-empty-state { min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 18px; text-align: center; }
.customer-empty-state > .material-icons { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #e3f7f2; color: var(--portal-teal-dark); font-size: 22px; }
.customer-empty-state h3 { margin: 12px 0 4px; color: var(--portal-navy); font: 700 .82rem/1.3 "Manrope", sans-serif; }
.customer-empty-state p { max-width: 360px; margin: 0 0 13px; color: var(--portal-muted); font-size: .7rem; line-height: 1.5; }
.customer-recent-messages .customer-empty-state { min-height: 150px; padding: 20px 14px; }

.customer-section-header { margin-bottom: 21px; }
.customer-section-header h1, .customer-portal #leads-section .dashboard-leads-title { margin: 0 0 6px; color: var(--portal-navy); font: 700 1.65rem/1.2 "Manrope", sans-serif; }
.customer-section-header p, .customer-section-intro { margin: 0; color: var(--portal-muted); font-size: .8rem; }
.customer-primary-link { min-height: 38px; display: inline-flex; align-items: center; padding: 0 15px; border-radius: 6px; background: var(--portal-teal-dark); color: white; text-decoration: none; font: 700 .72rem/1 "Manrope", sans-serif; }
.customer-portal #leads-section .dashboard-leads-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px; margin-bottom: 18px; }
.customer-portal #leads-section .dashboard-leads-header > div:last-child { grid-column: 1 / -1; margin: 0 !important; }
.customer-portal #serviceTypeFilter { min-height: 38px; padding: 0 36px 0 11px !important; border: 1px solid var(--portal-line) !important; border-radius: 6px !important; background: white; color: var(--portal-ink); font-size: .75rem; }
.customer-all-request-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.customer-all-request-card { min-width: 0; display: flex; flex-direction: column; padding: 16px; border: 1px solid var(--portal-line); border-radius: 8px; background: white; }
.customer-all-request-card header { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.customer-all-request-card h3 { margin: 0; overflow: hidden; color: var(--portal-navy); font: 700 .8rem/1.3 "Manrope", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.customer-all-request-card header div span { display: block; margin-top: 2px; color: var(--portal-muted); font-size: .66rem; }
.customer-all-request-card > p { flex: 1; margin: 14px 0 10px; overflow-wrap: anywhere; color: #566477; font-size: .72rem; line-height: 1.55; }
.customer-all-request-card > time { margin-bottom: 13px; color: #8792a1; font-size: .64rem; }
.customer-all-request-card > button { align-self: flex-start; }
.customer-status { width: fit-content; display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 11px; font: 800 .61rem/1 "Manrope", sans-serif; white-space: nowrap; }
.customer-status.is-pending { background: #fff2cc; color: #8a6100; }
.customer-status.is-accepted { background: #e4f5ed; color: #116b4c; }
.customer-status.is-rejected { background: #feeceb; color: #a9362d; }
.customer-status.is-completed { background: #e8eef8; color: #34598c; }

.customer-quotes-list { overflow: hidden; border: 1px solid var(--portal-line); border-radius: 8px; background: white; }
.customer-quote-row { min-height: 78px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto auto auto; align-items: center; gap: 13px; padding: 12px 16px; border-bottom: 1px solid #edf0f2; }
.customer-quote-row:last-child { border-bottom: 0; }
.customer-quote-copy { min-width: 0; display: flex; flex-direction: column; }
.customer-quote-copy strong { overflow: hidden; color: var(--portal-navy); font: 700 .78rem/1.3 "Manrope", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.customer-quote-copy span, .customer-quote-copy time { margin-top: 2px; color: var(--portal-muted); font-size: .65rem; }
.customer-quote-amount { color: var(--portal-navy); font: 800 .8rem/1 "Manrope", sans-serif; }

.customer-notification-row { width: 100%; display: flex; flex-direction: column; gap: 3px; padding: 10px; border: 0; border-bottom: 1px solid var(--portal-line); background: white; color: inherit; cursor: pointer; text-align: left; }
.customer-notification-row:hover { background: #f7faf9; }
.customer-notification-row strong { color: var(--portal-navy); font-size: .72rem; }
.customer-notification-row span { overflow: hidden; color: var(--portal-muted); font-size: .67rem; text-overflow: ellipsis; white-space: nowrap; }

.customer-modal-open { overflow: hidden; }
.customer-modal-backdrop { position: fixed; z-index: 2600; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(8,18,30,.62); }
.customer-modal { position: relative; width: min(500px, 100%); max-height: min(720px, calc(100vh - 40px)); overflow-y: auto; padding: 28px; border-radius: 8px; background: white; box-shadow: 0 24px 70px rgba(0,0,0,.25); }
.customer-modal > h2 { margin: 0 42px 20px 0; color: var(--portal-navy); font: 700 1.15rem/1.3 "Manrope", sans-serif; }
.customer-modal-close { position: absolute; top: 15px; right: 15px; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--portal-muted); cursor: pointer; }
.customer-modal-close:hover { background: #edf1f2; }
.customer-request-details { margin: 0; }
.customer-request-details div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding: 10px 0; border-bottom: 1px solid #edf0f2; }
.customer-request-details dt { color: var(--portal-muted); font-size: .72rem; }
.customer-request-details dd { margin: 0; overflow-wrap: anywhere; color: var(--portal-ink); font-size: .75rem; line-height: 1.5; }
.customer-modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; }
.customer-modal-copy { margin: 0; color: var(--portal-muted); font-size: .78rem; }
.customer-modal-status { min-height: 19px; margin: 10px 0 0; color: #a9362d; font-size: .7rem; font-weight: 700; }
.customer-toast { position: fixed; z-index: 2700; right: 22px; bottom: 22px; width: min(340px, calc(100vw - 32px)); display: flex; align-items: flex-start; gap: 11px; padding: 14px 16px; border: 1px solid #b9e4d9; border-radius: 7px; background: white; box-shadow: 0 14px 42px rgba(16,28,44,.18); }
.customer-toast > .material-icons { color: var(--portal-teal-dark); }
.customer-toast strong, .customer-toast span { display: block; }
.customer-toast strong { color: var(--portal-navy); font: 700 .76rem/1.3 "Manrope", sans-serif; }
.customer-toast span { margin-top: 2px; color: var(--portal-muted); font-size: .68rem; }

.customer-portal #chat-section, .customer-portal #profile-section, .customer-portal #professionals-section, .customer-portal #quotes-section, .customer-portal #leads-section { padding: 4px 0 30px; }
.customer-portal .dashboard-chat-container { padding: 0; border: 1px solid var(--portal-line); border-radius: var(--portal-radius); background: white !important; box-shadow: none; overflow: hidden; }
.customer-portal .dashboard-professionals-container, .customer-portal .dashboard-profile-container { border: 1px solid var(--portal-line); border-radius: 8px; background: white; box-shadow: none; }

.professional-directory-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.professional-filter-trigger { display: none; gap: 7px; }
.professional-filter-trigger .material-icons { font-size: 17px; }
.professional-directory-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 265px; align-items: start; gap: 18px; }
.professional-directory-main { min-width: 0; }
.professional-directory-toolbar { display: grid; grid-template-columns: minmax(250px, 1fr) auto; align-items: center; gap: 16px; padding: 13px; border: 1px solid var(--portal-line); border-radius: 8px; background: white; box-shadow: 0 5px 18px rgba(16,28,44,.035); }
.professional-search-field { height: 40px; display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid #d8dfe3; border-radius: 6px; background: #fff; }
.professional-search-field:focus-within { border-color: var(--portal-teal-dark); box-shadow: 0 0 0 3px rgba(0,157,132,.12); }
.professional-search-field .material-icons { flex: 0 0 auto; color: #7f8b99; font-size: 18px; }
.professional-search-field input { width: 100%; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: var(--portal-ink); font: 500 .72rem/1 "Manrope", sans-serif; }
.professional-sort-field { display: flex; align-items: center; gap: 9px; color: var(--portal-muted); font-size: .68rem; white-space: nowrap; }
.professional-sort-field select, .professional-filter-card select, .professional-filter-card input, .professional-page-size select { height: 40px; padding: 0 34px 0 11px; border: 1px solid #d8dfe3; border-radius: 6px; background: white; color: var(--portal-ink); font: 600 .68rem/1 "Manrope", sans-serif; }
.professional-results-summary { min-height: 18px; margin: 13px 7px 8px; color: var(--portal-muted); font-size: .65rem; }
.professional-directory-results { overflow: hidden; border: 1px solid var(--portal-line); border-radius: 8px; background: white; }
.professional-result-card { min-height: 76px; display: grid; grid-template-columns: 46px minmax(160px, 1.4fr) minmax(105px, .65fr) minmax(126px, .8fr) auto; align-items: center; gap: 13px; padding: 10px 12px; border-bottom: 1px solid #edf0f2; }
.professional-result-card:last-child { border-bottom: 0; }
.professional-result-avatar, .professional-review-avatar { width: 46px; height: 46px; display: grid; place-items: center; overflow: hidden; border-radius: 7px; background: #e7f5f2; color: var(--portal-teal-dark); font: 800 .73rem/1 "Manrope", sans-serif; }
.professional-result-avatar img, .professional-review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.professional-result-identity, .professional-result-location { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.professional-result-name { min-width: 0; display: flex; align-items: center; gap: 5px; }
.professional-result-name strong { overflow: hidden; color: var(--portal-navy); font: 750 .72rem/1.3 "Manrope", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.professional-verified-badge { display: inline-grid; place-items: center; color: var(--portal-teal-dark); }
.professional-verified-badge .material-icons { font-size: 15px; }
.professional-result-service, .professional-result-location span { overflow: hidden; color: var(--portal-muted); font-size: .63rem; text-overflow: ellipsis; white-space: nowrap; }
.professional-result-location strong { color: #4c5a6d; font-size: .66rem; }
.professional-result-rating { min-width: 0; display: flex; align-items: center; gap: 3px; color: #7a8491; font-size: .63rem; }
.professional-result-rating > .material-icons { color: #efa900; font-size: 15px; }
.professional-result-rating strong { color: #b27b00; font-size: .68rem; }
.professional-new-label { color: var(--portal-muted); font-weight: 650; }
.professional-result-actions { display: flex; gap: 7px; }
.professional-result-actions .customer-primary-button, .professional-result-actions .customer-secondary-button { min-height: 32px; padding: 0 11px; font-size: .63rem; white-space: nowrap; }
.professional-result-card button:focus-visible, .professional-directory-toolbar :focus-visible, .professional-filter-card :focus-visible, .professional-pagination :focus-visible, .professional-star-rating button:focus-visible { outline: 3px solid rgba(0,157,132,.28); outline-offset: 2px; }

.professional-directory-filters { min-width: 0; display: flex; flex-direction: column; gap: 13px; }
.professional-filter-sheet-header { display: none; }
.professional-filter-card { padding: 15px; border: 1px solid var(--portal-line); border-radius: 8px; background: white; box-shadow: 0 5px 18px rgba(16,28,44,.035); }
.professional-filter-card h2 { margin: 0 0 12px; color: var(--portal-navy); font: 700 .74rem/1.3 "Manrope", sans-serif; }
.professional-filter-card > label { display: block; margin: 11px 0 5px; color: var(--portal-muted); font-size: .62rem; font-weight: 700; }
.professional-filter-card select, .professional-filter-card input { width: 100%; }
.professional-popular-services { display: flex; flex-direction: column; gap: 1px; margin-top: 12px; }
.professional-popular-services:empty { display: none; }
.professional-popular-services::before { content: "Popular Services"; margin-bottom: 5px; color: var(--portal-muted); font-size: .62rem; }
.professional-popular-services button { min-height: 29px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0; border: 0; background: transparent; color: #4f5e71; cursor: pointer; text-align: left; font-size: .63rem; }
.professional-popular-services button:hover span { color: var(--portal-teal-dark); text-decoration: underline; }
.professional-popular-services strong { color: #8090a2; font-size: .61rem; }
.professional-filter-status { min-height: 0; margin: 8px 0 0; color: #9a6300; font-size: .61rem; line-height: 1.4; }
.professional-filter-status:empty { display: none; }
.professional-filter-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 13px; }
.professional-filter-note { display: flex; align-items: flex-start; gap: 10px; }
.professional-filter-note > .material-icons { color: var(--portal-teal-dark); font-size: 20px; }
.professional-filter-note h2 { margin-bottom: 7px; }
.professional-filter-card p { margin: 0 0 12px; color: var(--portal-muted); font-size: .63rem; line-height: 1.55; }
.professional-post-request-link { width: 100%; }
.professional-filter-backdrop { display: none; }

.professional-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 62px; padding: 10px 0; }
.professional-pagination > button { min-width: 34px; height: 34px; padding: 0 9px; border: 1px solid #d8dfe3; border-radius: 6px; background: white; color: #475569; cursor: pointer; font-size: 0; }
.professional-pagination > button:first-child::before { content: "chevron_left"; font: 18px/1 "Material Icons"; }
.professional-pagination > button:nth-last-child(2)::before { content: "chevron_right"; font: 18px/1 "Material Icons"; }
.professional-pagination > button:not(:first-child):not(:nth-last-child(2)) { font-size: .66rem; }
.professional-pagination > button.is-current { border-color: var(--portal-teal-dark); background: var(--portal-teal-dark); color: white; }
.professional-pagination > button:disabled { cursor: default; opacity: .42; }
.professional-page-size { margin-left: auto; display: flex; align-items: center; gap: 7px; color: var(--portal-muted); font-size: .62rem; }
.professional-page-size select { height: 34px; }

.professional-directory-state { border: 0; }
.professional-empty-actions { display: flex; justify-content: center; gap: 8px; }
.professional-result-skeleton > span { height: 13px; border-radius: 4px; background: linear-gradient(90deg, #edf0f2 25%, #f7f9fa 50%, #edf0f2 75%); background-size: 200% 100%; animation: professional-skeleton 1.25s infinite linear; }
.professional-result-skeleton > span:first-child { width: 46px; height: 46px; border-radius: 7px; }
.professional-result-skeleton > span:last-child { width: 110px; height: 32px; }
@keyframes professional-skeleton { to { background-position: -200% 0; } }

.professional-directory-modal { width: min(560px, 100%); }
.professional-profile-modal { width: min(880px, 100%); }
.professional-profile-modal-content { min-height: 180px; }
.professional-public-profile-header { display: flex; align-items: center; gap: 15px; padding: 0 44px 18px 0; border-bottom: 1px solid var(--portal-line); }
.professional-public-profile-avatar { width: 68px; height: 68px; flex: 0 0 68px; display: grid; place-items: center; overflow: hidden; border-radius: 8px; background: #e7f5f2; color: var(--portal-teal-dark); font: 800 .9rem/1 "Manrope", sans-serif; }
.professional-public-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.professional-public-profile-header h2 { margin: 0; color: var(--portal-navy); font: 700 1.15rem/1.3 "Manrope", sans-serif; }
.professional-public-profile-header p { margin: 5px 0 0; color: var(--portal-muted); font-size: .7rem; }
.professional-public-profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 18px 0; overflow: hidden; border: 1px solid var(--portal-line); border-radius: 7px; background: var(--portal-line); }
.professional-public-profile-stats div { padding: 13px; background: white; color: var(--portal-navy); text-align: center; font: 700 .7rem/1.3 "Manrope", sans-serif; }
.professional-public-profile-section { padding: 16px 0; border-top: 1px solid var(--portal-line); }
.professional-public-profile-section h3 { margin: 0 0 9px; color: var(--portal-navy); font: 700 .78rem/1.3 "Manrope", sans-serif; }
.professional-public-profile-section > p { margin: 0; color: #526174; font-size: .72rem; line-height: 1.65; white-space: pre-line; }
.professional-public-profile-tags, .professional-public-profile-links { display: flex; flex-wrap: wrap; gap: 7px; }
.professional-public-profile-tags span { padding: 6px 9px; border-radius: 5px; background: #e7f5f2; color: var(--portal-teal-dark); font-size: .65rem; font-weight: 700; }
.professional-public-profile-links a { color: var(--portal-teal-dark); font-size: .68rem; font-weight: 700; }
.professional-public-review { padding: 11px 0; border-top: 1px solid #edf0f2; }
.professional-public-review strong { color: #b27b00; font-size: .67rem; }
.professional-public-review p { margin: 6px 0; color: #526174; font-size: .7rem; line-height: 1.5; }
.professional-public-review span { color: var(--portal-muted); font-size: .62rem; }
.professional-review-identity { display: flex; align-items: center; gap: 12px; margin: 0 42px 22px 0; }
.professional-review-avatar { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%; }
.professional-review-identity h2 { margin: 0; color: var(--portal-navy); font: 700 1rem/1.3 "Manrope", sans-serif; }
.professional-review-identity p { margin: 4px 0 0; color: var(--portal-muted); font-size: .68rem; }
.professional-review-form { display: flex; flex-direction: column; }
.professional-review-label { margin: 14px 0 7px; color: var(--portal-navy); font-size: .72rem; font-weight: 750; }
.professional-star-rating { display: flex; width: fit-content; gap: 2px; }
.professional-star-rating button { width: 37px; height: 37px; padding: 0; border: 0; background: transparent; color: #ccd2d6; cursor: pointer; font-size: 29px; }
.professional-star-rating button.is-selected { color: #efa900; }
.professional-review-form textarea { width: 100%; resize: vertical; min-height: 120px; padding: 11px; border: 1px solid #d5dde1; border-radius: 6px; color: var(--portal-ink); font: 500 .75rem/1.5 "Manrope", sans-serif; }
.professional-review-count { align-self: flex-end; margin-top: 5px; color: var(--portal-muted); font-size: .61rem; }

@media (max-width: 1280px) {
  .customer-portal .customer-overview-grid { grid-template-columns: minmax(0, 1fr) 260px; }
  .customer-portal .customer-stats-row { grid-template-columns: repeat(2, minmax(145px, 1fr)); }
  .customer-all-request-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .professional-directory-layout { grid-template-columns: minmax(0, 1fr) 240px; }
  .professional-result-card { grid-template-columns: 42px minmax(140px, 1.2fr) minmax(90px, .6fr) minmax(105px, .7fr) auto; gap: 9px; }
}

@media (max-width: 1100px) {
  .professional-filter-trigger { display: inline-flex; }
  .professional-directory-layout { display: block; }
  .professional-directory-filters { position: fixed; z-index: 2800; top: 0; right: 0; bottom: 0; width: min(360px, calc(100vw - 30px)); overflow-y: auto; padding: 16px; background: var(--portal-bg); box-shadow: -18px 0 44px rgba(8,18,30,.22); transform: translateX(105%); transition: transform .22s ease; }
  .professional-directory-filters.is-open { transform: translateX(0); }
  .professional-filter-sheet-header { display: flex; align-items: center; justify-content: space-between; min-height: 42px; }
  .professional-filter-sheet-header h2 { margin: 0; color: var(--portal-navy); font: 700 1rem/1 "Manrope", sans-serif; }
  .professional-filter-sheet-header .customer-modal-close { position: static; }
  .professional-filter-backdrop:not([hidden]) { position: fixed; z-index: 2750; inset: 0; display: block; border: 0; background: rgba(8,18,30,.55); }
}

@media (max-width: 980px) {
  .customer-portal .customer-overview-grid { grid-template-columns: 1fr; }
  .customer-overview-main, .customer-overview-aside { display: contents; }
  .customer-stats-row { order: 1; }
  .customer-request-cta { order: 2; }
  .customer-recent-requests { order: 3; }
  .customer-quote-overview { order: 4; }
  .customer-recent-messages { order: 5; }
  .customer-how-card { order: 6; }
}

@media (max-width: 760px) {
  .customer-portal .customer-stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .customer-portal .customer-request-cta { grid-template-columns: 40px minmax(0, 1fr); }
  .customer-request-cta .dashboard-plan-upgrade-btn { grid-column: 1 / -1; width: 100%; }
  .customer-how-card ol { grid-template-columns: 1fr; }
  .customer-how-card li:not(:last-child)::after { top: 27px; right: auto; bottom: -15px; left: 13px; width: 0; height: 18px; border-top: 0; border-left: 1px solid #b8dcd5; }
  .customer-all-request-list { grid-template-columns: 1fr; }
  .customer-quote-row { grid-template-columns: 38px minmax(0, 1fr) auto; }
  .customer-quote-row .customer-quote-amount { grid-column: 2; }
  .customer-quote-row .customer-status { grid-column: 3; grid-row: 1; }
  .customer-quote-row .customer-outline-button { grid-column: 2 / -1; width: 100%; }
  .customer-portal #leads-section .dashboard-leads-header { grid-template-columns: 1fr; }
  .customer-portal #leads-section .dashboard-leads-header > div:last-child { grid-column: 1; }
  .customer-primary-link { width: 100%; justify-content: center; }
  .professional-directory-toolbar { grid-template-columns: 1fr; gap: 10px; }
  .professional-sort-field { justify-content: space-between; }
  .professional-sort-field select { flex: 1; max-width: 210px; }
  .professional-result-card { grid-template-columns: 46px minmax(0, 1fr); gap: 10px 12px; padding: 14px; }
  .professional-result-identity { align-self: center; }
  .professional-result-location, .professional-result-rating, .professional-result-actions { grid-column: 1 / -1; }
  .professional-result-location { display: flex; flex-direction: row; flex-wrap: wrap; gap: 5px; }
  .professional-result-location span::before { content: "• "; }
  .professional-result-actions button { flex: 1; }
  .professional-pagination { flex-wrap: wrap; }
  .professional-page-size { width: 100%; justify-content: center; margin: 6px 0 0; }
}

@media (max-width: 420px) {
  .customer-portal .customer-stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .customer-portal .customer-stats-row .dashboard-stat-card { min-height: 122px; padding: 13px; }
  .customer-portal .customer-stats-row .dashboard-stat-heading { align-items: flex-start; }
  .customer-portal .customer-stats-row .dashboard-stat-label { font-size: .69rem; }
  .customer-portal .customer-stats-row .dashboard-stat-value { font-size: 1.45rem; }
  .customer-request-row { grid-template-columns: 34px minmax(0, 1fr) 18px; gap: 9px; padding: 11px 12px; }
  .customer-request-icon { width: 34px; height: 34px; }
  .customer-request-quotes { grid-column: 2; justify-self: start; margin-top: 2px; }
  .customer-request-chevron { grid-column: 3; grid-row: 1 / span 2; }
  .customer-overview-card > header { flex-direction: column; gap: 6px; }
  .customer-quote-row { padding: 12px; }
  .customer-modal { padding: 24px 18px; }
  .customer-request-details div { grid-template-columns: 1fr; gap: 4px; }
  .customer-modal-actions { flex-direction: column-reverse; }
  .customer-modal-actions button { width: 100%; }
  .professional-directory-header { align-items: flex-start; }
  .professional-filter-trigger { min-width: 42px; padding: 0 10px; }
  .professional-result-actions { flex-direction: column; }
  .professional-result-actions button { width: 100%; }
  .professional-empty-actions { width: 100%; flex-direction: column; }
  .professional-empty-actions > * { width: 100%; }
  .professional-pagination > button { min-width: 32px; }
  .professional-public-profile-stats { grid-template-columns: 1fr; }
}

.customer-profile-loading[hidden], .customer-profile-error[hidden], .customer-profile-layout[hidden], .customer-cv-actions[hidden] { display: none !important; }
.customer-profile-page-header { margin-bottom: 18px; }
.customer-profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: start; gap: 18px; }
.customer-profile-main, .customer-profile-aside { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.customer-profile-card { min-width: 0; padding: 18px; border: 1px solid var(--portal-line); border-radius: 8px; background: var(--portal-white); box-shadow: 0 5px 18px rgba(16,28,44,.035); }
.customer-profile-card h2 { margin: 0; color: var(--portal-navy); font: 700 .86rem/1.3 "Manrope", sans-serif; }
.customer-personal-layout { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: start; gap: 22px; margin-top: 17px; }
.customer-profile-photo-column { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.customer-profile-avatar { position: relative; width: 86px; height: 86px; display: grid; place-items: center; border: 1px solid #d7e7e3; border-radius: 50%; background: #e5f5f1; color: var(--portal-teal-dark); font: 800 1.25rem/1 "Manrope", sans-serif; }
.customer-profile-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.customer-profile-camera { position: absolute; right: -3px; bottom: 3px; width: 26px; height: 26px; display: grid; place-items: center; border: 3px solid white; border-radius: 50%; background: #dff8f2; color: var(--portal-teal-dark); font-size: 15px; }
.customer-photo-button { width: 100%; min-height: 32px; }
.customer-field-status { min-height: 14px; margin: -4px 0 0; color: #a9362d; text-align: center; font-size: .61rem; line-height: 1.35; }
.customer-profile-fields { min-width: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.customer-profile-field { min-width: 0; display: flex; flex-direction: column; gap: 6px; color: var(--portal-navy); font-size: .64rem; font-weight: 700; }
.customer-profile-field > span:first-child, .customer-profile-label { display: block; color: #506077; font-size: .64rem; font-weight: 700; }
.customer-profile-fields .customer-profile-field { grid-column: span 2; }
.customer-profile-fields .customer-field-name, .customer-profile-fields .customer-field-email { grid-column: span 3; }
.customer-profile-field input, .customer-profile-field select, .customer-profile-field textarea { width: 100%; min-width: 0; min-height: 42px; padding: 0 11px; border: 1px solid #d8dfe3; border-radius: 6px; outline: 0; background: white; color: var(--portal-ink); font: 500 .7rem/1.4 "Manrope", sans-serif; }
.customer-profile-field textarea { min-height: 108px; padding-top: 10px; resize: vertical; }
.customer-profile-field input[readonly] { background: #fbfcfc; color: #35445a; }
.customer-profile-field input:focus, .customer-profile-field select:focus, .customer-profile-field textarea:focus, .customer-cv-upload:focus-visible, .customer-email-card button:focus-visible, .customer-toggle input:focus-visible + span { border-color: var(--portal-teal-dark); box-shadow: 0 0 0 3px rgba(0,157,132,.12); }
.customer-input-with-icon { position: relative; display: block; }
.customer-input-with-icon .material-icons { position: absolute; z-index: 1; top: 50%; left: 10px; color: #748196; font-size: 15px; transform: translateY(-50%); }
.customer-input-with-icon input { padding-left: 32px; }
.customer-profile-metric { width: min(250px, 100%); min-height: 56px; display: flex; align-items: center; gap: 11px; margin-top: 17px; padding: 10px 13px; border-radius: 7px; background: #f5f8f9; }
.customer-profile-metric > .material-icons { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; background: #e5f5f1; color: var(--portal-teal-dark); font-size: 18px; }
.customer-profile-metric div { display: flex; flex-direction: column; gap: 2px; }
.customer-profile-metric span { color: var(--portal-muted); font-size: .63rem; }
.customer-profile-metric strong { color: var(--portal-navy); font: 800 1rem/1 "Manrope", sans-serif; }

.customer-work-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.customer-work-heading h2 { margin-bottom: 5px; }
.customer-work-heading p, .customer-email-card p { margin: 0; color: var(--portal-muted); font-size: .68rem; line-height: 1.5; }
.customer-toggle { position: relative; flex: 0 0 auto; cursor: pointer; }
.customer-toggle input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.customer-toggle > span:last-child { width: 43px; height: 24px; display: block; padding: 3px; border-radius: 13px; background: #b9c2c9; transition: background-color .18s ease; }
.customer-toggle > span:last-child::before { content: ""; width: 18px; height: 18px; display: block; border-radius: 50%; background: white; box-shadow: 0 1px 3px rgba(16,28,44,.25); transition: transform .18s ease; }
.customer-toggle input:checked + span { background: var(--portal-teal); }
.customer-toggle input:checked + span::before { transform: translateX(19px); }
.customer-toggle input:disabled + span { cursor: wait; opacity: .6; }
#lookingForWorkFormContainer { margin-top: 18px; transition: opacity .18s ease; }
#lookingForWorkFormContainer.is-disabled { opacity: .48; }
#lookingForWorkFields { min-width: 0; margin: 0; padding: 0; border: 0; }
.customer-work-form-grid { min-width: 0; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 13px 18px; }
.customer-work-form-grid label[for="lfwService"] { grid-column: 1; grid-row: 1; }
.customer-work-form-grid label[for="lfwDetails"] { grid-column: 2; grid-row: 1 / span 2; }
.customer-work-form-grid label[for="lfwPostcode"] { grid-column: 1; grid-row: 2; }
.customer-work-form-grid label[for="lfwDistance"] { grid-column: 1; grid-row: 3; }
.customer-cv-field { min-width: 0; grid-column: 2; grid-row: 3; }
.customer-cv-upload { width: 100%; min-height: 62px; display: flex; align-items: center; gap: 11px; margin-top: 6px; padding: 9px 12px; border: 1px dashed #cdd8dc; border-radius: 7px; background: #f9fbfb; color: inherit; cursor: pointer; text-align: left; }
.customer-cv-upload:hover { border-color: var(--portal-teal-dark); background: #f2faf8; }
.customer-cv-upload > .material-icons { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 6px; background: #dff8f2; color: var(--portal-teal-dark); font-size: 18px; }
.customer-cv-upload > span:last-child { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.customer-cv-upload strong, .customer-cv-upload small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.customer-cv-upload strong { color: var(--portal-navy); font-size: .68rem; }
.customer-cv-upload small { color: var(--portal-muted); font-size: .61rem; }
.customer-cv-actions { display: flex; gap: 12px; margin-top: 7px; }
.customer-cv-actions a, .customer-cv-actions button { padding: 0; border: 0; background: transparent; color: var(--portal-teal-dark); cursor: pointer; font: 700 .62rem/1.4 "Manrope", sans-serif; text-decoration: none; }
.customer-cv-actions a:hover, .customer-cv-actions button:hover { text-decoration: underline; }
.customer-field-error { min-height: 12px; color: #ae342c; font-size: .59rem; font-weight: 650; }
.customer-profile-field .is-invalid, .customer-cv-upload.is-invalid { border-color: #c74b42; }
.customer-work-actions { display: flex; align-items: center; gap: 13px; margin-top: 17px; }
.customer-work-actions .customer-primary-button { min-width: 105px; }
.customer-work-actions .customer-primary-button:disabled { cursor: default; opacity: .48; }
.customer-work-status { margin: 0; color: var(--portal-muted); font-size: .64rem; font-weight: 700; }
.customer-form-message { min-height: 15px; margin: 8px 0 0; color: var(--portal-muted); font-size: .64rem; font-weight: 700; }
.customer-form-message[data-type="success"] { color: #14704e; }
.customer-form-message[data-type="error"] { color: #ae342c; }

.customer-profile-aside { grid-column: 2; grid-row: 1; }
.customer-email-card p { margin: 8px 0 16px; }
.customer-email-card > span { display: block; color: var(--portal-muted); font-size: .62rem; }
.customer-email-card > strong { display: block; margin-top: 5px; overflow-wrap: anywhere; color: var(--portal-navy); font-size: .7rem; }
.customer-email-card .customer-outline-button { gap: 7px; width: 100%; margin-top: 17px; }
.customer-email-card .material-icons { font-size: 16px; }
.customer-profile-how { border-color: #dce9e7; background: linear-gradient(135deg, #f8fbfa, #eff8f6); }
.customer-profile-how h2 { display: flex; align-items: center; gap: 8px; }
.customer-profile-how h2 .material-icons { color: var(--portal-teal-dark); font-size: 18px; }
.customer-profile-how ol { margin: 17px 0 0; padding: 0; list-style: none; }
.customer-profile-how li { position: relative; display: flex; gap: 10px; padding-bottom: 16px; }
.customer-profile-how li:not(:last-child)::after { content: ""; position: absolute; top: 22px; bottom: 2px; left: 10px; border-left: 1px solid #a9d9d0; }
.customer-profile-how li > span { z-index: 1; width: 21px; height: 21px; flex: 0 0 21px; display: grid; place-items: center; border: 1px solid var(--portal-teal); border-radius: 50%; background: white; color: var(--portal-teal-dark); font: 800 .58rem/1 "Manrope", sans-serif; }
.customer-profile-how li strong, .customer-privacy-note strong { color: var(--portal-navy); font-size: .66rem; }
.customer-profile-how li p, .customer-privacy-note p { margin: 4px 0 0; color: var(--portal-muted); font-size: .61rem; line-height: 1.5; }
.customer-privacy-note { display: flex; gap: 9px; padding-top: 15px; border-top: 1px solid #d8ebe7; }
.customer-privacy-note > .material-icons { color: var(--portal-teal-dark); font-size: 18px; }
.customer-profile-tip { grid-column: 1 / -1; display: flex; align-items: center; gap: 11px; padding: 12px 15px; border: 1px solid #e1eaeb; border-radius: 8px; background: #f8fafb; }
.customer-profile-tip > .material-icons { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 6px; background: #dff8f2; color: var(--portal-teal-dark); font-size: 17px; }
.customer-profile-tip strong { color: var(--portal-navy); font-size: .66rem; }
.customer-profile-tip p { margin: 3px 0 0; color: var(--portal-muted); font-size: .61rem; line-height: 1.45; }
.customer-profile-loading { min-height: 300px; display: grid; grid-template-columns: 90px 1fr; align-content: start; gap: 14px; padding: 24px; border: 1px solid var(--portal-line); border-radius: 8px; background: white; }
.customer-profile-skeleton { height: 42px; border-radius: 6px; background: linear-gradient(90deg, #edf0f2 25%, #f8fafb 50%, #edf0f2 75%); background-size: 200% 100%; animation: professional-skeleton 1.25s infinite linear; }
.customer-profile-skeleton.is-avatar { width: 86px; height: 86px; grid-row: 1 / span 2; border-radius: 50%; }
.customer-profile-error { min-height: 190px; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 24px; border: 1px solid var(--portal-line); border-radius: 8px; background: white; }
.customer-profile-error > .material-icons { color: #a9362d; }
.customer-profile-error strong { color: var(--portal-navy); font-size: .78rem; }
.customer-profile-error p { margin: 3px 0 0; color: var(--portal-muted); font-size: .68rem; }
.customer-profile-error button { margin-left: 8px; }
.customer-confirm-modal { width: min(440px, 100%); }

@media (max-width: 1100px) {
  .customer-profile-layout { grid-template-columns: 1fr; }
  .customer-profile-main, .customer-profile-aside { display: contents; }
  .customer-personal-card { order: 1; }
  .customer-email-card { order: 2; }
  .customer-work-card { order: 3; }
  .customer-profile-how { order: 4; }
  .customer-profile-tip { grid-column: 1; order: 5; }
}

@media (max-width: 760px) {
  .customer-profile-layout, .customer-profile-main, .customer-profile-aside { gap: 14px; }
  .customer-personal-layout { grid-template-columns: 1fr; }
  .customer-profile-photo-column { width: min(180px, 100%); justify-self: center; }
  .customer-profile-fields { grid-template-columns: 1fr; }
  .customer-profile-fields .customer-profile-field, .customer-profile-fields .customer-field-name, .customer-profile-fields .customer-field-email { grid-column: 1; }
  .customer-work-form-grid { grid-template-columns: 1fr; }
  .customer-work-form-grid label[for="lfwService"], .customer-work-form-grid label[for="lfwDetails"], .customer-work-form-grid label[for="lfwPostcode"], .customer-work-form-grid label[for="lfwDistance"], .customer-cv-field { grid-column: 1; grid-row: auto; }
  .customer-work-form-grid label[for="lfwDetails"] { order: 4; }
  .customer-cv-field { order: 5; }
}

@media (max-width: 420px) {
  .customer-profile-card { padding: 15px; }
  .customer-work-heading { gap: 12px; }
  .customer-work-actions { align-items: stretch; flex-direction: column; }
  .customer-work-actions .customer-primary-button { width: 100%; }
  .customer-work-status { text-align: center; }
  .customer-profile-error { align-items: stretch; flex-direction: column; text-align: center; }
  .customer-profile-error button { width: 100%; margin: 0; }
  .customer-email-card > strong { font-size: .66rem; }
}
