/* ==========================================================================
   image-compressor - built from the supplied prototype

   The prototype's own stylesheet, every selector scoped to .tkw-compress so nothing
   here can reach the rest of the account. Its top bar is left out: the
   Toolkit supplies the page.
   ========================================================================== */

.tkw-compress{--navy:#0b2d5b;--navyd:#082346;--blue:#176ee7;--teal:#087f86;--teald:#05686e;--ink:#183556;--muted:#607894;--line:#dce6f0;--bg:#f3f8fc;--white:#fff;--soft:#f6faff;--bluebg:#e9f4ff;--green:#08775d;--greenbg:#eaf8f2;--amber:#9d6108;--amberbg:#fff7eb;--red:#b42b3b;--shadow:0 9px 28px rgba(20,48,84,.055)}
.tkw-compress *,.tkw-compress *::before,.tkw-compress *::after{box-sizing:border-box}
.tkw-compress{margin:0;background:radial-gradient(ellipse at 92% 4%,#eaf5ff 0,transparent 35%),var(--bg);color:var(--ink);font:15px/1.5 "Segoe UI",Inter,Arial,sans-serif}
.tkw-compress button,.tkw-compress input{font:inherit}
.tkw-compress button{cursor:pointer}
.tkw-compress button:disabled{cursor:not-allowed;opacity:.48}
.tkw-compress button:focus-visible,.tkw-compress a:focus-visible,.tkw-compress input:focus-visible,.tkw-compress summary:focus-visible{outline:3px solid #a2c8ff;outline-offset:3px}
.tkw-compress a{color:var(--blue);text-decoration:none}
.tkw-compress a:hover{text-decoration:underline}
.tkw-compress svg.icon{height:20px;width:20px;flex-shrink:0;stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round}
.tkw-compress .topbar{height:67px;background:#f8fbff;border-bottom:1px solid #e8eff6;padding:0 clamp(16px,2.5vw,38px);display:flex;align-items:center;justify-content:space-between}
.tkw-compress .topgroup,.tkw-compress .topright{display:flex;align-items:center;gap:15px}
.tkw-compress .menu{width:43px;height:43px;border:1px solid #dce6ef;border-radius:12px;display:grid;place-items:center;background:#fff;color:var(--navy)}
.tkw-compress .brand{font-size:15px;font-weight:800;color:var(--navy)}
.tkw-compress .brand small{font-weight:500;color:#8a99a9}
.tkw-compress .toplink{display:grid;place-items:center;width:35px;height:35px;color:var(--navy)}
.tkw-compress .account{border-left:1px solid #e0e9f2;padding-left:14px;display:flex;align-items:center;gap:9px;color:var(--navy);font-size:12px;font-weight:750}
.tkw-compress .account .avatar{height:33px;width:33px;border-radius:50%;display:grid;place-items:center;background:#dfe7ef;color:#8191a2}
.tkw-compress .account small{display:block;color:#7385a0;font-weight:500}
.tkw-compress .shell{max-width:1510px;margin:auto;padding:0 clamp(15px,2vw,34px) 54px}
.tkw-compress .breadcrumbs{font-size:13px;color:#7990ac;display:flex;align-items:center;gap:10px;margin:20px 0 23px;margin-top:0px;padding-top:20px;flex-wrap:wrap}
.tkw-compress .breadcrumbs a{font-weight:700}
.tkw-compress .breadcrumbs strong{color:var(--navy)}
.tkw-compress .intro{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}
.tkw-compress .intro-main{display:flex;align-items:center;gap:16px;min-width:0}
.tkw-compress .toolicon{height:63px;width:63px;flex:0 0 63px;border-radius:18px;background:#e0f0ff;display:grid;place-items:center;color:var(--blue)}
.tkw-compress .toolicon .icon{height:30px;width:30px}
.tkw-compress h1{font-size:clamp(27px,2.35vw,37px);letter-spacing:-1.2px;line-height:1.18;margin:0 0 4px;color:var(--navy)}
.tkw-compress .subtitle{color:var(--muted);margin:0;font-size:14px}
.tkw-compress .guide-btn{display:flex;gap:8px;align-items:center;border:1px solid #c5daf0;border-radius:11px;background:white;padding:11px 15px;font-weight:760;color:var(--navy);white-space:nowrap}
.tkw-compress .guide-btn:hover{background:var(--soft)}
.tkw-compress .privacy{display:inline-flex;align-items:center;gap:8px;padding:7px 13px;border-radius:999px;background:#e3f7f3;color:#006b65;font-size:12px;font-weight:740;margin:4px 0 22px}
.tkw-compress .privacy .icon{height:16px;width:16px}
.tkw-compress .layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(330px,.93fr);gap:20px;align-items:start}
.tkw-compress .card{background:white;border:1px solid var(--line);border-radius:19px;box-shadow:var(--shadow);min-width:0;overflow:hidden}
.tkw-compress .card-head{min-height:66px;border-bottom:1px solid #e7eef6;padding:17px 23px;display:flex;justify-content:space-between;gap:9px;align-items:center}
.tkw-compress .card-title{display:flex;align-items:center;gap:10px;color:var(--navy);font-weight:800;font-size:16px}
.tkw-compress .card-title .icon{color:var(--blue)}
.tkw-compress .status{background:#f1f6fc;color:#71839d;border:1px solid #dae7f2;font-size:11px;font-weight:760;border-radius:999px;padding:6px 10px;white-space:nowrap}
.tkw-compress .status.success{background:var(--greenbg);color:var(--green);border-color:#cdeee0}
.tkw-compress .stage{padding:24px;min-height:475px;display:flex;flex-direction:column;position:relative;background:radial-gradient(circle at 24% 10%,#f5fbff 0,#eef6fd 45%,#eaf2f9 100%)}
.tkw-compress .stage::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.33;background-image:radial-gradient(#b6d0e8 .8px,transparent .8px);background-size:17px 17px}
.tkw-compress .upload{position:relative;z-index:1;border:2px dashed #bdd8ed;border-radius:18px;background:rgba(255,255,255,.70);width:100%;flex:1;min-height:398px;display:flex;align-items:center;justify-content:center;padding:28px;text-align:center;transition:border-color .16s,background .16s;cursor:pointer}
.tkw-compress .upload.dragover,.tkw-compress .upload:hover{border-color:#268ce2;background:#f7fcff}
.tkw-compress .upload-content{pointer-events:none;max-width:390px}
.tkw-compress .upload-symbol{height:82px;width:82px;border-radius:25px;background:#eaf5ff;color:var(--blue);display:grid;place-items:center;margin:0 auto 17px}
.tkw-compress .upload-symbol .icon{height:37px;width:37px}
.tkw-compress .upload h2{font-size:23px;color:var(--navy);margin:0 0 8px;letter-spacing:-.5px}
.tkw-compress .upload p{color:var(--muted);margin:0 0 20px;font-size:14px}
.tkw-compress .choose{display:inline-flex;align-items:center;gap:9px;border-radius:11px;background:var(--navy);color:#fff;font-weight:750;padding:12px 21px}
.tkw-compress .upload .support{display:block;font-size:12px;color:#8295ad;margin-top:12px}
.tkw-compress .hidden{display:none!important}
.tkw-compress .image-workspace{position:relative;z-index:1;display:flex;flex-direction:column;flex:1;min-height:398px;gap:15px}
.tkw-compress .image-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.tkw-compress .view-tabs{display:flex;gap:4px;border:1px solid #dce9f4;border-radius:11px;background:#fff;padding:4px}
.tkw-compress .view-tabs button{border:0;border-radius:8px;padding:7px 14px;font-size:12px;font-weight:720;color:#657d9a;background:transparent}
.tkw-compress .view-tabs button.active{color:var(--navy);background:#e8f3ff}
.tkw-compress .change-image{display:flex;gap:5px;align-items:center;border:1px solid #d7e5f0;border-radius:10px;background:#fff;color:var(--navy);font-size:12px;font-weight:720;padding:8px 10px}
.tkw-compress .image-frame{border-radius:15px;border:1px solid #d3e3ef;flex:1;min-height:310px;background-color:#fff;background-image:linear-gradient(45deg,#edf1f5 25%,transparent 25%),linear-gradient(-45deg,#edf1f5 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#edf1f5 75%),linear-gradient(-45deg,transparent 75%,#edf1f5 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0;display:flex;justify-content:center;align-items:center;overflow:hidden;padding:12px}
.tkw-compress .image-frame img{display:block;max-height:390px;max-width:100%;width:auto;height:auto;object-fit:contain;box-shadow:0 7px 20px rgba(15,45,76,.15)}
.tkw-compress .picture-caption{color:#526e8d;font-size:12px;font-weight:650;display:flex;justify-content:center;align-items:center;gap:8px;text-align:center;flex-wrap:wrap}
.tkw-compress .picture-caption strong{color:var(--navy)}
.tkw-compress .preview-foot{padding:15px 23px;display:grid;grid-template-columns:1fr 1fr;gap:12px;border-top:1px solid #e6eef5}
.tkw-compress .stat{background:#f7faff;border:1px solid #e5eef6;border-radius:12px;padding:11px 13px}
.tkw-compress .stat-label{font-size:11px;color:#6e83a0;margin-bottom:4px}
.tkw-compress .stat-value{font-size:13px;font-weight:780;color:var(--navy)}
.tkw-compress .stat-meta{font-size:11px;color:#7087a1;margin-top:2px}
.tkw-compress .settings-pad{padding:22px}
.tkw-compress .settings-lead{font-size:13px;color:var(--muted);margin:4px 0 18px}
.tkw-compress .stephead{color:var(--navy);font-weight:800;font-size:15px;display:flex;align-items:center;gap:9px;margin-bottom:13px}
.tkw-compress .number{height:26px;width:26px;border-radius:50%;background:#e7f2ff;color:var(--blue);display:grid;place-items:center;font-weight:850;font-size:13px}
.tkw-compress .preset-title{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;font-weight:780;color:#496687;margin-bottom:10px}
.tkw-compress .preset-title span{color:#8a9bb1;font-size:11px;font-weight:500}
.tkw-compress .presets{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:17px}
.tkw-compress .preset{padding:10px 9px;text-align:left;border:1px solid #dce8f2;border-radius:11px;background:#fff;min-height:66px;color:var(--navy)}
.tkw-compress .preset strong{display:block;font-size:12px;font-weight:760;line-height:1.3}
.tkw-compress .preset span{display:block;color:#758ba6;font-size:11px;margin-top:4px}
.tkw-compress .preset:hover:not(:disabled){background:#f4faff;border-color:#9bc2ed}
.tkw-compress .preset:disabled{opacity:.72;cursor:not-allowed}
.tkw-compress .preset.selected{background:#eaf4ff;border-color:#2b85ef;box-shadow:inset 0 0 0 1px #2b85ef}
.tkw-compress .dimension-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tkw-compress .input-group label{display:block;color:var(--navy);font-weight:740;font-size:13px;margin-bottom:7px}
.tkw-compress .px-input{width:100%;border:1.5px solid #d6e3ef;border-radius:11px;padding:12px 13px;color:var(--navy);background:#fff;outline:0;min-width:0}
.tkw-compress .px-input:focus{border-color:#2d89eb;box-shadow:0 0 0 3px #e2f0ff}
.tkw-compress .px-input:disabled{background:#f6f8fa;color:#9baabb}
.tkw-compress .lockrow{margin-top:13px;display:flex;align-items:center;gap:9px;font-size:13px;color:#486785;font-weight:690;cursor:pointer}
.tkw-compress .lockrow input{accent-color:var(--teal);height:16px;width:16px}
.tkw-compress .hint{font-size:12px;line-height:1.55;color:#70849c;margin:9px 0 0;min-height:18px}
.tkw-compress .hint.notice{color:#956000}
.tkw-compress .warning{display:flex;align-items:start;gap:7px;margin-top:12px;padding:10px 12px;background:#fff7e9;border:1px solid #f0dfbc;border-radius:10px;font-size:12px;color:#8c630c}
.tkw-compress .warning .icon{height:16px;width:16px;margin-top:1px}
.tkw-compress .error{margin-top:11px;border:1px solid #f4bec5;background:#fff2f4;border-radius:10px;padding:10px 12px;color:var(--red);font-size:12px;font-weight:660}
.tkw-compress .button-area{display:grid;gap:10px;margin-top:20px}
.tkw-compress .primary{display:flex;align-items:center;justify-content:center;gap:9px;background:var(--teal);color:#fff;border:none;border-radius:12px;min-height:51px;font-weight:790;font-size:15px;width:100%}
.tkw-compress .primary:hover:not(:disabled){background:var(--teald)}
.tkw-compress .secondary{min-height:48px;background:var(--navy);border:none;border-radius:12px;color:#fff;font-weight:770;display:flex;align-items:center;justify-content:center;gap:8px;width:100%}
.tkw-compress .secondary:hover:not(:disabled){background:var(--navyd)}
.tkw-compress .plain{border:none;background:transparent;color:var(--blue);font-size:12px;font-weight:750;padding:8px 12px}
.tkw-compress .plain:hover{text-decoration:underline}
.tkw-compress .last-actions{display:flex;justify-content:center;gap:12px}
.tkw-compress .done-note{padding:11px;border:1px solid #cbe9dd;background:#ecfaf4;color:#11755d;font-size:12px;border-radius:11px;display:flex;align-items:flex-start;gap:7px}
.tkw-compress .done-note .icon{height:16px;width:16px;margin-top:1px}
.tkw-compress .footer-note{margin-top:20px;text-align:center;color:#8497aa;font-size:12px}
.tkw-compress .scrim{position:fixed;inset:0;background:rgba(7,32,56,.47);z-index:19;opacity:0;pointer-events:none;transition:opacity .2s}
.tkw-compress .scrim.visible{opacity:1;pointer-events:auto}
.tkw-compress .drawer{position:fixed;z-index:20;top:0;right:0;width:min(450px,100%);height:100dvh;background:#fff;box-shadow:-13px 0 40px rgba(0,29,56,.18);transform:translateX(100%);transition:transform .24s;display:flex;flex-direction:column}
.tkw-compress .drawer.open{transform:translateX(0)}
.tkw-compress .drawer-head{padding:20px 23px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e1eaf2}
.tkw-compress .drawer-head h2{margin:0;font-size:19px;color:var(--navy);display:flex;align-items:center;gap:9px}
.tkw-compress .close{border:1px solid var(--line);background:#fff;width:38px;height:38px;display:grid;place-items:center;border-radius:10px}
.tkw-compress .drawer-body{padding:23px;overflow-y:auto;display:grid;gap:16px}
.tkw-compress .guide-block{padding:16px;border-radius:14px;background:#eaf4ff;border:1px solid #d2e6fb}
.tkw-compress .guide-block.green{background:#eaf8f1;border-color:#ceeddf}
.tkw-compress .guide-block.amber{background:#fff5e6;border-color:#f2e0bf}
.tkw-compress .guide-block h3{margin:0 0 7px;font-size:14px;color:#155399;display:flex;gap:8px;align-items:center}
.tkw-compress .guide-block.green h3{color:#08765d}
.tkw-compress .guide-block.amber h3{color:#a36404}
.tkw-compress .guide-block p{font-size:13px;line-height:1.6;color:#4b6884;margin:0}
.tkw-compress .steps{margin:0;padding:0;list-style:none;display:grid;gap:14px}
.tkw-compress .steps li{display:flex;gap:12px;align-items:start;color:#4f6b87;font-size:13px}
.tkw-compress .steps .n{flex:0 0 25px;width:25px;height:25px;border-radius:50%;background:#258ed0;color:white;display:grid;place-items:center;font-weight:800;font-size:12px}
.tkw-compress .checks{list-style:none;padding:0;margin:0;display:grid;gap:7px;font-size:13px;color:#4b6884}
.tkw-compress .checks li::before{content:"✓";color:#d18b04;font-weight:900;margin-right:8px}
.tkw-compress .toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:var(--navy);color:white;border-radius:10px;padding:10px 17px;font-size:13px;font-weight:700;opacity:0;pointer-events:none;z-index:30;transition:all .2s}
.tkw-compress .toast.show{transform:translate(-50%,0);opacity:1}
@media(max-width:1040px){.tkw-compress .layout{grid-template-columns:minmax(0,1.3fr) minmax(320px,.95fr)}
.tkw-compress .stage{padding:17px}
.tkw-compress .settings-pad{padding:18px}
.tkw-compress .card-head{padding:15px 18px}}
@media(max-width:820px){.tkw-compress .layout{grid-template-columns:1fr}
.tkw-compress .stage{min-height:390px}
.tkw-compress .upload{min-height:335px}
.tkw-compress .image-frame{min-height:310px}
.tkw-compress .settings-pad{padding:22px}
.tkw-compress .presets{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.tkw-compress .topbar{height:60px;padding:0 14px}
.tkw-compress .brand small{display:none}
.tkw-compress .topgroup{gap:9px}
.tkw-compress .topright{gap:3px}
.tkw-compress .toplink{width:31px}
.tkw-compress .account{padding-left:6px}
.tkw-compress .account .labels{display:none}
.tkw-compress .shell{padding:0 12px 35px}
.tkw-compress .breadcrumbs{font-size:11px;gap:7px;margin:17px 0 19px; margin-top:0px;}
.tkw-compress .intro{margin-bottom:10px;align-items:flex-start}
.tkw-compress .intro-main{gap:10px;align-items:flex-start}
.tkw-compress .toolicon{height:49px;width:49px;flex-basis:49px;border-radius:14px}
.tkw-compress .toolicon .icon{height:23px;width:23px}
.tkw-compress h1{font-size:26px;letter-spacing:-.6px}
.tkw-compress .subtitle{font-size:12px}
.tkw-compress .guide-btn{padding:9px}
.tkw-compress .guide-btn span{display:none}
.tkw-compress .privacy{font-size:11px;padding:7px 9px;margin-bottom:15px}
.tkw-compress .card{border-radius:15px}
.tkw-compress .card-head{min-height:58px;padding:13px 14px}
.tkw-compress .card-title{font-size:14px}
.tkw-compress .status{font-size:10px;padding:5px 8px}
.tkw-compress .stage{padding:12px;min-height:370px}
.tkw-compress .upload{min-height:330px;padding:15px}
.tkw-compress .upload h2{font-size:20px}
.tkw-compress .upload-symbol{height:70px;width:70px}
.tkw-compress .image-workspace{min-height:345px}
.tkw-compress .image-frame{min-height:245px}
.tkw-compress .image-frame img{max-height:280px}
.tkw-compress .preview-foot{padding:11px;gap:8px}
.tkw-compress .stat{padding:9px}
.tkw-compress .stat-value{font-size:12px}
.tkw-compress .settings-pad{padding:16px}
.tkw-compress .presets{grid-template-columns:1fr 1fr}
.tkw-compress .preset{min-height:59px}
.tkw-compress .dimension-grid{gap:9px}
.tkw-compress .drawer-body,.tkw-compress .drawer-head{padding:17px}}
.tkw-compress .field-block{margin-bottom:15px}
.tkw-compress .save-field{margin:19px 0 6px}
.tkw-compress .settings-lead{margin-top:0;margin-bottom:18px}
.tkw-compress .px-input{min-height:49px}
.tkw-compress select.px-input{appearance:auto;cursor:pointer;max-width:100%;text-overflow:ellipsis;padding-right:10px}
.tkw-compress .input-group .px-input:disabled{cursor:not-allowed}
.tkw-compress .quick-presets{display:grid;gap:8px;padding:0;margin:10px 0 0;list-style:none}
.tkw-compress .quick-presets li{font-size:12px;color:#4e6987;display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #e1ebf4;padding-bottom:7px}
.tkw-compress .quick-presets li:last-child{border-bottom:none}
.tkw-compress .quick-presets b{color:#102e56;white-space:nowrap}
.tkw-compress .preview-foot .stat-value{overflow-wrap:anywhere}
@media(prefers-reduced-motion:reduce){.tkw-compress *,.tkw-compress *::before,.tkw-compress *::after{scroll-behavior:auto!important;transition:none!important}}
.tkw-compress .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.tkw-compress .field-block{margin-bottom:17px}
.tkw-compress .px-input{min-height:48px}
.tkw-compress select.px-input{appearance:auto;cursor:pointer}
.tkw-compress .settings-lead{margin-top:0;margin-bottom:20px}
.tkw-compress .input-group .field-detail{font-size:11px;color:#738aa3;margin:6px 0 0;line-height:1.4}
.tkw-compress .range-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--navy);font-weight:750;font-size:13px;margin-bottom:14px}
.tkw-compress .range-value{padding:5px 9px;background:#ecf6ff;border-radius:7px;color:#176ee7;font-weight:850;font-size:13px}
.tkw-compress input[type=range]{width:100%;height:23px;accent-color:var(--blue);cursor:pointer}
.tkw-compress .range-labels{display:flex;justify-content:space-between;color:#7b90a9;font-size:11px;margin-top:1px;gap:8px}
.tkw-compress .rule{border:none;border-top:1px solid #e9f0f7;margin:18px 0}
.tkw-compress .settings-note{font-size:12px;line-height:1.5;color:#627c97;margin:10px 0 0}
.tkw-compress .settings-note.highlight{background:#f3f9ff;border:1px solid #dfedfa;border-radius:10px;padding:9px 11px;color:#476889}
.tkw-compress .compare-frame{border-radius:15px;border:1px solid #d3e3ef;flex:1;min-height:340px;background-color:#fff;background-image:linear-gradient(45deg,#eef1f5 25%,transparent 25%),linear-gradient(-45deg,#eef1f5 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eef1f5 75%),linear-gradient(-45deg,transparent 75%,#eef1f5 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0;display:flex;justify-content:center;align-items:center;overflow:hidden;padding:16px}
.tkw-compress .comparison{position:relative;flex:none;overflow:hidden;box-shadow:0 8px 30px rgba(16,40,66,.18);max-width:100%;max-height:415px;background:#fff;touch-action:pan-y}
.tkw-compress .comparison img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:fill;max-width:none;max-height:none;box-shadow:none;pointer-events:none}
.tkw-compress .compressed-side{position:absolute;inset:0;clip-path:inset(0 0 0 50%)}
.tkw-compress .compare-line{position:absolute;top:0;bottom:0;left:50%;width:3px;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.14);transform:translateX(-50%);pointer-events:none}
.tkw-compress .compare-handle{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;color:var(--navy);width:41px;height:41px;border:3px solid #fff;border-radius:50%;box-shadow:0 2px 14px rgba(0,0,0,.28);display:grid;place-items:center;font-size:18px;font-weight:800;pointer-events:none;letter-spacing:-3px;padding-right:3px}
.tkw-compress .comparison.interactive{cursor:ew-resize;touch-action:none}
.tkw-compress .comparison.interactive:focus-visible{outline:3px solid #70b8ff;outline-offset:3px}
.tkw-compress .compare-badge{position:absolute;bottom:12px;padding:5px 8px;border-radius:7px;background:rgba(9,30,57,.78);color:#fff;font-size:11px;font-weight:750;pointer-events:none}
.tkw-compress .compare-badge.left{left:10px}
.tkw-compress .compare-badge.right{right:10px}
.tkw-compress .status-summary{display:flex;justify-content:center;text-align:center;align-items:center;gap:7px;color:#5a7694;font-size:12px;min-height:24px;margin-top:5px;line-height:1.5}
.tkw-compress .result-metric{background:#edf9f4;border:1px solid #d0eadf;color:#117252;border-radius:10px;padding:11px 13px;font-size:13px;display:flex;justify-content:space-between;gap:10px;margin:11px 0 0}
.tkw-compress .result-metric strong{font-size:14px}
.tkw-compress .warning-note{border-radius:10px;background:#fff7eb;border:1px solid #f1dbb2;color:#92600a;font-size:12px;padding:10px 12px;margin-top:11px;line-height:1.5}
.tkw-compress .success-note{border-radius:10px;background:#edf9f4;border:1px solid #cde8d7;color:#15714d;font-size:12px;padding:10px 12px;margin-top:11px;line-height:1.5}
.tkw-compress .input-error{color:#b42b3b;font-size:12px;font-weight:650;margin-top:9px}
.tkw-compress .options-help{font-size:11px;color:#778ca5;margin:7px 0 0;line-height:1.55}
.tkw-compress .button-area{margin-top:20px}
.tkw-compress .hidden{display:none!important}
.tkw-compress .stage{min-height:505px}
.tkw-compress .upload{min-height:430px}
.tkw-compress .image-workspace{min-height:440px}
.tkw-compress .preview-foot{grid-template-columns:1fr 1fr}
.tkw-compress .preview-foot .stat-value{overflow-wrap:anywhere}
.tkw-compress .quick-presets{display:grid;gap:7px;padding:0;margin:9px 0 0;list-style:none}
.tkw-compress .quick-presets li{font-size:12px;color:#4e6987;display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #e1ebf4;padding-bottom:7px}
.tkw-compress .quick-presets b{color:#102e56;white-space:nowrap}
@media(max-width:820px){.tkw-compress .stage{min-height:390px}
.tkw-compress .upload{min-height:335px}
.tkw-compress .image-workspace{min-height:335px}
.tkw-compress .compare-frame{min-height:275px}}
@media(max-width:560px){.tkw-compress .stage{min-height:370px}
.tkw-compress .image-workspace{min-height:300px}
.tkw-compress .compare-frame{min-height:230px;padding:8px}
.tkw-compress .form-grid{gap:9px}
.tkw-compress .form-grid .px-input{padding:10px 8px;font-size:13px}
.tkw-compress .settings-pad{padding:16px}
.tkw-compress .compare-badge{font-size:9px;bottom:6px}
.tkw-compress .compare-badge.left{left:5px}
.tkw-compress .compare-badge.right{right:5px}
.tkw-compress .compare-handle{width:35px;height:35px}}


  
