/**
 * My Print Jobs — customer-side styles.
 *
 * Restyled (0.60.0) to the approved My Account design
 * (`ecommerce/my-account/mockup-2026-09-23.html`, screens S.jobs/S.job/
 * S.jobfile) — tokens, class names (.card .job .pill .p-act .p-go
 * .preview .flagbig .jsteps .checks .fileline .drop .msgs .msg .composer
 * .warnnote .btn .ghost .sm .link .mono) and their rules ported from that
 * mockup's <style> block. Everything stays scoped under
 * .wppf-customer-lots-wrap — this page sits inside the new `ib-account`
 * shell, which prints no header of its own for this endpoint.
 *
 * Fonts (ABeeZee / IBM Plex Sans / IBM Plex Mono) are already on the site
 * — never enqueued here.
 */

.wppf-customer-lots-wrap {
	--wcl-green: #366336;
	--wcl-green-600: #2d552d;
	--wcl-green-bg: #e3f2e4;
	--wcl-green-ink: #24472a;
	--wcl-ink: #1f2a21;
	--wcl-muted: #6b6b66;
	--wcl-faint: #8d8d86;
	--wcl-card: #ffffff;
	--wcl-line: #e3e1dc;
	--wcl-line-2: #d8d5cf;
	--wcl-amber-bg: #fdf3d9;
	--wcl-amber-ink: #8a4f00;
	--wcl-red: #d4453a;
	--wcl-r-card: 16px;
	--wcl-r-pill: 24px;
	--wcl-r-field: 10px;
	--wcl-head: "ABeeZee", "Trebuchet MS", system-ui, sans-serif;
	--wcl-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
	--wcl-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

	font-family: var( --wcl-body );
	color: #404040;
	font-size: 15px;
	line-height: 1.55;
	position: relative;
}

.wppf-customer-lots-wrap *,
.wppf-customer-lots-wrap *::before,
.wppf-customer-lots-wrap *::after {
	box-sizing: border-box;
}

/* ── Header (list: h1 + lead; detail: back link) ── */

.wppf-customer-lots-wrap h1.t {
	font-family: var( --wcl-head );
	font-weight: 400;
	color: var( --wcl-ink );
	font-size: 30px;
	line-height: 1.15;
	margin: 0 0 6px;
}

.wppf-customer-lots-wrap .lead {
	color: var( --wcl-muted );
	margin: 0 0 22px;
	max-width: 62ch;
}

.wppf-customer-lots-wrap h2.s {
	font-family: var( --wcl-head );
	font-weight: 400;
	color: var( --wcl-ink );
	font-size: 19px;
	margin: 0 0 12px;
}

.wppf-customer-lots-wrap .back {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	color: var( --wcl-muted );
	font-size: 14px;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 0;
	margin-bottom: 14px;
	font: inherit;
}

.wppf-customer-lots-wrap .back:hover {
	color: var( --wcl-ink );
}

/* ── Loading / empty ── */

.wppf-customer-lots-wrap .wcl-loading,
.wppf-customer-lots-wrap .wcl-empty {
	text-align: center;
	padding: 40px 20px;
	color: var( --wcl-muted );
}

.wppf-customer-lots-wrap .wcl-empty {
	background: var( --wcl-card );
	border: 1px solid var( --wcl-line );
	border-radius: var( --wcl-r-card );
}

.wppf-customer-lots-wrap .wcl-empty-inline {
	padding: 16px;
	color: var( --wcl-muted );
	font-style: italic;
}

.wppf-customer-lots-wrap .wcl-loader {
	position: absolute;
	inset: 0;
	background: rgba( 255, 255, 255, 0.6 );
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 5;
	pointer-events: none;
}

.wppf-customer-lots-wrap .wcl-spinner {
	width: 28px;
	height: 28px;
	border: 3px solid var( --wcl-line-2 );
	border-top-color: var( --wcl-green );
	border-radius: 50%;
	animation: wcl-spin .8s linear infinite;
}

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

/* ── Banners ── */

.wppf-customer-lots-wrap .wcl-banner {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 13.5px;
}

.wppf-customer-lots-wrap .wcl-banner button {
	background: none;
	border: none;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	margin-left: auto;
	color: inherit;
}

.wppf-customer-lots-wrap .wcl-banner-err {
	background: #fbeaea;
	color: #9b2c2c;
	border: 1px solid #f1b5b5;
}

.wppf-customer-lots-wrap .wcl-banner-ok {
	background: var( --wcl-green-bg );
	color: var( --wcl-green-ink );
	border: 1px solid #c5e0d0;
}

/* ── Past-orders picker ── */

.wppf-customer-lots-wrap .jobsel,
.wppf-customer-lots-wrap .wcl-order-picker select {
	border: 1px solid var( --wcl-line-2 );
	border-radius: var( --wcl-r-field );
	padding: 8px 12px;
	background: var( --wcl-card );
	font: inherit;
	font-size: 14px;
	color: var( --wcl-ink );
	max-width: 320px;
	width: 100%;
}

.wppf-customer-lots-wrap .wcl-toolbar {
	margin-bottom: 16px;
}

/* ── Buttons (.btn / .ghost / .sm / .link, ported verbatim) ── */

.wppf-customer-lots-wrap .btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: var( --wcl-r-pill );
	padding: 10px 22px;
	font-size: 15px;
	font-weight: 400;
	cursor: pointer;
	border: 1px solid var( --wcl-green );
	background: var( --wcl-green );
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
	font-family: inherit;
}

.wppf-customer-lots-wrap .btn:hover:not(:disabled) {
	background: var( --wcl-green-600 );
}

.wppf-customer-lots-wrap .btn.ghost {
	background: transparent;
	color: var( --wcl-green );
}

.wppf-customer-lots-wrap .btn.ghost:hover:not(:disabled) {
	background: var( --wcl-green-bg );
}

.wppf-customer-lots-wrap .btn.sm {
	padding: 6px 14px;
	font-size: 14px;
}

.wppf-customer-lots-wrap .btn:disabled {
	opacity: .5;
	cursor: not-allowed;
}

.wppf-customer-lots-wrap .link {
	color: var( --wcl-green );
	text-decoration: none;
	font-weight: 500;
	cursor: pointer;
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	font-size: 15px;
}

.wppf-customer-lots-wrap .link:hover {
	text-decoration: underline;
}

.wppf-customer-lots-wrap .link.danger {
	color: var( --wcl-muted );
	font-weight: 400;
}

/* ── Pills (.pill / .p-act / .p-go / wait) ── */

.wppf-customer-lots-wrap .pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border-radius: 999px;
	padding: 3px 11px;
	font-size: 12.5px;
	font-weight: 500;
	white-space: nowrap;
}

.wppf-customer-lots-wrap .pill::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	flex: none;
}

.wppf-customer-lots-wrap .p-act {
	background: var( --wcl-amber-bg );
	color: var( --wcl-amber-ink );
}

.wppf-customer-lots-wrap .p-go {
	background: var( --wcl-green-bg );
	color: var( --wcl-green-ink );
}

/* "wait" tone: our team is working, nothing the customer needs to do. */
.wppf-customer-lots-wrap .p-wait {
	background: #eeeeea;
	color: #55554f;
}

.wppf-customer-lots-wrap .mono {
	font-family: var( --wcl-mono );
	font-size: 13px;
	color: var( --wcl-muted );
}

/* ── Layout helpers ── */

.wppf-customer-lots-wrap .stack {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.wppf-customer-lots-wrap .row {
	display: flex;
	gap: 14px;
	align-items: center;
	flex-wrap: wrap;
}

.wppf-customer-lots-wrap .spacer {
	flex: 1;
}

.wppf-customer-lots-wrap .card {
	background: var( --wcl-card );
	border: 1px solid var( --wcl-line );
	border-radius: var( --wcl-r-card );
	padding: 20px;
}

.wppf-customer-lots-wrap .sechead {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 12px;
	flex-wrap: wrap;
}

.wppf-customer-lots-wrap .sechead h2 {
	margin: 0;
}

.wppf-customer-lots-wrap .sechead p {
	margin: 0;
	color: var( --wcl-muted );
	font-size: 13.5px;
}

/* ── Thumbnails ── */

.wppf-customer-lots-wrap .thumb {
	width: 72px;
	height: 48px;
	border-radius: 4px;
	flex: none;
	box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, .08 );
	overflow: hidden;
	background: #ddd;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wppf-customer-lots-wrap .thumb.lg {
	width: 96px;
	height: 64px;
}

.wppf-customer-lots-wrap .thumb img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
}

.wppf-customer-lots-wrap .thumb svg {
	width: 22px;
	height: 22px;
	color: #b7bcb2;
}

/* ── List: one .card.job per lot ── */

.wppf-customer-lots-wrap .job {
	display: grid;
	grid-template-columns: auto minmax( 0, 1fr ) auto;
	gap: 16px;
	align-items: center;
}

.wppf-customer-lots-wrap .job h4 {
	margin: 0 0 4px;
	font-weight: 500;
	color: var( --wcl-ink );
	font-size: 16px;
}

.wppf-customer-lots-wrap .job .acts {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

/* A job that needs the customer's attention: warm border + tint. */
.wppf-customer-lots-wrap .card.job.wcl-card-needs {
	border-color: #f1dca3;
	background: #fffcf3;
}

.wppf-customer-lots-wrap .wcl-updated {
	font-size: 12px;
	color: var( --wcl-faint );
}

/* ── Detail header ── */

.wppf-customer-lots-wrap .wcl-detail-head h1.t {
	margin: 0;
}

.wppf-customer-lots-wrap .wcl-detail-titlerow {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 2px;
	flex-wrap: wrap;
}

.wppf-customer-lots-wrap .wcl-detail-sub {
	margin: 0 0 10px;
	color: var( --wcl-muted );
}

/* ── Job stages (.jsteps) ── */

.wppf-customer-lots-wrap .jsteps {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	font-size: 13.5px;
	margin: 4px 0 0;
}

.wppf-customer-lots-wrap .jsteps span {
	display: flex;
	gap: 6px;
	align-items: center;
	color: var( --wcl-faint );
}

.wppf-customer-lots-wrap .jsteps span.d {
	color: var( --wcl-green-ink );
}

.wppf-customer-lots-wrap .jsteps span.n {
	color: var( --wcl-amber-ink );
	font-weight: 500;
}

.wppf-customer-lots-wrap .jsteps .wcl-step-dot {
	font-size: 10px;
}

/* ── Draft preview (.preview / .flagbig) ── */

.wppf-customer-lots-wrap .preview {
	background: #f1f1ec;
	border-radius: 12px;
	padding: 18px;
	display: grid;
	place-items: center;
}

.wppf-customer-lots-wrap .warnnote {
	font-size: 13px;
	color: var( --wcl-muted );
	margin: 10px 0 0;
}

/* Branded draft preview image / PDF frame inside .preview. */
.wppf-customer-lots-wrap .wcl-preview-image-link {
	display: block;
	line-height: 0;
	max-width: 520px;
}

.wppf-customer-lots-wrap .wcl-preview-image {
	display: block;
	width: 100%;
	height: auto;
	max-height: 70vh;
	object-fit: contain;
	box-shadow: 0 6px 18px rgba( 0, 0, 0, .12 );
}

.wppf-customer-lots-wrap .wcl-pdf-frame {
	position: relative;
	width: 100%;
	max-width: 520px;
	aspect-ratio: 3 / 4;
	max-height: 70vh;
}

.wppf-customer-lots-wrap .wcl-pdf {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.wppf-customer-lots-wrap .wcl-pdf-hint {
	margin: 8px 0 0;
	font-size: 12px;
	color: var( --wcl-muted );
}

.wppf-customer-lots-wrap .wcl-pdf-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

/* ── File line + checks (.fileline / .checks) ── */

.wppf-customer-lots-wrap .fileline {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
	font-size: 14px;
}

.wppf-customer-lots-wrap .fileline b {
	font-weight: 500;
	color: var( --wcl-ink );
	word-break: break-all;
}

.wppf-customer-lots-wrap .checks {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
	font-size: 14px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.wppf-customer-lots-wrap .checks li {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

.wppf-customer-lots-wrap .checks .wcl-chk-ic {
	flex: none;
	font-weight: 700;
	margin-top: 1px;
}

.wppf-customer-lots-wrap .checks .ok .wcl-chk-ic {
	color: var( --wcl-green );
}

.wppf-customer-lots-wrap .checks .ko {
	color: #8f2a22;
}

.wppf-customer-lots-wrap .checks .ko .wcl-chk-ic {
	color: var( --wcl-red );
}

.wppf-customer-lots-wrap .checks .is-skip .wcl-chk-ic {
	color: var( --wcl-amber-ink );
}

/* ── Upload box (.drop) ── */

.wppf-customer-lots-wrap .drop {
	border: 1.5px dashed #d9c27f;
	background: #fffcf3;
	border-radius: 14px;
	padding: 22px;
	text-align: center;
	color: #6a4a10;
}

.wppf-customer-lots-wrap .drop strong {
	display: block;
	color: #3b2a00;
	font-weight: 500;
	font-size: 16px;
	margin-bottom: 4px;
}

.wppf-customer-lots-wrap .wcl-upload-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 12px;
}

.wppf-customer-lots-wrap .wcl-upload-form input[type="file"] {
	font-size: 13px;
}

.wppf-customer-lots-wrap .wcl-action-buttons {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.wppf-customer-lots-wrap .wcl-action-hint,
.wppf-customer-lots-wrap .wcl-upload-formats {
	margin: -4px 0 10px;
	font-size: 12.5px;
	color: var( --wcl-muted );
}

.wppf-customer-lots-wrap .wcl-action-wait {
	color: var( --wcl-muted );
	font-style: italic;
}

/* ── Upload progress ── */

.wppf-customer-lots-wrap .wcl-upload-progress {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
	width: 100%;
}

.wppf-customer-lots-wrap .wcl-progress-bar {
	flex: 1;
	height: 8px;
	background: var( --wcl-line );
	border-radius: 99px;
	overflow: hidden;
}

.wppf-customer-lots-wrap .wcl-progress-fill {
	height: 100%;
	width: 0%;
	background: var( --wcl-green );
	border-radius: 99px;
	transition: width .2s ease;
}

.wppf-customer-lots-wrap .wcl-upload-failed .wcl-progress-fill {
	background: var( --wcl-red );
}

.wppf-customer-lots-wrap .wcl-upload-status {
	font-size: 12px;
	color: var( --wcl-muted );
	min-width: 38px;
	text-align: right;
	white-space: nowrap;
}

.wppf-customer-lots-wrap .wcl-upload-status.wcl-upload-error {
	color: var( --wcl-red );
	min-width: 0;
	text-align: left;
	white-space: normal;
}

/* ── Messages (.msgs / .msg / .composer) ── */

.wppf-customer-lots-wrap .msgs {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-height: 360px;
	overflow-y: auto;
	padding-right: 2px;
}

.wppf-customer-lots-wrap .msg {
	max-width: 78%;
	border-radius: 14px;
	padding: 10px 14px;
	font-size: 14.5px;
	background: #f3f3ef;
	align-self: flex-start;
}

.wppf-customer-lots-wrap .msg.me {
	align-self: flex-end;
	background: var( --wcl-green-bg );
}

.wppf-customer-lots-wrap .msg small {
	display: block;
	color: var( --wcl-faint );
	font-size: 12px;
	margin-bottom: 2px;
}

.wppf-customer-lots-wrap .wcl-msg-body {
	white-space: pre-wrap;
	word-wrap: break-word;
}

.wppf-customer-lots-wrap .wcl-msg-translated {
	display: block;
	margin-top: 4px;
	font-size: 11.5px;
	color: var( --wcl-faint );
	font-style: italic;
}

.wppf-customer-lots-wrap .wcl-msg-toggle {
	display: block;
	margin-top: 4px;
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	font-size: 11.5px;
	color: var( --wcl-green );
	cursor: pointer;
	text-decoration: underline;
}

.wppf-customer-lots-wrap .wcl-thread-empty {
	color: var( --wcl-muted );
	font-size: 13.5px;
	margin: 0;
}

.wppf-customer-lots-wrap .composer {
	display: flex;
	gap: 10px;
	align-items: flex-end;
	margin-top: 14px;
}

.wppf-customer-lots-wrap .composer textarea {
	flex: 1;
	border: 1px solid var( --wcl-line-2 );
	border-radius: var( --wcl-r-field );
	padding: 10px 12px;
	font: inherit;
	min-height: 46px;
	resize: vertical;
	background: #fff;
}

.wppf-customer-lots-wrap .composer textarea:focus {
	outline: none;
	border-color: var( --wcl-green );
}

.wppf-customer-lots-wrap .wcl-composer-closed {
	padding: 12px 14px;
	border: 1px dashed var( --wcl-line-2 );
	border-radius: 10px;
	background: #f6f7f4;
	color: var( --wcl-muted );
	font-size: 13px;
	font-style: italic;
}

/* ── "Your file" card (non-upload, non-draft states) ── */

.wppf-customer-lots-wrap .wcl-file-current {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	flex-wrap: wrap;
}

.wppf-customer-lots-wrap .wcl-file-current .preview {
	flex: 0 1 220px;
}

.wppf-customer-lots-wrap .wcl-file-body {
	flex: 1 1 260px;
	min-width: 0;
}

/* ── Clickable preview thumbnails (lightbox trigger) ── */

.wppf-customer-lots-wrap .wcl-thumb-btn {
	display: block;
	width: 100%;
	padding: 0;
	border: none;
	background: none;
	cursor: zoom-in;
	line-height: 0;
	font: inherit;
}

.wppf-customer-lots-wrap .wcl-thumb-btn:hover .wcl-preview-image,
.wppf-customer-lots-wrap .wcl-thumb-btn:focus-visible .wcl-preview-image {
	outline: 2px solid var( --wcl-green );
	outline-offset: 2px;
}

.wppf-customer-lots-wrap .wcl-file-delivery {
	font-size: 12.5px;
	color: var( --wcl-muted );
	margin-top: 4px;
}

.wppf-customer-lots-wrap .wcl-file-approved {
	color: var( --wcl-green-ink );
}

.wppf-customer-lots-wrap .wcl-file-rejected {
	color: #9b2c20;
}

/* ── Lightbox (full-size draft preview) ── */

.wppf-customer-lots-wrap .wcl-lightbox {
	position: fixed;
	inset: 0;
	background: rgba( 20, 22, 20, .78 );
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	padding: 16px;
}

.wppf-customer-lots-wrap .wcl-lightbox-inner {
	background: #fff;
	border-radius: 12px;
	width: 100%;
	max-width: 880px;
	max-height: calc( 100vh - 32px );
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba( 24, 28, 24, .35 );
}

.wppf-customer-lots-wrap .wcl-lightbox-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-bottom: 1px solid var( --wcl-line );
}

.wppf-customer-lots-wrap .wcl-lightbox-title {
	flex: 1;
	min-width: 0;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.wppf-customer-lots-wrap .wcl-lightbox-close {
	background: none;
	border: none;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	color: var( --wcl-muted );
	padding: 2px 6px;
}

.wppf-customer-lots-wrap .wcl-lightbox-close:hover {
	color: var( --wcl-ink );
}

.wppf-customer-lots-wrap .wcl-lightbox-body {
	flex: 1;
	min-height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f4f5f3;
	overflow: auto;
}

.wppf-customer-lots-wrap .wcl-lightbox-img {
	max-width: 100%;
	max-height: calc( 100vh - 130px );
	display: block;
}

.wppf-customer-lots-wrap .wcl-lightbox-status {
	padding: 40px 20px;
	color: var( --wcl-muted );
}

.wppf-customer-lots-wrap .wcl-lightbox-error {
	color: var( --wcl-red );
}

/* ── Approve confirmation / request-changes modal ── */

.wppf-customer-lots-wrap .wcl-modal {
	position: fixed;
	inset: 0;
	background: rgba( 20, 22, 20, .55 );
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	padding: 16px;
}

.wppf-customer-lots-wrap .wcl-modal-card {
	background: #fff;
	border-radius: 12px;
	width: 100%;
	max-width: 420px;
	padding: 20px;
	box-shadow: 0 12px 40px rgba( 24, 28, 24, .25 );
	max-height: calc( 100vh - 32px );
	overflow-y: auto;
}

.wppf-customer-lots-wrap .wcl-modal-title {
	margin: 0 0 12px;
	font-family: var( --wcl-head );
	font-weight: 400;
	font-size: 19px;
	color: var( --wcl-ink );
}

.wppf-customer-lots-wrap .wcl-modal-specs {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 0 14px;
	font-size: 14px;
}

.wppf-customer-lots-wrap .wcl-modal-specs div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

.wppf-customer-lots-wrap .wcl-modal-specs dt {
	color: var( --wcl-muted );
}

.wppf-customer-lots-wrap .wcl-modal-specs dd {
	margin: 0;
	font-weight: 500;
	color: var( --wcl-ink );
}

.wppf-customer-lots-wrap .wcl-modal-warning {
	margin: 0 0 16px;
	padding: 10px 12px;
	border-radius: 8px;
	background: var( --wcl-amber-bg );
	color: var( --wcl-amber-ink );
	font-size: 13px;
}

.wppf-customer-lots-wrap .wcl-modal-buttons {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
	flex-wrap: wrap;
}

.wppf-customer-lots-wrap .wcl-modal-hint {
	margin: 0 0 10px;
	font-size: 13px;
	color: var( --wcl-muted );
}

.wppf-customer-lots-wrap .wcl-modal-textarea {
	width: 100%;
	min-height: 96px;
	resize: vertical;
	border: 1px solid var( --wcl-line-2 );
	border-radius: var( --wcl-r-field );
	padding: 8px 10px;
	font: inherit;
	font-size: 13px;
	background: #fff;
	margin: 0 0 12px;
}

.wppf-customer-lots-wrap .wcl-modal-textarea:focus {
	outline: none;
	border-color: var( --wcl-green );
}

.wppf-customer-lots-wrap .wcl-modal-error {
	margin: -6px 0 12px;
	font-size: 12px;
	color: var( --wcl-red );
}

/* ── Mobile ── */

@media ( max-width: 640px ) {
	.wppf-customer-lots-wrap .job {
		grid-template-columns: auto minmax( 0, 1fr );
	}
	.wppf-customer-lots-wrap .job .acts {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}
	.wppf-customer-lots-wrap .wcl-action-buttons {
		flex-direction: column;
	}
	.wppf-customer-lots-wrap .wcl-action-buttons .btn {
		width: 100%;
		justify-content: center;
	}
	.wppf-customer-lots-wrap .wcl-upload-form {
		flex-direction: column;
	}
	.wppf-customer-lots-wrap .wcl-lightbox {
		padding: 8px;
	}
	.wppf-customer-lots-wrap .wcl-lightbox-inner {
		max-height: calc( 100vh - 16px );
	}
	.wppf-customer-lots-wrap .wcl-lightbox-img {
		max-height: calc( 100vh - 100px );
	}
	.wppf-customer-lots-wrap .wcl-modal-buttons {
		flex-direction: column-reverse;
	}
	.wppf-customer-lots-wrap .wcl-modal-buttons .btn {
		width: 100%;
		justify-content: center;
	}
	.wppf-customer-lots-wrap .msg {
		max-width: 92%;
	}
	.wppf-customer-lots-wrap .wcl-file-current {
		flex-direction: column;
	}
}

/* The site's Core Framework styles .btn / .link globally (uppercase, letter-spacing,
   its own colours) and loads after this sheet: inside the print-jobs app they read as
   ours. */
body .wppf-customer-lots-wrap .btn,
body .wppf-customer-lots-wrap .link,
body .wppf-customer-lots-wrap button {
	text-transform: none;
	letter-spacing: normal;
}

/* The browser's own «Choose file» button, in the shop's ghost-pill look. */
.wppf-customer-lots-wrap input[type="file"]::file-selector-button {
	border: 1px solid #366336;
	border-radius: 24px;
	background: transparent;
	color: #366336;
	padding: 6px 14px;
	margin-right: 12px;
	font: inherit;
	font-size: 14px;
	cursor: pointer;
}

.wppf-customer-lots-wrap input[type="file"]::file-selector-button:hover {
	background: #e3f2e4;
}

/* A file preview never takes over the phone screen: it is a reminder of the file, not
   the proof (the full size is one tap away). */
@media (max-width: 767px) {
	.wppf-customer-lots-wrap .preview img,
	.wppf-customer-lots-wrap .preview iframe {
		max-height: 300px;
		width: auto;
		max-width: 100%;
		object-fit: contain;
	}
}
