html body:has(.stsp-cashier-shell) {
	background: #edf2f7;
}

/* Mature UI pass: calmer, more credible POS interface. */
.stsp-cashier-shell {
	--stsp-ink: #111827;
	--stsp-muted: #6b7280;
	--stsp-line: #d9e0ea;
	--stsp-soft: #f7f9fc;
	--stsp-panel: #ffffff;
	--stsp-primary: #17365d;
	--stsp-primary-hover: #0f2948;
	--stsp-success: #137a4b;
	--stsp-danger: #b42318;
	color: var(--stsp-ink);
}

html body:has(.stsp-cashier-shell),
.stsp-pos-app,
.stsp-cashier-pos,
.stsp-login-centered {
	background: #f3f6fa;
	background-image: none;
}

.stsp-pos-sidebar {
	background: #07182d;
	border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stsp-app-icon {
	background: #17365d;
	border-radius: 8px;
	box-shadow: none;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0;
}

.stsp-pos-brand strong {
	font-size: 21px;
	letter-spacing: 0;
}

.stsp-pos-brand b,
.stsp-brand-row h1 strong,
.stsp-login-brand h2 strong,
.stsp-login-centered .stsp-login-brand h1 strong {
	color: #3b82f6;
}

.stsp-pos-nav {
	gap: 4px;
}

.stsp-pos-nav a {
	border-radius: 6px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 14px;
	font-weight: 650;
	min-height: 40px;
	padding: 9px 10px;
}

.stsp-pos-nav a span {
	color: rgba(255, 255, 255, 0.48);
	font-size: 11px;
	font-variant-numeric: tabular-nums;
	width: 22px;
}

.stsp-pos-nav a:hover,
.stsp-pos-nav a.is-active {
	background: rgba(255, 255, 255, 0.08);
	box-shadow: none;
	color: #fff;
}

.stsp-pos-nav a.is-active {
	border-left: 3px solid #60a5fa;
	padding-left: 7px;
}

.stsp-cashbox-card {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	padding: 14px;
}

.stsp-cashbox-card button,
#stsp-complete-sale,
.stsp-login-button,
.stsp-view-row button {
	background: var(--stsp-primary);
	border-radius: 6px;
	box-shadow: none;
}

.stsp-cashbox-card button:hover,
#stsp-complete-sale:hover,
.stsp-login-button:hover,
.stsp-view-row button:hover {
	background: var(--stsp-primary-hover);
}

.stsp-pos-app .stsp-cashier-top,
.stsp-cashier-top {
	background: #fff;
	border: 0;
	border-bottom: 1px solid var(--stsp-line);
	box-shadow: none;
}

.stsp-cashier-products,
.stsp-cashier-cart,
.stsp-view-kpis div,
.stsp-view-card,
.stsp-view-list {
	background: var(--stsp-panel);
	border: 1px solid var(--stsp-line);
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.stsp-pos-app .stsp-cashier-workspace {
	padding: 18px;
}

.stsp-cashier-search input,
.stsp-cashier-search button,
.stsp-cashier-shell select,
.stsp-cashier-shell input {
	background: #fff;
	border-color: #cfd8e3;
	border-radius: 6px;
	box-shadow: none;
	font-size: 14px;
	min-height: 40px;
}

.stsp-cashier-search input:focus,
.stsp-cashier-shell select:focus,
.stsp-cashier-shell input:focus,
.stsp-field-with-icon:focus-within {
	border-color: #2f5f9f;
	box-shadow: 0 0 0 3px rgba(47, 95, 159, 0.12);
}

.stsp-segmented button,
.stsp-payment-shortcuts button,
.stsp-actions button,
.stsp-empty-cart-button,
.stsp-shortcuts-bar span {
	background: #fff;
	border: 1px solid var(--stsp-line);
	border-radius: 6px;
	color: #263445;
	font-weight: 650;
}

.stsp-segmented button.is-active {
	background: #edf3fb;
	border-color: #b9cbe2;
	color: var(--stsp-primary);
}

.stsp-product-card {
	background: #fff;
	border-color: var(--stsp-line);
	border-radius: 8px;
	box-shadow: none;
}

.stsp-product-card:hover,
.stsp-product-card:focus {
	border-color: #93a8c2;
	box-shadow: 0 0 0 2px rgba(23, 54, 93, 0.08);
	transform: none;
}

.stsp-product-type {
	background: #eef2f7;
	border-radius: 4px;
	color: #475569;
	font-size: 10px;
	letter-spacing: 0.02em;
}

.stsp-product-price {
	color: #0f6b3e;
	font-size: 16px;
}

.stsp-totals {
	background: #f8fafc;
	border-color: var(--stsp-line);
	border-radius: 8px;
}

.stsp-totals div:nth-child(3) {
	color: var(--stsp-primary);
	font-size: 20px;
}

.stsp-status {
	background: #eef8f2;
	border-color: #b8dfc8;
	border-radius: 999px;
	color: #166534;
	font-size: 12px;
	font-weight: 700;
}

.stsp-status-muted {
	background: #f4f6f8;
	border-color: var(--stsp-line);
	color: #475569;
}

.stsp-view-head h2 {
	color: var(--stsp-ink);
	font-size: 24px;
	font-weight: 750;
}

.stsp-view-head p,
.stsp-user-chip small,
.stsp-product-meta,
.stsp-cart-name span,
.stsp-view-row span {
	color: var(--stsp-muted);
}

.stsp-view-kpis span {
	color: #64748b;
	font-size: 12px;
	letter-spacing: 0.02em;
}

.stsp-view-kpis strong {
	color: var(--stsp-ink);
	font-size: 22px;
}

.stsp-app-chart div {
	background: #f8fafc;
}

.stsp-app-chart span {
	background: #4f7db8;
	border-radius: 3px 3px 0 0;
}

.stsp-donut,
.stsp-login-centered::before,
.stsp-login-shell,
.stsp-cashier-pos {
	background-image: none;
}

.stsp-login-centered .stsp-login-card,
.stsp-login-panel .stsp-login-card,
.stsp-login-card {
	border: 1px solid var(--stsp-line);
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.stsp-login-centered .stsp-login-brand h1 {
	font-size: 42px;
}

.stsp-login-welcome h2 {
	font-size: 22px;
}

/* Login requested screen must win over global professional overrides. */
.stsp-login-photo {
	background:
		linear-gradient(rgba(7, 27, 58, 0.35), rgba(7, 27, 58, 0.35)),
		url("../images/cashier-login-bg.jpg") center / cover no-repeat !important;
	padding: 24px !important;
}

.stsp-login-photo::before {
	backdrop-filter: blur(8px) !important;
	background: transparent !important;
	content: "" !important;
	display: block !important;
}

.stsp-login-photo .stsp-login-card {
	background: rgba(255, 255, 255, 0.96) !important;
	border: 1px solid rgba(255, 255, 255, 0.8) !important;
	border-radius: 22px !important;
	box-shadow: 0 24px 70px rgba(7, 27, 58, 0.2) !important;
	max-width: 520px !important;
	padding: 44px 46px 34px !important;
	text-align: center !important;
}

.stsp-login-photo .stsp-app-icon {
	background: #0b5cff !important;
	border-radius: 18px !important;
	box-shadow: 0 10px 24px rgba(11, 92, 255, 0.28) !important;
	font-size: 34px !important;
	height: 72px !important;
	margin: 0 auto 18px !important;
	width: 72px !important;
}

.stsp-login-photo .stsp-login-brand h1 {
	color: #071b3a !important;
	font-size: 44px !important;
	font-weight: 800 !important;
	letter-spacing: -1px !important;
}

.stsp-login-photo .stsp-login-brand h1 strong,
.stsp-login-photo .stsp-login-options a {
	color: #0b5cff !important;
}

.stsp-login-photo .stsp-login-button {
	background: #0b5cff !important;
	border-radius: 12px !important;
	box-shadow: 0 8px 18px rgba(11, 92, 255, 0.24) !important;
}

.stsp-login-photo .stsp-quick-login,
.stsp-login-photo .stsp-field-with-icon {
	border-radius: 12px !important;
}

/* Dashboard requested screen true final override. */
.stsp-dashboard-modern {
	background: #f6f8fb !important;
	color: #071b3a;
	padding: 28px 32px !important;
}

.stsp-dashboard-topbar {
	align-items: flex-start;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin-bottom: 28px;
}

.stsp-dashboard-topbar h2 {
	color: #071b3a;
	font-size: 28px;
	font-weight: 800;
	margin: 0 0 6px;
}

.stsp-dashboard-topbar p {
	color: #667085;
	font-size: 15px;
	margin: 0;
}

.stsp-dashboard-actions,
.stsp-dashboard-card-title,
.stsp-dashboard-tabs {
	align-items: center;
	display: flex;
	gap: 12px;
}

.stsp-dashboard-actions {
	flex-wrap: wrap;
	justify-content: flex-end;
}

.stsp-dashboard-card-title {
	justify-content: space-between;
	margin-bottom: 18px;
}

.stsp-dashboard-tabs {
	gap: 6px;
}

.stsp-dashboard-actions button,
.stsp-dashboard-card-title button,
.stsp-dashboard-tabs button {
	background: #fff !important;
	border: 1px solid #d9e1ec !important;
	border-radius: 10px !important;
	color: #071b3a !important;
	font-weight: 650;
	min-height: 42px;
	padding: 0 16px;
}

.stsp-dashboard-tabs button {
	border-radius: 8px !important;
	min-height: 0;
	padding: 8px 12px;
}

.stsp-dashboard-actions button.is-primary,
.stsp-dashboard-tabs button.is-active {
	background: #0b5cff !important;
	border-color: #0b5cff !important;
	color: #fff !important;
}

.stsp-dashboard-stats,
.stsp-dashboard-grid,
.stsp-dashboard-bottom-grid {
	display: grid;
	gap: 16px;
}

.stsp-dashboard-stats {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin-bottom: 18px;
}

.stsp-dashboard-grid {
	grid-template-columns: 2fr 1.25fr 1.35fr;
	margin-bottom: 16px;
}

.stsp-dashboard-bottom-grid {
	grid-template-columns: 1.1fr 1.1fr 1.2fr;
}

.stsp-dashboard-card {
	background: #fff !important;
	border: 1px solid #e4e7ec !important;
	border-radius: 16px !important;
	box-shadow: 0 8px 24px rgba(7, 27, 58, 0.04) !important;
	padding: 20px;
}

.stsp-dashboard-stat {
	align-items: flex-start;
	display: flex;
	gap: 14px;
	justify-content: space-between;
}

.stsp-dashboard-stat small {
	color: #0b5cff;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.stsp-dashboard-stat h3 {
	color: #071b3a;
	font-size: 25px;
	font-weight: 800;
	margin: 14px 0 8px;
	overflow-wrap: anywhere;
}

.stsp-dashboard-stat p {
	color: #667085;
	font-size: 13px;
	margin: 0;
}

.stsp-dashboard-stat > span,
.stsp-dashboard-pill {
	align-items: center;
	background: #eaf1ff;
	border-radius: 50%;
	color: #0b5cff;
	display: grid;
	font-weight: 800;
	place-items: center;
}

.stsp-dashboard-stat > span {
	flex: 0 0 52px;
	font-size: 22px;
	height: 52px;
	width: 52px;
}

.stsp-dashboard-pill {
	border-radius: 10px;
	flex: 0 0 38px;
	height: 38px;
	width: 38px;
}

.stsp-dashboard-card-title h3 {
	color: #071b3a;
	font-size: 16px;
	font-weight: 800;
	margin: 0;
	text-transform: uppercase;
}

.stsp-dashboard-chart {
	align-items: end;
	border-bottom: 1px solid #e4e7ec;
	display: flex;
	gap: 10px;
	height: 280px;
	padding-top: 20px;
}

.stsp-dashboard-chart span {
	background: linear-gradient(#0b5cff, #cfe0ff) !important;
	border-radius: 8px 8px 0 0 !important;
	flex: 1;
	min-height: 20px;
}

.stsp-dashboard-donut {
	background: conic-gradient(#0b5cff 0 35%, #16a36b 35% 60%, #7c3aed 60% 75%, #f97316 75% 90%, #98a2b3 90%);
	border-radius: 50%;
	height: 150px;
	margin: 8px auto 20px;
	position: relative;
	width: 150px;
}

.stsp-dashboard-donut::after {
	background: #fff;
	border-radius: 50%;
	content: "";
	inset: 38px;
	position: absolute;
}

.stsp-dashboard-legend div,
.stsp-dashboard-activity-row,
.stsp-dashboard-cash-lines div {
	border-bottom: 1px solid #edf0f5;
	display: flex;
	font-size: 14px;
	gap: 12px;
	justify-content: space-between;
	padding: 10px 0;
}

.stsp-dashboard-activity-row {
	align-items: center;
}

.stsp-dashboard-activity-row small {
	color: #667085;
	display: block;
	margin-top: 3px;
}

.stsp-dashboard-table-head,
.stsp-dashboard-table-row {
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(0, 1fr) 90px 90px;
}

.stsp-dashboard-table-head {
	color: #667085;
	font-size: 13px;
	font-weight: 700;
	padding-bottom: 12px;
}

.stsp-dashboard-table-row {
	border-bottom: 1px solid #edf0f5;
	font-size: 14px;
	padding: 12px 0;
}

.stsp-dashboard-table-row span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.stsp-dashboard-table-row strong {
	color: #071b3a;
	text-align: right;
}

.stsp-dashboard-table-row strong.is-low {
	background: #ffe8e8;
	border-radius: 8px;
	color: #d92d20;
	font-size: 12px;
	padding: 5px 9px;
	text-align: center;
}

.stsp-dashboard-total-cash {
	color: #0b5cff;
	font-size: 24px;
	font-weight: 800;
	margin-top: 16px;
	text-align: right;
}

.stsp-dashboard-footer {
	color: #667085;
	display: flex;
	font-size: 13px;
	justify-content: space-between;
	margin-top: 26px;
}

@media (max-width: 1400px) {
	.stsp-dashboard-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.stsp-dashboard-grid,
	.stsp-dashboard-bottom-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 800px) {
	.stsp-dashboard-modern {
		padding: 20px !important;
	}

	.stsp-dashboard-topbar {
		flex-direction: column;
	}

	.stsp-dashboard-actions {
		justify-content: flex-start;
	}

	.stsp-dashboard-stats,
	.stsp-dashboard-table-head,
	.stsp-dashboard-table-row {
		grid-template-columns: 1fr;
	}

	.stsp-dashboard-table-row strong,
	.stsp-dashboard-total-cash {
		text-align: left;
	}
}

/* Dashboard requested screen final EOF override. */
.stsp-dashboard-modern {
	background: #f6f8fb !important;
	color: #071b3a;
	padding: 28px 32px !important;
}

.stsp-dashboard-topbar {
	align-items: flex-start;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin-bottom: 28px;
}

.stsp-dashboard-topbar h2 {
	color: #071b3a;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: 0;
	margin: 0 0 6px;
}

.stsp-dashboard-topbar p {
	color: #667085;
	font-size: 15px;
	margin: 0;
}

.stsp-dashboard-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: flex-end;
}

.stsp-dashboard-actions button,
.stsp-dashboard-card-title button {
	background: #fff !important;
	border: 1px solid #d9e1ec !important;
	border-radius: 10px !important;
	color: #071b3a !important;
	font-weight: 650;
	min-height: 42px;
	padding: 0 16px;
}

.stsp-dashboard-actions button.is-primary {
	background: #0b5cff !important;
	border-color: #0b5cff !important;
	color: #fff !important;
}

.stsp-dashboard-stats {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin-bottom: 18px;
}

.stsp-dashboard-card {
	background: #fff !important;
	border: 1px solid #e4e7ec !important;
	border-radius: 16px !important;
	box-shadow: 0 8px 24px rgba(7, 27, 58, 0.04) !important;
	padding: 20px;
}

.stsp-dashboard-stat {
	align-items: flex-start;
	display: flex;
	gap: 14px;
	justify-content: space-between;
}

.stsp-dashboard-stat small {
	color: #0b5cff;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.stsp-dashboard-stat h3 {
	color: #071b3a;
	font-size: 25px;
	font-weight: 800;
	margin: 14px 0 8px;
	overflow-wrap: anywhere;
}

.stsp-dashboard-stat p {
	color: #667085;
	font-size: 13px;
	margin: 0;
}

.stsp-dashboard-stat > span {
	align-items: center;
	background: #eaf1ff;
	border-radius: 50%;
	color: #0b5cff;
	display: grid;
	flex: 0 0 52px;
	font-size: 22px;
	height: 52px;
	place-items: center;
	width: 52px;
}

.stsp-dashboard-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: 2fr 1.25fr 1.35fr;
	margin-bottom: 16px;
}

.stsp-dashboard-bottom-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: 1.1fr 1.1fr 1.2fr;
}

.stsp-dashboard-card-title {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 18px;
}

.stsp-dashboard-card-title h3 {
	color: #071b3a;
	font-size: 16px;
	font-weight: 800;
	margin: 0;
	text-transform: uppercase;
}

.stsp-dashboard-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.stsp-dashboard-tabs button {
	background: #fff !important;
	border: 1px solid #d9e1ec !important;
	border-radius: 8px !important;
	color: #071b3a !important;
	font-weight: 650;
	padding: 8px 12px;
}

.stsp-dashboard-tabs button.is-active {
	background: #0b5cff !important;
	border-color: #0b5cff !important;
	color: #fff !important;
}

.stsp-dashboard-chart {
	align-items: end;
	border-bottom: 1px solid #e4e7ec;
	display: flex;
	gap: 10px;
	height: 280px;
	padding-top: 20px;
}

.stsp-dashboard-chart span {
	background: linear-gradient(#0b5cff, #cfe0ff) !important;
	border-radius: 8px 8px 0 0 !important;
	flex: 1;
	min-height: 20px;
}

.stsp-dashboard-donut {
	background: conic-gradient(#0b5cff 0 35%, #16a36b 35% 60%, #7c3aed 60% 75%, #f97316 75% 90%, #98a2b3 90%);
	border-radius: 50%;
	height: 150px;
	margin: 8px auto 20px;
	position: relative;
	width: 150px;
}

.stsp-dashboard-donut::after {
	background: #fff;
	border-radius: 50%;
	content: "";
	inset: 38px;
	position: absolute;
}

.stsp-dashboard-legend div,
.stsp-dashboard-activity-row,
.stsp-dashboard-cash-lines div {
	border-bottom: 1px solid #edf0f5;
	display: flex;
	font-size: 14px;
	gap: 12px;
	justify-content: space-between;
	padding: 10px 0;
}

.stsp-dashboard-legend b {
	background: #0b5cff;
	border-radius: 50%;
	display: inline-block;
	height: 9px;
	margin-right: 8px;
	width: 9px;
}

.stsp-dashboard-legend div:nth-child(2) b { background: #16a36b; }
.stsp-dashboard-legend div:nth-child(3) b { background: #7c3aed; }

.stsp-dashboard-activity-row {
	align-items: center;
}

.stsp-dashboard-activity-row small {
	color: #667085;
	display: block;
	margin-top: 3px;
}

.stsp-dashboard-pill {
	align-items: center;
	background: #eef4ff;
	border-radius: 10px;
	color: #0b5cff;
	display: grid;
	flex: 0 0 38px;
	font-weight: 800;
	height: 38px;
	place-items: center;
	width: 38px;
}

.stsp-dashboard-table-head,
.stsp-dashboard-table-row {
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(0, 1fr) 90px 90px;
}

.stsp-dashboard-table-head {
	color: #667085;
	font-size: 13px;
	font-weight: 700;
	padding-bottom: 12px;
}

.stsp-dashboard-table-row {
	border-bottom: 1px solid #edf0f5;
	font-size: 14px;
	padding: 12px 0;
}

.stsp-dashboard-table-row span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.stsp-dashboard-table-row strong {
	color: #071b3a;
	text-align: right;
}

.stsp-dashboard-table-row strong.is-low {
	background: #ffe8e8;
	border-radius: 8px;
	color: #d92d20;
	font-size: 12px;
	padding: 5px 9px;
	text-align: center;
}

.stsp-dashboard-total-cash {
	color: #0b5cff;
	font-size: 24px;
	font-weight: 800;
	margin-top: 16px;
	text-align: right;
}

.stsp-dashboard-footer {
	color: #667085;
	display: flex;
	font-size: 13px;
	justify-content: space-between;
	margin-top: 26px;
}

@media (max-width: 1400px) {
	.stsp-dashboard-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.stsp-dashboard-grid,
	.stsp-dashboard-bottom-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 800px) {
	.stsp-dashboard-modern {
		padding: 20px !important;
	}

	.stsp-dashboard-topbar {
		flex-direction: column;
	}

	.stsp-dashboard-actions {
		justify-content: flex-start;
	}

	.stsp-dashboard-stats,
	.stsp-dashboard-table-head,
	.stsp-dashboard-table-row {
		grid-template-columns: 1fr;
	}

	.stsp-dashboard-table-row strong,
	.stsp-dashboard-total-cash {
		text-align: left;
	}
}

/* Functional dashboard layout requested by user. */
.stsp-dashboard-modern {
	background: #f6f8fb;
	color: #071b3a;
	padding: 28px 32px !important;
}

.stsp-dashboard-topbar {
	align-items: flex-start;
	display: flex;
	justify-content: space-between;
	margin-bottom: 28px;
	gap: 18px;
}

.stsp-dashboard-topbar h2 {
	color: #071b3a;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: 0;
	margin: 0 0 6px;
}

.stsp-dashboard-topbar p {
	color: #667085;
	font-size: 15px;
	margin: 0;
}

.stsp-dashboard-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: flex-end;
}

.stsp-dashboard-actions button,
.stsp-dashboard-card-title button {
	background: #fff;
	border: 1px solid #d9e1ec;
	border-radius: 10px;
	color: #071b3a;
	cursor: pointer;
	font-weight: 650;
	min-height: 42px;
	padding: 0 16px;
}

.stsp-dashboard-actions button.is-primary {
	background: #0b5cff;
	border-color: #0b5cff;
	color: #fff;
}

.stsp-dashboard-stats {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin-bottom: 18px;
}

.stsp-dashboard-card {
	background: #fff;
	border: 1px solid #e4e7ec;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(7, 27, 58, 0.04);
	padding: 20px;
}

.stsp-dashboard-stat {
	align-items: flex-start;
	display: flex;
	justify-content: space-between;
	gap: 14px;
}

.stsp-dashboard-stat small {
	color: #0b5cff;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.stsp-dashboard-stat h3 {
	color: #071b3a;
	font-size: 25px;
	font-weight: 800;
	margin: 14px 0 8px;
	overflow-wrap: anywhere;
}

.stsp-dashboard-stat p {
	color: #667085;
	font-size: 13px;
	margin: 0;
}

.stsp-dashboard-stat > span {
	align-items: center;
	background: #eaf1ff;
	border-radius: 50%;
	color: #0b5cff;
	display: grid;
	flex: 0 0 52px;
	font-size: 22px;
	height: 52px;
	place-items: center;
	width: 52px;
}

.stsp-dashboard-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: 2fr 1.25fr 1.35fr;
	margin-bottom: 16px;
}

.stsp-dashboard-bottom-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: 1.1fr 1.1fr 1.2fr;
}

.stsp-dashboard-card-title {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 18px;
}

.stsp-dashboard-card-title h3 {
	color: #071b3a;
	font-size: 16px;
	font-weight: 800;
	margin: 0;
	text-transform: uppercase;
}

.stsp-dashboard-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.stsp-dashboard-tabs button {
	background: #fff;
	border: 1px solid #d9e1ec;
	border-radius: 8px;
	color: #071b3a;
	cursor: pointer;
	font-weight: 650;
	padding: 8px 12px;
}

.stsp-dashboard-tabs button.is-active {
	background: #0b5cff;
	border-color: #0b5cff;
	color: #fff;
}

.stsp-dashboard-chart {
	align-items: end;
	border-bottom: 1px solid #e4e7ec;
	display: flex;
	gap: 10px;
	height: 280px;
	padding-top: 20px;
}

.stsp-dashboard-chart span {
	background: linear-gradient(#0b5cff, #cfe0ff);
	border-radius: 8px 8px 0 0;
	flex: 1;
	min-height: 20px;
}

.stsp-dashboard-donut {
	background: conic-gradient(#0b5cff 0 35%, #16a36b 35% 60%, #7c3aed 60% 75%, #f97316 75% 90%, #98a2b3 90%);
	border-radius: 50%;
	height: 150px;
	margin: 8px auto 20px;
	position: relative;
	width: 150px;
}

.stsp-dashboard-donut::after {
	background: #fff;
	border-radius: 50%;
	content: "";
	inset: 38px;
	position: absolute;
}

.stsp-dashboard-legend div,
.stsp-dashboard-activity-row,
.stsp-dashboard-cash-lines div {
	border-bottom: 1px solid #edf0f5;
	display: flex;
	font-size: 14px;
	gap: 12px;
	justify-content: space-between;
	padding: 10px 0;
}

.stsp-dashboard-legend span,
.stsp-dashboard-activity-row div {
	min-width: 0;
}

.stsp-dashboard-legend b {
	background: #0b5cff;
	border-radius: 50%;
	display: inline-block;
	height: 9px;
	margin-right: 8px;
	width: 9px;
}

.stsp-dashboard-legend div:nth-child(2) b { background: #16a36b; }
.stsp-dashboard-legend div:nth-child(3) b { background: #7c3aed; }

.stsp-dashboard-activity-row {
	align-items: center;
}

.stsp-dashboard-activity-row small {
	color: #667085;
	display: block;
	margin-top: 3px;
}

.stsp-dashboard-pill {
	align-items: center;
	background: #eef4ff;
	border-radius: 10px;
	color: #0b5cff;
	display: grid;
	flex: 0 0 38px;
	font-weight: 800;
	height: 38px;
	place-items: center;
	width: 38px;
}

.stsp-dashboard-table-head,
.stsp-dashboard-table-row {
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(0, 1fr) 90px 90px;
}

.stsp-dashboard-table-head {
	color: #667085;
	font-size: 13px;
	font-weight: 700;
	padding-bottom: 12px;
}

.stsp-dashboard-table-row {
	border-bottom: 1px solid #edf0f5;
	font-size: 14px;
	padding: 12px 0;
}

.stsp-dashboard-table-row span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.stsp-dashboard-table-row strong {
	color: #071b3a;
	text-align: right;
}

.stsp-dashboard-table-row strong.is-low {
	background: #ffe8e8;
	border-radius: 8px;
	color: #d92d20;
	font-size: 12px;
	padding: 5px 9px;
	text-align: center;
}

.stsp-dashboard-total-cash {
	color: #0b5cff;
	font-size: 24px;
	font-weight: 800;
	margin-top: 16px;
	text-align: right;
}

.stsp-dashboard-footer {
	color: #667085;
	display: flex;
	font-size: 13px;
	justify-content: space-between;
	margin-top: 26px;
}

@media (max-width: 1400px) {
	.stsp-dashboard-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.stsp-dashboard-grid,
	.stsp-dashboard-bottom-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 800px) {
	.stsp-dashboard-modern {
		padding: 20px !important;
	}

	.stsp-dashboard-topbar {
		flex-direction: column;
	}

	.stsp-dashboard-actions {
		justify-content: flex-start;
	}

	.stsp-dashboard-stats,
	.stsp-dashboard-table-head,
	.stsp-dashboard-table-row {
		grid-template-columns: 1fr;
	}

	.stsp-dashboard-table-row strong,
	.stsp-dashboard-total-cash {
		text-align: left;
	}
}

/* Login requested screen must win over global professional overrides. */
.stsp-login-photo {
	background:
		linear-gradient(rgba(7, 27, 58, 0.35), rgba(7, 27, 58, 0.35)),
		url("../images/cashier-login-bg.jpg") center / cover no-repeat !important;
	padding: 24px !important;
}

.stsp-login-photo::before {
	backdrop-filter: blur(8px) !important;
	background: transparent !important;
	content: "" !important;
	display: block !important;
}

.stsp-login-photo .stsp-login-card {
	background: rgba(255, 255, 255, 0.96) !important;
	border: 1px solid rgba(255, 255, 255, 0.8) !important;
	border-radius: 22px !important;
	box-shadow: 0 24px 70px rgba(7, 27, 58, 0.2) !important;
	max-width: 520px !important;
	padding: 44px 46px 34px !important;
	text-align: center !important;
}

.stsp-login-photo .stsp-app-icon {
	background: #0b5cff !important;
	border-radius: 18px !important;
	box-shadow: 0 10px 24px rgba(11, 92, 255, 0.28) !important;
	font-size: 34px !important;
	height: 72px !important;
	margin: 0 auto 18px !important;
	width: 72px !important;
}

.stsp-login-photo .stsp-login-brand h1 {
	color: #071b3a !important;
	font-size: 44px !important;
	font-weight: 800 !important;
	letter-spacing: -1px !important;
}

.stsp-login-photo .stsp-login-brand h1 strong,
.stsp-login-photo .stsp-login-options a {
	color: #0b5cff !important;
}

.stsp-login-photo .stsp-login-button {
	background: #0b5cff !important;
	border-radius: 12px !important;
	box-shadow: 0 8px 18px rgba(11, 92, 255, 0.24) !important;
}

.stsp-login-photo .stsp-quick-login,
.stsp-login-photo .stsp-field-with-icon {
	border-radius: 12px !important;
}

/* Login page requested layout. Keep after professional overrides. */
.stsp-login-photo {
	align-items: center;
	background:
		linear-gradient(rgba(7, 27, 58, 0.35), rgba(7, 27, 58, 0.35)),
		url("../images/cashier-login-bg.jpg") center / cover no-repeat !important;
	color: #071b3a;
	display: flex;
	justify-content: center;
	min-height: 100dvh;
	padding: 24px;
	position: relative;
}

.stsp-login-photo::before {
	backdrop-filter: blur(8px);
	content: "";
	inset: 0;
	position: fixed;
	z-index: 0;
}

.stsp-login-photo .stsp-language-pill {
	align-items: center;
	background: #fff;
	border: 1px solid #e4e7ec;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(7, 27, 58, 0.08);
	color: #071b3a;
	display: flex;
	font-size: 15px;
	font-weight: 600;
	gap: 10px;
	padding: 12px 18px;
	position: absolute;
	right: 36px;
	top: 28px;
	z-index: 2;
}

.stsp-login-photo .stsp-login-card {
	background: rgba(255, 255, 255, 0.96) !important;
	border: 1px solid rgba(255, 255, 255, 0.8) !important;
	border-radius: 22px !important;
	box-shadow: 0 24px 70px rgba(7, 27, 58, 0.2) !important;
	max-width: 520px;
	padding: 44px 46px 34px;
	text-align: center;
	width: 100%;
	z-index: 1;
}

.stsp-login-photo .stsp-login-card::before {
	display: none;
}

.stsp-login-photo .stsp-login-brand {
	display: block;
	margin-bottom: 0;
	text-align: center;
}

.stsp-login-photo .stsp-app-icon {
	align-items: center;
	background: #0b5cff !important;
	border-radius: 18px !important;
	box-shadow: 0 10px 24px rgba(11, 92, 255, 0.28) !important;
	color: #fff;
	display: flex;
	font-size: 34px !important;
	height: 72px;
	justify-content: center;
	margin: 0 auto 18px;
	width: 72px;
}

.stsp-login-photo .stsp-login-brand h1 {
	color: #071b3a;
	font-size: 44px;
	font-weight: 800;
	letter-spacing: -1px;
	line-height: 1;
	margin: 0;
}

.stsp-login-photo .stsp-login-brand h1 strong {
	color: #0b5cff;
}

.stsp-login-photo .stsp-login-brand p {
	color: #667085;
	font-size: 17px;
	font-weight: 500;
	margin: 8px 0 0;
}

.stsp-login-photo .stsp-login-welcome {
	margin: 28px 0 0;
	text-align: center;
}

.stsp-login-photo .stsp-login-welcome h2 {
	color: #071b3a;
	font-size: 25px;
	font-weight: 750;
	letter-spacing: 0;
	margin: 0;
}

.stsp-login-photo .stsp-login-welcome p {
	color: #667085;
	font-size: 15px;
	margin: 8px 0 0;
}

.stsp-login-photo .stsp-login-form {
	margin-top: 30px;
	text-align: left;
}

.stsp-login-photo .stsp-field-with-icon {
	align-items: center;
	background: #fff;
	border: 1px solid #d0d5dd;
	border-radius: 12px !important;
	display: flex !important;
	gap: 12px;
	grid-template-columns: none;
	height: 56px;
	margin-bottom: 16px;
	padding: 0 16px;
}

.stsp-login-photo .stsp-field-with-icon span {
	color: #667085;
	font-size: 18px;
	width: auto;
}

.stsp-login-photo .stsp-field-with-icon input {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: #071b3a;
	font-size: 15px;
	margin: 0;
	min-height: 0;
	outline: none;
	padding: 0;
	width: 100%;
}

.stsp-login-photo .stsp-field-with-icon input::placeholder {
	color: #98a2b3;
}

.stsp-login-photo .stsp-login-options {
	align-items: center;
	display: flex;
	font-size: 14px;
	justify-content: space-between;
	margin: 4px 0 22px;
}

.stsp-login-photo .stsp-login-remember {
	align-items: center;
	color: #344054;
	display: flex !important;
	gap: 8px;
	margin: 0;
}

.stsp-login-photo .stsp-login-remember input {
	accent-color: #0b5cff;
	height: 17px;
	width: 17px;
}

.stsp-login-photo .stsp-login-options a {
	color: #0b5cff;
	font-weight: 600;
	text-decoration: none;
}

.stsp-login-photo .stsp-login-button {
	background: #0b5cff !important;
	border: 0;
	border-radius: 12px !important;
	box-shadow: 0 8px 18px rgba(11, 92, 255, 0.24) !important;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	height: 56px;
	min-height: 56px;
	width: 100%;
}

.stsp-login-photo .stsp-login-divider {
	align-items: center;
	color: #667085;
	display: flex;
	font-size: 14px;
	gap: 14px;
	margin: 26px 0 20px;
	text-align: center;
}

.stsp-login-photo .stsp-login-divider::before,
.stsp-login-photo .stsp-login-divider::after {
	background: #e4e7ec;
	content: "";
	flex: 1;
	height: 1px;
}

.stsp-login-photo .stsp-quick-login {
	align-items: center;
	background: #fff;
	border: 1px solid #d0d5dd;
	border-radius: 12px;
	color: #071b3a;
	display: flex;
	font-size: 16px;
	font-weight: 700;
	height: 56px;
	justify-content: center;
	text-decoration: none;
}

.stsp-login-photo .stsp-login-page-footer {
	bottom: auto;
	color: #667085;
	font-size: 13px;
	left: auto;
	line-height: 1.8;
	margin-top: 30px;
	position: static;
	text-align: center;
	transform: none;
	width: auto;
}

.stsp-login-photo .stsp-login-page-footer p {
	margin: 0;
}

@media (max-width: 600px) {
	.stsp-login-photo {
		padding: 18px;
	}

	.stsp-login-photo .stsp-language-pill {
		padding: 10px 14px;
		right: 16px;
		top: 16px;
	}

	.stsp-login-photo .stsp-login-card {
		margin-top: 50px;
		padding: 34px 24px 28px;
	}

	.stsp-login-photo .stsp-login-brand h1 {
		font-size: 36px;
	}

	.stsp-login-photo .stsp-login-options {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}
}

html:has(.stsp-cashier-shell),
body:has(.stsp-cashier-shell),
body.stsp-fullscreen-page {
	height: 100%;
	margin: 0 !important;
	overflow-x: hidden;
}

body.stsp-fullscreen-page header,
body.stsp-fullscreen-page footer,
body.stsp-fullscreen-page .site-header,
body.stsp-fullscreen-page .site-footer,
body.stsp-fullscreen-page #masthead,
body.stsp-fullscreen-page #colophon,
body.stsp-fullscreen-page .entry-header,
body.stsp-fullscreen-page .entry-footer,
body.stsp-fullscreen-page .page-title,
body.stsp-fullscreen-page .post-thumbnail {
	display: none !important;
}

body.stsp-fullscreen-page #page,
body.stsp-fullscreen-page #content,
body.stsp-fullscreen-page .site,
body.stsp-fullscreen-page .site-content,
body.stsp-fullscreen-page .content-area,
body.stsp-fullscreen-page .site-main,
body.stsp-fullscreen-page .container,
body.stsp-fullscreen-page .ast-container,
body.stsp-fullscreen-page .elementor,
body.stsp-fullscreen-page .elementor-section,
body.stsp-fullscreen-page .elementor-container,
body.stsp-fullscreen-page .elementor-column,
body.stsp-fullscreen-page .elementor-widget-wrap,
body.stsp-fullscreen-page .elementor-widget-container,
body.stsp-fullscreen-page .elementor-widget-shortcode,
body.stsp-fullscreen-page .entry-content,
body.stsp-fullscreen-page article,
body.stsp-fullscreen-page .wp-site-blocks,
body.stsp-fullscreen-page .is-layout-constrained,
body.stsp-fullscreen-page .is-layout-flow {
	margin: 0 !important;
	max-width: none !important;
	padding: 0 !important;
	width: 100% !important;
}

body.stsp-fullscreen-page .entry-content > * {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

.stsp-cashier-shell {
	box-sizing: border-box;
	color: #172033;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	min-height: 100dvh;
	width: 100%;
}

.stsp-cashier-shell *,
.stsp-cashier-shell *::before,
.stsp-cashier-shell *::after {
	box-sizing: border-box;
}

.stsp-login-shell {
	align-items: center;
	background:
		linear-gradient(90deg, rgba(8, 28, 58, 0.72), rgba(8, 28, 58, 0.18) 46%, rgba(255, 255, 255, 0.22)),
		url("../images/cashier-login-bg.jpg") center / cover no-repeat,
		linear-gradient(135deg, #123b73 0%, #1f6f8b 54%, #d88418 100%);
	display: flex;
	justify-content: center;
	padding: 32px 18px;
}

.stsp-login-card {
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 28px 80px rgba(10, 24, 44, 0.26);
	max-width: 440px;
	overflow: hidden;
	padding: 30px;
	position: relative;
	width: 100%;
}

.stsp-login-card::before {
	background: linear-gradient(90deg, #123b73, #1f8a78 58%, #d88418);
	content: "";
	height: 5px;
	inset: 0 0 auto;
	position: absolute;
}

.stsp-login-brand {
	align-items: center;
	display: flex;
	gap: 14px;
	margin-bottom: 24px;
}

.stsp-login-brand > span {
	align-items: center;
	background: #123b73;
	border-radius: 14px;
	color: #fff;
	display: flex;
	font-size: 18px;
	font-weight: 900;
	height: 52px;
	justify-content: center;
	width: 52px;
}

.stsp-login-brand h1,
.stsp-cashier-top h1 {
	letter-spacing: 0;
	margin: 0;
}

.stsp-login-brand p,
.stsp-login-footer {
	color: #647084;
	margin: 4px 0 0;
}

.stsp-login-form label {
	display: block;
	font-weight: 800;
	margin-bottom: 14px;
}

.stsp-login-form input:not([type="checkbox"]) {
	background: #f7fafc;
	border: 1px solid #d5dde8;
	border-radius: 10px;
	display: block;
	font-size: 16px;
	margin-top: 7px;
	min-height: 48px;
	padding: 10px 12px;
	width: 100%;
}

.stsp-login-remember {
	align-items: center;
	display: flex !important;
	gap: 9px;
}

.stsp-login-alert {
	background: #fcebea;
	border-radius: 10px;
	color: #8a1f11;
	font-weight: 700;
	margin-bottom: 16px;
	padding: 12px;
}

.stsp-login-button {
	background: #123b73;
	border: 0;
	border-radius: 12px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-size: 16px;
	font-weight: 900;
	justify-content: center;
	min-height: 50px;
	padding: 14px 18px;
	text-decoration: none;
	width: 100%;
}

.stsp-login-footer {
	font-size: 13px;
	text-align: center;
}

.stsp-cashier-pos {
	background:
		radial-gradient(circle at 8% 4%, rgba(31, 138, 120, 0.13), transparent 32%),
		radial-gradient(circle at 93% 10%, rgba(216, 132, 24, 0.14), transparent 26%),
		#edf2f7;
	padding: 14px;
}

.stsp-cashier-top {
	align-items: center;
	background: linear-gradient(135deg, #ffffff 0%, #f8fbff 64%, #fff7ea 100%);
	border: 1px solid #dce4ed;
	border-radius: 14px;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 14px;
	padding: 14px 16px;
}

.stsp-cashier-eyebrow {
	color: #d88418;
	display: block;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.stsp-cashier-session {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	justify-content: flex-end;
}

.stsp-cashier-session > span:first-child {
	font-weight: 900;
}

.stsp-cashier-session a {
	background: #eef2f7;
	border-radius: 999px;
	color: #123b73;
	font-weight: 900;
	padding: 8px 12px;
	text-decoration: none;
}

.stsp-cashier-workspace {
	display: grid;
	gap: 14px;
	grid-template-columns: minmax(0, 1fr) 430px;
}

.stsp-cashier-products,
.stsp-cashier-cart {
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid #dce4ed;
	border-radius: 14px;
	box-shadow: 0 12px 30px rgba(15, 35, 60, 0.08);
	padding: 14px;
}

.stsp-cashier-cart {
	align-self: start;
	position: sticky;
	top: 14px;
}

.stsp-cashier-search {
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr auto auto;
	margin-bottom: 12px;
}

.stsp-cashier-search input,
.stsp-cashier-search button,
.stsp-cashier-shell select,
.stsp-cashier-shell input {
	border: 1px solid #d5dde8;
	border-radius: 10px;
	font-size: 15px;
	min-height: 44px;
	outline: none;
	padding: 9px 12px;
}

.stsp-cashier-search input:focus,
.stsp-cashier-shell select:focus,
.stsp-cashier-shell input:focus {
	border-color: #1f8a78;
	box-shadow: 0 0 0 3px rgba(31, 138, 120, 0.16);
}

.stsp-cashier-search button,
.stsp-cashier-shell button {
	cursor: pointer;
	font-weight: 900;
	transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.stsp-cashier-shell button:active {
	transform: translateY(1px);
}

.stsp-segmented,
.stsp-payment-shortcuts {
	display: flex;
	gap: 8px;
	margin: 0 0 12px;
	overflow-x: auto;
}

.stsp-segmented button,
.stsp-payment-shortcuts button {
	background: #eef2f7;
	border: 1px solid #d6dce5;
	border-radius: 999px;
	color: #253044;
	min-height: 38px;
	padding: 7px 13px;
	white-space: nowrap;
}

.stsp-segmented button.is-active,
.stsp-payment-shortcuts button:hover {
	background: #123b73;
	border-color: #123b73;
	color: #fff;
}

.stsp-product-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	max-height: calc(100vh - 190px);
	overflow: auto;
}

.stsp-product-card {
	background: #fbfcfe;
	border: 1px solid #d7dce3;
	border-radius: 12px;
	cursor: pointer;
	min-height: 138px;
	padding: 13px;
	text-align: left;
	width: 100%;
	transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.stsp-product-card:hover,
.stsp-product-card:focus {
	border-color: #123b73;
	box-shadow: 0 0 0 2px rgba(18, 59, 115, 0.18);
	transform: translateY(-1px);
}

.stsp-product-card strong,
.stsp-product-card span {
	display: block;
}

.stsp-product-type {
	background: #eaf1fb;
	border-radius: 999px;
	color: #123b73;
	display: inline-block !important;
	font-size: 11px;
	font-weight: 900;
	margin-bottom: 10px;
	padding: 3px 8px;
	text-transform: uppercase;
}

.stsp-product-price {
	color: #0f7a3d;
	font-size: clamp(15px, 1.05vw, 18px);
	font-weight: 900;
	margin-top: 8px;
	overflow-wrap: anywhere;
}

.stsp-product-meta {
	color: #647084;
	font-size: 12px;
	margin-top: 6px;
}

.stsp-product-card.is-low-stock {
	background: #fff8ee;
	border-color: #f1bd75;
}

.stsp-cart-head {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.stsp-cart-head h2 {
	margin: 0 0 12px;
}

.stsp-cart-close,
.stsp-mobile-cart-toggle {
	display: none;
}

.stsp-cart-items {
	border-bottom: 1px solid #e2e8f0;
	margin-bottom: 12px;
	max-height: 30vh;
	overflow: auto;
}

.stsp-cart-item {
	align-items: center;
	display: grid;
	gap: 8px;
	grid-template-columns: minmax(0, 1fr) 122px 76px 42px;
	padding: 8px 0;
}

.stsp-cart-name strong {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.stsp-cart-name span {
	color: #647084;
	font-size: 12px;
}

.stsp-stepper {
	display: grid;
	grid-template-columns: 34px minmax(44px, 1fr) 34px;
}

.stsp-stepper input {
	border-left: 0;
	border-radius: 0;
	border-right: 0;
	text-align: center;
}

.stsp-stepper button {
	border: 1px solid #d5dde8;
	border-radius: 8px;
	color: #fff;
	font-size: 16px;
	font-weight: 950;
	min-height: 44px;
	padding: 0;
}

.stsp-remove-item {
	background: #fcebea;
	border: 0;
	border-radius: 10px;
	color: #8a1f11;
	min-height: 44px;
}

.stsp-cart-controls,
.stsp-payment-grid {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stsp-cashier-shell label {
	display: block;
	font-weight: 800;
	margin-bottom: 10px;
}

.stsp-totals {
	background: linear-gradient(180deg, #f7fafc, #eef6ff);
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	margin: 12px 0;
	padding: 12px;
}

.stsp-totals div {
	display: flex;
	justify-content: space-between;
	margin: 7px 0;
}

.stsp-totals div:nth-child(3) {
	color: #123b73;
	font-size: 22px;
	font-weight: 900;
}

.stsp-actions {
	display: grid;
	gap: 9px;
	grid-template-columns: repeat(3, 1fr);
}

.stsp-actions button {
	background: #eef2f7;
	border: 0;
	border-radius: 12px;
	color: #253044;
	min-height: 52px;
}

#stsp-complete-sale {
	background: linear-gradient(135deg, #0f7a3d, #1f8a78);
	color: #fff;
}

#stsp-clear-cart {
	background: #fcebea;
	color: #8a1f11;
}

.stsp-status {
	background: #e9f7ef;
	border: 1px solid #9fd9b4;
	border-radius: 999px;
	color: #116329;
	font-weight: 900;
	padding: 7px 11px;
}

.stsp-status-muted {
	background: #eef2f7;
	border-color: #d6dce5;
	color: #253044;
}

.stsp-status.is-offline,
.stsp-status.is-warning {
	background: #fff4e5;
	border-color: #f4bf75;
	color: #8a4b00;
}

.stsp-message {
	border-radius: 10px;
	margin-top: 10px;
	padding: 10px 12px;
}

.stsp-message:empty {
	display: none;
}

.stsp-message.is-success {
	background: #e9f7ef;
	color: #116329;
}

.stsp-message.is-warning,
.stsp-message.is-info {
	background: #fff4e5;
	color: #8a4b00;
}

.stsp-message.is-error {
	background: #fcebea;
	color: #8a1f11;
}

.stsp-empty-state,
.stsp-loading {
	align-items: center;
	background: #f8fafc;
	border: 1px dashed #c8d0dc;
	border-radius: 12px;
	color: #647084;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 130px;
	padding: 18px;
	text-align: center;
}

.stsp-empty-state::before {
	background: url("../images/pos-empty-state.jpg") center / contain no-repeat;
	content: "";
	display: block;
	height: 118px;
	margin-bottom: 8px;
	width: min(190px, 70%);
}

.stsp-empty-state strong {
	color: #253044;
	font-size: 16px;
	margin-bottom: 5px;
}

.stsp-print-receipt,
.stsp-cart-backdrop {
	display: none;
	pointer-events: none;
}

@media (max-width: 1100px) {
	.stsp-cashier-workspace {
		grid-template-columns: 1fr;
	}

	.stsp-cashier-cart {
		position: static;
	}
}

@media (max-width: 782px) {
	.stsp-cashier-top,
	.stsp-cashier-session,
	.stsp-cashier-search {
		align-items: stretch;
		flex-direction: column;
		grid-template-columns: 1fr;
	}

	.stsp-cashier-session {
		justify-content: flex-start;
	}

	.stsp-mobile-cart-toggle,
	.stsp-cart-close {
		display: inline-flex;
		justify-content: center;
	}

	.stsp-cashier-cart {
		border-radius: 16px 16px 0 0;
		bottom: 0;
		box-shadow: 0 -14px 34px rgba(10, 20, 35, 0.24);
		left: 0;
		max-height: 88vh;
		overflow: auto;
		position: fixed;
		right: 0;
		transform: translateY(110%);
		transition: transform 180ms ease;
		z-index: 100100;
	}

	.stsp-cart-open .stsp-cashier-cart {
		transform: translateY(0);
	}

	.stsp-cart-backdrop {
		background: rgba(8, 18, 31, 0.45);
		display: none;
		inset: 0;
		pointer-events: auto;
		position: fixed;
		z-index: 100090;
	}

	.stsp-cart-open .stsp-cart-backdrop {
		display: block;
	}
}

@media (max-width: 640px) {
	.stsp-cart-controls,
	.stsp-payment-grid,
	.stsp-actions,
	.stsp-cart-item {
		grid-template-columns: 1fr;
	}
}

@media print {
	@page {
		margin: 4mm;
		size: 80mm 200mm;
	}

	html,
	body {
		background: #fff !important;
		height: auto !important;
		margin: 0 !important;
		overflow: visible !important;
		width: 80mm !important;
	}

	body * {
		background: transparent !important;
		box-shadow: none !important;
		visibility: hidden;
	}

	.stsp-login-centered,
	.stsp-cart-backdrop {
		display: none !important;
	}

	.stsp-print-receipt,
	.stsp-receipt,
	.stsp-receipt * {
		visibility: visible;
	}

	.stsp-print-receipt,
	.stsp-receipt {
		background: #fff;
		box-sizing: border-box;
		color: #000;
		display: block !important;
		font-family: "Courier New", Courier, monospace;
		font-size: 11px;
		left: 0;
		line-height: 1.28;
		padding: 0;
		position: absolute;
		top: 0;
		width: 72mm;
	}

	.stsp-receipt h2 {
		font-family: Arial, sans-serif;
		font-size: 13px;
		font-weight: 700;
		line-height: 1.15;
		margin: 0 0 2mm;
		text-align: center;
	}

	.stsp-receipt-text {
		color: #000 !important;
		display: block !important;
		font-family: inherit !important;
		font-size: inherit !important;
		line-height: 1.25 !important;
		margin: 0 !important;
		overflow: visible !important;
		white-space: pre-wrap !important;
		word-break: normal !important;
	}

	.stsp-receipt-logo {
		text-align: center;
	}

	.stsp-receipt-logo img {
		display: inline-block !important;
		height: auto;
		margin: 0 auto 2mm;
		max-width: 26mm;
		object-fit: contain;
	}

	.stsp-receipt p,
	.stsp-receipt pre {
		margin: 0;
	}

	.stsp-receipt-info,
	.stsp-receipt-thanks {
		line-height: 1.25;
		text-align: center;
		overflow-wrap: anywhere;
	}

	.stsp-receipt-separator {
		border-top: 1px dashed #000;
		display: block !important;
		height: 0;
		margin: 2mm 0;
	}

	.stsp-receipt-meta,
	.stsp-receipt-total-row {
		align-items: flex-start;
		display: flex !important;
		gap: 2mm;
		justify-content: space-between;
		margin: 0.6mm 0;
	}

	.stsp-receipt-meta span,
	.stsp-receipt-total-row span {
		flex: 0 0 auto;
	}

	.stsp-receipt-meta strong,
	.stsp-receipt-total-row strong {
		display: block !important;
		font-weight: 700;
		min-width: 0;
		text-align: right;
		overflow-wrap: anywhere;
	}

	.stsp-receipt-items {
		display: block !important;
	}

	.stsp-receipt-item {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 1mm 2mm;
		padding: 1mm 0;
	}

	.stsp-receipt-item-name {
		display: block !important;
		font-weight: 700;
		grid-column: 1 / -1;
		overflow-wrap: anywhere;
	}

	.stsp-receipt-item-meta {
		color: #000;
		display: block !important;
	}

	.stsp-receipt-item-total {
		display: block !important;
		text-align: right;
		white-space: nowrap;
	}

	.stsp-receipt-total-row.is-grand-total {
		border-top: 1px solid #000;
		font-size: 13px;
		font-weight: 700;
		margin-top: 1.5mm;
		padding-top: 1.5mm;
		text-transform: uppercase;
	}

	.stsp-receipt-thanks {
		margin-top: 3mm !important;
	}
}

/* STS-POS final visual system */
body:has(.stsp-login-split),
body:has(.stsp-pos-app) {
	margin: 0;
}

.stsp-login-split {
	background: #eef6ff;
	display: grid;
	grid-template-columns: minmax(420px, 1.05fr) minmax(420px, 0.95fr);
	min-height: 100vh;
	padding: 0;
}

.stsp-login-hero {
	background:
		linear-gradient(90deg, rgba(2, 13, 31, 0.92), rgba(2, 13, 31, 0.58) 46%, rgba(2, 13, 31, 0.15)),
		url("../images/cashier-login-bg.jpg") center / cover no-repeat;
	color: #fff;
	min-height: 100vh;
	padding: 56px;
	position: relative;
}

.stsp-login-hero-content {
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: space-between;
	max-width: 760px;
}

.stsp-brand-row {
	align-items: center;
	display: flex;
	gap: 18px;
}

.stsp-app-icon {
	align-items: center;
	background: linear-gradient(135deg, #0f52d9, #2f82ff);
	border-radius: 14px;
	box-shadow: 0 18px 38px rgba(0, 95, 255, 0.32);
	display: inline-flex;
	font-size: 34px;
	height: 72px;
	justify-content: center;
	width: 72px;
}

.stsp-brand-row h1 {
	color: #fff;
	font-size: 58px;
	font-weight: 950;
	letter-spacing: 0;
	line-height: 0.95;
	margin: 0;
}

.stsp-brand-row h1 strong,
.stsp-login-brand h2 strong,
.stsp-pos-brand b {
	color: #2f82ff;
}

.stsp-brand-row p {
	font-size: 27px;
	font-weight: 800;
	margin: 8px 0 0;
}

.stsp-login-tagline {
	align-items: center;
	display: flex;
	font-size: 22px;
	font-weight: 900;
	gap: 14px;
	letter-spacing: 1px;
	margin-top: 22px;
	text-transform: uppercase;
}

.stsp-login-tagline i {
	background: #2f82ff;
	border-radius: 50%;
	height: 7px;
	width: 7px;
}

.stsp-feature-strip {
	backdrop-filter: blur(16px);
	background: rgba(5, 28, 62, 0.76);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 18px;
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(3, 1fr);
	padding: 24px;
}

.stsp-feature-strip div {
	display: grid;
	gap: 5px;
	grid-template-columns: 44px 1fr;
}

.stsp-feature-strip span {
	align-items: center;
	background: #1467ed;
	border-radius: 10px;
	display: flex;
	grid-row: span 2;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.stsp-feature-strip strong {
	font-size: 16px;
}

.stsp-feature-strip p {
	color: rgba(255, 255, 255, 0.82);
	margin: 0;
}

.stsp-login-panel {
	align-items: center;
	background:
		radial-gradient(circle at 85% 10%, rgba(47, 130, 255, 0.16), transparent 34%),
		#eef6ff;
	display: flex;
	justify-content: center;
	padding: 46px;
	position: relative;
}

.stsp-language-pill {
	background: #fff;
	border: 1px solid #d9e4f1;
	border-radius: 10px;
	box-shadow: 0 8px 22px rgba(15, 35, 60, 0.06);
	font-weight: 800;
	padding: 10px 18px;
	position: absolute;
	right: 44px;
	top: 24px;
}

.stsp-login-panel .stsp-login-card {
	border-radius: 18px;
	box-shadow: 0 28px 80px rgba(15, 35, 60, 0.12);
	max-width: 620px;
	padding: 48px;
}

.stsp-login-panel .stsp-login-brand {
	display: block;
	text-align: center;
}

.stsp-login-panel .stsp-app-icon {
	font-size: 32px;
	height: 86px;
	margin-bottom: 18px;
	width: 86px;
}

.stsp-login-brand h2 {
	color: #071936;
	font-size: 46px;
	font-weight: 950;
	letter-spacing: 0;
	line-height: 1;
	margin: 4px 0;
}

.stsp-login-brand small {
	color: #647084;
	font-size: 17px;
}

.stsp-login-form label span {
	color: #647084;
	display: block;
	font-weight: 800;
	margin-bottom: 7px;
}

.stsp-login-form input:not([type="checkbox"]) {
	font-size: 18px;
	min-height: 58px;
}

.stsp-login-options {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin: 8px 0 22px;
}

.stsp-login-options a {
	color: #0f67e9;
	font-weight: 800;
	text-decoration: none;
}

.stsp-login-divider {
	align-items: center;
	color: #647084;
	display: flex;
	gap: 16px;
	margin: 28px 0;
}

.stsp-login-divider::before,
.stsp-login-divider::after {
	background: #d9e4f1;
	content: "";
	flex: 1;
	height: 1px;
}

.stsp-quick-login {
	align-items: center;
	background: #fff;
	border: 1px solid #d2ddea;
	border-radius: 10px;
	color: #071936;
	display: flex;
	font-weight: 900;
	justify-content: center;
	min-height: 54px;
	text-decoration: none;
}

.stsp-secure-note {
	align-items: center;
	background: #eef6ff;
	border-radius: 12px;
	display: flex;
	gap: 14px;
	margin-top: 28px;
	padding: 18px;
}

.stsp-secure-note span {
	font-size: 28px;
}

.stsp-secure-note p {
	color: #647084;
	margin: 0;
}

.stsp-secure-note strong {
	color: #071936;
	display: block;
}

.stsp-pos-app {
	background: #f5f9ff;
	display: grid;
	grid-template-columns: clamp(230px, 15vw, 290px) minmax(0, 1fr);
	height: 100dvh;
	min-height: 100dvh;
	overflow: hidden;
	padding: 0;
	width: 100%;
	zoom: var(--stsp-ui-zoom, 1);
}

.stsp-pos-sidebar {
	background: linear-gradient(180deg, #061a36, #031021);
	color: #fff;
	display: flex;
	flex-direction: column;
	gap: clamp(14px, 2vh, 24px);
	overflow-y: auto;
	padding: clamp(14px, 2vh, 24px) 14px;
}

.stsp-pos-brand {
	align-items: center;
	display: flex;
	gap: 12px;
	padding: 0 4px;
}

.stsp-pos-brand .stsp-app-icon {
	font-size: 24px;
	height: 42px;
	width: 42px;
}

.stsp-pos-brand strong {
	font-size: 24px;
	line-height: 1;
}

.stsp-pos-brand small {
	color: rgba(255, 255, 255, 0.68);
	display: block;
	margin-top: 4px;
}

.stsp-pos-nav {
	display: grid;
	gap: 8px;
}

.stsp-pos-nav a {
	align-items: center;
	border-radius: 9px;
	color: #fff;
	display: flex;
	font-size: clamp(14px, 0.9vw, 16px);
	font-weight: 800;
	gap: 12px;
	min-height: clamp(40px, 5vh, 46px);
	padding: 10px 12px;
	text-decoration: none;
}

.stsp-pos-nav a.is-active {
	background: linear-gradient(135deg, #0f67e9, #1467ed);
	box-shadow: 0 12px 26px rgba(20, 103, 237, 0.3);
}

.stsp-pos-nav em {
	background: #1467ed;
	border-radius: 999px;
	font-style: normal;
	margin-left: auto;
	padding: 2px 8px;
}

.stsp-cashbox-card {
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	margin-top: auto;
	padding: 18px;
}

.stsp-dot {
	background: #17c964;
	border-radius: 50%;
	display: inline-block;
	height: 9px;
	margin-right: 7px;
	width: 9px;
}

.stsp-cashbox-card p,
.stsp-cashbox-card small {
	color: rgba(255, 255, 255, 0.78);
	display: block;
	margin: 8px 0;
}

.stsp-cashbox-card label {
	color: rgba(255, 255, 255, 0.6);
	display: block;
	margin-top: 14px;
}

.stsp-cashbox-card b {
	color: #fff;
	display: block;
	font-size: 17px;
	margin-top: 4px;
}

.stsp-cashbox-card button {
	background: #1467ed;
	border: 0;
	border-radius: 9px;
	color: #fff;
	margin-top: 18px;
	min-height: 44px;
	width: 100%;
}

.stsp-pos-main {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	min-height: 0;
	min-width: 0;
	overflow: hidden;
}

.stsp-pos-app .stsp-cashier-top {
	background: #fff;
	border: 0;
	border-bottom: 1px solid #dfe8f3;
	border-radius: 0;
	margin: 0;
	padding: 16px 22px;
}

.stsp-pos-app .stsp-cashier-search {
	flex: 1;
	grid-template-columns: minmax(260px, 1fr) 54px auto;
	margin: 0;
	max-width: 760px;
}

.stsp-user-chip {
	display: grid;
	font-weight: 900;
	line-height: 1.15;
}

.stsp-user-chip small {
	color: #647084;
	font-weight: 700;
}

.stsp-zoom-controls {
	align-items: center;
	background: #f4f7fb;
	border: 1px solid #d9e4f1;
	border-radius: 999px;
	display: inline-flex;
	gap: 3px;
	min-height: 36px;
	padding: 3px;
	white-space: nowrap;
}

.stsp-zoom-controls button {
	align-items: center;
	background: #fff;
	border: 1px solid #dbe5f0;
	border-radius: 999px;
	color: #17365d;
	cursor: pointer;
	display: inline-flex;
	font-size: 16px;
	font-weight: 900;
	height: 28px;
	justify-content: center;
	line-height: 1;
	min-height: 28px;
	padding: 0;
	width: 28px;
}

.stsp-zoom-controls span {
	color: #344054;
	font-size: 12px;
	font-weight: 800;
	min-width: 42px;
	text-align: center;
}

.stsp-pos-app .stsp-cashier-workspace {
	gap: clamp(10px, 1.1vw, 16px);
	grid-template-columns: minmax(0, 1fr) minmax(360px, clamp(380px, 31vw, 500px));
	padding: clamp(12px, 1.35vw, 22px);
}

.stsp-cashier-view {
	display: none;
	min-width: 0;
	overflow: auto;
	padding: 24px;
}

.stsp-cashier-view.is-active {
	display: block;
}

.stsp-cashier-workspace.stsp-cashier-view.is-active {
	display: grid;
	min-height: 0;
	overflow: hidden;
}

.stsp-view-head {
	align-items: flex-end;
	display: flex;
	gap: 14px;
	justify-content: space-between;
	margin-bottom: 18px;
	min-width: 0;
}

.stsp-view-head h2 {
	color: #071936;
	font-size: 28px;
	letter-spacing: 0;
	margin: 0;
}

.stsp-view-head p {
	color: #647084;
	margin: 6px 0 0;
	max-width: 100%;
	overflow-wrap: anywhere;
	text-align: right;
}

.stsp-view-kpis {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	margin-bottom: 18px;
}

.stsp-view-kpis div,
.stsp-view-card,
.stsp-view-list {
	background: #fff;
	border: 1px solid #dfe8f3;
	border-radius: 14px;
	box-shadow: 0 12px 30px rgba(15, 35, 60, 0.06);
	padding: 18px;
}

.stsp-view-kpis span {
	color: #647084;
	display: block;
	font-weight: 900;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.stsp-view-kpis strong {
	color: #071936;
	font-size: 24px;
}

.stsp-view-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stsp-view-card h3 {
	color: #071936;
	margin: 0 0 14px;
}

.stsp-app-chart div {
	align-items: end;
	background: linear-gradient(180deg, #f8fbff, #eef6ff);
	border-radius: 12px;
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(7, 1fr);
	height: 220px;
	padding: 18px;
}

.stsp-app-chart span {
	background: linear-gradient(180deg, #1467ed, rgba(20, 103, 237, 0.22));
	border-radius: 999px 999px 0 0;
	min-height: 28px;
}

.stsp-app-chart span:nth-child(1) { height: 25%; }
.stsp-app-chart span:nth-child(2) { height: 55%; }
.stsp-app-chart span:nth-child(3) { height: 38%; }
.stsp-app-chart span:nth-child(4) { height: 80%; }
.stsp-app-chart span:nth-child(5) { height: 66%; }
.stsp-app-chart span:nth-child(6) { height: 92%; }
.stsp-app-chart span:nth-child(7) { height: 44%; }

.stsp-view-row {
	align-items: center;
	border-bottom: 1px solid #edf2f7;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(0, 1fr) auto auto;
	padding: 13px 0;
}

.stsp-view-row:last-child {
	border-bottom: 0;
}

.stsp-view-row strong {
	color: #071936;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.stsp-view-row span {
	color: #647084;
}

.stsp-view-row b {
	color: #1467ed;
}

.stsp-view-row button {
	background: #1467ed;
	border: 0;
	border-radius: 9px;
	color: #fff;
	min-height: 38px;
	padding: 8px 12px;
}

.stsp-pos-app .stsp-cashier-products,
.stsp-pos-app .stsp-cashier-cart {
	border-radius: 12px;
}

.stsp-pos-app .stsp-product-grid {
	height: 100%;
	grid-template-columns: repeat(auto-fill, minmax(142px, 1fr));
	max-height: none;
	min-height: 0;
	overflow: auto;
}

.stsp-pos-app .stsp-cashier-products {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	min-height: 0;
}

.stsp-pos-app .stsp-cashier-cart {
	max-height: calc(100dvh - 112px);
	overflow: auto;
}

.stsp-product-visual {
	align-items: center;
	display: flex !important;
	height: clamp(72px, 10vh, 98px);
	justify-content: center;
	margin-bottom: 10px;
}

.stsp-product-visual img {
	max-height: 96px;
	max-width: 100%;
	object-fit: contain;
}

.stsp-product-visual i {
	font-size: 42px;
	font-style: normal;
	opacity: 0.55;
}

.stsp-pos-app .stsp-product-card {
	color: #071936;
	min-height: clamp(188px, 24vh, 230px);
	overflow: hidden;
}

.stsp-pos-app .stsp-product-card strong {
	color: #071936;
	display: -webkit-box;
	font-size: clamp(13px, 0.95vw, 15px);
	line-height: 1.18;
	min-height: 2.36em;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.stsp-pos-app .stsp-product-card .stsp-product-meta {
	color: #647084;
	font-size: 12px;
	font-weight: 800;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.stsp-pos-app .stsp-cart-head {
	border-bottom: 1px solid #e1e8f2;
	margin-bottom: 10px;
	padding-bottom: 10px;
}

.stsp-empty-cart-button {
	background: #fff2f2;
	border: 1px solid #ffcaca;
	border-radius: 8px;
	color: #e11d48;
	padding: 8px 11px;
}

.stsp-pos-app .stsp-actions {
	grid-template-columns: 1fr 1fr;
}

.stsp-pos-app #stsp-complete-sale {
	font-size: 17px;
	grid-column: 1 / -1;
	min-height: 58px;
}

.stsp-pos-app .stsp-payment-shortcuts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 12px;
}

.stsp-pos-app .stsp-payment-grid {
	display: none;
}

.stsp-shortcuts-bar {
	align-items: center;
	background: #fff;
	border-top: 1px solid #dfe8f3;
	display: flex;
	gap: 18px;
	overflow-x: auto;
	padding: 12px 22px;
}

.stsp-shortcuts-bar span {
	background: #f7fbff;
	border: 1px solid #d9e4f1;
	border-radius: 8px;
	color: #43516a;
	font-weight: 800;
	padding: 6px 12px;
	white-space: nowrap;
}

@media (max-width: 1200px) {
	.stsp-login-split {
		grid-template-columns: 1fr;
	}

	.stsp-login-hero {
		min-height: 520px;
	}

	.stsp-pos-app {
		grid-template-columns: 1fr;
		overflow: auto;
	}

	.stsp-pos-sidebar {
		display: none;
	}

	.stsp-pos-app .stsp-cashier-workspace {
		grid-template-columns: 1fr;
		overflow: auto;
	}

	.stsp-pos-app .stsp-cashier-cart {
		border-radius: 16px 16px 0 0;
		bottom: 0;
		box-shadow: 0 -14px 34px rgba(10, 20, 35, 0.24);
		left: 0;
		max-height: 88dvh;
		overflow: auto;
		position: fixed;
		right: 0;
		transform: translateY(110%);
		transition: transform 180ms ease;
		z-index: 100100;
	}

	.stsp-cart-open .stsp-pos-app .stsp-cashier-cart {
		transform: translateY(0);
	}

	.stsp-pos-app .stsp-mobile-cart-toggle,
	.stsp-pos-app .stsp-cart-close {
		display: inline-flex;
		justify-content: center;
	}

	.stsp-pos-app .stsp-cart-backdrop {
		background: rgba(8, 18, 31, 0.45);
		display: none;
		inset: 0;
		pointer-events: auto;
		position: fixed;
		z-index: 100090;
	}

	.stsp-cart-open .stsp-pos-app .stsp-cart-backdrop {
		display: block;
	}

	.stsp-view-kpis,
	.stsp-view-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1201px) and (max-width: 1500px) {
	.stsp-cashbox-card {
		padding: 14px;
	}

	.stsp-pos-app .stsp-cashier-top {
		padding: 12px 16px;
	}

	.stsp-pos-app .stsp-cashier-search {
		grid-template-columns: minmax(220px, 1fr) 48px auto;
		max-width: 620px;
	}

	.stsp-cashier-session {
		gap: 7px;
	}

	.stsp-status,
	.stsp-cashier-session a {
		padding: 6px 9px;
	}

	.stsp-shortcuts-bar {
		padding: 9px 16px;
	}
}

@media (max-width: 720px) {
	.stsp-login-hero,
	.stsp-login-panel {
		padding: 24px;
	}

	.stsp-brand-row h1 {
		font-size: 42px;
	}

	.stsp-feature-strip {
		grid-template-columns: 1fr;
	}

	.stsp-login-panel .stsp-login-card {
		padding: 30px 20px;
	}

	.stsp-login-options {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.stsp-pos-app .stsp-cashier-workspace,
	.stsp-pos-app .stsp-cashier-top {
		padding: 14px;
	}

	.stsp-cashier-view,
	.stsp-view-kpis,
	.stsp-view-grid,
	.stsp-view-row {
		grid-template-columns: 1fr;
	}

	.stsp-cashier-view {
		padding: 14px;
	}
}

/* Centered cashier login welcome screen */
.stsp-login-centered {
	align-items: center;
	background:
		radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.55) 34%, transparent 58%),
		linear-gradient(150deg, rgba(232, 244, 255, 0.9), rgba(255, 255, 255, 0.96) 44%, rgba(225, 240, 255, 0.94)),
		url("../images/cashier-login-bg.jpg") center / cover no-repeat;
	display: flex;
	justify-content: center;
	min-height: 100dvh;
	padding: 90px 22px 72px;
	position: relative;
}

.stsp-login-centered::before {
	background:
		radial-gradient(circle at 14% 82%, rgba(20, 103, 237, 0.08), transparent 32%),
		linear-gradient(150deg, transparent 56%, rgba(255, 255, 255, 0.72) 57%, transparent 72%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.stsp-login-centered .stsp-language-pill {
	position: fixed;
	right: 40px;
	top: 28px;
	z-index: 3;
}

.stsp-login-centered .stsp-login-card {
	border: 1px solid #dce6f2;
	border-radius: 18px;
	box-shadow: 0 28px 80px rgba(15, 35, 60, 0.1);
	max-width: 560px;
	padding: 46px 44px;
	z-index: 2;
}

.stsp-login-centered .stsp-login-card::before {
	display: none;
}

.stsp-login-centered .stsp-login-brand {
	display: grid;
	justify-items: center;
	margin-bottom: 24px;
	text-align: center;
}

.stsp-login-centered .stsp-app-icon {
	font-size: 36px;
	height: 92px;
	margin-bottom: 14px;
	width: 92px;
}

.stsp-login-centered .stsp-login-brand h1 {
	color: #071936;
	font-size: 50px;
	font-weight: 950;
	letter-spacing: 0;
	line-height: 1;
	margin: 0;
}

.stsp-login-centered .stsp-login-brand h1 strong {
	color: #2f82ff;
}

.stsp-login-centered .stsp-login-brand p {
	color: #647084;
	font-size: 18px;
	font-weight: 700;
	margin: 6px 0 0;
}

.stsp-login-welcome {
	margin-bottom: 28px;
	text-align: center;
}

.stsp-login-welcome h2 {
	color: #071936;
	font-size: 26px;
	font-weight: 950;
	letter-spacing: 0;
	margin: 0 0 8px;
}

.stsp-login-welcome p {
	color: #647084;
	font-size: 16px;
	margin: 0;
}

.stsp-login-centered .stsp-login-form label {
	margin-bottom: 14px;
}

.stsp-field-with-icon {
	align-items: center;
	border: 1px solid #d5dde8;
	border-radius: 10px;
	display: grid !important;
	gap: 10px;
	grid-template-columns: 28px 1fr;
	min-height: 56px;
	padding: 0 14px;
}

.stsp-field-with-icon:focus-within {
	border-color: #2f82ff;
	box-shadow: 0 0 0 3px rgba(47, 130, 255, 0.14);
}

.stsp-field-with-icon span {
	color: #647084;
	font-size: 20px;
	text-align: center;
}

.stsp-login-centered .stsp-field-with-icon input {
	background: transparent;
	border: 0;
	box-shadow: none;
	font-size: 16px;
	margin: 0;
	min-height: 54px;
	padding: 0;
}

.stsp-login-centered .stsp-login-options {
	margin: 14px 0 22px;
}

.stsp-login-centered .stsp-login-button {
	background: linear-gradient(135deg, #0f67e9, #1467ed);
	border-radius: 10px;
	box-shadow: 0 14px 26px rgba(20, 103, 237, 0.2);
	min-height: 56px;
}

.stsp-login-centered .stsp-quick-login {
	min-height: 52px;
}

.stsp-login-page-footer {
	bottom: 26px;
	color: #647084;
	left: 50%;
	position: absolute;
	text-align: center;
	transform: translateX(-50%);
	width: min(560px, calc(100% - 32px));
	z-index: 2;
}

.stsp-login-page-footer p {
	margin: 0 0 6px;
}

.stsp-login-page-footer span {
	display: block;
}

@media (max-width: 720px) {
	.stsp-login-centered {
		padding: 92px 16px 86px;
	}

	.stsp-login-centered .stsp-language-pill {
		right: 16px;
		top: 18px;
	}

	.stsp-login-centered .stsp-login-card {
		padding: 34px 20px;
	}

	.stsp-login-centered .stsp-login-brand h1 {
		font-size: 40px;
	}
}

body.stsp-fullscreen-page .stsp-cashier-shell {
	inset: 0;
	margin: 0 !important;
	max-width: none !important;
	width: 100%;
}

body.stsp-fullscreen-page .stsp-login-centered,
body.stsp-fullscreen-page .stsp-pos-app {
	min-height: 100dvh;
}

body.stsp-fullscreen-page .stsp-pos-app {
	height: 100dvh;
}

body.stsp-fullscreen-page.stsp-fullscreen-cashier,
body.stsp-fullscreen-page.stsp-fullscreen-login {
	overflow: hidden !important;
}

body.stsp-fullscreen-page.stsp-fullscreen-cashier .stsp-pos-app,
body.stsp-fullscreen-page.stsp-fullscreen-login .stsp-login-centered {
	bottom: 0;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	width: auto;
	z-index: 99990;
}

body.admin-bar.stsp-fullscreen-page.stsp-fullscreen-cashier .stsp-pos-app,
body.admin-bar.stsp-fullscreen-page.stsp-fullscreen-login .stsp-login-centered {
	height: calc(100dvh - 32px);
	min-height: calc(100dvh - 32px);
	top: 32px;
}

body:has(.stsp-pos-app),
body:has(.stsp-login-centered) {
	overflow: hidden !important;
}

body:has(.stsp-pos-app) #page,
body:has(.stsp-pos-app) #content,
body:has(.stsp-pos-app) .site,
body:has(.stsp-pos-app) .site-content,
body:has(.stsp-pos-app) .content-area,
body:has(.stsp-pos-app) .site-main,
body:has(.stsp-pos-app) .container,
body:has(.stsp-pos-app) .ast-container,
body:has(.stsp-pos-app) .elementor,
body:has(.stsp-pos-app) .elementor-section,
body:has(.stsp-pos-app) .elementor-container,
body:has(.stsp-pos-app) .elementor-column,
body:has(.stsp-pos-app) .elementor-widget-wrap,
body:has(.stsp-pos-app) .elementor-widget-container,
body:has(.stsp-pos-app) .elementor-widget-shortcode,
body:has(.stsp-login-centered) #page,
body:has(.stsp-login-centered) #content,
body:has(.stsp-login-centered) .site,
body:has(.stsp-login-centered) .site-content,
body:has(.stsp-login-centered) .content-area,
body:has(.stsp-login-centered) .site-main,
body:has(.stsp-login-centered) .container,
body:has(.stsp-login-centered) .ast-container,
body:has(.stsp-login-centered) .elementor,
body:has(.stsp-login-centered) .elementor-section,
body:has(.stsp-login-centered) .elementor-container,
body:has(.stsp-login-centered) .elementor-column,
body:has(.stsp-login-centered) .elementor-widget-wrap,
body:has(.stsp-login-centered) .elementor-widget-container,
body:has(.stsp-login-centered) .elementor-widget-shortcode {
	margin: 0 !important;
	max-width: none !important;
	padding: 0 !important;
	width: 100% !important;
}

body:has(.stsp-pos-app) .stsp-pos-app,
body:has(.stsp-login-centered) .stsp-login-centered {
	bottom: 0;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	width: auto;
	z-index: 99990;
}

body.admin-bar:has(.stsp-pos-app) .stsp-pos-app,
body.admin-bar:has(.stsp-login-centered) .stsp-login-centered {
	height: calc(100dvh - 32px);
	min-height: calc(100dvh - 32px);
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar.stsp-fullscreen-page.stsp-fullscreen-cashier .stsp-pos-app,
	body.admin-bar.stsp-fullscreen-page.stsp-fullscreen-login .stsp-login-centered {
		height: calc(100dvh - 46px);
		min-height: calc(100dvh - 46px);
		top: 46px;
	}

	body.admin-bar:has(.stsp-pos-app) .stsp-pos-app,
	body.admin-bar:has(.stsp-login-centered) .stsp-login-centered {
		height: calc(100dvh - 46px);
		min-height: calc(100dvh - 46px);
		top: 46px;
	}
}

/* Requested login screen final override. */
.stsp-login-photo {
	align-items: center !important;
	background:
		linear-gradient(rgba(7, 27, 58, 0.35), rgba(7, 27, 58, 0.35)),
		url("../images/cashier-login-bg.jpg") center / cover no-repeat !important;
	color: #071b3a;
	display: flex !important;
	justify-content: center !important;
	padding: 24px !important;
}

.stsp-login-photo::before {
	backdrop-filter: blur(8px);
	background: transparent !important;
	content: "";
	inset: 0;
	position: fixed;
	z-index: 0;
}

.stsp-login-photo .stsp-language-pill {
	background: #fff !important;
	border: 1px solid #e4e7ec !important;
	border-radius: 12px !important;
	box-shadow: 0 8px 24px rgba(7, 27, 58, 0.08) !important;
	color: #071b3a !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	padding: 12px 18px !important;
	position: absolute !important;
	right: 36px !important;
	top: 28px !important;
	z-index: 2 !important;
}

.stsp-login-photo .stsp-login-card {
	background: rgba(255, 255, 255, 0.96) !important;
	border: 1px solid rgba(255, 255, 255, 0.8) !important;
	border-radius: 22px !important;
	box-shadow: 0 24px 70px rgba(7, 27, 58, 0.2) !important;
	max-width: 520px !important;
	padding: 44px 46px 34px !important;
	text-align: center !important;
	width: 100% !important;
	z-index: 1 !important;
}

.stsp-login-photo .stsp-login-card::before {
	display: none !important;
}

.stsp-login-photo .stsp-login-brand {
	display: block !important;
	margin-bottom: 0 !important;
	text-align: center !important;
}

.stsp-login-photo .stsp-app-icon {
	background: #0b5cff !important;
	border-radius: 18px !important;
	box-shadow: 0 10px 24px rgba(11, 92, 255, 0.28) !important;
	font-size: 34px !important;
	height: 72px !important;
	margin: 0 auto 18px !important;
	width: 72px !important;
}

.stsp-login-photo .stsp-login-brand h1 {
	color: #071b3a !important;
	font-size: 44px !important;
	font-weight: 800 !important;
	letter-spacing: -1px !important;
	line-height: 1 !important;
	margin: 0 !important;
}

.stsp-login-photo .stsp-login-brand h1 strong {
	color: #0b5cff !important;
}

.stsp-login-photo .stsp-login-brand p,
.stsp-login-photo .stsp-login-welcome p {
	color: #667085 !important;
}

.stsp-login-photo .stsp-login-welcome {
	margin: 28px 0 0 !important;
	text-align: center !important;
}

.stsp-login-photo .stsp-login-welcome h2 {
	color: #071b3a !important;
	font-size: 25px !important;
	font-weight: 750 !important;
	margin: 0 !important;
}

.stsp-login-photo .stsp-login-form {
	margin-top: 30px !important;
	text-align: left !important;
}

.stsp-login-photo .stsp-field-with-icon {
	background: #fff !important;
	border: 1px solid #d0d5dd !important;
	border-radius: 12px !important;
	display: flex !important;
	gap: 12px !important;
	height: 56px !important;
	margin-bottom: 16px !important;
	padding: 0 16px !important;
}

.stsp-login-photo .stsp-field-with-icon input {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: #071b3a !important;
	font-size: 15px !important;
	margin: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
}

.stsp-login-photo .stsp-login-button {
	background: #0b5cff !important;
	border-radius: 12px !important;
	box-shadow: 0 8px 18px rgba(11, 92, 255, 0.24) !important;
	height: 56px !important;
	min-height: 56px !important;
}

.stsp-login-photo .stsp-quick-login {
	background: #fff !important;
	border: 1px solid #d0d5dd !important;
	border-radius: 12px !important;
	color: #071b3a !important;
	height: 56px !important;
}

.stsp-login-photo .stsp-login-page-footer {
	bottom: auto !important;
	color: #667085 !important;
	font-size: 13px !important;
	left: auto !important;
	line-height: 1.8 !important;
	margin-top: 30px !important;
	position: static !important;
	transform: none !important;
	width: auto !important;
}

@media (max-width: 600px) {
	.stsp-login-photo {
		padding: 18px !important;
	}

	.stsp-login-photo .stsp-language-pill {
		right: 16px !important;
		top: 16px !important;
	}

	.stsp-login-photo .stsp-login-card {
		margin-top: 50px !important;
		padding: 34px 24px 28px !important;
	}

	.stsp-login-photo .stsp-login-brand h1 {
		font-size: 36px !important;
	}
}

/* Professional UI final overrides. Keep this block last. */
.stsp-cashier-shell {
	--stsp-ink: #111827;
	--stsp-muted: #6b7280;
	--stsp-line: #d9e0ea;
	--stsp-panel: #fff;
	--stsp-primary: #17365d;
	--stsp-primary-hover: #0f2948;
	color: var(--stsp-ink);
}

html body:has(.stsp-cashier-shell),
.stsp-pos-app,
.stsp-cashier-pos,
.stsp-login-centered {
	background: #f3f6fa !important;
	background-image: none !important;
}

.stsp-pos-sidebar {
	background: #07182d !important;
	border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stsp-app-icon {
	background: #17365d !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	color: #fff;
	font-size: 12px !important;
	font-weight: 800;
}

.stsp-pos-nav {
	gap: 4px;
}

.stsp-pos-nav a {
	border-radius: 6px !important;
	color: rgba(255, 255, 255, 0.82);
	font-size: 14px;
	font-weight: 650;
	min-height: 40px;
	padding: 9px 10px;
}

.stsp-pos-nav a span {
	color: rgba(255, 255, 255, 0.48);
	font-size: 11px;
	font-variant-numeric: tabular-nums;
	width: 22px;
}

.stsp-pos-nav a:hover,
.stsp-pos-nav a.is-active {
	background: rgba(255, 255, 255, 0.08) !important;
	box-shadow: none !important;
	color: #fff;
}

.stsp-pos-nav a.is-active {
	border-left: 3px solid #60a5fa;
	padding-left: 7px;
}

.stsp-cashbox-card {
	background: rgba(255, 255, 255, 0.06) !important;
	border-color: rgba(255, 255, 255, 0.12) !important;
	border-radius: 8px !important;
}

.stsp-cashbox-card button,
#stsp-complete-sale,
.stsp-login-button,
.stsp-view-row button {
	background: var(--stsp-primary) !important;
	border-radius: 6px !important;
	box-shadow: none !important;
}

.stsp-cashbox-card button:hover,
#stsp-complete-sale:hover,
.stsp-login-button:hover,
.stsp-view-row button:hover {
	background: var(--stsp-primary-hover) !important;
}

.stsp-pos-app .stsp-cashier-top,
.stsp-cashier-top {
	background: #fff !important;
	background-image: none !important;
	border: 0 !important;
	border-bottom: 1px solid var(--stsp-line) !important;
	box-shadow: none !important;
}

.stsp-cashier-products,
.stsp-cashier-cart,
.stsp-view-kpis div,
.stsp-view-card,
.stsp-view-list {
	background: var(--stsp-panel) !important;
	border: 1px solid var(--stsp-line) !important;
	border-radius: 8px !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

.stsp-cashier-search input,
.stsp-cashier-search button,
.stsp-cashier-shell select,
.stsp-cashier-shell input {
	background: #fff;
	border-color: #cfd8e3;
	border-radius: 6px !important;
	box-shadow: none;
	font-size: 14px;
	min-height: 40px;
}

.stsp-cashier-search input:focus,
.stsp-cashier-shell select:focus,
.stsp-cashier-shell input:focus,
.stsp-field-with-icon:focus-within {
	border-color: #2f5f9f !important;
	box-shadow: 0 0 0 3px rgba(47, 95, 159, 0.12) !important;
}

.stsp-segmented button,
.stsp-payment-shortcuts button,
.stsp-actions button,
.stsp-empty-cart-button,
.stsp-shortcuts-bar span {
	background: #fff !important;
	border: 1px solid var(--stsp-line) !important;
	border-radius: 6px !important;
	color: #263445 !important;
	font-weight: 650;
}

.stsp-segmented button.is-active {
	background: #edf3fb !important;
	border-color: #b9cbe2 !important;
	color: var(--stsp-primary) !important;
}

.stsp-product-card {
	background: #fff !important;
	border-color: var(--stsp-line) !important;
	border-radius: 8px !important;
	box-shadow: none !important;
}

.stsp-product-card:hover,
.stsp-product-card:focus {
	border-color: #93a8c2 !important;
	box-shadow: 0 0 0 2px rgba(23, 54, 93, 0.08) !important;
	transform: none !important;
}

.stsp-product-type {
	background: #eef2f7 !important;
	border-radius: 4px !important;
	color: #475569 !important;
	font-size: 10px;
	letter-spacing: 0.02em;
}

.stsp-product-price {
	color: #0f6b3e !important;
	font-size: 16px !important;
}

.stsp-totals {
	background: #f8fafc !important;
	border-color: var(--stsp-line) !important;
	border-radius: 8px !important;
}

.stsp-totals div:nth-child(3) {
	color: var(--stsp-primary) !important;
	font-size: 20px;
}

.stsp-status {
	background: #eef8f2 !important;
	border-color: #b8dfc8 !important;
	color: #166534 !important;
	font-size: 12px;
	font-weight: 700;
}

.stsp-status-muted {
	background: #f4f6f8 !important;
	border-color: var(--stsp-line) !important;
	color: #475569 !important;
}

.stsp-view-head h2 {
	color: var(--stsp-ink);
	font-size: 24px;
	font-weight: 750;
}

.stsp-view-head p,
.stsp-user-chip small,
.stsp-product-meta,
.stsp-cart-name span,
.stsp-view-row span {
	color: var(--stsp-muted);
}

.stsp-view-kpis span {
	color: #64748b;
	font-size: 12px;
	letter-spacing: 0.02em;
}

.stsp-view-kpis strong {
	color: var(--stsp-ink);
	font-size: 22px;
}

.stsp-app-chart div {
	background: #f8fafc !important;
}

.stsp-app-chart span {
	background: #4f7db8 !important;
	border-radius: 3px 3px 0 0 !important;
}

.stsp-login-centered::before,
.stsp-login-shell,
.stsp-cashier-pos {
	background-image: none !important;
}

.stsp-login-centered .stsp-login-card,
.stsp-login-panel .stsp-login-card,
.stsp-login-card {
	border: 1px solid var(--stsp-line) !important;
	border-radius: 10px !important;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
}

.stsp-login-centered .stsp-login-brand h1 {
	font-size: 42px;
}

.stsp-login-welcome h2 {
	font-size: 22px;
}

/* Login requested screen final EOF override. */
.stsp-login-photo {
	background:
		linear-gradient(rgba(7, 27, 58, 0.35), rgba(7, 27, 58, 0.35)),
		url("../images/cashier-login-bg.jpg") center / cover no-repeat !important;
	padding: 24px !important;
}

.stsp-login-photo::before {
	backdrop-filter: blur(8px) !important;
	background: transparent !important;
	content: "" !important;
	display: block !important;
}

.stsp-login-photo .stsp-login-card {
	background: rgba(255, 255, 255, 0.96) !important;
	border: 1px solid rgba(255, 255, 255, 0.8) !important;
	border-radius: 22px !important;
	box-shadow: 0 24px 70px rgba(7, 27, 58, 0.2) !important;
	max-width: 520px !important;
	padding: 44px 46px 34px !important;
	text-align: center !important;
}

.stsp-login-photo .stsp-app-icon {
	background: #0b5cff !important;
	border-radius: 18px !important;
	box-shadow: 0 10px 24px rgba(11, 92, 255, 0.28) !important;
	font-size: 34px !important;
	height: 72px !important;
	margin: 0 auto 18px !important;
	width: 72px !important;
}

.stsp-login-photo .stsp-login-brand h1 {
	color: #071b3a !important;
	font-size: 44px !important;
	font-weight: 800 !important;
	letter-spacing: -1px !important;
}

.stsp-login-photo .stsp-login-brand h1 strong,
.stsp-login-photo .stsp-login-options a {
	color: #0b5cff !important;
}

.stsp-login-photo .stsp-login-button {
	background: #0b5cff !important;
	border-radius: 12px !important;
	box-shadow: 0 8px 18px rgba(11, 92, 255, 0.24) !important;
}

.stsp-login-photo .stsp-quick-login,
.stsp-login-photo .stsp-field-with-icon {
	border-radius: 12px !important;
}

/* Dashboard requested screen hard-final override. */
.stsp-dashboard-modern {
	padding: 28px 32px !important;
}

/* Language switcher. */
.stsp-language-pill,
.stsp-language-inline {
	align-items: center;
	display: inline-flex;
	gap: 8px;
}

.stsp-language-pill select,
.stsp-language-inline select {
	appearance: none;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	min-width: 88px;
	outline: 0;
	padding: 0 18px 0 0;
}

.stsp-language-pill,
.stsp-language-inline {
	position: relative;
}

.stsp-language-pill::after,
.stsp-language-inline::after {
	color: currentColor;
	content: "⌄";
	font-size: 14px;
	pointer-events: none;
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-54%);
}

.stsp-language-inline {
	background: #ffffff;
	border: 1px solid var(--stsp-line);
	border-radius: 999px;
	color: #334155;
	font-size: 13px;
	min-height: 38px;
	padding: 0 30px 0 12px;
}

.stsp-language-inline select {
	min-width: 76px;
	padding-right: 0;
}

.stsp-login-photo .stsp-language-pill {
	background: rgba(255, 255, 255, 0.92) !important;
	border: 1px solid rgba(148, 163, 184, 0.45) !important;
	color: #0f172a !important;
	padding-right: 32px !important;
}

.stsp-login-photo .stsp-language-pill select {
	color: #0f172a !important;
}

.stsp-cart-name b {
	color: #0f172a;
	display: block;
	font-size: 15px;
	font-weight: 800;
	margin-top: 4px;
	white-space: nowrap;
}

.stsp-receipt-barcode,
.stsp-receipt-barcode-text,
.stsp-receipt-business,
.stsp-receipt-company-lines {
	display: none;
}

/* Professional thermal receipt final print override. */
@media print {
	.stsp-pos-app {
		zoom: 1 !important;
	}

	.stsp-print-receipt,
	.stsp-receipt {
		background: #fff !important;
		color: #000 !important;
		display: block !important;
		font-family: inherit !important;
		font-variant-ligatures: none !important;
		font-weight: 600 !important;
		left: 0 !important;
		letter-spacing: 0 !important;
		line-height: 1.2 !important;
		margin: 0 !important;
		overflow: visible !important;
		padding: 0 !important;
		position: absolute !important;
		text-align: left !important;
		top: 0 !important;
		-webkit-print-color-adjust: exact !important;
		print-color-adjust: exact !important;
	}

	.stsp-receipt-text {
		color: #000 !important;
		display: block !important;
		font: inherit !important;
		line-height: 1.2 !important;
		margin: 0 !important;
		max-width: 100% !important;
		overflow: visible !important;
		padding: 0 !important;
		white-space: pre !important;
		word-break: normal !important;
	}

	.stsp-receipt-business {
		color: #000 !important;
		display: block !important;
		font-family: "Courier New", Courier, monospace !important;
		font-size: 16px !important;
		font-weight: 900 !important;
		letter-spacing: 0 !important;
		line-height: 1.1 !important;
		margin: 0 0 1mm !important;
		text-align: center !important;
		text-transform: uppercase !important;
	}

	.stsp-receipt-company-lines {
		color: #000 !important;
		display: block !important;
		font: inherit !important;
		line-height: 1.2 !important;
		margin: 0 !important;
		overflow: visible !important;
		padding: 0 !important;
		white-space: pre !important;
		word-break: normal !important;
	}

	.stsp-receipt-logo {
		display: block !important;
		margin: 0 0 0.5mm !important;
		overflow: hidden !important;
		text-align: center !important;
	}

	.stsp-receipt-logo img {
		display: inline-block !important;
		height: auto !important;
		margin: 0 !important;
		max-width: 70% !important;
		object-fit: contain !important;
	}

	.stsp-receipt-barcode {
		align-items: stretch !important;
		display: flex !important;
		height: 14mm !important;
		justify-content: center !important;
		margin: 3mm auto 1mm !important;
		max-width: 100% !important;
		overflow: hidden !important;
		width: 92% !important;
	}

	.stsp-receipt-barcode i {
		display: block !important;
		flex: 0 0 1px !important;
		height: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.stsp-receipt-barcode i.is-bar {
		background: #000 !important;
	}

	.stsp-receipt-barcode i.is-gap {
		background: #fff !important;
	}

	.stsp-receipt-barcode-text {
		color: #000 !important;
		display: block !important;
		font-family: "Courier New", Courier, monospace !important;
		font-size: 10px !important;
		font-weight: 700 !important;
		letter-spacing: 0 !important;
		text-align: center !important;
	}
}

@media (max-width: 720px) {
	.stsp-language-inline {
		width: 100%;
	}
}

/* Cashier dashboard requested classic SaaS layout. */
.stsp-caisse-dashboard {
	--caisse-blue: #0b5cff;
	--caisse-navy: #071b3a;
	--caisse-bg: #f6f8fb;
	--caisse-text: #101828;
	--caisse-muted: #667085;
	--caisse-border: #e4e7ec;
	--caisse-green: #12b76a;
	--caisse-red: #f04438;
	--caisse-orange: #f97316;
	--caisse-purple: #7c3aed;
	background: var(--caisse-bg) !important;
	color: var(--caisse-text);
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 14px;
	padding: 22px 28px !important;
}

.stsp-caisse-dashboard * {
	box-sizing: border-box;
}

.stsp-caisse-dashboard-topbar {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 22px;
	gap: 16px;
}

.stsp-caisse-dashboard-search {
	align-items: center;
	background: #fff;
	border: 1px solid var(--caisse-border);
	border-radius: 999px;
	color: var(--caisse-muted);
	display: flex;
	gap: 10px;
	height: 42px;
	max-width: 420px;
	padding: 0 16px;
	width: min(420px, 100%);
}

.stsp-caisse-dashboard-search input {
	background: transparent;
	border: 0;
	box-shadow: none;
	font-size: 14px;
	min-height: 0;
	outline: 0;
	padding: 0;
	width: 100%;
}

.stsp-caisse-dashboard-actions {
	align-items: center;
	display: flex;
	gap: 12px;
}

.stsp-caisse-btn {
	align-items: center;
	background: #fff;
	border: 1px solid var(--caisse-border);
	border-radius: 10px;
	color: #344054;
	cursor: pointer;
	display: inline-flex;
	font-size: 13px;
	font-weight: 600;
	height: 40px;
	padding: 0 14px;
}

.stsp-caisse-profile {
	align-items: center;
	display: flex;
	gap: 10px;
}

.stsp-caisse-avatar {
	align-items: center;
	background: #eaf1ff;
	border-radius: 50%;
	color: var(--caisse-blue);
	display: flex;
	font-weight: 800;
	height: 38px;
	justify-content: center;
	width: 38px;
}

.stsp-caisse-profile h4 {
	color: var(--caisse-navy);
	font-size: 13px;
	margin: 0;
}

.stsp-caisse-profile p {
	color: var(--caisse-muted);
	font-size: 12px;
	margin: 2px 0 0;
}

.stsp-caisse-page-head {
	margin-bottom: 18px;
}

.stsp-caisse-page-head h2 {
	color: var(--caisse-navy);
	font-size: 20px;
	font-weight: 750;
	margin: 0 0 4px;
}

.stsp-caisse-page-head p {
	color: var(--caisse-muted);
	font-size: 13px;
	margin: 0;
}

.stsp-caisse-kpis {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin-bottom: 18px;
}

.stsp-caisse-card {
	background: #fff;
	border: 1px solid var(--caisse-border);
	border-radius: 14px;
	box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
}

.stsp-caisse-kpi {
	display: flex;
	gap: 12px;
	justify-content: space-between;
	min-height: 106px;
	padding: 16px;
}

.stsp-caisse-kpi-title {
	color: #344054;
	font-size: 13px;
	font-weight: 650;
	margin-bottom: 10px;
}

.stsp-caisse-kpi-value {
	color: var(--caisse-navy);
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.08;
	white-space: nowrap;
}

.stsp-caisse-kpi-note {
	color: var(--caisse-green);
	font-size: 12px;
	font-weight: 650;
	margin-top: 8px;
}

.stsp-caisse-kpi-icon {
	align-items: center;
	background: #eef4ff;
	border-radius: 12px;
	color: var(--caisse-blue);
	display: flex;
	font-size: 18px;
	height: 42px;
	justify-content: center;
	width: 42px;
}

.stsp-caisse-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(0, 2fr) minmax(300px, 0.95fr);
	margin-bottom: 18px;
}

.stsp-caisse-bottom-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stsp-caisse-panel {
	padding: 18px;
}

.stsp-caisse-panel-head {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 18px;
}

.stsp-caisse-panel-head h3 {
	color: var(--caisse-navy);
	font-size: 15px;
	font-weight: 750;
	margin: 0;
}

.stsp-caisse-sales-chart {
	height: 285px;
	padding: 20px 10px 28px 36px;
	position: relative;
}

.stsp-caisse-lines {
	display: flex;
	flex-direction: column;
	inset: 20px 10px 45px 36px;
	justify-content: space-between;
	position: absolute;
}

.stsp-caisse-lines span {
	border-top: 1px dashed var(--caisse-border);
}

.stsp-caisse-y-axis {
	bottom: 42px;
	color: var(--caisse-muted);
	display: flex;
	flex-direction: column;
	font-size: 12px;
	justify-content: space-between;
	left: 0;
	position: absolute;
	top: 14px;
}

.stsp-caisse-x-axis {
	bottom: 0;
	color: var(--caisse-muted);
	display: flex;
	font-size: 12px;
	justify-content: space-between;
	left: 36px;
	position: absolute;
	right: 10px;
}

.stsp-caisse-sales-chart svg {
	height: calc(100% - 65px);
	inset: 20px 10px 45px 36px;
	overflow: visible;
	position: absolute;
	width: calc(100% - 46px);
}

.stsp-caisse-tooltip {
	background: #101828;
	border-radius: 8px;
	box-shadow: 0 8px 20px rgba(16, 24, 40, 0.18);
	color: #fff;
	font-size: 12px;
	left: 54%;
	padding: 8px 10px;
	position: absolute;
	top: 72px;
}

.stsp-caisse-activity {
	align-items: center;
	border-bottom: 1px solid #eef2f6;
	display: flex;
	gap: 12px;
	padding: 13px 0;
}

.stsp-caisse-activity-icon {
	align-items: center;
	background: #eef4ff;
	border-radius: 10px;
	color: var(--caisse-blue);
	display: flex;
	font-weight: 800;
	height: 36px;
	justify-content: center;
	width: 36px;
}

.stsp-caisse-activity-info {
	flex: 1;
	min-width: 0;
}

.stsp-caisse-activity-info strong {
	color: var(--caisse-navy);
	display: block;
	font-size: 13px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.stsp-caisse-activity-info p,
.stsp-caisse-activity-time {
	color: var(--caisse-muted);
	font-size: 12px;
	margin: 2px 0 0;
}

.stsp-caisse-table table {
	border-collapse: collapse;
	font-size: 13px;
	width: 100%;
}

.stsp-caisse-table th,
.stsp-caisse-table td {
	border-bottom: 1px solid #eef2f6;
	padding: 10px 0;
	text-align: left;
}

.stsp-caisse-table th {
	color: var(--caisse-muted);
	font-size: 12px;
	font-weight: 600;
}

.stsp-caisse-table th:last-child,
.stsp-caisse-table td:last-child {
	text-align: right;
}

.stsp-caisse-table .red,
.stsp-caisse-cash-row .red {
	color: var(--caisse-red);
	font-weight: 700;
}

.stsp-caisse-cash-row .green {
	color: var(--caisse-green);
	font-weight: 700;
}

.stsp-caisse-cash-row {
	align-items: center;
	border-bottom: 1px solid #eef2f6;
	display: flex;
	font-size: 13px;
	justify-content: space-between;
	padding: 12px 0;
}

.stsp-caisse-cash-total {
	align-items: center;
	background: #eef4ff;
	border-radius: 10px;
	color: var(--caisse-blue);
	display: flex;
	font-weight: 800;
	justify-content: space-between;
	margin-top: 14px;
	padding: 12px;
}

.stsp-caisse-footer {
	color: var(--caisse-muted);
	display: flex;
	font-size: 12px;
	justify-content: space-between;
	margin-top: 24px;
}

@media (max-width: 1200px) {
	.stsp-caisse-kpis {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.stsp-caisse-grid,
	.stsp-caisse-bottom-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.stsp-caisse-dashboard {
		padding: 18px !important;
	}

	.stsp-caisse-dashboard-topbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.stsp-caisse-dashboard-actions {
		flex-wrap: wrap;
		width: 100%;
	}

	.stsp-caisse-dashboard-search,
	.stsp-caisse-kpis {
		width: 100%;
	}

	.stsp-caisse-kpis {
		grid-template-columns: 1fr;
	}
}

/* Cleaner portal list structure: fewer separator lines, more readable rows. */
.stsp-pos-app .stsp-view-list {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	display: grid !important;
	gap: 10px !important;
	padding: 0 !important;
}

.stsp-pos-app .stsp-view-row {
	align-items: center !important;
	background: #fff !important;
	border: 1px solid #e5ebf3 !important;
	border-radius: 10px !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.035) !important;
	display: grid !important;
	gap: 14px !important;
	grid-template-columns: minmax(0, 1fr) auto auto !important;
	min-height: 58px !important;
	padding: 12px 14px !important;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.stsp-pos-app .stsp-view-row:hover {
	border-color: #cbd7e6 !important;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.055) !important;
	transform: translateY(-1px);
}

.stsp-pos-app .stsp-view-row-main {
	min-width: 0;
}

.stsp-pos-app .stsp-view-row-main strong,
.stsp-pos-app .stsp-view-row > strong {
	color: #101828 !important;
	display: block !important;
	font-size: 14px !important;
	font-weight: 750 !important;
	line-height: 1.25 !important;
	margin: 0 0 3px !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

.stsp-pos-app .stsp-view-row-main small {
	color: #667085 !important;
	display: block !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
}

.stsp-pos-app .stsp-view-row-code,
.stsp-pos-app .stsp-view-row > span {
	background: #f6f8fb !important;
	border: 1px solid #e4e7ec !important;
	border-radius: 999px !important;
	color: #667085 !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	padding: 7px 10px !important;
	white-space: nowrap !important;
}

.stsp-pos-app .stsp-view-row-price,
.stsp-pos-app .stsp-view-row > b {
	background: #eef4ff !important;
	border-radius: 999px !important;
	color: #0b5cff !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	padding: 8px 10px !important;
	white-space: nowrap !important;
}

.stsp-pos-app .stsp-view-head {
	align-items: end !important;
	display: flex !important;
	justify-content: space-between !important;
	margin-bottom: 18px !important;
}

.stsp-pos-app .stsp-view-head h2 {
	font-size: 20px !important;
	line-height: 1.2 !important;
	margin: 0 !important;
}

.stsp-pos-app .stsp-view-head p {
	font-size: 13px !important;
	margin: 0 !important;
	max-width: 420px !important;
	text-align: right !important;
}

@media (max-width: 720px) {
	.stsp-pos-app .stsp-view-row {
		grid-template-columns: minmax(0, 1fr) auto !important;
	}

	.stsp-pos-app .stsp-view-row-price,
	.stsp-pos-app .stsp-view-row > b {
		grid-column: 1 / -1;
		justify-self: start;
	}

	.stsp-pos-app .stsp-view-head {
		align-items: flex-start !important;
		flex-direction: column !important;
		gap: 6px !important;
	}

	.stsp-pos-app .stsp-view-head p {
		text-align: left !important;
	}
}

/* Cashier home dashboard: simple POS workspace. */
.stsp-pos-app .stsp-cashier-home {
	--home-blue: #0b5cff;
	--home-navy: #071b3a;
	--home-bg: #f6f8fb;
	--home-card: #fff;
	--home-text: #101828;
	--home-muted: #667085;
	--home-border: #e4e7ec;
	--home-green: #12b76a;
	--home-red: #f04438;
	--home-orange: #f79009;
	background: var(--home-bg) !important;
	color: var(--home-text);
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 14px;
	min-height: 100%;
	padding: 24px 28px 84px !important;
}

.stsp-pos-app .stsp-home-topbar {
	align-items: center;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin-bottom: 24px;
}

.stsp-pos-app .stsp-home-welcome h2 {
	color: var(--home-navy);
	font-size: 24px;
	font-weight: 800;
	line-height: 1.2;
	margin: 0;
}

.stsp-pos-app .stsp-home-welcome p {
	color: var(--home-muted);
	font-size: 14px;
	margin: 5px 0 0;
}

.stsp-pos-app .stsp-home-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.stsp-pos-app .stsp-home-btn,
.stsp-pos-app .stsp-home-date,
.stsp-pos-app .stsp-home-link {
	align-items: center;
	background: #fff;
	border: 1px solid var(--home-border);
	border-radius: 10px;
	color: #344054;
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	gap: 8px;
	min-height: 42px;
	padding: 0 14px;
	text-decoration: none;
	white-space: nowrap;
}

.stsp-pos-app button.stsp-home-btn,
.stsp-pos-app button.stsp-home-link {
	cursor: pointer;
}

.stsp-pos-app .stsp-home-card {
	background: var(--home-card);
	border: 1px solid var(--home-border);
	border-radius: 14px;
	box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05);
}

.stsp-pos-app .stsp-home-stats {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-bottom: 18px;
}

.stsp-pos-app .stsp-home-stat {
	align-items: flex-start;
	display: flex;
	gap: 16px;
	min-height: 132px;
	padding: 20px;
}

.stsp-pos-app .stsp-home-icon {
	align-items: center;
	background: #eaf1ff;
	border-radius: 50%;
	color: var(--home-blue);
	display: inline-flex;
	flex: 0 0 48px;
	font-size: 20px;
	height: 48px;
	justify-content: center;
	width: 48px;
}

.stsp-pos-app .stsp-home-icon.is-green {
	background: #e8f8ef;
	color: var(--home-green);
}

.stsp-pos-app .stsp-home-icon.is-orange {
	background: #fff4e5;
	color: var(--home-orange);
}

.stsp-pos-app .stsp-home-icon.is-purple {
	background: #f1eaff;
	color: #7c3aed;
}

.stsp-pos-app .stsp-home-stat h3 {
	color: var(--home-navy);
	font-size: 14px;
	font-weight: 750;
	margin: 0 0 10px;
}

.stsp-pos-app .stsp-home-stat strong {
	color: var(--home-navy);
	display: block;
	font-size: 24px;
	font-weight: 850;
	letter-spacing: 0;
	line-height: 1.1;
	overflow-wrap: anywhere;
}

.stsp-pos-app .stsp-home-stat p {
	color: var(--home-muted);
	font-size: 12px;
	margin: 9px 0 0;
}

.stsp-pos-app .stsp-home-quick-actions {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin-bottom: 20px;
}

.stsp-pos-app .stsp-home-quick {
	align-items: flex-start;
	color: var(--home-text);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	min-height: 150px;
	padding: 18px;
	text-align: left;
	transition: border-color 0.18s ease, transform 0.18s ease;
	width: 100%;
}

.stsp-pos-app .stsp-home-quick:hover {
	border-color: #b8caff;
	transform: translateY(-1px);
}

.stsp-pos-app .stsp-home-quick strong {
	color: var(--home-navy);
	display: block;
	font-size: 15px;
	font-weight: 800;
	margin-top: 14px;
}

.stsp-pos-app .stsp-home-quick small {
	color: var(--home-muted);
	display: block;
	font-size: 12px;
	line-height: 1.4;
	margin-top: 6px;
}

.stsp-pos-app .stsp-home-quick b {
	align-self: flex-end;
	color: var(--home-navy);
	font-size: 22px;
	margin-top: auto;
}

.stsp-pos-app .stsp-home-quick em {
	align-items: center;
	background: var(--home-blue);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 11px;
	font-style: normal;
	font-weight: 800;
	height: 22px;
	justify-content: center;
	min-width: 22px;
	padding: 0 7px;
}

.stsp-pos-app .stsp-home-content {
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(0, 2fr) minmax(280px, 0.9fr);
}

.stsp-pos-app .stsp-home-panel {
	padding: 20px;
}

.stsp-pos-app .stsp-home-panel-head {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 16px;
}

.stsp-pos-app .stsp-home-panel-head h3 {
	color: var(--home-navy);
	font-size: 16px;
	font-weight: 800;
	margin: 0;
}

.stsp-pos-app .stsp-home-link {
	background: transparent;
	border: 0;
	color: var(--home-blue);
	min-height: auto;
	padding: 0;
}

.stsp-pos-app .stsp-home-table-wrap {
	overflow-x: auto;
}

.stsp-pos-app .stsp-home-table {
	border-collapse: collapse;
	font-size: 13px;
	min-width: 560px;
	width: 100%;
}

.stsp-pos-app .stsp-home-table th {
	border-bottom: 1px solid var(--home-border);
	color: var(--home-muted);
	font-size: 12px;
	font-weight: 700;
	padding: 11px 0;
	text-align: left;
}

.stsp-pos-app .stsp-home-table td {
	border-bottom: 1px solid #eef2f6;
	color: var(--home-text);
	padding: 13px 0;
}

.stsp-pos-app .stsp-home-table th:last-child,
.stsp-pos-app .stsp-home-table td:last-child {
	text-align: right;
}

.stsp-pos-app .stsp-home-tag {
	border-radius: 8px;
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	padding: 5px 10px;
}

.stsp-pos-app .stsp-home-tag.is-green {
	background: #e8f8ef;
	color: #067647;
}

.stsp-pos-app .stsp-home-tag.is-orange {
	background: #fff4e5;
	color: #b54708;
}

.stsp-pos-app .stsp-home-tag.is-red {
	background: #fee4e2;
	color: #b42318;
}

.stsp-pos-app .stsp-home-cash-info {
	display: grid;
}

.stsp-pos-app .stsp-home-cash-info div {
	align-items: center;
	border-bottom: 1px solid #eef2f6;
	display: flex;
	gap: 14px;
	justify-content: space-between;
	padding: 13px 0;
}

.stsp-pos-app .stsp-home-cash-info span {
	color: #344054;
}

.stsp-pos-app .stsp-home-cash-info strong {
	color: var(--home-navy);
	text-align: right;
}

.stsp-pos-app .stsp-home-cash-info .is-open {
	background: #e8f8ef;
	border-radius: 8px;
	color: #067647;
	font-size: 12px;
	padding: 5px 10px;
}

.stsp-pos-app .stsp-home-close-cash {
	background: #fff;
	border: 1px solid var(--home-blue);
	border-radius: 12px;
	color: var(--home-blue);
	cursor: pointer;
	font-size: 15px;
	font-weight: 850;
	height: 52px;
	margin-top: 18px;
	width: 100%;
}

.stsp-pos-app .stsp-home-mobile-nav {
	display: none;
}

@media (max-width: 1220px) {
	.stsp-pos-app .stsp-home-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.stsp-pos-app .stsp-home-quick-actions {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.stsp-pos-app .stsp-home-content {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 900px) {
	.stsp-pos-app .stsp-cashier-home {
		padding: 18px 16px 92px !important;
	}

	.stsp-pos-app .stsp-home-topbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.stsp-pos-app .stsp-home-actions {
		width: 100%;
	}

	.stsp-pos-app .stsp-home-btn,
	.stsp-pos-app .stsp-home-date {
		flex: 1 1 150px;
		justify-content: center;
	}

	.stsp-pos-app .stsp-home-quick-actions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.stsp-pos-app .stsp-home-mobile-nav {
		background: #fff;
		border-top: 1px solid var(--home-border);
		bottom: 0;
		box-shadow: 0 -8px 24px rgba(16, 24, 40, 0.08);
		display: grid;
		gap: 4px;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		left: 0;
		padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
		position: fixed;
		right: 0;
		z-index: 80;
	}

	.stsp-pos-app .stsp-home-mobile-nav a {
		align-items: center;
		border-radius: 10px;
		color: var(--home-muted);
		display: flex;
		flex-direction: column;
		font-size: 15px;
		font-weight: 800;
		gap: 3px;
		justify-content: center;
		min-height: 50px;
		text-decoration: none;
	}

	.stsp-pos-app .stsp-home-mobile-nav a span {
		font-size: 11px;
	}

	.stsp-pos-app .stsp-home-mobile-nav a.is-active {
		color: var(--home-blue);
	}
}

@media (max-width: 640px) {
	.stsp-pos-app .stsp-cashier-home {
		font-size: 13px;
		padding: 14px 12px 88px !important;
	}

	.stsp-pos-app .stsp-home-welcome h2 {
		font-size: 21px;
	}

	.stsp-pos-app .stsp-home-stats,
	.stsp-pos-app .stsp-home-quick-actions {
		grid-template-columns: 1fr;
	}

	.stsp-pos-app .stsp-home-stat {
		min-height: auto;
		padding: 18px;
	}

	.stsp-pos-app .stsp-home-stat strong {
		font-size: 22px;
	}

	.stsp-pos-app .stsp-home-quick {
		min-height: 126px;
		padding: 18px;
	}

	.stsp-pos-app .stsp-home-panel {
		padding: 16px;
	}

	.stsp-pos-app .stsp-home-table {
		min-width: 500px;
	}
}

/* Final responsive safety layer: portrait, landscape, tablet and compact laptops. */
html:has(.stsp-cashier-shell),
body:has(.stsp-cashier-shell) {
	max-width: 100%;
	overflow-x: hidden;
}

.stsp-cashier-shell,
.stsp-cashier-shell * {
	box-sizing: border-box;
}

.stsp-cashier-shell img,
.stsp-cashier-shell svg,
.stsp-cashier-shell canvas {
	max-width: 100%;
}

.stsp-pos-main,
.stsp-cashier-view,
.stsp-cashier-products,
.stsp-cashier-cart,
.stsp-product-grid,
.stsp-cart-items,
.stsp-view-list,
.stsp-home-content,
.stsp-home-table-wrap {
	min-width: 0;
}

.stsp-pos-app .stsp-cashier-session,
.stsp-pos-app .stsp-cashier-search,
.stsp-pos-app .stsp-home-actions,
.stsp-pos-app .stsp-home-panel-head,
.stsp-pos-app .stsp-cart-head {
	min-width: 0;
}

.stsp-pos-app .stsp-cashier-top {
	gap: 10px;
}

.stsp-pos-app .stsp-cashier-session {
	flex-wrap: wrap;
	justify-content: flex-end;
}

.stsp-pos-app .stsp-user-chip,
.stsp-pos-app .stsp-status,
.stsp-pos-app .stsp-language-inline,
.stsp-pos-app .stsp-cashier-session a {
	max-width: 100%;
}

.stsp-pos-app .stsp-product-card,
.stsp-pos-app .stsp-home-card,
.stsp-pos-app .stsp-view-card,
.stsp-pos-app .stsp-view-kpis > div {
	min-width: 0;
}

.stsp-pos-app .stsp-cart-items,
.stsp-pos-app .stsp-product-grid,
.stsp-pos-app .stsp-view-list {
	-webkit-overflow-scrolling: touch;
}

@media (max-width: 1360px) and (min-width: 1201px) {
	.stsp-pos-app {
		grid-template-columns: clamp(210px, 14vw, 250px) minmax(0, 1fr);
	}

	.stsp-pos-app .stsp-cashier-workspace {
		grid-template-columns: minmax(0, 1fr) minmax(330px, 36vw);
	}

	.stsp-pos-app .stsp-product-grid {
		grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
	}

	.stsp-pos-app .stsp-product-card {
		min-height: 176px;
	}
}

@media (max-width: 1200px) {
	.stsp-pos-app {
		height: auto;
		min-height: 100dvh;
		overflow-x: hidden;
		overflow-y: auto;
	}

	.stsp-pos-main {
		min-height: 100dvh;
		overflow: visible;
	}

	.stsp-pos-app .stsp-cashier-top {
		position: sticky;
		top: 0;
		z-index: 30;
	}

	.stsp-pos-app .stsp-cashier-products {
		min-height: 52dvh;
	}

	.stsp-pos-app .stsp-product-grid {
		max-height: none;
		overflow: visible;
	}

	.stsp-pos-app .stsp-cashier-cart {
		width: 100%;
	}
}

@media (max-width: 900px) {
	.stsp-pos-app .stsp-cashier-top {
		align-items: stretch;
		flex-direction: column;
	}

	.stsp-pos-app .stsp-cashier-search {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 44px auto;
		max-width: none;
		width: 100%;
	}

	.stsp-pos-app .stsp-cashier-session {
		justify-content: flex-start;
		width: 100%;
	}

	.stsp-pos-app .stsp-home-content,
	.stsp-pos-app .stsp-view-grid,
	.stsp-pos-app .stsp-view-kpis {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	.stsp-pos-app .stsp-cashier-search {
		grid-template-columns: minmax(0, 1fr) 42px;
	}

	.stsp-pos-app .stsp-mobile-cart-toggle {
		grid-column: 1 / -1;
		width: 100%;
	}

	.stsp-pos-app .stsp-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.stsp-pos-app .stsp-product-card {
		min-height: 168px;
		padding: 12px;
	}

	.stsp-product-visual {
		height: 70px;
	}

	.stsp-pos-app .stsp-cart-controls,
	.stsp-pos-app .stsp-payment-shortcuts,
	.stsp-pos-app .stsp-payment-grid,
	.stsp-pos-app .stsp-actions {
		grid-template-columns: 1fr;
	}

	.stsp-pos-app .stsp-home-table {
		min-width: 0;
	}

	.stsp-pos-app .stsp-home-table thead {
		display: none;
	}

	.stsp-pos-app .stsp-home-table,
	.stsp-pos-app .stsp-home-table tbody,
	.stsp-pos-app .stsp-home-table tr,
	.stsp-pos-app .stsp-home-table td {
		display: block;
		width: 100%;
	}

	.stsp-pos-app .stsp-home-table tr {
		border-bottom: 1px solid #eef2f6;
		padding: 10px 0;
	}

	.stsp-pos-app .stsp-home-table td {
		border: 0;
		padding: 4px 0;
		text-align: left !important;
	}

	.stsp-shortcuts-bar {
		display: none;
	}
}

@media (max-width: 430px) {
	.stsp-pos-app .stsp-cashier-workspace,
	.stsp-pos-app .stsp-cashier-view,
	.stsp-pos-app .stsp-cashier-top,
	.stsp-pos-app .stsp-cashier-home {
		padding-left: 10px !important;
		padding-right: 10px !important;
	}

	.stsp-pos-app .stsp-product-grid {
		grid-template-columns: 1fr;
	}

	.stsp-pos-app .stsp-home-actions {
		display: grid;
		grid-template-columns: 1fr;
		width: 100%;
	}

	.stsp-pos-app .stsp-home-btn,
	.stsp-pos-app .stsp-home-date {
		width: 100%;
	}
}

@media (orientation: landscape) and (max-height: 620px) {
	.stsp-pos-app {
		height: auto;
		min-height: 100dvh;
		overflow-y: auto;
	}

	.stsp-pos-sidebar {
		gap: 8px;
		padding-bottom: 10px;
		padding-top: 10px;
	}

	.stsp-pos-nav {
		gap: 4px;
	}

	.stsp-pos-nav a {
		min-height: 34px;
		padding-bottom: 7px;
		padding-top: 7px;
	}

	.stsp-cashbox-card {
		display: none;
	}

	.stsp-pos-app .stsp-cashier-top {
		padding-bottom: 8px;
		padding-top: 8px;
	}

	.stsp-pos-app .stsp-cashier-workspace {
		padding-bottom: 10px;
		padding-top: 10px;
	}

	.stsp-pos-app .stsp-product-card {
		min-height: 150px;
	}

	.stsp-product-visual {
		height: 56px;
	}

	.stsp-pos-app .stsp-cashier-cart {
		max-height: 86dvh;
	}
}
