body.toolbox-hide-theme-title {
	--tb-text: #1E2632;
	--tb-accent: #EA1A45;
	--tb-accent-hover: #c9143a;
	--tb-secondary: #465065;
	--tb-muted: #64748b;
	--tb-border: #A6ABB5;
	--tb-border-soft: #e2e8f0;
	--tb-page: #f8fafc;
	--tb-surface: #ffffff;
	--tb-surface-muted: #f1f5f9;
	--tb-surface-strong: #1E2632;
	--tb-text-inverse: #ffffff;
	--tb-focus: rgba(234, 26, 69, .18);
	--tb-shadow: 0 1px 3px rgba(30, 38, 50, .08), 0 12px 28px rgba(30, 38, 50, .06);
	--tb-transition: 180ms ease;
	background: var(--tb-page);
	color: var(--tb-text);
}

@media (prefers-color-scheme: dark) {
	html:not(.toolbox-theme-light) body.toolbox-hide-theme-title {
		--tb-text: #f8fafc;
		--tb-secondary: #c7c9cc;
		--tb-muted: #8f9399;
		--tb-border: #565c65;
		--tb-border-soft: #334155;
		--tb-page: #0f1319;
		--tb-surface: #171d26;
		--tb-surface-muted: #1E2632;
		--tb-surface-strong: #f8fafc;
		--tb-text-inverse: #1E2632;
		--tb-focus: rgba(234, 26, 69, .28);
		--tb-shadow: 0 1px 3px rgba(0, 0, 0, .22), 0 14px 30px rgba(0, 0, 0, .26);
		color-scheme: dark;
	}
}

html.dark body.toolbox-hide-theme-title,
html.toolbox-theme-dark body.toolbox-hide-theme-title {
	--tb-text: #f8fafc;
	--tb-secondary: #c7c9cc;
	--tb-muted: #8f9399;
	--tb-border: #565c65;
	--tb-border-soft: #334155;
	--tb-page: #0f1319;
	--tb-surface: #171d26;
	--tb-surface-muted: #1E2632;
	--tb-surface-strong: #f8fafc;
	--tb-text-inverse: #1E2632;
	--tb-focus: rgba(234, 26, 69, .28);
	--tb-shadow: 0 1px 3px rgba(0, 0, 0, .22), 0 14px 30px rgba(0, 0, 0, .26);
	color-scheme: dark;
}

html.toolbox-theme-light body.toolbox-hide-theme-title {
	--tb-text: #1E2632;
	--tb-accent: #EA1A45;
	--tb-accent-hover: #c9143a;
	--tb-secondary: #465065;
	--tb-muted: #64748b;
	--tb-border: #A6ABB5;
	--tb-border-soft: #e2e8f0;
	--tb-page: #f8fafc;
	--tb-surface: #ffffff;
	--tb-surface-muted: #f1f5f9;
	--tb-surface-strong: #1E2632;
	--tb-text-inverse: #ffffff;
	--tb-focus: rgba(234, 26, 69, .18);
	--tb-shadow: 0 1px 3px rgba(30, 38, 50, .08), 0 12px 28px rgba(30, 38, 50, .06);
	color-scheme: light;
}

.toolbox-app {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 22px 18px;
	color: var(--tb-text);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.5;
	box-sizing: border-box;
}

.toolbox-app a:not(.toolbox-button):not(.toolbox-topnav a):not(.toolbox-stats a) {
	transition: color var(--tb-transition);
}

.toolbox-app a:not(.toolbox-button):not(.toolbox-topnav a):not(.toolbox-stats a):hover {
	color: var(--tb-accent);
}

body.toolbox-hide-theme-title .wp-site-blocks,
body.toolbox-hide-theme-title main,
body.toolbox-hide-theme-title article,
body.toolbox-hide-theme-title .site-main,
body.toolbox-hide-theme-title .site-content,
body.toolbox-hide-theme-title .content-area,
body.toolbox-hide-theme-title .content,
body.toolbox-hide-theme-title .container,
body.toolbox-hide-theme-title .wrap,
body.toolbox-hide-theme-title .ast-container,
body.toolbox-hide-theme-title .inside-article,
body.toolbox-hide-theme-title .wp-block-group,
body.toolbox-hide-theme-title .wp-block-group__inner-container,
body.toolbox-hide-theme-title .entry-content,
body.toolbox-hide-theme-title .wp-block-post-content {
	width: 100% !important;
	max-width: none !important;
}

body.toolbox-hide-theme-title .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
body.toolbox-hide-theme-title .entry-content > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
body.toolbox-hide-theme-title .wp-block-post-content > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: none !important;
}

body.toolbox-hide-theme-title .toolbox-app,
body.toolbox-hide-theme-title .entry-content > .toolbox-app,
body.toolbox-hide-theme-title .wp-block-post-content > .toolbox-app,
body.toolbox-hide-theme-title .is-layout-constrained > .toolbox-app {
	width: min(100%, 1280px) !important;
	max-width: 1280px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body.toolbox-hide-theme-title .entry-title,
body.toolbox-hide-theme-title .page-title,
body.toolbox-hide-theme-title .wp-block-post-title,
body.toolbox-hide-theme-title .post-title,
body.toolbox-hide-theme-title h1:not(.toolbox-page-title),
body.toolbox-hide-theme-title main > article > header h1,
body.toolbox-hide-theme-title .site-main > article > header h1,
body.toolbox-hide-theme-title .content-area > article > header h1 {
	display: none !important;
}

.w-3 { width: 12px; }
.h-3 { height: 12px; }
.w-3\.5 { width: 14px; }
.h-3\.5 { height: 14px; }
.w-4 { width: 16px; }
.h-4 { height: 16px; }
.w-5 { width: 20px; }
.h-5 { height: 20px; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.ml-2 { margin-left: 8px; }
.text-sky-500,
.text-indigo-500,
.text-violet-500 { color: var(--tb-accent); }

.toolbox-topnav {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	padding: 8px;
	border: 1px solid var(--tb-border-soft);
	border-radius: 12px;
	background: var(--tb-surface);
	box-shadow: var(--tb-shadow);
	overflow: visible;
}

.toolbox-nav-links {
	display: flex;
	flex: 1 1 auto;
	gap: 8px;
	overflow-x: auto;
}

.toolbox-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	min-width: 40px;
	min-height: 40px;
	padding: 0;
	border: 1px solid var(--tb-accent);
	border-radius: 8px;
	background: var(--tb-accent);
	color: #fff;
	font-weight: 750;
	line-height: 1.2;
	cursor: pointer;
	transition:
		background-color var(--tb-transition),
		border-color var(--tb-transition),
		color var(--tb-transition);
}

.toolbox-nav-toggle:hover {
	border-color: var(--tb-accent-hover);
	background: var(--tb-accent-hover);
	color: #fff;
}

.toolbox-nav-add {
	position: relative;
	margin-left: auto;
}

.toolbox-nav-add summary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	min-width: 40px;
	min-height: 40px;
	padding: 0;
	border: 1px solid var(--tb-accent);
	border-radius: 8px;
	background: var(--tb-accent);
	color: #fff;
	cursor: pointer;
	list-style: none;
	transition:
		background-color var(--tb-transition),
		border-color var(--tb-transition),
		color var(--tb-transition);
}

.toolbox-nav-add summary::-webkit-details-marker {
	display: none;
}

.toolbox-nav-add summary:hover,
.toolbox-nav-add[open] summary {
	border-color: var(--tb-accent-hover);
	background: var(--tb-accent-hover);
	color: #fff;
}

.toolbox-nav-add-menu {
	position: absolute;
	z-index: 20;
	top: calc(100% + 8px);
	right: 0;
	display: none;
	min-width: 220px;
	padding: 8px;
	border: 1px solid var(--tb-border-soft);
	border-radius: 10px;
	background: var(--tb-surface);
	box-shadow: var(--tb-shadow);
}

.toolbox-nav-add:hover .toolbox-nav-add-menu,
.toolbox-nav-add[open] .toolbox-nav-add-menu {
	display: grid;
	gap: 4px;
}

.toolbox-nav-add-menu a {
	justify-content: flex-start;
	width: 100%;
}


.toolbox-topnav a,
.toolbox-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 8px 13px;
	border: 1px solid var(--tb-accent);
	border-radius: 8px;
	background: var(--tb-accent);
	color: #fff;
	text-decoration: none;
	font-weight: 650;
	line-height: 1.2;
	cursor: pointer;
	transition:
		background-color var(--tb-transition),
		border-color var(--tb-transition),
		color var(--tb-transition),
		box-shadow var(--tb-transition);
}

.toolbox-topnav a {
	border-color: transparent;
	background: transparent;
	color: var(--tb-secondary);
	white-space: nowrap;
}

.toolbox-topnav a:hover,
.toolbox-button:hover {
	border-color: var(--tb-accent-hover);
	background: var(--tb-accent-hover);
	color: #fff;
}

.toolbox-footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 28px;
	padding-top: 16px;
	border-top: 1px solid var(--tb-border-soft);
}

.toolbox-theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	min-width: 24px;
	min-height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--tb-secondary);
	cursor: pointer;
	line-height: 1;
	white-space: nowrap;
	transition:
		background-color var(--tb-transition),
		color var(--tb-transition),
		opacity var(--tb-transition);
}

.toolbox-theme-toggle:hover {
	background: transparent;
	color: var(--tb-accent);
}

.toolbox-plugin-meta {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--tb-muted);
	font-size: 13px;
	font-weight: 650;
	white-space: nowrap;
}

.toolbox-theme-toggle svg {
	width: 22px;
	height: 22px;
	pointer-events: none;
}

.toolbox-theme-icon--sun {
	display: none;
}

html.dark .toolbox-theme-icon--moon,
html.toolbox-theme-dark .toolbox-theme-icon--moon {
	display: none;
}

html.dark .toolbox-theme-icon--sun,
html.toolbox-theme-dark .toolbox-theme-icon--sun {
	display: inline-block;
}

.toolbox-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin: -4px 0 14px;
	color: var(--tb-muted);
	font-size: 14px;
	line-height: 1.35;
}

.toolbox-breadcrumbs a {
	color: var(--tb-secondary);
	font-weight: 650;
	text-decoration: none;
	transition: color var(--tb-transition);
}

.toolbox-breadcrumbs a:hover {
	color: var(--tb-accent);
}

.toolbox-breadcrumb-home {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.toolbox-breadcrumbs span:not(.toolbox-breadcrumb-separator) {
	color: var(--tb-muted);
}

.toolbox-breadcrumb-separator {
	color: var(--tb-border);
}

.toolbox-page-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.toolbox-page-header h1 {
	margin: 0;
	font-size: 32px;
	line-height: 1.1;
}

.toolbox-page-title-count {
	color: var(--tb-muted);
	font-weight: 650;
}

.toolbox-single-header .toolbox-page-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.toolbox-title-edit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--tb-muted);
	text-decoration: none;
	transition:
		background-color var(--tb-transition),
		color var(--tb-transition);
}

.toolbox-title-edit:hover {
	background: var(--tb-surface-muted);
	color: var(--tb-accent);
}

.toolbox-single-code {
	margin: 8px 0 0;
	color: var(--tb-muted);
	font-size: 18px;
	font-weight: 750;
	line-height: 1.35;
}

.toolbox-single-modified {
	margin: 2px 0 0;
	color: var(--tb-muted);
	font-size: 15px;
	line-height: 1.35;
}

.toolbox-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
	margin-left: auto;
}

.toolbox-searchbar form {
	display: grid;
	grid-template-columns: minmax(240px, 1fr) minmax(520px, 1.35fr) auto;
	align-items: stretch;
	gap: 8px;
	margin-bottom: 18px;
}

.toolbox-search-main,
.toolbox-search-filters {
	display: block;
	min-width: 0;
}

.toolbox-search-filter-fields {
	display: grid;
	grid-template-columns: minmax(120px, .7fr) minmax(190px, 1fr) minmax(190px, 1fr);
	gap: 8px;
}

.toolbox-search-filters summary {
	display: none;
}

.toolbox-search-submit span {
	display: inline;
}

.toolbox-searchbar input,
.toolbox-searchbar select,
.toolbox-form input,
.toolbox-form select,
.toolbox-form textarea {
	width: 100%;
	min-height: 42px;
	border: 1px solid var(--tb-border-soft);
	border-radius: 8px;
	padding: 9px 11px;
	background: var(--tb-surface);
	color: var(--tb-text);
	font: inherit;
	box-sizing: border-box;
}

.toolbox-searchbar select,
.toolbox-form select {
	appearance: none;
	padding-right: 36px;
	background-image:
		linear-gradient(45deg, transparent 50%, var(--tb-muted) 50%),
		linear-gradient(135deg, var(--tb-muted) 50%, transparent 50%);
	background-position:
		calc(100% - 18px) 50%,
		calc(100% - 12px) 50%;
	background-repeat: no-repeat;
	background-size: 6px 6px, 6px 6px;
	transition:
		background-color var(--tb-transition),
		border-color var(--tb-transition),
		color var(--tb-transition),
		outline-color var(--tb-transition),
		box-shadow var(--tb-transition);
}

.toolbox-searchbar input:focus,
.toolbox-searchbar select:focus,
.toolbox-form input:focus,
.toolbox-form select:focus,
.toolbox-form textarea:focus {
	border-color: var(--tb-accent);
	outline: 2px solid var(--tb-focus);
}

.toolbox-searchbar-global {
	margin-bottom: 6px;
}

.toolbox-notice {
	margin-bottom: 16px;
	padding: 12px 14px;
	border: 1px solid rgba(22, 163, 74, .22);
	border-radius: 10px;
	background: rgba(22, 163, 74, .08);
	color: #15803d;
}

.toolbox-notice--error {
	border-color: rgba(234, 26, 69, .24);
	background: rgba(234, 26, 69, .08);
	color: var(--tb-accent);
}


.toolbox-auth-app {
	min-height: calc(100vh - 44px);
	display: grid;
	align-content: center;
	justify-items: center;
}

.toolbox-auth-card {
	width: min(100%, 440px);
	padding: 26px;
	border: 1px solid var(--tb-border-soft);
	border-radius: 12px;
	background: var(--tb-surface);
	box-shadow: var(--tb-shadow);
}

.toolbox-auth-card .toolbox-page-title {
	margin: 0 0 18px;
	font-size: 34px;
	line-height: 1.1;
}

.toolbox-auth-footer {
	width: min(100%, 440px);
}

.toolbox-auth-form,
.toolbox-password-form {
	display: grid;
	gap: 14px;
}

.toolbox-auth-error {
	margin: 0 0 14px;
	padding: 11px 12px;
	border: 1px solid rgba(234, 26, 69, .24);
	border-radius: 8px;
	background: rgba(234, 26, 69, .08);
	color: var(--tb-accent);
	font-weight: 650;
}

.toolbox-check-row {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--tb-secondary);
	font-weight: 650;
}

.toolbox-check-row input {
	width: 18px;
	height: 18px;
	accent-color: var(--tb-accent);
}

.toolbox-auth-message {
	display: grid;
	gap: 14px;
}

.toolbox-auth-links {
	display: flex;
	justify-content: center;
	font-size: 15px;
}

.toolbox-auth-links a {
	color: var(--tb-secondary);
	font-weight: 650;
	text-decoration: none;
	transition: color var(--tb-transition);
}

.toolbox-auth-links a:hover {
	color: var(--tb-accent);
}

.toolbox-profile-grid {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
	gap: 22px;
}

.toolbox-profile-list {
	display: grid;
	gap: 12px;
	margin: 0;
}

.toolbox-profile-row {
	display: grid;
	gap: 2px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--tb-border-soft);
}

.toolbox-profile-row dt {
	color: var(--tb-muted);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.toolbox-profile-row dd {
	margin: 0;
	color: var(--tb-text);
	font-size: 20px;
	font-weight: 750;
}

.toolbox-password-card h2 {
	margin: 0 0 14px;
	font-size: 24px;
	line-height: 1.2;
}

.toolbox-profile-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}

.toolbox-button--secondary {
	border-color: var(--tb-border-soft);
	background: transparent;
	color: var(--tb-secondary);
}

.toolbox-button--secondary:hover {
	border-color: var(--tb-accent-hover);
	background: var(--tb-accent-hover);
	color: #fff;
}

.toolbox-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 18px;
}

.toolbox-stats > a,
.toolbox-card,
.toolbox-detail,
.toolbox-label {
	border: 1px solid var(--tb-border-soft);
	border-radius: 12px;
	background: var(--tb-surface);
	box-shadow: var(--tb-shadow);
	transition:
		background-color var(--tb-transition),
		border-color var(--tb-transition),
		color var(--tb-transition),
		box-shadow var(--tb-transition);
}

.toolbox-stats > a {
	padding: 18px;
	color: var(--tb-text);
	text-decoration: none;
}

.toolbox-stats > a {
	display: grid;
	grid-template-columns: 48px auto 1fr auto;
	align-items: center;
	gap: 14px;
}

.toolbox-stats > a:hover {
	border-color: var(--tb-accent-hover);
	box-shadow: 0 18px 45px rgba(15, 23, 42, .12);
}

.toolbox-stats > a:hover .toolbox-stat-arrow {
	color: var(--tb-accent);
	transform: translateX(2px);
}

.toolbox-stat-arrow {
	color: var(--tb-muted);
	transition:
		color var(--tb-transition),
		transform var(--tb-transition);
}

.toolbox-stat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 8px;
}

.toolbox-stat-icon--location { background: rgba(14, 165, 233, .12); color: #0369a1; }
.toolbox-stat-icon--container { background: rgba(234, 26, 69, .12); color: var(--tb-accent); }
.toolbox-stat-icon--item { background: rgba(79, 70, 229, .12); color: #4f46e5; }

.toolbox-stats strong {
	display: block;
	font-size: 30px;
	line-height: 1;
}

.toolbox-stats > a > span {
	font-size: 20px;
	line-height: 1.2;
}

.toolbox-stats span,
.toolbox-card p,
.toolbox-empty,
.toolbox-expiring-items li span {
	color: var(--tb-muted);
}


.toolbox-panel {
	margin-bottom: 18px;
}

.toolbox-panel h2 {
	margin: 0 0 12px;
	font-size: 20px;
	line-height: 1.2;
}

.toolbox-dashboard-panel {
	margin-bottom: 18px;
	padding: 18px;
	border: 1px solid var(--tb-border-soft);
	border-radius: 12px;
	background: var(--tb-surface);
	box-shadow: var(--tb-shadow);
	transition:
		background-color var(--tb-transition),
		border-color var(--tb-transition),
		color var(--tb-transition),
		box-shadow var(--tb-transition);
}

.toolbox-dashboard-panel h2 {
	margin: 0 0 12px;
	font-size: 20px;
	line-height: 1.2;
}

.toolbox-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 12px;
}

.toolbox-card {
	padding: 14px;
}

.toolbox-card h3 {
	margin: 0 0 6px;
	font-size: 18px;
	line-height: 1.2;
}

.toolbox-card-title-count {
	color: var(--tb-muted);
	font-weight: 650;
}

.toolbox-card a {
	color: inherit;
	text-decoration: none;
	transition: color var(--tb-transition);
}

.toolbox-card-code {
	font-size: 16px;
	line-height: 1.35;
	letter-spacing: .02em;
}

.toolbox-card-containers {
	display: grid;
	gap: 6px;
	margin: 12px 0 0;
	padding: 12px 0 0;
	border-top: 1px solid var(--tb-border-soft);
	list-style: none;
}

.toolbox-card-containers a {
	color: var(--tb-secondary);
	font-size: 14px;
	font-weight: 650;
}

.toolbox-card-containers a:hover {
	color: var(--tb-accent);
}

.toolbox-card-empty {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--tb-border-soft);
	font-size: 14px;
}

.toolbox-modified-meta {
	display: grid;
	gap: 2px;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid var(--tb-border-soft);
	font-size: 13px;
	line-height: 1.35;
}

.toolbox-modified-meta span {
	color: var(--tb-secondary);
	font-size: 11px;
	font-weight: 750;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.toolbox-form {
	display: grid;
	gap: 14px;
}

.toolbox-form label {
	display: grid;
	gap: 6px;
	font-weight: 650;
}

.toolbox-form textarea {
	min-height: 92px;
	resize: vertical;
}

.toolbox-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.toolbox-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
	gap: 18px;
	align-items: start;
}

.toolbox-details {
	display: grid;
	gap: 8px;
	margin: 0;
}

.toolbox-detail {
	display: grid;
	gap: 4px;
	padding: 12px;
}

.toolbox-detail dt {
	color: var(--tb-muted);
	font-size: 12px;
	font-weight: 750;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.toolbox-detail dd {
	margin: 0;
}

.toolbox-detail a,
.toolbox-container-items a,
.toolbox-expiring-items a {
	color: var(--tb-text);
	font-weight: 650;
	text-decoration: none;
	transition: color var(--tb-transition);
}

.toolbox-item-layout {
	grid-template-columns: minmax(0, 1.05fr) minmax(280px, .75fr);
}

.toolbox-object-main {
	display: grid;
	gap: 5px;
}

.toolbox-object-title {
	display: inline;
	width: fit-content;
	margin: 0;
	padding: 4px 0;
	background: var(--tb-surface-muted);
	color: var(--tb-text);
	font-size: 36px;
	line-height: 1.05;
	font-weight: 800;
	letter-spacing: 0;
}

.toolbox-object-modified {
	margin: 0;
	color: var(--tb-muted);
	font-size: 15px;
	line-height: 1.35;
}

.toolbox-object-relations {
	display: grid;
	gap: 10px;
	margin: 0;
}

.toolbox-object-relations .toolbox-detail {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none !important;
}

.toolbox-object-relations .toolbox-detail dt {
	color: var(--tb-muted);
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: none;
}

.toolbox-object-relations .toolbox-detail dt::after {
	content: ":";
}

.toolbox-object-relations .toolbox-detail dd,
.toolbox-object-relations .toolbox-detail a {
	color: var(--tb-text);
	font-size: 16px;
	font-weight: 750;
	line-height: 1.2;
}

.toolbox-object-notes h3 {
	margin: 0 0 8px;
	color: var(--tb-text);
	font-size: 26px;
	line-height: 1.15;
	font-weight: 500;
}

.toolbox-object-notes p {
	margin: 0;
	color: var(--tb-secondary);
	font-size: 17px;
}

.toolbox-object-main .toolbox-photo {
	max-width: 520px;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.toolbox-code {
	display: inline-flex;
	margin-bottom: 12px;
	padding: 7px 12px;
	border-radius: 8px;
	background: var(--tb-surface-strong);
	color: var(--tb-text-inverse);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	font-size: 18px;
	font-weight: 750;
	letter-spacing: .04em;
}

.toolbox-photo-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 12px;
}

.toolbox-photo {
	margin: 0 0 12px;
	overflow: hidden;
	border: 1px solid var(--tb-border-soft);
	border-radius: 12px;
	background: var(--tb-surface);
}

.toolbox-photo img {
	display: block;
	width: 100%;
	height: auto;
}

.toolbox-photo figcaption {
	padding: 8px;
	color: var(--tb-muted);
	font-size: 13px;
}

.toolbox-badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 8px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 750;
}

.toolbox-badge--ok { background: rgba(22, 163, 74, .12); color: #15803d; }
.toolbox-badge--warn { background: rgba(245, 158, 11, .14); color: #b45309; }
.toolbox-badge--muted { background: var(--tb-surface-muted); color: var(--tb-muted); }

.toolbox-container-items,
.toolbox-expiring-items {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.toolbox-container-items li,
.toolbox-expiring-items li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px;
	border: 1px solid var(--tb-border-soft);
	border-radius: 8px;
}

.toolbox-print-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	padding: 12px;
	border: 1px solid var(--tb-border-soft);
	border-radius: 12px;
	background: var(--tb-surface);
	box-shadow: var(--tb-shadow);
}

.toolbox-print-actions-count {
	margin-left: auto;
	color: var(--tb-muted);
}

.toolbox-labels-section {
	margin-bottom: 28px;
}

.toolbox-labels-section-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--tb-border-soft);
}

.toolbox-labels-section-header h2 {
	margin: 0;
	font-size: 20px;
}

.toolbox-labels-section-header span {
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--tb-surface-muted);
	color: var(--tb-muted);
	font-size: 13px;
}

.toolbox-label-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 14px;
}

.toolbox-label {
	position: relative;
	padding: 16px;
	text-align: center;
	cursor: pointer;
	transition:
		background-color var(--tb-transition),
		border-color var(--tb-transition),
		color var(--tb-transition),
		box-shadow var(--tb-transition);
}

.toolbox-label:hover,
.toolbox-label.is-selected {
	border-color: var(--tb-accent);
}

.toolbox-label.is-selected {
	background: rgba(234, 26, 69, .08);
}

.toolbox-label-check {
	position: absolute;
	top: 10px;
	left: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border: 2px solid var(--tb-border);
	border-radius: 999px;
	background: var(--tb-surface);
	color: transparent;
	transition:
		background-color var(--tb-transition),
		border-color var(--tb-transition),
		color var(--tb-transition);
}

.toolbox-label.is-selected .toolbox-label-check {
	border-color: var(--tb-accent);
	background: var(--tb-accent);
	color: #fff;
}

.toolbox-label-type {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 8px;
	color: var(--tb-muted);
	font-size: 13px;
}

.toolbox-label h2,
.toolbox-printable-qr h2 {
	margin: 0 0 8px;
	font-size: 18px;
	line-height: 1.2;
}

.toolbox-label strong,
.toolbox-printable-qr strong {
	display: block;
	margin: 10px 0 6px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	font-size: 16px;
	font-weight: 750;
	letter-spacing: .04em;
}

.toolbox-label p,
.toolbox-printable-qr p {
	margin: 0 0 8px;
	color: var(--tb-muted);
	font-size: 13px;
}

.toolbox-label-actions {
	margin-top: 10px;
	text-align: center;
}

.toolbox-container-qr,
.toolbox-location-qr,
.toolbox-item-qr,
.toolbox-label svg {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.toolbox-qr-panel {
	text-align: center;
}

.toolbox-empty {
	margin: 0;
	padding: 16px 0;
	text-align: center;
}

@media (max-width: 700px) {

	.toolbox-searchbar form {
		grid-template-columns: minmax(0, 1fr) 52px;
	}

	.toolbox-search-main {
		display: block;
		grid-column: 1;
		order: 1;
	}

	.toolbox-search-submit {
		grid-column: 2;
		order: 2;
		width: 52px;
		min-width: 52px;
		padding-left: 0;
		padding-right: 0;
	}

	.toolbox-search-submit span {
		display: none;
	}

	.toolbox-search-filters {
		display: block;
		grid-column: 1 / -1;
		order: 3;
	}

	.toolbox-search-filters summary {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 42px;
		padding: 9px 11px;
		border: 1px solid var(--tb-border-soft);
		border-radius: 8px;
		background: var(--tb-surface);
		color: var(--tb-text);
		font-weight: 750;
		cursor: pointer;
		list-style: none;
	}

	.toolbox-search-filters summary::-webkit-details-marker {
		display: none;
	}

	.toolbox-search-filters summary::after {
		content: "";
		width: 8px;
		height: 8px;
		border-right: 2px solid var(--tb-muted);
		border-bottom: 2px solid var(--tb-muted);
		transform: rotate(45deg);
		transition: transform var(--tb-transition);
	}

	.toolbox-search-filters[open] summary::after {
		transform: rotate(225deg);
	}

	.toolbox-search-filter-fields {
		display: none;
	}

	.toolbox-search-filters[open] .toolbox-search-filter-fields {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
		margin-top: 8px;
	}

	.toolbox-nav-add {
		margin-left: auto;
	}

	.toolbox-nav-add-menu {
		right: 0;
	}

	.toolbox-topnav {
		flex-wrap: wrap;
		overflow: visible;
	}

	.toolbox-nav-toggle {
		display: inline-flex;
	}

	.toolbox-nav-links {
		display: none;
		flex-basis: 100%;
		flex-direction: column;
		gap: 6px;
		order: 3;
		padding-top: 8px;
		border-top: 1px solid var(--tb-border-soft);
		overflow: visible;
	}

	.toolbox-topnav.is-open .toolbox-nav-links {
		display: flex;
	}

	.toolbox-nav-links a {
		justify-content: flex-start;
		width: 100%;
	}

	.toolbox-app {
		padding: 12px;
	}

	.toolbox-page-header {
		display: block;
	}

	.toolbox-page-header h1 {
		font-size: 28px;
		margin-bottom: 12px;
	}

	.toolbox-actions,
	.toolbox-print-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.toolbox-actions {
		margin-left: 0;
	}

	.toolbox-print-actions-count {
		margin-left: 0;
	}

	.toolbox-searchbar form,
	.toolbox-stats,
	.toolbox-form-row,
	.toolbox-layout,
	.toolbox-photo-grid {
		grid-template-columns: 1fr;
	}

	.toolbox-object-title {
		font-size: 30px;
	}

	.toolbox-object-relations .toolbox-detail {
		flex-wrap: wrap;
		gap: 6px;
	}

	.toolbox-object-relations .toolbox-detail dd,
	.toolbox-object-relations .toolbox-detail a {
		font-size: 16px;
	}
}

@media print {
	body * {
		visibility: hidden;
	}

	.toolbox-printable-area,
	.toolbox-printable-area * {
		visibility: visible;
	}

	.toolbox-app {
		max-width: none;
		padding: 0;
	}

	.toolbox-topnav,
	.toolbox-page-header,
	.toolbox-print-actions,
	.toolbox-label-actions,
	.toolbox-label-check,
	.toolbox-labels-section-header {
		display: none !important;
	}

	.toolbox-label-grid {
		position: absolute;
		inset: 0 auto auto 0;
		width: 100%;
		grid-template-columns: repeat(3, 1fr);
		gap: 8px;
	}

	.toolbox-label {
		border: 1px solid var(--tb-border-soft);
		cursor: default;
	}
}

@media (max-width: 760px) {
	.toolbox-profile-grid {
		grid-template-columns: 1fr;
	}
}
