/* MELANIUM — Android/Brave mobile acceptance safeguards.
 * Focused on small screens and native interactions; no desktop changes.
 */
@media(max-width:900px){
 body.mp-site .site-header{isolation:isolate}
 body.mp-site .mobile-nav{
   max-height:calc(100vh - 78px);
   max-height:calc(100dvh - 78px);
   overflow-y:auto;
   overscroll-behavior:contain;
   -webkit-overflow-scrolling:touch;
   padding-bottom:max(22px,env(safe-area-inset-bottom));
   box-sizing:border-box;
 }
 body.mp-site .mobile-nav>a,
 body.mp-site .mobile-nav .mp-nominee-mobile>summary,
 body.mp-site .mobile-nav .mp-nominee-mobile-links a{
   min-height:46px;
   box-sizing:border-box;
   display:flex;
   align-items:center;
 }
 body.mp-site .menu-toggle{
   min-height:46px;
   min-width:48px;
   align-items:center;
   justify-content:center;
   touch-action:manipulation;
 }
}
@media(max-width:640px){
 body.mp-site .site-header{gap:8px;max-width:100%}
 body.mp-site .site-header>.brand{min-width:0;max-width:100%;flex:1 1 auto}
 body.mp-site .site-header>.brand>span{min-width:0}
 body.mp-site .site-header>.header-actions{flex:0 0 auto;gap:8px;margin-left:auto}
 body.mp-site .mobile-nav{
   max-height:calc(100vh - 72px);
   max-height:calc(100dvh - 72px);
 }
 body.mp-site .page-shell .mel-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
 body.mp-site .page-shell .mel-form select,
 body.mp-site .page-shell .mel-form textarea{
   font-size:16px;
   min-height:46px;
   max-width:100%;
   box-sizing:border-box;
 }
 body.mp-site .page-shell .mel-form button,
 body.mp-site .page-shell .mel-form input[type=submit],
 body.mp-site .page-shell .mel-form .button,
 body.mp-site .page-shell .mel-form .mel-btn{
   min-height:46px;
   max-width:100%;
   white-space:normal;
   touch-action:manipulation;
 }
 body.mp-site .page-shell .mel-form .mel-form-grid,
 body.mp-site .page-shell .mel-form-grid{
   min-width:0;
 }
 body.mp-site .page-shell .mel-form-grid>*{min-width:0}
 body.mp-site .page-shell .workflow-image{overflow:hidden}
}
@media(max-width:355px){
 body.mp-site .site-header>.brand>span{font-size:clamp(18px,6.5vw,23px)}
 body.mp-site .site-header .menu-toggle{min-width:46px}
}
