/* FO service console isolation. Does not hide site header/footer. */

body.sgp-rc-service-console-page {
	overflow-x: clip;
}

body.sgp-rc-service-console-page .entry-header,
body.sgp-rc-service-console-page .page-header,
body.sgp-rc-service-console-page .wp-block-post-title,
body.sgp-rc-service-console-page .entry-title,
body.sgp-rc-service-console-page .page-title,
body.sgp-rc-service-console-page .comments-area,
body.sgp-rc-service-console-page .post-navigation {
	display: none !important;
}

body.sgp-rc-service-console-page .wp-block-post-content,
body.sgp-rc-service-console-page .entry-content,
body.sgp-rc-service-console-page .wp-block-post-content.wp-block-post-content,
body.sgp-rc-service-console-page .entry-content.entry-content {
	max-width: none !important;
	width: 100% !important;
	margin-top: 0 !important;
	padding-top: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.sgp-rc-service-console-page .wp-block-post-content:has(.sgp-rc-service-console),
body.sgp-rc-service-console-page .entry-content:has(.sgp-rc-service-console),
body.sgp-rc-service-console-page .wp-block-shortcode:has(.sgp-rc-service-console),
body.sgp-rc-service-console-page .wp-block-group:has(.sgp-rc-service-console),
body.sgp-rc-service-console-page .wp-block-column:has(.sgp-rc-service-console) {
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.sgp-rc-service-console-page .is-layout-constrained > .sgp-rc-service-console,
body.sgp-rc-service-console-page .is-layout-flow > .sgp-rc-service-console {
	max-width: none !important;
	width: 100% !important;
}

/* Web Orders FO isolation. Does not reuse the live console class. */
body.sgp-wo-has-shortcode {
	overflow-x: clip;
}

body.sgp-wo-has-shortcode .entry-header,
body.sgp-wo-has-shortcode .page-header,
body.sgp-wo-has-shortcode .wp-block-post-title,
body.sgp-wo-has-shortcode .entry-title,
body.sgp-wo-has-shortcode .page-title,
body.sgp-wo-has-shortcode .comments-area,
body.sgp-wo-has-shortcode .post-navigation {
	display: none !important;
}

body.sgp-wo-has-shortcode .wp-block-post-content,
body.sgp-wo-has-shortcode .entry-content,
body.sgp-wo-has-shortcode .wp-block-post-content.wp-block-post-content,
body.sgp-wo-has-shortcode .entry-content.entry-content {
	max-width: none !important;
	width: 100% !important;
	margin-top: 0 !important;
	padding-top: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.sgp-wo-has-shortcode .wp-block-post-content:has(.sgp-wo-console),
body.sgp-wo-has-shortcode .entry-content:has(.sgp-wo-console),
body.sgp-wo-has-shortcode .wp-block-shortcode:has(.sgp-wo-console),
body.sgp-wo-has-shortcode .wp-block-group:has(.sgp-wo-console),
body.sgp-wo-has-shortcode .wp-block-column:has(.sgp-wo-console),
body.sgp-wo-has-shortcode .is-layout-constrained > .sgp-wo-console,
body.sgp-wo-has-shortcode .is-layout-flow > .sgp-wo-console {
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.sgp-om-public__notice {
	max-width: 640px;
	margin: 28px auto;
	padding: 20px 22px;
	border: 1px solid #dbe4ee;
	border-radius: 16px;
	background: #fff;
	color: #5c6b7a;
	text-align: center;
	font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
	box-sizing: border-box;
}

.sgp-rc-service-console,
.sgp-rc-service-console *,
.sgp-rc-service-console *::before,
.sgp-rc-service-console *::after {
	box-sizing: border-box;
}

.sgp-rc-service-console {
	display: block;
	position: relative;
	left: auto;
	right: auto;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	overflow-x: clip;
	background: var(--rc-om-console-bg, #071014);
	background-color: var(--rc-om-console-bg, #071014);
	color: var(--rc-om-text-light, #f8fafc);
	font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

.sgp-rc-service-console--service {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	min-height: 0;
	padding-bottom: 24px;
}

.sgp-rc-service-console--service.is-measuring {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.sgp-rc-service-console--service.is-viewport-aligned {
	width: var(--sgp-om-viewport-width, 100%) !important;
	max-width: var(--sgp-om-viewport-width, 100%) !important;
	margin-left: var(--sgp-om-viewport-shift, 0px) !important;
	margin-right: 0 !important;
}

.sgp-rc-service-console--simple {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	min-height: 50vh;
	padding-bottom: 48px;
	border-radius: var(--rc-om-radius, 18px);
}

.sgp-rc-service-console .sgp-om-console.sgp-om {
	--sgp-om-ink: var(--rc-om-text-light, #f8fafc);
	--sgp-om-muted: var(--rc-om-text-light, #f8fafc);
	--sgp-om-line: rgba(255, 255, 255, 0.08);
	--sgp-om-bg: transparent;
	--sgp-om-surface: var(--rc-om-surface, #111820);
	--sgp-om-soft: var(--rc-om-surface, #111820);
	--sgp-om-card: var(--rc-om-card, #f8fafc);
	--sgp-om-card-ink: var(--rc-om-text-dark, #0f172a);
	--sgp-om-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
	--sgp-om-radius: var(--rc-om-radius, 18px);
	position: relative;
	left: auto;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	background: transparent;
	color: var(--sgp-om-ink);
	min-height: 0;
}

.sgp-om-console__bar {
	position: sticky;
	top: 0;
	z-index: 20;
	display: grid;
	grid-template-columns: minmax(180px, 1.1fr) auto minmax(220px, 1.2fr);
	gap: 8px 12px;
	align-items: center;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 8px max(16px, calc((100% - 1600px) / 2));
	background: var(--rc-om-console-bg, #071014);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--rc-om-text-light, #f8fafc);
}
.admin-bar .sgp-om-console__bar { top: 32px; }
.sgp-om-console__brand {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}
.sgp-om-console__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--rc-om-success, #159064);
	color: var(--rc-om-text-light, #f8fafc);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.04em;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}
.sgp-om-console__kicker {
	margin: 0 0 2px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rc-om-success, #159064);
}
.sgp-om-console__title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin: 0;
	padding: 0;
	color: var(--rc-om-text-light, #f8fafc);
	font-size: 20px;
	font-weight: 750;
	line-height: 1.1;
}
.sgp-om-console__demo-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: rgba(245, 158, 11, 0.18);
	color: #fbbf24;
	border: 1px solid rgba(245, 158, 11, 0.35);
}
.sgp-rc-service-console--demo .sgp-om-console__demo-badge {
	animation: sgpOmDemoBadgePulse 2.8s ease-in-out infinite;
}
@keyframes sgpOmDemoBadgePulse {
	0%,
	100% {
		box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.12);
	}
	50% {
		box-shadow: 0 0 12px 3px rgba(251, 191, 36, 0.32);
	}
}
.sgp-om-console__sub {
	margin: 0;
	color: var(--rc-om-text-light, #f8fafc);
	font-size: 12px;
	line-height: 1.3;
	opacity: 0.88;
}
.sgp-om-console__metrics {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.sgp-om-console__metric {
	min-width: 72px;
	padding: 4px 8px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.04);
}
.sgp-om-console__metric--prep {
	background: var(--rc-om-success, #159064);
	border-color: var(--rc-om-success, #159064);
}
.sgp-om-console__label {
	display: block;
	margin-bottom: 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rc-om-text-light, #f8fafc);
}
.sgp-om-console__metric strong {
	display: block;
	font-size: 18px;
	line-height: 1.15;
	color: var(--rc-om-text-light, #f8fafc);
}
.sgp-om-console__status {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
	align-items: center;
}
.sgp-rc-service-console .sgp-om-chip {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.08);
	color: var(--rc-om-text-light, #f8fafc);
}
.sgp-rc-service-console .sgp-om-chip--on {
	background: var(--rc-om-success, #159064);
	border-color: var(--rc-om-success, #159064);
	color: var(--rc-om-text-light, #f8fafc);
}
.sgp-rc-service-console .sgp-om-chip--off {
	background: var(--rc-om-danger, #dc2626);
	border-color: var(--rc-om-danger, #dc2626);
	color: var(--rc-om-text-light, #f8fafc);
}
.sgp-rc-service-console .sgp-om-chip--live {
	background: var(--rc-om-primary, #2563eb);
	border-color: var(--rc-om-primary, #2563eb);
	color: var(--rc-om-text-light, #f8fafc);
}
.sgp-rc-service-console .sgp-om-chip--demo {
	background: rgba(245, 158, 11, 0.16);
	border-color: rgba(245, 158, 11, 0.28);
	color: #fde68a;
}
.sgp-rc-service-console--demo .sgp-om-btn.is-disabled,
.sgp-rc-service-console--demo .sgp-om-card__actions .sgp-om-btn:disabled,
.sgp-rc-service-console--demo .sgp-om-toolbar__filters .sgp-om-btn:disabled,
.sgp-rc-service-console--demo .sgp-om-toolbar .sgp-om-btn.is-disabled {
	opacity: 0.48;
	cursor: not-allowed;
	pointer-events: auto;
	filter: grayscale(0.12);
	box-shadow: none;
	transform: none;
}
.sgp-rc-service-console--demo .sgp-om-btn.is-disabled:hover,
.sgp-rc-service-console--demo .sgp-om-card__actions .sgp-om-btn:disabled:hover,
.sgp-rc-service-console--demo .sgp-om-btn.is-disabled:focus,
.sgp-rc-service-console--demo .sgp-om-card__actions .sgp-om-btn:disabled:focus {
	opacity: 0.48;
	filter: grayscale(0.12);
	box-shadow: none;
	transform: none;
}
.sgp-rc-service-console--demo .sgp-om-card__actions .sgp-om-btn--primary:disabled:hover,
.sgp-rc-service-console--demo .sgp-om-btn--primary.is-disabled:hover {
	filter: grayscale(0.12);
	background: var(--rc-om-primary, #2563eb);
	border-color: var(--rc-om-primary, #2563eb);
}
.sgp-om-card__demo-hint {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.3;
	color: #64748b;
}

.sgp-om-demo-guide {
	margin: 0 16px 4px;
	padding: 16px 18px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.22);
}
.sgp-om-demo-guide__title {
	margin: 0 0 8px;
	color: #ffffff;
	font-size: 20px;
	font-weight: 750;
	line-height: 1.25;
	letter-spacing: 0;
}
.sgp-om-demo-guide__text {
	margin: 0;
	color: #f8fafc;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.55;
}

.sgp-rc-service-console.sgp-rc-service-console--demo,
.sgp-rc-service-console--demo.sgp-rc-service-console--service,
.sgp-rc-service-console--demo.is-viewport-aligned,
.sgp-rc-service-console--demo.is-measuring {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	min-height: 0 !important;
	height: auto !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-bottom: 16px !important;
	overflow-x: hidden !important;
	overflow-y: visible !important;
	left: auto !important;
	box-sizing: border-box;
}
.sgp-om--demo.sgp-om-console,
.sgp-rc-service-console--demo .sgp-om-console {
	min-height: 0 !important;
	height: auto !important;
	max-width: 100%;
	overflow-x: hidden;
}
.sgp-rc-service-console--demo .sgp-om-console__bar {
	position: relative;
	top: auto;
	grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1fr);
	padding: 16px 16px 12px;
	gap: 12px 16px;
}
.sgp-rc-service-console--demo .sgp-om-console__brand,
.sgp-rc-service-console--demo .sgp-om-console__metrics,
.sgp-rc-service-console--demo .sgp-om-console__status,
.sgp-rc-service-console--demo .sgp-om-console__metric {
	min-width: 0;
	max-width: 100%;
}
.sgp-rc-service-console--demo .sgp-om-console__status {
	justify-content: flex-start;
}
.sgp-rc-service-console--demo .sgp-om-console__shell {
	max-width: 100%;
	margin: 0;
	padding: 12px 16px 8px;
}
.sgp-rc-service-console--demo .sgp-om-console__toolbar {
	padding: 8px 16px 12px;
	max-width: 100%;
}
.sgp-rc-service-console--demo .sgp-om-toolbar--console {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 12px;
}
.sgp-rc-service-console--demo .sgp-om-toolbar__nav,
.sgp-rc-service-console--demo .sgp-om-toolbar__filters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 8px;
	min-width: 0;
	max-width: 100%;
}
.sgp-rc-service-console--demo .sgp-om-toolbar__filters .sgp-om-field {
	flex: 1 1 140px;
	min-width: 0;
	max-width: 100%;
}
.sgp-rc-service-console--demo .sgp-om-toolbar__submit {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.sgp-rc-service-console--demo .sgp-om-field input,
.sgp-rc-service-console--demo .sgp-om-field select {
	width: 100%;
	max-width: 100%;
}
.sgp-rc-service-console--demo .sgp-om-slots,
.sgp-rc-service-console--demo .sgp-om-slots--console,
.sgp-rc-service-console--demo .sgp-om-slots--timeline,
.sgp-rc-service-console--demo .sgp-om-slots--demo {
	min-height: 0 !important;
	height: auto !important;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.sgp-rc-service-console--demo .sgp-om-slots--timeline .sgp-om-slot {
	min-height: 0 !important;
	height: auto !important;
	grid-template-columns: 88px minmax(0, 1fr);
	padding: 12px;
}
.sgp-rc-service-console--demo .sgp-om-slot__header h3 {
	font-size: 22px;
}
.sgp-rc-service-console--demo .sgp-om-slots--timeline .sgp-om-slot__cards {
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	min-height: 0;
}
.sgp-rc-service-console--demo .sgp-om-card {
	min-height: 0;
	height: auto;
	padding: 14px;
	max-width: 100%;
}
.sgp-rc-service-console--demo .sgp-om-card__actions .sgp-om-btn {
	min-height: 44px;
	width: 100%;
}
@media (max-width: 1366px) {
	.sgp-rc-service-console--demo .sgp-om-console__bar {
		grid-template-columns: minmax(0, 1fr) auto;
	}
	.sgp-rc-service-console--demo .sgp-om-console__status {
		grid-column: 1 / -1;
	}
	.sgp-rc-service-console--demo .sgp-om-slots--timeline .sgp-om-slot__cards {
		grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	}
}
@media (max-width: 1100px) {
	.sgp-rc-service-console--demo .sgp-om-console__bar {
		grid-template-columns: 1fr;
		padding: 14px;
	}
	.sgp-om-demo-guide {
		margin-left: 14px;
		margin-right: 14px;
	}
	.sgp-rc-service-console--demo .sgp-om-slots--timeline .sgp-om-slot {
		grid-template-columns: 76px minmax(0, 1fr);
	}
	.sgp-rc-service-console--demo .sgp-om-slots--timeline .sgp-om-slot__cards {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	}
}
@media (max-width: 900px) {
	.sgp-rc-service-console--demo .sgp-om-toolbar__nav,
	.sgp-rc-service-console--demo .sgp-om-toolbar__filters,
	.sgp-rc-service-console--demo .sgp-om-toolbar__submit {
		width: 100%;
	}
	.sgp-rc-service-console--demo .sgp-om-toolbar--console {
		gap: 12px;
	}
	.sgp-rc-service-console--demo .sgp-om-toolbar__filters {
		flex-direction: column;
		align-items: stretch;
		flex-wrap: nowrap;
		gap: 14px;
	}
	.sgp-rc-service-console--demo .sgp-om-toolbar__filters .sgp-om-field {
		flex: 0 0 auto;
		width: 100%;
		margin: 0;
		gap: 6px;
	}
	.sgp-rc-service-console--demo .sgp-om-field__label {
		margin: 0;
		line-height: 1.2;
	}
	.sgp-rc-service-console--demo .sgp-om-field input,
	.sgp-rc-service-console--demo .sgp-om-field select {
		min-height: 48px;
		margin: 0;
	}
	.sgp-rc-service-console--demo .sgp-om-toolbar__submit {
		margin-top: 16px;
		gap: 10px;
	}
	.sgp-rc-service-console--demo .sgp-om-slots--timeline .sgp-om-slot {
		grid-template-columns: 1fr;
	}
	.sgp-rc-service-console--demo .sgp-om-slot__header h3 {
		font-size: 20px;
	}
	.sgp-om-demo-guide__title {
		font-size: 18px;
	}
	.sgp-om-demo-guide__text {
		font-size: 15px;
	}
}
@media (max-width: 782px) {
	.sgp-rc-service-console--demo.sgp-rc-service-console--service {
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-bottom: 12px !important;
	}
	.sgp-rc-service-console--demo .sgp-om-console__shell,
	.sgp-rc-service-console--demo .sgp-om-console__toolbar {
		padding-left: 12px;
		padding-right: 12px;
	}
	.sgp-om-demo-guide {
		margin: 0 12px 8px;
		padding: 14px;
	}
	.sgp-rc-service-console--demo .sgp-om-slots--timeline .sgp-om-slot {
		grid-template-columns: 1fr;
	}
	.sgp-rc-service-console--demo .sgp-om-slots--timeline .sgp-om-slot__cards {
		grid-template-columns: 1fr;
	}
	.sgp-rc-service-console--demo .sgp-om-console__metric {
		flex: 1 1 100%;
	}
	.sgp-rc-service-console--demo .sgp-om-toolbar__filters {
		gap: 12px;
	}
	.sgp-rc-service-console--demo .sgp-om-toolbar__submit {
		margin-top: 14px;
	}
}
@media (max-width: 480px) {
	.sgp-rc-service-console--demo .sgp-om-console__title {
		font-size: 22px;
	}
	.sgp-om-demo-guide__title {
		font-size: 17px;
		color: #ffffff;
	}
	.sgp-om-demo-guide__text {
		font-size: 15px;
		color: #ffffff;
	}
	.sgp-rc-service-console--demo .sgp-om-toolbar__nav .sgp-om-btn {
		flex: 1 1 calc(50% - 8px);
		text-align: center;
		justify-content: center;
	}
}
.sgp-rc-service-console .sgp-om-btn--primary,
.sgp-rc-service-console a.sgp-om-btn--primary,
.sgp-rc-service-console button.sgp-om-btn--primary {
	background: var(--rc-om-primary, #2563eb);
	border-color: var(--rc-om-primary, #2563eb);
	color: var(--rc-om-text-light, #f8fafc);
	min-height: 44px;
}
.sgp-rc-service-console .sgp-om-btn--primary:hover,
.sgp-rc-service-console a.sgp-om-btn--primary:hover,
.sgp-rc-service-console button.sgp-om-btn--primary:hover {
	background: var(--rc-om-primary, #2563eb);
	border-color: var(--rc-om-primary, #2563eb);
	color: var(--rc-om-text-light, #f8fafc);
	filter: brightness(1.08);
}

.sgp-om-console__shell {
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
	padding: 8px 16px 16px;
}

.sgp-om-console__notice {
	margin: 0 0 18px;
	padding: 14px 16px;
	border-radius: 14px;
	font-weight: 600;
	animation: sgpOmIn var(--sgp-fo-motion-normal, 200ms) var(--sgp-fo-ease-standard, ease-out) both;
}
.sgp-om-console__notice--ok {
	background: var(--rc-om-success, #159064);
	border: 1px solid var(--rc-om-success, #159064);
	color: var(--rc-om-text-light, #f8fafc);
}
.sgp-om-console__notice--error {
	background: var(--rc-om-danger, #dc2626);
	border: 1px solid var(--rc-om-danger, #dc2626);
	color: var(--rc-om-text-light, #f8fafc);
}

.sgp-rc-service-console .sgp-om-empty {
	background: rgba(255, 255, 255, 0.03);
	border-color: rgba(255, 255, 255, 0.08);
	color: var(--rc-om-text-light, #f8fafc);
	padding: 12px 16px;
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	min-height: 0;
	text-align: center;
}

.sgp-rc-service-console .sgp-om-waiting {
	margin: 0 0 24px;
	padding: 20px;
	background: var(--rc-om-surface, #111820);
	border: 1px solid var(--rc-om-warning, #f59e0b);
	border-radius: var(--rc-om-radius, 18px);
}
.sgp-rc-service-console .sgp-om-waiting h3 {
	color: var(--rc-om-text-light, #f8fafc);
	font-size: 20px;
}
.sgp-rc-service-console .sgp-om-waiting__hint { color: var(--rc-om-text-light, #f8fafc); }
.sgp-rc-service-console .sgp-om-waiting__cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	grid-auto-flow: row;
	grid-auto-rows: min-content;
	justify-content: start;
	align-items: start;
	align-content: start;
	gap: 14px;
}

.sgp-rc-service-console .sgp-om-slots,
.sgp-rc-service-console .sgp-om-slots--console {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin: 0 auto;
	justify-content: flex-start;
	align-items: stretch;
	gap: 16px;
	grid-auto-flow: row;
}

.sgp-rc-service-console .sgp-om-slot {
	min-width: 0;
	background: var(--rc-om-surface, #111820);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--rc-om-radius, 18px);
	padding: 16px 16px 18px;
	min-height: 0;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.sgp-rc-service-console .sgp-om-slot__header h3 {
	color: var(--rc-om-text-light, #f8fafc);
	font-size: 32px;
	letter-spacing: -0.04em;
	font-weight: 750;
}
.sgp-om-slot__pulse {
	display: inline-block;
	margin-top: 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--rc-om-text-light, #f8fafc);
}
.sgp-rc-service-console .sgp-om-slot__count {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.08);
	color: var(--rc-om-text-light, #f8fafc);
}
.sgp-rc-service-console .sgp-om-slot--pulse-new { box-shadow: inset 4px 0 0 var(--rc-om-primary, #2563eb), inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.sgp-rc-service-console .sgp-om-slot--pulse-preparing { box-shadow: inset 4px 0 0 var(--rc-om-warning, #f59e0b), inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.sgp-rc-service-console .sgp-om-slot--pulse-ready { box-shadow: inset 4px 0 0 var(--rc-om-success, #159064), inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.sgp-rc-service-console .sgp-om-slot--pulse-done { box-shadow: inset 4px 0 0 #64748b, inset 0 1px 0 rgba(255, 255, 255, 0.04); opacity: 0.78; }
.sgp-rc-service-console .sgp-om-slot--pulse-new .sgp-om-slot__pulse { color: var(--rc-om-primary, #2563eb); }
.sgp-rc-service-console .sgp-om-slot--pulse-preparing .sgp-om-slot__pulse { color: var(--rc-om-warning, #f59e0b); }
.sgp-rc-service-console .sgp-om-slot--pulse-ready .sgp-om-slot__pulse { color: var(--rc-om-success, #159064); }

.sgp-rc-service-console .sgp-om-slots--timeline .sgp-om-slot {
	display: grid;
	grid-template-columns: 148px minmax(0, 1fr);
	grid-auto-flow: row;
	align-items: start;
	gap: 16px;
}
.sgp-rc-service-console .sgp-om-slots--timeline .sgp-om-slot__header {
	flex-direction: column;
	align-items: flex-start;
	margin-bottom: 0;
}
.sgp-rc-service-console .sgp-om-slots--timeline .sgp-om-slot__cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	grid-auto-flow: row;
	grid-auto-rows: min-content;
	align-items: start;
	align-content: start;
	gap: 14px;
}

.sgp-rc-service-console .sgp-om-day-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 8px;
	padding: 10px 12px;
	background: rgba(245, 158, 11, 0.12);
	border: 1px solid rgba(245, 158, 11, 0.38);
	border-radius: var(--rc-om-radius, 18px);
	color: var(--rc-om-text-light, #f8fafc);
}
.sgp-rc-service-console .sgp-om-day-banner strong {
	display: block;
	font-size: 16px;
	line-height: 1.3;
}
.sgp-rc-service-console .sgp-om-day-banner p {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--rc-om-text-light, #f8fafc);
}
.sgp-rc-service-console .sgp-om-day-banner__hint {
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 11px;
}
.sgp-rc-service-console .sgp-om-day-banner .sgp-om-btn {
	flex: 0 0 auto;
	align-self: center;
}

.sgp-rc-service-console .sgp-om-card {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-width: 0;
	background: var(--rc-om-card, #f8fafc);
	color: var(--rc-om-text-dark, #0f172a);
	border: 0;
	border-left: 5px solid var(--rc-om-primary, #2563eb);
	border-radius: var(--rc-om-radius, 18px);
	padding: 16px;
	height: auto;
	min-height: 0;
	flex: none;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
	overflow-wrap: anywhere;
}
.sgp-rc-service-console .sgp-om-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}
.sgp-rc-service-console .sgp-om-card__number {
	margin-top: 10px;
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.sgp-rc-service-console .sgp-om-card__customer {
	margin-top: 8px;
	font-size: 18px;
	line-height: 1.2;
}
.sgp-rc-service-console .sgp-om-card__phone {
	font-size: 15px;
	font-weight: 600;
	color: var(--rc-om-text-dark, #0f172a);
}
.sgp-rc-service-console .sgp-om-card__items {
	margin-top: 12px;
	padding: 12px 14px;
	background: var(--rc-om-card, #f8fafc);
	box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
	font-size: 14px;
	line-height: 1.5;
}
.sgp-rc-service-console .sgp-om-card__total { font-size: 16px; }
.sgp-om-badge--loyalty {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	max-width: 100%;
}
.sgp-om-badge--loyalty svg {
	width: 14px;
	height: 14px;
	flex: 0 0 auto;
}
.sgp-rc-service-console .sgp-om-badge--ops {
	padding: 5px 10px;
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.sgp-rc-service-console .sgp-om-card__actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 8px;
	margin-top: 12px;
	flex: 0 0 auto;
}
.sgp-rc-service-console .sgp-om-action-form--primary .sgp-om-btn {
	width: 100%;
	min-height: 46px;
	font-size: 15px;
}
.sgp-rc-service-console .sgp-om-card__more-actions {
	border-top: 1px solid rgba(15, 23, 42, 0.12);
	padding-top: 8px;
}
.sgp-rc-service-console .sgp-om-card__more-title {
	margin: 0 0 6px;
	color: var(--rc-om-text-dark, #0f172a);
	font-size: 13px;
	font-weight: 650;
}
.sgp-rc-service-console .sgp-om-card__more-actions summary,
.sgp-rc-service-console .sgp-om-card__detail summary {
	cursor: pointer;
	color: var(--rc-om-text-dark, #0f172a);
	font-size: 13px;
	font-weight: 650;
	list-style: none;
}
.sgp-rc-service-console .sgp-om-card__more-actions summary::-webkit-details-marker,
.sgp-rc-service-console .sgp-om-card__detail summary::-webkit-details-marker { display: none; }
.sgp-rc-service-console .sgp-om-card__actions-more {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}
.sgp-rc-service-console .sgp-om-card__actions-more .sgp-om-btn {
	min-height: 44px;
	padding: 0 12px;
	font-size: 13px;
}
.sgp-rc-service-console .sgp-om-card__detail { margin: 0; }
.sgp-rc-service-console .sgp-om-card__detail ul {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
	color: var(--rc-om-text-dark, #0f172a);
	font-size: 13px;
}
.sgp-rc-service-console .sgp-om-card__detail li + li { margin-top: 4px; }
.sgp-rc-service-console .sgp-om-btn--danger,
.sgp-rc-service-console button.sgp-om-btn--danger {
	background: var(--rc-om-danger, #dc2626);
	border-color: var(--rc-om-danger, #dc2626);
	color: var(--rc-om-text-light, #f8fafc);
}

.sgp-om-console__toolbar {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 6px max(16px, calc((100% - 1600px) / 2)) 6px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.sgp-rc-service-console .sgp-om-toolbar {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
	margin: 0;
	gap: 6px 8px;
}
.sgp-rc-service-console .sgp-om-toolbar__nav,
.sgp-rc-service-console .sgp-om-toolbar__filters,
.sgp-rc-service-console .sgp-om-toolbar__submit {
	gap: 8px;
}
.sgp-rc-service-console .sgp-om-field__label {
	color: var(--rc-om-text-light, #f8fafc);
}
.sgp-rc-service-console .sgp-om-field input,
.sgp-rc-service-console .sgp-om-field select {
	min-height: 44px;
	background: var(--rc-om-surface, #111820);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: var(--rc-om-text-light, #f8fafc);
}
.sgp-rc-service-console .sgp-om-btn--ghost {
	color: var(--rc-om-text-light, #f8fafc);
	border-color: rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.04);
}
.sgp-rc-service-console .sgp-om-card .sgp-om-btn--ghost,
.sgp-rc-service-console .sgp-om-card .sgp-om-card__detail-toggle {
	color: var(--rc-om-text-dark, #0f172a);
	border-color: rgba(15, 23, 42, 0.18);
	background: transparent;
}
.sgp-rc-service-console a.sgp-om-btn--ghost {
	color: var(--rc-om-text-light, #f8fafc);
}
.sgp-rc-service-console .sgp-om-badge--ops-new {
	background: var(--rc-om-primary, #2563eb);
	color: var(--rc-om-text-light, #f8fafc);
}
.sgp-rc-service-console .sgp-om-badge--ops-cancelled,
.sgp-rc-service-console .sgp-om-badge--order-cancelled,
.sgp-rc-service-console .sgp-om-badge--pay-failed {
	background: var(--rc-om-danger, #dc2626);
	color: var(--rc-om-text-light, #f8fafc);
}
.sgp-rc-service-console .sgp-om-badge--pay-paid,
.sgp-rc-service-console .sgp-om-badge--pay-not_required_demo,
.sgp-rc-service-console .sgp-om-badge--ops-ready,
.sgp-rc-service-console .sgp-om-badge--order-active {
	background: var(--rc-om-success, #159064);
	color: var(--rc-om-text-light, #f8fafc);
}
.sgp-rc-service-console .sgp-om-badge--ops-preparing,
.sgp-rc-service-console .sgp-om-badge--pay-pending,
.sgp-rc-service-console .sgp-om-badge--pay-unpaid {
	background: var(--rc-om-warning, #f59e0b);
	color: var(--rc-om-text-dark, #0f172a);
}
.sgp-om-motion-none .sgp-om-card,
.sgp-om-motion-none .sgp-om-slot,
.sgp-om-motion-none .sgp-om-console__notice,
.sgp-om-motion-none .sgp-om-chip--live::before,
.sgp-om-motion-none .sgp-om-btn {
	animation: none !important;
	transition: none !important;
}
.sgp-om-motion-normal .sgp-om-card,
.sgp-om-motion-normal .sgp-om-slot {
	animation-duration: var(--sgp-fo-motion-normal, 200ms);
}

.sgp-om-card-shell {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	height: auto;
	min-height: 0;
	flex: none;
	align-self: start;
}
.sgp-rc-service-console .sgp-om-card-shell.is-focus-target .sgp-om-card,
.sgp-rc-service-console .sgp-om-card-shell.is-deeplink-target .sgp-om-card {
	outline: 2px solid var(--sgp-rc-accent);
	box-shadow: inset 4px 0 0 var(--sgp-rc-accent), 0 0 0 3px var(--sgp-rc-accent);
}
.sgp-rc-service-console .sgp-om-card-shell.is-focus-target .sgp-om-card {
	animation: sgp-om-deeplink-in 0.45s ease-out;
}
.sgp-om-toolbar__back-clients {
	border: 2px solid var(--sgp-rc-accent) !important;
	color: var(--sgp-rc-accent) !important;
	font-weight: 700;
	white-space: nowrap;
}
.sgp-om-toolbar__back-clients:focus-visible {
	outline: 2px solid var(--sgp-rc-accent);
	outline-offset: 2px;
}
@keyframes sgp-om-deeplink-in {
	from { box-shadow: inset 4px 0 0 var(--sgp-rc-accent), 0 0 0 8px var(--sgp-rc-accent); }
	to { box-shadow: inset 4px 0 0 var(--sgp-rc-accent), 0 0 0 3px var(--sgp-rc-accent); }
}
@media (prefers-reduced-motion: reduce) {
	.sgp-rc-service-console .sgp-om-card-shell.is-focus-target .sgp-om-card {
		animation: none;
	}
}

@media (max-width: 1500px) {
	.sgp-rc-service-console .sgp-om-waiting__cards {
		grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	}
}
@media (max-width: 1180px) {
	.sgp-om-console__bar {
		grid-template-columns: 1fr auto;
		padding: 8px 16px;
	}
	.sgp-om-console__status { grid-column: 1 / -1; justify-content: flex-start; }
	.sgp-om-console__toolbar { padding: 6px 16px; }
	.sgp-rc-service-console .sgp-om-waiting__cards {
		grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	}
}
@media (max-width: 782px) {
	.admin-bar .sgp-om-console__bar { top: 46px; }
	.sgp-om-console__bar {
		grid-template-columns: 1fr;
		padding: 8px 12px;
		position: relative;
		top: 0;
	}
	.sgp-om-console__metrics,
	.sgp-om-console__metric { width: 100%; }
	.sgp-om-console__status { gap: 8px; }
	.sgp-om-console__toolbar {
		padding: 6px 12px;
		margin-bottom: 0;
	}
	.sgp-rc-service-console .sgp-om-toolbar__nav {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
	}
	.sgp-rc-service-console .sgp-om-toolbar__filters {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
	}
	.sgp-rc-service-console .sgp-om-field--search,
	.sgp-rc-service-console .sgp-om-toolbar__submit,
	.sgp-rc-service-console .sgp-om-toolbar__submit .sgp-om-btn {
		width: 100%;
	}
	.sgp-om-console__shell {
		padding: 8px 12px 12px;
	}
	.sgp-rc-service-console .sgp-om-waiting,
	.sgp-rc-service-console .sgp-om-slots--console {
		margin-top: 8px;
	}
	.sgp-rc-service-console--service { padding-bottom: 24px; }
	.sgp-rc-service-console .sgp-om-waiting__cards,
	.sgp-rc-service-console .sgp-om-slots--timeline .sgp-om-slot__cards {
		grid-template-columns: minmax(0, 1fr);
	}
	.sgp-rc-service-console .sgp-om-slots--timeline .sgp-om-slot {
		grid-template-columns: minmax(0, 1fr);
	}
	.sgp-rc-service-console .sgp-om-day-banner {
		flex-direction: column;
	}
	.sgp-rc-service-console .sgp-om-day-banner .sgp-om-btn {
		width: 100%;
	}
	.sgp-om-console__title { font-size: 18px; }
	.sgp-rc-service-console .sgp-om-slot__header h3 { font-size: 26px; }
	.sgp-rc-service-console .sgp-om-btn { min-height: 44px; }
}
.sgp-om-toasts {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 6;
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: min(360px, calc(100% - 24px));
	pointer-events: none;
}
.sgp-om-toast,
.sgp-om-toast__diag {
	pointer-events: auto;
}
.sgp-om-toast {
	padding: 12px 14px;
	border-radius: 12px;
	background: #122033;
	color: #f8fafc;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	opacity: 1;
	animation: sgpOmIn var(--sgp-fo-motion-normal, 200ms) var(--sgp-fo-ease-standard, ease-out) both;
	transition: opacity var(--sgp-fo-motion-exit, 250ms) var(--sgp-fo-ease-standard, ease-out);
}
.sgp-om-toast.is-out {
	opacity: 0;
}
.sgp-om-toasts--console .sgp-om-toast {
	background: var(--rc-om-surface, #111820);
	color: var(--rc-om-text-light, #f8fafc);
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}
.sgp-om-toasts--console .sgp-om-toast--success {
	background: var(--rc-om-success, #159064);
	border-color: var(--rc-om-success, #159064);
}
.sgp-om-toasts--console .sgp-om-toast--error {
	background: var(--rc-om-danger, #dc2626);
	border-color: var(--rc-om-danger, #dc2626);
}

.sgp-rc-service-console [data-sgp-om-live].is-updating,
.sgp-rc-service-console [data-sgp-om-live-board].is-updating,
.sgp-rc-service-console [data-sgp-om-live-metrics].is-updating,
.sgp-rc-service-console [data-sgp-om-live-toolbar].is-updating,
.sgp-rc-service-console [data-sgp-om-live-counts].is-updating,
.sgp-rc-service-console [data-sgp-om-live].is-loading,
.sgp-rc-service-console [data-sgp-om-live-board].is-loading,
.sgp-rc-service-console [data-sgp-om-live-metrics].is-loading,
.sgp-rc-service-console [data-sgp-om-live-toolbar].is-loading,
.sgp-rc-service-console [data-sgp-om-live-counts].is-loading {
	opacity: 1;
	filter: none;
	transition: none;
}
.sgp-rc-service-console.is-loading {
	opacity: 1;
	filter: none;
}
.sgp-rc-service-console [data-sgp-om-live-board] .sgp-om-slot,
.sgp-rc-service-console [data-sgp-om-live-board] .sgp-om-card {
	animation: none;
}
.sgp-rc-service-console .sgp-om-card.is-loading,
.sgp-rc-service-console .sgp-om-btn.is-loading {
	opacity: 0.72;
	transition: opacity var(--sgp-fo-motion-fast, 160ms) var(--sgp-fo-ease-standard, ease-out);
	pointer-events: none;
}
.sgp-rc-service-console .sgp-om-badge {
	transition:
		background-color var(--sgp-fo-motion-fast, 160ms) var(--sgp-fo-ease-standard, ease-out),
		color var(--sgp-fo-motion-fast, 160ms) var(--sgp-fo-ease-standard, ease-out),
		border-color var(--sgp-fo-motion-fast, 160ms) var(--sgp-fo-ease-standard, ease-out);
}

@keyframes sgpOmIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.sgp-rc-service-console .sgp-om-card,
	.sgp-rc-service-console .sgp-om-slot,
	.sgp-om-console__notice,
	.sgp-rc-service-console .sgp-om-chip--live::before,
	.sgp-rc-service-console .sgp-om-toast,
	.sgp-rc-service-console [data-sgp-om-live].is-updating,
	.sgp-rc-service-console [data-sgp-om-live-board].is-updating,
	.sgp-rc-service-console .sgp-om-badge,
	.sgp-rc-service-console--demo .sgp-om-console__demo-badge {
		animation-duration: 0ms;
		transition-duration: 0ms;
	}
}

.sgp-wo-public-message {
	max-width: 640px;
	margin: 28px auto;
	padding: 20px 22px;
	border: 1px solid #dbe4ee;
	border-radius: 16px;
	background: #fff;
	color: #5c6b7a;
	text-align: center;
	font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
	box-sizing: border-box;
}

/* FO Web Orders console - 9D.3. Visual grammar aligned on Orders Manager, without live console classes. */
.sgp-wo-console,
.sgp-wo-console *,
.sgp-wo-console *::before,
.sgp-wo-console *::after {
	box-sizing: border-box;
}

.sgp-wo-console {
	display: block;
	position: relative;
	width: 100%;
	max-width: none;
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow-x: clip;
	background: var(--sgp-rc-console-bg, var(--rc-om-console-bg, #071014));
	color: var(--sgp-rc-text-light, var(--rc-om-text-light, #f8fafc));
	font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

.sgp-wo-console--service {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	min-height: 70vh;
	padding-bottom: 96px;
}

.sgp-wo-console--service.is-measuring {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.sgp-wo-console--service.is-viewport-aligned {
	width: var(--sgp-rc-viewport-width, 100%) !important;
	max-width: var(--sgp-rc-viewport-width, 100%) !important;
	margin-left: var(--sgp-rc-viewport-shift, 0px) !important;
	margin-right: 0 !important;
}

.sgp-wo-console__bar {
	display: grid;
	grid-template-columns: minmax(220px, 1.1fr) auto minmax(240px, 1.2fr);
	gap: 16px 20px;
	align-items: center;
	width: 100%;
	margin: 0;
	padding: 18px max(24px, calc((100% - 1600px) / 2));
	background: var(--sgp-rc-console-bg, var(--rc-om-console-bg, #071014));
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--sgp-rc-text-light, #f8fafc);
}

.sgp-wo-console__brand {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.sgp-wo-console__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: var(--sgp-rc-success, var(--rc-om-success, #159064));
	color: var(--sgp-rc-text-light, #f8fafc);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.04em;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.sgp-wo-console__kicker {
	margin: 0 0 2px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sgp-rc-success, #159064);
}

.sgp-wo-console__title {
	margin: 0;
	padding: 0;
	color: var(--sgp-rc-text-light, #f8fafc);
	font-size: 28px;
	font-weight: 750;
	line-height: 1.1;
}

.sgp-wo-console__sub {
	margin: 4px 0 0;
	color: var(--sgp-rc-text-light, #f8fafc);
	font-size: 13px;
}

.sgp-wo-console__metrics {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.sgp-wo-console__metric {
	min-width: 132px;
	padding: 10px 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.04);
}

.sgp-wo-console__metric--paid {
	background: rgba(21, 144, 100, 0.18);
	border-color: rgba(21, 144, 100, 0.35);
}

.sgp-wo-console__label {
	display: block;
	margin-bottom: 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sgp-rc-text-light, #f8fafc);
}

.sgp-wo-console__metric strong {
	display: block;
	font-size: 20px;
	line-height: 1.15;
	color: var(--sgp-rc-text-light, #f8fafc);
}

.sgp-wo-console__status {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
	align-items: center;
}

.sgp-wo-console .sgp-wo-chip {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.08);
	color: var(--sgp-rc-text-light, #f8fafc);
}

.sgp-wo-console .sgp-wo-chip--on {
	background: var(--sgp-rc-success, #159064);
	border-color: var(--sgp-rc-success, #159064);
	color: var(--sgp-rc-text-light, #f8fafc);
}

.sgp-wo-console .sgp-wo-chip--off {
	background: var(--sgp-rc-danger, #dc2626);
	border-color: var(--sgp-rc-danger, #dc2626);
	color: var(--sgp-rc-text-light, #f8fafc);
}

.sgp-wo-console__shell {
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
	padding: 24px 24px 24px;
}

.sgp-wo-console .sgp-wo.sgp-wo--public {
	--sgp-wo-ink: var(--sgp-rc-text-light, #f8fafc);
	--sgp-wo-muted: rgba(248, 250, 252, 0.72);
	--sgp-wo-line: rgba(255, 255, 255, 0.08);
	--sgp-wo-bg: transparent;
	--sgp-wo-surface: rgba(255, 255, 255, 0.04);
	--sgp-wo-soft: rgba(255, 255, 255, 0.06);
	--sgp-wo-shadow: none;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--sgp-wo-ink);
}

.sgp-wo-console .sgp-wo-count {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.08);
}

.sgp-wo-console .sgp-wo-count strong,
.sgp-wo-console .sgp-wo-count span {
	color: inherit;
}

.sgp-wo-console .sgp-wo-count span {
	color: rgba(248, 250, 252, 0.72);
}

.sgp-wo-console .sgp-wo-slot {
	background: var(--sgp-rc-surface-bg, #111820);
	border-color: rgba(255, 255, 255, 0.08);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.sgp-wo-console .sgp-wo-slot__head strong {
	color: var(--sgp-rc-text-light, #f8fafc);
}

.sgp-wo-console .sgp-wo-slot__head span {
	color: rgba(248, 250, 252, 0.72);
}

.sgp-wo-console .sgp-wo-card {
	background: var(--sgp-rc-card-bg, #f8fafc);
	color: var(--sgp-rc-text-dark, #122033);
	border: 0;
	border-left: 5px solid var(--sgp-rc-primary, #2563eb);
	border-radius: 14px;
	padding: 14px;
	margin-top: 10px;
}

.sgp-wo-console .sgp-wo-slot .sgp-wo-card:first-of-type {
	margin-top: 0;
	padding-top: 14px;
}

.sgp-wo-console .sgp-wo-card__time strong,
.sgp-wo-console .sgp-wo-card__identity strong {
	color: var(--sgp-rc-text-dark, #122033);
}

.sgp-wo-console .sgp-wo-card__identity span,
.sgp-wo-console .sgp-wo-card__items,
.sgp-wo-console .sgp-wo-card__id,
.sgp-wo-console .sgp-wo-card__time small {
	color: #5c6b7a;
}

.sgp-wo-console .sgp-wo-empty {
	background: rgba(255, 255, 255, 0.03);
	border-color: rgba(255, 255, 255, 0.08);
	color: var(--sgp-rc-text-light, #f8fafc);
	padding: 48px 24px;
	font-size: 16px;
}

@media (max-width: 1180px) {
	.sgp-wo-console__bar {
		grid-template-columns: 1fr auto;
		padding: 18px 24px;
	}

	.sgp-wo-console__status {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}
}

@media (max-width: 900px) {
	.sgp-wo-console--service,
	.sgp-wo-console--service.is-viewport-aligned,
	.sgp-wo-console--service.is-measuring {
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-bottom: 112px;
	}

	.sgp-wo-console__bar {
		grid-template-columns: 1fr;
		padding: 16px 16px 12px;
	}

	.sgp-wo-console__metrics,
	.sgp-wo-console__metric {
		width: 100%;
	}

	.sgp-wo-console__shell {
		padding: 20px 14px 16px;
	}

	.sgp-wo-console .sgp-wo-card {
		grid-template-columns: 1fr;
	}
}

body.sgp-rc-service-console-page--demo .elementor-widget-container,
body.sgp-rc-service-console-page--demo .elementor-shortcode,
body.sgp-rc-service-console-page--demo .elementor-widget-shortcode,
body.sgp-rc-service-console-page--demo .elementor-column-wrap,
body.sgp-rc-service-console-page--demo .e-con,
body.sgp-rc-service-console-page--demo .e-con-inner {
	overflow: visible;
	max-width: 100%;
}

.sgp-rc-service-console--demo .sgp-om-demo-guide h3,
.sgp-rc-service-console--demo .sgp-om-demo-guide__title {
	color: #ffffff !important;
	opacity: 1 !important;
}
.sgp-rc-service-console--demo .sgp-om-demo-guide p,
.sgp-rc-service-console--demo .sgp-om-demo-guide__text {
	color: #f8fafc !important;
	opacity: 1 !important;
}
.sgp-rc-service-console--demo .sgp-om-badge--ops-accepted {
	background: var(--rc-om-primary, #2563eb);
	color: #ffffff;
}

/* FO Shell embed: fill the panel, never 100vw breakout. */
[data-sgp-rc-app] .sgp-rc-service-console,
[data-sgp-rc-app] .sgp-rc-service-console--service,
[data-sgp-rc-app] .sgp-rc-service-console--service.is-viewport-aligned,
[data-sgp-rc-app] .sgp-rc-service-console--service.is-measuring,
[data-sgp-om-embed="shell"] .sgp-rc-service-console,
[data-sgp-om-embed="shell"] .sgp-rc-service-console--service,
[data-sgp-om-embed="shell"] .sgp-rc-service-console--service.is-viewport-aligned {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	left: auto !important;
	min-height: 0;
	padding-bottom: 16px;
	overflow-x: auto;
}

/*
 * The live console bar is sticky to clear the WP admin bar on theme pages.
 * In the FO Shell the scrollport is already below the Shell topbar, and
 * body.admin-bar is still present, so top: 32px / 46px insets the bar into
 * the Shell chrome (worse below 782px with position: relative).
 */
[data-sgp-rc-app] .sgp-om-console__bar,
[data-sgp-om-embed="shell"] .sgp-om-console__bar,
.admin-bar [data-sgp-rc-app] .sgp-om-console__bar {
	top: 0 !important;
	z-index: 20;
}

.sgp-rc-service-console .sgp-om-card-shell.is-detail-open .sgp-om-card,
.sgp-rc-service-console .sgp-om-card-shell.is-detail-open .sgp-om-card:hover {
	transform: none;
	min-height: 0;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}
.sgp-rc-service-console .sgp-om-inline {
	background: var(--rc-om-card, #f8fafc);
	color: var(--rc-om-text-dark, #0f172a);
	border: 0;
	border-radius: 0 0 var(--rc-om-radius, 18px) var(--rc-om-radius, 18px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
	padding: 0 12px 10px;
	max-width: 800px;
	width: 100%;
	justify-self: start;
}
.sgp-rc-service-console .sgp-om-inline__inner {
	gap: 8px;
	padding-top: 8px;
}
.sgp-rc-service-console .sgp-om-inline__block h3 {
	margin-bottom: 4px;
}
.sgp-rc-service-console .sgp-om-inline .sgp-om-pay__amount {
	font-size: 14px;
	margin: 0;
}
.sgp-rc-service-console .sgp-om-inline__note p {
	padding: 6px 8px;
}
.sgp-rc-service-console .sgp-om-slot__cards .sgp-om-card-shell.is-detail-open,
.sgp-rc-service-console .sgp-om-waiting__cards .sgp-om-card-shell.is-detail-open {
	grid-column: auto;
}
.sgp-rc-service-console .sgp-om-card__detail-toggle {
	width: 100%;
	min-height: 44px;
}
.sgp-rc-service-console .sgp-om-pay__form {
	background: #fff;
	color: #0f172a;
	margin-top: 6px;
	padding: 8px;
}
.sgp-rc-service-console .sgp-om-pay__heading {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 700;
}
.sgp-rc-service-console .sgp-om-pay__legend,
.sgp-rc-service-console .sgp-om-pay__note span {
	display: block;
	margin: 0 0 2px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.sgp-rc-service-console .sgp-om-pay__methods {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 4px;
}
.sgp-rc-service-console .sgp-om-pay__actions--card .sgp-om-pay__methods {
	grid-template-columns: 1fr;
}
.sgp-rc-service-console .sgp-om-pay__total-paid {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 700;
}
.sgp-rc-service-console .sgp-om-pay__remaining {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 700;
}
.sgp-rc-service-console .sgp-om-pay__history {
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
}
.sgp-rc-service-console .sgp-om-pay__history li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 4px 0;
	font-size: 13px;
}
.sgp-rc-service-console .sgp-om-pay__amount-field {
	display: block;
	margin-top: 8px;
}
.sgp-rc-service-console .sgp-om-pay__amount-field span {
	display: block;
	margin: 0 0 2px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.sgp-rc-service-console .sgp-om-pay__amount-field input {
	width: 100%;
	min-height: 44px;
	padding: 6px 10px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	font-size: 16px;
}
.sgp-rc-service-console .sgp-om-pay__choice {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 4px 8px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #fff;
}
.sgp-rc-service-console .sgp-om-pay__choice span {
	white-space: nowrap;
}
.sgp-rc-service-console .sgp-om-pay__busy {
	margin: 0 0 8px;
	padding: 8px 10px;
	border-radius: 10px;
	background: #fff7ed;
	border: 1px solid #fdba74;
	font-size: 13px;
	font-weight: 650;
}
.sgp-rc-service-console .sgp-om-pay__actions [data-action="verify-terminal"],
.sgp-rc-service-console .sgp-om-pay__actions [data-action="cancel-terminal"] {
	min-height: 44px;
}
.sgp-rc-service-console .sgp-om-pay__terminal-field {
	display: block;
	margin-top: 8px;
}
.sgp-rc-service-console .sgp-om-pay__terminal-field span {
	display: block;
	margin: 0 0 2px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.sgp-rc-service-console .sgp-om-pay__terminal-field select {
	width: 100%;
	min-height: 44px;
	padding: 6px 10px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	font-size: 16px;
}
.sgp-rc-service-console .sgp-om-pay__terminal-name {
	display: block;
	font-size: 14px;
	font-weight: 650;
	text-transform: none;
	letter-spacing: 0;
}
.sgp-rc-service-console .sgp-om-pay__note {
	display: block;
	margin-top: 6px;
}
.sgp-rc-service-console .sgp-om-pay__note input,
.sgp-rc-service-console .sgp-om-pay__note textarea {
	width: 100%;
	min-height: 44px;
	max-height: 72px;
	padding: 6px 10px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	resize: vertical;
}
.sgp-rc-service-console .sgp-om-pay__form-actions,
.sgp-rc-service-console .sgp-om-pay__confirm-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 6px;
}
.sgp-rc-service-console .sgp-om-pay__form-actions .sgp-om-btn,
.sgp-rc-service-console .sgp-om-pay__confirm-actions .sgp-om-btn {
	flex: 1 1 auto;
}
.sgp-rc-service-console .sgp-om-pay__confirm-text {
	margin: 0;
	font-weight: 650;
	font-size: 14px;
	line-height: 1.35;
}
.sgp-rc-service-console .sgp-om-pay__form[hidden],
.sgp-rc-service-console .sgp-om-pay [hidden],
.sgp-rc-service-console .sgp-om-pay__form [hidden] {
	display: none !important;
}
.sgp-rc-service-console .sgp-om-pay__choice,
.sgp-rc-service-console .sgp-om-pay .sgp-om-btn,
.sgp-rc-service-console [data-sgp-om-pay] .sgp-om-btn {
	min-height: 44px;
}
.sgp-rc-service-console [data-sgp-om-pay-open] .sgp-om-pay__cta {
	display: none;
}
.sgp-rc-service-console .sgp-om-pay__refund-cta {
	min-height: 44px;
	width: 100%;
	margin-top: 6px;
}
.sgp-rc-service-console [data-sgp-om-refund-open] .sgp-om-pay__refund-cta {
	display: none;
}
.sgp-rc-service-console .sgp-om-pay__refund-form {
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	overflow: hidden;
}
.sgp-rc-service-console .sgp-om-pay__refund-form input,
.sgp-rc-service-console .sgp-om-pay__refund-form .sgp-om-btn {
	min-height: 44px;
	max-width: 100%;
	box-sizing: border-box;
}
.sgp-rc-service-console .sgp-om-pay__refund-form input[readonly] {
	background: #f8fafc;
}
.sgp-rc-service-console .sgp-om-pay__refund-facts {
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
	min-width: 0;
}
.sgp-rc-service-console .sgp-om-pay__refund-facts li {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 4px 0;
	font-size: 13px;
	min-width: 0;
}
.sgp-rc-service-console .sgp-om-pay__refund-facts span {
	overflow-wrap: anywhere;
	word-break: break-word;
	min-width: 0;
}
@media (max-width: 768px) {
	.sgp-rc-service-console .sgp-om-inline .sgp-om-pay__methods {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 390px) {
	.sgp-rc-service-console .sgp-om-pay__methods {
		grid-template-columns: 1fr;
	}
}

.sgp-rc-service-console .sgp-om-finance,
.sgp-rc-service-console .sgp-om-finance__grid,
.sgp-rc-service-console .sgp-om-finance__block {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}
.sgp-rc-service-console .sgp-om-finance {
	container-type: inline-size;
	container-name: sgp-om-finance;
}
.sgp-rc-service-console .sgp-om-finance__grid {
	grid-template-columns: minmax(0, 1fr);
}
@container sgp-om-finance (min-width: 720px) {
	.sgp-rc-service-console .sgp-om-finance__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}
.sgp-rc-service-console .sgp-om-service-detail {
	grid-template-columns: minmax(0, 1fr);
	--sgp-om-ink: var(--sgp-om-card-ink, var(--rc-om-text-dark, #0f172a));
	--sgp-om-muted: #5c6b7a;
	--sgp-om-line: #e3e8ee;
	color: var(--sgp-om-ink);
	-webkit-text-fill-color: currentColor;
}
.sgp-rc-service-console .sgp-om-service-detail h3,
.sgp-rc-service-console .sgp-om-service-detail .sgp-om-service-detail__muted,
.sgp-rc-service-console .sgp-om-service-detail small {
	color: var(--sgp-om-muted);
	-webkit-text-fill-color: currentColor;
}
.sgp-rc-service-console .sgp-om-service-detail .sgp-om-service-detail__heading a {
	-webkit-text-fill-color: currentColor;
}
.sgp-rc-service-console .sgp-om-service-detail__reward .sgp-loyalty-gift-icon,
.sgp-rc-service-console .sgp-om-service-detail__reward img.emoji {
	width: 1.1em;
	height: 1.1em;
	max-width: 1.1em;
	max-height: 1.1em;
	display: inline-block;
	vertical-align: -0.15em;
}

@media (prefers-reduced-motion: reduce) {
	.sgp-rc-service-console .sgp-om-pay,
	.sgp-rc-service-console .sgp-om-pay__form {
		transition: none;
	}
}

.sgp-rc-service-console .sgp-om-card__pay,
.sgp-rc-service-console .sgp-om-pay__actions {
	margin-top: 8px;
	flex: none;
	flex-grow: 0;
	min-height: 0;
	justify-content: flex-start;
}
.sgp-rc-service-console .sgp-om-card__pay > .sgp-om-pay__actions {
	margin-top: 0;
}
.sgp-rc-service-console .sgp-om-card > .sgp-om-card__detail-toggle {
	margin-top: 8px;
	flex: none;
	width: 100%;
}
.sgp-rc-service-console .sgp-om-card__detail-toggle {
	flex: none;
}
.sgp-rc-service-console .sgp-om-card > * {
	flex-grow: 0;
	flex-shrink: 0;
}
[data-sgp-rc-app] .sgp-om-slot__cards,
[data-sgp-rc-app] .sgp-om-waiting__cards,
[data-sgp-om-embed="shell"] .sgp-om-slot__cards,
[data-sgp-om-embed="shell"] .sgp-om-waiting__cards {
	align-items: start;
	align-content: start;
	grid-auto-rows: min-content;
}
[data-sgp-rc-app] .sgp-om-card-shell,
[data-sgp-om-embed="shell"] .sgp-om-card-shell,
[data-sgp-rc-app] .sgp-om-card,
[data-sgp-om-embed="shell"] .sgp-om-card {
	align-self: start;
	height: auto;
	min-height: 0;
	flex-grow: 0;
}
.sgp-rc-service-console .sgp-om-inline[hidden],
.sgp-om-inline[hidden] {
	display: none !important;
	height: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	flex: 0 0 auto;
}

/* Commandes unifiées V1 — header, filtres, cartes, aide, diagnostic */
.sgp-om-console__capture {
	min-height: 44px;
	white-space: nowrap;
}
.sgp-om-toolbar__buckets {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}
.sgp-om-chip-filter {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.04);
	color: var(--rc-om-text-light, #f8fafc);
	font-size: 13px;
	font-weight: 650;
	text-decoration: none;
}
.sgp-om-chip-filter.is-active,
.sgp-om-chip-filter[aria-current="page"] {
	background: var(--rc-om-primary, #2563eb);
	border-color: var(--rc-om-primary, #2563eb);
	color: #fff;
}
.sgp-om-chip-filter:focus-visible,
.sgp-om-console__capture:focus-visible,
.sgp-om-help__toggle:focus-visible,
.sgp-om-btn:focus-visible,
.sgp-om-field input:focus-visible,
.sgp-om-field select:focus-visible {
	outline: 2px solid #93c5fd;
	outline-offset: 2px;
}
.sgp-om-field--search {
	min-width: min(280px, 100%);
	flex: 1 1 220px;
}
.sgp-om-toolbar__more {
	position: relative;
}
.sgp-om-toolbar__more > summary {
	list-style: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 14px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.04);
	color: var(--rc-om-text-light, #f8fafc);
	font-weight: 650;
}
.sgp-om-toolbar__more > summary::-webkit-details-marker {
	display: none;
}
.sgp-om-toolbar__more-grid {
	position: absolute;
	z-index: 24;
	right: 0;
	top: calc(100% + 8px);
	display: grid;
	grid-template-columns: repeat(2, minmax(160px, 1fr));
	gap: 12px;
	min-width: min(520px, calc(100vw - 32px));
	padding: 14px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: var(--rc-om-surface, #111820);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.sgp-om-help {
	position: relative;
}
.sgp-om-help__toggle {
	list-style: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.04);
	color: var(--rc-om-text-light, #f8fafc);
	font-size: 13px;
	font-weight: 650;
}
.sgp-om-help__toggle::-webkit-details-marker {
	display: none;
}
.sgp-om-help__panel {
	position: absolute;
	z-index: 30;
	right: 0;
	top: calc(100% + 8px);
	width: min(420px, calc(100vw - 24px));
	padding: 14px 16px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: var(--rc-om-surface, #111820);
	color: var(--rc-om-text-light, #f8fafc);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
	font-size: 13px;
	line-height: 1.45;
}
.sgp-om-help__panel p {
	margin: 0 0 10px;
}
.sgp-om-help__panel p:last-child {
	margin-bottom: 0;
}
.sgp-om-diag {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(7, 16, 20, 0.55);
}
.sgp-om-diag[hidden] {
	display: none !important;
}
.sgp-om-diag__card {
	width: min(560px, 100%);
	max-height: min(80vh, 640px);
	overflow: auto;
	padding: 18px;
	border-radius: 16px;
	background: #fff;
	color: #0f172a;
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}
.sgp-om-diag__lead {
	margin: 0 0 10px;
	font-size: 13px;
	color: #475569;
}
.sgp-om-diag__body {
	margin: 0 0 14px;
	padding: 12px;
	border-radius: 10px;
	background: #0f172a;
	color: #e2e8f0;
	font-size: 12px;
	line-height: 1.4;
	overflow: auto;
	max-height: 320px;
	white-space: pre-wrap;
	word-break: break-word;
}
.sgp-om-diag__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.sgp-om-toast--error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
}
.sgp-om-toast__diag {
	border: 0;
	background: transparent;
	color: inherit;
	text-decoration: underline;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	min-height: 32px;
}
.sgp-om-card--late {
	box-shadow: inset 3px 0 0 var(--rc-om-warning, #f59e0b);
}
.sgp-om-badge--late {
	background: rgba(245, 158, 11, 0.16);
	color: #92400e;
	border: 1px solid rgba(245, 158, 11, 0.35);
}
.sgp-om-card-shell.is-new-order .sgp-om-card {
	animation: sgpOmNewOrder 1.6s var(--sgp-fo-ease-standard, ease-out) 1;
}
@keyframes sgpOmNewOrder {
	0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.35); }
	100% { box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); }
}
.sgp-om-badge--pay-simple-partial {
	background: var(--rc-om-warning, #f59e0b);
	color: #0f172a;
}
.sgp-om-badge--pay-simple-refunded {
	background: #64748b;
	color: #fff;
}
.sgp-rc-service-console .sgp-om-toolbar {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 6px;
}
.sgp-rc-service-console .sgp-om-toolbar__filters {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 6px;
	flex: none;
	width: 100%;
}

@media (max-width: 1366px) {
	.sgp-om-console__title { font-size: 18px; }
	.sgp-om-console__metric { min-width: 68px; padding: 4px 8px; }
	.sgp-om-console__metric strong { font-size: 16px; }
	.sgp-om-console__bar { gap: 8px 10px; padding-top: 8px; padding-bottom: 8px; }
}

@media (max-width: 1024px) {
	.sgp-om-console__bar {
		grid-template-columns: 1fr;
	}
	.sgp-om-console__status,
	.sgp-om-console__metrics {
		justify-content: flex-start;
	}
	.sgp-om-toolbar__more-grid {
		position: static;
		min-width: 0;
		width: 100%;
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	.sgp-om-toolbar__buckets {
		width: 100%;
	}
	.sgp-om-chip-filter {
		min-height: 44px;
	}
	.sgp-om-toolbar__more-grid {
		grid-template-columns: 1fr;
	}
	.sgp-om-help__panel {
		right: auto;
		left: 0;
	}
	.sgp-om-console__capture,
	.sgp-om-console__refresh {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 390px) {
	.sgp-om-console__metric {
		flex: 1 1 calc(50% - 10px);
		min-width: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sgp-om-card-shell.is-new-order .sgp-om-card {
		animation: none;
		outline: 2px solid var(--rc-om-primary, #2563eb);
	}
}

body.sgp-rc-service-console-page,
[data-sgp-rc-app] .sgp-rc-service-console,
.sgp-om-console {
	overflow-x: clip;
	max-width: 100%;
}

/* FO Commandes V1.1 — densité + calendrier, sans redesign */
.sgp-om-console__brand {
	gap: 10px;
}
.sgp-om-console__kicker {
	margin: 0;
	line-height: 1.2;
}
.sgp-om-toolbar__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	width: 100%;
}
.sgp-om-toolbar__row--pilot .sgp-om-toolbar__buckets {
	flex: 1 1 auto;
	min-width: 0;
}
.sgp-om-toolbar__row--pilot .sgp-om-toolbar__nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}
.sgp-om-toolbar__date-zone .sgp-om-chip--live {
	flex: 0 0 auto;
	white-space: nowrap;
}
.sgp-om-chip--live.is-stale {
	opacity: 0.62;
}
.sgp-om-toolbar__cal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	min-width: 0;
}
.sgp-om-toolbar__active-date {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 13px;
	font-weight: 650;
	line-height: 1.3;
	color: var(--rc-om-text-light, #f8fafc);
	white-space: nowrap;
	min-width: 0;
}
.sgp-om-toolbar__active-date-text {
	min-width: 0;
}
.sgp-rc-cal-icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	color: var(--rc-om-text-light, #f8fafc);
	opacity: 0.9;
	vertical-align: middle;
}
.sgp-om-field--date {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 6px;
	margin: 0;
	min-width: 0;
}
.sgp-om-field--date .sgp-om-field__label {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	white-space: nowrap;
	font-size: 12px;
}
.sgp-om-date-input-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-width: 9.5rem;
	flex: 1 1 auto;
	max-width: 100%;
}
.sgp-om-date-input-wrap .sgp-rc-cal-icon--trigger {
	display: none;
}
.sgp-om-date-input-wrap input[type="date"] {
	position: relative;
	min-height: 36px;
	min-width: 9.5rem;
	width: 100%;
	padding: 0 10px;
	color: var(--rc-om-text-light, #f8fafc);
	color-scheme: dark;
}
@supports selector(::-webkit-calendar-picker-indicator) {
	.sgp-om-date-input-wrap .sgp-rc-cal-icon--trigger {
		display: inline-block;
		position: absolute;
		right: 12px;
		top: 50%;
		transform: translateY(-50%);
		pointer-events: none;
		z-index: 1;
	}
	.sgp-om-date-input-wrap input[type="date"] {
		-webkit-appearance: none;
		appearance: none;
		padding: 0 42px 0 10px;
	}
	.sgp-om-date-input-wrap input[type="date"]::-webkit-datetime-edit,
	.sgp-om-date-input-wrap input[type="date"]::-webkit-datetime-edit-fields-wrapper,
	.sgp-om-date-input-wrap input[type="date"]::-webkit-datetime-edit-text,
	.sgp-om-date-input-wrap input[type="date"]::-webkit-datetime-edit-month-field,
	.sgp-om-date-input-wrap input[type="date"]::-webkit-datetime-edit-day-field,
	.sgp-om-date-input-wrap input[type="date"]::-webkit-datetime-edit-year-field {
		color: inherit;
	}
	.sgp-om-date-input-wrap input[type="date"]::-webkit-inner-spin-button,
	.sgp-om-date-input-wrap input[type="date"]::-webkit-clear-button {
		-webkit-appearance: none;
		appearance: none;
		display: none;
	}
	.sgp-om-date-input-wrap input[type="date"]::-webkit-calendar-picker-indicator {
		-webkit-appearance: none;
		appearance: none;
		position: absolute;
		inset-block: 0;
		right: 0;
		top: 0;
		width: 40px;
		height: 100%;
		margin: 0;
		padding: 0;
		border: 0;
		opacity: 0;
		background: none;
		background-image: none;
		color: transparent;
		cursor: pointer;
	}
}
.sgp-om-toolbar__row--search {
	align-items: flex-end;
}
.sgp-om-toolbar__row--search .sgp-om-field--search {
	flex: 1 1 220px;
	min-width: min(220px, 100%);
	max-width: 420px;
}
.sgp-om-empty--compact {
	padding: 12px 16px;
	min-height: 0;
	margin: 0;
}

@media (min-width: 783px) {
	.sgp-rc-service-console .sgp-om-toolbar .sgp-om-btn,
	.sgp-rc-service-console .sgp-om-toolbar__more > summary,
	.sgp-rc-service-console .sgp-om-field input,
	.sgp-rc-service-console .sgp-om-field select {
		min-height: 36px;
	}
	.sgp-om-console__capture {
		min-height: 40px;
	}
}

@media (max-width: 1024px) {
	.sgp-om-toolbar__date-zone {
		flex: 1 1 100%;
		margin-left: 0;
		justify-content: flex-start;
	}
	.sgp-om-toolbar__row--search .sgp-om-field--search {
		max-width: none;
	}
}

@media (max-width: 768px) {
	.sgp-om-console__kicker {
		display: none;
	}
	.sgp-om-toolbar__date-zone {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}
	.sgp-om-toolbar__nav {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px;
		width: 100%;
	}
	.sgp-om-toolbar__nav .sgp-om-btn {
		width: 100%;
		justify-content: center;
	}
	.sgp-om-toolbar__active-date {
		width: 100%;
		white-space: normal;
		font-size: 12px;
	}
	.sgp-om-toolbar__cal {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
	}
	.sgp-om-field--date {
		width: 100%;
		flex-wrap: wrap;
	}
	.sgp-om-date-input-wrap {
		width: 100%;
		min-width: 0;
	}
	.sgp-om-date-input-wrap input[type="date"],
	.sgp-om-field--date input[type="date"] {
		flex: 1 1 auto;
		min-width: 0;
		min-height: 44px;
		width: 100%;
	}
	.sgp-om-toolbar__row--search .sgp-om-field--search,
	.sgp-om-toolbar__row--search .sgp-om-toolbar__more {
		flex: 1 1 100%;
		max-width: none;
		width: 100%;
	}
	.sgp-om-toolbar__more > summary {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 390px) {
	.sgp-om-toolbar__nav .sgp-om-btn {
		flex: 1 1 calc(50% - 6px);
	}
	.sgp-om-field--search input[type="search"] {
		width: 100%;
		min-width: 0;
	}
}



