/* Compact Staff Portal summary metrics for existing card interiors. */
.alchemy-staff-summary {
	box-sizing: border-box;
	display: grid;
	gap: 8px;
	width: 100%;
	margin: 16px 0 4px;
	padding: 12px;
	color: #4c3151;
	background: linear-gradient(105deg, rgba(106,43,122,.055), rgba(219,47,111,.025) 70%, rgba(247,106,39,.035));
	border: 1px solid rgba(106,43,122,.11);
	border-radius: 10px;
}
.alchemy-staff-summary *, .alchemy-staff-summary *::before, .alchemy-staff-summary *::after { box-sizing: border-box; }
.alchemy-staff-summary__label {
	color: #6a2b7a;
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .09em;
	line-height: 1.25;
	text-transform: uppercase;
}
.alchemy-staff-summary__metrics { display: flex; flex-wrap: wrap; gap: 7px; }
.alchemy-metric-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 30px;
	padding: 5px 9px 5px 6px;
	color: #4c3151;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.25;
	background: #fff;
	border: 1px solid rgba(106,43,122,.11);
	border-radius: 999px;
	box-shadow: 0 2px 7px rgba(58,25,66,.035);
}
.alchemy-metric-pill strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 5px;
	color: #fff;
	font-size: 11px;
	font-weight: 850;
	line-height: 1;
	background: #6a2b7a;
	border-radius: 999px;
}
.alchemy-metric-pill--raspberry strong { background: #db2f6f; }
.alchemy-metric-pill--orange strong { background: #f76a27; }
.alchemy-metric-pill--up-to-date strong { color: #316548; background: #dff2e6; }
.alchemy-metric-pill--muted { color: #756d77; background: #f7f5f7; border-style: dashed; }
.alchemy-metric-pill--muted strong { color: #756d77; background: #e8e3e9; }
.alchemy-staff-summary__state {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: max-content;
	max-width: 100%;
	color: #756d77;
	font-size: 10px;
	font-weight: 750;
	line-height: 1.35;
}
.alchemy-staff-summary__state i {
	flex: 0 0 7px;
	width: 7px;
	height: 7px;
	background: #f76a27;
	border-radius: 50%;
	box-shadow: 0 0 0 3px rgba(247,106,39,.09);
}
.alchemy-staff-summary__state--up-to-date { color: #316548; }
.alchemy-staff-summary__state--up-to-date i { background: #43a856; box-shadow: 0 0 0 3px rgba(67,168,86,.10); }
@media (max-width: 480px) {
	.alchemy-staff-summary__metrics { display: grid; grid-template-columns: 1fr; }
	.alchemy-metric-pill { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.alchemy-staff-summary *, .alchemy-staff-summary *::before, .alchemy-staff-summary *::after { transition: none !important; }
}

.alchemy-staff-summary .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Complete drop-in Staff Portal cards. */
.alchemy-staff-card {
	box-sizing: border-box;
	position: relative;
	display: block;
	isolation: isolate;
	overflow: hidden;
	width: 100%;
	height: 100%;
	min-height: 360px;
	padding: 24px;
	color: #35283a;
	background: linear-gradient(135deg, rgba(255,255,255,.995), rgba(106,43,122,.023) 58%, rgba(219,47,111,.028));
	border: 1px solid rgba(106,43,122,.12);
	border-radius: 14px;
	box-shadow: 0 7px 22px rgba(58,25,66,.065);
}
.alchemy-staff-card::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 3px;
	content: "";
	background: linear-gradient(90deg, #6a2b7a, #db2f6f 58%, #f76a27);
}
.alchemy-staff-card *, .alchemy-staff-card *::before, .alchemy-staff-card *::after { box-sizing: border-box; }
.alchemy-staff-card__content { position: relative; z-index: 2; display: flex; height: 100%; flex-direction: column; }
.alchemy-staff-card__watermark {
	position: absolute;
	right: -22px;
	bottom: -32px;
	z-index: 0;
	width: 150px;
	height: 150px;
	background-color: transparent !important;
	background-image: url("https://alchemysvcs.com.au/wp-content/uploads/2026/11/alchemy-butterfly-watermark.svg") !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: contain !important;
	opacity: .035;
	pointer-events: none;
}
.alchemy-staff-card__top { display: flex; align-items: center; gap: 10px; margin-bottom: 17px; }
.alchemy-staff-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	color: #6a2b7a;
	background: rgba(106,43,122,.075);
	border-radius: 9px;
}
.alchemy-staff-card--training .alchemy-staff-card__icon { color: #db2f6f; background: rgba(219,47,111,.075); }
.alchemy-staff-card__icon > .alchemy-staff-card__brand-icon {
	display: block !important;
	width: 20px !important;
	height: 20px !important;
	min-width: 20px !important;
	min-height: 20px !important;
	max-width: 20px !important;
	max-height: 20px !important;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: contain !important;
	object-position: center !important;
	filter: none !important;
}
.alchemy-staff-card__eyebrow { color: #6a2b7a; font-size: 10px; font-weight: 850; letter-spacing: .105em; line-height: 1.3; }
.alchemy-staff-card--training .alchemy-staff-card__eyebrow { color: #db2f6f; }
.alchemy-staff-card h2 { margin: 0 0 12px; color: #38263d; font-size: clamp(21px,2vw,27px); line-height: 1.18; }
.alchemy-staff-card__description { max-width: 680px; margin: 0; color: #625966; font-size: 13px; line-height: 1.62; }
.alchemy-staff-card__cues { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 0; margin: 15px 0 0; color: #9d4b8d; font-size: 10px; font-weight: 750; }
.alchemy-staff-card__cues span { display: inline-flex; align-items: center; }
.alchemy-staff-card__cues span:not(:last-child)::after { width: 4px; height: 4px; margin: 0 8px; content: ""; background: #f76a27; border-radius: 50%; }
.alchemy-staff-card__bullet { display: flex; align-items: flex-start; gap: 8px; margin: 16px 0 0; color: #8b456f; font-size: 11px; font-weight: 700; line-height: 1.45; }
.alchemy-staff-card__bullet i { flex: 0 0 7px; width: 7px; height: 7px; margin-top: 5px; background: #f76a27; border-radius: 50%; }
.alchemy-staff-card .alchemy-staff-summary { margin: 16px 0 18px; }
.alchemy-staff-card__link {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 16px !important;
	width: 100% !important;
	min-height: 46px;
	margin: auto 0 0 !important;
	padding: 11px 14px !important;
	color: #a62161 !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	line-height: 1.35 !important;
	text-decoration: none !important;
	background: linear-gradient(100deg, rgba(219,47,111,.07), rgba(106,43,122,.025)) !important;
	border: 1px solid rgba(219,47,111,.13) !important;
	border-left: 3px solid #db2f6f !important;
	border-radius: 9px !important;
	transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}
.alchemy-staff-card__link .staff-portal-card__arrow { flex: 0 0 auto; color: #f76a27; font-size: 17px; font-weight: 850; transition: transform .18s ease; }
.alchemy-staff-card__link:hover { color: #6a2b7a !important; background: linear-gradient(100deg, rgba(219,47,111,.115), rgba(106,43,122,.05)) !important; border-color: rgba(106,43,122,.22) !important; transform: translateY(-1px); }
.alchemy-staff-card__link:hover .staff-portal-card__arrow { transform: translateX(3px); }
.alchemy-staff-card__link:focus-visible { outline: 2px solid #f76a27 !important; outline-offset: 3px !important; }
@media (max-width: 600px) {
	.alchemy-staff-card { min-height: 0; padding: 20px; }
	.alchemy-staff-card__cues { align-items: flex-start; flex-direction: column; }
	.alchemy-staff-card__cues span:not(:last-child)::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.alchemy-staff-card__link, .alchemy-staff-card__link .staff-portal-card__arrow { transition: none !important; }
	.alchemy-staff-card__link:hover { transform: none; }
}

/*
 * 2.6.1 legacy-card compatibility
 *
 * The removed Policy/Training Elementor HTML widgets had carried the shared
 * inline CSS for the lower cards. These selectors restore only the known lower
 * Qualifications/Compliance and Tools/Requests variants. Plugin-rendered cards
 * and the Help card are explicitly excluded.
 */
:is(.staff-portal-card--qualifications,.staff-portal-card--qualification,.staff-portal-card--compliance,.staff-portal-card--tools,.staff-portal-card--requests,.staff-portal-card[class*="staff-portal-card--qualif"],.staff-portal-card[class*="staff-portal-card--compliance"],.staff-portal-card[class*="staff-portal-card--tool"],.staff-portal-card[class*="staff-portal-card--request"]):not(.alchemy-staff-card):not(.alchemy-help-card) {
	box-sizing: border-box;
	position: relative;
	display: block;
	isolation: isolate;
	overflow: hidden;
	width: 100%;
	min-height: 300px;
	padding: 24px;
	color: #35283a !important;
	text-decoration: none !important;
	background: linear-gradient(135deg,rgba(255,255,255,.995),rgba(106,43,122,.023) 58%,rgba(219,47,111,.028));
	border: 1px solid rgba(106,43,122,.12);
	border-radius: 14px;
	box-shadow: 0 7px 22px rgba(58,25,66,.065);
}
:is(.staff-portal-card--qualifications,.staff-portal-card--qualification,.staff-portal-card--compliance,.staff-portal-card--tools,.staff-portal-card--requests,.staff-portal-card[class*="staff-portal-card--qualif"],.staff-portal-card[class*="staff-portal-card--compliance"],.staff-portal-card[class*="staff-portal-card--tool"],.staff-portal-card[class*="staff-portal-card--request"]):not(.alchemy-staff-card):not(.alchemy-help-card)::before {
	position:absolute;top:0;right:0;left:0;height:3px;content:"";background:linear-gradient(90deg,#6a2b7a,#db2f6f 58%,#f76a27);
}
:is(.staff-portal-card--qualifications,.staff-portal-card--qualification,.staff-portal-card--compliance,.staff-portal-card--tools,.staff-portal-card--requests,.staff-portal-card[class*="staff-portal-card--qualif"],.staff-portal-card[class*="staff-portal-card--compliance"],.staff-portal-card[class*="staff-portal-card--tool"],.staff-portal-card[class*="staff-portal-card--request"]):not(.alchemy-staff-card):not(.alchemy-help-card) *,
:is(.staff-portal-card--qualifications,.staff-portal-card--qualification,.staff-portal-card--compliance,.staff-portal-card--tools,.staff-portal-card--requests,.staff-portal-card[class*="staff-portal-card--qualif"],.staff-portal-card[class*="staff-portal-card--compliance"],.staff-portal-card[class*="staff-portal-card--tool"],.staff-portal-card[class*="staff-portal-card--request"]):not(.alchemy-staff-card):not(.alchemy-help-card) *::before,
:is(.staff-portal-card--qualifications,.staff-portal-card--qualification,.staff-portal-card--compliance,.staff-portal-card--tools,.staff-portal-card--requests,.staff-portal-card[class*="staff-portal-card--qualif"],.staff-portal-card[class*="staff-portal-card--compliance"],.staff-portal-card[class*="staff-portal-card--tool"],.staff-portal-card[class*="staff-portal-card--request"]):not(.alchemy-staff-card):not(.alchemy-help-card) *::after { box-sizing:border-box; }
:is(.staff-portal-card--qualifications,.staff-portal-card--qualification,.staff-portal-card--compliance,.staff-portal-card--tools,.staff-portal-card--requests,.staff-portal-card[class*="staff-portal-card--qualif"],.staff-portal-card[class*="staff-portal-card--compliance"],.staff-portal-card[class*="staff-portal-card--tool"],.staff-portal-card[class*="staff-portal-card--request"]):not(.alchemy-staff-card):not(.alchemy-help-card) .staff-portal-card__content { position:relative;z-index:2;display:flex;height:100%;flex-direction:column; }
:is(.staff-portal-card--qualifications,.staff-portal-card--qualification,.staff-portal-card--compliance,.staff-portal-card--tools,.staff-portal-card--requests,.staff-portal-card[class*="staff-portal-card--qualif"],.staff-portal-card[class*="staff-portal-card--compliance"],.staff-portal-card[class*="staff-portal-card--tool"],.staff-portal-card[class*="staff-portal-card--request"]):not(.alchemy-staff-card):not(.alchemy-help-card) .staff-portal-card__watermark { position:absolute;right:-22px;bottom:-32px;z-index:0;width:150px;height:150px;background-color:transparent !important;background-image:url("https://alchemysvcs.com.au/wp-content/uploads/2026/11/alchemy-butterfly-watermark.svg") !important;background-repeat:no-repeat !important;background-position:center !important;background-size:contain !important;opacity:.035;pointer-events:none; }
:is(.staff-portal-card--qualifications,.staff-portal-card--qualification,.staff-portal-card--compliance,.staff-portal-card--tools,.staff-portal-card--requests,.staff-portal-card[class*="staff-portal-card--qualif"],.staff-portal-card[class*="staff-portal-card--compliance"],.staff-portal-card[class*="staff-portal-card--tool"],.staff-portal-card[class*="staff-portal-card--request"]):not(.alchemy-staff-card):not(.alchemy-help-card) .staff-portal-card__top { display:flex;align-items:center;gap:10px;margin-bottom:17px; }
:is(.staff-portal-card--qualifications,.staff-portal-card--qualification,.staff-portal-card--compliance,.staff-portal-card--tools,.staff-portal-card--requests,.staff-portal-card[class*="staff-portal-card--qualif"],.staff-portal-card[class*="staff-portal-card--compliance"],.staff-portal-card[class*="staff-portal-card--tool"],.staff-portal-card[class*="staff-portal-card--request"]):not(.alchemy-staff-card):not(.alchemy-help-card) .staff-portal-card__icon {
	display:inline-flex !important;align-items:center !important;justify-content:center !important;flex:0 0 34px !important;width:34px !important;height:34px !important;max-width:34px !important;max-height:34px !important;margin:0 !important;padding:0 !important;color:#6a2b7a !important;background:rgba(106,43,122,.075) !important;border-radius:9px !important;
}
:is(.staff-portal-card--qualifications,.staff-portal-card--qualification,.staff-portal-card--compliance,.staff-portal-card--tools,.staff-portal-card--requests,.staff-portal-card[class*="staff-portal-card--qualif"],.staff-portal-card[class*="staff-portal-card--compliance"],.staff-portal-card[class*="staff-portal-card--tool"],.staff-portal-card[class*="staff-portal-card--request"]):not(.alchemy-staff-card):not(.alchemy-help-card) .staff-portal-card__icon svg {
	display:block !important;width:18px !important;height:18px !important;min-width:18px !important;min-height:18px !important;max-width:18px !important;max-height:18px !important;margin:0 !important;padding:0 !important;overflow:visible !important;fill:currentColor !important;stroke:none;
}
:is(.staff-portal-card--qualifications,.staff-portal-card--qualification,.staff-portal-card--compliance,.staff-portal-card--tools,.staff-portal-card--requests,.staff-portal-card[class*="staff-portal-card--qualif"],.staff-portal-card[class*="staff-portal-card--compliance"],.staff-portal-card[class*="staff-portal-card--tool"],.staff-portal-card[class*="staff-portal-card--request"]):not(.alchemy-staff-card):not(.alchemy-help-card) .staff-portal-card__icon svg path { fill:currentColor !important; }
:is(.staff-portal-card--qualifications,.staff-portal-card--qualification,.staff-portal-card--compliance,.staff-portal-card--tools,.staff-portal-card--requests,.staff-portal-card[class*="staff-portal-card--qualif"],.staff-portal-card[class*="staff-portal-card--compliance"],.staff-portal-card[class*="staff-portal-card--tool"],.staff-portal-card[class*="staff-portal-card--request"]):not(.alchemy-staff-card):not(.alchemy-help-card) .staff-portal-card__eyebrow { color:#6a2b7a !important;font-size:10px !important;font-weight:850 !important;letter-spacing:.105em !important;line-height:1.3 !important; }
:is(.staff-portal-card--qualifications,.staff-portal-card--qualification,.staff-portal-card--compliance,.staff-portal-card--tools,.staff-portal-card--requests,.staff-portal-card[class*="staff-portal-card--qualif"],.staff-portal-card[class*="staff-portal-card--compliance"],.staff-portal-card[class*="staff-portal-card--tool"],.staff-portal-card[class*="staff-portal-card--request"]):not(.alchemy-staff-card):not(.alchemy-help-card) h2 { margin:0 0 12px !important;color:#38263d !important;font-size:clamp(21px,2vw,27px) !important;line-height:1.18 !important; }
:is(.staff-portal-card--qualifications,.staff-portal-card--qualification,.staff-portal-card--compliance,.staff-portal-card--tools,.staff-portal-card--requests,.staff-portal-card[class*="staff-portal-card--qualif"],.staff-portal-card[class*="staff-portal-card--compliance"],.staff-portal-card[class*="staff-portal-card--tool"],.staff-portal-card[class*="staff-portal-card--request"]):not(.alchemy-staff-card):not(.alchemy-help-card) .staff-portal-card__description { margin:0 !important;color:#625966 !important;font-size:13px !important;line-height:1.62 !important; }
:is(.staff-portal-card--qualifications,.staff-portal-card--qualification,.staff-portal-card--compliance,.staff-portal-card--tools,.staff-portal-card--requests,.staff-portal-card[class*="staff-portal-card--qualif"],.staff-portal-card[class*="staff-portal-card--compliance"],.staff-portal-card[class*="staff-portal-card--tool"],.staff-portal-card[class*="staff-portal-card--request"]):not(.alchemy-staff-card):not(.alchemy-help-card) .staff-portal-card__link { display:flex !important;align-items:center !important;justify-content:space-between !important;gap:16px !important;width:100% !important;min-height:46px;margin:auto 0 0 !important;padding:11px 14px !important;color:#a62161 !important;font-size:12px !important;font-weight:800 !important;line-height:1.35 !important;text-decoration:none !important;background:linear-gradient(100deg,rgba(219,47,111,.07),rgba(106,43,122,.025)) !important;border:1px solid rgba(219,47,111,.13) !important;border-left:3px solid #db2f6f !important;border-radius:9px !important; }
:is(.staff-portal-card--qualifications,.staff-portal-card--qualification,.staff-portal-card--compliance,.staff-portal-card--tools,.staff-portal-card--requests,.staff-portal-card[class*="staff-portal-card--qualif"],.staff-portal-card[class*="staff-portal-card--compliance"],.staff-portal-card[class*="staff-portal-card--tool"],.staff-portal-card[class*="staff-portal-card--request"]):not(.alchemy-staff-card):not(.alchemy-help-card):focus-visible { outline:2px solid #f76a27;outline-offset:3px; }
@media (max-width:600px) {
	:is(.staff-portal-card--qualifications,.staff-portal-card--qualification,.staff-portal-card--compliance,.staff-portal-card--tools,.staff-portal-card--requests,.staff-portal-card[class*="staff-portal-card--qualif"],.staff-portal-card[class*="staff-portal-card--compliance"],.staff-portal-card[class*="staff-portal-card--tool"],.staff-portal-card[class*="staff-portal-card--request"]):not(.alchemy-staff-card):not(.alchemy-help-card) { min-height:0;padding:20px; }
}
