/*
 * AgencyQ AI Auction 2.10.7 — premium editorial presentation.
 * All public rules are scoped to the plugin route/renderer namespaces.
 */
.aqap,
.aqap-public,
.aqap-notification-route-main,
.aqap-notification-preferences,
.aqap-auction-account,
.aqap-alert-onboarding {
	--aqap-navy: #071827;
	--aqap-navy-deep: #061521;
	--aqap-navy-soft: #0d2738;
	--aqap-ink: #14212a;
	--aqap-cream: #f7f0e3;
	--aqap-ivory: #fffaf1;
	--aqap-gold: #c9a45f;
	--aqap-gold-light: #e2c985;
	--aqap-coral: #dd694f;
	--aqap-magenta: #b6336c;
	--aqap-teal: #138586;
	--aqap-turquoise: #3eb8b2;
	--aqap-orange: #df8a3f;
	--aqap-purple: #735c8f;
	--aqap-muted: #5e6468;
	--aqap-line: rgba(20, 33, 42, 0.16);
	--aqap-serif: Georgia, "Times New Roman", Times, serif;
	--aqap-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--aqap-shadow: 0 20px 55px rgba(7, 24, 39, 0.13);
	color: var(--aqap-ink);
	font-family: var(--aqap-sans);
	font-size: 18px;
	line-height: 1.7;
	text-rendering: optimizeLegibility;
}

/* 2.15.6: exact-winner checkout action and stable Host catalog controls. */
.aqap-winner-payment-action {
	margin: 20px 0;
}
.aqap-winner-payment-action .aqap-button {
	display: inline-flex;
	justify-content: center;
	text-align: center;
}
.aqap-winner-payment-action p {
	color: #667078;
	font-size: 14px;
	margin: 10px 0 0;
}
.aqap-payment-complete {
	background: #e8f5ee;
	border-left: 4px solid #157347;
	color: #157347;
	display: inline-block;
	font-weight: 800;
	margin: 12px 0;
	padding: 12px 16px;
}

@media (max-width: 620px) {
	.aqap-winner-payment-action .aqap-button,
	.aqap-activity-card__actions .aqap-button {
		box-sizing: border-box;
		width: 100%;
	}
}

.aqap *,
.aqap *::before,
.aqap *::after,
.aqap-public *,
.aqap-public *::before,
.aqap-public *::after,
.aqap-notification-preferences *,
.aqap-notification-preferences *::before,
.aqap-notification-preferences *::after,
.aqap-auction-account .woocommerce,
.aqap-auction-account .woocommerce *,
.aqap-auction-account .woocommerce *::before,
.aqap-auction-account .woocommerce *::after,
.aqap-alert-onboarding *,
.aqap-alert-onboarding *::before,
.aqap-alert-onboarding *::after { box-sizing: border-box; }

.aqap,
.aqap-public,
.aqap-route-main { box-sizing: border-box; min-width: 0; }

.aqap-route-main {
	background: var(--aqap-ivory, #fffaf1);
	clear: both;
	display: block;
	margin: 0;
	max-width: none;
	padding: 0;
	width: 100%;
}

/* The shared site shell remains theme/plugin-owned. Auction routes only opt
 * their content canvas into the same full-width mode as other site pages. */
body.aqap-auction-route #page { max-width: 100%; }
body.aqap-auction-route #content { padding: 0; }

.aqap-public { margin: 0; max-width: 100%; min-width: 0; overflow-wrap: anywhere; padding: 0; width: 100%; }
.aqap-public img,
.aqap-public svg { display: block; height: auto; max-width: 100%; }
.aqap-public a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
.aqap-public h1,
.aqap-public h2,
.aqap-public h3,
.aqap-public p,
.aqap-public ol,
.aqap-public ul,
.aqap-public dl,
.aqap-public figure { margin-top: 0; }
.aqap-public h1,
.aqap-public h2,
.aqap-public h3 { color: inherit; font-family: var(--aqap-serif); font-weight: 500; line-height: 1.08; }
.aqap-public h1 { font-size: clamp(2.7rem, 6vw, 5.75rem); letter-spacing: -0.045em; }
.aqap-public h2 { font-size: clamp(2.25rem, 5vw, 4.5rem); letter-spacing: -0.035em; }
.aqap-public h3 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); }
.aqap-public :where(a, button, input, select, summary):focus-visible,
.aqap :where(a, button, input, select):focus-visible { outline: 3px solid #56d8d2; outline-offset: 4px; }

.aqap-section-shell {
	margin-inline: auto;
	width: min(calc(100% - 2.5rem), 1240px);
}

.aqap-eyebrow {
	color: var(--aqap-gold);
	font-size: 0.76rem;
	font-weight: 850;
	letter-spacing: 0.19em;
	line-height: 1.45;
	margin-bottom: 0.75rem;
	text-transform: uppercase;
}

.aqap-section-heading { margin-bottom: clamp(2rem, 5vw, 3.6rem); max-width: 780px; }
.aqap-section-heading h2 { color: var(--aqap-navy); margin-bottom: 1rem; }
.aqap-section-heading > p:last-child { color: var(--aqap-muted); font-size: clamp(1rem, 1.7vw, 1.15rem); line-height: 1.7; }
.aqap-section-heading--light h2 { color: var(--aqap-ivory); }
.aqap-section-heading--light .aqap-eyebrow { color: var(--aqap-gold-light); }

/* Editorial catalog hero */
.aqap-editorial-hero {
	background:
		radial-gradient(circle at 7% 15%, rgba(182, 51, 108, 0.18), transparent 26rem),
		radial-gradient(circle at 92% 25%, rgba(62, 184, 178, 0.17), transparent 24rem),
		linear-gradient(135deg, var(--aqap-navy-deep), var(--aqap-navy-soft));
	color: var(--aqap-ivory);
	display: grid;
	isolation: isolate;
	min-height: clamp(520px, 62vw, 720px);
	overflow: hidden;
	place-items: center;
	position: relative;
}

.aqap-editorial-hero::before,
.aqap-editorial-hero::after {
	content: "";
	pointer-events: none;
	position: absolute;
}
.aqap-editorial-hero::before {
	background: linear-gradient(90deg, var(--aqap-coral), var(--aqap-orange), var(--aqap-turquoise), var(--aqap-magenta), var(--aqap-purple));
	height: 4px;
	left: 0;
	right: 0;
	top: 0;
}
.aqap-editorial-hero::after {
	border: 1px solid rgba(226, 201, 133, 0.19);
	border-radius: 50%;
	height: min(58vw, 680px);
	right: min(-22vw, -160px);
	top: -36%;
	width: min(58vw, 680px);
}

.aqap-editorial-hero__inner {
	margin-inline: auto;
	padding: clamp(4.5rem, 9vw, 8rem) 0;
	position: relative;
	width: min(calc(100% - 2.5rem), 1240px);
	z-index: 1;
}
.aqap-editorial-hero .aqap-eyebrow { color: var(--aqap-gold-light); }
.aqap-editorial-hero h1 { color: var(--aqap-ivory); margin-bottom: 1.45rem; max-width: 11ch; }
.aqap-editorial-hero__copy { color: rgba(255, 250, 241, 0.84); font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.75; margin-bottom: 2rem; max-width: 720px; }
.aqap-editorial-hero__date { color: var(--aqap-gold-light); font-family: var(--aqap-serif); font-size: 0.95rem; letter-spacing: 0.045em; margin: 1.35rem 0 0; }

/* Shared actions */
.aqap-button,
.aqap-public button,
.aqap button {
	align-items: center;
	background: var(--aqap-navy);
	border: 1px solid var(--aqap-navy);
	border-radius: 2px;
	color: var(--aqap-ivory) !important;
	cursor: pointer;
	display: inline-flex;
	font-family: var(--aqap-sans);
	font-size: 0.92rem;
	font-weight: 800;
	justify-content: center;
	letter-spacing: 0.065em;
	line-height: 1.3;
	min-height: 48px;
	padding: 0.78rem 1.35rem 0.74rem;
	text-align: center;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.aqap-button:hover,
.aqap-public button:hover,
.aqap button:hover { background: var(--aqap-navy-soft); border-color: var(--aqap-navy-soft); color: var(--aqap-ivory) !important; transform: translateY(-2px); }
.aqap-button--gold { background: var(--aqap-gold-light); border-color: var(--aqap-gold-light); color: var(--aqap-navy) !important; box-shadow: 0 9px 24px rgba(0, 0, 0, 0.15); }
.aqap-button--gold:hover { background: #f1d993; border-color: #f1d993; color: var(--aqap-navy) !important; }
.aqap-button--outline { background: transparent; border-color: rgba(226, 201, 133, 0.82); color: var(--aqap-gold-light) !important; }
.aqap-button--outline:hover { background: var(--aqap-gold-light); border-color: var(--aqap-gold-light); color: var(--aqap-navy) !important; }
.aqap-button--secondary { background: transparent; border-color: rgba(7, 24, 39, 0.48); color: var(--aqap-navy) !important; }
.aqap-public button:disabled,
.aqap-public input:disabled { cursor: not-allowed; opacity: 0.58; transform: none; }

/* Collection and cards */
.aqap-collection { background: var(--aqap-cream); padding: clamp(4.5rem, 8vw, 7.5rem) 0; scroll-margin-top: 1rem; }
.aqap-collection .aqap-collection-heading {
	align-items: initial;
	display: block;
	max-width: min(100%, 880px);
}
.aqap-collection .aqap-collection-heading .aqap-eyebrow { margin-bottom: 0.8rem; }
.aqap-collection .aqap-collection-heading h2 { margin: 0 0 1rem; max-width: none; }
.aqap-collection .aqap-collection-heading > p:last-child { margin: 0; max-width: 720px; }
.aqap-catalog-filters { display: flex; flex-wrap: wrap; gap: 0.65rem; margin: -1.3rem 0 0.75rem; }
.aqap-public .aqap-filter-button {
	background: transparent;
	border-color: rgba(7, 24, 39, 0.42);
	color: var(--aqap-navy) !important;
	min-height: 44px;
	padding: 0.65rem 1rem 0.6rem;
}
.aqap-public .aqap-filter-button:hover,
.aqap-public .aqap-filter-button[aria-pressed="true"] { background: var(--aqap-navy); border-color: var(--aqap-navy); color: var(--aqap-ivory) !important; }
.aqap-filter-status { color: var(--aqap-muted); font-size: 0.82rem; margin: 0 0 1.6rem; }
.aqap-catalog__grid { align-items: start; display: grid; gap: clamp(1.1rem, 2.3vw, 2rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aqap-auction-card[hidden] { display: none !important; }
.aqap-auction-card {
	background: var(--aqap-ivory);
	border: 1px solid rgba(20, 33, 42, 0.14);
	box-shadow: 0 16px 40px rgba(7, 24, 39, 0.09);
	display: flex;
	flex-direction: column;
	height: auto;
	min-width: 0;
	overflow: hidden;
	place-self: start stretch;
	transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.aqap-auction-card:hover { box-shadow: var(--aqap-shadow); transform: translateY(-3px); }
.aqap-auction-card__image {
	aspect-ratio: 4 / 3;
	background: #eee7dc;
	display: block;
	overflow: hidden;
	position: relative;
	width: 100%;
}
.aqap-auction-card__image img,
.aqap-auction-card__image .aqap-image-placeholder {
	height: 100%;
	inset: 0;
	object-fit: contain;
	position: absolute;
	transition: transform 0.22s ease;
	width: 100%;
}
.aqap-auction-card__image img { background: #eee7dc; z-index: 1; }
.aqap-auction-card__image.is-unavailable img { display: none; }
.aqap-auction-card__image .aqap-image-placeholder {
	align-items: center;
	display: flex;
	justify-content: center;
	padding: 1.25rem;
}
.aqap-image-placeholder__label {
	color: rgba(7, 24, 39, 0.64);
	font-family: var(--aqap-sans);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-align: center;
	text-transform: uppercase;
}
.aqap-auction-card__image:hover img { transform: scale(1.015); }
.aqap-image-placeholder,
.aqap-gallery__placeholder { background: linear-gradient(135deg, #e7dfd2, #fbf6ed); display: block; }
.aqap-auction-card__body { display: flex; flex: 0 0 auto; flex-direction: column; padding: clamp(1.2rem, 2.6vw, 1.7rem); }
.aqap-category-label { color: var(--aqap-teal); font-size: 0.7rem; font-weight: 850; letter-spacing: 0.11em; margin-bottom: 0.55rem; text-transform: uppercase; }
.aqap-auction-card h2 { color: var(--aqap-navy); font-size: clamp(1.55rem, 2.4vw, 2rem); hyphens: none; line-height: 1.12; margin-bottom: 0.45rem; overflow-wrap: normal; word-break: normal; }
.aqap-auction-card h2 a { color: inherit; text-decoration: none; }
.aqap-artist { color: var(--aqap-teal); font-size: 0.92rem; font-weight: 750; letter-spacing: 0.025em; margin-bottom: 1rem; }
.aqap-auction-card__summary { color: var(--aqap-muted); display: -webkit-box; font-size: 0.95rem; line-height: 1.65; margin-bottom: 1.3rem; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.aqap-auction-card__meta { border-bottom: 1px solid var(--aqap-line); border-top: 1px solid var(--aqap-line); display: grid; gap: 0.9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 1.2rem; padding: 1rem 0; }
.aqap-auction-card__meta p { margin: 0; min-width: 0; }
.aqap-auction-card__meta span,
.aqap-price-grid span { color: var(--aqap-muted); display: block; font-size: 0.68rem; font-weight: 850; letter-spacing: 0.11em; text-transform: uppercase; }
.aqap-auction-card__meta strong { color: var(--aqap-navy); display: block; font-family: var(--aqap-serif); font-size: 1.05rem; line-height: 1.4; margin-top: 0.25rem; overflow-wrap: anywhere; }
.aqap-auction-card > .aqap-auction-card__body > .aqap-button { width: 100%; }

.aqap-status { align-self: flex-start; background: rgba(7, 24, 39, 0.08); border-left: 2px solid var(--aqap-gold); color: var(--aqap-navy); display: inline-flex; font-size: 0.68rem; font-weight: 850; letter-spacing: 0.1em; margin-bottom: 0.9rem; padding: 0.36rem 0.65rem; text-transform: uppercase; }
.aqap-status--open { background: rgba(19, 133, 134, 0.12); border-color: var(--aqap-teal); color: #075d60; }
.aqap-status--scheduled { background: rgba(201, 164, 95, 0.18); color: #654803; }
.aqap-status--closed,
.aqap-status--resolved,
.aqap-status--payment_pending,
.aqap-status--payment_failed,
.aqap-status--payment_review { background: rgba(20, 33, 42, 0.07); color: #4e5965; }
.aqap-status--paid { background: rgba(115, 92, 143, 0.12); border-color: var(--aqap-purple); color: #514066; }

/* How bidding works */
.aqap-how { background: var(--aqap-navy); color: var(--aqap-ivory); padding: clamp(4.5rem, 8vw, 7rem) 0; }
.aqap-how__steps { counter-reset: none; display: grid; gap: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.aqap-how__steps li { border-left: 1px solid rgba(226, 201, 133, 0.28); min-width: 0; padding: 0.4rem clamp(1rem, 2.5vw, 1.7rem) 0; }
.aqap-how__steps li:first-child { border-left: 0; padding-left: 0; }
.aqap-how__steps span { color: var(--aqap-gold-light); display: block; font-family: var(--aqap-serif); font-size: 1.15rem; margin-bottom: 1.2rem; }
.aqap-how__steps h3 { color: var(--aqap-ivory); margin-bottom: 0.65rem; }
.aqap-how__steps p { color: rgba(255, 250, 241, 0.72); font-size: 0.9rem; line-height: 1.65; margin-bottom: 0; }
.aqap-how__action { margin: 2.2rem 0 0; }

/* Mission */
.aqap-mission { background: radial-gradient(circle at 5% 50%, rgba(62, 184, 178, 0.08), transparent 28%), var(--aqap-ivory); padding: clamp(4.5rem, 8vw, 7rem) 0; }
.aqap-mission__inner { align-items: start; display: grid; gap: clamp(2rem, 6vw, 6rem); grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.aqap-mission h2 { color: var(--aqap-navy); margin-bottom: 0; }
.aqap-mission__inner > div:last-child > p { color: var(--aqap-muted); font-size: clamp(1.05rem, 1.8vw, 1.22rem); line-height: 1.8; }
.aqap-mission__actions { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.6rem; }
.aqap-text-link { color: var(--aqap-navy) !important; font-size: 0.78rem; font-weight: 850; letter-spacing: 0.11em; text-decoration-color: var(--aqap-gold) !important; text-transform: uppercase; }

/* Individual auction */
.aqap-item { background: var(--aqap-cream); margin: 0; padding: clamp(1.5rem, 4vw, 3.5rem) max(1.25rem, calc((100% - 1240px) / 2)); }
.aqap-breadcrumb { color: var(--aqap-muted); display: flex; flex-wrap: wrap; font-size: 0.8rem; font-weight: 750; gap: 0.55rem; letter-spacing: 0.045em; margin-bottom: 1.4rem; text-transform: uppercase; }
.aqap-breadcrumb a { color: var(--aqap-navy); }
.aqap-environment { background: #fff5d7; border-left: 3px solid var(--aqap-gold); color: #543d05; font-size: 0.86rem; margin-bottom: 1.3rem; padding: 0.75rem 1rem; }
.aqap-item__layout { align-items: start; display: grid; gap: clamp(1.5rem, 4vw, 4.5rem); grid-template-columns: minmax(0, 1.22fr) minmax(330px, 0.78fr); }
.aqap-item__art,
.aqap-item__panel { min-width: 0; }
.aqap-gallery { outline: 0; }
.aqap-gallery:focus-visible { box-shadow: 0 0 0 3px var(--aqap-teal); }
.aqap-gallery__stage { background: #eee7dc; border: 1px solid var(--aqap-line); box-shadow: var(--aqap-shadow); overflow: hidden; position: relative; }
.aqap-gallery__slide { align-items: center; display: flex; justify-content: center; margin: 0; min-height: min(68vh, 680px); }
.aqap-gallery__slide[hidden] { display: none; }
.aqap-gallery__enlarge { background: transparent !important; border: 0 !important; color: inherit !important; cursor: zoom-in; display: block; min-height: 0 !important; padding: 0 !important; width: 100%; }
.aqap-gallery__slide img { aspect-ratio: 4 / 3; display: block; max-height: min(68vh, 680px); object-fit: contain; width: 100%; }
.aqap-gallery__video iframe,
.aqap-gallery__video video { aspect-ratio: 16 / 9; background: #071827; border: 0; display: block; max-height: min(68vh, 680px); width: 100%; }
.aqap-gallery__controls { align-items: center; display: flex; justify-content: space-between; margin: 0.75rem 0; }
.aqap-public .aqap-gallery__controls button { align-items: center; border-radius: 50%; display: inline-flex; font-size: 1.15rem; height: 44px; justify-content: center; min-height: 44px; padding: 0; width: 44px; }
.aqap-gallery__controls span { color: var(--aqap-muted); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; }
.aqap-gallery__thumbnails { display: grid; gap: 0.55rem; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); }
.aqap-public .aqap-gallery__thumbnails button { background: #eee7dc; border: 2px solid transparent; min-height: 68px; overflow: hidden; padding: 0; width: 100%; }
.aqap-public .aqap-gallery__thumbnails button[aria-selected="true"] { border-color: var(--aqap-gold); box-shadow: 0 0 0 1px var(--aqap-navy); }
.aqap-gallery__thumbnails img { aspect-ratio: 1; display: block; object-fit: cover; width: 100%; }
.aqap-gallery__video-thumb { align-items: center; color: var(--aqap-navy) !important; display: flex; flex-direction: column; font-size: 0.7rem !important; justify-content: center; letter-spacing: 0.08em; text-transform: uppercase; }
.aqap-gallery__video-thumb span:first-child { font-size: 1.2rem; }
.aqap-gallery__placeholder { aspect-ratio: 4 / 3; width: 100%; }
.aqap-lightbox { background: #071827; border: 0; height: 100vh; margin: auto; max-height: 100vh; max-width: 100vw; overflow: hidden; padding: max(4.25rem, calc(env(safe-area-inset-top) + 3.5rem)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); width: 100vw; }
.aqap-lightbox::backdrop { background: rgba(3, 12, 20, 0.94); }
.aqap-lightbox img { height: 100%; object-fit: contain; width: 100%; }
.aqap-public .aqap-lightbox__close { align-items: center; background: #fff !important; border: 2px solid var(--aqap-gold) !important; border-radius: 50%; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4); color: #071827 !important; display: inline-flex; font-size: 1.8rem; font-weight: 800; height: 48px; justify-content: center; line-height: 1; min-height: 48px; min-width: 48px; padding: 0 !important; position: absolute; right: max(12px, env(safe-area-inset-right)); top: max(12px, env(safe-area-inset-top)); touch-action: manipulation; width: 48px; z-index: 1002; }

.aqap-panel { background: var(--aqap-ivory); border: 1px solid rgba(20, 33, 42, 0.14); box-shadow: 0 18px 45px rgba(7, 24, 39, 0.12); padding: clamp(1.35rem, 3vw, 2.4rem); position: sticky; top: 1rem; }
.aqap-item__collection-label { color: var(--aqap-gold); font-size: 0.68rem; font-weight: 850; letter-spacing: 0.12em; margin-bottom: 0.75rem; text-transform: uppercase; }
.aqap-panel h1 { color: var(--aqap-navy); font-size: clamp(2.25rem, 4.2vw, 3.9rem); margin-bottom: 0.75rem; }
.aqap-panel__summary,
.aqap-state-copy { color: var(--aqap-muted); line-height: 1.65; }
.aqap-price-grid { display: grid; gap: 1px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 1.35rem 0 0.65rem; background: var(--aqap-line); border: 1px solid var(--aqap-line); }
.aqap-price-grid > div { background: #fbf7ef; padding: 1rem; }
.aqap-price-grid strong { color: var(--aqap-navy); display: block; font-family: var(--aqap-serif); font-size: clamp(1.3rem, 2.5vw, 1.8rem); line-height: 1.15; margin-top: 0.3rem; }
.aqap-increment,
.aqap-bid-count,
.aqap-help,
.aqap-latest-bid { color: var(--aqap-muted); font-size: 0.84rem; }
.aqap-timing { border-left: 2px solid var(--aqap-gold); display: grid; gap: 0.1rem; margin: 1.2rem 0; padding: 0.35rem 0 0.35rem 0.9rem; }
.aqap-timing > span:first-child { color: var(--aqap-muted); font-size: 0.68rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.aqap-timing time { color: var(--aqap-navy); font-family: var(--aqap-serif); }
.aqap-timing [data-aqap-countdown] { color: var(--aqap-teal); font-variant-numeric: tabular-nums; margin-top: 0.35rem; }

.aqap-message,
.aqap-notice { border-left: 3px solid; padding: 0.8rem 0.95rem; }
.aqap-message--success,
.aqap-notice--success { background: #eaf6f0; border-color: #17643c; color: #17643c; }
.aqap-message--attention { background: #fff3df; border-color: #8a4b08; color: #71400c; }
.aqap-notice--error { background: #fff0f0; border-color: #9f2f2f; color: #7d2323; }
.aqap-notice { margin-bottom: 1.25rem; }
.aqap-signin-prompt { background: #f2eadc; border-left: 2px solid var(--aqap-gold); margin: 1rem 0; padding: 1rem; }
.aqap-signin-prompt p { margin-bottom: 0.6rem; }
.aqap-bid-form { border-top: 1px solid var(--aqap-line); margin-top: 1.1rem; padding-top: 1.1rem; }
.aqap-bid-form > label,
.aqap-form label { display: grid; font-size: 0.88rem; font-weight: 750; gap: 0.4rem; }
.aqap-bid-form__row { display: grid; gap: 0.65rem; grid-template-columns: minmax(0, 1fr) auto; margin-top: 0.45rem; }

.aqap-public input,
.aqap-public select,
.aqap input,
.aqap select { background: #fff; border: 1px solid #8e9294; border-radius: 0; color: var(--aqap-ink); font: inherit; font-size: 16px; min-height: 50px; padding: 0.7rem 0.8rem; width: 100%; }
.aqap-public input:focus,
.aqap-public select:focus,
.aqap input:focus,
.aqap select:focus { border-color: var(--aqap-teal); box-shadow: 0 0 0 1px var(--aqap-teal); outline: 0; }

.aqap-item__content { display: grid; gap: 1.25rem; margin-top: clamp(2rem, 5vw, 4.5rem); }
.aqap-section,
.aqap-empty { background: var(--aqap-ivory); border: 1px solid var(--aqap-line); padding: clamp(1.25rem, 3vw, 2.3rem); }
.aqap-section h2,
.aqap-empty h1,
.aqap-empty h2,
.aqap-empty h3 { color: var(--aqap-navy); margin-bottom: 0.9rem; }
.aqap-prose { line-height: 1.8; }
.aqap-details { display: grid; gap: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 1.6rem 0 0; }
.aqap-details > div { border-top: 1px solid var(--aqap-line); padding: 0.9rem 0; }
.aqap-details > div:nth-child(odd) { padding-right: 1rem; }
.aqap-details dt { color: var(--aqap-muted); font-size: 0.68rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.aqap-details dd { margin: 0.25rem 0 0; }

.aqap-auth__grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aqap-auth details { border: 1px solid var(--aqap-line); padding: 0.8rem 1rem; }
.aqap-auth summary { color: var(--aqap-navy); cursor: pointer; font-family: var(--aqap-serif); font-size: 1.18rem; font-weight: 700; min-height: 44px; padding: 0.5rem 0; }
.aqap-form { display: grid; gap: 0.95rem; padding-top: 1rem; }
.aqap-checkbox { align-items: center; display: flex !important; font-weight: 500 !important; gap: 0.55rem !important; }
.aqap-checkbox input { min-height: 0; width: auto; }
.aqap-account-summary { align-items: start; display: grid; gap: clamp(1.25rem, 4vw, 2.5rem); grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr); }
.aqap-account-summary > * { min-width: 0; }
.aqap-account-summary h2 { margin-bottom: 0.3rem; }
.aqap-account-summary p:last-child { color: var(--aqap-muted); margin-bottom: 0; }
.aqap-account-summary__actions { align-items: stretch; display: grid; gap: 0.65rem; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
.aqap-account-summary__actions > * { min-width: 0; width: 100%; }

/*
 * GeneratePress application layout.
 *
 * PHP selects GeneratePress's supported no-sidebar layout before the theme
 * renders. These rules are a scoped defensive fallback for cached markup and
 * reclaim the primary column instead of merely hiding sidebar widgets.
 */
.aqap-auction-application #primary { float: none; margin-inline: 0; min-width: 0; width: 100%; }
.aqap-auction-application #left-sidebar,
.aqap-auction-application #right-sidebar { display: none; }
.aqap-auction-application .site-content { min-width: 0; }

/* Bidder-owned notification experience. Every selector remains plugin-scoped. */
.aqap-notification-route-main { background: var(--aqap-cream); min-height: 60vh; padding: max(1.5rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(3rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); }
.aqap-notification-preferences { color: var(--aqap-ink); margin: 0 auto; max-width: 1040px; min-width: 0; overflow-x: clip; width: 100%; }
.aqap-auction-account .site-content { padding-bottom: max(2rem, env(safe-area-inset-bottom)); }
.aqap-auction-account .woocommerce { align-items: start; display: grid; gap: clamp(1rem, 3vw, 2.5rem); grid-template-columns: minmax(200px, 240px) minmax(0, 1fr); margin-inline: auto; max-width: 1320px; min-width: 0; width: 100%; }
.aqap-auction-account .woocommerce .woocommerce-MyAccount-navigation { background: var(--aqap-navy); color: #fff; float: none; min-width: 0; padding: 1rem; width: auto; }
.aqap-auction-account .woocommerce-MyAccount-navigation ul { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.aqap-auction-account .woocommerce-MyAccount-navigation li { border-bottom: 1px solid rgba(255,255,255,0.18); list-style: none; margin: 0; padding: 0; }
.aqap-auction-account .woocommerce-MyAccount-navigation li::before { content: none; }
.aqap-auction-account .woocommerce-MyAccount-navigation a { color: #fff; display: flex; font-size: 0.78rem; font-weight: 800; justify-content: space-between; letter-spacing: 0.06em; line-height: 1.3; min-height: 44px; overflow-wrap: normal; padding: 0.8rem 0.25rem; text-decoration: none; text-transform: uppercase; word-break: normal; }
.aqap-auction-account .woocommerce-MyAccount-navigation .is-active a,
.aqap-auction-account .woocommerce-MyAccount-navigation a:hover,
.aqap-auction-account .woocommerce-MyAccount-navigation a:focus-visible { color: var(--aqap-gold-light); }
.aqap-auction-account .woocommerce .woocommerce-MyAccount-content { float: none; min-width: 0; width: auto; }
.aqap-notification-preferences,
.aqap-preferences-form,
.aqap-preference-list,
.aqap-preference-card,
.aqap-preference-channels,
.aqap-preference-channels label,
.aqap-preference-channels label span { min-width: 0; }
.aqap-notification-hero { border-bottom: 1px solid var(--aqap-line); padding: clamp(1rem, 4vw, 2.8rem) 0 clamp(1.25rem, 3vw, 2rem); }
.aqap-notification-hero h1 { color: var(--aqap-navy); font-family: var(--aqap-serif); font-size: clamp(2.55rem, 8vw, 5.25rem); font-weight: 600; letter-spacing: -0.035em; line-height: 0.98; margin: 0.25rem 0 0.8rem; }
.aqap-notification-hero > p:last-child { color: var(--aqap-muted); font-size: clamp(1rem, 2vw, 1.2rem); margin: 0; max-width: 620px; }
.aqap-notification-intro { color: var(--aqap-muted); line-height: 1.7; margin: 0 0 1.5rem; max-width: 760px; }
.aqap-bidder-nav { align-items: center; display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; margin: 0; padding: 1rem 0 1.4rem; }
.aqap-bidder-nav .aqap-nav-link { align-items: center; border-bottom: 1px solid transparent; color: var(--aqap-navy); display: inline-flex; font-size: 0.79rem; font-weight: 800; letter-spacing: 0.07em; min-height: 44px; text-decoration: none; text-transform: uppercase; }
.aqap-bidder-nav .aqap-nav-link:hover,
.aqap-bidder-nav .aqap-nav-link:focus-visible { border-color: var(--aqap-gold); color: var(--aqap-teal); }
.aqap-bidder-nav .aqap-nav-link--primary { color: var(--aqap-teal); }
.aqap-preference-list { display: grid; gap: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 1.5rem 0 0; }
.aqap-preference-card { background: rgba(255,255,255,0.66); border: 0; border-top: 1px solid var(--aqap-line); margin: 0; min-width: 0; padding: clamp(1.15rem, 3vw, 1.75rem); }
.aqap-preference-card:nth-child(odd) { border-right: 1px solid var(--aqap-line); }
.aqap-preference-card legend { color: var(--aqap-navy); float: left; font-family: var(--aqap-serif); font-size: clamp(1.25rem, 3vw, 1.65rem); font-weight: 650; line-height: 1.15; overflow-wrap: break-word; padding: 0; width: 100%; word-break: normal; }
.aqap-preference-card legend + * { clear: both; }
.aqap-preference-card > p { color: var(--aqap-muted); line-height: 1.55; margin: 0.55rem 0 1rem; min-height: 3.1em; overflow-wrap: break-word; word-break: normal; }
.aqap-preference-channels { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.aqap-preference-channels label { align-items: center; background: #fff; border: 1px solid var(--aqap-line); color: var(--aqap-navy); cursor: pointer; display: inline-flex; flex: 1 1 145px; font-size: 0.84rem; font-weight: 750; gap: 0.65rem; min-height: 48px; overflow-wrap: normal; padding: 0.65rem 0.8rem; word-break: normal; }
.aqap-preference-channels label:focus-within { border-color: var(--aqap-teal); box-shadow: 0 0 0 3px rgba(18,119,118,0.18); }
.aqap-preference-channels input { accent-color: var(--aqap-teal); flex: 0 0 auto; height: 24px; margin: 0; width: 24px; }
.aqap-preferences-save { align-items: center; border-top: 1px solid var(--aqap-line); display: flex; flex-wrap: wrap; gap: 0.9rem 1.2rem; margin: 0 0 clamp(2rem, 5vw, 4rem); padding: 1.25rem 0 0; }
.aqap-preferences-save .button { background: var(--aqap-navy); border: 1px solid var(--aqap-navy); border-radius: 0; color: #fff; font-size: 0.78rem; font-weight: 850; letter-spacing: 0.08em; min-height: 48px; padding: 0.7rem 1.15rem; text-transform: uppercase; }
.aqap-preferences-save .button:hover,
.aqap-preferences-save .button:focus-visible { background: var(--aqap-teal); border-color: var(--aqap-teal); color: #fff; }
.aqap-preferences-save [data-aqap-preferences-state] { color: #2c6b4d; font-size: 0.9rem; font-weight: 750; }
.aqap-preferences-save [data-aqap-preferences-state].is-unsaved { color: #8b4a00; }
.aqap-push-panel { background: var(--aqap-navy); border: 0; color: #f8f4ec; margin-top: 0; padding: clamp(1.35rem, 4vw, 2.6rem); }
.aqap-push-panel h2 { color: #fff; font-family: var(--aqap-serif); font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 600; line-height: 1.05; margin: 0.25rem 0 0.75rem; }
.aqap-push-panel .aqap-eyebrow { color: var(--aqap-gold); }
.aqap-push-panel__heading > p:last-child { color: #c7d0d6; line-height: 1.6; max-width: 670px; }
.aqap-device-status { border-bottom: 1px solid rgba(255,255,255,0.2); border-top: 1px solid rgba(255,255,255,0.2); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1.5rem 0; }
.aqap-device-status > div { min-width: 0; padding: 1rem; }
.aqap-device-status > div + div { border-left: 1px solid rgba(255,255,255,0.2); }
.aqap-device-status dt { color: var(--aqap-gold); font-size: 0.68rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.aqap-device-status dd { color: #fff; font-size: 0.94rem; line-height: 1.45; margin: 0.45rem 0 0; overflow-wrap: anywhere; }
.aqap-push-panel__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 0.65rem; }
.aqap-push-panel__actions .button { align-items: center; background: var(--aqap-gold); border: 1px solid var(--aqap-gold); border-radius: 0; color: var(--aqap-navy); display: inline-flex; font-size: 0.75rem; font-weight: 850; justify-content: center; letter-spacing: 0.08em; min-height: 44px; padding: 0.62rem 0.9rem; text-transform: uppercase; }
.aqap-push-panel__actions .button:hover,
.aqap-push-panel__actions .button:focus-visible { background: #fff; border-color: #fff; color: var(--aqap-navy); }
.aqap-push-panel__actions .button[hidden] { display: none; }
.aqap-push-feedback { color: #b8dfcf; font-size: 0.9rem; font-weight: 700; margin: 1rem 0 0; }
.aqap-push-feedback.is-error { color: #ffd4ca; }
.aqap-push-panel .description { color: #c7d0d6; font-size: 0.84rem; line-height: 1.55; }
.aqap-push-panel[data-aqap-interface-state="loading"] .aqap-push-panel__actions { opacity: 0.72; }
.aqap-install-help { background: rgba(255,255,255,0.08); border-left: 2px solid var(--aqap-gold); margin-top: 1rem; min-width: 0; overflow: hidden; padding: clamp(0.9rem, 3vw, 1.25rem); }
.aqap-install-help h3 { color: #fff; font-family: var(--aqap-serif); margin-top: 0; }
.aqap-install-help p,
.aqap-install-help li { color: #edf0f1; overflow-wrap: anywhere; }
.aqap-notification-preferences :where(a, button, input):focus-visible { outline: 3px solid var(--aqap-gold); outline-offset: 3px; }

@media (max-width: 720px) {
	.aqap-notification-route-main { padding-top: max(1rem, env(safe-area-inset-top)); }
	.aqap-bidder-nav { align-items: stretch; display: grid; grid-template-columns: 1fr; }
	.aqap-bidder-nav .aqap-nav-link { border-bottom: 1px solid var(--aqap-line); justify-content: space-between; }
	.aqap-preference-list { grid-template-columns: 1fr; }
	.aqap-preference-card:nth-child(odd) { border-right: 0; }
	.aqap-preference-card > p { min-height: 0; }
	.aqap-preference-channels { display: grid; grid-template-columns: 1fr; }
	.aqap-preference-channels label { width: 100%; }
	.aqap-device-status { grid-template-columns: 1fr; }
	.aqap-device-status > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,0.2); }
	.aqap-push-panel__actions .button { flex: 1 1 100%; width: 100%; }
}

@media (display-mode: standalone) {
	.aqap-notification-route-main { padding-top: max(1.5rem, env(safe-area-inset-top)); }
}

@media (prefers-reduced-motion: reduce) {
	.aqap-notification-preferences *,
	.aqap-notification-preferences *::before,
	.aqap-notification-preferences *::after { animation-duration: 0.01ms !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

/* Private contributor workflow. It reuses the active theme shell. */
.aqap-contributor-main { background: var(--aqap-cream); }
.aqap-contributor { margin: 0 auto; max-width: 980px; padding: clamp(2rem, 6vw, 5rem) max(1rem, calc((100% - 980px) / 2)); }
.aqap-contributor__shell > h1 { color: var(--aqap-navy); font-size: clamp(2.25rem, 6vw, 4.6rem); }
.aqap-contributor__live-action { align-items: center; display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0 0 1.25rem; }
.aqap-public-access-status { color: var(--aqap-muted); display: inline-block; font-size: 0.88rem; font-weight: 650; line-height: 1.5; }
.aqap-notice .aqap-live-auction-action { margin: 0.45rem 0 0; }
.aqap-contributor__identity { align-items: center; display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1rem; }
.aqap-contributor__identity .aqap-eyebrow { margin: 0; }
.aqap-contributor__logo { height: auto; max-height: 76px; max-width: 220px; object-fit: contain; width: auto; }
.aqap-contributor-form h2 { border-top: 1px solid var(--aqap-line); color: var(--aqap-navy); margin-top: 1rem; padding-top: 1.5rem; }
.aqap-contributor-form textarea { background: #fff; border: 1px solid #8e9294; border-radius: 0; color: var(--aqap-ink); font: inherit; font-size: 16px; padding: 0.7rem 0.8rem; width: 100%; }
.aqap-contributor-media { display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); margin: 1rem 0; }
.aqap-contributor-media__item { background: #fff; border: 1px solid var(--aqap-line); display: grid; gap: 0.5rem; padding: 0.55rem; }
.aqap-contributor-media__item img { aspect-ratio: 4 / 3; object-fit: contain; width: 100%; }
.aqap-contributor-media__item > div { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.aqap-contributor-media__item--readonly { background: #f4efe7; }
.aqap-contributor-media__item--readonly p { color: var(--aqap-muted); font-size: 0.76rem; margin: 0; }
.aqap-public .aqap-contributor-media__item button { font-size: 0.7rem; min-height: 36px; padding: 0.4rem 0.55rem; }

/* Capability-gated frontend Auction Host workspace. */
.aqap-host-dashboard-main { background: var(--aqap-cream); }
.aqap-host-dashboard { color: var(--aqap-ink); padding: clamp(2rem, 5vw, 4.5rem) 0; }
.aqap-host-dashboard__shell { margin: 0 auto; max-width: 1240px; padding: 0 1.25rem; }
.aqap-host-dashboard__header { max-width: 760px; }
.aqap-host-dashboard__header h1 { color: var(--aqap-navy); font-size: clamp(2.3rem, 5vw, 4.5rem); margin-bottom: 0.6rem; }
.aqap-host-dashboard__identity { color: var(--aqap-muted); font-size: 0.85rem; }
.aqap-host-dashboard__nav { align-items: center; border-bottom: 1px solid var(--aqap-line); border-top: 1px solid var(--aqap-line); display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0; padding: 1rem 0; }
.aqap-host-dashboard__nav a { color: var(--aqap-navy); font-weight: 700; }
.aqap-host-dashboard__nav .aqap-button { color: var(--aqap-navy); }
.aqap-host-dashboard__content { background: #fff; border: 1px solid var(--aqap-line); box-shadow: 0 15px 45px rgba(7, 24, 39, 0.08); padding: clamp(1rem, 3vw, 2rem); }
.aqap-host-dashboard__content .widefat { border-collapse: collapse; display: block; margin: 1rem 0 2rem; max-width: 100%; overflow-x: auto; width: 100%; }
.aqap-host-dashboard__content .widefat tbody,
.aqap-host-dashboard__content .widefat thead { width: 100%; }
.aqap-host-dashboard__content .widefat th,
.aqap-host-dashboard__content .widefat td { border-bottom: 1px solid var(--aqap-line); padding: 0.7rem; text-align: left; vertical-align: top; white-space: nowrap; }
.aqap-host-dashboard__content .widefat td:nth-child(2) { min-width: 220px; white-space: normal; }
.aqap-host-dashboard__content .aqap-auction-list td:nth-child(3) { min-width: 190px; white-space: normal; }
.aqap-row-actions { align-items: flex-start; display: flex; flex-direction: column; gap: 0.45rem; }
.aqap-live-auction-toolbar { align-items: center; display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0 0 1.25rem; }
.aqap-management-toolbar { align-items: center; display: flex; flex-wrap: wrap; gap: 0.65rem; margin: 0 0 1.25rem; }
.aqap-editor-lock-notice { scroll-margin-top: 2rem; }
.aqap-host-media-item { align-items: flex-start; display: flex; flex-direction: column; gap: 0.45rem; }
.aqap-host-media-item label,
.aqap-host-upload-label { align-items: center; display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.65rem 0; }
.aqap-host-dashboard__content .form-table { border-collapse: collapse; table-layout: auto; width: 100%; }
.aqap-host-dashboard__content .form-table th,
.aqap-host-dashboard__content .form-table td { border-bottom: 1px solid var(--aqap-line); padding: 1rem 0; text-align: left; vertical-align: top; }
.aqap-host-dashboard__content .form-table th { min-width: 210px; overflow-wrap: normal; padding-right: 1.25rem; white-space: normal; width: 210px; word-break: normal; }
.aqap-host-dashboard__content .form-table td { width: auto; }
.aqap-host-dashboard__content input:not([type="checkbox"]):not([type="radio"]),
.aqap-host-dashboard__content select,
.aqap-host-dashboard__content textarea { background: #fff; border: 1px solid #8e9294; border-radius: 0; color: var(--aqap-ink); font: inherit; max-width: 100%; min-height: 44px; padding: 0.6rem 0.7rem; }
.aqap-host-dashboard__content textarea,
.aqap-host-dashboard__content .large-text { width: min(100%, 760px); }
.aqap-host-dashboard__content .regular-text { width: min(100%, 420px); }
.aqap-host-dashboard__content input[type="checkbox"],
.aqap-host-dashboard__content input[type="radio"] { accent-color: var(--aqap-teal); display: inline-block; height: 20px; margin: 0 0.5rem 0 0; min-height: 20px; padding: 0; vertical-align: middle; width: 20px; }
.aqap-host-dashboard__content .description { color: var(--aqap-muted); font-size: 0.85rem; }
.aqap-host-dashboard__content .button,
.aqap-host-dashboard__content input[type="submit"] { background: var(--aqap-navy); border: 1px solid var(--aqap-navy); border-radius: 0; color: #fff; cursor: pointer; display: inline-flex; font-weight: 700; min-height: 42px; padding: 0.6rem 1rem; }
.aqap-host-dashboard__content .button-primary { background: var(--aqap-gold); border-color: var(--aqap-gold); color: var(--aqap-navy); }
.aqap-host-dashboard__content .button-link-delete { background: transparent; border: 0; color: #a12323; cursor: pointer; }
.aqap-host-dashboard__content .card { background: #fff; border: 1px solid var(--aqap-line); margin-top: 2rem; max-width: none !important; padding: 1.25rem; }
.aqap-host-overview { border-bottom: 1px solid var(--aqap-line); margin-bottom: 2rem; padding-bottom: 2rem; }
.aqap-section-heading { align-items: end; display: flex; gap: 2rem; justify-content: space-between; }
.aqap-section-heading h2 { margin-bottom: 0; }
.aqap-host-overview__metrics { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); margin: 1.25rem 0; }
.aqap-host-overview__metrics article { background: var(--aqap-cream); border-left: 3px solid var(--aqap-gold); display: grid; gap: 0.2rem; min-width: 0; padding: 1rem; }
.aqap-host-overview__metrics strong { color: var(--aqap-navy); font-family: var(--aqap-serif); font-size: 2rem; line-height: 1; }
.aqap-host-overview__metrics span { color: var(--aqap-muted); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.aqap-host-overview__activity { border: 1px solid var(--aqap-line); padding: 1rem; }
.aqap-host-dashboard__activity { margin-top: 2rem; }
.aqap-host-overview__activity h3 { margin-top: 0; }
.aqap-host-overview__activity ul { list-style: none; margin: 0; padding: 0; }
.aqap-host-overview__activity li { align-items: center; border-top: 1px solid var(--aqap-line); display: flex; gap: 1rem; justify-content: space-between; padding: 0.65rem 0; }
.aqap-host-overview__activity time { color: var(--aqap-muted); white-space: nowrap; }
.aqap-auction-filters { align-items: end; background: var(--aqap-cream); border: 1px solid var(--aqap-line); display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); padding: 1rem; }
.aqap-auction-filters label { display: grid; font-weight: 800; gap: 0.35rem; min-width: 0; }
.aqap-contributor-dashboard__grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.5rem; }
.aqap-contributor-dashboard__card { background: #fff; border: 1px solid var(--aqap-line); min-width: 0; padding: 1.25rem; }
.aqap-contributor-dashboard__card h2 { font-size: clamp(1.5rem, 3vw, 2rem); overflow-wrap: normal; word-break: normal; }
.aqap-workspace-switcher { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0; }
.aqap-host-bidder-search { background: var(--aqap-cream); border: 1px solid var(--aqap-line); margin: 1.25rem 0; padding: 1rem; }
.aqap-host-bidder-search label { display: block; font-weight: 800; margin-bottom: 0.4rem; }
.aqap-host-bidder-search > div { align-items: stretch; display: flex; gap: 0.5rem; }
.aqap-host-bidder-search input { flex: 1 1 16rem; min-width: 0; width: auto; }
.aqap-host-bidder-search .aqap-button { flex: 0 0 auto; min-width: max-content; overflow-wrap: normal; white-space: nowrap; word-break: normal; }
.aqap-host-bidder-list { display: grid; gap: 1rem; }
.aqap-host-bidder-card { border: 1px solid var(--aqap-line); display: grid; gap: 1rem; grid-template-columns: minmax(220px, 1fr) minmax(280px, 1fr) auto; padding: 1rem; }
.aqap-host-bidder-card h3 { color: var(--aqap-navy); margin: 0; }
.aqap-host-bidder-card p { margin: 0.35rem 0; overflow-wrap: anywhere; }
.aqap-host-bidder-card .aqap-details { gap: 0.75rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.aqap-host-bidder-card .aqap-details strong,
.aqap-host-bidder-card .aqap-details span { display: block; }
.aqap-host-bidder-card .aqap-details span { margin-top: 0.35rem; }
.aqap-host-bidder-card details { grid-column: 1 / -1; }
.aqap-host-bidder-search .aqap-host-bidder-search__fields { display: grid; gap: 0.75rem; grid-template-columns: minmax(0, 2fr) minmax(190px, 1fr); }
.aqap-host-bidder-search .aqap-host-bidder-search__fields label { margin: 0; }
.aqap-host-bidder-search .aqap-host-bidder-search__fields input,
.aqap-host-bidder-search .aqap-host-bidder-search__fields select { margin-top: 0.4rem; width: 100%; }
.aqap-host-bidder-search .aqap-host-bidder-search__actions { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.aqap-host-bidder-card__heading { align-items: flex-start; display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: space-between; }
.aqap-bidder-status-badge { border: 1px solid currentColor; display: inline-flex; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; line-height: 1.2; padding: 0.38rem 0.55rem; text-transform: uppercase; }
.aqap-bidder-status-badge--active { color: #166534; }
.aqap-bidder-status-badge--deactivated { color: #6b7280; }
.aqap-bidder-status-badge--requires_attention { color: #9a3412; }
.aqap-host-bidder-card__actions { align-content: start; display: grid; gap: 0.55rem; justify-items: stretch; min-width: 220px; }
.aqap-host-bidder-card__actions form { margin: 0; }
.aqap-host-bidder-card__actions .aqap-button { justify-content: center; text-align: center; width: 100%; }
.aqap-button--danger { background: #7f1d1d; border-color: #7f1d1d; color: #fff; }
.aqap-button--danger:hover,
.aqap-button--danger:focus { background: #5f1515; border-color: #5f1515; color: #fff; }
.aqap-button[disabled] { cursor: not-allowed; opacity: 0.48; }
.aqap-host-bidder-editor { margin-inline: auto; max-width: 980px; }
.aqap-host-bidder-editor > h2 { margin-bottom: 0.7rem; }
.aqap-host-bidder-editor__status { align-items: center; display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 1.25rem; }
.aqap-host-bidder-profile,
.aqap-host-bidder-dependencies,
.aqap-host-bidder-editor__lifecycle,
.aqap-host-bidder-confirm { border: 1px solid var(--aqap-line); margin-top: 1rem; padding: clamp(1rem, 3vw, 1.5rem); }
.aqap-host-bidder-profile__grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aqap-host-bidder-profile__grid label { display: grid; font-weight: 800; gap: 0.4rem; }
.aqap-host-bidder-profile__grid input { min-width: 0; width: 100%; }
.aqap-host-bidder-dependencies .aqap-details { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aqap-host-bidder-confirm .aqap-checkbox { align-items: flex-start; display: flex; gap: 0.65rem; margin-bottom: 1rem; }
.aqap-host-bidder-confirm .aqap-checkbox input { flex: 0 0 auto; margin-top: 0.25rem; }
.aqap-host-media-readonly .aqap-admin-gallery__actions { display: none; }
.aqap-invite-contributor { margin-top: 2rem; }
.aqap-invite-contributor .widefat { min-width: 860px; }
.aqap-invite-contributor .regular-text { min-width: min(420px, 75vw); }
.aqap-invite-contributor td form { align-items: center; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.aqap-invite-contributor td select { min-width: 220px; }
.aqap-admin-contributor-media { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); margin: 1rem 0 2rem; }
.aqap-admin-contributor-media__item { background: #f8f4ec; border: 1px solid var(--aqap-line); min-width: 0; padding: 0.75rem; }
.aqap-admin-contributor-media__item img { aspect-ratio: 4 / 3; height: auto; object-fit: contain; width: 100%; }
.aqap-admin-contributor-media__item p { color: var(--aqap-muted); font-size: 0.82rem; overflow-wrap: anywhere; }

/* Optional PWA installation and device notification onboarding. */
.aqap-link-button { appearance: none; background: transparent !important; border: 0 !important; color: var(--aqap-navy) !important; cursor: pointer; font: inherit; min-height: 44px; padding: 0 !important; text-decoration: underline; text-underline-offset: 0.18em; width: auto !important; }
.aqap-public .aqap-account-summary__actions .aqap-text-link {
	align-items: center;
	background: transparent !important;
	border: 1px solid rgba(7, 24, 39, 0.34) !important;
	color: var(--aqap-navy) !important;
	display: inline-flex;
	font-family: var(--aqap-sans);
	font-size: 0.72rem;
	font-weight: 850;
	justify-content: center;
	letter-spacing: 0.075em;
	line-height: 1.3;
	min-height: 50px;
	padding: 0.72rem 0.8rem !important;
	text-align: center;
	text-decoration: none !important;
	text-transform: uppercase;
	white-space: normal;
	width: 100% !important;
}
.aqap-public .aqap-account-summary__actions .aqap-text-link:hover,
.aqap-public .aqap-account-summary__actions .aqap-text-link:focus-visible { background: var(--aqap-navy) !important; color: var(--aqap-ivory) !important; }
.aqap-alert-onboarding[hidden] { display: none !important; }
.aqap-alert-onboarding { background: var(--aqap-ivory); border: 1px solid rgba(226, 201, 133, 0.8); bottom: max(1rem, env(safe-area-inset-bottom)); box-shadow: 0 22px 70px rgba(4, 18, 29, 0.28); color: var(--aqap-ink); inset-inline-end: max(1rem, env(safe-area-inset-right)); max-height: calc(100dvh - max(2rem, env(safe-area-inset-top)) - max(2rem, env(safe-area-inset-bottom))); max-width: calc(100vw - 2rem); overflow-x: hidden; overflow-y: auto; padding: clamp(1.25rem, 4vw, 2rem); position: fixed; width: min(440px, calc(100vw - 2rem)); z-index: 10001; }
.aqap-alert-onboarding h2 { color: var(--aqap-navy); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.8rem, 6vw, 2.65rem); line-height: 1.05; margin: 0.25rem 2.7rem 0.75rem 0; }
.aqap-alert-onboarding p { margin-block: 0 0.85rem; }
.aqap-alert-onboarding__close { align-items: center; appearance: none; background: #fff !important; border: 1px solid var(--aqap-line) !important; border-radius: 50%; color: var(--aqap-navy) !important; cursor: pointer; display: inline-flex; font-size: 1.55rem; height: 44px; inset-inline-end: 0.85rem; justify-content: center; line-height: 1; padding: 0 !important; position: absolute; top: 0.85rem; width: 44px !important; }
.aqap-alert-onboarding__close:focus-visible { outline: 3px solid var(--aqap-teal); outline-offset: 2px; }
.aqap-alert-onboarding__status { background: #f3eee4; border-left: 4px solid var(--aqap-teal); margin: 1rem 0; padding: 0.8rem 1rem; }
.aqap-alert-onboarding__guide { background: #fff; border: 1px solid var(--aqap-line); margin: 1rem 0; padding: 1rem; }
.aqap-alert-onboarding__guide h3 { color: var(--aqap-navy); font-size: 1.2rem; margin: 0 0 0.55rem; }
.aqap-alert-onboarding__guide ol { margin-bottom: 0; padding-left: 1.25rem; }
.aqap-install-steps { display: grid; gap: 0.8rem; list-style: none; margin: 1rem 0 0; max-width: 100%; padding-left: 0 !important; }
.aqap-install-steps li { align-items: start; display: grid; gap: 0.75rem; grid-template-columns: 40px minmax(0, 1fr); line-height: 1.55; margin: 0; min-width: 0; padding: 0; }
.aqap-install-steps li > span { align-items: center; align-self: start; background: var(--aqap-navy); border-radius: 50%; color: var(--aqap-ivory); display: inline-flex; flex: 0 0 40px; font-size: 1.05rem; height: 40px; justify-content: center; line-height: 1; margin: 0; width: 40px; }
.aqap-install-steps li > div { min-width: 0; overflow-wrap: anywhere; padding-top: 0.22rem; }
.aqap-alert-onboarding__actions { align-items: stretch; display: flex; flex-wrap: wrap; gap: 0.65rem; }
.aqap-alert-onboarding__actions .aqap-button { flex: 1 1 170px; justify-content: center; min-height: 48px; }
.aqap-alert-onboarding__email-note { color: var(--aqap-muted); font-size: 0.82rem; margin-top: 0.85rem !important; }
.aqap-winner-details { margin: 0 auto; max-width: 900px; min-height: 60vh; padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 4vw, 2rem); }
.aqap-winner-details > h1 { color: var(--aqap-navy); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.5rem, 8vw, 5rem); line-height: 1; }
.aqap-winner-details__card { margin-top: 2rem; }
.aqap-winner-details__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0; }
.aqap-bidder-route-main { background: var(--aqap-cream); min-height: 70vh; }
.aqap-bidder-activity,
.aqap-password-reset { margin: 0 auto; max-width: 1100px; padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 4vw, 2rem); }
.aqap-bidder-activity > h1,
.aqap-password-reset > h1 { color: var(--aqap-navy); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.4rem, 7vw, 5rem); line-height: 1; }
.aqap-activity-grid { align-items: stretch; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.aqap-activity-card { background: #fff; border: 1px solid var(--aqap-line); display: flex; flex-direction: column; min-width: 0; padding: clamp(1rem, 3vw, 1.5rem); }
.aqap-activity-card h2 { color: var(--aqap-navy); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.5rem, 2vw, 1.875rem); hyphens: none; line-height: 1.14; margin: 0.35rem 0 1.2rem; overflow-wrap: normal; word-break: normal; }
.aqap-activity-card .aqap-details { margin-top: auto; }
.aqap-activity-card .aqap-details > div { align-content: start; min-width: 0; }
.aqap-activity-card__actions { align-items: end; display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.aqap-password-reset { max-width: 760px; }
.aqap-password-reset .aqap-section { background: #fff; border: 1px solid var(--aqap-line); padding: clamp(1rem, 4vw, 2rem); }

.aqap-csv-import { min-width: 0; }
.aqap-import-upload { align-items: end; background: var(--aqap-cream); border: 1px solid var(--aqap-line); display: grid; gap: 0.65rem 1rem; grid-template-columns: minmax(0, 1fr) auto; margin: 1.5rem 0; padding: clamp(1rem, 3vw, 1.5rem); }
.aqap-import-upload > label,
.aqap-import-upload > .description { grid-column: 1 / -1; margin: 0; }
.aqap-import-upload input[type="file"] { background: #fff; border: 1px solid var(--aqap-line); min-width: 0; padding: 0.7rem; width: 100%; }
.aqap-import-help { border-block: 1px solid var(--aqap-line); margin: 1rem 0; padding: 0.85rem 0; }
.aqap-import-help summary { cursor: pointer; font-weight: 800; }
.aqap-import-summary { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); margin: 1rem 0; }
.aqap-import-summary > div { background: var(--aqap-cream); border: 1px solid var(--aqap-line); padding: 0.8rem; }
.aqap-import-summary dt { color: var(--aqap-muted); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.aqap-import-summary dd { color: var(--aqap-navy); font-family: Georgia, 'Times New Roman', serif; font-size: 1.75rem; margin: 0.25rem 0 0; }
.aqap-import-table-wrap { max-width: 100%; overflow-x: auto; }
.aqap-import-table { border-collapse: collapse; min-width: 820px; table-layout: auto; width: 100%; }
.aqap-import-table th,
.aqap-import-table td { overflow-wrap: break-word; padding: 0.7rem; text-align: left; vertical-align: top; word-break: normal; }
.aqap-import-table th:nth-child(1),
.aqap-import-table th:nth-child(2),
.aqap-import-table td:nth-child(1),
.aqap-import-table td:nth-child(2) { white-space: nowrap; }
.aqap-import-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1rem 0; }
.aqap-import-actions form { margin: 0; }
.aqap-import-created { columns: 2 280px; }

/* Diagnostic shortcode remains scoped and available. */
.aqap { margin: 2rem auto; max-width: 860px; padding: clamp(1rem, 3vw, 2rem); }
.aqap-card { background: #fff; border: 1px solid var(--aqap-line); box-shadow: 0 10px 28px rgba(20, 33, 42, 0.07); margin: 1rem 0; padding: clamp(1rem, 3vw, 1.6rem); }
.aqap-stats { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aqap-stats div { background: #f5f1e9; padding: 0.8rem; }
.aqap-stats dd { margin: 0.2rem 0 0; }

@media (max-width: 1040px) {
	.aqap-catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aqap-how__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.2rem; }
	.aqap-how__steps li:nth-child(3) { border-left: 0; padding-left: 0; }
	.aqap-item__layout { grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.95fr); }
}

@media (max-width: 780px) {
	.aqap-editorial-hero { min-height: 520px; }
	.aqap-item__layout,
	.aqap-mission__inner { grid-template-columns: 1fr; }
	.aqap-panel { position: static; }
	.aqap-item__art { order: 1; }
	.aqap-item__panel { order: 2; }
}

@media (max-width: 620px) {
	.aqap-route-main { overflow-x: clip; }
	.aqap-section-shell,
	.aqap-editorial-hero__inner { max-width: 1240px; width: calc(100% - 2rem); }
	.aqap-editorial-hero { min-height: 500px; }
	.aqap-editorial-hero__inner { padding: 4.25rem 0; }
	.aqap-catalog__grid,
	.aqap-how__steps,
	.aqap-auction-card__meta,
	.aqap-price-grid,
	.aqap-details,
	.aqap-auth__grid,
	.aqap-stats { grid-template-columns: 1fr; }
	.aqap-catalog-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aqap-public .aqap-catalog-filters .aqap-filter-button { font-size: 0.72rem; padding-inline: 0.55rem; width: 100%; }
	.aqap-how__steps { gap: 0; }
	.aqap-how__steps li,
	.aqap-how__steps li:first-child,
	.aqap-how__steps li:nth-child(3) { border-bottom: 1px solid rgba(226, 201, 133, 0.24); border-left: 0; padding: 1.25rem 0; }
	.aqap-how__steps li:last-child { border-bottom: 0; }
	.aqap-how__steps span { margin-bottom: 0.55rem; }
	.aqap-item { padding-left: 1rem; padding-right: 1rem; }
	.aqap-details > div:nth-child(odd) { padding-right: 0; }
	.aqap-bid-form__row { grid-template-columns: 1fr; }
	.aqap-button,
	.aqap-public button { width: 100%; }
	.aqap-account-summary { grid-template-columns: 1fr; }
	.aqap-account-summary__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aqap-preference-row { gap: 0.6rem; grid-template-columns: minmax(0, 1fr) 60px 100px; padding-inline: 0.65rem; }
	.aqap-preference-row--header { font-size: 0.8rem; }
	.aqap-preference-channels { grid-template-columns: 1fr; }
	.aqap-bidder-nav { flex-direction: column; }
	.aqap-bidder-nav .button { width: 100%; }
	.aqap-mission__actions { align-items: flex-start; flex-direction: column; gap: 0.8rem; }
	.aqap-host-dashboard__nav { align-items: stretch; flex-direction: column; }
	.aqap-host-dashboard__nav a { width: 100%; }
	.aqap-host-dashboard__content .form-table,
	.aqap-host-dashboard__content .form-table tbody,
	.aqap-host-dashboard__content .form-table tr,
	.aqap-host-dashboard__content .form-table th,
	.aqap-host-dashboard__content .form-table td { display: block; width: 100%; }
	.aqap-host-dashboard__content .form-table th { border-bottom: 0; min-width: 0; padding-bottom: 0.35rem; padding-right: 0; width: 100%; }
	.aqap-host-dashboard__content .form-table td { padding-top: 0.35rem; }
	.aqap-invite-contributor form[style] { align-items: stretch !important; flex-direction: column; }
	.aqap-invite-contributor .regular-text { min-width: 0; width: 100%; }
	.aqap-contributor__live-action .aqap-button,
	.aqap-live-auction-toolbar .button,
	.aqap-management-toolbar .button,
	.aqap-row-actions .button { justify-content: center; width: 100%; }
	.aqap-alert-onboarding { border-bottom: 0; border-inline: 0; bottom: 0; inset-inline: 0; max-width: none; padding-bottom: calc(1.25rem + env(safe-area-inset-bottom)); width: 100%; }
	.aqap-alert-onboarding__close { width: 44px !important; }
	.aqap-push-panel__actions { align-items: stretch; flex-direction: column; }
	.aqap-push-panel__actions .button { justify-content: center; width: 100%; }
	.aqap-device-status > div { gap: 0.35rem; grid-template-columns: 1fr; }
	.aqap-host-bidder-card { grid-template-columns: 1fr; }
	.aqap-host-bidder-card .aqap-details { grid-template-columns: 1fr; }
	.aqap-host-bidder-card__actions { min-width: 0; width: 100%; }
	.aqap-host-bidder-search .aqap-host-bidder-search__fields,
	.aqap-host-bidder-profile__grid,
	.aqap-host-bidder-dependencies .aqap-details { grid-template-columns: 1fr; }
	.aqap-host-bidder-search .aqap-host-bidder-search__actions { align-items: stretch; flex-direction: column; }
	.aqap-host-bidder-search .aqap-host-bidder-search__actions .aqap-button { width: 100%; }
	.aqap-host-bidder-search > div { flex-direction: column; }
	.aqap-host-bidder-search input { flex: 0 0 auto; width: 100%; }
	.aqap-host-bidder-search .aqap-button { justify-content: center; width: 100%; }
	.aqap-section-heading, .aqap-host-overview__activity li { align-items: start; flex-direction: column; gap: 0.35rem; }
	.aqap-auction-filters, .aqap-contributor-dashboard__grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
	.aqap-auction-account .site-content { padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right)); }
	.aqap-auction-account .woocommerce { display: block; }
	.aqap-auction-account .woocommerce-MyAccount-navigation { margin-bottom: 1.25rem; }
	.aqap-auction-account .woocommerce-MyAccount-navigation ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aqap-auction-account .woocommerce-MyAccount-navigation li { border-right: 1px solid rgba(255,255,255,0.18); }
	.aqap-auction-account .woocommerce-MyAccount-navigation a { overflow-wrap: break-word; padding-inline: 0.65rem; word-break: normal; }
	.aqap-notification-hero h1 { font-size: clamp(2.25rem, 12vw, 3.8rem); }
	.aqap-notification-preferences { padding-bottom: env(safe-area-inset-bottom); }
}

@media (max-width: 430px) {
	.aqap-auction-account .woocommerce-MyAccount-navigation ul { grid-template-columns: 1fr; }
	.aqap-auction-account .woocommerce-MyAccount-navigation li { border-right: 0; }
	.aqap-notification-hero { padding-top: 0.7rem; }
	.aqap-notification-hero h1 { font-size: clamp(2rem, 10.5vw, 2.8rem); }
	.aqap-bidder-nav { padding-block: 0.7rem 1rem; }
	.aqap-account-summary__actions { grid-template-columns: 1fr; }
	.aqap-push-panel { margin-inline: calc(-1 * max(0rem, env(safe-area-inset-left))); padding-bottom: calc(1.35rem + env(safe-area-inset-bottom)); }
	.aqap-install-steps { gap: 0.7rem; }
	.aqap-install-steps li { gap: 0.65rem; grid-template-columns: 36px minmax(0, 1fr); }
	.aqap-install-steps li > span { flex-basis: 36px; font-size: 0.95rem; height: 36px; width: 36px; }
}

@media (prefers-reduced-motion: reduce) {
	.aqap-public *,
	.aqap-public *::before,
	.aqap-public *::after,
	.aqap-alert-onboarding,
	.aqap-alert-onboarding *,
	.aqap-alert-onboarding *::before,
	.aqap-alert-onboarding *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

/*
 * Desktop account-shell repair.
 *
 * GeneratePress and WooCommerce both assign widths to ancestors of the account
 * endpoint. Use the endpoint-specific body class and desktop media query so the
 * account content owns the available canvas. The shell applies to the complete
 * WooCommerce My Account experience because that is where the auction account
 * navigation lives; notification-specific presentation remains separately
 * scoped below.
 */
@media (min-width: 1024px) {
	body.aqap-auction-account #page.site {
		box-sizing: border-box;
		margin-inline: auto;
		max-width: 1540px;
		width: calc(100% - clamp(2rem, 6vw, 7.5rem));
	}

	body.aqap-auction-account #page > .site-content {
		box-sizing: border-box;
		display: block;
		max-width: none;
		padding: clamp(1.5rem, 2.4vw, 2.75rem);
		width: 100%;
	}

	body.aqap-auction-account #page #primary.content-area {
		box-sizing: border-box;
		float: none;
		margin: 0;
		max-width: none;
		width: 100%;
	}

	body.aqap-auction-account #page #left-sidebar,
	body.aqap-auction-account #page #right-sidebar {
		display: none;
		width: 0;
	}

	body.aqap-auction-account #page .site-main,
	body.aqap-auction-account #page .inside-article,
	body.aqap-auction-account #page .entry-content {
		box-sizing: border-box;
		max-width: none;
		min-width: 0;
		width: 100%;
	}

	body.aqap-auction-account #page .inside-article {
		padding: clamp(1.75rem, 3vw, 3.25rem);
	}

	body.aqap-auction-account #page .woocommerce {
		align-items: start;
		display: grid;
		gap: clamp(1.75rem, 3vw, 3.5rem);
		grid-template-columns: minmax(210px, 240px) minmax(0, 1fr);
		margin-inline: 0;
		max-width: none;
		min-width: 0;
		width: 100%;
	}

	/* WooCommerce's legacy clearfix pseudo-elements otherwise become the first
	 * and fourth grid items, displacing navigation and content into separate rows. */
	body.aqap-auction-account #page .woocommerce::before,
	body.aqap-auction-account #page .woocommerce::after {
		content: none;
		display: none;
	}

	body.aqap-auction-account #page .woocommerce .woocommerce-MyAccount-navigation {
		float: none;
		max-width: 240px;
		min-width: 0;
		width: 100%;
	}

	body.aqap-auction-account #page .woocommerce .woocommerce-MyAccount-content {
		float: none;
		max-width: none;
		min-width: 0;
		width: 100%;
	}

	body.aqap-auction-notifications-account #page .aqap-notification-preferences {
		margin: 0;
		max-width: 1120px;
		min-width: 0;
		width: 100%;
	}

	body.aqap-auction-notifications-account #page .aqap-notification-hero h1 {
		font-size: clamp(3rem, 4.4vw, 4.75rem);
		hyphens: none;
		overflow-wrap: normal;
		word-break: normal;
	}

	body.aqap-auction-notifications-account #page .aqap-notification-hero > p:last-child,
	body.aqap-auction-notifications-account #page .aqap-notification-intro {
		max-width: 720px;
	}

	body.aqap-auction-notifications-account #page .aqap-preference-list {
		align-items: stretch;
		display: grid;
		grid-auto-rows: 1fr;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
	}

	body.aqap-auction-notifications-account #page .aqap-preference-card {
		display: flex;
		flex-direction: column;
		height: 100%;
		hyphens: none;
		min-width: 0;
		overflow-wrap: normal;
		word-break: normal;
	}

	body.aqap-auction-notifications-account #page .aqap-preference-card legend,
	body.aqap-auction-notifications-account #page .aqap-preference-card > p,
	body.aqap-auction-notifications-account #page .aqap-preference-channels label,
	body.aqap-auction-notifications-account #page .aqap-preference-channels label span {
		hyphens: none;
		overflow-wrap: normal;
		word-break: normal;
	}

	body.aqap-auction-notifications-account #page .aqap-preference-card > p {
		flex: 1 0 auto;
	}

	body.aqap-auction-notifications-account #page .aqap-preference-channels {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
		width: 100%;
	}

	body.aqap-auction-notifications-account #page .aqap-preference-channels label {
		min-width: 0;
		width: 100%;
	}

	body.aqap-auction-activity-account #page .aqap-bidder-activity {
		margin: 0;
		max-width: none;
		min-width: 0;
		padding: clamp(1.5rem, 3vw, 3rem);
		width: 100%;
	}

	body.aqap-auction-activity-account #page .aqap-bidder-activity > h1 {
		font-size: clamp(3rem, 4.4vw, 4.75rem);
		hyphens: none;
		overflow-wrap: normal;
		word-break: normal;
	}

	body.aqap-auction-activity-account #page .aqap-activity-grid {
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
		min-width: 0;
		width: 100%;
	}

	body.aqap-auction-activity-account #page .aqap-activity-card h2 {
		font-size: clamp(1.625rem, 2.1vw, 1.875rem);
		line-height: 1.14;
	}
}

@media (max-width: 640px) {
	.aqap-import-upload { grid-template-columns: minmax(0, 1fr); }
	.aqap-import-upload > * { grid-column: 1; }
	.aqap-import-upload .button { justify-content: center; width: 100%; }
	.aqap-import-created { columns: 1; }
}
