/* Scoped to the three browser image tools. Shared site styles stay unchanged. */
body.pxx-site.bt-page { --bt-border:var(--ui-line); --bt-purple:var(--ui-violet); font-size:15px !important; }
.bt-page .bt-main { padding-top:0; }
.bt-page .bt-wrap { width:min(100%,var(--ui-width)); padding-inline:48px; margin-inline:auto; }
.bt-page .bt-hero { padding:42px 0 48px; text-align:left; background:radial-gradient(ellipse at 95% 14%,#eee3fb,transparent 47%),radial-gradient(ellipse at 2% 100%,#fcebdd,transparent 43%),var(--ui-paper); }
.bt-page .bt-hero-layout { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,1fr); align-items:center; gap:48px; }
.bt-page .bt-hero-copy { min-width:0; }
.bt-page .bt-eyebrow { color:#6740cc; font-size:12px; font-weight:700; letter-spacing:.13em; text-transform:uppercase; margin:0 0 14px; }
.bt-page h1.bt-title { max-width:760px; margin:18px 0 22px; font-size:clamp(43px,4.8vw,69px); line-height:1.08; letter-spacing:-.055em; text-align:left; }
.bt-page .bt-title b { color:#9351bd; background:linear-gradient(120deg,#7145df,#a743b0 65%,#db797d); background-clip:text; -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
.bt-page .bt-hero-description { max-width:570px; margin:18px 0 22px; color:var(--ui-muted); font-size:14px; line-height:1.9; }
.bt-page .bt-badges { display:flex; flex-wrap:wrap; gap:8px 16px; justify-content:flex-start; padding:0; margin:20px 0 0; list-style:none; color:#71677b; font-size:11px; }
.bt-page .bt-badges li::before { content:'✓'; color:#5f7830; margin-right:6px; font-weight:700; }
.bt-page .bt-hero-cta svg { width:20px; height:20px; }
.bt-page .bt-hero-example { margin:0; min-width:0; padding:24px; border:1px solid var(--bt-border); border-radius:var(--ui-radius); background:#fffefbe8; box-shadow:var(--ui-shadow); }
.bt-page .bt-proof-label { margin:0 0 18px; color:#5e4576; font-size:12px; font-weight:700; }
.bt-page .bt-proof-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:start; }
.bt-page .bt-proof-item { margin:0; min-width:0; }
.bt-page .bt-proof-image { height:210px; padding:10px; display:flex; align-items:center; justify-content:center; background:#f4eef9; border:1px solid #e8dfef; border-radius:14px; }
.bt-page .bt-proof-image img { display:block; width:auto; height:auto; max-width:100%; max-height:100%; object-fit:contain; border-radius:5px; }
.bt-page .bt-proof-item figcaption { margin-top:10px; color:#71677b; font-size:11px; line-height:1.7; }
.bt-page .bt-proof-item strong { display:block; color:#3e304b; font-size:12px; }
.bt-page .bt-proof-caption { margin:18px 0 0; padding-top:16px; border-top:1px solid var(--bt-border); color:#71677b; font-size:12px; line-height:1.8; }
.bt-page .bt-proof-caption a { display:inline-block; margin-top:9px; color:var(--ui-violet-dark); font-weight:700; text-underline-offset:3px; }
.bt-page .bt-main > .bt-wrap { padding-top:32px; }
.bt-page .bt-tool { background:#fffefb; border:1px solid var(--bt-border); border-radius:24px; padding:28px; box-shadow:0 12px 40px #39214b08; scroll-margin-top:100px; }
.bt-page .bt-tool-header { display:flex; gap:20px; justify-content:space-between; align-items:start; padding-bottom:22px; }
.bt-page .bt-tool-header h2 { font-size:23px; letter-spacing:-.035em; margin:0 0 5px; }
.bt-page .bt-tool-header p { color:#71677b; font-size:13px; margin:0; }
.bt-page .bt-step-tag { flex:none; background:#edf1db; color:#455623; border-radius:30px; padding:5px 13px; font-size:11px; font-weight:700; }
.bt-page .bt-workspace { display:grid; grid-template-columns:310px minmax(0,1fr); gap:28px; align-items:start; }
.bt-page .bt-controls,.bt-page .bt-output { min-width:0; }
.bt-page .bt-output { position:sticky; top:105px; }
.bt-page .bt-controls { display:grid; gap:18px; }
.bt-page .bt-dropzone { display:grid; justify-items:center; gap:10px; text-align:center; padding:24px 16px; border:1.5px dashed #c5b0e8; border-radius:16px; background:#f6f1fc; }
.bt-page .bt-dropzone:is(.is-dragover,.is-dragging,.dragover,[data-dragging=true]) { border-color:#6740cc; background:#ede1fc; }
.bt-page .bt-upload-icon { width:32px; height:32px; color:#7550df; }
.bt-page .bt-dropzone p { margin:0; font-size:12px; color:#71677b; }
.bt-page .bt-button,.bt-page .bt-result-actions button { min-height:44px; display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:11px 17px; border:1px solid var(--bt-border); border-radius:11px; background:#fffefb; color:#42324f; font-size:13px; font-weight:700; line-height:1.4; text-align:center; cursor:pointer; text-decoration:none; }
.bt-page .bt-primary { min-height:52px; padding:14px 21px; border-radius:12px; background:var(--ui-violet); border-color:var(--ui-violet); color:white; box-shadow:0 6px 0 #e8ddfa; }
.bt-page .bt-button:hover:not(:disabled),.bt-page .bt-result-actions button:hover:not(:disabled) { border-color:#8861d9; box-shadow:0 3px 12px #6740cc16; }
.bt-page .bt-primary:hover:not(:disabled) { background:var(--ui-violet-dark); color:white; box-shadow:0 7px 0 #e3d4f9; }
.bt-page button:disabled { opacity:.45; cursor:not-allowed; box-shadow:none; }
.bt-page .bt-full { width:100%; }
.bt-page .bt-link-button { border:0; padding:5px 0; color:#6341bd; background:transparent; text-decoration:underline; text-underline-offset:3px; cursor:pointer; font-size:12px; min-height:36px; }
.bt-page .bt-file-input { position:absolute; width:1px; height:1px; opacity:0; overflow:hidden; }
.bt-page .bt-file-label:focus-within { outline:3px solid #986dea; outline-offset:4px; }
.bt-page .bt-field { display:flex; flex-direction:column; gap:6px; min-width:0; margin:0; font-size:12px; font-weight:700; color:#4e435b; }
.bt-page .bt-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.bt-page .bt-controls :is(input:not([type=file]):not([type=checkbox]):not([type=range]),select) { width:100%; height:43px; min-width:0; padding:8px 10px; border:1px solid #d5ccdf; border-radius:9px; background:#fff; color:#342b3d; font-size:14px; font-weight:400; line-height:1.4; }
.bt-page .bt-controls input[type=color] { padding:4px !important; cursor:pointer; }
.bt-page .bt-controls :is(input[type=checkbox],input[type=range]) { accent-color:#7145df; }
.bt-page .bt-controls input[type=range] { width:100%; min-height:30px; margin:0; }
.bt-page .bt-check { display:flex; align-items:start; gap:9px; font-size:12px; font-weight:400; line-height:1.6; margin:0; }
.bt-page .bt-check input { flex:none; margin:4px 0 0; }
.bt-page .bt-note { font-size:11px; color:#71677b; line-height:1.75; margin:0; }
.bt-page .bt-control-group { display:grid; gap:12px; margin:0; padding:0; border:0; min-width:0; }
.bt-page .bt-control-group legend { font-size:12px; font-weight:700; margin-bottom:10px; border:0; color:#51445e; }
.bt-page .bt-inline-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.bt-page .bt-output-head { display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; padding:0 0 16px; }
.bt-page .bt-output-head h3 { font-size:16px; margin:0; }
.bt-page .bt-output-head p { font-size:12px; color:#71677b; margin:4px 0 0; }
.bt-page .bt-results { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.bt-page .bt-result-card { border:1px solid var(--bt-border); border-radius:14px; overflow:hidden; background:#fff; min-width:0; }
.bt-page .bt-result-card > img,.bt-page .bt-result-card figure img { width:100%; height:185px; object-fit:contain; display:block; padding:10px; background:repeating-conic-gradient(#f6f3f8 0% 25%,#fff 0% 50%) 0 0/16px 16px; }
.bt-page .bt-result-meta { padding:12px 14px 5px; font-size:12px; overflow-wrap:anywhere; line-height:1.7; }
.bt-page .bt-result-card > h3 { font-size:13px; letter-spacing:0; margin:14px 14px 0; overflow-wrap:anywhere; }
.bt-page .bt-result-name { display:block; font-size:13px; line-height:1.6; margin:14px 14px 0; overflow-wrap:anywhere; }
.bt-page .bt-result-card > p:not(.bt-result-meta) { padding:0 14px; font-size:12px; line-height:1.7; margin:0 0 8px; color:#71677b; }
.bt-page .bt-result-detail { font-size:12px; line-height:1.7; padding:0 14px; margin:0; color:#71677b; }
.bt-page .bt-result-meta :is(p,h3,strong) { margin:0 0 5px; font-size:12px; }
.bt-page .bt-result-actions { padding:8px 12px 12px; display:flex; flex-wrap:wrap; gap:8px; }
.bt-page .bt-result-actions button { font-size:11px; padding:8px 10px; min-height:38px; }
.bt-page .bt-empty { grid-column:1/-1; background:#faf7fd; border:1px solid #ede5f4; border-radius:18px; padding:34px 20px; text-align:center; }
.bt-page .bt-empty h3 { font-size:20px; margin:24px 0 10px; letter-spacing:-.035em; }
.bt-page .bt-empty p { max-width:390px; margin:0 auto; color:#71677b; font-size:13px; }
.bt-page .bt-demo-stack { display:flex; gap:12px; justify-content:center; align-items:center; max-width:420px; margin:0 auto; padding:14px; }
.bt-page .bt-demo-stack img { width:44%; height:155px; object-fit:cover; border:6px solid white; border-radius:12px; box-shadow:0 6px 20px #39214b12; transform:rotate(-5deg); }
.bt-page .bt-demo-stack img+img { width:34%; height:185px; transform:rotate(7deg); }
.bt-page .bt-status { font-size:13px; line-height:1.7; color:#51445e; padding:12px 16px; background:#f6f1fc; border-radius:10px; margin:20px 0 0; min-height:46px; }
.bt-page .bt-status:is(.is-error,[data-error=true]),.bt-page [data-status][role=alert] { color:#a02138; background:#fff0f1; }
.bt-page .bt-canvas-frame { min-height:380px; height:520px; max-height:65vh; display:flex; justify-content:center; align-items:center; padding:22px; border:1px solid var(--bt-border); border-radius:16px; background:repeating-conic-gradient(#eee9f2 0% 25%,#faf8fc 0% 50%) 0 0/20px 20px; }
.bt-page .bt-canvas-frame canvas { display:block; max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; box-shadow:0 4px 20px #30223920; }
.bt-page .bt-canvas-frame:has([data-preview][hidden]) { display:none; }
.bt-page [hidden] { display:none !important; }
.bt-page .bt-section { padding-top:70px; padding-bottom:8px; }
.bt-page .bt-section h2 { font-size:clamp(28px,3.3vw,44px); letter-spacing:-.045em; line-height:1.2; margin:0 0 25px; }
.bt-page .bt-emphasis { color:#8c50c7; }
.bt-page .bt-section-intro { max-width:740px; color:#71677b; margin:0 0 28px; line-height:1.85; }
.bt-page .bt-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin:28px 0 0; }
.bt-page .bt-card { border:1px solid var(--bt-border); border-radius:var(--ui-radius); background:var(--ui-white); box-shadow:var(--ui-shadow); padding:28px; min-width:0; }
.bt-page .bt-card .bt-number { color:#6740cc; font-size:12px; font-weight:700; }
.bt-page .bt-card h3 { margin:12px 0; font-size:20px; line-height:1.4; letter-spacing:-.035em; }
.bt-page .bt-card p { color:#71677b; font-size:13px; margin:0; line-height:1.9; }
.bt-page .bt-example-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin:28px 0; }
.bt-page .bt-example { margin:0; padding:24px; border:1px solid var(--bt-border); border-radius:18px; background:#fffefb; }
.bt-page .bt-example figure { margin:0; }
.bt-page .bt-example img { height:230px; width:100%; object-fit:contain; display:block; }
.bt-page .bt-example figcaption { margin-top:18px; font-size:13px; color:#71677b; }
.bt-page .bt-ratio-example { width:230px; max-width:100%; aspect-ratio:1; margin:auto; background:#eee5fc; display:flex; align-items:center; }
.bt-page .bt-ratio-example img { width:100%; height:auto; }
.bt-page .bt-ratio-example.wide { width:100%; aspect-ratio:16/9; }
.bt-page .bt-comparison { width:100%; border-collapse:separate; border-spacing:0; font-size:13px; border:1px solid var(--bt-border); border-radius:16px; overflow:hidden; }
.bt-page .bt-comparison :is(th,td) { text-align:left; padding:17px 20px; border-bottom:1px solid var(--bt-border); vertical-align:top; }
.bt-page .bt-comparison th { background:#f3eef9; font-weight:700; }
.bt-page .bt-comparison tr:last-child td { border-bottom:0; }
.bt-page .bt-comparison a,.bt-page .bt-section a { color:#6341bd; text-underline-offset:4px; }
.bt-page .bt-faq { display:grid; gap:12px; max-width:960px; }
.bt-page .bt-faq details { border:1px solid var(--bt-border); background:#fffefb; border-radius:14px; padding:18px 22px; }
.bt-page .bt-faq summary { cursor:pointer; font-size:15px; font-weight:700; color:#362840; }
.bt-page .bt-faq details p { font-size:14px; color:#71677b; margin:14px 0 2px; line-height:1.9; }
.bt-page .bt-related { background:#eee5fc; border-radius:20px; padding:32px; margin:60px 0; }
.bt-page .bt-related h2 { font-size:25px; margin:0 0 10px; letter-spacing:-.03em; }
.bt-page .bt-related p { margin:0 0 16px; color:#62546f; }
.bt-page .bt-related-links { display:flex; flex-wrap:wrap; gap:10px 24px; }
.bt-page .bt-related a { color:#5631b9; font-size:13px; font-weight:700; text-decoration:underline; text-underline-offset:4px; }
.bt-page .bt-skip { position:fixed; left:12px; top:-100px; z-index:9999; padding:14px; background:white; }
.bt-page .bt-skip:focus { top:12px; }
@media(max-width:1000px){
 .bt-page .bt-hero-layout { gap:28px; }
 .bt-page .bt-hero-example { padding:18px; }
 .bt-page .bt-proof-image { height:180px; }
 .bt-page .bt-workspace { grid-template-columns:280px minmax(0,1fr); gap:20px; }
 .bt-page .bt-results { grid-template-columns:1fr; }
 .bt-page .bt-cards { gap:14px; }
 .bt-page .bt-card { padding:20px; }
}
@media(max-width:1200px){ .bt-page h1.bt-title { font-size:51px; } }
@media(max-width:900px){
 .bt-page .bt-hero-layout { grid-template-columns:1fr; gap:32px; }
 .bt-page h1.bt-title { font-size:56px; max-width:730px; }
 .bt-page .bt-hero-example { max-width:620px; width:100%; }
}
@media(max-width:760px){
 .bt-page .bt-main { padding-top:0; }
 .bt-page .bt-hero { padding:28px 0 36px; }
 .bt-page .bt-badges { gap:6px 14px; font-size:11px; }
 .bt-page .bt-tool { padding:20px; border-radius:18px; }
 .bt-page .bt-tool-header { display:block; }
 .bt-page .bt-step-tag { display:none; }
 .bt-page .bt-workspace { grid-template-columns:1fr; gap:28px; }
 .bt-page .bt-output { position:static; }
 .bt-page .bt-controls { gap:16px; }
 .bt-page .bt-controls :is(input:not([type=file]),select) { font-size:16px !important; }
 .bt-page .bt-output-head { padding-top:20px; border-top:1px solid var(--bt-border); }
 .bt-page .bt-results { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .bt-page .bt-result-card > img { height:150px; }
 .bt-page .bt-cards,.bt-page .bt-example-grid { grid-template-columns:1fr; gap:18px; }
 .bt-page .bt-section { padding-top:48px; }
 .bt-page .bt-canvas-frame { height:430px; min-height:260px; }
 .bt-page .bt-related { padding:24px; margin:40px 0; }
 .bt-page .bt-comparison :is(th,td) { padding:12px 10px; font-size:12px; }
}
@media(max-width:640px){
 .bt-page .bt-wrap { padding-inline:23px; }
 .bt-page h1.bt-title { font-size:clamp(35px,10.2vw,51px); line-height:1.1; margin-top:16px; }
 .bt-page .bt-hero-description { line-height:1.85; }
 .bt-page .bt-proof-grid { gap:12px; }
 .bt-page .bt-proof-image { height:150px; padding:7px; }
 .bt-page .bt-hero-example { padding:16px; }
 .bt-page .bt-section h2 { font-size:30px; letter-spacing:-1.2px; }
}
@media(max-width:440px){
 .bt-page .bt-tool { padding:18px 14px; }
 .bt-page .bt-results { grid-template-columns:1fr; }
 .bt-page .bt-result-card > img { height:200px; }
 .bt-page .bt-tool-header h2 { font-size:21px; }
 .bt-page .bt-canvas-frame { height:350px; padding:12px; }
 .bt-page .bt-demo-stack { gap:4px; padding:4px; }
 .bt-page .bt-demo-stack img { height:120px; }
 .bt-page .bt-demo-stack img+img { height:150px; }
}
