.image-selection-overlay{position:fixed;pointer-events:none;z-index:40;overflow:visible}.image-selection-overlay polygon{fill:#4786e84d}.image-selection-hitareas polygon{fill:transparent;pointer-events:all;touch-action:none;cursor:text}.has-image-selection canvas,.has-image-selection .image-text-line{user-select:none;-webkit-user-select:none}.copy-sight-selection-card{position:fixed;top:16px;right:16px;display:none;width:min(220px,calc(100vw - 16px));box-sizing:border-box;padding:4px;border:1px solid rgba(55,53,46,.12);border-radius:9px;background:#f5f4f1;box-shadow:0 2px 10px #23211914;color:var(--cs-label);font:13px/1.5 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased;pointer-events:auto;overscroll-behavior:contain;outline:none;transform-origin:bottom right;animation:copy-sight-card-enter .14s ease-out;transition:box-shadow .16s ease}.copy-sight-selection-card[data-expanded=true]{width:min(320px,calc(100vw - 16px));padding:4px;border-radius:11px;box-shadow:0 6px 20px #2321191a,0 1px 3px #2321190a}.copy-sight-selection-card[data-closing=true]{pointer-events:none}.copy-sight-selection-card [hidden]{display:none!important}.copy-sight-selection-card__preview{display:block;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#454549}.copy-sight-selection-card[data-expanded=true] .copy-sight-selection-card__preview{display:none}.copy-sight-selection-card[data-expanded=true] .copy-sight-selection-card__toolbar{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.copy-sight-selection-card[data-dragging=true]{transition:none}.copy-sight-selection-card[data-dragging=true] .copy-sight-selection-card__toolbar{cursor:grabbing}.copy-sight-selection-card__language{-moz-appearance:none;appearance:none;-webkit-appearance:none;field-sizing:content;min-width:0;max-width:100%;min-height:24px;padding:2px 20px 2px 6px;border:0;border-radius:3px;background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8' fill='none'%3E%3Cpath d='m1.5 2.75 2.5 2.5 2.5-2.5' stroke='%237a7a80' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 6px center;color:#7a7a80;font:inherit;font-size:11px;cursor:pointer}.copy-sight-selection-card__editor{display:block;box-sizing:border-box;width:calc(100% - 16px);min-height:22px;margin:10px 8px 6px;padding:0;border:0;border-radius:0;background:transparent;color:#28282d;caret-color:var(--cs-accent);font:inherit;line-height:20px;resize:none;outline:none;overflow-wrap:anywhere;scrollbar-width:thin}.copy-sight-selection-card__editor::selection{background:#cce2ff}.copy-sight-selection-card__actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 8px 4px;padding-top:7px;border-top:1px solid rgba(55,53,46,.08)}.copy-sight-selection-card__toolbar{display:flex;align-items:center;gap:3px;min-height:26px;white-space:nowrap}.copy-sight-selection-card__toolbar>button{flex-shrink:0}.copy-sight-selection-card__toolbar>button{display:grid;place-items:center;box-sizing:border-box;width:28px;min-width:28px;height:28px;min-height:28px;margin:0;padding:0}.copy-sight-selection-card__toolbar svg{display:block;pointer-events:none}.copy-sight-selection-card__icon{display:grid;place-items:center;grid-area:1 / 1}.copy-sight-selection-card__copy .copy-sight-selection-card__icon{transition:opacity .18s ease,transform .22s cubic-bezier(.2,.8,.2,1)}.copy-sight-selection-card__copy .copy-sight-selection-card__icon--success,.copy-sight-selection-card__copy[data-state=success] .copy-sight-selection-card__icon{opacity:0;transform:scale(.65)}.copy-sight-selection-card__copy[data-state=success] .copy-sight-selection-card__icon--success{opacity:1;transform:scale(1)}.copy-sight-selection-card__copy-translation,.copy-sight-selection-card__edit{min-height:26px;padding:3px 8px;border:0;border-radius:5px;background:transparent;color:#67676e;font:inherit;font-size:12px;cursor:pointer}.copy-sight-selection-card__edit:hover{background:#eae9e5;color:#28282d}.copy-sight-selection-card__language-row{display:flex;flex:0 1 auto;min-width:0;width:max-content;max-width:min(144px,48%);margin-left:auto;margin-right:8px}.copy-sight-selection-card__language-row select{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.copy-sight-selection-card__language:hover{background-color:#eae9e5;color:#303035}.copy-sight-selection-card__label{display:block;margin-bottom:5px;color:#7a7973;font-size:11px}.copy-sight-selection-card__translation{margin:12px 8px 0}.copy-sight-selection-card__output{max-height:min(200px,30vh);overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;color:#28282d;user-select:text;-webkit-user-select:text;scrollbar-width:thin}.copy-sight-selection-card__copy-translation{margin-left:auto;background:#e8f0fa;color:#0872da}.copy-sight-selection-card__copy-translation:hover{background:#dce9f8}.copy-sight-selection-card__skeleton{height:46px;border-radius:4px;background:linear-gradient(90deg,#e7e6e2 25%,#efeeeb,#e7e6e2 75%);background-size:200% 100%;animation:copy-sight-skeleton 1.4s ease-in-out infinite}.copy-sight-selection-card[data-expanded=false] .copy-sight-selection-card__label,.copy-sight-selection-card[data-expanded=false] .copy-sight-selection-card__translation{display:none}@keyframes copy-sight-skeleton{to{background-position:-200% 0}}.copy-sight-selection-card__translate,.copy-sight-selection-card__edit,.copy-sight-selection-card__copy{min-width:0;min-height:26px;padding:3px 8px;border:0;border-radius:5px;font:inherit;font-size:12px;line-height:20px;white-space:nowrap;cursor:pointer}.copy-sight-selection-card__translate{background:#e8f0fa;color:#0872da}.copy-sight-selection-card__translate:hover{background:#dce9f8}.copy-sight-selection-card__copy,.copy-sight-selection-card__edit{background:transparent;color:#67676e}.copy-sight-selection-card__copy:hover{background:#eae9e5;color:#28282d}.copy-sight-selection-card__copy[data-state=success]{color:#24804b}.copy-sight-selection-card__copy[data-state=error]{color:#b54736}.copy-sight-selection-card button:disabled{opacity:.55;cursor:default}.copy-sight-selection-card:focus-visible,.copy-sight-selection-card button:focus-visible,.copy-sight-selection-card select:focus-visible{outline:2px solid rgba(0,122,255,.35);outline-offset:2px}.copy-sight-selection-card__notice-title,.copy-sight-selection-card__notice{display:block;margin:6px 0 0;color:#9a5a26;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.copy-sight-selection-card__feedback{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}.copy-sight-selection-card[data-expanded=false] .copy-sight-selection-card__editor,.copy-sight-selection-card[data-expanded=false] .copy-sight-selection-card__actions,.copy-sight-selection-card[data-expanded=false] .copy-sight-selection-card__notice-title,.copy-sight-selection-card[data-expanded=false] .copy-sight-selection-card__notice{display:none}.copy-sight-selection-card[data-expanded=true] .copy-sight-selection-card__editor,.copy-sight-selection-card[data-expanded=true] .copy-sight-selection-card__translation,.copy-sight-selection-card[data-expanded=true] .copy-sight-selection-card__actions{animation:copy-sight-card-content .3s ease-out}@keyframes copy-sight-card-enter{0%{opacity:0;transform:scale(.98)}to{opacity:1;transform:scale(1)}}@keyframes copy-sight-card-content{0%{opacity:0;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.copy-sight-selection-card{animation:none;transition:none}.copy-sight-selection-card__copy .copy-sight-selection-card__icon{transition:none}.copy-sight-selection-card__translation,.copy-sight-selection-card__editor,.copy-sight-selection-card__actions,.copy-sight-selection-card__skeleton,.copy-sight-selection-card[data-translating=true] .copy-sight-selection-card__translate:before{animation:none!important}}.copy-sight-action-button[data-active=true]{color:#1c5fae;background:#edf3fb}.copy-sight-action-button{position:relative;display:inline-grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:6px;background:transparent;color:#59616d;cursor:pointer;font:12px/1.4 system-ui,sans-serif}.copy-sight-action-button svg{display:block;pointer-events:none}.copy-sight-action-button:hover{color:#1c5fae;background:#edf3fb}.copy-sight-action-button:focus-visible{outline:2px solid #81a8e0;outline-offset:1px}.copy-sight-action-button:disabled{opacity:.4;cursor:default}.copy-sight-action-button[data-state=success]{color:#2a8050}.copy-sight-action-button[data-loading=true]:before{content:"";position:absolute;top:4px;right:4px;bottom:4px;left:4px;border:1.5px solid #d9e5f5;border-top-color:#5c89c6;border-radius:50%;animation:copy-sight-recognition-spin .8s linear infinite}.copy-sight-action-button[data-loading=true] svg{opacity:.3}.copy-sight-action-tooltip{position:fixed;inset:auto;z-index:2147483647;box-sizing:border-box;width:max-content;max-width:min(240px,calc(100vw - 16px));margin:0;padding:5px 8px;border:0;border-radius:5px;background:#303640;color:#fff;font:11px/1.5 system-ui,sans-serif;white-space:normal;overflow-wrap:anywhere;pointer-events:none}.image-selection-toolbar{--cs-label:#1d1d1f;--cs-accent:#007aff;display:block;z-index:10000;inset:auto;margin:0;text-align:start}.image-selection-toolbar[hidden],.image-selection-toolbar [hidden],.image-selection-tooltip[hidden]{display:none!important}.image-selection-toolbar *{box-sizing:border-box}.image-selection-toolbar .copy-sight-selection-card__toolbar>button{box-shadow:none}.image-selection-toolbar .copy-sight-selection-card__output{display:block;width:100%;min-height:0;margin:0;padding:0;border:0;border-radius:0;resize:none;background:transparent;font:inherit;line-height:inherit;outline:none;box-shadow:none}.image-selection-toolbar .copy-sight-selection-card__language-row{margin-inline:auto 8px}.image-selection-toolbar[dir=rtl] .copy-sight-selection-card__language{background-position:left 6px center;padding-inline:6px 20px}.image-selection-toolbar .copy-sight-selection-card__notice{margin:6px 8px}.image-selection-toolbar .image-selection-sign-in{display:block;margin:6px 8px 4px auto;padding:3px 8px;border:0;border-radius:5px;background:#e8f0fa;color:#0872da;font:inherit;font-size:12px;cursor:pointer}.copy-sight-selection-card__toolbar{position:relative}.copy-sight-selection-card__copy[data-state=error]{color:#697482}@keyframes copy-sight-recognition-spin{to{transform:rotate(360deg)}}
