:root {
	/* Style 1 — Teal (default portal theme). */
	--ww-bg: #eef2f6;
	--ww-surface: #ffffff;
	--ww-text: #1f2937;
	--ww-muted: #6b7280;
	--ww-border: #e5e7eb;
	--ww-primary: #0f766e;
	--ww-primary-hover: #0d6660;
	--ww-primary-soft: #e6f4f3;
	--ww-danger: #dc2626;
	--ww-warning: #f59e0b;
	--ww-radius: 16px;
	--ww-radius-sm: 12px;
	--ww-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.06);
	--ww-shadow-card: 0 1px 2px rgba(15, 23, 42, 0.05), 0 4px 14px rgba(15, 23, 42, 0.06);
}

html {
	height: 100%;
}

body.woo-warehouse-portal {
	margin: 0;
	background: var(--ww-bg);
	color: var(--ww-text);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.5;
	height: 100%;
	overflow: hidden;
	-webkit-font-smoothing: antialiased;
}

.ww-portal {
	display: flex;
	flex-direction: column;
	height: 100vh;
	height: 100dvh;
	min-height: 0;
	overflow: hidden;
}

.ww-portal__shell--wide {
	max-width: none;
	padding: 18px 24px 24px;
	flex: 1;
	min-height: 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.ww-portal__shell--narrow {
	max-width: 440px;
	margin: 0 auto;
	padding-top: 64px;
}

body.woo-warehouse-portal:has(.ww-portal--auth) {
	overflow: auto;
}

.ww-portal--auth {
	min-height: 100vh;
	min-height: 100dvh;
	overflow: auto;
	background:
		radial-gradient(circle at top right, rgba(15, 118, 110, 0.12), transparent 42%),
		radial-gradient(circle at bottom left, rgba(15, 118, 110, 0.08), transparent 38%),
		var(--ww-bg);
}

.ww-portal__shell--auth {
	max-width: 420px;
	width: 100%;
	margin: 0 auto;
	padding: 40px 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 100vh;
	min-height: 100dvh;
	box-sizing: border-box;
}

.ww-login-card {
	overflow: hidden;
	background: var(--ww-surface);
	border: 1px solid var(--ww-border);
	border-radius: 20px;
	box-shadow: var(--ww-shadow);
}

.ww-login-card__hero {
	padding: 28px 28px 24px;
	background: linear-gradient(145deg, var(--ww-primary) 0%, #115e59 100%);
	color: #fff;
	text-align: center;
}

.ww-login-card__icon {
	width: 52px;
	height: 52px;
	margin: 0 auto 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.ww-login-card__icon svg {
	width: 28px;
	height: 28px;
}

.ww-login-card__hero h1 {
	margin: 12px 0 8px;
	font-size: 28px;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.ww-login-card__hero p {
	margin: 0;
	max-width: 28ch;
	margin-inline: auto;
	color: rgba(255, 255, 255, 0.9);
	font-size: 14px;
	line-height: 1.5;
}

.ww-badge--light {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.22);
}

.ww-login-card__body {
	padding: 28px;
	overflow: hidden;
}

.ww-login-card__body .ww-form--login {
	width: 100%;
	min-width: 0;
}

.ww-login-card__body .ww-field {
	gap: 8px;
	width: 100%;
	min-width: 0;
}

.ww-login-card__body .ww-field span {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ww-muted);
}

.ww-login-card__body .ww-field input {
	box-sizing: border-box;
	display: block;
	width: 100%;
	max-width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1.5px solid #d1d5db;
	border-radius: 12px;
	background: #f8fafc;
	color: var(--ww-text);
	box-shadow: none;
	transition: border-color 0.15s ease, background-color 0.15s ease;
	-webkit-appearance: none;
	appearance: none;
}

.ww-login-card__body .ww-field input:hover {
	border-color: #9ca3af;
	background: #fff;
}

.ww-login-card__body .ww-field input:focus {
	outline: none;
	border-color: var(--ww-primary);
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--ww-primary);
}

.ww-login-card__body .ww-field input::placeholder {
	color: #9ca3af;
	opacity: 1;
}

.ww-login-card__options {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 2px;
}

.ww-login-card__body .ww-checkbox {
	padding: 2px 0;
}

.ww-login-footnote {
	margin: 18px 0 0;
	text-align: center;
	color: var(--ww-muted);
	font-size: 13px;
	font-weight: 600;
}

.ww-button--block {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-height: 48px;
	padding: 13px 18px;
	border-radius: 12px;
}

.ww-field span {
	color: var(--ww-text);
	font-size: 13px;
	font-weight: 700;
}

.ww-field input:focus,
.ww-field select:focus,
.ww-toolbar__field select:focus,
.ww-toolbar__search input:focus {
	outline: none;
	border-color: var(--ww-primary);
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.ww-login {
	padding: 32px;
	border-radius: var(--ww-radius);
	box-shadow: var(--ww-shadow);
}

.ww-login__brand h1 {
	margin: 12px 0 8px;
	font-size: 28px;
}

.ww-topbar {
	background: var(--ww-surface);
	border-bottom: 1px solid var(--ww-border);
	flex-shrink: 0;
}

.ww-topbar__inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 14px 24px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 16px;
}

.ww-topbar__inner--wide {
	max-width: none;
}

.ww-topbar__brand,
.ww-topbar__user {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.ww-topbar__brand {
	justify-self: start;
}

.ww-topbar__user {
	justify-self: end;
}

.ww-topbar__nav {
	display: inline-flex;
	align-items: center;
	justify-self: center;
	gap: 4px;
	padding: 4px;
	border: 1px solid var(--ww-border);
	border-radius: 999px;
	background: var(--ww-bg);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.ww-topbar__nav-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0 16px;
	border-radius: 999px;
	color: var(--ww-muted);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.ww-topbar__nav-link:hover,
.ww-topbar__nav-link:focus-visible {
	color: var(--ww-text);
	outline: none;
}

.ww-topbar__nav-link.is-active,
.ww-topbar__nav-link[aria-current="page"] {
	background: var(--ww-surface);
	color: var(--ww-primary);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.ww-topbar__nav-link.is-active:hover,
.ww-topbar__nav-link.is-active:focus-visible,
.ww-topbar__nav-link[aria-current="page"]:hover,
.ww-topbar__nav-link[aria-current="page"]:focus-visible {
	color: var(--ww-primary-hover);
}

.ww-topbar__brand strong {
	font-size: 18px;
	font-weight: 700;
}

.ww-topbar__avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--ww-primary-soft);
	color: var(--ww-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
}

.ww-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--ww-primary-soft);
	color: var(--ww-primary);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.ww-link {
	color: var(--ww-primary);
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}

.ww-card,
.ww-order-card {
	background: var(--ww-surface);
	border: 1px solid var(--ww-border);
	border-radius: var(--ww-radius-sm);
	box-shadow: var(--ww-shadow-card);
}

.ww-login {
	padding: 32px;
	border-radius: var(--ww-radius);
	box-shadow: var(--ww-shadow);
}

.ww-login__brand h1 {
	margin: 12px 0 8px;
	font-size: 28px;
}

.ww-form,
.ww-field {
	display: grid;
	gap: 8px;
}

.ww-form.ww-form--login {
	gap: 22px;
}

.ww-field input,
.ww-field select,
.ww-toolbar__field select,
.ww-toolbar__search input {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--ww-border);
	border-radius: 10px;
	font: inherit;
	background: #fff;
	color: var(--ww-text);
}

.ww-checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 14px;
	color: var(--ww-muted);
}

.ww-checkbox input {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--ww-primary);
}

.ww-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 18px;
	border: 1px solid var(--ww-border);
	border-radius: 10px;
	background: #fff;
	color: var(--ww-text);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}

.ww-button--primary {
	background: var(--ww-primary);
	border-color: var(--ww-primary);
	color: #fff;
}

.ww-button--primary:hover {
	background: var(--ww-primary-hover);
}

.ww-button--ghost {
	background: #fff;
	color: var(--ww-muted);
}

.ww-button:disabled,
.ww-toolbar__field select:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.ww-alert {
	padding: 12px 14px;
	border-radius: 10px;
	margin-bottom: 16px;
}

.ww-alert--error {
	background: #fef2f2;
	color: var(--ww-danger);
	border: 1px solid #fecaca;
	font-size: 14px;
	font-weight: 600;
}

.ww-controls {
	display: grid;
	gap: 10px;
	margin-bottom: 14px;
	flex-shrink: 0;
}

.ww-toolbar {
	display: grid;
	gap: 0;
	padding: 0;
	background: var(--ww-surface);
	border: 1px solid var(--ww-border);
	border-radius: 16px;
	box-shadow: var(--ww-shadow-card);
	overflow: hidden;
}

.ww-toolbar__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 18px;
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
	border-bottom: 1px solid var(--ww-border);
}

.ww-toolbar__head-main {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	min-width: 0;
}

.ww-toolbar__title {
	margin: 0;
	font-size: 15px;
	font-weight: 800;
	color: var(--ww-text);
	letter-spacing: -0.01em;
}

.ww-toolbar__count {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--ww-primary-soft);
	color: var(--ww-primary);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.ww-toolbar__body {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 18px 18px;
}

.ww-toolbar__filters {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 14px;
	align-items: end;
	flex: 1 1 auto;
	min-width: 0;
}

.ww-toolbar__label,
.ww-batch-bar__label {
	display: block;
	margin-bottom: 6px;
	color: var(--ww-muted);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	line-height: 1;
}

.ww-toolbar__field {
	display: grid;
	min-width: 0;
}

.ww-toolbar__field select,
.ww-batch-bar__select {
	box-sizing: border-box;
	width: 100%;
	min-height: 42px;
	padding: 0 36px 0 12px;
	border: 1.5px solid #d1d5db;
	border-radius: 10px;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	color: var(--ww-text);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ww-toolbar__field select:hover:not(:disabled),
.ww-batch-bar__select:hover:not(:disabled) {
	border-color: #9ca3af;
}

.ww-toolbar__field select:focus,
.ww-batch-bar__select:focus {
	outline: none;
	border-color: var(--ww-primary);
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.ww-toolbar__search {
	display: grid;
	grid-column: 1 / -1;
	min-width: 0;
}

.ww-toolbar__search-wrap {
	position: relative;
	display: flex;
	align-items: stretch;
	min-height: 42px;
	border: 1.5px solid #d1d5db;
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ww-toolbar__search-wrap:focus-within {
	border-color: var(--ww-primary);
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.ww-toolbar__search-wrap:hover {
	border-color: #9ca3af;
}

.ww-toolbar__search input {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 42px;
	padding: 0 12px 0 42px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.ww-toolbar__search input:focus {
	outline: none;
	box-shadow: none;
	border-color: transparent;
}

.ww-toolbar__search input::placeholder {
	color: #9ca3af;
}

.ww-toolbar__search-icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--ww-muted);
	display: inline-flex;
	pointer-events: none;
}

.ww-toolbar__search-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 42px;
	min-height: 42px;
	padding: 0;
	border: 0;
	border-left: 1px solid var(--ww-border);
	border-radius: 0;
	background: #f8fafc;
	color: var(--ww-primary);
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.ww-toolbar__search-btn:hover {
	background: var(--ww-primary-soft);
	color: var(--ww-primary-hover);
}

.ww-toolbar__search-btn:focus {
	outline: none;
	background: var(--ww-primary-soft);
}

.ww-toolbar__actions {
	display: flex;
	align-items: flex-end;
	flex-shrink: 0;
	gap: 8px;
	padding-left: 16px;
	border-left: 1px solid var(--ww-border);
}

.ww-toolbar__batch-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding-inline: 16px;
	font-size: 14px;
}

.ww-toolbar__scan-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding-inline: 16px;
	font-size: 14px;
}

.ww-toolbar__batch-toggle svg,
.ww-toolbar__scan-toggle svg {
	flex-shrink: 0;
	color: var(--ww-primary);
}

#ww-batch-toggle.is-active,
.ww-toolbar__batch-toggle.is-active,
#ww-scan-toggle.is-active,
.ww-toolbar__scan-toggle.is-active {
	background: var(--ww-primary-soft);
	border-color: rgba(15, 118, 110, 0.28);
	color: var(--ww-primary);
	box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.12);
}

.ww-scan-panel[hidden] {
	display: none !important;
}

.ww-scan-panel .ww-toolbar__scan {
	border: 1px solid rgba(15, 118, 110, 0.22);
	border-radius: 16px;
	box-shadow: var(--ww-shadow-card);
}

.ww-batch-bar {
	display: grid;
	gap: 0;
	padding: 0;
	background: var(--ww-surface);
	border: 1px solid rgba(15, 118, 110, 0.22);
	border-radius: 16px;
	box-shadow: var(--ww-shadow-card);
	overflow: hidden;
}

.ww-batch-bar[hidden] {
	display: none !important;
}

.ww-batch-bar__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 12px 18px;
	background: linear-gradient(180deg, #ecfdf5 0%, #f0fdfa 100%);
	border-bottom: 1px solid rgba(15, 118, 110, 0.14);
}

.ww-batch-bar__head-main {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	min-width: 0;
}

.ww-batch-bar__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 10px;
	background: rgba(15, 118, 110, 0.12);
	color: var(--ww-primary);
	flex-shrink: 0;
}

.ww-batch-bar__title {
	margin: 0;
	font-size: 14px;
	font-weight: 800;
	color: var(--ww-text);
	letter-spacing: -0.01em;
}

.ww-batch-bar__count {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid rgba(15, 118, 110, 0.16);
	color: var(--ww-muted);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

.ww-batch-bar__count strong {
	color: var(--ww-primary);
	font-size: 14px;
	font-weight: 800;
}

.ww-batch-bar__select-all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	cursor: pointer;
	flex-shrink: 0;
}

.ww-batch-bar__select-all input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
}

.ww-batch-bar__select-all-ui {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 12px;
	border: 1px solid rgba(15, 118, 110, 0.2);
	border-radius: 999px;
	background: #fff;
	color: var(--ww-text);
	font-size: 13px;
	font-weight: 700;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ww-batch-bar__select-matching {
	margin-left: 12px;
	font-size: 13px;
	font-weight: 600;
}

.ww-batch-bar__select-all-ui::before {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-right: 8px;
	border: 1.5px solid #9ca3af;
	border-radius: 4px;
	background: #fff;
	vertical-align: middle;
}

.ww-batch-bar__select-all input:checked + .ww-batch-bar__select-all-ui {
	background: var(--ww-primary-soft);
	border-color: rgba(15, 118, 110, 0.32);
	color: var(--ww-primary);
}

.ww-batch-bar__select-all input:checked + .ww-batch-bar__select-all-ui::before {
	border-color: var(--ww-primary);
	background: var(--ww-primary);
	box-shadow: inset 0 0 0 2px #fff;
}

.ww-batch-bar__select-all input:focus-visible + .ww-batch-bar__select-all-ui {
	outline: none;
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.18);
}

.ww-batch-bar__body {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 18px 18px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.ww-batch-bar__controls {
	display: flex;
	align-items: flex-end;
	flex: 1 1 auto;
	gap: 12px;
	min-width: 0;
}

.ww-batch-bar__divider {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 28px;
	height: 42px;
	margin-bottom: 0;
	color: #94a3b8;
}

.ww-batch-bar__field {
	display: grid;
	flex: 1 1 180px;
	min-width: 0;
	max-width: 280px;
}

.ww-batch-bar__field[hidden] {
	display: none !important;
}

.ww-batch-bar__controls:has([data-batch-value-wrap][hidden]) .ww-batch-bar__divider {
	display: none;
}

.ww-batch-bar__actions {
	display: flex;
	align-items: flex-end;
	flex-shrink: 0;
	gap: 10px;
	padding-left: 16px;
	border-left: 1px solid var(--ww-border);
}

.ww-batch-bar__apply,
.ww-batch-bar__clear {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding-inline: 16px;
	font-size: 14px;
}

.ww-batch-bar__apply svg,
.ww-batch-bar__clear svg {
	flex-shrink: 0;
}

.ww-batch-bar__apply:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.ww-toolbar__hint {
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	color: var(--ww-muted);
	text-align: right;
	line-height: 1.4;
	max-width: 280px;
}

#ww-board-wrap {
	flex: 1 1 0;
	min-height: 0;
	min-width: 0;
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	scrollbar-gutter: stable;
	touch-action: pan-x pan-y;
}

#ww-board-wrap.is-refreshing {
	opacity: 0.72;
	pointer-events: none;
}

#ww-board-wrap > .ww-empty {
	min-height: 240px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#ww-board-root.ww-board,
.ww-board {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	flex-wrap: nowrap;
	gap: 18px;
	width: max-content;
	min-width: 100%;
	height: 100%;
	min-height: 100%;
	padding: 0 2px 8px 0;
}

.ww-board__column {
	display: flex;
	flex-direction: column;
	flex: 0 0 320px;
	flex-shrink: 0;
	width: 320px;
	max-width: 320px;
	height: 100%;
	max-height: 100%;
	min-height: 0;
	background: #f8fafc;
	border: 1px solid var(--ww-border);
	border-radius: var(--ww-radius);
	overflow: hidden;
	box-shadow: var(--ww-shadow-card);
}

.ww-board__column-accent {
	height: 4px;
	background: var(--ww-group-color, #94a3b8);
	flex-shrink: 0;
}

.ww-board__column-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 52px;
	padding: 12px 14px;
	background: var(--ww-surface);
	border-bottom: 1px solid var(--ww-border);
	flex-shrink: 0;
	box-sizing: border-box;
}

.ww-board__column-title {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	flex: 1 1 auto;
}

.ww-board__column-title h2 {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ww-board__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--ww-group-color, #64748b);
	flex-shrink: 0;
}

.ww-board__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	min-width: 28px;
	height: 28px;
	padding: 0 10px;
	border: 1px solid var(--ww-border);
	border-radius: 999px;
	background: #f3f4f6;
	color: var(--ww-muted);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	box-sizing: border-box;
}

.ww-board__cards {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 10px;
	flex: 1 1 auto;
	min-height: 0;
	max-height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.ww-board__cards.is-drag-over {
	background: color-mix(in srgb, var(--ww-group-color, #64748b) 8%, white);
	box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ww-group-color, #64748b) 28%, white);
}

.ww-board__empty {
	margin: auto 0;
	padding: 28px 16px;
	text-align: center;
	color: var(--ww-muted);
	font-size: 14px;
}

.ww-board__empty-art {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin: 0 auto 12px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--ww-group-color, #64748b) 10%, #f8fafc);
	color: color-mix(in srgb, var(--ww-group-color, #64748b) 55%, #94a3b8);
}

.ww-board__empty-art i {
	font-size: 30px;
	line-height: 1;
	opacity: 0.85;
}

.ww-board__empty p {
	margin: 0;
}

.ww-order-card {
	padding: 0;
	overflow: hidden;
	cursor: grab;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	flex-shrink: 0;
	border-radius: 12px;
}

.ww-order-card:hover {
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.ww-order-card.is-dragging {
	opacity: 0.5;
	cursor: grabbing;
	transform: rotate(1deg);
}

.ww-order-card.is-updating {
	opacity: 0.65;
	pointer-events: none;
}

.ww-order-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
	padding: 10px 10px 9px;
	border: 0;
	background: transparent;
	text-align: left;
	cursor: grab;
	font: inherit;
	color: inherit;
	box-sizing: border-box;
}

.ww-order-card__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	min-width: 0;
}

.ww-order-card__identity {
	min-width: 0;
	flex: 1 1 auto;
}

.ww-order-card__number {
	margin: 0;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.ww-order-card__meta {
	margin: 1px 0 0;
	color: var(--ww-muted);
	font-size: 10px;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ww-order-card__stats {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 3px;
	flex-shrink: 0;
}

.ww-order-card__items-badge,
.ww-order-card__qty {
	display: inline-flex;
	align-items: center;
	padding: 2px 7px;
	border-radius: 999px;
	font-size: 9px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

.ww-order-card__items-badge {
	background: #eef2f7;
	color: #64748b;
	text-transform: uppercase;
}

.ww-order-card__qty {
	background: #f3f4f6;
	color: var(--ww-muted);
}

.ww-order-card__tags {
	display: flex;
	flex-wrap: nowrap;
	gap: 4px;
	overflow: hidden;
	min-width: 0;
}

.ww-order-card__tag {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	padding: 2px 6px;
	border-radius: 999px;
	font-size: 9px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.02em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	flex-shrink: 0;
}

.ww-order-card__tag--priority {
	background: #ffedd5;
	color: #c2410c;
}

.ww-order-card__tag--sku {
	background: #f3f4f6;
	color: #4b5563;
	flex-shrink: 1;
	min-width: 0;
}

.ww-order-card__person {
	margin: 0;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.25;
	color: #475569;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ww-order-card__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	margin-top: 2px;
}

.ww-order-card__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-height: 28px;
	padding: 4px 8px;
	border: 1px solid var(--ww-border);
	border-radius: 8px;
	background: #fff;
	color: #475569;
	font: inherit;
	font-size: 10px;
	font-weight: 700;
	cursor: pointer;
	box-sizing: border-box;
}

.ww-order-card__action svg {
	flex-shrink: 0;
}

.ww-order-card__action span {
	min-width: 0;
	line-height: 1;
}

.ww-order-card__action:hover {
	background: #f8fafc;
	border-color: #cbd5e1;
	color: var(--ww-primary);
}

.ww-status-pill {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--ww-status-color, #64748b) 15%, white);
	color: var(--ww-status-color, #64748b);
	font-size: 13px;
	font-weight: 700;
}

.ww-status-pill--muted {
	background: #f3f4f6;
	color: var(--ww-muted);
}

.ww-empty {
	padding: 48px 24px;
	text-align: center;
	color: var(--ww-muted);
	flex: 1;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

body.ww-modal-open {
	overflow: hidden;
}

.ww-modal[hidden] {
	display: none;
}

.ww-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.ww-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
}

.ww-modal__dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(640px, 100%);
	height: min(560px, calc(100vh - 48px));
	height: min(560px, calc(100dvh - 48px));
	max-height: calc(100vh - 48px);
	max-height: calc(100dvh - 48px);
	overflow: hidden;
	background: var(--ww-surface);
	border-radius: 18px;
	box-shadow: var(--ww-shadow);
}

.ww-modal__header {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 18px;
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
	border-bottom: 1px solid var(--ww-border);
}

.ww-modal__header-main {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	flex: 1 1 auto;
}

.ww-modal__header-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--ww-primary-soft);
	color: var(--ww-primary);
}

.ww-modal__header-copy {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.ww-modal__eyebrow {
	margin: 0;
	color: var(--ww-muted);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	line-height: 1.2;
}

.ww-modal__title {
	margin: 0;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--ww-text);
}

.ww-modal__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid var(--ww-border);
	border-radius: 11px;
	background: #fff;
	color: var(--ww-muted);
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ww-modal__close:hover {
	background: #f8fafc;
	border-color: #cbd5e1;
	color: var(--ww-text);
}

.ww-modal__close:focus {
	outline: none;
	border-color: var(--ww-primary);
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
	color: var(--ww-primary);
}

.ww-modal__content {
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.ww-modal-tabs {
	display: flex;
	flex-direction: column;
	min-height: 0;
	flex: 1 1 auto;
}

.ww-modal-tabs__nav {
	display: flex;
	gap: 4px;
	flex-shrink: 0;
	padding: 12px 16px 0;
	border-bottom: 1px solid var(--ww-border);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.ww-modal-tabs__nav::-webkit-scrollbar {
	display: none;
}

.ww-modal-tabs__tab {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 12px;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 10px 10px 0 0;
	background: transparent;
	color: var(--ww-muted);
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.ww-modal-tabs__tab:hover {
	color: var(--ww-text);
	background: #f8fafc;
}

.ww-modal-tabs__tab.is-active {
	color: var(--ww-primary);
	border-bottom-color: var(--ww-primary);
	background: #f0fdfa;
}

.ww-modal-tabs__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: rgba(15, 118, 110, 0.12);
	color: var(--ww-primary);
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
}

.ww-modal-tabs__panels {
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
}

.ww-modal-tabs__panel {
	display: none;
	height: 100%;
	overflow-y: auto;
	padding: 16px 20px 20px;
	-webkit-overflow-scrolling: touch;
}

.ww-modal-tabs__panel.is-active {
	display: block;
}

.ww-modal-tabs__panel .ww-modal__meta {
	margin-bottom: 0;
}

.ww-modal-tabs__panel .ww-modal-items-wrap,
.ww-modal-tabs__panel .ww-history-wrap {
	max-height: none;
	min-height: 220px;
}

.ww-modal-actions--flat {
	display: grid;
	gap: 12px;
	padding: 0;
	overflow: hidden;
	background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 72%);
	border: 1px solid rgba(15, 118, 110, 0.16);
	border-left: 4px solid var(--ww-primary);
	border-radius: 16px;
	box-shadow: var(--ww-shadow-card);
}

.ww-modal-actions--flat .ww-modal-actions__panel {
	padding: 16px;
	border-top: 0;
}

.ww-modal-actions--flat .ww-modal-actions__feedback {
	margin: 0 16px 16px;
}

.ww-modal__loading,
.ww-modal__error {
	padding: 20px;
}

.ww-modal__loading,
.ww-modal__error,
.ww-modal__empty-note {
	color: var(--ww-muted);
}

.ww-modal__error {
	color: var(--ww-danger);
}

.ww-modal__meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 20px;
	padding: 12px;
	border: 1px solid var(--ww-border);
	border-radius: 14px;
	background: #f8fafc;
}

.ww-modal__meta-item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid var(--ww-border);
	border-radius: 12px;
	background: #fff;
}

.ww-modal__meta-item--status {
	grid-column: 1 / -1;
}

.ww-modal__meta-label {
	display: block;
	color: var(--ww-muted);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 1.2;
}

.ww-modal__meta-value {
	display: block;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--ww-text);
	word-break: break-word;
}

.ww-modal__meta-item--status .ww-modal__meta-value {
	display: flex;
	align-items: center;
	min-height: 24px;
}

.ww-modal__status-row {
	margin-bottom: 20px;
}

.ww-modal__section + .ww-modal__section {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--ww-border);
}

.ww-modal__section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.ww-modal__section-head h3 {
	margin: 0;
	font-size: 16px;
}

.ww-modal__section-count {
	flex-shrink: 0;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--ww-primary-soft);
	color: var(--ww-primary);
	font-size: 12px;
	font-weight: 700;
}

.ww-modal-items-wrap,
.ww-history-wrap {
	max-height: 240px;
	overflow-y: auto;
	overflow-x: hidden;
	border: 1px solid var(--ww-border);
	border-radius: 12px;
	background: #fff;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
}

.ww-history-wrap {
	max-height: 280px;
	padding: 12px 12px 12px 8px;
}

.ww-modal-items-wrap::-webkit-scrollbar,
.ww-history-wrap::-webkit-scrollbar {
	width: 8px;
}

.ww-modal-items-wrap::-webkit-scrollbar-thumb,
.ww-history-wrap::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 999px;
}

.ww-modal-items,
.ww-history {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ww-modal-items {
	display: block;
}

.ww-modal-item {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	padding: 11px 12px;
	background: #fff;
	border-bottom: 1px solid var(--ww-border);
}

.ww-modal-item:last-child {
	border-bottom: 0;
}

.ww-modal-item__index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 7px;
	background: var(--ww-soft, #f3f4f6);
	color: var(--ww-muted);
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
}

.ww-modal-item__main {
	min-width: 0;
	display: grid;
	gap: 4px;
}

.ww-modal-item__name {
	display: block;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	word-break: break-word;
}

.ww-modal-item__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.ww-modal-item__sku,
.ww-modal-item__bin {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	max-width: 100%;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
}

.ww-modal-item__pill-label {
	color: inherit;
	font-size: 9px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	opacity: 0.72;
}

.ww-modal-item__sku {
	background: var(--ww-primary-soft);
	color: var(--ww-primary);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.ww-modal-item__qty {
	flex-shrink: 0;
	min-width: 48px;
	padding: 6px 10px;
	border-radius: 8px;
	background: #f3f4f6;
	text-align: center;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
}

.ww-history {
	position: relative;
	padding: 0;
}

.ww-history-empty {
	list-style: none;
	padding: 12px;
}

.ww-history-item {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	padding: 0 0 10px;
	position: relative;
}

.ww-history-item:last-child {
	padding-bottom: 0;
}

.ww-history-item:not(:last-child)::before {
	content: "";
	position: absolute;
	top: 22px;
	left: 9px;
	bottom: 0;
	width: 2px;
	background: var(--ww-border);
	z-index: 0;
}

.ww-history-item__marker {
	position: relative;
	justify-self: center;
	width: 10px;
	height: 10px;
	margin-top: 12px;
	border-radius: 50%;
	background: var(--ww-primary);
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px var(--ww-border);
	z-index: 1;
	flex-shrink: 0;
}

.ww-history-item__body {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 8px;
	min-width: 0;
	padding: 10px 12px;
	background: #f9fafb;
	border: 1px solid var(--ww-border);
	border-radius: 12px;
}

.ww-history-item__user {
	flex-shrink: 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--ww-text);
	white-space: nowrap;
}

.ww-history-item__time {
	flex-shrink: 0;
	font-size: 12px;
	line-height: 1.4;
	color: var(--ww-muted);
	white-space: nowrap;
}

.ww-history-item__divider {
	flex-shrink: 0;
	color: var(--ww-muted);
	font-size: 14px;
	line-height: 1;
}

.ww-history-item__flow {
	display: inline-flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 6px;
	min-width: 0;
	margin-left: auto;
}

.ww-history-item__arrow {
	color: var(--ww-muted);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.ww-history-status {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--ww-primary-soft);
	color: var(--ww-status-color, var(--ww-primary));
	border: 1px solid rgba(15, 118, 110, 0.14);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.ww-history-status[style*="--ww-status-color"] {
	background: color-mix(in srgb, var(--ww-status-color) 14%, #ffffff);
	border-color: color-mix(in srgb, var(--ww-status-color) 28%, #ffffff);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

@media (max-width: 1100px) {
	.ww-toolbar__body {
		flex-direction: column;
		align-items: stretch;
	}

	.ww-toolbar__actions {
		flex-wrap: wrap;
		gap: 8px;
		padding-left: 0;
		padding-top: 14px;
		border-left: 0;
		border-top: 1px solid var(--ww-border);
	}

	.ww-toolbar__batch-toggle,
	.ww-toolbar__scan-toggle {
		width: 100%;
	}

	.ww-toolbar__head {
		flex-direction: column;
		align-items: flex-start;
	}

	.ww-toolbar__hint {
		max-width: none;
		text-align: left;
	}

	.ww-batch-bar__body {
		flex-direction: column;
		align-items: stretch;
	}

	.ww-batch-bar__controls {
		flex-wrap: wrap;
	}

	.ww-batch-bar__field {
		flex: 1 1 calc(50% - 6px);
		max-width: none;
	}

	.ww-batch-bar__actions {
		padding-left: 0;
		padding-top: 14px;
		border-left: 0;
		border-top: 1px solid var(--ww-border);
		justify-content: stretch;
	}

	.ww-batch-bar__apply,
	.ww-batch-bar__clear {
		flex: 1 1 140px;
	}
}

@media (max-width: 768px) {
	.ww-topbar__inner {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"brand user"
			"nav nav";
		padding: 12px 16px;
		row-gap: 10px;
	}

	.ww-topbar__brand {
		grid-area: brand;
	}

	.ww-topbar__nav {
		grid-area: nav;
		justify-self: stretch;
		justify-content: center;
		width: 100%;
	}

	.ww-topbar__nav-link {
		flex: 1 1 0;
		padding-inline: 12px;
	}

	.ww-topbar__user {
		grid-area: user;
		gap: 8px;
	}

	.ww-topbar__user > span:not(.ww-topbar__avatar) {
		display: none;
	}

	.ww-completed__head {
		flex-direction: column;
		align-items: stretch;
		padding: 14px 16px;
	}

	.ww-completed__count {
		align-self: flex-start;
	}

	.ww-completed__search {
		padding: 14px 16px;
	}

	.ww-completed__footer {
		padding: 14px 16px 16px;
	}

	.ww-portal__shell--wide {
		padding: 12px 16px 16px;
	}

	.ww-toolbar__head,
	.ww-toolbar__body {
		padding-inline: 14px;
	}

	.ww-toolbar__body {
		padding-bottom: 14px;
	}

	.ww-toolbar__filters {
		grid-template-columns: 1fr;
	}

	.ww-toolbar__scan {
		padding-inline: 14px;
	}

	.ww-toolbar__scan-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.ww-batch-bar__head {
		flex-direction: column;
		align-items: flex-start;
		padding-inline: 14px;
	}

	.ww-batch-bar__body {
		padding: 14px;
	}

	.ww-batch-bar__controls {
		flex-direction: column;
		align-items: stretch;
	}

	.ww-batch-bar__field {
		flex: 1 1 auto;
		max-width: none;
	}

	.ww-batch-bar__divider {
		display: none !important;
	}

	.ww-batch-bar__actions {
		flex-direction: column;
	}

	.ww-batch-bar__apply,
	.ww-batch-bar__clear {
		width: 100%;
	}

	#ww-board-wrap {
		overflow-x: auto;
		overflow-y: hidden;
	}

	#ww-board-root.ww-board,
	.ww-board {
		height: min(520px, calc(100dvh - 220px));
		min-height: min(520px, calc(100dvh - 220px));
	}

	.ww-board__column {
		flex: 0 0 280px;
		width: 280px;
		max-width: 280px;
	}

	.ww-modal__dialog {
		height: min(520px, calc(100dvh - 24px));
	}

	.ww-modal-tabs__nav {
		padding-inline: 12px;
	}

	.ww-modal-tabs__panel {
		padding: 14px 16px 16px;
	}

	.ww-modal-actions__grid,
	.ww-modal-actions__footer {
		grid-template-columns: 1fr;
	}

	.ww-modal-actions__summary-assignee {
		max-width: 100%;
	}

	.ww-modal-actions__status {
		max-width: 100%;
	}

	.ww-modal-actions__tracking-head {
		flex-direction: column;
		align-items: stretch;
	}

	.ww-modal-actions__tracking-link {
		align-self: flex-start;
	}

	.ww-history-item__body {
		flex-wrap: wrap;
		row-gap: 6px;
	}

	.ww-history-item__flow {
		margin-left: 0;
		width: 100%;
	}
}

@media (min-width: 900px) {
	.ww-toolbar__filters {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.ww-toolbar__search {
		grid-column: 1 / -1;
	}
}

@media (min-width: 1200px) {
	.ww-toolbar__filters {
		grid-template-columns: minmax(140px, 1fr) minmax(140px, 1fr) minmax(130px, 1fr) minmax(240px, 2fr);
	}

	.ww-toolbar__search {
		grid-column: auto;
	}
}

body.ww-batch-mode .ww-order-card {
	position: relative;
}

.ww-order-card__select {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	margin: 0;
	padding: 0;
	border-radius: 0 11px 0 12px;
	background: rgba(255, 255, 255, 0.98);
	border-left: 1px solid rgba(15, 23, 42, 0.08);
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: -2px 2px 8px rgba(15, 23, 42, 0.06);
	cursor: pointer;
}

.ww-order-card__select[hidden] {
	display: none !important;
}

.ww-order-card__select:hover {
	background: #f0fdfa;
	border-color: rgba(15, 118, 110, 0.18);
}

.ww-order-card__checkbox {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--ww-primary);
	cursor: pointer;
}

body.ww-batch-mode .ww-order-card:has(.ww-order-card__checkbox:checked) {
	border-color: rgba(15, 118, 110, 0.45);
	box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.12);
}

body.ww-batch-mode .ww-order-card:has(.ww-order-card__checkbox:checked) .ww-order-card__select {
	background: #ecfdf5;
	border-color: rgba(15, 118, 110, 0.22);
}

body.ww-batch-mode .ww-order-card__stats {
	padding-right: 24px;
}

.ww-load-more-wrap {
	display: flex;
	justify-content: center;
	padding: 16px 0 4px;
}

.ww-load-more {
	min-width: 220px;
}

.ww-modal__section--actions {
	margin-bottom: 18px;
}

.ww-modal__section--actions .ww-modal__section-head {
	display: none;
}

.ww-modal-actions {
	display: block;
	padding: 0;
	overflow: hidden;
	background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 72%);
	border: 1px solid rgba(15, 118, 110, 0.16);
	border-left: 4px solid var(--ww-primary);
	border-radius: 16px;
	box-shadow: var(--ww-shadow-card);
}

.ww-modal-actions__summary {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	list-style: none;
	cursor: pointer;
	user-select: none;
}

.ww-modal-actions__summary::-webkit-details-marker {
	display: none;
}

.ww-modal-actions__summary::marker {
	content: '';
}

.ww-modal-actions__chevron {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: rgba(15, 118, 110, 0.1);
	color: var(--ww-primary);
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.ww-modal-actions[open] .ww-modal-actions__chevron {
	transform: rotate(180deg);
	background: rgba(15, 118, 110, 0.16);
}

.ww-modal-actions__summary-main {
	display: grid;
	gap: 6px;
	min-width: 0;
	flex: 1 1 auto;
}

.ww-modal-actions__summary-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	min-width: 0;
}

.ww-modal-actions__summary-sep {
	color: #94a3b8;
	font-weight: 700;
}

.ww-modal-actions__summary-assignee {
	font-size: 12px;
	font-weight: 700;
	color: #64748b;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 140px;
}

.ww-modal-actions__summary-tag {
	display: inline-flex;
	align-items: center;
	padding: 2px 7px;
	border-radius: 999px;
	background: #ffedd5;
	color: #c2410c;
	font-size: 10px;
	font-weight: 800;
	line-height: 1.2;
}

.ww-modal-actions__panel {
	display: grid;
	gap: 14px;
	padding: 14px;
	border-top: 1px solid rgba(15, 118, 110, 0.12);
}

.ww-modal-actions__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.ww-modal-actions__head-copy {
	min-width: 0;
}

.ww-modal-actions__eyebrow {
	margin: 0 0 4px;
	color: var(--ww-primary);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.ww-modal-actions__title {
	margin: 0;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--ww-text);
}

.ww-modal-actions__status {
	flex-shrink: 0;
	max-width: 46%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ww-modal-actions__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.ww-modal-actions__field {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.ww-modal-actions__label {
	color: var(--ww-muted);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 1;
}

.ww-modal-actions__select {
	box-sizing: border-box;
	width: 100%;
	min-height: 42px;
	padding: 0 36px 0 12px;
	border: 1.5px solid #d1d5db;
	border-radius: 10px;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	-webkit-appearance: none;
	appearance: none;
	font: inherit;
	color: var(--ww-text);
	cursor: pointer;
}

.ww-modal-actions__select:hover {
	border-color: #9ca3af;
}

.ww-modal-actions__select:focus {
	outline: none;
	border-color: var(--ww-primary);
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.ww-modal-actions__priority {
	display: block;
	margin: 0;
	cursor: pointer;
}

.ww-modal-actions__priority input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

.ww-modal-actions__priority-ui {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	padding: 0 12px;
	border: 1.5px solid #e5e7eb;
	border-radius: 999px;
	background: #fff;
	color: #64748b;
	font-size: 13px;
	font-weight: 700;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.ww-modal-actions__priority-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #f1f5f9;
	color: #64748b;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
}

.ww-modal-actions__priority input:checked + .ww-modal-actions__priority-ui,
.ww-modal-actions__priority-ui.is-active {
	background: #ffedd5;
	border-color: #fdba74;
	color: #c2410c;
	box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.ww-modal-actions__priority input:checked + .ww-modal-actions__priority-ui .ww-modal-actions__priority-mark,
.ww-modal-actions__priority-ui.is-active .ww-modal-actions__priority-mark {
	background: #fb923c;
	color: #fff;
}

.ww-modal-actions__footer {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	padding-top: 2px;
}

.ww-modal-actions__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding-inline: 14px;
}

.ww-modal-actions__btn svg {
	flex-shrink: 0;
}

.ww-modal-actions__feedback {
	margin: 8px 0 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: #ecfdf5;
	border: 1px solid rgba(15, 118, 110, 0.16);
	font-size: 13px;
	font-weight: 600;
	color: var(--ww-primary);
}

.ww-modal-actions__feedback--error {
	background: #fef2f2;
	border-color: #fecaca;
	color: var(--ww-danger);
}

.ww-modal-actions__feedback[hidden] {
	display: none !important;
}

.ww-modal-actions__tracking {
	margin-top: 4px;
	padding: 14px;
	border: 1px solid rgba(15, 118, 110, 0.14);
	border-radius: 14px;
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.ww-modal-actions__tracking-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.ww-modal-actions__tracking-head-main {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-width: 0;
}

.ww-modal-actions__tracking-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: rgba(15, 118, 110, 0.1);
	color: var(--ww-primary);
}

.ww-modal-actions__tracking-eyebrow {
	margin: 0 0 4px;
	color: var(--ww-primary);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	line-height: 1.2;
}

.ww-modal-actions__tracking-title {
	margin: 0;
	color: var(--ww-muted);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.45;
}

.ww-modal-actions__tracking-body {
	display: grid;
	gap: 12px;
	padding-top: 14px;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.ww-modal-actions__field--full {
	grid-column: 1 / -1;
}

.ww-modal-actions__input {
	box-sizing: border-box;
	width: 100%;
	min-height: 42px;
	padding: 10px 12px;
	border: 1.5px solid #d1d5db;
	border-radius: 10px;
	background: #fff;
	font: inherit;
	color: var(--ww-text);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ww-modal-actions__input:hover {
	border-color: #9ca3af;
}

.ww-modal-actions__input:focus {
	outline: none;
	border-color: var(--ww-primary);
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.ww-modal-actions__input::placeholder {
	color: #94a3b8;
}

.ww-modal-actions__tracking-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	min-height: 34px;
	padding: 0 12px;
	border: 1px solid rgba(15, 118, 110, 0.22);
	border-radius: 999px;
	background: #ecfdf5;
	color: var(--ww-primary);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.ww-modal-actions__tracking-link:hover,
.ww-modal-actions__tracking-link:focus {
	background: #d1fae5;
	border-color: rgba(15, 118, 110, 0.35);
	color: #0f766e;
	text-decoration: none;
	transform: translateY(-1px);
}

.ww-modal-actions__tracking-link svg {
	flex-shrink: 0;
}

.ww-completed {
	display: flex;
	flex-direction: column;
	gap: 0;
	border: 1px solid var(--ww-border);
	border-radius: var(--ww-radius);
	background: var(--ww-surface);
	box-shadow: var(--ww-shadow-card);
	overflow: hidden;
}

.ww-completed__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
	border-bottom: 1px solid var(--ww-border);
}

.ww-completed__head-main {
	min-width: 0;
	flex: 1 1 auto;
}

.ww-completed__title {
	margin: 0;
	font-size: 17px;
	font-weight: 800;
	color: var(--ww-text);
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.ww-completed__hint {
	margin: 6px 0 0;
	max-width: 56ch;
	color: var(--ww-muted);
	font-size: 13px;
	line-height: 1.45;
}

.ww-completed__count {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	min-height: 32px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--ww-primary-soft);
	border: 1px solid rgba(15, 118, 110, 0.16);
	color: var(--ww-primary);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.ww-completed__search {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: stretch;
	padding: 16px 20px;
	border-bottom: 1px solid var(--ww-border);
	background: #fff;
}

.ww-completed__search-field {
	flex: 1 1 280px;
}

.ww-completed__search-field input {
	width: 100%;
	min-height: 42px;
	padding: 10px 14px;
	border: 1px solid var(--ww-border);
	border-radius: 10px;
	background: #fff;
	font: inherit;
}

.ww-completed__search-field input:focus {
	outline: none;
	border-color: var(--ww-primary);
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.ww-completed__table-wrap {
	overflow-x: auto;
	border: 0;
	border-radius: 0;
	background: #fff;
}

.ww-completed__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.ww-completed__table th,
.ww-completed__table td {
	padding: 14px 16px;
	border-bottom: 1px solid var(--ww-border);
	text-align: left;
	vertical-align: middle;
}

.ww-completed__table th {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ww-muted);
	background: #f8fafc;
}

.ww-completed__table tbody tr:last-child td {
	border-bottom: 0;
}

.ww-completed__empty {
	text-align: center;
	color: var(--ww-muted);
	padding: 28px 16px !important;
}

.ww-completed__tracking,
.ww-completed__col-tracking {
	width: 220px;
	min-width: 180px;
}

.ww-completed__tracking-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
}

.ww-completed__tracking-number {
	font-weight: 600;
	line-height: 1.35;
}

.ww-completed__tracking-carrier {
	color: var(--ww-muted);
	font-size: 13px;
	line-height: 1.35;
}

.ww-completed__tracking-link {
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

.ww-completed__tracking-empty {
	color: var(--ww-muted);
}

.ww-completed__actions,
.ww-completed__col-actions {
	width: 96px;
	text-align: right;
	white-space: nowrap;
}

.ww-completed__footer {
	display: flex;
	justify-content: center;
	padding: 16px 20px 20px;
	border-top: 1px solid var(--ww-border);
	background: #fafbfc;
}

.ww-button--sm {
	min-height: 34px;
	padding: 6px 12px;
	font-size: 13px;
}

.ww-toolbar__scan {
	padding: 14px 18px 16px;
	background: linear-gradient(180deg, #f0fdfa 0%, #f8fafc 55%, #ffffff 100%);
}

.ww-toolbar__scan-inner {
	display: grid;
	gap: 8px;
	min-width: 0;
}

.ww-toolbar__scan-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.ww-toolbar__scan-head .ww-toolbar__label {
	margin-bottom: 0;
}

.ww-toolbar__scan-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid rgba(15, 118, 110, 0.18);
	color: var(--ww-primary);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.ww-toolbar__scan-status::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.ww-toolbar__scan-status.is-busy::before {
	background: #f59e0b;
	box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.ww-toolbar__scan-status.is-error::before {
	background: #ef4444;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
}

.ww-toolbar__scan-wrap {
	position: relative;
	display: flex;
	align-items: stretch;
	min-height: 44px;
	border: 1.5px solid rgba(15, 118, 110, 0.22);
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ww-toolbar__scan-wrap:focus-within {
	border-color: var(--ww-primary);
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.ww-toolbar__scan-wrap:hover {
	border-color: rgba(15, 118, 110, 0.38);
}

.ww-toolbar__scan-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 44px;
	color: var(--ww-primary);
	background: rgba(15, 118, 110, 0.06);
	border-right: 1px solid rgba(15, 118, 110, 0.12);
}

.ww-toolbar__scan-input-label {
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
}

.ww-toolbar__scan-input {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	min-height: 44px;
	padding: 0 14px;
	border: 0;
	border-radius: 0;
	background: transparent;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--ww-text);
	letter-spacing: 0.01em;
}

.ww-toolbar__scan-input:focus {
	outline: none;
	box-shadow: none;
}

.ww-toolbar__scan-input::placeholder {
	color: #94a3b8;
	font-weight: 500;
}

.ww-toolbar__scan-camera {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	flex-shrink: 0;
	min-width: 72px;
	min-height: 44px;
	padding: 0 14px;
	border: 0;
	border-left: 1px solid rgba(15, 118, 110, 0.12);
	border-radius: 0;
	background: rgba(15, 118, 110, 0.06);
	color: var(--ww-primary);
	font: inherit;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.ww-toolbar__scan-camera[hidden] {
	display: none !important;
}

.ww-toolbar__scan-camera:hover:not(:disabled) {
	background: var(--ww-primary-soft);
	color: var(--ww-primary-hover);
}

.ww-toolbar__scan-camera:focus {
	outline: none;
	background: var(--ww-primary-soft);
}

.ww-toolbar__scan-camera:disabled {
	opacity: 0.65;
	cursor: wait;
}

.ww-toolbar__scan-help {
	margin: 0;
	color: var(--ww-muted);
	font-size: 12px;
	line-height: 1.45;
}

.ww-modal-item__bin {
	background: #eef2ff;
	color: #4338ca;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	letter-spacing: 0.02em;
}

.ww-modal-item--missing-bin {
	background: rgba(255, 247, 237, 0.22);
}

.ww-modal-item__bin--missing {
	background: #fff7ed;
	color: var(--ww-danger);
	font-family: inherit;
	font-weight: 600;
	letter-spacing: 0;
	white-space: normal;
}

.ww-scan-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(15, 23, 42, 0.72);
}

.ww-scan-overlay__panel {
	width: min(100%, 420px);
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
	border-radius: 16px;
	background: #fff;
}

.ww-scan-overlay__video {
	width: 100%;
	border-radius: 12px;
	background: #000;
}

body.ww-scan-open {
	overflow: hidden;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
