/* CM Partner Dashboard: front end (Climate Marketplace colours) */
.cmpd-dash { --cmpd-green: #005F5F; --cmpd-light: #78BA3A; --cmpd-panel: #EEF2F6; --cmpd-line: #DBE0E7; --cmpd-text: #0D1F17; --cmpd-head: #2D2D2D; --cmpd-muted: #5F5F5F; color: var(--cmpd-text); background: #FFFFFF; }
.cmpd-dash *, .cmpd-dash *::before, .cmpd-dash *::after { box-sizing: border-box; }
/* Use the full content width on the dashboard page (the default page template centres a narrow column). */
.cmpd-dashboard-page .col-md-8.col-md-offset-2, .col-md-8.col-md-offset-2:has(> .entry > .cmpd-dash) { width: 100%; max-width: 100%; flex: 0 0 100%; margin-left: 0; }
.cmpd-dash { border-radius: 16px; }
.cmpd-dash > .cmpd-example { border-radius: 16px 16px 0 0; }
.cmpd-wrap { max-width: 1080px; margin: 0 auto; padding: 32px 20px 64px; display: flex; flex-direction: column; gap: 36px; }
.cmpd-dash h1, .cmpd-dash h2 { color: var(--cmpd-head); font-weight: 600; margin: 0; line-height: 1.2; }
.cmpd-dash h2 { font-size: 24px; }
.cmpd-dash a { color: var(--cmpd-green); }
.cmpd-dash p { margin: 0; }
.cmpd-muted { color: var(--cmpd-muted); }
.cmpd-small { font-size: 14px; line-height: 1.55; }
.cmpd-nowrap { white-space: nowrap; }

.cmpd-example { background: #2D2D2D; color: #FFFFFF; padding: 12px 20px; display: flex; gap: 10px; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.cmpd-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cmpd-light); display: inline-block; flex-shrink: 0; }
.cmpd-preview { background: #FFF8E5; border: 1px solid #F0D58A; border-radius: 10px; padding: 10px 14px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cmpd-preview select { min-height: 36px; }

.cmpd-header { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--cmpd-line); padding-bottom: 28px; }
.cmpd-id { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.cmpd-logo { width: 88px; height: 88px; border-radius: 12px; background: var(--cmpd-panel); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.cmpd-logo img { max-width: 80%; max-height: 80%; width: auto; height: auto; object-fit: contain; }
.cmpd-logo--initials { font-weight: 700; font-size: 28px; color: var(--cmpd-green); }
.cmpd-kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cmpd-green); }
.cmpd-name { font-size: 34px; margin: 6px 0; }
.cmpd-status { background: var(--cmpd-panel); border-radius: 12px; padding: 18px 22px; display: flex; flex-direction: column; gap: 10px; min-width: 260px; font-size: 15px; }
.cmpd-status__row { display: flex; justify-content: space-between; gap: 16px; }
.cmpd-status__row span { color: var(--cmpd-muted); }
.cmpd-bar { height: 8px; background: #FFFFFF; border-radius: 4px; overflow: hidden; }
.cmpd-bar span { display: block; height: 100%; background: var(--cmpd-green); }
.cmpd-bar--plan { height: 10px; background: var(--cmpd-line); border-radius: 5px; }

.cmpd-intro { font-size: 17px; line-height: 1.6; max-width: 760px; }
.cmpd-section { display: flex; flex-direction: column; gap: 16px; }
.cmpd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.cmpd-hero { grid-column: 1 / -1; background: var(--cmpd-green); color: #FFFFFF; border-radius: 14px; padding: 28px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end; }
.cmpd-hero__label { font-size: 15px; font-weight: 600; }
.cmpd-hero__num { font-size: 64px; font-weight: 700; line-height: 1; margin-top: 6px; }
.cmpd-hero__side { text-align: right; font-size: 15px; }
.cmpd-hero__small { font-size: 30px; font-weight: 700; }
.cmpd-card { background: var(--cmpd-panel); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.cmpd-card--plain { background: #FFFFFF; border: 1px solid var(--cmpd-line); gap: 14px; font-size: 15px; line-height: 1.6; }
.cmpd-card__label { font-size: 14px; font-weight: 600; }
.cmpd-card__num { font-size: 40px; font-weight: 700; line-height: 1.1; }
.cmpd-card .cmpd-muted { font-size: 14px; }

.cmpd-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.cmpd-chart { margin: 0; border: 1px solid var(--cmpd-line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.cmpd-chart figcaption { font-size: 15px; font-weight: 600; }
.cmpd-svg { width: 100%; height: auto; font-family: inherit; }
.cmpd-legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--cmpd-muted); }
.cmpd-legend span { display: flex; gap: 6px; align-items: center; }
.cmpd-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

.cmpd-reach { background: var(--cmpd-panel); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.cmpd-reach h2 { font-size: 20px; }
.cmpd-reach__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; font-size: 15px; }
.cmpd-reach__num { font-size: 26px; font-weight: 700; }

.cmpd-table-wrap { overflow-x: auto; border: 1px solid var(--cmpd-line); border-radius: 14px; }
.cmpd-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; margin: 0; }
.cmpd-table th { background: var(--cmpd-panel); text-align: left; padding: 12px 16px; font-weight: 700; border: 0; }
.cmpd-table td { padding: 12px 16px; border: 0; border-top: 1px solid var(--cmpd-line); vertical-align: top; }

.cmpd-plan { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.cmpd-plan__item { border: 1px solid var(--cmpd-line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.cmpd-plan__title { font-weight: 700; }
.cmpd-segs { display: flex; gap: 6px; }
.cmpd-segs span { flex: 1; height: 10px; border-radius: 5px; background: var(--cmpd-line); }
.cmpd-segs span.is-done { background: var(--cmpd-green); }

.cmpd-list { border: 1px solid var(--cmpd-line); border-radius: 14px; overflow: hidden; }
.cmpd-list__head { background: var(--cmpd-panel); padding: 12px 16px; font-weight: 700; font-size: 15px; }
.cmpd-list ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.cmpd-list li { padding: 12px 16px; display: flex; gap: 16px; border-top: 1px solid var(--cmpd-line); margin: 0; }
.cmpd-list__date { width: 120px; flex-shrink: 0; color: var(--cmpd-muted); }

.cmpd-reports { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.cmpd-reports .cmpd-card { gap: 10px; }
.cmpd-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cmpd-btn, .cmpd-dash a.cmpd-btn { background: var(--cmpd-green); color: #FFFFFF; border: 2px solid var(--cmpd-green); text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; padding: 11px 22px; border-radius: 12px 0; min-height: 44px; display: inline-flex; align-items: center; align-self: flex-start; }
.cmpd-btn:hover, .cmpd-dash a.cmpd-btn:hover { background: #004747; border-color: #004747; color: #FFFFFF; }
.cmpd-btn--ghost, .cmpd-dash a.cmpd-btn--ghost { background: transparent; color: var(--cmpd-green); text-transform: none; letter-spacing: 0; }
.cmpd-btn--ghost:hover, .cmpd-dash a.cmpd-btn--ghost:hover { background: var(--cmpd-panel); color: var(--cmpd-green); }

.cmpd-empty { border: 2px dashed var(--cmpd-line); border-radius: 14px; padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cmpd-empty h2 { font-size: 22px; line-height: 1.3; }
.cmpd-empty p { font-size: 15px; line-height: 1.6; }

@media (max-width: 600px) {
	.cmpd-wrap { padding: 24px 16px 48px; gap: 28px; }
	.cmpd-name { font-size: 26px; }
	.cmpd-logo { width: 60px; height: 60px; }
	.cmpd-hero__num { font-size: 48px; }
	.cmpd-hero__side { text-align: left; }
	.cmpd-status { min-width: 0; width: 100%; }
	.cmpd-list li { flex-direction: column; gap: 2px; }
	.cmpd-actions .cmpd-btn { width: 100%; justify-content: center; }
}

/* Founder perk card (Resources section): styled by the theme's .cm-resource-card */
.cmpd-perk .cm-resource-card__title a { color: inherit; text-decoration: none; }
.cmpd-perk .cm-resource-card__title a:hover { text-decoration: underline; }

/* Paid partners (Partners page) */
.cmpd-paid__heading { margin: 0 0 24px; }
.cmpd-paid__logo { width: 72px; height: 72px; border-radius: 10px; background: #EEF2F6; display: flex; align-items: center; justify-content: center; overflow: hidden; font-weight: 700; color: #005F5F; margin-bottom: 12px; }
.cmpd-paid__logo img { max-width: 85%; max-height: 85%; width: auto; height: auto; object-fit: contain; }
