/* ════════════════════════════════════════════════════════════════
   Print Hut — Customer Proof Room Makeover (v2)
   Beautiful, fast, customer-facing experience.
   Layered on top of phpr.css + phpr-theme.css
   Scoped to .phpr-customer-page
   ════════════════════════════════════════════════════════════════ */

.phpr-customer-page {
	--ppc-primary:        #059669;
	--ppc-primary-dark:   #047857;
	--ppc-primary-deep:   #064e3b;
	--ppc-primary-light:  #10b981;
	--ppc-soft:           #ecfdf5;
	--ppc-soft-2:         #f0fdf4;
	--ppc-border:         #a7f3d0;
	--ppc-border-strong:  #6ee7b7;
	--ppc-text:           #0f172a;
	--ppc-muted:          #475569;
	--ppc-line:           #e2e8f0;
	--ppc-radius:         18px;
	--ppc-radius-lg:      24px;
	--ppc-radius-xl:      28px;
	--ppc-shadow:         0 18px 45px rgba(15, 23, 42, 0.08);
	--ppc-shadow-lg:      0 28px 60px rgba(5, 150, 105, 0.16);
	--ppc-font-base:      15px;
	--ppc-font-sm:        13px;
	--ppc-font-xs:        12px;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif !important;
	font-size: var(--ppc-font-base);
	line-height: 1.5;
	color: var(--ppc-text);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box;
	background:
		radial-gradient(1400px 600px at 10% -5%, rgba(16, 185, 129, 0.14), transparent 55%),
		radial-gradient(1200px 500px at 95% 5%, rgba(5, 150, 105, 0.10), transparent 50%),
		linear-gradient(180deg, #eef7f1 0%, #f8fafc 38%, #f1f5f9 100%) !important;
	min-height: 100vh;
	min-height: 100dvh;
}

/* ── Header — full-bleed premium bar ─────────────────────────── */
.phpr-customer-page .phpr-portal-header--customer {
	position: sticky;
	top: 0;
	z-index: 500;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	width: 100% !important;
	max-width: none !important;
	background:
		linear-gradient(118deg, #011a14 0%, #022c22 18%, #065f46 52%, #059669 78%, #047857 100%) !important;
	box-shadow:
		0 10px 32px rgba(2, 44, 34, 0.32),
		0 1px 0 rgba(255, 255, 255, 0.10) inset !important;
	border-radius: 0 !important;
	overflow: hidden;
}

.phpr-customer-page .phpr-portal-header__glow {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 120% at 12% -20%, rgba(52, 211, 153, 0.45) 0%, transparent 55%),
		radial-gradient(ellipse 60% 80% at 88% 120%, rgba(16, 185, 129, 0.28) 0%, transparent 50%);
	pointer-events: none;
}

.phpr-customer-page .phpr-portal-header__inner {
	position: relative;
	z-index: 1;
	display: grid !important;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px 16px;
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 14px clamp(16px, 4vw, 40px) !important;
}

.phpr-customer-page .phpr-portal-header__brand {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
	max-width: 100%;
}

.phpr-customer-page .phpr-portal-header__center {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-width: 0;
	padding: 0 4px;
	overflow: hidden;
}

.phpr-customer-page .phpr-portal-header__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	flex-shrink: 0;
	flex-wrap: nowrap;
}

.phpr-customer-page .phpr-portal-header__logo--wordmark {
	display: block;
	flex-shrink: 1;
	height: clamp(30px, 5vw, 48px) !important;
	max-height: none !important;
	width: auto !important;
	max-width: min(220px, 38vw);
	object-fit: contain;
	filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.28));
}

.phpr-customer-page .phpr-portal-header__logo-wrap {
	display: none !important;
}

.phpr-customer-page .phpr-portal-header__logo {
	height: clamp(34px, 5.5vw, 48px) !important;
	max-height: none !important;
	width: auto !important;
	object-fit: contain;
}

.phpr-customer-page .phpr-portal-header__titles {
	display: none !important;
}

.phpr-customer-page .phpr-portal-header__company {
	display: none !important;
}

.phpr-customer-page .phpr-portal-header__tagline {
	font-size: clamp(12px, 1.8vw, 16px);
	font-weight: 600;
	color: rgba(255, 255, 255, 0.9) !important;
	letter-spacing: 0.02em;
	line-height: 1.35;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

.phpr-customer-page .phpr-portal-header__badge-label,
.phpr-customer-page .phpr-portal-header__secure-label {
	white-space: nowrap;
}

.phpr-customer-page .phpr-portal-header__badge {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.28);
	color: #fff !important;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: none;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.phpr-customer-page .phpr-portal-header__badge svg {
	opacity: 0.95;
}

.phpr-customer-page .phpr-portal-header__secure {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: rgba(255, 255, 255, 0.92) !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.phpr-customer-page .phpr-portal-header__accent {
	height: 3px;
	background: linear-gradient(90deg, #34d399, #a7f3d0, #6ee7b7, #34d399);
	background-size: 200% 100%;
	animation: phpr-header-shimmer 4s linear infinite;
}

@keyframes phpr-header-shimmer {
	0%   { background-position: 0% 50%; }
	100% { background-position: 200% 50%; }
}

/* Hide legacy divider/text if theme injects them */
.phpr-customer-page .phpr-portal-header__divider,
.phpr-customer-page .phpr-portal-header__text {
	display: none !important;
}

/* ════════════════════════════════════════════════════════════
   STEP 1 — Verify card (login)
   ════════════════════════════════════════════════════════════ */
.phpr-customer-page .phpr-verify-wrap {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: clamp(20px, 4vw, 36px) clamp(16px, 4vw, 32px) 32px !important;
	display: flex;
	flex-direction: column;
	align-items: center;
	background: transparent !important;
	min-height: 0 !important;
}

/* Beat display:flex on .phpr-verify-wrap / .phpr-viewer — [hidden] must win */
.phpr-customer-page #phpr-cp-verify[hidden],
.phpr-customer-page #phpr-cp-viewer[hidden] {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

body.phpr-customer-viewer-open #phpr-cp-verify {
	display: none !important;
}

body.phpr-customer-viewer-open #phpr-cp-viewer {
	display: flex !important;
	flex-direction: column !important;
	min-height: 100dvh !important;
}

body.phpr-customer-viewer-open .phpr-portal-header {
	display: none !important;
}

body.phpr-customer-verify-open #phpr-cp-viewer {
	display: none !important;
}

.phpr-customer-page .phpr-verify-card {
	background: rgba(255, 255, 255, 0.94) !important;
	backdrop-filter: blur(16px) saturate(1.2);
	-webkit-backdrop-filter: blur(16px) saturate(1.2);
	border: 1px solid rgba(255, 255, 255, 0.85) !important;
	border-radius: var(--ppc-radius-xl) !important;
	box-shadow:
		0 24px 60px rgba(15, 23, 42, 0.10),
		0 0 0 1px rgba(5, 150, 105, 0.08) !important;
	padding: clamp(28px, 4vw, 42px) clamp(22px, 4vw, 40px) !important;
	position: relative;
	overflow: hidden;
	width: min(540px, 100%);
}
.phpr-customer-page .phpr-verify-card::before {
	content: '';
	position: absolute; top: 0; left: 0; right: 0; height: 5px;
	background: linear-gradient(90deg, var(--ppc-primary-light), var(--ppc-primary), var(--ppc-primary-dark));
}
.phpr-customer-page .phpr-verify-trust-row {
	display: flex !important;
	gap: 8px;
	justify-content: center;
	margin: 0 0 24px !important;
}
.phpr-customer-page .phpr-verify-trust-badge {
	background: var(--ppc-soft) !important;
	color: var(--ppc-primary-deep) !important;
	border: 1px solid var(--ppc-border) !important;
	border-radius: 999px !important;
	padding: 6px 12px !important;
	font-size: 12px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.phpr-customer-page .phpr-verify-card__icon {
	width: 80px !important;
	height: 80px !important;
	margin: 0 auto 18px !important;
	background: linear-gradient(145deg, #34d399 0%, var(--ppc-primary) 45%, var(--ppc-primary-dark) 100%) !important;
	color: #fff !important;
	border-radius: 24px !important;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow:
		0 16px 36px rgba(5, 150, 105, 0.35),
		0 0 0 6px rgba(5, 150, 105, 0.10);
}

.phpr-customer-page .phpr-verify-card h2 {
	font-size: clamp(24px, 4vw, 30px) !important;
	font-weight: 800 !important;
	color: var(--ppc-text) !important;
	letter-spacing: -0.045em;
	text-align: center;
	margin: 0 0 10px !important;
}
.phpr-customer-page .phpr-verify-card > p {
	color: var(--ppc-muted) !important;
	text-align: center;
	font-size: 14px;
	line-height: 1.55;
	margin: 0 0 22px !important;
}

/* Inputs */
.phpr-customer-page .phpr-field { margin-bottom: 14px !important; }
.phpr-customer-page .phpr-field label {
	font-size: 12px !important;
	font-weight: 700 !important;
	color: var(--ppc-text) !important;
	text-transform: uppercase;
	letter-spacing: .04em;
	margin-bottom: 6px !important;
	display: block;
}

/* Verify form — single bordered shell; input is borderless inside */
.phpr-customer-page #phpr-verify-form .phpr-input-wrap--light,
.phpr-customer-page #phpr-verify-form .phpr-input-wrap {
	background: #fff !important;
	border: 1.5px solid var(--ppc-line) !important;
	border-radius: 12px !important;
	transition: border-color .15s, box-shadow .15s;
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	min-height: 52px !important;
	padding: 0 14px !important;
	overflow: hidden;
	box-sizing: border-box !important;
}
.phpr-customer-page #phpr-verify-form .phpr-input-wrap:focus-within,
.phpr-customer-page #phpr-verify-form .phpr-input-wrap--light:focus-within {
	border-color: var(--ppc-primary) !important;
	box-shadow: 0 0 0 4px rgba(5,150,105,0.12) !important;
}
.phpr-customer-page #phpr-verify-form .phpr-input-wrap svg {
	color: var(--ppc-muted);
	flex-shrink: 0;
	width: 16px;
	height: 16px;
}
.phpr-customer-page #phpr-verify-form .phpr-input-wrap input,
.phpr-customer-page #phpr-verify-form .phpr-input-wrap--light input,
.phpr-customer-page #phpr-verify-form .phpr-field input[type="text"] {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	width: 100% !important;
	height: 48px !important;
	min-height: 48px !important;
	border: none !important;
	border-radius: 0 !important;
	background: transparent !important;
	padding: 0 !important;
	margin: 0 !important;
	font-size: 16px !important;
	line-height: 1.4 !important;
	color: var(--ppc-text) !important;
	-webkit-text-fill-color: var(--ppc-text) !important;
	outline: none !important;
	box-shadow: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}
.phpr-customer-page #phpr-verify-form .phpr-input-wrap input::placeholder {
	color: var(--ppc-muted) !important;
	opacity: 1;
}

/* Primary CTA — full-width green gradient */
.phpr-customer-page .phpr-btn--primary,
.phpr-customer-page .phpr-btn--full.phpr-btn--primary {
	background: linear-gradient(135deg, var(--ppc-primary-light) 0%, var(--ppc-primary) 50%, var(--ppc-primary-dark) 100%) !important;
	color: #fff !important;
	border: none !important;
	font-weight: 700 !important;
	border-radius: 12px !important;
	padding: 14px 18px !important;
	font-size: 15px !important;
	box-shadow: 0 12px 26px rgba(5,150,105,0.32) !important;
	transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.phpr-customer-page .phpr-btn--primary:hover {
	transform: translateY(-1px);
	filter: brightness(1.05);
	box-shadow: 0 16px 32px rgba(5,150,105,0.40) !important;
}
.phpr-customer-page .phpr-btn--primary:active { transform: translateY(0); }

/* Resend-code self-service link */
.phpr-customer-page .phpr-resend-code-btn {
	display: block;
	width: 100%;
	margin-top: 12px;
	padding: 8px 4px;
	background: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
	font-size: 13px;
	color: var(--ppc-muted);
	text-align: center;
}
.phpr-customer-page .phpr-resend-code-btn span {
	color: var(--ppc-primary);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.phpr-customer-page .phpr-resend-code-btn:hover span { color: var(--ppc-primary-light); }
.phpr-customer-page .phpr-resend-code-btn:disabled { opacity: .6; cursor: default; }

/* "How it works" steps */
.phpr-customer-page .phpr-verify-steps {
	margin-top: 26px !important;
	padding-top: 22px !important;
	border-top: 1px dashed var(--ppc-border) !important;
}
.phpr-customer-page .phpr-verify-steps h4 {
	font-size: 12px !important;
	font-weight: 700 !important;
	color: var(--ppc-muted) !important;
	letter-spacing: .08em;
	text-transform: uppercase;
	margin: 0 0 14px !important;
}
.phpr-customer-page .phpr-verify-step {
	display: flex !important;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px !important;
}
.phpr-customer-page .phpr-verify-step__num {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--ppc-primary-light), var(--ppc-primary)) !important;
	color: #fff !important;
	font-weight: 700;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 14px rgba(5,150,105,0.25);
}
.phpr-customer-page .phpr-verify-step__text {
	font-size: 13.5px;
	color: var(--ppc-text);
}

/* Legal footer */
.phpr-customer-page .phpr-verify-legal {
	max-width: 520px;
	margin: 18px auto 40px;
	padding: 14px 18px;
	background: rgba(255,255,255,0.70);
	border-radius: 14px;
	border: 1px solid rgba(255,255,255,0.8);
}
.phpr-customer-page .phpr-verify-legal p {
	margin: 0;
	font-size: 11.5px;
	color: var(--ppc-muted);
	line-height: 1.55;
	text-align: center;
}

/* ════════════════════════════════════════════════════════════
   STEP 2 — Viewer (3 columns)
   ════════════════════════════════════════════════════════════ */
.phpr-customer-page .phpr-viewer__topbar--customer {
	position: sticky;
	top: 0;
	z-index: 600;
	background:
		linear-gradient(135deg, #022c22 0%, #064e3b 35%, #059669 100%) !important;
	border-bottom: none !important;
	padding: 14px clamp(12px, 2.5vw, 28px) !important;
	box-shadow: 0 8px 28px rgba(2, 44, 34, 0.28) !important;
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box;
	color: #fff !important;
}

.phpr-customer-page .phpr-viewer__topbar--customer .phpr-viewer__topbar-left {
	display: flex;
	align-items: center;
	gap: clamp(12px, 2vw, 18px);
	min-width: 0;
}

.phpr-customer-page .phpr-viewer__topbar-logo-wrap {
	display: none !important;
}

.phpr-customer-page .phpr-viewer__topbar-logo--wordmark {
	display: block;
	flex-shrink: 0;
	height: clamp(28px, 4vw, 38px) !important;
	max-height: none !important;
	width: auto !important;
	max-width: min(200px, 38vw);
	object-fit: contain;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

.phpr-customer-page .phpr-viewer__topbar-logo {
	height: clamp(28px, 4vw, 38px) !important;
	max-height: none !important;
	width: auto !important;
	filter: none !important;
	object-fit: contain;
}

.phpr-customer-page .phpr-viewer__topbar-titles {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1px;
	min-width: 0;
	border-left: 1px solid rgba(255, 255, 255, 0.22);
	padding-left: clamp(12px, 2vw, 18px);
}

.phpr-customer-page .phpr-viewer__topbar-label {
	color: #fff !important;
	font-weight: 800 !important;
	font-size: clamp(16px, 2vw, 18px) !important;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.phpr-customer-page .phpr-viewer__topbar-sub {
	font-size: var(--ppc-font-sm);
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85) !important;
}

.phpr-customer-page .phpr-viewer__topbar-divider {
	display: none !important;
}

.phpr-customer-page .phpr-viewer__topbar--customer .phpr-viewer__greeting {
	color: rgba(255, 255, 255, 0.92) !important;
}

.phpr-customer-page .phpr-viewer__topbar--customer .phpr-viewer__topbar-center .phpr-badge {
	background: rgba(255, 255, 255, 0.16) !important;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.25) !important;
	backdrop-filter: blur(6px);
}
.phpr-customer-page .phpr-viewer__avatar {
	background: linear-gradient(135deg, var(--ppc-primary-light), var(--ppc-primary)) !important;
	color: #fff !important;
	font-weight: 700;
	box-shadow: 0 6px 14px rgba(5,150,105,0.30);
	border: 2px solid #fff !important;
}

/* Status badge in top-bar centre */
.phpr-customer-page .phpr-viewer__topbar-center .phpr-badge {
	background: var(--ppc-soft) !important;
	color: var(--ppc-primary-deep) !important;
	border: 1px solid var(--ppc-border) !important;
	font-weight: 700;
	padding: 8px 16px !important;
	border-radius: 999px !important;
	font-size: var(--ppc-font-sm);
	letter-spacing: .02em;
}
.phpr-customer-page .phpr-viewer__topbar-center .phpr-badge--sent-for-review {
	background: linear-gradient(135deg, #fff7ed, #ffedd5) !important;
	color: #9a3412 !important;
	border-color: #fdba74 !important;
}
.phpr-customer-page .phpr-viewer__topbar-center .phpr-badge--approved {
	background: linear-gradient(135deg, var(--ppc-soft), var(--ppc-soft-2)) !important;
	color: var(--ppc-primary-deep) !important;
	border-color: var(--ppc-border-strong) !important;
}
.phpr-customer-page .phpr-viewer__topbar-center .phpr-badge--new-artwork-requested {
	background: linear-gradient(135deg, #fef2f2, #fee2e2) !important;
	color: #991b1b !important;
	border-color: #fca5a5 !important;
}

/* Body grid — full viewport width, fluid columns */
.phpr-customer-page .phpr-viewer,
.phpr-customer-page #phpr-cp-viewer {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	min-height: 100dvh;
	background: transparent !important;
}

.phpr-customer-page .phpr-viewer__body-3col {
	display: grid !important;
	grid-template-columns: minmax(240px, 16vw) minmax(0, 1fr) minmax(280px, 20vw) !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 8px clamp(6px, 1vw, 12px) 16px !important;
	gap: clamp(10px, 1.2vw, 14px) !important;
	min-height: calc(100dvh - 64px) !important;
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
	align-items: stretch;
	box-sizing: border-box;
}

/* Sidebars */
.phpr-customer-page .phpr-viewer__left-sidebar,
.phpr-customer-page .phpr-viewer__right-sidebar {
	background: #fff !important;
	border: 1px solid var(--ppc-line) !important;
	border-radius: var(--ppc-radius) !important;
	box-shadow: var(--ppc-shadow) !important;
	overflow-x: hidden !important;
	overflow-y: visible !important;
	max-height: none !important;
	min-height: 0;
}

.phpr-customer-page .phpr-viewer__right-sidebar {
	display: flex !important;
	flex-direction: column !important;
}

/* Sidebar section titles */
.phpr-customer-page .phpr-lsb-section,
.phpr-customer-page .phpr-rsb-section {
	padding: 16px 18px !important;
	border-bottom: 1px solid var(--ppc-line) !important;
}
.phpr-customer-page .phpr-lsb-section:last-child,
.phpr-customer-page .phpr-rsb-section:last-child {
	border-bottom: none !important;
}
.phpr-customer-page .phpr-lsb-section__title,
.phpr-customer-page .phpr-rsb-section__title {
	font-size: var(--ppc-font-xs) !important;
	font-weight: 700 !important;
	color: var(--ppc-muted) !important;
	text-transform: uppercase;
	letter-spacing: .06em;
	margin: 0 0 12px !important;
	display: flex;
	align-items: center;
	gap: 8px;
}
.phpr-customer-page .phpr-lsb-section__title svg,
.phpr-customer-page .phpr-rsb-section__title svg {
	color: var(--ppc-primary);
}
.phpr-customer-page .phpr-lsb-count {
	margin-left: auto;
	background: var(--ppc-soft);
	color: var(--ppc-primary-deep);
	border: 1px solid var(--ppc-border);
	border-radius: 999px;
	padding: 1px 8px;
	font-size: 11px;
	font-weight: 700;
}

/* Job info rows */
.phpr-customer-page .phpr-lsb-info { display: grid; gap: 8px; }
.phpr-customer-page .phpr-lsb-row {
	display: flex !important;
	justify-content: space-between !important;
	align-items: baseline !important;
	gap: 10px;
	padding: 6px 0 !important;
	border-bottom: 1px dashed rgba(167, 243, 208, .55);
}
.phpr-customer-page .phpr-lsb-row:last-child { border-bottom: none; }
.phpr-customer-page .phpr-lsb-row--full { flex-direction: column !important; align-items: flex-start !important; }
.phpr-customer-page .phpr-lsb-label {
	font-size: var(--ppc-font-xs) !important;
	color: var(--ppc-muted) !important;
	text-transform: uppercase;
	letter-spacing: .04em;
	font-weight: 700;
	flex-shrink: 0;
}
.phpr-customer-page .phpr-lsb-value {
	font-size: var(--ppc-font-base) !important;
	color: var(--ppc-text) !important;
	font-weight: 600 !important;
	text-align: right;
	word-break: break-word;
	max-width: none !important;
}
.phpr-customer-page .phpr-lsb-row--full .phpr-lsb-value {
	text-align: left;
	font-weight: 500;
	line-height: 1.6;
	font-size: var(--ppc-font-base) !important;
}

/* File list (proofs / artworks) */
.phpr-customer-page .phpr-lsb-file-list {
	display: grid;
	gap: 8px;
}
.phpr-customer-page .phpr-lsb-file {
	display: flex !important;
	align-items: center;
	gap: 12px;
	padding: 10px !important;
	border-radius: 12px !important;
	border: 1.5px solid var(--ppc-line) !important;
	background: #fff;
	cursor: pointer;
	transition: all .18s ease;
	text-decoration: none !important;
	color: var(--ppc-text) !important;
}
.phpr-customer-page .phpr-lsb-file:hover {
	border-color: var(--ppc-border-strong) !important;
	background: var(--ppc-soft-2) !important;
	transform: translateX(2px);
	box-shadow: 0 6px 14px rgba(5,150,105,0.10);
}
.phpr-customer-page .phpr-lsb-file--active {
	border-color: var(--ppc-primary) !important;
	background: var(--ppc-soft) !important;
	box-shadow: 0 8px 18px rgba(5,150,105,0.18) !important;
}
.phpr-customer-page .phpr-lsb-file__thumb {
	width: 44px !important;
	height: 44px !important;
	border-radius: 10px !important;
	background: var(--ppc-soft-2) !important;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ppc-primary-deep);
	flex-shrink: 0;
	overflow: hidden;
	border: 1px solid var(--ppc-border);
}
.phpr-customer-page .phpr-lsb-file__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.phpr-customer-page .phpr-lsb-file__info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.phpr-customer-page .phpr-lsb-file__name {
	font-size: var(--ppc-font-sm) !important;
	font-weight: 600 !important;
	color: var(--ppc-text) !important;
	line-height: 1.4;
	word-break: break-word;
	white-space: normal;
	overflow: visible;
	text-overflow: unset;
}
.phpr-customer-page .phpr-lsb-file__meta {
	font-size: var(--ppc-font-xs) !important;
	color: var(--ppc-muted) !important;
}
.phpr-customer-page .phpr-lsb-empty {
	color: var(--ppc-muted);
	font-size: 13px;
	font-style: italic;
	margin: 0;
}

/* Ghost button (upload toggle) */
.phpr-customer-page .phpr-btn--ghost {
	background: var(--ppc-soft-2) !important;
	color: var(--ppc-primary-deep) !important;
	border: 1.5px solid var(--ppc-border) !important;
	border-radius: 12px !important;
	font-weight: 600 !important;
	transition: all .15s ease;
}
.phpr-customer-page .phpr-btn--ghost:hover {
	background: var(--ppc-soft) !important;
	border-color: var(--ppc-primary) !important;
	color: var(--ppc-primary-dark) !important;
}

/* ── Center: proof canvas ─────────────────────────────────── */
.phpr-customer-page .phpr-viewer__center {
	background: #fff !important;
	border: 1px solid var(--ppc-line) !important;
	border-radius: var(--ppc-radius) !important;
	box-shadow: var(--ppc-shadow) !important;
	overflow-x: hidden !important;
	overflow-y: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	width: 100%;
	min-width: 0;
	display: block !important;
	padding: 0 !important;
	align-items: stretch !important;
	justify-content: flex-start !important;
}

.phpr-customer-page .phpr-viewer__proof {
	background: linear-gradient(135deg, #f8fafc 0%, #f0fdf4 100%) !important;
	padding: clamp(10px, 1.5vw, 14px) !important;
	min-height: 0 !important;
	width: 100% !important;
	max-width: none !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	justify-content: flex-start !important;
	gap: 10px !important;
}

/* Proof toolbar */
.phpr-customer-page .phpr-proof-toolbar {
	display: flex !important;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px !important;
	background: #fff !important;
	border: 1px solid var(--ppc-line) !important;
	border-radius: 12px !important;
	margin-bottom: 14px !important;
	gap: 12px;
	box-shadow: 0 4px 10px rgba(15,23,42,0.04);
}
.phpr-customer-page .phpr-proof-toolbar__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	color: var(--ppc-text);
	font-size: var(--ppc-font-base);
}
.phpr-customer-page .phpr-proof-toolbar__label svg { color: var(--ppc-primary); }
.phpr-customer-page .phpr-proof-toolbar__version {
	background: var(--ppc-soft);
	color: var(--ppc-primary-deep);
	border: 1px solid var(--ppc-border);
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
}
.phpr-customer-page .phpr-proof-toolbar__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: flex-end;
}

.phpr-customer-page .phpr-proof-toolbar__zoom {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 4px;
	border-radius: 10px;
	background: var(--ppc-soft-2);
	border: 1px solid var(--ppc-border);
}

.phpr-customer-page .phpr-proof-toolbar__zoom-label {
	min-width: 42px;
	text-align: center;
	font-size: 12px;
	font-weight: 700;
	color: var(--ppc-primary-deep);
}

.phpr-customer-page .phpr-proof-toolbar__zoom .phpr-btn {
	min-width: 32px;
	padding: 6px 10px !important;
}

/* Scrollable proof board — content sits flush under toolbar */
.phpr-customer-page .phpr-proof-stage {
	flex: 1 1 auto;
	min-height: min(420px, 52dvh);
	overflow: auto;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--ppc-line);
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
	padding: 10px;
}

.phpr-customer-page .phpr-proof-stage__inner {
	transform-origin: top center;
	transition: transform 0.18s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
}

/* Image/PDF surface */
.phpr-customer-page .phpr-proof-img-wrap {
	position: relative;
	background: #fff;
	border: none;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
	width: 100%;
}

/* mm ruler frame for image proofs */
.phpr-customer-page .phpr-proof-ruler-view {
	display: grid;
	grid-template-columns: 24px 1fr;
	grid-template-rows: 24px auto auto;
	gap: 0;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
}
.phpr-customer-page .phpr-proof-ruler-view__corner {
	grid-column: 1;
	grid-row: 1;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 6px 0 0 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 9px;
	font-weight: 700;
	color: #64748b;
}
.phpr-customer-page .phpr-proof-ruler-view__ruler--h {
	grid-column: 2;
	grid-row: 1;
	display: block;
	width: 100%;
	height: 24px;
}
.phpr-customer-page .phpr-proof-ruler-view__ruler--v {
	grid-column: 1;
	grid-row: 2;
	display: block;
	width: 24px;
	height: 100%;
}
.phpr-customer-page .phpr-proof-ruler-view__stage {
	grid-column: 2;
	grid-row: 2;
	background: #fff;
	border: 1px solid var(--ppc-line);
	border-radius: 0 0 8px 0;
	padding: 8px;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	min-height: 0;
	overflow: auto;
}
.phpr-customer-page .phpr-proof-ruler-view__stage .phpr-proof-img {
	max-width: 100%;
	height: auto;
	width: auto;
	margin: 0 auto;
}
.phpr-customer-page .phpr-proof-ruler-view__size {
	grid-column: 1 / -1;
	text-align: center;
	font-size: var(--ppc-font-sm);
	font-weight: 700;
	color: var(--ppc-primary-deep);
	padding: 8px 4px 0;
}
.phpr-customer-page .phpr-proof-size-hint {
	margin: 0;
	text-align: center;
	font-size: var(--ppc-font-sm);
	font-weight: 600;
	color: var(--ppc-muted);
}

.phpr-customer-page .phpr-annotation-layer {
	position: relative;
	display: inline-block;
	max-width: 100%;
	width: auto;
	margin: 0 auto;
	cursor: crosshair;
}

.phpr-customer-page .phpr-annotation-layer img,
.phpr-customer-page .phpr-annotation-layer canvas {
	display: block;
	max-width: 100%;
	width: auto !important;
	height: auto !important;
	margin: 0 auto;
}

.phpr-customer-page .phpr-proof-img,
.phpr-customer-page .phpr-viewer__proof img {
	display: block;
	max-width: 100%;
	width: auto;
	height: auto;
	margin: 0 auto;
	border-radius: 8px;
	transition: transform .25s ease;
	cursor: zoom-in;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.phpr-customer-page .phpr-proof-img.phpr-zoomed {
	transform: scale(1.5);
	cursor: zoom-out;
}

/* Skeleton loader for proof image */
.phpr-customer-page .phpr-proof-skeleton {
	height: min(280px, 40dvh);
	border-radius: 8px;
	background: linear-gradient(90deg, #ecfdf5 0%, #f0fdf4 50%, #ecfdf5 100%);
	background-size: 200% 100%;
	animation: ppc-shimmer 1.4s linear infinite;
}
@keyframes ppc-shimmer {
	from { background-position: 200% 0; }
	to   { background-position: -200% 0; }
}

/* PDF viewer chrome */
.phpr-customer-page .phpr-pdf-viewer {
	background: #fff;
	border: 1px solid var(--ppc-line);
	border-radius: 12px;
	padding: 12px;
	box-shadow: 0 8px 22px rgba(15,23,42,0.06);
}
.phpr-customer-page .phpr-pdf-viewer__nav {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0 0 10px !important;
	margin-bottom: 10px !important;
	border-bottom: 1px dashed var(--ppc-border);
}

.phpr-customer-page .phpr-pdf-viewer__stage {
	max-width: 100%;
	margin: 0 auto;
}

/* Full-screen proof lightbox */
.phpr-proof-lightbox {
	position: fixed;
	inset: 0;
	z-index: 2147483600;
	background: rgba(15, 23, 42, 0.88);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.phpr-proof-lightbox[hidden] {
	display: none !important;
}

body.phpr-proof-lightbox-open {
	overflow: hidden !important;
}

/* Approval disclaimer — centred viewport popup */
.phpr-disclaimer-overlay.phpr-disclaimer-overlay--open,
body.phpr-disclaimer-open .phpr-disclaimer-overlay,
body.phpr-themed-page > .phpr-disclaimer-overlay.phpr-disclaimer-overlay--open,
body.phpr-customer-portal-page > .phpr-disclaimer-overlay.phpr-disclaimer-overlay--open {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	height: 100dvh !important;
	margin: 0 !important;
	inset: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: auto !important;
	z-index: 2147483640 !important;
	padding: 20px !important;
	box-sizing: border-box !important;
	background: rgba(15, 23, 42, 0.55) !important;
	backdrop-filter: blur(6px) !important;
	-webkit-backdrop-filter: blur(6px) !important;
	overflow: auto !important;
}

body.phpr-disclaimer-open {
	overflow: hidden !important;
}

body.phpr-disclaimer-open .phpr-disclaimer-overlay .phpr-disclaimer-modal {
	position: relative !important;
	flex: 0 0 auto !important;
	margin: auto !important;
	max-width: min(500px, calc(100vw - 32px)) !important;
	max-height: min(90vh, 720px) !important;
	overflow: auto !important;
	text-align: left !important;
}

body.phpr-customer-portal-page .phpr-disclaimer-modal h3 {
	text-align: center !important;
}

body.phpr-customer-portal-page .phpr-disclaimer-modal__text {
	text-align: center !important;
}

body.phpr-customer-portal-page .phpr-disclaimer-modal__actions {
	flex-wrap: wrap !important;
}

body.phpr-customer-portal-page .phpr-disclaimer-modal__actions .phpr-btn {
	flex: 1 1 auto !important;
	min-width: 140px !important;
}

.phpr-proof-lightbox__close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.phpr-proof-lightbox__close:hover {
	background: rgba(255, 255, 255, 0.28);
}

.phpr-proof-lightbox__body {
	max-width: min(96vw, 1400px);
	max-height: 92dvh;
	overflow: auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.phpr-proof-lightbox__body img {
	display: block;
	max-width: 100%;
	max-height: 92dvh;
	width: auto;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.phpr-proof-lightbox__body iframe {
	width: min(96vw, 1200px);
	height: min(92dvh, 900px);
	border: none;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
.phpr-customer-page .phpr-pdf-viewer__info {
	font-size: 13px;
	font-weight: 700;
	color: var(--ppc-primary-deep);
	background: var(--ppc-soft);
	border: 1px solid var(--ppc-border);
	border-radius: 999px;
	padding: 4px 12px;
}
.phpr-customer-page .phpr-pdf-viewer__canvas {
	display: block;
	margin: 0 auto;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(15,23,42,0.06);
	max-width: 100%;
	height: auto;
}

/* ── Right sidebar: actions ───────────────────────────────── */
.phpr-customer-page .phpr-rsb-actions {
	padding: 16px !important;
	display: grid !important;
	gap: 10px;
	border-bottom: 1px solid var(--ppc-line);
}
.phpr-customer-page .phpr-btn--approve {
	background: linear-gradient(135deg, var(--ppc-primary-light), var(--ppc-primary), var(--ppc-primary-dark)) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 12px !important;
	padding: 14px 16px !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	box-shadow: 0 12px 26px rgba(5,150,105,0.32) !important;
	transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.phpr-customer-page .phpr-btn--approve:hover {
	transform: translateY(-1px);
	filter: brightness(1.05);
	box-shadow: 0 16px 32px rgba(5,150,105,0.40) !important;
}
.phpr-customer-page .phpr-btn--reject-outline {
	background: #fff !important;
	color: #b45309 !important;
	border: 1.5px solid #fcd34d !important;
	border-radius: 12px !important;
	padding: 12px 16px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: all .15s ease;
}
.phpr-customer-page .phpr-btn--reject-outline:hover {
	background: #fffbeb !important;
	border-color: #f59e0b !important;
	color: #92400e !important;
	transform: translateY(-1px);
}
.phpr-customer-page .phpr-btn--reject {
	background: linear-gradient(135deg, #f59e0b, #d97706) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 10px !important;
	font-weight: 700 !important;
}

/* Chat / messages */
.phpr-customer-page .phpr-chat {
	max-height: min(420px, 40dvh);
	overflow-y: auto;
	padding: 4px 2px 12px !important;
	display: flex;
	flex-direction: column;
	gap: 10px;
	scrollbar-width: thin;
	scrollbar-color: var(--ppc-border) transparent;
}
.phpr-customer-page .phpr-chat::-webkit-scrollbar { width: 6px; }
.phpr-customer-page .phpr-chat::-webkit-scrollbar-thumb {
	background: var(--ppc-border);
	border-radius: 3px;
}
.phpr-customer-page .phpr-chat-bubble {
	max-width: 92%;
	padding: 10px 14px !important;
	border-radius: 14px !important;
	font-size: var(--ppc-font-base) !important;
	line-height: 1.5;
	box-shadow: 0 2px 6px rgba(15,23,42,0.05);
	transition: background .3s ease;
}
.phpr-customer-page .phpr-chat-bubble--customer {
	background: linear-gradient(135deg, var(--ppc-primary-light), var(--ppc-primary)) !important;
	color: #fff !important;
	align-self: flex-end;
	border-bottom-right-radius: 4px !important;
}
.phpr-customer-page .phpr-chat-bubble--staff {
	background: var(--ppc-soft-2) !important;
	color: var(--ppc-text) !important;
	border: 1px solid var(--ppc-border) !important;
	align-self: flex-start;
	border-bottom-left-radius: 4px !important;
}
.phpr-customer-page .phpr-chat-bubble--highlight {
	background: #fef3c7 !important;
	color: var(--ppc-text) !important;
	border-color: #fcd34d !important;
}

/* Pin indicator */
.phpr-customer-page .phpr-pin-indicator {
	background: var(--ppc-soft) !important;
	border: 1px solid var(--ppc-border) !important;
	color: var(--ppc-primary-deep) !important;
	border-radius: 12px !important;
	padding: 8px 12px !important;
	font-size: 12.5px;
	font-weight: 600;
	display: flex !important;
	align-items: center;
	gap: 8px;
	margin: 8px 0;
}
.phpr-customer-page .phpr-pin-indicator__clear {
	margin-left: auto;
	background: transparent;
	border: none;
	color: var(--ppc-primary-deep);
	cursor: pointer;
	font-size: 14px;
	padding: 2px 6px;
	border-radius: 6px;
}
.phpr-customer-page .phpr-pin-indicator__clear:hover { background: rgba(0,0,0,0.06); }

/* Annotation pins on the proof */
.phpr-customer-page .phpr-annotation-pin {
	position: absolute;
	transform: translate(-50%, -100%);
	cursor: pointer;
	z-index: 5;
	filter: drop-shadow(0 4px 8px rgba(0,0,0,0.30));
	transition: transform .15s ease;
}
.phpr-customer-page .phpr-annotation-pin:hover { transform: translate(-50%, -100%) scale(1.15); }
.phpr-customer-page .phpr-annotation-pin__num {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ppc-primary-deep);
	font-weight: 800;
	font-size: 11px;
	line-height: 1;
	transform: translateY(-3px);
}

/* Message form */
.phpr-customer-page .phpr-rsb-msg-form {
	display: grid;
	gap: 8px;
	margin-top: 10px;
}
.phpr-customer-page .phpr-rsb-msg-form textarea,
.phpr-customer-page .phpr-form textarea {
	width: 100%;
	border: 1.5px solid var(--ppc-line) !important;
	border-radius: 12px !important;
	padding: 12px !important;
	font-size: var(--ppc-font-base) !important;
	resize: vertical;
	min-height: 80px;
	font-family: inherit !important;
	color: var(--ppc-text) !important;
	background: #fff !important;
	transition: border-color .15s, box-shadow .15s;
	outline: none !important;
}
.phpr-customer-page .phpr-rsb-msg-form textarea:focus,
.phpr-customer-page .phpr-form textarea:focus {
	border-color: var(--ppc-primary) !important;
	box-shadow: 0 0 0 4px rgba(5,150,105,0.10) !important;
}

/* Upload form niceties */
.phpr-customer-page .phpr-file-label {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	padding: 10px 14px !important;
	background: var(--ppc-soft-2) !important;
	border: 1.5px dashed var(--ppc-border) !important;
	border-radius: 10px !important;
	cursor: pointer;
	font-weight: 600;
	color: var(--ppc-primary-deep) !important;
	font-size: 13px;
	transition: all .15s ease;
}
.phpr-customer-page .phpr-file-label:hover {
	background: var(--ppc-soft) !important;
	border-style: solid !important;
	border-color: var(--ppc-primary) !important;
}
.phpr-customer-page .phpr-file-chosen {
	margin-left: 10px;
	font-size: 12.5px;
	color: var(--ppc-muted);
}
.phpr-customer-page .phpr-progress {
	height: 6px;
	background: var(--ppc-soft-2);
	border-radius: 999px;
	overflow: hidden;
	margin-top: 8px;
}
.phpr-customer-page .phpr-progress__bar {
	height: 100%;
	background: linear-gradient(90deg, var(--ppc-primary-light), var(--ppc-primary));
	width: 0%;
	transition: width .3s ease;
}

/* Disclaimer */
.phpr-customer-page .phpr-rsb-disclaimer {
	display: flex !important;
	gap: 10px;
	padding: 16px 18px !important;
	background: #fffbeb !important;
	border-top: 1px solid #fde68a !important;
	color: #92400e !important;
	flex-shrink: 0;
	margin-top: auto;
}
.phpr-customer-page .phpr-rsb-disclaimer svg { color: #d97706; flex-shrink: 0; margin-top: 2px; }
.phpr-customer-page .phpr-rsb-disclaimer p {
	margin: 0;
	font-size: var(--ppc-font-sm) !important;
	line-height: 1.65 !important;
}

/* Notice / message areas */
.phpr-customer-page .phpr-msg {
	margin-top: 12px;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 500;
}
.phpr-customer-page .phpr-msg--error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fca5a5;
}
.phpr-customer-page .phpr-msg--success {
	background: var(--ppc-soft);
	color: var(--ppc-primary-deep);
	border: 1px solid var(--ppc-border);
}

/* Compare overlay */
.phpr-customer-page ~ .phpr-compare-overlay,
.phpr-compare-overlay {
	background: rgba(15, 23, 42, 0.78) !important;
	backdrop-filter: blur(6px);
}
.phpr-compare__header {
	background: #fff;
	border-bottom: 1px solid var(--ppc-border, #a7f3d0) !important;
}
.phpr-compare__panel {
	background: #fff !important;
	border-radius: 14px !important;
	box-shadow: 0 12px 30px rgba(15,23,42,0.10);
}
.phpr-compare__label {
	background: var(--ppc-soft, #ecfdf5) !important;
	color: var(--ppc-primary-deep, #064e3b) !important;
	border-bottom: 1px solid var(--ppc-border, #a7f3d0) !important;
	font-weight: 700 !important;
}

/* ── Responsive — full width on all devices ─────────────── */
@media (max-width: 1200px) {
	.phpr-customer-page .phpr-viewer__body-3col {
		grid-template-columns: minmax(220px, 28%) minmax(0, 1fr) minmax(260px, 32%) !important;
	}
}

@media (max-width: 1024px) {
	.phpr-customer-page .phpr-viewer__body-3col {
		display: flex !important;
		flex-direction: column !important;
		min-height: 0 !important;
		padding: 12px !important;
		gap: 14px !important;
	}
	.phpr-customer-page .phpr-viewer__center {
		order: 1;
		min-height: 0 !important;
	}
	.phpr-customer-page .phpr-viewer__right-sidebar {
		order: 2;
	}
	.phpr-customer-page .phpr-viewer__left-sidebar {
		order: 3;
	}
	.phpr-customer-page .phpr-viewer__proof {
		min-height: 0 !important;
	}
	.phpr-customer-page .phpr-chat {
		max-height: none;
	}
}

@media (max-width: 960px) {
	.phpr-customer-page .phpr-portal-header__inner {
		grid-template-columns: 1fr auto;
		grid-template-rows: auto auto;
		padding: 12px 16px !important;
		gap: 10px 12px;
	}

	.phpr-customer-page .phpr-portal-header__brand {
		grid-column: 1;
		grid-row: 1;
	}

	.phpr-customer-page .phpr-portal-header__actions {
		grid-column: 2;
		grid-row: 1;
		gap: 6px;
	}

	.phpr-customer-page .phpr-portal-header__center {
		grid-column: 1 / -1;
		grid-row: 2;
		padding: 0;
		justify-content: center;
	}

	.phpr-customer-page .phpr-portal-header__tagline {
		white-space: normal;
		font-size: 13px;
	}

	.phpr-customer-page .phpr-portal-header__logo--wordmark {
		max-width: min(200px, 52vw);
		height: clamp(28px, 4.5vw, 40px) !important;
	}

	.phpr-customer-page .phpr-portal-header__badge {
		padding: 8px 12px !important;
		font-size: 13px !important;
	}

	.phpr-customer-page .phpr-portal-header__secure {
		padding: 7px 10px !important;
		font-size: 11px !important;
	}
}

@media (max-width: 420px) {
	.phpr-customer-page .phpr-portal-header__badge-label {
		display: none;
	}
	.phpr-customer-page .phpr-portal-header__badge {
		padding: 8px !important;
	}
	.phpr-customer-page .phpr-portal-header__logo--wordmark {
		max-width: min(160px, 48vw);
		height: 28px !important;
	}
}

@media (max-width: 640px) {
	.phpr-customer-page .phpr-verify-card { padding: 28px 20px !important; }
	.phpr-customer-page .phpr-verify-card h2 { font-size: 24px !important; }
	.phpr-customer-page .phpr-verify-card > p { font-size: var(--ppc-font-base) !important; }
	.phpr-customer-page .phpr-portal-header__inner {
		padding: 10px 14px !important;
		gap: 8px 10px;
	}
	.phpr-customer-page .phpr-portal-header__tagline {
		font-size: var(--ppc-font-sm);
	}
	.phpr-customer-page .phpr-portal-header__badge {
		padding: 7px 10px !important;
		font-size: 12px !important;
	}
	.phpr-customer-page .phpr-portal-header__secure {
		padding: 7px 9px !important;
	}
	.phpr-customer-page .phpr-portal-header__secure-label {
		display: none;
	}
	.phpr-customer-page .phpr-viewer__topbar--customer {
		flex-wrap: wrap;
		gap: 10px;
		padding: 12px 14px !important;
	}
	.phpr-customer-page .phpr-viewer__topbar-center {
		order: 3;
		width: 100%;
		justify-content: flex-start;
	}
	.phpr-customer-page .phpr-viewer__greeting {
		display: none;
	}
	.phpr-customer-page .phpr-viewer__body-3col {
		padding: 10px !important;
		gap: 12px !important;
	}
	.phpr-customer-page .phpr-lsb-section,
	.phpr-customer-page .phpr-rsb-section {
		padding: 14px 16px !important;
	}
	.phpr-customer-page .phpr-btn--approve,
	.phpr-customer-page .phpr-btn--reject-outline {
		font-size: 16px !important;
		padding: 16px !important;
	}
	.phpr-customer-page .phpr-proof-toolbar {
		flex-wrap: wrap;
	}
	.phpr-customer-page .phpr-proof-toolbar__actions {
		width: 100%;
		justify-content: flex-start;
	}
}

body.phpr-customer-portal-page .phpr-customer-boot-error {
	max-width: 560px;
	margin: 24px auto !important;
}

/* ════════════════════════════════════════════════════════════
   Flush layout — no gap between theme bar and portal header
   ════════════════════════════════════════════════════════════ */
body.phpr-customer-portal-page {
	padding-top: 0 !important;
	margin-top: 0 !important;
	overflow-x: hidden;
}

/* Beat theme + premium max-width wrappers — full viewport bleed */
body.phpr-customer-portal-page #phpr-customer-app {
	position: relative;
	z-index: 100;
	min-height: 100vh;
	min-height: 100dvh;
	width: 100vw !important;
	max-width: 100vw !important;
	margin: 0 !important;
	padding: 0 !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	animation: none !important;
}

body.phpr-customer-portal-page .phpr-back-bar {
	display: none !important;
}

body.phpr-customer-portal-page :is(
	.entry-content,
	.page-content,
	.site-content,
	.site-main,
	.content-area,
	#content,
	#primary,
	#main,
	main,
	article.page,
	article.post,
	.elementor-section,
	.elementor-section-wrap,
	.elementor-location-single,
	.elementor-widget-theme-post-content,
	.elementor-widget-wrap,
	.elementor-widget-container,
	.elementor-widget-shortcode,
	.wp-block-post-content,
	.e-con,
	.e-con-inner
) {
	padding-top: 0 !important;
	margin-top: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	max-width: none !important;
	width: 100% !important;
}

body.phpr-customer-portal-page .elementor-section-boxed > .elementor-container,
body.phpr-customer-portal-page .elementor-section-full_width > .elementor-container {
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.phpr-customer-portal-page .elementor-column,
body.phpr-customer-portal-page .elementor-column-wrap {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.phpr-customer-portal-page .entry-content > :first-child {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.phpr-customer-portal-page :is(
	.entry-header,
	.page-header,
	.page-title,
	.elementor-widget-theme-post-title,
	.elementor-page-title
) {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
}

body.phpr-customer-portal-page.phpr-themed-page #phpr-customer-app {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.phpr-customer-portal-page .phpr-customer-page {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: none !important;
}

body.phpr-customer-portal-page .phpr-customer-page .phpr-portal-header--customer {
	border-radius: 0 !important;
	margin: 0 !important;
	width: 100% !important;
}

body.phpr-customer-portal-page .phpr-customer-page .phpr-verify-wrap {
	margin-top: 0 !important;
	padding-top: clamp(20px, 3vw, 32px) !important;
}
