/* Toolinet Cropper: all editor styles stay within its application. */
.toolora-app.tcr{--tc-bg:var(--bg,#f7f8fb);--tc-surface:var(--surface,#fff);--tc-ink:var(--ink,#202c40);--tc-muted:var(--muted,#626e82);--tc-line:var(--line,#e5e9f0);--tc-action:var(--action,#c9323a);--tc-green:#236b49;--tc-tint:#eef7f1;--tc-soft:#fff2f0;padding:0;border:1px solid var(--tc-line);border-radius:24px;background:var(--tc-surface);color:var(--tc-ink);font:15px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:0 12px 36px #202c4008;overflow:clip;min-width:0;position:relative}:root[data-theme=dark] .tcr{--tc-green:#9bdab5;--tc-tint:#233d33;--tc-soft:#392830}
.tcr *{box-sizing:border-box}.tcr [hidden]{display:none!important}.tcr h2,.tcr h3,.tcr p{margin:0;overflow-wrap:anywhere}.tcr svg{width:20px;height:20px;flex:0 0 auto}.tcr button,.tcr a,.tcr input,.tcr select,.tcr summary{font:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.tcr button:focus-visible,.tcr a:focus-visible,.tcr input:focus-visible,.tcr select:focus-visible,.tcr summary:focus-visible,.tcr [tabindex]:focus-visible{outline:3px solid #4285f4;outline-offset:3px}.tcr button:disabled,.tcr fieldset:disabled{opacity:.5;cursor:default}.tcr-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.tcr .tcr-form{padding:0;margin:0;display:block}.tcr-trust{display:flex;align-items:center;gap:9px;padding:15px 24px;border-bottom:1px solid var(--tc-line);font-size:12px;background:var(--tc-tint);color:var(--tc-green)}.tcr-trust svg{width:16px;height:16px}.tcr-trust>span{margin-inline-start:auto}
.tcr-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px}.tcr-workspace{min-width:0;padding:24px;display:flex;flex-direction:column}.tcr-drop{flex:1;min-height:470px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px 18px;border:2px dashed var(--tc-line);border-radius:18px;background:radial-gradient(ellipse at top,var(--tc-soft),transparent 75%);transition:background .2s,border-color .2s}.tcr.is-dragging .tcr-workspace{background:var(--tc-soft);outline:2px dashed var(--tc-action);outline-offset:-8px}.tcr.is-dragging .tcr-drop{border-color:var(--tc-action)}.tcr-art{width:76px;height:76px;border-radius:23px;display:grid;place-items:center;background:var(--tc-surface);box-shadow:0 8px 24px #202c4010;color:var(--tc-action);margin-bottom:24px;transform:rotate(-5deg)}.tcr-art>svg{width:38px;height:38px}.tcr-drop h2{font-size:24px;line-height:1.25;letter-spacing:-.6px;margin-bottom:10px;max-width:340px}.tcr-drop>p{max-width:340px;font-size:13px;color:var(--tc-muted);margin-bottom:22px}.tcr-drop>small{font-size:11px;color:var(--tc-muted);margin-top:18px;max-width:310px}.tcr .tcr-file-input{position:absolute;width:1px;height:1px;min-width:1px;min-height:1px;clip-path:inset(50%);opacity:0;overflow:hidden;padding:0;border:0}
.tcr .tcr-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;min-width:44px;padding:11px 17px;border:1px solid var(--tc-line);background:var(--tc-surface);color:var(--tc-ink);border-radius:11px;line-height:1.3;font-size:13px;font-weight:650;text-decoration:none;cursor:pointer;text-align:center;overflow-wrap:anywhere;transition:background .2s,transform .15s}.tcr .tcr-primary{background:var(--tc-action);border-color:var(--tc-action);color:#fff}.tcr .tcr-drop>.tcr-primary{font-size:15px;min-width:190px;padding:15px 24px;box-shadow:0 6px 16px #c9323a18}.tcr .tcr-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;min-width:44px;padding:8px;background:transparent;border:0;color:var(--tc-muted);font-size:12px;font-weight:650;line-height:1.4;border-radius:9px;cursor:pointer}.tcr .tcr-link svg{width:15px;height:15px}.tcr .tcr-small{min-height:44px;padding:8px 11px;font-size:12px}.tcr .tcr-icon-btn{width:44px;height:44px;min-height:44px;min-width:44px;padding:0;display:inline-grid;place-items:center;background:transparent;color:var(--tc-muted);border:1px solid transparent;border-radius:9px;cursor:pointer;text-decoration:none}.tcr .tcr-icon-btn svg{width:18px;height:18px}.tcr .tcr-icon-btn[aria-pressed=true]{background:var(--tc-soft);color:var(--tc-action);border-color:var(--tc-line)}
.tcr-settings{background:var(--tc-bg);border-inline-start:1px solid var(--tc-line);padding:25px 22px;min-width:0}.tcr-settings>h2{display:flex;align-items:center;gap:9px;font-size:15px;letter-spacing:-.2px;margin-bottom:21px}.tcr-settings>h2 svg{width:18px;height:18px}.tcr-options{margin:0;padding:0;border:0;min-width:0}.toolora-app.tcr label.tcr-field{display:block;font-size:12px;font-weight:650;margin:0 0 18px;min-width:0}.tcr-field>span{display:block;margin-bottom:8px}.tcr-field small{display:block;color:var(--tc-muted);font-weight:400;font-size:11px;line-height:1.6;margin-top:7px}.tcr .tcr-field input,.tcr .tcr-field select{width:100%;min-height:46px;padding:10px 11px;border:1px solid var(--tc-line);border-radius:10px;background:var(--tc-surface);color:var(--tc-ink);font-size:16px;line-height:1.5;box-shadow:none}.tcr .tcr-field select{padding-inline-end:27px;cursor:pointer}.tcr .tcr-field input[type=range]{height:44px;min-height:44px;border:0;border-radius:0;background:transparent;padding:0;accent-color:var(--tc-action);cursor:pointer;display:block}.tcr-field output{font-weight:750;color:var(--tc-action);font-size:12px}.tcr .tcr-field input[type=color]{height:46px;width:100%;padding:5px;cursor:pointer}.tcr-two-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px}.tcr-coordinates .tcr-field{margin-bottom:13px!important}.tcr-options h3{font-size:12px;font-weight:700;margin:18px 0 12px}.tcr-coord-hint,.tcr-circle-hint,.tcr-apply-hint{font-size:11px;color:var(--tc-muted);line-height:1.6;margin:0 0 16px!important}.tcr-circle-hint{padding:10px 12px;background:var(--tc-tint);color:var(--tc-green);border-radius:9px}.tcr-center-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:15px 0}.toolora-app.tcr label.tcr-check{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:650;min-height:44px;margin:0 0 14px;cursor:pointer}.tcr .tcr-check input{appearance:auto;width:20px;height:20px;min-height:20px;min-width:20px;flex-shrink:0;padding:0;margin:0;accent-color:var(--tc-action)}.tcr-advanced{border-top:1px solid var(--tc-line);padding-top:3px}.tcr-advanced>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;min-height:48px;font-size:12px;font-weight:650;cursor:pointer}.tcr-advanced>summary::-webkit-details-marker{display:none}.tcr-advanced>summary>span{font-size:20px;font-weight:400}.tcr-advanced[open]>summary>span{transform:rotate(45deg)}.tcr-advanced>div{padding-top:11px}.tcr .tcr-apply{width:100%;margin:3px 0 9px}
.tcr-editor{min-width:0}.tcr-preview-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.tcr-preview-head>div:first-child{min-width:0}.tcr-preview-head h2{font-size:15px;font-weight:750}.tcr-preview-head p{font-size:11px;color:var(--tc-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px;margin-top:4px}.tcr-view-switch{display:flex;gap:3px;background:var(--tc-bg);border:1px solid var(--tc-line);padding:3px;border-radius:9px;flex-shrink:0}.tcr .tcr-view-switch button{min-height:44px;min-width:44px;padding:5px 9px;font-size:10px;font-weight:650;line-height:1.3;border:0;border-radius:6px;background:transparent;color:var(--tc-muted)}.tcr .tcr-view-switch button[aria-pressed=true]{background:var(--tc-surface);color:var(--tc-ink);box-shadow:0 2px 7px #202c4009}
.tcr-viewport,.tcr-result{height:420px;border:1px solid var(--tc-line);border-radius:14px;position:relative;overflow:hidden;min-width:0}.tcr-viewport{background:#192331;touch-action:none;user-select:none;-webkit-user-select:none;isolation:isolate;direction:ltr;cursor:crosshair}.tcr-viewport[data-mode=pan]{cursor:grab}.tcr-plane{position:absolute;touch-action:none;user-select:none}.toolora-app.tcr canvas.tcr-source{display:block;position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;border-radius:0;pointer-events:none;margin:0;padding:0}.tcr-selection{position:absolute;border:2px solid #fff;box-shadow:0 0 0 9999px #070d168c;cursor:move;touch-action:none;min-width:0;min-height:0}.tcr-viewport[data-mode=draw] .tcr-selection{cursor:crosshair}.tcr-viewport[data-mode=pan] .tcr-selection{cursor:grab}.tcr-grid{position:absolute;inset:0;pointer-events:none;background:linear-gradient(to right,transparent 33%,#ffffff7a 33%,#ffffff7a calc(33% + 1px),transparent calc(33% + 1px),transparent 66%,#ffffff7a 66%,#ffffff7a calc(66% + 1px),transparent calc(66% + 1px)),linear-gradient(to bottom,transparent 33%,#ffffff7a 33%,#ffffff7a calc(33% + 1px),transparent calc(33% + 1px),transparent 66%,#ffffff7a 66%,#ffffff7a calc(66% + 1px),transparent calc(66% + 1px))}.tcr-circle{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse closest-side,transparent 99%,#070d168c 100%);outline:1px solid #fff;border-radius:50%}.tcr .tcr-handle{position:absolute;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:0;background:transparent;touch-action:none;z-index:2;box-shadow:none}.tcr-handle>span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:12px;height:12px;border:2px solid #fff;background:#1d2a3e;box-shadow:0 1px 4px #0005;border-radius:3px;pointer-events:none}.tcr-handle-nw{left:0;top:0;transform:translate(-50%,-50%);cursor:nwse-resize}.tcr-handle-ne{right:0;top:0;transform:translate(50%,-50%);cursor:nesw-resize}.tcr-handle-se{right:0;bottom:0;transform:translate(50%,50%);cursor:nwse-resize}.tcr-handle-sw{left:0;bottom:0;transform:translate(-50%,50%);cursor:nesw-resize}.tcr-handle-n{left:50%;top:0;transform:translate(-50%,-50%);cursor:ns-resize}.tcr-handle-s{left:50%;bottom:0;transform:translate(-50%,50%);cursor:ns-resize}.tcr-handle-e{right:0;top:50%;transform:translate(50%,-50%);cursor:ew-resize}.tcr-handle-w{left:0;top:50%;transform:translate(-50%,-50%);cursor:ew-resize}.tcr-selection[data-compact=true] .tcr-handle:not(.tcr-handle-se){display:none}.tcr-crop-badge{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);font-size:10px;line-height:1.5;padding:3px 7px;border-radius:5px;background:#152135d9;color:#fff;white-space:nowrap;pointer-events:none}.tcr-selection[data-compact=true] .tcr-crop-badge{display:none}.tcr-result{display:flex;align-items:center;justify-content:center;padding:24px;background:repeating-conic-gradient(var(--tc-line) 0% 25%,var(--tc-surface) 0% 50%) 50%/18px 18px}.tcr-result canvas{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}
.tcr-editor-tools{display:flex;align-items:center;gap:3px;flex-wrap:wrap;border-bottom:1px solid var(--tc-line);padding-block:8px}.tcr-editor-tools>.tcr-link{margin-inline-start:auto;font-size:10px}.tcr-zoom{display:flex;align-items:center;gap:3px;padding-block:5px}.tcr-zoom>label{min-width:44px;flex:1;padding-inline:5px}.tcr .tcr-zoom input{width:100%;height:44px;min-height:44px;padding:0;border:0;background:transparent;accent-color:var(--tc-action);font-size:16px}.tcr-zoom output{font-size:11px;min-width:36px;text-align:center;font-weight:700}.tcr-zoom-hint,.tcr-preview-hint{color:var(--tc-muted);font-size:10px}.tcr-editor-help{font-size:11px;line-height:1.6;color:var(--tc-muted);padding:11px 0 7px}.tcr-editor-help small{display:block;font-size:10px;margin-top:5px}.tcr-preview-hint{margin-top:5px!important}.tcr-dimensions{display:flex;align-items:center;justify-content:center;gap:20px;padding-block:18px}.tcr-dimensions span{display:block;font-size:10px;color:var(--tc-muted)}.tcr-dimensions strong{font-size:17px;letter-spacing:-.3px;line-height:1.6;direction:ltr;display:block}.tcr-dimensions>svg{color:var(--tc-muted)}.tcr-dimensions>div:last-child strong{color:var(--tc-green)}
.tcr-queue-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;border-top:1px solid var(--tc-line);padding-top:16px;margin-bottom:13px}.tcr-queue-head h2{display:flex;align-items:center;gap:8px;font-size:14px}.tcr-count{font-size:10px;line-height:1.5;padding:1px 6px;color:var(--tc-muted);border:1px solid var(--tc-line);background:var(--tc-bg);border-radius:5px}.tcr-queue-head>div{display:flex;gap:4px}.tcr .tcr-files{display:grid;gap:9px;margin:0;padding:0}.tcr-file{display:flex;align-items:center;min-width:0;border:1px solid var(--tc-line);background:var(--tc-surface);border-radius:11px;overflow:hidden;transition:background .2s}.tcr-file.is-selected{border-color:var(--tc-green);background:var(--tc-tint)}.tcr .tcr-choose{display:flex;align-items:center;gap:10px;min-height:72px;min-width:0;flex:1;text-align:start;padding:9px 11px;background:transparent;border:0;border-radius:0;color:var(--tc-ink)}.tcr-choose>img{width:42px;height:42px;flex-shrink:0;object-fit:cover;border-radius:7px}.tcr-choose>span{min-width:0;flex:1}.tcr-choose strong{display:block;font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.5}.tcr-choose small{display:block;font-size:10px;color:var(--tc-muted);line-height:1.55;overflow-wrap:anywhere}.tcr .tcr-file-actions{display:flex;gap:0;padding-inline-end:5px;flex-shrink:0}.tcr .tcr-file-status.is-error{color:var(--tc-action)}.tcr .tcr-download{color:var(--tc-green);background:transparent;margin:0;border:0;padding:0;line-height:1}.tcr .tcr-notice{padding:12px 14px;border:1px solid var(--tc-line);border-radius:10px;background:var(--tc-bg);color:var(--tc-muted);font-size:12px;margin-top:17px}.tcr .tcr-errors{padding:12px 15px 12px 28px;border:1px solid var(--tc-line);border-radius:10px;background:var(--tc-soft);color:var(--tc-action);font-size:12px;margin:15px 0 0;overflow-wrap:anywhere}
.tcr-actionbar{padding:18px 24px;border-top:1px solid var(--tc-line);display:flex;align-items:center;justify-content:space-between;gap:15px;background:var(--tc-surface)}.tcr-actionbar>span{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--tc-muted)}.tcr-actionbar>span svg{width:14px;height:14px}.tcr-actionbar>div{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.tcr .tcr-zip{background:var(--tc-ink);color:var(--tc-surface);border-color:var(--tc-ink)}.tcr-metadata{font-size:10px;color:var(--tc-muted);background:var(--tc-bg);padding:12px 24px;border-top:1px solid var(--tc-line)}
@media(max-width:1100px){.tcr-layout{grid-template-columns:minmax(0,1fr) 290px}.tcr-workspace{padding:20px}.tcr-settings{padding:24px 18px}.tcr-preview-head{flex-wrap:wrap}.tcr-viewport,.tcr-result{height:380px}.tcr-editor-tools{gap:1px}.tcr-editor-tools>.tcr-link{width:100%;margin-inline-start:0;justify-content:flex-start}}
@media(max-width:800px){.tcr-layout{grid-template-columns:1fr}.tcr-settings{border-inline-start:0;border-top:1px solid var(--tc-line);padding:24px}.tcr-drop{min-height:330px}.tcr-preview-head{flex-wrap:nowrap}.tcr-viewport,.tcr-result{height:400px}.tcr-editor-tools>.tcr-link{width:auto;margin-inline-start:auto}.tcr-actionbar{flex-direction:column;gap:12px}.tcr-actionbar>div{display:grid;grid-template-columns:1fr 1fr;width:100%}.tcr-actionbar>span{order:0}}
@media(max-width:540px){.toolora-app.tcr{border-radius:18px}.tcr-workspace,.tcr-settings{padding:18px 14px}.tcr-trust{padding:12px 14px;flex-wrap:wrap;gap:5px 7px}.tcr-trust strong{font-size:11px}.tcr-trust>span{font-size:10px}.tcr-drop{min-height:310px;padding:25px 14px}.tcr-drop h2{font-size:22px}.tcr-drop>p{font-size:12px}.tcr-drop>small{font-size:10px}.tcr-preview-head{flex-wrap:wrap;gap:10px}.tcr-preview-head>div:first-child{width:100%}.tcr-preview-head p{max-width:290px}.tcr-viewport,.tcr-result{height:310px}.tcr-editor-tools{gap:0}.tcr-editor-tools>.tcr-link{width:100%;margin-inline-start:0;justify-content:flex-start;font-size:10px;padding-inline:5px}.tcr-editor-help{font-size:10px}.tcr-zoom>label{padding-inline:0}.tcr .tcr-zoom .tcr-icon-btn{width:44px}.tcr-dimensions{gap:15px}.tcr-dimensions strong{font-size:14px}.tcr-queue-head{gap:8px}.tcr-queue-head>div{gap:0}.tcr .tcr-queue-head .tcr-link{font-size:11px}.tcr .tcr-choose{min-height:62px;padding:7px;gap:8px}.tcr-choose>img{width:34px;height:34px}.tcr-choose strong{font-size:11px}.tcr-choose small{font-size:9px}.tcr-actionbar{padding:16px 14px}.tcr-actionbar>div{gap:8px}.tcr .tcr-actionbar .tcr-btn{padding:10px 9px;font-size:12px}.tcr-metadata{padding:12px 14px}}
@media(max-width:350px){.tcr-trust>span{width:100%;margin-inline-start:23px}.tcr-drop h2{font-size:20px}.tcr-actionbar>div{grid-template-columns:1fr}.tcr-queue-head>div{width:100%;justify-content:space-between}.tcr-file-actions{flex-direction:column}.tcr-dimensions{gap:9px}.tcr-dimensions strong{font-size:12px}.tcr-viewport,.tcr-result{height:280px}.tcr-zoom{gap:0}.tcr-zoom output{min-width:30px;font-size:10px}.tcr-preview-head p{max-width:235px}}
@media(prefers-reduced-motion:reduce){.tcr *{transition:none!important;animation:none!important}}
