#toasts {
	position: fixed;
	right: 10px;
	top: 5px;
	z-index: 1001;
}
#toasts > * {
	background-color: #000A;
	border-radius: 10px;
	clear: both;
	color: white;
	cursor: zoom-out;
	float: right;
	margin-top: 5px;
	padding: 3px 6px;
}
section.main.record.sronline,
section.main.change.default,
section.main.create.default {
	display: block;
	margin: 0;
	padding: 0;
}
section.main.record.sronline > header,
section.main.change.default > header,
section.main.create.default > header {
	background: #2d2d2d;
	border-bottom: 0;
	color: #fff;
	padding: 4px 10px;
	position: sticky;
	top: 0;
	z-index: 1;
}
section.main.record.sronline > header h1,
section.main.change.default > header h1,
section.main.create.default > header h1,
section.main.record.sronline > header h2,
section.main.change.default > header h2,
section.main.create.default > header h2 {
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	margin: 0;
}
section.main.record.sronline > header .btn,
section.main.change.default > header .btn,
section.main.create.default > header .btn {
	background: #0073aa;
	border-radius: 3px;
	color: #fff;
	height: 24px;
	line-height: 24px;
	padding: 0 .7em;
}
section.main.record.sronline > header .btn.warning,
section.main.change.default > header .btn.warning,
section.main.create.default > header .btn.warning {
	background: #cc2030;
}
section.main.record.sronline > .body,
section.main.change.default > form,
section.main.create.default > form {
	columns: 2;
	column-gap: 0;
	display: block;
	margin: 0;
	max-width: none;
	padding: 0;
}
section.main.record.sronline .field,
section.main.change.default .field,
section.main.create.default .field {
	background: transparent;
	border: 0;
	border-radius: 0;
	break-inside: avoid;
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 0;
	padding: 0;
	margin: 0;
	min-height: 24px;
	line-height: 1.4;
}
section.main.record.sronline .field label,
section.main.change.default .field label,
section.main.create.default .field label {
	background: #f7f8fa;
	color: #555;
	flex: 0 0 130px;
	font-weight: 400;
	opacity: 1;
	overflow: hidden;
	padding: 3px 8px;
	text-overflow: ellipsis;
	white-space: nowrap;
	border-bottom: 1px solid #e6e8ee;
	border-right: 1px solid #e6e8ee;
	font-size: 12px;
	letter-spacing: normal;
	text-transform: none;
}
section.main.record.sronline .field > div,
section.main.change.default .field > div,
section.main.create.default .field > div {
	background: #eef0f6;
	border-bottom: 1px solid #dfe2ea;
	color: #222;
	display: block;
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	padding: 3px 8px;
	text-overflow: ellipsis;
	white-space: nowrap;
}
section.main.record.sronline > .body,
section.main.change.default > form {
	column-rule: 1px solid #e6e8ee;
	column-gap: 0;
	padding: 0;
}
section.main.record.sronline .field input.field,
section.main.change.default .field input.field,
section.main.create.default .field input.field,
section.main.record.sronline .field select,
section.main.change.default .field select,
section.main.create.default .field select,
section.main.record.sronline .field textarea,
section.main.change.default .field textarea,
section.main.create.default .field textarea {
	background: #fff;
	border: 1px solid #c8ced8;
	border-radius: 3px;
	color: #333;
	margin: 0;
	padding: 2px 6px;
	width: 100%;
}
section.main.record.sronline .field > div.input,
section.main.change.default .field > div.input,
section.main.create.default .field > div.input {
	border: 0;
	border-radius: 0;
	padding: 3px 8px;
}
section.main.record.sronline > section,
section.main.change.default > section {
	margin-top: 8px;
}
form.account-form {
	background: var(--surface);
	border-radius: 8px;
	padding: 1.5rem;
	max-width: 720px;
}
form.account-form h2 font-size {
	1em; margin-top: 1.5rem;
}
header.public-header {
	background: var(--surface);
	border-bottom: 1px solid var(--border);
	display: flex;
	gap: 1rem;
	padding: .75rem 1rem;
	align-items: center;
}
header.public-header .brand color {
	--primary; font-weight: 600; font-size: 1.1em; text-decoration: none;
}
header.public-header nav margin-left {
	auto; display: flex; gap: 1rem;
}
header.public-header nav a color {
	--text; text-decoration: none;
}
form.calc-form {
	background: var(--surface);
	border-radius: 8px;
	padding: 1.5rem;
}
div.calc-result {
	background: var(--surface);
	border-radius: 8px;
	margin-top: 1rem;
	padding: 1rem 1.5rem;
}
div.calc-result dl {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: .25rem 1rem;
	margin: 0;
}
div.calc-result dt {
	color: var(--text-soft);
}
div.calc-result dd margin {
	0; text-align: right;
}
div.calc-result dt.totaal,
div.calc-result dd.totaal {
	font-size: 1.15em;
	font-weight: 600;
	color: var(--primary);
	border-top: 1px solid var(--border);
	padding-top: .5rem;
	margin-top: .5rem;
}
div.calc-result .disclaimer {
	color: var(--text-soft);
	font-size: .85em;
	margin-top: 1rem;
}
section.queues table.queues-table {
	background: var(--surface);
	border-collapse: collapse;
	width: 100%;
}
section.queues table.queues-table th padding,
section.queues table.queues-table td padding {
	.5rem .75rem; border-bottom: 1px solid var(--border); text-align: left;
}
section.queues p.queues-status margin {
	1rem 0; color: var(--text-soft);
}
.notification-item {
	background: #fff;
	border: 1px solid #e6e8ee;
	border-radius: 8px;
	margin: .5rem 0;
	padding: .75rem 1rem;
}
.notification-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}
.notification-meta {
	color: #99a3b3;
	font-size: .85em;
}
.notification-bericht {
	margin: .5rem 0;
}
.notification-actions {
	display: flex;
	gap: .5rem;
}
section.omzet form display {
	flex; gap: .75rem; align-items: end; margin: 1rem 0;
}
section.omzet table.omzet-table {
	background: var(--surface);
	border-collapse: collapse;
	border-radius: 8px;
	width: 100%;
}
section.omzet table.omzet-table th padding,
section.omzet table.omzet-table td padding {
	.5rem .75rem; border-bottom: 1px solid var(--border); text-align: left;
}
section.omzet table.omzet-table td.right,
section.omzet table.omzet-table th.right {
	text-align: right;
}
section.omzet table.omzet-table tr.total background {
	--surface-alt; font-weight: 600;
}
header.client-header {
	background: var(--surface);
	border-bottom: 1px solid var(--border);
	display: flex;
	gap: 1rem;
	padding: .75rem 1rem;
	align-items: center;
}
header.client-header a.brand {
	color: var(--primary);
	font-weight: 600;
	font-size: 1.1em;
	text-decoration: none;
}
header.client-header nav {
	display: flex;
	gap: .75rem;
	flex: 1;
}
header.client-header nav a {
	color: var(--text);
	padding: .25rem .5rem;
	border-radius: 6px;
	text-decoration: none;
}
header.client-header nav a:hover,
header.client-header nav a.active {
	background: var(--surface-alt);
}
header.client-header .user {
	color: var(--text-soft);
	font-size: .9em;
}
section.client-page {
	max-width: 960px;
	margin: 1rem auto;
	padding: 0 1rem;
}
section.client-page h1 {
	margin-top: 0;
}
table.orders-table {
	background: var(--surface);
	border-radius: 8px;
	border-collapse: collapse;
	overflow: hidden;
	width: 100%;
}
table.orders-table th padding,
table.orders-table td padding {
	.65rem .75rem; text-align: left; border-bottom: 1px solid var(--border);
}
table.orders-table th background {
	--surface-alt; font-size: .85em; font-weight: 600;
}
table.orders-table tbody tr:hover {
	background: var(--row-hover);
}
table.orders-table td.status {
	font-size: .85em;
	text-transform: capitalize;
}
table.orders-table a.async {
	color: var(--primary);
	text-decoration: none;
}
dl.order-detail {
	background: var(--surface);
	border-radius: 8px;
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: .5rem 1rem;
	padding: 1rem;
	margin: 1rem 0;
}
dl.order-detail dt {
	color: var(--text-soft);
}
dl.order-detail dd {
	margin: 0;
}
ul.dropoffs,
ul.tickets {
	background: var(--surface);
	border-radius: 8px;
	list-style: none;
	padding: 0;
}
ul.dropoffs li border-bottom,
ul.tickets li border-bottom {
	1px solid $border; padding: .5rem .75rem;
}
ul.dropoffs li:last-child,
ul.tickets li:last-child {
	border-bottom: none;
}
p.empty {
	background: var(--surface);
	border-radius: 8px;
	padding: 1rem;
	text-align: center;
	color: var(--text-soft);
}
form.order-form {
	background: var(--surface);
	border-radius: 8px;
	padding: 1.5rem;
	max-width: 720px;
	display: flex;
	flex-direction: column;
	gap: .75rem;
}
label.checkbox {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: .9em;
}
p.intro {
	color: var(--text-soft);
	margin-top: 0;
}
.register-page {
	min-height: 100vh;
	padding: 2rem 1rem;
	display: flex;
	justify-content: center;
	align-items: flex-start;
}
.register-box {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
	box-shadow: var(--shadow-sm);
	padding: 2rem;
	width: 100%;
	max-width: 640px;
}
.register-title {
	color: var(--primary);
	font-size: 1.4rem;
	margin: 0 0 1.5rem 0;
	text-align: center;
}
.field-row {
	display: flex;
	gap: .75rem;
}
.field-row .field {
	flex: 1 1 0;
}
p.small {
	font-size: .85em;
	text-align: center;
	margin-top: 1rem;
	color: var(--text-soft);
}
canvas#signature {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 8px;
	cursor: crosshair;
	display: block;
	margin: 1rem 0;
	max-width: 100%;
	touch-action: none;
}
.sigbar {
	display: flex;
	gap: .5rem;
}
:root {
	--primary: #0073aa;
	--primary-text: #fff;
	--background: #f0f2f5;
	--surface: #ffffff;
	--surface-alt: #eef0f4;
	--text: #222222;
	--text-soft: #6a6a6a;
	--text-inv: #ffffff;
	--border: #c8ced8;
	--link: #0073aa;
	--warning: #cc2030;
	--danger: #cc2030;
	--row-odd: #f4f6fb;
	--row-even: #d6dcee;
	--row-hover: #b8c4e0;
	--shadow-sm: 0 1px 2px rgba(0,0,0,.10);
	--topbar-bg: #2d2d2d;
	--sidebar-bg: #444444;
	--sidebar-hover: #555555;
	--sidebar-active: #0073aa;
	font-family: system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
	scroll-behavior: smooth;
}
* {
	box-sizing: border-box;
}
html,
body {
	background: var(--background);
	color: var(--text);
	font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 13px;
	height: 100%;
	line-height: 1.35;
	margin: 0;
	overflow: hidden;
	padding: 0;
}
html > body:has(> nav) {
	display: grid;
	grid-template-columns: 160px 1fr;
	grid-template-rows: 30px 1fr;
	grid-template-areas: "top top" "nav main";
	height: 100dvh;
}
a {
	color: var(--link);
	text-decoration: none;
	color: var(--primary);
}
a:hover {
	text-decoration: underline;
}
body > header.app-top {
	align-items: center;
	background: var(--topbar-bg);
	color: #fff;
	display: flex;
	gap: 12px;
	grid-area: top;
	padding: 0 12px 0 0;
	z-index: 10;
}
body > header.app-top .brand {
	background: var(--topbar-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	width: 160px;
	padding: 0 8px;
	overflow: hidden;
}
body > header.app-top .brand img {
	height: 22px;
	width: auto;
	display: block;
}
body > header.app-top .crumbs {
	color: #fff;
	flex: 1;
	font-size: 14px;
	font-weight: 400;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
body > header.app-top .user {
	color: #ddd;
	font-size: 12px;
}
body > header.app-top a {
	color: #fff;
}
body > header.app-top a[href="/logout"] {
	display: flex;
	align-items: center;
	opacity: .85;
	padding: 0 8px;
}
body > header.app-top a[href="/logout"]:hover {
	opacity: 1;
}
body > header.app-top a.notify {
	position: relative;
	padding: 0 4px;
}
body > header.app-top a.notify .bubble {
	background: #cc2030;
	border-radius: 9px;
	color: #fff;
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	line-height: 16px;
	min-width: 18px;
	padding: 0 5px;
	text-align: center;
}
body > header.app-top #userSwitch {
	background: #fff;
	border: 1px solid #555;
	border-radius: 3px;
	color: #222;
	font: inherit;
	font-size: 12px;
	height: 22px;
	padding: 0 4px;
	max-width: 240px;
}
body > nav {
	background: var(--sidebar-bg);
	color: #fff;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 0;
	grid-area: nav;
	overflow-y: auto;
	padding: 0;
}
body > nav > a {
	align-items: center;
	background: transparent;
	border-radius: 0;
	color: #fff;
	display: flex;
	flex: none;
	font-size: 13px;
	gap: 6px;
	padding: 6px 10px;
	text-decoration: none;
	white-space: nowrap;
	overflow: visible;
	border-left: 3px solid transparent;
}
body > nav > a > i {
	display: inline-block;
	font-size: 1em;
	font-style: normal;
	margin: 0;
	text-align: center;
	width: 16px;
}
body > nav > a:hover {
	background: var(--sidebar-hover);
	color: #fff;
	text-decoration: none;
}
body > nav > a.active {
	background: var(--sidebar-active);
	border-left-color: #fff;
	color: #fff;
}
body > nav > a:last-child {
	margin-top: auto;
}
body > nav > a.sub {
	background: transparent;
	color: #c8d2e6;
	font-size: 12px;
	padding: 3px 10px 3px 24px;
}
body > nav > a.sub:hover {
	background: #555;
	color: #fff;
}
body > #menuToggle {
	display: none;
}
.pill {
	background: #ccc;
	border-radius: 10px;
	color: #fff;
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .02em;
	line-height: 1;
	padding: 3px 8px;
	text-transform: lowercase;
	white-space: nowrap;
}
.pill-nieuw {
	background: #888;
}
.pill-goedgekeurd {
	background: #28a745;
}
.pill-afgekeurd {
	background: #cc2030;
}
.pill-ontvangen {
	background: #17a2b8;
}
.pill-verzonden {
	background: #0073aa;
}
.pill-ingeklaard {
	background: #6f42c1;
}
.pill-magazijn {
	background: #fd7e14;
}
.pill-uitgeleverd {
	background: #198754;
}
.pill-open {
	background: #888;
}
.pill-retour {
	background: #cc2030;
}
body section table td.label.bool {
	font-size: 14px;
	text-align: center;
}
body section table td.label.bool::after {
	content: '';
}
a.att {
	background: #fff;
	border: 1px solid #d0d4dc;
	border-radius: 3px;
	color: #d6322f;
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	margin: 1px 2px 1px 0;
	padding: 1px 5px;
	text-decoration: none;
	white-space: nowrap;
}
a.att:hover {
	background: #fdecea;
	text-decoration: none;
}
a.att::before {
	content: '📄';
	font-size: 10px;
	margin-right: 3px;
}
body > main {
	background: var(--background);
	color: var(--text);
	grid-area: main;
	overflow: auto;
	padding: 0;
}
body > main > section {
	display: contents;
}
body section > header {
	align-items: center;
	background: var(--background);
	border-bottom: 1px solid var(--border);
	color: var(--text);
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	justify-content: end;
	left: 0;
	line-height: 28px;
	margin: 0;
	padding: 4px 10px;
	position: sticky;
	top: 0;
	z-index: 2;
}
body section > header h1,
body section > header h2 {
	color: var(--text);
	flex: auto;
	font-size: 15px;
	font-weight: 700;
	margin: 0;
}
body section > header .count {
	background: var(--warning);
	border-radius: 100%;
	color: #fff;
	display: inline-block;
	font-size: .8em;
	font-weight: bold;
	line-height: 1.4em;
	margin-right: .35em;
	min-width: 2em;
	padding: 0 .4em;
	text-align: center;
}
body section > header .search {
	position: relative;
}
body section > header .search input[type=search] {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 3px;
	color: #000;
	font: inherit;
	padding: 4px 8px 4px 26px;
	width: 200px;
}
body section > header .search i {
	color: #555;
	left: 8px;
}
body section > header select.filter,
body section > header select.sort {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 3px;
	color: var(--text);
	font: inherit;
	padding: 4px 8px;
}
body section > header button,
body section > header .btn {
	background: var(--primary);
	border: 0;
	border-radius: 3px;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font: inherit;
	font-size: 13px;
	height: 26px;
	margin-top: 0;
	padding: 0 .8em;
	text-align: center;
	text-decoration: none;
}
body section > header .btn.primary {
	background: var(--primary);
}
body section > header .btn.warning {
	background: var(--warning);
}
body section > header button:hover,
body section > header .btn:hover {
	filter: brightness(.93);
}
body section table {
	background: var(--surface);
	border-collapse: collapse;
	color: var(--text);
	font-size: 13px;
	margin: 0;
	width: 100%;
}
body section table th {
	background: #e8eaf0;
	border-bottom: 1px solid var(--border);
	color: var(--text);
	font-size: 12px;
	font-weight: 700;
	line-height: 22px;
	padding: 3px 16px 3px 6px;
	position: sticky;
	text-align: left;
	top: 37px;
	z-index: 1;
}
body section table tbody tr:nth-child(odd) {
	background: var(--row-odd);
}
body section table tbody tr:nth-child(even) {
	background: var(--row-even);
}
body section table tbody tr:hover td,
body section table tbody td.active {
	background: var(--row-hover);
}
body section table td {
	background: transparent;
	color: var(--text);
	font-size: 13px;
	line-height: 1.35;
	padding: 3px 6px;
	vertical-align: top;
}
body section table td input.field,
body section table td select,
body section table td textarea {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 3px;
	color: var(--text);
	margin: -2px;
	min-width: 80px;
	padding: 2px 4px;
}
body section table td > a.async {
	display: inline-block;
	max-width: 240px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
body section table td.link {
	cursor: pointer;
}
body section table td.noRecords {
	font-size: 1.2em;
	padding: 1em;
	text-align: center;
}
.client-pre {
	color: var(--warning);
	font-weight: 600;
	margin-right: 2px;
}
.app-empty {
	color: var(--text);
	margin: 4rem auto;
	max-width: 480px;
	text-align: center;
}
.app-empty h1 {
	color: var(--text);
}
.app-empty p {
	color: var(--text-soft);
}
.app-error {
	background: #fdecea;
	border: 1px solid #f5b8b6;
	border-radius: 3px;
	color: var(--warning);
	font-size: .9em;
	margin: .5rem 0;
	padding: .4rem .6rem;
}
.app-notice {
	background: #e7f2ff;
	border: 1px solid #b8d3f5;
	border-radius: 3px;
	color: var(--primary);
	font-size: .9em;
	margin: .5rem 0;
	padding: .4rem .6rem;
}
.login-page {
	align-items: center;
	background: var(--topbar-bg);
	display: flex;
	justify-content: center;
	min-height: 100vh;
	padding: 1rem;
}
.login-box {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 6px;
	box-shadow: 0 4px 16px rgba(0,0,0,.4);
	padding: 1.5rem;
	width: 100%;
	max-width: 360px;
}
.login-title {
	background: var(--topbar-bg) url(/logo.png) center/auto 28px no-repeat;
	border-radius: 6px 6px 0 0;
	height: 56px;
	margin: -1.5rem -1.5rem 1rem;
	text-indent: -9999px;
}
.login-subtitle {
	color: var(--text-soft);
	font-size: .9em;
	margin: 0 0 1rem;
	text-align: center;
}
.field {
	display: block;
	margin-bottom: .75rem;
}
.field span {
	color: var(--text-soft);
	display: block;
	font-size: .85em;
	margin-bottom: .15rem;
}
.field input,
.field select,
.field textarea {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 3px;
	color: var(--text);
	font: inherit;
	padding: .4rem .6rem;
	width: 100%;
}
form#bi {
	background: var(--surface);
	border-radius: 9px;
	display: flex;
	margin: 1rem 0;
}
form#bi i {
	cursor: pointer;
}
.bi-stat {
	background: var(--surface);
	border-radius: 9px;
	margin: 1rem 0;
	padding: 2rem;
	text-align: center;
}
.bi-stat .bi-stat-value {
	font-size: 3rem;
	font-weight: 700;
	line-height: 1.1;
}
.bi-stat .bi-stat-label {
	opacity: .7;
}
table.bi-table {
	border-collapse: collapse;
	margin: 1rem 0;
	width: 100%;
}
table.bi-table td {
	border-bottom: 1px solid #8884;
	padding: .4rem .6rem;
}
table.bi-table td:last-child {
	text-align: right;
	font-variant-numeric: tabular-nums;
}
#widgets + table.bi-table {
	opacity: .6;
}
#widgets {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
#widgets > figure {
	background: var(--surface);
	border-radius: 9px;
	margin: 0;
	min-width: 0;
	opacity: .2;
	transition: 500ms ease-in;
}
#widgets > figure.init {
	opacity: 1;
}
#widgets > figure figcaption {
	font-size: .9em;
	padding: .5rem;
	text-align: center;
}
#widgets > figure > div {
	aspect-ratio: 2 / 1;
}
body:has(> nav) {
	background: var(--bg);
	color: var(--text);
	display: flex;
	gap: 0 .5em;
	height: 100dvh;
	margin: 0;
	overflow-x: hidden;
}
nav {
	display: flex;
	flex-direction: column;
	gap: .5rem .25rem;
	height: 100dvh;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 1rem 0;
}
nav a {
	border-top-right-radius: 16px;
	border-bottom-right-radius: 16px;
	color: var(--text);
	display: block;
	flex-shrink: 0;
	overflow: hidden;
	padding: .5rem;
	text-decoration: none;
	white-space: nowrap;
}
nav a i {
	font-style: normal;
	display: inline-block;
	font-size: .85em;
	margin-left: -6px;
	text-align: center;
	width: 30px;
}
nav a:hover,
nav a.active {
	background: var(--primary);
}
nav a:last-child {
	margin-top: auto;
}
nav a .sub {
	font-size: .82em;
	opacity: .7;
	padding-top: .3rem;
	padding-bottom: .3rem;
}
nav a.sub.active {
	opacity: 1;
}
main {
	flex: 1;
	padding: 0 .5rem;
	overflow: auto;
}
main section {
	display: contents;
}
.cms-tools {
	margin-top: auto;
	display: flex;
	flex-direction: row;
	gap: .25rem;
	padding: .25rem .5rem;
}
.cms-tool {
	position: relative;
}
.cms-tool-toggle,
.cms-tool-link {
	background: transparent;
	border: 0;
	color: var(--text);
	cursor: pointer;
	display: block;
	font-size: 1.1rem;
	line-height: 1;
	padding: .4rem;
	text-align: left;
	text-decoration: none;
	width: 100%;
}
.cms-tool-toggle i {
	font-style: normal;
}
.cms-tool-toggle:hover,
.cms-tool-link:hover {
	background: var(--primary);
}
.cms-pop {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0,0,0,.4);
	display: none;
	flex-wrap: wrap;
	gap: .35rem;
	max-width: 248px;
	padding: .5rem;
	position: fixed;
	width: max-content;
	z-index: 50;
}
.cms-tool.open .cms-pop {
	display: flex;
}
.cms-pop-list {
	flex-direction: column;
	flex-wrap: nowrap;
	max-height: 60vh;
	overflow-y: auto;
}
.cms-pop-list a {
	border-radius: 6px;
	color: var(--text);
	padding: .25rem .5rem;
	text-decoration: none;
	white-space: nowrap;
}
.cms-pop-list a:hover,
.cms-pop-list a.is-active {
	background: var(--primary);
}
section.list.default {
	display: contents;
}
section.list.default.main table th {
	top: 30px;
}
section.list.default header {
	display: flex;
}
section.list.default header .search {
	flex: 1 1 200px;
	min-width: 120px;
	position: relative;
}
section.list.default header .search input {
	width: 100%;
	padding: .55rem .75rem .55rem 2.25rem;
	border: none;
	border-radius: 9px;
	background: var(--border);
	color: var(--text);
	font-size: .85em;
}
section.list.default header .search i {
	position: absolute;
	left: .75rem;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}
section.list.default table {
	min-width: 100%;
}
section.list.default table th {
	background: var(--surface);
	font-size: .85em;
	font-weight: normal;
	line-height: 30px;
	margin-bottom: 3em;
	position: sticky;
	text-align: left;
	top: 60px;
}
section.list.default table tbody tr:nth-child(odd) {
	background: transparent;
}
section.list.default table tbody tr:nth-child(even) {
	background: color-mix(in srgb, var(--surface) 92%, var(--text));
}
section.list.default table tbody tr:hover td,
section.list.default table tbody tr td.active {
	background: color-mix(in srgb, var(--surface) 82%, var(--text));
}
section.list.default table tbody tr td {
	padding: .5rem;
	vertical-align: top;
}
section.list.default table tbody tr td input.field,
section.list.default table tbody tr td select,
section.list.default table tbody tr td textarea {
	border: 1px solid var(--text);
	border-radius: 3px;
	min-width: 100px;
	margin: -.25rem;
	padding: .25rem;
}
section.list.default table tbody tr td > a.async {
	display: block;
	max-width: 150px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
section.list.default table tbody tr td.link {
	cursor: pointer;
}
section.list.default table tbody tr td .noRecords {
	font-size: 1.2em;
	text-align: center;
}
td.sort {
	cursor: grab;
	text-align: center;
	touch-action: none;
	user-select: none;
	vertical-align: middle !important;
}
.sort__grip {
	font: inherit;
	font-size: 2em;
	line-height: 1;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: inherit;
}
td.sort--off {
	cursor: default;
	opacity: .25;
}
tbody:has(tr.dragging) tr:not(.dragging) {
	opacity: .3;
}
html.loading body::before {
	content: '';
	position: fixed;
	inset: 0;
	background: #000;
	opacity: 0;
	animation: darkfade .15s ease forwards .1s;
	pointer-events: none;
	z-index: 9999;
}
html.waiting body::after {
	content: 'loading';
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-family: monospace;
	font-size: 1.25rem;
	color: #0f0;
	background: #000;
	padding: .75rem 1.5rem;
	border: 1px solid #0f0;
	min-width: 20ch;
	white-space: pre;
	animation: terminaldots 1s steps(3) infinite;
	z-index: 10000;
}
section.record.default .body {
	display: grid;
	gap: .75rem;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	margin-top: .75rem;
}
section.record.default .body div.field:has(.preview.image img),
section.record.default .body div.field:has(.label.wysiwyg) {
	grid-column: 1 / -1;
}
section.change.default form,
section.create.default form {
	display: flex;
	flex-direction: column;
	gap: .8rem;
	margin-top: .75rem;
	max-width: 38rem;
}
section.record.default div.field,
section.change.default div.field,
section.create.default div.field {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	gap: .35rem;
	min-width: 0;
	padding: .7rem .85rem;
}
section.record.default div.field > label,
section.change.default div.field > label,
section.create.default div.field > label {
	color: var(--muted);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
}
section.record.default div.field > .label,
section.change.default div.field > .label,
section.create.default div.field > .label {
	color: var(--text);
	min-height: 1.2em;
	overflow-wrap: break-word;
}
section.record.default div.field > .input,
section.change.default div.field > .input,
section.create.default div.field > .input {
	align-items: center;
	border: 1px solid var(--border);
	border-radius: 7px;
	display: flex;
	gap: .4rem;
	padding: .45rem .55rem;
}
section.record.default div.field > .input:focus-within,
section.change.default div.field > .input:focus-within,
section.create.default div.field > .input:focus-within {
	border-color: var(--primary);
}
section.record.default div.field > .input input.field,
section.record.default div.field > .input select,
section.record.default div.field > .input textarea,
section.change.default div.field > .input input.field,
section.change.default div.field > .input select,
section.change.default div.field > .input textarea,
section.create.default div.field > .input input.field,
section.create.default div.field > .input select,
section.create.default div.field > .input textarea {
	flex: 1;
	min-width: 0;
	width: auto;
}
section.record.default div.field > .input.wysiwyg,
section.record.default div.field > .input.multiselect,
section.record.default div.field > .input.image,
section.record.default div.field > .input.file,
section.change.default div.field > .input.wysiwyg,
section.change.default div.field > .input.multiselect,
section.change.default div.field > .input.image,
section.change.default div.field > .input.file,
section.create.default div.field > .input.wysiwyg,
section.create.default div.field > .input.multiselect,
section.create.default div.field > .input.image,
section.create.default div.field > .input.file {
	display: block;
}
section.record.default > section,
section.change.default > section,
section.create.default > section {
	margin-top: 1.5rem;
}
dialog p {
	white-space: pre-wrap;
}
::-webkit-scrollbar {
	background: var(--bg);
	width: 12px;
	height: 20px;
}
::-webkit-scrollbar \-thumb {
	background: var(--primary);
}
h1,
h2 {
	font-size: 1.2em;
	font-weight: normal;
	margin: 0;
}
input.field,
select,
textarea {
	background: transparent;
	border: 0;
	font: inherit;
	color: var(--text);
}
input.field.error,
select.error,
textarea.error {
	outline: 1px solid var(--warn);
}
section .body input.field,
section .body select,
section .body textarea,
input.field.full,
select.full,
textarea.full {
	width: 100%;
}
input::placeholder {
	color: var(--text);
	opacity: .66;
}
select option,
select optgroup {
	background: black;
	color: white;
}
.ms-grid {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem .9rem;
	padding: .25rem 0;
}
.ms-opt {
	align-items: center;
	cursor: pointer;
	display: inline-flex;
	gap: .35rem;
}
.ms-opt input {
	width: auto;
	margin: 0;
}
button,
.btn {
	background: var(--surface);
	border-radius: 6px;
	color: var(--text);
	cursor: pointer;
	display: inline-block;
	border: 0;
	font: inherit;
	font-size: .9em;
	outline: 0;
	padding: .4rem .9rem;
	text-align: center;
	text-decoration: none;
}
button.primary,
.btn.primary {
	background: var(--primary);
}
button.warning,
.btn.warning {
	background: var(--warn);
}
button.danger,
.btn.danger {
	background: var(--error);
}
section header {
	background: var(--bg);
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	justify-content: end;
	line-height: 30px;
	margin: 1.25em 0 0;
	padding: 0 .5rem;
	position: sticky;
	left: 0;
	z-index: 1;
}
section header h1,
section header h2 {
	flex: auto;
}
section header .count {
	background: var(--warn);
	border-radius: 100%;
	display: inline-block;
	font-size: .8em;
	font-weight: bold;
	text-align: center;
	min-width: 2em;
}
section header button,
section header .btn {
	align-self: center;
}
#more {
	display: block;
	margin: auto;
}
dialog {
	animation: 200ms dialog;
	background: var(--bg);
	border: 1px solid var(--primary);
	border-radius: 6px;
	color: var(--text);
}
dialog::backdrop {
	backdrop-filter: blur(12px);
	background-color: #ABC2;
	cursor: pointer;
}
dialog button {
	border: 1px solid var(--primary);
}
figure div.list {
	line-height: 2.1em;
	padding: 0 1.5rem;
	transition: 1s;
	font-size: .85em;
}
figure div.list div {
	border-bottom: 1px solid #FFFD;
	overflow: hidden;
	opacity: 0;
	text-overflow: ellipsis;
	white-space: nowrap;
}
figure div.list div:first-child {
	border-top: 1px solid #FFFD;
}
figure div.list div a {
	text-decoration: none;
}
figure.init div.list {
	padding-top: 1.15rem;
}
figure.init div.list div {
	opacity: 1;
}
.label.bool {
	text-align: center;
}
.input.bool {
	justify-content: center;
}
.input.bool label {
	position: relative;
	display: inline-block;
	width: 42px;
	height: 24px;
}
.input.bool input {
	opacity: 0;
	width: 0;
	height: 0;
}
.input.bool input:checked + .slider {
	background: var(--primary);
}
.input.bool input:checked + .slider:before {
	transform: translateX(18px);
}
.input.bool .slider {
	position: absolute;
	inset: 0;
	cursor: pointer;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 20px;
	transition: .3s;
}
.input.bool .slider:before {
	content: "";
	position: absolute;
	height: 16px;
	width: 16px;
	left: 3px;
	top: 3px;
	background: var(--text);
	border-radius: 50%;
	transition: .3s;
}
.label.child {
	max-height: 100px;
	overflow-y: auto;
}
.label.child a {
	display: block;
}
.label.datetime {
	white-space: nowrap;
}
.label.datetime .icon {
	float: left;
	margin-right: .4rem;
	margin-top: .15em;
}
.label.many {
	flex-wrap: wrap;
}
.label.many a {
	display: block;
	width: 100%;
}
.label.number,
.label.price,
.input.number input,
.input.price input {
	text-align: right;
}
.icon {
	background-image: url(/icons.png?.14);
	background-position-y: bottom;
	display: inline-block;
	overflow: hidden;
	padding: 0;
	width: 10px;
	height: 10px;
}
.icon.zoom {
	width: 16px;
	height: 16px;
}
.icon.view {
	background-position-x: -16px;
	width: 24px;
	height: 24px;
}
.icon.pdf {
	background-position-x: -40px;
	width: 24px;
	height: 24px;
}
.icon.microphone {
	background-position-x: -64px;
	width: 24px;
	height: 24px;
}
.icon.clock-yellow {
	background-position-x: -88px;
}
.icon.clock-red {
	background-position-x: -98px;
}
.icon.clock-blue {
	background-position-x: -108px;
}
@media(max-width:800px){
	body:has(> nav) {
		flex-direction: column-reverse;
	}
	nav {
		flex-direction: row;
		font-size: .85em;
		height: initial;
		justify-content: space-around;
		overflow: hidden;
		padding: .5rem 0;
	}
	nav a {
		border-radius: 16px;
		display: none;
		padding: .25rem .5rem;
	}
	nav a:nth-child(-n+4),
	nav a:last-child {
		display: block;
	}
	.cms-tools {
		flex-direction: row;
		margin-top: 0;
	}
}
@media(min-width:801px){
	#menuToggle {
		background: var(--primary);
		border-radius: 5px;
		cursor: pointer;
		border: 1px solid var(--surface);
		margin-top: 50vh;
		width: 10px;
		height: 44px;
	}
	body:has(#menuToggle.hide) nav {
		width: 32px;
	}
	body:has(#menuToggle.hide) nav:hover {
		overflow: visible;
	}
	body:has(#menuToggle.hide) nav a {
		width: 32px;
	}
	body:has(#menuToggle.hide) nav a:hover {
		width: fit-content;
		z-index: 2;
	}
}
@media(max-width:520px): a{
	nav {
		overflow: hidden;
		padding: .25rem;
		width: 26px;
	}
	nav.active {
		width: auto;
	}
	nav:not(.active) i {
		margin-right: .5rem;
	}
	nav i {
		width: 20px;
	}
}
@keyframes darkfade{
	80% {
		opacity: 0;
	}
	100% {
		opacity: .8;
	}
}
@keyframes terminaldots{
	0% {
		content: 'loading';
	}
	33% {
		content: 'loading .';
	}
	66% {
		content: 'loading ..';
	}
	100% {
		content: 'loading ...';
	}
}
@keyframes dialog{
	from {
		transform: scale(.5);
	}
}
