:root {
	font-size: 16px;
}

* {
	box-sizing: border-box;
	letter-spacing: 0;
}

[hidden] {
	display: none !important;
}

body.gbcp-body {
	margin: 0;
	background: #ccc;
	color: var( --gbcp-black );
	font-family: "aktiv-grotesk", Arial, Helvetica, sans-serif;
	font-weight: 400;
	font-size: clamp( 0.8125rem, 0.8rem + 0.08vw, 0.9rem );
	line-height: 1.4;
}

.gbcp-body button,
.gbcp-body input,
.gbcp-body select,
.gbcp-body textarea {
	font: inherit;
}

.gbcp-body button,
.gbcp-body a {
	-webkit-tap-highlight-color: transparent;
}

.gbcp-app {
	min-height: 100vh;
	font-family: "aktiv-grotesk", Arial, Helvetica, sans-serif;
	font-weight: 400;
}

.gbcp-app h1,
.gbcp-app h2,
.gbcp-app h3,
.gbcp-app button {
	font-family: "Futura PT", Futura, Arial, Helvetica, sans-serif;
}

.gbcp-app input,
.gbcp-app select,
.gbcp-app textarea {
	font-family: inherit;
}

.gbcp-app h1,
.gbcp-app h2,
.gbcp-app h3 {
	font-weight: 700;
}

.gbcp-topbar {
	position: relative;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 74px;
	padding: 14px clamp( 20px, 5vw, 80px );
	background: #fff;
	box-shadow: 0 2px 3px rgb( 0 0 0 / 18% );
}

.gbcp-topbar::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background: var( --gbcp-lewis-gradient );
	content: "";
	pointer-events: none;
}

.gbcp-brand {
	display: inline-flex;
	align-items: center;
}

.gbcp-brand img {
	display: block;
	width: 120px;
	height: 30px;
	object-fit: contain;
}

.gbcp-menu-toggle {
	display: none;
	width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	margin-left: auto;
	border: 1px solid var( --gbcp-line );
	border-radius: var( --gbcp-radius );
	background: #fff;
	color: var( --gbcp-dark );
	cursor: pointer;
}

.gbcp-account {
	display: flex;
	align-items: center;
	gap: 12px;
}

.gbcp-profile-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.gbcp-account strong {
	font-size: 0.78rem;
}

.gbcp-avatar {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 50%;
	background: #630000;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
}

.gbcp-update-author {
	display: inline-flex;
	align-items: center;
	gap: 9px;
}

.gbcp-update-author > span:last-child {
	display: grid;
	gap: 1px;
}

.gbcp-update-author small {
	color: var( --gbcp-muted );
	font-size: 0.72rem;
}

.gbcp-update-avatar {
	display: grid;
	width: 30px;
	height: 30px;
	place-items: center;
	border-radius: 50%;
	background: var( --gbcp-dark );
	color: #fff;
	font-size: 0.68rem;
	font-weight: 700;
}

.gbcp-portal-cadent .gbcp-avatar {
	background: var( --gbcp-orange-border );
	color: #111;
}

.gbcp-portal-green_bros .gbcp-avatar {
	background: var( --gbcp-green-dark );
}

.gbcp-logout {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 98px;
	min-height: 40px;
	padding: 9px 13px;
	border: 1px solid var( --gbcp-orange-border );
	border-radius: var( --gbcp-radius );
	color: #111;
	font-weight: 700;
	text-decoration: none;
}

.gbcp-logout .dashicons {
	font-size: 17px;
}

.gbcp-layout {
	min-height: calc( 100vh - 74px );
	background: var( --gbcp-page );
}

.gbcp-layout.has-sidebar {
	display: grid;
	grid-template-columns: 200px minmax( 0, 1fr );
}

.gbcp-sidebar {
	min-height: calc( 100vh - 74px );
	padding: 10px 12px;
	background: #f0f0f0;
}

.gbcp-sidebar button {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 48px;
	margin: 0 0 4px;
	padding: 10px 12px;
	border: 0;
	border-radius: 5px;
	background: transparent;
	color: var( --gbcp-dark );
	font-weight: 700;
	text-align: left;
	cursor: pointer;
}

.gbcp-sidebar button:hover,
.gbcp-sidebar button.is-active {
	background: var( --gbcp-dark );
	color: #fff;
}

.gbcp-sidebar button.is-active .dashicons {
	background: var( --gbcp-lewis-gradient );
	background-clip: text;
	color: transparent;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.gbcp-main {
	min-width: 0;
	padding: 22px clamp( 22px, 3vw, 38px ) 44px;
}

.gbcp-portal-engineer .gbcp-main {
	width: min( 100%, 450px );
	margin: 0 auto;
	padding: 44px 16px 70px;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

.gbcp-body h1 {
	margin-bottom: 16px;
	font-size: clamp( 1.45rem, 1.35rem + 0.4vw, 1.85rem );
	line-height: 1.15;
}

.gbcp-body h2 {
	font-size: clamp( 1rem, 0.96rem + 0.15vw, 1.15rem );
}

.gbcp-welcome-title,
.gbcp-centred-title {
	display: flex;
	justify-content: center;
	margin-bottom: 52px;
	text-align: center;
}

.gbcp-welcome-title h1,
.gbcp-centred-title h1,
.gbcp-title-row h1 {
	position: relative;
	margin: 0;
}

.gbcp-welcome-title h1::after,
.gbcp-centred-title h1::after,
.gbcp-title-row h1::after {
	position: absolute;
	right: 0;
	bottom: -7px;
	left: 0;
	height: 4px;
	background: var( --gbcp-lewis-gradient );
	content: "";
}

.gbcp-auth-panel[data-auth-panel="login"] h1 {
	position: relative;
	width: max-content;
	max-width: 100%;
	margin-right: auto;
	margin-left: auto;
}

.gbcp-auth-panel[data-auth-panel="login"] h1::after {
	position: absolute;
	right: 0;
	bottom: -7px;
	left: 0;
	height: 4px;
	background: var( --gbcp-lewis-gradient );
	content: "";
}

.gbcp-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 22px 0 42px;
}

.gbcp-title-row .gbcp-button {
	flex: 0 0 auto;
}

.gbcp-page-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
}

.gbcp-page-heading h1 {
	margin-bottom: 6px;
}

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

.gbcp-button,
.gbcp-body input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 9px 14px;
	border: 1px solid var( --gbcp-black );
	border-radius: var( --gbcp-radius );
	background: var( --gbcp-black );
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.gbcp-button:hover,
.gbcp-button:focus-visible {
	filter: brightness( 0.94 );
}

.gbcp-button:disabled {
	cursor: wait;
	opacity: 0.65;
}

.gbcp-button-green {
	border-color: var( --gbcp-green );
	background: var( --gbcp-green );
	color: #050505;
}

.gbcp-button-complete {
	border-color: var( --gbcp-purple );
	background: var( --gbcp-purple );
	color: #050505;
}

.gbcp-button-outline {
	background: #fff;
	color: #050505;
}

.gbcp-button-black {
	min-height: 34px;
	padding: 7px 13px;
	border-color: #000;
	background: #000;
	font-size: 0.78rem;
}

.gbcp-full-button {
	width: 100%;
	margin-top: 18px;
}

.gbcp-engineer-complete {
	display: flex;
	justify-content: center;
	margin: 0 0 24px;
}

.gbcp-back-link,
.gbcp-link-button {
	padding: 0;
	border: 0;
	background: transparent;
	color: #111;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}

.gbcp-engineer-actions {
	display: grid;
	grid-template-columns: 132px 150px;
	justify-content: center;
	gap: 16px;
	margin-bottom: 62px;
}

.gbcp-engineer-section > h2 {
	margin-bottom: 22px;
	text-align: center;
}

.gbcp-detail-section > h2 {
	text-align: left;
}

.gbcp-order-cards,
.gbcp-order-groups {
	display: grid;
	gap: 14px;
}

.gbcp-order-group {
	display: grid;
	gap: 12px;
	margin-bottom: 20px;
}

.gbcp-order-group h2 {
	margin: 0 0 5px;
	font-size: 0.9rem;
	font-weight: 400;
}

.gbcp-order-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 72px;
	padding: 12px 15px;
	border: 1px solid transparent;
	border-radius: 3px;
	background: linear-gradient( #fff, #fff ) padding-box, var( --gbcp-lewis-gradient ) border-box;
}

.gbcp-order-card.has-update {
	box-shadow: inset 3px 0 var( --gbcp-orange );
}

.gbcp-order-card > div:first-child {
	display: grid;
	gap: 4px;
	min-width: 78px;
}

.gbcp-order-card strong {
	font-size: 0.9rem;
	text-transform: uppercase;
}

.gbcp-order-card-actions {
	display: flex;
	align-items: center;
	gap: 11px;
}

.gbcp-attachment {
	display: grid;
	width: 29px;
	height: 28px;
	place-items: center;
	border-radius: 3px;
	background: #ededed;
}

.gbcp-attachment .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
}

.gbcp-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-width: 84px;
	min-height: 28px;
	padding: 5px 12px;
	border-radius: 40px;
	background: #e5e6e5;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
	white-space: nowrap;
}

.gbcp-status.is-orange { background: #ffa66d; }
.gbcp-status.is-yellow { background: var( --gbcp-amber ); }
.gbcp-status.is-amber { background: #f1d56e; }
.gbcp-status.is-blue { background: var( --gbcp-blue ); }
.gbcp-status.is-green { background: var( --gbcp-green ); }
.gbcp-status.is-red { background: var( --gbcp-red ); }
.gbcp-status.is-completed { background: var( --gbcp-purple ); }

.gbcp-status .dashicons {
	width: 14px;
	height: 14px;
	font-size: 14px;
}

.gbcp-search {
	position: relative;
	display: block;
}

.gbcp-search input {
	width: 100%;
	padding-right: 42px !important;
}

.gbcp-search > .dashicons {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY( -50% );
}

.gbcp-engineer-view > .gbcp-search {
	margin-bottom: 36px;
}

.gbcp-order-form,
.gbcp-auth-panel form,
.gbcp-detail-controls form {
	display: grid;
	gap: 14px;
}

.gbcp-order-form {
	width: min( 306px, 100% );
	margin: 0 auto;
}

.gbcp-body label {
	display: grid;
	gap: 6px;
	font-weight: 500;
}

.gbcp-body input[type="text"],
.gbcp-body input[type="email"],
.gbcp-body input[type="password"],
.gbcp-body input[type="tel"],
.gbcp-body input[type="search"],
.gbcp-body input[type="date"],
.gbcp-body select,
.gbcp-body textarea {
	width: 100%;
	min-height: 42px;
	padding: 8px 12px;
	border: 1px solid #999;
	border-radius: 0;
	background: #fff;
	color: #111;
}

.gbcp-body textarea {
	min-height: 72px;
	resize: vertical;
}

.gbcp-body input:focus,
.gbcp-body select:focus,
.gbcp-body textarea:focus {
	border-color: var( --gbcp-orange-border );
	outline: 2px solid rgb( 239 125 37 / 22% );
	outline-offset: 1px;
}

.gbcp-body input[readonly] {
	background: #f8f8f8;
}

.gbcp-required {
	color: #d22;
}

.gbcp-upload-field > span {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 58px;
	padding: 12px;
	border: 1px dashed #888;
	background: #fff;
	color: #888;
	cursor: pointer;
}

.gbcp-upload-field input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect( 0, 0, 0, 0 );
}

.gbcp-submit-order {
	justify-self: center;
	margin-top: 22px;
}

.gbcp-confirmation {
	display: grid;
	justify-items: center;
	width: min( 390px, 100% );
	margin: 12vh auto 0;
	text-align: center;
}

.gbcp-confirmation > .dashicons {
	width: 54px;
	height: 54px;
	margin-bottom: 18px;
	color: var( --gbcp-green-dark );
	font-size: 54px;
}

.gbcp-confirmation .gbcp-button {
	width: min( 220px, 100% );
	margin-top: 10px;
}

.gbcp-order-detail-card,
.gbcp-order-record,
.gbcp-order-history,
.gbcp-section,
.gbcp-table-panel,
.gbcp-filter-panel,
.gbcp-auth-panel,
.gbcp-state-panel {
	border-radius: var( --gbcp-radius );
	background: #fff;
}

.gbcp-order-detail-card,
.gbcp-order-record,
.gbcp-order-history {
	padding: 20px;
}

.gbcp-portal-engineer .gbcp-order-detail-card {
	padding: 0;
	background: transparent;
}

.gbcp-detail-status {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 8px;
}

.gbcp-detail-row {
	display: grid;
	grid-template-columns: minmax( 110px, 0.55fr ) minmax( 0, 1fr );
	gap: 14px;
	padding: 10px 0;
	border-bottom: 1px solid #999;
}

.gbcp-detail-row strong {
	text-align: right;
	white-space: pre-line;
}

.gbcp-order-detail-card h2,
.gbcp-order-record h2,
.gbcp-order-history h2 {
	margin: 22px 0 12px;
}

.gbcp-image-grid {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 12px;
}

.gbcp-image-grid img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 5px;
	object-fit: cover;
}

.gbcp-timeline {
	display: grid;
	gap: 10px;
}

.gbcp-update-card {
	padding: 14px;
	border: 1px solid var( --gbcp-line );
	border-radius: 5px;
	background: #fff;
}

.gbcp-update-card.is-internal {
	border-left: 4px solid var( --gbcp-dark );
	background: #fffbe9;
}

.gbcp-update-card > div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
}

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

.gbcp-update-card time,
.gbcp-update-type,
.gbcp-muted {
	color: var( --gbcp-muted );
	font-size: 0.76rem;
}

.gbcp-audit {
	margin-top: 22px;
	border-top: 1px solid var( --gbcp-line );
	padding-top: 16px;
}

.gbcp-audit summary {
	cursor: pointer;
	font-weight: 700;
}

.gbcp-audit-card {
	display: grid;
	grid-template-columns: minmax( 0, 1fr ) auto;
	gap: 4px 14px;
	padding: 12px 0;
	border-bottom: 1px solid #e4e6e2;
}

.gbcp-audit-card span,
.gbcp-audit-card time {
	color: var( --gbcp-muted );
	font-size: 0.75rem;
}

.gbcp-audit-card time {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: center;
}

.gbcp-order-workspace {
	display: grid;
	grid-template-columns: minmax( 0, 1.15fr ) minmax( 320px, 0.78fr );
	gap: clamp( 20px, 3vw, 48px );
	align-items: start;
}

.gbcp-detail-controls {
	margin-top: 28px;
	padding-top: 1px;
}

.gbcp-detail-controls form {
	margin-top: 16px;
	padding: 16px;
	border: 1px solid var( --gbcp-line );
	border-radius: 5px;
}

.gbcp-filter-panel {
	display: grid;
	grid-template-columns: 1.35fr 1.1fr 1.1fr 1.15fr;
	gap: 22px;
	margin-bottom: 0;
	padding: 18px 22px;
}

.gbcp-filter-panel label {
	font-weight: 700;
}

.gbcp-filter-panel input,
.gbcp-filter-panel select {
	min-height: 40px;
	border-color: #aaa;
	font-weight: 400;
}

.gbcp-filter-panel-compact {
	grid-template-columns: 2fr 1fr;
	margin-bottom: 18px;
}

.gbcp-date-range {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.gbcp-table-panel {
	padding: 0 22px 22px;
}

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

.gbcp-table th,
.gbcp-table td {
	padding: 10px 14px;
	border-bottom: 1px solid #aaa;
	text-align: left;
	vertical-align: middle;
}

.gbcp-table th {
	height: 50px;
	background: #e1e1e1;
	font-size: 0.76rem;
}

.gbcp-table td {
	height: 50px;
}

.gbcp-table .gbcp-button {
	float: right;
}

.gbcp-empty-cell,
.gbcp-empty-state {
	min-height: 110px;
	padding: 30px;
	color: var( --gbcp-muted );
	text-align: center !important;
}

.gbcp-metrics {
	display: grid;
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	gap: 22px;
	margin-bottom: 22px;
}

.gbcp-metric {
	min-height: 122px;
	padding: 25px 28px;
	border-radius: 5px;
	background: #fff;
}

.gbcp-metric span {
	display: block;
	font-size: clamp( 0.95rem, 0.92rem + 0.1vw, 1.05rem );
}

.gbcp-metric strong {
	display: block;
	margin-top: 6px;
	background: var( --gbcp-lewis-gradient );
	background-clip: text;
	color: transparent;
	font-size: clamp( 1.75rem, 1.6rem + 0.7vw, 2.4rem );
	line-height: 1;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.gbcp-dashboard-grid {
	display: grid;
	grid-template-columns: minmax( 0, 2.3fr ) minmax( 260px, 0.85fr );
	gap: 22px;
	margin-top: 22px;
}

.gbcp-dark-heading,
.gbcp-section-heading {
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 12px 18px;
}

.gbcp-dark-heading {
	border-radius: 5px 5px 0 0;
	background: var( --gbcp-dark );
	color: #fff;
}

.gbcp-dark-heading h2,
.gbcp-section-heading h2 {
	margin: 0;
}

.gbcp-section-heading {
	border-bottom: 1px solid var( --gbcp-line );
}

.gbcp-compact-list {
	display: grid;
	padding: 10px 18px;
}

.gbcp-compact-list button,
.gbcp-compact-list > div {
	display: grid;
	grid-template-columns: auto minmax( 0, 1fr ) auto;
	gap: 18px;
	align-items: center;
	min-height: 42px;
	padding: 7px 0;
	border: 0;
	border-bottom: 1px solid #ddd;
	background: transparent;
	color: #111;
	text-align: left;
}

.gbcp-compact-list button {
	cursor: pointer;
}

.gbcp-compact-list button:last-child,
.gbcp-compact-list > div:last-child {
	border-bottom: 0;
}

.gbcp-compact-list time {
	color: var( --gbcp-muted );
	font-size: 0.72rem;
}

.gbcp-approval {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 20px;
	background: #e5e5e5;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: capitalize;
}

.gbcp-approval.is-approved { background: #ccefd6; color: #185f2c; }
.gbcp-approval.is-pending { background: #ffedb6; color: #744e00; }
.gbcp-approval.is-rejected { background: #f5d2cf; color: #7b1810; }

.gbcp-inline-actions {
	display: flex;
	gap: 7px;
}

.gbcp-small-button {
	min-height: 30px;
	padding: 5px 9px;
	border: 1px solid #999;
	border-radius: 3px;
	background: #fff;
	font-weight: 700;
	cursor: pointer;
}

.gbcp-small-button.is-approve { border-color: var( --gbcp-green-dark ); color: var( --gbcp-green-dark ); }
.gbcp-small-button.is-reject { border-color: #a42d22; color: #a42d22; }

.gbcp-auth-shell,
.gbcp-state-panel {
	display: grid;
	min-height: calc( 100vh - 150px );
	place-items: center;
}

.gbcp-auth-panel,
.gbcp-state-panel {
	width: min( 390px, 100% );
	padding: 30px;
	box-shadow: var( --gbcp-shadow );
}

.gbcp-auth-panel h1,
.gbcp-state-panel h1 {
	margin-bottom: 28px;
	text-align: center;
}

.gbcp-auth-panel input[type="submit"] {
	width: 100%;
	border-color: var( --gbcp-orange );
	background: var( --gbcp-orange );
}

.gbcp-auth-panel .login-remember {
	display: flex;
	align-items: center;
	gap: 8px;
}

.gbcp-auth-panel .gbcp-text-link,
.gbcp-link-button {
	display: block;
	margin: 12px auto 0;
	text-align: center;
}

.gbcp-state-panel {
	min-height: 0;
	margin: 12vh auto 0;
	text-align: center;
}

.gbcp-state-icon {
	display: grid !important;
	width: 50px !important;
	height: 50px !important;
	margin: 0 auto 16px;
	place-items: center;
	border-radius: 50%;
	background: #ffedb6;
	color: #744e00;
	font-size: 28px !important;
}

.gbcp-toast {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 100;
	max-width: min( 360px, calc( 100vw - 40px ) );
	padding: 12px 16px;
	border-radius: 4px;
	background: var( --gbcp-dark );
	box-shadow: var( --gbcp-shadow );
	color: #fff;
	font-weight: 700;
}

.gbcp-toast.is-error {
	background: #8c241b;
}

.gbcp-reports-view {
	max-width: 1270px;
}

.gbcp-reports-heading {
	margin-bottom: 24px;
}

.gbcp-report-export {
	min-height: 38px;
	padding: 8px 14px;
	font-size: 0.82rem;
}

.gbcp-report-overview {
	min-height: 480px;
}

.gbcp-report-metrics {
	display: grid;
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	gap: 22px;
	margin-bottom: 24px;
}

.gbcp-report-metric {
	min-height: 126px;
	padding: 25px 28px;
	border-radius: 7px;
	background: #f1f1f1;
}

.gbcp-report-metric span {
	display: block;
	font-size: 1rem;
}

.gbcp-report-metric strong {
	display: block;
	margin-top: 8px;
	color: var( --gbcp-orange );
	font-family: "Futura PT", Futura, Arial, Helvetica, sans-serif;
	font-size: clamp( 2rem, 1.7rem + 1vw, 2.65rem );
	line-height: 1;
}

.gbcp-report-charts {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 24px;
}

.gbcp-report-chart {
	min-width: 0;
	min-height: 365px;
	padding: 26px 24px 20px;
	margin: 0;
	border-radius: 8px;
	background: #f1f1f1;
}

.gbcp-report-chart figcaption {
	font-family: "Futura PT", Futura, Arial, Helvetica, sans-serif;
	font-size: clamp( 1.1rem, 1rem + 0.35vw, 1.4rem );
	font-weight: 700;
}

.gbcp-chart-visual {
	margin-top: 12px;
}

.gbcp-chart-visual svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.gbcp-chart-grid {
	stroke: #d7d7d7;
	stroke-width: 1;
}

.gbcp-chart-axis {
	stroke: #a9aaa8;
	stroke-width: 1.5;
}

.gbcp-chart-label,
.gbcp-chart-value,
.gbcp-chart-empty {
	fill: #373a35;
	font-family: "aktiv-grotesk", Arial, Helvetica, sans-serif;
}

.gbcp-chart-label {
	font-size: 11px;
}

.gbcp-chart-value {
	font-size: 12px;
	font-weight: 700;
}

.gbcp-chart-empty {
	fill: var( --gbcp-muted );
	font-size: 14px;
}

.gbcp-report-metric.is-loading i,
.gbcp-chart-skeleton i {
	display: block;
	background: linear-gradient( 90deg, #dedede 25%, #ececec 45%, #dedede 65% );
	background-size: 250% 100%;
	animation: gbcp-report-shimmer 1.2s ease-in-out infinite;
}

.gbcp-report-metric.is-loading i {
	width: 42%;
	height: 36px;
	margin-top: 12px;
	border-radius: 4px;
}

.gbcp-chart-skeleton {
	display: flex;
	height: 258px;
	align-items: end;
	justify-content: space-around;
	gap: 8%;
	padding: 35px 5% 18px;
	border-bottom: 1px solid #ccc;
}

.gbcp-chart-skeleton i {
	width: 12%;
	border-radius: 4px 4px 0 0;
}

.gbcp-chart-skeleton i:nth-child( 1 ) { height: 36%; }
.gbcp-chart-skeleton i:nth-child( 2 ) { height: 58%; }
.gbcp-chart-skeleton i:nth-child( 3 ) { height: 44%; }
.gbcp-chart-skeleton i:nth-child( 4 ) { height: 76%; }
.gbcp-chart-skeleton i:nth-child( 5 ) { height: 64%; }

.gbcp-report-error {
	display: grid;
	min-height: 330px;
	align-content: center;
	justify-items: center;
	gap: 10px;
	padding: 28px;
	border: 1px solid #e3b6b0;
	border-radius: 8px;
	background: #fff6f4;
	text-align: center;
}

.gbcp-report-error span {
	color: var( --gbcp-muted );
}

.gbcp-screen-reader-table {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect( 0, 0, 0, 0 );
	white-space: nowrap;
	border: 0;
}

@keyframes gbcp-report-shimmer {
	0% { background-position: 100% 0; }
	100% { background-position: -100% 0; }
}

@media ( prefers-reduced-motion: reduce ) {
	.gbcp-report-metric.is-loading i,
	.gbcp-chart-skeleton i {
		animation: none;
	}
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect( 0, 0, 0, 0 );
	white-space: nowrap;
	border: 0;
}

/* Lewis's Green Bros dashboard is scoped so the Cadent and engineer portals retain their layouts. */
.gbcp-portal-green_bros .gbcp-topbar {
	height: 78px;
	padding: 16px 80px;
}

.gbcp-portal-green_bros .gbcp-brand img {
	width: 120px;
	height: 30px;
}

.gbcp-portal-green_bros .gbcp-profile-pill {
	min-height: 41px;
	padding: 4px 17px 4px 4px;
	border-radius: 45px;
	background: #f4f4f4;
}

.gbcp-portal-green_bros .gbcp-avatar {
	width: 33px;
	height: 33px;
	font-size: 14px;
}

.gbcp-portal-green_bros .gbcp-account {
	gap: 24px;
}

.gbcp-portal-green_bros .gbcp-account strong {
	font-size: 14px;
}

.gbcp-portal-green_bros .gbcp-logout {
	min-width: 116px;
	min-height: 46px;
	gap: 10px;
	padding: 12px 14px;
	font-size: 17px;
}

.gbcp-portal-green_bros .gbcp-logout .dashicons {
	width: 15px;
	height: 15px;
	font-size: 15px;
}

.gbcp-portal-green_bros .gbcp-layout,
.gbcp-portal-green_bros .gbcp-sidebar {
	min-height: calc( 100vh - 78px );
}

.gbcp-portal-green_bros .gbcp-layout.has-sidebar {
	grid-template-columns: clamp( 220px, 15vw, 240px ) minmax( 0, 1fr );
}

.gbcp-portal-green_bros .gbcp-sidebar {
	padding: 12px;
}

.gbcp-portal-green_bros .gbcp-sidebar button {
	gap: clamp( 8px, 0.7vw, 10px );
	min-height: 48px;
	margin-bottom: 10px;
	padding: 12px clamp( 9px, 0.8vw, 11px );
	border-radius: 8px;
	font-size: clamp( 14px, 1vw, 16px );
	white-space: nowrap;
	transition: background-color 160ms ease, color 160ms ease;
}

.gbcp-portal-green_bros .gbcp-sidebar button:hover:not( .is-active ),
.gbcp-portal-green_bros .gbcp-sidebar button:focus-visible:not( .is-active ) {
	background: #e7e7e7;
	color: var( --gbcp-dark );
}

.gbcp-portal-green_bros .gbcp-sidebar button.is-active {
	background: var( --gbcp-dark );
	color: #fff;
}

.gbcp-portal-green_bros .gbcp-sidebar button:focus-visible {
	outline: 2px solid var( --gbcp-orange );
	outline-offset: 2px;
}

.gbcp-sidebar-icon {
	display: block;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	background: currentcolor;
	-webkit-mask: var( --gbcp-sidebar-icon ) center / contain no-repeat;
	mask: var( --gbcp-sidebar-icon ) center / contain no-repeat;
}

.gbcp-sidebar button.is-active .gbcp-sidebar-icon,
.gbcp-engineer-nav button.is-active .gbcp-sidebar-icon {
	background: var( --gbcp-lewis-gradient );
}

.gbcp-sidebar-icon-dashboard {
	--gbcp-sidebar-icon: url( "../icons/figma-sidebar-dashboard.svg" );
}

.gbcp-sidebar-icon-orders {
	--gbcp-sidebar-icon: url( "../icons/figma-sidebar-orders.svg" );
}

.gbcp-sidebar-icon-new-order {
	--gbcp-sidebar-icon: url( "../icons/figma-sidebar-new-order.svg" );
}

.gbcp-sidebar-icon-engineers {
	--gbcp-sidebar-icon: url( "../icons/figma-sidebar-engineers.svg" );
}

.gbcp-sidebar-icon-users {
	--gbcp-sidebar-icon: url( "../icons/figma-sidebar-users.svg" );
}

.gbcp-sidebar-icon-reports {
	--gbcp-sidebar-icon: url( "../icons/figma-sidebar-reports.svg" );
}

.gbcp-sidebar-icon-settings {
	--gbcp-sidebar-icon: url( "../icons/figma-sidebar-settings.svg" );
}

.gbcp-portal-green_bros .gbcp-main {
	padding: 27px 65px 44px 36px;
	background: #fff;
}

.gbcp-green-dashboard .gbcp-metrics {
	max-width: none;
	gap: 24px;
	margin-bottom: 24px;
}

.gbcp-green-dashboard .gbcp-metric {
	min-height: 139px;
	padding: 30px 28px 24px;
	background: #f4f4f4;
}

.gbcp-green-dashboard .gbcp-metric span {
	font-size: 20px;
}

.gbcp-green-dashboard .gbcp-metric strong {
	margin-top: 8px;
	background: none;
	color: var( --gbcp-orange );
	font-family: "Futura PT", Futura, Arial, Helvetica, sans-serif;
	font-size: 40px;
	font-weight: 700;
	line-height: 0.95;
	-webkit-text-fill-color: currentcolor;
}

.gbcp-green-dashboard .gbcp-metric.is-loading strong {
	opacity: 0.38;
}

.gbcp-metrics-error {
	display: flex;
	grid-column: 1 / -1;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 101px;
	padding: 18px;
	border: 1px solid #e3b6b0;
	border-radius: 5px;
	background: #fff6f4;
}

.gbcp-metrics-error span {
	color: var( --gbcp-muted );
	font-size: 0.75rem;
}

.gbcp-state-action {
	min-height: 31px;
	padding: 6px 11px;
	border: 1px solid var( --gbcp-dark );
	border-radius: 3px;
	background: #fff;
	color: var( --gbcp-dark );
	font-weight: 700;
	cursor: pointer;
}

.gbcp-dashboard-orders-panel {
	overflow: hidden;
	border-radius: 8px;
	background: #f4f4f4;
}

.gbcp-green-dashboard .gbcp-dashboard-view[data-dashboard-screen="dashboard"] {
	max-width: none;
}

.gbcp-green-dashboard .gbcp-dashboard-filters {
	grid-template-columns: 331px minmax( 0, 1fr ) minmax( 0, 1fr );
	gap: 24px;
	padding: 24px;
	border-radius: 8px 8px 0 0;
	background: #f4f4f4;
}

.gbcp-green-dashboard .gbcp-dashboard-filters label {
	gap: 12px;
	font-size: 16px;
}

.gbcp-green-dashboard .gbcp-dashboard-filters input,
.gbcp-green-dashboard .gbcp-dashboard-filters select {
	min-height: 49px;
	padding: 15px;
	font-size: 14px;
}

.gbcp-green-dashboard .gbcp-dashboard-filters .gbcp-search input {
	padding-right: 44px !important;
}

.gbcp-green-dashboard .gbcp-dashboard-filters .gbcp-search > .dashicons {
	right: 7px;
	width: 24px;
	height: 24px;
	font-size: 24px;
}

.gbcp-green-dashboard .gbcp-dashboard-filters .gbcp-date-range {
	gap: 12px;
}

.gbcp-dashboard-orders-panel .gbcp-table-panel {
	overflow-x: auto;
	padding: 0 12px 12px;
	border-radius: 0 0 8px 8px;
	background: #f4f4f4;
}

.gbcp-dashboard-order-table {
	min-width: 1000px;
	table-layout: fixed;
}

.gbcp-dashboard-order-table th:nth-child( 2 ) { width: 24%; }
.gbcp-dashboard-order-table th:nth-child( 6 ) { width: 230px; }
.gbcp-dashboard-order-table th:nth-child( 7 ) { width: 86px; }

.gbcp-dashboard-order-table td:nth-child( 2 ) {
	overflow-wrap: anywhere;
}

.gbcp-dashboard-order-table .gbcp-status {
	flex-shrink: 0;
	white-space: nowrap;
}

.gbcp-green-dashboard .gbcp-dashboard-order-table th,
.gbcp-green-dashboard .gbcp-dashboard-order-table td {
	height: 52px;
	padding: 8px 12px;
	font-size: 15px;
}

.gbcp-green-dashboard .gbcp-dashboard-order-table th {
	height: 54px;
	border-bottom: 2px solid rgb( 0 0 0 / 50% );
	background: #dedede;
	font-size: 16px;
	font-weight: 500;
}

.gbcp-green-dashboard .gbcp-dashboard-order-table td {
	border-bottom-color: #b8b8b8;
}

.gbcp-sort {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #080808;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.gbcp-sort > span {
	position: relative;
	width: 7px;
	height: 13px;
}

.gbcp-sort > span::before,
.gbcp-sort > span::after {
	position: absolute;
	left: 1px;
	width: 0;
	height: 0;
	border-right: 3px solid transparent;
	border-left: 3px solid transparent;
	content: "";
}

.gbcp-sort > span::before {
	top: 1px;
	border-bottom: 4px solid #222;
}

.gbcp-sort > span::after {
	bottom: 1px;
	border-top: 4px solid #222;
}

.gbcp-sort.is-active:not( .is-ascending ) > span::before,
.gbcp-sort.is-active.is-ascending > span::after {
	opacity: 0.22;
}

.gbcp-table-status {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.gbcp-green-dashboard .gbcp-status {
	min-width: 0;
	min-height: 29px;
	gap: 7px;
	padding: 7px 14px;
	font-size: 12px;
}

.gbcp-green-dashboard .gbcp-status .dashicons {
	width: 15px;
	height: 15px;
	font-size: 15px;
}

.gbcp-green-dashboard .gbcp-attachment {
	flex: 0 0 29px;
	width: 29px;
	height: 27px;
}

.gbcp-green-dashboard .gbcp-attachment .dashicons {
	width: 15px;
	height: 15px;
	font-size: 15px;
}

.gbcp-green-dashboard .gbcp-dashboard-order-table .gbcp-button-black {
	min-height: 35px;
	padding: 9px 14px;
	font-size: 14px;
	line-height: 15px;
}

.gbcp-empty-cell {
	vertical-align: middle;
}

.gbcp-empty-cell > span,
.gbcp-empty-cell > strong {
	display: block;
}

.gbcp-empty-cell > strong + span {
	margin-top: 5px;
	font-size: 0.75rem;
}

.gbcp-empty-cell .gbcp-state-action {
	display: inline-flex;
	margin-top: 12px;
}

.gbcp-loading-spinner {
	display: inline-block !important;
	width: 16px;
	height: 16px;
	margin: 0 auto 8px;
	border: 2px solid #ccc;
	border-top-color: var( --gbcp-orange );
	border-radius: 50%;
	animation: gbcp-spin 0.75s linear infinite;
}

@keyframes gbcp-spin {
	to { transform: rotate( 360deg ); }
}

.gbcp-pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 8px 4px;
	color: var( --gbcp-muted );
	font-size: 0.72rem;
}

.gbcp-pagination > div {
	display: flex;
	align-items: center;
	gap: 10px;
}

.gbcp-pagination button {
	display: grid;
	width: 30px;
	height: 30px;
	padding: 0;
	place-items: center;
	border: 1px solid #999;
	border-radius: 3px;
	background: #fff;
	cursor: pointer;
}

.gbcp-pagination button:disabled {
	cursor: default;
	opacity: 0.35;
}

.gbcp-pagination .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
}

@media ( max-width: 1050px ) {
	.gbcp-layout.has-sidebar {
		grid-template-columns: 170px minmax( 0, 1fr );
	}

	.gbcp-filter-panel {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}

	.gbcp-metrics {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}

	.gbcp-report-metrics {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}

	.gbcp-report-charts {
		grid-template-columns: 1fr;
	}

	.gbcp-order-workspace,
	.gbcp-dashboard-grid {
		grid-template-columns: 1fr;
	}
}

@media ( max-width: 760px ) {
	.gbcp-topbar {
		height: 68px;
		padding: 12px 16px;
	}

	.gbcp-topbar::after {
		display: none;
	}

	.gbcp-account strong {
		display: none;
	}

	.gbcp-menu-toggle {
		display: inline-flex;
	}

	.gbcp-layout.has-sidebar {
		display: block;
	}

	.gbcp-sidebar {
		position: fixed;
		top: 68px;
		bottom: 0;
		left: 0;
		z-index: 9;
		display: block;
		width: min( 82vw, 280px );
		min-height: 0;
		overflow-y: auto;
		padding: 12px;
		box-shadow: 4px 0 12px rgb( 0 0 0 / 18% );
		transform: translateX( -105% );
		transition: transform 180ms ease;
	}

	.gbcp-app.is-navigation-open .gbcp-sidebar {
		transform: translateX( 0 );
	}

	.gbcp-sidebar button {
		width: 100%;
		min-height: 44px;
		margin: 0 0 5px;
		white-space: nowrap;
	}

	.gbcp-main {
		padding: 18px 12px 42px;
	}

	.gbcp-table-panel {
		overflow-x: auto;
		padding: 0;
	}

	.gbcp-table {
		min-width: 740px;
	}

	.gbcp-page-heading {
		align-items: stretch;
		flex-direction: column;
	}
}

@media ( max-width: 520px ) {
	body.gbcp-body {
		background: var( --gbcp-page );
	}

	.gbcp-portal-engineer .gbcp-main {
		padding-top: 42px;
	}

	.gbcp-brand img {
		width: 120px;
	}

	.gbcp-account {
		gap: 9px;
	}

	.gbcp-avatar {
		width: 32px;
		height: 32px;
	}

	.gbcp-logout {
		min-width: 92px;
		min-height: 40px;
		padding: 8px 11px;
	}

	.gbcp-welcome-title {
		margin-bottom: 58px;
	}

	.gbcp-order-card {
		padding: 11px 14px;
	}

	.gbcp-order-card-actions {
		gap: 8px;
	}

	.gbcp-order-card .gbcp-status {
		min-width: 0;
		max-width: 104px;
		white-space: normal;
	}

	.gbcp-filter-panel,
	.gbcp-filter-panel-compact,
	.gbcp-metrics {
		grid-template-columns: 1fr;
	}

	.gbcp-report-metrics {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
		gap: 10px;
	}

	.gbcp-report-metric {
		min-height: 98px;
		padding: 17px;
	}

	.gbcp-report-metric span {
		font-size: 0.82rem;
	}

	.gbcp-report-metric strong {
		font-size: 1.75rem;
	}

	.gbcp-report-chart {
		min-height: 0;
		padding: 20px 10px 12px;
	}

	.gbcp-chart-label {
		font-size: 17px;
	}

	.gbcp-chart-value,
	.gbcp-chart-empty {
		font-size: 16px;
	}

	.gbcp-filter-panel {
		gap: 13px;
		padding: 15px;
	}

	.gbcp-metric {
		min-height: 92px;
		padding: 18px;
	}

	.gbcp-detail-row {
		grid-template-columns: 1fr;
		gap: 3px;
	}

	.gbcp-detail-row strong {
		text-align: left;
	}

	.gbcp-image-grid {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}

	.gbcp-auth-panel,
	.gbcp-state-panel {
		padding: 22px;
	}
}

@media ( max-width: 1050px ) {
	.gbcp-portal-green_bros .gbcp-layout.has-sidebar {
		grid-template-columns: 220px minmax( 0, 1fr );
	}

	.gbcp-portal-green_bros .gbcp-main {
		padding-right: 26px;
	}

	.gbcp-green-dashboard .gbcp-dashboard-filters {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}

	.gbcp-green-dashboard .gbcp-dashboard-filters label:last-child {
		grid-column: 1 / -1;
	}
}

@media ( max-width: 850px ) {
	.gbcp-portal-green_bros .gbcp-topbar {
		height: 58px;
		padding: 9px 14px;
	}

	.gbcp-portal-green_bros .gbcp-layout.has-sidebar {
		display: block;
	}

	.gbcp-portal-green_bros .gbcp-sidebar {
		position: sticky;
		top: 0;
		z-index: 8;
		display: flex;
		min-height: 0;
		overflow-x: auto;
		padding: 7px;
		box-shadow: 0 2px 3px rgb( 0 0 0 / 12% );
	}

	.gbcp-portal-green_bros .gbcp-sidebar button {
		flex: 0 0 auto;
		width: auto;
		min-height: 40px;
		margin: 0 3px;
		white-space: nowrap;
	}

	.gbcp-portal-green_bros .gbcp-main {
		padding: 14px 12px 40px;
	}

	.gbcp-green-dashboard .gbcp-metrics {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
		gap: 10px;
	}

	.gbcp-green-dashboard .gbcp-metric {
		min-height: 88px;
		padding: 17px;
	}

	.gbcp-green-dashboard .gbcp-dashboard-filters {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
		gap: 12px;
		padding: 14px;
	}

	.gbcp-green-dashboard .gbcp-dashboard-filters label:last-child {
		grid-column: 1 / -1;
	}

	.gbcp-dashboard-orders-panel .gbcp-table-panel {
		overflow: visible;
		padding: 0 10px 12px;
	}

	.gbcp-green-dashboard .gbcp-dashboard-order-table {
		min-width: 0;
	}

	.gbcp-dashboard-order-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect( 0, 0, 0, 0 );
	}

	.gbcp-dashboard-order-table tbody {
		display: grid;
		gap: 10px;
	}

	.gbcp-dashboard-order-table tbody tr {
		display: grid;
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
		gap: 10px 14px;
		padding: 13px;
		border: 1px solid #d0d0d0;
		border-radius: 4px;
		background: #fff;
	}

	.gbcp-green-dashboard .gbcp-dashboard-order-table td {
		display: grid;
		gap: 3px;
		height: auto;
		padding: 0;
		border: 0;
	}

	.gbcp-dashboard-order-table td::before {
		color: var( --gbcp-muted );
		font-size: 0.58rem;
		font-weight: 400;
		content: attr( data-label );
	}

	.gbcp-dashboard-order-table td:nth-last-child( 2 ),
	.gbcp-dashboard-order-table td:last-child {
		align-self: end;
	}

	.gbcp-dashboard-order-table td:nth-last-child( 2 ) {
		grid-column: 1 / -1;
	}

	.gbcp-dashboard-order-table td:last-child {
		grid-column: 1 / -1;
		justify-items: end;
	}

	.gbcp-dashboard-order-table .gbcp-empty-cell {
		grid-column: 1 / -1;
		min-height: 150px;
		align-content: center;
	}

	.gbcp-dashboard-order-table .gbcp-empty-cell::before {
		display: none;
	}

	.gbcp-table-status {
		justify-content: flex-start;
	}

	.gbcp-pagination {
		align-items: flex-start;
		flex-direction: column;
	}

	.gbcp-metrics-error {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media ( max-width: 520px ) {
	.gbcp-portal-green_bros .gbcp-account {
		gap: 8px;
	}

	.gbcp-portal-green_bros .gbcp-profile-pill {
		padding-right: 5px;
	}

	.gbcp-portal-green_bros .gbcp-account strong {
		display: none;
	}

	.gbcp-portal-green_bros .gbcp-logout {
		min-width: 75px;
	}

	.gbcp-green-dashboard .gbcp-metrics {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}

	.gbcp-green-dashboard .gbcp-metric strong {
		font-size: 1.55rem;
	}

	.gbcp-green-dashboard .gbcp-dashboard-filters .gbcp-date-range {
		grid-template-columns: 1fr;
	}

	.gbcp-green-dashboard .gbcp-dashboard-filters {
		grid-template-columns: 1fr;
	}

	.gbcp-green-dashboard .gbcp-dashboard-filters label:last-child {
		grid-column: auto;
	}
}

/* Green Bros administrator user management, matched to Lewis's Figma screens. */
.gbcp-user-list-view,
.gbcp-user-edit-view {
	max-width: 1270px;
}

.gbcp-user-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 22px;
}

.gbcp-user-add {
	min-height: 43px;
	padding: 10px 14px;
	border-color: var( --gbcp-green );
	background: var( --gbcp-green );
	color: #050505;
	font-size: 16px;
}

.gbcp-user-add .dashicons,
.gbcp-user-export .dashicons {
	width: 17px;
	height: 17px;
	font-size: 17px;
}

.gbcp-user-export {
	min-height: 43px;
	padding: 10px 15px;
	border-color: #373a35;
	background: #f4f4f4;
	font-size: 15px;
}

.gbcp-user-list-panel {
	overflow: hidden;
	border-radius: 8px;
	background: #f4f4f4;
}

.gbcp-user-filters {
	display: grid;
	grid-template-columns: minmax( 280px, 1fr ) minmax( 360px, 0.82fr );
	align-items: end;
	gap: 40px;
	padding: 20px 24px 24px;
}

.gbcp-user-filters label,
.gbcp-user-filters legend {
	font-size: 16px;
	font-weight: 700;
}

.gbcp-user-filters fieldset {
	min-width: 0;
	padding: 0;
	margin: 0;
	border: 0;
}

.gbcp-user-filters legend {
	margin-bottom: 7px;
}

.gbcp-user-filters input {
	min-height: 41px !important;
	font-size: 14px;
}

.gbcp-user-filters .gbcp-date-range {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 12px;
}

.gbcp-user-table-wrap {
	padding: 0 12px 12px;
}

.gbcp-user-table {
	table-layout: fixed;
}

.gbcp-user-table th {
	height: 47px;
	padding: 10px 12px;
	border-bottom: 2px solid rgb( 0 0 0 / 50% );
	background: #e4e4e4;
	font-size: 14px;
}

.gbcp-user-table td {
	height: 52px;
	padding: 9px 12px;
	border-bottom: 1px solid #b8b8b8;
	font-size: 14px;
}

.gbcp-user-table th:nth-child( 1 ) { width: 19%; }
.gbcp-user-table th:nth-child( 2 ) { width: 25%; }
.gbcp-user-table th:nth-child( 3 ) { width: 17%; }
.gbcp-user-table th:nth-child( 4 ) { width: 18%; }
.gbcp-user-table th:nth-child( 5 ) { width: 15%; }
.gbcp-user-table th:nth-child( 6 ) { width: 64px; }

.gbcp-user-table a {
	color: #050505;
	text-decoration: none;
}

.gbcp-user-table a:hover,
.gbcp-user-table a:focus-visible {
	text-decoration: underline;
}

.gbcp-user-table .gbcp-button-black {
	min-height: 35px;
	padding: 8px 13px;
	font-size: 13px;
}

.gbcp-user-edit-view > .gbcp-back-link {
	margin-bottom: 22px;
}

.gbcp-user-edit-heading {
	padding: 18px 22px;
	border-radius: 8px 8px 0 0;
	background: #e4e4e4;
}

.gbcp-user-edit-heading h1 {
	margin: 0;
	font-size: 24px;
}

.gbcp-user-edit-state {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 1px;
}

.gbcp-user-edit-state:not( :empty ) {
	min-height: 130px;
	justify-content: center;
	padding: 24px;
	background: #f4f4f4;
}

.gbcp-user-form {
	display: grid;
	gap: 22px;
}

.gbcp-user-edit-form {
	padding: 30px 32px 34px;
	border-radius: 0 0 8px 8px;
	background: #f4f4f4;
}

.gbcp-user-form-grid {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 20px 28px;
}

.gbcp-user-form label {
	font-size: 15px;
	font-weight: 700;
}

.gbcp-user-form input {
	min-height: 46px !important;
	font-size: 15px;
}

.gbcp-user-edit-actions,
.gbcp-dialog-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.gbcp-user-save,
.gbcp-user-submit {
	border-color: var( --gbcp-green );
	background: var( --gbcp-green );
	color: #050505;
}

.gbcp-user-deactivate {
	border-color: #e84b10;
	background: #e84b10;
	color: #fff;
}

/* The dialog shell is not an interactive control; retain focus rings on its children. */
.gbcp-app dialog:focus {
	outline: none;
}

.gbcp-user-dialog {
	width: min( 700px, calc( 100vw - 32px ) );
	max-height: calc( 100vh - 40px );
	padding: 0 30px 30px;
	overflow: auto;
	border: 0;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 38px rgb( 0 0 0 / 30% );
	color: #050505;
}

.gbcp-user-dialog::backdrop {
	background: rgb( 0 0 0 / 65% );
}

.gbcp-user-dialog::before {
	display: block;
	height: 4px;
	margin: 0 -30px;
	background: var( --gbcp-lewis-gradient );
	content: "";
}

.gbcp-user-dialog-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 24px 0;
}

.gbcp-user-dialog-header h2 {
	margin: 0;
	font-size: 24px;
}

.gbcp-dialog-close {
	display: grid;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	padding: 0;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: #f1f1f1;
	color: #111;
	cursor: pointer;
}

.gbcp-dialog-close:hover,
.gbcp-dialog-close:focus-visible {
	background: #e1e1e1;
}

.gbcp-user-submit {
	justify-self: end;
	min-width: 118px;
}

.gbcp-user-invite-copy {
	margin: -10px 0 0;
	color: var( --gbcp-muted );
	font-size: 13px;
	text-align: right;
}

.gbcp-user-confirm-dialog {
	width: min( 490px, calc( 100vw - 32px ) );
}

.gbcp-user-confirm-dialog > p {
	font-size: 16px;
}

.gbcp-form-message,
.gbcp-inline-error {
	padding: 11px 13px;
	border: 1px solid #d5968f;
	border-radius: 4px;
	background: #fff2f0;
	color: #7f1f17;
	font-weight: 700;
}

.gbcp-inline-error {
	display: flex;
	align-items: center;
	gap: 15px;
}

@media ( max-width: 1050px ) {
	.gbcp-user-filters {
		grid-template-columns: minmax( 260px, 1fr ) minmax( 320px, 1fr );
		gap: 20px;
	}
}

@media ( max-width: 760px ) {
	.gbcp-user-filters,
	.gbcp-user-form-grid {
		grid-template-columns: 1fr;
	}

	.gbcp-user-table-wrap {
		overflow-x: auto;
	}

	.gbcp-user-table {
		min-width: 850px;
	}
}

@media ( max-width: 520px ) {
	.gbcp-user-toolbar {
		align-items: stretch;
		flex-direction: column;
	}

	.gbcp-user-toolbar .gbcp-button {
		width: 100%;
	}

	.gbcp-user-filters {
		padding: 16px;
	}

	.gbcp-user-filters .gbcp-date-range {
		grid-template-columns: 1fr;
	}

	.gbcp-user-table-wrap {
		overflow: visible;
		padding: 0 10px 12px;
	}

	.gbcp-user-table {
		min-width: 0;
	}

	.gbcp-user-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect( 0, 0, 0, 0 );
	}

	.gbcp-user-table tbody {
		display: grid;
		gap: 10px;
	}

	.gbcp-user-table tbody tr {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 11px 14px;
		padding: 14px;
		border: 1px solid #d0d0d0;
		border-radius: 4px;
		background: #fff;
	}

	.gbcp-user-table td {
		display: grid;
		gap: 3px;
		height: auto;
		padding: 0;
		border: 0;
		overflow-wrap: anywhere;
	}

	.gbcp-user-table td::before {
		color: var( --gbcp-muted );
		font-size: 11px;
		content: attr( data-label );
	}

	.gbcp-user-table td:nth-child( 2 ) {
		grid-column: 1 / -1;
	}

	.gbcp-user-table td:last-child {
		align-self: end;
		justify-items: end;
	}

	.gbcp-user-table .gbcp-empty-cell {
		grid-column: 1 / -1;
		min-height: 150px;
		align-content: center;
		text-align: center;
	}

	.gbcp-user-table .gbcp-empty-cell::before {
		display: none;
	}

	.gbcp-user-edit-heading {
		padding: 16px;
	}

	.gbcp-user-edit-form {
		padding: 20px 16px 22px;
	}

	.gbcp-user-edit-actions,
	.gbcp-dialog-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.gbcp-user-edit-actions .gbcp-button,
	.gbcp-dialog-actions .gbcp-button {
		width: 100%;
	}

	.gbcp-user-dialog {
		padding: 0 20px 22px;
	}

	.gbcp-user-dialog::before {
		margin: 0 -20px;
	}

	.gbcp-user-submit {
		width: 100%;
	}

	.gbcp-user-invite-copy {
		text-align: left;
	}
}

.gbcp-password-reset-actions { margin-top: 24px; }
.gbcp-password-reset-actions [data-password-reset-message] { margin-top: 12px; }
