.cedge-match-account,
.cedge-match-search {
	max-width: 72rem;
	margin: 0 auto 2rem;
	padding: 1.5rem;
	border: 1px solid #d6d9de;
	border-radius: 1rem;
	background: #fbfcfd;
	box-shadow: 0 0.5rem 1.5rem rgba(17, 24, 39, 0.06);
	color: #1f2933;
}

.cedge-shell--match-account-page,
.cedge-shell--match-search-page,
.cedge-shell--match-account-page .cedge-shell__inner,
.cedge-shell--match-search-page .cedge-shell__inner,
.cedge-shell--match-account-page .cedge-app-content,
.cedge-shell--match-search-page .cedge-app-content {
	display: contents;
}

.cedge-shell--match-account-page .cedge-shell-topbar,
.cedge-shell--match-search-page .cedge-shell-topbar,
.cedge-shell--match-account-page .cedge-page-header,
.cedge-shell--match-search-page .cedge-page-header {
	display: none;
}

.cedge-match-account h2,
.cedge-match-account h2,
.cedge-match-search h2 {
	font-size: 1.75rem;
	line-height: 1.2;
}

.cedge-match-notice,
.cedge-match-callout {
	border: 1px solid #d8a15c;
	background: #fff1df;
	border-radius: 0.875rem;
	padding: 0.85rem 1rem;
}

.cedge-match-upgrade-plans {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: 1rem;
	margin-top: 1.5rem;
}

.cedge-shell--match-upgrade-page {
	margin: 1.5rem 0;
}

.cedge-match-upgrade-layout {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cedge-match-upgrade-intro {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.cedge-match-upgrade-plan {
	background: linear-gradient(180deg, #fffdf8 0%, #fff8ef 100%);
	border: 1px solid rgba(197, 165, 122, 0.42);
	border-radius: 1.6rem;
	display: grid;
	grid-template-rows: 1fr auto;
	min-height: 100%;
	overflow: hidden;
	position: relative;
}

.cedge-match-upgrade-plan::before {
	content: "";
	display: block;
	height: 6px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.cedge-match-upgrade-plan--free::before {
	background: linear-gradient(135deg, #d3b79d 0%, #aa8664 100%);
}

.cedge-match-upgrade-plan--paid::before {
	background: linear-gradient(135deg, #27b36a 0%, #0f7a47 100%);
}

.cedge-match-upgrade-plan--founder::before {
	background: linear-gradient(135deg, #e6a400 0%, #bf6d00 100%);
}

.cedge-match-concierge {
	display: grid;
	gap: 1rem;
}

.cedge-match-concierge-hero {
	background: var(--cedge-surface, #fffdf9);
	border-color: var(--cedge-border-strong, #c9b49a);
	box-shadow: inset 4px 0 0 var(--cedge-accent, #a24b2a);
}

.cedge-match-concierge-guest {
	margin: 0 auto;
	max-width: 920px;
}

.cedge-match-concierge-guest__note {
	color: var(--cedge-muted, #5f6f64);
	font-size: 0.98rem;
	line-height: 1.55;
	margin: 0.9rem 0 0;
	max-width: 680px;
}

.cedge-match-guest-auth {
	margin: 0 auto;
	max-width: 760px;
}

.cedge-match-concierge-offer,
.cedge-match-concierge-preferences,
.cedge-match-concierge-billing,
.cedge-match-concierge-card {
	border-color: var(--cedge-border, #dccfbe);
}

.cedge-match-concierge-intros {
	display: grid;
	gap: 0.85rem;
}

.cedge-match-concierge-card__head {
	align-items: start;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
}

.cedge-match-concierge-card__head h3 {
	margin: 0.1rem 0 0;
}

.cedge-match-concierge-card .cedge-concierge-intro-report {
	margin: 0.75rem 0;
}

.cedge-match-concierge-client-note {
	background: rgba(37, 99, 235, 0.08);
	border-left: 4px solid rgba(37, 99, 235, 0.72);
	border-radius: 0 6px 6px 0;
	color: var(--cedge-text, #2d261f);
	line-height: 1.5;
	margin: 0.8rem 0;
	padding: 0.7rem 0.8rem;
}

.cedge-match-concierge-card--member-introduction .cedge-introduction-note {
	margin-top: 0.75rem;
}

.cedge-match-concierge-feedback {
	border-top: 1px solid var(--cedge-border, #dccfbe);
	margin-top: 1rem;
	padding-top: 1rem;
}

.cedge-match-concierge-feedback__fields {
	display: grid;
	gap: 0.85rem;
	grid-template-columns: minmax(12rem, 0.7fr) minmax(18rem, 1.3fr);
}

.cedge-match-concierge-feedback .cedge-field {
	margin: 0;
}

.cedge-match-concierge-feedback .cedge-actions {
	margin-top: 0.75rem;
}

@media (max-width: 720px) {
	.cedge-match-concierge-feedback__fields {
		grid-template-columns: 1fr;
	}
}

.cedge-match-upgrade-plan.is-current-plan {
	box-shadow: 0 18px 34px rgba(62, 37, 18, 0.12);
}

.cedge-match-upgrade-plan__copy {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 0.95rem;
	padding-top: 1.25rem;
}

.cedge-match-upgrade-plan h3 {
	margin: 0;
	font-size: 1.25rem;
}

.cedge-match-upgrade-plan .cedge-eyebrow {
	letter-spacing: 0.12em;
	margin-bottom: 0.05rem;
}

.cedge-match-upgrade-plan__price {
	color: var(--cedge-heading);
	font-size: 2.4rem;
	font-weight: 700;
	line-height: 1;
	margin: 0;
}

.cedge-match-upgrade-plan__price-block {
	align-items: baseline;
	display: flex;
	gap: 0.5rem;
	margin-top: 0.1rem;
	padding-bottom: 0.15rem;
}

.cedge-match-upgrade-plan__summary,
.cedge-match-upgrade-plan__benefits {
	margin: 0;
}

.cedge-match-upgrade-plan__summary {
	color: #2d261f;
	font-size: 1.08rem;
	font-weight: 600;
	line-height: 1.55;
}

.cedge-match-upgrade-plan__benefits {
	color: #3f352b;
	line-height: 1.75;
}

.cedge-match-upgrade-plan__action {
	align-items: stretch;
	border-top: 1px solid rgba(197, 165, 122, 0.28);
	display: flex;
	margin-top: auto;
	padding: 1.1rem 1.35rem 1.35rem;
	width: 100%;
}

.cedge-match-upgrade-plan__action form {
	margin: 0;
	width: 100%;
}

.cedge-match-upgrade-confirm {
	display: grid;
	gap: 0.75rem;
	width: 100%;
}

.cedge-match-upgrade-confirm p {
	margin: 0;
}

.cedge-match-upgrade-confirm__actions {
	margin-top: 0;
	width: 100%;
}

.cedge-match-upgrade-confirm__actions form {
	width: 100%;
}

.cedge-match-upgrade-plan__action .cedge-button {
	border-radius: 999px;
	min-height: 54px;
	padding: 0.9rem 1.25rem;
	width: 100%;
}

.cedge-match-plan-button {
	font-weight: 700;
	justify-content: center;
}

.cedge-match-plan-button--paid,
.cedge-match-plan-button--founder {
	border: 0;
	box-shadow: 0 12px 26px rgba(62, 37, 18, 0.12);
	color: #fff;
}

.cedge-match-plan-button--paid {
	background: linear-gradient(135deg, #5bc978 0%, #208f54 100%);
	color: #fff;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
	box-shadow: 0 16px 28px rgba(32, 143, 84, 0.28);
	border: 0;
	cursor: pointer;
	opacity: 1;
	transform: translateY(0);
	transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
}

.cedge-match-plan-button--paid:hover:not([disabled]),
.cedge-match-plan-button--founder:hover:not([disabled]) {
	box-shadow: 0 18px 30px rgba(32, 143, 84, 0.32);
	filter: brightness(1.03);
	transform: translateY(-1px);
}

.cedge-match-plan-button--founder {
	background: linear-gradient(135deg, #74cf84 0%, #2f8d54 100%);
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
	box-shadow: 0 16px 28px rgba(47, 141, 84, 0.26);
}

.cedge-match-upgrade-plan--free .cedge-button--danger {
	background: linear-gradient(135deg, #f8e1df 0%, #f0c8c3 100%);
	border-color: #d8958d;
	box-shadow: none;
	color: #923e36;
}

.cedge-match-upgrade-plan--free .cedge-button--secondary,
.cedge-match-upgrade-confirm .cedge-button--secondary {
	background: #f4efe7;
	border-color: #d1c0ad;
	color: #4d3f30;
}

.cedge-match-search-form,
.cedge-match-search-request-form {
	display: grid;
	gap: 0.75rem;
	margin-top: 1rem;
}

.cedge-match-search-form input,
.cedge-match-search-form button,
.cedge-match-search-request-form textarea,
.cedge-match-search-request-form button {
	width: 100%;
}

.cedge-match-search-result {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #d6d9de;
}

.cedge-match-brief {
	margin-top: 1.25rem;
	padding: 1rem;
	border: 1px solid #d6d9de;
	border-radius: 0.875rem;
	background: #ffffff;
}

.cedge-match-brief h3 {
	margin-top: 0;
	margin-bottom: 0.75rem;
}

.cedge-match-brief-list {
	margin: 0;
	padding-left: 1.25rem;
}

.cedge-match-brief-list li + li {
	margin-top: 0.75rem;
}

.cedge-match-brief-list p {
	margin: 0.35rem 0 0;
}

.cedge-match-account button,
.cedge-match-search button {
	min-height: 44px;
}

.cedge-match-account select,
.cedge-match-search select,
.cedge-match-account textarea,
.cedge-match-search textarea,
.cedge-match-account input,
.cedge-match-search input,
.cedge-match-account button,
.cedge-match-search button {
	font: inherit;
}

.cedge-match-dummy-checkout-form {
	display: grid;
	gap: 0.75rem;
}

@media (max-width: 640px) {
	.cedge-match-account,
	.cedge-match-search {
		padding: 1rem;
		border-radius: 0.75rem;
	}

	.cedge-match-account h2,
	.cedge-match-search h2 {
		font-size: 1.5rem;
	}

	.cedge-match-upgrade-plan__price {
		font-size: 2rem;
	}

	.cedge-match-upgrade-plan__action {
		padding: 1rem 1rem 1.1rem;
	}
}

@media (max-width: 760px) {
	.cedge-shell--match-account-page,
	.cedge-shell--match-search-page {
		display: block;
	}

	.cedge-shell--match-account-page .cedge-shell__inner,
	.cedge-shell--match-search-page .cedge-shell__inner {
		display: flex;
	}

	.cedge-shell--match-account-page .cedge-app-content,
	.cedge-shell--match-search-page .cedge-app-content {
		display: block;
	}

	.cedge-shell--match-account-page .cedge-shell-topbar,
	.cedge-shell--match-search-page .cedge-shell-topbar {
		display: grid;
	}

	.cedge-shell--match-account-page .cedge-page-header,
	.cedge-shell--match-search-page .cedge-page-header {
		display: flex;
	}

	.cedge-match-account,
	.cedge-match-search {
		background: var(--cedge-surface-strong, #fffdf9);
		border-color: rgba(var(--cedge-theme-primary-rgb, 162, 75, 42), 0.16);
		border-radius: 8px;
		box-shadow: none;
		color: var(--cedge-text, #2b241f);
		margin: 0;
		max-width: none;
		padding: 1rem;
	}

	.cedge-match-account h2,
	.cedge-match-search h2 {
		font-size: 1.15rem;
		line-height: 1.2;
		margin-top: 0;
	}

	.cedge-match-notice,
	.cedge-match-callout,
	.cedge-match-brief,
	.cedge-match-search-result {
		border-radius: 8px;
	}

	.cedge-match-search-form,
	.cedge-match-search-request-form,
	.cedge-match-dummy-checkout-form {
		gap: 0.65rem;
	}

	.cedge-match-account select,
	.cedge-match-search select,
	.cedge-match-account textarea,
	.cedge-match-search textarea,
	.cedge-match-account input,
	.cedge-match-search input,
	.cedge-match-account button,
	.cedge-match-search button {
		border-radius: 8px;
		min-height: 44px;
	}

	.cedge-match-upgrade-layout {
		grid-template-columns: 1fr;
	}

	.cedge-match-upgrade-plan {
		border-radius: 8px;
		min-height: 0;
	}

	.cedge-match-upgrade-plan__copy {
		gap: 0.65rem;
		padding-top: 1rem;
	}

	.cedge-match-upgrade-plan__price {
		font-size: 1.8rem;
	}

	.cedge-match-upgrade-plan__summary {
		font-size: 0.98rem;
		line-height: 1.45;
	}

	.cedge-match-upgrade-plan__benefits {
		line-height: 1.5;
	}

	.cedge-match-upgrade-plan__action .cedge-button {
		border-radius: 8px;
		min-height: 48px;
	}
}
/* Organization tools share the member shell without forcing a desktop-width roster. */
.cedge-shell--organization-dashboard .cedge-app-content > .cedge-card {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #c9d5e8;
    border-radius: 0;
    box-shadow: none;
    padding: 18px 0;
    margin: 0;
}
.cedge-shell--organization-dashboard h2 {
    font-size: 22px;
    margin: 0 0 12px;
}
.cedge-shell--organization-dashboard .cedge-shell__inner,
.cedge-shell--organization-join .cedge-shell__inner {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
}
.cedge-shell--organization-dashboard .cedge-card-copy,
.cedge-shell--organization-join .cedge-card-copy {
    min-width: 0;
    overflow-wrap: anywhere;
}
.cedge-shell--organization-dashboard .cedge-table {
    width: 100%;
    table-layout: fixed;
}
.cedge-shell--organization-dashboard .cedge-table th,
.cedge-shell--organization-dashboard .cedge-table td {
    padding: 12px;
    vertical-align: top;
    overflow-wrap: anywhere;
}
.cedge-shell--organization-dashboard form {
    margin-bottom: 12px;
}
.cedge-shell--organization-dashboard input,
.cedge-shell--organization-dashboard select,
.cedge-shell--organization-dashboard textarea,
.cedge-shell--organization-join input {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
}
.cedge-shell--organization-dashboard .cedge-table textarea {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}
@media (max-width: 700px) {
    .cedge-shell--organization-dashboard .cedge-table,
    .cedge-shell--organization-dashboard .cedge-table tbody,
    .cedge-shell--organization-dashboard .cedge-table tr,
    .cedge-shell--organization-dashboard .cedge-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .cedge-shell--organization-dashboard .cedge-table thead {
        display: none;
    }
    .cedge-shell--organization-dashboard .cedge-table tr {
        border-top: 1px solid #c9d5e8;
        padding: 12px 0;
    }
    .cedge-shell--organization-dashboard .cedge-table td {
        padding: 6px 0;
    }
    .cedge-shell--organization-join .cedge-actions,
    .cedge-shell--organization-join .cedge-actions form {
        min-width: 0;
        width: 100%;
    }
    .cedge-shell--organization-join .cedge-button {
        white-space: normal;
        max-width: 100%;
        box-sizing: border-box;
    }
}
