:root {
	--hm-bg: #f4f4f5;
	--hm-panel: #ffffff;
	--hm-panel-soft: #f8f8f8;
	--hm-line: #d4d4d8;
	--hm-text: #111111;
	--hm-muted: #6b7280;
	--hm-green: #111111;
	--hm-green-dark: #000000;
	--hm-blue: #3f3f46;
	--hm-amber: #525252;
	--hm-red: #1f2937;
	--hm-nav-hover-bg: #e5e7eb;
	--hm-nav-hover-text: #111111;
	--hm-nav-active-bg: #111111;
	--hm-nav-active-text: #ffffff;
	--hm-nav-icon-bg: #eeeeee;
	--hm-nav-icon-text: #52525b;
	--hm-nav-icon-hover-bg: #d4d4d8;
	--hm-nav-icon-hover-text: #111111;
	--hm-nav-icon-active-bg: #3f3f46;
	--hm-nav-icon-active-text: #ffffff;
	--hm-strong-button-bg: #111111;
	--hm-strong-button-hover: #000000;
	--hm-strong-button-text: #ffffff;
	--hm-badge-neutral-bg: #e5e7eb;
	--hm-badge-neutral-text: #374151;
	--hm-badge-info-bg: #e0f2fe;
	--hm-badge-info-text: #075985;
	--hm-badge-warning-bg: #fef3c7;
	--hm-badge-warning-text: #92400e;
	--hm-badge-success-bg: #dcfce7;
	--hm-badge-success-text: #166534;
	--hm-badge-danger-bg: #fee2e2;
	--hm-badge-danger-text: #991b1b;
	--hm-progress-track: #e5e7eb;
	--hm-dot-neutral: #737373;
	--hm-dot-info: #2563eb;
	--hm-dot-warning: #d97706;
	--hm-dot-success: #16a34a;
	--hm-dot-danger: #dc2626;
	--hm-focus: #2563eb;
	--hm-radius: 8px;
	--hm-shadow: 0 18px 55px rgba(0, 0, 0, 0.08);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-hm-theme="dark"] {
	--hm-bg: #0f1115;
	--hm-panel: #181b21;
	--hm-panel-soft: #22262e;
	--hm-line: #363b45;
	--hm-text: #f4f4f5;
	--hm-muted: #a1a1aa;
	--hm-green: #09090b;
	--hm-green-dark: #27272a;
	--hm-blue: #d4d4d8;
	--hm-amber: #e4e4e7;
	--hm-red: #f87171;
	--hm-nav-hover-bg: #272d37;
	--hm-nav-hover-text: #ffffff;
	--hm-nav-active-bg: #343b47;
	--hm-nav-active-text: #ffffff;
	--hm-nav-icon-bg: #242a33;
	--hm-nav-icon-text: #d6d9df;
	--hm-nav-icon-hover-bg: #3a4351;
	--hm-nav-icon-hover-text: #ffffff;
	--hm-nav-icon-active-bg: #11151c;
	--hm-nav-icon-active-text: #ffffff;
	--hm-strong-button-bg: #242a33;
	--hm-strong-button-hover: #343b47;
	--hm-strong-button-text: #f4f4f5;
	--hm-badge-neutral-bg: #343a46;
	--hm-badge-neutral-text: #e5e7eb;
	--hm-badge-info-bg: #172554;
	--hm-badge-info-text: #bfdbfe;
	--hm-badge-warning-bg: #422006;
	--hm-badge-warning-text: #fde68a;
	--hm-badge-success-bg: #052e16;
	--hm-badge-success-text: #bbf7d0;
	--hm-badge-danger-bg: #450a0a;
	--hm-badge-danger-text: #fecaca;
	--hm-progress-track: #343a46;
	--hm-dot-neutral: #9ca3af;
	--hm-dot-info: #60a5fa;
	--hm-dot-warning: #fbbf24;
	--hm-dot-success: #4ade80;
	--hm-dot-danger: #f87171;
	--hm-focus: #93c5fd;
	--hm-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
	color-scheme: dark;
}

html {
	-webkit-text-size-adjust: 100%;
}

* {
	box-sizing: border-box;
}

body {
	background: var(--hm-bg);
	color: var(--hm-text);
	font-size: 15px;
	line-height: 1.5;
	margin: 0;
	overflow-x: hidden;
}

body.hm-app-page {
	background: var(--hm-bg);
}

a {
	color: var(--hm-text);
}

.hm-login-page {
	background: var(--hm-bg);
	min-height: 100vh;
}

.hm-login-shell {
	align-items: center;
	display: grid;
	grid-template-columns: minmax(320px, 440px);
	justify-content: center;
	margin: 0 auto;
	min-height: 100vh;
	padding: 28px;
	width: min(560px, 100%);
}

.hm-login-brand {
	display: none;
}

.hm-brand-mark,
.hm-logo-fallback,
.hm-user-pill > span {
	align-items: center;
	background: var(--hm-green);
	border-radius: 8px;
	color: #fff;
	display: inline-flex;
	font-weight: 700;
	height: 42px;
	justify-content: center;
	width: 42px;
}

.hm-login-brand h1 {
	font-size: 68px;
	line-height: 0.95;
	margin: 24px 0 16px;
}

.hm-login-brand p {
	color: rgba(255, 255, 255, 0.78);
	font-size: 18px;
	line-height: 1.6;
	margin: 0;
}

.hm-login-points {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
}

.hm-login-points span {
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	color: #fff;
	font-weight: 700;
	padding: 8px 12px;
}

.hm-login-card,
.hm-panel {
	background: var(--hm-panel);
	border: 1px solid rgba(0, 0, 0, 0.10);
	border-radius: var(--hm-radius);
	box-shadow: var(--hm-shadow);
}

.hm-login-card {
	padding: 34px;
}

.hm-login-card h1,
.hm-login-card h2 {
	font-size: 30px;
	font-weight: 650;
	letter-spacing: 0;
	line-height: 1.14;
	margin: 0 0 24px;
}

.hm-login-note {
	color: var(--hm-muted);
	font-size: 15px;
	line-height: 1.55;
	margin: -10px 0 18px;
}

.hm-kicker {
	color: var(--hm-green);
	font-size: 11px;
	font-weight: 650;
	letter-spacing: 0;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.hm-auth-form,
.hm-form {
	display: grid;
	gap: 15px;
}

.hm-resend-form {
	margin-top: 16px;
	text-align: center;
}

.hm-login-links {
	margin: 16px 0 0;
	text-align: center;
}

.hm-login-links a {
	font-weight: 650;
	text-decoration: none;
}

.hm-resend-form button {
	background: transparent;
	border: 0;
	color: var(--hm-text);
	cursor: pointer;
	font-weight: 700;
	padding: 0;
}

.hm-auth-form label span,
.hm-form label span,
.hm-filters label span,
.hm-meta-grid span {
	color: var(--hm-muted);
	display: block;
	font-size: 11px;
	font-weight: 650;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.hm-auth-form label,
.hm-form label,
.hm-filters label,
.hm-form-grid > *,
.hm-filters > * {
	display: block;
	max-width: 100%;
	min-width: 0;
	width: 100%;
}

input,
select,
textarea,
button {
	font: inherit;
	max-width: 100%;
	min-width: 0;
}

.hm-auth-form input,
.hm-form input,
.hm-form select,
.hm-form textarea,
.hm-filters input,
.hm-filters select,
.hm-table select {
	background: var(--hm-panel);
	border: 1px solid var(--hm-line);
	border-radius: 7px;
	color: var(--hm-text);
	display: block;
	font-size: 16px;
	min-height: 46px;
	min-width: 0;
	padding: 11px 12px;
	width: 100%;
}

.hm-auth-form input[type="date"],
.hm-auth-form input[type="datetime-local"],
.hm-form input[type="date"],
.hm-form input[type="datetime-local"],
.hm-filters input[type="date"],
.hm-filters input[type="datetime-local"] {
	appearance: none;
	-webkit-appearance: none;
	inline-size: 100%;
	max-inline-size: 100%;
	min-inline-size: 0;
}

.hm-auth-form input[type="date"]::-webkit-date-and-time-value,
.hm-auth-form input[type="datetime-local"]::-webkit-date-and-time-value,
.hm-form input[type="date"]::-webkit-date-and-time-value,
.hm-form input[type="datetime-local"]::-webkit-date-and-time-value,
.hm-filters input[type="date"]::-webkit-date-and-time-value,
.hm-filters input[type="datetime-local"]::-webkit-date-and-time-value {
	margin: 0;
	min-width: 0;
	text-align: left;
}

.hm-auth-form select,
.hm-form select,
.hm-filters select,
.hm-table select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-position: right 16px center;
	background-repeat: no-repeat;
	background-size: 16px 16px;
	padding-right: 46px;
}

input::placeholder,
textarea::placeholder {
	color: var(--hm-muted);
	opacity: 1;
}

.hm-form select[multiple],
.hm-table select[multiple] {
	background-image: none;
	min-height: 112px;
	padding-right: 12px;
}

.hm-auth-form .hm-trust-option {
	align-items: center;
	background: #fafafa;
	border: 1px solid var(--hm-line);
	border-radius: 7px;
	display: flex;
	gap: 10px;
	min-height: 48px;
	padding: 12px 13px;
	user-select: none;
	width: 100%;
}

.hm-auth-form .hm-trust-control {
	align-items: center;
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 16px;
	height: 16px;
	justify-content: center;
	margin: 0;
	position: relative;
	width: 16px;
}

.hm-auth-form input.hm-trust-input {
	appearance: none !important;
	-webkit-appearance: none !important;
	border: 0 !important;
	clip-path: inset(50%);
	height: 1px !important;
	margin: 0 !important;
	min-height: 0 !important;
	opacity: 0;
	overflow: hidden;
	padding: 0 !important;
	position: absolute !important;
	white-space: nowrap;
	width: 1px !important;
}

.hm-auth-form .hm-trust-mark {
	align-items: center;
	background: #fff;
	border: 1.5px solid #9ca3af;
	border-radius: 4px;
	display: inline-flex;
	flex: 0 0 16px;
	height: 16px;
	justify-content: center;
	margin: 0;
	min-height: 16px;
	position: relative;
	width: 16px;
}

.hm-auth-form .hm-trust-control:focus-within .hm-trust-mark {
	border-color: var(--hm-text);
	box-shadow: none;
}

.hm-auth-form .hm-trust-mark::after {
	border: solid var(--hm-text);
	border-width: 0 2px 2px 0;
	content: "";
	height: 8px;
	opacity: 0;
	transform: rotate(45deg) translate(-1px, -1px);
	width: 4px;
}

.hm-auth-form .hm-trust-input:checked + .hm-trust-mark {
	border-color: var(--hm-text);
}

.hm-auth-form .hm-trust-input:checked + .hm-trust-mark::after {
	opacity: 1;
}

.hm-auth-form .hm-trust-copy {
	color: var(--hm-muted);
	display: inline-flex;
	font-size: 11px;
	font-weight: 650;
	letter-spacing: 0;
	line-height: 16px;
	margin: 0;
	min-height: 16px;
	text-transform: uppercase;
}

.hm-code-input {
	font-size: 24px;
	font-weight: 650;
	letter-spacing: 0.18em;
	text-align: center;
}

.hm-primary-button,
.hm-secondary-button,
.hm-logout-form button {
	align-items: center;
	border: 0;
	border-radius: 7px;
	cursor: pointer;
	display: inline-flex;
	font-weight: 650;
	justify-content: center;
	min-height: 46px;
	padding: 11px 15px;
	text-decoration: none;
}

.hm-primary-button {
	background: var(--hm-green);
	border: 1px solid var(--hm-line);
	color: #fff;
}

.hm-primary-button:hover {
	background: var(--hm-green-dark);
	color: #fff;
}

.hm-secondary-button {
	background: var(--hm-panel-soft);
	border: 1px solid var(--hm-line);
	color: var(--hm-text);
}

.hm-secondary-button:hover,
.hm-theme-toggle:hover {
	background: var(--hm-nav-hover-bg);
	color: var(--hm-nav-hover-text);
}

.hm-secondary-button.small {
	font-size: 13px;
	min-height: 34px;
	padding: 7px 10px;
}

.hm-alert {
	border-radius: var(--hm-radius);
	font-weight: 700;
	margin-bottom: 16px;
	padding: 13px 14px;
}

.hm-alert.success {
	background: var(--hm-panel-soft);
	border: 1px solid var(--hm-line);
	color: var(--hm-text);
}

.hm-alert.danger {
	background: var(--hm-panel-soft);
	border: 1px solid #a1a1aa;
	color: var(--hm-text);
}

.hm-app-shell {
	display: grid;
	grid-template-columns: 248px minmax(0, 1fr);
	min-height: 100vh;
}

.hm-sidebar {
	background: var(--hm-panel);
	border-right: 1px solid var(--hm-line);
	color: var(--hm-text);
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 18px 14px;
	position: sticky;
	top: 0;
	height: 100vh;
}

.hm-logo {
	align-items: center;
	border-bottom: 1px solid var(--hm-line);
	color: var(--hm-text);
	display: flex;
	gap: 12px;
	min-height: 58px;
	padding: 4px 6px 16px;
	text-decoration: none;
}

.hm-logo strong {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.15;
}

.hm-logo-mark {
	display: block;
	flex: 0 0 auto;
	height: 40px;
	object-fit: contain;
	width: 40px;
}

.hm-nav {
	display: grid;
	gap: 5px;
	padding-top: 2px;
}

.hm-nav a {
	align-items: center;
	border-radius: 7px;
	color: var(--hm-muted);
	display: flex;
	font-size: 14px;
	font-weight: 650;
	gap: 10px;
	min-height: 44px;
	padding: 9px 10px;
	text-decoration: none;
	transition: background-color 140ms ease, color 140ms ease;
}

.hm-nav-icon {
	align-items: center;
	background: var(--hm-nav-icon-bg);
	border-radius: 6px;
	color: var(--hm-nav-icon-text);
	display: inline-flex;
	flex: 0 0 28px;
	height: 28px;
	justify-content: center;
	width: 28px;
}

.hm-nav-icon svg {
	display: block;
	fill: none;
	height: 16px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
	width: 16px;
}

.hm-nav a:hover {
	background: var(--hm-nav-hover-bg);
	color: var(--hm-nav-hover-text);
}

.hm-nav a:hover .hm-nav-icon {
	background: var(--hm-nav-icon-hover-bg);
	color: var(--hm-nav-icon-hover-text);
}

.hm-nav a.active {
	background: var(--hm-nav-active-bg);
	color: var(--hm-nav-active-text);
}

.hm-nav a.active .hm-nav-icon {
	background: var(--hm-nav-icon-active-bg);
	color: var(--hm-nav-icon-active-text);
}

.hm-logout-form {
	margin-top: auto;
}

.hm-logout-form button {
	background: var(--hm-strong-button-bg);
	border: 1px solid var(--hm-line);
	color: var(--hm-strong-button-text);
	width: 100%;
}

.hm-logout-form button:hover {
	background: var(--hm-strong-button-hover);
}

.hm-main {
	min-width: 0;
	padding: 22px;
}

.hm-topbar {
	align-items: center;
	background: var(--hm-panel);
	border: 1px solid var(--hm-line);
	border-radius: var(--hm-radius);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin-bottom: 18px;
	min-height: 70px;
	padding: 12px 14px;
}

.hm-topbar > div:first-of-type {
	min-width: 0;
}

.hm-topbar h1 {
	font-size: 28px;
	font-weight: 650;
	line-height: 1.15;
	margin: 0;
}

.hm-user-pill {
	align-items: center;
	background: var(--hm-panel);
	border: 1px solid var(--hm-line);
	border-radius: 8px;
	display: flex;
	gap: 10px;
	padding: 8px 10px;
}

.hm-user-pill strong,
.hm-user-pill small {
	display: block;
	white-space: nowrap;
}

.hm-user-pill small {
	color: var(--hm-muted);
}

.hm-menu-toggle {
	background: var(--hm-panel);
	border: 1px solid var(--hm-line);
	border-radius: 7px;
	display: none;
	flex: 0 0 auto;
	flex-direction: column;
	gap: 5px;
	height: 44px;
	justify-content: center;
	padding: 0;
	width: 44px;
}

.hm-menu-toggle span {
	background: var(--hm-text);
	border-radius: 999px;
	display: block;
	height: 2px;
	transform-origin: center;
	transition: opacity 140ms ease, transform 160ms ease;
	width: 20px;
}

.hm-content {
	display: grid;
	gap: 14px;
}

.hm-topbar-actions {
	align-items: center;
	display: flex;
	gap: 10px;
}

.hm-theme-toggle {
	align-items: center;
	background: var(--hm-panel-soft);
	border: 1px solid var(--hm-line);
	border-radius: 8px;
	color: var(--hm-text);
	cursor: pointer;
	display: inline-flex;
	font-weight: 650;
	gap: 8px;
	min-height: 44px;
	padding: 9px 12px;
}

.hm-nav a:focus-visible,
.hm-primary-button:focus-visible,
.hm-secondary-button:focus-visible,
.hm-logout-form button:focus-visible,
.hm-theme-toggle:focus-visible,
.hm-danger-button:focus-visible,
.hm-form input:focus-visible,
.hm-form select:focus-visible,
.hm-form textarea:focus-visible,
.hm-filters input:focus-visible,
.hm-filters select:focus-visible {
	outline: 3px solid var(--hm-focus);
	outline-offset: 2px;
}

.hm-theme-icon {
	font-size: 18px;
	line-height: 1;
}

.hm-field-help {
	color: var(--hm-muted);
	display: block;
	font-size: 12px;
	margin-top: 6px;
}

.hm-danger-zone {
	align-items: center;
	border-color: color-mix(in srgb, var(--hm-red) 45%, var(--hm-line));
	display: flex;
	gap: 18px;
	justify-content: space-between;
}

.hm-danger-zone h2 {
	color: var(--hm-red);
	margin-bottom: 4px;
}

.hm-danger-zone p {
	color: var(--hm-muted);
	margin: 0;
}

.hm-danger-button {
	background: #b91c1c;
	border: 0;
	border-radius: 7px;
	color: #fff;
	cursor: pointer;
	font-weight: 650;
	min-height: 42px;
	padding: 10px 14px;
	white-space: nowrap;
}

.hm-danger-button:hover {
	background: #991b1b;
}

html[data-hm-theme="dark"] .hm-secret-box,
html[data-hm-theme="dark"] .hm-calendar-day.muted {
	background: var(--hm-panel-soft);
}

html[data-hm-theme="dark"] .hm-auth-form select,
html[data-hm-theme="dark"] .hm-form select,
html[data-hm-theme="dark"] .hm-filters select,
html[data-hm-theme="dark"] .hm-table select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23f4f4f5' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

html[data-hm-theme="dark"] .hm-form select[multiple],
html[data-hm-theme="dark"] .hm-table select[multiple] {
	background-image: none;
}

@media (max-width: 760px) {
	.hm-theme-toggle-label {
		display: none;
	}

	.hm-theme-toggle {
		justify-content: center;
		padding-inline: 12px;
	}

	.hm-danger-zone {
		align-items: stretch;
		flex-direction: column;
	}

	.hm-danger-zone form,
	.hm-danger-button {
		width: 100%;
	}
}

.hm-panel {
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	padding: 18px;
}

.hm-panel h2,
.hm-panel h3 {
	font-size: 18px;
	line-height: 1.3;
	margin: 0 0 14px;
}

.hm-panel-header {
	align-items: flex-start;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 14px;
}

.hm-panel-header p {
	color: var(--hm-muted);
	margin: 3px 0 0;
}

.hm-panel-grid,
.hm-stat-grid,
.hm-detail-layout,
.hm-form-grid,
.hm-filters {
	display: grid;
	gap: 16px;
}

.hm-panel-grid.two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hm-panel-grid.three,
.hm-stat-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hm-stat-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hm-stat span {
	color: var(--hm-muted);
	font-size: 12px;
	font-weight: 650;
	text-transform: uppercase;
}

.hm-stat strong {
	display: block;
	font-size: 36px;
	line-height: 1;
	margin-top: 8px;
}

.hm-form-grid.two {
	grid-template-columns: 2fr 1fr;
}

.hm-form-grid.four,
.hm-filters {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hm-form-grid .wide {
	grid-column: span 1;
}

.hm-filters {
	align-items: end;
	background: var(--hm-panel-soft);
	border: 1px solid var(--hm-line);
	border-radius: var(--hm-radius);
	margin-bottom: 16px;
	padding: 12px;
}

.hm-filters button {
	align-self: end;
	justify-self: start;
	min-width: 128px;
	width: auto;
}

.hm-detail-layout {
	grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
}

.hm-detail-layout .span-2 {
	grid-column: 1 / -1;
}

.hm-meta-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 16px 0;
}

.hm-meta-grid > div,
.hm-callout,
.hm-empty-state {
	background: var(--hm-panel-soft);
	border: 1px solid var(--hm-line);
	border-radius: var(--hm-radius);
	padding: 12px;
}

.hm-settings-panel .hm-panel-header {
	margin-bottom: 18px;
}

.hm-settings-grid .hm-callout {
	align-content: start;
	display: grid;
	gap: 8px;
	min-height: 154px;
}

.hm-settings-grid .hm-callout p {
	color: var(--hm-muted);
	margin: 0;
}

.hm-settings-eyebrow {
	color: var(--hm-muted);
	display: block;
	font-size: 11px;
	font-weight: 650;
	text-transform: uppercase;
}

.hm-settings-status {
	align-self: end;
	background: var(--hm-badge-neutral-bg);
	color: var(--hm-badge-neutral-text);
	border-radius: 999px;
	display: inline-flex;
	font-size: 12px;
	font-weight: 650;
	justify-self: start;
	line-height: 1;
	margin-top: 6px;
	padding: 7px 9px;
}

.hm-settings-status.ok {
	background: var(--hm-badge-success-bg);
	color: var(--hm-badge-success-text);
}

.hm-settings-status.warning {
	background: var(--hm-badge-warning-bg);
	color: var(--hm-badge-warning-text);
}

.hm-meta-grid > .hm-task-description-card {
	grid-column: 1 / -1 !important;
	width: 100%;
}

.hm-task-description-card .hm-richtext {
	background: transparent;
	border: 0;
	margin-top: 8px;
	padding: 0;
}

.hm-task-description-card .hm-richtext > :first-child {
	margin-top: 0;
}

.hm-task-description-card .hm-richtext > :last-child {
	margin-bottom: 0;
}

.hm-secret-box {
	background: var(--hm-panel-soft);
	border: 1px solid var(--hm-line);
	border-radius: var(--hm-radius);
	margin-bottom: 16px;
	padding: 14px;
}

.hm-secret-box p {
	margin: 8px 0 0;
}

.hm-secret-box code {
	font-size: 15px;
	padding: 5px 8px;
}

.hm-inline-secret-form,
.hm-actions-inline {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.hm-inline-secret-form input[type="password"] {
	min-height: 34px;
	width: 150px;
}

.hm-richtext {
	line-height: 1.65;
}

.hm-badge {
	border-radius: 999px;
	display: inline-flex;
	font-size: 12px;
	font-weight: 650;
	line-height: 1;
	padding: 6px 9px;
	white-space: nowrap;
}

.hm-badge.neutral {
	background: var(--hm-badge-neutral-bg);
	color: var(--hm-badge-neutral-text);
}

.hm-badge.info {
	background: var(--hm-badge-info-bg);
	color: var(--hm-badge-info-text);
}

.hm-badge.warning {
	background: var(--hm-badge-warning-bg);
	color: var(--hm-badge-warning-text);
}

.hm-badge.success {
	background: var(--hm-badge-success-bg);
	color: var(--hm-badge-success-text);
}

.hm-badge.danger {
	background: var(--hm-badge-danger-bg);
	color: var(--hm-badge-danger-text);
}

.hm-stack {
	display: grid;
	gap: 9px;
}

.hm-task-row {
	align-items: center;
	background: var(--hm-panel-soft);
	border: 1px solid var(--hm-line);
	border-radius: 7px;
	color: var(--hm-text);
	display: grid;
	gap: 8px;
	grid-template-columns: auto 1fr auto;
	padding: 10px;
	text-decoration: none;
}

.hm-task-row small {
	color: var(--hm-muted);
	grid-column: 2;
}

.hm-task-row em {
	color: var(--hm-muted);
	font-size: 12px;
	font-style: normal;
	font-weight: 650;
	grid-row: span 2;
	text-transform: uppercase;
}

.hm-status-dot {
	border-radius: 999px;
	display: inline-block;
	height: 10px;
	width: 10px;
}

.hm-status-dot.neutral {
	background: var(--hm-dot-neutral);
}

.hm-status-dot.info {
	background: var(--hm-dot-info);
}

.hm-status-dot.warning {
	background: var(--hm-dot-warning);
}

.hm-status-dot.success {
	background: var(--hm-dot-success);
}

.hm-status-dot.danger {
	background: var(--hm-dot-danger);
}

.hm-empty {
	color: var(--hm-muted);
	margin: 0;
}

.hm-muted-text {
	color: var(--hm-muted);
}

.hm-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.hm-table {
	border-collapse: collapse;
	min-width: 760px;
	width: 100%;
}

.hm-table th {
	color: var(--hm-muted);
	font-size: 12px;
	font-weight: 650;
	text-align: left;
	text-transform: uppercase;
}

.hm-table th,
.hm-table td {
	border-bottom: 1px solid var(--hm-line);
	padding: 12px 10px;
	vertical-align: middle;
}

.hm-table tbody tr:hover {
	background: var(--hm-panel-soft);
}

.hm-credentials-table tbody tr:hover {
	background: transparent;
}

.hm-mini-link {
	font-weight: 650;
	text-decoration: none;
}

.hm-comments {
	display: grid;
	gap: 10px;
	margin-bottom: 16px;
}

.hm-comments article {
	background: var(--hm-panel-soft);
	border: 1px solid var(--hm-line);
	border-radius: var(--hm-radius);
	padding: 12px;
}

.hm-comments header {
	display: flex;
	gap: 10px;
	justify-content: space-between;
}

.hm-comments time {
	color: var(--hm-muted);
	font-size: 12px;
}

.hm-calendar-toolbar {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	margin-bottom: 16px;
}

.hm-calendar-toolbar h2 {
	margin: 0;
}

.hm-calendar {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	overflow: visible;
	width: 100%;
}

.hm-calendar-head,
.hm-calendar-day {
	border: 1px solid var(--hm-line);
	margin: -1px 0 0 -1px;
	min-height: 118px;
	min-width: 0;
	overflow: hidden;
	padding: 10px;
}

.hm-calendar-head {
	background: var(--hm-panel-soft);
	color: var(--hm-muted);
	font-size: 12px;
	font-weight: 650;
	min-height: auto;
	text-transform: uppercase;
}

.hm-calendar-day.muted {
	background: var(--hm-panel-soft);
	color: var(--hm-muted);
}

.hm-calendar-day.today {
	box-shadow: inset 0 0 0 2px var(--hm-text);
}

.hm-day-number {
	align-items: center;
	display: flex;
	gap: 8px;
	justify-content: space-between;
	font-weight: 650;
	margin-bottom: 8px;
}

.hm-day-number small {
	color: var(--hm-muted);
	font-size: 11px;
	font-weight: 650;
	text-transform: uppercase;
}

.hm-calendar-tasks {
	display: grid;
	gap: 6px;
}

.hm-calendar-tasks a {
	align-items: center;
	display: flex;
	gap: 7px;
	line-height: 1.3;
	min-width: 0;
	overflow-wrap: anywhere;
	text-decoration: none;
}

.hm-calendar-task-title {
	min-width: 0;
	overflow-wrap: anywhere;
}

.hm-progress {
	background: var(--hm-progress-track);
	border-radius: 999px;
	display: inline-block;
	height: 9px;
	margin-right: 8px;
	overflow: hidden;
	vertical-align: middle;
	width: 128px;
}

.hm-progress span {
	background: var(--hm-green);
	display: block;
	height: 100%;
}

.hm-code-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.hm-code-list code {
	background: var(--hm-panel-soft);
	border: 1px solid var(--hm-line);
	border-radius: 7px;
	padding: 8px 10px;
}

@media (max-width: 1180px) {
	.hm-app-shell,
	.hm-panel-grid.two,
	.hm-panel-grid.three,
	.hm-stat-grid,
	.hm-detail-layout,
	.hm-form-grid.four,
	.hm-filters {
		grid-template-columns: 1fr 1fr;
	}

	.hm-app-shell {
		grid-template-columns: 220px minmax(0, 1fr);
	}

	.hm-detail-layout .span-2 {
		grid-column: 1 / -1;
	}
}

@media (max-width: 980px) {
	.hm-app-shell {
		display: block;
	}

	.hm-sidebar {
		bottom: 0;
		height: auto;
		left: 0;
		overflow-y: auto;
		position: fixed;
		padding: 18px 14px 22px;
		top: 0;
		transform: translateX(-100%);
		transition: transform 160ms ease;
		width: min(320px, 88vw);
		z-index: 40;
	}

	body.hm-menu-open .hm-sidebar {
		transform: translateX(0);
		padding-top: 18px;
	}

	body.hm-menu-open {
		overflow: hidden;
	}

	body.hm-menu-open::before {
		background: rgba(0, 0, 0, 0.34);
		content: "";
		inset: 0;
		position: fixed;
		z-index: 35;
	}

	.hm-menu-toggle {
		align-items: center;
		display: inline-flex;
		justify-content: center;
	}

	body.hm-menu-open .hm-menu-toggle {
		opacity: 0;
		pointer-events: none;
		visibility: hidden;
	}

	.hm-main {
		padding: 18px;
	}

	.hm-topbar {
		align-items: center;
		display: flex;
		gap: 12px;
		justify-content: center;
		min-height: 68px;
		position: relative;
	}

	.hm-menu-toggle {
		left: 14px;
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
	}

	.hm-topbar > div:first-of-type {
		max-width: calc(100% - 300px);
		text-align: center;
	}

	.hm-topbar-actions {
		position: absolute;
		right: 14px;
		top: 50%;
		transform: translateY(-50%);
	}

	.hm-user-pill {
		position: static;
		transform: none;
	}

	.hm-logo {
		min-height: 54px;
	}

	.hm-nav a {
		min-height: 46px;
	}

	.hm-calendar-tasks a {
		align-items: flex-start;
		font-size: 12px;
		gap: 5px;
		line-height: 1.22;
	}

	.hm-calendar-task-title {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		line-clamp: 3;
		overflow: hidden;
	}

	.hm-calendar-tasks .hm-status-dot {
		flex: 0 0 6px;
		height: 6px;
		margin-top: 4px;
		width: 6px;
	}
}

@media (max-width: 820px) {
	.hm-login-shell,
	.hm-panel-grid.two,
	.hm-panel-grid.three,
	.hm-stat-grid,
	.hm-detail-layout,
	.hm-form-grid.two,
	.hm-form-grid.four,
	.hm-filters,
	.hm-meta-grid {
		grid-template-columns: 1fr;
	}

	.hm-form,
	.hm-task-form,
	.hm-form-grid,
	.hm-filters {
		max-width: 100%;
		min-width: 0;
		overflow: hidden;
	}

	.hm-login-shell {
		min-height: 100svh;
		padding: 18px;
		width: 100%;
	}

	.hm-login-card {
		padding: 24px;
		width: 100%;
	}

	.hm-login-card h1,
	.hm-login-card h2 {
		font-size: 28px;
		font-weight: 650;
	}

	.hm-panel {
		padding: 14px;
	}

	.hm-panel-header,
	.hm-calendar-toolbar,
	.hm-comments header {
		align-items: stretch;
		flex-direction: column;
	}

	.hm-topbar h1 {
		font-size: 24px;
	}

	.hm-topbar {
		align-items: center;
		justify-content: center;
		margin-bottom: 16px;
		min-height: 64px;
		padding: 10px;
	}

	.hm-topbar > div:first-of-type {
		flex: 0 1 auto;
		max-width: calc(100% - 100px);
	}

	.hm-stat-grid {
		gap: 10px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hm-stat {
		min-height: 92px;
		padding: 12px;
	}

	.hm-stat span {
		display: block;
		font-size: 10px;
		line-height: 1.25;
		overflow-wrap: anywhere;
	}

	.hm-stat strong {
		font-size: 30px;
		margin-top: 7px;
	}

	.hm-primary-button,
	.hm-secondary-button,
	.hm-logout-form button {
		width: 100%;
	}

	.hm-filters button {
		justify-self: stretch;
		width: 100%;
	}

	.hm-user-pill {
		display: none;
	}

	.hm-task-row {
		align-items: start;
		grid-template-columns: auto 1fr;
	}

	.hm-task-row em {
		grid-column: 2;
		grid-row: auto;
	}

	.hm-inline-secret-form,
	.hm-actions-inline {
		align-items: stretch;
		flex-direction: column;
	}

	.hm-inline-secret-form input[type="password"] {
		width: 100%;
	}

	.hm-table-wrap {
		background: transparent;
		border: 0;
		border-radius: 0;
		overflow: visible;
	}

	.hm-table,
	.hm-table thead,
	.hm-table tbody,
	.hm-table tr,
	.hm-table th,
	.hm-table td {
		display: block;
		min-width: 0;
		width: 100%;
	}

	.hm-table thead {
		display: none;
	}

	.hm-table tr {
		background: var(--hm-panel);
		border: 1px solid var(--hm-line);
		border-radius: var(--hm-radius);
		margin-bottom: 10px;
		padding: 10px;
	}

	.hm-credentials-table tbody tr:hover {
		background: var(--hm-panel);
	}

	.hm-table td {
		align-items: flex-start;
		border-bottom: 1px solid var(--hm-line);
		display: grid;
		gap: 10px;
		grid-template-columns: minmax(96px, 34%) minmax(0, 1fr);
		padding: 9px 0;
		overflow-wrap: anywhere;
	}

	.hm-table td:last-child {
		border-bottom: 0;
	}

	.hm-table td::before {
		color: var(--hm-muted);
		content: attr(data-label);
		font-size: 11px;
		font-weight: 650;
		text-transform: uppercase;
	}

	.hm-table td:not([data-label]) {
		display: block;
	}

	.hm-table td:not([data-label])::before {
		content: none;
	}

	.hm-table td[colspan] {
		display: block;
	}

	.hm-table td[colspan]::before {
		content: none;
	}

	.hm-calendar {
		display: grid;
		gap: 0;
		grid-template-columns: repeat(7, minmax(0, 1fr));
		overflow: visible;
	}

	.hm-calendar-head {
		align-items: center;
		display: flex;
		justify-content: center;
		min-height: 30px;
		padding: 7px 2px;
		text-align: center;
	}

	.hm-calendar-day {
		border: 1px solid var(--hm-line);
		border-radius: 0;
		margin: -1px 0 0 -1px;
		min-height: 72px;
		padding: 7px 5px;
	}

	.hm-calendar-day.empty-day {
		display: block;
	}

	.hm-calendar-day.has-tasks,
	.hm-calendar-day.today {
		display: block;
	}

	.hm-calendar-toolbar {
		background: var(--hm-panel-soft);
		border: 1px solid var(--hm-line);
		border-radius: var(--hm-radius);
		display: grid;
		grid-template-columns: 1fr 1fr;
		padding: 10px;
	}

	.hm-calendar-toolbar h2 {
		grid-column: 1 / -1;
		order: -1;
		text-align: center;
	}

	.hm-calendar-tasks a {
		align-items: flex-start;
		font-size: 12px;
		gap: 5px;
		line-height: 1.22;
		overflow-wrap: anywhere;
	}

	.hm-calendar-task-title {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		line-clamp: 3;
		overflow: hidden;
	}

	.hm-calendar-tasks .hm-status-dot {
		flex: 0 0 6px;
		height: 6px;
		margin-top: 4px;
		width: 6px;
	}

	.hm-progress {
		margin: 0 0 6px;
		width: 100%;
	}
}

@media (max-width: 640px) {
	.hm-calendar {
		display: grid;
		gap: 10px;
		grid-template-columns: 1fr;
	}

	.hm-calendar.starts-today .hm-calendar-day.before-today {
		display: none;
	}

	.hm-calendar-head {
		display: none;
	}

	.hm-calendar-day {
		background: var(--hm-panel);
		border: 1px solid var(--hm-line);
		border-radius: var(--hm-radius);
		margin: 0;
		min-height: 58px;
		padding: 12px;
	}

	.hm-calendar-day.empty-day {
		display: block;
	}

	.hm-calendar-day.muted {
		display: none;
	}

	.hm-day-number {
		font-size: 15px;
		margin-bottom: 8px;
	}

	.hm-day-number small {
		display: inline;
	}

	.hm-calendar-tasks {
		display: grid;
		gap: 6px;
	}

	.hm-calendar-tasks a {
		background: transparent;
		border-radius: 0;
		display: flex;
		font-size: 14px;
		height: auto;
		line-height: 1.3;
		overflow: visible;
		width: auto;
	}

	.hm-calendar-tasks a .hm-status-dot {
		display: inline-block;
	}

	.hm-calendar-task-title {
		display: inline;
		overflow: visible;
	}
}

@media (max-width: 480px) {
	body {
		font-size: 14px;
	}

	.hm-main {
		padding: 14px;
	}

	.hm-topbar {
		align-items: center;
	}

	.hm-topbar h1 {
		font-size: 22px;
	}

	.hm-login-card {
		padding: 20px;
	}

	.hm-login-card h1,
	.hm-login-card h2 {
		font-size: 26px;
	}

	.hm-code-input {
		font-size: 22px;
	}

	.hm-calendar-toolbar {
		grid-template-columns: 1fr;
	}

	.hm-calendar-toolbar h2,
	.hm-calendar-toolbar .hm-secondary-button {
		grid-column: auto;
	}

	.hm-calendar-day {
		padding: 11px;
	}

	.hm-day-number {
		font-size: 15px;
		margin-bottom: 7px;
	}

	.hm-day-number small {
		display: inline;
	}

	.hm-table td {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.hm-stat strong {
		font-size: 28px;
	}
}

@media (max-width: 360px) {
	.hm-stat-grid {
		grid-template-columns: 1fr;
	}
}
