/* Invite-only owner dashboard. Inherits the site's typography, color and field tokens. */
.ogt-owner {
	margin-inline: auto;
	max-width: 1240px;
}

/* The public intake form uses the theme's full content width. */
.ogt-wrap--homes-submit {
	max-width: calc(var(--ogt-wrap, 1240px) + 2 * var(--ogt-gutter, 24px));
}

.ogt-owner__head,
.ogt-owner__item,
.ogt-owner__form-head,
.ogt-owner__actions {
	align-items: center;
	display: flex;
	gap: 20px;
	justify-content: space-between;
}

.ogt-owner__head {
	margin-bottom: 28px;
}

.ogt-home-submit__intro {
	align-items: center;
	background: linear-gradient(115deg, #eaf5f1 0%, #f6f8f3 62%, #fff 100%);
	border: 1px solid rgba(21, 122, 104, .13);
	border-radius: 20px;
	gap: 28px;
	margin-bottom: 26px;
	padding: clamp(22px, 4vw, 38px);
}

.ogt-home-submit__copy {
	max-width: 720px;
}

.ogt-home-submit__copy h1 {
	font-size: clamp(30px, 4vw, 44px);
	letter-spacing: -.035em;
	margin: 7px 0 10px;
}

.ogt-home-submit__copy > p {
	color: var(--ogt-muted);
	font-size: 16px;
	line-height: 1.65;
	margin: 0;
}

.ogt-home-submit__points {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
}

.ogt-home-submit__points li {
	align-items: center;
	background: rgba(255, 255, 255, .78);
	border: 1px solid rgba(21, 122, 104, .14);
	border-radius: 999px;
	color: #176b5d;
	display: inline-flex;
	font-size: 13px;
	font-weight: 650;
	line-height: 1.25;
	margin: 0;
	min-height: 40px;
	padding: 0 14px;
}

.ogt-home-submit__trust {
	align-items: flex-start;
	background: rgba(255, 255, 255, .86);
	border: 1px solid rgba(21, 122, 104, .13);
	border-radius: 15px;
	display: flex;
	flex: 0 0 285px;
	gap: 12px;
	padding: 17px;
}

.ogt-home-submit__trust > span {
	align-items: center;
	background: #dff1eb;
	border-radius: 50%;
	color: #147664;
	display: inline-flex;
	flex: 0 0 28px;
	font-weight: 800;
	height: 28px;
	justify-content: center;
}

.ogt-home-submit__trust strong {
	color: var(--ogt-ink, #182033);
	display: block;
	font-size: 14px;
}

.ogt-home-submit__trust p {
	color: var(--ogt-muted);
	font-size: 13px;
	line-height: 1.55;
	margin: 5px 0 0;
}

.ogt-owner__head h2 {
	font-size: clamp(28px, 4vw, 38px);
	margin: 6px 0;
}

.ogt-owner__head p,
.ogt-owner__form-head p {
	color: var(--ogt-muted);
	margin: 0;
}

.ogt-owner__form,
.ogt-owner__item,
.ogt-owner__empty,
.ogt-owner-notice,
.ogt-owner__notice {
	background: var(--ogt-white, #fff);
	border: 1px solid var(--ogt-line, #e5e3df);
	border-radius: 18px;
	box-shadow: 0 8px 30px rgba(21, 32, 51, .06);
	padding: clamp(18px, 3vw, 30px);
}

.ogt-owner__form-head {
	align-items: flex-start;
	border-bottom: 1px solid var(--ogt-line, #e5e3df);
	flex-direction: column;
	gap: 6px;
	margin-bottom: 22px;
	padding-bottom: 18px;
}

.ogt-owner__form-head h3,
.ogt-owner__item h3,
.ogt-owner__empty h3 {
	margin: 0;
}

.ogt-owner__grid {
	display: grid;
	gap: 14px 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ogt-owner__form [hidden] {
	display: none !important;
}

.ogt-owner__grid label {
	display: flex;
	flex-direction: column;
	gap: 7px;
	min-width: 0;
}

.ogt-owner__grid label > span {
	font-size: 14px;
	font-weight: 650;
}

.ogt-owner__grid label b {
	color: #a5362d;
}

.ogt-owner__grid input:not([type="checkbox"]),
.ogt-owner__grid select,
.ogt-owner__grid textarea {
	background: #fff;
	border: 1px solid var(--ogt-line, #d9dce2);
	border-radius: 10px;
	box-sizing: border-box;
	color: var(--ogt-ink, #182033);
	font: inherit;
	min-height: 46px;
	padding: 10px 12px;
	width: 100%;
}

.ogt-owner__grid textarea {
	min-height: 100px;
	resize: vertical;
}

.ogt-owner__grid input:focus,
.ogt-owner__grid select:focus,
.ogt-owner__grid textarea:focus {
	border-color: var(--ogt-brand, #157a68);
	box-shadow: 0 0 0 3px rgba(21, 122, 104, .14);
	outline: 0;
}

.ogt-owner__grid small {
	color: var(--ogt-muted);
	font-size: 12px;
	line-height: 1.5;
}

.ogt-owner__other-term {
	font-size: 13px;
	margin-top: 6px;
}

.ogt-js .ogt-owner__other-term:not([open]) {
	display: none;
}

.ogt-js .ogt-owner__other-term summary {
	display: none;
}

.ogt-owner__other-term[open] {
	background: #f3f8f6;
	border: 1px solid rgba(21, 122, 104, .16);
	border-radius: 10px;
	padding: 10px;
}

.ogt-owner__other-term summary {
	color: var(--ogt-brand, #157a68);
	cursor: pointer;
	font-weight: 650;
	line-height: 1.5;
	margin-bottom: 7px;
}

.ogt-owner__term-field {
	min-width: 0;
}

.ogt-owner__other-term label > span {
	color: var(--ogt-muted);
	display: block;
	font-size: 12px;
	margin-bottom: 5px;
}

.ogt-owner__cover-preview {
	border-radius: 10px;
	display: block;
	height: auto;
	max-height: 220px;
	max-width: 100%;
	object-fit: cover;
}

.ogt-owner__preview {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin: 2px 0 4px;
}

.ogt-owner__preview--gallery .ogt-owner__cover-preview {
	 aspect-ratio: 4 / 3;
	border: 1px solid var(--ogt-line, #e5e3df);
	max-height: none;
	width: clamp(86px, 12vw, 150px);
}

.ogt-owner__preview-status {
	color: #9c3028;
	font-size: 13px;
	margin: 0;
}

.ogt-owner__upload input[type="file"] {
	background: #f8faf9;
	border: 1px dashed rgba(21, 122, 104, .45);
	border-radius: 12px;
	cursor: pointer;
	padding: 12px;
}

.ogt-owner__trap {
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.ogt-owner__wide {
	grid-column: 1 / -1;
}

.ogt-owner__grid label.ogt-owner__check {
	align-items: start;
	display: grid;
	gap: 10px;
	grid-template-columns: 18px minmax(0, 1fr);
}

.ogt-owner__check > input[type="checkbox"] {
	accent-color: var(--ogt-brand, #157a68);
	height: 18px;
	margin: 3px 0 0;
	width: 18px;
}

.ogt-owner__grid label.ogt-owner__check > span {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
}

.ogt-owner__actions {
	justify-content: flex-start;
	margin-top: 22px;
}

.ogt-owner__items {
	display: grid;
	gap: 14px;
}

.ogt-owner__item {
	align-items: flex-start;
}

.ogt-owner__status {
	background: #e8f4f1;
	border-radius: 99px;
	color: #146b5c;
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	margin-top: 9px;
	padding: 6px 11px;
}

.ogt-owner__status--pending {
	background: #fff4da;
	color: #7a5700;
}

.ogt-owner__status--rejected {
	background: #fdecea;
	color: #9c3028;
}

.ogt-owner__feedback {
	background: #f6f8fa;
	border-left: 3px solid var(--ogt-brand, #157a68);
	margin: 12px 0;
	max-width: 760px;
	padding: 12px 14px;
}

.ogt-owner__notice,
.ogt-owner-notice {
	margin: 0 0 20px;
}

@media (max-width: 680px) {
	.ogt-owner__head,
	.ogt-owner__item {
		align-items: flex-start;
		flex-direction: column;
	}

	.ogt-home-submit__intro {
		align-items: stretch;
	}

	.ogt-home-submit__trust {
		flex-basis: auto;
	}

	.ogt-owner__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ogt-owner__wide {
		grid-column: auto;
	}

	.ogt-owner__actions {
		align-items: stretch;
		flex-direction: column-reverse;
	}
}
