/* EXZA Remote: intentional touch-first mobile layouts.
   Desktop layout is unaffected above 820px. The page class restricts every
   rule to the matching site section; no security elements are suppressed. */
@media(max-width:820px){
 html,body{max-width:100%;overflow-x:clip}
 body.exza-mobile-marketing .topbar{height:auto;min-height:69px}
 body.exza-mobile-marketing .top-inner{min-height:69px;display:flex;flex-wrap:wrap;align-items:center;gap:0 12px;padding-block:10px}
 body.exza-mobile-marketing .main-nav{order:3;display:flex;overflow-x:auto;scrollbar-width:none;overscroll-behavior-inline:contain;gap:7px;width:100%;margin:10px 0 0;padding:8px 0 2px;border-top:1px solid #e8edf4}
 body.exza-mobile-marketing .main-nav::-webkit-scrollbar{display:none}
 body.exza-mobile-marketing .main-nav a{font-size:11px;white-space:nowrap;padding:8px 12px;border:1px solid #e1e9f1;background:#f5f8fb;border-radius:999px;color:#385473}
 body.exza-mobile-marketing .top-actions{margin-left:auto}
 body.exza-mobile-marketing .hero-inner{padding-top:clamp(28px,7vw,65px)}
 body.exza-mobile-marketing .hero-facts{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x proximity;padding:0 0 9px;scrollbar-width:thin}
 body.exza-mobile-marketing .hero-facts>div{flex:0 0 min(235px,80%);scroll-snap-align:start;border:1px solid #30455b;border-radius:10px;padding:15px!important;background:#ffffff0a}
 body.exza-mobile-marketing .hero-facts>div+div{border-left:1px solid #30455b;border-top:1px solid #30455b}
 body.exza-mobile-marketing .feature-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 body.exza-mobile-marketing .feature,.exza-mobile-marketing .feature+.feature{border:1px solid #e0e8f0!important;border-radius:10px;padding:17px!important;min-width:0}
 body.exza-mobile-marketing .feature h3{font-size:15px}
 body.exza-mobile-marketing .feature p{font-size:11px;line-height:1.65}
 body.exza-mobile-marketing .section{padding:clamp(38px,7vw,64px) 0}
 body.exza-mobile-marketing .section-intro h2{font-size:clamp(27px,6.5vw,37px)}
 body.exza-mobile-marketing .footer-grid{gap:22px}
 body.exza-mobile-help .faq-hero{padding:34px 0 36px}
 body.exza-mobile-help .faq-hero h1{font-size:clamp(29px,6vw,43px);line-height:1.15;letter-spacing:-1.1px}
 body.exza-mobile-help .faq-layout{padding:23px 0 65px;gap:19px}
 body.exza-mobile-help .faq-sidebar{display:flex;align-items:center;gap:7px;overflow-x:auto;white-space:nowrap;scrollbar-width:thin;flex-wrap:nowrap;padding-bottom:8px;border:0}
 body.exza-mobile-help .faq-sidebar span{display:none}
 body.exza-mobile-help .faq-sidebar a{border:1px solid #e0e8f1;background:#f3f6fb;border-radius:999px;padding:9px 12px;font-size:11px;flex:none}
 body.exza-mobile-help .faq-search{margin:0 0 20px;padding:11px 14px}
 body.exza-mobile-help .faq-section{margin-bottom:28px}
 body.exza-mobile-help .faq-heading{margin-bottom:12px}
 body.exza-mobile-help .faq-heading h2{font-size:clamp(23px,5vw,30px)}
 body.exza-mobile-help .faq-item summary{padding:14px 25px 14px 0;font-size:13px}
 body.exza-mobile-help .faq-item .answer{padding:0 12px 19px 0;line-height:1.7}
 body.exza-mobile-legal .container{padding:25px 16px 42px}
 body.exza-mobile-legal .layout{display:flex;flex-direction:column;gap:12px}
 body.exza-mobile-legal .legal-nav{width:100%;display:flex;flex-flow:row nowrap;overflow-x:auto;gap:5px;margin:0;padding:7px;background:#f5f8fc;border-radius:11px;scrollbar-width:thin}
 body.exza-mobile-legal .legal-nav a{flex:0 0 auto;padding:10px 12px;border:1px solid #dce6f0;border-radius:7px;background:white;font-size:11px;white-space:nowrap}
 body.exza-mobile-legal .document{min-width:0;min-height:0;padding:22px 19px}
 body.exza-mobile-legal .summary{margin-bottom:18px}
 body.exza-mobile-legal h1{font-size:clamp(29px,6vw,39px);line-height:1.13;letter-spacing:-1px}
 body.exza-mobile-legal h2{margin-top:24px;font-size:17px}
 body.exza-mobile-legal p,body.exza-mobile-legal li{line-height:1.75}
 body.exza-mobile-legal pre,body.exza-mobile-legal table{max-width:100%;overflow:auto}
 body.exza-mobile-legal .top-inner{flex-wrap:wrap}
 body.exza-mobile-legal .top nav{overflow-x:auto;white-space:nowrap;max-width:100%}
 body.exza-mobile-admin .sidebar{position:relative;height:auto;min-width:0;padding:16px;background:#111b29}
 body.exza-mobile-admin .sidebar .side-label{display:none}
 body.exza-mobile-admin .sidebar nav{display:flex;gap:7px;overflow-x:auto;white-space:nowrap;padding:8px 0 2px;margin:8px 0 0;scrollbar-width:thin}
 body.exza-mobile-admin .sidebar nav a{flex:0 0 auto;padding:10px 12px;font-size:11px}
 body.exza-mobile-admin .main{padding:20px 15px}
 body.exza-mobile-admin .metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 body.exza-mobile-admin .metric{padding:15px}
 body.exza-mobile-admin .metric strong{font-size:25px}
 body.exza-mobile-admin .charts{grid-template-columns:1fr}
 body.exza-mobile-admin .panel{padding:17px;min-width:0}
 body.exza-mobile-admin .table{overflow-x:auto;-webkit-overflow-scrolling:touch}
 body.exza-mobile-admin header{align-items:flex-start;gap:12px}
 body.exza-mobile-admin header .actions{display:flex;gap:6px;flex-wrap:wrap}
 body.exza-mobile-admin h1{font-size:clamp(25px,6vw,33px)}
}
@media(max-width:700px){
 body.exza-mobile-portal .site{display:block;padding-bottom:calc(87px + env(safe-area-inset-bottom))}
 body.exza-mobile-portal .sidebar{position:relative;top:auto;z-index:9;width:100%;height:auto;min-height:0;padding:11px 16px;border-right:0;border-bottom:1px solid #dce5ef;background:white}
 body.exza-mobile-portal .sidebar .brand{margin:0;padding:0;border:0;gap:9px}
 body.exza-mobile-portal .sidebar .brand>div:last-child{display:flex;align-items:center;gap:6px;min-width:0;flex-wrap:nowrap}
 body.exza-mobile-portal .sidebar .brand b{white-space:nowrap}
 body.exza-mobile-portal .sidebar .brand .mark,body.exza-mobile-portal .sidebar .brand .mark img{width:34px;height:34px}
 body.exza-mobile-portal .sidebar .brand b{font-size:15px}
 body.exza-mobile-portal .sidebar .brand .brand-sub{font-size:11px}
 body.exza-mobile-portal .side-nav{position:fixed;z-index:60;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;margin:0;padding:7px 7px calc(9px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dbe5f1;box-shadow:0 -10px 28px #1b375212;overflow:visible}
 body.exza-mobile-portal .side-nav .nav{min-width:0;min-height:52px;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:6px 2px;border-radius:8px;font-size:9px;text-align:center;white-space:normal;line-height:1.15;overflow-wrap:anywhere}
 body.exza-mobile-portal .side-nav .nav img{width:19px;height:19px;object-fit:contain}
 body.exza-mobile-portal .side-nav .nav.active{background:#e8f0fa;border-color:#cbdbee}
 body.exza-mobile-portal .main{padding:14px 14px 21px;width:100%;min-width:0}
 body.exza-mobile-portal .auth-topbar{display:none}
 body.exza-mobile-portal .header{gap:10px;margin:0 0 14px;padding:0 0 13px;align-items:flex-start}
 body.exza-mobile-portal .header h1{font-size:clamp(21px,5.5vw,27px);line-height:1.17;letter-spacing:-.8px}
 body.exza-mobile-portal .header p{font-size:11px;line-height:1.6}
 body.exza-mobile-portal .header .eyebrow{font-size:9px}
 body.exza-mobile-portal .header-right{margin-left:auto}
 body.exza-mobile-portal .panel{padding:15px 14px;border-radius:10px}
 body.exza-mobile-portal .panel-header{gap:10px;margin-bottom:12px}
 body.exza-mobile-portal .panel-header h2{font-size:16px}
 body.exza-mobile-portal .metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body.exza-mobile-portal .metric{min-width:0;padding:13px 12px;border-radius:9px}
 body.exza-mobile-portal .metric strong{font-size:clamp(18px,5vw,23px);overflow-wrap:anywhere}
 body.exza-mobile-portal .metric small{font-size:10px}
 body.exza-mobile-portal .columns{gap:12px}
 body.exza-mobile-portal .device-toolbar{margin-bottom:10px;gap:8px}
 body.exza-mobile-portal .device-toolbar .primary{width:auto;flex:1;min-height:43px}
 body.exza-mobile-portal .device-controls{width:auto;justify-content:flex-start;gap:6px}
 body.exza-mobile-portal .device-controls button{font-size:11px;padding:9px 11px;min-height:39px}
 body.exza-mobile-portal .device-row{gap:10px}
 body.exza-mobile-portal .usage-history{padding:13px 11px;border-radius:9px;margin-top:14px}
 body.exza-mobile-portal .usage-history-head{gap:9px}
 body.exza-mobile-portal .usage-chart{margin-top:10px;min-height:110px}
 body.exza-mobile-portal .chart-switch button{padding:7px 9px;font-size:11px}
 body.exza-mobile-portal .install-steps{gap:10px}
 body.exza-mobile-portal .device-setup{margin-top:12px;padding-top:13px}
 body.exza-mobile-portal .billing-recipient-form .billing-two-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.exza-mobile-portal .billing-recipient-form input,body.exza-mobile-portal .billing-recipient-form select{min-width:0;max-width:100%;font-size:16px;min-height:44px}
 body.exza-mobile-portal #portal-premium-price{font-size:clamp(25px,7vw,36px)}
 body.exza-mobile-portal .line-item{gap:10px;padding:12px 0}
 body.exza-mobile-portal .line-item>b{overflow-wrap:anywhere}
 body.exza-mobile-portal footer{padding:13px 0;text-align:left}
 body.exza-mobile-portal .legal-footer{display:flex;gap:8px 13px;flex-wrap:wrap}
 body.exza-mobile-portal #auth:not([hidden])~*{max-width:100%}
 body.exza-mobile-portal:has(#auth:not([hidden])) .side-nav{display:none}
 body.exza-mobile-portal:has(#auth:not([hidden])) .site{padding-bottom:0}
}
@media(max-width:420px){
 body.exza-mobile-marketing .topbar .wordmark-type{font-size:14px}
 body.exza-mobile-marketing .top-actions{gap:7px}
 body.exza-mobile-marketing .feature-list{gap:8px}
 body.exza-mobile-marketing .feature,body.exza-mobile-marketing .feature+.feature{padding:13px!important}
 body.exza-mobile-portal .side-nav{gap:0;padding-inline:4px}
 body.exza-mobile-portal .side-nav .nav{font-size:8.5px}
 body.exza-mobile-portal .main{padding-inline:11px}
 body.exza-mobile-portal .panel{padding:14px 11px}
 body.exza-mobile-legal .document{padding:17px 14px}
 body.exza-mobile-admin .main{padding-inline:10px}
}
@media(hover:none) and (pointer:coarse){
 button,input,select,a{touch-action:manipulation}
}
