.floweralba-editor-active .wp-editor-tabs,
.floweralba-editor-active .floweralba-editor__native > .quicktags-toolbar,
.floweralba-editor-active .floweralba-editor__native > .mce-tinymce,
.floweralba-editor-active .floweralba-editor__native > .mce-container {
	display: none !important;
}

.floweralba-editor-active .floweralba-editor__native {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
}

.floweralba-editor-active .floweralba-editor__textarea {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.floweralba-editor {
	--floweralba-editor-accent: #ef858a;
	--floweralba-editor-accent-soft: #fff1f2;
	--floweralba-editor-text: #20252d;
	--floweralba-editor-muted: #747b86;
	--floweralba-editor-line: #e5e7eb;
	--floweralba-editor-surface: #fff;
	--floweralba-editor-toolbar: #fafafa;
	position: relative;
	width: 100%;
	margin: 0;
	border: 1px solid var(--floweralba-editor-line);
	border-radius: 12px;
	background: var(--floweralba-editor-surface);
	box-shadow: 0 1px 2px rgba(17, 24, 39, .04);
	overflow: visible;
	box-sizing: border-box;
}

.floweralba-editor__toolbar {
	position: relative;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	min-height: 52px;
	padding: 8px 10px;
	border-bottom: 1px solid var(--floweralba-editor-line);
	border-radius: 12px 12px 0 0;
	background: var(--floweralba-editor-toolbar);
	box-sizing: border-box;
}

.floweralba-editor__group {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding-right: 7px;
	margin-right: 1px;
	border-right: 1px solid #e2e4e8;
}

.floweralba-editor__group:last-child,
.floweralba-editor__group--history {
	padding-right: 0;
	margin-left: auto;
	margin-right: 0;
	border-right: 0;
}

.floweralba-editor__button,
.floweralba-editor__color {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: #4f5865;
	font-family: inherit;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	transition: color .15s ease, background-color .15s ease, transform .15s ease;
	box-shadow: none;
	box-sizing: border-box;
}

.floweralba-editor__button:hover,
.floweralba-editor__button:focus-visible,
.floweralba-editor__color:hover,
.floweralba-editor__color:focus-within {
	background: #eceff2;
	color: #1f2937;
	outline: 0;
}

.floweralba-editor__button:focus-visible,
.floweralba-editor__select:focus-visible,
.floweralba-editor__color:focus-within {
	box-shadow: 0 0 0 2px rgba(239, 133, 138, .28);
}

.floweralba-editor__button.is-active {
	background: var(--floweralba-editor-accent-soft);
	color: #d95862;
}

.floweralba-editor__button:disabled {
	opacity: .32;
	cursor: not-allowed;
}

.floweralba-editor__button svg {
	width: 19px;
	height: 19px;
	fill: currentColor;
}

.floweralba-editor__emoji-button-icon {
	display: block;
	font-size: 20px;
	line-height: 1;
}

.floweralba-editor__button .is-underline {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.floweralba-editor__button .is-strike {
	text-decoration: line-through;
}

.floweralba-editor__select {
	width: auto;
	min-width: 106px;
	height: 34px;
	margin: 0;
	padding: 0 30px 0 10px;
	border: 1px solid #dde1e6;
	border-radius: 7px;
	background-color: #fff;
	color: #343b45;
	font-family: inherit;
	font-size: 13px;
	line-height: 32px;
	box-shadow: none;
	box-sizing: border-box;
}

.floweralba-editor__select--font-size {
	min-width: 128px;
}

.floweralba-editor__color {
	position: relative;
	font-weight: 700;
	overflow: hidden;
}

.floweralba-editor__color::after {
	content: '';
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 5px;
	height: 3px;
	border-radius: 2px;
	background: var(--floweralba-editor-current-color, var(--floweralba-editor-accent));
}

.floweralba-editor__color input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.floweralba-editor__background-color span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 20px;
	padding: 0 3px;
	border-radius: 3px;
	background: var(--floweralba-editor-current-background, #fff1a8);
	font-size: 11px;
	font-weight: 750;
	line-height: 1;
	box-sizing: border-box;
}

.floweralba-editor__background-color::after {
	display: none;
}

.floweralba-editor__color.is-disabled {
	opacity: .32;
	cursor: not-allowed;
}

.floweralba-editor__button--background-clear {
	margin-left: -2px;
}

.floweralba-editor__button--background-clear svg {
	width: 17px;
	height: 17px;
}

.floweralba-editor__content {
	position: relative;
	background: #fff;
	box-sizing: border-box;
}

.floweralba-editor .floweralba-editor__source {
	display: none !important;
	width: 100%;
	min-height: var(--floweralba-editor-height, 360px);
	max-height: min(70vh, 720px);
	margin: 0;
	padding: 20px 22px;
	overflow: auto;
	resize: vertical;
	border: 0;
	border-radius: 0;
	background: #fff;
	color: #252a32;
	font-family: Consolas, Monaco, 'Courier New', monospace;
	font-size: 13px;
	line-height: 1.65;
	outline: 0;
	box-shadow: none;
	box-sizing: border-box;
}

.floweralba-editor.is-source-mode .floweralba-editor__content {
	display: none;
}

.floweralba-editor.is-source-mode .floweralba-editor__source {
	display: block !important;
}

.floweralba-editor__prosemirror {
	min-height: var(--floweralba-editor-height, 360px);
	max-height: min(70vh, 720px);
	padding: 24px 26px;
	overflow-y: auto;
	color: var(--floweralba-editor-text);
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.75;
	letter-spacing: -.01em;
	white-space: pre-wrap;
	word-break: break-word;
	outline: none;
	box-sizing: border-box;
}

.floweralba-editor__prosemirror > :first-child {
	margin-top: 0;
}

.floweralba-editor__prosemirror > :last-child {
	margin-bottom: 0;
}

.floweralba-editor__prosemirror p {
	margin: 0 0 1em;
}

.floweralba-editor__prosemirror h2,
.floweralba-editor__prosemirror h3 {
	margin: 1.25em 0 .55em;
	color: #171b22;
	font-weight: 750;
	line-height: 1.35;
}

.floweralba-editor__prosemirror h2 {
	font-size: 1.45em;
}

.floweralba-editor__prosemirror h3 {
	font-size: 1.2em;
}

.floweralba-editor__prosemirror ul,
.floweralba-editor__prosemirror ol {
	margin: .8em 0 1em;
	padding-left: 1.6em;
}

.floweralba-editor__prosemirror blockquote {
	margin: 1em 0;
	padding: 12px 16px;
	border-left: 4px solid var(--floweralba-editor-accent);
	border-radius: 0 8px 8px 0;
	background: #fff7f7;
	color: #545b65;
}

.floweralba-editor__prosemirror a {
	color: #df626a;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.floweralba-editor__prosemirror img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 16px auto;
	border-radius: 8px;
}

.floweralba-icon,
.floweralba-editor__prosemirror .floweralba-icon {
	display: inline-block;
	width: 1.65em;
	height: 1.65em;
	max-width: none;
	margin: 0 .12em;
	border: 0;
	border-radius: 0;
	background: transparent;
	object-fit: contain;
	vertical-align: -.42em;
	line-height: 1;
	box-shadow: none;
}

span.floweralba-icon,
.floweralba-editor__prosemirror span.floweralba-icon {
	width: auto;
	height: auto;
	font-size: 1.35em;
	vertical-align: -.16em;
}

.floweralba-editor__prosemirror .floweralba-icon.ProseMirror-selectednode {
	border-radius: 4px;
	outline: 2px solid rgba(239, 133, 138, .42);
	outline-offset: 2px;
}

.floweralba-icon-restricted {
	display: inline;
	padding: .12em .38em;
	border-radius: 4px;
	background: #fff1f1;
	color: #b24f56;
	font-size: .82em;
	font-weight: 600;
	line-height: 1.5;
}

.floweralba-editor__prosemirror hr {
	margin: 24px 0;
	border: 0;
	border-top: 1px solid var(--floweralba-editor-line);
}

.floweralba-editor__prosemirror .tableWrapper {
	margin: 18px 0;
	overflow-x: auto;
}

.floweralba-editor__prosemirror table {
	width: 100%;
	min-width: 480px;
	border-collapse: collapse;
	table-layout: fixed;
}

.floweralba-editor__prosemirror th,
.floweralba-editor__prosemirror td {
	position: relative;
	min-width: 80px;
	padding: 9px 10px;
	border: 1px solid #d9dde3;
	vertical-align: top;
	box-sizing: border-box;
}

.floweralba-editor__prosemirror th {
	background: #f6f7f8;
	font-weight: 700;
}

.floweralba-editor__prosemirror .selectedCell::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: rgba(239, 133, 138, .14);
}

.floweralba-callout {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr);
	gap: 4px 14px;
	margin: 18px 0;
	padding: 17px 18px 14px;
	border: 1px solid rgba(31, 41, 55, .1);
	border-left: 5px solid #ef858a;
	border-radius: 12px;
	background: #fff5f6;
	color: #303640;
	box-sizing: border-box;
}

.floweralba-callout__icon {
	display: flex;
	grid-row: 1 / span 2;
	align-items: center;
	justify-content: center;
	align-self: start;
	width: 54px;
	height: 54px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .76);
	font-size: 30px;
	line-height: 1;
	overflow: hidden;
	box-shadow: inset 0 0 0 1px rgba(31, 41, 55, .06);
}

.floweralba-callout__icon img,
.floweralba-editor__prosemirror .floweralba-callout__icon img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	margin: 0;
	border-radius: 0;
	object-fit: contain;
}

.floweralba-callout__content {
	min-width: 0;
}

.floweralba-callout__title {
	margin: 0 0 5px;
	color: #242a33;
	font-size: 16px;
	font-weight: 750;
	line-height: 1.45;
}

.floweralba-callout__body {
	font-size: 14px;
	line-height: 1.7;
}

.floweralba-callout__body > :first-child {
	margin-top: 0;
}

.floweralba-callout__body > :last-child,
.floweralba-editor__prosemirror .floweralba-callout__body > :last-child {
	margin-bottom: 0;
}

.floweralba-callout__attribution {
	grid-column: 2;
	justify-self: end;
	margin-top: 5px;
	color: #757c86;
	font-size: 10px;
	line-height: 1.4;
	text-decoration: none;
}

.floweralba-callout__attribution:hover {
	color: #df626a;
	text-decoration: underline;
}

.floweralba-editor__prosemirror .floweralba-callout.ProseMirror-selectednode {
	box-shadow: 0 0 0 2px rgba(239, 133, 138, .34);
}

.floweralba-editor__prosemirror p.is-editor-empty:first-child::before {
	content: attr(data-placeholder);
	float: left;
	height: 0;
	color: #a1a7b0;
	pointer-events: none;
}

.floweralba-editor__status {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 35px;
	padding: 7px 12px;
	border-top: 1px solid #f0f1f3;
	border-radius: 0 0 12px 12px;
	background: #fcfcfd;
	color: var(--floweralba-editor-muted);
	font-size: 11px;
	line-height: 1.45;
	box-sizing: border-box;
}

.floweralba-editor__counter {
	margin-left: auto;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.floweralba-editor__counter.is-near-limit {
	color: #d95862;
	font-weight: 700;
}

.floweralba-editor__counter.is-below-minimum {
	color: #b7791f;
}

.floweralba-editor__link-panel {
	position: absolute;
	z-index: 10020;
	top: calc(100% + 8px);
	right: 0;
	width: min(360px, calc(100vw - 32px));
	padding: 14px;
	border: 1px solid #dde1e6;
	border-radius: 11px;
	background: #fff;
	box-shadow: 0 16px 42px rgba(17, 24, 39, .16);
	box-sizing: border-box;
}

.floweralba-editor__link-panel[hidden] {
	display: none !important;
}

.floweralba-editor__link-panel label {
	display: block;
	margin: 0 0 10px;
	color: #343b45;
	font-size: 12px;
	font-weight: 700;
}

.floweralba-editor__link-panel input {
	display: block;
	width: 100%;
	height: 40px;
	margin: 6px 0 0;
	padding: 0 11px;
	border: 1px solid #d6dae0;
	border-radius: 7px;
	font-size: 14px;
	box-shadow: none;
	box-sizing: border-box;
}

.floweralba-editor__link-panel input:focus {
	border-color: #ef969b;
	outline: 0;
	box-shadow: 0 0 0 3px rgba(239, 133, 138, .12);
}

.floweralba-editor__link-panel > div {
	display: flex;
	gap: 6px;
}

.floweralba-editor__link-panel button {
	height: 34px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid #dfe2e6;
	border-radius: 7px;
	background: #fff;
	color: #454c57;
	font-size: 12px;
	font-weight: 650;
	cursor: pointer;
	box-shadow: none;
}

.floweralba-editor__link-panel button[type='submit'] {
	border-color: var(--floweralba-editor-accent);
	background: var(--floweralba-editor-accent);
	color: #fff;
}

.floweralba-editor__link-panel small {
	display: block;
	margin-top: 10px;
	color: #868d97;
	font-size: 10px;
	line-height: 1.5;
}

.floweralba-editor__box-panel {
	position: absolute;
	z-index: 10020;
	top: calc(100% + 8px);
	right: 0;
	width: min(520px, calc(100vw - 32px));
	padding: 15px;
	border: 1px solid #dde1e6;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 16px 42px rgba(17, 24, 39, .16);
	box-sizing: border-box;
}

.floweralba-editor__box-panel[hidden] {
	display: none !important;
}

.floweralba-editor__emoji-panel {
	position: absolute;
	z-index: 10020;
	top: 60px;
	left: 12px;
	width: min(560px, calc(100% - 24px));
	border: 1px solid #dde1e6;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 16px 42px rgba(17, 24, 39, .16);
	overflow: hidden;
	box-sizing: border-box;
}

.floweralba-editor__emoji-panel[hidden] {
	display: none !important;
}

.floweralba-editor__emoji-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 44px;
	padding: 8px 10px 8px 14px;
	border-bottom: 1px solid #eceef1;
}

.floweralba-editor__emoji-header strong {
	color: #303640;
	font-size: 13px;
}

.floweralba-editor__emoji-tabs {
	display: flex;
	align-items: stretch;
	gap: 2px;
	padding: 7px 8px 0;
	border-bottom: 1px solid #e7e9ed;
	overflow-x: auto;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

.floweralba-editor__emoji-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	gap: 5px;
	min-height: 38px;
	margin: 0 0 -1px;
	padding: 0 10px;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 7px 7px 0 0;
	background: transparent;
	color: #69717d;
	font-family: inherit;
	cursor: pointer;
	box-shadow: none;
}

.floweralba-editor__emoji-tab > span {
	font-size: 18px;
	line-height: 1;
}

.floweralba-editor__emoji-tab small {
	font-size: 11px;
	font-weight: 650;
	white-space: nowrap;
}

.floweralba-editor__emoji-tab:hover,
.floweralba-editor__emoji-tab:focus-visible {
	background: #f5f6f7;
	outline: 0;
}

.floweralba-editor__emoji-tab.is-active {
	border-bottom-color: var(--floweralba-editor-accent);
	background: #fff7f7;
	color: #bd4f58;
}

.floweralba-editor__emoji-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(42px, 1fr));
	gap: 4px;
	min-height: 150px;
	max-height: min(46vh, 360px);
	padding: 10px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.floweralba-editor__emoji-option {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	margin: 0;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 8px;
	background: transparent;
	font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
	font-size: 25px;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
	box-sizing: border-box;
}

.floweralba-editor__emoji-option:hover,
.floweralba-editor__emoji-option:focus-visible {
	border-color: #f0b1b5;
	background: #fff5f5;
	outline: 0;
	transform: scale(1.06);
}

.floweralba-editor__emoji-empty {
	grid-column: 1 / -1;
	align-self: center;
	margin: 0;
	color: #858c96;
	font-size: 12px;
	text-align: center;
}

.floweralba-editor__upload-panel {
	position: absolute;
	z-index: 10020;
	top: 60px;
	left: 12px;
	width: min(400px, calc(100% - 24px));
	padding: 15px;
	border: 1px solid #dde1e6;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 16px 42px rgba(17, 24, 39, .16);
	box-sizing: border-box;
}

.floweralba-editor__upload-panel[hidden] {
	display: none !important;
}

.floweralba-editor__upload-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.floweralba-editor__upload-header strong {
	color: #303640;
	font-size: 14px;
}

.floweralba-editor__upload-close,
.floweralba-editor__emoji-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	margin: -5px -5px -5px 0;
	padding: 0;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: #69717d;
	font-size: 23px;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
}

.floweralba-editor__upload-close:hover,
.floweralba-editor__upload-close:focus-visible,
.floweralba-editor__emoji-close:hover,
.floweralba-editor__emoji-close:focus-visible {
	background: #f3f4f6;
	outline: 0;
}

.floweralba-editor__upload-hint {
	margin: 8px 0 13px;
	color: #747b86;
	font-size: 12px;
	line-height: 1.5;
}

.floweralba-editor__upload-choose {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 17px;
	border: 1px solid var(--floweralba-editor-accent);
	border-radius: 8px;
	background: var(--floweralba-editor-accent);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	box-sizing: border-box;
}

.floweralba-editor__upload-choose input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.floweralba-editor__upload-progress {
	display: block;
	width: 100%;
	height: 6px;
	margin: 13px 0 0;
	accent-color: var(--floweralba-editor-accent);
}

.floweralba-editor__upload-progress[hidden] {
	display: none;
}

.floweralba-editor__upload-status {
	min-height: 18px;
	margin-top: 9px;
	color: #656d78;
	font-size: 11px;
	line-height: 1.55;
}

.floweralba-editor__upload-status:empty {
	display: none;
}

.floweralba-editor__upload-status.is-error {
	color: #b4232c;
}

.floweralba-editor__upload-status.is-success {
	color: #24713b;
}

.floweralba-editor__box-panel > strong {
	display: block;
	margin: 0 0 11px;
	color: #303640;
	font-size: 13px;
}

.floweralba-editor__box-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(54px, 1fr));
	gap: 8px;
	max-height: min(54vh, 440px);
	overflow-y: auto;
}

.floweralba-editor__box-option {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 54px;
	min-height: 54px;
	margin: 0;
	padding: 5px;
	border: 1px solid #e1e4e8;
	border-radius: 9px;
	background: #fff;
	color: #303640;
	cursor: pointer;
	box-shadow: none;
	box-sizing: border-box;
}

.floweralba-editor__box-option:hover,
.floweralba-editor__box-option:focus-visible {
	border-color: var(--floweralba-editor-accent);
	background: #fff7f7;
	outline: 0;
	box-shadow: 0 0 0 2px rgba(239, 133, 138, .14);
}

.floweralba-editor__box-option-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 7px;
	background: transparent;
	font-size: 26px;
	overflow: hidden;
}

.floweralba-editor__box-option-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.floweralba-editor__button.is-premium-locked {
	position: relative;
	opacity: .46;
}

.floweralba-editor__button.is-premium-locked::after {
	content: '';
	position: absolute;
	right: 5px;
	bottom: 5px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #e8a52c;
}

@media (max-width: 767px) {
	.floweralba-editor {
		border-radius: 10px;
	}

	.floweralba-editor__toolbar {
		flex-wrap: nowrap;
		gap: 5px;
		min-height: 50px;
		padding: 7px 8px;
		border-radius: 10px 10px 0 0;
		overflow-x: auto;
		overflow-y: hidden;
		scrollbar-width: thin;
		-webkit-overflow-scrolling: touch;
	}

	.floweralba-editor.has-link-panel .floweralba-editor__toolbar,
	.floweralba-editor.has-box-panel .floweralba-editor__toolbar,
	.floweralba-editor.has-emoji-panel .floweralba-editor__toolbar,
	.floweralba-editor.has-upload-panel .floweralba-editor__toolbar {
		overflow: visible;
	}

	.floweralba-editor__group {
		flex: 0 0 auto;
	}

	.floweralba-editor__group--history {
		margin-left: 0;
	}

	.floweralba-editor__button,
	.floweralba-editor__color {
		flex-basis: 36px;
		width: 36px;
		height: 36px;
	}

	.floweralba-editor__select {
		height: 36px;
	}

	.floweralba-editor__prosemirror {
		min-height: max(260px, min(var(--floweralba-editor-height, 340px), 52vh));
		max-height: 62vh;
		padding: 18px 16px;
		font-size: 15px;
		line-height: 1.72;
	}

	.floweralba-editor__source {
		min-height: max(260px, min(var(--floweralba-editor-height, 340px), 52vh));
		max-height: 62vh;
		padding: 16px;
		font-size: 12px;
	}

	.floweralba-editor__status {
		padding: 7px 10px;
	}

	.floweralba-editor__link-panel {
		position: fixed;
		top: auto;
		right: 12px;
		bottom: max(16px, env(safe-area-inset-bottom));
		left: 12px;
		width: auto;
	}

	.floweralba-editor__box-panel {
		position: fixed;
		top: auto;
		right: 12px;
		bottom: max(16px, env(safe-area-inset-bottom));
		left: 12px;
		width: auto;
		max-height: min(72vh, 560px);
		overflow: hidden;
	}

	.floweralba-editor__emoji-panel {
		position: fixed;
		top: auto;
		right: 12px;
		bottom: max(16px, env(safe-area-inset-bottom));
		left: 12px;
		width: auto;
		max-height: min(72vh, 580px);
	}

	.floweralba-editor__emoji-tab {
		min-width: 46px;
		padding: 0 8px;
	}

	.floweralba-editor__emoji-tab small {
		display: none;
	}

	.floweralba-editor__emoji-grid {
		grid-template-columns: repeat(auto-fill, minmax(42px, 1fr));
		max-height: min(52vh, 430px);
	}

	.floweralba-editor__upload-panel {
		position: fixed;
		top: auto;
		right: 12px;
		bottom: max(16px, env(safe-area-inset-bottom));
		left: 12px;
		width: auto;
	}

	.floweralba-editor__box-grid {
		grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
		max-height: min(58vh, 440px);
	}

	.floweralba-callout {
		grid-template-columns: 44px minmax(0, 1fr);
		gap: 3px 11px;
		padding: 14px 13px 12px;
		border-radius: 10px;
	}

	.floweralba-callout__icon {
		width: 44px;
		height: 44px;
		border-radius: 10px;
		font-size: 24px;
	}
}

/*
 * The WordPress listing editor lives on a long, scrollable admin page. Let its
 * visual canvas grow with the content instead of creating a second scroll
 * area and retaining the old TinyMCE iframe height below short content.
 */
body.wp-admin.post-type-job_listing .floweralba-editor__prosemirror {
	min-height: 220px;
	max-height: none;
	overflow-y: visible;
}

@media (prefers-reduced-motion: reduce) {
	.floweralba-editor,
	.floweralba-editor__button {
		transition: none;
	}
}
