.bap-main{min-height:70vh}.bap-wrap{width:min(1120px,calc(100% - 40px));margin:0 auto}.bap-hero{padding:72px 0 58px;border-bottom:1px solid var(--line);background:radial-gradient(circle at 82% 15%,rgba(45,168,255,.16),transparent 25rem)}.bap-hero h1{font-size:clamp(2.9rem,6vw,5.8rem);max-width:900px}.bap-lead{max-width:760px;font-size:clamp(1.08rem,2vw,1.35rem);color:#d2deea;margin:24px 0 0}.bap-lockline{margin-top:22px;color:#fff}.bap-section{padding:54px 0 84px}.bap-section-head{max-width:720px;margin-bottom:24px}.bap-section-head h2,.bap-form-top h2,.bap-saved h2{font-size:clamp(2rem,4vw,3rem);margin:0 0 10px}.bap-section-head p,.bap-form-top p,.bap-saved p{color:var(--muted)}.bap-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.bap-choice-card{appearance:none;text-align:left;border:1px solid var(--line);border-radius:20px;background:linear-gradient(180deg,var(--surface-2),var(--surface));color:#fff;padding:28px;min-height:190px;cursor:pointer;box-shadow:var(--shadow);transition:transform .18s ease,border-color .18s ease}.bap-choice-card:hover,.bap-choice-card:focus-visible{transform:translateY(-2px);border-color:rgba(45,168,255,.65);outline:none}.bap-choice-card strong{display:block;font-size:2rem;margin:7px 0}.bap-choice-card span:last-child{display:block;color:var(--muted);font-size:1.05rem}.bap-card-kicker{color:var(--eyebrow-blue);font-weight:850;text-transform:uppercase;letter-spacing:.09em;font-size:.82rem}.bap-form{display:grid;gap:22px}.bap-form[hidden]{display:none}.bap-form-top{display:grid;gap:16px;margin-bottom:4px}.bap-back{justify-self:start;background:none;border:0;color:var(--eyebrow-blue);font-weight:800;padding:0;cursor:pointer}.bap-form fieldset{border:1px solid var(--line);border-radius:18px;background:rgba(16,27,40,.76);padding:24px;margin:0}.bap-form legend{font-size:1.25rem;font-weight:850;padding:0 8px}.bap-helper{margin:0 0 18px;color:var(--muted)}.bap-fields{display:grid;gap:16px}.bap-fields-2{grid-template-columns:repeat(2,minmax(0,1fr))}.bap-span-2{grid-column:1/-1}.bap-form label{display:grid;gap:7px;color:#e7eef6;font-weight:760}.bap-form input,.bap-form select,.bap-form textarea{width:100%;border:1px solid rgba(171,196,221,.24);border-radius:10px;background:#09131e;color:#fff;padding:12px 13px;outline:none}.bap-form input:focus,.bap-form select:focus,.bap-form textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(45,168,255,.12)}.bap-optional{color:var(--muted-2);font-weight:650;font-size:.86rem}.bap-upload{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.bap-upload input[type=file]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.bap-previews{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-top:18px}.bap-preview{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#08111b}.bap-preview img{width:100%;aspect-ratio:1/1;object-fit:cover}.bap-preview-body{padding:10px;display:grid;gap:8px}.bap-preview-name{font-size:.8rem;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bap-preview-actions{display:flex;gap:6px;flex-wrap:wrap}.bap-mini{border:1px solid var(--line);border-radius:8px;background:var(--surface-2);color:#fff;padding:6px 8px;cursor:pointer;font-size:.78rem;font-weight:750}.bap-mini.is-primary{border-color:var(--blue);color:var(--eyebrow-blue)}.bap-message{min-height:1.5em;color:#dbe8f5;font-weight:700}.bap-message.is-error{color:#ffb7b7}.bap-submit-row{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.bap-submit-row p{margin:0;max-width:650px;color:var(--muted);font-size:.94rem}.bap-saved{border:1px solid rgba(45,168,255,.36);border-radius:22px;padding:34px;background:linear-gradient(180deg,rgba(20,33,49,.96),rgba(10,20,31,.96));box-shadow:var(--shadow)}.bap-saved-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}@media(max-width:720px){.bap-wrap{width:min(100% - 28px,1120px)}.bap-hero{padding:54px 0 42px}.bap-choice-grid,.bap-fields-2{grid-template-columns:1fr}.bap-span-2{grid-column:auto}.bap-form fieldset{padding:18px}.bap-choice-card{min-height:160px}.bap-submit-row{align-items:stretch}.bap-submit-row .btn{width:100%}}
.bap-preview{position:relative}.bap-preview[draggable="true"]{cursor:grab}.bap-preview.is-dragging{opacity:.55}.bap-preview.is-drop-target{outline:2px solid var(--blue);outline-offset:2px}.bap-photo-position{position:absolute;top:8px;left:8px;z-index:2;min-width:28px;height:28px;padding:0 7px;border-radius:999px;background:rgba(3,10,18,.86);border:1px solid rgba(255,255,255,.25);display:grid;place-items:center;font-weight:900;color:#fff}.bap-mini:disabled{opacity:.4;cursor:not-allowed}.bap-hashtags{font-family:inherit}
.bap-output{display:grid;gap:26px}.bap-output[hidden]{display:none}.bap-output-head h2{font-size:clamp(2.1rem,4vw,3.2rem);margin:0 0 8px}.bap-output-head p{color:var(--muted)}.bap-output-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px;align-items:start}.bap-output-card{border:1px solid var(--line);border-radius:20px;background:linear-gradient(180deg,var(--surface-2),var(--surface));padding:24px;box-shadow:var(--shadow);display:grid;gap:16px}.bap-output-card h3{font-size:1.7rem;margin:0}.bap-output-card p{margin:0;color:var(--muted)}.bap-step{color:var(--eyebrow-blue);font-weight:900;text-transform:uppercase;letter-spacing:.07em;font-size:.8rem}.bap-copy-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.bap-copy-row input,.bap-caption-label textarea{width:100%;border:1px solid rgba(171,196,221,.24);border-radius:10px;background:#09131e;color:#fff;padding:12px 13px}.bap-caption-label{display:grid;gap:8px;font-weight:800}.bap-canvas-wrap{border-radius:16px;overflow:hidden;background:#07101a;border:1px solid var(--line)}#bap-share-canvas{display:block;width:100%;height:auto;aspect-ratio:8.5/11;background:#fff}.bap-funnel{border-top:1px solid var(--line);padding-top:28px;display:grid;gap:12px}.bap-funnel h3{font-size:1.6rem;margin:0}.bap-funnel p{margin:0;color:var(--muted)}.bap-funnel .btn{justify-self:start}.bap-public-shell{width:min(1040px,calc(100% - 36px));margin:0 auto;padding:48px 0 80px}.bap-public-hero{display:grid;gap:18px;margin-bottom:24px}.bap-public-hero h1{font-size:clamp(2.2rem,5vw,4.7rem);margin:0}.bap-public-summary{font-size:1.12rem;color:#d5e1ec;max-width:820px}.bap-public-facts{display:flex;flex-wrap:wrap;gap:9px}.bap-public-fact{border:1px solid var(--line);border-radius:999px;padding:8px 11px;color:#d9e6f1;background:var(--surface)}.bap-public-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bap-public-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px;border:1px solid var(--line);background:#08111b}.bap-public-gallery img:first-child{grid-column:1/-1;aspect-ratio:16/9}.bap-public-details{margin-top:26px;border:1px solid var(--line);border-radius:18px;background:var(--surface);padding:24px;display:grid;gap:14px}.bap-public-details h2{margin:0}.bap-public-cta{margin-top:26px;border:1px solid rgba(45,168,255,.36);border-radius:18px;padding:24px;background:linear-gradient(180deg,rgba(20,33,49,.96),rgba(10,20,31,.96));display:grid;gap:10px}.bap-public-cta h2,.bap-public-cta p{margin:0}.bap-public-brand{color:var(--eyebrow-blue);font-weight:900;letter-spacing:.08em;text-transform:uppercase;font-size:.78rem}
@media(max-width:800px){.bap-output-grid{grid-template-columns:1fr}.bap-copy-row{grid-template-columns:1fr}.bap-copy-row .btn{width:100%}.bap-public-gallery{grid-template-columns:1fr}.bap-public-gallery img:first-child{grid-column:auto;aspect-ratio:4/3}}

.bap-saved-access{margin-bottom:28px}.bap-saved-access .btn:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}

.bap-recovery{margin-top:22px;padding-top:20px;border-top:1px solid var(--line);display:grid;gap:12px}.bap-recovery[hidden]{display:none}.bap-recovery h3{margin:0;font-size:1.3rem}.bap-recovery p{margin:0;color:var(--muted)}.bap-recovery-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}.bap-recovery-grid label{display:grid;gap:7px;font-weight:760}.bap-recovery-grid input{width:100%;border:1px solid rgba(171,196,221,.24);border-radius:10px;background:#09131e;color:#fff;padding:12px 13px}@media(max-width:720px){.bap-recovery-grid{grid-template-columns:1fr}.bap-recovery-grid .btn{width:100%}}
.bap-field-help{display:block;color:var(--muted-2);font-size:.82rem;font-weight:600;line-height:1.35}.bap-inline-pair{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:10px}.bap-howto{margin:0 0 26px;border:1px solid rgba(45,168,255,.32);border-radius:18px;background:rgba(16,27,40,.76);overflow:hidden}.bap-howto summary{cursor:pointer;padding:18px 22px;font-weight:850;color:#fff}.bap-howto-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:0 22px 22px}.bap-howto-grid div{border:1px solid var(--line);border-radius:12px;padding:14px;background:#0a1420}.bap-howto-grid strong,.bap-howto-grid span{display:block}.bap-howto-grid span{margin-top:5px;color:var(--muted);font-size:.88rem}.bap-choice-field,.bap-format-block{display:grid;gap:10px}.bap-choice-label{font-weight:800;color:#e7eef6}.bap-radio-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bap-radio-cards-3{grid-template-columns:repeat(3,minmax(0,1fr))}.bap-radio-cards label{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--line);border-radius:12px;padding:14px;background:#09131e;cursor:pointer}.bap-radio-cards label:has(input:checked){border-color:var(--blue);box-shadow:0 0 0 2px rgba(45,168,255,.12)}.bap-radio-cards input{width:auto;margin-top:3px}.bap-radio-cards strong,.bap-radio-cards small{display:block}.bap-radio-cards small{margin-top:4px;color:var(--muted);font-weight:600;line-height:1.35}.bap-upgrade-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.bap-upgrade-card{border:1px solid var(--line);border-radius:14px;padding:16px;background:#09131e;display:grid;gap:10px}.bap-upgrade-card h3{margin:0;font-size:1.1rem}.bap-upgrade-card label{display:flex;grid-template-columns:none;align-items:center;gap:8px;font-weight:700}.bap-upgrade-card input[type=radio],.bap-upgrade-card input[type=checkbox]{width:auto}.bap-enhancement-example{margin-top:18px;display:grid;grid-template-columns:minmax(220px,380px) 1fr;gap:18px;align-items:center;border:1px solid rgba(45,168,255,.28);border-radius:16px;padding:16px;background:#0a1420}.bap-enhancement-example img{width:100%;border-radius:12px;border:1px solid var(--line);background:#fff}.bap-enhancement-example h3{margin:0 0 6px}.bap-enhancement-example p{margin:0;color:var(--muted)}.bap-photo-category{width:100%;border:1px solid rgba(171,196,221,.24);border-radius:8px;background:#09131e;color:#fff;padding:7px 8px;font-size:.78rem}@media(max-width:900px){.bap-howto-grid{grid-template-columns:1fr 1fr}.bap-upgrade-grid{grid-template-columns:1fr}.bap-enhancement-example{grid-template-columns:1fr}}@media(max-width:720px){.bap-inline-pair,.bap-radio-cards,.bap-radio-cards-3,.bap-howto-grid{grid-template-columns:1fr}}
.bap-inline-help-link{appearance:none;border:0;background:none;color:var(--eyebrow-blue);font:inherit;font-size:.82rem;font-weight:850;text-decoration:underline;text-underline-offset:3px;cursor:pointer;margin-left:10px}.bap-popular-upgrade{border-color:rgba(150,84,255,.6);background:linear-gradient(180deg,rgba(82,42,125,.22),#09131e)}.bap-popular-badge{color:#c7a6ff;font-weight:900;font-size:.78rem;text-transform:uppercase;letter-spacing:.04em}.bap-image-guide-modal{width:min(880px,calc(100% - 28px));border:0;padding:0;background:transparent;color:#fff}.bap-image-guide-modal::backdrop{background:rgba(0,0,0,.72);backdrop-filter:blur(2px)}.bap-modal-card{position:relative;border:1px solid var(--line);border-radius:20px;background:linear-gradient(180deg,#102034,#08111b);padding:28px;box-shadow:0 24px 70px rgba(0,0,0,.45)}.bap-modal-card h2{margin:0 48px 8px 0;font-size:1.8rem}.bap-modal-close{position:absolute;top:14px;right:16px;width:38px;height:38px;border-radius:999px;border:1px solid var(--line);background:#0b1724;color:#fff;font-size:1.5rem;cursor:pointer}.bap-guide-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:20px;margin-top:20px}.bap-guide-grid section{border:1px solid var(--line);border-radius:14px;background:#09131e;padding:18px}.bap-guide-grid h3{margin:0 0 14px}.bap-guide-format{display:grid;gap:4px;padding:11px 0;border-bottom:1px solid rgba(171,196,221,.14)}.bap-guide-format:last-child{border-bottom:0}.bap-guide-format span,.bap-guide-grid li{color:var(--muted);line-height:1.45}.bap-guide-grid img{width:100%;border-radius:10px;border:1px solid var(--line);background:#fff}.bap-guide-grid ul{margin:14px 0 0;padding-left:20px}.bap-guide-grid li+li{margin-top:8px}@media(max-width:760px){.bap-guide-grid{grid-template-columns:1fr}.bap-inline-help-link{display:block;margin:8px 0 0}}


/* Build-A-Post v8.5.319 approved professional editor */
body.bap-editor-active{background:#f4f8fc;color:#10253e}
body.bap-editor-active .bap-hero,body.bap-editor-active #bap-resume,body.bap-editor-active #bap-choice,body.bap-editor-active>.site-footer,body.bap-editor-active .bap-howto{display:none!important}
body.bap-editor-active .bap-section{padding:0;background:#f4f8fc}
body.bap-editor-active .bap-wrap{width:100%;max-width:none;margin:0}
.bap-editor-form{--ed-blue:#0c5d95;--ed-blue2:#0b73bf;--ed-line:#c7d8e8;--ed-text:#10253e;--ed-muted:#5c7085;display:grid!important;grid-template-columns:255px minmax(700px,1fr) 420px;gap:14px;align-items:start;min-height:100vh;padding:8px;background:#f4f8fc;color:var(--ed-text)}
.bap-editor-form[hidden]{display:none!important}.bap-editor-contents{display:contents!important}.bap-editor-rail{grid-column:1;grid-row:1/50;position:sticky;top:8px;align-self:start;background:linear-gradient(180deg,#0b4b78,#0a3760);border-radius:12px;color:#fff;padding:18px 10px;min-height:calc(100vh - 16px);box-shadow:0 10px 30px rgba(10,55,96,.16)}
.bap-editor-brand{display:flex;gap:10px;padding:4px 8px 18px;border-bottom:1px solid rgba(255,255,255,.18)}.bap-brand-icon{font-size:2rem}.bap-editor-brand strong{display:block;font-size:1.5rem}.bap-editor-brand span{display:block;font-size:.92rem;line-height:1.35}
.bap-step-nav{display:grid;gap:8px;padding:14px 0}.bap-step-nav a{display:grid;grid-template-columns:32px 1fr;align-items:center;gap:8px;padding:12px;border-radius:9px;color:#fff;text-decoration:none;font-weight:800}.bap-step-nav a::first-letter{font-weight:900}.bap-step-nav a:hover,.bap-step-nav a.is-active{background:#1484d4}.bap-step-nav a span{font-weight:800}
.bap-rail-how{margin-top:8px;background:#fff;color:var(--ed-text);border-radius:10px;padding:14px}.bap-rail-how h3{margin:0 0 10px;color:#0c5d95}.bap-rail-how ol{list-style:none;padding:0;margin:0;display:grid;gap:10px}.bap-rail-how li{display:grid;grid-template-columns:1fr;gap:2px;font-size:.84rem}.bap-rail-how li span{color:var(--ed-muted)}.bap-rail-how p{margin:12px 0 0;padding:10px;background:#eaf4ff;border-radius:8px;font-size:.82rem;line-height:1.4}
.bap-editor-toolbar{grid-column:2/4;display:flex!important;align-items:center;justify-content:space-between;background:#fff;border:1px solid var(--ed-line);border-radius:10px;padding:10px 14px;box-shadow:0 3px 12px rgba(24,75,115,.08)}.bap-editor-toolbar>div:nth-child(2){display:none}.bap-back{color:#0c5d95;background:transparent;border:0;font-weight:800}.bap-toolbar-actions{display:flex;gap:10px;margin-left:auto}.bap-toolbar-actions .btn{min-width:120px}
.bap-editor-panel{background:#fff!important;border:1px solid var(--ed-line)!important;border-radius:10px!important;padding:16px!important;box-shadow:0 3px 12px rgba(24,75,115,.07)!important;color:var(--ed-text)!important}.bap-editor-panel legend{display:block;width:calc(100% + 32px);margin:-16px -16px 14px;padding:10px 14px;background:linear-gradient(90deg,#0d5f97,#0a4f81);color:#fff!important;font-size:1.13rem!important;font-weight:900!important;border-radius:9px 9px 0 0}.bap-editor-panel .bap-helper,.bap-editor-panel .bap-field-help{color:var(--ed-muted)!important}.bap-editor-panel label{color:var(--ed-text)!important}.bap-editor-panel input,.bap-editor-panel select,.bap-editor-panel textarea,.bap-photo-category{background:#fff!important;color:#10253e!important;border:1px solid #b9ccdd!important;border-radius:6px!important;padding:9px 10px!important}.bap-editor-panel textarea{min-height:72px}.bap-editor-panel input:focus,.bap-editor-panel select:focus,.bap-editor-panel textarea:focus{outline:2px solid rgba(20,132,212,.2);border-color:#1484d4!important}
.bap-about-panel,.bap-property-panel,.bap-interior-panel,.bap-exterior-panel,.bap-photos-panel,.bap-upgrades-panel{grid-column:2}.bap-about-panel{grid-row:auto}.bap-property-panel{grid-row:auto}.bap-post-panel,.bap-hashtags-panel{grid-column:3}.bap-post-panel{grid-row:2}.bap-hashtags-panel{grid-row:3}.bap-photos-panel{grid-row:auto}.bap-upgrades-panel{grid-row:auto}.bap-editor-preview{grid-column:3;grid-row:4/20;display:grid;gap:12px;position:sticky;top:8px;align-self:start}.bap-preview-card{background:#fff;border:1px solid var(--ed-line);border-radius:10px;overflow:hidden;box-shadow:0 3px 12px rgba(24,75,115,.07)}.bap-panel-title{padding:10px 14px;background:linear-gradient(90deg,#0d5f97,#0a4f81);color:#fff;font-weight:900;font-size:1.08rem}.bap-panel-title small{font-weight:600}.bap-preview-fields{padding:12px;display:grid;gap:10px}.bap-preview-fields label{display:grid;gap:4px;font-weight:800}.bap-preview-fields label span{font-weight:500;padding:8px;border:1px solid var(--ed-line);border-radius:6px;color:#233f59;background:#fff}.bap-live-style{padding:12px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.bap-live-style span{border:1px solid var(--ed-line);border-radius:8px;padding:12px;text-align:center;font-weight:800}.bap-live-style span:first-child{border-color:#1484d4;background:#eef7ff}.bap-preview-tabs{display:flex;gap:0;border-bottom:1px solid var(--ed-line)}.bap-preview-tabs span{flex:1;text-align:center;padding:9px;font-size:.8rem}.bap-preview-tabs .is-active{color:#0b68aa;font-weight:900}.bap-facebook-mock{margin:12px;border:1px solid var(--ed-line);border-radius:8px;overflow:hidden;background:#fff}.bap-fb-user{padding:10px 12px;display:grid}.bap-fb-user small{color:var(--ed-muted)}.bap-fb-copy{padding:0 12px 10px;font-size:.9rem;line-height:1.4}.bap-fb-image{aspect-ratio:16/9;background:linear-gradient(135deg,#d7e7f5,#aac9df);display:grid;place-items:center;color:#365b76;font-weight:800;background-position:center;background-size:cover}.bap-fb-meta{padding:10px 12px;background:#f3f6f8;display:grid;gap:2px}.bap-fb-meta small{color:#6f7f8d}.bap-fb-meta strong{font-size:.92rem}.bap-fb-meta span{font-size:.78rem;color:#4f6070}
.bap-fields{gap:11px!important}.bap-fields label{gap:5px!important;font-size:.82rem!important;font-weight:800!important}.bap-fields-2{grid-template-columns:repeat(4,minmax(0,1fr))!important}.bap-span-2{grid-column:span 2!important}.bap-inline-pair{grid-template-columns:1fr 115px!important}.bap-radio-cards label{background:#fff!important;color:var(--ed-text)!important;border-color:var(--ed-line)!important}.bap-radio-cards label:has(input:checked){border-color:#1484d4!important;background:#eef7ff!important}.bap-choice-label{color:var(--ed-text)!important}.bap-upgrade-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}.bap-upgrade-card{background:#fff!important;color:var(--ed-text)!important;border-color:var(--ed-line)!important;padding:12px!important}.bap-popular-upgrade{background:#fbf5ff!important;border-color:#c99cff!important}.bap-popular-badge{color:#7d3bc1!important}.bap-upload{background:#f7fbff;border:1px dashed #8bbce0;border-radius:8px;padding:14px}.bap-previews{grid-template-columns:repeat(5,minmax(0,1fr))!important}.bap-preview{background:#fff!important;border-color:var(--ed-line)!important}.bap-preview-name{color:#4e6376!important}.bap-mini{background:#f5f9fc!important;color:#173650!important;border-color:var(--ed-line)!important}.bap-mini.is-primary{background:#1484d4!important;color:#fff!important}.bap-submit-row{grid-column:2/4;background:#fff;border:1px solid var(--ed-line);border-radius:10px;padding:12px 14px}.bap-submit-row p{color:var(--ed-muted)!important}.bap-message{grid-column:2/4;color:#29475f!important}.bap-output{grid-column:2/4}.bap-saved{grid-column:2/4}
body.bap-editor-active .bap-main{min-height:100vh}.bap-inline-help-link{color:#dff2ff!important;text-decoration:underline!important}.bap-image-guide-modal{color:#10253e}.bap-modal-card{background:#fff!important;color:#10253e!important;border-color:#b9ccdd!important}.bap-modal-close{background:#f4f8fc!important;color:#10253e!important}.bap-guide-grid section{background:#f7fbff!important;border-color:#c7d8e8!important}.bap-guide-format span,.bap-guide-grid li{color:#53697c!important}
@media(max-width:1250px){.bap-editor-form{grid-template-columns:220px minmax(620px,1fr) 360px}.bap-fields-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.bap-upgrade-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:980px){.bap-editor-form{display:block!important;padding:10px}.bap-editor-rail,.bap-editor-preview{position:static;margin-bottom:12px}.bap-step-nav{grid-template-columns:repeat(3,1fr)}.bap-rail-how{display:none}.bap-editor-toolbar{margin-bottom:12px}.bap-fields-2{grid-template-columns:1fr 1fr!important}.bap-previews{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:640px){.bap-fields-2,.bap-upgrade-grid,.bap-radio-cards,.bap-radio-cards-3,.bap-previews{grid-template-columns:1fr!important}.bap-span-2{grid-column:auto!important}.bap-step-nav{grid-template-columns:1fr 1fr}.bap-editor-brand strong{font-size:1.25rem}.bap-editor-toolbar{flex-wrap:wrap}.bap-toolbar-actions{width:100%}.bap-toolbar-actions .btn{flex:1}.bap-editor-rail{min-height:auto}}

/* Build-A-Post V1 locked seller editor — v8.5.319 */
body.bap-editor-active{background:#eef4f8!important;color:#13263d!important;overflow-x:hidden}
body.bap-editor-active .bap-hero,body.bap-editor-active #bap-resume,body.bap-editor-active .site-footer{display:none!important}
body.bap-editor-active .bap-section{padding:0!important;background:#eef4f8!important}
body.bap-editor-active .bap-wrap{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
body.bap-editor-active #bap-form{display:grid!important;grid-template-columns:260px minmax(620px,1fr) 420px;grid-template-areas:"rail property right" "rail photos right" "rail upgrades right" "rail source right" "rail final right";gap:14px;align-items:start;padding:10px;background:#eef4f8;min-height:100vh}
.bap-editor-rail{grid-area:rail;position:sticky;top:10px;align-self:start;background:linear-gradient(180deg,#075d8f,#063f69);color:#fff;border-radius:0;min-height:calc(100vh - 20px);padding:16px 10px;box-shadow:0 3px 14px rgba(25,55,85,.15)}
.bap-editor-brand{display:flex;gap:10px;padding:6px 10px 18px;border-bottom:1px solid rgba(255,255,255,.18)}.bap-editor-brand strong{font-size:1.55rem;line-height:1.05}.bap-editor-brand span{display:block;line-height:1.35}.bap-brand-icon{font-size:1.7rem;color:#7fd3ff}
.bap-step-nav{display:grid;gap:7px;padding:12px 0}.bap-step-nav a{display:grid;grid-template-columns:38px 1fr;align-items:center;color:#fff!important;text-decoration:none;padding:11px 12px;border-radius:9px;font-weight:700}.bap-step-nav a::first-letter{font-weight:900}.bap-step-nav a.is-active,.bap-step-nav a:hover{background:linear-gradient(90deg,#128ee2,#1ea4f4)}
.bap-rail-how{background:#fff;color:#16324d;border-radius:9px;padding:14px 12px;margin-top:16px}.bap-rail-how h3{margin:0 0 12px;color:#0c568a;font-size:1.05rem}.bap-rail-how ol{list-style:none;padding:0;margin:0;display:grid;gap:12px;counter-reset:steps}.bap-rail-how li{display:grid;grid-template-columns:30px 1fr;column-gap:8px;counter-increment:steps}.bap-rail-how li::before{content:counter(steps);display:grid;place-items:center;width:28px;height:28px;border-radius:999px;background:#0c5b94;color:#fff;font-weight:900}.bap-rail-how li strong,.bap-rail-how li span{grid-column:2}.bap-rail-how li span{color:#566f86;font-size:.85rem}.bap-rail-how p{margin:14px 0 0;padding:12px;background:#e9f5ff;border-radius:8px;color:#355a78}
.bap-editor-toolbar{display:none!important}
.bap-editor-contents{display:contents!important}
#bap-property{grid-area:property}.bap-photos-panel{grid-area:photos}#bap-options-upgrades{grid-area:upgrades}.bap-source-details{grid-area:source}#bap-final-details{grid-area:final}
#bap-post-content,#bap-preview-style,.bap-live-preview{grid-column:3;min-width:0}.bap-post-panel{grid-column:3!important;grid-row:2!important;align-self:start}.bap-hashtags-panel{grid-column:3!important;grid-row:3!important;align-self:start}.bap-editor-preview{grid-column:3!important;grid-row:4/20!important;align-self:start}
.bap-editor-panel,.bap-preview-card,.bap-live-preview{border:1px solid #b8cddd!important;border-radius:8px!important;background:#fff!important;color:#13263d!important;box-shadow:0 2px 8px rgba(36,72,102,.08);padding:0!important;overflow:hidden}
.bap-editor-panel>legend{width:100%;box-sizing:border-box;background:linear-gradient(90deg,#0c639c,#14547d);color:#fff!important;font-size:1.15rem!important;font-weight:800;padding:10px 14px!important;margin:0!important;border:0!important}.bap-editor-panel>legend::after{content:""}
.bap-editor-panel>.bap-helper,.bap-editor-panel>.bap-fields,.bap-editor-panel>.bap-photo-tools,.bap-editor-panel>.bap-photo-list,.bap-editor-panel>.bap-image-options,.bap-editor-panel>.bap-upgrades,.bap-editor-panel>.bap-hashtag-area{margin-left:14px!important;margin-right:14px!important}.bap-editor-panel>.bap-helper{margin-top:10px!important;color:#597083!important}.bap-editor-panel>.bap-fields{margin-top:10px!important;margin-bottom:14px!important}
#bap-property{position:relative}#bap-property legend::after{content:"Required fields";float:right;font-weight:500;font-size:.75rem;opacity:.9;margin-top:3px}
.bap-fields{gap:11px!important}.bap-fields label{color:#13263d!important;font-weight:750!important}.bap-fields input,.bap-fields select,.bap-fields textarea{background:#fff!important;color:#1a2c40!important;border:1px solid #b6cadb!important;border-radius:6px!important;min-height:38px!important}.bap-fields textarea{min-height:76px!important}.bap-field-help,.bap-optional{color:#758a9b!important;font-size:.75rem!important}
.bap-photos-panel .bap-format-grid{display:grid!important;grid-template-columns:repeat(3,1fr) minmax(240px,1.4fr)!important;gap:10px!important}.bap-format-choice{border:1px solid #c4d5e4!important;background:#fff!important;color:#16324d!important;border-radius:7px!important}.bap-format-choice.is-selected,.bap-format-choice:has(input:checked){border-color:#168ee1!important;background:#edf8ff!important;box-shadow:0 0 0 1px #168ee1 inset}.bap-format-helper{background:#e9f4fc!important;color:#526d83!important;border-radius:7px;padding:12px!important}
.bap-photo-card img,.bap-primary-preview img,.bap-live-image img{object-fit:contain!important;background:#eef4f8!important}.bap-photo-card img{aspect-ratio:16/10}.bap-primary-preview{background:#eef4f8!important}.bap-primary-preview img{width:100%!important;height:180px!important}
.bap-upgrade-grid{display:grid!important;grid-template-columns:1.1fr 1fr 1fr .95fr!important;gap:0!important;border-top:1px solid #cbd9e5!important}.bap-upgrade-card{border:0!important;border-right:1px solid #d8e3ec!important;border-radius:0!important;background:#fff!important;color:#16324d!important;min-height:150px}.bap-upgrade-card:last-child{border-right:0!important}.bap-popular-upgrade{background:#fbf4ff!important;border:1px solid #c99bff!important;border-radius:10px!important;margin:7px!important}.bap-popular-badge{color:#7f32c9!important}.bap-inline-help-link{float:right;color:#dff2ff!important;font-size:.75rem!important;text-decoration:underline!important}
.bap-post-panel{margin-bottom:12px!important}.bap-post-panel .bap-fields{grid-template-columns:1fr!important}.bap-post-panel textarea{min-height:94px!important}.bap-hashtags-wrap{border-top:1px solid #d4e1eb;padding:12px 14px;background:#f7fbff}.bap-hashtags-wrap summary{font-weight:850;color:#15324b;cursor:pointer}
#bap-preview-style{margin-top:0!important}.bap-panel-title{background:linear-gradient(90deg,#0c639c,#14547d);color:#fff!important;padding:10px 14px;font-size:1.1rem;font-weight:850}.bap-live-style{display:grid!important;grid-template-columns:1fr 1fr;gap:10px;padding:12px!important}.bap-live-style span{border:1px solid #c2d3e1;border-radius:7px;padding:13px;background:#fff;color:#17344f}.bap-live-style span:first-child{border-color:#168ee1;background:#edf8ff}
.bap-live-preview{padding:0!important}.bap-live-preview h3{margin:0!important;background:linear-gradient(90deg,#0c639c,#14547d);color:#fff!important;padding:10px 14px;font-size:1.1rem}.bap-live-preview .bap-live-card{margin:12px!important;border:1px solid #c8d7e3!important;border-radius:7px!important;background:#fff!important;color:#182d43!important}.bap-live-preview .bap-live-image{height:270px!important;background:#eef4f8!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important}
.bap-source-details{border:1px solid #c4d6e4;border-radius:8px;background:#fff;overflow:hidden}.bap-source-details>summary{cursor:pointer;background:#edf5fb;padding:12px 14px;font-weight:850;color:#15324b}.bap-source-helper{padding:0 14px;color:#62798d}.bap-source-details .bap-editor-panel{border:0!important;border-top:1px solid #d4e1eb!important;border-radius:0!important;box-shadow:none!important}.bap-source-details .bap-editor-panel>legend{background:#f5f9fc!important;color:#15324b!important;border-bottom:1px solid #d4e1eb!important}
/* Full-size guide */
.bap-image-guide-modal{width:calc(100vw - 20px)!important;max-width:none!important;height:calc(100vh - 20px)!important;max-height:none!important;margin:10px!important}.bap-image-guide-modal .bap-modal-card{height:100%!important;box-sizing:border-box!important;overflow:auto!important;border-radius:12px!important;padding:28px 34px!important}.bap-image-guide-modal .bap-guide-grid{grid-template-columns:minmax(280px,.7fr) minmax(520px,1.3fr)!important;align-items:start}.bap-image-guide-modal .bap-guide-grid img{max-height:65vh!important;object-fit:contain!important}
@media(max-width:1200px){body.bap-editor-active #bap-form{grid-template-columns:220px minmax(520px,1fr) 360px}.bap-editor-brand strong{font-size:1.25rem}}
@media(max-width:980px){body.bap-editor-active #bap-form{grid-template-columns:190px 1fr;grid-template-areas:"rail property" "rail photos" "rail upgrades" "rail source" "rail final"}.bap-post-panel,#bap-preview-style,.bap-live-preview{grid-column:2!important}.bap-editor-rail{position:sticky}.bap-upgrade-grid{grid-template-columns:1fr 1fr!important}.bap-image-guide-modal .bap-guide-grid{grid-template-columns:1fr!important}}
@media(max-width:720px){body.bap-editor-active #bap-form{display:block!important;padding:0!important}.bap-editor-rail{position:relative;min-height:auto;border-radius:0}.bap-rail-how{display:none}.bap-step-nav{grid-template-columns:repeat(3,1fr)}.bap-step-nav a{grid-template-columns:1fr;text-align:center;font-size:.82rem}.bap-step-nav a span{display:block}.bap-editor-panel,.bap-preview-card,.bap-live-preview,.bap-source-details{margin:10px}.bap-photos-panel .bap-format-grid{grid-template-columns:1fr!important}.bap-upgrade-grid{grid-template-columns:1fr!important}.bap-image-guide-modal{width:100vw!important;height:100vh!important;margin:0!important}.bap-image-guide-modal .bap-modal-card{border-radius:0!important;padding:22px 16px!important}}

/* Build-A-Post v8.5.322 editor-first identity bar */
body.bap-editor-active #bap-form{grid-template-areas:"rail toolbar toolbar" "rail property right" "rail photos right" "rail upgrades right" "rail source right" "rail final right";padding-top:10px}
.bap-editor-toolbar.bap-identity-toolbar{grid-area:toolbar!important;display:flex!important;align-items:center;justify-content:space-between;gap:18px;background:#fff!important;border:1px solid #b8cddd;border-radius:8px;padding:10px 14px!important;box-shadow:0 2px 8px rgba(36,72,102,.08)}
.bap-toolbar-copy{display:grid;gap:2px;color:#16324d}.bap-toolbar-copy span{font-size:.78rem;color:#687f92}.bap-toolbar-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.bap-user-id{padding:9px 12px;background:#eaf5fc;border:1px solid #b8d9ee;border-radius:7px;font-weight:850;color:#0b5e93;white-space:nowrap}
.bap-auth-modal{width:min(560px,calc(100vw - 30px));border:0;border-radius:14px;padding:0;box-shadow:0 20px 70px rgba(0,0,0,.35)}.bap-auth-modal::backdrop{background:rgba(4,18,31,.72)}.bap-auth-card{position:relative;padding:26px;background:#fff;color:#16324d}.bap-auth-card h2{margin:.2rem 0 .6rem}.bap-auth-card label{display:grid;gap:5px;font-weight:800;margin:12px 0}.bap-auth-card input{min-height:42px;border:1px solid #b6cadb;border-radius:7px;padding:8px 10px;font:inherit}.bap-user-id-success{margin-top:16px;padding:16px;background:#eaf8ef;border:1px solid #9bd5ad;border-radius:9px}.bap-user-id-success output{display:block;font-size:2rem;font-weight:900;letter-spacing:.12em;color:#146b36;margin:6px 0}.bap-modal-close{position:absolute;right:12px;top:10px;border:0;background:#eef5fa;border-radius:999px;width:36px;height:36px;font-size:1.5rem;cursor:pointer}
@media(max-width:980px){body.bap-editor-active #bap-form{grid-template-areas:"rail toolbar" "rail property" "rail photos" "rail upgrades" "rail source" "rail final"}.bap-editor-toolbar.bap-identity-toolbar{grid-column:2!important}}
@media(max-width:720px){.bap-editor-toolbar.bap-identity-toolbar{margin:10px;display:grid!important}.bap-toolbar-actions{justify-content:flex-start}.bap-user-id{width:100%;box-sizing:border-box}.bap-toolbar-actions .btn{flex:1}}

/* v8.5.325 — keep sticky Build-A-Post editor elements below the 92px standard site header. */
@media(min-width:721px){
  body.bap-editor-active .bap-editor-rail{top:102px!important;min-height:calc(100vh - 112px)!important}
  body.bap-editor-active .bap-editor-preview{top:102px!important}
}

/* v8.5.326: keep standard header brand legible over Build-A-Post editor */
body.bap-editor-active .site-header .brand-word{color:#f4f8fc}

/* v8.5.327 — Build-A-Post header must always show both account actions. */
@media (min-width:1500px){
  body.bap-editor-active .site-header .header-inner{
    grid-template-columns:minmax(220px,250px) minmax(0,1fr) minmax(180px,max-content)!important;
  }
  body.bap-editor-active .site-header .header-account-actions{
    min-width:180px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:16px!important;
  }
}

.bap-save-account-modal{width:min(560px,calc(100% - 28px));border:0;padding:0;background:transparent;color:#10253e}.bap-save-account-modal::backdrop{background:rgba(0,0,0,.68);backdrop-filter:blur(2px)}.bap-save-account-card{position:relative;border:1px solid #b9ccdd;border-radius:18px;background:#fff;padding:28px;box-shadow:0 24px 70px rgba(0,0,0,.35)}.bap-save-account-card h2{margin:0 48px 10px 0;font-size:1.65rem}.bap-save-account-card p{margin:0;color:#53697c;line-height:1.55}.bap-save-account-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}


/* v8.5.334 — narrow center-column whitespace fix only.
   Center panels stack independently; right column remains unchanged. */
body.bap-editor-active .bap-center-column{
  grid-column:2;
  grid-row:2/20;
  display:grid;
  gap:14px;
  align-self:start;
  min-width:0;
}
body.bap-editor-active .bap-center-column > #bap-property,
body.bap-editor-active .bap-center-column > .bap-photos-panel,
body.bap-editor-active .bap-center-column > fieldset,
body.bap-editor-active .bap-center-column > .bap-source-details{
  grid-column:auto!important;
  grid-row:auto!important;
  grid-area:auto!important;
  margin:0!important;
}
@media(max-width:980px){
  body.bap-editor-active .bap-center-column{grid-column:2;grid-row:auto;display:grid;gap:14px}
}
@media(max-width:720px){
  body.bap-editor-active .bap-center-column{display:block}
  body.bap-editor-active .bap-center-column > *{margin:10px!important}
}


/* v8.5.335 — make image examples link more prominent only. */
body.bap-editor-active .bap-inline-help-link{font-size:.95rem!important;font-weight:900!important;color:#ffffff!important;text-decoration-thickness:2px!important;text-underline-offset:3px!important;padding:2px 4px!important}


/* v8.5.336 — approved narrow UI refinements */
body.bap-editor-active .bap-source-details-expanded{overflow:visible!important}
body.bap-editor-active .bap-source-details-title{background:#edf5fb;padding:12px 14px;font-weight:850;color:#15324b;border-bottom:1px solid #d4e1eb}


/* v8.5.337 — match the three preview cards to Final post details exactly. */
body.bap-editor-active .bap-editor-preview{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
body.bap-editor-active .bap-editor-preview > .bap-preview-card{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:var(--bap-final-card-height)!important;
  min-height:var(--bap-final-card-height)!important;
  max-height:var(--bap-final-card-height)!important;
  box-sizing:border-box!important;
  overflow:auto!important;
  flex:0 0 var(--bap-final-card-height)!important;
}


/* Build-A-Post v8.5.341 image-guide layout only */
.bap-image-guide-modal .bap-guide-left{display:grid;gap:18px;align-content:start}
.bap-image-guide-modal .bap-guide-left>section{margin:0}
.bap-image-guide-modal .bap-enhancement-benefits{background:linear-gradient(180deg,#e9faee,#e1f7e8)!important;border-color:#b9e6c8!important;color:#145b31!important}
.bap-image-guide-modal .bap-enhancement-benefits h3{color:#145b31!important;margin-bottom:10px}
.bap-image-guide-modal .bap-enhancement-benefits ul{margin:0;padding:0;list-style:none;display:grid;gap:9px}
.bap-image-guide-modal .bap-enhancement-benefits li{position:relative;padding-left:26px;color:#285c3d!important;line-height:1.35}
.bap-image-guide-modal .bap-enhancement-benefits li::before{content:'✓';position:absolute;left:0;top:-1px;color:#138a45;font-weight:950;font-size:1.15em}
.bap-image-guide-modal .bap-guide-examples{display:flex;flex-direction:column;align-items:stretch}
.bap-image-guide-modal .bap-guide-examples>img{display:block;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;aspect-ratio:auto!important}
.bap-image-guide-modal .bap-guide-pricing{margin-top:16px!important}
@media(max-width:980px){.bap-image-guide-modal .bap-guide-left{gap:12px}}

/* Build-A-Post v8.5.343 image-guide proportional desktop columns only */
@media(min-width:981px){
  .bap-image-guide-modal .bap-guide-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:24px!important;
    align-items:start!important;
  }
  .bap-image-guide-modal .bap-guide-left,
  .bap-image-guide-modal .bap-guide-examples{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
  }
  .bap-image-guide-modal .bap-guide-left{
    gap:18px!important;
  }
  .bap-image-guide-modal .bap-guide-examples>img{
    width:100%!important;
    height:auto!important;
    max-width:100%!important;
    object-fit:contain!important;
  }
}

/* Build-A-Post v8.5.344 — desktop modal canvas scales/reflows as one composition. */
@media (min-width:1600px){
  .bap-image-guide-modal .bap-guide-grid{
    width:1544px!important;
    max-width:none!important;
    grid-template-columns:720px 800px!important;
    gap:24px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    align-items:start!important;
  }
}
@media (min-width:1181px) and (max-width:1599px){
  .bap-image-guide-modal .bap-guide-grid{
    width:1240px!important;
    max-width:none!important;
    grid-template-columns:576px 640px!important;
    gap:24px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    align-items:start!important;
  }
}
@media (min-width:981px) and (max-width:1180px){
  .bap-image-guide-modal .bap-guide-grid{
    grid-template-columns:1fr!important;
    width:auto!important;
    max-width:100%!important;
    gap:18px!important;
  }
}

/* Build-A-Post v8.5.347 — equal-height modal columns with balanced left cards. */
@media (min-width:1181px){
  .bap-image-guide-modal .bap-guide-grid{
    align-items:stretch!important;
  }
  .bap-image-guide-modal .bap-guide-left{
    display:grid!important;
    grid-template-rows:1fr 1fr!important;
    align-content:stretch!important;
    height:100%!important;
  }
  .bap-image-guide-modal .bap-guide-left > *{
    height:100%!important;
    box-sizing:border-box!important;
  }
}


/* Build-A-Post v8.5.349 — enlarge format examples while preserving locked modal geometry. */
.bap-image-guide-modal .bap-format-examples{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  align-items:end;
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid #d9e4ee;
}
.bap-image-guide-modal .bap-format-example{
  display:grid;
  justify-items:center;
  gap:4px;
  text-align:center;
  color:#24435f;
  font-size:.76rem;
}
.bap-image-guide-modal .bap-format-example span{
  color:#60768a!important;
  font-size:.72rem;
}
.bap-image-guide-modal .bap-format-shape{
  border:2px solid #2e9fe8;
  background:linear-gradient(180deg,#eaf7ff,#d9eefc);
  border-radius:6px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.7);
}
.bap-image-guide-modal .bap-format-shape-portrait{width:72px;aspect-ratio:4/5}
.bap-image-guide-modal .bap-format-shape-landscape{width:112px;aspect-ratio:16/9}
.bap-image-guide-modal .bap-format-shape-square{width:82px;aspect-ratio:1/1}
@media (min-width:1181px){
  .bap-image-guide-modal .bap-guide-left{
    grid-template-rows:1.45fr .55fr!important;
  }
}
@media (max-width:720px){
  .bap-image-guide-modal .bap-format-examples{gap:10px}
  .bap-image-guide-modal .bap-format-shape-portrait{width:40px}
  .bap-image-guide-modal .bap-format-shape-landscape{width:64px}
  .bap-image-guide-modal .bap-format-shape-square{width:48px}
}


/* Build-A-Post v8.5.351 — image workflow guidance and modal info card only. */
.bap-image-processing-note{
  margin-top:10px!important;
  padding:10px 12px!important;
  border:1px solid #cfe0ed!important;
  border-radius:8px!important;
  background:#f6fbff!important;
}
.bap-image-guide-modal .bap-guide-info-card{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  padding:16px 18px!important;
  background:#f7fbff!important;
  border:1px solid #c7d8e8!important;
  border-radius:14px!important;
  color:#53697c!important;
}
.bap-image-guide-modal .bap-guide-info-card p{margin:0;line-height:1.45}
.bap-image-guide-modal .bap-guide-info-card strong{color:#173b59}
.bap-image-guide-modal .bap-guide-info-title{
  display:block;
  margin-bottom:5px;
  color:#173b59;
  font-size:1.08em;
  font-weight:800;
  line-height:1.25;
}
.bap-image-guide-modal .bap-guide-info-copy{display:block}
.bap-image-guide-modal .bap-format-example span{white-space:nowrap}
@media(max-width:980px){
  .bap-image-guide-modal .bap-guide-info-card{grid-template-columns:1fr}
}


/* Build-A-Post v8.5.352 — QA preview population, CTA preview, and modal close control. */
.bap-live-style > span{background:#fff!important;border-color:#c2d3e1!important}
.bap-live-style > span.is-selected{border-color:#168ee1!important;background:#edf8ff!important;box-shadow:inset 0 0 0 1px rgba(22,142,225,.12)}
.bap-live-cta{margin-top:8px;display:inline-block;justify-self:start;padding:7px 10px;border-radius:6px;background:#0c6da8;color:#fff!important;font-size:.78rem!important;font-weight:850}
.bap-facebook-mock.is-descriptive .bap-fb-image{aspect-ratio:2/1;max-height:135px}
.bap-facebook-mock.is-descriptive .bap-fb-copy{font-size:.94rem;padding-bottom:12px}
.bap-image-guide-modal .bap-modal-close{width:50px!important;height:50px!important;top:12px!important;right:14px!important;border:2px solid #91adc2!important;background:#eaf3f9!important;color:#082f4c!important;font-size:2rem!important;font-weight:900!important;line-height:1!important;display:grid!important;place-items:center!important;box-shadow:0 2px 8px rgba(15,52,78,.12)!important}
.bap-image-guide-modal .bap-modal-close:hover,.bap-image-guide-modal .bap-modal-close:focus-visible{background:#dcebf5!important;border-color:#315f7e!important;outline:3px solid rgba(22,142,225,.24)!important;outline-offset:2px}

/* v8.5.353: Preview Style interaction + Step 5/6 navigation targets */
.bap-live-style button{appearance:none;font:inherit;cursor:pointer;border:1px solid #c2d3e1;border-radius:7px;padding:8px;background:#fff;color:#17344f;text-align:left;display:grid;grid-template-columns:54px 1fr;align-items:center;gap:8px;min-width:0}
.bap-live-style button.is-selected{border-color:#168ee1;background:#edf8ff;box-shadow:inset 0 0 0 1px rgba(22,142,225,.12)}
.bap-live-style button strong{font-size:.82rem;line-height:1.15}
.bap-style-thumb{width:52px;height:42px;border:1px solid #aebfcd;border-radius:3px;overflow:hidden;background:#f7f9fb;display:grid}
.bap-style-thumb i{display:block;background:linear-gradient(135deg,#9cc3df,#376f99)}
.bap-style-thumb em{display:block;background:repeating-linear-gradient(180deg,#d5dde4 0 2px,transparent 2px 5px)}
.bap-style-thumb-full{grid-template-rows:30px 1fr}.bap-style-thumb-full em{margin:3px 5px}
.bap-style-thumb-descriptive{grid-template-columns:23px 1fr;padding:4px;gap:4px}.bap-style-thumb-descriptive i{height:32px}.bap-style-thumb-descriptive em{height:25px;margin-top:3px}
#bap-options-upgrades,#bap-final-details,#bap-preview-style{scroll-margin-top:110px}


/* v8.5.354 — right-panel cleanup: natural-height cards, tighter spacing, single Preview Style control. */
body.bap-editor-active .bap-editor-preview{
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
body.bap-editor-active .bap-editor-preview > .bap-preview-card{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
  flex:0 0 auto!important;
  margin:0!important;
}
body.bap-editor-active .bap-preview-post-content .bap-preview-fields{padding:10px 12px!important;gap:8px!important}
body.bap-editor-active .bap-preview-fields label{gap:3px!important}
body.bap-editor-active .bap-preview-fields label span{padding:7px 8px!important;line-height:1.3!important;white-space:normal!important;overflow:visible!important;max-height:none!important}
body.bap-editor-active .bap-live-style{grid-template-columns:1fr 1fr!important;gap:10px!important;padding:10px 12px!important}
body.bap-editor-active .bap-live-style button{
  grid-template-columns:16px 64px minmax(0,1fr)!important;
  gap:8px!important;
  align-items:center!important;
  padding:8px!important;
  min-height:74px!important;
}
body.bap-editor-active .bap-style-radio{width:14px;height:14px;border:1.5px solid #8ea8bb;border-radius:50%;background:#fff;display:block;box-sizing:border-box}
body.bap-editor-active .bap-live-style button.is-selected .bap-style-radio{border:4px solid #168ee1}
body.bap-editor-active .bap-style-thumb{width:62px!important;height:52px!important;background-color:#edf3f7!important;background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important}
body.bap-editor-active .bap-style-thumb i{background:transparent!important}
body.bap-editor-active .bap-style-copy{display:grid;gap:3px;min-width:0}
body.bap-editor-active .bap-style-copy strong{font-size:.82rem!important;line-height:1.15!important}
body.bap-editor-active .bap-style-copy small{font-size:.68rem;line-height:1.25;color:#607589;font-weight:600}
body.bap-editor-active .bap-facebook-mock{overflow:hidden!important;margin:10px 12px 12px!important}
body.bap-editor-active .bap-fb-copy,
body.bap-editor-active .bap-fb-meta{overflow:visible!important;max-height:none!important}
@media(max-width:1280px){
  body.bap-editor-active .bap-live-style{grid-template-columns:1fr!important}
}

/* v8.5.355 — continuous right panel, restored Review & Create card, functional preview styles. */
body.bap-editor-active .bap-editor-preview{
  grid-column:3!important;
  grid-row:2 / 30!important;
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
  align-self:start!important;
  position:sticky!important;
  top:102px!important;
}
body.bap-editor-active .bap-editor-preview > .bap-editor-panel,
body.bap-editor-active .bap-editor-preview > .bap-preview-card{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  overflow:visible!important;
  flex:0 0 auto!important;
}
body.bap-editor-active .bap-editor-preview > .bap-editor-panel{
  padding:12px!important;
}
body.bap-editor-active .bap-editor-preview > .bap-editor-panel legend{
  width:calc(100% + 24px)!important;
  margin:-12px -12px 10px!important;
  padding:9px 12px!important;
}
body.bap-editor-active .bap-editor-preview .bap-helper{margin:0 0 9px!important;line-height:1.35!important}
body.bap-editor-active .bap-editor-preview .bap-fields{gap:8px!important}
body.bap-editor-active .bap-editor-preview .bap-editor-panel textarea{min-height:58px!important}
body.bap-editor-active .bap-editor-preview .bap-live-style{padding:8px 10px!important;gap:8px!important}
body.bap-editor-active .bap-editor-preview .bap-facebook-mock{margin:8px 10px 10px!important}
body.bap-editor-active .bap-save-create-card{overflow:hidden!important}
body.bap-editor-active .bap-save-create-body{padding:10px 12px 12px;display:grid;gap:8px}
body.bap-editor-active .bap-save-create-body .bap-message{min-height:0!important;margin:0!important;color:#29475f!important}
body.bap-editor-active .bap-save-create-body .btn{justify-self:start}
body.bap-editor-active .bap-save-create-body p{margin:0!important;color:#607589!important;font-size:.78rem!important;line-height:1.35!important}

/* Full Image Card: large image remains the dominant preview. */
body.bap-editor-active .bap-facebook-mock:not(.is-descriptive) .bap-fb-image{
  aspect-ratio:16/9!important;
  width:100%!important;
  max-height:none!important;
}
/* Descriptive Card: visibly different side-by-side card with a smaller image. */
body.bap-editor-active .bap-facebook-mock.is-descriptive{
  display:grid!important;
  grid-template-columns:42% 58%!important;
}
body.bap-editor-active .bap-facebook-mock.is-descriptive .bap-fb-user,
body.bap-editor-active .bap-facebook-mock.is-descriptive .bap-fb-copy{
  grid-column:1 / -1!important;
}
body.bap-editor-active .bap-facebook-mock.is-descriptive .bap-fb-image{
  grid-column:1!important;
  aspect-ratio:1/1!important;
  height:100%!important;
  min-height:118px!important;
  max-height:none!important;
}
body.bap-editor-active .bap-facebook-mock.is-descriptive .bap-fb-meta{
  grid-column:2!important;
  align-content:center!important;
  padding:10px!important;
}
body.bap-editor-active .bap-live-style button[aria-pressed="true"]{
  border-color:#168ee1!important;
  background:#edf8ff!important;
  box-shadow:inset 0 0 0 1px rgba(22,142,225,.15)!important;
}
@media(max-width:980px){
  body.bap-editor-active .bap-editor-preview{position:static!important;grid-column:2!important;grid-row:auto!important;top:auto!important}
}


/* v8.5.356 — Review & Create actions: horizontal row at bottom of center column only. */
body.bap-editor-active .bap-center-column > .bap-save-create-card{width:100%!important;max-width:100%!important;margin:0!important;grid-column:auto!important;grid-row:auto!important;align-self:start!important}
body.bap-editor-active .bap-review-actions{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}
body.bap-editor-active .bap-review-actions .btn{justify-self:auto!important;white-space:nowrap}
@media(max-width:720px){body.bap-editor-active .bap-review-actions{align-items:stretch!important}body.bap-editor-active .bap-review-actions .btn{flex:1 1 46%!important}}
/* v8.5.364 - move image guide button into descriptive strip; preserve header and button styling */
body.bap-editor-active #bap-options-upgrades>legend{
  text-align:center!important;
}
body.bap-editor-active #bap-options-upgrades>.bap-options-intro{
  min-height:78px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  padding:10px 12px!important;
  box-sizing:border-box!important;
}
body.bap-editor-active #bap-options-upgrades>.bap-options-intro>.bap-helper{
  flex:1 1 auto!important;
  margin:0!important;
}
body.bap-editor-active #bap-image-guide-open{
  flex:0 0 calc(23.45679% - 14px)!important;
  width:calc(23.45679% - 14px)!important;
  box-sizing:border-box!important;
  margin:0 7px 0 0!important;
  padding:9px 14px!important;
  border:0!important;
  border-radius:10px!important;
  background:linear-gradient(135deg,#8bd9ff 0%,#2da8ff 48%,#1586ed 100%)!important;
  color:#04101b!important;
  font-size:1.15rem!important;
  font-weight:950!important;
  line-height:1.15!important;
  text-decoration:none!important;
  box-shadow:0 14px 36px rgba(45,168,255,.22)!important;
}
body.bap-editor-active #bap-image-guide-open:hover,
body.bap-editor-active #bap-image-guide-open:focus-visible{
  background:linear-gradient(135deg,#d8f4ff 0%,#74d2ff 46%,#2da8ff 100%)!important;
  color:#04101b!important;
  outline:none!important;
}
@media(max-width:980px){
  body.bap-editor-active #bap-options-upgrades>.bap-options-intro{align-items:stretch!important;flex-direction:column!important;}
  body.bap-editor-active #bap-image-guide-open{width:100%!important;flex-basis:auto!important;}
}

/* v8.5.366 — Preview Style structural repair only. */
body.bap-editor-active #bap-preview-style .bap-live-style{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
  padding:8px 10px 10px!important;
}
body.bap-editor-active #bap-preview-style .bap-live-style > button{
  display:grid!important;
  grid-template-columns:16px 58px minmax(0,1fr)!important;
  align-items:center!important;
  gap:7px!important;
  width:100%!important;
  min-width:0!important;
  min-height:76px!important;
  margin:0!important;
  padding:8px!important;
  border:1px solid #c2d3e1!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#17344f!important;
  text-align:left!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
body.bap-editor-active #bap-preview-style .bap-live-style > button.is-selected,
body.bap-editor-active #bap-preview-style .bap-live-style > button[aria-pressed="true"]{
  border-color:#168ee1!important;
  background:#edf8ff!important;
  box-shadow:inset 0 0 0 1px rgba(22,142,225,.15)!important;
}
/* Neutralize legacy broad .bap-live-style span rules that were breaking nested controls. */
body.bap-editor-active #bap-preview-style .bap-live-style > button > span{
  border:0!important;
  border-radius:0!important;
  padding:0!important;
  margin:0!important;
  background-color:transparent!important;
  color:inherit!important;
  text-align:left!important;
  box-shadow:none!important;
  min-width:0!important;
}
body.bap-editor-active #bap-preview-style .bap-style-radio{
  width:14px!important;
  height:14px!important;
  border:1.5px solid #8ea8bb!important;
  border-radius:50%!important;
  background:#fff!important;
  display:block!important;
  box-sizing:border-box!important;
}
body.bap-editor-active #bap-preview-style .bap-live-style > button.is-selected .bap-style-radio,
body.bap-editor-active #bap-preview-style .bap-live-style > button[aria-pressed="true"] .bap-style-radio{
  border:4px solid #168ee1!important;
}
body.bap-editor-active #bap-preview-style .bap-style-thumb{
  position:relative!important;
  display:block!important;
  width:56px!important;
  height:48px!important;
  padding:0!important;
  border:1px solid #aebfcd!important;
  border-radius:4px!important;
  overflow:hidden!important;
  background-color:#edf3f7!important;
  background-position:center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  box-sizing:border-box!important;
}
body.bap-editor-active #bap-preview-style .bap-style-thumb i,
body.bap-editor-active #bap-preview-style .bap-style-thumb em{
  display:none!important;
}
body.bap-editor-active #bap-preview-style .bap-style-thumb-full::after{
  content:"";
  position:absolute;
  left:4px;right:4px;bottom:4px;
  height:9px;
  border-radius:2px;
  background:rgba(255,255,255,.88);
  box-shadow:0 -12px 0 rgba(255,255,255,.74);
}
body.bap-editor-active #bap-preview-style .bap-style-thumb-descriptive::before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;
  width:44%;
  background:inherit;
  background-position:center!important;
  background-size:cover!important;
}
body.bap-editor-active #bap-preview-style .bap-style-thumb-descriptive::after{
  content:"";
  position:absolute;
  right:5px;top:8px;
  width:43%;height:4px;
  border-radius:2px;
  background:#b8c7d2;
  box-shadow:0 8px 0 #c8d3dc,0 16px 0 #d4dde4;
}
body.bap-editor-active #bap-preview-style .bap-style-copy{
  display:grid!important;
  gap:3px!important;
  min-width:0!important;
}
body.bap-editor-active #bap-preview-style .bap-style-copy strong{
  display:block!important;
  font-size:.82rem!important;
  line-height:1.15!important;
  color:#17344f!important;
}
body.bap-editor-active #bap-preview-style .bap-style-copy small{
  display:block!important;
  font-size:.68rem!important;
  line-height:1.25!important;
  color:#607589!important;
  font-weight:600!important;
}
@media(max-width:1280px){
  body.bap-editor-active #bap-preview-style .bap-live-style{grid-template-columns:1fr!important;}
}

/* v8.5.367 — allow generated Preview Style thumbnail images to render. */

/* v8.5.375 — Custom Post image handoff */
.bap-custom-images{display:grid;gap:14px;border-top:1px solid var(--line);padding-top:18px}.bap-custom-images-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap}.bap-custom-images-head>div{display:grid;gap:4px}.bap-custom-images-head strong{font-size:1.05rem}.bap-custom-images-head span{color:var(--muted);font-size:.92rem}.bap-custom-image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px}.bap-custom-image-item{position:relative;display:block;border:2px solid transparent;border-radius:12px;overflow:hidden;background:#08111b;cursor:grab}.bap-custom-image-item:has(input:checked){border-color:var(--blue)}.bap-custom-image-item input{position:absolute;z-index:2;top:8px;left:8px;width:20px;height:20px;accent-color:var(--blue)}.bap-custom-image-item img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover}.bap-custom-image-item span{display:block;padding:7px 9px;color:#eaf3fb;font-size:.78rem;font-weight:800}.bap-custom-image-actions{margin-top:0}.bap-custom-image-actions .btn{flex:1 1 210px;justify-content:center}@media(max-width:720px){.bap-custom-images-head .btn{width:100%}.bap-custom-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bap-custom-image-actions .btn{width:100%}}

/* v8.5.380 Create Post output layout only */
.bap-output{grid-column:1/-1!important;width:min(1480px,calc(100% - 32px));margin:0 auto;padding:28px 0 46px;gap:24px!important}
.bap-output-head{text-align:center;max-width:820px;margin:0 auto 2px}
.bap-output-head .eyebrow{margin-bottom:8px}
.bap-output-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px!important;align-items:start}
.bap-output-card{padding:24px!important}
.bap-quick,.bap-custom{min-width:0}
.bap-custom-workspace{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:20px;align-items:start}
.bap-custom-copy{display:grid;gap:14px;min-width:0}
.bap-custom-copy .bap-saved-actions{margin-top:0}
.bap-custom-images{border-top:0!important;padding-top:0!important}
.bap-custom-image-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.bap-flyer{display:grid;gap:18px;max-width:980px;width:100%;justify-self:center}
.bap-flyer-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;flex-wrap:wrap}
.bap-flyer-head h3{margin:4px 0 6px}
.bap-flyer-head p{margin:0;color:var(--muted)}
.bap-flyer-head .bap-saved-actions{margin-top:0}
.bap-flyer .bap-canvas-wrap{max-width:760px;width:100%;margin:0 auto}
.bap-output>.bap-message{text-align:center;grid-column:auto!important}
.bap-output>.bap-funnel{max-width:1180px;width:100%;margin:0 auto}
@media(max-width:1100px){.bap-custom-workspace{grid-template-columns:1fr}.bap-custom-image-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:800px){.bap-output{width:min(100% - 20px,1480px);padding-top:18px}.bap-output-grid{grid-template-columns:1fr!important}.bap-custom-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.bap-flyer-head{align-items:flex-start;flex-direction:column}.bap-flyer-head .bap-saved-actions{width:100%}.bap-flyer-head .bap-saved-actions .btn{flex:1 1 180px}}

/* v8.5.385: Build-A-Post section-header icon standardization */
.bap-header-icon{width:20px;height:20px;display:inline-block;vertical-align:-4px;margin-right:8px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.bap-editor-panel>legend,.bap-panel-title{align-items:center}

/* v8.5.386: Image Options & Upgrades mockup color treatment */
body.bap-editor-active #bap-options-upgrades{
  background:linear-gradient(180deg,#fcf9ff 0%,#f8f3fe 100%)!important;
  border-color:#dcccea!important;
}
body.bap-editor-active #bap-options-upgrades>legend{
  background:linear-gradient(90deg,#f1e7fb 0%,#efe9fb 100%)!important;
  color:#18324b!important;
  border-bottom:1px solid #dfd1ef!important;
  text-align:left!important;
}
body.bap-editor-active #bap-options-upgrades>legend .bap-header-icon{
  color:#8a3fe0!important;
  stroke:#8a3fe0!important;
}
body.bap-editor-active #bap-options-upgrades>.bap-options-intro{
  background:rgba(255,255,255,.32)!important;
  border-bottom:1px solid #e5d9f1!important;
  padding:12px 14px!important;
}
body.bap-editor-active #bap-options-upgrades>.bap-options-intro>.bap-helper{
  color:#5f7185!important;
}
body.bap-editor-active #bap-options-upgrades .bap-upgrade-grid{
  display:grid!important;
  grid-template-columns:1.15fr 1fr 1fr .92fr!important;
  gap:14px!important;
  border-top:0!important;
  padding:12px 14px 14px!important;
  background:transparent!important;
}
body.bap-editor-active #bap-options-upgrades .bap-upgrade-card{
  min-height:unset!important;
  border:1px solid #e2d8ee!important;
  border-radius:14px!important;
  border-right:1px solid #e2d8ee!important;
  background:#fff!important;
  color:#17324c!important;
  padding:16px!important;
  gap:10px!important;
  box-shadow:0 1px 3px rgba(61,81,110,.04)!important;
}
body.bap-editor-active #bap-options-upgrades .bap-upgrade-card:last-child{
  border-right:1px solid #e2d8ee!important;
}
body.bap-editor-active #bap-options-upgrades .bap-popular-upgrade{
  background:linear-gradient(180deg,#fcf6ff 0%,#f8efff 100%)!important;
  border-color:#cfaff4!important;
  box-shadow:0 10px 24px rgba(154,98,221,.08)!important;
}
body.bap-editor-active #bap-options-upgrades .bap-upgrade-card-head{
  display:grid;
  gap:2px;
}
body.bap-editor-active #bap-options-upgrades .bap-upgrade-card h3{
  margin:0!important;
  display:flex;
  align-items:center;
  gap:8px;
  color:#17324c!important;
  font-size:1.08rem!important;
  line-height:1.2;
}
body.bap-editor-active #bap-options-upgrades .bap-upgrade-subtitle,
body.bap-editor-active #bap-options-upgrades .bap-upgrade-price{
  margin:0!important;
  color:#667a8e!important;
  font-size:.93rem!important;
  font-weight:700!important;
}
body.bap-editor-active #bap-options-upgrades .bap-upgrade-price span{
  font-weight:600;
  color:#7c8d9d;
}
body.bap-editor-active #bap-options-upgrades .bap-upgrade-benefits{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:6px;
}
body.bap-editor-active #bap-options-upgrades .bap-upgrade-benefits li{
  position:relative;
  padding-left:18px;
  color:#4a647a;
  font-size:.9rem;
  font-weight:600;
  line-height:1.35;
}
body.bap-editor-active #bap-options-upgrades .bap-upgrade-benefits li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:#2ab15e;
  font-weight:900;
}
body.bap-editor-active #bap-options-upgrades .bap-upgrade-card label{
  color:#17324c!important;
  font-size:.94rem!important;
}
body.bap-editor-active #bap-options-upgrades .bap-field-help{
  color:#6c7f91!important;
}
body.bap-editor-active #bap-options-upgrades .bap-popular-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#9347df!important;
  font-size:.76rem!important;
  letter-spacing:.05em;
}
body.bap-editor-active #bap-options-upgrades .bap-upgrade-icon{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.85;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex:0 0 auto;
}
body.bap-editor-active #bap-options-upgrades .bap-upgrade-icon-purple,
body.bap-editor-active #bap-options-upgrades .bap-upgrade-icon-violet{
  color:#9347df;
}
body.bap-editor-active #bap-options-upgrades .bap-upgrade-icon-green{
  color:#2aad63;
}
body.bap-editor-active #bap-options-upgrades input[type=number]{
  margin-top:2px;
}
@media(max-width:1250px){
  body.bap-editor-active #bap-options-upgrades .bap-upgrade-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:720px){
  body.bap-editor-active #bap-options-upgrades .bap-upgrade-grid{
    grid-template-columns:1fr!important;
    padding:10px!important;
  }
  body.bap-editor-active #bap-options-upgrades .bap-upgrade-card{
    padding:14px!important;
  }
}

/* v8.5.389: stacked Facebook preview formats — 4:5, 1:1, 16:9 */
body.bap-editor-active #bap-preview-style.bap-format-previews{
  overflow:hidden!important;
}
body.bap-editor-active #bap-preview-style .bap-panel-title{
  display:flex;
  align-items:center;
}
body.bap-editor-active #bap-preview-style .bap-panel-title small{
  margin-left:5px;
  font-size:.72rem;
  opacity:.88;
}
body.bap-editor-active #bap-preview-style .bap-format-preview-stack{
  display:grid;
  gap:12px;
  padding:12px;
  background:#f7fafc;
}
body.bap-editor-active #bap-preview-style .bap-format-preview-card{
  appearance:none;
  display:grid;
  gap:6px;
  margin:0 auto;
  padding:7px;
  border:1px solid #c7d6e2;
  border-radius:9px;
  background:#fff;
  color:#17344f;
  font:inherit;
  text-align:left;
  cursor:pointer;
  box-sizing:border-box;
  box-shadow:0 1px 4px rgba(30,68,98,.06);
}
body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="portrait"]{width:62%;}
body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="square"]{width:78%;}
body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="landscape"]{width:100%;}
body.bap-editor-active #bap-preview-style .bap-format-preview-card.is-selected,
body.bap-editor-active #bap-preview-style .bap-format-preview-card[aria-pressed="true"]{
  border-color:#168ee1;
  box-shadow:0 0 0 2px rgba(22,142,225,.14),0 2px 7px rgba(30,68,98,.08);
}
body.bap-editor-active #bap-preview-style .bap-format-preview-label{
  display:flex;
  align-items:center;
  gap:7px;
  padding:1px 2px 2px;
}
body.bap-editor-active #bap-preview-style .bap-format-preview-label strong{
  font-size:.78rem;
  line-height:1.15;
  color:#17344f;
}
body.bap-editor-active #bap-preview-style .bap-style-radio{
  width:13px!important;
  height:13px!important;
  flex:0 0 13px;
  border:1.5px solid #8ea8bb!important;
  border-radius:50%!important;
  background:#fff!important;
  box-sizing:border-box!important;
}
body.bap-editor-active #bap-preview-style .bap-format-preview-card.is-selected .bap-style-radio,
body.bap-editor-active #bap-preview-style .bap-format-preview-card[aria-pressed="true"] .bap-style-radio{
  border:4px solid #168ee1!important;
}
body.bap-editor-active #bap-preview-style .bap-format-facebook{
  display:block;
  width:100%;
  overflow:hidden;
  border:1px solid #d0d9e1;
  border-radius:6px;
  background:#fff;
  box-sizing:border-box;
}
body.bap-editor-active #bap-preview-style .bap-format-fb-user{
  display:grid;
  padding:6px 7px 3px;
  line-height:1.12;
}
body.bap-editor-active #bap-preview-style .bap-format-fb-user strong{
  font-size:.65rem;
  color:#172c40;
}
body.bap-editor-active #bap-preview-style .bap-format-fb-user small{
  margin-top:1px;
  font-size:.52rem;
  color:#758391;
}
body.bap-editor-active #bap-preview-style .bap-format-fb-copy{
  display:block;
  padding:2px 7px 6px;
  font-size:.58rem;
  line-height:1.15;
  color:#25384b;
}
body.bap-editor-active #bap-preview-style .bap-format-preview-image{
  display:grid;
  place-items:center;
  width:100%;
  background:#e8eef3 center/cover no-repeat;
  color:#62788b;
  font-size:.58rem;
  font-weight:700;
  box-sizing:border-box;
}
body.bap-editor-active #bap-preview-style .bap-format-image-portrait{aspect-ratio:4/5;}
body.bap-editor-active #bap-preview-style .bap-format-image-square{aspect-ratio:1/1;}
body.bap-editor-active #bap-preview-style .bap-format-image-landscape{aspect-ratio:16/9;}
body.bap-editor-active #bap-preview-style .bap-format-fb-meta{
  display:grid;
  gap:2px;
  padding:6px 7px 7px;
  background:#f3f6f8;
  border-top:1px solid #e1e7ec;
}
body.bap-editor-active #bap-preview-style .bap-format-fb-meta small{
  font-size:.48rem;
  line-height:1.1;
  font-weight:600;
  color:#7d8993;
  letter-spacing:.01em;
}
body.bap-editor-active #bap-preview-style .bap-format-fb-meta strong{
  font-size:.59rem;
  line-height:1.18;
  color:#1c2f42;
}
@media(max-width:1280px){
  body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="portrait"]{width:68%;}
  body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="square"]{width:84%;}
}
@media(max-width:980px){
  body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="portrait"]{width:52%;max-width:310px;}
  body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="square"]{width:68%;max-width:390px;}
  body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="landscape"]{width:88%;max-width:520px;}
}
@media(max-width:560px){
  body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="portrait"]{width:68%;}
  body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="square"]{width:84%;}
  body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="landscape"]{width:100%;}
}


/* v8.5.390: Fit full main exterior image in Portrait 4:5 and Square 1:1 preview samples */
body.bap-editor-active #bap-preview-style .bap-format-image-portrait,
body.bap-editor-active #bap-preview-style .bap-format-image-square{
  background-size:contain!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-color:#eef3f7!important;
}
body.bap-editor-active #bap-preview-style .bap-format-image-landscape{
  background-size:cover!important;
  background-position:center!important;
}

/* v8.5.391: Facebook-tested preview formats — fill/crop with no padding; add 9:16 */
body.bap-editor-active .bap-radio-cards-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="vertical"]{width:48%;}
body.bap-editor-active #bap-preview-style .bap-format-image-vertical{aspect-ratio:9/16;}
body.bap-editor-active #bap-preview-style .bap-format-image-vertical,
body.bap-editor-active #bap-preview-style .bap-format-image-portrait,
body.bap-editor-active #bap-preview-style .bap-format-image-square,
body.bap-editor-active #bap-preview-style .bap-format-image-landscape{
  background-size:cover!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-color:#e8eef3!important;
}
@media(max-width:1280px){
  body.bap-editor-active .bap-radio-cards-4{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="vertical"]{width:52%;}
}
@media(max-width:980px){
  body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="vertical"]{width:42%;max-width:250px;}
}
@media(max-width:720px){body.bap-editor-active .bap-radio-cards-4{grid-template-columns:1fr!important}}
@media(max-width:560px){body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="vertical"]{width:56%;}}

/* v8.5.392: Preview samples show the full image width proportionally; no crop/cover. */
body.bap-editor-active #bap-preview-style .bap-format-image-vertical,
body.bap-editor-active #bap-preview-style .bap-format-image-portrait,
body.bap-editor-active #bap-preview-style .bap-format-image-square,
body.bap-editor-active #bap-preview-style .bap-format-image-landscape{
  background-size:100% auto!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
}
/* Keep the 9:16 card in the same normal preview-width system; remove the special squeeze. */
body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="vertical"]{
  width:60%!important;
  max-width:none!important;
}
@media(max-width:1280px){
  body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="vertical"]{width:60%!important;}
}
@media(max-width:980px){
  body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="vertical"]{width:52%!important;max-width:310px!important;}
}
@media(max-width:560px){
  body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="vertical"]{width:68%!important;max-width:none!important;}
}

/* v8.5.394: Preview Style uses the actual tested Facebook example assets. */
body.bap-editor-active #bap-preview-style .bap-format-example-image{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  object-fit:contain!important;
  background:none!important;
}
body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="vertical"]{
  width:60%!important;
  max-width:none!important;
}
body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="portrait"]{width:68%!important;}
body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="square"]{width:84%!important;}
body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="landscape"]{width:100%!important;}
@media(max-width:980px){
  body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="vertical"]{width:52%!important;max-width:310px!important;}
  body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="portrait"]{width:60%!important;max-width:350px!important;}
  body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="square"]{width:72%!important;max-width:420px!important;}
  body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="landscape"]{width:90%!important;max-width:540px!important;}
}
@media(max-width:560px){
  body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="vertical"]{width:64%!important;max-width:none!important;}
  body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="portrait"]{width:72%!important;}
  body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="square"]{width:86%!important;}
  body.bap-editor-active #bap-preview-style .bap-format-preview-card[data-preview-format="landscape"]{width:100%!important;}
}


/* v8.5.397: Image format pill spacing/order labels only; Preview Style remains locked */
body.bap-editor-active .bap-radio-cards-4{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
  padding-inline:18px!important;
  box-sizing:border-box!important;
}
body.bap-editor-active .bap-format-pill-unit{
  min-width:0;
  display:grid;
  grid-template-rows:auto auto;
  gap:5px;
  align-content:start;
}
body.bap-editor-active .bap-format-pill-unit>label{
  width:100%;
  box-sizing:border-box;
}
body.bap-editor-active .bap-format-device-label{
  display:block;
  text-align:center;
  color:#39566f;
  font-size:.78rem;
  font-weight:800;
  line-height:1.2;
}
@media(max-width:980px){
  body.bap-editor-active .bap-radio-cards-4{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    padding-inline:12px!important;
  }
}
@media(max-width:560px){
  body.bap-editor-active .bap-radio-cards-4{
    grid-template-columns:1fr!important;
    padding-inline:8px!important;
  }
}

/* v8.5.399 — image guide format order/device labels only */
.bap-image-guide-modal .bap-format-examples{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.bap-image-guide-modal .bap-format-shape-vertical{width:54px;aspect-ratio:9/16}
.bap-image-guide-modal .bap-format-example strong{white-space:nowrap}
@media (max-width:720px){
  .bap-image-guide-modal .bap-format-examples{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .bap-image-guide-modal .bap-format-shape-vertical{width:34px}
}

/* v8.5.402: Review & Create spacing correction only */
body.bap-editor-active .bap-save-create-body{
  grid-template-columns:max-content minmax(0,1fr)!important;
  column-gap:48px!important;
  row-gap:8px!important;
  align-items:center!important;
}
body.bap-editor-active .bap-save-create-body .bap-message{
  grid-column:1/-1!important;
}
body.bap-editor-active .bap-save-create-body .bap-review-actions{
  grid-column:1!important;
  grid-row:2!important;
}
body.bap-editor-active .bap-save-create-body>p{
  grid-column:2!important;
  grid-row:2!important;
  align-self:center!important;
  margin:0!important;
}
@media(max-width:980px){
  body.bap-editor-active .bap-save-create-body{
    grid-template-columns:1fr!important;
  }
  body.bap-editor-active .bap-save-create-body .bap-message,
  body.bap-editor-active .bap-save-create-body .bap-review-actions,
  body.bap-editor-active .bap-save-create-body>p{
    grid-column:1!important;
    grid-row:auto!important;
  }
}

/* v8.5.403: restore Review & Create status above helper text */
body.bap-editor-active .bap-save-create-body{
  grid-template-rows:auto auto!important;
}
body.bap-editor-active .bap-save-create-body .bap-message{
  grid-column:2!important;
  grid-row:1!important;
  text-align:center!important;
  justify-self:stretch!important;
  margin:0!important;
}
body.bap-editor-active .bap-save-create-body .bap-review-actions{
  grid-column:1!important;
  grid-row:1 / span 2!important;
  align-self:center!important;
}
body.bap-editor-active .bap-save-create-body>p{
  grid-column:2!important;
  grid-row:2!important;
}
@media(max-width:980px){
  body.bap-editor-active .bap-save-create-body .bap-message,
  body.bap-editor-active .bap-save-create-body .bap-review-actions,
  body.bap-editor-active .bap-save-create-body>p{
    grid-column:1!important;
    grid-row:auto!important;
  }
  body.bap-editor-active .bap-save-create-body .bap-message{text-align:left!important;}
}

/* v8.5.404: sidebar step navigation target alignment */
#bap-property,#bap-options-upgrades,#bap-photos-media,#bap-interior,#bap-exterior,#bap-final-details{scroll-margin-top:112px;}

/* v8.5.407: unmistakable sidebar section arrival cue */
@keyframes bapSectionArrivalStrong{
  0%{transform:translateY(0) scale(1);background:linear-gradient(90deg,#0c639c,#14547d);box-shadow:none;filter:brightness(1)}
  12%{transform:translateY(-8px) scale(1.025);background:linear-gradient(90deg,#19bfff,#0788e9);box-shadow:0 0 0 4px rgba(25,191,255,.55),0 0 30px rgba(25,191,255,.95);filter:brightness(1.28)}
  24%{transform:translateY(3px) scale(.995);background:linear-gradient(90deg,#0fa7ef,#087acb);box-shadow:0 0 0 3px rgba(25,191,255,.4),0 0 20px rgba(25,191,255,.7);filter:brightness(1.15)}
  38%{transform:translateY(-6px) scale(1.02);background:linear-gradient(90deg,#41d7ff,#109cf0);box-shadow:0 0 0 5px rgba(65,215,255,.62),0 0 36px rgba(65,215,255,1);filter:brightness(1.34)}
  52%{transform:translateY(2px) scale(1);background:linear-gradient(90deg,#159fdf,#0d75b7);box-shadow:0 0 0 3px rgba(25,191,255,.32),0 0 18px rgba(25,191,255,.62);filter:brightness(1.12)}
  68%{transform:translateY(-3px) scale(1.012);background:linear-gradient(90deg,#22c8ff,#0d91df);box-shadow:0 0 0 4px rgba(34,200,255,.48),0 0 26px rgba(34,200,255,.82);filter:brightness(1.24)}
  84%{transform:translateY(1px) scale(1.003);background:linear-gradient(90deg,#0e75ad,#14547d);box-shadow:0 0 0 2px rgba(25,191,255,.18),0 0 12px rgba(25,191,255,.4);filter:brightness(1.06)}
  100%{transform:translateY(0) scale(1);background:linear-gradient(90deg,#0c639c,#14547d);box-shadow:none;filter:brightness(1)}
}
@keyframes bapSectionArrivalShimmer{
  0%{transform:translateX(-135%) skewX(-18deg);opacity:0}
  18%{opacity:.95}
  55%{opacity:.95}
  100%{transform:translateX(235%) skewX(-18deg);opacity:0}
}
body.bap-editor-active .bap-editor-panel.bap-nav-arrived>legend,
body.bap-editor-active .bap-save-create-card.bap-nav-arrived>.bap-panel-title{
  transform-origin:center;
  animation:bapSectionArrivalStrong 1.65s cubic-bezier(.2,.82,.25,1);
  position:relative;
  z-index:3;
  overflow:hidden;
  isolation:isolate;
}
body.bap-editor-active .bap-editor-panel.bap-nav-arrived>legend::before,
body.bap-editor-active .bap-save-create-card.bap-nav-arrived>.bap-panel-title::before{
  content:"";
  position:absolute;
  inset:-35% auto -35% -30%;
  width:28%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.92),transparent);
  animation:bapSectionArrivalShimmer 1.05s ease-out .12s both;
  pointer-events:none;
  z-index:-1;
}
body.bap-editor-active .bap-editor-panel.bap-nav-arrived>legend,
body.bap-editor-active .bap-save-create-card.bap-nav-arrived>.bap-panel-title{
  text-shadow:0 0 10px rgba(255,255,255,.95),0 0 20px rgba(255,255,255,.55);
}
@media (prefers-reduced-motion:reduce){
  body.bap-editor-active .bap-editor-panel.bap-nav-arrived>legend,
  body.bap-editor-active .bap-save-create-card.bap-nav-arrived>.bap-panel-title{
    animation:none;
    background:linear-gradient(90deg,#24c9ff,#0a91e2)!important;
    box-shadow:0 0 0 4px rgba(36,201,255,.52),0 0 26px rgba(36,201,255,.82);
    filter:brightness(1.18);
  }
  body.bap-editor-active .bap-editor-panel.bap-nav-arrived>legend::before,
  body.bap-editor-active .bap-save-create-card.bap-nav-arrived>.bap-panel-title::before{display:none}
}

/* v8.5.410: restore signed-in Client ID/account actions in Build-A-Post identity toolbar */
.bap-editor-toolbar.bap-identity-toolbar > .bap-toolbar-actions{
  display:flex!important;
}


/* v8.5.412: Property Details field alignment cleanup only */
body.bap-editor-active #bap-property .bap-property-fields{align-items:start!important;}
body.bap-editor-active #bap-property .bap-property-fields>label{display:grid!important;grid-template-rows:auto 38px auto;gap:5px!important;align-content:start!important;min-width:0;}
body.bap-editor-active #bap-property .bap-field-head{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:10px!important;min-height:18px!important;line-height:1.2!important;}
body.bap-editor-active #bap-property .bap-field-title{display:block!important;text-align:left!important;min-width:0;}
body.bap-editor-active #bap-property .bap-field-head .bap-optional{display:block!important;margin-left:auto!important;text-align:right!important;white-space:nowrap!important;}
body.bap-editor-active #bap-property .bap-property-fields>label>input,
body.bap-editor-active #bap-property .bap-property-fields>label>select{height:38px!important;min-height:38px!important;box-sizing:border-box!important;margin:0!important;}
body.bap-editor-active #bap-property .bap-property-fields .bap-inline-pair{height:38px!important;align-items:stretch!important;gap:8px!important;}
body.bap-editor-active #bap-property .bap-property-fields .bap-inline-pair>input,
body.bap-editor-active #bap-property .bap-property-fields .bap-inline-pair>select{height:38px!important;min-height:38px!important;box-sizing:border-box!important;margin:0!important;}
body.bap-editor-active #bap-property .bap-property-fields .bap-field-help{display:block!important;text-align:left!important;margin:0!important;line-height:1.25!important;min-height:15px!important;}
@media(max-width:640px){body.bap-editor-active #bap-property .bap-property-fields>label{grid-template-rows:auto 38px auto;}}


/* v8.5.413: Interior Details field alignment cleanup only */
body.bap-editor-active #bap-interior .bap-interior-fields{align-items:start!important;}
body.bap-editor-active #bap-interior .bap-interior-fields>label{display:grid!important;grid-template-rows:auto 38px;gap:5px!important;align-content:start!important;min-width:0;}
body.bap-editor-active #bap-interior .bap-interior-fields>label.bap-textarea-field{grid-template-rows:auto auto;}
body.bap-editor-active #bap-interior .bap-field-head{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:10px!important;min-height:18px!important;line-height:1.2!important;}
body.bap-editor-active #bap-interior .bap-field-head .bap-optional{display:block!important;margin-left:auto!important;text-align:right!important;white-space:nowrap!important;}
body.bap-editor-active #bap-interior .bap-interior-fields>label>input{height:38px!important;min-height:38px!important;box-sizing:border-box!important;margin:0!important;}
body.bap-editor-active #bap-interior .bap-interior-fields>label>textarea{box-sizing:border-box!important;margin:0!important;}
@media(max-width:640px){body.bap-editor-active #bap-interior .bap-interior-fields>label{grid-template-rows:auto 38px;}body.bap-editor-active #bap-interior .bap-interior-fields>label.bap-textarea-field{grid-template-rows:auto auto;}}

/* v8.5.414: Interior details vertical row spacing only */
body.bap-editor-active #bap-interior .bap-interior-fields{
  row-gap:18px!important;
  column-gap:11px!important;
}


/* v8.5.418 — Your Marketing Package / Next Steps panel only. */
body.bap-editor-active .bap-marketing-package{
  overflow:hidden;
  border:1px solid #b8cddd;
  border-radius:8px;
  background:#fff;
  box-shadow:0 2px 8px rgba(36,72,102,.08);
}
body.bap-editor-active .bap-marketing-package .bap-panel-title{
  display:flex;
  align-items:center;
  gap:9px;
}
body.bap-editor-active .bap-marketing-package .bap-header-icon{
  width:22px;
  height:22px;
  flex:0 0 22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
body.bap-editor-active .bap-marketing-package-body{
  padding:12px 14px 14px;
}
body.bap-editor-active .bap-marketing-package-intro{
  margin:0 0 10px;
  color:#4e667a;
  font-size:.82rem;
  line-height:1.35;
}
body.bap-editor-active .bap-marketing-package-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
body.bap-editor-active .bap-next-step-card{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  grid-template-rows:1fr auto;
  column-gap:10px;
  row-gap:9px;
  min-width:0;
  padding:12px;
  border:1px solid #cfe0ec;
  border-radius:8px;
  background:linear-gradient(180deg,#f8fcff 0%,#eef7fd 100%);
}
body.bap-editor-active .bap-next-step-icon{
  grid-column:1;
  grid-row:1;
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:8px;
  background:#e0f2ff;
  color:#126aa3;
  font-size:1.25rem;
  font-weight:900;
}
body.bap-editor-active .bap-next-step-copy{
  grid-column:2;
  grid-row:1;
  min-width:0;
}
body.bap-editor-active .bap-next-step-copy h3{
  margin:0 0 4px;
  color:#17344d;
  font-size:.94rem;
  line-height:1.15;
}
body.bap-editor-active .bap-next-step-copy p{
  margin:0;
  color:#536c80;
  font-size:.76rem;
  line-height:1.35;
}
body.bap-editor-active .bap-next-step-card>.btn,
body.bap-editor-active .bap-next-step-status{
  grid-column:1/-1;
  grid-row:2;
  align-self:end;
  justify-self:start;
}
body.bap-editor-active .bap-next-step-card>.btn{
  min-height:36px;
  padding:7px 13px;
  font-size:.78rem;
}
body.bap-editor-active .bap-next-step-status{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:6px 11px;
  border:1px solid #b7d8c2;
  border-radius:999px;
  background:#edf8f1;
  color:#17643a;
  font-size:.75rem;
  font-weight:850;
}
@media(max-width:1100px){
  body.bap-editor-active .bap-marketing-package-grid{grid-template-columns:1fr;}
}
@media(max-width:720px){
  body.bap-editor-active .bap-marketing-package{margin:10px!important;}
  body.bap-editor-active .bap-marketing-package-body{padding:12px;}
}

/* v8.5.421 — center-stack bottom alignment fix only.
   Keep the existing outer grid intact. Match the center wrapper to the right preview's
   desktop row span, then let the Marketing Package absorb the remaining height. */
@media(min-width:981px){
  body.bap-editor-active .bap-center-column{
    grid-column:2!important;
    grid-row:2 / 30!important;
    display:flex!important;
    flex-direction:column!important;
    gap:14px!important;
    align-self:stretch!important;
    min-width:0!important;
  }
  body.bap-editor-active .bap-center-column > *{
    flex:0 0 auto;
  }
  body.bap-editor-active .bap-center-column > .bap-marketing-package{
    flex:1 1 auto!important;
    display:flex!important;
    flex-direction:column!important;
    min-height:0!important;
  }
  body.bap-editor-active .bap-marketing-package-body{
    flex:1 1 auto!important;
    display:flex!important;
    flex-direction:column!important;
  }
  body.bap-editor-active .bap-marketing-package-grid{
    flex:1 1 auto!important;
    align-items:stretch!important;
  }
}

/* v8.5.423 — live image analysis and ratio-aware photo bin.
   Photos are loaded first; Image Options & Upgrades reflects actual image variables. */
body.bap-editor-active #bap-options-upgrades .bap-image-live-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  padding:10px 14px 12px;
  background:#f8f3ff;
  border-top:1px solid #decaf5;
  border-bottom:1px solid #d7c2ef;
}
body.bap-editor-active #bap-options-upgrades .bap-image-live-summary>div{
  min-width:0;
  padding:9px 10px;
  border:1px solid #dbc9ef;
  border-radius:8px;
  background:#fff;
}
body.bap-editor-active #bap-options-upgrades .bap-image-live-summary span,
body.bap-editor-active #bap-options-upgrades .bap-image-live-summary strong{
  display:block;
}
body.bap-editor-active #bap-options-upgrades .bap-image-live-summary span{
  color:#6d5a7d;
  font-size:.7rem;
  font-weight:750;
  text-transform:uppercase;
  letter-spacing:.025em;
}
body.bap-editor-active #bap-options-upgrades .bap-image-live-summary strong{
  margin-top:3px;
  color:#342047;
  font-size:.83rem;
  line-height:1.25;
}
body.bap-editor-active #bap-options-upgrades .bap-image-summary-total{
  background:#f2e5ff!important;
  border-color:#bd91e8!important;
}
body.bap-editor-active #bap-options-upgrades .bap-image-summary-total strong{
  color:#6f27a9;
  font-size:1rem;
}
body.bap-editor-active #bap-options-upgrades input[name="image_capacity"]:disabled{
  opacity:1!important;
  cursor:default;
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-details{
  margin:12px 14px 14px;
  border:1px solid #d8c4ef;
  border-radius:9px;
  background:#fff;
  overflow:hidden;
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-details>summary{
  cursor:pointer;
  padding:11px 13px;
  background:#f5edfd;
  color:#48245f;
  font-size:.82rem;
  font-weight:850;
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-body{
  padding:11px 13px 12px;
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-body>p{
  margin:0 0 9px;
  color:#596d7d;
  font-size:.77rem;
  line-height:1.4;
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-list{
  display:grid;
  gap:6px;
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:8px 9px;
  border:1px solid #e0e7ed;
  border-radius:7px;
  background:#fbfdff;
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-row span,
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-row strong,
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-row small{
  display:block;
  min-width:0;
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-row strong{
  overflow:hidden;
  color:#19334b;
  font-size:.76rem;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-row small{
  margin-top:2px;
  color:#728596;
  font-size:.69rem;
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-row b{
  padding:5px 7px;
  border-radius:999px;
  font-size:.68rem;
  white-space:nowrap;
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-row b.is-match{
  background:#eaf7ee;
  color:#17663b;
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-row b.is-resize{
  background:#fff2df;
  color:#8a4f00;
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-row b.is-pending{
  background:#eef3f7;
  color:#607586;
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-note{
  margin-top:10px!important;
  padding-top:9px;
  border-top:1px solid #e0e7ed;
}

/* Image-bin cards mirror the selected output ratio without altering originals. */
body.bap-editor-active #bap-previews[data-format="vertical"]{
  grid-template-columns:repeat(auto-fill,minmax(118px,145px));
  justify-content:start;
}
body.bap-editor-active #bap-previews[data-format="portrait"]{
  grid-template-columns:repeat(auto-fill,minmax(132px,165px));
  justify-content:start;
}
body.bap-editor-active #bap-previews[data-format="square"]{
  grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
}
body.bap-editor-active #bap-previews[data-format="landscape"]{
  display:flex!important;
  gap:12px;
  overflow-x:auto;
  overflow-y:hidden;
  padding-bottom:8px;
  scroll-snap-type:x proximity;
}
body.bap-editor-active #bap-previews[data-format="landscape"] .bap-preview{
  flex:0 0 260px;
  scroll-snap-align:start;
}
body.bap-editor-active #bap-previews[data-format="vertical"] .bap-preview img{aspect-ratio:9/16!important;object-fit:cover!important;}
body.bap-editor-active #bap-previews[data-format="portrait"] .bap-preview img{aspect-ratio:4/5!important;object-fit:cover!important;}
body.bap-editor-active #bap-previews[data-format="square"] .bap-preview img{aspect-ratio:1/1!important;object-fit:cover!important;}
body.bap-editor-active #bap-previews[data-format="landscape"] .bap-preview img{aspect-ratio:16/9!important;object-fit:cover!important;}

@media(max-width:1200px){
  body.bap-editor-active #bap-options-upgrades .bap-image-live-summary{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:720px){
  body.bap-editor-active #bap-options-upgrades .bap-image-live-summary{grid-template-columns:1fr;}
  body.bap-editor-active #bap-options-upgrades .bap-image-analysis-row{grid-template-columns:1fr;gap:5px;}
  body.bap-editor-active #bap-options-upgrades .bap-image-analysis-row b{justify-self:start;}
  body.bap-editor-active #bap-previews[data-format="landscape"] .bap-preview{flex-basis:220px;}
}

/* v8.5.424 — contain wide 16:9 image-bin previews inside the center column.
   Landscape cards remain wide and scroll horizontally; they must never widen the
   Photos & Images fieldset or run underneath the right-side preview column. */
body.bap-editor-active .bap-center-column > fieldset,
body.bap-editor-active #bap-photos-media{
  min-width:0!important;
  min-inline-size:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
body.bap-editor-active #bap-photos-media{
  overflow:hidden!important;
}
body.bap-editor-active #bap-previews{
  min-width:0!important;
  max-width:100%!important;
  width:100%!important;
  box-sizing:border-box!important;
}
body.bap-editor-active #bap-previews[data-format="landscape"]{
  min-width:0!important;
  max-width:100%!important;
  width:100%!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  contain:inline-size;
}
body.bap-editor-active #bap-previews[data-format="landscape"] .bap-preview{
  min-width:0!important;
  max-width:260px!important;
}

/* v8.5.425 — hard-bound Photos & Images to the center track.
   Prevent landscape cards from expanding the desktop grid or hiding beneath the right rail. */
@media (min-width:981px){
  body.bap-editor-active #bap-form,
  body.bap-editor-active .bap-editor-form{
    grid-template-columns:255px minmax(0,1fr) 420px!important;
  }
  body.bap-editor-active .bap-center-column{
    min-width:0!important;
    max-width:100%!important;
    overflow:visible!important;
  }
  body.bap-editor-active #bap-photos-media{
    min-width:0!important;
    max-width:100%!important;
    width:auto!important;
    overflow:hidden!important;
  }
  body.bap-editor-active #bap-previews{
    min-width:0!important;
    max-width:none!important;
    width:auto!important;
    margin-left:14px!important;
    margin-right:14px!important;
    box-sizing:border-box!important;
  }
  body.bap-editor-active #bap-previews[data-format="landscape"]{
    display:flex!important;
    flex-wrap:nowrap!important;
    min-width:0!important;
    width:auto!important;
    max-width:none!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    overscroll-behavior-x:contain;
  }
  body.bap-editor-active #bap-previews[data-format="landscape"] .bap-preview{
    flex:0 0 260px!important;
    width:260px!important;
    min-width:260px!important;
    max-width:260px!important;
  }
}

/* v8.5.426 — 16:9 image bin uses wrapped rows instead of a horizontal carousel. */
@media (min-width:1201px){
  body.bap-editor-active #bap-previews[data-format="landscape"]{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:12px!important;
    overflow:visible!important;
    width:auto!important;
    max-width:none!important;
    scroll-snap-type:none!important;
  }
  body.bap-editor-active #bap-previews[data-format="landscape"] .bap-preview{
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    flex:none!important;
  }
}
@media (min-width:981px) and (max-width:1200px){
  body.bap-editor-active #bap-previews[data-format="landscape"]{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:12px!important;
    overflow:visible!important;
    width:auto!important;
    max-width:none!important;
    scroll-snap-type:none!important;
  }
  body.bap-editor-active #bap-previews[data-format="landscape"] .bap-preview{
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    flex:none!important;
  }
}
@media (min-width:721px) and (max-width:980px){
  body.bap-editor-active #bap-previews[data-format="landscape"]{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    overflow:visible!important;
    width:auto!important;
    max-width:none!important;
    scroll-snap-type:none!important;
  }
  body.bap-editor-active #bap-previews[data-format="landscape"] .bap-preview{
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    flex:none!important;
  }
}
@media (max-width:720px){
  body.bap-editor-active #bap-previews[data-format="landscape"]{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    overflow:visible!important;
    width:auto!important;
    max-width:none!important;
    scroll-snap-type:none!important;
  }
  body.bap-editor-active #bap-previews[data-format="landscape"] .bap-preview{
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    flex:none!important;
  }
}

/* v8.5.428 — per-image paid upgrade selection */
body.bap-editor-active #bap-options-upgrades .bap-upgrade-selection-status{
  margin:2px 0 0;
  padding:7px 9px;
  border:1px solid #d8e3ec;
  border-radius:7px;
  background:#f7fbff;
  color:#29475f;
  font-size:.76rem;
  font-weight:800;
}
body.bap-editor-active #bap-options-upgrades .bap-upgrade-select-button{
  justify-self:start;
  min-height:32px;
  padding:6px 11px;
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 10px;
  padding:8px 9px;
  border:1px solid #d8c4ef;
  border-radius:7px;
  background:#faf6ff;
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-toolbar p{
  margin:0!important;
  color:#48245f!important;
  font-weight:800;
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-toolbar>div{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-row{
  grid-template-columns:minmax(0,1fr) auto minmax(245px,300px)!important;
}
body.bap-editor-active #bap-options-upgrades .bap-image-upgrade-controls{
  display:grid;
  grid-template-columns:auto minmax(155px,1fr);
  align-items:center;
  gap:7px;
}
body.bap-editor-active #bap-options-upgrades .bap-image-upgrade-pick{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  margin:0!important;
  color:#19334b!important;
  font-size:.72rem!important;
  font-weight:800!important;
  white-space:nowrap;
}
body.bap-editor-active #bap-options-upgrades .bap-image-upgrade-pick input{
  width:auto!important;
  margin:0!important;
}
body.bap-editor-active #bap-options-upgrades .bap-image-upgrade-service{
  width:100%;
  min-height:31px;
  border:1px solid #c7d7e4;
  border-radius:6px;
  background:#fff;
  color:#19334b;
  font-size:.72rem;
  font-weight:700;
  padding:5px 7px;
}
body.bap-editor-active #bap-options-upgrades .bap-image-upgrade-service:disabled{
  background:#eef3f7;
  color:#8a9aa7;
}
@media(max-width:1100px){
  body.bap-editor-active #bap-options-upgrades .bap-image-analysis-row{grid-template-columns:1fr auto!important;}
  body.bap-editor-active #bap-options-upgrades .bap-image-upgrade-controls{grid-column:1/-1;grid-template-columns:auto minmax(180px,320px);justify-content:start;}
}
@media(max-width:720px){
  body.bap-editor-active #bap-options-upgrades .bap-image-analysis-toolbar{align-items:flex-start;flex-direction:column;}
  body.bap-editor-active #bap-options-upgrades .bap-image-upgrade-controls{grid-template-columns:1fr;}
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-actions{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-actions .btn{
  min-height:30px;
  padding:5px 9px;
  font-size:.7rem;
}

/* v8.5.428 — automatic resize + mutually exclusive enhancement package */
body.bap-editor-active #bap-options-upgrades .bap-enhancement-package-choice{
  display:grid;
  grid-template-columns:auto repeat(3,minmax(0,1fr));
  align-items:stretch;
  gap:8px;
  padding:10px 12px;
  border-top:1px solid #d8e3ec;
  border-bottom:1px solid #d8e3ec;
  background:#f8fbfe;
}
body.bap-editor-active #bap-options-upgrades .bap-enhancement-package-choice>.bap-choice-label{
  align-self:center;
  padding-right:4px;
  color:#173650!important;
  white-space:nowrap;
}
body.bap-editor-active #bap-options-upgrades .bap-enhancement-package-choice>label{
  display:flex;
  gap:8px;
  align-items:flex-start;
  margin:0!important;
  padding:9px 10px;
  border:1px solid #cbd9e5;
  border-radius:8px;
  background:#fff;
  color:#173650!important;
  cursor:pointer;
}
body.bap-editor-active #bap-options-upgrades .bap-enhancement-package-choice>label:has(input:checked){
  border-color:#1484d4;
  background:#eef7ff;
  box-shadow:0 0 0 1px rgba(20,132,212,.12);
}
body.bap-editor-active #bap-options-upgrades .bap-enhancement-package-choice input{
  width:auto!important;
  margin:3px 0 0!important;
}
body.bap-editor-active #bap-options-upgrades .bap-enhancement-package-choice strong,
body.bap-editor-active #bap-options-upgrades .bap-enhancement-package-choice small{display:block;}
body.bap-editor-active #bap-options-upgrades .bap-enhancement-package-choice small{
  margin-top:3px;
  color:#60798f;
  font-size:.7rem;
  line-height:1.25;
}
body.bap-editor-active #bap-options-upgrades .bap-image-upgrade-controls{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
body.bap-editor-active #bap-options-upgrades .bap-ai-recommendation{
  grid-column:1/-1;
  display:inline-flex;
  justify-self:start;
  padding:4px 7px;
  border-radius:999px;
  background:#f3e9ff;
  color:#6b2da2;
  font-size:.68rem;
  font-weight:850;
}
@media(max-width:1100px){
  body.bap-editor-active #bap-options-upgrades .bap-enhancement-package-choice{grid-template-columns:1fr 1fr;}
  body.bap-editor-active #bap-options-upgrades .bap-enhancement-package-choice>.bap-choice-label{grid-column:1/-1;}
}
@media(max-width:720px){
  body.bap-editor-active #bap-options-upgrades .bap-enhancement-package-choice{grid-template-columns:1fr;}
  body.bap-editor-active #bap-options-upgrades .bap-enhancement-package-choice>.bap-choice-label{grid-column:auto;}
  body.bap-editor-active #bap-options-upgrades .bap-image-upgrade-controls{grid-template-columns:1fr;}
}

/* v8.5.429 — Image Options & Upgrades readability pass only. */
body.bap-editor-active #bap-options-upgrades{
  color:#173650;
}
body.bap-editor-active #bap-options-upgrades .bap-upgrade-subtitle,
body.bap-editor-active #bap-options-upgrades .bap-field-help,
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-body>p,
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-row small,
body.bap-editor-active #bap-options-upgrades .bap-enhancement-package-choice small{
  color:#35536b!important;
  font-size:.82rem!important;
  line-height:1.42!important;
}
body.bap-editor-active #bap-options-upgrades .bap-upgrade-price,
body.bap-editor-active #bap-options-upgrades .bap-upgrade-benefits,
body.bap-editor-active #bap-options-upgrades .bap-upgrade-benefits li,
body.bap-editor-active #bap-options-upgrades .bap-upgrade-card label,
body.bap-editor-active #bap-options-upgrades .bap-upgrade-selection-status,
body.bap-editor-active #bap-options-upgrades .bap-enhancement-package-choice,
body.bap-editor-active #bap-options-upgrades .bap-image-upgrade-pick,
body.bap-editor-active #bap-options-upgrades .bap-image-upgrade-service{
  color:#173650!important;
  font-size:.84rem!important;
  line-height:1.4!important;
}
body.bap-editor-active #bap-options-upgrades .bap-upgrade-card h3,
body.bap-editor-active #bap-options-upgrades .bap-upgrade-card h4,
body.bap-editor-active #bap-options-upgrades .bap-enhancement-package-choice strong,
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-toolbar p{
  color:#102f49!important;
  font-size:.92rem!important;
  line-height:1.3!important;
}
body.bap-editor-active #bap-options-upgrades .bap-image-live-summary span{
  color:#4b3b59!important;
  font-size:.78rem!important;
  font-weight:850!important;
}
body.bap-editor-active #bap-options-upgrades .bap-image-live-summary strong{
  color:#1c2f45!important;
  font-size:.93rem!important;
  line-height:1.3!important;
}
body.bap-editor-active #bap-options-upgrades .bap-image-summary-total strong{
  color:#5d158f!important;
  font-size:1.12rem!important;
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-details>summary{
  color:#3c1d52!important;
  font-size:.9rem!important;
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-row strong{
  color:#102f49!important;
  font-size:.84rem!important;
  line-height:1.35!important;
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-row b{
  font-size:.76rem!important;
  line-height:1.25!important;
  font-weight:850!important;
}
body.bap-editor-active #bap-options-upgrades .bap-image-upgrade-pick{
  font-size:.82rem!important;
}
body.bap-editor-active #bap-options-upgrades .bap-image-upgrade-service{
  font-size:.82rem!important;
}
body.bap-editor-active #bap-options-upgrades .bap-ai-recommendation{
  font-size:.76rem!important;
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-actions .btn,
body.bap-editor-active #bap-options-upgrades .bap-upgrade-select-button{
  font-size:.8rem!important;
  font-weight:800!important;
}

/* v8.5.430 — stronger accessibility/readability pass for Image Options & Upgrades only. */
body.bap-editor-active #bap-options-upgrades .bap-upgrade-subtitle,
body.bap-editor-active #bap-options-upgrades .bap-field-help,
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-body>p,
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-row small,
body.bap-editor-active #bap-options-upgrades .bap-enhancement-package-choice small{
  color:#173650!important;
  font-size:.96rem!important;
  font-weight:650!important;
  line-height:1.48!important;
}
body.bap-editor-active #bap-options-upgrades .bap-upgrade-price,
body.bap-editor-active #bap-options-upgrades .bap-upgrade-benefits,
body.bap-editor-active #bap-options-upgrades .bap-upgrade-benefits li,
body.bap-editor-active #bap-options-upgrades .bap-upgrade-card label,
body.bap-editor-active #bap-options-upgrades .bap-upgrade-selection-status,
body.bap-editor-active #bap-options-upgrades .bap-enhancement-package-choice,
body.bap-editor-active #bap-options-upgrades .bap-image-upgrade-pick,
body.bap-editor-active #bap-options-upgrades .bap-image-upgrade-service{
  color:#102f49!important;
  font-size:.98rem!important;
  font-weight:650!important;
  line-height:1.48!important;
}
body.bap-editor-active #bap-options-upgrades .bap-upgrade-card h3,
body.bap-editor-active #bap-options-upgrades .bap-upgrade-card h4,
body.bap-editor-active #bap-options-upgrades .bap-enhancement-package-choice strong,
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-toolbar p{
  color:#0b2942!important;
  font-size:1.05rem!important;
  font-weight:850!important;
  line-height:1.35!important;
}
body.bap-editor-active #bap-options-upgrades .bap-image-live-summary span{
  color:#342642!important;
  font-size:.9rem!important;
  font-weight:900!important;
}
body.bap-editor-active #bap-options-upgrades .bap-image-live-summary strong{
  color:#132d45!important;
  font-size:1.03rem!important;
  font-weight:850!important;
  line-height:1.35!important;
}
body.bap-editor-active #bap-options-upgrades .bap-image-summary-total strong{
  color:#5d158f!important;
  font-size:1.2rem!important;
  font-weight:950!important;
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-details>summary{
  color:#2d173d!important;
  font-size:1rem!important;
  font-weight:900!important;
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-row strong{
  color:#0b2942!important;
  font-size:.98rem!important;
  font-weight:850!important;
  line-height:1.4!important;
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-row b,
body.bap-editor-active #bap-options-upgrades .bap-ai-recommendation{
  font-size:.9rem!important;
  line-height:1.3!important;
  font-weight:900!important;
}
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-actions .btn,
body.bap-editor-active #bap-options-upgrades .bap-upgrade-select-button{
  font-size:.92rem!important;
  font-weight:900!important;
}


/* v8.5.431 — center enhancement package choices; layout only. */
body.bap-editor-active #bap-options-upgrades .bap-enhancement-package-choice{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  padding:14px 18px;
}
@media(max-width:1100px){
  body.bap-editor-active #bap-options-upgrades .bap-enhancement-package-choice{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:720px){
  body.bap-editor-active #bap-options-upgrades .bap-enhancement-package-choice{grid-template-columns:1fr;}
}

/* v8.5.432 — enlarge per-image processing checkboxes for clear seller controls; visual only. */
body.bap-editor-active #bap-options-upgrades .bap-image-upgrade-pick input[type="checkbox"]{
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  flex:0 0 22px;
  margin:0!important;
  cursor:pointer;
}


/* v8.5.433 — color and icon treatment for Additional Interior & Exterior Details and Interior details; style only. */
body.bap-editor-active .bap-source-details-title{
  display:flex!important;
  align-items:center!important;
  gap:0!important;
  background:#1F5F8B!important;
  color:#fff!important;
  border-bottom:1px solid #184f75!important;
}
body.bap-editor-active .bap-source-details-title .bap-header-icon{
  color:#fff!important;
  stroke:#fff!important;
}
body.bap-editor-active #bap-interior>legend{
  display:flex!important;
  align-items:center!important;
  background:#DCEBF7!important;
  color:#15324b!important;
  border-bottom:1px solid #bfd4e5!important;
}
body.bap-editor-active #bap-interior>legend .bap-header-icon{
  color:#1F5F8B!important;
  stroke:#1F5F8B!important;
}


/* v8.5.434 — Exterior details color/icon and Review & Create icon; style only. */
body.bap-editor-active #bap-exterior>legend{
  display:flex!important;
  align-items:center!important;
  background:#DCEBF7!important;
  color:#15324b!important;
  border-bottom:1px solid #bfd4e5!important;
}
body.bap-editor-active #bap-exterior>legend .bap-header-icon{
  color:#1F5F8B!important;
  stroke:#1F5F8B!important;
}
body.bap-editor-active #bap-final-details>.bap-panel-title{
  display:flex!important;
  align-items:center!important;
}

/* v8.5.435 — prevent per-image processing controls from overlapping after accessibility checkbox enlargement; layout only. */
body.bap-editor-active #bap-options-upgrades .bap-image-analysis-row{
  grid-template-columns:minmax(0,1fr) auto minmax(430px,max-content)!important;
}
body.bap-editor-active #bap-options-upgrades .bap-image-upgrade-controls{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px 14px!important;
  min-width:0!important;
}
body.bap-editor-active #bap-options-upgrades .bap-image-upgrade-pick{
  flex:0 0 auto!important;
}
@media(max-width:1100px){
  body.bap-editor-active #bap-options-upgrades .bap-image-analysis-row{
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  body.bap-editor-active #bap-options-upgrades .bap-image-upgrade-controls{
    grid-column:1/-1!important;
    justify-content:flex-start!important;
  }
}
@media(max-width:720px){
  body.bap-editor-active #bap-options-upgrades .bap-image-analysis-row{
    grid-template-columns:1fr!important;
  }
  body.bap-editor-active #bap-options-upgrades .bap-image-analysis-row b{
    justify-self:start!important;
  }
  body.bap-editor-active #bap-options-upgrades .bap-image-upgrade-controls{
    grid-column:auto!important;
    flex-direction:column!important;
    align-items:flex-start!important;
  }
}

/* v8.5.442: signed-in identity controls align over Post Content; image-format label centered. */
@media (min-width:1201px){
  body.bap-editor-active .bap-editor-toolbar.bap-identity-toolbar > .bap-toolbar-actions{
    flex:0 0 420px;
    justify-content:center!important;
    margin-left:auto;
  }
}
@media (min-width:981px) and (max-width:1200px){
  body.bap-editor-active .bap-editor-toolbar.bap-identity-toolbar > .bap-toolbar-actions{
    flex:0 0 360px;
    justify-content:center!important;
    margin-left:auto;
  }
}
body.bap-editor-active .bap-editor-toolbar.bap-identity-toolbar .bap-user-id{
  padding:6px 9px;
  font-size:.78rem;
  line-height:1.15;
}
body.bap-editor-active #bap-photos .bap-format-block > .bap-choice-label{
  display:block;
  width:100%;
  text-align:center;
}

/* v8.5.443: exact right-column identity alignment + true centered image-format label. */
@media (min-width:1201px){
  body.bap-editor-active .bap-editor-toolbar.bap-identity-toolbar{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 420px!important;
    column-gap:14px!important;
    align-items:center!important;
  }
  body.bap-editor-active .bap-editor-toolbar.bap-identity-toolbar > .bap-toolbar-copy{
    grid-column:1!important;
    min-width:0!important;
  }
  body.bap-editor-active .bap-editor-toolbar.bap-identity-toolbar > .bap-toolbar-actions{
    grid-column:2!important;
    width:100%!important;
    margin:0!important;
    justify-content:center!important;
    flex:initial!important;
  }
}
@media (min-width:981px) and (max-width:1200px){
  body.bap-editor-active .bap-editor-toolbar.bap-identity-toolbar{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 360px!important;
    column-gap:14px!important;
    align-items:center!important;
  }
  body.bap-editor-active .bap-editor-toolbar.bap-identity-toolbar > .bap-toolbar-copy{
    grid-column:1!important;
    min-width:0!important;
  }
  body.bap-editor-active .bap-editor-toolbar.bap-identity-toolbar > .bap-toolbar-actions{
    grid-column:2!important;
    width:100%!important;
    margin:0!important;
    justify-content:center!important;
    flex:initial!important;
  }
}
body.bap-editor-active #bap-photos .bap-format-block{
  width:100%!important;
}
body.bap-editor-active #bap-photos .bap-format-block > span.bap-choice-label{
  display:block!important;
  width:100%!important;
  justify-self:stretch!important;
  margin:0!important;
  padding:0!important;
  text-align:center!important;
}

/* v8.5.444: correct actual Photos section selector and exact Post Content centering. */
body.bap-editor-active #bap-photos-media .bap-format-block > span.bap-choice-label{
  display:flex!important;
  width:100%!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  margin:0!important;
}
@media (min-width:981px){
  body.bap-editor-active .bap-editor-toolbar.bap-identity-toolbar{
    position:relative!important;
  }
  body.bap-editor-active .bap-editor-toolbar.bap-identity-toolbar > .bap-toolbar-actions{
    position:absolute!important;
    right:-1px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:420px!important;
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    margin:0!important;
  }
}
@media (min-width:981px) and (max-width:1250px){
  body.bap-editor-active .bap-editor-toolbar.bap-identity-toolbar > .bap-toolbar-actions{
    width:360px!important;
  }
}

/* v8.5.455 — Build-A-Post order / checkout foundation. */
body.bap-editor-active .bap-order-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px;padding:14px 16px;border:1px solid #cbdbe8;border-radius:12px;background:#f7fbff}
body.bap-editor-active .bap-order-panel>div{display:grid;gap:3px;min-width:0}
body.bap-editor-active .bap-order-panel strong{font-size:1rem;color:#173955}
body.bap-editor-active .bap-order-panel span{font-size:.95rem;line-height:1.35;color:#425b70}
body.bap-editor-active #bap-checkout{flex:0 0 auto;min-width:190px}
body.bap-editor-active #bap-create-post:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:720px){body.bap-editor-active .bap-order-panel{display:grid}body.bap-editor-active #bap-checkout{width:100%;min-width:0}}

/* v8.5.457 — final-output protection for paid image processing. Working/editor images remain clean. */
.bap-custom-image-item.is-protected-processed{cursor:default;user-select:none;-webkit-user-select:none}
.bap-custom-image-item.is-protected-processed img{pointer-events:none;-webkit-user-drag:none;user-select:none}
.bap-custom-image-item .bap-processed-watermark{position:absolute;z-index:1;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-18deg);width:150%;text-align:center;color:#fff;background:rgba(7,55,87,.42);padding:5px 0;font-size:clamp(.72rem,1.15vw,1rem);font-weight:900;letter-spacing:.02em;text-shadow:0 1px 2px rgba(0,0,0,.35);pointer-events:none}
.bap-order-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
@media(max-width:760px){.bap-order-actions{justify-content:stretch}.bap-order-actions .btn{flex:1 1 100%}}


/* v8.5.463 — block native Save/Copy/Open/drag actions on Build-A-Post image previews.
   Explicit PropertyIntel360 download controls remain the supported download path. */
body.bap-editor-active main.bap-main img{
  -webkit-user-drag:none!important;
  user-select:none!important;
  -webkit-user-select:none!important;
  pointer-events:none!important;
}
body.bap-editor-active .bap-preview,
body.bap-editor-active .bap-format-preview-card,
body.bap-editor-active .bap-custom-image-item,
body.bap-editor-active .bap-guide-examples{
  -webkit-user-select:none;
  user-select:none;
}


/* v8.5.466 — exact Review & Create layout requested: 2 rows x 3 buttons, order below, centered justified helper copy. */
body.bap-editor-active .bap-save-create-body{
  display:grid!important;
  grid-template-columns:minmax(520px,600px) minmax(0,1fr)!important;
  grid-template-rows:auto!important;
  column-gap:36px!important;
  row-gap:0!important;
  align-items:center!important;
  padding:12px 14px 14px!important;
}
body.bap-editor-active .bap-message-visually-hidden{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
body.bap-editor-active .bap-review-left{
  grid-column:1!important;
  grid-row:1!important;
  display:grid!important;
  gap:10px!important;
  min-width:0!important;
  align-self:center!important;
}
body.bap-editor-active .bap-review-actions{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-template-rows:repeat(2,auto)!important;
  gap:10px!important;
  align-items:stretch!important;
  grid-column:auto!important;
  grid-row:auto!important;
  width:100%!important;
}
body.bap-editor-active .bap-action-slot{
  min-width:0!important;
  min-height:42px!important;
  display:flex!important;
}
body.bap-editor-active .bap-action-slot>.btn{
  width:100%!important;
  min-width:0!important;
  justify-content:center!important;
  text-align:center!important;
  white-space:nowrap!important;
}
body.bap-editor-active .bap-action-slot>#bap-receipt[hidden]{
  display:block!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
body.bap-editor-active .bap-order-panel{
  display:block!important;
  margin:0!important;
  padding:11px 14px!important;
  width:100%!important;
  box-sizing:border-box!important;
}
body.bap-editor-active .bap-order-panel>div{
  display:grid!important;
  gap:4px!important;
}
body.bap-editor-active .bap-order-panel strong{
  font-size:1rem!important;
  font-weight:900!important;
}
body.bap-editor-active .bap-order-panel span{
  font-size:.96rem!important;
  font-weight:800!important;
  color:#173955!important;
}
body.bap-editor-active .bap-review-copy{
  grid-column:2!important;
  grid-row:1!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:12px!important;
  min-width:0!important;
  align-self:stretch!important;
}
body.bap-editor-active .bap-review-copy p{
  margin:0!important;
  max-width:760px!important;
  color:#173955!important;
  font-size:1rem!important;
  line-height:1.5!important;
  font-weight:750!important;
}
body.bap-editor-active .bap-review-copy-main{
  text-align:justify!important;
  text-justify:inter-word!important;
}
body.bap-editor-active .bap-review-example{
  text-align:center!important;
  font-weight:800!important;
}
body.bap-editor-active .bap-review-example a{
  font-weight:900!important;
}
body.bap-editor-active .bap-review-copy strong{font-weight:900!important;}
@media(max-width:1100px){
  body.bap-editor-active .bap-save-create-body{
    grid-template-columns:1fr!important;
    row-gap:14px!important;
  }
  body.bap-editor-active .bap-review-left,
  body.bap-editor-active .bap-review-copy{
    grid-column:1!important;
    grid-row:auto!important;
  }
  body.bap-editor-active .bap-review-copy p{max-width:none!important;}
}
@media(max-width:720px){
  body.bap-editor-active .bap-review-actions{grid-template-columns:1fr!important;grid-template-rows:auto!important;}
  body.bap-editor-active .bap-action-slot>#bap-receipt[hidden]{display:none!important;}
  body.bap-editor-active .bap-review-copy p{text-align:left!important;}
}


/* v8.5.467 — Review & Create correction: one Autosave display and fixed Invoice slot. */
body.bap-editor-active .bap-autosave-display{
  cursor:default!important;
  pointer-events:none!important;
  user-select:none!important;
  -webkit-user-select:none!important;
  opacity:1!important;
}
body.bap-editor-active .bap-action-slot>#bap-receipt[hidden]{
  display:flex!important;
  visibility:visible!important;
}
body.bap-editor-active .bap-action-slot>#bap-receipt:disabled{
  opacity:.58!important;
}

/* v8.5.490: approved manual, two-pair, four-image carousel. Only the Photos & Images bin. */
body.bap-editor-active .bap-carousel-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 14px 0;color:#193c57;font-weight:800;flex-wrap:wrap}
body.bap-editor-active .bap-carousel-controls>div{display:flex;gap:8px}
body.bap-editor-active #bap-previews,
body.bap-editor-active #bap-previews[data-format="landscape"],
body.bap-editor-active #bap-previews[data-format="portrait"],
body.bap-editor-active #bap-previews[data-format="vertical"],
body.bap-editor-active #bap-previews[data-format="square"]{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;grid-template-columns:none!important;gap:12px!important;scroll-snap-type:x mandatory!important;scrollbar-width:thin;max-width:100%!important;width:auto!important;padding:8px 0 12px!important;margin:4px 14px 10px!important;box-sizing:border-box!important}
body.bap-editor-active #bap-previews .bap-compare-pair{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important;flex:0 0 calc((100% - 12px)/2)!important;width:calc((100% - 12px)/2)!important;min-width:0!important;max-width:calc((100% - 12px)/2)!important;scroll-snap-align:start;align-items:stretch}
body.bap-editor-active #bap-previews .bap-compare-pair .bap-preview,
body.bap-editor-active #bap-previews[data-format="landscape"] .bap-compare-pair .bap-preview{min-width:0!important;max-width:none!important;width:auto!important;flex:none!important}
body.bap-editor-active #bap-previews{--bap-carousel-photo-ratio:16/9}
body.bap-editor-active #bap-previews[data-format="portrait"]{--bap-carousel-photo-ratio:4/5}
body.bap-editor-active #bap-previews[data-format="vertical"]{--bap-carousel-photo-ratio:9/16}
body.bap-editor-active #bap-previews[data-format="square"]{--bap-carousel-photo-ratio:1/1}
body.bap-editor-active #bap-previews .bap-compare-pair .bap-preview img,
body.bap-editor-active #bap-previews .bap-enhanced-view img{width:100%!important;aspect-ratio:var(--bap-carousel-photo-ratio)!important;height:auto!important;object-fit:contain!important;display:block;background:#e6eff7}
body.bap-editor-active #bap-previews .bap-enhanced-tile{min-width:0;border:1px solid #b8cddd;border-radius:8px;background:#fff;overflow:hidden;display:flex;flex-direction:column}
body.bap-editor-active #bap-previews .bap-enhanced-title{padding:7px 6px;font-size:.85rem;font-weight:850;background:#e8f2fa;color:#143b59}
body.bap-editor-active #bap-previews .bap-enhanced-view{aspect-ratio:var(--bap-carousel-photo-ratio);display:flex;align-items:center;justify-content:center;text-align:center;min-height:0;background:#eef4f8;color:#476176;font-size:.79rem;padding:5px;box-sizing:border-box}
body.bap-editor-active #bap-previews .bap-enhanced-view:has(img){padding:0}
body.bap-editor-active #bap-previews .bap-enhanced-foot{padding:8px;margin-top:auto}
body.bap-editor-active #bap-previews .bap-enhanced-select{display:flex!important;flex-direction:row!important;gap:6px!important;align-items:center!important;font-size:.76rem!important;color:#193c57!important}
body.bap-editor-active #bap-previews .bap-enhanced-select input{width:auto!important;margin:0!important;flex:none!important}
body.bap-editor-active #bap-previews .bap-enhanced-selected .bap-enhanced-tile{outline:2px solid #168cce;outline-offset:-2px}
@media(max-width:780px){body.bap-editor-active #bap-previews .bap-compare-pair{flex-basis:100%!important;width:100%!important;max-width:100%!important}}

/* v8.5.493 — Photos & Images controls: readable manual enhancement and carousel. */
body.bap-editor-active .bap-carousel-controls{font-size:1.05rem!important;gap:12px!important}
body.bap-editor-active .bap-carousel-controls>div{gap:12px!important}
body.bap-editor-active .bap-carousel-controls .bap-mini{background:linear-gradient(180deg,#61c3ff,#087de4)!important;color:#061f32!important;border:1px solid #0874cc!important;border-radius:7px!important;font-size:1.02rem!important;font-weight:900!important;min-height:46px!important;padding:10px 18px!important;cursor:pointer}
body.bap-editor-active .bap-carousel-controls .bap-mini:disabled{opacity:.45!important;cursor:not-allowed}
body.bap-editor-active #bap-previews .bap-enhanced-title{font-size:1rem!important;padding:9px 10px!important}
body.bap-editor-active #bap-previews .bap-enhanced-select{font-size:1.02rem!important;font-weight:850!important;gap:9px!important;min-height:38px!important}
body.bap-editor-active #bap-previews .bap-enhanced-select input{width:20px!important;height:20px!important;accent-color:#087de4!important}
body.bap-editor-active #bap-previews .bap-enhanced-select input:disabled{opacity:.6!important}
body.bap-editor-active #bap-previews .bap-enhance-prompt{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:14px;min-width:0}
body.bap-editor-active #bap-previews .bap-enhance-trigger{background:linear-gradient(180deg,#61c3ff,#087de4);border:1px solid #0874cc;border-radius:8px;color:#071f32;font-size:1.05rem;font-weight:900;min-height:48px;padding:12px 18px;cursor:pointer}
body.bap-editor-active #bap-previews .bap-enhance-trigger:disabled{opacity:.6;cursor:wait}
body.bap-editor-active #bap-previews .bap-enhanced-status{font-size:.91rem!important;line-height:1.35!important}

/* Build-A-Post 10/15/20 staging pricing cards only. */
body.bap-editor-active #bap-options-upgrades .bap-new-packages{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;border:0!important}
body.bap-editor-active #bap-options-upgrades .bap-new-packages .bap-upgrade-card{border:1px solid #cbd9e5!important;border-radius:10px!important;min-height:unset!important}
@media(max-width:720px){body.bap-editor-active #bap-options-upgrades .bap-new-packages{grid-template-columns:1fr!important}}

/* v8.5.519 — pricing cards relocated below photo upload guidance; layout only. */
body.bap-editor-active #bap-photos-media .bap-new-packages{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  margin:12px 14px 16px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
body.bap-editor-active #bap-photos-media .bap-new-packages .bap-upgrade-card{
  display:grid;
  gap:10px;
  padding:16px!important;
  min-height:unset!important;
  border:1px solid #cbd9e5!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#173650!important;
}
body.bap-editor-active #bap-photos-media .bap-new-packages .bap-upgrade-card h3{
  margin:0!important;
  color:#0b2942!important;
  font-size:1.05rem!important;
}
body.bap-editor-active #bap-photos-media .bap-new-packages .bap-upgrade-price{
  margin:0!important;
  color:#102f49!important;
  font-size:.98rem!important;
  font-weight:700!important;
}
body.bap-editor-active #bap-photos-media .bap-new-packages .bap-upgrade-card label{
  color:#102f49!important;
  font-size:.98rem!important;
  font-weight:650!important;
}
body.bap-editor-active #bap-options-upgrades > #bap-additional-image-status,
body.bap-editor-active #bap-options-upgrades > #bap-resize-selection-status,
body.bap-editor-active #bap-options-upgrades > #bap-enhance-selection-status,
body.bap-editor-active #bap-options-upgrades > p:has(>strong:first-child){
  margin-left:16px!important;
  margin-right:16px!important;
}
@media(max-width:720px){
  body.bap-editor-active #bap-photos-media .bap-new-packages{
    grid-template-columns:1fr!important;
  }
}

/* v8.5.524 — pricing card background and border colors only. */
body.bap-editor-active #bap-photos-media .bap-new-packages > .bap-upgrade-card:nth-child(1){background:#F0EAFB!important;border-color:#D9C8F0!important;}
body.bap-editor-active #bap-photos-media .bap-new-packages > .bap-upgrade-card:nth-child(2){background:#FFF5D6!important;border-color:#E8D391!important;}
body.bap-editor-active #bap-photos-media .bap-new-packages > .bap-upgrade-card:nth-child(3){background:#E5F3E8!important;border-color:#AFD3BA!important;}

/* v8.5.542 — pricing cards only: four desktop columns and approved card palette. */
body.bap-editor-active #bap-photos-media .bap-new-packages{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
body.bap-editor-active #bap-photos-media .bap-new-packages > .bap-upgrade-card:nth-child(1){
  background:#FFFFFF!important;border-color:#CBD9E5!important;
}
body.bap-editor-active #bap-photos-media .bap-new-packages > .bap-upgrade-card:nth-child(2){
  background:#F0EAFB!important;border-color:#D9C8F0!important;
}
body.bap-editor-active #bap-photos-media .bap-new-packages > .bap-upgrade-card:nth-child(3){
  background:#FFF5D6!important;border-color:#E8D391!important;
}
body.bap-editor-active #bap-photos-media .bap-new-packages > .bap-upgrade-card:nth-child(4){
  background:#E5F3E8!important;border-color:#AFD3BA!important;
}
@media(max-width:900px){
  body.bap-editor-active #bap-photos-media .bap-new-packages{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:560px){
  body.bap-editor-active #bap-photos-media .bap-new-packages{
    grid-template-columns:1fr!important;
  }
}

/* v8.5.553 — Auto photo ratio in Original / Enhanced cards; no forced portrait frame. */
body.bap-editor-active #bap-previews .bap-compare-pair{--bap-pair-photo-ratio:16 / 9;align-items:start!important;}
body.bap-editor-active #bap-previews .bap-compare-pair .bap-preview img,
body.bap-editor-active #bap-previews .bap-compare-pair .bap-enhanced-view img{aspect-ratio:var(--bap-pair-photo-ratio)!important;width:100%!important;object-fit:contain!important;}
body.bap-editor-active #bap-previews .bap-compare-pair .bap-enhanced-view{aspect-ratio:var(--bap-pair-photo-ratio)!important;}

/* v8.5.554 — full-card package selection: visual only; native radio change logic retained. */
body.bap-editor-active #bap-photos-media .bap-new-packages > label.bap-upgrade-card{
  cursor:pointer!important;position:relative;transition:box-shadow .12s ease,transform .12s ease;
}
body.bap-editor-active #bap-photos-media .bap-new-packages > label.bap-upgrade-card:hover{
  box-shadow:0 0 0 2px rgba(0,102,204,.35)!important;
}
body.bap-editor-active #bap-photos-media .bap-new-packages > label.bap-upgrade-card:has(input:checked){
  box-shadow:0 0 0 4px #0066cc,0 3px 12px rgba(0,80,160,.18)!important;
  z-index:1;
}
body.bap-editor-active #bap-photos-media .bap-new-packages > label.bap-upgrade-card:has(input:focus-visible){
  outline:3px solid #103e65;outline-offset:5px;
}
body.bap-editor-active #bap-photos-media .bap-new-packages .bap-package-choice{
  display:flex;align-items:center;gap:10px;font-weight:750;
}
body.bap-editor-active #bap-photos-media .bap-new-packages input[type=radio]{
  flex:0 0 auto;width:21px!important;height:21px!important;min-width:21px!important;
  margin:0!important;accent-color:#0066cc;cursor:pointer;
}

/* Digital enhancement disclosure — visual image overlays only. */
.bap-digitally-enhanced{position:relative!important;}
.bap-digitally-enhanced::after{content:"Digitally Enhanced";position:absolute;right:8px;bottom:8px;z-index:5;pointer-events:none;color:rgba(255,255,255,.72);text-shadow:0 1px 3px rgba(0,0,0,.90),0 0 2px rgba(0,0,0,.65);font:600 clamp(11px,1.15vw,16px)/1.15 Arial,sans-serif;letter-spacing:.01em;white-space:nowrap;}
.bap-enhanced-view.bap-digitally-enhanced::after{bottom:10px;right:10px;}
.bap-public-gallery .bap-public-marked-photo{overflow:hidden;border-radius:14px;}
.bap-public-gallery .bap-public-marked-photo img{display:block;width:100%;}
.bap-public-gallery .bap-public-marked-photo:first-child{grid-column:1/-1;}
.bap-public-gallery .bap-public-marked-photo:first-child img{aspect-ratio:16/9;}
@media(max-width:800px){.bap-public-gallery .bap-public-marked-photo:first-child{grid-column:auto}.bap-public-gallery .bap-public-marked-photo:first-child img{aspect-ratio:4/3}}

/* v8.5.570 — keep Client ID / Open CRM / Support / Feedback on one desktop row. */
@media (min-width:981px){
  body.bap-editor-active .bap-editor-toolbar.bap-identity-toolbar{
    grid-template-columns:minmax(0,1fr) max-content!important;
  }
  body.bap-editor-active .bap-editor-toolbar.bap-identity-toolbar > .bap-toolbar-actions{
    position:static!important;
    top:auto!important;right:auto!important;transform:none!important;
    width:max-content!important;max-width:none!important;
    flex-wrap:nowrap!important;justify-content:flex-end!important;
    gap:12px!important;margin:0 0 0 auto!important;
    align-items:center!important;
  }
}

/* v8.5.573 — approved Image Enhancement Examples modal presentation only. */
.bap-image-guide-modal .bap-guide-v573 .bap-v573-inner{max-width:1120px;margin:18px auto 0;display:grid;gap:18px}
.bap-image-guide-modal .bap-guide-v573 .bap-v573-examples{padding:18px 20px;border:1px solid #c7d8e8;background:#f7fbff;border-radius:14px;text-align:center}
.bap-image-guide-modal .bap-guide-v573 h3{color:#15334f;margin:0 0 13px;font-size:1.18rem;font-weight:800}
.bap-image-guide-modal .bap-guide-v573 .bap-v573-examples img{display:block;width:100%;max-width:860px;height:auto;max-height:395px;object-fit:contain;margin:auto;border-radius:10px}
.bap-image-guide-modal .bap-guide-v573 .bap-v573-cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:stretch}
.bap-image-guide-modal .bap-guide-v573 .bap-v573-left{display:flex;flex-direction:column;gap:15px;min-width:0}
.bap-image-guide-modal .bap-guide-v573 .bap-enhancement-benefits{background:#eaf7ee!important;border:1px solid #b9e6c8!important;border-radius:14px;padding:20px 22px;color:#174c33}
.bap-image-guide-modal .bap-guide-v573 .bap-enhancement-benefits h3{color:#145b31!important}
.bap-image-guide-modal .bap-guide-v573 .bap-enhancement-benefits ul{margin:0;padding:0;list-style:none;display:grid;gap:12px}
.bap-image-guide-modal .bap-guide-v573 .bap-enhancement-benefits li{position:relative;padding-left:26px;color:#285c3d!important;line-height:1.35;font-weight:550}
.bap-image-guide-modal .bap-guide-v573 .bap-enhancement-benefits li::before{content:'✓';position:absolute;left:0;color:#168447;font-weight:950}
.bap-image-guide-modal .bap-guide-v573 .bap-guide-info-card{display:block!important;grid-column:auto!important;padding:19px 22px!important;border:1px solid #c7d8e8!important;background:#f7fbff!important;border-radius:14px!important;color:#53697c!important}
.bap-image-guide-modal .bap-guide-v573 .bap-guide-info-card p{margin:0;line-height:1.45}
.bap-image-guide-modal .bap-guide-v573 .bap-guide-info-title{display:block;color:#173b59;font-size:1rem;font-weight:800;margin-bottom:7px}
.bap-image-guide-modal .bap-guide-v573 .bap-guide-info-copy{display:block}
.bap-image-guide-modal .bap-guide-v573 .bap-v573-price{padding:20px 22px;border:1px solid #c7d8e8;background:#f7fbff;border-radius:14px;min-width:0}
.bap-image-guide-modal .bap-guide-v573 .bap-v573-price-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.bap-image-guide-modal .bap-guide-v573 .bap-v573-tier{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border-radius:12px;border:1px solid #cbd9e5;background:#fff;padding:20px 10px;min-height:127px;text-align:center;color:#17324a;box-shadow:0 3px 10px rgba(28,69,105,.05)}
.bap-image-guide-modal .bap-guide-v573 .bap-v573-tier:nth-child(2){background:#f0eafb;border-color:#d9c8f0}
.bap-image-guide-modal .bap-guide-v573 .bap-v573-tier:nth-child(3){background:#fff5d6;border-color:#e8d391}
.bap-image-guide-modal .bap-guide-v573 .bap-v573-tier:nth-child(4){background:#e5f3e8;border-color:#afd3ba}
.bap-image-guide-modal .bap-guide-v573 .bap-v573-tier strong{font-weight:800;font-size:1.1rem}
.bap-image-guide-modal .bap-guide-v573 .bap-v573-tier b{font-size:2rem;line-height:1.2;color:#0f304b}
.bap-image-guide-modal .bap-guide-v573 .bap-v573-tier span{font-size:.92rem;color:#36536c}
@media(max-width:750px){
 .bap-image-guide-modal .bap-guide-v573 .bap-v573-cols{grid-template-columns:1fr}
 .bap-image-guide-modal .bap-guide-v573 .bap-v573-examples img{max-height:none}
 .bap-image-guide-modal .bap-guide-v573 .bap-v573-price-grid{gap:9px}
 .bap-image-guide-modal .bap-guide-v573 .bap-v573-tier{min-height:100px;padding:12px 6px}
}

/* v8.5.586 — Marketing Package output readability only. */
body.bap-editor-active .bap-output .bap-output-card h3,
body.bap-editor-active .bap-output .bap-custom-images-head strong,
body.bap-editor-active .bap-output .bap-caption-label{
  color:#f3f8ff!important;
}
body.bap-editor-active .bap-output .bap-custom-workspace{
  grid-template-columns:minmax(0,1fr);
}
body.bap-editor-active .bap-output #bap-caption{
  display:block;
  width:100%;
  min-height:300px;
  box-sizing:border-box;
  resize:vertical;
  line-height:1.5;
}


/* v8.5.588 — Marketing Package layout only: stacked posts left, flyer and invitation right. */
body.bap-editor-active .bap-output .bap-output-grid.bap-output-arranged{
  display:grid;
  grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr)!important;
  align-items:start;
  gap:22px!important;
}
body.bap-editor-active .bap-output .bap-output-left,
body.bap-editor-active .bap-output .bap-output-right{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-content:start;
  gap:18px;
  min-width:0;
}
body.bap-editor-active .bap-output .bap-output-right .bap-flyer{
  max-width:none;
  width:100%;
  justify-self:stretch;
  box-sizing:border-box;
}
body.bap-editor-active .bap-output .bap-output-right .bap-flyer .bap-canvas-wrap{
  width:100%;
  max-width:600px;
}
body.bap-editor-active .bap-output .bap-output-right .bap-funnel{
  max-width:none;
  width:100%;
  margin:0;
  box-sizing:border-box;
  padding:18px 4px 0;
}
@media(max-width:800px){
  body.bap-editor-active .bap-output .bap-output-grid.bap-output-arranged{
    grid-template-columns:minmax(0,1fr)!important;
    gap:18px!important;
  }
}


/* v8.5.589 — finished Marketing Package: two unified, equal-height navy columns. */
@media (min-width:801px){
  body.bap-editor-active .bap-output .bap-output-grid.bap-output-arranged{
    align-items:stretch!important;
  }
}
body.bap-editor-active .bap-output .bap-output-grid.bap-output-arranged > .bap-output-left,
body.bap-editor-active .bap-output .bap-output-grid.bap-output-arranged > .bap-output-right{
  background:linear-gradient(180deg,var(--surface-2),var(--surface));
  border:1px solid var(--line);
  border-radius:20px;
  box-shadow:var(--shadow);
  padding:24px;
  gap:0;
  align-content:start;
  box-sizing:border-box;
}
body.bap-editor-active .bap-output .bap-output-grid.bap-output-arranged .bap-output-left > .bap-output-card,
body.bap-editor-active .bap-output .bap-output-grid.bap-output-arranged .bap-output-right > .bap-output-card{
  background:transparent;
  border:0;
  box-shadow:none;
  border-radius:0;
  padding:0;
}
body.bap-editor-active .bap-output .bap-output-grid.bap-output-arranged .bap-quick,
body.bap-editor-active .bap-output .bap-output-grid.bap-output-arranged .bap-flyer{
  padding-bottom:24px!important;
  margin-bottom:24px;
  border-bottom:1px solid var(--line)!important;
}
body.bap-editor-active .bap-output .bap-output-grid.bap-output-arranged .bap-output-right > .bap-funnel{
  padding:0;
  border-top:0;
  color:#f3f8ff;
}
body.bap-editor-active .bap-output .bap-output-grid.bap-output-arranged .bap-funnel h3{
  color:#f3f8ff;
}
body.bap-editor-active .bap-output .bap-output-grid.bap-output-arranged .bap-funnel p{
  color:#cbd9e9;
}
@media(max-width:800px){
  body.bap-editor-active .bap-output .bap-output-grid.bap-output-arranged > .bap-output-left,
  body.bap-editor-active .bap-output .bap-output-grid.bap-output-arranged > .bap-output-right{
    padding:16px;
  }
}

/* Build-A-Post right column: existing Post Content fields moved below Call to Action & Open House. */
body.bap-editor-active .bap-preview-post-content .bap-post-content-fields{padding:12px 14px}
body.bap-editor-active .bap-preview-post-content .bap-post-content-fields .bap-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
body.bap-editor-active .bap-preview-post-content .bap-post-content-fields label{display:block;min-width:0;color:#13263d;font-weight:700}
body.bap-editor-active .bap-preview-post-content .bap-post-content-fields input,body.bap-editor-active .bap-preview-post-content .bap-post-content-fields textarea{display:block;width:100%;box-sizing:border-box;margin-top:5px;padding:9px 10px;border:1px solid #b9ccdd;border-radius:6px;background:#fff;color:#10253e;font:inherit}
body.bap-editor-active .bap-preview-post-content .bap-post-content-fields textarea{min-height:94px;resize:vertical}
body.bap-editor-active .bap-preview-post-content .bap-post-content-fields .bap-field-help,body.bap-editor-active .bap-preview-post-content .bap-post-content-fields .bap-helper{color:#516e87;font-weight:400}

/* v8.5.592 — Interior / Exterior only: compact Property Details-style fields. */
body.bap-editor-active #bap-interior .bap-interior-fields,
body.bap-editor-active #bap-exterior .bap-exterior-fields{
  row-gap:11px!important;
  column-gap:11px!important;
  align-items:start!important;
}
body.bap-editor-active #bap-interior .bap-interior-fields>label,
body.bap-editor-active #bap-exterior .bap-exterior-fields>label{
  display:grid!important;
  grid-template-rows:auto 38px auto!important;
  gap:5px!important;
  min-width:0;
  align-content:start!important;
}
body.bap-editor-active #bap-interior .bap-field-head,
body.bap-editor-active #bap-exterior .bap-field-head{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:10px!important;
  min-height:18px!important;
  line-height:1.2!important;
}
body.bap-editor-active #bap-interior .bap-field-title,
body.bap-editor-active #bap-exterior .bap-field-title{
  text-align:left!important;
  min-width:0;
}
body.bap-editor-active #bap-interior .bap-field-head .bap-optional,
body.bap-editor-active #bap-exterior .bap-field-head .bap-optional{
  display:block!important;
  margin-left:auto!important;
  text-align:right!important;
  white-space:nowrap!important;
}
body.bap-editor-active #bap-interior .bap-fields>label>input,
body.bap-editor-active #bap-interior .bap-fields>label>textarea,
body.bap-editor-active #bap-exterior .bap-fields>label>input,
body.bap-editor-active #bap-exterior .bap-fields>label>textarea{
  display:block!important;
  width:100%!important;
  height:38px!important;
  min-height:38px!important;
  box-sizing:border-box!important;
  margin:0!important;
}
body.bap-editor-active #bap-interior .bap-fields>label>textarea,
body.bap-editor-active #bap-exterior .bap-fields>label>textarea{
  resize:none!important;
  overflow:auto!important;
  scrollbar-width:none!important;
}
body.bap-editor-active #bap-interior .bap-fields>label>textarea::-webkit-scrollbar,
body.bap-editor-active #bap-exterior .bap-fields>label>textarea::-webkit-scrollbar{
  display:none!important;
  width:0!important;
  height:0!important;
}
body.bap-editor-active #bap-interior .bap-field-help,
body.bap-editor-active #bap-exterior .bap-field-help{
  display:block!important;
  text-align:left!important;
  margin:0!important;
  line-height:1.25!important;
}

/* Build-A-Post CTA statement library only */
body.bap-editor-active #bap-cta-library{display:grid;gap:6px}
body.bap-editor-active #bap-cta-library [hidden]{display:none!important}

/* Build-A-Post image version choice only: align Original with the existing Enhanced selector. */
body.bap-editor-active #bap-previews .bap-original-select{display:flex!important;flex-direction:row!important;align-items:center!important;gap:9px!important;width:100%!important;box-sizing:border-box!important;min-height:38px!important;margin-top:6px!important;padding:0 2px!important;font-size:1.02rem!important;font-weight:850!important;color:#193c57!important;cursor:pointer}
body.bap-editor-active #bap-previews .bap-original-select input[type="radio"]{display:block!important;position:static!important;appearance:auto!important;width:20px!important;height:20px!important;max-width:20px!important;min-width:20px!important;margin:0!important;padding:0!important;flex:none!important;accent-color:#087de4!important}
body.bap-editor-active #bap-previews .bap-original-select span{display:inline!important;flex:1!important;width:auto!important;margin:0!important;padding:0!important;line-height:1.3!important}
