/* Generated by tools/build-css.php: icons.css, main.css, modal-sidebar.css, basic.css, dropzone.css, landing.css, guide.css, ai-tool.css, remove-background.css. Do not edit; edit those and rebuild. */
/* ==== icons.css ==== */
/* Icons: Bootstrap Icons (MIT) and Font Awesome Free 5.14 (CC BY 4.0) as CSS masks.
   Generated by tools/build-css.php from the SVGs in website/vendor; do not edit. */
.bi::before,[class^="bi-"]::before,[class*=" bi-"]::before,.fa::before,.fas::before,.far::before,.fab::before{content:"";display:inline-block;width:var(--cb-iw,1em);height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:var(--cb-i,linear-gradient(transparent,transparent)) center/contain no-repeat;mask:var(--cb-i,linear-gradient(transparent,transparent)) center/contain no-repeat}
.fa,.fas,.far,.fab{display:inline-block;font-style:normal;line-height:1}
.bi-arrow-clockwise::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z'/%3E%3Cpath d='M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z'/%3E%3C/svg%3E")}
.bi-arrow-counterclockwise::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 3a5 5 0 1 1-4.546 2.914.5.5 0 0 0-.908-.417A6 6 0 1 0 8 2v1z'/%3E%3Cpath d='M8 4.466V.534a.25.25 0 0 0-.41-.192L5.23 2.308a.25.25 0 0 0 0 .384l2.36 1.966A.25.25 0 0 0 8 4.466z'/%3E%3C/svg%3E")}
.bi-arrow-down::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 1a.5.5 0 0 1 .5.5v11.793l3.146-3.147a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 .708-.708L7.5 13.293V1.5A.5.5 0 0 1 8 1z'/%3E%3C/svg%3E")}
.bi-arrow-left::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M15 8a.5.5 0 0 0-.5-.5H2.707l3.147-3.146a.5.5 0 1 0-.708-.708l-4 4a.5.5 0 0 0 0 .708l4 4a.5.5 0 0 0 .708-.708L2.707 8.5H14.5A.5.5 0 0 0 15 8z'/%3E%3C/svg%3E")}
.bi-arrow-left-right::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1 11.5a.5.5 0 0 0 .5.5h11.793l-3.147 3.146a.5.5 0 0 0 .708.708l4-4a.5.5 0 0 0 0-.708l-4-4a.5.5 0 0 0-.708.708L13.293 11H1.5a.5.5 0 0 0-.5.5zm14-7a.5.5 0 0 1-.5.5H2.707l3.147 3.146a.5.5 0 1 1-.708.708l-4-4a.5.5 0 0 1 0-.708l4-4a.5.5 0 1 1 .708.708L2.707 4H14.5a.5.5 0 0 1 .5.5z'/%3E%3C/svg%3E")}
.bi-arrow-right::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z'/%3E%3C/svg%3E")}
.bi-arrows-angle-expand::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M5.828 10.172a.5.5 0 0 0-.707 0l-4.096 4.096V11.5a.5.5 0 0 0-1 0v3.975a.5.5 0 0 0 .5.5H4.5a.5.5 0 0 0 0-1H1.732l4.096-4.096a.5.5 0 0 0 0-.707zm4.344-4.344a.5.5 0 0 0 .707 0l4.096-4.096V4.5a.5.5 0 1 0 1 0V.525a.5.5 0 0 0-.5-.5H11.5a.5.5 0 0 0 0 1h2.768l-4.096 4.096a.5.5 0 0 0 0 .707z'/%3E%3C/svg%3E")}
.bi-arrows-move::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M7.646.146a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1-.708.708L8.5 1.707V5.5a.5.5 0 0 1-1 0V1.707L6.354 2.854a.5.5 0 1 1-.708-.708l2-2zM8 10a.5.5 0 0 1 .5.5v3.793l1.146-1.147a.5.5 0 0 1 .708.708l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 0 1 .708-.708L7.5 14.293V10.5A.5.5 0 0 1 8 10zM.146 8.354a.5.5 0 0 1 0-.708l2-2a.5.5 0 1 1 .708.708L1.707 7.5H5.5a.5.5 0 0 1 0 1H1.707l1.147 1.146a.5.5 0 0 1-.708.708l-2-2zM10 8a.5.5 0 0 1 .5-.5h3.793l-1.147-1.146a.5.5 0 0 1 .708-.708l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708L14.293 8.5H10.5A.5.5 0 0 1 10 8z'/%3E%3C/svg%3E")}
.bi-aspect-ratio::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M0 3.5A1.5 1.5 0 0 1 1.5 2h13A1.5 1.5 0 0 1 16 3.5v9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 12.5v-9zM1.5 3a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-13z'/%3E%3Cpath d='M2 4.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1H3v2.5a.5.5 0 0 1-1 0v-3zm12 7a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1 0-1H13V8.5a.5.5 0 0 1 1 0v3z'/%3E%3C/svg%3E")}
.bi-brush::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M15.825.12a.5.5 0 0 1 .132.584c-1.53 3.43-4.743 8.17-7.095 10.64a6.067 6.067 0 0 1-2.373 1.534c-.018.227-.06.538-.16.868-.201.659-.667 1.479-1.708 1.74a8.118 8.118 0 0 1-3.078.132 3.659 3.659 0 0 1-.562-.135 1.382 1.382 0 0 1-.466-.247.714.714 0 0 1-.204-.288.622.622 0 0 1 .004-.443c.095-.245.316-.38.461-.452.394-.197.625-.453.867-.826.095-.144.184-.297.287-.472l.117-.198c.151-.255.326-.54.546-.848.528-.739 1.201-.925 1.746-.896.126.007.243.025.348.048.062-.172.142-.38.238-.608.261-.619.658-1.419 1.187-2.069 2.176-2.67 6.18-6.206 9.117-8.104a.5.5 0 0 1 .596.04zM4.705 11.912a1.23 1.23 0 0 0-.419-.1c-.246-.013-.573.05-.879.479-.197.275-.355.532-.5.777l-.105.177c-.106.181-.213.362-.32.528a3.39 3.39 0 0 1-.76.861c.69.112 1.736.111 2.657-.12.559-.139.843-.569.993-1.06a3.122 3.122 0 0 0 .126-.75l-.793-.792zm1.44.026c.12-.04.277-.1.458-.183a5.068 5.068 0 0 0 1.535-1.1c1.9-1.996 4.412-5.57 6.052-8.631-2.59 1.927-5.566 4.66-7.302 6.792-.442.543-.795 1.243-1.042 1.826-.121.288-.214.54-.275.72v.001l.575.575zm-4.973 3.04.007-.005a.031.031 0 0 1-.007.004zm3.582-3.043.002.001h-.002z'/%3E%3C/svg%3E")}
.bi-calendar3::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M14 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM1 3.857C1 3.384 1.448 3 2 3h12c.552 0 1 .384 1 .857v10.286c0 .473-.448.857-1 .857H2c-.552 0-1-.384-1-.857V3.857z'/%3E%3Cpath d='M6.5 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-9 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-9 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2z'/%3E%3C/svg%3E")}
.bi-check-circle-fill::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z'/%3E%3C/svg%3E")}
.bi-check-lg::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M12.736 3.97a.733.733 0 0 1 1.047 0c.286.289.29.756.01 1.05L7.88 12.01a.733.733 0 0 1-1.065.02L3.217 8.384a.757.757 0 0 1 0-1.06.733.733 0 0 1 1.047 0l3.052 3.093 5.4-6.425a.247.247 0 0 1 .02-.022Z'/%3E%3C/svg%3E")}
.bi-circle::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3C/svg%3E")}
.bi-circle-half::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z'/%3E%3C/svg%3E")}
.bi-clock::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71V3.5z'/%3E%3Cpath d='M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm7-8A7 7 0 1 1 1 8a7 7 0 0 1 14 0z'/%3E%3C/svg%3E")}
.bi-dash-lg::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M2 8a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11A.5.5 0 0 1 2 8Z'/%3E%3C/svg%3E")}
.bi-download::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z'/%3E%3Cpath d='M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3z'/%3E%3C/svg%3E")}
.bi-droplet-half::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M7.21.8C7.69.295 8 0 8 0c.109.363.234.708.371 1.038.812 1.946 2.073 3.35 3.197 4.6C12.878 7.096 14 8.345 14 10a6 6 0 0 1-12 0C2 6.668 5.58 2.517 7.21.8zm.413 1.021A31.25 31.25 0 0 0 5.794 3.99c-.726.95-1.436 2.008-1.96 3.07C3.304 8.133 3 9.138 3 10c0 0 2.5 1.5 5 .5s5-.5 5-.5c0-1.201-.796-2.157-2.181-3.7l-.03-.032C9.75 5.11 8.5 3.72 7.623 1.82z'/%3E%3Cpath fill-rule='evenodd' d='M4.553 7.776c.82-1.641 1.717-2.753 2.093-3.13l.708.708c-.29.29-1.128 1.311-1.907 2.87l-.894-.448z'/%3E%3C/svg%3E")}
.bi-eraser::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8.086 2.207a2 2 0 0 1 2.828 0l3.879 3.879a2 2 0 0 1 0 2.828l-5.5 5.5A2 2 0 0 1 7.879 15H5.12a2 2 0 0 1-1.414-.586l-2.5-2.5a2 2 0 0 1 0-2.828l6.879-6.879zm2.121.707a1 1 0 0 0-1.414 0L4.16 7.547l5.293 5.293 4.633-4.633a1 1 0 0 0 0-1.414l-3.879-3.879zM8.746 13.547 3.453 8.254 1.914 9.793a1 1 0 0 0 0 1.414l2.5 2.5a1 1 0 0 0 .707.293H7.88a1 1 0 0 0 .707-.293l.16-.16z'/%3E%3C/svg%3E")}
.bi-exclamation-triangle::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M7.938 2.016A.13.13 0 0 1 8.002 2a.13.13 0 0 1 .063.016.146.146 0 0 1 .054.057l6.857 11.667c.036.06.035.124.002.183a.163.163 0 0 1-.054.06.116.116 0 0 1-.066.017H1.146a.115.115 0 0 1-.066-.017.163.163 0 0 1-.054-.06.176.176 0 0 1 .002-.183L7.884 2.073a.147.147 0 0 1 .054-.057zm1.044-.45a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566z'/%3E%3Cpath d='M7.002 12a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 5.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995z'/%3E%3C/svg%3E")}
.bi-exclamation-triangle-fill::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z'/%3E%3C/svg%3E")}
.bi-eye::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S16 8 16 8zM1.173 8a13.133 13.133 0 0 1 1.66-2.043C4.12 4.668 5.88 3.5 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.133 13.133 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755C11.879 11.332 10.119 12.5 8 12.5c-2.12 0-3.879-1.168-5.168-2.457A13.134 13.134 0 0 1 1.172 8z'/%3E%3Cpath d='M8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM4.5 8a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0z'/%3E%3C/svg%3E")}
.bi-file-earmark-zip::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 7.5a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v.938l.4 1.599a1 1 0 0 1-.416 1.074l-.93.62a1 1 0 0 1-1.11 0l-.929-.62a1 1 0 0 1-.415-1.074L5 8.438V7.5zm2 0H6v.938a1 1 0 0 1-.03.243l-.4 1.598.93.62.929-.62-.4-1.598A1 1 0 0 1 7 8.438V7.5z'/%3E%3Cpath d='M14 4.5V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h5.5L14 4.5zm-3 0A1.5 1.5 0 0 1 9.5 3V1h-2v1h-1v1h1v1h-1v1h1v1H6V5H5V4h1V3H5V2h1V1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h-2z'/%3E%3C/svg%3E")}
.bi-files::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13 0H6a2 2 0 0 0-2 2 2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h7a2 2 0 0 0 2-2 2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zm0 13V4a2 2 0 0 0-2-2H5a1 1 0 0 1 1-1h7a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1zM3 4a1 1 0 0 1 1-1h7a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4z'/%3E%3C/svg%3E")}
.bi-hand-index-thumb::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.75 1a.75.75 0 0 1 .75.75V8a.5.5 0 0 0 1 0V5.467l.086-.004c.317-.012.637-.008.816.027.134.027.294.096.448.182.077.042.15.147.15.314V8a.5.5 0 0 0 1 0V6.435l.106-.01c.316-.024.584-.01.708.04.118.046.3.207.486.43.081.096.15.19.2.259V8.5a.5.5 0 1 0 1 0v-1h.342a1 1 0 0 1 .995 1.1l-.271 2.715a2.5 2.5 0 0 1-.317.991l-1.395 2.442a.5.5 0 0 1-.434.252H6.118a.5.5 0 0 1-.447-.276l-1.232-2.465-2.512-4.185a.517.517 0 0 1 .809-.631l2.41 2.41A.5.5 0 0 0 6 9.5V1.75A.75.75 0 0 1 6.75 1zM8.5 4.466V1.75a1.75 1.75 0 1 0-3.5 0v6.543L3.443 6.736A1.517 1.517 0 0 0 1.07 8.588l2.491 4.153 1.215 2.43A1.5 1.5 0 0 0 6.118 16h6.302a1.5 1.5 0 0 0 1.302-.756l1.395-2.441a3.5 3.5 0 0 0 .444-1.389l.271-2.715a2 2 0 0 0-1.99-2.199h-.581a5.114 5.114 0 0 0-.195-.248c-.191-.229-.51-.568-.88-.716-.364-.146-.846-.132-1.158-.108l-.132.012a1.26 1.26 0 0 0-.56-.642 2.632 2.632 0 0 0-.738-.288c-.31-.062-.739-.058-1.05-.046l-.048.002zm2.094 2.025z'/%3E%3C/svg%3E")}
.bi-image::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.002 5.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z'/%3E%3Cpath d='M2.002 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2h-12zm12 1a1 1 0 0 1 1 1v6.5l-3.777-1.947a.5.5 0 0 0-.577.093l-3.71 3.71-2.66-1.772a.5.5 0 0 0-.63.062L1.002 12V3a1 1 0 0 1 1-1h12z'/%3E%3C/svg%3E")}
.bi-images::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.502 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z'/%3E%3Cpath d='M14.002 13a2 2 0 0 1-2 2h-10a2 2 0 0 1-2-2V5A2 2 0 0 1 2 3a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v8a2 2 0 0 1-1.998 2zM14 2H4a1 1 0 0 0-1 1h9.002a2 2 0 0 1 2 2v7A1 1 0 0 0 15 11V3a1 1 0 0 0-1-1zM2.002 4a1 1 0 0 0-1 1v8l2.646-2.354a.5.5 0 0 1 .63-.062l2.66 1.773 3.71-3.71a.5.5 0 0 1 .577-.094l1.777 1.947V5a1 1 0 0 0-1-1h-10z'/%3E%3C/svg%3E")}
.bi-info-circle::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3Cpath d='m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0z'/%3E%3C/svg%3E")}
.bi-lightbulb::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 6a6 6 0 1 1 10.174 4.31c-.203.196-.359.4-.453.619l-.762 1.769A.5.5 0 0 1 10.5 13a.5.5 0 0 1 0 1 .5.5 0 0 1 0 1l-.224.447a1 1 0 0 1-.894.553H6.618a1 1 0 0 1-.894-.553L5.5 15a.5.5 0 0 1 0-1 .5.5 0 0 1 0-1 .5.5 0 0 1-.46-.302l-.761-1.77a1.964 1.964 0 0 0-.453-.618A5.984 5.984 0 0 1 2 6zm6-5a5 5 0 0 0-3.479 8.592c.263.254.514.564.676.941L5.83 12h4.342l.632-1.467c.162-.377.413-.687.676-.941A5 5 0 0 0 8 1z'/%3E%3C/svg%3E")}
.bi-magic::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M9.5 2.672a.5.5 0 1 0 1 0V.843a.5.5 0 0 0-1 0v1.829Zm4.5.035A.5.5 0 0 0 13.293 2L12 3.293a.5.5 0 1 0 .707.707L14 2.707ZM7.293 4A.5.5 0 1 0 8 3.293L6.707 2A.5.5 0 0 0 6 2.707L7.293 4Zm-.621 2.5a.5.5 0 1 0 0-1H4.843a.5.5 0 1 0 0 1h1.829Zm8.485 0a.5.5 0 1 0 0-1h-1.829a.5.5 0 0 0 0 1h1.829ZM13.293 10A.5.5 0 1 0 14 9.293L12.707 8a.5.5 0 1 0-.707.707L13.293 10ZM9.5 11.157a.5.5 0 0 0 1 0V9.328a.5.5 0 0 0-1 0v1.829Zm1.854-5.097a.5.5 0 0 0 0-.706l-.708-.708a.5.5 0 0 0-.707 0L8.646 5.94a.5.5 0 0 0 0 .707l.708.708a.5.5 0 0 0 .707 0l1.293-1.293Zm-3 3a.5.5 0 0 0 0-.706l-.708-.708a.5.5 0 0 0-.707 0L.646 13.94a.5.5 0 0 0 0 .707l.708.708a.5.5 0 0 0 .707 0L8.354 9.06Z'/%3E%3C/svg%3E")}
.bi-moon::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278zM4.858 1.311A7.269 7.269 0 0 0 1.025 7.71c0 4.02 3.279 7.276 7.319 7.276a7.316 7.316 0 0 0 5.205-2.162c-.337.042-.68.063-1.029.063-4.61 0-8.343-3.714-8.343-8.29 0-1.167.242-2.278.681-3.286z'/%3E%3C/svg%3E")}
.bi-palette::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm4 3a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zM5.5 7a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm.5 6a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z'/%3E%3Cpath d='M16 8c0 3.15-1.866 2.585-3.567 2.07C11.42 9.763 10.465 9.473 10 10c-.603.683-.475 1.819-.351 2.92C9.826 14.495 9.996 16 8 16a8 8 0 1 1 8-8zm-8 7c.611 0 .654-.171.655-.176.078-.146.124-.464.07-1.119-.014-.168-.037-.37-.061-.591-.052-.464-.112-1.005-.118-1.462-.01-.707.083-1.61.704-2.314.369-.417.845-.578 1.272-.618.404-.038.812.026 1.16.104.343.077.702.186 1.025.284l.028.008c.346.105.658.199.953.266.653.148.904.083.991.024C14.717 9.38 15 9.161 15 8a7 7 0 1 0-7 7z'/%3E%3C/svg%3E")}
.bi-pen::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m13.498.795.149-.149a1.207 1.207 0 1 1 1.707 1.708l-.149.148a1.5 1.5 0 0 1-.059 2.059L4.854 14.854a.5.5 0 0 1-.233.131l-4 1a.5.5 0 0 1-.606-.606l1-4a.5.5 0 0 1 .131-.232l9.642-9.642a.5.5 0 0 0-.642.056L6.854 4.854a.5.5 0 1 1-.708-.708L9.44.854A1.5 1.5 0 0 1 11.5.796a1.5 1.5 0 0 1 1.998-.001zm-.644.766a.5.5 0 0 0-.707 0L1.95 11.756l-.764 3.057 3.057-.764L14.44 3.854a.5.5 0 0 0 0-.708l-1.585-1.585z'/%3E%3C/svg%3E")}
.bi-person-square::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11 6a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm12 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1v-1c0-1-1-4-6-4s-6 3-6 4v1a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12z'/%3E%3C/svg%3E")}
.bi-plus-lg::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 2a.5.5 0 0 1 .5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5A.5.5 0 0 1 8 2Z'/%3E%3C/svg%3E")}
.bi-share::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.5 1a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM11 2.5a2.5 2.5 0 1 1 .603 1.628l-6.718 3.12a2.499 2.499 0 0 1 0 1.504l6.718 3.12a2.5 2.5 0 1 1-.488.876l-6.718-3.12a2.5 2.5 0 1 1 0-3.256l6.718-3.12A2.5 2.5 0 0 1 11 2.5zm-8.5 4a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm11 5.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z'/%3E%3C/svg%3E")}
.bi-shuffle::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M0 3.5A.5.5 0 0 1 .5 3H1c2.202 0 3.827 1.24 4.874 2.418.49.552.865 1.102 1.126 1.532.26-.43.636-.98 1.126-1.532C9.173 4.24 10.798 3 13 3v1c-1.798 0-3.173 1.01-4.126 2.082A9.624 9.624 0 0 0 7.556 8a9.624 9.624 0 0 0 1.317 1.918C9.828 10.99 11.204 12 13 12v1c-2.202 0-3.827-1.24-4.874-2.418A10.595 10.595 0 0 1 7 9.05c-.26.43-.636.98-1.126 1.532C4.827 11.76 3.202 13 1 13H.5a.5.5 0 0 1 0-1H1c1.798 0 3.173-1.01 4.126-2.082A9.624 9.624 0 0 0 6.444 8a9.624 9.624 0 0 0-1.317-1.918C4.172 5.01 2.796 4 1 4H.5a.5.5 0 0 1-.5-.5z'/%3E%3Cpath d='M13 5.466V1.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384l-2.36 1.966a.25.25 0 0 1-.41-.192zm0 9v-3.932a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384l-2.36 1.966a.25.25 0 0 1-.41-.192z'/%3E%3C/svg%3E")}
.bi-slash-circle::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3Cpath d='M11.354 4.646a.5.5 0 0 0-.708 0l-6 6a.5.5 0 0 0 .708.708l6-6a.5.5 0 0 0 0-.708z'/%3E%3C/svg%3E")}
.bi-sliders::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M11.5 2a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM9.05 3a2.5 2.5 0 0 1 4.9 0H16v1h-2.05a2.5 2.5 0 0 1-4.9 0H0V3h9.05zM4.5 7a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM2.05 8a2.5 2.5 0 0 1 4.9 0H16v1H6.95a2.5 2.5 0 0 1-4.9 0H0V8h2.05zm9.45 4a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm-2.45 1a2.5 2.5 0 0 1 4.9 0H16v1h-2.05a2.5 2.5 0 0 1-4.9 0H0v-1h9.05z'/%3E%3C/svg%3E")}
.bi-square::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z'/%3E%3C/svg%3E")}
.bi-stars::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M7.657 6.247c.11-.33.576-.33.686 0l.645 1.937a2.89 2.89 0 0 0 1.829 1.828l1.936.645c.33.11.33.576 0 .686l-1.937.645a2.89 2.89 0 0 0-1.828 1.829l-.645 1.936a.361.361 0 0 1-.686 0l-.645-1.937a2.89 2.89 0 0 0-1.828-1.828l-1.937-.645a.361.361 0 0 1 0-.686l1.937-.645a2.89 2.89 0 0 0 1.828-1.828l.645-1.937zM3.794 1.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387A1.734 1.734 0 0 0 4.593 5.69l-.387 1.162a.217.217 0 0 1-.412 0L3.407 5.69A1.734 1.734 0 0 0 2.31 4.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387A1.734 1.734 0 0 0 3.407 2.31l.387-1.162zM10.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732L9.1 2.137a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L10.863.1z'/%3E%3C/svg%3E")}
.bi-stop-circle::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3Cpath d='M5 6.5A1.5 1.5 0 0 1 6.5 5h3A1.5 1.5 0 0 1 11 6.5v3A1.5 1.5 0 0 1 9.5 11h-3A1.5 1.5 0 0 1 5 9.5v-3z'/%3E%3C/svg%3E")}
.bi-symmetry-vertical::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M7 2.5a.5.5 0 0 0-.939-.24l-6 11A.5.5 0 0 0 .5 14h6a.5.5 0 0 0 .5-.5v-11zm2.376-.484a.5.5 0 0 1 .563.245l6 11A.5.5 0 0 1 15.5 14h-6a.5.5 0 0 1-.5-.5v-11a.5.5 0 0 1 .376-.484zM10 4.46V13h4.658L10 4.46z'/%3E%3C/svg%3E")}
.bi-trash::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z'/%3E%3Cpath fill-rule='evenodd' d='M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z'/%3E%3C/svg%3E")}
.bi-upload::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z'/%3E%3Cpath d='M7.646 1.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 2.707V11.5a.5.5 0 0 1-1 0V2.707L5.354 4.854a.5.5 0 1 1-.708-.708l3-3z'/%3E%3C/svg%3E")}
.bi-x-circle::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3Cpath d='M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E")}
.bi-x-circle-fill::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z'/%3E%3C/svg%3E")}
.bi-x-lg::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M13.854 2.146a.5.5 0 0 1 0 .708l-11 11a.5.5 0 0 1-.708-.708l11-11a.5.5 0 0 1 .708 0Z'/%3E%3Cpath fill-rule='evenodd' d='M2.146 2.146a.5.5 0 0 0 0 .708l11 11a.5.5 0 0 0 .708-.708l-11-11a.5.5 0 0 0-.708 0Z'/%3E%3C/svg%3E")}
.bi-zoom-in::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M6.5 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zM13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0z'/%3E%3Cpath d='M10.344 11.742c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1 6.538 6.538 0 0 1-1.398 1.4z'/%3E%3Cpath fill-rule='evenodd' d='M6.5 3a.5.5 0 0 1 .5.5V6h2.5a.5.5 0 0 1 0 1H7v2.5a.5.5 0 0 1-1 0V7H3.5a.5.5 0 0 1 0-1H6V3.5a.5.5 0 0 1 .5-.5z'/%3E%3C/svg%3E")}
.bi-zoom-out::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M6.5 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zM13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0z'/%3E%3Cpath d='M10.344 11.742c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1 6.538 6.538 0 0 1-1.398 1.4z'/%3E%3Cpath fill-rule='evenodd' d='M3 6.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E")}
.far.fa-star::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M528.1 171.5L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6zM388.6 312.3l23.7 138.4L288 385.4l-124.3 65.3 23.7-138.4-100.6-98 139-20.2 62.2-126 62.2 126 139 20.2-100.6 98z'/%3E%3C/svg%3E");--cb-iw:1.125em}
.far.fa-user::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M313.6 304c-28.7 0-42.5 16-89.6 16-47.1 0-60.8-16-89.6-16C60.2 304 0 364.2 0 438.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-25.6c0-74.2-60.2-134.4-134.4-134.4zM400 464H48v-25.6c0-47.6 38.8-86.4 86.4-86.4 14.6 0 38.3 16 89.6 16 51.7 0 74.9-16 89.6-16 47.6 0 86.4 38.8 86.4 86.4V464zM224 288c79.5 0 144-64.5 144-144S303.5 0 224 0 80 64.5 80 144s64.5 144 144 144zm0-240c52.9 0 96 43.1 96 96s-43.1 96-96 96-96-43.1-96-96 43.1-96 96-96z'/%3E%3C/svg%3E");--cb-iw:0.875em}
.far.fa-user-circle::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 496 512'%3E%3Cpath d='M248 104c-53 0-96 43-96 96s43 96 96 96 96-43 96-96-43-96-96-96zm0 144c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm0-240C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-49.7 0-95.1-18.3-130.1-48.4 14.9-23 40.4-38.6 69.6-39.5 20.8 6.4 40.6 9.6 60.5 9.6s39.7-3.1 60.5-9.6c29.2 1 54.7 16.5 69.6 39.5-35 30.1-80.4 48.4-130.1 48.4zm162.7-84.1c-24.4-31.4-62.1-51.9-105.1-51.9-10.2 0-26 9.6-57.6 9.6-31.5 0-47.4-9.6-57.6-9.6-42.9 0-80.6 20.5-105.1 51.9C61.9 339.2 48 299.2 48 256c0-110.3 89.7-200 200-200s200 89.7 200 200c0 43.2-13.9 83.2-37.3 115.9z'/%3E%3C/svg%3E");--cb-iw:0.9688em}
.fas.fa-arrow-right::before,.fa.fa-arrow-right::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z'/%3E%3C/svg%3E");--cb-iw:0.875em}
.fas.fa-bars::before,.fa.fa-bars::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z'/%3E%3C/svg%3E");--cb-iw:0.875em}
.fas.fa-check-circle::before,.fa.fa-check-circle::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z'/%3E%3C/svg%3E")}
.fas.fa-eraser::before,.fa.fa-eraser::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M497.941 273.941c18.745-18.745 18.745-49.137 0-67.882l-160-160c-18.745-18.745-49.136-18.746-67.883 0l-256 256c-18.745 18.745-18.745 49.137 0 67.882l96 96A48.004 48.004 0 0 0 144 480h356c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12H355.883l142.058-142.059zm-302.627-62.627l137.373 137.373L265.373 416H150.628l-80-80 124.686-124.686z'/%3E%3C/svg%3E")}
.fas.fa-expand-arrows-alt::before,.fa.fa-expand-arrows-alt::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M448 344v112a23.94 23.94 0 0 1-24 24H312c-21.39 0-32.09-25.9-17-41l36.2-36.2L224 295.6 116.77 402.9 153 439c15.09 15.1 4.39 41-17 41H24a23.94 23.94 0 0 1-24-24V344c0-21.4 25.89-32.1 41-17l36.19 36.2L184.46 256 77.18 148.7 41 185c-15.1 15.1-41 4.4-41-17V56a23.94 23.94 0 0 1 24-24h112c21.39 0 32.09 25.9 17 41l-36.2 36.2L224 216.4l107.23-107.3L295 73c-15.09-15.1-4.39-41 17-41h112a23.94 23.94 0 0 1 24 24v112c0 21.4-25.89 32.1-41 17l-36.19-36.2L263.54 256l107.28 107.3L407 327.1c15.1-15.2 41-4.5 41 16.9z'/%3E%3C/svg%3E");--cb-iw:0.875em}
.fas.fa-globe::before,.fa.fa-globe::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 496 512'%3E%3Cpath d='M336.5 160C322 70.7 287.8 8 248 8s-74 62.7-88.5 152h177zM152 256c0 22.2 1.2 43.5 3.3 64h185.3c2.1-20.5 3.3-41.8 3.3-64s-1.2-43.5-3.3-64H155.3c-2.1 20.5-3.3 41.8-3.3 64zm324.7-96c-28.6-67.9-86.5-120.4-158-141.6 24.4 33.8 41.2 84.7 50 141.6h108zM177.2 18.4C105.8 39.6 47.8 92.1 19.3 160h108c8.7-56.9 25.5-107.8 49.9-141.6zM487.4 192H372.7c2.1 21 3.3 42.5 3.3 64s-1.2 43-3.3 64h114.6c5.5-20.5 8.6-41.8 8.6-64s-3.1-43.5-8.5-64zM120 256c0-21.5 1.2-43 3.3-64H8.6C3.2 212.5 0 233.8 0 256s3.2 43.5 8.6 64h114.6c-2-21-3.2-42.5-3.2-64zm39.5 96c14.5 89.3 48.7 152 88.5 152s74-62.7 88.5-152h-177zm159.3 141.6c71.4-21.2 129.4-73.7 158-141.6h-108c-8.8 56.9-25.6 107.8-50 141.6zM19.3 352c28.6 67.9 86.5 120.4 158 141.6-24.4-33.8-41.2-84.7-50-141.6h-108z'/%3E%3C/svg%3E");--cb-iw:0.9688em}
.fas.fa-palette::before,.fa.fa-palette::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M204.3 5C104.9 24.4 24.8 104.3 5.2 203.4c-37 187 131.7 326.4 258.8 306.7 41.2-6.4 61.4-54.6 42.5-91.7-23.1-45.4 9.9-98.4 60.9-98.4h79.7c35.8 0 64.8-29.6 64.9-65.3C511.5 97.1 368.1-26.9 204.3 5zM96 320c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm32-128c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128-64c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128 64c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z'/%3E%3C/svg%3E")}
.fas.fa-sliders-h::before,.fa.fa-sliders-h::before{--cb-i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M496 384H160v-16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v16H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h80v16c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-16h336c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm0-160h-80v-16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v16H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h336v16c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-16h80c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm0-160H288V48c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v16H16C7.2 64 0 71.2 0 80v32c0 8.8 7.2 16 16 16h208v16c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-16h208c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16z'/%3E%3C/svg%3E")}

/* ==== main.css ==== */
body {
  font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Bootstrap's blue (#007bff) has 4.0:1 contrast with white; its own darker
   shade has 5.2:1, for links and the primary buttons' white text. */
a { color: #0069d9; }
a:hover { color: #0050a8; }
/* Links inside running text are underlined, not told apart by colour alone. */
.main-section p a:not([class]), .cb-price-more p a:not([class]) { text-decoration: underline; }
/* The editor's footer note on the dark footer (Bootstrap's grey is 2.5:1 there). */
.cb-footer-note { color: #adb5bd; }
.btn-primary { background-color: #0069d9; border-color: #0062cc; }
.btn-primary:hover { background-color: #0058b8; border-color: #0052ad; }

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

@media (min-width: 1200px)
.h1, h1 {
    font-size: 3.75rem;
}
@media (min-width: 992px)
.h1, h1 {
    font-size: 3rem;
}
.h1, h1 {
    font-size: 36px;
    font-size: 2.25rem;
}

.img-fluid {
    margin: 0 auto;
    display: block;
}

.panel-bg {
	background-color: #FFFFFF;
}

.container-full {
	max-width:100% !important;
}

.navbar {
    border-color: #e7e7e7;
    border-width: 0 0 1px;
    border-style: solid;
    padding: .2rem 1rem;
}

header.masthead {
  position: relative;
  background: linear-gradient(0deg, #e9ecef, #dae0e566, #dae0e5a3, #dae0e5);
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  padding-top: 5.7rem;
  padding-bottom: 2rem;
}

header.masthead h3 {
  font-weight: 700;
}


header.masthead .overlay {
  position: absolute;
  background-color: #212529;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0.0;
}

header.masthead h1 {
  font-size: 2rem;
}

header.masthead a {
	color: #CCCCCC;
	text-decoration: none;
}

header.masthead a:hover {
	color: #FFFFFF;
	text-decoration: underline;
}

@media (min-width: 768px) {
  header.masthead {
    padding-top: 5.7rem;
    padding-bottom: 2rem;
  }
  header.masthead h1 {
    font-size: 3rem;
  }
}

.showcase .showcase-text {
  padding: 3rem;
}

.showcase .showcase-img {
  min-height: 30rem;
  background-size: cover;
}

@media (min-width: 768px) {
  .showcase .showcase-text {
    padding: 5rem;
  }
}

.main-section {
  padding-top: 5.7rem;
  padding-bottom: 2rem;
}

.features-icons {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.features-icons .features-icons-item {
  max-width: 20rem;
}

.features-icons .features-icons-item .features-icons-icon {
  height: 7rem;
}

.features-icons .features-icons-item .features-icons-icon i {
  font-size: 4.5rem;
}

.features-icons .features-icons-item:hover .features-icons-icon i {
  font-size: 5rem;
}

footer.footer {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

footer {
    box-shadow: 0 50vh 0 50vh #343a40;
}

footer .btn-outline-primary {
    color: #FFFFFF;
    background-color: transparent;
    background-image: none;
    border-color: #FFFFFF;
}

hr {
    border-top: 1px solid #FFFFFF;
}

.transparency-grid {
	background: #CCCCCC url('../img/transparency-grid.png') repeat;
	box-shadow: 0 0 5px 0 rgba(0,0,0,.2);
	border-radius: 4px;
}

.gray-background {
	background: #CCCCCC;
	box-shadow: 0 0 5px 0 rgba(0,0,0,.2);
	border-radius: 4px;
}

.center-v {
	display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.price-tag {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: rgba(12,18,28,.87);
}

.price-tag-body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    max-height: 84px;
    min-height: 70px;
    justify-content: center!important;
}

.price-tag-currency {
    position: relative;
    top: 4px;
    font-size: 24px;
    font-weight: 400;
}

.price-tag-value {
    font-size: 64px;
    font-weight: 400;
    line-height: 70px;
    height: 70px;
}

.checkout-desc {
    font-size: 24px;
    font-weight: 400;
}

.checkout-total-price {
    font-size: 24px;
    font-weight: 400;
}

.preview {
	max-height: 500px;
	max-width: 500px;
}

@media (max-width: 576px) {
	.preview {
		max-height: 400px;
		max-width: 400px;
	}
}

.close-button {
	top:0px !important;
	right:10px !important;
	font-size: 2rem !important;
	width: 36px;
	height: 36px;
	opacity: 0.3;
}
/* === Change Background Tab === */
.bg-swatch-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 6px 0;
}
.bg-color-swatch {
	width: 26px;
	height: 26px;
	padding: 0;
	border-radius: 4px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: border-color .15s, transform .1s;
	flex-shrink: 0;
}
.bg-color-swatch:hover {
	border-color: #007bff;
	transform: scale(1.15);
}
.bg-grad-preset-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}
.bg-grad-preset {
	width: 40px;
	height: 24px;
	padding: 0;
	border-radius: 4px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: border-color .15s, transform .1s;
	flex-shrink: 0;
}
.bg-grad-preset:hover {
	border-color: #007bff;
	transform: scale(1.1);
}
.bg-grad-preset.active {
	border-color: #007bff;
}
.bg-custom-color-picker {
	width: 40px;
	height: 32px;
	padding: 1px 2px;
	cursor: pointer;
	border: 1px solid #ced4da;
	border-radius: 4px;
}
.bg-direction-btn {
	font-size: .8rem;
}
.bg-direction-btn.active {
	background-color: #007bff !important;
	color: #fff !important;
	border-color: #007bff !important;
}
.bg-photo-drop-zone {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 2px dashed #ced4da;
	border-radius: 8px;
	padding: 20px;
	cursor: pointer;
	text-align: center;
	color: #6c757d;
	transition: border-color .2s, background-color .2s;
	width: 100%;
	margin: 0;
}
.bg-photo-drop-zone:hover {
	border-color: #007bff;
	background-color: #f0f7ff;
}
.bg-controls-panel {
	border-bottom: 1px solid #dee2e6;
	padding-bottom: 12px;
	margin-bottom: 4px;
}
.bg-ctrl-label {
	min-width: 4.5rem;
	flex-shrink: 0;
	white-space: nowrap;
}
@media (max-width: 576px) {
	.bg-direction-btn {
		font-size: .7rem;
		padding: .25rem .3rem;
	}
}
/* Language switcher (inc/lang-switcher.inc.php): 18 entries, keep the menu
   on-screen on short viewports. */
.cb-lang-switcher .dropdown-menu {
	max-height: 70vh;
	overflow-y: auto;
}
.cb-lang-switcher .dropdown-item.active {
	font-weight: 600;
}
/* "AI Tools" menu (inc/top-menu.inc.php) */
.cb-tools-menu .dropdown-item i {
	width: 1.3em;
	margin-right: 6px;
	text-align: center;
	color: #d81878;
}
[dir="rtl"] .cb-tools-menu .dropdown-item i {
	margin-right: 0;
	margin-left: 6px;
}
/* Bootstrap 4 puts a dialog's close button at the right with physical
   margins; in right-to-left pages it belongs at the left, not on the title. */
[dir="rtl"] .modal-header .close {
	margin: -1rem auto -1rem -1rem;
}

/* ---- Site navbar (all pages) ----
   The backdrop filter makes the bar a stacking context, so its dropdowns are
   only as high as the bar itself: give it the fixed bar's z-index everywhere,
   also where it is not fixed (the editor), or the page paints over the menus. */
#mainNav.bg-light {
  z-index: 1030;
  background-color: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid #ebe8e3;
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
}
#mainNav .navbar-nav .nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #3d434b;
}
#mainNav .navbar-nav .nav-link:hover,
#mainNav .navbar-nav .nav-link:focus { color: #16181d; }
@media (min-width: 992px) {
  #mainNav .navbar-nav { align-items: center; }
  #mainNav .navbar-nav .nav-link { padding-left: 0.8rem; padding-right: 0.8rem; }
}
/* Guides joins the bar only where every language still fits on one line;
   below that the bar has no room (the footer links to the guides), and in
   the collapsed phone menu it is a row like the others. */
@media (min-width: 992px) and (max-width: 1279.98px) {
  #mainNav .cb-nav-guides { display: none; }
}
/* Small laptops: tighter links, so long labels (ru) stay inside the bar. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  #mainNav .navbar-nav .nav-link { padding-left: 0.55rem; padding-right: 0.55rem; }
}
#mainNav .navbar-nav .nav-link.cb-nav-signup {
  display: inline-block;
  margin: 0.25rem 0 0.5rem;
  padding: 0.35rem 1.15rem;
  font-weight: 600;
  color: #16181d;
  border: 1.5px solid #cfcac3;
  border-radius: 999px;
}
@media (min-width: 992px) {
  #mainNav .navbar-nav .nav-link.cb-nav-signup { margin: 0 0.4rem; }
}
#mainNav .navbar-nav .nav-link.cb-nav-signup:hover { border-color: #16181d; }
#mainNav .navbar-toggler {
  padding: 0.35rem 0.95rem;
  font-size: 0.95rem;
  color: #16181d;
  border: 1.5px solid #cfcac3;
  border-radius: 999px;
}
@media (pointer: coarse) {
  #mainNav .navbar-toggler { min-height: 40px; }
}

/* ---- Site footer (inc/footer.inc.php) ---- */
footer.cb-footer {
  padding: 56px 0 8px;
  color: #a9aeb5;
  background: #16181d;
  border-top: 4px solid #d81878;
  border-image: linear-gradient(90deg, #d81878, #f0901a 36%, #78c030 66%, #3090c0) 1;
  /* Fills any space below the footer on short pages (see "footer" above). */
  box-shadow: 0 50vh 0 50vh #16181d;
}
.cb-footer-brand img { width: 180px; height: auto; }
.cb-footer-tagline { max-width: 280px; margin: 14px 0 0; font-size: 0.92rem; }
footer.cb-footer .cb-footer-heading {
  margin-bottom: 14px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
footer.cb-footer li { margin-bottom: 9px; font-size: 0.93rem; }
footer.cb-footer a { color: #d3d6da; }
footer.cb-footer a:hover { color: #fff; }
.cb-footer-bottom {
  margin: 12px 0 0;
  padding: 22px 0;
  font-size: 0.82rem;
  color: #80868e;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Pricing: the terms under the heading, and the payment and refund lines. */
.cb-price-terms { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 14px 0 8px; padding: 0; list-style: none; font-weight: 600; }
.cb-price-terms .fas { margin-inline-end: 4px; color: #2e9d4f; }
.cb-price-note { max-width: 560px; margin: 0 auto; color: #5f6670; }
.cb-price-pay { max-width: 560px; margin: 6px auto 4px; }
.cb-price-refund { max-width: 560px; margin: 10px auto 0; font-size: 0.92rem; color: #5f6670; }
.cb-price-refund a { text-decoration: underline; }
.cb-price-help { max-width: 560px; margin: 8px auto 0; font-size: 0.92rem; color: #5f6670; }
/* /pricing: section headings, the free and paid table per tool, the FAQ. */
/* The 404 page. */
.cb-404 { padding-bottom: 72px; }
.cb-404-code { margin: 0; font-size: 5rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: #d9dde2; }
.cb-404 h1 { margin: 6px 0 10px; }
.cb-404 .lead { margin-bottom: 22px; color: #5f6670; }
.cb-404-h2 { margin: 40px 0 12px; font-size: 1.1rem; font-weight: 600; }
.cb-404-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; max-width: 720px; margin: 0 auto; padding: 0; list-style: none; }
.cb-404-links a { display: inline-block; padding: 7px 14px; border: 1px solid #dfe3e8; border-radius: 999px; background: #fff; }
.cb-price-h2 { margin: 8px 0 0; font-size: 1.5rem; font-weight: 600; color: #212529; }
.cb-price-h2-sm { margin-bottom: 8px; font-size: 1.15rem; }
.cb-price-more { padding: 48px 0 56px; background: #fff; }
.cb-price-more .cb-price-h2 { text-align: center; }
.cb-price-lead { max-width: 640px; margin: 8px auto 22px; text-align: center; color: #5f6670; }
.cb-price-table { width: 100%; max-width: 960px; margin: 0 auto 48px; border: 1px solid #e3e6ea; border-collapse: separate; border-spacing: 0; border-radius: 12px; font-size: 0.95rem; line-height: 1.5; }
.cb-price-table th,
.cb-price-table td { padding: 14px 16px; text-align: start; vertical-align: top; border-bottom: 1px solid #e3e6ea; }
.cb-price-table thead th { font-weight: 700; background: #f8f9fb; }
/* Two tool links stacked in one cell: tall enough to tap apart. */
.cb-price-table tbody th a { display: inline-block; padding: 3px 0; }
.cb-price-table thead th:first-child { border-start-start-radius: 12px; }
.cb-price-table thead th:last-child { border-start-end-radius: 12px; }
.cb-price-table tbody tr:last-child > * { border-bottom: 0; }
.cb-price-table tbody th { width: 22%; font-weight: 600; }
.cb-price-faq { max-width: 760px; margin: 18px auto 0; }
.cb-price-faq details { border-bottom: 1px solid #e3e6ea; }
.cb-price-faq summary { padding: 14px 4px; font-weight: 600; cursor: pointer; }
.cb-price-faq details p { margin: 0 4px 16px; color: #495057; }
@media (max-width: 767.98px) {
  .cb-price-more { padding: 36px 0 40px; }
  .cb-price-h2 { font-size: 1.3rem; }
  /* The table as one card per tool, each cell with its column's name. */
  .cb-price-table,
  .cb-price-table tbody,
  .cb-price-table tr,
  .cb-price-table th,
  .cb-price-table td { display: block; width: 100%; }
  .cb-price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cb-price-table tbody tr { padding: 12px 0; border-bottom: 1px solid #e3e6ea; }
  .cb-price-table tbody tr:last-child { border-bottom: 0; }
  .cb-price-table th,
  .cb-price-table td { padding: 4px 16px; border-bottom: 0; }
  .cb-price-table tbody th { width: 100%; }
  .cb-price-table td::before { content: attr(data-label); display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; color: #5f6670; }
}

/* Contact: the support address and the credit-problem rule above the form. */
.cb-contact-direct { max-width: 760px; margin: 0 0 26px; padding: 16px 20px; border: 1px solid #e3e6ea; border-radius: 10px; background: #f8f9fb; }
.cb-contact-direct p { margin-bottom: 8px; }
.cb-contact-direct p:last-child { margin-bottom: 0; }
.cb-contact-direct .cb-contact-h2 { margin-top: 14px; }
.cb-contact-mail { font-size: 1.05rem; }
.cb-contact-mail .fa-envelope { margin-inline-end: 6px; color: #6c757d; }
.cb-support-mail { font-weight: 600; overflow-wrap: anywhere; }
.cb-contact-h2 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 600; }
.cb-contact-small { font-size: 0.92rem; color: #5f6670; }

/* ==== modal-sidebar.css ==== */
/* ----- MODAL SIDEBAR ----- */
.close {
	font-weight:500;
}

.modal.left .modal-dialog {
	position:fixed;
	right: 0;
	margin: auto;
	width: 320px;
	height: 100%;
	-webkit-transform: translate3d(0%, 0, 0);
	-ms-transform: translate3d(0%, 0, 0);
	-o-transform: translate3d(0%, 0, 0);
	transform: translate3d(0%, 0, 0);
}

.modal.left .modal-content {
	height: 100%;
	overflow-y: auto;
}

.modal.right .modal-body {
	padding: 15px 15px 80px;
}

.modal.right.fade .modal-dialog {
	left: -320px;
	-webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
	-moz-transition: opacity 0.3s linear, left 0.3s ease-out;
	-o-transition: opacity 0.3s linear, left 0.3s ease-out;
	transition: opacity 0.3s linear, left 0.3s ease-out;
}

.modal.right.fade.show .modal-dialog {
	right: 0;
}

/* ----- MODAL STYLE ----- */
.modal-content {
	border-radius: 0;
	border: none;
}

.modal-header {
	border-bottom-color: #eeeeee;
	background-color: #fafafa;
}

/* ==== basic.css ==== */
/*
 * The MIT License
 * Copyright (c) 2012 Matias Meno <m@tias.me>
 */
.dropzone, .dropzone * {
  box-sizing: border-box; }

.dropzone {
  position: relative; }
  .dropzone .dz-preview {
    position: relative;
    display: inline-block;
    width: 120px;
    margin: 0.5em; }
    .dropzone .dz-preview .dz-progress {
      display: block;
      height: 15px;
      border: 1px solid #aaa; }
      .dropzone .dz-preview .dz-progress .dz-upload {
        display: block;
        height: 100%;
        width: 0;
        background: green; }
    .dropzone .dz-preview .dz-error-message {
      color: red;
      display: none; }
    .dropzone .dz-preview.dz-error .dz-error-message, .dropzone .dz-preview.dz-error .dz-error-mark {
      display: block; }
    .dropzone .dz-preview.dz-success .dz-success-mark {
      display: block; }
    .dropzone .dz-preview .dz-error-mark, .dropzone .dz-preview .dz-success-mark {
      position: absolute;
      display: none;
      left: 30px;
      top: 30px;
      width: 54px;
      height: 58px;
      left: 50%;
      margin-left: -27px; }

/* ==== dropzone.css ==== */
/*
 * The MIT License
 * Copyright (c) 2012 Matias Meno <m@tias.me>
 */
@-webkit-keyframes passing-through {
  0% {
    opacity: 0;
    -webkit-transform: translateY(40px);
    -moz-transform: translateY(40px);
    -ms-transform: translateY(40px);
    -o-transform: translateY(40px);
    transform: translateY(40px); }
  30%, 70% {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -o-transform: translateY(0px);
    transform: translateY(0px); }
  100% {
    opacity: 0;
    -webkit-transform: translateY(-40px);
    -moz-transform: translateY(-40px);
    -ms-transform: translateY(-40px);
    -o-transform: translateY(-40px);
    transform: translateY(-40px); } }
@-moz-keyframes passing-through {
  0% {
    opacity: 0;
    -webkit-transform: translateY(40px);
    -moz-transform: translateY(40px);
    -ms-transform: translateY(40px);
    -o-transform: translateY(40px);
    transform: translateY(40px); }
  30%, 70% {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -o-transform: translateY(0px);
    transform: translateY(0px); }
  100% {
    opacity: 0;
    -webkit-transform: translateY(-40px);
    -moz-transform: translateY(-40px);
    -ms-transform: translateY(-40px);
    -o-transform: translateY(-40px);
    transform: translateY(-40px); } }
@keyframes passing-through {
  0% {
    opacity: 0;
    -webkit-transform: translateY(40px);
    -moz-transform: translateY(40px);
    -ms-transform: translateY(40px);
    -o-transform: translateY(40px);
    transform: translateY(40px); }
  30%, 70% {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -o-transform: translateY(0px);
    transform: translateY(0px); }
  100% {
    opacity: 0;
    -webkit-transform: translateY(-40px);
    -moz-transform: translateY(-40px);
    -ms-transform: translateY(-40px);
    -o-transform: translateY(-40px);
    transform: translateY(-40px); } }
@-webkit-keyframes slide-in {
  0% {
    opacity: 0;
    -webkit-transform: translateY(40px);
    -moz-transform: translateY(40px);
    -ms-transform: translateY(40px);
    -o-transform: translateY(40px);
    transform: translateY(40px); }
  30% {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -o-transform: translateY(0px);
    transform: translateY(0px); } }
@-moz-keyframes slide-in {
  0% {
    opacity: 0;
    -webkit-transform: translateY(40px);
    -moz-transform: translateY(40px);
    -ms-transform: translateY(40px);
    -o-transform: translateY(40px);
    transform: translateY(40px); }
  30% {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -o-transform: translateY(0px);
    transform: translateY(0px); } }
@keyframes slide-in {
  0% {
    opacity: 0;
    -webkit-transform: translateY(40px);
    -moz-transform: translateY(40px);
    -ms-transform: translateY(40px);
    -o-transform: translateY(40px);
    transform: translateY(40px); }
  30% {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -o-transform: translateY(0px);
    transform: translateY(0px); } }
@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1); }
  10% {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1); }
  20% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1); } }
@-moz-keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1); }
  10% {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1); }
  20% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1); } }
@keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1); }
  10% {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1); }
  20% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1); } }
.dropzone, .dropzone * {
  box-sizing: border-box; }

.dropzone {
  border-radius: 8px;
  min-height: 100px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  background: white;
  padding: 0px 0px; }
  .dropzone.dz-clickable {
    cursor: pointer; }
    .dropzone.dz-clickable * {
      cursor: default; }
    .dropzone.dz-clickable .dz-message, .dropzone.dz-clickable .dz-message * {
      cursor: pointer; }
  .dropzone.dz-started .dz-message {
    display: none; }
  .dropzone.dz-drag-hover {
    border-style: solid; }
    .dropzone.dz-drag-hover .dz-message {
      opacity: 0.5; }
  .dropzone .dz-message {
    text-align: center;
    margin: 2em 0; }
    .dropzone .dz-message .dz-button {
      background: none;
      color: inherit;
      border: none;
      padding: 0;
      font: inherit;
      cursor: pointer;
      outline: inherit; }
  .dropzone .dz-preview {
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin: 16px;
    min-height: 100px; }
    .dropzone .dz-preview:hover {
      z-index: 1000; }
      .dropzone .dz-preview:hover .dz-details {
        opacity: 1; }
    .dropzone .dz-preview.dz-file-preview .dz-image {
      border-radius: 20px;
      background: #999;
      background: linear-gradient(to bottom, #eee, #ddd); }
    .dropzone .dz-preview.dz-file-preview .dz-details {
      opacity: 1; }
    .dropzone .dz-preview.dz-image-preview {
      background: white; }
      .dropzone .dz-preview.dz-image-preview .dz-details {
        -webkit-transition: opacity 0.2s linear;
        -moz-transition: opacity 0.2s linear;
        -ms-transition: opacity 0.2s linear;
        -o-transition: opacity 0.2s linear;
        transition: opacity 0.2s linear; }
    .dropzone .dz-preview .dz-remove {
      font-size: 14px;
      text-align: center;
      display: block;
      cursor: pointer;
      border: none; }
      .dropzone .dz-preview .dz-remove:hover {
        text-decoration: underline; }
    .dropzone .dz-preview:hover .dz-details {
      opacity: 1; }
    .dropzone .dz-preview .dz-details {
      z-index: 20;
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0;
      font-size: 13px;
      min-width: 100%;
      max-width: 100%;
      padding: 2em 1em;
      text-align: center;
      color: rgba(0, 0, 0, 0.9);
      line-height: 150%; }
      .dropzone .dz-preview .dz-details .dz-size {
        margin-bottom: 1em;
        font-size: 16px; }
      .dropzone .dz-preview .dz-details .dz-filename {
        white-space: nowrap; }
        .dropzone .dz-preview .dz-details .dz-filename:hover span {
          border: 1px solid rgba(200, 200, 200, 0.8);
          background-color: rgba(255, 255, 255, 0.8); }
        .dropzone .dz-preview .dz-details .dz-filename:not(:hover) {
          overflow: hidden;
          text-overflow: ellipsis; }
          .dropzone .dz-preview .dz-details .dz-filename:not(:hover) span {
            border: 1px solid transparent; }
      .dropzone .dz-preview .dz-details .dz-filename span, .dropzone .dz-preview .dz-details .dz-size span {
        background-color: rgba(255, 255, 255, 0.4);
        padding: 0 0.4em;
        border-radius: 3px; }
    .dropzone .dz-preview:hover .dz-image img {
      -webkit-transform: scale(1.05, 1.05);
      -moz-transform: scale(1.05, 1.05);
      -ms-transform: scale(1.05, 1.05);
      -o-transform: scale(1.05, 1.05);
      transform: scale(1.05, 1.05);
      -webkit-filter: blur(8px);
      filter: blur(8px); }
    .dropzone .dz-preview .dz-image {
      border-radius: 20px;
      overflow: hidden;
      width: 120px;
      height: 120px;
      position: relative;
      display: block;
      z-index: 10; }
      .dropzone .dz-preview .dz-image img {
        display: block; }
    .dropzone .dz-preview.dz-success .dz-success-mark {
      -webkit-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
      -moz-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
      -ms-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
      -o-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
      animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1); }
    .dropzone .dz-preview.dz-error .dz-error-mark {
      opacity: 1;
      -webkit-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
      -moz-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
      -ms-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
      -o-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
      animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1); }
    .dropzone .dz-preview .dz-success-mark, .dropzone .dz-preview .dz-error-mark {
      pointer-events: none;
      opacity: 0;
      z-index: 500;
      position: absolute;
      display: block;
      top: 50%;
      left: 50%;
      margin-left: -27px;
      margin-top: -27px; }
      .dropzone .dz-preview .dz-success-mark svg, .dropzone .dz-preview .dz-error-mark svg {
        display: block;
        width: 54px;
        height: 54px; }
    .dropzone .dz-preview.dz-processing .dz-progress {
      opacity: 1;
      -webkit-transition: all 0.2s linear;
      -moz-transition: all 0.2s linear;
      -ms-transition: all 0.2s linear;
      -o-transition: all 0.2s linear;
      transition: all 0.2s linear; }
    .dropzone .dz-preview.dz-complete .dz-progress {
      opacity: 0;
      -webkit-transition: opacity 0.4s ease-in;
      -moz-transition: opacity 0.4s ease-in;
      -ms-transition: opacity 0.4s ease-in;
      -o-transition: opacity 0.4s ease-in;
      transition: opacity 0.4s ease-in; }
    .dropzone .dz-preview:not(.dz-processing) .dz-progress {
      -webkit-animation: pulse 6s ease infinite;
      -moz-animation: pulse 6s ease infinite;
      -ms-animation: pulse 6s ease infinite;
      -o-animation: pulse 6s ease infinite;
      animation: pulse 6s ease infinite; }
    .dropzone .dz-preview .dz-progress {
      opacity: 1;
      z-index: 1000;
      pointer-events: none;
      position: absolute;
      height: 16px;
      left: 50%;
      top: 50%;
      margin-top: -8px;
      width: 80px;
      margin-left: -40px;
      background: rgba(255, 255, 255, 0.9);
      -webkit-transform: scale(1);
      border-radius: 8px;
      overflow: hidden; }
      .dropzone .dz-preview .dz-progress .dz-upload {
        background: #333;
        background: linear-gradient(to bottom, #666, #444);
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 0;
        -webkit-transition: width 300ms ease-in-out;
        -moz-transition: width 300ms ease-in-out;
        -ms-transition: width 300ms ease-in-out;
        -o-transition: width 300ms ease-in-out;
        transition: width 300ms ease-in-out; }
    .dropzone .dz-preview.dz-error .dz-error-message {
      display: block; }
    .dropzone .dz-preview.dz-error:hover .dz-error-message {
      opacity: 1;
      pointer-events: auto; }
    .dropzone .dz-preview .dz-error-message {
      pointer-events: none;
      z-index: 1000;
      position: absolute;
      display: block;
      display: none;
      opacity: 0;
      -webkit-transition: opacity 0.3s ease;
      -moz-transition: opacity 0.3s ease;
      -ms-transition: opacity 0.3s ease;
      -o-transition: opacity 0.3s ease;
      transition: opacity 0.3s ease;
      border-radius: 8px;
      font-size: 13px;
      top: 130px;
      left: -10px;
      width: 140px;
      background: #be2626;
      background: linear-gradient(to bottom, #be2626, #a92222);
      padding: 0.5em 1.2em;
      color: white; }
      .dropzone .dz-preview .dz-error-message:after {
        content: '';
        position: absolute;
        top: -6px;
        left: 64px;
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 6px solid #be2626; }

/* ==== landing.css ==== */
/* ====================================================
   Landing pages (home, remove-background upload step)
   Loaded after main.css by pages with <body class="cb-landing">.
   Brand colours come from the logo.
   ==================================================== */

:root {
  --cb-ink: #16181d;
  --cb-text: #3d434b;
  --cb-muted: #626973;   /* 5.0:1 on the page colour #f5f4f2 */
  --cb-bg: #f5f4f2;
  --cb-line: #e4e1dc;
  --cb-pink: #d81878;
  --cb-pink-text: #c8156e;   /* the pink for small text: 5.0:1 on #f5f4f2 */
  --cb-orange: #f0901a;
  --cb-green: #78c030;
  --cb-blue: #3090c0;
  --cb-plum: #901878;
  --cb-brand: linear-gradient(90deg, #d81878, #f0901a 36%, #78c030 66%, #3090c0);
  --cb-cta: #0f70e6;        /* main action buttons (white text: 4.7:1) */
  --cb-cta-hover: #0b5fc6;
  --cb-shadow: 0 24px 50px -24px rgba(22, 24, 29, 0.35);
}

/* .cb-landing is on <body> for the home page, and on just the upload
   section of /remove-background (its result panels keep the old look). */
body.cb-landing { background: var(--cb-bg); }
.cb-landing {
  color: var(--cb-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.cb-landing h1,
.cb-landing h2,
.cb-landing h3,
.cb-landing h4 {
  font-family: inherit;
  color: var(--cb-ink);
  letter-spacing: -0.02em;
}
.cb-landing a { color: var(--cb-ink); }
/* The CTA button keeps its white text inside .cb-landing (the rule above is
   more specific than .cb-btn-cta). */
.cb-landing .cb-btn-cta, .cb-landing .cb-btn-cta:hover, .cb-landing .cb-btn-cta:focus-visible { color: #fff; }

/* ---- Buttons ---- */

/* Solid blue pill: the one main action per screen. The transparent border
   keeps the size the gradient ring used to give it. */
.cb-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  border: 3px solid transparent;
  border-radius: 999px;
  background: var(--cb-cta);
  box-shadow: 0 10px 24px -10px rgba(15, 112, 230, 0.6);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.cb-btn-cta:hover,
.cb-btn-cta:focus-visible {
  color: #fff;
  text-decoration: none;
  background: var(--cb-cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -10px rgba(15, 112, 230, 0.65);
}
.cb-btn-cta:focus-visible { outline: 3px solid rgba(15, 112, 230, 0.45); outline-offset: 3px; }
.cb-btn-cta .bi { font-size: 1.15em; }

.cb-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  font-weight: 600;
  color: var(--cb-ink);
  border: 1.5px solid #cfcac3;
  border-radius: 999px;
  background: #fff;
  transition: border-color 0.15s;
}
.cb-btn-ghost:hover { border-color: var(--cb-ink); color: var(--cb-ink); text-decoration: none; }

/* ---- Hero ---- */

.cb-hero {
  position: relative;
  overflow: hidden;
  padding: 128px 0 76px;   /* clears the fixed navbar */
  text-align: center;
}
.cb-hero-glow,
.cb-hero-grid {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
}
.cb-hero-glow {
  background:
    radial-gradient(30% 42% at 20% 62%, rgba(120, 192, 48, 0.30), transparent 70%),
    radial-gradient(30% 38% at 50% 14%, rgba(144, 24, 120, 0.16), transparent 70%),
    radial-gradient(32% 44% at 80% 56%, rgba(216, 24, 120, 0.22), transparent 70%),
    radial-gradient(28% 34% at 64% 96%, rgba(48, 144, 192, 0.20), transparent 70%),
    radial-gradient(26% 32% at 34% 98%, rgba(240, 144, 26, 0.20), transparent 70%);
}
/* Faint graph-paper texture that fades out towards the edges. */
.cb-hero-grid {
  background-image:
    linear-gradient(rgba(22, 24, 29, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 24, 29, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 45%, #000 80%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 45%, #000 80%, transparent);
}
.cb-hero .container { position: relative; z-index: 1; }

.cb-hero-title {
  max-width: 880px;
  margin: 0 auto 16px;
  font-size: clamp(2.1rem, 5.6vw, 4.1rem) !important;
  font-weight: 800;
  line-height: 1.05;
}
.cb-hero-title.cb-hero-title-sm {   /* longer headings (remove-background) */
  max-width: 760px;
  margin-bottom: 30px;
  font-size: clamp(1.9rem, 4.4vw, 3.2rem) !important;
}
.cb-hero-alert { max-width: 620px; margin-bottom: 24px; text-align: start; }
.cb-hero-sub {
  max-width: 620px;
  margin: 0 auto 34px;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: var(--cb-muted);
}

/* Frosted card holding the drop zone and the sample photos. */
.cb-upload-card {
  max-width: 620px;
  margin: 0 auto;
  padding: 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  box-shadow: 0 24px 60px -28px rgba(22, 24, 29, 0.35);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.cb-upload-card .dropzone {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  padding: 28px 20px;
  border: 1.5px dashed rgba(22, 24, 29, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  transition: border-color 0.15s, background 0.15s;
}
.cb-upload-card .dropzone:hover,
.cb-upload-card .dropzone.dz-drag-hover {
  border-color: var(--cb-pink);
  border-style: dashed;
  background: #fff;
}
.cb-upload-card .dropzone .dz-message { margin: 0; }
.cb-upload-card .dropzone.dz-drag-hover .dz-message { opacity: 1; }
.cb-drop-note {
  margin: 16px 0 4px;
  font-weight: 600;
  color: var(--cb-ink);
}
.cb-paste-note {
  margin: 0;
  font-size: 0.86rem;
  color: var(--cb-muted);
}
.cb-paste-note kbd {
  padding: 1px 6px;
  font-size: 0.8rem;
  color: var(--cb-ink);
  background: #fff;
  border: 1px solid var(--cb-line);
  border-radius: 5px;
  box-shadow: 0 1px 0 var(--cb-line);
}

.cb-samples {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 18px;
  padding: 16px 8px 6px;
}
.cb-samples-label {
  max-width: 190px;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--cb-ink);
  text-align: start;
}
.cb-samples-list { display: flex; gap: 10px; }
.cb-sample {
  width: 64px;
  height: 64px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #ddd;
  box-shadow: 0 6px 14px -6px rgba(22, 24, 29, 0.45);
  cursor: pointer;
  transition: transform 0.15s;
}
.cb-sample img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cb-sample:hover { transform: translateY(-2px) scale(1.05); }
.cb-sample:focus-visible { outline: 3px solid var(--cb-pink); outline-offset: 2px; }
.cb-sample[aria-busy="true"] { opacity: 0.5; cursor: progress; }

.cb-hero-legal {
  max-width: 680px;
  margin: 18px auto 0;
  font-size: 0.8rem;
  color: var(--cb-muted);
}
.cb-hero-legal a { color: var(--cb-text); font-weight: 600; }

/* ---- Before / after comparison (dark band) ---- */

.cb-compare {
  padding: 84px 0 0;
  text-align: center;
  color: #c9ccd1;
  /* The dark band stops part-way down the frame, which then overlaps the
     light section below. */
  background: linear-gradient(to bottom, var(--cb-ink) 0, var(--cb-ink) 64%, var(--cb-bg) 64%);
}
.cb-landing .cb-compare h2 {   /* beats ".cb-landing h2" */
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 800;
  color: #fff;
}
.cb-compare-sub { max-width: 560px; margin: 0 auto; font-size: 1.05rem; }
.cb-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 36px;
}
.cb-chip {
  padding: 8px 20px;
  font-weight: 600;
  color: #d7d9dc;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.cb-chip:hover { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.cb-chip.active { color: var(--cb-ink); background: #fff; border-color: #fff; }
.cb-chip:focus-visible { outline: 3px solid var(--cb-blue); outline-offset: 2px; }

.cb-compare-frame {
  max-width: 940px;
  margin: 0 auto;
  padding: 12px;
  background: #2b2e34;
  border-radius: 22px;
  box-shadow: 0 34px 70px -30px rgba(0, 0, 0, 0.6);
}
.cb-ba {
  --pos: 50%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  background: #3a3e45;
  cursor: ew-resize;
  touch-action: pan-y;   /* vertical page scroll still works on phones */
  -webkit-user-select: none;
  user-select: none;
}
.cb-ba img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.cb-ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cb-ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.cb-ba-handle {
  position: absolute;
  top: 50%;
  left: var(--pos);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  font-size: 1.1rem;
  color: #fff;
  border: 3px solid transparent;
  border-radius: 50%;
  background: linear-gradient(var(--cb-ink), var(--cb-ink)) padding-box, var(--cb-brand) border-box;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cb-ba-range:focus-visible ~ .cb-ba-handle { outline: 3px solid #fff; outline-offset: 3px; }
.cb-ba-label {
  position: absolute;
  top: 14px;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: rgba(22, 24, 29, 0.62);
  border-radius: 999px;
  pointer-events: none;
}
.cb-ba-label-before { left: 14px; }
.cb-ba-label-after { right: 14px; }
.cb-ba-wait .cb-ba-after { visibility: hidden; }   /* until the before picture is there too */
/* Gliding back when the pointer leaves a card's slider (landing.js). */
.cb-ba-ease .cb-ba-before { transition: clip-path 0.35s ease; }
.cb-ba-ease .cb-ba-divider,
.cb-ba-ease .cb-ba-handle { transition: left 0.35s ease; }
@media (prefers-reduced-motion: reduce) {
  .cb-ba-ease .cb-ba-before,
  .cb-ba-ease .cb-ba-divider,
  .cb-ba-ease .cb-ba-handle { transition: none; }
}
/* On a tool screenshot (.cb-shot): the slider covers the screenshot's photo
   area, placed in % by cb_media_html(); its tags and handle match the
   screenshot's smaller scale. Until its pictures load, the screenshot shows. */
.cb-shot { position: relative; overflow: hidden; }
.cb-shot > img { display: block; width: 100%; height: auto; }
.cb-ba.cb-ba-inset { position: absolute; border-radius: 1.5% / 2.2%; background: transparent; }
.cb-ba-inset .cb-ba-handle { width: 30px; height: 30px; font-size: 0.8rem; border-width: 2px; }
.cb-ba-inset .cb-ba-label { top: 6px; padding: 1px 7px; font-size: 0.62rem; }
.cb-ba-inset .cb-ba-label-before { left: 6px; }
.cb-ba-inset .cb-ba-label-after { right: 6px; }

/* ---- Generic sections ---- */

.cb-section { padding: 96px 0; }
.cb-section-title {
  margin-bottom: 48px;
  font-size: clamp(1.9rem, 4.2vw, 3.3rem) !important;
  font-weight: 800;
  line-height: 1.08;
}
.cb-grad-text {
  background: var(--cb-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- How it works ---- */

.cb-step { margin-bottom: 32px; }
.cb-step-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  margin-bottom: 22px;
  border-radius: 18px;
  box-shadow: var(--cb-shadow);
}
.cb-step-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cb-step-media .cb-ba { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 0; }
.cb-step-media .cb-ba-label { top: auto; bottom: 12px; }   /* the step icon is top right */
.cb-step-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  font-size: 1.25rem;
  color: #fff;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--cb-brand);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.cb-step h3 { margin-bottom: 10px; font-size: 1.15rem; font-weight: 700; }
.cb-step p { margin: 0; color: var(--cb-muted); }

/* ---- Feature rows (image and text, alternating sides) ---- */

.cb-feature {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 36px 0;
}
.cb-feature:nth-child(even) { flex-direction: row-reverse; }
.cb-feature-media { position: relative; flex: 1 1 50%; width: 100%; max-width: 500px; }   /* a slider has no width of its own */
.cb-feature-media::before {   /* soft brand glow behind the picture */
  content: "";
  position: absolute;
  top: 8%;
  right: 8%;
  bottom: 8%;
  left: 8%;
  z-index: 0;
  background: radial-gradient(closest-side, rgba(216, 24, 120, 0.22), transparent),
              radial-gradient(closest-side at 20% 80%, rgba(120, 192, 48, 0.25), transparent);
  filter: blur(30px);
}
.cb-feature-media > img,
.cb-feature-media > .cb-ba,
.cb-feature-media > .cb-shot {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;   /* the width/height attributes only reserve the aspect ratio */
  border: 8px solid #fff;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--cb-shadow);
}
.cb-feature-text { flex: 1 1 50%; }
.cb-feature-text h3 {
  margin-bottom: 16px;
  font-size: clamp(1.5rem, 2.7vw, 2.15rem);
  font-weight: 800;
  line-height: 1.15;
}
.cb-feature-text p { font-size: 1.05rem; line-height: 1.65; color: var(--cb-muted); }

/* ---- FAQ ---- */

.cb-faq {
  max-width: 860px;
  margin: 0 auto;
  padding: 44px clamp(18px, 4vw, 44px);
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 30px 60px -36px rgba(22, 24, 29, 0.35);
}
.cb-faq h2 {
  margin-bottom: 28px;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800;
  text-align: center;
}
.cb-faq details {
  margin-bottom: 12px;
  border: 1px solid var(--cb-line);
  border-radius: 16px;
  background: #fff;
  transition: box-shadow 0.15s;
}
.cb-faq details[open] { box-shadow: 0 10px 24px -16px rgba(22, 24, 29, 0.35); }
.cb-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 700;
  color: var(--cb-ink);
  list-style: none;
  cursor: pointer;
}
.cb-faq summary::-webkit-details-marker { display: none; }
.cb-faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  color: var(--cb-muted);
}
.cb-faq details[open] summary::after { content: "\2212"; }
.cb-faq details p { margin: 0; padding: 0 22px 20px; color: var(--cb-muted); line-height: 1.6; }

/* ---- Closing call to action ---- */

.cb-cta {
  position: relative;
  overflow: hidden;
  padding: 110px 0 120px;
  text-align: center;
}
.cb-cta h2 {
  position: relative;
  margin-bottom: 30px;
  font-size: clamp(2.1rem, 5.4vw, 3.9rem) !important;
  font-weight: 800;
  line-height: 1.05;
}
.cb-cta .cb-btn-cta { position: relative; }

/* ---- Tool cards (home page, AI tool pages) ---- */

.cb-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.cb-tool-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--cb-ink);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 50px -32px rgba(22, 24, 29, 0.45);
  transition: transform 0.15s, box-shadow 0.15s;
}
.cb-tool-card:hover {
  color: var(--cb-ink);
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 30px 56px -30px rgba(22, 24, 29, 0.5);
}
.cb-tool-card .cb-ba { flex: none; border-radius: 0; cursor: pointer; }   /* sweeps on hover; landing.js */
.cb-tool-card .cb-ba-handle { width: 36px; height: 36px; font-size: 0.9rem; border-width: 2px; }
.cb-tool-card-body { padding: 16px 18px 20px; }
.cb-landing .cb-tool-card h3 { margin: 0 0 6px; font-size: 1.12rem; font-weight: 800; }
.cb-tool-card p { margin: 0; font-size: 0.94rem; color: var(--cb-muted); }
.cb-tool-card .bi-arrow-right { margin-inline-start: 4px; font-size: 0.9em; }
[dir="rtl"] .cb-tool-card .bi-arrow-right,
[dir="rtl"] .cb-feature-text .bi-arrow-right { display: inline-block; transform: scaleX(-1); }
.cb-section-sub {
  max-width: 620px;
  margin: -32px auto 40px;
  font-size: 1.05rem;
  color: var(--cb-muted);
  text-align: center;
}

/* ---- Small screens ---- */

@media (max-width: 767.98px) {
  .cb-hero { padding: 104px 0 56px; }
  .cb-upload-card { padding: 10px; border-radius: 20px; }
  .cb-upload-card .dropzone { min-height: 180px; }
  .cb-samples-label { max-width: none; text-align: center; flex-basis: 100%; }
  .cb-sample { width: 58px; height: 58px; }
  .cb-section { padding: 64px 0; }
  .cb-compare { padding-top: 64px; }
  .cb-chips { gap: 6px; }
  .cb-chip { padding: 7px 13px; font-size: 0.92rem; }
  .cb-compare-frame { padding: 8px; border-radius: 18px; }
  .cb-ba-handle { width: 40px; height: 40px; }
  .cb-feature,
  .cb-feature:nth-child(even) { flex-direction: column; gap: 28px; padding: 24px 0; }
  .cb-cta { padding: 76px 0 84px; }
  .cb-section-sub { margin-top: -24px; }
}

/* ---- Star rating (inc/rating-stars.inc.php, scripts/rating.js) ----
   Not scoped to .cb-landing: /remove-background's body is .rb-page. The stars
   are an SVG star repeated as a mask over a gold/grey gradient, so the gold
   part covers exactly value / 5 of the row (--cb-fill), whatever the font. */
:root {
  --cb-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01z'/%3E%3C/svg%3E");
  --cb-star-on: #f5a623;
  --cb-star-off: #d9d5cf;
}
.cb-rate {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 36px clamp(18px, 4vw, 44px);
  text-align: center;
  color: var(--cb-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 30px 60px -36px rgba(22, 24, 29, 0.35);
}
.cb-rate h2 {
  margin: 0 0 14px;
  font-family: inherit;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--cb-ink);
}
.cb-rate-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 12px;
  margin: 0;
  font-size: 1.05rem;
}
.cb-stars {
  flex: none;
  width: 6em;
  height: 1.2em;
  font-size: 1.15rem;
  background: linear-gradient(90deg, var(--cb-star-on) var(--cb-fill, 0%), var(--cb-star-off) var(--cb-fill, 0%));
  -webkit-mask: var(--cb-star) 0 0 / 1.2em 1.2em repeat-x;
          mask: var(--cb-star) 0 0 / 1.2em 1.2em repeat-x;
}
[dir="rtl"] .cb-stars { transform: scaleX(-1); }   /* fill from the right */
.cb-rate-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 20px;
  margin-top: 18px;
}
/* The inputs come 5 to 1 and the row is reversed, so "this star and the ones
   before it" is "this label and the ones after it" (~). In right-to-left pages
   the reversed row runs left to right, which puts star 1 on the right, where
   it belongs. */
.cb-star-input {
  display: inline-flex;
  flex-direction: row-reverse;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.cb-star-input input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.cb-star-input label { margin: 0; padding: 2px; border-radius: 8px; cursor: pointer; }
.cb-star-input .cb-star {
  display: block;
  width: 2.4rem;
  height: 2.4rem;
  background: var(--cb-star-off);
  -webkit-mask: var(--cb-star) center / contain no-repeat;
          mask: var(--cb-star) center / contain no-repeat;
  transition: background-color 0.1s;
}
.cb-star-input input:checked ~ label .cb-star { background: var(--cb-star-on); }
/* Hover previews the vote: grey out the checked stars, then light the hovered
   star and the ones before it. Separate rules, because a browser without
   :has() drops a whole rule that names it. */
.cb-star-input label:hover .cb-star,
.cb-star-input label:hover ~ label .cb-star { background: var(--cb-star-on); }
.cb-star-input:has(label:hover) input ~ label .cb-star { background: var(--cb-star-off); }
.cb-star-input:has(label:hover) label:hover .cb-star,
.cb-star-input:has(label:hover) label:hover ~ label .cb-star { background: var(--cb-star-on); }
.cb-star-input input:focus-visible + label { outline: 3px solid rgba(15, 112, 230, 0.45); outline-offset: 1px; }
.cb-rate-btn { padding: 10px 24px; font-size: 1rem; }
.cb-rate-btn:disabled { opacity: 0.6; cursor: default; transform: none; }
/* Honeypot: clipped in place, not moved off-screen (a far-left box would
   widen right-to-left pages). */
.cb-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cb-rate-msg { margin: 14px 0 0; font-weight: 600; color: var(--cb-ink); }
.cb-rate-msg:empty { margin: 0; }
.cb-rate-msg.is-ok,
.cb-rate-thanks { color: #3f7d14; font-weight: 700; }
.cb-rate-thanks { margin: 14px 0 0; }
/* Below the minimum number of votes the summary line is hidden (display: flex
   above would show it anyway). */
.cb-rate-summary[hidden] { display: none; }
.cb-rate-summary[hidden] + .cb-rate-form { margin-top: 8px; }

/* The ask after a download: a small card in the corner, moved to the end of
   <body> by scripts/rating.js. Nothing behind it is blocked. */
.cb-rate-ask {
  position: fixed;
  z-index: 1035;              /* over the fixed navbar (1030), under modals */
  inset-inline-end: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: min(340px, calc(100vw - 32px));
  padding: 18px 20px 16px;
  text-align: center;
  color: var(--cb-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #fff;
  border: 1px solid var(--cb-line);
  border-radius: 18px;
  box-shadow: 0 22px 48px -14px rgba(22, 24, 29, 0.4);
  animation: cb-rate-ask-in 0.25s ease-out;
}
.cb-rate-ask[hidden] { display: none; }
@keyframes cb-rate-ask-in { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .cb-rate-ask { animation: none; } }
.cb-rate-ask-q { margin: 0 26px 8px; font-size: 0.98rem; line-height: 1.35; }
.cb-rate-ask-q strong { display: block; margin-bottom: 2px; font-size: 1.08rem; font-weight: 800; color: var(--cb-ink); }
.cb-rate-ask-x {
  position: absolute;
  top: 6px;
  inset-inline-end: 6px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--cb-muted);
  background: transparent;
  cursor: pointer;
}
.cb-rate-ask-x:hover { color: var(--cb-ink); background: rgba(22, 24, 29, 0.06); }
.cb-rate-ask-stars { display: flex; justify-content: center; gap: 2px; }
.cb-rate-ask-stars[hidden] { display: none; }
.cb-rate-ask-stars button { padding: 3px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.cb-rate-ask-stars button:disabled { cursor: default; }
.cb-rate-ask .cb-star {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--cb-star-off);
  -webkit-mask: var(--cb-star) center / contain no-repeat;
          mask: var(--cb-star) center / contain no-repeat;
  transition: background-color 0.1s;
}
/* The hovered or focused star and the ones before it. Separate rules, because
   a browser without :has() drops a whole rule that names it. */
.cb-rate-ask-stars button:hover .cb-star,
.cb-rate-ask-stars button:focus-visible .cb-star { background: var(--cb-star-on); }
.cb-rate-ask-stars button:has(~ button:hover) .cb-star { background: var(--cb-star-on); }
.cb-rate-ask-stars button:has(~ button:focus-visible) .cb-star { background: var(--cb-star-on); }
.cb-rate-ask-stars button:focus-visible,
.cb-rate-ask-x:focus-visible { outline: 3px solid rgba(15, 112, 230, 0.45); outline-offset: 1px; }
.cb-rate-ask-msg { margin: 8px 0 0; font-weight: 600; color: var(--cb-ink); }
.cb-rate-ask-msg:empty { display: none; }
.cb-rate-ask-msg.is-ok { color: #3f7d14; font-weight: 700; }

/* ---- Demo videos (inc/videos.inc.php): a picture with a play button, which
   scripts/landing.js swaps for the YouTube player when clicked ---- */
.cb-video { max-width: 760px; margin: 28px auto 0; }
.cb-video-play,
.cb-video-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: #16181d;
  box-shadow: var(--cb-shadow);
}
.cb-video-play { padding: 0; border: 0; cursor: pointer; }
.cb-video-play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cb-video-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  padding-left: 4px;
  border-radius: 50%;
  background: var(--cb-cta);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.85), 0 10px 24px rgba(22, 24, 29, 0.35);
  transition: transform 0.15s, background-color 0.15s;
}
.cb-video-play:hover .cb-video-icon,
.cb-video-play:focus-visible .cb-video-icon { background: var(--cb-cta-hover); transform: scale(1.06); }
.cb-video-play:focus-visible { outline: 3px solid rgba(15, 112, 230, 0.45); outline-offset: 3px; }
.cb-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cb-video figcaption { margin-top: 10px; font-size: 0.95rem; color: var(--cb-muted); text-align: center; }
@media (prefers-reduced-motion: reduce) { .cb-video-icon { transition: none; } }

/* ==== guide.css ==== */
/* ====================================================
   Guides (guides/*.php, inc/guide-page.inc.php) and the hub.
   Loaded after landing.css; uses its colours (--cb-*) and buttons.
   Logical properties throughout, so Arabic reads right to left.
   ==================================================== */

.cb-guide { padding: 112px 0 24px; }

/* ---- Breadcrumb ---- */
.cb-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  max-width: 760px;
  margin: 0 auto 18px;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--cb-muted);
}
.cb-crumbs li + li::before { content: "\203A"; margin-inline: 8px; color: var(--cb-muted); }
[dir="rtl"] .cb-crumbs li + li::before { content: "\2039"; }
.cb-crumbs a { color: var(--cb-muted); text-decoration: underline; text-underline-offset: 2px; }
.cb-crumbs li[aria-current] { overflow: hidden; max-width: 100%; text-overflow: ellipsis; white-space: nowrap; }

/* ---- The article column ---- */
.cb-article { max-width: 760px; margin: 0 auto; }
.cb-kicker {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cb-pink-text);
}
.cb-landing .cb-article h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.6vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
}
.cb-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0 0 22px;
  font-size: 0.93rem;
  color: var(--cb-muted);
}
.cb-byline .bi { margin-inline-end: 3px; font-size: 0.9em; }
.cb-landing .cb-article .cb-byline a { color: var(--cb-ink); font-weight: 700; text-decoration: none; }
.cb-landing .cb-article .cb-byline a:hover { text-decoration: underline; }
.cb-lead { font-size: 1.2rem; line-height: 1.65; color: var(--cb-ink); }

.cb-article p,
.cb-article li { font-size: 1.07rem; line-height: 1.72; }
.cb-article p { margin: 0 0 16px; }
.cb-article ul,
.cb-article ol { margin: 0 0 18px; padding-inline-start: 1.4em; }
.cb-article li { margin-bottom: 8px; }
.cb-article li::marker { color: var(--cb-muted); }
.cb-landing .cb-article p a,
.cb-landing .cb-article li a,
.cb-landing .cb-article td a,
.cb-landing .cb-article figcaption a {
  color: var(--cb-cta-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cb-article strong { color: var(--cb-ink); }

.cb-article-sec { margin-top: 52px; scroll-margin-top: 92px; }
.cb-landing .cb-article-sec h2 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 3.2vw, 2.05rem);
  font-weight: 800;
  line-height: 1.2;
}
.cb-landing .cb-article-sec h3 { margin: 0 0 8px; font-size: 1.2rem; font-weight: 800; }

/* ---- Key takeaways, contents ---- */
.cb-takeaways,
.cb-toc {
  margin: 28px 0;
  padding: 22px 26px 8px;
  border-radius: 20px;
  background: #fff;
}
.cb-takeaways { border-inline-start: 5px solid var(--cb-pink); box-shadow: 0 24px 50px -36px rgba(22, 24, 29, 0.45); }
.cb-toc { background: transparent; border: 1px solid var(--cb-line); }
.cb-landing .cb-takeaways h2,
.cb-landing .cb-toc h2 {
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cb-muted);
}
.cb-toc ol { columns: 2 240px; column-gap: 32px; }
.cb-toc li { break-inside: avoid; font-size: 1rem; }
.cb-landing .cb-article .cb-toc a { color: var(--cb-ink); text-decoration: none; }
.cb-landing .cb-article .cb-toc a:hover { text-decoration: underline; }

/* ---- Tables: they scroll inside their box on small screens ---- */
.cb-table-wrap {
  overflow-x: auto;
  margin: 22px 0 26px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--cb-line);
}
.cb-table-wrap:focus-visible { outline: 3px solid rgba(15, 112, 230, 0.45); outline-offset: 2px; }
.cb-table { width: 100%; margin: 0; border-collapse: collapse; font-size: 0.97rem; line-height: 1.5; }
.cb-table-wide .cb-table { min-width: 600px; }
.cb-table caption {
  caption-side: top;
  padding: 14px 16px 6px;
  font-weight: 800;
  text-align: start;
  color: var(--cb-ink);
}
.cb-table th,
.cb-table td { padding: 12px 16px; text-align: start; vertical-align: top; border-top: 1px solid var(--cb-line); }
.cb-table thead th { background: #f0eeeb; color: var(--cb-ink); font-weight: 700; white-space: nowrap; }
.cb-table tbody th { color: var(--cb-ink); font-weight: 700; }
/* Two-column tables on phones: Japanese and Chinese have no spaces, so give the label room for six characters
   ("file format" is six characters) or it breaks mid-word. Wide tables scroll and have room already. */
.cb-table-wrap:not(.cb-table-wide) .cb-table tbody th:lang(ja),
.cb-table-wrap:not(.cb-table-wide) .cb-table tbody th:lang(zh) { min-width: calc(6.3em + 32px); }

/* ---- Callouts, figures, inline buttons ---- */
.cb-callout {
  display: flex;
  gap: 12px;
  margin: 22px 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: #eaf3ff;
}
.cb-callout > .bi { flex: none; font-size: 1.25rem; line-height: 1.6; color: var(--cb-cta); }
.cb-callout p { margin: 0; }
.cb-callout-warn { background: #fff4e3; }
.cb-callout-warn > .bi { color: #b25e00; }

.cb-figure { margin: 26px 0; }
.cb-figure img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 0 0 1px var(--cb-line); }
/* Square pictures (a product on white) at a size that still fits the screen. */
.cb-figure-sq img { max-width: 520px; margin-inline: auto; }
.cb-figure-tall img { max-width: 420px; margin-inline: auto; }
.cb-figure-sq .cb-ba { max-width: 520px; margin-inline: auto; }
.cb-figure-tall .cb-ba { max-width: 420px; margin-inline: auto; }
/* Inline diagrams (the car's camera positions). */
.cb-diagram svg { display: block; width: 100%; max-width: 600px; height: auto; margin-inline: auto; }
.cb-figure .cb-ba { border-radius: 18px; }
/* Right and wrong examples side by side (two a row on phones). */
.cb-grid-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
/* Six pictures: three a row (not five and one left over) where there is room. */
@media (min-width: 576px) { .cb-grid-list:has(> :nth-child(6):last-child) { grid-template-columns: repeat(3, 1fr); } }
.cb-article .cb-grid-item { margin: 0; }
.cb-grid-item img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px var(--cb-line); }
.cb-grid-item.is-ok img { box-shadow: 0 0 0 3px #1f9d55; }
.cb-article .cb-grid-item p { margin: 8px 2px 0; font-size: 0.92rem; line-height: 1.45; }
.cb-grid-item .bi { margin-inline-end: 2px; }
.cb-grid-item.is-ok .bi { color: #1f9d55; }
.cb-grid-item.is-bad .bi { color: #d0342c; }
.cb-figure figcaption { margin-top: 10px; font-size: 0.92rem; line-height: 1.5; color: var(--cb-muted); text-align: center; }
.cb-inline-cta { margin: 26px 0; }
.cb-landing .cb-article .cb-inline-cta a { color: #fff; text-decoration: none; }

/* ---- Numbered steps ---- */
.cb-article .cb-gsteps { counter-reset: cb-step; margin: 20px 0; padding: 0; list-style: none; }
.cb-article .cb-gsteps > li {
  position: relative;
  margin-bottom: 26px;
  padding-inline-start: 54px;
  counter-increment: cb-step;
}
.cb-gsteps > li::before {
  content: counter(cb-step);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cb-ink);
  color: #fff;
  font-weight: 800;
}
.cb-gsteps h3 { padding-top: 6px; }
.cb-gsteps img { display: block; width: 100%; height: auto; margin-top: 12px; border-radius: 14px; box-shadow: 0 0 0 1px var(--cb-line); }

/* ---- FAQ and sources inside the article ---- */
.cb-article .cb-article-faq { max-width: none; padding: 0; background: none; border-radius: 0; box-shadow: none; }
.cb-landing .cb-article .cb-article-faq h2 { text-align: start; }
.cb-article .cb-faq details p { font-size: 1.02rem; }
.cb-sources { padding-inline-start: 1.4em; }
.cb-article .cb-sources li { margin-bottom: 6px; font-size: 0.97rem; line-height: 1.55; overflow-wrap: anywhere; }
.cb-src-host { font-size: 0.85rem; color: var(--cb-muted); }
.cb-article .cb-article-note {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--cb-line);
  font-size: 0.92rem;
  color: var(--cb-muted);
}

/* ---- Guide cards (hub, "More guides") ---- */
.cb-guide-more { padding: 56px 0; }
.cb-landing .cb-guide-more-title {
  margin-bottom: 26px;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 800;
  text-align: center;
}
.cb-guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.cb-guide-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 50px -32px rgba(22, 24, 29, 0.45);
  transition: transform 0.15s, box-shadow 0.15s;
}
.cb-landing a.cb-guide-card { color: var(--cb-ink); }
.cb-guide-card:hover,
.cb-guide-card:focus-visible {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 30px 56px -30px rgba(22, 24, 29, 0.5);
}
.cb-guide-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--cb-line); }
.cb-guide-card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.cb-guide-card-title { font-size: 1.1rem; font-weight: 800; line-height: 1.3; }
.cb-guide-card-sum { font-size: 0.94rem; line-height: 1.5; color: var(--cb-muted); }
.cb-guide-card-date { margin-top: auto; padding-top: 4px; font-size: 0.82rem; color: var(--cb-muted); }
.cb-guide-all { margin: 26px 0 0; text-align: center; font-weight: 700; }
[dir="rtl"] .cb-guide-all .bi-arrow-right { display: inline-block; transform: scaleX(-1); }

/* ---- The hub ---- */
.cb-guides-hub { padding: 112px 0 40px; }
.cb-guides-hub .cb-crumbs ol { max-width: none; }
.cb-guides-intro { max-width: 760px; margin: 0 auto 8px; text-align: center; }
.cb-landing .cb-guides-intro h1 { margin: 0 0 14px; font-size: clamp(2.1rem, 5vw, 3.3rem); font-weight: 800; line-height: 1.08; }
.cb-guides-intro p { font-size: 1.15rem; line-height: 1.6; color: var(--cb-muted); }
/* The groups side by side, each a column of its guides' cards. */
.cb-guides-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 28px; }
.cb-guides-group { margin-top: 44px; }
.cb-landing .cb-guides-group h2 { margin: 0 0 18px; font-size: 1.45rem; font-weight: 800; }

@media (max-width: 767.98px) {
  .cb-guide,
  .cb-guides-hub { padding-top: 92px; }
  .cb-lead { font-size: 1.1rem; }
  .cb-article p,
  .cb-article li { font-size: 1.02rem; }
  .cb-article-sec { margin-top: 40px; }
  .cb-takeaways,
  .cb-toc { padding: 18px 18px 4px; }
  .cb-article .cb-gsteps > li { padding-inline-start: 46px; }
  .cb-gsteps > li::before { width: 34px; height: 34px; }
  .cb-guide-more { padding: 40px 0; }
}

/* "More guides" and the tool pages' guides row: a short row, centred. */
@media (min-width: 900px) {
  .cb-guide-more .cb-guide-cards,
  .cb-tool-guides .cb-guide-cards { grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); justify-content: center; }
}

/* ==== ai-tool.css ==== */
/* ====================================================
   AI tool pages: Remove Object, Image Upscaler, Photo Colorizer.
   Loaded after landing.css (whose tokens and sections these pages reuse).
   The hero holds the upload card; once a photo is chosen the hero turns
   into the workspace (.is-working), so the page never navigates away.
   ==================================================== */

/* ---- Upload card without Dropzone ---- */

.cb-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  padding: 28px 20px;
  border: 1.5px dashed rgba(22, 24, 29, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.cb-drop:hover,
.cb-drop.is-over { border-color: var(--cb-pink); background: #fff; }

/* Whole-page drop target while a file is dragged over the window. */
.cb-dragover {
  position: fixed;
  z-index: 1100;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(22, 24, 29, 0.55);
  pointer-events: none;
}
.cb-dragover span {
  padding: 26px 40px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--cb-ink);
  border: 3px dashed var(--cb-pink);
  border-radius: 22px;
  background: #fff;
}

.cb-resume {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin: 0 auto 22px;
  padding: 8px 8px 8px 18px;
  font-weight: 600;
  color: var(--cb-ink);
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 26px -14px rgba(22, 24, 29, 0.45);
}
.cb-resume .cb-btn-ghost { padding: 6px 16px; }
.cb-resume-x {
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--cb-muted);
  border: 0;
  border-radius: 50%;
  background: transparent;
}
.cb-resume-x:hover { background: var(--cb-bg); color: var(--cb-ink); }
.cb-tool-alert { margin: 0 auto 22px; }

/* ---- Workspace shell ---- */

.cb-tool-hero.is-working { padding: 92px 0 40px; text-align: start; }
.cb-tool-hero.is-working .cb-hero-glow { opacity: 0.55; }

.cb-ws-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-bottom: 14px;
}
.cb-landing .cb-ws-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}
.cb-ws-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-weight: 600;
  color: var(--cb-ink);
  border: 1.5px solid #cfcac3;
  border-radius: 999px;
  background: #fff;
}
.cb-ws-back:hover { border-color: var(--cb-ink); }
.cb-ws-file {
  overflow: hidden;
  max-width: 40ch;
  font-size: 0.9rem;
  color: var(--cb-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cb-ws-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}
.cb-ws-main { min-width: 0; }

/* Dark frame around the photo, like the compare band on the home page. */
.cb-ws-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 12px;
  border-radius: 22px;
  background: #2b2e34;
  box-shadow: 0 34px 70px -30px rgba(0, 0, 0, 0.55);
}

/* Before/after viewer sized to the photo (--ratio = width / height). */
.cb-ws-ba {
  --ratio: 1.5;
  width: min(100%, calc((100vh - 230px) * var(--ratio)));
  width: min(100%, calc((100svh - 230px) * var(--ratio)));
  aspect-ratio: var(--ratio);
  background:
    repeating-conic-gradient(#3a3e45 0% 25%, #33373d 0% 50%) 50% / 24px 24px;
}
.cb-ws-ba img { object-fit: contain; }
.cb-ws-ba.is-single { cursor: default; }
.cb-ws-ba.is-single .cb-ba-before,
.cb-ws-ba.is-single .cb-ba-divider,
.cb-ws-ba.is-single .cb-ba-handle,
.cb-ws-ba.is-single .cb-ba-label { display: none; }
.cb-ws-ba.is-pixel img { image-rendering: pixelated; }

/* Progress / error overlay on the stage. */
.cb-ws-status {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  color: #fff;
  text-align: center;
  border-radius: 22px;
  background: rgba(22, 24, 29, 0.42);
}
.cb-ws-status[hidden] { display: none; }
.cb-ws-status::before {   /* light sweeping over the photo while the AI works */
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 22px;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.16) 50%, transparent 70%) 0 0 / 250% 100%;
  animation: cb-sweep 1.8s linear infinite;
  pointer-events: none;
}
.cb-ws-status.is-error { background: rgba(22, 24, 29, 0.78); }
.cb-ws-status.is-error::before,
.cb-ws-status.is-error .cb-ws-spin,
.cb-ws-status.is-error .cb-ws-progress { display: none; }
@keyframes cb-sweep { from { background-position: 125% 0; } to { background-position: -125% 0; } }
.cb-ws-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 340px;
  padding: 20px 24px;
  border-radius: 18px;
  background: rgba(22, 24, 29, 0.82);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
}
.cb-ws-spin {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cb-spin 0.8s linear infinite;
}
@keyframes cb-spin { to { transform: rotate(360deg); } }
.cb-ws-msg { margin: 0; font-weight: 600; line-height: 1.4; }
.cb-ws-progress {
  overflow: hidden;
  width: 220px;
  max-width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}
.cb-ws-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--cb-brand);
  transition: width 0.4s ease-out;
}
.cb-ws-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cb-ws-actions .cb-btn-ghost { padding: 7px 18px; }
.cb-ws-status .cb-btn-ghost { color: #fff; background: transparent; border-color: rgba(255, 255, 255, 0.45); }
.cb-ws-status .cb-btn-ghost:hover { color: #fff; border-color: #fff; }

/* ---- Side panel ---- */

.cb-ws-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 50px -30px rgba(22, 24, 29, 0.4);
}
.cb-opt-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cb-muted);
}
.cb-landing h3.cb-opt-label { font-size: 0.82rem; color: var(--cb-muted); letter-spacing: 0.04em; }
.cb-opt-label output { font-size: 0.95rem; letter-spacing: 0; text-transform: none; color: var(--cb-ink); }
.cb-opt-note { margin: 8px 0 0; font-size: 0.88rem; color: var(--cb-muted); }
.cb-opt-row { display: flex; align-items: center; gap: 10px; }

.cb-range {
  width: 100%;
  height: 28px;
  accent-color: var(--cb-pink);
  cursor: pointer;
}
.cb-link-btn {
  padding: 4px 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cb-ink);
  text-decoration: underline;
  border: 0;
  border-radius: 8px;
  background: transparent;
  white-space: nowrap;
  flex: 0 0 auto;
}
.cb-link-btn:hover { background: var(--cb-bg); }

/* Segmented control (2×/4×, view, brush mode). */
.cb-seg {
  display: flex;
  padding: 4px;
  border-radius: 14px;
  background: var(--cb-bg);
}
.cb-seg button {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 12px;
  font-weight: 700;
  color: var(--cb-text);
  border: 0;
  border-radius: 10px;
  background: transparent;
  transition: background 0.15s, box-shadow 0.15s;
}
.cb-seg button:hover { color: var(--cb-ink); }
.cb-seg button[aria-checked="true"],
.cb-seg button[aria-pressed="true"] {
  color: var(--cb-ink);
  background: #fff;
  box-shadow: 0 2px 8px -2px rgba(22, 24, 29, 0.25);
}
.cb-seg button:disabled { opacity: 0.45; cursor: not-allowed; }
.cb-seg button small { font-weight: 600; color: var(--cb-muted); }

/* Download buttons: free preview and full resolution. */
.cb-dl { display: flex; flex-direction: column; gap: 10px; }
.cb-dl-pair { display: flex; flex-direction: column; gap: 10px; }
.cb-landing a.cb-btn-cta,
.cb-landing a.cb-btn-cta:hover { color: #fff; }
.cb-dl-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 16px;
  text-align: start;
  color: var(--cb-ink);
  border: 1.5px solid #cfcac3;
  border-radius: 16px;
  background: #fff;
  transition: border-color 0.15s, transform 0.15s;
}
.cb-dl-btn:hover { border-color: var(--cb-ink); }
.cb-dl-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.cb-dl-btn .bi { font-size: 1.3rem; }
.cb-dl-btn > span { display: flex; flex-direction: column; line-height: 1.25; }
.cb-dl-btn strong { font-size: 1rem; }
.cb-dl-btn small { font-size: 0.82rem; color: var(--cb-muted); }
.cb-dl-full {
  color: #fff;
  border: 3px solid transparent;
  background: var(--cb-cta);
}
/* White, not a softer tint: lighter text on this blue drops below 4.5:1. */
.cb-dl-full small { color: #fff; }
#cb-dl-cost, #cb-dl-full-size { white-space: nowrap; }
.cb-dl-full:hover { border-color: transparent; background: var(--cb-cta-hover); transform: translateY(-1px); }
.cb-dl-full[aria-busy="true"] { cursor: progress; opacity: 0.75; }
.cb-dl-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 0.88rem; color: var(--cb-muted); }
.cb-dl-gate {
  padding: 14px 16px;
  font-size: 0.92rem;
  border-radius: 14px;
  background: #fff7e8;
  border: 1px solid #f3d9a6;
}
.cb-dl-gate p { margin: 0 0 10px; color: var(--cb-ink); }
.cb-dl-gate .cb-btn-cta,
.cb-dl-gate .cb-btn-ghost { padding: 7px 18px; font-size: 0.95rem; }
.cb-dl-gate-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-dl-credits { margin: 0; font-size: 0.88rem; color: var(--cb-muted); }

.cb-next-list { display: flex; flex-direction: column; gap: 6px; }
.cb-next-list button,
.cb-next-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-weight: 600;
  text-align: start;
  color: var(--cb-ink);
  border: 0;
  border-radius: 12px;
  background: var(--cb-bg);
}
.cb-next-list button:hover,
.cb-next-list a:hover { background: #ebe8e3; text-decoration: none; }
.cb-next-list .bi:first-child { font-size: 1.1rem; color: var(--cb-pink); }
.cb-next-list .bi-arrow-right { margin-inline-start: auto; color: var(--cb-muted); }
[dir="rtl"] .cb-next-list .bi-arrow-right,
[dir="rtl"] .cb-ws-back .bi-arrow-left { transform: scaleX(-1); }

.cb-ws-panel .cb-hint {
  margin: 0;
  padding-inline-start: 1.2em;
  font-size: 0.92rem;
  color: var(--cb-text);
}
.cb-ws-panel .cb-hint li { margin-bottom: 4px; }

/* ---- Remove Object: painting stage and toolbar ---- */

.ro-stage {
  position: relative;
  overflow: hidden;
  height: calc(100vh - 250px);
  height: clamp(300px, calc(100svh - 250px), 820px);
  border-radius: 22px;
  background:
    repeating-conic-gradient(#3a3e45 0% 25%, #33373d 0% 50%) 50% / 24px 24px;
  box-shadow: 0 34px 70px -30px rgba(0, 0, 0, 0.55);
  touch-action: none;   /* one finger paints, two fingers zoom */
  -webkit-user-select: none;
  user-select: none;
  cursor: none;
}
.ro-stage.is-pan,
.ro-stage.is-busy { cursor: default; }
.ro-stage.is-panning { cursor: grabbing; }
.ro-view {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  will-change: transform;
}
.ro-view img,
.ro-view canvas {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  max-width: none;
}
.ro-mask { opacity: 0.55; }
.ro-stage.is-busy .ro-mask { animation: ro-pulse 1s ease-in-out infinite alternate; }
@keyframes ro-pulse { from { opacity: 0.25; } to { opacity: 0.7; } }
.ro-stage.is-comparing .ro-mask { visibility: hidden; }
.ro-cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(0, 0, 0, 0.35);
  background: rgba(236, 72, 153, 0.18);
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.ro-cursor[hidden] { display: none; }
.ro-hint {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 50%;
  max-width: calc(100% - 24px);
  margin: 0;
  padding: 6px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  border-radius: 999px;
  background: rgba(22, 24, 29, 0.72);
  transform: translateX(-50%);
  pointer-events: none;
  transition: opacity 0.2s;
}
.ro-hint.is-off { opacity: 0; }
.ro-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  border-radius: 999px;
  background: rgba(22, 24, 29, 0.72);
  pointer-events: none;
}
.ro-zoom {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  display: flex;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(22, 24, 29, 0.78);
  cursor: default;
}
.ro-zoom button {
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  border: 0;
  background: transparent;
}
.ro-zoom button:hover { background: rgba(255, 255, 255, 0.12); }
.ro-zoom .ro-zoom-val { min-width: 58px; }

.ro-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 12px;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px -28px rgba(22, 24, 29, 0.45);
}
.ro-tools .cb-seg { flex: 0 0 auto; }
.ro-tools .cb-seg button { flex: 0 0 auto; }
.ro-size {
  display: flex;
  flex: 1 1 120px;
  align-items: center;
  gap: 10px;
  min-width: 90px;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cb-muted);
}
.ro-size .cb-range { flex: 1 1 auto; }
.ro-btns { display: flex; gap: 4px; }
.ro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  font-weight: 700;
  color: var(--cb-ink);
  border: 0;
  border-radius: 12px;
  background: var(--cb-bg);
  touch-action: manipulation;
}
.ro-btn .bi { font-size: 1.15rem; }
.ro-btn:hover:not(:disabled) { background: #ebe8e3; }
.ro-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.ro-btn[aria-pressed="true"] { color: #fff; background: var(--cb-ink); }
.ro-go { margin-inline-start: auto; padding: 10px 26px; }
.ro-go:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.ro-go.is-ready { animation: ro-ready 1.6s ease-in-out 2; }
@keyframes ro-ready {
  50% { box-shadow: 0 0 0 6px rgba(15, 112, 230, 0.25), 0 10px 24px -10px rgba(15, 112, 230, 0.6); }
}

@media (min-width: 768px) {
  .ro-tools { flex-wrap: nowrap; }
}
@media (max-width: 1199.98px) {
  .ro-btn .ro-label { display: none; }
}

/* ---- Tablets and phones ---- */

@media (max-width: 991.98px) {
  .cb-ws-body { grid-template-columns: minmax(0, 1fr); }
  .cb-ws-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px 24px; }
  .cb-ws-ba {
    width: min(100%, calc((100vh - 300px) * var(--ratio)));
    width: min(100%, calc((100svh - 300px) * var(--ratio)));
  }
}

@media (max-width: 767.98px) {
  .cb-tool-hero.is-working { padding: 76px 0 24px; }
  .cb-tool-hero.is-working .container { padding-right: 10px; padding-left: 10px; }
  .cb-ws-head { margin-bottom: 10px; }
  .cb-landing .cb-ws-title { font-size: 1.1rem; }
  .cb-ws-file { display: none; }
  .cb-ws-stage { min-height: 240px; padding: 6px; border-radius: 16px; }
  .cb-ws-status,
  .cb-ws-status::before { border-radius: 16px; }
  .cb-ws-ba {
    width: min(100%, calc(58vh * var(--ratio)));
    width: min(100%, calc(58svh * var(--ratio)));
  }
  .cb-ws-panel { display: flex; padding: 16px; border-radius: 18px; }
  /* Keep the download buttons in reach while the result is on screen. */
  .cb-dl.is-ready {
    position: sticky;
    z-index: 6;
    bottom: 0;
    margin: 0 -16px -16px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-radius: 0 0 18px 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -10px 24px -18px rgba(22, 24, 29, 0.5);
  }
  .cb-dl.is-ready > .cb-opt-label { display: none; }
  .cb-dl.is-ready .cb-dl-pair { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
  .cb-dl.is-ready .cb-dl-btn { flex-direction: column; justify-content: center; gap: 2px; padding: 9px 8px; text-align: center; }
  .cb-dl.is-ready .cb-dl-btn > span { align-items: center; }
  .cb-dl.is-ready .cb-dl-btn .bi { display: none; }

  /* As tall as the photo needs (--ratio is set by remove-object.js), with
     room left for the toolbar. */
  .ro-stage {
    height: clamp(260px, calc(100vh - 290px), 640px);
    height: clamp(260px, min(calc(100svh - 290px), calc((100vw - 20px) / var(--ratio, 1) + 110px)), 640px);
    border-radius: 16px;
  }
  .ro-tools {
    position: sticky;
    z-index: 6;
    bottom: 0;
    gap: 8px;
    margin: 8px -4px 0;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    border-radius: 16px;
  }
  .ro-tools .cb-seg span,
  .ro-btn .ro-label { display: none; }
  .ro-size { flex: 1 1 150px; }
  .ro-size > span { display: none; }
  .ro-go { padding: 10px 18px; font-size: 1rem; }
  .ro-zoom button { min-width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .cb-ws-status::before,
  .ro-stage.is-busy .ro-mask,
  .ro-go.is-ready { animation: none; }
}

/* ==== remove-background.css ==== */
/* ====================================================
   /remove-background workspace (after landing.css and ai-tool.css).
   Desktop: the photo on a dark stage, options and downloads in a side panel.
   Phones: a full-screen app, with the stage on top and the background picker
   and downloads in a bottom panel.
   The markup comes from generate_image_html() in inc/functions.php.
   ==================================================== */

.rb-page { --rb-nav: 57px; }

.rb-app {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--rb-nav) + 18px) 0 36px;
  background: var(--cb-bg);
}
.rb-app.is-drop::after {   /* a new photo is being dragged over the page */
  content: "";
  position: fixed;
  z-index: 1040;
  top: calc(var(--rb-nav) + 8px);
  right: 8px;
  bottom: 8px;
  left: 8px;
  border: 3px dashed var(--cb-pink);
  border-radius: 22px;
  background: rgba(216, 24, 120, 0.06);
  pointer-events: none;
}
.rb-container { max-width: 1320px; }

/* Several photos at once: the limit, said in the upload hero. */
.cb-batch-note { margin: 12px 0 0; font-size: 0.86rem; color: var(--cb-muted); }
.cb-batch-note .bi { margin-inline-end: 4px; }
.cb-batch-note a { color: var(--cb-text); font-weight: 600; }

/* ---- Head: new photo, title, other photos ---- */

.rb-head {
  display: flex;
  align-items: center;
  gap: 10px 16px;
  min-height: 46px;
  margin-bottom: 14px;
}
.cb-landing .rb-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}
.rb-recent {
  display: flex;
  gap: 8px;
  min-width: 0;
  margin-inline-start: auto;
  padding: 3px;
  overflow-x: auto;
  scrollbar-width: none;
}
.rb-recent::-webkit-scrollbar { display: none; }
.rb-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(22, 24, 29, 0.12);
  background-size: 10px 10px;
}
.rb-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* The bar for all photos (remove-background.js, "Batch"): a batch's
   progress, then Apply to all and Download all (a ZIP). */
.rb-batch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: -4px 0 12px; padding: 7px 8px 7px 14px; border: 1px solid var(--cb-line); border-radius: 14px; background: #fff; }
.rb-batch[hidden] { display: none; }
.rb-batch-status { display: flex; flex: 1 1 260px; align-items: center; gap: 10px; min-width: 0; font-size: 0.9rem; line-height: 1.35; color: var(--cb-ink); }
.rb-batch-text { min-width: 0; }
.rb-batch-text a { color: var(--cb-cta); font-weight: 600; }
.rb-batch.is-idle .rb-batch-text { color: var(--cb-muted); }
.rb-batch-spin { display: none; flex: 0 0 auto; width: 16px; height: 16px; border: 2px solid var(--cb-line); border-top-color: var(--cb-cta); border-radius: 50%; animation: rb-spin 0.8s linear infinite; }
.rb-batch-bar { display: none; flex: 0 0 120px; height: 6px; overflow: hidden; border-radius: 3px; background: #eef0f3; }
.rb-batch-bar > i { display: block; width: 0; height: 100%; background: var(--cb-cta); transition: width 0.3s; }
.rb-batch.is-busy .rb-batch-spin,
.rb-batch.is-busy .rb-batch-bar { display: block; }
.rb-batch-acts { display: flex; gap: 8px; margin-inline-start: auto; }
.rb-batch-close { flex: 0 0 auto; width: 28px; height: 28px; margin-inline-start: auto; padding: 0; border: 0; border-radius: 50%; background: none; font-size: 0.8rem; color: var(--cb-muted); cursor: pointer; }
.rb-batch-close:hover { background: #f1f3f6; color: var(--cb-ink); }
.rb-batch-close:focus-visible { outline: 2px solid var(--cb-cta); outline-offset: 1px; }
.rb-batch-close[hidden] { display: none; }
.rb-batch-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--cb-line); border-radius: 999px; background: #fff; font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--cb-ink); white-space: nowrap; cursor: pointer; }
.rb-batch-btn:hover { background: #f4f6f9; }
.rb-batch-btn.is-main { border-color: var(--cb-cta); background: var(--cb-cta); color: #fff; }
.rb-batch-btn.is-main:hover { background: #0b62cc; }
.rb-batch-btn:focus-visible { outline: 2px solid var(--cb-cta); outline-offset: 2px; }
.rb-batch-btn[hidden] { display: none; }
.rb-batch-btn:disabled { opacity: 0.6; cursor: default; }
.rb-zip { flex: 1 0 100%; padding: 10px 6px 4px 0; border-top: 1px solid var(--cb-line); }
.rb-zip[hidden], .rb-zip-opts[hidden], .rb-zip-confirm[hidden], .rb-zip-btns [hidden] { display: none; }
.rb-zip-title, .rb-zip-msg { margin: 0 0 8px; font-size: 0.9rem; color: var(--cb-ink); }
.rb-zip-title { font-weight: 600; }
.rb-zip-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.rb-zip-opts .cb-dl-btn { flex: 1 1 220px; padding: 10px 14px; }
.rb-zip-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.rb-zip-btns .cb-btn-cta, .rb-zip-btns .cb-btn-ghost { padding: 8px 18px; font-size: 0.92rem; }
/* The selected photo's ring is drawn inside the thumbnail, over the image, so
   it never reaches past the strip (which clips what overflows it). */
.rb-thumb.is-active::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px var(--cb-ink), inset 0 0 0 4px var(--cb-bg);
  pointer-events: none;
}

/* ---- One photo at a time ---- */

#image-panel-container > .rb-ws:not(.is-active) { display: none; }
.rb-ws {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
}
.rb-main { min-width: 0; }

/* ---- Stage ---- */

.rb-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(400px, calc(100vh - var(--rb-nav) - 120px), 820px);
  padding: 44px 24px 68px;
  overflow: hidden;
  border-radius: 22px;
  background: #2b2e34;
  box-shadow: 0 34px 70px -30px rgba(0, 0, 0, 0.55);
}
.rb-frame {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  max-height: 100%;
  touch-action: none;
}
.rb-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: repeating-conic-gradient(#e6e3de 0% 25%, #fff 0% 50%) 50% / 20px 20px;
}
.rb-original {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s;
}
.rb-stage.is-comparing .rb-original { opacity: 1; }
.rb-stage.is-comparing .rb-box { visibility: hidden; }

/* Box with handles over the subject: drag inside to move, corners to resize,
   the rotate button to rotate. Shown on hover, while editing, and always on
   touch screens. */
.rb-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  outline: none;
  cursor: move;
  opacity: 0;
  touch-action: none;
  transition: opacity 0.15s;
}
.rb-box::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: 1.5px dashed #fff;
  box-shadow: 0 0 0 1px rgba(22, 24, 29, 0.35), inset 0 0 0 1px rgba(22, 24, 29, 0.35);
  pointer-events: none;
}
.rb-stage:hover .rb-box.is-ready,
.rb-stage.is-editing .rb-box,
.rb-box.is-ready:focus-visible { opacity: 1; }
.rb-box:focus-visible::before { border-style: solid; border-color: var(--cb-pink); }
@media (hover: none) {
  .rb-box.is-ready { opacity: 1; }
}
.rb-h {
  position: absolute;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border: 2px solid var(--cb-pink);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}
.rb-h::after {   /* larger hit area than the dot */
  content: "";
  position: absolute;
  top: -12px;
  right: -12px;
  bottom: -12px;
  left: -12px;
}
.rb-h-nw { top: 0; left: 0; cursor: nwse-resize; }
.rb-h-ne { top: 0; left: 100%; cursor: nesw-resize; }
.rb-h-sw { top: 100%; left: 0; cursor: nesw-resize; }
.rb-h-se { top: 100%; left: 100%; cursor: nwse-resize; }
.rb-h-rot {   /* placed by _rbPlaceRot, always inside the canvas */
  top: -22px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  font-size: 15px;
  font-style: normal;
  color: var(--cb-ink);
  border-color: #fff;
  cursor: grab;
}
.rb-stage.is-editing,
.rb-stage.is-editing .rb-box { cursor: grabbing; }
/* Blur tab: the cut-out stays where it was in the photo (see _rbLock). */
.rb-stage.is-locked .rb-box,
.rb-stage.is-locked .rb-hint { display: none; }
@media (pointer: coarse) {
  .rb-h { width: 18px; height: 18px; margin: -9px 0 0 -9px; }
  .rb-h-rot { width: 32px; height: 32px; margin: -16px 0 0 -16px; }
}

.rb-hint {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 50%;
  max-width: calc(100% - 120px);
  margin: 0;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  text-align: center;
  border-radius: 999px;
  background: rgba(22, 24, 29, 0.78);
  transform: translateX(-50%);
  pointer-events: none;
  transition: opacity 0.3s;
  animation: rb-hint-out 0.4s ease 7s forwards;   /* fades by itself */
}
.rb-hint.is-off { opacity: 0; }
@keyframes rb-hint-out { to { opacity: 0; visibility: hidden; } }

/* Tool bar: Compare / Flip / Reset, then the edges switch; and Delete. On
   phones the bar is split (see the phone rules). */
.rb-bar {
  position: absolute;
  z-index: 3;
  bottom: 12px;
  left: 50%;
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(22, 24, 29, 0.72);
  transform: translateX(-50%);
}
.rb-tools { display: flex; gap: 4px; }
.rb-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 1.1rem;
  color: #fff;
  border: 0;
  border-radius: 50%;
  background: transparent;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.rb-tool:hover:not(:disabled) { background: rgba(255, 255, 255, 0.16); }
.rb-tool:disabled { opacity: 0.35; cursor: default; }
.rb-tool[aria-pressed="true"] { color: var(--cb-ink); background: #fff; }
.rb-delete {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  background: rgba(22, 24, 29, 0.72);
}
[dir="rtl"] .rb-delete { right: auto; left: 10px; }

/* Edges switch: Smooth edges | Hair & fur, the one shown in white. A spinner
   on the other while its cut-out is made. */
.rb-tool-sep {
  flex: 0 0 1px;
  margin: 8px 2px;
  background: rgba(255, 255, 255, 0.22);
}
.rb-edges {
  display: flex;
  gap: 2px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}
.rb-edge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.84);
  border: 0;
  border-radius: 999px;
  background: transparent;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.rb-edge:hover { color: #fff; background: rgba(255, 255, 255, 0.14); }
.rb-edge[aria-pressed="true"] { color: var(--cb-ink); background: #fff; cursor: default; }
.rb-edge:focus-visible { outline: 2px solid var(--cb-pink); outline-offset: 1px; }
.rb-edge[aria-busy="true"] { cursor: progress; }
.rb-edge[aria-busy="true"]::before {
  content: "";
  flex: 0 0 auto;
  width: 0.95em;
  height: 0.95em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: rb-spin 0.75s linear infinite;
}
@keyframes rb-spin { to { transform: rotate(360deg); } }

/* While the new cut-out is made: a note over the photo, slightly dimmed. */
.rb-busy,
.rb-flash {
  position: absolute;
  z-index: 4;
  top: 10px;
  left: 50%;
  display: none;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 120px);
  margin: 0;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  border-radius: 999px;
  background: rgba(22, 24, 29, 0.82);
  transform: translateX(-50%);
  pointer-events: none;
}
.rb-flash { display: block; text-align: center; background: rgba(176, 32, 48, 0.92); }
.rb-stage.is-refining .rb-busy { display: flex; }
.rb-stage.is-refining .rb-hint { display: none; }
.rb-stage.is-refining .rb-canvas { opacity: 0.6; transition: opacity 0.2s; }

/* ---- Panel ---- */

.rb-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: clamp(400px, calc(100vh - var(--rb-nav) - 120px), 820px);   /* as tall as the stage */
  padding: 16px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 50px -30px rgba(22, 24, 29, 0.4);
}
.rb-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
  margin: 0 0 12px;
  padding: 4px;
  list-style: none;
  border-radius: 14px;
  background: var(--cb-bg);
}
.rb-tabs .nav-item { flex: 1 1 0; min-width: 0; }
.rb-tabs .nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 7px 4px;
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--cb-text);
  white-space: nowrap;
  text-overflow: ellipsis;
  border-radius: 10px;
}
.rb-tabs .nav-link .bi { font-size: 1.15rem; }
.rb-tabs .nav-link > span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.rb-tabs .nav-link:hover { color: var(--cb-ink); }
.rb-tabs .nav-link.active {
  color: var(--cb-ink);
  background: #fff;
  box-shadow: 0 2px 8px -2px rgba(22, 24, 29, 0.25);
}
.rb-panes {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0 -6px;
  padding: 0 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
/* Desktop: the open tab fills the panel and scrolls by itself; on the Photo
   tab only the tiles scroll, so Blur and Brightness stay in view. */
@media (min-width: 992px) {
  .rb-panes { display: flex; flex-direction: column; overflow: hidden; }
  .rb-panes > .active {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .rb-panes > [id^="bg-photo-"].active { overflow: hidden; }
  .rb-panes > [id^="bg-photo-"] .bg-photo-grid {
    flex: 1 1 auto;
    grid-auto-rows: max-content;   /* rows keep the tiles' height instead of shrinking to fit */
    align-content: start;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .rb-panes > [id^="bg-photo-"] .rb-ranges {
    flex: 0 0 auto;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--cb-line);
  }
}

/* Tiles: photos, colours and gradients share one look. */
.bg-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
  gap: 8px;
  padding: 4px;
  border-radius: 14px;
}
.bg-photo-grid.is-drop { outline: 2px dashed var(--cb-pink); outline-offset: 2px; background: #fff5fa; }
.bg-photo-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background-color: var(--cb-bg);
  box-shadow: inset 0 0 0 1px rgba(22, 24, 29, 0.08);
  cursor: pointer;
}
.bg-photo-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}
.bg-photo-tile:hover img { transform: scale(1.06); }
.bg-photo-tile.active,
.rb-panel .bg-color-swatch.active,
.rb-panel .bg-grad-preset.active { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--cb-ink); }
.bg-photo-add {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--cb-ink);
  border: 1.5px dashed #b9b4ad;
  background: #fff;
  box-shadow: none;
}
.bg-photo-add:hover { color: var(--cb-pink); border-color: var(--cb-pink); }
.bg-photo-tile.loading img { opacity: 0.55; }
.bg-photo-tile.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  border: 3px solid rgba(255, 255, 255, 0.7);
  border-top-color: var(--cb-pink);
  border-radius: 50%;
  animation: cb-spin 0.7s linear infinite;
}
.bg-photo-add.loading { color: transparent; }
.bg-photo-more { grid-column: 1 / -1; border-radius: 12px; }

/* Category chips over the Photo gallery: wrapping in the panel; one
   swipeable row on phones (see below). */
.bg-cat-row {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 8px;
  padding: 2px;
  scrollbar-width: none;
}
.bg-cat-row::-webkit-scrollbar { display: none; }
.bg-cat {
  flex: 0 0 auto;
  padding: 4px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--cb-bg);
  color: var(--cb-text);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
}
.bg-cat:hover { color: var(--cb-ink); background: #ebe8e4; }
.bg-cat.active { color: #fff; background: var(--cb-ink); }
.bg-cat:focus { outline: 0; }
.bg-cat:focus-visible { outline: 2px solid var(--cb-pink); outline-offset: 1px; }

.rb-panel .bg-swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(38px, 1fr));
  gap: 8px;
  padding: 4px;
}
.rb-panel .bg-color-swatch {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(22, 24, 29, 0.15);
  transform: none;
}
.rb-panel .bg-color-swatch:hover { transform: scale(1.08); }
.bg-color-custom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #fff;
  background-image: conic-gradient(#f44336, #ffeb3b, #8bc34a, #00bcd4, #3f51b5, #e91e63, #f44336);
  cursor: pointer;
}
.bg-color-custom.active { background-image: none; }
.bg-color-custom .bi { font-size: 1rem; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); pointer-events: none; }
.bg-color-custom input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.rb-panel .bg-grad-preset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(54px, 1fr));
  gap: 8px;
  padding: 4px;
}
.rb-panel .bg-grad-preset {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(22, 24, 29, 0.1);
  transform: none;
}
.rb-panel .bg-grad-preset:hover { transform: scale(1.06); }
.rb-grad-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 14px;
}
.rb-grad-color {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cb-text);
}
.rb-panel .rb-grad-color input {
  width: 38px;
  height: 34px;
  padding: 2px;
  border: 1px solid var(--cb-line);
  border-radius: 10px;
  background: #fff;
}
.rb-dir {
  display: flex;
  gap: 2px;
  margin-inline-start: auto;
  padding: 3px;
  border-radius: 12px;
  background: var(--cb-bg);
}
.rb-dir .bg-direction-btn {
  width: 38px;
  height: 32px;
  padding: 0;
  font-size: 1rem;
  color: var(--cb-text);
  border: 0;
  border-radius: 9px;
  background: transparent;
}
.rb-dir .bg-direction-btn.active {
  color: var(--cb-ink) !important;
  border-color: transparent !important;
  background: #fff !important;
  box-shadow: 0 2px 8px -2px rgba(22, 24, 29, 0.25);
}

/* Sliders. */
.rb-ranges { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; }
.rb-range-row { display: flex; align-items: center; gap: 10px; min-height: 34px; }
.rb-range-label {
  flex: 0 0 5.6rem;
  margin: 0;
  overflow: hidden;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cb-text);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.rb-range-row .custom-range { flex: 1 1 auto; min-width: 0; }
.rb-range-row output {
  flex: 0 0 2.8rem;
  font-size: 0.85rem;
  color: var(--cb-muted);
  text-align: end;
  font-variant-numeric: tabular-nums;
}
.rb-range-row.bg-ctrl-disabled { opacity: 0.4; }
.rb-panel .custom-range::-webkit-slider-thumb { background: var(--cb-ink); }
.rb-panel .custom-range::-moz-range-thumb { background: var(--cb-ink); }
.rb-panel .custom-range:focus::-webkit-slider-thumb { box-shadow: 0 0 0 1px #fff, 0 0 0 4px rgba(216, 24, 120, 0.3); }

/* ---- Shadow ---- */

/* The tab's icon, with a pink dot while the photo has a shadow. As tall as
   the other tabs' font icons (their size × the line height). */
.rb-tab-ico { position: relative; display: inline-flex; align-items: center; height: 1.38rem; }
.rb-tab-dot {
  position: absolute;
  top: -1px;
  right: -5px;
  display: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cb-pink);
  box-shadow: 0 0 0 2px var(--cb-bg);
}
[dir="rtl"] .rb-tab-dot { right: auto; left: -5px; }
.rb-tabs .nav-link.is-on .rb-tab-dot { display: block; }
.rb-tabs .nav-link.active .rb-tab-dot { box-shadow: 0 0 0 2px #fff; }

/* What the subject is: None, then a tile for each kind, like the
   backgrounds' tiles. */
.rb-shd-kinds {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
  gap: 8px;
  padding: 4px;
}
.rb-shd-kind {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  aspect-ratio: 1 / 1;
  padding: 6px 3px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--cb-text);
  border: 0;
  border-radius: 12px;
  background: var(--cb-bg);
  box-shadow: inset 0 0 0 1px rgba(22, 24, 29, 0.08);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.rb-shd-kind svg,
.rb-shd-kind > .bi { flex: 0 0 auto; width: 24px; height: 24px; font-size: 22px; line-height: 24px; }
.rb-shd-name {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
  overflow-wrap: anywhere;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.rb-shd-kind:hover { color: var(--cb-ink); background: #edeae6; }
.rb-shd-kind[aria-pressed="true"] { color: var(--cb-ink); background: #fff; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--cb-ink); }
.rb-shd-kind[data-kind="none"] > .bi { color: var(--cb-muted); }
.rb-shd-kind:focus-visible { outline: 2px solid var(--cb-pink); outline-offset: 3px; }
/* The kind the cut-out's shape suggests. */
.rb-shd-sug { position: absolute; top: 4px; right: 5px; font-size: 0.72rem; line-height: 1; color: var(--cb-pink); }
[dir="rtl"] .rb-shd-sug { right: auto; left: 5px; }
.rb-shd-ranges { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--cb-line); }
.rb-shd-ranges .rb-range-row[hidden] { display: none; }

/* Contact points: Adjust (Done while setting them) and Auto. */
.rb-shd-cp { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.rb-shd-cp[hidden] { display: none; }
.rb-shd-cp-label {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cb-text);
}
.rb-shd-cp-label span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rb-shd-btn {
  flex: 0 0 auto;
  height: 32px;
  padding: 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cb-ink);
  border: 1px solid #d6d2cc;
  border-radius: 999px;
  background: #fff;
}
.rb-shd-btn:hover:not(:disabled) { border-color: var(--cb-ink); }
.rb-shd-btn[aria-pressed="true"] { color: #fff; border-color: #0f70e6; background: #0f70e6; }
.rb-shd-btn:disabled { opacity: 0.4; cursor: default; }
.rb-shd-btn:focus-visible { outline: 2px solid var(--cb-pink); outline-offset: 2px; }
.rb-shd-hint { display: flex; gap: 8px; margin: 12px 0 0; font-size: 0.8rem; line-height: 1.35; color: var(--cb-muted); }
.rb-shd-hint[hidden] { display: none; }
.rb-shd-hint .bi { flex: 0 0 auto; margin-top: 1px; }

/* On the photo: the dot at the shadow's end, with a dashed line to it from
   where the subject stands; shown while the Shadow tab is open. */
.rb-shd-ui {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  pointer-events: none;
}
.rb-stage.is-shd .rb-shd-ui:not([hidden]) { display: block; }
.rb-stage.is-comparing .rb-shd-ui,
.rb-stage.is-cp .rb-shd-ui { display: none !important; }
.rb-shd-line { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: visible; }
.rb-shd-l1 { stroke: rgba(22, 24, 29, 0.45); stroke-width: 1; }
.rb-shd-l2 { stroke: #fff; stroke-width: 1.5; stroke-dasharray: 4.5 4.5; }
.rb-shd-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle, #16181d 0 3.5px, #fff 4px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  cursor: move;
  pointer-events: auto;
  touch-action: none;
}
.rb-shd-dot::after {   /* larger hit area than the dot */
  content: "";
  position: absolute;
  top: -12px;
  right: -12px;
  bottom: -12px;
  left: -12px;
  border-radius: 50%;
}
.rb-shd-ui.is-drag .rb-shd-dot { cursor: grabbing; }
.rb-shd-dot:focus-visible { outline: 2px solid var(--cb-pink); outline-offset: 2px; }
@media (pointer: coarse) {
  .rb-shd-dot { width: 18px; height: 18px; margin: -9px 0 0 -9px; background: radial-gradient(circle, #16181d 0 5px, #fff 5.5px); }
}

/* Setting the contact points: a layer over the photo takes the taps, a bar
   says what to do, and the other tools step aside. */
.rb-cp-layer {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  touch-action: none;
}
.rb-stage.is-cp .rb-cp-layer { display: block; }
.rb-stage.is-cp .rb-box,
.rb-stage.is-cp .rb-bar,
.rb-stage.is-cp .rb-tools,
.rb-stage.is-cp .rb-edges,
.rb-stage.is-cp .rb-delete,
.rb-stage.is-cp .rb-hint { display: none !important; }
.rb-cp-bar {
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 50%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  width: max-content;
  max-width: calc(100% - 20px);
  padding: 8px 8px 8px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  border-radius: 14px;
  background: rgba(22, 24, 29, 0.92);
  box-shadow: 0 10px 28px -12px rgba(0, 0, 0, 0.6);
  transform: translateX(-50%);
  animation: rb-cp-in 0.18s ease-out;
}
.rb-cp-bar[hidden] { display: none; }
[dir="rtl"] .rb-cp-bar { padding: 8px 14px 8px 8px; }
@keyframes rb-cp-in { from { opacity: 0; transform: translate(-50%, -6px); } }
.rb-cp-icon { font-size: 1.15rem; color: #ff5aa8; }
.rb-cp-text { flex: 1 1 12rem; min-width: 0; }
.rb-cp-btns { display: flex; gap: 6px; }
.rb-cp-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}
.rb-cp-btn:hover:not(:disabled) { background: rgba(255, 255, 255, 0.24); }
.rb-cp-btn:disabled { opacity: 0.4; cursor: default; }
.rb-cp-btn:focus-visible { outline: 2px solid #ff5aa8; outline-offset: 2px; }
.rb-cp-done,
.rb-cp-done:hover:not(:disabled) { background: #0f70e6; }
@media (pointer: coarse) {
  .rb-cp-btn { height: 40px; }
}

/* Downloads. */
.rb-dl {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--cb-line);
}
.rb-dl .cb-dl-btn { padding: 10px 14px; }
.cb-landing .rb-dl a.cb-dl-btn,
.cb-landing .rb-dl a.cb-dl-btn:hover { color: var(--cb-ink); text-decoration: none; }
.rb-dl-hd[aria-busy="true"] { cursor: progress; opacity: 0.75; }
.rb-dl-hd[aria-busy="true"] .bi-stars { display: none; }
.rb-dl-spin { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; border-width: 0.15em; }
/* Just the cut-out: a quiet link under the buttons. It is a form (the credit
   is spent with a POST and the session token), its button drawn as a link. */
.cb-landing .rb-dl .rb-dl-cut { align-self: center; margin: 0; text-align: center; }
.cb-landing .rb-dl .rb-dl-cut button { padding: 0; border: 0; background: none; font: inherit; font-size: 0.82rem; line-height: 1.3; text-align: center; color: var(--cb-muted); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.cb-landing .rb-dl .rb-dl-cut button:hover { color: var(--cb-ink); }
/* "Check the edges at 100%": a quiet button with an icon, above the cut-out
   link; its dialog (inc/rb-edge-modal.inc.php) below. */
.rb-dl .rb-dl-zoom { align-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 0.88rem; font-weight: 600; line-height: 1.3; color: var(--cb-cta); cursor: pointer; }
.rb-dl .rb-dl-zoom:hover { background: #eef4fd; }
.rb-dl .rb-dl-zoom:focus-visible { outline: 2px solid var(--cb-cta); outline-offset: 2px; }
/* Size: the downloads made for a marketplace or a profile photo, with a small
   picture of the result and its checks (remove-background.js, "Size for a
   marketplace"). LinkedIn's picture is round, as the site shows it. */
.rb-for { display: flex; align-items: center; gap: 8px; }
.rb-for label { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 0.88rem; font-weight: 600; color: var(--cb-ink); }
.rb-for-select { flex: 1 1 auto; min-width: 0; height: 36px; padding: 0 8px; border: 1px solid var(--cb-line); border-radius: 8px; background-color: #fff; font: inherit; font-size: 0.9rem; color: var(--cb-ink); cursor: pointer; }
.rb-for-select:focus-visible { outline: 2px solid var(--cb-cta); outline-offset: 1px; }
.rb-for-check { display: flex; align-items: flex-start; gap: 10px; }
.rb-for-check[hidden] { display: none; }
.rb-for-thumb { flex: 0 0 auto; width: 88px; height: auto; border: 1px solid var(--cb-line); border-radius: 6px; background: #fff; }
.rb-for-check.is-round .rb-for-thumb { border-radius: 50%; }
.rb-for-list { flex: 1 1 auto; min-width: 0; margin: 0; padding: 0; list-style: none; font-size: 0.82rem; line-height: 1.35; color: var(--cb-ink); }
.rb-for-list li { display: flex; gap: 6px; margin: 0 0 4px; }
.rb-for-list li:last-child { margin-bottom: 0; }
.rb-for-list li > .bi { flex: 0 0 auto; margin-top: 1px; }
.rb-for-list .is-ok > .bi { color: #1e9e5a; }
.rb-for-list .is-warn > .bi { color: #c98a00; }
.rb-for-list .is-bad > .bi { color: #d93a3a; }
.rb-for-list .is-info > .bi { color: var(--cb-muted); }
.rb-for-fix { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--cb-cta); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.rb-for-fix:focus-visible { outline: 2px solid var(--cb-cta); outline-offset: 2px; }

.rb-edge-modal .modal-dialog { max-width: 640px; }
.rb-edge-modal .modal-content { border: 0; border-radius: 18px; }
.rb-edge-modal .modal-header { align-items: center; padding: 16px 20px 0; border-bottom: 0; background: none; }
.rb-edge-modal .modal-title { margin: 0; font-size: 1.2rem; font-weight: 700; color: var(--cb-ink); }
.rb-edge-modal .modal-body { padding: 8px 20px 12px; }
.rb-edge-intro { margin: 0 0 14px; font-size: 0.92rem; color: var(--cb-text); }
.rb-edge-grid { display: flex; align-items: flex-start; gap: 18px; }
/* The piece at 1:1, in a 320px square. */
.rb-edge-view { position: relative; display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 322px; height: 322px; max-width: 100%; overflow: hidden; border: 1px solid var(--cb-line); border-radius: 12px; }
.rb-edge-crop { display: block; max-width: 100%; height: auto; transition: opacity 0.15s; }
.rb-edge-view.is-busy .rb-edge-crop { opacity: 0.35; }
.rb-edge-busy { position: absolute; top: 50%; right: 12px; left: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 8px 10px; transform: translateY(-50%); font-size: 0.85rem; text-align: center; color: var(--cb-ink); border-radius: 10px; background: rgba(255, 255, 255, 0.92); }
.rb-edge-busy[hidden], .rb-edge-msg[hidden], .rb-edge-crop[hidden], .rb-edge-mark[hidden], .rb-edge-paid[hidden], .rb-edge-cost[hidden] { display: none; }
.rb-edge-msg { position: absolute; right: 8px; bottom: 8px; left: 8px; margin: 0; padding: 8px 10px; font-size: 0.85rem; color: #fff; border-radius: 10px; background: rgba(22, 24, 29, 0.88); }
.rb-edge-side { flex: 1 1 auto; min-width: 0; }
/* The whole cut-out, small: where the piece is, and a click picks another. */
.rb-edge-map { position: relative; display: inline-block; max-width: 100%; overflow: hidden; line-height: 0; border: 1px solid var(--cb-line); border-radius: 10px; cursor: crosshair; }
.rb-edge-map img { display: block; width: auto; max-width: 100%; height: auto; max-height: 190px; }
.rb-edge-map.is-off { cursor: default; }
.rb-edge-mark { position: absolute; border: 2px solid var(--cb-pink); border-radius: 2px; box-shadow: 0 0 0 1px #fff; pointer-events: none; }
.rb-edge-hint { margin: 8px 0 10px; font-size: 0.82rem; line-height: 1.35; color: var(--cb-muted); }
.rb-edge-next { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1.5px solid #cfcac3; border-radius: 999px; background: #fff; font-size: 0.88rem; font-weight: 600; color: var(--cb-ink); cursor: pointer; }
.rb-edge-next:hover:not(:disabled) { border-color: var(--cb-ink); }
.rb-edge-next:disabled { opacity: 0.45; cursor: not-allowed; }
.rb-edge-bgs { display: flex; gap: 10px; margin-top: 14px; }
.rb-edge-bgs button { width: 30px; height: 30px; padding: 0; border: 1.5px solid #cfcac3; border-radius: 50%; cursor: pointer; }
.rb-edge-bgs button[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--cb-cta); }
.rb-edge-bgs button:focus-visible { outline: 2px solid var(--cb-cta); outline-offset: 3px; }
.rb-edge-modal [data-bg="checker"] { background: repeating-conic-gradient(#e2e2e2 0 25%, #fff 0 50%) 0 0 / 16px 16px; }
.rb-edge-modal [data-bg="white"] { background: #fff; }
.rb-edge-modal [data-bg="black"] { background: #16181d; }
.rb-edge-modal .modal-footer { flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 12px 20px 18px; border-top: 1px solid var(--cb-line); }
.rb-edge-modal .modal-footer > * { margin: 0; }
.rb-edge-meta { font-size: 0.9rem; color: var(--cb-text); }
.rb-edge-meta strong { color: var(--cb-ink); }
.rb-edge-buy { padding: 10px 22px; font-size: 1rem; }

/* ---- Pending card ---- */

.rb-pending-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
}
.rb-pending .rb-stage { padding: 24px; }
.rb-skeleton { gap: 14px; }
.rb-sk-tabs { height: 54px; border-radius: 14px; background: var(--cb-bg); }
.rb-sk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rb-sk-grid i,
.rb-sk-btn {
  border-radius: 12px;
  background: linear-gradient(100deg, #efede9 30%, #f8f7f5 50%, #efede9 70%) 0 0 / 250% 100%;
  animation: cb-sweep 1.6s linear infinite;
}
.rb-sk-grid i { aspect-ratio: 1 / 1; }
.rb-sk-btn { height: 58px; margin-top: auto; border-radius: 16px; }

/* ---- Touch up: erase / restore brush (remove-background.js, "Touch up") ----
   A layer over the photo takes the strokes; the brush's outline follows the
   pointer; in Restore a faint copy of the photo (the ghost) shows what can
   come back. Erase / Restore and Done above, size, zoom and undo below; the
   other tools step aside. The frame is zoomed with a transform. */
.rb-frame { transform-origin: 0 0; }
.rb-br-ghost,
.rb-br-layer,
.rb-br-top,
.rb-br-bot,
.rb-br-hint { display: none; }
.rb-stage.is-brush .rb-br-ghost,
.rb-stage.is-brush .rb-br-layer,
.rb-stage.is-brush .rb-br-hint { display: block; }
.rb-stage.is-brush .rb-br-top,
.rb-stage.is-brush .rb-br-bot { display: flex; }
.rb-stage.is-brush .rb-box,
.rb-stage.is-brush .rb-bar,
.rb-stage.is-brush .rb-tools,
.rb-stage.is-brush .rb-edges,
.rb-stage.is-brush .rb-delete,
.rb-stage.is-brush .rb-hint,
.rb-stage.is-brush .rb-shd-ui,
.rb-stage.is-brush .rb-original { display: none !important; }
.rb-br-ghost {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.rb-br-layer {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: none;
  touch-action: none;
}
.rb-stage.is-panning .rb-br-layer { cursor: grabbing; }
.rb-br-ring {
  position: absolute;
  top: 0;
  left: 0;
  border: 1.5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(22, 24, 29, 0.6), inset 0 0 0 1px rgba(22, 24, 29, 0.6);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.rb-br-ring.is-restore { border-color: #8be0b0; }
.rb-br-ring[hidden] { display: none; }

.rb-br-top,
.rb-br-bot {
  position: absolute;
  z-index: 4;
  left: 50%;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 16px);
  padding: 4px;
  border-radius: 999px;
  background: rgba(22, 24, 29, 0.8);
  transform: translateX(-50%);
}
.rb-br-top { top: 10px; }
.rb-br-bot { bottom: 12px; gap: 4px; padding: 4px 6px; }
.rb-br-modes {
  display: flex;
  gap: 2px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}
.rb-br-mode,
.rb-br-done {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.86);
  border: 0;
  border-radius: 999px;
  background: transparent;
  -webkit-user-select: none;
  user-select: none;
}
.rb-br-mode:hover { color: #fff; background: rgba(255, 255, 255, 0.14); }
.rb-br-mode[aria-pressed="true"] { color: var(--cb-ink); background: #fff; }
.rb-br-done { color: #fff; background: var(--cb-cta, #0069d9); font-weight: 700; }
.rb-br-done:hover { filter: brightness(1.08); }
.rb-br-mode:focus-visible,
.rb-br-done:focus-visible { outline: 2px solid var(--cb-pink); outline-offset: 1px; }
.rb-br-size {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 6px 0 8px;
  color: #fff;
  font-size: 0.85rem;
}
.rb-br-size input { width: 120px; accent-color: #fff; }
.rb-br-bot .rb-tool { width: 38px; height: 38px; }
.rb-br-hint {
  position: absolute;
  z-index: 4;
  top: 62px;
  left: 50%;
  max-width: calc(100% - 32px);
  margin: 0;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  text-align: center;
  border-radius: 16px;
  background: rgba(22, 24, 29, 0.8);
  opacity: 0;
  transform: translateX(-50%);
  pointer-events: none;
  transition: opacity 0.3s;
}
.rb-br-hint.is-on { opacity: 1; }
.rb-br-hint:empty { visibility: hidden; }
@media (max-width: 767.98px) {
  .rb-br-top { top: 6px; gap: 4px; }
  .rb-br-bot { bottom: 8px; }
  .rb-br-mode,
  .rb-br-done { height: 34px; padding: 0 11px; }
  .rb-br-size { margin: 0 4px; }
  .rb-br-size input { width: 84px; }
  .rb-br-bot .rb-tool { width: 36px; height: 36px; }
  .rb-br-bot [data-br="in"],
  .rb-br-bot [data-br="out"],
  .rb-br-bot .rb-tool-sep { display: none; }   /* two fingers zoom */
  .rb-br-hint { top: 52px; font-size: 0.78rem; }
}
@media (max-width: 379.98px) {
  .rb-br-mode i,
  .rb-br-done i { display: none; }
}

/* ---- Tablets ---- */

@media (max-width: 991.98px) {
  .rb-ws { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .rb-stage { height: clamp(300px, 58vh, 640px); }
  .rb-panel { height: auto; }
  .rb-panes { overflow: visible; }
  .bg-photo-grid { max-height: 320px; overflow-y: auto; }
  .rb-sk-grid { grid-template-columns: repeat(8, 1fr); }
}

/* ---- Phones: an app filling the screen ---- */

@media (max-width: 767.98px) {
  .rb-page.is-app .cb-footer,
  .rb-page.is-app .cb-rb-rate { display: none; }
  .rb-app { min-height: 0; padding: calc(var(--rb-nav) + 6px) 0 0; }
  .rb-container { padding-right: 8px; padding-left: 8px; }
  .rb-head { min-height: 44px; margin-bottom: 6px; gap: 8px; }
  .cb-landing .rb-title { display: none; }
  .rb-new { flex: 0 0 auto; padding: 7px 14px; font-size: 0.95rem; }
  .rb-thumb { width: 38px; height: 38px; border-radius: 10px; }
  .rb-batch { margin: 0 0 6px; padding: 5px 6px 5px 12px; gap: 6px 8px; border-radius: 12px; }
  .rb-batch-status { flex-basis: 100%; font-size: 0.82rem; }
  .rb-batch.is-idle .rb-batch-status { display: none; }
  .rb-batch-bar { flex-basis: 64px; }
  .rb-batch-acts { flex: 1 1 auto; justify-content: flex-end; }
  .rb-batch.is-idle .rb-batch-acts { justify-content: stretch; }
  .rb-batch.is-idle .rb-batch-btn { flex: 1 1 0; justify-content: center; }
  .rb-batch-btn { height: 32px; padding: 0 12px; font-size: 0.82rem; }

  /* Head 44 + gap 6: the rest of the screen is the card. */
  .rb-ws {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: calc(100vh - var(--rb-nav) - 56px - var(--rb-batch, 0px));
    height: calc(100svh - var(--rb-nav) - 56px - var(--rb-batch, 0px));
  }
  .rb-main { display: flex; flex: 1 1 auto; min-height: 0; }
  .rb-stage {
    flex: 1 1 auto;
    height: auto;
    min-height: 160px;
    padding: 48px 10px 58px;
    border-radius: 16px;
    touch-action: none;
  }
  /* The bar is split so the tools keep one row: Compare / Flip / Reset at the
     bottom, the edges switch in the top corner opposite Delete. The notes go
     just above the tools. */
  .rb-bar { display: contents; }
  .rb-tool-sep { display: none; }
  .rb-tools,
  .rb-edges {
    position: absolute;
    z-index: 3;
    border-radius: 999px;
    background: rgba(22, 24, 29, 0.72);
  }
  .rb-tools { bottom: 8px; left: 50%; padding: 4px; transform: translateX(-50%); }
  .rb-edges { top: 6px; left: 6px; padding: 4px; }
  [dir="rtl"] .rb-edges { right: 6px; left: auto; }
  .rb-edge { height: 32px; padding: 0 12px; }
  @media (max-width: 359.98px) { .rb-edge { padding: 0 9px; } }
  .rb-delete { top: 6px; right: 6px; }
  [dir="rtl"] .rb-delete { left: 6px; }
  .rb-hint { top: auto; bottom: 64px; max-width: calc(100% - 32px); padding: 5px 12px; font-size: 0.78rem; }
  .rb-busy,
  .rb-flash { top: auto; bottom: 64px; max-width: calc(100% - 32px); padding: 5px 12px; font-size: 0.78rem; }

  .rb-panel {
    flex: 0 0 auto;
    margin: 0 -8px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -12px 30px -22px rgba(22, 24, 29, 0.5);
  }
  /* Five tabs: each its icon over its name, so the names have room. */
  .rb-tabs { margin-bottom: 6px; }
  .rb-tabs .nav-link { gap: 1px; padding: 5px 2px; font-size: 0.72rem; }
  .rb-tabs .nav-link .bi { font-size: 1.05rem; }
  .rb-tab-ico { height: 1.26rem; }
  /* Fixed height, so the stage does not jump when switching tabs: the
     tallest, Photo (chips 30, tiles 70, two sliders 64). */
  .rb-panes { flex: 0 0 auto; height: 166px; margin: 0 -8px; padding: 0 8px; overflow: hidden; }
  .bg-cat-row { flex-wrap: nowrap; margin: 0 -8px 4px; padding: 2px 8px; overflow-x: auto; }
  .bg-cat { padding: 3px 10px; font-size: 0.76rem; }

  /* Each picker is one swipeable row. */
  .bg-photo-grid,
  .rb-panel .bg-swatch-grid,
  .rb-panel .bg-grad-preset-grid {
    grid-auto-flow: column;
    grid-template-columns: none;
    max-height: none;
    margin: 0 -8px;
    padding: 4px 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .bg-photo-grid::-webkit-scrollbar,
  .rb-panel .bg-swatch-grid::-webkit-scrollbar,
  .rb-panel .bg-grad-preset-grid::-webkit-scrollbar { display: none; }
  .bg-photo-grid { grid-auto-columns: 62px; grid-template-rows: 62px; }
  .bg-photo-grid > * { scroll-snap-align: start; }
  .bg-photo-more { grid-column: auto; padding: 4px; font-size: 0.72rem; white-space: normal; }
  .rb-panel .bg-swatch-grid { grid-auto-columns: 40px; grid-template-rows: 40px; margin-top: 8px; }
  .rb-panel .bg-grad-preset-grid { grid-auto-columns: 52px; grid-template-rows: 52px; }
  .rb-ranges { gap: 0; margin-top: 4px; }
  .rb-range-row { min-height: 30px; }
  .rb-range-label { flex-basis: 5rem; font-size: 0.8rem; }
  .rb-grad-row { flex-wrap: nowrap; gap: 8px; margin-top: 10px; }
  .rb-grad-color { font-size: 0.8rem; }

  /* Shadow: the kinds in one swipeable row; the tab scrolls when its
     controls are more than fit (Lift, the contact points). */
  /* The pane scrolls, so it clips: it spans the panel's padding too, so the
     swipeable row below (which bleeds into that padding) keeps its pressed ring. */
  .rb-panes > [id^="bg-shadow-"] { height: 100%; margin: 0 -8px; padding: 0 8px; overflow-y: auto; overscroll-behavior: contain; }
  .rb-shd-kinds {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 62px;
    grid-template-rows: 62px;
    margin: 0 -8px;
    padding: 4px 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .rb-shd-kinds::-webkit-scrollbar { display: none; }
  .rb-shd-kind { gap: 2px; padding: 4px 2px; font-size: 0.66rem; scroll-snap-align: start; }
  .rb-shd-kind svg,
  .rb-shd-kind > .bi { width: 20px; height: 20px; font-size: 18px; line-height: 20px; }
  .rb-shd-ranges { margin-top: 2px; padding-top: 0; border-top: 0; }
  .rb-shd-cp { margin-top: 4px; }
  .rb-shd-btn { height: 30px; padding: 0 12px; }
  .rb-shd-hint { margin-top: 8px; }
  /* The bar in one row over the top of the photo: what to do, then the buttons. */
  .rb-cp-bar { top: 6px; right: 6px; left: 6px; flex-wrap: nowrap; gap: 8px; width: auto; max-width: none; padding: 6px 6px 6px 12px; transform: none; font-size: 0.8rem; }
  [dir="rtl"] .rb-cp-bar { padding: 6px 12px 6px 6px; }
  .rb-cp-icon { display: none; }
  .rb-cp-text { flex: 1 1 auto; }
  .rb-cp-btns { flex: 0 0 auto; }
  .rb-cp-btn { height: 38px; padding: 0 11px; }
  @keyframes rb-cp-in-phone { from { opacity: 0; transform: translateY(-6px); } }
  .rb-cp-bar { animation-name: rb-cp-in-phone; }

  .rb-dl { flex-direction: row; flex-wrap: wrap; gap: 8px; margin-top: 6px; padding-top: 8px; }
  .cb-landing .rb-dl .rb-dl-cut { flex: 1 0 100%; margin-top: -2px; }
  .cb-landing .rb-dl .rb-dl-cut button { font-size: 0.75rem; }
  .rb-dl .cb-dl-btn { flex: 1 1 0; justify-content: center; gap: 8px; min-width: 0; padding: 7px 10px; }
  .rb-dl .cb-dl-btn > span { min-width: 0; }
  .rb-dl .cb-dl-btn strong { font-size: 0.95rem; white-space: nowrap; }
  .rb-dl .cb-dl-btn small { font-size: 0.75rem; white-space: nowrap; }
  .rb-dl .rb-dl-x { display: none; }
  /* Full resolution says its size here too, without the word "pixels":
     "4032 × 3024 · 1 credit". The icons make room for it. */
  .rb-dl .rb-dl-hd .rb-dl-x { display: inline; }
  .rb-dl .rb-dl-unit { display: none; }
  .rb-dl .cb-dl-btn > .bi { display: none; }
  .rb-dl .cb-dl-btn small { white-space: normal; }
  .rb-dl .rb-dl-zoom { flex: 1 0 100%; justify-content: center; margin-top: -2px; font-size: 0.82rem; }
  .rb-for, .rb-for-check { flex: 1 0 100%; }
  .rb-for-thumb { width: 72px; }

  .rb-edge-modal .modal-dialog { margin: 8px; }
  .rb-edge-modal .modal-header { padding: 14px 16px 0; }
  .rb-edge-modal .modal-title { font-size: 1.05rem; }
  .rb-edge-modal .modal-body { padding: 6px 16px 10px; }
  .rb-edge-intro { margin-bottom: 10px; font-size: 0.85rem; }
  .rb-edge-grid { flex-direction: column; align-items: center; gap: 10px; }
  .rb-edge-view { width: 100%; height: auto; aspect-ratio: 1; max-width: 322px; }
  .rb-edge-side { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 12px; width: 100%; }
  .rb-edge-map { grid-row: span 3; }
  .rb-edge-map img { max-width: 120px; max-height: 110px; }
  .rb-edge-hint { margin: 0; font-size: 0.78rem; }
  .rb-edge-next { justify-self: start; padding: 5px 12px; font-size: 0.82rem; }
  .rb-edge-bgs { margin-top: 0; }
  .rb-edge-modal .modal-footer { padding: 10px 16px 14px; }
  .rb-edge-meta { flex: 1 0 100%; font-size: 0.85rem; text-align: center; }
  .rb-edge-buy { flex: 1 0 100%; justify-content: center; }

  .rb-pending .rb-stage { padding: 12px; }
  .rb-skeleton .rb-sk-tabs { height: 49px; }
  .rb-sk-grid { grid-template-columns: repeat(5, 1fr); }
  .rb-sk-grid i:nth-child(n + 6) { display: none; }
  .rb-sk-btn { height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .rb-sk-grid i,
  .rb-sk-btn,
  .bg-photo-tile.loading::after { animation: none; }
  .bg-photo-tile img { transition: none; }
  .rb-hint { animation-duration: 0.01s; }
  .rb-edge[aria-busy="true"]::before { animation-duration: 2s; }
  .rb-cp-bar { animation: none; }
}

/* The landing sections (.cb-rb-land: examples, How it works, uses, more
   tools, the closing call to action) and the guides row: beige like the AI
   tool pages (the examples band and the closing section bring their own),
   and not in the workspace. */
.rb-page .cb-rb-land:not(.cb-compare),
.rb-page .cb-rb-guides { background: var(--cb-bg); }
.rb-page.is-app .cb-rb-land,
.rb-page.is-app .cb-rb-guides { display: none; }
.rb-page .cb-rb-land + .cb-rb-faq { padding-top: 0; }

/* The rating: a beige band under the guides row, and under the workspace
   (which is beige too) once a photo is open, close under it. */
.cb-rb-rate { padding: 64px 0 72px; background: var(--cb-bg); }
.rb-page.is-app .cb-rb-rate { padding-top: 12px; }

/* "Coming from remove.bg?" above the hero heading: links the comparison guide. */
.cb-rb-from {
  display: inline-block;
  max-width: 100%;
  margin: 0 auto 18px;
  padding: 7px 16px;
  font-size: 0.92rem;
  line-height: 1.4;
  text-align: center;
  color: var(--cb-text);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--cb-line);
  border-radius: 22px;
  text-decoration: none;
  transition: border-color 0.15s;
}
@media (max-width: 575.98px) {
  .cb-rb-from { padding: 6px 14px; font-size: 0.85rem; }
}
.cb-rb-from strong { font-weight: 700; color: var(--cb-ink); }
.cb-rb-from:hover, .cb-rb-from:focus { color: var(--cb-text); text-decoration: none; border-color: var(--cb-pink); }
.cb-rb-from .bi { color: var(--cb-pink); }
[dir="rtl"] .cb-rb-from .bi { display: inline-block; transform: scaleX(-1); }

/* The FAQ: a beige band that the rating's band continues. Under the workspace
   once a photo is open, but not in the phone app. */
.cb-rb-faq { padding: 64px 0 0; background: var(--cb-bg); }
.rb-page.is-app .cb-rb-faq { padding-top: 12px; }
.cb-rb-faq + .cb-rb-rate,
.rb-page.is-app .cb-rb-faq + .cb-rb-rate { padding-top: 48px; }
@media (max-width: 767.98px) {
  .rb-page.is-app .cb-rb-faq { display: none; }
}
