.projectflow-wrap,
.projectflow-admin {
	--pf-accent: #1e88e5;
	--pf-text: #111111;
	--pf-muted: #666666;
	--pf-border: #dddddd;
	--pf-bg: #ffffff;
	--pf-soft: #f7f8fa;
	color: var(--pf-text);
	font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.projectflow-wrap {
	box-sizing: border-box;
	margin: 0 calc(50% - min(720px, calc(50vw - 32px)));
	max-width: none;
	padding: 40px 32px 56px;
	width: min(1440px, calc(100vw - 64px));
}

.projectflow-wrap * {
	box-sizing: border-box;
}

.pf-portal-header {
	align-items: center;
	background: var(--pf-bg);
	border: 1px solid var(--pf-border);
	border-radius: 8px;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin: 0 auto 24px;
	max-width: none;
	padding: 28px;
	width: 100%;
}

.pf-portal-header h1 {
	font-size: 32px;
	line-height: 1.15;
	margin: 4px 0 12px;
}

.pf-portal-header p,
.pf-project-meta,
.pf-card span,
.pf-muted {
	color: var(--pf-muted);
}

.pf-logo {
	height: 48px;
	margin-bottom: 12px;
	width: auto;
}

.pf-project-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.pf-progress-block {
	min-width: 220px;
}

.pf-progress-block strong {
	display: block;
	font-size: 28px;
	margin-bottom: 8px;
}

.pf-progress,
.pf-progress-row .pf-progress {
	background: #eeeeee;
	border-radius: 999px;
	height: 10px;
	overflow: hidden;
}

.pf-progress span {
	background: var(--pf-accent);
	display: block;
	height: 100%;
	transition: width .2s ease;
}

.pf-section,
.pf-panel,
.pf-tabs,
.pf-project-cards {
	margin-left: auto;
	margin-right: auto;
	max-width: none;
	width: 100%;
}

.pf-section {
	margin-bottom: 20px;
}

.pf-tabs {
	border-bottom: 1px solid var(--pf-border);
	display: flex;
	gap: 4px;
	justify-content: center;
	overflow-x: auto;
}

.pf-tabs button {
	background: transparent;
	border: 0;
	border-bottom: 3px solid transparent;
	color: var(--pf-muted);
	cursor: pointer;
	font: inherit;
	padding: 14px 16px;
	white-space: nowrap;
}

.pf-tabs button.is-active {
	border-color: var(--pf-accent);
	color: var(--pf-text);
}

.pf-panel {
	display: none;
	padding: 24px 0;
}

.pf-panel.is-active {
	display: block;
}

.pf-accordion,
.pf-card,
.pf-project-card,
.pf-upload,
.pf-file,
.pf-task,
.pf-activity,
.pf-team article,
.pf-event {
	background: var(--pf-bg);
	border: 1px solid var(--pf-border);
	border-radius: 8px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .04);
}

.pf-accordion {
	margin-bottom: 14px;
	padding: 16px;
}

.pf-accordion summary {
	align-items: center;
	cursor: pointer;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(180px, 1fr) auto auto;
}

.pf-task-list,
.pf-file-list,
.pf-list,
.pf-team,
.pf-calendar-grid {
	display: grid;
	gap: 12px;
	margin-top: 16px;
}

.pf-task {
	align-items: center;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(180px, 1.4fr) minmax(100px, .8fr) minmax(120px, .9fr) minmax(92px, auto) auto minmax(130px, .8fr);
	padding: 14px;
}

.pf-file,
.pf-activity {
	align-items: center;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(180px, 1.4fr) minmax(100px, .8fr) minmax(120px, .9fr) auto minmax(130px, .8fr);
	padding: 14px;
}

.pf-owner-sections {
	display: grid;
	gap: 22px;
}

.pf-owner-section {
	border-left: 4px solid var(--pf-user-color);
	padding-left: 14px;
}

.pf-owner-section h2 {
	font-size: 22px;
	margin: 0 0 12px;
}

.pf-owner-admin {
	border-left-color: var(--pf-admin-color);
}

.pf-task.pf-owner-user {
	border-left: 4px solid var(--pf-user-color);
}

.pf-task.pf-owner-admin {
	border-left: 4px solid var(--pf-admin-color);
}

.pf-dependency {
	color: var(--pf-muted);
	font-size: 12px;
}

.pf-expected-days {
	color: var(--pf-muted);
	font-size: 13px;
	white-space: nowrap;
}

.pf-task label {
	align-items: center;
	display: flex;
	gap: 10px;
}

.pf-task-description {
	background: var(--pf-soft);
	border: 1px solid var(--pf-border);
	border-radius: 6px;
	grid-column: 1 / -1;
	padding: 10px 12px;
}

.pf-task-description summary {
	color: var(--pf-text);
	cursor: pointer;
	font-size: 13px;
	font-weight: 800;
}

.pf-task-description div {
	color: var(--pf-text);
	font-size: 14px;
	line-height: 1.45;
	margin-top: 8px;
}

.pf-task-description p {
	margin: 0 0 8px;
}

.pf-task-description p:last-child {
	margin-bottom: 0;
}

.pf-badge {
	background: var(--pf-soft);
	border: 1px solid var(--pf-border);
	border-radius: 999px;
	display: inline-flex;
	font-size: 12px;
	justify-content: center;
	padding: 4px 10px;
	text-transform: capitalize;
}

.pf-button,
.projectflow-login input[type="submit"] {
	background: var(--pf-accent);
	border: 1px solid var(--pf-accent);
	border-radius: 8px;
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 650;
	padding: 9px 14px;
	text-decoration: none;
}

.pf-button:hover,
.projectflow-login input[type="submit"]:hover {
	color: #ffffff;
	filter: brightness(.94);
}

.pf-upload {
	display: grid;
	gap: 12px;
	margin-bottom: 18px;
	padding: 16px;
}

.pf-upload-rules {
	background: var(--pf-soft);
	border: 1px solid var(--pf-border);
	border-radius: 8px;
	display: grid;
	gap: 8px 14px;
	grid-template-columns: max-content 1fr;
	margin-bottom: 14px;
	padding: 14px;
}

.pf-upload input,
.projectflow-login input[type="text"],
.projectflow-login input[type="password"],
.projectflow-login input[type="url"],
.pf-form input,
.pf-form textarea,
.pf-form select {
	border: 1px solid var(--pf-border);
	border-radius: 8px;
	font: inherit;
	max-width: 100%;
	padding: 9px 10px;
}

.projectflow-admin .pf-form input[type="text"],
.projectflow-admin .pf-form input[type="url"],
.projectflow-admin .pf-form input.regular-text,
.projectflow-admin .pf-form select {
	min-width: 260px;
}

.projectflow-admin .pf-form input[type="date"] {
	min-width: 150px;
}

.projectflow-admin .pf-form input[type="number"] {
	min-width: 90px;
}

.projectflow-admin .pf-form input[type="color"] {
	height: 38px;
	min-width: 54px;
	padding: 3px;
	width: 54px;
}

.projectflow-admin .pf-form textarea {
	min-height: 72px;
	resize: both;
	width: min(100%, 820px);
}

.projectflow-admin .pf-color-row {
	align-items: end;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
}

.projectflow-admin .pf-color-row label {
	display: block;
	font-weight: 600;
}

.projectflow-admin .pf-form-row {
	align-items: start;
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(170px, max-content));
	margin: 0 0 14px;
}

.projectflow-admin .pf-task-meta-row {
	grid-template-columns: repeat(2, minmax(260px, max-content));
}

.projectflow-admin .pf-form-row label {
	display: block;
}

.projectflow-admin .pf-create-task-fields {
	display: grid;
	gap: 12px 14px;
	grid-template-columns: repeat(2, minmax(240px, 1fr));
	margin: 0 0 14px;
	max-width: 620px;
}

.projectflow-admin .pf-form-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.projectflow-admin .pf-form-field label {
	display: block;
	font-weight: 500;
	margin: 0;
}

.projectflow-admin .pf-form .pf-form-field input,
.projectflow-admin .pf-form .pf-form-field select {
	margin: 0;
	min-width: 0;
	width: 100%;
}

.projectflow-admin .pf-form .pf-form-field input[type="color"] {
	width: 54px;
}

.projectflow-admin .pf-project-basic-fields {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(220px, max-content));
	margin: 0 0 18px;
	max-width: 760px;
}

.projectflow-admin .pf-project-info-fields {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(260px, 1fr));
	margin: 0 0 18px;
	max-width: 980px;
}

.projectflow-admin .pf-project-info-fields textarea,
.projectflow-admin .pf-project-info-fields input[type="text"],
.projectflow-admin .pf-project-info-fields input[type="url"] {
	width: 100%;
}

.projectflow-admin .pf-qr-preview {
	min-height: 44px;
}

.projectflow-admin .pf-qr-preview img {
	border: 1px solid var(--pf-border);
	border-radius: 6px;
	height: auto;
	max-width: 120px;
}

.pf-message {
	color: var(--pf-muted);
	min-height: 20px;
}

.pf-project-cards,
.pf-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pf-project-card,
.pf-card {
	padding: 18px;
}

.pf-project-card h2 {
	font-size: 22px;
	margin: 0 0 12px;
}

.pf-team {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pf-team article,
.pf-event {
	padding: 14px;
}

.pf-project-info {
	border: 1px solid var(--pf-border);
	border-radius: 8px;
	display: grid;
	gap: 20px;
	grid-template-columns: minmax(0, 1fr) auto;
	margin: 0 auto 24px;
	max-width: none;
	padding: 18px;
	width: 100%;
}

.pf-project-info h2,
.pf-project-info h3 {
	margin: 0 0 12px;
}

.pf-project-info dl {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(180px, 1fr));
	margin: 0;
}

.pf-project-info dt {
	color: var(--pf-muted);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.pf-project-info dd {
	margin: 3px 0 0;
	overflow-wrap: anywhere;
}

.pf-project-qr {
	text-align: center;
}

.pf-project-qr img {
	border: 1px solid var(--pf-border);
	border-radius: 8px;
	height: auto;
	max-width: 180px;
}

.pf-calendar {
	border: 1px solid var(--pf-border);
	border-radius: 8px;
	overflow: hidden;
	touch-action: pan-y;
}

.pf-calendar-stack {
	display: grid;
	gap: 18px;
}

.pf-calendar-title {
	align-items: center;
	background: var(--pf-bg);
	border-bottom: 1px solid var(--pf-border);
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding: 16px;
}

.pf-calendar-title h2 {
	font-size: 22px;
	margin: 0;
}

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

.pf-calendar-month-bars {
	display: grid;
	grid-auto-rows: minmax(118px, auto);
	grid-template-columns: repeat(7, minmax(0, 1fr));
	position: relative;
}

.pf-calendar-weekdays span {
	background: var(--pf-soft);
	border-bottom: 1px solid var(--pf-border);
	color: var(--pf-muted);
	font-size: 12px;
	font-weight: 700;
	padding: 10px;
	text-align: center;
	text-transform: uppercase;
}

.pf-calendar-day {
	background: var(--pf-bg);
	border-bottom: 1px solid var(--pf-border);
	border-right: 1px solid var(--pf-border);
	min-height: 118px;
	padding: 8px;
	position: relative;
}

.pf-calendar-day:nth-child(7n) {
	border-right: 0;
}

.pf-calendar-day.is-empty {
	background: #fafafa;
}

.pf-calendar-day > strong {
	display: block;
	font-size: 13px;
	margin-bottom: 6px;
	position: relative;
	z-index: 4;
}

.pf-calendar-event {
	background: #ffffff;
	border: 1px solid var(--pf-border);
	border-left: 3px solid var(--pf-accent);
	border-radius: 6px;
	color: var(--pf-text);
	cursor: pointer;
	display: block;
	font: inherit;
	font-size: 12px;
	line-height: 1.25;
	margin: 0 0 5px;
	padding: 6px;
	text-align: left;
	width: 100%;
}

.pf-calendar-event span {
	color: var(--pf-muted);
	display: block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
}

.pf-calendar-bar {
	align-self: start;
	border-radius: 6px;
	color: #ffffff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	margin: 3px 6px;
	overflow: hidden;
	padding: 6px 8px;
	text-overflow: ellipsis;
	white-space: nowrap;
	z-index: 3;
}

.pf-calendar-actions {
	align-items: center;
	display: flex;
	gap: 10px;
}

.pf-calendar-message {
	color: var(--pf-muted);
	font-size: 12px;
	font-weight: 700;
}

.pf-calendar-bar.is-editable {
	cursor: grab;
	position: relative;
}

.pf-calendar-bar.is-editable.is-dragging {
	cursor: grabbing;
	opacity: .75;
}

.pf-calendar-bar.is-dirty {
	box-shadow: 0 0 0 3px rgba(255, 193, 7, .38);
}

.pf-calendar-resize {
	background: rgba(255, 255, 255, .9);
	border-radius: 999px;
	cursor: ew-resize;
	display: block;
	height: calc(100% - 6px);
	position: absolute;
	right: 3px;
	top: 3px;
	width: 10px;
}

.pf-calendar-bar-admin {
	background: var(--pf-admin-color);
}

.pf-calendar-bar-user {
	background: var(--pf-user-color);
}

.pf-calendar-bar-milestone {
	background: #111111;
}

.pf-progress-dashboard {
	align-items: center;
	display: grid;
	gap: 28px;
	grid-template-columns: 260px minmax(240px, 1fr);
}

.pf-pie {
	align-items: center;
	aspect-ratio: 1;
	background:
		radial-gradient(circle at center, #ffffff 0 47%, transparent 48%),
		conic-gradient(var(--pf-user-color) 0 calc(var(--user-complete) * 1%), var(--pf-admin-color) 0 calc(var(--complete) * 1%), #e6e8eb 0 100%);
	border: 1px solid var(--pf-border);
	border-radius: 50%;
	display: grid;
	justify-items: center;
}

.pf-pie span {
	font-size: 38px;
	font-weight: 800;
}

.pf-progress-legend h2 {
	font-size: 26px;
	margin: 0 0 10px;
}

.pf-progress-legend i {
	border-radius: 3px;
	display: inline-block;
	height: 14px;
	margin-right: 8px;
	vertical-align: middle;
	width: 22px;
}

.pf-legend-user {
	background: var(--pf-user-color);
}

.pf-legend-admin {
	background: var(--pf-admin-color);
}

.pf-gantt-table {
	border: 1px solid var(--pf-border);
	border-radius: 8px;
	overflow-x: auto;
	touch-action: pan-y;
}

.pf-gantt-actions {
	align-items: center;
	display: flex;
	gap: 12px;
	margin: 0 0 12px;
}

.pf-gantt-message {
	color: var(--pf-muted);
	font-size: 13px;
	font-weight: 700;
}

.pf-gantt-scroll-top {
	border: 1px solid var(--pf-border);
	border-bottom: 0;
	border-radius: 8px 8px 0 0;
	height: 18px;
	margin-top: 8px;
	overflow-x: auto;
	overflow-y: hidden;
}

.pf-gantt-scroll-top div {
	height: 1px;
}

.pf-gantt-scroll-top + .pf-gantt-table {
	border-radius: 0 0 8px 8px;
}

.pf-gantt-header,
.pf-gantt-row {
	display: grid;
	grid-template-columns: var(--pf-gantt-grid);
	min-width: max-content;
}

.pf-gantt-header {
	background: var(--pf-soft);
	color: var(--pf-muted);
	font-size: 11px;
	font-weight: 800;
	position: sticky;
	top: 0;
	z-index: 1;
}

.pf-gantt-header span,
.pf-gantt-row span {
	border-bottom: 1px solid var(--pf-border);
	border-right: 1px solid var(--pf-border);
	padding: 7px 6px;
	white-space: nowrap;
}

.pf-gantt-header span:nth-child(1),
.pf-gantt-header span:nth-child(2),
.pf-gantt-header span:nth-child(3) {
	text-align: center;
}

.pf-gantt-header span:nth-child(1),
.pf-gantt-header span:nth-child(2),
.pf-gantt-header span:nth-child(3),
.pf-gantt-row > span:nth-child(1),
.pf-gantt-row > span:nth-child(2),
.pf-gantt-row > span:nth-child(3) {
	position: sticky;
	z-index: 3;
}

.pf-gantt-header span:nth-child(1),
.pf-gantt-row > span:nth-child(1) {
	left: 0;
}

.pf-gantt-header span:nth-child(2),
.pf-gantt-row > span:nth-child(2) {
	left: 220px;
}

.pf-gantt-header span:nth-child(3),
.pf-gantt-row > span:nth-child(3) {
	box-shadow: 6px 0 10px rgba(0, 0, 0, .06);
	left: 302px;
}

.pf-gantt-header span:nth-child(1),
.pf-gantt-header span:nth-child(2),
.pf-gantt-header span:nth-child(3) {
	background: var(--pf-soft);
	z-index: 5;
}

.pf-gantt-row > span:nth-child(1),
.pf-gantt-row > span:nth-child(2),
.pf-gantt-row > span:nth-child(3) {
	background: var(--pf-bg);
}

.pf-gantt-header span b,
.pf-gantt-header span small {
	display: block;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
}

.pf-gantt-header span b {
	font-size: 9px;
	text-transform: uppercase;
}

.pf-gantt-header span small {
	color: var(--pf-text);
	font-size: 11px;
	margin-top: 2px;
}

.pf-gantt-row {
	font-size: 12px;
	position: relative;
}

.pf-gantt-row > span:nth-child(2),
.pf-gantt-row > span:nth-child(3) {
	font-size: 10px;
	font-weight: 700;
	line-height: 1.25;
}

.pf-gantt-row::before {
	background-image: repeating-linear-gradient(to right, transparent 0, transparent 41px, var(--pf-border) 42px);
	content: "";
	grid-column: 4 / -1;
	grid-row: 1;
	pointer-events: none;
}

.pf-gantt-label {
	font-weight: 800;
}

.pf-gantt-label b {
	color: var(--pf-muted);
	display: block;
	font-size: 11px;
	line-height: 1.2;
	margin-bottom: 4px;
	text-transform: uppercase;
}

.pf-gantt-label strong {
	display: block;
	font-size: 14px;
	line-height: 1.2;
}

.pf-gantt-label small {
	color: var(--pf-muted);
	display: block;
	font-size: 11px;
	font-weight: 500;
	margin-top: 4px;
}

.pf-gantt-bar {
	align-self: center;
	border-radius: 999px;
	display: block;
	grid-row: 1;
	height: 18px;
	margin: 0 4px;
	z-index: 0;
}

.pf-gantt-bar.is-editable {
	cursor: grab;
	position: relative;
	z-index: 2;
}

.pf-gantt-bar.is-editable.is-dragging {
	cursor: grabbing;
	opacity: .75;
}

.pf-gantt-bar.is-dirty {
	box-shadow: 0 0 0 3px rgba(255, 193, 7, .38);
}

.pf-gantt-resize {
	background: rgba(255, 255, 255, .85);
	border-radius: 999px;
	cursor: ew-resize;
	display: block;
	height: 14px;
	position: absolute;
	right: 2px;
	top: 2px;
	width: 10px;
}

.pf-gantt-milestone {
	background: var(--pf-admin-color);
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .3);
}

.pf-gantt-user {
	background: var(--pf-user-color);
}

.pf-gantt-admin {
	background: var(--pf-admin-color);
}

.projectflow-login {
	background: #ffffff;
	border: 2px solid #111111;
	border-radius: 8px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, .10);
	margin: 56px auto;
	max-width: 560px;
	padding: 32px;
}

.projectflow-login h2 {
	font-size: 34px;
	line-height: 1.1;
	margin: 0 0 10px;
	text-align: center;
}

.projectflow-login .pf-login-project {
	background: var(--pf-soft);
	border: 1px solid var(--pf-border);
	border-radius: 8px;
	font-size: 18px;
	margin: 0 0 22px;
	padding: 12px;
	text-align: center;
}

.projectflow-login .login-username,
.projectflow-login .login-password,
.projectflow-login .login-remember,
.projectflow-login .login-submit {
	margin: 0 0 18px;
}

.projectflow-login label {
	color: #111111;
	display: block;
	font-size: 18px;
	font-weight: 800;
	margin-bottom: 8px;
}

.projectflow-login input[type="text"],
.projectflow-login input[type="password"] {
	background: #ffffff !important;
	border: 3px solid #111111 !important;
	border-radius: 8px !important;
	box-shadow: inset 0 0 0 2px #ffffff, 0 0 0 3px rgba(30, 136, 229, .14);
	color: #111111 !important;
	font-size: 22px !important;
	font-weight: 700;
	min-height: 58px;
	outline: 0;
	width: 100% !important;
}

.projectflow-login input[type="text"]:focus,
.projectflow-login input[type="password"]:focus {
	border-color: var(--pf-accent) !important;
	box-shadow: 0 0 0 4px rgba(30, 136, 229, .22);
}

.projectflow-login .login-remember label {
	align-items: center;
	display: flex;
	font-size: 16px;
	font-weight: 700;
	gap: 10px;
	justify-content: center;
	margin: 0;
}

.projectflow-login input[type="checkbox"] {
	height: 22px;
	width: 22px;
}

.projectflow-login input[type="submit"] {
	border-radius: 8px;
	font-size: 20px;
	justify-content: center;
	min-height: 58px;
	text-transform: uppercase;
	width: 100%;
}

.projectflow-login p:last-child {
	font-size: 16px;
	margin-bottom: 0;
	text-align: center;
}

.projectflow-admin .pf-stats .pf-card strong {
	display: block;
	font-size: 30px;
	margin-top: 8px;
}

.projectflow-admin .pf-progress-row {
	align-items: center;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(180px, 1fr) 2fr auto;
	margin-bottom: 12px;
}

.projectflow-admin .pf-multi {
	min-height: 150px;
	min-width: 320px;
}

.projectflow-admin .pf-inline {
	display: inline-flex;
	gap: 4px;
	margin-left: 4px;
	vertical-align: middle;
}

.projectflow-admin .pf-inline input {
	max-width: 150px;
}

.projectflow-admin .pf-workplan-editor {
	margin-top: 16px;
}

.projectflow-admin .pf-admin-project-editor {
	background: #ffffff;
	border: 1px solid var(--pf-border);
	border-radius: 8px;
	margin: 0 0 14px;
	padding: 12px;
}

.projectflow-admin .pf-admin-project-editor > summary {
	cursor: pointer;
	font-size: 15px;
	padding: 6px;
}

.projectflow-admin .pf-edit-table {
	border: 1px solid var(--pf-border);
	border-radius: 8px;
	margin-bottom: 20px;
	overflow-x: auto;
}

.projectflow-admin .pf-edit-head,
.projectflow-admin .pf-edit-row {
	display: grid;
	gap: 8px;
	min-width: 980px;
	padding: 10px;
}

.projectflow-admin .pf-edit-head {
	background: var(--pf-soft);
	border-bottom: 1px solid var(--pf-border);
	color: var(--pf-muted);
	font-size: 12px;
	font-weight: 700;
	grid-template-columns: 1.4fr 160px 90px 90px 1.8fr 96px;
	text-transform: uppercase;
}

.projectflow-admin .pf-edit-row {
	border-bottom: 1px solid var(--pf-border);
	grid-template-columns: 68px 1.4fr 160px 90px 90px 1.8fr 96px;
}

.projectflow-admin .pf-task-editor .pf-edit-head,
.projectflow-admin .pf-task-editor .pf-edit-row {
	grid-template-columns: 68px 1.4fr 110px 170px 170px 180px 150px 150px 118px 120px 120px 1.8fr 96px;
	min-width: 2010px;
}

.projectflow-admin .pf-drag-handle {
	align-self: center;
	background: #f6f7f7;
	border: 1px solid var(--pf-border);
	border-radius: 6px;
	cursor: grab;
	font-size: 11px;
	font-weight: 700;
	height: 34px;
	text-transform: uppercase;
	width: 56px;
}

.projectflow-admin .pf-draggable-row.is-dragging {
	opacity: .55;
}

.projectflow-admin .pf-csv-import-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(240px, max-content));
	margin-bottom: 14px;
}

.projectflow-admin .pf-collapsible-admin > summary,
.projectflow-admin .pf-subsection > summary {
	cursor: pointer;
	font-size: 16px;
	padding: 6px 0 12px;
}

.projectflow-admin .pf-edit-row:last-child {
	border-bottom: 0;
}

.projectflow-admin .pf-edit-row input,
.projectflow-admin .pf-edit-row select,
.projectflow-admin .pf-edit-row textarea {
	width: 100%;
}

.projectflow-admin .pf-delete-check {
	align-items: center;
	display: inline-flex;
	gap: 6px;
	justify-content: center;
	white-space: nowrap;
}

.projectflow-admin .pf-delete-check input {
	min-width: 0;
	width: auto;
}

@media (max-width: 760px) {
	.projectflow-wrap {
		margin-left: 0;
		margin-right: 0;
		max-width: none;
		padding-left: 14px;
		padding-right: 14px;
		width: 100%;
	}

	.pf-portal-header,
	.pf-task,
	.pf-file,
	.pf-activity,
	.projectflow-admin .pf-progress-row {
		grid-template-columns: 1fr;
	}

	.pf-portal-header {
		align-items: stretch;
		display: grid;
		padding: 20px;
	}

	.pf-task,
	.pf-file,
	.pf-activity {
		align-items: start;
	}

	.pf-accordion summary {
		grid-template-columns: 1fr;
	}

	.pf-upload-rules,
	.pf-calendar-weekdays,
	.pf-calendar-month,
	.pf-project-info,
	.pf-project-info dl,
	.pf-calendar-month-bars {
		grid-template-columns: 1fr;
	}

	.pf-calendar-weekdays {
		display: none;
	}

	.pf-calendar-day.is-empty {
		display: none;
	}

	.projectflow-login {
		border-width: 2px;
		box-shadow: 0 10px 26px rgba(0, 0, 0, .08);
		margin: 28px 14px;
		max-width: none;
		padding: 22px;
		width: auto;
	}

	.projectflow-login h2 {
		font-size: 28px;
	}

	.projectflow-login .pf-login-project {
		font-size: 16px;
	}

	.projectflow-login label {
		font-size: 17px;
	}

	.projectflow-login input[type="text"],
	.projectflow-login input[type="password"],
	.projectflow-login input[type="submit"] {
		font-size: 18px !important;
		min-height: 56px;
		width: 100% !important;
	}

	.projectflow-login .login-remember label {
		justify-content: flex-start;
	}

	.pf-tabs {
		justify-content: flex-start;
		margin-left: -14px;
		margin-right: -14px;
		padding-left: 14px;
		padding-right: 14px;
	}

	.pf-tabs button {
		min-height: 48px;
		padding: 12px 14px;
	}

	.pf-button {
		justify-content: center;
		min-height: 48px;
		width: 100%;
	}

	.pf-upload {
		padding: 14px;
	}

	.pf-upload-rules {
		gap: 4px;
	}

	.pf-upload-rules strong {
		margin-top: 8px;
	}

	.pf-calendar-day {
		border-right: 0;
		min-height: 88px;
	}

	.pf-calendar-event {
		font-size: 13px;
		min-height: 42px;
	}

	.projectflow-admin .pf-form input[type="text"],
	.projectflow-admin .pf-form input[type="url"],
	.projectflow-admin .pf-form input.regular-text,
	.projectflow-admin .pf-form select,
	.projectflow-admin .pf-form textarea {
		min-width: 0;
		width: 100%;
	}

	.projectflow-admin .pf-create-task-fields,
	.projectflow-admin .pf-project-basic-fields,
	.projectflow-admin .pf-project-info-fields {
		grid-template-columns: 1fr;
		max-width: none;
	}

	.projectflow-admin .pf-edit-table {
		-webkit-overflow-scrolling: touch;
	}

	.pf-progress-dashboard {
		grid-template-columns: 1fr;
	}

	.pf-pie {
		margin: 0 auto;
		max-width: 260px;
		width: 100%;
	}

	.pf-gantt-table {
		-webkit-overflow-scrolling: touch;
	}
}
