/* One bounded mobile workspace, one scroll pane, one bottom navigation. */
@media screen and (max-width:900px){
 html[data-pg139] body.pg139-letter.pg157-letter{height:var(--pg-visible-height,100dvh)!important;min-height:0!important;padding:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
 html[data-pg139] body.pg139-letter.pg157-letter>.layout{flex:1 1 0%!important;min-height:0!important;height:auto!important;padding:0!important;gap:0!important;overflow:hidden!important}
 html[data-pg139] body.pg139-letter.pg157-letter>.pg-mobile-editor-views{display:none!important}
 html[data-pg139] body.pg139-letter.pg157-letter .form-panel{padding:0!important;border:0!important;min-width:0!important}
 html[data-pg139] body.pg139-letter.pg157-letter .form{padding:0 12px 20px!important;scroll-padding:16px!important}
 html[data-pg139] body.pg139-letter.pg157-letter .pg139-letter-group{padding:14px!important;margin:0 0 12px!important;min-width:0!important;border-radius:12px!important}
 html[data-pg139] body.pg139-letter.pg157-letter .pg139-letter-fields{gap:14px!important;min-width:0!important}
 html[data-pg139] body.pg139-letter.pg157-letter .pg139-letter-fields .field{min-width:0!important;width:100%!important}
 html[data-pg139] body.pg139-letter.pg157-letter .pg139-letter-fields label{display:block!important;font-size:11px!important;line-height:1.4!important;margin-bottom:6px!important;white-space:normal!important}
 html[data-pg139] body.pg139-letter.pg157-letter .pg139-letter-fields :is(input,textarea,select){display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;font-size:16px!important;line-height:1.5!important;border-radius:9px!important;padding:10px 12px!important;min-height:44px!important}
 html[data-pg139] body.pg139-letter.pg157-letter #bodyText{min-height:180px!important}
 html[data-pg139] body.pg139-letter.pg157-letter .pg139-letter-mobile{position:relative!important;inset:auto!important;order:100;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;flex:0 0 auto!important;width:100%!important;height:auto!important;min-height:62px!important;gap:6px!important;margin:0!important;padding:6px 10px calc(6px + env(safe-area-inset-bottom,0px))!important;background:var(--ui-panel)!important;border-top:1px solid var(--ui-line)!important;z-index:60!important;box-sizing:border-box!important}
 html[data-pg139] body.pg139-letter.pg157-letter .pg139-letter-mobile>button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;min-width:0!important;width:100%!important;height:48px!important;min-height:48px!important;padding:5px!important;border:0!important;border-radius:10px!important;text-align:center!important;line-height:1.2!important;font-size:11px!important;background:transparent!important;color:var(--ui-muted)!important;box-sizing:border-box!important}
 html[data-pg139] body.pg139-letter.pg157-letter .pg139-letter-mobile>button>svg{display:block!important;position:static!important;width:20px!important;height:20px!important;flex:0 0 20px!important;margin:0!important;stroke:currentColor!important}
 html[data-pg139] body.pg139-letter.pg157-letter .pg139-letter-mobile>button>span{display:block!important;position:static!important;margin:0!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html[data-pg139] body.pg139-letter.pg157-letter .pg139-letter-mobile>button[aria-pressed=true]{color:#2563eb!important;background:var(--ui-panel3)!important}
 html[data-pg139] body.pg139-letter.pg157-letter .form-panel>.status{padding:7px 12px!important;font-size:10px!important;line-height:1.4!important}
}
@media screen and (max-width:600px){html[data-pg139] body.pg139-letter.pg157-letter .pg139-letter-fields{grid-template-columns:minmax(0,1fr)!important}html[data-pg139] body.pg139-letter.pg157-letter .pg139-letter-fields>.field{grid-column:1/-1!important}}
@media screen and (max-width:900px) and (max-height:500px){html[data-pg139] body.pg139-letter.pg157-letter .form-panel>.panel-head{padding:6px 12px!important}html[data-pg139] body.pg139-letter.pg157-letter .form-panel h1{font-size:16px!important}html[data-pg139] body.pg139-letter.pg157-letter .form-panel>.status{display:none!important}}
@media screen and (max-width:600px){
 html[data-pg139] body.pg139-letter.pg157-letter>.topbar{gap:6px!important;padding:8px!important;justify-content:space-between!important}
 html[data-pg139] body.pg139-letter.pg157-letter>.topbar .brand{flex:0 0 30px!important;width:30px!important;min-width:30px!important;height:32px!important;overflow:hidden!important;display:flex!important;align-items:center!important;font-size:0!important}
 html[data-pg139] body.pg139-letter.pg157-letter>.topbar .brand>span{display:none!important}
 html[data-pg139] body.pg139-letter.pg157-letter>.topbar .brand>img{flex:none!important;width:30px!important;height:30px!important;margin:0!important}
 html[data-pg139] body.pg139-letter.pg157-letter>.topbar a[href="account.php"]{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 36px!important;width:36px!important;min-width:36px!important;height:38px!important;padding:8px!important;font-size:0!important;gap:0!important}
 html[data-pg139] body.pg139-letter.pg157-letter>.topbar a[href="account.php"]:before{content:''!important;display:block!important;width:18px!important;height:18px!important;background:currentColor!important;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21v-3a8 8 0 0116 0v3'/%3E%3C/svg%3E") center/contain no-repeat}
 html[data-pg139] body.pg139-letter.pg157-letter>.topbar a[href="account.php"]>svg{display:none!important}
}
