/* Mobile shell only. No rules apply above 900px. */
@media (max-width:900px){
 #appShell.itp-mobile-premium{--top:60px;--tabs:40px;--mobile-surface:#121821;--mobile-line:rgba(255,255,255,.09)}
 #appShell.itp-mobile-premium:not(.tool-mode) .topbar{height:60px;min-height:60px;flex-basis:60px;padding:8px 14px;gap:10px;background:#0c111a;border-bottom:1px solid var(--mobile-line)}
 #appShell.itp-mobile-premium:not(.tool-mode) .brand{gap:9px;min-width:0;flex:1;max-width:none!important}
 #appShell.itp-mobile-premium:not(.tool-mode) .brand-name{font-size:16px;font-weight:750;letter-spacing:-.4px;max-width:none!important}
 #appShell.itp-mobile-premium:not(.tool-mode) .portal-logo{width:34px;height:34px;border-radius:10px}
 #appShell.itp-mobile-premium .topbar #menuButton{width:40px;height:40px;min-width:40px;font-size:22px;border-radius:12px;background:transparent;border-color:var(--mobile-line)}
 #appShell.itp-mobile-premium:not(.tool-mode) .topbar .spacer{display:none}
 #appShell.itp-mobile-premium:not(.tool-mode) #portalSoundToggle{width:40px;min-width:40px;height:40px;border-radius:12px;background:transparent;border-color:var(--mobile-line);padding:8px}
 #appShell.itp-mobile-premium #portalSoundToggle [data-sound-icon]{display:flex!important}
 #appShell.itp-mobile-premium #portalSoundToggle svg{width:21px;height:21px}
 #appShell.itp-mobile-premium:not(.tool-mode) #portalSoundToggle [data-sound-label]{display:none}
 #appShell.itp-mobile-premium.itp-mobile-no-tabs:not(.tool-mode) .tabbar{display:none}
 #appShell.itp-mobile-premium .tabbar{min-height:40px;flex-basis:40px;background:#0c111a}
 #appShell.itp-mobile-premium .app-tab{min-height:40px;font-size:12px}
 #appShell.itp-mobile-premium .premium-dashboard{padding:20px 16px calc(100px + env(safe-area-inset-bottom));display:block;max-width:720px;margin:auto}
 #appShell.itp-mobile-premium .premium-main{display:flex;flex-direction:column;gap:20px;min-width:0}
 #appShell.itp-mobile-premium .premium-main>*,#appShell.itp-mobile-premium .premium-section{margin-top:0}
 #appShell.itp-mobile-premium .premium-section .section-head{margin-bottom:14px;gap:10px;align-items:center}
 #appShell.itp-mobile-premium .section-head h2{font-size:21px;letter-spacing:-.5px;line-height:1.2}
 #appShell.itp-mobile-premium .section-head p{font-size:12px;line-height:1.5}
 #appShell.itp-mobile-premium #allToolsSection>.section-head p{display:none}
 #appShell.itp-mobile-premium #resultCount{white-space:nowrap;font-size:11px;color:var(--muted)}
 #appShell.itp-mobile-premium[data-mobile-page="home"] #allToolsSection{display:none!important}
 #appShell.itp-mobile-premium[data-mobile-page="tools"] .premium-main>*:not(#allToolsSection){display:none!important}
 #appShell.itp-mobile-premium[data-mobile-page="tools"] .premium-rail{display:none!important}
 /* Sem plano: a aba Ferramentas mostra o aviso de acesso em vez de uma tela vazia. */
 #appShell.itp-mobile-premium[data-mobile-page="tools"] .premium-main>.empty:not(#itpNoEmpty){display:block!important}
 #appShell.itp-mobile-premium .downloads-mode .itp-mobile-welcome{display:none!important}
 .itp-mobile-welcome{order:-2;display:grid;gap:18px}
 .itp-mobile-welcome .m-eyebrow{font-size:10px;font-weight:750;letter-spacing:.16em;color:var(--accent);text-transform:uppercase;margin:0 0 7px}
 .itp-mobile-welcome h1{font-size:27px;line-height:1.15;letter-spacing:-1px;margin:0;font-weight:750}
 .itp-mobile-welcome p{color:var(--muted);font-size:13px;line-height:1.5;margin:8px 0 0}
 .itp-mobile-explore{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:48px;padding:13px 16px;border:1px solid var(--mobile-line);border-radius:14px;background:var(--mobile-surface);color:var(--text);font:600 13px system-ui;cursor:pointer}
 .itp-mobile-explore span:last-child{color:var(--accent);font-size:19px}
 .itp-mobile-quick-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px}
 .itp-mobile-quick-head h2{font-size:15px;margin:0;letter-spacing:-.2px}
 .itp-mobile-quick-head button{border:0;background:transparent;color:var(--accent);min-height:40px;font-size:12px;font-weight:650;padding:5px 0 5px 12px}
 .itp-mobile-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
 .itp-mobile-quick-grid button{display:flex;align-items:center;gap:10px;min-height:72px;min-width:0;padding:10px;text-align:left;color:var(--text);background:var(--mobile-surface);border:1px solid var(--mobile-line);border-radius:14px;font:600 12px/1.35 system-ui;cursor:pointer;overflow-wrap:anywhere}
 .itp-mobile-quick-grid .m-quick-icon{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:11px;overflow:hidden;background:#23303a;color:var(--accent);font-size:14px}
 .itp-mobile-quick-grid img{width:100%;height:100%;object-fit:cover}
 .itp-mobile-quick-grid svg{width:22px;height:22px}
 #appShell.itp-mobile-premium .premium-slider{min-height:0!important;height:auto!important;border-radius:18px;border-color:var(--mobile-line);box-shadow:none;width:100%!important}
 #appShell.itp-mobile-premium .portal-slides{min-height:0!important;height:auto!important}
 #appShell.itp-mobile-premium .portal-slide{position:relative;inset:auto;display:none!important;min-height:0;transform:none;grid-template-columns:minmax(0,1fr) 100px!important;align-items:center;gap:14px;padding:20px!important;background:linear-gradient(120deg,#1b2931,#101720)}
 #appShell.itp-mobile-premium .portal-slide.is-active{display:grid!important}
 #appShell.itp-mobile-premium .portal-slide h1{font-size:21px!important;line-height:1.15;letter-spacing:-.5px;margin:8px 0;background:transparent!important;padding:0!important;color:var(--text)!important}
 #appShell.itp-mobile-premium .portal-slide p{font-size:12px!important;line-height:1.5}
 #appShell.itp-mobile-premium .portal-slide .premium-eyebrow{font-size:9px;padding:0;background:none;border:none}
 #appShell.itp-mobile-premium .portal-slide-visual{position:relative!important;inset:auto!important;min-height:0!important;order:0!important;aspect-ratio:1;border-radius:14px!important}
 #appShell.itp-mobile-premium .portal-slide-visual img{width:100%!important;height:100%!important;max-height:none;object-fit:contain!important;border:0!important;border-radius:14px!important;box-shadow:none!important}
 #appShell.itp-mobile-premium .portal-slide-visual:after{display:none}
 #appShell.itp-mobile-premium .portal-slide-copy{max-width:100%!important;padding:0!important;min-height:0!important;justify-content:center!important}
 #appShell.itp-mobile-premium .portal-slide .hero-actions{margin-top:12px;justify-content:flex-start}
 #appShell.itp-mobile-premium .portal-slide .hero-cta{min-height:42px;font-size:12px;padding:10px 12px;border-radius:10px}
 #appShell.itp-mobile-premium .portal-slide.layout-image-only{padding:0!important;grid-template-columns:1fr!important}
 #appShell.itp-mobile-premium .portal-slide.layout-image-only .portal-slide-visual{width:100%;aspect-ratio:16/9;max-height:230px}
 #appShell.itp-mobile-premium .portal-slider-controls{position:relative;inset:auto;justify-content:flex-end;gap:6px;padding:0 12px 10px;background:#101720}
 #appShell.itp-mobile-premium .portal-slider-arrow{width:40px;height:40px;border:0;background:transparent}
 #appShell.itp-mobile-premium .portal-slider-dots{margin-right:auto;background:none}
 #appShell.itp-mobile-premium .portal-slider-dot{position:relative;min-height:8px}
 #appShell.itp-mobile-premium .portal-slider-dot:after{content:"";position:absolute;inset:-14px -3px}
 #appShell.itp-mobile-premium .premium-hero{padding:20px;border-radius:18px;gap:16px;box-shadow:none}
 #appShell.itp-mobile-premium .premium-hero h1{font-size:26px}.itp-mobile-premium .premium-hero .hero-visual{display:none}
 #appShell.itp-mobile-premium .whatsapp-card{display:grid;grid-template-columns:38px 1fr;padding:15px;gap:12px;border-radius:16px;background:#10251d;box-shadow:none}
 #appShell.itp-mobile-premium .whatsapp-icon{width:38px;height:38px;font-size:21px;border-radius:12px}
 #appShell.itp-mobile-premium .whatsapp-kicker{font-size:9px;letter-spacing:.1em}
 #appShell.itp-mobile-premium .whatsapp-copy strong{font-size:15px;line-height:1.35}
 #appShell.itp-mobile-premium .whatsapp-copy p{font-size:12px;margin:6px 0}
 #appShell.itp-mobile-premium .whatsapp-button{grid-column:2;min-height:42px;justify-self:start;padding:10px 14px;font-size:12px}
 #appShell.itp-mobile-premium .stats{display:grid;grid-template-columns:1fr 1fr;gap:9px}
 #appShell.itp-mobile-premium .stat{padding:14px;border-radius:14px;box-shadow:none}
 #appShell.itp-mobile-premium .stat:last-child{grid-column:1/-1}
 #appShell.itp-mobile-premium .stat strong{font-size:20px}
 #appShell.itp-mobile-premium #search{min-height:48px;font-size:16px!important;border-radius:14px;padding-right:46px}
 #appShell.itp-mobile-premium #allToolsSection .search{max-width:none;width:100%}
 .itp-mobile-search-wrap{position:relative}
 .itp-mobile-clear{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:40px;height:40px;border:0;background:transparent;color:var(--muted);font-size:24px;cursor:pointer}
 .itp-mobile-filters{display:grid;gap:12px;margin:14px 0 18px}
 .itp-mobile-filter-tabs{display:flex;padding:4px;background:var(--mobile-surface);border:1px solid var(--mobile-line);border-radius:13px}
 .itp-mobile-filter-tabs button{flex:1;min-width:0;min-height:40px;border:0;background:transparent;color:var(--muted);border-radius:9px;font:600 12px system-ui;cursor:pointer}
 .itp-mobile-filter-tabs button[aria-pressed="true"]{background:#30352c;color:var(--accent)}
 .itp-mobile-filters label{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--muted)}
 .itp-mobile-filters select{flex:1;min-width:0;min-height:44px;padding:9px 12px;background:var(--mobile-surface);border:1px solid var(--mobile-line);border-radius:11px;color:var(--text);font-size:14px}
 #appShell.itp-mobile-premium #toolGrid.itp-mobile-catalog{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important}
 #appShell.itp-mobile-premium .itp-mobile-app{position:relative;min-width:0;overflow:hidden;border:1px solid var(--mobile-line)!important;border-radius:17px;background:var(--mobile-surface)!important}
 #appShell.itp-mobile-premium .itp-mobile-app-launch{display:flex;flex-direction:column;width:100%;align-items:flex-start;gap:0;padding:0 0 12px;height:100%;text-align:left;color:var(--text);background:transparent;border:0;cursor:pointer;touch-action:manipulation}
 #appShell.itp-mobile-premium .itp-mobile-app-art{position:relative;display:grid;place-items:center;flex:none;width:100%;max-width:none;border:0;border-radius:0;aspect-ratio:1.18;background:radial-gradient(circle at 50% 20%,#2b424b,#18232e);box-shadow:none;isolation:isolate;overflow:hidden;color:var(--accent)}
 #appShell.itp-mobile-premium .itp-mobile-icon-fallback svg{width:42px;height:42px}
 #appShell.itp-mobile-premium .itp-mobile-app-art img{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:contain;background:#0d121a}
 #appShell.itp-mobile-premium .itp-mobile-app-art img[hidden]{display:none!important}
 #appShell.itp-mobile-premium .itp-mobile-app-name{display:block;overflow:visible;text-align:left;min-height:0;margin:12px 12px 7px;max-width:calc(100% - 24px);font-size:13px;line-height:1.4;font-weight:650;overflow-wrap:anywhere;-webkit-line-clamp:unset}
 #appShell.itp-mobile-premium .itp-mobile-app-status{color:#96a99d;font-size:10px;margin:auto 12px 0;line-height:1.5;padding-top:3px}
 #appShell.itp-mobile-premium .itp-mobile-app.is-locked .itp-mobile-app-status{color:#dac383}
 #appShell.itp-mobile-premium .itp-mobile-app-lock{display:flex;right:8px;bottom:8px;background:#0c121e;border:1px solid var(--mobile-line)}
 #appShell.itp-mobile-premium .itp-mobile-app-lock svg{width:14px;height:14px}
 #appShell.itp-mobile-premium .itp-mobile-favorite{position:absolute;z-index:2;right:6px;top:6px;width:40px;height:40px;display:grid;place-items:center;border:1px solid #ffffff25;border-radius:12px;color:#eee;background:#0c121ee8;cursor:pointer}
 #appShell.itp-mobile-premium .itp-mobile-favorite svg{width:18px;height:18px}
 #appShell.itp-mobile-premium .itp-mobile-favorite.on{color:var(--accent)}
 #appShell.itp-mobile-premium .itp-mobile-favorite.on svg{fill:currentColor}
 .itp-mobile-empty{padding:28px 18px;border:1px dashed var(--mobile-line);border-radius:16px;text-align:center;color:var(--muted);font-size:13px;line-height:1.6}
 .itp-mobile-empty button{display:block;margin:14px auto 0;min-height:44px;padding:10px 16px;border:0;border-radius:10px;background:var(--accent);color:#111;font-weight:700}
 #appShell.itp-mobile-premium #sidebar{top:0!important;bottom:0!important;height:100%;height:100dvh;max-height:100dvh;z-index:110!important;width:min(360px,90vw)!important;padding:16px 16px calc(24px + env(safe-area-inset-bottom));border-radius:0 22px 22px 0;background:#0e141e!important;box-shadow:24px 0 70px #0008!important;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#39424f transparent}
 #appShell.itp-mobile-premium #sidebarBackdrop{z-index:109!important;inset:0!important;background:#0008;backdrop-filter:blur(5px)}
 .itp-mobile-menu-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;font-size:16px;font-weight:700}
 .itp-mobile-menu-head button{width:40px;height:40px;border:1px solid var(--mobile-line);border-radius:12px;background:transparent;color:var(--text);font-size:24px}
 #appShell.itp-mobile-premium #sidebar .userbox{margin:0 0 18px;padding:14px;border-radius:14px;box-shadow:none}
 #appShell.itp-mobile-premium #sidebar .nav-label{margin:20px 0 8px;padding:0;font-size:10px;letter-spacing:.14em}
 #appShell.itp-mobile-premium #sidebar .nav-button{min-height:48px;margin:3px 0;padding:12px;border-radius:12px;font-size:13px;line-height:1.4;gap:12px;box-shadow:none!important;background:transparent!important}
 #appShell.itp-mobile-premium #sidebar .nav-button.on{background:#282d26!important;border-color:#e3f52622!important;color:var(--accent)!important}
 #appShell.itp-mobile-premium #sidebar .nav-order-button{color:var(--accent)!important}
 #appShell.itp-mobile-premium #sidebar .nav-icon{color:inherit!important;width:22px;height:22px;font-size:20px;flex:0 0 22px}
 #appShell.itp-mobile-premium #sidebar .nav-icon svg{width:21px;height:21px}
 #appShell.itp-mobile-premium #categories,#appShell.itp-mobile-premium #sidebarTools,#appShell.itp-mobile-premium .m-categories-label{display:none!important}
 #appShell.itp-mobile-premium #sidebar .sidebar-separator{display:none}
 .itp-mobile-settings{border-top:1px solid var(--mobile-line);margin-top:16px;padding-top:6px}
 .itp-mobile-settings summary{min-height:48px;cursor:pointer;font-size:13px;font-weight:650;padding:14px 2px;color:var(--muted)}
 #appShell.itp-mobile-premium .itp-native-lang-mobile{padding:10px;margin:0 0 10px;border-radius:12px;background:var(--mobile-surface)}
 #appShell.itp-mobile-premium #sidebar #logoutForm button{display:flex;width:100%;min-height:44px;align-items:center;justify-content:flex-start;gap:12px;border:0;background:none;padding:12px;color:#b4bac5;font-size:13px}
 #appShell.itp-mobile-premium #sidebar #logoutForm .action-icon{display:inline-flex!important}
 #appShell.itp-mobile-premium #sidebar .side-links{margin-top:14px}
 #appShell.itp-mobile-premium #sidebar .side-links a{font-size:12px;min-height:44px;display:flex;align-items:center;padding:10px}
 #appShell.itp-mobile-premium #sidebar .sidebar-help{padding:14px;border-radius:14px;box-shadow:none}
 body:has(#appShell.itp-mobile-premium) .premium-bottom-nav{left:10px;right:10px;bottom:max(8px,env(safe-area-inset-bottom));padding:6px;gap:2px;border-radius:19px;background:#111720f5;border-color:#ffffff15;box-shadow:0 8px 30px #0006;z-index:52}
 body:has(#appShell.itp-mobile-premium) .premium-bottom-nav button,body:has(#appShell.itp-mobile-premium) .premium-bottom-nav a{min-height:54px;font-size:10px;font-weight:650;border-radius:13px;gap:4px;padding:5px 0;letter-spacing:-.2px}
 body:has(#appShell.itp-mobile-premium) .premium-bottom-nav .active{background:#30352b;color:var(--accent)}
 body.itp-menu-open:has(#appShell.itp-mobile-premium) .premium-bottom-nav{visibility:hidden;pointer-events:none}
 body:has(#appShell.itp-mobile-premium) .toast{bottom:calc(92px + env(safe-area-inset-bottom))}
 #appShell.itp-mobile-premium button:focus-visible,#appShell.itp-mobile-premium a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
 @media(min-width:600px){#appShell.itp-mobile-premium #toolGrid.itp-mobile-catalog{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
 @media(prefers-reduced-motion:reduce){#appShell.itp-mobile-premium *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
}
