/* New child-tools theme. Loaded only when pcm_page_theme is new.
   Drop this file and the "new" branch to remove the theme. */

body.pcm-theme-new #function_title {
	font-size: 14px;
	font-weight: 700;
	color: #143342;
	margin: 4px 0 8px;
}

body.pcm-theme-new #function_menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box;
	padding: 4px 28px 12px 12px !important;
}

body.pcm-theme-new #function_menu .function_button {
	background: #ecfdf5 !important;
	background-image: none !important;
	color: #143342 !important;
	border: 1px solid #a7f3d0 !important;
	border-radius: 999px !important;
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 5px !important;
	padding: 8px 14px !important;
	font-weight: 700;
	font-size: 13px;
	line-height: 1.2;
	box-shadow: none !important;
	cursor: pointer;
}

body.pcm-theme-new #function_menu .function_button.is-tool-on {
	background: #1f6b4a !important;
	color: #fff !important;
	border-color: #1f6b4a !important;
}

#pcm_workspace.pcm-theme-new.is-pcm-open,
#pcm_workspace.pcm-theme-new:has(.pcm-green-menu) {
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	width: 100%;
	max-width: none;
	margin: 4px 0 40px;
	padding: 0 28px 8px 12px;
	box-sizing: border-box;
}

#pcm_workspace.pcm-theme-new #pcm_report_menu,
#pcm_workspace.pcm-theme-new #pcm_report_content {
	width: 100% !important;
	max-width: none !important;
	min-width: 0;
	margin-top: 0;
	box-sizing: border-box;
}

/* Same column as .gcl (Goals Competency Log): 980px, centered.
   PCM Reports keeps the wide two-column workspace. */
body.pcm-theme-new #attendance,
body.pcm-theme-new #enrolled_plan,
body.pcm-theme-new #pcm_workspace:not(.is-pcm-open):not(:has(.pcm-green-menu)) {
	width: 100%;
	max-width: 980px;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box;
}

body.pcm-theme-new .pcm-tool-hero {
	flex: 1 1 100%;
	width: 100%;
	box-sizing: border-box;
	margin: 0 0 14px;
	padding: 22px 24px;
	border-radius: 16px;
	border: 1px solid #e4e8ee;
	box-shadow: 0 10px 30px rgba(28, 36, 48, .06);
	background:
		radial-gradient(1200px 240px at 0% 0%, rgba(31, 122, 108, .16), transparent 55%),
		radial-gradient(900px 220px at 100% 0%, rgba(47, 93, 140, .14), transparent 50%),
		linear-gradient(180deg, #fbfcfe 0%, #f3f6f9 100%);
}
body.pcm-theme-new .pcm-tool-kicker {
	margin: 0 0 6px;
	font-size: 11px;
	letter-spacing: .08em;
	text-transform: uppercase;
	font-weight: 700;
}
body.pcm-theme-new .pcm-tool-hero h2 {
	margin: 0 0 8px;
	padding: 0;
	font-size: 28px;
	line-height: 1.15;
	font-weight: 700;
	color: #1c2430;
}
body.pcm-theme-new .pcm-tool-lead {
	margin: 0;
	max-width: 62ch;
	color: #5f6b7a;
	font-size: 14px;
	line-height: 1.5;
}
body.pcm-theme-new .pcm-tool-hero--daily {
	background:
		radial-gradient(1200px 240px at 0% 0%, rgba(31, 122, 108, .20), transparent 55%),
		radial-gradient(900px 220px at 100% 0%, rgba(47, 93, 140, .12), transparent 50%),
		linear-gradient(180deg, #fbfcfe 0%, #f3f6f9 100%);
}
body.pcm-theme-new .pcm-tool-hero--daily .pcm-tool-kicker { color: #1f7a6c; }
body.pcm-theme-new .pcm-tool-hero--session {
	background:
		radial-gradient(1200px 240px at 0% 0%, rgba(47, 93, 140, .18), transparent 55%),
		radial-gradient(900px 220px at 100% 0%, rgba(31, 122, 108, .12), transparent 50%),
		linear-gradient(180deg, #fbfcfe 0%, #f3f6f9 100%);
}
body.pcm-theme-new .pcm-tool-hero--session .pcm-tool-kicker { color: #1f7a6c; }
body.pcm-theme-new .pcm-tool-hero--incident {
	background:
		radial-gradient(1200px 240px at 0% 0%, rgba(180, 110, 60, .16), transparent 55%),
		radial-gradient(900px 220px at 100% 0%, rgba(47, 93, 140, .12), transparent 50%),
		linear-gradient(180deg, #fbfcfe 0%, #f3f6f9 100%);
}
body.pcm-theme-new .pcm-tool-hero--incident .pcm-tool-kicker { color: #1f7a6c; }
body.pcm-theme-new .pcm-tool-hero--plan {
	background:
		radial-gradient(1200px 240px at 0% 0%, rgba(90, 70, 150, .16), transparent 55%),
		radial-gradient(900px 220px at 100% 0%, rgba(31, 122, 108, .12), transparent 50%),
		linear-gradient(180deg, #fbfcfe 0%, #f3f6f9 100%);
}
body.pcm-theme-new .pcm-tool-hero--plan .pcm-tool-kicker { color: #1f7a6c; }

body.pcm-theme-new .be-payonce-full-table {
	width: auto !important;
	max-width: 100% !important;
	margin: 8px 0 16px !important;
	box-sizing: border-box;
	overflow-x: auto;
}
body.pcm-theme-new .be-payonce-full-table h4 {
	font-size: 16px;
	line-height: 1.3;
	font-weight: 700;
}
body.pcm-theme-new .be-payonce-full-table table {
	width: 100%;
	max-width: 100%;
	table-layout: fixed;
}
body.pcm-theme-new .be-payonce-full-table th,
body.pcm-theme-new .be-payonce-full-table td {
	word-break: break-word;
	font-size: 13px;
}

body.pcm-theme-new #special_attention_log {
	width: auto !important;
	max-width: 100% !important;
	margin: 10px 0 !important;
	box-sizing: border-box;
}
body.pcm-theme-new #each_reporter {
	max-width: 100%;
	box-sizing: border-box;
}
body.pcm-theme-new #special_attention_log input[id^="special_attention_title"],
body.pcm-theme-new #each_reporter input[id^="special_attention_title"] {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	margin: 6px 0 !important;
	box-sizing: border-box;
}

#pcm_workspace.pcm-theme-new .pcm-green-menu {
	display: flex !important;
	flex-direction: column;
	flex-wrap: nowrap !important;
	width: 100%;
	max-width: none;
	margin: 0;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	color: #0f172a;
	box-sizing: border-box;
}

#pcm_workspace.pcm-theme-new .pcm-green-menu h2 {
	color: #143342;
	font-size: 15px;
	font-weight: 800;
	margin: 0 0 8px;
	text-align: left;
}

#pcm_workspace.pcm-theme-new .pcm-year {
	order: 2;
	margin: 12px 0 4px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #64748b;
}

#pcm_workspace.pcm-theme-new .pcm-month-row {
	order: 3;
	display: flex !important;
	flex-direction: column;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	width: 100% !important;
	max-width: none !important;
	margin: 4px 0 !important;
	box-sizing: border-box;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: 12px;
	overflow: hidden;
}

#pcm_workspace.pcm-theme-new .pcm-month-row.is-add {
	order: 1;
	border: 0;
	background: transparent;
	border-radius: 0;
}

#pcm_workspace.pcm-theme-new .pcm-month-row > div {
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
}

#pcm_workspace.pcm-theme-new .pcm-month-row > div:nth-child(1) {
	display: flex !important;
	flex-direction: column;
	align-items: flex-start !important;
	justify-content: center;
	text-align: left !important;
	padding: 8px 12px !important;
	cursor: pointer;
}

#pcm_workspace.pcm-theme-new .pcm-month-row > div:nth-child(1) p,
#pcm_workspace.pcm-theme-new .pcm-month-row .pcm-month-goals {
	width: 100%;
	margin: 0;
	text-align: left !important;
	color: #0f172a;
}

#pcm_workspace.pcm-theme-new .pcm-month-goals,
#pcm_workspace.pcm-theme-new .pcm-month-sent {
	display: block;
	font-size: 12px;
	line-height: 1.3;
	color: #334155;
}

#pcm_workspace.pcm-theme-new .pcm-month-status,
#pcm_workspace.pcm-theme-new .pcm-sent-full,
#pcm_workspace.pcm-theme-new .pcm-month-row.is-draft .pcm-month-send,
#pcm_workspace.pcm-theme-new .pcm-month-row.is-add .pcm-month-send {
	display: none !important;
}

#pcm_workspace.pcm-theme-new .pcm-month-row.is-done > .pcm-month-send {
	display: flex !important;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 0 12px 8px !important;
}

#pcm_workspace.pcm-theme-new .pcm-month-row.is-chosen {
	background: #fff4e8;
	border-color: #f6c89a;
	box-shadow: inset 3px 0 0 #e8a87c;
}

#pcm_workspace.pcm-theme-new .pcm-month-row:hover {
	background: #f5f3ff;
	border-color: #c4b5fd;
}

#pcm_workspace.pcm-theme-new .pcm-month-row.is-chosen:hover {
	background: #ffe8d6;
	border-color: #f0b27a;
}

#pcm_workspace.pcm-theme-new .pcm-month-row.is-add > div:nth-child(1) p {
	color: #1f6b4a !important;
	font-weight: 700;
}

#pcm_workspace.pcm-theme-new div.card_container.pcm-green-menu button {
	background: #1f6b4a !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 7px !important;
	font-weight: 700 !important;
	padding: 6px 10px !important;
	white-space: nowrap;
	width: auto !important;
	margin: 0 !important;
}

#pcm_workspace.pcm-theme-new #pcm_report_content,
#pcm_report_content.pcm-theme-new {
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	color: #0f172a;
	max-width: none;
	box-sizing: border-box;
}

#pcm_workspace.pcm-theme-new .pcm-pick-note,
#pcm_workspace.pcm-theme-new.is-pcm-open #pcm_report_content:empty,
#pcm_workspace.pcm-theme-new:has(.pcm-green-menu) #pcm_report_content:empty {
	min-height: 320px;
	margin: 0;
	padding: 56px 40px;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	background:
		radial-gradient(900px 240px at 0% 0%, rgba(31, 122, 108, .12), transparent 55%),
		radial-gradient(700px 200px at 100% 0%, rgba(47, 93, 140, .10), transparent 50%),
		linear-gradient(180deg, #fbfcfe 0%, #f3f6f9 100%);
	box-sizing: border-box;
}

#pcm_workspace.pcm-theme-new .pcm-pick-note p,
#pcm_workspace.pcm-theme-new.is-pcm-open #pcm_report_content:empty::before,
#pcm_workspace.pcm-theme-new:has(.pcm-green-menu) #pcm_report_content:empty::before {
	content: "Select a report on the left to open it here.";
	display: block;
	margin: 0;
	max-width: 22em;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.45;
	color: #3d4a5c;
}

#pcm_workspace.pcm-theme-new #pcm_report_content .ekit-heading--title,
#pcm_report_content.pcm-theme-new .ekit-heading--title {
	margin: 0 0 12px !important;
	padding: 22px 24px !important;
	border-radius: 16px !important;
	border: 1px solid #e4e8ee !important;
	background: radial-gradient(1200px 240px at 0% 0%, rgba(31, 122, 108, .16), transparent 55%), radial-gradient(900px 220px at 100% 0%, rgba(47, 93, 140, .14), transparent 50%), linear-gradient(180deg, #fbfcfe 0%, #f3f6f9 100%) !important;
	color: #1c2430 !important;
	font-size: 28px !important;
	font-weight: 700 !important;
	line-height: 1.15 !important;
	text-align: left !important;
	box-shadow: 0 10px 30px rgba(28, 36, 48, .06);
}

#pcm_workspace.pcm-theme-new #pcm_report_content .elementskit-border-divider,
#pcm_report_content.pcm-theme-new .elementskit-border-divider {
	display: none;
}

#pcm_workspace.pcm-theme-new #pcm_report_content #pcm_report_form > div:first-of-type,
#pcm_report_content.pcm-theme-new #pcm_report_form > div:first-of-type {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: end;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	margin: 8px 0;
	padding: 10px 12px;
}

#pcm_workspace.pcm-theme-new #pcm_report_content label,
#pcm_report_content.pcm-theme-new label {
	color: #143342 !important;
	font-weight: 800;
	font-size: 11px;
	letter-spacing: .04em;
	text-transform: uppercase;
}

#pcm_workspace.pcm-theme-new #pcm_report_content .pcm_heading,
#pcm_report_content.pcm-theme-new .pcm_heading {
	margin: 16px 0 8px;
	font-size: 18px;
	font-weight: 800;
	color: #143342;
}

#pcm_workspace.pcm-theme-new #pcm_report_content div[style*="251, 238, 251"],
#pcm_report_content.pcm-theme-new div[style*="251, 238, 251"] {
	border: 1px solid #f3d0f0;
	border-left: 4px solid #f0abdc;
	border-radius: 14px;
	box-sizing: border-box;
}

#pcm_workspace.pcm-theme-new #pcm_report_content div[style*="238, 238, 255"],
#pcm_report_content.pcm-theme-new div[style*="238, 238, 255"] {
	border: 1px solid #d9ddff;
	border-left: 4px solid #c7cffc;
	border-radius: 14px;
	box-sizing: border-box;
}

#pcm_workspace.pcm-theme-new #pcm_report_content .pcm-achieve,
#pcm_report_content.pcm-theme-new .pcm-achieve {
	box-sizing: border-box;
	background: #f8fdf9;
	border: 1px solid #d7f3e3;
	border-left: 4px solid #bbf7d0;
	border-radius: 14px;
	padding: 12px 14px 16px;
	margin: 8px 0 12px;
}

#pcm_workspace.pcm-theme-new #pcm_report_content .pcm-achieve-goal,
#pcm_report_content.pcm-theme-new .pcm-achieve-goal {
	box-sizing: border-box;
	background: #fff !important;
	border: 1px solid #d7f3e3;
	border-left: 4px solid #bbf7d0;
	border-radius: 12px;
	overflow: hidden;
	margin: 12px 0 0 !important;
}

#pcm_workspace.pcm-theme-new #pcm_report_content .pcm-suggest,
#pcm_report_content.pcm-theme-new .pcm-suggest {
	box-sizing: border-box;
	background-color: rgb(255, 255, 240) !important;
	border: 1px solid #efe4b0;
	border-left: 4px solid #f3e7a8;
	border-radius: 14px;
	padding: 12px 14px 16px;
	margin: 8px 0 12px;
}

#pcm_workspace.pcm-theme-new #pcm_report_content .pcm-suggest-goal,
#pcm_report_content.pcm-theme-new .pcm-suggest-goal {
	background: #fff;
	border: 1px solid #efe4b0;
	border-left: 4px solid #f3e7a8;
	border-radius: 12px;
	overflow: hidden;
}

#pcm_workspace.pcm-theme-new #pcm_report_content .pcm-suggest-input,
#pcm_report_content.pcm-theme-new .pcm-suggest-input {
	box-sizing: border-box;
	padding: 14px 16px 16px;
}

#pcm_workspace.pcm-theme-new #pcm_report_content .pcm-suggest-input trix-editor,
#pcm_report_content.pcm-theme-new .pcm-suggest-input trix-editor {
	margin: 0 !important;
	max-width: 100% !important;
}

#pcm_workspace.pcm-theme-new #pcm_report_content #update_suggested_goals_btn,
#pcm_report_content.pcm-theme-new #update_suggested_goals_btn {
	margin: 12px 12px 18px 4px !important;
}

#pcm_workspace.pcm-theme-new #pcm_report_content .pcm-section-save-row,
#pcm_report_content.pcm-theme-new .pcm-section-save-row {
	display: flex;
	justify-content: flex-end;
	width: 100%;
	margin: 10px 0 4px;
	box-sizing: border-box;
}

#pcm_workspace.pcm-theme-new #pcm_report_content .pcm-section-save,
#pcm_report_content.pcm-theme-new .pcm-section-save {
	width: 100px !important;
	margin: 0 !important;
}

#pcm_workspace.pcm-theme-new #pcm_report_content .pcm-advisory-report-btn,
#pcm_workspace.pcm-theme-new #pcm_report_content .pcm-record-ei-btn,
#pcm_workspace.pcm-theme-new #pcm_report_content input[type=button],
#pcm_report_content.pcm-theme-new .pcm-advisory-report-btn,
#pcm_report_content.pcm-theme-new .pcm-record-ei-btn,
#pcm_report_content.pcm-theme-new input[type=button] {
	border: 0 !important;
	border-radius: 7px !important;
	background: #1f6b4a !important;
	color: #fff !important;
	font-weight: 700 !important;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	min-height: 36px;
}

#pcm_workspace.pcm-theme-new #pcm_report_content .pcm-advisory-report-btn,
#pcm_report_content.pcm-theme-new .pcm-advisory-report-btn {
	background: #c2410c !important;
	color: #fff !important;
	border: 0 !important;
}
#pcm_workspace.pcm-theme-new #pcm_report_content .pcm-advisory-report-btn:hover,
#pcm_report_content.pcm-theme-new .pcm-advisory-report-btn:hover {
	background: #9a3412 !important;
	color: #fff !important;
}

#pcm_workspace.pcm-theme-new #pcm_report_content #cancel,
#pcm_workspace.pcm-theme-new #pcm_report_content #top,
#pcm_workspace.pcm-theme-new #pcm_report_content #reopen2,
#pcm_report_content.pcm-theme-new #cancel,
#pcm_report_content.pcm-theme-new #top,
#pcm_report_content.pcm-theme-new #reopen2 {
	background: #fff !important;
	color: #143342 !important;
	border: 1px solid #a7f3d0 !important;
}

#pcm_workspace.pcm-theme-new #pcm_report_content #delete,
#pcm_report_content.pcm-theme-new #delete {
	background: #fff !important;
	color: #b91c1c !important;
	border: 1px solid #fecaca !important;
}

#pcm_workspace.pcm-theme-new #pcm_report_content div[onclick*="show_report_content"],
#pcm_report_content.pcm-theme-new div[onclick*="show_report_content"] {
	background: #f8fafc !important;
	border: 1px solid #e2e8f0;
	border-radius: 12px !important;
	color: #334155;
}

#pcm_workspace.pcm-theme-new #pcm_report_content trix-editor,
#pcm_workspace.pcm-theme-new #pcm_report_content textarea,
#pcm_report_content.pcm-theme-new trix-editor,
#pcm_report_content.pcm-theme-new textarea {
	box-sizing: border-box;
	max-width: calc(100% - 16px);
	padding: 6px 8px;
	margin: 6px 8px;
}

@media (max-width: 900px) {
	body.pcm-theme-new #function_menu,
	#pcm_workspace.pcm-theme-new.is-pcm-open,
	#pcm_workspace.pcm-theme-new:has(.pcm-green-menu) {
		padding-left: 8px;
		padding-right: 8px;
	}
	#pcm_workspace.pcm-theme-new.is-pcm-open,
	#pcm_workspace.pcm-theme-new:has(.pcm-green-menu) {
		display: block;
		width: 100%;
		max-width: 100%;
		overflow: visible;
	}
	#pcm_workspace.pcm-theme-new.is-pcm-open #pcm_report_menu,
	#pcm_workspace.pcm-theme-new:has(.pcm-green-menu) #pcm_report_menu {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		overflow: visible;
	}
	#pcm_workspace.pcm-theme-new .pcm-green-menu {
		display: flex !important;
		flex-direction: column;
		flex-wrap: nowrap;
		overflow: visible;
		width: 100%;
		max-width: 100%;
	}
	#pcm_workspace.pcm-theme-new .pcm-green-menu > div:first-child,
	#pcm_workspace.pcm-theme-new .pcm-year,
	#pcm_workspace.pcm-theme-new .pcm-month-row {
		flex: 0 0 auto;
		min-width: 0 !important;
		max-width: 100% !important;
		width: 100% !important;
	}
	#pcm_workspace.pcm-theme-new .pcm-pick-note,
	#pcm_workspace.pcm-theme-new.is-pcm-open #pcm_report_content:empty,
	#pcm_workspace.pcm-theme-new:has(.pcm-green-menu) #pcm_report_content:empty {
		min-height: 140px;
		margin-top: 12px;
		padding: 24px 16px;
	}
	body.pcm-theme-new #pcm_report_menu > #pcm_bill,
	body.pcm-theme-new #pcm_bill {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	body.pcm-theme-new .pcm-tool-hero {
		padding: 16px;
	}
	body.pcm-theme-new .pcm-tool-hero h2 {
		font-size: 22px;
	}
}
