@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');
:root{--bg:#080e17;--panel:#101b2a;--line:#24354a;--text:#edf4ff;--muted:#8ea2bb;--teal:#25d7a5;--blue:#42bfff;--red:#ff6e85}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px 'DM Sans',sans-serif;min-height:100vh;overflow-x:hidden}.glow{position:fixed;z-index:-1;pointer-events:none;filter:blur(95px);opacity:.14;border-radius:50%;animation:float 12s ease-in-out infinite alternate}.g1{width:440px;height:440px;background:#087fc5;right:8%;top:-230px}.g2{width:300px;height:300px;background:#00b68b;bottom:-180px;left:30%}.sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:linear-gradient(180deg,#0d1725f5,#0a121ff5);border-right:1px solid #1d2a3c;padding:24px 15px 16px;display:flex;flex-direction:column;z-index:20;backdrop-filter:blur(18px)}.brand{display:flex;align-items:center;gap:12px;padding:0 9px 25px;border-bottom:1px solid #1d2a3c;text-decoration:none;color:var(--text)}.brand-icon{display:grid;place-items:center;width:39px;height:39px;border:1px solid #1b4864;border-radius:12px;background:#102b40;color:var(--blue);font-size:25px}.brand b{display:block;font:700 15px 'Space Grotesk'}.brand small{display:block;font-size:9px;letter-spacing:1.7px;color:#687f99;margin-top:4px}.nav-label{font-size:10px;font-weight:700;letter-spacing:1.7px;color:#627891;padding:27px 12px 12px}.sidebar nav{display:grid;gap:5px}.nav-item{display:flex;align-items:center;gap:13px;padding:13px;border-radius:11px;text-decoration:none;color:#91a5be;transition:.25s;position:relative}.nav-item>span{width:18px;text-align:center;font-size:17px;color:#8198b3}.nav-item:hover{background:#15263a;color:white;transform:translateX(2px)}.nav-item.active{background:linear-gradient(100deg,#16394a,#14283b);box-shadow:inset 3px 0 var(--teal);color:#f3fbff}.nav-item.active>span{color:var(--teal)}.nav-item em{font-style:normal;margin-left:auto;font-size:10px;padding:3px 7px;border-radius:6px;background:#0c5c50;color:#75f1cf}.sidebar-bottom{margin-top:auto}.health{display:flex;gap:10px;align-items:center;padding:13px 10px;border:1px solid #1b4139;background:#0e211f;border-radius:12px;margin-bottom:15px}.pulse,.connected i,.live i{width:7px;height:7px;border-radius:50%;background:var(--teal);display:inline-block;box-shadow:0 0 0 4px #25d7a51c;flex-shrink:0;animation:pulse 2s infinite}.health b{font-size:11px;color:#a9f2db;display:block}.health small{font-size:10px;color:#688d86;display:block;margin-top:5px}.profile{display:flex;align-items:center;gap:10px;border-top:1px solid #1d2a3c;padding:16px 4px 0}.avatar{width:37px;height:37px;display:grid;place-items:center;border:1px solid #42718f;border-radius:50%;background:linear-gradient(145deg,#284961,#182a40);font-size:11px;font-weight:700}.profile b{font-size:12px;display:block}.profile small{font-size:10px;color:var(--muted);display:block;margin-top:4px}.logout{margin-left:auto;color:#8ba0b9;font-size:19px}.main{margin-left:250px;width:calc(100% - 250px)}.topbar{height:66px;position:sticky;top:0;z-index:10;background:#0a111dcc;backdrop-filter:blur(18px);border-bottom:1px solid #1d2a3c;display:flex;align-items:center;justify-content:space-between;padding:0 32px}.crumb{display:flex;align-items:center;gap:13px;color:#8499b2;font-size:12px}.crumb span{color:#4d6279}.crumb b{color:#eaf2fc}.top-right{display:flex;align-items:center;gap:17px}.connected{display:flex;align-items:center;gap:9px;color:#a9efda;background:#0e2926;border:1px solid #1b574b;padding:9px 12px;border-radius:10px;font-size:11px}.connected i{width:7px;height:7px}.divider{height:26px;width:1px;background:var(--line)}.avatar.small{width:34px;height:34px}.mobile-menu{display:none}.content{max-width:1600px;margin:auto;padding:38px 32px 22px}.heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{font-size:10px;letter-spacing:1.8px;color:#718ba5;font-weight:700;display:flex;align-items:center;gap:9px}.eyebrow i{height:2px;width:17px;background:var(--teal);box-shadow:0 0 10px #25d7a580}h1{font:700 clamp(28px,3vw,36px) 'Space Grotesk';letter-spacing:-1.2px;margin:10px 0 7px}h1 span{color:var(--teal)}.heading p,.panel-head p{margin:0;color:var(--muted);font-size:13px}.btn{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 15px;border:1px solid transparent;border-radius:10px;font:600 12px 'DM Sans';white-space:nowrap;cursor:pointer;transition:transform .22s,box-shadow .22s,border-color .22s,background .22s}.btn:hover{transform:translateY(-2px)}.btn:active{transform:scale(.98)}.primary{color:#04271f;background:linear-gradient(110deg,#26d9a7,#12b98f);box-shadow:0 8px 25px #11c99a20}.primary:hover{box-shadow:0 10px 30px #11c99a45}.shine{position:absolute;top:-20%;bottom:-20%;left:-40px;width:22px;transform:rotate(20deg);background:#fff8;filter:blur(4px);animation:shine 4s infinite}.ghost{color:#b5c5d8;background:#121f2f;border-color:#2a3d53}.ghost:hover{background:#1a2b40;border-color:#3d5774;color:white}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:23px}.stat{padding:18px 19px 14px;border:1px solid #23354a;background:linear-gradient(135deg,#111e2d,#0f1927);border-radius:15px;position:relative;overflow:hidden;transition:transform .3s,border-color .3s,box-shadow .3s}.stat:after{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 100% 0,#ffffff08,transparent 50%)}.stat:hover{transform:translateY(-4px);border-color:#395671;box-shadow:0 16px 35px #0003}.stat-top{display:flex;align-items:center;justify-content:space-between}.stat-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:11px;font-size:18px;border:1px solid #ffffff0b}.blue{color:#42c0ff;background:#122b40}.violet{color:#b4a2ff;background:#272342}.green{color:#35e2ae;background:#10342f}.red{color:#ff7287;background:#3a202d}.trend{color:#38dca9;font-size:10px;font-weight:700}.trend.down{color:#ff7a8c}.stat>small{display:block;color:#91a5bd;font-size:11px;margin-top:15px}.stat strong{display:block;font:700 28px 'Space Grotesk';letter-spacing:-.6px;margin-top:3px}.stat sub{font:500 13px 'DM Sans';color:#9cafc4}.stat-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#6e829b;font-size:10px;margin-top:13px}.bars{display:flex;align-items:flex-end;gap:3px;height:18px}.bars i{width:4px;border-radius:3px;background:#27d9a5;opacity:.7;animation:bar 1.2s ease-in-out infinite alternate}.bars i:nth-child(1){height:6px}.bars i:nth-child(2){height:12px;animation-delay:.1s}.bars i:nth-child(3){height:8px;animation-delay:.2s}.bars i:nth-child(4){height:15px;animation-delay:.3s}.bars i:nth-child(5){height:10px;animation-delay:.4s}.bars i:nth-child(6){height:17px;animation-delay:.5s}.bars i:nth-child(7){height:13px;animation-delay:.6s}.bars i:nth-child(8){height:18px;animation-delay:.7s}.storage{height:5px;flex:1;max-width:105px;background:#26364a;border-radius:8px;overflow:hidden}.storage i{display:block;width:64%;height:100%;background:linear-gradient(90deg,#8a79ff,#42c0ff);border-radius:8px;animation:grow 1.2s ease both}.tiny-green,.tiny-red{width:6px;height:6px;border-radius:50%;display:inline-block;background:var(--teal);box-shadow:0 0 9px #25d7a5}.tiny-red{background:var(--red);box-shadow:0 0 9px #ff6e85}.panel{border:1px solid #25374c;border-radius:17px;background:linear-gradient(145deg,#101b2aee,#0e1826f7);box-shadow:0 24px 80px #0003;overflow:hidden}.panel-head{padding:23px 24px 19px;display:flex;align-items:center;justify-content:space-between;gap:15px}.panel-title{display:flex;align-items:center;gap:12px}.panel-title h2{font:600 19px 'Space Grotesk';margin:0 0 6px}.live{display:inline-flex;align-items:center;gap:6px;font-size:9px;letter-spacing:.8px;color:#6be9c6;background:#0e2b28;border:1px solid #1c5147;padding:5px 8px;border-radius:6px}.live i{width:5px;height:5px;box-shadow:none}.panel-head p{font-size:11px}.toolbar{display:flex;align-items:center;gap:10px;padding:0 24px 17px}.search,.filter{height:41px;display:flex;align-items:center;gap:10px;border:1px solid #293c53;background:#0d1725;border-radius:10px;color:#8298b1;padding:0 12px;transition:border-color .2s,box-shadow .2s}.search{width:min(360px,38%)}.search:focus-within,.filter:focus-within{border-color:#278a9b;box-shadow:0 0 0 3px #24d7b20e}.search input{width:100%;min-width:0;background:transparent;border:0;outline:0;color:#e8f4ff;font-size:12px}.search input::placeholder{color:#6e839d}.search kbd{font-size:10px;border:1px solid #30435a;border-radius:4px;padding:2px 6px;color:#6e839d;background:#152235}.filter{width:170px}.filter select{width:100%;background:transparent;border:0;outline:0;color:#b8c8db;font-size:12px;appearance:none}.filter option{background:#101b2a}.refresh{margin-left:auto;height:41px}.refresh.loading{pointer-events:none}.refresh.loading:first-letter{display:inline-block;animation:spin .7s linear infinite}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}thead{background:#131f2f;border-top:1px solid #223247;border-bottom:1px solid #25364a}th{font-size:10px;text-transform:uppercase;letter-spacing:.6px;color:#8398b2;font-weight:600;padding:14px 12px}th:first-child,td:first-child{padding-left:24px}.check{width:42px}input[type=checkbox]{appearance:none;width:15px;height:15px;border:1px solid #496078;border-radius:4px;background:#0b1522;vertical-align:middle;cursor:pointer;position:relative;transition:.2s}input[type=checkbox]:checked{background:#1dd3a2;border-color:#1dd3a2}input[type=checkbox]:checked:after{content:'';position:absolute;left:4px;top:1px;width:4px;height:8px;border:solid #05271f;border-width:0 2px 2px 0;transform:rotate(45deg)}td{padding:13px 12px;border-bottom:1px solid #202f42;color:#c1cfdf;font-size:11px}tbody tr{transition:background .2s;animation:rowIn .4s both}tbody tr:hover{background:#16263a}tbody tr:last-child td{border-bottom:0}.file-cell{display:flex;align-items:center;gap:11px;min-width:255px}.file-type{width:35px;height:38px;border-radius:9px;display:grid;place-items:center;font-size:16px;flex-shrink:0}.file-type.apk{color:#48e2a1;background:#12352e}.file-type.zip{color:#ffb15c;background:#3a2a1b}.file-type.tar{color:#d0ddf0;background:#253246}.file-type.mp4{color:#c5a1ff;background:#302449}.file-type.png{color:#6fc5ff;background:#17334a}.file-name b{display:block;color:#e2edf9;font-size:11px;font-weight:600;max-width:240px;overflow:hidden;text-overflow:ellipsis}.file-name small{display:block;color:#7187a1;font-size:10px;margin-top:4px;max-width:240px;overflow:hidden;text-overflow:ellipsis}.url-link{color:#3dbbff;text-decoration:none;font-weight:600}.url-link:hover{color:#7bd4ff}.user-chip{display:inline-flex;align-items:center;gap:8px;color:#a9bbcf}.telegram{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;color:white;background:#218fca;font-size:10px}.status{display:inline-flex;align-items:center;gap:6px;border-radius:7px;padding:6px 9px;font-size:9px;font-weight:700;letter-spacing:.3px}.status:before{content:'';width:5px;height:5px;border-radius:50%}.completed{color:#53e6b9;background:#10362f;border:1px solid #1a4c40}.completed:before{background:#31d6a0}.failed{color:#ff8798;background:#3a202d;border:1px solid #5b2c3b}.failed:before{background:#ff647c}.processing{color:#ffd27d;background:#392f1c;border:1px solid #554322}.processing:before{background:#ffbf58;animation:pulse 1s infinite}.date{color:#a9bbcf;line-height:1.6}.date small{display:block;color:#70849c;font-size:10px}.row-menu{width:29px;height:29px;border:1px solid transparent;border-radius:8px;color:#7188a2;background:transparent;cursor:pointer}.row-menu:hover{background:#20334a;border-color:#344b64;color:white}.table-footer{border-top:1px solid #223247;padding:15px 24px;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#0e1825;color:#8ea2ba;font-size:11px}.table-footer b{color:#dce9f7}.sep{margin:0 8px;color:#526781}.pages{display:flex;align-items:center;gap:5px}.pages button{height:30px;min-width:30px;border:1px solid #26394f;background:#132033;border-radius:8px;color:#94a8bf;cursor:pointer}.pages button:hover:not(:disabled){border-color:#2a8c85;color:white}.pages button.current{background:#0d3834;border-color:#1bd4a2;color:#63f1c7;box-shadow:0 0 13px #1bd4a21a}.pages button:disabled{opacity:.4}.empty{text-align:center;padding:35px;color:#8ca0b8}.empty b{color:#dbe8f7}.empty p{font-size:11px}.bottom-note{display:flex;align-items:center;justify-content:space-between;color:#657b95;font-size:10px;padding:16px 3px}.bottom-note .tiny-green{margin-left:7px}.toasts{position:fixed;right:22px;bottom:22px;z-index:100;display:grid;gap:9px}.toast{display:flex;align-items:center;gap:11px;min-width:265px;padding:14px 16px;border-radius:12px;background:#142437;border:1px solid #2b4860;box-shadow:0 18px 45px #0005;animation:toastIn .35s cubic-bezier(.2,.8,.2,1) both}.toast .symbol{width:29px;height:29px;border-radius:9px;background:#103b32;color:#47e0b4;display:grid;place-items:center}.toast b{display:block;font-size:12px}.toast small{display:block;color:#8ca1ba;font-size:10px;margin-top:3px}.toast.out{animation:toastOut .25s ease forwards}.backdrop{position:fixed;inset:0;background:#02060cbd;backdrop-filter:blur(9px);z-index:80;display:none;align-items:center;justify-content:center;padding:20px}.backdrop.open{display:flex;animation:fade .2s both}.modal{position:relative;width:min(460px,100%);padding:30px;border-radius:20px;border:1px solid #2b4057;background:linear-gradient(145deg,#142235,#0c1522);box-shadow:0 35px 100px #0009;animation:modalIn .35s cubic-bezier(.2,.9,.2,1) both}.close{position:absolute;top:13px;right:16px;background:none;border:0;color:#8fa4bc;font-size:26px;cursor:pointer}.modal-symbol{width:47px;height:47px;display:grid;place-items:center;background:#0e3834;border:1px solid #1b6657;color:#40e1b2;border-radius:14px;font-size:24px;margin-bottom:19px}.modal h2{font:600 22px 'Space Grotesk';margin:0 0 8px}.modal>p{color:#8fa4bc;font-size:12px;line-height:1.6;margin-bottom:22px}.drop{border:1px dashed #38546f;background:#0e1a29;border-radius:14px;padding:24px 15px;display:flex;align-items:center;flex-direction:column;gap:9px;text-align:center}.drop.drag{border-color:var(--teal);background:#0d2b28}.upload-symbol{font-size:25px;color:#3cbcfb}.drop b{font-size:12px}.drop small{font-size:11px;color:#8298b1}.drop #chosen{font-size:10px;color:#78e6c4;max-width:100%;overflow:hidden;text-overflow:ellipsis}.choose{margin-top:4px}.full{width:100%;margin-top:17px}.full:disabled{opacity:.45;cursor:not-allowed;transform:none}.reveal{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.8,.2,1)}.reveal.visible{opacity:1;transform:translateY(0)}@keyframes float{to{transform:translate(40px,35px) scale(1.08)}}@keyframes pulse{50%{opacity:.55;box-shadow:0 0 0 7px #25d7a508}}@keyframes bar{to{opacity:.3;transform:scaleY(.6);transform-origin:bottom}}@keyframes grow{from{width:0}to{width:64%}}@keyframes shine{0%,65%{left:-40px}85%,100%{left:130%}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes rowIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes toastIn{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}@keyframes toastOut{to{opacity:0;transform:translateX(25px)}}@keyframes modalIn{from{opacity:0;transform:translateY(18px) scale(.96)}to{opacity:1;transform:none}}@keyframes fade{from{opacity:0}to{opacity:1}}@media(min-width:1500px){.content{padding-top:44px}.stat{padding:20px 22px 16px}}@media(max-width:1200px){.sidebar{width:225px}.main{margin-left:225px;width:calc(100% - 225px)}.content{padding:30px 22px}.topbar{padding:0 22px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar{padding:0 18px 17px}.panel-head{padding:21px 18px 17px}}@media(max-width:760px){.sidebar{width:250px;transform:translateX(-102%);transition:transform .3s;box-shadow:20px 0 70px #0008}.sidebar.open{transform:translateX(0)}.main{width:100%;margin-left:0}.mobile-menu{display:grid;background:transparent;border:0;color:#a9bed4;font-size:18px}.topbar{padding:0 14px;height:60px;gap:10px}.crumb{margin-right:auto;gap:8px}.top-right{gap:9px}.connected{font-size:0;padding:8px}.divider{display:none}.content{padding:25px 14px}.heading{align-items:flex-start}.heading h1{font-size:28px}.heading p{max-width:280px;line-height:1.5}.heading>.btn{padding:11px 12px}.heading>.btn span{display:none}.stats{gap:10px}.stat{padding:14px}.stat strong{font-size:24px}.stat-foot{font-size:9px}.panel-head{padding:18px 15px}.panel-head p{max-width:220px;line-height:1.5}.panel-head .btn span{display:none}.toolbar{padding:0 15px 14px;display:grid;grid-template-columns:1fr auto}.search{width:100%;grid-column:1/-1}.filter{width:100%;grid-column:1}.refresh{margin:0;grid-column:2;grid-row:2}.table-footer{padding:14px 15px;align-items:flex-start;flex-direction:column}.pages{align-self:flex-end}.bottom-note{gap:12px;align-items:flex-start;line-height:1.6}.bottom-note span:last-child{text-align:right;white-space:nowrap}}@media(max-width:420px){.stats{grid-template-columns:1fr 1fr}.stat{padding:12px}.stat-icon{width:32px;height:32px}.trend{font-size:9px}.stat>small{margin-top:12px}.stat strong{font-size:22px}.heading h1{font-size:25px}.eyebrow{font-size:8px}.crumb{font-size:11px}.crumb span{display:none}.modal{padding:24px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}.reveal{opacity:1;transform:none}}

/* App-specific: tabs, auth, forms, logout button */
.tab{display:none}
.tab.active{display:block}
.nav-item{background:transparent;border:0;width:100%;text-align:left;cursor:pointer;font:inherit}
button.logout-btn,button#logout-btn{margin-left:auto;background:transparent;border:0;color:#8ba0b9;font-size:19px;cursor:pointer;padding:4px}
button.logout-btn:hover,button#logout-btn:hover{color:var(--text)}
.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px;position:relative}
.auth-panel{width:min(420px,94vw);padding:32px 28px;border:1px solid #25374c;border-radius:20px;background:linear-gradient(145deg,#101b2aee,#0e1826f7);box-shadow:0 24px 80px #0006;position:relative;z-index:1}
.auth-panel h1{font:700 28px 'Space Grotesk';margin:0 0 8px;letter-spacing:-.8px}
.auth-panel h1 span{color:var(--teal)}
.auth-panel .muted{color:var(--muted);margin:0 0 22px;font-size:13px}
.auth-panel label{display:block;margin:14px 0 6px;font-size:11px;color:#91a5bd;letter-spacing:.4px;text-transform:uppercase;font-weight:600}
.auth-panel input,.panel-form input,.inline-form input{width:100%;height:41px;border:1px solid #293c53;background:#0d1725;border-radius:10px;color:#e8f4ff;padding:0 12px;font:12px 'DM Sans';outline:0}
.auth-panel input:focus,.panel-form input:focus,.inline-form input:focus{border-color:#278a9b;box-shadow:0 0 0 3px #24d7b20e}
.auth-panel .error{color:var(--red);font-size:12px;margin:12px 0 0}
.auth-panel button[type=submit],.panel-form button[type=submit],.inline-form button[type=submit]{margin-top:18px;width:100%}
.inline-form{display:flex;flex-wrap:wrap;gap:10px;padding:0 24px 17px;align-items:center}
.inline-form input{width:auto;flex:1;min-width:140px}
.inline-form button{width:auto;margin-top:0}
.panel-form{padding:0 24px 24px}
.panel-form label{display:block;margin:14px 0 6px;font-size:11px;color:#91a5bd;letter-spacing:.4px;text-transform:uppercase;font-weight:600}
.panel-body-pad{padding:0 24px 24px}
.muted{color:var(--muted)}
.status.pending,.status.downloading,.status.uploading,.status.cleanup_pending{color:#ffd27d;background:#392f1c;border:1px solid #554322}
.status.pending:before,.status.downloading:before,.status.uploading:before,.status.cleanup_pending:before{background:#ffbf58;animation:pulse 1s infinite}
.file-type.bin,.file-type.other{color:#d0ddf0;background:#253246}
.actions{display:flex;gap:6px}
.actions .btn{padding:7px 10px;font-size:10px}
#tg-config-status{padding:0 24px 8px;color:#a9efda;font-size:12px}


.mobile-menu.icon-btn{display:none}@media(max-width:760px){.mobile-menu.icon-btn{display:grid;place-items:center;background:transparent;border:0;color:#a9bed4;font-size:18px}}

/* Brand + responsive hardening */
.brand b{font-size:13px;line-height:1.25;max-width:160px}
.sidebar-backdrop{display:none}
.inline-form{padding-left:16px;padding-right:16px}
.table-scroll{-webkit-overflow-scrolling:touch}
@media(max-width:1200px){
  .brand b{font-size:12px;max-width:140px}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .heading{flex-direction:column;align-items:flex-start}
  .panel-head{flex-direction:column;align-items:flex-start}
  .toolbar{flex-wrap:wrap}
  .search{width:100%;max-width:none}
  .filter{width:minmax(140px,1fr);flex:1}
  .refresh{margin-left:0}
  .inline-form{flex-direction:column;align-items:stretch}
  .inline-form input,.inline-form button{width:100%;min-width:0}
}
@media(max-width:760px){
  .sidebar-backdrop{display:block;position:fixed;inset:0;background:#02060cbd;backdrop-filter:blur(4px);z-index:19}
  .sidebar-backdrop[hidden]{display:none!important}
  .sidebar{z-index:21}
  .mobile-menu.icon-btn,.icon-btn.mobile-menu{display:grid!important;place-items:center;width:40px;height:40px;background:transparent;border:0;color:#a9bed4;font-size:20px;cursor:pointer;flex-shrink:0}
  .topbar{display:flex;gap:10px;padding:0 12px}
  .crumb{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .content{padding:20px 12px 28px}
  .stats{grid-template-columns:1fr 1fr;gap:10px}
  .stat strong{font-size:22px}
  .panel-head,.toolbar,.table-footer,.panel-form,.panel-body-pad,#tg-config-status{padding-left:14px;padding-right:14px}
  .toolbar{display:grid;grid-template-columns:1fr auto;gap:8px}
  .search{grid-column:1/-1;width:100%}
  th:first-child,td:first-child{padding-left:14px}
  .file-name b,.file-name small{max-width:42vw}
  .table-footer{flex-direction:column;align-items:stretch;gap:12px}
  .pages{justify-content:flex-end}
  .bottom-note{flex-direction:column;gap:8px;padding:12px 4px 0}
  .toasts{left:12px;right:12px;bottom:12px}
  .toast{min-width:0;width:100%}
  .auth-panel{padding:24px 18px}
  .auth-panel h1{font-size:22px}
}
@media(max-width:420px){
  .stats{grid-template-columns:1fr}
  .connected{display:none}
  .divider{display:none}
  .crumb span{display:none}
  h1{font-size:24px}
}
