/**
 * FXNook Licensing - vendor and customer facing styling.
 *
 * Scoped under .fxn-panel / .fxn-vendor so it cannot collide with Dokan's own
 * styles or the Woodmart theme. Deliberately restrained: this sits inside
 * somebody else's page, so it borrows their typography rather than fighting it.
 */

/* =========================================================
   The licensing panel on the vendor's product form
   Three numbered steps. Compact on purpose: it is the first
   thing on the page and should not push the title off screen.
   ========================================================= */

.fxn-panel {
	border: 1px solid var(--fxn-line, #E7E5E2);
	border-radius: 10px;
	margin: 0 0 18px;
	background: #fff;
	overflow: hidden;
}

.fxn-panel__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	padding: 14px 18px;
	background: var(--fxn-surface, #F7F7F4);
	border-bottom: 1px solid var(--fxn-line, #E7E5E2);
}

.fxn-panel__title { font-size: 15px; font-weight: 700; margin: 0 0 3px; color: var(--fxn-ink, #231F20); line-height: 1.3; }
.fxn-panel__sub   { margin: 0; font-size: 12.5px; color: var(--fxn-muted, #6B6667); line-height: 1.5; }

.fxn-panel__badge {
	flex: 0 0 auto;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .3px;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 999px;
	white-space: nowrap;
	margin-top: 2px;
}
.fxn-panel__badge--good { background: var(--fxn-green-tint, #F2F8E6); color: var(--fxn-green-deep, #4A7515); }
.fxn-panel__badge--warn { background: #fdf3d8; color: #8a5a00; }

.fxn-panel__body { padding: 6px 18px 4px; }

/* ---------- Steps ---------- */

.fxn-step {
	display: flex;
	gap: 14px;
	padding: 16px 0;
	border-bottom: 1px solid var(--fxn-line, #E7E5E2);
}
.fxn-step--last { border-bottom: 0; }

.fxn-step__num {
	flex: 0 0 26px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--fxn-ink, #231F20);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 1px;
}

.fxn-step__body { flex: 1 1 auto; min-width: 0; }

.fxn-step__title { margin: 3px 0 10px; font-size: 14px; font-weight: 700; color: var(--fxn-ink, #231F20); }
.fxn-step__text  { margin: 0 0 10px; font-size: 13px; line-height: 1.55; color: var(--fxn-text, #4A4546); }
.fxn-step__text--muted { color: var(--fxn-muted, #6B6667); margin: 10px 0 0; }
.fxn-step__pending { margin: 0 0 10px !important; }

/* ---------- Fields ---------- */

.fxn-grid { display: grid; gap: 12px; margin: 0 0 12px; }
.fxn-grid--2       { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fxn-grid--version { grid-template-columns: 180px minmax(0, 1fr); }

.fxn-field { margin: 0 0 12px; min-width: 0; }
.fxn-grid .fxn-field { margin: 0; }
.fxn-field--narrow { max-width: 220px; }
.fxn-field--locked { opacity: .7; }

.fxn-field__label {
	display: block;
	font-weight: 600;
	font-size: 13px;
	margin: 0 0 5px;
	color: var(--fxn-ink, #231F20);
}

.fxn-req { color: #d63638; margin-left: 2px; }

.fxn-field__help { margin: 5px 0 0; font-size: 12px; line-height: 1.5; color: var(--fxn-muted, #6B6667); }

.fxn-panel .dokan-form-control {
	width: 100%;
	max-width: 100%;
	min-height: 38px;
	border: 1px solid var(--fxn-line-strong, #D5D2CE);
	border-radius: 6px;
	font-size: 14px;
	box-shadow: none;
	margin: 0;
}
.fxn-panel textarea.dokan-form-control { min-height: 62px; resize: vertical; }
.fxn-panel .dokan-form-control:focus { border-color: var(--fxn-green-deep, #4A7515); box-shadow: 0 0 0 2px rgba(74, 117, 21, .15); outline: 0; }

/* ---------- Prices: four cells in a row ---------- */

.fxn-prices {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.fxn-price {
	border: 1px solid var(--fxn-line, #E7E5E2);
	border-radius: 8px;
	padding: 10px 12px 9px;
	background: var(--fxn-surface, #F7F7F4);
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.fxn-price__name { font-weight: 600; font-size: 13px; color: var(--fxn-ink, #231F20); }
.fxn-price__term { font-size: 11.5px; color: var(--fxn-muted, #6B6667); }
.fxn-price .dokan-form-control { min-height: 36px; }

/* ---------- Include line and buttons ---------- */

.fxn-include { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; flex-wrap: wrap; }
.fxn-include .fxn-code { flex: 1 1 320px; margin: 0; }

.fxn-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.fxn-actions .dokan-btn { border-radius: 6px; }
.fxn-actions .is-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }

/* ---------- The confirmation tick ---------- */

.fxn-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 14px;
	padding: 11px 13px;
	border: 1px solid var(--fxn-line, #E7E5E2);
	border-radius: 8px;
	background: var(--fxn-surface, #F7F7F4);
	font-size: 13.5px;
	font-weight: 600;
	color: var(--fxn-ink, #231F20);
	cursor: pointer;
}
.fxn-check input { margin: 3px 0 0; flex: 0 0 auto; }

/* ---------- Callouts ---------- */

.fxn-callout {
	border-left: 3px solid #c3c4c7;
	border-radius: 0 6px 6px 0;
	padding: 10px 14px;
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.55;
}
.fxn-callout p:first-child { margin-top: 0; }
.fxn-callout p:last-child  { margin-bottom: 0; }
.fxn-callout strong { display: block; margin-bottom: 2px; }

.fxn-callout--info { background: var(--fxn-surface, #F7F7F4); border-left-color: var(--fxn-green-deep, #4A7515); }
.fxn-callout--warn { background: #fcf9e8; border-left-color: #dba617; }
.fxn-callout--lock { background: #fcf9e8; border-left-color: #dba617; margin-top: 12px; }

/* ---------- The locked upload section ---------- */

.dokan-download-options.fxn-locked { position: relative; }

.dokan-download-options.fxn-locked .dokan-section-content {
	opacity: .35;
	pointer-events: none;
	user-select: none;
	filter: grayscale(1);
}

.dokan-download-options.fxn-locked::after {
	content: attr(data-fxn-lock);
	position: absolute;
	left: 50%;
	top: 55%;
	transform: translate(-50%, -50%);
	background: var(--fxn-ink, #231F20);
	color: #fff;
	padding: 10px 16px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
	max-width: 88%;
	text-align: center;
	box-shadow: 0 8px 24px rgba(35, 31, 32, .25);
	z-index: 2;
}

/* ---------- The gate notice ---------- */

.fxn-gate-notice ul { margin: 6px 0 0 18px; }
.fxn-gate-notice li { margin: 2px 0; }

@media screen and ( max-width: 760px ) {
	.fxn-grid--2, .fxn-grid--version { grid-template-columns: 1fr; }
	.fxn-prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fxn-panel__head { flex-direction: column; }
}

/* =========================================================
   The vendor dashboard tab
   ========================================================= */

.fxn-vendor .fxn-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 24px; }

.fxn-vendor .fxn-stats { display: flex; gap: 14px; flex-wrap: wrap; margin: 20px 0 30px; }

.fxn-vendor .fxn-stat {
	border: 1px solid var(--fxn-line, #E7E5E2);
	border-radius: 8px;
	padding: 16px 22px;
	min-width: 140px;
	background: #fff;
}

.fxn-vendor .fxn-stat__value { font-size: 26px; font-weight: 700; line-height: 1.1; }
.fxn-vendor .fxn-stat__label { font-size: 13px; color: #646970; margin-top: 3px; }

.fxn-vendor .fxn-ok      { color: var(--fxn-green-deep, #4A7515); font-weight: 600; }
.fxn-vendor .fxn-pending { color: #b32d2e; }
.fxn-vendor .fxn-idle    { color: #787c82; }

.fxn-code {
	display: block;
	background: var(--fxn-ink, #231F20);
	color: var(--fxn-line, #E7E5E2);
	font-family: Consolas, Monaco, monospace;
	font-size: 13px;
	padding: 12px 15px;
	border-radius: 6px;
	margin: 8px 0 0;
	overflow-x: auto;
	white-space: pre;
}

.fxn-steps { counter-reset: fxn; list-style: none; padding: 0; margin: 0 0 24px; max-width: 720px; }

.fxn-steps li {
	counter-increment: fxn;
	position: relative;
	padding: 0 0 18px 42px;
	font-size: 14px;
	line-height: 1.65;
}

.fxn-steps li::before {
	content: counter(fxn);
	position: absolute;
	left: 0;
	top: 0;
	width: 27px;
	height: 27px;
	border-radius: 50%;
	background: var(--fxn-green-deep, #4A7515);
	color: #fff;
	font-weight: 700;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* =========================================================
   The customer's My Licences page
   ========================================================= */

.fxn-licence {
	border: 1px solid var(--fxn-line, #E7E5E2);
	border-radius: 8px;
	margin: 0 0 20px;
	overflow: hidden;
	background: #fff;
}

.fxn-licence__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	padding: 14px 18px;
	background: var(--fxn-surface, #F7F7F4);
	border-bottom: 1px solid var(--fxn-line, #E7E5E2);
}

.fxn-licence__title { margin: 0; font-size: 16px; font-weight: 700; }
.fxn-licence__body  { padding: 4px 18px 18px; }

.fxn-licence table { margin: 0; border: 0; }
.fxn-licence table th { width: 170px; }

.fxn-state {
	border-radius: 11px;
	padding: 3px 12px;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

.fxn-state--active    { background: var(--fxn-green-tint, #F2F8E6); color: var(--fxn-green-deep, #4A7515); }
.fxn-state--expired   { background: #f0f0f1; color: #646970; }
.fxn-state--revoked,
.fxn-state--suspended { background: #fcf0f1; color: #b32d2e; }

.fxn-rebind { margin: 14px 0 0; }
.fxn-rebind summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.fxn-rebind__body { padding: 14px 0 0; }

@media screen and ( max-width: 600px ) {
	.fxn-price { flex-wrap: wrap; }
	.fxn-price__name { flex: 1 1 100%; }
	.fxn-licence table th { width: auto; display: block; padding-bottom: 0; }
	.fxn-licence table td { display: block; }
}

/* =========================================================
   The buy box on the single product page
   ========================================================= */

.fxn-buybox {
	margin: 0 0 20px;
	padding: 18px 20px 16px;
	border: 1px solid var(--fxn-line, #E7E5E2);
	border-radius: 12px;
	background: #fff;
	max-width: 460px;
	box-shadow: 0 6px 20px rgba(35, 31, 32, .05);
}

.fxn-buybox__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 14px;
}

.fxn-buybox__title {
	font-size: 15px;
	font-weight: 700;
	color: var(--fxn-ink, #231F20);
}

.fxn-buybox__type {
	display: inline-block;
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--fxn-surface-2, #EFEEEA);
	color: var(--fxn-text, #4A4546);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .3px;
	white-space: nowrap;
}

/* ---------- Licence options as cards ---------- */

.fxn-plans {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 10px;
	margin: 0 0 18px;
}

.fxn-plan { display: block; margin: 0; cursor: pointer; }

.fxn-plan input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

.fxn-plan__box {
	--pl: var(--fxn-green-deep, #4A7515);
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-areas: "icon name" "icon price" "icon note";
	column-gap: 10px;
	row-gap: 1px;
	align-content: start;
	height: 100%;
	padding: 11px 12px 10px;
	border: 1.5px solid var(--fxn-line, #E7E5E2);
	border-radius: 12px;
	background: linear-gradient(180deg, #fff, var(--fxn-surface, #F7F7F4));
	box-shadow: 0 1px 2px rgba(35, 31, 32, .04);
	transition: border-color .15s, box-shadow .15s, background .15s, transform .15s;
	box-sizing: border-box;
}
.fxn-plan__icon {
	grid-area: icon;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 9px;
	background: var(--fxn-surface, #F7F7F4);
	color: var(--fxn-muted, #6B6667);
	transition: background .15s, color .15s;
}
.fxn-plan__icon svg { width: 17px; height: 17px; }
.fxn-plan__name  { grid-area: name; font-size: 10.5px; font-weight: 800; color: var(--fxn-muted, #6B6667); text-transform: uppercase; letter-spacing: .08em; line-height: 1.3; }
.fxn-plan__price { grid-area: price; font-size: 17px; font-weight: 800; color: var(--fxn-ink, #231F20); line-height: 1.2; white-space: nowrap; }
.fxn-plan__price .woocommerce-Price-amount { font-weight: 800; color: inherit; }
.fxn-plan__note  { grid-area: note; font-size: 11.5px; color: var(--fxn-muted, #6B6667); line-height: 1.35; }

.fxn-plan--free .fxn-plan__box     { --pl: var(--fxn-green-deep, #4A7515); }
.fxn-plan--lifetime .fxn-plan__box { --pl: #b7791f; }

.fxn-plan:hover .fxn-plan__box { border-color: var(--fxn-line-strong, #D5D2CE); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(35, 31, 32, .08); }

.fxn-plan input:checked + .fxn-plan__box {
	border-color: var(--pl);
	background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--pl) 6%, #fff));
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--pl) 16%, transparent), 0 4px 12px rgba(35, 31, 32, .06);
}
.fxn-plan input:checked + .fxn-plan__box .fxn-plan__icon { background: var(--pl); color: #fff; }
.fxn-plan input:checked + .fxn-plan__box .fxn-plan__name { color: var(--pl); }

.fxn-plan input:focus-visible + .fxn-plan__box { outline: 2px solid var(--fxn-green-deep, #4A7515); outline-offset: 2px; }

/* The plan that is chosen gets a tick in the corner. */
.fxn-plan input:checked + .fxn-plan__box::after {
	content: "";
	position: absolute;
	top: 7px;
	right: 7px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: var(--pl) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 9px no-repeat;
}

.fxn-buybox .fxn-field { margin-bottom: 16px; }
.fxn-buybox .fxn-field:last-child { margin-bottom: 0; }

.fxn-buybox .fxn-select,
.fxn-buybox .fxn-input {
	width: 100%;
	max-width: 100%;
	padding: 9px 12px;
	border: 1px solid #c3c4c7;
	border-radius: 5px;
	font-size: 15px;
	line-height: 1.4;
	background: #fff;
	box-sizing: border-box;
}

.fxn-buybox .fxn-select:focus,
.fxn-buybox .fxn-input:focus {
	border-color: var(--fxn-green-deep, #4A7515);
	outline: 2px solid transparent;
	box-shadow: 0 0 0 1px var(--fxn-green-deep, #4A7515);
}

.fxn-buybox .fxn-input:invalid:not(:placeholder-shown) {
	border-color: #d63638;
}

.fxn-buybox .fxn-field__label { font-size: 14px; }

/* =========================================================
   Status tags
   ========================================================= */

.fxn-tag {
	display: inline-block;
	border-radius: 11px;
	padding: 3px 11px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.6;
	white-space: nowrap;
}

.fxn-tag--good { background: var(--fxn-green-tint, #F2F8E6); color: var(--fxn-green-deep, #4A7515); }
.fxn-tag--warn { background: #fcf9e8; color: #996800; }
.fxn-tag--bad  { background: #fcf0f1; color: #b32d2e; }
.fxn-tag--idle { background: #f0f0f1; color: #646970; }
.fxn-tag--test { background: var(--fxn-surface, #F7F7F4); color: var(--fxn-text, #4A4546); font-weight: 600; }

/* A rejection needs to be impossible to scroll past. */
.fxn-callout--reject {
	background: #fcf0f1;
	border-left-color: #b32d2e;
	max-width: 760px;
}

/* =========================================================
   The licensing guide window
   ========================================================= */

.fxn-modal { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.fxn-modal[hidden] { display: none !important; }

.fxn-modal__backdrop { position: absolute; inset: 0; background: rgba(35, 31, 32, .55); }

.fxn-modal__box {
	position: relative;
	background: #fff;
	border-radius: 10px;
	width: 100%;
	max-width: 620px;
	max-height: 86vh;
	display: flex;
	flex-direction: column;
	box-shadow: 0 18px 50px rgba(35, 31, 32, .3);
}

.fxn-modal__head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--fxn-line, #E7E5E2);
}

.fxn-modal__title { margin: 0; font-size: 17px; font-weight: 700; flex: 1 1 auto; }

.fxn-modal__close {
	background: none;
	border: 0;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #646970;
	padding: 0 4px;
}

.fxn-modal__close:hover { color: var(--fxn-ink, #231F20); }

.fxn-modal__body { padding: 18px 20px; overflow-y: auto; font-size: 14px; line-height: 1.65; }
.fxn-modal__body p { margin: 0 0 14px; }

.fxn-modal__subtitle {
	margin: 22px 0 10px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: #646970;
}

.fxn-modal__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	padding: 14px 20px;
	border-top: 1px solid var(--fxn-line, #E7E5E2);
	background: var(--fxn-surface, #F7F7F4);
	border-radius: 0 0 10px 10px;
}

.fxn-modal__ack { font-size: 13px; display: flex; align-items: center; gap: 7px; margin: 0; }

.fxn-guide-steps { margin: 0 0 16px; padding-left: 20px; }
.fxn-guide-steps li { margin-bottom: 14px; line-height: 1.65; }

.fxn-guide-note { display: block; margin-top: 6px; font-size: 12px; color: #646970; line-height: 1.6; }

/* =========================================================
   Released versions
   ========================================================= */

.fxn-versions { margin: 0 0 18px; }
.fxn-versions .fxn-panel__body { padding: 16px 18px 6px; }
.fxn-versions__empty { margin: 0; padding: 14px 16px; border: 1px dashed var(--fxn-line-strong, #D5D2CE); border-radius: 8px; font-size: 13px; color: var(--fxn-muted, #6B6667); background: var(--fxn-surface, #F7F7F4); }
.fxn-versions__first { margin: 16px 0 6px; padding: 14px 16px 4px; border: 1px solid var(--fxn-line, #E7E5E2); border-radius: 10px; background: var(--fxn-surface, #F7F7F4); }
.fxn-versions__first .fxn-versions__title { margin: 0 0 10px; }
.fxn-callout--wait { background: #fdf6e3; border-color: #f2dea3; color: #6b4d00; }
.fxn-callout--bad  { background: #fdecec; border-color: #f3c3c3; color: #8a1f1f; }
.fxn-callout__quote { display: block; margin: 6px 0; padding: 6px 10px; border-left: 3px solid currentColor; opacity: .85; font-style: italic; }
.fxn-versions__title { font-weight: 700; font-size: 13px; margin: 0; }

.fxn-versions__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 10px;
}

.fxn-tag--warn { background: #fdf3d8; color: #8a5a00; }

/* ---------- Release files, inside Downloadable Options ---------- */

/* Dokan's own file table is removed by script; this covers the moment before it runs. */
.dokan-download-options.fxn-releases .dokan-download-wrapper table.dokan-table { display: none; }

.fxn-files { margin: 0 0 18px; padding: 16px 18px 14px; border: 1px solid var(--fxn-line, #E7E5E2); border-radius: 12px; background: #fff; scroll-margin-top: 90px; }
.fxn-files__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 0 0 12px; }
.fxn-files__head > div { flex: 1 1 320px; min-width: 0; }
.fxn-files__title { display: block; font-size: 15px; font-weight: 700; color: var(--fxn-ink, #231F20); margin: 0 0 3px; }
.fxn-files__sub { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--fxn-muted, #6B6667); }
.fxn-files__add { flex: 0 0 auto; white-space: nowrap; }

.fxn-files__list { margin: 0 0 4px; padding: 0; list-style: none; border: 1px solid var(--fxn-line, #E7E5E2); border-radius: 8px; overflow: hidden; }
.fxn-files__row {
	display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap;
	padding: 10px 14px; font-size: 13px; border-top: 1px solid var(--fxn-line, #E7E5E2); background: #fff;
}
.fxn-files__row:first-child { border-top: 0; }
.fxn-files__row.is-live    { background: var(--fxn-green-tint, #F2F8E6); }
.fxn-files__row.is-pending { background: #fdf6e3; }
.fxn-files__row.is-empty   { color: var(--fxn-muted, #6B6667); font-style: italic; }
.fxn-files__row.is-extra   { background: #fbfbfa; }
.fxn-files__acts { display: flex; flex-wrap: wrap; gap: 6px; }
.fxn-files__act {
	background: #fff; border: 1px solid var(--fxn-line, #E7E5E2); border-radius: 7px;
	padding: 4px 10px; font-size: 12px; font-weight: 600; color: var(--fxn-ink, #231F20); cursor: pointer;
}
.fxn-files__act:hover { background: var(--fxn-green-tint, #F2F8E6); border-color: var(--fxn-green, #9DCC4C); }
.fxn-files__act--drop:hover { background: #fdecea; border-color: #e6a29b; color: #b42318; }
.fxn-files__ver  { font-weight: 700; color: var(--fxn-ink, #231F20); flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-width: 96px; }
.fxn-files__name { flex: 1 1 220px; min-width: 0; color: var(--fxn-text, #4A4546); word-break: break-all; }
.fxn-files__name--missing { color: #b42318; font-weight: 600; }
/* What the vendor said changed in that version, under the file name. */
.fxn-files__log {
	display: block; margin-top: 3px; font-style: normal; font-size: 12px;
	line-height: 1.45; color: var(--fxn-muted, #6B6667); word-break: normal;
}
.fxn-files__foot {
	margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: var(--fxn-muted, #6B6667);
}
/* The version number is given by the shop, so it reads as a fact, not a field. */
.fxn-release__version--fixed {
	background: var(--fxn-surface-2, #EFEEEA) !important;
	color: var(--fxn-ink, #231F20) !important;
	font-weight: 700; cursor: default;
}
.fxn-files__when { flex: 0 0 auto; font-size: 12px; color: var(--fxn-muted, #6B6667); }
.fxn-files__lock {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; margin-left: auto;
	font-size: 11.5px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase;
	color: var(--fxn-muted, #6B6667); cursor: help;
}
.fxn-files .fxn-release { margin: 12px 0 0; }
.fxn-files .fxn-callout { margin: 0 0 12px; }

.fxn-versions__go { white-space: nowrap; }

@media (max-width: 600px) {
	.fxn-files { padding: 14px; }
	.fxn-files__add { flex: 1 1 100%; }
	.fxn-files__lock { margin-left: 0; }
}

/* ---------- Release a new version ---------- */

.fxn-release {
	margin: 14px 0 12px;
	padding: 18px 20px;
	border: 2px solid var(--fxn-green, #9DCC4C);
	border-radius: 12px;
	background: var(--fxn-green-tint, #F2F8E6);
}

.fxn-release__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 12px;
	font-size: 15px;
	color: var(--fxn-ink, #231F20);
}

.fxn-release__close {
	border: 0;
	background: transparent;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	color: var(--fxn-muted, #6B6667);
}

.fxn-release__steps { margin: 0; padding: 0 0 0 20px; }
.fxn-release__steps > li { margin: 0 0 14px; padding-left: 4px; }
.fxn-release__steps > li > strong { display: block; color: var(--fxn-ink, #231F20); margin-bottom: 4px; }
.fxn-release__steps > li > span { color: var(--fxn-muted, #6B6667); font-size: 13px; }

.fxn-release__file { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.fxn-release__filename { font-size: 13px; color: #8a5a00; }
.fxn-release__filename.is-set { color: var(--fxn-green-deep, #4A7515); font-weight: 700; }

.fxn-release__grid { display: grid; grid-template-columns: 180px 1fr; gap: 12px; }
.fxn-release__grid label { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.fxn-release__grid label > span { font-size: 13px; font-weight: 600; }
.fxn-release__grid small { color: var(--fxn-muted, #6B6667); font-size: 12px; }

.fxn-release__note {
	margin: 4px 0 12px;
	padding: 10px 12px;
	border-radius: 8px;
	background: var(--fxn-surface, #F7F7F4);
	color: var(--fxn-text, #4A4546);
	font-size: 12.5px;
}

.fxn-release__error {
	margin: 0 0 12px;
	padding: 10px 12px;
	border-radius: 8px;
	background: #fdecec;
	color: #b42318;
	font-weight: 600;
	font-size: 13px;
}

.fxn-release__actions { display: flex; flex-wrap: wrap; gap: 8px; }

.fxn-release-hint { margin: 10px 0 0; }

@media (max-width: 600px) {
	.fxn-release__grid { grid-template-columns: 1fr; }
}
.fxn-versions__list { margin: 0; padding: 0; list-style: none; border: 1px solid var(--fxn-line, #E7E5E2); border-radius: 6px; }

.fxn-versions__list li {
	display: flex;
	gap: 12px;
	align-items: baseline;
	flex-wrap: wrap;
	padding: 9px 13px;
	border-bottom: 1px solid var(--fxn-surface, #F7F7F4);
	font-size: 13px;
}

.fxn-versions__list li:last-child { border-bottom: 0; }
.fxn-versions__num  { font-weight: 700; flex: 0 0 auto; }
.fxn-versions__when { color: #787c82; font-size: 12px; flex: 0 0 auto; }
.fxn-versions__log  { color: #50575e; flex: 1 1 220px; }

@media screen and ( max-width: 600px ) {
	.fxn-modal { padding: 0; }
	.fxn-modal__box { max-height: 100vh; border-radius: 0; }
	.fxn-modal__foot { border-radius: 0; }
}

/* =========================================================
   The licence binding page (EA Licensing > product)
   Branded FXNook header, step card, question cards, AI helper.
   ========================================================= */

.fxn-lic { max-width: 820px; color: var(--fxn-ink, #231F20); }
.fxn-lic__back { margin: 0 0 14px; font-size: 13px; }
.fxn-lic__back a { color: var(--fxn-muted, #6B6667); text-decoration: none; }
.fxn-lic__back a:hover { color: var(--fxn-ink, #231F20); }

.fxn-lic__hero {
	background: linear-gradient(135deg, var(--fxn-ink, #231F20) 0%, var(--fxn-ink, #231F20) 55%, var(--fxn-ink-2, #3A3536) 100%);
	color: #fff;
	border-radius: 14px;
	padding: 26px 28px 24px;
	margin: 0 0 18px;
	box-shadow: 0 10px 30px rgba(35, 31, 32, .18);
	border-bottom: 3px solid var(--fxn-green, #9DCC4C);
}
.fxn-lic__brand { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.fxn-lic__mark {
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; border-radius: 10px;
	background: rgba(255,255,255,.14); color: #fff;
}
.fxn-lic__wordmark { font-size: 19px; font-weight: 800; letter-spacing: .3px; }
.fxn-lic__tag {
	font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
	padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.16);
}
.fxn-lic__title { margin: 0 0 8px !important; font-size: 24px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.2; }
.fxn-lic__meta { margin: 0 0 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.fxn-lic__chip {
	font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
	background: rgba(255,255,255,.18); color: #fff;
}
.fxn-lic__chip--muted { background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); }
.fxn-lic__lead { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.88); max-width: 640px; }

.fxn-lic__card {
	background: #fff;
	border: 1px solid var(--fxn-line, #E7E5E2);
	border-radius: 12px;
	padding: 22px 24px;
	margin: 0 0 18px;
}
.fxn-lic__h {
	display: flex; align-items: center; gap: 8px;
	margin: 0 0 12px !important; font-size: 17px !important; font-weight: 700 !important; color: var(--fxn-ink, #231F20) !important;
}
.fxn-lic__h svg { color: var(--fxn-ink-2, #3A3536); }
.fxn-lic__intro { margin: 0 0 16px; }
.fxn-lic__muted { color: var(--fxn-muted, #6B6667); font-size: 13px; line-height: 1.55; }
.fxn-lic__small { font-size: 12px; margin: 10px 0 0; }
.fxn-lic__callout { margin-bottom: 18px; }

.fxn-lic__steps { margin-bottom: 14px !important; max-width: none !important; }
.fxn-lic__steps li { padding-bottom: 16px; }
.fxn-lic__steps li::before { background: var(--fxn-green, #9DCC4C); color: var(--fxn-ink, #231F20); }
.fxn-lic__steps strong { color: var(--fxn-ink, #231F20); }

.fxn-lic__inline {
	background: var(--fxn-surface, #F7F7F4); color: var(--fxn-ink, #231F20); padding: 2px 7px; border-radius: 5px;
	font-family: Consolas, Monaco, monospace; font-size: 12.5px;
}

.fxn-lic__codewrap { display: flex; align-items: stretch; gap: 8px; margin: 8px 0 4px; }
.fxn-lic__codewrap .fxn-lic__code { flex: 1 1 auto; margin: 0; }
.fxn-lic__code {
	background: var(--fxn-ink, #231F20) !important; color: var(--fxn-line, #E7E5E2) !important;
	font-size: 13px !important; line-height: 1.5; padding: 11px 14px !important;
	border-radius: 8px !important; margin: 6px 0 12px; white-space: pre; overflow-x: auto;
	display: block;
}

.fxn-lic__copy {
	flex: 0 0 auto;
	border: 1px solid var(--fxn-line-strong, #D5D2CE); background: #fff; color: var(--fxn-ink, #231F20);
	font-size: 12.5px; font-weight: 700; padding: 0 14px; border-radius: 8px;
	cursor: pointer; transition: background .15s, color .15s;
}
.fxn-lic__copy:hover { background: var(--fxn-surface-2, #EFEEEA); }
.fxn-lic__copy.is-done { background: var(--fxn-green-tint, #F2F8E6); color: var(--fxn-green-deep, #4A7515); border-color: var(--fxn-green-line, #D9EBBB); }
.fxn-lic__copy--big { padding: 10px 16px; margin-top: 8px; }

/* ---------- Question cards ---------- */

.fxn-q { border: 1px solid var(--fxn-line, #E7E5E2); border-radius: 10px; padding: 14px 16px 8px; margin: 0 0 14px; background: var(--fxn-surface, #F7F7F4); }
.fxn-q__title { float: left; width: 100%; box-sizing: border-box; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; font-weight: 700; color: var(--fxn-ink, #231F20); padding: 0 6px; margin: 0 0 8px; }
.fxn-q::after { content: ""; display: block; clear: both; }
.fxn-q__num {
	display: inline-flex; align-items: center; justify-content: center;
	width: 22px; height: 22px; border-radius: 50%;
	background: var(--fxn-ink, #231F20); color: #fff; font-size: 12px; font-weight: 700;
}
.fxn-q__hint { font-weight: 400; font-style: normal; color: var(--fxn-muted, #6B6667); font-size: 12.5px; }

.fxn-q__opt {
	display: flex; align-items: flex-start; gap: 10px;
	padding: 9px 10px; margin: 0 0 4px; border-radius: 8px;
	font-size: 13.5px; line-height: 1.5; color: var(--fxn-ink, #231F20); cursor: pointer;
	transition: background .12s;
}
.fxn-q__opt:hover { background: var(--fxn-surface-2, #EFEEEA); }
.fxn-q__opt input { margin: 4px 0 0; flex: 0 0 auto; }
.fxn-q__opt em { font-style: normal; color: var(--fxn-muted, #6B6667); font-size: 12.5px; }
.fxn-q__opt em::before { content: "\2014\00a0"; }
.fxn-q__opt--box { background: #fff; border: 1px solid var(--fxn-line, #E7E5E2); margin-bottom: 8px; }
.fxn-q__opt--box strong { display: block; margin-bottom: 2px; }
.fxn-q__opt--box span { color: var(--fxn-text, #4A4546); font-size: 13px; }
.fxn-q__help { display: none; margin: -2px 0 12px; }
.fxn-q__help p { margin: 6px 0; }
.fxn-q__help .fxn-q__step { margin: 10px 0 2px; font-weight: 600; }
.fxn-q__help .fxn-lic__code { margin: 2px 0 6px; }

/* ---------- Download ---------- */

.fxn-lic__download { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.fxn-lic__btn {
	display: inline-flex; align-items: center; gap: 9px;
	background: var(--fxn-green, #9DCC4C); color: var(--fxn-ink, #231F20); border: 0; border-radius: 10px;
	font-size: 15px; font-weight: 700; padding: 13px 22px; cursor: pointer;
	box-shadow: 0 6px 18px rgba(157, 204, 76, .30); transition: transform .12s, box-shadow .12s;
}
.fxn-lic__btn:hover { transform: translateY(-1px); background: var(--fxn-green-hover, #8BBB3B); box-shadow: 0 8px 22px rgba(157, 204, 76, .38); color: var(--fxn-ink, #231F20); }

/* ---------- AI helper ---------- */

.fxn-lic__ai { border-color: var(--fxn-line, #E7E5E2); background: linear-gradient(180deg, var(--fxn-surface, #F7F7F4) 0%, #fff 60%); }
.fxn-lic__mini { margin: 0 0 12px 18px; padding: 0; font-size: 13.5px; line-height: 1.7; color: var(--fxn-text, #4A4546); }
.fxn-lic__promptwrap { display: flex; flex-direction: column; align-items: flex-start; }
.fxn-lic__prompt {
	width: 100%; box-sizing: border-box;
	font-family: Consolas, Monaco, monospace; font-size: 12.5px; line-height: 1.5;
	color: var(--fxn-ink, #231F20); background: #fff; border: 1px solid var(--fxn-line-strong, #D5D2CE); border-radius: 8px;
	padding: 12px 14px; resize: vertical;
}
.fxn-lic__prompt:focus { outline: 0; border-color: var(--fxn-ink-2, #3A3536); box-shadow: 0 0 0 3px rgba(157, 204, 76, .15); }

.fxn-lic__customers p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--fxn-text, #4A4546); }

@media (max-width: 640px) {
	.fxn-lic__hero { padding: 20px 18px; }
	.fxn-lic__title { font-size: 20px !important; }
	.fxn-lic__card { padding: 16px; }
	.fxn-lic__codewrap { flex-direction: column; }
	.fxn-lic__copy { padding: 9px 14px; }
}

/* =========================================================
   Customer My Account: My Licences, Downloads, order licences
   Scoped under .fxn-acc so the theme is never touched.
   ========================================================= */

.fxn-acc {
	--fxn-ink: var(--fxn-ink, #231F20);
	--fxn-text: var(--fxn-text, #4A4546);
	--fxn-muted: var(--fxn-muted, #6B6667);
	--fxn-line: var(--fxn-line, #E7E5E2);
	--fxn-soft: var(--fxn-surface, #F7F7F4);
	--fxn-green: var(--fxn-green-deep, #4A7515);
	--fxn-green-soft: var(--fxn-green-tint, #F2F8E6);
	--fxn-green-ink: var(--fxn-green-deep, #4A7515);
	--fxn-amber-soft: #fff7e6;
	--fxn-amber-ink: #8a5300;
	--fxn-red-soft: #fdeeee;
	--fxn-red-ink: #a61b1b;
	--fxn-grey-soft: var(--fxn-surface, #F7F7F4);
	--fxn-grey-ink: var(--fxn-text, #4A4546);
	color: var(--fxn-text);
	font-size: 14px;
	line-height: 1.55;
}

.fxn-acc-head { margin: 0 0 18px; }
.fxn-acc-head__title { margin: 0 0 4px !important; font-size: 22px !important; font-weight: 700 !important; color: var(--fxn-ink) !important; }
.fxn-acc-head__sub { margin: 0; color: var(--fxn-muted); max-width: 640px; }

/* ---------- filter chips ---------- */

.fxn-acc-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.fxn-acc-filter__btn {
	border: 1px solid var(--fxn-line); background: #fff; color: var(--fxn-text);
	border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600;
	cursor: pointer; line-height: 1.2; min-height: 0; text-transform: none; letter-spacing: 0;
}
.fxn-acc-filter__btn span { color: var(--fxn-muted); font-weight: 500; margin-left: 2px; }
.fxn-acc-filter__btn:hover { border-color: var(--fxn-line-strong, #D5D2CE); background: var(--fxn-soft); }
.fxn-acc-filter__btn.is-on { background: var(--fxn-ink); border-color: var(--fxn-ink); color: #fff; }
.fxn-acc-filter__btn.is-on span { color: rgba(255, 255, 255, .7); }

/* ---------- card ---------- */

.fxn-acc-card {
	background: #fff;
	border: 1px solid var(--fxn-line);
	border-radius: 14px;
	padding: 18px 20px;
	margin: 0 0 16px;
	box-shadow: 0 1px 2px rgba(35, 31, 32, .04);
	scroll-margin-top: 90px;
}
.fxn-acc-card[hidden] { display: none; }
.fxn-acc-card:target { border-color: var(--fxn-green); box-shadow: 0 0 0 3px rgba(47, 158, 68, .15); }

.fxn-acc-card__head { display: flex; align-items: center; gap: 14px; }
.fxn-acc-card__title { flex: 1 1 auto; min-width: 0; }
.fxn-acc-card__title h3 { margin: 0 !important; font-size: 16px !important; font-weight: 700 !important; line-height: 1.3 !important; color: var(--fxn-ink) !important; }
.fxn-acc-card__title h3 a { color: inherit !important; text-decoration: none; }
.fxn-acc-card__title h3 a:hover { text-decoration: underline; }
.fxn-acc-card__title p { margin: 2px 0 0; font-size: 13px; color: var(--fxn-muted); }

.fxn-acc-thumb {
	flex: 0 0 52px; width: 52px; height: 52px; border-radius: 10px; overflow: hidden;
	background: var(--fxn-grey-soft); display: block; border: 1px solid var(--fxn-line);
}
.fxn-acc-thumb img, .fxn-acc-thumb__img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; margin: 0 !important; }
.fxn-acc-thumb__blank { display: block; width: 100%; height: 100%; }

/* ---------- status pill ---------- */

.fxn-acc-pill {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
	font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.fxn-acc-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.fxn-acc-pill--good  { background: var(--fxn-green-soft); color: var(--fxn-green-ink); }
.fxn-acc-pill--warn  { background: var(--fxn-amber-soft); color: var(--fxn-amber-ink); }
.fxn-acc-pill--bad   { background: var(--fxn-red-soft);   color: var(--fxn-red-ink); }
.fxn-acc-pill--muted { background: var(--fxn-grey-soft);  color: var(--fxn-grey-ink); }

/* ---------- notes ---------- */

.fxn-acc-note { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; font-size: 13px; }
.fxn-acc-note--good  { background: var(--fxn-green-soft); color: var(--fxn-green-ink); }
.fxn-acc-note--warn  { background: var(--fxn-amber-soft); color: var(--fxn-amber-ink); }
.fxn-acc-note--bad   { background: var(--fxn-red-soft);   color: var(--fxn-red-ink); }
.fxn-acc-note--muted { background: var(--fxn-grey-soft);  color: var(--fxn-grey-ink); }

/* ---------- key ---------- */

.fxn-acc-key {
	display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
	margin: 14px 0 0; padding: 10px 12px; background: var(--fxn-soft);
	border: 1px solid var(--fxn-line); border-radius: 10px;
}
.fxn-acc-key__label { font-size: 12px; font-weight: 600; color: var(--fxn-muted); text-transform: uppercase; letter-spacing: .4px; }
.fxn-acc-key__value, .fxn-acc-order__key code {
	font-family: Consolas, Monaco, "Courier New", monospace; font-size: 15px; font-weight: 600;
	letter-spacing: .5px; color: var(--fxn-ink); background: none; padding: 0; word-break: break-all;
}
.fxn-acc-copy {
	margin-left: auto; border: 1px solid var(--fxn-line-strong, #D5D2CE); background: #fff; color: var(--fxn-ink);
	border-radius: 8px; padding: 5px 12px; font-size: 12.5px; font-weight: 700; cursor: pointer;
	line-height: 1.3; min-height: 0; text-transform: none; letter-spacing: 0;
}
.fxn-acc-copy:hover { background: var(--fxn-soft); }
.fxn-acc-copy.is-done { background: var(--fxn-green-soft); border-color: var(--fxn-green-line, #D9EBBB); color: var(--fxn-green-ink); }

/* ---------- facts ---------- */

.fxn-acc-facts {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 12px 18px; margin: 16px 0 0; padding: 0;
}
.fxn-acc-facts > div { min-width: 0; }
.fxn-acc-facts dt { margin: 0; font-size: 12px; font-weight: 600; color: var(--fxn-muted); text-transform: uppercase; letter-spacing: .4px; }
.fxn-acc-facts dd { margin: 2px 0 0; font-size: 14px; color: var(--fxn-ink); }
.fxn-acc-facts dd small { display: block; font-size: 12px; color: var(--fxn-muted); margin-top: 1px; }
.fxn-acc-tag { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 4px; background: var(--fxn-grey-soft); color: var(--fxn-grey-ink); text-transform: uppercase; }
.fxn-acc-muted { color: var(--fxn-muted); }
.fxn-acc-small { margin: 12px 0 0; font-size: 12.5px; color: var(--fxn-muted); }

/* ---------- version ---------- */

.fxn-acc-changelog { margin: 16px 0 0; padding: 12px 14px; border-left: 3px solid var(--fxn-green); background: var(--fxn-soft); border-radius: 0 10px 10px 0; }
.fxn-acc-changelog strong { color: var(--fxn-ink); font-size: 13.5px; }
.fxn-acc-changelog p { margin: 4px 0 0; font-size: 13px; }
.fxn-acc-changelog .fxn-acc-changelog__warn { color: var(--fxn-amber-ink); font-weight: 600; }

/* ---------- actions ---------- */

.fxn-acc-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 16px 0 0; }
.fxn-acc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 7px;
	padding: 9px 16px; border-radius: 10px; border: 1px solid var(--fxn-line-strong, #D5D2CE); background: #fff;
	color: var(--fxn-ink) !important; font-size: 13.5px; font-weight: 700; line-height: 1.2;
	text-decoration: none !important; cursor: pointer; min-height: 0; text-transform: none; letter-spacing: 0;
	transition: background .15s, border-color .15s, box-shadow .15s;
}
.fxn-acc-btn:hover { background: var(--fxn-soft); border-color: var(--fxn-line-strong, #D5D2CE); }
.fxn-acc-btn--primary { background: var(--fxn-green); border-color: var(--fxn-green); color: #fff !important; box-shadow: 0 4px 12px rgba(47, 158, 68, .22); }
.fxn-acc-btn--primary:hover { background: var(--fxn-green-deep, #4A7515); border-color: var(--fxn-green-deep, #4A7515); }
.fxn-acc-link { font-size: 13px; font-weight: 600; color: var(--fxn-muted) !important; }
.fxn-acc-link:hover { color: var(--fxn-ink) !important; }

/* ---------- every version, on the customer's card ---------- */

.fxn-acc-versions { flex: 1 1 100%; margin: 4px 0 0; }
.fxn-acc-versions__toggle {
	display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none;
	font-size: 13px; font-weight: 700; color: var(--fxn-muted); cursor: pointer; min-height: 0; text-transform: none; letter-spacing: 0;
}
.fxn-acc-versions__toggle:hover { color: var(--fxn-ink); }
.fxn-acc-versions__toggle svg { transition: transform .15s; }
.fxn-acc-versions.is-open .fxn-acc-versions__toggle svg { transform: rotate(180deg); }
.fxn-acc-versions__list { margin: 10px 0 0; padding: 0; list-style: none; border: 1px solid var(--fxn-line); border-radius: 10px; overflow: hidden; background: #fff; }
.fxn-acc-versions__row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--fxn-line); }
.fxn-acc-versions__row:first-child { border-top: 0; }
.fxn-acc-versions__about { flex: 1 1 auto; min-width: 0; }
.fxn-acc-versions__about strong { display: inline-block; margin-right: 8px; color: var(--fxn-ink); font-size: 13.5px; }
.fxn-acc-versions__about span { font-size: 12px; color: var(--fxn-muted); }
.fxn-acc-versions__about p { margin: 3px 0 0; font-size: 12.5px; color: var(--fxn-text, #4A4546); }
.fxn-acc-btn--small { padding: 6px 12px; font-size: 12.5px; flex: 0 0 auto; }
.fxn-acc-versions__more {
	display: block; width: 100%; margin: 8px 0 0; padding: 9px 12px; border: 1px dashed var(--fxn-line-strong, #D5D2CE);
	border-radius: 10px; background: var(--fxn-soft); color: var(--fxn-ink); font-size: 13px; font-weight: 700; cursor: pointer;
	min-height: 0; text-transform: none; letter-spacing: 0;
}
.fxn-acc-versions__more:hover { background: #fff; }
.fxn-acc-versions__note { margin: 8px 0 0; font-size: 12px; color: var(--fxn-muted); }

@media (max-width: 600px) {
	.fxn-acc-versions__row { flex-wrap: wrap; }
	.fxn-acc-versions__row .fxn-acc-btn--small { flex: 1 1 100%; }
}

/* ---------- move account ---------- */

.fxn-acc-move { margin: 14px 0 0; border-top: 1px solid var(--fxn-line); padding-top: 12px; }
.fxn-acc-move summary { cursor: pointer; font-weight: 600; font-size: 13.5px; color: var(--fxn-ink); }
.fxn-acc-move__body { padding: 8px 0 0; }
.fxn-acc-move__form label { display: block; font-size: 12.5px; font-weight: 600; margin: 10px 0 4px; color: var(--fxn-text); }
.fxn-acc-move__row { display: flex; gap: 8px; flex-wrap: wrap; }
.fxn-acc-move__row input { max-width: 220px; margin: 0 !important; }

/* ---------- empty state and help ---------- */

.fxn-acc-empty { text-align: center; padding: 40px 20px; border: 1px dashed var(--fxn-line-strong, #D5D2CE); border-radius: 14px; background: #fff; }
.fxn-acc-empty__title { font-size: 16px; font-weight: 700; color: var(--fxn-ink); margin: 0 0 4px; }
.fxn-acc-empty p { margin: 0 0 16px; color: var(--fxn-muted); }

.fxn-acc-help { margin: 26px 0 0; padding: 18px 20px; border: 1px solid var(--fxn-line); border-radius: 14px; background: var(--fxn-soft); scroll-margin-top: 90px; }
.fxn-acc-help h3 { margin: 0 0 8px !important; font-size: 15px !important; font-weight: 700 !important; color: var(--fxn-ink) !important; }
.fxn-acc-help ol { margin: 0 0 0 18px; padding: 0; line-height: 1.8; }
.fxn-acc-help code { font-size: 12.5px; }

/* ---------- licences on an order ---------- */

.fxn-acc-order { margin: 24px 0; }
.fxn-acc-order h2 { margin-bottom: 10px; }
.fxn-acc-order__list { border: 1px solid var(--fxn-line); border-radius: 12px; overflow: hidden; background: #fff; }
.fxn-acc-order__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 14px; border-top: 1px solid var(--fxn-line); }
.fxn-acc-order__row:first-child { border-top: 0; }
.fxn-acc-order__name { flex: 1 1 180px; min-width: 0; }
.fxn-acc-order__name strong { display: block; color: var(--fxn-ink); }
.fxn-acc-order__name span { font-size: 12.5px; color: var(--fxn-muted); }
.fxn-acc-order__key { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fxn-acc-order__key .fxn-acc-copy { margin-left: 0; }
.fxn-acc-order__more { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 0; }

/* ---------- billing on Account details ---------- */

.fxn-acc-billing { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--fxn-line, #E7E5E2); scroll-margin-top: 90px; }
.fxn-acc-billing__intro { margin: 0 0 8px; color: var(--fxn-muted, #6B6667); font-size: 13px; }

@media (max-width: 600px) {
	.fxn-acc-card { padding: 16px; }
	.fxn-acc-card__head { flex-wrap: wrap; gap: 12px; }
	.fxn-acc-thumb { flex-basis: 44px; width: 44px; height: 44px; }
	.fxn-acc-card__title { flex: 1 1 calc(100% - 64px); }
	.fxn-acc-card__head .fxn-acc-pill { order: 3; margin-left: 56px; }
	.fxn-acc-copy { margin-left: 0; }
	.fxn-acc-facts { grid-template-columns: 1fr 1fr; }
	.fxn-acc-actions .fxn-acc-btn { flex: 1 1 auto; }
}

/* A licence option the customer cannot choose - the free trial, already used. */
.fxn-plan--used { cursor: not-allowed; }
.fxn-plan--used .fxn-plan__box { opacity: .55; filter: grayscale(1); }
.fxn-plan--used:hover .fxn-plan__box { border-color: var(--fxn-line, #E7E5E2); transform: none; box-shadow: none; }
.fxn-plan--used .fxn-plan__price { text-decoration: line-through; }
.fxn-plan--used .fxn-plan__note { font-weight: 600; }

.fxn-buybox__warn {
	margin: 12px 0 0;
	padding: 11px 14px;
	border: 1px solid #F1D38A;
	border-radius: 10px;
	background: #FFF8E6;
	color: #6B4E00;
	font-size: 13px;
	line-height: 1.5;
}

/* Where a customer stands when they have been given more than one trial. */
.fxn-buybox__note {
	margin: 12px 0 0;
	padding: 10px 14px;
	border: 1px solid var(--fxn-green-soft, #B9DC7E);
	border-radius: 10px;
	background: var(--fxn-green-tint, #F2F8E6);
	color: var(--fxn-green-deep, #4A7515);
	font-size: 13px;
	line-height: 1.5;
	font-weight: 600;
}
