html:root {
	--zoho-page: #EFF1F9;
	--zoho-header: #FFFFFF;
	--zoho-surface: #FFFFFF;
	--zoho-bar: #FFFFFF;
	--zoho-input: #FFFFFF;
	--zoho-text: #333949;
	--zoho-text-rgb: 51, 57, 73;
	--zoho-text-strong: #333949;
	--zoho-text-secondary: #656A76;
	--zoho-text-muted: #838590;
	--zoho-border: #D6D8E9;
	--zoho-border-hover: #B9BCD6;
	--zoho-divider: #D6D8E9;
	--zoho-row-line: #E6E8F0;
	--zoho-popover-border: #D6D8E9;
	--zoho-hover: #F5F6FB;
	--zoho-selected: #EBECFD;
	--zoho-accent: #5861EE;
	--zoho-accent-rgb: 88, 97, 238;
	--zoho-accent-darken: #3952D1;
	--zoho-accent-lighten: #7A81F2;
	--zoho-accent-soft: #F5F5FE;
	--zoho-link: #3952D1;
	--zoho-primary: linear-gradient(135deg, #5861EE, #3952D1);
	--zoho-danger: #E54A4B;
	--zoho-scrollbar-thumb: #C1C4D2;
	--zoho-scrollbar-track: #F1F2F7;
	--zoho-bar-shadow: 0 -1px 6px rgba(0, 0, 0, 0.08);
	--zoho-focus-ring: 0 0 0 3px rgba(var(--zoho-accent-rgb), 0.25);
	--zoho-radius: 6px;
	--zoho-radius-small: 4px;
	--zoho-radius-card: 8px;
	--zoho-control-height: 32px;
	--zoho-control-height-small: 27px;
	--zoho-font: "Zoho Puvi", Lato, "Segoe UI", Arial, sans-serif;
	--zoho-font-size: 14px;
	--zoho-font-size-small: 13px;
	--zoho-font-size-caption: 12px;

	--mud-palette-background: var(--zoho-page);
	--mud-palette-surface: var(--zoho-surface);
	--mud-palette-appbar-background: var(--zoho-header);
	--mud-palette-appbar-text: var(--zoho-text);
	--mud-palette-drawer-background: var(--zoho-surface);
	--mud-palette-drawer-text: var(--zoho-text-secondary);
	--mud-palette-drawer-icon: var(--zoho-text-secondary);
	--mud-palette-text-primary: var(--zoho-text);
	--mud-palette-text-primary-rgb: var(--zoho-text-rgb);
	--mud-palette-text-secondary: var(--zoho-text-secondary);
	--mud-palette-text-disabled: var(--zoho-text-muted);
	--mud-palette-action-default: var(--zoho-text-secondary);
	--mud-palette-action-default-hover: var(--zoho-hover);
	--mud-palette-lines-default: var(--zoho-divider);
	--mud-palette-lines-inputs: var(--zoho-border);
	--mud-palette-divider: var(--zoho-divider);
	--mud-palette-table-lines: var(--zoho-row-line);
	--mud-palette-table-hover: var(--zoho-hover);
	--mud-palette-primary: var(--zoho-accent);
	--mud-palette-primary-rgb: var(--zoho-accent-rgb);
	--mud-palette-primary-darken: var(--zoho-accent-darken);
	--mud-palette-primary-lighten: var(--zoho-accent-lighten);
	--mud-palette-primary-hover: rgba(var(--zoho-accent-rgb), 0.08);
	--mud-palette-primary-text: #FFFFFF;
	--mud-palette-error: var(--zoho-danger);
	--mud-default-borderradius: var(--zoho-radius);

	--mud-typography-default-family: var(--zoho-font);
	--mud-typography-h1-family: var(--zoho-font);
	--mud-typography-h2-family: var(--zoho-font);
	--mud-typography-h3-family: var(--zoho-font);
	--mud-typography-h4-family: var(--zoho-font);
	--mud-typography-h5-family: var(--zoho-font);
	--mud-typography-h6-family: var(--zoho-font);
	--mud-typography-subtitle1-family: var(--zoho-font);
	--mud-typography-subtitle2-family: var(--zoho-font);
	--mud-typography-body1-family: var(--zoho-font);
	--mud-typography-body2-family: var(--zoho-font);
	--mud-typography-button-family: var(--zoho-font);
	--mud-typography-caption-family: var(--zoho-font);
	--mud-typography-overline-family: var(--zoho-font);
	--mud-typography-default-size: var(--zoho-font-size);
	--mud-typography-body1-size: var(--zoho-font-size);
	--mud-typography-body2-size: var(--zoho-font-size-small);
	--mud-typography-button-size: var(--zoho-font-size);
	--mud-typography-caption-size: var(--zoho-font-size-caption);
	--mud-typography-button-text-transform: none;
}

@media (prefers-color-scheme: dark) {
	html:root {
		--zoho-page: #111213;
		--zoho-header: #1E1F22;
		--zoho-surface: #1E1F22;
		--zoho-bar: #272727;
		--zoho-input: #111213;
		--zoho-text: #D4D6DE;
		--zoho-text-rgb: 212, 214, 222;
		--zoho-text-strong: #E5E8F1;
		--zoho-text-secondary: #A8ACB7;
		--zoho-text-muted: #6B7281;
		--zoho-border: #A6AAB6;
		--zoho-border-hover: #D0D4DB;
		--zoho-divider: #3D3F48;
		--zoho-row-line: #2E3035;
		--zoho-popover-border: #404147;
		--zoho-hover: #2F3034;
		--zoho-selected: #1D2742;
		--zoho-accent: #7074FF;
		--zoho-accent-rgb: 112, 116, 255;
		--zoho-accent-darken: #5861EE;
		--zoho-accent-lighten: #9396FF;
		--zoho-accent-soft: #23243D;
		--zoho-link: #7074FF;
		--zoho-primary: linear-gradient(135deg, #7074FF, #5861EE);
		--zoho-scrollbar-thumb: #9F9F9F;
		--zoho-scrollbar-track: #2C2C2C;
		--zoho-bar-shadow: 0 -1px 0 #3D3F48;
	}
}

html {
	scrollbar-color: var(--zoho-scrollbar-thumb) var(--zoho-scrollbar-track);
}

html body {
	font-family: var(--zoho-font);
	color: var(--zoho-text);
	background-color: var(--zoho-page);
}

.mud-paper:not(.mud-popover):not(.mud-appbar),
.mud-expand-panel {
	box-shadow: none;
	border: 1px solid var(--zoho-divider);
	border-radius: var(--zoho-radius-card);
}

.mud-popover.mud-paper {
	border: 1px solid var(--zoho-popover-border);
}

.mud-list-item.mud-selected-item {
	background-color: var(--zoho-selected);
}

.mud-dialog {
	border-radius: var(--zoho-radius-card);
}

.mud-dialog .mud-dialog-title,
.mud-card-header {
	color: var(--zoho-text-strong);
	border-bottom: 1px solid var(--zoho-divider);
}

.mud-input.mud-input-outlined {
	background-color: var(--zoho-input);
	border-radius: var(--zoho-radius);
}

.mud-input.mud-input-outlined:focus-within .mud-input-outlined-border {
	border-width: 1px;
	border-color: var(--zoho-accent);
	box-shadow: var(--zoho-focus-ring);
}

.mud-table-root .mud-table-head .mud-table-cell {
	color: var(--zoho-text-strong);
	border-bottom: 2px solid var(--zoho-divider);
}

.mud-table-root .mud-table-head .mud-table-cell + .mud-table-cell {
	border-left: 1px solid var(--zoho-divider);
}

.mud-button-filled,
.mud-button-filled:hover,
.mud-button-filled:focus-visible,
.mud-button-filled:active {
	box-shadow: none;
}

.mud-button-filled.mud-button-filled-primary:not(:disabled) {
	background: var(--zoho-primary);
}

.mud-button-filled.mud-button-filled-primary:not(:disabled):hover {
	filter: brightness(0.94);
}

.mud-button-outlined.mud-button-outlined-default {
	border-color: var(--zoho-border);
	background-color: var(--zoho-surface);
}

.mud-button-outlined.mud-button-outlined-default:not(:disabled):hover {
	border-color: var(--zoho-border-hover);
	background-color: var(--zoho-hover);
}

.mud-button-outlined.mud-button-outlined-primary:not(:disabled) {
	color: var(--zoho-accent);
	border-color: var(--zoho-accent);
	background-color: var(--zoho-accent-soft);
}

.mud-button-outlined.mud-button-outlined-primary:not(:disabled):hover {
	background-color: rgba(var(--zoho-accent-rgb), 0.16);
}

.zoho-buttons {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}

.zoho-button.mud-button-root {
	height: var(--zoho-control-height);
	padding-top: 0;
	padding-bottom: 0;
}

.zoho-button-small.mud-button-root {
	height: var(--zoho-control-height-small);
	padding: 0 10px;
	font-size: var(--zoho-font-size-small);
	border-radius: var(--zoho-radius-small);
}
