body.otp-shortcode-page {
	--otp-green: #269f22;
	--otp-green-line: rgba(38, 159, 34, 0.58);
	--otp-border-green: rgba(38, 159, 34, 0.72);
	--otp-black-line: rgba(0, 0, 0, 0.86);
	--otp-green-text-shadow: 0 1px 1px rgba(0, 0, 0, 0.98), 0 0 2px rgba(0, 0, 0, 0.90), 0 0 4px rgba(0, 0, 0, 0.68);
	background: #050806;
	color: #f8fafc;
	min-height: 100dvh;
	overflow-x: hidden;
	position: relative;
}

/* Calendar UX refresh: Google Calendar style compact views. */
.otp-calendar-toolbar {
	background: rgba(2, 12, 8, 0.72);
	border-color: rgba(75, 180, 92, 0.34);
	box-shadow: none;
	gap: 12px;
}

.otp-calendar-toolbar > .otp-date-tools {
	display: none;
}

.otp-calendar-topbar {
	align-items: center;
	display: grid;
	gap: 10px;
	grid-template-columns: auto minmax(180px, 1fr) auto;
}

.otp-calendar-nav {
	align-items: center;
	display: flex;
	gap: 6px;
}

.otp-calendar-nav[hidden],
.otp-calendar-view[hidden],
.otp-calendar-current [hidden] {
	display: none !important;
}

.otp-calendar-current {
	display: grid;
	gap: 2px;
	justify-items: center;
	min-width: 0;
	text-align: center;
}

.otp-calendar-current strong,
.otp-calendar-current span {
	color: #e9fff0;
	font-weight: 950;
	line-height: 1.1;
	overflow: hidden;
	text-overflow: ellipsis;
	text-shadow: none;
	text-transform: uppercase;
	white-space: nowrap;
	width: 100%;
}

.otp-calendar-current span {
	color: #a9d9b0;
	font-size: 0.78rem;
}

.otp-calendar-view-switch {
	background: rgba(0, 0, 0, 0.26);
	border: 1px solid rgba(91, 183, 101, 0.32);
	border-radius: 7px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	overflow: hidden;
}

.otp-calendar-view-button {
	color: #dfffe2;
	font-size: 0.72rem;
	font-weight: 900;
	line-height: 1;
	padding: 9px 10px;
	text-align: center;
	text-decoration: none;
	text-shadow: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.otp-calendar-view-button.is-active {
	background: var(--otp-green);
	color: #031006;
}

.otp-calendar-filter {
	grid-template-columns: minmax(180px, 1fr) auto;
}

.otp-calendar-month-view {
	background: rgba(1, 8, 6, 0.72);
	border: 1px solid rgba(92, 160, 100, 0.32);
	border-radius: 8px;
	overflow: hidden;
	padding: 0;
}

.otp-calendar-weekdays,
.otp-calendar-grid {
	grid-template-columns: 38px repeat(7, minmax(0, 1fr));
}

.otp-calendar-weekdays {
	background: rgba(5, 18, 12, 0.94);
	border-bottom: 1px solid rgba(92, 160, 100, 0.28);
	gap: 0;
	padding: 0;
}

.otp-calendar-weekdays span,
.otp-calendar-week-number {
	align-items: center;
	color: #9adba1;
	display: flex;
	font-size: 0.68rem;
	font-weight: 900;
	justify-content: center;
	min-height: 30px;
	text-shadow: none;
	text-transform: uppercase;
}

.otp-calendar-week-number-head,
.otp-calendar-week-number {
	background: rgba(0, 0, 0, 0.22);
	border-right: 1px solid rgba(92, 160, 100, 0.24);
	color: #6fbf78;
}

.otp-calendar-grid {
	background: rgba(92, 160, 100, 0.22);
	gap: 1px;
	padding: 0;
}

.otp-calendar-day {
	background: rgba(5, 18, 13, 0.92);
	border: 0;
	border-radius: 0;
	box-shadow: none;
	gap: 5px;
	grid-template-rows: auto minmax(0, 1fr);
	min-height: 122px;
	padding: 6px;
}

.otp-calendar-day.is-outside-month {
	background: rgba(4, 12, 10, 0.72);
	opacity: 1;
}

.otp-calendar-day.is-selected {
	background: rgba(16, 68, 34, 0.58);
}

.otp-calendar-day.is-today {
	border: 1px solid rgba(58, 198, 77, 0.78);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.48);
}

.otp-calendar-date {
	background: transparent;
	border: 0;
	color: #effff0;
	font-size: 0.78rem;
	height: auto;
	justify-content: flex-start;
	line-height: 1;
	padding: 0;
	text-shadow: none;
	width: auto;
}

.otp-calendar-date span {
	align-items: center;
	border-radius: 999px;
	display: inline-flex;
	height: 24px;
	justify-content: center;
	width: 24px;
}

.otp-calendar-day.is-today .otp-calendar-date {
	background: transparent;
	color: #031006;
}

.otp-calendar-day.is-today .otp-calendar-date span,
.otp-calendar-week-day.is-today .otp-calendar-week-head strong {
	background: var(--otp-green);
	color: #031006;
}

.otp-calendar-job-preview {
	align-content: start;
	display: grid;
	gap: 3px;
	min-width: 0;
}

.otp-calendar-job-pill,
.otp-calendar-more {
	align-items: center;
	background: var(--otp-cal-bg, rgba(42, 95, 52, 0.46));
	border: 1px solid var(--otp-cal-border, rgba(125, 211, 139, 0.22));
	border-left: 4px solid var(--otp-cal-accent, #7dd38b);
	border-radius: 4px;
	color: #f7fff8;
	display: flex;
	gap: 5px;
	min-height: 21px;
	min-width: 0;
	padding: 2px 6px;
	text-decoration: none;
	text-shadow: none;
}

.otp-calendar-job-pill strong {
	color: inherit;
	display: block;
	font-size: 0.72rem;
	font-weight: 850;
	line-height: 1.1;
	overflow: hidden;
	text-overflow: ellipsis;
	text-shadow: none;
	text-transform: none;
	white-space: nowrap;
}

.otp-calendar-job-pill:hover,
.otp-calendar-job-pill:focus,
.otp-calendar-more:hover,
.otp-calendar-more:focus {
	border-color: rgba(232, 255, 235, 0.48);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
	color: #fff;
	outline: none;
}

.otp-calendar-job-pill[draggable="true"]::after {
	content: none;
}

.otp-calendar-job-status-billed {
	--otp-cal-accent: #22c55e;
	--otp-cal-bg: rgba(34, 197, 94, 0.24);
	--otp-cal-border: rgba(34, 197, 94, 0.34);
}

.otp-calendar-job-status-in_progress {
	--otp-cal-accent: #38bdf8;
	--otp-cal-bg: rgba(56, 189, 248, 0.22);
	--otp-cal-border: rgba(56, 189, 248, 0.34);
}

.otp-calendar-job-status-open,
.otp-calendar-job-status-draft {
	--otp-cal-accent: #94a3b8;
	--otp-cal-bg: rgba(148, 163, 184, 0.18);
	--otp-cal-border: rgba(148, 163, 184, 0.30);
}

.otp-calendar-job-status-unsigned {
	--otp-cal-accent: #f59e0b;
	--otp-cal-bg: rgba(245, 158, 11, 0.22);
	--otp-cal-border: rgba(245, 158, 11, 0.34);
}

.otp-calendar-job-status-queued {
	--otp-cal-accent: #a78bfa;
	--otp-cal-bg: rgba(167, 139, 250, 0.22);
	--otp-cal-border: rgba(167, 139, 250, 0.34);
}

.otp-calendar-job-status-overdue {
	--otp-cal-accent: #ef4444;
	--otp-cal-bg: rgba(239, 68, 68, 0.22);
	--otp-cal-border: rgba(239, 68, 68, 0.34);
}

.otp-calendar-more {
	appearance: none;
	background: rgba(255, 255, 255, 0.06);
	border-left-color: rgba(185, 255, 193, 0.38);
	color: #bfffc3;
	cursor: pointer;
	font-size: 0.7rem;
	font-family: inherit;
	font-weight: 900;
	justify-content: center;
	text-transform: none;
	width: 100%;
}

.otp-calendar-week-view,
.otp-calendar-list-view {
	display: grid;
	gap: 10px;
}

.otp-calendar-week-grid {
	display: grid;
	gap: 8px;
	grid-template-columns: 1fr;
	overflow: visible;
}

.otp-calendar-week-day {
	background: rgba(5, 18, 13, 0.92);
	display: grid;
	gap: 7px;
	min-height: 0;
	padding: 8px;
}

.otp-calendar-week-head,
.otp-calendar-list-day-head {
	align-items: center;
	color: #f2fff3;
	display: flex;
	gap: 8px;
	justify-content: space-between;
	text-decoration: none;
	text-shadow: none;
}

.otp-calendar-week-head span {
	color: #8dd494;
	font-size: 0.72rem;
	font-weight: 950;
	text-transform: uppercase;
}

.otp-calendar-week-head strong {
	align-items: center;
	border-radius: 999px;
	display: inline-flex;
	height: 26px;
	justify-content: center;
	width: 26px;
}

.otp-calendar-week-head-meta {
	align-items: center;
	display: inline-flex;
	gap: 6px;
	justify-content: flex-end;
}

.otp-calendar-week-count {
	align-items: center;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(141, 212, 148, 0.22);
	border-radius: 999px;
	color: #bfffc3;
	display: inline-flex;
	font-size: 0.68rem;
	font-style: normal;
	font-weight: 900;
	height: 22px;
	justify-content: center;
	min-width: 24px;
	padding: 0 7px;
}

.otp-calendar-list-day {
	background: rgba(5, 18, 13, 0.78);
	border: 1px solid rgba(92, 160, 100, 0.24);
	border-radius: 8px;
	display: grid;
	gap: 8px;
	padding: 10px;
}

.otp-calendar-list-day.is-selected,
.otp-calendar-week-day.is-selected {
	background: rgba(16, 68, 34, 0.58);
}

.otp-calendar-list-day-head strong {
	color: var(--otp-green);
	font-size: 0.95rem;
	text-transform: uppercase;
}

.otp-calendar-list-day-head span {
	align-items: center;
	background: var(--otp-green);
	border-radius: 999px;
	color: #031006;
	display: inline-flex;
	font-size: 0.72rem;
	font-weight: 950;
	height: 24px;
	justify-content: center;
	min-width: 24px;
	padding: 0 7px;
}

.otp-calendar-list-jobs,
.otp-calendar-day-list {
	display: grid;
	gap: 7px;
}

.otp-calendar-list-job {
	align-items: center;
	background: var(--otp-cal-bg, rgba(42, 95, 52, 0.46));
	border: 1px solid var(--otp-cal-border, rgba(125, 211, 139, 0.22));
	border-left: 4px solid var(--otp-cal-accent, #7dd38b);
	border-radius: 6px;
	color: #f7fff8;
	display: grid;
	gap: 3px;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 8px 9px;
	text-decoration: none;
	text-shadow: none;
}

.otp-calendar-list-job strong,
.otp-calendar-list-job span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.otp-calendar-list-job span {
	color: #d9ffe0;
	font-size: 0.72rem;
	font-weight: 850;
}

.otp-calendar-list-empty {
	background: rgba(0, 0, 0, 0.18);
	border-color: rgba(92, 160, 100, 0.18);
	padding: 8px;
}

.otp-calendar-day-panel {
	background: rgba(2, 12, 8, 0.84);
	border-color: rgba(92, 160, 100, 0.34);
}

.otp-calendar-day-item {
	background: rgba(5, 18, 13, 0.78);
	border: 1px solid var(--otp-cal-border, rgba(125, 211, 139, 0.24));
	border-left: 5px solid var(--otp-cal-accent, #7dd38b);
	border-radius: 8px;
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 12px;
}

.otp-calendar-day-item.is-selected {
	box-shadow: 0 0 0 2px rgba(38, 159, 34, 0.55);
}

.otp-calendar-day-item-main {
	display: grid;
	gap: 5px;
	min-width: 0;
}

.otp-calendar-day-item h4,
.otp-calendar-day-item strong,
.otp-calendar-day-item p {
	margin: 0;
	min-width: 0;
}

.otp-calendar-day-item h4 {
	color: #f6fff7;
	font-size: 1rem;
	font-weight: 950;
	text-transform: uppercase;
}

.otp-calendar-day-item-main > strong {
	color: var(--otp-green);
	font-size: 0.9rem;
}

.otp-calendar-day-item p {
	color: #d6e9d8;
	font-size: 0.84rem;
}

.otp-calendar-day-item-meta {
	color: #c8e8cc;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.76rem;
	font-weight: 780;
	gap: 5px 9px;
}

.otp-calendar-day-item-meta span:not(:last-child)::after {
	content: "/";
	margin-left: 9px;
	opacity: 0.65;
}

.otp-calendar-day-item-actions {
	align-content: start;
	display: grid;
	gap: 7px;
	min-width: 150px;
}

@media (max-width: 760px) {
	.otp-calendar-toolbar {
		padding: 10px;
	}

	.otp-calendar-topbar {
		grid-template-columns: 1fr;
	}

	.otp-calendar-nav {
		justify-content: center;
	}

	.otp-calendar-current {
		order: -1;
	}

	.otp-calendar-view-switch {
		width: 100%;
	}

	.otp-calendar-filter {
		grid-template-columns: 1fr;
	}

	.otp-calendar-weekdays,
	.otp-calendar-grid {
		grid-template-columns: 26px repeat(7, minmax(0, 1fr));
	}

	.otp-calendar-weekdays span,
	.otp-calendar-week-number {
		font-size: 0.56rem;
		min-height: 24px;
	}

	.otp-calendar-day {
		gap: 3px;
		min-height: 76px;
		padding: 3px;
	}

	.otp-calendar-date span {
		font-size: 0.68rem;
		height: 20px;
		width: 20px;
	}

	.otp-calendar-job-pill,
	.otp-calendar-more {
		border-left-width: 3px;
		min-height: 18px;
		padding: 1px 4px;
	}

	.otp-calendar-job-pill strong,
	.otp-calendar-more {
		font-size: 0.56rem;
	}

	.otp-calendar-week-grid {
		grid-template-columns: 1fr;
	}

	.otp-calendar-week-day {
		min-height: 0;
	}

	.otp-calendar-list-job {
		grid-template-columns: 1fr;
	}

	.otp-calendar-day-item {
		grid-template-columns: 1fr;
		padding: 10px;
	}

	.otp-calendar-day-item-actions {
		min-width: 0;
	}
}

.otp-status-group {
	align-items: flex-end;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.otp-status-cutoff,
.otp-status-approved,
.otp-status-adjustment {
	background: #654c12;
	border-color: #d6a72a;
	color: #fff6d3;
}

.otp-status-paid,
.otp-status-locked {
	background: #3e4549;
	border-color: #8e9ba2;
	color: #f4f7f8;
}

.otp-payroll-period-card,
.otp-time-adjustment-card {
	border-left: 3px solid var(--otp-green);
}

.otp-payroll-period-summary .otp-status {
	align-self: center;
}

.otp-payroll-period-summary-toggle {
	align-items: center;
	border: 1px solid rgba(57, 209, 47, 0.72);
	border-radius: 50%;
	color: var(--otp-green);
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 1.25rem;
	font-weight: 900;
	height: 32px;
	justify-content: center;
	line-height: 1;
	width: 32px;
}

.otp-payroll-period-summary-toggle::before {
	content: "+";
}

.otp-payroll-period-card[open] .otp-payroll-period-summary-toggle::before {
	content: "−";
}

.otp-payroll-period-details {
	padding-top: 12px;
}

.otp-payroll-period-report,
.otp-time-adjustment-form,
.otp-time-missing-adjustment {
	margin-top: 12px;
}

.otp-payroll-period-report > summary,
.otp-time-adjustment-form > summary {
	color: var(--otp-green);
	cursor: pointer;
	font-weight: 850;
	padding: 8px 0;
}

.otp-payroll-period-report h4,
.otp-time-adjustment-list h4 {
	color: var(--otp-green);
	margin: 14px 0 8px;
}

.otp-time-adjustment-list {
	margin-top: 14px;
}

.otp-time-adjustment-list .otp-card + .otp-card {
	margin-top: 8px;
}

.otp-commission-payroll-lock {
	margin-top: 10px;
}

@media (max-width: 760px) {
	.otp-payroll-period-card,
	.otp-time-adjustment-card {
		padding: 11px;
	}

	.otp-payroll-period-card .otp-card-header,
	.otp-time-adjustment-card .otp-card-header {
		align-items: flex-start;
		gap: 8px;
	}

	.otp-payroll-period-report .otp-table-wrap {
		margin-inline: -4px;
	}

	.otp-time-adjustment-form .otp-form,
	.otp-time-missing-adjustment .otp-form {
		gap: 9px;
	}
}

body.otp-app-menu-is-open {
	overflow: hidden;
}

body.otp-shortcode-page::before {
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.48) 100%),
		url("../images/app-background-rc59.png") center center / cover no-repeat;
	content: "";
	height: 100dvh;
	inset: 0;
	pointer-events: none;
	position: fixed;
	transform: scale(1.12);
	transform-origin: center center;
	width: 100vw;
	will-change: transform;
	z-index: 0;
}

body.otp-shortcode-page .wp-site-blocks,
body.otp-shortcode-page #page,
body.otp-shortcode-page .site,
body.otp-shortcode-page main,
body.otp-shortcode-page .site-main,
body.otp-shortcode-page .entry-content,
body.otp-shortcode-page .wp-block-post-content {
	background: transparent !important;
	position: relative;
	z-index: 1;
}

body.otp-shortcode-page .wp-block-post-content > .otp-app,
body.otp-shortcode-page .entry-content > .otp-app,
body.otp-shortcode-page .is-layout-constrained > .otp-app {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: min(1180px, 100%) !important;
	width: 100% !important;
}

body.otp-shortcode-page .entry-title,
body.otp-shortcode-page .wp-block-post-title {
	display: none;
}

body.otp-shortcode-page .wp-block-navigation:not(.otp-app-menu) {
	display: none !important;
}

body.otp-shortcode-page .custom-logo-link,
body.otp-shortcode-page .wp-block-site-logo,
body.otp-shortcode-page .site-logo,
body.otp-shortcode-page .otp-site-header-logo,
body.otp-shortcode-page header img[src*="otp-mittauspoytakirjat/assets/img/logo"] {
	display: none !important;
}

body.otp-shortcode-page header {
	display: none !important;
}

body.otp-shortcode-page footer {
	background: transparent !important;
	color: #f8fafc;
	position: relative;
	z-index: 2;
}

body.otp-shortcode-page header a,
body.otp-shortcode-page footer a {
	color: var(--otp-green) !important;
}

body.otp-shortcode-page .wp-block-navigation a,
body.otp-shortcode-page .wp-block-navigation-item__content,
body.otp-shortcode-page .wp-block-navigation__responsive-container-open,
body.otp-shortcode-page .wp-block-navigation__responsive-container-close,
body.otp-shortcode-page .wp-block-navigation__responsive-container-close svg,
body.otp-shortcode-page .wp-block-navigation__responsive-container-open svg {
	color: var(--otp-green) !important;
	font-size: 0.98rem;
	font-weight: 900;
	letter-spacing: 0.02em;
	stroke: currentColor;
	text-shadow: var(--otp-green-text-shadow);
	text-transform: uppercase;
}

body.otp-shortcode-page .wp-block-navigation a:hover,
body.otp-shortcode-page .wp-block-navigation a:focus,
body.otp-shortcode-page .wp-block-navigation .current-menu-item > a,
body.otp-shortcode-page .wp-block-navigation .current-menu-ancestor > a {
	color: #6fe267 !important;
	text-decoration-color: var(--otp-green);
}

body.otp-shortcode-page .wp-block-navigation__responsive-container.is-menu-open {
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.48) 100%),
		url("../images/app-background-rc59.png") center center / cover no-repeat !important;
	color: var(--otp-green);
	inset: 0 !important;
	min-height: 100dvh !important;
	overflow-x: hidden;
	overflow-y: auto;
	position: fixed !important;
	width: 100vw !important;
}

body.otp-shortcode-page .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	background: rgba(3, 22, 10, 0.30);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid var(--otp-green-line);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45), 0 18px 42px rgba(0, 0, 0, 0.28);
	border-radius: 8px;
	margin: 72px 14px 14px;
	padding: 16px;
}

.otp-app {
	--otp-ink: #f8fafc;
	--otp-muted: #cbd5e1;
	--otp-green: #269f22;
	--otp-green-dark: #1f7f1c;
	--otp-green-line: rgba(38, 159, 34, 0.58);
	--otp-green-soft: rgba(38, 159, 34, 0.13);
	--otp-border-green: rgba(38, 159, 34, 0.72);
	--otp-black-line: rgba(0, 0, 0, 0.86);
	--otp-green-text-shadow: 0 1px 1px rgba(0, 0, 0, 0.98), 0 0 2px rgba(0, 0, 0, 0.90), 0 0 4px rgba(0, 0, 0, 0.68);
	--otp-panel: rgba(3, 22, 10, 0.38);
	--otp-panel-strong: rgba(3, 18, 9, 0.48);
	--otp-field: rgba(5, 26, 14, 0.62);
	--otp-glass-panel: rgba(3, 22, 10, 0.36);
	--otp-glass-card: rgba(3, 22, 10, 0.32);
	--otp-glass-soft: rgba(3, 18, 9, 0.42);
	--otp-menu-safe-top: calc(max(10px, env(safe-area-inset-top, 0px)) + 42px);
	color: var(--otp-ink);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 14px;
	line-height: 1.35;
	margin: 0 auto;
	max-width: min(1180px, 100%);
	min-height: 100svh;
	overflow-x: hidden;
	padding: clamp(14px, 3vw, 28px);
	position: relative;
	width: 100%;
	z-index: 1;
}

.otp-app,
.otp-app *,
.otp-app *::before,
.otp-app *::after {
	box-sizing: border-box;
}

.otp-app :where(div, section, article, header, footer, nav, form, fieldset, label, summary, details, ul, ol, li, table, thead, tbody, tr, th, td, p, span, strong, small, a, button, input, select, textarea) {
	min-width: 0;
}

.otp-app :where(h1, h2, h3, h4, h5, h6, p, span, strong, small, label, a, button, td, th, summary) {
	overflow-wrap: anywhere;
	word-break: normal;
}

.otp-app :where(img, svg, canvas, video, iframe) {
	max-width: 100%;
}

.otp-app :where(input, select, textarea, button) {
	max-width: 100%;
}

.otp-app a {
	color: #a7f3a0;
}

body.otp-shortcode-page header a,
body.otp-shortcode-page footer a,
.otp-app :where(
	a,
	h1,
	h2,
	h3,
	h4,
	label > span,
	th,
	summary,
	.otp-job-summary-title,
	.otp-calendar-weekdays,
	.otp-calendar-more,
	.otp-work-summary-main strong,
	.otp-work-row-edit-title,
	.otp-meta strong,
	.otp-summary-box strong,
	.otp-calendar-job-pill strong,
	.otp-game-scorebar strong,
	.otp-game-toplist li strong,
	.otp-protocol-field strong,
	.otp-line-item strong,
	.otp-user-row strong,
	.otp-time-detail-grid strong,
	.otp-employee-time-head strong,
	.otp-employee-time-summary strong,
	.otp-day-row strong,
	.otp-period-summary strong,
	.otp-day-summary-grid strong,
	.otp-extra-days span
),
.otp-app .otp-protocol-table td::before,
.otp-app .otp-work-summary-icon::before,
.otp-app .otp-calendar-job-pill[draggable="true"]::after,
.otp-app .otp-day-row::before,
.otp-app .otp-extra-check span {
	text-shadow: var(--otp-green-text-shadow);
}

.otp-page-heading {
	align-items: center;
	border-bottom: 1px solid var(--otp-green-line);
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin: 0 0 14px;
	padding: 10px 0 12px;
}

.otp-page-heading-text {
	min-width: 0;
}

.otp-page-heading h2 {
	color: var(--otp-green);
	font-size: clamp(1.22rem, 1.7vw, 1.55rem);
	font-weight: 950;
	letter-spacing: 0.025em;
	line-height: 1.15;
	margin: 0 0 3px;
	text-shadow: var(--otp-green-text-shadow), 0 2px 14px rgba(0, 0, 0, 0.55);
	text-transform: uppercase;
}

.otp-page-heading-actions {
	flex: 0 0 auto;
	margin-left: auto;
}

.otp-protocol-heading .otp-page-heading-text {
	margin-left: clamp(22px, 6vw, 96px);
}

.otp-protocol-heading h2 {
	font-size: clamp(1.42rem, 2.05vw, 1.82rem);
}

.otp-page-heading p,
.otp-muted {
	color: var(--otp-muted);
	margin: 0;
}

.otp-date-tools,
.otp-date-filter,
.otp-add-work {
	align-items: end;
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.otp-date-tools {
	margin: 0 0 14px;
}

.otp-date-tools .otp-button,
.otp-date-tools .otp-button:visited,
.otp-date-tools .otp-button:hover,
.otp-date-tools .otp-button:focus,
.otp-date-tools .otp-button:active {
	color: #020b03 !important;
}

.otp-date-filter label {
	display: grid;
	gap: 5px;
	font-weight: 700;
}

.otp-date-filter.is-loading {
	opacity: 0.75;
}

.otp-card-list,
.otp-form,
.otp-user-list,
.otp-work-list {
	display: grid;
	gap: 11px;
}

.otp-app-nav-wrap {
	display: block;
	margin: 0 0 14px;
	padding-top: var(--otp-menu-safe-top);
}

.otp-app > .otp-notice:first-child {
	margin-top: var(--otp-menu-safe-top);
}

.otp-app > .otp-notice:first-child + .otp-app-nav-wrap {
	padding-top: 0;
}

.otp-app-menu-toggle {
	align-items: center;
	background: var(--otp-green);
	border: 1px solid var(--otp-black-line);
	border-radius: 8px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.54), 0 10px 26px rgba(0, 0, 0, 0.32);
	cursor: pointer;
	display: grid;
	gap: 4px;
	height: 42px;
	justify-items: center;
	left: max(14px, env(safe-area-inset-left));
	padding: 8px;
	position: fixed;
	top: max(10px, env(safe-area-inset-top));
	width: 42px;
	z-index: 120;
}

.otp-app-menu-toggle span:not(.screen-reader-text) {
	background: #020b03;
	border-radius: 999px;
	display: block;
	height: 3px;
	width: 21px;
}

.otp-app-menu-backdrop {
	background: rgba(0, 0, 0, 0.50);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	inset: 0;
	position: fixed;
	z-index: 110;
}

.otp-app-menu,
.otp-app-menu-backdrop {
	transition: opacity 0.16s ease, transform 0.16s ease;
}

.otp-app-menu[hidden],
.otp-app-menu-backdrop[hidden] {
	display: none !important;
}

.otp-app-menu {
	background: rgba(3, 22, 10, 0.78);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid var(--otp-border-green);
	border-left: 0;
	border-radius: 0 8px 8px 0;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.62), 0 24px 60px rgba(0, 0, 0, 0.48);
	display: grid;
	gap: 12px;
	left: 0;
	margin: 0;
	max-height: calc(100dvh - max(16px, env(safe-area-inset-bottom)));
	overflow-y: auto;
	padding: max(16px, env(safe-area-inset-top)) 14px max(18px, env(safe-area-inset-bottom));
	position: fixed;
	top: 0;
	width: min(360px, calc(100vw - 28px));
	z-index: 121;
}

.otp-app-menu-head {
	align-items: center;
	border-bottom: 1px solid var(--otp-green-line);
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding: 0 0 12px;
}

.otp-app-menu-head strong {
	color: var(--otp-green);
	font-size: 1.05rem;
	font-weight: 950;
	letter-spacing: 0.045em;
	text-shadow: var(--otp-green-text-shadow);
	text-transform: uppercase;
}

.otp-app-menu-close {
	align-items: center;
	background: var(--otp-green);
	border: 1px solid var(--otp-black-line);
	border-radius: 999px;
	color: #020b03;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 1.15rem;
	font-weight: 950;
	height: 34px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	width: 34px;
}

.otp-app-menu-links {
	display: grid;
	gap: 9px;
}

.otp-app-menu-links a {
	background: rgba(4, 25, 12, 0.42);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid var(--otp-border-green);
	border-radius: 8px;
	color: #f8fafc;
	display: grid;
	gap: 0;
	padding: 11px 12px;
	text-decoration: none;
}

.otp-app-menu-links a.is-active,
.otp-app-menu-links a:focus,
.otp-app-menu-links a:hover {
	border-color: var(--otp-green);
	box-shadow: 0 0 0 3px rgba(38, 159, 34, 0.16);
}

.otp-app-menu-links strong {
	color: var(--otp-green);
	font-size: 1.06rem;
	font-weight: 950;
	letter-spacing: 0.025em;
	text-shadow: var(--otp-green-text-shadow);
	text-transform: uppercase;
}

.otp-app-menu-logout {
	border-top: 1px solid var(--otp-green-line);
	padding-top: 12px;
}

.otp-app-menu-logout .otp-logout-form,
.otp-app-menu-logout .otp-button {
	width: 100%;
}

.otp-quick-clock-bar {
	align-items: center;
	background: rgba(4, 25, 12, 0.48);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid var(--otp-border-green);
	border-radius: 8px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(0, 1fr) minmax(190px, auto);
	margin: 0 0 11px;
	padding: 12px;
}

.otp-quick-clock-main {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	min-width: 0;
}

.otp-quick-clock-main h3 {
	color: var(--otp-green);
	font-size: 1.08rem;
	font-weight: 950;
	letter-spacing: 0.025em;
	line-height: 1.1;
	margin: 0 0 3px;
	text-shadow: var(--otp-green-text-shadow);
	text-transform: uppercase;
}

.otp-quick-clock-main p,
.otp-quick-clock-status > span:not(.otp-status) {
	color: var(--otp-muted);
	font-size: 0.94rem;
	font-weight: 800;
	margin: 0;
}

.otp-quick-clock-status {
	align-items: flex-end;
	display: grid;
	gap: 5px;
	justify-items: end;
	text-align: right;
}

.otp-quick-clock-form {
	margin: 0;
}

.otp-quick-clock-form .otp-clock-button {
	min-width: 190px;
}

.otp-session-bar {
	align-items: center;
	background: rgba(4, 25, 12, 0.40);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid rgba(38, 159, 34, 0.34);
	border-radius: 8px;
	display: flex;
	gap: 9px;
	justify-content: space-between;
	padding: 9px;
}

.otp-session-bar span {
	color: var(--otp-muted);
	font-size: 0.94rem;
	font-weight: 800;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.otp-logout-form {
	margin: 0;
}

.otp-mobile-logout,
.otp-mobile-logout-source {
	display: none !important;
}

.otp-top-logout {
	display: none !important;
}

.wp-block-navigation__responsive-container .otp-mobile-menu-logout .otp-button {
	font-size: 0.72rem;
	min-height: 32px;
	padding: 6px 10px;
}

.wp-block-navigation__responsive-container .otp-mobile-menu-logout {
	border-top: 1px solid var(--otp-green-line);
	display: none;
	margin-top: 12px;
	padding-top: 12px;
	width: 100%;
}

.wp-block-navigation__responsive-container.is-menu-open .otp-mobile-menu-logout {
	display: block;
}

.otp-card-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 10px;
}

.otp-inline-form {
	margin: 0;
}

.otp-billing-workqueue .otp-card-list {
	align-items: start;
}

.otp-billing-card {
	display: grid;
	gap: 10px;
	height: auto !important;
}

.otp-billing-card .otp-card-header p {
	margin: 3px 0 0;
}

.otp-billing-card-meta {
	display: grid;
	gap: 5px;
	margin: 0;
}

.otp-billing-card-meta div {
	align-items: baseline;
	display: grid;
	gap: 8px;
	grid-template-columns: minmax(92px, auto) minmax(0, 1fr);
}

.otp-billing-card-meta dt {
	color: var(--otp-green);
	font-size: 0.72rem;
	font-weight: 900;
	text-transform: uppercase;
}

.otp-billing-card-meta dd {
	color: var(--otp-ink);
	font-size: 0.92rem;
	font-weight: 720;
	margin: 0;
	overflow-wrap: anywhere;
}

.otp-billing-primary-actions {
	margin-top: 0;
}

.otp-billing-email-missing {
	color: var(--otp-muted);
	flex-basis: 100%;
	font-size: 0.84rem;
	line-height: 1.35;
	margin: 0;
}

.otp-billed-history-loader {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: space-between;
	padding: 4px 0 2px;
}

.otp-billed-history-loader p {
	color: var(--otp-muted);
	flex: 1 1 230px;
	font-size: 0.86rem;
	line-height: 1.4;
	margin: 0;
}

.otp-billed-history-loader .otp-button,
.otp-billed-commission-loader .otp-button {
	width: auto;
}

.otp-billed-commission-loader {
	display: flex;
	justify-content: flex-start;
}

.otp-billing-pagination {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: space-between;
	margin-top: 12px;
}

.otp-billing-pagination > span {
	color: var(--otp-muted);
	font-size: 0.84rem;
	font-weight: 800;
}

.otp-billing-pagination > div {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.otp-billing-pagination .otp-button {
	width: auto;
}

.otp-billed-history-hide {
	font-size: 0.84rem;
	margin-top: 12px;
	text-align: right;
}

.otp-billed-history-hide a {
	color: var(--otp-muted);
}

.otp-billing-card .otp-billing-disclosure,
.otp-billing-card .otp-job-bonus-form {
	background: rgba(4, 25, 12, 0.34);
	box-shadow: none;
	margin: 0;
	padding: 0;
}

.otp-billing-card .otp-billing-disclosure > summary,
.otp-billing-card .otp-job-bonus-form > summary {
	align-items: center;
	color: var(--otp-green);
	cursor: pointer;
	display: grid;
	font-size: 0.86rem;
	font-weight: 900;
	gap: 7px;
	grid-template-columns: minmax(0, 1fr) auto;
	list-style: none;
	min-height: 42px;
	padding: 9px 10px;
	text-transform: uppercase;
}

.otp-billing-card .otp-billing-disclosure > summary::-webkit-details-marker,
.otp-billing-card .otp-job-bonus-form > summary::-webkit-details-marker {
	display: none;
}

.otp-billing-card .otp-billing-disclosure > summary::after,
.otp-billing-card .otp-job-bonus-form > summary::after {
	content: "+";
	font-size: 1.15rem;
	line-height: 1;
}

.otp-billing-card .otp-billing-disclosure[open] > summary::after,
.otp-billing-card .otp-job-bonus-form[open] > summary::after {
	content: "−";
}

.otp-billing-card .otp-billing-disclosure > summary small {
	color: var(--otp-muted);
	font-size: 0.76rem;
	font-weight: 650;
	grid-column: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	text-transform: none;
	white-space: nowrap;
}

.otp-billing-card .otp-billing-disclosure-body,
.otp-billing-card .otp-job-bonus-form > form {
	border-top: 1px solid var(--otp-green-line);
	padding: 10px;
}

.otp-commission-allocation-editor {
	border-top: 1px solid var(--otp-green-line);
	padding: 10px;
}

.otp-commission-allocation-heading {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	margin: 12px 0 8px;
}

.otp-commission-allocation-heading h4 {
	margin: 0;
}

.otp-commission-allocation-heading .otp-button {
	min-height: 36px;
	padding: 7px 11px;
	width: auto;
}

.otp-commission-base-field {
	margin: 0;
}

.otp-commission-money-input {
	align-items: center;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	position: relative;
}

.otp-commission-money-input > span {
	color: var(--otp-muted);
	font-weight: 700;
	padding: 0 12px;
}

.otp-commission-summary {
	display: flex;
	flex-wrap: wrap;
	font-size: 0.82rem;
	gap: 5px 14px;
	margin-top: 8px;
}

.otp-commission-summary strong {
	color: var(--otp-green);
}

.otp-commission-allocation-rows {
	display: grid;
	gap: 10px;
}

.otp-commission-allocation-row {
	background: rgba(255, 255, 255, 0.025);
	border: 1px solid var(--otp-green-line);
	border-radius: 7px;
	overflow: hidden;
}

.otp-commission-row-summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	list-style: none;
	min-height: 48px;
	padding: 8px 10px;
}

.otp-commission-row-summary::-webkit-details-marker {
	display: none;
}

.otp-commission-row-summary::after {
	color: var(--otp-green);
	content: "+";
	font-size: 1.2rem;
	font-weight: 800;
}

.otp-commission-allocation-row[open] > .otp-commission-row-summary::after {
	content: "−";
}

.otp-commission-row-summary-main {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.otp-commission-row-summary-main > strong {
	color: var(--otp-green);
}

.otp-commission-row-summary-main > span {
	color: var(--otp-muted);
	font-size: 0.78rem;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.otp-commission-row-attention {
	color: #ffd28a;
	font-size: 0.75rem;
	font-weight: 700;
	margin-left: auto;
	white-space: nowrap;
}

.otp-commission-row-body {
	border-top: 1px solid var(--otp-green-line);
	display: grid;
	gap: 9px;
	padding: 10px;
}

.otp-commission-allocation-fields {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.otp-commission-allocation-fields label {
	margin: 0;
}

.otp-commission-allocation-fields .otp-grid-full {
	grid-column: 1 / -1;
}

.otp-commission-allocation-preview {
	background: rgba(32, 201, 99, 0.06);
	border-left: 3px solid var(--otp-green);
	font-size: 0.82rem;
	line-height: 1.4;
	padding: 8px 9px;
}

.otp-commission-allocation-preview ul {
	margin: 4px 0 0;
	padding-left: 18px;
}

.otp-commission-share {
	align-items: baseline;
	display: flex;
	font-size: 0.86rem;
	gap: 6px;
}

.otp-commission-share strong {
	color: var(--otp-green);
}

.otp-commission-row-error {
	color: #ffb4ab;
	font-size: 0.82rem;
	font-weight: 700;
}

.otp-commission-remove {
	color: #ffb4ab;
	font-size: 0.78rem;
	justify-self: start;
	min-height: 36px;
	padding: 6px 2px;
	width: auto;
}

.otp-commission-dirty-note {
	color: #ffd28a;
	font-size: 0.8rem;
	font-weight: 700;
	margin-top: 8px;
}

.otp-commission-remove-confirm {
	background: rgba(255, 180, 171, 0.07);
	border: 1px solid rgba(255, 180, 171, 0.35);
	border-radius: 6px;
	padding: 9px;
}

.otp-commission-remove-confirm p {
	font-size: 0.82rem;
	line-height: 1.4;
	margin: 0;
}

.otp-commission-remove-confirm p span {
	color: var(--otp-muted);
}

.otp-commission-remove-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 8px;
}

.otp-commission-remove-actions .otp-button {
	width: auto;
}

.otp-commission-allocation-empty {
	margin-top: 8px;
}

.otp-commission-allocation-total {
	display: flex;
	flex-wrap: wrap;
	font-size: 0.84rem;
	gap: 6px 14px;
	margin-top: 10px;
}

.otp-billing-card .otp-billing-disclosure-body > p {
	margin: 0;
}

@media (max-width: 640px) {
	.otp-billed-history-loader,
	.otp-billing-pagination {
		align-items: stretch;
		flex-direction: column;
	}

	.otp-billed-history-loader .otp-button {
		width: 100%;
	}

	.otp-billing-pagination > div {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.otp-billing-pagination .otp-button {
		width: 100%;
	}

	.otp-billing-card {
		gap: 8px;
		padding: 11px;
	}

	.otp-billing-card-meta div {
		grid-template-columns: 108px minmax(0, 1fr);
	}

	.otp-billing-primary-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.otp-billing-primary-actions > *,
	.otp-billing-primary-actions .otp-button {
		width: 100%;
	}

	.otp-billing-card .otp-billing-disclosure > summary,
	.otp-billing-card .otp-job-bonus-form > summary {
		min-height: 44px;
	}

	.otp-commission-allocation-heading {
		align-items: center;
	}

	.otp-commission-allocation-heading .otp-button {
		width: auto;
	}

	.otp-commission-allocation-fields {
		grid-template-columns: 1fr;
	}

	.otp-commission-allocation-fields .otp-grid-full {
		grid-column: auto;
	}

	.otp-commission-row-summary {
		align-items: flex-start;
	}

	.otp-commission-row-attention {
		display: none;
	}
}

.otp-payroll-bonus-inline-edit {
	flex-basis: 100%;
	margin-top: 4px;
	width: 100%;
}

.otp-commission-billing-lines > summary {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.otp-commission-billing-lines > summary small {
	color: var(--otp-muted);
	font-size: 0.75rem;
	font-weight: 800;
}

.otp-commission-detail-list {
	margin-top: 6px;
}

.otp-commission-detail-row {
	border-top: 1px solid var(--otp-green-line);
	display: grid;
	gap: 8px;
	padding: 11px 0;
}

.otp-commission-detail-heading {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.otp-commission-detail-heading strong {
	color: var(--otp-ink);
	font-size: 0.94rem;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.otp-commission-detail-heading span {
	color: var(--otp-muted);
	font-size: 0.82rem;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.otp-commission-detail-values {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
}

.otp-commission-detail-values > div {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.otp-commission-detail-values dt {
	color: var(--otp-green);
	font-size: 0.68rem;
	font-weight: 900;
	line-height: 1.2;
	text-transform: uppercase;
}

.otp-commission-detail-values dd {
	color: var(--otp-ink);
	font-size: 0.86rem;
	font-weight: 800;
	line-height: 1.3;
	margin: 0;
	overflow-wrap: anywhere;
}

@media (max-width: 640px) {
	.otp-commission-detail-values {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.otp-payroll-bonus-edit {
	margin-top: 10px;
	width: 100%;
}

.otp-payroll-bonus-edit-compact {
	border-top: 1px solid var(--otp-green-line);
	padding-top: 10px;
}

.otp-payroll-bonus-create {
	margin-bottom: 12px;
}

.otp-login-app {
	align-content: center;
	display: grid;
	max-width: 520px;
}

.otp-login-panel {
	display: grid;
	gap: 12px;
}

.otp-card,
.otp-section {
	background: var(--otp-panel);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid var(--otp-border-green);
	border-radius: 8px;
	box-shadow: 0 14px 38px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
	color: var(--otp-ink);
	padding: 13px;
}

.otp-card-header,
.otp-section-heading,
.otp-actions,
.otp-work-row-header {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: space-between;
}

.otp-card-header > *,
.otp-section-heading > *,
.otp-actions > *,
.otp-work-row-header > *,
.otp-page-heading > * {
	min-width: 0;
}

.otp-section-heading {
	margin: 0 0 8px;
}

.otp-card h3,
.otp-section h3 {
	color: var(--otp-green);
	font-size: 1.06rem;
	font-weight: 950;
	letter-spacing: 0.025em;
	line-height: 1.2;
	margin: 0 0 8px;
	text-shadow: var(--otp-green-text-shadow);
	text-transform: uppercase;
}

.otp-section-heading h3 {
	margin-bottom: 0;
}

.otp-card h4,
.otp-section h4,
.otp-work-row h4,
.otp-signing-summary h4 {
	color: var(--otp-green);
	font-size: 0.98rem;
	font-weight: 900;
	letter-spacing: 0.025em;
	line-height: 1.2;
	margin: 0 0 8px;
	text-shadow: var(--otp-green-text-shadow);
	text-transform: uppercase;
}

.otp-card p {
	margin: 8px 0;
}

.otp-table-wrap {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.otp-table {
	border-collapse: collapse;
	color: var(--otp-ink);
	font-size: 0.84rem;
	table-layout: fixed;
	width: 100%;
}

.otp-table th,
.otp-table td {
	background: rgba(4, 18, 10, 0.42);
	border: 1px solid rgba(38, 159, 34, 0.38);
	line-height: 1.25;
	overflow-wrap: anywhere;
	padding: 7px 8px;
	text-align: left;
	vertical-align: top;
	white-space: normal;
}

.otp-table th {
	color: var(--otp-green);
	font-size: 0.72rem;
	font-weight: 950;
	text-shadow: var(--otp-green-text-shadow);
	text-transform: uppercase;
}

.otp-job-accordion {
	overflow: hidden;
	padding: 0;
}

.otp-job-summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	list-style: none;
	min-height: 62px;
	padding: 13px;
	touch-action: manipulation;
	user-select: none;
}

.otp-job-summary::-webkit-details-marker {
	display: none;
}

.otp-job-summary-main {
	display: grid;
	flex: 1 1 auto;
	gap: 4px;
	min-width: 0;
}

.otp-job-summary-title {
	color: var(--otp-green);
	font-size: 1rem;
	font-weight: 950;
	letter-spacing: 0.025em;
	line-height: 1.15;
	overflow-wrap: anywhere;
	text-shadow: var(--otp-green-text-shadow);
	text-transform: uppercase;
}

.otp-job-summary-customer {
	color: var(--otp-muted);
	font-size: 0.94rem;
	font-weight: 750;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.otp-job-summary-icon {
	align-items: center;
	background: var(--otp-green);
	border: 1px solid var(--otp-black-line);
	border-radius: 999px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.34);
	color: #020b03;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 1.1rem;
	font-weight: 950;
	height: 32px;
	justify-content: center;
	line-height: 1;
	width: 32px;
}

.otp-job-summary-icon::before {
	content: "⌄";
	transform: translateY(-1px);
}

.otp-job-accordion[open] .otp-job-summary {
	border-bottom: 1px solid rgba(47, 189, 40, 0.34);
}

.otp-job-accordion[open] .otp-job-summary-icon::before {
	content: "⌃";
	transform: translateY(1px);
}

.otp-job-summary-icon {
	display: none;
}

.otp-job-summary-icon::before {
	content: none;
}

.otp-job-summary:hover,
.otp-job-summary:focus {
	background: rgba(57, 209, 47, 0.08);
	outline: none;
}

.otp-job-summary:active {
	background: rgba(57, 209, 47, 0.14);
}

.otp-job-details {
	display: grid;
	gap: 11px;
	padding: 13px;
}

.otp-job-detail-header {
	margin-bottom: 0;
}

.otp-job-detail-grid {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.otp-job-detail-grid div,
.otp-job-description {
	background: rgba(3, 22, 10, 0.38);
	border: 1px solid rgba(47, 189, 40, 0.34);
	border-radius: 8px;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.24);
	display: grid;
	gap: 4px;
	padding: 9px;
}

.otp-job-detail-grid span,
.otp-job-description span {
	color: var(--otp-green);
	font-size: 0.73rem;
	font-weight: 950;
	letter-spacing: 0.025em;
	text-shadow: var(--otp-green-text-shadow);
	text-transform: uppercase;
}

.otp-job-detail-grid strong,
.otp-job-description p {
	color: var(--otp-ink);
	font-size: 0.95rem;
	font-weight: 750;
	line-height: 1.35;
	margin: 0;
	overflow-wrap: anywhere;
}

.otp-job-inline-form {
	margin: 0;
}

.otp-job-inline-grid {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.otp-job-inline-grid.otp-customer-site-picker {
	display: grid;
}

.otp-job-inline-card {
	background: rgba(3, 22, 10, 0.42);
	border: 1px solid rgba(47, 189, 40, 0.36);
	border-radius: 8px;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.24);
	cursor: text;
	display: grid;
	gap: 6px;
	margin: 0;
	min-width: 0;
	padding: 9px;
	position: relative;
}

.otp-job-inline-card:focus-within,
.otp-job-inline-card.is-editing {
	border-color: rgba(57, 209, 47, 0.82);
	box-shadow: 0 0 0 2px rgba(57, 209, 47, 0.16), inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.otp-job-inline-card-wide,
.otp-job-inline-card-full,
.otp-job-inline-grid .otp-customer-saved-details {
	grid-column: 1 / -1;
}

.otp-job-inline-card-head {
	align-items: center;
	display: flex;
	gap: 8px;
	justify-content: space-between;
	min-width: 0;
}

.otp-job-inline-label {
	color: var(--otp-green);
	font-size: 0.73rem;
	font-weight: 950;
	letter-spacing: 0.025em;
	text-shadow: var(--otp-green-text-shadow);
	text-transform: uppercase;
}

.otp-job-inline-hint {
	color: rgba(244, 252, 245, 0.64);
	font-size: 0.72rem;
	font-weight: 800;
	white-space: nowrap;
}

.otp-job-inline-readonly {
	cursor: default;
}

.otp-job-inline-readonly strong,
.otp-job-inline-card small {
	color: var(--otp-ink);
	font-size: 0.9rem;
	font-weight: 750;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.otp-job-inline-card small {
	color: rgba(244, 252, 245, 0.72);
	font-size: 0.76rem;
	font-weight: 650;
}

.otp-job-inline-card input,
.otp-job-inline-card select,
.otp-job-inline-card textarea {
	background: rgba(0, 0, 0, 0.24);
	border-color: rgba(244, 252, 245, 0.18);
	margin: 0;
	min-height: 42px;
	width: 100%;
}

.otp-job-inline-card textarea {
	line-height: 1.35;
	max-height: 170px;
	min-height: 72px;
	resize: vertical;
}

.otp-job-inline-description-edit textarea {
	max-height: 220px;
	min-height: 110px;
}

.otp-job-inline-map-link {
	justify-self: start;
	margin-top: 2px;
	min-height: 0;
	padding: 7px 10px;
	width: auto;
}

.otp-address-map-label {
	display: grid;
	gap: 6px;
}

.otp-address-map-field {
	display: grid;
	gap: 8px;
	min-width: 0;
}

.otp-address-map-field textarea,
.otp-address-map-field input {
	min-width: 0;
	width: 100%;
}

.otp-address-map-inline-actions,
.otp-address-map-field > .otp-address-map-open {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.otp-address-map-open {
	min-height: 38px;
	padding: 8px 11px;
	width: auto;
}

.otp-address-map-modal[hidden] {
	display: none;
}

.otp-address-map-modal {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: max(14px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
	position: fixed;
	z-index: 100000;
}

.otp-address-map-backdrop {
	background: rgba(0, 0, 0, 0.74);
	inset: 0;
	position: absolute;
}

.otp-address-map-panel {
	background: rgba(4, 19, 10, 0.98);
	border: 1px solid rgba(57, 209, 47, 0.5);
	border-radius: 12px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.58);
	color: var(--otp-ink);
	display: grid;
	gap: 10px;
	max-height: calc(100vh - 28px);
	max-width: 880px;
	min-width: 0;
	overflow: auto;
	padding: 12px;
	position: relative;
	width: min(880px, 100%);
}

.otp-address-map-head {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
}

.otp-address-map-head h3 {
	color: var(--otp-green);
	font-size: 1rem;
	margin: 0;
	text-transform: uppercase;
}

.otp-address-map-close {
	align-items: center;
	background: rgba(244, 252, 245, 0.12);
	border: 1px solid rgba(244, 252, 245, 0.18);
	border-radius: 999px;
	color: var(--otp-ink);
	cursor: pointer;
	display: inline-flex;
	font-size: 1.3rem;
	font-weight: 900;
	height: 38px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	width: 38px;
}

.otp-address-map-search {
	display: grid;
	gap: 8px;
	grid-template-columns: minmax(0, 1fr) auto auto;
}

.otp-address-map-search input {
	min-width: 0;
	width: 100%;
}

.otp-address-map-status {
	color: rgba(244, 252, 245, 0.78);
	font-size: 0.86rem;
	min-height: 1.1em;
}

.otp-address-map-status.is-error {
	color: #ffd166;
}

.otp-address-map-canvas {
	background: rgba(0, 0, 0, 0.22);
	border: 1px solid rgba(244, 252, 245, 0.14);
	border-radius: 10px;
	height: min(52vh, 420px);
	min-height: 260px;
	overflow: hidden;
	width: 100%;
}

.otp-address-map-results {
	display: grid;
	gap: 6px;
	max-height: 160px;
	overflow: auto;
}

.otp-address-map-result,
.otp-address-map-empty,
.otp-address-map-selected {
	background: rgba(244, 252, 245, 0.08);
	border: 1px solid rgba(244, 252, 245, 0.14);
	border-radius: 8px;
	color: var(--otp-ink);
	font-size: 0.88rem;
	line-height: 1.35;
	padding: 8px 10px;
	text-align: left;
}

.otp-address-map-result {
	cursor: pointer;
	display: grid;
	gap: 3px;
	width: 100%;
}

.otp-address-map-result strong,
.otp-address-map-result small {
	display: block;
}

.otp-address-map-result small {
	color: rgba(244, 252, 245, 0.68);
	font-size: 0.76rem;
}

.otp-address-map-selected {
	display: grid;
	gap: 6px;
}

.otp-address-map-selected > span {
	color: var(--otp-green);
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
}

.otp-address-map-selected input {
	min-width: 0;
	width: 100%;
}

.otp-address-map-result:hover,
.otp-address-map-result:focus {
	border-color: rgba(57, 209, 47, 0.72);
	outline: none;
}

.otp-address-map-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

body.otp-address-map-open {
	overflow: hidden;
}

@media (max-width: 640px) {
	.otp-address-map-modal {
		align-items: stretch;
		padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
	}

	.otp-address-map-panel {
		max-height: calc(100vh - 16px);
		padding: 10px;
	}

	.otp-address-map-search {
		grid-template-columns: 1fr;
	}

	.otp-address-map-search .otp-button,
	.otp-address-map-actions .otp-button {
		width: 100%;
	}

	.otp-address-map-canvas {
		height: 42vh;
		min-height: 220px;
	}
}

.otp-job-inline-savebar {
	align-items: center;
	backdrop-filter: blur(12px);
	background: rgba(3, 14, 8, 0.94);
	border: 1px solid rgba(57, 209, 47, 0.48);
	border-radius: 10px;
	bottom: 10px;
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.42);
	display: flex;
	gap: 10px;
	justify-content: space-between;
	margin-top: 12px;
	padding: 10px;
	position: sticky;
	z-index: 30;
}

.otp-job-inline-savebar[hidden] {
	display: none;
}

.otp-job-inline-savebar span {
	color: var(--otp-ink);
	font-size: 0.86rem;
	font-weight: 800;
}

.otp-job-inline-savebar-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.otp-job-address-detail .otp-map-link {
	font-size: 0.78rem;
	justify-self: start;
	margin-top: 3px;
	min-height: 40px;
	padding: 7px 10px;
}

.otp-game-section {
	display: grid;
	gap: 12px;
	margin-inline: auto;
	max-width: 720px;
	width: 100%;
}

.otp-game-scorebar {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.otp-game-scorebar span,
.otp-game-status {
	background: rgba(3, 22, 10, 0.42);
	border: 1px solid var(--otp-green-line);
	border-radius: 8px;
	box-shadow: 0 0 0 1px var(--otp-black-line);
	color: var(--otp-muted);
	font-size: 0.9rem;
	font-weight: 750;
	padding: 8px 10px;
	text-align: center;
}

.otp-game-scorebar strong {
	color: var(--otp-green);
	display: block;
	font-size: 1.2rem;
	text-shadow: var(--otp-green-text-shadow);
}

.otp-game-scorebar small {
	color: var(--otp-muted);
	display: block;
	font-size: 0.72rem;
	font-weight: 750;
	line-height: 1.2;
	margin-top: 2px;
	overflow-wrap: anywhere;
}

.otp-game-toplist {
	background: rgba(3, 22, 10, 0.42);
	border: 1px solid var(--otp-green-line);
	border-radius: 8px;
	box-shadow: 0 0 0 1px var(--otp-black-line);
	display: grid;
	gap: 7px;
	padding: 9px 10px;
}

.otp-game-toplist h3 {
	color: var(--otp-green);
	font-size: 0.92rem;
	font-weight: 950;
	letter-spacing: 0.02em;
	line-height: 1.1;
	margin: 0;
	text-shadow: var(--otp-green-text-shadow);
	text-transform: uppercase;
}

.otp-game-toplist ol {
	display: grid;
	gap: 5px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.otp-game-toplist li {
	align-items: center;
	background: rgba(4, 25, 12, 0.48);
	border: 1px solid rgba(38, 159, 34, 0.34);
	border-radius: 6px;
	color: var(--otp-ink);
	display: flex;
	font-size: 0.88rem;
	font-weight: 850;
	justify-content: space-between;
	line-height: 1.15;
	min-height: 32px;
	padding: 6px 8px;
}

.otp-game-toplist li strong {
	color: var(--otp-green);
	font-size: 1rem;
	font-weight: 950;
	text-shadow: var(--otp-green-text-shadow);
}

.otp-game-top-empty {
	justify-content: center !important;
	text-align: center;
}

.otp-game-desktop-lock {
	display: grid;
	gap: 12px;
	margin-inline: auto;
	max-width: 720px;
	text-align: center;
}

.otp-game-desktop-lock h3 {
	color: var(--otp-green);
	font-size: 1.15rem;
	font-weight: 950;
	margin: 0;
	text-shadow: var(--otp-green-text-shadow);
	text-transform: uppercase;
}

.otp-game-desktop-lock p {
	color: var(--otp-ink);
	font-size: 0.98rem;
	font-weight: 800;
	line-height: 1.35;
	margin: 0;
}

.otp-game-stage {
	align-items: stretch;
	background: rgba(0, 0, 0, 0.36);
	border: 1px solid var(--otp-green);
	border-radius: 10px;
	box-shadow: 0 0 0 1px var(--otp-black-line), 0 16px 34px rgba(0, 0, 0, 0.4);
	display: flex;
	justify-content: center;
	min-height: min(72dvh, 680px);
	overflow: hidden;
	padding: 8px;
	position: relative;
	touch-action: none;
}

.otp-game-canvas {
	aspect-ratio: 9 / 13;
	background: #09120d;
	border-radius: 8px;
	cursor: pointer;
	display: block;
	height: 100%;
	max-height: none;
	min-height: 420px;
	object-fit: fill;
	touch-action: none;
	user-select: none;
	width: 100%;
}

.otp-game-canvas:active {
	cursor: pointer;
}

.otp-game-mobile-blocked .otp-game-canvas {
	cursor: default;
}

.otp-game-actions {
	display: grid;
	gap: 8px;
}

.otp-game-actions {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.otp-game-actions .otp-button {
	min-height: 54px;
	touch-action: manipulation;
	user-select: none;
}

.otp-game-stage .otp-game-touch-zone {
	-webkit-tap-highlight-color: transparent;
	appearance: none;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	bottom: 0;
	box-shadow: none !important;
	caret-color: transparent;
	color: transparent !important;
	cursor: pointer;
	filter: none !important;
	font-size: 0;
	left: auto;
	line-height: 0;
	margin: 0;
	min-height: 0;
	opacity: 0 !important;
	outline: 0 !important;
	padding: 0;
	position: absolute;
	text-decoration: none !important;
	text-shadow: none !important;
	top: 0;
	touch-action: none;
	transform: none !important;
	user-select: none;
	z-index: 4;
}

.otp-game-stage .otp-game-touch-zone:hover,
.otp-game-stage .otp-game-touch-zone:focus,
.otp-game-stage .otp-game-touch-zone:focus-visible,
.otp-game-stage .otp-game-touch-zone:active {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: transparent !important;
	filter: none !important;
	opacity: 0 !important;
	outline: 0 !important;
	transform: none !important;
}

.otp-game-stage .otp-game-touch-zone-left,
.otp-game-stage .otp-game-touch-zone-right {
	width: 26%;
}

.otp-game-stage .otp-game-touch-zone-left {
	left: 0;
}

.otp-game-stage .otp-game-touch-zone-jump {
	left: 26%;
	width: 48%;
}

.otp-game-stage .otp-game-touch-zone-right {
	right: 0;
}

@media (display-mode: fullscreen), (display-mode: standalone) {
	body.otp-shortcode-page,
	body.otp-shortcode-page #page,
	body.otp-shortcode-page .site,
	body.otp-shortcode-page .wp-site-blocks {
		min-height: 100dvh;
	}

	body.otp-shortcode-page .otp-app {
		min-height: 100dvh;
	}
}

.otp-calendar-toolbar {
	display: grid;
	gap: 10px;
}

.otp-calendar-filter {
	align-items: end;
	display: grid;
	gap: 9px;
	grid-template-columns: minmax(180px, 1fr) auto;
	margin: 0;
}

.otp-calendar-section {
	overflow: hidden;
}

.otp-calendar-weekdays,
.otp-calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
}

.otp-calendar-weekdays {
	border-bottom: 1px solid var(--otp-green-line);
	color: var(--otp-green);
	font-size: 0.78rem;
	font-weight: 950;
	letter-spacing: 0.035em;
	padding: 0 0 7px;
	text-align: center;
	text-shadow: var(--otp-green-text-shadow);
	text-transform: uppercase;
}

.otp-calendar-grid {
	gap: 6px;
	padding-top: 8px;
}

.otp-calendar-day {
	background: rgba(3, 22, 10, 0.34);
	border: 1px solid rgba(38, 159, 34, 0.34);
	border-radius: 8px;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.26);
	display: grid;
	gap: 6px;
	min-height: 136px;
	min-width: 0;
	padding: 7px;
}

.otp-calendar-day.is-outside-month {
	opacity: 0.58;
}

.otp-calendar-day.is-past .otp-calendar-job-pill {
	opacity: 0.76;
}

.otp-calendar-day.is-today {
	border-color: var(--otp-green);
	box-shadow: 0 0 0 1px var(--otp-black-line), 0 0 0 3px rgba(38, 159, 34, 0.26), inset 0 0 0 1px rgba(0, 0, 0, 0.42);
}

.otp-calendar-day.is-selected {
	background: rgba(38, 159, 34, 0.12);
}

.otp-calendar-day.is-drop-enabled {
	transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.otp-calendar-day.is-drop-target {
	background: rgba(38, 159, 34, 0.2);
	border-color: var(--otp-green);
	box-shadow: 0 0 0 1px var(--otp-black-line), 0 0 0 3px rgba(38, 159, 34, 0.3), inset 0 0 0 1px rgba(0, 0, 0, 0.48);
}

.otp-calendar-date {
	align-items: center;
	background: rgba(0, 0, 0, 0.24);
	border: 1px solid rgba(38, 159, 34, 0.28);
	border-radius: 999px;
	color: var(--otp-ink);
	display: inline-flex;
	font-size: 0.9rem;
	font-weight: 950;
	height: 30px;
	justify-content: center;
	text-decoration: none;
	width: 30px;
}

.otp-calendar-day.is-today .otp-calendar-date {
	background: var(--otp-green);
	border-color: var(--otp-black-line);
	color: #020b03;
}

.otp-calendar-job-preview {
	display: grid;
	gap: 5px;
	min-width: 0;
}

.otp-calendar-job-pill,
.otp-calendar-more {
	background: rgba(4, 25, 12, 0.58);
	border: 1px solid rgba(38, 159, 34, 0.38);
	border-radius: 6px;
	color: var(--otp-ink);
	display: grid;
	gap: 2px;
	min-width: 0;
	padding: 6px;
	text-decoration: none;
}

.otp-calendar-job-pill:hover,
.otp-calendar-job-pill:focus,
.otp-calendar-more:hover,
.otp-calendar-more:focus {
	border-color: var(--otp-green);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.58);
	color: var(--otp-ink);
	outline: none;
}

.otp-calendar-job-pill strong,
.otp-calendar-job-pill span {
	display: block;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.otp-calendar-job-pill strong {
	color: var(--otp-green);
	font-size: 0.74rem;
	font-weight: 950;
	line-height: 1.15;
	text-shadow: var(--otp-green-text-shadow);
	text-transform: uppercase;
}

.otp-calendar-job-pill span {
	color: var(--otp-muted);
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1.15;
}

.otp-calendar-job-pill em {
	color: #dfffe2;
	font-size: 0.68rem;
	font-style: normal;
	font-weight: 900;
	line-height: 1.1;
}

.otp-calendar-job-status-open {
	border-color: rgba(38, 159, 34, 0.64);
}

.otp-calendar-job-status-billed,
.otp-calendar-job-status-queued {
	opacity: 0.82;
}

.otp-calendar-job-pill[draggable="true"] {
	cursor: grab;
	position: relative;
}

.otp-calendar-job-pill[draggable="true"]::after {
	color: var(--otp-green);
	content: "↕";
	font-size: 0.8rem;
	font-weight: 950;
	position: absolute;
	right: 6px;
	text-shadow: var(--otp-green-text-shadow);
	top: 4px;
}

.otp-calendar-job-pill.is-dragging {
	cursor: grabbing;
	opacity: 0.48;
}

.otp-app.is-calendar-saving {
	cursor: progress;
}

.otp-calendar-more {
	color: var(--otp-green);
	font-size: 0.76rem;
	font-weight: 950;
	text-shadow: var(--otp-green-text-shadow);
	text-transform: uppercase;
}

.otp-calendar-day-panel,
.otp-calendar-undated {
	scroll-margin-top: 18px;
}

.otp-calendar-day-actions {
	display: flex;
	justify-content: flex-end;
	margin: 0 0 14px;
}

.otp-calendar-move-form {
	border-top: 1px solid rgba(38, 159, 34, 0.25);
	display: grid;
	gap: 9px;
	grid-template-columns: minmax(160px, 1fr) auto;
	margin-top: 12px;
	padding-top: 12px;
}

.otp-job-workers-editor {
	margin-bottom: 13px;
}

.otp-worker-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 8px 0 2px;
}

.otp-worker-chip {
	align-items: center;
	background: rgba(4, 25, 12, 0.46);
	border: 1px solid var(--otp-border-green);
	border-radius: 999px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45);
	color: var(--otp-ink);
	display: inline-flex;
	font-size: 0.92rem;
	font-weight: 850;
	gap: 8px;
	line-height: 1.15;
	min-height: 34px;
	padding: 6px 8px 6px 11px;
}

.otp-worker-chip .otp-inline-form {
	margin: 0;
}

.otp-worker-chip button {
	align-items: center;
	background: var(--otp-green);
	border: 1px solid var(--otp-black-line);
	border-radius: 999px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.32);
	color: #020b03;
	cursor: pointer;
	display: inline-flex;
	font-size: 1rem;
	font-weight: 950;
	height: 24px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	width: 24px;
}

.otp-worker-add-form {
	align-items: end;
	display: grid;
	gap: 8px;
	grid-template-columns: minmax(0, 1fr) auto;
	margin-top: 10px;
}

.otp-meta,
.otp-summary-box {
	background: rgba(4, 18, 10, 0.46);
	border: 1px solid var(--otp-border-green);
	border-radius: 8px;
	display: grid;
	gap: 8px;
	margin: 0 0 13px;
	padding: 10px;
}

.otp-meta {
	align-items: stretch;
	grid-template-columns: repeat(auto-fit, minmax(min(145px, 100%), 1fr));
}

.otp-summary-box {
	grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
}

.otp-meta div,
.otp-summary-box div {
	align-content: end;
	background: var(--otp-field);
	border: 1px solid var(--otp-border-green);
	border-radius: 6px;
	display: grid;
	gap: 2px;
	min-height: 44px;
	padding: 7px 8px;
}

.otp-meta strong,
.otp-summary-box strong {
	color: #a7f3a0;
	font-size: 0.7rem;
	letter-spacing: 0;
	line-height: 1.1;
	text-shadow: var(--otp-green-text-shadow);
	text-transform: uppercase;
}

.otp-meta span,
.otp-summary-box span {
	color: #fff;
	font-size: 0.96rem;
	line-height: 1.25;
}

.otp-form label,
.otp-section label {
	color: #f8fafc;
	display: grid;
	gap: 5px;
	font-size: 0.9rem;
	font-weight: 700;
}

.otp-form label > span,
.otp-section label > span,
.otp-date-filter label > span {
	color: var(--otp-green);
	line-height: 1.18;
	text-shadow: var(--otp-green-text-shadow);
}

.otp-app input[type="text"],
.otp-app input[type="search"],
.otp-app input[type="email"],
.otp-app input[type="password"],
.otp-app input[type="date"],
.otp-app input[type="time"],
.otp-app input[type="number"],
.otp-app input[type="file"],
.otp-app select,
.otp-app textarea {
	background: var(--otp-field);
	border: 1px solid var(--otp-border-green);
	border-radius: 6px;
	color: #f8fafc;
	color-scheme: dark;
	font: inherit;
	font-size: 0.94rem;
	min-height: 39px;
	padding: 8px 9px;
	width: 100%;
}

.otp-app select option {
	background: #06160d;
	color: #f8fafc;
}

.otp-app input::placeholder,
.otp-app textarea::placeholder {
	color: #a7b8aa;
}

.otp-app textarea {
	min-height: 68px;
	resize: vertical;
}

.otp-app input:focus,
.otp-app select:focus,
.otp-app textarea:focus {
	background: rgba(8, 38, 20, 0.82);
	border-color: var(--otp-green);
	box-shadow: 0 0 0 3px rgba(38, 159, 34, 0.24);
	color: #fff;
	outline: none;
}

.otp-grid {
	display: grid;
	gap: 9px;
	grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
}

.otp-grid-compact {
	grid-template-columns: repeat(auto-fit, minmax(min(145px, 100%), 1fr));
}

.otp-grid-full {
	grid-column: 1 / -1;
}

.otp-customer-site-picker {
	display: contents;
}

.otp-customer-saved-details {
	background: rgba(0, 0, 0, 0.24);
	border: 1px solid rgba(38, 159, 34, 0.36);
	border-radius: 8px;
	color: #fff;
	margin: 0;
	padding: 0;
}

.otp-customer-saved-details > summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	font-weight: 900;
	justify-content: space-between;
	padding: 10px 12px;
	text-transform: uppercase;
}

.otp-customer-saved-content {
	display: grid;
	gap: 10px;
	padding: 0 12px 12px;
}

.otp-customer-saved-section {
	background: rgba(0, 0, 0, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 8px;
	display: grid;
	gap: 8px;
	padding: 10px;
}

.otp-customer-saved-section h4 {
	color: var(--otp-green);
	font-size: 0.95rem;
	margin: 0;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.65);
	text-transform: uppercase;
}

.otp-customer-saved-row {
	align-items: center;
	display: grid;
	gap: 8px;
	grid-template-columns: minmax(0, 1fr) auto;
}

.otp-customer-saved-button {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
	font: inherit;
	padding: 9px;
	text-align: left;
	width: 100%;
}

.otp-customer-saved-button:focus,
.otp-customer-saved-button:hover {
	background: rgba(38, 159, 34, 0.14);
	border-color: rgba(38, 159, 34, 0.5);
}

.otp-customer-saved-button em {
	color: var(--otp-green);
	font-style: normal;
	font-weight: 900;
	text-transform: uppercase;
}

.otp-customer-saved-row strong,
.otp-customer-saved-row span,
.otp-customer-saved-line,
.otp-customer-saved-chips span {
	overflow-wrap: anywhere;
}

.otp-customer-saved-row div {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.otp-customer-saved-row span,
.otp-customer-saved-line {
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.9rem;
}

.otp-customer-saved-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.otp-customer-saved-chips span {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	color: #fff;
	font-size: 0.85rem;
	padding: 5px 8px;
}

.otp-customer-saved-site {
	display: grid;
	gap: 7px;
	min-width: 0;
}

.otp-customer-saved-email-list {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	padding-left: 8px;
}

.otp-customer-saved-email {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	font-weight: 800;
	max-width: 100%;
	overflow-wrap: anywhere;
	padding: 6px 9px;
}

.otp-customer-saved-email:focus,
.otp-customer-saved-email:hover {
	background: rgba(38, 159, 34, 0.18);
	border-color: rgba(38, 159, 34, 0.55);
}

.otp-button-small {
	min-height: 34px;
	padding: 8px 10px;
	white-space: nowrap;
}

.otp-customer-registry-tools {
	background: rgba(0, 0, 0, 0.28);
}

.otp-customer-search-form {
	align-items: end;
	grid-template-columns: minmax(0, 1fr) auto;
}

.otp-customer-registry-list {
	display: grid;
	gap: 12px;
}

.otp-customer-registry-card {
	background: rgba(0, 0, 0, 0.38);
	border-color: rgba(38, 159, 34, 0.38);
	padding: 0;
}

.otp-customer-registry-card > summary,
.otp-customer-registry-summary {
	align-items: center;
	cursor: pointer;
	display: grid;
	gap: 5px;
	grid-template-columns: minmax(0, 1fr) auto;
	list-style: none;
	padding: 13px 14px;
}

.otp-customer-registry-summary {
	color: inherit;
	text-decoration: none;
}

.otp-customer-registry-summary:hover,
.otp-customer-registry-summary:focus {
	background: rgba(38, 159, 34, 0.11);
	text-decoration: none;
}

.otp-customer-registry-list-card.is-selected {
	border-color: rgba(78, 220, 72, 0.78);
	box-shadow: 0 0 0 1px rgba(78, 220, 72, 0.22), 0 14px 34px rgba(0, 0, 0, 0.3);
}

.otp-customer-registry-detail {
	display: grid;
	gap: 10px;
	margin-bottom: 12px;
}

.otp-customer-registry-detail-actions {
	justify-content: flex-start;
}

.otp-customer-registry-detail-card .otp-customer-registry-summary {
	cursor: default;
}

.otp-customer-registry-detail-card .otp-customer-registry-summary:hover,
.otp-customer-registry-detail-card .otp-customer-registry-summary:focus {
	background: transparent;
}

.otp-customer-registry-card > summary::-webkit-details-marker {
	display: none;
}

.otp-customer-registry-card > summary strong,
.otp-customer-registry-summary strong {
	color: var(--otp-green);
	font-size: 1.02rem;
	overflow-wrap: anywhere;
	text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
	text-transform: uppercase;
}

.otp-customer-registry-card > summary span,
.otp-customer-registry-summary span {
	color: rgba(255, 255, 255, 0.76);
	font-size: 0.85rem;
	text-align: right;
}

.otp-customer-registry-body {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	display: grid;
	gap: 12px;
	padding: 12px;
}

.otp-customer-registry-columns {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.otp-customer-registry-panel {
	background: rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 8px;
	display: grid;
	gap: 10px;
	padding: 10px;
}

.otp-customer-registry-panel h3 {
	color: var(--otp-green);
	font-size: 0.95rem;
	margin: 0;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.65);
	text-transform: uppercase;
}

.otp-customer-registry-subheading {
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.88rem;
	font-weight: 900;
	text-transform: uppercase;
}

.otp-customer-registry-items {
	display: grid;
	gap: 10px;
}

.otp-customer-registry-site-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	color: #fff;
	display: grid;
	gap: 4px;
	padding: 10px;
	text-decoration: none;
}

.otp-customer-registry-site-card strong {
	color: var(--otp-green);
	overflow-wrap: anywhere;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.65);
	text-transform: uppercase;
}

.otp-customer-registry-site-card span {
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.9rem;
	overflow-wrap: anywhere;
}

.otp-customer-registry-site-card:focus,
.otp-customer-registry-site-card:hover,
.otp-customer-registry-site-card.is-selected {
	background: rgba(38, 159, 34, 0.14);
	border-color: rgba(38, 159, 34, 0.55);
	text-decoration: none;
}

.otp-customer-registry-editor-row {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	display: grid;
	gap: 8px;
	padding: 10px;
}

.otp-customer-registry-form {
	background: transparent;
	border: 0;
	box-shadow: none;
	margin: 0;
	padding: 0;
}

.otp-customer-registry-form .otp-actions {
	margin-top: 8px;
}

.otp-customer-registry-card > .otp-inline-form,
.otp-customer-registry-editor-row > .otp-inline-form {
	justify-content: flex-start;
}

@media (max-width: 640px) {
	.otp-customer-saved-row {
		grid-template-columns: 1fr;
	}

	.otp-customer-saved-row .otp-button {
		justify-self: start;
	}

	.otp-customer-search-form,
	.otp-customer-registry-card > summary,
	.otp-customer-registry-summary,
	.otp-customer-registry-columns {
		grid-template-columns: 1fr;
	}

	.otp-customer-registry-card > summary span,
	.otp-customer-registry-summary span {
		text-align: left;
	}
}

.otp-job-management-form {
	margin-top: 12px;
}

.otp-work-builder {
	background: rgba(4, 18, 10, 0.54);
}

.otp-add-work {
	background: rgba(38, 159, 34, 0.12);
	border: 1px solid rgba(38, 159, 34, 0.44);
	border-radius: 8px;
	margin: 0 0 11px;
	padding: 10px;
}

.otp-add-work label {
	flex: 1 1 220px;
}

.otp-work-row,
.otp-repeat-row {
	display: grid;
	gap: 10px;
}

.otp-work-row {
	background: rgba(0, 0, 0, 0.18);
	border: 1px solid rgba(38, 159, 34, 0.5);
	border-radius: 8px;
	overflow: hidden;
	padding: 0;
}

.otp-work-row-header {
	align-items: center;
	border-bottom: 1px solid rgba(38, 159, 34, 0.32);
	padding-bottom: 8px;
}

.otp-work-row-summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	list-style: none;
	min-height: 58px;
	padding: 10px 11px;
}

.otp-work-row-summary::-webkit-details-marker {
	display: none;
}

.otp-work-summary-main {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.otp-work-summary-main strong,
.otp-work-row-edit-title {
	color: var(--otp-green);
	font-size: 0.98rem;
	font-weight: 950;
	letter-spacing: 0.02em;
	line-height: 1.15;
	text-shadow: var(--otp-green-text-shadow);
	text-transform: uppercase;
}

.otp-work-summary-meta,
.otp-work-summary-extra {
	color: var(--otp-muted);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.otp-work-summary-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 5px 9px;
}

.otp-work-summary-meta span:not(:last-child)::after {
	content: "/";
	margin-left: 9px;
	opacity: 0.75;
}

.otp-work-summary-side {
	align-items: center;
	display: flex;
	flex: 0 1 auto;
	gap: 8px;
	justify-content: flex-end;
	min-width: 34px;
	text-align: right;
}

.otp-work-summary-extra:empty {
	display: none;
}

.otp-work-summary-icon::before {
	color: var(--otp-green);
	content: "v";
	display: inline-block;
	font-size: 1.35rem;
	font-weight: 950;
	line-height: 1;
	text-shadow: var(--otp-green-text-shadow);
}

.otp-work-row[open] .otp-work-summary-icon::before {
	content: "^";
}

.otp-work-row[open] .otp-work-row-summary {
	border-bottom: 1px solid rgba(38, 159, 34, 0.32);
}

.otp-work-row-body {
	display: grid;
	gap: 10px;
	padding: 10px 11px 11px;
}

.otp-button,
.otp-icon-button {
	align-items: center;
	background: var(--otp-green);
	border: 1px solid var(--otp-black-line);
	border-radius: 6px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.42), 0 8px 18px rgba(31, 127, 28, 0.14);
	color: #020b03;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 0.93rem;
	font-weight: 950;
	justify-content: center;
	min-height: 39px;
	padding: 8px 12px;
	text-decoration: none;
	text-shadow: none;
	text-transform: uppercase;
}

.otp-button-primary,
.otp-button-secondary,
.otp-button-danger,
.otp-icon-button {
	background: var(--otp-green);
	color: #020b03;
}

.otp-button-primary:hover,
.otp-button-primary:focus,
.otp-button-secondary:hover,
.otp-button-secondary:focus,
.otp-button-danger:hover,
.otp-button-danger:focus,
	.otp-icon-button:hover,
	.otp-icon-button:focus {
	background: #78f06f;
	border-color: var(--otp-black-line);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.88), 0 0 0 4px rgba(38, 159, 34, 0.22), 0 10px 24px rgba(31, 127, 28, 0.22);
	color: #020b03;
}

.otp-button-link {
	background: var(--otp-green);
	border: 1px solid var(--otp-black-line);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.42);
	color: #020b03;
	justify-self: start;
	min-height: 39px;
	padding: 8px 12px;
}

.otp-button-link:hover,
.otp-button-link:focus {
	color: #020b03;
}

.otp-pwa-install[hidden] {
	display: none !important;
}

.otp-pwa-install {
	align-items: center;
	backdrop-filter: blur(10px);
	background: rgba(5, 18, 10, 0.94);
	border: 1px solid rgba(38, 159, 34, 0.68);
	border-radius: 10px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(0, 0, 0, 0.35);
	color: #f8fafc;
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(0, 1fr) auto;
	left: 14px;
	margin: 0 auto;
	max-width: 620px;
	padding: 10px;
	position: fixed;
	right: 14px;
	top: calc(12px + env(safe-area-inset-top));
	z-index: 10080;
}

.otp-pwa-install-copy {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.otp-pwa-install-copy strong {
	color: #61df59;
	font-size: 0.94rem;
	font-weight: 950;
	line-height: 1.1;
	text-transform: uppercase;
}

.otp-pwa-install-copy span {
	color: #d8eadc;
	font-size: 0.82rem;
	line-height: 1.25;
}

.otp-pwa-install-status {
	color: #f8d979 !important;
}

.otp-pwa-install-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: flex-end;
}

.otp-pwa-install-actions .otp-button {
	font-size: 0.79rem;
	min-height: 34px;
	padding: 7px 10px;
	white-space: nowrap;
}

@media (max-width: 520px) {
	.otp-pwa-install {
		align-items: stretch;
		grid-template-columns: 1fr;
		left: 10px;
		right: 10px;
		top: calc(8px + env(safe-area-inset-top));
	}

	.otp-pwa-install-actions {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
	}
}

.otp-clock-button {
	font-size: 1.08rem;
	min-height: 56px;
	width: 100%;
}

.otp-timeclock-panel .otp-summary-box span {
	font-size: 1rem;
	font-weight: 800;
}

.otp-management-card,
.otp-time-entry-card {
	background: rgba(4, 25, 12, 0.46);
}

.otp-compact-form {
	gap: 9px;
	margin-top: 10px;
}

.otp-own-commission {
	display: grid;
	gap: 10px;
}

.otp-own-commission-filter {
	align-items: end;
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
	margin: 0;
}

.otp-own-commission-filter label {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.otp-own-commission-filter label > span {
	color: var(--otp-green);
	font-size: 0.78rem;
	font-weight: 850;
}

.otp-own-commission-filter input,
.otp-own-commission-filter .otp-button {
	min-height: 42px;
}

.otp-own-commission-summary {
	background: rgba(4, 25, 12, 0.46);
	border: 1px solid var(--otp-green-line);
	border-radius: 8px;
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding: 10px 12px;
}

.otp-own-commission-summary > div {
	display: grid;
	gap: 2px;
}

.otp-own-commission-summary span,
.otp-own-commission-job span {
	color: var(--otp-muted);
	font-size: 0.82rem;
}

.otp-own-commission-summary strong {
	color: #fff;
	font-size: 1rem;
}

.otp-own-commission-total strong {
	color: #6fe267;
	font-size: 1.16rem;
}

.otp-own-commission-weeks,
.otp-own-commission-jobs {
	display: grid;
	gap: 8px;
}

.otp-own-commission-week {
	margin: 0;
}

.otp-own-commission-jobs {
	border-top: 1px solid var(--otp-green-line);
	margin-top: 10px;
	padding-top: 4px;
}

.otp-own-commission-job {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	padding: 7px 0;
}

.otp-own-commission-job > div {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.otp-own-commission-job-amount {
	flex: 0 0 auto;
	text-align: right;
}

.otp-own-commission-job-amount strong {
	color: #6fe267;
}

@media (max-width: 640px) {
	.otp-own-commission-filter {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.otp-own-commission-filter .otp-button {
		grid-column: 1 / -1;
		width: 100%;
	}

	.otp-own-commission-summary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.otp-own-commission-total {
		border-top: 1px solid var(--otp-green-line);
		grid-column: 1 / -1;
		padding-top: 7px;
	}

	.otp-own-commission-job {
		align-items: flex-start;
	}
}

.otp-filter-form {
	background: rgba(4, 25, 12, 0.40);
	border: 1px solid rgba(38, 159, 34, 0.34);
	border-radius: 8px;
	margin: 0 0 12px;
	padding: 10px;
}

.otp-filter-presets,
.otp-filter-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.otp-time-range-filter {
	display: grid;
	gap: 9px;
}

.otp-time-range-grid {
	gap: 8px;
}

.otp-own-time-filter {
	gap: 7px;
	margin-bottom: 7px;
	padding: 8px;
}

.otp-own-time-filter .otp-time-range-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.otp-own-time-filter .otp-filter-actions {
	margin: 0;
}

.otp-own-time-filter .otp-button {
	min-height: 36px;
	padding: 7px 12px;
}

.otp-own-time-summary {
	color: #dcfce7;
	font-size: 0.9rem;
	font-weight: 780;
	line-height: 1.35;
	margin: 3px 0 9px;
}

.otp-card-actions,
.otp-filter-actions,
.otp-filter-presets,
.otp-date-tools,
.otp-date-filter,
.otp-add-work,
.otp-session-bar {
	max-width: 100%;
	min-width: 0;
}

.otp-card-actions > *,
.otp-filter-actions > *,
.otp-filter-presets > *,
.otp-date-tools > *,
.otp-date-filter > *,
.otp-add-work > *,
.otp-session-bar > * {
	min-width: 0;
}

.otp-filter-range-note {
	background: rgba(4, 25, 12, 0.42);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid var(--otp-green-line);
	border-radius: 8px;
	color: #dcfce7;
	font-size: 0.94rem;
	font-weight: 850;
	margin: 0 0 12px;
	padding: 10px 12px;
}

.otp-status,
.otp-role {
	border: 1px solid var(--otp-black-line);
	border-radius: 999px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.34);
	color: #020b03;
	display: inline-flex;
	font-size: 0.74rem;
	font-weight: 800;
	line-height: 1;
	padding: 6px 8px;
	white-space: nowrap;
}

.otp-status-assigned,
.otp-status-draft,
.otp-status-in_progress {
	background: rgba(38, 159, 34, 0.88);
	color: #020b03;
}

.otp-status-open {
	background: rgba(38, 159, 34, 0.88);
	color: #020b03;
}

.otp-status-queued,
.otp-status-closed {
	background: rgba(38, 159, 34, 0.88);
	color: #020b03;
}

.otp-status-billed,
.otp-status-archived {
	background: rgba(38, 159, 34, 0.88);
	color: #020b03;
}

.otp-role {
	background: rgba(38, 159, 34, 0.88);
	color: #020b03;
}

.otp-empty,
.otp-notice {
	border-radius: 8px;
	padding: 11px 12px;
}

.otp-empty {
	background: rgba(4, 18, 10, 0.54);
	border: 1px dashed var(--otp-green-line);
	color: #dbeafe;
}

.otp-collapsed-jobs {
	background: rgba(4, 25, 12, 0.34);
	margin-top: 4px;
}

.otp-collapsed-jobs > summary {
	align-items: center;
	color: var(--otp-green);
	cursor: pointer;
	display: grid;
	font-size: 0.98rem;
	font-weight: 950;
	gap: 10px;
	grid-template-columns: minmax(0, 1fr) auto auto;
	letter-spacing: 0.025em;
	list-style: none;
	text-shadow: var(--otp-green-text-shadow);
	text-transform: uppercase;
}

.otp-collapsed-jobs > summary::-webkit-details-marker {
	display: none;
}

.otp-collapsed-jobs > summary::after {
	align-items: center;
	color: #020b03;
	background: var(--otp-green);
	border: 1px solid var(--otp-black-line);
	border-radius: 999px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.34);
	content: "N\00e4yt\00e4";
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 0.74rem;
	font-weight: 950;
	justify-content: center;
	line-height: 1;
	min-height: 30px;
	min-width: 76px;
	overflow-wrap: normal;
	padding: 6px 9px;
	white-space: nowrap;
	word-break: keep-all;
}

.otp-collapsed-jobs[open] > summary {
	margin-bottom: 10px;
}

.otp-collapsed-jobs[open] > summary::after {
	content: "Piilota";
}

.otp-collapsed-jobs > summary small {
	background: var(--otp-green);
	border: 1px solid var(--otp-black-line);
	border-radius: 999px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.34);
	color: #020b03;
	flex: 0 0 auto;
	font-size: 0.74rem;
	font-weight: 900;
	line-height: 1;
	margin-left: auto;
	min-width: 28px;
	padding: 6px 8px;
	text-align: center;
}

.otp-manager-collapsed-jobs {
	border: 1px solid var(--otp-green-line);
	border-radius: 8px;
	padding: 11px;
	background: rgba(4, 25, 12, 0.34);
}

.otp-login-actions {
	display: flex;
	justify-content: center;
	margin-top: 12px;
}

.otp-notice {
	border: 1px solid;
	font-weight: 800;
	margin: 0 0 13px;
}

.otp-notice-success {
	background: rgba(20, 83, 45, 0.86);
	border-color: #86efac;
	color: #dcfce7;
}

.otp-notice-error {
	background: rgba(127, 29, 29, 0.9);
	border-color: #fecaca;
	color: #fee2e2;
}

.otp-notice-warning {
	background: rgba(113, 63, 18, 0.9);
	border-color: #fde68a;
	color: #fef3c7;
}

.otp-checkbox-grid,
.otp-photo-grid {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.otp-check {
	align-items: center;
	background: rgba(38, 159, 34, 0.09);
	border: 1px solid rgba(38, 159, 34, 0.45);
	border-radius: 6px;
	display: flex !important;
	gap: 8px !important;
	padding: 8px;
}

.otp-check-main {
	align-items: center;
	display: flex;
	gap: 8px;
	min-height: 17px;
	min-width: 0;
	width: 100%;
}

.otp-check input {
	accent-color: var(--otp-green);
	height: 17px;
	width: 17px;
}

.otp-drill-extra-grid {
	margin: 8px 0;
}

.otp-drill-extra-grid .otp-check {
	min-height: 42px;
}

.otp-check-with-days {
	align-items: stretch;
	flex-direction: column;
	gap: 7px !important;
}

.otp-check-label {
	flex: 1 1 auto;
	min-width: 0;
	overflow-wrap: anywhere;
}

.otp-extra-days {
	align-items: center;
	display: grid;
	gap: 7px;
	grid-template-columns: auto minmax(70px, 112px);
	margin-left: 25px;
	width: calc(100% - 25px);
}

.otp-extra-days[hidden] {
	display: none !important;
}

.otp-extra-days span {
	color: var(--otp-green);
	font-size: 0.78rem;
	font-weight: 950;
	letter-spacing: 0;
	text-shadow: var(--otp-green-text-shadow);
	text-transform: uppercase;
}

.otp-extra-days input {
	height: auto;
	max-width: 112px;
	min-width: 70px;
	min-height: 38px;
	padding: 6px 9px;
	width: 100%;
}

.otp-signature-wrap {
	background: rgba(5, 26, 14, 0.58);
	border: 1px solid var(--otp-green-line);
	border-radius: 8px;
	overflow: hidden;
	touch-action: none;
	width: 100%;
}

.otp-validation-warning {
	background: rgba(6, 28, 13, 0.72);
	border: 1px solid var(--otp-green-line);
	border-radius: 8px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.72);
	color: var(--otp-text);
	font-weight: 800;
	margin: 0 0 10px;
	padding: 10px 12px;
}

.otp-signing-summary.is-signing-blocked .otp-signature-wrap {
	opacity: 0.55;
	pointer-events: none;
}

.otp-form.is-signing-blocked [data-otp-sign-submit] {
	cursor: not-allowed;
	opacity: 0.62;
}

.otp-signature-pad {
	display: block;
	height: 170px;
	width: 100%;
}

.otp-signature-image {
	background: rgba(5, 26, 14, 0.58);
	border: 1px solid var(--otp-green-line);
	border-radius: 6px;
	display: block;
	max-width: 420px;
	width: 100%;
}

.otp-photo-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.otp-photo-grid a {
	aspect-ratio: 4 / 3;
	border: 1px solid var(--otp-green-line);
	border-radius: 6px;
	display: block;
	overflow: hidden;
}

.otp-photo-grid img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.otp-line-list,
.otp-user-list {
	display: grid;
	gap: 8px;
}

.otp-protocol-work-groups,
.otp-protocol-line-rows,
.otp-extra-summary {
	display: grid;
	gap: 8px;
}

.otp-protocol-work-group {
	background: rgba(4, 25, 12, 0.34);
	border: 1px solid rgba(38, 159, 34, 0.38);
	border-radius: 8px;
	padding: 8px;
}

.otp-protocol-work-group h4 {
	background: rgba(38, 159, 34, 0.12);
	border: 1px solid rgba(38, 159, 34, 0.34);
	border-radius: 6px;
	color: var(--otp-green);
	font-size: 0.86rem;
	font-weight: 950;
	letter-spacing: 0.025em;
	line-height: 1.15;
	margin: 0 0 6px;
	padding: 6px 8px;
	text-transform: uppercase;
}

.otp-protocol-table-wrap {
	overflow-x: auto;
	width: 100%;
}

.otp-protocol-table {
	border-collapse: collapse;
	color: #f8fafc;
	font-size: 0.82rem;
	table-layout: fixed;
	width: 100%;
}

.otp-protocol-table th,
.otp-protocol-table td {
	background: rgba(4, 18, 10, 0.42);
	border: 1px solid rgba(26, 115, 26, 0.72);
	overflow-wrap: anywhere;
	padding: 7px 8px;
	text-align: left;
	vertical-align: top;
}

.otp-protocol-table th {
	background: rgba(26, 115, 26, 0.22);
	color: var(--otp-green);
	font-size: 0.68rem;
	font-weight: 950;
	text-transform: uppercase;
}

.otp-protocol-table td {
	line-height: 1.35;
}

.otp-protocol-line-row {
	background: rgba(5, 26, 14, 0.48);
	border: 1px solid rgba(38, 159, 34, 0.48);
	border-radius: 7px;
	display: grid;
	gap: 5px;
	grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
	padding: 6px;
}

.otp-protocol-field-grid,
.otp-extra-check-grid {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding: 10px;
}

.otp-protocol-field {
	align-content: end;
	background: rgba(4, 18, 10, 0.50);
	border: 1px solid rgba(38, 159, 34, 0.34);
	border-radius: 6px;
	display: grid;
	gap: 3px;
	min-height: 34px;
	padding: 5px 6px;
}

.otp-protocol-field.is-wide {
	grid-column: 1 / -1;
}

.otp-protocol-field strong {
	color: var(--otp-green);
	font-size: 0.62rem;
	font-weight: 950;
	text-transform: uppercase;
}

.otp-protocol-field span {
	color: #f8fafc;
	font-size: 0.86rem;
	overflow-wrap: anywhere;
}

.otp-extra-summary {
	background: rgba(4, 25, 12, 0.34);
	border: 1px solid rgba(38, 159, 34, 0.38);
	border-radius: 8px;
	margin-top: 10px;
	padding: 10px;
}

.otp-extra-check {
	align-items: center;
	background: rgba(4, 18, 10, 0.50);
	border: 1px solid rgba(38, 159, 34, 0.34);
	border-radius: 6px;
	color: #f8fafc;
	display: flex;
	gap: 8px;
	min-height: 42px;
	padding: 8px;
}

.otp-extra-check span {
	align-items: center;
	border: 1px solid var(--otp-green);
	border-radius: 3px;
	color: var(--otp-green);
	display: inline-flex;
	flex: 0 0 18px;
	font-size: 0.78rem;
	font-weight: 950;
	height: 18px;
	justify-content: center;
	width: 18px;
}

.otp-extra-check strong {
	color: #f8fafc;
	font-size: 0.92rem;
}

.otp-extra-check.is-checked {
	background: rgba(38, 159, 34, 0.16);
}

.otp-extra-meta-grid {
	padding-top: 0;
}

.otp-line-item,
.otp-user-row {
	background: rgba(38, 159, 34, 0.09);
	border: 1px solid rgba(38, 159, 34, 0.45);
	border-radius: 6px;
	color: #f8fafc;
	display: grid;
	gap: 3px;
	padding: 9px;
}

.otp-line-item strong,
.otp-user-row strong {
	color: var(--otp-green);
	font-size: 0.88rem;
}

.otp-line-item span,
.otp-user-row span {
	color: #dbeafe;
}

.otp-time-detail-grid {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 10px 0;
}

.otp-time-detail-grid div {
	align-content: end;
	background: rgba(5, 26, 14, 0.48);
	border: 1px solid rgba(38, 159, 34, 0.38);
	border-radius: 6px;
	display: grid;
	gap: 2px;
	min-height: 48px;
	padding: 8px;
}

.otp-time-detail-grid strong {
	color: var(--otp-green);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.025em;
	text-transform: uppercase;
}

.otp-time-detail-grid span {
	color: #f8fafc;
	font-size: 0.96rem;
	overflow-wrap: anywhere;
}

.otp-time-inline-form {
	display: grid;
	gap: 9px;
	margin-top: 10px;
}

.otp-time-inline-grid {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
}

.otp-time-inline-field {
	background: rgba(5, 26, 14, 0.5);
	border: 1px solid rgba(38, 159, 34, 0.38);
	border-radius: 7px;
	display: grid;
	gap: 5px;
	margin: 0;
	min-width: 0;
	padding: 8px;
}

.otp-time-inline-field:focus-within,
.otp-time-inline-field.is-editing {
	border-color: rgba(57, 209, 47, 0.82);
	box-shadow: 0 0 0 2px rgba(57, 209, 47, 0.14);
}

.otp-time-inline-wide,
.otp-time-inline-grid input[type="hidden"] + .otp-time-inline-wide {
	grid-column: 1 / -1;
}

.otp-time-inline-field span {
	color: var(--otp-green);
	font-size: 0.72rem;
	font-weight: 950;
	letter-spacing: 0.025em;
	line-height: 1.18;
	text-shadow: var(--otp-green-text-shadow);
	text-transform: uppercase;
}

.otp-time-inline-field strong,
.otp-time-inline-field em {
	color: #f8fafc;
	font-size: 0.92rem;
	font-style: normal;
	font-weight: 800;
	overflow-wrap: anywhere;
}

.otp-time-inline-field input,
.otp-time-inline-field select,
.otp-time-inline-field textarea {
	background: rgba(0, 0, 0, 0.24);
	border-color: rgba(244, 252, 245, 0.18);
	margin: 0;
	min-height: 40px;
	width: 100%;
}

.otp-time-inline-field textarea {
	line-height: 1.35;
	max-height: 140px;
	min-height: 64px;
	resize: vertical;
}

.otp-time-inline-check {
	align-content: center;
	grid-template-columns: auto 1fr;
}

.otp-time-inline-check span {
	grid-column: 1 / -1;
}

.otp-time-inline-check input {
	height: 22px;
	min-height: 0;
	width: 22px;
}

.otp-time-inline-actions {
	align-items: center;
	background: rgba(3, 14, 8, 0.92);
	border: 1px solid rgba(57, 209, 47, 0.45);
	border-radius: 9px;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	padding: 9px;
}

.otp-time-inline-actions[hidden],
.otp-time-inline-error[hidden] {
	display: none;
}

.otp-time-inline-actions > span {
	color: #f8fafc;
	font-size: 0.84rem;
	font-weight: 800;
}

.otp-time-inline-actions > div {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.otp-time-inline-error {
	background: rgba(127, 29, 29, 0.62);
	border: 1px solid rgba(248, 113, 113, 0.7);
	border-radius: 8px;
	color: #fff;
	font-size: 0.86rem;
	font-weight: 800;
	padding: 8px 10px;
}

.otp-day-list {
	display: grid;
	gap: 11px;
}

.otp-admin-day-list {
	margin-top: 12px;
}

.otp-employee-time-list {
	display: grid;
	gap: 12px;
	margin-top: 12px;
}

.otp-employee-time-card {
	background: rgba(4, 25, 12, 0.5);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid rgba(38, 159, 34, 0.58);
	border-radius: 8px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.36), 0 16px 42px rgba(0, 0, 0, 0.24);
	overflow: hidden;
}

.otp-employee-time-card > summary {
	cursor: pointer;
	display: grid;
	gap: 10px;
	list-style: none;
	padding: 12px 44px 12px 12px;
	position: relative;
}

.otp-employee-time-card > summary::-webkit-details-marker {
	display: none;
}

.otp-employee-time-card > summary::after {
	align-items: center;
	border: 1px solid rgba(0, 0, 0, 0.85);
	border-radius: 999px;
	color: #000;
	content: "+";
	background: var(--otp-green);
	display: inline-flex;
	font-size: 1rem;
	font-weight: 950;
	height: 26px;
	justify-content: center;
	position: absolute;
	right: 12px;
	top: 12px;
	width: 26px;
}

.otp-employee-time-card[open] > summary::after {
	content: "-";
}

.otp-employee-time-head {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.otp-employee-time-head strong {
	color: var(--otp-green);
	font-size: 1.05rem;
	font-weight: 950;
	line-height: 1.15;
	text-transform: uppercase;
}

.otp-employee-time-head span {
	color: #f8fafc;
	font-size: 0.94rem;
	font-weight: 800;
	overflow-wrap: anywhere;
}

.otp-employee-time-summary {
	display: grid;
	gap: 7px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.otp-employee-time-summary div {
	align-content: end;
	background: rgba(4, 18, 10, 0.5);
	border: 1px solid rgba(38, 159, 34, 0.34);
	border-radius: 6px;
	display: grid;
	gap: 2px;
	min-height: 44px;
	padding: 7px;
}

.otp-employee-time-summary strong {
	color: var(--otp-green);
	font-size: 0.68rem;
	font-weight: 950;
	letter-spacing: 0.025em;
	text-transform: uppercase;
}

.otp-employee-time-summary span {
	color: #f8fafc;
	font-size: 0.94rem;
	font-weight: 850;
	overflow-wrap: anywhere;
}

.otp-employee-time-days {
	border-top: 1px solid rgba(38, 159, 34, 0.34);
	display: grid;
	gap: 9px;
	padding: 10px;
}

.otp-employee-time-days .otp-day-card {
	background: rgba(4, 18, 10, 0.42);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

.otp-day-card {
	background: rgba(4, 25, 12, 0.48);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid rgba(38, 159, 34, 0.5);
	border-radius: 8px;
	box-shadow: 0 14px 38px rgba(0, 0, 0, 0.2);
	overflow: hidden;
}

.otp-day-card summary {
	cursor: pointer;
	display: block;
	list-style: none;
	padding: 12px;
}

.otp-admin-day-card summary {
	min-height: 52px;
	padding: 10px 42px 10px 12px;
	position: relative;
}

.otp-admin-day-card summary::after {
	align-items: center;
	border: 1px solid rgba(38, 159, 34, 0.48);
	border-radius: 999px;
	color: var(--otp-green);
	content: "+";
	display: inline-flex;
	font-size: 1rem;
	font-weight: 950;
	height: 24px;
	justify-content: center;
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
}

.otp-admin-day-card[open] summary::after {
	content: "-";
}

.otp-day-card summary::-webkit-details-marker {
	display: none;
}

.otp-day-row {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
}

.otp-day-row > div {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.otp-day-row strong {
	color: var(--otp-green);
	font-size: 1rem;
	font-weight: 950;
	letter-spacing: 0.025em;
	line-height: 1.15;
	text-transform: uppercase;
}

.otp-day-row span {
	color: var(--otp-muted);
	font-size: 0.88rem;
	font-weight: 800;
}

.otp-day-hours {
	align-items: end;
	text-align: right;
}

.otp-admin-day-card .otp-day-hours {
	align-items: center;
	padding-right: 2px;
}

.otp-day-hours strong {
	color: #f8fafc;
	font-size: 1.02rem;
}

.otp-admin-day-card .otp-day-hours strong {
	font-size: 0.98rem;
	line-height: 1.1;
}

.otp-day-card[open] summary {
	border-bottom: 1px solid rgba(38, 159, 34, 0.34);
}

.otp-period-summary {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.otp-period-summary {
	background: rgba(4, 25, 12, 0.46);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid rgba(38, 159, 34, 0.5);
	border-radius: 8px;
	margin: 12px 0;
	padding: 10px;
}

.otp-period-summary div {
	align-content: end;
	background: rgba(4, 18, 10, 0.58);
	border: 1px solid rgba(38, 159, 34, 0.34);
	border-radius: 6px;
	display: grid;
	gap: 2px;
	min-height: 48px;
	padding: 8px;
}

.otp-period-summary strong {
	color: var(--otp-green);
	font-size: 0.7rem;
	font-weight: 950;
	letter-spacing: 0.025em;
	text-transform: uppercase;
}

.otp-period-summary span {
	color: #f8fafc;
	font-size: 0.96rem;
	font-weight: 800;
	overflow-wrap: anywhere;
}

.otp-period-summary .otp-period-employee-breakdown {
	grid-column: 1 / -1;
}

.otp-period-employee-breakdown span {
	line-height: 1.35;
}

.otp-day-details {
	display: grid;
	gap: 11px;
	padding: 12px;
}

.otp-day-summary-grid {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.otp-day-summary-grid div {
	align-content: end;
	background: rgba(4, 18, 10, 0.58);
	border: 1px solid rgba(38, 159, 34, 0.34);
	border-radius: 6px;
	display: grid;
	gap: 2px;
	min-height: 48px;
	padding: 8px;
}

.otp-day-summary-grid strong {
	color: var(--otp-green);
	font-size: 0.7rem;
	font-weight: 950;
	letter-spacing: 0.025em;
	text-transform: uppercase;
}

.otp-day-summary-grid span {
	color: #f8fafc;
	font-size: 0.96rem;
	font-weight: 800;
	overflow-wrap: anywhere;
}

.otp-day-entry-list {
	display: grid;
	gap: 11px;
}

.otp-day-entry-list .otp-time-entry-card {
	margin-top: 0;
}

body.otp-shortcode-page .wp-block-navigation a,
body.otp-shortcode-page .wp-block-navigation-item__content,
body.otp-shortcode-page .wp-block-navigation__responsive-container-open,
body.otp-shortcode-page .wp-block-navigation__responsive-container-close,
.otp-app a,
.otp-page-heading h2,
.otp-app-menu-head strong,
.otp-app-menu-links strong,
.otp-quick-clock-main h3,
.otp-card h3,
.otp-section h3,
.otp-card h4,
.otp-section h4,
.otp-work-row h4,
.otp-signing-summary h4,
.otp-form label > span,
.otp-section label > span,
.otp-date-filter label > span,
.otp-meta strong,
.otp-summary-box strong,
.otp-collapsed-jobs > summary,
.otp-protocol-work-group h4,
.otp-protocol-field strong,
.otp-extra-check span,
.otp-line-item strong,
.otp-user-row strong,
.otp-time-detail-grid strong,
.otp-employee-time-card > summary::after,
.otp-employee-time-head strong,
.otp-employee-time-summary strong,
.otp-admin-day-card summary::after,
.otp-day-row strong,
.otp-period-summary strong,
.otp-day-summary-grid strong {
	-webkit-text-stroke: 0.18px rgba(0, 0, 0, 0.74);
	paint-order: stroke fill;
	text-shadow: var(--otp-green-text-shadow);
}

.otp-app .otp-button,
.otp-app .otp-button:visited,
.otp-app .otp-button:hover,
.otp-app .otp-button:focus,
.otp-app .otp-button:active,
.otp-app .otp-button:disabled,
.otp-app .otp-icon-button,
.otp-app .otp-button-link,
.otp-app .otp-status,
.otp-app .otp-role,
.otp-collapsed-jobs > summary::after,
.otp-collapsed-jobs > summary small,
.otp-notice-success {
	color: #020b03 !important;
	-webkit-text-stroke: 0 !important;
	text-shadow: none !important;
}

.otp-app .otp-button,
.otp-app .otp-icon-button,
.otp-app .otp-button-link,
.otp-app .otp-status,
.otp-app .otp-role,
.otp-collapsed-jobs > summary::after,
.otp-collapsed-jobs > summary small,
.otp-notice-success {
	border-color: var(--otp-black-line) !important;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.42), 0 8px 18px rgba(0, 0, 0, 0.18);
}

.otp-status,
.otp-role,
.otp-collapsed-jobs > summary small,
.otp-notice-success {
	background: var(--otp-green) !important;
}

.otp-app-menu-links a,
.otp-quick-clock-bar,
.otp-session-bar,
.otp-card,
.otp-section,
.otp-filter-form,
.otp-filter-range-note,
.otp-day-card,
.otp-period-summary {
	background: var(--otp-glass-panel);
	border-color: var(--otp-border-green);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45), 0 12px 32px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.otp-management-card,
.otp-time-entry-card,
.otp-collapsed-jobs,
.otp-manager-collapsed-jobs,
.otp-protocol-work-group,
.otp-extra-summary {
	background: var(--otp-glass-card);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.40), 0 10px 26px rgba(0, 0, 0, 0.22);
}

.otp-meta,
.otp-summary-box,
.otp-empty,
.otp-work-builder,
.otp-add-work,
.otp-work-row,
.otp-protocol-line-row,
.otp-protocol-field,
.otp-extra-check,
.otp-line-item,
.otp-user-row,
.otp-time-detail-grid div,
.otp-period-summary div,
.otp-day-summary-grid div {
	background: var(--otp-glass-soft);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.32);
}

.otp-check,
.otp-extra-check span,
.otp-photo-grid a,
.otp-signature-wrap,
.otp-signature-image {
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.34);
}

@media (max-width: 760px) {
	body.otp-shortcode-page {
		--otp-green-text-shadow: 0 1px 1px rgba(0, 0, 0, 1), 0 0 3px rgba(0, 0, 0, 0.95), 0 0 6px rgba(0, 0, 0, 0.78);
	}

	body.otp-shortcode-page,
	body.otp-shortcode-page #page,
	body.otp-shortcode-page .site,
	body.otp-shortcode-page .wp-site-blocks,
	body.otp-shortcode-page main,
	body.otp-shortcode-page .site-main,
	body.otp-shortcode-page .entry-content,
	body.otp-shortcode-page .wp-block-post-content,
	body.otp-shortcode-page .has-global-padding {
		margin-left: 0 !important;
		margin-right: 0 !important;
		max-width: none !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		width: 100% !important;
	}

	body.otp-shortcode-page .wp-block-post-content > .otp-app,
	body.otp-shortcode-page .entry-content > .otp-app,
	body.otp-shortcode-page .is-layout-constrained > .otp-app {
		margin-left: 0 !important;
		margin-right: 0 !important;
		max-width: 100vw !important;
		width: 100vw !important;
	}

	body.otp-shortcode-page::before {
		background:
			linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.34) 100%),
			url("../images/app-background-rc59.png") center center / cover no-repeat;
		background-position: center center, center center;
		background-repeat: no-repeat, no-repeat;
		background-size: auto, cover;
		transform: scale(1.34);
	}

	body.otp-shortcode-page .wp-block-navigation__responsive-container.is-menu-open {
		background:
			linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.34) 100%),
			url("../images/app-background-rc59.png") center center / cover no-repeat !important;
		background-position: center center, center center !important;
		background-repeat: no-repeat, no-repeat !important;
		background-size: auto, cover !important;
		inset: 0 !important;
		min-height: 100dvh !important;
		padding: 0 !important;
		width: 100vw !important;
	}

	.otp-app {
		--otp-green-text-shadow: 0 1px 1px rgba(0, 0, 0, 1), 0 0 3px rgba(0, 0, 0, 0.95), 0 0 6px rgba(0, 0, 0, 0.78);
		--otp-panel: rgba(3, 22, 10, 0.28);
		--otp-panel-strong: rgba(3, 18, 9, 0.36);
		--otp-field: rgba(5, 26, 14, 0.58);
		--otp-glass-panel: rgba(3, 22, 10, 0.26);
		--otp-glass-card: rgba(3, 22, 10, 0.22);
		--otp-glass-soft: rgba(3, 18, 9, 0.30);
		font-size: 14px;
		margin: 0;
		max-width: 100vw;
		padding: 12px;
		width: 100vw;
	}

	.otp-app,
	.otp-app * {
		max-width: 100%;
	}

	.otp-meta,
	.otp-summary-box,
	.otp-time-detail-grid,
	.otp-day-summary-grid,
	.otp-period-summary,
	.otp-protocol-field-grid,
	.otp-extra-check-grid,
	.otp-grid,
	.otp-grid-compact,
	.otp-checkbox-grid,
	.otp-photo-grid,
	.otp-app-menu-links {
		grid-template-columns: 1fr;
	}

	.otp-payroll-export-panel .otp-period-summary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.otp-protocol-table-wrap {
		overflow: visible;
	}

	.otp-table-wrap {
		overflow-x: hidden;
		overflow-x: clip;
	}

	.otp-table {
		font-size: 0.72rem;
		table-layout: fixed;
		width: 100%;
	}

	.otp-table th,
	.otp-table td {
		padding: 5px 4px;
	}

	.otp-protocol-table,
	.otp-protocol-table thead,
	.otp-protocol-table tbody,
	.otp-protocol-table tr,
	.otp-protocol-table th,
	.otp-protocol-table td {
		display: block;
		width: 100%;
	}

	.otp-protocol-table thead {
		display: none;
	}

	.otp-protocol-table tr {
		background: rgba(4, 18, 10, 0.34);
		border: 1px solid rgba(26, 115, 26, 0.62);
		border-radius: 6px;
		margin-bottom: 7px;
		overflow: hidden;
	}

	.otp-protocol-table td {
		align-items: start;
		border-width: 0 0 1px;
		display: grid;
		gap: 8px;
		grid-template-columns: minmax(90px, 0.8fr) minmax(0, 1.2fr);
	}

	.otp-protocol-table td::before {
		color: var(--otp-green);
		content: attr(data-label);
		font-size: 0.68rem;
		font-weight: 950;
		text-transform: uppercase;
	}

	.otp-page-heading,
	.otp-card-header,
	.otp-section-heading,
	.otp-actions,
	.otp-work-row-header {
		align-items: stretch;
		flex-direction: column;
	}

	.otp-card-header .otp-status,
	.otp-section-heading .otp-status {
		align-self: flex-start;
	}

	.otp-check-with-days {
		padding: 8px;
	}

	.otp-extra-days {
		grid-template-columns: auto minmax(76px, 118px);
	}

	.otp-extra-days input {
		min-height: 42px;
	}

	.otp-worker-add-form {
		grid-template-columns: 1fr;
	}

	.otp-worker-chip {
		font-size: 0.95rem;
		max-width: 100%;
	}

	.otp-protocol-heading .otp-page-heading-text {
		margin-left: 0;
	}

	.otp-protocol-heading h2 {
		font-size: 1.55rem;
	}

	.otp-page-heading-actions {
		margin-left: 0;
	}

	.otp-top-logout {
		display: none;
	}

	.otp-quick-clock-bar {
		grid-template-columns: 1fr;
		padding: 11px;
	}

	.otp-quick-clock-main {
		align-items: stretch;
		flex-direction: column;
	}

	.otp-quick-clock-status {
		justify-items: start;
		text-align: left;
	}

	.otp-quick-clock-form .otp-clock-button {
		min-width: 0;
		width: 100%;
	}

	.otp-date-tools,
	.otp-date-filter,
	.otp-add-work,
	.otp-card-actions,
	.otp-filter-actions,
	.otp-filter-presets,
	.otp-session-bar {
		align-items: stretch;
		flex-direction: column;
	}

	.otp-job-summary {
		min-height: 56px;
		padding: 11px;
	}

	.otp-job-summary-title {
		font-size: 0.98rem;
	}

	.otp-job-summary-customer {
		font-size: 0.92rem;
	}

	.otp-job-details {
		padding: 11px;
	}

	.otp-job-detail-grid {
		grid-template-columns: 1fr;
	}

	.otp-job-inline-grid {
		gap: 7px;
		grid-template-columns: 1fr;
	}

	.otp-job-inline-card {
		gap: 5px;
		padding: 8px;
	}

	.otp-job-inline-card input,
	.otp-job-inline-card select,
	.otp-job-inline-card textarea {
		min-height: 40px;
	}

	.otp-job-inline-card textarea {
		max-height: 145px;
		min-height: 64px;
	}

	.otp-job-inline-description-edit textarea {
		max-height: 185px;
		min-height: 96px;
	}

	.otp-job-inline-savebar {
		align-items: stretch;
		bottom: 8px;
		flex-direction: column;
	}

	.otp-job-inline-savebar-actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.otp-time-inline-grid {
		gap: 7px;
		grid-template-columns: 1fr;
	}

	.otp-time-inline-field {
		gap: 4px;
		padding: 7px;
	}

	.otp-time-inline-field input,
	.otp-time-inline-field select,
	.otp-time-inline-field textarea {
		min-height: 39px;
	}

	.otp-time-inline-field textarea {
		max-height: 120px;
		min-height: 58px;
	}

	.otp-time-inline-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.otp-time-inline-actions > div {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.otp-calendar-toolbar .otp-date-tools,
	.otp-calendar-filter {
		grid-template-columns: 1fr;
	}

	.otp-calendar-section {
		padding: 9px;
	}

	.otp-calendar-weekdays {
		font-size: 0.68rem;
		gap: 3px;
	}

	.otp-calendar-grid {
		gap: 3px;
	}

	.otp-calendar-day {
		border-radius: 6px;
		gap: 4px;
		min-height: 88px;
		padding: 4px;
	}

	.otp-calendar-date {
		font-size: 0.78rem;
		height: 24px;
		width: 24px;
	}

	.otp-calendar-job-pill,
	.otp-calendar-more {
		border-radius: 5px;
		padding: 4px;
	}

	.otp-calendar-job-pill strong {
		font-size: 0.62rem;
	}

	.otp-calendar-job-pill span,
	.otp-calendar-job-pill em,
	.otp-calendar-more {
		font-size: 0.6rem;
	}

	.otp-calendar-day-actions {
		justify-content: stretch;
	}

	.otp-calendar-day-actions .otp-button {
		width: 100%;
	}

	.otp-calendar-move-form {
		grid-template-columns: 1fr;
	}

	.otp-work-builder {
		padding: 9px;
	}

	.otp-work-builder .otp-section-heading {
		margin-bottom: 7px;
	}

	.otp-work-builder .otp-section-heading h3 {
		margin-bottom: 0;
	}

	.otp-add-work {
		flex-wrap: nowrap;
		gap: 6px;
		margin-bottom: 7px;
		padding: 7px;
	}

	.otp-add-work label {
		flex: 0 0 auto;
		gap: 4px;
		min-height: 0;
		width: 100%;
	}

	.otp-add-work label > span {
		font-size: 0.84rem;
		line-height: 1.1;
	}

	.otp-add-work select {
		height: 50px;
		min-height: 50px;
		padding-bottom: 6px;
		padding-top: 6px;
	}

	.otp-add-work .otp-button {
		min-height: 50px;
		padding-bottom: 8px;
		padding-top: 8px;
	}

	.otp-work-builder .otp-work-list {
		gap: 7px;
	}

	.otp-work-builder .otp-empty[data-otp-work-empty] {
		font-size: 0.88rem;
		line-height: 1.25;
		min-height: 0;
		overflow-wrap: anywhere;
		padding: 8px 9px;
		white-space: normal;
	}

	.otp-employee-time-card > summary {
		padding: 10px 40px 10px 10px;
	}

	.otp-employee-time-card > summary::after {
		right: 10px;
		top: 10px;
	}

	.otp-employee-time-summary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.otp-employee-time-summary div {
		min-height: 42px;
		padding: 7px;
	}

	.otp-employee-time-days {
		gap: 8px;
		padding: 8px;
	}

	.otp-day-card summary,
	.otp-day-details {
		padding-left: 10px;
		padding-right: 10px;
	}

	.otp-admin-day-card summary {
		padding-right: 40px;
	}

	.otp-day-row {
		align-items: center;
	}

	.otp-session-bar span {
		white-space: normal;
	}

	.otp-logout-form {
		display: grid;
		width: 100%;
	}

	.otp-button,
	.otp-icon-button {
		width: 100%;
	}

	.otp-button-link {
		width: auto;
	}

	.otp-card,
	.otp-section {
		padding: 11px;
	}

	.otp-work-row {
		padding: 0;
	}

	.otp-work-row-summary {
		align-items: flex-start;
		flex-wrap: wrap;
		min-height: 52px;
		padding: 9px 10px;
	}

	.otp-work-summary-side {
		align-items: flex-start;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 4px;
		max-width: 100%;
		text-align: left;
		width: 100%;
	}

	.otp-work-summary-extra {
		font-size: 0.82rem;
	}

	.otp-work-row-body {
		padding: 9px 10px 10px;
	}

	body.otp-shortcode-page .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
	.otp-app-menu-links a,
	.otp-quick-clock-bar,
	.otp-session-bar,
	.otp-card,
	.otp-section,
	.otp-filter-form,
	.otp-filter-range-note,
	.otp-day-card,
	.otp-period-summary {
		background: var(--otp-glass-panel);
		backdrop-filter: blur(4px);
		-webkit-backdrop-filter: blur(4px);
	}

	.otp-management-card,
	.otp-time-entry-card,
	.otp-collapsed-jobs,
	.otp-manager-collapsed-jobs,
	.otp-protocol-work-group,
	.otp-extra-summary {
		background: var(--otp-glass-card);
	}

	.otp-meta,
	.otp-summary-box,
	.otp-empty,
	.otp-work-builder,
	.otp-add-work,
	.otp-work-row,
	.otp-protocol-line-row,
	.otp-protocol-field,
	.otp-extra-check,
	.otp-line-item,
	.otp-user-row,
	.otp-time-detail-grid div,
	.otp-period-summary div,
	.otp-day-summary-grid div {
		background: var(--otp-glass-soft);
	}

	.otp-game-section {
		gap: 6px;
		grid-template-rows: auto auto minmax(0, 1fr) auto auto;
		height: calc(100dvh - 24px);
		max-width: none;
		min-height: calc(100dvh - 24px);
		overflow: hidden;
		padding: 6px;
	}

	.otp-game-scorebar {
		gap: 6px;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.otp-game-scorebar span,
	.otp-game-status {
		font-size: 0.74rem;
		overflow: hidden;
		padding: 6px 5px;
	}

	.otp-game-scorebar strong {
		font-size: 0.96rem;
	}

	.otp-game-scorebar small {
		font-size: 0.68rem;
	}

	.otp-game-stage {
		align-items: stretch;
		display: flex;
		justify-content: center;
		min-height: 0;
		overflow: hidden;
		padding: 0;
	}

	.otp-game-canvas {
		height: 100%;
		max-height: 100%;
		min-height: 0;
		object-fit: fill;
		width: 100%;
	}

	.otp-game-toplist {
		gap: 5px;
		padding: 6px;
	}

	.otp-game-toplist h3 {
		font-size: 0.78rem;
	}

	.otp-game-toplist ol {
		gap: 4px;
	}

	.otp-game-toplist li {
		font-size: 0.78rem;
		min-height: 24px;
		padding: 4px 7px;
	}

	.otp-game-actions {
		gap: 6px;
	}

	.otp-game-actions .otp-button {
		font-size: clamp(0.76rem, 3vw, 0.86rem);
		line-height: 1.08;
		min-height: clamp(52px, 7.5dvh, 64px);
		padding-left: 8px;
		padding-right: 8px;
		text-align: center;
		white-space: normal;
	}
}

@media (min-width: 768px) {
	body.otp-shortcode-page,
	body.otp-shortcode-page #page,
	body.otp-shortcode-page .site,
	body.otp-shortcode-page .wp-site-blocks,
	body.otp-shortcode-page main,
	body.otp-shortcode-page .site-main,
	body.otp-shortcode-page .entry-content,
	body.otp-shortcode-page .wp-block-post-content,
	body.otp-shortcode-page .has-global-padding {
		margin-left: 0 !important;
		margin-right: 0 !important;
		max-width: none !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		width: 100% !important;
	}

	body.otp-shortcode-page .wp-block-post-content > .otp-app,
	body.otp-shortcode-page .entry-content > .otp-app,
	body.otp-shortcode-page .is-layout-constrained > .otp-app {
		max-width: min(1120px, calc(100vw - 32px)) !important;
		width: min(1120px, calc(100vw - 32px)) !important;
	}

	.otp-app {
		--otp-menu-safe-top: 0px;
		font-size: 14px;
		max-width: min(1120px, calc(100vw - 32px));
		padding: 18px clamp(18px, 2.2vw, 28px) 34px;
	}

	.otp-app-nav-wrap {
		margin-bottom: 16px;
		padding-top: 0;
	}

	.otp-app-menu-toggle,
	.otp-app-menu-backdrop,
	.otp-app-menu-head {
		display: none !important;
	}

	.otp-app-menu,
	.otp-app-menu[hidden] {
		align-items: center;
		background: rgba(3, 22, 10, 0.46);
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
		border: 1px solid var(--otp-border-green);
		border-radius: 8px;
		display: grid !important;
		gap: 10px;
		grid-template-columns: minmax(0, 1fr) auto;
		left: auto;
		margin: 0;
		max-height: none;
		overflow: visible;
		padding: 9px;
		position: static;
		top: auto;
		width: 100%;
	}

	.otp-app-menu-links {
		align-items: center;
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

	.otp-app-menu-links a {
		align-items: center;
		border-radius: 6px;
		display: inline-flex;
		min-height: 36px;
		padding: 7px 10px;
	}

	.otp-app-menu-links strong {
		font-size: 0.78rem;
		letter-spacing: 0;
		white-space: nowrap;
	}

	.otp-app-menu-logout {
		border-top: 0;
		padding-top: 0;
	}

	.otp-app-menu-logout .otp-button {
		min-height: 36px;
		padding: 7px 10px;
		width: auto;
	}

	.otp-page-heading {
		align-items: end;
		margin-bottom: 16px;
		padding-top: 4px;
	}

	.otp-card,
	.otp-section {
		padding: 15px;
	}

	.otp-grid {
		grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	}

	.otp-grid-compact {
		grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	}

	.otp-meta,
	.otp-summary-box,
	.otp-time-detail-grid,
	.otp-day-summary-grid,
	.otp-period-summary,
	.otp-protocol-field-grid,
	.otp-extra-check-grid {
		grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	}

	.otp-actions,
	.otp-card-actions,
	.otp-filter-actions,
	.otp-filter-presets,
	.otp-date-tools,
	.otp-date-filter,
	.otp-add-work,
	.otp-session-bar {
		align-items: center;
		flex-direction: row;
	}

	.otp-actions,
	.otp-card-actions,
	.otp-filter-actions,
	.otp-filter-presets {
		justify-content: flex-start;
	}

	.otp-card-actions > *,
	.otp-filter-actions > *,
	.otp-filter-presets > *,
	.otp-date-tools > *,
	.otp-date-filter > *,
	.otp-add-work > *,
	.otp-session-bar > * {
		flex: 0 1 auto;
		width: auto;
	}

	.otp-app .otp-button,
	.otp-app .otp-icon-button,
	.otp-app .otp-button-link {
		justify-self: start;
		min-height: 36px;
		padding: 7px 11px;
		width: auto;
	}

	.otp-clock-button {
		font-size: 1rem;
		min-height: 46px;
		min-width: 180px;
		width: auto;
	}

	.otp-quick-clock-bar {
		grid-template-columns: minmax(0, 1fr) auto;
		padding: 13px 14px;
	}

	.otp-quick-clock-main {
		align-items: center;
		flex-direction: row;
	}

	.otp-quick-clock-status {
		justify-items: end;
		text-align: right;
	}

	.otp-filter-form {
		padding: 12px;
	}

	.otp-filter-form .otp-grid {
		grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	}

	.otp-time-range-filter {
		margin-bottom: 10px;
		padding: 9px;
	}

	.otp-time-range-filter .otp-filter-presets {
		flex-wrap: nowrap;
		margin-inline: -2px;
		overflow-x: auto;
		padding-bottom: 2px;
		-webkit-overflow-scrolling: touch;
	}

	.otp-time-range-filter .otp-filter-presets > * {
		flex: 0 0 auto;
		white-space: nowrap;
	}

	.otp-own-time-filter {
		margin-bottom: 6px;
		padding: 8px;
	}

	.otp-own-time-filter .otp-time-range-grid {
		gap: 7px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.otp-own-time-filter label span {
		margin-bottom: 3px;
	}

	.otp-own-time-filter input[type="date"] {
		min-height: 38px;
		padding: 7px 9px;
	}

	.otp-own-time-summary {
		font-size: 0.86rem;
		margin: 4px 0 8px;
	}

	.otp-job-detail-grid,
	.otp-customer-registry-columns,
	.otp-protocol-field-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.otp-customer-registry-list,
	.otp-line-list,
	.otp-user-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.otp-protocol-line-rows,
	.otp-work-list,
	.otp-day-entry-list {
		gap: 10px;
	}

	.otp-protocol-work-groups {
		grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
	}

	.otp-protocol-table {
		font-size: 0.84rem;
	}

	.otp-table th,
	.otp-table td,
	.otp-protocol-table th,
	.otp-protocol-table td {
		padding: 7px 8px;
	}
}

@media (min-width: 1200px) {
	body.otp-shortcode-page::before {
		transform: scale(1.04);
	}

	body.otp-shortcode-page .wp-block-post-content > .otp-app,
	body.otp-shortcode-page .entry-content > .otp-app,
	body.otp-shortcode-page .is-layout-constrained > .otp-app {
		max-width: min(1320px, calc(100vw - 64px)) !important;
		width: min(1320px, calc(100vw - 64px)) !important;
	}

	.otp-app {
		max-width: min(1320px, calc(100vw - 64px));
		padding: 22px 32px 44px;
	}

	.otp-app-menu {
		padding: 10px;
	}

	.otp-app-menu-links a {
		padding-left: 12px;
		padding-right: 12px;
	}

	.otp-card,
	.otp-section {
		padding: 18px;
	}

	.otp-card-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.otp-card-list > .otp-card,
	.otp-card-list > .otp-section,
	.otp-card-list > details {
		height: 100%;
	}

	.otp-card-list > :only-child {
		grid-column: 1 / -1;
	}

	.otp-grid {
		grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
	}

	.otp-grid-compact {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}

	.otp-meta,
	.otp-summary-box,
	.otp-time-detail-grid,
	.otp-day-summary-grid,
	.otp-period-summary {
		grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	}

	.otp-filter-form .otp-grid {
		grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	}

	.otp-job-detail-grid,
	.otp-customer-registry-detail,
	.otp-customer-registry-columns,
	.otp-protocol-field-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.otp-customer-registry-detail > .otp-customer-registry-detail-actions,
	.otp-customer-registry-detail > .otp-customer-registry-detail-card {
		grid-column: 1 / -1;
	}

	.otp-customer-registry-list,
	.otp-line-list,
	.otp-user-list,
	.otp-day-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.otp-employee-time-summary,
	.otp-day-summary-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.otp-employee-time-days,
	.otp-day-details {
		padding: 14px;
	}

	.otp-protocol-work-groups {
		grid-template-columns: repeat(auto-fit, minmax(430px, 1fr));
		gap: 12px;
	}

	.otp-protocol-work-group {
		padding: 11px;
	}

	.otp-protocol-table {
		font-size: 0.86rem;
	}
}

@media (min-width: 1600px) {
	body.otp-shortcode-page .wp-block-post-content > .otp-app,
	body.otp-shortcode-page .entry-content > .otp-app,
	body.otp-shortcode-page .is-layout-constrained > .otp-app {
		max-width: min(1440px, calc(100vw - 96px)) !important;
		width: min(1440px, calc(100vw - 96px)) !important;
	}

	.otp-app {
		max-width: min(1440px, calc(100vw - 96px));
	}

	.otp-card-list,
	.otp-customer-registry-list,
	.otp-line-list,
	.otp-user-list,
	.otp-day-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.otp-card-list > :only-child {
		grid-column: 1 / -1;
	}
}

@media print {
	body.otp-shortcode-page {
		background: #fff !important;
		color: #111827;
	}

	body.otp-shortcode-page::before {
		display: none !important;
	}

	.otp-app {
		color: #111827;
		font-size: 12px;
		max-width: none;
		min-height: auto;
		padding: 0;
	}

	.otp-button,
	.otp-icon-button,
	.otp-add-work,
	.otp-page-heading-actions,
	.otp-app-menu-toggle,
	.otp-app-menu,
	.otp-app-menu-backdrop,
	.otp-mobile-logout,
	.otp-mobile-logout-source,
	.otp-top-logout,
	.otp-quick-clock-bar {
		display: none !important;
	}

	.otp-card,
	.otp-section,
	.otp-work-row,
	.otp-meta,
	.otp-summary-box,
	.otp-line-item,
	.otp-user-row {
		background: #fff;
		box-shadow: none;
		break-inside: avoid;
		color: #111827;
	}

	.otp-meta div,
	.otp-summary-box div {
		background: #f7fff5;
		border-color: #145c14;
	}

	.otp-protocol-table {
		border-collapse: collapse;
		color: #111827;
		display: table;
		font-size: 10px;
		table-layout: fixed;
		width: 100%;
	}

	.otp-protocol-table thead {
		display: table-header-group;
	}

	.otp-protocol-table tbody {
		display: table-row-group;
	}

	.otp-protocol-table tr {
		break-inside: avoid;
		display: table-row;
	}

	.otp-protocol-table th,
	.otp-protocol-table td {
		background: #fbfff9;
		border: 1px solid #145c14;
		color: #111827;
		display: table-cell;
		padding: 5px 6px;
	}

	.otp-protocol-table th {
		background: #eef8ec;
		color: #145c14;
	}

	.otp-extra-summary {
		background: #fff;
		border-color: #145c14;
		gap: 5px;
		margin-top: 6px;
		padding: 6px;
	}

	.otp-extra-check-grid {
		gap: 5px;
		padding: 6px;
	}

	.otp-extra-check {
		background: #fbfff9;
		border-color: #145c14;
		min-height: 28px;
		padding: 5px 6px;
	}

	.otp-extra-check span {
		border-color: #145c14;
		color: #145c14;
		flex-basis: 15px;
		font-size: 0.72rem;
		height: 15px;
		width: 15px;
	}

	.otp-extra-check strong {
		color: #111827;
		font-size: 0.82rem;
	}

	.otp-protocol-table td::before {
		content: none;
	}

	.otp-card h3,
	.otp-section h3,
	.otp-card h4,
	.otp-section h4,
	.otp-work-row h4,
	.otp-signing-summary h4,
	.otp-page-heading h2,
	.otp-line-item strong,
	.otp-user-row strong {
		color: #111827;
	}

	.otp-muted,
	.otp-meta strong,
	.otp-summary-box strong,
	.otp-meta span,
	.otp-summary-box span,
	.otp-line-item span,
	.otp-user-row span {
		color: #111827;
	}
}

/* Calendar UX final override: keep after legacy calendar/mobile rules. */
.otp-calendar-toolbar {
	background: rgba(2, 12, 8, 0.72);
	border-color: rgba(75, 180, 92, 0.34);
	box-shadow: none;
	gap: 12px;
}

.otp-calendar-toolbar > .otp-date-tools {
	display: none;
}

.otp-calendar-topbar {
	align-items: center;
	display: grid;
	gap: 10px;
	grid-template-columns: auto minmax(180px, 1fr) auto;
}

.otp-calendar-nav {
	align-items: center;
	display: flex;
	gap: 6px;
}

.otp-calendar-nav[hidden],
.otp-calendar-view[hidden],
.otp-calendar-current [hidden] {
	display: none !important;
}

.otp-calendar-current {
	display: grid;
	gap: 2px;
	justify-items: center;
	min-width: 0;
	text-align: center;
}

.otp-calendar-current strong,
.otp-calendar-current span {
	color: #e9fff0;
	font-weight: 950;
	line-height: 1.1;
	overflow: hidden;
	text-overflow: ellipsis;
	text-shadow: none;
	text-transform: uppercase;
	white-space: nowrap;
	width: 100%;
}

.otp-calendar-current span {
	color: #a9d9b0;
	font-size: 0.78rem;
}

.otp-calendar-view-switch {
	background: rgba(0, 0, 0, 0.26);
	border: 1px solid rgba(91, 183, 101, 0.32);
	border-radius: 7px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	overflow: hidden;
}

.otp-calendar-view-button {
	color: #dfffe2;
	font-size: 0.72rem;
	font-weight: 900;
	line-height: 1;
	padding: 9px 10px;
	text-align: center;
	text-decoration: none;
	text-shadow: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.otp-calendar-view-button.is-active {
	background: var(--otp-green);
	color: #031006;
}

.otp-calendar-filter {
	grid-template-columns: minmax(180px, 1fr) auto;
}

.otp-calendar-month-view {
	background: rgba(1, 8, 6, 0.72);
	border: 1px solid rgba(92, 160, 100, 0.32);
	border-radius: 8px;
	overflow: hidden;
	padding: 0;
}

.otp-calendar-weekdays,
.otp-calendar-grid {
	grid-template-columns: 38px repeat(7, minmax(0, 1fr));
}

.otp-calendar-weekdays {
	background: rgba(5, 18, 12, 0.94);
	border-bottom: 1px solid rgba(92, 160, 100, 0.28);
	gap: 0;
	padding: 0;
}

.otp-calendar-weekdays span,
.otp-calendar-week-number {
	align-items: center;
	color: #9adba1;
	display: flex;
	font-size: 0.68rem;
	font-weight: 900;
	justify-content: center;
	min-height: 30px;
	text-shadow: none;
	text-transform: uppercase;
}

.otp-calendar-week-number-head,
.otp-calendar-week-number {
	background: rgba(0, 0, 0, 0.22);
	border-right: 1px solid rgba(92, 160, 100, 0.24);
	color: #6fbf78;
}

.otp-calendar-grid {
	background: rgba(92, 160, 100, 0.22);
	gap: 1px;
	padding: 0;
}

.otp-calendar-day {
	background: rgba(5, 18, 13, 0.92);
	border: 0;
	border-radius: 0;
	box-shadow: none;
	gap: 5px;
	grid-template-rows: auto minmax(0, 1fr);
	min-height: 122px;
	padding: 6px;
}

.otp-calendar-day.is-outside-month {
	background: rgba(4, 12, 10, 0.72);
	opacity: 1;
}

.otp-calendar-day.is-selected {
	background: rgba(16, 68, 34, 0.58);
}

.otp-calendar-day.is-today {
	border: 1px solid rgba(58, 198, 77, 0.78);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.48);
}

.otp-calendar-date {
	background: transparent;
	border: 0;
	color: #effff0;
	font-size: 0.78rem;
	height: auto;
	justify-content: flex-start;
	line-height: 1;
	padding: 0;
	text-shadow: none;
	width: auto;
}

.otp-calendar-date span {
	align-items: center;
	border-radius: 999px;
	display: inline-flex;
	height: 24px;
	justify-content: center;
	width: 24px;
}

.otp-calendar-day.is-today .otp-calendar-date {
	background: transparent;
	color: #031006;
}

.otp-calendar-day.is-today .otp-calendar-date span,
.otp-calendar-week-day.is-today .otp-calendar-week-head strong {
	background: var(--otp-green);
	color: #031006;
}

.otp-calendar-job-preview {
	align-content: start;
	display: grid;
	gap: 3px;
	min-width: 0;
}

.otp-calendar-job-pill,
.otp-calendar-more {
	align-items: center;
	background: var(--otp-cal-bg, rgba(42, 95, 52, 0.46));
	border: 1px solid var(--otp-cal-border, rgba(125, 211, 139, 0.22));
	border-left: 4px solid var(--otp-cal-accent, #7dd38b);
	border-radius: 4px;
	color: #f7fff8;
	display: flex;
	gap: 5px;
	min-height: 21px;
	min-width: 0;
	padding: 2px 6px;
	text-decoration: none;
	text-shadow: none;
}

.otp-calendar-job-pill strong {
	color: inherit;
	display: block;
	font-size: 0.72rem;
	font-weight: 850;
	line-height: 1.1;
	overflow: hidden;
	text-overflow: ellipsis;
	text-shadow: none;
	text-transform: none;
	white-space: nowrap;
}

.otp-calendar-job-pill:hover,
.otp-calendar-job-pill:focus,
.otp-calendar-more:hover,
.otp-calendar-more:focus {
	border-color: rgba(232, 255, 235, 0.48);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
	color: #fff;
	outline: none;
}

.otp-calendar-job-pill[draggable="true"]::after {
	content: none;
}

.otp-calendar-job-status-billed {
	--otp-cal-accent: #22c55e;
	--otp-cal-bg: rgba(34, 197, 94, 0.24);
	--otp-cal-border: rgba(34, 197, 94, 0.34);
}

.otp-calendar-job-status-in_progress {
	--otp-cal-accent: #38bdf8;
	--otp-cal-bg: rgba(56, 189, 248, 0.22);
	--otp-cal-border: rgba(56, 189, 248, 0.34);
}

.otp-calendar-job-status-open,
.otp-calendar-job-status-draft {
	--otp-cal-accent: #94a3b8;
	--otp-cal-bg: rgba(148, 163, 184, 0.18);
	--otp-cal-border: rgba(148, 163, 184, 0.30);
}

.otp-calendar-job-status-unsigned {
	--otp-cal-accent: #f59e0b;
	--otp-cal-bg: rgba(245, 158, 11, 0.22);
	--otp-cal-border: rgba(245, 158, 11, 0.34);
}

.otp-calendar-job-status-queued {
	--otp-cal-accent: #a78bfa;
	--otp-cal-bg: rgba(167, 139, 250, 0.22);
	--otp-cal-border: rgba(167, 139, 250, 0.34);
}

.otp-calendar-job-status-overdue {
	--otp-cal-accent: #ef4444;
	--otp-cal-bg: rgba(239, 68, 68, 0.22);
	--otp-cal-border: rgba(239, 68, 68, 0.34);
}

.otp-calendar-more {
	appearance: none;
	background: rgba(255, 255, 255, 0.06);
	border-left-color: rgba(185, 255, 193, 0.38);
	color: #bfffc3;
	cursor: pointer;
	font-size: 0.7rem;
	font-family: inherit;
	font-weight: 900;
	justify-content: center;
	text-transform: none;
	width: 100%;
}

.otp-calendar-week-view,
.otp-calendar-list-view {
	display: grid;
	gap: 10px;
}

.otp-calendar-week-grid {
	display: grid;
	gap: 8px;
	grid-template-columns: 1fr;
	overflow: visible;
}

.otp-calendar-week-day {
	background: rgba(5, 18, 13, 0.92);
	display: grid;
	gap: 7px;
	min-height: 0;
	padding: 8px;
}

.otp-calendar-week-head,
.otp-calendar-list-day-head {
	align-items: center;
	color: #f2fff3;
	display: flex;
	gap: 8px;
	justify-content: space-between;
	text-decoration: none;
	text-shadow: none;
}

.otp-calendar-week-head span {
	color: #8dd494;
	font-size: 0.72rem;
	font-weight: 950;
	text-transform: uppercase;
}

.otp-calendar-week-head strong {
	align-items: center;
	border-radius: 999px;
	display: inline-flex;
	height: 26px;
	justify-content: center;
	width: 26px;
}

.otp-calendar-week-head-meta {
	align-items: center;
	display: inline-flex;
	gap: 6px;
	justify-content: flex-end;
}

.otp-calendar-week-count {
	align-items: center;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(141, 212, 148, 0.22);
	border-radius: 999px;
	color: #bfffc3;
	display: inline-flex;
	font-size: 0.68rem;
	font-style: normal;
	font-weight: 900;
	height: 22px;
	justify-content: center;
	min-width: 24px;
	padding: 0 7px;
}

.otp-calendar-list-day {
	background: rgba(5, 18, 13, 0.78);
	border: 1px solid rgba(92, 160, 100, 0.24);
	border-radius: 8px;
	display: grid;
	gap: 8px;
	padding: 10px;
}

.otp-calendar-list-day.is-selected,
.otp-calendar-week-day.is-selected {
	background: rgba(16, 68, 34, 0.58);
}

.otp-calendar-list-day-head strong {
	color: var(--otp-green);
	font-size: 0.95rem;
	text-transform: uppercase;
}

.otp-calendar-list-day-head span {
	align-items: center;
	background: var(--otp-green);
	border-radius: 999px;
	color: #031006;
	display: inline-flex;
	font-size: 0.72rem;
	font-weight: 950;
	height: 24px;
	justify-content: center;
	min-width: 24px;
	padding: 0 7px;
}

.otp-calendar-list-jobs,
.otp-calendar-day-list {
	display: grid;
	gap: 7px;
}

.otp-calendar-list-job {
	align-items: center;
	background: var(--otp-cal-bg, rgba(42, 95, 52, 0.46));
	border: 1px solid var(--otp-cal-border, rgba(125, 211, 139, 0.22));
	border-left: 4px solid var(--otp-cal-accent, #7dd38b);
	border-radius: 6px;
	color: #f7fff8;
	display: grid;
	gap: 3px;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 8px 9px;
	text-decoration: none;
	text-shadow: none;
}

.otp-calendar-list-job strong,
.otp-calendar-list-job span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.otp-calendar-list-job span {
	color: #d9ffe0;
	font-size: 0.72rem;
	font-weight: 850;
}

.otp-calendar-list-empty {
	background: rgba(0, 0, 0, 0.18);
	border-color: rgba(92, 160, 100, 0.18);
	padding: 8px;
}

.otp-calendar-day-panel {
	background: rgba(2, 12, 8, 0.84);
	border-color: rgba(92, 160, 100, 0.34);
}

.otp-calendar-day-item {
	background: rgba(5, 18, 13, 0.78);
	border: 1px solid var(--otp-cal-border, rgba(125, 211, 139, 0.24));
	border-left: 5px solid var(--otp-cal-accent, #7dd38b);
	border-radius: 8px;
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 12px;
}

.otp-calendar-day-item.is-selected {
	box-shadow: 0 0 0 2px rgba(38, 159, 34, 0.55);
}

.otp-calendar-day-item-main {
	display: grid;
	gap: 5px;
	min-width: 0;
}

.otp-calendar-day-item h4,
.otp-calendar-day-item strong,
.otp-calendar-day-item p {
	margin: 0;
	min-width: 0;
}

.otp-calendar-day-item h4 {
	color: #f6fff7;
	font-size: 1rem;
	font-weight: 950;
	text-transform: uppercase;
}

.otp-calendar-day-item-main > strong {
	color: var(--otp-green);
	font-size: 0.9rem;
}

.otp-calendar-day-item p {
	color: #d6e9d8;
	font-size: 0.84rem;
}

.otp-calendar-day-item-meta {
	color: #c8e8cc;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.76rem;
	font-weight: 780;
	gap: 5px 9px;
}

.otp-calendar-day-item-meta span:not(:last-child)::after {
	content: "/";
	margin-left: 9px;
	opacity: 0.65;
}

.otp-calendar-day-item-actions {
	align-content: start;
	display: grid;
	gap: 7px;
	min-width: 150px;
}

@media (max-width: 760px) {
	.otp-calendar-toolbar {
		padding: 10px;
	}

	.otp-calendar-topbar {
		grid-template-columns: 1fr;
	}

	.otp-calendar-nav {
		justify-content: center;
	}

	.otp-calendar-current {
		order: -1;
	}

	.otp-calendar-view-switch {
		width: 100%;
	}

	.otp-calendar-filter {
		grid-template-columns: 1fr;
	}

	.otp-calendar-weekdays,
	.otp-calendar-grid {
		grid-template-columns: 26px repeat(7, minmax(0, 1fr));
	}

	.otp-calendar-weekdays span,
	.otp-calendar-week-number {
		font-size: 0.56rem;
		min-height: 24px;
	}

	.otp-calendar-day {
		gap: 3px;
		min-height: 76px;
		padding: 3px;
	}

	.otp-calendar-date span {
		font-size: 0.68rem;
		height: 20px;
		width: 20px;
	}

	.otp-calendar-job-pill,
	.otp-calendar-more {
		border-left-width: 3px;
		min-height: 18px;
		padding: 1px 4px;
	}

	.otp-calendar-job-pill strong,
	.otp-calendar-more {
		font-size: 0.56rem;
	}

	.otp-calendar-week-grid {
		grid-template-columns: 1fr;
	}

	.otp-calendar-week-day {
		min-height: 0;
	}

	.otp-calendar-list-job {
		grid-template-columns: 1fr;
	}

	.otp-calendar-day-item {
		grid-template-columns: 1fr;
		padding: 10px;
	}

	.otp-calendar-day-item-actions {
		min-width: 0;
	}
}
