.ss-summary-strip {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	border: 1px solid var(--border);
	border-radius: 12px;
	background: var(--bg-1);
	overflow: hidden;
	margin-bottom: 18px;
}
.ss-summary-cell {
	padding: 14px 16px;
	border-right: 1px solid var(--border);
}
.ss-summary-cell:last-child {
	border-right: none;
}
.ss-summary-cell .v {
	font-size: 20px;
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1;
}
.ss-summary-cell .v.accent {
	color: var(--accent);
}
.ss-summary-cell .v .cur {
	font-family: "Onest", sans-serif;
	font-size: 12px;
	color: var(--fg-dim);
	margin-left: 2px;
	font-weight: 400;
}
.ss-summary-cell .l {
	font-size: 10.5px;
	color: var(--fg-mute);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-top: 4px;
}

.ss-warn {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 16px;
	border: 1px solid oklch(0.62 0.16 25 / 0.4);
	border-radius: 12px;
	background: linear-gradient(180deg, oklch(0.62 0.16 25 / 0.1), transparent), var(--bg-1);
	margin-bottom: 22px;
}
.ss-warn-icon {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: oklch(0.62 0.16 25);
	color: #fff;
	display: grid;
	place-items: center;
	font-weight: 700;
	font-size: 14px;
	flex-shrink: 0;
}
.ss-warn-body {
	flex: 1;
}
.ss-warn-title {
	font-size: 13.5px;
	font-weight: 500;
	letter-spacing: -0.01em;
}
.ss-warn-sub {
	font-size: 11.5px;
	color: var(--fg-mute);
	margin-top: 2px;
}
.ss-warn-action {
	padding: 7px 12px;
	border: 1px solid var(--border);
	background: var(--bg);
	border-radius: 8px;
	font-size: 12.5px;
	color: var(--fg-dim);
	cursor: pointer;
	font-family: inherit;
}
.ss-warn-action:hover {
	color: var(--accent);
	border-color: var(--accent);
}

/* Denominations */
.ss-denoms {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
	background: var(--bg-1);
}
.ss-denom {
	display: grid;
	grid-template-columns: 80px 1fr 100px;
	align-items: center;
	gap: 16px;
	padding: 10px 14px;
	border-bottom: 1px dashed var(--border);
}
.ss-denom:last-child {
	border-bottom: none;
}
.ss-denom-v {
	font-size: 13px;
	color: var(--fg-dim);
	letter-spacing: 0.02em;
}
.ss-denom-controls {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: var(--bg);
	padding: 3px;
}
.ss-denom-btn {
	width: 26px;
	height: 26px;
	border-radius: 6px;
	border: none;
	background: var(--bg-1);
	color: var(--fg);
	font-size: 14px;
	cursor: pointer;
	font-family: inherit;
}
.ss-denom-btn:hover {
	background: var(--accent);
	color: var(--accent-ink);
}
.ss-denom-input {
	width: 48px;
	height: 26px;
	text-align: center;
	background: transparent;
	border: none;
	outline: none;
	font-size: 13px;
	color: var(--fg);
	-moz-appearance: textfield;
}
.ss-denom-input::-webkit-outer-spin-button,
.ss-denom-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.ss-denom-sum {
	font-size: 13px;
	text-align: right;
	color: var(--fg);
}

/* Balance */
.ss-balance {
	background: transparent;
}
.ss-balance-rows {
	border: 1px solid var(--border);
	border-radius: 12px;
	background: var(--bg-1);
}
.ss-balance-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	border-bottom: 1px dashed var(--border);
}
.ss-balance-row:last-child {
	border-bottom: none;
}
.ss-balance-row .l {
	font-size: 12px;
	color: var(--fg-dim);
}
.ss-balance-row .v {
	font-size: 16px;
	font-weight: 500;
	letter-spacing: -0.01em;
}
.ss-balance-row .v .cur {
	font-family: "Onest", sans-serif;
	font-size: 12px;
	color: var(--fg-dim);
	margin-left: 2px;
	font-weight: 400;
}
.ss-balance-delta {
	background: var(--bg);
	font-weight: 600;
}
.ss-balance-delta.delta-ok .v {
	color: oklch(0.5 0.16 145);
}
[data-theme="dark"] .ss-balance-delta.delta-ok .v {
	color: oklch(0.78 0.13 145);
}
.ss-balance-delta.delta-plus .v {
	color: oklch(0.55 0.13 70);
}
.ss-balance-delta.delta-minus .v {
	color: oklch(0.55 0.16 25);
}

/* Radio group */
.ss-radio-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.ss-radio {
	display: grid;
	grid-template-columns: 20px 1fr;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--bg-1);
	cursor: pointer;
	transition: all 0.15s;
}
.ss-radio:hover {
	border-color: var(--border-2);
}
.ss-radio.active {
	border-color: var(--accent);
	background: linear-gradient(180deg, var(--glow-accent-soft), transparent), var(--bg-1);
}
.ss-radio input {
	display: none;
}
.ss-radio-dot {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1px solid var(--border-2);
	background: var(--bg);
	display: grid;
	place-items: center;
}
.ss-radio.active .ss-radio-dot {
	border-color: var(--accent);
}
.ss-radio.active .ss-radio-dot::after {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent);
}
.ss-radio-l {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: -0.01em;
}
.ss-radio-s {
	display: block;
	font-size: 11px;
	color: var(--fg-mute);
	font-weight: 400;
	margin-top: 2px;
	letter-spacing: 0.04em;
}

/* Big close-shift CTA */
.btn-close-shift {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 18px;
	border-radius: 10px;
	background: oklch(0.55 0.16 25);
	color: #fff;
	border: none;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	letter-spacing: -0.01em;
	transition:
		filter 0.15s,
		transform 0.15s;
}
.btn-close-shift:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
}
.btn-close-shift .dot-end {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

@media (max-width: 900px) {
	.ss-grid-2 {
		grid-template-columns: 1fr;
	}
	.ss-cashier-row {
		grid-template-columns: 1fr;
	}
	.ss-team-grid {
		grid-template-columns: 1fr;
	}
	.ss-summary-strip {
		grid-template-columns: repeat(2, 1fr);
	}
	.ss-summary-cell {
		border-right: 1px solid var(--border);
		border-bottom: 1px solid var(--border);
	}
}
