.rb{--rb-ink:#15171d;--rb-muted:#646775;--rb-line:#dcdee7;--rb-brand:#2525d4;--rb-soft:#efedff;max-width:1360px;width:calc(100% - 80px);margin:0 auto 80px;color:var(--rb-ink);font:400 16px/1.6 Inter,"Segoe UI",Arial,sans-serif}.rb *{box-sizing:border-box}.rb [hidden]{display:none!important}.rb button,.rb input,.rb select{font:inherit}.rb button{cursor:pointer}.rb button:disabled{opacity:.45;cursor:not-allowed}.rb button:focus-visible,.rb a:focus-visible,.rb input:focus-visible,.rb select:focus-visible,.rb summary:focus-visible{outline:3px solid #7777f0;outline-offset:3px}.rb-intro{display:flex;justify-content:space-between;gap:60px;align-items:center;padding:58px 0 36px}.rb-kicker{font-size:12px;font-weight:650;letter-spacing:.14em;display:flex;align-items:center;gap:10px}.rb-kicker i{width:9px;height:9px;background:var(--rb-brand);border-radius:50%}.rb h1{font-size:clamp(38px,4.8vw,66px);font-weight:600;line-height:1.04;letter-spacing:-.055em;margin:20px 0}.rb h1 em{font-style:normal;color:var(--rb-brand)}.rb-intro p{max-width:630px;margin:0;color:var(--rb-muted);font-size:17px;line-height:1.75}.rb-intro-note{max-width:250px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;color:var(--rb-muted);font-size:14px}.rb-intro-note strong{color:var(--rb-ink);font-size:16px;font-weight:600}.rb-note-icon{display:grid;place-items:center;width:60px;height:60px;border-radius:18px;background:var(--rb-soft);font-size:42px;line-height:1;color:var(--rb-brand);margin-bottom:8px}.rb-workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}.rb-editor{min-width:0;position:sticky;top:20px;border:1px solid var(--rb-line);border-radius:16px;background:#fff;overflow:hidden}.rb-toolbar{display:flex;justify-content:space-between;align-items:center;padding:15px;gap:12px;border-bottom:1px solid var(--rb-line)}.rb-segment{display:flex;align-items:center;gap:3px;padding:4px;border:1px solid var(--rb-line);border-radius:9px;background:#f7f7fa}.rb-segment button{padding:7px 13px;border:0;background:transparent;border-radius:6px;color:var(--rb-muted);font-size:14px;white-space:nowrap}.rb-segment button[aria-pressed=true]{background:var(--rb-ink);color:#fff}.rb-history{display:flex;gap:6px}.rb-history button{font-size:12px;border:1px solid var(--rb-line);border-radius:6px;background:#fff;padding:7px 10px;color:var(--rb-ink)}.rb-checker{background-color:#fff;background-image:linear-gradient(45deg,#ebebf0 25%,transparent 25%),linear-gradient(-45deg,#ebebf0 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ebebf0 75%),linear-gradient(-45deg,transparent 75%,#ebebf0 75%);background-size:22px 22px;background-position:0 0,0 11px,11px -11px,-11px 0}.rb-stage{position:relative;height:min(68vh,720px);min-height:420px;overflow:auto;overscroll-behavior:contain;display:grid;place-items:center;padding:24px}.rb-stage-inner{position:relative;max-width:100%;display:grid;place-items:center;min-height:100%;width:100%}.rb-stage canvas{display:block;width:auto;height:auto;max-height:min(60vh,660px);max-width:100%;touch-action:none;transform-origin:center;cursor:default}.rb-stage.is-brushing canvas{cursor:crosshair}.rb-stage.is-empty:after{content:'Choose an image to begin.';position:absolute;color:var(--rb-muted);font-size:18px;pointer-events:none}.rb-loading{position:absolute;inset:0;background:#fafbffe8;display:flex;align-items:center;justify-content:center;gap:16px;flex-direction:column;text-align:center;padding:30px;color:var(--rb-muted);z-index:3}.rb-loading strong{font-size:24px;color:var(--rb-ink);letter-spacing:-.03em}.rb-loading>span:last-child{font-size:14px;max-width:300px}.rb-spinner{height:38px;width:38px;border:3px solid #deddf8;border-top-color:var(--rb-brand);border-radius:50%;animation:rb-spin 1s linear infinite}@keyframes rb-spin{to{transform:rotate(360deg)}}.rb-drop-overlay{position:absolute;inset:12px;background:#eeeaffee;border:2px dashed var(--rb-brand);border-radius:10px;z-index:5;display:grid;place-items:center;color:var(--rb-brand);font-size:24px;font-weight:600}.rb-canvas-footer{padding:13px 16px;border-top:1px solid var(--rb-line);display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--rb-muted)}.rb-canvas-footer label{display:flex;gap:7px;align-items:center}.rb-canvas-footer select{font-size:12px;border:0;color:var(--rb-ink);background:transparent;padding:4px}.rb-canvas-footer input{width:95px;accent-color:var(--rb-brand)}.rb-controls{border:1px solid var(--rb-line);border-radius:16px;background:#fff;overflow:hidden}.rb-upload-section,.rb-control-section{padding:22px;border-bottom:1px solid var(--rb-line)}.rb-upload-section{text-align:center;background:linear-gradient(160deg,#f6f4ff,#fff 60%)}.rb-upload-mark{color:var(--rb-brand);display:grid;place-items:center;width:45px;height:45px;border:1px solid #d9d5ff;border-radius:12px;margin:0 auto 14px;background:#fff}.rb-upload-mark svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.rb h2{font-size:16px;line-height:1.35;font-weight:600;letter-spacing:-.025em;margin:0 0 12px}.rb-upload-section h2{font-size:20px}.rb-upload-section>p{font-size:14px;color:var(--rb-muted);margin:10px 0}.rb-primary{display:flex;justify-content:center;align-items:center;width:100%;padding:12px 16px;border:1px solid var(--rb-brand);border-radius:8px;background:var(--rb-brand);color:#fff;font-size:14px;font-weight:600;min-height:44px}.rb-primary:hover:not(:disabled){background:#1818ae}.rb-upload-section>small{display:block;font-size:11px;color:var(--rb-muted);margin-top:9px}.rb-file-name{overflow-wrap:anywhere;font-size:12px!important}.rb-upload-section p.rb-processing-note{font-size:11px;line-height:1.7}.rb-status{font-size:12px;color:var(--rb-brand);line-height:1.6;min-height:20px}.rb-status.is-error{color:#a52635}.rb-allowance{display:block;font-size:11px;color:var(--rb-muted);margin-top:8px}.rb-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.rb-section-heading h2{margin:0}.rb-text-button{border:0;background:none;padding:2px 0;font-size:11px;color:var(--rb-brand);text-decoration:underline;text-underline-offset:3px;white-space:nowrap}.rb-brush-modes{justify-content:space-between}.rb-range-label{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--rb-muted);margin-top:15px;gap:8px}.rb-range-label input{width:100%;accent-color:var(--rb-brand)}.rb-small-note{font-size:11px;color:var(--rb-muted);line-height:1.7;margin:10px 0 0}.rb-backgrounds{display:flex;gap:8px;margin-bottom:16px}.rb-backgrounds button{height:35px;width:35px;border:1px solid #d6d7de;border-radius:50%;position:relative}.rb-backgrounds button[aria-pressed=true]:after{content:'';position:absolute;inset:-4px;border:2px solid var(--rb-brand);border-radius:50%}.rb-backgrounds button[data-background=white]{background:#fff}.rb-backgrounds button[data-background=dark]{background:#181b24}.rb-backgrounds button[data-background=lavender]{background:#e6e2ff}.rb-backgrounds button[data-background=warm]{background:#f5c9ad}.rb-backgrounds button[data-background=gradient]{background:linear-gradient(135deg,#f5c9ad,#c5baff,#8b9eff)}.rb-color-row,.rb-text-options{display:flex;align-items:center;justify-content:space-between;gap:12px}.rb-color-row>label,.rb-text-options>label{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--rb-muted)}.rb input[type=color]{appearance:none;-webkit-appearance:none;width:27px;height:27px;padding:0;border:1px solid var(--rb-line);border-radius:5px;overflow:hidden;cursor:pointer}.rb input[type=color]::-webkit-color-swatch-wrapper{padding:2px}.rb input[type=color]::-webkit-color-swatch{border:0;border-radius:2px}.rb-checkbox{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--rb-muted);white-space:nowrap}.rb input[type=checkbox]{accent-color:var(--rb-brand);height:15px;width:15px}.rb-field{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--rb-muted);margin:12px 0}.rb-field input,.rb-field select,.rb-text-options select{border:1px solid var(--rb-line);border-radius:6px;padding:9px;background:#fff;color:var(--rb-ink);width:100%;font-size:13px;min-width:0}.rb-text-options{align-items:flex-start;gap:8px;flex-wrap:wrap}.rb-text-options>label{flex-direction:column;align-items:flex-start;gap:6px}.rb-text-options input[type=range]{width:85px;accent-color:var(--rb-brand)}.rb-export{border-bottom:0}.rb-export .rb-text-button{display:block;margin:14px auto 0}.rb-after-editor{display:grid;grid-template-columns:1fr 1fr;gap:80px;padding:60px 0 30px}.rb-after-editor h2{font-size:32px;letter-spacing:-.04em;margin:15px 0}.rb-after-editor p{font-size:15px;color:var(--rb-muted);line-height:1.8;margin:0}.rb-links{display:flex;gap:16px;flex-wrap:wrap;margin-top:20px}.rb-links a{font-size:13px;color:var(--rb-brand);text-decoration:underline;text-underline-offset:4px}.rb-notes details{padding:17px 0;border-bottom:1px solid var(--rb-line)}.rb-notes summary{cursor:pointer;font-size:14px;font-weight:600;list-style:none;padding-right:20px;position:relative}.rb-notes summary:after{content:'+';position:absolute;right:0}.rb-notes details[open] summary:after{content:'−'}.rb-notes p{font-size:13px;margin-top:12px}.rb-credit{font-size:11px;color:var(--rb-muted)}@media(min-width:1600px){.rb-workspace{grid-template-columns:minmax(0,1fr) 360px}.rb-stage{height:720px}}@media(max-width:1000px){.rb{width:calc(100% - 40px)}.rb-workspace{grid-template-columns:minmax(0,1fr) 305px;gap:14px}.rb-intro-note{display:none}.rb-upload-section,.rb-control-section{padding:18px}.rb-toolbar{padding:10px;flex-wrap:wrap}.rb-segment button{padding:6px 10px}.rb-after-editor{gap:30px}}@media(max-width:740px){.rb-intro{padding:35px 0 25px}.rb-intro p{font-size:15px}.rb-workspace{grid-template-columns:1fr}.rb-editor{position:static}.rb-stage{height:480px;min-height:280px;padding:18px}.rb-stage canvas{max-height:410px}.rb-controls{display:grid;grid-template-columns:1fr 1fr}.rb-upload-section{grid-column:1/-1}.rb-export{grid-column:1/-1}.rb-after-editor{grid-template-columns:1fr;padding-top:35px;gap:20px}}@media(max-width:460px){.rb{width:calc(100% - 28px)}.rb-controls{display:block}.rb-stage{height:390px}.rb-stage canvas{max-height:330px}.rb-history button{padding:5px 7px}.rb-toolbar{gap:8px}.rb-intro h1{font-size:40px}}@media(prefers-reduced-motion:reduce){.rb-spinner{animation-duration:2.5s}}
