.hto-dashboard {
	max-width: 640px;
}

.hto-notice {
	padding: 0.75em 1em;
	border-radius: 4px;
	margin-bottom: 1em;
}

.hto-notice-success {
	background: #eafaf1;
	border: 1px solid #34a853;
}

.hto-notice-error {
	background: #fdecea;
	border: 1px solid #d93025;
}

.hto-balance {
	display: flex;
	gap: 1em;
	flex-wrap: wrap;
	margin-bottom: 0.5em;
}

.hto-balance-item {
	flex: 1 1 120px;
	padding: 0.75em 1em;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-align: center;
}

.hto-balance-highlight {
	border-color: #2271b1;
}

.hto-balance-label {
	display: block;
	font-size: 0.8em;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #666;
}

.hto-balance-value {
	display: block;
	font-size: 1.5em;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.hto-balance-note {
	font-size: 0.9em;
	color: #666;
	margin-bottom: 1.5em;
}

.hto-request-form {
	display: flex;
	flex-direction: column;
	gap: 0.5em;
	max-width: 360px;
	margin-bottom: 2em;
}

.hto-submit-button {
	align-self: flex-start;
	padding: 0.5em 1.25em;
	background: #2271b1;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

.hto-history-table {
	width: 100%;
	border-collapse: collapse;
}

.hto-history-table th,
.hto-history-table td {
	text-align: left;
	padding: 0.5em;
	border-bottom: 1px solid #eee;
}

.hto-status {
	display: inline-block;
	padding: 0.15em 0.6em;
	border-radius: 999px;
	font-size: 0.85em;
	text-transform: capitalize;
}

.hto-status-pending {
	background: #fff4e5;
	color: #b26a00;
}

.hto-status-approved {
	background: #eafaf1;
	color: #1e7e34;
}

.hto-status-denied {
	background: #fdecea;
	color: #b3261e;
}

.hto-status-cancelled {
	background: #f1f1f1;
	color: #666;
}

.hto-calendar {
	max-width: 900px;
}

.hto-calendar-nav {
	display: flex;
	align-items: center;
	gap: 1em;
	margin: 1em 0;
}

.hto-calendar-nav-link {
	padding: 0.4em 0.9em;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-decoration: none;
	color: #2271b1;
}

.hto-calendar-label {
	min-width: 10em;
	text-align: center;
	font-size: 1.1em;
}

.hto-calendar-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

.hto-calendar-table th {
	padding: 0.5em;
	text-align: center;
	background: #f5f5f5;
}

.hto-calendar-day {
	vertical-align: top;
	border: 1px solid #ddd;
	padding: 0.4em;
	height: 6em;
	overflow: hidden;
}

.hto-calendar-day-outside {
	background: #fafafa;
	color: #999;
}

.hto-calendar-day-weekend {
	background: #fafafa;
}

.hto-calendar-day-holiday {
	background: #fdf3e7;
}

.hto-calendar-day-number {
	font-weight: 600;
	margin-bottom: 0.25em;
}

.hto-calendar-holiday-label {
	font-size: 0.75em;
	color: #b26a00;
	margin-bottom: 0.25em;
}

.hto-calendar-entry {
	display: block;
	font-size: 0.8em;
	padding: 0.1em 0.4em;
	border-radius: 3px;
	margin-bottom: 0.2em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hto-calendar-entry-approved {
	background: #eafaf1;
	color: #1e7e34;
}

.hto-calendar-entry-pending {
	background: #fff4e5;
	color: #b26a00;
}

.hto-calendar-legend {
	margin-top: 1em;
	display: flex;
	gap: 1em;
}

.hto-calendar-legend .hto-calendar-entry {
	display: inline-block;
}
