*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

* {
	-webkit-tap-highlight-color: transparent;
}

html {
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-sans);
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--color-text-primary);
	background-color: var(--color-background-tertiary);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body::-webkit-scrollbar,
.app-main::-webkit-scrollbar,
html::-webkit-scrollbar {
	display: none;
}

body,
.app-main,
html {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

html,
body {
	overscroll-behavior: none;
}

@view-transition {
	navigation: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea,
select {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
}

img,
svg {
	display: block;
}

ul,
ol {
	list-style: none;
}

/* Utilities */
.mono {
	font-family: var(--font-mono);
	font-size: 0.8125rem;
}

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

.section-label {
	font-size: 0.6875rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-text-tertiary);
}

.truncate {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.text-success {
	color: var(--color-text-success);
}
.text-warning {
	color: var(--color-text-warning);
}
.text-info {
	color: var(--color-text-info);
}
.text-danger {
	color: var(--color-text-danger);
}
.text-muted {
	color: var(--color-text-secondary);
}
.text-tertiary {
	color: var(--color-text-tertiary);
}
.text-center {
	text-align: center;
}

/* Spacing utilities */
.mt-1 {
	margin-top: 0.25rem;
}
.mb-1 {
	margin-bottom: 0.25rem;
}
.mt-2 {
	margin-top: 0.5rem;
}
.mb-2 {
	margin-bottom: 0.5rem;
}
.mt-3 {
	margin-top: 0.75rem;
}
.mb-3 {
	margin-bottom: 0.75rem;
}
.mt-4 {
	margin-top: 1rem;
}
.mb-4 {
	margin-bottom: 1rem;
}

/* Typography utilities */
.text-sm {
	font-size: 0.875rem;
}
.text-xs {
	font-size: 0.75rem;
}
.fw-500 {
	font-weight: 500;
}
.fw-600 {
	font-weight: 600;
}
.lh-tight {
	line-height: 1.3;
}
.lh-base {
	line-height: 1.55;
}

/* Layout utilities */
.d-flex {
	display: flex;
}
.d-grid {
	display: grid;
}
.flex-col {
	flex-direction: column;
}
.align-center {
	align-items: center;
}
.align-start {
	align-items: flex-start;
}
.justify-between {
	justify-content: space-between;
}
.justify-center {
	justify-content: center;
}
.flex-1 {
	flex: 1;
}
.flex-shrink-0 {
	flex-shrink: 0;
}
.flex-wrap {
	flex-wrap: wrap;
}
.min-w-0 {
	min-width: 0;
}
.w-full {
	width: 100%;
}

.gap-1 {
	gap: 0.25rem;
}
.gap-2 {
	gap: 0.5rem;
}
.gap-3 {
	gap: 0.75rem;
}
.gap-4 {
	gap: 1rem;
}

.ml-auto {
	margin-left: auto;
}

.mlr-auto {
	margin-left: auto;
	margin-right: auto;
}
