:root {
			--ink: #1c2b2a;
			--muted: #667a75;
			--paper: #f3f6f1;
			--panel: #fff;
			--line: #dce6df;
			--green: #18735c;
			--green-dark: #0e5947;
			--orange: #e6844d;
		}

		* {
			box-sizing: border-box;
		}

		body {
			background: linear-gradient(135deg, #eef5ec, #f8f5ed);
			color: var(--ink);
			font-family: Arial, sans-serif;
			margin: 0;
			min-height: 100vh;
		}

		header {
			align-items: center;
			background: #173b35;
			color: #fff;
			display: flex;
			justify-content: space-between;
			padding: 20px max(24px, calc((100% - 1120px) / 2));
		}

		.brand {
			font-size: 1.2rem;
			font-weight: 800;
			letter-spacing: .02em;
		}

		.brand span {
			color: #f3b36c;
		}

		.user {
			align-items: center;
			display: flex;
			font-size: .9rem;
			gap: 10px;
		}

		.user-details {
			display: flex;
			flex-direction: column;
			gap: 4px;
		}

		#account-menu {
			background: #173b35;
			border: 1px solid rgba(255, 255, 255, .45);
			border-radius: 3px;
			color: #fff;
			font-size: .72rem;
			padding: 3px 6px;
			width: auto;
		}

		.account-panel {
			background: var(--panel);
			border-bottom: 1px solid var(--line);
			margin: 0 auto;
			max-width: 1120px;
			padding: 20px 24px;
		}

		dialog.account-panel {
			border: 1px solid var(--line);
			border-radius: 8px;
			box-shadow: 0 20px 50px rgba(28, 43, 42, .2);
			max-width: 520px;
			width: calc(100% - 32px);
		}

		dialog.account-panel::backdrop {
			background: rgba(23, 59, 53, .48);
		}

		.account-panel h2 {
			font-family: Georgia, serif;
			font-size: 1.25rem;
			margin: 0 0 12px;
		}

		.password-form {
			display: block;
		}

		.password-form label {
			color: var(--muted);
			display: block;
			font-size: .8rem;
			font-weight: 700;
			margin: 14px 0 5px;
		}

		.password-form input {
			margin-top: 5px;
			padding: 9px;
		}

		.password-form button {
			margin-top: 18px;
			padding: 10px 14px;
			width: auto;
		}

		.password-actions {
			display: flex;
			gap: 10px;
			justify-content: flex-end;
		}

		.password-actions button:first-child {
			background: #edf3ee;
			color: var(--green-dark);
		}

		.account-panel .error,
		.account-panel .success {
			margin: 0 0 12px;
			padding: 9px 12px;
		}

		.account-panel .error {
			background: #fff0ed;
			border-left: 3px solid #c54d38;
			color: #8d3023;
		}

		.account-panel .success {
			background: #edf8f0;
			border-left: 3px solid var(--green);
			color: var(--green-dark);
		}

		.avatar {
			align-items: center;
			background: #e6844d;
			border-radius: 50%;
			display: flex;
			font-weight: 700;
			height: 34px;
			justify-content: center;
			width: 34px;
		}

		main {
			margin: 0 auto;
			max-width: 1120px;
			padding: 48px 24px 64px;
		}

		.intro {
			align-items: end;
			display: flex;
			justify-content: space-between;
			margin-bottom: 28px;
		}

		.kicker {
			color: var(--green);
			font-size: .76rem;
			font-weight: 800;
			letter-spacing: .13em;
			margin: 0 0 10px;
			text-transform: uppercase;
		}

		h1 {
			font-family: Georgia, serif;
			font-size: clamp(2rem, 5vw, 3.4rem);
			letter-spacing: -.04em;
			line-height: 1;
			margin: 0;
		}

		.subtitle {
			color: var(--muted);
			margin: 12px 0 0;
		}

		.week-select {
			background: var(--panel);
			border: 1px solid var(--line);
			border-radius: 5px;
			color: var(--ink);
			font-size: .95rem;
			padding: 12px 14px;
		}

		.current-week-link {
			color: var(--green-dark);
			display: inline-block;
			font-size: .8rem;
			font-weight: 700;
			margin-top: 7px;
			text-decoration: none;
		}

		.current-week-link:hover,
		.current-week-link:focus-visible {
			color: var(--green);
			text-decoration: underline;
		}

		.layout {
			display: grid;
			gap: 20px;
			grid-template-columns: minmax(0, 1fr) 280px;
		}

		.panel {
			background: var(--panel);
			border: 1px solid var(--line);
			border-radius: 8px;
			box-shadow: 0 12px 30px rgba(28, 43, 42, .06);
			padding: 24px;
		}

		.panel-heading {
			align-items: center;
			display: flex;
			justify-content: space-between;
			margin-bottom: 18px;
		}

		h2 {
			font-family: Georgia, serif;
			font-size: 1.35rem;
			margin: 0;
		}

		.status {
			color: var(--muted);
			font-size: .82rem;
		}

		.table-wrap {
			overflow-x: auto;
		}

		table {
			border-collapse: collapse;
			min-width: 640px;
			width: 100%;
		}

		th {
			color: var(--muted);
			font-size: .72rem;
			letter-spacing: .08em;
			padding: 0 10px 12px;
			text-align: left;
			text-transform: uppercase;
		}

		td {
			border-top: 1px solid var(--line);
			padding: 10px;
		}

		.day {
			font-weight: 700;
			white-space: nowrap;
		}

		.date {
			color: var(--muted);
			display: block;
			font-size: .78rem;
			font-weight: 400;
			margin-top: 3px;
		}

		input,
		select {
			border: 1px solid var(--line);
			border-radius: 4px;
			color: var(--ink);
			font: inherit;
			padding: 10px;
			width: 100%;
		}

		input:focus,
		select:focus {
			border-color: var(--green);
			outline: 3px solid rgba(24, 115, 92, .15);
		}

		.hours {
			max-width: 100px;
		}

		.actions {
			display: flex;
			gap: 10px;
			justify-content: flex-end;
			margin-top: 20px;
		}

		button {
			border: 0;
			border-radius: 4px;
			cursor: pointer;
			font: 700 .92rem Arial, sans-serif;
			padding: 12px 18px;
		}

		.secondary {
			background: #edf3ee;
			color: var(--green-dark);
		}

		.primary {
			background: var(--green);
			color: #fff;
		}

		button:hover,
		button:focus-visible {
			filter: brightness(.92);
			outline: 3px solid rgba(24, 115, 92, .2);
			outline-offset: 2px;
		}

		.summary {
			background: #173b35;
			color: #fff;
		}

		.summary h2 {
			color: #fff;
		}

		.total {
			border-bottom: 1px solid rgba(255, 255, 255, .2);
			margin: 24px 0;
			padding-bottom: 22px;
		}

		.total strong {
			display: block;
			font-family: Georgia, serif;
			font-size: 3.5rem;
			font-weight: 400;
			line-height: 1;
		}

		.total span,
		.summary-row {
			color: #b9d0c6;
			font-size: .85rem;
		}

		.summary-row {
			display: flex;
			justify-content: space-between;
			padding: 9px 0;
		}

		.summary-row strong {
			color: #fff;
			font-size: .95rem;
		}

		.note {
			background: #fff7ec;
			border-left: 3px solid var(--orange);
			color: #7b5a42;
			font-size: .82rem;
			line-height: 1.45;
			margin-top: 20px;
			padding: 12px;
		}

		@media (max-width: 780px) {
			.password-form button {
				width: 100%;
			}

			.password-actions {
				flex-direction: column-reverse;
			}

			.intro {
				align-items: start;
				flex-direction: column;
				gap: 20px;
			}

			.week-select {
				width: 100%;
			}

			.layout {
				grid-template-columns: 1fr;
			}
		}

		@media (max-width: 480px) {
			header {
				padding: 16px 18px;
			}

			.user {
				font-size: 0;
			}

			.user-details {
				font-size: .85rem;
			}

			main {
				padding: 32px 16px 48px;
			}

			.panel {
				padding: 18px 14px;
			}

			.actions {
				flex-direction: column;
			}

			button {
				width: 100%;
			}
		}

:root {
				--ink: #1c2b2a;
				--muted: #667a75;
				--paper: #f3f6f1;
				--green: #18735c;
				--green-dark: #0e5947;
				--orange: #e6844d;
			}

			* {
				box-sizing: border-box;
			}

			body {
				align-items: center;
				background: linear-gradient(135deg, #eef5ec, #f8f5ed);
				color: var(--ink);
				display: flex;
				font-family: Arial, sans-serif;
				justify-content: center;
				margin: 0;
				min-height: 100vh;
				padding: 24px;
			}

			.login {
				background: #fff;
				border: 1px solid #dce6df;
				border-radius: 8px;
				box-shadow: 0 20px 50px rgba(28, 43, 42, .1);
				max-width: 420px;
				padding: 40px;
				width: 100%;
			}

			.brand {
				color: var(--green-dark);
				font-size: 1.2rem;
				font-weight: 800;
				margin-bottom: 44px;
			}

			.brand span {
				color: var(--orange);
			}

			.kicker {
				color: var(--green);
				font-size: .76rem;
				font-weight: 800;
				letter-spacing: .13em;
				margin: 0 0 10px;
				text-transform: uppercase;
			}

			h1 {
				font-family: Georgia, serif;
				font-size: 2.5rem;
				letter-spacing: -.04em;
				margin: 0;
			}

			.subtitle {
				color: var(--muted);
				line-height: 1.5;
				margin: 12px 0 28px;
			}

			label {
				color: var(--muted);
				display: block;
				font-size: .85rem;
				font-weight: 700;
				margin: 16px 0 7px;
			}

			input {
				border: 1px solid #dce6df;
				border-radius: 4px;
				color: var(--ink);
				font: inherit;
				padding: 12px;
				width: 100%;
			}

			input:focus {
				border-color: var(--green);
				outline: 3px solid rgba(24, 115, 92, .15);
			}

			button {
				background: var(--green);
				border: 0;
				border-radius: 4px;
				color: #fff;
				cursor: pointer;
				font: 700 .95rem Arial, sans-serif;
				margin-top: 24px;
				padding: 13px;
				width: 100%;
			}

			button:hover,
			button:focus-visible {
				background: var(--green-dark);
				outline: 3px solid rgba(24, 115, 92, .2);
				outline-offset: 2px;
			}

			.error {
				background: #fff0ed;
				border-left: 3px solid #c54d38;
				color: #8d3023;
				font-size: .85rem;
				margin: 16px 0;
				padding: 11px;
			}

.logout { color: #fff; margin-left: 12px; }

.app-page {
	align-items: initial;
	display: block;
	justify-content: initial;
	padding: 0;
}

.add-entry,
.remove-entry {
	background: transparent;
	color: var(--green);
	font-size: .75rem;
	margin-top: 8px;
	padding: 0;
}

.remove-entry {
	color: #8d3023;
	display: block;
}

.app-page .brand {
	color: inherit;
	letter-spacing: .02em;
	margin-bottom: 0;
}

.app-page .brand span {
	color: #f3b36c;
}

.app-page .kicker {
	margin: 0 0 10px;
}

.app-page h1 {
	font-size: clamp(2rem, 5vw, 3.4rem);
	line-height: 1;
}

.app-page .subtitle {
	line-height: normal;
	margin: 12px 0 0;
}

.app-page label {
	display: inline;
	font-size: inherit;
	font-weight: inherit;
	margin: 0;
}

.app-page input,
.app-page select {
	padding: 10px;
}

.app-page button {
	background: transparent;
	margin-top: 0;
	padding: 12px 18px;
	width: auto;
}

.app-page .secondary {
	background: #edf3ee;
}

.app-page .primary {
	background: var(--green);
}

.app-page button:hover,
.app-page button:focus-visible {
	filter: brightness(.92);
	outline: 3px solid rgba(24, 115, 92, .2);
	outline-offset: 2px;
}

.app-page .secondary:hover,
.app-page .secondary:focus-visible {
	background: #edf3ee;
}

.app-page .primary:hover,
.app-page .primary:focus-visible {
	background: var(--green);
}

.app-page .password-actions button:first-child {
	background: #edf3ee;
	color: var(--green-dark);
}

.app-page .password-actions button:last-child {
	background: var(--green);
	color: #fff;
}

@media (max-width: 480px) {
	.app-page button {
		width: 100%;
	}
}

.app-page .add-entry,
.app-page .remove-entry {
	background: transparent;
	margin-top: 8px;
	padding: 0;
	width: auto;
}

.app-page tr[data-extra="true"] td {
	background: #f7faf7;
	border-top: 0;
	padding-bottom: 8px;
	padding-top: 4px;
}

.app-page tr[data-extra="true"] td:first-child {
	border-left: 3px solid #b9d0c6;
	padding-left: 17px;
}

.app-page tr[data-extra="true"] .extra-label {
	color: var(--muted);
	display: block;
	font-size: .78rem;
	font-weight: 400;
}

.app-page .remove-entry {
	display: block;
}