.sgp-om {
	--sgp-om-ink: #122033;
	--sgp-om-muted: #5c6b7a;
	--sgp-om-line: #e3e8ee;
	--sgp-om-bg: #f3f6f8;
	--sgp-om-surface: #ffffff;
	--sgp-om-soft: #f7f9fb;
	--sgp-om-shadow: 0 10px 28px rgba(18, 32, 51, 0.06);
	--sgp-om-radius: 14px;
	--sgp-om-new: #1d4ed8;
	--sgp-om-accepted: #0e7490;
	--sgp-om-preparing: #b45309;
	--sgp-om-ready: #15803d;
	--sgp-om-completed: #64748b;
	--sgp-om-cancelled: #b91c1c;
	--sgp-om-waiting: #6d28d9;
	--sgp-om-web: #1d4ed8;
	--sgp-om-phone: #0f766e;
	box-sizing: border-box;
	max-width: 1440px;
	margin: 8px 0 40px;
	color: var(--sgp-om-ink);
	font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}
.sgp-om *,
.sgp-om *::before,
.sgp-om *::after { box-sizing: border-box; }

.sgp-om-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 16px 24px;
	align-items: end;
	background: var(--sgp-om-surface);
	border: 1px solid var(--sgp-om-line);
	border-radius: var(--sgp-om-radius);
	padding: 22px 24px 18px;
	box-shadow: var(--sgp-om-shadow);
	margin: 8px 0 18px;
}
.sgp-om-hero__kicker {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sgp-om-muted);
}
.sgp-om .sgp-om-hero h1,
.sgp-om .sgp-om-hero h2,
.sgp-om-public__title {
	margin: 0;
	padding: 0;
	color: var(--sgp-om-ink);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.15;
}
.sgp-om-hero__sub {
	margin: 8px 0 0;
	color: var(--sgp-om-muted);
	font-size: 14px;
}
.sgp-om-hero__aside {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: stretch;
}
.sgp-om-hero__date,
.sgp-om-hero__stat {
	min-width: 132px;
	background: var(--sgp-om-soft);
	border: 1px solid var(--sgp-om-line);
	border-radius: 12px;
	padding: 10px 14px;
}
.sgp-om-hero__stat { border-color: #cce7dc; background: #f3faf6; }
.sgp-om-hero__label {
	display: block;
	margin-bottom: 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--sgp-om-muted);
}
.sgp-om-hero__date strong,
.sgp-om-hero__stat strong {
	display: block;
	font-size: 20px;
	line-height: 1.2;
}
.sgp-om-hero__badges {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.sgp-om-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border-radius: 999px;
	padding: 5px 10px;
	background: var(--sgp-om-soft);
	border: 1px solid var(--sgp-om-line);
	font-size: 12px;
	font-weight: 600;
	color: var(--sgp-om-muted);
}
.sgp-om-chip--on { background: #eef8f3; border-color: #c9eadc; color: #0f6e56; }
.sgp-om-chip--off { background: #f8f4f4; border-color: #eadfdf; color: #8a5b5b; }
.sgp-om-chip--live {
	background: #eef4ff;
	border-color: #d3e0fb;
	color: #1d4ed8;
}
.sgp-om-chip--live::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #1d4ed8;
	box-shadow: 0 0 0 0 rgba(29, 78, 216, 0.45);
	animation: sgpOmPulse 1.8s ease-out infinite;
}

.sgp-om-counts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
	gap: 10px;
	margin: 0 0 16px;
}
.sgp-om-count {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-height: 74px;
	padding: 12px 14px;
	background: var(--sgp-om-surface);
	border: 1px solid var(--sgp-om-line);
	border-radius: 12px;
	text-decoration: none;
	color: var(--sgp-om-ink);
	box-shadow: 0 1px 0 rgba(18, 32, 51, 0.02);
	transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.sgp-om-count strong { font-size: 24px; line-height: 1; }
.sgp-om-count span { font-size: 12px; font-weight: 600; color: var(--sgp-om-muted); }
.sgp-om-count:hover { transform: translateY(-1px); box-shadow: var(--sgp-om-shadow); }
.sgp-om-count.is-active { box-shadow: 0 0 0 2px currentColor inset; }
.sgp-om-count--new { border-top: 3px solid var(--sgp-om-new); }
.sgp-om-count--accepted { border-top: 3px solid var(--sgp-om-accepted); }
.sgp-om-count--preparing { border-top: 3px solid var(--sgp-om-preparing); }
.sgp-om-count--ready { border-top: 3px solid var(--sgp-om-ready); }
.sgp-om-count--completed { border-top: 3px solid var(--sgp-om-completed); }
.sgp-om-count--cancelled { border-top: 3px solid var(--sgp-om-cancelled); }
.sgp-om-count--waiting { border-top: 3px solid var(--sgp-om-waiting); }

.sgp-om-toolbar {
	display: flex;
	flex-direction: column;
	gap: 12px;
	background: var(--sgp-om-surface);
	border: 1px solid var(--sgp-om-line);
	border-radius: var(--sgp-om-radius);
	padding: 14px 16px;
	margin: 0 0 18px;
}
.sgp-om-toolbar__nav,
.sgp-om-toolbar__filters,
.sgp-om-toolbar__submit {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: flex-end;
}
.sgp-om-field { display: flex; flex-direction: column; gap: 4px; margin: 0; min-width: 132px; }
.sgp-om-field__label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--sgp-om-muted);
}
.sgp-om-field input,
.sgp-om-field select,
.sgp-om-settings input[type="number"],
.sgp-om-settings select {
	min-height: 40px;
	border: 1px solid var(--sgp-om-line);
	border-radius: 10px;
	padding: 0 10px;
	background: #fff;
	color: var(--sgp-om-ink);
	box-shadow: none;
}
.sgp-om-field input:focus,
.sgp-om-field select:focus {
	border-color: #93c5fd;
	outline: 2px solid #dbeafe;
	outline-offset: 0;
}

.sgp-om-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid var(--sgp-om-line);
	border-radius: 10px;
	background: #fff;
	color: var(--sgp-om-ink);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.sgp-om a.sgp-om-btn { color: var(--sgp-om-ink); }
.sgp-om-btn:hover { transform: translateY(-1px); }
.sgp-om-btn--primary { background: #123024; border-color: #123024; color: #fff; }
.sgp-om a.sgp-om-btn--primary { color: #fff; }
.sgp-om-btn--primary:hover { background: #0f3d2c; border-color: #0f3d2c; }
.sgp-om-btn--secondary { background: #f3f7f5; border-color: #d7e3dc; color: #123024; }
.sgp-om-btn--ghost { background: transparent; }
.sgp-om-btn--danger { background: #fff5f5; border-color: #f0d0d0; color: #9f1239; }
.sgp-om-btn:focus-visible,
.sgp-om-count:focus-visible {
	outline: 2px solid #1d4ed8;
	outline-offset: 2px;
}

.sgp-om-waiting {
	margin: 0 0 18px;
	padding: 16px;
	background: #f7f3ff;
	border: 1px solid #e4d7fb;
	border-radius: var(--sgp-om-radius);
}
.sgp-om-waiting__header,
.sgp-om-slot__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 12px;
}
.sgp-om-waiting h2,
.sgp-om-waiting h3,
.sgp-om-slot__header h2,
.sgp-om-slot__header h3 {
	margin: 0;
	font-size: 18px;
	line-height: 1.2;
}
.sgp-om-waiting__hint,
.sgp-om-card__lock {
	margin: 4px 0 0;
	color: #6d28d9;
	font-size: 13px;
}
.sgp-om-waiting__cards,
.sgp-om-slot__cards {
	display: grid;
	gap: 12px;
	grid-auto-flow: row;
	grid-auto-rows: min-content;
	align-items: start;
	align-content: start;
}
.sgp-om-slot__count {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 0 10px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--sgp-om-line);
	color: var(--sgp-om-muted);
	font-size: 12px;
	font-weight: 700;
}

.sgp-om-slots {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	align-items: stretch;
	grid-auto-flow: row;
}
.sgp-om-slots--timeline {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.sgp-om-slots--timeline .sgp-om-slot {
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr);
	grid-auto-flow: row;
	align-items: start;
	gap: 14px;
}
.sgp-om-slots--timeline .sgp-om-slot__header {
	flex-direction: column;
	align-items: flex-start;
	margin-bottom: 0;
}
.sgp-om-slots--timeline .sgp-om-slot__cards {
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	align-items: start;
}
.sgp-om-day-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	margin: 0 0 18px;
	padding: 14px 16px;
	background: #fffbeb;
	border: 1px solid #f3d38a;
	border-radius: var(--sgp-om-radius);
	color: var(--sgp-om-ink);
}
.sgp-om-day-banner strong {
	display: block;
	font-size: 15px;
	line-height: 1.3;
}
.sgp-om-day-banner p {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--sgp-om-muted);
}
.sgp-om-day-banner__hint {
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 11px;
}
.sgp-om-day-banner .sgp-om-btn {
	flex: 0 0 auto;
	align-self: center;
}
.sgp-om-slot {
	background: var(--sgp-om-soft);
	border: 1px solid var(--sgp-om-line);
	border-radius: var(--sgp-om-radius);
	padding: 14px;
	animation: sgpOmIn 0.28s ease both;
}

.sgp-om-card {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	background: var(--sgp-om-surface);
	border: 1px solid var(--sgp-om-line);
	border-left: 4px solid var(--sgp-om-new);
	border-radius: 12px;
	padding: 16px;
	height: auto;
	min-height: 0;
	flex: none;
	box-shadow: 0 1px 0 rgba(18, 32, 51, 0.03);
	animation: sgpOmIn 0.3s ease both;
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.sgp-om-card:hover { transform: translateY(-1px); box-shadow: var(--sgp-om-shadow); }
.sgp-om-card--accepted { border-left-color: var(--sgp-om-accepted); }
.sgp-om-card--preparing { border-left-color: var(--sgp-om-preparing); }
.sgp-om-card--ready { border-left-color: var(--sgp-om-ready); }
.sgp-om-card--completed { border-left-color: var(--sgp-om-completed); }
.sgp-om-card--cancelled,
.sgp-om-card.is-inactive { border-left-color: var(--sgp-om-cancelled); opacity: 0.78; }
.sgp-om-card--waiting {
	border-left-color: var(--sgp-om-waiting);
	background: #fcfbff;
}
.sgp-om-card--waiting .sgp-om-action-form { display: none; }
.sgp-om-card__header { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.sgp-om-card--grouped .sgp-om-card__header { justify-content: flex-start; }
.sgp-om-card__time { font-size: 26px; letter-spacing: -0.03em; font-weight: 700; }
.sgp-om-card__number {
	margin: 8px 0 0;
	color: var(--sgp-om-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
}
.sgp-om-card__customer {
	margin: 10px 0 0;
	font-size: 16px;
	font-weight: 700;
}
.sgp-om-card__phone,
.sgp-om-card__capacity {
	margin: 2px 0 0;
	color: var(--sgp-om-muted);
	font-size: 13px;
}
.sgp-om-card__items {
	margin: 10px 0 0;
	padding: 10px 12px;
	background: var(--sgp-om-soft);
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.45;
	overflow-wrap: anywhere;
}
.sgp-om-card__meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 12px 0 0; }
.sgp-om-card__total { font-weight: 700; margin-right: 4px; }
.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-om-inline__loyalty dd {
	display: grid;
	justify-items: end;
	gap: 0.15rem;
	white-space: normal;
	text-align: right;
}
.sgp-om-card__actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 8px;
	margin-top: 14px;
	flex: 0 0 auto;
}
.sgp-om-action-form { margin: 0; }
.sgp-om-action-form--primary .sgp-om-btn { width: 100%; min-height: 44px; }
.sgp-om-card__pay {
	margin-top: 8px;
	flex: 0 0 auto;
}
.sgp-om-card__pay > .sgp-om-pay__actions {
	margin-top: 0;
}
.sgp-om-pay__cta {
	min-height: 44px;
	width: 100%;
}
[data-sgp-om-pay-open] > .sgp-om-pay__actions > .sgp-om-pay__cta,
[data-sgp-om-pay-open] .sgp-om-pay__cta {
	display: none;
}
.sgp-om-pay__heading {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 700;
}
.sgp-om-pay__form {
	margin-top: 6px;
	padding: 8px;
	border: 1px solid var(--sgp-om-line, #e2e8f0);
	border-radius: 12px;
	background: #fff;
}
.sgp-om-pay__form[hidden],
.sgp-om-pay__confirm[hidden],
.sgp-om-pay [hidden],
.sgp-om-pay__form [hidden] {
	display: none !important;
}
.sgp-om-card__pay .sgp-om-pay__form {
	width: 100%;
}
.sgp-om-card__actions-more {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.sgp-om-card__actions-more .sgp-om-btn {
	min-height: 34px;
	padding: 0 10px;
	font-size: 12px;
}
.sgp-om-card__more-actions,
.sgp-om-card__detail { margin: 0; }
.sgp-om-card__more-title {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 650;
	color: var(--sgp-om-muted);
}
.sgp-om-card__more-actions summary,
.sgp-om-card__detail summary {
	cursor: pointer;
	color: var(--sgp-om-muted);
	font-size: 12px;
	font-weight: 650;
}
.sgp-om-slot__pulse {
	display: inline-block;
	margin-top: 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--sgp-om-muted);
}
.sgp-om-slot--pulse-new { box-shadow: inset 3px 0 0 var(--sgp-om-new); }
.sgp-om-slot--pulse-preparing { box-shadow: inset 3px 0 0 var(--sgp-om-preparing); }
.sgp-om-slot--pulse-ready { box-shadow: inset 3px 0 0 var(--sgp-om-ready); }
.sgp-om-slot--pulse-done { box-shadow: inset 3px 0 0 var(--sgp-om-completed); }

.sgp-om-badge {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 3px 9px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	background: #eef1f4;
	color: #334155;
}
.sgp-om-badge--web { background: var(--sgp-rc-badge-web-bg, #e8f0ff); color: var(--sgp-rc-badge-web, var(--sgp-om-web)); }
.sgp-om-badge--phone { background: var(--sgp-rc-badge-phone-bg, #e7f7f4); color: var(--sgp-rc-badge-phone, var(--sgp-om-phone)); }
.sgp-om-badge--onsite { background: var(--sgp-rc-badge-onsite-bg, #f3e8ff); color: var(--sgp-rc-badge-onsite, #5b21b6); }
.sgp-om-badge--pay-paid,
.sgp-om-badge--pay-not_required_demo { background: #e8f7ee; color: var(--sgp-om-ready); }
.sgp-om-badge--pay-pending,
.sgp-om-badge--pay-unpaid { background: #fff6e5; color: var(--sgp-om-preparing); }
.sgp-om-badge--pay-not_applicable,
.sgp-om-badge--pay-manual { background: #eef2f6; color: var(--sgp-om-completed); }
.sgp-om-badge--pay-failed { background: #fde8e8; color: var(--sgp-om-cancelled); }
.sgp-om-badge--order-confirmed,
.sgp-om-badge--order-active { background: #e8f7ee; color: var(--sgp-om-ready); }
.sgp-om-badge--order-pending_payment { background: #f3e8ff; color: var(--sgp-om-waiting); }
.sgp-om-badge--order-expired,
.sgp-om-badge--order-cancelled { background: #fde8e8; color: var(--sgp-om-cancelled); }
.sgp-om-badge--ops-new { background: #e8f0ff; color: var(--sgp-om-new); }
.sgp-om-badge--ops-accepted { background: #e5f6fb; color: var(--sgp-om-accepted); }
.sgp-om-badge--ops-preparing { background: #fff6e5; color: var(--sgp-om-preparing); }
.sgp-om-badge--ops-ready { background: #e8f7ee; color: var(--sgp-om-ready); }
.sgp-om-badge--ops-completed { background: #eef1f4; color: var(--sgp-om-completed); }
.sgp-om-badge--ops-cancelled { background: #fde8e8; color: var(--sgp-om-cancelled); }
.sgp-om-badge--ops-waiting { background: #f3e8ff; color: var(--sgp-om-waiting); }
.sgp-om-badge--ops {
	padding: 4px 9px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.sgp-om-empty {
	background: var(--sgp-om-surface);
	border: 1px dashed var(--sgp-om-line);
	border-radius: var(--sgp-om-radius);
	padding: 28px;
	color: var(--sgp-om-muted);
	text-align: center;
}
.sgp-om-detail {
	background: var(--sgp-om-surface);
	border: 1px solid var(--sgp-om-line);
	border-radius: var(--sgp-om-radius);
	padding: 20px;
	margin: 0 0 18px;
	box-shadow: var(--sgp-om-shadow);
}
.sgp-om-detail__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.sgp-om-detail__kicker { margin: 0 0 4px; color: var(--sgp-om-muted); font-size: 12px; font-weight: 700; }
.sgp-om-detail__header h2 { margin: 0 0 8px; font-size: 24px; }
.sgp-om-detail__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.sgp-om-detail__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin-top: 18px;
}
.sgp-om-detail__section { margin-top: 0; }
.sgp-om-detail__section h3 { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--sgp-om-muted); }
.sgp-om-detail dl { display: grid; grid-template-columns: 120px 1fr; gap: 6px 12px; margin: 0; }
.sgp-om-detail dt { font-weight: 600; color: var(--sgp-om-muted); }
.sgp-om-detail dd { margin: 0; }
.sgp-om-detail__items { margin: 0; padding-left: 18px; }
.sgp-om-detail__opts { margin: 4px 0 8px; padding-left: 16px; color: var(--sgp-om-muted); font-size: 13px; }
.sgp-om-detail__danger { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--sgp-om-line); }

.sgp-om-settings {
	margin-top: 28px;
	background: var(--sgp-om-surface);
	border: 1px solid var(--sgp-om-line);
	border-radius: var(--sgp-om-radius);
	padding: 16px 20px;
}
.sgp-om-settings h2 { margin: 0 0 8px; font-size: 16px; }
.sgp-om--compact .sgp-om-card { padding: 12px; }
.sgp-om--compact .sgp-om-card__time { font-size: 22px; }
.sgp-om--compact .sgp-om-card__actions .sgp-om-btn { min-height: 36px; padding: 0 10px; }

@keyframes sgpOmIn {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}
@keyframes sgpOmPulse {
	0% { box-shadow: 0 0 0 0 rgba(29, 78, 216, 0.4); }
	70% { box-shadow: 0 0 0 8px rgba(29, 78, 216, 0); }
	100% { box-shadow: 0 0 0 0 rgba(29, 78, 216, 0); }
}

@media (max-width: 1100px) {
	.sgp-om-hero { grid-template-columns: 1fr; }
	.sgp-om-hero__aside { width: 100%; }
	.sgp-om-hero__date,
	.sgp-om-hero__stat { flex: 1; }
}
@media (max-width: 782px) {
	.sgp-om-toolbar__nav,
	.sgp-om-toolbar__filters { align-items: stretch; flex-direction: column; }
	.sgp-om-field,
	.sgp-om-toolbar__submit { width: 100%; }
	.sgp-om-toolbar__submit .sgp-om-btn { flex: 1; }
	.sgp-om-detail dl { grid-template-columns: 1fr; }
	.sgp-om-slots,
	.sgp-om-slots--timeline .sgp-om-slot,
	.sgp-om-slots--timeline .sgp-om-slot__cards {
		grid-template-columns: 1fr;
	}
	.sgp-om-day-banner {
		flex-direction: column;
	}
	.sgp-om-day-banner .sgp-om-btn {
		width: 100%;
	}
	.sgp-om .sgp-om-hero h1,
	.sgp-om .sgp-om-hero h2 { font-size: 26px; }
	.sgp-om-btn { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
	.sgp-om-card,
	.sgp-om-slot,
	.sgp-om-count,
	.sgp-om-btn,
	.sgp-om-chip--live::before {
		animation: none;
		transition: none;
	}
}

.sgp-om-appearance--redirect {
	margin-top: 28px;
	padding: 16px 18px;
	border: 1px solid var(--sgp-om-line, #dbe4ee);
	border-radius: 12px;
	background: #fff;
}
.sgp-om-appearance--redirect h3 { margin: 0 0 6px; font-size: 16px; }
.sgp-om-appearance--redirect p { margin: 0 0 10px; }
.sgp-om-appearance h3 { margin: 0 0 6px; font-size: 16px; }
.sgp-om-appearance__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 24px;
	align-items: start;
	margin-top: 12px;
}
.sgp-om-color-field {
	display: flex;
	align-items: center;
	gap: 8px;
}
.sgp-om-color-field__picker {
	width: 42px;
	height: 36px;
	padding: 0;
	border: 1px solid var(--sgp-om-line);
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
}
.sgp-om-color-field__hex {
	width: 118px;
	min-height: 36px;
	border: 1px solid var(--sgp-om-line);
	border-radius: 8px;
	padding: 0 10px;
	font-family: ui-monospace, Consolas, monospace;
}
.sgp-om-appearance__preview {
	position: sticky;
	top: 48px;
}
.sgp-om-appearance__preview-label {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sgp-om-muted);
}
.sgp-om-appearance__stage {
	background: var(--rc-om-console-bg, #071014);
	border-radius: 16px;
	padding: 16px;
	min-height: 220px;
}
.sgp-om-appearance__surface {
	background: var(--rc-om-surface, #111820);
	border-radius: var(--rc-om-radius, 18px);
	padding: 12px;
}
.sgp-om-appearance__card {
	background: var(--rc-om-card, #f8fafc);
	color: var(--rc-om-text-dark, #0f172a);
	border-radius: var(--rc-om-radius, 18px);
	padding: 14px;
	border-left: 4px solid var(--rc-om-primary, #2563eb);
}
.sgp-om-appearance__card-head {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin-bottom: 10px;
}
.sgp-om-appearance__card-title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
}
.sgp-om-appearance__card-meta {
	margin: 6px 0 12px;
	color: var(--rc-om-text-dark, #0f172a);
	font-size: 13px;
	opacity: 0.72;
}
.sgp-om-appearance__preview .sgp-om-btn--primary,
.sgp-om-appearance__preview 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);
	width: 100%;
}
.sgp-om-appearance__preview .sgp-om-badge--pay-paid {
	background: var(--rc-om-success, #159064);
	color: var(--rc-om-text-light, #f8fafc);
}
.sgp-om-toasts {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 100000;
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: min(360px, calc(100vw - 32px));
	pointer-events: none;
}
.sgp-om-toast {
	padding: 12px 14px;
	border-radius: 12px;
	background: #122033;
	color: #f8fafc;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	box-shadow: 0 12px 28px rgba(18, 32, 51, 0.18);
	opacity: 1;
	transition: opacity var(--sgp-fo-motion-exit, 250ms) var(--sgp-fo-ease-standard, ease-out);
}
.sgp-om-toast--success { background: #159064; }
.sgp-om-toast--error { background: #dc2626; }
.sgp-om-toast--info { background: #1e293b; }
.sgp-om-toast.is-out {
	opacity: 0;
}
.sgp-om [data-sgp-om-live].is-loading,
.sgp-om [data-sgp-om-live].is-updating,
.sgp-om [data-sgp-om-live-board].is-loading,
.sgp-om [data-sgp-om-live-metrics].is-loading,
.sgp-om [data-sgp-om-live-toolbar].is-loading,
.sgp-om [data-sgp-om-live-counts].is-loading,
.sgp-rc-service-console [data-sgp-om-live].is-loading,
.sgp-rc-service-console [data-sgp-om-live].is-updating,
.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-om.is-loading,
.sgp-rc-service-console.is-loading {
	opacity: 1;
	filter: none;
	transition: none;
}
.sgp-om [data-sgp-om-live].is-success,
.sgp-rc-service-console [data-sgp-om-live].is-success,
.sgp-rc-service-console [data-sgp-om-live-board].is-success {
	animation: sgpOmLiveIn 0.35s ease;
}
.sgp-om-chip--stamp {
	opacity: 0.84;
}
.sgp-om-card.is-loading,
.sgp-om-btn.is-loading {
	opacity: 0.6;
	pointer-events: none;
}
.sgp-om-btn.is-loading {
	position: relative;
}
@keyframes sgpOmLiveIn {
	from { opacity: 0.55; }
	to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.sgp-om-toast,
	.sgp-om [data-sgp-om-live].is-loading,
	.sgp-om [data-sgp-om-live].is-updating,
	.sgp-om [data-sgp-om-live].is-success,
	.sgp-om-card.is-loading,
	.sgp-om-btn.is-loading {
		animation: none !important;
		transition: none !important;
		transform: none !important;
	}
}

/* Web orders 9C.2 - independent from the live console. */
.sgp-wo {
	--sgp-wo-ink: var(--sgp-rc-text-dark, var(--rc-om-text-dark, #122033));
	--sgp-wo-muted: #5c6b7a;
	--sgp-wo-line: #e3e8ee;
	--sgp-wo-bg: var(--sgp-rc-surface-bg, var(--rc-om-surface, #f3f6f8));
	--sgp-wo-surface: var(--sgp-rc-card-bg, var(--rc-om-card, #ffffff));
	--sgp-wo-soft: #f7f9fb;
	--sgp-wo-shadow: 0 10px 28px rgba(18, 32, 51, 0.06);
	--sgp-wo-radius: var(--sgp-rc-card-radius, var(--rc-om-radius, 14px));
	--sgp-wo-primary: var(--sgp-rc-primary, var(--rc-om-primary, #135e96));
	--sgp-wo-accent: var(--sgp-rc-accent, #0f766e);
	--sgp-wo-success: var(--sgp-rc-success, var(--rc-om-success, #15803d));
	--sgp-wo-danger: var(--sgp-rc-danger, var(--rc-om-danger, #b91c1c));
	--sgp-wo-warning: var(--sgp-rc-warning, var(--rc-om-warning, #b45309));
	box-sizing: border-box;
	max-width: 1440px;
	margin: 8px 0 40px;
	color: var(--sgp-wo-ink);
	font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}
.sgp-wo *,
.sgp-wo *::before,
.sgp-wo *::after { box-sizing: border-box; }
.sgp-wo h1,
.sgp-wo h2 { color: var(--sgp-wo-ink); margin: 0; padding: 0; }

.sgp-wo-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 16px 24px;
	align-items: end;
	background: var(--sgp-wo-surface);
	border: 1px solid var(--sgp-wo-line);
	border-radius: var(--sgp-wo-radius);
	padding: 22px 24px 18px;
	box-shadow: var(--sgp-wo-shadow);
	margin: 8px 0 18px;
}
.sgp-wo-hero__kicker {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sgp-wo-muted);
}
.sgp-wo .sgp-wo-hero h1,
.sgp-wo-hero__title {
	margin: 0;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.15;
}
.sgp-wo-hero__sub {
	margin: 8px 0 0;
	color: var(--sgp-wo-muted);
	font-size: 14px;
}
.sgp-wo-hero__aside {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: stretch;
}
.sgp-wo-hero__date,
.sgp-wo-hero__stat {
	min-width: 132px;
	background: var(--sgp-wo-soft);
	border: 1px solid var(--sgp-wo-line);
	border-radius: 12px;
	padding: 10px 14px;
}
.sgp-wo-hero__stat--paid { border-color: #cce7dc; background: #f3faf6; }
.sgp-wo-hero__label {
	display: block;
	margin-bottom: 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--sgp-wo-muted);
}
.sgp-wo-hero__date strong,
.sgp-wo-hero__stat strong {
	display: block;
	font-size: 20px;
	line-height: 1.2;
}
.sgp-wo-hero__badges {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.sgp-wo-chip {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 5px 10px;
	background: var(--sgp-wo-soft);
	border: 1px solid var(--sgp-wo-line);
	font-size: 12px;
	font-weight: 600;
	color: var(--sgp-wo-muted);
}
.sgp-wo-chip--on { background: #eef8f3; border-color: #c9eadc; color: #0f6e56; }
.sgp-wo-chip--off { background: #f8f4f4; border-color: #eadfdf; color: #8a5b5b; }

.sgp-wo-notice {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid var(--sgp-wo-line);
}
.sgp-wo-notice p { margin: 0; }
.sgp-wo-notice--success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.sgp-wo-notice--error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.sgp-wo-notice--warn { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }

.sgp-wo-counts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
	gap: 10px;
	margin: 0 0 16px;
}
.sgp-wo-count {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-height: 74px;
	padding: 12px 14px;
	background: var(--sgp-wo-surface);
	border: 1px solid var(--sgp-wo-line);
	border-radius: 12px;
}
.sgp-wo-count strong { font-size: 24px; line-height: 1; }
.sgp-wo-count span { font-size: 12px; font-weight: 600; color: var(--sgp-wo-muted); }
.sgp-wo-count--paid { border-top: 3px solid var(--sgp-wo-success); }
.sgp-wo-count--pending { border-top: 3px solid var(--sgp-wo-warning); }
.sgp-wo-count--failed,
.sgp-wo-count--cancelled { border-top: 3px solid var(--sgp-wo-danger); }

.sgp-wo-toolbar {
	display: flex;
	flex-direction: column;
	gap: 12px;
	background: var(--sgp-wo-surface);
	border: 1px solid var(--sgp-wo-line);
	border-radius: var(--sgp-wo-radius);
	padding: 14px 16px;
	margin: 0 0 18px;
}
.sgp-wo-toolbar__nav,
.sgp-wo-toolbar__filters,
.sgp-wo-toolbar__submit {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: flex-end;
}
.sgp-wo-field { display: flex; flex-direction: column; gap: 4px; margin: 0; min-width: 148px; }
.sgp-wo-field__label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--sgp-wo-muted);
}
.sgp-wo-field input,
.sgp-wo-field select {
	min-height: 40px;
	border: 1px solid var(--sgp-wo-line);
	border-radius: 10px;
	padding: 0 10px;
	background: #fff;
	color: var(--sgp-wo-ink);
}
.sgp-wo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 14px;
	border-radius: 10px;
	border: 1px solid var(--sgp-wo-line);
	background: #fff;
	color: var(--sgp-wo-ink);
	font-size: 13px;
	font-weight: 650;
	text-decoration: none;
	cursor: pointer;
}
.sgp-wo a.sgp-wo-btn { color: var(--sgp-wo-ink); }
.sgp-wo-btn--primary { background: var(--sgp-wo-primary); border-color: var(--sgp-wo-primary); color: #fff; }
.sgp-wo a.sgp-wo-btn--primary { color: #fff; }
.sgp-wo-btn--secondary { background: #f3f7f5; border-color: #d7e3dc; }
.sgp-wo-btn--ghost { background: transparent; }
.sgp-wo-btn--danger { background: #fff5f5; border-color: #f0d0d0; color: #9f1239; }
.sgp-wo-btn:focus-visible { outline: 2px solid var(--sgp-wo-primary); outline-offset: 2px; }

.sgp-wo-list { display: flex; flex-direction: column; gap: 14px; }
.sgp-wo-slot {
	background: var(--sgp-wo-surface);
	border: 1px solid var(--sgp-wo-line);
	border-radius: var(--sgp-wo-radius);
	padding: 14px 16px;
}
.sgp-wo-slot__head {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	align-items: baseline;
	margin-bottom: 12px;
}
.sgp-wo-slot__head strong { font-size: 22px; letter-spacing: -0.03em; }
.sgp-wo-slot__head span { color: var(--sgp-wo-muted); font-size: 13px; font-weight: 600; }

.sgp-wo-card {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr) auto;
	gap: 14px;
	align-items: start;
	padding: 14px 0;
	border-top: 1px solid var(--sgp-wo-line);
}
.sgp-wo-slot > .sgp-wo-card:first-of-type,
.sgp-wo-slot > .sgp-wo-card-shell:first-of-type .sgp-wo-card { border-top: 0; padding-top: 0; }
.sgp-wo-card-shell {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.sgp-wo-card-shell .sgp-wo-detail {
	margin: 0 0 12px;
}
@media (prefers-reduced-motion: reduce) {
	.sgp-wo-card-shell .sgp-wo-detail {
		transition: none;
	}
}
.sgp-wo-card__time strong { display: block; font-size: 22px; line-height: 1.1; }
.sgp-wo-card__time small { color: var(--sgp-wo-muted); font-size: 12px; font-weight: 650; }
.sgp-wo-card__identity { display: flex; flex-direction: column; gap: 2px; }
.sgp-wo-card__identity strong { font-size: 16px; }
.sgp-wo-card__identity span,
.sgp-wo-card__items,
.sgp-wo-card__id { margin: 4px 0 0; color: var(--sgp-wo-muted); font-size: 13px; }
.sgp-wo-card__meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 10px; }
.sgp-wo-card__total { font-weight: 700; margin-right: 4px; }
.sgp-wo-card__actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 168px;
}
.sgp-wo-action { margin: 0; }
.sgp-wo-card__actions-more { display: flex; flex-wrap: wrap; gap: 6px; }
.sgp-wo-card.is-waiting { background: #fbf7ff; margin: 0 -8px; padding-left: 8px; padding-right: 8px; border-radius: 12px; }
.sgp-wo-card.is-inactive { opacity: 0.72; }

.sgp-wo-badge {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 3px 9px;
	font-size: 11px;
	font-weight: 700;
	background: #eef1f4;
	color: #334155;
}
.sgp-wo-badge--web { background: #e8f0ff; color: var(--sgp-wo-primary); }
.sgp-wo-badge--paid,
.sgp-wo-badge--demo,
.sgp-wo-badge--confirmed,
.sgp-wo-badge--completed { background: #e8f7ee; color: var(--sgp-wo-success); }
.sgp-wo-badge--pending { background: #fff6e5; color: var(--sgp-wo-warning); }
.sgp-wo-badge--failed,
.sgp-wo-badge--cancelled { background: #fde8e8; color: var(--sgp-wo-danger); }

.sgp-wo-empty {
	margin: 0;
	padding: 22px;
	background: var(--sgp-wo-surface);
	border: 1px dashed var(--sgp-wo-line);
	border-radius: var(--sgp-wo-radius);
	color: var(--sgp-wo-muted);
	text-align: center;
}
.sgp-wo-empty p { margin: 0; }

.sgp-wo-detail {
	background: var(--sgp-wo-surface);
	border: 1px solid var(--sgp-wo-line);
	border-radius: var(--sgp-wo-radius);
	padding: 18px 20px;
	margin: 0 0 18px;
}
.sgp-wo-detail__head {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	align-items: flex-start;
	margin-bottom: 16px;
}
.sgp-wo-detail__kicker { margin: 0 0 4px; color: var(--sgp-wo-muted); font-size: 12px; font-weight: 700; }
.sgp-wo-detail__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px 18px;
	margin: 0;
}
.sgp-wo-detail__grid dt { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--sgp-wo-muted); }
.sgp-wo-detail__grid dd { margin: 4px 0 0; font-weight: 600; }
.sgp-wo-settings-hint { color: var(--sgp-wo-muted); font-size: 13px; }

.sgp-om-card-shell {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-width: 0;
	height: auto;
	min-height: 0;
	flex: none;
	align-self: start;
}
.sgp-om-card > * {
	flex-grow: 0;
}
.sgp-om-card-shell.is-focus-target .sgp-om-card,
.sgp-om-card-shell.is-deeplink-target .sgp-om-card {
	outline: 2px solid var(--sgp-rc-accent, var(--sgp-om-new));
	box-shadow: inset 4px 0 0 var(--sgp-rc-accent, var(--sgp-om-new)), 0 0 0 3px var(--sgp-rc-accent, var(--sgp-om-new));
}
.sgp-om-slot__cards .sgp-om-card-shell.is-detail-open,
.sgp-om-waiting__cards .sgp-om-card-shell.is-detail-open {
	grid-column: 1 / -1;
}
.sgp-om-card-shell.is-detail-open .sgp-om-card {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	transform: none;
	box-shadow: none;
}
.sgp-om-card-shell.is-detail-open .sgp-om-card:hover {
	transform: none;
}
.sgp-om-inline {
	margin: 0;
	padding: 0 14px 12px;
	border: 1px solid var(--sgp-om-line);
	border-top: 0;
	border-radius: 0 0 var(--sgp-om-radius) var(--sgp-om-radius);
	background: var(--sgp-om-surface);
	overflow: hidden;
	transition: opacity 180ms ease;
}
.sgp-om-inline[hidden] {
	display: none !important;
}
.sgp-om-inline__inner {
	display: grid;
	gap: 12px;
	padding-top: 10px;
	border-top: 1px solid var(--sgp-om-line);
}
.sgp-om-inline__banner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 4px 12px;
	align-items: start;
}
.sgp-om-inline__ref {
	margin: 0;
	font-weight: 800;
	letter-spacing: 0.04em;
}
.sgp-om-inline__when {
	margin: 0;
	color: var(--sgp-om-muted);
	font-size: 12px;
}
.sgp-om-inline__badges {
	grid-column: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}
.sgp-om-inline__close {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: start;
}
.sgp-om-inline__who {
	grid-column: 1 / -1;
	margin: 2px 0 0;
	font-size: 14px;
	font-weight: 650;
	line-height: 1.3;
}
.sgp-om-inline__who-kicker {
	display: inline;
	margin-right: 6px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--sgp-om-muted);
}
.sgp-om-inline__block {
	margin: 0;
}
.sgp-om-inline__products {
	min-width: 0;
	overflow-x: hidden;
}
.sgp-om-inline__block h3 {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--sgp-om-muted);
}
.sgp-om-inline__dl {
	display: grid;
	gap: 6px 16px;
	margin: 0;
}
.sgp-om-inline__dl > div {
	display: grid;
	gap: 1px;
}
.sgp-om-inline__dl dt {
	font-size: 11px;
	font-weight: 700;
	color: var(--sgp-om-muted);
}
.sgp-om-inline__dl dd {
	margin: 0;
	font-weight: 650;
}
.sgp-om-inline__address {
	margin: 0;
	font-size: 13px;
	line-height: 1.35;
}
.sgp-om-inline__addr-status {
	margin: 2px 0 0;
	font-size: 11px;
	color: var(--sgp-om-muted);
}
.sgp-om-inline__table {
	width: 100%;
	border-collapse: collapse;
}
.sgp-om-inline__table th,
.sgp-om-inline__table td {
	padding: 6px 6px;
	border-bottom: 1px solid var(--sgp-om-line);
	text-align: left;
	vertical-align: top;
}
.sgp-om-inline__table th {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.03em;
	color: var(--sgp-om-muted);
}
.sgp-om-inline__num {
	text-align: right;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	font-weight: 650;
}
.sgp-om-inline__opts {
	display: grid;
	gap: 1px;
	margin: 0;
	padding: 0;
	color: var(--sgp-om-muted);
	font-size: 12px;
}
.sgp-om-inline__opt-group {
	margin: 4px 0 1px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.04em;
}
.sgp-om-inline__opt-group:first-child {
	margin-top: 0;
}
.sgp-om-inline__opt-choice {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
	margin: 0;
}
.sgp-om-inline__opt-amt {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	text-align: right;
}
.sgp-om-inline__muted {
	color: var(--sgp-om-muted);
	font-size: 13px;
}
.sgp-om-inline__sum {
	display: grid;
	gap: 2px;
	margin: 0;
	max-width: 240px;
	margin-left: auto;
}
.sgp-om-inline__sum > div {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	align-items: baseline;
}
.sgp-om-inline__sum dt {
	margin: 0;
	color: var(--sgp-om-muted);
	font-weight: 600;
}
.sgp-om-inline__sum dd {
	margin: 0;
	text-align: right;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.sgp-om-inline__sum-total {
	padding-top: 4px;
	border-top: 1px solid var(--sgp-om-line);
	font-weight: 800;
}
.sgp-om-inline__note p {
	margin: 0;
	padding: 6px 8px;
	background: var(--sgp-om-soft);
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.35;
}
.sgp-om-inline__pay-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 2px;
	margin: 0;
	font-size: 13px;
}
.sgp-om-inline .sgp-om-pay__amount {
	margin: 0;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
}
.sgp-om-inline .sgp-om-pay__detail {
	margin: 2px 0 0;
}
.sgp-om-inline .sgp-om-pay__actions {
	margin-top: 6px;
}
.sgp-om-inline__tech {
	margin: 0;
	color: var(--sgp-om-muted);
	font-size: 12px;
}
.sgp-om-inline__tech summary {
	cursor: pointer;
	font-weight: 650;
}
.sgp-om-inline__dl--tech {
	margin-top: 6px;
}
.sgp-om-inline--compact {
	padding: 0 12px 10px;
	max-width: 800px;
	width: 100%;
}
.sgp-om-inline--compact .sgp-om-inline__inner {
	gap: 8px;
	padding-top: 8px;
	border-top: 1px solid rgba(15, 23, 42, 0.1);
}
.sgp-om-inline__title {
	margin: 0;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--sgp-om-muted);
}
.sgp-om-inline__lines {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}
.sgp-om-inline__line {
	margin: 0;
	padding: 0 0 8px;
	border-bottom: 1px solid var(--sgp-om-line, #e2e8f0);
}
.sgp-om-inline__line:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}
.sgp-om-inline__line-name {
	margin: 0;
	font-size: 15px;
	line-height: 1.25;
}
.sgp-om-inline__line-opt {
	margin: 2px 0 0;
	font-size: 13px;
	line-height: 1.35;
	color: var(--sgp-om-muted);
}
.sgp-om-inline__line-opt-g {
	font-weight: 650;
}
.sgp-om-inline__line-qty {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin: 4px 0 0;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}
.sgp-om-inline__line-amt {
	font-weight: 750;
	white-space: nowrap;
}
.sgp-om-inline--compact .sgp-om-inline__table th,
.sgp-om-inline--compact .sgp-om-inline__table td {
	padding: 4px 6px;
}

.sgp-om-pay__status {
	margin: 0;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.sgp-om-pay__status--paid {
	color: #047857;
}
.sgp-om-pay__status--to_collect,
.sgp-om-pay__status--retry {
	color: #b45309;
}
.sgp-om-pay__status--in_progress {
	color: #1d4ed8;
}
.sgp-om-pay__status--partially_paid {
	color: #b45309;
}
.sgp-om-pay__remaining {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 700;
}
.sgp-om-pay__history-wrap {
	margin: 0 0 8px;
}
.sgp-om-pay__history {
	list-style: none;
	margin: 0;
	padding: 0;
}
.sgp-om-pay__history li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 4px 0;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}
.sgp-om-pay__amount-field {
	display: block;
	margin-top: 8px;
}
.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-om-pay__amount-field input {
	width: 100%;
	min-height: 44px;
	padding: 6px 10px;
	border: 1px solid var(--sgp-om-line);
	border-radius: 10px;
	font-size: 16px;
	font-variant-numeric: tabular-nums;
}
.sgp-om-pay__amount {
	margin: 4px 0 0;
	font-size: 22px;
	font-weight: 750;
	line-height: 1.2;
}
.sgp-om-pay__detail {
	margin: 6px 0 0;
	color: var(--sgp-om-muted);
	font-size: 13px;
}
.sgp-om-pay__actions {
	margin-top: 8px;
	flex: 0 0 auto;
}
.sgp-om-pay__form {
	margin-top: 6px;
	padding: 8px;
	border: 1px solid var(--sgp-om-line);
	border-radius: 12px;
	background: var(--sgp-om-soft, #f8fafc);
}
.sgp-om-pay__form[hidden],
.sgp-om-pay__confirm[hidden],
.sgp-om-pay [hidden],
.sgp-om-pay__form [hidden] {
	display: none !important;
}
.sgp-om-pay__legend,
.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-om-pay__methods {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
	gap: 4px;
}
.sgp-om-pay__choice {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 4px 8px;
	border: 1px solid var(--sgp-om-line);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	font-size: 13px;
}
.sgp-om-pay__choice span {
	white-space: nowrap;
}
.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-om-pay__terminal-field {
	display: block;
	margin-top: 8px;
}
.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-om-pay__terminal-field select {
	width: 100%;
	min-height: 44px;
	padding: 6px 10px;
	border: 1px solid var(--sgp-om-line);
	border-radius: 10px;
	font-size: 16px;
}
.sgp-om-pay__terminal-name {
	display: block;
	font-size: 14px;
	font-weight: 650;
	text-transform: none;
	letter-spacing: 0;
}
.sgp-om-pay__actions--card .sgp-om-pay__methods {
	grid-template-columns: 1fr;
}
.sgp-om-pay__total-paid {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 700;
}
.sgp-om-pay__history-wrap + .sgp-om-pay__total-paid,
.sgp-om-pay__history-wrap + .sgp-om-pay__remaining {
	margin-top: 4px;
}
.sgp-om-pay__note {
	display: block;
	margin-top: 6px;
}
.sgp-om-pay__note input,
.sgp-om-pay__note textarea {
	width: 100%;
	min-height: 44px;
	max-height: 72px;
	padding: 6px 10px;
	border: 1px solid var(--sgp-om-line);
	border-radius: 10px;
	resize: vertical;
	field-sizing: content;
}
.sgp-om-pay__form-actions,
.sgp-om-pay__confirm-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 6px;
}
.sgp-om-pay__form-actions .sgp-om-btn,
.sgp-om-pay__confirm-actions .sgp-om-btn {
	flex: 1 1 auto;
	min-height: 44px;
}
.sgp-om-pay__confirm-text {
	margin: 0;
	font-weight: 650;
	font-size: 14px;
	line-height: 1.4;
}
.sgp-om-pay .sgp-om-btn.is-loading {
	opacity: 0.7;
}
.sgp-om-pay__refund-cta {
	min-height: 44px;
	width: 100%;
	margin-top: 6px;
}
[data-sgp-om-refund-open] .sgp-om-pay__refund-cta {
	display: none;
}
.sgp-om-pay__refund-form {
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	overflow: hidden;
}
.sgp-om-pay__refund-form input,
.sgp-om-pay__refund-form .sgp-om-btn {
	min-height: 44px;
	max-width: 100%;
	box-sizing: border-box;
}
.sgp-om-pay__refund-form input[readonly] {
	background: #f8fafc;
}
.sgp-om-pay__refund-facts {
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
	min-width: 0;
}
.sgp-om-pay__refund-facts li {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 4px 0;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	min-width: 0;
}
.sgp-om-pay__refund-facts span {
	overflow-wrap: anywhere;
	word-break: break-word;
	min-width: 0;
}

@media (max-width: 768px) {
	.sgp-om-inline .sgp-om-pay__methods {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 390px) {
	.sgp-om-pay__methods {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sgp-om-pay,
	.sgp-om-pay__form {
		transition: none;
	}
}

@media (max-width: 1024px) {
	.sgp-om-inline__table thead {
		display: none;
	}
	.sgp-om-inline__table,
	.sgp-om-inline__table tbody,
	.sgp-om-inline__table tr,
	.sgp-om-inline__table th,
	.sgp-om-inline__table td {
		display: block;
		width: 100%;
	}
	.sgp-om-inline__table tr {
		padding: 8px 0;
		border-bottom: 1px solid var(--sgp-om-line);
	}
	.sgp-om-inline__table td {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 6px;
		padding: 2px 0;
		border: 0;
		text-align: left;
	}
	.sgp-om-inline__table td::before {
		content: attr(data-label);
		color: var(--sgp-om-muted);
		font-size: 11px;
		font-weight: 700;
	}
	.sgp-om-inline__num {
		text-align: right;
	}
	.sgp-om-inline__sum {
		max-width: none;
		margin-left: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sgp-om-inline {
		transition: none;
	}
}

@media (max-width: 782px) {
	.sgp-wo-hero { grid-template-columns: 1fr; }
	.sgp-wo-hero__badges { grid-column: 1; }
	.sgp-wo-card { grid-template-columns: 1fr; }
	.sgp-wo-card__actions { min-width: 0; }
	.sgp-wo-toolbar__nav,
	.sgp-wo-toolbar__filters,
	.sgp-wo-toolbar__submit { flex-direction: column; align-items: stretch; }
	.sgp-wo-btn { width: 100%; }
}

/* Service information architecture: width belongs to each card, not the viewport. */
.sgp-om-card-shell { container-type: inline-size; container-name: sgp-order; }
.sgp-om-inline--service { margin: 0; padding: 0; max-width: none; }
.sgp-om-service-detail { display: grid; grid-template-columns: minmax(0,1fr); width: 100%; max-width: 100%; min-width: 0; padding: 0 14px; color: var(--sgp-om-ink); font-size: 14px; line-height: 1.4; }
.sgp-om-service-detail > section { min-width: 0; padding: 10px 0; border-top: 1px solid var(--sgp-om-line); }
.sgp-om-service-detail h3 { margin: 0 0 6px; font-size: 12px; font-weight: 750; letter-spacing: .035em; text-transform: uppercase; line-height: 1.3; color: var(--sgp-om-muted); }
.sgp-om-service-detail p { margin: 3px 0; }
.sgp-om-service-detail__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.sgp-om-service-detail__heading h3 { margin: 0; }
.sgp-om-service-detail__heading a { flex-shrink: 0; font-size: 12px; line-height: 1.3; min-height: 0; padding: 4px 0; color: var(--sgp-rc-accent, var(--sgp-om-new)); }
.sgp-om-service-detail__lines { margin: 0 0 10px; padding: 0; list-style: none; }
.sgp-om-service-detail__lines li { padding: 5px 0; }
.sgp-om-service-detail__lines li + li { border-top: 1px solid var(--sgp-om-line); margin-top: 6px; padding-top: 8px; }
.sgp-om-service-detail__line-price { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-variant-numeric: tabular-nums; }
.sgp-om-service-detail__muted,.sgp-om-service-detail small { color: var(--sgp-om-muted); font-size: 12px; }
.sgp-om-service-detail__rows { margin: 0; display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.sgp-om-service-detail__rows > div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: baseline; }
.sgp-om-service-detail__rows dt { font-weight: 400; overflow-wrap: anywhere; }
.sgp-om-service-detail__rows dd { margin: 0; text-align: right; white-space: nowrap; font-weight: 600; }
.sgp-om-service-detail__total { margin-top: 5px; padding-top: 6px; border-top: 1px solid var(--sgp-om-line); font-size: 17px; }
.sgp-om-service-detail__total dt { font-weight: 750; }
.sgp-om-service-detail .sgp-om-service-detail__status { margin-top: 9px; }
.sgp-om-service-detail__reward { font-weight: 650; display: flex; align-items: center; gap: 6px; }
.sgp-om-service-detail__reward .sgp-loyalty-gift-icon,
.sgp-om-service-detail__reward .sgp-om-service-detail__gift,
.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;
	flex: 0 0 1.1em;
}
.sgp-om-service-detail .sgp-om-service-detail__note,.sgp-om-service-detail__address { margin-top: 12px; overflow-wrap: anywhere; }
.sgp-om-service-detail__advanced summary,.sgp-om-card__corrections > summary { cursor: pointer; min-height: 44px; padding: 10px 0; font-size: 13px; line-height: 20px; }
.sgp-om-service-detail__advanced details > p { font-size: 13px; overflow-wrap: anywhere; }
.sgp-om-service-detail__advanced .sgp-om-adjustment { border: 0; padding: 0; margin: 0; }
.sgp-om-service-detail__paper-form { margin: 0; }
.sgp-om-service-detail__paper-form > div { display: block; }
.sgp-om-service-detail__paper-form dd { margin: 0; }


.sgp-om-card__corrections { width: 100%; }
@container sgp-order (min-width: 480px) {
 .sgp-om-service-detail { padding-inline: 18px; }
 .sgp-om-service-detail__heading a { font-size: 13px; }
}
/* Financial adjustment: one accessible column, no nested fixed widths. */
.sgp-om-adjustment { min-width: 0; overflow-wrap: anywhere; }
.sgp-om-adjustment summary { cursor: pointer; min-height: 44px; display: list-item; padding-block: 10px; }
.sgp-om-adjustment form { display: grid; gap: 12px; min-width: 0; }
.sgp-om-adjustment label { display: grid; gap: 6px; min-width: 0; }
.sgp-om-adjustment input, .sgp-om-adjustment select, .sgp-om-adjustment textarea { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; }
.sgp-om-adjustment button { width: 100%; min-height: 44px; }
.sgp-om-adjustment [data-adjustment-feedback]:empty { display: none; }
.sgp-om-finance,
.sgp-om-finance__grid,
.sgp-om-finance__block,
.sgp-om-finance__rows,
.sgp-om-finance__history {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}
.sgp-om-finance {
	display: grid;
	gap: 14px;
	margin-top: 8px;
	overflow-wrap: break-word;
	container-type: inline-size;
	container-name: sgp-om-finance;
}
.sgp-om-finance__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
}
.sgp-om-finance__block {
	display: grid;
	gap: 8px;
}
.sgp-om-finance__block h3 {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--sgp-om-muted);
}
.sgp-om-finance__rows {
	display: grid;
	gap: 4px;
	margin: 0;
}
.sgp-om-finance__rows > div {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px 12px;
	align-items: baseline;
	min-width: 0;
}
.sgp-om-finance__rows dt {
	margin: 0;
	min-width: 0;
	font-size: 12px;
	font-weight: 700;
	color: var(--sgp-om-muted);
	white-space: normal;
	overflow-wrap: break-word;
}
.sgp-om-finance__rows dd {
	margin: 0;
	min-width: 0;
	max-width: 100%;
	font-weight: 650;
	text-align: right;
	font-variant-numeric: tabular-nums;
	white-space: normal;
	overflow-wrap: anywhere;
}
.sgp-om-finance__status { margin: 8px 0 0; }
.sgp-om-finance__block > p,
.sgp-om-finance__note {
	margin: 0;
	min-width: 0;
	max-width: 100%;
	white-space: normal;
	overflow-wrap: break-word;
}
.sgp-om-finance__note { color: var(--sgp-om-muted); font-size: 13px; }
.sgp-om-finance__history summary { cursor: pointer; min-height: 44px; display: list-item; padding-block: 8px; }
.sgp-om-finance__hist { margin: 0 0 10px; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; white-space: normal; }
@container sgp-om-finance (min-width: 720px) {
	.sgp-om-finance__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}
