/* ByteKeel PixTag Pro landing: machine sight for a media library (inc/landing-visual-altgen-pro.php, assets/js/components/lp-altgen-pro.js). */

:root {
	--agp-ink: #16111F;
	--agp-soft: #4C4361;
	--agp-subtle: #6E6585;
	--agp-line: #E9E3F6;
	--agp-wash: #FAF8FF;
	--agp-p: #7C3AED;
	--agp-p7: #6D28D9;
	--agp-eye: #22D3EE;
	--agp-ok: #067647;
	--agp-warn: #B54708;
	--agp-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
	--agp-head: var(--font-manrope), Helvetica Neue, Arial, sans-serif;
}

/* ------------------------------------------------------------- shared bits */
.agp-dots { display: inline-flex; gap: 5px; flex: none; }
.agp-dots i { width: 9px; height: 9px; border-radius: 50%; background: #E5DFF3; }
.agp-note { display: flex; align-items: flex-start; gap: .4rem; margin: .9rem 0 0; font-size: .75rem; line-height: 1.5; color: var(--agp-subtle); }
.agp-note svg { flex: none; margin-top: .15rem; }
.agp-note--dark { color: rgba(255,255,255,.55); }
.agp-seg { display: inline-flex; padding: 3px; border-radius: 999px; gap: 2px; }
.agp-seg button { min-height: 32px; padding: 0 .9rem; border: 0; border-radius: 999px; background: transparent; font: 700 .8rem/1 var(--agp-head); cursor: pointer; transition: background .25s, color .25s; }
.agp-seg--dark { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.agp-seg--dark button { color: rgba(255,255,255,.7); }
.agp-seg--dark button:hover { color: #fff; }
.agp-seg--dark button[aria-checked="true"] { background: #fff; color: var(--agp-p7); }
.agp-seg--light { background: #F3EFFC; border: 1px solid var(--agp-line); }
.agp-seg--light button { color: var(--agp-soft); }
.agp-seg--light button:hover { color: var(--agp-p7); }
.agp-seg--light button[aria-checked="true"] { background: #fff; color: var(--agp-p7); }
.agp-seg--big { margin-top: 1.75rem; background: #F3EFFC; border: 1px solid var(--agp-line); }
.agp-seg--big button { min-height: 44px; padding: 0 1.2rem; font-size: .95rem; color: var(--agp-soft); }
.agp-seg--big button:hover { color: var(--agp-p7); }
.agp-seg--big button[aria-checked="true"] { background: var(--agp-p); color: #fff; }
.agp-seg button:focus-visible, .agp-btn:focus-visible, .agp-shots__tabs button:focus-visible { outline: 2px solid var(--agp-eye); outline-offset: 2px; }

.agp-card { min-width: 0; padding: 1.5rem; border: 1px solid var(--agp-line); border-radius: 20px; background: #fff; }
.agp-card__head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.1rem; }
.agp-card__head h3 { margin: 0; font-size: 1.15rem; }
.agp-card__ico { display: inline-flex; flex: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 12px; background: #F3EFFC; color: var(--agp-p); }
.agp-card__fine { margin: 1rem 0 0; font-size: .85rem; color: var(--agp-soft); }
.agp-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.agp-chips li { margin: 0; padding: .3rem .65rem; border: 1px solid var(--agp-line); border-radius: 999px; background: var(--agp-wash); font-size: .78rem; font-weight: 600; color: var(--agp-soft); }
.agp-chips--ok li { border-color: #ABEFC6; background: #ECFDF3; color: var(--agp-ok); }
.agp-chips--no li { border-color: #FEDF89; background: #FFFAEB; color: var(--agp-warn); }
.agp-chips + .agp-card__fine { margin-top: .9rem; }
.agp-auto .agp-chips { margin-top: 1.1rem; }

.agp-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 40px; padding: 0 1rem; border-radius: 10px; border: 1px solid transparent; font: 700 .85rem/1 var(--agp-head); cursor: pointer; transition: background .2s, border-color .2s, color .2s, opacity .2s; }
.agp-btn[disabled] { opacity: .45; cursor: not-allowed; }
.agp-btn--primary { background: var(--agp-p); color: #fff; }
.agp-btn--primary:not([disabled]):hover { background: var(--agp-p7); }
.agp-btn--ghost { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff; }
.agp-btn--ghost:not([disabled]):hover { background: rgba(255,255,255,.14); }
.agp-btn--danger { width: 100%; margin-top: .85rem; background: #B42318; color: #fff; }
.agp-btn--danger:not([disabled]):hover { background: #912018; }
.agp-btn__demo { margin-left: .25rem; padding: .15rem .4rem; border-radius: 6px; background: rgba(255,255,255,.2); font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; }

/* Mock-up thumbnails: small painted "photos". */
.agp-th { display: block; flex: none; border-radius: 8px; background: #DDD6FE; position: relative; overflow: hidden; }
.agp-th--1 { background: linear-gradient(180deg, #64748B 0 55%, #334155 55%); }
.agp-th--1::after { content: ""; position: absolute; left: 38%; top: 30%; width: 22%; height: 52%; border-radius: 40% 40% 10% 10%; background: #FACC15; }
.agp-th--2 { background: radial-gradient(circle at 50% 62%, #B45309 0 22%, #F59E0B 23% 30%, #fff 31% 46%, #E5E7EB 47%); }
.agp-th--3 { background: linear-gradient(180deg, #E0E7FF 0 45%, #A5B4FC 45%); }
.agp-th--3::after { content: ""; position: absolute; inset: 30% 12% 30%; background: radial-gradient(circle, #F9A8D4 0 28%, transparent 30%) 0 0/25% 100% repeat-x; }
.agp-th--4 { background: radial-gradient(ellipse at 50% 58%, #92400E 0 30%, #78350F 31% 34%, #D6D3D1 35%); }
.agp-th--5 { background: linear-gradient(180deg, #FDBA74 0 30%, #60A5FA 30% 62%, #1E3A8A 62%); }
.agp-th--5::after { content: ""; position: absolute; left: 0; right: 0; top: 18%; height: 30%; background: linear-gradient(120deg, transparent 30%, #14532D 31% 50%, transparent 51%), linear-gradient(60deg, transparent 45%, #166534 46% 64%, transparent 65%); }
.agp-th--6 { background: linear-gradient(135deg, #FDE68A, #F472B6); }
.agp-th--7 { background: linear-gradient(135deg, #1E1B4B 0 50%, #7C3AED 50%); }
.agp-th--7::after { content: ""; position: absolute; inset: 28%; border-radius: 6px; background: #fff; opacity: .85; }
.agp-th--8 { background: repeating-linear-gradient(45deg, #CBD5E1 0 6px, #E2E8F0 6px 12px); }

/* Mock-up shell (white app window). */
.agp-mock { min-width: 0; overflow: hidden; border: 1px solid var(--agp-line); border-radius: 20px; background: #fff; }
.agp-mock__bar { display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem; border-bottom: 1px solid #F0ECF8; background: var(--agp-wash); font: 600 .75rem/1.2 var(--agp-mono); color: var(--agp-subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agp-mock__bar span:last-child { overflow: hidden; text-overflow: ellipsis; }
.agp-mock__body { padding: 1.1rem 1.25rem 1.3rem; }
.agp-mock__h { margin: 0 0 .5rem; padding-bottom: .5rem; border-bottom: 1px solid #F0ECF8; font: 700 .85rem/1.3 var(--agp-head); color: var(--agp-ink); }
.agp-mock__h ~ .agp-mock__h { margin-top: 1rem; }
.agp-row { display: grid; grid-template-columns: minmax(0, 34%) minmax(0, 1fr); align-items: center; gap: .75rem; padding: .45rem 0; font-size: .8rem; }
.agp-row__k { font-weight: 600; color: var(--agp-ink); }
.agp-select, .agp-input { display: flex; align-items: center; gap: .4rem; min-width: 0; min-height: 34px; padding: .35rem .65rem; border: 1px solid #D5CCEC; border-radius: 8px; background: #fff; font-size: .8rem; color: var(--agp-ink); }
.agp-select { position: relative; padding-right: 1.8rem; }
.agp-select::after { content: ""; position: absolute; right: .7rem; top: 50%; width: 6px; height: 6px; border-right: 2px solid var(--agp-subtle); border-bottom: 2px solid var(--agp-subtle); transform: translateY(-70%) rotate(45deg); }
.agp-select b { font-weight: 600; }
.agp-select--list { flex-direction: column; align-items: stretch; gap: 2px; padding: .3rem; }
.agp-select--list::after { display: none; }
.agp-select--list span { padding: .3rem .45rem; border-radius: 6px; color: var(--agp-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agp-select--list span.is-on { background: #F3EFFC; color: var(--agp-p7); font-weight: 700; }
.agp-input--key i { width: 7px; height: 7px; border-radius: 50%; background: var(--agp-ink); opacity: .75; }
.agp-fakebtn { display: inline-flex; justify-self: start; align-items: center; min-height: 32px; padding: 0 .8rem; border: 1px solid #D5CCEC; border-radius: 8px; background: #fff; font-size: .78rem; font-weight: 600; color: var(--agp-ink); white-space: nowrap; }
@media (max-width: 400px) { .agp-row { grid-template-columns: minmax(0, 1fr); gap: .3rem; } .agp-fakebtn { white-space: normal; } }
.agp-fakebtn--sm { min-height: 30px; padding: 0 .65rem; font-size: .72rem; }
.agp-prompt { margin: 0; padding: .6rem .7rem; border: 1px solid #D5CCEC; border-radius: 8px; font-size: .78rem; line-height: 1.5; color: var(--agp-soft); }

/* ----------------------------------------------------------------- hero */
.agp-hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.agp-hero-bg__dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(196,181,253,.35) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse at 75% 45%, #000 0, transparent 65%); mask-image: radial-gradient(ellipse at 75% 45%, #000 0, transparent 65%); }
.agp-hero-bg__sweep { position: absolute; left: 0; right: 0; top: -20%; height: 18%; background: linear-gradient(180deg, transparent, rgba(34,211,238,.06) 70%, rgba(34,211,238,.16) 98%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 75%); mask-image: linear-gradient(90deg, transparent 35%, #000 75%); animation: agpSweep 7s linear infinite; }
@media (max-width: 1023px) { .agp-hero-bg__sweep { display: none; } }
@keyframes agpSweep { from { transform: translateY(0); } to { transform: translateY(700%); } }

.agp-vision { position: relative; width: 100%; max-width: 560px; margin: 0 auto; padding: .85rem; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: rgba(255,255,255,.06); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.agp-vision__bar { display: flex; align-items: center; gap: .6rem; padding: .15rem .25rem .75rem; }
.agp-vision__bar .agp-dots i { background: rgba(255,255,255,.25); }
.agp-vision__file { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 .75rem/1 var(--agp-mono); color: rgba(255,255,255,.6); }
.agp-vision__stage { position: relative; overflow: hidden; aspect-ratio: 8 / 5; border-radius: 16px; background: #EFE8FB; }
.agp-scene { display: block; width: 100%; height: 100%; }
.agp-steam { animation: agpSteam 3.2s ease-in-out infinite; }
@keyframes agpSteam { 0%, 100% { opacity: .2; transform: translateY(4px); } 50% { opacity: .9; transform: translateY(-3px); } }
.agp-vision__corners i { position: absolute; width: 22px; height: 22px; border: 0 solid #fff; opacity: .9; }
.agp-vision__corners i:nth-child(1) { left: 10px; top: 10px; border-left-width: 2px; border-top-width: 2px; }
.agp-vision__corners i:nth-child(2) { right: 10px; top: 10px; border-right-width: 2px; border-top-width: 2px; }
.agp-vision__corners i:nth-child(3) { left: 10px; bottom: 10px; border-left-width: 2px; border-bottom-width: 2px; }
.agp-vision__corners i:nth-child(4) { right: 10px; bottom: 10px; border-right-width: 2px; border-bottom-width: 2px; }
.agp-vision__scan { position: absolute; left: 0; right: 0; top: 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(34,211,238,.18) 80%, rgba(103,232,249,.9) 99%, #fff); opacity: 0; pointer-events: none; }
.agp-vision.is-scanning .agp-vision__scan { animation: agpScan 1.5s cubic-bezier(.45,.05,.55,.95) forwards; }
@keyframes agpScan { 0% { opacity: 0; transform: translateY(-100%); } 10% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; transform: translateY(340%); } }
.agp-box { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); border: 2px solid var(--agp-eye); border-radius: 6px; background: rgba(34,211,238,.08); transition: opacity .35s, transform .35s; transition-delay: calc(var(--i) * .12s); }
.agp-box em { position: absolute; left: -2px; bottom: 100%; margin-bottom: 3px; padding: .15rem .4rem; border-radius: 5px; background: var(--agp-eye); font: 700 .62rem/1.2 var(--agp-mono); font-style: normal; color: #083344; white-space: nowrap; }
.agp-box[style*="--i:3"] em { bottom: auto; top: 100%; margin: 3px 0 0; }
.agp-box[style*="--i:2"] em { left: auto; right: -2px; }
@media (max-width: 559px) { .agp-box em { font-size: .55rem; } .agp-box[style*="--i:1"] em { bottom: auto; top: 100%; margin: 3px 0 0; } }
.agp-vision.is-armed .agp-box { opacity: 0; transform: scale(.92); }
.agp-vision__model { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .6rem; border-radius: 999px; background: rgba(22,17,31,.78); font: 700 .68rem/1 var(--agp-mono); color: #fff; }
.agp-vision__model i { width: 7px; height: 7px; border-radius: 50%; background: #34D399; }
.agp-vision.is-thinking .agp-vision__model i { animation: agpPulse .8s ease-in-out infinite; background: var(--agp-eye); }
@keyframes agpPulse { 50% { opacity: .25; } }
.agp-vision__out { margin-top: .75rem; padding: .9rem 1rem 1rem; border-radius: 16px; background: #fff; }
.agp-vision__label { display: flex; justify-content: space-between; gap: 1rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--agp-p7); }
.agp-vision__count { font-family: var(--agp-mono); color: var(--agp-subtle); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.agp-vision__text { min-height: 3em; margin: .45rem 0 .7rem; font: 600 1rem/1.5 var(--agp-head); color: var(--agp-ink); }
.agp-caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.18em; background: var(--agp-p); opacity: 0; }
.agp-vision.is-typing .agp-caret { opacity: 1; animation: agpBlink .9s steps(1) infinite; }
@keyframes agpBlink { 50% { opacity: 0; } }
.agp-fields { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.agp-fields li { display: inline-flex; align-items: center; gap: .3rem; margin: 0; padding: .28rem .6rem; border: 1px solid var(--agp-line); border-radius: 999px; font-size: .75rem; font-weight: 600; color: var(--agp-subtle); transition: background .3s, color .3s, border-color .3s; transition-delay: calc(var(--i) * .1s); }
.agp-fields li.is-on { border-color: #ABEFC6; background: #ECFDF3; color: var(--agp-ok); }
.agp-vision.is-armed .agp-fields li.is-on, .agp-vision.is-typing .agp-fields li.is-on { border-color: var(--agp-line); background: #fff; color: var(--agp-subtle); }

/* -------------------------------------------------------------- provider */
.agp-split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .agp-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 4rem; } }
.agp-split__copy, .agp-split__art { min-width: 0; }
.agp-pfacts { margin-top: 1.5rem; }
.agp-pfacts__list { display: grid; gap: .9rem; margin: 0; padding: 0; list-style: none; }
.agp-pfacts__list li { display: flex; gap: .8rem; margin: 0; }
.agp-pfacts__list svg { flex: none; margin-top: .15rem; color: var(--agp-p); }
.agp-pfacts__list p { margin: 0; font-size: .95rem; color: var(--agp-soft); }
.agp-pfacts__list strong { display: block; color: var(--agp-ink); }
.agp-mock--settings { max-width: 560px; margin: 0 auto; }
.agp-provider [data-show-for][hidden] { display: none !important; }
.agp-tiles { display: grid; gap: 1rem; margin: 3.5rem 0 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .agp-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.agp-tiles li { display: flex; align-items: center; gap: .85rem; margin: 0; padding: 1.1rem 1.2rem; border: 1px solid var(--agp-line); border-radius: 18px; background: #fff; }
.agp-tiles__ico { display: inline-flex; flex: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 14px; background: var(--agp-p); color: #fff; }
.agp-tiles p { margin: 0; font-size: .85rem; color: var(--agp-soft); }
.agp-tiles strong { display: block; font: 700 1rem/1.3 var(--agp-head); color: var(--agp-ink); }

/* ------------------------------------------------------- clean + auto */
.agp-duo { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .agp-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.agp-cleanup__k { margin: 0 0 .35rem; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--agp-subtle); }
.agp-cleanup__raw, .agp-cleanup__done { margin: 0 0 1rem; padding: .8rem .9rem; border-radius: 12px; font: 500 .9rem/1.5 var(--agp-mono); overflow-wrap: anywhere; }
.agp-cleanup__raw { background: #F4F1FA; color: var(--agp-soft); }
.agp-cleanup__raw del { text-decoration: line-through; text-decoration-color: #F04438; text-decoration-thickness: 2px; color: #B42318; background: #FEE4E2; border-radius: 3px; transition: opacity .4s; }
.agp-cap { display: inline-block; transition: transform .3s; }
.agp-cleanup__done { border: 1px solid #ABEFC6; background: #ECFDF3; color: var(--agp-ok); font-weight: 700; transition: opacity .5s, transform .5s; }
.agp-cleanup.is-armed .agp-cleanup__raw del { text-decoration-color: transparent; color: inherit; background: transparent; }
.agp-cleanup.is-armed .agp-cleanup__done { opacity: 0; transform: translateY(6px); }
.agp-cleanup__rules { display: grid; gap: .35rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 520px) { .agp-cleanup__rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.agp-cleanup__rules li { display: flex; align-items: center; gap: .4rem; margin: 0; font-size: .82rem; font-weight: 600; color: var(--agp-ink); transition: opacity .3s; transition-delay: calc(var(--i) * .15s); }
.agp-cleanup__rules svg { flex: none; color: var(--agp-ok); }
.agp-cleanup.is-armed .agp-cleanup__rules li { opacity: .25; }

.agp-flow { display: grid; grid-template-columns: minmax(0, 1.1fr) 24px auto 24px minmax(0, 1fr); align-items: center; gap: .4rem; margin-top: 1.25rem; padding: 1rem; border-radius: 16px; background: var(--agp-wash); border: 1px solid #F0ECF8; }
.agp-flow__src { display: grid; gap: .45rem; min-width: 0; }
.agp-flow__node { display: flex; align-items: center; gap: .45rem; min-width: 0; padding: .5rem .6rem; border: 1px solid var(--agp-line); border-radius: 10px; background: #fff; font-size: .78rem; font-weight: 600; color: var(--agp-subtle); opacity: .45; transition: opacity .3s, border-color .3s, color .3s; }
.agp-flow__node svg { flex: none; }
.agp-auto[data-trigger="upload"] [data-src="upload"], .agp-auto[data-trigger="save"] [data-src="save"], .agp-auto[data-trigger="both"] .agp-flow__node { opacity: 1; border-color: #C4B5FD; color: var(--agp-p7); }
.agp-flow__wire { position: relative; height: 2px; background: #DDD6FE; overflow: hidden; }
.agp-flow__wire i { position: absolute; top: 0; left: -40%; width: 40%; height: 100%; background: var(--agp-p); animation: agpWire 1.6s linear infinite; }
@keyframes agpWire { to { left: 100%; } }
.agp-flow__core { display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: .6rem .55rem; border-radius: 14px; background: var(--agp-p); color: #fff; font-size: .68rem; text-align: center; }
.agp-flow__core b { font-weight: 800; white-space: nowrap; }
.agp-flow__out { display: grid; gap: .3rem; margin: 0; padding: 0; list-style: none; min-width: 0; }
.agp-flow__out li { margin: 0; padding: .3rem .5rem; border: 1px dashed #D5CCEC; border-radius: 8px; font-size: .72rem; font-weight: 600; color: var(--agp-subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agp-flow__out li.is-on { border-style: solid; border-color: #ABEFC6; background: #ECFDF3; color: var(--agp-ok); }
.agp-auto .agp-seg--light { display: flex; flex-wrap: wrap; border-radius: 14px; }
.agp-auto .agp-seg--light button { flex: 1 1 auto; border-radius: 11px; }
@media (max-width: 479px) {
	.agp-flow { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
	.agp-flow__wire { width: 2px; height: 18px; justify-self: center; }
	.agp-flow__wire i { left: 0; top: -40%; width: 100%; height: 40%; animation-name: agpWireV; }
	.agp-flow__core { flex-direction: row; justify-content: center; }
	.agp-flow__out { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@keyframes agpWireV { to { top: 100%; } }

/* ------------------------------------------------------------ bulk panel */
.agp-panel { max-width: 1040px; margin: 0 auto; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: rgba(16,8,40,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.agp-panel__bar { display: flex; align-items: center; gap: .7rem; padding: .8rem 1.1rem; border-bottom: 1px solid rgba(255,255,255,.1); font: 600 .78rem/1.2 var(--agp-mono); color: rgba(255,255,255,.65); }
.agp-panel__bar .agp-dots i { background: rgba(255,255,255,.22); }
.agp-panel__bar > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agp-panel__demo { flex: none; padding: .25rem .55rem; border-radius: 999px; background: rgba(34,211,238,.15); color: #A5F3FC; font-size: .68rem; }
.agp-panel__grid { display: grid; }
@media (min-width: 900px) { .agp-panel__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.agp-panel__filters { min-width: 0; padding: 1.3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 900px) { .agp-panel__filters { border-bottom: 0; border-right: 1px solid rgba(255,255,255,.1); } }
.agp-panel__main { min-width: 0; padding: 1.3rem; display: grid; gap: 1.2rem; }
.agp-panel__h { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 .75rem; font: 700 .9rem/1.3 var(--agp-head); color: #fff; }
.agp-tag { padding: .2rem .5rem; border-radius: 999px; background: rgba(253,176,34,.16); color: #FEC84B; font-size: .66rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.agp-filt { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.agp-filt li { display: flex; align-items: center; gap: .5rem; min-width: 0; margin: 0; padding: .55rem .7rem; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(255,255,255,.04); font-size: .82rem; color: rgba(255,255,255,.88); }
.agp-filt li span { flex: none; min-width: 4.5rem; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.agp-filt li.is-on { border-color: rgba(52,211,153,.45); background: rgba(52,211,153,.1); }
.agp-filt li.is-on svg { color: #6EE7B7; }
.agp-est { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; margin: 1rem 0; padding: .75rem .8rem; border-radius: 12px; background: rgba(124,58,237,.25); font-size: .8rem; color: rgba(255,255,255,.75); }
.agp-est b { font: 800 1.4rem/1 var(--agp-head); color: #fff; font-variant-numeric: tabular-nums; }
.agp-panel__btns { display: flex; flex-wrap: wrap; gap: .5rem; }
.agp-panel__btns .agp-btn { flex: 1 1 auto; }
.agp-prev ul { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.agp-prev li { display: flex; align-items: center; gap: .7rem; min-width: 0; margin: 0; padding: .45rem; border-radius: 12px; background: rgba(255,255,255,.05); transition: opacity .35s, transform .35s; transition-delay: calc(var(--i) * .12s); }
.agp-prev .agp-th { width: 44px; height: 34px; }
.agp-prev li p { display: grid; min-width: 0; margin: 0; }
.agp-prev code { font: 600 .68rem/1.3 var(--agp-mono); color: rgba(255,255,255,.5); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agp-prev li p span { font-size: .82rem; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agp-panel[data-state="ready"] .agp-prev li { opacity: .22; transform: translateX(-4px); }
.agp-run { padding: 1rem; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.04); }
.agp-run__top { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.agp-run__top .agp-panel__h { margin: 0; }
.agp-run__state { padding: .25rem .6rem; border-radius: 999px; background: rgba(255,255,255,.1); font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.8); }
.agp-panel[data-state="running"] .agp-run__state { background: rgba(34,211,238,.18); color: #A5F3FC; }
.agp-panel[data-state="paused"] .agp-run__state { background: rgba(253,176,34,.18); color: #FEC84B; }
.agp-panel[data-state="done"] .agp-run__state { background: rgba(52,211,153,.18); color: #6EE7B7; }
.agp-run__bar { height: 10px; margin: .9rem 0; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.1); }
.agp-run__bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7C3AED, #22D3EE); }
.agp-run__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin: 0; }
.agp-run__stats div { min-width: 0; padding: .55rem .5rem; border-radius: 10px; background: rgba(255,255,255,.05); text-align: center; }
.agp-run__stats dt { font-size: .66rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.agp-run__stats dd { margin: .2rem 0 0; font: 800 1.15rem/1.1 var(--agp-head); color: #fff; font-variant-numeric: tabular-nums; }
.agp-run__now { margin: .85rem 0; font-size: .8rem; color: rgba(255,255,255,.65); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agp-run__now code { font-family: var(--agp-mono); color: #A5F3FC; }
@media (max-width: 479px) {
	.agp-run__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.agp-bulk .agp-note { justify-content: center; max-width: 1040px; margin-left: auto; margin-right: auto; }
.agp-steps { display: grid; gap: 1rem; max-width: 1040px; margin: 2.75rem auto 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .agp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .agp-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.agp-steps li { position: relative; display: grid; gap: .5rem; margin: 0; padding: 1.1rem; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(255,255,255,.05); color: #C4B5FD; }
.agp-steps__n { position: absolute; right: 1rem; top: .9rem; font: 700 .75rem/1 var(--agp-mono); color: rgba(255,255,255,.35); }
.agp-steps p { margin: 0; font-size: .85rem; color: rgba(255,255,255,.7); }
.agp-steps strong { display: block; margin-bottom: .15rem; font: 700 1rem/1.3 var(--agp-head); color: #fff; }

/* -------------------------------------------------------- image manager */
.agp-mgr { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1024px) { .agp-mgr { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2rem; } }
.agp-mgr__tools { display: flex; flex-wrap: wrap; gap: .45rem; padding: .85rem 1rem; border-bottom: 1px solid #F0ECF8; }
.agp-input--search { flex: 1 1 180px; color: var(--agp-subtle); }
.agp-select--sm { min-height: 30px; font-size: .72rem; }
.agp-mgr__post { padding: 1rem; }
.agp-mgr__ph { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem .75rem; margin-bottom: .75rem; }
.agp-mgr__ph b { font: 700 .95rem/1.3 var(--agp-head); color: var(--agp-ink); }
.agp-mgr__ph span { font-size: .75rem; color: var(--agp-subtle); }
.agp-mgr__img { display: flex; align-items: center; gap: .75rem; min-width: 0; padding: .6rem; border: 1px solid #F0ECF8; border-radius: 12px; transition: border-color .4s, background .4s; }
.agp-mgr__img + .agp-mgr__img { margin-top: .45rem; }
.agp-mgr__img .agp-th { width: 56px; height: 44px; }
.agp-mgr__img.is-missing { border-color: #FEDF89; background: #FFFCF5; }
.agp-mgr__f { flex: 1; display: grid; gap: .25rem; min-width: 0; }
.agp-mgr__f code { font: 600 .68rem/1.2 var(--agp-mono); color: var(--agp-subtle); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agp-input--alt { min-height: 30px; font-size: .78rem; overflow: hidden; }
.agp-input--alt span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agp-mgr__img.is-missing .agp-input--alt { border-color: #FDB022; }
.agp-pill { flex: none; padding: .22rem .5rem; border-radius: 999px; font-size: .66rem; font-weight: 700; white-space: nowrap; }
.agp-pill.is-ok { background: #ECFDF3; color: var(--agp-ok); }
.agp-pill.is-warn { background: #FFFAEB; color: var(--agp-warn); }
.agp-csv { min-width: 0; }
.agp-csv__flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin: 0 0 1rem; padding: 0; list-style: none; counter-reset: agp; }
.agp-csv__flow li { display: flex; flex-direction: column; align-items: center; gap: .4rem; margin: 0; padding: .85rem .4rem; border: 1px solid var(--agp-line); border-radius: 16px; background: #fff; font-size: .78rem; font-weight: 700; text-align: center; color: var(--agp-ink); }
.agp-csv__flow span { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 12px; background: #F3EFFC; color: var(--agp-p); }
.agp-sheet { overflow: hidden; border: 1px solid var(--agp-line); border-radius: 16px; background: #fff; font: 500 .72rem/1.35 var(--agp-mono); }
.agp-sheet > div { display: grid; grid-template-columns: 4.6rem 5.4rem minmax(0, 1fr) minmax(0, .6fr); }
.agp-sheet > div + div { border-top: 1px solid #F0ECF8; }
.agp-sheet span { min-width: 0; padding: .5rem .55rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--agp-soft); }
.agp-sheet span + span { border-left: 1px solid #F0ECF8; }
.agp-sheet__head { background: #F3EFFC; }
.agp-sheet__head span { font-weight: 700; color: var(--agp-p7); }
.agp-mini { display: grid; gap: .45rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.agp-mini li { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: .88rem; color: var(--agp-soft); }
.agp-mini svg { flex: none; color: var(--agp-p); }

/* -------------------------------------------------------------- unused */
.agp-un { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1024px) { .agp-un { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 2rem; } }
.agp-un__scan { min-width: 0; padding: 1rem; border: 1px solid var(--agp-line); border-radius: 20px; background: #fff; }
.agp-un__grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; overflow: hidden; border-radius: 12px; }
@media (max-width: 479px) { .agp-un__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.agp-un__beam { position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 26%; background: linear-gradient(180deg, transparent, rgba(124,58,237,.16) 85%, rgba(124,58,237,.75)); opacity: 0; pointer-events: none; }
.agp-un.is-scanning @media (max-width: 479px) { .agp-un__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.agp-un__beam { animation: agpBeam 1.8s ease-in-out forwards; }
@keyframes agpBeam { 0% { opacity: 0; transform: translateY(-100%); } 10%, 90% { opacity: 1; } 100% { opacity: 0; transform: translateY(400%); } }
.agp-un__tile { position: relative; display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 2px solid transparent; transition: opacity .4s, border-color .4s, filter .4s; transition-delay: calc(var(--i) * .07s); }
.agp-un__tile .agp-th { position: absolute; inset: 0; border-radius: 0; }
.agp-un__tile em { position: absolute; left: 4px; right: 4px; bottom: 4px; padding: .15rem .3rem; border-radius: 5px; background: rgba(6,118,71,.92); font-size: .58rem; font-style: normal; font-weight: 700; line-height: 1.25; color: #fff; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity .35s; transition-delay: inherit; }
.agp-un__tile.is-unused { border: 2px dashed #F04438; }
.agp-un__tile.is-unused .agp-th { filter: grayscale(.8); opacity: .55; }
.agp-un__tile.is-unused em { background: #B42318; }
.agp-un.is-armed .agp-un__tile em { opacity: 0; }
.agp-un.is-armed .agp-un__tile.is-unused { border-color: transparent; }
.agp-un.is-armed .agp-un__tile.is-unused .agp-th { filter: none; opacity: 1; }
.agp-un__tile.is-gone { opacity: .12; }
.agp-un__tile.is-kept { border: 2px solid #12B76A; }
.agp-un__tile.is-kept .agp-th { filter: none; opacity: 1; }
.agp-un__tile.is-kept em { background: rgba(6,118,71,.92); }
.agp-un__sum { margin: .85rem 0 0; font-size: .85rem; color: var(--agp-soft); }
.agp-un__sum b { font-family: var(--agp-head); color: var(--agp-ink); }
.agp-un__k { margin: 0 0 .45rem; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--agp-subtle); }
.agp-chips + .agp-un__k { margin-top: 1rem; }
.agp-un__confirm { margin-top: 1.25rem; padding: 1rem; border: 1px solid #FEDF89; border-radius: 14px; background: #FFFCF5; }
.agp-check { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; font-weight: 600; color: var(--agp-ink); cursor: pointer; }
.agp-check input { flex: none; width: 18px; height: 18px; margin-top: .1rem; accent-color: var(--agp-p); cursor: pointer; }
.agp-un__result { min-height: 1.4em; margin: .65rem 0 0; font-size: .85rem; font-weight: 600; color: var(--agp-ok); }

/* -------------------------------------------------------------- screens */
.agp-shots__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-bottom: 1.25rem; }
.agp-shots__tabs button { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: 0 .95rem; border: 1px solid var(--agp-line); border-radius: 999px; background: #fff; font: 700 .85rem/1 var(--agp-head); color: var(--agp-soft); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.agp-shots__tabs button:hover { border-color: #C4B5FD; color: var(--agp-p7); }
.agp-shots__tabs button[aria-selected="true"] { border-color: var(--agp-p); background: var(--agp-p); color: #fff; }
.agp-shots__frame { overflow: hidden; border: 1px solid var(--agp-line); border-radius: 20px; background: #fff; }
.agp-shots__img { display: block; width: 100%; height: auto; }

/* -------------------------------------------------------------- pricing */

/* -------------------------------------------------------------- compare */
.agp-cmp { position: relative; overflow-x: auto; border: 1px solid var(--agp-line); border-radius: 20px; background: #fff; }
.agp-cmp table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: .92rem; }
.agp-cmp caption { padding: .8rem 1rem; border-bottom: 1px solid var(--agp-line); font-size: .82rem; text-align: left; color: var(--agp-subtle); }
.agp-cmp th, .agp-cmp td { padding: .8rem 1rem; }
.agp-cmp thead th { font-family: var(--agp-head); text-align: center; color: var(--agp-ink); }
.agp-cmp thead th:first-child { text-align: left; width: 46%; }
.agp-cmp thead th span { display: block; font-size: .72rem; font-weight: 500; color: var(--agp-subtle); }
.agp-cmp .is-here { background: #FAF8FF; color: var(--agp-p7); }
.agp-cmp tbody th { font-weight: 600; text-align: left; color: var(--agp-ink); }
.agp-cmp tbody tr + tr { border-top: 1px solid #F0ECF8; }
.agp-cmp td { text-align: center; color: var(--agp-soft); }
.agp-cmp td svg { margin: 0 auto; }
.agp-cmp td.is-here svg.lucide-check { color: var(--agp-ok); }
.agp-cmp__g th { padding: .5rem 1rem; background: #F3EFFC; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--agp-p7); }
.agp-both { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem .75rem; margin: 0 auto 1.5rem; }
.agp-both p { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--agp-subtle); }
.agp-both .agp-chips { justify-content: center; }
.agp-both .agp-chips li { display: inline-flex; align-items: center; gap: .3rem; border-color: #ABEFC6; background: #ECFDF3; color: var(--agp-ok); }
.agp-cmp__foot { margin: 1rem 0 0; font-size: .85rem; text-align: center; color: var(--agp-subtle); }
.agp-cmp__links { display: flex; justify-content: center; margin-top: 1.5rem; }
@media (max-width: 559px) {
	.agp-cmp table { min-width: 0; font-size: .8rem; }
	.agp-cmp th, .agp-cmp td { padding: .6rem .5rem; }
	.agp-cmp thead th:first-child { width: 42%; }
	.agp-cmp td span { overflow-wrap: anywhere; }
}

/* ------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
	.agp-hero-bg__sweep, .agp-steam, .agp-flow__wire i, .agp-vision__scan, @media (max-width: 479px) { .agp-un__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.agp-un__beam { animation: none !important; }
	.agp-hero-bg__sweep, .agp-flow__wire i { display: none; }
	.agp-vision *, .agp-cleanup *, .agp-un *, .agp-prev li { transition: none !important; }
}

/* ---- Selling points with real screens (bkclone_agp_showcase) ---- */
.agp-show__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.agp-show__row--flip { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.agp-show__row--flip .agp-show__text { order: 2; }
.agp-show__ico { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 12px; background: var(--agp-wash); color: var(--agp-p); border: 1px solid var(--agp-line); }
.agp-show__text h3 { margin: .9rem 0 .5rem; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.2; color: var(--agp-ink); }
.agp-show__text p { margin: 0; color: var(--agp-soft); font-size: 1.02rem; line-height: 1.6; }
.agp-show__text ul { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: .55rem; }
.agp-show__text li { display: flex; gap: .55rem; align-items: flex-start; color: var(--agp-ink); font-weight: 500; }
.agp-show__text li svg { flex: none; margin-top: .15rem; color: #16A34A; }
.agp-show__shot { margin: 0; overflow: hidden; border-radius: 16px; border: 1px solid var(--agp-line); background: #fff; box-shadow: 0 24px 60px -24px rgba(76, 29, 149, .35), 0 2px 6px rgba(22, 17, 31, .06); transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s; }
.agp-show__shot:hover { transform: translateY(-4px); box-shadow: 0 32px 70px -24px rgba(76, 29, 149, .45), 0 2px 6px rgba(22, 17, 31, .06); }
.agp-show__shot img { display: block; width: 100%; height: auto; }
@media (max-width: 860px) {
	.agp-show__row, .agp-show__row--flip { grid-template-columns: 1fr; }
	.agp-show__row--flip .agp-show__text { order: 0; }
}
@media (prefers-reduced-motion: reduce) { .agp-show__shot { transition: none; } .agp-show__shot:hover { transform: none; } }


/* Hero: the real AI review screen. */
.agp-hero-shot { margin: 0; }
.agp-hero-shot .bk-ai-badge { margin-bottom: .75rem; }
.agp-hero-shot__frame { overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.15); }
.agp-hero-shot__frame .agp-mock__bar { background: #F4F1FA; }
.agp-hero-shot img, .agp-show__shot img { display: block; width: 100%; height: auto; }
.agp-hero-shot figcaption { margin-top: .7rem; font-size: .8rem; color: rgba(255,255,255,.7); }
