:root {
	--pch-primary: #08263f;
	--pch-secondary: #b95d2e;
	--pch-accent: #d47a46;
	--pch-bg: #f7f3eb;
	--pch-text: #0a2239;
	--pch-muted: #6f7884;
	--pch-line: rgba(8, 38, 63, .14);
	--pch-paper: #fffaf3;
}

.pch-standalone-body {
	background: #f4f1eb;
	margin: 0;
	min-height: 100vh;
	padding: 0;
}

.pch-embed-shell {
	background: #f4f1eb !important;
	border: 0 !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
	display: block !important;
	line-height: 0 !important;
	margin: 0 auto !important;
	max-width: none !important;
	overflow: hidden !important;
	padding: 0 !important;
	width: 100% !important;
}

.pch-embed-frame {
	background: #f4f1eb !important;
	border: 0 !important;
	box-shadow: none !important;
	display: block !important;
	margin: 0 !important;
	max-width: none !important;
	padding: 0 !important;
	width: 100% !important;
}

.pch-embed-fallback {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
	line-height: 1.4 !important;
	margin: 10px 0 0 !important;
	text-align: center !important;
}

.pch-embed-fallback a {
	color: #08263f !important;
	font-weight: 800 !important;
	text-decoration: none !important;
}

.pch-portal,
.pch-onepage,
.pch-onepage *,
.pch-onepage *::before,
.pch-onepage *::after {
	box-sizing: border-box;
}

.pch-onepage {
	isolation: isolate;
	line-height: 1.45;
	text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}

.pch-onepage :where(h1, h2, h3, h4, p, ol, ul, figure) {
	margin: 0;
}

.pch-onepage :where(button, input, select, textarea) {
	font: inherit;
}

.pch-onepage :where(img, svg) {
	max-width: 100%;
}

.pch-portal {
	background: #f4f1eb;
	color: var(--pch-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	margin: 0 auto;
	min-height: 80vh;
	padding: 28px;
}

.pch-onepage {
	background: #fbfaf7;
	border: 1px solid rgba(8, 38, 63, .1);
	border-radius: 8px;
	box-shadow: 0 22px 70px rgba(8, 38, 63, .12);
	color: var(--pch-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	margin: 0 auto;
	max-width: 1440px;
	overflow: visible;
	padding: 0;
}

.pch-onepage-hero {
	align-items: center;
	background: #fffaf3;
	border: 0;
	border-bottom: 1px solid rgba(8, 38, 63, .12);
	border-radius: 0;
	display: grid;
	gap: 24px;
	grid-template-columns: 260px minmax(0, 1fr) 138px;
	min-height: 170px;
	padding: 22px 28px;
	position: relative;
}

.pch-brand-lockup {
	align-items: center;
	display: flex;
	gap: 14px;
	min-width: 0;
}

.pch-brand-mark {
	background: rgba(255, 255, 255, .96);
	border: 4px solid var(--pch-secondary);
	border-radius: 999px;
	box-shadow: 0 18px 48px rgba(0, 0, 0, .25);
	height: 132px;
	object-fit: contain;
	padding: 8px;
	width: 132px;
}

.pch-brand-wordmark {
	background: transparent;
	border-radius: 0;
	height: auto;
	max-width: 245px;
	object-fit: contain;
	padding: 0;
	width: 100%;
}

.pch-hero-copy {
	align-self: center;
	max-width: 780px;
}

.pch-hero-copy h1 {
	color: var(--pch-primary);
	font-size: clamp(28px, 4vw, 52px);
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1;
	margin: 0 0 10px;
}

.pch-hero-copy > p:not(.pch-kicker) {
	color: var(--pch-muted);
	font-size: 15px;
	line-height: 1.55;
	margin: 0;
}

.pch-hero-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.pch-hero-pills span {
	background: rgba(185, 93, 46, .08);
	border: 1px solid rgba(185, 93, 46, .18);
	border-radius: 999px;
	color: var(--pch-secondary);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .08em;
	padding: 9px 12px;
	text-transform: uppercase;
}

.pch-client-logo-front {
	align-items: center;
	align-self: start;
	background: #fff;
	border: 1px solid rgba(8, 38, 63, .12);
	border-radius: 8px;
	box-shadow: 0 10px 26px rgba(8, 38, 63, .08);
	display: flex;
	height: 92px;
	justify-content: center;
	justify-self: end;
	padding: 10px;
	width: 118px;
}

.pch-client-logo-front img {
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
}

.pch-onepage-grid {
	display: grid;
	gap: 16px;
	margin: 18px 24px 0;
}

.pch-kpi-row {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 20px;
	position: relative;
	z-index: 2;
}

.pch-metric-card {
	background: #fffaf3;
	border: 1px solid rgba(8, 38, 63, .12);
	border-radius: 8px;
	box-shadow: 0 18px 48px rgba(8, 38, 63, .16);
	min-height: 126px;
	padding: 20px;
}

.pch-metric-card span,
.pch-metric-card em {
	color: var(--pch-muted);
	display: block;
	font-size: 11px;
	font-style: normal;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.pch-metric-card strong {
	color: var(--pch-primary);
	display: block;
	font-size: 42px;
	line-height: 1;
	margin: 9px 0;
}

.pch-metric-card em {
	color: var(--pch-secondary);
}

.pch-analytics-row {
	grid-template-columns: .8fr 1.05fr 1.15fr;
}

.pch-content-row,
.pch-milestone-row,
.pch-gantt-preview-row,
.pch-gantt-full-row,
.pch-calendar-full-row {
	grid-template-columns: 1fr 1fr;
}

.pch-work-row,
.pch-milestone-row,
.pch-gantt-preview-row,
.pch-gantt-full-row,
.pch-calendar-full-row {
	grid-template-columns: 1fr;
}

.pch-ops-row {
	grid-template-columns: .9fr 1fr .85fr;
}

.pch-onepage .pch-card {
	background: #fffaf3;
	border-color: rgba(8, 38, 63, .12);
	border-radius: 8px;
	box-shadow: 0 14px 36px rgba(8, 38, 63, .08);
	overflow: hidden;
}

.pch-card-headline {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 14px;
}

.pch-card-headline h2 {
	color: var(--pch-primary);
	font-size: 24px;
	line-height: 1.1;
	margin: 0;
}

.pch-dashboard-title {
	align-items: center;
	background: #fffaf3;
	border-bottom: 1px solid rgba(8, 38, 63, .1);
	border-top: 1px solid rgba(8, 38, 63, .1);
	display: flex;
	justify-content: space-between;
	margin: 22px 24px 0;
	padding: 22px 0 16px;
}

.pch-dashboard-title h2 {
	color: var(--pch-primary);
	font-size: clamp(26px, 4vw, 44px);
	line-height: 1;
	margin: 0;
}

.pch-dashboard-title img {
	height: 86px;
	object-fit: contain;
	width: 155px;
}

.pch-chart-card {
	background: #fffaf3 !important;
	border-top: 4px solid var(--pch-secondary);
	color: var(--pch-text);
}

.pch-chart-card .pch-card-label,
.pch-chart-card .pch-muted {
	color: var(--pch-muted);
}

.pch-donut {
	--pch-progress: 0;
	aspect-ratio: 1;
	background: conic-gradient(var(--pch-secondary) calc(var(--pch-progress) * 1%), rgba(8,38,63,.09) 0);
	border-radius: 50%;
	display: grid;
	margin: 10px auto 18px;
	max-width: 190px;
	place-items: center;
	position: relative;
}

.pch-donut::after {
	background: #fffaf3;
	border-radius: 50%;
	content: "";
	inset: 24px;
	position: absolute;
}

.pch-donut span {
	color: var(--pch-primary);
	font-size: 40px;
	font-weight: 900;
	position: relative;
	z-index: 1;
}

.pch-bars {
	display: grid;
	gap: 12px;
	max-height: 218px;
	overflow: auto;
	padding-right: 4px;
	scrollbar-width: thin;
}

.pch-bar-row {
	align-items: center;
	display: grid;
	gap: 10px;
	grid-template-columns: 112px minmax(0, 1fr) 48px;
}

.pch-bar-row span,
.pch-bar-row em {
	color: var(--pch-muted);
	font-size: 12px;
	font-style: normal;
	font-weight: 800;
}

.pch-bar-row b {
	background: rgba(8,38,63,.1);
	border-radius: 999px;
	display: block;
	height: 14px;
	overflow: hidden;
}

.pch-bar-row i {
	background: linear-gradient(90deg, var(--pch-primary), var(--pch-secondary));
	border-radius: inherit;
	display: block;
	height: 100%;
}

.pch-sparkline {
	background: #f1e8dc;
	border-radius: 8px;
	height: 188px;
	padding: 10px;
	width: 100%;
}

.pch-sparkline polyline {
	fill: none;
	stroke: #d47a46;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 7;
}

.pch-sparkline line {
	stroke-linecap: round;
	stroke-width: 7;
}

.pch-sparkline circle {
	stroke: #fffaf3;
	stroke-width: 2;
}

.pch-file-tree {
	background: #fff;
	border: 1px solid rgba(8, 38, 63, .12);
	border-radius: 8px;
	display: grid;
	max-height: 360px;
	overflow: auto;
	padding: 8px;
}

.pch-file-folder-node {
	border-bottom: 1px solid rgba(8, 38, 63, .08);
}

.pch-file-folder-node:last-child {
	border-bottom: 0;
}

.pch-file-folder-node summary {
	align-items: center;
	border-radius: 6px;
	cursor: pointer;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	list-style: none;
	padding: 10px;
}

.pch-file-folder-node summary::-webkit-details-marker {
	display: none;
}

.pch-file-folder-node summary::before {
	border-color: transparent transparent transparent var(--pch-muted);
	border-style: solid;
	border-width: 5px 0 5px 7px;
	content: "";
	flex: 0 0 auto;
	transition: transform .18s ease;
}

.pch-file-folder-node[open] summary::before {
	transform: rotate(90deg);
}

.pch-file-folder-node summary:hover {
	background: rgba(8, 38, 63, .05);
}

.pch-folder-icon {
	background: #d7a04d;
	border-radius: 3px;
	box-shadow: inset 0 -8px 0 rgba(185, 93, 46, .28);
	display: inline-block;
	flex: 0 0 auto;
	height: 16px;
	position: relative;
	width: 22px;
}

.pch-folder-icon::before {
	background: #e8bd73;
	border-radius: 3px 3px 0 0;
	content: "";
	height: 6px;
	left: 2px;
	position: absolute;
	top: -4px;
	width: 10px;
}

.pch-file-folder-node summary strong {
	color: var(--pch-primary);
	flex: 1;
	font-size: 13px;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pch-file-folder-node summary em {
	color: var(--pch-muted);
	font-size: 12px;
	font-weight: 800;
	font-style: normal;
	white-space: nowrap;
}

.pch-file-node-list {
	border-left: 1px solid rgba(8, 38, 63, .12);
	display: grid;
	gap: 0;
	list-style: none;
	margin: 0 0 8px 27px;
	padding: 2px 0 2px 12px;
}

.pch-file-node-list li {
	align-items: center;
	border-radius: 6px;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	padding: 8px 10px;
	position: relative;
}

.pch-file-node-list li::before {
	background: rgba(8, 38, 63, .12);
	content: "";
	height: 1px;
	left: -12px;
	position: absolute;
	top: 50%;
	width: 10px;
}

.pch-file-node-list li:hover {
	background: rgba(8, 38, 63, .04);
}

.pch-file-icon {
	background: #f8fafc;
	border: 1px solid rgba(8, 38, 63, .22);
	border-radius: 2px;
	display: inline-block;
	flex: 0 0 auto;
	height: 18px;
	position: relative;
	width: 14px;
}

.pch-file-icon::after {
	background: rgba(185, 93, 46, .2);
	content: "";
	height: 1px;
	left: 3px;
	position: absolute;
	top: 6px;
	width: 8px;
	box-shadow: 0 4px 0 rgba(185, 93, 46, .2), 0 8px 0 rgba(185, 93, 46, .2);
}

.pch-file-node-list a {
	color: var(--pch-primary);
	flex: 1;
	font-weight: 800;
	min-width: 0;
	overflow: hidden;
	text-decoration: none;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pch-file-node-list span {
	color: var(--pch-secondary);
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
}

.pch-mini-table {
	border-collapse: collapse;
	width: 100%;
}

.pch-mini-table th,
.pch-mini-table td {
	border-bottom: 1px solid var(--pch-line);
	padding: 11px 8px;
	text-align: left;
	vertical-align: top;
}

.pch-mini-table th {
	color: var(--pch-muted);
	font-size: 10px;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.pch-mini-table strong,
.pch-mini-table small {
	display: block;
}

.pch-mini-table small {
	color: var(--pch-muted);
	font-size: 11px;
	line-height: 1.35;
	margin-top: 3px;
}

.pch-onepage-calendar {
	display: grid;
	gap: 16px;
	max-height: 620px;
	overflow: auto;
	padding-right: 4px;
}

.pch-calendar-month {
	border: 1px solid var(--pch-line);
	border-radius: 8px;
	display: grid;
	grid-template-columns: repeat(7, minmax(82px, 1fr));
	max-height: 520px;
	overflow: auto;
	background: #fff;
}

.pch-calendar-title {
	align-items: center;
	background: #fffaf3;
	border-bottom: 1px solid var(--pch-line);
	display: flex;
	grid-column: 1 / -1;
	justify-content: space-between;
	padding: 12px 14px;
}

.pch-calendar-title strong {
	color: var(--pch-primary);
	font-size: 16px;
}

.pch-calendar-title span {
	color: var(--pch-muted);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.pch-calendar-weekday {
	background: #f7f3eb;
	border-bottom: 1px solid var(--pch-line);
	border-right: 1px solid rgba(8, 38, 63, .08);
	color: var(--pch-primary);
	font-size: 11px;
	font-weight: 900;
	padding: 8px;
	text-align: center;
	text-transform: uppercase;
}

.pch-calendar-day {
	background: #fff;
	border-bottom: 1px solid rgba(8, 38, 63, .08);
	border-right: 1px solid rgba(8, 38, 63, .08);
	min-height: 112px;
	padding: 7px;
}

.pch-calendar-day.is-empty {
	background: #fbf7f1;
}

.pch-calendar-day time {
	color: var(--pch-secondary);
	display: block;
	font-size: 13px;
	font-weight: 900;
	line-height: 1;
	margin-bottom: 7px;
}

.pch-calendar-day em {
	color: var(--pch-muted);
	display: block;
	font-size: 11px;
	font-style: normal;
	font-weight: 800;
	margin-top: 5px;
}

.pch-gantt {
	border: 1px solid var(--pch-line);
	border-radius: 8px;
	overflow: auto;
	width: 100%;
	background: #fff;
}

.pch-gantt.is-compact {
	max-height: 520px;
}

.pch-gantt-grid {
	display: grid;
	grid-template-columns: 300px repeat(182, 30px);
	min-width: 5760px;
}

.pch-gantt-head {
	background: #f7f3eb;
	color: var(--pch-primary);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0;
	position: sticky;
	top: 0;
	z-index: 3;
}

.pch-gantt-task,
.pch-gantt-day,
.pch-gantt-track {
	border-bottom: 1px solid rgba(8, 38, 63, .1);
	min-height: 48px;
}

.pch-gantt-task {
	background: #fffaf3;
	border-right: 1px solid rgba(8, 38, 63, .12);
	left: 0;
	padding: 10px 12px;
	position: sticky;
	z-index: 4;
}

.pch-gantt-task.pch-gantt-head {
	align-items: center;
	display: flex;
	min-height: 58px;
	z-index: 6;
}

.pch-gantt-task strong,
.pch-gantt-task span {
	display: block;
}

.pch-gantt-task strong {
	color: var(--pch-primary);
	font-size: 12px;
	line-height: 1.2;
}

.pch-gantt-task span {
	color: var(--pch-muted);
	font-size: 11px;
	margin-top: 3px;
}

.pch-gantt-task-link {
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: block;
	font: inherit;
	padding: 0;
	text-align: left;
	text-decoration: none;
	width: 100%;
}

.pch-onepage.pch-onepage .pch-gantt-task-link,
.pch-onepage.pch-onepage .pch-gantt-task-link:link,
.pch-onepage.pch-onepage .pch-gantt-task-link:visited,
.pch-onepage.pch-onepage .pch-gantt-task-link:hover,
.pch-onepage.pch-onepage .pch-gantt-task-link:active,
.pch-onepage.pch-onepage .pch-gantt-task-link:focus,
.pch-onepage.pch-onepage .pch-gantt-task-link:focus-visible {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: inherit !important;
	outline: 0 !important;
	text-decoration: none !important;
}

.pch-gantt-track {
	background:
		repeating-linear-gradient(90deg, rgba(8, 38, 63, .055) 0, rgba(8, 38, 63, .055) 1px, transparent 1px, transparent 30px),
		repeating-linear-gradient(90deg, transparent 0, transparent 209px, rgba(8, 38, 63, .13) 209px, rgba(8, 38, 63, .13) 210px);
	display: grid;
	grid-column: 2 / span 182;
	grid-template-columns: repeat(182, 30px);
	padding: 13px 0;
	position: relative;
}

.pch-gantt-day {
	align-items: center;
	border-left: 1px solid rgba(8, 38, 63, .07);
	display: grid;
	justify-items: center;
	min-height: 58px;
	padding: 4px 0;
}

.pch-gantt-day.is-week-start {
	border-left-color: rgba(8, 38, 63, .22);
}

.pch-gantt-day.is-month-start {
	background: #efe4d8;
}

.pch-gantt-day span,
.pch-gantt-day small {
	display: block;
	line-height: 1;
}

.pch-gantt-day span {
	font-size: 12px;
}

.pch-gantt-day small {
	color: var(--pch-muted);
	font-size: 8px;
	margin-top: 4px;
	text-transform: uppercase;
}

.pch-gantt-bar {
	align-items: center;
	background: var(--pch-gantt-color, var(--pch-secondary));
	border-radius: 999px;
	box-shadow: 0 7px 16px rgba(8, 38, 63, .14);
	color: #fff;
	display: flex;
	font-size: 11px;
	font-weight: 900;
	grid-column: var(--pch-gantt-start, 1) / span var(--pch-gantt-duration, 3);
	height: 24px;
	justify-content: center;
	margin: 0 3px;
	min-width: 34px;
	overflow: hidden;
	padding: 0 10px;
	white-space: nowrap;
}

.pch-calendar-action {
	background: rgba(185, 93, 46, .1);
	border: 1px solid rgba(185, 93, 46, .18);
	border-radius: 6px;
	display: grid;
	gap: 2px;
	margin-top: 5px;
	min-height: 0;
	padding: 6px;
}

.pch-calendar-action strong {
	color: var(--pch-primary);
	font-size: 11px;
	line-height: 1.2;
}

.pch-calendar-action span {
	color: var(--pch-muted);
	font-size: 10px;
}

.pch-approval-summary {
	align-items: baseline;
	background: rgba(185,93,46,.08);
	border: 1px solid rgba(185,93,46,.16);
	border-radius: 14px;
	display: flex;
	gap: 10px;
	margin-bottom: 12px;
	padding: 12px;
}

.pch-approval-summary strong {
	color: var(--pch-secondary);
	font-size: 38px;
	line-height: 1;
}

.pch-approval-summary span {
	color: var(--pch-text);
	font-weight: 800;
}

.pch-onepage-footer {
	align-items: center;
	background: #fffaf3;
	border-top: 1px solid rgba(8, 38, 63, .1);
	color: var(--pch-muted);
	display: flex;
	gap: 16px;
	justify-content: center;
	margin-top: 24px;
	padding: 20px;
}

.pch-onepage-footer img {
	background: transparent;
	border-radius: 8px;
	height: 84px;
	object-fit: contain;
	padding: 8px;
	width: 150px;
}

.pch-clickable,
.pch-list-action,
.pch-row-action,
.pch-timeline-action,
.pch-calendar-action {
	color: inherit;
	cursor: pointer;
	font: inherit;
	text-align: left;
	text-decoration: none;
}

button.pch-clickable,
button.pch-list-action,
button.pch-row-action,
button.pch-timeline-action,
button.pch-calendar-action {
	border: 0;
	width: 100%;
}

.pch-list-action,
.pch-timeline-action {
	background: transparent;
	display: block;
	padding: 0;
}

.pch-row-action {
	align-items: center;
	background: transparent;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(0, 1fr) 92px 110px;
	padding: 0;
	width: 100%;
}

.pch-calendar-action {
	display: grid;
	gap: 2px;
	min-height: 0;
	width: 100%;
}

button.pch-calendar-action {
	background: rgba(185, 93, 46, .1);
	border: 1px solid rgba(185, 93, 46, .18);
	border-radius: 6px;
	padding: 6px;
}

.pch-row-action:hover,
.pch-list-action:hover,
.pch-timeline-action:hover,
.pch-calendar-action:hover {
	color: var(--pch-primary);
	outline: 2px solid rgba(185, 93, 46, .22);
	outline-offset: 3px;
}

.pch-modal[hidden] {
	display: none;
}

.pch-modal-open {
	overflow: hidden;
}

.pch-modal {
	inset: 0;
	position: fixed;
	z-index: 99999;
}

.pch-modal-backdrop {
	background: rgba(8, 38, 63, .46);
	inset: 0;
	position: absolute;
}

.pch-modal-panel {
	background: #fffaf3;
	border-radius: 8px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
	left: 50%;
	max-width: 620px;
	padding: 28px;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: min(calc(100vw - 32px), 620px);
}

.pch-modal-panel h2 {
	color: var(--pch-primary);
	font-size: 30px;
	line-height: 1.1;
	margin: 0 0 12px;
}

.pch-modal-panel p[data-pch-modal-body] {
	color: var(--pch-text);
	line-height: 1.6;
	margin: 14px 0 0;
	white-space: pre-line;
}

.pch-modal-meta {
	color: var(--pch-secondary);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.pch-modal-close {
	background: var(--pch-primary);
	border: 0;
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	font-size: 24px;
	height: 36px;
	line-height: 1;
	position: absolute;
	right: 14px;
	top: 14px;
	width: 36px;
}

.pch-onepage-footer span {
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.pch-header {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin: 0 auto 18px;
	max-width: 1180px;
}

.pch-header h1,
.pch-login h1 {
	color: var(--pch-primary);
	font-size: clamp(28px, 4vw, 44px);
	letter-spacing: 0;
	line-height: 1.05;
	margin: 4px 0 0;
}

.pch-kicker,
.pch-card-label {
	color: var(--pch-accent);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.pch-nav {
	display: flex;
	gap: 8px;
	margin: 0 auto 22px;
	max-width: 1180px;
	overflow-x: auto;
	padding-bottom: 6px;
}

.pch-nav a {
	background: #fff;
	border: 1px solid #E5E7EB;
	border-radius: 8px;
	color: var(--pch-text);
	flex: 0 0 auto;
	padding: 10px 12px;
	text-decoration: none;
}

.pch-nav a.is-active {
	background: var(--pch-primary);
	border-color: var(--pch-primary);
	color: #fff;
}

.pch-view {
	margin: 0 auto;
	max-width: 1180px;
}

.pch-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pch-grid-dashboard {
	grid-template-columns: 1.2fr 1fr 0.7fr;
}

.pch-card {
	background: #fff;
	border: 1px solid #E5E7EB;
	border-radius: 8px;
	box-shadow: 0 12px 30px rgba(11, 31, 58, 0.06);
	padding: 20px;
}

.pch-card h2 {
	color: var(--pch-primary);
	font-size: 22px;
	letter-spacing: 0;
	margin: 0 0 8px;
}

.pch-wide {
	grid-column: 1 / -1;
}

.pch-project-state {
	border-left: 6px solid #16A34A;
}

.pch-count-card strong {
	color: var(--pch-secondary);
	display: block;
	font-size: 56px;
	line-height: 1;
}

.pch-count-card span,
.pch-muted,
.pch-empty,
.pch-footer,
.pch-list span {
	color: var(--pch-muted);
}

.pch-list {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pch-list li {
	border-bottom: 1px solid #EEF0F3;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding-bottom: 10px;
}

.pch-list a,
.pch-list strong {
	color: var(--pch-primary);
	text-decoration: none;
}

.pch-status,
.pch-badge {
	background: #EAF1FF;
	border-radius: 999px;
	color: var(--pch-secondary);
	font-size: 12px;
	font-weight: 700;
	padding: 7px 10px;
	text-transform: uppercase;
}

.pch-status-paused {
	background: #FFF7E6;
	color: #9A6700;
}

.pch-status-closed {
	background: #F3F4F6;
	color: #4B5563;
}

.pch-table {
	border-collapse: collapse;
	width: 100%;
}

.pch-table th,
.pch-table td {
	border-bottom: 1px solid #E5E7EB;
	padding: 12px;
	text-align: left;
}

.pch-table th {
	color: var(--pch-muted);
	font-size: 12px;
	text-transform: uppercase;
}

.pch-calendar {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pch-calendar div {
	border: 1px solid #E5E7EB;
	border-radius: 8px;
	display: grid;
	gap: 6px;
	padding: 14px;
}

.pch-calendar time,
.pch-timeline time {
	color: var(--pch-muted);
	font-size: 13px;
}

.pch-timeline {
	border-left: 2px solid #E5E7EB;
	display: grid;
	gap: 16px;
	list-style: none;
	margin: 0;
	padding-left: 18px;
}

.pch-timeline li {
	position: relative;
}

.pch-timeline li::before {
	background: var(--pch-accent);
	border-radius: 999px;
	content: "";
	height: 10px;
	left: -24px;
	position: absolute;
	top: 4px;
	width: 10px;
}

.pch-timeline strong {
	color: var(--pch-primary);
	display: block;
	margin-top: 3px;
}

.pch-report-frame {
	aspect-ratio: 16 / 9;
	border: 1px solid #E5E7EB;
	border-radius: 8px;
	margin: 12px 0;
	width: 100%;
}

.pch-button {
	background: var(--pch-secondary);
	border: 0;
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-weight: 700;
	justify-content: center;
	padding: 11px 14px;
	text-decoration: none;
}

.pch-button-muted {
	background: #4B5563;
}

.pch-search {
	display: flex;
	gap: 8px;
	margin: 0 0 16px;
}

.pch-search input,
.pch-approval-form textarea {
	border: 1px solid #D1D5DB;
	border-radius: 8px;
	padding: 11px;
	width: 100%;
}

.pch-check-list {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
}

.pch-check-list li {
	align-items: center;
	border: 1px solid #E5E7EB;
	border-radius: 8px;
	display: flex;
	justify-content: space-between;
	padding: 12px;
}

.pch-actions {
	display: flex;
	gap: 10px;
	margin-top: 12px;
}

.pch-welcome {
	background: #fff;
	border: 1px solid #E5E7EB;
	border-radius: 8px;
	display: grid;
	gap: 14px;
	margin: 0 auto 20px;
	max-width: 1180px;
	padding: 18px;
}

.pch-welcome-cards {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, 1fr);
}

.pch-welcome-cards span {
	background: var(--pch-bg);
	border-radius: 8px;
	font-weight: 700;
	padding: 12px;
}

.pch-login {
	display: grid;
	place-items: center;
}

.pch-login-panel {
	background: #fff;
	border: 1px solid #E5E7EB;
	border-radius: 8px;
	max-width: 560px;
	padding: 32px;
}

.pch-footer {
	margin: 24px auto 0;
	max-width: 1180px;
}

.pch-alert,
.pch-denied {
	background: #FEF2F2;
	border: 1px solid #FECACA;
	border-radius: 8px;
	color: #991B1B;
	padding: 16px;
}

.pch-onepage > .pch-onepage-hero {
	position: sticky;
	top: 0;
	z-index: 30;
}

.pch-view-filters {
	align-items: end;
	background: rgba(255, 250, 243, .96);
	border-bottom: 1px solid rgba(8, 38, 63, .12);
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding: 12px 28px;
	position: sticky;
	top: 170px;
	z-index: 29;
}

.pch-onepage .pch-card:has(.pch-bars) {
	max-height: 360px;
	overflow: hidden;
}

.pch-bars {
	max-height: 260px;
}

.pch-bar-row {
	grid-template-columns: minmax(0, 140px) minmax(0, 1fr) 42px;
}

.pch-bar-row span {
	text-overflow: ellipsis;
}

.pch-calendar-action strong {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pch-view-filters label {
	color: var(--pch-muted);
	display: grid;
	font-size: 12px;
	font-weight: 800;
	gap: 4px;
	text-transform: uppercase;
}

.pch-view-filters select {
	border: 1px solid rgba(8, 38, 63, .16);
	border-radius: 6px;
	min-width: 190px;
	padding: 8px 10px;
}

.pch-button.is-ghost {
	background: #fff;
	color: var(--pch-primary);
}

.pch-calendar-item-wrap {
	position: relative;
}

.pch-calendar-link {
	align-items: center;
	background: var(--pch-primary);
	border-radius: 999px;
	color: #fff;
	display: flex;
	font-size: 10px;
	height: 18px;
	justify-content: center;
	position: absolute;
	right: -5px;
	text-decoration: none;
	top: 0;
	width: 18px;
}

.pch-chat {
	bottom: 24px;
	position: fixed;
	right: 24px;
	z-index: 60;
}

.pch-chat-toggle {
	background: #C1663E !important;
	border: 0 !important;
	border-radius: 999px;
	box-shadow: 0 14px 32px rgba(193, 102, 62, .32);
	color: #fff !important;
	cursor: pointer;
	font-weight: 900;
	min-width: 126px;
	padding: 12px 22px;
	transition: background .18s ease, box-shadow .18s ease, min-width .18s ease, transform .18s ease;
}

.pch-chat-toggle:hover {
	background: #A94F2E !important;
	box-shadow: 0 16px 36px rgba(193, 102, 62, .42);
}

.pch-chat.is-unread .pch-chat-toggle {
	background: #8F3E25 !important;
	box-shadow: 0 18px 44px rgba(143, 62, 37, .48);
	min-width: 190px;
	transform: translateY(-1px);
}

.pch-chat.is-unread .pch-chat-toggle::after {
	background: #fff;
	border-radius: 999px;
	color: #8F3E25;
	content: "Nuevo";
	display: inline-block;
	font-size: 10px;
	font-weight: 900;
	line-height: 1;
	margin-left: 10px;
	padding: 5px 7px;
	text-transform: uppercase;
}

.pch-chat-panel {
	background: #fff;
	border: 1px solid rgba(8, 38, 63, .16);
	border-radius: 8px;
	bottom: 54px;
	box-shadow: 0 22px 70px rgba(8, 38, 63, .24);
	position: absolute;
	right: 0;
	width: min(360px, calc(100vw - 36px));
}

.pch-chat-panel header {
	align-items: center;
	border-bottom: 1px solid rgba(8, 38, 63, .1);
	display: flex;
	justify-content: space-between;
	padding: 12px 14px;
}

.pch-chat-panel header button {
	background: transparent;
	border: 0;
	cursor: pointer;
	font-size: 22px;
}

.pch-chat-log {
	display: grid;
	gap: 10px;
	max-height: 310px;
	overflow: auto;
	padding: 14px;
}

.pch-chat-message {
	background: #f5f7f8;
	border-radius: 8px;
	padding: 10px;
}

.pch-chat-message.is-me {
	background: rgba(185, 93, 46, .12);
}

.pch-chat-message p {
	margin: 4px 0;
}

.pch-chat-message small {
	color: var(--pch-muted);
	font-size: 11px;
}

.pch-chat-form {
	border-top: 1px solid rgba(8, 38, 63, .1);
	display: grid;
	gap: 8px;
	padding: 12px;
}

.pch-chat-form textarea {
	border: 1px solid rgba(8, 38, 63, .16);
	border-radius: 6px;
	resize: vertical;
}

.pch-chat-form .pch-button {
	background: var(--pch-primary);
	border-color: var(--pch-primary);
	color: #fff;
}

.pch-mention-wrap {
	position: relative;
}

.pch-mention-menu {
	background: #fff;
	border: 1px solid rgba(8, 38, 63, .14);
	border-radius: 8px;
	bottom: calc(100% + 6px);
	box-shadow: 0 14px 34px rgba(8, 38, 63, .16);
	display: grid;
	left: 0;
	max-height: 210px;
	overflow: auto;
	position: absolute;
	right: 0;
	z-index: 3;
}

.pch-mention-menu button {
	background: transparent;
	border: 0;
	border-bottom: 1px solid rgba(8, 38, 63, .08);
	cursor: pointer;
	display: grid;
	gap: 2px;
	padding: 9px 10px;
	text-align: left;
}

.pch-mention-menu button:hover {
	background: rgba(8, 38, 63, .06);
}

.pch-mention-menu strong {
	color: var(--pch-primary);
}

.pch-mention-menu span {
	color: var(--pch-muted);
	font-size: 12px;
}

.pch-chat-login {
	color: var(--pch-muted);
	margin: 0;
	padding: 14px;
}

@media (max-width: 900px) {
	.pch-grid,
	.pch-grid-dashboard {
		grid-template-columns: 1fr;
	}

	.pch-onepage-hero,
	.pch-kpi-row,
	.pch-analytics-row,
	.pch-work-row,
	.pch-ops-row,
	.pch-milestone-row,
	.pch-content-row {
		grid-template-columns: 1fr;
	}

	.pch-client-logo-front {
		height: 82px;
		width: 110px;
	}

	.pch-brand-wordmark {
		max-width: 230px;
	}

	.pch-header {
		align-items: flex-start;
		gap: 12px;
		flex-direction: column;
	}

	.pch-view-filters {
		top: 132px;
	}

	.pch-welcome-cards {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.pch-portal {
		padding: 18px 12px;
	}

	.pch-onepage {
		border-radius: 14px;
	}

	.pch-onepage-hero {
		padding: 14px;
	}

	.pch-brand-lockup {
		align-items: flex-start;
		flex-direction: column;
	}

	.pch-brand-mark {
		height: 54px;
		width: 54px;
	}

	.pch-brand-wordmark {
		height: auto;
		width: min(100%, 250px);
	}

	.pch-dashboard-title,
	.pch-onepage-grid {
		margin-left: 12px;
		margin-right: 12px;
	}

	.pch-dashboard-title {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.pch-dashboard-title img {
		height: 70px;
		width: 130px;
	}

	.pch-onepage-calendar {
		grid-template-columns: 1fr;
	}

	.pch-mini-table {
		min-width: 620px;
	}

	.pch-list li,
	.pch-check-list li,
	.pch-search,
	.pch-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.pch-table-card {
		overflow-x: auto;
	}
}
