/* =====================================================================
   Easy Chat Support - Capripio — Admin Dashboard
   Concept: Apple-style liquid glass. Frosted floating panels over a
   soft aurora gradient backdrop, SF-style type, segmented controls,
   iMessage-style bubbles, pill buttons and switches.
===================================================================== */

body.toplevel_page_cpecs-inbox #wpbody-content,
body.chat-support_page_cpecs-settings #wpbody-content { padding-bottom: 0; }
body.toplevel_page_cpecs-inbox #wpcontent,
body.chat-support_page_cpecs-settings #wpcontent { padding-left: 0; }
body.toplevel_page_cpecs-inbox .notice,
body.chat-support_page_cpecs-settings .notice,
body.toplevel_page_cpecs-inbox #wpfooter,
body.chat-support_page_cpecs-settings #wpfooter { display: none; }

.cpecs-app {
	color-scheme: light;
	--cpecs-ink: #1d1d1f;
	--cpecs-ink-soft: #6e6e73;
	--cpecs-accent: #5e5ce6;
	--cpecs-accent-dark: #4744c9;
	--cpecs-blue: #0071e3;
	--cpecs-green: #34c759;
	--cpecs-red: #ff3b30;
	--cpecs-gray: #8e8e93;
	--cpecs-glass: rgba(255,255,255,0.62);
	--cpecs-glass-strong: rgba(255,255,255,0.78);
	--cpecs-glass-border: rgba(255,255,255,0.75);
	--cpecs-hair: rgba(60,60,67,0.12);

	position: relative;
	min-height: calc(100vh - 32px);
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--cpecs-ink);
	-webkit-font-smoothing: antialiased;
	overflow: hidden;
}

/* ---------------- Aurora background ---------------- */

.cpecs-aurora {
	position: fixed;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	background: linear-gradient(180deg, #f5f5f8, #eceef3);
}
.cpecs-blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: .55;
	will-change: transform;
}
.cpecs-blob-1 { width: 480px; height: 480px; top: -120px; left: -80px; background: #8ab4ff; animation: cpecs-drift1 26s ease-in-out infinite alternate; }
.cpecs-blob-2 { width: 520px; height: 520px; top: 10%; right: -140px; background: #d5a8ff; animation: cpecs-drift2 32s ease-in-out infinite alternate; }
.cpecs-blob-3 { width: 460px; height: 460px; bottom: -160px; left: 18%; background: #ffc199; animation: cpecs-drift3 28s ease-in-out infinite alternate; }
.cpecs-blob-4 { width: 380px; height: 380px; bottom: 5%; right: 12%; background: #9df0c7; opacity: .4; animation: cpecs-drift1 24s ease-in-out infinite alternate-reverse; }

@keyframes cpecs-drift1 { from { transform: translate(0,0) scale(1); } to { transform: translate(40px,30px) scale(1.08); } }
@keyframes cpecs-drift2 { from { transform: translate(0,0) scale(1); } to { transform: translate(-50px,20px) scale(0.95); } }
@keyframes cpecs-drift3 { from { transform: translate(0,0) scale(1); } to { transform: translate(30px,-40px) scale(1.05); } }

/* ---------------- Glass mixin-ish base ---------------- */

.cpecs-glass {
	background: var(--cpecs-glass);
	-webkit-backdrop-filter: blur(24px) saturate(180%);
	backdrop-filter: blur(24px) saturate(180%);
	border: 1px solid var(--cpecs-glass-border);
	box-shadow: 0 8px 30px rgba(31,31,40,0.08), inset 0 1px 0 rgba(255,255,255,0.5);
}

/* ---------------- Frame ---------------- */

.cpecs-frame { position: relative; z-index: 1; height: calc(100vh - 32px); display: flex; flex-direction: column; padding: 16px 20px 0; }

.cpecs-topbar {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 8px 10px 8px 12px;
	border-radius: 20px;
	flex-shrink: 0;
}

.cpecs-brand { display: flex; align-items: center; gap: 10px; padding-right: 6px; }
.cpecs-brand-mark {
	width: 30px; height: 30px;
	border-radius: 9px;
	background: linear-gradient(135deg, var(--cpecs-accent), var(--cpecs-blue));
	display: flex; align-items: center; justify-content: center;
	color: #fff;
	flex: 0 0 30px;
	box-shadow: 0 2px 8px rgba(94,92,230,0.4), inset 0 1px 0 rgba(255,255,255,0.4);
}
.cpecs-brand-name {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

/* Segmented control — the Apple signature element */

.cpecs-segmented {
	display: flex;
	position: relative;
	background: rgba(120,120,128,0.12);
	border-radius: 12px;
	padding: 3px;
	gap: 2px;
}
.cpecs-seg-item {
	position: relative;
	z-index: 1;
	border: none;
	background: transparent;
	padding: 6px 16px;
	font-size: 13px;
	font-weight: 600;
	color: var(--cpecs-ink-soft);
	text-decoration: none;
	border-radius: 9px;
	cursor: pointer;
	transition: color .15s ease;
	white-space: nowrap;
}
.cpecs-seg-item.cpecs-seg-active {
	color: var(--cpecs-ink);
	background: #fff;
	box-shadow: 0 1px 4px rgba(0,0,0,0.12), 0 1px 1px rgba(0,0,0,0.06);
}

.cpecs-topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.cpecs-live-pill {
	display: flex; align-items: center; gap: 6px;
	font-size: 11.5px; font-weight: 600;
	color: var(--cpecs-green);
	background: rgba(52,199,89,0.12);
	border-radius: 999px;
	padding: 6px 12px;
}
.cpecs-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cpecs-green); box-shadow: 0 0 0 3px rgba(52,199,89,0.25); animation: cpecs-pulse-op 1.8s ease-in-out infinite; }
@keyframes cpecs-pulse-op { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

/* ---------------- Page ---------------- */

.cpecs-page { flex: 1; min-height: 0; padding: 20px 4px 20px; display: flex; flex-direction: column; overflow: hidden; }

.cpecs-page-title { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 2px; }
.cpecs-page-sub { font-size: 13px; color: var(--cpecs-ink-soft); margin: 0 0 16px; }

/* ---------------- Stat tiles ---------------- */

.cpecs-stats { display: flex; gap: 12px; margin-bottom: 14px; flex-shrink: 0; }

.cpecs-tile {
	border-radius: 16px;
	padding: 12px 18px;
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 108px;
}
.cpecs-tile-dot { width: 9px; height: 9px; border-radius: 50%; }
.cpecs-tile-open .cpecs-tile-dot { background: var(--cpecs-green); box-shadow: 0 0 0 4px rgba(52,199,89,0.18); }
.cpecs-tile-new .cpecs-tile-dot { background: var(--cpecs-red); box-shadow: 0 0 0 4px rgba(255,59,48,0.18); }
.cpecs-tile-num { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.cpecs-tile-label { font-size: 11px; color: var(--cpecs-ink-soft); text-transform: uppercase; letter-spacing: .05em; }
.cpecs-tile-text { display: flex; flex-direction: column; gap: 2px; }

/* ---------------- Inbox layout ---------------- */

.cpecs-inbox-grid { display: flex; gap: 14px; flex: 1; min-height: 0; }

.cpecs-list-pane {
	width: 320px;
	flex: 0 0 320px;
	border-radius: 20px;
	overflow-y: auto;
	padding: 8px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.cpecs-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	width: 100%;
	text-align: left;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 14px;
	padding: 10px 10px;
	cursor: pointer;
	transition: background .14s ease, border-color .14s ease;
}
.cpecs-row:hover { background: rgba(255,255,255,0.5); }
.cpecs-row-active { background: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.9); box-shadow: 0 2px 10px rgba(31,31,40,0.08); }

.cpecs-avatar {
	width: 32px; height: 32px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--cpecs-accent), var(--cpecs-blue));
	color: #fff;
	font-size: 11.5px;
	font-weight: 700;
	display: flex; align-items: center; justify-content: center;
	flex: 0 0 32px;
}

.cpecs-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cpecs-row-top { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.cpecs-row-name { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cpecs-row-time { font-size: 11px; color: var(--cpecs-ink-soft); flex-shrink: 0; }
.cpecs-row-preview { font-size: 12.5px; color: var(--cpecs-ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cpecs-row-status { width: 7px; height: 7px; border-radius: 50%; margin-top: 5px; flex-shrink: 0; }
.cpecs-status-new .cpecs-row-status { background: var(--cpecs-red); box-shadow: 0 0 0 3px rgba(255,59,48,0.16); }
.cpecs-status-open .cpecs-row-status { background: var(--cpecs-green); box-shadow: 0 0 0 3px rgba(52,199,89,0.16); }
.cpecs-status-closed .cpecs-row-status { background: var(--cpecs-gray); }

.cpecs-empty {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 8px;
	color: var(--cpecs-ink-soft);
	padding: 30px 20px;
}
.cpecs-empty-icon {
	width: 44px; height: 44px;
	border-radius: 50%;
	background: rgba(120,120,128,0.12);
	display: flex; align-items: center; justify-content: center;
	color: var(--cpecs-ink-soft);
}
.cpecs-empty p { margin: 0; font-weight: 600; color: var(--cpecs-ink); font-size: 13px; }
.cpecs-empty span.cpecs-empty-hint { font-size: 12px; }

/* ---------------- Thread pane ---------------- */

.cpecs-thread-pane {
	flex: 1;
	min-width: 0;
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.cpecs-thread-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	border-bottom: 1px solid var(--cpecs-hair);
	flex-shrink: 0;
}
.cpecs-thread-avatar {
	width: 36px; height: 36px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--cpecs-accent), var(--cpecs-blue));
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	display: flex; align-items: center; justify-content: center;
	flex: 0 0 36px;
}
.cpecs-thread-headtext { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cpecs-thread-name { font-weight: 700; font-size: 14.5px; }
.cpecs-thread-meta { font-size: 12px; color: var(--cpecs-ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 300px; }

.cpecs-pill-btn {
	margin-left: auto;
	background: rgba(120,120,128,0.14);
	border: none;
	border-radius: 999px;
	padding: 7px 14px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	color: var(--cpecs-ink);
	flex-shrink: 0;
	transition: background .12s ease;
}
.cpecs-pill-btn:hover { background: rgba(120,120,128,0.22); }

.cpecs-thread-messages {
	flex: 1;
	overflow-y: auto;
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cpecs-bubble-row { display: flex; }
.cpecs-bubble-row.cpecs-out { justify-content: flex-end; }

.cpecs-bubble {
	max-width: 64%;
	padding: 9px 14px;
	border-radius: 20px;
	font-size: 13.5px;
	line-height: 1.45;
	display: flex;
	flex-direction: column;
	gap: 3px;
	animation: cpecs-pop .16s ease-out;
}
@keyframes cpecs-pop { from { opacity: 0; transform: scale(.92) translateY(4px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.cpecs-in .cpecs-bubble, .cpecs-bubble-row:not(.cpecs-out) .cpecs-bubble {
	background: rgba(120,120,128,0.14);
	color: var(--cpecs-ink);
}
.cpecs-out .cpecs-bubble {
	background: linear-gradient(135deg, var(--cpecs-blue), #2f8bef);
	color: #fff;
}
.cpecs-bubble-time { font-size: 10px; opacity: .6; }

.cpecs-compose {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px;
	border-top: 1px solid var(--cpecs-hair);
	flex-shrink: 0;
}
.cpecs-compose-input {
	flex: 1;
	border: none !important;
	background-color: rgba(120,120,128,0.12) !important;
	color: var(--cpecs-ink) !important;
	color-scheme: light;
	border-radius: 999px !important;
	padding: 10px 16px !important;
	box-shadow: none !important;
	font-size: 13.5px;
	outline: none;
	transition: background-color .12s ease;
}
.cpecs-compose-input:focus { background-color: rgba(120,120,128,0.18) !important; color: var(--cpecs-ink) !important; }
.cpecs-compose-input::placeholder { color: var(--cpecs-ink-soft); opacity: 1; }
.cpecs-compose-send {
	width: 34px; height: 34px;
	border-radius: 50%;
	border: none;
	background: linear-gradient(135deg, var(--cpecs-blue), #2f8bef);
	color: #fff;
	padding: 0;
	line-height: 0;
	display: flex; align-items: center; justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	transition: transform .12s ease, filter .12s ease;
}
.cpecs-compose-send:hover { filter: brightness(1.08); transform: scale(1.05); }
.cpecs-compose-send svg { display: block; }

/* ---------------- Settings ---------------- */

.cpecs-settings-wrap { max-width: 640px; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; padding-bottom: 20px; flex: 1; min-height: 0; }

.cpecs-subseg { align-self: flex-start; }

.cpecs-card {
	border-radius: 18px;
	padding: 18px 20px;
}
.cpecs-card-title {
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--cpecs-ink-soft);
	margin: 0 0 10px;
}

.cpecs-tabpanel { display: flex; flex-direction: column; gap: 14px; animation: cpecs-pop .15s ease-out; }

.cpecs-frow { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--cpecs-hair); gap: 12px; }
.cpecs-frow:last-child { border-bottom: none; }
.cpecs-frow-stack { flex-direction: column; align-items: stretch; gap: 6px; }
.cpecs-frow-label { font-size: 13.5px; font-weight: 500; color: var(--cpecs-ink); }

.cpecs-field {
	border: 1px solid rgba(120,120,128,0.18) !important;
	background-color: rgba(247,247,248,0.9) !important;
	color: var(--cpecs-ink) !important;
	color-scheme: light;
	border-radius: 10px !important;
	padding: 9px 12px !important;
	font-size: 13.5px !important;
	outline: none !important;
	box-shadow: none !important;
	font-family: inherit;
	width: 100%;
	transition: background-color .12s ease, border-color .15s ease, box-shadow .15s ease;
	resize: vertical;
}
.cpecs-field:hover { background-color: rgba(240,240,242,0.95) !important; }
.cpecs-field:focus {
	background-color: rgba(255,255,255,0.95) !important;
	border-color: rgba(94,92,230,0.55) !important;
	box-shadow: 0 0 0 4px rgba(94,92,230,0.14) !important;
	color: var(--cpecs-ink) !important;
}
.cpecs-field::placeholder { color: var(--cpecs-ink-soft); opacity: 1; }
.cpecs-field-number { width: 90px; flex-shrink: 0; }

.cpecs-color-wrap { display: flex; align-items: center; gap: 10px; }
.cpecs-field-color { width: 40px !important; height: 28px !important; border: none !important; border-radius: 8px !important; padding: 2px !important; background: rgba(120,120,128,0.1) !important; }
.cpecs-color-value { font-size: 12px; color: var(--cpecs-ink-soft); font-variant-numeric: tabular-nums; }

select.cpecs-field,
.cpecs-select-field {
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	cursor: pointer;
	width: auto !important;
	min-width: 200px;
	max-width: 100%;
	padding-right: 34px !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8l4 4 4-4'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 10px center !important;
	background-size: 14px !important;
}
select.cpecs-field:focus,
.cpecs-select-field:focus {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%235e5ce6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8l4 4 4-4'/%3E%3C/svg%3E") !important;
}
select.cpecs-field option {
	color: var(--cpecs-ink);
	background-color: #fff;
}

/* iOS-style switch */
.cpecs-switch { position: relative; display: inline-block; width: 42px; height: 25px; flex-shrink: 0; }
.cpecs-switch-input {
	position: absolute !important;
	opacity: 0 !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	cursor: pointer;
	min-width: 0 !important;
}
.cpecs-switch-track { position: absolute; inset: 0; background: rgba(120,120,128,0.32); border-radius: 20px; transition: background .18s ease; }
.cpecs-switch-track::before {
	content: "";
	position: absolute;
	top: 2px; left: 2px;
	width: 21px; height: 21px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 5px rgba(0,0,0,0.25);
	transition: transform .18s cubic-bezier(.4,0,.2,1);
}
.cpecs-switch-input:checked + .cpecs-switch-track { background: var(--cpecs-green); }
.cpecs-switch-input:checked + .cpecs-switch-track::before { transform: translateX(17px); }

.cpecs-callout {
	display: flex;
	gap: 14px;
	border-radius: 18px;
	padding: 20px 22px;
	background: linear-gradient(135deg, rgba(94,92,230,0.16), rgba(0,113,227,0.1));
}
.cpecs-callout-badge {
	width: 38px; height: 38px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--cpecs-accent), var(--cpecs-blue));
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	flex: 0 0 38px;
	box-shadow: 0 4px 12px rgba(94,92,230,0.35);
}
.cpecs-callout-body { flex: 1; min-width: 0; }
.cpecs-callout-title { font-size: 14.5px; font-weight: 700; margin: 2px 0 6px; }
.cpecs-callout-text { font-size: 12.5px; line-height: 1.55; color: var(--cpecs-ink-soft); margin: 0 0 12px; max-width: 480px; }

.cpecs-hint { font-size: 11.5px; color: var(--cpecs-ink-soft); }

.cpecs-save-row { display: flex; align-items: center; gap: 12px; flex-shrink: 0; padding-top: 4px; }
.cpecs-btn-primary {
	background: linear-gradient(135deg, var(--cpecs-accent), var(--cpecs-blue));
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 10px 22px;
	font-weight: 600;
	font-size: 13.5px;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(94,92,230,0.35);
	transition: filter .12s ease, transform .1s ease;
}
.cpecs-btn-primary:hover { filter: brightness(1.06); }
.cpecs-btn-primary:active { transform: scale(.97); }
.cpecs-btn-secondary {
	background: rgba(120,120,128,0.12);
	border: none;
	border-radius: 999px;
	padding: 8px 16px;
	font-weight: 600;
	font-size: 12px;
	cursor: pointer;
	color: var(--cpecs-ink);
	transition: background .12s ease;
}
.cpecs-btn-secondary:hover { background: rgba(120,120,128,0.2); }
.cpecs-save-status { font-size: 12px; color: var(--cpecs-ink-soft); }

/* ---------------- Page layout: main column + optional sidebar ---------------- */

.cpecs-page-body { display: flex; gap: 20px; flex: 1; min-height: 0; }
.cpecs-page-main { flex: 1; min-width: 0; display: flex; flex-direction: column; min-height: 0; }

/* ---------------- Pro promo sidebar card ---------------- */

.cpecs-promo-side {
	width: 264px;
	flex: 0 0 264px;
	align-self: stretch;
	position: relative;
	overflow: hidden;
	border-radius: 22px;
	padding: 24px 22px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	color: #fff;
	background: linear-gradient(165deg, var(--cpecs-accent) 0%, var(--cpecs-blue) 100%);
	box-shadow: 0 16px 40px rgba(94,92,230,0.4), inset 0 1px 0 rgba(255,255,255,0.25);
}
.cpecs-promo-side::before {
	content: "";
	position: absolute;
	top: -60px;
	right: -60px;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: rgba(255,255,255,0.14);
	filter: blur(10px);
}
.cpecs-promo-side::after {
	content: "";
	position: absolute;
	bottom: -80px;
	left: -40px;
	width: 160px;
	height: 160px;
	border-radius: 50%;
	background: rgba(255,255,255,0.08);
}

.cpecs-promo-badge {
	position: relative;
	z-index: 1;
	width: 42px;
	height: 42px;
	border-radius: 13px;
	background: rgba(255,255,255,0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 19px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}

.cpecs-promo-title {
	position: relative;
	z-index: 1;
	font-size: 16.5px;
	font-weight: 800;
	line-height: 1.3;
	margin: 0;
	letter-spacing: -0.01em;
	color: #fff !important;
}

.cpecs-promo-tagline {
	position: relative;
	z-index: 1;
	font-size: 12.5px;
	line-height: 1.5;
	color: rgba(255,255,255,0.85) !important;
	margin: -6px 0 2px;
}

.cpecs-promo-features {
	position: relative;
	z-index: 1;
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.cpecs-promo-features li {
	font-size: 12.5px;
	line-height: 1.4;
	padding-left: 20px;
	position: relative;
	color: rgba(255,255,255,0.92);
}
.cpecs-promo-features li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0;
	font-size: 11px;
	font-weight: 700;
	color: #fff;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: rgba(255,255,255,0.22);
	display: flex;
	align-items: center;
	justify-content: center;
}

.cpecs-promo-price {
	position: relative;
	z-index: 1;
	font-size: 12.5px;
	font-weight: 700;
	color: #fff !important;
	background: rgba(255,255,255,0.16);
	border-radius: 10px;
	padding: 9px 12px;
	line-height: 1.4;
}

.cpecs-promo-cta {
	position: relative;
	z-index: 1;
	display: block;
	text-align: center;
	text-decoration: none;
	background: #fff;
	color: var(--cpecs-accent-dark);
	font-weight: 800;
	font-size: 13px;
	padding: 11px 14px;
	border-radius: 12px;
	margin-top: 2px;
	box-shadow: 0 6px 16px rgba(0,0,0,0.18);
	transition: transform .12s ease, box-shadow .12s ease;
}
.cpecs-promo-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,0.22); }

@media (max-width: 900px) {
	.cpecs-page-body { flex-direction: column; }
	.cpecs-promo-side { width: 100%; flex: none; }
}

@media (max-width: 900px) {
	.cpecs-inbox-grid { flex-direction: column; }
	.cpecs-list-pane { width: 100%; flex: none; max-height: 240px; }
	.cpecs-topbar { flex-wrap: wrap; }
}
