*{box-sizing:border-box}
:root{--ink:#f5f3ff;--muted:#b8b1cb;--line:#49405d;--soft:#0d0918;--card:#1b142b;--accent:#caff38;--warn:#92400e;--warnbg:#fffbeb;--ok:#166534;--okbg:#f0fdf4}
body{margin:0;background:var(--soft);color:var(--ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.app-shell{max-width:760px;margin:0 auto;padding:18px 14px 54px}
.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.brand{font-weight:950;letter-spacing:.025em;font-size:1.25rem}.brand span{font-weight:750}.tagline{font-size:.78rem;color:var(--muted)}
.top-actions{display:flex;gap:8px;align-items:center}.icon-btn{border:1px solid var(--line);background:white;border-radius:50%;width:42px;height:42px;font-size:1.05rem}
.card{background:var(--card);border-radius:20px;padding:18px;margin-bottom:14px;box-shadow:0 8px 30px rgba(17,24,39,.06)}
.hero h1{font-size:1.68rem;line-height:1.08;margin:8px 0}.hero p{color:#4b5563;line-height:1.5}.badge{display:inline-block;font-size:.71rem;padding:5px 9px;border-radius:999px;background:var(--ink);color:white;font-weight:800}
.marketing-hero{position:relative;overflow:hidden;padding:24px;background:linear-gradient(135deg,#ffffff 0%,#f0fdfa 58%,#eef2ff 100%);border:1px solid rgba(15,118,110,.12)}
.marketing-hero::after{content:"";position:absolute;width:190px;height:190px;border-radius:50%;right:-92px;top:-105px;background:radial-gradient(circle,rgba(99,102,241,.22),rgba(99,102,241,0) 70%);pointer-events:none}
.marketing-hero h1{max-width:650px;font-size:2rem;line-height:1.06;margin:12px 0 10px;letter-spacing:-.025em}.marketing-lead{max-width:650px;margin:0;font-size:1rem}
.marketing-benefits{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.marketing-benefits span{display:inline-flex;align-items:center;border:1px solid rgba(15,118,110,.14);background:rgba(255,255,255,.76);border-radius:999px;padding:8px 10px;font-size:.78rem;font-weight:800;color:#374151}
.marketing-actions{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:10px;margin-top:16px;max-width:580px}.marketing-actions a{display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;min-height:48px}.marketing-primary{background:linear-gradient(135deg,#111827,#0f766e);box-shadow:0 10px 24px rgba(15,118,110,.2)}.marketing-secondary{border-radius:14px;background:rgba(255,255,255,.88);white-space:normal}.marketing-reassurance{display:block;color:#6b7280;font-size:.75rem;font-weight:750;margin-top:9px}
.section-title-row,.result-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.section-title{display:block;font-weight:850;margin-bottom:12px}.counter{font-size:.78rem;color:var(--muted);font-weight:800}
.photo-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.photo-button{min-height:112px;border:2px dashed #c7cbd1;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;padding:14px}.photo-button input{display:none}.photo-button span{font-size:1.7rem}.photo-button strong{font-size:.95rem}.photo-button:active{transform:scale(.99)}
.hint{font-size:.8rem;color:var(--muted);line-height:1.45;margin:10px 0 0}.preview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:4px 0 12px;scroll-margin-top:72px}.preview-item{position:relative}.preview-item img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:12px;display:block}.remove-photo{position:absolute;right:5px;top:5px;width:28px;height:28px;border:0;border-radius:50%;background:rgba(17,24,39,.8);color:#fff;font-weight:900}.preview-pending img{opacity:.82}.preview-loader{position:absolute;left:50%;top:50%;width:28px;height:28px;margin:-14px;border:3px solid rgba(255,255,255,.72);border-top-color:#0f766e;border-radius:50%;animation:previewSpin .8s linear infinite;box-shadow:0 2px 8px rgba(17,24,39,.18)}@keyframes previewSpin{to{transform:rotate(360deg)}}
.chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:6px;margin-bottom:10px}.chip,.ghost{border:1px solid var(--line);background:white;border-radius:999px;padding:9px 12px;font-weight:750;white-space:nowrap}.chip.active{background:var(--ink);color:#fff;border-color:var(--ink)}
.platform-notice{font-size:.82rem;line-height:1.45;border-radius:12px;padding:10px 12px;background:#f9fafb;color:#4b5563;margin:5px 0 4px}
.field{display:block;margin:14px 0}.field span,.result-block span{display:block;font-size:.83rem;font-weight:800;margin-bottom:6px;color:#374151}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:10px}
select,textarea,input{width:100%;border:1px solid var(--line);background:#fff;border-radius:12px;padding:12px;color:var(--ink)}textarea{resize:vertical}
.primary{width:100%;border:0;border-radius:14px;padding:14px 16px;font-weight:900;font-size:1rem;background:var(--ink);color:#fff}.primary:disabled{opacity:.5;cursor:wait}.small-primary{width:auto;padding:10px 16px}
.status{min-height:1.3em;font-size:.86rem;color:var(--muted);text-align:center;margin:10px 0 0;line-height:1.4}.status.error{color:#b91c1c}.status.ok{color:var(--ok)}
.hidden{display:none!important}.result-block{margin:12px 0}.result-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.confidence-pill{display:inline-block;font-size:.72rem;border-radius:999px;padding:4px 8px;background:#f3f4f6;color:#4b5563;font-weight:750}.price-note{font-size:.79rem;color:var(--muted);line-height:1.4;margin-top:-4px}
.analysis-panels{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.analysis-panels>div{border:1px solid #e5e7eb;border-radius:14px;padding:12px}.analysis-panels h3{font-size:.86rem;margin:0 0 8px}.analysis-panels ul{margin:0;padding-left:18px;color:#4b5563;font-size:.82rem;line-height:1.5}.analysis-panels li+li{margin-top:4px}.safe-note{font-size:.8rem;line-height:1.48;background:var(--warnbg);color:var(--warn);padding:12px;border-radius:13px;margin-top:14px}
footer{text-align:center;color:#9ca3af;font-size:.75rem;margin-top:20px}
.app-footer{display:grid;gap:12px}.app-legal-links{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 15px}.app-legal-links a{color:#4b5563;font-weight:800;text-decoration:none}.app-legal-links a:hover{text-decoration:underline}
.legal-shell{max-width:820px;margin:0 auto;padding:20px 14px 54px}.legal-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 2px 22px}.legal-top a{color:#0f766e;font-weight:850;text-decoration:none}.legal-top strong{letter-spacing:.03em}.legal-top strong span{font-weight:700}.legal-hero,.legal-section{background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:clamp(20px,5vw,38px);margin-bottom:14px;box-shadow:0 8px 30px rgba(17,24,39,.05)}.legal-hero{background:linear-gradient(135deg,#fff,#f0fdfa 58%,#eef2ff)}.legal-hero>span{color:#0f766e;font-size:.72rem;font-weight:950;letter-spacing:.1em}.legal-hero h1{margin:12px 0 10px;font-size:clamp(2rem,7vw,3.6rem);line-height:1.02;letter-spacing:-.045em}.legal-hero p,.legal-section p{color:#4b5563;line-height:1.7}.legal-index{position:sticky;top:8px;z-index:4;display:flex;gap:8px;overflow-x:auto;padding:10px;margin-bottom:14px;border:1px solid #d1d5db;border-radius:16px;background:rgba(255,255,255,.94);box-shadow:0 8px 24px rgba(17,24,39,.09);backdrop-filter:blur(10px)}.legal-index a{white-space:nowrap;padding:8px 11px;border-radius:999px;background:#f3f4f6;color:#374151;font-size:.78rem;font-weight:850;text-decoration:none}.legal-section{scroll-margin-top:85px}.legal-section h2{margin:0 0 22px;font-size:1.65rem}.legal-section h3{margin:26px 0 7px;font-size:1rem}.legal-section a{color:#0f766e;font-weight:700}.legal-section details{border-top:1px solid #e5e7eb;padding:15px 0}.legal-section details:last-child{border-bottom:1px solid #e5e7eb}.legal-section summary{cursor:pointer;font-weight:850}.legal-section details p{margin-bottom:2px}.legal-alert{padding:14px 16px;border:1px solid #fed7aa;border-radius:13px;background:#fff7ed;color:#9a3412!important}.legal-footer{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:22px 4px}.legal-footer a{color:#0f766e;font-weight:850}
dialog{border:0;border-radius:20px;padding:0;width:min(92vw,520px);box-shadow:0 20px 60px rgba(0,0,0,.25)}dialog::backdrop{background:rgba(17,24,39,.48)}.dialog-card{padding:20px}.dialog-card h2{margin-top:0}.dialog-copy{color:var(--muted);font-size:.88rem;line-height:1.5}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;align-items:center}.dialog-actions .ghost{border-radius:12px}
@media(max-width:560px){.hero h1{font-size:1.46rem}.marketing-hero{padding:20px 18px}.marketing-hero h1{font-size:1.72rem}.marketing-actions{grid-template-columns:1fr}.result-row,.analysis-panels,.two-col{grid-template-columns:1fr}.photo-actions{grid-template-columns:1fr 1fr}.card{border-radius:18px}.app-shell{padding-left:12px;padding-right:12px}}
@media(max-width:390px){.photo-actions{grid-template-columns:1fr}.preview-grid{grid-template-columns:repeat(2,1fr)}}

.pricing-card{background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)}
.pricing-subtitle{margin:0;color:#4b5563;line-height:1.45;font-size:.9rem}
.plan-pill{font-size:.78rem;border-radius:999px;background:#eef2ff;color:#3730a3;padding:7px 10px;font-weight:800;white-space:nowrap}
.pricing-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.plan-card{border:1.5px solid #e5e7eb;border-radius:18px;padding:16px;background:#fff;position:relative;box-shadow:0 6px 20px rgba(17,24,39,.04)}
.plan-card.active{border-color:#111827;box-shadow:0 10px 30px rgba(17,24,39,.08)}
.plan-card.featured{background:linear-gradient(180deg,#111827 0%,#1f2937 100%);color:#fff;border-color:#111827}.plan-card.featured .plan-copy,.plan-card.featured .plan-features li{color:#e5e7eb}.plan-card.featured .ghost{background:#fff;color:#111827}
.plan-tag{display:inline-block;border-radius:999px;padding:5px 9px;background:#f3f4f6;color:#111827;font-size:.72rem;font-weight:900;margin-bottom:10px}.plan-tag.pro{background:#fef3c7;color:#92400e}
.plan-card h3{margin:0 0 6px;font-size:1.15rem}.plan-price{font-size:2rem;font-weight:950;line-height:1.05;margin:0 0 8px}.plan-price span{font-size:.95rem;font-weight:800;opacity:.8;margin-left:4px}
.plan-copy{font-size:.87rem;line-height:1.45;color:#4b5563;min-height:52px}.plan-features{margin:0 0 14px;padding-left:18px;font-size:.86rem;line-height:1.5}.plan-features li+li{margin-top:4px}.plan-btn{width:100%;justify-content:center}
.usage-note{margin-top:12px;border-radius:14px;padding:11px 13px;background:#f9fafb;color:#4b5563;font-size:.83rem;line-height:1.45}
.paypal-area{margin-top:14px;border:1px solid #e5e7eb;border-radius:18px;padding:16px;background:#fffaf4}.paypal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.paypal-head h3{margin:0 0 6px}.paypal-copy{margin:0;color:#4b5563;font-size:.86rem;line-height:1.45}.paypal-badge{border-radius:999px;background:#003087;color:#fff;padding:7px 10px;font-size:.78rem;font-weight:900}
.paypal-status{margin-top:12px;font-size:.84rem;line-height:1.45;color:#4b5563}.paypal-buttons{margin-top:12px;min-height:8px}.paypal-fallback{margin-top:10px;border-radius:14px;padding:12px 14px;font-weight:900}
@media(max-width:560px){.pricing-grid{grid-template-columns:1fr}.paypal-head{flex-direction:column}.plan-copy{min-height:0}}

/* V2.6 visual-first photo flow */
.photo-placeholders{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:4px 0 12px}.photo-placeholders span{display:grid;place-items:center;aspect-ratio:1;border-radius:15px;background:linear-gradient(145deg,#f8fafc,#e5e7eb);border:1px solid #d1d5db;color:#9ca3af;font-size:1.8rem;font-weight:300}.visual-photo-actions .photo-button{min-height:62px;border-style:solid;background:#fff}.visual-photo-actions .photo-button span{font-size:1.3rem}
.studio-collapsed{padding:0;overflow:hidden}.studio-entry{list-style:none;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:17px 18px;cursor:pointer}.studio-entry::-webkit-details-marker{display:none}.studio-entry>span:first-child{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#ecfdf5;font-size:1.25rem}.studio-entry strong,.studio-entry small{display:block}.studio-entry small{color:var(--muted);font-size:.78rem;line-height:1.35;margin-top:3px}.studio-collapsed[open] .studio-entry>span:last-child{transform:rotate(90deg)}.studio-inner{padding:0 18px 18px;border-top:1px solid #eef2f7}.studio-inner>.section-title-row{display:none}
.result-label{display:flex;align-items:center;justify-content:space-between;gap:8px}.field-copy{display:grid;place-items:center;width:34px;height:34px;border:1px solid #d1d5db;border-radius:10px;background:#fff;color:#0f766e;font-size:1.05rem;font-weight:900}.field-copy.copied{background:#ecfdf5;border-color:#10b981;color:#047857}
@media(max-width:390px){.photo-placeholders{gap:6px}.photo-placeholders span{border-radius:12px}.visual-photo-actions{grid-template-columns:1fr 1fr!important}.visual-photo-actions .photo-button{padding:9px;font-size:.82rem}}
.ui-language{display:flex;align-items:center;gap:5px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:5px 8px;height:42px}.ui-language span{font-size:.95rem}.ui-language select{width:auto;border:0;background:transparent;padding:0 2px;border-radius:0;font-size:.78rem;font-weight:900;outline:none}.ui-language select:focus{outline:2px solid #c7d2fe;outline-offset:2px}
@media(max-width:430px){.top-actions{gap:5px}.ui-language{padding:5px 6px}.ui-language span{display:none}.icon-btn{width:40px;height:40px}.topbar .ghost{padding:8px 10px}}

.pwa-install-banner{position:fixed;z-index:1000;left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));max-width:720px;margin:0 auto;display:flex;align-items:flex-start;gap:12px;padding:15px 46px 15px 15px;border:1px solid rgba(15,118,110,.22);border-radius:20px;background:rgba(255,255,255,.97);box-shadow:0 18px 55px rgba(17,24,39,.24);backdrop-filter:blur(14px)}
.pwa-install-icon{width:52px;height:52px;flex:0 0 52px;border-radius:13px;box-shadow:0 5px 16px rgba(17,24,39,.14)}
.pwa-install-content{min-width:0}.pwa-install-content strong{display:block;font-size:.96rem;line-height:1.3}.pwa-install-content p{margin:4px 0 0;color:#4b5563;font-size:.82rem;line-height:1.42}.pwa-install-content .pwa-ios-instructions{margin-top:8px;color:#111827;font-weight:750}
.pwa-install-action{margin-top:10px;border:0;border-radius:12px;padding:10px 15px;background:linear-gradient(135deg,#111827,#0f766e);color:#fff;font-weight:900}
.pwa-install-close{position:absolute;right:10px;top:9px;width:32px;height:32px;border:0;border-radius:50%;background:#f3f4f6;color:#4b5563;font-size:1.35rem;line-height:1}
@media(max-width:430px){.pwa-install-banner{align-items:center;padding:13px 42px 13px 12px}.pwa-install-icon{width:44px;height:44px;flex-basis:44px}.pwa-install-content strong{font-size:.88rem}.pwa-install-content p{font-size:.77rem}}

.analysis-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.analysis-summary-grid .result-block{margin:0}@media(max-width:720px){.analysis-summary-grid{grid-template-columns:1fr}}
.ai-wait-card{margin-top:12px;border:1px solid #e5e7eb;border-radius:18px;padding:14px;background:linear-gradient(135deg,#ffffff 0%,#f8fafc 55%,#f0fdfa 100%);display:flex;align-items:center;gap:14px;box-shadow:0 10px 28px rgba(17,24,39,.06);overflow:hidden}
.ai-wait-visual{width:66px;height:66px;min-width:66px;position:relative;display:grid;place-items:center}
.ai-center{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#111827;color:#fff;font-size:1.2rem;animation:aiPulse 1.7s ease-in-out infinite;box-shadow:0 8px 20px rgba(17,24,39,.18)}
.ai-orbit{position:absolute;inset:0;border:2px solid #ccfbf1;border-top-color:#0f766e;border-radius:50%;animation:aiSpin 1.5s linear infinite}
.ai-orbit span{position:absolute;right:-2px;top:5px;font-size:.9rem}
.ai-wait-copy{min-width:0;flex:1}
.ai-wait-copy strong{display:block;font-size:.95rem;margin-bottom:4px}
.ai-wait-copy>span{display:block;color:#4b5563;font-size:.86rem;line-height:1.4;min-height:1.4em}
.ai-wait-copy small{display:block;color:#9ca3af;font-size:.75rem;margin-top:7px}
.ai-progress{height:7px;border-radius:999px;background:#e5e7eb;overflow:hidden;margin-top:10px}
.ai-progress span{display:block;height:100%;width:8%;border-radius:inherit;background:#111827;transition:width .8s ease}
@keyframes aiSpin{to{transform:rotate(360deg)}}
@keyframes aiPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}
@media(max-width:430px){.ai-wait-card{align-items:flex-start}.ai-wait-visual{width:54px;height:54px;min-width:54px}.ai-center{width:36px;height:36px;font-size:1rem}}
@media(prefers-reduced-motion:reduce){.ai-orbit,.ai-center{animation:none}.ai-progress span{transition:none}}

.pro-price-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:4px 0 10px}.pro-price-option{border:1px solid rgba(255,255,255,.18);border-radius:14px;padding:10px}.annual-highlight{background:rgba(255,255,255,.08)}.price-option-label{display:block;font-size:.7rem;font-weight:900;opacity:.88;margin-bottom:5px}.pro-price-options .plan-price{font-size:1.45rem;margin:0}.stripe-plan-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stripe-plan-actions .paypal-fallback{width:100%;margin-top:10px}.annual-btn{box-shadow:0 0 0 2px rgba(17,24,39,.08)}.subscription-note{font-size:.78rem;line-height:1.45;color:#6b7280;margin:12px 0 10px}.manage-subscription-btn{display:flex;width:100%;justify-content:center;text-decoration:none;box-sizing:border-box}.manage-subscription-btn:hover{text-decoration:none}@media(max-width:560px){.pro-price-options,.stripe-plan-actions{grid-template-columns:1fr}}
body.checkout-modal-open{overflow:hidden}
body.checkout-modal-open #stripeArea.checkout-panel{position:fixed;z-index:10000;inset:12px;display:block;max-width:620px;max-height:calc(100dvh - 24px);margin:auto;overflow:auto;overscroll-behavior:contain;background:#fff;border:2px solid #0f766e;border-radius:20px;padding:18px;box-shadow:0 24px 80px rgba(15,23,42,.38)}
body.checkout-modal-open #stripeArea.checkout-panel.hidden{display:none}
.welcome-overlay{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px;background:rgba(17,24,39,.72);backdrop-filter:blur(6px)}
.welcome-overlay.hidden{display:none}
.welcome-card{width:min(460px,100%);padding:32px 26px;text-align:center;border-radius:24px;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.3)}
.welcome-card h2{margin:8px 0 12px;color:#111827;font-size:clamp(1.55rem,5vw,2.15rem)}
.welcome-card p{margin:0 0 22px;color:#4b5563;line-height:1.6}
.welcome-icon{font-size:3rem}
.welcome-card .primary{width:100%}
.dialog-close{position:absolute;right:14px;top:12px;border:0;background:#f3f4f6;width:34px;height:34px;border-radius:50%;font-size:1.35rem}.restore-card{position:relative}.restore-card .field{text-align:left;margin:14px 0}.restore-card .status{margin-top:12px}
.studio-card{background:linear-gradient(145deg,#fff,#f0fdfa)}.studio-empty{padding:24px;border:2px dashed #cbd5e1;border-radius:16px;text-align:center;color:#64748b}.studio-canvas{display:block;width:100%;max-height:520px;object-fit:contain;margin:14px auto;background:#e5e7eb;border-radius:16px;box-shadow:0 8px 24px rgba(15,23,42,.1)}.studio-controls{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.studio-controls label{font-size:.78rem;font-weight:800;color:#475569}.studio-controls input{display:block;width:100%;margin-top:6px}.studio-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.studio-actions button{flex:1 1 145px}.studio-card .safe-note{margin-top:14px}@media(max-width:560px){.studio-controls{grid-template-columns:1fr}}
.studio-comparison{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.studio-comparison figure{margin:0;padding:10px;border:1px solid #dbe3ea;border-radius:18px;background:#fff}.studio-comparison figcaption{display:inline-block;margin:0 0 8px;padding:5px 9px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:.75rem;font-weight:900}.studio-comparison .studio-improved{border:2px solid #14b8a6;background:linear-gradient(145deg,#fff,#ecfdf5)}.studio-comparison .studio-improved figcaption{background:#ccfbf1;color:#115e59}.studio-compare-image,.studio-comparison .studio-canvas{display:block;width:100%;height:clamp(210px,35vw,420px);max-height:none;object-fit:contain;margin:0;background:#e5e7eb;border-radius:12px;box-shadow:none}@media(max-width:680px){.studio-comparison{grid-template-columns:1fr}.studio-compare-image,.studio-comparison .studio-canvas{height:auto;max-height:420px}}
.studio-next{margin-top:16px;padding:18px;border:1px solid #99f6e4;border-radius:17px;background:linear-gradient(135deg,#ecfdf5,#fff 68%,#eef2ff);box-shadow:0 12px 30px rgba(15,118,110,.1)}.studio-next-icon{display:block;font-size:1.5rem;margin-bottom:7px}.studio-next strong{display:block;font-size:1rem;line-height:1.35;color:#111827}.studio-next p{margin:7px 0 14px;color:#4b5563;font-size:.86rem;line-height:1.5}.studio-next .primary{background:linear-gradient(135deg,#111827,#0f766e)}
.studio-capture-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.studio-capture-actions .photo-button{min-height:92px;cursor:pointer}@media(max-width:390px){.studio-capture-actions{grid-template-columns:1fr}}
.studio-background-tools{margin:14px 0;padding:14px;border:1px solid #99f6e4;border-radius:15px;background:#f0fdfa}.studio-background-tools>.primary{width:100%}.studio-background-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}.studio-background{padding:9px 7px;border:1px solid #cbd5e1;border-radius:11px;background:#fff;color:#334155;font-weight:800}.studio-background.active{border-color:#0f766e;background:#ccfbf1;color:#115e59}.studio-background-status{min-height:1.25em;margin-top:9px;color:#475569;font-size:.8rem;line-height:1.45}.studio-canvas[data-transparent="true"]{background-color:#fff;background-image:linear-gradient(45deg,#e5e7eb 25%,transparent 25%),linear-gradient(-45deg,#e5e7eb 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e5e7eb 75%),linear-gradient(-45deg,transparent 75%,#e5e7eb 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}@media(max-width:560px){.studio-background-choices{grid-template-columns:1fr}}
.studio-compare-wrap{margin:14px 0}.studio-compare-frame{position:relative;width:100%;aspect-ratio:4/3;overflow:hidden;border-radius:18px;background:#e5e7eb;box-shadow:0 10px 28px rgba(15,23,42,.14)}.studio-compare-frame>.studio-compare-image,.studio-improved-layer{position:absolute;inset:0;width:100%;height:100%}.studio-compare-frame>.studio-compare-image,.studio-improved-layer .studio-canvas{display:block;width:100%;height:100%;object-fit:contain;margin:0;border-radius:0;box-shadow:none}.studio-improved-layer{clip-path:inset(0 50% 0 0)}.studio-label{position:absolute;top:10px;z-index:3;padding:5px 9px;border-radius:999px;background:rgba(17,24,39,.78);color:#fff;font-size:.72rem;font-weight:900;pointer-events:none}.studio-label-before{right:10px}.studio-label-after{left:10px;background:rgba(15,118,110,.9)}.studio-compare-handle{position:absolute;z-index:4;left:50%;top:0;bottom:0;width:3px;background:#fff;box-shadow:0 0 0 1px rgba(15,23,42,.15);pointer-events:none}.studio-compare-handle:after{content:'↔';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#fff;color:#0f766e;font-weight:900;box-shadow:0 5px 16px rgba(0,0,0,.25)}.studio-compare-control{display:block;margin-top:9px;text-align:center;font-size:.78rem;font-weight:800;color:#475569}.studio-compare-control input{display:block;width:100%;margin-top:6px}.studio-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.studio-preset{padding:10px 8px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#334155;font-weight:800}.studio-preset.active{border-color:#0f766e;background:#ccfbf1;color:#115e59;box-shadow:0 0 0 2px rgba(20,184,166,.14)}.studio-format{display:flex;flex:1 1 180px;align-items:center;gap:8px;padding:7px 10px;border:1px solid #dbe3ea;border-radius:12px;background:#fff;color:#475569;font-size:.78rem;font-weight:800}.studio-format select{flex:1;min-width:0}@media(max-width:560px){.studio-presets{grid-template-columns:1fr}.studio-compare-frame{aspect-ratio:1/1}}
.result-actions{display:flex;gap:8px;flex-wrap:wrap}.history-list{display:grid;gap:10px;margin-top:12px}.history-item{border:1px solid #e2e8f0;border-radius:16px;padding:14px;background:#fff}.history-item-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.history-item-head strong{font-size:.96rem}.history-item-head small{white-space:nowrap;color:#64748b}.history-item p{color:#64748b;font-size:.82rem;margin:8px 0}.history-actions{display:flex;gap:8px;flex-wrap:wrap}.history-actions button{padding:8px 12px}.history-actions .danger{color:#b91c1c;border-color:#fecaca}.history-card{border-top:4px solid #0f766e}@media(max-width:560px){.history-card .section-title-row{display:grid}.history-actions{width:100%}.history-actions button{flex:1 1 150px;white-space:normal}}
.language-variants{margin:16px 0;padding:14px 16px;border:1px solid #dbe6f4;border-radius:14px;background:#f8fbff}.language-variants summary{cursor:pointer;font-weight:800;color:#1d4ed8}.language-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:12px}.language-checks label{display:flex;align-items:center;gap:7px;padding:9px 10px;border:1px solid #dbe6f4;border-radius:10px;background:#fff;font-size:.88rem}.result-language-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 18px}.language-tab{padding:9px 12px;border:1px solid #93c5fd;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-weight:800;cursor:pointer}.language-tab.active{background:#2563eb;color:#fff;border-color:#2563eb}@media(max-width:640px){.language-checks{grid-template-columns:repeat(2,minmax(0,1fr))}.language-tab{flex:1 1 auto}}
/* V2.5.36 — compact mobile-safe retry button */
.studio-background-tools{min-width:0;overflow:hidden}
.studio-background-tools #studioTryAnother{display:block;width:auto;max-width:min(100%,360px);margin:12px auto 0;padding:9px 14px;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;line-height:1.25;text-align:center;font-size:.84rem}
@media(max-width:420px){.studio-background-tools #studioTryAnother{max-width:92%;padding:8px 12px;font-size:.8rem}}

/* V2.5.46: comparison is self-explanatory; remove the persistent green/grey stickers. */
.studio-label{display:none!important;}

/* V2.6.7 — entrée immédiate et parcours photo plein écran */
:root{--action:#f06432;--action-dark:#d94f22;--ink:#24272d;--warm:#fff8f1;--success:#0f766e}
body{background:linear-gradient(180deg,var(--warm),#f7f8fb 34%,#eef2f7);color:var(--ink)}
.marketing-hero{background:linear-gradient(145deg,#fffaf5,#fff 68%);border-color:#ffd8c5;text-align:center}
.marketing-hero .badge{background:#fff0e7;color:#b83e16}.marketing-primary,.welcome-action.primary,.primary{background:var(--action);border-color:var(--action);color:#fff}.marketing-primary:hover,.welcome-action.primary:hover,.primary:hover{background:var(--action-dark)}
.welcome-action{min-height:72px;display:flex!important;align-items:center;justify-content:center;gap:10px;font-size:1.05rem}.welcome-action>span:first-child{font-size:1.45rem}
.marketing-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.marketing-reassurance{font-weight:850;color:#5b4b43}
.studio-flow-head,.studio-flow-footer{display:none}
body.studio-flow-active{overflow:hidden}
body.studio-flow-active #photoStudio{display:block;position:fixed;inset:0;z-index:9999;margin:0;border:0;border-radius:0;background:#fff;overflow:auto;padding:0 16px 110px}
body.studio-flow-active #photoStudio>summary{display:none}
body.studio-flow-active .studio-flow-head{position:sticky;top:0;z-index:8;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;padding:9px 0;background:rgba(255,255,255,.98);backdrop-filter:blur(10px)}
.studio-flow-close{width:42px;height:42px;border:1px solid #e2e5e9;border-radius:50%;background:#fff;color:var(--ink);font-size:1.7rem;line-height:1}.studio-flow-progress{grid-column:2;display:flex;justify-content:center;gap:7px}.studio-flow-progress i{width:28px;height:5px;border-radius:99px;background:#e3e5e8}.studio-flow-progress i.active{background:var(--action)}
.studio-flow-center{grid-column:2;display:grid;justify-items:center;gap:6px}.studio-flow-center .studio-flow-progress{grid-column:auto}.studio-flow-center strong{font-size:.88rem;color:var(--ink)}
body.studio-flow-active .studio-inner{padding:8px 0 20px;border:0}body.studio-flow-active .studio-inner>.hint,body.studio-flow-active .studio-inner>.section-title-row{display:none}
body.studio-flow-active .studioWorkspace>.field,body.studio-flow-active #studioWorkspace>.field{display:none}
.studio-photo-manager{width:min(100%,620px);margin:0 auto 10px}.studio-photo-manager-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;font-size:.83rem}.studio-photo-manager-head strong{line-height:1.3}.studio-photo-manager-head span{flex:0 0 auto;padding:4px 8px;border-radius:999px;background:#fff0e7;color:#a53b17;font-weight:900}.studio-photo-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.studio-photo-thumb{position:relative;min-width:0;aspect-ratio:1;border:2px solid transparent;border-radius:11px;padding:0;overflow:hidden;background:#edf0f3;color:#8b929c;font-size:1.45rem;font-weight:700}.studio-photo-thumb img{width:100%;height:100%;display:block;object-fit:cover}.studio-photo-thumb span{position:absolute;left:3px;bottom:3px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:rgba(17,24,39,.78);color:#fff;font-size:.7rem}.studio-photo-thumb.active{border-color:var(--action);box-shadow:0 0 0 2px rgba(240,100,50,.16)}.studio-photo-thumb.empty{border:1px dashed #b9bec6}.studio-photo-manager .studio-capture-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0 0}.studio-photo-manager .studio-capture-actions button{min-height:40px;padding:8px 10px;white-space:normal}
body.studio-flow-active .studio-compare-frame{width:min(100%,620px);height:min(50vh,480px);margin:0 auto;aspect-ratio:auto;background:#f1f2f4}
body.studio-flow-active .studio-flow-footer{position:fixed;left:0;right:0;bottom:0;z-index:10;display:grid;grid-template-columns:.7fr 1.3fr;gap:10px;padding:12px max(16px,calc((100vw - 680px)/2));background:rgba(255,255,255,.97);box-shadow:0 -8px 24px rgba(31,41,55,.12)}
body.studio-flow-active .studio-flow-footer button{min-height:52px}
body.studio-flow-active .studio-flow-footer button{min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.2}
.studio-flow-save{display:none}
#photoStudio[data-flow-step="1"] .studio-background-tools,#photoStudio[data-flow-step="1"] .studio-actions{display:none}
#photoStudio[data-flow-step="2"] .studio-presets,#photoStudio[data-flow-step="2"] .studio-controls,#photoStudio[data-flow-step="2"] .studio-actions{display:none}
#photoStudio[data-flow-step="2"] #studioBackgroundChoices{display:none!important}
#photoStudio[data-flow-step="3"] .studio-presets,#photoStudio[data-flow-step="3"] .studio-controls,#photoStudio[data-flow-step="3"] .studio-actions,#photoStudio[data-flow-step="3"] #studioRemoveBackground,#photoStudio[data-flow-step="3"] .studio-processing-note,#photoStudio[data-flow-step="3"] #studioTryAnother{display:none}
#photoStudio[data-flow-step="3"] .studio-background-choices{grid-template-columns:repeat(3,1fr)}
#photoStudio[data-flow-step="3"] #studioPan,#photoStudio[data-flow-step="3"] #studioEraser{grid-column:span 3;min-height:52px;font-size:1rem}
#photoStudio[data-flow-step="3"] #studioEraser{background:var(--action);border-color:var(--action);color:#fff;box-shadow:0 8px 22px rgba(240,100,50,.24)}
.studio-eraser-invitation{display:none;grid-column:1/-1;margin:2px 0 0;padding:11px 12px;border-radius:12px;background:#fff4ec;color:#8f3516;font-size:.9rem;font-weight:800;line-height:1.4;text-align:center}
#photoStudio[data-flow-step="3"] .studio-eraser-invitation{display:block}
#photoStudio[data-flow-step="4"] .studio-presets,#photoStudio[data-flow-step="4"] .studio-controls,#photoStudio[data-flow-step="4"] .studio-background-tools{display:none}
#photoStudio[data-flow-step="4"] .studio-actions{display:none}
body.studio-flow-active #photoStudio[data-flow-step="4"]{padding-bottom:250px}
#photoStudio[data-flow-step="4"] .studio-flow-footer{grid-template-columns:1fr}
#photoStudio[data-flow-step="4"] .studio-flow-save{display:block;border:2px solid #0f766e;background:#ecfdf5;color:#115e59;font-weight:900}
#photoStudio[data-flow-step="4"] #studioFlowNext{min-height:48px;padding:10px 16px;font-size:1rem}
@media(max-width:520px){.marketing-actions{grid-template-columns:1fr}.marketing-benefits{margin-top:20px}.marketing-lead{font-size:.95rem}.marketing-hero h1{font-size:2rem}}
@media(max-width:520px){body.studio-flow-active .studio-compare-frame{height:44vh;min-height:285px}.studio-compare-wrap{margin-top:2px}.studio-compare-control{margin-top:5px}}
@media(max-width:390px){.studio-photo-strip{gap:4px}.studio-photo-thumb{border-radius:8px}.studio-photo-manager-head{font-size:.76rem}.studio-photo-manager .studio-capture-actions{grid-template-columns:1fr 1fr}}

/* Pending Android gallery files: never expose the browser's broken-image icon. */
.preview-image-waiting{visibility:visible;opacity:1;background:#edf0f3}
.studio-thumb-loader{position:absolute;inset:50% auto auto 50%;width:18px;height:18px;margin:-9px 0 0 -9px;border:2px solid rgba(71,85,105,.22);border-top-color:var(--action);border-radius:50%;animation:studio-thumb-spin .75s linear infinite}
@keyframes studio-thumb-spin{to{transform:rotate(360deg)}}

/* V2.6.3 conversion/checkout polish */
.new-listing-btn{display:inline-flex;align-items:center;margin:0 0 15px;padding:10px 14px;border-color:#fdba9a;background:#fff7f2;color:#9a3412;font-weight:900}
.checkout-panel{max-width:720px;margin:24px auto 0;border:1px solid rgba(245,158,11,.28);box-shadow:0 20px 55px rgba(15,23,42,.10)}
.checkout-reassurance{text-align:center;font-weight:700;margin:8px 0 16px;color:#475569}
.checkout-status:empty{display:none}
.checkout-close{margin-top:4px}
.copy-all-prominent{font-size:1rem;padding:.9rem 1.15rem;box-shadow:0 8px 22px rgba(15,23,42,.12)}
@media(max-width:640px){.result-actions .copy-all-prominent{width:100%;order:-1}.checkout-panel{margin-left:0;margin-right:0}}

/* Once the local blob itself is visible, do not keep a misleading spinner on
   top while the listing copy is compressed in the background. */
.preview-pending.preview-ready .preview-loader,
.studio-photo-thumb.preview-ready .studio-thumb-loader{display:none}
.photo-state-badge{position:absolute;z-index:4;left:5px;top:5px;display:grid;place-items:center;min-width:24px;height:26px;padding:0 9px;border-radius:999px;background:rgba(17,24,39,.88);color:#fff;font-size:.72rem;font-weight:900;line-height:1;box-shadow:0 1px 5px rgba(0,0,0,.22);white-space:nowrap}
.photo-state-badge.preparing{background:#b45309}.photo-state-badge.ready{background:#047857}.photo-state-badge.original{background:#475569}.photo-state-badge.original.retryable{cursor:pointer;pointer-events:auto}.photo-state-badge.error{background:#b91c1c}.studio-photo-thumb .photo-state-badge{left:auto;right:3px;top:3px;min-width:18px;height:18px;padding:0 3px;font-size:.6rem}

/* V2.6.42: separate the instant one-photo test from the optional Studio. */
.first-photo-choice{display:grid;gap:10px;margin:14px 0 2px;text-align:center}
.first-photo-choice>strong{font-size:1.08rem}.first-photo-choice>p{margin:0;color:var(--muted)}
.first-photo-choice>button{width:100%;min-height:54px;white-space:normal}
.first-photo-choice>small{color:var(--muted);line-height:1.4}
.first-photo-choice>.first-photo-preparing{padding:8px 10px;border-radius:10px;background:#fff4ec;color:#9a3412;font-weight:850}
body.first-photo-active{overflow:hidden}
body.first-photo-active #photosSection{position:fixed;inset:0;z-index:9998;margin:0;border:0;border-radius:0;background:#fff;overflow:auto;padding:20px 16px 30px}
body.first-photo-active #photosSection .section-title-row{justify-content:center}
body.first-photo-active #photosSection #photoCount,
body.first-photo-active #photosSection #photoPlaceholders,
body.first-photo-active #photosSection .visual-photo-actions,
body.first-photo-active #photosSection>.hint{display:none}
body.first-photo-active #photosSection #preview{width:min(100%,620px);margin:12px auto;grid-template-columns:1fr}
body.first-photo-active #photosSection #preview .preview-item{aspect-ratio:auto;min-height:42vh;max-height:58vh;background:#f2f3f5;border-radius:18px}
body.first-photo-active #photosSection #preview .preview-item img{width:100%;height:100%;max-height:58vh;object-fit:contain}
body.first-photo-active #photosSection #preview .remove-photo{display:none}
body.first-photo-active #firstPhotoChoice{display:grid;width:min(100%,620px);margin:14px auto 0}
.studio-photo-thumb.studio-photo-error{border-color:#dc2626;background:#fef2f2;color:#991b1b}
.studio-thumb-error{display:grid;place-items:center;width:100%;height:100%;font-size:1.4rem}
.photo-placeholders{grid-template-columns:repeat(2,1fr)}
.studio-photo-strip{grid-template-columns:repeat(2,minmax(0,110px));justify-content:start;gap:8px}
.studio-background[data-studio-background="pearl"]{background:#eef2f7}
.studio-background[data-studio-background="sky"]{background:#eaf4ff}
.studio-background[data-studio-background="blush"]{background:#fff0eb}

.reply-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.reply-buttons button{white-space:normal;text-align:left}#buyerReplies summary{cursor:pointer;font-weight:600}

.home-faq { margin-top: 20px; }
.home-faq summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
.home-faq details { border-bottom: 1px solid rgba(128,128,128,.2); }
.home-faq p { line-height: 1.6; margin: 0 0 14px; }

/* Recovery stays accessible throughout the mobile editor. */
.studio-recovery{display:flex;justify-content:center;margin:12px 0}.studio-recovery button{white-space:normal;font-size:.85rem}
#photoStudio #studioTryAnother{display:none}
.studio-compare-frame.studio-zoomed{touch-action:none}

/* V2.8.28: keep photo previews free of transport messages. */
.photo-state-badge.original { display: none !important; }

/* Sellnado Galaxy — shared public page and application identity. */
body{background:radial-gradient(ellipse at 10% 0%,#332052 0,transparent 48%),radial-gradient(ellipse at 95% 35%,#241238 0,transparent 45%),#0d0918;background-attachment:fixed;color:#f5f3ff}
.card{border:1px solid #443254;box-shadow:0 12px 35px #06030f44}
.brand span{color:#caff38}.brand{letter-spacing:.055em}
.marketing-hero{background:radial-gradient(ellipse at top right,#693aa566,transparent 65%),linear-gradient(135deg,#251738,#171023);border-color:#725098}
.marketing-hero::after{background:radial-gradient(circle,#caff3833,transparent 70%)}
.hero p,.marketing-lead,.plan-copy,.plan-features,.analysis-panels ul,.field span,.result-block span,.dialog-copy,.paypal-copy,.paypal-status{color:#d4cce3}
.marketing-benefits span,.badge,.confidence-pill,.plan-tag{background:#322342;color:#eee6ff;border-color:#65517c}
.primary,.marketing-primary{background:#caff38;color:#171021;box-shadow:0 5px 22px #caff3822;transition:box-shadow .2s,transform .2s}
.primary:hover,.marketing-primary:hover{box-shadow:0 5px 28px #caff3844}.primary:active{transform:translateY(1px)}
.ghost,.chip,.icon-btn,.field-copy,.ui-language,.marketing-secondary,select,textarea,input{background:#241b34;color:#f5f3ff;border-color:#594567}
.chip.active{background:#7442ad;color:#fff;border-color:#bc91f2}
select option{background:#241b34;color:#fff}
.photo-button,.visual-photo-actions .photo-button{background:#241b34;border-color:#84639d;color:#f5f3ff}
.photo-button:hover{border-color:#caff38}.photo-placeholders span{background:linear-gradient(145deg,#30223f,#20162e);border-color:#584263;color:#b9a2cd}
.platform-notice,.usage-note,.analysis-panels>div,.paypal-area,.plan-card{background:#21182f;color:#d4cce3;border-color:#584263}
.plan-card.featured{background:linear-gradient(155deg,#4c286e,#21162f);border-color:#b185db}.plan-card.active{border-color:#caff38}
.plan-tag.pro{background:#caff38;color:#20132c}.plan-card.featured .ghost{background:#caff38;color:#20132c}
.studio-entry>span:first-child{background:#513075}.studio-inner{border-color:#584263}
.preview-loader{border-top-color:#caff38}.status.error{color:#ff9caa}.status.ok{color:#caff38}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #caff38;outline-offset:3px}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
dialog,.studio-card,body.studio-flow-active #photoStudio{background:#1b142b;color:#f5f3ff}.dialog-close{background:#322342;color:#f5f3ff}
body.studio-flow-active .studio-flow-head,body.studio-flow-active .studio-flow-footer{background:#1b142b}
.studio-flow-center strong,.studio-controls label,.studio-compare-control{color:#d4cce3}.studio-preset,.studio-format{background:#241b34;color:#f5f3ff;border-color:#594567}.studio-preset.active,.studio-eraser.active,.studio-pan.active{background:#7442ad;color:#fff;border-color:#bc91f2}
input[type=range]{accent-color:#caff38}
/* V2.8.32: readable language, FAQ and billing panels. */
.language-variants,.pricing-card,.legal-section,.legal-hero{background:#1b142b;color:#f5f3ff;border-color:#594567}
.language-variants summary{color:#caff38}.language-variants .hint{color:#d4cce3}
.language-checks label{background:#241b34;color:#f5f3ff;border-color:#594567}
.language-checks input[type=checkbox]{accent-color:#caff38;opacity:1}
.home-faq h2,.home-faq summary,.pricing-card h2{color:#f5f3ff}
.legal-section p,.legal-hero p,.pricing-subtitle,.marketing-reassurance{color:#d4cce3}
.legal-section a,.legal-top a,.legal-footer a{color:#caff38}
.legal-index{background:#241b34;border-color:#594567}.legal-index a{background:#322342;color:#f5f3ff}
.language-tab{background:#241b34;color:#f5f3ff;border-color:#594567}.language-tab.active{background:#7442ad;border-color:#bc91f2}

/* V2.8.33: calmer violet and lime hierarchy. */
.app-shell{max-width:780px}.card{margin-bottom:24px;padding:24px;border-color:rgba(196,167,231,.18);box-shadow:none}
.marketing-hero{padding:38px 24px}.marketing-benefits{gap:10px 20px;margin:24px 0}.marketing-benefits span{background:transparent!important;border:0!important;padding:0!important;border-radius:0!important}
.marketing-primary{background:#ceff3b!important;color:#171024!important;box-shadow:none!important}.marketing-primary:hover{background:#dcff78!important}
.marketing-hero .badge{background:transparent!important;color:#ceff3b!important;padding:0;border:0}
.home-faq details{padding:14px 0}.home-faq summary{line-height:1.5}.plan-card.active{border-color:rgba(196,167,231,.25)!important}
.plan-tag:not(.pro){display:none}.plan-features{line-height:1.7}.marketing-lead{line-height:1.65}.app-footer{padding:24px 0}
@media(max-width:560px){.card{padding:20px 16px}.marketing-hero{padding:28px 18px}.marketing-hero h1{font-size:1.8rem}.marketing-actions{grid-template-columns:1fr;gap:12px}.marketing-benefits{flex-direction:column;align-items:flex-start;gap:12px}}

html.i18n-loading body { visibility: hidden; }

.brand > [data-i18n="interface3"] { font-weight: 950; }
.legal-top strong > [data-i18n="interface3"] { font-weight: inherit; }

/* V2.8.35: presentation only; original inputs and application handlers stay in place. */
.how-it-works { padding:22px 24px; }
.how-it-works h2,.real-example h2 { margin:0 0 18px; font-size:1.15rem; line-height:1.4; }
.how-it-works ol { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;list-style:none;margin:0;padding:0; }
.how-it-works li { display:flex;align-items:flex-start;gap:10px;font-size:.88rem;line-height:1.55;color:var(--muted); }
.how-number { flex:0 0 28px;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:rgba(202,255,56,.12);color:var(--accent);font-weight:850; }
.annual-renewal-note { margin:10px 0 0;font-size:.8rem;line-height:1.5;color:var(--muted); }
.history-disclosure { margin:20px 0 24px;border:1px solid var(--line);border-radius:16px;overflow:hidden; }
.history-disclosure>summary { cursor:pointer;padding:18px 20px;font-weight:750;color:var(--muted); }
.history-disclosure[open]>summary { border-bottom:1px solid var(--line); }
.history-disclosure .history-card { margin:0;border:0;border-radius:0;box-shadow:none; }
.real-example[hidden] { display:none!important; }
.example-grid { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:24px;align-items:start; }
.example-grid figure { margin:0; }
.example-grid figcaption,.example-kicker { display:block;color:var(--muted);font-size:.78rem;margin-bottom:12px; }
.example-grid img { width:100%;height:auto;max-height:380px;object-fit:contain;border-radius:14px; }
.example-copy h3 { font-size:1.08rem;line-height:1.4; }
.example-copy p { white-space:pre-line;color:var(--muted);line-height:1.65; }
@supports selector(body:has(#preview .preview-item)) {
  body:not(:has(#preview .preview-item)):not(.first-photo-active):not(.studio-flow-active) #photosSection,
  body:not(:has(#preview .preview-item)):not(.first-photo-active):not(.studio-flow-active) #prepareSection { display:none; }
  body:has(#preview .preview-item) .marketing-actions { display:none; }
}
@media(max-width:560px) {
  .how-it-works { padding:20px; }
  .how-it-works ol { grid-template-columns:1fr;gap:15px; }
  .example-grid { grid-template-columns:1fr;gap:18px; }
  #photoCount { max-width:70%;font-size:.72rem;line-height:1.5;text-align:right;white-space:normal; }
  .marketing-hero { padding:24px 20px; }
  .marketing-hero h1 { line-height:1.2; }
}

.studio-background[data-studio-background="slate"]{background:#50565d;color:white}
.studio-background[data-studio-background="beigeWood"]{background:repeating-linear-gradient(0deg,#ebd7ba 0 9px,#d6b994 9px 10px);color:#3f3226}
.studio-background.active:is([data-studio-background="slate"],[data-studio-background="beigeWood"]){outline:2px solid #0f766e;outline-offset:2px}
.beta-panel summary{cursor:pointer;font-weight:700}
.beta-panel form:not([hidden]){display:grid;gap:.65rem;margin-top:.75rem}
.beta-panel label{display:grid;gap:.25rem}
.beta-panel :is(input,textarea,select){max-width:100%;width:100%}
.beta-panel [role="status"]:empty{display:none}
.beta-panel [hidden]{display:none!important}
