/* Cell padding keeps Urdu away from the edge without insetting the header. */
body .word-table table th.word-urdu-col,
body .word-table table td.word-urdu-col {
  padding-right:28px !important;
  padding-left:16px !important;
}
/* Language and focus controls precede the account/admin action in DOM order. */
body .topbar-account {flex-wrap:wrap;justify-content:flex-end;min-width:0;gap:10px;}
body .topbar-account .language-toggle,
body .topbar-account .focus-toggle {
  display:inline-flex;align-items:center;justify-content:center;
  min-height:42px;padding:8px 13px !important;border:1px solid #dfe6ef;
  background:#f8fafd;color:#213854;border-radius:11px;
  box-shadow:0 2px 4px #182e4906;font-size:13px !important;
  line-height:1.3;white-space:nowrap;
}
@media(max-width:767px){
  body .word-table table th.word-urdu-col,
  body .word-table table td.word-urdu-col{padding-right:20px !important;padding-left:12px !important;}
  body .topbar-primary{flex-wrap:wrap;}
  body .topbar-account{flex-shrink:1;gap:8px;}
  body .topbar-account .language-toggle,
  body .topbar-account .focus-toggle{min-height:40px;font-size:12px !important;padding:8px 11px !important;}
}
@media(max-width:480px){body .topbar-account{width:100%;justify-content:flex-start;margin-left:0;}}
