/* =========================================================================
   Xpologics Product Catalog & Enquiry
   All rules are scoped to .xpe to avoid clashing with the theme.
   ========================================================================= */

.xpe {
	--xpe-navy: #044A9F;
	--xpe-navy-dark: #033A7E;
	--xpe-teal: #13a7b5;
	--xpe-teal-dark: #0e8f9b;
	--xpe-head: #3a6db1;
	--xpe-text: #1d2433;
	--xpe-muted: #5f6878;
	--xpe-line: #e3e7ee;
	--xpe-input: #c9d3e2;
	--xpe-soft: #f6f7f9;
	--xpe-danger: #d92d2d;
	--xpe-radius: 12px;
	font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--xpe-text);
	box-sizing: border-box;
}
.xpe *, .xpe *::before, .xpe *::after { box-sizing: inherit; }
.xpe button { font-family: inherit; }
.xpe img { max-width: 100%; height: auto; }
.xpe [hidden] { display: none !important; }
.xpe-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.xpe-notice { padding: 12px 16px; background: #fff8e5; border-left: 4px solid #dba617; }

/* ---------------------------------------------------------------- Catalog */

.xpe-catalog {
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 6px 30px rgba(15, 35, 70, .10);
	margin: 40px 0;
	position: relative;
}

.xpe-tabs {
	display: flex;
	align-items: stretch;
	border-bottom: 1px solid var(--xpe-line);
	overflow-x: auto;
	scrollbar-width: none;
}
.xpe-tabs::-webkit-scrollbar { display: none; }
.xpe-tabs-spacer { flex: 0 0 275px; background: var(--xpe-soft); }
.xpe-tab {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 22px 20px;
	background: none;
	border: 0;
	color: var(--xpe-muted);
	font-size: 17px;
	font-weight: 400;
	cursor: pointer;
	white-space: nowrap;
	transition: color .2s, border-color .2s;
}
.xpe-tab:hover { color: var(--xpe-navy); }
.xpe-tab.is-active { color: var(--xpe-navy); font-weight: 600; }
.xpe-tab-label { position: relative; }
.xpe-tab.is-active .xpe-tab-label::after { content: ""; position: absolute; left: 0; right: 0; bottom: -21px; height: 3px; border-radius: 3px 3px 0 0; background: var(--xpe-navy); }
.xpe-tab-icon { display: inline-flex; color: var(--xpe-navy); }
.xpe-tab:not(.is-active) .xpe-tab-icon { color: var(--xpe-muted); }
.xpe-tab-icon img { width: 30px; height: 30px; object-fit: contain; }

.xpe-panel { display: flex; align-items: stretch; }

.xpe-sidebar {
	flex: 0 0 275px;
	background: var(--xpe-soft);
	padding: 14px 0 30px;
	border-right: 1px solid var(--xpe-line);
}
.xpe-acc { border-bottom: 1px solid var(--xpe-line); padding: 6px 0; }
.xpe-acc-head {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 22px;
	background: none;
	border: 0;
	text-align: left;
	color: var(--xpe-navy);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
}
.xpe-acc-head .xpe-chev { flex: 0 0 auto; margin-top: 5px; transition: transform .2s; }
.xpe-acc.is-open .xpe-chev { transform: rotate(180deg); }
.xpe-acc-body { list-style: none; margin: 0; padding: 0 12px 6px; display: none; }
.xpe-acc.is-open .xpe-acc-body { display: block; }
.xpe-acc-body li { margin: 0; padding: 0; }
.xpe-acc-body a {
	display: block;
	padding: 9px 10px;
	border-radius: 4px;
	color: #4b5363;
	font-size: 14px;
	line-height: 1.5;
	text-decoration: none;
}
.xpe-acc-body a:hover { color: var(--xpe-navy); background: #eef1f5; }
.xpe-acc-body a.is-active { background: #e9ebef; color: var(--xpe-text); }

.xpe-main {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	padding: 10px 40px 40px;
	max-height: 85vh;
	overflow-y: auto;
	scroll-behavior: smooth;
	scrollbar-width: thin;
	scrollbar-color: var(--xpe-navy) transparent;
}
.xpe-main::-webkit-scrollbar { width: 8px; }
.xpe-main::-webkit-scrollbar-thumb { background: var(--xpe-navy); border-radius: 8px; }

.xpe-section { padding-top: 28px; scroll-margin-top: 10px; }
.xpe-section-title { margin: 0 0 18px; font-size: 20px; font-weight: 400; color: #4a4f59; line-height: 1.4; }
.xpe-empty { margin: 0; padding: 18px; border: 1px dashed var(--xpe-line); border-radius: 6px; color: var(--xpe-muted); font-size: 14px; }

.xpe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.xpe-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--xpe-line);
	border-radius: 4px;
	cursor: pointer;
	overflow: hidden;
	transition: box-shadow .2s, transform .2s, border-color .2s;
	outline: none;
}
.xpe-card:hover, .xpe-card:focus-visible { box-shadow: 0 10px 24px rgba(15, 35, 70, .12); border-color: #cfd7e4; transform: translateY(-2px); }
.xpe-card:focus-visible { outline: 2px solid var(--xpe-teal); outline-offset: 2px; }
.xpe-card-img { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; background: #fff; overflow: hidden; }
.xpe-card-img img { width: 100%; height: 100%; object-fit: cover; }
.xpe-card-noimg { color: #c3cad6; }
.xpe-card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 14px 16px 16px; min-height: 76px; }
.xpe-card-title { font-size: 16px; font-weight: 500; line-height: 1.45; color: var(--xpe-text); }
.xpe-card-info { flex: 0 0 auto; color: var(--xpe-teal); display: inline-flex; }

/* Modal */
.xpe-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.xpe-modal-backdrop { position: absolute; inset: 0; background: rgba(20, 24, 32, .62); animation: xpe-fade .2s ease; }
.xpe-modal-dialog {
	position: relative;
	width: 100%;
	max-width: 440px;
	max-height: calc(100vh - 40px);
	max-height: calc(100dvh - 40px);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: none;
	background: #fff;
	border-radius: 10px;
	padding: 26px 26px 24px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
	animation: xpe-pop .22s ease;
}
.xpe-modal-close {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 0;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
	color: #9aa1ad;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.xpe-modal-close:hover { color: var(--xpe-text); }
.xpe-modal-dialog::-webkit-scrollbar { display: none; }
.xpe-modal-img { border: 1.5px solid #e6e9ef; border-radius: 8px; height: min(300px, 40vh); height: min(300px, 40dvh); overflow: hidden; display: flex; align-items: center; justify-content: center; background: #fff; padding: 10px; }
.xpe-modal-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.xpe-modal-title { margin: 16px 0 10px; font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--xpe-text); padding-right: 6px; }
.xpe-modal-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.xpe-tag { display: inline-block; padding: 5px 11px; border-radius: 4px; background: #dde7f5; color: var(--xpe-navy); font-size: 13px; line-height: 1.3; }
.xpe-modal-desc { margin: 0 0 8px; color: var(--xpe-muted); font-size: 13.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.xpe-modal-origin { margin: 0; color: var(--xpe-muted); font-size: 13.5px; }
.xpe .xpe-modal-enquire { margin-top: 16px; width: 100%; min-width: 0; min-height: 46px; font-size: 15px; }
body.xpe-modal-open { overflow: hidden; }
@keyframes xpe-fade { from { opacity: 0; } }
@keyframes xpe-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* ------------------------------------------------------------------- Form */

.xpe-page-intro { margin: 60px 0 40px; }
.xpe-page-title { margin: 0 0 14px; font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; line-height: 1.2; color: #000; }
.xpe-page-intro p { margin: 0; max-width: 1060px; font-size: 18px; line-height: 1.6; color: var(--xpe-text); text-align: justify; }

.xpe-form-wrap { margin: 40px 0; }
.xpe-band,
.xpe.alignwide.xpe-band {
	position: relative;
	background: var(--xpe-navy);
	box-sizing: border-box;
	width: calc(100vw - var(--xpe-sbw, 0px)) !important;
	max-width: none !important;
	margin: 0 calc(50% - (100vw - var(--xpe-sbw, 0px)) / 2) !important;
	padding: 50px max(16px, calc((100vw - var(--xpe-sbw, 0px) - 1240px) / 2));
}

.xpe-form, .xpe-success {
	background: #fff;
	border-radius: var(--xpe-radius);
	box-shadow: 0 8px 34px rgba(15, 35, 70, .12);
	overflow: hidden;
}
.xpe-form-title { margin: 0; padding: 40px 50px 6px; font-size: clamp(28px, 3vw, 40px); font-weight: 700; color: var(--xpe-teal); line-height: 1.2; }

.xpe-block { margin: 0; padding: 28px 50px 30px; border: 0; border-bottom: 1px solid var(--xpe-line); min-width: 0; }
.xpe-block:first-of-type { border-top: 0; }
fieldset.xpe-block > legend, .xpe-row-2col legend { display: block; float: none; width: 100%; padding: 0; border: 0; }
/* Legends sit on the fieldset border and ignore its padding, so move the top spacing onto the legend. */
fieldset.xpe-block { padding-top: 0; }
fieldset.xpe-block > legend { padding-top: 28px; }
.xpe-h { display: block; margin: 0 0 22px; font-size: 21px; font-weight: 500; color: var(--xpe-navy); line-height: 1.3; }
.xpe-h label { color: inherit; font: inherit; }
.xpe-row-2col fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

.xpe-row { display: grid; gap: 20px 24px; clear: both; }
.xpe-row-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.xpe-row-req { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: start; }
.xpe-row-2col { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 24px 50px; }

.xpe-field { display: flex; flex-direction: column; min-width: 0; }
.xpe-field label { margin-bottom: 12px; font-size: 16px; color: #4a4f59; line-height: 1.3; font-weight: 400; }
.xpe-req { color: var(--xpe-navy); margin-left: 2px; }
.xpe-hint { margin-top: 6px; font-size: 13px; color: var(--xpe-muted); }
.xpe-err { margin-top: 6px; font-size: 13px; color: var(--xpe-danger); min-height: 0; }
.xpe-err:empty { display: none; }

.xpe input[type="text"], .xpe input[type="email"], .xpe input[type="tel"], .xpe input[type="number"], .xpe input[type="date"], .xpe select, .xpe textarea {
	width: 100%;
	height: 54px;
	padding: 0 16px;
	border: 1px solid var(--xpe-input);
	border-radius: 4px;
	background: #fdfdfe;
	color: var(--xpe-text);
	font: 400 15px/1.4 inherit;
	font-family: inherit;
	box-shadow: none;
	transition: border-color .15s, box-shadow .15s;
	margin: 0;
}
.xpe textarea { height: auto; min-height: 130px; padding: 14px 16px; resize: vertical; }
.xpe input:focus, .xpe select:focus, .xpe textarea:focus { outline: none; border-color: var(--xpe-navy); box-shadow: 0 0 0 3px rgba(4, 74, 159, .12); }
.xpe .is-invalid input, .xpe .is-invalid select, .xpe .is-invalid textarea, .xpe .is-invalid .xpe-upload { border-color: var(--xpe-danger); }
.xpe input[type="number"]::-webkit-inner-spin-button { opacity: .5; }

.xpe-select { position: relative; }
.xpe-select select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.xpe-select::after {
	content: "";
	position: absolute;
	right: 16px;
	top: 50%;
	margin-top: -3px;
	border: 6px solid transparent;
	border-top: 7px solid #b9c0cc;
	pointer-events: none;
}
.xpe select:disabled { background: #f4f6f9; cursor: not-allowed; color: #9aa1ad; }

.xpe-field-full { max-width: 1030px; }

.xpe-f-add { padding-top: 28px; }

.xpe-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 54px;
	padding: 0 34px;
	border-radius: 4px;
	border: 2px solid transparent;
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	text-decoration: none;
	transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .1s;
}
.xpe-btn:active { transform: translateY(1px); }
.xpe-btn:disabled { opacity: .65; cursor: progress; }
.xpe-btn-add { background: var(--xpe-navy); color: #fff; font-size: 17px; font-weight: 700; padding: 0 26px; min-height: 54px; border-radius: 6px; box-shadow: 0 2px 0 rgba(0, 0, 0, .08); }
.xpe-btn-add:hover { background: var(--xpe-navy-dark); color: #fff; }
.xpe-btn-primary { background: var(--xpe-teal); color: #fff; box-shadow: 0 6px 16px rgba(19, 167, 181, .28); min-width: 270px; min-height: 66px; }
.xpe-btn-primary:hover { background: var(--xpe-teal-dark); color: #fff; }
.xpe-btn-outline { background: #fff; color: var(--xpe-teal); border-color: var(--xpe-teal); min-width: 170px; min-height: 66px; }
.xpe-btn-outline:hover { background: #effafb; color: var(--xpe-teal-dark); }

/* Items table */
.xpe-items { padding-top: 40px; padding-bottom: 40px; }
.xpe-table-scroll { overflow-x: auto; }
.xpe-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; margin: 0; border: 0; }
.xpe-table th { background: var(--xpe-head); color: #fff; font-weight: 400; font-size: 17px; padding: 18px 14px; text-align: center; border: 0; }
.xpe-table th:nth-child(2) { text-align: left; }
.xpe-table td { padding: 16px 14px; border: 0; border-right: 1px solid #c5ccd7; text-align: center; vertical-align: middle; color: #4a4f59; line-height: 1.45; background: #fff; }
.xpe-table td:last-child { border-right: 0; }
.xpe-table td:nth-child(2) { text-align: left; }
.xpe-table tbody tr:nth-child(even) td { background: #f1f2f4; }
.xpe-table tbody tr:nth-child(odd) td { background: #f8f8f9; }
.xpe-c-no { width: 70px; }
.xpe-c-qty { width: 150px; }
.xpe-c-act { width: 110px; }
.xpe-table input.xpe-qty-edit { height: 38px; width: 110px; text-align: center; padding: 0 8px; font-size: 14px; }
.xpe-del { background: none; border: 0; padding: 6px; color: var(--xpe-danger); cursor: pointer; display: inline-flex; border-radius: 4px; }
.xpe-del:hover { background: #fde8e8; }
.xpe-row-flash td { animation: xpe-flash 1.2s ease; }
@keyframes xpe-flash { 0% { background: #dff4f6; } }

/* Upload */
.xpe-upload {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	height: 54px;
	margin: 0 !important;
	padding: 0 16px;
	border: 1px solid var(--xpe-input);
	border-radius: 4px;
	background: #fdfdfe;
	cursor: pointer;
	color: #9aa1ad !important;
	font-size: 15px !important;
}
.xpe-upload svg { color: #2b3240; flex: 0 0 auto; }
.xpe-upload.has-files { color: var(--xpe-text) !important; }
.xpe-upload-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#xpe_files:focus-visible + .xpe-hint, .xpe-upload:focus-within { outline: 2px solid var(--xpe-navy); }
.xpe-file-list { list-style: none; margin: 8px 0 0; padding: 0; font-size: 13px; color: var(--xpe-muted); }
.xpe-file-list li { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; }
.xpe-file-list button { background: none; border: 0; color: var(--xpe-danger); cursor: pointer; padding: 0 4px; font-size: 16px; line-height: 1; }

/* Date input: calendar icon tinted navy */
.xpe input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .8; width: 24px; height: 24px; }

/* Messages */
.xpe-msg { margin: 18px 50px 0; padding: 14px 18px; border-radius: 6px; font-size: 15px; background: #fdecec; color: #8f1d1d; border: 1px solid #f5c2c2; }
.xpe-msg.is-info { background: #e8f6f7; color: #0b5d66; border-color: #b9e4e8; }
.xpe-items-err { margin: 14px 0 0; }

.xpe-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.xpe-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 34px; padding: 50px 50px 56px; }

.xpe-success { padding: 70px 40px; text-align: center; }
.xpe-success-icon { width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; background: #e3f6f8; color: var(--xpe-teal); display: flex; align-items: center; justify-content: center; }
.xpe-success h3 { margin: 0 0 10px; font-size: 28px; color: var(--xpe-navy); font-weight: 600; }
.xpe-success p { margin: 0 auto 10px; max-width: 560px; font-size: 16px; color: var(--xpe-muted); line-height: 1.6; }
.xpe-success-ref strong { color: var(--xpe-text); }
.xpe-success .xpe-btn { margin-top: 18px; min-height: 52px; font-size: 16px; }

.xpe-spinner { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: xpe-spin .7s linear infinite; }
@keyframes xpe-spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------- Full width */
/* Breaks out of the theme's content container: edge-to-edge minus a gutter, capped at 1680px. */
.xpe-full,
.xpe.alignwide.xpe-full {
	--xpe-gutter: 40px;
	--xpe-w: min(calc(100vw - var(--xpe-sbw, 0px) - 2 * var(--xpe-gutter)), 1680px);
	width: var(--xpe-w) !important;
	max-width: none !important;
	margin-left: calc(50% - var(--xpe-w) / 2) !important;
	margin-right: calc(50% - var(--xpe-w) / 2) !important;
	margin-block-start: 0 !important;
}
@media (max-width: 767px) { .xpe-full, .xpe.alignwide.xpe-full { --xpe-gutter: 16px; } }

/* ------------------------------------------------------------- Responsive */
/* Container queries: layout follows the width the theme gives the shortcode, not the screen. */

.xpe-catalog { container: xpecat / inline-size; }
.xpe-form { container: xpeform / inline-size; }

@container xpecat (max-width: 1100px) {
	.xpe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.xpe-tabs-spacer, .xpe-sidebar { flex-basis: 240px; }
	.xpe-main { padding: 10px 24px 30px; }
}

@container xpecat (max-width: 760px) {
	.xpe-tabs-spacer { display: none; }
	.xpe-tab { flex: 0 0 auto; padding: 16px 18px; font-size: 15px; }
	.xpe-tab.is-active .xpe-tab-label::after { bottom: -15px; }
	.xpe-panel { flex-direction: column; }
	.xpe-sidebar { flex: none; border-right: 0; border-bottom: 1px solid var(--xpe-line); padding: 6px 0; }
	.xpe-acc-head { font-size: 15px; padding: 10px 16px; }
	.xpe-main { max-height: none; overflow: visible; padding: 0 16px 24px; }
	.xpe-grid { gap: 14px; }
	.xpe-card-foot { padding: 10px 12px 12px; min-height: 0; }
	.xpe-card-title { font-size: 14px; }
	.xpe-section-title { font-size: 17px; }
}

@container xpecat (max-width: 380px) {
	.xpe-grid { grid-template-columns: minmax(0, 1fr); }
}

@container xpeform (max-width: 1150px) {
	.xpe-row-req { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.xpe-f-add { padding-top: 0; align-self: end; }
	.xpe-f-add .xpe-btn { width: 100%; }
}

@container xpeform (max-width: 900px) {
	.xpe-row-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@container xpeform (max-width: 640px) {
	.xpe-form-title { padding: 28px 20px 4px; }
	.xpe-block { padding: 22px 20px 24px; }
	fieldset.xpe-block { padding-top: 0; }
	fieldset.xpe-block > legend { padding-top: 22px; }
	.xpe-msg { margin: 14px 20px 0; }
	.xpe-h { font-size: 18px; margin-bottom: 16px; }
	.xpe-row-4, .xpe-row-req, .xpe-row-2col { grid-template-columns: minmax(0, 1fr); }
	.xpe-field label { font-size: 15px; margin-bottom: 8px; }
	.xpe input[type="text"], .xpe input[type="email"], .xpe input[type="tel"], .xpe input[type="number"], .xpe input[type="date"], .xpe select, .xpe .xpe-upload { height: 50px; }
	.xpe-actions { padding: 30px 20px 34px; gap: 14px; flex-direction: column-reverse; }
	.xpe-actions .xpe-btn { width: 100%; min-width: 0; min-height: 56px; font-size: 18px; }
}

@media (max-width: 767px) {
	.xpe-catalog { margin: 24px 0; }
	.xpe-modal-dialog { padding: 20px 18px 18px; }
	.xpe-modal-title { font-size: 16px; margin-top: 12px; }
	.xpe-band { padding-top: 24px; padding-bottom: 24px; }
	.xpe-page-intro { margin: 36px 0 24px; }
	.xpe-page-intro p { font-size: 15px; text-align: left; }
}

/* --------------------------------------------------- Theme-proofing (Astra etc.) */
/* Themes style every <button> (blue background on hover/focus). Pin our own states. */

.xpe, .xpe *:not(svg):not(path):not(circle) { font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important; }
.xpe button { text-transform: none !important; letter-spacing: normal !important; text-shadow: none !important; }

/* Tabs: transparent; on hover the tab turns brand blue with white text. */
.xpe .xpe-tab, .xpe .xpe-tab:focus, .xpe .xpe-tab:active {
	background: transparent !important;
	color: var(--xpe-muted) !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 22px 20px !important;
}
.xpe .xpe-tab.is-active, .xpe .xpe-tab.is-active:focus { color: var(--xpe-navy) !important; }
.xpe .xpe-tab:hover, .xpe .xpe-tab.is-active:hover { background: var(--xpe-navy) !important; color: #fff !important; }
.xpe .xpe-tab:hover .xpe-tab-icon { color: #fff !important; }
.xpe .xpe-tab:hover .xpe-tab-label::after { background: #fff !important; }
.xpe .xpe-tab:focus-visible { outline: 2px solid var(--xpe-teal) !important; outline-offset: -2px; }

/* Sidebar headings */
.xpe .xpe-acc-head, .xpe .xpe-acc-head:hover, .xpe .xpe-acc-head:focus, .xpe .xpe-acc-head:active {
	background: transparent !important;
	color: var(--xpe-navy) !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 12px 22px !important;
}
.xpe .xpe-acc-head:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* Popup close: white circle, black cross (all states). */
.xpe .xpe-modal-close, .xpe .xpe-modal-close:hover, .xpe .xpe-modal-close:focus, .xpe .xpe-modal-close:active {
	background: #fff !important;
	color: #000 !important;
	border: 0 !important;
	padding: 0 !important;
	width: 38px !important;
	height: 38px !important;
	border-radius: 50% !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .15) !important;
}
.xpe .xpe-modal-close:hover { background: #f1f2f4 !important; }
.xpe .xpe-modal-close svg { stroke: #000 !important; }

/* Delete row / remove file */
.xpe .xpe-del, .xpe .xpe-del:focus { background: transparent !important; color: var(--xpe-danger) !important; border: 0 !important; padding: 6px !important; box-shadow: none !important; }
.xpe .xpe-del:hover { background: #fde8e8 !important; color: var(--xpe-danger) !important; }
.xpe .xpe-file-list button, .xpe .xpe-file-list button:hover, .xpe .xpe-file-list button:focus { background: transparent !important; color: var(--xpe-danger) !important; border: 0 !important; padding: 0 4px !important; box-shadow: none !important; }

/* Action buttons: white text in every state. */
.xpe .xpe-btn-add, .xpe .xpe-btn-add:focus { background: var(--xpe-navy) !important; color: #fff !important; border-color: transparent !important; }
.xpe .xpe-btn-add:hover { background: var(--xpe-navy-dark) !important; color: #fff !important; }
.xpe .xpe-btn-primary, .xpe .xpe-btn-primary:focus { background: var(--xpe-teal) !important; color: #fff !important; border-color: transparent !important; }
.xpe .xpe-btn-primary:hover { background: var(--xpe-teal-dark) !important; color: #fff !important; }
.xpe .xpe-btn-outline, .xpe .xpe-btn-outline:focus { background: #fff !important; color: var(--xpe-teal) !important; border: 2px solid var(--xpe-teal) !important; }
.xpe .xpe-btn-outline:hover { background: var(--xpe-teal) !important; color: #fff !important; }
.xpe .xpe-btn { border-radius: 4px !important; padding-top: 0 !important; padding-bottom: 0 !important; line-height: 1 !important; }
.xpe .xpe-btn-add { border-radius: 6px !important; }

@media (prefers-reduced-motion: reduce) {
	.xpe *, .xpe-modal * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
