.thp-compressor-app { --thp-recents-width:0px; grid-template-columns:var(--thp-rail-width) minmax(0,1fr); background:var(--thp-bg); }
.thp-compressor-app .thp-rail { background:var(--thp-sidebar); }
.thp-compressor-app .thp-rail__mark { text-decoration:none; }
.thp-compressor-app .thp-rail__item b { font-size:9px; }
.thp-compressor-main { grid-column:2; min-height:100vh; padding:8px 18px 70px; background:var(--thp-bg); overflow:visible; }

.thp-compressor-header { min-height:78px; padding:13px 18px; display:flex; align-items:center; justify-content:space-between; gap:22px; border-radius:18px; background:var(--thp-panel); }
.thp-compressor-header h1 { margin:3px 0 0; color:var(--thp-text); font-size:24px; line-height:1.35; font-weight:900; }
.thp-compressor-header p { margin:3px 0 0; color:var(--thp-muted); font-size:11px; }
.thp-compressor-back { display:inline-flex; align-items:center; gap:4px; color:var(--thp-purple) !important; font-size:10px; font-weight:800; text-decoration:none; }
.thp-compressor-back svg { width:14px; height:14px; transform:rotate(180deg); }
.thp-compressor-header__actions { display:flex; align-items:center; gap:10px; }
.thp-compressor-private { min-height:34px; padding:0 12px; display:inline-flex; align-items:center; gap:6px; border-radius:999px; background:color-mix(in srgb,#13a36e 11%,var(--thp-panel)); color:#08794f; font-size:10px; font-weight:800; }
.thp-compressor-private svg { width:15px; height:15px; }

.thp-compressor-hero { min-height:170px; margin-top:14px; padding:27px 34px; overflow:hidden; position:relative; display:flex; align-items:center; justify-content:space-between; gap:25px; border-radius:21px; background:linear-gradient(115deg,#dff5f4 0%,#f7f7f8 50%,#e7f3ff 100%); }
.thp-compressor-hero::after { content:""; position:absolute; width:230px; height:230px; left:-55px; bottom:-130px; border-radius:50%; background:rgba(255,255,255,.58); }
.thp-compressor-hero > div { position:relative; z-index:1; }
.thp-compressor-hero > div > span { display:inline-block; margin-bottom:7px; color:#087f91; font-size:10px; font-weight:900; }
.thp-compressor-hero h2 { margin:0; color:#20202a; font-size:30px; line-height:1.45; font-weight:950; }
.thp-compressor-hero p { margin:5px 0 0; color:#514e59; font-size:12px; }
.thp-compressor-hero__icon { position:relative; z-index:1; width:88px; height:88px; flex:0 0 auto; display:grid; place-items:center; border-radius:25px; background:rgba(255,255,255,.82); color:#159db0; box-shadow:0 16px 38px rgba(35,111,127,.13); transform:rotate(-4deg); }
.thp-compressor-hero__icon svg { width:43px; height:43px; }

.thp-compress-workspace { margin-top:16px; display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:16px; align-items:start; }
.thp-compress-upload-card,.thp-compress-settings,.thp-compress-result { padding:20px; border:1px solid var(--thp-line); border-radius:18px; background:var(--thp-panel); }
.thp-compress-settings { position:sticky; top:16px; }
.admin-bar .thp-compress-settings { top:48px; }
.thp-compress-card-head > div > span { color:#0b899c; font-size:9px; font-weight:900; }
.thp-compress-card-head h2 { margin:3px 0 0; color:var(--thp-text); font-size:17px; line-height:1.5; font-weight:900; }
.thp-compress-card-head p { margin:3px 0 0; color:var(--thp-muted); font-size:10px; }

.thp-compress-drop { min-height:330px; margin-top:18px; padding:28px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:9px; border:2px dashed color-mix(in srgb,#159db0 42%,var(--thp-line)); border-radius:16px; background:color-mix(in srgb,#159db0 4%,var(--thp-panel)); text-align:center; cursor:pointer; transition:.18s ease; }
.thp-compress-drop:hover,.thp-compress-drop.is-dragging { border-color:#159db0; background:color-mix(in srgb,#159db0 9%,var(--thp-panel)); transform:translateY(-1px); }
.thp-compress-drop input { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.thp-compress-drop > span { width:58px; height:58px; display:grid; place-items:center; border-radius:50%; background:linear-gradient(135deg,#159db0,#247bd8); color:#fff; box-shadow:0 10px 24px rgba(21,157,176,.2); }
.thp-compress-drop > span svg { width:28px; height:28px; }
.thp-compress-drop strong { color:var(--thp-text); font-size:13px; font-weight:900; }
.thp-compress-drop small { color:var(--thp-muted); font-size:9px; }

.thp-compress-file { margin-top:12px; padding:12px; display:grid; grid-template-columns:42px minmax(0,1fr) 30px; align-items:center; gap:10px; border:1px solid var(--thp-line); border-radius:13px; background:var(--thp-bg); }
.thp-compress-file[hidden] { display:none !important; }
.thp-compress-file > span { width:42px; height:42px; display:grid; place-items:center; border-radius:11px; background:#ffe2e6; color:#e73851; }
.thp-compress-file > span svg { width:22px; height:22px; }
.thp-compress-file > div { min-width:0; display:grid; gap:4px; }
.thp-compress-file b { overflow:hidden; color:var(--thp-text); font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.thp-compress-file small { display:flex; flex-wrap:wrap; gap:8px; color:var(--thp-muted); font-size:8px; }
.thp-compress-file small i { font-style:normal; }
.thp-compress-file small .thp-compress-kind { padding:2px 6px; border-radius:999px; background:color-mix(in srgb,#159db0 10%,var(--thp-panel)); color:#087f91; font-weight:800; }
.thp-compress-file small .thp-compress-kind[hidden] { display:none !important; }
.thp-compress-file button { width:30px; height:30px; padding:0; border:0; border-radius:8px; background:var(--thp-soft); color:var(--thp-text); cursor:pointer; font-size:20px; line-height:1; }

.thp-compress-levels { margin-top:16px; display:grid; gap:8px; }
.thp-compress-levels label { min-height:60px; padding:10px 12px; position:relative; display:flex; align-items:center; gap:9px; border:1px solid var(--thp-line); border-radius:12px; cursor:pointer; }
.thp-compress-levels label:has(input:checked) { border-color:#159db0; background:color-mix(in srgb,#159db0 7%,var(--thp-panel)); box-shadow:0 0 0 2px color-mix(in srgb,#159db0 11%,transparent); }
.thp-compress-levels label.is-unavailable { opacity:.58; cursor:not-allowed; background:var(--thp-soft); box-shadow:none; }
.thp-compress-levels label.is-unavailable:has(input:checked) { border-color:var(--thp-line); box-shadow:none; }
.thp-compress-levels label.is-analyzing { cursor:progress; }
.thp-compress-levels label.is-recommended { padding-left:68px; }
.thp-compress-levels input { accent-color:#159db0; }
.thp-compress-levels label > span { display:grid; gap:2px; }
.thp-compress-levels b { color:var(--thp-text); font-size:10px; }
.thp-compress-levels small { color:var(--thp-muted); font-size:8px; }
.thp-compress-levels strong { margin-top:4px; color:#087f91; font-size:9px; line-height:1.5; font-weight:900; }
.thp-compress-levels label.is-unavailable strong { color:#b25d17; }
.thp-compress-levels em { position:absolute; left:9px; top:8px; padding:3px 6px; border-radius:999px; background:#dff6eb; color:#08794f; font-size:7px; font-style:normal; font-weight:900; }
.thp-compress-levels em[hidden] { display:none !important; }
.thp-compress-submit { width:100%; min-height:49px; margin-top:17px; padding:0 15px; border:0; border-radius:12px; display:flex; align-items:center; justify-content:center; gap:8px; background:linear-gradient(135deg,#087f91,#159db0); color:#fff; cursor:pointer; font-size:11px; font-weight:900; box-shadow:0 8px 20px rgba(21,157,176,.2); }
.thp-compress-submit:disabled { opacity:.45; cursor:not-allowed; box-shadow:none; }
.thp-compress-submit svg { width:20px; height:20px; }
.thp-compress-progress { margin-top:13px; }
.thp-compress-progress[hidden] { display:none !important; }
.thp-compress-progress > span { height:7px; overflow:hidden; display:block; border-radius:999px; background:var(--thp-soft); }
.thp-compress-progress > span i { width:0; height:100%; display:block; border-radius:inherit; background:linear-gradient(90deg,#159db0,#7d2ae8); transition:width .2s ease; }
.thp-compress-progress p,.thp-compress-status { margin:6px 0 0; color:var(--thp-muted); text-align:center; font-size:8px; line-height:1.7; }
.thp-compress-status.is-error { color:#d52f48; }
.thp-compress-status.is-success { color:#0b8c5a; }
.thp-compress-status.is-warning { color:#b25d17; }

.thp-compress-result { margin-top:16px; }
.thp-compress-result[hidden] { display:none !important; }
.thp-compress-result > header { display:flex; align-items:center; gap:11px; }
.thp-compress-result > header > span { width:44px; height:44px; flex:0 0 auto; display:grid; place-items:center; border-radius:50%; background:#dff6eb; color:#08794f; }
.thp-compress-result > header > span svg { width:23px; height:23px; }
.thp-compress-result h2 { margin:0; color:var(--thp-text); font-size:18px; font-weight:900; }
.thp-compress-result header p { margin:3px 0 0; color:var(--thp-muted); font-size:9px; }
.thp-compress-result__stats { margin-top:16px; display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.thp-compress-result__stats > div { padding:13px; display:grid; gap:5px; border-radius:12px; background:var(--thp-bg); }
.thp-compress-result__stats span { color:var(--thp-muted); font-size:8px; }
.thp-compress-result__stats b { color:var(--thp-text); font-size:14px; }
.thp-compress-result__actions { margin-top:15px; display:flex; gap:8px; }
.thp-compress-result__actions button { min-height:43px; padding:0 16px; border:1px solid var(--thp-line); border-radius:11px; display:inline-flex; align-items:center; justify-content:center; gap:7px; background:var(--thp-panel); color:var(--thp-text); cursor:pointer; font-size:9px; font-weight:900; }
.thp-compress-result__actions button:first-child { border:0; background:linear-gradient(135deg,#087f91,#159db0); color:#fff; }
.thp-compress-result__actions button[hidden] { display:none !important; }
.thp-compress-result__actions svg { width:18px; height:18px; }
.thp-compress-note { margin:12px 3px 0; color:var(--thp-muted); font-size:8px; line-height:1.9; }

html body.tesoroz-compressor-active .thp-compress-levels small,
html body.tesoroz-compressor-active .thp-compress-progress p,
html body.tesoroz-compressor-active .thp-compress-status,
html body.tesoroz-compressor-active .thp-compress-note { color:#55515f !important; -webkit-text-fill-color:#55515f !important; opacity:1 !important; }
html body.tesoroz-compressor-active .thp-compress-levels strong { color:#087f91 !important; -webkit-text-fill-color:#087f91 !important; opacity:1 !important; }
html body.tesoroz-compressor-active .thp-compress-levels label.is-unavailable strong,
html body.tesoroz-compressor-active .thp-compress-status.is-warning { color:#9a4c0d !important; -webkit-text-fill-color:#9a4c0d !important; }
html body.tesoroz-compressor-active .thp-compress-status.is-error { color:#c9223d !important; -webkit-text-fill-color:#c9223d !important; }
html body.tesoroz-compressor-active .thp-compress-status.is-success { color:#08794f !important; -webkit-text-fill-color:#08794f !important; }

.tesoroz-dark-theme .thp-compressor-hero,.tesoroz-car-dark-theme .thp-compressor-hero { background:linear-gradient(115deg,#1d3d3d 0%,#25262a 50%,#21354a 100%); }
.tesoroz-dark-theme .thp-compressor-hero h2,.tesoroz-car-dark-theme .thp-compressor-hero h2 { color:#fff; }
.tesoroz-dark-theme .thp-compressor-hero p,.tesoroz-car-dark-theme .thp-compressor-hero p { color:#d0cfd5; }
.tesoroz-dark-theme .thp-compressor-hero__icon,.tesoroz-car-dark-theme .thp-compressor-hero__icon { background:rgba(35,36,40,.82); }
.tesoroz-dark-theme .thp-compressor-private,.tesoroz-car-dark-theme .thp-compressor-private { color:#78e0b8; }

html body.tesoroz-compressor-active .thp-compressor-header p { color:#55515f !important; -webkit-text-fill-color:#55515f !important; opacity:1 !important; }
html body.tesoroz-compressor-active .thp-compressor-private { color:#08794f !important; -webkit-text-fill-color:#08794f !important; opacity:1 !important; }
html body.tesoroz-compressor-active .thp-compressor-hero h2,
html body.tesoroz-compressor-active .thp-compress-card-head h2,
html body.tesoroz-compressor-active .thp-compress-drop strong { color:#20202a !important; -webkit-text-fill-color:#20202a !important; opacity:1 !important; }
html body.tesoroz-compressor-active .thp-compressor-hero p,
html body.tesoroz-compressor-active .thp-compress-card-head p,
html body.tesoroz-compressor-active .thp-compress-drop small { color:#55515f !important; -webkit-text-fill-color:#55515f !important; opacity:1 !important; }
html.tesoroz-dark-theme body.tesoroz-compressor-active .thp-compressor-header p,
html.tesoroz-car-dark-theme body.tesoroz-compressor-active .thp-compressor-header p,
html.tesoroz-dark-theme body.tesoroz-compressor-active .thp-compressor-hero p,
html.tesoroz-car-dark-theme body.tesoroz-compressor-active .thp-compressor-hero p,
html.tesoroz-dark-theme body.tesoroz-compressor-active .thp-compress-card-head p,
html.tesoroz-car-dark-theme body.tesoroz-compressor-active .thp-compress-card-head p,
html.tesoroz-dark-theme body.tesoroz-compressor-active .thp-compress-drop small,
html.tesoroz-car-dark-theme body.tesoroz-compressor-active .thp-compress-drop small { color:#cbc8d2 !important; -webkit-text-fill-color:#cbc8d2 !important; }
html.tesoroz-dark-theme body.tesoroz-compressor-active .thp-compressor-private,
html.tesoroz-car-dark-theme body.tesoroz-compressor-active .thp-compressor-private { color:#78e0b8 !important; -webkit-text-fill-color:#78e0b8 !important; }
html.tesoroz-dark-theme body.tesoroz-compressor-active .thp-compress-levels small,
html.tesoroz-car-dark-theme body.tesoroz-compressor-active .thp-compress-levels small,
html.tesoroz-dark-theme body.tesoroz-compressor-active .thp-compress-progress p,
html.tesoroz-car-dark-theme body.tesoroz-compressor-active .thp-compress-progress p,
html.tesoroz-dark-theme body.tesoroz-compressor-active .thp-compress-status,
html.tesoroz-car-dark-theme body.tesoroz-compressor-active .thp-compress-status,
html.tesoroz-dark-theme body.tesoroz-compressor-active .thp-compress-note,
html.tesoroz-car-dark-theme body.tesoroz-compressor-active .thp-compress-note { color:#cbc8d2 !important; -webkit-text-fill-color:#cbc8d2 !important; opacity:1 !important; }
html.tesoroz-dark-theme body.tesoroz-compressor-active .thp-compress-levels strong,
html.tesoroz-car-dark-theme body.tesoroz-compressor-active .thp-compress-levels strong { color:#70d5e3 !important; -webkit-text-fill-color:#70d5e3 !important; }
html.tesoroz-dark-theme body.tesoroz-compressor-active .thp-compress-levels label.is-unavailable strong,
html.tesoroz-car-dark-theme body.tesoroz-compressor-active .thp-compress-levels label.is-unavailable strong,
html.tesoroz-dark-theme body.tesoroz-compressor-active .thp-compress-status.is-warning,
html.tesoroz-car-dark-theme body.tesoroz-compressor-active .thp-compress-status.is-warning { color:#f5b46f !important; -webkit-text-fill-color:#f5b46f !important; }
html.tesoroz-dark-theme body.tesoroz-compressor-active .thp-compress-status.is-success,
html.tesoroz-car-dark-theme body.tesoroz-compressor-active .thp-compress-status.is-success { color:#78e0b8 !important; -webkit-text-fill-color:#78e0b8 !important; }
html.tesoroz-dark-theme body.tesoroz-compressor-active .thp-compressor-hero h2,
html.tesoroz-car-dark-theme body.tesoroz-compressor-active .thp-compressor-hero h2,
html.tesoroz-dark-theme body.tesoroz-compressor-active .thp-compress-card-head h2,
html.tesoroz-car-dark-theme body.tesoroz-compressor-active .thp-compress-card-head h2,
html.tesoroz-dark-theme body.tesoroz-compressor-active .thp-compress-drop strong,
html.tesoroz-car-dark-theme body.tesoroz-compressor-active .thp-compress-drop strong { color:#fff !important; -webkit-text-fill-color:#fff !important; }

@media (max-width:900px) {
  .thp-compress-workspace{grid-template-columns:1fr}.thp-compress-settings{position:static}.thp-compress-drop{min-height:250px}
}
@media (max-width:700px) {
  .thp-compressor-main{padding:8px 8px 90px}.thp-compressor-app .thp-rail__profile{display:none}.thp-compressor-header{min-height:68px;padding:11px 13px}.thp-compressor-header h1{font-size:20px}.thp-compressor-header p{display:none}.thp-compressor-private{display:none}.thp-compressor-hero{min-height:140px;padding:22px 18px}.thp-compressor-hero h2{font-size:24px}.thp-compressor-hero p{font-size:10px}.thp-compressor-hero__icon{width:66px;height:66px;border-radius:19px}.thp-compressor-hero__icon svg{width:32px;height:32px}.thp-compress-upload-card,.thp-compress-settings,.thp-compress-result{padding:15px}.thp-compress-result__stats{grid-template-columns:1fr}.thp-compress-result__actions{display:grid}
}
@media (max-width:420px) {
  .thp-compressor-hero__icon{display:none}.thp-compress-drop{min-height:210px;padding:18px}
}
