.company-overview .pd-main * { box-sizing: border-box; }
.pd-main { max-width: 1800px; margin-left: 0; padding: 0 36px 20px; }
.pd-main [hidden] { display: none !important; }
.pd-main svg { width: 18px; height: 18px; flex-shrink: 0; }
.pd-main h1, .pd-main h2, .pd-main h3, .pd-main p { margin: 0; }
.pd-main a { color: var(--pd-green); text-decoration: none; }
.pd-main a:hover { text-decoration: underline; }
.pd-main a:focus-visible, .pd-main button:focus-visible, .pd-main select:focus-visible { outline: 3px solid #62b599; outline-offset: 3px; }
.pd-main button, .pd-main select { font: inherit; }
.pd-main button { cursor: pointer; }
.pd-main button:disabled { cursor: wait; opacity: .55; }
.pd-topline { min-height: 72px; border-bottom: 1px solid var(--pd-line); display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; }
.pd-breadcrumb { color: var(--pd-muted); }
.pd-breadcrumb span { margin: 0 12px; color: #b0bbb5; }
.pd-breadcrumb strong { font-weight: 600; color: var(--pd-ink); }
.pd-sync { display: flex; align-items: center; gap: 10px; color: var(--pd-muted); }
.pd-icon-button { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--pd-line); border-radius: 8px; background: white; color: #66766c; }
.pd-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 0 28px; }
.pd-eyebrow { font-size: 12px; font-weight: 600; color: var(--pd-green); letter-spacing: .03em; }
.pd-page-heading h1 { color: var(--pd-ink); font-size: clamp(25px, 2.2vw, 33px); font-weight: 680; line-height: 1.25; letter-spacing: -.8px; margin: 4px 0 8px; }
.pd-page-heading > div > p:last-child { color: var(--pd-muted); font-size: 12px; max-width: 540px; }
.pd-heading-actions { display: flex; gap: 10px; flex-shrink: 0; }
.pd-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--pd-green); background: var(--pd-green); color: #fff !important; border-radius: 8px; padding: 10px 14px; min-height: 39px; font-size: 12px; font-weight: 600; text-decoration: none !important; }
.pd-button:hover { background: #09684c; }
.pd-button-secondary { background: #fff; color: #354c40 !important; border-color: #d9e2dc; }
.pd-button-secondary:hover { background: #eef5f0; }
.pd-button svg { width: 15px; height: 15px; }
.pd-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 14px; }
.pd-toolbar > div { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.pd-section-label { font-size: 13px; font-weight: 650; }
.pd-period { font-size: 12px; color: var(--pd-muted); }
.pd-range-label { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--pd-muted); font-size: 12px; }
.pd-range-label select { padding: 8px 29px 8px 10px; border: 1px solid #d9e2dc; border-radius: 7px; background-color: #fff; color: #34493d; }
.pd-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.pd-metric { border: 1px solid var(--pd-line); background: #fff; border-radius: 12px; padding: 18px 19px 16px; }
.pd-metric-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 550; color: #596c60; }
.pd-metric-icon { display: flex; align-items: center; justify-content: center; width: 31px; height: 31px; background: #edf7f0; color: #087f5b; border-radius: 8px; }
.pd-metric-icon svg { width: 17px; height: 17px; }
.pd-icon-blue { background: #eef3fc; color: #4e76b1; }
.pd-icon-amber { background: #fff7e7; color: #ad7c20; }
.pd-icon-slate { background: #f1f2f6; color: #68718f; }
.pd-metric > strong { display: block; margin: 12px 0 10px; color: var(--pd-ink); font-size: 32px; line-height: 1.1; font-weight: 650; letter-spacing: -.8px; font-variant-numeric: tabular-nums; }
.pd-metric p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--pd-muted); font-size: 11px; min-height: 19px; }
.pd-metric p a { display: inline-flex; gap: 4px; align-items: center; font-weight: 550; }
.pd-metric p svg { height: 12px; width: 12px; }
.pd-metric-scope { margin-left: auto; color: #63746d; }
.pd-change-up { color: #087f5b; font-weight: 600; }
.pd-change-down { color: #9c6730; font-weight: 600; }
.pd-content-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; gap: 22px; }
.pd-card { background: #fff; border: 1px solid var(--pd-line); border-radius: 12px; padding: 22px; min-width: 0; }
.pd-activity-card, .pd-enquiries-card, .pd-portfolio-card { grid-column: span 8; }
.pd-response-card, .pd-profile-card, .pd-opportunities-card { grid-column: span 4; }
.pd-card-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.pd-card h2 { color: var(--pd-ink); font-size: 14px; font-weight: 650; line-height: 1.35; }
.pd-card-heading p { margin-top: 5px; font-size: 12px; color: var(--pd-muted); }
.pd-text-link { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 12px; font-weight: 600; }
.pd-text-link svg { width: 14px; height: 14px; }
.pd-chart-tabs { display: flex; padding: 3px; gap: 3px; background: #f5f7f6; border: 1px solid #edf0ed; border-radius: 7px; }
.pd-chart-tabs button { font-size: 11px; border: 0; background: transparent; padding: 5px 9px; border-radius: 4px; color: var(--pd-muted); }
.pd-chart-tabs .is-active { background: #fff; color: #087f5b; box-shadow: 0 1px 4px #1d2c2714; font-weight: 650; }
.pd-chart { min-height: 240px; position: relative; }
.pd-chart > svg { display: block; width: 100%; height: 250px; overflow: visible; }
.pd-chart text { fill: #63746d; font: 10px Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.pd-chart .pd-zero-note { position: absolute; inset: 50% 0 auto; text-align: center; color: var(--pd-muted); font-size: 12px; }
.pd-chart-footnote { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; color: #63746d; font-size: 11px; }
.pd-chart-data { border-top: 1px solid #edf1ee; margin-top: 14px; padding-top: 10px; font-size: 11px; color: var(--pd-muted); }
.pd-chart-data summary { cursor: pointer; width: fit-content; }
.pd-table-scroll { max-height: 230px; overflow: auto; }
.pd-chart-data table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.pd-chart-data th, .pd-chart-data td { padding: 6px 10px; border-bottom: 1px solid var(--pd-line); text-align: left; }
.pd-enquiry-total { display: flex; gap: 10px; align-items: baseline; margin: 8px 0 22px; }
.pd-enquiry-total strong { font-size: 30px; line-height: 1; letter-spacing: -.7px; font-weight: 650; }
.pd-enquiry-total span { font-size: 12px; color: var(--pd-muted); }
.pd-enquiry-bars { display: grid; gap: 14px; }
.pd-bar-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px; font-size: 12px; }
.pd-bar-label span { color: #66786d; }
.pd-bar-track { height: 7px; background: #f0f4f1; border-radius: 4px; overflow: hidden; }
.pd-bar-track > span { display: block; height: 100%; background: #218b68; border-radius: inherit; }
.pd-bar-unread > span { background: #d2a443; }
.pd-small-note { color: var(--pd-muted); font-size: 11px; line-height: 1.6; margin-top: 14px !important; }
.pd-next-action { margin-top: 23px; padding-top: 18px; border-top: 1px solid var(--pd-line); }
.pd-next-action h3 { margin-top: 5px; font-size: 13px; color: var(--pd-ink); font-weight: 600; }
.pd-next-action p { color: var(--pd-muted); font-size: 12px; margin: 6px 0 12px; }
.pd-next-action a { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.pd-next-action svg { width: 14px; }
.pd-enquiry-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: start; gap: 11px; padding: 15px 0; border-top: 1px solid #edf1ee; }
.pd-enquiry-row:first-child { padding-top: 0; border-top: 0; }
.pd-enquiry-row:last-child { padding-bottom: 0; }
.pd-enquiry-avatar { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; background: #eef3f0; border: 1px solid #e4ebe6; border-radius: 50%; font-size: 11px; font-weight: 600; color: #496d57; }
.pd-enquiry-row h3 { font-size: 12px; line-height: 1.4; font-weight: 600; }
.pd-enquiry-row h3 a { color: var(--pd-ink); }
.pd-enquiry-row p { margin-top: 4px; font-size: 12px; color: var(--pd-muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.pd-enquiry-meta { text-align: right; display: grid; gap: 5px; justify-items: end; font-size: 11px; color: var(--pd-muted); }
.pd-read-badge { display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 5px; font-size: 11px; color: #586a5e; background: #f2f5f3; }
.pd-read-badge.is-unread { background: #fff4dc; color: #906b1a; }
.pd-completion-value { color: var(--pd-green); font-size: 21px; font-weight: 650; }
.pd-progress { display: block; width: 100%; height: 7px; border: 0; border-radius: 6px; overflow: hidden; background: #edf2ee; accent-color: #087f5b; }
.pd-progress::-webkit-progress-bar { background: #edf2ee; border-radius: 6px; }
.pd-progress::-webkit-progress-value { background: #087f5b; border-radius: 6px; }
.pd-progress::-moz-progress-bar { background: #087f5b; border-radius: 6px; }
.pd-checklist { margin: 16px 0 18px; display: grid; gap: 9px; }
.pd-check { display: flex; align-items: center; gap: 9px; color: #52685b; font-size: 12px; }
.pd-check-mark { width: 17px; height: 17px; flex-shrink: 0; border: 1px solid #d6e1d9; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #63746d; font-size: 11px; }
.pd-check.is-complete .pd-check-mark { background: #e6f5ec; border-color: #e6f5ec; color: #087f5b; }
.pd-full-width { width: 100%; }
.pd-verification-card { grid-column: 1 / -1; }
.pd-verification-card > .company-verification { margin: 0; padding: 21px 24px; border: 1px solid #d3e5d9; border-radius: 12px; background: #f0f8f3; }
.pd-verification-card .company-verification-heading h2 { font-size: 14px; }
.pd-verification-card .company-verification-heading p { font-size: 12px; max-width: 750px; }
.pd-verification-card .company-verification-button { padding: 8px 12px; border-radius: 7px; font-size: 12px; }
.pd-verification-card .company-verification-date, .pd-verification-card .company-verification-feedback { font-size: 12px; }
.pd-verification-card .company-verification-dialog .company-verification-button { font-size: 14px; padding: 10px 16px; }
.pd-portfolio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pd-portfolio-item { min-width: 0; overflow: hidden; border: 1px solid var(--pd-line); border-radius: 9px; }
.pd-portfolio-image { height: 126px; background: #f2f5f3; display: flex; align-items: center; justify-content: center; color: #83968a; font-size: 12px; }
.pd-portfolio-image img { width: 100%; height: 100%; object-fit: cover; }
.pd-portfolio-info { padding: 12px; }
.pd-portfolio-info h3 { color: #344b3e; font-size: 12px; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pd-portfolio-info p { font-size: 11px; color: var(--pd-muted); margin-top: 4px; }
.pd-opportunity { padding: 13px 0; border-top: 1px solid var(--pd-line); }
.pd-opportunity:first-child { padding-top: 0; border-top: 0; }
.pd-opportunity h3 { font-size: 12px; font-weight: 600; line-height: 1.5; }
.pd-opportunity h3 a { color: #344b3e; }
.pd-opportunity p { font-size: 11px; color: var(--pd-muted); margin-top: 3px; }
.pd-opportunities + a { margin-top: 15px; }
.pd-empty { grid-column: 1 / -1; padding: 32px 16px; border: 1px dashed #dfe7e1; border-radius: 9px; text-align: center; background: #fbfcfb; }
.pd-empty strong { display: block; color: #496050; font-size: 13px; font-weight: 600; }
.pd-empty p { color: var(--pd-muted); font-size: 12px; margin-top: 6px; }
.pd-empty a { display: inline-flex; margin-top: 12px; font-size: 12px; font-weight: 600; }
.pd-loading { padding: 44px 10px; color: var(--pd-muted); text-align: center; font-size: 12px; grid-column: 1 / -1; }
.pd-error { padding: 12px 16px; margin-bottom: 16px; border: 1px solid #f1d1c2; border-radius: 8px; background: #fff6f0; color: #92492d; font-size: 12px; }
.pd-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin: 24px 0; padding: 19px 22px; border: 1px solid var(--pd-line); background: #fff; border-radius: 10px; }
.pd-tools > div:first-child { display: grid; gap: 3px; }
.pd-tools strong { font-size: 12px; font-weight: 600; }
.pd-tools span { color: var(--pd-muted); font-size: 11px; }
.pd-tool-links { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.pd-tool-links a, .pd-tool-links button { border: 0; background: transparent; padding: 0; color: #496a55; font-size: 11px; text-decoration: none; }
.pd-tool-links a:hover, .pd-tool-links button:hover { text-decoration: underline; }
.pd-footer { display: flex; justify-content: space-between; padding: 0 0 6px; color: #63746d; font-size: 11px; }
.pd-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.company-overview .company-password-modal { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 20px; background: #10261c99; }
.company-overview .company-password-modal[hidden] { display: none; }
.company-overview.company-password-modal-open { overflow: hidden; }
.company-overview .company-password-modal-dialog { width: min(100%, 520px); max-height: calc(100dvh - 40px); overflow: auto; background: #fff; border-radius: 16px; }
.company-overview .company-password-modal-header { display: flex; justify-content: space-between; padding: 24px 24px 0; gap: 16px; }
.company-overview .company-password-modal-header h3 { font-size: 20px; }
.company-overview .company-password-modal-header p { font-size: 13px; color: #63746d; }
.company-overview .company-password-modal-close { height: 32px; width: 32px; flex-shrink: 0; background: #f1f5f2; border: 0; border-radius: 50%; font-size: 21px; }
.company-overview .company-password-modal-body { padding: 20px 24px 24px; }
.company-overview .company-password-modal-grid { display: grid; gap: 16px; }
.company-overview .company-onboarding-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.company-overview .company-onboarding-password-row { position: relative; }
.company-overview .company-onboarding-input { width: 100%; padding: 11px 72px 11px 12px; border: 1px solid #d3dfd7; border-radius: 8px; font-size: 14px; }
.company-overview .company-onboarding-password-toggle { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); background: transparent; border: 0; color: #087f5b; font-size: 12px; }
.company-overview .company-password-modal-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.company-overview .company-password-modal-btn { padding: 9px 14px; border: 1px solid #d3dfd7; border-radius: 8px; font-size: 13px; background: #fff; }
.company-overview .company-password-modal-btn.save { color: #fff; background: #087f5b; border-color: #087f5b; }
.company-overview .company-onboarding-status:empty { display: none; }
.company-overview .company-onboarding-status { padding: 12px; font-size: 13px; margin-bottom: 12px; border-radius: 8px; }
.company-overview .company-onboarding-status.success { background: #eaf7ef; color: #087f5b; }
.company-overview .company-onboarding-status.error { background: #fff0e9; color: #9d4525; }
@media (min-width: 1700px) { .pd-main { padding-inline: 50px; } }
@media (max-width: 1250px) {
  .pd-main { padding-inline: 24px; }
  .pd-page-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .pd-metrics { gap: 12px; }
  .pd-metric { padding: 15px; }
  .pd-metric-label { font-size: 12px; }
  .pd-content-grid { gap: 18px; }
  .pd-activity-card, .pd-enquiries-card, .pd-portfolio-card { grid-column: span 7; }
  .pd-response-card, .pd-profile-card, .pd-opportunities-card { grid-column: span 5; }
  .pd-portfolio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-card-heading { flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 991px) {
  .pd-main { margin-left: 0; padding-inline: 24px; }
  .pd-topline { min-height: 52px; }
  .pd-page-heading { flex-direction: row; align-items: center; padding: 24px 0; }
  .pd-page-heading > div > p:last-child { max-width: 360px; }
  .pd-heading-actions { flex-direction: column; gap: 7px; }
}
@media (max-width: 720px) {
  .pd-main { padding-inline: 16px; }
  .pd-page-heading { flex-direction: column; align-items: flex-start; }
  .pd-heading-actions { flex-direction: row; }
  .pd-page-heading > div > p:last-child { max-width: none; }
  .pd-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-content-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pd-content-grid > * { grid-column: 1; }
  .pd-card { padding: 20px; }
  .pd-card-heading { flex-wrap: nowrap; }
  .pd-chart { min-height: 210px; }
  .pd-chart > svg { height: 220px; }
  .pd-toolbar { align-items: flex-start; }
  .pd-toolbar > div { display: grid; gap: 3px; }
  .pd-range-label { font-size: 0; gap: 0; }
  .pd-range-label select { font-size: 12px; }
  .pd-sync > span { max-width: 140px; font-size: 11px; text-align: right; }
  .pd-verification-card > .company-verification { padding: 20px; }
  .pd-portfolio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-tool-links { gap: 16px 20px; }
  .pd-tool-links a, .pd-tool-links button { padding-block: 5px; font-size: 12px; }
}
@media (max-width: 390px) {
  .pd-breadcrumb { font-size: 11px; }
  .pd-breadcrumb span { margin-inline: 6px; }
  .pd-sync > span { max-width: 100px; }
  .pd-metric { padding: 13px; }
  .pd-metric-label { font-size: 11px; }
  .pd-metric-icon { width: 26px; height: 26px; }
  .pd-card-heading { flex-wrap: wrap; }
  .pd-portfolio { grid-template-columns: 1fr; }
  .pd-enquiry-row { grid-template-columns: 28px minmax(0, 1fr); }
  .pd-enquiry-meta { grid-column: 2; grid-template-columns: auto auto; justify-content: start; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .company-overview * { scroll-behavior: auto !important; transition: none !important; } }
