.editor-panel {
	min-width: 0;
	overflow-y: auto;
	padding: 1.65rem 1.5rem 2.25rem;
	border-right: 1px solid #dde5e0;
	background: #fbfcfb;
	scrollbar-color: #c9d2cc transparent;
	scrollbar-width: thin;
}

.editor-panel:focus {
	outline: none;
}

.editor-panel__header {
	max-width: 21rem;
}

.editor-panel__header h1 {
	margin: 0;
	font-size: clamp(1.32rem, 2vw, 1.48rem);
	font-weight: 750;
	letter-spacing: -0.035em;
	line-height: 1.2;
}

.editor-panel__header > p:last-child {
	margin: 0.7rem 0 0;
	color: var(--editor-muted);
	font-size: 0.8rem;
	line-height: 1.5;
}

.editor-panel-section {
	margin-top: 1.5rem;
}

.editor-upload {
	display: grid;
	gap: 0.65rem;
}

.editor-upload-card {
	min-height: 4.5rem;
	display: grid;
	grid-template-columns: 2.65rem minmax(0, 1fr) 1.1rem;
	align-items: center;
	gap: 0.75rem;
	padding: 0.7rem 0.8rem;
	border: 1px solid #e0e6e2;
	border-radius: 0.9rem;
	background: var(--editor-surface);
	box-shadow: 0 0.5rem 1.4rem rgba(43, 64, 51, 0.04);
	color: var(--editor-ink);
	text-align: left;
}

.editor-upload-card:disabled {
	cursor: not-allowed;
	opacity: 1;
}

.editor-upload-card__icon {
	width: 2.65rem;
	height: 2.65rem;
	display: grid;
	place-items: center;
	border-radius: 0.7rem;
	background: #eaf1ec;
	color: var(--editor-brand-dark);
}

.editor-upload-card__icon--logo {
	background: #f4ebe4;
	color: #8d664d;
}

.editor-upload-card svg {
	width: 1.25rem;
	height: 1.25rem;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.6;
}

.editor-upload-card__copy {
	min-width: 0;
	display: grid;
	gap: 0.15rem;
}

.editor-upload-card__copy strong {
	overflow-wrap: anywhere;
	font-size: 0.8rem;
}

.editor-upload-card__copy small {
	color: #606b64;
	font-size: 0.66rem;
	overflow-wrap: anywhere;
	white-space: normal;
}

.editor-upload-card__action {
	color: #b0b8b3;
}

.editor-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.editor-section-heading h2 {
	margin: 0.25rem 0 0;
	font-size: 0.92rem;
	font-weight: 700;
}

.editor-step-label {
	color: #657068;
	font-size: 0.56rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.editor-unavailable-label {
	max-width: 8rem;
	color: #657068;
	font-size: 0.61rem;
	line-height: 1.25;
	text-align: right;
}

.editor-proposal-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.5rem;
}

.editor-proposal-card {
	position: relative;
	min-width: 0;
	height: 100%;
	display: grid;
	grid-template-rows: auto minmax(2.65rem, auto);
	align-content: start;
	padding: 0.5rem;
	border: 1px solid #e0e6e2;
	border-radius: 0.75rem;
	background: #fff;
	color: var(--editor-ink);
	text-align: left;
}

.editor-proposal-card:hover:not(:disabled) {
	border-color: #b9c6bd;
	transform: translateY(-0.05rem);
}

.editor-proposal-card:focus-visible {
	outline: 0.18rem solid rgba(36, 54, 42, 0.5);
	outline-offset: 0.12rem;
}

.editor-proposal-card.is-selected {
	border-color: var(--editor-brand);
	box-shadow: 0 0 0 0.15rem rgba(111, 143, 121, 0.16);
}

.editor-proposal-card:disabled {
	cursor: not-allowed;
	opacity: 0.7;
}

.editor-proposal-card__copy {
	min-width: 0;
	display: grid;
	align-content: start;
	gap: 0.12rem;
	margin-top: 0.45rem;
	padding-right: 1.15rem;
}

.editor-proposal-card strong {
	display: block;
	overflow-wrap: anywhere;
	font-size: 0.68rem;
	line-height: 1.25;
}

.editor-proposal-card small {
	display: block;
	overflow-wrap: anywhere;
	color: #657068;
	font-size: 0.53rem;
	line-height: 1.3;
	white-space: normal;
}

.editor-proposal-card__check {
	width: 1rem;
	height: 1rem;
	position: absolute;
	top: 4.25rem;
	right: 0.3rem;
	display: none;
	padding: 0.08rem;
	border-radius: 50%;
	background: #fff;
	fill: var(--editor-brand);
	stroke: #fff;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.editor-proposal-card.is-selected .editor-proposal-card__check {
	display: block;
}

.editor-mini-sheet {
	height: 3.3rem;
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: 0.4rem;
	background: #f4f5f4;
}

.editor-mini-sheet::before,
.editor-mini-sheet i,
.editor-mini-sheet b,
.editor-mini-sheet em {
	content: "";
	position: absolute;
	display: block;
}

.editor-mini-sheet::before {
	top: 0.55rem;
	left: 0.5rem;
	width: 1.25rem;
	height: 0.3rem;
	border-radius: 0.05rem;
	background: var(--mini-dark, #364c3e);
}

.editor-mini-sheet i {
	top: 1.35rem;
	right: 0.5rem;
	left: 0.5rem;
	height: 0.18rem;
	background: var(--mini, #8eaa97);
}

.editor-mini-sheet b {
	top: 1.85rem;
	left: 0.5rem;
	width: 56%;
	height: 0.9rem;
	background: repeating-linear-gradient(#d6ddd8 0 0.12rem, transparent 0.12rem 0.3rem);
}

.editor-mini-sheet em {
	top: 1.85rem;
	right: 0.5rem;
	width: 21%;
	height: 0.85rem;
	background: var(--mini, #8eaa97);
	opacity: 0.28;
}

.editor-mini-sheet--executive {
	--mini: #3471bf;
	--mini-dark: #1f3151;
	background: #f1f5fa;
}

.editor-mini-sheet--editorial {
	--mini: #ba684f;
	--mini-dark: #4e2c26;
	background: #faf4f0;
}

.editor-settings {
	padding-top: 0.85rem;
	border-top: 1px solid #e6ebe8;
}

.editor-setting {
	border: 0;
	border-bottom: 1px solid #e7ebe8;
	background: transparent;
}

.editor-setting__toggle {
	gap: 0.7rem;
	padding: 0.7rem 0.1rem;
	background: transparent;
	box-shadow: none;
	color: #2b352f;
	font-size: 0.75rem;
}

.editor-setting__toggle:not(.collapsed) {
	background: transparent;
	box-shadow: none;
	color: var(--editor-brand-dark);
}

.editor-setting__toggle:focus-visible {
	border-radius: 0.5rem;
	outline: 0.18rem solid rgba(36, 54, 42, 0.5);
	outline-offset: 0.1rem;
	box-shadow: none;
}

.editor-setting__toggle::after {
	width: 0.8rem;
	height: 0.8rem;
	background-size: 0.8rem;
}

.editor-setting__icon {
	width: 1.75rem;
	height: 1.75rem;
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	border: 1px solid #e0e6e2;
	border-radius: 0.5rem;
	background: #fff;
	color: var(--editor-brand);
}

.editor-setting__icon svg {
	width: 0.95rem;
	height: 0.95rem;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.6;
}

.editor-setting__copy {
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.65rem;
	flex: 1;
}

.editor-setting__copy strong {
	font-weight: 700;
}

.editor-setting__copy small {
	overflow-wrap: anywhere;
	color: #657068;
	font-size: 0.61rem;
	font-weight: 500;
}

.editor-setting__body {
	padding: 0.1rem 0.15rem 0.8rem 2.55rem;
	color: #657068;
	font-size: 0.68rem;
}

.editor-choice-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
}

.editor-choice-grid--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.editor-choice-list {
	display: grid;
	gap: 0.4rem;
}

.editor-choice {
	min-width: 0;
	min-height: 2.05rem;
	padding: 0.42rem 0.35rem;
	border: 1px solid #e1e6e3;
	border-radius: 0.5rem;
	background: #fff;
	color: #657068;
	font-size: 0.65rem;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.editor-choice:hover:not(:disabled) {
	border-color: #afbeb4;
}

.editor-choice.is-selected {
	border-color: var(--editor-brand);
	background: #f1f6f3;
	box-shadow: inset 0 0 0 1px var(--editor-brand);
	color: var(--editor-brand-dark);
	font-weight: 750;
}

.editor-choice.is-selected::before {
	content: "✓ ";
}

.editor-choice:focus-visible,
.editor-color-option:focus-visible {
	outline: 0.16rem solid rgba(36, 54, 42, 0.48);
	outline-offset: 0.1rem;
}

.editor-choice:disabled {
	background: #f7f8f7;
	color: #9aa39d;
}

.editor-color-options {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.18rem;
}

.editor-color-option {
	width: 1.65rem;
	height: 1.65rem;
	position: relative;
	border: 0.2rem solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 1px #d9dfdb;
}

.editor-color-option.is-selected {
	box-shadow: 0 0 0 2px var(--editor-brand-dark);
}

.editor-color-option.is-selected::after {
	content: "✓";
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: #fff;
	font-size: 0.7rem;
	font-weight: 900;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

.editor-color-option:disabled {
	opacity: 0.55;
}

.editor-color-option--sage { background: #6f8f79; }
.editor-color-option--blue { background: #2f66cc; }
.editor-color-option--clay { background: #c4644b; }
.editor-color-option--plum { background: #7a56b3; }

.editor-setting__body .form-control,
.editor-setting__body .form-select {
	border-color: #dde4df;
	border-radius: 0.5rem;
	font-size: 0.7rem;
}

.editor-setting__body :disabled {
	cursor: not-allowed;
}

.editor-control-group {
	min-width: 0;
	display: grid;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	border: 0;
}

.editor-control-label {
	margin-top: 0.15rem;
	color: #56625b;
	font-size: 0.62rem;
	font-weight: 700;
}

.editor-control-note {
	margin: 0.5rem 0 0;
	color: #657068;
	font-size: 0.6rem;
	line-height: 1.4;
}

.editor-footer-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: 0.35rem;
	color: #657068;
	font-size: 0.58rem;
}

.editor-footer-meta output {
	flex: 0 0 auto;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
}

#footerText {
	min-height: 3.8rem;
	resize: vertical;
}

.editor-panel__footer {
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid #e1e7e3;
	font-size: 0.68rem;
	text-align: left;
}

.editor-panel__footer a {
	min-height: 2.75rem;
	display: inline-flex;
	align-items: center;
	color: #4f5f55;
	font-weight: 750;
	text-underline-offset: 0.14rem;
}

.editor-panel__footer a:focus-visible {
	border-radius: 0.15rem;
	outline: 0.15rem solid rgba(36, 54, 42, 0.48);
	outline-offset: 0.16rem;
}

.editor-secondary-links {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	margin-top: 0.35rem;
	text-align: center;
}

.editor-secondary-links a {
	justify-content: center;
	max-width: 100%;
	padding-inline: 0.25rem;
	overflow-wrap: anywhere;
}

.editor-version {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	column-gap: 0.35rem;
	row-gap: 0.1rem;
	margin-top: 0.45rem;
	color: #657068;
	font-size: 0.62rem;
	text-align: center;
}

.editor-version a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
}
