/* CMA Directory Pages. Three type sizes only: h1, section headings, body. */
.cma-dp {
	--cma-accent: #1a6fbb;
	--cma-line: rgba(0, 0, 0, .12);
	--cma-muted: rgba(0, 0, 0, .62);
	max-width: 1100px;
	margin: 0 auto;
	padding: 24px 16px 48px;
	font-size: 1rem;
	line-height: 1.6;
}
.cma-dp * { box-sizing: border-box; }
.cma-dp h1 { font-size: 2rem !important; line-height: 1.2; margin: .25em 0 .35em; }
.cma-dp h2, .cma-dp h3 { font-size: 1.25rem !important; line-height: 1.3; margin: 1.5em 0 .5em; }
.cma-dp h3 { margin: 0 0 .15em; }
.cma-dp p, .cma-dp li, .cma-dp address, .cma-dp input, .cma-dp button, .cma-dp label { font-size: 1rem; }
.cma-dp a { color: var(--cma-accent); }
.cma-dp-muted { color: var(--cma-muted); margin: 0; }
.cma-dp-preview { background: #fff4d6; border: 1px solid #e8c766; padding: 8px 12px; border-radius: 6px; }

/* Breadcrumbs */
.cma-dp-crumbs ol { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.cma-dp-crumbs li + li::before { content: "›"; margin-right: 4px; color: var(--cma-muted); }

/* Buttons and action rows */
.cma-dp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 12px 0 0; }
.cma-dp-btn, .cma-dp button.cma-dp-btn {
	display: inline-block; background: var(--cma-accent) !important; color: #fff !important; border: 0;
	padding: 10px 18px; border-radius: 6px; text-decoration: none; font-weight: 600; cursor: pointer;
}
.cma-dp-btn:hover, .cma-dp-btn:focus-visible { filter: brightness(1.1); }

/* Profile */
.cma-dp-profile-head { display: flex; gap: 24px; align-items: flex-start; }
.cma-dp-photo { width: 160px; height: 160px; object-fit: cover; border-radius: 8px; flex: none; }
.cma-dp-licensed { font-weight: 600; color: var(--cma-accent); margin: 0 0 4px; }
.cma-dp-profile-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; margin-top: 8px; }
.cma-dp-contact { border: 1px solid var(--cma-line); border-radius: 8px; padding: 16px 20px; align-self: start; margin-top: 24px; }
.cma-dp-contact h2 { margin-top: 0; }
.cma-dp-contact address { font-style: normal; margin-bottom: 12px; }
.cma-dp-contact p { margin: 0 0 8px; overflow-wrap: anywhere; }
.cma-dp-bio { overflow-wrap: anywhere; }
.cma-dp-more { margin-top: 32px; }

.cma-dp-regions, .cma-dp-cities ul { list-style: none; margin: 0; padding: 0; columns: 3 220px; column-gap: 24px; }
.cma-dp-regions li, .cma-dp-cities li { break-inside: avoid; padding: 2px 0; }

@media (max-width: 720px) {
	.cma-dp h1 { font-size: 1.6rem !important; }
	.cma-dp-profile-head { flex-direction: column; }
	.cma-dp-profile-grid { grid-template-columns: 1fr; gap: 0; }
	.cma-dp-photo { width: 120px; height: 120px; }
}

/* Badges: icon + label, small pills */
.cma-dp-badges { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cma-dp-badges li { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 2px 10px 2px 4px; border: 1px solid var(--cma-line); border-radius: 999px; background: #fff; line-height: 1.4; }
.cma-dp-badges li:not(:has(img)) { padding-left: 10px; }
.cma-dp-badges img { width: 20px; height: 20px; object-fit: contain; flex: none; }

/* Result cards: compact */
.cma-dp-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 12px; }
.cma-dp-list[hidden] { display: none; }
.cma-dp-card { display: flex; gap: 14px; border: 1px solid var(--cma-line); border-radius: 10px; padding: 14px; background: #fff; }
.cma-dp-card[hidden] { display: none; }
.cma-dp-card-photo { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex: none; background: color-mix(in srgb, var(--cma-accent) 12%, #fff); display: flex; align-items: center; justify-content: center; color: var(--cma-accent); font-weight: 700; }
.cma-dp-card-photo { position: relative; }
.cma-dp-card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cma-dp-card-body { min-width: 0; flex: 1; }
.cma-dp-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.cma-dp .cma-dp-card h3 { font-size: 1rem !important; font-weight: 700; margin: 0; line-height: 1.35; }
.cma-dp-card h3 a { text-decoration: none; }
.cma-dp-card h3 a:hover { text-decoration: underline; }
.cma-dp-dist { flex: none; white-space: nowrap; font-weight: 700; color: var(--cma-accent); }
.cma-dp-meta { margin: 2px 0 0; color: var(--cma-muted); }
.cma-dp-card .cma-dp-actions { margin: 10px 0 0; gap: 6px; }
.cma-dp-act { display: inline-block; padding: 3px 12px; border: 1px solid var(--cma-line); border-radius: 6px; text-decoration: none; white-space: nowrap; }
.cma-dp-act:hover, .cma-dp-act:focus-visible { border-color: var(--cma-accent); }
.cma-dp-act-call { font-weight: 700; }
.cma-dp a.cma-dp-act-primary { background: var(--cma-accent); border-color: var(--cma-accent); color: #fff; }

/* Browse lists */
.cma-dp-regions, .cma-dp-cities ul { list-style: none; margin: 0; padding: 0; columns: 3 220px; column-gap: 24px; }
.cma-dp-regions li, .cma-dp-cities li { break-inside: avoid; padding: 2px 0; margin: 0; }

/* Directory search page */
.cma-dp-directory { padding: 0; max-width: none; }
.cma-dp-search { background: color-mix(in srgb, var(--cma-accent) 5%, #fff); border: 1px solid var(--cma-line); border-radius: 12px; padding: 24px 20px; margin: 16px 0 8px; text-align: center; }
.cma-dp .cma-dp-search h2.cma-dp-search-title { font-size: 1.25rem !important; margin: 0 0 12px; }
.cma-dp-search label { display: block; margin: 0 0 4px; font-weight: 400; }
.cma-dp-geo-row { margin: 0 0 14px; }
.cma-dp-geo-msg { display: block; margin-top: 6px; }
.cma-dp .cma-dp-search button.cma-dp-btn-outline { background: transparent !important; color: var(--cma-accent) !important; border: 2px solid var(--cma-accent) !important; border-radius: 999px; padding: 8px 20px; }
.cma-dp-field { max-width: 520px; margin: 0 auto 12px; }
.cma-dp .cma-dp-search input[type="search"], .cma-dp .cma-dp-search input[type="text"], .cma-dp .cma-dp-search select {
	display: block; width: 100%; max-width: 100%; height: auto; margin: 0; padding: 9px 12px; border: 1px solid rgba(0, 0, 0, .25); border-radius: 6px; background: #fff; box-shadow: none; font-size: 1rem; line-height: 1.4; color: inherit;
}
.cma-dp .cma-dp-search input[name="zip"] { max-width: 200px; margin: 0 auto; }
.cma-dp-search-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 520px; margin: 0 auto 14px; }
.cma-dp-submit { margin: 0 0 18px; }
.cma-dp .cma-dp-submit .cma-dp-btn { min-width: 220px; border-radius: 999px; }

/* Badge chips in the form (theme-proof: every label/input rule is reset here) */
.cma-dp .cma-dp-chips { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cma-dp .cma-dp-chips legend { display: block; width: 100%; float: none; text-align: center; font-weight: 700; font-size: 1rem; padding: 0; margin: 0 0 8px; }
.cma-dp .cma-dp-search label.cma-dp-chip { position: relative; display: inline-flex; flex-direction: row; align-items: center; gap: 8px; width: auto; margin: 0; padding: 6px 14px 6px 8px; border: 1px solid rgba(0, 0, 0, .18); border-radius: 999px; background: #fff; cursor: pointer; white-space: nowrap; word-break: normal; line-height: 1.3; font-weight: 400; }
.cma-dp label.cma-dp-chip img { width: 24px; height: 24px; object-fit: contain; flex: none; margin: 0; }
.cma-dp label.cma-dp-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.cma-dp label.cma-dp-chip:hover { border-color: var(--cma-accent); }
.cma-dp label.cma-dp-chip:has(input:checked) { background: var(--cma-accent); border-color: var(--cma-accent); color: #fff; }
.cma-dp label.cma-dp-chip:has(input:checked) img { background: #fff; border-radius: 50%; }
.cma-dp label.cma-dp-chip:has(input:focus-visible) { outline: 2px solid var(--cma-accent); outline-offset: 2px; }
.cma-dp-more-filters { margin: 8px 0 0; }
.cma-dp-more-filters summary { cursor: pointer; color: var(--cma-accent); display: inline-block; }
.cma-dp .cma-dp-checks { border: 0; padding: 0; margin: 10px 0 0; min-width: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.cma-dp .cma-dp-search .cma-dp-checks label { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; width: auto; margin: 0; white-space: nowrap; word-break: normal; }
.cma-dp .cma-dp-checks input[type="checkbox"] { width: auto; height: auto; margin: 0; flex: none; }

/* Results header + list/map toggle */
.cma-dp-results-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0 12px; }
.cma-dp .cma-dp-results-head h2 { margin: 0; }
.cma-dp-view { display: inline-flex; border: 1px solid var(--cma-accent); border-radius: 999px; overflow: hidden; }
.cma-dp .cma-dp-view-btn { background: #fff !important; color: var(--cma-accent) !important; border: 0; margin: 0; padding: 6px 18px; cursor: pointer; font-weight: 700; border-radius: 0; }
.cma-dp .cma-dp-view-btn[aria-pressed="true"] { background: var(--cma-accent) !important; color: #fff !important; }
.cma-dp-map[hidden] { display: none; }
.cma-dp-map-canvas { height: 520px; border: 1px solid var(--cma-line); border-radius: 10px; }
.cma-dp-map-note { margin-top: 6px; }
.cma-dp-paging { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 20px 0; }
.cma-dp-paging strong, .cma-dp-paging a { padding: 0 2px; }

/* Profile pop-up panel */
.cma-dp-noscroll, .cma-dp-noscroll body { overflow: hidden; }
.cma-dp-panel[hidden] { display: none; }
.cma-dp-panel { position: fixed; inset: 0; z-index: 100000; }
.cma-dp-panel-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.cma-dp-panel-sheet { position: absolute; top: 0; right: 0; bottom: 0; width: min(760px, 100%); background: #fff; box-shadow: -8px 0 30px rgba(0, 0, 0, .2); display: flex; flex-direction: column; outline: none; text-align: left; }
.cma-dp-panel-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--cma-line); }
.cma-dp .cma-dp-panel-close { background: transparent !important; color: inherit !important; border: 0; font-size: 2rem; line-height: 1; padding: 0 6px; cursor: pointer; color: inherit; }
.cma-dp-panel-body { overflow-y: auto; padding: 20px 24px 40px; }
.cma-dp-panel-body .cma-dp-profile-grid { grid-template-columns: 1fr; gap: 0; }
.cma-dp-panel-body .cma-dp-photo { width: 96px; height: 96px; border-radius: 50%; }
.cma-dp-panel-body .cma-dp-profile h2 { margin-top: 1.2em; }
.cma-dp-panel-body .cma-dp-list { grid-template-columns: 1fr; }
.cma-dp-panel-body .cma-dp-profile-head { flex-wrap: wrap; }

@media (max-width: 600px) {
	.cma-dp-list { grid-template-columns: 1fr; }
	.cma-dp-search-row { grid-template-columns: 1fr; }
	.cma-dp-map-canvas { height: 420px; }
	.cma-dp-panel-sheet { width: 100%; }
	.cma-dp-panel-body { padding: 16px; }
}

/* Badge filter on state/city list pages */
.cma-dp-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; }
.cma-dp button.cma-dp-chip { background: #fff; border: 1px solid var(--cma-line); border-radius: 999px; padding: 4px 12px; cursor: pointer; color: inherit; }
.cma-dp button.cma-dp-chip[aria-pressed="true"] { background: var(--cma-accent); border-color: var(--cma-accent); color: #fff; }
.cma-dp-map-pop-place { color: var(--cma-muted); margin-bottom: 4px; }
.cma-dp-map-pop ul { list-style: none; margin: 0; padding: 0; }
.cma-dp-map-pop li { margin: 2px 0; }
.cma-dp .leaflet-tooltip.cma-dp-map-count { background: transparent; border: 0; box-shadow: none; color: #fff; font-weight: 700; padding: 0; }
.cma-dp .leaflet-tooltip.cma-dp-map-count::before { display: none; }

/* Card v2: trust line, credential tags, collapsible services */
.cma-dp-card { transition: box-shadow .15s, border-color .15s; }
.cma-dp-card:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, .08); border-color: color-mix(in srgb, var(--cma-accent) 35%, transparent); }
.cma-dp-dist { background: color-mix(in srgb, var(--cma-accent) 10%, #fff); padding: 1px 10px; border-radius: 999px; }
.cma-dp-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 4px 0 0; }
.cma-dp-since { display: inline-flex; align-items: center; gap: 4px; color: var(--cma-accent); font-weight: 500; -webkit-font-smoothing: antialiased; }
.cma-dp-cred { display: inline-block; padding: 0 8px; border-radius: 4px; background: #9c3535; color: #fff; font-weight: 500; -webkit-font-smoothing: antialiased; }
.cma-dp-more-badges { margin-top: 6px; }
.cma-dp-more-badges summary { cursor: pointer; color: var(--cma-accent); display: inline-block; padding: 2px 10px; border: 1px dashed var(--cma-line); border-radius: 999px; list-style: none; }
.cma-dp-more-badges summary::-webkit-details-marker { display: none; }
.cma-dp-more-badges[open] summary { display: none; }
.cma-dp-card .cma-dp-badges { margin-top: 6px; }

/* Card layout: details on top, bio preview in the middle, actions pinned to the bottom */
.cma-dp-card { align-items: stretch; }
.cma-dp-card-body { display: flex; flex-direction: column; }
.cma-dp-bio-preview { margin: 8px 0 0; color: var(--cma-muted); }
.cma-dp-learn { font-weight: 700; white-space: nowrap; }
.cma-dp .cma-dp-card .cma-dp-actions { margin-top: auto; padding-top: 12px; }
.cma-dp-card .cma-dp-badges + .cma-dp-bio-preview, .cma-dp-more-badges + .cma-dp-bio-preview { margin-top: 10px; }
.cma-dp .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Compact service tags: one line each, long names shortened with … (full name on hover) */
.cma-dp-card .cma-dp-badges { gap: 4px 6px; margin-top: 6px; }
.cma-dp-card .cma-dp-badges li { padding: 0 10px 0 3px; max-width: 100%; min-width: 0; line-height: 1.6; }
.cma-dp-card .cma-dp-badges li:not(:has(img)) { padding-left: 10px; }
.cma-dp-card .cma-dp-badges li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cma-dp-card .cma-dp-badges img { width: 18px; height: 18px; }
.cma-dp-card .cma-dp-more-badges { margin-top: 4px; }
.cma-dp-card .cma-dp-more-badges summary { padding: 0 10px; line-height: 1.6; }

/* Same size for every card on the page; bio limited to 3 lines; "+N more" opens over the card */
.cma-dp-list { grid-auto-rows: auto; align-items: stretch; } /* cards in the same row match; rows size to their content */
.cma-dp-bio-preview { margin: 8px 0 0; }
.cma-dp .cma-dp-bio-text { margin: 0; color: var(--cma-muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.cma-dp-card { position: relative; }
.cma-dp-card .cma-dp-more-badges[open] { position: relative; z-index: 3; }
.cma-dp-card .cma-dp-more-badges[open] .cma-dp-badges { position: absolute; left: 0; top: 0; width: max-content; max-width: min(420px, 80vw); background: #fff; border: 1px solid var(--cma-line); border-radius: 10px; padding: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, .15); margin: 0; }
.cma-dp-card .cma-dp-more-badges[open] summary { display: inline-block; visibility: hidden; }
.cma-dp-panel-body .cma-dp-list { grid-auto-rows: auto; }

/* Social links on profiles */
.cma-dp-socials { display: flex; flex-wrap: wrap; gap: 6px; }


/* Social icons (cards and profiles) */
.cma-dp a.cma-dp-social { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--cma-line); border-radius: 50%; text-decoration: none; color: var(--cma-accent); font-weight: 700; line-height: 1; flex: none; }
.cma-dp a.cma-dp-social:hover, .cma-dp a.cma-dp-social:focus-visible { border-color: var(--cma-accent); background: color-mix(in srgb, var(--cma-accent) 8%, #fff); }
.cma-dp-social-ico { width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.cma-dp a.cma-dp-social-text { width: auto; min-width: 32px; padding: 0 8px; border-radius: 999px; }

/* ---------- Member "Update Profile" page ---------- */
.cma-pf { max-width: 860px; padding-top: 8px; }
.cma-pf .cma-pf-card { background: #fff; border: 1px solid var(--cma-line); border-radius: 14px; padding: 22px 24px; margin: 0 0 18px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.cma-pf .cma-pf-card h2 { margin: 0 0 6px; display: flex; align-items: center; gap: 8px; color: var(--cma-accent); }
.cma-pf .cma-pf-muted { color: var(--cma-muted); font-size: .875rem; margin: 4px 0 12px; }
.cma-pf .cma-pf-strong { font-weight: 700; margin: 0 0 6px; }
.cma-pf-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.cma-pf-top .cma-pf-card { margin: 0 0 18px; }
@media (max-width: 720px) { .cma-pf-top { grid-template-columns: 1fr; } .cma-pf-top .cma-pf-card { margin: 0; } .cma-pf-top { margin-bottom: 18px; } }
.cma-pf-meter { display: flex; align-items: center; gap: 14px; margin: 10px 0 4px; }
.cma-pf-meter > div { flex: 1; }
.cma-pf-grade { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.25rem; font-weight: 700; color: #fff; background: #9c3535; }
.cma-pf-grade-a { background: #1a7f37; } .cma-pf-grade-b { background: #1a6fbb; } .cma-pf-grade-c { background: #b26a00; }
.cma-pf-bar { height: 8px; border-radius: 99px; background: rgba(0, 0, 0, .08); overflow: hidden; }
.cma-pf-bar span { display: block; height: 100%; background: var(--cma-accent); border-radius: 99px; }
.cma-pf .cma-pf-links { margin: 8px 0 0; }
.cma-pf .cma-pf-links a { color: var(--cma-accent); font-weight: 600; }
.cma-pf-billing { background: linear-gradient(160deg, #fff 55%, rgba(0, 0, 0, .025)) !important; }
.cma-pf-billing-btn center, .cma-pf-billing-btn p { text-align: left; margin: 0; }
.cma-pf-billing-btn br { display: none; }
.cma-pf .cma-pf-billing-btn a {
	display: inline-flex !important; align-items: center; justify-content: center; width: 100%; box-sizing: border-box;
	background: var(--cma-accent) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important;
	padding: 12px 20px !important; margin: 4px 0 0 !important; font: inherit !important; font-weight: 700 !important; font-size: 1rem !important;
	text-transform: none !important; letter-spacing: 0 !important; text-decoration: none !important; box-shadow: 0 2px 6px rgba(0, 0, 0, .15) !important;
}
.cma-pf .cma-pf-billing-btn a:hover, .cma-pf .cma-pf-billing-btn a:focus-visible { filter: brightness(1.1); }
.cma-pf .cma-pf-billing-btn a + a, .cma-pf .cma-pf-billing-btn center + center { display: none !important; }
.cma-pf-notice { border-left: 4px solid #1a7f37; background: #eef8f1; border-radius: 10px; padding: 12px 16px; margin: 0 0 18px; }
.cma-pf-notice.is-error { border-color: #9c3535; background: #fbefef; }
.cma-pf-notice p { margin: 4px 0; }
.cma-pf .cma-pf-warn { color: #9c3535; }
.cma-pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
@media (max-width: 640px) { .cma-pf-grid { grid-template-columns: 1fr; } }
.cma-pf .cma-pf-label { display: block; font-weight: 600; margin: 0 0 4px; }
.cma-pf .cma-pf-field .cma-pf-muted { margin: 4px 0 0; }
.cma-pf input[type="text"], .cma-pf input[type="url"], .cma-pf input[type="email"], .cma-pf input[type="tel"], .cma-pf select, .cma-pf textarea {
	display: block; width: 100%; max-width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid rgba(0, 0, 0, .25); border-radius: 8px; background: #fff; font: inherit; font-size: 1rem; color: inherit;
}
.cma-pf textarea { min-height: 150px; resize: vertical; }
.cma-pf input:focus, .cma-pf select:focus, .cma-pf textarea:focus { outline: 2px solid var(--cma-accent); outline-offset: 1px; border-color: transparent; }
.cma-pf-photo-row { display: flex; gap: 20px; align-items: center; margin: 12px 0 18px; }
.cma-pf-photo { flex: none; width: 120px; height: 120px; border-radius: 50%; overflow: hidden; background: rgba(0, 0, 0, .06); display: grid; place-items: center; }
.cma-pf-photo img { width: 100%; height: 100%; object-fit: cover; }
.cma-pf-initials { font-size: 1.25rem; font-weight: 700; color: var(--cma-muted); }
.cma-pf .cma-pf-check { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; margin: 6px 16px 0 0; }
.cma-pf-save { position: sticky; bottom: 0; z-index: 5; background: #fff; border: 1px solid var(--cma-line); border-radius: 14px; padding: 16px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -4px 16px rgba(0, 0, 0, .06); }
.cma-pf-sites { flex: 1 1 320px; }
.cma-pf-sites .cma-pf-strong { margin: 0; }
.cma-pf .cma-pf-submit { border-radius: 999px; padding: 12px 28px; font-size: 1rem; margin-left: auto; }
.cma-pf .cma-pf-submit[disabled] { opacity: .7; cursor: wait; }
.cma-pf [hidden] { display: none !important; }
.cma-pf input[type="file"] { max-width: 100%; }
@media (max-width: 640px) {
	.cma-pf-photo-row { flex-wrap: wrap; }
	.cma-pf-photo { width: 96px; height: 96px; }
	.cma-pf-save { position: static; }
	.cma-pf .cma-pf-card { padding: 18px; }
}
#cma-pf h2 { font-size: 1.25rem !important; line-height: 1.3 !important; letter-spacing: 0 !important; }
.cma-pf-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.cma-pf .cma-pf-btns .cma-pf-submit { margin-left: 0; }
.cma-pf .cma-pf-submit.cma-pf-secondary { background: #fff !important; color: var(--cma-accent) !important; box-shadow: inset 0 0 0 2px var(--cma-accent); }
.cma-pf-sites .cma-pf-muted { margin: 2px 0 0; }
@media (max-width: 640px) { .cma-pf-btns { width: 100%; } .cma-pf .cma-pf-btns .cma-pf-submit { flex: 1 1 100%; } }
/* Two save choices side by side */
.cma-pf-choices { display: grid; grid-template-columns: 1fr; gap: 14px; width: 100%; }
.cma-pf-choices:has(.cma-pf-choice:not([hidden]) + .cma-pf-choice:not([hidden])) { grid-template-columns: 1fr 1fr; }
.cma-pf-choice { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.cma-pf .cma-pf-choice .cma-pf-submit { margin-left: 0; width: 100%; }
.cma-pf .cma-pf-choice .cma-pf-muted { margin: 0; }
@media (max-width: 640px) { .cma-pf-choices:has(.cma-pf-choice:not([hidden]) + .cma-pf-choice:not([hidden])) { grid-template-columns: 1fr; } }
