@font-face {
	font-family: "Geist";
	src: url("/fonts/Geist-Variable.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
	font-style: normal;
}
@font-face {
	font-family: "Geist Mono";
	src: url("/fonts/GeistMono-Variable.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
	font-style: normal;
}
:root {
	--bg: #141311;
	--card: #1c1b18;
	--line: #2b2a26;
	--text: #e7e9ee;
	--muted: #9aa0aa;
	--green: #34d399;
	--red: #f87171;
	--yellow: #fbbf24;
	--z-modal: 100;
	--z-dropdown: 110;
	--selection-bg: color-mix(in srgb, #93c5fd 45%, var(--card));
	--selection-fg: var(--text);
	--font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
[data-theme="light"] {
	--selection-bg: color-mix(in srgb, #2563eb 28%, var(--card));
	--selection-fg: var(--text);
}
::selection {
	background: var(--selection-bg);
	color: var(--selection-fg);
}
::-moz-selection {
	background: var(--selection-bg);
	color: var(--selection-fg);
}
* {
	box-sizing: border-box;
}
body {
	font-family: var(--font-sans);
	background: var(--bg);
	color: var(--text);
	margin: 0;
	min-height: 100vh;
	padding-left: 280px;
	-webkit-font-smoothing: antialiased;
}
header {
	display: flex;
	position: fixed;
	inset: 0 auto 0 0;
	z-index: 20;
	width: 280px;
	flex-direction: column;
	align-items: stretch;
	gap: .9rem;
	padding: .85rem .7rem;
	border-right: 1px solid var(--line);
	background: #1f201e;
	backdrop-filter: blur(14px);
	overflow-y: auto;
}
.brand {
	display: flex;
	align-items: center;
	gap: .55rem;
	min-width: 0;
	text-decoration: none;
	color: inherit;
	padding: .45rem .65rem;
	border-radius: 8px;
}
.brand img {
	display: block;
	flex: none;
	width: 28px;
	height: 28px;
}
.brand h1 {
	font-size: 1.1rem;
	margin: 0;
}
nav {
	display: flex;
	flex-direction: column;
	gap: .25rem;
}
nav a,
.sidebar-footer-link,
header button,
.btn {
	background: transparent;
	color: var(--muted);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: .4rem .7rem;
	cursor: pointer;
	text-decoration: none;
	font-size: .9rem;
}
nav a,
.sidebar-footer-link {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	min-height: 34px;
	width: 100%;
	border-color: transparent;
	padding: .42rem .65rem;
	border-radius: 7px;
	transition: color .15s ease, border-color .15s ease, background .15s ease;
}
nav a:hover,
.sidebar-footer-link:hover {
	color: var(--text);
	background: rgba(255, 255, 255, 0.07);
}
nav a .ico,
.sidebar-footer-link .ico {
	width: 16px;
	height: 16px;
	flex: none;
	stroke-width: 2;
}
nav a.active,
.sidebar-footer-link.active {
	color: var(--text);
	border-color: transparent;
	background: rgba(255, 255, 255, 0.12);
}
nav a.active .ico,
.sidebar-footer-link.active .ico {
	color: var(--green);
}
nav a .nav-link-label {
	flex: 1;
	min-width: 0;
}
nav a .nav-link-count,
.group-link-count {
	flex: none;
	display: grid;
	place-items: center;
	min-width: 1.25rem;
	height: 1.25rem;
	border-radius: 50%;
	color: var(--text);
	background: rgba(255, 255, 255, 0.07);
	font-size: .78rem;
	font-variant-numeric: tabular-nums;
}
nav a .nav-link-count {
	margin-left: auto;
}
nav a.active .nav-link-count {
	background: rgba(255, 255, 255, 0.14);
}
.sidebar-footer {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	gap: .2rem;
}
.sidebar-footer-link {
	flex: none;
}
.btn.primary {
	background: var(--green);
	color: #04150f;
	border: 0;
	font-weight: 600;
}
.btn:disabled,
form.add button:disabled,
form.inline button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
main {
	max-width: 980px;
	margin: 0 auto;
	padding: 2rem 2rem 8.5rem;
}
.page-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--line);
}
.page-header h2 {
	margin: 0;
	color: var(--text);
	font-size: 1.45rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}
.page-header p {
	margin: .25rem 0 0;
	color: var(--muted);
	font-size: .92rem;
}
h2 {
	font-size: 1rem;
	margin: 1.5rem 0 .6rem;
	color: var(--muted);
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;
}
h2:first-of-type {
	margin-top: .25rem;
}
.card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 1rem;
	margin-bottom: .75rem;
}
.row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: .45rem 0;
	border-bottom: 1px solid var(--line);
}
.row:last-child {
	border-bottom: 0;
}
.row span:first-child {
	color: var(--muted);
}
.row span:last-child {
	text-align: right;
	font-variant-numeric: tabular-nums;
}
.stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .7rem;
	margin-bottom: 1rem;
}
@media (min-width: 520px) {
	.stats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
.stat {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: .9rem;
	display: grid;
	grid-template-columns: 2rem minmax(0, 1fr);
	gap: .65rem;
	align-items: center;
	min-height: 78px;
}
.stat-icon {
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 8px;
	color: var(--muted);
	background: rgba(255, 255, 255, 0.04);
}
.stat-icon svg {
	display: block;
	width: 18px;
	height: 18px;
	stroke-width: 2;
}
.stat .label {
	color: var(--muted);
	font-size: .85rem;
}
.stat .value {
	font-size: 1.5rem;
	font-weight: 650;
	margin-top: .2rem;
	font-variant-numeric: tabular-nums;
}
.stat.warn .value {
	color: var(--yellow);
}
.stat.good .value {
	color: var(--green);
}
.stat.good .stat-icon {
	color: var(--green);
	background: rgba(52, 211, 153, 0.12);
}
.stat.bad .value {
	color: var(--red);
}
.stat.bad .stat-icon {
	color: var(--red);
	background: rgba(248, 113, 113, 0.12);
}
.stat.warn .stat-icon {
	color: var(--yellow);
	background: rgba(251, 191, 36, 0.12);
}
.empty,
.muted,
.price small {
	color: var(--muted);
}
form.add {
	display: flex;
	gap: .5rem;
	margin-bottom: 1rem;
	flex-wrap: wrap;
}
.composer-dock {
	position: fixed;
	bottom: 1.25rem;
	left: max(calc(280px + 2rem), calc(50% - 350px));
	z-index: 30;
	width: min(980px, calc(100vw - 280px - 4rem));
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: .35rem;
}
.composer-switch--above {
	margin-right: .35rem;
}
form.add.composer {
	position: static;
	width: 100%;
	margin: 0;
	padding: .65rem .75rem;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: .5rem;
	background: #242522;
	border: 1px solid #3a3b36;
	border-radius: 22px;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}
.composer-target-split {
	flex: 0 1 9.5rem;
	min-width: 7rem;
}
.composer-target-split[hidden] {
	display: none;
}
.composer-target-split input {
	width: 100%;
	min-height: 44px;
	padding: .55rem .75rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid #3a3b36;
	border-radius: 14px;
	color: var(--text);
	font: inherit;
	font-size: .92rem;
}
.composer-target-split input::placeholder {
	color: rgba(255, 255, 255, 0.35);
}
.composer-target-split input:focus {
	outline: none;
	border-color: rgba(52, 211, 153, 0.45);
	box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12);
}
.composer-switch {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	flex: 0 0 auto;
	color: var(--muted);
	font-size: .78rem;
	cursor: pointer;
	user-select: none;
	white-space: nowrap;
}
.composer-switch input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}
.composer-switch-track {
	position: relative;
	width: 2.05rem;
	height: 1.2rem;
	border-radius: 999px;
	background: #3a3b36;
	border: 1px solid #4a4b46;
	transition: background .15s ease, border-color .15s ease;
}
.composer-switch-track::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: .9rem;
	height: .9rem;
	border-radius: 50%;
	background: #c8c9c4;
	transition: transform .15s ease, background .15s ease;
}
.composer-switch input:checked + .composer-switch-track {
	background: rgba(52, 211, 153, 0.28);
	border-color: rgba(52, 211, 153, 0.55);
}
.composer-switch input:checked + .composer-switch-track::after {
	transform: translateX(.82rem);
	background: var(--green);
}
.composer-switch input:focus-visible + .composer-switch-track {
	box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18);
}
.composer-switch-label {
	line-height: 1;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
input[type="number"] {
	-moz-appearance: textfield;
	appearance: textfield;
}
form.inline {
	display: flex;
	gap: .5rem;
	margin-top: 0;
	margin-bottom: 0;
	flex-wrap: wrap;
}
form.inline input {
	flex: 1;
	min-width: 8rem;
}
.modal-target-form input {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--line);
	color: var(--text);
	border-radius: 10px;
	padding: .7rem .8rem;
}
.modal-target-form input:focus {
	outline: none;
	border-color: rgba(52, 211, 153, 0.45);
	box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12);
}
form.add input,
form.inline:not(.modal-target-form) input,
.filters select,
.filters input {
	flex: 1;
	min-width: 8rem;
	background: var(--card);
	border: 1px solid var(--line);
	color: var(--text);
	border-radius: 10px;
	padding: .7rem .8rem;
}
form.add.composer input#url {
	min-height: 44px;
	background: transparent;
	border-color: transparent;
	font-size: 1rem;
	flex: 1;
	min-width: 0;
}
form.add.composer input#url:focus {
	outline: none;
	box-shadow: none;
}
form.add button,
form.inline button {
	background: var(--green);
	color: #04150f;
	border: 0;
	border-radius: 10px;
	padding: 0 1rem;
	font-weight: 600;
	cursor: pointer;
}
form.add.composer button {
	flex: 0 0 auto;
	min-width: 5.25rem;
	min-height: 44px;
	border-radius: 14px;
}
.filters {
	display: flex;
	gap: .5rem;
	margin-bottom: 1rem;
	flex-wrap: wrap;
}
.filters .dd[hidden] {
	display: none;
}
.filters select {
	flex: none;
	min-width: 7rem;
}
.filters #sort {
	min-width: 10.5rem;
}
.wishlist-tabs-row {
	margin-bottom: 1rem;
}
.home-main {
	position: relative;
	min-height: calc(100vh - 4rem);
	padding-bottom: 14rem;
}
.home-composer-stage {
	position: absolute;
	top: 40%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	gap: 1.5rem;
}
.home-items-link {
	margin: 0;
	width: min(720px, 100%);
	text-align: center;
}
.home-composer-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(720px, 100%);
	margin: 0 auto;
}
.home-composer-section .composer-switch--above {
	align-self: flex-end;
	margin-right: .35rem;
	margin-bottom: .35rem;
}
form.add.composer.home-composer {
	width: 100%;
}
.home-items-link a {
	color: var(--accent);
	font-weight: 600;
	text-decoration: none;
}
.home-items-link a:hover {
	text-decoration: underline;
}
.notification-tabs {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	padding: .2rem;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--line);
}
.notification-tab {
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--muted);
	font: inherit;
	font-size: .88rem;
	font-weight: 600;
	padding: .45rem .85rem;
	border-radius: 9px;
	cursor: pointer;
}
.notification-tab:hover {
	color: var(--text);
}
.notification-tab.active {
	background: rgba(255, 255, 255, 0.1);
	color: var(--text);
}
.item-notification-unread {
	border-color: rgba(96, 165, 250, 0.28);
}
.notification-mark-seen {
	flex: none;
	appearance: none;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.04);
	color: var(--muted);
	width: 36px;
	height: 36px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	cursor: pointer;
}
.notification-mark-seen:hover {
	color: var(--green);
	border-color: rgba(52, 211, 153, 0.45);
	background: rgba(52, 211, 153, 0.1);
}
.notification-mark-seen:disabled {
	opacity: 0.55;
	cursor: default;
}
.notification-mark-seen svg {
	width: 18px;
	height: 18px;
	stroke-width: 2.2;
}
.groups-panel {
	display: flex;
	flex-direction: column;
	gap: .45rem;
	flex: none;
}
.sidebar-facets {
	display: flex;
	flex-direction: column;
	gap: .55rem;
	flex: 1;
	min-height: 0;
	margin-top: .65rem;
	overflow-y: auto;
}
.tags-panel {
	display: flex;
	flex-direction: column;
	gap: .3rem;
	flex: none;
}
.tags-panel > .group-section,
.groups-panel > .group-section {
	padding: 0 .1rem .15rem;
}
.groups-panel > .group-create {
	padding: 0 .1rem;
}
.sidebar-facet > summary.group-toolbar {
	display: flex;
	align-items: center;
	gap: .35rem;
}
.sidebar-facet > summary.group-toolbar > span:first-child {
	flex: 1;
	min-width: 0;
}
.sidebar-facet > summary.group-toolbar .group-add {
	flex: none;
	margin-left: auto;
}
.facet-see-more {
	display: block;
	width: 100%;
	margin: .15rem 0 0;
	padding: .35rem .65rem .5rem;
	border: 0;
	background: transparent;
	color: var(--muted);
	font: inherit;
	font-size: .85rem;
	text-align: left;
	cursor: pointer;
}
.facet-see-more:hover {
	color: var(--text);
}
.sidebar-facet > summary.group-toolbar {
	cursor: pointer;
	list-style: none;
	user-select: none;
}
.sidebar-facet > summary.group-toolbar::-webkit-details-marker {
	display: none;
}
.sidebar-facet > summary.group-toolbar::after {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	margin-left: auto;
	opacity: 0.55;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
		center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
		center / contain no-repeat;
	transition: transform .15s ease;
}
.sidebar-facet:not([open]) > summary.group-toolbar::after {
	transform: rotate(-90deg);
}
.tag-link {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: .6rem;
	width: 100%;
	min-height: 34px;
	padding: .42rem .65rem;
	border: 1px solid transparent;
	border-radius: 7px;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
	text-decoration: none;
	overflow: hidden;
	font-size: .9rem;
	text-align: left;
	white-space: nowrap;
	text-overflow: ellipsis;
	transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.tag-link-label {
	flex: 1;
	min-width: 0;
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tag-link-label::before {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'/%3E%3C/svg%3E")
		center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'/%3E%3C/svg%3E")
		center / contain no-repeat;
}
.tag-link:hover {
	color: var(--text);
	background: rgba(255, 255, 255, 0.07);
}
.tag-link.active {
	background: rgba(255, 255, 255, 0.12);
	border-color: transparent;
}
.tag-link.active .tag-link-count {
	color: var(--green);
}
.group-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .5rem;
	padding: 0 .55rem;
	color: var(--muted);
	font-size: .92rem;
	font-weight: 650;
	letter-spacing: 0;
	text-transform: none;
}
.group-add {
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	min-height: 0;
	border: 0;
	border-radius: 12px;
	padding: 0;
	color: var(--muted);
	background: rgba(255, 255, 255, 0.05);
}
.group-add:hover {
	color: var(--text);
	background: rgba(255, 255, 255, 0.09);
}
.group-add svg {
	width: 18px;
	height: 18px;
	stroke-width: 2;
}
.group-create {
	display: flex;
	flex-direction: column;
	gap: .35rem;
	flex-wrap: wrap;
	margin: 0;
	padding: 0 .1rem;
}
.group-create[hidden] {
	display: none;
}
.group-create input {
	flex: 1;
	min-width: 0;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(147, 197, 253, 0.65);
	color: var(--text);
	border-radius: 8px;
	padding: .52rem .6rem;
	font-size: .9rem;
}
.group-section {
	display: flex;
	flex-direction: column;
	gap: .3rem;
}
.group-label {
	display: none;
}
.group-row {
	display: flex;
	flex-direction: column;
	min-width: 0;
	gap: .12rem;
}
.group-link {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: .6rem;
	width: 100%;
	min-height: 34px;
	padding: .42rem .65rem;
	border: 1px solid transparent;
	border-radius: 7px;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
	text-decoration: none;
	overflow: hidden;
	font-size: .9rem;
	text-align: left;
	white-space: nowrap;
	text-overflow: ellipsis;
	transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.group-link-label {
	flex: 1;
	min-width: 0;
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	overflow: hidden;
	text-overflow: ellipsis;
}
.group-link-label::before {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h6l2 2h8v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z'/%3E%3C/svg%3E")
		center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h6l2 2h8v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z'/%3E%3C/svg%3E")
		center / contain no-repeat;
}
.page-header-actions,
#pageHeaderActions {
	flex: none;
	display: flex;
	align-items: center;
}
.page-header .item-menu {
	align-self: center;
}
.modal-body textarea {
	width: 100%;
	min-height: 5rem;
	resize: vertical;
	background: var(--bg);
	border: 1px solid var(--line);
	color: var(--text);
	border-radius: 10px;
	padding: .65rem .75rem;
	font: inherit;
	font-size: .92rem;
	line-height: 1.35;
}
.modal-body textarea::placeholder {
	color: var(--muted);
}
.group-link:hover {
	color: var(--text);
	background: rgba(255, 255, 255, 0.07);
}
.group-link.active {
	background: rgba(255, 255, 255, 0.12);
	border-color: transparent;
}
.group-link.active .group-link-count {
	color: var(--green);
}
.item {
	display: flex;
	gap: .9rem;
	align-items: center;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: .8rem;
	margin-bottom: .7rem;
}
.item img {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 10px;
	background: #222;
	flex: none;
}
.item-thumb {
	width: 56px;
	height: 56px;
	border-radius: 10px;
	background: #222;
	flex: none;
	overflow: hidden;
	display: grid;
	place-items: center;
}
.item-thumb img {
	width: 100%;
	height: 100%;
}
.item-thumb--placeholder {
	color: rgba(255, 255, 255, 0.28);
}
.item-thumb--placeholder svg {
	width: 28px;
	height: 28px;
}
.item .body {
	flex: 1;
	min-width: 0;
}
.item .title {
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.title-row {
	display: flex;
	align-items: center;
	gap: .45rem;
	min-width: 0;
}
.title-row .title {
	flex: 1;
	min-width: 0;
}
.badge {
	flex: none;
	font-size: .7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .03em;
	padding: .15rem .4rem;
	border-radius: 6px;
	line-height: 1.2;
}
.item-target-reached {
	background: rgba(52, 211, 153, 0.12);
	border-color: rgba(52, 211, 153, 0.45);
	box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.15);
}
.item-target-reached .price-line b {
	color: var(--green);
}
.badge-target_reached {
	background: rgba(52, 211, 153, 0.22);
	color: var(--green);
}
.item-desired-price {
	color: var(--muted);
	font-size: .82rem;
	font-weight: 500;
	white-space: nowrap;
}
.item-desired-price--hit {
	color: var(--green);
	font-weight: 600;
}
.price-sep {
	color: var(--muted);
	font-size: .82rem;
	opacity: 0.65;
}
.badge-drop {
	background: rgba(52, 211, 153, 0.15);
	color: var(--green);
}
.badge-anomaly {
	background: rgba(251, 191, 36, 0.15);
	color: var(--yellow);
}
.badge-back_in_stock {
	background: rgba(96, 165, 250, 0.15);
	color: #93c5fd;
}
.badge-invalid {
	background: rgba(248, 113, 113, 0.15);
	color: var(--red);
}
.item .title a {
	color: inherit;
	text-decoration: none;
}
.item .price {
	margin-top: .15rem;
	min-width: 0;
}
.price-line {
	display: flex;
	align-items: baseline;
	flex-wrap: nowrap;
	gap: .35rem;
	min-width: 0;
}
.price-line b {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--text);
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
}
.item-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .35rem;
	margin-top: .5rem;
}
.item-meta-note {
	color: var(--muted);
	font-size: .82rem;
}
.item-price-pending {
	color: var(--muted);
	font-size: .9rem;
}
.dot--fetching {
	background: #93c5fd;
	animation: dot-fetch-pulse 1.4s ease-in-out infinite;
}
@keyframes dot-fetch-pulse {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.45;
	}
}
.item-synced {
	color: var(--muted);
	font-size: .78rem;
}
.meta-label {
	display: inline-flex;
	align-items: center;
	font-size: .68rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .03em;
	padding: .14rem .38rem;
	border-radius: 6px;
	line-height: 1.2;
}
.meta-label-site {
	background: rgba(96, 165, 250, 0.14);
	color: #93c5fd;
}
.meta-label-group {
	background: rgba(255, 255, 255, 0.08);
	color: var(--text);
}
.meta-label-tag {
	background: rgba(52, 211, 153, 0.12);
	color: var(--green);
	text-transform: none;
	letter-spacing: 0;
	font-weight: 500;
	font-size: .72rem;
}
.meta-label-auto-tag {
	background: rgba(96, 165, 250, 0.14);
	color: #93c5fd;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 500;
	font-size: .72rem;
}
.meta-label-neutral {
	background: rgba(255, 255, 255, 0.07);
	color: var(--muted);
}
.item-tags {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem;
	margin-top: .35rem;
}
.trend-icon {
	width: .72rem;
	height: .72rem;
	flex: none;
}
.trend-icon-up {
	color: var(--red);
}
.trend-icon-down {
	color: var(--green);
}
.item-menu {
	position: relative;
	flex: none;
	align-self: flex-start;
}
.item-menu-trigger {
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
}
.item-menu-trigger:hover,
.item-menu-trigger[aria-expanded="true"] {
	background: rgba(255, 255, 255, 0.08);
	color: var(--text);
}
.item-menu-trigger svg {
	width: 1.1rem;
	height: 1.1rem;
}
.item-menu-panel {
	position: absolute;
	top: calc(100% + .25rem);
	right: 0;
	min-width: 11rem;
	background: var(--surface-modal, #1c1c1e);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: .35rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	z-index: 20;
}
.item-menu-item {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: .5rem;
	width: 100%;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: var(--text);
	text-align: left;
	font: inherit;
	font-size: .88rem;
	padding: .45rem .55rem;
	cursor: pointer;
}
.item-menu-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 1rem;
	height: 1rem;
	opacity: 0.85;
}
.item-menu-icon svg {
	display: block;
	width: 1rem;
	height: 1rem;
	stroke-width: 2;
}
.item-menu-label {
	flex: 1;
	min-width: 0;
}
.item-menu-item-danger .item-menu-icon {
	opacity: 1;
}
.item-menu-item:hover {
	background: rgba(255, 255, 255, 0.08);
}
.item-menu-item-danger {
	color: var(--red);
}
.item-menu-sep {
	height: 1px;
	background: var(--line);
	margin: .25rem .2rem;
}
.item-action-btn {
	border: 1px solid var(--line);
	border-radius: 999px;
	background: transparent;
	color: var(--text);
	font: inherit;
	font-size: .78rem;
	font-weight: 600;
	padding: .35rem .75rem;
	cursor: pointer;
	white-space: nowrap;
}
.item-action-btn:hover {
	background: rgba(255, 255, 255, 0.08);
}
.fix-links-actions {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	align-items: stretch;
	min-width: 7.5rem;
}
.fix-links-item .body {
	min-width: 0;
}
.fix-links-detail {
	margin-top: 0.65rem;
	padding-top: 0.65rem;
	border-top: 1px solid var(--line);
}
.fix-links-hint {
	margin: 0 0 0.5rem;
	font-size: 0.82rem;
	color: var(--muted);
	line-height: 1.45;
}
.fix-links-meta-grid {
	display: grid;
	grid-template-columns: minmax(5.5rem, auto) 1fr;
	gap: 0.2rem 0.75rem;
	margin: 0;
	font-size: 0.78rem;
}
.fix-links-meta-grid dt {
	color: var(--muted);
	font-weight: 500;
}
.fix-links-meta-grid dd {
	margin: 0;
	color: var(--text);
	word-break: break-word;
}
.fix-links-error {
	display: block;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.72rem;
	white-space: pre-wrap;
	color: var(--red);
}
.fix-links-modal-hint {
	margin-top: 0.75rem;
	font-size: 0.85rem;
	color: var(--muted);
}
.item-action-btn-danger {
	border-color: color-mix(in srgb, var(--red) 45%, var(--line));
	color: var(--red);
}
.item-action-btn-danger:hover {
	background: color-mix(in srgb, var(--red) 12%, transparent);
}
body.modal-open {
	overflow: hidden;
}
.modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: var(--z-modal);
	display: grid;
	place-items: center;
	padding: 1rem;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(4px);
}
.modal {
	width: min(28rem, 100%);
	max-height: min(85vh, 640px);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #1c1c1e;
	border: 1px solid var(--line);
	border-radius: 16px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.modal-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: .75rem;
	padding: 1rem 1rem .5rem;
}
.modal-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
}
.modal-close {
	flex: none;
	width: 2rem;
	height: 2rem;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--muted);
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
}
.modal-close:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--text);
}
.modal-body {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-height: 0;
	flex: 1 1 auto;
	padding: 0 1rem 1rem;
	overflow-x: hidden;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #3a3934 transparent;
}
.modal-body::-webkit-scrollbar {
	width: 8px;
}
.modal-body::-webkit-scrollbar-thumb {
	background: #3a3934;
	border: 2px solid #1c1c1e;
	border-radius: 8px;
}
.modal-body::-webkit-scrollbar-track {
	background: transparent;
}
.modal-footer {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	padding: .75rem 1rem 1rem;
	border-top: 1px solid var(--line);
}
.modal-section {
	display: flex;
	flex-direction: column;
	gap: .5rem;
}
.modal-section-label {
	margin: 0;
	color: var(--muted);
	font-size: .72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.modal-footer .btn,
.modal-footer .item-action-btn {
	flex: 1;
	min-width: 7rem;
	text-align: center;
	padding: .55rem .85rem;
	font-size: .88rem;
}
.modal-footer .btn-danger {
	background: transparent;
	border: 1px solid rgba(248, 113, 113, 0.45);
	color: var(--red);
}
.modal-footer .btn-danger:hover {
	background: rgba(248, 113, 113, 0.12);
}
.item-group-picker {
	display: flex;
	flex-direction: column;
	gap: .25rem;
}
.item-group-picker label {
	display: flex;
	align-items: center;
	gap: .35rem;
	font-size: .82rem;
	color: var(--text);
	cursor: pointer;
}
.item-group-picker input {
	accent-color: var(--green);
}
.item-tag-panel {
	max-width: none;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.item-tag-panel .dd,
.item-tag-panel .combo {
	width: 100%;
}
.item-tag-section {
	display: flex;
	flex-direction: column;
	gap: .5rem;
}
.item-tag-section-auto {
	padding-top: .25rem;
	border-top: 1px solid var(--line);
}
.item-tag-section-desc {
	margin: 0;
	color: var(--muted);
	font-size: .75rem;
	line-height: 1.35;
}
.item-tag-user-list,
.item-tag-auto-list {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	align-items: center;
	min-height: 1.5rem;
}
.item-tag-empty {
	margin: 0;
	color: var(--muted);
	font-size: .8rem;
	line-height: 1.35;
}
.item-tag-auto-chip {
	display: inline-flex;
	align-items: center;
	border: none;
	background: transparent;
	padding: 0;
	cursor: pointer;
	font: inherit;
}
.item-tag-auto-chip:hover .meta-label-auto-tag {
	background: rgba(96, 165, 250, 0.22);
}
.item-tag-auto-chip:focus-visible {
	outline: 2px solid rgba(96, 165, 250, 0.5);
	outline-offset: 2px;
	border-radius: 6px;
}
.item-tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: .3rem;
}
.item-tag-hint {
	margin: 0;
	color: var(--muted);
	font-size: .75rem;
	line-height: 1.35;
}
.item-tag-hint-footer {
	margin-top: .5rem;
}
.modal-tag-form {
	display: flex;
	flex-direction: column;
	gap: .5rem;
}
.modal-tag-input,
.modal-group-search {
	width: 100%;
	min-height: 3rem;
	padding: .65rem .75rem;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: transparent;
	color: var(--text);
	font: inherit;
	font-size: .95rem;
	line-height: 1.4;
	resize: none;
}
.modal-tag-input:focus,
.modal-group-search:focus {
	outline: none;
	border-color: rgba(52, 211, 153, 0.45);
	box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12);
}
.modal-tag-chip {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
}
.modal-tag-chip button {
	border: 0;
	background: transparent;
	color: inherit;
	font-size: .95rem;
	line-height: 1;
	padding: 0 .1rem;
	cursor: pointer;
	opacity: 0.7;
}
.modal-tag-chip button:hover {
	opacity: 1;
}
.modal-group-select {
	width: 100%;
}
.modal-group-list {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 4px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 12px;
	max-height: 16rem;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #3a3934 transparent;
}
.modal-group-list::-webkit-scrollbar {
	width: 8px;
}
.modal-group-list::-webkit-scrollbar-thumb {
	background: #3a3934;
	border: 2px solid var(--card);
	border-radius: 8px;
}
.modal-group-list::-webkit-scrollbar-track {
	background: transparent;
}
.modal-group-list .dd-option {
	border-radius: 8px;
}
.dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex: none;
}
.pager {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	margin-top: 1rem;
	color: var(--muted);
	font-size: .9rem;
}
.pager[hidden] {
	display: none;
}
.pager button {
	min-width: 5rem;
}
.user-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	padding: .55rem 0;
	border-bottom: 1px solid var(--line);
}
.user-row:last-child {
	border-bottom: 0;
}
.user-row .meta {
	min-width: 0;
}
.user-row .name {
	font-weight: 600;
}
.user-row .id {
	color: var(--muted);
	font-size: .85rem;
}
body.login-page {
	padding-left: 0;
}
.landing {
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 1.5rem;
}
.landing .card {
	text-align: center;
	max-width: 28rem;
	border: 0;
	background: transparent;
}
.landing .logo {
	display: block;
	margin: 0 auto .75rem;
	width: 48px;
	height: 48px;
}
.landing h1 {
	font-weight: 650;
	margin-bottom: .25rem;
}
.landing p {
	color: var(--muted);
	margin-top: 0;
	line-height: 1.45;
}
.login-lead {
	margin-bottom: 0;
}
.login-error {
	margin: 1rem 0 0;
	padding: .65rem .85rem;
	border-radius: 10px;
	background: color-mix(in srgb, var(--red) 14%, transparent);
	border: 1px solid color-mix(in srgb, var(--red) 35%, transparent);
	color: #fecaca;
	font-size: .9rem;
	line-height: 1.45;
	text-align: left;
}
.login-widget {
	display: flex;
	justify-content: center;
	margin-top: 1.35rem;
	min-height: 44px;
}
.login-bot-hint {
	margin-top: 1.35rem;
	font-size: .88rem;
	line-height: 1.5;
}
.login-bot-hint a {
	color: #93c5fd;
	text-decoration: none;
}
.login-bot-hint a:hover {
	text-decoration: underline;
}
.login-dev {
	margin-top: 1rem;
}
.login-dev .btn {
	display: inline-flex;
	min-width: 12rem;
	justify-content: center;
}
.login-dev-note {
	margin: 1.1rem 0 0;
	padding: .65rem .85rem;
	border-radius: 10px;
	background: color-mix(in srgb, var(--yellow) 12%, transparent);
	border: 1px solid color-mix(in srgb, var(--yellow) 30%, transparent);
	color: #fde68a;
	font-size: .88rem;
	line-height: 1.45;
	text-align: left;
}
.login-dev-note code {
	font-family: var(--mono, ui-monospace, monospace);
	font-size: .82em;
}
.login-dev a:not(.btn) {
	color: var(--muted);
}
.hint {
	color: var(--muted);
	font-size: .9rem;
	line-height: 1.45;
	margin: 0;
}
.card-lead {
	display: flex;
	flex-direction: column;
	gap: .45rem;
	margin-bottom: 1.1rem;
}
.hint + .hint {
	margin-top: 0;
}
.hint code {
	background: #22262f;
	padding: .1rem .35rem;
	border-radius: 6px;
}
.msg {
	font-size: .9rem;
	margin-top: .5rem;
}
.msg.ok {
	color: var(--green);
}
.msg.err {
	color: var(--red);
}
.settings-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.settings-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .85rem 1rem;
}
.settings-span {
	grid-column: 1 / -1;
}
.settings-section {
	margin-bottom: 2.25rem;
}
.settings-section-title {
	margin: 0 0 .35rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--text);
	text-transform: none;
	letter-spacing: 0;
}
.settings-section-lead {
	margin: 0 0 .35rem;
	color: var(--muted);
	font-size: .9rem;
	line-height: 1.45;
	max-width: 46rem;
}
.settings-section-lead a {
	color: var(--green);
}
.settings-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1rem 0;
	margin: 0;
	border-bottom: 1px solid var(--line);
}
.settings-row:last-child {
	border-bottom: 0;
}
.settings-row[hidden] {
	display: none;
}
.settings-row-text {
	min-width: 0;
}
.settings-row-title {
	color: var(--text);
	font-size: .98rem;
	font-weight: 600;
}
.settings-row-desc {
	margin-top: .2rem;
	color: var(--muted);
	font-size: .85rem;
	line-height: 1.4;
}
.settings-control {
	flex: none;
	background: var(--bg);
	border: 1px solid var(--line);
	color: var(--text);
	border-radius: 10px;
	padding: .55rem .7rem;
	font-size: .92rem;
	min-width: 11rem;
}
.settings-control:focus {
	outline: none;
	border-color: rgba(147, 197, 253, 0.65);
}
.settings-inline-control {
	display: flex;
	gap: .5rem;
	flex: none;
}
.settings-inline-control .settings-control {
	min-width: 9rem;
}
.settings-actions {
	margin-top: 1.25rem;
}
.settings-actions .btn {
	padding: .6rem 1.1rem;
}
/* Toggle switch */
.switch {
	position: relative;
	flex: none;
	display: inline-flex;
	width: 44px;
	height: 24px;
}
.switch input {
	position: absolute;
	opacity: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	cursor: pointer;
}
.switch-track {
	position: absolute;
	inset: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	transition: background .15s ease;
}
.switch-track::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #f4f5f7;
	transition: transform .15s ease;
}
.switch input:checked + .switch-track {
	background: var(--green);
}
.switch input:checked + .switch-track::after {
	transform: translateX(20px);
}
.switch input:focus-visible + .switch-track {
	outline: 2px solid rgba(147, 197, 253, 0.65);
	outline-offset: 2px;
}
/* Segmented control */
.seg {
	flex: none;
	display: inline-flex;
	padding: 2px;
	gap: 2px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--line);
}
.seg-btn {
	background: transparent;
	border: 0;
	color: var(--muted);
	border-radius: 8px;
	padding: .4rem .9rem;
	font-size: .9rem;
	cursor: pointer;
	transition: color .15s ease, background .15s ease;
}
.seg-btn:hover {
	color: var(--text);
}
.seg-btn.active {
	color: var(--text);
	background: rgba(255, 255, 255, 0.14);
}
/* Themed dropdown / combobox */
.dd {
	position: relative;
	display: inline-flex;
	flex: none;
}
.dd-native {
	position: absolute;
	width: 1px;
	min-width: 0;
	height: 1px;
	padding: 0;
	border: 0;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
}
.dd-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: .6rem;
	min-width: 11rem;
	background: var(--bg);
	border: 1px solid var(--line);
	color: var(--text);
	border-radius: 10px;
	padding: .55rem .7rem;
	font: inherit;
	font-size: .92rem;
	cursor: pointer;
}
.dd-trigger:hover {
	border-color: #3a3934;
}
.dd.open .dd-trigger {
	border-color: rgba(147, 197, 253, 0.65);
}
.dd-chevron {
	display: inline-flex;
	flex: none;
	color: var(--muted);
}
.dd-chevron svg {
	width: 16px;
	height: 16px;
	stroke-width: 2;
	transition: transform .15s ease;
}
.dd.open .dd-chevron svg {
	transform: rotate(180deg);
}
.dd.is-disabled .dd-trigger {
	opacity: 0.5;
	cursor: not-allowed;
}
.dd-menu {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: var(--z-dropdown);
	max-height: 16rem;
	overflow-y: auto;
	padding: 4px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
	scrollbar-width: thin;
	scrollbar-color: #3a3934 transparent;
}
.dd-menu.dd-menu-floating {
	position: fixed;
	top: auto;
	right: auto;
	z-index: var(--z-dropdown);
}
.dd-menu::-webkit-scrollbar {
	width: 8px;
}
.dd-menu::-webkit-scrollbar-thumb {
	background: #3a3934;
	border: 2px solid var(--card);
	border-radius: 8px;
}
.dd-menu::-webkit-scrollbar-track {
	background: transparent;
}
.combo {
	display: inline-flex;
}
.combo .dd-menu {
	left: 0;
	right: auto;
	min-width: 100%;
}
.dd-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	width: 100%;
	background: transparent;
	border: 0;
	color: var(--text);
	border-radius: 8px;
	padding: .5rem .6rem;
	font: inherit;
	font-size: .92rem;
	text-align: left;
	cursor: pointer;
	white-space: nowrap;
}
.dd-option:hover {
	background: rgba(255, 255, 255, 0.08);
}
.dd-option.active {
	background: rgba(255, 255, 255, 0.05);
}
.dd-tick {
	display: inline-flex;
	flex: none;
	width: 16px;
	color: var(--green);
}
.dd-tick svg {
	width: 16px;
	height: 16px;
	stroke-width: 2.5;
}
.settings-row-disabled {
	opacity: 0.5;
	pointer-events: none;
}
.time-control {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	flex: none;
}
.time-control .dd-trigger {
	min-width: 4.5rem;
}
.time-sep {
	color: var(--muted);
}
@media (max-width: 520px) {
	.settings-row {
		flex-direction: column;
		align-items: stretch;
		gap: .6rem;
	}
	.settings-control,
	.seg,
	.switch {
		align-self: flex-start;
	}
	.settings-inline-control {
		flex-wrap: wrap;
	}
}
@media (max-width: 520px) {
	.settings-grid {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 760px) {
	body {
		padding-left: 0;
	}
	header {
		position: sticky;
		inset: 0 auto auto;
		width: auto;
		flex-direction: row;
		align-items: center;
		gap: .75rem;
		padding: .75rem .9rem;
		border-right: 0;
		border-bottom: 1px solid var(--line);
		overflow-x: auto;
		overflow-y: visible;
	}
	.brand {
		flex: none;
	}
	.brand h1 {
		display: none;
	}
	nav {
		flex-direction: row;
		gap: .25rem;
	}
	nav a {
		width: auto;
		min-height: 36px;
		padding: .45rem .55rem;
	}
	.sidebar-footer-link {
		width: auto;
		min-height: 36px;
		margin-top: 0;
		padding: .45rem .55rem;
	}
	nav a span,
	.sidebar-footer-link span {
		display: none;
	}
	main {
		max-width: 760px;
		width: auto;
		margin: 0 auto;
		padding: 1rem 1rem 8rem;
	}
	.groups-panel,
	.tags-panel,
	.sidebar-facets {
		display: none;
	}
	.composer-dock {
		right: 1rem;
		bottom: 1rem;
		left: 1rem;
		width: auto;
	}
	form.add.composer {
		border-radius: 18px;
		flex-wrap: wrap;
	}
	form.add.composer input#url {
		flex: 1 1 100%;
	}
	form.add.composer .composer-target-split:not([hidden]) {
		flex: 1 1 auto;
		min-width: 0;
	}
	form.add.composer .composer-switch {
		margin-left: auto;
	}
	form.add.composer button {
		min-width: 4.5rem;
	}
}
.settings-form .field {
	display: flex;
	flex-direction: column;
	gap: .35rem;
}
.settings-form label {
	color: var(--muted);
	font-size: .85rem;
}
.settings-form select,
.settings-form input[type="time"],
.settings-form input[type="text"] {
	background: var(--bg);
	border: 1px solid var(--line);
	color: var(--text);
	border-radius: 10px;
	padding: .65rem .75rem;
	font-size: .95rem;
}
.check-row {
	display: flex;
	align-items: center;
	gap: .55rem;
	color: var(--text);
	font-size: .95rem;
	cursor: pointer;
}
.check-row input {
	width: 1rem;
	height: 1rem;
	accent-color: var(--green);
}
.card a {
	color: var(--green);
}
.toast-stack {
	position: fixed;
	top: 1rem;
	right: 1rem;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	gap: .55rem;
	width: min(360px, calc(100vw - 2rem));
	pointer-events: none;
}
.toast {
	pointer-events: auto;
	display: flex;
	align-items: flex-start;
	gap: .6rem;
	background: var(--card);
	border: 1px solid var(--line);
	border-left: 3px solid var(--muted);
	border-radius: 10px;
	padding: .7rem .8rem;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity .2s ease, transform .2s ease;
}
.toast.toast-in {
	opacity: 1;
	transform: translateY(0);
}
.toast.toast-out {
	opacity: 0;
	transform: translateY(-8px);
}
.toast-auto {
	animation: toast-autodismiss var(--toast-duration, 4500ms) linear forwards;
}
.toast-auto:hover {
	animation-play-state: paused;
}
@keyframes toast-autodismiss {
	from {
		visibility: visible;
	}
	to {
		visibility: visible;
	}
}
.toast-success {
	border-left-color: var(--green);
}
.toast-error {
	border-left-color: var(--red);
}
.toast-warn {
	border-left-color: var(--yellow);
}
.toast-info {
	border-left-color: #93c5fd;
}
.toast-icon {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: .05rem;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: .72rem;
	font-weight: 700;
	color: #0b0b0b;
	background: var(--muted);
}
.toast-success .toast-icon {
	background: var(--green);
}
.toast-error .toast-icon {
	background: var(--red);
}
.toast-warn .toast-icon {
	background: var(--yellow);
}
.toast-info .toast-icon {
	background: #93c5fd;
}
.toast-content {
	flex: 1;
	min-width: 0;
}
.toast-title {
	font-weight: 600;
	font-size: .92rem;
}
.toast-detail {
	color: var(--muted);
	font-size: .82rem;
	margin-top: .15rem;
	overflow-wrap: anywhere;
}
.toast-close {
	flex: none;
	background: transparent;
	border: 0;
	color: var(--muted);
	font-size: 1.15rem;
	line-height: 1;
	cursor: pointer;
	padding: 0 .15rem;
}
.toast-close:hover {
	color: var(--text);
}
@media (prefers-reduced-motion: reduce) {
	.toast,
	.toast.toast-in,
	.toast.toast-out {
		transition: opacity .2s ease;
		transform: none;
	}
}
