/*
 * AS Plus role dashboards.
 *
 * Desktop: sidebar, greeting banner, KPI cards, order-status donut, 7-day sales
 * chart, quick actions and the latest orders. Phone (below 960px): an app-style
 * home — greeting card, big icon tiles, today's numbers, orders as cards.
 * Colours, radius and fonts come from the theme tokens (--asplus-*).
 */

.asplus-dash {
	--dash-gold: var(--asplus-accent, #d8ae6a);
	--dash-ink: #1b1a18;
	--dash-radius: var(--asplus-radius, 16px);
	--dash-blue: #3d6df2;
	--dash-green: #2f9e63;
	--dash-amber: #f0a43a;
	--dash-red: #e5484d;
	--dash-purple: #7b5cf0;
	--dash-orange: #f08a3a;

	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 22px;
	max-width: 1320px;
	margin-inline: auto;
	padding: 24px;
	color: var(--asplus-text, #f5f2ee);
}

.asplus-dash--solo {
	grid-template-columns: minmax(0, 560px);
	justify-content: center;
}

.asplus-dash .asplus-icon {
	display: block;
	width: 1.25em;
	height: 1.25em;
	flex: none;
}

.asplus-dash a:focus-visible,
.asplus-dash button:focus-visible {
	outline: 2px solid var(--dash-gold);
	outline-offset: 2px;
}

/* ---------------------------------------------------------------- sidebar */

.asplus-dash-side {
	position: sticky;
	inset-block-start: 96px;
	align-self: start;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 22px;
	min-height: 420px;
	padding: 14px;
	background: var(--asplus-surface, #161615);
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.1));
	border-radius: var(--dash-radius);
}

.asplus-dash-nav {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.asplus-dash-navlink {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 12px;
	border-inline-start: 3px solid transparent;
	color: var(--asplus-muted, #a79f95);
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.asplus-dash-navlink:hover {
	background: var(--asplus-overlay, rgba(245, 242, 238, 0.06));
	color: var(--asplus-text, #f5f2ee);
}

.asplus-dash-navlink.is-active {
	background: var(--asplus-surface-2, #1f1e1c);
	border-inline-start-color: var(--dash-gold);
	color: var(--dash-gold);
}

.asplus-dash-user {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding-block-start: 14px;
	border-block-start: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.1));
}

.asplus-dash-avatar {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--asplus-surface-2, #1f1e1c);
	color: var(--dash-gold);
	font-weight: 700;
}

.asplus-dash-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.asplus-dash-usertext {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	line-height: 1.4;
}

.asplus-dash-usertext small {
	color: var(--asplus-muted, #a79f95);
}

.asplus-dash-logout {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 1 1 100%;
	color: var(--asplus-muted, #a79f95);
	font-size: 0.85rem;
	text-decoration: none;
}

.asplus-dash-logout:hover {
	color: var(--dash-red);
}

/* ------------------------------------------------------------------- main */

.asplus-dash-main {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
}

/* ------------------------------------------------------------------- hero */

.asplus-dash-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 128px;
	padding: 24px 28px;
	overflow: hidden;
	background:
		radial-gradient(ellipse at 15% 50%, rgba(216, 174, 106, 0.16), transparent 60%),
		var(--asplus-surface, #161615);
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.1));
	border-radius: var(--dash-radius);
}

.asplus-dash-hero.has-image {
	background-image:
		linear-gradient(to left, var(--asplus-bg, #0b0b0c) 28%, rgba(11, 11, 12, 0.55) 62%, rgba(11, 11, 12, 0.1) 100%),
		var(--asplus-dash-hero-image);
	background-size: cover;
	background-position: center;
}

body:not(.rtl) .asplus-dash-hero.has-image {
	background-image:
		linear-gradient(to right, var(--asplus-bg, #0b0b0c) 28%, rgba(11, 11, 12, 0.55) 62%, rgba(11, 11, 12, 0.1) 100%),
		var(--asplus-dash-hero-image);
}

.asplus-dash-hello {
	margin: 0 0 6px;
	font-family: var(--asplus-font-heading, inherit);
	font-size: clamp(1.4rem, 2.6vw, 2rem);
	font-weight: 800;
	line-height: 1.3;
	color: var(--dash-gold);
}

.asplus-dash-sub {
	margin: 0;
	color: var(--asplus-text, #f5f2ee);
	font-size: 1rem;
}

.asplus-dash-role {
	display: inline-block;
	margin-block-start: 10px;
	padding: 3px 12px;
	border: 1px solid var(--dash-gold);
	border-radius: 999px;
	color: var(--dash-gold);
	font-size: 0.78rem;
	font-weight: 700;
}

.asplus-dash-hero-brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
}

.asplus-dash-hero-brand img {
	max-height: 64px;
	width: auto;
}

.asplus-dash-brandname {
	font-family: var(--asplus-font-heading, inherit);
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--asplus-text, #f5f2ee);
}

.asplus-dash-date {
	color: var(--asplus-muted, #a79f95);
	font-size: 0.85rem;
}

.asplus-dash-notice {
	padding: 14px 18px;
	background: var(--asplus-surface, #161615);
	border: 1px solid var(--dash-amber);
	border-radius: var(--dash-radius);
	color: var(--asplus-text, #f5f2ee);
	font-size: 0.92rem;
	line-height: 1.7;
}

.asplus-dash-notice strong {
	color: var(--dash-amber);
}

/* The answer Core kept for the sign-in that just finished: green when it let you in,
 * red when it did not. The plain amber rule above stays the voice of a missing plugin. */
.asplus-dash-notice.is-success {
	border-color: var(--dash-green);
}

.asplus-dash-notice.is-error {
	border-color: var(--dash-red);
}

/* ---------------------------------------------------------- guest buttons */

.asplus-dash-auth {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* The way in for staff and for accounts made with an e-mail, under the mobile panel. */
.asplus-dash-auth-alt {
	margin: 0;
	text-align: center;
	font-size: 0.8rem;
}

.asplus-dash-auth-alt a {
	color: var(--asplus-muted, rgba(245, 242, 238, 0.65));
	text-decoration: underline;
	text-underline-offset: 3px;
}

.asplus-dash-auth-alt a:hover {
	color: var(--asplus-accent, #d8ae6a);
}

.asplus-dash-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 12px 20px;
	border-radius: 14px;
	font-size: 1.05rem;
	font-weight: 800;
	text-decoration: none;
	transition: filter 0.18s ease, background-color 0.18s ease;
}

.asplus-dash-btn--gold {
	background: var(--dash-gold);
	color: var(--dash-ink);
}

.asplus-dash-btn--gold:hover {
	color: var(--dash-ink);
	filter: brightness(1.07);
}

.asplus-dash-btn--line {
	border: 1px solid var(--dash-gold);
	color: var(--dash-gold);
}

.asplus-dash-btn--line:hover {
	background: rgba(216, 174, 106, 0.12);
	color: var(--dash-gold);
}

/* -------------------------------------------------------------------- KPIs */

.asplus-dash-kpis {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 14px;
}

.asplus-dash-kpi {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px;
	background: var(--asplus-surface, #161615);
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.1));
	border-radius: var(--dash-radius);
}

.asplus-dash-kpi-icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	flex: none;
	border-radius: 50%;
	color: #fff;
}

.asplus-dash-kpi-icon .asplus-icon {
	width: 26px;
	height: 26px;
}

.asplus-dash-kpi--green .asplus-dash-kpi-icon { background: var(--dash-green); }
.asplus-dash-kpi--orange .asplus-dash-kpi-icon { background: var(--dash-orange); }
.asplus-dash-kpi--purple .asplus-dash-kpi-icon { background: var(--dash-purple); }
.asplus-dash-kpi--blue .asplus-dash-kpi-icon { background: var(--dash-blue); }

.asplus-dash-kpi-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.4;
}

.asplus-dash-kpi-label {
	color: var(--asplus-muted, #a79f95);
	font-size: 0.82rem;
}

.asplus-dash-kpi-value {
	font-size: 1.5rem;
	font-weight: 800;
	overflow-wrap: anywhere;
}

.asplus-dash-kpi-text small {
	color: var(--asplus-muted, #a79f95);
	font-size: 0.75rem;
}

/* -------------------------------------------------------------- rows, cards */

.asplus-dash-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 18px;
}

.asplus-dash-card {
	min-width: 0;
	padding: 18px;
	background: var(--asplus-surface, #161615);
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.1));
	border-radius: var(--dash-radius);
}

.asplus-dash-card-title {
	margin: 0 0 12px;
	font-family: var(--asplus-font-heading, inherit);
	font-size: 1.05rem;
	font-weight: 700;
}

.asplus-dash-card-sub {
	margin: -6px 0 10px;
	color: var(--asplus-muted, #a79f95);
	font-size: 0.85rem;
}

@media (min-width: 1100px) {
	.asplus-dash-card--orders,
	.asplus-dash-card--queue {
		grid-column: span 2;
	}
}

/* ------------------------------------------------------------------ charts */

.asplus-dash-chart {
	display: block;
	width: 100%;
	height: auto;
}

.asplus-dash-grid {
	stroke: var(--asplus-border, rgba(245, 242, 238, 0.12));
	stroke-width: 1;
}

.asplus-dash-axis {
	fill: var(--asplus-muted, #a79f95);
	font-family: inherit;
	font-size: 11px;
}

.asplus-dash-bar {
	fill: var(--dash-blue);
}

.asplus-dash-bar:hover {
	fill: #5b86ff;
}

.asplus-dash-donut {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 18px 24px;
}

.asplus-dash-donut svg {
	width: 170px;
	height: 170px;
	flex: none;
}

.asplus-dash-ring {
	stroke: var(--asplus-surface-2, #1f1e1c);
}

.asplus-dash-seg {
	transition: stroke-width 0.15s ease;
}

.asplus-dash-seg--preparing { stroke: var(--dash-amber); }
.asplus-dash-seg--ready { stroke: var(--dash-green); }
.asplus-dash-seg--completed { stroke: var(--dash-blue); }
.asplus-dash-seg--cancelled { stroke: var(--dash-red); }
.asplus-dash-seg--pending { stroke: var(--dash-gold); }

.asplus-dash-donut-num {
	fill: var(--asplus-text, #f5f2ee);
	font-family: inherit;
	font-size: 7px;
	font-weight: 800;
}

.asplus-dash-donut-cap {
	fill: var(--asplus-muted, #a79f95);
	font-family: inherit;
	font-size: 2.6px;
}

.asplus-dash-legend {
	display: flex;
	flex: 1 1 150px;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.asplus-dash-legend li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.9rem;
}

.asplus-dash-legend-label {
	flex: 1 1 auto;
	color: var(--asplus-muted, #a79f95);
}

.asplus-dash-dot {
	width: 12px;
	height: 12px;
	flex: none;
	border-radius: 3px;
}

.asplus-dash-dot--preparing { background: var(--dash-amber); }
.asplus-dash-dot--ready { background: var(--dash-green); }
.asplus-dash-dot--completed { background: var(--dash-blue); }
.asplus-dash-dot--cancelled { background: var(--dash-red); }
.asplus-dash-dot--pending { background: var(--dash-gold); }

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

.asplus-dash-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.asplus-dash-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 104px;
	padding: 14px 10px;
	border: 1px solid transparent;
	border-radius: 14px;
	color: var(--asplus-text, #f5f2ee);
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	transition: transform 0.15s ease, filter 0.15s ease;
}

.asplus-dash-tile:hover {
	color: var(--asplus-text, #f5f2ee);
	transform: translateY(-2px);
	filter: brightness(1.12);
}

.asplus-dash-tile-icon .asplus-icon {
	width: 32px;
	height: 32px;
}

.asplus-dash-tile--t0 { background: rgba(61, 109, 242, 0.16); border-color: rgba(61, 109, 242, 0.45); }
.asplus-dash-tile--t0 .asplus-dash-tile-icon { color: #7ea1ff; }
.asplus-dash-tile--t1 { background: rgba(47, 158, 99, 0.16); border-color: rgba(47, 158, 99, 0.45); }
.asplus-dash-tile--t1 .asplus-dash-tile-icon { color: #5fd49b; }
.asplus-dash-tile--t2 { background: rgba(123, 92, 240, 0.16); border-color: rgba(123, 92, 240, 0.45); }
.asplus-dash-tile--t2 .asplus-dash-tile-icon { color: #a99bff; }
.asplus-dash-tile--t3 { background: rgba(216, 174, 106, 0.14); border-color: rgba(216, 174, 106, 0.45); }
.asplus-dash-tile--t3 .asplus-dash-tile-icon { color: var(--dash-gold); }

/* ------------------------------------------------------------------ orders */

.asplus-dash-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.asplus-dash-table th {
	padding: 8px 10px;
	border-block-end: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.12));
	color: var(--asplus-muted, #a79f95);
	font-size: 0.8rem;
	font-weight: 600;
	text-align: start;
}

.asplus-dash-table td {
	padding: 13px 10px;
	border-block-end: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.08));
	vertical-align: middle;
}

.asplus-dash-table tbody tr:last-child td {
	border-block-end: 0;
}

.asplus-dash-chip {
	display: inline-block;
	padding: 3px 12px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
}

.asplus-dash-chip--pending,
.asplus-dash-chip--on-hold,
.asplus-dash-chip--processing { background: rgba(216, 174, 106, 0.16); color: var(--dash-gold); }
.asplus-dash-chip--confirmed,
.asplus-dash-chip--preparing { background: rgba(240, 164, 58, 0.16); color: var(--dash-amber); }
.asplus-dash-chip--ready,
.asplus-dash-chip--delivery { background: rgba(47, 158, 99, 0.18); color: #5fd49b; }
.asplus-dash-chip--completed { background: rgba(61, 109, 242, 0.18); color: #8aa9ff; }
.asplus-dash-chip--cancelled,
.asplus-dash-chip--failed,
.asplus-dash-chip--refunded { background: rgba(229, 72, 77, 0.16); color: #ff7b80; }

/* ------------------------------------------------------------- cashier desk */

.asplus-dash-card--desk {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 18px;
}

.asplus-desk-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.asplus-desk-head .asplus-dash-card-title {
	margin: 0;
}

.asplus-desk-refresh {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-inline-start: auto;
	color: var(--asplus-muted, #a79f95);
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none;
}

.asplus-desk-refresh:hover { color: var(--dash-gold); }

/* Notice raised by Core after an action; the level comes from Core, not here. */
.asplus-desk-notice {
	padding: 10px 14px;
	border-radius: 12px;
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.12));
	background: var(--asplus-overlay, rgba(245, 242, 238, 0.06));
	font-size: 0.88rem;
	font-weight: 600;
}

.asplus-desk-notice.is-success {
	border-color: rgba(47, 158, 99, 0.4);
	background: rgba(47, 158, 99, 0.12);
	color: #5fd49b;
}

.asplus-desk-notice.is-error {
	border-color: rgba(229, 72, 77, 0.4);
	background: rgba(229, 72, 77, 0.12);
	color: #ff7b80;
}

.asplus-desk-notice.is-warning {
	border-color: rgba(240, 164, 58, 0.4);
	background: rgba(240, 164, 58, 0.12);
	color: var(--dash-amber);
}

.asplus-desk-notice.is-info {
	color: var(--asplus-text, #f5f2ee);
}

/* Filters: status tabs on one line, the search controls under them. */
.asplus-desk-filters {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.asplus-desk-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.asplus-desk-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.12));
	border-radius: 999px;
	color: var(--asplus-muted, #a79f95);
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.asplus-desk-tab:hover {
	border-color: rgba(216, 174, 106, 0.45);
	color: var(--asplus-text, #f5f2ee);
}

.asplus-desk-tab.is-active {
	border-color: var(--dash-gold);
	background: rgba(216, 174, 106, 0.14);
	color: var(--dash-gold);
}

.asplus-desk-tab-count {
	min-width: 22px;
	padding: 1px 7px;
	border-radius: 999px;
	background: var(--asplus-surface-2, #1f1e1c);
	color: var(--asplus-text, #f5f2ee);
	font-size: 0.76rem;
	text-align: center;
}

.asplus-desk-tab.is-active .asplus-desk-tab-count {
	background: var(--dash-gold);
	color: var(--dash-ink, #1b1a18);
}

.asplus-desk-search {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.asplus-desk-search input[type="search"],
.asplus-desk-search select {
	padding: 8px 10px;
	background: var(--asplus-surface-2, #1f1e1c);
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.12));
	border-radius: 10px;
	color: var(--asplus-text, #f5f2ee);
	font-family: inherit;
	font-size: 0.85rem;
}

.asplus-desk-search input[type="search"] {
	flex: 1 1 220px;
	min-width: 0;
}

.asplus-desk-search select { min-width: 110px; }

.asplus-desk-search input::placeholder { color: var(--asplus-muted, #a79f95); }

.asplus-desk-clear {
	color: var(--asplus-muted, #a79f95);
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: underline;
}

.asplus-desk-clear:hover { color: #ff7b80; }

/* The table. Wide by design, so it scrolls sideways instead of crushing columns. */
.asplus-desk-scroll {
	overflow-x: auto;
	margin-inline: -4px;
	padding-inline: 4px;
}

.asplus-desk-table { min-width: 860px; }

.asplus-desk-table td {
	padding-block: 14px;
	vertical-align: top;
}

.asplus-desk-table tbody tr.is-unassigned {
	background: rgba(240, 164, 58, 0.06);
}

.asplus-desk-when {
	display: block;
	margin-block-start: 2px;
	color: var(--asplus-muted, #a79f95);
	font-size: 0.78rem;
}

.asplus-desk-phone {
	display: block;
	unicode-bidi: embed;
	direction: ltr;
	text-align: start;
}

.asplus-desk-items {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin: 0 0 8px;
	padding: 0;
	list-style: none;
	font-size: 0.86rem;
}

.asplus-desk-items li {
	display: flex;
	gap: 6px;
}

.asplus-desk-items span {
	color: var(--dash-gold);
	font-weight: 700;
	white-space: nowrap;
}

.asplus-desk-more { color: var(--asplus-muted, #a79f95); }

/* One chip per print counter; the chip is also the button that prints it. */
.asplus-desk-sections {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.asplus-desk-section {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 2px 9px;
	border: 1px solid rgba(61, 109, 242, 0.4);
	border-radius: 8px;
	background: rgba(61, 109, 242, 0.12);
	color: #8aa9ff;
	font-size: 0.76rem;
	font-weight: 700;
}

.asplus-desk-section b {
	color: var(--asplus-text, #f5f2ee);
	font-weight: 800;
}

.asplus-desk-section.is-unset {
	border-color: rgba(240, 164, 58, 0.5);
	background: rgba(240, 164, 58, 0.12);
	color: var(--dash-amber);
}

.asplus-desk-unmapped {
	display: block;
	margin-block-start: 6px;
	color: var(--dash-amber);
	font-size: 0.78rem;
	font-weight: 700;
}

.asplus-desk-paid {
	color: #5fd49b;
	font-size: 0.82rem;
	font-weight: 700;
}

/* Actions: stacked small forms, and the print cluster below them. */
.asplus-desk-actions { min-width: 210px; }

.asplus-desk-form {
	display: inline-flex;
	margin-block-end: 6px;
}

.asplus-desk-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	border: 1px solid transparent;
	border-radius: 10px;
	background: var(--asplus-surface-2, #1f1e1c);
	color: var(--asplus-text, #f5f2ee);
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
	text-decoration: none;
	white-space: nowrap;
	transition: filter 0.15s ease, border-color 0.15s ease;
}

.asplus-desk-btn .asplus-icon {
	width: 15px;
	height: 15px;
}

.asplus-desk-btn:hover { filter: brightness(1.18); }

.asplus-desk-btn--primary {
	background: var(--asplus-primary, #d5302c);
	border-color: var(--asplus-primary-dark, #a11f1c);
	color: #fff;
}

.asplus-desk-btn--pay {
	background: var(--dash-green);
	border-color: var(--dash-green);
	color: #fff;
}

.asplus-desk-btn--done {
	background: var(--dash-blue);
	border-color: var(--dash-blue);
	color: #fff;
}

.asplus-desk-btn--print {
	border-color: rgba(216, 174, 106, 0.5);
	background: rgba(216, 174, 106, 0.12);
	color: var(--dash-gold);
}

.asplus-desk-btn--all {
	background: var(--dash-gold);
	border-color: var(--dash-gold);
	color: var(--dash-ink, #1b1a18);
}

.asplus-desk-btn--view {
	border-color: var(--asplus-border, rgba(245, 242, 238, 0.18));
	background: transparent;
	color: var(--asplus-muted, #a79f95);
}

.asplus-desk-btn select {
	padding: 2px 6px;
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.2));
	border-radius: 7px;
	background: var(--asplus-surface, #161615);
	color: var(--asplus-text, #f5f2ee);
	font-family: inherit;
	font-size: 0.78rem;
}

.asplus-desk-print {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-block-start: 4px;
	padding-block-start: 8px;
	border-block-start: 1px dashed var(--asplus-border, rgba(245, 242, 238, 0.14));
}

.asplus-desk-print .asplus-desk-form { margin-block-end: 0; }

.asplus-desk-empty {
	margin: 0;
	padding: 22px 0;
	color: var(--asplus-muted, #a79f95);
	text-align: center;
}

.asplus-desk-pager {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.asplus-desk-pager-total {
	margin-inline-end: auto;
	color: var(--asplus-muted, #a79f95);
	font-size: 0.82rem;
}

.asplus-desk-page {
	padding: 5px 11px;
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.12));
	border-radius: 9px;
	color: var(--asplus-muted, #a79f95);
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none;
}

.asplus-desk-page:hover { color: var(--asplus-text, #f5f2ee); }

.asplus-desk-page.is-current {
	border-color: var(--dash-gold);
	background: rgba(216, 174, 106, 0.14);
	color: var(--dash-gold);
}

/* Settle-by-table lives behind a disclosure so it never competes with the list. */
.asplus-desk-settle {
	padding: 12px 14px;
	background: var(--asplus-surface-2, #1f1e1c);
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.1));
	border-radius: 12px;
}

.asplus-desk-settle summary {
	color: var(--asplus-text, #f5f2ee);
	font-size: 0.9rem;
	font-weight: 700;
	cursor: pointer;
}

.asplus-desk-settle table { margin-block-start: 12px; }

/* -------------------------------------------------------- kitchen tickets */

.asplus-dash-tickets {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.asplus-dash-ticket {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 14px;
	background: var(--asplus-surface-2, #1f1e1c);
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.1));
	border-inline-start: 4px solid var(--dash-amber);
	border-radius: 12px;
}

.asplus-dash-ticket--ready {
	border-inline-start-color: var(--dash-green);
}

.asplus-dash-ticket-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px;
	width: 100%;
}

.asplus-dash-ticket-time {
	margin-inline-start: auto;
	color: var(--asplus-muted, #a79f95);
	font-size: 0.85rem;
}

.asplus-dash-ticket-items {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.9rem;
}

.asplus-dash-ticket-more,
.asplus-dash-ticket-note {
	color: var(--asplus-muted, #a79f95);
	font-size: 0.82rem;
}

.asplus-dash-ticket-note {
	margin: 0;
}

/* ------------------------------------------------------- featured dish card */

.asplus-dash-dish {
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--asplus-text, #f5f2ee);
	text-decoration: none;
}

.asplus-dash-dish-img {
	display: block;
	width: 88px;
	height: 88px;
	flex: none;
	overflow: hidden;
	border-radius: 14px;
}

.asplus-dash-dish-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.asplus-dash-dish-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.asplus-dash-dish-text span {
	color: var(--dash-gold);
	font-weight: 800;
}

.asplus-dash-updated {
	margin: 0;
	color: var(--asplus-muted, #a79f95);
	font-size: 0.8rem;
}

.asplus-dash-updated a {
	margin-inline-start: 8px;
	color: var(--dash-gold);
}

.asplus-dash-warn {
	display: block;
	margin-block-start: 4px;
	color: var(--dash-amber);
}

/* ------------------------------------------------------------------ phones */

@media (max-width: 960px) {
	.asplus-dash {
		display: block;
		padding: 14px 12px 24px;
	}

	.asplus-dash-side {
		display: none;
	}

	/* The rows dissolve so the sections can be ordered like an app home. */
	.asplus-dash-row {
		display: contents;
	}

	.asplus-dash-hero { order: 0; }
	.asplus-dash-auth { order: 1; }
	.asplus-dash-card--quick { order: 1; }
	.asplus-dash-kpis { order: 2; }
	.asplus-dash-card--orders,
	.asplus-dash-card--queue,
	.asplus-dash-card--dish { order: 3; }
	.asplus-dash-card--status { order: 4; }
	.asplus-dash-card--sales { order: 5; }
	.asplus-dash-updated { order: 6; }

	.asplus-dash-hero {
		min-height: 0;
		padding: 18px 18px;
	}

	.asplus-dash-hello {
		font-size: 1.35rem;
	}

	.asplus-dash-sub {
		font-size: 0.88rem;
	}

	.asplus-dash-card--quick {
		padding: 0;
		background: none;
		border: 0;
	}

	.asplus-dash-card--quick > .asplus-dash-card-title {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.asplus-dash-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.asplus-dash-tile {
		min-height: 112px;
		font-size: 0.88rem;
	}

	.asplus-dash-tile-icon .asplus-icon {
		width: 34px;
		height: 34px;
	}

	.asplus-dash-kpis {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.asplus-dash-kpi {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding: 14px;
	}

	.asplus-dash-kpi-icon {
		width: 42px;
		height: 42px;
	}

	.asplus-dash-kpi-icon .asplus-icon {
		width: 22px;
		height: 22px;
	}

	.asplus-dash-kpi-value {
		font-size: 1.25rem;
	}
}

@media (max-width: 700px) {
	.asplus-dash-hero-brand {
		display: none;
	}

	.asplus-dash-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.asplus-dash-table,
	.asplus-dash-table tbody {
		display: block;
	}

	.asplus-dash-table tr {
		display: block;
		margin-block-end: 10px;
		padding: 10px 12px;
		background: var(--asplus-surface-2, #1f1e1c);
		border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.1));
		border-radius: 12px;
	}

	.asplus-dash-table tbody tr:last-child td {
		border-block-end: 0;
	}

	.asplus-dash-table td {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 6px 0;
		border: 0;
	}

	.asplus-dash-table td::before {
		content: attr(data-label);
		color: var(--asplus-muted, #a79f95);
		font-size: 0.8rem;
	}

	/* The desk is a card list on a phone, so the sideways scroll stops applying. */
	.asplus-desk-scroll { overflow: visible; }
	.asplus-desk-table { min-width: 0; }

	.asplus-desk-table td {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
	}

	.asplus-desk-table td::before { flex: none; }

	.asplus-desk-actions,
	.asplus-desk-print { width: 100%; }

	.asplus-desk-btn { justify-content: center; }

	.asplus-desk-tab {
		flex: 1 1 auto;
		justify-content: center;
		padding: 7px 10px;
		font-size: 0.8rem;
	}

	.asplus-desk-refresh { margin-inline-start: 0; }

	.asplus-dash-donut svg {
		width: 150px;
		height: 150px;
	}
}

/* -------------------------------------------------------------- waiter desk */

.asplus-dash-card--waiter {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 18px;
}

.asplus-waiter-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 16px;
	align-items: start;
}

.asplus-waiter-menu,
.asplus-waiter-filters {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

/* Category chips: the same shape as the desk's status tabs, because they do the
 * same job — one tap, and the table below changes. */
.asplus-waiter-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.asplus-waiter-cat {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.12));
	border-radius: 999px;
	color: var(--asplus-muted, #a79f95);
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.asplus-waiter-cat:hover {
	border-color: rgba(216, 174, 106, 0.45);
	color: var(--asplus-text, #f5f2ee);
}

.asplus-waiter-cat.is-active {
	border-color: var(--dash-gold);
	background: rgba(216, 174, 106, 0.14);
	color: var(--dash-gold);
}

.asplus-waiter-cat.is-active .asplus-desk-tab-count {
	background: var(--dash-gold);
	color: var(--dash-ink, #1b1a18);
}

/* The product table. */
.asplus-waiter-table { min-width: 620px; }

.asplus-waiter-row.is-off { opacity: 0.55; }

.asplus-waiter-item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.asplus-waiter-thumb {
	width: 44px;
	height: 44px;
	flex: none;
	border-radius: 10px;
	object-fit: cover;
	background: var(--asplus-surface-2, #1f1e1c);
}

.asplus-waiter-thumb--empty {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--asplus-muted, #a79f95);
}

.asplus-waiter-thumb--empty .asplus-icon {
	width: 20px;
	height: 20px;
}

.asplus-waiter-names {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.asplus-waiter-cats-label {
	color: var(--asplus-muted, #a79f95);
	font-size: 0.8rem;
}

.asplus-waiter-price {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.asplus-waiter-stock {
	display: inline-block;
	padding: 3px 9px;
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.14));
	border-radius: 999px;
	color: var(--asplus-muted, #a79f95);
	font-size: 0.76rem;
	font-weight: 700;
	white-space: nowrap;
}

.asplus-waiter-stock.is-in {
	border-color: rgba(47, 158, 99, 0.45);
	color: #5fd49b;
}

.asplus-waiter-stock.is-off {
	border-color: rgba(229, 72, 77, 0.45);
	color: #ff7b80;
}

/* + / − */
.asplus-waiter-col-step { width: 148px; }

.asplus-waiter-step {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px;
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.14));
	border-radius: 12px;
	background: var(--asplus-surface, #161615);
}

.asplus-waiter-step.has-qty {
	border-color: var(--dash-gold);
	background: rgba(216, 174, 106, 0.1);
}

.asplus-waiter-step-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 9px;
	background: var(--asplus-surface-2, #1f1e1c);
	color: var(--asplus-text, #f5f2ee);
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.asplus-waiter-step-btn .asplus-icon {
	width: 16px;
	height: 16px;
}

.asplus-waiter-step-btn:hover:not(:disabled) {
	background: var(--dash-gold);
	color: var(--dash-ink, #1b1a18);
}

.asplus-waiter-step-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.asplus-waiter-step-btn--plus {
	background: rgba(213, 48, 44, 0.16);
	color: var(--asplus-text, #f5f2ee);
}

.asplus-waiter-qty {
	min-width: 28px;
	color: var(--dash-gold);
	font-size: 0.95rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	text-align: center;
}

/* The draft order. */
.asplus-waiter-cart {
	padding: 14px;
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.14));
	border-radius: var(--dash-radius, 16px);
	background: var(--asplus-surface, #161615);
}

.asplus-waiter-cart-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	color: var(--dash-gold);
	font-size: 0.98rem;
}

.asplus-waiter-cart-title .asplus-icon {
	width: 18px;
	height: 18px;
}

.asplus-waiter-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.asplus-waiter-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
	color: var(--asplus-muted, #a79f95);
	font-size: 0.78rem;
	font-weight: 700;
}

.asplus-waiter-field select,
.asplus-waiter-field textarea {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.18));
	border-radius: 10px;
	background: var(--asplus-surface-2, #1f1e1c);
	color: var(--asplus-text, #f5f2ee);
	font-family: inherit;
	font-size: 0.88rem;
	font-weight: 600;
}

.asplus-waiter-field textarea { resize: vertical; }

.asplus-waiter-field select:focus-visible,
.asplus-waiter-field textarea:focus-visible {
	outline: 2px solid var(--dash-gold);
	outline-offset: 1px;
}

.asplus-waiter-lines {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-height: 38vh;
	margin: 0;
	padding: 8px 0 0;
	overflow-y: auto;
	list-style: none;
	border-block-start: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.12));
}

.asplus-waiter-line {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 8px;
}

.asplus-waiter-line-name {
	color: var(--asplus-text, #f5f2ee);
	font-size: 0.85rem;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.asplus-waiter-line-step {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.asplus-waiter-line-step b {
	min-width: 20px;
	color: var(--dash-gold);
	font-size: 0.85rem;
	font-variant-numeric: tabular-nums;
	text-align: center;
}

.asplus-waiter-line-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	padding: 0;
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.16));
	border-radius: 7px;
	background: var(--asplus-surface-2, #1f1e1c);
	color: var(--asplus-text, #f5f2ee);
	font-size: 0.95rem;
	line-height: 1;
	cursor: pointer;
}

.asplus-waiter-line-btn:hover {
	border-color: var(--dash-gold);
	color: var(--dash-gold);
}

.asplus-waiter-line-sum {
	color: var(--asplus-muted, #a79f95);
	font-size: 0.8rem;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.asplus-waiter-empty {
	padding: 10px 0;
	color: var(--asplus-muted, #a79f95);
	font-size: 0.82rem;
	text-align: center;
}

.asplus-waiter-total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0;
	padding-block-start: 10px;
	border-block-start: 1px dashed var(--asplus-border, rgba(245, 242, 238, 0.16));
	color: var(--asplus-muted, #a79f95);
	font-size: 0.82rem;
	font-weight: 700;
}

.asplus-waiter-total strong {
	color: var(--dash-gold);
	font-size: 1.05rem;
	font-variant-numeric: tabular-nums;
}

.asplus-waiter-send {
	width: 100%;
	justify-content: center;
	padding: 11px 14px;
	font-size: 0.88rem;
}

.asplus-waiter-send:disabled {
	background: var(--asplus-surface-2, #1f1e1c);
	border-color: var(--asplus-border, rgba(245, 242, 238, 0.14));
	color: var(--asplus-muted, #a79f95);
	cursor: not-allowed;
	filter: none;
}

.asplus-waiter-clear {
	padding: 4px;
	border: 0;
	background: none;
	color: var(--asplus-muted, #a79f95);
	font-family: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	cursor: pointer;
	text-decoration: underline;
}

.asplus-waiter-clear:hover { color: #ff7b80; }

.asplus-waiter-nojs {
	margin: 0;
	color: var(--dash-amber);
	font-size: 0.8rem;
	font-weight: 700;
}

@media (min-width: 1081px) {
	/* The cart follows the waiter down a long menu. */
	.asplus-waiter-cart {
		position: sticky;
		inset-block-start: 18px;
	}
}

/* ----------------------------------------------------------- kitchen desk */

/* The cook's screen is read from a metre away, so the type is larger and the
 * buttons are touch-sized. Everything structural — head, tabs, table, pager —
 * is the cashier desk's CSS; only the cells differ. */

.asplus-kitchen-tools {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.asplus-kitchen-auto[aria-pressed='true'] {
	border-color: var(--dash-gold);
	background: rgba(216, 174, 106, 0.16);
	color: var(--dash-gold);
}

/* The dishes, which are the whole reason the row exists. */
.asplus-kitchen-items {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.92rem;
	font-weight: 600;
}

.asplus-kitchen-items li {
	display: flex;
	align-items: baseline;
	gap: 7px;
}

.asplus-kitchen-qty {
	flex: none;
	min-width: 26px;
	padding: 1px 7px;
	border-radius: 8px;
	background: rgba(216, 174, 106, 0.14);
	color: var(--dash-gold);
	font-size: 0.82rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	text-align: center;
}

.asplus-kitchen-note {
	margin: 7px 0 0;
	padding: 6px 9px;
	border-inline-start: 3px solid var(--dash-amber);
	border-radius: 8px;
	background: rgba(240, 164, 58, 0.1);
	color: var(--asplus-text, #f5f2ee);
	font-size: 0.82rem;
	font-weight: 600;
}

/* How long the ticket has been sitting on this stage. */
.asplus-kitchen-wait {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	border: 1px solid transparent;
	border-radius: 9px;
	font-size: 0.86rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.asplus-kitchen-wait.is-fresh {
	border-color: rgba(47, 158, 99, 0.42);
	background: rgba(47, 158, 99, 0.12);
	color: #7fd6a8;
}

.asplus-kitchen-wait.is-warm {
	border-color: rgba(240, 164, 58, 0.45);
	background: rgba(240, 164, 58, 0.13);
	color: #ffc879;
}

.asplus-kitchen-wait.is-late {
	border-color: rgba(229, 72, 77, 0.5);
	background: rgba(229, 72, 77, 0.15);
	color: #ff8f93;
}

/* The same five-step chain the customer sees, narrowed to dots. */
.asplus-kitchen-track {
	display: inline-flex;
	gap: 4px;
	margin-block-start: 6px;
}

.asplus-kitchen-dot {
	width: 9px;
	height: 9px;
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.24));
	border-radius: 50%;
	background: transparent;
}

.asplus-kitchen-dot.is-done {
	border-color: var(--dash-green);
	background: var(--dash-green);
}

.asplus-kitchen-dot.is-current {
	border-color: var(--dash-gold);
	background: var(--dash-gold);
	box-shadow: 0 0 0 3px rgba(216, 174, 106, 0.18);
}

/* One button per stage the state engine accepts from here. */
.asplus-kitchen-actions {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 160px;
}

.asplus-kitchen-actions .asplus-desk-form { margin-block-end: 0; }

.asplus-kitchen-btn {
	width: 100%;
	justify-content: center;
	padding: 10px 16px;
	font-size: 0.88rem;
}

.asplus-kitchen-btn--start {
	background: var(--dash-amber);
	border-color: var(--dash-amber);
	color: var(--dash-ink, #1b1a18);
}

.asplus-kitchen-btn--done {
	background: var(--dash-green);
	border-color: var(--dash-green);
	color: #fff;
}

.asplus-kitchen-btn--handoff {
	background: var(--dash-blue);
	border-color: var(--dash-blue);
	color: #fff;
}

.asplus-kitchen-none {
	color: var(--asplus-muted, #a79f95);
	font-size: 0.8rem;
	font-weight: 600;
}

.asplus-kitchen-row.is-stopped {
	opacity: 0.55;
}

.asplus-kitchen-row td:first-child {
	white-space: nowrap;
}

.asplus-kitchen-legend {
	margin: 12px 0 0;
	color: var(--asplus-muted, #a79f95);
	font-size: 0.78rem;
}

@media (max-width: 700px) {
	.asplus-kitchen-actions {
		width: 100%;
		flex-direction: row;
		flex-wrap: wrap;
	}

	.asplus-kitchen-btn { flex: 1 1 auto; }
}

/* -------------------------------------------------------------------------
 * Kitchen stock board (Core 1.15) — what is left to cook
 *
 * Same desk furniture as the queue above it: chips, a wide scrolling table, real form buttons.
 * What is new is the number column: «باقی‌مانده» is the only figure the cook watches, so it is
 * the biggest thing in the row and it turns red the moment it reaches zero.
 * ---------------------------------------------------------------------- */

.asplus-stock-live {
	margin-inline-end: auto;
	color: var(--asplus-muted, #a79f95);
	font-size: 0.78rem;
	font-weight: 600;
}

.asplus-stock-dish {
	display: flex;
	align-items: center;
	gap: 10px;
}

.asplus-stock-dish img {
	width: 42px;
	height: 42px;
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.14));
	border-radius: 10px;
	object-fit: cover;
	flex: 0 0 auto;
}

.asplus-stock-dish strong { display: block; }

.asplus-stock-dish small {
	display: block;
	margin-block-start: 2px;
	color: var(--asplus-muted, #a79f95);
	font-size: 0.74rem;
	unicode-bidi: embed;
	direction: ltr;
	text-align: start;
}

.asplus-stock-woo {
	display: inline-block;
	margin-block-start: 4px;
	color: var(--dash-amber);
	font-size: 0.72rem;
	font-weight: 600;
}

.asplus-stock-state {
	display: inline-flex;
	flex-direction: column;
	gap: 2px;
	padding: 5px 12px;
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.14));
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 700;
	white-space: nowrap;
}

.asplus-stock-state small {
	font-size: 0.66rem;
	font-weight: 600;
	opacity: 0.85;
}

.asplus-stock-state.is-open {
	color: var(--asplus-muted, #a79f95);
}

.asplus-stock-state.is-limited {
	border-color: rgba(240, 164, 58, 0.5);
	background: rgba(240, 164, 58, 0.13);
	color: #ffc879;
}

.asplus-stock-state.is-out {
	border-color: rgba(229, 72, 77, 0.55);
	background: rgba(229, 72, 77, 0.16);
	color: #ff8f93;
}

.asplus-stock-left {
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--dash-green);
}

.asplus-stock-left.is-out { color: var(--dash-red); }

.asplus-stock-row.is-sold_out .asplus-stock-dish strong { color: var(--asplus-muted, #a79f95); }

.asplus-stock-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.asplus-stock-qty {
	width: 76px;
	padding: 8px 10px;
	background: var(--asplus-surface-2, #1f1e1c);
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.14));
	border-radius: 10px;
	color: var(--asplus-text, #f5f2ee);
	font-family: inherit;
	font-size: 0.88rem;
	text-align: center;
}

.asplus-stock-qty:focus-visible {
	outline: 2px solid var(--dash-gold);
	outline-offset: 2px;
}

.asplus-stock-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.asplus-stock-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 8px 12px;
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.18));
	border-radius: 10px;
	background: transparent;
	color: var(--asplus-text, #f5f2ee);
	font-family: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.asplus-stock-btn svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
}

.asplus-stock-btn:hover { border-color: var(--dash-gold); }

.asplus-stock-btn.is-set {
	border-color: var(--dash-gold);
	background: var(--dash-gold);
	color: var(--dash-ink, #1b1a18);
}

.asplus-stock-btn.is-more {
	border-color: rgba(47, 158, 99, 0.55);
	background: rgba(47, 158, 99, 0.12);
	color: #7fd6a8;
}

.asplus-stock-btn.is-less {
	border-color: rgba(240, 164, 58, 0.5);
	background: rgba(240, 164, 58, 0.12);
	color: #ffc879;
}

.asplus-stock-btn.is-out {
	border-color: var(--dash-red);
	background: rgba(229, 72, 77, 0.16);
	color: #ff8f93;
}

.asplus-stock-btn.is-reset { color: var(--asplus-muted, #a79f95); }

.asplus-stock-btn.is-reset:hover { color: var(--asplus-text, #f5f2ee); }

.asplus-stock-legend {
	margin: 12px 0 0;
	color: var(--asplus-muted, #a79f95);
	font-size: 0.78rem;
	line-height: 1.9;
	border-inline-start: 3px solid var(--dash-gold);
	padding-inline-start: 12px;
}

@media (max-width: 700px) {
	.asplus-stock-form { width: 100%; }

	.asplus-stock-buttons { flex: 1 1 auto; }

	.asplus-stock-btn { flex: 1 1 auto; justify-content: center; }
}

/* The waiter reads the same board, so the same colours mean the same thing there: amber is
 * a limited number of portions, red is a dish the kitchen has closed for the day. */
.asplus-waiter-stock.is-limit {
	border-color: rgba(240, 164, 58, 0.5);
	background: rgba(240, 164, 58, 0.12);
	color: #ffc879;
}

.asplus-waiter-step.is-capped { border-color: rgba(240, 164, 58, 0.5); }

@media (max-width: 1080px) {
	.asplus-waiter-body {
		grid-template-columns: minmax(0, 1fr);
	}

	.asplus-waiter-lines { max-height: none; }
}

@media (max-width: 700px) {
	.asplus-waiter-table { min-width: 0; }

	.asplus-waiter-row > td {
		align-items: center;
		flex-direction: row;
	}

	.asplus-waiter-col-step { width: auto; }

	.asplus-waiter-step { margin-inline-start: auto; }

	.asplus-waiter-cat {
		flex: 1 1 auto;
		justify-content: center;
		padding: 7px 10px;
		font-size: 0.8rem;
	}
}

/* The customer's own follow-up: one card per order, with the stepper from theme.css. */
.asplus-tracker-list {
	display: grid;
	gap: 14px;
}

.asplus-tracker-row {
	padding: 14px;
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.12));
	border-radius: 12px;
	background: var(--asplus-surface-2, #1f1e1c);
}

.asplus-tracker-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-block-end: 8px;
}

.asplus-tracker-head strong {
	font-size: 1rem;
	font-variant-numeric: tabular-nums;
}

.asplus-tracker-link {
	margin-inline-start: auto;
	color: var(--dash-gold);
	font-size: 0.8rem;
	font-weight: 700;
}

.asplus-tracker-items {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
	color: var(--asplus-muted, #a79f95);
	font-size: 0.85rem;
}

.asplus-tracker-note {
	margin: 0 0 10px;
	padding: 6px 10px;
	border-inline-start: 3px solid var(--dash-amber);
	border-radius: 8px;
	background: rgba(240, 164, 58, 0.1);
	font-size: 0.82rem;
}

.asplus-tracker-legend {
	margin: 12px 0 0;
	color: var(--asplus-muted, #a79f95);
	font-size: 0.78rem;
}

/* ------------------------------------------------- waiter table-move desk */

/* Two jobs in one card, and the waiter must never confuse them: the manual move
 * at the top is theirs to take, the requests below are somebody else's question
 * waiting for an answer. So the requests read as cards, not as table rows. */

.asplus-dash-card--moves,
.asplus-dash-card--prefs {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 18px;
}

.asplus-move-subtitle,
.asplus-prefs-subtitle {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 6px 0 0;
	color: var(--dash-gold);
	font-size: 0.92rem;
	font-weight: 800;
}

.asplus-move-form,
.asplus-prefs-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.asplus-move-picks,
.asplus-prefs-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.asplus-move-field,
.asplus-prefs-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
	color: var(--asplus-muted, #a79f95);
	font-size: 0.78rem;
	font-weight: 700;
}

.asplus-prefs-field--wide { grid-column: 1 / -1; }

.asplus-move-field select,
.asplus-prefs-field select,
.asplus-prefs-field textarea,
.asplus-move-field input[type='text'],
.asplus-prefs-field input[type='text'] {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.18));
	border-radius: 10px;
	background: var(--asplus-surface-2, #1f1e1c);
	color: var(--asplus-text, #f5f2ee);
	font-family: inherit;
	font-size: 0.88rem;
	font-weight: 600;
}

.asplus-prefs-field textarea { resize: vertical; }

.asplus-move-field select:focus-visible,
.asplus-prefs-field select:focus-visible,
.asplus-prefs-field textarea:focus-visible,
.asplus-move-field input[type='text']:focus-visible,
.asplus-prefs-field input[type='text']:focus-visible {
	outline: 2px solid var(--dash-gold);
	outline-offset: 1px;
}

.asplus-move-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.asplus-move-hint,
.asplus-prefs-hint {
	margin: 0;
	color: var(--asplus-muted, #a79f95);
	font-size: 0.8rem;
	line-height: 1.7;
}

.asplus-move-preview {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 12px;
	border: 1px dashed var(--asplus-border, rgba(245, 242, 238, 0.2));
	border-radius: var(--dash-radius, 16px);
	background: var(--asplus-surface, #161615);
}

.asplus-move-table { min-width: 620px; }

.asplus-move-paid {
	display: inline-block;
	margin-inline-start: 6px;
	padding: 2px 8px;
	border: 1px solid rgba(47, 158, 99, 0.45);
	border-radius: 999px;
	color: #5fd49b;
	font-size: 0.74rem;
	font-weight: 700;
	white-space: nowrap;
}

.asplus-move-items {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.84rem;
	font-weight: 600;
}

.asplus-move-more {
	color: var(--dash-gold);
	font-weight: 700;
}

.asplus-move-note {
	padding: 4px 8px;
	border-inline-start: 3px solid var(--dash-amber);
	border-radius: 7px;
	background: rgba(240, 164, 58, 0.1);
	color: var(--asplus-text, #f5f2ee);
	font-size: 0.8rem;
}

.asplus-move-requests {
	display: grid;
	gap: 12px;
}

.asplus-move-request {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 14px;
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.14));
	border-radius: 12px;
	background: var(--asplus-surface-2, #1f1e1c);
}

.asplus-move-request-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.asplus-move-request-route {
	font-size: 1rem;
	font-variant-numeric: tabular-nums;
}

.asplus-move-request-count {
	margin-inline-start: auto;
	color: var(--dash-amber);
	font-size: 0.8rem;
	font-weight: 700;
}

.asplus-move-request-note {
	margin: 0;
	padding: 8px 11px;
	border-inline-start: 3px solid var(--dash-gold);
	border-radius: 8px;
	background: rgba(216, 174, 106, 0.09);
	font-size: 0.85rem;
	line-height: 1.7;
}

.asplus-move-request-note.is-empty {
	border-inline-start-color: var(--asplus-border, rgba(245, 242, 238, 0.24));
	background: none;
	color: var(--asplus-muted, #a79f95);
	font-size: 0.8rem;
}

.asplus-move-request-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.asplus-move-answer {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 10px;
	padding: 11px;
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.12));
	border-radius: 10px;
	background: var(--asplus-surface, #161615);
}

.asplus-move-answer--reject .asplus-move-field { flex: 1 1 160px; }

.asplus-move-field--mini { flex: 1 1 130px; }

/* The source table is not a picker on the move form — it is the table the waiter
 * has just looked at, so it reads as a fact, not as a choice. */
.asplus-move-field--locked strong {
	padding: 8px 10px;
	border: 1px dashed rgba(216, 174, 106, 0.45);
	border-radius: 10px;
	background: rgba(216, 174, 106, 0.08);
	color: var(--dash-gold);
	font-size: 0.9rem;
	font-variant-numeric: tabular-nums;
}

.asplus-move-picks--one { grid-template-columns: minmax(0, 1fr); }

.asplus-move-form--go {
	padding: 12px;
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.14));
	border-radius: var(--dash-radius, 16px);
	background: var(--asplus-surface, #161615);
}

/* ------------------------------------------------- guest seat/order panel */

/* The warning is the feature. It sits above everything the guest can touch, in
 * the one colour the dashboard saves for "stop and read". */
.asplus-prefs-alert {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 13px 15px;
	border: 1px solid rgba(240, 164, 58, 0.42);
	border-radius: 14px;
	background: rgba(240, 164, 58, 0.1);
}

.asplus-prefs-alert-icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: rgba(240, 164, 58, 0.16);
	color: var(--dash-amber);
}

.asplus-prefs-alert-icon .asplus-icon {
	width: 19px;
	height: 19px;
}

.asplus-prefs-alert-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: var(--asplus-text, #f5f2ee);
	font-size: 0.84rem;
	font-weight: 600;
	line-height: 1.8;
}

.asplus-prefs-alert-text strong {
	color: var(--dash-amber);
	font-size: 0.92rem;
}

.asplus-prefs-orders {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.asplus-prefs-order {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 13px 14px;
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.14));
	border-radius: 12px;
	background: var(--asplus-surface-2, #1f1e1c);
}

.asplus-prefs-order-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	font-variant-numeric: tabular-nums;
}

.asplus-prefs-type,
.asplus-prefs-table {
	display: inline-flex;
	align-items: center;
	padding: 2px 9px;
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.18));
	border-radius: 999px;
	color: var(--asplus-muted, #a79f95);
	font-size: 0.76rem;
	font-weight: 700;
	white-space: nowrap;
}

.asplus-prefs-type {
	border-color: rgba(216, 174, 106, 0.42);
	color: var(--dash-gold);
}

.asplus-prefs-items {
	margin: 0;
	color: var(--asplus-muted, #a79f95);
	font-size: 0.84rem;
	line-height: 1.8;
}

.asplus-prefs-locked {
	margin: 0;
	color: var(--dash-amber);
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.7;
}

.asplus-prefs-switch {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 10px;
}

.asplus-prefs-switch .asplus-prefs-field { flex: 1 1 150px; }

.asplus-prefs-pending {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 13px 14px;
	border: 1px dashed rgba(240, 164, 58, 0.45);
	border-radius: 12px;
	background: rgba(240, 164, 58, 0.08);
}

.asplus-prefs-route {
	font-variant-numeric: tabular-nums;
}

.asplus-prefs-note {
	margin: 0;
	padding: 7px 10px;
	border-inline-start: 3px solid var(--dash-gold);
	border-radius: 8px;
	background: rgba(216, 174, 106, 0.09);
	font-size: 0.83rem;
	line-height: 1.7;
}

.asplus-prefs-wait {
	margin: 0;
	color: var(--asplus-muted, #a79f95);
	font-size: 0.8rem;
	font-weight: 600;
}

.asplus-prefs-history {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.asplus-prefs-history-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	padding: 11px 13px;
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.12));
	border-radius: 11px;
	background: var(--asplus-surface, #161615);
}

.asplus-prefs-history-item.is-approved { border-color: rgba(47, 158, 99, 0.4); }

.asplus-prefs-history-item.is-rejected { border-color: rgba(229, 72, 77, 0.38); }

.asplus-prefs-history-item > .asplus-prefs-note,
.asplus-prefs-history-item > .asplus-prefs-moved {
	flex: 1 1 100%;
}

.asplus-prefs-moved {
	margin: 0;
	color: #5fd49b;
	font-size: 0.81rem;
	font-weight: 700;
}

@media (max-width: 700px) {
	.asplus-move-picks,
	.asplus-prefs-fields,
	.asplus-move-request-actions {
		grid-template-columns: minmax(0, 1fr);
	}

	.asplus-move-table { min-width: 0; }

	.asplus-move-request-count {
		margin-inline-start: 0;
		flex: 1 1 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.asplus-dash *,
	.asplus-dash *::before,
	.asplus-dash *::after {
		transition: none !important;
	}
}

/* ------------------------------------------------------------------ in-panel guide
   Native <details>, so it opens and closes with no script: the kiosk browser and the hall
   tablet both render it the same way. */

.asplus-guide {
	margin-top: 18px;
}

.asplus-guide-item {
	border: 1px solid var(--asplus-border, rgba(245, 242, 238, 0.1));
	border-radius: 12px;
	background: var(--asplus-surface-soft, rgba(245, 242, 238, 0.03));
	margin-bottom: 8px;
	overflow: hidden;
}

.asplus-guide-item:last-of-type {
	margin-bottom: 0;
}

.asplus-guide-item > summary {
	list-style: none;
	cursor: pointer;
	padding: 12px 14px;
	font-weight: 700;
	font-size: 0.95rem;
	display: flex;
	align-items: center;
	gap: 10px;
	transition: color 0.18s ease, background 0.18s ease;
}

.asplus-guide-item > summary::-webkit-details-marker {
	display: none;
}

.asplus-guide-item > summary::before {
	content: "";
	flex: 0 0 auto;
	width: 7px;
	height: 7px;
	border-inline-end: 2px solid var(--asplus-accent, #d8ae6a);
	border-bottom: 2px solid var(--asplus-accent, #d8ae6a);
	transform: rotate(45deg);
	transition: transform 0.18s ease;
}

.asplus-guide-item[open] > summary::before {
	/* Closed points forward (the left, on an RTL page); open drops to a V. */
	transform: rotate(-45deg);
}

.asplus-guide-item > summary:hover {
	color: var(--asplus-accent, #d8ae6a);
	background: rgba(216, 174, 106, 0.07);
}

.asplus-guide-item > summary:focus-visible {
	outline: 2px solid var(--asplus-accent, #d8ae6a);
	outline-offset: -2px;
}

.asplus-guide-steps {
	margin: 0;
	padding: 4px 16px 12px;
	list-style: none;
	counter-reset: asplus-guide-step;
}

.asplus-guide-steps li {
	counter-increment: asplus-guide-step;
	position: relative;
	padding-inline-start: 30px;
	margin-bottom: 7px;
	font-size: 0.9rem;
	line-height: 1.85;
	color: var(--asplus-text, #f5f2ee);
}

.asplus-guide-steps li::before {
	content: counter(asplus-guide-step, persian);
	position: absolute;
	inset-inline-start: 0;
	top: 3px;
	width: 21px;
	height: 21px;
	border-radius: 50%;
	background: rgba(216, 174, 106, 0.13);
	border: 1px solid rgba(216, 174, 106, 0.35);
	color: var(--asplus-accent, #d8ae6a);
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 19px;
	text-align: center;
}

.asplus-guide-note {
	margin: 0;
	padding: 9px 14px 12px 14px;
	border-top: 1px dashed var(--asplus-border, rgba(245, 242, 238, 0.1));
	background: rgba(216, 174, 106, 0.06);
	border-inline-start: 3px solid var(--asplus-accent, #d8ae6a);
	font-size: 0.85rem;
	line-height: 1.8;
	color: var(--asplus-muted, #a79f95);
}

.asplus-guide-foot {
	margin: 12px 0 0;
	font-size: 0.8rem;
	color: var(--asplus-muted, #a79f95);
}
