/* Homepage-only alignment with the approved EditTextImage reference. */
.reference-home .site-header{border:0}
.reference-home .site-header-inner{display:flex;max-width:1280px;margin:auto;min-height:88px;padding:20px 24px;gap:24px;font-family:inherit}
.reference-home .site-brand{flex-shrink:0}
.reference-home .site-brand-name{font-family:inherit;font-size:17px;letter-spacing:-.4px}
.reference-home .site-brand-tagline{display:none}
.reference-home .site-tools{font-family:inherit;justify-content:flex-start;flex:1;gap:0;margin-left:0;overflow:visible}
.reference-home .site-tools a{font-family:inherit;font-size:15px;font-weight:600;padding:6px 10px}
.reference-home .account-signin{background:#0a0a0a;border-radius:12px;font-family:inherit;padding:12px 20px}
.reference-home #menu-button{display:none}
.reference-home #home h1{letter-spacing:-1.8px}
.reference-home #editor>.card-soft{border:0;border-radius:32px;box-shadow:0 10px 30px #00000007;align-items:stretch}
.reference-home #editor .dropzone{background:#fafafa;border:0;border-radius:16px;height:auto;min-height:0;aspect-ratio:4/3;max-height:none;flex:none}
.reference-home #editor .controls{border:0;border-radius:0;padding:0;box-shadow:none;background:transparent}
.reference-home #editor .upload-zone{padding:24px}
.reference-home #editor .upload-zone strong{font-size:20px}
.reference-home #editor .upload-zone span:not(.upload-icon),.reference-home #editor .upload-zone small{font-size:14px}
.reference-home #editor .upload-icon{margin-bottom:24px}
.reference-home #editor .canvas-bottom{min-height:0;padding-top:12px;font-size:11px}
.reference-home .home-editor-modes{display:flex;background:#f4f4f5;padding:4px;border-radius:16px;margin-bottom:20px}
.reference-home .home-editor-modes a{flex:1;text-align:center;padding:8px 6px;border-radius:12px;font-size:14px;color:#71717a}
.reference-home .home-editor-modes [aria-current]{background:#fafaf9;color:#0a0a0a;box-shadow:0 1px 4px #0002;font-weight:500}
.reference-home #editor .control-kicker{display:none}
.reference-home #editor .control-title h2{font-size:20px}
.reference-home #editor .status{font-size:14px;margin-bottom:18px}
.reference-home #editor #brush-size{margin:14px 0}
.reference-home #editor .process-actions{margin-top:20px}
.reference-home #editor .process-actions>.button{border-radius:14px;box-shadow:none}
.reference-home .home-login{margin-top:24px}
.reference-home .home-login button{width:100%;font-size:16px;border-radius:14px;padding:14px 12px}
.reference-home .home-login>p{font-size:14px;color:#71717a;margin-top:12px;line-height:1.6}
.reference-home .home-permission{margin-top:12px;background:#fffbeb99;border:1px solid #f1ede1;border-radius:12px;padding:12px 14px;font-size:13px;line-height:1.65;color:#92400e}
.reference-home .home-permission p+p{margin-top:6px}
.reference-home .home-permission a{text-decoration:underline;text-underline-offset:2px}
html[data-account-state="signed-in"] .reference-home .home-login{display:none}
html:not([data-account-state="signed-in"]) .reference-home #editor .process-actions,
html:not([data-account-state="signed-in"]) .reference-home #editor .mode-notice{display:none}
.reference-home .home-proof{text-align:center;color:#71717a;font-size:14px}
.reference-home .home-proof>p{margin-top:16px}
.reference-home .home-proof strong{color:#18181b;font-weight:500}
.reference-home .home-format-strip{display:flex;justify-content:center;align-items:center;gap:16px;flex-wrap:wrap;margin-top:36px}
.reference-home .home-format-strip>span:first-child{font-size:11px;letter-spacing:.8px;font-weight:600}
.reference-home .home-format-strip>span:not(:first-child){border:1px solid #e7e5e4;border-radius:6px;background:#fff;padding:8px 14px;font-size:13px}
.reference-home #examples>div:first-child>p{max-width:1080px;margin-left:auto;margin-right:auto}
.reference-home :is(#editor,#how-it-works,#watermark-guides,#examples [data-scenario]){scroll-margin-top:110px}
.reference-home .home-about-layout{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:32px}
.reference-home .home-about-layout>.text-center{text-align:left}
.reference-home .home-demo-action{display:inline-flex;margin-top:20px}
.reference-home .home-demo{margin:0;padding:14px;min-width:0}
.reference-home .home-demo-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.reference-home .home-demo-pair span{display:block;margin-bottom:6px;color:#52525b;font-size:13px;font-weight:600}
.reference-home .home-demo-pair img{display:block;width:100%;height:auto;border-radius:8px}
.reference-home .home-demo figcaption{margin-top:10px;color:#52525b;font-size:13px;line-height:1.5}
.reference-home #how-it-works ol{padding-left:0;list-style:none}
@media(min-width:1024px){.reference-home [data-home-removal-modes]{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){.reference-home .home-about-layout{grid-template-columns:minmax(0,1fr);gap:24px}}
.reference-home .home-example-note{text-align:center;font-size:12px;color:#71717a;margin-top:24px}
.reference-home .home-result-labels{flex-wrap:wrap;gap:12px}
.reference-home .home-result-labels span{font-size:12px}
.reference-home .site-footer-extra{display:none}
.reference-home .home-hero-tagline{
  max-width:48rem;
  margin:8px auto 0;
  font-size:clamp(1.25rem,2.5vw,2rem);
  font-weight:600;
  line-height:1.25;
  text-align:center;
  text-wrap:balance;
}
.reference-home #home .home-hero-tagline+p{margin-top:12px}
.reference-home #quality h2{max-width:900px}
.reference-home footer>div>div.grid{column-gap:32px}
@media(max-width:1100px){.reference-home .site-header-inner{gap:12px}.reference-home .site-tools a{font-size:13px;padding:6px 7px}}
@media(max-width:1023px){.reference-home .site-tools{display:none}.reference-home .site-header #menu-button{display:block!important;border:0;background:transparent;font:inherit;font-size:14px;padding:8px;order:-1}.reference-home .site-brand{margin-right:auto}.reference-home .site-brand .site-brand-copy{display:grid}.reference-home .site-header-inner{min-height:76px}.reference-home .site-header #mobile-menu:not([hidden]){display:flex!important;position:absolute;top:100%;left:0;right:0;max-height:70dvh;overflow:auto;background:#fafaf9;border-bottom:1px solid #e7e5e4;box-shadow:0 12px 20px #0001}.reference-home #editor .dropzone{aspect-ratio:4/3}.reference-home #editor .controls{padding-top:4px}}
@media(max-width:767px){.reference-home .site-header-inner{padding:16px 24px}.reference-home #home h1{letter-spacing:-.85px}.reference-home #editor>.card-soft{padding:16px;gap:16px;border-radius:28px}.reference-home #editor .upload-zone strong{font-size:18px}.reference-home #editor .upload-zone small{font-size:12px}.reference-home .home-format-strip{gap:8px;margin-top:24px}.reference-home .home-format-strip>span:not(:first-child){font-size:11px;padding:7px 10px}.reference-home .home-result-labels{gap:8px}.reference-home #quality>.card-soft{padding:32px 24px}.reference-home .account-signin{padding:10px 14px}.reference-home #examples h2{white-space:normal}}
