/* Pack of Tools image compressor UI */
body.single-tool-premium .tool-work-area{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}
body.single-tool-premium .tool-page-heading h1{
  font-family:"Inter","Urbanist",system-ui,sans-serif;
  font-size:clamp(30px,3.2vw,46px);
  letter-spacing:-1.4px;
  line-height:1.03;
  font-weight:850;
  color:#0b1220;
}
body.single-tool-premium .tool-page-heading p{
  max-width:760px;
  color:#313a49;
  font-weight:800;
  letter-spacing:.01em;
}
.pot-imgc{
  --bg:transparent;
  --dark:#0f172a;
  --dark2:#111c33;
  --card:#ffffff;
  --soft:#f7fafc;
  --line:#dbe3ea;
  --text:#172033;
  --muted:#64748b;
  --main:#0b1220;
  --main2:#1d2b49;
  --danger:#ef4444;
  --shadow:0 18px 45px rgba(15,23,42,.12);
  width:100%;
  min-height:420px;
  font-family:"Urbanist","Inter",system-ui,sans-serif;
  color:var(--text);
  background:var(--bg);
}
.pot-imgc *{box-sizing:border-box}.pot-imgc button,.pot-imgc input,.pot-imgc select{font:inherit}.pot-imgc button{cursor:pointer}.pot-imgc .pic-screen{display:none}.pot-imgc .pic-screen.active{display:block}.pot-imgc .pic-center{width:min(980px,92%);margin:0 auto;text-align:center;padding:18px 0 30px}.pot-imgc .compact-start{display:grid;place-items:center;min-height:420px}.pot-imgc .pic-icon{width:20px;height:20px;display:block}.pot-imgc .pic-icon-lg{width:42px;height:42px;display:block;color:var(--main2);margin:auto}.pot-imgc .danger{color:var(--danger)}
.pot-imgc .upload-card{width:min(660px,100%);margin:0 auto;background:rgba(255,255,255,.54);border:1px solid rgba(219,227,234,.82);border-radius:28px;padding:28px;box-shadow:0 18px 45px rgba(15,23,42,.08);backdrop-filter:blur(12px)}.pot-imgc .select-group{display:flex;justify-content:center;margin-bottom:16px}.pot-imgc .select-wrap{position:relative}.pot-imgc .select-main{min-width:278px;height:64px;border:0;border-radius:18px;background:linear-gradient(135deg,var(--dark),var(--dark2));color:#fff;font-size:18px;font-weight:950;display:inline-flex;align-items:center;justify-content:center;gap:12px;box-shadow:0 16px 32px rgba(15,23,42,.22);transition:.2s ease}.pot-imgc .select-main:hover{transform:translateY(-2px)}.pot-imgc .source-menu{position:absolute;left:0;top:calc(100% + 10px);width:280px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:8px;box-shadow:var(--shadow);opacity:0;visibility:hidden;transform:translateY(8px);transition:.2s ease;z-index:50}.pot-imgc .select-wrap:hover .source-menu,.pot-imgc .select-wrap:focus-within .source-menu{opacity:1;visibility:visible;transform:translateY(0)}.pot-imgc .source-item{width:100%;border:0;background:transparent;border-radius:13px;padding:12px;display:flex;align-items:center;gap:12px;text-align:left;color:var(--text)}.pot-imgc .source-item:hover{background:#f0f9ff}.pot-imgc .source-icon{width:38px;height:38px;border-radius:13px;background:#f8fafc;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;flex-shrink:0}.pot-imgc .source-item strong{display:block;font-size:14px;font-weight:950}.pot-imgc .source-item small{display:block;color:var(--muted);font-size:12px;font-weight:800;margin-top:2px}.pot-imgc .drop-zone{min-height:230px;border:2px dashed #b7c6d6;border-radius:24px;background:linear-gradient(135deg,rgba(248,250,252,.84),rgba(238,247,255,.84));display:flex;align-items:center;justify-content:center;transition:.2s ease;padding:24px}.pot-imgc .drop-zone:hover,.pot-imgc .drop-zone.drag{border-color:var(--main2);background:#ecfeff}.pot-imgc .upload-empty h3{font-size:28px;font-weight:950;color:var(--dark);margin:14px 0 8px}.pot-imgc .upload-empty p{color:var(--muted);font-size:15px;font-weight:700;margin:0}.pot-imgc input[type=file]{display:none}
.pot-imgc .step-two-wrap{width:min(1260px,96%);margin:0 auto;padding:6px 0 42px}.pot-imgc .step-two-head{display:flex;justify-content:flex-end;align-items:center;margin-bottom:10px}.pot-imgc .quick-upload-row{display:flex;align-items:center;gap:10px}.pot-imgc .add-more,.pot-imgc .v1removed-mini{width:46px;height:46px;border-radius:50%;border:1px solid var(--line);background:#fff;display:grid;place-items:center;box-shadow:0 8px 20px rgba(15,23,42,.08)}.pot-imgc .add-more{background:var(--main);color:#fff;border-color:var(--main);box-shadow:0 12px 22px rgba(16,185,129,.28)}.pot-imgc .preview-shell{background:rgba(255,255,255,.58);border:1px solid rgba(219,227,234,.82);border-radius:28px;padding:18px;box-shadow:0 12px 30px rgba(15,23,42,.05);backdrop-filter:blur(8px);margin-bottom:18px}.pot-imgc .preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:16px}.pot-imgc .preview-card{background:#f8fafc;border:1px solid var(--line);border-radius:20px;padding:12px;position:relative;transition:.2s ease}.pot-imgc .preview-card:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(15,23,42,.08)}.pot-imgc .remove-photo{width:30px;height:30px;border:0;border-radius:50%;background:#fff;color:var(--danger);position:absolute;right:8px;top:8px;display:grid;place-items:center;box-shadow:0 8px 18px rgba(15,23,42,.18);z-index:2}.pot-imgc .preview-card img{width:100%;height:170px;object-fit:cover;border-radius:14px;display:block;background:#e5e7eb}.pot-imgc .preview-info{padding-top:10px}.pot-imgc .preview-info strong{display:block;font-size:14px;font-weight:950;color:var(--dark);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pot-imgc .preview-info span{display:block;color:var(--muted);font-size:12px;font-weight:800;margin-top:4px}
.pot-imgc .settings-bottom{background:rgba(255,255,255,.62);border:1px solid rgba(219,227,234,.86);border-radius:28px;padding:20px;box-shadow:0 12px 30px rgba(15,23,42,.06);backdrop-filter:blur(10px)}.pot-imgc .settings-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.pot-imgc .settings-top h3{font-size:24px;font-weight:950;color:var(--dark);margin:0 0 5px}.pot-imgc .settings-top p{color:var(--muted);font-size:14px;font-weight:800;margin:0}.pot-imgc .level-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}.pot-imgc .level-option{width:100%;border:1px solid var(--line);background:#f8fafc;border-radius:18px;padding:16px;text-align:left;position:relative;transition:.2s ease}.pot-imgc .level-option:hover{background:#eef7ff}.pot-imgc .level-option.active{background:#ecfdf5;border-color:#b7ead7}.pot-imgc .level-option strong{display:block;color:var(--dark);font-size:14px;font-weight:950;margin-bottom:5px;text-transform:uppercase}.pot-imgc .level-option span{color:var(--muted);font-size:13px;font-weight:700;line-height:1.35}.pot-imgc .level-option.active::after{content:"";width:24px;height:24px;border-radius:50%;background:var(--main);position:absolute;right:14px;top:14px;background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17L4 12' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center}.pot-imgc .control-grid{display:grid;grid-template-columns:1fr 1fr 1.3fr 1fr;gap:12px;align-items:end}.pot-imgc .field{display:grid;gap:8px}.pot-imgc .field>span{display:flex;justify-content:space-between;font-size:13px;font-weight:950;color:var(--dark)}.pot-imgc .field select,.pot-imgc .field input[type=number]{width:100%;height:46px;border:1px solid var(--line);border-radius:14px;padding:0 13px;outline:0;font-weight:800;background:#f8fafc;color:var(--text)}.pot-imgc .field input[type=range]{width:100%;accent-color:var(--main)}.pot-imgc .summary{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pot-imgc .stat{border:1px solid var(--line);background:#f8fafc;border-radius:14px;padding:12px}.pot-imgc .stat span{display:block;color:var(--muted);font-size:11px;font-weight:950;margin-bottom:6px}.pot-imgc .stat strong{color:var(--dark);font-size:18px;font-weight:950}.pot-imgc .compress-btn{width:100%;height:52px;border:0;border-radius:16px;background:linear-gradient(135deg,var(--main),var(--main2));color:#fff;font-size:16px;font-weight:950;display:flex;align-items:center;justify-content:center;gap:10px;box-shadow:0 16px 30px rgba(14,165,233,.22)}
.pot-imgc .loader-screen{display:none;min-height:520px;align-items:center;justify-content:center;text-align:center;padding:24px}.pot-imgc .loader-screen.active{display:flex}.pot-imgc .loader-card{background:#fff;border:1px solid var(--line);border-radius:28px;padding:36px;width:min(460px,100%);box-shadow:var(--shadow);animation:potImgFlowUp .45s ease both}.pot-imgc .spinner{width:76px;height:76px;border-radius:50%;border:7px solid #dbeafe;border-top-color:var(--main2);animation:potImgSpin 1s linear infinite;margin:0 auto 18px}.pot-imgc .loader-card h2{color:var(--dark);font-size:28px;font-weight:950;margin:0 0 8px}.pot-imgc .loader-card p{color:var(--muted);font-weight:700;margin:0}
.pot-imgc .result-wrap{width:min(920px,92%);margin:0 auto;padding:18px 0 60px;text-align:center}.pot-imgc .result-title{font-size:clamp(30px,4vw,48px);font-weight:950;color:var(--dark);letter-spacing:-1px;margin:0 0 22px}.pot-imgc .download-center{display:flex;flex-direction:column;align-items:center;gap:14px;margin-bottom:26px}.pot-imgc .download-main{min-width:360px;min-height:66px;border:0;border-radius:18px;background:linear-gradient(135deg,var(--main),var(--main2));color:#fff;font-size:20px;font-weight:950;display:flex;align-items:center;justify-content:center;gap:12px;box-shadow:0 18px 35px rgba(14,165,233,.24)}.pot-imgc .result-mini-actions{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.pot-imgc .back-btn,.pot-imgc .round-btn{width:46px;height:46px;border:0;border-radius:50%;background:#fff;border:1px solid var(--line);display:inline-grid;place-items:center;box-shadow:0 10px 24px rgba(15,23,42,.08)}.pot-imgc .back-btn{background:var(--dark);color:#fff}.pot-imgc .share-link-btn{background:#ecfdf5;color:#047857}.pot-imgc .result-summary{background:rgba(255,255,255,.62);border:1px solid rgba(219,227,234,.86);border-radius:28px;padding:24px;box-shadow:0 12px 30px rgba(15,23,42,.07);margin:0 auto 28px;text-align:left;backdrop-filter:blur(10px)}.pot-imgc .summary-top{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;margin-bottom:20px}.pot-imgc .summary-text h3{font-size:26px;font-weight:950;color:var(--dark);margin:0 0 6px}.pot-imgc .summary-text p{color:var(--muted);font-size:15px;font-weight:800;line-height:1.5;margin:0}.pot-imgc .saved-badge{min-width:118px;min-height:118px;border-radius:26px;background:linear-gradient(135deg,#ecfdf5,#e0f2fe);border:1px solid var(--line);display:flex;flex-direction:column;align-items:center;justify-content:center}.pot-imgc .saved-badge strong{font-size:34px;font-weight:950;color:var(--main);line-height:1}.pot-imgc .saved-badge span{color:var(--muted);font-size:12px;font-weight:950;margin-top:6px;letter-spacing:.7px}.pot-imgc .saving-meter{width:100%;height:16px;border-radius:999px;background:#e5edf4;overflow:hidden;margin-bottom:18px}.pot-imgc .saving-fill{width:0%;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--main),var(--main2));transition:1s ease .35s}.pot-imgc .size-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.pot-imgc .size-card{background:#f8fafc;border:1px solid var(--line);border-radius:18px;padding:15px}.pot-imgc .size-card span{display:block;color:var(--muted);font-size:12px;font-weight:950;margin-bottom:8px}.pot-imgc .size-card strong{color:var(--dark);font-size:20px;font-weight:950}.pot-imgc .next-tools-area{background:rgba(255,255,255,.62);border:1px solid rgba(219,227,234,.86);border-radius:26px;padding:24px;text-align:left;box-shadow:0 12px 30px rgba(15,23,42,.06)}.pot-imgc .next-tools-head{margin-bottom:18px}.pot-imgc .next-tools-head h3{font-size:25px;font-weight:950;color:var(--dark);margin:0 0 6px}.pot-imgc .next-tools-head p{color:var(--muted);font-size:14px;font-weight:800;line-height:1.5;margin:0}.pot-imgc .next-tools-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.pot-imgc .next-tool{background:#f8fafc;border:1px solid var(--line);border-radius:18px;padding:16px;color:var(--text);text-decoration:none;transition:.2s ease}.pot-imgc .next-tool:hover{background:#eef7ff;border-color:#c9d8e7;transform:translateY(-2px)}.pot-imgc .next-tool strong{display:block;font-size:15px;font-weight:950;color:var(--dark);margin-bottom:6px}.pot-imgc .next-tool span{display:block;color:var(--muted);font-size:13px;line-height:1.45;font-weight:700}.pot-imgc .share-area{margin-top:26px}.pot-imgc .share-area h3{color:var(--dark);font-size:20px;font-weight:950;margin:0 0 6px}.pot-imgc .share-area p{color:var(--muted);font-weight:700;margin:0 0 14px}.pot-imgc .share-buttons{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}.pot-imgc .share-buttons button{border:1px solid var(--line);background:#fff;border-radius:12px;padding:10px 15px;font-weight:900}.pot-imgc .flow{opacity:0;transform:translateY(24px)}.pot-imgc .pic-screen.active .flow{animation:potImgFlowUp .7s cubic-bezier(.2,.8,.2,1) both;animation-delay:var(--delay,0s)}
.pot-imgc .share-modal{position:fixed;inset:0;background:rgba(15,23,42,.52);z-index:99999;display:none;align-items:center;justify-content:center;padding:18px}.pot-imgc .share-modal.show{display:flex}.pot-imgc .share-panel{width:min(520px,100%);background:#fff;border:1px solid var(--line);border-radius:26px;padding:24px;box-shadow:0 30px 80px rgba(0,0,0,.28);position:relative;text-align:left;animation:potImgFlowUp .25s ease both}.pot-imgc .share-close{position:absolute;right:14px;top:14px;width:34px;height:34px;border:0;border-radius:50%;background:#f1f5f9;color:#0f172a;font-size:23px;line-height:1}.pot-imgc .share-panel h3{font-size:26px;font-weight:950;color:var(--dark);margin:0 0 8px}.pot-imgc .share-panel p{font-size:14px;line-height:1.55;font-weight:700;color:var(--muted);margin:0 0 16px}.pot-imgc .share-code{height:92px;border:1px solid var(--line);border-radius:18px;background:#f8fafc;display:flex;align-items:center;justify-content:center;gap:3px;padding:16px;margin-bottom:14px;overflow:hidden}.pot-imgc .share-code i{display:block;width:var(--w,3px);height:100%;background:#0f172a;border-radius:999px;opacity:var(--o,.85)}.pot-imgc .share-url-row{display:flex;gap:8px}.pot-imgc .share-url-row input{flex:1;min-width:0;height:46px;border:1px solid var(--line);border-radius:14px;padding:0 13px;font-weight:800;color:#0f172a;background:#f8fafc}.pot-imgc .share-url-row button,.pot-imgc .open-share-link{height:46px;border:0;border-radius:14px;background:#0f172a;color:#fff;padding:0 16px;font-weight:950;display:inline-flex;align-items:center;text-decoration:none;white-space:nowrap}.pot-imgc .open-share-link{margin-top:10px;background:linear-gradient(135deg,var(--main),var(--main2))}
@keyframes potImgSpin{to{transform:rotate(360deg)}}@keyframes potImgFlowUp{from{opacity:0;transform:translateY(26px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(min-width:721px){.pot-imgc .next-tools-area{display:none}}
@media(max-width:980px){.pot-imgc .control-grid{grid-template-columns:1fr 1fr}.pot-imgc .level-grid{grid-template-columns:1fr}.pot-imgc .compact-start{min-height:360px}}
@media(max-width:720px){body.single-tool-premium .tool-work-area{padding:0!important}.pot-imgc .pic-center{width:92%;padding:20px 0}.pot-imgc .compact-start{min-height:340px}.pot-imgc .upload-card{padding:16px;border-radius:22px}.pot-imgc .select-wrap,.pot-imgc .select-main{width:100%;min-width:0}.pot-imgc .select-main{height:60px;font-size:17px}.pot-imgc .source-menu{width:100%}.pot-imgc .drop-zone{min-height:210px}.pot-imgc .step-two-wrap{width:94%;padding:8px 0 34px}.pot-imgc .step-two-head{justify-content:flex-start}.pot-imgc .quick-upload-row{width:100%;justify-content:flex-start}.pot-imgc .preview-shell{padding:12px;border-radius:22px}.pot-imgc .preview-grid{grid-template-columns:repeat(2,1fr);gap:10px}.pot-imgc .preview-card{border-radius:16px;padding:9px}.pot-imgc .preview-card img{height:125px;border-radius:12px}.pot-imgc .settings-bottom{padding:14px;border-radius:22px}.pot-imgc .settings-top{flex-direction:column;gap:6px}.pot-imgc .settings-top h3{font-size:22px}.pot-imgc .control-grid{grid-template-columns:1fr}.pot-imgc .summary{grid-template-columns:1fr 1fr}.pot-imgc .download-main{min-width:0;width:100%;font-size:17px}.pot-imgc .summary-top{grid-template-columns:1fr;text-align:center}.pot-imgc .saved-badge{margin:auto}.pot-imgc .size-cards,.pot-imgc .next-tools-grid{grid-template-columns:1fr}.pot-imgc .result-wrap{width:92%;padding-top:20px}.pot-imgc .share-url-row{flex-direction:column}.pot-imgc .share-url-row button{justify-content:center}}
@media(max-width:430px){body.single-tool-premium .tool-page-heading h1{font-size:36px;letter-spacing:-1.5px}.pot-imgc .preview-grid{grid-template-columns:1fr}.pot-imgc .preview-card img{height:180px}.pot-imgc .summary{grid-template-columns:1fr}.pot-imgc .result-title{font-size:29px}}

/* Latest image compressor clean result/UI fixes */
body.single-tool-premium .tool-page-heading p.pot-hide-tool-desc{display:none!important}

.pot-imgc .brand-svg{width:24px;height:24px;display:block;flex:0 0 24px}
.pot-imgc .source-icon .brand-svg{width:25px;height:25px}
.pot-imgc .v1removed-mini .brand-svg,.pot-imgc .round-btn .brand-svg{width:22px;height:22px}
.pot-imgc .share-qr-box{width:100%;border:1px solid var(--line);border-radius:20px;background:linear-gradient(135deg,#f8fafc,#eef7ff);display:grid;place-items:center;gap:10px;padding:18px;margin-bottom:14px;text-align:center}
.pot-imgc .share-qr-box img{width:190px;height:190px;max-width:70vw;border:8px solid #fff;border-radius:18px;background:#fff;box-shadow:0 14px 32px rgba(15,23,42,.12)}
.pot-imgc .share-qr-box span{display:block;color:var(--muted);font-size:13px;font-weight:900}
.pot-imgc .next-tools-area,.pot-imgc .share-area{display:none!important}
@media(max-width:520px){.pot-imgc .share-qr-box img{width:168px;height:168px}.pot-imgc .share-panel{padding:20px;border-radius:22px}}
.pot-imgc .share-code{display:none!important}.pot-imgc .share-code i{display:none!important}


/* Dark navy one-color theme + shared-link result mode */
body.single-tool-premium .tool-page-heading h1{max-width:900px;margin-left:auto;margin-right:auto;text-align:center}
body.single-tool-premium .tool-page-heading p{font-family:"Inter","Urbanist",system-ui,sans-serif;font-size:15px;font-weight:650;color:#475569;text-align:center;margin-left:auto;margin-right:auto}
.pot-imgc .select-main,.pot-imgc .compress-btn,.pot-imgc .download-main,.pot-imgc .open-share-link{background:linear-gradient(135deg,#0b1220,#1d2b49)!important;box-shadow:0 18px 35px rgba(11,18,32,.22)!important}
.pot-imgc .add-more,.pot-imgc .level-option.active::after{background:#0b1220!important;border-color:#0b1220!important;box-shadow:0 12px 22px rgba(11,18,32,.18)!important}
.pot-imgc .pic-icon-lg{color:#0b1220!important}.pot-imgc .field input[type=range]{accent-color:#0b1220}.pot-imgc .level-option.active{background:#f1f5f9!important;border-color:#cbd5e1!important}.pot-imgc .share-link-btn{background:#eff6ff!important;color:#0b1220!important}.pot-imgc .saved-badge{background:linear-gradient(135deg,#f8fafc,#e2e8f0)!important}.pot-imgc .saved-badge strong{color:#0b1220!important}.pot-imgc .saving-fill{background:linear-gradient(90deg,#0b1220,#1d2b49)!important}.pot-imgc .drop-zone:hover,.pot-imgc .drop-zone.drag{border-color:#0b1220!important;background:#f8fafc!important}.pot-imgc .source-item:hover{background:#f8fafc!important}.pot-imgc .shared-timer{display:inline-flex;align-items:center;justify-content:center;margin-top:12px;padding:9px 13px;border:1px solid #cbd5e1;border-radius:999px;background:#f8fafc;color:#0b1220;font-size:13px;font-weight:950}.pot-imgc[data-shared="1"] .saved-badge strong{font-size:28px}.pot-imgc[data-shared="1"] .size-card:first-child strong{font-size:16px}.pot-imgc[data-shared="1"] .download-main{margin-top:4px}
@media(max-width:430px){body.single-tool-premium .tool-page-heading h1{font-size:30px!important;letter-spacing:-.9px!important}}
/* Keep share expiry private: no public countdown/time badge */
.pot-imgc .shared-timer,
.pot-imgc .shared-timer[hidden]{display:none!important}

/* Paid dashboard/common-access storage UI */
.pot-imgc .dashboard-save-note{margin:12px auto 0;width:min(460px,100%);border:1px solid #c7d2fe;background:#eef2ff;color:#172554;border-radius:16px;padding:11px 14px;display:flex;align-items:center;justify-content:center;gap:9px;font-size:13px;font-weight:950;box-shadow:0 10px 24px rgba(15,23,42,.08)}
.pot-imgc .dashboard-save-note[hidden]{display:none!important}
.pot-imgc .dashboard-save-note i{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#0b1220;color:#fff;font-style:normal;font-size:12px;flex:0 0 22px}
.pot-imgc .dashboard-picker-panel p{padding-right:28px}
.pot-imgc .dashboard-picker-list{display:grid;gap:10px;max-height:360px;overflow:auto;text-align:left;padding-right:2px}
.pot-imgc .dashboard-picker-card{border:1px solid #e5e7eb;border-radius:16px;padding:13px;background:#f8fafc;display:grid;gap:7px}
.pot-imgc .dashboard-picker-card strong{font-size:14px;font-weight:950;color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pot-imgc .dashboard-picker-card span{font-size:12px;line-height:1.45;color:#64748b;font-weight:800}
.pot-imgc .dashboard-picker-card.gated{background:linear-gradient(135deg,#fff,#f8fafc);border-color:#cbd5e1;padding:16px}
.pot-imgc .picker-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}
.pot-imgc .picker-cta,.pot-imgc .picker-use{min-width:0!important;height:40px!important;min-height:40px!important;padding:0 13px!important;border-radius:12px!important;font-size:13px!important;text-decoration:none!important;box-shadow:none!important}
.pot-imgc .picker-use{justify-self:start;margin-top:2px}
@media(max-width:520px){.pot-imgc .dashboard-save-note{font-size:12px;align-items:flex-start;text-align:left}.pot-imgc .picker-actions{display:grid}.pot-imgc .picker-cta,.pot-imgc .picker-use{width:100%!important}}

.pot-imgc .dashboard-picker-card.picker-file{grid-template-columns:72px 1fr;align-items:center}.pot-imgc .picker-thumb{width:72px;height:72px;object-fit:cover;border-radius:14px;border:1px solid #e5e7eb;background:#fff}.pot-imgc .picker-file .select-main{margin-top:8px}

.pot-imgc .show-storage-picker.share-modal{position:fixed;inset:0;background:rgba(15,23,42,.58);z-index:999999;display:none;align-items:center;justify-content:center;padding:18px}
.pot-imgc .show-storage-picker.share-modal.show{display:flex!important}
.pot-imgc .dashboard-picker-panel{width:min(760px,96vw)!important;max-height:86vh;overflow:auto}
.pot-imgc .dashboard-picker-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:58vh;padding-right:4px}
.pot-imgc .dashboard-picker-card.picker-file{background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.06)}
.pot-imgc .picker-use{background:#0b1220!important;color:#fff!important}
@media(max-width:640px){.pot-imgc .dashboard-picker-list{grid-template-columns:1fr}.pot-imgc .dashboard-picker-panel{width:96vw!important}}

.pot-imgc .v1-dialog.share-modal{position:fixed!important;inset:0!important;display:none;align-items:center;justify-content:center;background:rgba(15,23,42,.66);backdrop-filter:blur(7px);z-index:999999;padding:18px}
.pot-imgc .v1-dialog.share-modal.show{display:flex!important}
.pot-imgc .common-picker-panel{width:min(860px,96vw)!important;max-height:88vh;overflow:hidden!important;padding:0!important;border-radius:28px!important;background:#fff;box-shadow:0 40px 120px rgba(15,23,42,.35);display:flex;flex-direction:column;text-align:left!important}
.pot-imgc .common-picker-panel .share-close{z-index:3;right:18px;top:18px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 8px 24px rgba(15,23,42,.10)}
.pot-imgc .common-picker-head{padding:24px 28px 18px;background:linear-gradient(135deg,#f8fafc,#fff);border-bottom:1px solid #e5e7eb}
.pot-imgc .common-picker-kicker{display:inline-flex;padding:6px 10px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.08em;margin-bottom:10px}
.pot-imgc .common-picker-head h3{margin:0 44px 6px 0;font-size:25px;font-weight:950;color:#0f172a}
.pot-imgc .common-picker-head p{margin:0;color:#64748b;font-size:14px;font-weight:750;line-height:1.55;max-width:680px;padding-right:0!important}
.pot-imgc .common-picker-tools{display:flex;align-items:center;gap:12px;padding:14px 28px;border-bottom:1px solid #e5e7eb;background:#fff}
.pot-imgc .common-picker-tools input{flex:1;min-width:0;height:44px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc;padding:0 14px;font-size:14px;font-weight:800;color:#0f172a;outline:none}
.pot-imgc .common-picker-tools input:focus{border-color:#6366f1;background:#fff;box-shadow:0 0 0 4px rgba(99,102,241,.10)}
.pot-imgc .common-picker-count{white-space:nowrap;font-size:12px;font-weight:950;color:#334155;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:999px;padding:9px 12px}
.pot-imgc .common-picker-list.dashboard-picker-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-height:58vh;overflow:auto;padding:18px 28px 24px;background:#f8fafc}
.pot-imgc .common-picker-file.dashboard-picker-card{display:grid;grid-template-columns:86px 1fr;gap:13px;align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:12px;box-shadow:0 12px 30px rgba(15,23,42,.06)}
.pot-imgc .common-picker-file .picker-thumb{width:86px;height:86px;border-radius:16px;object-fit:cover;background:#f1f5f9;border:1px solid #e2e8f0}
.pot-imgc .picker-file-body{min-width:0;display:grid;gap:7px}
.pot-imgc .picker-file-top{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.pot-imgc .picker-file-top strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:950;color:#0f172a}
.pot-imgc .picker-file-top em{font-style:normal;font-size:11px;font-weight:950;color:#0369a1;background:#e0f2fe;border-radius:999px;padding:5px 8px;white-space:nowrap}
.pot-imgc .common-picker-file span{font-size:12px;font-weight:800;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pot-imgc .common-picker-file .picker-use{width:max-content;min-height:38px;border-radius:12px;padding:0 14px;margin-top:2px!important;background:#111827!important;color:#fff!important;font-weight:950}
.pot-imgc .common-picker-gated,.pot-imgc .common-picker-empty,.pot-imgc .picker-loading{grid-column:1/-1;background:#fff;border:1px dashed #cbd5e1;border-radius:20px;padding:24px;text-align:center;display:grid;gap:10px;justify-items:center}
.pot-imgc .common-picker-gated strong,.pot-imgc .common-picker-empty strong,.pot-imgc .picker-loading strong{white-space:normal;font-size:16px}
.pot-imgc .common-picker-gated span,.pot-imgc .common-picker-empty span,.pot-imgc .picker-loading span{font-size:13px;max-width:520px}
@media(max-width:720px){.pot-imgc .common-picker-list.dashboard-picker-list{grid-template-columns:1fr;padding:14px}.pot-imgc .common-picker-tools{padding:12px 16px;flex-direction:column;align-items:stretch}.pot-imgc .common-picker-head{padding:20px 18px 14px}.pot-imgc .common-picker-panel{width:96vw!important}.pot-imgc .common-picker-file.dashboard-picker-card{grid-template-columns:72px 1fr}.pot-imgc .common-picker-file .picker-thumb{width:72px;height:72px}}


.pot-imgc .v1-dialog{position:fixed;inset:0;background:rgba(15,23,42,.66);display:none;align-items:center;justify-content:center;z-index:9999;padding:20px}.pot-imgc .v1-dialog.show{display:flex}.pot-imgc .common-modal-container{background:#fff;width:min(1050px,100%);height:720px;max-height:92vh;border-radius:14px;padding:24px 32px;display:flex;flex-direction:column;box-shadow:0 18px 55px rgba(15,23,42,.28);overflow:hidden}.pot-imgc .common-modal-header{margin-bottom:18px;flex-shrink:0}.pot-imgc .common-header-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.pot-imgc .common-badge{font-size:11px;font-weight:900;color:#4f46e5;background:#e0e7ff;padding:4px 10px;border-radius:6px}.pot-imgc .common-close{background:#f3f4f6;border:0;width:32px;height:32px;border-radius:50%;font-size:20px;cursor:pointer;color:#475569}.pot-imgc .common-modal-header h2{margin:0 0 5px;font-size:22px;font-weight:900;color:#0f172a}.pot-imgc .common-modal-header p{margin:0;font-size:13px;color:#64748b;font-weight:600}.pot-imgc .common-modal-body{display:flex;flex:1;gap:24px;overflow:hidden;border-top:1px solid #f1f5f9;padding-top:20px}.pot-imgc .common-type-sidebar{display:flex;flex-direction:column;gap:5px;width:200px;flex-shrink:0}.pot-imgc .common-type-sidebar button{border:0;background:transparent;padding:10px 14px;border-radius:8px;font-size:14px;font-weight:800;color:#64748b;text-align:left;cursor:pointer}.pot-imgc .common-type-sidebar button.active{background:#0f172a;color:#fff}.pot-imgc .common-type-sidebar button:disabled{opacity:.45;cursor:not-allowed}.pot-imgc .common-content-panel{display:flex;flex-direction:column;flex:1;overflow:hidden}.pot-imgc .common-search-row{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;flex-shrink:0}.pot-imgc .common-search-row input{width:100%;padding:11px 16px;border:1px solid #cbd5e1;border-radius:9px;font-size:14px;outline:none}.pot-imgc .common-count{font-size:12px;font-weight:800;color:#475569;background:#f1f5f9;padding:7px 12px;border-radius:999px;white-space:nowrap}.pot-imgc .common-asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;overflow-y:auto;padding-right:4px;align-content:start}.pot-imgc .common-file-card{display:flex;flex-direction:column;border:1px solid #e2e8f0;border-radius:10px;padding:12px;gap:10px;background:#fff;text-align:center}.pot-imgc .common-file-thumb{width:100%;height:104px;border-radius:7px;object-fit:cover;background:#f1f5f9}.pot-imgc .common-file-name{font-size:13px;font-weight:800;color:#0f172a;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}.pot-imgc .common-file-info{display:grid;gap:7px}.pot-imgc .common-file-info small{color:#64748b;font-weight:700}.pot-imgc .common-file-info .select-main{background:#0f172a;color:#fff;border:0;padding:9px 0;width:100%;border-radius:7px;font-size:12px;font-weight:800;cursor:pointer}.pot-imgc .common-file-info .select-main.selected{background:#e2e8f0;color:#475569}.pot-imgc .common-selected-tray{margin-top:16px;border-top:1px solid #e2e8f0;padding-top:14px;display:grid;gap:10px;flex-shrink:0}.pot-imgc .common-upload-selected{justify-self:end;background:#2563eb;color:#fff;border:0;padding:9px 20px;border-radius:7px;font-weight:800;cursor:pointer}.pot-imgc .common-pill-row{display:flex;gap:10px;overflow:auto;padding-bottom:4px}.pot-imgc .common-pill{display:inline-flex;align-items:center;gap:8px;background:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;padding:8px 12px;white-space:nowrap;font-size:12px;font-weight:800;color:#0f172a}@media(max-width:850px){.pot-imgc .v1-dialog{padding:0}.pot-imgc .common-modal-container{height:100%;max-height:100vh;border-radius:0;padding:16px}.pot-imgc .common-modal-body{flex-direction:column;gap:16px}.pot-imgc .common-type-sidebar{width:100%;flex-direction:row;flex-wrap:wrap}.pot-imgc .common-type-sidebar button{width:calc(50% - 3px)}.pot-imgc .common-asset-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}}

.pot-imgc [data-common-trigger]{display:none}.pot-imgc.common-storage-ready [data-common-trigger]{display:inline-flex}




/* Pack of Tools All Tools workspace theme bridge */
.tools-app .pot-imgc{
  --bg: transparent;
  --dark: #111111;
  --dark2: #272729;
  --card: #ffffff;
  --soft: #f7f7f7;
  --line: #e9e9e9;
  --text: #111111;
  --muted: #6b6b6b;
  --main: #111111;
  --main2: #272729;
  --shadow: 0 18px 55px rgba(0,0,0,.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.tools-app .pot-imgc .upload-card,
.tools-app .pot-imgc .preview-shell,
.tools-app .pot-imgc .settings-bottom,
.tools-app .pot-imgc .result-summary,
.tools-app .pot-imgc .next-tools-area,
.tools-app .pot-imgc .share-panel{
  background: var(--card) !important;
  border-color: var(--line) !important;
  box-shadow: 0 18px 55px rgba(0,0,0,.06) !important;
}
.tools-app .pot-imgc .drop-zone,
.tools-app .pot-imgc .preview-card,
.tools-app .pot-imgc .stat,
.tools-app .pot-imgc .size-card,
.tools-app .pot-imgc .source-icon,
.tools-app .pot-imgc .level-option,
.tools-app .pot-imgc .field select,
.tools-app .pot-imgc .field input[type=number],
.tools-app .pot-imgc .common-file-card,
.tools-app .pot-imgc .common-modal-container,
.tools-app .pot-imgc .share-qr-box{
  background: var(--soft) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}
.tools-app .pot-imgc .select-main,
.tools-app .pot-imgc .compress-btn,
.tools-app .pot-imgc .download-main,
.tools-app .pot-imgc .open-share-link,
.tools-app .pot-imgc .add-more,
.tools-app .pot-imgc .back-btn,
.tools-app .pot-imgc .level-option.active::after{
  background: linear-gradient(135deg, var(--main), var(--main2)) !important;
  color: var(--card) !important;
  border-color: var(--main) !important;
  box-shadow: 0 16px 32px rgba(0,0,0,.12) !important;
}
.tools-app .pot-imgc .v1removed-mini,
.tools-app .pot-imgc .round-btn{
  background: var(--card) !important;
  color: var(--text) !important;
  border-color: var(--line) !important;
}
.tools-app .pot-imgc h1,.tools-app .pot-imgc h2,.tools-app .pot-imgc h3,.tools-app .pot-imgc strong,.tools-app .pot-imgc .preview-info strong,.tools-app .pot-imgc .field>span,.tools-app .pot-imgc .level-option strong,.tools-app .pot-imgc .summary-text h3,.tools-app .pot-imgc .size-card strong{color: var(--text) !important;}
.tools-app .pot-imgc p,.tools-app .pot-imgc span,.tools-app .pot-imgc small,.tools-app .pot-imgc .upload-empty p,.tools-app .pot-imgc .settings-top p,.tools-app .pot-imgc .level-option span,.tools-app .pot-imgc .summary-text p,.tools-app .pot-imgc .size-card span{color: var(--muted);}
body.tools-dark .tools-app .pot-imgc{--dark:#ffffff;--dark2:#dddddd;--card:#151516;--soft:#202022;--line:rgba(255,255,255,.10);--text:#ffffff;--muted:rgba(255,255,255,.58);--main:#ffffff;--main2:#dddddd;--shadow:0 18px 60px rgba(0,0,0,.35);}
body.tools-dark .tools-app .pot-imgc .select-main,body.tools-dark .tools-app .pot-imgc .compress-btn,body.tools-dark .tools-app .pot-imgc .download-main,body.tools-dark .tools-app .pot-imgc .open-share-link,body.tools-dark .tools-app .pot-imgc .add-more,body.tools-dark .tools-app .pot-imgc .back-btn,body.tools-dark .tools-app .pot-imgc .level-option.active::after{color:#0f0f10 !important;}
body.tools-dark .tools-app .pot-imgc .share-link-btn{background:var(--soft)!important;color:var(--text)!important}
body.tools-dark .tools-app .pot-imgc .saved-badge{background:var(--soft)!important}
body.tools-dark .tools-app .pot-imgc .saving-fill{background:linear-gradient(90deg,#fff,#dcdcdc)!important}
body.tools-dark .tools-app .pot-imgc .drop-zone:hover,body.tools-dark .tools-app .pot-imgc .drop-zone.drag{background:var(--soft)!important;border-color:rgba(255,255,255,.32)!important}
body.tools-dark .tools-app .pot-imgc .share-modal{background:rgba(0,0,0,.72)!important}





/* Theme sync final: every Image Compressor area follows All Tools light/dark theme */
.tools-app .pot-imgc,
.pot-imgc[data-pot-theme-sync="1"]{
  --pot-bg: var(--bg, #f5f5f2);
  --pot-panel: var(--panel, #ffffff);
  --pot-panel-2: var(--panel-2, #fafafa);
  --pot-text: var(--text, #111111);
  --pot-muted: var(--muted, #737373);
  --pot-line: var(--line, rgba(17,17,17,.10));
  --pot-soft: var(--soft, #f0f0ec);
  --pot-accent: var(--accent, #111111);
  --bg: transparent;
  --card: var(--pot-panel);
  --soft: var(--pot-panel-2);
  --line: var(--pot-line);
  --text: var(--pot-text);
  --muted: var(--pot-muted);
  --main: var(--pot-accent);
  --main2: color-mix(in srgb, var(--pot-accent) 78%, var(--pot-muted));
  --dark: var(--pot-text);
  --dark2: var(--pot-text);
  --shadow: 0 18px 55px rgba(0,0,0,.08);
}
body.tools-dark .tools-app .pot-imgc,
body.tools-dark .pot-imgc[data-pot-theme-sync="1"]{
  --pot-bg:#0e0e0f;
  --pot-panel:#151516;
  --pot-panel-2:#202022;
  --pot-text:#ffffff;
  --pot-muted:rgba(255,255,255,.58);
  --pot-line:rgba(255,255,255,.10);
  --pot-soft:#232326;
  --pot-accent:#ffffff;
  --card:#151516;
  --soft:#202022;
  --line:rgba(255,255,255,.10);
  --text:#ffffff;
  --muted:rgba(255,255,255,.62);
  --main:#ffffff;
  --main2:#dddddd;
  --dark:#ffffff;
  --dark2:#f2f2f2;
  --shadow:0 18px 60px rgba(0,0,0,.36);
}
.tools-app .pot-imgc .upload-card,
.tools-app .pot-imgc .source-menu,
.tools-app .pot-imgc .preview-shell,
.tools-app .pot-imgc .settings-bottom,
.tools-app .pot-imgc .loader-card,
.tools-app .pot-imgc .result-summary,
.tools-app .pot-imgc .share-panel,
.tools-app .pot-imgc .common-modal-container,
.tools-app .pot-imgc .common-picker-panel,
.pot-imgc[data-pot-theme-sync="1"] .upload-card,
.pot-imgc[data-pot-theme-sync="1"] .source-menu,
.pot-imgc[data-pot-theme-sync="1"] .preview-shell,
.pot-imgc[data-pot-theme-sync="1"] .settings-bottom,
.pot-imgc[data-pot-theme-sync="1"] .loader-card,
.pot-imgc[data-pot-theme-sync="1"] .result-summary,
.pot-imgc[data-pot-theme-sync="1"] .share-panel,
.pot-imgc[data-pot-theme-sync="1"] .common-modal-container,
.pot-imgc[data-pot-theme-sync="1"] .common-picker-panel{
  background: var(--pot-panel) !important;
  border-color: var(--pot-line) !important;
  color: var(--pot-text) !important;
  box-shadow: var(--shadow) !important;
}
.tools-app .pot-imgc .drop-zone,
.tools-app .pot-imgc .source-icon,
.tools-app .pot-imgc .source-item:hover,
.tools-app .pot-imgc .preview-card,
.tools-app .pot-imgc .stat,
.tools-app .pot-imgc .size-card,
.tools-app .pot-imgc .level-option,
.tools-app .pot-imgc .field select,
.tools-app .pot-imgc .field input[type=number],
.tools-app .pot-imgc .saved-badge,
.tools-app .pot-imgc .saving-meter,
.tools-app .pot-imgc .share-qr-box,
.tools-app .pot-imgc .share-url-row input,
.tools-app .pot-imgc .common-file-card,
.tools-app .pot-imgc .common-search-row input,
.tools-app .pot-imgc .common-count,
.pot-imgc[data-pot-theme-sync="1"] .drop-zone,
.pot-imgc[data-pot-theme-sync="1"] .source-icon,
.pot-imgc[data-pot-theme-sync="1"] .source-item:hover,
.pot-imgc[data-pot-theme-sync="1"] .preview-card,
.pot-imgc[data-pot-theme-sync="1"] .stat,
.pot-imgc[data-pot-theme-sync="1"] .size-card,
.pot-imgc[data-pot-theme-sync="1"] .level-option,
.pot-imgc[data-pot-theme-sync="1"] .field select,
.pot-imgc[data-pot-theme-sync="1"] .field input[type=number],
.pot-imgc[data-pot-theme-sync="1"] .saved-badge,
.pot-imgc[data-pot-theme-sync="1"] .saving-meter,
.pot-imgc[data-pot-theme-sync="1"] .share-qr-box,
.pot-imgc[data-pot-theme-sync="1"] .share-url-row input,
.pot-imgc[data-pot-theme-sync="1"] .common-file-card,
.pot-imgc[data-pot-theme-sync="1"] .common-search-row input,
.pot-imgc[data-pot-theme-sync="1"] .common-count{
  background: var(--pot-panel-2) !important;
  border-color: var(--pot-line) !important;
  color: var(--pot-text) !important;
}
.tools-app .pot-imgc .drop-zone,
.pot-imgc[data-pot-theme-sync="1"] .drop-zone{
  background: linear-gradient(135deg, color-mix(in srgb, var(--pot-panel-2) 86%, transparent), color-mix(in srgb, var(--pot-soft) 80%, transparent)) !important;
  border-color: color-mix(in srgb, var(--pot-text) 22%, transparent) !important;
}
.tools-app .pot-imgc .drop-zone:hover,
.tools-app .pot-imgc .drop-zone.drag,
.pot-imgc[data-pot-theme-sync="1"] .drop-zone:hover,
.pot-imgc[data-pot-theme-sync="1"] .drop-zone.drag{
  background: var(--pot-soft) !important;
  border-color: color-mix(in srgb, var(--pot-text) 36%, transparent) !important;
}
.tools-app .pot-imgc .select-main,
.tools-app .pot-imgc .compress-btn,
.tools-app .pot-imgc .download-main,
.tools-app .pot-imgc .open-share-link,
.tools-app .pot-imgc .add-more,
.tools-app .pot-imgc .back-btn,
.tools-app .pot-imgc .level-option.active::after,
.pot-imgc[data-pot-theme-sync="1"] .select-main,
.pot-imgc[data-pot-theme-sync="1"] .compress-btn,
.pot-imgc[data-pot-theme-sync="1"] .download-main,
.pot-imgc[data-pot-theme-sync="1"] .open-share-link,
.pot-imgc[data-pot-theme-sync="1"] .add-more,
.pot-imgc[data-pot-theme-sync="1"] .back-btn,
.pot-imgc[data-pot-theme-sync="1"] .level-option.active::after{
  background: linear-gradient(135deg, var(--pot-text), color-mix(in srgb, var(--pot-text) 82%, var(--pot-muted))) !important;
  color: var(--pot-panel) !important;
  border-color: var(--pot-text) !important;
  box-shadow: 0 16px 34px rgba(0,0,0,.14) !important;
}
body.tools-dark .tools-app .pot-imgc .select-main,
body.tools-dark .tools-app .pot-imgc .compress-btn,
body.tools-dark .tools-app .pot-imgc .download-main,
body.tools-dark .tools-app .pot-imgc .open-share-link,
body.tools-dark .tools-app .pot-imgc .add-more,
body.tools-dark .tools-app .pot-imgc .back-btn,
body.tools-dark .tools-app .pot-imgc .level-option.active::after{
  color:#111111 !important;
}
.tools-app .pot-imgc .v1removed-mini,
.tools-app .pot-imgc .round-btn,
.tools-app .pot-imgc .share-link-btn,
.tools-app .pot-imgc .share-url-row button,
.tools-app .pot-imgc .share-close,
.tools-app .pot-imgc .common-close,
.pot-imgc[data-pot-theme-sync="1"] .v1removed-mini,
.pot-imgc[data-pot-theme-sync="1"] .round-btn,
.pot-imgc[data-pot-theme-sync="1"] .share-link-btn,
.pot-imgc[data-pot-theme-sync="1"] .share-url-row button,
.pot-imgc[data-pot-theme-sync="1"] .share-close,
.pot-imgc[data-pot-theme-sync="1"] .common-close{
  background: var(--pot-panel-2) !important;
  color: var(--pot-text) !important;
  border-color: var(--pot-line) !important;
}
.tools-app .pot-imgc h1,
.tools-app .pot-imgc h2,
.tools-app .pot-imgc h3,
.tools-app .pot-imgc strong,
.tools-app .pot-imgc .upload-empty h3,
.tools-app .pot-imgc .preview-info strong,
.tools-app .pot-imgc .field>span,
.tools-app .pot-imgc .level-option strong,
.tools-app .pot-imgc .summary-text h3,
.tools-app .pot-imgc .size-card strong,
.tools-app .pot-imgc .loader-card h2,
.tools-app .pot-imgc .result-title,
.pot-imgc[data-pot-theme-sync="1"] h1,
.pot-imgc[data-pot-theme-sync="1"] h2,
.pot-imgc[data-pot-theme-sync="1"] h3,
.pot-imgc[data-pot-theme-sync="1"] strong,
.pot-imgc[data-pot-theme-sync="1"] .upload-empty h3,
.pot-imgc[data-pot-theme-sync="1"] .preview-info strong,
.pot-imgc[data-pot-theme-sync="1"] .field>span,
.pot-imgc[data-pot-theme-sync="1"] .level-option strong,
.pot-imgc[data-pot-theme-sync="1"] .summary-text h3,
.pot-imgc[data-pot-theme-sync="1"] .size-card strong,
.pot-imgc[data-pot-theme-sync="1"] .loader-card h2,
.pot-imgc[data-pot-theme-sync="1"] .result-title{
  color: var(--pot-text) !important;
}
.tools-app .pot-imgc p,
.tools-app .pot-imgc small,
.tools-app .pot-imgc .upload-empty p,
.tools-app .pot-imgc .settings-top p,
.tools-app .pot-imgc .level-option span,
.tools-app .pot-imgc .summary-text p,
.tools-app .pot-imgc .size-card span,
.tools-app .pot-imgc .loader-card p,
.tools-app .pot-imgc .source-item small,
.pot-imgc[data-pot-theme-sync="1"] p,
.pot-imgc[data-pot-theme-sync="1"] small,
.pot-imgc[data-pot-theme-sync="1"] .upload-empty p,
.pot-imgc[data-pot-theme-sync="1"] .settings-top p,
.pot-imgc[data-pot-theme-sync="1"] .level-option span,
.pot-imgc[data-pot-theme-sync="1"] .summary-text p,
.pot-imgc[data-pot-theme-sync="1"] .size-card span,
.pot-imgc[data-pot-theme-sync="1"] .loader-card p,
.pot-imgc[data-pot-theme-sync="1"] .source-item small{
  color: var(--pot-muted) !important;
}
.tools-app .pot-imgc .spinner,
.pot-imgc[data-pot-theme-sync="1"] .spinner{
  border-color: color-mix(in srgb, var(--pot-muted) 28%, transparent) !important;
  border-top-color: var(--pot-text) !important;
}
.tools-app .pot-imgc .saving-fill,
.pot-imgc[data-pot-theme-sync="1"] .saving-fill{
  background: linear-gradient(90deg, var(--pot-text), color-mix(in srgb, var(--pot-text) 65%, var(--pot-muted))) !important;
}
.tools-app .pot-imgc .download-center,
.pot-imgc[data-pot-theme-sync="1"] .download-center{
  background: transparent !important;
}
@media(max-width:720px){
  .tools-app .pot-imgc .source-menu,
  .pot-imgc[data-pot-theme-sync="1"] .source-menu{left:50%;transform:translate(-50%,8px);width:min(320px,calc(100vw - 48px));}
  .tools-app .pot-imgc .select-wrap:hover .source-menu,
  .tools-app .pot-imgc .select-wrap:focus-within .source-menu,
  .pot-imgc[data-pot-theme-sync="1"] .select-wrap:hover .source-menu,
  .pot-imgc[data-pot-theme-sync="1"] .select-wrap:focus-within .source-menu{transform:translate(-50%,0);}
  .tools-app .pot-imgc .download-main,
  .pot-imgc[data-pot-theme-sync="1"] .download-main{min-width:0;width:100%;}
}

/* Repair: reliable workspace/tool theme sync. Keeps every loaded tool inside the All Tools color system. */
.tools-app .workspace-body,
.tools-app #toolWorkspace{background:var(--panel)!important;color:var(--text)!important;min-height:240px;}
.tools-app #toolWorkspace > *{max-width:100%;}
.tools-app .pot-tool-fallback code{display:inline-flex;margin-top:8px;padding:6px 8px;border-radius:10px;background:var(--soft);color:var(--text);font-size:12px;white-space:normal;word-break:break-word;}
.tools-app .pot-loading-box{background:var(--panel-2)!important;color:var(--muted)!important;border-color:var(--line)!important;}
.tools-app .pot-imgc,
.tools-app .pot-imgc[data-pot-theme-sync="1"],
.tools-app [data-pot-theme-sync="1"] .pot-imgc,
.tools-app [data-pot-tool-host]{
  --pot-bg:var(--bg,#f5f5f2);
  --pot-panel:var(--panel,#fff);
  --pot-panel-2:var(--panel-2,#fafafa);
  --pot-text:var(--text,#111);
  --pot-muted:var(--muted,#737373);
  --pot-line:var(--line,rgba(17,17,17,.10));
  --pot-soft:var(--soft,#f0f0ec);
  --pot-accent:var(--text,#111);
  --bg:transparent!important;
  --card:var(--pot-panel)!important;
  --soft:var(--pot-panel-2)!important;
  --line:var(--pot-line)!important;
  --text:var(--pot-text)!important;
  --muted:var(--pot-muted)!important;
  --main:var(--pot-accent)!important;
  --main2:color-mix(in srgb,var(--pot-accent) 72%,var(--pot-muted))!important;
  --dark:var(--pot-text)!important;
  --dark2:var(--pot-text)!important;
  color:var(--pot-text)!important;
  background:transparent!important;
}
body.tools-dark .tools-app .pot-imgc,
body.tools-dark .tools-app .pot-imgc[data-pot-theme-sync="1"],
body.tools-dark .tools-app [data-pot-theme-sync="1"] .pot-imgc,
body.tools-dark .tools-app [data-pot-tool-host]{
  --pot-bg:#0e0e0f;
  --pot-panel:#151516;
  --pot-panel-2:#202022;
  --pot-text:#ffffff;
  --pot-muted:rgba(255,255,255,.62);
  --pot-line:rgba(255,255,255,.12);
  --pot-soft:#232326;
  --pot-accent:#ffffff;
  --card:#151516!important;
  --soft:#202022!important;
  --line:rgba(255,255,255,.12)!important;
  --text:#ffffff!important;
  --muted:rgba(255,255,255,.62)!important;
  --main:#ffffff!important;
  --main2:#d9d9d9!important;
  --dark:#ffffff!important;
  --dark2:#ffffff!important;
}
.tools-app .pot-imgc .pic-screen,
.tools-app .pot-imgc .loader-screen,
.tools-app .pot-imgc .result-wrap,
.tools-app .pot-imgc .step-two-wrap,
.tools-app .pot-imgc .pic-center{background:transparent!important;color:var(--pot-text)!important;}
.tools-app .pot-imgc .upload-card,
.tools-app .pot-imgc .preview-shell,
.tools-app .pot-imgc .settings-bottom,
.tools-app .pot-imgc .result-summary,
.tools-app .pot-imgc .loader-card,
.tools-app .pot-imgc .share-panel,
.tools-app .pot-imgc .common-modal-container,
.tools-app .pot-imgc .common-picker-panel,
.tools-app .pot-imgc .source-menu{background:var(--pot-panel)!important;border-color:var(--pot-line)!important;color:var(--pot-text)!important;box-shadow:0 18px 55px rgba(0,0,0,.10)!important;}
.tools-app .pot-imgc .drop-zone,
.tools-app .pot-imgc .preview-card,
.tools-app .pot-imgc .stat,
.tools-app .pot-imgc .size-card,
.tools-app .pot-imgc .level-option,
.tools-app .pot-imgc .field select,
.tools-app .pot-imgc .field input[type="number"],
.tools-app .pot-imgc .source-icon,
.tools-app .pot-imgc .share-qr-box,
.tools-app .pot-imgc .share-url-row input,
.tools-app .pot-imgc .common-file-card,
.tools-app .pot-imgc .common-search-row input,
.tools-app .pot-imgc .common-count,
.tools-app .pot-imgc .saved-badge,
.tools-app .pot-imgc .saving-meter{background:var(--pot-panel-2)!important;border-color:var(--pot-line)!important;color:var(--pot-text)!important;}
.tools-app .pot-imgc .drop-zone{background:linear-gradient(135deg,var(--pot-panel-2),var(--pot-soft))!important;border-color:color-mix(in srgb,var(--pot-text) 22%,transparent)!important;}
.tools-app .pot-imgc .drop-zone:hover,
.tools-app .pot-imgc .drop-zone.drag,
.tools-app .pot-imgc .source-item:hover,
.tools-app .pot-imgc .level-option.active{background:var(--pot-soft)!important;border-color:color-mix(in srgb,var(--pot-text) 32%,transparent)!important;}
.tools-app .pot-imgc .select-main,
.tools-app .pot-imgc .compress-btn,
.tools-app .pot-imgc .download-main,
.tools-app .pot-imgc .open-share-link,
.tools-app .pot-imgc .add-more,
.tools-app .pot-imgc .back-btn,
.tools-app .pot-imgc .level-option.active::after{background:linear-gradient(135deg,var(--pot-text),color-mix(in srgb,var(--pot-text) 74%,var(--pot-muted)))!important;color:var(--pot-panel)!important;border-color:var(--pot-text)!important;}
body.tools-dark .tools-app .pot-imgc .select-main,
body.tools-dark .tools-app .pot-imgc .compress-btn,
body.tools-dark .tools-app .pot-imgc .download-main,
body.tools-dark .tools-app .pot-imgc .open-share-link,
body.tools-dark .tools-app .pot-imgc .add-more,
body.tools-dark .tools-app .pot-imgc .back-btn{color:#111!important;}
.tools-app .pot-imgc .v1removed-mini,
.tools-app .pot-imgc .round-btn,
.tools-app .pot-imgc .share-link-btn,
.tools-app .pot-imgc .share-url-row button,
.tools-app .pot-imgc .share-close,
.tools-app .pot-imgc .common-close{background:var(--pot-panel-2)!important;color:var(--pot-text)!important;border-color:var(--pot-line)!important;}
.tools-app .pot-imgc h1,
.tools-app .pot-imgc h2,
.tools-app .pot-imgc h3,
.tools-app .pot-imgc strong,
.tools-app .pot-imgc .upload-empty h3,
.tools-app .pot-imgc .settings-top h3,
.tools-app .pot-imgc .result-title,
.tools-app .pot-imgc .loader-card h2,
.tools-app .pot-imgc .preview-info strong,
.tools-app .pot-imgc .field>span,
.tools-app .pot-imgc .level-option strong,
.tools-app .pot-imgc .summary-text h3,
.tools-app .pot-imgc .size-card strong{color:var(--pot-text)!important;}
.tools-app .pot-imgc p,
.tools-app .pot-imgc small,
.tools-app .pot-imgc span,
.tools-app .pot-imgc .upload-empty p,
.tools-app .pot-imgc .settings-top p,
.tools-app .pot-imgc .level-option span,
.tools-app .pot-imgc .summary-text p,
.tools-app .pot-imgc .size-card span,
.tools-app .pot-imgc .loader-card p,
.tools-app .pot-imgc .source-item small{color:var(--pot-muted)!important;}
.tools-app .pot-imgc .select-main span,
.tools-app .pot-imgc .compress-btn span,
.tools-app .pot-imgc .download-main span{color:inherit!important;}
.tools-app .pot-imgc .spinner{border-color:color-mix(in srgb,var(--pot-muted) 30%,transparent)!important;border-top-color:var(--pot-text)!important;}
.tools-app .pot-imgc .saving-fill{background:linear-gradient(90deg,var(--pot-text),color-mix(in srgb,var(--pot-text) 60%,var(--pot-muted)))!important;}
.tools-app .pot-imgc .share-modal,
.tools-app .pot-imgc .v1-dialog{background:rgba(0,0,0,.56)!important;}
body.tools-dark .tools-app .pot-imgc .share-modal,
body.tools-dark .tools-app .pot-imgc .v1-dialog{background:rgba(0,0,0,.76)!important;}
@media(max-width:720px){
  .tools-app .pot-imgc .source-menu{left:50%!important;right:auto!important;transform:translate(-50%,8px)!important;width:min(320px,calc(100vw - 48px))!important;}
  .tools-app .pot-imgc .select-wrap:hover .source-menu,
  .tools-app .pot-imgc .select-wrap:focus-within .source-menu{transform:translate(-50%,0)!important;}
  .tools-app .pot-imgc .download-main{min-width:0!important;width:100%!important;}
}

/* Result action labels and share wording fix */
.pot-imgc .result-mini-actions{
  gap:14px!important;
  align-items:flex-start!important;
}
.pot-imgc .result-action{
  display:inline-grid;
  justify-items:center;
  align-items:start;
  gap:7px;
  min-width:58px;
  color:var(--muted);
  font-size:11px;
  line-height:1.15;
  font-weight:950;
  text-align:center;
}
.pot-imgc .result-action > span{
  display:block;
  max-width:82px;
}
.pot-imgc .result-action-share > span{
  max-width:96px;
}
.pot-imgc .result-action .round-btn,
.pot-imgc .result-action .back-btn{
  margin:0!important;
}
body.tools-dark .tools-app .pot-imgc .result-action,
.pot-imgc[data-pot-theme-sync="1"] .result-action{
  color:var(--muted)!important;
}
@media(max-width:560px){
  .pot-imgc .result-mini-actions{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:9px!important;
    width:100%;
  }
  .pot-imgc .result-action{
    min-width:0;
    font-size:10px;
  }
  .pot-imgc .result-action .round-btn,
  .pot-imgc .result-action .back-btn{
    width:44px!important;
    height:44px!important;
  }
}

/* Clean v1removed image picker: simple Select image file popup */
.pot-imgc .pot-v1removed-clean-dialog.v1-dialog{
  padding:18px!important;
  background:rgba(15,23,42,.58)!important;
  backdrop-filter:blur(8px);
  z-index:999999!important;
}
.pot-imgc .v1removed-clean-container.common-modal-container{
  width:min(720px,96vw)!important;
  height:auto!important;
  max-height:86vh!important;
  padding:0!important;
  border-radius:28px!important;
  overflow:hidden!important;
  background:#ffffff!important;
  border:1px solid rgba(15,23,42,.08)!important;
  box-shadow:0 30px 90px rgba(15,23,42,.28)!important;
}
.pot-imgc .v1removed-clean-header.common-modal-header{
  padding:22px 24px 16px!important;
  margin:0!important;
  border-bottom:1px solid #e5e7eb!important;
  background:linear-gradient(135deg,#ffffff,#f8fafc)!important;
}
.pot-imgc .v1removed-clean-header .common-header-top{
  margin-bottom:10px!important;
}
.pot-imgc .v1removed-clean-header h2{
  margin:0 44px 6px 0!important;
  font-size:clamp(24px,4vw,34px)!important;
  line-height:1.05!important;
  letter-spacing:-.04em!important;
  color:#0f172a!important;
  font-weight:950!important;
}
.pot-imgc .v1removed-clean-header p{
  margin:0!important;
  padding:0!important;
  color:#64748b!important;
  font-size:14px!important;
  font-weight:750!important;
}
.pot-imgc .v1removed-clean-panel.common-content-panel{
  display:block!important;
  padding:16px 18px 20px!important;
  overflow:hidden!important;
  background:#f8fafc!important;
}
.pot-imgc .v1removed-clean-panel .common-search-row{
  margin:0 0 14px!important;
  gap:10px!important;
}
.pot-imgc .v1removed-clean-panel .common-search-row input{
  height:46px!important;
  border-radius:16px!important;
  border:1px solid #dbe3ea!important;
  background:#fff!important;
  color:#0f172a!important;
  font-size:14px!important;
  font-weight:800!important;
}
.pot-imgc .v1removed-clean-panel .common-count{
  height:42px!important;
  display:inline-flex!important;
  align-items:center!important;
  background:#fff!important;
  border:1px solid #dbe3ea!important;
  color:#334155!important;
}
.pot-imgc .v1removed-clean-grid.common-asset-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(180px,1fr))!important;
  gap:12px!important;
  max-height:min(52vh,440px)!important;
  overflow:auto!important;
  padding:2px 4px 2px 2px!important;
}
.pot-imgc .v1removed-clean-grid .common-file-card{
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  padding:12px!important;
  border-radius:20px!important;
  border:1px solid #e2e8f0!important;
  background:#ffffff!important;
  box-shadow:0 12px 26px rgba(15,23,42,.06)!important;
  text-align:left!important;
}
.pot-imgc .v1removed-clean-grid .common-file-thumb{
  width:100%!important;
  height:132px!important;
  border-radius:16px!important;
  object-fit:cover!important;
  background:#eef2f7!important;
  border:1px solid #e5e7eb!important;
}
.pot-imgc .v1removed-clean-grid .common-file-info{
  display:grid!important;
  gap:7px!important;
}
.pot-imgc .v1removed-clean-grid .common-file-name{
  color:#0f172a!important;
  font-size:13px!important;
  line-height:1.25!important;
  font-weight:950!important;
  margin:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.pot-imgc .v1removed-clean-grid .common-file-info small{
  color:#64748b!important;
  font-size:12px!important;
  font-weight:800!important;
}
.pot-imgc .v1removed-clean-grid .picker-use{
  width:100%!important;
  height:42px!important;
  min-height:42px!important;
  border-radius:14px!important;
  background:#0b1220!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:950!important;
  box-shadow:none!important;
}
.pot-imgc .v1removed-clean-grid .picker-use:disabled{
  opacity:.68!important;
  cursor:wait!important;
}
.pot-imgc .v1removed-clean-grid .common-picker-empty,
.pot-imgc .v1removed-clean-grid .picker-loading{
  grid-column:1/-1!important;
  background:#fff!important;
  border:1px dashed #cbd5e1!important;
  border-radius:20px!important;
  padding:26px!important;
  text-align:center!important;
  display:grid!important;
  gap:8px!important;
  justify-items:center!important;
}
.tools-app.theme-dark .pot-imgc .v1removed-clean-container.common-modal-container,
body.dark-mode .pot-imgc .v1removed-clean-container.common-modal-container,
.dark .pot-imgc .v1removed-clean-container.common-modal-container{
  background:#111827!important;
  border-color:rgba(255,255,255,.10)!important;
}
.tools-app.theme-dark .pot-imgc .v1removed-clean-header.common-modal-header,
body.dark-mode .pot-imgc .v1removed-clean-header.common-modal-header,
.dark .pot-imgc .v1removed-clean-header.common-modal-header{
  background:linear-gradient(135deg,#111827,#0f172a)!important;
  border-color:rgba(255,255,255,.10)!important;
}
.tools-app.theme-dark .pot-imgc .v1removed-clean-header h2,
body.dark-mode .pot-imgc .v1removed-clean-header h2,
.dark .pot-imgc .v1removed-clean-header h2,
.tools-app.theme-dark .pot-imgc .v1removed-clean-grid .common-file-name,
body.dark-mode .pot-imgc .v1removed-clean-grid .common-file-name,
.dark .pot-imgc .v1removed-clean-grid .common-file-name{
  color:#f8fafc!important;
}
.tools-app.theme-dark .pot-imgc .v1removed-clean-header p,
body.dark-mode .pot-imgc .v1removed-clean-header p,
.dark .pot-imgc .v1removed-clean-header p,
.tools-app.theme-dark .pot-imgc .v1removed-clean-grid .common-file-info small,
body.dark-mode .pot-imgc .v1removed-clean-grid .common-file-info small,
.dark .pot-imgc .v1removed-clean-grid .common-file-info small{
  color:#aebbd0!important;
}
.tools-app.theme-dark .pot-imgc .v1removed-clean-panel.common-content-panel,
body.dark-mode .pot-imgc .v1removed-clean-panel.common-content-panel,
.dark .pot-imgc .v1removed-clean-panel.common-content-panel{
  background:#0f172a!important;
}
.tools-app.theme-dark .pot-imgc .v1removed-clean-panel .common-search-row input,
.tools-app.theme-dark .pot-imgc .v1removed-clean-panel .common-count,
.tools-app.theme-dark .pot-imgc .v1removed-clean-grid .common-file-card,
body.dark-mode .pot-imgc .v1removed-clean-panel .common-search-row input,
body.dark-mode .pot-imgc .v1removed-clean-panel .common-count,
body.dark-mode .pot-imgc .v1removed-clean-grid .common-file-card,
.dark .pot-imgc .v1removed-clean-panel .common-search-row input,
.dark .pot-imgc .v1removed-clean-panel .common-count,
.dark .pot-imgc .v1removed-clean-grid .common-file-card{
  background:#111827!important;
  border-color:rgba(255,255,255,.12)!important;
  color:#e5e7eb!important;
}
@media(max-width:640px){
  .pot-imgc .pot-v1removed-clean-dialog.v1-dialog{padding:0!important;align-items:flex-end!important;}
  .pot-imgc .v1removed-clean-container.common-modal-container{width:100%!important;max-height:88vh!important;border-radius:24px 24px 0 0!important;}
  .pot-imgc .v1removed-clean-grid.common-asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-height:56vh!important;}
  .pot-imgc .v1removed-clean-grid .common-file-thumb{height:118px!important;}
  .pot-imgc .v1removed-clean-panel .common-search-row{flex-direction:column!important;align-items:stretch!important;}
  .pot-imgc .v1removed-clean-panel .common-count{justify-content:center!important;width:100%!important;}
}
@media(max-width:420px){
  .pot-imgc .v1removed-clean-grid.common-asset-grid{grid-template-columns:1fr!important;}
}

/* Professional minimal v1removed import/export dialogs */
.pot-imgc .imgc-pro-modal.share-modal{background:rgba(15,23,42,.46)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);padding:20px!important;align-items:center!important;justify-content:center!important;}
.pot-imgc .imgc-pro-card{width:min(920px,calc(100vw - 32px));max-height:92dvh;display:flex;flex-direction:column;background:#fff;border:1px solid rgba(226,232,240,.95);border-radius:28px;box-shadow:0 32px 100px rgba(15,23,42,.26);overflow:hidden;position:relative;color:#0f172a;}
.pot-imgc .imgc-upload-card{width:min(980px,calc(100vw - 32px));}
.pot-imgc .imgc-modal-close{position:absolute;right:18px;top:18px;width:38px;height:38px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0;color:#475569;font-size:22px;line-height:1;cursor:pointer;z-index:3;}
.pot-imgc .imgc-modal-close:hover{background:#111827;color:#fff;border-color:#111827;}
.pot-imgc .imgc-pro-head{padding:24px 28px 18px;border-bottom:1px solid #edf1f6;background:#fff;padding-right:70px;}
.pot-imgc .imgc-brand-pill{display:inline-flex;align-items:center;gap:8px;color:#64748b;background:#f7f9fc;border:1px solid #edf1f6;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.055em;margin-bottom:12px;}
.pot-imgc .imgc-brand-pill span{width:8px;height:8px;border-radius:50%;background:#111827;display:inline-block;}
.pot-imgc .imgc-pro-head h2{font-size:28px;line-height:1.05;margin:0;letter-spacing:-.055em;color:#0f172a;font-weight:950;}
.pot-imgc .imgc-pro-head p{margin:8px 0 0;color:#64748b;font-size:14px;font-weight:650;}
.pot-imgc .imgc-pro-toolbar{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:14px 28px;border-bottom:1px solid #edf1f6;background:#fff;}
.pot-imgc .imgc-search{display:block;flex:1;min-width:220px;}
.pot-imgc .imgc-search input,.pot-imgc .imgc-destination input{width:100%;height:46px;border:1px solid #dfe7f1;border-radius:16px;background:#fbfcfe;color:#0f172a;padding:0 14px;outline:none;font-weight:750;}
.pot-imgc .imgc-search input:focus,.pot-imgc .imgc-destination input:focus{border-color:#111827;box-shadow:0 0 0 4px rgba(17,24,39,.06);background:#fff;}
.pot-imgc .imgc-pro-toolbar>div,.pot-imgc .imgc-pro-footer>div,.pot-imgc .imgc-folder-actions{display:flex;gap:8px;align-items:center;}
.pot-imgc .imgc-pro-toolbar button,.pot-imgc .imgc-folder-actions button,.pot-imgc .imgc-ghost-btn,.pot-imgc .imgc-primary-btn{height:44px;border-radius:15px;padding:0 15px;font-weight:900;cursor:pointer;transition:.18s ease;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;}
.pot-imgc .imgc-pro-toolbar button,.pot-imgc .imgc-folder-actions button,.pot-imgc .imgc-ghost-btn{border:1px solid #dfe7f1;background:#fff;color:#0f172a;}
.pot-imgc .imgc-primary-btn{border:1px solid #111827!important;background:#111827!important;color:#fff!important;box-shadow:0 14px 30px rgba(15,23,42,.18);}
.pot-imgc .imgc-pro-toolbar button:hover,.pot-imgc .imgc-folder-actions button:hover,.pot-imgc .imgc-ghost-btn:hover{background:#f8fafc;border-color:#cbd5e1;}
.pot-imgc .imgc-primary-btn:hover{transform:translateY(-1px);box-shadow:0 18px 38px rgba(15,23,42,.23);}
.pot-imgc .imgc-status-line{margin:0;padding:11px 28px;color:#64748b;background:#fbfcfe;border-bottom:1px solid #edf1f6;font-size:13px;font-weight:700;}
.pot-imgc .imgc-picker-list{padding:14px 28px;overflow:auto;max-height:50dvh;display:grid;gap:8px;background:#fbfcfe;}
.pot-imgc .imgc-picker-row{display:grid!important;grid-template-columns:26px 50px minmax(0,1fr);align-items:center;gap:12px;border:1px solid #e8edf4;background:#fff;border-radius:17px;padding:10px 12px;box-shadow:0 1px 2px rgba(15,23,42,.03);cursor:pointer;transition:.16s ease;min-width:0;}
.pot-imgc .imgc-picker-row:hover,.pot-imgc .imgc-picker-row:has(input:checked){border-color:#111827;box-shadow:0 10px 26px rgba(15,23,42,.08);transform:translateY(-1px);}
.pot-imgc .imgc-picker-row input,.pot-imgc .imgc-upload-file input{width:18px;height:18px;accent-color:#111827;}
.pot-imgc .imgc-picker-thumb{width:50px;height:50px;border-radius:14px;object-fit:cover;background:#f1f5f9;border:1px solid #edf1f6;display:block;}
.pot-imgc .imgc-thumb-empty{display:grid;place-items:center;color:#64748b;font-size:12px;font-weight:950;}
.pot-imgc .imgc-picker-row strong,.pot-imgc .imgc-upload-file strong{display:block;font-size:14px;color:#0f172a;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.pot-imgc .imgc-picker-row em,.pot-imgc .imgc-upload-file em{display:block;font-style:normal;font-size:12px;color:#64748b;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.pot-imgc .imgc-pro-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 28px;border-top:1px solid #edf1f6;background:#fff;}
.pot-imgc .imgc-selected-count{font-size:13px;font-weight:950;color:#475569;background:#f8fafc;border:1px solid #edf1f6;border-radius:999px;padding:9px 12px;}
.pot-imgc .imgc-empty-row{border:1px solid #e8edf4;background:#fff;border-radius:18px;padding:18px;color:#0f172a;display:grid;gap:6px;}
.pot-imgc .imgc-empty-row strong{font-size:15px;font-weight:950;}
.pot-imgc .imgc-empty-row span{font-size:13px;color:#64748b;font-weight:650;}
.pot-imgc .imgc-upload-body{display:grid;grid-template-columns:1fr;gap:16px;padding:18px 28px;overflow:auto;background:#fbfcfe;}
.pot-imgc .imgc-destination,.pot-imgc .imgc-output-box{border:1px solid #e8edf4;background:#fff;border-radius:22px;padding:18px;}
.pot-imgc .imgc-destination h3,.pot-imgc .imgc-output-box h3{font-size:17px;line-height:1.2;margin:0 0 14px;color:#0f172a;font-weight:950;letter-spacing:-.025em;}
.pot-imgc .imgc-destination label{display:grid;gap:7px;margin:0 0 12px;color:#64748b;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.04em;}
.pot-imgc .imgc-destination p{margin:10px 0;color:#64748b;font-size:13px;font-weight:650;}
.pot-imgc .imgc-folder-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px;max-height:210px;overflow:auto;}
.pot-imgc .imgc-folder-row{display:grid;grid-template-columns:34px minmax(0,1fr);gap:3px 10px;align-items:center;border:1px solid #e8edf4;background:#fff;border-radius:16px;padding:10px;text-align:left;cursor:pointer;color:#0f172a;transition:.16s ease;}
.pot-imgc .imgc-folder-row span{grid-row:1 / span 2;width:34px;height:34px;border-radius:12px;background:#f1f5f9;display:grid;place-items:center;}
.pot-imgc .imgc-folder-row b{font-size:14px;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.pot-imgc .imgc-folder-row em{font-style:normal;color:#64748b;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.pot-imgc .imgc-folder-row:hover,.pot-imgc .imgc-folder-row.active{border-color:#111827;box-shadow:0 10px 24px rgba(15,23,42,.08);}
.pot-imgc .imgc-upload-file{display:grid;grid-template-columns:26px 52px minmax(0,1fr);gap:12px;align-items:center;background:#fff;border:1px solid #e8edf4;border-radius:17px;padding:10px 12px;cursor:pointer;transition:.16s ease;}
.pot-imgc .imgc-upload-file:hover,.pot-imgc .imgc-upload-file:has(input:checked){border-color:#111827;box-shadow:0 10px 24px rgba(15,23,42,.08);}
.pot-imgc .imgc-file-thumb{width:52px;height:52px;border-radius:14px;background:#f1f5f9;border:1px solid #edf1f6;color:#475569;display:grid;place-items:center;font-size:12px;font-weight:950;}
@media(max-width:760px){.pot-imgc .imgc-pro-modal.share-modal{padding:0!important;align-items:flex-end!important;}.pot-imgc .imgc-pro-card{width:100%;max-height:94dvh;border-radius:24px 24px 0 0;}.pot-imgc .imgc-pro-head,.pot-imgc .imgc-pro-toolbar,.pot-imgc .imgc-status-line,.pot-imgc .imgc-picker-list,.pot-imgc .imgc-pro-footer,.pot-imgc .imgc-upload-body{padding-left:16px;padding-right:16px;}.pot-imgc .imgc-pro-toolbar,.pot-imgc .imgc-pro-footer{display:grid;grid-template-columns:1fr;}.pot-imgc .imgc-pro-toolbar>div,.pot-imgc .imgc-pro-footer>div{display:grid;grid-template-columns:1fr;}.pot-imgc .imgc-pro-toolbar button,.pot-imgc .imgc-pro-footer button{width:100%;}.pot-imgc .imgc-folder-list{grid-template-columns:1fr;}}

/* V1 upload source layout: no dropdown, cloud buttons under the main selector */
.pot-imgc .select-group{display:flex!important;justify-content:center!important;margin-bottom:14px!important;}
.pot-imgc .select-wrap,.pot-imgc .source-menu{display:none!important;}
.pot-imgc .source-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 auto 18px;width:min(620px,100%);}
.pot-imgc .source-options .source-item{width:100%;min-height:64px;border:1px solid var(--line);background:#fff;border-radius:17px;padding:11px 12px;display:flex;align-items:center;gap:10px;text-align:left;color:var(--text);cursor:pointer;box-shadow:0 10px 24px rgba(15,23,42,.05);transition:transform .18s ease,background .18s ease,border-color .18s ease;}
.pot-imgc .source-options .source-item:hover{transform:translateY(-2px);background:#f8fafc;border-color:#cbd5e1;}
.pot-imgc .source-options .source-icon{width:36px;height:36px;border-radius:13px;background:#f8fafc;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;flex:0 0 auto;font-weight:950;color:#0b1220;}
.pot-imgc .source-options .source-item strong{display:block;font-size:13px;font-weight:950;color:var(--text);}
.pot-imgc .source-options .source-item small{display:block;font-size:11px;font-weight:800;color:var(--muted);margin-top:2px;}
.pot-imgc .share-url-row button{min-width:86px;transition:transform .18s ease,background .18s ease,color .18s ease,border-color .18s ease;}
.pot-imgc .share-url-row button.copied{background:#16a34a!important;color:#fff!important;border-color:#16a34a!important;animation:potImgCopyPulse .55s ease both;}
.pot-imgc .share-url-row button.copy-failed{background:#ef4444!important;color:#fff!important;border-color:#ef4444!important;animation:potImgCopyShake .36s ease both;}
@keyframes potImgCopyPulse{0%{transform:scale(.96)}55%{transform:scale(1.06)}100%{transform:scale(1)}}
@keyframes potImgCopyShake{0%,100%{transform:translateX(0)}25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
@media(max-width:620px){.pot-imgc .source-options{grid-template-columns:1fr;}.pot-imgc .source-options .source-item{min-height:56px}.pot-imgc .select-main{width:100%;min-width:0;}}

/* V1 final: intro heading + two coming-soon cloud logos under selector */
.pot-imgc .imgc-intro{width:min(760px,100%);margin:0 auto 18px;text-align:center;display:grid;gap:8px;}
.pot-imgc .imgc-intro h1{margin:0;color:var(--dark);font-size:clamp(34px,5vw,56px);line-height:.95;letter-spacing:-.065em;font-weight:950;}
.pot-imgc .imgc-intro p{margin:0 auto;color:var(--muted);font-size:15px;line-height:1.62;font-weight:750;max-width:660px;}
.pot-imgc .source-options{grid-template-columns:repeat(2,minmax(0,1fr))!important;width:min(460px,100%)!important;}
.pot-imgc .source-options .source-cloud{cursor:not-allowed;position:relative;}
.pot-imgc .source-options .source-cloud:hover{transform:none!important;background:#fff!important;border-color:var(--line)!important;}
.pot-imgc .source-options .source-icon{background:#fff!important;overflow:hidden;}
.pot-imgc .source-options .brand-svg{width:25px!important;height:25px!important;display:block;}
.pot-imgc .source-options .source-google .brand-svg{width:27px!important;height:24px!important;}
.pot-imgc .source-options .source-dropbox .brand-svg{width:28px!important;height:24px!important;}
.pot-imgc .source-options .source-coming small{color:#2563eb!important;font-weight:950!important;}
@media(max-width:620px){.pot-imgc .source-options{grid-template-columns:1fr!important;width:100%!important}.pot-imgc .imgc-intro{margin-bottom:14px}.pot-imgc .imgc-intro h1{font-size:34px}.pot-imgc .imgc-intro p{font-size:14px}}


/* V1 compact cloud source buttons: simple logos + coming soon */
.pot-imgc .source-options{grid-template-columns:repeat(2,minmax(0,1fr))!important;width:min(380px,100%)!important;gap:9px!important;margin-bottom:16px!important;}
.pot-imgc .source-options .source-cloud{min-height:52px!important;padding:9px 11px!important;border-radius:15px!important;box-shadow:none!important;background:#fff!important;cursor:not-allowed!important;}
.pot-imgc .source-options .source-icon{width:32px!important;height:32px!important;border-radius:10px!important;border:0!important;background:#f8fafc!important;}
.pot-imgc .source-options .brand-svg{width:22px!important;height:22px!important;display:block!important;}
.pot-imgc .source-options .drive-simple{width:23px!important;height:23px!important;}
.pot-imgc .source-options .dropbox-simple{width:23px!important;height:23px!important;}
.pot-imgc .source-options .source-item strong{font-size:12.5px!important;line-height:1.05!important;}
.pot-imgc .source-options .source-coming small{font-size:10.5px!important;color:#2563eb!important;font-weight:950!important;text-transform:uppercase;letter-spacing:.035em;}
@media(max-width:620px){.pot-imgc .source-options{grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important}.pot-imgc .source-options .source-cloud{justify-content:center!important}.pot-imgc .source-options .source-item span:last-child{text-align:left}}

/* V1 mobile polish: keep design, improve compressor spacing on phones */
@media(max-width:720px){
  .pot-imgc .pic-center{width:100%!important;padding:8px 0 12px!important;}
  .pot-imgc .compact-start{min-height:auto!important;}
  .pot-imgc .imgc-intro{margin-bottom:12px!important;gap:6px!important;padding:0 2px!important;}
  .pot-imgc .imgc-intro h1{font-size:30px!important;letter-spacing:-.045em!important;line-height:1!important;}
  .pot-imgc .imgc-intro p{font-size:13px!important;line-height:1.45!important;max-width:340px!important;}
  .pot-imgc .upload-card{padding:12px!important;border-radius:18px!important;}
  .pot-imgc .select-main{height:54px!important;font-size:15px!important;border-radius:16px!important;}
  .pot-imgc .source-options{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-bottom:12px!important;width:100%!important;}
  .pot-imgc .source-options .source-cloud{min-height:58px!important;padding:8px!important;display:grid!important;grid-template-columns:1fr!important;justify-items:center!important;text-align:center!important;gap:5px!important;}
  .pot-imgc .source-options .source-icon{width:30px!important;height:30px!important;}
  .pot-imgc .source-options .brand-svg{width:21px!important;height:21px!important;}
  .pot-imgc .source-options .source-item strong{font-size:11px!important;}
  .pot-imgc .source-options .source-coming small{font-size:9.5px!important;letter-spacing:.025em!important;}
  .pot-imgc .drop-zone{min-height:176px!important;border-radius:16px!important;}
  .pot-imgc .upload-empty h3{font-size:18px!important;margin-bottom:4px!important;}
  .pot-imgc .upload-empty p{font-size:12px!important;line-height:1.45!important;}
}
@media(max-width:420px){
  .pot-imgc .imgc-intro h1{font-size:28px!important;}
  .pot-imgc .drop-zone{min-height:160px!important;}
}


/* Mobile workflow repair - no floating add button */
.pot-imgc .step-two-head.slim{display:none!important;}
.pot-imgc .pic-screen[hidden],.pot-imgc .loader-screen[hidden]{display:none!important;}
.pot-imgc .pic-screen.active{display:block!important;}
.pot-imgc .loader-screen.active{display:flex!important;}
@media(max-width:560px){
  .pot-imgc{width:100%;overflow-x:hidden;}
  .pot-imgc .step-two-wrap{width:100%;padding:0 0 28px;}
  .pot-imgc .preview-shell{padding:10px;border-radius:18px;margin-bottom:12px;}
  .pot-imgc .preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .pot-imgc .preview-card{padding:8px;border-radius:16px;}
  .pot-imgc .preview-card img{height:112px;border-radius:12px;}
  .pot-imgc .settings-bottom{border-radius:18px;padding:12px;}
  .pot-imgc .level-grid{grid-template-columns:1fr;gap:8px;margin-bottom:12px;}
  .pot-imgc .level-option{padding:12px;border-radius:15px;}
  .pot-imgc .control-grid{grid-template-columns:1fr;gap:10px;}
  .pot-imgc .compress-btn{height:54px;border-radius:16px;}
  .pot-imgc .result-wrap{width:100%;padding:8px 0 28px;}
  .pot-imgc .download-main{min-width:0;width:100%;}
}

/* Pack of Tools minimal visual cleanup */
.pot-imgc:before,.pot-imgc:after{display:none!important;content:none!important}
.pot-imgc{background:transparent!important}


/* IQ200 share modal overlay fix - do not change tool design */
.pot-imgc .share-modal,
.pot-editor .share-modal{
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
  display:none!important;
  align-items:center!important;
  justify-content:center!important;
  padding:18px!important;
  background:rgba(15,23,42,.55)!important;
}
.pot-imgc .share-modal.show,
.pot-imgc .share-modal.active,
.pot-editor .share-modal.show,
.pot-editor .share-modal.active{
  display:flex!important;
}
.pot-imgc .share-panel,
.pot-editor .share-panel{
  position:relative!important;
  z-index:1!important;
  width:min(520px,100%)!important;
  max-height:calc(100vh - 36px)!important;
  overflow:auto!important;
  margin:0!important;
}
body.tools-dark .pot-imgc .share-modal,
body.tools-dark .pot-editor .share-modal,
body[data-theme="dark"] .pot-imgc .share-modal,
body[data-theme="dark"] .pot-editor .share-modal,
html[data-theme="dark"] .pot-imgc .share-modal,
html[data-theme="dark"] .pot-editor .share-modal{
  background:rgba(2,6,23,.72)!important;
}
