.twoix-flow,
.twoix-board,
.twoix-detail,
.twoix-match-demo,
.twoix-guide,
.twoix-account {
	margin-block: 1.5rem 3rem;
}

.twoix-flow__intro,
.twoix-board__header,
.twoix-detail__header,
.twoix-match-panel__top,
.twoix-guide__header,
.twoix-account__header {
	margin-bottom: 1.35rem;
}

.twoix-kicker {
	color: var(--twoix-teal, #0f766e);
	font-family: var(--wp--preset--font-family--system-mono, monospace);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0;
	margin: 0 0 0.45rem;
	text-transform: uppercase;
}

.twoix-form,
.twoix-filter,
.twoix-match-panel,
.twoix-handoff,
.twoix-apply,
.twoix-report,
.twoix-preview,
.twoix-empty,
.twoix-mini-directory,
.twoix-guide,
.twoix-account {
	background: var(--twoix-white, #fff);
	border: 1px solid var(--twoix-line, rgba(17, 24, 39, 0.14));
	border-radius: 8px;
	box-shadow: 0 12px 36px rgba(17, 24, 39, 0.07);
	margin-top: 1.4rem;
	padding: 1.25rem;
}

.twoix-form h3 {
	border-top: 1px solid var(--twoix-line, rgba(17, 24, 39, 0.14));
	font-size: 1.35rem;
	margin: 2rem 0 1rem;
	padding-top: 1.2rem;
}

.twoix-form h3:first-of-type {
	border-top: 0;
	margin-top: 0;
	padding-top: 0;
}

.twoix-form__grid,
.twoix-filter__grid,
.twoix-section-grid,
.twoix-detail__grid,
.twoix-mini-directory__grid,
.twoix-guide__grid,
.twoix-dashboard-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.twoix-field {
	display: grid;
	gap: 0.35rem;
	margin-bottom: 1rem;
	min-width: 0;
}

.twoix-field label,
.twoix-check {
	color: var(--twoix-ink, #111827);
	font-weight: 760;
}

.twoix-field input,
.twoix-field select,
.twoix-field textarea {
	background: #fff;
	border: 1px solid var(--twoix-line, rgba(17, 24, 39, 0.18));
	border-radius: 8px;
	color: var(--twoix-ink, #111827);
	font: inherit;
	max-width: 100%;
	min-height: 46px;
	padding: 0.72rem 0.8rem;
	width: 100%;
}

.twoix-field textarea {
	min-height: 116px;
	resize: vertical;
}

.twoix-field input:focus,
.twoix-field select:focus,
.twoix-field textarea:focus,
.twoix-button:focus,
.twoix-link-button:focus,
.twoix-card a:focus {
	outline: 3px solid rgba(249, 115, 91, 0.56);
	outline-offset: 2px;
}

.twoix-help,
.twoix-field-error,
.twoix-updated,
.twoix-board__count {
	font-size: 0.92rem;
	margin: 0;
}

.twoix-help,
.twoix-updated {
	color: var(--twoix-muted, #6b7280);
}

.twoix-field-error,
.twoix-warning {
	background: rgba(249, 115, 91, 0.12);
	border-left: 4px solid var(--twoix-coral, #f9735b);
	color: #7f1d1d;
	padding: 0.55rem 0.7rem;
}

.twoix-check {
	align-items: flex-start;
	display: flex;
	gap: 0.65rem;
	margin: 1rem 0;
}

.twoix-check input {
	flex: 0 0 auto;
	margin-top: 0.28rem;
}

.twoix-button,
.twoix-link-button {
	align-items: center;
	border-radius: 8px;
	display: inline-flex;
	font-weight: 800;
	justify-content: center;
	min-height: 44px;
	padding: 0.72rem 1rem;
	text-decoration: none;
}

.twoix-button {
	background: var(--twoix-ink, #111827);
	border: 1px solid var(--twoix-ink, #111827);
	color: #fff;
	cursor: pointer;
}

.twoix-button:hover,
.twoix-button:focus {
	background: var(--twoix-teal-dark, #134e4a);
	border-color: var(--twoix-teal-dark, #134e4a);
	color: #fff;
	text-decoration: none;
}

.twoix-link-button {
	background: transparent;
	border: 1px solid currentColor;
	color: var(--twoix-teal-dark, #134e4a);
}

.twoix-link-button:hover,
.twoix-link-button:focus {
	background: rgba(15, 118, 110, 0.1);
	text-decoration: none;
}

.twoix-notice,
.twoix-errors {
	border-radius: 8px;
	margin: 1rem 0;
	padding: 1rem;
}

.twoix-notice {
	background: rgba(163, 230, 53, 0.18);
	border: 1px solid rgba(15, 118, 110, 0.24);
}

.twoix-errors {
	background: rgba(249, 115, 91, 0.12);
	border: 1px solid rgba(249, 115, 91, 0.34);
}

.twoix-filter {
	box-shadow: none;
}

.twoix-filter__checks,
.twoix-filter__actions,
.twoix-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
}

.twoix-filter__checks label {
	align-items: center;
	display: inline-flex;
	gap: 0.45rem;
}

.twoix-card-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	margin-top: 1rem;
}

.twoix-card,
.twoix-score-card,
.twoix-memory-card,
.twoix-detail-list,
.twoix-side-panel,
.twoix-readiness,
.twoix-mini-directory article,
.twoix-guide-card,
.twoix-next-step,
.twoix-dashboard-card {
	background: #fff;
	border: 1px solid var(--twoix-line, rgba(17, 24, 39, 0.14));
	border-radius: 8px;
	padding: 1.05rem;
}

.twoix-card {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.twoix-card__top,
.twoix-detail__header,
.twoix-match-panel__top,
.twoix-account__header {
	align-items: flex-start;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
}

.twoix-guide {
	box-shadow: none;
}

.twoix-guide__header p,
.twoix-account__header p {
	max-width: 860px;
}

.twoix-guide-card {
	display: grid;
	gap: 0.55rem;
}

.twoix-guide-card h3,
.twoix-dashboard-card h3 {
	margin: 0;
}

.twoix-guide-card p,
.twoix-guide-card ul,
.twoix-dashboard-card p,
.twoix-dashboard-card ul {
	margin-bottom: 0;
	margin-top: 0;
}

.twoix-guide-card ul,
.twoix-definition-list dl {
	display: grid;
	gap: 0.55rem;
}

.twoix-definition-list {
	border-top: 1px solid var(--twoix-line, rgba(17, 24, 39, 0.14));
	margin-top: 1.25rem;
	padding-top: 1.25rem;
}

.twoix-definition-list dl {
	grid-template-columns: minmax(140px, 0.35fr) minmax(0, 1fr);
	margin: 0;
}

.twoix-definition-list dt {
	font-weight: 900;
}

.twoix-definition-list dd {
	color: var(--twoix-graphite, #374151);
	margin: 0;
}

.twoix-account__header {
	border-bottom: 1px solid var(--twoix-line, rgba(17, 24, 39, 0.14));
	padding-bottom: 1rem;
}

.twoix-next-step {
	background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(249, 115, 91, 0.08));
	display: grid;
	gap: 0.75rem;
	margin: 1rem 0 1.25rem;
}

.twoix-next-step h3,
.twoix-next-step p {
	margin: 0;
}

.twoix-next-step .twoix-button {
	justify-self: start;
}

.twoix-dashboard-grid {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.twoix-dashboard-card {
	display: grid;
	gap: 0.8rem;
	align-content: start;
}

.twoix-dashboard-card--ops {
	border-left: 6px solid var(--twoix-coral, #f9735b);
}

.twoix-dashboard-card--inbox {
	border-left: 6px solid var(--twoix-teal, #0f766e);
}

.twoix-dashboard-list {
	display: grid;
	gap: 0.65rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.twoix-dashboard-list li {
	align-items: flex-start;
	border-bottom: 1px solid var(--twoix-line, rgba(17, 24, 39, 0.14));
	display: flex;
	gap: 0.75rem;
	justify-content: space-between;
	padding-bottom: 0.65rem;
}

.twoix-dashboard-list small {
	color: var(--twoix-muted, #6b7280);
	display: block;
	font-size: 0.88rem;
	margin-top: 0.25rem;
}

.twoix-dashboard-list .twoix-badge {
	margin-top: 0.35rem;
}

.twoix-dashboard-list li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.twoix-card h3,
.twoix-card p,
.twoix-detail h2,
.twoix-detail h3,
.twoix-detail h4 {
	margin-top: 0;
}

.twoix-card__org {
	color: var(--twoix-muted, #6b7280);
	font-size: 0.92rem;
	font-weight: 760;
	margin-bottom: 0.25rem;
}

.twoix-badge {
	border: 1px solid currentColor;
	border-radius: 999px;
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1.1;
	padding: 0.36rem 0.55rem;
	white-space: nowrap;
}

.twoix-badge--verified {
	background: rgba(163, 230, 53, 0.18);
	color: #166534;
}

.twoix-badge--pending {
	background: rgba(37, 99, 235, 0.1);
	color: #1d4ed8;
}

.twoix-badge--unverified {
	background: rgba(249, 115, 91, 0.11);
	color: #9a3412;
}

.twoix-badge--application {
	background: rgba(17, 24, 39, 0.06);
	color: var(--twoix-ink, #111827);
}

.twoix-badge--application-reviewing,
.twoix-badge--application-shortlisted {
	background: rgba(37, 99, 235, 0.1);
	color: #1d4ed8;
}

.twoix-badge--application-accepted {
	background: rgba(163, 230, 53, 0.18);
	color: #166534;
}

.twoix-badge--application-closed {
	background: rgba(17, 24, 39, 0.08);
	color: #4b5563;
}

.twoix-meta-list {
	display: grid;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.twoix-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.twoix-tags span {
	background: rgba(15, 118, 110, 0.1);
	border: 1px solid rgba(15, 118, 110, 0.18);
	border-radius: 999px;
	color: var(--twoix-teal-dark, #134e4a);
	font-size: 0.82rem;
	font-weight: 760;
	padding: 0.32rem 0.55rem;
}

.twoix-detail__grid {
	align-items: start;
	grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
	margin-top: 1.5rem;
}

.twoix-readiness {
	background: rgba(15, 118, 110, 0.06);
	box-shadow: none;
	margin-top: 1rem;
}

.twoix-readiness h3 {
	margin: 0 0 0.8rem;
}

.twoix-readiness ul {
	display: grid;
	gap: 0.65rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.twoix-readiness li {
	background: #fff;
	border: 1px solid var(--twoix-line, rgba(17, 24, 39, 0.14));
	border-radius: 8px;
	display: grid;
	gap: 0.25rem;
	padding: 0.75rem;
}

.twoix-readiness span {
	color: var(--twoix-muted, #6b7280);
	font-size: 0.86rem;
	font-weight: 760;
}

.twoix-readiness strong {
	color: var(--twoix-ink, #111827);
}

.twoix-detail-section {
	border-top: 1px solid var(--twoix-line, rgba(17, 24, 39, 0.14));
	margin-top: 1.5rem;
	padding-top: 1.2rem;
}

.twoix-meter {
	background: rgba(17, 24, 39, 0.1);
	border-radius: 999px;
	flex: 1 1 180px;
	height: 14px;
	margin-top: 0.4rem;
	overflow: hidden;
}

.twoix-meter span {
	background: linear-gradient(90deg, var(--twoix-coral, #f9735b), var(--twoix-teal, #0f766e));
	display: block;
	height: 100%;
}

.twoix-score {
	font-size: 1.4rem;
	font-weight: 900;
	margin: 0;
}

.twoix-score-card strong,
.twoix-score-card span {
	display: block;
}

.twoix-score-card span {
	color: var(--twoix-teal-dark, #134e4a);
	font-weight: 900;
	margin-top: 0.15rem;
}

.twoix-reasons {
	margin-bottom: 0;
}

.twoix-handoff {
	background: rgba(255, 255, 255, 0.84);
}

.twoix-handoff--empty {
	border-style: dashed;
}

.twoix-link-list ul {
	margin-bottom: 0;
	padding-left: 1.2rem;
	overflow-wrap: anywhere;
}

.twoix-empty {
	text-align: left;
}

.site-skip-link {
	background: #fff;
	border: 2px solid var(--twoix-coral, #f9735b);
	border-radius: 8px;
	color: var(--twoix-ink, #111827);
	font-weight: 800;
	left: 1rem;
	padding: 0.65rem 0.85rem;
	position: absolute;
	top: 1rem;
	transform: translateY(-150%);
	z-index: 999;
}

.site-skip-link:focus {
	transform: translateY(0);
}

@media (max-width: 720px) {
	.twoix-card__top,
	.twoix-detail__header,
	.twoix-match-panel__top,
	.twoix-account__header {
		display: grid;
	}

	.twoix-detail__grid {
		grid-template-columns: 1fr;
	}

	.twoix-definition-list dl {
		grid-template-columns: 1fr;
	}

	.twoix-button,
	.twoix-link-button {
		width: 100%;
	}
}
