.ReportsModule .ModToolbar {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
}
.ReportsModule .ReportFilterRow {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 10px 14px;
}
.ReportsModule .FilterField {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 4px;
	min-width: 0;
}
.ReportsModule .FilterField > label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--ink-3);
	line-height: 1.2;
}
.ReportsModule .FilterFieldRow {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: nowrap;
	min-height: 36px;
}
.ReportsModule .FilterSearch {
	flex: 1 1 240px;
	min-width: 200px;
}
.ReportsModule .FilterSearch .SearchTerm {
	flex: 1;
	min-width: 140px;
}
.ReportsModule .FilterContact {
	position: relative;
	flex: 0 1 180px;
}
.ReportsModule .FilterContact .ContactPickBtn {
	height: 36px;
	width: 100%;
	min-width: 160px;
	max-width: 220px;
	justify-content: flex-start;
}
.ReportsModule .FilterDepartment {
	flex: 0 1 160px;
}
.ReportsModule .FilterDepartment .ViewDepartments {
	height: 36px;
	width: 100%;
}
.ReportsModule .FilterExtra {
	flex: 0 0 auto;
}
.ReportsModule .FilterExtra .SwitchLine {
	margin-top: 0;
	height: 36px;
	white-space: nowrap;
}
.ReportsModule .FilterPeriod {
	flex: 1 1 auto;
	width: 100%;
}
.ReportsModule .FilterPeriod .FilterFieldRow {
	flex-wrap: wrap;
}
.ReportsModule .FilterPeriod .TimeRange {
	white-space: nowrap;
}

.ReportListCard {
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 16px;
	box-shadow: var(--sh-card);
	overflow: hidden;
}
.ReportHeadActions { display: flex; gap: 8px; align-items: center; }
.ReportAddBtn { display: none; }
.ReportPanel.ReportEditOn .ReportAddBtn { display: inline-flex; }

.ReportPanel .ListHeaders,
.ReportPanel .ListArea .ListItem {
	display: grid;
	grid-template-columns: minmax(180px,1.6fr) 120px 120px 88px minmax(110px,1fr) 72px 44px;
	gap: 12px;
	align-items: center;
}
.ReportPanel.ShowTips .ListHeaders,
.ReportPanel.ShowTips .ListArea .ListItem {
	grid-template-columns: minmax(160px,1.5fr) 110px 110px 80px minmax(90px,1fr) 68px 80px 44px;
}
.ReportPanel.ShowEmpNotes .ListHeaders,
.ReportPanel.ShowEmpNotes .ListArea .ListItem {
	grid-template-columns: minmax(160px,1.5fr) 110px 110px 80px minmax(90px,1fr) 68px 44px 44px;
}
.ReportPanel.ShowTips.ShowEmpNotes .ListHeaders,
.ReportPanel.ShowTips.ShowEmpNotes .ListArea .ListItem {
	grid-template-columns: minmax(150px,1.4fr) 100px 100px 76px minmax(90px,1fr) 64px 76px 44px 44px;
}
.ReportPanel.ReportEditOn .ListHeaders,
.ReportPanel.ReportEditOn .ListArea .ListItem {
	grid-template-columns: minmax(160px,1.6fr) 110px 110px 80px minmax(100px,1fr) 68px 44px 44px;
}
.ReportPanel.ReportEditOn.ShowTips .ListHeaders,
.ReportPanel.ReportEditOn.ShowTips .ListArea .ListItem {
	grid-template-columns: minmax(140px,1.3fr) 100px 100px 72px minmax(80px,1fr) 60px 72px 40px 40px;
}
.ReportPanel.ReportEditOn.ShowEmpNotes .ListHeaders,
.ReportPanel.ReportEditOn.ShowEmpNotes .ListArea .ListItem {
	grid-template-columns: minmax(140px,1.3fr) 100px 100px 72px minmax(80px,1fr) 60px 40px 40px 40px;
}
.ReportPanel.ReportEditOn.ShowTips.ShowEmpNotes .ListHeaders,
.ReportPanel.ReportEditOn.ShowTips.ShowEmpNotes .ListArea .ListItem {
	grid-template-columns: minmax(130px,1.2fr) 96px 96px 68px minmax(80px,1fr) 56px 68px 36px 36px 36px;
}
.rl-head-tip,
.rl-tip,
.rl-head-empnote,
.rl-empnote { display: none; }
.ReportPanel.ShowTips .rl-head-tip,
.ReportPanel.ShowTips .rl-tip { display: flex; justify-content: flex-end; font-weight: 700; }
.ReportPanel.ShowEmpNotes .rl-head-empnote,
.ReportPanel.ShowEmpNotes .rl-empnote { display: flex; justify-content: center; }
.rl-empnote-btn {
	width: 36px;
	height: 36px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: var(--surface);
	color: #0f766e;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.rl-head-act,
.rl-act { display: none; }
.ReportPanel.ReportEditOn .rl-head-act,
.ReportPanel.ReportEditOn .rl-act { display: flex; justify-content: flex-end; }
.rl-pen {
	width: 36px;
	height: 36px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--brand-strong);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.rl-pen:hover { background: var(--brand-tint); }
.ReportPanel.ReportEditOn .ListArea .ListItem { cursor: pointer; }
.ReportPanel .ListHeaders {
	flex: none;
	padding: 13px 22px;
	background: var(--surface-sunk);
	border-bottom: 1px solid var(--border);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ink-3);
}
.ReportPanel .ListArea {
	flex: 1;
	min-height: 0;
	background: var(--surface);
	border-radius: 0;
}
.ReportPanel .ListArea .ListItem {
	padding: 18px 22px;
	border-bottom: 1px solid var(--border);
	min-height: 72px;
	font-size: 13.5px;
	color: var(--ink);
}
.ReportPanel .ListArea .ListItem:last-child { border-bottom: none; }
.ReportPanel .ListArea .ListItem:hover { background: var(--surface-hover); }
.ReportPanel .ListArea .ListItem.DayDivider { border-top: 1px solid var(--border); }
.ReportPanel .ListArea .ListItem.ExtendedDay { background: var(--extended-tint); }
.ReportPanel .ListArea .ListItem.ReportItemSelectd { background: var(--brand-tint); }

.ReportPanel .ListArea .ListItem > .ListField { display: none; }
.ReportPanel .ListField { display: none; }
.ReportPanel .rl-cell .ListField { display: block; }
.ReportPanel .rl-cell { min-width: 0; }
.ReportPanel .rl-name {
	display: flex;
	flex-wrap: wrap;
	gap: 0 6px;
	line-height: 1.25;
}
.ReportPanel .rl-name .ListField {
	display: inline;
	font-weight: 700;
	font-size: 14px;
	color: var(--ink);
}
.ReportPanel .rl-name .ListField.is-blank { display: none; }
.ReportPanel .rl-sub {
	display: flex;
	flex-wrap: wrap;
	gap: 0 8px;
	margin-top: 3px;
	font-size: 12px;
	color: var(--ink-3);
	font-weight: 400;
}
.ReportPanel .rl-sub .ListField { display: inline; }
.ReportPanel .rl-sub .ListField.is-blank { display: none; }
.ReportPanel .rl-sub [fieldname="contactnumber"]::before { content: "#"; }
.ReportPanel .rl-when [fieldname="DateIn"],
.ReportPanel .rl-when [fieldname="DateOut"] {
	font-weight: 600;
	color: var(--ink);
	line-height: 1.25;
}
.ReportPanel .rl-when [fieldname="TimeIn"],
.ReportPanel .rl-when [fieldname="TimeOut"] {
	margin-top: 2px;
	font-size: 12px;
	color: var(--ink-3);
}
.ReportPanel .rl-hours [fieldname="TimeWorked"],
.ReportPanel .rl-net [fieldname="NetTime"] {
	font-weight: 700;
	font-size: 14px;
	letter-spacing: -.02em;
}
.ReportPanel .rl-break [fieldname="BTimeIn"],
.ReportPanel .rl-break [fieldname="BTimeOut"] {
	font-size: 12px;
	color: var(--ink-2);
}
.ReportPanel .rl-break [fieldname="BreakTime"] {
	display: inline-block;
	margin-top: 4px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--brand-tint);
	color: var(--brand-strong);
	font-size: 11px;
	font-weight: 600;
}
.ReportPanel .rl-break.is-empty [fieldname="BTimeIn"],
.ReportPanel .rl-break.is-empty [fieldname="BTimeOut"],
.ReportPanel .rl-break.is-empty [fieldname="BreakTime"] { display: none; }
.ReportPanel .rl-break.is-empty::after {
	content: "—";
	color: var(--ink-3);
	font-weight: 500;
}
.rl-pill {
	display: inline-block;
	margin-top: 5px;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.rl-pill-warn { background: var(--warn-tint); color: var(--warn-ink); }
.rl-paidchip { background: var(--ok-tint); color: var(--ok-ink); }

.ReportPanel .ViewByEmployee { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.ReportsModule .ReportHeadIco { display: none; }
.ReportsModule .PayRunNarrow { display: none; }
.ReportsModule .ReportMobileBar,
.ReportsModule .ReportMobileSearch { display: none; }

.PayRunFromReportBtn { margin-left: auto; }
.StatementPrint { display: none; }
.StatementPrint.open { display: block; }

.EditItemHead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}
.EditItemHeadLead {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}
.EditItemHead h3 { font-size: 18px; }
.EditItemBox.NewMode .EditItemSticky { display: none; }
.EditEmployeeRow { margin-bottom: 14px; }
.EditEmployeeRow select,
.FromToCalendars input[type="date"],
.EditStamp input[type="date"],
.EditStamp input[type="time"] {
	width: 100%;
	min-height: 44px;
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 0 12px;
	background: var(--surface);
	color: var(--ink);
	font-size: 16px;
}
.EditTimeGrid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 16px;
	margin-bottom: 16px;
}
.EditStamp { display: grid; grid-template-columns: 1.2fr .9fr; gap: 8px; }
.EditItemFoot { display: flex; gap: 8px; justify-content: flex-end; }
.FromToQuick {
	display: flex;
	gap: 8px;
	margin: 4px 0 14px;
}
.FromToQuick .btn { flex: 1; justify-content: center; }
.FromToCalendars {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin: 8px 0 18px;
}

@media (max-width: 900px) {
	.ReportPanel .ListHeaders,
	.ReportPanel .ListArea .ListItem {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) 56px minmax(0, 1fr) 48px;
		gap: 6px;
	}
	.ReportPanel.ReportEditOn .ListHeaders,
	.ReportPanel.ReportEditOn .ListArea .ListItem {
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) 52px minmax(0, 1fr) 44px 44px;
	}
	.ReportPanel .ListHeaders,
	.ReportPanel .ListArea .ListItem {
		padding-left: 12px;
		padding-right: 12px;
	}
}

@media (max-width: 640px) {
	.EditTimeGrid,
	.FromToCalendars,
	.EditStamp { grid-template-columns: 1fr; }
	.ReportPanel .ListHeaders { display: none; }
	.ReportPanel .ListArea .ListItem,
	.ReportPanel.ReportEditOn .ListArea .ListItem {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"emp act"
			"in out"
			"hrs net"
			"brk brk";
		gap: 6px 10px;
		min-height: 0;
		padding: 14px 14px;
	}
	.ReportPanel .rl-emp { grid-area: emp; }
	.ReportPanel .rl-act { grid-area: act; }
	.ReportPanel .rl-when:nth-of-type(2) { grid-area: in; }
	.ReportPanel .rl-when:nth-of-type(3) { grid-area: out; }
	.ReportPanel .rl-hours { grid-area: hrs; }
	.ReportPanel .rl-net { grid-area: net; }
	.ReportPanel .rl-break { grid-area: brk; }
	.ReportPanel.ReportEditOn .rl-act { display: flex; }
}

@media (max-width: 720px) {
	.ReportsModule .ModHead {
		align-items: center;
		margin-bottom: 8px;
		gap: 8px;
		flex-wrap: nowrap;
	}
	.ReportsModule .ModHead > div:first-child {
		min-width: 0;
		flex: 1;
	}
	.ReportsModule .ModHead h2 {
		font-size: 17px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.ReportsModule .ModHead p { display: none; }
	.ReportsModule .ReportHeadLabel { display: none; }
	.ReportsModule .ReportHeadIco { display: block; }
	.ReportsModule .ReportHeadActions { gap: 6px; }
	.ReportsModule .ReportHeadActions .btn {
		width: 36px;
		height: 36px;
		min-width: 36px;
		padding: 0;
		justify-content: center;
	}
	.ReportsModule.ReportEditOn .ReportEditToggle,
	.ReportPanel.ReportEditOn .ReportEditToggle {
		background: var(--brand-strong);
		color: #fff;
		border-color: var(--brand-strong);
	}
	.ReportsModule .ModToolbar {
		margin-bottom: 8px;
		gap: 6px;
	}
	.ReportsModule .ReportFilterRow,
	.ReportsModule .FilterPeriod { display: none; }
	.ReportsModule .ReportMobileBar {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 6px;
	}
	.ReportsModule .RTool,
	.ReportsModule .RToolDept {
		width: 36px;
		height: 36px;
		min-width: 36px;
		padding: 0;
		border: 1px solid var(--border);
		border-radius: 10px;
		background: var(--surface);
		color: var(--ink-2);
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex: none;
		cursor: pointer;
		margin: 0;
		font-size: 13px;
		line-height: 1;
	}
	.ReportsModule .RTool.on,
	.ReportsModule .RToolDept.on {
		background: var(--brand-tint);
		color: var(--brand-strong);
		border-color: var(--brand);
	}
	.ReportsModule .RToolDept {
		position: relative;
		overflow: hidden;
	}
	.ReportsModule .RToolDept select {
		position: absolute;
		inset: 0;
		opacity: 0;
		width: 100%;
		height: 100%;
		min-width: 0;
		max-width: none;
		cursor: pointer;
	}
	.ReportsModule .RToolRange {
		flex: 1 1 118px;
		min-width: 0;
		height: 36px;
		padding: 0 8px;
		border: 1px solid var(--border);
		border-radius: 10px;
		background: var(--brand-tint);
		color: var(--brand-strong);
		font-size: 11px;
		font-weight: 700;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 4px;
		cursor: pointer;
	}
	.ReportsModule .RToolRange .ReportMobileTo::before {
		content: "–";
		margin-right: 4px;
		font-weight: 600;
	}
	.ReportsModule .ReportMobileSearch {
		display: none;
	}
	.ReportsModule.ReportSearchOpen .ReportMobileSearch,
	.ReportPanel.ReportSearchOpen .ReportMobileSearch {
		display: block;
	}
	.ReportsModule .ReportMobileSearch .SearchTerm {
		width: 100%;
		height: 36px;
	}
	.ReportsModule .ReportListCard {
		flex: 1 1 auto;
		min-height: 40vh;
	}
	.ReportsModule .StatementFooter {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		gap: 8px;
		margin-top: 8px;
		padding: 6px 10px;
		font-size: 11px;
		font-weight: 600;
		overflow-x: auto;
		white-space: nowrap;
	}
	.ReportsModule .StatementFooter > div { flex: none; }
	.ReportsModule .PayRunFromReportBtn {
		margin-left: auto;
		height: 32px;
		min-width: 56px;
		padding: 0 10px;
		font-size: 12px;
	}
	.ReportsModule .PayRunWide { display: none; }
	.ReportsModule .PayRunNarrow { display: inline; }
	.ReportsModule .ShowStatementBtn {
		width: 32px;
		height: 32px;
		flex: none;
	}
}

